File "stimulsoft.reports.engine-20251103144135.js"
Full Path: /home/freeclou/app.optimyar.com/front-web/build/libs/stimul/ES5/stimulsoft.reports.engine-20251103144135.js
File size: 6.41 MB
MIME-type: text/plain
Charset: utf-8
/*
Stimulsoft.Reports.JS ES5
Version: 2020.5.2
Build date: 2020.11.26
License: https://www.stimulsoft.com/en/licensing/reports
*/
var Stimulsoft; (function (Stimulsoft) { var ExternalLibrary; (function (ExternalLibrary) { })(ExternalLibrary = Stimulsoft.ExternalLibrary || (Stimulsoft.ExternalLibrary = {})); })(Stimulsoft || (Stimulsoft = {})); !function (e, t) { Stimulsoft.ExternalLibrary.Moment = t() }(this, function () { "use strict"; var e, i; function c() { return e.apply(null, arguments) } function o(e) { return e instanceof Array || "[object Array]" === Object.prototype.toString.call(e) } function u(e) { return null != e && "[object Object]" === Object.prototype.toString.call(e) } function l(e) { return void 0 === e } function d(e) { return "number" == typeof e || "[object Number]" === Object.prototype.toString.call(e) } function h(e) { return e instanceof Date || "[object Date]" === Object.prototype.toString.call(e) } function f(e, t) { var n, s = []; for (n = 0; n < e.length; ++n)s.push(t(e[n], n)); return s } function m(e, t) { return Object.prototype.hasOwnProperty.call(e, t) } function _(e, t) { for (var n in t) m(t, n) && (e[n] = t[n]); return m(t, "toString") && (e.toString = t.toString), m(t, "valueOf") && (e.valueOf = t.valueOf), e } function y(e, t, n, s) { return Ot(e, t, n, s, !0).utc() } function g(e) { return null == e._pf && (e._pf = { empty: !1, unusedTokens: [], unusedInput: [], overflow: -2, charsLeftOver: 0, nullInput: !1, invalidMonth: null, invalidFormat: !1, userInvalidated: !1, iso: !1, parsedDateParts: [], meridiem: null, rfc2822: !1, weekdayMismatch: !1 }), e._pf } function p(e) { if (null == e._isValid) { var t = g(e), n = i.call(t.parsedDateParts, function (e) { return null != e }), s = !isNaN(e._d.getTime()) && t.overflow < 0 && !t.empty && !t.invalidMonth && !t.invalidWeekday && !t.weekdayMismatch && !t.nullInput && !t.invalidFormat && !t.userInvalidated && (!t.meridiem || t.meridiem && n); if (e._strict && (s = s && 0 === t.charsLeftOver && 0 === t.unusedTokens.length && void 0 === t.bigHour), null != Object.isFrozen && Object.isFrozen(e)) return s; e._isValid = s } return e._isValid } function v(e) { var t = y(NaN); return null != e ? _(g(t), e) : g(t).userInvalidated = !0, t } i = Array.prototype.some ? Array.prototype.some : function (e) { for (var t = Object(this), n = t.length >>> 0, s = 0; s < n; s++)if (s in t && e.call(this, t[s], s, t)) return !0; return !1 }; var r = c.momentProperties = []; function w(e, t) { var n, s, i; if (l(t._isAMomentObject) || (e._isAMomentObject = t._isAMomentObject), l(t._i) || (e._i = t._i), l(t._f) || (e._f = t._f), l(t._l) || (e._l = t._l), l(t._strict) || (e._strict = t._strict), l(t._tzm) || (e._tzm = t._tzm), l(t._isUTC) || (e._isUTC = t._isUTC), l(t._offset) || (e._offset = t._offset), l(t._pf) || (e._pf = g(t)), l(t._locale) || (e._locale = t._locale), 0 < r.length) for (n = 0; n < r.length; n++)l(i = t[s = r[n]]) || (e[s] = i); return e } var t = !1; function M(e) { w(this, e), this._d = new Date(null != e._d ? e._d.getTime() : NaN), this.isValid() || (this._d = new Date(NaN)), !1 === t && (t = !0, c.updateOffset(this), t = !1) } function S(e) { return e instanceof M || null != e && null != e._isAMomentObject } function D(e) { return e < 0 ? Math.ceil(e) || 0 : Math.floor(e) } function k(e) { var t = +e, n = 0; return 0 !== t && isFinite(t) && (n = D(t)), n } function a(e, t, n) { var s, i = Math.min(e.length, t.length), r = Math.abs(e.length - t.length), a = 0; for (s = 0; s < i; s++)(n && e[s] !== t[s] || !n && k(e[s]) !== k(t[s])) && a++; return a + r } function Y(e) { !1 === c.suppressDeprecationWarnings && "undefined" != typeof console && console.warn && console.warn("Deprecation warning: " + e) } function n(i, r) { var a = !0; return _(function () { if (null != c.deprecationHandler && c.deprecationHandler(null, i), a) { for (var e, t = [], n = 0; n < arguments.length; n++) { if (e = "", "object" == typeof arguments[n]) { for (var s in e += "\n[" + n + "] ", arguments[0]) e += s + ": " + arguments[0][s] + ", "; e = e.slice(0, -2) } else e = arguments[n]; t.push(e) } Y(i + "\nArguments: " + Array.prototype.slice.call(t).join("") + "\n" + (new Error).stack), a = !1 } return r.apply(this, arguments) }, r) } var s, O = {}; function T(e, t) { null != c.deprecationHandler && c.deprecationHandler(e, t), O[e] || (Y(t), O[e] = !0) } function x(e) { return e instanceof Function || "[object Function]" === Object.prototype.toString.call(e) } function b(e, t) { var n, s = _({}, e); for (n in t) m(t, n) && (u(e[n]) && u(t[n]) ? (s[n] = {}, _(s[n], e[n]), _(s[n], t[n])) : null != t[n] ? s[n] = t[n] : delete s[n]); for (n in e) m(e, n) && !m(t, n) && u(e[n]) && (s[n] = _({}, s[n])); return s } function P(e) { null != e && this.set(e) } c.suppressDeprecationWarnings = !1, c.deprecationHandler = null, s = Object.keys ? Object.keys : function (e) { var t, n = []; for (t in e) m(e, t) && n.push(t); return n }; var W = {}; function H(e, t) { var n = e.toLowerCase(); W[n] = W[n + "s"] = W[t] = e } function R(e) { return "string" == typeof e ? W[e] || W[e.toLowerCase()] : void 0 } function C(e) { var t, n, s = {}; for (n in e) m(e, n) && (t = R(n)) && (s[t] = e[n]); return s } var F = {}; function L(e, t) { F[e] = t } function U(e, t, n) { var s = "" + Math.abs(e), i = t - s.length; return (0 <= e ? n ? "+" : "" : "-") + Math.pow(10, Math.max(0, i)).toString().substr(1) + s } var N = /(\[[^\[]*\])|(\\)?([Hh]mm(ss)?|Mo|MM?M?M?|Do|DDDo|DD?D?D?|ddd?d?|do?|w[o|w]?|W[o|W]?|Qo?|YYYYYY|YYYYY|YYYY|YY|gg(ggg?)?|GG(GGG?)?|e|E|a|A|hh?|HH?|kk?|mm?|ss?|S{1,9}|x|X|zz?|ZZ?|.)/g, G = /(\[[^\[]*\])|(\\)?(LTS|LT|LL?L?L?|l{1,4})/g, V = {}, E = {}; function I(e, t, n, s) { var i = s; "string" == typeof s && (i = function () { return this[s]() }), e && (E[e] = i), t && (E[t[0]] = function () { return U(i.apply(this, arguments), t[1], t[2]) }), n && (E[n] = function () { return this.localeData().ordinal(i.apply(this, arguments), e) }) } function A(e, t) { return e.isValid() ? (t = j(t, e.localeData()), V[t] = V[t] || function (s) { var e, i, t, r = s.match(N); for (e = 0, i = r.length; e < i; e++)E[r[e]] ? r[e] = E[r[e]] : r[e] = (t = r[e]).match(/\[[\s\S]/) ? t.replace(/^\[|\]$/g, "") : t.replace(/\\/g, ""); return function (e) { var t, n = ""; for (t = 0; t < i; t++)n += x(r[t]) ? r[t].call(e, s) : r[t]; return n } }(t), V[t](e)) : e.localeData().invalidDate() } function j(e, t) { var n = 5; function s(e) { return t.longDateFormat(e) || e } for (G.lastIndex = 0; 0 <= n && G.test(e);)e = e.replace(G, s), G.lastIndex = 0, n -= 1; return e } var Z = /\d/, z = /\d\d/, $ = /\d{3}/, q = /\d{4}/, J = /[+-]?\d{6}/, B = /\d\d?/, Q = /\d\d\d\d?/, X = /\d\d\d\d\d\d?/, K = /\d{1,3}/, ee = /\d{1,4}/, te = /[+-]?\d{1,6}/, ne = /\d+/, se = /[+-]?\d+/, ie = /Z|[+-]\d\d:?\d\d/gi, re = /Z|[+-]\d\d(?::?\d\d)?/gi, ae = /[0-9]{0,256}['a-z\u00A0-\u05FF\u0700-\uD7FF\uF900-\uFDCF\uFDF0-\uFF07\uFF10-\uFFEF]{1,256}|[\u0600-\u06FF\/]{1,256}(\s*?[\u0600-\u06FF]{1,256}){1,2}/i, oe = {}; function ue(e, n, s) { oe[e] = x(n) ? n : function (e, t) { return e && s ? s : n } } function le(e, t) { return m(oe, e) ? oe[e](t._strict, t._locale) : new RegExp(de(e.replace("\\", "").replace(/\\(\[)|\\(\])|\[([^\]\[]*)\]|\\(.)/g, function (e, t, n, s, i) { return t || n || s || i }))) } function de(e) { return e.replace(/[-\/\\^$*+?.()|[\]{}]/g, "\\$&") } var he = {}; function ce(e, n) { var t, s = n; for ("string" == typeof e && (e = [e]), d(n) && (s = function (e, t) { t[n] = k(e) }), t = 0; t < e.length; t++)he[e[t]] = s } function fe(e, i) { ce(e, function (e, t, n, s) { n._w = n._w || {}, i(e, n._w, n, s) }) } var me = 0, _e = 1, ye = 2, ge = 3, pe = 4, ve = 5, we = 6, Me = 7, Se = 8; function De(e) { return ke(e) ? 366 : 365 } function ke(e) { return e % 4 == 0 && e % 100 != 0 || e % 400 == 0 } I("Y", 0, 0, function () { var e = this.year(); return e <= 9999 ? "" + e : "+" + e }), I(0, ["YY", 2], 0, function () { return this.year() % 100 }), I(0, ["YYYY", 4], 0, "year"), I(0, ["YYYYY", 5], 0, "year"), I(0, ["YYYYYY", 6, !0], 0, "year"), H("year", "y"), L("year", 1), ue("Y", se), ue("YY", B, z), ue("YYYY", ee, q), ue("YYYYY", te, J), ue("YYYYYY", te, J), ce(["YYYYY", "YYYYYY"], me), ce("YYYY", function (e, t) { t[me] = 2 === e.length ? c.parseTwoDigitYear(e) : k(e) }), ce("YY", function (e, t) { t[me] = c.parseTwoDigitYear(e) }), ce("Y", function (e, t) { t[me] = parseInt(e, 10) }), c.parseTwoDigitYear = function (e) { return k(e) + (68 < k(e) ? 1900 : 2e3) }; var Ye, Oe = Te("FullYear", !0); function Te(t, n) { return function (e) { return null != e ? (be(this, t, e), c.updateOffset(this, n), this) : xe(this, t) } } function xe(e, t) { return e.isValid() ? e._d["get" + (e._isUTC ? "UTC" : "") + t]() : NaN } function be(e, t, n) { e.isValid() && !isNaN(n) && ("FullYear" === t && ke(e.year()) && 1 === e.month() && 29 === e.date() ? e._d["set" + (e._isUTC ? "UTC" : "") + t](n, e.month(), Pe(n, e.month())) : e._d["set" + (e._isUTC ? "UTC" : "") + t](n)) } function Pe(e, t) { if (isNaN(e) || isNaN(t)) return NaN; var n, s = (t % (n = 12) + n) % n; return e += (t - s) / 12, 1 === s ? ke(e) ? 29 : 28 : 31 - s % 7 % 2 } Ye = Array.prototype.indexOf ? Array.prototype.indexOf : function (e) { var t; for (t = 0; t < this.length; ++t)if (this[t] === e) return t; return -1 }, I("M", ["MM", 2], "Mo", function () { return this.month() + 1 }), I("MMM", 0, 0, function (e) { return this.localeData().monthsShort(this, e) }), I("MMMM", 0, 0, function (e) { return this.localeData().months(this, e) }), H("month", "M"), L("month", 8), ue("M", B), ue("MM", B, z), ue("MMM", function (e, t) { return t.monthsShortRegex(e) }), ue("MMMM", function (e, t) { return t.monthsRegex(e) }), ce(["M", "MM"], function (e, t) { t[_e] = k(e) - 1 }), ce(["MMM", "MMMM"], function (e, t, n, s) { var i = n._locale.monthsParse(e, s, n._strict); null != i ? t[_e] = i : g(n).invalidMonth = e }); var We = /D[oD]?(\[[^\[\]]*\]|\s)+MMMM?/, He = "January_February_March_April_May_June_July_August_September_October_November_December".split("_"); var Re = "Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"); function Ce(e, t) { var n; if (!e.isValid()) return e; if ("string" == typeof t) if (/^\d+$/.test(t)) t = k(t); else if (!d(t = e.localeData().monthsParse(t))) return e; return n = Math.min(e.date(), Pe(e.year(), t)), e._d["set" + (e._isUTC ? "UTC" : "") + "Month"](t, n), e } function Fe(e) { return null != e ? (Ce(this, e), c.updateOffset(this, !0), this) : xe(this, "Month") } var Le = ae; var Ue = ae; function Ne() { function e(e, t) { return t.length - e.length } var t, n, s = [], i = [], r = []; for (t = 0; t < 12; t++)n = y([2e3, t]), s.push(this.monthsShort(n, "")), i.push(this.months(n, "")), r.push(this.months(n, "")), r.push(this.monthsShort(n, "")); for (s.sort(e), i.sort(e), r.sort(e), t = 0; t < 12; t++)s[t] = de(s[t]), i[t] = de(i[t]); for (t = 0; t < 24; t++)r[t] = de(r[t]); this._monthsRegex = new RegExp("^(" + r.join("|") + ")", "i"), this._monthsShortRegex = this._monthsRegex, this._monthsStrictRegex = new RegExp("^(" + i.join("|") + ")", "i"), this._monthsShortStrictRegex = new RegExp("^(" + s.join("|") + ")", "i") } function Ge(e) { var t = new Date(Date.UTC.apply(null, arguments)); return e < 100 && 0 <= e && isFinite(t.getUTCFullYear()) && t.setUTCFullYear(e), t } function Ve(e, t, n) { var s = 7 + t - n; return -((7 + Ge(e, 0, s).getUTCDay() - t) % 7) + s - 1 } function Ee(e, t, n, s, i) { var r, a, o = 1 + 7 * (t - 1) + (7 + n - s) % 7 + Ve(e, s, i); return o <= 0 ? a = De(r = e - 1) + o : o > De(e) ? (r = e + 1, a = o - De(e)) : (r = e, a = o), { year: r, dayOfYear: a } } function Ie(e, t, n) { var s, i, r = Ve(e.year(), t, n), a = Math.floor((e.dayOfYear() - r - 1) / 7) + 1; return a < 1 ? s = a + Ae(i = e.year() - 1, t, n) : a > Ae(e.year(), t, n) ? (s = a - Ae(e.year(), t, n), i = e.year() + 1) : (i = e.year(), s = a), { week: s, year: i } } function Ae(e, t, n) { var s = Ve(e, t, n), i = Ve(e + 1, t, n); return (De(e) - s + i) / 7 } I("w", ["ww", 2], "wo", "week"), I("W", ["WW", 2], "Wo", "isoWeek"), H("week", "w"), H("isoWeek", "W"), L("week", 5), L("isoWeek", 5), ue("w", B), ue("ww", B, z), ue("W", B), ue("WW", B, z), fe(["w", "ww", "W", "WW"], function (e, t, n, s) { t[s.substr(0, 1)] = k(e) }); I("d", 0, "do", "day"), I("dd", 0, 0, function (e) { return this.localeData().weekdaysMin(this, e) }), I("ddd", 0, 0, function (e) { return this.localeData().weekdaysShort(this, e) }), I("dddd", 0, 0, function (e) { return this.localeData().weekdays(this, e) }), I("e", 0, 0, "weekday"), I("E", 0, 0, "isoWeekday"), H("day", "d"), H("weekday", "e"), H("isoWeekday", "E"), L("day", 11), L("weekday", 11), L("isoWeekday", 11), ue("d", B), ue("e", B), ue("E", B), ue("dd", function (e, t) { return t.weekdaysMinRegex(e) }), ue("ddd", function (e, t) { return t.weekdaysShortRegex(e) }), ue("dddd", function (e, t) { return t.weekdaysRegex(e) }), fe(["dd", "ddd", "dddd"], function (e, t, n, s) { var i = n._locale.weekdaysParse(e, s, n._strict); null != i ? t.d = i : g(n).invalidWeekday = e }), fe(["d", "e", "E"], function (e, t, n, s) { t[s] = k(e) }); var je = "Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"); var Ze = "Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"); var ze = "Su_Mo_Tu_We_Th_Fr_Sa".split("_"); var $e = ae; var qe = ae; var Je = ae; function Be() { function e(e, t) { return t.length - e.length } var t, n, s, i, r, a = [], o = [], u = [], l = []; for (t = 0; t < 7; t++)n = y([2e3, 1]).day(t), s = this.weekdaysMin(n, ""), i = this.weekdaysShort(n, ""), r = this.weekdays(n, ""), a.push(s), o.push(i), u.push(r), l.push(s), l.push(i), l.push(r); for (a.sort(e), o.sort(e), u.sort(e), l.sort(e), t = 0; t < 7; t++)o[t] = de(o[t]), u[t] = de(u[t]), l[t] = de(l[t]); this._weekdaysRegex = new RegExp("^(" + l.join("|") + ")", "i"), this._weekdaysShortRegex = this._weekdaysRegex, this._weekdaysMinRegex = this._weekdaysRegex, this._weekdaysStrictRegex = new RegExp("^(" + u.join("|") + ")", "i"), this._weekdaysShortStrictRegex = new RegExp("^(" + o.join("|") + ")", "i"), this._weekdaysMinStrictRegex = new RegExp("^(" + a.join("|") + ")", "i") } function Qe() { return this.hours() % 12 || 12 } function Xe(e, t) { I(e, 0, 0, function () { return this.localeData().meridiem(this.hours(), this.minutes(), t) }) } function Ke(e, t) { return t._meridiemParse } I("H", ["HH", 2], 0, "hour"), I("h", ["hh", 2], 0, Qe), I("k", ["kk", 2], 0, function () { return this.hours() || 24 }), I("hmm", 0, 0, function () { return "" + Qe.apply(this) + U(this.minutes(), 2) }), I("hmmss", 0, 0, function () { return "" + Qe.apply(this) + U(this.minutes(), 2) + U(this.seconds(), 2) }), I("Hmm", 0, 0, function () { return "" + this.hours() + U(this.minutes(), 2) }), I("Hmmss", 0, 0, function () { return "" + this.hours() + U(this.minutes(), 2) + U(this.seconds(), 2) }), Xe("a", !0), Xe("A", !1), H("hour", "h"), L("hour", 13), ue("a", Ke), ue("A", Ke), ue("H", B), ue("h", B), ue("k", B), ue("HH", B, z), ue("hh", B, z), ue("kk", B, z), ue("hmm", Q), ue("hmmss", X), ue("Hmm", Q), ue("Hmmss", X), ce(["H", "HH"], ge), ce(["k", "kk"], function (e, t, n) { var s = k(e); t[ge] = 24 === s ? 0 : s }), ce(["a", "A"], function (e, t, n) { n._isPm = n._locale.isPM(e), n._meridiem = e }), ce(["h", "hh"], function (e, t, n) { t[ge] = k(e), g(n).bigHour = !0 }), ce("hmm", function (e, t, n) { var s = e.length - 2; t[ge] = k(e.substr(0, s)), t[pe] = k(e.substr(s)), g(n).bigHour = !0 }), ce("hmmss", function (e, t, n) { var s = e.length - 4, i = e.length - 2; t[ge] = k(e.substr(0, s)), t[pe] = k(e.substr(s, 2)), t[ve] = k(e.substr(i)), g(n).bigHour = !0 }), ce("Hmm", function (e, t, n) { var s = e.length - 2; t[ge] = k(e.substr(0, s)), t[pe] = k(e.substr(s)) }), ce("Hmmss", function (e, t, n) { var s = e.length - 4, i = e.length - 2; t[ge] = k(e.substr(0, s)), t[pe] = k(e.substr(s, 2)), t[ve] = k(e.substr(i)) }); var et, tt = Te("Hours", !0), nt = { calendar: { sameDay: "[Today at] LT", nextDay: "[Tomorrow at] LT", nextWeek: "dddd [at] LT", lastDay: "[Yesterday at] LT", lastWeek: "[Last] dddd [at] LT", sameElse: "L" }, longDateFormat: { LTS: "h:mm:ss A", LT: "h:mm A", L: "MM/DD/YYYY", LL: "MMMM D, YYYY", LLL: "MMMM D, YYYY h:mm A", LLLL: "dddd, MMMM D, YYYY h:mm A" }, invalidDate: "Invalid date", ordinal: "%d", dayOfMonthOrdinalParse: /\d{1,2}/, relativeTime: { future: "in %s", past: "%s ago", s: "a few seconds", ss: "%d seconds", m: "a minute", mm: "%d minutes", h: "an hour", hh: "%d hours", d: "a day", dd: "%d days", M: "a month", MM: "%d months", y: "a year", yy: "%d years" }, months: He, monthsShort: Re, week: { dow: 0, doy: 6 }, weekdays: je, weekdaysMin: ze, weekdaysShort: Ze, meridiemParse: /[ap]\.?m?\.?/i }, st = {}, it = {}; function rt(e) { return e ? e.toLowerCase().replace("_", "-") : e } function at(e) { var t = null; if (!st[e] && "undefined" != typeof module && module && module.exports) try { t = et._abbr, __require__("./locale/" + e), ot(t) } catch (e) { } return st[e] } function ot(e, t) { var n; return e && ((n = l(t) ? lt(e) : ut(e, t)) ? et = n : "undefined" != typeof console && console.warn && console.warn("Locale " + e + " not found. Did you forget to load it?")), et._abbr } function ut(e, t) { if (null !== t) { var n, s = nt; if (t.abbr = e, null != st[e]) T("defineLocaleOverride", "use moment_mod.updateLocale(localeName, config) to change an existing locale. moment_mod.defineLocale(localeName, config) should only be used for creating a new locale See http://momentjs.com/guides/#/warnings/define-locale/ for more info."), s = st[e]._config; else if (null != t.parentLocale) if (null != st[t.parentLocale]) s = st[t.parentLocale]._config; else { if (null == (n = at(t.parentLocale))) return it[t.parentLocale] || (it[t.parentLocale] = []), it[t.parentLocale].push({ name: e, config: t }), null; s = n._config } return st[e] = new P(b(s, t)), it[e] && it[e].forEach(function (e) { ut(e.name, e.config) }), ot(e), st[e] } return delete st[e], null } function lt(e) { var t; if (e && e._locale && e._locale._abbr && (e = e._locale._abbr), !e) return et; if (!o(e)) { if (t = at(e)) return t; e = [e] } return function (e) { for (var t, n, s, i, r = 0; r < e.length;) { for (t = (i = rt(e[r]).split("-")).length, n = (n = rt(e[r + 1])) ? n.split("-") : null; 0 < t;) { if (s = at(i.slice(0, t).join("-"))) return s; if (n && n.length >= t && a(i, n, !0) >= t - 1) break; t-- } r++ } return et }(e) } function dt(e) { var t, n = e._a; return n && -2 === g(e).overflow && (t = n[_e] < 0 || 11 < n[_e] ? _e : n[ye] < 1 || n[ye] > Pe(n[me], n[_e]) ? ye : n[ge] < 0 || 24 < n[ge] || 24 === n[ge] && (0 !== n[pe] || 0 !== n[ve] || 0 !== n[we]) ? ge : n[pe] < 0 || 59 < n[pe] ? pe : n[ve] < 0 || 59 < n[ve] ? ve : n[we] < 0 || 999 < n[we] ? we : -1, g(e)._overflowDayOfYear && (t < me || ye < t) && (t = ye), g(e)._overflowWeeks && -1 === t && (t = Me), g(e)._overflowWeekday && -1 === t && (t = Se), g(e).overflow = t), e } function ht(e, t, n) { return null != e ? e : null != t ? t : n } function ct(e) { var t, n, s, i, r, a = []; if (!e._d) { var o, u; for (o = e, u = new Date(c.now()), s = o._useUTC ? [u.getUTCFullYear(), u.getUTCMonth(), u.getUTCDate()] : [u.getFullYear(), u.getMonth(), u.getDate()], e._w && null == e._a[ye] && null == e._a[_e] && function (e) { var t, n, s, i, r, a, o, u; if (null != (t = e._w).GG || null != t.W || null != t.E) r = 1, a = 4, n = ht(t.GG, e._a[me], Ie(Tt(), 1, 4).year), s = ht(t.W, 1), ((i = ht(t.E, 1)) < 1 || 7 < i) && (u = !0); else { r = e._locale._week.dow, a = e._locale._week.doy; var l = Ie(Tt(), r, a); n = ht(t.gg, e._a[me], l.year), s = ht(t.w, l.week), null != t.d ? ((i = t.d) < 0 || 6 < i) && (u = !0) : null != t.e ? (i = t.e + r, (t.e < 0 || 6 < t.e) && (u = !0)) : i = r } s < 1 || s > Ae(n, r, a) ? g(e)._overflowWeeks = !0 : null != u ? g(e)._overflowWeekday = !0 : (o = Ee(n, s, i, r, a), e._a[me] = o.year, e._dayOfYear = o.dayOfYear) }(e), null != e._dayOfYear && (r = ht(e._a[me], s[me]), (e._dayOfYear > De(r) || 0 === e._dayOfYear) && (g(e)._overflowDayOfYear = !0), n = Ge(r, 0, e._dayOfYear), e._a[_e] = n.getUTCMonth(), e._a[ye] = n.getUTCDate()), t = 0; t < 3 && null == e._a[t]; ++t)e._a[t] = a[t] = s[t]; for (; t < 7; t++)e._a[t] = a[t] = null == e._a[t] ? 2 === t ? 1 : 0 : e._a[t]; 24 === e._a[ge] && 0 === e._a[pe] && 0 === e._a[ve] && 0 === e._a[we] && (e._nextDay = !0, e._a[ge] = 0), e._d = (e._useUTC ? Ge : function (e, t, n, s, i, r, a) { var o = new Date(e, t, n, s, i, r, a); return e < 100 && 0 <= e && isFinite(o.getFullYear()) && o.setFullYear(e), o }).apply(null, a), i = e._useUTC ? e._d.getUTCDay() : e._d.getDay(), null != e._tzm && e._d.setUTCMinutes(e._d.getUTCMinutes() - e._tzm), e._nextDay && (e._a[ge] = 24), e._w && void 0 !== e._w.d && e._w.d !== i && (g(e).weekdayMismatch = !0) } } var ft = /^\s*((?:[+-]\d{6}|\d{4})-(?:\d\d-\d\d|W\d\d-\d|W\d\d|\d\d\d|\d\d))(?:(T| )(\d\d(?::\d\d(?::\d\d(?:[.,]\d+)?)?)?)([\+\-]\d\d(?::?\d\d)?|\s*Z)?)?$/, mt = /^\s*((?:[+-]\d{6}|\d{4})(?:\d\d\d\d|W\d\d\d|W\d\d|\d\d\d|\d\d))(?:(T| )(\d\d(?:\d\d(?:\d\d(?:[.,]\d+)?)?)?)([\+\-]\d\d(?::?\d\d)?|\s*Z)?)?$/, _t = /Z|[+-]\d\d(?::?\d\d)?/, yt = [["YYYYYY-MM-DD", /[+-]\d{6}-\d\d-\d\d/], ["YYYY-MM-DD", /\d{4}-\d\d-\d\d/], ["GGGG-[W]WW-E", /\d{4}-W\d\d-\d/], ["GGGG-[W]WW", /\d{4}-W\d\d/, !1], ["YYYY-DDD", /\d{4}-\d{3}/], ["YYYY-MM", /\d{4}-\d\d/, !1], ["YYYYYYMMDD", /[+-]\d{10}/], ["YYYYMMDD", /\d{8}/], ["GGGG[W]WWE", /\d{4}W\d{3}/], ["GGGG[W]WW", /\d{4}W\d{2}/, !1], ["YYYYDDD", /\d{7}/]], gt = [["HH:mm:ss.SSSS", /\d\d:\d\d:\d\d\.\d+/], ["HH:mm:ss,SSSS", /\d\d:\d\d:\d\d,\d+/], ["HH:mm:ss", /\d\d:\d\d:\d\d/], ["HH:mm", /\d\d:\d\d/], ["HHmmss.SSSS", /\d\d\d\d\d\d\.\d+/], ["HHmmss,SSSS", /\d\d\d\d\d\d,\d+/], ["HHmmss", /\d\d\d\d\d\d/], ["HHmm", /\d\d\d\d/], ["HH", /\d\d/]], pt = /^\/?Date\((\-?\d+)/i; function vt(e) { var t, n, s, i, r, a, o = e._i, u = ft.exec(o) || mt.exec(o); if (u) { for (g(e).iso = !0, t = 0, n = yt.length; t < n; t++)if (yt[t][1].exec(u[1])) { i = yt[t][0], s = !1 !== yt[t][2]; break } if (null == i) return void (e._isValid = !1); if (u[3]) { for (t = 0, n = gt.length; t < n; t++)if (gt[t][1].exec(u[3])) { r = (u[2] || " ") + gt[t][0]; break } if (null == r) return void (e._isValid = !1) } if (!s && null != r) return void (e._isValid = !1); if (u[4]) { if (!_t.exec(u[4])) return void (e._isValid = !1); a = "Z" } e._f = i + (r || "") + (a || ""), kt(e) } else e._isValid = !1 } var wt = /^(?:(Mon|Tue|Wed|Thu|Fri|Sat|Sun),?\s)?(\d{1,2})\s(Jan|Feb|Mar|Apr|May|Jun|Jul|Aug|Sep|Oct|Nov|Dec)\s(\d{2,4})\s(\d\d):(\d\d)(?::(\d\d))?\s(?:(UT|GMT|[ECMP][SD]T)|([Zz])|([+-]\d{4}))$/; function Mt(e, t, n, s, i, r) { var a = [function (e) { var t = parseInt(e, 10); { if (t <= 49) return 2e3 + t; if (t <= 999) return 1900 + t } return t }(e), Re.indexOf(t), parseInt(n, 10), parseInt(s, 10), parseInt(i, 10)]; return r && a.push(parseInt(r, 10)), a } var St = { UT: 0, GMT: 0, EDT: -240, EST: -300, CDT: -300, CST: -360, MDT: -360, MST: -420, PDT: -420, PST: -480 }; function Dt(e) { var t, n, s, i = wt.exec(e._i.replace(/\([^)]*\)|[\n\t]/g, " ").replace(/(\s\s+)/g, " ").replace(/^\s\s*/, "").replace(/\s\s*$/, "")); if (i) { var r = Mt(i[4], i[3], i[2], i[5], i[6], i[7]); if (t = i[1], n = r, s = e, t && Ze.indexOf(t) !== new Date(n[0], n[1], n[2]).getDay() && (g(s).weekdayMismatch = !0, !(s._isValid = !1))) return; e._a = r, e._tzm = function (e, t, n) { if (e) return St[e]; if (t) return 0; var s = parseInt(n, 10), i = s % 100; return (s - i) / 100 * 60 + i }(i[8], i[9], i[10]), e._d = Ge.apply(null, e._a), e._d.setUTCMinutes(e._d.getUTCMinutes() - e._tzm), g(e).rfc2822 = !0 } else e._isValid = !1 } function kt(e) { if (e._f !== c.ISO_8601) if (e._f !== c.RFC_2822) { e._a = [], g(e).empty = !0; var t, n, s, i, r, a, o, u, l = "" + e._i, d = l.length, h = 0; for (s = j(e._f, e._locale).match(N) || [], t = 0; t < s.length; t++)i = s[t], (n = (l.match(le(i, e)) || [])[0]) && (0 < (r = l.substr(0, l.indexOf(n))).length && g(e).unusedInput.push(r), l = l.slice(l.indexOf(n) + n.length), h += n.length), E[i] ? (n ? g(e).empty = !1 : g(e).unusedTokens.push(i), a = i, u = e, null != (o = n) && m(he, a) && he[a](o, u._a, u, a)) : e._strict && !n && g(e).unusedTokens.push(i); g(e).charsLeftOver = d - h, 0 < l.length && g(e).unusedInput.push(l), e._a[ge] <= 12 && !0 === g(e).bigHour && 0 < e._a[ge] && (g(e).bigHour = void 0), g(e).parsedDateParts = e._a.slice(0), g(e).meridiem = e._meridiem, e._a[ge] = function (e, t, n) { var s; if (null == n) return t; return null != e.meridiemHour ? e.meridiemHour(t, n) : (null != e.isPM && ((s = e.isPM(n)) && t < 12 && (t += 12), s || 12 !== t || (t = 0)), t) }(e._locale, e._a[ge], e._meridiem), ct(e), dt(e) } else Dt(e); else vt(e) } function Yt(e) { var t, n, s, i, r = e._i, a = e._f; return e._locale = e._locale || lt(e._l), null === r || void 0 === a && "" === r ? v({ nullInput: !0 }) : ("string" == typeof r && (e._i = r = e._locale.preparse(r)), S(r) ? new M(dt(r)) : (h(r) ? e._d = r : o(a) ? function (e) { var t, n, s, i, r; if (0 === e._f.length) return g(e).invalidFormat = !0, e._d = new Date(NaN); for (i = 0; i < e._f.length; i++)r = 0, t = w({}, e), null != e._useUTC && (t._useUTC = e._useUTC), t._f = e._f[i], kt(t), p(t) && (r += g(t).charsLeftOver, r += 10 * g(t).unusedTokens.length, g(t).score = r, (null == s || r < s) && (s = r, n = t)); _(e, n || t) }(e) : a ? kt(e) : l(n = (t = e)._i) ? t._d = new Date(c.now()) : h(n) ? t._d = new Date(n.valueOf()) : "string" == typeof n ? (s = t, null === (i = pt.exec(s._i)) ? (vt(s), !1 === s._isValid && (delete s._isValid, Dt(s), !1 === s._isValid && (delete s._isValid, c.createFromInputFallback(s)))) : s._d = new Date(+i[1])) : o(n) ? (t._a = f(n.slice(0), function (e) { return parseInt(e, 10) }), ct(t)) : u(n) ? function (e) { if (!e._d) { var t = C(e._i); e._a = f([t.year, t.month, t.day || t.date, t.hour, t.minute, t.second, t.millisecond], function (e) { return e && parseInt(e, 10) }), ct(e) } }(t) : d(n) ? t._d = new Date(n) : c.createFromInputFallback(t), p(e) || (e._d = null), e)) } function Ot(e, t, n, s, i) { var r, a = {}; return !0 !== n && !1 !== n || (s = n, n = void 0), (u(e) && function (e) { if (Object.getOwnPropertyNames) return 0 === Object.getOwnPropertyNames(e).length; var t; for (t in e) if (e.hasOwnProperty(t)) return !1; return !0 }(e) || o(e) && 0 === e.length) && (e = void 0), a._isAMomentObject = !0, a._useUTC = a._isUTC = i, a._l = n, a._i = e, a._f = t, a._strict = s, (r = new M(dt(Yt(a))))._nextDay && (r.add(1, "d"), r._nextDay = void 0), r } function Tt(e, t, n, s) { return Ot(e, t, n, s, !1) } c.createFromInputFallback = n("value provided is not in a recognized RFC2822 or ISO format. moment_mod construction falls back to js Date(), which is not reliable across all browsers and versions. Non RFC2822/ISO date formats are discouraged and will be removed in an upcoming major release. Please refer to http://momentjs.com/guides/#/warnings/js-date/ for more info.", function (e) { e._d = new Date(e._i + (e._useUTC ? " UTC" : "")) }), c.ISO_8601 = function () { }, c.RFC_2822 = function () { }; var xt = n("moment_mod().min is deprecated, use moment_mod.max instead. http://momentjs.com/guides/#/warnings/min-max/", function () { var e = Tt.apply(null, arguments); return this.isValid() && e.isValid() ? e < this ? this : e : v() }), bt = n("moment_mod().max is deprecated, use moment_mod.min instead. http://momentjs.com/guides/#/warnings/min-max/", function () { var e = Tt.apply(null, arguments); return this.isValid() && e.isValid() ? this < e ? this : e : v() }); function Pt(e, t) { var n, s; if (1 === t.length && o(t[0]) && (t = t[0]), !t.length) return Tt(); for (n = t[0], s = 1; s < t.length; ++s)t[s].isValid() && !t[s][e](n) || (n = t[s]); return n } var Wt = ["year", "quarter", "month", "week", "day", "hour", "minute", "second", "millisecond"]; function Ht(e) { var t = C(e), n = t.year || 0, s = t.quarter || 0, i = t.month || 0, r = t.week || 0, a = t.day || 0, o = t.hour || 0, u = t.minute || 0, l = t.second || 0, d = t.millisecond || 0; this._isValid = function (e) { for (var t in e) if (-1 === Ye.call(Wt, t) || null != e[t] && isNaN(e[t])) return !1; for (var n = !1, s = 0; s < Wt.length; ++s)if (e[Wt[s]]) { if (n) return !1; parseFloat(e[Wt[s]]) !== k(e[Wt[s]]) && (n = !0) } return !0 }(t), this._milliseconds = +d + 1e3 * l + 6e4 * u + 1e3 * o * 60 * 60, this._days = +a + 7 * r, this._months = +i + 3 * s + 12 * n, this._data = {}, this._locale = lt(), this._bubble() } function Rt(e) { return e instanceof Ht } function Ct(e) { return e < 0 ? -1 * Math.round(-1 * e) : Math.round(e) } function Ft(e, n) { I(e, 0, 0, function () { var e = this.utcOffset(), t = "+"; return e < 0 && (e = -e, t = "-"), t + U(~~(e / 60), 2) + n + U(~~e % 60, 2) }) } Ft("Z", ":"), Ft("ZZ", ""), ue("Z", re), ue("ZZ", re), ce(["Z", "ZZ"], function (e, t, n) { n._useUTC = !0, n._tzm = Ut(re, e) }); var Lt = /([\+\-]|\d\d)/gi; function Ut(e, t) { var n = (t || "").match(e); if (null === n) return null; var s = ((n[n.length - 1] || []) + "").match(Lt) || ["-", 0, 0], i = 60 * s[1] + k(s[2]); return 0 === i ? 0 : "+" === s[0] ? i : -i } function Nt(e, t) { var n, s; return t._isUTC ? (n = t.clone(), s = (S(e) || h(e) ? e.valueOf() : Tt(e).valueOf()) - n.valueOf(), n._d.setTime(n._d.valueOf() + s), c.updateOffset(n, !1), n) : Tt(e).local() } function Gt(e) { return 15 * -Math.round(e._d.getTimezoneOffset() / 15) } function Vt() { return !!this.isValid() && (this._isUTC && 0 === this._offset) } c.updateOffset = function () { }; var Et = /^(\-|\+)?(?:(\d*)[. ])?(\d+)\:(\d+)(?:\:(\d+)(\.\d*)?)?$/, It = /^(-|\+)?P(?:([-+]?[0-9,.]*)Y)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)W)?(?:([-+]?[0-9,.]*)D)?(?:T(?:([-+]?[0-9,.]*)H)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)S)?)?$/; function At(e, t) { var n, s, i, r = e, a = null; return Rt(e) ? r = { ms: e._milliseconds, d: e._days, M: e._months } : d(e) ? (r = {}, t ? r[t] = e : r.milliseconds = e) : (a = Et.exec(e)) ? (n = "-" === a[1] ? -1 : 1, r = { y: 0, d: k(a[ye]) * n, h: k(a[ge]) * n, m: k(a[pe]) * n, s: k(a[ve]) * n, ms: k(Ct(1e3 * a[we])) * n }) : (a = It.exec(e)) ? (n = "-" === a[1] ? -1 : (a[1], 1), r = { y: jt(a[2], n), M: jt(a[3], n), w: jt(a[4], n), d: jt(a[5], n), h: jt(a[6], n), m: jt(a[7], n), s: jt(a[8], n) }) : null == r ? r = {} : "object" == typeof r && ("from" in r || "to" in r) && (i = function (e, t) { var n; if (!e.isValid() || !t.isValid()) return { milliseconds: 0, months: 0 }; t = Nt(t, e), e.isBefore(t) ? n = Zt(e, t) : ((n = Zt(t, e)).milliseconds = -n.milliseconds, n.months = -n.months); return n }(Tt(r.from), Tt(r.to)), (r = {}).ms = i.milliseconds, r.M = i.months), s = new Ht(r), Rt(e) && m(e, "_locale") && (s._locale = e._locale), s } function jt(e, t) { var n = e && parseFloat(e.replace(",", ".")); return (isNaN(n) ? 0 : n) * t } function Zt(e, t) { var n = { milliseconds: 0, months: 0 }; return n.months = t.month() - e.month() + 12 * (t.year() - e.year()), e.clone().add(n.months, "M").isAfter(t) && --n.months, n.milliseconds = +t - +e.clone().add(n.months, "M"), n } function zt(s, i) { return function (e, t) { var n; return null === t || isNaN(+t) || (T(i, "moment_mod()." + i + "(period, number) is deprecated. Please use moment_mod()." + i + "(number, period). See http://momentjs.com/guides/#/warnings/add-inverted-param/ for more info."), n = e, e = t, t = n), $t(this, At(e = "string" == typeof e ? +e : e, t), s), this } } function $t(e, t, n, s) { var i = t._milliseconds, r = Ct(t._days), a = Ct(t._months); e.isValid() && (s = null == s || s, a && Ce(e, xe(e, "Month") + a * n), r && be(e, "Date", xe(e, "Date") + r * n), i && e._d.setTime(e._d.valueOf() + i * n), s && c.updateOffset(e, r || a)) } At.fn = Ht.prototype, At.invalid = function () { return At(NaN) }; var qt = zt(1, "add"), Jt = zt(-1, "subtract"); function Bt(e, t) { var n = 12 * (t.year() - e.year()) + (t.month() - e.month()), s = e.clone().add(n, "months"); return -(n + (t - s < 0 ? (t - s) / (s - e.clone().add(n - 1, "months")) : (t - s) / (e.clone().add(n + 1, "months") - s))) || 0 } function Qt(e) { var t; return void 0 === e ? this._locale._abbr : (null != (t = lt(e)) && (this._locale = t), this) } c.defaultFormat = "YYYY-MM-DDTHH:mm:ssZ", c.defaultFormatUtc = "YYYY-MM-DDTHH:mm:ss[Z]"; var Xt = n("moment_mod().lang() is deprecated. Instead, use moment_mod().localeData() to get the language configuration. Use moment_mod().locale() to change languages.", function (e) { return void 0 === e ? this.localeData() : this.locale(e) }); function Kt() { return this._locale } function en(e, t) { I(0, [e, e.length], 0, t) } function tn(e, t, n, s, i) { var r; return null == e ? Ie(this, s, i).year : ((r = Ae(e, s, i)) < t && (t = r), function (e, t, n, s, i) { var r = Ee(e, t, n, s, i), a = Ge(r.year, 0, r.dayOfYear); return this.year(a.getUTCFullYear()), this.month(a.getUTCMonth()), this.date(a.getUTCDate()), this }.call(this, e, t, n, s, i)) } I(0, ["gg", 2], 0, function () { return this.weekYear() % 100 }), I(0, ["GG", 2], 0, function () { return this.isoWeekYear() % 100 }), en("gggg", "weekYear"), en("ggggg", "weekYear"), en("GGGG", "isoWeekYear"), en("GGGGG", "isoWeekYear"), H("weekYear", "gg"), H("isoWeekYear", "GG"), L("weekYear", 1), L("isoWeekYear", 1), ue("G", se), ue("g", se), ue("GG", B, z), ue("gg", B, z), ue("GGGG", ee, q), ue("gggg", ee, q), ue("GGGGG", te, J), ue("ggggg", te, J), fe(["gggg", "ggggg", "GGGG", "GGGGG"], function (e, t, n, s) { t[s.substr(0, 2)] = k(e) }), fe(["gg", "GG"], function (e, t, n, s) { t[s] = c.parseTwoDigitYear(e) }), I("Q", 0, "Qo", "quarter"), H("quarter", "Q"), L("quarter", 7), ue("Q", Z), ce("Q", function (e, t) { t[_e] = 3 * (k(e) - 1) }), I("D", ["DD", 2], "Do", "date"), H("date", "D"), L("date", 9), ue("D", B), ue("DD", B, z), ue("Do", function (e, t) { return e ? t._dayOfMonthOrdinalParse || t._ordinalParse : t._dayOfMonthOrdinalParseLenient }), ce(["D", "DD"], ye), ce("Do", function (e, t) { t[ye] = k(e.match(B)[0]) }); var nn = Te("Date", !0); I("DDD", ["DDDD", 3], "DDDo", "dayOfYear"), H("dayOfYear", "DDD"), L("dayOfYear", 4), ue("DDD", K), ue("DDDD", $), ce(["DDD", "DDDD"], function (e, t, n) { n._dayOfYear = k(e) }), I("m", ["mm", 2], 0, "minute"), H("minute", "m"), L("minute", 14), ue("m", B), ue("mm", B, z), ce(["m", "mm"], pe); var sn = Te("Minutes", !1); I("s", ["ss", 2], 0, "second"), H("second", "s"), L("second", 15), ue("s", B), ue("ss", B, z), ce(["s", "ss"], ve); var rn, an = Te("Seconds", !1); for (I("S", 0, 0, function () { return ~~(this.millisecond() / 100) }), I(0, ["SS", 2], 0, function () { return ~~(this.millisecond() / 10) }), I(0, ["SSS", 3], 0, "millisecond"), I(0, ["SSSS", 4], 0, function () { return 10 * this.millisecond() }), I(0, ["SSSSS", 5], 0, function () { return 100 * this.millisecond() }), I(0, ["SSSSSS", 6], 0, function () { return 1e3 * this.millisecond() }), I(0, ["SSSSSSS", 7], 0, function () { return 1e4 * this.millisecond() }), I(0, ["SSSSSSSS", 8], 0, function () { return 1e5 * this.millisecond() }), I(0, ["SSSSSSSSS", 9], 0, function () { return 1e6 * this.millisecond() }), H("millisecond", "ms"), L("millisecond", 16), ue("S", K, Z), ue("SS", K, z), ue("SSS", K, $), rn = "SSSS"; rn.length <= 9; rn += "S")ue(rn, ne); function on(e, t) { t[we] = k(1e3 * ("0." + e)) } for (rn = "S"; rn.length <= 9; rn += "S")ce(rn, on); var un = Te("Milliseconds", !1); I("z", 0, 0, "zoneAbbr"), I("zz", 0, 0, "zoneName"); var ln = M.prototype; function dn(e) { return e } ln.add = qt, ln.calendar = function (e, t) { var n = e || Tt(), s = Nt(n, this).startOf("day"), i = c.calendarFormat(this, s) || "sameElse", r = t && (x(t[i]) ? t[i].call(this, n) : t[i]); return this.format(r || this.localeData().calendar(i, this, Tt(n))) }, ln.clone = function () { return new M(this) }, ln.diff = function (e, t, n) { var s, i, r; if (!this.isValid()) return NaN; if (!(s = Nt(e, this)).isValid()) return NaN; switch (i = 6e4 * (s.utcOffset() - this.utcOffset()), t = R(t)) { case "year": r = Bt(this, s) / 12; break; case "month": r = Bt(this, s); break; case "quarter": r = Bt(this, s) / 3; break; case "second": r = (this - s) / 1e3; break; case "minute": r = (this - s) / 6e4; break; case "hour": r = (this - s) / 36e5; break; case "day": r = (this - s - i) / 864e5; break; case "week": r = (this - s - i) / 6048e5; break; default: r = this - s }return n ? r : D(r) }, ln.endOf = function (e) { return void 0 === (e = R(e)) || "millisecond" === e ? this : ("date" === e && (e = "day"), this.startOf(e).add(1, "isoWeek" === e ? "week" : e).subtract(1, "ms")) }, ln.format = function (e) { e || (e = this.isUtc() ? c.defaultFormatUtc : c.defaultFormat); var t = A(this, e); return this.localeData().postformat(t) }, ln.from = function (e, t) { return this.isValid() && (S(e) && e.isValid() || Tt(e).isValid()) ? At({ to: this, from: e }).locale(this.locale()).humanize(!t) : this.localeData().invalidDate() }, ln.fromNow = function (e) { return this.from(Tt(), e) }, ln.to = function (e, t) { return this.isValid() && (S(e) && e.isValid() || Tt(e).isValid()) ? At({ from: this, to: e }).locale(this.locale()).humanize(!t) : this.localeData().invalidDate() }, ln.toNow = function (e) { return this.to(Tt(), e) }, ln.get = function (e) { return x(this[e = R(e)]) ? this[e]() : this }, ln.invalidAt = function () { return g(this).overflow }, ln.isAfter = function (e, t) { var n = S(e) ? e : Tt(e); return !(!this.isValid() || !n.isValid()) && ("millisecond" === (t = R(l(t) ? "millisecond" : t)) ? this.valueOf() > n.valueOf() : n.valueOf() < this.clone().startOf(t).valueOf()) }, ln.isBefore = function (e, t) { var n = S(e) ? e : Tt(e); return !(!this.isValid() || !n.isValid()) && ("millisecond" === (t = R(l(t) ? "millisecond" : t)) ? this.valueOf() < n.valueOf() : this.clone().endOf(t).valueOf() < n.valueOf()) }, ln.isBetween = function (e, t, n, s) { return ("(" === (s = s || "()")[0] ? this.isAfter(e, n) : !this.isBefore(e, n)) && (")" === s[1] ? this.isBefore(t, n) : !this.isAfter(t, n)) }, ln.isSame = function (e, t) { var n, s = S(e) ? e : Tt(e); return !(!this.isValid() || !s.isValid()) && ("millisecond" === (t = R(t || "millisecond")) ? this.valueOf() === s.valueOf() : (n = s.valueOf(), this.clone().startOf(t).valueOf() <= n && n <= this.clone().endOf(t).valueOf())) }, ln.isSameOrAfter = function (e, t) { return this.isSame(e, t) || this.isAfter(e, t) }, ln.isSameOrBefore = function (e, t) { return this.isSame(e, t) || this.isBefore(e, t) }, ln.isValid = function () { return p(this) }, ln.lang = Xt, ln.locale = Qt, ln.localeData = Kt, ln.max = bt, ln.min = xt, ln.parsingFlags = function () { return _({}, g(this)) }, ln.set = function (e, t) { if ("object" == typeof e) for (var n = function (e) { var t = []; for (var n in e) t.push({ unit: n, priority: F[n] }); return t.sort(function (e, t) { return e.priority - t.priority }), t }(e = C(e)), s = 0; s < n.length; s++)this[n[s].unit](e[n[s].unit]); else if (x(this[e = R(e)])) return this[e](t); return this }, ln.startOf = function (e) { switch (e = R(e)) { case "year": this.month(0); case "quarter": case "month": this.date(1); case "week": case "isoWeek": case "day": case "date": this.hours(0); case "hour": this.minutes(0); case "minute": this.seconds(0); case "second": this.milliseconds(0) }return "week" === e && this.weekday(0), "isoWeek" === e && this.isoWeekday(1), "quarter" === e && this.month(3 * Math.floor(this.month() / 3)), this }, ln.subtract = Jt, ln.toArray = function () { var e = this; return [e.year(), e.month(), e.date(), e.hour(), e.minute(), e.second(), e.millisecond()] }, ln.toObject = function () { var e = this; return { years: e.year(), months: e.month(), date: e.date(), hours: e.hours(), minutes: e.minutes(), seconds: e.seconds(), milliseconds: e.milliseconds() } }, ln.toDate = function () { return new Date(this.valueOf()) }, ln.toISOString = function (e) { if (!this.isValid()) return null; var t = !0 !== e, n = t ? this.clone().utc() : this; return n.year() < 0 || 9999 < n.year() ? A(n, t ? "YYYYYY-MM-DD[T]HH:mm:ss.SSS[Z]" : "YYYYYY-MM-DD[T]HH:mm:ss.SSSZ") : x(Date.prototype.toISOString) ? t ? this.toDate().toISOString() : new Date(this.valueOf() + 60 * this.utcOffset() * 1e3).toISOString().replace("Z", A(n, "Z")) : A(n, t ? "YYYY-MM-DD[T]HH:mm:ss.SSS[Z]" : "YYYY-MM-DD[T]HH:mm:ss.SSSZ") }, ln.inspect = function () { if (!this.isValid()) return "moment_mod.invalid(/* " + this._i + " */)"; var e = "moment_mod", t = ""; this.isLocal() || (e = 0 === this.utcOffset() ? "moment_mod.utc" : "moment_mod.parseZone", t = "Z"); var n = "[" + e + '("]', s = 0 <= this.year() && this.year() <= 9999 ? "YYYY" : "YYYYYY", i = t + '[")]'; return this.format(n + s + "-MM-DD[T]HH:mm:ss.SSS" + i) }, ln.toJSON = function () { return this.isValid() ? this.toISOString() : null }, ln.toString = function () { return this.clone().locale("en").format("ddd MMM DD YYYY HH:mm:ss [GMT]ZZ") }, ln.unix = function () { return Math.floor(this.valueOf() / 1e3) }, ln.valueOf = function () { return this._d.valueOf() - 6e4 * (this._offset || 0) }, ln.creationData = function () { return { input: this._i, format: this._f, locale: this._locale, isUTC: this._isUTC, strict: this._strict } }, ln.year = Oe, ln.isLeapYear = function () { return ke(this.year()) }, ln.weekYear = function (e) { return tn.call(this, e, this.week(), this.weekday(), this.localeData()._week.dow, this.localeData()._week.doy) }, ln.isoWeekYear = function (e) { return tn.call(this, e, this.isoWeek(), this.isoWeekday(), 1, 4) }, ln.quarter = ln.quarters = function (e) { return null == e ? Math.ceil((this.month() + 1) / 3) : this.month(3 * (e - 1) + this.month() % 3) }, ln.month = Fe, ln.daysInMonth = function () { return Pe(this.year(), this.month()) }, ln.week = ln.weeks = function (e) { var t = this.localeData().week(this); return null == e ? t : this.add(7 * (e - t), "d") }, ln.isoWeek = ln.isoWeeks = function (e) { var t = Ie(this, 1, 4).week; return null == e ? t : this.add(7 * (e - t), "d") }, ln.weeksInYear = function () { var e = this.localeData()._week; return Ae(this.year(), e.dow, e.doy) }, ln.isoWeeksInYear = function () { return Ae(this.year(), 1, 4) }, ln.date = nn, ln.day = ln.days = function (e) { if (!this.isValid()) return null != e ? this : NaN; var t, n, s = this._isUTC ? this._d.getUTCDay() : this._d.getDay(); return null != e ? (t = e, n = this.localeData(), e = "string" != typeof t ? t : isNaN(t) ? "number" == typeof (t = n.weekdaysParse(t)) ? t : null : parseInt(t, 10), this.add(e - s, "d")) : s }, ln.weekday = function (e) { if (!this.isValid()) return null != e ? this : NaN; var t = (this.day() + 7 - this.localeData()._week.dow) % 7; return null == e ? t : this.add(e - t, "d") }, ln.isoWeekday = function (e) { if (!this.isValid()) return null != e ? this : NaN; if (null != e) { var t = (n = e, s = this.localeData(), "string" == typeof n ? s.weekdaysParse(n) % 7 || 7 : isNaN(n) ? null : n); return this.day(this.day() % 7 ? t : t - 7) } return this.day() || 7; var n, s }, ln.dayOfYear = function (e) { var t = Math.round((this.clone().startOf("day") - this.clone().startOf("year")) / 864e5) + 1; return null == e ? t : this.add(e - t, "d") }, ln.hour = ln.hours = tt, ln.minute = ln.minutes = sn, ln.second = ln.seconds = an, ln.millisecond = ln.milliseconds = un, ln.utcOffset = function (e, t, n) { var s, i = this._offset || 0; if (!this.isValid()) return null != e ? this : NaN; if (null != e) { if ("string" == typeof e) { if (null === (e = Ut(re, e))) return this } else Math.abs(e) < 16 && !n && (e *= 60); return !this._isUTC && t && (s = Gt(this)), this._offset = e, this._isUTC = !0, null != s && this.add(s, "m"), i !== e && (!t || this._changeInProgress ? $t(this, At(e - i, "m"), 1, !1) : this._changeInProgress || (this._changeInProgress = !0, c.updateOffset(this, !0), this._changeInProgress = null)), this } return this._isUTC ? i : Gt(this) }, ln.utc = function (e) { return this.utcOffset(0, e) }, ln.local = function (e) { return this._isUTC && (this.utcOffset(0, e), this._isUTC = !1, e && this.subtract(Gt(this), "m")), this }, ln.parseZone = function () { if (null != this._tzm) this.utcOffset(this._tzm, !1, !0); else if ("string" == typeof this._i) { var e = Ut(ie, this._i); null != e ? this.utcOffset(e) : this.utcOffset(0, !0) } return this }, ln.hasAlignedHourOffset = function (e) { return !!this.isValid() && (e = e ? Tt(e).utcOffset() : 0, (this.utcOffset() - e) % 60 == 0) }, ln.isDST = function () { return this.utcOffset() > this.clone().month(0).utcOffset() || this.utcOffset() > this.clone().month(5).utcOffset() }, ln.isLocal = function () { return !!this.isValid() && !this._isUTC }, ln.isUtcOffset = function () { return !!this.isValid() && this._isUTC }, ln.isUtc = Vt, ln.isUTC = Vt, ln.zoneAbbr = function () { return this._isUTC ? "UTC" : "" }, ln.zoneName = function () { return this._isUTC ? "Coordinated Universal Time" : "" }, ln.dates = n("dates accessor is deprecated. Use date instead.", nn), ln.months = n("months accessor is deprecated. Use month instead", Fe), ln.years = n("years accessor is deprecated. Use year instead", Oe), ln.zone = n("moment_mod().zone is deprecated, use moment_mod().utcOffset instead. http://momentjs.com/guides/#/warnings/zone/", function (e, t) { return null != e ? ("string" != typeof e && (e = -e), this.utcOffset(e, t), this) : -this.utcOffset() }), ln.isDSTShifted = n("isDSTShifted is deprecated. See http://momentjs.com/guides/#/warnings/dst-shifted/ for more information", function () { if (!l(this._isDSTShifted)) return this._isDSTShifted; var e = {}; if (w(e, this), (e = Yt(e))._a) { var t = e._isUTC ? y(e._a) : Tt(e._a); this._isDSTShifted = this.isValid() && 0 < a(e._a, t.toArray()) } else this._isDSTShifted = !1; return this._isDSTShifted }); var hn = P.prototype; function cn(e, t, n, s) { var i = lt(), r = y().set(s, t); return i[n](r, e) } function fn(e, t, n) { if (d(e) && (t = e, e = void 0), e = e || "", null != t) return cn(e, t, n, "month"); var s, i = []; for (s = 0; s < 12; s++)i[s] = cn(e, s, n, "month"); return i } function mn(e, t, n, s) { "boolean" == typeof e ? d(t) && (n = t, t = void 0) : (t = e, e = !1, d(n = t) && (n = t, t = void 0)), t = t || ""; var i, r = lt(), a = e ? r._week.dow : 0; if (null != n) return cn(t, (n + a) % 7, s, "day"); var o = []; for (i = 0; i < 7; i++)o[i] = cn(t, (i + a) % 7, s, "day"); return o } hn.calendar = function (e, t, n) { var s = this._calendar[e] || this._calendar.sameElse; return x(s) ? s.call(t, n) : s }, hn.longDateFormat = function (e) { var t = this._longDateFormat[e], n = this._longDateFormat[e.toUpperCase()]; return t || !n ? t : (this._longDateFormat[e] = n.replace(/MMMM|MM|DD|dddd/g, function (e) { return e.slice(1) }), this._longDateFormat[e]) }, hn.invalidDate = function () { return this._invalidDate }, hn.ordinal = function (e) { return this._ordinal.replace("%d", e) }, hn.preparse = dn, hn.postformat = dn, hn.relativeTime = function (e, t, n, s) { var i = this._relativeTime[n]; return x(i) ? i(e, t, n, s) : i.replace(/%d/i, e) }, hn.pastFuture = function (e, t) { var n = this._relativeTime[0 < e ? "future" : "past"]; return x(n) ? n(t) : n.replace(/%s/i, t) }, hn.set = function (e) { var t, n; for (n in e) x(t = e[n]) ? this[n] = t : this["_" + n] = t; this._config = e, this._dayOfMonthOrdinalParseLenient = new RegExp((this._dayOfMonthOrdinalParse.source || this._ordinalParse.source) + "|" + /\d{1,2}/.source) }, hn.months = function (e, t) { return e ? o(this._months) ? this._months[e.month()] : this._months[(this._months.isFormat || We).test(t) ? "format" : "standalone"][e.month()] : o(this._months) ? this._months : this._months.standalone }, hn.monthsShort = function (e, t) { return e ? o(this._monthsShort) ? this._monthsShort[e.month()] : this._monthsShort[We.test(t) ? "format" : "standalone"][e.month()] : o(this._monthsShort) ? this._monthsShort : this._monthsShort.standalone }, hn.monthsParse = function (e, t, n) { var s, i, r; if (this._monthsParseExact) return function (e, t, n) { var s, i, r, a = e.toLocaleLowerCase(); if (!this._monthsParse) for (this._monthsParse = [], this._longMonthsParse = [], this._shortMonthsParse = [], s = 0; s < 12; ++s)r = y([2e3, s]), this._shortMonthsParse[s] = this.monthsShort(r, "").toLocaleLowerCase(), this._longMonthsParse[s] = this.months(r, "").toLocaleLowerCase(); return n ? "MMM" === t ? -1 !== (i = Ye.call(this._shortMonthsParse, a)) ? i : null : -1 !== (i = Ye.call(this._longMonthsParse, a)) ? i : null : "MMM" === t ? -1 !== (i = Ye.call(this._shortMonthsParse, a)) ? i : -1 !== (i = Ye.call(this._longMonthsParse, a)) ? i : null : -1 !== (i = Ye.call(this._longMonthsParse, a)) ? i : -1 !== (i = Ye.call(this._shortMonthsParse, a)) ? i : null }.call(this, e, t, n); for (this._monthsParse || (this._monthsParse = [], this._longMonthsParse = [], this._shortMonthsParse = []), s = 0; s < 12; s++) { if (i = y([2e3, s]), n && !this._longMonthsParse[s] && (this._longMonthsParse[s] = new RegExp("^" + this.months(i, "").replace(".", "") + "$", "i"), this._shortMonthsParse[s] = new RegExp("^" + this.monthsShort(i, "").replace(".", "") + "$", "i")), n || this._monthsParse[s] || (r = "^" + this.months(i, "") + "|^" + this.monthsShort(i, ""), this._monthsParse[s] = new RegExp(r.replace(".", ""), "i")), n && "MMMM" === t && this._longMonthsParse[s].test(e)) return s; if (n && "MMM" === t && this._shortMonthsParse[s].test(e)) return s; if (!n && this._monthsParse[s].test(e)) return s } }, hn.monthsRegex = function (e) { return this._monthsParseExact ? (m(this, "_monthsRegex") || Ne.call(this), e ? this._monthsStrictRegex : this._monthsRegex) : (m(this, "_monthsRegex") || (this._monthsRegex = Ue), this._monthsStrictRegex && e ? this._monthsStrictRegex : this._monthsRegex) }, hn.monthsShortRegex = function (e) { return this._monthsParseExact ? (m(this, "_monthsRegex") || Ne.call(this), e ? this._monthsShortStrictRegex : this._monthsShortRegex) : (m(this, "_monthsShortRegex") || (this._monthsShortRegex = Le), this._monthsShortStrictRegex && e ? this._monthsShortStrictRegex : this._monthsShortRegex) }, hn.week = function (e) { return Ie(e, this._week.dow, this._week.doy).week }, hn.firstDayOfYear = function () { return this._week.doy }, hn.firstDayOfWeek = function () { return this._week.dow }, hn.weekdays = function (e, t) { return e ? o(this._weekdays) ? this._weekdays[e.day()] : this._weekdays[this._weekdays.isFormat.test(t) ? "format" : "standalone"][e.day()] : o(this._weekdays) ? this._weekdays : this._weekdays.standalone }, hn.weekdaysMin = function (e) { return e ? this._weekdaysMin[e.day()] : this._weekdaysMin }, hn.weekdaysShort = function (e) { return e ? this._weekdaysShort[e.day()] : this._weekdaysShort }, hn.weekdaysParse = function (e, t, n) { var s, i, r; if (this._weekdaysParseExact) return function (e, t, n) { var s, i, r, a = e.toLocaleLowerCase(); if (!this._weekdaysParse) for (this._weekdaysParse = [], this._shortWeekdaysParse = [], this._minWeekdaysParse = [], s = 0; s < 7; ++s)r = y([2e3, 1]).day(s), this._minWeekdaysParse[s] = this.weekdaysMin(r, "").toLocaleLowerCase(), this._shortWeekdaysParse[s] = this.weekdaysShort(r, "").toLocaleLowerCase(), this._weekdaysParse[s] = this.weekdays(r, "").toLocaleLowerCase(); return n ? "dddd" === t ? -1 !== (i = Ye.call(this._weekdaysParse, a)) ? i : null : "ddd" === t ? -1 !== (i = Ye.call(this._shortWeekdaysParse, a)) ? i : null : -1 !== (i = Ye.call(this._minWeekdaysParse, a)) ? i : null : "dddd" === t ? -1 !== (i = Ye.call(this._weekdaysParse, a)) ? i : -1 !== (i = Ye.call(this._shortWeekdaysParse, a)) ? i : -1 !== (i = Ye.call(this._minWeekdaysParse, a)) ? i : null : "ddd" === t ? -1 !== (i = Ye.call(this._shortWeekdaysParse, a)) ? i : -1 !== (i = Ye.call(this._weekdaysParse, a)) ? i : -1 !== (i = Ye.call(this._minWeekdaysParse, a)) ? i : null : -1 !== (i = Ye.call(this._minWeekdaysParse, a)) ? i : -1 !== (i = Ye.call(this._weekdaysParse, a)) ? i : -1 !== (i = Ye.call(this._shortWeekdaysParse, a)) ? i : null }.call(this, e, t, n); for (this._weekdaysParse || (this._weekdaysParse = [], this._minWeekdaysParse = [], this._shortWeekdaysParse = [], this._fullWeekdaysParse = []), s = 0; s < 7; s++) { if (i = y([2e3, 1]).day(s), n && !this._fullWeekdaysParse[s] && (this._fullWeekdaysParse[s] = new RegExp("^" + this.weekdays(i, "").replace(".", "\\.?") + "$", "i"), this._shortWeekdaysParse[s] = new RegExp("^" + this.weekdaysShort(i, "").replace(".", "\\.?") + "$", "i"), this._minWeekdaysParse[s] = new RegExp("^" + this.weekdaysMin(i, "").replace(".", "\\.?") + "$", "i")), this._weekdaysParse[s] || (r = "^" + this.weekdays(i, "") + "|^" + this.weekdaysShort(i, "") + "|^" + this.weekdaysMin(i, ""), this._weekdaysParse[s] = new RegExp(r.replace(".", ""), "i")), n && "dddd" === t && this._fullWeekdaysParse[s].test(e)) return s; if (n && "ddd" === t && this._shortWeekdaysParse[s].test(e)) return s; if (n && "dd" === t && this._minWeekdaysParse[s].test(e)) return s; if (!n && this._weekdaysParse[s].test(e)) return s } }, hn.weekdaysRegex = function (e) { return this._weekdaysParseExact ? (m(this, "_weekdaysRegex") || Be.call(this), e ? this._weekdaysStrictRegex : this._weekdaysRegex) : (m(this, "_weekdaysRegex") || (this._weekdaysRegex = $e), this._weekdaysStrictRegex && e ? this._weekdaysStrictRegex : this._weekdaysRegex) }, hn.weekdaysShortRegex = function (e) { return this._weekdaysParseExact ? (m(this, "_weekdaysRegex") || Be.call(this), e ? this._weekdaysShortStrictRegex : this._weekdaysShortRegex) : (m(this, "_weekdaysShortRegex") || (this._weekdaysShortRegex = qe), this._weekdaysShortStrictRegex && e ? this._weekdaysShortStrictRegex : this._weekdaysShortRegex) }, hn.weekdaysMinRegex = function (e) { return this._weekdaysParseExact ? (m(this, "_weekdaysRegex") || Be.call(this), e ? this._weekdaysMinStrictRegex : this._weekdaysMinRegex) : (m(this, "_weekdaysMinRegex") || (this._weekdaysMinRegex = Je), this._weekdaysMinStrictRegex && e ? this._weekdaysMinStrictRegex : this._weekdaysMinRegex) }, hn.isPM = function (e) { return "p" === (e + "").toLowerCase().charAt(0) }, hn.meridiem = function (e, t, n) { return 11 < e ? n ? "pm" : "PM" : n ? "am" : "AM" }, ot("en", { dayOfMonthOrdinalParse: /\d{1,2}(th|st|nd|rd)/, ordinal: function (e) { var t = e % 10; return e + (1 === k(e % 100 / 10) ? "th" : 1 === t ? "st" : 2 === t ? "nd" : 3 === t ? "rd" : "th") } }), c.lang = n("moment_mod.lang is deprecated. Use moment_mod.locale instead.", ot), c.langData = n("moment_mod.langData is deprecated. Use moment_mod.localeData instead.", lt); var _n = Math.abs; function yn(e, t, n, s) { var i = At(t, n); return e._milliseconds += s * i._milliseconds, e._days += s * i._days, e._months += s * i._months, e._bubble() } function gn(e) { return e < 0 ? Math.floor(e) : Math.ceil(e) } function pn(e) { return 4800 * e / 146097 } function vn(e) { return 146097 * e / 4800 } function wn(e) { return function () { return this.as(e) } } var Mn = wn("ms"), Sn = wn("s"), Dn = wn("m"), kn = wn("h"), Yn = wn("d"), On = wn("w"), Tn = wn("M"), xn = wn("y"); function bn(e) { return function () { return this.isValid() ? this._data[e] : NaN } } var Pn = bn("milliseconds"), Wn = bn("seconds"), Hn = bn("minutes"), Rn = bn("hours"), Cn = bn("days"), Fn = bn("months"), Ln = bn("years"); var Un = Math.round, Nn = { ss: 44, s: 45, m: 45, h: 22, d: 26, M: 11 }; var Gn = Math.abs; function Vn(e) { return (0 < e) - (e < 0) || +e } function En() { if (!this.isValid()) return this.localeData().invalidDate(); var e, t, n = Gn(this._milliseconds) / 1e3, s = Gn(this._days), i = Gn(this._months); t = D((e = D(n / 60)) / 60), n %= 60, e %= 60; var r = D(i / 12), a = i %= 12, o = s, u = t, l = e, d = n ? n.toFixed(3).replace(/\.?0+$/, "") : "", h = this.asSeconds(); if (!h) return "P0D"; var c = h < 0 ? "-" : "", f = Vn(this._months) !== Vn(h) ? "-" : "", m = Vn(this._days) !== Vn(h) ? "-" : "", _ = Vn(this._milliseconds) !== Vn(h) ? "-" : ""; return c + "P" + (r ? f + r + "Y" : "") + (a ? f + a + "M" : "") + (o ? m + o + "D" : "") + (u || l || d ? "T" : "") + (u ? _ + u + "H" : "") + (l ? _ + l + "M" : "") + (d ? _ + d + "S" : "") } var In = Ht.prototype; return In.isValid = function () { return this._isValid }, In.abs = function () { var e = this._data; return this._milliseconds = _n(this._milliseconds), this._days = _n(this._days), this._months = _n(this._months), e.milliseconds = _n(e.milliseconds), e.seconds = _n(e.seconds), e.minutes = _n(e.minutes), e.hours = _n(e.hours), e.months = _n(e.months), e.years = _n(e.years), this }, In.add = function (e, t) { return yn(this, e, t, 1) }, In.subtract = function (e, t) { return yn(this, e, t, -1) }, In.as = function (e) { if (!this.isValid()) return NaN; var t, n, s = this._milliseconds; if ("month" === (e = R(e)) || "year" === e) return t = this._days + s / 864e5, n = this._months + pn(t), "month" === e ? n : n / 12; switch (t = this._days + Math.round(vn(this._months)), e) { case "week": return t / 7 + s / 6048e5; case "day": return t + s / 864e5; case "hour": return 24 * t + s / 36e5; case "minute": return 1440 * t + s / 6e4; case "second": return 86400 * t + s / 1e3; case "millisecond": return Math.floor(864e5 * t) + s; default: throw new Error("Unknown unit " + e) } }, In.asMilliseconds = Mn, In.asSeconds = Sn, In.asMinutes = Dn, In.asHours = kn, In.asDays = Yn, In.asWeeks = On, In.asMonths = Tn, In.asYears = xn, In.valueOf = function () { return this.isValid() ? this._milliseconds + 864e5 * this._days + this._months % 12 * 2592e6 + 31536e6 * k(this._months / 12) : NaN }, In._bubble = function () { var e, t, n, s, i, r = this._milliseconds, a = this._days, o = this._months, u = this._data; return 0 <= r && 0 <= a && 0 <= o || r <= 0 && a <= 0 && o <= 0 || (r += 864e5 * gn(vn(o) + a), o = a = 0), u.milliseconds = r % 1e3, e = D(r / 1e3), u.seconds = e % 60, t = D(e / 60), u.minutes = t % 60, n = D(t / 60), u.hours = n % 24, o += i = D(pn(a += D(n / 24))), a -= gn(vn(i)), s = D(o / 12), o %= 12, u.days = a, u.months = o, u.years = s, this }, In.clone = function () { return At(this) }, In.get = function (e) { return e = R(e), this.isValid() ? this[e + "s"]() : NaN }, In.milliseconds = Pn, In.seconds = Wn, In.minutes = Hn, In.hours = Rn, In.days = Cn, In.weeks = function () { return D(this.days() / 7) }, In.months = Fn, In.years = Ln, In.humanize = function (e) { if (!this.isValid()) return this.localeData().invalidDate(); var t, n, s, i, r, a, o, u, l, d, h, c = this.localeData(), f = (n = !e, s = c, i = At(t = this).abs(), r = Un(i.as("s")), a = Un(i.as("m")), o = Un(i.as("h")), u = Un(i.as("d")), l = Un(i.as("M")), d = Un(i.as("y")), (h = r <= Nn.ss && ["s", r] || r < Nn.s && ["ss", r] || a <= 1 && ["m"] || a < Nn.m && ["mm", a] || o <= 1 && ["h"] || o < Nn.h && ["hh", o] || u <= 1 && ["d"] || u < Nn.d && ["dd", u] || l <= 1 && ["M"] || l < Nn.M && ["MM", l] || d <= 1 && ["y"] || ["yy", d])[2] = n, h[3] = 0 < +t, h[4] = s, function (e, t, n, s, i) { return i.relativeTime(t || 1, !!n, e, s) }.apply(null, h)); return e && (f = c.pastFuture(+this, f)), c.postformat(f) }, In.toISOString = En, In.toString = En, In.toJSON = En, In.locale = Qt, In.localeData = Kt, In.toIsoString = n("toIsoString() is deprecated. Please use toISOString() instead (notice the capitals)", En), In.lang = Xt, I("X", 0, 0, "unix"), I("x", 0, 0, "valueOf"), ue("x", se), ue("X", /[+-]?\d+(\.\d{1,3})?/), ce("X", function (e, t, n) { n._d = new Date(1e3 * parseFloat(e, 10)) }), ce("x", function (e, t, n) { n._d = new Date(k(e)) }), c.version = "2.22.2", e = Tt, c.fn = ln, c.min = function () { return Pt("isBefore", [].slice.call(arguments, 0)) }, c.max = function () { return Pt("isAfter", [].slice.call(arguments, 0)) }, c.now = function () { return Date.now ? Date.now() : +new Date }, c.utc = y, c.unix = function (e) { return Tt(1e3 * e) }, c.months = function (e, t) { return fn(e, t, "months") }, c.isDate = h, c.locale = ot, c.invalid = v, c.duration = At, c.isMoment = S, c.weekdays = function (e, t, n) { return mn(e, t, n, "weekdays") }, c.parseZone = function () { return Tt.apply(null, arguments).parseZone() }, c.localeData = lt, c.isDuration = Rt, c.monthsShort = function (e, t) { return fn(e, t, "monthsShort") }, c.weekdaysMin = function (e, t, n) { return mn(e, t, n, "weekdaysMin") }, c.defineLocale = ut, c.updateLocale = function (e, t) { if (null != t) { var n, s, i = nt; null != (s = at(e)) && (i = s._config), (n = new P(t = b(i, t))).parentLocale = st[e], st[e] = n, ot(e) } else null != st[e] && (null != st[e].parentLocale ? st[e] = st[e].parentLocale : null != st[e] && delete st[e]); return st[e] }, c.locales = function () { return s(st) }, c.weekdaysShort = function (e, t, n) { return mn(e, t, n, "weekdaysShort") }, c.normalizeUnits = R, c.relativeTimeRounding = function (e) { return void 0 === e ? Un : "function" == typeof e && (Un = e, !0) }, c.relativeTimeThreshold = function (e, t) { return void 0 !== Nn[e] && (void 0 === t ? Nn[e] : (Nn[e] = t, "s" === e && (Nn.ss = t - 1), !0)) }, c.calendarFormat = function (e, t) { var n = e.diff(t, "days", !0); return n < -6 ? "sameElse" : n < -1 ? "lastWeek" : n < 0 ? "lastDay" : n < 1 ? "sameDay" : n < 2 ? "nextDay" : n < 7 ? "nextWeek" : "sameElse" }, c.prototype = ln, c.HTML5_FMT = { DATETIME_LOCAL: "YYYY-MM-DDTHH:mm", DATETIME_LOCAL_SECONDS: "YYYY-MM-DDTHH:mm:ss", DATETIME_LOCAL_MS: "YYYY-MM-DDTHH:mm:ss.SSS", DATE: "YYYY-MM-DD", TIME: "HH:mm", TIME_SECONDS: "HH:mm:ss", TIME_MS: "HH:mm:ss.SSS", WEEK: "YYYY-[W]WW", MONTH: "YYYY-MM" }, c });;
var Stimulsoft;!function(e){var t,r;r=t=e.ExternalLibrary||(e.ExternalLibrary={})}(Stimulsoft=Stimulsoft||{}),function(S){"use strict";function r(){this.table=new Uint16Array(16),this.trans=new Uint16Array(288)}function s(e,t){this.source=e,this.sourceIndex=0,this.tag=0,this.bitcount=0,this.dest=t,this.destLen=0,this.ltree=new r,this.dtree=new r}function e(e,t,r,n){for(var a,o,a=0;a<r;++a)e[a]=0;for(a=0;a<30-r;++a)e[a+r]=a/r|0;for(o=n,a=0;a<30;++a)t[a]=o,o+=1<<e[a]}function t(e,t){for(var r,r=0;r<7;++r)e.table[r]=0;for(e.table[7]=24,e.table[8]=152,e.table[9]=112,r=0;r<24;++r)e.trans[r]=256+r;for(r=0;r<144;++r)e.trans[24+r]=r;for(r=0;r<8;++r)e.trans[24+144+r]=280+r;for(r=0;r<112;++r)e.trans[24+144+8+r]=144+r;for(r=0;r<5;++r)t.table[r]=0;for(t.table[5]=32,r=0;r<32;++r)t.trans[r]=r}function h(e,t,r,n){for(var a,o,a=0;a<16;++a)e.table[a]=0;for(a=0;a<n;++a)e.table[t[r+a]]++;for(a=o=e.table[0]=0;a<16;++a)Uo[a]=o,o+=e.table[a];for(a=0;a<n;++a)t[r+a]&&(e.trans[Uo[t[r+a]]++]=a)}function i(e){e.bitcount--||(e.tag=e.source[e.sourceIndex++],e.bitcount=7);var t=1&e.tag;return e.tag>>>=1,t}function f(e,t,r){if(!t)return r;while(e.bitcount<24)e.tag|=e.source[e.sourceIndex++]<<e.bitcount,e.bitcount+=8;var n=e.tag&65535>>>16-t;return e.tag>>>=t,e.bitcount-=t,n+r}function d(e,t){while(e.bitcount<24)e.tag|=e.source[e.sourceIndex++]<<e.bitcount,e.bitcount+=8;var r=0,n=0,a=0,o=e.tag;do{n=2*n+(1&o),o>>>=1,++a,r+=t.table[a],n-=t.table[a]}while(0<=n);return e.tag=o,e.bitcount-=a,t.trans[r+n]}function u(e,t,r){for(var n,a,o,s,i,u,n=f(e,5,257),a=f(e,5,1),o=f(e,4,4),s=0;s<19;++s)ko[s]=0;for(s=0;s<o;++s){var l=f(e,3,0);ko[xo[s]]=l}for(h(To,ko,0,19),i=0;i<n+a;){var p=d(e,To);switch(p){case 16:for(var c=ko[i-1],u=f(e,2,3);u;--u)ko[i++]=c;break;case 17:for(u=f(e,3,3);u;--u)ko[i++]=0;break;case 18:for(u=f(e,7,11);u;--u)ko[i++]=0;break;default:ko[i++]=p;break}}h(t,ko,0,n),h(r,ko,n,a)}function l(e,t,r){while(1){var n=d(e,t);if(256===n)return ho;if(n<256)e.dest[e.destLen++]=n;else for(var a,n,o,s,a=f(e,mo[n-=257],yo[n]),n=d(e,r),s=o=e.destLen-f(e,bo[n],So[n]);s<o+a;++s)e.dest[e.destLen++]=e.dest[s]}}function p(e){var t,r,n;while(8<e.bitcount)e.sourceIndex--,e.bitcount-=8;if((t=256*(t=e.source[e.sourceIndex+1])+e.source[e.sourceIndex])!==(65535&~(r=256*(r=e.source[e.sourceIndex+3])+e.source[e.sourceIndex+2])))return fo;for(e.sourceIndex+=4,n=t;n;--n)e.dest[e.destLen++]=e.source[e.sourceIndex++];return e.bitcount=0,ho}function n(e,t){var r=new s(e,t),n,a,o;do{switch(n=i(r),a=f(r,2,0)){case 0:o=p(r);break;case 1:o=l(r,go,vo);break;case 2:u(r,r.ltree,r.dtree),o=l(r,r.ltree,r.dtree);break;default:o=fo}if(o!==ho)throw new Error("Data error")}while(!n);if(r.destLen<r.dest.length)return"function"==typeof r.dest.slice?r.dest.slice(0,r.destLen):r.dest.subarray(0,r.destLen);return r.dest}function y(e,t,r,n,a){return Math.pow(1-a,3)*e+3*Math.pow(1-a,2)*a*t+3*(1-a)*Math.pow(a,2)*r+Math.pow(a,3)*n}function c(){this.x1=Number.NaN,this.y1=Number.NaN,this.x2=Number.NaN,this.y2=Number.NaN}function B(){this.commands=[],this.fill="black",this.stroke=null,this.strokeWidth=1}function a(e){throw new Error(e)}function o(e,t){e||a(t)}function g(e){return function(){return e}}function v(e){return-128<=e&&e<=127}function m(e,t,r){var n=0,a=e.length;while(t<a&&n<64&&0===e[t])++t,++n;return r.push(128|n-1),t}function b(e,t,r){var n=0,a=e.length,o=t;while(o<a&&n<64){var s=e[o];if(!v(s))break;if(0===s&&o+1<a&&0===e[o+1])break;++o,++n}r.push(n-1);for(var i=t;i<o;++i)r.push(e[i]+256&255);return o}function x(e,t,r){var n=0,a=e.length,o=t;while(o<a&&n<64){var s=e[o];if(0===s)break;if(v(s)&&o+1<a&&v(e[o+1]))break;++o,++n}r.push(64|n-1);for(var i=t;i<o;++i){var u=e[i];r.push(u+65536>>8&255,u+256&255)}return o}function T(e,t,r){for(var n=this,a=0;a<t.length;a+=1){var o=t[a];n[o.name]=o.value}if(this.tableName=e,this.fields=t,r)for(var s=Object.keys(r),i=0;i<s.length;i+=1){var u=s[i],l=r[u];void 0!==n[u]&&(n[u]=l)}}function k(e,t,r){void 0===r&&(r=t.length);var n=new Array(t.length+1);n[0]={name:e+"Count",type:"USHORT",value:r};for(var a=0;a<t.length;a++)n[a+1]={name:e+a,type:"USHORT",value:t[a]};return n}function U(e,t,r){var n=t.length,a=new Array(n+1);a[0]={name:e+"Count",type:"USHORT",value:n};for(var o=0;o<n;o++)a[o+1]={name:e+o,type:"TABLE",value:r(t[o],o)};return a}function O(e,t,r){var n=t.length,a=[];a[0]={name:e+"Count",type:"USHORT",value:n};for(var o=0;o<n;o++)a=a.concat(r(t[o],o));return a}function E(e){1===e.format?T.call(this,"coverageTable",[{name:"coverageFormat",type:"USHORT",value:1}].concat(k("glyph",e.glyphs))):Eo.assert(!1,"Can't create coverage table format 2 yet.")}function w(e){T.call(this,"scriptListTable",O("scriptRecord",e,function(e,t){var r=e.script,n=r.defaultLangSys;return Eo.assert(!!n,"Unable to write GSUB: script "+e.tag+" has no default language system."),[{name:"scriptTag"+t,type:"TAG",value:e.tag},{name:"script"+t,type:"TABLE",value:new T("scriptTable",[{name:"defaultLangSys",type:"TABLE",value:new T("defaultLangSys",[{name:"lookupOrder",type:"USHORT",value:0},{name:"reqFeatureIndex",type:"USHORT",value:n.reqFeatureIndex}].concat(k("featureIndex",n.featureIndexes)))}].concat(O("langSys",r.langSysRecords,function(e,t){var r=e.langSys;return[{name:"langSysTag"+t,type:"TAG",value:e.tag},{name:"langSys"+t,type:"TABLE",value:new T("langSys",[{name:"lookupOrder",type:"USHORT",value:0},{name:"reqFeatureIndex",type:"USHORT",value:r.reqFeatureIndex}].concat(k("featureIndex",r.featureIndexes)))}]})))}]}))}function R(e){T.call(this,"featureListTable",O("featureRecord",e,function(e,t){var r=e.feature;return[{name:"featureTag"+t,type:"TAG",value:e.tag},{name:"feature"+t,type:"TABLE",value:new T("featureTable",[{name:"featureParams",type:"USHORT",value:r.featureParams}].concat(k("lookupListIndex",r.lookupListIndexes)))}]}))}function L(e,r){T.call(this,"lookupListTable",U("lookup",e,function(e){var t=r[e.lookupType];return Eo.assert(!!t,"Unable to write GSUB lookup type "+e.lookupType+" tables."),new T("lookupTable",[{name:"lookupType",type:"USHORT",value:e.lookupType},{name:"lookupFlag",type:"USHORT",value:e.lookupFlag}].concat(U("subtable",e.subtables,t)))}))}function C(e,t){return e.getUint8(t)}function D(e,t){return e.getUint16(t,!1)}function I(e,t){return e.getInt16(t,!1)}function M(e,t){return e.getUint32(t,!1)}function G(e,t){var r,n;return e.getInt16(t,!1)+e.getUint16(t+2,!1)/65535}function A(e,t){for(var r="",n=t;n<t+4;n+=1)r+=String.fromCharCode(e.getInt8(n));return r}function F(e,t,r){for(var n=0,a=0;a<r;a+=1)n<<=8,n+=e.getUint8(t+a);return n}function N(e,t,r){for(var n=[],a=t;a<r;a+=1)n.push(e.getUint8(a));return n}function P(e){for(var t="",r=0;r<e.length;r+=1)t+=String.fromCharCode(e[r]);return t}function H(e,t){this.data=e,this.offset=t,this.relativeOffset=0}function z(e,t){var r;t.parseUShort(),e.length=t.parseULong(),e.language=t.parseULong(),e.groupCount=r=t.parseULong(),e.glyphIndexMap={};for(var n=0;n<r;n+=1)for(var a=t.parseULong(),o=t.parseULong(),s=t.parseULong(),i=a;i<=o;i+=1)e.glyphIndexMap[i]=s,s++}function W(e,t,r,n,a){var o;e.length=t.parseUShort(),e.language=t.parseUShort(),e.segCount=o=t.parseUShort()>>1,t.skip("uShort",3),e.glyphIndexMap={};for(var s=new Ho.Parser(r,n+a+14),i=new Ho.Parser(r,n+a+16+2*o),u=new Ho.Parser(r,n+a+16+4*o),l=new Ho.Parser(r,n+a+16+6*o),p=n+a+16+8*o,c=0;c<o-1;c+=1)for(var h=void 0,f=s.parseUShort(),d=i.parseUShort(),g=u.parseShort(),v=l.parseUShort(),m=d;m<=f;m+=1)0!==v?(p=l.offset+l.relativeOffset-2,p+=v,p+=2*(m-d),0!==(h=Ho.getUShort(r,p))&&(h=h+g&65535)):h=m+g&65535,e.glyphIndexMap[m]=h}function _(e,t){var r={};r.version=Ho.getUShort(e,t),Eo.argument(0===r.version,"cmap table version should be 0."),r.numTables=Ho.getUShort(e,t+2);for(var n=-1,a=r.numTables-1;0<=a;--a){var o=Ho.getUShort(e,t+4+8*a),s=Ho.getUShort(e,t+4+8*a+2);if(3===o&&(0===s||1===s||10===s)||0===o&&(0===s||1===s||2===s||3===s||4===s)){n=Ho.getULong(e,t+4+8*a+4);break}}if(-1===n)throw new Error("No valid cmap sub-tables found.");var i=new Ho.Parser(e,t+n);if(r.format=i.parseUShort(),12===r.format)z(r,i);else{if(4!==r.format)throw new Error("Only format 4 and 12 cmap tables are supported (found format "+r.format+").");W(r,i,e,t,n)}return r}function q(e,t,r){e.segments.push({end:t,start:t,delta:-(t-r),offset:0,glyphIndex:r})}function X(e){e.segments.push({end:65535,start:65535,delta:1,offset:0})}function V(e){for(var t=!0,r,r=e.length-1,n;0<r;--r){if(65535<e.get(r).unicode){console.log("Adding CMAP format 12 (needed!)"),t=!1;break}}var a=[{name:"version",type:"USHORT",value:0},{name:"numTables",type:"USHORT",value:t?1:2},{name:"platformID",type:"USHORT",value:3},{name:"encodingID",type:"USHORT",value:1},{name:"offset",type:"ULONG",value:t?12:12+8}];t||(a=a.concat([{name:"cmap12PlatformID",type:"USHORT",value:3},{name:"cmap12EncodingID",type:"USHORT",value:10},{name:"cmap12Offset",type:"ULONG",value:0}])),a=a.concat([{name:"format",type:"USHORT",value:4},{name:"cmap4Length",type:"USHORT",value:0},{name:"language",type:"USHORT",value:0},{name:"segCountX2",type:"USHORT",value:0},{name:"searchRange",type:"USHORT",value:0},{name:"entrySelector",type:"USHORT",value:0},{name:"rangeShift",type:"USHORT",value:0}]);var o=new Fo.Table("cmap",a);for(o.segments=[],r=0;r<e.length;r+=1){for(var s=e.get(r),i=0;i<s.unicodes.length;i+=1)q(o,s.unicodes[i],r);o.segments=o.segments.sort(function(e,t){return e.start-t.start})}X(o);var u=o.segments.length,l=0,p=[],c=[],h=[],f=[],d=[],g=[],a;for(r=0;r<u;r+=1){var v=o.segments[r];v.end<=65535&&v.start<=65535?(p=p.concat({name:"end_"+r,type:"USHORT",value:v.end}),c=c.concat({name:"start_"+r,type:"USHORT",value:v.start}),h=h.concat({name:"idDelta_"+r,type:"SHORT",value:v.delta}),f=f.concat({name:"idRangeOffset_"+r,type:"USHORT",value:v.offset}),void 0!==v.glyphId&&(d=d.concat({name:"glyph_"+r,type:"USHORT",value:v.glyphId}))):l+=1,t||void 0===v.glyphIndex||(g=(g=(g=g.concat({name:"cmap12Start_"+r,type:"ULONG",value:v.start})).concat({name:"cmap12End_"+r,type:"ULONG",value:v.end})).concat({name:"cmap12Glyph_"+r,type:"ULONG",value:v.glyphIndex}))}return o.segCountX2=2*(u-l),o.searchRange=2*Math.pow(2,Math.floor(Math.log(u-l)/Math.log(2))),o.entrySelector=Math.log(o.searchRange/2)/Math.log(2),o.rangeShift=o.segCountX2-o.searchRange,o.fields=o.fields.concat(p),o.fields.push({name:"reservedPad",type:"USHORT",value:0}),o.fields=o.fields.concat(c),o.fields=o.fields.concat(h),o.fields=o.fields.concat(f),o.fields=o.fields.concat(d),o.cmap4Length=14+2*p.length+2+2*c.length+2*h.length+2*f.length+2*d.length,t||(a=16+4*g.length,o.cmap12Offset=12+2*2+4+o.cmap4Length,o.fields=o.fields.concat([{name:"cmap12Format",type:"USHORT",value:12},{name:"cmap12Reserved",type:"USHORT",value:0},{name:"cmap12Length",type:"ULONG",value:a},{name:"cmap12Language",type:"ULONG",value:0},{name:"cmap12nGroups",type:"ULONG",value:g.length/3}]),o.fields=o.fields.concat(g)),o}function Y(e){this.font=e}function j(e){this.cmap=e}function Z(e,t){this.encoding=e,this.charset=t}function Q(e){var t=this;switch(e.version){case 1:this.names=Xo.slice();break;case 2:this.names=new Array(e.numberOfGlyphs);for(var r=0;r<e.numberOfGlyphs;r++)e.glyphNameIndex[r]<Xo.length?t.names[r]=Xo[e.glyphNameIndex[r]]:t.names[r]=e.names[e.glyphNameIndex[r]-Xo.length];break;case 2.5:this.names=new Array(e.numberOfGlyphs);for(var n=0;n<e.numberOfGlyphs;n++)t.names[n]=Xo[n+e.glyphNameIndex[n]];break;case 3:this.names=[];break;default:this.names=[];break}}function K(e){for(var t,r=e.tables.cmap.glyphIndexMap,n=Object.keys(r),a=0;a<n.length;a+=1){var o=n[a],s=r[o],t;(t=e.glyphs.get(s)).addUnicode(parseInt(o))}for(var i=0;i<e.glyphs.length;i+=1)t=e.glyphs.get(i),e.cffEncoding?e.isCIDFont?t.name="gid"+i:t.name=e.cffEncoding.charset[i]:e.glyphNames.names&&(t.name=e.glyphNames.glyphIndexToName(i))}function J(e){e._IndexToUnicodeMap={};for(var t=e.tables.cmap.glyphIndexMap,r=Object.keys(t),n=0;n<r.length;n+=1){var a=r[n],o=t[a];void 0===e._IndexToUnicodeMap[o]?e._IndexToUnicodeMap[o]={unicodes:[parseInt(a)]}:e._IndexToUnicodeMap[o].unicodes.push(parseInt(a))}}function $(e,t){(t.lowMemory?J:K)(e)}function ee(e,t,r,n,a){e.beginPath(),e.moveTo(t,r),e.lineTo(n,a),e.stroke()}function te(e,t){var r=t||new B;return{configurable:!0,get:function(){return"function"==typeof r&&(r=r()),r},set:function(e){r=e}}}function re(e){this.bindConstructorValues(e)}function ne(t,e,r){Object.defineProperty(t,e,{get:function(){return t.path,t[r]},set:function(e){t[r]=e},enumerable:!0,configurable:!0})}function ae(e,t){var r=this;if(this.font=e,this.glyphs={},Array.isArray(t))for(var n=0;n<t.length;n++){var a=t[n];a.path.unitsPerEm=e.unitsPerEm,r.glyphs[n]=a}this.length=t&&t.length||0}function oe(e,t){return new re({index:t,font:e})}function se(r,e,n,a,o,s){return function(){var t=new re({index:e,font:r});return t.path=function(){n(t,a,o);var e=s(r.glyphs,t);return e.unitsPerEm=r.unitsPerEm,e},ne(t,"xMin","_xMin"),ne(t,"xMax","_xMax"),ne(t,"yMin","_yMin"),ne(t,"yMax","_yMax"),t}}function ie(r,e,n,a){return function(){var t=new re({index:e,font:r});return t.path=function(){var e=n(r,t,a);return e.unitsPerEm=r.unitsPerEm,e},t}}function ue(e,t){if(e===t)return 1;if(Array.isArray(e)&&Array.isArray(t)){if(e.length!==t.length)return 0;for(var r=0;r<e.length;r+=1)if(!ue(e[r],t[r]))return 0;return 1}return 0}function le(e){var e,e=e.length<1240?107:e.length<33900?1131:32768;return e}function pe(e,t,r){var n=[],a=[],o=Ho.getCard16(e,t),s,i;if(0!==o){for(var u=Ho.getByte(e,t+2),s=t+(o+1)*u+2,l=t+3,p=0;p<o+1;p+=1)n.push(Ho.getOffset(e,l,u)),l+=u;i=s+n[o]}else i=t+2;for(var c=0;c<n.length-1;c+=1){var h=Ho.getBytes(e,s+n[c],s+n[c+1]);r&&(h=r(h)),a.push(h)}return{objects:a,startOffset:t,endOffset:i}}function ce(e,t){var r=[],n=Ho.getCard16(e,t),a,a;if(0!==n){for(var o=Ho.getByte(e,t+2),a=t+(n+1)*o+2,s=t+3,i=0;i<n+1;i+=1)r.push(Ho.getOffset(e,s,o)),s+=o;a=a+r[n]}else a=t+2;return{offsets:r,startOffset:t,endOffset:a}}function he(e,t,r,n,a){var o=Ho.getCard16(r,n),s=0,i,s;0!==o&&(s=n+(o+1)*Ho.getByte(r,n+2)+2);var e=Ho.getBytes(r,s+t[e],s+t[e+1]);return a&&(e=a(e)),e}function fe(e){var t="",r=15,n=["0","1","2","3","4","5","6","7","8","9",".","E","E-",null,"-"];while(1){var a=e.parseByte(),o=a>>4,a=15&a;if(o==r)break;if(t+=n[o],a==r)break;t+=n[a]}return parseFloat(t)}function de(e,t){var r,n,a,o;if(28===t)return(r=e.parseByte())<<8|(n=e.parseByte());if(29===t)return(r=e.parseByte())<<24|(n=e.parseByte())<<16|(a=e.parseByte())<<8|(o=e.parseByte());if(30===t)return fe(e);if(32<=t&&t<=246)return t-139;if(247<=t&&t<=250)return 256*(t-247)+(r=e.parseByte())+108;if(251<=t&&t<=254)return 256*-(t-251)-(r=e.parseByte())-108;throw new Error("Invalid b0 "+t)}function ge(e){for(var t={},r=0;r<e.length;r+=1){var n=e[r][0],a=e[r][1],o=void 0,o=1===a.length?a[0]:a;if(t.hasOwnProperty(n)&&!isNaN(t[n]))throw new Error("Object "+t+" already has key "+n);t[n]=o}return t}function ve(e,t,r){t=void 0!==t?t:0;var n=new Ho.Parser(e,t),a=[],o=[];r=void 0!==r?r:e.length;while(n.relativeOffset<r){var s=n.parseByte();s<=21?(12===s&&(s=1200+n.parseByte()),a.push([s,o]),o=[]):o.push(de(n,s))}return ge(a)}function me(e,t){return t=t<=390?Wo[t]:e[t-391]}function ye(e,t,r){for(var n={},a,o=0;o<t.length;o+=1){var s=t[o];if(Array.isArray(s.type)){var i=[];i.length=s.type.length;for(var u=0;u<s.type.length;u++)void 0===(a=void 0!==e[s.op]?e[s.op][u]:void 0)&&(a=void 0!==s.value&&void 0!==s.value[u]?s.value[u]:null),"SID"===s.type[u]&&(a=me(r,a)),i[u]=a;n[s.name]=i}else void 0===(a=e[s.op])&&(a=void 0!==s.value?s.value:null),"SID"===s.type&&(a=me(r,a)),n[s.name]=a}return n}function be(e,t){var r={};return r.formatMajor=Ho.getCard8(e,t),r.formatMinor=Ho.getCard8(e,t+1),r.size=Ho.getCard8(e,t+2),r.offsetSize=Ho.getCard8(e,t+3),r.startOffset=t,r.endOffset=t+4,r}function Se(e,t){var r;return ye(ve(e,0,e.byteLength),jo,t)}function xe(e,t,r,n){var a;return ye(ve(e,t,r),Zo,n)}function Te(e,t,r,n){for(var a=[],o=0;o<r.length;o+=1){var s,i=Se(new DataView(new Uint8Array(r[o]).buffer),n);i._subrs=[],i._subrsBias=0;var u=i.private[0],l=i.private[1],u,p,l;0!==u&&0!==l&&(u=xe(e,l+t,u,n),i._defaultWidthX=u.defaultWidthX,i._nominalWidthX=u.nominalWidthX,0!==u.subrs&&(l=pe(e,l+u.subrs+t),i._subrs=l.objects,i._subrsBias=le(i._subrs)),i._privateDict=u),a.push(i)}return a}function ke(e,t,r,n){var a,o,s=new Ho.Parser(e,t);--r;var i=[".notdef"],t=s.parseCard8();if(0===t)for(var u=0;u<r;u+=1)a=s.parseSID(),i.push(me(n,a));else if(1===t)while(i.length<=r){a=s.parseSID(),o=s.parseCard8();for(var l=0;l<=o;l+=1)i.push(me(n,a)),a+=1}else{if(2!==t)throw new Error("Unknown charset format "+t);while(i.length<=r){a=s.parseSID(),o=s.parseCard16();for(var p=0;p<=o;p+=1)i.push(me(n,a)),a+=1}}return i}function Ue(e,t,r){var n,a={},o=new Ho.Parser(e,t),t=o.parseCard8();if(0===t)for(var s=o.parseCard8(),i=0;i<s;i+=1)a[n=o.parseCard8()]=i;else{if(1!==t)throw new Error("Unknown encoding format "+t);for(var u=o.parseCard8(),n=1,l=0;l<u;l+=1)for(var p=o.parseCard8(),c=o.parseCard8(),h=p;h<=p+c;h+=1)a[h]=n,n+=1}return new Z(a,r)}function Oe(d,g,e){function v(e,t){w&&k.closePath(),k.moveTo(e,t),w=!0}function m(){var e,e;U.length%2==0||E||(M=U.shift()+I),O+=U.length>>1,U.length=0,E=!0}function y(e){var t,r,n,a,o,s,i,u,l,p,c,h,f=0;while(f<e.length){var a=e[f];switch(f+=1,a){case 1:m();break;case 3:m();break;case 4:1<U.length&&!E&&(M=U.shift()+I,E=!0),L+=U.pop(),v(R,L);break;case 5:while(0<U.length)R+=U.shift(),L+=U.shift(),k.lineTo(R,L);break;case 6:while(0<U.length){if(R+=U.shift(),k.lineTo(R,L),0===U.length)break;L+=U.shift(),k.lineTo(R,L)}break;case 7:while(0<U.length){if(L+=U.shift(),k.lineTo(R,L),0===U.length)break;R+=U.shift(),k.lineTo(R,L)}break;case 8:while(0<U.length)b=R+U.shift(),S=L+U.shift(),x=b+U.shift(),T=S+U.shift(),R=x+U.shift(),L=T+U.shift(),k.curveTo(b,S,x,T,R,L);break;case 10:o=U.pop()+D,(s=C[o])&&y(s);break;case 11:return;case 12:switch(a=e[f],f+=1,a){case 35:b=R+U.shift(),S=L+U.shift(),x=b+U.shift(),T=S+U.shift(),i=x+U.shift(),u=T+U.shift(),l=i+U.shift(),p=u+U.shift(),c=l+U.shift(),h=p+U.shift(),R=c+U.shift(),L=h+U.shift(),U.shift(),k.curveTo(b,S,x,T,i,u),k.curveTo(l,p,c,h,R,L);break;case 34:b=R+U.shift(),S=L,x=b+U.shift(),T=S+U.shift(),i=x+U.shift(),u=T,l=i+U.shift(),p=T,c=l+U.shift(),h=L,R=c+U.shift(),k.curveTo(b,S,x,T,i,u),k.curveTo(l,p,c,h,R,L);break;case 36:b=R+U.shift(),S=L+U.shift(),x=b+U.shift(),T=S+U.shift(),i=x+U.shift(),u=T,l=i+U.shift(),p=T,c=l+U.shift(),h=p+U.shift(),R=c+U.shift(),k.curveTo(b,S,x,T,i,u),k.curveTo(l,p,c,h,R,L);break;case 37:b=R+U.shift(),S=L+U.shift(),x=b+U.shift(),T=S+U.shift(),i=x+U.shift(),u=T+U.shift(),l=i+U.shift(),p=u+U.shift(),c=l+U.shift(),h=p+U.shift(),Math.abs(c-R)>Math.abs(h-L)?R=c+U.shift():L=h+U.shift(),k.curveTo(b,S,x,T,i,u),k.curveTo(l,p,c,h,R,L);break;default:console.log("Glyph "+g.index+": unknown operator "+1200+a),U.length=0}break;case 14:0<U.length&&!E&&(M=U.shift()+I,E=!0),w&&(k.closePath(),w=!1);break;case 18:m();break;case 19:case 20:m(),f+=O+7>>3;break;case 21:2<U.length&&!E&&(M=U.shift()+I,E=!0),L+=U.pop(),v(R+=U.pop(),L);break;case 22:1<U.length&&!E&&(M=U.shift()+I,E=!0),v(R+=U.pop(),L);break;case 23:m();break;case 24:while(2<U.length)b=R+U.shift(),S=L+U.shift(),x=b+U.shift(),T=S+U.shift(),R=x+U.shift(),L=T+U.shift(),k.curveTo(b,S,x,T,R,L);R+=U.shift(),L+=U.shift(),k.lineTo(R,L);break;case 25:while(6<U.length)R+=U.shift(),L+=U.shift(),k.lineTo(R,L);b=R+U.shift(),S=L+U.shift(),x=b+U.shift(),T=S+U.shift(),R=x+U.shift(),L=T+U.shift(),k.curveTo(b,S,x,T,R,L);break;case 26:U.length%2&&(R+=U.shift());while(0<U.length)b=R,S=L+U.shift(),x=b+U.shift(),T=S+U.shift(),R=x,L=T+U.shift(),k.curveTo(b,S,x,T,R,L);break;case 27:U.length%2&&(L+=U.shift());while(0<U.length)b=R+U.shift(),S=L,x=b+U.shift(),T=S+U.shift(),R=x+U.shift(),L=T,k.curveTo(b,S,x,T,R,L);break;case 28:t=e[f],r=e[f+1],U.push((t<<24|r<<16)>>16),f+=2;break;case 29:o=U.pop()+d.gsubrsBias,(s=d.gsubrs[o])&&y(s);break;case 30:while(0<U.length){if(b=R,S=L+U.shift(),x=b+U.shift(),T=S+U.shift(),R=x+U.shift(),L=T+(1===U.length?U.shift():0),k.curveTo(b,S,x,T,R,L),0===U.length)break;b=R+U.shift(),S=L,x=b+U.shift(),T=S+U.shift(),L=T+U.shift(),R=x+(1===U.length?U.shift():0),k.curveTo(b,S,x,T,R,L)}break;case 31:while(0<U.length){if(b=R+U.shift(),S=L,x=b+U.shift(),T=S+U.shift(),L=T+U.shift(),R=x+(1===U.length?U.shift():0),k.curveTo(b,S,x,T,R,L),0===U.length)break;b=R,S=L+U.shift(),x=b+U.shift(),T=S+U.shift(),R=x+U.shift(),L=T+(1===U.length?U.shift():0),k.curveTo(b,S,x,T,R,L)}break;default:a<32?console.log("Glyph "+g.index+": unknown operator "+a):a<247?U.push(a-139):a<251?(t=e[f],f+=1,U.push(256*(a-247)+t+108)):a<255?(t=e[f],f+=1,U.push(256*-(a-251)-t-108)):(t=e[f],r=e[f+1],n=e[f+2],a=e[f+3],f+=4,U.push((t<<24|r<<16|n<<8|a)/65536))}}}var b,S,x,T,k=new B,U=[],O=0,E=!1,w=!1,R=0,L=0,C,D,t,I,t,r,C,D,t,I;I=d.isCIDFont?(t=d.tables.cff.topDict._fdSelect[g.index],r=d.tables.cff.topDict._fdArray[t],C=r._subrs,D=r._subrsBias,t=r._defaultWidthX,r._nominalWidthX):(C=d.tables.cff.topDict._subrs,D=d.tables.cff.topDict._subrsBias,t=d.tables.cff.topDict._defaultWidthX,d.tables.cff.topDict._nominalWidthX);var M=t;return y(e),g.advanceWidth=M,k}function Ee(e,t,r,n){var a=[],o,s=new Ho.Parser(e,t),t=s.parseCard8();if(0===t)for(var i=0;i<r;i++){if(n<=(o=s.parseCard8()))throw new Error("CFF table CID Font FDSelect has bad FD index value "+o+" (FD count "+n+")");a.push(o)}else{if(3!==t)throw new Error("CFF Table CID Font FDSelect table has unsupported format "+t);var u=s.parseCard16(),l=s.parseCard16(),p;if(0!==l)throw new Error("CFF Table CID Font FDSelect format 3 range has bad initial GID "+l);for(var c=0;c<u;c++){if(o=s.parseCard8(),p=s.parseCard16(),n<=o)throw new Error("CFF table CID Font FDSelect has bad FD index value "+o+" (FD count "+n+")");if(r<p)throw new Error("CFF Table CID Font FDSelect format 3 range has bad GID "+p);for(;l<p;l++)a.push(o);l=p}if(p!==r)throw new Error("CFF Table CID Font FDSelect format 3 range has bad final GID "+p)}return a}function we(r,n,a,e){a.tables.cff={};var t=be(r,n),o=pe(r,t.endOffset,Ho.bytesToString),s=pe(r,o.endOffset),t=pe(r,s.endOffset,Ho.bytesToString),o=pe(r,t.endOffset);a.gsubrs=o.objects,a.gsubrsBias=le(a.gsubrs);var s=Te(r,n,s.objects,t.objects);if(1!==s.length)throw new Error("CFF table has too many fonts in 'FontSet' - count of fonts NameIndex.length = "+s.length);var i=s[0];if((a.tables.cff.topDict=i)._privateDict&&(a.defaultWidthX=i._privateDict.defaultWidthX,a.nominalWidthX=i._privateDict.nominalWidthX),void 0!==i.ros[0]&&void 0!==i.ros[1]&&(a.isCIDFont=!0),a.isCIDFont){var u=i.fdArray,l=i.fdSelect;if(0===u||0===l)throw new Error("Font is marked as a CID font, but FDArray and/or FDSelect information is missing");var u=pe(r,u+=n),u=Te(r,n,u.objects,t.objects);i._fdArray=u,l+=n,i._fdSelect=Ee(r,l,a.numGlyphs,u.length)}var l=n+i.private[1],u=xe(r,l,i.private[0],t.objects),u,u,p;a.defaultWidthX=u.defaultWidthX,a.nominalWidthX=u.nominalWidthX,0!==u.subrs?(u=l+u.subrs,u=pe(r,u),a.subrs=u.objects,a.subrsBias=le(a.subrs)):(a.subrs=[],a.subrsBias=0),e.lowMemory?(p=ce(r,n+i.charStrings),a.nGlyphs=p.offsets.length):(p=pe(r,n+i.charStrings),a.nGlyphs=p.objects.length);var t=ke(r,n+i.charset,a.nGlyphs,t.objects);if(0===i.encoding?a.cffEncoding=new Z(_o,t):1===i.encoding?a.cffEncoding=new Z(qo,t):a.cffEncoding=Ue(r,n+i.encoding,t),a.encoding=a.encoding||a.cffEncoding,a.glyphs=new Yo.GlyphSet(a),e.lowMemory)a._push=function(e){var t=he(e,p.offsets,r,n+i.charStrings);a.glyphs.push(e,Yo.cffGlyphLoader(a,e,Oe,t))};else for(var c=0;c<a.nGlyphs;c+=1){var h=p.objects[c];a.glyphs.push(c,Yo.cffGlyphLoader(a,c,Oe,h))}}function Re(e,t){var r,n=Wo.indexOf(e);return 0<=n&&(r=n),0<=(n=t.indexOf(e))?r=n+Wo.length:(r=Wo.length+t.length,t.push(e)),r}function Le(){return new Fo.Record("Header",[{name:"major",type:"Card8",value:1},{name:"minor",type:"Card8",value:0},{name:"hdrSize",type:"Card8",value:4},{name:"major",type:"Card8",value:1}])}function Ce(e){var t=new Fo.Record("Name INDEX",[{name:"names",type:"INDEX",value:[]}]);t.names=[];for(var r=0;r<e.length;r+=1)t.names.push({name:"name_"+r,type:"NAME",value:e[r]});return t}function De(e,t,r){for(var n={},a=0;a<e.length;a+=1){var o=e[a],s=t[o.name];void 0===s||ue(s,o.value)||("SID"===o.type&&(s=Re(s,r)),n[o.op]={name:o.name,type:o.type,value:s})}return n}function Ie(e,t){var r=new Fo.Record("Top DICT",[{name:"dict",type:"DICT",value:{}}]);return r.dict=De(jo,e,t),r}function Me(e){var t=new Fo.Record("Top DICT INDEX",[{name:"topDicts",type:"INDEX",value:[]}]);return t.topDicts=[{name:"topDict_0",type:"TABLE",value:e}],t}function Be(e){var t=new Fo.Record("String INDEX",[{name:"strings",type:"INDEX",value:[]}]);t.strings=[];for(var r=0;r<e.length;r+=1)t.strings.push({name:"string_"+r,type:"STRING",value:e[r]});return t}function Ge(){return new Fo.Record("Global Subr INDEX",[{name:"subrs",type:"INDEX",value:[]}])}function Ae(e,t){for(var r=new Fo.Record("Charsets",[{name:"format",type:"Card8",value:0}]),n=0;n<e.length;n+=1){var a,o=Re(e[n],t);r.fields.push({name:"glyph_"+n,type:"SID",value:o})}return r}function Fe(e){var t=[],r=e.path;t.push({name:"width",type:"NUMBER",value:e.advanceWidth});for(var n=0,a=0,o=0;o<r.commands.length;o+=1){var s=void 0,i=void 0,u=r.commands[o],l,p,u,c,h,l,p,s,i;"Q"===u.type&&(l=1/3,p=2/3,u={type:"C",x:u.x,y:u.y,x1:l*n+p*u.x1,y1:l*a+p*u.y1,x2:l*u.x+p*u.x1,y2:l*u.y+p*u.y1}),"M"===u.type?(s=Math.round(u.x-n),i=Math.round(u.y-a),t.push({name:"dx",type:"NUMBER",value:s}),t.push({name:"dy",type:"NUMBER",value:i}),t.push({name:"rmoveto",type:"OP",value:21}),n=Math.round(u.x),a=Math.round(u.y)):"L"===u.type?(s=Math.round(u.x-n),i=Math.round(u.y-a),t.push({name:"dx",type:"NUMBER",value:s}),t.push({name:"dy",type:"NUMBER",value:i}),t.push({name:"rlineto",type:"OP",value:5}),n=Math.round(u.x),a=Math.round(u.y)):"C"===u.type&&(c=Math.round(u.x1-n),h=Math.round(u.y1-a),l=Math.round(u.x2-u.x1),p=Math.round(u.y2-u.y1),s=Math.round(u.x-u.x2),i=Math.round(u.y-u.y2),t.push({name:"dx1",type:"NUMBER",value:c}),t.push({name:"dy1",type:"NUMBER",value:h}),t.push({name:"dx2",type:"NUMBER",value:l}),t.push({name:"dy2",type:"NUMBER",value:p}),t.push({name:"dx",type:"NUMBER",value:s}),t.push({name:"dy",type:"NUMBER",value:i}),t.push({name:"rrcurveto",type:"OP",value:8}),n=Math.round(u.x),a=Math.round(u.y))}return t.push({name:"endchar",type:"OP",value:14}),t}function Ne(e){for(var t=new Fo.Record("CharStrings INDEX",[{name:"charStrings",type:"INDEX",value:[]}]),r=0;r<e.length;r+=1){var n=e.get(r),a=Fe(n);t.charStrings.push({name:n.name,type:"CHARSTRING",value:a})}return t}function Pe(e,t){var r=new Fo.Record("Private DICT",[{name:"dict",type:"DICT",value:{}}]);return r.dict=De(Zo,e,t),r}function He(e,t){for(var r=new Fo.Table("CFF ",[{name:"header",type:"RECORD"},{name:"nameIndex",type:"RECORD"},{name:"topDictIndex",type:"RECORD"},{name:"stringIndex",type:"RECORD"},{name:"globalSubrIndex",type:"RECORD"},{name:"charsets",type:"RECORD"},{name:"charStringsIndex",type:"RECORD"},{name:"privateDict",type:"RECORD"}]),n=1/t.unitsPerEm,a={version:t.version,fullName:t.fullName,familyName:t.familyName,weight:t.weightName,fontBBox:t.fontBBox||[0,0,0,0],fontMatrix:[n,0,0,n,0,0],charset:999,encoding:0,charStrings:999,private:[0,999]},o={},s=[],i,u=1;u<e.length;u+=1)i=e.get(u),s.push(i.name);var n=[];r.header=Le(),r.nameIndex=Ce([t.postScriptName]);var t=Ie(a,n);r.topDictIndex=Me(t),r.globalSubrIndex=Ge(),r.charsets=Ae(s,n),r.charStringsIndex=Ne(e),r.privateDict=Pe(o,n),r.stringIndex=Be(n);var o=r.header.sizeOf()+r.nameIndex.sizeOf()+r.topDictIndex.sizeOf()+r.stringIndex.sizeOf()+r.globalSubrIndex.sizeOf();return a.charset=o,a.encoding=0,a.charStrings=a.charset+r.charsets.sizeOf(),a.private[1]=a.charStrings+r.charStringsIndex.sizeOf(),t=Ie(a,n),r.topDictIndex=Me(t),r}function ze(e,t){var r={},t=new Ho.Parser(e,t);return r.version=t.parseVersion(),r.fontRevision=Math.round(1e3*t.parseFixed())/1e3,r.checkSumAdjustment=t.parseULong(),r.magicNumber=t.parseULong(),Eo.argument(1594834165===r.magicNumber,"Font header has wrong magic number."),r.flags=t.parseUShort(),r.unitsPerEm=t.parseUShort(),r.created=t.parseLongDateTime(),r.modified=t.parseLongDateTime(),r.xMin=t.parseShort(),r.yMin=t.parseShort(),r.xMax=t.parseShort(),r.yMax=t.parseShort(),r.macStyle=t.parseUShort(),r.lowestRecPPEM=t.parseUShort(),r.fontDirectionHint=t.parseShort(),r.indexToLocFormat=t.parseShort(),r.glyphDataFormat=t.parseShort(),r}function We(e){var t=Math.round((new Date).getTime()/1e3)+2082844800,r=t;return e.createdTimestamp&&(r=e.createdTimestamp+2082844800),new Fo.Table("head",[{name:"version",type:"FIXED",value:65536},{name:"fontRevision",type:"FIXED",value:65536},{name:"checkSumAdjustment",type:"ULONG",value:0},{name:"magicNumber",type:"ULONG",value:1594834165},{name:"flags",type:"USHORT",value:0},{name:"unitsPerEm",type:"USHORT",value:1e3},{name:"created",type:"LONGDATETIME",value:r},{name:"modified",type:"LONGDATETIME",value:t},{name:"xMin",type:"SHORT",value:0},{name:"yMin",type:"SHORT",value:0},{name:"xMax",type:"SHORT",value:0},{name:"yMax",type:"SHORT",value:0},{name:"macStyle",type:"USHORT",value:0},{name:"lowestRecPPEM",type:"USHORT",value:0},{name:"fontDirectionHint",type:"SHORT",value:2},{name:"indexToLocFormat",type:"SHORT",value:0},{name:"glyphDataFormat",type:"SHORT",value:0}],e)}function _e(e,t){var r={},t=new Ho.Parser(e,t);return r.version=t.parseVersion(),r.ascender=t.parseShort(),r.descender=t.parseShort(),r.lineGap=t.parseShort(),r.advanceWidthMax=t.parseUShort(),r.minLeftSideBearing=t.parseShort(),r.minRightSideBearing=t.parseShort(),r.xMaxExtent=t.parseShort(),r.caretSlopeRise=t.parseShort(),r.caretSlopeRun=t.parseShort(),r.caretOffset=t.parseShort(),t.relativeOffset+=8,r.metricDataFormat=t.parseShort(),r.numberOfHMetrics=t.parseUShort(),r}function qe(e){return new Fo.Table("hhea",[{name:"version",type:"FIXED",value:65536},{name:"ascender",type:"FWORD",value:0},{name:"descender",type:"FWORD",value:0},{name:"lineGap",type:"FWORD",value:0},{name:"advanceWidthMax",type:"UFWORD",value:0},{name:"minLeftSideBearing",type:"FWORD",value:0},{name:"minRightSideBearing",type:"FWORD",value:0},{name:"xMaxExtent",type:"FWORD",value:0},{name:"caretSlopeRise",type:"SHORT",value:1},{name:"caretSlopeRun",type:"SHORT",value:0},{name:"caretOffset",type:"SHORT",value:0},{name:"reserved1",type:"SHORT",value:0},{name:"reserved2",type:"SHORT",value:0},{name:"reserved3",type:"SHORT",value:0},{name:"reserved4",type:"SHORT",value:0},{name:"metricDataFormat",type:"SHORT",value:0},{name:"numberOfHMetrics",type:"USHORT",value:0}],e)}function Xe(e,t,r,n,a){for(var o,s,i=new Ho.Parser(e,t),u=0;u<n;u+=1){u<r&&(o=i.parseUShort(),s=i.parseShort());var l=a.get(u);l.advanceWidth=o,l.leftSideBearing=s}}function Ve(e,t,r,n,a){var o,s;e._hmtxTableData={};for(var i=new Ho.Parser(t,r),u=0;u<a;u+=1)u<n&&(o=i.parseUShort(),s=i.parseShort()),e._hmtxTableData[u]={advanceWidth:o,leftSideBearing:s}}function Ye(e,t,r,n,a,o,s){s.lowMemory?Ve(e,t,r,n,a):Xe(t,r,n,a,o)}function je(e){for(var t=new Fo.Table("hmtx",[]),r=0;r<e.length;r+=1){var n=e.get(r),a=n.advanceWidth||0,n=n.leftSideBearing||0;t.fields.push({name:"advanceWidth_"+r,type:"USHORT",value:a}),t.fields.push({name:"leftSideBearing_"+r,type:"SHORT",value:n})}return t}function Ze(e){for(var t=new Fo.Table("ltag",[{name:"version",type:"ULONG",value:1},{name:"flags",type:"ULONG",value:0},{name:"numTags",type:"ULONG",value:e.length}]),r="",n=12+4*e.length,a=0;a<e.length;++a){var o=r.indexOf(e[a]);o<0&&(o=r.length,r+=e[a]),t.fields.push({name:"offset "+a,type:"USHORT",value:n+o}),t.fields.push({name:"length "+a,type:"USHORT",value:e[a].length})}return t.fields.push({name:"stringPool",type:"CHARARRAY",value:r}),t}function Qe(e,t){var r=new Ho.Parser(e,t),n=r.parseULong();Eo.argument(1===n,"Unsupported ltag table version."),r.skip("uLong",1);for(var a=r.parseULong(),o=[],s=0;s<a;s++){for(var i="",u=t+r.parseUShort(),l=r.parseUShort(),p=u;p<u+l;++p)i+=String.fromCharCode(e.getInt8(p));o.push(i)}return o}function Ke(e,t){var r={},t=new Ho.Parser(e,t);return r.version=t.parseVersion(),r.numGlyphs=t.parseUShort(),1===r.version&&(r.maxPoints=t.parseUShort(),r.maxContours=t.parseUShort(),r.maxCompositePoints=t.parseUShort(),r.maxCompositeContours=t.parseUShort(),r.maxZones=t.parseUShort(),r.maxTwilightPoints=t.parseUShort(),r.maxStorage=t.parseUShort(),r.maxFunctionDefs=t.parseUShort(),r.maxInstructionDefs=t.parseUShort(),r.maxStackElements=t.parseUShort(),r.maxSizeOfInstructions=t.parseUShort(),r.maxComponentElements=t.parseUShort(),r.maxComponentDepth=t.parseUShort()),r}function Je(e){return new Fo.Table("maxp",[{name:"version",type:"FIXED",value:20480},{name:"numGlyphs",type:"USHORT",value:e}])}function $e(e,t,r){switch(e){case 0:if(65535===t)return"und";if(r)return r[t];break;case 1:return ns[t];case 3:return os[t]}return}function et(e,t,r){switch(e){case 0:return ss;case 1:return us[r]||is[t];case 3:if(1===t||10===t)return ss;break}return}function tt(e,t,r){for(var n={},a=new Ho.Parser(e,t),t=a.parseUShort(),o=a.parseUShort(),s=a.offset+a.parseUShort(),i=0;i<o;i++){var u=a.parseUShort(),l=a.parseUShort(),p=a.parseUShort(),c=a.parseUShort(),h=rs[c]||c,f=a.parseUShort(),d=a.parseUShort(),c=$e(u,p,r),l=et(u,l,p),p,l,p;void 0!==l&&void 0!==c&&(p=void 0,(p=l===ss?Lo.UTF16(e,s+d,f):Lo.MACSTRING(e,s+d,f,l))&&(void 0===(l=n[h])&&(l=n[h]={}),l[c]=p))}var g=0;return 1===t&&(g=a.parseUShort()),n}function rt(e){var t={},r;for(r in e)t[e[r]]=parseInt(r);return t}function nt(e,t,r,n,a,o){return new Fo.Record("NameRecord",[{name:"platformID",type:"USHORT",value:e},{name:"encodingID",type:"USHORT",value:t},{name:"languageID",type:"USHORT",value:r},{name:"nameID",type:"USHORT",value:n},{name:"length",type:"USHORT",value:a},{name:"offset",type:"USHORT",value:o}])}function at(e,t){var r=e.length,n=t.length-r+1;e:for(var a=0;a<n;a++)for(;a<n;a++){for(var o=0;o<r;o++)if(t[a+o]!==e[o])continue e;return a}return-1}function ot(e,t){var r=at(e,t);if(r<0){r=t.length;for(var n=0,a=e.length;n<a;++n)t.push(e[n])}return r}function st(e,t){var r,n=[],a={},o=rt(rs),s;for(s in e){var i=o[s];if(void 0===i&&(i=s),r=parseInt(i),isNaN(r))throw new Error('Name table entry "'+s+'" does not exist, see nameTableNames for complete list.');a[r]=e[s],n.push(r)}for(var u=rt(ns),l=rt(os),p=[],c=[],h=0;h<n.length;h++){var f=a[r=n[h]],d;for(d in f){var g=f[d],v=1,m=u[d],y=as[m],b=et(v,y,m),S=Co.MACSTRING(g,b);void 0===S&&(v=0,(m=t.indexOf(d))<0&&(m=t.length,t.push(d)),y=4,S=Co.UTF16(g));var b=ot(S,c);p.push(nt(v,y,m,r,S.length,b));var S=l[d],b,g;void 0!==S&&(g=ot(b=Co.UTF16(g),c),p.push(nt(3,1,S,r,b.length,g)))}}p.sort(function(e,t){return e.platformID-t.platformID||e.encodingID-t.encodingID||e.languageID-t.languageID||e.nameID-t.nameID});for(var x=new Fo.Table("name",[{name:"format",type:"USHORT",value:0},{name:"count",type:"USHORT",value:p.length},{name:"stringOffset",type:"USHORT",value:6+12*p.length}]),T=0;T<p.length;T++)x.fields.push({name:"record_"+T,type:"RECORD",value:p[T]});return x.fields.push({name:"strings",type:"LITERAL",value:c}),x}function it(e){for(var t=0;t<ps.length;t+=1){var r=ps[t];if(e>=r.begin&&e<r.end)return t}return-1}function ut(e,t){var r={},n=new Ho.Parser(e,t);r.version=n.parseUShort(),r.xAvgCharWidth=n.parseShort(),r.usWeightClass=n.parseUShort(),r.usWidthClass=n.parseUShort(),r.fsType=n.parseUShort(),r.ySubscriptXSize=n.parseShort(),r.ySubscriptYSize=n.parseShort(),r.ySubscriptXOffset=n.parseShort(),r.ySubscriptYOffset=n.parseShort(),r.ySuperscriptXSize=n.parseShort(),r.ySuperscriptYSize=n.parseShort(),r.ySuperscriptXOffset=n.parseShort(),r.ySuperscriptYOffset=n.parseShort(),r.yStrikeoutSize=n.parseShort(),r.yStrikeoutPosition=n.parseShort(),r.sFamilyClass=n.parseShort(),r.panose=[];for(var a=0;a<10;a++)r.panose[a]=n.parseByte();return r.ulUnicodeRange1=n.parseULong(),r.ulUnicodeRange2=n.parseULong(),r.ulUnicodeRange3=n.parseULong(),r.ulUnicodeRange4=n.parseULong(),r.achVendID=String.fromCharCode(n.parseByte(),n.parseByte(),n.parseByte(),n.parseByte()),r.fsSelection=n.parseUShort(),r.usFirstCharIndex=n.parseUShort(),r.usLastCharIndex=n.parseUShort(),r.sTypoAscender=n.parseShort(),r.sTypoDescender=n.parseShort(),r.sTypoLineGap=n.parseShort(),r.usWinAscent=n.parseUShort(),r.usWinDescent=n.parseUShort(),1<=r.version&&(r.ulCodePageRange1=n.parseULong(),r.ulCodePageRange2=n.parseULong()),2<=r.version&&(r.sxHeight=n.parseShort(),r.sCapHeight=n.parseShort(),r.usDefaultChar=n.parseUShort(),r.usBreakChar=n.parseUShort(),r.usMaxContent=n.parseUShort()),r}function lt(e){return new Fo.Table("OS/2",[{name:"version",type:"USHORT",value:3},{name:"xAvgCharWidth",type:"SHORT",value:0},{name:"usWeightClass",type:"USHORT",value:0},{name:"usWidthClass",type:"USHORT",value:0},{name:"fsType",type:"USHORT",value:0},{name:"ySubscriptXSize",type:"SHORT",value:650},{name:"ySubscriptYSize",type:"SHORT",value:699},{name:"ySubscriptXOffset",type:"SHORT",value:0},{name:"ySubscriptYOffset",type:"SHORT",value:140},{name:"ySuperscriptXSize",type:"SHORT",value:650},{name:"ySuperscriptYSize",type:"SHORT",value:699},{name:"ySuperscriptXOffset",type:"SHORT",value:0},{name:"ySuperscriptYOffset",type:"SHORT",value:479},{name:"yStrikeoutSize",type:"SHORT",value:49},{name:"yStrikeoutPosition",type:"SHORT",value:258},{name:"sFamilyClass",type:"SHORT",value:0},{name:"bFamilyType",type:"BYTE",value:0},{name:"bSerifStyle",type:"BYTE",value:0},{name:"bWeight",type:"BYTE",value:0},{name:"bProportion",type:"BYTE",value:0},{name:"bContrast",type:"BYTE",value:0},{name:"bStrokeVariation",type:"BYTE",value:0},{name:"bArmStyle",type:"BYTE",value:0},{name:"bLetterform",type:"BYTE",value:0},{name:"bMidline",type:"BYTE",value:0},{name:"bXHeight",type:"BYTE",value:0},{name:"ulUnicodeRange1",type:"ULONG",value:0},{name:"ulUnicodeRange2",type:"ULONG",value:0},{name:"ulUnicodeRange3",type:"ULONG",value:0},{name:"ulUnicodeRange4",type:"ULONG",value:0},{name:"achVendID",type:"CHARARRAY",value:"XXXX"},{name:"fsSelection",type:"USHORT",value:0},{name:"usFirstCharIndex",type:"USHORT",value:0},{name:"usLastCharIndex",type:"USHORT",value:0},{name:"sTypoAscender",type:"SHORT",value:0},{name:"sTypoDescender",type:"SHORT",value:0},{name:"sTypoLineGap",type:"SHORT",value:0},{name:"usWinAscent",type:"USHORT",value:0},{name:"usWinDescent",type:"USHORT",value:0},{name:"ulCodePageRange1",type:"ULONG",value:0},{name:"ulCodePageRange2",type:"ULONG",value:0},{name:"sxHeight",type:"SHORT",value:0},{name:"sCapHeight",type:"SHORT",value:0},{name:"usDefaultChar",type:"USHORT",value:0},{name:"usBreakChar",type:"USHORT",value:0},{name:"usMaxContext",type:"USHORT",value:0}],e)}function pt(e,t){var r={},n=new Ho.Parser(e,t);switch(r.version=n.parseVersion(),r.italicAngle=n.parseFixed(),r.underlinePosition=n.parseShort(),r.underlineThickness=n.parseShort(),r.isFixedPitch=n.parseULong(),r.minMemType42=n.parseULong(),r.maxMemType42=n.parseULong(),r.minMemType1=n.parseULong(),r.maxMemType1=n.parseULong(),r.version){case 1:r.names=Xo.slice();break;case 2:r.numberOfGlyphs=n.parseUShort(),r.glyphNameIndex=new Array(r.numberOfGlyphs);for(var a=0;a<r.numberOfGlyphs;a++)r.glyphNameIndex[a]=n.parseUShort();r.names=[];for(var o=0,s;o<r.numberOfGlyphs;o++){r.glyphNameIndex[o]>=Xo.length&&(s=n.parseChar(),r.names.push(n.parseString(s)))}break;case 2.5:r.numberOfGlyphs=n.parseUShort(),r.offset=new Array(r.numberOfGlyphs);for(var i=0;i<r.numberOfGlyphs;i++)r.offset[i]=n.parseChar();break}return r}function ct(){return new Fo.Table("post",[{name:"version",type:"FIXED",value:196608},{name:"italicAngle",type:"FIXED",value:0},{name:"underlinePosition",type:"FWORD",value:0},{name:"underlineThickness",type:"FWORD",value:0},{name:"isFixedPitch",type:"ULONG",value:0},{name:"minMemType42",type:"ULONG",value:0},{name:"maxMemType42",type:"ULONG",value:0},{name:"minMemType1",type:"ULONG",value:0},{name:"maxMemType1",type:"ULONG",value:0}])}function ht(e,t){var e=new H(e,t=t||0),t=e.parseVersion(1);return Eo.argument(1===t||1.1===t,"Unsupported GSUB table version."),1===t?{version:t,scripts:e.parseScriptList(),features:e.parseFeatureList(),lookups:e.parseLookupList(fs)}:{version:t,scripts:e.parseScriptList(),features:e.parseFeatureList(),lookups:e.parseLookupList(fs),variations:e.parseFeatureVariationsList()}}function ft(e){return new Fo.Table("GSUB",[{name:"version",type:"ULONG",value:65536},{name:"scripts",type:"TABLE",value:new Fo.ScriptList(e.scripts)},{name:"features",type:"TABLE",value:new Fo.FeatureList(e.features)},{name:"lookups",type:"TABLE",value:new Fo.LookupList(e.lookups,gs)}])}function dt(e,t){var r=new Ho.Parser(e,t),n=r.parseULong();Eo.argument(1===n,"Unsupported META table version."),r.parseULong(),r.parseULong();for(var a=r.parseULong(),o={},s=0;s<a;s++){var i=r.parseTag(),u=r.parseULong(),l=r.parseULong(),l=Lo.UTF8(e,t+u,l);o[i]=l}return o}function gt(e){var t=Object.keys(e).length,r="",n=16+12*t,a=new Fo.Table("meta",[{name:"version",type:"ULONG",value:1},{name:"flags",type:"ULONG",value:0},{name:"offset",type:"ULONG",value:n},{name:"numTags",type:"ULONG",value:t}]),o;for(o in e){var s=r.length;r+=e[o],a.fields.push({name:"tag "+o,type:"TAG",value:o}),a.fields.push({name:"offset "+o,type:"ULONG",value:n+s}),a.fields.push({name:"length "+o,type:"ULONG",value:e[o].length})}return a.fields.push({name:"stringPool",type:"CHARARRAY",value:r}),a}function vt(e){return Math.log(e)/Math.log(2)|0}function mt(e){while(e.length%4!=0)e.push(0);for(var t=0,r=0;r<e.length;r+=4)t+=(e[r]<<24)+(e[r+1]<<16)+(e[r+2]<<8)+e[r+3];return t%=Math.pow(2,32)}function yt(e,t,r,n){return new Fo.Record("Table Record",[{name:"tag",type:"TAG",value:void 0!==e?e:""},{name:"checkSum",type:"ULONG",value:void 0!==t?t:0},{name:"offset",type:"ULONG",value:void 0!==r?r:0},{name:"length",type:"ULONG",value:void 0!==n?n:0}])}function bt(e){var t=new Fo.Table("sfnt",[{name:"version",type:"TAG",value:"OTTO"},{name:"numTables",type:"USHORT",value:0},{name:"searchRange",type:"USHORT",value:0},{name:"entrySelector",type:"USHORT",value:0},{name:"rangeShift",type:"USHORT",value:0}]);t.tables=e,t.numTables=e.length;var r=Math.pow(2,vt(t.numTables));t.searchRange=16*r,t.entrySelector=vt(r),t.rangeShift=16*t.numTables-t.searchRange;var n=[],a=[],o=t.sizeOf()+yt().sizeOf()*t.numTables;while(o%4!=0)o+=1,a.push({name:"padding",type:"BYTE",value:0});for(var s=0;s<e.length;s+=1){var i=e[s];Eo.argument(4===i.tableName.length,"Table name"+i.tableName+" is invalid.");var u=i.sizeOf(),l=yt(i.tableName,mt(i.encode()),o,u);n.push({name:l.tag+" Table Record",type:"RECORD",value:l}),a.push({name:i.tableName+" table",type:"RECORD",value:i}),o+=u,Eo.argument(!isNaN(o),"Something went wrong calculating the offset.");while(o%4!=0)o+=1,a.push({name:"padding",type:"BYTE",value:0})}return n.sort(function(e,t){return e.value.tag>t.value.tag?1:-1}),t.fields=t.fields.concat(n),t.fields=t.fields.concat(a),t}function St(e,t,r){for(var n=0;n<t.length;n+=1){var a=e.charToGlyphIndex(t[n]),o;if(0<a)return e.glyphs.get(a).getMetrics()}return r}function xt(e){for(var t=0,r=0;r<e.length;r+=1)t+=e[r];return t/e.length}function Tt(e){for(var t=[],r=[],n=[],a=[],o=[],s=[],i=[],u,l=0,p=0,c=0,h=0,f=0,d=0;d<e.glyphs.length;d+=1){var g=e.glyphs.get(d),v=0|g.unicode;if(isNaN(g.advanceWidth))throw new Error("Glyph "+g.name+" ("+d+"): advanceWidth is not a number.");(v<u||void 0===u)&&0<v&&(u=v),l<v&&(l=v);var v=cs.getUnicodeRange(v);if(v<32)p|=1<<v;else if(v<64)c|=1<<v-32;else if(v<96)h|=1<<v-64;else{if(!(v<123))throw new Error("Unicode ranges bits > 123 are reserved for internal usage");f|=1<<v-96}if(".notdef"===g.name)continue;var v=g.getMetrics();t.push(v.xMin),r.push(v.yMin),n.push(v.xMax),a.push(v.yMax),s.push(v.leftSideBearing),i.push(v.rightSideBearing),o.push(g.advanceWidth)}var m={xMin:Math.min.apply(null,t),yMin:Math.min.apply(null,r),xMax:Math.max.apply(null,n),yMax:Math.max.apply(null,a),advanceWidthMax:Math.max.apply(null,o),advanceWidthAvg:xt(o),minLeftSideBearing:Math.min.apply(null,s),maxLeftSideBearing:Math.max.apply(null,s),minRightSideBearing:Math.min.apply(null,i)};m.ascender=e.ascender,m.descender=e.descender;var y=Ko.make({flags:3,unitsPerEm:e.unitsPerEm,xMin:m.xMin,yMin:m.yMin,xMax:m.xMax,yMax:m.yMax,lowestRecPPEM:3,createdTimestamp:e.createdTimestamp}),b=Jo.make({ascender:m.ascender,descender:m.descender,advanceWidthMax:m.advanceWidthMax,minLeftSideBearing:m.minLeftSideBearing,minRightSideBearing:m.minRightSideBearing,xMaxExtent:m.maxLeftSideBearing+(m.xMax-m.xMin),numberOfHMetrics:e.glyphs.length}),S=ts.make(e.glyphs.length),x=cs.make({xAvgCharWidth:Math.round(m.advanceWidthAvg),usWeightClass:e.tables.os2.usWeightClass,usWidthClass:e.tables.os2.usWidthClass,usFirstCharIndex:u,usLastCharIndex:l,ulUnicodeRange1:p,ulUnicodeRange2:c,ulUnicodeRange3:h,ulUnicodeRange4:f,fsSelection:e.tables.os2.fsSelection,sTypoAscender:m.ascender,sTypoDescender:m.descender,sTypoLineGap:0,usWinAscent:m.yMax,usWinDescent:Math.abs(m.yMin),ulCodePageRange1:1,sxHeight:St(e,"xyvw",{yMax:Math.round(m.ascender/2)}).yMax,sCapHeight:St(e,"HIKLEFJMNTZBDPRAGOQSUVWXY",m).yMax,usDefaultChar:e.hasChar(" ")?32:0,usBreakChar:e.hasChar(" ")?32:0}),T=$o.make(e.glyphs),k=zo.make(e.glyphs),U=e.getEnglishName("fontFamily"),O=e.getEnglishName("fontSubfamily"),E=U+" "+O,w,w=(w=e.getEnglishName("postScriptName"))||U.replace(/\s/g,"")+"-"+O,R={},L;for(L in e.names)R[L]=e.names[L];R.uniqueID||(R.uniqueID={en:e.getEnglishName("manufacturer")+":"+E}),R.postScriptName||(R.postScriptName={en:w}),R.preferredFamily||(R.preferredFamily=e.names.fontFamily),R.preferredSubfamily||(R.preferredSubfamily=e.names.fontSubfamily);var C=[],D=ls.make(R,C),I=0<C.length?es.make(C):void 0,C=hs.make(),w=Qo.make(e.glyphs,{version:e.getEnglishName("version"),fullName:E,familyName:U,weightName:O,postScriptName:w,unitsPerEm:e.unitsPerEm,fontBBox:[0,m.yMin,m.ascender,m.advanceWidthMax]}),m=e.metas&&0<Object.keys(e.metas).length?ms.make(e.metas):void 0,T=[y,b,S,x,D,k,C,w,T];I&&T.push(I),e.tables.gsub&&T.push(vs.make(e.tables.gsub)),m&&T.push(m);for(var T=bt(T),M,B=mt(T.encode()),G=T.fields,A=!1,F=0;F<G.length;F+=1)if("head table"===G[F].name){G[F].value.checkSumAdjustment=2981146554-B,A=!0;break}if(!A)throw new Error("Could not find head table with checkSum to adjust.");return T}function kt(e,t){var r=0,n=e.length-1;while(r<=n){var a=r+n>>>1,o=e[a].tag;if(o===t)return a;o<t?r=a+1:n=a-1}return-r-1}function Ut(e,t){var r=0,n=e.length-1;while(r<=n){var a=r+n>>>1,o=e[a];if(o===t)return a;o<t?r=a+1:n=a-1}return-r-1}function Ot(e,t){var r,n=0,a=e.length-1;while(n<=a){var o=n+a>>>1,r,s=(r=e[o]).start;if(s===t)return r;s<t?n=o+1:a=o-1}if(0<n){if(t>(r=e[n-1]).end)return 0;return r}}function Et(e,t){this.font=e,this.tableName=t}function wt(e){Et.call(this,e,"gpos")}function Rt(e){Et.call(this,e,"gsub")}function Lt(e,t){var r=e.length;if(r!==t.length)return 0;for(var n=0;n<r;n++)if(e[n]!==t[n])return 0;return 1}function Ct(e,t,r){for(var n=e.subtables,a=0;a<n.length;a++){var o=n[a];if(o.substFormat===t)return o}if(r)return n.push(r),r;return}function Dt(){return"undefined"!=typeof window}function It(e){for(var t=new ArrayBuffer(e.length),r=new Uint8Array(t),n=0;n<e.length;++n)r[n]=e[n];return t}function Mt(e){for(var t=new Buffer(e.byteLength),r=new Uint8Array(e),n=0;n<t.length;++n)t[n]=r[n];return t}function Bt(e,t){if(!e)throw t}function Gt(e,t,r,n,a){var o,o=0<(t&n)?(o=e.parseByte(),0==(t&a)&&(o=-o),r+o):0<(t&a)?r:r+e.parseShort();return o}function At(e,t,r){var n=new Ho.Parser(t,r),a,o;if(e.numberOfContours=n.parseShort(),e._xMin=n.parseShort(),e._yMin=n.parseShort(),e._xMax=n.parseShort(),e._yMax=n.parseShort(),0<e.numberOfContours){for(var s=e.endPointIndices=[],i=0;i<e.numberOfContours;i+=1)s.push(n.parseUShort());e.instructionLength=n.parseUShort(),e.instructions=[];for(var u=0;u<e.instructionLength;u+=1)e.instructions.push(n.parseByte());for(var l=s[s.length-1]+1,a=[],p=0;p<l;p+=1)if(o=n.parseByte(),a.push(o),0<(8&o))for(var c=n.parseByte(),h=0;h<c;h+=1)a.push(o),p+=1;if(Eo.argument(a.length===l,"Bad flags."),0<s.length){var f=[],d;if(0<l){for(var g=0;g<l;g+=1)o=a[g],(d={}).onCurve=!!(1&o),d.lastPointOfContour=0<=s.indexOf(g),f.push(d);for(var v=0,m=0;m<l;m+=1)o=a[m],(d=f[m]).x=Gt(n,o,v,2,16),v=d.x;for(var y=0,b=0;b<l;b+=1)o=a[b],(d=f[b]).y=Gt(n,o,y,4,32),y=d.y}e.points=f}else e.points=[]}else if(0===e.numberOfContours)e.points=[];else{e.isComposite=!0,e.points=[];var S=!(e.components=[]);while(S){a=n.parseUShort();var x={glyphIndex:n.parseUShort(),xScale:1,scale01:0,scale10:0,yScale:1,dx:0,dy:0};0<(1&a)?0<(2&a)?(x.dx=n.parseShort(),x.dy=n.parseShort()):x.matchedPoints=[n.parseUShort(),n.parseUShort()]:0<(2&a)?(x.dx=n.parseChar(),x.dy=n.parseChar()):x.matchedPoints=[n.parseByte(),n.parseByte()],0<(8&a)?x.xScale=x.yScale=n.parseF2Dot14():0<(64&a)?(x.xScale=n.parseF2Dot14(),x.yScale=n.parseF2Dot14()):0<(128&a)&&(x.xScale=n.parseF2Dot14(),x.scale01=n.parseF2Dot14(),x.scale10=n.parseF2Dot14(),x.yScale=n.parseF2Dot14()),e.components.push(x),S=!!(32&a)}if(256&a){e.instructionLength=n.parseUShort(),e.instructions=[];for(var T=0;T<e.instructionLength;T+=1)e.instructions.push(n.parseByte())}}}function Ft(e,t){for(var r=[],n=0;n<e.length;n+=1){var a=e[n],a={x:t.xScale*a.x+t.scale01*a.y+t.dx,y:t.scale10*a.x+t.yScale*a.y+t.dy,onCurve:a.onCurve,lastPointOfContour:a.lastPointOfContour};r.push(a)}return r}function Nt(e){for(var t=[],r=[],n=0;n<e.length;n+=1){var a=e[n];r.push(a),a.lastPointOfContour&&(t.push(r),r=[])}return Eo.argument(0===r.length,"There are still points left in the current contour."),t}function Pt(e){var t=new B;if(!e)return t;for(var r=Nt(e),n=0;n<r.length;++n){var a=r[n],o=null,s=a[a.length-1],i=a[0],u;s.onCurve?t.moveTo(s.x,s.y):i.onCurve?t.moveTo(i.x,i.y):(u={x:.5*(s.x+i.x),y:.5*(s.y+i.y)},t.moveTo(u.x,u.y));for(var l=0;l<a.length;++l){var p,c,o=s,s=i,i=a[(l+1)%a.length];s.onCurve?t.lineTo(s.x,s.y):(c=i,(p=o).onCurve||(p={x:.5*(s.x+o.x),y:.5*(s.y+o.y)}),i.onCurve||(c={x:.5*(s.x+i.x),y:.5*(s.y+i.y)}),t.quadraticCurveTo(s.x,s.y,c.x,c.y))}t.closePath()}return t}function Ht(e,t){if(t.isComposite)for(var r=0;r<t.components.length;r+=1){var n=t.components[r],a=e.get(n.glyphIndex);if(a.getPath(),a.points){var o=void 0;if(void 0===n.matchedPoints)o=Ft(a.points,n);else{if(n.matchedPoints[0]>t.points.length-1||n.matchedPoints[1]>a.points.length-1)throw Error("Matched points out of range in "+t.name);var s=t.points[n.matchedPoints[0]],i=a.points[n.matchedPoints[1]],n={xScale:n.xScale,scale01:n.scale01,scale10:n.scale10,yScale:n.yScale,dx:0,dy:0},i=Ft([i],n)[0];n.dx=s.x-i.x,n.dy=s.y-i.y,o=Ft(a.points,n)}t.points=t.points.concat(o)}}return Pt(t.points)}function zt(e,t,r,n){for(var a=new Yo.GlyphSet(n),o=0;o<r.length-1;o+=1){var s=r[o],i;s!==r[o+1]?a.push(o,Yo.ttfGlyphLoader(n,o,At,e,t+s,Ht)):a.push(o,Yo.glyphLoader(n,o))}return a}function Wt(n,a,o,s){var i=new Yo.GlyphSet(s);return s._push=function(e){var t=o[e],r;t!==o[e+1]?i.push(e,Yo.ttfGlyphLoader(s,e,At,n,a+t,Ht)):i.push(e,Yo.glyphLoader(s,e))},i}function _t(e,t,r,n,a){return(a.lowMemory?Wt:zt)(e,t,r,n)}function qt(e){this.font=e,this.getCommands=function(e){return bs.getPath(e).commands},this._fpgmState=this._prepState=void 0,this._errorState=0}function Xt(e){return e}function Vt(e){return Math.sign(e)*Math.round(Math.abs(e))}function Yt(e){return Math.sign(e)*Math.round(Math.abs(2*e))/2}function jt(e){return Math.sign(e)*(Math.round(Math.abs(e)+.5)-.5)}function Zt(e){return Math.sign(e)*Math.ceil(Math.abs(e))}function Qt(e){return Math.sign(e)*Math.floor(Math.abs(e))}function Kt(e,t){this.x=e,this.y=t,this.axis=void 0,this.slope=t/e,this.normalSlope=-e/t,Object.freeze(this)}function Jt(e,t){var r=Math.sqrt(e*e+t*t);return t/=r,1===(e/=r)&&0===t?Os:0===e&&1===t?Es:new Kt(e,t)}function $t(e,t,r,n){this.x=this.xo=Math.round(64*e)/64,this.y=this.yo=Math.round(64*t)/64,this.lastPointOfContour=r,this.onCurve=n,this.prevPointOnContour=void 0,this.nextPointOnContour=void 0,this.xTouched=!1,this.yTouched=!1,Object.preventExtensions(this)}function er(e,t){switch(this.env=e,this.stack=[],this.prog=t,e){case"glyf":this.zp0=this.zp1=this.zp2=1,this.rp0=this.rp1=this.rp2=0;case"prep":this.fv=this.pv=this.dpv=Os,this.round=Vt}}function tr(e){for(var t=e.tZone=new Array(e.gZone.length),r=0;r<t.length;r++)t[r]=new $t(0,0)}function rr(e,t){var r=e.prog,n=e.ip,a=1,o;do{if(88===(o=r[++n]))a++;else if(89===o)a--;else if(64===o)n+=r[n+1]+1;else if(65===o)n+=2*r[n+1]+1;else if(176<=o&&o<=183)n+=o-176+1;else if(184<=o&&o<=191)n+=2*(o-184+1);else if(t&&1===a&&27===o)break}while(0<a);e.ip=n}function nr(e,t){S.DEBUG&&console.log(t.step,"SVTCA["+e.axis+"]"),t.fv=t.pv=t.dpv=e}function ar(e,t){S.DEBUG&&console.log(t.step,"SPVTCA["+e.axis+"]"),t.pv=t.dpv=e}function or(e,t){S.DEBUG&&console.log(t.step,"SFVTCA["+e.axis+"]"),t.fv=e}function sr(e,t){var r=t.stack,n=r.pop(),a=r.pop(),o=t.z2[n],r=t.z1[a],s,o;S.DEBUG&&console.log("SPVTL["+e+"]",n,a),o=e?(s=o.y-r.y,r.x-o.x):(s=r.x-o.x,r.y-o.y),t.pv=t.dpv=Jt(s,o)}function ir(e,t){var r=t.stack,n=r.pop(),a=r.pop(),o=t.z2[n],r=t.z1[a],s,o;S.DEBUG&&console.log("SFVTL["+e+"]",n,a),o=e?(s=o.y-r.y,r.x-o.x):(s=r.x-o.x,r.y-o.y),t.fv=Jt(s,o)}function ur(e){var t=e.stack,r=t.pop(),t=t.pop();S.DEBUG&&console.log(e.step,"SPVFS[]",r,t),e.pv=e.dpv=Jt(t,r)}function lr(e){var t=e.stack,r=t.pop(),t=t.pop();S.DEBUG&&console.log(e.step,"SPVFS[]",r,t),e.fv=Jt(t,r)}function pr(e){var t=e.stack,r=e.pv;S.DEBUG&&console.log(e.step,"GPV[]"),t.push(16384*r.x),t.push(16384*r.y)}function cr(e){var t=e.stack,r=e.fv;S.DEBUG&&console.log(e.step,"GFV[]"),t.push(16384*r.x),t.push(16384*r.y)}function hr(e){e.fv=e.pv,S.DEBUG&&console.log(e.step,"SFVTPV[]")}function fr(e){var t=e.stack,r=t.pop(),n=t.pop(),a=t.pop(),o=t.pop(),s=t.pop(),i=e.z0,u=e.z1,l=i[r],p=i[n],c=u[a],t=u[o],i=e.z2[s];S.DEBUG&&console.log("ISECT[], ",r,n,a,o,s);var u=l.x,e=l.y,r=p.x,n=p.y,a=c.x,o=c.y,s=t.x,l=t.y,p=(u-r)*(o-l)-(e-n)*(a-s),c=u*n-e*r,t=a*l-o*s;i.x=(c*(a-s)-t*(u-r))/p,i.y=(c*(o-l)-t*(e-n))/p}function dr(e){e.rp0=e.stack.pop(),S.DEBUG&&console.log(e.step,"SRP0[]",e.rp0)}function gr(e){e.rp1=e.stack.pop(),S.DEBUG&&console.log(e.step,"SRP1[]",e.rp1)}function vr(e){e.rp2=e.stack.pop(),S.DEBUG&&console.log(e.step,"SRP2[]",e.rp2)}function mr(e){var t=e.stack.pop();switch(S.DEBUG&&console.log(e.step,"SZP0[]",t),e.zp0=t){case 0:e.tZone||tr(e),e.z0=e.tZone;break;case 1:e.z0=e.gZone;break;default:throw new Error("Invalid zone pointer")}}function yr(e){var t=e.stack.pop();switch(S.DEBUG&&console.log(e.step,"SZP1[]",t),e.zp1=t){case 0:e.tZone||tr(e),e.z1=e.tZone;break;case 1:e.z1=e.gZone;break;default:throw new Error("Invalid zone pointer")}}function br(e){var t=e.stack.pop();switch(S.DEBUG&&console.log(e.step,"SZP2[]",t),e.zp2=t){case 0:e.tZone||tr(e),e.z2=e.tZone;break;case 1:e.z2=e.gZone;break;default:throw new Error("Invalid zone pointer")}}function Sr(e){var t=e.stack.pop();switch(S.DEBUG&&console.log(e.step,"SZPS[]",t),e.zp0=e.zp1=e.zp2=t){case 0:e.tZone||tr(e),e.z0=e.z1=e.z2=e.tZone;break;case 1:e.z0=e.z1=e.z2=e.gZone;break;default:throw new Error("Invalid zone pointer")}}function xr(e){e.loop=e.stack.pop(),S.DEBUG&&console.log(e.step,"SLOOP[]",e.loop)}function Tr(e){S.DEBUG&&console.log(e.step,"RTG[]"),e.round=Vt}function kr(e){S.DEBUG&&console.log(e.step,"RTHG[]"),e.round=jt}function Ur(e){var t=e.stack.pop();S.DEBUG&&console.log(e.step,"SMD[]",t),e.minDis=t/64}function Or(e){S.DEBUG&&console.log(e.step,"ELSE[]"),rr(e,!1)}function Er(e){var t=e.stack.pop();S.DEBUG&&console.log(e.step,"JMPR[]",t),e.ip+=t-1}function wr(e){var t=e.stack.pop();S.DEBUG&&console.log(e.step,"SCVTCI[]",t),e.cvCutIn=t/64}function Rr(e){var t=e.stack;S.DEBUG&&console.log(e.step,"DUP[]"),t.push(t[t.length-1])}function Lr(e){S.DEBUG&&console.log(e.step,"POP[]"),e.stack.pop()}function Cr(e){S.DEBUG&&console.log(e.step,"CLEAR[]"),e.stack.length=0}function Dr(e){var t=e.stack,r=t.pop(),n=t.pop();S.DEBUG&&console.log(e.step,"SWAP[]"),t.push(r),t.push(n)}function Ir(e){var t=e.stack;S.DEBUG&&console.log(e.step,"DEPTH[]"),t.push(t.length)}function Mr(e){var t=e.stack,r=t.pop(),n=t.pop();S.DEBUG&&console.log(e.step,"LOOPCALL[]",r,n);var a=e.ip,t=e.prog;e.prog=e.funcs[r];for(var o=0;o<n;o++)xs(e),S.DEBUG&&console.log(++e.step,o+1<n?"next loopcall":"done loopcall",o);e.ip=a,e.prog=t}function Br(e){var t=e.stack.pop();S.DEBUG&&console.log(e.step,"CALL[]",t);var r=e.ip,n=e.prog;e.prog=e.funcs[t],xs(e),e.ip=r,e.prog=n,S.DEBUG&&console.log(++e.step,"returning from",t)}function Gr(e){var t=e.stack,r=t.pop();S.DEBUG&&console.log(e.step,"CINDEX[]",r),t.push(t[t.length-r])}function Ar(e){var t=e.stack,r=t.pop();S.DEBUG&&console.log(e.step,"MINDEX[]",r),t.push(t.splice(t.length-r,1)[0])}function Fr(e){if("fpgm"!==e.env)throw new Error("FDEF not allowed here");var t=e.stack,r=e.prog,n=e.ip,a=t.pop(),t=n;S.DEBUG&&console.log(e.step,"FDEF[]",a);while(45!==r[++n]);e.ip=n,e.funcs[a]=r.slice(t+1,n)}function Nr(e,t){var r=t.stack.pop(),n=t.z0[r],a=t.fv,o=t.pv;S.DEBUG&&console.log(t.step,"MDAP["+e+"]",r);var s=o.distance(n,ws);e&&(s=t.round(s)),a.setRelative(n,ws,s,o),a.touch(n),t.rp0=t.rp1=r}function Pr(e,t){var r=t.z2,n=r.length-2,a,o,s;S.DEBUG&&console.log(t.step,"IUP["+e.axis+"]");for(var i=0;i<n;i++){if(a=r[i],e.touched(a))continue;if((o=a.prevTouched(e))===a)continue;o===(s=a.nextTouched(e))&&e.setRelative(a,a,e.distance(o,o,!1,!0),e,!0),e.interpolate(a,o,s,e)}}function Hr(e,t){var r=t.stack,n=e?t.rp1:t.rp2,a=(e?t.z0:t.z1)[n],o=t.fv,s=t.pv,i=t.loop,u=t.z2;while(i--){var l=r.pop(),p=u[l],c=s.distance(a,a,!1,!0);o.setRelative(p,p,c,s),o.touch(p),S.DEBUG&&console.log(t.step,(1<t.loop?"loop "+(t.loop-i)+": ":"")+"SHP["+(e?"rp1":"rp2")+"]",l)}t.loop=1}function zr(e,t){var r=t.stack,n=e?t.rp1:t.rp2,a=(e?t.z0:t.z1)[n],o=t.fv,s=t.pv,r=r.pop(),i=t.z2[t.contours[r]],u=i;S.DEBUG&&console.log(t.step,"SHC["+e+"]",r);var l=s.distance(a,a,!1,!0);do{u!==a&&o.setRelative(u,u,l,s),u=u.nextPointOnContour}while(u!==i)}function Wr(e,t){var r=t.stack,n=e?t.rp1:t.rp2,n=(e?t.z0:t.z1)[n],a=t.fv,o=t.pv,r=r.pop(),s,i;switch(S.DEBUG&&console.log(t.step,"SHZ["+e+"]",r),r){case 0:s=t.tZone;break;case 1:s=t.gZone;break;default:throw new Error("Invalid zone")}for(var u=o.distance(n,n,!1,!0),l=s.length-2,p=0;p<l;p++)i=s[p],a.setRelative(i,i,u,o)}function _r(e){var t=e.stack,r=e.loop,n=e.fv,a=t.pop()/64,o=e.z2;while(r--){var s=t.pop(),i=o[s];S.DEBUG&&console.log(e.step,(1<e.loop?"loop "+(e.loop-r)+": ":"")+"SHPIX[]",s,a),n.setRelative(i,i,a),n.touch(i)}e.loop=1}function qr(e){var t=e.stack,r=e.rp1,n=e.rp2,a=e.loop,o=e.z0[r],s=e.z1[n],i=e.fv,u=e.dpv,l=e.z2;while(a--){var p=t.pop(),c=l[p];S.DEBUG&&console.log(e.step,(1<e.loop?"loop "+(e.loop-a)+": ":"")+"IP[]",p,r,"<->",n),i.interpolate(c,o,s,u),i.touch(c)}e.loop=1}function Xr(e,t){var r=t.stack,n=r.pop()/64,a=r.pop(),o=t.z1[a],s=t.z0[t.rp0],i=t.fv,r=t.pv;i.setRelative(o,s,n,r),i.touch(o),S.DEBUG&&console.log(t.step,"MSIRP["+e+"]",n,a),t.rp1=t.rp0,t.rp2=a,e&&(t.rp0=a)}function Vr(e){var t=e.stack,r=e.rp0,n=e.z0[r],a=e.loop,o=e.fv,s=e.pv,i=e.z1;while(a--){var u=t.pop(),l=i[u];S.DEBUG&&console.log(e.step,(1<e.loop?"loop "+(e.loop-a)+": ":"")+"ALIGNRP[]",u),o.setRelative(l,n,0,s),o.touch(l)}e.loop=1}function Yr(e){S.DEBUG&&console.log(e.step,"RTDG[]"),e.round=Yt}function jr(e,t){var r=t.stack,n=r.pop(),a=r.pop(),o=t.z0[a],s=t.fv,i=t.pv,r=t.cvt[n];S.DEBUG&&console.log(t.step,"MIAP["+e+"]",n,"(",r,")",a);var n=i.distance(o,ws);e&&(Math.abs(n-r)<t.cvCutIn&&(n=r),n=t.round(n)),s.setRelative(o,ws,n,i),0===t.zp0&&(o.xo=o.x,o.yo=o.y),s.touch(o),t.rp0=t.rp1=a}function Zr(e){var t=e.prog,r=e.ip,n=e.stack,a=t[++r];S.DEBUG&&console.log(e.step,"NPUSHB[]",a);for(var o=0;o<a;o++)n.push(t[++r]);e.ip=r}function Qr(e){var t=e.ip,r=e.prog,n=e.stack,a=r[++t];S.DEBUG&&console.log(e.step,"NPUSHW[]",a);for(var o=0;o<a;o++){var s=r[++t]<<8|r[++t];32768&s&&(s=-((65535^s)+1)),n.push(s)}e.ip=t}function Kr(e){var t=e.stack,r,r=(r=e.store)||(e.store=[]),n=t.pop(),t=t.pop();S.DEBUG&&console.log(e.step,"WS",n,t),r[t]=n}function Jr(e){var t=e.stack,r=e.store,n=t.pop();S.DEBUG&&console.log(e.step,"RS",n);var n=r&&r[n]||0;t.push(n)}function $r(e){var t=e.stack,r=t.pop(),t=t.pop();S.DEBUG&&console.log(e.step,"WCVTP",r,t),e.cvt[t]=r/64}function en(e){var t=e.stack,r=t.pop();S.DEBUG&&console.log(e.step,"RCVT",r),t.push(64*e.cvt[r])}function tn(e,t){var r=t.stack,n=r.pop(),a=t.z2[n];S.DEBUG&&console.log(t.step,"GC["+e+"]",n),r.push(64*t.dpv.distance(a,ws,e,!1))}function rn(e,t){var r=t.stack,n=r.pop(),a=r.pop(),o=t.z1[n],r=t.z0[a],o=t.dpv.distance(r,o,e,e);S.DEBUG&&console.log(t.step,"MD["+e+"]",n,a,"->",o),t.stack.push(Math.round(64*o))}function nn(e){S.DEBUG&&console.log(e.step,"MPPEM[]"),e.stack.push(e.ppem)}function an(e){S.DEBUG&&console.log(e.step,"FLIPON[]"),e.autoFlip=!0}function on(e){var t=e.stack,r=t.pop(),n=t.pop();S.DEBUG&&console.log(e.step,"LT[]",r,n),t.push(n<r?1:0)}function sn(e){var t=e.stack,r=t.pop(),n=t.pop();S.DEBUG&&console.log(e.step,"LTEQ[]",r,n),t.push(n<=r?1:0)}function un(e){var t=e.stack,r=t.pop(),n=t.pop();S.DEBUG&&console.log(e.step,"GT[]",r,n),t.push(r<n?1:0)}function ln(e){var t=e.stack,r=t.pop(),n=t.pop();S.DEBUG&&console.log(e.step,"GTEQ[]",r,n),t.push(r<=n?1:0)}function pn(e){var t=e.stack,r=t.pop(),n=t.pop();S.DEBUG&&console.log(e.step,"EQ[]",r,n),t.push(r===n?1:0)}function cn(e){var t=e.stack,r=t.pop(),n=t.pop();S.DEBUG&&console.log(e.step,"NEQ[]",r,n),t.push(r!==n?1:0)}function hn(e){var t=e.stack,r=t.pop();S.DEBUG&&console.log(e.step,"ODD[]",r),t.push(Math.trunc(r)%2?1:0)}function fn(e){var t=e.stack,r=t.pop();S.DEBUG&&console.log(e.step,"EVEN[]",r),t.push(Math.trunc(r)%2?0:1)}function dn(e){var t=e.stack.pop();S.DEBUG&&console.log(e.step,"IF[]",t),t||(rr(e,!0),S.DEBUG&&console.log(e.step,"EIF[]"))}function gn(e){S.DEBUG&&console.log(e.step,"EIF[]")}function vn(e){var t=e.stack,r=t.pop(),n=t.pop();S.DEBUG&&console.log(e.step,"AND[]",r,n),t.push(r&&n?1:0)}function mn(e){var t=e.stack,r=t.pop(),n=t.pop();S.DEBUG&&console.log(e.step,"OR[]",r,n),t.push(r||n?1:0)}function yn(e){var t=e.stack,r=t.pop();S.DEBUG&&console.log(e.step,"NOT[]",r),t.push(r?0:1)}function bn(e,t){var r=t.stack,n=r.pop(),a=t.fv,o=t.pv,s=t.ppem,i=t.deltaBase+16*(e-1),u=t.deltaShift,l=t.z0;S.DEBUG&&console.log(t.step,"DELTAP["+e+"]",n,r);for(var p=0;p<n;p++){var c=r.pop(),h=r.pop(),f;if(i+((240&h)>>4)!==s)continue;var h=(15&h)-8;0<=h&&h++,S.DEBUG&&console.log(t.step,"DELTAPFIX",c,"by",h*u);var c=l[c];a.setRelative(c,c,h*u,o)}}function Sn(e){var t,r=e.stack.pop();S.DEBUG&&console.log(e.step,"SDB[]",r),e.deltaBase=r}function xn(e){var t,r=e.stack.pop();S.DEBUG&&console.log(e.step,"SDS[]",r),e.deltaShift=Math.pow(.5,r)}function Tn(e){var t=e.stack,r=t.pop(),n=t.pop();S.DEBUG&&console.log(e.step,"ADD[]",r,n),t.push(n+r)}function kn(e){var t=e.stack,r=t.pop(),n=t.pop();S.DEBUG&&console.log(e.step,"SUB[]",r,n),t.push(n-r)}function Un(e){var t=e.stack,r=t.pop(),n=t.pop();S.DEBUG&&console.log(e.step,"DIV[]",r,n),t.push(64*n/r)}function On(e){var t=e.stack,r=t.pop(),n=t.pop();S.DEBUG&&console.log(e.step,"MUL[]",r,n),t.push(n*r/64)}function En(e){var t=e.stack,r=t.pop();S.DEBUG&&console.log(e.step,"ABS[]",r),t.push(Math.abs(r))}function wn(e){var t=e.stack,r=t.pop();S.DEBUG&&console.log(e.step,"NEG[]",r),t.push(-r)}function Rn(e){var t=e.stack,r=t.pop();S.DEBUG&&console.log(e.step,"FLOOR[]",r),t.push(64*Math.floor(r/64))}function Ln(e){var t=e.stack,r=t.pop();S.DEBUG&&console.log(e.step,"CEILING[]",r),t.push(64*Math.ceil(r/64))}function Cn(e,t){var r=t.stack,n=r.pop();S.DEBUG&&console.log(t.step,"ROUND[]"),r.push(64*t.round(n/64))}function Dn(e){var t=e.stack,r=t.pop(),t=t.pop();S.DEBUG&&console.log(e.step,"WCVTF[]",r,t),e.cvt[t]=r*e.ppem/e.font.unitsPerEm}function In(e,t){var r=t.stack,n=r.pop(),a=t.ppem,o=t.deltaBase+16*(e-1),s=t.deltaShift;S.DEBUG&&console.log(t.step,"DELTAC["+e+"]",n,r);for(var i=0;i<n;i++){var u=r.pop(),l=r.pop(),p;if(o+((240&l)>>4)!==a)continue;var l=(15&l)-8;0<=l&&l++;var l=l*s;S.DEBUG&&console.log(t.step,"DELTACFIX",u,"by",l),t.cvt[u]+=l}}function Mn(e){var t=e.stack.pop(),r;switch(S.DEBUG&&console.log(e.step,"SROUND[]",t),e.round=Us,192&t){case 0:r=.5;break;case 64:r=1;break;case 128:r=2;break;default:throw new Error("invalid SROUND value")}switch(e.srPeriod=r,48&t){case 0:e.srPhase=0;break;case 16:e.srPhase=.25*r;break;case 32:e.srPhase=.5*r;break;case 48:e.srPhase=.75*r;break;default:throw new Error("invalid SROUND value")}t&=15,e.srThreshold=0===t?0:(t/8-.5)*r}function Bn(e){var t=e.stack.pop(),r;switch(S.DEBUG&&console.log(e.step,"S45ROUND[]",t),e.round=Us,192&t){case 0:r=Math.sqrt(2)/2;break;case 64:r=Math.sqrt(2);break;case 128:r=2*Math.sqrt(2);break;default:throw new Error("invalid S45ROUND value")}switch(e.srPeriod=r,48&t){case 0:e.srPhase=0;break;case 16:e.srPhase=.25*r;break;case 32:e.srPhase=.5*r;break;case 48:e.srPhase=.75*r;break;default:throw new Error("invalid S45ROUND value")}t&=15,e.srThreshold=0===t?0:(t/8-.5)*r}function Gn(e){S.DEBUG&&console.log(e.step,"ROFF[]"),e.round=Xt}function An(e){S.DEBUG&&console.log(e.step,"RUTG[]"),e.round=Zt}function Fn(e){S.DEBUG&&console.log(e.step,"RDTG[]"),e.round=Qt}function Nn(e){var t=e.stack.pop();S.DEBUG&&console.log(e.step,"SCANCTRL[]",t)}function Pn(e,t){var r=t.stack,n=r.pop(),a=r.pop(),o=t.z2[n],r=t.z1[a],s,o;S.DEBUG&&console.log(t.step,"SDPVTL["+e+"]",n,a),o=e?(s=o.y-r.y,r.x-o.x):(s=r.x-o.x,r.y-o.y),t.dpv=Jt(s,o)}function Hn(e){var t=e.stack,r=t.pop(),n=0;S.DEBUG&&console.log(e.step,"GETINFO[]",r),1&r&&(n=35),32&r&&(n|=4096),t.push(n)}function zn(e){var t=e.stack,r=t.pop(),n=t.pop(),a=t.pop();S.DEBUG&&console.log(e.step,"ROLL[]"),t.push(n),t.push(r),t.push(a)}function Wn(e){var t=e.stack,r=t.pop(),n=t.pop();S.DEBUG&&console.log(e.step,"MAX[]",r,n),t.push(Math.max(n,r))}function _n(e){var t=e.stack,r=t.pop(),n=t.pop();S.DEBUG&&console.log(e.step,"MIN[]",r,n),t.push(Math.min(n,r))}function qn(e){var t=e.stack.pop();S.DEBUG&&console.log(e.step,"SCANTYPE[]",t)}function Xn(e){var t=e.stack.pop(),r=e.stack.pop();switch(S.DEBUG&&console.log(e.step,"INSTCTRL[]",t,r),t){case 1:return void(e.inhibitGridFit=!!r);case 2:return void(e.ignoreCvt=!!r);default:throw new Error("invalid INSTCTRL[] selector")}}function Vn(e,t){var r=t.stack,n=t.prog,a=t.ip;S.DEBUG&&console.log(t.step,"PUSHB["+e+"]");for(var o=0;o<e;o++)r.push(n[++a]);t.ip=a}function Yn(e,t){var r=t.ip,n=t.prog,a=t.stack;S.DEBUG&&console.log(t.ip,"PUSHW["+e+"]");for(var o=0;o<e;o++){var s=n[++r]<<8|n[++r];32768&s&&(s=-((65535^s)+1)),a.push(s)}t.ip=r}function jn(e,t,r,n,a,o){var s=o.stack,i=e&&s.pop(),u=s.pop(),l=o.rp0,p=o.z0[l],c=o.z1[u],h=o.minDis,f=o.fv,d=o.dpv,g,s,l,v,s=g=d.distance(c,p,!0,!0),l=0<=s?1:-1;s=Math.abs(s),e&&(v=o.cvt[i],n&&Math.abs(s-v)<o.cvCutIn&&(s=v)),r&&s<h&&(s=h),n&&(s=o.round(s)),f.setRelative(c,p,l*s,d),f.touch(c),S.DEBUG&&console.log(o.step,(e?"MIRP[":"MDRP[")+(t?"M":"m")+(r?">":"_")+(n?"R":"_")+(0===a?"Gr":1===a?"Bl":2===a?"Wh":"")+"]",e?i+"("+o.cvt[i]+","+v+")":"",u,"(d =",g,"->",l*s,")"),o.rp1=o.rp0,o.rp2=u,t&&(o.rp0=u)}function Zn(e){this.char=e,this.state={},this.activeState=null}function Qn(e,t,r){this.contextName=r,this.startIndex=e,this.endOffset=t}function Kn(e,t,r){this.contextName=e,this.openRange=null,this.ranges=[],this.checkStart=t,this.checkEnd=r}function Jn(e,t){this.context=e,this.index=t,this.length=e.length,this.current=e[t],this.backtrack=e.slice(0,t),this.lookahead=e.slice(t+1)}function $n(e){this.eventId=e,this.subscribers=[]}function ea(r){var n=this,e=["start","end","next","newToken","contextStart","contextEnd","insertToken","removeToken","removeRange","replaceToken","replaceRange","composeRUD","updateContextsRanges"],t;e.forEach(function(e){Object.defineProperty(n.events,e,{value:new $n(e)})}),r&&e.forEach(function(e){var t=r[e];"function"==typeof t&&n.events[e].subscribe(t)}),["insertToken","removeToken","removeRange","replaceToken","replaceRange","composeRUD"].forEach(function(e){n.events[e].subscribe(n.updateContextsRanges)})}function ta(e){this.tokens=[],this.registeredContexts={},this.contextCheckers=[],this.events={},this.registeredModifiers=[],ea.call(this,e)}function ra(e){return/[\u0600-\u065F\u066A-\u06D2\u06FA-\u06FF]/.test(e)}function na(e){return/[\u0630\u0690\u0621\u0631\u0661\u0671\u0622\u0632\u0672\u0692\u06C2\u0623\u0673\u0693\u06C3\u0624\u0694\u06C4\u0625\u0675\u0695\u06C5\u06E5\u0676\u0696\u06C6\u0627\u0677\u0697\u06C7\u0648\u0688\u0698\u06C8\u0689\u0699\u06C9\u068A\u06CA\u066B\u068B\u06CB\u068C\u068D\u06CD\u06FD\u068E\u06EE\u06FE\u062F\u068F\u06CF\u06EF]/.test(e)}function aa(e){return/[\u0600-\u0605\u060C-\u060E\u0610-\u061B\u061E\u064B-\u065F\u0670\u06D6-\u06DC\u06DF-\u06E4\u06E7\u06E8\u06EA-\u06ED]/.test(e)}function oa(e){return/[A-z]/.test(e)}function sa(e){return/\s/.test(e)}function ia(e){this.font=e,this.features={}}function ua(e){this.id=e.id,this.tag=e.tag,this.substitution=e.substitution}function la(e,t){if(!e)return-1;switch(t.format){case 1:return t.glyphs.indexOf(e);case 2:for(var r=t.ranges,n=0;n<r.length;n++){var a=r[n];if(e>=a.start&&e<=a.end){var o=e-a.start;return a.index+o}}break;default:return-1}return-1}function pa(e,t){var r;if(-1===la(e,t.coverage))return null;return e+t.deltaGlyphId}function ca(e,t){var e=la(e,t.coverage);if(-1===e)return null;return t.substitute[e]}function ha(e,t){for(var r=[],n=0;n<e.length;n++){var a=e[n],o=t.current,o,a=la(o=Array.isArray(o)?o[0]:o,a);-1!==a&&r.push(a)}if(r.length!==e.length)return-1;return r}function fa(e,t){var r=this,n=t.inputCoverage.length+t.lookaheadCoverage.length+t.backtrackCoverage.length;if(e.context.length<n)return[];var a=ha(t.inputCoverage,e);if(-1===a)return[];var o=t.inputCoverage.length-1;if(e.lookahead.length<t.lookaheadCoverage.length)return[];var s=e.lookahead.slice(o);while(s.length&&aa(s[0].char))s.shift();var n=new Jn(s,0),o=ha(t.lookaheadCoverage,n),i=[].concat(e.backtrack);i.reverse();while(i.length&&aa(i[0].char))i.shift();if(i.length<t.backtrackCoverage.length)return[];var n=new Jn(i,0),n=ha(t.backtrackCoverage,n),u,l=[];if(a.length===t.inputCoverage.length&&o.length===t.lookaheadCoverage.length&&n.length===t.backtrackCoverage.length)for(var p=0;p<t.lookupRecords.length;p++)for(var c,h=t.lookupRecords[p].lookupListIndex,f=r.getLookupByIndex(h),d=0;d<f.subtables.length;d++){var g=f.subtables[d],v=r.getLookupMethod(f,g),m;if("12"===r.getSubstitutionType(f,g))for(var y=0;y<a.length;y++){var b,S=v(e.get(y));S&&l.push(S)}}return l}function da(e,t){var r,n=la(e.current,t.coverage),a;if(-1===n)return null;for(var o=t.ligatureSets[n],s=0;s<o.length;s++){a=o[s];for(var i=0,u,l;i<a.components.length;i++){if(e.lookahead[i]!==a.components[i])break;if(i===a.components.length-1)return a}}return null}function ga(e,t){var e=la(e,t.coverage);if(-1===e)return null;return t.sequences[e]}function va(e){var t=e.current,e=e.get(-1);return null===e&&ra(t)||!ra(e)&&ra(t)}function ma(e){var e=e.get(1);return null===e||!ra(e)}function ya(e){var t=e.current,e=e.get(-1);return(ra(t)||aa(t))&&!ra(e)}function ba(e){var t=e.get(1);switch(!0){case null===t:return!0;case!ra(t)&&!aa(t):var t=sa(t);if(!t)return!0;if(t){var r=!1,r;if(!e.lookahead.some(function(e){return ra(e)||aa(e)}))return!0}break;default:return!1}}function Sa(e,t,r){t[r].setState(e.tag,e.substitution)}function xa(e,t,r){t[r].setState(e.tag,e.substitution)}function Ta(n,a,o){n.substitution.forEach(function(e,t){var r;a[o+t].setState(n.tag,e)})}function ka(e,t,r){var n=t[r];n.setState(e.tag,e.substitution.ligGlyph);for(var a=e.substitution.components.length,o=0;o<a;o++)(n=t[r+o+1]).setState("deleted",!0)}function Ua(e,t,r){e instanceof ua&&Cs[e.id](e,t,r)}function Oa(e){for(var t=[].concat(e.backtrack),r=t.length-1;0<=r;r--){var n=t[r],a=na(n),n=aa(n);if(!a&&!n)return 1;if(a)return 0}return 0}function Ea(e){if(na(e.current))return 0;for(var t=0,r,n;t<e.lookahead.length;t++){if(!aa(e.lookahead[t]))return 1}return 0}function wa(e){var n=this,a="arab",o=this.featuresTags[a],s=this.tokenizer.getRangeTokens(e);if(1===s.length)return;var i=new Jn(s.map(function(e){return e.getState("glyphIndex")}),0),u=new Jn(s.map(function(e){return e.char}),0);s.forEach(function(e,t){if(aa(e.char))return;i.setCurrentIndex(t),u.setCurrentIndex(t);var t=0,r;switch(Oa(u)&&(t|=1),Ea(u)&&(t|=2),t){case 1:r="fina";break;case 2:r="init";break;case 3:r="medi";break}if(-1===o.indexOf(r))return;var r=n.query.lookupFeature({tag:r,script:a,contextParams:i});if(r instanceof Error)return console.info(r.message);r.forEach(function(e,t){e instanceof ua&&(Ua(e,s,t),i.context[t]=e.substitution)})})}function Ra(e,t){var r;return new Jn(e.map(function(e){return e.activeState.value}),t||0)}function La(e){var n=this,a="arab",o=this.tokenizer.getRangeTokens(e),s=Ra(o);s.context.forEach(function(e,t){s.setCurrentIndex(t);var r=n.query.lookupFeature({tag:"rlig",script:a,contextParams:s});r.length&&(r.forEach(function(e){return Ua(e,o,t)}),s=Ra(o))})}function Ca(e){var t=e.current,e=e.get(-1);return null===e&&oa(t)||!oa(e)&&oa(t)}function Da(e){var e=e.get(1);return null===e||!oa(e)}function Ia(e,t){var r;return new Jn(e.map(function(e){return e.activeState.value}),t||0)}function Ma(e){var n=this,a="latn",o=this.tokenizer.getRangeTokens(e),s=Ia(o);s.context.forEach(function(e,t){s.setCurrentIndex(t);try{var r=n.query.lookupFeature({tag:"liga",script:a,contextParams:s});r.length&&(r.forEach(function(e){return Ua(e,o,t)}),s=Ia(o))}catch(e){}})}function Ba(e){this.baseDir=e||"ltr",this.tokenizer=new ta,this.featuresTags={}}function Ga(e){var t=this.contextChecks[e+"Check"];return this.tokenizer.registerContextChecker(e,t.startCheck,t.endCheck)}function Aa(){return Ga.call(this,"latinWord"),Ga.call(this,"arabicWord"),Ga.call(this,"arabicSentence"),this.tokenizer.tokenize(this.text)}function Fa(){var r=this,e;this.tokenizer.getContextRanges("arabicSentence").forEach(function(e){var t=r.tokenizer.getRangeTokens(e);r.tokenizer.replaceRange(e.startIndex,e.endOffset,t.reverse())})}function Na(){if(-1===this.tokenizer.registeredModifiers.indexOf("glyphIndex"))throw new Error("glyphIndex modifier is required to apply "+"arabic presentation features.")}function Pa(){var t=this,e="arab",r;if(!this.featuresTags.hasOwnProperty(e))return;Na.call(this),this.tokenizer.getContextRanges("arabicWord").forEach(function(e){wa.call(t,e)})}function Ha(){var t=this,e="arab",r,n;if(!this.featuresTags.hasOwnProperty(e))return;if(-1===this.featuresTags[e].indexOf("rlig"))return;Na.call(this),this.tokenizer.getContextRanges("arabicWord").forEach(function(e){La.call(t,e)})}function za(){var t=this,e="latn",r,n;if(!this.featuresTags.hasOwnProperty(e))return;if(-1===this.featuresTags[e].indexOf("liga"))return;Na.call(this),this.tokenizer.getContextRanges("latinWord").forEach(function(e){Ma.call(t,e)})}function Wa(e){(e=e||{}).empty||(Bt(e.familyName,"When creating a new Font object, familyName is required."),Bt(e.styleName,"When creating a new Font object, styleName is required."),Bt(e.unitsPerEm,"When creating a new Font object, unitsPerEm is required."),Bt(e.ascender,"When creating a new Font object, ascender is required."),Bt(e.descender,"When creating a new Font object, descender is required."),Bt(e.descender<0,"Descender should be negative (e.g. -512)."),this.names={fontFamily:{en:e.familyName||" "},fontSubfamily:{en:e.styleName||" "},fullName:{en:e.fullName||e.familyName+" "+e.styleName},postScriptName:{en:e.postScriptName||(e.familyName+e.styleName).replace(/\s/g,"")},designer:{en:e.designer||" "},designerURL:{en:e.designerURL||" "},manufacturer:{en:e.manufacturer||" "},manufacturerURL:{en:e.manufacturerURL||" "},license:{en:e.license||" "},licenseURL:{en:e.licenseURL||" "},version:{en:e.version||"Version 0.1"},description:{en:e.description||" "},copyright:{en:e.copyright||" "},trademark:{en:e.trademark||" "}},this.unitsPerEm=e.unitsPerEm||1e3,this.ascender=e.ascender,this.descender=e.descender,this.createdTimestamp=e.createdTimestamp,this.tables={os2:{usWeightClass:e.weightClass||this.usWeightClasses.MEDIUM,usWidthClass:e.widthClass||this.usWidthClasses.MEDIUM,fsSelection:e.fsSelection||this.fsSelectionValues.REGULAR}}),this.supported=!0,this.glyphs=new Yo.GlyphSet(this,e.glyphs||[]),this.encoding=new Y(this),this.position=new wt(this),this.substitution=new Rt(this),this.tables=this.tables||{},this._push=null,this._hmtxTableData={},Object.defineProperty(this,"hinting",{get:function(){if(this._hinting)return this._hinting;if("truetype"===this.outlinesFormat)return this._hinting=new qt(this)}})}function _a(e,t){var r=JSON.stringify(e),n=256,a;for(a in t){var o=parseInt(a);if(!o||o<256)continue;if(JSON.stringify(t[a])===r)return o;n<=o&&(n=o+1)}return t[n]=e,n}function qa(e,t,r){var r=_a(t.name,r);return[{name:"tag_"+e,type:"TAG",value:t.tag},{name:"minValue_"+e,type:"FIXED",value:t.minValue<<16},{name:"defaultValue_"+e,type:"FIXED",value:t.defaultValue<<16},{name:"maxValue_"+e,type:"FIXED",value:t.maxValue<<16},{name:"flags_"+e,type:"USHORT",value:0},{name:"nameID_"+e,type:"USHORT",value:r}]}function Xa(e,t,r){var n={},t=new Ho.Parser(e,t);return n.tag=t.parseTag(),n.minValue=t.parseFixed(),n.defaultValue=t.parseFixed(),n.maxValue=t.parseFixed(),t.skip("uShort",1),n.name=r[t.parseUShort()]||{},n}function Va(e,t,r,n){for(var a,o=[{name:"nameID_"+e,type:"USHORT",value:_a(t.name,n)},{name:"flags_"+e,type:"USHORT",value:0}],s=0;s<r.length;++s){var i=r[s].tag;o.push({name:"axis_"+e+" "+i,type:"FIXED",value:t.coordinates[i]<<16})}return o}function Ya(e,t,r,n){var a={},o=new Ho.Parser(e,t);a.name=n[o.parseUShort()]||{},o.skip("uShort",1),a.coordinates={};for(var s=0;s<r.length;++s)a.coordinates[r[s].tag]=o.parseFixed();return a}function ja(e,t){var r=new Fo.Table("fvar",[{name:"version",type:"ULONG",value:65536},{name:"offsetToData",type:"USHORT",value:0},{name:"countSizePairs",type:"USHORT",value:2},{name:"axisCount",type:"USHORT",value:e.axes.length},{name:"axisSize",type:"USHORT",value:20},{name:"instanceCount",type:"USHORT",value:e.instances.length},{name:"instanceSize",type:"USHORT",value:4+4*e.axes.length}]);r.offsetToData=r.sizeOf();for(var n=0;n<e.axes.length;n++)r.fields=r.fields.concat(qa(n,e.axes[n],t));for(var a=0;a<e.instances.length;a++)r.fields=r.fields.concat(Va(a,e.instances[a],e.axes,t));return r}function Za(e,t,r){var n=new Ho.Parser(e,t),a=n.parseULong();Eo.argument(65536===a,"Unsupported fvar table version.");var o=n.parseOffset16();n.skip("uShort",1);for(var s=n.parseUShort(),i=n.parseUShort(),u=n.parseUShort(),l=n.parseUShort(),p=[],c=0;c<s;c++)p.push(Xa(e,t+o+c*i,r));for(var h=[],f=t+o+s*i,d=0;d<u;d++)h.push(Ya(e,f+d*l,p,r));return{axes:p,instances:h}}function Qa(e,t){var e=new H(e,t=t||0),t=e.parseVersion(1);return Eo.argument(1===t||1.1===t,"Unsupported GPOS table version "+t),1===t?{version:t,scripts:e.parseScriptList(),features:e.parseFeatureList(),lookups:e.parseLookupList(Is)}:{version:t,scripts:e.parseScriptList(),features:e.parseFeatureList(),lookups:e.parseLookupList(Is),variations:e.parseFeatureVariationsList()}}function Ka(e){return new Fo.Table("GPOS",[{name:"version",type:"ULONG",value:65536},{name:"scripts",type:"TABLE",value:new Fo.ScriptList(e.scripts)},{name:"features",type:"TABLE",value:new Fo.FeatureList(e.features)},{name:"lookups",type:"TABLE",value:new Fo.LookupList(e.lookups,Ms)}])}function Ja(e){var t={};e.skip("uShort");var r=e.parseUShort();Eo.argument(0===r,"Unsupported kern sub-table version."),e.skip("uShort",2);var n=e.parseUShort();e.skip("uShort",3);for(var a=0;a<n;a+=1){var o=e.parseUShort(),s=e.parseUShort(),i=e.parseShort();t[o+","+s]=i}return t}function $a(e){var t={},r;e.skip("uShort"),1<e.parseULong()&&console.warn("Only the first kern subtable is supported."),e.skip("uLong");var n,a=255&e.parseUShort();if(e.skip("uShort"),0==a){var o=e.parseUShort();e.skip("uShort",3);for(var s=0;s<o;s+=1){var i=e.parseUShort(),u=e.parseUShort(),l=e.parseShort();t[i+","+u]=l}}return t}function eo(e,t){var e=new Ho.Parser(e,t),t=e.parseUShort();if(0===t)return Ja(e);if(1===t)return $a(e);throw new Error("Unsupported kern table version ("+t+").")}function to(e,t,r,n){for(var a=new Ho.Parser(e,t),o=n?a.parseUShort:a.parseULong,s=[],i=0;i<r+1;i+=1){var u=o.call(a);n&&(u*=2),s.push(u)}return s}function ro(e,r){var t;require("fs").readFile(e,function(e,t){if(e)return r(e.message);r(null,It(t))})}function no(e,t){var r=new XMLHttpRequest;r.open("get",e,!0),r.responseType="arraybuffer",r.onload=function(){return r.response?t(null,r.response):t("Font could not be loaded: "+r.statusText)},r.onerror=function(){t("Font could not be loaded")},r.send()}function ao(e,t){for(var r=[],n=12,a=0;a<t;a+=1){var o=Ho.getTag(e,n),s=Ho.getULong(e,n+4),i=Ho.getULong(e,n+8),u=Ho.getULong(e,n+12);r.push({tag:o,checksum:s,offset:i,length:u,compression:!1}),n+=16}return r}function oo(e,t){for(var r=[],n=44,a=0;a<t;a+=1){var o=Ho.getTag(e,n),s=Ho.getULong(e,n+4),i=Ho.getULong(e,n+8),u=Ho.getULong(e,n+12),l=void 0,l=i<u&&"WOFF";r.push({tag:o,offset:s,compression:l,compressedLength:i,length:u}),n+=20}return r}function so(e,t){if("WOFF"===t.compression){var r=new Uint8Array(e.buffer,t.offset+2,t.compressedLength-2),n=new Uint8Array(t.length),a;if(Oo(r,n),n.byteLength!==t.length)throw new Error("Decompression error: "+t.tag+" decompressed length doesn't match recorded length");return{data:new DataView(n.buffer,0),offset:0}}return{data:e,offset:t.offset}}function io(e,t){var r,n;t=null==t?{}:t;var a=new Wa({empty:!0}),o=new DataView(e,0),s,i=[],e=Ho.getTag(o,0),u,l,p,c,h,f,d,g,v,m,y;if(e===String.fromCharCode(0,1,0,0)||"true"===e||"typ1"===e)a.outlinesFormat="truetype",i=ao(o,s=Ho.getUShort(o,4));else if("OTTO"===e)a.outlinesFormat="cff",i=ao(o,s=Ho.getUShort(o,4));else{if("wOFF"!==e)throw new Error("Unsupported OpenType signature "+e);var b=Ho.getTag(o,4);if(b===String.fromCharCode(0,1,0,0))a.outlinesFormat="truetype";else{if("OTTO"!==b)throw new Error("Unsupported OpenType flavor "+e);a.outlinesFormat="cff"}i=oo(o,s=Ho.getUShort(o,12))}for(var S=0;S<s;S+=1){var x=i[S],T=void 0;switch(x.tag){case"cmap":T=so(o,x),a.tables.cmap=zo.parse(T.data,T.offset),a.encoding=new j(a.tables.cmap);break;case"cvt ":T=so(o,x),y=new Ho.Parser(T.data,T.offset),a.tables.cvt=y.parseShortList(x.length/2);break;case"fvar":l=x;break;case"fpgm":T=so(o,x),y=new Ho.Parser(T.data,T.offset),a.tables.fpgm=y.parseByteList(x.length);break;case"head":T=so(o,x),a.tables.head=Ko.parse(T.data,T.offset),a.unitsPerEm=a.tables.head.unitsPerEm,r=a.tables.head.indexToLocFormat;break;case"hhea":T=so(o,x),a.tables.hhea=Jo.parse(T.data,T.offset),a.ascender=a.tables.hhea.ascender,a.descender=a.tables.hhea.descender,a.numberOfHMetrics=a.tables.hhea.numberOfHMetrics;break;case"hmtx":f=x;break;case"ltag":T=so(o,x),n=es.parse(T.data,T.offset);break;case"maxp":T=so(o,x),a.tables.maxp=ts.parse(T.data,T.offset),a.numGlyphs=a.tables.maxp.numGlyphs;break;case"name":v=x;break;case"OS/2":T=so(o,x),a.tables.os2=cs.parse(T.data,T.offset);break;case"post":T=so(o,x),a.tables.post=hs.parse(T.data,T.offset),a.glyphNames=new Q(a.tables.post);break;case"prep":T=so(o,x),y=new Ho.Parser(T.data,T.offset),a.tables.prep=y.parseByteList(x.length);break;case"glyf":p=x;break;case"loca":g=x;break;case"CFF ":u=x;break;case"kern":d=x;break;case"GPOS":c=x;break;case"GSUB":h=x;break;case"meta":m=x;break}}var b=so(o,v);if(a.tables.name=ls.parse(b.data,b.offset,n),a.names=a.tables.name,p&&g){var e=0===r,b=so(o,g),b=As.parse(b.data,b.offset,a.numGlyphs,e),e=so(o,p);a.glyphs=bs.parse(e.data,e.offset,b,a,t)}else{if(!u)throw new Error("Font doesn't contain TrueType or CFF outlines.");var k=so(o,u);Qo.parse(k.data,k.offset,a,t)}var k=so(o,f),t,U,U,O,O;return $o.parse(a,k.data,k.offset,a.numberOfHMetrics,a.numGlyphs,a.glyphs,t),$(a,t),d?(t=so(o,d),a.kerningPairs=Gs.parse(t.data,t.offset)):a.kerningPairs={},c&&(U=so(o,c),a.tables.gpos=Bs.parse(U.data,U.offset),a.position.init()),h&&(U=so(o,h),a.tables.gsub=vs.parse(U.data,U.offset)),l&&(O=so(o,l),a.tables.fvar=Ds.parse(O.data,O.offset,a.names)),m&&(O=so(o,m),a.tables.meta=ms.parse(O.data,O.offset),a.metas=a.tables.meta),a}function uo(e,n,a){var t,r;("undefined"==typeof window?ro:no)(e,function(e,t){if(e)return n(e);var r;try{r=io(t,a)}catch(e){return n(e,null)}return n(null,r)})}function lo(e,t){var r,n;return io(It(require("fs").readFileSync(e)),t)}var po,co;String.prototype.codePointAt||(po=function(){try{var e={},t=Object.defineProperty,r=t(e,e,e)&&t}catch(e){}return r}(),co=function(e){if(null==this)throw TypeError();var t=String(this),r=t.length,n=e?Number(e):0;if(n!=n&&(n=0),n<0||r<=n)return;var e=t.charCodeAt(n),a;if(55296<=e&&e<=56319&&n+1<r&&56320<=(a=t.charCodeAt(n+1))&&a<=57343)return 1024*(e-55296)+a-56320+65536;return e},po?po(String.prototype,"codePointAt",{value:co,configurable:!0,writable:!0}):String.prototype.codePointAt=co);var ho=0,fo=-3,go=new r,vo=new r,mo=new Uint8Array(30),yo=new Uint16Array(30),bo=new Uint8Array(30),So=new Uint16Array(30),xo=new Uint8Array([16,17,18,0,8,7,9,6,10,5,11,4,12,3,13,2,14,1,15]),To=new r,ko=new Uint8Array(288+32),Uo=new Uint16Array(16);t(go,vo),e(mo,yo,4,3),e(bo,So,2,1),mo[28]=0,yo[28]=258;var Oo=n;c.prototype.isEmpty=function(){return isNaN(this.x1)||isNaN(this.y1)||isNaN(this.x2)||isNaN(this.y2)},c.prototype.addPoint=function(e,t){"number"==typeof e&&((isNaN(this.x1)||isNaN(this.x2))&&(this.x1=e,this.x2=e),e<this.x1&&(this.x1=e),e>this.x2&&(this.x2=e)),"number"==typeof t&&((isNaN(this.y1)||isNaN(this.y2))&&(this.y1=t,this.y2=t),t<this.y1&&(this.y1=t),t>this.y2&&(this.y2=t))},c.prototype.addX=function(e){this.addPoint(e,null)},c.prototype.addY=function(e){this.addPoint(null,e)},c.prototype.addBezier=function(e,t,r,n,a,o,s,i){var u=this,l=[e,t],p=[r,n],c=[a,o],h=[s,i];this.addPoint(e,t),this.addPoint(s,i);for(var f=0;f<=1;f++){var d=6*l[f]-12*p[f]+6*c[f],g=-3*l[f]+9*p[f]-9*c[f]+3*h[f],v=3*p[f]-3*l[f];if(0==g){if(0==d)continue;var m=-v/d;0<m&&m<1&&(0===f&&u.addX(y(l[f],p[f],c[f],h[f],m)),1===f&&u.addY(y(l[f],p[f],c[f],h[f],m)));continue}var m=Math.pow(d,2)-4*v*g;if(m<0)continue;var v=(-d+Math.sqrt(m))/(2*g);0<v&&v<1&&(0===f&&u.addX(y(l[f],p[f],c[f],h[f],v)),1===f&&u.addY(y(l[f],p[f],c[f],h[f],v)));var g=(-d-Math.sqrt(m))/(2*g);0<g&&g<1&&(0===f&&u.addX(y(l[f],p[f],c[f],h[f],g)),1===f&&u.addY(y(l[f],p[f],c[f],h[f],g)))}},c.prototype.addQuad=function(e,t,r,n,a,o){var s=e+2/3*(r-e),i=t+2/3*(n-t),r=s+1/3*(a-e),n=i+1/3*(o-t);this.addBezier(e,t,s,i,r,n,a,o)},B.prototype.moveTo=function(e,t){this.commands.push({type:"M",x:e,y:t})},B.prototype.lineTo=function(e,t){this.commands.push({type:"L",x:e,y:t})},B.prototype.curveTo=B.prototype.bezierCurveTo=function(e,t,r,n,a,o){this.commands.push({type:"C",x1:e,y1:t,x2:r,y2:n,x:a,y:o})},B.prototype.quadTo=B.prototype.quadraticCurveTo=function(e,t,r,n){this.commands.push({type:"Q",x1:e,y1:t,x:r,y:n})},B.prototype.close=B.prototype.closePath=function(){this.commands.push({type:"Z"})},B.prototype.extend=function(e){if(e.commands)e=e.commands;else if(e instanceof c){var t=e;return this.moveTo(t.x1,t.y1),this.lineTo(t.x2,t.y1),this.lineTo(t.x2,t.y2),this.lineTo(t.x1,t.y2),void this.close()}Array.prototype.push.apply(this.commands,e)},B.prototype.getBoundingBox=function(){for(var e=this,t=new c,r=0,n=0,a=0,o=0,s=0;s<this.commands.length;s++){var i=e.commands[s];switch(i.type){case"M":t.addPoint(i.x,i.y),r=a=i.x,n=o=i.y;break;case"L":t.addPoint(i.x,i.y),a=i.x,o=i.y;break;case"Q":t.addQuad(a,o,i.x1,i.y1,i.x,i.y),a=i.x,o=i.y;break;case"C":t.addBezier(a,o,i.x1,i.y1,i.x2,i.y2,i.x,i.y),a=i.x,o=i.y;break;case"Z":a=r,o=n;break;default:throw new Error("Unexpected path command "+i.type)}}return t.isEmpty()&&t.addPoint(0,0),t},B.prototype.draw=function(e){var t=this;e.beginPath();for(var r=0;r<this.commands.length;r+=1){var n=t.commands[r];"M"===n.type?e.moveTo(n.x,n.y):"L"===n.type?e.lineTo(n.x,n.y):"C"===n.type?e.bezierCurveTo(n.x1,n.y1,n.x2,n.y2,n.x,n.y):"Q"===n.type?e.quadraticCurveTo(n.x1,n.y1,n.x,n.y):"Z"===n.type&&e.closePath()}this.fill&&(e.fillStyle=this.fill,e.fill()),this.stroke&&(e.strokeStyle=this.stroke,e.lineWidth=this.strokeWidth,e.stroke())},B.prototype.toPathData=function(t){function a(e){return Math.round(e)===e?""+Math.round(e):e.toFixed(t)}function e(){for(var e=arguments,t="",r=0;r<arguments.length;r+=1){var n=e[r];0<=n&&0<r&&(t+=" "),t+=a(n)}return t}var r=this;t=void 0!==t?t:2;for(var n="",o=0;o<this.commands.length;o+=1){var s=r.commands[o];"M"===s.type?n+="M"+e(s.x,s.y):"L"===s.type?n+="L"+e(s.x,s.y):"C"===s.type?n+="C"+e(s.x1,s.y1,s.x2,s.y2,s.x,s.y):"Q"===s.type?n+="Q"+e(s.x1,s.y1,s.x,s.y):"Z"===s.type&&(n+="Z")}return n},B.prototype.toSVG=function(e){var t='<path d="';return t+=this.toPathData(e),t+='"',this.fill&&"black"!==this.fill&&(null===this.fill?t+=' fill="none"':t+=' fill="'+this.fill+'"'),this.stroke&&(t+=' stroke="'+this.stroke+'" stroke-width="'+this.strokeWidth+'"'),t+="/>"},B.prototype.toDOMElement=function(e){var t=this.toPathData(e),e=document.createElementNS("http://www.w3.org/2000/svg","path");return e.setAttribute("d",t),e};var Eo={fail:a,argument:o,assert:o},wo=32768,Ro=2147483648,Lo={},Co={},Do={};Co.BYTE=function(e){return Eo.argument(0<=e&&e<=255,"Byte value should be between 0 and 255."),[e]},Do.BYTE=g(1),Co.CHAR=function(e){return[e.charCodeAt(0)]},Do.CHAR=g(1),Co.CHARARRAY=function(e){for(var t=[],r=0;r<e.length;r+=1)t[r]=e.charCodeAt(r);return t},Do.CHARARRAY=function(e){return e.length},Co.USHORT=function(e){return[e>>8&255,255&e]},Do.USHORT=g(2),Co.SHORT=function(e){return wo<=e&&(e=-(2*wo-e)),[e>>8&255,255&e]},Do.SHORT=g(2),Co.UINT24=function(e){return[e>>16&255,e>>8&255,255&e]},Do.UINT24=g(3),Co.ULONG=function(e){return[e>>24&255,e>>16&255,e>>8&255,255&e]},Do.ULONG=g(4),Co.LONG=function(e){return Ro<=e&&(e=-(2*Ro-e)),[e>>24&255,e>>16&255,e>>8&255,255&e]},Do.LONG=g(4),Co.FIXED=Co.ULONG,Do.FIXED=Do.ULONG,Co.FWORD=Co.SHORT,Do.FWORD=Do.SHORT,Co.UFWORD=Co.USHORT,Do.UFWORD=Do.USHORT,Co.LONGDATETIME=function(e){return[0,0,0,0,e>>24&255,e>>16&255,e>>8&255,255&e]},Do.LONGDATETIME=g(8),Co.TAG=function(e){return Eo.argument(4===e.length,"Tag should be exactly 4 ASCII characters."),[e.charCodeAt(0),e.charCodeAt(1),e.charCodeAt(2),e.charCodeAt(3)]},Do.TAG=g(4),Co.Card8=Co.BYTE,Do.Card8=Do.BYTE,Co.Card16=Co.USHORT,Do.Card16=Do.USHORT,Co.OffSize=Co.BYTE,Do.OffSize=Do.BYTE,Co.SID=Co.USHORT,Do.SID=Do.USHORT,Co.NUMBER=function(e){return-107<=e&&e<=107?[e+139]:108<=e&&e<=1131?[((e-=108)>>8)+247,255&e]:-1131<=e&&e<=-108?[((e=-e-108)>>8)+251,255&e]:-32768<=e&&e<=32767?Co.NUMBER16(e):Co.NUMBER32(e)},Do.NUMBER=function(e){return Co.NUMBER(e).length},Co.NUMBER16=function(e){return[28,e>>8&255,255&e]},Do.NUMBER16=g(3),Co.NUMBER32=function(e){return[29,e>>24&255,e>>16&255,e>>8&255,255&e]},Do.NUMBER32=g(5),Co.REAL=function(e){var t=e.toString(),r=/\.(\d*?)(?:9{5,20}|0{5,20})\d{0,2}(?:e(.+)|$)/.exec(t),r,t;r&&(r=parseFloat("1e"+((r[2]?+r[2]:0)+r[1].length)),t=(Math.round(e*r)/r).toString());for(var n="",a=0,o=t.length;a<o;a+=1){var s=t[a];n+="e"===s?"-"===t[++a]?"c":"b":"."===s?"a":"-"===s?"e":s}for(var i=[30],u=0,l=(n+=1&n.length?"f":"ff").length;u<l;u+=2)i.push(parseInt(n.substr(u,2),16));return i},Do.REAL=function(e){return Co.REAL(e).length},Co.NAME=Co.CHARARRAY,Do.NAME=Do.CHARARRAY,Co.STRING=Co.CHARARRAY,Do.STRING=Do.CHARARRAY,Lo.UTF8=function(e,t,r){for(var n=[],a=r,o=0;o<a;o++,t+=1)n[o]=e.getUint8(t);return String.fromCharCode.apply(null,n)},Lo.UTF16=function(e,t,r){for(var n=[],a=r/2,o=0;o<a;o++,t+=2)n[o]=e.getUint16(t);return String.fromCharCode.apply(null,n)},Co.UTF16=function(e){for(var t=[],r=0;r<e.length;r+=1){var n=e.charCodeAt(r);t[t.length]=n>>8&255,t[t.length]=255&n}return t},Do.UTF16=function(e){return 2*e.length};var Io={"x-mac-croatian":"ÄÅÇÉÑÖÜáàâäãåçéèêëíìîïñóòôöõúùûü†°¢£§•¶ß®Š™´¨≠ŽØ∞±≤≥∆µ∂∑∏š∫ªºΩžø"+"¿¡¬√ƒ≈ƫȅ ÀÃÕŒœĐ—“”‘’÷◊©⁄€‹›Æ»–·‚„‰ÂćÁčÈÍÎÏÌÓÔđÒÚÛÙıˆ˜¯πË˚¸Êæˇ","x-mac-cyrillic":"АБВГДЕЖЗИЙКЛМНОПРСТУФХЦЧШЩЪЫЬЭЮЯ†°Ґ£§•¶І®©™Ђђ≠Ѓѓ∞±≤≥іµґЈЄєЇїЉљЊњ"+"јЅ¬√ƒ≈∆«»… ЋћЌќѕ–—“”‘’÷„ЎўЏџ№Ёёяабвгдежзийклмнопрстуфхцчшщъыьэю","x-mac-gaelic":"ÄÅÇÉÑÖÜáàâäãåçéèêëíìîïñóòôöõúùûü†°¢£§•¶ß®©™´¨≠ÆØḂ±≤≥ḃĊċḊḋḞḟĠġṀæø"+"ṁṖṗɼƒſṠ«»… ÀÃÕŒœ–—“”‘’ṡẛÿŸṪ€‹›Ŷŷṫ·Ỳỳ⁊ÂÊÁËÈÍÎÏÌÓÔ♣ÒÚÛÙıÝýŴŵẄẅẀẁẂẃ","x-mac-greek":"Ĺ²É³ÖÜ΅àâä΄¨çéèê룙î‰ôö¦€ùûü†ΓΔΘΛΞΠß®©ΣΪ§≠°·Α±≤≥¥ΒΕΖΗΙΚΜΦΫΨΩ"+"άΝ¬ΟΡ≈Τ«»… ΥΧΆΈœ–―“”‘’÷ΉΊΌΎέήίόΏύαβψδεφγηιξκλμνοπώρστθωςχυζϊϋΐΰ","x-mac-icelandic":"ÄÅÇÉÑÖÜáàâäãåçéèêëíìîïñóòôöõúùûüݰ¢£§•¶ß®©™´¨≠ÆØ∞±≤≥¥µ∂∑∏π∫ªºΩæø"+"¿¡¬√ƒ≈∆«»… ÀÃÕŒœ–—“”‘’÷◊ÿŸ⁄€ÐðÞþý·‚„‰ÂÊÁËÈÍÎÏÌÓÔÒÚÛÙıˆ˜¯˘˙˚¸˝˛ˇ","x-mac-inuit":"ᐃᐄᐅᐆᐊᐋᐱᐲᐳᐴᐸᐹᑉᑎᑏᑐᑑᑕᑖᑦᑭᑮᑯᑰᑲᑳᒃᒋᒌᒍᒎᒐᒑ°ᒡᒥᒦ•¶ᒧ®©™ᒨᒪᒫᒻᓂᓃᓄᓅᓇᓈᓐᓯᓰᓱᓲᓴᓵᔅᓕᓖᓗ"+"ᓘᓚᓛᓪᔨᔩᔪᔫᔭ… ᔮᔾᕕᕖᕗ–—“”‘’ᕘᕙᕚᕝᕆᕇᕈᕉᕋᕌᕐᕿᖀᖁᖂᖃᖄᖅᖏᖐᖑᖒᖓᖔᖕᙱᙲᙳᙴᙵᙶᖖᖠᖡᖢᖣᖤᖥᖦᕼŁł","x-mac-ce":"ÄĀāÉĄÖÜáąČäčĆć鏟ĎíďĒēĖóėôöõúĚěü†°Ę£§•¶ß®©™ę¨≠ģĮįĪ≤≥īĶ∂∑łĻļĽľĹĺŅ"+"ņѬ√ńŇ∆«»… ňŐÕőŌ–—“”‘’÷◊ōŔŕŘ‹›řŖŗŠ‚„šŚśÁŤťÍŽžŪÓÔūŮÚůŰűŲųÝýķŻŁżĢˇ",macintosh:"ÄÅÇÉÑÖÜáàâäãåçéèêëíìîïñóòôöõúùûü†°¢£§•¶ß®©™´¨≠ÆØ∞±≤≥¥µ∂∑∏π∫ªºΩæø"+"¿¡¬√ƒ≈∆«»… ÀÃÕŒœ–—“”‘’÷◊ÿŸ⁄€‹›fifl‡·‚„‰ÂÊÁËÈÍÎÏÌÓÔÒÚÛÙıˆ˜¯˘˙˚¸˝˛ˇ","x-mac-romanian":"ÄÅÇÉÑÖÜáàâäãåçéèêëíìîïñóòôöõúùûü†°¢£§•¶ß®©™´¨≠ĂȘ∞±≤≥¥µ∂∑∏π∫ªºΩăș"+"¿¡¬√ƒ≈∆«»… ÀÃÕŒœ–—“”‘’÷◊ÿŸ⁄€‹›Țț‡·‚„‰ÂÊÁËÈÍÎÏÌÓÔÒÚÛÙıˆ˜¯˘˙˚¸˝˛ˇ","x-mac-turkish":"ÄÅÇÉÑÖÜáàâäãåçéèêëíìîïñóòôöõúùûü†°¢£§•¶ß®©™´¨≠ÆØ∞±≤≥¥µ∂∑∏π∫ªºΩæø"+"¿¡¬√ƒ≈∆«»… ÀÃÕŒœ–—“”‘’÷◊ÿŸĞğİıŞş‡·‚„‰ÂÊÁËÈÍÎÏÌÓÔÒÚÛÙˆ˜¯˘˙˚¸˝˛ˇ"};Lo.MACSTRING=function(e,t,r,n){var a=Io[n];if(void 0===a)return;for(var o="",s=0;s<r;s++){var i=e.getUint8(t+s);o+=i<=127?String.fromCharCode(i):a[127&i]}return o};var Mo="function"==typeof WeakMap&&new WeakMap,Bo,Go=function(e){if(!Bo)for(var t in Bo={},Io)Bo[t]=new String(t);var r=Bo[e];if(void 0===r)return;if(Mo){var n=Mo.get(r);if(void 0!==n)return n}var a=Io[e];if(void 0===a)return;for(var o={},s=0;s<a.length;s++)o[a.charCodeAt(s)]=s+128;return Mo&&Mo.set(r,o),o};Co.MACSTRING=function(e,t){var r=Go(t);if(void 0===r)return;for(var n=[],a=0;a<e.length;a++){var o=e.charCodeAt(a);if(128<=o&&void 0===(o=r[o]))return;n[a]=o}return n},Do.MACSTRING=function(e,t){var t=Co.MACSTRING(e,t);return void 0!==t?t.length:0},Co.VARDELTAS=function(e){var t=0,r=[];while(t<e.length)var n=e[t],t=(0===n?m:-128<=n&&n<=127?b:x)(e,t,r);return r},Co.INDEX=function(e){for(var t=1,r=[t],n=[],a=0;a<e.length;a+=1){var o=Co.OBJECT(e[a]);Array.prototype.push.apply(n,o),t+=o.length,r.push(t)}if(0===n.length)return[0,0];for(var s=[],i=1+Math.floor(Math.log(t)/Math.log(2))/8|0,u=[void 0,Co.BYTE,Co.USHORT,Co.UINT24,Co.ULONG][i],l=0;l<r.length;l+=1){var p=u(r[l]);Array.prototype.push.apply(s,p)}return Array.prototype.concat(Co.Card16(e.length),Co.OffSize(i),s,n)},Do.INDEX=function(e){return Co.INDEX(e).length},Co.DICT=function(e){for(var t=[],r=Object.keys(e),n=r.length,a=0;a<n;a+=1){var o=parseInt(r[a],0),s=e[o],t;t=(t=t.concat(Co.OPERAND(s.value,s.type))).concat(Co.OPERATOR(o))}return t},Do.DICT=function(e){return Co.DICT(e).length},Co.OPERATOR=function(e){return e<1200?[e]:[12,e-1200]},Co.OPERAND=function(e,t){var r=[];if(Array.isArray(t))for(var n=0;n<t.length;n+=1)Eo.argument(e.length===t.length,"Not enough arguments given for type"+t),r=r.concat(Co.OPERAND(e[n],t[n]));else if("SID"===t)r=r.concat(Co.NUMBER(e));else if("offset"===t)r=r.concat(Co.NUMBER32(e));else if("number"===t)r=r.concat(Co.NUMBER(e));else{if("real"!==t)throw new Error("Unknown operand type "+t);r=r.concat(Co.REAL(e))}return r},Co.OP=Co.BYTE,Do.OP=Do.BYTE;var Ao="function"==typeof WeakMap&&new WeakMap;Co.CHARSTRING=function(e){if(Ao){var t=Ao.get(e);if(void 0!==t)return t}for(var r=[],n=e.length,a=0;a<n;a+=1)var o=e[a],r=r.concat(Co[o.type](o.value));return Ao&&Ao.set(e,r),r},Do.CHARSTRING=function(e){return Co.CHARSTRING(e).length},Co.OBJECT=function(e){var t=Co[e.type];return Eo.argument(void 0!==t,"No encoding function for type "+e.type),t(e.value)},Do.OBJECT=function(e){var t=Do[e.type];return Eo.argument(void 0!==t,"No sizeOf function for type "+e.type),t(e.value)},Co.TABLE=function(e){for(var t=[],r=e.fields.length,n=[],a=[],o=0;o<r;o+=1){var s=e.fields[o],i=Co[s.type];Eo.argument(void 0!==i,"No encoding function for field type "+s.type+" ("+s.name+")");var u=e[s.name];void 0===u&&(u=s.value);var u=i(u);"TABLE"===s.type?(a.push(t.length),t=t.concat([0,0]),n.push(u)):t=t.concat(u)}for(var l=0;l<n.length;l+=1){var p=a[l],c=t.length;Eo.argument(c<65536,"Table "+e.tableName+" too big."),t[p]=c>>8,t[p+1]=255&c,t=t.concat(n[l])}return t},Do.TABLE=function(e){for(var t=0,r=e.fields.length,n=0;n<r;n+=1){var a=e.fields[n],o=Do[a.type];Eo.argument(void 0!==o,"No sizeOf function for field type "+a.type+" ("+a.name+")");var s=e[a.name];void 0===s&&(s=a.value),t+=o(s),"TABLE"===a.type&&(t+=2)}return t},Co.RECORD=Co.TABLE,Do.RECORD=Do.TABLE,Co.LITERAL=function(e){return e},Do.LITERAL=function(e){return e.length},T.prototype.encode=function(){return Co.TABLE(this)},T.prototype.sizeOf=function(){return Do.TABLE(this)};var Fo={Table:T,Record:T,Coverage:(E.prototype=Object.create(T.prototype)).constructor=E,ScriptList:(w.prototype=Object.create(T.prototype)).constructor=w,FeatureList:(R.prototype=Object.create(T.prototype)).constructor=R,LookupList:(L.prototype=Object.create(T.prototype)).constructor=L,ushortList:k,tableList:U,recordList:O},No={byte:1,uShort:2,short:2,uLong:4,fixed:4,longDateTime:8,tag:4};H.prototype.parseByte=function(){var e=this.data.getUint8(this.offset+this.relativeOffset);return this.relativeOffset+=1,e},H.prototype.parseChar=function(){var e=this.data.getInt8(this.offset+this.relativeOffset);return this.relativeOffset+=1,e},H.prototype.parseCard8=H.prototype.parseByte,H.prototype.parseCard16=H.prototype.parseUShort=function(){var e=this.data.getUint16(this.offset+this.relativeOffset);return this.relativeOffset+=2,e},H.prototype.parseSID=H.prototype.parseUShort,H.prototype.parseOffset16=H.prototype.parseUShort,H.prototype.parseShort=function(){var e=this.data.getInt16(this.offset+this.relativeOffset);return this.relativeOffset+=2,e},H.prototype.parseF2Dot14=function(){var e=this.data.getInt16(this.offset+this.relativeOffset)/16384;return this.relativeOffset+=2,e},H.prototype.parseOffset32=H.prototype.parseULong=function(){var e=M(this.data,this.offset+this.relativeOffset);return this.relativeOffset+=4,e},H.prototype.parseFixed=function(){var e=G(this.data,this.offset+this.relativeOffset);return this.relativeOffset+=4,e},H.prototype.parseString=function(e){var t=this.data,r=this.offset+this.relativeOffset,n="";this.relativeOffset+=e;for(var a=0;a<e;a++)n+=String.fromCharCode(t.getUint8(r+a));return n},H.prototype.parseTag=function(){return this.parseString(4)},H.prototype.parseLongDateTime=function(){var e=M(this.data,this.offset+this.relativeOffset+4);return e-=2082844800,this.relativeOffset+=8,e},H.prototype.parseVersion=function(e){var t=D(this.data,this.offset+this.relativeOffset),r=D(this.data,this.offset+this.relativeOffset+2);return this.relativeOffset+=4,void 0===e&&(e=4096),t+r/e/10},H.prototype.skip=function(e,t){void 0===t&&(t=1),this.relativeOffset+=No[e]*t},H.prototype.parseULongList=function(e){void 0===e&&(e=this.parseULong());for(var t=new Array(e),r=this.data,n=this.offset+this.relativeOffset,a=0;a<e;a++)t[a]=r.getUint32(n),n+=4;return this.relativeOffset+=4*e,t},H.prototype.parseOffset16List=H.prototype.parseUShortList=function(e){void 0===e&&(e=this.parseUShort());for(var t=new Array(e),r=this.data,n=this.offset+this.relativeOffset,a=0;a<e;a++)t[a]=r.getUint16(n),n+=2;return this.relativeOffset+=2*e,t},H.prototype.parseShortList=function(e){for(var t=new Array(e),r=this.data,n=this.offset+this.relativeOffset,a=0;a<e;a++)t[a]=r.getInt16(n),n+=2;return this.relativeOffset+=2*e,t},H.prototype.parseByteList=function(e){for(var t=new Array(e),r=this.data,n=this.offset+this.relativeOffset,a=0;a<e;a++)t[a]=r.getUint8(n++);return this.relativeOffset+=e,t},H.prototype.parseList=function(e,t){var r=this;t||(t=e,e=this.parseUShort());for(var n=new Array(e),a=0;a<e;a++)n[a]=t.call(r);return n},H.prototype.parseList32=function(e,t){var r=this;t||(t=e,e=this.parseULong());for(var n=new Array(e),a=0;a<e;a++)n[a]=t.call(r);return n},H.prototype.parseRecordList=function(e,t){var r=this;t||(t=e,e=this.parseUShort());for(var n=new Array(e),a=Object.keys(t),o=0;o<e;o++){for(var s={},i=0;i<a.length;i++){var u=a[i],l=t[u];s[u]=l.call(r)}n[o]=s}return n},H.prototype.parseRecordList32=function(e,t){var r=this;t||(t=e,e=this.parseULong());for(var n=new Array(e),a=Object.keys(t),o=0;o<e;o++){for(var s={},i=0;i<a.length;i++){var u=a[i],l=t[u];s[u]=l.call(r)}n[o]=s}return n},H.prototype.parseStruct=function(e){var t=this;if("function"==typeof e)return e.call(this);for(var r=Object.keys(e),n={},a=0;a<r.length;a++){var o=r[a],s=e[o];n[o]=s.call(t)}return n},H.prototype.parseValueRecord=function(e){if(void 0===e&&(e=this.parseUShort()),0===e)return;var t={};return 1&e&&(t.xPlacement=this.parseShort()),2&e&&(t.yPlacement=this.parseShort()),4&e&&(t.xAdvance=this.parseShort()),8&e&&(t.yAdvance=this.parseShort()),16&e&&(t.xPlaDevice=void 0,this.parseShort()),32&e&&(t.yPlaDevice=void 0,this.parseShort()),64&e&&(t.xAdvDevice=void 0,this.parseShort()),128&e&&(t.yAdvDevice=void 0,this.parseShort()),t},H.prototype.parseValueRecordList=function(){for(var e=this,t=this.parseUShort(),r=this.parseUShort(),n=new Array(r),a=0;a<r;a++)n[a]=e.parseValueRecord(t);return n},H.prototype.parsePointer=function(e){var t=this.parseOffset16();if(0<t)return new H(this.data,this.offset+t).parseStruct(e);return},H.prototype.parsePointer32=function(e){var t=this.parseOffset32();if(0<t)return new H(this.data,this.offset+t).parseStruct(e);return},H.prototype.parseListOfLists=function(e){for(var t=this,r=this.parseOffset16List(),n=r.length,a=this.relativeOffset,o=new Array(n),s=0;s<n;s++){var i=r[s];if(0===i){o[s]=void 0;continue}if(t.relativeOffset=i,e){for(var u=t.parseOffset16List(),l=new Array(u.length),p=0;p<u.length;p++)t.relativeOffset=i+u[p],l[p]=e.call(t);o[s]=l}else o[s]=t.parseUShortList()}return this.relativeOffset=a,o},H.prototype.parseCoverage=function(){var e=this,t=this.offset+this.relativeOffset,r=this.parseUShort(),n=this.parseUShort();if(1===r)return{format:1,glyphs:this.parseUShortList(n)};if(2===r){for(var a=new Array(n),o=0;o<n;o++)a[o]={start:e.parseUShort(),end:e.parseUShort(),index:e.parseUShort()};return{format:2,ranges:a}}throw new Error("0x"+t.toString(16)+": Coverage format must be 1 or 2.")},H.prototype.parseClassDef=function(){var e=this.offset+this.relativeOffset,t=this.parseUShort();if(1===t)return{format:1,startGlyph:this.parseUShort(),classes:this.parseUShortList()};if(2===t)return{format:2,ranges:this.parseRecordList({start:H.uShort,end:H.uShort,classId:H.uShort})};throw new Error("0x"+e.toString(16)+": ClassDef format must be 1 or 2.")},H.list=function(e,t){return function(){return this.parseList(e,t)}},H.list32=function(e,t){return function(){return this.parseList32(e,t)}},H.recordList=function(e,t){return function(){return this.parseRecordList(e,t)}},H.recordList32=function(e,t){return function(){return this.parseRecordList32(e,t)}},H.pointer=function(e){return function(){return this.parsePointer(e)}},H.pointer32=function(e){return function(){return this.parsePointer32(e)}},H.tag=H.prototype.parseTag,H.byte=H.prototype.parseByte,H.uShort=H.offset16=H.prototype.parseUShort,H.uShortList=H.prototype.parseUShortList,H.uLong=H.offset32=H.prototype.parseULong,H.uLongList=H.prototype.parseULongList,H.struct=H.prototype.parseStruct,H.coverage=H.prototype.parseCoverage,H.classDef=H.prototype.parseClassDef;var Po={reserved:H.uShort,reqFeatureIndex:H.uShort,featureIndexes:H.uShortList};H.prototype.parseScriptList=function(){return this.parsePointer(H.recordList({tag:H.tag,script:H.pointer({defaultLangSys:H.pointer(Po),langSysRecords:H.recordList({tag:H.tag,langSys:H.pointer(Po)})})}))||[]},H.prototype.parseFeatureList=function(){return this.parsePointer(H.recordList({tag:H.tag,feature:H.pointer({featureParams:H.offset16,lookupListIndexes:H.uShortList})}))||[]},H.prototype.parseLookupList=function(n){return this.parsePointer(H.list(H.pointer(function(){var e=this.parseUShort();Eo.argument(1<=e&&e<=9,"GPOS/GSUB lookup type "+e+" unknown.");var t=this.parseUShort(),r=16&t;return{lookupType:e,lookupFlag:t,subtables:this.parseList(H.pointer(n[e])),markFilteringSet:r?this.parseUShort():void 0}})))||[]},H.prototype.parseFeatureVariationsList=function(){return this.parsePointer32(function(){var e=this.parseUShort(),t=this.parseUShort(),r;return Eo.argument(1===e&&t<1,"GPOS/GSUB feature variations table unknown."),this.parseRecordList32({conditionSetOffset:H.offset32,featureTableSubstitutionOffset:H.offset32})})||[]};var Ho={getByte:C,getCard8:C,getUShort:D,getCard16:D,getShort:I,getULong:M,getFixed:G,getTag:A,getOffset:F,getBytes:N,bytesToString:P,Parser:H},zo={parse:_,make:V},Wo=[".notdef","space","exclam","quotedbl","numbersign","dollar","percent","ampersand","quoteright","parenleft","parenright","asterisk","plus","comma","hyphen","period","slash","zero","one","two","three","four","five","six","seven","eight","nine","colon","semicolon","less","equal","greater","question","at","A","B","C","D","E","F","G","H","I","J","K","L","M","N","O","P","Q","R","S","T","U","V","W","X","Y","Z","bracketleft","backslash","bracketright","asciicircum","underscore","quoteleft","a","b","c","d","e","f","g","h","i","j","k","l","m","n","o","p","q","r","s","t","u","v","w","x","y","z","braceleft","bar","braceright","asciitilde","exclamdown","cent","sterling","fraction","yen","florin","section","currency","quotesingle","quotedblleft","guillemotleft","guilsinglleft","guilsinglright","fi","fl","endash","dagger","daggerdbl","periodcentered","paragraph","bullet","quotesinglbase","quotedblbase","quotedblright","guillemotright","ellipsis","perthousand","questiondown","grave","acute","circumflex","tilde","macron","breve","dotaccent","dieresis","ring","cedilla","hungarumlaut","ogonek","caron","emdash","AE","ordfeminine","Lslash","Oslash","OE","ordmasculine","ae","dotlessi","lslash","oslash","oe","germandbls","onesuperior","logicalnot","mu","trademark","Eth","onehalf","plusminus","Thorn","onequarter","divide","brokenbar","degree","thorn","threequarters","twosuperior","registered","minus","eth","multiply","threesuperior","copyright","Aacute","Acircumflex","Adieresis","Agrave","Aring","Atilde","Ccedilla","Eacute","Ecircumflex","Edieresis","Egrave","Iacute","Icircumflex","Idieresis","Igrave","Ntilde","Oacute","Ocircumflex","Odieresis","Ograve","Otilde","Scaron","Uacute","Ucircumflex","Udieresis","Ugrave","Yacute","Ydieresis","Zcaron","aacute","acircumflex","adieresis","agrave","aring","atilde","ccedilla","eacute","ecircumflex","edieresis","egrave","iacute","icircumflex","idieresis","igrave","ntilde","oacute","ocircumflex","odieresis","ograve","otilde","scaron","uacute","ucircumflex","udieresis","ugrave","yacute","ydieresis","zcaron","exclamsmall","Hungarumlautsmall","dollaroldstyle","dollarsuperior","ampersandsmall","Acutesmall","parenleftsuperior","parenrightsuperior","266 ff","onedotenleader","zerooldstyle","oneoldstyle","twooldstyle","threeoldstyle","fouroldstyle","fiveoldstyle","sixoldstyle","sevenoldstyle","eightoldstyle","nineoldstyle","commasuperior","threequartersemdash","periodsuperior","questionsmall","asuperior","bsuperior","centsuperior","dsuperior","esuperior","isuperior","lsuperior","msuperior","nsuperior","osuperior","rsuperior","ssuperior","tsuperior","ff","ffi","ffl","parenleftinferior","parenrightinferior","Circumflexsmall","hyphensuperior","Gravesmall","Asmall","Bsmall","Csmall","Dsmall","Esmall","Fsmall","Gsmall","Hsmall","Ismall","Jsmall","Ksmall","Lsmall","Msmall","Nsmall","Osmall","Psmall","Qsmall","Rsmall","Ssmall","Tsmall","Usmall","Vsmall","Wsmall","Xsmall","Ysmall","Zsmall","colonmonetary","onefitted","rupiah","Tildesmall","exclamdownsmall","centoldstyle","Lslashsmall","Scaronsmall","Zcaronsmall","Dieresissmall","Brevesmall","Caronsmall","Dotaccentsmall","Macronsmall","figuredash","hypheninferior","Ogoneksmall","Ringsmall","Cedillasmall","questiondownsmall","oneeighth","threeeighths","fiveeighths","seveneighths","onethird","twothirds","zerosuperior","foursuperior","fivesuperior","sixsuperior","sevensuperior","eightsuperior","ninesuperior","zeroinferior","oneinferior","twoinferior","threeinferior","fourinferior","fiveinferior","sixinferior","seveninferior","eightinferior","nineinferior","centinferior","dollarinferior","periodinferior","commainferior","Agravesmall","Aacutesmall","Acircumflexsmall","Atildesmall","Adieresissmall","Aringsmall","AEsmall","Ccedillasmall","Egravesmall","Eacutesmall","Ecircumflexsmall","Edieresissmall","Igravesmall","Iacutesmall","Icircumflexsmall","Idieresissmall","Ethsmall","Ntildesmall","Ogravesmall","Oacutesmall","Ocircumflexsmall","Otildesmall","Odieresissmall","OEsmall","Oslashsmall","Ugravesmall","Uacutesmall","Ucircumflexsmall","Udieresissmall","Yacutesmall","Thornsmall","Ydieresissmall","001.000","001.001","001.002","001.003","Black","Bold","Book","Light","Medium","Regular","Roman","Semibold"],_o=["","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","space","exclam","quotedbl","numbersign","dollar","percent","ampersand","quoteright","parenleft","parenright","asterisk","plus","comma","hyphen","period","slash","zero","one","two","three","four","five","six","seven","eight","nine","colon","semicolon","less","equal","greater","question","at","A","B","C","D","E","F","G","H","I","J","K","L","M","N","O","P","Q","R","S","T","U","V","W","X","Y","Z","bracketleft","backslash","bracketright","asciicircum","underscore","quoteleft","a","b","c","d","e","f","g","h","i","j","k","l","m","n","o","p","q","r","s","t","u","v","w","x","y","z","braceleft","bar","braceright","asciitilde","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","exclamdown","cent","sterling","fraction","yen","florin","section","currency","quotesingle","quotedblleft","guillemotleft","guilsinglleft","guilsinglright","fi","fl","","endash","dagger","daggerdbl","periodcentered","","paragraph","bullet","quotesinglbase","quotedblbase","quotedblright","guillemotright","ellipsis","perthousand","","questiondown","","grave","acute","circumflex","tilde","macron","breve","dotaccent","dieresis","","ring","cedilla","","hungarumlaut","ogonek","caron","emdash","","","","","","","","","","","","","","","","","AE","","ordfeminine","","","","","Lslash","Oslash","OE","ordmasculine","","","","","","ae","","","","dotlessi","","","lslash","oslash","oe","germandbls"],qo=["","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","space","exclamsmall","Hungarumlautsmall","","dollaroldstyle","dollarsuperior","ampersandsmall","Acutesmall","parenleftsuperior","parenrightsuperior","twodotenleader","onedotenleader","comma","hyphen","period","fraction","zerooldstyle","oneoldstyle","twooldstyle","threeoldstyle","fouroldstyle","fiveoldstyle","sixoldstyle","sevenoldstyle","eightoldstyle","nineoldstyle","colon","semicolon","commasuperior","threequartersemdash","periodsuperior","questionsmall","","asuperior","bsuperior","centsuperior","dsuperior","esuperior","","","isuperior","","","lsuperior","msuperior","nsuperior","osuperior","","","rsuperior","ssuperior","tsuperior","","ff","fi","fl","ffi","ffl","parenleftinferior","","parenrightinferior","Circumflexsmall","hyphensuperior","Gravesmall","Asmall","Bsmall","Csmall","Dsmall","Esmall","Fsmall","Gsmall","Hsmall","Ismall","Jsmall","Ksmall","Lsmall","Msmall","Nsmall","Osmall","Psmall","Qsmall","Rsmall","Ssmall","Tsmall","Usmall","Vsmall","Wsmall","Xsmall","Ysmall","Zsmall","colonmonetary","onefitted","rupiah","Tildesmall","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","exclamdownsmall","centoldstyle","Lslashsmall","","","Scaronsmall","Zcaronsmall","Dieresissmall","Brevesmall","Caronsmall","","Dotaccentsmall","","","Macronsmall","","","figuredash","hypheninferior","","","Ogoneksmall","Ringsmall","Cedillasmall","","","","onequarter","onehalf","threequarters","questiondownsmall","oneeighth","threeeighths","fiveeighths","seveneighths","onethird","twothirds","","","zerosuperior","onesuperior","twosuperior","threesuperior","foursuperior","fivesuperior","sixsuperior","sevensuperior","eightsuperior","ninesuperior","zeroinferior","oneinferior","twoinferior","threeinferior","fourinferior","fiveinferior","sixinferior","seveninferior","eightinferior","nineinferior","centinferior","dollarinferior","periodinferior","commainferior","Agravesmall","Aacutesmall","Acircumflexsmall","Atildesmall","Adieresissmall","Aringsmall","AEsmall","Ccedillasmall","Egravesmall","Eacutesmall","Ecircumflexsmall","Edieresissmall","Igravesmall","Iacutesmall","Icircumflexsmall","Idieresissmall","Ethsmall","Ntildesmall","Ogravesmall","Oacutesmall","Ocircumflexsmall","Otildesmall","Odieresissmall","OEsmall","Oslashsmall","Ugravesmall","Uacutesmall","Ucircumflexsmall","Udieresissmall","Yacutesmall","Thornsmall","Ydieresissmall"],Xo=[".notdef",".null","nonmarkingreturn","space","exclam","quotedbl","numbersign","dollar","percent","ampersand","quotesingle","parenleft","parenright","asterisk","plus","comma","hyphen","period","slash","zero","one","two","three","four","five","six","seven","eight","nine","colon","semicolon","less","equal","greater","question","at","A","B","C","D","E","F","G","H","I","J","K","L","M","N","O","P","Q","R","S","T","U","V","W","X","Y","Z","bracketleft","backslash","bracketright","asciicircum","underscore","grave","a","b","c","d","e","f","g","h","i","j","k","l","m","n","o","p","q","r","s","t","u","v","w","x","y","z","braceleft","bar","braceright","asciitilde","Adieresis","Aring","Ccedilla","Eacute","Ntilde","Odieresis","Udieresis","aacute","agrave","acircumflex","adieresis","atilde","aring","ccedilla","eacute","egrave","ecircumflex","edieresis","iacute","igrave","icircumflex","idieresis","ntilde","oacute","ograve","ocircumflex","odieresis","otilde","uacute","ugrave","ucircumflex","udieresis","dagger","degree","cent","sterling","section","bullet","paragraph","germandbls","registered","copyright","trademark","acute","dieresis","notequal","AE","Oslash","infinity","plusminus","lessequal","greaterequal","yen","mu","partialdiff","summation","product","pi","integral","ordfeminine","ordmasculine","Omega","ae","oslash","questiondown","exclamdown","logicalnot","radical","florin","approxequal","Delta","guillemotleft","guillemotright","ellipsis","nonbreakingspace","Agrave","Atilde","Otilde","OE","oe","endash","emdash","quotedblleft","quotedblright","quoteleft","quoteright","divide","lozenge","ydieresis","Ydieresis","fraction","currency","guilsinglleft","guilsinglright","fi","fl","daggerdbl","periodcentered","quotesinglbase","quotedblbase","perthousand","Acircumflex","Ecircumflex","Aacute","Edieresis","Egrave","Iacute","Icircumflex","Idieresis","Igrave","Oacute","Ocircumflex","apple","Ograve","Uacute","Ucircumflex","Ugrave","dotlessi","circumflex","tilde","macron","breve","dotaccent","ring","cedilla","hungarumlaut","ogonek","caron","Lslash","lslash","Scaron","scaron","Zcaron","zcaron","brokenbar","Eth","eth","Yacute","yacute","Thorn","thorn","minus","multiply","onesuperior","twosuperior","threesuperior","onehalf","onequarter","threequarters","franc","Gbreve","gbreve","Idotaccent","Scedilla","scedilla","Cacute","cacute","Ccaron","ccaron","dcroat"];Y.prototype.charToGlyphIndex=function(e){var t=e.codePointAt(0),r=this.font.glyphs;if(r)for(var n=0;n<r.length;n+=1)for(var a=r.get(n),o=0;o<a.unicodes.length;o+=1)if(a.unicodes[o]===t)return n;return null},j.prototype.charToGlyphIndex=function(e){return this.cmap.glyphIndexMap[e.codePointAt(0)]||0},Z.prototype.charToGlyphIndex=function(e){var e=e.codePointAt(0),e=this.encoding[e];return this.charset.indexOf(e)},Q.prototype.nameToGlyphIndex=function(e){return this.names.indexOf(e)},Q.prototype.glyphIndexToName=function(e){return this.names[e]};var Vo={line:ee};re.prototype.bindConstructorValues=function(e){this.index=e.index||0,this.name=e.name||null,this.unicode=e.unicode||void 0,this.unicodes=e.unicodes||void 0!==e.unicode?[e.unicode]:[],e.xMin&&(this.xMin=e.xMin),e.yMin&&(this.yMin=e.yMin),e.xMax&&(this.xMax=e.xMax),e.yMax&&(this.yMax=e.yMax),e.advanceWidth&&(this.advanceWidth=e.advanceWidth),Object.defineProperty(this,"path",te(this,e.path))},re.prototype.addUnicode=function(e){0===this.unicodes.length&&(this.unicode=e),this.unicodes.push(e)},re.prototype.getBoundingBox=function(){return this.path.getBoundingBox()},re.prototype.getPath=function(e,t,r,n,a){var o,s;e=void 0!==e?e:0,t=void 0!==t?t:0,r=void 0!==r?r:72;var i=(n=n||{}).xScale,u=n.yScale,r;n.hinting&&a&&a.hinting&&(s=this.path&&a.hinting.exec(this,r)),s?(o=a.hinting.getCommands(s),e=Math.round(e),t=Math.round(t),i=u=1):(o=this.path.commands,r=1/(this.path.unitsPerEm||1e3)*r,void 0===i&&(i=r),void 0===u&&(u=r));for(var l=new B,p=0;p<o.length;p+=1){var c=o[p];"M"===c.type?l.moveTo(e+c.x*i,t+-c.y*u):"L"===c.type?l.lineTo(e+c.x*i,t+-c.y*u):"Q"===c.type?l.quadraticCurveTo(e+c.x1*i,t+-c.y1*u,e+c.x*i,t+-c.y*u):"C"===c.type?l.curveTo(e+c.x1*i,t+-c.y1*u,e+c.x2*i,t+-c.y2*u,e+c.x*i,t+-c.y*u):"Z"===c.type&&l.closePath()}return l},re.prototype.getContours=function(){var e=this;if(void 0===this.points)return[];for(var t=[],r=[],n=0;n<this.points.length;n+=1){var a=e.points[n];r.push(a),a.lastPointOfContour&&(t.push(r),r=[])}return Eo.argument(0===r.length,"There are still points left in the current contour."),t},re.prototype.getMetrics=function(){for(var e=this.path.commands,t=[],r=[],n=0;n<e.length;n+=1){var a=e[n];"Z"!==a.type&&(t.push(a.x),r.push(a.y)),"Q"!==a.type&&"C"!==a.type||(t.push(a.x1),r.push(a.y1)),"C"===a.type&&(t.push(a.x2),r.push(a.y2))}var o={xMin:Math.min.apply(null,t),yMin:Math.min.apply(null,r),xMax:Math.max.apply(null,t),yMax:Math.max.apply(null,r),leftSideBearing:this.leftSideBearing};return isFinite(o.xMin)||(o.xMin=0),isFinite(o.xMax)||(o.xMax=this.advanceWidth),isFinite(o.yMin)||(o.yMin=0),isFinite(o.yMax)||(o.yMax=0),o.rightSideBearing=this.advanceWidth-o.leftSideBearing-(o.xMax-o.xMin),o},re.prototype.draw=function(e,t,r,n,a){this.getPath(t,r,n,a).draw(e)},re.prototype.drawPoints=function(s,e,t,r){function n(e,t,r,n){var a=2*Math.PI;s.beginPath();for(var o=0;o<e.length;o+=1)s.moveTo(t+e[o].x*n,r+e[o].y*n),s.arc(t+e[o].x*n,r+e[o].y*n,2,0,a,!1);s.closePath(),s.fill()}e=void 0!==e?e:0,t=void 0!==t?t:0,r=void 0!==r?r:24;for(var r=1/this.path.unitsPerEm*r,a=[],o=[],i=this.path,u=0;u<i.commands.length;u+=1){var l=i.commands[u];void 0!==l.x&&a.push({x:l.x,y:-l.y}),void 0!==l.x1&&o.push({x:l.x1,y:-l.y1}),void 0!==l.x2&&o.push({x:l.x2,y:-l.y2})}s.fillStyle="blue",n(a,e,t,r),s.fillStyle="red",n(o,e,t,r)},re.prototype.drawMetrics=function(e,t,r,n){var a;t=void 0!==t?t:0,r=void 0!==r?r:0,n=void 0!==n?n:24,a=1/this.path.unitsPerEm*n,e.lineWidth=1,e.strokeStyle="black",Vo.line(e,t,-1e4,t,1e4),Vo.line(e,-1e4,r,1e4,r);var o=this.xMin||0,s=this.yMin||0,i=this.xMax||0,u=this.yMax||0,n=this.advanceWidth||0;e.strokeStyle="blue",Vo.line(e,t+o*a,-1e4,t+o*a,1e4),Vo.line(e,t+i*a,-1e4,t+i*a,1e4),Vo.line(e,-1e4,r+-s*a,1e4,r+-s*a),Vo.line(e,-1e4,r+-u*a,1e4,r+-u*a),e.strokeStyle="green",Vo.line(e,t+n*a,-1e4,t+n*a,1e4)},ae.prototype.get=function(e){if(void 0===this.glyphs[e]){this.font._push(e),"function"==typeof this.glyphs[e]&&(this.glyphs[e]=this.glyphs[e]());var t=this.glyphs[e],r=this.font._IndexToUnicodeMap[e];if(r)for(var n=0;n<r.unicodes.length;n++)t.addUnicode(r.unicodes[n]);this.font.cffEncoding?this.font.isCIDFont?t.name="gid"+e:t.name=this.font.cffEncoding.charset[e]:this.font.glyphNames.names&&(t.name=this.font.glyphNames.glyphIndexToName(e)),this.glyphs[e].advanceWidth=this.font._hmtxTableData[e].advanceWidth,this.glyphs[e].leftSideBearing=this.font._hmtxTableData[e].leftSideBearing}else"function"==typeof this.glyphs[e]&&(this.glyphs[e]=this.glyphs[e]());return this.glyphs[e]},ae.prototype.push=function(e,t){this.glyphs[e]=t,this.length++};var Yo={GlyphSet:ae,glyphLoader:oe,ttfGlyphLoader:se,cffGlyphLoader:ie},jo=[{name:"version",op:0,type:"SID"},{name:"notice",op:1,type:"SID"},{name:"copyright",op:1200,type:"SID"},{name:"fullName",op:2,type:"SID"},{name:"familyName",op:3,type:"SID"},{name:"weight",op:4,type:"SID"},{name:"isFixedPitch",op:1201,type:"number",value:0},{name:"italicAngle",op:1202,type:"number",value:0},{name:"underlinePosition",op:1203,type:"number",value:-100},{name:"underlineThickness",op:1204,type:"number",value:50},{name:"paintType",op:1205,type:"number",value:0},{name:"charstringType",op:1206,type:"number",value:2},{name:"fontMatrix",op:1207,type:["real","real","real","real","real","real"],value:[.001,0,0,.001,0,0]},{name:"uniqueId",op:13,type:"number"},{name:"fontBBox",op:5,type:["number","number","number","number"],value:[0,0,0,0]},{name:"strokeWidth",op:1208,type:"number",value:0},{name:"xuid",op:14,type:[],value:null},{name:"charset",op:15,type:"offset",value:0},{name:"encoding",op:16,type:"offset",value:0},{name:"charStrings",op:17,type:"offset",value:0},{name:"private",op:18,type:["number","offset"],value:[0,0]},{name:"ros",op:1230,type:["SID","SID","number"]},{name:"cidFontVersion",op:1231,type:"number",value:0},{name:"cidFontRevision",op:1232,type:"number",value:0},{name:"cidFontType",op:1233,type:"number",value:0},{name:"cidCount",op:1234,type:"number",value:8720},{name:"uidBase",op:1235,type:"number"},{name:"fdArray",op:1236,type:"offset"},{name:"fdSelect",op:1237,type:"offset"},{name:"fontName",op:1238,type:"SID"}],Zo=[{name:"subrs",op:19,type:"offset",value:0},{name:"defaultWidthX",op:20,type:"number",value:0},{name:"nominalWidthX",op:21,type:"number",value:0}],Qo={parse:we,make:He},Ko={parse:ze,make:We},Jo={parse:_e,make:qe},$o={parse:Ye,make:je},es={make:Ze,parse:Qe},ts={parse:Ke,make:Je},rs=["copyright","fontFamily","fontSubfamily","uniqueID","fullName","version","postScriptName","trademark","manufacturer","designer","description","manufacturerURL","designerURL","license","licenseURL","reserved","preferredFamily","preferredSubfamily","compatibleFullName","sampleText","postScriptFindFontName","wwsFamily","wwsSubfamily"],ns={0:"en",1:"fr",2:"de",3:"it",4:"nl",5:"sv",6:"es",7:"da",8:"pt",9:"no",10:"he",11:"ja",12:"ar",13:"fi",14:"el",15:"is",16:"mt",17:"tr",18:"hr",19:"zh-Hant",20:"ur",21:"hi",22:"th",23:"ko",24:"lt",25:"pl",26:"hu",27:"es",28:"lv",29:"se",30:"fo",31:"fa",32:"ru",33:"zh",34:"nl-BE",35:"ga",36:"sq",37:"ro",38:"cz",39:"sk",40:"si",41:"yi",42:"sr",43:"mk",44:"bg",45:"uk",46:"be",47:"uz",48:"kk",49:"az-Cyrl",50:"az-Arab",51:"hy",52:"ka",53:"mo",54:"ky",55:"tg",56:"tk",57:"mn-CN",58:"mn",59:"ps",60:"ks",61:"ku",62:"sd",63:"bo",64:"ne",65:"sa",66:"mr",67:"bn",68:"as",69:"gu",70:"pa",71:"or",72:"ml",73:"kn",74:"ta",75:"te",76:"si",77:"my",78:"km",79:"lo",80:"vi",81:"id",82:"tl",83:"ms",84:"ms-Arab",85:"am",86:"ti",87:"om",88:"so",89:"sw",90:"rw",91:"rn",92:"ny",93:"mg",94:"eo",128:"cy",129:"eu",130:"ca",131:"la",132:"qu",133:"gn",134:"ay",135:"tt",136:"ug",137:"dz",138:"jv",139:"su",140:"gl",141:"af",142:"br",143:"iu",144:"gd",145:"gv",146:"ga",147:"to",148:"el-polyton",149:"kl",150:"az",151:"nn"},as={0:0,1:0,2:0,3:0,4:0,5:0,6:0,7:0,8:0,9:0,10:5,11:1,12:4,13:0,14:6,15:0,16:0,17:0,18:0,19:2,20:4,21:9,22:21,23:3,24:29,25:29,26:29,27:29,28:29,29:0,30:0,31:4,32:7,33:25,34:0,35:0,36:0,37:0,38:29,39:29,40:0,41:5,42:7,43:7,44:7,45:7,46:7,47:7,48:7,49:7,50:4,51:24,52:23,53:7,54:7,55:7,56:7,57:27,58:7,59:4,60:4,61:4,62:4,63:26,64:9,65:9,66:9,67:13,68:13,69:11,70:10,71:12,72:17,73:16,74:14,75:15,76:18,77:19,78:20,79:22,80:30,81:0,82:0,83:0,84:4,85:28,86:28,87:28,88:0,89:0,90:0,91:0,92:0,93:0,94:0,128:0,129:0,130:0,131:0,132:0,133:0,134:0,135:7,136:4,137:26,138:0,139:0,140:0,141:0,142:0,143:28,144:0,145:0,146:0,147:0,148:6,149:0,150:0,151:0},os={1078:"af",1052:"sq",1156:"gsw",1118:"am",5121:"ar-DZ",15361:"ar-BH",3073:"ar",2049:"ar-IQ",11265:"ar-JO",13313:"ar-KW",12289:"ar-LB",4097:"ar-LY",6145:"ary",8193:"ar-OM",16385:"ar-QA",1025:"ar-SA",10241:"ar-SY",7169:"aeb",14337:"ar-AE",9217:"ar-YE",1067:"hy",1101:"as",2092:"az-Cyrl",1068:"az",1133:"ba",1069:"eu",1059:"be",2117:"bn",1093:"bn-IN",8218:"bs-Cyrl",5146:"bs",1150:"br",1026:"bg",1027:"ca",3076:"zh-HK",5124:"zh-MO",2052:"zh",4100:"zh-SG",1028:"zh-TW",1155:"co",1050:"hr",4122:"hr-BA",1029:"cs",1030:"da",1164:"prs",1125:"dv",2067:"nl-BE",1043:"nl",3081:"en-AU",10249:"en-BZ",4105:"en-CA",9225:"en-029",16393:"en-IN",6153:"en-IE",8201:"en-JM",17417:"en-MY",5129:"en-NZ",13321:"en-PH",18441:"en-SG",7177:"en-ZA",11273:"en-TT",2057:"en-GB",1033:"en",12297:"en-ZW",1061:"et",1080:"fo",1124:"fil",1035:"fi",2060:"fr-BE",3084:"fr-CA",1036:"fr",5132:"fr-LU",6156:"fr-MC",4108:"fr-CH",1122:"fy",1110:"gl",1079:"ka",3079:"de-AT",1031:"de",5127:"de-LI",4103:"de-LU",2055:"de-CH",1032:"el",1135:"kl",1095:"gu",1128:"ha",1037:"he",1081:"hi",1038:"hu",1039:"is",1136:"ig",1057:"id",1117:"iu",2141:"iu-Latn",2108:"ga",1076:"xh",1077:"zu",1040:"it",2064:"it-CH",1041:"ja",1099:"kn",1087:"kk",1107:"km",1158:"quc",1159:"rw",1089:"sw",1111:"kok",1042:"ko",1088:"ky",1108:"lo",1062:"lv",1063:"lt",2094:"dsb",1134:"lb",1071:"mk",2110:"ms-BN",1086:"ms",1100:"ml",1082:"mt",1153:"mi",1146:"arn",1102:"mr",1148:"moh",1104:"mn",2128:"mn-CN",1121:"ne",1044:"nb",2068:"nn",1154:"oc",1096:"or",1123:"ps",1045:"pl",1046:"pt",2070:"pt-PT",1094:"pa",1131:"qu-BO",2155:"qu-EC",3179:"qu",1048:"ro",1047:"rm",1049:"ru",9275:"smn",4155:"smj-NO",5179:"smj",3131:"se-FI",1083:"se",2107:"se-SE",8251:"sms",6203:"sma-NO",7227:"sms",1103:"sa",7194:"sr-Cyrl-BA",3098:"sr",6170:"sr-Latn-BA",2074:"sr-Latn",1132:"nso",1074:"tn",1115:"si",1051:"sk",1060:"sl",11274:"es-AR",16394:"es-BO",13322:"es-CL",9226:"es-CO",5130:"es-CR",7178:"es-DO",12298:"es-EC",17418:"es-SV",4106:"es-GT",18442:"es-HN",2058:"es-MX",19466:"es-NI",6154:"es-PA",15370:"es-PY",10250:"es-PE",20490:"es-PR",3082:"es",1034:"es",21514:"es-US",14346:"es-UY",8202:"es-VE",2077:"sv-FI",1053:"sv",1114:"syr",1064:"tg",2143:"tzm",1097:"ta",1092:"tt",1098:"te",1054:"th",1105:"bo",1055:"tr",1090:"tk",1152:"ug",1058:"uk",1070:"hsb",1056:"ur",2115:"uz-Cyrl",1091:"uz",1066:"vi",1106:"cy",1160:"wo",1157:"sah",1144:"ii",1130:"yo"},ss="utf-16",is={0:"macintosh",1:"x-mac-japanese",2:"x-mac-chinesetrad",3:"x-mac-korean",6:"x-mac-greek",7:"x-mac-cyrillic",9:"x-mac-devanagai",10:"x-mac-gurmukhi",11:"x-mac-gujarati",12:"x-mac-oriya",13:"x-mac-bengali",14:"x-mac-tamil",15:"x-mac-telugu",16:"x-mac-kannada",17:"x-mac-malayalam",18:"x-mac-sinhalese",19:"x-mac-burmese",20:"x-mac-khmer",21:"x-mac-thai",22:"x-mac-lao",23:"x-mac-georgian",24:"x-mac-armenian",25:"x-mac-chinesesimp",26:"x-mac-tibetan",27:"x-mac-mongolian",28:"x-mac-ethiopic",29:"x-mac-ce",30:"x-mac-vietnamese",31:"x-mac-extarabic"},us={15:"x-mac-icelandic",17:"x-mac-turkish",18:"x-mac-croatian",24:"x-mac-ce",25:"x-mac-ce",26:"x-mac-ce",27:"x-mac-ce",28:"x-mac-ce",30:"x-mac-icelandic",37:"x-mac-romanian",38:"x-mac-ce",39:"x-mac-ce",40:"x-mac-ce",143:"x-mac-inuit",146:"x-mac-gaelic"},ls={parse:tt,make:st},ps=[{begin:0,end:127},{begin:128,end:255},{begin:256,end:383},{begin:384,end:591},{begin:592,end:687},{begin:688,end:767},{begin:768,end:879},{begin:880,end:1023},{begin:11392,end:11519},{begin:1024,end:1279},{begin:1328,end:1423},{begin:1424,end:1535},{begin:42240,end:42559},{begin:1536,end:1791},{begin:1984,end:2047},{begin:2304,end:2431},{begin:2432,end:2559},{begin:2560,end:2687},{begin:2688,end:2815},{begin:2816,end:2943},{begin:2944,end:3071},{begin:3072,end:3199},{begin:3200,end:3327},{begin:3328,end:3455},{begin:3584,end:3711},{begin:3712,end:3839},{begin:4256,end:4351},{begin:6912,end:7039},{begin:4352,end:4607},{begin:7680,end:7935},{begin:7936,end:8191},{begin:8192,end:8303},{begin:8304,end:8351},{begin:8352,end:8399},{begin:8400,end:8447},{begin:8448,end:8527},{begin:8528,end:8591},{begin:8592,end:8703},{begin:8704,end:8959},{begin:8960,end:9215},{begin:9216,end:9279},{begin:9280,end:9311},{begin:9312,end:9471},{begin:9472,end:9599},{begin:9600,end:9631},{begin:9632,end:9727},{begin:9728,end:9983},{begin:9984,end:10175},{begin:12288,end:12351},{begin:12352,end:12447},{begin:12448,end:12543},{begin:12544,end:12591},{begin:12592,end:12687},{begin:43072,end:43135},{begin:12800,end:13055},{begin:13056,end:13311},{begin:44032,end:55215},{begin:55296,end:57343},{begin:67840,end:67871},{begin:19968,end:40959},{begin:57344,end:63743},{begin:12736,end:12783},{begin:64256,end:64335},{begin:64336,end:65023},{begin:65056,end:65071},{begin:65040,end:65055},{begin:65104,end:65135},{begin:65136,end:65279},{begin:65280,end:65519},{begin:65520,end:65535},{begin:3840,end:4095},{begin:1792,end:1871},{begin:1920,end:1983},{begin:3456,end:3583},{begin:4096,end:4255},{begin:4608,end:4991},{begin:5024,end:5119},{begin:5120,end:5759},{begin:5760,end:5791},{begin:5792,end:5887},{begin:6016,end:6143},{begin:6144,end:6319},{begin:10240,end:10495},{begin:40960,end:42127},{begin:5888,end:5919},{begin:66304,end:66351},{begin:66352,end:66383},{begin:66560,end:66639},{begin:118784,end:119039},{begin:119808,end:120831},{begin:1044480,end:1048573},{begin:65024,end:65039},{begin:917504,end:917631},{begin:6400,end:6479},{begin:6480,end:6527},{begin:6528,end:6623},{begin:6656,end:6687},{begin:11264,end:11359},{begin:11568,end:11647},{begin:19904,end:19967},{begin:43008,end:43055},{begin:65536,end:65663},{begin:65856,end:65935},{begin:66432,end:66463},{begin:66464,end:66527},{begin:66640,end:66687},{begin:66688,end:66735},{begin:67584,end:67647},{begin:68096,end:68191},{begin:119552,end:119647},{begin:73728,end:74751},{begin:119648,end:119679},{begin:7040,end:7103},{begin:7168,end:7247},{begin:7248,end:7295},{begin:43136,end:43231},{begin:43264,end:43311},{begin:43312,end:43359},{begin:43520,end:43615},{begin:65936,end:65999},{begin:66e3,end:66047},{begin:66208,end:66271},{begin:127024,end:127135}],cs={parse:ut,make:lt,unicodeRanges:ps,getUnicodeRange:it},hs={parse:pt,make:ct},fs=new Array(9);fs[1]=function e(){var t=this.offset+this.relativeOffset,r=this.parseUShort();if(1===r)return{substFormat:1,coverage:this.parsePointer(H.coverage),deltaGlyphId:this.parseUShort()};if(2===r)return{substFormat:2,coverage:this.parsePointer(H.coverage),substitute:this.parseOffset16List()};Eo.assert(!1,"0x"+t.toString(16)+": lookup type 1 format must be 1 or 2.")},fs[2]=function e(){var t=this.parseUShort();return Eo.argument(1===t,"GSUB Multiple Substitution Subtable identifier-format must be 1"),{substFormat:t,coverage:this.parsePointer(H.coverage),sequences:this.parseListOfLists()}},fs[3]=function e(){var t=this.parseUShort();return Eo.argument(1===t,"GSUB Alternate Substitution Subtable identifier-format must be 1"),{substFormat:t,coverage:this.parsePointer(H.coverage),alternateSets:this.parseListOfLists()}},fs[4]=function e(){var t=this.parseUShort();return Eo.argument(1===t,"GSUB ligature table identifier-format must be 1"),{substFormat:t,coverage:this.parsePointer(H.coverage),ligatureSets:this.parseListOfLists(function(){return{ligGlyph:this.parseUShort(),components:this.parseUShortList(this.parseUShort()-1)}})}};var ds={sequenceIndex:H.uShort,lookupListIndex:H.uShort};fs[5]=function e(){var t=this.offset+this.relativeOffset,r=this.parseUShort();if(1===r)return{substFormat:r,coverage:this.parsePointer(H.coverage),ruleSets:this.parseListOfLists(function(){var e=this.parseUShort(),t=this.parseUShort();return{input:this.parseUShortList(e-1),lookupRecords:this.parseRecordList(t,ds)}})};if(2===r)return{substFormat:r,coverage:this.parsePointer(H.coverage),classDef:this.parsePointer(H.classDef),classSets:this.parseListOfLists(function(){var e=this.parseUShort(),t=this.parseUShort();return{classes:this.parseUShortList(e-1),lookupRecords:this.parseRecordList(t,ds)}})};if(3===r){var n=this.parseUShort(),a=this.parseUShort();return{substFormat:r,coverages:this.parseList(n,H.pointer(H.coverage)),lookupRecords:this.parseRecordList(a,ds)}}Eo.assert(!1,"0x"+t.toString(16)+": lookup type 5 format must be 1, 2 or 3.")},fs[6]=function e(){var t=this.offset+this.relativeOffset,r=this.parseUShort();if(1===r)return{substFormat:1,coverage:this.parsePointer(H.coverage),chainRuleSets:this.parseListOfLists(function(){return{backtrack:this.parseUShortList(),input:this.parseUShortList(this.parseShort()-1),lookahead:this.parseUShortList(),lookupRecords:this.parseRecordList(ds)}})};if(2===r)return{substFormat:2,coverage:this.parsePointer(H.coverage),backtrackClassDef:this.parsePointer(H.classDef),inputClassDef:this.parsePointer(H.classDef),lookaheadClassDef:this.parsePointer(H.classDef),chainClassSet:this.parseListOfLists(function(){return{backtrack:this.parseUShortList(),input:this.parseUShortList(this.parseShort()-1),lookahead:this.parseUShortList(),lookupRecords:this.parseRecordList(ds)}})};if(3===r)return{substFormat:3,backtrackCoverage:this.parseList(H.pointer(H.coverage)),inputCoverage:this.parseList(H.pointer(H.coverage)),lookaheadCoverage:this.parseList(H.pointer(H.coverage)),lookupRecords:this.parseRecordList(ds)};Eo.assert(!1,"0x"+t.toString(16)+": lookup type 6 format must be 1, 2 or 3.")},fs[7]=function e(){var t=this.parseUShort();Eo.argument(1===t,"GSUB Extension Substitution subtable identifier-format must be 1");var r=this.parseUShort(),t=new H(this.data,this.offset+this.parseULong());return{substFormat:1,lookupType:r,extension:fs[r].call(t)}},fs[8]=function e(){var t=this.parseUShort();return Eo.argument(1===t,"GSUB Reverse Chaining Contextual Single Substitution Subtable identifier-format must be 1"),{substFormat:t,coverage:this.parsePointer(H.coverage),backtrackCoverage:this.parseList(H.pointer(H.coverage)),lookaheadCoverage:this.parseList(H.pointer(H.coverage)),substitutes:this.parseUShortList()}};var gs=new Array(9);gs[1]=function e(t){return 1===t.substFormat?new Fo.Table("substitutionTable",[{name:"substFormat",type:"USHORT",value:1},{name:"coverage",type:"TABLE",value:new Fo.Coverage(t.coverage)},{name:"deltaGlyphID",type:"USHORT",value:t.deltaGlyphId}]):new Fo.Table("substitutionTable",[{name:"substFormat",type:"USHORT",value:2},{name:"coverage",type:"TABLE",value:new Fo.Coverage(t.coverage)}].concat(Fo.ushortList("substitute",t.substitute)));Eo.fail("Lookup type 1 substFormat must be 1 or 2.")},gs[3]=function e(t){return Eo.assert(1===t.substFormat,"Lookup type 3 substFormat must be 1."),new Fo.Table("substitutionTable",[{name:"substFormat",type:"USHORT",value:1},{name:"coverage",type:"TABLE",value:new Fo.Coverage(t.coverage)}].concat(Fo.tableList("altSet",t.alternateSets,function(e){return new Fo.Table("alternateSetTable",Fo.ushortList("alternate",e))})))},gs[4]=function e(t){return Eo.assert(1===t.substFormat,"Lookup type 4 substFormat must be 1."),new Fo.Table("substitutionTable",[{name:"substFormat",type:"USHORT",value:1},{name:"coverage",type:"TABLE",value:new Fo.Coverage(t.coverage)}].concat(Fo.tableList("ligSet",t.ligatureSets,function(e){return new Fo.Table("ligatureSetTable",Fo.tableList("ligature",e,function(e){return new Fo.Table("ligatureTable",[{name:"ligGlyph",type:"USHORT",value:e.ligGlyph}].concat(Fo.ushortList("component",e.components,e.components.length+1)))}))})))};var vs={parse:ht,make:ft},ms={parse:dt,make:gt},ys={make:bt,fontToTable:Tt,computeCheckSum:mt};(wt.prototype=Et.prototype={searchTag:kt,binSearch:Ut,getTable:function(e){var t=this.font.tables[this.tableName];return!t&&e&&(t=this.font.tables[this.tableName]=this.createDefaultTable()),t},getScriptNames:function(){var e=this.getTable();if(!e)return[];return e.scripts.map(function(e){return e.tag})},getDefaultScriptName:function(){var e=this.getTable();if(!e)return;for(var t=!1,r=0;r<e.scripts.length;r++){var n=e.scripts[r].tag;if("DFLT"===n)return n;"latn"===n&&(t=!0)}if(t)return"latn"},getScriptTable:function(e,t){var r=this.getTable(t);if(r){e=e||"DFLT";var n=r.scripts,r=kt(r.scripts,e);if(0<=r)return n[r].script;if(t){var e={tag:e,script:{defaultLangSys:{reserved:0,reqFeatureIndex:65535,featureIndexes:[]},langSysRecords:[]}};return n.splice(-1-r,0,e),e.script}}},getLangSysTable:function(e,t,r){var n=this.getScriptTable(e,r);if(n){if(!t||"dflt"===t||"DFLT"===t)return n.defaultLangSys;var e=kt(n.langSysRecords,t);if(0<=e)return n.langSysRecords[e].langSys;if(r){var t={tag:t,langSys:{reserved:0,reqFeatureIndex:65535,featureIndexes:[]}};return n.langSysRecords.splice(-1-e,0,t),t.langSys}}},getFeatureTable:function(e,t,r,n){var t=this.getLangSysTable(e,t,n);if(t){for(var a,o=t.featureIndexes,s=this.font.tables[this.tableName].features,i=0;i<o.length;i++)if((a=s[o[i]]).tag===r)return a.feature;if(n){var n=s.length;return Eo.assert(0===n||r>=s[n-1].tag,"Features must be added in alphabetical order."),a={tag:r,feature:{params:0,lookupListIndexes:[]}},s.push(a),o.push(n),a.feature}}},getLookupTables:function(e,t,r,n,a){var r=this.getFeatureTable(e,t,r,a),o=[];if(r){for(var s,i=r.lookupListIndexes,u=this.font.tables[this.tableName].lookups,l=0;l<i.length;l++)(s=u[i[l]]).lookupType===n&&o.push(s);if(0===o.length&&a){s={lookupType:n,lookupFlag:0,subtables:[],markFilteringSet:void 0};var a=u.length;return u.push(s),i.push(a),[s]}}return o},getGlyphClass:function(e,t){switch(e.format){case 1:if(e.startGlyph<=t&&t<e.startGlyph+e.classes.length)return e.classes[t-e.startGlyph];return 0;case 2:var t=Ot(e.ranges,t);return t?t.classId:0}},getCoverageIndex:function(e,t){switch(e.format){case 1:var r=Ut(e.glyphs,t);return 0<=r?r:-1;case 2:var e=Ot(e.ranges,t);return e?e.index+t-e.start:-1}},expandCoverage:function(e){if(1===e.format)return e.glyphs;for(var t=[],r=e.ranges,n=0;n<r.length;n++)for(var a=r[n],o=a.start,s=a.end,i=o;i<=s;i++)t.push(i);return t}}).init=function(){var e=this.getDefaultScriptName();this.defaultKerningTables=this.getKerningTables(e)},wt.prototype.getKerningValue=function(e,t,r){for(var n=this,a=0;a<e.length;a++)for(var o=e[a].subtables,s=0;s<o.length;s++){var i=o[s],u=n.getCoverageIndex(i.coverage,t);if(u<0)continue;switch(i.posFormat){case 1:for(var l=i.pairSets[u],p=0;p<l.length;p++){var c=l[p];if(c.secondGlyph===r)return c.value1&&c.value1.xAdvance||0}break;case 2:var h=n.getGlyphClass(i.classDef1,t),u=n.getGlyphClass(i.classDef2,r),u=i.classRecords[h][u];return u.value1&&u.value1.xAdvance||0}}return 0},wt.prototype.getKerningTables=function(e,t){if(this.font.tables.gpos)return this.getLookupTables(e,t,"kern",2)},(Rt.prototype=Et.prototype).createDefaultTable=function(){return{version:1,scripts:[{tag:"DFLT",script:{defaultLangSys:{reserved:0,reqFeatureIndex:65535,featureIndexes:[]},langSysRecords:[]}}],features:[],lookups:[]}},Rt.prototype.getSingle=function(e,t,r){for(var n=this,a=[],o=this.getLookupTables(t,r,e,1),s=0;s<o.length;s++)for(var i=o[s].subtables,u=0;u<i.length;u++){var l=i[u],p=n.expandCoverage(l.coverage),c=void 0;if(1===l.substFormat)for(var h=l.deltaGlyphId,c=0;c<p.length;c++){var f=p[c];a.push({sub:f,by:f+h})}else{var d=l.substitute;for(c=0;c<p.length;c++)a.push({sub:p[c],by:d[c]})}}return a},Rt.prototype.getAlternates=function(e,t,r){for(var n=this,a=[],o=this.getLookupTables(t,r,e,3),s=0;s<o.length;s++)for(var i=o[s].subtables,u=0;u<i.length;u++)for(var l=i[u],p=n.expandCoverage(l.coverage),c=l.alternateSets,h=0;h<p.length;h++)a.push({sub:p[h],by:c[h]});return a},Rt.prototype.getLigatures=function(e,t,r){for(var n=this,a=[],o=this.getLookupTables(t,r,e,4),s=0;s<o.length;s++)for(var i=o[s].subtables,u=0;u<i.length;u++)for(var l=i[u],p=n.expandCoverage(l.coverage),c=l.ligatureSets,h=0;h<p.length;h++)for(var f=p[h],d=c[h],g=0;g<d.length;g++){var v=d[g];a.push({sub:[f].concat(v.components),by:v.ligGlyph})}return a},Rt.prototype.addSingle=function(e,t,r,n){var a,r=Ct(this.getLookupTables(r,n,e,1,!0)[0],2,{substFormat:2,coverage:{format:1,glyphs:[]},substitute:[]});Eo.assert(1===r.coverage.format,"Ligature: unable to modify coverage table format "+r.coverage.format);var n=t.sub,e=this.binSearch(r.coverage.glyphs,n);e<0&&(e=-1-e,r.coverage.glyphs.splice(e,0,n),r.substitute.splice(e,0,0)),r.substitute[e]=t.by},Rt.prototype.addAlternate=function(e,t,r,n){var a,r=Ct(this.getLookupTables(r,n,e,3,!0)[0],1,{substFormat:1,coverage:{format:1,glyphs:[]},alternateSets:[]});Eo.assert(1===r.coverage.format,"Ligature: unable to modify coverage table format "+r.coverage.format);var n=t.sub,e=this.binSearch(r.coverage.glyphs,n);e<0&&(e=-1-e,r.coverage.glyphs.splice(e,0,n),r.alternateSets.splice(e,0,0)),r.alternateSets[e]=t.by},Rt.prototype.addLigature=function(e,t,r,n){var r=this.getLookupTables(r,n,e,4,!0)[0],n=r.subtables[0];n||(n={substFormat:1,coverage:{format:1,glyphs:[]},ligatureSets:[]},r.subtables[0]=n),Eo.assert(1===n.coverage.format,"Ligature: unable to modify coverage table format "+n.coverage.format);var e=t.sub[0],a=t.sub.slice(1),r={ligGlyph:t.by,components:a},t=this.binSearch(n.coverage.glyphs,e);if(0<=t){for(var o=n.ligatureSets[t],s=0;s<o.length;s++)if(Lt(o[s].components,a))return;o.push(r)}else t=-1-t,n.coverage.glyphs.splice(t,0,e),n.ligatureSets.splice(t,0,[r])},Rt.prototype.getFeature=function(e,t,r){if(/ss\d\d/.test(e))return this.getSingle(e,t,r);switch(e){case"aalt":case"salt":return this.getSingle(e,t,r).concat(this.getAlternates(e,t,r));case"dlig":case"liga":case"rlig":return this.getLigatures(e,t,r)}return},Rt.prototype.add=function(e,t,r,n){if(/ss\d\d/.test(e))return this.addSingle(e,t,r,n);switch(e){case"aalt":case"salt":if("number"==typeof t.by)return this.addSingle(e,t,r,n);return this.addAlternate(e,t,r,n);case"dlig":case"liga":case"rlig":return this.addLigature(e,t,r,n)}return};var bs={getPath:Pt,parse:_t},Ss,xs,Ts,ks,Us=function(e){var t=this.srPeriod,r=this.srPhase,n,a=1;if(e<0&&(e=-e,a=-1),e+=this.srThreshold-r,e=Math.trunc(e/t)*t,(e+=r)<0)return r*a;return e*a},Os={x:1,y:0,axis:"x",distance:function(e,t,r,n){return(r?e.xo:e.x)-(n?t.xo:t.x)},interpolate:function(e,t,r,n){var a,o,s,i,u,l,p;if(!n||n===this){if(a=e.xo-t.xo,o=e.xo-r.xo,u=t.x-t.xo,l=r.x-r.xo,0===(p=(s=Math.abs(a))+(i=Math.abs(o))))return void(e.x=e.xo+(u+l)/2);return void(e.x=e.xo+(u*i+l*s)/p)}if(a=n.distance(e,t,!0,!0),o=n.distance(e,r,!0,!0),u=n.distance(t,t,!1,!0),l=n.distance(r,r,!1,!0),0===(p=(s=Math.abs(a))+(i=Math.abs(o))))return void Os.setRelative(e,e,(u+l)/2,n,!0);Os.setRelative(e,e,(u*i+l*s)/p,n,!0)},normalSlope:Number.NEGATIVE_INFINITY,setRelative:function(e,t,r,n,a){if(!n||n===this)return void(e.x=(a?t.xo:t.x)+r);var o=a?t.xo:t.x,t=a?t.yo:t.y,o=o+r*n.x,r=t+r*n.y;e.x=o+(e.y-r)/n.normalSlope},slope:0,touch:function(e){e.xTouched=!0},touched:function(e){return e.xTouched},untouch:function(e){e.xTouched=!1}},Es={x:0,y:1,axis:"y",distance:function(e,t,r,n){return(r?e.yo:e.y)-(n?t.yo:t.y)},interpolate:function(e,t,r,n){var a,o,s,i,u,l,p;if(!n||n===this){if(a=e.yo-t.yo,o=e.yo-r.yo,u=t.y-t.yo,l=r.y-r.yo,0===(p=(s=Math.abs(a))+(i=Math.abs(o))))return void(e.y=e.yo+(u+l)/2);return void(e.y=e.yo+(u*i+l*s)/p)}if(a=n.distance(e,t,!0,!0),o=n.distance(e,r,!0,!0),u=n.distance(t,t,!1,!0),l=n.distance(r,r,!1,!0),0===(p=(s=Math.abs(a))+(i=Math.abs(o))))return void Es.setRelative(e,e,(u+l)/2,n,!0);Es.setRelative(e,e,(u*i+l*s)/p,n,!0)},normalSlope:0,setRelative:function(e,t,r,n,a){if(!n||n===this)return void(e.y=(a?t.yo:t.y)+r);var o=a?t.xo:t.x,t=a?t.yo:t.y,o=o+r*n.x,r=t+r*n.y;e.y=r+n.normalSlope*(e.x-o)},slope:Number.POSITIVE_INFINITY,touch:function(e){e.yTouched=!0},touched:function(e){return e.yTouched},untouch:function(e){e.yTouched=!1}};Object.freeze(Os),Object.freeze(Es),Kt.prototype.distance=function(e,t,r,n){return this.x*Os.distance(e,t,r,n)+this.y*Es.distance(e,t,r,n)},Kt.prototype.interpolate=function(e,t,r,n){var a,t,o,s,r,o,s,o=n.distance(e,t,!0,!0),s=n.distance(e,r,!0,!0),a=n.distance(t,t,!1,!0),t=n.distance(r,r,!1,!0),r=Math.abs(o),o=Math.abs(s),s=r+o;if(0===s)return void this.setRelative(e,e,(a+t)/2,n,!0);this.setRelative(e,e,(a*o+t*r)/s,n,!0)},Kt.prototype.setRelative=function(e,t,r,n,a){n=n||this;var o=a?t.xo:t.x,s=a?t.yo:t.y,a=o+r*n.x,t=s+r*n.y,o=n.normalSlope,s=this.slope,r=e.x,n=e.y;e.x=(s*r-o*a+t-n)/(s-o),e.y=s*(e.x-r)+n},Kt.prototype.touch=function(e){e.xTouched=!0,e.yTouched=!0},$t.prototype.nextTouched=function(e){var t=this.nextPointOnContour;while(!e.touched(t)&&t!==this)t=t.nextPointOnContour;return t},$t.prototype.prevTouched=function(e){var t=this.prevPointOnContour;while(!e.touched(t)&&t!==this)t=t.prevPointOnContour;return t};var ws=Object.freeze(new $t(0,0)),Rs={cvCutIn:17/16,deltaBase:9,deltaShift:.125,loop:1,minDis:1,autoFlip:!0};qt.prototype.exec=function(e,t){if("number"!=typeof t)throw new Error("Point size is not a number!");if(2<this._errorState)return;var r=this.font,n=this._prepState;if(!n||n.ppem!==t){var a=this._fpgmState;if(!a){er.prototype=Rs,(a=this._fpgmState=new er("fpgm",r.tables.fpgm)).funcs=[],a.font=r,S.DEBUG&&(console.log("---EXEC FPGM---"),a.step=-1);try{xs(a)}catch(e){return console.log("Hinting error in FPGM:"+e),void(this._errorState=3)}}er.prototype=a,(n=this._prepState=new er("prep",r.tables.prep)).ppem=t;var o=r.tables.cvt;if(o)for(var s=n.cvt=new Array(o.length),i=t/r.unitsPerEm,u=0;u<o.length;u++)s[u]=o[u]*i;else n.cvt=[];S.DEBUG&&(console.log("---EXEC PREP---"),n.step=-1);try{xs(n)}catch(e){this._errorState<2&&console.log("Hinting error in PREP:"+e),this._errorState=2}}if(1<this._errorState)return;try{return Ts(e,n)}catch(e){return this._errorState<1&&(console.log("Hinting error:"+e),console.log("Note: further hinting errors are silenced")),void(this._errorState=1)}},Ts=function(e,t){var r=t.ppem/t.font.unitsPerEm,n=r,a=e.components,o,s,i;if(er.prototype=t,a){for(var u=t.font,s=[],o=[],l=0;l<a.length;l++){var p=a[l],c=u.glyphs.get(p.glyphIndex),i=new er("glyf",c.instructions);S.DEBUG&&(console.log("---EXEC COMP "+l+"---"),i.step=-1),ks(c,i,r,n);for(var h=Math.round(p.dx*r),f=Math.round(p.dy*n),d=i.gZone,g=i.contours,v=0;v<d.length;v++){var m=d[v];m.xTouched=m.yTouched=!1,m.xo=m.x=m.x+h,m.yo=m.y=m.y+f}var y=s.length;s.push.apply(s,d);for(var b=0;b<g.length;b++)o.push(g[b]+y)}e.instructions&&!i.inhibitGridFit&&((i=new er("glyf",e.instructions)).gZone=i.z0=i.z1=i.z2=s,i.contours=o,s.push(new $t(0,0),new $t(Math.round(e.advanceWidth*r),0)),S.DEBUG&&(console.log("---EXEC COMPOSITE---"),i.step=-1),xs(i),s.length-=2)}else i=new er("glyf",e.instructions),S.DEBUG&&(console.log("---EXEC GLYPH---"),i.step=-1),ks(e,i,r,n),s=i.gZone;return s},ks=function(e,t,r,n){for(var a=e.points||[],o=a.length,s=t.gZone=t.z0=t.z1=t.z2=[],i=t.contours=[],u,l=0,p,c;l<o;l++)u=a[l],s[l]=new $t(u.x*r,u.y*n,u.lastPointOfContour,u.onCurve);for(var h=0;h<o;h++)u=s[h],p||(p=u,i.push(h)),u.lastPointOfContour?((u.nextPointOnContour=p).prevPointOnContour=u,p=void 0):(c=s[h+1],(u.nextPointOnContour=c).prevPointOnContour=u);if(t.inhibitGridFit)return;if(S.DEBUG){console.log("PROCESSING GLYPH",t.stack);for(var f=0;f<o;f++)console.log(f,s[f].x,s[f].y)}if(s.push(new $t(0,0),new $t(Math.round(e.advanceWidth*r),0)),xs(t),s.length-=2,S.DEBUG){console.log("FINISHED GLYPH",t.stack);for(var d=0;d<o;d++)console.log(d,s[d].x,s[d].y)}},xs=function(e){var t=e.prog;if(!t)return;var r=t.length,n;for(e.ip=0;e.ip<r;e.ip++){if(S.DEBUG&&e.step++,!(n=Ss[t[e.ip]]))throw new Error("unknown instruction: 0x"+Number(t[e.ip]).toString(16));n(e)}},Ss=[nr.bind(void 0,Es),nr.bind(void 0,Os),ar.bind(void 0,Es),ar.bind(void 0,Os),or.bind(void 0,Es),or.bind(void 0,Os),sr.bind(void 0,0),sr.bind(void 0,1),ir.bind(void 0,0),ir.bind(void 0,1),ur,lr,pr,cr,hr,fr,dr,gr,vr,mr,yr,br,Sr,xr,Tr,kr,Ur,Or,Er,wr,void 0,void 0,Rr,Lr,Cr,Dr,Ir,Gr,Ar,void 0,void 0,void 0,Mr,Br,Fr,void 0,Nr.bind(void 0,0),Nr.bind(void 0,1),Pr.bind(void 0,Es),Pr.bind(void 0,Os),Hr.bind(void 0,0),Hr.bind(void 0,1),zr.bind(void 0,0),zr.bind(void 0,1),Wr.bind(void 0,0),Wr.bind(void 0,1),_r,qr,Xr.bind(void 0,0),Xr.bind(void 0,1),Vr,Yr,jr.bind(void 0,0),jr.bind(void 0,1),Zr,Qr,Kr,Jr,$r,en,tn.bind(void 0,0),tn.bind(void 0,1),void 0,rn.bind(void 0,0),rn.bind(void 0,1),nn,void 0,an,void 0,void 0,on,sn,un,ln,pn,cn,hn,fn,dn,gn,vn,mn,yn,bn.bind(void 0,1),Sn,xn,Tn,kn,Un,On,En,wn,Rn,Ln,Cn.bind(void 0,0),Cn.bind(void 0,1),Cn.bind(void 0,2),Cn.bind(void 0,3),void 0,void 0,void 0,void 0,Dn,bn.bind(void 0,2),bn.bind(void 0,3),In.bind(void 0,1),In.bind(void 0,2),In.bind(void 0,3),Mn,Bn,void 0,void 0,Gn,void 0,An,Fn,Lr,Lr,void 0,void 0,void 0,void 0,void 0,Nn,Pn.bind(void 0,0),Pn.bind(void 0,1),Hn,void 0,zn,Wn,_n,qn,Xn,void 0,void 0,void 0,void 0,void 0,void 0,void 0,void 0,void 0,void 0,void 0,void 0,void 0,void 0,void 0,void 0,void 0,void 0,void 0,void 0,void 0,void 0,void 0,void 0,void 0,void 0,void 0,void 0,void 0,void 0,void 0,void 0,void 0,Vn.bind(void 0,1),Vn.bind(void 0,2),Vn.bind(void 0,3),Vn.bind(void 0,4),Vn.bind(void 0,5),Vn.bind(void 0,6),Vn.bind(void 0,7),Vn.bind(void 0,8),Yn.bind(void 0,1),Yn.bind(void 0,2),Yn.bind(void 0,3),Yn.bind(void 0,4),Yn.bind(void 0,5),Yn.bind(void 0,6),Yn.bind(void 0,7),Yn.bind(void 0,8),jn.bind(void 0,0,0,0,0,0),jn.bind(void 0,0,0,0,0,1),jn.bind(void 0,0,0,0,0,2),jn.bind(void 0,0,0,0,0,3),jn.bind(void 0,0,0,0,1,0),jn.bind(void 0,0,0,0,1,1),jn.bind(void 0,0,0,0,1,2),jn.bind(void 0,0,0,0,1,3),jn.bind(void 0,0,0,1,0,0),jn.bind(void 0,0,0,1,0,1),jn.bind(void 0,0,0,1,0,2),jn.bind(void 0,0,0,1,0,3),jn.bind(void 0,0,0,1,1,0),jn.bind(void 0,0,0,1,1,1),jn.bind(void 0,0,0,1,1,2),jn.bind(void 0,0,0,1,1,3),jn.bind(void 0,0,1,0,0,0),jn.bind(void 0,0,1,0,0,1),jn.bind(void 0,0,1,0,0,2),jn.bind(void 0,0,1,0,0,3),jn.bind(void 0,0,1,0,1,0),jn.bind(void 0,0,1,0,1,1),jn.bind(void 0,0,1,0,1,2),jn.bind(void 0,0,1,0,1,3),jn.bind(void 0,0,1,1,0,0),jn.bind(void 0,0,1,1,0,1),jn.bind(void 0,0,1,1,0,2),jn.bind(void 0,0,1,1,0,3),jn.bind(void 0,0,1,1,1,0),jn.bind(void 0,0,1,1,1,1),jn.bind(void 0,0,1,1,1,2),jn.bind(void 0,0,1,1,1,3),jn.bind(void 0,1,0,0,0,0),jn.bind(void 0,1,0,0,0,1),jn.bind(void 0,1,0,0,0,2),jn.bind(void 0,1,0,0,0,3),jn.bind(void 0,1,0,0,1,0),jn.bind(void 0,1,0,0,1,1),jn.bind(void 0,1,0,0,1,2),jn.bind(void 0,1,0,0,1,3),jn.bind(void 0,1,0,1,0,0),jn.bind(void 0,1,0,1,0,1),jn.bind(void 0,1,0,1,0,2),jn.bind(void 0,1,0,1,0,3),jn.bind(void 0,1,0,1,1,0),jn.bind(void 0,1,0,1,1,1),jn.bind(void 0,1,0,1,1,2),jn.bind(void 0,1,0,1,1,3),jn.bind(void 0,1,1,0,0,0),jn.bind(void 0,1,1,0,0,1),jn.bind(void 0,1,1,0,0,2),jn.bind(void 0,1,1,0,0,3),jn.bind(void 0,1,1,0,1,0),jn.bind(void 0,1,1,0,1,1),jn.bind(void 0,1,1,0,1,2),jn.bind(void 0,1,1,0,1,3),jn.bind(void 0,1,1,1,0,0),jn.bind(void 0,1,1,1,0,1),jn.bind(void 0,1,1,1,0,2),jn.bind(void 0,1,1,1,0,3),jn.bind(void 0,1,1,1,1,0),jn.bind(void 0,1,1,1,1,1),jn.bind(void 0,1,1,1,1,2),jn.bind(void 0,1,1,1,1,3)],Zn.prototype.setState=function(e,t){return this.state[e]=t,this.activeState={key:e,value:this.state[e]},this.activeState},Zn.prototype.getState=function(e){return this.state[e]||null},ta.prototype.inboundIndex=function(e){return 0<=e&&e<this.tokens.length},ta.prototype.composeRUD=function(e){var t=this,r=!0,e=e.map(function(e){return t[e[0]].apply(t,e.slice(1).concat(r))}),n=function(e){return"object"==typeof e&&e.hasOwnProperty("FAIL")};if(e.every(n))return{FAIL:"composeRUD: one or more operations hasn't completed successfully",report:e.filter(n)};this.dispatch("composeRUD",[e.filter(function(e){return!n(e)})])},ta.prototype.replaceRange=function(e,t,r,n){t=null!==t?t:this.tokens.length;var a=r.every(function(e){return e instanceof Zn});if(!isNaN(e)&&this.inboundIndex(e)&&a){var a=this.tokens.splice.apply(this.tokens,[e,t].concat(r));return n||this.dispatch("replaceToken",[e,t,r]),[a,r]}return{FAIL:"replaceRange: invalid tokens or startIndex."}},ta.prototype.replaceToken=function(e,t,r){if(!isNaN(e)&&this.inboundIndex(e)&&t instanceof Zn){var n=this.tokens.splice(e,1,t);return r||this.dispatch("replaceToken",[e,t]),[n[0],t]}return{FAIL:"replaceToken: invalid token or index."}},ta.prototype.removeRange=function(e,t,r){t=isNaN(t)?this.tokens.length:t;var n=this.tokens.splice(e,t);return r||this.dispatch("removeRange",[n,e,t]),n},ta.prototype.removeToken=function(e,t){if(!isNaN(e)&&this.inboundIndex(e)){var r=this.tokens.splice(e,1);return t||this.dispatch("removeToken",[r,e]),r}return{FAIL:"removeToken: invalid token index."}},ta.prototype.insertToken=function(e,t,r){var n;return e.every(function(e){return e instanceof Zn})?(this.tokens.splice.apply(this.tokens,[t,0].concat(e)),r||this.dispatch("insertToken",[e,t]),e):{FAIL:"insertToken: invalid token(s)."}},ta.prototype.registerModifier=function(a,o,s){this.events.newToken.subscribe(function(e,t){var r=[e,t],n,t=[e,t],t;null!==o&&!0!==o.apply(this,r)||(t=s.apply(this,t),e.setState(a,t))}),this.registeredModifiers.push(a)},$n.prototype.subscribe=function(e){return"function"==typeof e?this.subscribers.push(e)-1:{FAIL:"invalid '"+this.eventId+"' event handler"}},$n.prototype.unsubscribe=function(e){this.subscribers.splice(e,1)},Jn.prototype.setCurrentIndex=function(e){this.index=e,this.current=this.context[e],this.backtrack=this.context.slice(0,e),this.lookahead=this.context.slice(e+1)},Jn.prototype.get=function(e){switch(!0){case 0===e:return this.current;case e<0&&Math.abs(e)<=this.backtrack.length:return this.backtrack.slice(e)[0];case 0<e&&e<=this.lookahead.length:return this.lookahead[e-1];default:return null}},ta.prototype.rangeToText=function(e){if(e instanceof Qn)return this.getRangeTokens(e).map(function(e){return e.char}).join("")},ta.prototype.getText=function(){return this.tokens.map(function(e){return e.char}).join("")},ta.prototype.getContext=function(e){var e=this.registeredContexts[e];return e||null},ta.prototype.on=function(e,t){var e=this.events[e];return e?e.subscribe(t):null},ta.prototype.dispatch=function(e,t){var r=this,e=this.events[e];e instanceof $n&&e.subscribers.forEach(function(e){e.apply(r,t||[])})},ta.prototype.registerContextChecker=function(e,t,r){if(this.getContext(e))return{FAIL:"context name '"+e+"' is already registered."};if("function"!=typeof t)return{FAIL:"missing context start check."};if("function"!=typeof r)return{FAIL:"missing context end check."};var r=new Kn(e,t,r);return this.registeredContexts[e]=r,this.contextCheckers.push(r),r},ta.prototype.getRangeTokens=function(e){var t=e.startIndex+e.endOffset;return[].concat(this.tokens.slice(e.startIndex,t))},ta.prototype.getContextRanges=function(e){var t=this.getContext(e);return t?t.ranges:{FAIL:"context checker '"+e+"' is not registered."}},ta.prototype.resetContextsRanges=function(){var e=this.registeredContexts,t,r;for(t in e){e.hasOwnProperty(t)&&(e[t].ranges=[])}},ta.prototype.updateContextsRanges=function(){var e=this;this.resetContextsRanges();for(var t=this.tokens.map(function(e){return e.char}),r=0;r<t.length;r++){var n=new Jn(t,r);e.runContextCheck(n)}this.dispatch("updateContextsRanges",[this.registeredContexts])},ta.prototype.setEndOffset=function(e,t){var r,n=new Qn(this.getContext(t).openRange.startIndex,e,t),e=this.getContext(t).ranges;return n.rangeId=t+"."+e.length,e.push(n),this.getContext(t).openRange=null,n},ta.prototype.runContextCheck=function(n){var a=this,o=n.index;this.contextCheckers.forEach(function(e){var t=e.contextName,r=a.getContext(t).openRange,r,r;!r&&e.checkStart(n)&&(r=new Qn(o,null,t),a.getContext(t).openRange=r,a.dispatch("contextStart",[t,o])),r&&e.checkEnd(n)&&(r=o-r.startIndex+1,r=a.setEndOffset(r,t),a.dispatch("contextEnd",[t,r]))})},ta.prototype.tokenize=function(e){var t=this;this.tokens=[],this.resetContextsRanges();var r=Array.from(e);this.dispatch("start");for(var n=0;n<r.length;n++){var a=r[n],o=new Jn(r,n);t.dispatch("next",[o]),t.runContextCheck(o);var a=new Zn(a);t.tokens.push(a),t.dispatch("newToken",[a,o])}return this.dispatch("end",[this.tokens]),this.tokens},ia.prototype.getDefaultScriptFeaturesIndexes=function(){for(var e=this.font.tables.gsub.scripts,t=0;t<e.length;t++){var r=e[t];if("DFLT"===r.tag)return r.script.defaultLangSys.featureIndexes}return[]},ia.prototype.getScriptFeaturesIndexes=function(e){var t;if(!this.font.tables.gsub)return[];if(!e)return this.getDefaultScriptFeaturesIndexes();for(var r=this.font.tables.gsub.scripts,n=0;n<r.length;n++){var a=r[n];if(a.tag===e&&a.script.defaultLangSys)return a.script.defaultLangSys.featureIndexes;var o=a.langSysRecords;if(o)for(var s=0;s<o.length;s++){var i=o[s],u;if(i.tag===e)return i.langSys.featureIndexes}}return this.getDefaultScriptFeaturesIndexes()},ia.prototype.mapTagsToFeatures=function(e,t){for(var r={},n=0;n<e.length;n++){var a=e[n].tag,o=e[n].feature;r[a]=o}this.features[t].tags=r},ia.prototype.getScriptFeatures=function(e){var t=this.features[e];if(this.features.hasOwnProperty(e))return t;var r=this.getScriptFeaturesIndexes(e);if(!r)return null;var n=this.font.tables.gsub,t=r.map(function(e){return n.features[e]});return this.features[e]=t,this.mapTagsToFeatures(t,e),t},ia.prototype.getSubstitutionType=function(e,t){var r,n;return e.lookupType.toString()+t.substFormat.toString()},ia.prototype.getLookupMethod=function(e,t){var r=this,n;switch(this.getSubstitutionType(e,t)){case"11":return function(e){return pa.apply(r,[e,t])};case"12":return function(e){return ca.apply(r,[e,t])};case"63":return function(e){return fa.apply(r,[e,t])};case"41":return function(e){return da.apply(r,[e,t])};case"21":return function(e){return ga.apply(r,[e,t])};default:throw new Error("lookupType: "+e.lookupType+" - "+"substFormat: "+t.substFormat+" "+"is not yet supported")}},ia.prototype.lookupFeature=function(e){var t=this,r=e.contextParams,n=r.index,a=this.getFeature({tag:e.tag,script:e.script});if(!a)return new Error("font '"+this.font.names.fullName.en+"' "+"doesn't support feature '"+e.tag+"' "+"for script '"+e.script+"'.");for(var o=this.getFeatureLookups(a),s=[].concat(r.context),i=0;i<o.length;i++)for(var u=o[i],l=t.getLookupSubtables(u),p=0;p<l.length;p++){var c=l[p],h=t.getSubstitutionType(u,c),f=t.getLookupMethod(u,c),c=void 0;switch(h){case"11":(c=f(r.current))&&s.splice(n,1,new ua({id:11,tag:e.tag,substitution:c}));break;case"12":(c=f(r.current))&&s.splice(n,1,new ua({id:12,tag:e.tag,substitution:c}));break;case"63":c=f(r),Array.isArray(c)&&c.length&&s.splice(n,1,new ua({id:63,tag:e.tag,substitution:c}));break;case"41":(c=f(r))&&s.splice(n,1,new ua({id:41,tag:e.tag,substitution:c}));break;case"21":(c=f(r.current))&&s.splice(n,1,new ua({id:21,tag:e.tag,substitution:c}));break}if(r=new Jn(s,n),Array.isArray(c)&&!c.length)continue;c=null}return s.length?s:null},ia.prototype.supports=function(t){if(!t.script)return!1;this.getScriptFeatures(t.script);var e=this.features.hasOwnProperty(t.script);if(!t.tag)return e;var r=this.features[t.script].some(function(e){return e.tag===t.tag});return e&&r},ia.prototype.getLookupSubtables=function(e){return e.subtables||null},ia.prototype.getLookupByIndex=function(e){var t;return this.font.tables.gsub.lookups[e]||null},ia.prototype.getFeatureLookups=function(e){return e.lookupListIndexes.map(this.getLookupByIndex.bind(this))},ia.prototype.getFeature=function e(t){if(!this.font)return{FAIL:"No font was found"};this.features.hasOwnProperty(t.script)||this.getScriptFeatures(t.script);var r=this.features[t.script];if(!r)return{FAIL:"No feature for script "+t.script};if(!r.tags[t.tag])return null;return this.features[t.script].tags[t.tag]};var Ls={startCheck:va,endCheck:ma},po={startCheck:ya,endCheck:ba},Cs={11:Sa,12:xa,63:Ta,41:ka},co={startCheck:Ca,endCheck:Da};Ba.prototype.setText=function(e){this.text=e},Ba.prototype.contextChecks={latinWordCheck:co,arabicWordCheck:Ls,arabicSentenceCheck:po},Ba.prototype.registerFeatures=function(t,e){var r=this,e=e.filter(function(e){return r.query.supports({script:t,tag:e})});this.featuresTags.hasOwnProperty(t)?this.featuresTags[t]=this.featuresTags[t].concat(e):this.featuresTags[t]=e},Ba.prototype.applyFeatures=function(e,t){var r=this;if(!e)throw new Error("No valid font was provided to apply features");this.query||(this.query=new ia(e));for(var n=0;n<t.length;n++){var a=t[n];if(!r.query.supports({script:a.script}))continue;r.registerFeatures(a.script,a.tags)}},Ba.prototype.registerModifier=function(e,t,r){this.tokenizer.registerModifier(e,t,r)},Ba.prototype.checkContextReady=function(e){return!!this.tokenizer.getContext(e)},Ba.prototype.applyFeaturesToContexts=function(){this.checkContextReady("arabicWord")&&(Pa.call(this),Ha.call(this)),this.checkContextReady("latinWord")&&za.call(this),this.checkContextReady("arabicSentence")&&Fa.call(this)},Ba.prototype.processText=function(e){this.text&&this.text===e||(this.setText(e),Aa.call(this),this.applyFeaturesToContexts())},Ba.prototype.getBidiText=function(e){return this.processText(e),this.tokenizer.getText()},Ba.prototype.getTextGlyphs=function(e){var t=this;this.processText(e);for(var r=[],n=0;n<this.tokenizer.tokens.length;n++){var a=t.tokenizer.tokens[n];if(a.state.deleted)continue;var a=a.activeState.value;r.push(Array.isArray(a)?a[0]:a)}return r},Wa.prototype.hasChar=function(e){return null!==this.encoding.charToGlyphIndex(e)},Wa.prototype.charToGlyphIndex=function(e){return this.encoding.charToGlyphIndex(e)},Wa.prototype.charToGlyph=function(e){var e=this.charToGlyphIndex(e),t,t;return t=(t=this.glyphs.get(e))||this.glyphs.get(0)},Wa.prototype.updateFeatures=function(t){return this.defaultRenderOptions.features.map(function(e){return"latn"===e.script?{script:"latn",tags:e.tags.filter(function(e){return t[e]})}:e})},Wa.prototype.stringToGlyphs=function(e,t){var r=this,n=new Ba,a=function(e){return r.charToGlyphIndex(e.char)};n.registerModifier("glyphIndex",null,a);var t=t?this.updateFeatures(t.features):this.defaultRenderOptions.features;n.applyFeatures(this,t);for(var o=n.getTextGlyphs(e),s=o.length,i=new Array(s),u=this.glyphs.get(0),l=0;l<s;l+=1)i[l]=r.glyphs.get(o[l])||u;return i},Wa.prototype.nameToGlyphIndex=function(e){return this.glyphNames.nameToGlyphIndex(e)},Wa.prototype.nameToGlyph=function(e){var e=this.nameToGlyphIndex(e),t,t;return t=(t=this.glyphs.get(e))||this.glyphs.get(0)},Wa.prototype.glyphIndexToName=function(e){if(!this.glyphNames.glyphIndexToName)return"";return this.glyphNames.glyphIndexToName(e)},Wa.prototype.getKerningValue=function(e,t){e=e.index||e,t=t.index||t;var r=this.position.defaultKerningTables;if(r)return this.position.getKerningValue(r,e,t);return this.kerningPairs[e+","+t]||0},Wa.prototype.defaultRenderOptions={kerning:!0,features:[{script:"arab",tags:["init","medi","fina","rlig"]},{script:"latn",tags:["liga","rlig"]}]},Wa.prototype.forEachGlyph=function(e,t,r,n,a,o){var s=this;t=void 0!==t?t:0,r=void 0!==r?r:0,n=void 0!==n?n:72,a=a||this.defaultRenderOptions;var i=1/this.unitsPerEm*n,u=this.stringToGlyphs(e,a),l,e,l;a.kerning&&(e=a.script||this.position.getDefaultScriptName(),l=this.position.getKerningTables(e,a.language));for(var p=0;p<u.length;p+=1){var c=u[p],h;o.call(s,c,t,r,n,a),c.advanceWidth&&(t+=c.advanceWidth*i),a.kerning&&p<u.length-1&&(t+=(l?s.position.getKerningValue(l,c.index,u[p+1].index):s.getKerningValue(c,u[p+1]))*i),a.letterSpacing?t+=a.letterSpacing*n:a.tracking&&(t+=a.tracking/1e3*n)}return t},Wa.prototype.getPath=function(e,t,r,n,a){var o=new B;return this.forEachGlyph(e,t,r,n,a,function(e,t,r,n){var n=e.getPath(t,r,n,a,this);o.extend(n)}),o},Wa.prototype.getPaths=function(e,t,r,n,a){var o=[];return this.forEachGlyph(e,t,r,n,a,function(e,t,r,n){var n=e.getPath(t,r,n,a,this);o.push(n)}),o},Wa.prototype.getAdvanceWidth=function(e,t,r){return this.forEachGlyph(e,0,0,t,r,function(){})},Wa.prototype.draw=function(e,t,r,n,a,o){this.getPath(t,r,n,a,o).draw(e)},Wa.prototype.drawPoints=function(a,e,t,r,n,o){this.forEachGlyph(e,t,r,n,o,function(e,t,r,n){e.drawPoints(a,t,r,n)})},Wa.prototype.drawMetrics=function(a,e,t,r,n,o){this.forEachGlyph(e,t,r,n,o,function(e,t,r,n){e.drawMetrics(a,t,r,n)})},Wa.prototype.getEnglishName=function(e){var e=this.names[e];if(e)return e.en},Wa.prototype.validate=function(){function e(e,t){}function t(e){var e=r.getEnglishName(e);e&&e.trim().length}var r=this;t("fontFamily"),t("weightName"),t("manufacturer"),t("copyright"),t("version"),this.unitsPerEm},Wa.prototype.toTables=function(){return ys.fontToTable(this)},Wa.prototype.toBuffer=function(){return console.warn("Font.toBuffer is deprecated. Use Font.toArrayBuffer instead."),this.toArrayBuffer()},Wa.prototype.toArrayBuffer=function(){for(var e,t=this.toTables().encode(),r=new ArrayBuffer(t.length),n=new Uint8Array(r),a=0;a<t.length;a++)n[a]=t[a];return r},Wa.prototype.download=function(e){var t=this.getEnglishName("fontFamily"),r=this.getEnglishName("fontSubfamily");e=e||t.replace(/\s/g,"")+"-"+r+".otf";var t=this.toArrayBuffer(),r,n,r,n,n,t;Dt()?(window.URL=window.URL||window.webkitURL,window.URL?(r=new DataView(t),n=new Blob([r],{type:"font/opentype"}),(r=document.createElement("a")).href=window.URL.createObjectURL(n),r.download=e,(n=document.createEvent("MouseEvents")).initEvent("click",!0,!1),r.dispatchEvent(n)):console.warn("Font file could not be downloaded. Try using a different browser.")):(n=require("fs"),t=Mt(t),n.writeFileSync(e,t))},Wa.prototype.fsSelectionValues={ITALIC:1,UNDERSCORE:2,NEGATIVE:4,OUTLINED:8,STRIKEOUT:16,BOLD:32,REGULAR:64,USER_TYPO_METRICS:128,WWS:256,OBLIQUE:512},Wa.prototype.usWidthClasses={ULTRA_CONDENSED:1,EXTRA_CONDENSED:2,CONDENSED:3,SEMI_CONDENSED:4,MEDIUM:5,SEMI_EXPANDED:6,EXPANDED:7,EXTRA_EXPANDED:8,ULTRA_EXPANDED:9},Wa.prototype.usWeightClasses={THIN:100,EXTRA_LIGHT:200,LIGHT:300,NORMAL:400,MEDIUM:500,SEMI_BOLD:600,BOLD:700,EXTRA_BOLD:800,BLACK:900};var Ds={make:ja,parse:Za},Is=new Array(10);Is[1]=function e(){var t=this.offset+this.relativeOffset,r=this.parseUShort();if(1===r)return{posFormat:1,coverage:this.parsePointer(H.coverage),value:this.parseValueRecord()};if(2===r)return{posFormat:2,coverage:this.parsePointer(H.coverage),values:this.parseValueRecordList()};Eo.assert(!1,"0x"+t.toString(16)+": GPOS lookup type 1 format must be 1 or 2.")},Is[2]=function e(){var t=this.offset+this.relativeOffset,r=this.parseUShort();Eo.assert(1===r||2===r,"0x"+t.toString(16)+": GPOS lookup type 2 format must be 1 or 2.");var n=this.parsePointer(H.coverage),a=this.parseUShort(),o=this.parseUShort();if(1===r)return{posFormat:r,coverage:n,valueFormat1:a,valueFormat2:o,pairSets:this.parseList(H.pointer(H.list(function(){return{secondGlyph:this.parseUShort(),value1:this.parseValueRecord(a),value2:this.parseValueRecord(o)}})))};if(2===r){var s=this.parsePointer(H.classDef),i=this.parsePointer(H.classDef),u=this.parseUShort(),t=this.parseUShort();return{posFormat:r,coverage:n,valueFormat1:a,valueFormat2:o,classDef1:s,classDef2:i,class1Count:u,class2Count:t,classRecords:this.parseList(u,H.list(t,function(){return{value1:this.parseValueRecord(a),value2:this.parseValueRecord(o)}}))}}},Is[3]=function e(){return{error:"GPOS Lookup 3 not supported"}},Is[4]=function e(){return{error:"GPOS Lookup 4 not supported"}},Is[5]=function e(){return{error:"GPOS Lookup 5 not supported"}},Is[6]=function e(){return{error:"GPOS Lookup 6 not supported"}},Is[7]=function e(){return{error:"GPOS Lookup 7 not supported"}},Is[8]=function e(){return{error:"GPOS Lookup 8 not supported"}},Is[9]=function e(){return{error:"GPOS Lookup 9 not supported"}};var Ms=new Array(10),Bs={parse:Qa,make:Ka},Gs={parse:eo},As={parse:to};S.Font=Wa,S.Glyph=re,S.Path=B,S.BoundingBox=c,S._parse=Ho,S.parse=io,S.load=uo,S.loadSync=lo,Object.defineProperty(S,"__esModule",{value:!0})}(Stimulsoft.ExternalLibrary.Opentype={});;
var Stimulsoft;!function(t){var e,r;r=e=t.ExternalLibrary||(t.ExternalLibrary={})}(Stimulsoft=Stimulsoft||{}),function(t){"use strict";function r(t){return parseInt(t)===t}function i(t){if(!r(t.length))return 0;for(var e=0;e<t.length;e++)if(!r(t[e])||t[e]<0||255<t[e])return 0;return 1}function s(t,e){if(t.buffer&&"Uint8Array"===t.name)return e&&(t=t.slice?t.slice():Array.prototype.slice.call(t)),t;if(Array.isArray(t)){if(!i(t))throw new Error("Array contains invalid value: "+t);return new Uint8Array(t)}if(r(t.length)&&i(t))return new Uint8Array(t);throw new Error("unsupported array-like object")}function a(t){return new Uint8Array(t)}function o(t,e,r,i,n){null==i&&null==n||(t=t.slice?t.slice(i,n):Array.prototype.slice.call(t,i,n)),e.set(t,r)}function c(t){for(var e=[],r=0;r<t.length;r+=4)e.push(t[r]<<24|t[r+1]<<16|t[r+2]<<8|t[r+3]);return e}function e(t){var e=16-(t=s(t,!0)).length%16,r=a(t.length+e);o(t,r);for(var i=t.length;i<r.length;i++)r[i]=e;return r}function n(t){if((t=s(t,!0)).length<16)throw new Error("PKCS#7 invalid length");var e=t[t.length-1];if(16<e)throw new Error("PKCS#7 padding byte out of range");for(var r=t.length-e,i=0;i<e;i++)if(t[r+i]!==e)throw new Error("PKCS#7 invalid padding byte");var n=a(r);return o(t,n,0,0,r),n}var h={toBytes:f,fromBytes:u};function f(t){var e=[],r=0;t=encodeURI(t);while(r<t.length){var i=t.charCodeAt(r++);37===i?(e.push(parseInt(t.substr(r,2),16)),r+=2):e.push(i)}return s(e)}function u(t){var e=[],r=0;while(r<t.length){var i=t[r];i<128?(e.push(String.fromCharCode(i)),r++):191<i&&i<224?(e.push(String.fromCharCode((31&i)<<6|63&t[r+1])),r+=2):(e.push(String.fromCharCode((15&i)<<12|(63&t[r+1])<<6|63&t[r+2])),r+=3)}return e.join("")}var l=(p="0123456789abcdef",{toBytes:y,fromBytes:g}),p;function y(t){for(var e=[],r=0;r<t.length;r+=2)e.push(parseInt(t.substr(r,2),16));return e}function g(t){for(var e=[],r=0;r<t.length;r++){var i=t[r];e.push(p[(240&i)>>4]+p[15&i])}return e.join("")}var d={16:10,24:12,32:14},v=[1,2,4,8,16,32,64,128,27,54,108,216,171,77,154,47,94,188,99,198,151,53,106,212,179,125,250,239,197,145],_=[99,124,119,123,242,107,111,197,48,1,103,43,254,215,171,118,202,130,201,125,250,89,71,240,173,212,162,175,156,164,114,192,183,253,147,38,54,63,247,204,52,165,229,241,113,216,49,21,4,199,35,195,24,150,5,154,7,18,128,226,235,39,178,117,9,131,44,26,27,110,90,160,82,59,214,179,41,227,47,132,83,209,0,237,32,252,177,91,106,203,190,57,74,76,88,207,208,239,170,251,67,77,51,133,69,249,2,127,80,60,159,168,81,163,64,143,146,157,56,245,188,182,218,33,16,255,243,210,205,12,19,236,95,151,68,23,196,167,126,61,100,93,25,115,96,129,79,220,34,42,144,136,70,238,184,20,222,94,11,219,224,50,58,10,73,6,36,92,194,211,172,98,145,149,228,121,231,200,55,109,141,213,78,169,108,86,244,234,101,122,174,8,186,120,37,46,28,166,180,198,232,221,116,31,75,189,139,138,112,62,181,102,72,3,246,14,97,53,87,185,134,193,29,158,225,248,152,17,105,217,142,148,155,30,135,233,206,85,40,223,140,161,137,13,191,230,66,104,65,153,45,15,176,84,187,22],w=[82,9,106,213,48,54,165,56,191,64,163,158,129,243,215,251,124,227,57,130,155,47,255,135,52,142,67,68,196,222,233,203,84,123,148,50,166,194,35,61,238,76,149,11,66,250,195,78,8,46,161,102,40,217,36,178,118,91,162,73,109,139,209,37,114,248,246,100,134,104,152,22,212,164,92,204,93,101,182,146,108,112,72,80,253,237,185,218,94,21,70,87,167,141,157,132,144,216,171,0,140,188,211,10,247,228,88,5,184,179,69,6,208,44,30,143,202,63,15,2,193,175,189,3,1,19,138,107,58,145,17,65,79,103,220,234,151,242,207,206,240,180,230,115,150,172,116,34,231,173,53,133,226,249,55,232,28,117,223,110,71,241,26,113,29,41,197,137,111,183,98,14,170,24,190,27,252,86,62,75,198,210,121,32,154,219,192,254,120,205,90,244,31,221,168,51,136,7,199,49,177,18,16,89,39,128,236,95,96,81,127,169,25,181,74,13,45,229,122,159,147,201,156,239,160,224,59,77,174,42,245,176,200,235,187,60,131,83,153,97,23,43,4,126,186,119,214,38,225,105,20,99,85,33,12,125],m=[3328402341,4168907908,4000806809,4135287693,4294111757,3597364157,3731845041,2445657428,1613770832,33620227,3462883241,1445669757,3892248089,3050821474,1303096294,3967186586,2412431941,528646813,2311702848,4202528135,4026202645,2992200171,2387036105,4226871307,1101901292,3017069671,1604494077,1169141738,597466303,1403299063,3832705686,2613100635,1974974402,3791519004,1033081774,1277568618,1815492186,2118074177,4126668546,2211236943,1748251740,1369810420,3521504564,4193382664,3799085459,2883115123,1647391059,706024767,134480908,2512897874,1176707941,2646852446,806885416,932615841,168101135,798661301,235341577,605164086,461406363,3756188221,3454790438,1311188841,2142417613,3933566367,302582043,495158174,1479289972,874125870,907746093,3698224818,3025820398,1537253627,2756858614,1983593293,3084310113,2108928974,1378429307,3722699582,1580150641,327451799,2790478837,3117535592,0,3253595436,1075847264,3825007647,2041688520,3059440621,3563743934,2378943302,1740553945,1916352843,2487896798,2555137236,2958579944,2244988746,3151024235,3320835882,1336584933,3992714006,2252555205,2588757463,1714631509,293963156,2319795663,3925473552,67240454,4269768577,2689618160,2017213508,631218106,1269344483,2723238387,1571005438,2151694528,93294474,1066570413,563977660,1882732616,4059428100,1673313503,2008463041,2950355573,1109467491,537923632,3858759450,4260623118,3218264685,2177748300,403442708,638784309,3287084079,3193921505,899127202,2286175436,773265209,2479146071,1437050866,4236148354,2050833735,3362022572,3126681063,840505643,3866325909,3227541664,427917720,2655997905,2749160575,1143087718,1412049534,999329963,193497219,2353415882,3354324521,1807268051,672404540,2816401017,3160301282,369822493,2916866934,3688947771,1681011286,1949973070,336202270,2454276571,201721354,1210328172,3093060836,2680341085,3184776046,1135389935,3294782118,965841320,831886756,3554993207,4068047243,3588745010,2345191491,1849112409,3664604599,26054028,2983581028,2622377682,1235855840,3630984372,2891339514,4092916743,3488279077,3395642799,4101667470,1202630377,268961816,1874508501,4034427016,1243948399,1546530418,941366308,1470539505,1941222599,2546386513,3421038627,2715671932,3899946140,1042226977,2521517021,1639824860,227249030,260737669,3765465232,2084453954,1907733956,3429263018,2420656344,100860677,4160157185,470683154,3261161891,1781871967,2924959737,1773779408,394692241,2579611992,974986535,664706745,3655459128,3958962195,731420851,571543859,3530123707,2849626480,126783113,865375399,765172662,1008606754,361203602,3387549984,2278477385,2857719295,1344809080,2782912378,59542671,1503764984,160008576,437062935,1707065306,3622233649,2218934982,3496503480,2185314755,697932208,1512910199,504303377,2075177163,2824099068,1841019862,739644986],b=[2781242211,2230877308,2582542199,2381740923,234877682,3184946027,2984144751,1418839493,1348481072,50462977,2848876391,2102799147,434634494,1656084439,3863849899,2599188086,1167051466,2636087938,1082771913,2281340285,368048890,3954334041,3381544775,201060592,3963727277,1739838676,4250903202,3930435503,3206782108,4149453988,2531553906,1536934080,3262494647,484572669,2923271059,1783375398,1517041206,1098792767,49674231,1334037708,1550332980,4098991525,886171109,150598129,2481090929,1940642008,1398944049,1059722517,201851908,1385547719,1699095331,1587397571,674240536,2704774806,252314885,3039795866,151914247,908333586,2602270848,1038082786,651029483,1766729511,3447698098,2682942837,454166793,2652734339,1951935532,775166490,758520603,3000790638,4004797018,4217086112,4137964114,1299594043,1639438038,3464344499,2068982057,1054729187,1901997871,2534638724,4121318227,1757008337,0,750906861,1614815264,535035132,3363418545,3988151131,3201591914,1183697867,3647454910,1265776953,3734260298,3566750796,3903871064,1250283471,1807470800,717615087,3847203498,384695291,3313910595,3617213773,1432761139,2484176261,3481945413,283769337,100925954,2180939647,4037038160,1148730428,3123027871,3813386408,4087501137,4267549603,3229630528,2315620239,2906624658,3156319645,1215313976,82966005,3747855548,3245848246,1974459098,1665278241,807407632,451280895,251524083,1841287890,1283575245,337120268,891687699,801369324,3787349855,2721421207,3431482436,959321879,1469301956,4065699751,2197585534,1199193405,2898814052,3887750493,724703513,2514908019,2696962144,2551808385,3516813135,2141445340,1715741218,2119445034,2872807568,2198571144,3398190662,700968686,3547052216,1009259540,2041044702,3803995742,487983883,1991105499,1004265696,1449407026,1316239930,504629770,3683797321,168560134,1816667172,3837287516,1570751170,1857934291,4014189740,2797888098,2822345105,2754712981,936633572,2347923833,852879335,1133234376,1500395319,3084545389,2348912013,1689376213,3533459022,3762923945,3034082412,4205598294,133428468,634383082,2949277029,2398386810,3913789102,403703816,3580869306,2297460856,1867130149,1918643758,607656988,4049053350,3346248884,1368901318,600565992,2090982877,2632479860,557719327,3717614411,3697393085,2249034635,2232388234,2430627952,1115438654,3295786421,2865522278,3633334344,84280067,33027830,303828494,2747425121,1600795957,4188952407,3496589753,2434238086,1486471617,658119965,3106381470,953803233,334231800,3005978776,857870609,3151128937,1890179545,2298973838,2805175444,3056442267,574365214,2450884487,550103529,1233637070,4289353045,2018519080,2057691103,2399374476,4166623649,2148108681,387583245,3664101311,836232934,3330556482,3100665960,3280093505,2955516313,2002398509,287182607,3413881008,4238890068,3597515707,975967766],E=[1671808611,2089089148,2006576759,2072901243,4061003762,1807603307,1873927791,3310653893,810573872,16974337,1739181671,729634347,4263110654,3613570519,2883997099,1989864566,3393556426,2191335298,3376449993,2106063485,4195741690,1508618841,1204391495,4027317232,2917941677,3563566036,2734514082,2951366063,2629772188,2767672228,1922491506,3227229120,3082974647,4246528509,2477669779,644500518,911895606,1061256767,4144166391,3427763148,878471220,2784252325,3845444069,4043897329,1905517169,3631459288,827548209,356461077,67897348,3344078279,593839651,3277757891,405286936,2527147926,84871685,2595565466,118033927,305538066,2157648768,3795705826,3945188843,661212711,2999812018,1973414517,152769033,2208177539,745822252,439235610,455947803,1857215598,1525593178,2700827552,1391895634,994932283,3596728278,3016654259,695947817,3812548067,795958831,2224493444,1408607827,3513301457,0,3979133421,543178784,4229948412,2982705585,1542305371,1790891114,3410398667,3201918910,961245753,1256100938,1289001036,1491644504,3477767631,3496721360,4012557807,2867154858,4212583931,1137018435,1305975373,861234739,2241073541,1171229253,4178635257,33948674,2139225727,1357946960,1011120188,2679776671,2833468328,1374921297,2751356323,1086357568,2408187279,2460827538,2646352285,944271416,4110742005,3168756668,3066132406,3665145818,560153121,271589392,4279952895,4077846003,3530407890,3444343245,202643468,322250259,3962553324,1608629855,2543990167,1154254916,389623319,3294073796,2817676711,2122513534,1028094525,1689045092,1575467613,422261273,1939203699,1621147744,2174228865,1339137615,3699352540,577127458,712922154,2427141008,2290289544,1187679302,3995715566,3100863416,339486740,3732514782,1591917662,186455563,3681988059,3762019296,844522546,978220090,169743370,1239126601,101321734,611076132,1558493276,3260915650,3547250131,2901361580,1655096418,2443721105,2510565781,3828863972,2039214713,3878868455,3359869896,928607799,1840765549,2374762893,3580146133,1322425422,2850048425,1823791212,1459268694,4094161908,3928346602,1706019429,2056189050,2934523822,135794696,3134549946,2022240376,628050469,779246638,472135708,2800834470,3032970164,3327236038,3894660072,3715932637,1956440180,522272287,1272813131,3185336765,2340818315,2323976074,1888542832,1044544574,3049550261,1722469478,1222152264,50660867,4127324150,236067854,1638122081,895445557,1475980887,3117443513,2257655686,3243809217,489110045,2662934430,3778599393,4162055160,2561878936,288563729,1773916777,3648039385,2391345038,2493985684,2612407707,505560094,2274497927,3911240169,3460925390,1442818645,678973480,3749357023,2358182796,2717407649,2306869641,219617805,3218761151,3862026214,1120306242,1756942440,1103331905,2578459033,762796589,252780047,2966125488,1425844308,3151392187,372911126],S=[1667474886,2088535288,2004326894,2071694838,4075949567,1802223062,1869591006,3318043793,808472672,16843522,1734846926,724270422,4278065639,3621216949,2880169549,1987484396,3402253711,2189597983,3385409673,2105378810,4210693615,1499065266,1195886990,4042263547,2913856577,3570689971,2728590687,2947541573,2627518243,2762274643,1920112356,3233831835,3082273397,4261223649,2475929149,640051788,909531756,1061110142,4160160501,3435941763,875846760,2779116625,3857003729,4059105529,1903268834,3638064043,825316194,353713962,67374088,3351728789,589522246,3284360861,404236336,2526454071,84217610,2593830191,117901582,303183396,2155911963,3806477791,3958056653,656894286,2998062463,1970642922,151591698,2206440989,741110872,437923380,454765878,1852748508,1515908788,2694904667,1381168804,993742198,3604373943,3014905469,690584402,3823320797,791638366,2223281939,1398011302,3520161977,0,3991743681,538992704,4244381667,2981218425,1532751286,1785380564,3419096717,3200178535,960056178,1246420628,1280103576,1482221744,3486468741,3503319995,4025428677,2863326543,4227536621,1128514950,1296947098,859002214,2240123921,1162203018,4193849577,33687044,2139062782,1347481760,1010582648,2678045221,2829640523,1364325282,2745433693,1077985408,2408548869,2459086143,2644360225,943212656,4126475505,3166494563,3065430391,3671750063,555836226,269496352,4294908645,4092792573,3537006015,3452783745,202118168,320025894,3974901699,1600119230,2543297077,1145359496,387397934,3301201811,2812801621,2122220284,1027426170,1684319432,1566435258,421079858,1936954854,1616945344,2172753945,1330631070,3705438115,572679748,707427924,2425400123,2290647819,1179044492,4008585671,3099120491,336870440,3739122087,1583276732,185277718,3688593069,3772791771,842159716,976899700,168435220,1229577106,101059084,606366792,1549591736,3267517855,3553849021,2897014595,1650632388,2442242105,2509612081,3840161747,2038008818,3890688725,3368567691,926374254,1835907034,2374863873,3587531953,1313788572,2846482505,1819063512,1448540844,4109633523,3941213647,1701162954,2054852340,2930698567,134748176,3132806511,2021165296,623210314,774795868,471606328,2795958615,3031746419,3334885783,3907527627,3722280097,1953799400,522133822,1263263126,3183336545,2341176845,2324333839,1886425312,1044267644,3048588401,1718004428,1212733584,50529542,4143317495,235803164,1633788866,892690282,1465383342,3115962473,2256965911,3250673817,488449850,2661202215,3789633753,4177007595,2560144171,286339874,1768537042,3654906025,2391705863,2492770099,2610673197,505291324,2273808917,3924369609,3469625735,1431699370,673740880,3755965093,2358021891,2711746649,2307489801,218961690,3217021541,3873845719,1111672452,1751693520,1094828930,2576986153,757954394,252645662,2964376443,1414855848,3149649517,370555436],C=[1374988112,2118214995,437757123,975658646,1001089995,530400753,2902087851,1273168787,540080725,2910219766,2295101073,4110568485,1340463100,3307916247,641025152,3043140495,3736164937,632953703,1172967064,1576976609,3274667266,2169303058,2370213795,1809054150,59727847,361929877,3211623147,2505202138,3569255213,1484005843,1239443753,2395588676,1975683434,4102977912,2572697195,666464733,3202437046,4035489047,3374361702,2110667444,1675577880,3843699074,2538681184,1649639237,2976151520,3144396420,4269907996,4178062228,1883793496,2403728665,2497604743,1383856311,2876494627,1917518562,3810496343,1716890410,3001755655,800440835,2261089178,3543599269,807962610,599762354,33778362,3977675356,2328828971,2809771154,4077384432,1315562145,1708848333,101039829,3509871135,3299278474,875451293,2733856160,92987698,2767645557,193195065,1080094634,1584504582,3178106961,1042385657,2531067453,3711829422,1306967366,2438237621,1908694277,67556463,1615861247,429456164,3602770327,2302690252,1742315127,2968011453,126454664,3877198648,2043211483,2709260871,2084704233,4169408201,0,159417987,841739592,504459436,1817866830,4245618683,260388950,1034867998,908933415,168810852,1750902305,2606453969,607530554,202008497,2472011535,3035535058,463180190,2160117071,1641816226,1517767529,470948374,3801332234,3231722213,1008918595,303765277,235474187,4069246893,766945465,337553864,1475418501,2943682380,4003061179,2743034109,4144047775,1551037884,1147550661,1543208500,2336434550,3408119516,3069049960,3102011747,3610369226,1113818384,328671808,2227573024,2236228733,3535486456,2935566865,3341394285,496906059,3702665459,226906860,2009195472,733156972,2842737049,294930682,1206477858,2835123396,2700099354,1451044056,573804783,2269728455,3644379585,2362090238,2564033334,2801107407,2776292904,3669462566,1068351396,742039012,1350078989,1784663195,1417561698,4136440770,2430122216,775550814,2193862645,2673705150,1775276924,1876241833,3475313331,3366754619,270040487,3902563182,3678124923,3441850377,1851332852,3969562369,2203032232,3868552805,2868897406,566021896,4011190502,3135740889,1248802510,3936291284,699432150,832877231,708780849,3332740144,899835584,1951317047,4236429990,3767586992,866637845,4043610186,1106041591,2144161806,395441711,1984812685,1139781709,3433712980,3835036895,2664543715,1282050075,3240894392,1181045119,2640243204,25965917,4203181171,4211818798,3009879386,2463879762,3910161971,1842759443,2597806476,933301370,1509430414,3943906441,3467192302,3076639029,3776767469,2051518780,2631065433,1441952575,404016761,1942435775,1408749034,1610459739,3745345300,2017778566,3400528769,3110650942,941896748,3265478751,371049330,3168937228,675039627,4279080257,967311729,135050206,3635733660,1683407248,2076935265,3576870512,1215061108,3501741890],z=[1347548327,1400783205,3273267108,2520393566,3409685355,4045380933,2880240216,2471224067,1428173050,4138563181,2441661558,636813900,4233094615,3620022987,2149987652,2411029155,1239331162,1730525723,2554718734,3781033664,46346101,310463728,2743944855,3328955385,3875770207,2501218972,3955191162,3667219033,768917123,3545789473,692707433,1150208456,1786102409,2029293177,1805211710,3710368113,3065962831,401639597,1724457132,3028143674,409198410,2196052529,1620529459,1164071807,3769721975,2226875310,486441376,2499348523,1483753576,428819965,2274680428,3075636216,598438867,3799141122,1474502543,711349675,129166120,53458370,2592523643,2782082824,4063242375,2988687269,3120694122,1559041666,730517276,2460449204,4042459122,2706270690,3446004468,3573941694,533804130,2328143614,2637442643,2695033685,839224033,1973745387,957055980,2856345839,106852767,1371368976,4181598602,1033297158,2933734917,1179510461,3046200461,91341917,1862534868,4284502037,605657339,2547432937,3431546947,2003294622,3182487618,2282195339,954669403,3682191598,1201765386,3917234703,3388507166,0,2198438022,1211247597,2887651696,1315723890,4227665663,1443857720,507358933,657861945,1678381017,560487590,3516619604,975451694,2970356327,261314535,3535072918,2652609425,1333838021,2724322336,1767536459,370938394,182621114,3854606378,1128014560,487725847,185469197,2918353863,3106780840,3356761769,2237133081,1286567175,3152976349,4255350624,2683765030,3160175349,3309594171,878443390,1988838185,3704300486,1756818940,1673061617,3403100636,272786309,1075025698,545572369,2105887268,4174560061,296679730,1841768865,1260232239,4091327024,3960309330,3497509347,1814803222,2578018489,4195456072,575138148,3299409036,446754879,3629546796,4011996048,3347532110,3252238545,4270639778,915985419,3483825537,681933534,651868046,2755636671,3828103837,223377554,2607439820,1649704518,3270937875,3901806776,1580087799,4118987695,3198115200,2087309459,2842678573,3016697106,1003007129,2802849917,1860738147,2077965243,164439672,4100872472,32283319,2827177882,1709610350,2125135846,136428751,3874428392,3652904859,3460984630,3572145929,3593056380,2939266226,824852259,818324884,3224740454,930369212,2801566410,2967507152,355706840,1257309336,4148292826,243256656,790073846,2373340630,1296297904,1422699085,3756299780,3818836405,457992840,3099667487,2135319889,77422314,1560382517,1945798516,788204353,1521706781,1385356242,870912086,325965383,2358957921,2050466060,2388260884,2313884476,4006521127,901210569,3990953189,1014646705,1503449823,1062597235,2031621326,3212035895,3931371469,1533017514,350174575,2256028891,2177544179,1052338372,741876788,1606591296,1914052035,213705253,2334669897,1107234197,1899603969,3725069491,2631447780,2422494913,1635502980,1893020342,1950903388,1120974935],x=[2807058932,1699970625,2764249623,1586903591,1808481195,1173430173,1487645946,59984867,4199882800,1844882806,1989249228,1277555970,3623636965,3419915562,1149249077,2744104290,1514790577,459744698,244860394,3235995134,1963115311,4027744588,2544078150,4190530515,1608975247,2627016082,2062270317,1507497298,2200818878,567498868,1764313568,3359936201,2305455554,2037970062,1047239e3,1910319033,1337376481,2904027272,2892417312,984907214,1243112415,830661914,861968209,2135253587,2011214180,2927934315,2686254721,731183368,1750626376,4246310725,1820824798,4172763771,3542330227,48394827,2404901663,2871682645,671593195,3254988725,2073724613,145085239,2280796200,2779915199,1790575107,2187128086,472615631,3029510009,4075877127,3802222185,4107101658,3201631749,1646252340,4270507174,1402811438,1436590835,3778151818,3950355702,3963161475,4020912224,2667994737,273792366,2331590177,104699613,95345982,3175501286,2377486676,1560637892,3564045318,369057872,4213447064,3919042237,1137477952,2658625497,1119727848,2340947849,1530455833,4007360968,172466556,266959938,516552836,0,2256734592,3980931627,1890328081,1917742170,4294704398,945164165,3575528878,958871085,3647212047,2787207260,1423022939,775562294,1739656202,3876557655,2530391278,2443058075,3310321856,547512796,1265195639,437656594,3121275539,719700128,3762502690,387781147,218828297,3350065803,2830708150,2848461854,428169201,122466165,3720081049,1627235199,648017665,4122762354,1002783846,2117360635,695634755,3336358691,4234721005,4049844452,3704280881,2232435299,574624663,287343814,612205898,1039717051,840019705,2708326185,793451934,821288114,1391201670,3822090177,376187827,3113855344,1224348052,1679968233,2361698556,1058709744,752375421,2431590963,1321699145,3519142200,2734591178,188127444,2177869557,3727205754,2384911031,3215212461,2648976442,2450346104,3432737375,1180849278,331544205,3102249176,4150144569,2952102595,2159976285,2474404304,766078933,313773861,2570832044,2108100632,1668212892,3145456443,2013908262,418672217,3070356634,2594734927,1852171925,3867060991,3473416636,3907448597,2614737639,919489135,164948639,2094410160,2997825956,590424639,2486224549,1723872674,3157750862,3399941250,3501252752,3625268135,2555048196,3673637356,1343127501,4130281361,3599595085,2957853679,1297403050,81781910,3051593425,2283490410,532201772,1367295589,3926170974,895287692,1953757831,1093597963,492483431,3528626907,1446242576,1192455638,1636604631,209336225,344873464,1015671571,669961897,3375740769,3857572124,2973530695,3747192018,1933530610,3464042516,935293895,3454686199,2858115069,1863638845,3683022916,4085369519,3292445032,875313188,1080017571,3279033885,621591778,1233856572,2504130317,24197544,3017672716,3835484340,3247465558,2220981195,3060847922,1551124588,1463996600],A=[4104605777,1097159550,396673818,660510266,2875968315,2638606623,4200115116,3808662347,821712160,1986918061,3430322568,38544885,3856137295,718002117,893681702,1654886325,2975484382,3122358053,3926825029,4274053469,796197571,1290801793,1184342925,3556361835,2405426947,2459735317,1836772287,1381620373,3196267988,1948373848,3764988233,3385345166,3263785589,2390325492,1480485785,3111247143,3780097726,2293045232,548169417,3459953789,3746175075,439452389,1362321559,1400849762,1685577905,1806599355,2174754046,137073913,1214797936,1174215055,3731654548,2079897426,1943217067,1258480242,529487843,1437280870,3945269170,3049390895,3313212038,923313619,679998e3,3215307299,57326082,377642221,3474729866,2041877159,133361907,1776460110,3673476453,96392454,878845905,2801699524,777231668,4082475170,2330014213,4142626212,2213296395,1626319424,1906247262,1846563261,562755902,3708173718,1040559837,3871163981,1418573201,3294430577,114585348,1343618912,2566595609,3186202582,1078185097,3651041127,3896688048,2307622919,425408743,3371096953,2081048481,1108339068,2216610296,0,2156299017,736970802,292596766,1517440620,251657213,2235061775,2933202493,758720310,265905162,1554391400,1532285339,908999204,174567692,1474760595,4002861748,2610011675,3234156416,3693126241,2001430874,303699484,2478443234,2687165888,585122620,454499602,151849742,2345119218,3064510765,514443284,4044981591,1963412655,2581445614,2137062819,19308535,1928707164,1715193156,4219352155,1126790795,600235211,3992742070,3841024952,836553431,1669664834,2535604243,3323011204,1243905413,3141400786,4180808110,698445255,2653899549,2989552604,2253581325,3252932727,3004591147,1891211689,2487810577,3915653703,4237083816,4030667424,2100090966,865136418,1229899655,953270745,3399679628,3557504664,4118925222,2061379749,3079546586,2915017791,983426092,2022837584,1607244650,2118541908,2366882550,3635996816,972512814,3283088770,1568718495,3499326569,3576539503,621982671,2895723464,410887952,2623762152,1002142683,645401037,1494807662,2595684844,1335535747,2507040230,4293295786,3167684641,367585007,3885750714,1865862730,2668221674,2960971305,2763173681,1059270954,2777952454,2724642869,1320957812,2194319100,2429595872,2815956275,77089521,3973773121,3444575871,2448830231,1305906550,4021308739,2857194700,2516901860,3518358430,1787304780,740276417,1699839814,1592394909,2352307457,2272556026,188821243,1729977011,3687994002,274084841,3594982253,3613494426,2701949495,4162096729,322734571,2837966542,1640576439,484830689,1202797690,3537852828,4067639125,349075736,3342319475,4157467219,4255800159,1030690015,1155237496,2951971274,1757691577,607398968,2738905026,499347990,3794078908,1011452712,227885567,2818666809,213114376,3034881240,1455525988,3414450555,850817237,1817998408,3092726480],K=[0,235474187,470948374,303765277,941896748,908933415,607530554,708780849,1883793496,2118214995,1817866830,1649639237,1215061108,1181045119,1417561698,1517767529,3767586992,4003061179,4236429990,4069246893,3635733660,3602770327,3299278474,3400528769,2430122216,2664543715,2362090238,2193862645,2835123396,2801107407,3035535058,3135740889,3678124923,3576870512,3341394285,3374361702,3810496343,3977675356,4279080257,4043610186,2876494627,2776292904,3076639029,3110650942,2472011535,2640243204,2403728665,2169303058,1001089995,899835584,666464733,699432150,59727847,226906860,530400753,294930682,1273168787,1172967064,1475418501,1509430414,1942435775,2110667444,1876241833,1641816226,2910219766,2743034109,2976151520,3211623147,2505202138,2606453969,2302690252,2269728455,3711829422,3543599269,3240894392,3475313331,3843699074,3943906441,4178062228,4144047775,1306967366,1139781709,1374988112,1610459739,1975683434,2076935265,1775276924,1742315127,1034867998,866637845,566021896,800440835,92987698,193195065,429456164,395441711,1984812685,2017778566,1784663195,1683407248,1315562145,1080094634,1383856311,1551037884,101039829,135050206,437757123,337553864,1042385657,807962610,573804783,742039012,2531067453,2564033334,2328828971,2227573024,2935566865,2700099354,3001755655,3168937228,3868552805,3902563182,4203181171,4102977912,3736164937,3501741890,3265478751,3433712980,1106041591,1340463100,1576976609,1408749034,2043211483,2009195472,1708848333,1809054150,832877231,1068351396,766945465,599762354,159417987,126454664,361929877,463180190,2709260871,2943682380,3178106961,3009879386,2572697195,2538681184,2236228733,2336434550,3509871135,3745345300,3441850377,3274667266,3910161971,3877198648,4110568485,4211818798,2597806476,2497604743,2261089178,2295101073,2733856160,2902087851,3202437046,2968011453,3936291284,3835036895,4136440770,4169408201,3535486456,3702665459,3467192302,3231722213,2051518780,1951317047,1716890410,1750902305,1113818384,1282050075,1584504582,1350078989,168810852,67556463,371049330,404016761,841739592,1008918595,775550814,540080725,3969562369,3801332234,4035489047,4269907996,3569255213,3669462566,3366754619,3332740144,2631065433,2463879762,2160117071,2395588676,2767645557,2868897406,3102011747,3069049960,202008497,33778362,270040487,504459436,875451293,975658646,675039627,641025152,2084704233,1917518562,1615861247,1851332852,1147550661,1248802510,1484005843,1451044056,933301370,967311729,733156972,632953703,260388950,25965917,328671808,496906059,1206477858,1239443753,1543208500,1441952575,2144161806,1908694277,1675577880,1842759443,3610369226,3644379585,3408119516,3307916247,4011190502,3776767469,4077384432,4245618683,2809771154,2842737049,3144396420,3043140495,2673705150,2438237621,2203032232,2370213795],k=[0,185469197,370938394,487725847,741876788,657861945,975451694,824852259,1483753576,1400783205,1315723890,1164071807,1950903388,2135319889,1649704518,1767536459,2967507152,3152976349,2801566410,2918353863,2631447780,2547432937,2328143614,2177544179,3901806776,3818836405,4270639778,4118987695,3299409036,3483825537,3535072918,3652904859,2077965243,1893020342,1841768865,1724457132,1474502543,1559041666,1107234197,1257309336,598438867,681933534,901210569,1052338372,261314535,77422314,428819965,310463728,3409685355,3224740454,3710368113,3593056380,3875770207,3960309330,4045380933,4195456072,2471224067,2554718734,2237133081,2388260884,3212035895,3028143674,2842678573,2724322336,4138563181,4255350624,3769721975,3955191162,3667219033,3516619604,3431546947,3347532110,2933734917,2782082824,3099667487,3016697106,2196052529,2313884476,2499348523,2683765030,1179510461,1296297904,1347548327,1533017514,1786102409,1635502980,2087309459,2003294622,507358933,355706840,136428751,53458370,839224033,957055980,605657339,790073846,2373340630,2256028891,2607439820,2422494913,2706270690,2856345839,3075636216,3160175349,3573941694,3725069491,3273267108,3356761769,4181598602,4063242375,4011996048,3828103837,1033297158,915985419,730517276,545572369,296679730,446754879,129166120,213705253,1709610350,1860738147,1945798516,2029293177,1239331162,1120974935,1606591296,1422699085,4148292826,4233094615,3781033664,3931371469,3682191598,3497509347,3446004468,3328955385,2939266226,2755636671,3106780840,2988687269,2198438022,2282195339,2501218972,2652609425,1201765386,1286567175,1371368976,1521706781,1805211710,1620529459,2105887268,1988838185,533804130,350174575,164439672,46346101,870912086,954669403,636813900,788204353,2358957921,2274680428,2592523643,2441661558,2695033685,2880240216,3065962831,3182487618,3572145929,3756299780,3270937875,3388507166,4174560061,4091327024,4006521127,3854606378,1014646705,930369212,711349675,560487590,272786309,457992840,106852767,223377554,1678381017,1862534868,1914052035,2031621326,1211247597,1128014560,1580087799,1428173050,32283319,182621114,401639597,486441376,768917123,651868046,1003007129,818324884,1503449823,1385356242,1333838021,1150208456,1973745387,2125135846,1673061617,1756818940,2970356327,3120694122,2802849917,2887651696,2637442643,2520393566,2334669897,2149987652,3917234703,3799141122,4284502037,4100872472,3309594171,3460984630,3545789473,3629546796,2050466060,1899603969,1814803222,1730525723,1443857720,1560382517,1075025698,1260232239,575138148,692707433,878443390,1062597235,243256656,91341917,409198410,325965383,3403100636,3252238545,3704300486,3620022987,3874428392,3990953189,4042459122,4227665663,2460449204,2578018489,2226875310,2411029155,3198115200,3046200461,2827177882,2743944855],I=[0,218828297,437656594,387781147,875313188,958871085,775562294,590424639,1750626376,1699970625,1917742170,2135253587,1551124588,1367295589,1180849278,1265195639,3501252752,3720081049,3399941250,3350065803,3835484340,3919042237,4270507174,4085369519,3102249176,3051593425,2734591178,2952102595,2361698556,2177869557,2530391278,2614737639,3145456443,3060847922,2708326185,2892417312,2404901663,2187128086,2504130317,2555048196,3542330227,3727205754,3375740769,3292445032,3876557655,3926170974,4246310725,4027744588,1808481195,1723872674,1910319033,2094410160,1608975247,1391201670,1173430173,1224348052,59984867,244860394,428169201,344873464,935293895,984907214,766078933,547512796,1844882806,1627235199,2011214180,2062270317,1507497298,1423022939,1137477952,1321699145,95345982,145085239,532201772,313773861,830661914,1015671571,731183368,648017665,3175501286,2957853679,2807058932,2858115069,2305455554,2220981195,2474404304,2658625497,3575528878,3625268135,3473416636,3254988725,3778151818,3963161475,4213447064,4130281361,3599595085,3683022916,3432737375,3247465558,3802222185,4020912224,4172763771,4122762354,3201631749,3017672716,2764249623,2848461854,2331590177,2280796200,2431590963,2648976442,104699613,188127444,472615631,287343814,840019705,1058709744,671593195,621591778,1852171925,1668212892,1953757831,2037970062,1514790577,1463996600,1080017571,1297403050,3673637356,3623636965,3235995134,3454686199,4007360968,3822090177,4107101658,4190530515,2997825956,3215212461,2830708150,2779915199,2256734592,2340947849,2627016082,2443058075,172466556,122466165,273792366,492483431,1047239e3,861968209,612205898,695634755,1646252340,1863638845,2013908262,1963115311,1446242576,1530455833,1277555970,1093597963,1636604631,1820824798,2073724613,1989249228,1436590835,1487645946,1337376481,1119727848,164948639,81781910,331544205,516552836,1039717051,821288114,669961897,719700128,2973530695,3157750862,2871682645,2787207260,2232435299,2283490410,2667994737,2450346104,3647212047,3564045318,3279033885,3464042516,3980931627,3762502690,4150144569,4199882800,3070356634,3121275539,2904027272,2686254721,2200818878,2384911031,2570832044,2486224549,3747192018,3528626907,3310321856,3359936201,3950355702,3867060991,4049844452,4234721005,1739656202,1790575107,2108100632,1890328081,1402811438,1586903591,1233856572,1149249077,266959938,48394827,369057872,418672217,1002783846,919489135,567498868,752375421,209336225,24197544,376187827,459744698,945164165,895287692,574624663,793451934,1679968233,1764313568,2117360635,1933530610,1343127501,1560637892,1243112415,1192455638,3704280881,3519142200,3336358691,3419915562,3907448597,3857572124,4075877127,4294704398,3029510009,3113855344,2927934315,2744104290,2159976285,2377486676,2594734927,2544078150],P=[0,151849742,303699484,454499602,607398968,758720310,908999204,1059270954,1214797936,1097159550,1517440620,1400849762,1817998408,1699839814,2118541908,2001430874,2429595872,2581445614,2194319100,2345119218,3034881240,3186202582,2801699524,2951971274,3635996816,3518358430,3399679628,3283088770,4237083816,4118925222,4002861748,3885750714,1002142683,850817237,698445255,548169417,529487843,377642221,227885567,77089521,1943217067,2061379749,1640576439,1757691577,1474760595,1592394909,1174215055,1290801793,2875968315,2724642869,3111247143,2960971305,2405426947,2253581325,2638606623,2487810577,3808662347,3926825029,4044981591,4162096729,3342319475,3459953789,3576539503,3693126241,1986918061,2137062819,1685577905,1836772287,1381620373,1532285339,1078185097,1229899655,1040559837,923313619,740276417,621982671,439452389,322734571,137073913,19308535,3871163981,4021308739,4104605777,4255800159,3263785589,3414450555,3499326569,3651041127,2933202493,2815956275,3167684641,3049390895,2330014213,2213296395,2566595609,2448830231,1305906550,1155237496,1607244650,1455525988,1776460110,1626319424,2079897426,1928707164,96392454,213114376,396673818,514443284,562755902,679998e3,865136418,983426092,3708173718,3557504664,3474729866,3323011204,4180808110,4030667424,3945269170,3794078908,2507040230,2623762152,2272556026,2390325492,2975484382,3092726480,2738905026,2857194700,3973773121,3856137295,4274053469,4157467219,3371096953,3252932727,3673476453,3556361835,2763173681,2915017791,3064510765,3215307299,2156299017,2307622919,2459735317,2610011675,2081048481,1963412655,1846563261,1729977011,1480485785,1362321559,1243905413,1126790795,878845905,1030690015,645401037,796197571,274084841,425408743,38544885,188821243,3613494426,3731654548,3313212038,3430322568,4082475170,4200115116,3780097726,3896688048,2668221674,2516901860,2366882550,2216610296,3141400786,2989552604,2837966542,2687165888,1202797690,1320957812,1437280870,1554391400,1669664834,1787304780,1906247262,2022837584,265905162,114585348,499347990,349075736,736970802,585122620,972512814,821712160,2595684844,2478443234,2293045232,2174754046,3196267988,3079546586,2895723464,2777952454,3537852828,3687994002,3234156416,3385345166,4142626212,4293295786,3841024952,3992742070,174567692,57326082,410887952,292596766,777231668,660510266,1011452712,893681702,1108339068,1258480242,1343618912,1494807662,1715193156,1865862730,1948373848,2100090966,2701949495,2818666809,3004591147,3122358053,2235061775,2352307457,2535604243,2653899549,3915653703,3764988233,4219352155,4067639125,3444575871,3294430577,3746175075,3594982253,836553431,953270745,600235211,718002117,367585007,484830689,133361907,251657213,2041877159,1891211689,1806599355,1654886325,1568718495,1418573201,1335535747,1184342925],j=function(t){if(!(this instanceof j))throw Error("AES must be instanitated with `new`");Object.defineProperty(this,"key",{value:s(t,!0)}),this._prepare()};j.prototype._prepare=function(){var t=d[this.key.length];if(null==t)throw new Error("invalid key size (must be 16, 24 or 32 bytes)");this._Ke=[],this._Kd=[];for(var e=0;e<=t;e++)this._Ke.push([0,0,0,0]),this._Kd.push([0,0,0,0]);for(var r=4*(t+1),i=this.key.length/4,n=c(this.key),s,e=0;e<i;e++)s=e>>2,this._Ke[s][e%4]=n[e],this._Kd[t-s][e%4]=n[e];var o=0,h=i,a;while(h<r){if(a=n[i-1],n[0]^=_[a>>16&255]<<24^_[a>>8&255]<<16^_[255&a]<<8^_[a>>24&255]^v[o]<<24,o+=1,8!=i)for(var e=1;e<i;e++)n[e]^=n[e-1];else{for(var e=1;e<i/2;e++)n[e]^=n[e-1];a=n[i/2-1],n[i/2]^=_[255&a]^_[a>>8&255]<<8^_[a>>16&255]<<16^_[a>>24&255]<<24;for(var e=i/2+1;e<i;e++)n[e]^=n[e-1]}var e=0,f,u;while(e<i&&h<r)f=h>>2,u=h%4,this._Ke[f][u]=n[e],this._Kd[t-f][u]=n[e++],h++}for(var f=1;f<t;f++)for(var u=0;u<4;u++)a=this._Kd[f][u],this._Kd[f][u]=K[a>>24&255]^k[a>>16&255]^I[a>>8&255]^P[255&a]},j.prototype.encrypt=function(t){if(16!=t.length)throw new Error("invalid plaintext size (must be 16 bytes)");for(var e=this._Ke.length-1,r=[0,0,0,0],i=c(t),n=0;n<4;n++)i[n]^=this._Ke[0][n];for(var s=1;s<e;s++){for(var n=0;n<4;n++)r[n]=m[i[n]>>24&255]^b[i[(n+1)%4]>>16&255]^E[i[(n+2)%4]>>8&255]^S[255&i[(n+3)%4]]^this._Ke[s][n];i=r.slice()}for(var o=a(16),h,n=0;n<4;n++)h=this._Ke[e][n],o[4*n]=255&(_[i[n]>>24&255]^h>>24),o[4*n+1]=255&(_[i[(n+1)%4]>>16&255]^h>>16),o[4*n+2]=255&(_[i[(n+2)%4]>>8&255]^h>>8),o[4*n+3]=255&(_[255&i[(n+3)%4]]^h);return o},j.prototype.decrypt=function(t){if(16!=t.length)throw new Error("invalid ciphertext size (must be 16 bytes)");for(var e=this._Kd.length-1,r=[0,0,0,0],i=c(t),n=0;n<4;n++)i[n]^=this._Kd[0][n];for(var s=1;s<e;s++){for(var n=0;n<4;n++)r[n]=C[i[n]>>24&255]^z[i[(n+3)%4]>>16&255]^x[i[(n+2)%4]>>8&255]^A[255&i[(n+1)%4]]^this._Kd[s][n];i=r.slice()}for(var o=a(16),h,n=0;n<4;n++)h=this._Kd[e][n],o[4*n]=255&(w[i[n]>>24&255]^h>>24),o[4*n+1]=255&(w[i[(n+3)%4]>>16&255]^h>>16),o[4*n+2]=255&(w[i[(n+2)%4]>>8&255]^h>>8),o[4*n+3]=255&(w[255&i[(n+1)%4]]^h);return o};var R=function(t){if(!(this instanceof R))throw Error("AES must be instanitated with `new`");this.description="Electronic Code Block",this.name="ecb",this._aes=new j(t)};R.prototype.encrypt=function(t){if((t=s(t)).length%16!=0)throw new Error("invalid plaintext size (must be multiple of 16 bytes)");for(var e=a(t.length),r=a(16),i=0;i<t.length;i+=16)o(t,r,0,i,i+16),o(r=this._aes.encrypt(r),e,i);return e},R.prototype.decrypt=function(t){if((t=s(t)).length%16!=0)throw new Error("invalid ciphertext size (must be multiple of 16 bytes)");for(var e=a(t.length),r=a(16),i=0;i<t.length;i+=16)o(t,r,0,i,i+16),o(r=this._aes.decrypt(r),e,i);return e};var B=function(t,e){if(!(this instanceof B))throw Error("AES must be instanitated with `new`");if(this.description="Cipher Block Chaining",this.name="cbc",e){if(16!=e.length)throw new Error("invalid initialation vector size (must be 16 bytes)")}else e=a(16);this._lastCipherblock=s(e,!0),this._aes=new j(t)};B.prototype.encrypt=function(t){if((t=s(t)).length%16!=0)throw new Error("invalid plaintext size (must be multiple of 16 bytes)");for(var e=a(t.length),r=a(16),i=0;i<t.length;i+=16){o(t,r,0,i,i+16);for(var n=0;n<16;n++)r[n]^=this._lastCipherblock[n];this._lastCipherblock=this._aes.encrypt(r),o(this._lastCipherblock,e,i)}return e},B.prototype.decrypt=function(t){if((t=s(t)).length%16!=0)throw new Error("invalid ciphertext size (must be multiple of 16 bytes)");for(var e=a(t.length),r=a(16),i=0;i<t.length;i+=16){o(t,r,0,i,i+16),r=this._aes.decrypt(r);for(var n=0;n<16;n++)e[i+n]=r[n]^this._lastCipherblock[n];o(t,this._lastCipherblock,0,i,i+16)}return e};var U=function(t,e,r){if(!(this instanceof U))throw Error("AES must be instanitated with `new`");if(this.description="Cipher Feedback",this.name="cfb",e){if(16!=e.length)throw new Error("invalid initialation vector size (must be 16 size)")}else e=a(16);r=r||1,this.segmentSize=r,this._shiftRegister=s(e,!0),this._aes=new j(t)};U.prototype.encrypt=function(t){if(t.length%this.segmentSize!=0)throw new Error("invalid plaintext size (must be segmentSize bytes)");for(var e=s(t,!0),r,i=0;i<e.length;i+=this.segmentSize){r=this._aes.encrypt(this._shiftRegister);for(var n=0;n<this.segmentSize;n++)e[i+n]^=r[n];o(this._shiftRegister,this._shiftRegister,0,this.segmentSize),o(e,this._shiftRegister,16-this.segmentSize,i,i+this.segmentSize)}return e},U.prototype.decrypt=function(t){if(t.length%this.segmentSize!=0)throw new Error("invalid ciphertext size (must be segmentSize bytes)");for(var e=s(t,!0),r,i=0;i<e.length;i+=this.segmentSize){r=this._aes.encrypt(this._shiftRegister);for(var n=0;n<this.segmentSize;n++)e[i+n]^=r[n];o(this._shiftRegister,this._shiftRegister,0,this.segmentSize),o(t,this._shiftRegister,16-this.segmentSize,i,i+this.segmentSize)}return e};var O=function(t,e){if(!(this instanceof O))throw Error("AES must be instanitated with `new`");if(this.description="Output Feedback",this.name="ofb",e){if(16!=e.length)throw new Error("invalid initialation vector size (must be 16 bytes)")}else e=a(16);this._lastPrecipher=s(e,!0),this._lastPrecipherIndex=16,this._aes=new j(t)};O.prototype.encrypt=function(t){for(var e=s(t,!0),r=0;r<e.length;r++)16===this._lastPrecipherIndex&&(this._lastPrecipher=this._aes.encrypt(this._lastPrecipher),this._lastPrecipherIndex=0),e[r]^=this._lastPrecipher[this._lastPrecipherIndex++];return e},O.prototype.decrypt=O.prototype.encrypt;var F=function(t){if(!(this instanceof F))throw Error("Counter must be instanitated with `new`");0===t||t||(t=1),"number"==typeof t?(this._counter=a(16),this.setValue(t)):this.setBytes(t)};F.prototype.setValue=function(t){if("number"!=typeof t||parseInt(t)!=t)throw new Error("invalid counter value (must be an integer)");if(t>Number.MAX_SAFE_INTEGER)throw new Error("integer value out of safe range");for(var e=15;0<=e;--e)this._counter[e]=t%256,t=parseInt(t/256)},F.prototype.setBytes=function(t){if(16!=(t=s(t,!0)).length)throw new Error("invalid counter bytes size (must be 16 bytes)");this._counter=t},F.prototype.increment=function(){for(var t=15;0<=t;t--){if(255!==this._counter[t]){this._counter[t]++;break}this._counter[t]=0}};var L=function(t,e){if(!(this instanceof L))throw Error("AES must be instanitated with `new`");this.description="Counter",this.name="ctr",e instanceof F||(e=new F(e)),this._counter=e,this._remainingCounter=null,this._remainingCounterIndex=16,this._aes=new j(t)};L.prototype.encrypt=function(t){for(var e=s(t,!0),r=0;r<e.length;r++)16===this._remainingCounterIndex&&(this._remainingCounter=this._aes.encrypt(this._counter._counter),this._remainingCounterIndex=0,this._counter.increment()),e[r]^=this._remainingCounter[this._remainingCounterIndex++];return e},L.prototype.decrypt=L.prototype.encrypt;var M={AES:j,Counter:F,ModeOfOperation:{ecb:R,cbc:B,cfb:U,ofb:O,ctr:L},utils:{hex:l,utf8:h},padding:{pkcs7:{pad:e,strip:n}},_arrayTest:{coerceArray:s,createArray:a,copyArray:o}};"object"==typeof exports&&"undefined"!=typeof module?module.exports=M:"function"==typeof define&&define.amd?define([],function(){return M}):(t.aesjs&&(M._aesjs=t.aesjs),t.aesjs=M),Stimulsoft.ExternalLibrary.aesjs=M}(this),"object"==typeof module&&(module.exports=Stimulsoft);;
!function(e){function c(e){this.ok=!1,"#"==e.charAt(0)&&(e=e.substr(1,6)),e=(e=e.replace(/ /g,"")).toLowerCase();var o={aliceblue:"f0f8ff",antiquewhite:"faebd7",aqua:"00ffff",aquamarine:"7fffd4",azure:"f0ffff",beige:"f5f5dc",bisque:"ffe4c4",black:"000000",blanchedalmond:"ffebcd",blue:"0000ff",blueviolet:"8a2be2",brown:"a52a2a",burlywood:"deb887",cadetblue:"5f9ea0",chartreuse:"7fff00",chocolate:"d2691e",coral:"ff7f50",cornflowerblue:"6495ed",cornsilk:"fff8dc",crimson:"dc143c",cyan:"00ffff",darkblue:"00008b",darkcyan:"008b8b",darkgoldenrod:"b8860b",darkgray:"a9a9a9",darkgreen:"006400",darkkhaki:"bdb76b",darkmagenta:"8b008b",darkolivegreen:"556b2f",darkorange:"ff8c00",darkorchid:"9932cc",darkred:"8b0000",darksalmon:"e9967a",darkseagreen:"8fbc8f",darkslateblue:"483d8b",darkslategray:"2f4f4f",darkturquoise:"00ced1",darkviolet:"9400d3",deeppink:"ff1493",deepskyblue:"00bfff",dimgray:"696969",dodgerblue:"1e90ff",feldspar:"d19275",firebrick:"b22222",floralwhite:"fffaf0",forestgreen:"228b22",fuchsia:"ff00ff",gainsboro:"dcdcdc",ghostwhite:"f8f8ff",gold:"ffd700",goldenrod:"daa520",gray:"808080",green:"008000",greenyellow:"adff2f",honeydew:"f0fff0",hotpink:"ff69b4",indianred:"cd5c5c",indigo:"4b0082",ivory:"fffff0",khaki:"f0e68c",lavender:"e6e6fa",lavenderblush:"fff0f5",lawngreen:"7cfc00",lemonchiffon:"fffacd",lightblue:"add8e6",lightcoral:"f08080",lightcyan:"e0ffff",lightgoldenrodyellow:"fafad2",lightgrey:"d3d3d3",lightgreen:"90ee90",lightpink:"ffb6c1",lightsalmon:"ffa07a",lightseagreen:"20b2aa",lightskyblue:"87cefa",lightslateblue:"8470ff",lightslategray:"778899",lightsteelblue:"b0c4de",lightyellow:"ffffe0",lime:"00ff00",limegreen:"32cd32",linen:"faf0e6",magenta:"ff00ff",maroon:"800000",mediumaquamarine:"66cdaa",mediumblue:"0000cd",mediumorchid:"ba55d3",mediumpurple:"9370d8",mediumseagreen:"3cb371",mediumslateblue:"7b68ee",mediumspringgreen:"00fa9a",mediumturquoise:"48d1cc",mediumvioletred:"c71585",midnightblue:"191970",mintcream:"f5fffa",mistyrose:"ffe4e1",moccasin:"ffe4b5",navajowhite:"ffdead",navy:"000080",oldlace:"fdf5e6",olive:"808000",olivedrab:"6b8e23",orange:"ffa500",orangered:"ff4500",orchid:"da70d6",palegoldenrod:"eee8aa",palegreen:"98fb98",paleturquoise:"afeeee",palevioletred:"d87093",papayawhip:"ffefd5",peachpuff:"ffdab9",peru:"cd853f",pink:"ffc0cb",plum:"dda0dd",powderblue:"b0e0e6",purple:"800080",red:"ff0000",rosybrown:"bc8f8f",royalblue:"4169e1",saddlebrown:"8b4513",salmon:"fa8072",sandybrown:"f4a460",seagreen:"2e8b57",seashell:"fff5ee",sienna:"a0522d",silver:"c0c0c0",skyblue:"87ceeb",slateblue:"6a5acd",slategray:"708090",snow:"fffafa",springgreen:"00ff7f",steelblue:"4682b4",tan:"d2b48c",teal:"008080",thistle:"d8bfd8",tomato:"ff6347",turquoise:"40e0d0",violet:"ee82ee",violetred:"d02090",wheat:"f5deb3",white:"ffffff",whitesmoke:"f5f5f5",yellow:"ffff00",yellowgreen:"9acd32"},f;for(f in o)e==f&&(e=o[f]);for(var s=[{re:/^rgb\((\d{1,3}),\s*(\d{1,3}),\s*(\d{1,3})\)$/,example:["rgb(123, 234, 45)","rgb(255,234,245)"],process:function(e){return[parseInt(e[1]),parseInt(e[2]),parseInt(e[3])]}},{re:/^(\w{2})(\w{2})(\w{2})$/,example:["#00ff00","336699"],process:function(e){return[parseInt(e[1],16),parseInt(e[2],16),parseInt(e[3],16)]}},{re:/^(\w{1})(\w{1})(\w{1})$/,example:["#fb0","f0f"],process:function(e){return[parseInt(e[1]+e[1],16),parseInt(e[2]+e[2],16),parseInt(e[3]+e[3],16)]}}],a=0;a<s.length;a++){var r=s[a].re,t=s[a].process,r=r.exec(e);r&&(channels=t(r),this.r=channels[0],this.g=channels[1],this.b=channels[2],this.ok=!0)}this.r=this.r<0||isNaN(this.r)?0:255<this.r?255:this.r,this.g=this.g<0||isNaN(this.g)?0:255<this.g?255:this.g,this.b=this.b<0||isNaN(this.b)?0:255<this.b?255:this.b,this.toRGB=function(){return"rgb("+this.r+", "+this.g+", "+this.b+")"},this.toHex=function(){var e=this.r.toString(16),f=this.g.toString(16),a=this.b.toString(16);return 1==e.length&&(e="0"+e),1==f.length&&(f="0"+f),1==a.length&&(a="0"+a),"#"+e+f+a},this.getHelpXML=function(){for(var e=new Array,f=0,a;f<s.length;f++)for(var r=s[f].example,t=0;t<r.length;t++)e[e.length]=r[t];for(a in o)e[e.length]=a;var d=document.createElement("ul");d.setAttribute("id","rgbcolor-examples");for(var f=0;f<e.length;f++)try{var n=document.createElement("li"),i=new c(e[f]),l=document.createElement("div");l.style.cssText="margin: 3px; "+"border: 1px solid black; "+"background:"+i.toHex()+"; "+"color:"+i.toHex(),l.appendChild(document.createTextNode("test"));var i=document.createTextNode(" "+e[f]+" -> "+i.toRGB()+" -> "+i.toHex());n.appendChild(l),n.appendChild(i),d.appendChild(n)}catch(e){}return d}}"undefined"!=typeof define&&define.amd?define(function(){return c}):"undefined"!=typeof module&&module.exports&&(module.exports=c),e.RGBColor=c}("undefined"!=typeof window?window:this);;
!function(e){function T(e){for(var t=e.data,a=e.width*e.height*4,r=0;r<a;r+=4){var n=t[r+3]/255;t[r]*=n,t[r+1]*=n,t[r+2]*=n}}function V(e){for(var t=e.data,a=e.width*e.height*4,r=0;r<a;r+=4){var n=t[r+3];0!=n&&(n=255/n,t[r]*=n,t[r+1]*=n,t[r+2]*=n)}}function t(e,t,a,r){var n=document.getElementById(e),o=n.naturalWidth,g=n.naturalHeight,e=document.getElementById(t);e.style.width=o+"px",e.style.height=g+"px",e.width=o,e.height=g;var e=e.getContext("2d");if(e.clearRect(0,0,o,g),e.drawImage(n,0,0),isNaN(a)||a<1)return;(r?i:c)(t,0,0,o,g,a)}function i(e,t,a,r,n,o){if(isNaN(o)||o<1)return;o|=0;var g,i=document.getElementById(e).getContext("2d"),c;try{try{c=i.getImageData(t,a,r,n)}catch(e){try{netscape.security.PrivilegeManager.enablePrivilege("UniversalBrowserRead"),c=i.getImageData(t,a,r,n)}catch(e){throw alert("Cannot access local image"),new Error("unable to access local image data: "+e);return}}}catch(e){throw alert("Cannot access image"),new Error("unable to access image data: "+e)}T(c);for(var l=c.data,d,f,s,u,h,m,x,b,v,w,y,p,I,B,E,C,D,N,R,P,G,M,U,k,A=o+o+1,H=r<<2,W=r-1,j=n-1,q=o+1,z=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S,l[u+1]=v*Q>>S,l[u+2]=w*Q>>S,l[u+3]=y*Q>>S,b-=p,v-=I,w-=B,y-=E,p-=L.r,I-=L.g,B-=L.b,E-=L.a,u=d+((u=f+q)<j?u:j)*r<<2,b+=C+=L.r=l[u],v+=D+=L.g=l[u+1],w+=N+=L.b=l[u+2],y+=R+=L.a=l[u+3],L=L.next,p+=P=O.r,I+=G=O.g,B+=M=O.b,E+=U=O.a,C-=P,D-=G,N-=M,R-=U,O=O.next,m+=r}V(c),i.putImageData(c,t,a)}function c(e,t,a,r,n,o){if(isNaN(o)||o<1)return;o|=0;var g,i=document.getElementById(e).getContext("2d"),c;try{try{c=i.getImageData(t,a,r,n)}catch(e){try{netscape.security.PrivilegeManager.enablePrivilege("UniversalBrowserRead"),c=i.getImageData(t,a,r,n)}catch(e){throw alert("Cannot access local image"),new Error("unable to access local image data: "+e);return}}}catch(e){throw alert("Cannot access image"),new Error("unable to access image data: "+e)}for(var l=c.data,d,f,s,u,h,m,x,b,v,w,y,p,I,B,E,C,D,N,R,P,G=o+o+1,M=r<<2,U=r-1,k=n-1,A=o+1,H=A*(A+1)/2,W=new X,j=W,s=1;s<G;s++){var q,j=j.next=new X;s==A&&(q=j)}j.next=W;for(var z=null,F=null,x=m=0,J=Y[o],K=Z[o],f=0;f<n;f++){for(B=E=C=b=v=w=0,y=A*(D=l[m]),p=A*(N=l[m+1]),I=A*(R=l[m+2]),b+=H*D,v+=H*N,w+=H*R,j=W,s=0;s<A;s++)j.r=D,j.g=N,j.b=R,j=j.next;for(s=1;s<A;s++)u=m+((U<s?U:s)<<2),b+=(j.r=D=l[u])*(P=A-s),v+=(j.g=N=l[u+1])*P,w+=(j.b=R=l[u+2])*P,B+=D,E+=N,C+=R,j=j.next;for(z=W,F=q,d=0;d<r;d++)l[m]=b*J>>K,l[m+1]=v*J>>K,l[m+2]=w*J>>K,b-=y,v-=p,w-=I,y-=z.r,p-=z.g,I-=z.b,u=x+((u=d+o+1)<U?u:U)<<2,b+=B+=z.r=l[u],v+=E+=z.g=l[u+1],w+=C+=z.b=l[u+2],z=z.next,y+=D=F.r,p+=N=F.g,I+=R=F.b,B-=D,E-=N,C-=R,F=F.next,m+=4;x+=r}for(d=0;d<r;d++){for(E=C=B=v=w=b=0,y=A*(D=l[m=d<<2]),p=A*(N=l[m+1]),I=A*(R=l[m+2]),b+=H*D,v+=H*N,w+=H*R,j=W,s=0;s<A;s++)j.r=D,j.g=N,j.b=R,j=j.next;for(h=r,s=1;s<=o;s++)m=h+d<<2,b+=(j.r=D=l[m])*(P=A-s),v+=(j.g=N=l[m+1])*P,w+=(j.b=R=l[m+2])*P,B+=D,E+=N,C+=R,j=j.next,s<k&&(h+=r);for(m=d,z=W,F=q,f=0;f<n;f++)l[u=m<<2]=b*J>>K,l[u+1]=v*J>>K,l[u+2]=w*J>>K,b-=y,v-=p,w-=I,y-=z.r,p-=z.g,I-=z.b,u=d+((u=f+A)<k?u:k)*r<<2,b+=B+=z.r=l[u],v+=E+=z.g=l[u+1],w+=C+=z.b=l[u+2],z=z.next,y+=D=F.r,p+=N=F.g,I+=R=F.b,B-=D,E-=N,C-=R,F=F.next,m+=r}i.putImageData(c,t,a)}function X(){this.r=0,this.g=0,this.b=0,this.a=0,this.next=null}var Y=[512,512,456,512,328,456,335,512,405,328,271,456,388,335,292,512,454,405,364,328,298,271,496,456,420,388,360,335,312,292,273,512,482,454,428,405,383,364,345,328,312,298,284,271,259,496,475,456,437,420,404,388,374,360,347,335,323,312,302,292,282,273,265,512,497,482,468,454,441,428,417,405,394,383,373,364,354,345,337,328,320,312,305,298,291,284,278,271,265,259,507,496,485,475,465,456,446,437,428,420,412,404,396,388,381,374,367,360,354,347,341,335,329,323,318,312,307,302,297,292,287,282,278,273,269,265,261,512,505,497,489,482,475,468,461,454,447,441,435,428,422,417,411,405,399,394,389,383,378,373,368,364,359,354,350,345,341,337,332,328,324,320,316,312,309,305,301,298,294,291,287,284,281,278,274,271,268,265,262,259,257,507,501,496,491,485,480,475,470,465,460,456,451,446,442,437,433,428,424,420,416,412,408,404,400,396,392,388,385,381,377,374,370,367,363,360,357,354,350,347,344,341,338,335,332,329,326,323,320,318,315,312,310,307,304,302,299,297,294,292,289,287,285,282,280,278,275,273,271,269,267,265,263,261,259],Z=[9,11,12,13,13,14,14,15,15,15,15,16,16,16,16,17,17,17,17,17,17,17,18,18,18,18,18,18,18,18,18,19,19,19,19,19,19,19,19,19,19,19,19,19,19,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,21,21,21,21,21,21,21,21,21,21,21,21,21,21,21,21,21,21,21,21,21,21,21,21,21,21,21,22,22,22,22,22,22,22,22,22,22,22,22,22,22,22,22,22,22,22,22,22,22,22,22,22,22,22,22,22,22,22,22,22,22,22,22,22,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24],a={image:t,canvasRGBA:i,canvasRGB:c};"undefined"!=typeof define&&define.amd?define(function(){return a}):"undefined"!=typeof module&&module.exports&&(module.exports=a),e.stackBlur=a}("undefined"!=typeof window?window:this);;
var Stimulsoft;(function(Stimulsoft){var ExternalLibrary;(function(ExternalLibrary){})(ExternalLibrary=Stimulsoft.ExternalLibrary||(Stimulsoft.ExternalLibrary={}));})(Stimulsoft||(Stimulsoft={}));!function(t,r){Stimulsoft.ExternalLibrary.XXH=r()}(this,function(){return function(t){function r(e){if(i[e])return i[e].exports;var o=i[e]={i:e,l:!1,exports:{}};return t[e].call(o.exports,o,o.exports,r),o.l=!0,o.exports}var i={};return r.m=t,r.c=i,r.d=function(t,i,e){r.o(t,i)||Object.defineProperty(t,i,{configurable:!1,enumerable:!0,get:e})},r.n=function(t){var i=t&&t.__esModule?function(){return t["default"]}:function(){return t};return r.d(i,"a",i),i},r.o=function(t,r){return Object.prototype.hasOwnProperty.call(t,r)},r.p="",r(r.s=2)}([function(t,r,i){"use strict";(function(t){function e(){try{var t=new Uint8Array(1);return t.__proto__={__proto__:Uint8Array.prototype,foo:function(){return 42}},42===t.foo()&&"function"==typeof t.subarray&&0===t.subarray(1,1).byteLength}catch(r){return!1}}function o(){return n.TYPED_ARRAY_SUPPORT?2147483647:1073741823}function h(t,r){if(o()<r)throw new RangeError("Invalid typed array length");return n.TYPED_ARRAY_SUPPORT?(t=new Uint8Array(r),t.__proto__=n.prototype):(null===t&&(t=new n(r)),t.length=r),t}function n(t,r,i){if(!(n.TYPED_ARRAY_SUPPORT||this instanceof n))return new n(t,r,i);if("number"==typeof t){if("string"==typeof r)throw new Error("If encoding is specified then the first argument must be a string");return f(this,t)}return s(this,t,r,i)}function s(t,r,i,e){if("number"==typeof r)throw new TypeError('"value" argument must not be a number');return"undefined"!=typeof ArrayBuffer&&r instanceof ArrayBuffer?p(t,r,i,e):"string"==typeof r?l(t,r,i):m(t,r)}function a(t){if("number"!=typeof t)throw new TypeError('"size" argument must be a number');if(0>t)throw new RangeError('"size" argument must not be negative')}function u(t,r,i,e){return a(r),0>=r?h(t,r):void 0!==i?"string"==typeof e?h(t,r).fill(i,e):h(t,r).fill(i):h(t,r)}function f(t,r){if(a(r),t=h(t,0>r?0:0|y(r)),!n.TYPED_ARRAY_SUPPORT)for(var i=0;r>i;++i)t[i]=0;return t}function l(t,r,i){if(("string"!=typeof i||""===i)&&(i="utf8"),!n.isEncoding(i))throw new TypeError('"encoding" must be a valid string encoding');var e=0|d(r,i);t=h(t,e);var o=t.write(r,i);return o!==e&&(t=t.slice(0,o)),t}function c(t,r){var i=r.length<0?0:0|y(r.length);t=h(t,i);for(var e=0;i>e;e+=1)t[e]=255&r[e];return t}function p(t,r,i,e){if(r.byteLength,0>i||r.byteLength<i)throw new RangeError("'offset' is out of bounds");if(r.byteLength<i+(e||0))throw new RangeError("'length' is out of bounds");return r=void 0===i&&void 0===e?new Uint8Array(r):void 0===e?new Uint8Array(r,i):new Uint8Array(r,i,e),n.TYPED_ARRAY_SUPPORT?(t=r,t.__proto__=n.prototype):t=c(t,r),t}function m(t,r){if(n.isBuffer(r)){var i=0|y(r.length);return t=h(t,i),0===t.length?t:(r.copy(t,0,0,i),t)}if(r){if("undefined"!=typeof ArrayBuffer&&r.buffer instanceof ArrayBuffer||"length"in r)return"number"!=typeof r.length||K(r.length)?h(t,0):c(t,r);if("Buffer"===r.type&&$(r.data))return c(t,r.data)}throw new TypeError("First argument must be a string, Buffer, ArrayBuffer, Array, or array-like object.")}function y(t){if(t>=o())throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x"+o().toString(16)+" bytes");return 0|t}function _(t){return+t!=t&&(t=0),n.alloc(+t)}function d(t,r){if(n.isBuffer(t))return t.length;if("undefined"!=typeof ArrayBuffer&&"function"==typeof ArrayBuffer.isView&&(ArrayBuffer.isView(t)||t instanceof ArrayBuffer))return t.byteLength;"string"!=typeof t&&(t=""+t);var i=t.length;if(0===i)return 0;for(var e=!1;;)switch(r){case"ascii":case"latin1":case"binary":return i;case"utf8":case"utf-8":case void 0:return H(t).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return 2*i;case"hex":return i>>>1;case"base64":return Z(t).length;default:if(e)return H(t).length;r=(""+r).toLowerCase(),e=!0}}function g(t,r,i){var e=!1;if((void 0===r||0>r)&&(r=0),r>this.length)return"";if((void 0===i||i>this.length)&&(i=this.length),0>=i)return"";if(i>>>=0,r>>>=0,r>=i)return"";for(t||(t="utf8");;)switch(t){case"hex":return z(this,r,i);case"utf8":case"utf-8":return P(this,r,i);case"ascii":return S(this,r,i);case"latin1":case"binary":return I(this,r,i);case"base64":return T(this,r,i);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return Y(this,r,i);default:if(e)throw new TypeError("Unknown encoding: "+t);t=(t+"").toLowerCase(),e=!0}}function w(t,r,i){var e=t[r];t[r]=t[i],t[i]=e}function v(t,r,i,e,o){if(0===t.length)return-1;if("string"==typeof i?(e=i,i=0):i>2147483647?i=2147483647:-2147483648>i&&(i=-2147483648),i=+i,isNaN(i)&&(i=o?0:t.length-1),0>i&&(i=t.length+i),i>=t.length){if(o)return-1;i=t.length-1}else if(0>i){if(!o)return-1;i=0}if("string"==typeof r&&(r=n.from(r,e)),n.isBuffer(r))return 0===r.length?-1:A(t,r,i,e,o);if("number"==typeof r)return r=255&r,n.TYPED_ARRAY_SUPPORT&&"function"==typeof Uint8Array.prototype.indexOf?o?Uint8Array.prototype.indexOf.call(t,r,i):Uint8Array.prototype.lastIndexOf.call(t,r,i):A(t,[r],i,e,o);throw new TypeError("val must be string, number or Buffer")}function A(t,r,i,e,o){function h(t,r){return 1===n?t[r]:t.readUInt16BE(r*n)}var n=1,s=t.length,a=r.length;if(void 0!==e&&(e=String(e).toLowerCase(),"ucs2"===e||"ucs-2"===e||"utf16le"===e||"utf-16le"===e)){if(t.length<2||r.length<2)return-1;n=2,s/=2,a/=2,i/=2}var u;if(o){var f=-1;for(u=i;s>u;u++)if(h(t,u)===h(r,-1===f?0:u-f)){if(-1===f&&(f=u),u-f+1===a)return f*n}else-1!==f&&(u-=u-f),f=-1}else for(i+a>s&&(i=s-a),u=i;u>=0;u--){for(var l=!0,c=0;a>c;c++)if(h(t,u+c)!==h(r,c)){l=!1;break}if(l)return u}return-1}function C(t,r,i,e){i=Number(i)||0;var o=t.length-i;e?(e=Number(e),e>o&&(e=o)):e=o;var h=r.length;if(h%2!==0)throw new TypeError("Invalid hex string");e>h/2&&(e=h/2);for(var n=0;e>n;++n){var s=parseInt(r.substr(2*n,2),16);if(isNaN(s))return n;t[i+n]=s}return n}function b(t,r,i,e){return G(H(r,t.length-i),t,i,e)}function E(t,r,i,e){return G(V(r),t,i,e)}function R(t,r,i,e){return E(t,r,i,e)}function x(t,r,i,e){return G(Z(r),t,i,e)}function B(t,r,i,e){return G(J(r,t.length-i),t,i,e)}function T(t,r,i){return Q.fromByteArray(0===r&&i===t.length?t:t.slice(r,i))}function P(t,r,i){i=Math.min(t.length,i);for(var e=[],o=r;i>o;){var h=t[o],n=null,s=h>239?4:h>223?3:h>191?2:1;if(i>=o+s){var a,u,f,l;switch(s){case 1:128>h&&(n=h);break;case 2:a=t[o+1],128===(192&a)&&(l=(31&h)<<6|63&a,l>127&&(n=l));break;case 3:a=t[o+1],u=t[o+2],128===(192&a)&&128===(192&u)&&(l=(15&h)<<12|(63&a)<<6|63&u,l>2047&&(55296>l||l>57343)&&(n=l));break;case 4:a=t[o+1],u=t[o+2],f=t[o+3],128===(192&a)&&128===(192&u)&&128===(192&f)&&(l=(15&h)<<18|(63&a)<<12|(63&u)<<6|63&f,l>65535&&1114112>l&&(n=l))}}null===n?(n=65533,s=1):n>65535&&(n-=65536,e.push(n>>>10&1023|55296),n=56320|1023&n),e.push(n),o+=s}return U(e)}function U(t){var r=t.length;if(tt>=r)return String.fromCharCode.apply(String,t);for(var i="",e=0;r>e;)i+=String.fromCharCode.apply(String,t.slice(e,e+=tt));return i}function S(t,r,i){var e="";i=Math.min(t.length,i);for(var o=r;i>o;++o)e+=String.fromCharCode(127&t[o]);return e}function I(t,r,i){var e="";i=Math.min(t.length,i);for(var o=r;i>o;++o)e+=String.fromCharCode(t[o]);return e}function z(t,r,i){var e=t.length;(!r||0>r)&&(r=0),(!i||0>i||i>e)&&(i=e);for(var o="",h=r;i>h;++h)o+=X(t[h]);return o}function Y(t,r,i){for(var e=t.slice(r,i),o="",h=0;h<e.length;h+=2)o+=String.fromCharCode(e[h]+256*e[h+1]);return o}function M(t,r,i){if(t%1!==0||0>t)throw new RangeError("offset is not uint");if(t+r>i)throw new RangeError("Trying to access beyond buffer length")}function L(t,r,i,e,o,h){if(!n.isBuffer(t))throw new TypeError('"buffer" argument must be a Buffer instance');if(r>o||h>r)throw new RangeError('"value" argument is out of bounds');if(i+e>t.length)throw new RangeError("Index out of range")}function O(t,r,i,e){0>r&&(r=65535+r+1);for(var o=0,h=Math.min(t.length-i,2);h>o;++o)t[i+o]=(r&255<<8*(e?o:1-o))>>>8*(e?o:1-o)}function N(t,r,i,e){0>r&&(r=4294967295+r+1);for(var o=0,h=Math.min(t.length-i,4);h>o;++o)t[i+o]=r>>>8*(e?o:3-o)&255}function D(t,r,i,e){if(i+e>t.length)throw new RangeError("Index out of range");if(0>i)throw new RangeError("Index out of range")}function k(t,r,i,e,o){return o||D(t,r,i,4,3.4028234663852886e38,-3.4028234663852886e38),W.write(t,r,i,e,23,4),i+4}function j(t,r,i,e,o){return o||D(t,r,i,8,1.7976931348623157e308,-1.7976931348623157e308),W.write(t,r,i,e,52,8),i+8}function F(t){if(t=q(t).replace(rt,""),t.length<2)return"";for(;t.length%4!==0;)t+="=";return t}function q(t){return t.trim?t.trim():t.replace(/^\s+|\s+$/g,"")}function X(t){return 16>t?"0"+t.toString(16):t.toString(16)}function H(t,r){r=r||1/0;for(var i,e=t.length,o=null,h=[],n=0;e>n;++n){if(i=t.charCodeAt(n),i>55295&&57344>i){if(!o){if(i>56319){(r-=3)>-1&&h.push(239,191,189);continue}if(n+1===e){(r-=3)>-1&&h.push(239,191,189);continue}o=i;continue}if(56320>i){(r-=3)>-1&&h.push(239,191,189),o=i;continue}i=(o-55296<<10|i-56320)+65536}else o&&(r-=3)>-1&&h.push(239,191,189);if(o=null,128>i){if((r-=1)<0)break;h.push(i)}else if(2048>i){if((r-=2)<0)break;h.push(i>>6|192,63&i|128)}else if(65536>i){if((r-=3)<0)break;h.push(i>>12|224,i>>6&63|128,63&i|128)}else{if(!(1114112>i))throw new Error("Invalid code point");if((r-=4)<0)break;h.push(i>>18|240,i>>12&63|128,i>>6&63|128,63&i|128)}}return h}function V(t){for(var r=[],i=0;i<t.length;++i)r.push(255&t.charCodeAt(i));return r}function J(t,r){for(var i,e,o,h=[],n=0;n<t.length&&!((r-=2)<0);++n)i=t.charCodeAt(n),e=i>>8,o=i%256,h.push(o),h.push(e);return h}function Z(t){return Q.toByteArray(F(t))}function G(t,r,i,e){for(var o=0;e>o&&!(o+i>=r.length||o>=t.length);++o)r[o+i]=t[o];return o}function K(t){return t!==t}var Q=i(5),W=i(6),$=i(7);r.Buffer=n,r.SlowBuffer=_,r.INSPECT_MAX_BYTES=50,n.TYPED_ARRAY_SUPPORT=void 0!==t.TYPED_ARRAY_SUPPORT?t.TYPED_ARRAY_SUPPORT:e(),r.kMaxLength=o(),n.poolSize=8192,n._augment=function(t){return t.__proto__=n.prototype,t},n.from=function(t,r,i){return s(null,t,r,i)},n.TYPED_ARRAY_SUPPORT&&(n.prototype.__proto__=Uint8Array.prototype,n.__proto__=Uint8Array,"undefined"!=typeof Symbol&&Symbol.species&&n[Symbol.species]===n&&Object.defineProperty(n,Symbol.species,{value:null,configurable:!0})),n.alloc=function(t,r,i){return u(null,t,r,i)},n.allocUnsafe=function(t){return f(null,t)},n.allocUnsafeSlow=function(t){return f(null,t)},n.isBuffer=function(t){return!(null==t||!t._isBuffer)},n.compare=function(t,r){if(!n.isBuffer(t)||!n.isBuffer(r))throw new TypeError("Arguments must be Buffers");if(t===r)return 0;for(var i=t.length,e=r.length,o=0,h=Math.min(i,e);h>o;++o)if(t[o]!==r[o]){i=t[o],e=r[o];break}return e>i?-1:i>e?1:0},n.isEncoding=function(t){switch(String(t).toLowerCase()){case"hex":case"utf8":case"utf-8":case"ascii":case"latin1":case"binary":case"base64":case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return!0;default:return!1}},n.concat=function(t,r){if(!$(t))throw new TypeError('"list" argument must be an Array of Buffers');if(0===t.length)return n.alloc(0);var i;if(void 0===r)for(r=0,i=0;i<t.length;++i)r+=t[i].length;var e=n.allocUnsafe(r),o=0;for(i=0;i<t.length;++i){var h=t[i];if(!n.isBuffer(h))throw new TypeError('"list" argument must be an Array of Buffers');h.copy(e,o),o+=h.length}return e},n.byteLength=d,n.prototype._isBuffer=!0,n.prototype.swap16=function(){var t=this.length;if(t%2!==0)throw new RangeError("Buffer size must be a multiple of 16-bits");for(var r=0;t>r;r+=2)w(this,r,r+1);return this},n.prototype.swap32=function(){var t=this.length;if(t%4!==0)throw new RangeError("Buffer size must be a multiple of 32-bits");for(var r=0;t>r;r+=4)w(this,r,r+3),w(this,r+1,r+2);return this},n.prototype.swap64=function(){var t=this.length;if(t%8!==0)throw new RangeError("Buffer size must be a multiple of 64-bits");for(var r=0;t>r;r+=8)w(this,r,r+7),w(this,r+1,r+6),w(this,r+2,r+5),w(this,r+3,r+4);return this},n.prototype.toString=function(){var t=0|this.length;return 0===t?"":0===arguments.length?P(this,0,t):g.apply(this,arguments)},n.prototype.equals=function(t){if(!n.isBuffer(t))throw new TypeError("Argument must be a Buffer");return this===t?!0:0===n.compare(this,t)},n.prototype.inspect=function(){var t="",i=r.INSPECT_MAX_BYTES;return this.length>0&&(t=this.toString("hex",0,i).match(/.{2}/g).join(" "),this.length>i&&(t+=" ... ")),"<Buffer "+t+">"},n.prototype.compare=function(t,r,i,e,o){if(!n.isBuffer(t))throw new TypeError("Argument must be a Buffer");if(void 0===r&&(r=0),void 0===i&&(i=t?t.length:0),void 0===e&&(e=0),void 0===o&&(o=this.length),0>r||i>t.length||0>e||o>this.length)throw new RangeError("out of range index");if(e>=o&&r>=i)return 0;if(e>=o)return-1;if(r>=i)return 1;if(r>>>=0,i>>>=0,e>>>=0,o>>>=0,this===t)return 0;for(var h=o-e,s=i-r,a=Math.min(h,s),u=this.slice(e,o),f=t.slice(r,i),l=0;a>l;++l)if(u[l]!==f[l]){h=u[l],s=f[l];break}return s>h?-1:h>s?1:0},n.prototype.includes=function(t,r,i){return-1!==this.indexOf(t,r,i)},n.prototype.indexOf=function(t,r,i){return v(this,t,r,i,!0)},n.prototype.lastIndexOf=function(t,r,i){return v(this,t,r,i,!1)},n.prototype.write=function(t,r,i,e){if(void 0===r)e="utf8",i=this.length,r=0;else if(void 0===i&&"string"==typeof r)e=r,i=this.length,r=0;else{if(!isFinite(r))throw new Error("Buffer.write(string, encoding, offset[, length]) is no longer supported");r=0|r,isFinite(i)?(i=0|i,void 0===e&&(e="utf8")):(e=i,i=void 0)}var o=this.length-r;if((void 0===i||i>o)&&(i=o),t.length>0&&(0>i||0>r)||r>this.length)throw new RangeError("Attempt to write outside buffer bounds");e||(e="utf8");for(var h=!1;;)switch(e){case"hex":return C(this,t,r,i);case"utf8":case"utf-8":return b(this,t,r,i);case"ascii":return E(this,t,r,i);case"latin1":case"binary":return R(this,t,r,i);case"base64":return x(this,t,r,i);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return B(this,t,r,i);default:if(h)throw new TypeError("Unknown encoding: "+e);e=(""+e).toLowerCase(),h=!0}},n.prototype.toJSON=function(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}};var tt=4096;n.prototype.slice=function(t,r){var i=this.length;t=~~t,r=void 0===r?i:~~r,0>t?(t+=i,0>t&&(t=0)):t>i&&(t=i),0>r?(r+=i,0>r&&(r=0)):r>i&&(r=i),t>r&&(r=t);var e;if(n.TYPED_ARRAY_SUPPORT)e=this.subarray(t,r),e.__proto__=n.prototype;else{var o=r-t;e=new n(o,void 0);for(var h=0;o>h;++h)e[h]=this[h+t]}return e},n.prototype.readUIntLE=function(t,r,i){t=0|t,r=0|r,i||M(t,r,this.length);for(var e=this[t],o=1,h=0;++h<r&&(o*=256);)e+=this[t+h]*o;return e},n.prototype.readUIntBE=function(t,r,i){t=0|t,r=0|r,i||M(t,r,this.length);for(var e=this[t+--r],o=1;r>0&&(o*=256);)e+=this[t+--r]*o;return e},n.prototype.readUInt8=function(t,r){return r||M(t,1,this.length),this[t]},n.prototype.readUInt16LE=function(t,r){return r||M(t,2,this.length),this[t]|this[t+1]<<8},n.prototype.readUInt16BE=function(t,r){return r||M(t,2,this.length),this[t]<<8|this[t+1]},n.prototype.readUInt32LE=function(t,r){return r||M(t,4,this.length),(this[t]|this[t+1]<<8|this[t+2]<<16)+16777216*this[t+3]},n.prototype.readUInt32BE=function(t,r){return r||M(t,4,this.length),16777216*this[t]+(this[t+1]<<16|this[t+2]<<8|this[t+3])},n.prototype.readIntLE=function(t,r,i){t=0|t,r=0|r,i||M(t,r,this.length);for(var e=this[t],o=1,h=0;++h<r&&(o*=256);)e+=this[t+h]*o;return o*=128,e>=o&&(e-=Math.pow(2,8*r)),e},n.prototype.readIntBE=function(t,r,i){t=0|t,r=0|r,i||M(t,r,this.length);for(var e=r,o=1,h=this[t+--e];e>0&&(o*=256);)h+=this[t+--e]*o;return o*=128,h>=o&&(h-=Math.pow(2,8*r)),h},n.prototype.readInt8=function(t,r){return r||M(t,1,this.length),128&this[t]?-1*(255-this[t]+1):this[t]},n.prototype.readInt16LE=function(t,r){r||M(t,2,this.length);var i=this[t]|this[t+1]<<8;return 32768&i?4294901760|i:i},n.prototype.readInt16BE=function(t,r){r||M(t,2,this.length);var i=this[t+1]|this[t]<<8;return 32768&i?4294901760|i:i},n.prototype.readInt32LE=function(t,r){return r||M(t,4,this.length),this[t]|this[t+1]<<8|this[t+2]<<16|this[t+3]<<24},n.prototype.readInt32BE=function(t,r){return r||M(t,4,this.length),this[t]<<24|this[t+1]<<16|this[t+2]<<8|this[t+3]},n.prototype.readFloatLE=function(t,r){return r||M(t,4,this.length),W.read(this,t,!0,23,4)},n.prototype.readFloatBE=function(t,r){return r||M(t,4,this.length),W.read(this,t,!1,23,4)},n.prototype.readDoubleLE=function(t,r){return r||M(t,8,this.length),W.read(this,t,!0,52,8)},n.prototype.readDoubleBE=function(t,r){return r||M(t,8,this.length),W.read(this,t,!1,52,8)},n.prototype.writeUIntLE=function(t,r,i,e){if(t=+t,r=0|r,i=0|i,!e){var o=Math.pow(2,8*i)-1;L(this,t,r,i,o,0)}var h=1,n=0;for(this[r]=255&t;++n<i&&(h*=256);)this[r+n]=t/h&255;return r+i},n.prototype.writeUIntBE=function(t,r,i,e){if(t=+t,r=0|r,i=0|i,!e){var o=Math.pow(2,8*i)-1;L(this,t,r,i,o,0)}var h=i-1,n=1;for(this[r+h]=255&t;--h>=0&&(n*=256);)this[r+h]=t/n&255;return r+i},n.prototype.writeUInt8=function(t,r,i){return t=+t,r=0|r,i||L(this,t,r,1,255,0),n.TYPED_ARRAY_SUPPORT||(t=Math.floor(t)),this[r]=255&t,r+1},n.prototype.writeUInt16LE=function(t,r,i){return t=+t,r=0|r,i||L(this,t,r,2,65535,0),n.TYPED_ARRAY_SUPPORT?(this[r]=255&t,this[r+1]=t>>>8):O(this,t,r,!0),r+2},n.prototype.writeUInt16BE=function(t,r,i){return t=+t,r=0|r,i||L(this,t,r,2,65535,0),n.TYPED_ARRAY_SUPPORT?(this[r]=t>>>8,this[r+1]=255&t):O(this,t,r,!1),r+2},n.prototype.writeUInt32LE=function(t,r,i){return t=+t,r=0|r,i||L(this,t,r,4,4294967295,0),n.TYPED_ARRAY_SUPPORT?(this[r+3]=t>>>24,this[r+2]=t>>>16,this[r+1]=t>>>8,this[r]=255&t):N(this,t,r,!0),r+4},n.prototype.writeUInt32BE=function(t,r,i){return t=+t,r=0|r,i||L(this,t,r,4,4294967295,0),n.TYPED_ARRAY_SUPPORT?(this[r]=t>>>24,this[r+1]=t>>>16,this[r+2]=t>>>8,this[r+3]=255&t):N(this,t,r,!1),r+4},n.prototype.writeIntLE=function(t,r,i,e){if(t=+t,r=0|r,!e){var o=Math.pow(2,8*i-1);L(this,t,r,i,o-1,-o)}var h=0,n=1,s=0;for(this[r]=255&t;++h<i&&(n*=256);)0>t&&0===s&&0!==this[r+h-1]&&(s=1),this[r+h]=(t/n>>0)-s&255;return r+i},n.prototype.writeIntBE=function(t,r,i,e){if(t=+t,r=0|r,!e){var o=Math.pow(2,8*i-1);L(this,t,r,i,o-1,-o)}var h=i-1,n=1,s=0;for(this[r+h]=255&t;--h>=0&&(n*=256);)0>t&&0===s&&0!==this[r+h+1]&&(s=1),this[r+h]=(t/n>>0)-s&255;return r+i},n.prototype.writeInt8=function(t,r,i){return t=+t,r=0|r,i||L(this,t,r,1,127,-128),n.TYPED_ARRAY_SUPPORT||(t=Math.floor(t)),0>t&&(t=255+t+1),this[r]=255&t,r+1},n.prototype.writeInt16LE=function(t,r,i){return t=+t,r=0|r,i||L(this,t,r,2,32767,-32768),n.TYPED_ARRAY_SUPPORT?(this[r]=255&t,this[r+1]=t>>>8):O(this,t,r,!0),r+2},n.prototype.writeInt16BE=function(t,r,i){return t=+t,r=0|r,i||L(this,t,r,2,32767,-32768),n.TYPED_ARRAY_SUPPORT?(this[r]=t>>>8,this[r+1]=255&t):O(this,t,r,!1),r+2},n.prototype.writeInt32LE=function(t,r,i){return t=+t,r=0|r,i||L(this,t,r,4,2147483647,-2147483648),n.TYPED_ARRAY_SUPPORT?(this[r]=255&t,this[r+1]=t>>>8,this[r+2]=t>>>16,this[r+3]=t>>>24):N(this,t,r,!0),r+4},n.prototype.writeInt32BE=function(t,r,i){return t=+t,r=0|r,i||L(this,t,r,4,2147483647,-2147483648),0>t&&(t=4294967295+t+1),n.TYPED_ARRAY_SUPPORT?(this[r]=t>>>24,this[r+1]=t>>>16,this[r+2]=t>>>8,this[r+3]=255&t):N(this,t,r,!1),r+4},n.prototype.writeFloatLE=function(t,r,i){return k(this,t,r,!0,i)},n.prototype.writeFloatBE=function(t,r,i){return k(this,t,r,!1,i)},n.prototype.writeDoubleLE=function(t,r,i){return j(this,t,r,!0,i)},n.prototype.writeDoubleBE=function(t,r,i){return j(this,t,r,!1,i)},n.prototype.copy=function(t,r,i,e){if(i||(i=0),e||0===e||(e=this.length),r>=t.length&&(r=t.length),r||(r=0),e>0&&i>e&&(e=i),e===i)return 0;if(0===t.length||0===this.length)return 0;if(0>r)throw new RangeError("targetStart out of bounds");if(0>i||i>=this.length)throw new RangeError("sourceStart out of bounds");if(0>e)throw new RangeError("sourceEnd out of bounds");e>this.length&&(e=this.length),t.length-r<e-i&&(e=t.length-r+i);var o,h=e-i;if(this===t&&r>i&&e>r)for(o=h-1;o>=0;--o)t[o+r]=this[o+i];else if(1e3>h||!n.TYPED_ARRAY_SUPPORT)for(o=0;h>o;++o)t[o+r]=this[o+i];else Uint8Array.prototype.set.call(t,this.subarray(i,i+h),r);return h},n.prototype.fill=function(t,r,i,e){if("string"==typeof t){if("string"==typeof r?(e=r,r=0,i=this.length):"string"==typeof i&&(e=i,i=this.length),1===t.length){var o=t.charCodeAt(0);256>o&&(t=o)}if(void 0!==e&&"string"!=typeof e)throw new TypeError("encoding must be a string");if("string"==typeof e&&!n.isEncoding(e))throw new TypeError("Unknown encoding: "+e)}else"number"==typeof t&&(t=255&t);if(0>r||this.length<r||this.length<i)throw new RangeError("Out of range index");if(r>=i)return this;r>>>=0,i=void 0===i?this.length:i>>>0,t||(t=0);var h;if("number"==typeof t)for(h=r;i>h;++h)this[h]=t;else{var s=n.isBuffer(t)?t:H(new n(t,e).toString()),a=s.length;for(h=0;i-r>h;++h)this[h+r]=s[h%a]}return this};var rt=/[^+\/0-9A-Za-z-_]/g}).call(r,i(4))},function(t,r,i){r.UINT32=i(8),r.UINT64=i(9)},function(t,r,i){t.exports={h32:i(3),h64:i(10)}},function(t,r,i){(function(r){function e(t){for(var r=[],i=0,e=t.length;e>i;i++){var o=t.charCodeAt(i);128>o?r.push(o):2048>o?r.push(192|o>>6,128|63&o):55296>o||o>=57344?r.push(224|o>>12,128|o>>6&63,128|63&o):(i++,o=65536+((1023&o)<<10|1023&t.charCodeAt(i)),r.push(240|o>>18,128|o>>12&63,128|o>>6&63,128|63&o))}return new Uint8Array(r)}function o(){return 2==arguments.length?new o(arguments[1]).update(arguments[0]).digest():this instanceof o?void h.call(this,arguments[0]):new o(arguments[0])}function h(t){return this.seed=t instanceof n?t.clone():n(t),this.v1=this.seed.clone().add(s).add(a),this.v2=this.seed.clone().add(a),this.v3=this.seed.clone(),this.v4=this.seed.clone().subtract(s),this.total_len=0,this.memsize=0,this.memory=null,this}var n=i(1).UINT32;n.prototype.xxh_update=function(t,r){var i,e,o=a._low,h=a._high;e=t*o,i=e>>>16,i+=r*o,i&=65535,i+=t*h;var n=this._low+(65535&e),u=n>>>16;u+=this._high+(65535&i);var f=u<<16|65535&n;f=f<<13|f>>>19,n=65535&f,u=f>>>16,o=s._low,h=s._high,e=n*o,i=e>>>16,i+=u*o,i&=65535,i+=n*h,this._low=65535&e,this._high=65535&i};var s=n("2654435761"),a=n("2246822519"),u=n("3266489917"),f=n("668265263"),l=n("374761393");o.prototype.init=h,o.prototype.update=function(t){var i,o="string"==typeof t;o&&(t=e(t),o=!1,i=!0),"undefined"!=typeof ArrayBuffer&&t instanceof ArrayBuffer&&(i=!0,t=new Uint8Array(t));var h=0,n=t.length,s=h+n;if(0==n)return this;if(this.total_len+=n,0==this.memsize&&(this.memory=o?"":i?new Uint8Array(16):new r(16)),this.memsize+n<16)return o?this.memory+=t:i?this.memory.set(t.subarray(0,n),this.memsize):t.copy(this.memory,this.memsize,0,n),this.memsize+=n,this;if(this.memsize>0){o?this.memory+=t.slice(0,16-this.memsize):i?this.memory.set(t.subarray(0,16-this.memsize),this.memsize):t.copy(this.memory,this.memsize,0,16-this.memsize);var a=0;o?(this.v1.xxh_update(this.memory.charCodeAt(a+1)<<8|this.memory.charCodeAt(a),this.memory.charCodeAt(a+3)<<8|this.memory.charCodeAt(a+2)),a+=4,this.v2.xxh_update(this.memory.charCodeAt(a+1)<<8|this.memory.charCodeAt(a),this.memory.charCodeAt(a+3)<<8|this.memory.charCodeAt(a+2)),a+=4,this.v3.xxh_update(this.memory.charCodeAt(a+1)<<8|this.memory.charCodeAt(a),this.memory.charCodeAt(a+3)<<8|this.memory.charCodeAt(a+2)),a+=4,this.v4.xxh_update(this.memory.charCodeAt(a+1)<<8|this.memory.charCodeAt(a),this.memory.charCodeAt(a+3)<<8|this.memory.charCodeAt(a+2))):(this.v1.xxh_update(this.memory[a+1]<<8|this.memory[a],this.memory[a+3]<<8|this.memory[a+2]),a+=4,this.v2.xxh_update(this.memory[a+1]<<8|this.memory[a],this.memory[a+3]<<8|this.memory[a+2]),a+=4,this.v3.xxh_update(this.memory[a+1]<<8|this.memory[a],this.memory[a+3]<<8|this.memory[a+2]),a+=4,this.v4.xxh_update(this.memory[a+1]<<8|this.memory[a],this.memory[a+3]<<8|this.memory[a+2])),h+=16-this.memsize,this.memsize=0,o&&(this.memory="")}if(s-16>=h){var u=s-16;do o?(this.v1.xxh_update(t.charCodeAt(h+1)<<8|t.charCodeAt(h),t.charCodeAt(h+3)<<8|t.charCodeAt(h+2)),h+=4,this.v2.xxh_update(t.charCodeAt(h+1)<<8|t.charCodeAt(h),t.charCodeAt(h+3)<<8|t.charCodeAt(h+2)),h+=4,this.v3.xxh_update(t.charCodeAt(h+1)<<8|t.charCodeAt(h),t.charCodeAt(h+3)<<8|t.charCodeAt(h+2)),h+=4,this.v4.xxh_update(t.charCodeAt(h+1)<<8|t.charCodeAt(h),t.charCodeAt(h+3)<<8|t.charCodeAt(h+2))):(this.v1.xxh_update(t[h+1]<<8|t[h],t[h+3]<<8|t[h+2]),h+=4,this.v2.xxh_update(t[h+1]<<8|t[h],t[h+3]<<8|t[h+2]),h+=4,this.v3.xxh_update(t[h+1]<<8|t[h],t[h+3]<<8|t[h+2]),h+=4,this.v4.xxh_update(t[h+1]<<8|t[h],t[h+3]<<8|t[h+2])),h+=4;while(u>=h)}return s>h&&(o?this.memory+=t.slice(h):i?this.memory.set(t.subarray(h,s),this.memsize):t.copy(this.memory,this.memsize,h,s),this.memsize=s-h),this},o.prototype.digest=function(){var t,r,i=this.memory,e="string"==typeof i,o=0,h=this.memsize,c=new n;for(t=this.total_len>=16?this.v1.rotl(1).add(this.v2.rotl(7).add(this.v3.rotl(12).add(this.v4.rotl(18)))):this.seed.clone().add(l),t.add(c.fromNumber(this.total_len));h-4>=o;)e?c.fromBits(i.charCodeAt(o+1)<<8|i.charCodeAt(o),i.charCodeAt(o+3)<<8|i.charCodeAt(o+2)):c.fromBits(i[o+1]<<8|i[o],i[o+3]<<8|i[o+2]),t.add(c.multiply(u)).rotl(17).multiply(f),o+=4;for(;h>o;)c.fromBits(e?i.charCodeAt(o++):i[o++],0),t.add(c.multiply(l)).rotl(11).multiply(s);return r=t.clone().shiftRight(15),t.xor(r).multiply(a),r=t.clone().shiftRight(13),t.xor(r).multiply(u),r=t.clone().shiftRight(16),t.xor(r),this.init(this.seed),t},t.exports=o}).call(r,i(0).Buffer)},function(t){var r;r=function(){return this}();try{r=r||Function("return this")()||(1,eval)("this")}catch(i){"object"==typeof window&&(r=window)}t.exports=r},function(t,r){"use strict";function i(t){var r=t.length;if(r%4>0)throw new Error("Invalid string. Length must be a multiple of 4");return"="===t[r-2]?2:"="===t[r-1]?1:0}function e(t){return 3*t.length/4-i(t)}function o(t){var r,e,o,h,n,s=t.length;h=i(t),n=new f(3*s/4-h),e=h>0?s-4:s;var a=0;for(r=0;e>r;r+=4)o=u[t.charCodeAt(r)]<<18|u[t.charCodeAt(r+1)]<<12|u[t.charCodeAt(r+2)]<<6|u[t.charCodeAt(r+3)],n[a++]=o>>16&255,n[a++]=o>>8&255,n[a++]=255&o;return 2===h?(o=u[t.charCodeAt(r)]<<2|u[t.charCodeAt(r+1)]>>4,n[a++]=255&o):1===h&&(o=u[t.charCodeAt(r)]<<10|u[t.charCodeAt(r+1)]<<4|u[t.charCodeAt(r+2)]>>2,n[a++]=o>>8&255,n[a++]=255&o),n}function h(t){return a[t>>18&63]+a[t>>12&63]+a[t>>6&63]+a[63&t]}function n(t,r,i){for(var e,o=[],n=r;i>n;n+=3)e=(t[n]<<16)+(t[n+1]<<8)+t[n+2],o.push(h(e));return o.join("")}function s(t){for(var r,i=t.length,e=i%3,o="",h=[],s=16383,u=0,f=i-e;f>u;u+=s)h.push(n(t,u,u+s>f?f:u+s));return 1===e?(r=t[i-1],o+=a[r>>2],o+=a[r<<4&63],o+="=="):2===e&&(r=(t[i-2]<<8)+t[i-1],o+=a[r>>10],o+=a[r>>4&63],o+=a[r<<2&63],o+="="),h.push(o),h.join("")}r.byteLength=e,r.toByteArray=o,r.fromByteArray=s;for(var a=[],u=[],f="undefined"!=typeof Uint8Array?Uint8Array:Array,l="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",c=0,p=l.length;p>c;++c)a[c]=l[c],u[l.charCodeAt(c)]=c;u["-".charCodeAt(0)]=62,u["_".charCodeAt(0)]=63},function(t,r){r.read=function(t,r,i,e,o){var h,n,s=8*o-e-1,a=(1<<s)-1,u=a>>1,f=-7,l=i?o-1:0,c=i?-1:1,p=t[r+l];for(l+=c,h=p&(1<<-f)-1,p>>=-f,f+=s;f>0;h=256*h+t[r+l],l+=c,f-=8);for(n=h&(1<<-f)-1,h>>=-f,f+=e;f>0;n=256*n+t[r+l],l+=c,f-=8);if(0===h)h=1-u;else{if(h===a)return n?0/0:(p?-1:1)*(1/0);n+=Math.pow(2,e),h-=u}return(p?-1:1)*n*Math.pow(2,h-e)},r.write=function(t,r,i,e,o,h){var n,s,a,u=8*h-o-1,f=(1<<u)-1,l=f>>1,c=23===o?Math.pow(2,-24)-Math.pow(2,-77):0,p=e?0:h-1,m=e?1:-1,y=0>r||0===r&&0>1/r?1:0;for(r=Math.abs(r),isNaN(r)||r===1/0?(s=isNaN(r)?1:0,n=f):(n=Math.floor(Math.log(r)/Math.LN2),r*(a=Math.pow(2,-n))<1&&(n--,a*=2),r+=n+l>=1?c/a:c*Math.pow(2,1-l),r*a>=2&&(n++,a/=2),n+l>=f?(s=0,n=f):n+l>=1?(s=(r*a-1)*Math.pow(2,o),n+=l):(s=r*Math.pow(2,l-1)*Math.pow(2,o),n=0));o>=8;t[i+p]=255&s,p+=m,s/=256,o-=8);for(n=n<<o|s,u+=o;u>0;t[i+p]=255&n,p+=m,n/=256,u-=8);t[i+p-m]|=128*y}},function(t){var r={}.toString;t.exports=Array.isArray||function(t){return"[object Array]"==r.call(t)}},function(t,r){var i,e;!function(o){function h(t,r){return this instanceof h?(this._low=0,this._high=0,this.remainder=null,"undefined"==typeof r?s.call(this,t):"string"==typeof t?a.call(this,t,r):void n.call(this,t,r)):new h(t,r)}function n(t,r){return this._low=0|t,this._high=0|r,this}function s(t){return this._low=65535&t,this._high=t>>>16,this}function a(t,r){var i=parseInt(t,r||10);return this._low=65535&i,this._high=i>>>16,this}({36:h(Math.pow(36,5)),16:h(Math.pow(16,7)),10:h(Math.pow(10,9)),2:h(Math.pow(2,30))}),{36:h(36),16:h(16),10:h(10),2:h(2)};h.prototype.fromBits=n,h.prototype.fromNumber=s,h.prototype.fromString=a,h.prototype.toNumber=function(){return 65536*this._high+this._low},h.prototype.toString=function(t){return this.toNumber().toString(t||10)},h.prototype.add=function(t){var r=this._low+t._low,i=r>>>16;return i+=this._high+t._high,this._low=65535&r,this._high=65535&i,this},h.prototype.subtract=function(t){return this.add(t.clone().negate())},h.prototype.multiply=function(t){var r,i,e=this._high,o=this._low,h=t._high,n=t._low;return i=o*n,r=i>>>16,r+=e*n,r&=65535,r+=o*h,this._low=65535&i,this._high=65535&r,this},h.prototype.div=function(t){if(0==t._low&&0==t._high)throw Error("division by zero");if(0==t._high&&1==t._low)return this.remainder=new h(0),this;if(t.gt(this))return this.remainder=this.clone(),this._low=0,this._high=0,this;if(this.eq(t))return this.remainder=new h(0),this._low=1,this._high=0,this;for(var r=t.clone(),i=-1;!this.lt(r);)r.shiftLeft(1,!0),i++;for(this.remainder=this.clone(),this._low=0,this._high=0;i>=0;i--)r.shiftRight(1),this.remainder.lt(r)||(this.remainder.subtract(r),i>=16?this._high|=1<<i-16:this._low|=1<<i);return this},h.prototype.negate=function(){var t=(65535&~this._low)+1;return this._low=65535&t,this._high=~this._high+(t>>>16)&65535,this},h.prototype.equals=h.prototype.eq=function(t){return this._low==t._low&&this._high==t._high},h.prototype.greaterThan=h.prototype.gt=function(t){return this._high>t._high?!0:this._high<t._high?!1:this._low>t._low},h.prototype.lessThan=h.prototype.lt=function(t){return this._high<t._high?!0:this._high>t._high?!1:this._low<t._low},h.prototype.or=function(t){return this._low|=t._low,this._high|=t._high,this},h.prototype.and=function(t){return this._low&=t._low,this._high&=t._high,this},h.prototype.not=function(){return this._low=65535&~this._low,this._high=65535&~this._high,this},h.prototype.xor=function(t){return this._low^=t._low,this._high^=t._high,this},h.prototype.shiftRight=h.prototype.shiftr=function(t){return t>16?(this._low=this._high>>t-16,this._high=0):16==t?(this._low=this._high,this._high=0):(this._low=this._low>>t|this._high<<16-t&65535,this._high>>=t),this},h.prototype.shiftLeft=h.prototype.shiftl=function(t,r){return t>16?(this._high=this._low<<t-16,this._low=0,r||(this._high&=65535)):16==t?(this._high=this._low,this._low=0):(this._high=this._high<<t|this._low>>16-t,this._low=this._low<<t&65535,r||(this._high&=65535)),this},h.prototype.rotateLeft=h.prototype.rotl=function(t){var r=this._high<<16|this._low;return r=r<<t|r>>>32-t,this._low=65535&r,this._high=r>>>16,this},h.prototype.rotateRight=h.prototype.rotr=function(t){var r=this._high<<16|this._low;return r=r>>>t|r<<32-t,this._low=65535&r,this._high=r>>>16,this},h.prototype.clone=function(){return new h(this._low,this._high)},i=[],e=function(){return h}.apply(r,i),!(void 0!==e&&(t.exports=e))}(this)},function(t,r){var i,e;!function(o){function h(t,r,i,e){return this instanceof h?(this.remainder=null,"string"==typeof t?a.call(this,t,r):"undefined"==typeof r?s.call(this,t):void n.apply(this,arguments)):new h(t,r,i,e)}function n(t,r,i,e){return"undefined"==typeof i?(this._a00=65535&t,this._a16=t>>>16,this._a32=65535&r,this._a48=r>>>16,this):(this._a00=0|t,this._a16=0|r,this._a32=0|i,this._a48=0|e,this)}function s(t){return this._a00=65535&t,this._a16=t>>>16,this._a32=0,this._a48=0,this}function a(t,r){r=r||10,this._a00=0,this._a16=0,this._a32=0,this._a48=0;for(var i=u[r]||new h(Math.pow(r,5)),e=0,o=t.length;o>e;e+=5){var n=Math.min(5,o-e),s=parseInt(t.slice(e,e+n),r);this.multiply(5>n?new h(Math.pow(r,n)):i).add(new h(s))}return this}var u={16:h(Math.pow(16,5)),10:h(Math.pow(10,5)),2:h(Math.pow(2,5))},f={16:h(16),10:h(10),2:h(2)};h.prototype.fromBits=n,h.prototype.fromNumber=s,h.prototype.fromString=a,h.prototype.toNumber=function(){return 65536*this._a16+this._a00},h.prototype.toString=function(t){t=t||10;
var r=f[t]||new h(t);if(!this.gt(r))return this.toNumber().toString(t);for(var i=this.clone(),e=new Array(64),o=63;o>=0&&(i.div(r),e[o]=i.remainder.toNumber().toString(t),i.gt(r));o--);return e[o-1]=i.toNumber().toString(t),e.join("")},h.prototype.add=function(t){var r=this._a00+t._a00,i=r>>>16;i+=this._a16+t._a16;var e=i>>>16;e+=this._a32+t._a32;var o=e>>>16;return o+=this._a48+t._a48,this._a00=65535&r,this._a16=65535&i,this._a32=65535&e,this._a48=65535&o,this},h.prototype.subtract=function(t){return this.add(t.clone().negate())},h.prototype.multiply=function(t){var r=this._a00,i=this._a16,e=this._a32,o=this._a48,h=t._a00,n=t._a16,s=t._a32,a=t._a48,u=r*h,f=u>>>16;f+=r*n;var l=f>>>16;f&=65535,f+=i*h,l+=f>>>16,l+=r*s;var c=l>>>16;return l&=65535,l+=i*n,c+=l>>>16,l&=65535,l+=e*h,c+=l>>>16,c+=r*a,c&=65535,c+=i*s,c&=65535,c+=e*n,c&=65535,c+=o*h,this._a00=65535&u,this._a16=65535&f,this._a32=65535&l,this._a48=65535&c,this},h.prototype.div=function(t){if(0==t._a16&&0==t._a32&&0==t._a48){if(0==t._a00)throw Error("division by zero");if(1==t._a00)return this.remainder=new h(0),this}if(t.gt(this))return this.remainder=this.clone(),this._a00=0,this._a16=0,this._a32=0,this._a48=0,this;if(this.eq(t))return this.remainder=new h(0),this._a00=1,this._a16=0,this._a32=0,this._a48=0,this;for(var r=t.clone(),i=-1;!this.lt(r);)r.shiftLeft(1,!0),i++;for(this.remainder=this.clone(),this._a00=0,this._a16=0,this._a32=0,this._a48=0;i>=0;i--)r.shiftRight(1),this.remainder.lt(r)||(this.remainder.subtract(r),i>=48?this._a48|=1<<i-48:i>=32?this._a32|=1<<i-32:i>=16?this._a16|=1<<i-16:this._a00|=1<<i);return this},h.prototype.negate=function(){var t=(65535&~this._a00)+1;return this._a00=65535&t,t=(65535&~this._a16)+(t>>>16),this._a16=65535&t,t=(65535&~this._a32)+(t>>>16),this._a32=65535&t,this._a48=~this._a48+(t>>>16)&65535,this},h.prototype.equals=h.prototype.eq=function(t){return this._a48==t._a48&&this._a00==t._a00&&this._a32==t._a32&&this._a16==t._a16},h.prototype.greaterThan=h.prototype.gt=function(t){return this._a48>t._a48?!0:this._a48<t._a48?!1:this._a32>t._a32?!0:this._a32<t._a32?!1:this._a16>t._a16?!0:this._a16<t._a16?!1:this._a00>t._a00},h.prototype.lessThan=h.prototype.lt=function(t){return this._a48<t._a48?!0:this._a48>t._a48?!1:this._a32<t._a32?!0:this._a32>t._a32?!1:this._a16<t._a16?!0:this._a16>t._a16?!1:this._a00<t._a00},h.prototype.or=function(t){return this._a00|=t._a00,this._a16|=t._a16,this._a32|=t._a32,this._a48|=t._a48,this},h.prototype.and=function(t){return this._a00&=t._a00,this._a16&=t._a16,this._a32&=t._a32,this._a48&=t._a48,this},h.prototype.xor=function(t){return this._a00^=t._a00,this._a16^=t._a16,this._a32^=t._a32,this._a48^=t._a48,this},h.prototype.not=function(){return this._a00=65535&~this._a00,this._a16=65535&~this._a16,this._a32=65535&~this._a32,this._a48=65535&~this._a48,this},h.prototype.shiftRight=h.prototype.shiftr=function(t){return t%=64,t>=48?(this._a00=this._a48>>t-48,this._a16=0,this._a32=0,this._a48=0):t>=32?(t-=32,this._a00=65535&(this._a32>>t|this._a48<<16-t),this._a16=this._a48>>t&65535,this._a32=0,this._a48=0):t>=16?(t-=16,this._a00=65535&(this._a16>>t|this._a32<<16-t),this._a16=65535&(this._a32>>t|this._a48<<16-t),this._a32=this._a48>>t&65535,this._a48=0):(this._a00=65535&(this._a00>>t|this._a16<<16-t),this._a16=65535&(this._a16>>t|this._a32<<16-t),this._a32=65535&(this._a32>>t|this._a48<<16-t),this._a48=this._a48>>t&65535),this},h.prototype.shiftLeft=h.prototype.shiftl=function(t,r){return t%=64,t>=48?(this._a48=this._a00<<t-48,this._a32=0,this._a16=0,this._a00=0):t>=32?(t-=32,this._a48=this._a16<<t|this._a00>>16-t,this._a32=this._a00<<t&65535,this._a16=0,this._a00=0):t>=16?(t-=16,this._a48=this._a32<<t|this._a16>>16-t,this._a32=65535&(this._a16<<t|this._a00>>16-t),this._a16=this._a00<<t&65535,this._a00=0):(this._a48=this._a48<<t|this._a32>>16-t,this._a32=65535&(this._a32<<t|this._a16>>16-t),this._a16=65535&(this._a16<<t|this._a00>>16-t),this._a00=this._a00<<t&65535),r||(this._a48&=65535),this},h.prototype.rotateLeft=h.prototype.rotl=function(t){if(t%=64,0==t)return this;if(t>=32){var r=this._a00;if(this._a00=this._a32,this._a32=r,r=this._a48,this._a48=this._a16,this._a16=r,32==t)return this;t-=32}var i=this._a48<<16|this._a32,e=this._a16<<16|this._a00,o=i<<t|e>>>32-t,h=e<<t|i>>>32-t;return this._a00=65535&h,this._a16=h>>>16,this._a32=65535&o,this._a48=o>>>16,this},h.prototype.rotateRight=h.prototype.rotr=function(t){if(t%=64,0==t)return this;if(t>=32){var r=this._a00;if(this._a00=this._a32,this._a32=r,r=this._a48,this._a48=this._a16,this._a16=r,32==t)return this;t-=32}var i=this._a48<<16|this._a32,e=this._a16<<16|this._a00,o=i>>>t|e<<32-t,h=e>>>t|i<<32-t;return this._a00=65535&h,this._a16=h>>>16,this._a32=65535&o,this._a48=o>>>16,this},h.prototype.clone=function(){return new h(this._a00,this._a16,this._a32,this._a48)},i=[],e=function(){return h}.apply(r,i),!(void 0!==e&&(t.exports=e))}(this)},function(t,r,i){(function(r){function e(t){for(var r=[],i=0,e=t.length;e>i;i++){var o=t.charCodeAt(i);128>o?r.push(o):2048>o?r.push(192|o>>6,128|63&o):55296>o||o>=57344?r.push(224|o>>12,128|o>>6&63,128|63&o):(i++,o=65536+((1023&o)<<10|1023&t.charCodeAt(i)),r.push(240|o>>18,128|o>>12&63,128|o>>6&63,128|63&o))}return new Uint8Array(r)}function o(){return 2==arguments.length?new o(arguments[1]).update(arguments[0]).digest():this instanceof o?void h.call(this,arguments[0]):new o(arguments[0])}function h(t){return this.seed=t instanceof n?t.clone():n(t),this.v1=this.seed.clone().add(s).add(a),this.v2=this.seed.clone().add(a),this.v3=this.seed.clone(),this.v4=this.seed.clone().subtract(s),this.total_len=0,this.memsize=0,this.memory=null,this}var n=i(1).UINT64,s=n("11400714785074694791"),a=n("14029467366897019727"),u=n("1609587929392839161"),f=n("9650029242287828579"),l=n("2870177450012600261");o.prototype.init=h,o.prototype.update=function(t){var i,o="string"==typeof t;o&&(t=e(t),o=!1,i=!0),"undefined"!=typeof ArrayBuffer&&t instanceof ArrayBuffer&&(i=!0,t=new Uint8Array(t));var h=0,u=t.length,f=h+u;if(0==u)return this;if(this.total_len+=u,0==this.memsize&&(this.memory=o?"":i?new Uint8Array(32):new r(32)),this.memsize+u<32)return o?this.memory+=t:i?this.memory.set(t.subarray(0,u),this.memsize):t.copy(this.memory,this.memsize,0,u),this.memsize+=u,this;if(this.memsize>0){o?this.memory+=t.slice(0,32-this.memsize):i?this.memory.set(t.subarray(0,32-this.memsize),this.memsize):t.copy(this.memory,this.memsize,0,32-this.memsize);var l=0;if(o){var c;c=n(this.memory.charCodeAt(l+1)<<8|this.memory.charCodeAt(l),this.memory.charCodeAt(l+3)<<8|this.memory.charCodeAt(l+2),this.memory.charCodeAt(l+5)<<8|this.memory.charCodeAt(l+4),this.memory.charCodeAt(l+7)<<8|this.memory.charCodeAt(l+6)),this.v1.add(c.multiply(a)).rotl(31).multiply(s),l+=8,c=n(this.memory.charCodeAt(l+1)<<8|this.memory.charCodeAt(l),this.memory.charCodeAt(l+3)<<8|this.memory.charCodeAt(l+2),this.memory.charCodeAt(l+5)<<8|this.memory.charCodeAt(l+4),this.memory.charCodeAt(l+7)<<8|this.memory.charCodeAt(l+6)),this.v2.add(c.multiply(a)).rotl(31).multiply(s),l+=8,c=n(this.memory.charCodeAt(l+1)<<8|this.memory.charCodeAt(l),this.memory.charCodeAt(l+3)<<8|this.memory.charCodeAt(l+2),this.memory.charCodeAt(l+5)<<8|this.memory.charCodeAt(l+4),this.memory.charCodeAt(l+7)<<8|this.memory.charCodeAt(l+6)),this.v3.add(c.multiply(a)).rotl(31).multiply(s),l+=8,c=n(this.memory.charCodeAt(l+1)<<8|this.memory.charCodeAt(l),this.memory.charCodeAt(l+3)<<8|this.memory.charCodeAt(l+2),this.memory.charCodeAt(l+5)<<8|this.memory.charCodeAt(l+4),this.memory.charCodeAt(l+7)<<8|this.memory.charCodeAt(l+6)),this.v4.add(c.multiply(a)).rotl(31).multiply(s)}else{var c;c=n(this.memory[l+1]<<8|this.memory[l],this.memory[l+3]<<8|this.memory[l+2],this.memory[l+5]<<8|this.memory[l+4],this.memory[l+7]<<8|this.memory[l+6]),this.v1.add(c.multiply(a)).rotl(31).multiply(s),l+=8,c=n(this.memory[l+1]<<8|this.memory[l],this.memory[l+3]<<8|this.memory[l+2],this.memory[l+5]<<8|this.memory[l+4],this.memory[l+7]<<8|this.memory[l+6]),this.v2.add(c.multiply(a)).rotl(31).multiply(s),l+=8,c=n(this.memory[l+1]<<8|this.memory[l],this.memory[l+3]<<8|this.memory[l+2],this.memory[l+5]<<8|this.memory[l+4],this.memory[l+7]<<8|this.memory[l+6]),this.v3.add(c.multiply(a)).rotl(31).multiply(s),l+=8,c=n(this.memory[l+1]<<8|this.memory[l],this.memory[l+3]<<8|this.memory[l+2],this.memory[l+5]<<8|this.memory[l+4],this.memory[l+7]<<8|this.memory[l+6]),this.v4.add(c.multiply(a)).rotl(31).multiply(s)}h+=32-this.memsize,this.memsize=0,o&&(this.memory="")}if(f-32>=h){var p=f-32;do{if(o){var c;c=n(t.charCodeAt(h+1)<<8|t.charCodeAt(h),t.charCodeAt(h+3)<<8|t.charCodeAt(h+2),t.charCodeAt(h+5)<<8|t.charCodeAt(h+4),t.charCodeAt(h+7)<<8|t.charCodeAt(h+6)),this.v1.add(c.multiply(a)).rotl(31).multiply(s),h+=8,c=n(t.charCodeAt(h+1)<<8|t.charCodeAt(h),t.charCodeAt(h+3)<<8|t.charCodeAt(h+2),t.charCodeAt(h+5)<<8|t.charCodeAt(h+4),t.charCodeAt(h+7)<<8|t.charCodeAt(h+6)),this.v2.add(c.multiply(a)).rotl(31).multiply(s),h+=8,c=n(t.charCodeAt(h+1)<<8|t.charCodeAt(h),t.charCodeAt(h+3)<<8|t.charCodeAt(h+2),t.charCodeAt(h+5)<<8|t.charCodeAt(h+4),t.charCodeAt(h+7)<<8|t.charCodeAt(h+6)),this.v3.add(c.multiply(a)).rotl(31).multiply(s),h+=8,c=n(t.charCodeAt(h+1)<<8|t.charCodeAt(h),t.charCodeAt(h+3)<<8|t.charCodeAt(h+2),t.charCodeAt(h+5)<<8|t.charCodeAt(h+4),t.charCodeAt(h+7)<<8|t.charCodeAt(h+6)),this.v4.add(c.multiply(a)).rotl(31).multiply(s)}else{var c;c=n(t[h+1]<<8|t[h],t[h+3]<<8|t[h+2],t[h+5]<<8|t[h+4],t[h+7]<<8|t[h+6]),this.v1.add(c.multiply(a)).rotl(31).multiply(s),h+=8,c=n(t[h+1]<<8|t[h],t[h+3]<<8|t[h+2],t[h+5]<<8|t[h+4],t[h+7]<<8|t[h+6]),this.v2.add(c.multiply(a)).rotl(31).multiply(s),h+=8,c=n(t[h+1]<<8|t[h],t[h+3]<<8|t[h+2],t[h+5]<<8|t[h+4],t[h+7]<<8|t[h+6]),this.v3.add(c.multiply(a)).rotl(31).multiply(s),h+=8,c=n(t[h+1]<<8|t[h],t[h+3]<<8|t[h+2],t[h+5]<<8|t[h+4],t[h+7]<<8|t[h+6]),this.v4.add(c.multiply(a)).rotl(31).multiply(s)}h+=8}while(p>=h)}return f>h&&(o?this.memory+=t.slice(h):i?this.memory.set(t.subarray(h,f),this.memsize):t.copy(this.memory,this.memsize,h,f),this.memsize=f-h),this},o.prototype.digest=function(){var t,r,i=this.memory,e="string"==typeof i,o=0,h=this.memsize,c=new n;for(this.total_len>=32?(t=this.v1.clone().rotl(1),t.add(this.v2.clone().rotl(7)),t.add(this.v3.clone().rotl(12)),t.add(this.v4.clone().rotl(18)),t.xor(this.v1.multiply(a).rotl(31).multiply(s)),t.multiply(s).add(f),t.xor(this.v2.multiply(a).rotl(31).multiply(s)),t.multiply(s).add(f),t.xor(this.v3.multiply(a).rotl(31).multiply(s)),t.multiply(s).add(f),t.xor(this.v4.multiply(a).rotl(31).multiply(s)),t.multiply(s).add(f)):t=this.seed.clone().add(l),t.add(c.fromNumber(this.total_len));h-8>=o;)e?c.fromBits(i.charCodeAt(o+1)<<8|i.charCodeAt(o),i.charCodeAt(o+3)<<8|i.charCodeAt(o+2),i.charCodeAt(o+5)<<8|i.charCodeAt(o+4),i.charCodeAt(o+7)<<8|i.charCodeAt(o+6)):c.fromBits(i[o+1]<<8|i[o],i[o+3]<<8|i[o+2],i[o+5]<<8|i[o+4],i[o+7]<<8|i[o+6]),c.multiply(a).rotl(31).multiply(s),t.xor(c).rotl(27).multiply(s).add(f),o+=8;for(h>=o+4&&(e?c.fromBits(i.charCodeAt(o+1)<<8|i.charCodeAt(o),i.charCodeAt(o+3)<<8|i.charCodeAt(o+2),0,0):c.fromBits(i[o+1]<<8|i[o],i[o+3]<<8|i[o+2],0,0),t.xor(c.multiply(s)).rotl(23).multiply(a).add(u),o+=4);h>o;)c.fromBits(e?i.charCodeAt(o++):i[o++],0,0,0),t.xor(c.multiply(l)).rotl(11).multiply(s);return r=t.clone().shiftRight(33),t.xor(r).multiply(a),r=t.clone().shiftRight(29),t.xor(r).multiply(u),r=t.clone().shiftRight(32),t.xor(r),this.init(this.seed),t},t.exports=o}).call(r,i(0).Buffer)}])});;
!function(t,e){if("undefined"==typeof window)return;(t=window).canvgv2=e(t.RGBColor,t.StackBlur)}(this,function(x,b){"use strict";function t(t,e){return t(e={exports:{}},e.exports),e.exports}var e;return x=x&&x.hasOwnProperty("default")?x["default"]:x,b=b&&b.hasOwnProperty("default")?b["default"]:b,t(function(t){function d(t,e){var i;return(i=u.createElement("canvas")).width=t,i.height=e,i}function P(n){var s=[0,0,0],t=function(t,e){var i=n.match(t);if(null==i)return;s[e]+=i.length,n=n.replace(t," ")};return n=(n=n.replace(/:not\(([^\)]*)\)/g," $1 ")).replace(/{[\s\S]*/gm," "),t(i,1),t(a,0),t(r,1),t(o,2),t(y,1),t(v,1),n=(n=n.replace(/[\*\s\+>~]/g," ")).replace(/[#\.]/g," "),t(g,2),s.join("")}function h(s){var B={opts:s,FRAMERATE:30,MAX_VIRTUAL_PIXELS:3e4,rootEmSize:12,emSize:12,log:function(){}};1==B.opts["log"]&&"undefined"!=typeof console&&(B.log=function(t){console.log(t)}),B.init=function(t){var e=0;B.UniqueId=function(){return"canvg"+ ++e},B.Definitions={},B.Styles={},B.StylesSpecificity={},B.Animations=[],B.Images=[],B.ctx=t,B.ViewPort=new function(){this.viewPorts=[],this.Clear=function(){this.viewPorts=[]},this.SetCurrent=function(t,e){this.viewPorts.push({width:t,height:e})},this.RemoveCurrent=function(){this.viewPorts.pop()},this.Current=function(){return this.viewPorts[this.viewPorts.length-1]},this.width=function(){return this.Current().width},this.height=function(){return this.Current().height},this.ComputeSize=function(t){if(null!=t&&"number"==typeof t)return t;if("x"==t)return this.width();if("y"==t)return this.height();return Math.sqrt(Math.pow(this.width(),2)+Math.pow(this.height(),2))/Math.sqrt(2)}}},B.init(),B.ImagesLoaded=function(){for(var t=0;t<B.Images.length;t++)if(!B.Images[t].loaded)return!1;return!0},B.trim=function(t){return t.replace(/^\s+|\s+$/g,"")},B.compressSpaces=function(t){return t.replace(/(?!\u3000)\s+/gm," ")},B.ajax=function(t){var e,e=l.XMLHttpRequest?new l.XMLHttpRequest:new ActiveXObject("Microsoft.XMLHTTP");if(e)return e.open("GET",t,!1),e.send(null),e.responseText;return null},B.parseXml=function(e){if("undefined"!=typeof Windows&&void 0!==Windows.Data&&void 0!==Windows.Data.Xml){var t=new Windows.Data.Xml.Dom.XmlDocument,i=new Windows.Data.Xml.Dom.XmlLoadSettings;return i.prohibitDtd=!1,t.loadXml(e,i),t}var t;if(!l.DOMParser)return e=e.replace(/<!DOCTYPE svg[^>]*>/,""),(t=new ActiveXObject("Microsoft.XMLDOM")).async="false",t.loadXML(e),t;try{var n=s.xmldom?new l.DOMParser(s.xmldom):new l.DOMParser;return n.parseFromString(e,"image/svg+xml")}catch(t){return(n=s.xmldom?new l.DOMParser(s.xmldom):new l.DOMParser).parseFromString(e,"text/xml")}},B.Property=function(t,e){this.name=t,this.value=e},B.Property.prototype.getValue=function(){return this.value},B.Property.prototype.hasValue=function(){return null!=this.value&&""!==this.value},B.Property.prototype.numValue=function(){if(!this.hasValue())return 0;var t=parseFloat(this.value);return(this.value+"").match(/%$/)&&(t/=100),t},B.Property.prototype.valueOrDefault=function(t){if(this.hasValue())return this.value;return t},B.Property.prototype.numValueOrDefault=function(t){if(this.hasValue())return this.numValue();return parseFloat(t)},B.Property.prototype.addOpacity=function(t){var e=this.value,i;return null==t.value||""==t.value||"string"!=typeof this.value||(i=new x(this.value)).ok&&(e="rgba("+i.r+", "+i.g+", "+i.b+", "+t.numValue()+")"),new B.Property(this.name,e)},B.Property.prototype.getDefinition=function(){var t=this.value.match(/#([^\)'"]+)/),t;return t=(t=t&&t[1])||this.value,B.Definitions[t]},B.Property.prototype.isUrlDefinition=function(){return 0==this.value.indexOf("url(")},B.Property.prototype.getFillStyleDefinition=function(t,e){var i=this.getDefinition(),n,i;if(null!=i&&i.createGradient)return i.createGradient(B.ctx,t,e);if(null!=i&&i.createPattern)return i.getHrefAttribute().hasValue()&&(n=i.attribute("patternTransform"),i=i.getHrefAttribute().getDefinition(),n.hasValue()&&(i.attribute("patternTransform",!0).value=n.value)),i.createPattern(B.ctx,t,e);return null},B.Property.prototype.getDPI=function(){return 96},B.Property.prototype.getREM=function(){return B.rootEmSize},B.Property.prototype.getEM=function(){return B.emSize},B.Property.prototype.getUnits=function(){var t;return(this.value+"").replace(/[0-9\.\-]/g,"")},B.Property.prototype.isPixels=function(){if(!this.hasValue())return!1;var t=this.value+"";if(t.match(/px$/))return!0;if(t.match(/^[0-9]+$/))return!0;return!1},B.Property.prototype.toPixels=function(t,e){if(!this.hasValue())return 0;var i=this.value+"";if(i.match(/rem$/))return this.numValue()*this.getREM(t);if(i.match(/em$/))return this.numValue()*this.getEM(t);if(i.match(/ex$/))return this.numValue()*this.getEM(t)/2;if(i.match(/px$/))return this.numValue();if(i.match(/pt$/))return this.numValue()*this.getDPI(t)*(1/72);if(i.match(/pc$/))return 15*this.numValue();if(i.match(/cm$/))return this.numValue()*this.getDPI(t)/2.54;if(i.match(/mm$/))return this.numValue()*this.getDPI(t)/25.4;if(i.match(/in$/))return this.numValue()*this.getDPI(t);if(i.match(/%$/))return this.numValue()*B.ViewPort.ComputeSize(t);var i=this.numValue();if(e&&i<1)return i*B.ViewPort.ComputeSize(t);return i},B.Property.prototype.toMilliseconds=function(){if(!this.hasValue())return 0;var t;if((this.value+"").match(/ms$/))return this.numValue();return 1e3*this.numValue()},B.Property.prototype.toRadians=function(){if(!this.hasValue())return 0;var t=this.value+"";if(t.match(/deg$/))return this.numValue()*(Math.PI/180);if(t.match(/grad$/))return this.numValue()*(Math.PI/200);if(t.match(/rad$/))return this.numValue();return this.numValue()*(Math.PI/180)};var t={baseline:"alphabetic","before-edge":"top","text-before-edge":"top",middle:"middle",central:"middle","after-edge":"bottom","text-after-edge":"bottom",ideographic:"ideographic",alphabetic:"alphabetic",hanging:"hanging",mathematical:"alphabetic"};return B.Property.prototype.toTextBaseline=function(){if(!this.hasValue())return null;return t[this.value]},B.Font=new function(){this.Styles="normal|italic|oblique|inherit",this.Variants="normal|small-caps|inherit",this.Weights="normal|bold|bolder|lighter|100|200|300|400|500|600|700|800|900|inherit",this.CreateFont=function(t,e,i,n,s,a){var a=null!=a?this.Parse(a):this.CreateFont("","","","","",B.ctx.font);return{fontFamily:s=s||a.fontFamily,fontSize:n||a.fontSize,fontStyle:t||a.fontStyle,fontWeight:i||a.fontWeight,fontVariant:e||a.fontVariant,toString:function(){return[this.fontStyle,this.fontVariant,this.fontWeight,this.fontSize,this.fontFamily].join(" ")}}};var r=this;this.Parse=function(t){for(var e={},i=B.trim(B.compressSpaces(t||"")).split(" "),n={fontSize:!1,fontStyle:!1,fontWeight:!1,fontVariant:!1},s="",a=0;a<i.length;a++)n.fontStyle||-1==r.Styles.indexOf(i[a])?n.fontVariant||-1==r.Variants.indexOf(i[a])?n.fontWeight||-1==r.Weights.indexOf(i[a])?n.fontSize?"inherit"!=i[a]&&(s+=i[a]):("inherit"!=i[a]&&(e.fontSize=i[a].split("/")[0]),n.fontStyle=n.fontVariant=n.fontWeight=n.fontSize=!0):("inherit"!=i[a]&&(e.fontWeight=i[a]),n.fontStyle=n.fontVariant=n.fontWeight=!0):("inherit"!=i[a]&&(e.fontVariant=i[a]),n.fontStyle=n.fontVariant=!0):("inherit"!=i[a]&&(e.fontStyle=i[a]),n.fontStyle=!0);return""!=s&&(e.fontFamily=s),e}},B.ToNumberArray=function(t){for(var e=(t||"").match(/-?(\d+(?:\.\d*(?:[eE][+-]?\d+)?)?|\.\d+)(?=\D|$)/gm)||[],i=0;i<e.length;i++)e[i]=parseFloat(e[i]);return e},B.Point=function(t,e){this.x=t,this.y=e},B.Point.prototype.angleTo=function(t){return Math.atan2(t.y-this.y,t.x-this.x)},B.Point.prototype.applyTransform=function(t){var e=this.x*t[0]+this.y*t[2]+t[4],t=this.x*t[1]+this.y*t[3]+t[5];this.x=e,this.y=t},B.CreatePoint=function(t){var t=B.ToNumberArray(t);return new B.Point(t[0],t[1])},B.CreatePath=function(t){for(var e=B.ToNumberArray(t),i=[],n=0;n<e.length;n+=2)i.push(new B.Point(e[n],e[n+1]));return i},B.BoundingBox=function(t,e,i,n){this.x1=Number.NaN,this.y1=Number.NaN,this.x2=Number.NaN,this.y2=Number.NaN,this.x=function(){return this.x1},this.y=function(){return this.y1},this.width=function(){return this.x2-this.x1},this.height=function(){return this.y2-this.y1},this.addPoint=function(t,e){null!=t&&((isNaN(this.x1)||isNaN(this.x2))&&(this.x1=t,this.x2=t),t<this.x1&&(this.x1=t),t>this.x2&&(this.x2=t)),null!=e&&((isNaN(this.y1)||isNaN(this.y2))&&(this.y1=e,this.y2=e),e<this.y1&&(this.y1=e),e>this.y2&&(this.y2=e))},this.addX=function(t){this.addPoint(t,null)},this.addY=function(t){this.addPoint(null,t)},this.addBoundingBox=function(t){this.addPoint(t.x1,t.y1),this.addPoint(t.x2,t.y2)},this.addQuadraticCurve=function(t,e,i,n,s,a){var r=t+2/3*(i-t),o=e+2/3*(n-e),i=r+1/3*(s-t),n=o+1/3*(a-e);this.addBezierCurve(t,e,r,i,o,n,s,a)},this.addBezierCurve=function(t,e,i,n,s,a,r,o){var h=[t,e],l=[i,n],u=[s,a],c=[r,o];this.addPoint(h[0],h[1]),this.addPoint(c[0],c[1]);for(var p=0;p<=1;p++){var f=function(t){return Math.pow(1-t,3)*h[p]+3*Math.pow(1-t,2)*t*l[p]+3*(1-t)*Math.pow(t,2)*u[p]+Math.pow(t,3)*c[p]},d=6*h[p]-12*l[p]+6*u[p],m=-3*h[p]+9*l[p]-9*u[p]+3*c[p],y=3*l[p]-3*h[p];if(0==m){if(0==d)continue;var v=-y/d;0<v&&v<1&&(0==p&&this.addX(f(v)),1==p&&this.addY(f(v)));continue}var v=Math.pow(d,2)-4*y*m;if(v<0)continue;var y=(-d+Math.sqrt(v))/(2*m);0<y&&y<1&&(0==p&&this.addX(f(y)),1==p&&this.addY(f(y)));var m=(-d-Math.sqrt(v))/(2*m);0<m&&m<1&&(0==p&&this.addX(f(m)),1==p&&this.addY(f(m)))}},this.isPointInBox=function(t,e){return this.x1<=t&&t<=this.x2&&this.y1<=e&&e<=this.y2},this.addPoint(t,e),this.addPoint(i,n)},B.Transform=function(t){var e=this;this.Type={},this.Type.translate=function(t){this.p=B.CreatePoint(t),this.apply=function(t){t.translate(this.p.x||0,this.p.y||0)},this.unapply=function(t){t.translate(-1*this.p.x||0,-1*this.p.y||0)},this.applyToPoint=function(t){t.applyTransform([1,0,0,1,this.p.x||0,this.p.y||0])}},this.Type.rotate=function(t){var t=B.ToNumberArray(t);this.angle=new B.Property("angle",t[0]),this.cx=t[1]||0,this.cy=t[2]||0,this.apply=function(t){t.translate(this.cx,this.cy),t.rotate(this.angle.toRadians()),t.translate(-this.cx,-this.cy)},this.unapply=function(t){t.translate(this.cx,this.cy),t.rotate(-1*this.angle.toRadians()),t.translate(-this.cx,-this.cy)},this.applyToPoint=function(t){var e=this.angle.toRadians();t.applyTransform([1,0,0,1,this.p.x||0,this.p.y||0]),t.applyTransform([Math.cos(e),Math.sin(e),-Math.sin(e),Math.cos(e),0,0]),t.applyTransform([1,0,0,1,-this.p.x||0,-this.p.y||0])}},this.Type.scale=function(t){this.p=B.CreatePoint(t),this.apply=function(t){t.scale(this.p.x||1,this.p.y||this.p.x||1)},this.unapply=function(t){t.scale(1/this.p.x||1,1/this.p.y||this.p.x||1)},this.applyToPoint=function(t){t.applyTransform([this.p.x||0,0,0,this.p.y||0,0,0])}},this.Type.matrix=function(t){this.m=B.ToNumberArray(t),this.apply=function(t){t.transform(this.m[0],this.m[1],this.m[2],this.m[3],this.m[4],this.m[5])},this.unapply=function(t){var e=this.m[0],i=this.m[2],n=this.m[4],s=this.m[1],a=this.m[3],r=this.m[5],o=0,h=0,l=1,u=1/(e*(a*l-r*h)-i*(s*l-r*o)+n*(s*h-a*o));t.transform(u*(a*l-r*h),u*(r*o-s*l),u*(n*h-i*l),u*(e*l-n*o),u*(i*r-n*a),u*(n*s-e*r))},this.applyToPoint=function(t){t.applyTransform(this.m)}},this.Type.SkewBase=function(t){this.base=e.Type.matrix,this.base(t),this.angle=new B.Property("angle",t)},this.Type.SkewBase.prototype=new this.Type.matrix,this.Type.skewX=function(t){this.base=e.Type.SkewBase,this.base(t),this.m=[1,0,Math.tan(this.angle.toRadians()),1,0,0]},this.Type.skewX.prototype=new this.Type.SkewBase,this.Type.skewY=function(t){this.base=e.Type.SkewBase,this.base(t),this.m=[1,Math.tan(this.angle.toRadians()),0,1,0,0]},this.Type.skewY.prototype=new this.Type.SkewBase,this.transforms=[],this.apply=function(t){for(var e=0;e<this.transforms.length;e++)this.transforms[e].apply(t)},this.unapply=function(t){for(var e=this.transforms.length-1;0<=e;e--)this.transforms[e].unapply(t)},this.applyToPoint=function(t){for(var e=0;e<this.transforms.length;e++)this.transforms[e].applyToPoint(t)};for(var i=B.trim(B.compressSpaces(t)).replace(/\)([a-zA-Z])/g,") $1").replace(/\)(\s?,\s?)/g,") ").split(/\s(?=[a-z])/),n=0;n<i.length;n++){if("none"===i[n])continue;var s=B.trim(i[n].split("(")[0]),a=i[n].split("(")[1].replace(")",""),r=this.Type[s],a;void 0!==r&&((a=new r(a)).type=s,this.transforms.push(a))}},B.AspectRatio=function(t,e,i,n,s,a,r,o,h,l){var u=(e=(e=B.compressSpaces(e)).replace(/^defer\s/,"")).split(" ")[0]||"xMidYMid",c=e.split(" ")[1]||"meet",p=i/n,f=s/a,d=Math.min(p,f),e=Math.max(p,f);"meet"==c&&(n*=d,a*=d),"slice"==c&&(n*=e,a*=e),h=new B.Property("refX",h),l=new B.Property("refY",l),h.hasValue()&&l.hasValue()?t.translate(-d*h.toPixels("x"),-d*l.toPixels("y")):(u.match(/^xMid/)&&("meet"==c&&d==f||"slice"==c&&e==f)&&t.translate(i/2-n/2,0),u.match(/YMid$/)&&("meet"==c&&d==p||"slice"==c&&e==p)&&t.translate(0,s/2-a/2),u.match(/^xMax/)&&("meet"==c&&d==f||"slice"==c&&e==f)&&t.translate(i-n,0),u.match(/YMax$/)&&("meet"==c&&d==p||"slice"==c&&e==p)&&t.translate(0,s-a)),"none"==u?t.scale(p,f):"meet"==c?t.scale(d,d):"slice"==c&&t.scale(e,e),t.translate(null==r?0:-r,null==o?0:-o)},B.Element={},B.EmptyProperty=new B.Property("EMPTY",""),B.Element.ElementBase=function(a){this.attributes={},this.styles={},this.stylesSpecificity={},this.children=[],this.attribute=function(t,e){var i=this.attributes[t];if(null!=i)return i;return 1==e&&(i=new B.Property(t,""),this.attributes[t]=i),i||B.EmptyProperty},this.getHrefAttribute=function(){for(var t in this.attributes)if("href"==t||t.match(/:href$/))return this.attributes[t];return B.EmptyProperty},this.style=function(t,e,i){var n=this.styles[t];if(null!=n)return n;var s=this.attribute(t);if(null!=s&&s.hasValue())return this.styles[t]=s;if(1!=i){var i=this.parent;if(null!=i){var i=i.style(t);if(null!=i&&i.hasValue())return i}}return 1==e&&(n=new B.Property(t,""),this.styles[t]=n),n||B.EmptyProperty},this.render=function(t){if("none"==this.style("display").value)return;if("hidden"==this.style("visibility").value)return;var e,e;t.save(),this.style("mask").hasValue()?null!=(e=this.style("mask").getDefinition())&&e.apply(t,this):this.style("filter").hasValue()?null!=(e=this.style("filter").getDefinition())&&e.apply(t,this):(this.setContext(t),this.renderChildren(t),this.clearContext(t)),t.restore()},this.setContext=function(){},this.clearContext=function(){},this.renderChildren=function(t){for(var e=0;e<this.children.length;e++)this.children[e].render(t)},this.addChild=function(t,e){var i=t;e&&(i=B.CreateElement(t)),i.parent=this,"title"!=i.type&&this.children.push(i)},this.addStylesFromStyleDefinition=function(){for(var t in B.Styles)if("@"!=t[0]&&m(a,t)){var e=B.Styles[t],i=B.StylesSpecificity[t];if(null!=e)for(var n in e){var s=this.stylesSpecificity[n];void 0===s&&(s="000"),s<=i&&(this.styles[n]=e[n],this.stylesSpecificity[n]=i)}}};var e=new RegExp("^[A-Z-]+$"),t=function(t){if(e.test(t))return t.toLowerCase();return t};if(null!=a&&1==a.nodeType){for(var i=0;i<a.attributes.length;i++){var n=a.attributes[i],s=t(n.nodeName);this.attributes[s]=new B.Property(s,n.value)}if(this.addStylesFromStyleDefinition(),this.attribute("style").hasValue())for(var r=this.attribute("style").value.split(";"),i=0,o,h,o;i<r.length;i++){""!=B.trim(r[i])&&(o=r[i].split(":"),h=B.trim(o[0]),o=B.trim(o[1]),this.styles[h]=new B.Property(h,o))}this.attribute("id").hasValue()&&null==B.Definitions[this.attribute("id").value]&&(B.Definitions[this.attribute("id").value]=this);for(var i=0;i<a.childNodes.length;i++){var l=a.childNodes[i],u;1==l.nodeType&&this.addChild(l,!0),!this.captureTextNodes||3!=l.nodeType&&4!=l.nodeType||(u=l.value||l.text||l.textContent||"",""!=B.compressSpaces(u)&&this.addChild(new B.Element.tspan(l),!1))}}},B.Element.RenderedElementBase=function(t){this.base=B.Element.ElementBase,this.base(t),this.calculateOpacity=function(){var t=1,e=this;while(null!=e){var i=e.style("opacity",!1,!0);i.hasValue()&&(t*=i.numValue()),e=e.parent}return t},this.setContext=function(t,e){var i,n,n,i,s,s,a,a,a,r,o,r;e||(this.style("fill").isUrlDefinition()?null!=(i=this.style("fill").getFillStyleDefinition(this,this.style("fill-opacity")))&&(t.fillStyle=i):this.style("fill").hasValue()&&("currentColor"==(n=this.style("fill")).value&&(n.value=this.style("color").value),"inherit"!=n.value&&(t.fillStyle="none"==n.value?"rgba(0,0,0,0)":n.value)),this.style("fill-opacity").hasValue()&&(n=(n=new B.Property("fill",t.fillStyle)).addOpacity(this.style("fill-opacity")),t.fillStyle=n.value),this.style("stroke").isUrlDefinition()?null!=(i=this.style("stroke").getFillStyleDefinition(this,this.style("stroke-opacity")))&&(t.strokeStyle=i):this.style("stroke").hasValue()&&("currentColor"==(s=this.style("stroke")).value&&(s.value=this.style("color").value),"inherit"!=s.value&&(t.strokeStyle="none"==s.value?"rgba(0,0,0,0)":s.value)),this.style("stroke-opacity").hasValue()&&(s=(s=new B.Property("stroke",t.strokeStyle)).addOpacity(this.style("stroke-opacity")),t.strokeStyle=s.value),this.style("stroke-width").hasValue()&&(a=this.style("stroke-width").toPixels(),t.lineWidth=0==a?.001:a),this.style("stroke-linecap").hasValue()&&(t.lineCap=this.style("stroke-linecap").value),this.style("stroke-linejoin").hasValue()&&(t.lineJoin=this.style("stroke-linejoin").value),this.style("stroke-miterlimit").hasValue()&&(t.miterLimit=this.style("stroke-miterlimit").value),this.style("paint-order").hasValue()&&(t.paintOrder=this.style("paint-order").value),this.style("stroke-dasharray").hasValue()&&"none"!=this.style("stroke-dasharray").value&&(a=B.ToNumberArray(this.style("stroke-dasharray").value),void 0!==t.setLineDash?t.setLineDash(a):void 0!==t.webkitLineDash?t.webkitLineDash=a:void 0===t.mozDash||1==a.length&&0==a[0]||(t.mozDash=a),a=this.style("stroke-dashoffset").toPixels(),void 0!==t.lineDashOffset?t.lineDashOffset=a:void 0!==t.webkitLineDashOffset?t.webkitLineDashOffset=a:void 0!==t.mozDashOffset&&(t.mozDashOffset=a))),void 0!==t.font&&(this.style("font").hasValue()?t.font=this.style("font").value:(t.font=B.Font.CreateFont(this.style("font-style").value,this.style("font-variant").value,this.style("font-weight").value,this.style("font-size").hasValue()?this.style("font-size").toPixels()+"px":"",this.style("font-family").value).toString(),(r=this.style("font-size",!1,!1)).isPixels()&&(B.emSize=r.toPixels()))),this.style("transform",!1,!0).hasValue()&&new B.Transform(this.style("transform",!1,!0).value).apply(t),!this.style("clip-path",!1,!0).hasValue()||null!=(r=this.style("clip-path",!1,!0).getDefinition())&&r.apply(t),t.globalAlpha=this.calculateOpacity()}},B.Element.RenderedElementBase.prototype=new B.Element.ElementBase,B.Element.PathElementBase=function(t){this.base=B.Element.RenderedElementBase,this.base(t),this.path=function(t){return null!=t&&t.beginPath(),new B.BoundingBox},this.renderChildren=function(t){this.path(t),B.Mouse.checkPath(this,t),""!=t.fillStyle&&("inherit"!=this.style("fill-rule").valueOrDefault("inherit")?t.fill(this.style("fill-rule").value):t.fill()),""!=t.strokeStyle&&t.stroke();var e=this.getMarkers(),i,i;if(null!=e){if(this.style("marker-start").isUrlDefinition()&&(i=this.style("marker-start").getDefinition()).render(t,e[0][0],e[0][1]),this.style("marker-mid").isUrlDefinition())for(var i=this.style("marker-mid").getDefinition(),n=1;n<e.length-1;n++)i.render(t,e[n][0],e[n][1]);this.style("marker-end").isUrlDefinition()&&(i=this.style("marker-end").getDefinition()).render(t,e[e.length-1][0],e[e.length-1][1])}},this.getBoundingBox=function(){return this.path()},this.getMarkers=function(){return null}},B.Element.PathElementBase.prototype=new B.Element.RenderedElementBase,B.SetDefaults=function(t){t.strokeStyle="rgba(0,0,0,0)",t.lineCap="butt",t.lineJoin="miter",t.miterLimit=4},B.Element.svg=function(t){this.base=B.Element.RenderedElementBase,this.base(t),this.baseClearContext=this.clearContext,this.clearContext=function(t){this.baseClearContext(t),B.ViewPort.RemoveCurrent()},this.baseSetContext=this.setContext,this.setContext=function(t){var e;B.SetDefaults(t),t.canvas.style&&void 0!==t.font&&void 0!==l.getComputedStyle&&(t.font=l.getComputedStyle(t.canvas).getPropertyValue("font"),(e=new B.Property("fontSize",B.Font.Parse(t.font).fontSize)).hasValue()&&(B.rootEmSize=B.emSize=e.toPixels("y"))),this.baseSetContext(t),this.attribute("x").hasValue()||(this.attribute("x",!0).value=0),this.attribute("y").hasValue()||(this.attribute("y",!0).value=0),t.translate(this.attribute("x").toPixels("x"),this.attribute("y").toPixels("y"));var i=B.ViewPort.width(),n=B.ViewPort.height(),s,a,e,a,s,i,n;this.attribute("width").hasValue()||(this.attribute("width",!0).value="100%"),this.attribute("height").hasValue()||(this.attribute("height",!0).value="100%"),void 0===this.root&&(i=this.attribute("width").toPixels("x"),n=this.attribute("height").toPixels("y"),a=s=0,this.attribute("refX").hasValue()&&this.attribute("refY").hasValue()&&(s=-this.attribute("refX").toPixels("x"),a=-this.attribute("refY").toPixels("y")),"visible"!=this.attribute("overflow").valueOrDefault("hidden")&&(t.beginPath(),t.moveTo(s,a),t.lineTo(i,a),t.lineTo(i,n),t.lineTo(s,n),t.closePath(),t.clip())),B.ViewPort.SetCurrent(i,n),this.attribute("viewBox").hasValue()&&(a=(e=B.ToNumberArray(this.attribute("viewBox").value))[0],s=e[1],i=e[2],n=e[3],B.AspectRatio(t,this.attribute("preserveAspectRatio").value,B.ViewPort.width(),i,B.ViewPort.height(),n,a,s,this.attribute("refX").value,this.attribute("refY").value),B.ViewPort.RemoveCurrent(),B.ViewPort.SetCurrent(e[2],e[3]))}},B.Element.svg.prototype=new B.Element.RenderedElementBase,B.Element.rect=function(t){this.base=B.Element.PathElementBase,this.base(t),this.path=function(t){var e=this.attribute("x").toPixels("x"),i=this.attribute("y").toPixels("y"),n=this.attribute("width").toPixels("x"),s=this.attribute("height").toPixels("y"),a=this.attribute("rx").toPixels("x"),r=this.attribute("ry").toPixels("y"),o;return this.attribute("rx").hasValue()&&!this.attribute("ry").hasValue()&&(r=a),this.attribute("ry").hasValue()&&!this.attribute("rx").hasValue()&&(a=r),a=Math.min(a,n/2),r=Math.min(r,s/2),null!=t&&(o=4*((Math.sqrt(2)-1)/3),t.beginPath(),0<s&&0<n&&(t.moveTo(e+a,i),t.lineTo(e+n-a,i),t.bezierCurveTo(e+n-a+o*a,i,e+n,i+r-o*r,e+n,i+r),t.lineTo(e+n,i+s-r),t.bezierCurveTo(e+n,i+s-r+o*r,e+n-a+o*a,i+s,e+n-a,i+s),t.lineTo(e+a,i+s),t.bezierCurveTo(e+a-o*a,i+s,e,i+s-r+o*r,e,i+s-r),t.lineTo(e,i+r),t.bezierCurveTo(e,i+r-o*r,e+a-o*a,i,e+a,i),t.closePath())),new B.BoundingBox(e,i,e+n,i+s)}},B.Element.rect.prototype=new B.Element.PathElementBase,B.Element.circle=function(t){this.base=B.Element.PathElementBase,this.base(t),this.path=function(t){var e=this.attribute("cx").toPixels("x"),i=this.attribute("cy").toPixels("y"),n=this.attribute("r").toPixels();return null!=t&&0<n&&(t.beginPath(),t.arc(e,i,n,0,2*Math.PI,!1),t.closePath()),new B.BoundingBox(e-n,i-n,e+n,i+n)}},B.Element.circle.prototype=new B.Element.PathElementBase,B.Element.ellipse=function(t){this.base=B.Element.PathElementBase,this.base(t),this.path=function(t){var e=4*((Math.sqrt(2)-1)/3),i=this.attribute("rx").toPixels("x"),n=this.attribute("ry").toPixels("y"),s=this.attribute("cx").toPixels("x"),a=this.attribute("cy").toPixels("y");return null!=t&&(t.beginPath(),t.moveTo(s+i,a),t.bezierCurveTo(s+i,a+e*n,s+e*i,a+n,s,a+n),t.bezierCurveTo(s-e*i,a+n,s-i,a+e*n,s-i,a),t.bezierCurveTo(s-i,a-e*n,s-e*i,a-n,s,a-n),t.bezierCurveTo(s+e*i,a-n,s+i,a-e*n,s+i,a),t.closePath()),new B.BoundingBox(s-i,a-n,s+i,a+n)}},B.Element.ellipse.prototype=new B.Element.PathElementBase,B.Element.line=function(t){this.base=B.Element.PathElementBase,this.base(t),this.getPoints=function(){return[new B.Point(this.attribute("x1").toPixels("x"),this.attribute("y1").toPixels("y")),new B.Point(this.attribute("x2").toPixels("x"),this.attribute("y2").toPixels("y"))]},this.path=function(t){var e=this.getPoints();return null!=t&&(t.beginPath(),t.moveTo(e[0].x,e[0].y),t.lineTo(e[1].x,e[1].y)),new B.BoundingBox(e[0].x,e[0].y,e[1].x,e[1].y)},this.getMarkers=function(){var t=this.getPoints(),e=t[0].angleTo(t[1]);return[[t[0],e],[t[1],e]]}},B.Element.line.prototype=new B.Element.PathElementBase,B.Element.polyline=function(t){this.base=B.Element.PathElementBase,this.base(t),this.points=B.CreatePath(this.attribute("points").value),this.path=function(t){var e=new B.BoundingBox(this.points[0].x,this.points[0].y);null!=t&&(t.beginPath(),t.moveTo(this.points[0].x,this.points[0].y));for(var i=1;i<this.points.length;i++)e.addPoint(this.points[i].x,this.points[i].y),null!=t&&t.lineTo(this.points[i].x,this.points[i].y);return e},this.getMarkers=function(){for(var t=[],e=0;e<this.points.length-1;e++)t.push([this.points[e],this.points[e].angleTo(this.points[e+1])]);return 0<t.length&&t.push([this.points[this.points.length-1],t[t.length-1][1]]),t}},B.Element.polyline.prototype=new B.Element.PathElementBase,B.Element.polygon=function(t){this.base=B.Element.polyline,this.base(t),this.basePath=this.path,this.path=function(t){var e=this.basePath(t);return null!=t&&(t.lineTo(this.points[0].x,this.points[0].y),t.closePath()),e}},B.Element.polygon.prototype=new B.Element.polyline,B.Element.path=function(t){this.base=B.Element.PathElementBase,this.base(t);for(var e,e=(e=this.attribute("d").value).replace(/,/gm," "),i=0;i<2;i++)e=e.replace(/([MmZzLlHhVvCcSsQqTtAa])([^\s])/gm,"$1 $2");e=(e=e.replace(/([^\s])([MmZzLlHhVvCcSsQqTtAa])/gm,"$1 $2")).replace(/([0-9])([+\-])/gm,"$1 $2");for(var i=0;i<2;i++)e=e.replace(/(\.[0-9]*)(\.)/gm,"$1 $2");e=e.replace(/([Aa](\s+[0-9]+){3})\s+([01])\s*([01])/gm,"$1 $3 $4 "),e=B.compressSpaces(e),e=B.trim(e),this.PathParser=new function(t){this.tokens=t.split(" "),this.reset=function(){this.i=-1,this.command="",this.previousCommand="",this.start=new B.Point(0,0),this.control=new B.Point(0,0),this.current=new B.Point(0,0),this.points=[],this.angles=[]},this.isEnd=function(){return this.i>=this.tokens.length-1},this.isCommandOrEnd=function(){if(this.isEnd())return!0;return null!=this.tokens[this.i+1].match(/^[A-Za-z]$/)},this.isRelativeCommand=function(){switch(this.command){case"m":case"l":case"h":case"v":case"c":case"s":case"q":case"t":case"a":case"z":return!0}return!1},this.getToken=function(){return this.i++,this.tokens[this.i]},this.getScalar=function(){return parseFloat(this.getToken())},this.nextCommand=function(){this.previousCommand=this.command,this.command=this.getToken()},this.getPoint=function(){var t=new B.Point(this.getScalar(),this.getScalar());return this.makeAbsolute(t)},this.getAsControlPoint=function(){var t=this.getPoint();return this.control=t},this.getAsCurrentPoint=function(){var t=this.getPoint();return this.current=t},this.getReflectedControlPoint=function(){if("c"!=this.previousCommand.toLowerCase()&&"s"!=this.previousCommand.toLowerCase()&&"q"!=this.previousCommand.toLowerCase()&&"t"!=this.previousCommand.toLowerCase())return this.current;var t;return new B.Point(2*this.current.x-this.control.x,2*this.current.y-this.control.y)},this.makeAbsolute=function(t){return this.isRelativeCommand()&&(t.x+=this.current.x,t.y+=this.current.y),t},this.addMarker=function(t,e,i){null!=i&&0<this.angles.length&&null==this.angles[this.angles.length-1]&&(this.angles[this.angles.length-1]=this.points[this.points.length-1].angleTo(i)),this.addMarkerAngle(t,null==e?null:e.angleTo(t))},this.addMarkerAngle=function(t,e){this.points.push(t),this.angles.push(e)},this.getMarkerPoints=function(){return this.points},this.getMarkerAngles=function(){for(var t=0;t<this.angles.length;t++)if(null==this.angles[t])for(var e=t+1;e<this.angles.length;e++)if(null!=this.angles[e]){this.angles[t]=this.angles[e];break}return this.angles}}(e),this.path=function(t){var e=this.PathParser;e.reset();var i=new B.BoundingBox;null!=t&&t.beginPath();while(!e.isEnd())switch(e.nextCommand(),e.command){case"M":case"m":var n=e.getAsCurrentPoint();e.addMarker(n),i.addPoint(n.x,n.y),null!=t&&t.moveTo(n.x,n.y),e.start=e.current;while(!e.isCommandOrEnd()){var n=e.getAsCurrentPoint();e.addMarker(n,e.start),i.addPoint(n.x,n.y),null!=t&&t.lineTo(n.x,n.y)}break;case"L":case"l":while(!e.isCommandOrEnd()){var s=e.current,n=e.getAsCurrentPoint();e.addMarker(n,s),i.addPoint(n.x,n.y),null!=t&&t.lineTo(n.x,n.y)}break;case"H":case"h":while(!e.isCommandOrEnd()){var a=new B.Point((e.isRelativeCommand()?e.current.x:0)+e.getScalar(),e.current.y);e.addMarker(a,e.current),e.current=a,i.addPoint(e.current.x,e.current.y),null!=t&&t.lineTo(e.current.x,e.current.y)}break;case"V":case"v":while(!e.isCommandOrEnd()){var a=new B.Point(e.current.x,(e.isRelativeCommand()?e.current.y:0)+e.getScalar());e.addMarker(a,e.current),e.current=a,i.addPoint(e.current.x,e.current.y),null!=t&&t.lineTo(e.current.x,e.current.y)}break;case"C":case"c":while(!e.isCommandOrEnd()){var r=e.current,o=e.getPoint(),h=e.getAsControlPoint(),l=e.getAsCurrentPoint();e.addMarker(l,h,o),i.addBezierCurve(r.x,r.y,o.x,o.y,h.x,h.y,l.x,l.y),null!=t&&t.bezierCurveTo(o.x,o.y,h.x,h.y,l.x,l.y)}break;case"S":case"s":while(!e.isCommandOrEnd()){var r=e.current,o=e.getReflectedControlPoint(),h=e.getAsControlPoint(),l=e.getAsCurrentPoint();e.addMarker(l,h,o),i.addBezierCurve(r.x,r.y,o.x,o.y,h.x,h.y,l.x,l.y),null!=t&&t.bezierCurveTo(o.x,o.y,h.x,h.y,l.x,l.y)}break;case"Q":case"q":while(!e.isCommandOrEnd()){var r=e.current,h=e.getAsControlPoint(),l=e.getAsCurrentPoint();e.addMarker(l,h,h),i.addQuadraticCurve(r.x,r.y,h.x,h.y,l.x,l.y),null!=t&&t.quadraticCurveTo(h.x,h.y,l.x,l.y)}break;case"T":case"t":while(!e.isCommandOrEnd()){var r=e.current,h=e.getReflectedControlPoint();e.control=h;var l=e.getAsCurrentPoint();e.addMarker(l,h,h),i.addQuadraticCurve(r.x,r.y,h.x,h.y,l.x,l.y),null!=t&&t.quadraticCurveTo(h.x,h.y,l.x,l.y)}break;case"A":case"a":while(!e.isCommandOrEnd()){var r=e.current,u=e.getScalar(),c=e.getScalar(),p=e.getScalar()*(Math.PI/180),f=e.getScalar(),d=e.getScalar(),l=e.getAsCurrentPoint(),m=new B.Point(Math.cos(p)*(r.x-l.x)/2+Math.sin(p)*(r.y-l.y)/2,-Math.sin(p)*(r.x-l.x)/2+Math.cos(p)*(r.y-l.y)/2),y=Math.pow(m.x,2)/Math.pow(u,2)+Math.pow(m.y,2)/Math.pow(c,2);1<y&&(u*=Math.sqrt(y),c*=Math.sqrt(y));var v=(f==d?-1:1)*Math.sqrt((Math.pow(u,2)*Math.pow(c,2)-Math.pow(u,2)*Math.pow(m.y,2)-Math.pow(c,2)*Math.pow(m.x,2))/(Math.pow(u,2)*Math.pow(m.y,2)+Math.pow(c,2)*Math.pow(m.x,2)));isNaN(v)&&(v=0);var g=new B.Point(v*u*m.y/c,v*-c*m.x/u),x=new B.Point((r.x+l.x)/2+Math.cos(p)*g.x-Math.sin(p)*g.y,(r.y+l.y)/2+Math.sin(p)*g.x+Math.cos(p)*g.y),b=function(t){return Math.sqrt(Math.pow(t[0],2)+Math.pow(t[1],2))},P=function(t,e){return(t[0]*e[0]+t[1]*e[1])/(b(t)*b(e))},y=function(t,e){return(t[0]*e[1]<t[1]*e[0]?-1:1)*Math.acos(P(t,e))},f=y([1,0],[(m.x-g.x)/u,(m.y-g.y)/c]),v=[(m.x-g.x)/u,(m.y-g.y)/c],m=[(-m.x-g.x)/u,(-m.y-g.y)/c],g=y(v,m);P(v,m)<=-1&&(g=Math.PI),1<=P(v,m)&&(g=0);var y=1-d?1:-1,v=f+y*(g/2),m=new B.Point(x.x+u*Math.cos(v),x.y+c*Math.sin(v)),P,y,u;e.addMarkerAngle(m,v-y*Math.PI/2),e.addMarkerAngle(l,v-y*Math.PI),i.addPoint(l.x,l.y),null==t||isNaN(f)||isNaN(g)||(P=c<u?u:c,y=c<u?1:u/c,u=c<u?c/u:1,t.translate(x.x,x.y),t.rotate(p),t.scale(y,u),t.arc(0,0,P,f,f+g,1-d),t.scale(1/y,1/u),t.rotate(-p),t.translate(-x.x,-x.y))}break;case"Z":case"z":null!=t&&i.x1!==i.x2&&i.y1!==i.y2&&t.closePath(),e.current=e.start}return i},this.getMarkers=function(){for(var t=this.PathParser.getMarkerPoints(),e=this.PathParser.getMarkerAngles(),i=[],n=0;n<t.length;n++)i.push([t[n],e[n]]);return i}},B.Element.path.prototype=new B.Element.PathElementBase,B.Element.pattern=function(t){this.base=B.Element.ElementBase,this.base(t),this.createPattern=function(t,e,i){var n=this.attribute("width").toPixels("x",!0),s=this.attribute("height").toPixels("y",!0),a=new B.Element.svg;a.attributes["viewBox"]=new B.Property("viewBox",this.attribute("viewBox").value),a.attributes["width"]=new B.Property("width",n+"px"),a.attributes["height"]=new B.Property("height",s+"px"),a.attributes["transform"]=new B.Property("transform",this.attribute("patternTransform").value),a.children=this.children;var r=d(n,s),o=r.getContext("2d");this.attribute("x").hasValue()&&this.attribute("y").hasValue()&&o.translate(this.attribute("x").toPixels("x",!0),this.attribute("y").toPixels("y",!0)),i.hasValue()?this.styles["fill-opacity"]=i:delete this.styles["fill-opacity"];for(var h=-1,l;h<=1;h++)for(var u=-1;u<=1;u++)o.save(),a.attributes["x"]=new B.Property("x",h*r.width),a.attributes["y"]=new B.Property("y",u*r.height),a.render(o),o.restore();return t.createPattern(r,"repeat")}},B.Element.pattern.prototype=new B.Element.ElementBase,B.Element.marker=function(t){this.base=B.Element.ElementBase,this.base(t),this.baseRender=this.render,this.render=function(t,e,i){if(!e)return;t.translate(e.x,e.y),"auto"==this.attribute("orient").valueOrDefault("auto")&&t.rotate(i),"strokeWidth"==this.attribute("markerUnits").valueOrDefault("strokeWidth")&&t.scale(t.lineWidth,t.lineWidth),t.save();var n=new B.Element.svg;n.attributes["viewBox"]=new B.Property("viewBox",this.attribute("viewBox").value),n.attributes["refX"]=new B.Property("refX",this.attribute("refX").value),n.attributes["refY"]=new B.Property("refY",this.attribute("refY").value),n.attributes["width"]=new B.Property("width",this.attribute("markerWidth").value),n.attributes["height"]=new B.Property("height",this.attribute("markerHeight").value),n.attributes["fill"]=new B.Property("fill",this.attribute("fill").valueOrDefault("black")),n.attributes["stroke"]=new B.Property("stroke",this.attribute("stroke").valueOrDefault("none")),n.children=this.children,n.render(t),t.restore(),"strokeWidth"==this.attribute("markerUnits").valueOrDefault("strokeWidth")&&t.scale(1/t.lineWidth,1/t.lineWidth),"auto"==this.attribute("orient").valueOrDefault("auto")&&t.rotate(-i),t.translate(-e.x,-e.y)}},B.Element.marker.prototype=new B.Element.ElementBase,B.Element.defs=function(t){this.base=B.Element.ElementBase,this.base(t),this.render=function(){}},B.Element.defs.prototype=new B.Element.ElementBase,B.Element.GradientBase=function(t){this.base=B.Element.ElementBase,this.base(t),this.stops=[];for(var e=0;e<this.children.length;e++){var i=this.children[e];"stop"==i.type&&this.stops.push(i)}this.getGradient=function(){},this.gradientUnits=function(){return this.attribute("gradientUnits").valueOrDefault("objectBoundingBox")},this.attributesToInherit=["gradientUnits"],this.inheritStopContainer=function(t){for(var e=0;e<this.attributesToInherit.length;e++){var i=this.attributesToInherit[e];!this.attribute(i).hasValue()&&t.attribute(i).hasValue()&&(this.attribute(i,!0).value=t.attribute(i).value)}},this.createGradient=function(t,e,i){var n=this;this.getHrefAttribute().hasValue()&&(n=this.getHrefAttribute().getDefinition(),this.inheritStopContainer(n));var s=function(t){var e;if(i.hasValue())return new B.Property("color",t).addOpacity(i).value;return t},a=this.getGradient(t,e);if(null==a)return s(n.stops[n.stops.length-1].color);for(var r=0;r<n.stops.length;r++)a.addColorStop(n.stops[r].offset,s(n.stops[r].color));if(this.attribute("gradientTransform").hasValue()){var o=B.ViewPort.viewPorts[0],t=new B.Element.rect;t.attributes["x"]=new B.Property("x",-B.MAX_VIRTUAL_PIXELS/3),t.attributes["y"]=new B.Property("y",-B.MAX_VIRTUAL_PIXELS/3),t.attributes["width"]=new B.Property("width",B.MAX_VIRTUAL_PIXELS),t.attributes["height"]=new B.Property("height",B.MAX_VIRTUAL_PIXELS);var e=new B.Element.g;e.attributes["transform"]=new B.Property("transform",this.attribute("gradientTransform").value),e.children=[t];var t=new B.Element.svg;t.attributes["x"]=new B.Property("x",0),t.attributes["y"]=new B.Property("y",0),t.attributes["width"]=new B.Property("width",o.width),t.attributes["height"]=new B.Property("height",o.height),t.children=[e];var e=d(o.width,o.height),o=e.getContext("2d");return o.fillStyle=a,t.render(o),o.createPattern(e,"no-repeat")}return a}},B.Element.GradientBase.prototype=new B.Element.ElementBase,B.Element.linearGradient=function(t){this.base=B.Element.GradientBase,this.base(t),this.attributesToInherit.push("x1"),this.attributesToInherit.push("y1"),this.attributesToInherit.push("x2"),this.attributesToInherit.push("y2"),this.getGradient=function(t,e){var i="objectBoundingBox"==this.gradientUnits()?e.getBoundingBox(t):null;this.attribute("x1").hasValue()||this.attribute("y1").hasValue()||this.attribute("x2").hasValue()||this.attribute("y2").hasValue()||(this.attribute("x1",!0).value=0,this.attribute("y1",!0).value=0,this.attribute("x2",!0).value=1,this.attribute("y2",!0).value=0);var n="objectBoundingBox"==this.gradientUnits()?i.x()+i.width()*this.attribute("x1").numValue():this.attribute("x1").toPixels("x"),s="objectBoundingBox"==this.gradientUnits()?i.y()+i.height()*this.attribute("y1").numValue():this.attribute("y1").toPixels("y"),e="objectBoundingBox"==this.gradientUnits()?i.x()+i.width()*this.attribute("x2").numValue():this.attribute("x2").toPixels("x"),i="objectBoundingBox"==this.gradientUnits()?i.y()+i.height()*this.attribute("y2").numValue():this.attribute("y2").toPixels("y");if(n==e&&s==i)return null;return t.createLinearGradient(n,s,e,i)}},B.Element.linearGradient.prototype=new B.Element.GradientBase,B.Element.radialGradient=function(t){this.base=B.Element.GradientBase,this.base(t),this.attributesToInherit.push("cx"),this.attributesToInherit.push("cy"),this.attributesToInherit.push("r"),this.attributesToInherit.push("fx"),this.attributesToInherit.push("fy"),this.attributesToInherit.push("fr"),this.getGradient=function(t,e){var i=e.getBoundingBox(t);this.attribute("cx").hasValue()||(this.attribute("cx",!0).value="50%"),this.attribute("cy").hasValue()||(this.attribute("cy",!0).value="50%"),this.attribute("r").hasValue()||(this.attribute("r",!0).value="50%");var n="objectBoundingBox"==this.gradientUnits()?i.x()+i.width()*this.attribute("cx").numValue():this.attribute("cx").toPixels("x"),s="objectBoundingBox"==this.gradientUnits()?i.y()+i.height()*this.attribute("cy").numValue():this.attribute("cy").toPixels("y"),a=n,r=s;this.attribute("fx").hasValue()&&(a="objectBoundingBox"==this.gradientUnits()?i.x()+i.width()*this.attribute("fx").numValue():this.attribute("fx").toPixels("x")),this.attribute("fy").hasValue()&&(r="objectBoundingBox"==this.gradientUnits()?i.y()+i.height()*this.attribute("fy").numValue():this.attribute("fy").toPixels("y"));var e="objectBoundingBox"==this.gradientUnits()?(i.width()+i.height())/2*this.attribute("r").numValue():this.attribute("r").toPixels(),i=this.attribute("fr").toPixels();return t.createRadialGradient(a,r,i,n,s,e)}},B.Element.radialGradient.prototype=new B.Element.GradientBase,B.Element.stop=function(t){this.base=B.Element.ElementBase,this.base(t),this.offset=this.attribute("offset").numValue(),this.offset<0&&(this.offset=0),1<this.offset&&(this.offset=1);var t=this.style("stop-color",!0);""===t.value&&(t.value="#000"),this.style("stop-opacity").hasValue()&&(t=t.addOpacity(this.style("stop-opacity"))),this.color=t.value},B.Element.stop.prototype=new B.Element.ElementBase,B.Element.AnimateBase=function(t){this.base=B.Element.ElementBase,this.base(t),B.Animations.push(this),this.duration=0,this.begin=this.attribute("begin").toMilliseconds(),this.maxDuration=this.begin+this.attribute("dur").toMilliseconds(),this.getProperty=function(){var t=this.attribute("attributeType").value,e=this.attribute("attributeName").value;if("CSS"==t)return this.parent.style(e,!0);return this.parent.attribute(e,!0)},this.initialValue=null,this.initialUnits="",this.removed=!1,this.calcValue=function(){return""},this.update=function(t){if(null==this.initialValue&&(this.initialValue=this.getProperty().value,this.initialUnits=this.getProperty().getUnits()),this.duration>this.maxDuration){if("indefinite"==this.attribute("repeatCount").value||"indefinite"==this.attribute("repeatDur").value)this.duration=0;else if("freeze"!=this.attribute("fill").valueOrDefault("remove")||this.frozen){if("remove"==this.attribute("fill").valueOrDefault("remove")&&!this.removed)return this.removed=!0,this.getProperty().value=this.parent.animationFrozen?this.parent.animationFrozenValue:this.initialValue,!0}else this.frozen=!0,this.parent.animationFrozen=!0,this.parent.animationFrozenValue=this.getProperty().value;return!1}this.duration=this.duration+t;var e=!1,t,i,t;return this.begin<this.duration&&(t=this.calcValue(),this.attribute("type").hasValue()&&(t=this.attribute("type").value+"("+t+")"),this.getProperty().value=t,e=!0),e},this.from=this.attribute("from"),this.to=this.attribute("to"),this.values=this.attribute("values"),this.values.hasValue()&&(this.values.value=this.values.value.split(";")),this.progress=function(){var t={progress:(this.duration-this.begin)/(this.maxDuration-this.begin)},e,i,n;return this.values.hasValue()?(e=t.progress*(this.values.value.length-1),i=Math.floor(e),n=Math.ceil(e),t.from=new B.Property("from",parseFloat(this.values.value[i])),t.to=new B.Property("to",parseFloat(this.values.value[n])),t.progress=(e-i)/(n-i)):(t.from=this.from,t.to=this.to),t}},B.Element.AnimateBase.prototype=new B.Element.ElementBase,B.Element.animate=function(t){this.base=B.Element.AnimateBase,this.base(t),this.calcValue=function(){var t=this.progress(),t=t.from.numValue()+(t.to.numValue()-t.from.numValue())*t.progress;return"%"===this.initialUnits&&(t*=100),t+this.initialUnits}},B.Element.animate.prototype=new B.Element.AnimateBase,B.Element.animateColor=function(t){this.base=B.Element.AnimateBase,this.base(t),this.calcValue=function(){var t=this.progress(),e=new x(t.from.value),i=new x(t.to.value);if(e.ok&&i.ok){var n=e.r+(i.r-e.r)*t.progress,s=e.g+(i.g-e.g)*t.progress,t=e.b+(i.b-e.b)*t.progress;return"rgb("+parseInt(n,10)+","+parseInt(s,10)+","+parseInt(t,10)+")"}return this.attribute("from").value}},B.Element.animateColor.prototype=new B.Element.AnimateBase,B.Element.animateTransform=function(t){this.base=B.Element.AnimateBase,this.base(t),this.calcValue=function(){for(var t=this.progress(),e=B.ToNumberArray(t.from.value),i=B.ToNumberArray(t.to.value),n="",s=0;s<e.length;s++)n+=e[s]+(i[s]-e[s])*t.progress+" ";return n}},B.Element.animateTransform.prototype=new B.Element.animate,B.Element.font=function(t){this.base=B.Element.ElementBase,this.base(t),this.horizAdvX=this.attribute("horiz-adv-x").numValue(),this.isRTL=!1,this.isArabic=!1,this.fontFace=null,this.missingGlyph=null,this.glyphs=[];for(var e=0;e<this.children.length;e++){var i=this.children[e];"font-face"==i.type?(this.fontFace=i).style("font-family").hasValue()&&(B.Definitions[i.style("font-family").value]=this):"missing-glyph"==i.type?this.missingGlyph=i:"glyph"==i.type&&(""!=i.arabicForm?(this.isRTL=!0,this.isArabic=!0,void 0===this.glyphs[i.unicode]&&(this.glyphs[i.unicode]=[]),this.glyphs[i.unicode][i.arabicForm]=i):this.glyphs[i.unicode]=i)}this.render=function(){}},B.Element.font.prototype=new B.Element.ElementBase,B.Element.fontface=function(t){this.base=B.Element.ElementBase,this.base(t),this.ascent=this.attribute("ascent").value,this.descent=this.attribute("descent").value,this.unitsPerEm=this.attribute("units-per-em").numValue()},B.Element.fontface.prototype=new B.Element.ElementBase,B.Element.missingglyph=function(t){this.base=B.Element.path,this.base(t),this.horizAdvX=0},B.Element.missingglyph.prototype=new B.Element.path,B.Element.glyph=function(t){this.base=B.Element.path,this.base(t),this.horizAdvX=this.attribute("horiz-adv-x").numValue(),this.unicode=this.attribute("unicode").value,this.arabicForm=this.attribute("arabic-form").value},B.Element.glyph.prototype=new B.Element.path,B.Element.text=function(t){this.captureTextNodes=!0,this.base=B.Element.RenderedElementBase,this.base(t),this.baseSetContext=this.setContext,this.setContext=function(t){this.baseSetContext(t);var e=this.style("dominant-baseline").toTextBaseline();null==e&&(e=this.style("alignment-baseline").toTextBaseline()),null!=e&&(t.textBaseline=e)},this.initializeCoordinates=function(t){this.x=this.attribute("x").toPixels("x"),this.y=this.attribute("y").toPixels("y"),this.attribute("dx").hasValue()&&(this.x+=this.attribute("dx").toPixels("x")),this.attribute("dy").hasValue()&&(this.y+=this.attribute("dy").toPixels("y")),this.x+=this.getAnchorDelta(t,this,0)},this.getBoundingBox=function(t){this.initializeCoordinates(t);for(var e=null,i=0;i<this.children.length;i++){var n=this.getChildBoundingBox(t,this,this,i);null==e?e=n:e.addBoundingBox(n)}return e},this.renderChildren=function(t){this.initializeCoordinates(t);for(var e=0;e<this.children.length;e++)this.renderChild(t,this,this,e);B.Mouse.checkBoundingBox(this,this.getBoundingBox(t))},this.getAnchorDelta=function(t,e,i){var n=this.style("text-anchor").valueOrDefault("start");if("start"!=n){for(var s=0,a=i;a<e.children.length;a++){var r=e.children[a];if(i<a&&r.attribute("x").hasValue())break;s+=r.measureTextRecursive(t)}return-1*("end"==n?s:s/2)}return 0},this.adjustChildCoordinates=function(t,e,i,n){var s=i.children[n],i,n;if("function"!=typeof s.measureText)return s;return s.attribute("x").hasValue()?(s.x=s.attribute("x").toPixels("x")+e.getAnchorDelta(t,i,n),"start"!==(i=s.attribute("text-anchor").valueOrDefault("start"))&&(n=s.measureTextRecursive(t),s.x+=-1*("end"==i?n:n/2)),s.attribute("dx").hasValue()&&(s.x+=s.attribute("dx").toPixels("x"))):(s.attribute("dx").hasValue()&&(e.x+=s.attribute("dx").toPixels("x")),s.x=e.x),e.x=s.x+s.measureText(t),s.attribute("y").hasValue()?(s.y=s.attribute("y").toPixels("y"),s.attribute("dy").hasValue()&&(s.y+=s.attribute("dy").toPixels("y"))):(s.attribute("dy").hasValue()&&(e.y+=s.attribute("dy").toPixels("y")),s.y=e.y),e.y=s.y,s},this.getChildBoundingBox=function(t,e,i,n){for(var s=this.adjustChildCoordinates(t,e,i,n),a=s.getBoundingBox(t),n=0;n<s.children.length;n++){var r=e.getChildBoundingBox(t,e,s,n);a.addBoundingBox(r)}return a},this.renderChild=function(t,e,i,n){var s=this.adjustChildCoordinates(t,e,i,n);s.render(t);for(var n=0;n<s.children.length;n++)e.renderChild(t,e,s,n)}},B.Element.text.prototype=new B.Element.RenderedElementBase,B.Element.TextElementBase=function(t){this.base=B.Element.RenderedElementBase,this.base(t),this.getGlyph=function(t,e,i){var n=e[i],s=null,a;return t.isArabic?(a="isolated",(0==i||" "==e[i-1])&&i<e.length-2&&" "!=e[i+1]&&(a="terminal"),0<i&&" "!=e[i-1]&&i<e.length-2&&" "!=e[i+1]&&(a="medial"),0<i&&" "!=e[i-1]&&(i==e.length-1||" "==e[i+1])&&(a="initial"),void 0!==t.glyphs[n]&&null==(s=t.glyphs[n][a])&&"glyph"==t.glyphs[n].type&&(s=t.glyphs[n])):s=t.glyphs[n],null==s&&(s=t.missingGlyph),s},this.renderChildren=function(t){var e=this.parent.style("font-family").getDefinition();if(null!=e){var i=this.parent.style("font-size").numValueOrDefault(B.Font.Parse(B.ctx.font).fontSize),n=this.parent.style("font-style").valueOrDefault(B.Font.Parse(B.ctx.font).fontStyle),s=this.getText();e.isRTL&&(s=s.split("").reverse().join(""));for(var a=B.ToNumberArray(this.parent.attribute("dx").value),r=0;r<s.length;r++){var o=this.getGlyph(e,s,r),h=i/e.fontFace.unitsPerEm;t.translate(this.x,this.y),t.scale(h,-h);var l=t.lineWidth;t.lineWidth=t.lineWidth*e.fontFace.unitsPerEm/i,"italic"==n&&t.transform(1,0,.4,1,0,0),o.render(t),"italic"==n&&t.transform(1,0,-.4,1,0,0),t.lineWidth=l,t.scale(1/h,-1/h),t.translate(-this.x,-this.y),this.x+=i*(o.horizAdvX||e.horizAdvX)/e.fontFace.unitsPerEm,void 0===a[r]||isNaN(a[r])||(this.x+=a[r])}return}"stroke"==t.paintOrder?(""!=t.strokeStyle&&t.strokeText(B.compressSpaces(this.getText()),this.x,this.y),""!=t.fillStyle&&t.fillText(B.compressSpaces(this.getText()),this.x,this.y)):(""!=t.fillStyle&&t.fillText(B.compressSpaces(this.getText()),this.x,this.y),""!=t.strokeStyle&&t.strokeText(B.compressSpaces(this.getText()),this.x,this.y))},this.getText=function(){},this.measureTextRecursive=function(t){for(var e=this.measureText(t),i=0;i<this.children.length;i++)e+=this.children[i].measureTextRecursive(t);return e},this.measureText=function(t){var e=this.parent.style("font-family").getDefinition();if(null!=e){var i=this.parent.style("font-size").numValueOrDefault(B.Font.Parse(B.ctx.font).fontSize),n=0,s=this.getText();e.isRTL&&(s=s.split("").reverse().join(""));for(var a=B.ToNumberArray(this.parent.attribute("dx").value),r=0,o;r<s.length;r++){n+=(this.getGlyph(e,s,r).horizAdvX||e.horizAdvX)*i/e.fontFace.unitsPerEm,void 0===a[r]||isNaN(a[r])||(n+=a[r])}return n}var h=B.compressSpaces(this.getText());if(!t.measureText)return 10*h.length;t.save(),this.setContext(t,!0);var h=t.measureText(h).width;return t.restore(),h},this.getBoundingBox=function(t){var e=this.parent.style("font-size").numValueOrDefault(B.Font.Parse(B.ctx.font).fontSize);return new B.BoundingBox(this.x,this.y-e,this.x+this.measureText(t),this.y)}},B.Element.TextElementBase.prototype=new B.Element.RenderedElementBase,B.Element.tspan=function(t){this.captureTextNodes=!0,this.base=B.Element.TextElementBase,this.base(t),this.text=B.compressSpaces(t.value||t.text||t.textContent||""),this.getText=function(){if(0<this.children.length)return"";return this.text}},B.Element.tspan.prototype=new B.Element.TextElementBase,B.Element.tref=function(t){this.base=B.Element.TextElementBase,this.base(t),this.getText=function(){var t=this.getHrefAttribute().getDefinition();if(null!=t)return t.children[0].getText()}},B.Element.tref.prototype=new B.Element.TextElementBase,B.Element.a=function(t){this.base=B.Element.TextElementBase,this.base(t),this.hasText=0<t.childNodes.length;for(var e=0;e<t.childNodes.length;e++)3!=t.childNodes[e].nodeType&&(this.hasText=!1);this.text=this.hasText?t.childNodes[0].value||t.childNodes[0].data:"",this.getText=function(){return this.text},this.baseRenderChildren=this.renderChildren,this.renderChildren=function(t){var e,e;this.hasText?(this.baseRenderChildren(t),e=new B.Property("fontSize",B.Font.Parse(B.ctx.font).fontSize),B.Mouse.checkBoundingBox(this,new B.BoundingBox(this.x,this.y-e.toPixels("y"),this.x+this.measureText(t),this.y))):0<this.children.length&&((e=new B.Element.g).children=this.children,e.parent=this,e.render(t))},this.onclick=function(){l.open(this.getHrefAttribute().value)},this.onmousemove=function(){B.ctx.canvas.style.cursor="pointer"}},B.Element.a.prototype=new B.Element.TextElementBase,B.Element.textPath=function(t){this.base=B.Element.TextElementBase,this.base(t);var e=this.getHrefAttribute().getDefinition();this.text=B.compressSpaces(t.value||t.text||t.textContent||""),this.renderChildren=function(t){this.setTextData(t),t.save();var e=this.parent.style("text-decoration").value,i=this.fontSize(),n=this.glyphInfo,s=t.fillStyle;"underline"===e&&t.beginPath();for(var a=0;a<n.length;a++){var r=n[a].p0,o=n[a].p1,h=n[a].text;t.save(),t.translate(r.x,r.y),t.rotate(n[a].rotation),""!=t.fillStyle&&t.fillText(B.compressSpaces(h),0,0),""!=t.strokeStyle&&t.strokeText(B.compressSpaces(h),0,0),t.restore(),"underline"===e&&(0===a&&t.moveTo(r.x,r.y+i/8),t.lineTo(o.x,o.y+i/5))}"underline"===e&&(t.lineWidth=i/20,t.strokeStyle=s,t.stroke(),t.closePath()),t.restore()},this.path=function(t){var e=this.dataArray;null!=t&&t.beginPath();for(var i=0;i<e.length;i++){var n=e[i].command,s=e[i].points;switch(n){case"L":null!=t&&t.lineTo(s[0],s[1]);break;case"M":null!=t&&t.moveTo(s[0],s[1]);break;case"C":null!=t&&t.bezierCurveTo(s[0],s[1],s[2],s[3],s[4],s[5]);break;case"Q":null!=t&&t.quadraticCurveTo(s[0],s[1],s[2],s[3]);break;case"A":var a=s[0],r=s[1],o=s[2],h=s[3],l=s[4],u=s[5],c=s[6],p=s[7],n=h<o?o:h,s=h<o?1:o/h,o=h<o?h/o:1;null!=t&&(t.translate(a,r),t.rotate(c),t.scale(s,o),t.arc(0,0,n,l,l+u,1-p),t.scale(1/s,1/o),t.rotate(-c),t.translate(-a,-r));break;case"z":null!=t&&t.closePath();break}}},this.getText=function(){return this.text},this.fontSize=function(){return this.parent.style("font-size").numValueOrDefault(B.Font.Parse(B.ctx.font).fontSize)},this.measureText=function(t,e){var i=this.parent.style("font-family").getDefinition();if(e=e||this.getText(),null!=i){var n=this.fontSize(),s=0;i.isRTL&&(e=e.split("").reverse().join(""));for(var a=B.ToNumberArray(this.parent.attribute("dx").value),r=0,o;r<e.length;r++){s+=(this.getGlyph(i,e,r).horizAdvX||i.horizAdvX)*n/i.fontFace.unitsPerEm,void 0===a[r]||isNaN(a[r])||(s+=a[r])}return s}var h=B.compressSpaces(e);if(!t.measureText)return 10*h.length;t.save(),this.setContext(t);var h=t.measureText(h).width;return t.restore(),h},this.setTextData=function(n){if(this.hasOwnProperty("glyphInfo"))return;var s=this,t=this.getText().split(""),a=this.getText().split(" ").length-1,e=B.ToNumberArray(this.parent.attribute("dx").valueOrDefault("0")),i=0,r=this.parent.style("text-anchor").valueOrDefault("start"),o=this.style("letter-spacing"),h=this.parent.style("letter-spacing");o.hasValue()&&"inherit"!==o.getValue()?o.hasValue()&&"initial"!==o.getValue()&&"unset"!==o.getValue()&&(i=o.toPixels()):i=h.toPixels(),this.letterSpacingCache=[];for(var l=0;l<this.getText().length;l++)this.letterSpacingCache.push(void 0!==e[l]?e[l]:i);var h=this.letterSpacingCache.reduce(function(t,e){return t+e||0},0);this.textWidth=this.measureText(n),this.textHeight=this.fontSize();var u=Math.max(this.textWidth+h,0);this.glyphInfo=[];var c=this.getPathLength(),h=this.style("startOffset").numValueOrDefault(0)*c,p="end"!==r&&"right"!==r?"middle"!==r&&"center"!==r?0:-u/2:-u;p+=h;for(var f=function(t){return t=t||0,s.letterSpacingCache[t]||0},d=function(t,e){var i=s.measureText(n,t);" "===t&&"justify"===r&&u<c&&(i+=(c-u)/a),-1<e&&(p+=f(e));var e=s.textHeight/20,e={p0:s.getEquidistantPointOnPath(p,e),p1:s.getEquidistantPointOnPath(p+i,e)};return p+=i,e},l=0;l<t.length;l++){var m=d(t[l],l);if(void 0===m.p0||void 0===m.p1)continue;var y=s.getLineLength(m.p0.x,m.p0.y,m.p1.x,m.p1.y),v=0,v=s.getPointOnLine(v+y/2,m.p0.x,m.p0.y,m.p1.x,m.p1.y),y=Math.atan2(m.p1.y-m.p0.y,m.p1.x-m.p0.x);this.glyphInfo.push({transposeX:v.x,transposeY:v.y,text:t[l],rotation:y,p0:m.p0,p1:m.p1})}},this.parsePathData=function(t){if(this.pathLength=void 0,!t)return[];var e=[],i=t.PathParser;i.reset();while(!i.isEnd()){var n=[],s=null,a=i.current?i.current.x:0,r=i.current?i.current.y:0;i.nextCommand();var o=i.command.toUpperCase();switch(i.command){case"M":case"m":var h=i.getAsCurrentPoint();n.push(h.x,h.y),i.start=i.current;while(!i.isCommandOrEnd()){var h=i.getAsCurrentPoint();n.push(h.x,h.y),s="L"}break;case"L":case"l":while(!i.isCommandOrEnd()){var h=i.getAsCurrentPoint();n.push(h.x,h.y)}s="L";break;case"H":case"h":while(!i.isCommandOrEnd()){var l=new B.Point((i.isRelativeCommand()?i.current.x:0)+i.getScalar(),i.current.y);n.push(l.x,l.y),i.current=l}s="L";break;case"V":case"v":while(!i.isCommandOrEnd()){var l=new B.Point(i.current.x,(i.isRelativeCommand()?i.current.y:0)+i.getScalar());n.push(l.x,l.y),i.current=l}s="L";break;case"C":case"c":while(!i.isCommandOrEnd()){var u=i.getPoint(),c=i.getAsControlPoint(),p=i.getAsCurrentPoint();n.push(u.x,u.y,c.x,c.y,p.x,p.y)}break;case"S":case"s":while(!i.isCommandOrEnd()){var u=i.getReflectedControlPoint(),c=i.getAsControlPoint(),p=i.getAsCurrentPoint();n.push(u.x,u.y,c.x,c.y,p.x,p.y)}s="C";break;case"Q":case"q":while(!i.isCommandOrEnd()){var c=i.getAsControlPoint(),p=i.getAsCurrentPoint();n.push(c.x,c.y,p.x,p.y)}break;case"T":case"t":while(!i.isCommandOrEnd()){var c=i.getReflectedControlPoint();i.control=c;var p=i.getAsCurrentPoint();n.push(c.x,c.y,p.x,p.y)}s="Q";break;case"A":case"a":while(!i.isCommandOrEnd()){var f=i.current,d=i.getScalar(),m=i.getScalar(),y=i.getScalar()*(Math.PI/180),v=i.getScalar(),g=i.getScalar(),p=i.getAsCurrentPoint(),x=new B.Point(Math.cos(y)*(f.x-p.x)/2+Math.sin(y)*(f.y-p.y)/2,-Math.sin(y)*(f.x-p.x)/2+Math.cos(y)*(f.y-p.y)/2),b=Math.pow(x.x,2)/Math.pow(d,2)+Math.pow(x.y,2)/Math.pow(m,2);1<b&&(d*=Math.sqrt(b),m*=Math.sqrt(b));var P=(v==g?-1:1)*Math.sqrt((Math.pow(d,2)*Math.pow(m,2)-Math.pow(d,2)*Math.pow(x.y,2)-Math.pow(m,2)*Math.pow(x.x,2))/(Math.pow(d,2)*Math.pow(x.y,2)+Math.pow(m,2)*Math.pow(x.x,2)));isNaN(P)&&(P=0);var E=new B.Point(P*d*x.y/m,P*-m*x.x/d),b=new B.Point((f.x+p.x)/2+Math.cos(y)*E.x-Math.sin(y)*E.y,(f.y+p.y)/2+Math.sin(y)*E.x+Math.cos(y)*E.y),w=function(t){return Math.sqrt(Math.pow(t[0],2)+Math.pow(t[1],2))},C=function(t,e){return(t[0]*e[0]+t[1]*e[1])/(w(t)*w(e))},v=function(t,e){return(t[0]*e[1]<t[1]*e[0]?-1:1)*Math.acos(C(t,e))},P=v([1,0],[(x.x-E.x)/d,(x.y-E.y)/m]),f=[(x.x-E.x)/d,(x.y-E.y)/m],E=[(-x.x-E.x)/d,(-x.y-E.y)/m],v=v(f,E);C(f,E)<=-1&&(v=Math.PI),1<=C(f,E)&&(v=0),0===g&&0<v&&(v-=2*Math.PI),1===g&&v<0&&(v+=2*Math.PI),n=[b.x,b.y,d,m,P,v,y,g]}break;case"Z":case"z":i.current=i.start}"Z"!==o?e.push({command:s||o,points:n,start:{x:a,y:r},pathLength:this.calcLength(a,r,s||o,n)}):e.push({command:"z",points:[],start:void 0,pathLength:0})}return e},this.getPathLength=function(){if(void 0===this.pathLength||null===this.pathLength||isNaN(this.pathLength))for(var t=this.pathLength=0;t<this.dataArray.length;t++)0<this.dataArray[t].pathLength&&(this.pathLength+=this.dataArray[t].pathLength);return this.pathLength},this.getPointOnPath=function(t){var e=0,i=this.getPathLength(),n=void 0;if(t<-5e-5||i<t-5e-5)return;for(var s=0;s<this.dataArray.length;s++){var a=this.dataArray[s];if(a&&(a.pathLength<5e-5||e+a.pathLength+5e-5<t)){e+=a.pathLength;continue}var r=t-e,o=void 0;switch(a.command){case"L":n=this.getPointOnLine(r,a.start.x,a.start.y,a.points[0],a.points[1],a.start.x,a.start.y);break;case"A":var h=a.points[4],l=a.points[5],u=a.points[4]+l,o=h+r/a.pathLength*l;if(l<0&&o<u||0<=l&&u<o)break;n=this.getPointOnEllipticalArc(a.points[0],a.points[1],a.points[2],a.points[3],o,a.points[6]);break;case"C":1<(o=r/a.pathLength)&&(o=1),n=this.getPointOnCubicBezier(o,a.start.x,a.start.y,a.points[0],a.points[1],a.points[2],a.points[3],a.points[4],a.points[5]);break;case"Q":1<(o=r/a.pathLength)&&(o=1),n=this.getPointOnQuadraticBezier(o,a.start.x,a.start.y,a.points[0],a.points[1],a.points[2],a.points[3]);break}if(void 0!==n&&n!=={})return n;break}},this.buildEquidistantCache=function(t,e){var i=this.getPathLength();if(e=e||.25,t=t||i/100,this.equidistantCache=this.equidistantCache||{},!this.equidistantCache.hasOwnProperty("points")||this.equidistantCache.step!=t||this.equidistantCache.precision!=e){this.equidistantCache={step:t,precision:e,points:[]};for(var n=0,s=0;s<=i;s+=e){var a=this.getPointOnPath(s),r=this.getPointOnPath(s+e);if(void 0===a||void 0===r)continue;t<=(n+=this.getLineLength(a.x,a.y,r.x,r.y))&&(this.equidistantCache.points.push({x:a.x,y:a.y,distance:s}),n-=t)}}},this.getEquidistantPointOnPath=function(t,e,i){if(this.buildEquidistantCache(e,i),t<0||5e-5<t-this.getPathLength())return;var t=Math.round(t/this.getPathLength()*(this.equidistantCache.points.length-1));return this.equidistantCache.points[t]||void 0},this.getLineLength=function(t,e,i,n){return Math.sqrt((i-t)*(i-t)+(n-e)*(n-e))},this.getPointOnLine=function(t,e,i,n,s,a,r){void 0===a&&(a=e),void 0===r&&(r=i);var o=(s-i)/(n-e+1e-8),h=Math.sqrt(t*t/(1+o*o));n<e&&(h*=-1);var l=o*h,u;if(n===e)u={x:a,y:r+l};else if((r-i)/(a-e+1e-8)==o)u={x:a+h,y:r+l};else{var c,i,c=this.getLineLength(e,i,n,s);if(c<1e-8)return;var p=(a-e)*(n-e)+(r-i)*(s-i),c=e+(p/=c*c)*(n-e),i=i+p*(s-i),r=this.getLineLength(a,r,c,i),r=Math.sqrt(t*t-r*r),h=Math.sqrt(r*r/(1+o*o));n<e&&(h*=-1),u={x:c+h,y:i+(l=o*h)}}return u},this.getPointOnCubicBezier=function(t,e,i,n,s,a,r,o,h){function l(t){return t*t*t}function u(t){return 3*t*t*(1-t)}function c(t){return 3*t*(1-t)*(1-t)}function p(t){return(1-t)*(1-t)*(1-t)}var f,d;return{x:o*l(t)+a*u(t)+n*c(t)+e*p(t),y:h*l(t)+r*u(t)+s*c(t)+i*p(t)}},this.getPointOnQuadraticBezier=function(t,e,i,n,s,a,r){function o(t){return t*t}function h(t){return 2*t*(1-t)}function l(t){return(1-t)*(1-t)}var u,c;return{x:a*o(t)+n*h(t)+e*l(t),y:r*o(t)+s*h(t)+i*l(t)}},this.getPointOnEllipticalArc=function(t,e,i,n,s,a){var r=Math.cos(a),a=Math.sin(a),i=i*Math.cos(s),s=n*Math.sin(s);return{x:t+(i*r-s*a),y:e+(i*a+s*r)}},this.calcLength=function(t,e,i,n){var s,a,r,o;switch(i){case"L":return this.getLineLength(t,e,n[0],n[1]);case"C":for(s=0,a=this.getPointOnCubicBezier(0,t,e,n[0],n[1],n[2],n[3],n[4],n[5]),o=.01;o<=1;o+=.01)r=this.getPointOnCubicBezier(o,t,e,n[0],n[1],n[2],n[3],n[4],n[5]),s+=this.getLineLength(a.x,a.y,r.x,r.y),a=r;return s;case"Q":for(s=0,a=this.getPointOnQuadraticBezier(0,t,e,n[0],n[1],n[2],n[3]),o=.01;o<=1;o+=.01)r=this.getPointOnQuadraticBezier(o,t,e,n[0],n[1],n[2],n[3]),s+=this.getLineLength(a.x,a.y,r.x,r.y),a=r;return s;case"A":s=0;var h=n[4],i=n[5],l=n[4]+i,u=Math.PI/180;if(Math.abs(h-l)<u&&(u=Math.abs(h-l)),a=this.getPointOnEllipticalArc(n[0],n[1],n[2],n[3],h,0),i<0)for(o=h-u;l<o;o-=u)r=this.getPointOnEllipticalArc(n[0],n[1],n[2],n[3],o,0),s+=this.getLineLength(a.x,a.y,r.x,r.y),a=r;else for(o=h+u;o<l;o+=u)r=this.getPointOnEllipticalArc(n[0],n[1],n[2],n[3],o,0),s+=this.getLineLength(a.x,a.y,r.x,r.y),a=r;return r=this.getPointOnEllipticalArc(n[0],n[1],n[2],n[3],l,0),s+=this.getLineLength(a.x,a.y,r.x,r.y)}return 0},this.dataArray=this.parsePathData(e)},B.Element.textPath.prototype=new B.Element.TextElementBase,B.Element.image=function(t){this.base=B.Element.RenderedElementBase,this.base(t);var e=this.getHrefAttribute().value;if(""==e)return;var a=e.match(/\.svg$/),r;B.Images.push(this),this.loaded=!1,a?(this.img=B.ajax(e),this.loaded=!0):(this.img=u.createElement("img"),1==B.opts["useCORS"]&&(this.img.crossOrigin="Anonymous"),(r=this).img.onload=function(){r.loaded=!0},this.img.onerror=function(){B.log('ERROR: image "'+e+'" not found'),r.loaded=!0},this.img.src=e),this.renderChildren=function(t){var e=this.attribute("x").toPixels("x"),i=this.attribute("y").toPixels("y"),n=this.attribute("width").toPixels("x"),s=this.attribute("height").toPixels("y");if(0==n||0==s)return;t.save(),a?t.drawSvg(this.img,e,i,n,s):(t.translate(e,i),B.AspectRatio(t,this.attribute("preserveAspectRatio").value,n,this.img.width,s,this.img.height,0,0),r.loaded&&(void 0!==this.img.complete&&!this.img.complete||t.drawImage(this.img,0,0))),t.restore()},this.getBoundingBox=function(){var t=this.attribute("x").toPixels("x"),e=this.attribute("y").toPixels("y"),i=this.attribute("width").toPixels("x"),n=this.attribute("height").toPixels("y");return new B.BoundingBox(t,e,t+i,e+n)}},B.Element.image.prototype=new B.Element.RenderedElementBase,B.Element.g=function(t){this.base=B.Element.RenderedElementBase,this.base(t),this.getBoundingBox=function(t){for(var e=new B.BoundingBox,i=0;i<this.children.length;i++)e.addBoundingBox(this.children[i].getBoundingBox(t));return e}},B.Element.g.prototype=new B.Element.RenderedElementBase,B.Element.symbol=function(t){this.base=B.Element.RenderedElementBase,this.base(t),this.render=function(){}},B.Element.symbol.prototype=new B.Element.RenderedElementBase,B.ParseExternalUrl=function(t){var t=t.match(/url\(('([^']+)'|"([^"]+)"|([^'"\)]+))\)/)||[];return t[2]||t[3]||t[4]},B.Element.style=function(t){this.base=B.Element.ElementBase,this.base(t);for(var e="",i=0;i<t.childNodes.length;i++)e+=t.childNodes[i].data;e=e.replace(/(\/\*([^*]|[\r\n]|(\*+([^*\/]|[\r\n])))*\*+\/)|(^[\s]*\/\/.*)/gm,"");for(var n=(e=B.compressSpaces(e)).split("}"),i=0;i<n.length;i++)if(""!=B.trim(n[i]))for(var s=n[i].split("{"),a=s[0].split(","),r=s[1].split(";"),o=0;o<a.length;o++){var h=B.trim(a[o]);if(""!=h){for(var l=B.Styles[h]||{},u=0;u<r.length;u++){var c=r[u].indexOf(":"),p=r[u].substr(0,c),c=r[u].substr(c+1,r[u].length-c);null!=p&&null!=c&&(l[B.trim(p)]=new B.Property(B.trim(p),B.trim(c)))}if(B.Styles[h]=l,B.StylesSpecificity[h]=P(h),"@font-face"==h&&!E)for(var f=l["font-family"].value.replace(/"/g,""),d=l["src"].value.split(","),m=0;m<d.length;m++)if(0<d[m].indexOf('format("svg")')){var y=B.ParseExternalUrl(d[m]);if(y)for(var v,g=B.parseXml(B.ajax(y)).getElementsByTagName("font"),x=0;x<g.length;x++){var b=B.CreateElement(g[x]);B.Definitions[f]=b}}}}},B.Element.style.prototype=new B.Element.ElementBase,B.Element.use=function(t){this.base=B.Element.RenderedElementBase,this.base(t),this.baseSetContext=this.setContext,this.setContext=function(t){this.baseSetContext(t),this.attribute("x").hasValue()&&t.translate(this.attribute("x").toPixels("x"),0),this.attribute("y").hasValue()&&t.translate(0,this.attribute("y").toPixels("y"))};var n=this.getHrefAttribute().getDefinition();this.path=function(t){null!=n&&n.path(t)},this.elementTransform=function(){if(null!=n&&n.style("transform",!1,!0).hasValue())return new B.Transform(n.style("transform",!1,!0).value)},this.getBoundingBox=function(t){if(null!=n)return n.getBoundingBox(t)},this.renderChildren=function(t){var e,i;null!=n&&("symbol"==(e=n).type&&((e=new B.Element.svg).type="svg",e.attributes["viewBox"]=new B.Property("viewBox",n.attribute("viewBox").value),e.attributes["preserveAspectRatio"]=new B.Property("preserveAspectRatio",n.attribute("preserveAspectRatio").value),e.attributes["overflow"]=new B.Property("overflow",n.attribute("overflow").value),e.children=n.children),"svg"==e.type&&(this.attribute("width").hasValue()&&(e.attributes["width"]=new B.Property("width",this.attribute("width").value)),this.attribute("height").hasValue()&&(e.attributes["height"]=new B.Property("height",this.attribute("height").value))),i=e.parent,e.parent=null,e.render(t),e.parent=i)}},B.Element.use.prototype=new B.Element.RenderedElementBase,B.Element.mask=function(t){this.base=B.Element.ElementBase,this.base(t),this.apply=function(t,e){var i=this.attribute("x").toPixels("x"),n=this.attribute("y").toPixels("y"),s=this.attribute("width").toPixels("x"),a=this.attribute("height").toPixels("y");if(0==s&&0==a){for(var r=new B.BoundingBox,o=0;o<this.children.length;o++)r.addBoundingBox(this.children[o].getBoundingBox(t));var i=Math.floor(r.x1),n=Math.floor(r.y1),s=Math.floor(r.width()),a=Math.floor(r.height())}var h=e.style("mask").value;e.style("mask").value="";var l=d(i+s,n+a),u=l.getContext("2d"),c;B.SetDefaults(u),this.renderChildren(u),new B.Element.feColorMatrix({nodeType:1,childNodes:[],attributes:[{nodeName:"type",value:"luminanceToAlpha"},{nodeName:"includeOpacity",value:"true"}]}).apply(u,0,0,i+s,n+a);var p=d(i+s,n+a),f=p.getContext("2d");B.SetDefaults(f),e.render(f),f.globalCompositeOperation="destination-in",f.fillStyle=u.createPattern(l,"no-repeat"),f.fillRect(0,0,i+s,n+a),t.fillStyle=f.createPattern(p,"no-repeat"),t.fillRect(0,0,i+s,n+a),e.style("mask").value=h},this.render=function(){}},B.Element.mask.prototype=new B.Element.ElementBase,B.Element.clipPath=function(t){this.base=B.Element.ElementBase,this.base(t),this.apply=function(t){var e="undefined"!=typeof CanvasRenderingContext2D,i=t.beginPath,n=t.closePath;e&&(CanvasRenderingContext2D.prototype.beginPath=function(){},CanvasRenderingContext2D.prototype.closePath=function(){}),i.call(t);for(var s=0;s<this.children.length;s++){var a=this.children[s],r;void 0!==a.path&&(!(r=void 0!==a.elementTransform&&a.elementTransform())&&a.style("transform",!1,!0).hasValue()&&(r=new B.Transform(a.style("transform",!1,!0).value)),r&&r.apply(t),a.path(t),e&&(CanvasRenderingContext2D.prototype.closePath=n),r&&r.unapply(t))}n.call(t),t.clip(),e&&(CanvasRenderingContext2D.prototype.beginPath=i,CanvasRenderingContext2D.prototype.closePath=n)},this.render=function(){}},B.Element.clipPath.prototype=new B.Element.ElementBase,B.Element.filter=function(t){this.base=B.Element.ElementBase,this.base(t),this.apply=function(t,e){var i=e.getBoundingBox(t),n=Math.floor(i.x1),s=Math.floor(i.y1),a=Math.floor(i.width()),r=Math.floor(i.height()),o=e.style("filter").value;e.style("filter").value="";for(var h=0,l=0,u=0;u<this.children.length;u++)var c=this.children[u].extraFilterDistance||0,h=Math.max(h,c),l=Math.max(l,c);var i=d(a+2*h,r+2*l),p=i.getContext("2d");B.SetDefaults(p),p.translate(-n+h,-s+l),e.render(p);for(var u=0;u<this.children.length;u++)"function"==typeof this.children[u].apply&&this.children[u].apply(p,0,0,a+2*h,r+2*l);t.drawImage(i,0,0,a+2*h,r+2*l,n-h,s-l,a+2*h,r+2*l),e.style("filter",!0).value=o},this.render=function(){}},B.Element.filter.prototype=new B.Element.ElementBase,B.Element.feDropShadow=function(t){this.base=B.Element.ElementBase,this.base(t),this.addStylesFromStyleDefinition(),this.apply=function(){}},B.Element.feDropShadow.prototype=new B.Element.ElementBase,B.Element.feMorphology=function(t){this.base=B.Element.ElementBase,this.base(t),this.apply=function(){}},B.Element.feMorphology.prototype=new B.Element.ElementBase,B.Element.feComposite=function(t){this.base=B.Element.ElementBase,this.base(t),this.apply=function(){}},B.Element.feComposite.prototype=new B.Element.ElementBase,B.Element.feColorMatrix=function(t){function f(t,e,i,n,s,a){return t[i*n*4+4*e+a]}function d(t,e,i,n,s,a,r){t[i*n*4+4*e+a]=r}function m(t,e){var t=i[t];return t*(t<0?e-255:e)}this.base=B.Element.ElementBase,this.base(t);var i=B.ToNumberArray(this.attribute("values").value);switch(this.attribute("type").valueOrDefault("matrix")){case"saturate":var e=i[0],i=[.213+.787*e,.715-.715*e,.072-.072*e,0,0,.213-.213*e,.715+.285*e,.072-.072*e,0,0,.213-.213*e,.715-.715*e,.072+.928*e,0,0,0,0,0,1,0,0,0,0,0,1];break;case"hueRotate":var n=i[0]*Math.PI/180,e=function(t,e,i){return t+Math.cos(n)*e+Math.sin(n)*i};i=[e(.213,.787,-.213),e(.715,-.715,-.715),e(.072,-.072,.928),0,0,e(.213,-.213,.143),e(.715,.285,.14),e(.072,-.072,-.283),0,0,e(.213,-.213,-.787),e(.715,-.715,.715),e(.072,.928,.072),0,0,0,0,0,1,0,0,0,0,0,1];break;case"luminanceToAlpha":i=[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,.2125,.7154,.0721,0,0,0,0,0,0,1];break}var y=this.attribute("includeOpacity").hasValue();this.apply=function(t,e,i,n,s){for(var a=t.getImageData(0,0,n,s),i=0;i<s;i++)for(var e=0;e<n;e++){var r=f(a.data,e,i,n,s,0),o=f(a.data,e,i,n,s,1),h=f(a.data,e,i,n,s,2),l=f(a.data,e,i,n,s,3),u=m(0,r)+m(1,o)+m(2,h)+m(3,l)+m(4,1),c=m(5,r)+m(6,o)+m(7,h)+m(8,l)+m(9,1),p=m(10,r)+m(11,o)+m(12,h)+m(13,l)+m(14,1),h=m(15,r)+m(16,o)+m(17,h)+m(18,l)+m(19,1);y&&(u=c=p=0,h*=l/255),d(a.data,e,i,n,s,0,u),d(a.data,e,i,n,s,1,c),d(a.data,e,i,n,s,2,p),d(a.data,e,i,n,s,3,h)}t.clearRect(0,0,n,s),t.putImageData(a,0,0)}},B.Element.feColorMatrix.prototype=new B.Element.ElementBase,B.Element.feGaussianBlur=function(t){this.base=B.Element.ElementBase,this.base(t),this.blurRadius=Math.floor(this.attribute("stdDeviation").numValue()),this.extraFilterDistance=this.blurRadius,this.apply=function(t,e,i,n,s){if(!b||void 0===b.canvasRGBA)return void B.log("ERROR: StackBlur.js must be included for blur to work");t.canvas.id=B.UniqueId(),t.canvas.style.display="none",u.body.appendChild(t.canvas),b.canvasRGBA(t.canvas,e,i,n,s,this.blurRadius),u.body.removeChild(t.canvas)}},B.Element.feGaussianBlur.prototype=new B.Element.ElementBase,B.Element.title=function(){},B.Element.title.prototype=new B.Element.ElementBase,B.Element.desc=function(){},B.Element.desc.prototype=new B.Element.ElementBase,B.Element.MISSING=function(t){B.log("ERROR: Element '"+t.nodeName+"' not yet implemented.")},B.Element.MISSING.prototype=new B.Element.ElementBase,B.CreateElement=function(t){var e,e=(e=t.nodeName.replace(/^[^:]+:/,"")).replace(/\-/g,""),i=null,i;return(i=new(void 0!==B.Element[e]?B.Element[e]:B.Element.MISSING)(t)).type=t.nodeName,i},B.load=function(t,e){B.loadXml(t,B.ajax(e))},B.loadXml=function(t,e){B.loadXmlDoc(t,B.parseXml(e))},B.loadXmlDoc=function(a,r){B.init(a);var e=function(t){var e=a.canvas;while(e)t.x-=e.offsetLeft,t.y-=e.offsetTop,e=e.offsetParent;return l.scrollX&&(t.x+=l.scrollX),l.scrollY&&(t.y+=l.scrollY),t};1!=B.opts["ignoreMouse"]&&(a.canvas.onclick=function(t){var t=e(new B.Point((null!=t?t:event).clientX,(null!=t?t:event).clientY));B.Mouse.onclick(t.x,t.y)},a.canvas.onmousemove=function(t){var t=e(new B.Point((null!=t?t:event).clientX,(null!=t?t:event).clientY));B.Mouse.onmousemove(t.x,t.y)});var o=B.CreateElement(r.documentElement);o.root=!0,o.addStylesFromStyleDefinition();var h=!0,n=function(){B.ViewPort.Clear(),a.canvas.parentNode?B.ViewPort.SetCurrent(a.canvas.parentNode.clientWidth,a.canvas.parentNode.clientHeight):B.ViewPort.SetCurrent(c,p),1!=B.opts["ignoreDimensions"]&&(h||null==B.opts["scaleWidth"]&&null==B.opts["scaleHeight"])&&(o.style("width").hasValue()&&(a.canvas.width=o.style("width").toPixels("x"),a.canvas.style&&(a.canvas.style.width=a.canvas.width+"px")),o.style("height").hasValue()&&(a.canvas.height=o.style("height").toPixels("y"),a.canvas.style&&(a.canvas.style.height=a.canvas.height+"px")));var t=a.canvas.clientWidth||a.canvas.width,e=a.canvas.clientHeight||a.canvas.height,i,n,s;1==B.opts["ignoreDimensions"]&&o.style("width").hasValue()&&o.style("height").hasValue()&&(t=o.style("width").toPixels("x"),e=o.style("height").toPixels("y")),B.ViewPort.SetCurrent(t,e),null!=B.opts["offsetX"]&&(o.attribute("x",!0).value=B.opts["offsetX"]),null!=B.opts["offsetY"]&&(o.attribute("y",!0).value=B.opts["offsetY"]),null==B.opts["scaleWidth"]&&null==B.opts["scaleHeight"]||(n=i=null,s=B.ToNumberArray(o.attribute("viewBox").value),null!=B.opts["scaleWidth"]&&(o.attribute("width").hasValue()?i=o.attribute("width").toPixels("x")/B.opts["scaleWidth"]:isNaN(s[2])||(i=s[2]/B.opts["scaleWidth"])),null!=B.opts["scaleHeight"]&&(o.attribute("height").hasValue()?n=o.attribute("height").toPixels("y")/B.opts["scaleHeight"]:isNaN(s[3])||(n=s[3]/B.opts["scaleHeight"])),null==i&&(i=n),null==n&&(n=i),o.attribute("width",!0).value=B.opts["scaleWidth"],o.attribute("height",!0).value=B.opts["scaleHeight"],o.style("transform",!0,!0).value+=" scale("+1/i+","+1/n+")"),1!=B.opts["ignoreClear"]&&a.clearRect(0,0,t,e),o.render(a),h&&(h=!1,"function"==typeof B.opts["renderCallback"]&&B.opts["renderCallback"](r))},s=!0;B.ImagesLoaded()&&(s=!1,n()),B.intervalID=setInterval(function(){var t=!1;if(s&&B.ImagesLoaded()&&(t=!(s=!1)),1!=B.opts["ignoreMouse"]&&(t=t||B.Mouse.hasEvents()),1!=B.opts["ignoreAnimation"])for(var e=0;e<B.Animations.length;e++)var i=B.Animations[e].update(1e3/B.FRAMERATE),t=t||i;"function"==typeof B.opts["forceRedraw"]&&1==B.opts["forceRedraw"]()&&(t=!0),t&&(n(),B.Mouse.runEvents())},1e3/B.FRAMERATE)},B.stop=function(){B.intervalID&&clearInterval(B.intervalID)},B.Mouse=new function(){this.events=[],this.hasEvents=function(){return 0!=this.events.length},this.onclick=function(t,e){this.events.push({type:"onclick",x:t,y:e,run:function(t){t.onclick&&t.onclick()}})},this.onmousemove=function(t,e){this.events.push({type:"onmousemove",x:t,y:e,run:function(t){t.onmousemove&&t.onmousemove()}})},this.eventElements=[],this.checkPath=function(t,e){for(var i=0;i<this.events.length;i++){var n=this.events[i];e.isPointInPath&&e.isPointInPath(n.x,n.y)&&(this.eventElements[i]=t)}},this.checkBoundingBox=function(t,e){if(!e)return;for(var i=0;i<this.events.length;i++){var n=this.events[i];e.isPointInBox(n.x,n.y)&&(this.eventElements[i]=t)}},this.runEvents=function(){B.ctx.canvas.style.cursor="";for(var t=0;t<this.events.length;t++){var e=this.events[t],i=this.eventElements[t];while(i)e.run(i),i=i.parent}this.events=[],this.eventElements=[]}},B}var e=t.exports&&"undefined"==typeof window,E=!1,l,l=window;l.DOMParser=window.DOMParser;var u=l.document,c=800,p=600,f=function(t,e,i){if(null==t&&null==e&&null==i){for(var n=u.querySelectorAll("svg"),s=0;s<n.length;s++){var a=n[s],r=u.createElement("canvas"),o;void 0!==a.clientWidth&&void 0!==a.clientHeight?(r.width=a.clientWidth,r.height=a.clientHeight):(o=a.getBoundingClientRect(),r.width=o.width,r.height=o.height),a.parentNode.insertBefore(r,a),a.parentNode.removeChild(a);var o=u.createElement("div");o.appendChild(a),f(r,o.innerHTML)}return}var i=h(i||{});"string"==typeof t&&(t=u.getElementById(t)),null!=t.svg&&t.svg.stop(),t.childNodes&&1==t.childNodes.length&&"OBJECT"==t.childNodes[0].nodeName||(t.svg=i);var t=t.getContext("2d");void 0!==e.documentElement?i.loadXmlDoc(t,e):"<"==e.substr(0,1)?i.loadXml(t,e):i.load(t,e)},m;"undefined"==typeof Element||(void 0!==Element.prototype.matches?m=function(t,e){return t.matches(e)}:void 0!==Element.prototype.webkitMatchesSelector?m=function(t,e){return t.webkitMatchesSelector(e)}:void 0!==Element.prototype.mozMatchesSelector?m=function(t,e){return t.mozMatchesSelector(e)}:void 0!==Element.prototype.msMatchesSelector?m=function(t,e){return t.msMatchesSelector(e)}:void 0!==Element.prototype.oMatchesSelector?m=function(t,e){return t.oMatchesSelector(e)}:("function"!=typeof jQuery&&"function"!=typeof Zepto||(m=function(t,e){return $(t).is(e)}),void 0===m&&"undefined"!=typeof Sizzle&&(m=Sizzle.matchesSelector)));var i=/(\[[^\]]+\])/g,a=/(#[^\s\+>~\.\[:]+)/g,r=/(\.[^\s\+>~\.\[:]+)/g,o=/(::[^\s\+>~\.\[:]+|:first-line|:first-letter|:before|:after)/gi,y=/(:[\w-]+\([^\)]*\))/gi,v=/(:[^\s\+>~\.\[:]+)/g,g=/([^\s\+>~\.\[:]+)/g;"undefined"!=typeof CanvasRenderingContext2D&&(CanvasRenderingContext2D.prototype.drawSvg=function(t,e,i,n,s,a){var r={ignoreMouse:!0,ignoreAnimation:!0,ignoreDimensions:!0,ignoreClear:!0,offsetX:e,offsetY:i,scaleWidth:n,scaleHeight:s},o;for(o in a)a.hasOwnProperty(o)&&(r[o]=a[o]);f(this.canvas,t,r)}),f._build=h,t.exports=f})});;
var Stimulsoft;!function(t){var e,r;r=e=t.ExternalLibrary||(t.ExternalLibrary={})}(Stimulsoft=Stimulsoft||{}),Stimulsoft.ExternalLibrary.JSZip=function(){var t,e,r;return function n(i,a,s){function o(r,t){if(!a[r]){if(!i[r]){var e="function"==typeof require&&require;if(!t&&e)return e(r,!0);if(h)return h(r,!0);throw new Error("Cannot find module '"+r+"'")}var e=a[r]={exports:{}};i[r][0].call(e.exports,function(t){var e=i[r][1][t];return o(e||t)},e,e.exports,n,i,a,s)}return a[r].exports}for(var h="function"==typeof require&&require,t=0;t<s.length;t++)o(s[t]);return o}({1:[function(t,e,r){"use strict";var l="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=";r.encode=function(t,e){var r="",n,i,a,s,o,h,n,d=0;while(d<t.length)s=(n=t.charCodeAt(d++))>>2,o=(3&n)<<4|(i=t.charCodeAt(d++))>>4,h=(15&i)<<2|(a=t.charCodeAt(d++))>>6,n=63&a,isNaN(i)?h=n=64:isNaN(a)&&(n=64),r=r+l.charAt(s)+l.charAt(o)+l.charAt(h)+l.charAt(n);return r},r.decode=function(t,e){var r="",n,i,a,s,a,o,h,d=0;t=t.replace(/[^A-Za-z0-9\+\/\=]/g,"");while(d<t.length)n=(s=l.indexOf(t.charAt(d++)))<<2|(a=l.indexOf(t.charAt(d++)))>>4,i=(15&a)<<4|(o=l.indexOf(t.charAt(d++)))>>2,a=(3&o)<<6|(h=l.indexOf(t.charAt(d++))),r+=String.fromCharCode(n),64!=o&&(r+=String.fromCharCode(i)),64!=h&&(r+=String.fromCharCode(a));return r}},{}],2:[function(t,e,r){"use strict";function n(){this.compressedSize=0,this.uncompressedSize=0,this.crc32=0,this.compressionMethod=null,this.compressedContent=null}n.prototype={getContent:function(){return null},getCompressedContent:function(){return null}},e.exports=n},{}],3:[function(t,e,r){"use strict";r.STORE={magic:"\0\0",compress:function(t,e){return t},uncompress:function(t){return t},compressInputType:null,uncompressInputType:null},r.DEFLATE=t("./flate")},{"./flate":8}],4:[function(t,e,r){"use strict";var d=t("./utils"),l=[0,1996959894,3993919788,2567524794,124634137,1886057615,3915621685,2657392035,249268274,2044508324,3772115230,2547177864,162941995,2125561021,3887607047,2428444049,498536548,1789927666,4089016648,2227061214,450548861,1843258603,4107580753,2211677639,325883990,1684777152,4251122042,2321926636,335633487,1661365465,4195302755,2366115317,997073096,1281953886,3579855332,2724688242,1006888145,1258607687,3524101629,2768942443,901097722,1119000684,3686517206,2898065728,853044451,1172266101,3705015759,2882616665,651767980,1373503546,3369554304,3218104598,565507253,1454621731,3485111705,3099436303,671266974,1594198024,3322730930,2970347812,795835527,1483230225,3244367275,3060149565,1994146192,31158534,2563907772,4023717930,1907459465,112637215,2680153253,3904427059,2013776290,251722036,2517215374,3775830040,2137656763,141376813,2439277719,3865271297,1802195444,476864866,2238001368,4066508878,1812370925,453092731,2181625025,4111451223,1706088902,314042704,2344532202,4240017532,1658658271,366619977,2362670323,4224994405,1303535960,984961486,2747007092,3569037538,1256170817,1037604311,2765210733,3554079995,1131014506,879679996,2909243462,3663771856,1141124467,855842277,2852801631,3708648649,1342533948,654459306,3188396048,3373015174,1466479909,544179635,3110523913,3462522015,1591671054,702138776,2966460450,3352799412,1504918807,783551873,3082640443,3233442989,3988292384,2596254646,62317068,1957810842,3939845945,2647816111,81470997,1943803523,3814918930,2489596804,225274430,2053790376,3826175755,2466906013,167816743,2097651377,4027552580,2265490386,503444072,1762050814,4150417245,2154129355,426522225,1852507879,4275313526,2312317920,282753626,1742555852,4189708143,2394877945,397917763,1622183637,3604390888,2714866558,953729732,1340076626,3518719985,2797360999,1068828381,1219638859,3624741850,2936675148,906185462,1090812512,3747672003,2825379669,829329135,1181335161,3412177804,3160834842,628085408,1382605366,3423369109,3138078467,570562233,1426400815,3317316542,2998733608,733239954,1555261956,3268935591,3050360625,752459403,1541320221,2607071920,3965973030,1969922972,40735498,2617837225,3943577151,1913087877,83908371,2512341634,3803740692,2075208622,213261112,2463272603,3855990285,2094854071,198958881,2262029012,4057260610,1759359992,534414190,2176718541,4139329115,1873836001,414664567,2282248934,4279200368,1711684554,285281116,2405801727,4167216745,1634467795,376229701,2685067896,3608007406,1308918612,956543938,2808555105,3495958263,1231636301,1047427035,2932959818,3654703836,1088359270,936918e3,2847714899,3736837829,1202900863,817233897,3183342108,3401237130,1404277552,615818150,3134207493,3453421203,1423857449,601450431,3009837614,3294710456,1567103746,711928724,3020668471,3272380065,1510334235,755167117];e.exports=function t(e,r){if(void 0===e||!e.length)return 0;var n="string"!==d.getTypeOf(e);void 0===r&&(r=0);var i=0,a=0,s=0;r^=-1;for(var o=0,h=e.length;o<h;o++)s=n?e[o]:e.charCodeAt(o),r=r>>>8^(i=l[a=255&(r^s)]);return-1^r}},{"./utils":21}],5:[function(t,e,r){"use strict";function n(t){this.data=null,this.length=0,this.index=0}var i=t("./utils");n.prototype={checkOffset:function(t){this.checkIndex(this.index+t)},checkIndex:function(t){if(this.length<t||t<0)throw new Error("End of data reached (data length = "+this.length+", asked index = "+t+"). Corrupted zip ?")},setIndex:function(t){this.checkIndex(t),this.index=t},skip:function(t){this.setIndex(this.index+t)},byteAt:function(t){},readInt:function(t){var e=0,r;for(this.checkOffset(t),r=this.index+t-1;r>=this.index;r--)e=(e<<8)+this.byteAt(r);return this.index+=t,e},readString:function(t){return i.transformTo("string",this.readData(t))},readData:function(t){},lastIndexOfSignature:function(t){},readDate:function(){var t=this.readInt(4);return new Date((t>>25&127)+1980,(t>>21&15)-1,t>>16&31,t>>11&31,t>>5&63,(31&t)<<1)}},e.exports=n},{"./utils":21}],6:[function(t,e,r){"use strict";r.base64=!1,r.binary=!1,r.dir=!1,r.createFolders=!1,r.date=null,r.compression=null,r.compressionOptions=null,r.comment=null,r.unixPermissions=null,r.dosPermissions=null},{}],7:[function(t,e,r){"use strict";var n=t("./utils");r.string2binary=function(t){return n.string2binary(t)},r.string2Uint8Array=function(t){return n.transformTo("uint8array",t)},r.uint8Array2String=function(t){return n.transformTo("string",t)},r.string2Blob=function(t){var t=n.transformTo("arraybuffer",t);return n.arrayBuffer2Blob(t)},r.arrayBuffer2Blob=function(t){return n.arrayBuffer2Blob(t)},r.transformTo=function(t,e){return n.transformTo(t,e)},r.getTypeOf=function(t){return n.getTypeOf(t)},r.checkSupport=function(t){return n.checkSupport(t)},r.MAX_VALUE_16BITS=n.MAX_VALUE_16BITS,r.MAX_VALUE_32BITS=n.MAX_VALUE_32BITS,r.pretty=function(t){return n.pretty(t)},r.findCompression=function(t){return n.findCompression(t)},r.isRegExp=function(t){return n.isRegExp(t)}},{"./utils":21}],8:[function(t,e,r){"use strict";var n="undefined"!=typeof Uint8Array&&"undefined"!=typeof Uint16Array&&"undefined"!=typeof Uint32Array,i=t("pako");r.uncompressInputType=n?"uint8array":"array",r.compressInputType=n?"uint8array":"array",r.magic="\b\0",r.compress=function(t,e){return i.deflateRaw(t,{level:e.level||-1})},r.uncompress=function(t){return i.inflateRaw(t)}},{pako:24}],9:[function(t,e,r){"use strict";function n(t,e){if(!(this instanceof n))return new n(t,e);this.files={},this.comment=null,this.root="",t&&this.load(t,e),this.clone=function(){var t=new n,e;for(e in this)"function"!=typeof this[e]&&(t[e]=this[e]);return t}}var i=t("./base64");(n.prototype=t("./object")).load=t("./load"),n.support=t("./support"),n.defaults=t("./defaults"),n.utils=t("./deprecatedPublicUtils"),n.base64={encode:function(t){return i.encode(t)},decode:function(t){return i.decode(t)}},n.compressions=t("./compressions"),e.exports=n},{"./base64":1,"./compressions":3,"./defaults":6,"./deprecatedPublicUtils":7,"./load":10,"./object":13,"./support":17}],10:[function(t,e,r){"use strict";var a=t("./base64"),s=t("./zipEntries");e.exports=function(t,e){var r,t,n,i;for((e=e||{}).base64&&(t=a.decode(t)),r=(t=new s(t,e)).files,n=0;n<r.length;n++)i=r[n],this.file(i.fileName,i.decompressed,{binary:!0,optimizedBinaryString:!0,date:i.date,dir:i.dir,comment:i.fileComment.length?i.fileComment:null,unixPermissions:i.unixPermissions,dosPermissions:i.dosPermissions,createFolders:e.createFolders});return t.zipComment.length&&(this.comment=t.zipComment),this}},{"./base64":1,"./zipEntries":22}],11:[function(t,e,r){(function(r){"use strict";e.exports=function(t,e){return r.from(t,e)},e.exports.test=function(t){return r.isBuffer(t)}}).call(this,"undefined"!=typeof Buffer?Buffer:void 0)},{}],12:[function(t,e,r){"use strict";function n(t){this.data=t,this.length=this.data.length,this.index=0}var t=t("./uint8ArrayReader");(n.prototype=new t).readData=function(t){this.checkOffset(t);var e=this.data.slice(this.index,this.index+t);return this.index+=t,e},e.exports=n},{"./uint8ArrayReader":18}],13:[function(t,e,r){"use strict";var n=t("./support"),w=t("./utils"),v=t("./crc32"),y=t("./signature"),i=t("./defaults"),f=t("./base64"),c=t("./compressions"),a=t("./compressedObject"),s=t("./nodeBuffer"),k=t("./utf8"),_=t("./stringWriter"),p=t("./uint8ArrayWriter"),o=function(t){var e;return t._data instanceof a&&(t._data=t._data.getContent(),t.options.binary=!0,t.options.base64=!1,"uint8array"===w.getTypeOf(t._data)&&(e=t._data,t._data=new Uint8Array(e.length),0!==e.length&&t._data.set(e,0))),t._data},h=function(t){var e=o(t),r;if("string"===w.getTypeOf(e)){if(!t.options.binary&&n.nodebuffer)return s(e,"utf-8");return t.asBinary()}return e},d=function(t){var e=o(this);if(null==e)return"";return this.options.base64&&(e=f.decode(e)),e=t&&this.options.binary?I.utf8decode(e):w.transformTo("string",e),t||this.options.binary||(e=w.transformTo("string",I.utf8encode(e))),e},l=function(t,e,r){this.name=t,this.dir=r.dir,this.date=r.date,this.comment=r.comment,this.unixPermissions=r.unixPermissions,this.dosPermissions=r.dosPermissions,this._data=e,this.options=r,this._initialMetadata={dir:r.dir,date:r.date}};l.prototype={asText:function(){return d.call(this,!0)},asBinary:function(){return d.call(this,!1)},asNodeBuffer:function(){var t=h(this);return w.transformTo("nodebuffer",t)},asUint8Array:function(){var t=h(this);return w.transformTo("uint8array",t)},asArrayBuffer:function(){return this.asUint8Array().buffer}};var x=function(t,e){for(var r="",n,n=0;n<e;n++)r+=String.fromCharCode(255&t),t>>>=8;return r},m=function(){for(var t={},e,r,e=0;e<arguments.length;e++)for(r in arguments[e])arguments[e].hasOwnProperty(r)&&void 0===t[r]&&(t[r]=arguments[e][r]);return t},u=function(t){return!0!==(t=t||{}).base64||null!==t.binary&&void 0!==t.binary||(t.binary=!0),(t=m(t,i)).date=t.date||new Date,null!==t.compression&&(t.compression=t.compression.toUpperCase()),t},g=function(t,e,r){var n=w.getTypeOf(e),i;if("string"==typeof(r=u(r)).unixPermissions&&(r.unixPermissions=parseInt(r.unixPermissions,8)),r.unixPermissions&&16384&r.unixPermissions&&(r.dir=!0),r.dosPermissions&&16&r.dosPermissions&&(r.dir=!0),r.dir&&(t=z(t)),r.createFolders&&(i=b(t))&&C.call(this,i,!0),r.dir||null==e)r.base64=!1,r.binary=!1,n=e=null;else if("string"===n)r.binary&&!r.base64&&!0!==r.optimizedBinaryString&&(e=w.string2binary(e));else{if(r.base64=!1,r.binary=!0,!(n||e instanceof a))throw new Error("The data of '"+t+"' is in an unsupported format !");"arraybuffer"===n&&(e=w.transformTo("uint8array",e))}var r=new l(t,e,r);return this.files[t]=r},b=function(t){"/"==t.slice(-1)&&(t=t.substring(0,t.length-1));var e=t.lastIndexOf("/");return 0<e?t.substring(0,e):""},z=function(t){return"/"!=t.slice(-1)&&(t+="/"),t},C=function(t,e){return e=void 0!==e&&e,t=z(t),this.files[t]||g.call(this,t,null,{dir:!0,createFolders:e}),this.files[t]},A=function(t,e,r){var n=new a,i;return t._data instanceof a?(n.uncompressedSize=t._data.uncompressedSize,n.crc32=t._data.crc32,0===n.uncompressedSize||t.dir?(e=c["STORE"],n.compressedContent="",n.crc32=0):t._data.compressionMethod===e.magic?n.compressedContent=t._data.getCompressedContent():(i=t._data.getContent(),n.compressedContent=e.compress(w.transformTo(e.compressInputType,i),r))):((i=h(t))&&0!==i.length&&!t.dir||(e=c["STORE"],i=""),n.uncompressedSize=i.length,n.crc32=v(i),n.compressedContent=e.compress(w.transformTo(e.compressInputType,i),r)),n.compressedSize=n.compressedContent.length,n.compressionMethod=e.magic,n},E=function(t,e){var r;return(65535&(t?t:e?16893:33204))<<16},S=function(t,e){return 63&(t||0)},B=function(t,e,r,n,i){var a=r.compressedContent,s=w.transformTo("string",k.utf8encode(e.name)),o=e.comment||"",h=w.transformTo("string",k.utf8encode(o)),d=s.length!==e.name.length,l=h.length!==o.length,u=e.options,e,f,c="",_="",p="",f,m,f=(e._initialMetadata.dir!==e.dir?e:u).dir,m=(e._initialMetadata.date!==e.date?e:u).date,o=0,u=0;f&&(o|=16),"UNIX"===i?(u=798,o|=E(e.unixPermissions,f)):(u=20,o|=S(e.dosPermissions,f)),e=m.getHours(),e<<=6,e|=m.getMinutes(),e<<=5,e|=m.getSeconds()/2,f=m.getFullYear()-1980,f<<=4,f|=m.getMonth()+1,f<<=5,f|=m.getDate(),d&&(_=x(1,1)+x(v(s),4)+s,c+="up"+x(_.length,2)+_),l&&(p=x(1,1)+x(this.crc32(h),4)+h,c+="uc"+x(p.length,2)+p);var p="",g,b;return p+="\n\0",p+=d||l?"\0\b":"\0\0",p+=r.compressionMethod,p+=x(e,2),p+=x(f,2),p+=x(r.crc32,4),p+=x(r.compressedSize,4),p+=x(r.uncompressedSize,4),p+=x(s.length,2),p+=x(c.length,2),{fileRecord:y.LOCAL_FILE_HEADER+p+s+c,dirRecord:y.CENTRAL_FILE_HEADER+x(u,2)+p+x(h.length,2)+"\0\0"+"\0\0"+x(o,4)+x(n,4)+s+c+h,compressedObject:r}},I={load:function(t,e){throw new Error("Load method is not defined. Is the file jszip-load.js included ?")},filter:function(t){var e=[],r,n,n,i;for(r in this.files){if(!this.files.hasOwnProperty(r))continue;n=this.files[r],i=new l(n.name,n._data,m(n.options)),n=r.slice(this.root.length,r.length),r.slice(0,this.root.length)===this.root&&t(n,i)&&e.push(i)}return e},file:function(r,t,e){if(1===arguments.length){if(w.isRegExp(r)){var n=r;return this.filter(function(t,e){return!e.dir&&n.test(t)})}return this.filter(function(t,e){return!e.dir&&t===r})[0]||null}return r=this.root+r,g.call(this,r,t,e),this},folder:function(r){if(!r)return this;if(w.isRegExp(r))return this.filter(function(t,e){return e.dir&&r.test(t)});var t=this.root+r,e=C.call(this,t),t=this.clone();return t.root=e.name,t},remove:function(r){r=this.root+r;var t=this.files[r];if(t||("/"!=r.slice(-1)&&(r+="/"),t=this.files[r]),t&&!t.dir)delete this.files[r];else for(var e=this.filter(function(t,e){return e.name.slice(0,r.length)===r}),n=0;n<e.length;n++)delete this.files[e[n].name];return this},generate:function(t){t=m(t||{},{base64:!0,compression:"STORE",compressionOptions:null,type:"base64",platform:"DOS",comment:null,mimeType:"application/zip"}),w.checkSupport(t.type),"darwin"!==t.platform&&"freebsd"!==t.platform&&"linux"!==t.platform&&"sunos"!==t.platform||(t.platform="UNIX"),"win32"===t.platform&&(t.platform="DOS");var e=[],r=0,n=0,i,a,s=w.transformTo("string",this.utf8encode(t.comment||this.comment||"")),o;for(o in this.files){if(!this.files.hasOwnProperty(o))continue;var h=this.files[o],d=h.options.compression||t.compression.toUpperCase(),l=c[d];if(!l)throw new Error(d+" is not a valid compression method !");var d=h.options.compressionOptions||t.compressionOptions||{},d=A.call(this,h,l,d),h=B.call(this,o,h,d,r,t.platform);r+=h.fileRecord.length+d.compressedSize,n+=h.dirRecord.length,e.push(h)}for(var u="",u=y.CENTRAL_DIRECTORY_END+"\0\0"+"\0\0"+x(e.length,2)+x(e.length,2)+x(n,4)+x(r,4)+x(s.length,2)+s,s=t.type.toLowerCase(),i=new("uint8array"===s||"arraybuffer"===s||"blob"===s||"nodebuffer"===s?p:_)(r+n+u.length),a=0;a<e.length;a++)i.append(e[a].fileRecord),i.append(e[a].compressedObject.compressedContent);for(a=0;a<e.length;a++)i.append(e[a].dirRecord);i.append(u);var u=i.finalize();switch(t.type.toLowerCase()){case"uint8array":case"arraybuffer":case"nodebuffer":return w.transformTo(t.type.toLowerCase(),u);case"blob":return w.arrayBuffer2Blob(w.transformTo("arraybuffer",u),t.mimeType);case"base64":return t.base64?f.encode(u):u;default:return u}},crc32:function(t,e){return v(t,e)},utf8encode:function(t){return w.transformTo("string",k.utf8encode(t))},utf8decode:function(t){return k.utf8decode(t)}};e.exports=I},{"./base64":1,"./compressedObject":2,"./compressions":3,"./crc32":4,"./defaults":6,"./nodeBuffer":11,"./signature":14,"./stringWriter":16,"./support":17,"./uint8ArrayWriter":19,"./utf8":20,"./utils":21}],14:[function(t,e,r){"use strict";r.LOCAL_FILE_HEADER="PK",r.CENTRAL_FILE_HEADER="PK",r.CENTRAL_DIRECTORY_END="PK",r.ZIP64_CENTRAL_DIRECTORY_LOCATOR="PK",r.ZIP64_CENTRAL_DIRECTORY_END="PK",r.DATA_DESCRIPTOR="PK\b"},{}],15:[function(t,e,r){"use strict";function n(t,e){this.data=t,e||(this.data=a.string2binary(this.data)),this.length=this.data.length,this.index=0}var i=t("./dataReader"),a=t("./utils");(n.prototype=new i).byteAt=function(t){return this.data.charCodeAt(t)},n.prototype.lastIndexOfSignature=function(t){return this.data.lastIndexOf(t)},n.prototype.readData=function(t){this.checkOffset(t);var e=this.data.slice(this.index,this.index+t);return this.index+=t,e},e.exports=n},{"./dataReader":5,"./utils":21}],16:[function(t,e,r){"use strict";var n=t("./utils"),t=function(){this.data=[]};t.prototype={append:function(t){t=n.transformTo("string",t),this.data.push(t)},finalize:function(){return this.data.join("")}},e.exports=t},{"./utils":21}],17:[function(t,e,i){(function(t){"use strict";if(i.base64=!0,i.array=!0,i.string=!0,i.arraybuffer="undefined"!=typeof ArrayBuffer&&"undefined"!=typeof Uint8Array,i.nodebuffer=void 0!==t,i.uint8array="undefined"!=typeof Uint8Array,"undefined"==typeof ArrayBuffer)i.blob=!1;else{var e=new ArrayBuffer(0);try{i.blob=0===new Blob([e],{type:"application/zip"}).size}catch(t){try{var r,n=new(window.BlobBuilder||window.WebKitBlobBuilder||window.MozBlobBuilder||window.MSBlobBuilder);n.append(e),i.blob=0===n.getBlob("application/zip").size}catch(t){i.blob=!1}}}}).call(this,"undefined"!=typeof Buffer?Buffer:void 0)},{}],18:[function(t,e,r){"use strict";function n(t){t&&(this.data=t,this.length=this.data.length,this.index=0)}var t=t("./dataReader");(n.prototype=new t).byteAt=function(t){return this.data[t]},n.prototype.lastIndexOfSignature=function(t){for(var e=t.charCodeAt(0),r=t.charCodeAt(1),n=t.charCodeAt(2),i=t.charCodeAt(3),a=this.length-4;0<=a;--a)if(this.data[a]===e&&this.data[a+1]===r&&this.data[a+2]===n&&this.data[a+3]===i)return a;return-1},n.prototype.readData=function(t){if(this.checkOffset(t),0===t)return new Uint8Array(0);var e=this.data.subarray(this.index,this.index+t);return this.index+=t,e},e.exports=n},{"./dataReader":5}],19:[function(t,e,r){"use strict";var n=t("./utils"),t=function(t){this.data=new Uint8Array(t),this.index=0};t.prototype={append:function(t){0!==t.length&&(t=n.transformTo("uint8array",t),this.data.set(t,this.index),this.index+=t.length)},finalize:function(){return this.data}},e.exports=t},{"./utils":21}],20:[function(t,e,r){"use strict";for(var h=t("./utils"),d=t("./support"),n=t("./nodeBuffer"),l=new Array(256),i=0;i<256;i++)l[i]=252<=i?6:248<=i?5:240<=i?4:224<=i?3:192<=i?2:1;l[254]=l[254]=1;var a=function(t){for(var e,r,n,i,a,s=t.length,o=0,i=0;i<s;i++)55296==(64512&(r=t.charCodeAt(i)))&&i+1<s&&56320==(64512&(n=t.charCodeAt(i+1)))&&(r=65536+(r-55296<<10)+(n-56320),i++),o+=r<128?1:r<2048?2:r<65536?3:4;for(e=new(d.uint8array?Uint8Array:Array)(o),i=a=0;a<o;i++)55296==(64512&(r=t.charCodeAt(i)))&&i+1<s&&56320==(64512&(n=t.charCodeAt(i+1)))&&(r=65536+(r-55296<<10)+(n-56320),i++),r<128?e[a++]=r:(r<2048?e[a++]=192|r>>>6:(r<65536?e[a++]=224|r>>>12:(e[a++]=240|r>>>18,e[a++]=128|r>>>12&63),e[a++]=128|r>>>6&63),e[a++]=128|63&r);return e},o=function(t,e){var r;(e=e||t.length)>t.length&&(e=t.length),r=e-1;while(0<=r&&128==(192&t[r]))r--;if(r<0)return e;if(0===r)return e;return r+l[t[r]]>e?r:e},u=function(t){for(var e,r,n,i,a,s=t.length,o=new Array(2*s),n=0,r=0;r<s;){if((i=t[r++])<128){o[n++]=i;continue}if(4<(a=l[i])){o[n++]=65533,r+=a-1;continue}i&=2===a?31:3===a?15:7;while(1<a&&r<s)i=i<<6|63&t[r++],a--;if(1<a){o[n++]=65533;continue}i<65536?o[n++]=i:(i-=65536,o[n++]=55296|i>>10&1023,o[n++]=56320|1023&i)}return o.length!==n&&(o.subarray?o=o.subarray(0,n):o.length=n),h.applyFromCharCode(o)};r.utf8encode=function t(e){if(d.nodebuffer)return n(e,"utf-8");return a(e)},r.utf8decode=function t(e){if(d.nodebuffer)return h.transformTo("nodebuffer",e).toString("utf-8");var r=[],n=0,i=(e=h.transformTo(d.uint8array?"uint8array":"array",e)).length,a=65536;while(n<i){var s=o(e,Math.min(n+a,i));d.uint8array?r.push(u(e.subarray(n,s))):r.push(u(e.slice(n,s))),n=s}return r.join("")}},{"./nodeBuffer":11,"./support":17,"./utils":21}],21:[function(t,e,d){"use strict";function r(t){return t}function n(t,e){for(var r=0;r<t.length;++r)e[r]=255&t.charCodeAt(r);return e}function i(t){var e=65536,r=[],n=t.length,i=d.getTypeOf(t),a=0,s=!0;try{switch(i){case"uint8array":String.fromCharCode.apply(null,new Uint8Array(0));break;case"nodebuffer":String.fromCharCode.apply(null,l(0));break}}catch(t){s=!1}if(!s){for(var o="",h=0;h<t.length;h++)o+=String.fromCharCode(t[h]);return o}while(a<n&&1<e)try{"array"===i||"nodebuffer"===i?r.push(String.fromCharCode.apply(null,t.slice(a,Math.min(a+e,n)))):r.push(String.fromCharCode.apply(null,t.subarray(a,Math.min(a+e,n)))),a+=e}catch(t){e=Math.floor(e/2)}return r.join("")}function a(t,e){for(var r=0;r<t.length;r++)e[r]=t[r];return e}var s=t("./support"),o=t("./compressions"),l=t("./nodeBuffer");d.string2binary=function(t){for(var e="",r=0;r<t.length;r++)e+=String.fromCharCode(255&t.charCodeAt(r));return e},d.arrayBuffer2Blob=function(e,r){d.checkSupport("blob"),r=r||"application/zip";try{return new Blob([e],{type:r})}catch(t){try{var n,i=new(window.BlobBuilder||window.WebKitBlobBuilder||window.MozBlobBuilder||window.MSBlobBuilder);return i.append(e),i.getBlob(r)}catch(t){throw new Error("Bug : can't construct the Blob.")}}},d.applyFromCharCode=i;var h={};h["string"]={string:r,array:function(t){return n(t,new Array(t.length))},arraybuffer:function(t){return h["string"]["uint8array"](t).buffer},uint8array:function(t){return n(t,new Uint8Array(t.length))},nodebuffer:function(t){return n(t,l(t.length))}},h["array"]={string:i,array:r,arraybuffer:function(t){return new Uint8Array(t).buffer},uint8array:function(t){return new Uint8Array(t)},nodebuffer:function(t){return l(t)}},h["arraybuffer"]={string:function(t){return i(new Uint8Array(t))},array:function(t){return a(new Uint8Array(t),new Array(t.byteLength))},arraybuffer:r,uint8array:function(t){return new Uint8Array(t)},nodebuffer:function(t){return l(new Uint8Array(t))}},h["uint8array"]={string:i,array:function(t){return a(t,new Array(t.length))},arraybuffer:function(t){return t.buffer},uint8array:r,nodebuffer:function(t){return l(t)}},h["nodebuffer"]={string:i,array:function(t){return a(t,new Array(t.length))},arraybuffer:function(t){return h["nodebuffer"]["uint8array"](t).buffer},uint8array:function(t){return a(t,new Uint8Array(t.length))},nodebuffer:r},d.transformTo=function(t,e){if(e=e||"",!t)return e;d.checkSupport(t);var r=d.getTypeOf(e),n;return h[r][t](e)},d.getTypeOf=function(t){if("string"==typeof t)return"string";if("[object Array]"===Object.prototype.toString.call(t))return"array";if(s.nodebuffer&&l.test(t))return"nodebuffer";if(s.uint8array&&t instanceof Uint8Array)return"uint8array";if(s.arraybuffer&&t instanceof ArrayBuffer)return"arraybuffer"},d.checkSupport=function(t){var e;if(!s[t.toLowerCase()])throw new Error(t+" is not supported by this browser")},d.MAX_VALUE_16BITS=65535,d.MAX_VALUE_32BITS=-1,d.pretty=function(t){for(var e="",r,n,n=0;n<(t||"").length;n++)e+="\\x"+((r=t.charCodeAt(n))<16?"0":"")+r.toString(16).toUpperCase();return e},d.findCompression=function(t){for(var e in o){if(!o.hasOwnProperty(e))continue;if(o[e].magic===t)return o[e]}return null},d.isRegExp=function(t){return"[object RegExp]"===Object.prototype.toString.call(t)}},{"./compressions":3,"./nodeBuffer":11,"./support":17}],22:[function(t,e,r){"use strict";function n(t,e){this.files=[],this.loadOptions=e,t&&this.load(t)}var i=t("./stringReader"),a=t("./nodeBufferReader"),s=t("./uint8ArrayReader"),o=t("./utils"),h=t("./signature"),d=t("./zipEntry"),l=t("./support"),u=t("./object");n.prototype={checkSignature:function(t){var e=this.reader.readString(4);if(e!==t)throw new Error("Corrupted zip or bug : unexpected signature "+"("+o.pretty(e)+", expected "+o.pretty(t)+")")},readBlockEndOfCentral:function(){this.diskNumber=this.reader.readInt(2),this.diskWithCentralDirStart=this.reader.readInt(2),this.centralDirRecordsOnThisDisk=this.reader.readInt(2),this.centralDirRecords=this.reader.readInt(2),this.centralDirSize=this.reader.readInt(4),this.centralDirOffset=this.reader.readInt(4),this.zipCommentLength=this.reader.readInt(2),this.zipComment=this.reader.readString(this.zipCommentLength),this.zipComment=u.utf8decode(this.zipComment)},readBlockZip64EndOfCentral:function(){this.zip64EndOfCentralSize=this.reader.readInt(8),this.versionMadeBy=this.reader.readString(2),this.versionNeeded=this.reader.readInt(2),this.diskNumber=this.reader.readInt(4),this.diskWithCentralDirStart=this.reader.readInt(4),this.centralDirRecordsOnThisDisk=this.reader.readInt(8),this.centralDirRecords=this.reader.readInt(8),this.centralDirSize=this.reader.readInt(8),this.centralDirOffset=this.reader.readInt(8),this.zip64ExtensibleData={};var t=this.zip64EndOfCentralSize-44,e=0,r,n,i;while(e<t)r=this.reader.readInt(2),n=this.reader.readInt(4),i=this.reader.readString(n),this.zip64ExtensibleData[r]={id:r,length:n,value:i}},readBlockZip64EndOfCentralLocator:function(){if(this.diskWithZip64CentralDirStart=this.reader.readInt(4),this.relativeOffsetEndOfZip64CentralDir=this.reader.readInt(8),this.disksCount=this.reader.readInt(4),1<this.disksCount)throw new Error("Multi-volumes zip are not supported")},readLocalFiles:function(){for(var t,e,t=0;t<this.files.length;t++)e=this.files[t],this.reader.setIndex(e.localHeaderOffset),this.checkSignature(h.LOCAL_FILE_HEADER),e.readLocalPart(this.reader),e.handleUTF8(),e.processAttributes()},readCentralDir:function(){var t;this.reader.setIndex(this.centralDirOffset);while(this.reader.readString(4)===h.CENTRAL_FILE_HEADER)(t=new d({zip64:this.zip64},this.loadOptions)).readCentralPart(this.reader),this.files.push(t)},readEndOfCentral:function(){var t=this.reader.lastIndexOfSignature(h.CENTRAL_DIRECTORY_END);if(-1===t){var e=!0;try{this.reader.setIndex(0),this.checkSignature(h.LOCAL_FILE_HEADER),e=!1}catch(t){}throw e?new Error("Can't find end of central directory : is this a zip file ? "+"If it is, see http://stuk.github.io/jszip/documentation/howto/read_zip.html"):new Error("Corrupted zip : can't find end of central directory")}if(this.reader.setIndex(t),this.checkSignature(h.CENTRAL_DIRECTORY_END),this.readBlockEndOfCentral(),this.diskNumber===o.MAX_VALUE_16BITS||this.diskWithCentralDirStart===o.MAX_VALUE_16BITS||this.centralDirRecordsOnThisDisk===o.MAX_VALUE_16BITS||this.centralDirRecords===o.MAX_VALUE_16BITS||this.centralDirSize===o.MAX_VALUE_32BITS||this.centralDirOffset===o.MAX_VALUE_32BITS){if(this.zip64=!0,-1===(t=this.reader.lastIndexOfSignature(h.ZIP64_CENTRAL_DIRECTORY_LOCATOR)))throw new Error("Corrupted zip : can't find the ZIP64 end of central directory locator");this.reader.setIndex(t),this.checkSignature(h.ZIP64_CENTRAL_DIRECTORY_LOCATOR),this.readBlockZip64EndOfCentralLocator(),this.reader.setIndex(this.relativeOffsetEndOfZip64CentralDir),this.checkSignature(h.ZIP64_CENTRAL_DIRECTORY_END),this.readBlockZip64EndOfCentral()}},prepareReader:function(t){var e=o.getTypeOf(t);"string"!==e||l.uint8array?this.reader="nodebuffer"===e?new a(t):new s(o.transformTo("uint8array",t)):this.reader=new i(t,this.loadOptions.optimizedBinaryString)},load:function(t){this.prepareReader(t),this.readEndOfCentral(),this.readCentralDir(),this.readLocalFiles()}},e.exports=n},{"./nodeBufferReader":12,"./object":13,"./signature":14,"./stringReader":15,"./support":17,"./uint8ArrayReader":18,"./utils":21,"./zipEntry":23}],23:[function(t,e,r){"use strict";function n(t,e){this.options=t,this.loadOptions=e}var i=t("./stringReader"),a=t("./utils"),s=t("./compressedObject"),o=t("./object"),h=0,d=3;n.prototype={isEncrypted:function(){return 1==(1&this.bitFlag)},useUTF8:function(){return 2048==(2048&this.bitFlag)},prepareCompressedContent:function(r,n,i){return function(){var t=r.index;r.setIndex(n);var e=r.readData(i);return r.setIndex(t),e}},prepareContent:function(t,e,r,n,i){return function(){var t=a.transformTo(n.uncompressInputType,this.getCompressedContent()),t=n.uncompress(t);if(t.length!==i)throw new Error("Bug : uncompressed data size mismatch");return t}},readLocalPart:function(t){var e,e;if(t.skip(22),this.fileNameLength=t.readInt(2),e=t.readInt(2),this.fileName=t.readString(this.fileNameLength),t.skip(e),-1==this.compressedSize||-1==this.uncompressedSize)throw new Error("Bug or corrupted zip : didn't get enough informations from the central directory "+"(compressedSize == -1 || uncompressedSize == -1)");if(null===(e=a.findCompression(this.compressionMethod)))throw new Error("Corrupted zip : compression "+a.pretty(this.compressionMethod)+" unknown (inner file : "+this.fileName+")");if(this.decompressed=new s,this.decompressed.compressedSize=this.compressedSize,this.decompressed.uncompressedSize=this.uncompressedSize,this.decompressed.crc32=this.crc32,this.decompressed.compressionMethod=this.compressionMethod,this.decompressed.getCompressedContent=this.prepareCompressedContent(t,t.index,this.compressedSize,e),this.decompressed.getContent=this.prepareContent(t,t.index,this.compressedSize,e,this.uncompressedSize),this.loadOptions.checkCRC32&&(this.decompressed=a.transformTo("string",this.decompressed.getContent()),o.crc32(this.decompressed)!==this.crc32))throw new Error("Corrupted zip : CRC32 mismatch")},readCentralPart:function(t){if(this.versionMadeBy=t.readInt(2),this.versionNeeded=t.readInt(2),this.bitFlag=t.readInt(2),this.compressionMethod=t.readString(2),this.date=t.readDate(),this.crc32=t.readInt(4),this.compressedSize=t.readInt(4),this.uncompressedSize=t.readInt(4),this.fileNameLength=t.readInt(2),this.extraFieldsLength=t.readInt(2),this.fileCommentLength=t.readInt(2),this.diskNumberStart=t.readInt(2),this.internalFileAttributes=t.readInt(2),this.externalFileAttributes=t.readInt(4),this.localHeaderOffset=t.readInt(4),this.isEncrypted())throw new Error("Encrypted zip are not supported");this.fileName=t.readString(this.fileNameLength),this.readExtraFields(t),this.parseZIP64ExtraField(t),this.fileComment=t.readString(this.fileCommentLength)},processAttributes:function(){this.unixPermissions=null,this.dosPermissions=null;var t=this.versionMadeBy>>8;this.dir=!!(16&this.externalFileAttributes),t==h&&(this.dosPermissions=63&this.externalFileAttributes),t==d&&(this.unixPermissions=this.externalFileAttributes>>16&65535),this.dir||"/"!==this.fileName.slice(-1)||(this.dir=!0)},parseZIP64ExtraField:function(t){if(!this.extraFields[1])return;var e=new i(this.extraFields[1].value);this.uncompressedSize===a.MAX_VALUE_32BITS&&(this.uncompressedSize=e.readInt(8)),this.compressedSize===a.MAX_VALUE_32BITS&&(this.compressedSize=e.readInt(8)),this.localHeaderOffset===a.MAX_VALUE_32BITS&&(this.localHeaderOffset=e.readInt(8)),this.diskNumberStart===a.MAX_VALUE_32BITS&&(this.diskNumberStart=e.readInt(4))},readExtraFields:function(t){var e=t.index,r,n,i;this.extraFields=this.extraFields||{};while(t.index<e+this.extraFieldsLength)r=t.readInt(2),n=t.readInt(2),i=t.readString(n),this.extraFields[r]={id:r,length:n,value:i}},handleUTF8:function(){var t,t;this.useUTF8()?(this.fileName=o.utf8decode(this.fileName),this.fileComment=o.utf8decode(this.fileComment)):(null!==(t=this.findExtraFieldUnicodePath())&&(this.fileName=t),null!==(t=this.findExtraFieldUnicodeComment())&&(this.fileComment=t))},findExtraFieldUnicodePath:function(){var t=this.extraFields[28789];if(t){var e=new i(t.value);if(1!==e.readInt(1))return null;if(o.crc32(this.fileName)!==e.readInt(4))return null;return o.utf8decode(e.readString(t.length-5))}return null},findExtraFieldUnicodeComment:function(){var t=this.extraFields[25461];if(t){var e=new i(t.value);if(1!==e.readInt(1))return null;if(o.crc32(this.fileComment)!==e.readInt(4))return null;return o.utf8decode(e.readString(t.length-5))}return null}},e.exports=n},{"./compressedObject":2,"./object":13,"./stringReader":15,"./utils":21}],24:[function(t,e,r){"use strict";var n,i,a,s,o={};(0,t("./lib/utils/common").assign)(o,t("./lib/deflate"),t("./lib/inflate"),t("./lib/zlib/constants")),e.exports=o},{"./lib/deflate":25,"./lib/inflate":26,"./lib/utils/common":27,"./lib/zlib/constants":30}],25:[function(t,e,r){"use strict";function n(t,e){var e=new b(e);if(e.push(t,!0),e.err)throw e.msg;return e.result}function i(t,e){return(e=e||{}).raw=!0,n(t,e)}function a(t,e){return(e=e||{}).gzip=!0,n(t,e)}var s=t("./zlib/deflate.js"),o=t("./utils/common"),h=t("./utils/strings"),d=t("./zlib/messages"),l=t("./zlib/zstream"),u=0,f=4,c=0,_=1,p=-1,m=0,g=8,b=function(t){this.options=o.assign({level:p,method:g,chunkSize:16384,windowBits:15,memLevel:8,strategy:m,to:""},t||{});var e=this.options;e.raw&&0<e.windowBits?e.windowBits=-e.windowBits:e.gzip&&0<e.windowBits&&e.windowBits<16&&(e.windowBits+=16),this.err=0,this.msg="",this.ended=!1,this.chunks=[],this.strm=new l,this.strm.avail_out=0;var t=s.deflateInit2(this.strm,e.level,e.method,e.windowBits,e.memLevel,e.strategy);if(t!==c)throw new Error(d[t]);e.header&&s.deflateSetHeader(this.strm,e.header)};b.prototype.push=function(t,e){var r=this.strm,n=this.options.chunkSize,i,a;if(this.ended)return!1;a=e===~~e?e:!0===e?f:u,r.input="string"==typeof t?h.string2buf(t):t,r.next_in=0,r.avail_in=r.input.length;do{if(0===r.avail_out&&(r.output=new o.Buf8(n),r.next_out=0,r.avail_out=n),(i=s.deflate(r,a))!==_&&i!==c)return this.onEnd(i),!(this.ended=!0);(0===r.avail_out||0===r.avail_in&&a===f)&&("string"===this.options.to?this.onData(h.buf2binstring(o.shrinkBuf(r.output,r.next_out))):this.onData(o.shrinkBuf(r.output,r.next_out)))}while((0<r.avail_in||0===r.avail_out)&&i!==_);if(a===f)return i=s.deflateEnd(this.strm),this.onEnd(i),this.ended=!0,i===c;return!0},b.prototype.onData=function(t){this.chunks.push(t)},b.prototype.onEnd=function(t){t===c&&("string"===this.options.to?this.result=this.chunks.join(""):this.result=o.flattenChunks(this.chunks)),this.chunks=[],this.err=t,this.msg=this.strm.msg},r.Deflate=b,r.deflate=n,r.deflateRaw=i,r.gzip=a},{"./utils/common":27,"./utils/strings":28,"./zlib/deflate.js":32,"./zlib/messages":37,"./zlib/zstream":39}],26:[function(t,e,r){"use strict";function n(t,e){var e=new h(e);if(e.push(t,!0),e.err)throw e.msg;return e.result}function i(t,e){return(e=e||{}).raw=!0,n(t,e)}var d=t("./zlib/inflate.js"),l=t("./utils/common"),u=t("./utils/strings"),f=t("./zlib/constants"),a=t("./zlib/messages"),s=t("./zlib/zstream"),o=t("./zlib/gzheader"),h=function(t){this.options=l.assign({chunkSize:16384,windowBits:0,to:""},t||{});var e=this.options;e.raw&&0<=e.windowBits&&e.windowBits<16&&(e.windowBits=-e.windowBits,0===e.windowBits&&(e.windowBits=-15)),!(0<=e.windowBits&&e.windowBits<16)||t&&t.windowBits||(e.windowBits+=32),15<e.windowBits&&e.windowBits<48&&0==(15&e.windowBits)&&(e.windowBits|=15),this.err=0,this.msg="",this.ended=!1,this.chunks=[],this.strm=new s,this.strm.avail_out=0;var e=d.inflateInit2(this.strm,e.windowBits);if(e!==f.Z_OK)throw new Error(a[e]);this.header=new o,d.inflateGetHeader(this.strm,this.header)};h.prototype.push=function(t,e){var r=this.strm,n=this.options.chunkSize,i,a,s,o,h;if(this.ended)return!1;a=e===~~e?e:!0===e?f.Z_FINISH:f.Z_NO_FLUSH,r.input="string"==typeof t?u.binstring2buf(t):t,r.next_in=0,r.avail_in=r.input.length;do{if(0===r.avail_out&&(r.output=new l.Buf8(n),r.next_out=0,r.avail_out=n),(i=d.inflate(r,f.Z_NO_FLUSH))!==f.Z_STREAM_END&&i!==f.Z_OK)return this.onEnd(i),!(this.ended=!0);r.next_out&&(0===r.avail_out||i===f.Z_STREAM_END||0===r.avail_in&&a===f.Z_FINISH)&&("string"===this.options.to?(s=u.utf8border(r.output,r.next_out),o=r.next_out-s,h=u.buf2string(r.output,s),r.next_out=o,r.avail_out=n-o,o&&l.arraySet(r.output,r.output,s,o,0),this.onData(h)):this.onData(l.shrinkBuf(r.output,r.next_out)))}while(0<r.avail_in&&i!==f.Z_STREAM_END);if(i===f.Z_STREAM_END&&(a=f.Z_FINISH),a===f.Z_FINISH)return i=d.inflateEnd(this.strm),this.onEnd(i),this.ended=!0,i===f.Z_OK;return!0},h.prototype.onData=function(t){this.chunks.push(t)},h.prototype.onEnd=function(t){t===f.Z_OK&&("string"===this.options.to?this.result=this.chunks.join(""):this.result=l.flattenChunks(this.chunks)),this.chunks=[],this.err=t,this.msg=this.strm.msg},r.Inflate=h,r.inflate=n,r.inflateRaw=i,r.ungzip=n},{"./utils/common":27,"./utils/strings":28,"./zlib/constants":30,"./zlib/gzheader":33,"./zlib/inflate.js":35,"./zlib/messages":37,"./zlib/zstream":39}],27:[function(t,e,r){"use strict";var n="undefined"!=typeof Uint8Array&&"undefined"!=typeof Uint16Array&&"undefined"!=typeof Int32Array;r.assign=function(t){var e=Array.prototype.slice.call(arguments,1);while(e.length){var r=e.shift(),n;if(!r)continue;if("object"!=typeof r)throw new TypeError(r+"must be non-object");for(n in r)r.hasOwnProperty(n)&&(t[n]=r[n])}return t},r.shrinkBuf=function(t,e){if(t.length===e)return t;if(t.subarray)return t.subarray(0,e);return t.length=e,t};var i={arraySet:function(t,e,r,n,i){if(e.subarray&&t.subarray)return void t.set(e.subarray(r,r+n),i);for(var a=0;a<n;a++)t[i+a]=e[r+a]},flattenChunks:function(t){for(var e,r,n,i,a,s,n=0,e=0,r=t.length;e<r;e++)n+=t[e].length;for(s=new Uint8Array(n),e=i=0,r=t.length;e<r;e++)a=t[e],s.set(a,i),i+=a.length;return s}},a={arraySet:function(t,e,r,n,i){for(var a=0;a<n;a++)t[i+a]=e[r+a]},flattenChunks:function(t){return[].concat.apply([],t)}};r.setTyped=function(t){t?(r.Buf8=Uint8Array,r.Buf16=Uint16Array,r.Buf32=Int32Array,r.assign(r,i)):(r.Buf8=Array,r.Buf16=Array,r.Buf32=Array,r.assign(r,a))},r.setTyped(n)},{}],28:[function(t,e,r){"use strict";function h(t,e){if(e<65537&&(t.subarray&&a||!t.subarray&&i))return String.fromCharCode.apply(null,d.shrinkBuf(t,e));for(var r="",n=0;n<e;n++)r+=String.fromCharCode(t[n]);return r}var d=t("./common"),i=!0,a=!0;try{String.fromCharCode.apply(null,[0])}catch(t){i=!1}try{String.fromCharCode.apply(null,new Uint8Array(1))}catch(t){a=!1}for(var l=new d.Buf8(256),n=0;n<256;n++)l[n]=252<=n?6:248<=n?5:240<=n?4:224<=n?3:192<=n?2:1;l[254]=l[254]=1,r.string2buf=function(t){for(var e,r,n,i,a,s=t.length,o=0,i=0;i<s;i++)55296==(64512&(r=t.charCodeAt(i)))&&i+1<s&&56320==(64512&(n=t.charCodeAt(i+1)))&&(r=65536+(r-55296<<10)+(n-56320),i++),o+=r<128?1:r<2048?2:r<65536?3:4;for(e=new d.Buf8(o),i=a=0;a<o;i++)55296==(64512&(r=t.charCodeAt(i)))&&i+1<s&&56320==(64512&(n=t.charCodeAt(i+1)))&&(r=65536+(r-55296<<10)+(n-56320),i++),r<128?e[a++]=r:(r<2048?e[a++]=192|r>>>6:(r<65536?e[a++]=224|r>>>12:(e[a++]=240|r>>>18,e[a++]=128|r>>>12&63),e[a++]=128|r>>>6&63),e[a++]=128|63&r);return e},r.buf2binstring=function(t){return h(t,t.length)},r.binstring2buf=function(t){for(var e=new d.Buf8(t.length),r=0,n=e.length;r<n;r++)e[r]=t.charCodeAt(r);return e},r.buf2string=function(t,e){for(var r,n,i,a,s=e||t.length,o=new Array(2*s),n=0,r=0;r<s;){if((i=t[r++])<128){o[n++]=i;continue}if(4<(a=l[i])){o[n++]=65533,r+=a-1;continue}i&=2===a?31:3===a?15:7;while(1<a&&r<s)i=i<<6|63&t[r++],a--;if(1<a){o[n++]=65533;continue}i<65536?o[n++]=i:(i-=65536,o[n++]=55296|i>>10&1023,o[n++]=56320|1023&i)}return h(o,n)},r.utf8border=function(t,e){var r;(e=e||t.length)>t.length&&(e=t.length),r=e-1;while(0<=r&&128==(192&t[r]))r--;if(r<0)return e;if(0===r)return e;return r+l[t[r]]>e?r:e}},{"./common":27}],29:[function(t,e,r){"use strict";function n(t,e,r,n){var i=65535&t|0,a=t>>>16&65535|0,s=0;while(0!==r){r-=s=2e3<r?2e3:r;do{a=a+(i=i+e[n++]|0)|0}while(--s);i%=65521,a%=65521}return i|a<<16|0}e.exports=n},{}],30:[function(t,e,r){e.exports={Z_NO_FLUSH:0,Z_PARTIAL_FLUSH:1,Z_SYNC_FLUSH:2,Z_FULL_FLUSH:3,Z_FINISH:4,Z_BLOCK:5,Z_TREES:6,Z_OK:0,Z_STREAM_END:1,Z_NEED_DICT:2,Z_ERRNO:-1,Z_STREAM_ERROR:-2,Z_DATA_ERROR:-3,Z_BUF_ERROR:-5,Z_NO_COMPRESSION:0,Z_BEST_SPEED:1,Z_BEST_COMPRESSION:9,Z_DEFAULT_COMPRESSION:-1,Z_FILTERED:1,Z_HUFFMAN_ONLY:2,Z_RLE:3,Z_FIXED:4,Z_DEFAULT_STRATEGY:0,Z_BINARY:0,Z_TEXT:1,Z_UNKNOWN:2,Z_DEFLATED:8}},{}],31:[function(t,e,r){"use strict";function n(){for(var t,e=[],r=0;r<256;r++){t=r;for(var n=0;n<8;n++)t=1&t?3988292384^t>>>1:t>>>1;e[r]=t}return e}function i(t,e,r,n){var i=o,a=n+r;t^=-1;for(var s=n;s<a;s++)t=t>>>8^i[255&(t^e[s])];return-1^t}var o=n();e.exports=i},{}],32:[function(t,e,r){"use strict";function h(t,e){return t.msg=T[e],e}function d(t){return(t<<1)-(4<t?9:0)}function l(t){var e=t.length;while(0<=--e)t[e]=0}function u(t){var e=t.state,r=e.pending;if(r>t.avail_out&&(r=t.avail_out),0===r)return;E.arraySet(t.output,e.pending_buf,e.pending_out,r,t.next_out),t.next_out+=r,e.pending_out+=r,t.total_out+=r,t.avail_out-=r,e.pending-=r,0===e.pending&&(e.pending_out=0)}function o(t,e){S._tr_flush_block(t,0<=t.block_start?t.block_start:-1,t.strstart-t.block_start,e),t.block_start=t.strstart,u(t.strm)}function f(t,e){t.pending_buf[t.pending++]=e}function c(t,e){t.pending_buf[t.pending++]=e>>>8&255,t.pending_buf[t.pending++]=255&e}function _(t,e,r,n){var i=t.avail_in;if(n<i&&(i=n),0===i)return 0;return t.avail_in-=i,E.arraySet(e,t.input,t.next_in,i,r),1===t.state.wrap?t.adler=B(t.adler,e,i,r):2===t.state.wrap&&(t.adler=I(t.adler,e,i,r)),t.next_in+=i,t.total_in+=i,i}function a(t,e){var r=t.max_chain_length,n=t.strstart,i,a,s=t.prev_length,o=t.nice_match,h=t.strstart>t.w_size-ht?t.strstart-(t.w_size-ht):0,d=t.window,l=t.w_mask,u=t.prev,f=t.strstart+ot,c=d[n+s-1],_=d[n+s];t.prev_length>=t.good_match&&(r>>=2),o>t.lookahead&&(o=t.lookahead);do{if(d[(i=e)+s]!==_||d[i+s-1]!==c||d[i]!==d[n]||d[++i]!==d[n+1])continue;n+=2,i++;do{}while(d[++n]===d[++i]&&d[++n]===d[++i]&&d[++n]===d[++i]&&d[++n]===d[++i]&&d[++n]===d[++i]&&d[++n]===d[++i]&&d[++n]===d[++i]&&d[++n]===d[++i]&&n<f);if(a=ot-(f-n),n=f-ot,s<a){if(t.match_start=e,o<=(s=a))break;c=d[n+s-1],_=d[n+s]}}while((e=u[e&l])>h&&0!=--r);if(s<=t.lookahead)return s;return t.lookahead}function p(t){var e=t.w_size,r,n,i,a,s;do{if(a=t.window_size-t.lookahead-t.strstart,t.strstart>=e+(e-ht)){E.arraySet(t.window,t.window,e,e,0),t.match_start-=e,t.strstart-=e,t.block_start-=e,r=n=t.hash_size;do{i=t.head[--r],t.head[r]=e<=i?i-e:0}while(--n);r=n=e;do{i=t.prev[--r],t.prev[r]=e<=i?i-e:0}while(--n);a+=e}if(0===t.strm.avail_in)break;if(n=_(t.strm,t.window,t.strstart+t.lookahead,a),t.lookahead+=n,t.lookahead+t.insert>=st){s=t.strstart-t.insert,t.ins_h=t.window[s],t.ins_h=(t.ins_h<<t.hash_shift^t.window[s+1])&t.hash_mask;while(t.insert)if(t.ins_h=(t.ins_h<<t.hash_shift^t.window[s+st-1])&t.hash_mask,t.prev[s&t.w_mask]=t.head[t.ins_h],t.head[t.ins_h]=s,s++,t.insert--,t.lookahead+t.insert<st)break}}while(t.lookahead<ht&&0!==t.strm.avail_in)}function n(t,e){var r=65535;for(r>t.pending_buf_size-5&&(r=t.pending_buf_size-5);;){if(t.lookahead<=1){if(p(t),0===t.lookahead&&e===O)return gt;if(0===t.lookahead)break}t.strstart+=t.lookahead,t.lookahead=0;var n=t.block_start+r;if((0===t.strstart||t.strstart>=n)&&(t.lookahead=t.strstart-n,t.strstart=n,o(t,!1),0===t.strm.avail_out))return gt;if(t.strstart-t.block_start>=t.w_size-ht&&(o(t,!1),0===t.strm.avail_out))return gt}if(t.insert=0,e===D){if(o(t,!0),0===t.strm.avail_out)return wt;return vt}if(t.strstart>t.block_start&&(o(t,!1),0===t.strm.avail_out))return gt;return gt}function i(t,e){for(var r,n;;){if(t.lookahead<ht){if(p(t),t.lookahead<ht&&e===O)return gt;if(0===t.lookahead)break}if(r=0,t.lookahead>=st&&(t.ins_h=(t.ins_h<<t.hash_shift^t.window[t.strstart+st-1])&t.hash_mask,r=t.prev[t.strstart&t.w_mask]=t.head[t.ins_h],t.head[t.ins_h]=t.strstart),0!==r&&t.strstart-r<=t.w_size-ht&&(t.match_length=a(t,r)),t.match_length>=st)if(n=S._tr_tally(t,t.strstart-t.match_start,t.match_length-st),t.lookahead-=t.match_length,t.match_length<=t.max_lazy_match&&t.lookahead>=st){t.match_length--;do{t.strstart++,t.ins_h=(t.ins_h<<t.hash_shift^t.window[t.strstart+st-1])&t.hash_mask,r=t.prev[t.strstart&t.w_mask]=t.head[t.ins_h],t.head[t.ins_h]=t.strstart}while(0!=--t.match_length);t.strstart++}else t.strstart+=t.match_length,t.match_length=0,t.ins_h=t.window[t.strstart],t.ins_h=(t.ins_h<<t.hash_shift^t.window[t.strstart+1])&t.hash_mask;else n=S._tr_tally(t,0,t.window[t.strstart]),t.lookahead--,t.strstart++;if(n&&(o(t,!1),0===t.strm.avail_out))return gt}if(t.insert=t.strstart<st-1?t.strstart:st-1,e===D){if(o(t,!0),0===t.strm.avail_out)return wt;return vt}if(t.last_lit&&(o(t,!1),0===t.strm.avail_out))return gt;return bt}function s(t,e){for(var r,n,i;;){if(t.lookahead<ht){if(p(t),t.lookahead<ht&&e===O)return gt;if(0===t.lookahead)break}if(r=0,t.lookahead>=st&&(t.ins_h=(t.ins_h<<t.hash_shift^t.window[t.strstart+st-1])&t.hash_mask,r=t.prev[t.strstart&t.w_mask]=t.head[t.ins_h],t.head[t.ins_h]=t.strstart),t.prev_length=t.match_length,t.prev_match=t.match_start,t.match_length=st-1,0!==r&&t.prev_length<t.max_lazy_match&&t.strstart-r<=t.w_size-ht&&(t.match_length=a(t,r),t.match_length<=5&&(t.strategy===H||t.match_length===st&&4096<t.strstart-t.match_start)&&(t.match_length=st-1)),t.prev_length>=st&&t.match_length<=t.prev_length){i=t.strstart+t.lookahead-st,n=S._tr_tally(t,t.strstart-1-t.prev_match,t.prev_length-st),t.lookahead-=t.prev_length-1,t.prev_length-=2;do{++t.strstart<=i&&(t.ins_h=(t.ins_h<<t.hash_shift^t.window[t.strstart+st-1])&t.hash_mask,r=t.prev[t.strstart&t.w_mask]=t.head[t.ins_h],t.head[t.ins_h]=t.strstart)}while(0!=--t.prev_length);if(t.match_available=0,t.match_length=st-1,t.strstart++,n&&(o(t,!1),0===t.strm.avail_out))return gt}else if(t.match_available){if((n=S._tr_tally(t,0,t.window[t.strstart-1]))&&o(t,!1),t.strstart++,t.lookahead--,0===t.strm.avail_out)return gt}else t.match_available=1,t.strstart++,t.lookahead--}if(t.match_available&&(n=S._tr_tally(t,0,t.window[t.strstart-1]),t.match_available=0),t.insert=t.strstart<st-1?t.strstart:st-1,e===D){if(o(t,!0),0===t.strm.avail_out)return wt;return vt}if(t.last_lit&&(o(t,!1),0===t.strm.avail_out))return gt;return bt}function m(t,e){for(var r,n,i,a,s=t.window;;){if(t.lookahead<=ot){if(p(t),t.lookahead<=ot&&e===O)return gt;if(0===t.lookahead)break}if(t.match_length=0,t.lookahead>=st&&0<t.strstart&&(n=s[i=t.strstart-1])===s[++i]&&n===s[++i]&&n===s[++i]){a=t.strstart+ot;do{}while(n===s[++i]&&n===s[++i]&&n===s[++i]&&n===s[++i]&&n===s[++i]&&n===s[++i]&&n===s[++i]&&n===s[++i]&&i<a);t.match_length=ot-(a-i),t.match_length>t.lookahead&&(t.match_length=t.lookahead)}if(t.match_length>=st?(r=S._tr_tally(t,1,t.match_length-st),t.lookahead-=t.match_length,t.strstart+=t.match_length,t.match_length=0):(r=S._tr_tally(t,0,t.window[t.strstart]),t.lookahead--,t.strstart++),r&&(o(t,!1),0===t.strm.avail_out))return gt}if(t.insert=0,e===D){if(o(t,!0),0===t.strm.avail_out)return wt;return vt}if(t.last_lit&&(o(t,!1),0===t.strm.avail_out))return gt;return bt}function g(t,e){for(var r;;){if(0===t.lookahead&&(p(t),0===t.lookahead)){if(e===O)return gt;break}if(t.match_length=0,r=S._tr_tally(t,0,t.window[t.strstart]),t.lookahead--,t.strstart++,r&&(o(t,!1),0===t.strm.avail_out))return gt}if(t.insert=0,e===D){if(o(t,!0),0===t.strm.avail_out)return wt;return vt}if(t.last_lit&&(o(t,!1),0===t.strm.avail_out))return gt;return bt}function b(t){t.window_size=2*t.w_size,l(t.head),t.max_lazy_match=kt[t.level].max_lazy,t.good_match=kt[t.level].good_length,t.nice_match=kt[t.level].nice_length,t.max_chain_length=kt[t.level].max_chain,t.strstart=0,t.block_start=0,t.lookahead=0,t.insert=0,t.match_length=t.prev_length=st-1,t.match_available=0,t.ins_h=0}function w(){this.strm=null,this.status=0,this.pending_buf=null,this.pending_buf_size=0,this.pending_out=0,this.pending=0,this.wrap=0,this.gzhead=null,this.gzindex=0,this.method=q,this.last_flush=-1,this.w_size=0,this.w_bits=0,this.w_mask=0,this.window=null,this.window_size=0,this.prev=null,this.head=null,this.ins_h=0,this.hash_size=0,this.hash_bits=0,this.hash_mask=0,this.hash_shift=0,this.block_start=0,this.match_length=0,this.prev_match=0,this.match_available=0,this.strstart=0,this.match_start=0,this.lookahead=0,this.prev_length=0,this.max_chain_length=0,this.max_lazy_match=0,this.level=0,this.strategy=0,this.good_match=0,this.nice_match=0,this.dyn_ltree=new E.Buf16(2*it),this.dyn_dtree=new E.Buf16(2*(2*rt+1)),this.bl_tree=new E.Buf16(2*(2*nt+1)),l(this.dyn_ltree),l(this.dyn_dtree),l(this.bl_tree),this.l_desc=null,this.d_desc=null,this.bl_desc=null,this.bl_count=new E.Buf16(at+1),this.heap=new E.Buf16(2*et+1),l(this.heap),this.heap_len=0,this.heap_max=0,this.depth=new E.Buf16(2*et+1),l(this.depth),this.l_buf=0,this.lit_bufsize=0,this.last_lit=0,this.d_buf=0,this.opt_len=0,this.static_len=0,this.matches=0,this.insert=0,this.bi_buf=0,this.bi_valid=0}function v(t){var e;if(!t||!t.state)return h(t,Z);return t.total_in=t.total_out=0,t.data_type=W,(e=t.state).pending=0,e.pending_out=0,e.wrap<0&&(e.wrap=-e.wrap),e.status=e.wrap?lt:pt,t.adler=2===e.wrap?0:1,e.last_flush=O,S._tr_init(e),U}function y(t){var e=v(t);return e===U&&b(t.state),e}function k(t,e){if(!t||!t.state)return Z;if(2!==t.state.wrap)return Z;return t.state.gzhead=e,U}function x(t,e,r,n,i,a){if(!t)return Z;var s=1;if(e===j&&(e=6),n<0?(s=0,n=-n):15<n&&(s=2,n-=16),i<1||G<i||r!==q||n<8||15<n||e<0||9<e||a<0||V<a)return h(t,Z);8===n&&(n=9);var o=new w;return(t.state=o).strm=t,o.wrap=s,o.gzhead=null,o.w_bits=n,o.w_size=1<<o.w_bits,o.w_mask=o.w_size-1,o.hash_bits=i+7,o.hash_size=1<<o.hash_bits,o.hash_mask=o.hash_size-1,o.hash_shift=~~((o.hash_bits+st-1)/st),o.window=new E.Buf8(2*o.w_size),o.head=new E.Buf16(o.hash_size),o.prev=new E.Buf16(o.w_size),o.lit_bufsize=1<<i+6,o.pending_buf_size=4*o.lit_bufsize,o.pending_buf=new E.Buf8(o.pending_buf_size),o.d_buf=o.lit_bufsize>>1,o.l_buf=(1+2)*o.lit_bufsize,o.level=e,o.strategy=a,o.method=r,y(t)}function z(t,e){return x(t,e,q,J,Q,Y)}function C(t,e){var r,n,i,a,s,o,o;if(!t||!t.state||N<e||e<0)return t?h(t,Z):Z;if(n=t.state,!t.output||!t.input&&0!==t.avail_in||n.status===mt&&e!==D)return h(t,0===t.avail_out?M:Z);if(n.strm=t,r=n.last_flush,n.last_flush=e,n.status===lt&&(2===n.wrap?(t.adler=0,f(n,31),f(n,139),f(n,8),n.gzhead?(f(n,(n.gzhead.text?1:0)+(n.gzhead.hcrc?2:0)+(n.gzhead.extra?4:0)+(n.gzhead.name?8:0)+(n.gzhead.comment?16:0)),f(n,255&n.gzhead.time),f(n,n.gzhead.time>>8&255),f(n,n.gzhead.time>>16&255),f(n,n.gzhead.time>>24&255),f(n,9===n.level?2:n.strategy>=X||n.level<2?4:0),f(n,255&n.gzhead.os),n.gzhead.extra&&n.gzhead.extra.length&&(f(n,255&n.gzhead.extra.length),f(n,n.gzhead.extra.length>>8&255)),n.gzhead.hcrc&&(t.adler=I(t.adler,n.pending_buf,n.pending,0)),n.gzindex=0,n.status=ut):(f(n,0),f(n,0),f(n,0),f(n,0),f(n,0),f(n,9===n.level?2:n.strategy>=X||n.level<2?4:0),f(n,yt),n.status=pt)):(s=q+(n.w_bits-8<<4)<<8,o=-1,s|=(o=n.strategy>=X||n.level<2?0:n.level<6?1:6===n.level?2:3)<<6,0!==n.strstart&&(s|=dt),s+=31-s%31,n.status=pt,c(n,s),0!==n.strstart&&(c(n,t.adler>>>16),c(n,65535&t.adler)),t.adler=1)),n.status===ut)if(n.gzhead.extra){i=n.pending;while(n.gzindex<(65535&n.gzhead.extra.length)){if(n.pending===n.pending_buf_size&&(n.gzhead.hcrc&&n.pending>i&&(t.adler=I(t.adler,n.pending_buf,n.pending-i,i)),u(t),i=n.pending,n.pending===n.pending_buf_size))break;f(n,255&n.gzhead.extra[n.gzindex]),n.gzindex++}n.gzhead.hcrc&&n.pending>i&&(t.adler=I(t.adler,n.pending_buf,n.pending-i,i)),n.gzindex===n.gzhead.extra.length&&(n.gzindex=0,n.status=ft)}else n.status=ft;if(n.status===ft)if(n.gzhead.name){i=n.pending;do{if(n.pending===n.pending_buf_size&&(n.gzhead.hcrc&&n.pending>i&&(t.adler=I(t.adler,n.pending_buf,n.pending-i,i)),u(t),i=n.pending,n.pending===n.pending_buf_size)){a=1;break}a=n.gzindex<n.gzhead.name.length?255&n.gzhead.name.charCodeAt(n.gzindex++):0,f(n,a)}while(0!==a);n.gzhead.hcrc&&n.pending>i&&(t.adler=I(t.adler,n.pending_buf,n.pending-i,i)),0===a&&(n.gzindex=0,n.status=ct)}else n.status=ct;if(n.status===ct)if(n.gzhead.comment){i=n.pending;do{if(n.pending===n.pending_buf_size&&(n.gzhead.hcrc&&n.pending>i&&(t.adler=I(t.adler,n.pending_buf,n.pending-i,i)),u(t),i=n.pending,n.pending===n.pending_buf_size)){a=1;break}a=n.gzindex<n.gzhead.comment.length?255&n.gzhead.comment.charCodeAt(n.gzindex++):0,f(n,a)}while(0!==a);n.gzhead.hcrc&&n.pending>i&&(t.adler=I(t.adler,n.pending_buf,n.pending-i,i)),0===a&&(n.status=_t)}else n.status=_t;if(n.status===_t&&(n.gzhead.hcrc?(n.pending+2>n.pending_buf_size&&u(t),n.pending+2<=n.pending_buf_size&&(f(n,255&t.adler),f(n,t.adler>>8&255),t.adler=0,n.status=pt)):n.status=pt),0!==n.pending){if(u(t),0===t.avail_out)return n.last_flush=-1,U}else if(0===t.avail_in&&d(e)<=d(r)&&e!==D)return h(t,M);if(n.status===mt&&0!==t.avail_in)return h(t,M);if(0!==t.avail_in||0!==n.lookahead||e!==O&&n.status!==mt){var r=n.strategy===X?g(n,e):n.strategy===K?m(n,e):kt[n.level].func(n,e);if(r!==wt&&r!==vt||(n.status=mt),r===gt||r===wt)return 0===t.avail_out&&(n.last_flush=-1),U;if(r===bt&&(e===R?S._tr_align(n):e!==N&&(S._tr_stored_block(n,0,0,!1),e===L&&(l(n.head),0===n.lookahead&&(n.strstart=0,n.block_start=0,n.insert=0))),u(t),0===t.avail_out))return n.last_flush=-1,U}if(e!==D)return U;if(n.wrap<=0)return F;return 2===n.wrap?(f(n,255&t.adler),f(n,t.adler>>8&255),f(n,t.adler>>16&255),f(n,t.adler>>24&255),f(n,255&t.total_in),f(n,t.total_in>>8&255),f(n,t.total_in>>16&255),f(n,t.total_in>>24&255)):(c(n,t.adler>>>16),c(n,65535&t.adler)),u(t),0<n.wrap&&(n.wrap=-n.wrap),0!==n.pending?U:F}function A(t){var e;if(!t||!t.state)return Z;if((e=t.state.status)!==lt&&e!==ut&&e!==ft&&e!==ct&&e!==_t&&e!==pt&&e!==mt)return h(t,Z);return t.state=null,e===pt?h(t,P):U}var E=t("../utils/common"),S=t("./trees"),B=t("./adler32"),I=t("./crc32"),T=t("./messages"),O=0,R=1,L=3,D=4,N=5,U=0,F=1,Z=-2,P=-3,M=-5,j=-1,H=1,X=2,K=3,V=4,Y=0,W=2,q=8,G=9,J=15,Q=8,$,tt,et=256+1+29,rt=30,nt=19,it=2*et+1,at=15,st=3,ot=258,ht=ot+st+1,dt=32,lt=42,ut=69,ft=73,ct=91,_t=103,pt=113,mt=666,gt=1,bt=2,wt=3,vt=4,yt=3,t=function(t,e,r,n,i){this.good_length=t,this.max_lazy=e,this.nice_length=r,this.max_chain=n,this.func=i},kt,kt=[new t(0,0,0,0,n),new t(4,4,8,4,i),new t(4,5,16,8,i),new t(4,6,32,32,i),new t(4,4,16,16,s),new t(8,16,32,32,s),new t(8,16,128,128,s),new t(8,32,128,256,s),new t(32,128,258,1024,s),new t(32,258,258,4096,s)];r.deflateInit=z,r.deflateInit2=x,r.deflateReset=y,r.deflateResetKeep=v,r.deflateSetHeader=k,r.deflate=C,r.deflateEnd=A,r.deflateInfo="pako deflate (from Nodeca project)"},{"../utils/common":27,"./adler32":29,"./crc32":31,"./messages":37,"./trees":38}],33:[function(t,e,r){"use strict";function n(){this.text=0,this.time=0,this.xflags=0,this.os=0,this.extra=null,this.extra_len=0,this.name="",this.comment="",this.hcrc=0,this.done=!1}e.exports=n},{}],34:[function(t,e,r){"use strict";var S=30,B=12;e.exports=function t(e,r){var n,i,a,s,o,h,d,l,u,f,c,_,p,m,g,b,w,v,y,k,x,z,C,A,E,n=e.state,i=e.next_in,A=e.input,a=i+(e.avail_in-5),s=e.next_out,E=e.output,o=s-(r-e.avail_out),h=s+(e.avail_out-257),d=n.dmax,l=n.wsize,u=n.whave,f=n.wnext,c=n.window,_=n.hold,p=n.bits,m=n.lencode,g=n.distcode,b=(1<<n.lenbits)-1,w=(1<<n.distbits)-1;t:do{p<15&&(_+=A[i++]<<p,p+=8,_+=A[i++]<<p,p+=8),v=m[_&b];e:for(;;){if(_>>>=y=v>>>24,p-=y,0===(y=v>>>16&255))E[s++]=65535&v;else{if(!(16&y)){if(0==(64&y)){v=m[(65535&v)+(_&(1<<y)-1)];continue e}if(32&y){n.mode=B;break t}e.msg="invalid literal/length code",n.mode=S;break t}k=65535&v,(y&=15)&&(p<y&&(_+=A[i++]<<p,p+=8),k+=_&(1<<y)-1,_>>>=y,p-=y),p<15&&(_+=A[i++]<<p,p+=8,_+=A[i++]<<p,p+=8),v=g[_&w];r:for(;;){if(_>>>=y=v>>>24,p-=y,!(16&(y=v>>>16&255))){if(0==(64&y)){v=g[(65535&v)+(_&(1<<y)-1)];continue r}e.msg="invalid distance code",n.mode=S;break t}if(x=65535&v,p<(y&=15)&&(_+=A[i++]<<p,(p+=8)<y&&(_+=A[i++]<<p,p+=8)),d<(x+=_&(1<<y)-1)){e.msg="invalid distance too far back",n.mode=S;break t}if(_>>>=y,p-=y,(y=s-o)<x){if(y=x-y,u<y&&n.sane){e.msg="invalid distance too far back",n.mode=S;break t}if(C=c,(z=0)===f){if(z+=l-y,y<k){k-=y;do{E[s++]=c[z++]}while(--y);z=s-x,C=E}}else if(f<y){if(z+=l+f-y,(y-=f)<k){k-=y;do{E[s++]=c[z++]}while(--y);if(z=0,f<k){k-=y=f;do{E[s++]=c[z++]}while(--y);z=s-x,C=E}}}else if(z+=f-y,y<k){k-=y;do{E[s++]=c[z++]}while(--y);z=s-x,C=E}while(2<k)E[s++]=C[z++],E[s++]=C[z++],E[s++]=C[z++],k-=3;k&&(E[s++]=C[z++],1<k&&(E[s++]=C[z++]))}else{z=s-x;do{E[s++]=E[z++],E[s++]=E[z++],E[s++]=E[z++],k-=3}while(2<k);k&&(E[s++]=E[z++],1<k&&(E[s++]=E[z++]))}break}}break}}while(i<a&&s<h);return i-=k=p>>3,_&=(1<<(p-=k<<3))-1,e.next_in=i,e.next_out=s,e.avail_in=i<a?5+(a-i):5-(i-a),e.avail_out=s<h?257+(h-s):257-(s-h),n.hold=_,void(n.bits=p)}},{}],35:[function(t,e,r){"use strict";function B(t){return(t>>>24&255)+(t>>>8&65280)+((65280&t)<<8)+((255&t)<<24)}function n(){this.mode=0,this.last=!1,this.wrap=0,this.havedict=!1,this.flags=0,this.dmax=0,this.check=0,this.total=0,this.head=null,this.wbits=0,this.wsize=0,this.whave=0,this.wnext=0,this.window=null,this.hold=0,this.bits=0,this.length=0,this.offset=0,this.extra=0,this.lencode=null,this.distcode=null,this.lenbits=0,this.distbits=0,this.ncode=0,this.nlen=0,this.ndist=0,this.have=0,this.next=null,this.lens=new O.Buf16(320),this.work=new O.Buf16(288),this.lendyn=null,this.distdyn=null,this.sane=0,this.back=0,this.was=0}function i(t){var e;if(!t||!t.state)return V;return e=t.state,t.total_in=t.total_out=e.total=0,t.msg="",e.wrap&&(t.adler=1&e.wrap),e.mode=J,e.last=0,e.havedict=0,e.dmax=32768,e.head=null,e.hold=0,e.bits=0,e.lencode=e.lendyn=new O.Buf32(f),e.distcode=e.distdyn=new O.Buf32(c),e.sane=1,e.back=-1,H}function a(t){var e;if(!t||!t.state)return V;return(e=t.state).wsize=0,e.whave=0,e.wnext=0,i(t)}function s(t,e){var r,n;if(!t||!t.state)return V;if(n=t.state,e<0?(r=0,e=-e):(r=(e>>4)+1,e<48&&(e&=15)),e&&(e<8||15<e))return V;return null!==n.window&&n.wbits!==e&&(n.window=null),n.wrap=r,n.wbits=e,a(t)}function o(t,e){var e,r;if(!t)return V;return r=new n,(t.state=r).window=null,(e=s(t,e))!==H&&(t.state=null),e}function h(t){return o(t,p)}function I(t){if(m){var e;g=new O.Buf32(512),b=new O.Buf32(32),e=0;while(e<144)t.lens[e++]=8;while(e<256)t.lens[e++]=9;while(e<280)t.lens[e++]=7;while(e<288)t.lens[e++]=8;N(F,t.lens,0,288,g,0,t.work,{bits:9}),e=0;while(e<32)t.lens[e++]=5;N(Z,t.lens,0,32,b,0,t.work,{bits:5}),m=!1}t.lencode=g,t.lenbits=9,t.distcode=b,t.distbits=5}function T(t,e,r,n){var t,i=t.state;return null===i.window&&(i.wsize=1<<i.wbits,i.wnext=0,i.whave=0,i.window=new O.Buf8(i.wsize)),n>=i.wsize?(O.arraySet(i.window,e,r-i.wsize,i.wsize,0),i.wnext=0,i.whave=i.wsize):(n<(t=i.wsize-i.wnext)&&(t=n),O.arraySet(i.window,e,r-n,t,i.wnext),(n-=t)?(O.arraySet(i.window,e,r-n,n,0),i.wnext=n,i.whave=i.wsize):(i.wnext+=t,i.wnext===i.wsize&&(i.wnext=0),i.whave<i.wsize&&(i.whave+=t))),0}function d(t,e){var r,n,i,a,s,o,h,d,l,u,f,c,_,p,m=0,g,b,w,v,y,k,x,z,C=new O.Buf8(4),A,E,S=[16,17,18,0,8,7,9,6,10,5,11,4,12,3,13,2,14,1,15];if(!t||!t.state||!t.output||!t.input&&0!==t.avail_in)return V;(r=t.state).mode===ht&&(r.mode=dt),s=t.next_out,i=t.output,h=t.avail_out,a=t.next_in,n=t.input,o=t.avail_in,d=r.hold,l=r.bits,u=o,f=h,z=H;t:for(;;)switch(r.mode){case J:if(0===r.wrap){r.mode=dt;break}while(l<16){if(0===o)break t;o--,d+=n[a++]<<l,l+=8}if(2&r.wrap&&35615===d){C[r.check=0]=255&d,C[1]=d>>>8&255,r.check=L(r.check,C,2,0),l=d=0,r.mode=Q;break}if(r.flags=0,r.head&&(r.head.done=!1),!(1&r.wrap)||(((255&d)<<8)+(d>>8))%31){t.msg="incorrect header check",r.mode=At;break}if((15&d)!=G){t.msg="unknown compression method",r.mode=At;break}if(l-=4,x=(15&(d>>>=4))+8,0===r.wbits)r.wbits=x;else if(x>r.wbits){t.msg="invalid window size",r.mode=At;break}r.dmax=1<<x,t.adler=r.check=1,r.mode=512&d?st:ht,l=d=0;break;case Q:while(l<16){if(0===o)break t;o--,d+=n[a++]<<l,l+=8}if(r.flags=d,(255&r.flags)!=G){t.msg="unknown compression method",r.mode=At;break}if(57344&r.flags){t.msg="unknown header flags set",r.mode=At;break}r.head&&(r.head.text=d>>8&1),512&r.flags&&(C[0]=255&d,C[1]=d>>>8&255,r.check=L(r.check,C,2,0)),l=d=0,r.mode=$;case $:while(l<32){if(0===o)break t;o--,d+=n[a++]<<l,l+=8}r.head&&(r.head.time=d),512&r.flags&&(C[0]=255&d,C[1]=d>>>8&255,C[2]=d>>>16&255,C[3]=d>>>24&255,r.check=L(r.check,C,4,0)),l=d=0,r.mode=tt;case tt:while(l<16){if(0===o)break t;o--,d+=n[a++]<<l,l+=8}r.head&&(r.head.xflags=255&d,r.head.os=d>>8),512&r.flags&&(C[0]=255&d,C[1]=d>>>8&255,r.check=L(r.check,C,2,0)),l=d=0,r.mode=et;case et:if(1024&r.flags){while(l<16){if(0===o)break t;o--,d+=n[a++]<<l,l+=8}r.length=d,r.head&&(r.head.extra_len=d),512&r.flags&&(C[0]=255&d,C[1]=d>>>8&255,r.check=L(r.check,C,2,0)),l=d=0}else r.head&&(r.head.extra=null);r.mode=rt;case rt:if(1024&r.flags&&(o<(c=r.length)&&(c=o),c&&(r.head&&(x=r.head.extra_len-r.length,r.head.extra||(r.head.extra=new Array(r.head.extra_len)),O.arraySet(r.head.extra,n,a,c,x)),512&r.flags&&(r.check=L(r.check,n,c,a)),o-=c,a+=c,r.length-=c),r.length))break t;r.length=0,r.mode=nt;case nt:if(2048&r.flags){if(0===o)break t;c=0;do{x=n[a+c++],r.head&&x&&r.length<65536&&(r.head.name+=String.fromCharCode(x))}while(x&&c<o);if(512&r.flags&&(r.check=L(r.check,n,c,a)),o-=c,a+=c,x)break t}else r.head&&(r.head.name=null);r.length=0,r.mode=it;case it:if(4096&r.flags){if(0===o)break t;c=0;do{x=n[a+c++],r.head&&x&&r.length<65536&&(r.head.comment+=String.fromCharCode(x))}while(x&&c<o);if(512&r.flags&&(r.check=L(r.check,n,c,a)),o-=c,a+=c,x)break t}else r.head&&(r.head.comment=null);r.mode=at;case at:if(512&r.flags){while(l<16){if(0===o)break t;o--,d+=n[a++]<<l,l+=8}if(d!==(65535&r.check)){t.msg="header crc mismatch",r.mode=At;break}l=d=0}r.head&&(r.head.hcrc=r.flags>>9&1,r.head.done=!0),t.adler=r.check=0,r.mode=ht;break;case st:while(l<32){if(0===o)break t;o--,d+=n[a++]<<l,l+=8}t.adler=r.check=B(d),l=d=0,r.mode=ot;case ot:if(0===r.havedict)return t.next_out=s,t.avail_out=h,t.next_in=a,t.avail_in=o,r.hold=d,r.bits=l,K;t.adler=r.check=1,r.mode=ht;case ht:if(e===M||e===j)break t;case dt:if(r.last){d>>>=7&l,l-=7&l,r.mode=xt;break}while(l<3){if(0===o)break t;o--,d+=n[a++]<<l,l+=8}switch(r.last=1&d,--l,3&(d>>>=1)){case 0:r.mode=lt;break;case 1:if(I(r),r.mode=mt,e===j){d>>>=2,l-=2;break t}break;case 2:r.mode=ct;break;case 3:t.msg="invalid block type",r.mode=At}d>>>=2,l-=2;break;case lt:d>>>=7&l,l-=7&l;while(l<32){if(0===o)break t;o--,d+=n[a++]<<l,l+=8}if((65535&d)!=(d>>>16^65535)){t.msg="invalid stored block lengths",r.mode=At;break}if(r.length=65535&d,l=d=0,r.mode=ut,e===j)break t;case ut:r.mode=ft;case ft:if(c=r.length){if(o<c&&(c=o),h<c&&(c=h),0===c)break t;O.arraySet(i,n,a,c,s),o-=c,a+=c,h-=c,s+=c,r.length-=c;break}r.mode=ht;break;case ct:while(l<14){if(0===o)break t;o--,d+=n[a++]<<l,l+=8}if(r.nlen=(31&d)+257,d>>>=5,l-=5,r.ndist=(31&d)+1,d>>>=5,l-=5,r.ncode=(15&d)+4,d>>>=4,l-=4,286<r.nlen||30<r.ndist){t.msg="too many length or distance symbols",r.mode=At;break}r.have=0,r.mode=_t;case _t:while(r.have<r.ncode){while(l<3){if(0===o)break t;o--,d+=n[a++]<<l,l+=8}r.lens[S[r.have++]]=7&d,d>>>=3,l-=3}while(r.have<19)r.lens[S[r.have++]]=0;if(r.lencode=r.lendyn,r.lenbits=7,A={bits:r.lenbits},z=N(U,r.lens,0,19,r.lencode,0,r.work,A),r.lenbits=A.bits,z){t.msg="invalid code lengths set",r.mode=At;break}r.have=0,r.mode=pt;case pt:while(r.have<r.nlen+r.ndist){for(;;){if(b=(m=r.lencode[d&(1<<r.lenbits)-1])>>>16&255,w=65535&m,(g=m>>>24)<=l)break;if(0===o)break t;o--,d+=n[a++]<<l,l+=8}if(w<16)d>>>=g,l-=g,r.lens[r.have++]=w;else{if(16===w){E=g+2;while(l<E){if(0===o)break t;o--,d+=n[a++]<<l,l+=8}if(d>>>=g,l-=g,0===r.have){t.msg="invalid bit length repeat",r.mode=At;break}x=r.lens[r.have-1],c=3+(3&d),d>>>=2,l-=2}else if(17===w){E=g+3;while(l<E){if(0===o)break t;o--,d+=n[a++]<<l,l+=8}l-=g,x=0,c=3+(7&(d>>>=g)),d>>>=3,l-=3}else{E=g+7;while(l<E){if(0===o)break t;o--,d+=n[a++]<<l,l+=8}l-=g,x=0,c=11+(127&(d>>>=g)),d>>>=7,l-=7}if(r.have+c>r.nlen+r.ndist){t.msg="invalid bit length repeat",r.mode=At;break}while(c--)r.lens[r.have++]=x}}if(r.mode===At)break;if(0===r.lens[256]){t.msg="invalid code -- missing end-of-block",r.mode=At;break}if(r.lenbits=9,A={bits:r.lenbits},z=N(F,r.lens,0,r.nlen,r.lencode,0,r.work,A),r.lenbits=A.bits,z){t.msg="invalid literal/lengths set",r.mode=At;break}if(r.distbits=6,r.distcode=r.distdyn,A={bits:r.distbits},z=N(Z,r.lens,r.nlen,r.ndist,r.distcode,0,r.work,A),r.distbits=A.bits,z){t.msg="invalid distances set",r.mode=At;break}if(r.mode=mt,e===j)break t;case mt:r.mode=gt;case gt:if(6<=o&&258<=h){t.next_out=s,t.avail_out=h,t.next_in=a,t.avail_in=o,r.hold=d,r.bits=l,D(t,f),s=t.next_out,i=t.output,h=t.avail_out,a=t.next_in,n=t.input,o=t.avail_in,d=r.hold,l=r.bits,r.mode===ht&&(r.back=-1);break}for(r.back=0;;){if(b=(m=r.lencode[d&(1<<r.lenbits)-1])>>>16&255,w=65535&m,(g=m>>>24)<=l)break;if(0===o)break t;o--,d+=n[a++]<<l,l+=8}if(b&&0==(240&b)){for(v=g,y=b,k=w;;){if(b=(m=r.lencode[k+((d&(1<<v+y)-1)>>v)])>>>16&255,w=65535&m,v+(g=m>>>24)<=l)break;if(0===o)break t;o--,d+=n[a++]<<l,l+=8}d>>>=v,l-=v,r.back+=v}if(d>>>=g,l-=g,r.back+=g,r.length=w,0===b){r.mode=kt;break}if(32&b){r.back=-1,r.mode=ht;break}if(64&b){t.msg="invalid literal/length code",r.mode=At;break}r.extra=15&b,r.mode=bt;case bt:if(r.extra){E=r.extra;while(l<E){if(0===o)break t;o--,d+=n[a++]<<l,l+=8}r.length+=d&(1<<r.extra)-1,d>>>=r.extra,l-=r.extra,r.back+=r.extra}r.was=r.length,r.mode=wt;case wt:for(;;){if(b=(m=r.distcode[d&(1<<r.distbits)-1])>>>16&255,w=65535&m,(g=m>>>24)<=l)break;if(0===o)break t;o--,d+=n[a++]<<l,l+=8}if(0==(240&b)){for(v=g,y=b,k=w;;){if(b=(m=r.distcode[k+((d&(1<<v+y)-1)>>v)])>>>16&255,w=65535&m,v+(g=m>>>24)<=l)break;if(0===o)break t;o--,d+=n[a++]<<l,l+=8}d>>>=v,l-=v,r.back+=v}if(d>>>=g,l-=g,r.back+=g,64&b){t.msg="invalid distance code",r.mode=At;break}r.offset=w,r.extra=15&b,r.mode=vt;case vt:if(r.extra){E=r.extra;while(l<E){if(0===o)break t;o--,d+=n[a++]<<l,l+=8}r.offset+=d&(1<<r.extra)-1,d>>>=r.extra,l-=r.extra,r.back+=r.extra}if(r.offset>r.dmax){t.msg="invalid distance too far back",r.mode=At;break}r.mode=yt;case yt:if(0===h)break t;if(c=f-h,r.offset>c){if(c=r.offset-c,c>r.whave&&r.sane){t.msg="invalid distance too far back",r.mode=At;break}_=c>r.wnext?(c-=r.wnext,r.wsize-c):r.wnext-c,c>r.length&&(c=r.length),p=r.window}else p=i,_=s-r.offset,c=r.length;h<c&&(c=h),h-=c,r.length-=c;do{i[s++]=p[_++]}while(--c);0===r.length&&(r.mode=gt);break;case kt:if(0===h)break t;i[s++]=r.length,h--,r.mode=gt;break;case xt:if(r.wrap){while(l<32){if(0===o)break t;o--,d|=n[a++]<<l,l+=8}if(f-=h,t.total_out+=f,r.total+=f,f&&(t.adler=r.check=(r.flags?L:R)(r.check,i,f,s-f)),f=h,(r.flags?d:B(d))!==r.check){t.msg="incorrect data check",r.mode=At;break}l=d=0}r.mode=zt;case zt:if(r.wrap&&r.flags){while(l<32){if(0===o)break t;o--,d+=n[a++]<<l,l+=8}if(d!==(4294967295&r.total)){t.msg="incorrect length check",r.mode=At;break}l=d=0}r.mode=Ct;case Ct:z=X;break t;case At:z=Y;break t;case Et:return W;case St:default:return V}if(t.next_out=s,t.avail_out=h,t.next_in=a,t.avail_in=o,r.hold=d,r.bits=l,(r.wsize||f!==t.avail_out&&r.mode<At&&(r.mode<xt||e!==P))&&T(t,t.output,t.next_out,f-t.avail_out))return r.mode=Et,W;return u-=t.avail_in,f-=t.avail_out,t.total_in+=u,t.total_out+=f,r.total+=f,r.wrap&&f&&(t.adler=r.check=(r.flags?L:R)(r.check,i,f,t.next_out-f)),t.data_type=r.bits+(r.last?64:0)+(r.mode===ht?128:0)+(r.mode===mt||r.mode===ut?256:0),(0==u&&0===f||e===P)&&z===H&&(z=q),z}function l(t){if(!t||!t.state)return V;var e=t.state;return e.window&&(e.window=null),t.state=null,H}function u(t,e){var t;if(!t||!t.state)return V;if(0==(2&(t=t.state).wrap))return V;return(t.head=e).done=!1,H}var O=t("../utils/common"),R=t("./adler32"),L=t("./crc32"),D=t("./inffast"),N=t("./inftrees"),U=0,F=1,Z=2,P=4,M=5,j=6,H=0,X=1,K=2,V=-2,Y=-3,W=-4,q=-5,G=8,J=1,Q=2,$=3,tt=4,et=5,rt=6,nt=7,it=8,at=9,st=10,ot=11,ht=12,dt=13,lt=14,ut=15,ft=16,ct=17,_t=18,pt=19,mt=20,gt=21,bt=22,wt=23,vt=24,yt=25,kt=26,xt=27,zt=28,Ct=29,At=30,Et=31,St=32,f=852,c=592,_,p=15,m=!0,g,b;r.inflateReset=a,r.inflateReset2=s,r.inflateResetKeep=i,r.inflateInit=h,r.inflateInit2=o,r.inflate=d,r.inflateEnd=l,r.inflateGetHeader=u,r.inflateInfo="pako inflate (from Nodeca project)"},{"../utils/common":27,"./adler32":29,"./crc32":31,"./inffast":34,"./inftrees":36}],36:[function(t,e,r){"use strict";var N=t("../utils/common"),U=15,F=852,Z=592,P=0,M=1,j=2,H=[3,4,5,6,7,8,9,10,11,13,15,17,19,23,27,31,35,43,51,59,67,83,99,115,131,163,195,227,258,0,0],X=[16,16,16,16,16,16,16,16,17,17,17,17,18,18,18,18,19,19,19,19,20,20,20,20,21,21,21,21,16,72,78],K=[1,2,3,4,5,7,9,13,17,25,33,49,65,97,129,193,257,385,513,769,1025,1537,2049,3073,4097,6145,8193,12289,16385,24577,0,0],V=[16,16,16,16,17,17,18,18,19,19,20,20,21,21,22,22,23,23,24,24,25,25,26,26,27,27,28,28,29,29,64,64];e.exports=function t(e,r,n,i,a,s,o,h){for(var d=h.bits,l=0,u=0,f=0,c=0,_=0,p=0,m=0,g=0,b=0,w=0,v,y,k,x,z,C=null,A=0,E,S=new N.Buf16(U+1),B=new N.Buf16(U+1),I=null,T=0,O,R,L,l=0;l<=U;l++)S[l]=0;for(u=0;u<i;u++)S[r[n+u]]++;for(_=d,c=U;1<=c;c--)if(0!==S[c])break;if(c<_&&(_=c),0===c)return a[s++]=1<<24|64<<16|0,a[s++]=1<<24|64<<16|0,h.bits=1,0;for(f=1;f<c;f++)if(0!==S[f])break;for(_<f&&(_=f),l=g=1;l<=U;l++)if(g<<=1,(g-=S[l])<0)return-1;if(0<g&&(e===P||1!==c))return-1;for(B[1]=0,l=1;l<U;l++)B[l+1]=B[l]+S[l];for(u=0;u<i;u++)0!==r[n+u]&&(o[B[r[n+u]]++]=u);if(E=e===P?(C=I=o,19):e===M?(C=H,A-=257,I=X,T-=257,256):(C=K,I=V,-1),l=f,z=s,k=-1,x=(b=1<<(p=_))-1,e===M&&F<b||e===j&&Z<b)return 1;for(var D=m=u=w=0;;){D++,O=l-m,L=o[u]<E?(R=0,o[u]):o[u]>E?(R=I[T+o[u]],C[A+o[u]]):(R=32+64,0),v=1<<l-m,f=y=1<<p;do{a[z+(w>>m)+(y-=v)]=O<<24|R<<16|L|0}while(0!==y);v=1<<l-1;while(w&v)v>>=1;if(0!==v?(w&=v-1,w+=v):w=0,u++,0==--S[l]){if(l===c)break;l=r[n+o[u]]}if(_<l&&(w&x)!==k){0===m&&(m=_),z+=f,g=1<<(p=l-m);while(p+m<c){if((g-=S[p+m])<=0)break;p++,g<<=1}if(b+=1<<p,e===M&&F<b||e===j&&Z<b)return 1;a[k=w&x]=_<<24|p<<16|z-s|0}}return 0!==w&&(a[z+w]=l-m<<24|64<<16|0),h.bits=_,0}},{"../utils/common":27}],37:[function(t,e,r){"use strict";e.exports={2:"need dictionary",1:"stream end",0:"","-1":"file error","-2":"stream error","-3":"data error","-4":"insufficient memory","-5":"buffer error","-6":"incompatible version"}},{}],38:[function(t,e,r){"use strict";function n(t){var e=t.length;while(0<=--e)t[e]=0}function h(t){return t<256?at[t]:at[256+(t>>>7)]}function i(t,e){t.pending_buf[t.pending++]=255&e,t.pending_buf[t.pending++]=e>>>8&255}function l(t,e,r){t.bi_valid>Y-r?(t.bi_buf|=e<<t.bi_valid&65535,i(t,t.bi_buf),t.bi_buf=e>>Y-t.bi_valid,t.bi_valid+=r-Y):(t.bi_buf|=e<<t.bi_valid&65535,t.bi_valid+=r)}function u(t,e,r){l(t,r[2*e],r[2*e+1])}function d(t,e){var r=0;do{r|=1&t,t>>>=1,r<<=1}while(0<--e);return r>>>1}function a(t){16===t.bi_valid?(i(t,t.bi_buf),t.bi_buf=0,t.bi_valid=0):8<=t.bi_valid&&(t.pending_buf[t.pending++]=255&t.bi_buf,t.bi_buf>>=8,t.bi_valid-=8)}function f(t,e){for(var r=e.dyn_tree,n=e.max_code,i=e.stat_desc.static_tree,a=e.stat_desc.has_stree,s=e.stat_desc.extra_bits,o=e.stat_desc.extra_base,h=e.stat_desc.max_length,d,l,u,f,c,_,p=0,f=0;f<=V;f++)t.bl_count[f]=0;for(r[2*t.heap[t.heap_max]+1]=0,d=t.heap_max+1;d<K;d++){if(h<(f=r[2*r[2*(l=t.heap[d])+1]+1]+1)&&(f=h,p++),r[2*l+1]=f,n<l)continue;t.bl_count[f]++,c=0,o<=l&&(c=s[l-o]),_=r[2*l],t.opt_len+=_*(f+c),a&&(t.static_len+=_*(i[2*l+1]+c))}if(0===p)return;do{f=h-1;while(0===t.bl_count[f])f--;t.bl_count[f]--,t.bl_count[f+1]+=2,t.bl_count[h]--,p-=2}while(0<p);for(f=h;0!==f;f--){l=t.bl_count[f];while(0!==l){if(n<(u=t.heap[--d]))continue;r[2*u+1]!==f&&(t.opt_len+=(f-r[2*u+1])*r[2*u],r[2*u+1]=f),l--}}}function c(t,e,r){for(var n=new Array(V+1),i=0,a,s,a=1;a<=V;a++)n[a]=i=i+r[a-1]<<1;for(s=0;s<=e;s++){var o=t[2*s+1];if(0===o)continue;t[2*s]=d(n[o]++,o)}}function s(){for(var t,e,r,n,i,a=new Array(V+1),r=0,n=0;n<P-1;n++)for(ot[n]=r,t=0;t<1<<$[n];t++)st[r++]=n;for(st[r-1]=n,n=i=0;n<16;n++)for(ht[n]=i,t=0;t<1<<tt[n];t++)at[i++]=n;for(i>>=7;n<H;n++)for(ht[n]=i<<7,t=0;t<1<<tt[n]-7;t++)at[256+i++]=n;for(e=0;e<=V;e++)a[e]=0;t=0;while(t<=143)nt[2*t+1]=8,t++,a[8]++;while(t<=255)nt[2*t+1]=9,t++,a[9]++;while(t<=279)nt[2*t+1]=7,t++,a[7]++;while(t<=287)nt[2*t+1]=8,t++,a[8]++;for(c(nt,j+1,a),t=0;t<H;t++)it[2*t+1]=5,it[2*t]=d(t,5);lt=new dt(nt,$,M+1,j,V),ut=new dt(it,tt,0,H,V),ft=new dt(new Array(0),et,0,X,W)}function o(t){for(var e,e=0;e<j;e++)t.dyn_ltree[2*e]=0;for(e=0;e<H;e++)t.dyn_dtree[2*e]=0;for(e=0;e<X;e++)t.bl_tree[2*e]=0;t.dyn_ltree[2*q]=1,t.opt_len=t.static_len=0,t.last_lit=t.matches=0}function _(t){8<t.bi_valid?i(t,t.bi_buf):0<t.bi_valid&&(t.pending_buf[t.pending++]=t.bi_buf),t.bi_buf=0,t.bi_valid=0}function p(t,e,r,n){_(t),n&&(i(t,r),i(t,~r)),I.arraySet(t.pending_buf,t.window,e,r,t.pending),t.pending+=r}function m(t,e,r,n){var i=2*e,a=2*r;return t[i]<t[a]||t[i]===t[a]&&n[e]<=n[r]}function g(t,e,r){var n=t.heap[r],i=r<<1;while(i<=t.heap_len){if(i<t.heap_len&&m(e,t.heap[i+1],t.heap[i],t.depth)&&i++,m(e,n,t.heap[i],t.depth))break;t.heap[r]=t.heap[i],r=i,i<<=1}t.heap[r]=n}function b(t,e,r){var n,i,a=0,s,o;if(0!==t.last_lit)do{n=t.pending_buf[t.d_buf+2*a]<<8|t.pending_buf[t.d_buf+2*a+1],i=t.pending_buf[t.l_buf+a],a++,0==n?u(t,i,e):(u(t,(s=st[i])+M+1,e),0!==(o=$[s])&&l(t,i-=ot[s],o),u(t,s=h(--n),r),0!==(o=tt[s])&&l(t,n-=ht[s],o))}while(a<t.last_lit);u(t,q,e)}function w(t,e){var r=e.dyn_tree,n=e.stat_desc.static_tree,i=e.stat_desc.has_stree,a=e.stat_desc.elems,s,o,h=-1,d;for(t.heap_len=0,t.heap_max=K,s=0;s<a;s++)0!==r[2*s]?(t.heap[++t.heap_len]=h=s,t.depth[s]=0):r[2*s+1]=0;while(t.heap_len<2)r[2*(d=t.heap[++t.heap_len]=h<2?++h:0)]=1,t.depth[d]=0,t.opt_len--,i&&(t.static_len-=n[2*d+1]);for(e.max_code=h,s=t.heap_len>>1;1<=s;s--)g(t,r,s);d=a;do{s=t.heap[1],t.heap[1]=t.heap[t.heap_len--],g(t,r,1),o=t.heap[1],t.heap[--t.heap_max]=s,t.heap[--t.heap_max]=o,r[2*d]=r[2*s]+r[2*o],t.depth[d]=(t.depth[s]>=t.depth[o]?t.depth[s]:t.depth[o])+1,r[2*s+1]=r[2*o+1]=d,t.heap[1]=d++,g(t,r,1)}while(2<=t.heap_len);t.heap[--t.heap_max]=t.heap[1],f(t,e),c(r,h,t.bl_count)}function v(t,e,r){var n,i=-1,a,s=e[0*2+1],o=0,h=7,d=4;for(0===s&&(h=138,d=3),e[2*(r+1)+1]=65535,n=0;n<=r;n++){if(a=s,s=e[2*(n+1)+1],++o<h&&a===s)continue;o<d?t.bl_tree[2*a]+=o:0!==a?(a!==i&&t.bl_tree[2*a]++,t.bl_tree[2*G]++):o<=10?t.bl_tree[2*J]++:t.bl_tree[2*Q]++,i=a,d=(o=0)===s?(h=138,3):a===s?(h=6,3):(h=7,4)}}function y(t,e,r){var n,i=-1,a,s=e[0*2+1],o=0,h=7,d=4;for(0===s&&(h=138,d=3),n=0;n<=r;n++){if(a=s,s=e[2*(n+1)+1],++o<h&&a===s)continue;if(o<d)do{u(t,a,t.bl_tree)}while(0!=--o);else 0!==a?(a!==i&&(u(t,a,t.bl_tree),o--),u(t,G,t.bl_tree),l(t,o-3,2)):o<=10?(u(t,J,t.bl_tree),l(t,o-3,3)):(u(t,Q,t.bl_tree),l(t,o-11,7));i=a,d=(o=0)===s?(h=138,3):a===s?(h=6,3):(h=7,4)}}function k(t){var e;for(v(t,t.dyn_ltree,t.l_desc.max_code),v(t,t.dyn_dtree,t.d_desc.max_code),w(t,t.bl_desc),e=X-1;3<=e;e--)if(0!==t.bl_tree[2*rt[e]+1])break;return t.opt_len+=3*(e+1)+5+5+4,e}function x(t,e,r,n){var i;for(l(t,e-257,5),l(t,r-1,5),l(t,n-4,4),i=0;i<n;i++)l(t,t.bl_tree[2*rt[i]+1],3);y(t,t.dyn_ltree,e-1),y(t,t.dyn_dtree,r-1)}function z(t){for(var e=4093624447,r,r=0;r<=31;r++,e>>>=1)if(1&e&&0!==t.dyn_ltree[2*r])return O;if(0!==t.dyn_ltree[9*2]||0!==t.dyn_ltree[10*2]||0!==t.dyn_ltree[13*2])return R;for(r=32;r<M;r++)if(0!==t.dyn_ltree[2*r])return R;return O}function C(t){_t||(s(),_t=!0),t.l_desc=new ct(t.dyn_ltree,lt),t.d_desc=new ct(t.dyn_dtree,ut),t.bl_desc=new ct(t.bl_tree,ft),t.bi_buf=0,t.bi_valid=0,o(t)}function A(t,e,r,n){l(t,(D<<1)+(n?1:0),3),p(t,e,r,!0)}function E(t){l(t,N<<1,3),u(t,q,nt),a(t)}function S(t,e,r,n){var i,a,s=0;0<t.level?(t.strm.data_type===L&&(t.strm.data_type=z(t)),w(t,t.l_desc),w(t,t.d_desc),s=k(t),i=t.opt_len+3+7>>>3,(a=t.static_len+3+7>>>3)<=i&&(i=a)):i=a=r+5,r+4<=i&&-1!==e?A(t,e,r,n):t.strategy===T||a===i?(l(t,(N<<1)+(n?1:0),3),b(t,nt,it)):(l(t,(U<<1)+(n?1:0),3),x(t,t.l_desc.max_code+1,t.d_desc.max_code+1,s+1),b(t,t.dyn_ltree,t.dyn_dtree)),o(t),n&&_(t)}function B(t,e,r){return t.pending_buf[t.d_buf+2*t.last_lit]=e>>>8&255,t.pending_buf[t.d_buf+2*t.last_lit+1]=255&e,t.pending_buf[t.l_buf+t.last_lit]=255&r,t.last_lit++,0===e?t.dyn_ltree[2*r]++:(t.matches++,e--,t.dyn_ltree[2*(st[r]+M+1)]++,t.dyn_dtree[2*h(e)]++),t.last_lit===t.lit_bufsize-1}var I=t("../utils/common"),T=4,O=0,R=1,L=2,D=0,N=1,U=2,F=3,Z=258,P=29,M=256,j=M+1+P,H=30,X=19,K=2*j+1,V=15,Y=16,W=7,q=256,G=16,J=17,Q=18,$=[0,0,0,0,0,0,0,0,1,1,1,1,2,2,2,2,3,3,3,3,4,4,4,4,5,5,5,5,0],tt=[0,0,0,0,1,1,2,2,3,3,4,4,5,5,6,6,7,7,8,8,9,9,10,10,11,11,12,12,13,13],et=[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,2,3,7],rt=[16,17,18,0,8,7,9,6,10,5,11,4,12,3,13,2,14,1,15],t=512,nt=new Array(2*(j+2));n(nt);var it=new Array(2*H);n(it);var at=new Array(t);n(at);var st=new Array(Z-F+1);n(st);var ot=new Array(P);n(ot);var ht=new Array(H);n(ht);var dt=function(t,e,r,n,i){this.static_tree=t,this.extra_bits=e,this.extra_base=r,this.elems=n,this.max_length=i,this.has_stree=t&&t.length},lt,ut,ft,ct=function(t,e){this.dyn_tree=t,this.max_code=0,this.stat_desc=e},_t=!1;r._tr_init=C,r._tr_stored_block=A,r._tr_flush_block=S,r._tr_tally=B,r._tr_align=E},{"../utils/common":27}],39:[function(t,e,r){"use strict";function n(){this.input=null,this.next_in=0,this.avail_in=0,this.total_in=0,this.output=null,this.next_out=0,this.avail_out=0,this.total_out=0,this.msg="",this.state=null,this.data_type=2,this.adler=0}e.exports=n},{}]},{},[9])(9)}(),"object"==typeof module&&(module.exports=Stimulsoft);;
!function(e,n){"object"==typeof exports&&"undefined"!=typeof module?n():"function"==typeof define&&define.amd?define(n):n()}(0,function(){"use strict";function e(e){var n=this.constructor;return this.then(function(t){return n.resolve(e()).then(function(){return t})},function(t){return n.resolve(e()).then(function(){return n.reject(t)})})}function n(e){return!(!e||"undefined"==typeof e.length)}function t(){}function o(e){if(!(this instanceof o))throw new TypeError("Promises must be constructed via new");if("function"!=typeof e)throw new TypeError("not a function");this._state=0,this._handled=!1,this._value=undefined,this._deferreds=[],c(e,this)}function r(e,n){for(;3===e._state;)e=e._value;0!==e._state?(e._handled=!0,o._immediateFn(function(){var t=1===e._state?n.onFulfilled:n.onRejected;if(null!==t){var o;try{o=t(e._value)}catch(r){return void f(n.promise,r)}i(n.promise,o)}else(1===e._state?i:f)(n.promise,e._value)})):e._deferreds.push(n)}function i(e,n){try{if(n===e)throw new TypeError("A promise cannot be resolved with itself.");if(n&&("object"==typeof n||"function"==typeof n)){var t=n.then;if(n instanceof o)return e._state=3,e._value=n,void u(e);if("function"==typeof t)return void c(function(e,n){return function(){e.apply(n,arguments)}}(t,n),e)}e._state=1,e._value=n,u(e)}catch(r){f(e,r)}}function f(e,n){e._state=2,e._value=n,u(e)}function u(e){2===e._state&&0===e._deferreds.length&&o._immediateFn(function(){e._handled||o._unhandledRejectionFn(e._value)});for(var n=0,t=e._deferreds.length;t>n;n++)r(e,e._deferreds[n]);e._deferreds=null}function c(e,n){var t=!1;try{e(function(e){t||(t=!0,i(n,e))},function(e){t||(t=!0,f(n,e))})}catch(o){if(t)return;t=!0,f(n,o)}}var a=setTimeout;o.prototype["catch"]=function(e){return this.then(null,e)},o.prototype.then=function(e,n){var o=new this.constructor(t);return r(this,new function(e,n,t){this.onFulfilled="function"==typeof e?e:null,this.onRejected="function"==typeof n?n:null,this.promise=t}(e,n,o)),o},o.prototype["finally"]=e,o.all=function(e){return new o(function(t,o){function r(e,n){try{if(n&&("object"==typeof n||"function"==typeof n)){var u=n.then;if("function"==typeof u)return void u.call(n,function(n){r(e,n)},o)}i[e]=n,0==--f&&t(i)}catch(c){o(c)}}if(!n(e))return o(new TypeError("Promise.all accepts an array"));var i=Array.prototype.slice.call(e);if(0===i.length)return t([]);for(var f=i.length,u=0;i.length>u;u++)r(u,i[u])})},o.resolve=function(e){return e&&"object"==typeof e&&e.constructor===o?e:new o(function(n){n(e)})},o.reject=function(e){return new o(function(n,t){t(e)})},o.race=function(e){return new o(function(t,r){if(!n(e))return r(new TypeError("Promise.race accepts an array"));for(var i=0,f=e.length;f>i;i++)o.resolve(e[i]).then(t,r)})},o._immediateFn="function"==typeof setImmediate&&function(e){setImmediate(e)}||function(e){a(e,0)},o._unhandledRejectionFn=function(e){void 0!==console&&console&&console.warn("Possible Unhandled Promise Rejection:",e)};var l=function(){if("undefined"!=typeof self)return self;if("undefined"!=typeof window)return window;if("undefined"!=typeof global)return global;throw Error("unable to locate global object")}();"Promise"in l?l.Promise.prototype["finally"]||(l.Promise.prototype["finally"]=e):l.Promise=o});
;
var __values=this&&this.__values||function(e){var t="function"==typeof Symbol&&Symbol.iterator,r=t&&e[t],n=0;if(r)return r.call(e);if(e&&"number"==typeof e.length)return{next:function(){return e&&n>=e.length&&(e=void 0),{value:e&&e[n++],done:!e}}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")},__extends=this&&this.__extends||function(){var n=function(e,t){return(n=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)t.hasOwnProperty(r)&&(e[r]=t[r])})(e,t)};return function(e,t){function r(){this.constructor=e}n(e,t),e.prototype=null===t?Object.create(t):(r.prototype=t.prototype,new r)}}(),__read=this&&this.__read||function(e,t){var r="function"==typeof Symbol&&e[Symbol.iterator];if(!r)return e;var n=r.call(e),i,a=[],o;try{while((void 0===t||0<t--)&&!(i=n.next()).done)a.push(i.value)}catch(e){o={error:e}}finally{try{i&&!i.done&&(r=n["return"])&&r.call(n)}finally{if(o)throw o.error}}return a},__spread=this&&this.__spread||function(){for(var e=[],t=0;t<arguments.length;t++)e=e.concat(__read(arguments[t]));return e},Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft;!function(e){var t,r,n,e;function i(){this.list=[]}r=t=e.System||(e.System={}),e=n=r.Collections||(r.Collections={}),i.prototype.toList=function(){return this.list.stimulsoft.toList()},i.prototype.toCast=function(){return this.list},Object.defineProperty(i.prototype,"count",{get:function(){return this.list.length},enumerable:!1,configurable:!0}),Object.defineProperty(i.prototype,"length",{get:function(){return this.list.length},enumerable:!1,configurable:!0}),i.prototype.clear=function(){this.list=[]},i.prototype.add=function(e){this.list.push(e)},i.prototype.addRange=function(e){var t,r,n,i;if(e instanceof Array)try{for(var a=__values(e),o=a.next();!o.done;o=a.next()){var s=o.value;this.add(s)}}catch(e){t={error:e}}finally{try{o&&!o.done&&(r=a.return)&&r.call(a)}finally{if(t)throw t.error}}else try{for(var u=__values(e.list),l=u.next();!l.done;l=u.next()){var s=l.value;this.add(s)}}catch(e){n={error:e}}finally{try{l&&!l.done&&(i=u.return)&&i.call(u)}finally{if(n)throw n.error}}},i.prototype.remove=function(e){var e=this.list.indexOf(e);0<=e&&this.list.splice(e,1)},i.prototype.removeAt=function(e){0<=e&&this.list.splice(e,1)},i.prototype.indexOf=function(e){return this.list.indexOf(e)},i.prototype.getByIndex=function(e){return this.list[e]},i.prototype.setByIndex=function(e,t){this.list[e]=t},i.prototype.insert=function(e,t){this.list.splice(e,0,t)},i.prototype.contains=function(e){return 0<=this.list.indexOf(e)},r=i,e.CollectionBase=r}(Stimulsoft=Stimulsoft||{}),function(e){var t,e,r,n;function i(){this.isSimpleKeys=!1,this.keys=new n.List,this.values=new n.List,this.indexObject={}}e=t=e.System||(e.System={}),n=r=e.Collections||(e.Collections={}),i.prototype.get=function(e){if(this.isSimpleKeys)return this.values[this.indexObject[e]];return this.values[this.keys.indexOf(e)]},i.prototype.set=function(e,t){var r,r;this.isSimpleKeys?"string"!=(r=typeof e)&&"number"!=r&&(this.isSimpleKeys=!1,this.indexObject={}):0==this.keys.length&&("string"!=(r=typeof e)&&"number"!=r||(this.isSimpleKeys=!0));var r=-1,r;0<=(r=this.isSimpleKeys?this.indexObject[e]:this.keys.indexOf(e))?this.values[r]=t:(this.isSimpleKeys&&(this.indexObject[e]=this.keys.length),this.keys.push(e),this.values.push(t))},i.prototype.add=function(e,t){this.set(e,t)},i.prototype.contains=function(e){if(this.isSimpleKeys)return null!=this.indexObject[e];return this.keys.contains(e)},i.prototype.containsKey=function(e){if(this.isSimpleKeys)return null!=this.indexObject[e];return this.keys.contains(e)},i.prototype.containsValue=function(e){return this.values.contains(e)},i.prototype.remove=function(e){var e,e=this.isSimpleKeys?this.indexObject[e]:this.keys.indexOf(e);if(0<=e&&(this.keys.removeAt(e),this.values.removeAt(e),this.isSimpleKeys)){this.indexObject={};for(var t=0;t<this.keys.length;t++)this.indexObject[this.keys[t]]=t}},i.prototype.clear=function(){this.keys=new n.List,this.values=new n.List,this.indexObject={},this.isSimpleKeys=!1},i.prototype.copyTo=function(e,t){var r,n;while(e.length<t)e.push(null);try{for(var i=__values(this.values),a=i.next();!a.done;a=i.next()){var o=a.value;e.length>t?e[t]=o:e.push(o),t++}}catch(e){r={error:e}}finally{try{a&&!a.done&&(n=i.return)&&n.call(i)}finally{if(r)throw r.error}}},Object.defineProperty(i.prototype,"count",{get:function(){return this.keys.length},enumerable:!1,configurable:!0}),i.prototype.clone=function(){var e=new i;return this.keys.copyTo(e.keys),this.values.copyTo(e.values),e},e=i,n.Hashtable=e}(Stimulsoft=Stimulsoft||{}),function(e){var t,r,n,e,i;function a(){return null!==i&&i.apply(this,arguments)||this}r=t=e.System||(e.System={}),e=n=r.Collections||(r.Collections={}),i=e.Hashtable,__extends(a,i),Object.defineProperty(a.prototype,"pairs",{get:function(){var r=this;return this.keys.map(function(e,t){return{key:e,value:r.values[t]}})},enumerable:!1,configurable:!0}),a.prototype.tryGetValue=function(e,t){var e=this.keys.indexOf(e);return t.ref=0<=e?this.values[e]:null,0<=e},r=a,e.Dictionary=r}(Stimulsoft=Stimulsoft||{}),function(e){var t,e,r,n,i;function a(){}e=t=e.System||(e.System={}),(n=r=e.Collections||(e.Collections={})).DictionaryEntry=a}(Stimulsoft=Stimulsoft||{}),function(I){var e;!function(e){function t(n){return function(e,t,r){r.enumerable=n}}function r(n){return function(e,t,r){var e=I.System.Type.getType(e);e.enumTypes||(e.enumTypes={}),e.enumTypes[t]||(e.enumTypes[t]=n)}}e.enumerable=t,e.enumType=r;var n=(m.prototype.is=function(e){if("is"in this.value)return this.value.is(e);if(e instanceof I.System.Interface&&"implements"in this.value)return-1!=this.value.implements().indexOf(e);if(!I.System.TypeHelper.getTypes().stimulsoft.contains(e)&&"function"==typeof this.value&&"function"==typeof e)return this.value==e||null==this.value.__proto__||"object"==typeof this.value.__proto__||this.value.__proto__.stimulsoft.is(e);if("function"==typeof e)return this.value instanceof e;return!1},m.prototype.is2=function(e){return this.is(e)},m.prototype.as=function(e){if(this.is(e))return this.value;return null},m.prototype.memberwiseClone=function(e){var t,r;if(void 0===e&&(e=!1),!e&&this.value["memberwiseClone"])return this.value.memberwiseClone();var n=m.getOwnPropertyNames(this.value),i=new(this.value.stimulsoft.getType());try{for(var a=__values(n),o=a.next();!o.done;o=a.next()){var s=o.value;i[s]=this.value[s]}}catch(e){t={error:e}}finally{try{o&&!o.done&&(r=a.return)&&r.call(a)}finally{if(t)throw t.error}}return i},m.prototype.equals=function(){for(var e,t,r,n=[],i=0;i<arguments.length;i++)n[i]=arguments[i];if(this.value["equals"])return(e=this.value).equals.apply(e,__spread(n));var a=n[0],e=typeof this.value;if("string"==e||"number"==e||"boolean"==e||"function"==e)return this.value==a;var o=m.getOwnPropertyNames(this.value);try{for(var s=__values(o),u=s.next();!u.done;u=s.next()){var l=u.value;if(null!=this.value[l]&&!this.value[l].stimulsoft.equals(a[l]))return!1}}catch(e){t={error:e}}finally{try{u&&!u.done&&(r=s.return)&&r.call(s)}finally{if(t)throw t.error}}return!0},m.prototype.getHashCode=function(){for(var e,t,r,n=[],i=0;i<arguments.length;i++)n[i]=arguments[i];if("number"==typeof this.value)return this.value;if(this.value["getHashCode"])return(e=this.value).getHashCode.apply(e,__spread(n));null==this.value["stiHashLink"]&&(this.value["stiHashLink"]=Math.random());var a=0;if(null!=this.value["btoa"])return a;var o=m.getOwnPropertyNames(this.value);try{for(var s=__values(o),u=s.next();!u.done;u=s.next()){var l=u.value;null!=this.value[l]&&"function"!=typeof this.value[l]&&(null!=this.value[l]["stiHashLink"]?a+=this.value[l]["stiHashLink"]:a+=this.value[l].stimulsoft.getHashCode())}}catch(e){t={error:e}}finally{try{u&&!u.done&&(r=s.return)&&r.call(s)}finally{if(t)throw t.error}}return a},m.prototype.compareTo=function(e){if(this.value["compareTo"])return this.value.compareTo(e);return-1},m.prototype.toBoolean=function(){if("1"==this.value.toString())return!0;return"true"==this.value.toString().toLowerCase()},m.prototype.toNumber=function(e){if(void 0===e&&(e=!0),!e)return parseInt(this.value);if("string"==typeof this.value&&0<=this.value.indexOf(","))return parseFloat(this.value.split(",").join("."));return parseFloat(this.value)},m.prototype.toString=function(){return this.value.toString()},m.prototype.getType=function(){if(this.value["getType"])return this.value.getType();if("function"==typeof this.value)return this.value;return this.value.constructor},m.prototype.getTypeName=function(){if(this.value["getTypeName"])return this.value.getTypeName();if(this.value==String)return String.prototype.stimulsoft.getTypeName();if(this.value==Number)return Number.prototype.stimulsoft.getTypeName();if(this.value==Array)return Array.prototype.stimulsoft.getTypeName();if(this.value==Boolean)return Boolean.prototype.stimulsoft.getTypeName();if(null!=this.value.ssTypeName)return this.value.ssTypeName;return"Object"},m.prototype.getNetTypeName=function(){if(this.value["getNetTypeName"])return this.value.getNetTypeName();if(this.value==String)return String.prototype.stimulsoft.getNetTypeName();if(this.value==Number)return Number.prototype.stimulsoft.getNetTypeName();if(this.value==Array)return Array.prototype.stimulsoft.getNetTypeName();if(this.value==Boolean)return Boolean.prototype.stimulsoft.getNetTypeName();if(null!=this.value.ssNamespace&&null!=this.value.ssTypeName)return this.value.ssNamespace+"."+this.value.ssTypeName;return"System.Object"},m.referenceEquals=function(e,t){return e==t},m.addEvent=function(e,t,r){e.addEventListener?e.addEventListener(t,r,!1):e.attachEvent&&e.attachEvent("on"+t,r)},m.equals=function(e,t){if(m.referenceEquals(e,t))return!0;if(null==e||null==t)return!1;return e.stimulsoft.equals(t)},m.disableAllEnumerable=function(e,t){for(var r in t)Object.defineProperty(e,r,{enumerable:!1})},m.keys=function(e){var t=[],r,r;for(r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.push(r);for(r in e.__proto__)Object.prototype.hasOwnProperty.call(e,r)&&t.push(r);return t},m.getOwnPropertyNames=function(e){return this.keys(e)},m.saveAs=function(e,t,r){if(void 0===r&&(r="application/octet-stream"),!e)return;e instanceof Array&&(e=new Uint8Array(e));var r=new Blob([e],{type:r});"internalSaveAs"in m||Object.defineProperty(m,"internalSaveAs",{value:function(d){if(void 0===d)return null;if("undefined"!=typeof navigator&&/MSIE [1-9]\./.test(navigator.userAgent))return null;var e=d.document,h=function(){return d.webkitURL||d.URL||d},c=e.createElementNS("http://www.w3.org/1999/xhtml","a"),f="download"in c,p=function(e){var t=new MouseEvent("click");e.dispatchEvent(t)},M=d.webkitRequestFileSystem,b=d.requestFileSystem||M||d.mozRequestFileSystem,a=function(e){(d.setImmediate||d.setTimeout)(function(){throw e},0)},g="application/octet-stream",v=0,r=500,S=function(e){var t=function(){"string"==typeof e?h().revokeObjectURL(e):e.remove()};d.chrome?t():setTimeout(t,r)},w=function(e,t,r){var n=(t=[].concat(t)).length;while(n--){var i=e["on"+t[n]];if("function"==typeof i)try{i.call(e,r||e)}catch(e){I.System.StiError.showError(e.message,!1),a(e)}}},N=function(e){if(/^\s*(?:text\/\S*|application\/xml|\S*\/\S*\+xml)\s*;.*charset\s*=\s*utf-8/i.test(e.type))return new Blob(["\ufeff",e],{type:e.type});return e},n=function(n,r,e){var i=this;e||(n=N(n));var t=this,e=n.type,a=!1,o,s,u=function(){w(i,"writestart progress write writeend".split(" "),void 0)},l=function(){if(a||!o)try{o=h().createObjectURL(n)}catch(e){o=h()}var e,t;s?s.location.href=o:(t=t||void 0,null==d.open(o,"_blank")&&void 0!==t&&(d.location.href=o)),i.readyState=i.DONE,u(),S(o)},m=function(e){return function(){if(this.readyState!==this.DONE)return e.apply(this,arguments)}},y={create:!0,exclusive:!1},t;if(t.readyState=t.INIT,r=r||"download",f){try{o=h().createObjectURL(n)}catch(e){o=h()}return c.href=o,c.download=r,void setTimeout(function(){p(c),u(),S(o),i.readyState=i.DONE})}if(d.chrome&&e&&e!==g&&(t=n.slice||n.webkitSlice,n=t.call(n,0,n.size,g),a=!0),M&&"download"!==r&&(r+=".download"),e!==g&&!M||(s=d),!b)return void l();v+=n.size,b(d.TEMPORARY,v,m(function(e){e.root.getDirectory("saved",y,m(function(e){var t=function(){e.getFile(r,y,m(function(r){r.createWriter(m(function(t){t.onwriteend=function(e){s.location.href=r.toURL(),this.readyState=this.DONE,w(this,"writeend",e),S(r)},t.onerror=function(){var e=t.error;e.code!==e.ABORT_ERR&&l()},"writestart progress write abort".split(" ").forEach(function(e){t["on"+e]=this["on"+e]}),t.write(n),this.abort=function(){t.abort(),this.readyState=this.DONE},this.readyState=this.WRITING}),l)}),l)};e.getFile(r,{create:!1},m(function(e){e.remove(),t()}),m(function(e){(e.code===e.NOT_FOUND_ERR?t:l)()}))}),l)}),l)},t=n.prototype,e=function(e,t,r){return new n(e,t,r)};if("undefined"!=typeof navigator&&navigator.msSaveOrOpenBlob)return function(e,t,r){return r||(e=N(e)),navigator.msSaveOrOpenBlob(e,t||"download")};return t.abort=function(){var e=this;e.readyState=e.DONE,w(e,"abort",void 0)},t.readyState=t.INIT=0,t.WRITING=1,t.DONE=2,t.error=t.onwritestart=t.onprogress=t.onwrite=t.onabort=t.onerror=t.onwriteend=null,e}("undefined"!=typeof self&&self||"undefined"!=typeof window&&window),enumerable:!1}),m.internalSaveAs(r,t)},m.init=function(){Object.defineProperty(Object.prototype,"stimulsoft",{get:function(){return new I.System.StiObject("function"==typeof this.valueOf?this.valueOf():null)},set:function(){},configurable:!0,enumerable:!1}),Object.defineProperty(Number.prototype,"stimulsoft",{get:function(){return new I.System.StiNumber(this.valueOf())},set:function(){},configurable:!0,enumerable:!1}),Object.defineProperty(String.prototype,"stimulsoft",{get:function(){return new I.System.StiString(this.valueOf())},set:function(){},configurable:!0,enumerable:!1}),Object.defineProperty(Boolean.prototype,"stimulsoft",{get:function(){return new I.System.StiBoolean(this.valueOf())},set:function(){},configurable:!0,enumerable:!1}),Object.defineProperty(Array.prototype,"stimulsoft",{get:function(){return new I.System.StiArray("function"==typeof this.valueOf?this.valueOf():null)},set:function(){},configurable:!0,enumerable:!1})},m.assign=function(t,r,n){return Object.keys(r).forEach(function(e){return t[e]=r[e]}),Object.keys(n).forEach(function(e){return t[e]=n[e]}),t},m.isNullOrUndefined=function(e){return null==e||void 0===e},m);function m(e){this.value=e,Object.defineProperty(m.prototype,"stimulsoft",{value:void 0,configurable:!0,enumerable:!1})}e.StiObject=n;var i=(__extends(o,a=n),o.prototype.getHashCode=function(){for(var e,t=[],r=0;r<arguments.length;r++)t[r]=arguments[r];var e=this.value.valueOf();return e%1==0?e:(e=e.toString().stimulsoft).getHashCode.apply(e,__spread(t))},o.prototype.is=function(e){if(e==Number)return!0;return!1},o.prototype.as=function(e){if(e==Number)return this.value;return null},o.prototype.memberwiseClone=function(e){return void 0===e&&(e=!1),this.value},o.prototype.compareTo=function(e){return this.value<e?-1:this.value>e?1:0},o.prototype.toShort=function(){if(32767<this.value)return(this.value-65536).stimulsoft.toShort();if(this.value<-32768)return(this.value+65536).stimulsoft.toShort();return this.value.valueOf()},o.prototype.toStringFormat=function(e){return s.parseFormatString(e,[this.value])},o.prototype.getType=function(){return Number},o.prototype.getTypeName=function(){return"Decimal"},o.prototype.getNetTypeName=function(){return"System.Decimal"},o.tryParse=function(e){var e=e.stimulsoft.toNumber();return{result:e,successfully:!isNaN(e)}},o),a;function o(){return null!==a&&a.apply(this,arguments)||this}e.StiNumber=i;var s=(__extends(N,u=n),N.prototype.is=function(e){if(e==String)return!0;return!1},N.prototype.as=function(e){if(e==String)return this.value;return null},N.prototype.memberwiseClone=function(e){return void 0===e&&(e=!1),this.value},N.prototype.replaceAll=function(e,t,r,n){if(null!=r){null==n&&(n=this.value.length);var i=this.value.substr(0,r),a=this.value.substr(r+n),o;return i+this.value.substr(r,n).split(e).join(t)+a}return this.value.split(e).join(t)},N.prototype.contains=function(e){return-1!=this.value.indexOf(e)},N.prototype.compareTo=function(e){return this.value.localeCompare(e)},N.prototype.isBase64String=function(){var e;return/^([0-9a-zA-Z+/]{4})*(([0-9a-zA-Z+/]{2}==)|([0-9a-zA-Z+/]{3}=))?$/.test(this.value)},N.prototype.remove=function(e,t){return void 0===t&&(t=Number.MAX_VALUE),this.value.substr(0,e)+this.value.substring(e+t)},N.prototype.insert=function(e,t,r){return void 0===r&&(r=0),this.value.substring(0,e)+t+this.value.substring(e+r,this.value.length)},N.prototype.padLeft=function(e,t){void 0===t&&(t=" ");var e=e-this.value.length;if(0<e){if(1==e)return t+this.value;return N.repeat(t,e)+this.value}return this.value},N.prototype.startsWith=function(e,t){if(void 0===t&&(t=!1),null==e)return!1;if(t)return this.value.toLowerCase().substr(0,e.length)==e.toLowerCase();return this.value.substr(0,e.length)==e},N.prototype.endsWith=function(e,t){if(void 0===t&&(t=!1),null==e)return!1;if(t)return this.value.toLowerCase().substr(this.value.length-e.length,e.length)==e.toLowerCase();return this.value.substr(this.value.length-e.length,e.length)==e},N.prototype.trimStart=function(e){void 0===e&&(e=" ");var t=this.value;while(0<t.length&&t.charAt(0)==e)t=t.substr(1);return t},N.prototype.trimEnd=function(e){void 0===e&&(e=" ");var t=this.value;while(0<t.length&&t.charAt(t.length-1)==e)t=t.substr(0,t.length-1);return t},N.prototype.getHashCode=function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];return I.ExternalLibrary.XXH.h32(this.value.valueOf(),43981).stimulsoft.toNumber()},N.prototype.toBytesArray=function(){return Array.prototype.map.call(this.value,function(e){return e.charCodeAt(0)})},N.prototype.toUnicodeString=function(){return unescape(encodeURIComponent(this.value))},N.prototype.fromUnicodeString=function(){try{return decodeURIComponent(escape(this.value))}catch(e){return decodeURIComponent(encodeURIComponent(this.value))}},N.prototype.indexOfAny=function(e){return N.indexOfAny(this.value,e)},N.prototype.regexIndexOf=function(e,t){var e=this.value.substring(t||0).search(e);return 0<=e?e+(t||0):e},N.prototype.regexLastIndexOf=function(e,t){e=e.global?e:new RegExp(e.source,"g"+(e.ignoreCase?"i":"")+(e.multiline?"m":"")),void 0===t?t=this.value.length:t<0&&(t=0);var r=this.value.substring(0,t+1),n=-1,i=0,a;while(null!=(a=e.exec(r)))n=a.index,e.lastIndex=++i;return n},N.prototype.split=function(){for(var r=[],e=0;e<arguments.length;e++)r[e]=arguments[e];var n="/";return r.forEach(function(e,t){return n+=t<r.length-1?"|":""}),n+="/",this.value.split(new RegExp(n))},N.prototype.getType=function(){return String},N.prototype.getTypeName=function(){return"String"},N.prototype.getNetTypeName=function(){return"System.String"},N.prototype.toString=function(){return this.value},N.isNullOrEmpty=function(e){return null==e||""===e||void 0===e},N.isNullOrWhiteSpace=function(e){return null==e||""===e.trim()},N.repeat=function(e,t){if(0==t)return"";for(var r=e,n=1;n<t;n++)r+=e;return r},N.fill=function(e,t){return N.repeat(e,t)},N.format=function(e){for(var t=[],r=1;r<arguments.length;r++)t[r-1]=arguments[r];var n="",i=0,a=0;while(i<e.length)if("{"==e.charAt(i)){while("{"==e.charAt(i))i++;a<i-1&&(n+=e.substring(a,i-1)),a=i;while(i<e.length&&"}"!=e.charAt(i))i++;a<i&&(n+=N.parseFormatString(e.substring(a,i),t)),a=++i}else i++;return a<i&&(n+=e.substring(a,i)),n},N.format1=function(e,t){var r="",n=0,i=0;while(n<e.length)if("{"==e.charAt(n)){while("{"==e.charAt(n))n++;i<n-1&&(r+=e.substring(i,n-1)),i=n;while(n<e.length&&"}"!=e.charAt(n))n++;i<n&&(r+=N.parseFormatString(e.substring(i,n),t)),i=++n}else n++;return i<n&&(r+=e.substring(i,n)),r},N.parseFormatString=function(e,t){var r=0;while(r<e.length&&I.System.Char.isDigit(e.charAt(r)))r++;if(0<r){var n=parseInt(e.substring(0,r),10),i="",a=-1,o=null;if(r+1<e.length&&":"==e.charAt(r)){if(N.isNullOrEmpty(t[n]))return"";if(t[n]instanceof I.System.DateTime||t[n]instanceof I.System.TimeSpan)return t[n].toString(e.substr(r+1));i=e.charAt(r+1),o=e.substr(r+1);var s=r+=2;while(r<e.length&&I.System.Char.isDigit(e.charAt(r)))r++;s<r&&(a=parseInt(e.substring(s,r),10))}if(0==i.length)return t[n];if(o.stimulsoft.startsWith("dd"))return null==t[n]?"":t[n];switch(i){case"F":case"f":var i=N.formatNumber(t[n],a,!1,!0);return null==i?t[n]:i;case"N":case"n":var u=N.formatNumber(t[n],a,!0,!0);return null==u?t[n]:u;case"P":case"p":var u=N.formatNumber(100*t[n],a,!0,!0);return null==u?t[n]:u+"%";case"C":case"c":var l=N.formatNumber(t[n],a,!0,!1);return null==l?t[n]:(t[n]<0?"-$":"$")+l;case"D":case"d":var l=Math.abs(t[n]).toString().stimulsoft.padLeft(a,"0");return"NaN"==l?t[n]:(t[n]<0?"-":"")+l;case"X":return t[n]<0&&(t[n]=4294967295+t[n]+1),t[n].toString(16).toUpperCase().stimulsoft.padLeft(a,"0");case"x":return t[n]<0&&(t[n]=4294967295+t[n]+1),t[n].toString(16).toLowerCase().stimulsoft.padLeft(a,"0");default:return N.customFormat(t[n],o)}}return""},N.formatNumber=function(e,t,r,n){var i=I.System.Globalization.CultureInfo.currentCulture.numberFormat.numberDecimalSeparator,a=I.System.Globalization.CultureInfo.currentCulture.numberFormat.numberGroupSeparator,o=I.System.Globalization.CultureInfo.currentCulture.numberFormat.numberGroupSizes[0];-1==t&&(t=2);var s="";if("number"!=typeof e)return null;e=Math.round2(e,t);var u=Math.abs(e).toString().replace(".",",").replace(",",i),e=e<0,l=u.substring(0,u.indexOf(i));if(0==l.length&&(l=u),0<o&&r){var m=l.length-o;while(0<=m)s=(0<m?a:"")+l.substr(m,o)+s,m-=o;m<0&&(s=l.substring(0,m+o)+s)}else s=l;if(0<t){var y,y=(y=u.substring(u.indexOf(i)+1)).substr(0,t);-1==u.indexOf(i)&&(y="");while(y.length<t)y+="0";s+=i+y}return n&&e&&(s="-"+s),s},N.customFormat=function(e,t){if(null==t||0==t.length)return e.toString();if("number"==typeof e)return N.customFormatNumber(e,t);var r;return(new I.System.SwitchSymbolFormatter).formatValue(t,e)},N.customFormatNumber=function(e,t){var r=["p.","$","€","¢","£","¤","¥","₣","₤","₧","₪","₫","฿","₠","₡","₢","₥","₦","₨","₩","₫"],n=I.System.Globalization.CultureInfo.currentCulture.numberFormat.numberDecimalSeparator,i=I.System.Globalization.CultureInfo.currentCulture.numberFormat.numberGroupSeparator,a="",o="",s="",u="",l=!1,m=-1,y=-1,d=0;for(r.forEach(function(e){t.stimulsoft.startsWith(e)&&(a=e),t.stimulsoft.endsWith(e)&&(o=e)}),d=0;d<t.length;d++){var h=t.charAt(d);if("."==h){l=!0,y=d;continue}if("0"==h||"#"==h){l?u+=h:s+=h;continue}l||(m=s.length)}if(0==u.length&&0==s.length)return t;var c=0;-1!=m&&(c=s.length-m);var f=u.length,p=u.lastIndexOf("0")+1,M=s.indexOf("0"),b=-1==M?0:s.length-M,g="",v=Math.round2(e,f)<0,S=Math.abs(e),r=Math.trunc(S),e=Math.pow(10,f),S=Math.round(Math.round2(S-r,f)*e);e<=S&&(r++,S=0);var w=r.toString();if(w.length<b&&(w=N.fill("0",b-w.length)+w),0!=r||0<b)if(0<c){d=w.length-c;while(0<=d)g=(0<d?i:"")+w.substr(d,c)+g,d-=c;d<0&&(g=w.substring(0,d+c)+g)}else g=w;if(0<f){M=(w=S.toString()).length;while(p<M&&"0"==w.charAt(M-1))M--;M!=w.length&&(w=w.substr(0,M));while(w.length<p)w="0"+w;0<w.length&&(g+=n+w)}return v&&(g="-"+g),a+g+o},N.indexOfAny=function(e,t){if(N.isNullOrEmpty(e)||0==t.length)return-1;for(var r=0;r<e.length;r++)for(var n=e.charAt(r),i=0;i<t.length;i++)if(t[i]==n)return r;return-1},N.join=function(e,t){for(var r=0,n=t.length,i="",a=r;a<n;a++)i+=t[a],a!=n-1&&(i+=e);return i},N.fromBytesArray=function(e){for(var t="",r=new Uint8Array(e),n=0;n<r.byteLength;n++)t+=String.fromCharCode(r[n]);return t},N),u;function N(){return null!==u&&u.apply(this,arguments)||this}e.StiString=s;var i=(__extends(y,l=n),y.prototype.is=function(e){if(e==Boolean)return!0;return!1},y.prototype.as=function(e){if(e==Boolean)return this.value;return null},y.prototype.memberwiseClone=function(e){return void 0===e&&(e=!1),this.value},y.prototype.getHashCode=function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];return 1==this.value?1:2},y.prototype.getType=function(){return Boolean},y.prototype.getTypeName=function(){return"Boolean"},y.prototype.getNetTypeName=function(){return"System.Boolean"},y),l;function y(){return null!==l&&l.apply(this,arguments)||this}e.StiBoolean=i;var i=(__extends(h,d=n),h.prototype.getHashCode=function(){var t,e,r=0;try{for(var n=__values(this.value),i=n.next();!i.done;i=n.next()){var a=i.value;null!=a&&(r+=a.stimulsoft.getHashCode())}}catch(e){t={error:e}}finally{try{i&&!i.done&&(e=n.return)&&e.call(n)}finally{if(t)throw t.error}}return r},h.prototype.getType=function(){return Boolean},h.prototype.getTypeName=function(){return"Array"},h.prototype.getNetTypeName=function(){var t,e,r="Byte";try{for(var n=__values(this.value),i=n.next();!i.done;i=n.next()){var a=i.value;if(null!=a){"string"==typeof a&&(r="String");break}}}catch(e){t={error:e}}finally{try{i&&!i.done&&(e=n.return)&&e.call(n)}finally{if(t)throw t.error}}return r+"[]"},Object.defineProperty(h.prototype,"countItems",{get:function(){var e;return n.keys(this.value).length},enumerable:!1,configurable:!0}),h.prototype.contains=function(e){return 0<=this.value.indexOf(e)},h.prototype.remove=function(e){this.contains(e)&&this.removeAt(this.value.indexOf(e))},h.prototype.removeAt=function(e){e<0?delete this.value[this.getByIndex(e)]:this.value.splice(e,1)},h.prototype.insert=function(e,t){this.value.splice(e,0,t)},h.prototype.clear=function(){this.value.splice(0,this.value.length)},h.prototype.clone=function(){var t,e,r=[];try{for(var n=__values(this.value),i=n.next();!i.done;i=n.next()){var a=i.value;r.push(a)}}catch(e){t={error:e}}finally{try{i&&!i.done&&(e=n.return)&&e.call(n)}finally{if(t)throw t.error}}return r},h.prototype.addRange=function(e){var t,r;try{for(var n=__values(e),i=n.next();!i.done;i=n.next()){var a=i.value;this.value.push(a)}}catch(e){t={error:e}}finally{try{i&&!i.done&&(r=n.return)&&r.call(n)}finally{if(t)throw t.error}}},h.prototype.removeRange=function(e,t){this.value.splice(e,t)},h.prototype.copyTo=function(e,t){void 0===t&&(t=0);for(var r=t,n=0;n<this.value.length;n++)e[r]=this.value[n],r++},h.prototype.getKeys=function(){var e;return n.keys(this.value).sort(function(e,t){return+e<+t?-1:+t<+e?1:0})},h.prototype.getByIndex=function(e,t){return void 0===t&&(t=null),null==t&&(t=this.getKeys()),this.value[t[e]]},h.prototype.setByIndex=function(e,t){var r=n.keys(this.value);this.value[r[e]]=t},h.prototype.removeByIndex=function(e){var e=this.value.indexOf(this.getByIndex(e));return delete this.value[e],this.value},h.prototype.sort2=function(r){return this.value.sort(function(e,t){return r.compare(e,t)})},h.prototype.getLength=function(e){if(0<e)return this.value[0].stimulsoft.getLength(e-1);return this.value.length},h.prototype.toArray=function(){var t,e,r=[];try{for(var n=__values(this.value),i=n.next();!i.done;i=n.next()){var a=i.value;r.push(a)}}catch(e){t={error:e}}finally{try{i&&!i.done&&(e=n.return)&&e.call(n)}finally{if(t)throw t.error}}return r},h.prototype.peek=function(){return this.value[this.value.length-1]},h.prototype.toList=function(){return new I.System.Collections.List(this.value)},h.create=function(e,t,r){void 0===r&&(r=!1);for(var n=[],i=0;i<t;i++){var a=null;e==Number&&(a=0),e==Boolean&&(a=!1),r&&(a=new e),n.push(a)}return n},h.create2=function(e,t,r,n){void 0===n&&(n=!1);for(var i=[],a=0;a<t;a++){var o=h.create(e,r,n);i.push(o)}return i},h.create3=function(e,t,r,n,i){void 0===i&&(i=!1);for(var a=[],o=0;o<t;o++){var s=h.create2(e,r,n,i);a.push(s)}return a},h.create1=function(e){for(var t=[],r=1;r<arguments.length;r++)t[r-1]=arguments[r];var n=!1;if("boolean"==typeof t[t.length-1]&&(n=!!t.pop()),0==t.length){if(e==Number)return 0;if(e==Boolean)return!1;return n?new e:null}for(var i=[],a=t.shift(),o=0;o<a;o++){var s=h.create.apply(this,[e].concat(t,[n]));i.push(s)}return i},h.sort3=function(e,r){var t,n,i=[];e.forEach(function(e,t){return i.push({key:e,item:r[t]})}),i.sort(function(e,t){return e.key.stimulsoft.compareTo(t.key)}),e.splice(0,e.length),r.splice(0,r.length);try{for(var a=__values(i),o=a.next();!o.done;o=a.next()){var s=o.value;e.push(s.key),r.push(s.item)}}catch(e){t={error:e}}finally{try{o&&!o.done&&(n=a.return)&&n.call(a)}finally{if(t)throw t.error}}},h.distinct=function(e){var t,r,n=[],i=[];try{for(var a=__values(e),o=a.next();!o.done;o=a.next()){var s=o.value,u=null==s?void 0:s.stimulsoft.getHashCode(),l;-1==i.indexOf(u)&&(n.push(s),i.push(u))}}catch(e){t={error:e}}finally{try{o&&!o.done&&(r=a.return)&&r.call(a)}finally{if(t)throw t.error}}return n},h.numberSortFunction=function(){return function(e,t){if(t<e)return 1;if(e<t)return-1;return 0}},h.copy=function(e,t,r,n){for(var i=t;i<t+n;i++)r[i]=e[i]},h.copy2=function(e,t,r,n,i){for(var a=0;a<i;a++)r[n+a]=e[t+a]},h.reverse=function(e){return e.reverse()},h.sort=function(e){return e.sort()},h.clear=function(e,t,r){var n=e[0].stimulsoft.getType();for(t;t<r;t++)n==Number?e[t]=0:n==Boolean?e[t]=!1:e[t]=null;return e},h),d;function h(e){var e=d.call(this,e)||this;return Object.defineProperty(h.prototype,"stimulsoft",{value:void 0,configurable:!0,enumerable:!1}),e}e.StiArray=i}(e=I.System||(I.System={}))}(Stimulsoft=Stimulsoft||{}),Array.from||(Array.from=function(){var t=Object.prototype.toString,d=function(e){return"function"==typeof e||"[object Function]"===t.call(e)},r=function(e){var e=Number(e);if(isNaN(e))return 0;if(0===e||!isFinite(e))return e;return(0<e?1:-1)*Math.floor(Math.abs(e))},n=Math.pow(2,53)-1,h=function(e){var e=r(e);return Math.min(Math.max(e,0),n)};return function e(t,r,n){var i=this,a=Object(t);if(null==t)throw new TypeError("Array.from requires an array-like object - not null or undefined");var o=1<arguments.length?r:void 0,s;if(void 0!==o){if(!d(o))throw new TypeError("Array.from: when provided, the second argument must be a function");2<arguments.length&&(s=n)}var u=h(a.length),l=d(i)?Object(new i(u)):new Array(u),m=0,y;while(m<u)y=a[m],l[m]=o?void 0===s?o(y,m):o.call(s,y,m):y,m+=1;return l.length=u,l}}()),Stimulsoft.System.StiObject.init(),function(e){var t,y,h,e;function d(){}y=t=e.System||(e.System={}),d.initialize=function(o){void 0===o&&(o=null),0==d.isInitialize&&(d._isNodeJs=!0,h=require,Stimulsoft.System.IO.File.getFile=d.getFile,Stimulsoft.System.IO.File.saveFile=d.saveFile,Stimulsoft.System.IO.File.getFilesNames=d.getFilesNames,Stimulsoft.System.IO.Path.getSep=d.getSep,Stimulsoft.StiVersion.platform=d.platform,Stimulsoft.Report.Dictionary.StiSqlAdapterService.prototype.callRemoteApi=d.callRemoteApi,d.useWebKit||(Stimulsoft.System.IO.Http.getFile=d.getFileHttp,Stimulsoft.System.Convert.fromBase64String=d.fromBase64String,Stimulsoft.System.Convert.fromBase64StringText=d.fromBase64StringText,Stimulsoft.System.Convert.toBase64String=d.toBase64String,y.StiString.prototype.fromUnicodeString=d.fromUnicodeString,Stimulsoft.Base.StiSettings.get=d.getSetting,Stimulsoft.Base.StiSettings.set=d.setSetting,Stimulsoft.System.StiObject.saveAs=d.saveAs,Stimulsoft.System.Xml.XmlConverter.toXml=Stimulsoft.System.Xml.XmlConverter.toXml2,Stimulsoft.System.Drawing.Image.prototype.convert=d.convert),d.getLocalizationInfo(function(e){var t,r;try{for(var n=__values(e),i=n.next();!i.done;i=n.next()){var a=i.value;(a.ext?Stimulsoft.Report.Check.StiLocalizationExt:Stimulsoft.Base.Localization.StiLocalization).addLocalizationFile(a.filePath,!1,a.language)}}catch(e){t={error:e}}finally{try{i&&!i.done&&(r=n.return)&&r.call(n)}finally{if(t)throw t.error}}null!=o&&o()}),delete Buffer.prototype.stimulsoft,Object.defineProperty(Buffer.prototype,"stimulsoft",{get:function(){return new Stimulsoft.System.StiObject(this.valueOf())},configurable:!0,enumerable:!1})),d.isInitialize=!0},d.platform=function(){var e;return h("os").platform()},d.callRemoteApi=function(e,t){var r=new y.StiPromise;if(y.StiString.isNullOrEmpty(Stimulsoft.StiOptions.WebServer.url)){var n=function(e){e&&e.success&&r.callTry(e),e&&!e.success&&r.callCatch(e.notice),e||r.callCatch({success:!1,notice:""})};"MySQL"==e.database&&d.processMySql(e,n),"Firebird"==e.database&&d.processFirebird(e,n),"MS SQL"==e.database&&d.processMsSql(e,n),"PostgreSQL"==e.database&&d.processPostgreSQL(e,n)}else try{e.rnd=Math.random();var i=h("sync-request"),a={headers:{},timeout:t,json:e};a.headers["Content-Type"]="application/json";var a=i("POST",Stimulsoft.StiOptions.WebServer.url,a),a;200==a.statusCode?(a=Stimulsoft.System.Text.Encoding.UTF8.getString(d.stripBom(a.getBody())),r.callTry(a)):r.callCatch(Stimulsoft.Base.Localization.StiLocalization.get("DesignerFx","ConnectionError"))}catch(e){Stimulsoft.System.StiError.showError(e,!1),r.callCatch(e.message)}return r},d.stripBom=function(e){if(Buffer.isBuffer(e)){if(239==e[0]&&187==e[1]&&191==e[2])return e.slice(3);if(254==e[0]&&255==e[1])return e.slice(2);if(255==e[0]&&254==e[1])return e.slice(2);if(0==e[0]&&0==e[1]&&254==e[2]&&255==e[3])return e.slice(4);if(255==e[0]&&254==e[1]&&0==e[2]&&0==e[3])return e.slice(4)}return e},d.getFile=function(e,t,r,n){if(void 0===t&&(t=!1),void 0===r&&(r=""),void 0===n&&(n=null),e.match(/(ftp|http|https):\/\/(\w+:{0,1}\w*@)?(\S+)(:[0-9]+)?(\/|\/([\w#!:.?+=&%@!\-\/]))?/gi))return Stimulsoft.System.IO.Http.getFile(e,t,r,n);var i;try{var a=h("fs"),i=d.stripBom(a.readFileSync(e.trim()));0==t&&"object"==typeof i&&(i=Stimulsoft.System.Text.Encoding.UTF8.getString(i))}catch(e){}return i},d.getFileHttp=function(e,t,r,n){var i,a;void 0===t&&(t=!1),void 0===r&&(r=""),void 0===n&&(n=null);try{var o=h("sync-request"),s={headers:{}};if(y.StiString.isNullOrEmpty(r)||(s.headers["Content-Type"]=r),n)try{for(var u=__values(n),l=u.next();!l.done;l=u.next()){var m=l.value;s.headers[m.key]=m.value}}catch(e){i={error:e}}finally{try{l&&!l.done&&(a=u.return)&&a.call(u)}finally{if(i)throw i.error}}var o=o("GET",e,s);if(200==o.statusCode){if(t)return o.body;return Stimulsoft.System.Text.Encoding.UTF8.getString(d.stripBom(o.getBody()))}throw 404==o.statusCode?new Error("File not Found"):new Error("Status "+o.statusCode)}catch(e){}},d.saveAs=function(e,t,r){var n;h("fs").writeFileSync(t,e)},d.saveFile=function(e,t){var r;h("fs").writeFile(e,t,function(e){e&&Stimulsoft.System.StiError.showError(e)})},d.getFilesNames=function(e){var t;return h("fs").readdirSync(e)},d.getSep=function(){var e;return h("path").sep},d.fromBase64String=function(e){for(var t=Buffer.from(e.toString(),"base64"),r=[],n=0;n<t.length;n++){var i=t[n];r.push(i)}return r},d.fromBase64StringText=function(e){return Buffer.from(e.toString(),"base64").toString("binary")},d.toBase64String=function(e){if(null==e)return null;return"string"==typeof e&&(e=e.stimulsoft.toUnicodeString()),Buffer.from(e).toString("base64")},d.fromUnicodeString=function(){return Buffer.from(this.toString(),"binary").toString("utf8")},d.isNodeJs=function(){return 0==this.isInitialize&&(this._isNodeJs="undefined"==typeof window),this._isNodeJs},d.isBuffer=function(e){return"undefined"!=typeof Buffer&&e instanceof Buffer},d.fillInfo=function(a,o){function s(){var e;while(null!==(e=u.read(200))){var t=e.indexOf("language"),t=e.indexOf('"',t)+1,r=e.indexOf('"',t),n=e.substring(t,r),i=e.indexOf("description"),i=e.indexOf('"',i)+1,t=e.indexOf('"',i),r=e.substring(i,t),i=e.indexOf("cultureName"),i=e.indexOf('"',i)+1,t=e.indexOf('"',i),t=e.substring(i,t);a.language=n,a.description=r,a.cultureName=t,u.removeListener("readable",s),o(a);break}}var e,u=h("fs").createReadStream(a.filePath);u.setEncoding("utf8"),u.on("readable",s),u.on("end",function(){})},d.getLocalizationInfo=function(o){var s=h("fs"),u=[],l=h("path"),m=d.localizationPath,y=0;s.exists(m,function(e){if(e){var t=s.readdirSync(m),r,r,n,i,a;for(r in 0==t.length&&o(u),t)".xml"==l.extname(t[r])&&y++;for(r in t){".xml"==l.extname(t[r])&&(n=m+"/"+t[r],a=!1,(i=l.basename(n,".xml")).indexOf(".ext")==i.length-4&&(a=!0),d.fillInfo({filePath:n,ext:a},function(e){u.push(e),u.length>=y&&o(u)}))}}else o(u)})},d.getSetting=function(e,t){return t},d.setSetting=function(e,t){},d.isInitialize=!1,d.convert=function(n,t){void 0===t&&(t=!1);var i=new y.StiPromise;try{var e=this.data[n.toString()],r,e,a;if(null!=e)return i.callTry(this),i;null==e&&(e=this.data[Stimulsoft.System.Drawing.Imaging.ImageFormat.Png.toString()]),null==e&&(e=this.data[Stimulsoft.System.Drawing.Imaging.ImageFormat.Bmp.toString()]),null==e&&(e=this.data[Stimulsoft.System.Drawing.Imaging.ImageFormat.Jpeg.toString()]),null==e&&(e=this.data[Stimulsoft.System.Drawing.Imaging.ImageFormat.Gif.toString()]),null!=e?(this._isConverting=!0,r=h("jimp"),e=Buffer.from(e.base64.replace(/^data:image\/\w+;base64,/,""),"base64"),a=this,r.read(e,function(e,r){if(e)return void i.callCatch(e);r.background(4294967295),t?r.getBuffer(n.mimeType,function(e,t){if(e)return void i.callCatch(e);a.imageData=t,r.getBase64(n.mimeType,function(e,t){if(e)return void i.callCatch(e);a.base64=t,a.isConverting=!1,i.callTry(a)})}):r.getBase64(n.mimeType,function(e,t){if(e)return void i.callCatch(e);a.base64=t,a.isConverting=!1,i.callTry(a)})})):i.callCatch("No Image")}catch(e){return i.callCatch(e.message),i}return i},d.processFirebird=function(e,t){var l=function(e){try{y&&y.detach(),t(e)}catch(e){throw Stimulsoft.System.StiError.showError(e,!1),e}},a=function(e){l({success:!1,notice:e})};try{var r=function(){u.attach(m,function(e,t){y=t,e?a(e.message):i()})},n=function(e){y.query(e,void 0,function(e,t){e?a(e.message):o(t),y.detach()})},i=function(){e.queryString?n(e.queryString):l({success:!0})},o=function(e){var t=[],r=[],n=[],i=!1,a;for(a in e){var o=[],s;for(s in e[a]){i||t.push(s);var u=t.indexOf(s);n[u]=typeof e[a][s],e[a][s]instanceof Uint8Array&&(e[a][s]=e[a][s].toString(),n[u]="string"),null!=e[a][s]&&"function"==typeof e[a][s].toISOString&&(e[a][s]=e[a][s].toISOString(),n[u]="datetime"),o[u]=e[a][s]}i=!0,r.push(o)}l({success:!0,columns:t,rows:r,types:n})},s=function(e){var t={host:"localhost",port:"3050"},r=!1,n;for(n in e.split(";")){var i=e.split(";")[n];if(i){var i=i.split("=");if(i&&2<=i.length)switch(i[0]=i[0].trim().toLowerCase(),i[1]=i[1].trim(),i[0]){case"server":case"host":case"location":case"datasource":case"data source":t["host"]=i[1];break;case"port":t["port"]=i[1];break;case"database":t["database"]=i[1],r=!0;break;case"uid":case"user":case"user id":t["userId"]=i[1];break;case"pwd":case"password":t["password"]=i[1];break;case"charset":t["charset"]=i[1];break}}}if(!r)return a("Connection String parse error"),null;return t},u=h("node-firebird"),m,y;e.connectionStringInfo=s(e.connectionString),e.connectionStringInfo&&(m={host:e.connectionStringInfo.host,port:e.connectionStringInfo.port,database:e.connectionStringInfo.database,user:e.connectionStringInfo.userId,password:e.connectionStringInfo.password,charset:e.connectionStringInfo.charset},r())}catch(e){Stimulsoft.System.StiError.showError(e,!1),a(e.stack)}},d.processMsSql=function(e,t){var l=function(e){try{d&&d.close(),t(e)}catch(e){throw Stimulsoft.System.StiError.showError(e,!1),e}},r=function(e){l({success:!1,notice:e})};try{var n=function(){d=new m.ConnectionPool(y,function(e){e?r(e.message):a()})},i=function(e){var t;d.request().query(e,function(e,t){e?r(e.message):o(t)})},a=function(){e.queryString?i(e.queryString):l({success:!0})},o=function(e){var t=[],r=[],n=[],i,a;for(i in 0<(e=e.recordset).length&&Array.isArray(e[0])&&(e=e[0]),e.columns){var o=e.columns[i],s=o.index;switch(t.push(o.name),o.type){case m.Bit:case m.SmallInt:case m.Int:case m.BigInt:n[s]="int";break;case m.Decimal:case m.Float:case m.Money:case m.Numeric:case m.SmallMoney:case m.Real:n[s]="number";break;case m.TinyInt:n[s]="boolean";break;case m.Char:case m.NChar:case m.Text:case m.NText:case m.VarChar:case m.NVarChar:case m.Xml:n[s]="string";break;case m.Time:case m.Date:case m.DateTime:case m.DateTime2:case m.DateTimeOffset:case m.SmallDateTime:n[s]="datetime";break;case m.UniqueIdentifier:n[s]="string";break;case m.Variant:n[s]="string";break;case m.Binary:case m.VarBinary:case m.Image:n[s]="string";break;case m.UDT:case m.Geography:case m.Geometry:n[s]="string";break}}for(a in 0<e.length&&Array.isArray(e[0])&&(e=e[0]),e){var u=[],i,s;for(i in e[a]){"array"!=n[s=t.indexOf(i)]&&(n[s]=typeof e[a][i]),e[a][i]instanceof Uint8Array&&(n[s]="array",e[a][i]=Buffer.from(e[a][i]).toString("base64")),null!=e[a][i]&&"function"==typeof e[a][i].toISOString&&(e[a][i]=e[a][i].toISOString(),n[s]="datetime"),u[s]=e[a][i]}r.push(u)}l({success:!0,columns:t,rows:r,types:n})},s=function(e){var t={},r,n=/(.*),([0-9]+)/.exec(e);n&&(t.port=n[2].trim(),e=n[1].trim());var i,n=/(.*)\\(.*)/.exec(e);return n&&(t.instanceName=n[2].trim(),e=n[1].trim()),t.host=e,t},u=function(e){var t={options:{}},r;for(r in e.split(";")){var n=e.split(";")[r];if(n){var i=n.split("=");if(i&&2<=i.length)switch(i[0]=i[0].trim().toLowerCase(),i[1]=i[1].trim(),i[0]){case"data source":case"server":var n=s(i[1]);t["server"]=n.host,"port"in n&&(t["port"]=+n.port),"instanceName"in n&&(t.options["instanceName"]=n.instanceName);break;case"database":case"initial catalog":t["database"]=i[1];break;case"uid":case"user":case"user id":t["user"]=i[1];break;case"pwd":case"password":t["password"]=i[1];break;case"domain":t["domain"]=i[1];break;case"encrypt":t.options["encrypt"]=i[1];break;case"connectiontimeout":t.options["connectionTimeout"]=i[1];break;case"requesttimeout":t.options["requestTimeout"]=i[1];break;case"tdsversion":t.options["tdsVersion"]=i[1];break;case"trustservercertificate":t.options["trustServerCertificate"]=i[1];break}}}return t},m=h("mssql"),y=u(e.connectionString),d;!("connectionTimeout"in y)&&"timeout"in e&&(y["connectionTimeout"]=e.timeout),!("requestTimeout"in y)&&"timeout"in e&&(y["requestTimeout"]=e.timeout),n()}catch(e){Stimulsoft.System.StiError.showError(e,!1),r(e.stack)}},d.processMySql=function(r,t){var y=function(e){try{l&&l.end(),t(e)}catch(e){throw Stimulsoft.System.StiError.showError(e,!1),e}},n=function(e){y({success:!1,notice:e})};try{var e=function(){l.connect(function(e){e?n(e.message):a()})},i=function(e,t){l.query("USE "+r.connectionStringInfo.database),l.query({sql:e,timeout:t},function(e,t,r){e?n(e.message):o(t,r)})},a=function(){r.queryString?i(r.queryString,r.timeout):y({success:!0})},o=function(e,t){var r=[],n=[],i=[],a,o;for(a in 0<t.length&&Array.isArray(t[0])&&(t=t[0]),t){var s=t[a];switch(r.push(s.name),s.type){case 1:i[a]="boolean";break;case 2:case 3:case 5:case 8:case 9:case 16:i[a]="int";break;case 0:case 246:case 4:i[a]="number";break;case 15:case 253:case 254:i[a]="string";break;case 10:case 11:case 19:case 12:case 18:case 13:case 14:i[a]="datetime";break;case 7:case 17:case 245:case 6:case 247:case 248:case 255:i[a]="string";break}}for(o in 0<e.length&&Array.isArray(e[0])&&(e=e[0]),e){var u=[],l;for(l in e[o]){var m=r.indexOf(l);"array"!=i[m]&&(i[m]=typeof e[o][l]),e[o][l]instanceof Uint8Array&&(i[m]="array",e[o][l]=Buffer.from(e[o][l]).toString("base64")),null!=e[o][l]&&"function"==typeof e[o][l].toISOString&&(e[o][l]=e[o][l].toISOString(),i[m]="datetime"),u[m]=e[o][l]}n.push(u)}y({success:!0,columns:r,rows:n,types:i})},s=function(e){var t={host:"localhost",port:"3306",charset:"utf8"},r;for(r in e.split(";")){var n=e.split(";")[r];if(n){var n=n.split("=");if(n&&2<=n.length)switch(n[0]=n[0].trim().toLowerCase(),n[1]=n[1].trim(),n[0]){case"server":case"host":case"location":t["host"]=n[1];break;case"port":t["port"]=n[1];break;case"database":case"data source":t["database"]=n[1];break;case"uid":case"user":case"username":case"userid":case"user id":t["userId"]=n[1];break;case"pwd":case"password":t["password"]=n[1];break;case"charset":t["charset"]=n[1];break}}}return t},u=h("mysql");r.connectionStringInfo=s(r.connectionString);var l=u.createConnection({host:r.connectionStringInfo.host,user:r.connectionStringInfo.userId,password:r.connectionStringInfo.password,port:r.connectionStringInfo.port,charset:r.connectionStringInfo.charset,database:r.connectionStringInfo.database});e()}catch(e){Stimulsoft.System.StiError.showError(e,!1),n(e.stack)}},d.processPostgreSQL=function(e,t){var l=function(e){try{m&&m.end(),t(e)}catch(e){}},r=function(e){l({success:!1,notice:e})};try{var n=function(){m.connect(function(e){e?r(e):a()})},i=function(e){m.query(e,function(e,t){e?r(e):o(t)})},a=function(){e.queryString?i(e.queryString):l({success:!0})},o=function(e){var t=[],r=[],n=[],i,a;for(i in e.fields){var o=e.fields[i];switch(t.push(o.name),o.dataTypeID){case 16:n[i]="boolean";break;case 17:case 18:case 19:n[i]="string";break;case 20:case 21:case 23:n[i]="int";break;case 24:case 25:case 26:case 27:case 28:case 29:case 114:case 142:case 194:case 210:case 602:case 604:case 650:n[i]="string";break;case 700:case 701:n[i]="number";break;case 702:case 703:case 704:case 718:case 774:n[i]="string";break;case 790:n[i]="number";break;case 829:case 869:case 1033:case 1042:case 1043:n[i]="string";break;case 1082:case 1083:n[i]="datetime";break;case 1114:case 1184:case 1186:case 1266:case 1560:case 1562:case 1700:case 1790:case 2202:case 2203:case 2204:case 2205:case 2206:case 2950:case 2970:case 3220:case 3361:case 3402:case 3614:case 3615:case 3642:case 3734:case 3769:case 3802:case 4089:case 4096:n[i]="string";break;default:n[i]="string";break}}for(a in 0<e.rows.length&&Array.isArray(e.rows[0])&&(e.rows=e.rows[0]),e.rows){var s=[],u,i;for(u in e.rows[a]){"array"!=n[i=t.indexOf(u)]&&(n[i]=typeof e.rows[a][u]),e.rows[a][u]instanceof Uint8Array&&(n[i]="array",e.rows[a][u]=Buffer.from(e.rows[a][u]).toString("base64")),null!=e.rows[a][u]&&"function"==typeof e.rows[a][u].toISOString&&(e.rows[a][u]=e.rows[a][u].toISOString(),n[i]="datetime"),s[i]=e.rows[a][u]}r.push(s)}l({success:!0,columns:t,rows:r,types:n})},s=function(e){var t={port:5432},r;for(r in e.split(";")){var n=e.split(";")[r];if(n){var n=n.split("=");if(n&&2<=n.length)switch(n[0]=n[0].trim().toLowerCase(),n[1]=n[1].trim(),n[0]){case"data source":case"server":case"host":t["host"]=n[1];break;case"port":t["port"]=n[1];break;case"database":case"location":t["database"]=n[1];break;case"uid":case"user":case"user id":t["userId"]=n[1];break;case"pwd":case"password":t["password"]=n[1];break;case"ssl":t["ssl"]=n[1];break;case"sslmode":"require"==n[1]?t["ssl"]=1:"disable"==n[1]&&(t["ssl"]=0);break}}}return t},u=h("pg");e.connectionString.startsWith("postgres://")?e.postgreConnectionString=e.connectionString:(e.connectionStringInfo=s(e.connectionString),e.postgreConnectionString="postgres://"+e.connectionStringInfo.userId+":"+e.connectionStringInfo.password+"@"+e.connectionStringInfo.host,null!=e.connectionStringInfo.port&&(e.postgreConnectionString+=":"+e.connectionStringInfo.port),e.postgreConnectionString+="/"+e.connectionStringInfo.database);var m=new u.Client(e.postgreConnectionString);n()}catch(e){r(e.stack)}},d._isNodeJs=!1,d.isStandaloneVersion=!1,d.useWebKit=!0,d.consoleLog=!0,d.localizationPath="",e=d,y.NodeJs=e}(Stimulsoft=Stimulsoft||{}),function(e){var t,r,n,e;function i(){}r=t=e.System||(e.System={}),e=n=r.Globalization||(r.Globalization={}),i.prototype.toTitleCase=function(e){if(null==e)return e;var t=e.split(" "),r;for(r in t){if(0==t[r].length)continue;t[r]=t[r].stimulsoft.insert(0,t[r][0].toUpperCase(),1)}return t.join(" ")},r=i,e.TextInfo=r}(Stimulsoft=Stimulsoft||{}),function(e){var t,r,n,e;function i(e,t,r,n,i,a,o,s,u,l,m,y,d,h,c,f,p,M,b,g,v,S,w,N,I){if(this.numberDecimalSeparator=".",this.numberDecimalDigits=2,this.numberGroupSeparator=" ",this.numberGroupSizes=[3],this.numberNegativePattern=1,this.currencyDecimalDigits=2,this.currencyDecimalSeparator=",",this.currencyGroupSeparator=" ",this.currencyGroupSizes=[3],this.currencyNegativePattern=5,this.currencyPositivePattern=1,this.currencySymbol="$",this.percentDecimalDigits=2,this.percentDecimalSeparator=",",this.percentGroupSeparator=" ",this.percentGroupSizes=[3],this.percentNegativePattern=1,this.percentPositivePattern=1,this.percentSymbol="%",this.perMilleSymbol="‰",this.positiveInfinitySymbol="Infinity",this.positiveSign="+",this.NaNSymbol="NaN",this.negativeInfinitySymbol="-Infinity",this.negativeSign="-",!e)return;this.numberDecimalSeparator=e,this.numberDecimalDigits=t,this.numberGroupSeparator=r,this.numberGroupSizes=n,this.numberNegativePattern=i,this.currencyDecimalDigits=a,this.currencyDecimalSeparator=o,this.currencyGroupSeparator=s,this.currencyGroupSizes=u,this.currencyNegativePattern=l,this.currencyPositivePattern=m,this.currencySymbol=y,this.percentDecimalDigits=d,this.percentDecimalSeparator=h,this.percentGroupSeparator=c,this.percentGroupSizes=f,this.percentNegativePattern=p,this.percentPositivePattern=M,this.percentSymbol=b,this.perMilleSymbol=g,this.positiveInfinitySymbol=v,this.positiveSign=S,this.NaNSymbol=w,this.negativeInfinitySymbol=N,this.negativeSign=I}r=t=e.System||(e.System={}),e=n=r.Globalization||(r.Globalization={}),i.prototype.getFormat=function(e){return e instanceof i?this:null},r=i,e.NumberFormatInfo=r}(Stimulsoft=Stimulsoft||{}),function(e){var t,e,r,n,i;function a(e,t,r,n,i,a,o,s,u,l,m,y,d,h,c){this.shortDatePattern=e,this.dateSeparator=t,this.longDatePattern=r,this.dayNames=n,this.monthNames=i,this.shortestDayNames=a,this.abbreviatedMonthNames=o,this.monthGenitiveNames=s,this.timeSeparator=u,this.AMDesignator=l,this.PMDesignator=m,this.fullDateTimePattern=y,this.shortTimePattern=d,this.longTimePattern=h,this.yearMonthPattern=c}e=t=e.System||(e.System={}),(n=r=e.Globalization||(e.Globalization={})).DateTimeFormatInfo=a}(Stimulsoft=Stimulsoft||{}),function(r){var e,t,n,i;function a(e,t,r){var e;void 0===t&&(t=null),void 0===r&&(r=null),this.textInfo=new i.TextInfo,this.name=e,null!=t?(this.numberFormat=t,this.dateTimeFormat=r):(null==(e=a.cultures[e])&&(e=a.currentCulture),this.numberFormat=e.numberFormat,this.dateTimeFormat=e.dateTimeFormat)}t=e=r.System||(r.System={}),i=n=t.Globalization||(t.Globalization={}),Object.defineProperty(a,"currentCulture",{get:function(){var e;return this._currentCulture||(e="en",r.System.NodeJs.useWebKit&&(e=navigator.language||navigator["userLanguage"]),this.cultures[e]?this._currentCulture=this.cultures[e]:e&&0<e.indexOf("-")&&this.cultures[e.substring(0,e.indexOf("-")).toLowerCase()]?this._currentCulture=this.cultures[e.substring(0,e.indexOf("-")).toLowerCase()]:this._currentCulture=this.cultures["en"]),this._currentCulture},set:function(e){this._currentCulture=e},enumerable:!1,configurable:!0}),Object.defineProperty(a,"cultures",{get:function(){if(null==this._cultures)for(var e in this._cultures={},this._cultures["ar"]=new a("ar",new i.NumberFormatInfo(".",2,",",[3],3,2,".",",",[3],3,2,"ر.س.",2,".",",",[3],0,0,"%","‰","+لا نهاية","+","ليس برقم","-لا نهاية","-"),new i.DateTimeFormatInfo("dd/MM/yy","/","dd/MMMM/yyyy",["الأحد","الإثنين","الثلاثاء","الأربعاء","الخميس","الجمعة","السبت"],["محرم","صفر","ربيع الأول","ربيع الثاني","جمادى الأولى","جمادى الثانية","رجب","شعبان","رمضان","شوال","ذو القعدة","ذو الحجة",""],["ح","ن","ث","ر","خ","ج","س"],["محرم","صفر","ربيع الأول","ربيع الثاني","جمادى الأولى","جمادى الثانية","رجب","شعبان","رمضان","شوال","ذو القعدة","ذو الحجة",""],["محرم","صفر","ربيع الأول","ربيع الثاني","جمادى الأولى","جمادى الثانية","رجب","شعبان","رمضان","شوال","ذو القعدة","ذو الحجة",""],":","ص","م","dd/MMMM/yyyy hh:mm:ss tt","hh:mm tt","hh:mm:ss tt","MMMM, yyyy")),this._cultures["bg"]=new a("bg",new i.NumberFormatInfo(",",2," ",[3],1,2,","," ",[3],8,3,"лв.",2,","," ",[3],0,0,"%","‰","+ безкрайност","+","NaN","- безкрайност","-"),new i.DateTimeFormatInfo("d.M.yyyy [г.]",".","dd MMMM yyyy [г.]",["неделя","понеделник","вторник","сряда","четвъртък","петък","събота"],["януари","февруари","март","април","май","юни","юли","август","септември","октомври","ноември","декември",""],["н","п","в","с","ч","п","с"],["ян","февр","март","апр","май","юни","юли","авг","септ","окт","ноември","дек",""],["януари","февруари","март","април","май","юни","юли","август","септември","октомври","ноември","декември",""],":","","","dd MMMM yyyy [г.] HH:mm:ss 'ч.'","HH:mm 'ч.'","HH:mm:ss 'ч.'","MMMM yyyy [г.]")),this._cultures["ca"]=new a("ca",new i.NumberFormatInfo(",",2,".",[3],1,2,",",".",[3],8,3,"€",2,",",".",[3],0,0,"%","‰","Infinit","+","NeuN","-Infinit","-"),new i.DateTimeFormatInfo("dd/MM/yyyy","/","dddd, d[ / ]MMMM[ / ]yyyy",["diumenge","dilluns","dimarts","dimecres","dijous","divendres","dissabte"],["gener","febrer","març","abril","maig","juny","juliol","agost","setembre","octubre","novembre","desembre",""],["dg","dl","dt","dc","dj","dv","ds"],["gen","feb","març","abr","maig","juny","jul","ag","set","oct","nov","des",""],["gener","febrer","març","abril","maig","juny","juliol","agost","setembre","octubre","novembre","desembre",""],":","","","dddd, d[ / ]MMMM[ / ]yyyy HH:mm:ss","HH:mm","HH:mm:ss","MMMM[ / ]yyyy")),this._cultures["zh-Hans"]=new a("zh-Hans",new i.NumberFormatInfo(".",2,",",[3],1,2,".",",",[3],2,0,"¥",2,".",",",[3],1,1,"%","‰","正无穷大","+","非数字","负无穷大","-"),new i.DateTimeFormatInfo("yyyy/M/d","/","yyyy[年]M[月]d[日]",["星期日","星期一","星期二","星期三","星期四","星期五","星期六"],["一月","二月","三月","四月","五月","六月","七月","八月","九月","十月","十一月","十二月",""],["日","一","二","三","四","五","六"],["一月","二月","三月","四月","五月","六月","七月","八月","九月","十月","十一月","十二月",""],["一月","二月","三月","四月","五月","六月","七月","八月","九月","十月","十一月","十二月",""],":","上午","下午","yyyy[年]M[月]d[日] H:mm:ss","H:mm","H:mm:ss","yyyy[年]M[月]")),this._cultures["cs"]=new a("cs",new i.NumberFormatInfo(",",2," ",[3],1,2,","," ",[3],8,3,"Kč",2,","," ",[3],1,1,"%","‰","+nekonečno","+","Není číslo","-nekonečno","-"),new i.DateTimeFormatInfo("d.M.yyyy",".","d. MMMM yyyy",["neděle","pondělí","úterý","středa","čtvrtek","pátek","sobota"],["leden","únor","březen","duben","květen","červen","červenec","srpen","září","říjen","listopad","prosinec",""],["ne","po","út","st","čt","pá","so"],["1","2","3","4","5","6","7","8","9","10","11","12",""],["ledna","února","března","dubna","května","června","července","srpna","září","října","listopadu","prosince",""],":","dop.","odp.","d. MMMM yyyy H:mm:ss","H:mm","H:mm:ss","MMMM yyyy")),this._cultures["da"]=new a("da",new i.NumberFormatInfo(",",2,".",[3],1,2,",",".",[3],12,2,"kr.",2,",",".",[3],0,0,"%","‰","INF","+","NaN","-INF","-"),new i.DateTimeFormatInfo("dd-MM-yyyy","-","d. MMMM yyyy",["søndag","mandag","tirsdag","onsdag","torsdag","fredag","lørdag"],["januar","februar","marts","april","maj","juni","juli","august","september","oktober","november","december",""],["sø","ma","ti","on","to","fr","lø"],["jan","feb","mar","apr","maj","jun","jul","aug","sep","okt","nov","dec",""],["januar","februar","marts","april","maj","juni","juli","august","september","oktober","november","december",""],":","","","d. MMMM yyyy HH:mm:ss","HH:mm","HH:mm:ss","MMMM yyyy")),this._cultures["de"]=new a("de",new i.NumberFormatInfo(",",2,".",[3],1,2,",",".",[3],8,3,"€",2,",",".",[3],1,1,"%","‰","+unendlich","+","n. def.","-unendlich","-"),new i.DateTimeFormatInfo("dd.MM.yyyy",".","dddd, d. MMMM yyyy",["Sonntag","Montag","Dienstag","Mittwoch","Donnerstag","Freitag","Samstag"],["Januar","Februar","März","April","Mai","Juni","Juli","August","September","Oktober","November","Dezember",""],["So","Mo","Di","Mi","Do","Fr","Sa"],["Jan","Feb","Mrz","Apr","Mai","Jun","Jul","Aug","Sep","Okt","Nov","Dez",""],["Januar","Februar","März","April","Mai","Juni","Juli","August","September","Oktober","November","Dezember",""],":","","","dddd, d. MMMM yyyy HH:mm:ss","HH:mm","HH:mm:ss","MMMM yyyy")),this._cultures["el"]=new a("el",new i.NumberFormatInfo(",",2,".",[3],1,2,",",".",[3],8,3,"€",2,",",".",[3],1,1,"%","‰","Άπειρο","+","μη αριθμός","-Άπειρο","-"),new i.DateTimeFormatInfo("d/M/yyyy","/","dddd, d MMMM yyyy",["Κυριακή","Δευτέρα","Τρίτη","Τετάρτη","Πέμπτη","Παρασκευή","Σάββατο"],["Ιανουάριος","Φεβρουάριος","Μάρτιος","Απρίλιος","Μάιος","Ιούνιος","Ιούλιος","Αύγουστος","Σεπτέμβριος","Οκτώβριος","Νοέμβριος","Δεκέμβριος",""],["Κυ","Δε","Τρ","Τε","Πε","Πα","Σά"],["Ιαν","Φεβ","Μαρ","Απρ","Μαϊ","Ιουν","Ιουλ","Αυγ","Σεπ","Οκτ","Νοε","Δεκ",""],["Ιανουαρίου","Φεβρουαρίου","Μαρτίου","Απριλίου","Μαΐου","Ιουνίου","Ιουλίου","Αυγούστου","Σεπτεμβρίου","Οκτωβρίου","Νοεμβρίου","Δεκεμβρίου",""],":","πμ","μμ","dddd, d MMMM yyyy h:mm:ss tt","h:mm tt","h:mm:ss tt","MMMM yyyy")),this._cultures["en"]=new a("en",new i.NumberFormatInfo(".",2,",",[3],1,2,".",",",[3],0,0,"$",2,".",",",[3],0,0,"%","‰","Infinity","+","NaN","-Infinity","-"),new i.DateTimeFormatInfo("M/d/yyyy","/","dddd, MMMM dd, yyyy",["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],["January","February","March","April","May","June","July","August","September","October","November","December",""],["Su","Mo","Tu","We","Th","Fr","Sa"],["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec",""],["January","February","March","April","May","June","July","August","September","October","November","December",""],":","AM","PM","dddd, MMMM dd, yyyy h:mm:ss tt","h:mm tt","h:mm:ss tt","MMMM, yyyy")),this._cultures["es"]=new a("es",new i.NumberFormatInfo(",",2,".",[3],1,2,",",".",[3],8,3,"€",2,",",".",[3],0,0,"%","‰","Infinito","+","NeuN","-Infinito","-"),new i.DateTimeFormatInfo("dd/MM/yyyy","/","dddd, dd[ de ]MMMM[ de ]yyyy",["domingo","lunes","martes","miércoles","jueves","viernes","sábado"],["enero","febrero","marzo","abril","mayo","junio","julio","agosto","septiembre","octubre","noviembre","diciembre",""],["do","lu","ma","mi","ju","vi","sá"],["ene","feb","mar","abr","may","jun","jul","ago","sep","oct","nov","dic",""],["enero","febrero","marzo","abril","mayo","junio","julio","agosto","septiembre","octubre","noviembre","diciembre",""],":","","","dddd, dd[ de ]MMMM[ de ]yyyy H:mm:ss","H:mm","H:mm:ss","MMMM[ de ]yyyy")),this._cultures["fi"]=new a("fi",new i.NumberFormatInfo(",",2," ",[3],1,2,","," ",[3],8,3,"€",2,","," ",[3],0,0,"%","‰","INF","+","NaN","-INF","-"),new i.DateTimeFormatInfo("d.M.yyyy",".","d. MMMM[ta ]yyyy",["sunnuntai","maanantai","tiistai","keskiviikko","torstai","perjantai","lauantai"],["tammikuu","helmikuu","maaliskuu","huhtikuu","toukokuu","kesäkuu","heinäkuu","elokuu","syyskuu","lokakuu","marraskuu","joulukuu",""],["su","ma","ti","ke","to","pe","la"],["tammi","helmi","maalis","huhti","touko","kesä","heinä","elo","syys","loka","marras","joulu",""],["tammikuu","helmikuu","maaliskuu","huhtikuu","toukokuu","kesäkuu","heinäkuu","elokuu","syyskuu","lokakuu","marraskuu","joulukuu",""],":","","","d. MMMM[ta ]yyyy H:mm:ss","H:mm","H:mm:ss","MMMM yyyy")),this._cultures["fr"]=new a("fr",new i.NumberFormatInfo(",",2," ",[3],1,2,","," ",[3],8,3,"€",2,","," ",[3],0,0,"%","‰","+Infini","+","Non Numérique","-Infini","-"),new i.DateTimeFormatInfo("dd/MM/yyyy","/","dddd d MMMM yyyy",["dimanche","lundi","mardi","mercredi","jeudi","vendredi","samedi"],["janvier","février","mars","avril","mai","juin","juillet","août","septembre","octobre","novembre","décembre",""],["di","lu","ma","me","je","ve","sa"],["janv.","févr.","mars","avr.","mai","juin","juil.","août","sept.","oct.","nov.","déc.",""],["janvier","février","mars","avril","mai","juin","juillet","août","septembre","octobre","novembre","décembre",""],":","","","dddd d MMMM yyyy HH:mm:ss","HH:mm","HH:mm:ss","MMMM yyyy")),this._cultures["he"]=new a("he",new i.NumberFormatInfo(".",2,",",[3],1,2,".",",",[3],2,2,"₪",2,".",",",[3],1,1,"%","‰","אינסוף חיובי","+","לא מספר","אינסוף שלילי","-"),new i.DateTimeFormatInfo("dd/MM/yyyy","/","dddd dd MMMM yyyy",["יום ראשון","יום שני","יום שלישי","יום רביעי","יום חמישי","יום שישי","שבת"],["ינואר","פברואר","מרץ","אפריל","מאי","יוני","יולי","אוגוסט","ספטמבר","אוקטובר","נובמבר","דצמבר",""],["א","ב","ג","ד","ה","ו","ש"],["ינו","פבר","מרץ","אפר","מאי","יונ","יול","אוג","ספט","אוק","נוב","דצמ",""],["ינואר","פברואר","מרץ","אפריל","מאי","יוני","יולי","אוגוסט","ספטמבר","אוקטובר","נובמבר","דצמבר",""],":","AM","PM","dddd dd MMMM yyyy HH:mm:ss","HH:mm","HH:mm:ss","MMMM yyyy")),this._cultures["hu"]=new a("hu",new i.NumberFormatInfo(",",2," ",[3],1,2,","," ",[3],8,3,"Ft",2,","," ",[3],0,0,"%","‰","végtelen","+","nem szám","negatív végtelen","-"),new i.DateTimeFormatInfo("yyyy.MM.dd.",".","yyyy. MMMM d.",["vasárnap","hétfő","kedd","szerda","csütörtök","péntek","szombat"],["január","február","március","április","május","június","július","augusztus","szeptember","október","november","december",""],["V","H","K","Sze","Cs","P","Szo"],["jan.","febr.","márc.","ápr.","máj.","jún.","júl.","aug.","szept.","okt.","nov.","dec.",""],["január","február","március","április","május","június","július","augusztus","szeptember","október","november","december",""],":","de.","du.","yyyy. MMMM d. H:mm:ss","H:mm","H:mm:ss","yyyy. MMMM")),this._cultures["is_"]=new a("is",new i.NumberFormatInfo(",",2,".",[3],1,0,",",".",[3],8,3,"kr.",2,",",".",[3],1,1,"%","‰","INF","+","NaN","-INF","-"),new i.DateTimeFormatInfo("d.M.yyyy",".","d. MMMM yyyy",["sunnudagur","mánudagur","þriðjudagur","miðvikudagur","fimmtudagur","föstudagur","laugardagur"],["janúar","febrúar","mars","apríl","maí","júní","júlí","ágúst","september","október","nóvember","desember",""],["su","má","þr","mi","fi","fö","la"],["jan.","feb.","mar.","apr.","maí","jún.","júl.","ágú.","sep.","okt.","nóv.","des.",""],["janúar","febrúar","mars","apríl","maí","júní","júlí","ágúst","september","október","nóvember","desember",""],":","","","d. MMMM yyyy HH:mm:ss","HH:mm","HH:mm:ss","MMMM yyyy")),this._cultures["it"]=new a("it",new i.NumberFormatInfo(",",2,".",[3],1,2,",",".",[3],9,2,"€",2,",",".",[3],1,1,"%","‰","+Infinito","+","Non un numero reale","-Infinito","-"),new i.DateTimeFormatInfo("dd/MM/yyyy","/","dddd d MMMM yyyy",["domenica","lunedì","martedì","mercoledì","giovedì","venerdì","sabato"],["gennaio","febbraio","marzo","aprile","maggio","giugno","luglio","agosto","settembre","ottobre","novembre","dicembre",""],["do","lu","ma","me","gi","ve","sa"],["gen","feb","mar","apr","mag","giu","lug","ago","set","ott","nov","dic",""],["gennaio","febbraio","marzo","aprile","maggio","giugno","luglio","agosto","settembre","ottobre","novembre","dicembre",""],":","","","dddd d MMMM yyyy HH:mm:ss","HH:mm","HH:mm:ss","MMMM yyyy")),this._cultures["ja"]=new a("ja",new i.NumberFormatInfo(".",2,",",[3],1,0,".",",",[3],1,0,"¥",2,".",",",[3],1,1,"%","‰","+∞","+","NaN (非数値)","-∞","-"),new i.DateTimeFormatInfo("yyyy/MM/dd","/","yyyy[年]M[月]d[日]",["日曜日","月曜日","火曜日","水曜日","木曜日","金曜日","土曜日"],["1月","2月","3月","4月","5月","6月","7月","8月","9月","10月","11月","12月",""],["日","月","火","水","木","金","土"],["1","2","3","4","5","6","7","8","9","10","11","12",""],["1月","2月","3月","4月","5月","6月","7月","8月","9月","10月","11月","12月",""],":","午前","午後","yyyy[年]M[月]d[日] H:mm:ss","H:mm","H:mm:ss","yyyy[年]M[月]")),this._cultures["ko"]=new a("ko",new i.NumberFormatInfo(".",2,",",[3],1,0,".",",",[3],1,0,"₩",2,".",",",[3],0,0,"%","‰","Infinity","+","NaN","-Infinity","-"),new i.DateTimeFormatInfo("yyyy-MM-dd","-","yyyy[년] M[월] d[일] dddd",["일요일","월요일","화요일","수요일","목요일","금요일","토요일"],["1월","2월","3월","4월","5월","6월","7월","8월","9월","10월","11월","12월",""],["일","월","화","수","목","금","토"],["1","2","3","4","5","6","7","8","9","10","11","12",""],["1월","2월","3월","4월","5월","6월","7월","8월","9월","10월","11월","12월",""],":","오전","오후","yyyy[년] M[월] d[일] dddd tt h:mm:ss","tt h:mm","tt h:mm:ss","yyyy[년] M[월]")),this._cultures["nl"]=new a("nl",new i.NumberFormatInfo(",",2,".",[3],1,2,",",".",[3],12,2,"€",2,",",".",[3],0,0,"%","‰","Infinity","+","NaN","-Infinity","-"),new i.DateTimeFormatInfo("d-M-yyyy","-","dddd d MMMM yyyy",["zondag","maandag","dinsdag","woensdag","donderdag","vrijdag","zaterdag"],["januari","februari","maart","april","mei","juni","juli","augustus","september","oktober","november","december",""],["zo","ma","di","wo","do","vr","za"],["jan","feb","mrt","apr","mei","jun","jul","aug","sep","okt","nov","dec",""],["januari","februari","maart","april","mei","juni","juli","augustus","september","oktober","november","december",""],":","","","dddd d MMMM yyyy H:mm:ss","H:mm","H:mm:ss","MMMM yyyy")),this._cultures["no"]=new a("no",new i.NumberFormatInfo(",",2," ",[3],1,2,","," ",[3],12,2,"kr",2,","," ",[3],0,0,"%","‰","INF","+","NaN","-INF","-"),new i.DateTimeFormatInfo("dd.MM.yyyy",".","d. MMMM yyyy",["søndag","mandag","tirsdag","onsdag","torsdag","fredag","lørdag"],["januar","februar","mars","april","mai","juni","juli","august","september","oktober","november","desember",""],["sø","ma","ti","on","to","fr","lø"],["jan","feb","mar","apr","mai","jun","jul","aug","sep","okt","nov","des",""],["januar","februar","mars","april","mai","juni","juli","august","september","oktober","november","desember",""],":","","","d. MMMM yyyy HH:mm:ss","HH:mm","HH:mm:ss","MMMM yyyy")),this._cultures["pl"]=new a("pl",new i.NumberFormatInfo(",",2," ",[3],1,2,","," ",[3],8,3,"zł",2,","," ",[3],1,1,"%","‰","+nieskończoność","+","nie jest liczbą","-nieskończoność","-"),new i.DateTimeFormatInfo("yyyy-MM-dd","-","d MMMM yyyy",["niedziela","poniedziałek","wtorek","środa","czwartek","piątek","sobota"],["styczeń","luty","marzec","kwiecień","maj","czerwiec","lipiec","sierpień","wrzesień","październik","listopad","grudzień",""],["N","Pn","Wt","Śr","Cz","Pt","So"],["sty","lut","mar","kwi","maj","cze","lip","sie","wrz","paź","lis","gru",""],["stycznia","lutego","marca","kwietnia","maja","czerwca","lipca","sierpnia","września","października","listopada","grudnia",""],":","","","d MMMM yyyy HH:mm:ss","HH:mm","HH:mm:ss","MMMM yyyy")),this._cultures["pt"]=new a("pt",new i.NumberFormatInfo(",",2,".",[3],1,2,",",".",[3],9,2,"R$",2,",",".",[3],1,1,"%","‰","+Infinito","+","NaN (Não é um número)","-Infinito","-"),new i.DateTimeFormatInfo("dd/MM/yyyy","/","dddd, d[ de ]MMMM[ de ]yyyy",["domingo","segunda-feira","terça-feira","quarta-feira","quinta-feira","sexta-feira","sábado"],["janeiro","fevereiro","março","abril","maio","junho","julho","agosto","setembro","outubro","novembro","dezembro",""],["D","S","T","Q","Q","S","S"],["jan","fev","mar","abr","mai","jun","jul","ago","set","out","nov","dez",""],["janeiro","fevereiro","março","abril","maio","junho","julho","agosto","setembro","outubro","novembro","dezembro",""],":","","","dddd, d[ de ]MMMM[ de ]yyyy HH:mm:ss","HH:mm","HH:mm:ss","MMMM[ de ]yyyy")),this._cultures["rm"]=new a("rm",new i.NumberFormatInfo(".",2,"'",[3],1,2,".","'",[3],2,2,"fr.",2,".","'",[3],1,1,"%","‰","+infinit","+","betg def.","-infinit","-"),new i.DateTimeFormatInfo("dd/MM/yyyy","/","dddd, d MMMM yyyy",["dumengia","glindesdi","mardi","mesemna","gievgia","venderdi","sonda"],["schaner","favrer","mars","avrigl","matg","zercladur","fanadur","avust","settember","october","november","december",""],["du","gli","ma","me","gie","ve","so"],["schan","favr","mars","avr","matg","zercl","fan","avust","sett","oct","nov","dec",""],["schaner","favrer","mars","avrigl","matg","zercladur","fanadur","avust","settember","october","november","december",""],":","","","dddd, d MMMM yyyy HH:mm:ss","HH:mm","HH:mm:ss","MMMM yyyy")),this._cultures["ro"]=new a("ro",new i.NumberFormatInfo(",",2,".",[3],1,2,",",".",[3],8,3,"lei",2,",",".",[3],1,1,"%","‰","Infinity","+","NaN","-Infinity","-"),new i.DateTimeFormatInfo("dd.MM.yyyy",".","d MMMM yyyy",["duminică","luni","marţi","miercuri","joi","vineri","sâmbătă"],["ianuarie","februarie","martie","aprilie","mai","iunie","iulie","august","septembrie","octombrie","noiembrie","decembrie",""],["D","L","Ma","Mi","J","V","S"],["ian.","feb.","mar.","apr.","mai.","iun.","iul.","aug.","sep.","oct.","nov.","dec.",""],["ianuarie","februarie","martie","aprilie","mai","iunie","iulie","august","septembrie","octombrie","noiembrie","decembrie",""],":","","","d MMMM yyyy HH:mm:ss","HH:mm","HH:mm:ss","MMMM yyyy")),this._cultures["ru"]=new a("ru",new i.NumberFormatInfo(",",2," ",[3],1,2,","," ",[3],8,3,"₽",2,","," ",[3],1,1,"%","‰","бесконечность","+","NaN","-бесконечность","-"),new i.DateTimeFormatInfo("dd.MM.yyyy",".","d MMMM yyyy [г.]",["воскресенье","понедельник","вторник","среда","четверг","пятница","суббота"],["Январь","Февраль","Март","Апрель","Май","Июнь","Июль","Август","Сентябрь","Октябрь","Ноябрь","Декабрь",""],["Вс","Пн","Вт","Ср","Чт","Пт","Сб"],["янв","фев","мар","апр","май","июн","июл","авг","сен","окт","ноя","дек",""],["января","февраля","марта","апреля","мая","июня","июля","августа","сентября","октября","ноября","декабря",""],":","","","d MMMM yyyy [г.] H:mm:ss","H:mm","H:mm:ss","MMMM yyyy")),this._cultures["hr"]=new a("hr",new i.NumberFormatInfo(",",2,".",[3],2,2,",",".",[3],8,3,"kn",2,",",".",[3],1,1,"%","‰","Infinity","+","NaN","-Infinity","-"),new i.DateTimeFormatInfo("d.M.yyyy.",".","d. MMMM yyyy.",["nedjelja","ponedjeljak","utorak","srijeda","četvrtak","petak","subota"],["siječanj","veljača","ožujak","travanj","svibanj","lipanj","srpanj","kolovoz","rujan","listopad","studeni","prosinac",""],["ne","po","ut","sr","če","pe","su"],["sij","vlj","ožu","tra","svi","lip","srp","kol","ruj","lis","stu","pro",""],["siječnja","veljače","ožujka","travnja","svibnja","lipnja","srpnja","kolovoza","rujna","listopada","studenog","prosinca",""],":","","","d. MMMM yyyy. H:mm:ss","H:mm","H:mm:ss","MMMM, yyyy")),this._cultures["sk"]=new a("sk",new i.NumberFormatInfo(",",2," ",[3],1,2,","," ",[3],8,3,"€",2,","," ",[3],1,1,"%","‰","+nekonečno","+","Nie je číslo","-nekonečno","-"),new i.DateTimeFormatInfo("d. M. yyyy",". ","d. MMMM yyyy",["nedeľa","pondelok","utorok","streda","štvrtok","piatok","sobota"],["január","február","marec","apríl","máj","jún","júl","august","september","október","november","december",""],["ne","po","ut","st","št","pi","so"],["1","2","3","4","5","6","7","8","9","10","11","12",""],["januára","februára","marca","apríla","mája","júna","júla","augusta","septembra","októbra","novembra","decembra",""],":","","","d. MMMM yyyy H:mm:ss","H:mm","H:mm:ss","MMMM yyyy")),this._cultures["sq"]=new a("sq",new i.NumberFormatInfo(",",2,".",[3],1,2,",",".",[3],5,1,"Lek",2,",",".",[3],0,0,"%","‰","infinit","+","NaN","-infinit","-"),new i.DateTimeFormatInfo("yyyy-MM-dd","-","yyyy-MM-dd",["e diel","e hënë","e martë","e mërkurë","e enjte","e premte","e shtunë"],["janar","shkurt","mars","prill","maj","qershor","korrik","gusht","shtator","tetor","nëntor","dhjetor",""],["Di","Hë","Ma","Më","En","Pr","Sh"],["Jan","Shk","Mar","Pri","Maj","Qer","Kor","Gsh","Sht","Tet","Nën","Dhj",""],["janar","shkurt","mars","prill","maj","qershor","korrik","gusht","shtator","tetor","nëntor","dhjetor",""],":","PD","MD","yyyy-MM-dd h:mm:ss.tt","h:mm.tt","h:mm:ss.tt","yyyy-MM")),this._cultures["sv"]=new a("sv",new i.NumberFormatInfo(",",2," ",[3],1,2,",",".",[3],8,3,"kr",2,","," ",[3],0,0,"%","‰","INF","+","NaN","-INF","-"),new i.DateTimeFormatInfo("yyyy-MM-dd","-","[den ]d MMMM yyyy",["söndag","måndag","tisdag","onsdag","torsdag","fredag","lördag"],["januari","februari","mars","april","maj","juni","juli","augusti","september","oktober","november","december",""],["sö","må","ti","on","to","fr","lö"],["jan","feb","mar","apr","maj","jun","jul","aug","sep","okt","nov","dec",""],["januari","februari","mars","april","maj","juni","juli","augusti","september","oktober","november","december",""],":","","","[den ]d MMMM yyyy HH:mm:ss","HH:mm","HH:mm:ss","MMMM yyyy")),this._cultures["th"]=new a("th",new i.NumberFormatInfo(".",2,",",[3],1,2,".",",",[3],1,0,"฿",2,".",",",[3],0,0,"%","‰","Infinity","+","NaN","-Infinity","-"),new i.DateTimeFormatInfo("d/M/yyyy","/","d MMMM yyyy",["อาทิตย์","จันทร์","อังคาร","พุธ","พฤหัสบดี","ศุกร์","เสาร์"],["มกราคม","กุมภาพันธ์","มีนาคม","เมษายน","พฤษภาคม","มิถุนายน","กรกฎาคม","สิงหาคม","กันยายน","ตุลาคม","พฤศจิกายน","ธันวาคม",""],["อ","จ","อ","พ","พ","ศ","ส"],["ม.ค.","ก.พ.","มี.ค.","เม.ย.","พ.ค.","มิ.ย.","ก.ค.","ส.ค.","ก.ย.","ต.ค.","พ.ย.","ธ.ค.",""],["มกราคม","กุมภาพันธ์","มีนาคม","เมษายน","พฤษภาคม","มิถุนายน","กรกฎาคม","สิงหาคม","กันยายน","ตุลาคม","พฤศจิกายน","ธันวาคม",""],":","AM","PM","d MMMM yyyy H:mm:ss","H:mm","H:mm:ss","MMMM yyyy")),this._cultures["tr"]=new a("tr",new i.NumberFormatInfo(",",2,".",[3],1,2,",",".",[3],8,3,"₺",2,",",".",[3],2,2,"%","‰","Infinity","+","NaN","-Infinity","-"),new i.DateTimeFormatInfo("dd.MM.yyyy",".","dd MMMM yyyy dddd",["Pazar","Pazartesi","Salı","Çarşamba","Perşembe","Cuma","Cumartesi"],["Ocak","Şubat","Mart","Nisan","Mayıs","Haziran","Temmuz","Ağustos","Eylül","Ekim","Kasım","Aralık",""],["Pz","Pt","Sa","Ça","Pe","Cu","Ct"],["Oca","Şub","Mar","Nis","May","Haz","Tem","Ağu","Eyl","Eki","Kas","Ara",""],["Ocak","Şubat","Mart","Nisan","Mayıs","Haziran","Temmuz","Ağustos","Eylül","Ekim","Kasım","Aralık",""],":","","","dd MMMM yyyy dddd HH:mm:ss","HH:mm","HH:mm:ss","MMMM yyyy")),this._cultures["ur"]=new a("ur",new i.NumberFormatInfo(".",2,",",[3],1,2,".",",",[3],3,0,"Rs",2,".",",",[3],0,0,"%","‰","Infinity","+","NaN","-Infinity","-"),new i.DateTimeFormatInfo("dd/MM/yyyy","/","dd MMMM, yyyy",["اتوار","پير","منگل","بدھ","جمعرات","جمعه","هفته"],["جنوری","فروری","مارچ","اپریل","مئی","جون","جولائی","اگست","ستمبر","اکتوبر","نومبر","دسمبر",""],["ا","پ","م","ب","ج","ج","ه"],["جنوری","فروری","مارچ","اپریل","مئی","جون","جولائی","اگست","ستمبر","اکتوبر","نومبر","دسمبر",""],["جنوری","فروری","مارچ","اپریل","مئی","جون","جولائی","اگست","ستمبر","اکتوبر","نومبر","دسمبر",""],":","AM","PM","dd MMMM, yyyy h:mm:ss tt","h:mm tt","h:mm:ss tt","MMMM, yyyy")),this._cultures["id"]=new a("id",new i.NumberFormatInfo(",",2,".",[3],1,0,",",".",[3],0,0,"Rp",2,",",".",[3],0,0,"%","‰","Infinity","+","NaN","-Infinity","-"),new i.DateTimeFormatInfo("dd/MM/yyyy","/","dd MMMM yyyy",["Minggu","Senin","Selasa","Rabu","Kamis","Jumat","Sabtu"],["Januari","Februari","Maret","April","Mei","Juni","Juli","Agustus","September","Oktober","Nopember","Desember",""],["M","S","S","R","K","J","S"],["Jan","Feb","Mar","Apr","Mei","Jun","Jul","Agust","Sep","Okt","Nop","Des",""],["Januari","Februari","Maret","April","Mei","Juni","Juli","Agustus","September","Oktober","Nopember","Desember",""],":","","","dd MMMM yyyy H:mm:ss","H:mm","H:mm:ss","MMMM yyyy")),this._cultures["uk"]=new a("uk",new i.NumberFormatInfo(",",2," ",[3],1,2,","," ",[3],5,1,"₴",2,","," ",[3],1,1,"%","‰","безмежність","+","NaN","-безмежність","-"),new i.DateTimeFormatInfo("dd.MM.yyyy",".","d MMMM yyyy[ р.]",["неділя","понеділок","вівторок","середа","четвер","п'ятниця","субота"],["Січень","Лютий","Березень","Квітень","Травень","Червень","Липень","Серпень","Вересень","Жовтень","Листопад","Грудень",""],["Нд","Пн","Вт","Ср","Чт","Пт","Сб"],["Січ","Лют","Бер","Кві","Тра","Чер","Лип","Сер","Вер","Жов","Лис","Гру",""],["січня","лютого","березня","квітня","травня","червня","липня","серпня","вересня","жовтня","листопада","грудня",""],":","","","d MMMM yyyy[ р.] H:mm:ss","H:mm","H:mm:ss","MMMM yyyy[ р.]")),this._cultures["be"]=new a("be",new i.NumberFormatInfo(",",2," ",[3],1,2,","," ",[3],8,3,"р.",2,","," ",[3],0,0,"%","‰","Infinity","+","NaN","-Infinity","-"),new i.DateTimeFormatInfo("dd.MM.yyyy",".","d MMMM yyyy",["нядзеля","панядзелак","аўторак","серада","чацвер","пятніца","субота"],["Студзень","Люты","Сакавік","Красавік","Май","Чэрвень","Ліпень","Жнівень","Верасень","Кастрычнік","Лістапад","Снежань",""],["нд","пн","аў","ср","чц","пт","сб"],["Сту","Лют","Сак","Кра","Май","Чэр","Ліп","Жні","Вер","Кас","Ліс","Сне",""],["студзеня","лютага","сакавіка","красавіка","мая","чэрвеня","ліпеня","жніўня","верасня","кастрычніка","лістапада","снежня",""],":","","","d MMMM yyyy H:mm:ss","H:mm","H:mm:ss","MMMM yyyy")),this._cultures["sl"]=new a("sl",new i.NumberFormatInfo(",",2,".",[3],1,2,",",".",[3],8,3,"€",2,",",".",[3],1,1,"%","‰","neskončnost","+","NaN","-neskončnost","-"),new i.DateTimeFormatInfo("d.M.yyyy",".","d. MMMM yyyy",["nedelja","ponedeljek","torek","sreda","četrtek","petek","sobota"],["januar","februar","marec","april","maj","junij","julij","avgust","september","oktober","november","december",""],["ne","po","to","sr","če","pe","so"],["jan","feb","mar","apr","maj","jun","jul","avg","sep","okt","nov","dec",""],["januar","februar","marec","april","maj","junij","julij","avgust","september","oktober","november","december",""],":","","","d. MMMM yyyy H:mm:ss","H:mm","H:mm:ss","MMMM yyyy")),this._cultures["et"]=new a("et",new i.NumberFormatInfo(",",2," ",[3],1,2,"."," ",[3],8,3,"€",2,","," ",[3],1,1,"%","‰","plusslõpmatus","+","avaldamatu","miinuslõpmatus","-"),new i.DateTimeFormatInfo("d.MM.yyyy",".","d. MMMM yyyy[. a.]",["pühapäev","esmaspäev","teisipäev","kolmapäev","neljapäev","reede","laupäev"],["jaanuar","veebruar","märts","aprill","mai","juuni","juuli","august","september","oktoober","november","detsember",""],["P","E","T","K","N","R","L"],["jaan","veebr","märts","apr","mai","juuni","juuli","aug","sept","okt","nov","dets",""],["jaanuar","veebruar","märts","aprill","mai","juuni","juuli","august","september","oktoober","november","detsember",""],":","EL","PL","d. MMMM yyyy[. a.] H:mm:ss","H:mm","H:mm:ss","MMMM yyyy[. a.]")),this._cultures["lv"]=new a("lv",new i.NumberFormatInfo(",",2," ",[3],1,2,","," ",[3],9,2,"€",2,","," ",[3],1,1,"%","‰","bezgalība","+","NaN","-bezgalība","-"),new i.DateTimeFormatInfo("yyyy.MM.dd.",".","dddd, yyyy[. gada ]d. MMMM",["svētdiena","pirmdiena","otrdiena","trešdiena","ceturtdiena","piektdiena","sestdiena"],["janvāris","februāris","marts","aprīlis","maijs","jūnijs","jūlijs","augusts","septembris","oktobris","novembris","decembris",""],["sv","pr","ot","tr","ce","pk","se"],["jan","feb","mar","apr","mai","jūn","jūl","aug","sep","okt","nov","dec",""],["janvārī","februārī","martā","aprīlī","maijā","jūnijā","jūlijā","augustā","septembrī","oktobrī","novembrī","decembrī",""],":","","","dddd, yyyy[. gada ]d. MMMM H:mm:ss","H:mm","H:mm:ss","yyyy. MMMM")),this._cultures["lt"]=new a("lt",new i.NumberFormatInfo(",",2,".",[3],1,2,",",".",[3],8,3,"€",2,",",".",[3],1,1,"%","‰","begalybė","+","NaN","-begalybė","-"),new i.DateTimeFormatInfo("yyyy.MM.dd",".","yyyy [m.] MMMM d [d.]",["sekmadienis","pirmadienis","antradienis","trečiadienis","ketvirtadienis","penktadienis","šeštadienis"],["sausis","vasaris","kovas","balandis","gegužė","birželis","liepa","rugpjūtis","rugsėjis","spalis","lapkritis","gruodis",""],["S","P","A","T","K","Pn","Š"],["Sau","Vas","Kov","Bal","Geg","Bir","Lie","Rgp","Rgs","Spl","Lap","Grd",""],["sausio","vasario","kovo","balandžio","gegužės","birželio","liepos","rugpjūčio","rugsėjo","spalio","lapkričio","gruodžio",""],":","","","yyyy [m.] MMMM d [d.] HH:mm:ss","HH:mm","HH:mm:ss","yyyy [m.] MMMM")),this._cultures["tg"]=new a("tg",new i.NumberFormatInfo(",",2," ",[3,0],1,2,";"," ",[3,0],8,3,"т.р.",2,","," ",[3,0],1,1,"%","‰","бесконечность","+","NaN","-бесконечность","-"),new i.DateTimeFormatInfo("dd.MM.yy",".","d MMMM yyyy",["Яш","Душанбе","Сешанбе","Чоршанбе","Панҷшанбе","Ҷумъа","Шанбе"],["Январ","Феврал","Март","Апрел","Май","Июн","Июл","Август","Сентябр","Октябр","Ноябр","Декабр",""],["Яш","Дш","Сш","Чш","Пш","Ҷм","Шн"],["Янв","Фев","Мар","Апр","Май","Июн","Июл","Авг","Сен","Окт","Ноя","Дек",""],["январи","феврали","марти","апрели","маи","июни","июли","августи","сентябри","октябри","ноябри","декабри",""],":","","","d MMMM yyyy H:mm:ss","H:mm","H:mm:ss","MMMM yyyy")),this._cultures["fa"]=new a("fa",new i.NumberFormatInfo(".",2,",",[3],3,2,"/",",",[3],3,2,"ريال",2,".",",",[3],0,0,"%","‰","Infinity","+","NaN","-Infinity","-"),new i.DateTimeFormatInfo("MM/dd/yyyy","/","dddd, MMMM dd, yyyy",["الأحد","الإثنين","الثلاثاء","الأربعاء","الخميس","الجمعة","السبت"],["جانفييه","فيفرييه","مارس","أفريل","مي","جوان","جوييه","أوت","سبتمبر","اكتوبر","نوفمبر","ديسمبر",""],["ح","ن","ث","ر","خ","ج","س"],["جانفييه","فيفرييه","مارس","أفريل","مي","جوان","جوييه","أوت","سبتمبر","اكتوبر","نوفمبر","ديسمبر",""],["جانفييه","فيفرييه","مارس","أفريل","مي","جوان","جوييه","أوت","سبتمبر","اكتوبر","نوفمبر","ديسمبر",""],":","ق.ظ","ب.ظ","dddd, MMMM dd, yyyy hh:mm:ss tt","hh:mm tt","hh:mm:ss tt","MMMM, yyyy")),this._cultures["vi"]=new a("vi",new i.NumberFormatInfo(",",2,".",[3],1,2,",",".",[3],8,3,"₫",2,",",".",[3],0,0,"%","‰","Infinity","+","NaN","-Infinity","-"),new i.DateTimeFormatInfo("dd/MM/yyyy","/","dd MMMM yyyy",["Chủ Nhật","Thứ Hai","Thứ Ba","Thứ Tư","Thứ Năm","Thứ Sáu","Thứ Bảy"],["Tháng Giêng","Tháng Hai","Tháng Ba","Tháng Tư","Tháng Năm","Tháng Sáu","Tháng Bảy","Tháng Tám","Tháng Chín","Tháng Mười","Tháng Mười Một","Tháng Mười Hai",""],["C","H","B","T","N","S","B"],["Thg1","Thg2","Thg3","Thg4","Thg5","Thg6","Thg7","Thg8","Thg9","Thg10","Thg11","Thg12",""],["Tháng Giêng","Tháng Hai","Tháng Ba","Tháng Tư","Tháng Năm","Tháng Sáu","Tháng Bảy","Tháng Tám","Tháng Chín","Tháng Mười","Tháng Mười Một","Tháng Mười Hai",""],":","SA","CH","dd MMMM yyyy h:mm:ss tt","h:mm tt","h:mm:ss tt","MMMM yyyy")),this._cultures["hy"]=new a("hy",new i.NumberFormatInfo(".",2,",",[3],1,2,".",",",[3],8,3,"դր.",2,".",",",[3],0,0,"%","‰","Infinity","+","NaN","-Infinity","-"),new i.DateTimeFormatInfo("dd.MM.yyyy",".","d MMMM, yyyy",["Կիրակի","Երկուշաբթի","Երեքշաբթի","Չորեքշաբթի","Հինգշաբթի","ՈՒրբաթ","Շաբաթ"],["Հունվար","Փետրվար","Մարտ","Ապրիլ","Մայիս","Հունիս","Հուլիս","Օգոստոս","Սեպտեմբեր","Հոկտեմբեր","Նոյեմբեր","Դեկտեմբեր",""],["Կ","Ե","Ե","Չ","Հ","Ո","Շ"],["ՀՆՎ","ՓՏՎ","ՄՐՏ","ԱՊՐ","ՄՅՍ","ՀՆՍ","ՀԼՍ","ՕԳՍ","ՍԵՊ","ՀՈԿ","ՆՈՅ","ԴԵԿ",""],["Հունվար","Փետրվար","Մարտ","Ապրիլ","Մայիս","Հունիս","Հուլիս","Օգոստոս","Սեպտեմբեր","Հոկտեմբեր","Նոյեմբեր","Դեկտեմբեր",""],":","","","d MMMM, yyyy H:mm:ss","H:mm","H:mm:ss","MMMM, yyyy")),this._cultures["az"]=new a("az",new i.NumberFormatInfo(",",2," ",[3],1,2,","," ",[3],8,3,"₼",2,","," ",[3],1,1,"%","‰","Infinity","+","NaN","-Infinity","-"),new i.DateTimeFormatInfo("dd.MM.yyyy",".","d MMMM yyyy",["Bazar","Bazar ertəsi","Çərşənbə axşamı","Çərşənbə","Cümə axşamı","Cümə","Şənbə"],["Yanvar","Fevral","Mart","Aprel","May","İyun","İyul","Avgust","Sentyabr","Oktyabr","Noyabr","Dekabr",""],["B","Be","Ça","Ç","Ca","C","Ş"],["Yan","Fev","Mar","Apr","May","İyun","İyul","Avg","Sen","Okt","Noy","Dek",""],["yanvar","fevral","mart","aprel","may","iyun","iyul","avgust","sentyabr","oktyabr","noyabr","dekabr",""],":","","","d MMMM yyyy H:mm:ss","H:mm","H:mm:ss","MMMM yyyy")),this._cultures["eu"]=new a("eu",new i.NumberFormatInfo(",",2,".",[3],1,2,",",".",[3],8,3,"€",2,",",".",[3],0,0,"%","‰","Infinitu","+","EdZ","-Infinitu","-"),new i.DateTimeFormatInfo("yyyy/MM/dd","/","dddd, yyyy.[eko] MMMM[k ]d",["igandea","astelehena","asteartea","asteazkena","osteguna","ostirala","larunbata"],["urtarrila","otsaila","martxoa","apirila","maiatza","ekaina","uztaila","abuztua","iraila","urria","azaroa","abendua",""],["ig","al","as","az","og","or","lr"],["urt.","ots.","mar.","api.","mai.","eka.","uzt.","abu.","ira.","urr.","aza.","abe.",""],["urtarrila","otsaila","martxoa","apirila","maiatza","ekaina","uztaila","abuztua","iraila","urria","azaroa","abendua",""],":","","","dddd, yyyy.[eko] MMMM[k ]d H:mm:ss","HH:mm","H:mm:ss","yyyy.[eko] MMMM")),this._cultures["hsb"]=new a("hsb",new i.NumberFormatInfo(",",2,".",[3],1,2,",",".",[3],8,3,"€",2,",",".",[3],0,0,"%","‰","+njekónčne","+","njedefinowane","-njekónčne","-"),new i.DateTimeFormatInfo("d. M. yyyy",". ","dddd, [dnja] d. MMMM yyyy",["njedźela","póndźela","wutora","srjeda","štwórtk","pjatk","sobota"],["januar","februar","měrc","apryl","meja","junij","julij","awgust","september","oktober","nowember","december",""],["n","p","w","s","š","p","s"],["jan","feb","měr","apr","mej","jun","jul","awg","sep","okt","now","dec",""],["januara","februara","měrca","apryla","meje","junija","julija","awgusta","septembra","oktobra","nowembra","decembra",""],":","","","dddd, [dnja] d. MMMM yyyy H:mm:ss","H.mm [hodź.]","H:mm:ss","MMMM yyyy")),this._cultures["mk"]=new a("mk",new i.NumberFormatInfo(",",2,".",[3],1,2,",",".",[3],8,3,"ден.",2,",",".",[3],0,0,"%","‰","Infinity","+","NaN","-Infinity","-"),new i.DateTimeFormatInfo("dd.MM.yyyy",".","dddd, dd MMMM yyyy",["недела","понеделник","вторник","среда","четврток","петок","сабота"],["јануари","февруари","март","април","мај","јуни","јули","август","септември","октомври","ноември","декември",""],["не","по","вт","ср","че","пе","са"],["јан","фев","мар","апр","мај","јун","јул","авг","сеп","окт","ное","дек",""],["јануари","февруари","март","април","мај","јуни","јули","август","септември","октомври","ноември","декември",""],":","","","dddd, dd MMMM yyyy HH:mm:ss","HH:mm","HH:mm:ss","MMMM yyyy")),this._cultures["tn"]=new a("tn",new i.NumberFormatInfo(".",2,",",[3],1,2,".",",",[3],2,2,"R",2,".",",",[3],2,2,"%","‰","Infinity","+","NaN","-Infinity","-"),new i.DateTimeFormatInfo("yyyy/MM/dd","/","dd MMMM yyyy",["Latshipi","Mosupologo","Labobedi","Laboraro","Labone","Labotlhano","Lamatlhatso"],["Ferikgong","Tlhakole","Mopitloe","Moranang","Motsheganong","Seetebosigo","Phukwi","Phatwe","Lwetse","Diphalane","Ngwanatsele","Sedimothole",""],["Lp","Ms","Lb","Lr","Ln","Lt","Lm"],["Fer.","Tlhak.","Mop.","Mor.","Motsh.","Seet.","Phukw.","Phatw.","Lwets.","Diph.","Ngwan.","Sed.",""],["Ferikgong","Tlhakole","Mopitloe","Moranang","Motsheganong","Seetebosigo","Phukwi","Phatwe","Lwetse","Diphalane","Ngwanatsele","Sedimothole",""],":","AM","PM","dd MMMM yyyy hh:mm:ss tt","hh:mm tt","hh:mm:ss tt","MMMM yyyy")),this._cultures["xh"]=new a("xh",new i.NumberFormatInfo(".",2,",",[3],1,2,".",",",[3],2,2,"R",2,".",",",[3],2,2,"%","‰","Infinity","+","NaN","-Infinity","-"),new i.DateTimeFormatInfo("yyyy/MM/dd","/","dd MMMM yyyy",["iCawa","uMvulo","uLwesibini","uLwesithathu","uLwesine","uLwesihlanu","uMgqibelo"],["Mqungu","Mdumba","Kwindla","Tshazimpuzi","Canzibe","Silimela","Khala","Thupha","Msintsi","Dwarha","Nkanga","Mnga",""],["Ca","Mv","Lb","Lt","Ln","Lh","Mg"],["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec",""],["Mqungu","Mdumba","Kwindla","Tshazimpuzi","Canzibe","Silimela","Khala","Thupha","Msintsi","Dwarha","Nkanga","Mnga",""],":","AM","PM","dd MMMM yyyy hh:mm:ss tt","hh:mm tt","hh:mm:ss tt","MMMM yyyy")),this._cultures["zu"]=new a("zu",new i.NumberFormatInfo(".",2,",",[3],1,2,".",",",[3],2,2,"R",2,".",",",[3],2,2,"%","‰","Infinity","+","NaN","-Infinity","-"),new i.DateTimeFormatInfo("yyyy/MM/dd","/","dd MMMM yyyy",["iSonto","uMsombuluko","uLwesibili","uLwesithathu","uLwesine","uLwesihlanu","uMgqibelo"],["uMasingana","uNhlolanja","uNdasa","uMbaso","uNhlaba","uNhlangulana","uNtulikazi","uNcwaba","uMandulo","uMfumfu","uLwezi","uZibandlela",""],["Su","Mo","Tu","We","Th","Fr","Sa"],["Mas.","Nhlo.","Nda.","Mba.","Nhla.","Nhlang.","Ntu.","Ncwa.","Man.","Mfu.","Lwe.","Zib.",""],["uMasingana","uNhlolanja","uNdasa","uMbaso","uNhlaba","uNhlangulana","uNtulikazi","uNcwaba","uMandulo","uMfumfu","uLwezi","uZibandlela",""],":","AM","PM","dd MMMM yyyy hh:mm:ss tt","hh:mm tt","hh:mm:ss tt","MMMM yyyy")),this._cultures["af"]=new a("af",new i.NumberFormatInfo(".",2,",",[3],1,2,".",",",[3],2,2,"R",2,".",",",[3],1,1,"%","‰","Infinity","+","NaN","-Infinity","-"),new i.DateTimeFormatInfo("yyyy/MM/dd","/","dd MMMM yyyy",["Sondag","Maandag","Dinsdag","Woensdag","Donderdag","Vrydag","Saterdag"],["Januarie","Februarie","Maart","April","Mei","Junie","Julie","Augustus","September","Oktober","November","Desember",""],["So","Ma","Di","Wo","Do","Vr","Sa"],["Jan","Feb","Mar","Apr","Mei","Jun","Jul","Aug","Sep","Okt","Nov","Des",""],["Januarie","Februarie","Maart","April","Mei","Junie","Julie","Augustus","September","Oktober","November","Desember",""],":","AM","PM","dd MMMM yyyy hh:mm:ss tt","hh:mm tt","hh:mm:ss tt","MMMM yyyy")),this._cultures["ka"]=new a("ka",new i.NumberFormatInfo(",",2," ",[3],1,2,","," ",[3],8,3,"₾",2,","," ",[3],0,0,"%","‰","Infinity","+","NaN","-Infinity","-"),new i.DateTimeFormatInfo("dd.MM.yyyy",".","yyyy [წლის] dd MM, dddd",["კვირა","ორშაბათი","სამშაბათი","ოთხშაბათი","ხუთშაბათი","პარასკევი","შაბათი"],["იანვარი","თებერვალი","მარტი","აპრილი","მაისი","ივნისი","ივლისი","აგვისტო","სექტემბერი","ოქტომბერი","ნოემბერი","დეკემბერი",""],["კ","ო","ს","ო","ხ","პ","შ"],["იან","თებ","მარ","აპრ","მაის","ივნ","ივლ","აგვ","სექ","ოქტ","ნოემ","დეკ",""],["იანვარი","თებერვალი","მარტი","აპრილი","მაისი","ივნისი","ივლისი","აგვისტო","სექტემბერი","ოქტომბერი","ნოემბერი","დეკემბერი",""],":","","","yyyy [წლის] dd MM, dddd H:mm:ss","H:mm","H:mm:ss","MMMM yyyy")),this._cultures["fo"]=new a("fo",new i.NumberFormatInfo(",",2,".",[3],1,2,",",".",[3],12,2,"kr.",2,",",".",[3],1,1,"%","‰","INF","+","NaN","-INF","-"),new i.DateTimeFormatInfo("dd-MM-yyyy","-","d. MMMM yyyy",["sunnudagur","mánadagur","týsdagur","mikudagur","hósdagur","fríggjadagur","leygardagur"],["januar","februar","mars","apríl","mai","juni","juli","august","september","oktober","november","desember",""],["su","má","tý","mi","hó","fr","ley"],["jan","feb","mar","apr","mai","jun","jul","aug","sep","okt","nov","des",""],["januar","februar","mars","apríl","mai","juni","juli","august","september","oktober","november","desember",""],":","","","d. MMMM yyyy HH:mm:ss","HH:mm","HH:mm:ss","MMMM yyyy")),this._cultures["hi"]=new a("hi",new i.NumberFormatInfo(".",2,",",[3,2],1,2,".",",",[3,2],12,2,"₹",2,".",",",[3,2],0,0,"%","‰","Infinity","+","NaN","-Infinity","-"),new i.DateTimeFormatInfo("dd-MM-yyyy","-","dd MMMM yyyy",["रविवार","सोमवार","मंगलवार","बुधवार","गुरुवार","शुक्रवार","शनिवार"],["जनवरी","फरवरी","मार्च","अप्रैल","मई","जून","जुलाई","अगस्त","सितम्बर","अक्तूबर","नवम्बर","दिसम्बर",""],["र","स","म","ब","ग","श","श"],["जनवरी","फरवरी","मार्च","अप्रैल","मई","जून","जुलाई","अगस्त","सितम्बर","अक्तूबर","नवम्बर","दिसम्बर",""],["जनवरी","फरवरी","मार्च","अप्रैल","मई","जून","जुलाई","अगस्त","सितम्बर","अक्तूबर","नवम्बर","दिसम्बर",""],":","पूर्वाह्न","अपराह्न","dd MMMM yyyy HH:mm:ss","HH:mm","HH:mm:ss","MMMM, yyyy")),this._cultures["mt"]=new a("mt",new i.NumberFormatInfo(".",2,",",[3],1,2,".",",",[3],1,0,"€",2,".",",",[3],2,2,"%","‰","Infinity","+","NaN","-Infinity","-"),new i.DateTimeFormatInfo("dd/MM/yyyy","/","dddd, d[ ta' ]MMMM yyyy",["Il-Ħadd","It-Tnejn","It-Tlieta","L-Erbgħa","Il-Ħamis","Il-Ġimgħa","Is-Sibt"],["Jannar","Frar","Marzu","April","Mejju","Ġunju","Lulju","Awissu","Settembru","Ottubru","Novembru","Diċembru",""],["I","I","I","L","I","I","I"],["Jan","Fra","Mar","Apr","Mej","Ġun","Lul","Awi","Set","Ott","Nov","Diċ",""],["Jannar","Frar","Marzu","April","Mejju","Ġunju","Lulju","Awissu","Settembru","Ottubru","Novembru","Diċembru",""],":","AM","PM","dddd, d[ ta' ]MMMM yyyy HH:mm:ss","HH:mm","HH:mm:ss","MMMM yyyy")),this._cultures["se"]=new a("se",new i.NumberFormatInfo(",",2," ",[3],1,2,","," ",[3],12,2,"kr",2,","," ",[3],2,2,"%","‰","Infinity","+","NaN","-Infinity","-"),new i.DateTimeFormatInfo("dd.MM.yyyy",".","MMMM d[. b. ]yyyy",["sotnabeaivi","vuossárga","maŋŋebárga","gaskavahkku","duorastat","bearjadat","lávvardat"],["ođđajagemánnu","guovvamánnu","njukčamánnu","cuoŋománnu","miessemánnu","geassemánnu","suoidnemánnu","borgemánnu","čakčamánnu","golggotmánnu","skábmamánnu","juovlamánnu",""],["s","m","d","g","d","b","l"],["ođđj","guov","njuk","cuo","mies","geas","suoi","borg","čakč","golg","skáb","juov",""],["ođđajagimánu","guovvamánu","njukčamánu","cuoŋománu","miessemánu","geassemánu","suoidnemánu","borgemánu","čakčamánu","golggotmánu","skábmamánu","juovlamánu",""],":","","","MMMM d[. b. ]yyyy HH:mm:ss","HH:mm","HH:mm:ss","MMMM yyyy")),this._cultures["ga"]=new a("ga",new i.NumberFormatInfo(".",2,",",[3],1,2,".",",",[3],1,0,"€",2,".",",",[3],0,0,"%","‰","Infinity","+","NaN","-Infinity","-"),new i.DateTimeFormatInfo("dd/MM/yyyy","/","d MMMM yyyy",["Dé Domhnaigh","Dé Luain","Dé Máirt","Dé Céadaoin","Déardaoin","Dé hAoine","Dé Sathairn"],["Eanáir","Feabhra","Márta","Aibreán","Bealtaine","Meitheamh","Iúil","Lúnasa","Meán Fómhair","Deireadh Fómhair","Samhain","Nollaig",""],["Do","Lu","Má","Cé","De","Ao","Sa"],["Ean","Feabh","Már","Aib","Bealt","Meith","Iúil","Lún","M.Fómh","D.Fómh","Samh","Noll",""],["Eanáir","Feabhra","Márta","Aibreán","Bealtaine","Meitheamh","Iúil","Lúnasa","Meán Fómhair","Deireadh Fómhair","Samhain","Nollaig",""],":","r.n.","i.n.","d MMMM yyyy HH:mm:ss","HH:mm","HH:mm:ss","MMMM yyyy")),this._cultures["ms"]=new a("ms",new i.NumberFormatInfo(".",2,",",[3],1,0,".",",",[3],0,0,"RM",2,".",",",[3],0,0,"%","‰","Infinity","+","NaN","-Infinity","-"),new i.DateTimeFormatInfo("dd/MM/yyyy","/","dd MMMM yyyy",["Ahad","Isnin","Selasa","Rabu","Khamis","Jumaat","Sabtu"],["Januari","Februari","Mac","April","Mei","Jun","Julai","Ogos","September","Oktober","November","Disember",""],["A","I","S","R","K","J","S"],["Jan","Feb","Mac","Apr","Mei","Jun","Jul","Ogos","Sept","Okt","Nov","Dis",""],["Januari","Februari","Mac","April","Mei","Jun","Julai","Ogos","September","Oktober","November","Disember",""],":","","","dd MMMM yyyy H:mm:ss","H:mm","H:mm:ss","MMMM yyyy")),this._cultures["kk"]=new a("kk",new i.NumberFormatInfo(",",2," ",[3],1,2,"-"," ",[3],1,0,"Т",2,","," ",[3],1,1,"%","‰","Infinity","+","NaN","-Infinity","-"),new i.DateTimeFormatInfo("dd.MM.yyyy",".","d MMMM yyyy [ж.]",["Жексенбі","Дүйсенбі","Сейсенбі","Сәрсенбі","Бейсенбі","Жұма","Сенбі"],["қаңтар","ақпан","наурыз","сәуір","мамыр","маусым","шілде","тамыз","қыркүйек","қазан","қараша","желтоқсан",""],["Жк","Дс","Сс","Ср","Бс","Жм","Сн"],["Қаң","Ақп","Нау","Сәу","Мам","Мау","Шіл","Там","Қыр","Қаз","Қар","Жел",""],["қаңтар","ақпан","наурыз","сәуір","мамыр","маусым","шілде","тамыз","қыркүйек","қазан","қараша","желтоқсан",""],":","","","d MMMM yyyy [ж.] H:mm:ss","H:mm","H:mm:ss","MMMM yyyy")),this._cultures["ky"]=new a("ky",new i.NumberFormatInfo(",",2," ",[3],1,2,"-"," ",[3],8,3,"сом",2,","," ",[3],1,1,"%","‰","Infinity","+","NaN","-Infinity","-"),new i.DateTimeFormatInfo("dd.MM.yy",".","d[-]MMMM yyyy[-ж.]",["Жекшемби","Дүйшөмбү","Шейшемби","Шаршемби","Бейшемби","Жума","Ишемби"],["Январь","Февраль","Март","Апрель","Май","Июнь","Июль","Август","Сентябрь","Октябрь","Ноябрь","Декабрь",""],["Жш","Дш","Шш","Шр","Бш","Жм","Иш"],["Янв","Фев","Мар","Апр","Май","Июн","Июл","Авг","Сен","Окт","Ноя","Дек",""],["Январь","Февраль","Март","Апрель","Май","Июнь","Июль","Август","Сентябрь","Октябрь","Ноябрь","Декабрь",""],":","","","d[-]MMMM yyyy[-ж.] H:mm:ss","H:mm","H:mm:ss","MMMM yyyy[-ж.]")),this._cultures["sw"]=new a("sw",new i.NumberFormatInfo(".",2,",",[3],1,2,".",",",[3],0,0,"S",2,".",",",[3],0,0,"%","‰","Infinity","+","NaN","-Infinity","-"),new i.DateTimeFormatInfo("M/d/yyyy","/","dddd, MMMM dd, yyyy",["Jumapili","Jumatatu","Jumanne","Jumatano","Alhamisi","Ijumaa","Jumamosi"],["Januari","Februari","Machi","Aprili","Mei","Juni","Julai","Agosti","Septemba","Oktoba","Novemba","Decemba",""],["P","T","N","T","A","I","M"],["Jan","Feb","Mac","Apr","Mei","Jun","Jul","Ago","Sep","Okt","Nov","Dec",""],["Januari","Februari","Machi","Aprili","Mei","Juni","Julai","Agosti","Septemba","Oktoba","Novemba","Decemba",""],":","AM","PM","dddd, MMMM dd, yyyy h:mm:ss tt","h:mm tt","h:mm:ss tt","MMMM, yyyy")),this._cultures["tk"]=new a("tk",new i.NumberFormatInfo(",",2," ",[3],1,2,","," ",[3],5,1,"m.",2,","," ",[3],1,1,"%","‰","üznüksizlik","+","NaN","-üznüksizlik","-"),new i.DateTimeFormatInfo("dd.MM.yy",".","yyyy [ý.] MMMM d",["Duşenbe","Sişenbe","Çarşenbe","Penşenbe","Anna","Şenbe","Ýekşenbe"],["Ýanwar","Fewral","Mart","Aprel","Maý","lýun","lýul","Awgust","Sentýabr","Oktýabr","Noýabr","Dekabr",""],["D","S","Ç","P","A","Ş","Ý"],["Ýan","Few","Mart","Apr","Maý","lýun","lýul","Awg","Sen","Okt","Not","Dek",""],["Ýanwar","Fewral","Mart","Aprel","Maý","lýun","lýul","Awgust","Sentýabr","Oktýabr","Noýabr","Dekabr",""],":","","","yyyy [ý.] MMMM d H:mm:ss","H:mm","H:mm:ss","yyyy [ý.] MMMM")),this._cultures["uz"]=new a("uz",new i.NumberFormatInfo(",",2," ",[3],1,0,","," ",[3],8,3,"so'm",2,","," ",[3],1,1,"%","‰","Infinity","+","NaN","-Infinity","-"),new i.DateTimeFormatInfo("dd/MM yyyy","/","yyyy [yil] d-MMMM",["yakshanba","dushanba","seshanba","chorshanba","payshanba","juma","shanba"],["yanvar","fevral","mart","aprel","may","iyun","iyul","avgust","sentyabr","oktyabr","noyabr","dekabr",""],["ya","d","s","ch","p","j","sh"],["yanvar","fevral","mart","aprel","may","iyun","iyul","avgust","sentyabr","oktyabr","noyabr","dekabr",""],["yanvar","fevral","mart","aprel","may","iyun","iyul","avgust","sentyabr","oktyabr","noyabr","dekabr",""],":","","","yyyy [yil] d-MMMM HH:mm:ss","HH:mm","HH:mm:ss","MMMM yyyy")),this._cultures["tt"]=new a("tt",new i.NumberFormatInfo(",",2," ",[3],1,2,","," ",[3],8,3,"₽",2,","," ",[3],1,1,"%","‰","Infinity","+","NaN","-Infinity","-"),new i.DateTimeFormatInfo("dd.MM.yyyy",".","d MMMM yyyy",["Якшәмбе","Дүшәмбе","Сишәмбе","Чәршәмбе","Пәнҗешәмбе","Җомга","Шимбә"],["Гыйнвар","Февраль","Март","Апрель","Май","Июнь","Июль","Август","Сентябрь","Октябрь","Ноябрь","Декабрь",""],["Я","Д","С","Ч","П","Җ","Ш"],["Гыйн.","Фев.","Мар.","Апр.","Май","Июнь","Июль","Авг.","Сен.","Окт.","Нояб.","Дек.",""],["Гыйнварның","Февральнең","Мартның","Апрельнең","Майның","Июньнең","Июльнең","Августның","Сентябрьның","Октябрьның","Ноябрьның","Декабрьның",""],":","","","d MMMM yyyy H:mm:ss","H:mm","H:mm:ss","MMMM yyyy")),this._cultures["bn"]=new a("bn",new i.NumberFormatInfo(".",2,",",[3,2],1,2,".",",",[3,2],12,2,"₹",2,".",",",[3,2],2,2,"%","‰","Infinity","+","NaN","-Infinity","-"),new i.DateTimeFormatInfo("dd-MM-yy","-","dd MMMM yyyy",["রবিবার","সোমবার","মঙ্গলবার","বুধবার","বৃহস্পতিবার","শুক্রবার","শনিবার"],["জানুয়ারী","ফেব্রুয়ারী","মার্চ","এপ্রিল","মে","জুন","জুলাই","আগস্ট","সেপ্টেম্বর","অক্টোবর","নভেম্বর","ডিসেম্বর",""],["র","স","ম","ব","ব","শ","শ"],["জানু.","ফেব্রু.","মার্চ","এপ্রিল","মে","জুন","জুলাই","আগ.","সেপ্টে.","অক্টো.","নভে.","ডিসে.",""],["জানুয়ারী","ফেব্রুয়ারী","মার্চ","এপ্রিল","মে","জুন","জুলাই","আগস্ট","সেপ্টেম্বর","অক্টোবর","নভেম্বর","ডিসেম্বর",""],".","পুর্বাহ্ন","অপরাহ্ন","dd MMMM yyyy HH.mm.ss","HH.mm","HH.mm.ss","MMMM, yyyy")),this._cultures["pa"]=new a("pa",new i.NumberFormatInfo(".",2,",",[3,2],1,2,".",",",[3,2],12,2,"₹",2,".",",",[3,2],0,0,"%","‰","Infinity","+","NaN","-Infinity","-"),new i.DateTimeFormatInfo("dd-MM-yy","-","dd MMMM yyyy dddd",["ਐਤਵਾਰ","ਸੋਮਵਾਰ","ਮੰਗਲਵਾਰ","ਬੁੱਧਵਾਰ","ਵੀਰਵਾਰ","ਸ਼ੁੱਕਰਵਾਰ","ਸ਼ਨਿੱਚਰਵਾਰ"],["ਜਨਵਰੀ","ਫ਼ਰਵਰੀ","ਮਾਰਚ","ਅਪ੍ਰੈਲ","ਮਈ","ਜੂਨ","ਜੁਲਾਈ","ਅਗਸਤ","ਸਤੰਬਰ","ਅਕਤੂਬਰ","ਨਵੰਬਰ","ਦਸੰਬਰ",""],["ਐ","ਸ","ਮ","ਬ","ਵ","ਸ਼","ਸ਼"],["ਜਨਵਰੀ","ਫ਼ਰਵਰੀ","ਮਾਰਚ","ਅਪ੍ਰੈਲ","ਮਈ","ਜੂਨ","ਜੁਲਾਈ","ਅਗਸਤ","ਸਤੰਬਰ","ਅਕਤੂਬਰ","ਨਵੰਬਰ","ਦਸੰਬਰ",""],["ਜਨਵਰੀ","ਫ਼ਰਵਰੀ","ਮਾਰਚ","ਅਪ੍ਰੈਲ","ਮਈ","ਜੂਨ","ਜੁਲਾਈ","ਅਗਸਤ","ਸਤੰਬਰ","ਅਕਤੂਬਰ","ਨਵੰਬਰ","ਦਸੰਬਰ",""],":","ਸਵੇਰ","ਸ਼ਾਮ","dd MMMM yyyy dddd tt hh:mm:ss","tt hh:mm","tt hh:mm:ss","MMMM, yyyy")),this._cultures["gu"]=new a("gu",new i.NumberFormatInfo(".",2,",",[3,2],1,2,".",",",[3,2],12,2,"₹",2,".",",",[3,2],0,0,"%","‰","Infinity","+","NaN","-Infinity","-"),new i.DateTimeFormatInfo("dd-MM-yy","-","dd MMMM yyyy",["રવિવાર","સોમવાર","મંગળવાર","બુધવાર","ગુરુવાર","શુક્રવાર","શનિવાર"],["જાન્યુઆરી","ફેબ્રુઆરી","માર્ચ","એપ્રિલ","મે","જૂન","જુલાઈ","ઑગસ્ટ","સપ્ટેમ્બર","ઑક્ટ્બર","નવેમ્બર","ડિસેમ્બર",""],["ર","સ","મ","બ","ગ","શ","શ"],["જાન્યુ","ફેબ્રુ","માર્ચ","એપ્રિલ","મે","જૂન","જુલાઈ","ઑગસ્ટ","સપ્ટે","ઑક્ટો","નવે","ડિસે",""],["જાન્યુઆરી","ફેબ્રુઆરી","માર્ચ","એપ્રિલ","મે","જૂન","જુલાઈ","ઑગસ્ટ","સપ્ટેમ્બર","ઑક્ટ્બર","નવેમ્બર","ડિસેમ્બર",""],":","પૂર્વ મધ્યાહ્ન","ઉત્તર મધ્યાહ્ન","dd MMMM yyyy HH:mm:ss","HH:mm","HH:mm:ss","MMMM, yyyy")),this._cultures["or"]=new a("or",new i.NumberFormatInfo(".",2,",",[3,2],1,2,".",",",[3,2],12,2,"₹",2,".",",",[3,2],0,0,"%","‰","Infinity","+","NaN","-Infinity","-"),new i.DateTimeFormatInfo("dd-MM-yy","-","dd MMMM yyyy",["ରବିବାର","ସୋମବାର","ମଙ୍ଗଳବାର","ବୁଧବାର","ଗୁରୁବାର","ଶୁକ୍ରବାର","ଶନିବାର"],["ଜାନୁୟାରୀ","ଫ୍ରେବୃୟାରୀ","ମାର୍ଚ୍ଚ","ଏପ୍ରିଲ୍","ମେ","ଜୁନ୍","ଜୁଲାଇ","ଅଗଷ୍ଟ","ସେପ୍ଟେମ୍ବର","ଅକ୍ଟୋବର","ନଭେମ୍ବର","(ଡିସେମ୍ବର",""],["ର","ସୋ","ମ","ବୁ","ଗୁ","ଶୁ","ଶ"],["ଜାନୁୟାରୀ","ଫ୍ରେବୃୟାରୀ","ମାର୍ଚ୍ଚ","ଏପ୍ରିଲ୍","ମେ","ଜୁନ୍","ଜୁଲାଇ","ଅଗଷ୍ଟ","ସେପ୍ଟେମ୍ବର","ଅକ୍ଟୋବର","ନଭେମ୍ବର","(ଡିସେମ୍ବର",""],["ଜାନୁୟାରୀ","ଫ୍ରେବୃୟାରୀ","ମାର୍ଚ୍ଚ","ଏପ୍ରିଲ୍","ମେ","ଜୁନ୍","ଜୁଲାଇ","ଅଗଷ୍ଟ","ସେପ୍ଟେମ୍ବର","ଅକ୍ଟୋବର","ନଭେମ୍ବର","(ଡିସେମ୍ବର",""],":","AM","PM","dd MMMM yyyy HH:mm:ss","HH:mm","HH:mm:ss","MMMM, yyyy")),this._cultures["ta"]=new a("ta",new i.NumberFormatInfo(".",2,",",[3,2],1,2,".",",",[3,2],12,2,"₹",2,".",",",[3,2],0,0,"%","‰","Infinity","+","NaN","-Infinity","-"),new i.DateTimeFormatInfo("dd-MM-yyyy","-","dd MMMM yyyy",["ஞாயிற்றுக்கிழமை","திங்கள்கிழமை","செவ்வாய்கிழமை","புதன்கிழமை","வியாழக்கிழமை","வெள்ளிக்கிழமை","சனிக்கிழமை"],["ஜனவரி","பிப்ரவரி","மார்ச்","ஏப்ரல்","மே","ஜூன்","ஜூலை","ஆகஸ்ட்","செப்டம்பர்","அக்டோபர்","நவம்பர்","டிசம்பர்",""],["ஞா","தி","செ","பு","வி","வெ","ச"],["ஜனவரி","பிப்ரவரி","மார்ச்","ஏப்ரல்","மே","ஜூன்","ஜூலை","ஆகஸ்ட்","செப்டம்பர்","அக்டோபர்","நவம்பர்","டிசம்பர்",""],["ஜனவரி","பிப்ரவரி","மார்ச்","ஏப்ரல்","மே","ஜூன்","ஜூலை","ஆகஸ்ட்","செப்டம்பர்","அக்டோபர்","நவம்பர்","டிசம்பர்",""],":","காலை","மாலை","dd MMMM yyyy HH:mm:ss","HH:mm","HH:mm:ss","MMMM yyyy")),this._cultures["te"]=new a("te",new i.NumberFormatInfo(".",2,",",[3,2],1,2,".",",",[3,2],12,2,"₹",2,".",",",[3,2],0,0,"%","‰","Infinity","+","NaN","-Infinity","-"),new i.DateTimeFormatInfo("dd-MM-yy","-","dd MMMM yyyy",["ఆదివారం","సోమవారం","మంగళవారం","బుధవారం","గురువారం","శుక్రవారం","శనివారం"],["జనవరి","ఫిబ్రవరి","మార్చి","ఏప్రిల్","మే","జూన్","జూలై","ఆగస్టు","సెప్టెంబర్","అక్టోబర్","నవంబర్","డిసెంబర్",""],["ఆ","సో","మం","బు","గు","శు","శ"],["జనవరి","ఫిబ్రవరి","మార్చి","ఏప్రిల్","మే","జూన్","జూలై","ఆగస్టు","సెప్టెంబర్","అక్టోబర్","నవంబర్","డిసెంబర్",""],["జనవరి","ఫిబ్రవరి","మార్చి","ఏప్రిల్","మే","జూన్","జూలై","ఆగస్టు","సెప్టెంబర్","అక్టోబర్","నవంబర్","డిసెంబర్",""],":","పూర్వాహ్న","అపరాహ్న","dd MMMM yyyy HH:mm:ss","HH:mm","HH:mm:ss","MMMM, yyyy")),this._cultures["kn"]=new a("kn",new i.NumberFormatInfo(".",2,",",[3,2],1,2,".",",",[3,2],12,2,"₹",2,".",",",[3,2],0,0,"%","‰","Infinity","+","NaN","-Infinity","-"),new i.DateTimeFormatInfo("dd-MM-yy","-","dd MMMM yyyy",["ಭಾನುವಾರ","ಸೋಮವಾರ","ಮಂಗಳವಾರ","ಬುಧವಾರ","ಗುರುವಾರ","ಶುಕ್ರವಾರ","ಶನಿವಾರ"],["ಜನವರಿ","ಫೆಬ್ರವರಿ","ಮಾರ್ಚ್","ಎಪ್ರಿಲ್","ಮೇ","ಜೂನ್","ಜುಲೈ","ಆಗಸ್ಟ್","ಸೆಪ್ಟಂಬರ್","ಅಕ್ಟೋಬರ್","ನವೆಂಬರ್","ಡಿಸೆಂಬರ್",""],["ರ","ಸ","ಮ","ಬ","ಗ","ಶ","ಶ"],["ಜನವರಿ","ಫೆಬ್ರವರಿ","ಮಾರ್ಚ್","ಎಪ್ರಿಲ್","ಮೇ","ಜೂನ್","ಜುಲೈ","ಆಗಸ್ಟ್","ಸೆಪ್ಟಂಬರ್","ಅಕ್ಟೋಬರ್","ನವೆಂಬರ್","ಡಿಸೆಂಬರ್",""],["ಜನವರಿ","ಫೆಬ್ರವರಿ","ಮಾರ್ಚ್","ಎಪ್ರಿಲ್","ಮೇ","ಜೂನ್","ಜುಲೈ","ಆಗಸ್ಟ್","ಸೆಪ್ಟಂಬರ್","ಅಕ್ಟೋಬರ್","ನವೆಂಬರ್","ಡಿಸೆಂಬರ್",""],":","ಪೂರ್ವಾಹ್ನ","ಅಪರಾಹ್ನ","dd MMMM yyyy HH:mm:ss","HH:mm","HH:mm:ss","MMMM, yyyy")),this._cultures["ml"]=new a("ml",new i.NumberFormatInfo(".",2,",",[3,2],1,2,".",",",[3,2],12,2,"₹",2,".",",",[3,2],2,2,"%","‰","Infinity","+","NaN","-Infinity","-"),new i.DateTimeFormatInfo("dd-MM-yy","-","dd MMMM yyyy",["ഞായറാഴ്ച","തിങ്കളാഴ്ച","ചൊവ്വാഴ്ച","ബുധനാഴ്ച","വ്യാഴാഴ്ച","വെള്ളിയാഴ്ച","ശനിയാഴ്ച"],["ജനുവരി","ഫെബ്റുവരി","മാറ്ച്ച്","ഏപ്റില്","മെയ്","ജൂണ്","ജൂലൈ","ഓഗസ്ററ്","സെപ്ററംബറ്","ഒക്ടോബറ്","നവംബറ്","ഡിസംബറ്",""],["ഞ","ത","ച","ബ","വ","വെ","ശ"],["ജനുവരി","ഫെബ്റുവരി","മാറ്ച്ച്","ഏപ്റില്","മെയ്","ജൂണ്","ജൂലൈ","ഓഗസ്ററ്","സെപ്ററംബറ്","ഒക്ടോബറ്","നവംബറ്","ഡിസംബറ്",""],["ജനുവരി","ഫെബ്റുവരി","മാറ്ച്ച്","ഏപ്റില്","മെയ്","ജൂണ്","ജൂലൈ","ഓഗസ്ററ്","സെപ്ററംബറ്","ഒക്ടോബറ്","നവംബറ്","ഡിസംബറ്",""],".","AM","PM","dd MMMM yyyy HH.mm.ss","HH.mm","HH.mm.ss","MMMM, yyyy")),this._cultures["as_"]=new a("as",new i.NumberFormatInfo(".",2,",",[3,2],1,2,".",",",[3,2],12,1,"₹",2,".",",",[3,2],1,1,"%","‰","infinity","+","nan","-infinity","-"),new i.DateTimeFormatInfo("dd-MM-yyyy","-","yyyy,MMMM dd, dddd",["সোমবাৰ","মঙ্গলবাৰ","বুধবাৰ","বৃহস্পতিবাৰ","শুক্রবাৰ","শনিবাৰ","ৰবিবাৰ"],["জানুৱাৰী","ফেব্রুৱাৰী","মার্চ","এপ্রিল","মে","জুন","জুলাই","আগষ্ট","চেপ্টেম্বর","অক্টোবর","নবেম্বর","ডিচেম্বর",""],["সো","ম","বু","বৃ","শু","শ","র"],["জানু","ফেব্রু","মার্চ","এপ্রিল","মে","জুন","জুলাই","আগষ্ট","চেপ্টে","অক্টো","নবে","ডিচে",""],["জানুৱাৰী","ফেব্রুৱাৰী","মার্চ","এপ্রিল","মে","জুন","জুলাই","আগষ্ট","চেপ্টেম্বর","অক্টোবর","নবেম্বর","ডিচেম্বর",""],":","ৰাতিপু","আবেলি","yyyy,MMMM dd, dddd tt h:mm:ss","tt h:mm","tt h:mm:ss","MMMM,yy")),this._cultures["mr"]=new a("mr",new i.NumberFormatInfo(".",2,",",[3,2],1,2,".",",",[3,2],12,2,"₹",2,".",",",[3,2],0,0,"%","‰","Infinity","+","NaN","-Infinity","-"),new i.DateTimeFormatInfo("dd-MM-yyyy","-","dd MMMM yyyy",["रविवार","सोमवार","मंगळवार","बुधवार","गुरुवार","शुक्रवार","शनिवार"],["जानेवारी","फेब्रुवारी","मार्च","एप्रिल","मे","जून","जुलै","ऑगस्ट","सप्टेंबर","ऑक्टोबर","नोव्हेंबर","डिसेंबर",""],["र","स","म","ब","ग","श","श"],["जाने.","फेब्रु.","मार्च","एप्रिल","मे","जून","जुलै","ऑगस्ट","सप्टें.","ऑक्टो.","नोव्हें.","डिसें.",""],["जानेवारी","फेब्रुवारी","मार्च","एप्रिल","मे","जून","जुलै","ऑगस्ट","सप्टेंबर","ऑक्टोबर","नोव्हेंबर","डिसेंबर",""],":","म.पू.","म.नं.","dd MMMM yyyy HH:mm:ss","HH:mm","HH:mm:ss","MMMM, yyyy")),this._cultures["sa"]=new a("sa",new i.NumberFormatInfo(".",2,",",[3,2],1,2,".",",",[3,2],12,2,"₹",2,".",",",[3,2],0,0,"%","‰","Infinity","+","NaN","-Infinity","-"),new i.DateTimeFormatInfo("dd-MM-yyyy","-","dd MMMM yyyy dddd",["रविवासरः","सोमवासरः","मङ्गलवासरः","बुधवासरः","गुरुवासरः","शुक्रवासरः","शनिवासरः"],["जनवरी","फरवरी","मार्च","अप्रैल","मई","जून","जुलाई","अगस्त","सितम्बर","अक्तूबर","नवम्बर","दिसम्बर",""],["र","स","म","ब","ग","श","श"],["जनवरी","फरवरी","मार्च","अप्रैल","मई","जून","जुलाई","अगस्त","सितम्बर","अक्तूबर","नवम्बर","दिसम्बर",""],["जनवरी","फरवरी","मार्च","अप्रैल","मई","जून","जुलाई","अगस्त","सितम्बर","अक्तूबर","नवम्बर","दिसम्बर",""],":","पूर्वाह्न","अपराह्न","dd MMMM yyyy dddd HH:mm:ss","HH:mm","HH:mm:ss","MMMM, yyyy")),this._cultures["mn"]=new a("mn",new i.NumberFormatInfo(",",2," ",[3],1,2,","," ",[3],5,1,"₮",2,","," ",[3],0,0,"%","‰","Infinity","+","NaN","-Infinity","-"),new i.DateTimeFormatInfo("yy.MM.dd",".","yyyy [оны] MMMM d",["Ням","Даваа","Мягмар","Лхагва","Пүрэв","Баасан","Бямба"],["1 дүгээр сар","2 дугаар сар","3 дугаар сар","4 дүгээр сар","5 дугаар сар","6 дугаар сар","7 дугаар сар","8 дугаар сар","9 дүгээр сар","10 дугаар сар","11 дүгээр сар","12 дугаар сар",""],["Ня","Да","Мя","Лх","Пү","Ба","Бя"],["I","II","III","IV","V","VI","VII","VIII","IX","X","XI","XII",""],["1 дүгээр сарын","2 дугаар сарын","3 дугаар сарын","4 дүгээр сарын","5 дугаар сарын","6 дугаар сарын","7 дугаар сарын","8 дугаар сарын","9 дүгээр сарын","10 дугаар сарын","11 дүгээр сарын","12 дугаар сарын",""],":","","","yyyy [оны] MMMM d H:mm:ss","H:mm","H:mm:ss","yyyy [он] MMMM")),this._cultures["bo"]=new a("bo",new i.NumberFormatInfo(".",2,",",[3,0],1,2,".",",",[3,0],2,0,"¥",2,".",",",[3,0],1,1,"%","‰","ཕོ་གྲངས་ཚད་མེད་ཆེ་བ།","+","ཨང་ཀི་མིན་པ།","མོ་གྲངས་ཚད་མེད་ཆུང་བ།","-"),new i.DateTimeFormatInfo("yyyy/M/d","/","yyyy[ལོའི་ཟླ] M[ཚེས] d",["གཟའ་ཉི་མ།","གཟའ་ཟླ་བ།","གཟའ་མིག་དམར།","གཟའ་ལྷག་པ།","གཟའ་ཕུར་བུ།","གཟའ་པ་སངས།","གཟའ་སྤེན་པ།"],["སྤྱི་ཟླ་དང་པོ།","སྤྱི་ཟླ་གཉིས་པ།","སྤྱི་ཟླ་གསུམ་པ།","སྤྱི་ཟླ་བཞི་པ།","སྤྱི་ཟླ་ལྔ་པ།","སྤྱི་ཟླ་དྲུག་པ།","སྤྱི་ཟླ་བདུན་པ།","སྤྱི་ཟླ་བརྒྱད་པ།","སྤྱི་ཟླ་དགུ་པ།","སྤྱི་ཟླ་བཅུ་པོ།","སྤྱི་ཟླ་བཅུ་གཅིག་པ།","སྤྱི་ཟླ་བཅུ་གཉིས་པ།",""],["༧","༡","༢","༣","༤","༥","༦"],["ཟླ་ ༡","ཟླ་ ༢","ཟླ་ ༣","ཟླ་ ༤","ཟླ་ ༥","ཟླ་ ༦","ཟླ་ ༧","ཟླ་ ༨","ཟླ་ ༩","ཟླ་ ༡༠","ཟླ་ ༡༡","ཟླ་ ༡༢",""],["སྤྱི་ཟླ་དང་པོ།","སྤྱི་ཟླ་གཉིས་པ།","སྤྱི་ཟླ་གསུམ་པ།","སྤྱི་ཟླ་བཞི་པ།","སྤྱི་ཟླ་ལྔ་པ།","སྤྱི་ཟླ་དྲུག་པ།","སྤྱི་ཟླ་བདུན་པ།","སྤྱི་ཟླ་བརྒྱད་པ།","སྤྱི་ཟླ་དགུ་པ།","སྤྱི་ཟླ་བཅུ་པོ།","སྤྱི་ཟླ་བཅུ་གཅིག་པ།","སྤྱི་ཟླ་བཅུ་གཉིས་པ།",""],":","སྔ་དྲོ","ཕྱི་དྲོ","yyyy[ལོའི་ཟླ] M[ཚེས] d HH:mm:ss","HH:mm","HH:mm:ss","yyyy.M")),this._cultures["cy"]=new a("cy",new i.NumberFormatInfo(".",2,",",[3],1,2,".",",",[3],1,0,"£",2,".",",",[3],2,2,"%","‰","Infinity","+","NaN","-Infinity","-"),new i.DateTimeFormatInfo("dd/MM/yyyy","/","dd MMMM yyyy",["Dydd Sul","Dydd Llun","Dydd Mawrth","Dydd Mercher","Dydd Iau","Dydd Gwener","Dydd Sadwrn"],["Ionawr","Chwefror","Mawrth","Ebrill","Mai","Mehefin","Gorffennaf","Awst","Medi","Hydref","Tachwedd","Rhagfyr",""],["Su","Ll","Ma","Me","Ia","Gw","Sa"],["Ion","Chwe","Maw","Ebr","Mai","Meh","Gor","Aws","Med","Hyd","Tach","Rhag",""],["Ionawr","Chwefror","Mawrth","Ebrill","Mai","Mehefin","Gorffennaf","Awst","Medi","Hydref","Tachwedd","Rhagfyr",""],":","a.m.","p.m.","dd MMMM yyyy HH:mm:ss","HH:mm","HH:mm:ss","MMMM yyyy")),this._cultures["km"]=new a("km",new i.NumberFormatInfo(".",2,",",[3,0],2,2,".",",",[3],5,1,"៛",2,".",",",[3,0],1,1,"%","‰","អនន្ត","+","NAN","-- អនន្ត","-"),new i.DateTimeFormatInfo("yyyy-MM-dd","-","d MMMM yyyy",["ថ្ងៃអាទិត្យ","ថ្ងៃច័ន្ទ","ថ្ងៃអង្គារ","ថ្ងៃពុធ","ថ្ងៃព្រហស្បតិ៍","ថ្ងៃសុក្រ","ថ្ងៃសៅរ៍"],["មករា","កុម្ភៈ","មិនា","មេសា","ឧសភា","មិថុនា","កក្កដា","សីហា","កញ្ញា","តុលា","វិច្ឆិកា","ធ្នូ",""],["អា","ច","អ","ពុ","ព្","សុ","ស"],["១","២","៣","៤","៥","៦","៧","៨","៩","១០","១១","១២",""],["មករា","កុម្ភៈ","មិនា","មេសា","ឧសភា","មិថុនា","កក្កដា","សីហា","កញ្ញា","តុលា","វិច្ឆិកា","ធ្នូ",""],":","ព្រឹក","ល្ងាច","d MMMM yyyy HH:mm:ss","H:mm tt","HH:mm:ss","[ខែ] MM [ឆ្នាំ] yyyy")),this._cultures["lo"]=new a("lo",new i.NumberFormatInfo(".",2,",",[3,0],0,2,".",",",[3,0],4,1,"₭",2,".",",",[3,0],0,0,"%","‰","Infinity","+","NaN","-Infinity","-"),new i.DateTimeFormatInfo("dd/MM/yyyy","/","dd MMMM yyyy",["ວັນອາທິດ","ວັນຈັນ","ວັນອັງຄານ","ວັນພຸດ","ວັນພະຫັດ","ວັນສຸກ","ວັນເສົາ"],["ມັງກອນ","ກຸມພາ","ມີນາ","ເມສາ","ພຶດສະພາ","ມິຖຸນາ","ກໍລະກົດ","ສິງຫາ","ກັນຍາ","ຕຸລາ","ພະຈິກ","ທັນວາ",""],["ອ","ຈ","ອ","ພ","ພ","ສ","ເ"],["ມັງກອນ","ກຸມພາ","ມີນາ","ເມສາ","ພຶດສະພາ","ມິຖຸນາ","ກໍລະກົດ","ສິງຫາ","ກັນຍາ","ຕຸລາ","ພະຈິກ","ທັນວາ",""],["ມັງກອນ","ກຸມພາ","ມີນາ","ເມສາ","ພຶດສະພາ","ມິຖຸນາ","ກໍລະກົດ","ສິງຫາ","ກັນຍາ","ຕຸລາ","ພະຈິກ","ທັນວາ",""],":","ເຊົ້າ","ແລງ","dd MMMM yyyy HH:mm:ss","H:mm tt","HH:mm:ss","MMMM yyyy")),this._cultures["gl"]=new a("gl",new i.NumberFormatInfo(",",2,".",[3],1,2,",",".",[3],8,3,"€",2,",",".",[3],0,0,"%","‰","Infinito","+","NeuN","-Infinito","-"),new i.DateTimeFormatInfo("dd/MM/yyyy","/","dddd, dd[ de ]MMMM[ de ]yyyy",["domingo","luns","martes","mércores","xoves","venres","sábado"],["xaneiro","febreiro","marzo","abril","maio","xuño","xullo","agosto","setembro","outubro","novembro","decembro",""],["do","lu","ma","mé","xo","ve","sá"],["xan","feb","mar","abr","maio","xuñ","xull","ago","set","out","nov","dec",""],["xaneiro","febreiro","marzo","abril","maio","xuño","xullo","agosto","setembro","outubro","novembro","decembro",""],":","a.m.","p.m.","dddd, dd[ de ]MMMM[ de ]yyyy H:mm:ss","H:mm","H:mm:ss","MMMM[ de ]yyyy")),this._cultures["kok"]=new a("kok",new i.NumberFormatInfo(".",2,",",[3,2],1,2,".",",",[3,2],12,2,"₹",2,".",",",[3,2],0,0,"%","‰","Infinity","+","NaN","-Infinity","-"),new i.DateTimeFormatInfo("dd-MM-yyyy","-","dd MMMM yyyy",["आयतार","सोमार","मंगळार","बुधवार","बिरेस्तार","सुक्रार","शेनवार"],["जानेवारी","फेब्रुवारी","मार्च","एप्रिल","मे","जून","जुलै","ऑगस्ट","सप्टेंबर","ऑक्टोबर","नोवेम्बर","डिसेंबर",""],["आ","स","म","ब","ब","स","श"],["जानेवारी","फेब्रुवारी","मार्च","एप्रिल","मे","जून","जुलै","ऑगस्ट","सप्टेंबर","ऑक्टोबर","नोवेम्बर","डिसेंबर",""],["जानेवारी","फेब्रुवारी","मार्च","एप्रिल","मे","जून","जुलै","ऑगस्ट","सप्टेंबर","ऑक्टोबर","नोवेम्बर","डिसेंबर",""],":","म.पू.","म.नं.","dd MMMM yyyy HH:mm:ss","HH:mm","HH:mm:ss","MMMM, yyyy")),this._cultures["syr"]=new a("syr",new i.NumberFormatInfo(".",2,",",[3],1,2,".",",",[3],3,2,"ل.س.",2,".",",",[3],0,0,"%","‰","Infinity","+","NaN","-Infinity","-"),new i.DateTimeFormatInfo("dd/MM/yyyy","/","dd MMMM, yyyy",["ܚܕ ܒܫܒܐ","ܬܪܝܢ ܒܫܒܐ","ܬܠܬܐ ܒܫܒܐ","ܐܪܒܥܐ ܒܫܒܐ","ܚܡܫܐ ܒܫܒܐ","ܥܪܘܒܬܐ","ܫܒܬܐ"],["ܟܢܘܢ ܐܚܪܝ","ܫܒܛ","ܐܕܪ","ܢܝܣܢ","ܐܝܪ","ܚܙܝܪܢ","ܬܡܘܙ","ܐܒ","ܐܝܠܘܠ","ܬܫܪܝ ܩܕܝܡ","ܬܫܪܝ ܐܚܪܝ","ܟܢܘܢ ܩܕܝܡ",""],["ܐ","ܒ","ܓ","ܕ","ܗ","ܥ","ܫ"],["ܟܢ ܒ","ܫܒܛ","ܐܕܪ","ܢܝܣܢ","ܐܝܪ","ܚܙܝܪܢ","ܬܡܘܙ","ܐܒ","ܐܝܠܘܠ","ܬܫ ܐ","ܬܫ ܒ","ܟܢ ܐ",""],["ܟܢܘܢ ܐܚܪܝ","ܫܒܛ","ܐܕܪ","ܢܝܣܢ","ܐܝܪ","ܚܙܝܪܢ","ܬܡܘܙ","ܐܒ","ܐܝܠܘܠ","ܬܫܪܝ ܩܕܝܡ","ܬܫܪܝ ܐܚܪܝ","ܟܢܘܢ ܩܕܝܡ",""],":","ܩ.ܛ","ܒ.ܛ","dd MMMM, yyyy hh:mm:ss tt","hh:mm tt","hh:mm:ss tt","MMMM, yyyy")),this._cultures["si"]=new a("si",new i.NumberFormatInfo(".",2,",",[3,2],1,2,".",",",[3],14,2,"රු.",2,".",",",[3,2],0,0,"%","‰","අනන්තය","+","NaN","-අනන්තය","-"),new i.DateTimeFormatInfo("yyyy-MM-dd","-","yyyy MMMM[ මස ]dd[ වැනිදා ]dddd",["ඉරිදා","සඳුදා","අඟහරුවාදා","බදාදා","බ්රහස්පතින්දා","සිකුරාදා","සෙනසුරාදා"],["ජනවාරි","පෙබරවාරි","මාර්තු","අප්රේල්","මැයි","ජූනි","ජූලි","අගෝස්තු","සැප්තැම්බර්","ඔක්තෝබර්","නොවැම්බර්","දෙසැම්බර්",""],["ඉ","ස","අ","බ","බ්ර","සි","සෙ"],["ජන.","පෙබ.","මාර්තු.","අප්රේල්.","මැයි.","ජූනි.","ජූලි.","අගෝ.","සැප්.","ඔක්.","නොවැ.","දෙසැ.",""],["ජනවාරි","පෙබරවාරි","මාර්තු","අප්රේල්","මැයි","ජූනි","ජූලි","අගෝස්තු","සැප්තැම්බර්","ඔක්තෝබර්","නොවැම්බර්","දෙසැම්බර්",""],":","පෙ.ව.","ප.ව.","yyyy MMMM[ මස ]dd[ වැනිදා ]dddd h:mm:ss tt","h:mm tt","h:mm:ss tt","yyyy MMMM")),this._cultures["iu"]=new a("iu",new i.NumberFormatInfo(".",2,",",[3,0],1,2,".",",",[3],0,0,"$",2,".",",",[3,0],0,0,"%","‰","Infinity","+","NaN","-Infinity","-"),new i.DateTimeFormatInfo("d/MM/yyyy","/","ddd, MMMM dd,yyyy",["Naattiinguja","Naggajjau","Aippiq","Pingatsiq","Sitammiq","Tallirmiq","Sivataarvik"],["Jaannuari","Viivvuari","Maatsi","Iipuri","Mai","Juuni","Julai","Aaggiisi","Sitipiri","Utupiri","Nuvipiri","Tisipiri",""],["N","N","A","P","S","T","S"],["Jan","Viv","Mas","Ipu","Mai","Jun","Jul","Agi","Sii","Uut","Nuv","Tis",""],["Jaannuari","Viivvuari","Maatsi","Iipuri","Mai","Juuni","Julai","Aaggiisi","Sitipiri","Utupiri","Nuvipiri","Tisipiri",""],":","AM","PM","ddd, MMMM dd,yyyy h:mm:ss tt","h:mm tt","h:mm:ss tt","MMMM, yyyy")),this._cultures["am"]=new a("am",new i.NumberFormatInfo(".",1,",",[3,0],1,2,".",",",[3,0],1,0,"ETB",1,".",",",[3,0],1,1,"%","‰","Infinity","+","NAN","-Infinity","-"),new i.DateTimeFormatInfo("d/M/yyyy","/","dddd [፣] MMMM d [ቀን] yyyy",["እሑድ","ሰኞ","ማክሰኞ","ረቡዕ","ሐሙስ","ዓርብ","ቅዳሜ"],["ጃንዩወሪ","ፌብሩወሪ","ማርች","ኤፕረል","ሜይ","ጁን","ጁላይ","ኦገስት","ሴፕቴምበር","ኦክተውበር","ኖቬምበር","ዲሴምበር",""],["እ","ሰ","ማ","ረ","ሐ","ዓ","ቅ"],["ጃንዩ","ፌብሩ","ማርች","ኤፕረ","ሜይ","ጁን","ጁላይ","ኦገስ","ሴፕቴ","ኦክተ","ኖቬም","ዲሴም",""],["ጃንዩወሪ","ፌብሩወሪ","ማርች","ኤፕረል","ሜይ","ጁን","ጁላይ","ኦገስት","ሴፕቴምበር","ኦክተውበር","ኖቬምበር","ዲሴምበር",""],":","ጡዋት","ከሰዓት","dddd [፣] MMMM d [ቀን] yyyy h:mm:ss tt","h:mm tt","h:mm:ss tt","MMMM yyyy")),this._cultures["tzm"]=new a("tzm",new i.NumberFormatInfo(",",2,".",[3],3,2,".",",",[3],8,3,"DZD",2,",",".",[3],0,0,"%","‰","+Infini","+","Non Numérique","-Infini","-"),new i.DateTimeFormatInfo("dd-MM-yyyy","-","dd MMMM, yyyy",["Acer","Arime","Aram","Ahad","Amhadh","Sem","Sedh"],["Yenayer","Furar","Maghres","Yebrir","Mayu","Yunyu","Yulyu","Ghuct","Cutenber","Ktuber","Wambir","Dujanbir",""],["Ac","Ar","Ar","Ah","Am","Se","Se"],["Yen","Fur","Mag","Yeb","May","Yun","Yul","Ghu","Cut","Ktu","Wam","Duj",""],["Yenayer","Furar","Maghres","Yebrir","Mayu","Yunyu","Yulyu","Ghuct","Cutenber","Ktuber","Wambir","Dujanbir",""],":","","","dd MMMM, yyyy H:mm:ss","H:mm","H:mm:ss","MMMM, yyyy")),this._cultures["ne"]=new a("ne",new i.NumberFormatInfo(".",2,",",[3,2],1,2,".",",",[3],1,0,"रु",2,".",",",[3,2],1,1,"%","‰","infinity","+","nan","-infinity","-"),new i.DateTimeFormatInfo("M/d/yyyy","/","dddd, MMMM dd, yyyy",["आइतवार","सोमवार","मङ्गलवार","बुधवार","बिहीवार","शुक्रवार","शनिवार"],["जनवरी","फेब्रुअरी","मार्च","अप्रिल","मे","जून","जुलाई","अगस्त","सेप्टेम्बर","अक्टोबर","नोभेम्बर","डिसेम्बर",""],["आ","सो","म","बु","बि","शु","श"],["जन","फेब","मार्च","अप्रिल","मे","जून","जुलाई","अग","सेप्ट","अक्ट","नोभ","डिस",""],["जनवरी","फेब्रुअरी","मार्च","अप्रिल","मे","जून","जुलाई","अगस्त","सेप्टेम्बर","अक्टोबर","नोभेम्बर","डिसेम्बर",""],":","विहानी","बेलुकी","dddd, MMMM dd, yyyy h:mm:ss tt","h:mm tt","h:mm:ss tt","MMMM,yyyy")),this._cultures["fy"]=new a("fy",new i.NumberFormatInfo(",",2,".",[3],1,2,",",".",[3],12,2,"€",2,",",".",[3],0,0,"%","‰","Infinity","+","NaN","-Infinity","-"),new i.DateTimeFormatInfo("d-M-yyyy","-","dddd d MMMM yyyy",["Snein","Moandei","Tiisdei","Woansdei","Tongersdei","Freed","Sneon"],["jannewaris","febrewaris","maart","april","maaie","juny","july","augustus","septimber","oktober","novimber","desimber",""],["S","M","T","W","T","F","S"],["jann","febr","mrt","apr","maaie","jun","jul","aug","sept","okt","nov","des",""],["jannewaris","febrewaris","maart","april","maaie","juny","july","augustus","septimber","oktober","novimber","desimber",""],":","","","dddd d MMMM yyyy H:mm:ss","H:mm","H:mm:ss","MMMM yyyy")),this._cultures["ps"]=new a("ps",new i.NumberFormatInfo(",",2,"،",[3],3,2,"٫","٬",[3],3,0,"؋",2,",","،",[3],4,2,"%","‰","∞","+","غ ع","-∞","-"),new i.DateTimeFormatInfo("dd/MM/yy","/","dd/MM/yyyy",["الأحد","الإثنين","الثلاثاء","الأربعاء","الخميس","الجمعة","السبت"],["محرم","صفر","ربيع الأول","ربيع الثاني","جمادى الأولى","جمادى الثانية","رجب","شعبان","رمضان","شوال","ذو القعدة","ذو الحجة",""],["ح","ن","ث","ر","خ","ج","س"],["محرم","صفر","ربيع الأول","ربيع الثاني","جمادى الأولى","جمادى الثانية","رجب","شعبان","رمضان","شوال","ذو القعدة","ذو الحجة",""],["محرم","صفر","ربيع الأول","ربيع الثاني","جمادى الأولى","جمادى الثانية","رجب","شعبان","رمضان","شوال","ذو القعدة","ذو الحجة",""],":","غ.م","غ.و","dd/MM/yyyy h:mm:ss tt","h:mm tt","h:mm:ss tt","MMMM, yyyy")),this._cultures["fil"]=new a("fil",new i.NumberFormatInfo(".",2,",",[3],1,2,".",",",[3],0,0,"PhP",2,".",",",[3],0,0,"%","‰","Infinity","+","NaN","-Infinity","-"),new i.DateTimeFormatInfo("M/d/yyyy","/","dddd, MMMM dd, yyyy",["Linggo","Lunes","Martes","Mierkoles","Huebes","Biernes","Sabado"],["Enero","Pebrero","Marso","Abril","Mayo","Hunyo","Hulyo","Agosto","Septyembre","Oktubre","Nobyembre","Disyembre",""],["L","L","M","M","H","B","S"],["En","Peb","Mar","Abr","Mayo","Hun","Hul","Agos","Sept","Okt","Nob","Dis",""],["Enero","Pebrero","Marso","Abril","Mayo","Hunyo","Hulyo","Agosto","Septyembre","Oktubre","Nobyembre","Disyembre",""],":","AM","PM","dddd, MMMM dd, yyyy h:mm:ss tt","h:mm tt","h:mm:ss tt","MMMM, yyyy")),this._cultures["dv"]=new a("dv",new i.NumberFormatInfo(".",2,",",[3],1,2,".",",",[3],10,3,"ރ.",2,".",",",[3],0,0,"%","‰","Infinity","+","NaN","-Infinity","-"),new i.DateTimeFormatInfo("dd/MM/yy","/","dd/MM/yyyy",["އާދީއްތަ","ހޯމަ","އަންގާރަ","ބުދަ","ބުރާސްފަތި","ހުކުރު","ހޮނިހިރު"],["މުޙައްރަމް","ޞަފަރު","ރަބީޢުލްއައްވަލް","ރަބީޢުލްއާޚިރު","ޖުމާދަލްއޫލާ","ޖުމާދަލްއާޚިރާ","ރަޖަބް","ޝަޢްބާން","ރަމަޟާން","ޝައްވާލް","ޛުލްޤަޢިދާ","ޛުލްޙިއްޖާ",""],["އާ","ހޯ","އަ","ބު","ބު","ހު","ހޮ"],["މުޙައްރަމް","ޞަފަރު","ރަބީޢުލްއައްވަލް","ރަބީޢުލްއާޚިރު","ޖުމާދަލްއޫލާ","ޖުމާދަލްއާޚިރާ","ރަޖަބް","ޝަޢްބާން","ރަމަޟާން","ޝައްވާލް","ޛުލްޤަޢިދާ","ޛުލްޙިއްޖާ",""],["މުޙައްރަމް","ޞަފަރު","ރަބީޢުލްއައްވަލް","ރަބީޢުލްއާޚިރު","ޖުމާދަލްއޫލާ","ޖުމާދަލްއާޚިރާ","ރަޖަބް","ޝަޢްބާން","ރަމަޟާން","ޝައްވާލް","ޛުލްޤަޢިދާ","ޛުލްޙިއްޖާ",""],":","މކ","މފ","dd/MM/yyyy HH:mm:ss","HH:mm","HH:mm:ss","MMMM, yyyy")),this._cultures["ha"]=new a("ha",new i.NumberFormatInfo(".",2,",",[3],1,2,".",",",[3],2,2,"N",2,".",",",[3],0,0,"%","‰","Infinity","+","NaN","-Infinity","-"),new i.DateTimeFormatInfo("d/M/yyyy","/","dddd, MMMM dd, yyyy",["Lahadi","Litinin","Talata","Laraba","Alhamis","Juma'a","Asabar"],["Januwaru","Febreru","Maris","Afrilu","Mayu","Yuni","Yuli","Agusta","Satumba","Oktocba","Nuwamba","Disamba",""],["L","L","T","L","A","J","A"],["Jan","Feb","Mar","Afr","May","Yun","Yul","Agu","Sat","Okt","Nuw","Dis",""],["Januwaru","Febreru","Maris","Afrilu","Mayu","Yuni","Yuli","Agusta","Satumba","Oktocba","Nuwamba","Disamba",""],":","Safe","Yamma","dddd, MMMM dd, yyyy h:mm:ss tt","h:mm tt","h:mm:ss tt","MMMM, yyyy")),this._cultures["yo"]=new a("yo",new i.NumberFormatInfo(".",2,",",[3],1,2,".",",",[3],2,2,"N",2,".",",",[3],0,0,"%","‰","Infinity","+","NaN","-Infinity","-"),new i.DateTimeFormatInfo("d/M/yyyy","/","dddd, MMMM dd, yyyy",["Aiku","Aje","Isegun","Ojo'ru","Ojo'bo","Eti","Abameta"],["Osu kinni","Osu keji","Osu keta","Osu kerin","Osu karun","Osu kefa","Osu keje","Osu kejo","Osu kesan","Osu kewa","Osu kokanla","Osu keresi",""],["A","A","I","O","O","E","A"],["kin.","kej.","ket.","ker.","kar.","kef.","kej.","kej.","kes.","kew.","kok.","ker.",""],["Osu kinni","Osu keji","Osu keta","Osu kerin","Osu karun","Osu kefa","Osu keje","Osu kejo","Osu kesan","Osu kewa","Osu kokanla","Osu keresi",""],":","Owuro","Ale","dddd, MMMM dd, yyyy h:mm:ss tt","h:mm tt","h:mm:ss tt","MMMM, yyyy")),this._cultures["quz"]=new a("quz",new i.NumberFormatInfo(",",2,".",[3],1,2,",",".",[3],14,2,"$b",2,",",".",[3],2,2,"%","‰","Infinity","+","NaN","-Infinity","-"),new i.DateTimeFormatInfo("dd/MM/yyyy","/","dddd, dd[ de ]MMMM[ de ]yyyy",["intichaw","killachaw","atipachaw","quyllurchaw","Ch' askachaw","Illapachaw","k'uychichaw"],["Qulla puquy","Hatun puquy","Pauqar waray","ayriwa","Aymuray","Inti raymi","Anta Sitwa","Qhapaq Sitwa","Uma raymi","Kantaray","Ayamarq'a","Kapaq Raymi",""],["d","k","a","m","h","b","k"],["Qul","Hat","Pau","ayr","Aym","Int","Ant","Qha","Uma","Kan","Aya","Kap",""],["Qulla puquy","Hatun puquy","Pauqar waray","ayriwa","Aymuray","Inti raymi","Anta Sitwa","Qhapaq Sitwa","Uma raymi","Kantaray","Ayamarq'a","Kapaq Raymi",""],":","a.m.","p.m.","dddd, dd[ de ]MMMM[ de ]yyyy hh:mm:ss tt","hh:mm tt","hh:mm:ss tt","MMMM[ de ]yyyy")),this._cultures["nso"]=new a("nso",new i.NumberFormatInfo(".",2,",",[3],1,2,".",",",[3],2,2,"R",2,".",",",[3],2,2,"%","‰","Infinity","+","NaN","-Infinity","-"),new i.DateTimeFormatInfo("yyyy/MM/dd","/","dd MMMM yyyy",["Lamorena","Mošupologo","Labobedi","Laboraro","Labone","Labohlano","Mokibelo"],["Pherekgong","Hlakola","Mopitlo","Moranang","Mosegamanye","Ngoatobošego","Phuphu","Phato","Lewedi","Diphalana","Dibatsela","Manthole",""],["L","M","L","L","L","L","M"],["Pher","Hlak","Mop","Mor","Mos","Ngwat","Phup","Phat","Lew","Dip","Dib","Man",""],["Pherekgong","Hlakola","Mopitlo","Moranang","Mosegamanye","Ngoatobošego","Phuphu","Phato","Lewedi","Diphalana","Dibatsela","Manthole",""],":","AM","PM","dd MMMM yyyy hh:mm:ss tt","hh:mm tt","hh:mm:ss tt","MMMM yyyy")),this._cultures["ba"]=new a("ba",new i.NumberFormatInfo(",",2," ",[3,0],1,2,","," ",[3,0],8,3,"₽",2,","," ",[3,0],1,1,"%","‰","бесконечность","+","NaN","-бесконечность","-"),new i.DateTimeFormatInfo("dd.MM.yy",".","d MMMM yyyy [й]",["Йәкшәмбе","Дүшәмбе","Шишәмбе","Шаршамбы","Кесаҙна","Йома","Шәмбе"],["ғинуар","февраль","март","апрель","май","июнь","июль","август","сентябрь","октябрь","ноябрь","декабрь",""],["Йш","Дш","Шш","Шр","Кс","Йм","Шб"],["ғин","фев","мар","апр","май","июн","июл","авг","сен","окт","ноя","дек",""],["ғинуар","февраль","март","апрель","май","июнь","июль","август","сентябрь","октябрь","ноябрь","декабрь",""],":","","","d MMMM yyyy [й] H:mm:ss","H:mm","H:mm:ss","MMMM yyyy")),this._cultures["lb"]=new a("lb",new i.NumberFormatInfo(",",2," ",[3],1,2,","," ",[3],8,3,"€",2,","," ",[3],0,0,"%","‰","+onendlech","+","n. num.","-onendlech","-"),new i.DateTimeFormatInfo("dd/MM/yyyy","/","dddd d MMMM yyyy",["Sonndeg","Méindeg","Dënschdeg","Mëttwoch","Donneschdeg","Freideg","Samschdeg"],["Januar","Februar","Mäerz","Abrëll","Mee","Juni","Juli","August","September","Oktober","November","Dezember",""],["So","Mé","Dë","Më","Do","Fr","Sa"],["Jan","Feb","Mäe","Abr","Mee","Jun","Jul","Aug","Sep","Okt","Nov","Dez",""],["Januar","Februar","Mäerz","Abrëll","Mee","Juni","Juli","August","September","Oktober","November","Dezember",""],":","","","dddd d MMMM yyyy HH:mm:ss","HH:mm","HH:mm:ss","MMMM yyyy")),this._cultures["kl"]=new a("kl",new i.NumberFormatInfo(",",2,".",[3,0],1,2,",",".",[3,0],12,2,"kr.",2,",",".",[3,0],0,0,"%","‰","INF","+","NaN","-INF","-"),new i.DateTimeFormatInfo("dd-MM-yyyy","-","d. MMMM yyyy",["sapaat","ataasinngorneq","marlunngorneq","pingasunngorneq","sisamanngorneq","tallimanngorneq","arfininngorneq"],["januari","februari","martsi","apriili","maaji","juni","juli","aggusti","septembari","oktobari","novembari","decembari",""],["sa","at","ma","pi","si","ta","ar"],["jan","feb","mar","apr","mai","jun","jul","aug","sep","okt","nov","dec",""],["januari","februari","martsi","apriili","maaji","juni","juli","aggusti","septembari","oktobari","novembari","decembari",""],":","","","d. MMMM yyyy HH:mm:ss","HH:mm","HH:mm:ss","MMMM yyyy")),this._cultures["ig"]=new a("ig",new i.NumberFormatInfo(".",2,",",[3],1,2,".",",",[3],2,2,"N",2,".",",",[3],0,0,"%","‰","Infinity","+","NaN","-Infinity","-"),new i.DateTimeFormatInfo("d/M/yyyy","/","dddd, MMMM dd, yyyy",["Aiku","Aje","Isegun","Ojo'ru","Ojo'bo","Eti","Abameta"],["Onwa mbu","Onwa ibua","Onwa ato","Onwa ano","Onwa ise","Onwa isi","Onwa asa","Onwa asato","Onwa itolu","Onwa iri","Onwa iri n'ofu","Onwa iri n'ibua",""],["A","A","I","O","O","E","A"],["mbu.","ibu.","ato.","ano.","ise","isi","asa","asa.","ito.","iri.","n'of.","n'ib.",""],["Onwa mbu","Onwa ibua","Onwa ato","Onwa ano","Onwa ise","Onwa isi","Onwa asa","Onwa asato","Onwa itolu","Onwa iri","Onwa iri n'ofu","Onwa iri n'ibua",""],":","Ututu","Efifie","dddd, MMMM dd, yyyy h:mm:ss tt","h:mm tt","h:mm:ss tt","MMMM, yyyy")),this._cultures["ii"]=new a("ii",new i.NumberFormatInfo(".",2,",",[3,0],1,2,".",",",[3],2,0,"¥",2,".",",",[3,0],1,1,"%","‰","ꈤꇁꑖꀋꉬ","+","ꌗꂷꀋꉬ","ꀄꊭꌐꀋꉆ","-"),new i.DateTimeFormatInfo("yyyy/M/d","/","yyyy[ꈎ] M[ꆪ] d[ꑍ]",["ꑭꆏꑍ","ꆏꊂ꒔","ꆏꊂꑍ","ꆏꊂꌕ","ꆏꊂꇖ","ꆏꊂꉬ","ꆏꊂꃘ"],["ꋍꆪ","ꑍꆪ","ꌕꆪ","ꇖꆪ","ꉬꆪ","ꃘꆪ","ꏃꆪ","ꉆꆪ","ꈬꆪ","ꊰꆪ","ꊯꊪꆪ","ꊰꑋꆪ",""],["ꆏ","꒔","ꑍ","ꌕ","ꇖ","ꉬ","ꃘ"],["ꋍꆪ","ꑍꆪ","ꌕꆪ","ꇖꆪ","ꉬꆪ","ꃘꆪ","ꏃꆪ","ꉆꆪ","ꈬꆪ","ꊰꆪ","ꊯꊪꆪ","ꊰꑋꆪ",""],["ꋍꆪ","ꑍꆪ","ꌕꆪ","ꇖꆪ","ꉬꆪ","ꃘꆪ","ꏃꆪ","ꉆꆪ","ꈬꆪ","ꊰꆪ","ꊯꊪꆪ","ꊰꑋꆪ",""],":","ꂵꆪꈌꈐ","ꂵꆪꈌꉈ","yyyy[ꈎ] M[ꆪ] d[ꑍ] H:mm:ss","tt h:mm","H:mm:ss","yyyy[ꈎ] M[ꆪ]")),this._cultures["arn"]=new a("arn",new i.NumberFormatInfo(",",2,".",[3],1,2,",",".",[3],9,2,"$",2,",",".",[3],0,0,"%","‰","Infinito","+","NeuN","-Infinito","-"),new i.DateTimeFormatInfo("dd-MM-yyyy","-","dddd, dd[ de ]MMMM[ de ]yyyy",["domingo","lunes","martes","miércoles","jueves","viernes","sábado"],["enero","febrero","marzo","abril","mayo","junio","julio","agosto","septiembre","octubre","noviembre","diciembre",""],["do","lu","ma","mi","ju","vi","sá"],["ene","feb","mar","abr","may","jun","jul","ago","sep","oct","nov","dic",""],["enero","febrero","marzo","abril","mayo","junio","julio","agosto","septiembre","octubre","noviembre","diciembre",""],":","","","dddd, dd[ de ]MMMM[ de ]yyyy H:mm:ss","H:mm","H:mm:ss","MMMM[ de ]yyyy")),this._cultures["moh"]=new a("moh",new i.NumberFormatInfo(".",2,",",[3,0],1,2,".",",",[3],0,0,"$",2,".",",",[3,0],0,0,"%","‰","Infinity","+","NaN","-Infinity","-"),new i.DateTimeFormatInfo("M/d/yyyy","/","dddd, MMMM dd, yyyy",["Awentatokentì:ke","Awentataón'ke","Ratironhia'kehronòn:ke","Soséhne","Okaristiiáhne","Ronwaia'tanentaktonhne","Entákta"],["Tsothohrkó:Wa","Enniska","Enniskó:Wa","Onerahtókha","Onerahtohkó:Wa","Ohiari:Ha","Ohiarihkó:Wa","Seskéha","Seskehkó:Wa","Kenténha","Kentenhkó:Wa","Tsothóhrha",""],["S","M","T","W","T","F","S"],["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec",""],["Tsothohrkó:Wa","Enniska","Enniskó:Wa","Onerahtókha","Onerahtohkó:Wa","Ohiari:Ha","Ohiarihkó:Wa","Seskéha","Seskehkó:Wa","Kenténha","Kentenhkó:Wa","Tsothóhrha",""],":","AM","PM","dddd, MMMM dd, yyyy h:mm:ss tt","h:mm tt","h:mm:ss tt","MMMM, yyyy")),this._cultures["br"]=new a("br",new i.NumberFormatInfo(",",2," ",[3],1,2,","," ",[3],8,3,"€",2,","," ",[3],0,0,"%","‰","+Anfin","+","NkN","-Anfin","-"),new i.DateTimeFormatInfo("dd/MM/yyyy","/","dddd d MMMM yyyy",["Sul","Lun","Meurzh","Merc'her","Yaou","Gwener","Sadorn"],["Genver","C'hwevrer","Meurzh","Ebrel","Mae","Mezheven","Gouere","Eost","Gwengolo","Here","Du","Kerzu",""],["Su","Lu","Mz","Mc","Ya","Gw","Sa"],["Gen.","C'hwe.","Meur.","Ebr.","Mae","Mezh.","Goue.","Eost","Gwen.","Here","Du","Kzu",""],["Genver","C'hwevrer","Meurzh","Ebrel","Mae","Mezheven","Gouere","Eost","Gwengolo","Here","Du","Kerzu",""],":","","","dddd d MMMM yyyy HH:mm:ss","HH:mm","HH:mm:ss","MMMM yyyy")),this._cultures["ug"]=new a("ug",new i.NumberFormatInfo(".",2,",",[3],1,2,".",",",[3],2,0,"¥",2,".",",",[3],1,1,"%","‰","مۇسبەت چەكسىزلىك","+","سان ئەمەس","مەنپىي چەكسىزلىك","-"),new i.DateTimeFormatInfo("yyyy-M-d","-","yyyy-[يىلى] MMMM d-[كۈنى،]",["يەكشەنبە","دۈشەنبە","سەيشەنبە","چارشەنبە","پەيشەنبە","جۈمە","شەنبە"],["1-ئاي","2-ئاي","3-ئاي","4-ئاي","5-ئاي","6-ئاي","7-ئاي","8-ئاي","9-ئاي","10-ئاي","11-ئاي","12-ئاي",""],["ي","د","س","چ","پ","ج","ش"],["1-ئاي","2-ئاي","3-ئاي","4-ئاي","5-ئاي","6-ئاي","7-ئاي","8-ئاي","9-ئاي","10-ئاي","11-ئاي","12-ئاي",""],["1-ئاي","2-ئاي","3-ئاي","4-ئاي","5-ئاي","6-ئاي","7-ئاي","8-ئاي","9-ئاي","10-ئاي","11-ئاي","12-ئاي",""],":","چۈشتىن بۇرۇن","چۈشتىن كېيىن","yyyy-[يىلى] MMMM d-[كۈنى،] H:mm:ss","H:mm","H:mm:ss","yyyy-[يىلى] MMMM")),this._cultures["mi"]=new a("mi",new i.NumberFormatInfo(".",2,",",[3],1,2,".",",",[3],1,0,"$",2,".",",",[3],2,2,"%","‰","Infinity","+","NaN","-Infinity","-"),new i.DateTimeFormatInfo("dd/MM/yyyy","/","dddd, dd MMMM, yyyy",["Rātapu","Rāhina","Rātū","Rāapa","Rāpare","Rāmere","Rāhoroi"],["Kohi-tātea","Hui-tanguru","Poutū-te-rangi","Paenga-whāwhā","Haratua","Pipiri","Hōngongoi","Here-turi-kōkā","Mahuru","Whiringa-ā-nuku","Whiringa-ā-rangi","Hakihea",""],["Ta","Hi","Tū","Aa","Pa","Me","Ho"],["Kohi","Hui","Pou","Pae","Hara","Pipi","Hōngo","Here","Mahu","Nuku","Rangi","Haki",""],["Kohi-tātea","Hui-tanguru","Poutū-te-rangi","Paenga-whāwhā","Haratua","Pipiri","Hōngongoi","Here-turi-kōkā","Mahuru","Whiringa-ā-nuku","Whiringa-ā-rangi","Hakihea",""],":","a.m.","p.m.","dddd, dd MMMM, yyyy h:mm:ss tt","h:mm tt","h:mm:ss tt","MMMM, yy")),this._cultures["oc"]=new a("oc",new i.NumberFormatInfo(",",2," ",[3],1,2,","," ",[3],8,3,"€",2,","," ",[3],0,0,"%","‰","+Infinit","+","Non Numeric","-Infinit","-"),new i.DateTimeFormatInfo("dd/MM/yyyy","/","dddd,[ lo ]d MMMM[ de ]yyyy",["dimenge","diluns","dimars","dimècres","dijòus","divendres","dissabte"],["genier","febrier","març","abril","mai","junh","julh","agost","setembre","octobre","novembre","desembre",""],["di","lu","ma","mè","jò","ve","sa"],["gen.","feb.","mar.","abr.","mai.","jun.","jul.","ag.","set.","oct.","nov.","des.",""],["de genier","de febrier","de març","d'abril","de mai","de junh","de julh","d'agost","de setembre","d'octobre","de novembre","de desembre",""],":","","","dddd,[ lo ]d MMMM[ de ]yyyy HH:mm:ss","HH:mm","HH:mm:ss","MMMM yyyy")),this._cultures["co"]=new a("co",new i.NumberFormatInfo(",",2," ",[3],1,2,","," ",[3],8,3,"€",2,","," ",[3],0,0,"%","‰","+Infinitu","+","Mica numericu","-Infinitu","-"),new i.DateTimeFormatInfo("dd/MM/yyyy","/","dddd d MMMM yyyy",["dumenica","luni","marti","mercuri","ghjovi","venderi","sabbatu"],["ghjennaghju","ferraghju","marzu","aprile","maghju","ghjunghju","lugliu","aostu","settembre","ottobre","nuvembre","dicembre",""],["du","lu","ma","me","gh","ve","sa"],["ghje","ferr","marz","apri","magh","ghju","lugl","aost","sett","otto","nuve","dice",""],["ghjennaghju","ferraghju","marzu","aprile","maghju","ghjunghju","lugliu","aostu","settembre","ottobre","nuvembre","dicembre",""],":","","","dddd d MMMM yyyy HH:mm:ss","HH:mm","HH:mm:ss","MMMM yyyy")),this._cultures["gsw"]=new a("gsw",new i.NumberFormatInfo(",",2," ",[3],1,2,","," ",[3],8,3,"€",2,","," ",[3],0,0,"%","‰","+Unendlich","+","Ohne Nummer","-Unendlich","-"),new i.DateTimeFormatInfo("dd/MM/yyyy","/","dddd d MMMM yyyy",["Sundàà","Mondàà","Dienschdàà","Mittwuch","Dunnerschdàà","Fridàà","Sàmschdàà"],["Jänner","Feverje","März","Àpril","Mai","Jüni","Jüli","Augscht","September","Oktower","Nowember","Dezember",""],["Su","Mo","Di","Mi","Du","Fr","Sà"],["Jän.","Fev.","März","Apr.","Mai","Jüni","Jüli","Aug.","Sept.","Okt.","Now.","Dez.",""],["Jänner","Feverje","März","Àpril","Mai","Jüni","Jüli","Augscht","September","Oktower","Nowember","Dezember",""],":","","","dddd d MMMM yyyy HH:mm:ss","HH:mm","HH:mm:ss","MMMM yyyy")),this._cultures["sah"]=new a("sah",new i.NumberFormatInfo(",",2," ",[3],1,2,","," ",[3],5,1,"₽",2,","," ",[3],1,1,"%","‰","бесконечность","+","NAN","-бесконечность","-"),new i.DateTimeFormatInfo("MM.dd.yyyy",".","MMMM d yyyy [с.]",["баскыһыанньа","бэнидиэнньик","оптуорунньук","сэрэдэ","чэппиэр","бээтинсэ","субуота"],["Тохсунньу","Олунньу","Кулун тутар","Муус устар","Ыам ыйа","Бэс ыйа","От ыйа","Атырдьах ыйа","Балаҕан ыйа","Алтынньы","Сэтинньи","Ахсынньы",""],["Бс","Бн","Оп","Ср","Чп","Бт","Сб"],["тхс","олн","кул","мст","ыам","бэс","отй","атр","блҕ","алт","стн","ахс",""],["тохсунньу","олунньу","кулун тутар","муус устар","ыам ыйын","бэс ыйын","от ыйын","атырдьах ыйын","балаҕан ыйын","алтынньы","сэтинньи","ахсынньы",""],":","","","MMMM d yyyy [с.] H:mm:ss","H:mm","H:mm:ss","MMMM yyyy [с.]")),this._cultures["qut"]=new a("qut",new i.NumberFormatInfo(".",2,",",[3],1,2,".",",",[3],0,0,"Q",2,".",",",[3],0,0,"%","‰","Infinito","+","NeuN","-Infinito","-"),new i.DateTimeFormatInfo("dd/MM/yyyy","/","dddd, dd[ de ]MMMM[ de ]yyyy",["juq'ij","kaq'ij","oxq'ij","kajq'ij","joq'ij","waqq'ij","wuqq'ij"],["nab'e ik'","ukab' ik'","rox ik'","ukaj ik'","uro' ik'","uwaq ik'","uwuq ik'","uwajxaq ik'","ub'elej ik'","ulaj ik'","ujulaj ik'","ukab'laj ik'",""],["ju","ka","ox","ka","jo","wa","wu"],["nab'e","ukab","rox","ukaj","uro","uwaq","uwuq","uwajxaq","ub'elej","ulaj","ujulaj","ukab'laj",""],["nab'e ik'","ukab' ik'","rox ik'","ukaj ik'","uro' ik'","uwaq ik'","uwuq ik'","uwajxaq ik'","ub'elej ik'","ulaj ik'","ujulaj ik'","ukab'laj ik'",""],":","a.m.","p.m.","dddd, dd[ de ]MMMM[ de ]yyyy hh:mm:ss tt","hh:mm tt","hh:mm:ss tt","MMMM[ de ]yyyy")),this._cultures["rw"]=new a("rw",new i.NumberFormatInfo(",",2," ",[3],1,2,","," ",[3],2,2,"RWF",2,","," ",[3],0,0,"%","‰","Infinity","+","NaN","-Infinity","-"),new i.DateTimeFormatInfo("M/d/yyyy","/","dddd, MMMM dd, yyyy",["Ku wa mbere","Ku wa kabiri","Ku wa gatatu","Ku wa kane","Ku wa gatanu","Ku wa gatandatu","Ku cyumweru"],["Mutarama","Gashyantare","Werurwe","Mata","Gicurasi","Kamena","Nyakanga","Kanama","Nzeli","Ukwakira","Ugushyingo","Ukuboza",""],["mb","ka","ga","ka","ga","ga","cy"],["Mut","Gas","Wer","Mat","Gic","Kam","Nya","Kan","Nze","Ukwa","Ugu","Uku",""],["Mutarama","Gashyantare","Werurwe","Mata","Gicurasi","Kamena","Nyakanga","Kanama","Nzeli","Ukwakira","Ugushyingo","Ukuboza",""],":","saa moya z.m.","saa moya z.n.","dddd, MMMM dd, yyyy h:mm:ss tt","h:mm tt","h:mm:ss tt","MMMM, yyyy")),this._cultures["wo"]=new a("wo",new i.NumberFormatInfo(",",2," ",[3],1,2,","," ",[3],8,3,"XOF",2,","," ",[3],0,0,"%","‰","+Infini","+","Non Numérique","-Infini","-"),new i.DateTimeFormatInfo("dd/MM/yyyy","/","dddd d MMMM yyyy",["dimanche","lundi","mardi","mercredi","jeudi","vendredi","samedi"],["janvier","février","mars","avril","mai","juin","juillet","août","septembre","octobre","novembre","décembre",""],["di","lu","ma","me","je","ve","sa"],["janv.","févr.","mars","avr.","mai","juin","juil.","août","sept.","oct.","nov.","déc.",""],["janvier","février","mars","avril","mai","juin","juillet","août","septembre","octobre","novembre","décembre",""],":","","","dddd d MMMM yyyy HH:mm:ss","HH:mm","HH:mm:ss","MMMM yyyy")),this._cultures["prs"]=new a("prs",new i.NumberFormatInfo(",",2,".",[3],3,2,".",",",[3],3,0,"؋",2,",",".",[3],4,2,"%","‰","∞","+","غ ع","-∞","-"),new i.DateTimeFormatInfo("dd/MM/yy","/","dd/MM/yyyy",["الأحد","الإثنين","الثلاثاء","الأربعاء","الخميس","الجمعة","السبت"],["محرم","صفر","ربيع الأول","ربيع الثاني","جمادى الأولى","جمادى الثانية","رجب","شعبان","رمضان","شوال","ذو القعدة","ذو الحجة",""],["ح","ن","ث","ر","خ","ج","س"],["محرم","صفر","ربيع الأول","ربيع الثاني","جمادى الأولى","جمادى الثانية","رجب","شعبان","رمضان","شوال","ذو القعدة","ذو الحجة",""],["محرم","صفر","ربيع الأول","ربيع الثاني","جمادى الأولى","جمادى الثانية","رجب","شعبان","رمضان","شوال","ذو القعدة","ذو الحجة",""],":","غ.م","غ.و","dd/MM/yyyy h:mm:ss tt","h:mm tt","h:mm:ss tt","MMMM, yyyy")),this._cultures["gd"]=new a("gd",new i.NumberFormatInfo(".",2,",",[3],1,2,".",",",[3],1,0,"£",2,".",",",[3],0,0,"%","‰","Neo-chrìochnachd","+","NaN","-Neo-chrìochnachd","-"),new i.DateTimeFormatInfo("dd/MM/yyyy","/","dd MMMM yyyy",["Didòmhnaich","Diluain","Dimàirt","Diciadain","Diardaoin","Dihaoine","Disathairne"],["Am Faoilleach","An Gearran","Am Màrt","An Giblean","An Cèitean","An t-Ògmhios","An t-Iuchar","An Lùnastal","An t-Sultain","An Dàmhair","An t-Samhain","An Dùbhlachd",""],["D","L","M","C","A","H","S"],["Fao","Gea","Màr","Gib","Cèi","Ògm","Iuc","Lùn","Sul","Dàm","Sam","Dùb",""],["Am Faoilleach","An Gearran","Am Màrt","An Giblean","An Cèitean","An t-Ògmhios","An t-Iuchar","An Lùnastal","An t-Sultain","An Dàmhair","An t-Samhain","An Dùbhlachd",""],":","m","f","dd MMMM yyyy HH:mm:ss","HH:mm","HH:mm:ss","MMMM yyyy")),this._cultures["ar-SA"]=new a("ar-SA",new i.NumberFormatInfo(".",2,",",[3],3,2,".",",",[3],3,2,"ر.س.",2,".",",",[3],0,0,"%","‰","+لا نهاية","+","ليس برقم","-لا نهاية","-"),new i.DateTimeFormatInfo("dd/MM/yy","/","dd/MMMM/yyyy",["الأحد","الإثنين","الثلاثاء","الأربعاء","الخميس","الجمعة","السبت"],["محرم","صفر","ربيع الأول","ربيع الثاني","جمادى الأولى","جمادى الثانية","رجب","شعبان","رمضان","شوال","ذو القعدة","ذو الحجة",""],["ح","ن","ث","ر","خ","ج","س"],["محرم","صفر","ربيع الأول","ربيع الثاني","جمادى الأولى","جمادى الثانية","رجب","شعبان","رمضان","شوال","ذو القعدة","ذو الحجة",""],["محرم","صفر","ربيع الأول","ربيع الثاني","جمادى الأولى","جمادى الثانية","رجب","شعبان","رمضان","شوال","ذو القعدة","ذو الحجة",""],":","ص","م","dd/MMMM/yyyy hh:mm:ss tt","hh:mm tt","hh:mm:ss tt","MMMM, yyyy")),this._cultures["bg-BG"]=new a("bg-BG",new i.NumberFormatInfo(",",2," ",[3],1,2,","," ",[3],8,3,"лв.",2,","," ",[3],0,0,"%","‰","+ безкрайност","+","NaN","- безкрайност","-"),new i.DateTimeFormatInfo("d.M.yyyy [г.]",".","dd MMMM yyyy [г.]",["неделя","понеделник","вторник","сряда","четвъртък","петък","събота"],["януари","февруари","март","април","май","юни","юли","август","септември","октомври","ноември","декември",""],["н","п","в","с","ч","п","с"],["ян","февр","март","апр","май","юни","юли","авг","септ","окт","ноември","дек",""],["януари","февруари","март","април","май","юни","юли","август","септември","октомври","ноември","декември",""],":","","","dd MMMM yyyy [г.] HH:mm:ss 'ч.'","HH:mm 'ч.'","HH:mm:ss 'ч.'","MMMM yyyy [г.]")),this._cultures["ca-ES"]=new a("ca-ES",new i.NumberFormatInfo(",",2,".",[3],1,2,",",".",[3],8,3,"€",2,",",".",[3],0,0,"%","‰","Infinit","+","NeuN","-Infinit","-"),new i.DateTimeFormatInfo("dd/MM/yyyy","/","dddd, d[ / ]MMMM[ / ]yyyy",["diumenge","dilluns","dimarts","dimecres","dijous","divendres","dissabte"],["gener","febrer","març","abril","maig","juny","juliol","agost","setembre","octubre","novembre","desembre",""],["dg","dl","dt","dc","dj","dv","ds"],["gen","feb","març","abr","maig","juny","jul","ag","set","oct","nov","des",""],["gener","febrer","març","abril","maig","juny","juliol","agost","setembre","octubre","novembre","desembre",""],":","","","dddd, d[ / ]MMMM[ / ]yyyy HH:mm:ss","HH:mm","HH:mm:ss","MMMM[ / ]yyyy")),this._cultures["zh-TW"]=new a("zh-TW",new i.NumberFormatInfo(".",2,",",[3],1,2,".",",",[3],1,0,"NT$",2,".",",",[3],1,1,"%","‰","正無窮大","+","不是一個數字","負無窮大","-"),new i.DateTimeFormatInfo("yyyy/M/d","/","yyyy[年]M[月]d[日]",["星期日","星期一","星期二","星期三","星期四","星期五","星期六"],["一月","二月","三月","四月","五月","六月","七月","八月","九月","十月","十一月","十二月",""],["日","一","二","三","四","五","六"],["一月","二月","三月","四月","五月","六月","七月","八月","九月","十月","十一月","十二月",""],["一月","二月","三月","四月","五月","六月","七月","八月","九月","十月","十一月","十二月",""],":","上午","下午","yyyy[年]M[月]d[日] tt hh:mm:ss","tt hh:mm","tt hh:mm:ss","yyyy[年]M[月]")),this._cultures["cs-CZ"]=new a("cs-CZ",new i.NumberFormatInfo(",",2," ",[3],1,2,","," ",[3],8,3,"Kč",2,","," ",[3],1,1,"%","‰","+nekonečno","+","Není číslo","-nekonečno","-"),new i.DateTimeFormatInfo("d.M.yyyy",".","d. MMMM yyyy",["neděle","pondělí","úterý","středa","čtvrtek","pátek","sobota"],["leden","únor","březen","duben","květen","červen","červenec","srpen","září","říjen","listopad","prosinec",""],["ne","po","út","st","čt","pá","so"],["1","2","3","4","5","6","7","8","9","10","11","12",""],["ledna","února","března","dubna","května","června","července","srpna","září","října","listopadu","prosince",""],":","dop.","odp.","d. MMMM yyyy H:mm:ss","H:mm","H:mm:ss","MMMM yyyy")),this._cultures["da-DK"]=new a("da-DK",new i.NumberFormatInfo(",",2,".",[3],1,2,",",".",[3],12,2,"kr.",2,",",".",[3],0,0,"%","‰","INF","+","NaN","-INF","-"),new i.DateTimeFormatInfo("dd-MM-yyyy","-","d. MMMM yyyy",["søndag","mandag","tirsdag","onsdag","torsdag","fredag","lørdag"],["januar","februar","marts","april","maj","juni","juli","august","september","oktober","november","december",""],["sø","ma","ti","on","to","fr","lø"],["jan","feb","mar","apr","maj","jun","jul","aug","sep","okt","nov","dec",""],["januar","februar","marts","april","maj","juni","juli","august","september","oktober","november","december",""],":","","","d. MMMM yyyy HH:mm:ss","HH:mm","HH:mm:ss","MMMM yyyy")),this._cultures["de-DE"]=new a("de-DE",new i.NumberFormatInfo(",",2,".",[3],1,2,",",".",[3],8,3,"€",2,",",".",[3],1,1,"%","‰","+unendlich","+","n. def.","-unendlich","-"),new i.DateTimeFormatInfo("dd.MM.yyyy",".","dddd, d. MMMM yyyy",["Sonntag","Montag","Dienstag","Mittwoch","Donnerstag","Freitag","Samstag"],["Januar","Februar","März","April","Mai","Juni","Juli","August","September","Oktober","November","Dezember",""],["So","Mo","Di","Mi","Do","Fr","Sa"],["Jan","Feb","Mrz","Apr","Mai","Jun","Jul","Aug","Sep","Okt","Nov","Dez",""],["Januar","Februar","März","April","Mai","Juni","Juli","August","September","Oktober","November","Dezember",""],":","","","dddd, d. MMMM yyyy HH:mm:ss","HH:mm","HH:mm:ss","MMMM yyyy")),this._cultures["el-GR"]=new a("el-GR",new i.NumberFormatInfo(",",2,".",[3],1,2,",",".",[3],8,3,"€",2,",",".",[3],1,1,"%","‰","Άπειρο","+","μη αριθμός","-Άπειρο","-"),new i.DateTimeFormatInfo("d/M/yyyy","/","dddd, d MMMM yyyy",["Κυριακή","Δευτέρα","Τρίτη","Τετάρτη","Πέμπτη","Παρασκευή","Σάββατο"],["Ιανουάριος","Φεβρουάριος","Μάρτιος","Απρίλιος","Μάιος","Ιούνιος","Ιούλιος","Αύγουστος","Σεπτέμβριος","Οκτώβριος","Νοέμβριος","Δεκέμβριος",""],["Κυ","Δε","Τρ","Τε","Πε","Πα","Σά"],["Ιαν","Φεβ","Μαρ","Απρ","Μαϊ","Ιουν","Ιουλ","Αυγ","Σεπ","Οκτ","Νοε","Δεκ",""],["Ιανουαρίου","Φεβρουαρίου","Μαρτίου","Απριλίου","Μαΐου","Ιουνίου","Ιουλίου","Αυγούστου","Σεπτεμβρίου","Οκτωβρίου","Νοεμβρίου","Δεκεμβρίου",""],":","πμ","μμ","dddd, d MMMM yyyy h:mm:ss tt","h:mm tt","h:mm:ss tt","MMMM yyyy")),this._cultures["en-US"]=new a("en-US",new i.NumberFormatInfo(".",2,",",[3],1,2,".",",",[3],0,0,"$",2,".",",",[3],0,0,"%","‰","Infinity","+","NaN","-Infinity","-"),new i.DateTimeFormatInfo("M/d/yyyy","/","dddd, MMMM dd, yyyy",["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],["January","February","March","April","May","June","July","August","September","October","November","December",""],["Su","Mo","Tu","We","Th","Fr","Sa"],["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec",""],["January","February","March","April","May","June","July","August","September","October","November","December",""],":","AM","PM","dddd, MMMM dd, yyyy h:mm:ss tt","h:mm tt","h:mm:ss tt","MMMM, yyyy")),this._cultures["fi-FI"]=new a("fi-FI",new i.NumberFormatInfo(",",2," ",[3],1,2,","," ",[3],8,3,"€",2,","," ",[3],0,0,"%","‰","INF","+","NaN","-INF","-"),new i.DateTimeFormatInfo("d.M.yyyy",".","d. MMMM[ta ]yyyy",["sunnuntai","maanantai","tiistai","keskiviikko","torstai","perjantai","lauantai"],["tammikuu","helmikuu","maaliskuu","huhtikuu","toukokuu","kesäkuu","heinäkuu","elokuu","syyskuu","lokakuu","marraskuu","joulukuu",""],["su","ma","ti","ke","to","pe","la"],["tammi","helmi","maalis","huhti","touko","kesä","heinä","elo","syys","loka","marras","joulu",""],["tammikuu","helmikuu","maaliskuu","huhtikuu","toukokuu","kesäkuu","heinäkuu","elokuu","syyskuu","lokakuu","marraskuu","joulukuu",""],":","","","d. MMMM[ta ]yyyy H:mm:ss","H:mm","H:mm:ss","MMMM yyyy")),this._cultures["fr-FR"]=new a("fr-FR",new i.NumberFormatInfo(",",2," ",[3],1,2,","," ",[3],8,3,"€",2,","," ",[3],0,0,"%","‰","+Infini","+","Non Numérique","-Infini","-"),new i.DateTimeFormatInfo("dd/MM/yyyy","/","dddd d MMMM yyyy",["dimanche","lundi","mardi","mercredi","jeudi","vendredi","samedi"],["janvier","février","mars","avril","mai","juin","juillet","août","septembre","octobre","novembre","décembre",""],["di","lu","ma","me","je","ve","sa"],["janv.","févr.","mars","avr.","mai","juin","juil.","août","sept.","oct.","nov.","déc.",""],["janvier","février","mars","avril","mai","juin","juillet","août","septembre","octobre","novembre","décembre",""],":","","","dddd d MMMM yyyy HH:mm:ss","HH:mm","HH:mm:ss","MMMM yyyy")),this._cultures["he-IL"]=new a("he-IL",new i.NumberFormatInfo(".",2,",",[3],1,2,".",",",[3],2,2,"₪",2,".",",",[3],1,1,"%","‰","אינסוף חיובי","+","לא מספר","אינסוף שלילי","-"),new i.DateTimeFormatInfo("dd/MM/yyyy","/","dddd dd MMMM yyyy",["יום ראשון","יום שני","יום שלישי","יום רביעי","יום חמישי","יום שישי","שבת"],["ינואר","פברואר","מרץ","אפריל","מאי","יוני","יולי","אוגוסט","ספטמבר","אוקטובר","נובמבר","דצמבר",""],["א","ב","ג","ד","ה","ו","ש"],["ינו","פבר","מרץ","אפר","מאי","יונ","יול","אוג","ספט","אוק","נוב","דצמ",""],["ינואר","פברואר","מרץ","אפריל","מאי","יוני","יולי","אוגוסט","ספטמבר","אוקטובר","נובמבר","דצמבר",""],":","AM","PM","dddd dd MMMM yyyy HH:mm:ss","HH:mm","HH:mm:ss","MMMM yyyy")),this._cultures["hu-HU"]=new a("hu-HU",new i.NumberFormatInfo(",",2," ",[3],1,2,","," ",[3],8,3,"Ft",2,","," ",[3],0,0,"%","‰","végtelen","+","nem szám","negatív végtelen","-"),new i.DateTimeFormatInfo("yyyy.MM.dd.",".","yyyy. MMMM d.",["vasárnap","hétfő","kedd","szerda","csütörtök","péntek","szombat"],["január","február","március","április","május","június","július","augusztus","szeptember","október","november","december",""],["V","H","K","Sze","Cs","P","Szo"],["jan.","febr.","márc.","ápr.","máj.","jún.","júl.","aug.","szept.","okt.","nov.","dec.",""],["január","február","március","április","május","június","július","augusztus","szeptember","október","november","december",""],":","de.","du.","yyyy. MMMM d. H:mm:ss","H:mm","H:mm:ss","yyyy. MMMM")),this._cultures["is-IS"]=new a("is-IS",new i.NumberFormatInfo(",",2,".",[3],1,0,",",".",[3],8,3,"kr.",2,",",".",[3],1,1,"%","‰","INF","+","NaN","-INF","-"),new i.DateTimeFormatInfo("d.M.yyyy",".","d. MMMM yyyy",["sunnudagur","mánudagur","þriðjudagur","miðvikudagur","fimmtudagur","föstudagur","laugardagur"],["janúar","febrúar","mars","apríl","maí","júní","júlí","ágúst","september","október","nóvember","desember",""],["su","má","þr","mi","fi","fö","la"],["jan.","feb.","mar.","apr.","maí","jún.","júl.","ágú.","sep.","okt.","nóv.","des.",""],["janúar","febrúar","mars","apríl","maí","júní","júlí","ágúst","september","október","nóvember","desember",""],":","","","d. MMMM yyyy HH:mm:ss","HH:mm","HH:mm:ss","MMMM yyyy")),this._cultures["it-IT"]=new a("it-IT",new i.NumberFormatInfo(",",2,".",[3],1,2,",",".",[3],9,2,"€",2,",",".",[3],1,1,"%","‰","+Infinito","+","Non un numero reale","-Infinito","-"),new i.DateTimeFormatInfo("dd/MM/yyyy","/","dddd d MMMM yyyy",["domenica","lunedì","martedì","mercoledì","giovedì","venerdì","sabato"],["gennaio","febbraio","marzo","aprile","maggio","giugno","luglio","agosto","settembre","ottobre","novembre","dicembre",""],["do","lu","ma","me","gi","ve","sa"],["gen","feb","mar","apr","mag","giu","lug","ago","set","ott","nov","dic",""],["gennaio","febbraio","marzo","aprile","maggio","giugno","luglio","agosto","settembre","ottobre","novembre","dicembre",""],":","","","dddd d MMMM yyyy HH:mm:ss","HH:mm","HH:mm:ss","MMMM yyyy")),this._cultures["ja-JP"]=new a("ja-JP",new i.NumberFormatInfo(".",2,",",[3],1,0,".",",",[3],1,0,"¥",2,".",",",[3],1,1,"%","‰","+∞","+","NaN (非数値)","-∞","-"),new i.DateTimeFormatInfo("yyyy/MM/dd","/","yyyy[年]M[月]d[日]",["日曜日","月曜日","火曜日","水曜日","木曜日","金曜日","土曜日"],["1月","2月","3月","4月","5月","6月","7月","8月","9月","10月","11月","12月",""],["日","月","火","水","木","金","土"],["1","2","3","4","5","6","7","8","9","10","11","12",""],["1月","2月","3月","4月","5月","6月","7月","8月","9月","10月","11月","12月",""],":","午前","午後","yyyy[年]M[月]d[日] H:mm:ss","H:mm","H:mm:ss","yyyy[年]M[月]")),this._cultures["ko-KR"]=new a("ko-KR",new i.NumberFormatInfo(".",2,",",[3],1,0,".",",",[3],1,0,"₩",2,".",",",[3],0,0,"%","‰","Infinity","+","NaN","-Infinity","-"),new i.DateTimeFormatInfo("yyyy-MM-dd","-","yyyy[년] M[월] d[일] dddd",["일요일","월요일","화요일","수요일","목요일","금요일","토요일"],["1월","2월","3월","4월","5월","6월","7월","8월","9월","10월","11월","12월",""],["일","월","화","수","목","금","토"],["1","2","3","4","5","6","7","8","9","10","11","12",""],["1월","2월","3월","4월","5월","6월","7월","8월","9월","10월","11월","12월",""],":","오전","오후","yyyy[년] M[월] d[일] dddd tt h:mm:ss","tt h:mm","tt h:mm:ss","yyyy[년] M[월]")),this._cultures["nl-NL"]=new a("nl-NL",new i.NumberFormatInfo(",",2,".",[3],1,2,",",".",[3],12,2,"€",2,",",".",[3],0,0,"%","‰","Infinity","+","NaN","-Infinity","-"),new i.DateTimeFormatInfo("d-M-yyyy","-","dddd d MMMM yyyy",["zondag","maandag","dinsdag","woensdag","donderdag","vrijdag","zaterdag"],["januari","februari","maart","april","mei","juni","juli","augustus","september","oktober","november","december",""],["zo","ma","di","wo","do","vr","za"],["jan","feb","mrt","apr","mei","jun","jul","aug","sep","okt","nov","dec",""],["januari","februari","maart","april","mei","juni","juli","augustus","september","oktober","november","december",""],":","","","dddd d MMMM yyyy H:mm:ss","H:mm","H:mm:ss","MMMM yyyy")),this._cultures["nb-NO"]=new a("nb-NO",new i.NumberFormatInfo(",",2," ",[3],1,2,","," ",[3],12,2,"kr",2,","," ",[3],0,0,"%","‰","INF","+","NaN","-INF","-"),new i.DateTimeFormatInfo("dd.MM.yyyy",".","d. MMMM yyyy",["søndag","mandag","tirsdag","onsdag","torsdag","fredag","lørdag"],["januar","februar","mars","april","mai","juni","juli","august","september","oktober","november","desember",""],["sø","ma","ti","on","to","fr","lø"],["jan","feb","mar","apr","mai","jun","jul","aug","sep","okt","nov","des",""],["januar","februar","mars","april","mai","juni","juli","august","september","oktober","november","desember",""],":","","","d. MMMM yyyy HH:mm:ss","HH:mm","HH:mm:ss","MMMM yyyy")),this._cultures["pl-PL"]=new a("pl-PL",new i.NumberFormatInfo(",",2," ",[3],1,2,","," ",[3],8,3,"zł",2,","," ",[3],1,1,"%","‰","+nieskończoność","+","nie jest liczbą","-nieskończoność","-"),new i.DateTimeFormatInfo("yyyy-MM-dd","-","d MMMM yyyy",["niedziela","poniedziałek","wtorek","środa","czwartek","piątek","sobota"],["styczeń","luty","marzec","kwiecień","maj","czerwiec","lipiec","sierpień","wrzesień","październik","listopad","grudzień",""],["N","Pn","Wt","Śr","Cz","Pt","So"],["sty","lut","mar","kwi","maj","cze","lip","sie","wrz","paź","lis","gru",""],["stycznia","lutego","marca","kwietnia","maja","czerwca","lipca","sierpnia","września","października","listopada","grudnia",""],":","","","d MMMM yyyy HH:mm:ss","HH:mm","HH:mm:ss","MMMM yyyy")),this._cultures["pt-BR"]=new a("pt-BR",new i.NumberFormatInfo(",",2,".",[3],1,2,",",".",[3],9,2,"R$",2,",",".",[3],1,1,"%","‰","+Infinito","+","NaN (Não é um número)","-Infinito","-"),new i.DateTimeFormatInfo("dd/MM/yyyy","/","dddd, d[ de ]MMMM[ de ]yyyy",["domingo","segunda-feira","terça-feira","quarta-feira","quinta-feira","sexta-feira","sábado"],["janeiro","fevereiro","março","abril","maio","junho","julho","agosto","setembro","outubro","novembro","dezembro",""],["D","S","T","Q","Q","S","S"],["jan","fev","mar","abr","mai","jun","jul","ago","set","out","nov","dez",""],["janeiro","fevereiro","março","abril","maio","junho","julho","agosto","setembro","outubro","novembro","dezembro",""],":","","","dddd, d[ de ]MMMM[ de ]yyyy HH:mm:ss","HH:mm","HH:mm:ss","MMMM[ de ]yyyy")),this._cultures["rm-CH"]=new a("rm-CH",new i.NumberFormatInfo(".",2,"'",[3],1,2,".","'",[3],2,2,"fr.",2,".","'",[3],1,1,"%","‰","+infinit","+","betg def.","-infinit","-"),new i.DateTimeFormatInfo("dd/MM/yyyy","/","dddd, d MMMM yyyy",["dumengia","glindesdi","mardi","mesemna","gievgia","venderdi","sonda"],["schaner","favrer","mars","avrigl","matg","zercladur","fanadur","avust","settember","october","november","december",""],["du","gli","ma","me","gie","ve","so"],["schan","favr","mars","avr","matg","zercl","fan","avust","sett","oct","nov","dec",""],["schaner","favrer","mars","avrigl","matg","zercladur","fanadur","avust","settember","october","november","december",""],":","","","dddd, d MMMM yyyy HH:mm:ss","HH:mm","HH:mm:ss","MMMM yyyy")),this._cultures["ro-RO"]=new a("ro-RO",new i.NumberFormatInfo(",",2,".",[3],1,2,",",".",[3],8,3,"lei",2,",",".",[3],1,1,"%","‰","Infinity","+","NaN","-Infinity","-"),new i.DateTimeFormatInfo("dd.MM.yyyy",".","d MMMM yyyy",["duminică","luni","marţi","miercuri","joi","vineri","sâmbătă"],["ianuarie","februarie","martie","aprilie","mai","iunie","iulie","august","septembrie","octombrie","noiembrie","decembrie",""],["D","L","Ma","Mi","J","V","S"],["ian.","feb.","mar.","apr.","mai.","iun.","iul.","aug.","sep.","oct.","nov.","dec.",""],["ianuarie","februarie","martie","aprilie","mai","iunie","iulie","august","septembrie","octombrie","noiembrie","decembrie",""],":","","","d MMMM yyyy HH:mm:ss","HH:mm","HH:mm:ss","MMMM yyyy")),this._cultures["ru-RU"]=new a("ru-RU",new i.NumberFormatInfo(",",2," ",[3],1,2,","," ",[3],8,3,"₽",2,","," ",[3],1,1,"%","‰","бесконечность","+","NaN","-бесконечность","-"),new i.DateTimeFormatInfo("dd.MM.yyyy",".","d MMMM yyyy [г.]",["воскресенье","понедельник","вторник","среда","четверг","пятница","суббота"],["Январь","Февраль","Март","Апрель","Май","Июнь","Июль","Август","Сентябрь","Октябрь","Ноябрь","Декабрь",""],["Вс","Пн","Вт","Ср","Чт","Пт","Сб"],["янв","фев","мар","апр","май","июн","июл","авг","сен","окт","ноя","дек",""],["января","февраля","марта","апреля","мая","июня","июля","августа","сентября","октября","ноября","декабря",""],":","","","d MMMM yyyy [г.] H:mm:ss","H:mm","H:mm:ss","MMMM yyyy")),this._cultures["hr-HR"]=new a("hr-HR",new i.NumberFormatInfo(",",2,".",[3],2,2,",",".",[3],8,3,"kn",2,",",".",[3],1,1,"%","‰","Infinity","+","NaN","-Infinity","-"),new i.DateTimeFormatInfo("d.M.yyyy.",".","d. MMMM yyyy.",["nedjelja","ponedjeljak","utorak","srijeda","četvrtak","petak","subota"],["siječanj","veljača","ožujak","travanj","svibanj","lipanj","srpanj","kolovoz","rujan","listopad","studeni","prosinac",""],["ne","po","ut","sr","če","pe","su"],["sij","vlj","ožu","tra","svi","lip","srp","kol","ruj","lis","stu","pro",""],["siječnja","veljače","ožujka","travnja","svibnja","lipnja","srpnja","kolovoza","rujna","listopada","studenog","prosinca",""],":","","","d. MMMM yyyy. H:mm:ss","H:mm","H:mm:ss","MMMM, yyyy")),this._cultures["sk-SK"]=new a("sk-SK",new i.NumberFormatInfo(",",2," ",[3],1,2,","," ",[3],8,3,"€",2,","," ",[3],1,1,"%","‰","+nekonečno","+","Nie je číslo","-nekonečno","-"),new i.DateTimeFormatInfo("d. M. yyyy",". ","d. MMMM yyyy",["nedeľa","pondelok","utorok","streda","štvrtok","piatok","sobota"],["január","február","marec","apríl","máj","jún","júl","august","september","október","november","december",""],["ne","po","ut","st","št","pi","so"],["1","2","3","4","5","6","7","8","9","10","11","12",""],["januára","februára","marca","apríla","mája","júna","júla","augusta","septembra","októbra","novembra","decembra",""],":","","","d. MMMM yyyy H:mm:ss","H:mm","H:mm:ss","MMMM yyyy")),this._cultures["sq-AL"]=new a("sq-AL",new i.NumberFormatInfo(",",2,".",[3],1,2,",",".",[3],5,1,"Lek",2,",",".",[3],0,0,"%","‰","infinit","+","NaN","-infinit","-"),new i.DateTimeFormatInfo("yyyy-MM-dd","-","yyyy-MM-dd",["e diel","e hënë","e martë","e mërkurë","e enjte","e premte","e shtunë"],["janar","shkurt","mars","prill","maj","qershor","korrik","gusht","shtator","tetor","nëntor","dhjetor",""],["Di","Hë","Ma","Më","En","Pr","Sh"],["Jan","Shk","Mar","Pri","Maj","Qer","Kor","Gsh","Sht","Tet","Nën","Dhj",""],["janar","shkurt","mars","prill","maj","qershor","korrik","gusht","shtator","tetor","nëntor","dhjetor",""],":","PD","MD","yyyy-MM-dd h:mm:ss.tt","h:mm.tt","h:mm:ss.tt","yyyy-MM")),this._cultures["sv-SE"]=new a("sv-SE",new i.NumberFormatInfo(",",2," ",[3],1,2,",",".",[3],8,3,"kr",2,","," ",[3],0,0,"%","‰","INF","+","NaN","-INF","-"),new i.DateTimeFormatInfo("yyyy-MM-dd","-","[den ]d MMMM yyyy",["söndag","måndag","tisdag","onsdag","torsdag","fredag","lördag"],["januari","februari","mars","april","maj","juni","juli","augusti","september","oktober","november","december",""],["sö","må","ti","on","to","fr","lö"],["jan","feb","mar","apr","maj","jun","jul","aug","sep","okt","nov","dec",""],["januari","februari","mars","april","maj","juni","juli","augusti","september","oktober","november","december",""],":","","","[den ]d MMMM yyyy HH:mm:ss","HH:mm","HH:mm:ss","MMMM yyyy")),this._cultures["th-TH"]=new a("th-TH",new i.NumberFormatInfo(".",2,",",[3],1,2,".",",",[3],1,0,"฿",2,".",",",[3],0,0,"%","‰","Infinity","+","NaN","-Infinity","-"),new i.DateTimeFormatInfo("d/M/yyyy","/","d MMMM yyyy",["อาทิตย์","จันทร์","อังคาร","พุธ","พฤหัสบดี","ศุกร์","เสาร์"],["มกราคม","กุมภาพันธ์","มีนาคม","เมษายน","พฤษภาคม","มิถุนายน","กรกฎาคม","สิงหาคม","กันยายน","ตุลาคม","พฤศจิกายน","ธันวาคม",""],["อ","จ","อ","พ","พ","ศ","ส"],["ม.ค.","ก.พ.","มี.ค.","เม.ย.","พ.ค.","มิ.ย.","ก.ค.","ส.ค.","ก.ย.","ต.ค.","พ.ย.","ธ.ค.",""],["มกราคม","กุมภาพันธ์","มีนาคม","เมษายน","พฤษภาคม","มิถุนายน","กรกฎาคม","สิงหาคม","กันยายน","ตุลาคม","พฤศจิกายน","ธันวาคม",""],":","AM","PM","d MMMM yyyy H:mm:ss","H:mm","H:mm:ss","MMMM yyyy")),this._cultures["tr-TR"]=new a("tr-TR",new i.NumberFormatInfo(",",2,".",[3],1,2,",",".",[3],8,3,"₺",2,",",".",[3],2,2,"%","‰","Infinity","+","NaN","-Infinity","-"),new i.DateTimeFormatInfo("dd.MM.yyyy",".","dd MMMM yyyy dddd",["Pazar","Pazartesi","Salı","Çarşamba","Perşembe","Cuma","Cumartesi"],["Ocak","Şubat","Mart","Nisan","Mayıs","Haziran","Temmuz","Ağustos","Eylül","Ekim","Kasım","Aralık",""],["Pz","Pt","Sa","Ça","Pe","Cu","Ct"],["Oca","Şub","Mar","Nis","May","Haz","Tem","Ağu","Eyl","Eki","Kas","Ara",""],["Ocak","Şubat","Mart","Nisan","Mayıs","Haziran","Temmuz","Ağustos","Eylül","Ekim","Kasım","Aralık",""],":","","","dd MMMM yyyy dddd HH:mm:ss","HH:mm","HH:mm:ss","MMMM yyyy")),this._cultures["ur-PK"]=new a("ur-PK",new i.NumberFormatInfo(".",2,",",[3],1,2,".",",",[3],3,0,"Rs",2,".",",",[3],0,0,"%","‰","Infinity","+","NaN","-Infinity","-"),new i.DateTimeFormatInfo("dd/MM/yyyy","/","dd MMMM, yyyy",["اتوار","پير","منگل","بدھ","جمعرات","جمعه","هفته"],["جنوری","فروری","مارچ","اپریل","مئی","جون","جولائی","اگست","ستمبر","اکتوبر","نومبر","دسمبر",""],["ا","پ","م","ب","ج","ج","ه"],["جنوری","فروری","مارچ","اپریل","مئی","جون","جولائی","اگست","ستمبر","اکتوبر","نومبر","دسمبر",""],["جنوری","فروری","مارچ","اپریل","مئی","جون","جولائی","اگست","ستمبر","اکتوبر","نومبر","دسمبر",""],":","AM","PM","dd MMMM, yyyy h:mm:ss tt","h:mm tt","h:mm:ss tt","MMMM, yyyy")),this._cultures["id-ID"]=new a("id-ID",new i.NumberFormatInfo(",",2,".",[3],1,0,",",".",[3],0,0,"Rp",2,",",".",[3],0,0,"%","‰","Infinity","+","NaN","-Infinity","-"),new i.DateTimeFormatInfo("dd/MM/yyyy","/","dd MMMM yyyy",["Minggu","Senin","Selasa","Rabu","Kamis","Jumat","Sabtu"],["Januari","Februari","Maret","April","Mei","Juni","Juli","Agustus","September","Oktober","Nopember","Desember",""],["M","S","S","R","K","J","S"],["Jan","Feb","Mar","Apr","Mei","Jun","Jul","Agust","Sep","Okt","Nop","Des",""],["Januari","Februari","Maret","April","Mei","Juni","Juli","Agustus","September","Oktober","Nopember","Desember",""],":","","","dd MMMM yyyy H:mm:ss","H:mm","H:mm:ss","MMMM yyyy")),this._cultures["uk-UA"]=new a("uk-UA",new i.NumberFormatInfo(",",2," ",[3],1,2,","," ",[3],5,1,"₴",2,","," ",[3],1,1,"%","‰","безмежність","+","NaN","-безмежність","-"),new i.DateTimeFormatInfo("dd.MM.yyyy",".","d MMMM yyyy[ р.]",["неділя","понеділок","вівторок","середа","четвер","п'ятниця","субота"],["Січень","Лютий","Березень","Квітень","Травень","Червень","Липень","Серпень","Вересень","Жовтень","Листопад","Грудень",""],["Нд","Пн","Вт","Ср","Чт","Пт","Сб"],["Січ","Лют","Бер","Кві","Тра","Чер","Лип","Сер","Вер","Жов","Лис","Гру",""],["січня","лютого","березня","квітня","травня","червня","липня","серпня","вересня","жовтня","листопада","грудня",""],":","","","d MMMM yyyy[ р.] H:mm:ss","H:mm","H:mm:ss","MMMM yyyy[ р.]")),this._cultures["be-BY"]=new a("be-BY",new i.NumberFormatInfo(",",2," ",[3],1,2,","," ",[3],8,3,"р.",2,","," ",[3],0,0,"%","‰","Infinity","+","NaN","-Infinity","-"),new i.DateTimeFormatInfo("dd.MM.yyyy",".","d MMMM yyyy",["нядзеля","панядзелак","аўторак","серада","чацвер","пятніца","субота"],["Студзень","Люты","Сакавік","Красавік","Май","Чэрвень","Ліпень","Жнівень","Верасень","Кастрычнік","Лістапад","Снежань",""],["нд","пн","аў","ср","чц","пт","сб"],["Сту","Лют","Сак","Кра","Май","Чэр","Ліп","Жні","Вер","Кас","Ліс","Сне",""],["студзеня","лютага","сакавіка","красавіка","мая","чэрвеня","ліпеня","жніўня","верасня","кастрычніка","лістапада","снежня",""],":","","","d MMMM yyyy H:mm:ss","H:mm","H:mm:ss","MMMM yyyy")),this._cultures["sl-SI"]=new a("sl-SI",new i.NumberFormatInfo(",",2,".",[3],1,2,",",".",[3],8,3,"€",2,",",".",[3],1,1,"%","‰","neskončnost","+","NaN","-neskončnost","-"),new i.DateTimeFormatInfo("d.M.yyyy",".","d. MMMM yyyy",["nedelja","ponedeljek","torek","sreda","četrtek","petek","sobota"],["januar","februar","marec","april","maj","junij","julij","avgust","september","oktober","november","december",""],["ne","po","to","sr","če","pe","so"],["jan","feb","mar","apr","maj","jun","jul","avg","sep","okt","nov","dec",""],["januar","februar","marec","april","maj","junij","julij","avgust","september","oktober","november","december",""],":","","","d. MMMM yyyy H:mm:ss","H:mm","H:mm:ss","MMMM yyyy")),this._cultures["et-EE"]=new a("et-EE",new i.NumberFormatInfo(",",2," ",[3],1,2,"."," ",[3],8,3,"€",2,","," ",[3],1,1,"%","‰","plusslõpmatus","+","avaldamatu","miinuslõpmatus","-"),new i.DateTimeFormatInfo("d.MM.yyyy",".","d. MMMM yyyy[. a.]",["pühapäev","esmaspäev","teisipäev","kolmapäev","neljapäev","reede","laupäev"],["jaanuar","veebruar","märts","aprill","mai","juuni","juuli","august","september","oktoober","november","detsember",""],["P","E","T","K","N","R","L"],["jaan","veebr","märts","apr","mai","juuni","juuli","aug","sept","okt","nov","dets",""],["jaanuar","veebruar","märts","aprill","mai","juuni","juuli","august","september","oktoober","november","detsember",""],":","EL","PL","d. MMMM yyyy[. a.] H:mm:ss","H:mm","H:mm:ss","MMMM yyyy[. a.]")),this._cultures["lv-LV"]=new a("lv-LV",new i.NumberFormatInfo(",",2," ",[3],1,2,","," ",[3],9,2,"€",2,","," ",[3],1,1,"%","‰","bezgalība","+","NaN","-bezgalība","-"),new i.DateTimeFormatInfo("yyyy.MM.dd.",".","dddd, yyyy[. gada ]d. MMMM",["svētdiena","pirmdiena","otrdiena","trešdiena","ceturtdiena","piektdiena","sestdiena"],["janvāris","februāris","marts","aprīlis","maijs","jūnijs","jūlijs","augusts","septembris","oktobris","novembris","decembris",""],["sv","pr","ot","tr","ce","pk","se"],["jan","feb","mar","apr","mai","jūn","jūl","aug","sep","okt","nov","dec",""],["janvārī","februārī","martā","aprīlī","maijā","jūnijā","jūlijā","augustā","septembrī","oktobrī","novembrī","decembrī",""],":","","","dddd, yyyy[. gada ]d. MMMM H:mm:ss","H:mm","H:mm:ss","yyyy. MMMM")),this._cultures["lt-LT"]=new a("lt-LT",new i.NumberFormatInfo(",",2,".",[3],1,2,",",".",[3],8,3,"€",2,",",".",[3],1,1,"%","‰","begalybė","+","NaN","-begalybė","-"),new i.DateTimeFormatInfo("yyyy.MM.dd",".","yyyy [m.] MMMM d [d.]",["sekmadienis","pirmadienis","antradienis","trečiadienis","ketvirtadienis","penktadienis","šeštadienis"],["sausis","vasaris","kovas","balandis","gegužė","birželis","liepa","rugpjūtis","rugsėjis","spalis","lapkritis","gruodis",""],["S","P","A","T","K","Pn","Š"],["Sau","Vas","Kov","Bal","Geg","Bir","Lie","Rgp","Rgs","Spl","Lap","Grd",""],["sausio","vasario","kovo","balandžio","gegužės","birželio","liepos","rugpjūčio","rugsėjo","spalio","lapkričio","gruodžio",""],":","","","yyyy [m.] MMMM d [d.] HH:mm:ss","HH:mm","HH:mm:ss","yyyy [m.] MMMM")),this._cultures["tg-Cyrl-TJ"]=new a("tg-Cyrl-TJ",new i.NumberFormatInfo(",",2," ",[3,0],1,2,";"," ",[3,0],8,3,"т.р.",2,","," ",[3,0],1,1,"%","‰","бесконечность","+","NaN","-бесконечность","-"),new i.DateTimeFormatInfo("dd.MM.yy",".","d MMMM yyyy",["Яш","Душанбе","Сешанбе","Чоршанбе","Панҷшанбе","Ҷумъа","Шанбе"],["Январ","Феврал","Март","Апрел","Май","Июн","Июл","Август","Сентябр","Октябр","Ноябр","Декабр",""],["Яш","Дш","Сш","Чш","Пш","Ҷм","Шн"],["Янв","Фев","Мар","Апр","Май","Июн","Июл","Авг","Сен","Окт","Ноя","Дек",""],["январи","феврали","марти","апрели","маи","июни","июли","августи","сентябри","октябри","ноябри","декабри",""],":","","","d MMMM yyyy H:mm:ss","H:mm","H:mm:ss","MMMM yyyy")),this._cultures["fa-IR"]=new a("fa-IR",new i.NumberFormatInfo(".",2,",",[3],3,2,"/",",",[3],3,2,"ريال",2,".",",",[3],0,0,"%","‰","Infinity","+","NaN","-Infinity","-"),new i.DateTimeFormatInfo("MM/dd/yyyy","/","dddd, MMMM dd, yyyy",["الأحد","الإثنين","الثلاثاء","الأربعاء","الخميس","الجمعة","السبت"],["جانفييه","فيفرييه","مارس","أفريل","مي","جوان","جوييه","أوت","سبتمبر","اكتوبر","نوفمبر","ديسمبر",""],["ح","ن","ث","ر","خ","ج","س"],["جانفييه","فيفرييه","مارس","أفريل","مي","جوان","جوييه","أوت","سبتمبر","اكتوبر","نوفمبر","ديسمبر",""],["جانفييه","فيفرييه","مارس","أفريل","مي","جوان","جوييه","أوت","سبتمبر","اكتوبر","نوفمبر","ديسمبر",""],":","ق.ظ","ب.ظ","dddd, MMMM dd, yyyy hh:mm:ss tt","hh:mm tt","hh:mm:ss tt","MMMM, yyyy")),this._cultures["vi-VN"]=new a("vi-VN",new i.NumberFormatInfo(",",2,".",[3],1,2,",",".",[3],8,3,"₫",2,",",".",[3],0,0,"%","‰","Infinity","+","NaN","-Infinity","-"),new i.DateTimeFormatInfo("dd/MM/yyyy","/","dd MMMM yyyy",["Chủ Nhật","Thứ Hai","Thứ Ba","Thứ Tư","Thứ Năm","Thứ Sáu","Thứ Bảy"],["Tháng Giêng","Tháng Hai","Tháng Ba","Tháng Tư","Tháng Năm","Tháng Sáu","Tháng Bảy","Tháng Tám","Tháng Chín","Tháng Mười","Tháng Mười Một","Tháng Mười Hai",""],["C","H","B","T","N","S","B"],["Thg1","Thg2","Thg3","Thg4","Thg5","Thg6","Thg7","Thg8","Thg9","Thg10","Thg11","Thg12",""],["Tháng Giêng","Tháng Hai","Tháng Ba","Tháng Tư","Tháng Năm","Tháng Sáu","Tháng Bảy","Tháng Tám","Tháng Chín","Tháng Mười","Tháng Mười Một","Tháng Mười Hai",""],":","SA","CH","dd MMMM yyyy h:mm:ss tt","h:mm tt","h:mm:ss tt","MMMM yyyy")),this._cultures["hy-AM"]=new a("hy-AM",new i.NumberFormatInfo(".",2,",",[3],1,2,".",",",[3],8,3,"դր.",2,".",",",[3],0,0,"%","‰","Infinity","+","NaN","-Infinity","-"),new i.DateTimeFormatInfo("dd.MM.yyyy",".","d MMMM, yyyy",["Կիրակի","Երկուշաբթի","Երեքշաբթի","Չորեքշաբթի","Հինգշաբթի","ՈՒրբաթ","Շաբաթ"],["Հունվար","Փետրվար","Մարտ","Ապրիլ","Մայիս","Հունիս","Հուլիս","Օգոստոս","Սեպտեմբեր","Հոկտեմբեր","Նոյեմբեր","Դեկտեմբեր",""],["Կ","Ե","Ե","Չ","Հ","Ո","Շ"],["ՀՆՎ","ՓՏՎ","ՄՐՏ","ԱՊՐ","ՄՅՍ","ՀՆՍ","ՀԼՍ","ՕԳՍ","ՍԵՊ","ՀՈԿ","ՆՈՅ","ԴԵԿ",""],["Հունվար","Փետրվար","Մարտ","Ապրիլ","Մայիս","Հունիս","Հուլիս","Օգոստոս","Սեպտեմբեր","Հոկտեմբեր","Նոյեմբեր","Դեկտեմբեր",""],":","","","d MMMM, yyyy H:mm:ss","H:mm","H:mm:ss","MMMM, yyyy")),this._cultures["az-Latn-AZ"]=new a("az-Latn-AZ",new i.NumberFormatInfo(",",2," ",[3],1,2,","," ",[3],8,3,"₼",2,","," ",[3],1,1,"%","‰","Infinity","+","NaN","-Infinity","-"),new i.DateTimeFormatInfo("dd.MM.yyyy",".","d MMMM yyyy",["Bazar","Bazar ertəsi","Çərşənbə axşamı","Çərşənbə","Cümə axşamı","Cümə","Şənbə"],["Yanvar","Fevral","Mart","Aprel","May","İyun","İyul","Avgust","Sentyabr","Oktyabr","Noyabr","Dekabr",""],["B","Be","Ça","Ç","Ca","C","Ş"],["Yan","Fev","Mar","Apr","May","İyun","İyul","Avg","Sen","Okt","Noy","Dek",""],["yanvar","fevral","mart","aprel","may","iyun","iyul","avgust","sentyabr","oktyabr","noyabr","dekabr",""],":","","","d MMMM yyyy H:mm:ss","H:mm","H:mm:ss","MMMM yyyy")),this._cultures["eu-ES"]=new a("eu-ES",new i.NumberFormatInfo(",",2,".",[3],1,2,",",".",[3],8,3,"€",2,",",".",[3],0,0,"%","‰","Infinitu","+","EdZ","-Infinitu","-"),new i.DateTimeFormatInfo("yyyy/MM/dd","/","dddd, yyyy.[eko] MMMM[k ]d",["igandea","astelehena","asteartea","asteazkena","osteguna","ostirala","larunbata"],["urtarrila","otsaila","martxoa","apirila","maiatza","ekaina","uztaila","abuztua","iraila","urria","azaroa","abendua",""],["ig","al","as","az","og","or","lr"],["urt.","ots.","mar.","api.","mai.","eka.","uzt.","abu.","ira.","urr.","aza.","abe.",""],["urtarrila","otsaila","martxoa","apirila","maiatza","ekaina","uztaila","abuztua","iraila","urria","azaroa","abendua",""],":","","","dddd, yyyy.[eko] MMMM[k ]d H:mm:ss","HH:mm","H:mm:ss","yyyy.[eko] MMMM")),this._cultures["hsb-DE"]=new a("hsb-DE",new i.NumberFormatInfo(",",2,".",[3],1,2,",",".",[3],8,3,"€",2,",",".",[3],0,0,"%","‰","+njekónčne","+","njedefinowane","-njekónčne","-"),new i.DateTimeFormatInfo("d. M. yyyy",". ","dddd, [dnja] d. MMMM yyyy",["njedźela","póndźela","wutora","srjeda","štwórtk","pjatk","sobota"],["januar","februar","měrc","apryl","meja","junij","julij","awgust","september","oktober","nowember","december",""],["n","p","w","s","š","p","s"],["jan","feb","měr","apr","mej","jun","jul","awg","sep","okt","now","dec",""],["januara","februara","měrca","apryla","meje","junija","julija","awgusta","septembra","oktobra","nowembra","decembra",""],":","","","dddd, [dnja] d. MMMM yyyy H:mm:ss","H.mm [hodź.]","H:mm:ss","MMMM yyyy")),this._cultures["mk-MK"]=new a("mk-MK",new i.NumberFormatInfo(",",2,".",[3],1,2,",",".",[3],8,3,"ден.",2,",",".",[3],0,0,"%","‰","Infinity","+","NaN","-Infinity","-"),new i.DateTimeFormatInfo("dd.MM.yyyy",".","dddd, dd MMMM yyyy",["недела","понеделник","вторник","среда","четврток","петок","сабота"],["јануари","февруари","март","април","мај","јуни","јули","август","септември","октомври","ноември","декември",""],["не","по","вт","ср","че","пе","са"],["јан","фев","мар","апр","мај","јун","јул","авг","сеп","окт","ное","дек",""],["јануари","февруари","март","април","мај","јуни","јули","август","септември","октомври","ноември","декември",""],":","","","dddd, dd MMMM yyyy HH:mm:ss","HH:mm","HH:mm:ss","MMMM yyyy")),this._cultures["tn-ZA"]=new a("tn-ZA",new i.NumberFormatInfo(".",2,",",[3],1,2,".",",",[3],2,2,"R",2,".",",",[3],2,2,"%","‰","Infinity","+","NaN","-Infinity","-"),new i.DateTimeFormatInfo("yyyy/MM/dd","/","dd MMMM yyyy",["Latshipi","Mosupologo","Labobedi","Laboraro","Labone","Labotlhano","Lamatlhatso"],["Ferikgong","Tlhakole","Mopitloe","Moranang","Motsheganong","Seetebosigo","Phukwi","Phatwe","Lwetse","Diphalane","Ngwanatsele","Sedimothole",""],["Lp","Ms","Lb","Lr","Ln","Lt","Lm"],["Fer.","Tlhak.","Mop.","Mor.","Motsh.","Seet.","Phukw.","Phatw.","Lwets.","Diph.","Ngwan.","Sed.",""],["Ferikgong","Tlhakole","Mopitloe","Moranang","Motsheganong","Seetebosigo","Phukwi","Phatwe","Lwetse","Diphalane","Ngwanatsele","Sedimothole",""],":","AM","PM","dd MMMM yyyy hh:mm:ss tt","hh:mm tt","hh:mm:ss tt","MMMM yyyy")),this._cultures["xh-ZA"]=new a("xh-ZA",new i.NumberFormatInfo(".",2,",",[3],1,2,".",",",[3],2,2,"R",2,".",",",[3],2,2,"%","‰","Infinity","+","NaN","-Infinity","-"),new i.DateTimeFormatInfo("yyyy/MM/dd","/","dd MMMM yyyy",["iCawa","uMvulo","uLwesibini","uLwesithathu","uLwesine","uLwesihlanu","uMgqibelo"],["Mqungu","Mdumba","Kwindla","Tshazimpuzi","Canzibe","Silimela","Khala","Thupha","Msintsi","Dwarha","Nkanga","Mnga",""],["Ca","Mv","Lb","Lt","Ln","Lh","Mg"],["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec",""],["Mqungu","Mdumba","Kwindla","Tshazimpuzi","Canzibe","Silimela","Khala","Thupha","Msintsi","Dwarha","Nkanga","Mnga",""],":","AM","PM","dd MMMM yyyy hh:mm:ss tt","hh:mm tt","hh:mm:ss tt","MMMM yyyy")),this._cultures["zu-ZA"]=new a("zu-ZA",new i.NumberFormatInfo(".",2,",",[3],1,2,".",",",[3],2,2,"R",2,".",",",[3],2,2,"%","‰","Infinity","+","NaN","-Infinity","-"),new i.DateTimeFormatInfo("yyyy/MM/dd","/","dd MMMM yyyy",["iSonto","uMsombuluko","uLwesibili","uLwesithathu","uLwesine","uLwesihlanu","uMgqibelo"],["uMasingana","uNhlolanja","uNdasa","uMbaso","uNhlaba","uNhlangulana","uNtulikazi","uNcwaba","uMandulo","uMfumfu","uLwezi","uZibandlela",""],["Su","Mo","Tu","We","Th","Fr","Sa"],["Mas.","Nhlo.","Nda.","Mba.","Nhla.","Nhlang.","Ntu.","Ncwa.","Man.","Mfu.","Lwe.","Zib.",""],["uMasingana","uNhlolanja","uNdasa","uMbaso","uNhlaba","uNhlangulana","uNtulikazi","uNcwaba","uMandulo","uMfumfu","uLwezi","uZibandlela",""],":","AM","PM","dd MMMM yyyy hh:mm:ss tt","hh:mm tt","hh:mm:ss tt","MMMM yyyy")),this._cultures["af-ZA"]=new a("af-ZA",new i.NumberFormatInfo(".",2,",",[3],1,2,".",",",[3],2,2,"R",2,".",",",[3],1,1,"%","‰","Infinity","+","NaN","-Infinity","-"),new i.DateTimeFormatInfo("yyyy/MM/dd","/","dd MMMM yyyy",["Sondag","Maandag","Dinsdag","Woensdag","Donderdag","Vrydag","Saterdag"],["Januarie","Februarie","Maart","April","Mei","Junie","Julie","Augustus","September","Oktober","November","Desember",""],["So","Ma","Di","Wo","Do","Vr","Sa"],["Jan","Feb","Mar","Apr","Mei","Jun","Jul","Aug","Sep","Okt","Nov","Des",""],["Januarie","Februarie","Maart","April","Mei","Junie","Julie","Augustus","September","Oktober","November","Desember",""],":","AM","PM","dd MMMM yyyy hh:mm:ss tt","hh:mm tt","hh:mm:ss tt","MMMM yyyy")),this._cultures["ka-GE"]=new a("ka-GE",new i.NumberFormatInfo(",",2," ",[3],1,2,","," ",[3],8,3,"₾",2,","," ",[3],0,0,"%","‰","Infinity","+","NaN","-Infinity","-"),new i.DateTimeFormatInfo("dd.MM.yyyy",".","yyyy [წლის] dd MM, dddd",["კვირა","ორშაბათი","სამშაბათი","ოთხშაბათი","ხუთშაბათი","პარასკევი","შაბათი"],["იანვარი","თებერვალი","მარტი","აპრილი","მაისი","ივნისი","ივლისი","აგვისტო","სექტემბერი","ოქტომბერი","ნოემბერი","დეკემბერი",""],["კ","ო","ს","ო","ხ","პ","შ"],["იან","თებ","მარ","აპრ","მაის","ივნ","ივლ","აგვ","სექ","ოქტ","ნოემ","დეკ",""],["იანვარი","თებერვალი","მარტი","აპრილი","მაისი","ივნისი","ივლისი","აგვისტო","სექტემბერი","ოქტომბერი","ნოემბერი","დეკემბერი",""],":","","","yyyy [წლის] dd MM, dddd H:mm:ss","H:mm","H:mm:ss","MMMM yyyy")),this._cultures["fo-FO"]=new a("fo-FO",new i.NumberFormatInfo(",",2,".",[3],1,2,",",".",[3],12,2,"kr.",2,",",".",[3],1,1,"%","‰","INF","+","NaN","-INF","-"),new i.DateTimeFormatInfo("dd-MM-yyyy","-","d. MMMM yyyy",["sunnudagur","mánadagur","týsdagur","mikudagur","hósdagur","fríggjadagur","leygardagur"],["januar","februar","mars","apríl","mai","juni","juli","august","september","oktober","november","desember",""],["su","má","tý","mi","hó","fr","ley"],["jan","feb","mar","apr","mai","jun","jul","aug","sep","okt","nov","des",""],["januar","februar","mars","apríl","mai","juni","juli","august","september","oktober","november","desember",""],":","","","d. MMMM yyyy HH:mm:ss","HH:mm","HH:mm:ss","MMMM yyyy")),this._cultures["hi-IN"]=new a("hi-IN",new i.NumberFormatInfo(".",2,",",[3,2],1,2,".",",",[3,2],12,2,"₹",2,".",",",[3,2],0,0,"%","‰","Infinity","+","NaN","-Infinity","-"),new i.DateTimeFormatInfo("dd-MM-yyyy","-","dd MMMM yyyy",["रविवार","सोमवार","मंगलवार","बुधवार","गुरुवार","शुक्रवार","शनिवार"],["जनवरी","फरवरी","मार्च","अप्रैल","मई","जून","जुलाई","अगस्त","सितम्बर","अक्तूबर","नवम्बर","दिसम्बर",""],["र","स","म","ब","ग","श","श"],["जनवरी","फरवरी","मार्च","अप्रैल","मई","जून","जुलाई","अगस्त","सितम्बर","अक्तूबर","नवम्बर","दिसम्बर",""],["जनवरी","फरवरी","मार्च","अप्रैल","मई","जून","जुलाई","अगस्त","सितम्बर","अक्तूबर","नवम्बर","दिसम्बर",""],":","पूर्वाह्न","अपराह्न","dd MMMM yyyy HH:mm:ss","HH:mm","HH:mm:ss","MMMM, yyyy")),this._cultures["mt-MT"]=new a("mt-MT",new i.NumberFormatInfo(".",2,",",[3],1,2,".",",",[3],1,0,"€",2,".",",",[3],2,2,"%","‰","Infinity","+","NaN","-Infinity","-"),new i.DateTimeFormatInfo("dd/MM/yyyy","/","dddd, d[ ta' ]MMMM yyyy",["Il-Ħadd","It-Tnejn","It-Tlieta","L-Erbgħa","Il-Ħamis","Il-Ġimgħa","Is-Sibt"],["Jannar","Frar","Marzu","April","Mejju","Ġunju","Lulju","Awissu","Settembru","Ottubru","Novembru","Diċembru",""],["I","I","I","L","I","I","I"],["Jan","Fra","Mar","Apr","Mej","Ġun","Lul","Awi","Set","Ott","Nov","Diċ",""],["Jannar","Frar","Marzu","April","Mejju","Ġunju","Lulju","Awissu","Settembru","Ottubru","Novembru","Diċembru",""],":","AM","PM","dddd, d[ ta' ]MMMM yyyy HH:mm:ss","HH:mm","HH:mm:ss","MMMM yyyy")),this._cultures["se-NO"]=new a("se-NO",new i.NumberFormatInfo(",",2," ",[3],1,2,","," ",[3],12,2,"kr",2,","," ",[3],2,2,"%","‰","Infinity","+","NaN","-Infinity","-"),new i.DateTimeFormatInfo("dd.MM.yyyy",".","MMMM d[. b. ]yyyy",["sotnabeaivi","vuossárga","maŋŋebárga","gaskavahkku","duorastat","bearjadat","lávvardat"],["ođđajagemánnu","guovvamánnu","njukčamánnu","cuoŋománnu","miessemánnu","geassemánnu","suoidnemánnu","borgemánnu","čakčamánnu","golggotmánnu","skábmamánnu","juovlamánnu",""],["s","m","d","g","d","b","l"],["ođđj","guov","njuk","cuo","mies","geas","suoi","borg","čakč","golg","skáb","juov",""],["ođđajagimánu","guovvamánu","njukčamánu","cuoŋománu","miessemánu","geassemánu","suoidnemánu","borgemánu","čakčamánu","golggotmánu","skábmamánu","juovlamánu",""],":","","","MMMM d[. b. ]yyyy HH:mm:ss","HH:mm","HH:mm:ss","MMMM yyyy")),this._cultures["ms-MY"]=new a("ms-MY",new i.NumberFormatInfo(".",2,",",[3],1,0,".",",",[3],0,0,"RM",2,".",",",[3],0,0,"%","‰","Infinity","+","NaN","-Infinity","-"),new i.DateTimeFormatInfo("dd/MM/yyyy","/","dd MMMM yyyy",["Ahad","Isnin","Selasa","Rabu","Khamis","Jumaat","Sabtu"],["Januari","Februari","Mac","April","Mei","Jun","Julai","Ogos","September","Oktober","November","Disember",""],["A","I","S","R","K","J","S"],["Jan","Feb","Mac","Apr","Mei","Jun","Jul","Ogos","Sept","Okt","Nov","Dis",""],["Januari","Februari","Mac","April","Mei","Jun","Julai","Ogos","September","Oktober","November","Disember",""],":","","","dd MMMM yyyy H:mm:ss","H:mm","H:mm:ss","MMMM yyyy")),this._cultures["kk-KZ"]=new a("kk-KZ",new i.NumberFormatInfo(",",2," ",[3],1,2,"-"," ",[3],1,0,"Т",2,","," ",[3],1,1,"%","‰","Infinity","+","NaN","-Infinity","-"),new i.DateTimeFormatInfo("dd.MM.yyyy",".","d MMMM yyyy [ж.]",["Жексенбі","Дүйсенбі","Сейсенбі","Сәрсенбі","Бейсенбі","Жұма","Сенбі"],["қаңтар","ақпан","наурыз","сәуір","мамыр","маусым","шілде","тамыз","қыркүйек","қазан","қараша","желтоқсан",""],["Жк","Дс","Сс","Ср","Бс","Жм","Сн"],["Қаң","Ақп","Нау","Сәу","Мам","Мау","Шіл","Там","Қыр","Қаз","Қар","Жел",""],["қаңтар","ақпан","наурыз","сәуір","мамыр","маусым","шілде","тамыз","қыркүйек","қазан","қараша","желтоқсан",""],":","","","d MMMM yyyy [ж.] H:mm:ss","H:mm","H:mm:ss","MMMM yyyy")),this._cultures["ky-KG"]=new a("ky-KG",new i.NumberFormatInfo(",",2," ",[3],1,2,"-"," ",[3],8,3,"сом",2,","," ",[3],1,1,"%","‰","Infinity","+","NaN","-Infinity","-"),new i.DateTimeFormatInfo("dd.MM.yy",".","d[-]MMMM yyyy[-ж.]",["Жекшемби","Дүйшөмбү","Шейшемби","Шаршемби","Бейшемби","Жума","Ишемби"],["Январь","Февраль","Март","Апрель","Май","Июнь","Июль","Август","Сентябрь","Октябрь","Ноябрь","Декабрь",""],["Жш","Дш","Шш","Шр","Бш","Жм","Иш"],["Янв","Фев","Мар","Апр","Май","Июн","Июл","Авг","Сен","Окт","Ноя","Дек",""],["Январь","Февраль","Март","Апрель","Май","Июнь","Июль","Август","Сентябрь","Октябрь","Ноябрь","Декабрь",""],":","","","d[-]MMMM yyyy[-ж.] H:mm:ss","H:mm","H:mm:ss","MMMM yyyy[-ж.]")),this._cultures["sw-KE"]=new a("sw-KE",new i.NumberFormatInfo(".",2,",",[3],1,2,".",",",[3],0,0,"S",2,".",",",[3],0,0,"%","‰","Infinity","+","NaN","-Infinity","-"),new i.DateTimeFormatInfo("M/d/yyyy","/","dddd, MMMM dd, yyyy",["Jumapili","Jumatatu","Jumanne","Jumatano","Alhamisi","Ijumaa","Jumamosi"],["Januari","Februari","Machi","Aprili","Mei","Juni","Julai","Agosti","Septemba","Oktoba","Novemba","Decemba",""],["P","T","N","T","A","I","M"],["Jan","Feb","Mac","Apr","Mei","Jun","Jul","Ago","Sep","Okt","Nov","Dec",""],["Januari","Februari","Machi","Aprili","Mei","Juni","Julai","Agosti","Septemba","Oktoba","Novemba","Decemba",""],":","AM","PM","dddd, MMMM dd, yyyy h:mm:ss tt","h:mm tt","h:mm:ss tt","MMMM, yyyy")),this._cultures["tk-TM"]=new a("tk-TM",new i.NumberFormatInfo(",",2," ",[3],1,2,","," ",[3],5,1,"m.",2,","," ",[3],1,1,"%","‰","üznüksizlik","+","NaN","-üznüksizlik","-"),new i.DateTimeFormatInfo("dd.MM.yy",".","yyyy [ý.] MMMM d",["Duşenbe","Sişenbe","Çarşenbe","Penşenbe","Anna","Şenbe","Ýekşenbe"],["Ýanwar","Fewral","Mart","Aprel","Maý","lýun","lýul","Awgust","Sentýabr","Oktýabr","Noýabr","Dekabr",""],["D","S","Ç","P","A","Ş","Ý"],["Ýan","Few","Mart","Apr","Maý","lýun","lýul","Awg","Sen","Okt","Not","Dek",""],["Ýanwar","Fewral","Mart","Aprel","Maý","lýun","lýul","Awgust","Sentýabr","Oktýabr","Noýabr","Dekabr",""],":","","","yyyy [ý.] MMMM d H:mm:ss","H:mm","H:mm:ss","yyyy [ý.] MMMM")),this._cultures["uz-Latn-UZ"]=new a("uz-Latn-UZ",new i.NumberFormatInfo(",",2," ",[3],1,0,","," ",[3],8,3,"so'm",2,","," ",[3],1,1,"%","‰","Infinity","+","NaN","-Infinity","-"),new i.DateTimeFormatInfo("dd/MM yyyy","/","yyyy [yil] d-MMMM",["yakshanba","dushanba","seshanba","chorshanba","payshanba","juma","shanba"],["yanvar","fevral","mart","aprel","may","iyun","iyul","avgust","sentyabr","oktyabr","noyabr","dekabr",""],["ya","d","s","ch","p","j","sh"],["yanvar","fevral","mart","aprel","may","iyun","iyul","avgust","sentyabr","oktyabr","noyabr","dekabr",""],["yanvar","fevral","mart","aprel","may","iyun","iyul","avgust","sentyabr","oktyabr","noyabr","dekabr",""],":","","","yyyy [yil] d-MMMM HH:mm:ss","HH:mm","HH:mm:ss","MMMM yyyy")),this._cultures["tt-RU"]=new a("tt-RU",new i.NumberFormatInfo(",",2," ",[3],1,2,","," ",[3],8,3,"₽",2,","," ",[3],1,1,"%","‰","Infinity","+","NaN","-Infinity","-"),new i.DateTimeFormatInfo("dd.MM.yyyy",".","d MMMM yyyy",["Якшәмбе","Дүшәмбе","Сишәмбе","Чәршәмбе","Пәнҗешәмбе","Җомга","Шимбә"],["Гыйнвар","Февраль","Март","Апрель","Май","Июнь","Июль","Август","Сентябрь","Октябрь","Ноябрь","Декабрь",""],["Я","Д","С","Ч","П","Җ","Ш"],["Гыйн.","Фев.","Мар.","Апр.","Май","Июнь","Июль","Авг.","Сен.","Окт.","Нояб.","Дек.",""],["Гыйнварның","Февральнең","Мартның","Апрельнең","Майның","Июньнең","Июльнең","Августның","Сентябрьның","Октябрьның","Ноябрьның","Декабрьның",""],":","","","d MMMM yyyy H:mm:ss","H:mm","H:mm:ss","MMMM yyyy")),this._cultures["bn-IN"]=new a("bn-IN",new i.NumberFormatInfo(".",2,",",[3,2],1,2,".",",",[3,2],12,2,"₹",2,".",",",[3,2],2,2,"%","‰","Infinity","+","NaN","-Infinity","-"),new i.DateTimeFormatInfo("dd-MM-yy","-","dd MMMM yyyy",["রবিবার","সোমবার","মঙ্গলবার","বুধবার","বৃহস্পতিবার","শুক্রবার","শনিবার"],["জানুয়ারী","ফেব্রুয়ারী","মার্চ","এপ্রিল","মে","জুন","জুলাই","আগস্ট","সেপ্টেম্বর","অক্টোবর","নভেম্বর","ডিসেম্বর",""],["র","স","ম","ব","ব","শ","শ"],["জানু.","ফেব্রু.","মার্চ","এপ্রিল","মে","জুন","জুলাই","আগ.","সেপ্টে.","অক্টো.","নভে.","ডিসে.",""],["জানুয়ারী","ফেব্রুয়ারী","মার্চ","এপ্রিল","মে","জুন","জুলাই","আগস্ট","সেপ্টেম্বর","অক্টোবর","নভেম্বর","ডিসেম্বর",""],".","পুর্বাহ্ন","অপরাহ্ন","dd MMMM yyyy HH.mm.ss","HH.mm","HH.mm.ss","MMMM, yyyy")),this._cultures["pa-IN"]=new a("pa-IN",new i.NumberFormatInfo(".",2,",",[3,2],1,2,".",",",[3,2],12,2,"₹",2,".",",",[3,2],0,0,"%","‰","Infinity","+","NaN","-Infinity","-"),new i.DateTimeFormatInfo("dd-MM-yy","-","dd MMMM yyyy dddd",["ਐਤਵਾਰ","ਸੋਮਵਾਰ","ਮੰਗਲਵਾਰ","ਬੁੱਧਵਾਰ","ਵੀਰਵਾਰ","ਸ਼ੁੱਕਰਵਾਰ","ਸ਼ਨਿੱਚਰਵਾਰ"],["ਜਨਵਰੀ","ਫ਼ਰਵਰੀ","ਮਾਰਚ","ਅਪ੍ਰੈਲ","ਮਈ","ਜੂਨ","ਜੁਲਾਈ","ਅਗਸਤ","ਸਤੰਬਰ","ਅਕਤੂਬਰ","ਨਵੰਬਰ","ਦਸੰਬਰ",""],["ਐ","ਸ","ਮ","ਬ","ਵ","ਸ਼","ਸ਼"],["ਜਨਵਰੀ","ਫ਼ਰਵਰੀ","ਮਾਰਚ","ਅਪ੍ਰੈਲ","ਮਈ","ਜੂਨ","ਜੁਲਾਈ","ਅਗਸਤ","ਸਤੰਬਰ","ਅਕਤੂਬਰ","ਨਵੰਬਰ","ਦਸੰਬਰ",""],["ਜਨਵਰੀ","ਫ਼ਰਵਰੀ","ਮਾਰਚ","ਅਪ੍ਰੈਲ","ਮਈ","ਜੂਨ","ਜੁਲਾਈ","ਅਗਸਤ","ਸਤੰਬਰ","ਅਕਤੂਬਰ","ਨਵੰਬਰ","ਦਸੰਬਰ",""],":","ਸਵੇਰ","ਸ਼ਾਮ","dd MMMM yyyy dddd tt hh:mm:ss","tt hh:mm","tt hh:mm:ss","MMMM, yyyy")),this._cultures["gu-IN"]=new a("gu-IN",new i.NumberFormatInfo(".",2,",",[3,2],1,2,".",",",[3,2],12,2,"₹",2,".",",",[3,2],0,0,"%","‰","Infinity","+","NaN","-Infinity","-"),new i.DateTimeFormatInfo("dd-MM-yy","-","dd MMMM yyyy",["રવિવાર","સોમવાર","મંગળવાર","બુધવાર","ગુરુવાર","શુક્રવાર","શનિવાર"],["જાન્યુઆરી","ફેબ્રુઆરી","માર્ચ","એપ્રિલ","મે","જૂન","જુલાઈ","ઑગસ્ટ","સપ્ટેમ્બર","ઑક્ટ્બર","નવેમ્બર","ડિસેમ્બર",""],["ર","સ","મ","બ","ગ","શ","શ"],["જાન્યુ","ફેબ્રુ","માર્ચ","એપ્રિલ","મે","જૂન","જુલાઈ","ઑગસ્ટ","સપ્ટે","ઑક્ટો","નવે","ડિસે",""],["જાન્યુઆરી","ફેબ્રુઆરી","માર્ચ","એપ્રિલ","મે","જૂન","જુલાઈ","ઑગસ્ટ","સપ્ટેમ્બર","ઑક્ટ્બર","નવેમ્બર","ડિસેમ્બર",""],":","પૂર્વ મધ્યાહ્ન","ઉત્તર મધ્યાહ્ન","dd MMMM yyyy HH:mm:ss","HH:mm","HH:mm:ss","MMMM, yyyy")),this._cultures["or-IN"]=new a("or-IN",new i.NumberFormatInfo(".",2,",",[3,2],1,2,".",",",[3,2],12,2,"₹",2,".",",",[3,2],0,0,"%","‰","Infinity","+","NaN","-Infinity","-"),new i.DateTimeFormatInfo("dd-MM-yy","-","dd MMMM yyyy",["ରବିବାର","ସୋମବାର","ମଙ୍ଗଳବାର","ବୁଧବାର","ଗୁରୁବାର","ଶୁକ୍ରବାର","ଶନିବାର"],["ଜାନୁୟାରୀ","ଫ୍ରେବୃୟାରୀ","ମାର୍ଚ୍ଚ","ଏପ୍ରିଲ୍","ମେ","ଜୁନ୍","ଜୁଲାଇ","ଅଗଷ୍ଟ","ସେପ୍ଟେମ୍ବର","ଅକ୍ଟୋବର","ନଭେମ୍ବର","(ଡିସେମ୍ବର",""],["ର","ସୋ","ମ","ବୁ","ଗୁ","ଶୁ","ଶ"],["ଜାନୁୟାରୀ","ଫ୍ରେବୃୟାରୀ","ମାର୍ଚ୍ଚ","ଏପ୍ରିଲ୍","ମେ","ଜୁନ୍","ଜୁଲାଇ","ଅଗଷ୍ଟ","ସେପ୍ଟେମ୍ବର","ଅକ୍ଟୋବର","ନଭେମ୍ବର","(ଡିସେମ୍ବର",""],["ଜାନୁୟାରୀ","ଫ୍ରେବୃୟାରୀ","ମାର୍ଚ୍ଚ","ଏପ୍ରିଲ୍","ମେ","ଜୁନ୍","ଜୁଲାଇ","ଅଗଷ୍ଟ","ସେପ୍ଟେମ୍ବର","ଅକ୍ଟୋବର","ନଭେମ୍ବର","(ଡିସେମ୍ବର",""],":","AM","PM","dd MMMM yyyy HH:mm:ss","HH:mm","HH:mm:ss","MMMM, yyyy")),this._cultures["ta-IN"]=new a("ta-IN",new i.NumberFormatInfo(".",2,",",[3,2],1,2,".",",",[3,2],12,2,"₹",2,".",",",[3,2],0,0,"%","‰","Infinity","+","NaN","-Infinity","-"),new i.DateTimeFormatInfo("dd-MM-yyyy","-","dd MMMM yyyy",["ஞாயிற்றுக்கிழமை","திங்கள்கிழமை","செவ்வாய்கிழமை","புதன்கிழமை","வியாழக்கிழமை","வெள்ளிக்கிழமை","சனிக்கிழமை"],["ஜனவரி","பிப்ரவரி","மார்ச்","ஏப்ரல்","மே","ஜூன்","ஜூலை","ஆகஸ்ட்","செப்டம்பர்","அக்டோபர்","நவம்பர்","டிசம்பர்",""],["ஞா","தி","செ","பு","வி","வெ","ச"],["ஜனவரி","பிப்ரவரி","மார்ச்","ஏப்ரல்","மே","ஜூன்","ஜூலை","ஆகஸ்ட்","செப்டம்பர்","அக்டோபர்","நவம்பர்","டிசம்பர்",""],["ஜனவரி","பிப்ரவரி","மார்ச்","ஏப்ரல்","மே","ஜூன்","ஜூலை","ஆகஸ்ட்","செப்டம்பர்","அக்டோபர்","நவம்பர்","டிசம்பர்",""],":","காலை","மாலை","dd MMMM yyyy HH:mm:ss","HH:mm","HH:mm:ss","MMMM yyyy")),this._cultures["te-IN"]=new a("te-IN",new i.NumberFormatInfo(".",2,",",[3,2],1,2,".",",",[3,2],12,2,"₹",2,".",",",[3,2],0,0,"%","‰","Infinity","+","NaN","-Infinity","-"),new i.DateTimeFormatInfo("dd-MM-yy","-","dd MMMM yyyy",["ఆదివారం","సోమవారం","మంగళవారం","బుధవారం","గురువారం","శుక్రవారం","శనివారం"],["జనవరి","ఫిబ్రవరి","మార్చి","ఏప్రిల్","మే","జూన్","జూలై","ఆగస్టు","సెప్టెంబర్","అక్టోబర్","నవంబర్","డిసెంబర్",""],["ఆ","సో","మం","బు","గు","శు","శ"],["జనవరి","ఫిబ్రవరి","మార్చి","ఏప్రిల్","మే","జూన్","జూలై","ఆగస్టు","సెప్టెంబర్","అక్టోబర్","నవంబర్","డిసెంబర్",""],["జనవరి","ఫిబ్రవరి","మార్చి","ఏప్రిల్","మే","జూన్","జూలై","ఆగస్టు","సెప్టెంబర్","అక్టోబర్","నవంబర్","డిసెంబర్",""],":","పూర్వాహ్న","అపరాహ్న","dd MMMM yyyy HH:mm:ss","HH:mm","HH:mm:ss","MMMM, yyyy")),this._cultures["kn-IN"]=new a("kn-IN",new i.NumberFormatInfo(".",2,",",[3,2],1,2,".",",",[3,2],12,2,"₹",2,".",",",[3,2],0,0,"%","‰","Infinity","+","NaN","-Infinity","-"),new i.DateTimeFormatInfo("dd-MM-yy","-","dd MMMM yyyy",["ಭಾನುವಾರ","ಸೋಮವಾರ","ಮಂಗಳವಾರ","ಬುಧವಾರ","ಗುರುವಾರ","ಶುಕ್ರವಾರ","ಶನಿವಾರ"],["ಜನವರಿ","ಫೆಬ್ರವರಿ","ಮಾರ್ಚ್","ಎಪ್ರಿಲ್","ಮೇ","ಜೂನ್","ಜುಲೈ","ಆಗಸ್ಟ್","ಸೆಪ್ಟಂಬರ್","ಅಕ್ಟೋಬರ್","ನವೆಂಬರ್","ಡಿಸೆಂಬರ್",""],["ರ","ಸ","ಮ","ಬ","ಗ","ಶ","ಶ"],["ಜನವರಿ","ಫೆಬ್ರವರಿ","ಮಾರ್ಚ್","ಎಪ್ರಿಲ್","ಮೇ","ಜೂನ್","ಜುಲೈ","ಆಗಸ್ಟ್","ಸೆಪ್ಟಂಬರ್","ಅಕ್ಟೋಬರ್","ನವೆಂಬರ್","ಡಿಸೆಂಬರ್",""],["ಜನವರಿ","ಫೆಬ್ರವರಿ","ಮಾರ್ಚ್","ಎಪ್ರಿಲ್","ಮೇ","ಜೂನ್","ಜುಲೈ","ಆಗಸ್ಟ್","ಸೆಪ್ಟಂಬರ್","ಅಕ್ಟೋಬರ್","ನವೆಂಬರ್","ಡಿಸೆಂಬರ್",""],":","ಪೂರ್ವಾಹ್ನ","ಅಪರಾಹ್ನ","dd MMMM yyyy HH:mm:ss","HH:mm","HH:mm:ss","MMMM, yyyy")),this._cultures["ml-IN"]=new a("ml-IN",new i.NumberFormatInfo(".",2,",",[3,2],1,2,".",",",[3,2],12,2,"₹",2,".",",",[3,2],2,2,"%","‰","Infinity","+","NaN","-Infinity","-"),new i.DateTimeFormatInfo("dd-MM-yy","-","dd MMMM yyyy",["ഞായറാഴ്ച","തിങ്കളാഴ്ച","ചൊവ്വാഴ്ച","ബുധനാഴ്ച","വ്യാഴാഴ്ച","വെള്ളിയാഴ്ച","ശനിയാഴ്ച"],["ജനുവരി","ഫെബ്റുവരി","മാറ്ച്ച്","ഏപ്റില്","മെയ്","ജൂണ്","ജൂലൈ","ഓഗസ്ററ്","സെപ്ററംബറ്","ഒക്ടോബറ്","നവംബറ്","ഡിസംബറ്",""],["ഞ","ത","ച","ബ","വ","വെ","ശ"],["ജനുവരി","ഫെബ്റുവരി","മാറ്ച്ച്","ഏപ്റില്","മെയ്","ജൂണ്","ജൂലൈ","ഓഗസ്ററ്","സെപ്ററംബറ്","ഒക്ടോബറ്","നവംബറ്","ഡിസംബറ്",""],["ജനുവരി","ഫെബ്റുവരി","മാറ്ച്ച്","ഏപ്റില്","മെയ്","ജൂണ്","ജൂലൈ","ഓഗസ്ററ്","സെപ്ററംബറ്","ഒക്ടോബറ്","നവംബറ്","ഡിസംബറ്",""],".","AM","PM","dd MMMM yyyy HH.mm.ss","HH.mm","HH.mm.ss","MMMM, yyyy")),this._cultures["as-IN"]=new a("as-IN",new i.NumberFormatInfo(".",2,",",[3,2],1,2,".",",",[3,2],12,1,"₹",2,".",",",[3,2],1,1,"%","‰","infinity","+","nan","-infinity","-"),new i.DateTimeFormatInfo("dd-MM-yyyy","-","yyyy,MMMM dd, dddd",["সোমবাৰ","মঙ্গলবাৰ","বুধবাৰ","বৃহস্পতিবাৰ","শুক্রবাৰ","শনিবাৰ","ৰবিবাৰ"],["জানুৱাৰী","ফেব্রুৱাৰী","মার্চ","এপ্রিল","মে","জুন","জুলাই","আগষ্ট","চেপ্টেম্বর","অক্টোবর","নবেম্বর","ডিচেম্বর",""],["সো","ম","বু","বৃ","শু","শ","র"],["জানু","ফেব্রু","মার্চ","এপ্রিল","মে","জুন","জুলাই","আগষ্ট","চেপ্টে","অক্টো","নবে","ডিচে",""],["জানুৱাৰী","ফেব্রুৱাৰী","মার্চ","এপ্রিল","মে","জুন","জুলাই","আগষ্ট","চেপ্টেম্বর","অক্টোবর","নবেম্বর","ডিচেম্বর",""],":","ৰাতিপু","আবেলি","yyyy,MMMM dd, dddd tt h:mm:ss","tt h:mm","tt h:mm:ss","MMMM,yy")),this._cultures["mr-IN"]=new a("mr-IN",new i.NumberFormatInfo(".",2,",",[3,2],1,2,".",",",[3,2],12,2,"₹",2,".",",",[3,2],0,0,"%","‰","Infinity","+","NaN","-Infinity","-"),new i.DateTimeFormatInfo("dd-MM-yyyy","-","dd MMMM yyyy",["रविवार","सोमवार","मंगळवार","बुधवार","गुरुवार","शुक्रवार","शनिवार"],["जानेवारी","फेब्रुवारी","मार्च","एप्रिल","मे","जून","जुलै","ऑगस्ट","सप्टेंबर","ऑक्टोबर","नोव्हेंबर","डिसेंबर",""],["र","स","म","ब","ग","श","श"],["जाने.","फेब्रु.","मार्च","एप्रिल","मे","जून","जुलै","ऑगस्ट","सप्टें.","ऑक्टो.","नोव्हें.","डिसें.",""],["जानेवारी","फेब्रुवारी","मार्च","एप्रिल","मे","जून","जुलै","ऑगस्ट","सप्टेंबर","ऑक्टोबर","नोव्हेंबर","डिसेंबर",""],":","म.पू.","म.नं.","dd MMMM yyyy HH:mm:ss","HH:mm","HH:mm:ss","MMMM, yyyy")),this._cultures["sa-IN"]=new a("sa-IN",new i.NumberFormatInfo(".",2,",",[3,2],1,2,".",",",[3,2],12,2,"₹",2,".",",",[3,2],0,0,"%","‰","Infinity","+","NaN","-Infinity","-"),new i.DateTimeFormatInfo("dd-MM-yyyy","-","dd MMMM yyyy dddd",["रविवासरः","सोमवासरः","मङ्गलवासरः","बुधवासरः","गुरुवासरः","शुक्रवासरः","शनिवासरः"],["जनवरी","फरवरी","मार्च","अप्रैल","मई","जून","जुलाई","अगस्त","सितम्बर","अक्तूबर","नवम्बर","दिसम्बर",""],["र","स","म","ब","ग","श","श"],["जनवरी","फरवरी","मार्च","अप्रैल","मई","जून","जुलाई","अगस्त","सितम्बर","अक्तूबर","नवम्बर","दिसम्बर",""],["जनवरी","फरवरी","मार्च","अप्रैल","मई","जून","जुलाई","अगस्त","सितम्बर","अक्तूबर","नवम्बर","दिसम्बर",""],":","पूर्वाह्न","अपराह्न","dd MMMM yyyy dddd HH:mm:ss","HH:mm","HH:mm:ss","MMMM, yyyy")),this._cultures["mn-MN"]=new a("mn-MN",new i.NumberFormatInfo(",",2," ",[3],1,2,","," ",[3],5,1,"₮",2,","," ",[3],0,0,"%","‰","Infinity","+","NaN","-Infinity","-"),new i.DateTimeFormatInfo("yy.MM.dd",".","yyyy [оны] MMMM d",["Ням","Даваа","Мягмар","Лхагва","Пүрэв","Баасан","Бямба"],["1 дүгээр сар","2 дугаар сар","3 дугаар сар","4 дүгээр сар","5 дугаар сар","6 дугаар сар","7 дугаар сар","8 дугаар сар","9 дүгээр сар","10 дугаар сар","11 дүгээр сар","12 дугаар сар",""],["Ня","Да","Мя","Лх","Пү","Ба","Бя"],["I","II","III","IV","V","VI","VII","VIII","IX","X","XI","XII",""],["1 дүгээр сарын","2 дугаар сарын","3 дугаар сарын","4 дүгээр сарын","5 дугаар сарын","6 дугаар сарын","7 дугаар сарын","8 дугаар сарын","9 дүгээр сарын","10 дугаар сарын","11 дүгээр сарын","12 дугаар сарын",""],":","","","yyyy [оны] MMMM d H:mm:ss","H:mm","H:mm:ss","yyyy [он] MMMM")),this._cultures["bo-CN"]=new a("bo-CN",new i.NumberFormatInfo(".",2,",",[3,0],1,2,".",",",[3,0],2,0,"¥",2,".",",",[3,0],1,1,"%","‰","ཕོ་གྲངས་ཚད་མེད་ཆེ་བ།","+","ཨང་ཀི་མིན་པ།","མོ་གྲངས་ཚད་མེད་ཆུང་བ།","-"),new i.DateTimeFormatInfo("yyyy/M/d","/","yyyy[ལོའི་ཟླ] M[ཚེས] d",["གཟའ་ཉི་མ།","གཟའ་ཟླ་བ།","གཟའ་མིག་དམར།","གཟའ་ལྷག་པ།","གཟའ་ཕུར་བུ།","གཟའ་པ་སངས།","གཟའ་སྤེན་པ།"],["སྤྱི་ཟླ་དང་པོ།","སྤྱི་ཟླ་གཉིས་པ།","སྤྱི་ཟླ་གསུམ་པ།","སྤྱི་ཟླ་བཞི་པ།","སྤྱི་ཟླ་ལྔ་པ།","སྤྱི་ཟླ་དྲུག་པ།","སྤྱི་ཟླ་བདུན་པ།","སྤྱི་ཟླ་བརྒྱད་པ།","སྤྱི་ཟླ་དགུ་པ།","སྤྱི་ཟླ་བཅུ་པོ།","སྤྱི་ཟླ་བཅུ་གཅིག་པ།","སྤྱི་ཟླ་བཅུ་གཉིས་པ།",""],["༧","༡","༢","༣","༤","༥","༦"],["ཟླ་ ༡","ཟླ་ ༢","ཟླ་ ༣","ཟླ་ ༤","ཟླ་ ༥","ཟླ་ ༦","ཟླ་ ༧","ཟླ་ ༨","ཟླ་ ༩","ཟླ་ ༡༠","ཟླ་ ༡༡","ཟླ་ ༡༢",""],["སྤྱི་ཟླ་དང་པོ།","སྤྱི་ཟླ་གཉིས་པ།","སྤྱི་ཟླ་གསུམ་པ།","སྤྱི་ཟླ་བཞི་པ།","སྤྱི་ཟླ་ལྔ་པ།","སྤྱི་ཟླ་དྲུག་པ།","སྤྱི་ཟླ་བདུན་པ།","སྤྱི་ཟླ་བརྒྱད་པ།","སྤྱི་ཟླ་དགུ་པ།","སྤྱི་ཟླ་བཅུ་པོ།","སྤྱི་ཟླ་བཅུ་གཅིག་པ།","སྤྱི་ཟླ་བཅུ་གཉིས་པ།",""],":","སྔ་དྲོ","ཕྱི་དྲོ","yyyy[ལོའི་ཟླ] M[ཚེས] d HH:mm:ss","HH:mm","HH:mm:ss","yyyy.M")),this._cultures["cy-GB"]=new a("cy-GB",new i.NumberFormatInfo(".",2,",",[3],1,2,".",",",[3],1,0,"£",2,".",",",[3],2,2,"%","‰","Infinity","+","NaN","-Infinity","-"),new i.DateTimeFormatInfo("dd/MM/yyyy","/","dd MMMM yyyy",["Dydd Sul","Dydd Llun","Dydd Mawrth","Dydd Mercher","Dydd Iau","Dydd Gwener","Dydd Sadwrn"],["Ionawr","Chwefror","Mawrth","Ebrill","Mai","Mehefin","Gorffennaf","Awst","Medi","Hydref","Tachwedd","Rhagfyr",""],["Su","Ll","Ma","Me","Ia","Gw","Sa"],["Ion","Chwe","Maw","Ebr","Mai","Meh","Gor","Aws","Med","Hyd","Tach","Rhag",""],["Ionawr","Chwefror","Mawrth","Ebrill","Mai","Mehefin","Gorffennaf","Awst","Medi","Hydref","Tachwedd","Rhagfyr",""],":","a.m.","p.m.","dd MMMM yyyy HH:mm:ss","HH:mm","HH:mm:ss","MMMM yyyy")),this._cultures["km-KH"]=new a("km-KH",new i.NumberFormatInfo(".",2,",",[3,0],2,2,".",",",[3],5,1,"៛",2,".",",",[3,0],1,1,"%","‰","អនន្ត","+","NAN","-- អនន្ត","-"),new i.DateTimeFormatInfo("yyyy-MM-dd","-","d MMMM yyyy",["ថ្ងៃអាទិត្យ","ថ្ងៃច័ន្ទ","ថ្ងៃអង្គារ","ថ្ងៃពុធ","ថ្ងៃព្រហស្បតិ៍","ថ្ងៃសុក្រ","ថ្ងៃសៅរ៍"],["មករា","កុម្ភៈ","មិនា","មេសា","ឧសភា","មិថុនា","កក្កដា","សីហា","កញ្ញា","តុលា","វិច្ឆិកា","ធ្នូ",""],["អា","ច","អ","ពុ","ព្","សុ","ស"],["១","២","៣","៤","៥","៦","៧","៨","៩","១០","១១","១២",""],["មករា","កុម្ភៈ","មិនា","មេសា","ឧសភា","មិថុនា","កក្កដា","សីហា","កញ្ញា","តុលា","វិច្ឆិកា","ធ្នូ",""],":","ព្រឹក","ល្ងាច","d MMMM yyyy HH:mm:ss","H:mm tt","HH:mm:ss","[ខែ] MM [ឆ្នាំ] yyyy")),this._cultures["lo-LA"]=new a("lo-LA",new i.NumberFormatInfo(".",2,",",[3,0],0,2,".",",",[3,0],4,1,"₭",2,".",",",[3,0],0,0,"%","‰","Infinity","+","NaN","-Infinity","-"),new i.DateTimeFormatInfo("dd/MM/yyyy","/","dd MMMM yyyy",["ວັນອາທິດ","ວັນຈັນ","ວັນອັງຄານ","ວັນພຸດ","ວັນພະຫັດ","ວັນສຸກ","ວັນເສົາ"],["ມັງກອນ","ກຸມພາ","ມີນາ","ເມສາ","ພຶດສະພາ","ມິຖຸນາ","ກໍລະກົດ","ສິງຫາ","ກັນຍາ","ຕຸລາ","ພະຈິກ","ທັນວາ",""],["ອ","ຈ","ອ","ພ","ພ","ສ","ເ"],["ມັງກອນ","ກຸມພາ","ມີນາ","ເມສາ","ພຶດສະພາ","ມິຖຸນາ","ກໍລະກົດ","ສິງຫາ","ກັນຍາ","ຕຸລາ","ພະຈິກ","ທັນວາ",""],["ມັງກອນ","ກຸມພາ","ມີນາ","ເມສາ","ພຶດສະພາ","ມິຖຸນາ","ກໍລະກົດ","ສິງຫາ","ກັນຍາ","ຕຸລາ","ພະຈິກ","ທັນວາ",""],":","ເຊົ້າ","ແລງ","dd MMMM yyyy HH:mm:ss","H:mm tt","HH:mm:ss","MMMM yyyy")),this._cultures["gl-ES"]=new a("gl-ES",new i.NumberFormatInfo(",",2,".",[3],1,2,",",".",[3],8,3,"€",2,",",".",[3],0,0,"%","‰","Infinito","+","NeuN","-Infinito","-"),new i.DateTimeFormatInfo("dd/MM/yyyy","/","dddd, dd[ de ]MMMM[ de ]yyyy",["domingo","luns","martes","mércores","xoves","venres","sábado"],["xaneiro","febreiro","marzo","abril","maio","xuño","xullo","agosto","setembro","outubro","novembro","decembro",""],["do","lu","ma","mé","xo","ve","sá"],["xan","feb","mar","abr","maio","xuñ","xull","ago","set","out","nov","dec",""],["xaneiro","febreiro","marzo","abril","maio","xuño","xullo","agosto","setembro","outubro","novembro","decembro",""],":","a.m.","p.m.","dddd, dd[ de ]MMMM[ de ]yyyy H:mm:ss","H:mm","H:mm:ss","MMMM[ de ]yyyy")),this._cultures["kok-IN"]=new a("kok-IN",new i.NumberFormatInfo(".",2,",",[3,2],1,2,".",",",[3,2],12,2,"₹",2,".",",",[3,2],0,0,"%","‰","Infinity","+","NaN","-Infinity","-"),new i.DateTimeFormatInfo("dd-MM-yyyy","-","dd MMMM yyyy",["आयतार","सोमार","मंगळार","बुधवार","बिरेस्तार","सुक्रार","शेनवार"],["जानेवारी","फेब्रुवारी","मार्च","एप्रिल","मे","जून","जुलै","ऑगस्ट","सप्टेंबर","ऑक्टोबर","नोवेम्बर","डिसेंबर",""],["आ","स","म","ब","ब","स","श"],["जानेवारी","फेब्रुवारी","मार्च","एप्रिल","मे","जून","जुलै","ऑगस्ट","सप्टेंबर","ऑक्टोबर","नोवेम्बर","डिसेंबर",""],["जानेवारी","फेब्रुवारी","मार्च","एप्रिल","मे","जून","जुलै","ऑगस्ट","सप्टेंबर","ऑक्टोबर","नोवेम्बर","डिसेंबर",""],":","म.पू.","म.नं.","dd MMMM yyyy HH:mm:ss","HH:mm","HH:mm:ss","MMMM, yyyy")),this._cultures["syr-SY"]=new a("syr-SY",new i.NumberFormatInfo(".",2,",",[3],1,2,".",",",[3],3,2,"ل.س.",2,".",",",[3],0,0,"%","‰","Infinity","+","NaN","-Infinity","-"),new i.DateTimeFormatInfo("dd/MM/yyyy","/","dd MMMM, yyyy",["ܚܕ ܒܫܒܐ","ܬܪܝܢ ܒܫܒܐ","ܬܠܬܐ ܒܫܒܐ","ܐܪܒܥܐ ܒܫܒܐ","ܚܡܫܐ ܒܫܒܐ","ܥܪܘܒܬܐ","ܫܒܬܐ"],["ܟܢܘܢ ܐܚܪܝ","ܫܒܛ","ܐܕܪ","ܢܝܣܢ","ܐܝܪ","ܚܙܝܪܢ","ܬܡܘܙ","ܐܒ","ܐܝܠܘܠ","ܬܫܪܝ ܩܕܝܡ","ܬܫܪܝ ܐܚܪܝ","ܟܢܘܢ ܩܕܝܡ",""],["ܐ","ܒ","ܓ","ܕ","ܗ","ܥ","ܫ"],["ܟܢ ܒ","ܫܒܛ","ܐܕܪ","ܢܝܣܢ","ܐܝܪ","ܚܙܝܪܢ","ܬܡܘܙ","ܐܒ","ܐܝܠܘܠ","ܬܫ ܐ","ܬܫ ܒ","ܟܢ ܐ",""],["ܟܢܘܢ ܐܚܪܝ","ܫܒܛ","ܐܕܪ","ܢܝܣܢ","ܐܝܪ","ܚܙܝܪܢ","ܬܡܘܙ","ܐܒ","ܐܝܠܘܠ","ܬܫܪܝ ܩܕܝܡ","ܬܫܪܝ ܐܚܪܝ","ܟܢܘܢ ܩܕܝܡ",""],":","ܩ.ܛ","ܒ.ܛ","dd MMMM, yyyy hh:mm:ss tt","hh:mm tt","hh:mm:ss tt","MMMM, yyyy")),this._cultures["si-LK"]=new a("si-LK",new i.NumberFormatInfo(".",2,",",[3,2],1,2,".",",",[3],14,2,"රු.",2,".",",",[3,2],0,0,"%","‰","අනන්තය","+","NaN","-අනන්තය","-"),new i.DateTimeFormatInfo("yyyy-MM-dd","-","yyyy MMMM[ මස ]dd[ වැනිදා ]dddd",["ඉරිදා","සඳුදා","අඟහරුවාදා","බදාදා","බ්රහස්පතින්දා","සිකුරාදා","සෙනසුරාදා"],["ජනවාරි","පෙබරවාරි","මාර්තු","අප්රේල්","මැයි","ජූනි","ජූලි","අගෝස්තු","සැප්තැම්බර්","ඔක්තෝබර්","නොවැම්බර්","දෙසැම්බර්",""],["ඉ","ස","අ","බ","බ්ර","සි","සෙ"],["ජන.","පෙබ.","මාර්තු.","අප්රේල්.","මැයි.","ජූනි.","ජූලි.","අගෝ.","සැප්.","ඔක්.","නොවැ.","දෙසැ.",""],["ජනවාරි","පෙබරවාරි","මාර්තු","අප්රේල්","මැයි","ජූනි","ජූලි","අගෝස්තු","සැප්තැම්බර්","ඔක්තෝබර්","නොවැම්බර්","දෙසැම්බර්",""],":","පෙ.ව.","ප.ව.","yyyy MMMM[ මස ]dd[ වැනිදා ]dddd h:mm:ss tt","h:mm tt","h:mm:ss tt","yyyy MMMM")),this._cultures["iu-Cans-CA"]=new a("iu-Cans-CA",new i.NumberFormatInfo(".",2,",",[3,0],1,2,".",",",[3,0],0,0,"$",2,".",",",[3,0],1,1,"%","‰","Infinity","+","NaN","-Infinity","-"),new i.DateTimeFormatInfo("d/M/yyyy","/","dddd,MMMM dd,yyyy",["ᓈᑦᑏᖑᔭ","ᓇᒡᒐᔾᔭᐅ","ᐊᐃᑉᐱᖅ","ᐱᖓᑦᓯᖅ","ᓯᑕᒻᒥᖅ","ᑕᓪᓕᕐᒥᖅ","ᓯᕙᑖᕐᕕᒃ"],["ᔮᓐᓄᐊᕆ","ᕖᕝᕗᐊᕆ","ᒫᑦᓯ","ᐄᐳᕆ","ᒪᐃ","ᔫᓂ","ᔪᓚᐃ","ᐋᒡᒌᓯ","ᓯᑎᐱᕆ","ᐅᑐᐱᕆ","ᓄᕕᐱᕆ","ᑎᓯᐱᕆ",""],["ᓈ","ᓇ","ᐊ","ᐱ","ᓯ","ᑕ","ᓯ"],["ᔮᓐᓄ","ᕖᕝᕗ","ᒫᑦᓯ","ᐄᐳᕆ","ᒪᐃ","ᔫᓂ","ᔪᓚᐃ","ᐋᒡᒌ","ᓯᑎᐱ","ᐅᑐᐱ","ᓄᕕᐱ","ᑎᓯᐱ",""],["ᔮᓐᓄᐊᕆ","ᕖᕝᕗᐊᕆ","ᒫᑦᓯ","ᐄᐳᕆ","ᒪᐃ","ᔫᓂ","ᔪᓚᐃ","ᐋᒡᒌᓯ","ᓯᑎᐱᕆ","ᐅᑐᐱᕆ","ᓄᕕᐱᕆ","ᑎᓯᐱᕆ",""],":","AM","PM","dddd,MMMM dd,yyyy h:mm:ss tt","h:mm tt","h:mm:ss tt","MMMM,yyyy")),this._cultures["am-ET"]=new a("am-ET",new i.NumberFormatInfo(".",1,",",[3,0],1,2,".",",",[3,0],1,0,"ETB",1,".",",",[3,0],1,1,"%","‰","Infinity","+","NAN","-Infinity","-"),new i.DateTimeFormatInfo("d/M/yyyy","/","dddd [፣] MMMM d [ቀን] yyyy",["እሑድ","ሰኞ","ማክሰኞ","ረቡዕ","ሐሙስ","ዓርብ","ቅዳሜ"],["ጃንዩወሪ","ፌብሩወሪ","ማርች","ኤፕረል","ሜይ","ጁን","ጁላይ","ኦገስት","ሴፕቴምበር","ኦክተውበር","ኖቬምበር","ዲሴምበር",""],["እ","ሰ","ማ","ረ","ሐ","ዓ","ቅ"],["ጃንዩ","ፌብሩ","ማርች","ኤፕረ","ሜይ","ጁን","ጁላይ","ኦገስ","ሴፕቴ","ኦክተ","ኖቬም","ዲሴም",""],["ጃንዩወሪ","ፌብሩወሪ","ማርች","ኤፕረል","ሜይ","ጁን","ጁላይ","ኦገስት","ሴፕቴምበር","ኦክተውበር","ኖቬምበር","ዲሴምበር",""],":","ጡዋት","ከሰዓት","dddd [፣] MMMM d [ቀን] yyyy h:mm:ss tt","h:mm tt","h:mm:ss tt","MMMM yyyy")),this._cultures["ne-NP"]=new a("ne-NP",new i.NumberFormatInfo(".",2,",",[3,2],1,2,".",",",[3],1,0,"रु",2,".",",",[3,2],1,1,"%","‰","infinity","+","nan","-infinity","-"),new i.DateTimeFormatInfo("M/d/yyyy","/","dddd, MMMM dd, yyyy",["आइतवार","सोमवार","मङ्गलवार","बुधवार","बिहीवार","शुक्रवार","शनिवार"],["जनवरी","फेब्रुअरी","मार्च","अप्रिल","मे","जून","जुलाई","अगस्त","सेप्टेम्बर","अक्टोबर","नोभेम्बर","डिसेम्बर",""],["आ","सो","म","बु","बि","शु","श"],["जन","फेब","मार्च","अप्रिल","मे","जून","जुलाई","अग","सेप्ट","अक्ट","नोभ","डिस",""],["जनवरी","फेब्रुअरी","मार्च","अप्रिल","मे","जून","जुलाई","अगस्त","सेप्टेम्बर","अक्टोबर","नोभेम्बर","डिसेम्बर",""],":","विहानी","बेलुकी","dddd, MMMM dd, yyyy h:mm:ss tt","h:mm tt","h:mm:ss tt","MMMM,yyyy")),this._cultures["fy-NL"]=new a("fy-NL",new i.NumberFormatInfo(",",2,".",[3],1,2,",",".",[3],12,2,"€",2,",",".",[3],0,0,"%","‰","Infinity","+","NaN","-Infinity","-"),new i.DateTimeFormatInfo("d-M-yyyy","-","dddd d MMMM yyyy",["Snein","Moandei","Tiisdei","Woansdei","Tongersdei","Freed","Sneon"],["jannewaris","febrewaris","maart","april","maaie","juny","july","augustus","septimber","oktober","novimber","desimber",""],["S","M","T","W","T","F","S"],["jann","febr","mrt","apr","maaie","jun","jul","aug","sept","okt","nov","des",""],["jannewaris","febrewaris","maart","april","maaie","juny","july","augustus","septimber","oktober","novimber","desimber",""],":","","","dddd d MMMM yyyy H:mm:ss","H:mm","H:mm:ss","MMMM yyyy")),this._cultures["ps-AF"]=new a("ps-AF",new i.NumberFormatInfo(",",2,"،",[3],3,2,"٫","٬",[3],3,0,"؋",2,",","،",[3],4,2,"%","‰","∞","+","غ ع","-∞","-"),new i.DateTimeFormatInfo("dd/MM/yy","/","dd/MM/yyyy",["الأحد","الإثنين","الثلاثاء","الأربعاء","الخميس","الجمعة","السبت"],["محرم","صفر","ربيع الأول","ربيع الثاني","جمادى الأولى","جمادى الثانية","رجب","شعبان","رمضان","شوال","ذو القعدة","ذو الحجة",""],["ح","ن","ث","ر","خ","ج","س"],["محرم","صفر","ربيع الأول","ربيع الثاني","جمادى الأولى","جمادى الثانية","رجب","شعبان","رمضان","شوال","ذو القعدة","ذو الحجة",""],["محرم","صفر","ربيع الأول","ربيع الثاني","جمادى الأولى","جمادى الثانية","رجب","شعبان","رمضان","شوال","ذو القعدة","ذو الحجة",""],":","غ.م","غ.و","dd/MM/yyyy h:mm:ss tt","h:mm tt","h:mm:ss tt","MMMM, yyyy")),this._cultures["fil-PH"]=new a("fil-PH",new i.NumberFormatInfo(".",2,",",[3],1,2,".",",",[3],0,0,"PhP",2,".",",",[3],0,0,"%","‰","Infinity","+","NaN","-Infinity","-"),new i.DateTimeFormatInfo("M/d/yyyy","/","dddd, MMMM dd, yyyy",["Linggo","Lunes","Martes","Mierkoles","Huebes","Biernes","Sabado"],["Enero","Pebrero","Marso","Abril","Mayo","Hunyo","Hulyo","Agosto","Septyembre","Oktubre","Nobyembre","Disyembre",""],["L","L","M","M","H","B","S"],["En","Peb","Mar","Abr","Mayo","Hun","Hul","Agos","Sept","Okt","Nob","Dis",""],["Enero","Pebrero","Marso","Abril","Mayo","Hunyo","Hulyo","Agosto","Septyembre","Oktubre","Nobyembre","Disyembre",""],":","AM","PM","dddd, MMMM dd, yyyy h:mm:ss tt","h:mm tt","h:mm:ss tt","MMMM, yyyy")),this._cultures["dv-MV"]=new a("dv-MV",new i.NumberFormatInfo(".",2,",",[3],1,2,".",",",[3],10,3,"ރ.",2,".",",",[3],0,0,"%","‰","Infinity","+","NaN","-Infinity","-"),new i.DateTimeFormatInfo("dd/MM/yy","/","dd/MM/yyyy",["އާދީއްތަ","ހޯމަ","އަންގާރަ","ބުދަ","ބުރާސްފަތި","ހުކުރު","ހޮނިހިރު"],["މުޙައްރަމް","ޞަފަރު","ރަބީޢުލްއައްވަލް","ރަބީޢުލްއާޚިރު","ޖުމާދަލްއޫލާ","ޖުމާދަލްއާޚިރާ","ރަޖަބް","ޝަޢްބާން","ރަމަޟާން","ޝައްވާލް","ޛުލްޤަޢިދާ","ޛުލްޙިއްޖާ",""],["އާ","ހޯ","އަ","ބު","ބު","ހު","ހޮ"],["މުޙައްރަމް","ޞަފަރު","ރަބީޢުލްއައްވަލް","ރަބީޢުލްއާޚިރު","ޖުމާދަލްއޫލާ","ޖުމާދަލްއާޚިރާ","ރަޖަބް","ޝަޢްބާން","ރަމަޟާން","ޝައްވާލް","ޛުލްޤަޢިދާ","ޛުލްޙިއްޖާ",""],["މުޙައްރަމް","ޞަފަރު","ރަބީޢުލްއައްވަލް","ރަބީޢުލްއާޚިރު","ޖުމާދަލްއޫލާ","ޖުމާދަލްއާޚިރާ","ރަޖަބް","ޝަޢްބާން","ރަމަޟާން","ޝައްވާލް","ޛުލްޤަޢިދާ","ޛުލްޙިއްޖާ",""],":","މކ","މފ","dd/MM/yyyy HH:mm:ss","HH:mm","HH:mm:ss","MMMM, yyyy")),this._cultures["ha-Latn-NG"]=new a("ha-Latn-NG",new i.NumberFormatInfo(".",2,",",[3],1,2,".",",",[3],2,2,"N",2,".",",",[3],0,0,"%","‰","Infinity","+","NaN","-Infinity","-"),new i.DateTimeFormatInfo("d/M/yyyy","/","dddd, MMMM dd, yyyy",["Lahadi","Litinin","Talata","Laraba","Alhamis","Juma'a","Asabar"],["Januwaru","Febreru","Maris","Afrilu","Mayu","Yuni","Yuli","Agusta","Satumba","Oktocba","Nuwamba","Disamba",""],["L","L","T","L","A","J","A"],["Jan","Feb","Mar","Afr","May","Yun","Yul","Agu","Sat","Okt","Nuw","Dis",""],["Januwaru","Febreru","Maris","Afrilu","Mayu","Yuni","Yuli","Agusta","Satumba","Oktocba","Nuwamba","Disamba",""],":","Safe","Yamma","dddd, MMMM dd, yyyy h:mm:ss tt","h:mm tt","h:mm:ss tt","MMMM, yyyy")),this._cultures["yo-NG"]=new a("yo-NG",new i.NumberFormatInfo(".",2,",",[3],1,2,".",",",[3],2,2,"N",2,".",",",[3],0,0,"%","‰","Infinity","+","NaN","-Infinity","-"),new i.DateTimeFormatInfo("d/M/yyyy","/","dddd, MMMM dd, yyyy",["Aiku","Aje","Isegun","Ojo'ru","Ojo'bo","Eti","Abameta"],["Osu kinni","Osu keji","Osu keta","Osu kerin","Osu karun","Osu kefa","Osu keje","Osu kejo","Osu kesan","Osu kewa","Osu kokanla","Osu keresi",""],["A","A","I","O","O","E","A"],["kin.","kej.","ket.","ker.","kar.","kef.","kej.","kej.","kes.","kew.","kok.","ker.",""],["Osu kinni","Osu keji","Osu keta","Osu kerin","Osu karun","Osu kefa","Osu keje","Osu kejo","Osu kesan","Osu kewa","Osu kokanla","Osu keresi",""],":","Owuro","Ale","dddd, MMMM dd, yyyy h:mm:ss tt","h:mm tt","h:mm:ss tt","MMMM, yyyy")),this._cultures["quz-BO"]=new a("quz-BO",new i.NumberFormatInfo(",",2,".",[3],1,2,",",".",[3],14,2,"$b",2,",",".",[3],2,2,"%","‰","Infinity","+","NaN","-Infinity","-"),new i.DateTimeFormatInfo("dd/MM/yyyy","/","dddd, dd[ de ]MMMM[ de ]yyyy",["intichaw","killachaw","atipachaw","quyllurchaw","Ch' askachaw","Illapachaw","k'uychichaw"],["Qulla puquy","Hatun puquy","Pauqar waray","ayriwa","Aymuray","Inti raymi","Anta Sitwa","Qhapaq Sitwa","Uma raymi","Kantaray","Ayamarq'a","Kapaq Raymi",""],["d","k","a","m","h","b","k"],["Qul","Hat","Pau","ayr","Aym","Int","Ant","Qha","Uma","Kan","Aya","Kap",""],["Qulla puquy","Hatun puquy","Pauqar waray","ayriwa","Aymuray","Inti raymi","Anta Sitwa","Qhapaq Sitwa","Uma raymi","Kantaray","Ayamarq'a","Kapaq Raymi",""],":","a.m.","p.m.","dddd, dd[ de ]MMMM[ de ]yyyy hh:mm:ss tt","hh:mm tt","hh:mm:ss tt","MMMM[ de ]yyyy")),this._cultures["nso-ZA"]=new a("nso-ZA",new i.NumberFormatInfo(".",2,",",[3],1,2,".",",",[3],2,2,"R",2,".",",",[3],2,2,"%","‰","Infinity","+","NaN","-Infinity","-"),new i.DateTimeFormatInfo("yyyy/MM/dd","/","dd MMMM yyyy",["Lamorena","Mošupologo","Labobedi","Laboraro","Labone","Labohlano","Mokibelo"],["Pherekgong","Hlakola","Mopitlo","Moranang","Mosegamanye","Ngoatobošego","Phuphu","Phato","Lewedi","Diphalana","Dibatsela","Manthole",""],["L","M","L","L","L","L","M"],["Pher","Hlak","Mop","Mor","Mos","Ngwat","Phup","Phat","Lew","Dip","Dib","Man",""],["Pherekgong","Hlakola","Mopitlo","Moranang","Mosegamanye","Ngoatobošego","Phuphu","Phato","Lewedi","Diphalana","Dibatsela","Manthole",""],":","AM","PM","dd MMMM yyyy hh:mm:ss tt","hh:mm tt","hh:mm:ss tt","MMMM yyyy")),this._cultures["ba-RU"]=new a("ba-RU",new i.NumberFormatInfo(",",2," ",[3,0],1,2,","," ",[3,0],8,3,"₽",2,","," ",[3,0],1,1,"%","‰","бесконечность","+","NaN","-бесконечность","-"),new i.DateTimeFormatInfo("dd.MM.yy",".","d MMMM yyyy [й]",["Йәкшәмбе","Дүшәмбе","Шишәмбе","Шаршамбы","Кесаҙна","Йома","Шәмбе"],["ғинуар","февраль","март","апрель","май","июнь","июль","август","сентябрь","октябрь","ноябрь","декабрь",""],["Йш","Дш","Шш","Шр","Кс","Йм","Шб"],["ғин","фев","мар","апр","май","июн","июл","авг","сен","окт","ноя","дек",""],["ғинуар","февраль","март","апрель","май","июнь","июль","август","сентябрь","октябрь","ноябрь","декабрь",""],":","","","d MMMM yyyy [й] H:mm:ss","H:mm","H:mm:ss","MMMM yyyy")),this._cultures["lb-LU"]=new a("lb-LU",new i.NumberFormatInfo(",",2," ",[3],1,2,","," ",[3],8,3,"€",2,","," ",[3],0,0,"%","‰","+onendlech","+","n. num.","-onendlech","-"),new i.DateTimeFormatInfo("dd/MM/yyyy","/","dddd d MMMM yyyy",["Sonndeg","Méindeg","Dënschdeg","Mëttwoch","Donneschdeg","Freideg","Samschdeg"],["Januar","Februar","Mäerz","Abrëll","Mee","Juni","Juli","August","September","Oktober","November","Dezember",""],["So","Mé","Dë","Më","Do","Fr","Sa"],["Jan","Feb","Mäe","Abr","Mee","Jun","Jul","Aug","Sep","Okt","Nov","Dez",""],["Januar","Februar","Mäerz","Abrëll","Mee","Juni","Juli","August","September","Oktober","November","Dezember",""],":","","","dddd d MMMM yyyy HH:mm:ss","HH:mm","HH:mm:ss","MMMM yyyy")),this._cultures["kl-GL"]=new a("kl-GL",new i.NumberFormatInfo(",",2,".",[3,0],1,2,",",".",[3,0],12,2,"kr.",2,",",".",[3,0],0,0,"%","‰","INF","+","NaN","-INF","-"),new i.DateTimeFormatInfo("dd-MM-yyyy","-","d. MMMM yyyy",["sapaat","ataasinngorneq","marlunngorneq","pingasunngorneq","sisamanngorneq","tallimanngorneq","arfininngorneq"],["januari","februari","martsi","apriili","maaji","juni","juli","aggusti","septembari","oktobari","novembari","decembari",""],["sa","at","ma","pi","si","ta","ar"],["jan","feb","mar","apr","mai","jun","jul","aug","sep","okt","nov","dec",""],["januari","februari","martsi","apriili","maaji","juni","juli","aggusti","septembari","oktobari","novembari","decembari",""],":","","","d. MMMM yyyy HH:mm:ss","HH:mm","HH:mm:ss","MMMM yyyy")),this._cultures["ig-NG"]=new a("ig-NG",new i.NumberFormatInfo(".",2,",",[3],1,2,".",",",[3],2,2,"N",2,".",",",[3],0,0,"%","‰","Infinity","+","NaN","-Infinity","-"),new i.DateTimeFormatInfo("d/M/yyyy","/","dddd, MMMM dd, yyyy",["Aiku","Aje","Isegun","Ojo'ru","Ojo'bo","Eti","Abameta"],["Onwa mbu","Onwa ibua","Onwa ato","Onwa ano","Onwa ise","Onwa isi","Onwa asa","Onwa asato","Onwa itolu","Onwa iri","Onwa iri n'ofu","Onwa iri n'ibua",""],["A","A","I","O","O","E","A"],["mbu.","ibu.","ato.","ano.","ise","isi","asa","asa.","ito.","iri.","n'of.","n'ib.",""],["Onwa mbu","Onwa ibua","Onwa ato","Onwa ano","Onwa ise","Onwa isi","Onwa asa","Onwa asato","Onwa itolu","Onwa iri","Onwa iri n'ofu","Onwa iri n'ibua",""],":","Ututu","Efifie","dddd, MMMM dd, yyyy h:mm:ss tt","h:mm tt","h:mm:ss tt","MMMM, yyyy")),this._cultures["ii-CN"]=new a("ii-CN",new i.NumberFormatInfo(".",2,",",[3,0],1,2,".",",",[3],2,0,"¥",2,".",",",[3,0],1,1,"%","‰","ꈤꇁꑖꀋꉬ","+","ꌗꂷꀋꉬ","ꀄꊭꌐꀋꉆ","-"),new i.DateTimeFormatInfo("yyyy/M/d","/","yyyy[ꈎ] M[ꆪ] d[ꑍ]",["ꑭꆏꑍ","ꆏꊂ꒔","ꆏꊂꑍ","ꆏꊂꌕ","ꆏꊂꇖ","ꆏꊂꉬ","ꆏꊂꃘ"],["ꋍꆪ","ꑍꆪ","ꌕꆪ","ꇖꆪ","ꉬꆪ","ꃘꆪ","ꏃꆪ","ꉆꆪ","ꈬꆪ","ꊰꆪ","ꊯꊪꆪ","ꊰꑋꆪ",""],["ꆏ","꒔","ꑍ","ꌕ","ꇖ","ꉬ","ꃘ"],["ꋍꆪ","ꑍꆪ","ꌕꆪ","ꇖꆪ","ꉬꆪ","ꃘꆪ","ꏃꆪ","ꉆꆪ","ꈬꆪ","ꊰꆪ","ꊯꊪꆪ","ꊰꑋꆪ",""],["ꋍꆪ","ꑍꆪ","ꌕꆪ","ꇖꆪ","ꉬꆪ","ꃘꆪ","ꏃꆪ","ꉆꆪ","ꈬꆪ","ꊰꆪ","ꊯꊪꆪ","ꊰꑋꆪ",""],":","ꂵꆪꈌꈐ","ꂵꆪꈌꉈ","yyyy[ꈎ] M[ꆪ] d[ꑍ] H:mm:ss","tt h:mm","H:mm:ss","yyyy[ꈎ] M[ꆪ]")),this._cultures["arn-CL"]=new a("arn-CL",new i.NumberFormatInfo(",",2,".",[3],1,2,",",".",[3],9,2,"$",2,",",".",[3],0,0,"%","‰","Infinito","+","NeuN","-Infinito","-"),new i.DateTimeFormatInfo("dd-MM-yyyy","-","dddd, dd[ de ]MMMM[ de ]yyyy",["domingo","lunes","martes","miércoles","jueves","viernes","sábado"],["enero","febrero","marzo","abril","mayo","junio","julio","agosto","septiembre","octubre","noviembre","diciembre",""],["do","lu","ma","mi","ju","vi","sá"],["ene","feb","mar","abr","may","jun","jul","ago","sep","oct","nov","dic",""],["enero","febrero","marzo","abril","mayo","junio","julio","agosto","septiembre","octubre","noviembre","diciembre",""],":","","","dddd, dd[ de ]MMMM[ de ]yyyy H:mm:ss","H:mm","H:mm:ss","MMMM[ de ]yyyy")),this._cultures["moh-CA"]=new a("moh-CA",new i.NumberFormatInfo(".",2,",",[3,0],1,2,".",",",[3],0,0,"$",2,".",",",[3,0],0,0,"%","‰","Infinity","+","NaN","-Infinity","-"),new i.DateTimeFormatInfo("M/d/yyyy","/","dddd, MMMM dd, yyyy",["Awentatokentì:ke","Awentataón'ke","Ratironhia'kehronòn:ke","Soséhne","Okaristiiáhne","Ronwaia'tanentaktonhne","Entákta"],["Tsothohrkó:Wa","Enniska","Enniskó:Wa","Onerahtókha","Onerahtohkó:Wa","Ohiari:Ha","Ohiarihkó:Wa","Seskéha","Seskehkó:Wa","Kenténha","Kentenhkó:Wa","Tsothóhrha",""],["S","M","T","W","T","F","S"],["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec",""],["Tsothohrkó:Wa","Enniska","Enniskó:Wa","Onerahtókha","Onerahtohkó:Wa","Ohiari:Ha","Ohiarihkó:Wa","Seskéha","Seskehkó:Wa","Kenténha","Kentenhkó:Wa","Tsothóhrha",""],":","AM","PM","dddd, MMMM dd, yyyy h:mm:ss tt","h:mm tt","h:mm:ss tt","MMMM, yyyy")),this._cultures["br-FR"]=new a("br-FR",new i.NumberFormatInfo(",",2," ",[3],1,2,","," ",[3],8,3,"€",2,","," ",[3],0,0,"%","‰","+Anfin","+","NkN","-Anfin","-"),new i.DateTimeFormatInfo("dd/MM/yyyy","/","dddd d MMMM yyyy",["Sul","Lun","Meurzh","Merc'her","Yaou","Gwener","Sadorn"],["Genver","C'hwevrer","Meurzh","Ebrel","Mae","Mezheven","Gouere","Eost","Gwengolo","Here","Du","Kerzu",""],["Su","Lu","Mz","Mc","Ya","Gw","Sa"],["Gen.","C'hwe.","Meur.","Ebr.","Mae","Mezh.","Goue.","Eost","Gwen.","Here","Du","Kzu",""],["Genver","C'hwevrer","Meurzh","Ebrel","Mae","Mezheven","Gouere","Eost","Gwengolo","Here","Du","Kerzu",""],":","","","dddd d MMMM yyyy HH:mm:ss","HH:mm","HH:mm:ss","MMMM yyyy")),this._cultures["ug-CN"]=new a("ug-CN",new i.NumberFormatInfo(".",2,",",[3],1,2,".",",",[3],2,0,"¥",2,".",",",[3],1,1,"%","‰","مۇسبەت چەكسىزلىك","+","سان ئەمەس","مەنپىي چەكسىزلىك","-"),new i.DateTimeFormatInfo("yyyy-M-d","-","yyyy-[يىلى] MMMM d-[كۈنى،]",["يەكشەنبە","دۈشەنبە","سەيشەنبە","چارشەنبە","پەيشەنبە","جۈمە","شەنبە"],["1-ئاي","2-ئاي","3-ئاي","4-ئاي","5-ئاي","6-ئاي","7-ئاي","8-ئاي","9-ئاي","10-ئاي","11-ئاي","12-ئاي",""],["ي","د","س","چ","پ","ج","ش"],["1-ئاي","2-ئاي","3-ئاي","4-ئاي","5-ئاي","6-ئاي","7-ئاي","8-ئاي","9-ئاي","10-ئاي","11-ئاي","12-ئاي",""],["1-ئاي","2-ئاي","3-ئاي","4-ئاي","5-ئاي","6-ئاي","7-ئاي","8-ئاي","9-ئاي","10-ئاي","11-ئاي","12-ئاي",""],":","چۈشتىن بۇرۇن","چۈشتىن كېيىن","yyyy-[يىلى] MMMM d-[كۈنى،] H:mm:ss","H:mm","H:mm:ss","yyyy-[يىلى] MMMM")),this._cultures["mi-NZ"]=new a("mi-NZ",new i.NumberFormatInfo(".",2,",",[3],1,2,".",",",[3],1,0,"$",2,".",",",[3],2,2,"%","‰","Infinity","+","NaN","-Infinity","-"),new i.DateTimeFormatInfo("dd/MM/yyyy","/","dddd, dd MMMM, yyyy",["Rātapu","Rāhina","Rātū","Rāapa","Rāpare","Rāmere","Rāhoroi"],["Kohi-tātea","Hui-tanguru","Poutū-te-rangi","Paenga-whāwhā","Haratua","Pipiri","Hōngongoi","Here-turi-kōkā","Mahuru","Whiringa-ā-nuku","Whiringa-ā-rangi","Hakihea",""],["Ta","Hi","Tū","Aa","Pa","Me","Ho"],["Kohi","Hui","Pou","Pae","Hara","Pipi","Hōngo","Here","Mahu","Nuku","Rangi","Haki",""],["Kohi-tātea","Hui-tanguru","Poutū-te-rangi","Paenga-whāwhā","Haratua","Pipiri","Hōngongoi","Here-turi-kōkā","Mahuru","Whiringa-ā-nuku","Whiringa-ā-rangi","Hakihea",""],":","a.m.","p.m.","dddd, dd MMMM, yyyy h:mm:ss tt","h:mm tt","h:mm:ss tt","MMMM, yy")),this._cultures["oc-FR"]=new a("oc-FR",new i.NumberFormatInfo(",",2," ",[3],1,2,","," ",[3],8,3,"€",2,","," ",[3],0,0,"%","‰","+Infinit","+","Non Numeric","-Infinit","-"),new i.DateTimeFormatInfo("dd/MM/yyyy","/","dddd,[ lo ]d MMMM[ de ]yyyy",["dimenge","diluns","dimars","dimècres","dijòus","divendres","dissabte"],["genier","febrier","març","abril","mai","junh","julh","agost","setembre","octobre","novembre","desembre",""],["di","lu","ma","mè","jò","ve","sa"],["gen.","feb.","mar.","abr.","mai.","jun.","jul.","ag.","set.","oct.","nov.","des.",""],["de genier","de febrier","de març","d'abril","de mai","de junh","de julh","d'agost","de setembre","d'octobre","de novembre","de desembre",""],":","","","dddd,[ lo ]d MMMM[ de ]yyyy HH:mm:ss","HH:mm","HH:mm:ss","MMMM yyyy")),this._cultures["co-FR"]=new a("co-FR",new i.NumberFormatInfo(",",2," ",[3],1,2,","," ",[3],8,3,"€",2,","," ",[3],0,0,"%","‰","+Infinitu","+","Mica numericu","-Infinitu","-"),new i.DateTimeFormatInfo("dd/MM/yyyy","/","dddd d MMMM yyyy",["dumenica","luni","marti","mercuri","ghjovi","venderi","sabbatu"],["ghjennaghju","ferraghju","marzu","aprile","maghju","ghjunghju","lugliu","aostu","settembre","ottobre","nuvembre","dicembre",""],["du","lu","ma","me","gh","ve","sa"],["ghje","ferr","marz","apri","magh","ghju","lugl","aost","sett","otto","nuve","dice",""],["ghjennaghju","ferraghju","marzu","aprile","maghju","ghjunghju","lugliu","aostu","settembre","ottobre","nuvembre","dicembre",""],":","","","dddd d MMMM yyyy HH:mm:ss","HH:mm","HH:mm:ss","MMMM yyyy")),this._cultures["gsw-FR"]=new a("gsw-FR",new i.NumberFormatInfo(",",2," ",[3],1,2,","," ",[3],8,3,"€",2,","," ",[3],0,0,"%","‰","+Unendlich","+","Ohne Nummer","-Unendlich","-"),new i.DateTimeFormatInfo("dd/MM/yyyy","/","dddd d MMMM yyyy",["Sundàà","Mondàà","Dienschdàà","Mittwuch","Dunnerschdàà","Fridàà","Sàmschdàà"],["Jänner","Feverje","März","Àpril","Mai","Jüni","Jüli","Augscht","September","Oktower","Nowember","Dezember",""],["Su","Mo","Di","Mi","Du","Fr","Sà"],["Jän.","Fev.","März","Apr.","Mai","Jüni","Jüli","Aug.","Sept.","Okt.","Now.","Dez.",""],["Jänner","Feverje","März","Àpril","Mai","Jüni","Jüli","Augscht","September","Oktower","Nowember","Dezember",""],":","","","dddd d MMMM yyyy HH:mm:ss","HH:mm","HH:mm:ss","MMMM yyyy")),this._cultures["sah-RU"]=new a("sah-RU",new i.NumberFormatInfo(",",2," ",[3],1,2,","," ",[3],5,1,"₽",2,","," ",[3],1,1,"%","‰","бесконечность","+","NAN","-бесконечность","-"),new i.DateTimeFormatInfo("MM.dd.yyyy",".","MMMM d yyyy [с.]",["баскыһыанньа","бэнидиэнньик","оптуорунньук","сэрэдэ","чэппиэр","бээтинсэ","субуота"],["Тохсунньу","Олунньу","Кулун тутар","Муус устар","Ыам ыйа","Бэс ыйа","От ыйа","Атырдьах ыйа","Балаҕан ыйа","Алтынньы","Сэтинньи","Ахсынньы",""],["Бс","Бн","Оп","Ср","Чп","Бт","Сб"],["тхс","олн","кул","мст","ыам","бэс","отй","атр","блҕ","алт","стн","ахс",""],["тохсунньу","олунньу","кулун тутар","муус устар","ыам ыйын","бэс ыйын","от ыйын","атырдьах ыйын","балаҕан ыйын","алтынньы","сэтинньи","ахсынньы",""],":","","","MMMM d yyyy [с.] H:mm:ss","H:mm","H:mm:ss","MMMM yyyy [с.]")),this._cultures["qut-GT"]=new a("qut-GT",new i.NumberFormatInfo(".",2,",",[3],1,2,".",",",[3],0,0,"Q",2,".",",",[3],0,0,"%","‰","Infinito","+","NeuN","-Infinito","-"),new i.DateTimeFormatInfo("dd/MM/yyyy","/","dddd, dd[ de ]MMMM[ de ]yyyy",["juq'ij","kaq'ij","oxq'ij","kajq'ij","joq'ij","waqq'ij","wuqq'ij"],["nab'e ik'","ukab' ik'","rox ik'","ukaj ik'","uro' ik'","uwaq ik'","uwuq ik'","uwajxaq ik'","ub'elej ik'","ulaj ik'","ujulaj ik'","ukab'laj ik'",""],["ju","ka","ox","ka","jo","wa","wu"],["nab'e","ukab","rox","ukaj","uro","uwaq","uwuq","uwajxaq","ub'elej","ulaj","ujulaj","ukab'laj",""],["nab'e ik'","ukab' ik'","rox ik'","ukaj ik'","uro' ik'","uwaq ik'","uwuq ik'","uwajxaq ik'","ub'elej ik'","ulaj ik'","ujulaj ik'","ukab'laj ik'",""],":","a.m.","p.m.","dddd, dd[ de ]MMMM[ de ]yyyy hh:mm:ss tt","hh:mm tt","hh:mm:ss tt","MMMM[ de ]yyyy")),this._cultures["rw-RW"]=new a("rw-RW",new i.NumberFormatInfo(",",2," ",[3],1,2,","," ",[3],2,2,"RWF",2,","," ",[3],0,0,"%","‰","Infinity","+","NaN","-Infinity","-"),new i.DateTimeFormatInfo("M/d/yyyy","/","dddd, MMMM dd, yyyy",["Ku wa mbere","Ku wa kabiri","Ku wa gatatu","Ku wa kane","Ku wa gatanu","Ku wa gatandatu","Ku cyumweru"],["Mutarama","Gashyantare","Werurwe","Mata","Gicurasi","Kamena","Nyakanga","Kanama","Nzeli","Ukwakira","Ugushyingo","Ukuboza",""],["mb","ka","ga","ka","ga","ga","cy"],["Mut","Gas","Wer","Mat","Gic","Kam","Nya","Kan","Nze","Ukwa","Ugu","Uku",""],["Mutarama","Gashyantare","Werurwe","Mata","Gicurasi","Kamena","Nyakanga","Kanama","Nzeli","Ukwakira","Ugushyingo","Ukuboza",""],":","saa moya z.m.","saa moya z.n.","dddd, MMMM dd, yyyy h:mm:ss tt","h:mm tt","h:mm:ss tt","MMMM, yyyy")),this._cultures["wo-SN"]=new a("wo-SN",new i.NumberFormatInfo(",",2," ",[3],1,2,","," ",[3],8,3,"XOF",2,","," ",[3],0,0,"%","‰","+Infini","+","Non Numérique","-Infini","-"),new i.DateTimeFormatInfo("dd/MM/yyyy","/","dddd d MMMM yyyy",["dimanche","lundi","mardi","mercredi","jeudi","vendredi","samedi"],["janvier","février","mars","avril","mai","juin","juillet","août","septembre","octobre","novembre","décembre",""],["di","lu","ma","me","je","ve","sa"],["janv.","févr.","mars","avr.","mai","juin","juil.","août","sept.","oct.","nov.","déc.",""],["janvier","février","mars","avril","mai","juin","juillet","août","septembre","octobre","novembre","décembre",""],":","","","dddd d MMMM yyyy HH:mm:ss","HH:mm","HH:mm:ss","MMMM yyyy")),this._cultures["prs-AF"]=new a("prs-AF",new i.NumberFormatInfo(",",2,".",[3],3,2,".",",",[3],3,0,"؋",2,",",".",[3],4,2,"%","‰","∞","+","غ ع","-∞","-"),new i.DateTimeFormatInfo("dd/MM/yy","/","dd/MM/yyyy",["الأحد","الإثنين","الثلاثاء","الأربعاء","الخميس","الجمعة","السبت"],["محرم","صفر","ربيع الأول","ربيع الثاني","جمادى الأولى","جمادى الثانية","رجب","شعبان","رمضان","شوال","ذو القعدة","ذو الحجة",""],["ح","ن","ث","ر","خ","ج","س"],["محرم","صفر","ربيع الأول","ربيع الثاني","جمادى الأولى","جمادى الثانية","رجب","شعبان","رمضان","شوال","ذو القعدة","ذو الحجة",""],["محرم","صفر","ربيع الأول","ربيع الثاني","جمادى الأولى","جمادى الثانية","رجب","شعبان","رمضان","شوال","ذو القعدة","ذو الحجة",""],":","غ.م","غ.و","dd/MM/yyyy h:mm:ss tt","h:mm tt","h:mm:ss tt","MMMM, yyyy")),this._cultures["gd-GB"]=new a("gd-GB",new i.NumberFormatInfo(".",2,",",[3],1,2,".",",",[3],1,0,"£",2,".",",",[3],0,0,"%","‰","Neo-chrìochnachd","+","NaN","-Neo-chrìochnachd","-"),new i.DateTimeFormatInfo("dd/MM/yyyy","/","dd MMMM yyyy",["Didòmhnaich","Diluain","Dimàirt","Diciadain","Diardaoin","Dihaoine","Disathairne"],["Am Faoilleach","An Gearran","Am Màrt","An Giblean","An Cèitean","An t-Ògmhios","An t-Iuchar","An Lùnastal","An t-Sultain","An Dàmhair","An t-Samhain","An Dùbhlachd",""],["D","L","M","C","A","H","S"],["Fao","Gea","Màr","Gib","Cèi","Ògm","Iuc","Lùn","Sul","Dàm","Sam","Dùb",""],["Am Faoilleach","An Gearran","Am Màrt","An Giblean","An Cèitean","An t-Ògmhios","An t-Iuchar","An Lùnastal","An t-Sultain","An Dàmhair","An t-Samhain","An Dùbhlachd",""],":","m","f","dd MMMM yyyy HH:mm:ss","HH:mm","HH:mm:ss","MMMM yyyy")),this._cultures["ar-IQ"]=new a("ar-IQ",new i.NumberFormatInfo(".",2,",",[3],3,2,".",",",[3],3,2,"د.ع.",2,".",",",[3],0,0,"%","‰","+لا نهاية","+","ليس برقم","-لا نهاية","-"),new i.DateTimeFormatInfo("dd/MM/yyyy","/","dd MMMM, yyyy",["الأحد","الإثنين","الثلاثاء","الأربعاء","الخميس","الجمعة","السبت"],["كانون الثاني","شباط","آذار","نيسان","أيار","حزيران","تموز","آب","أيلول","تشرين الأول","تشرين الثاني","كانون الأول",""],["ح","ن","ث","ر","خ","ج","س"],["كانون الثاني","شباط","آذار","نيسان","أيار","حزيران","تموز","آب","أيلول","تشرين الأول","تشرين الثاني","كانون الأول",""],["كانون الثاني","شباط","آذار","نيسان","أيار","حزيران","تموز","آب","أيلول","تشرين الأول","تشرين الثاني","كانون الأول",""],":","ص","م","dd MMMM, yyyy hh:mm:ss tt","hh:mm tt","hh:mm:ss tt","MMMM, yyyy")),this._cultures["zh-CN"]=new a("zh-CN",new i.NumberFormatInfo(".",2,",",[3],1,2,".",",",[3],2,0,"¥",2,".",",",[3],1,1,"%","‰","正无穷大","+","非数字","负无穷大","-"),new i.DateTimeFormatInfo("yyyy/M/d","/","yyyy[年]M[月]d[日]",["星期日","星期一","星期二","星期三","星期四","星期五","星期六"],["一月","二月","三月","四月","五月","六月","七月","八月","九月","十月","十一月","十二月",""],["日","一","二","三","四","五","六"],["一月","二月","三月","四月","五月","六月","七月","八月","九月","十月","十一月","十二月",""],["一月","二月","三月","四月","五月","六月","七月","八月","九月","十月","十一月","十二月",""],":","上午","下午","yyyy[年]M[月]d[日] H:mm:ss","H:mm","H:mm:ss","yyyy[年]M[月]")),this._cultures["de-CH"]=new a("de-CH",new i.NumberFormatInfo(".",2,"'",[3],1,2,".","'",[3],2,2,"Fr.",2,".","'",[3],1,1,"%","‰","+unendlich","+","n. def.","-unendlich","-"),new i.DateTimeFormatInfo("dd.MM.yyyy",".","dddd, d. MMMM yyyy",["Sonntag","Montag","Dienstag","Mittwoch","Donnerstag","Freitag","Samstag"],["Januar","Februar","März","April","Mai","Juni","Juli","August","September","Oktober","November","Dezember",""],["So","Mo","Di","Mi","Do","Fr","Sa"],["Jan","Feb","Mrz","Apr","Mai","Jun","Jul","Aug","Sep","Okt","Nov","Dez",""],["Januar","Februar","März","April","Mai","Juni","Juli","August","September","Oktober","November","Dezember",""],":","","","dddd, d. MMMM yyyy HH:mm:ss","HH:mm","HH:mm:ss","MMMM yyyy")),this._cultures["en-GB"]=new a("en-GB",new i.NumberFormatInfo(".",2,",",[3],1,2,".",",",[3],1,0,"£",2,".",",",[3],0,0,"%","‰","Infinity","+","NaN","-Infinity","-"),new i.DateTimeFormatInfo("dd/MM/yyyy","/","dd MMMM yyyy",["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],["January","February","March","April","May","June","July","August","September","October","November","December",""],["Su","Mo","Tu","We","Th","Fr","Sa"],["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec",""],["January","February","March","April","May","June","July","August","September","October","November","December",""],":","AM","PM","dd MMMM yyyy HH:mm:ss","HH:mm","HH:mm:ss","MMMM yyyy")),this._cultures["es-MX"]=new a("es-MX",new i.NumberFormatInfo(".",2,",",[3],1,2,".",",",[3],1,0,"$",2,".",",",[3],0,0,"%","‰","Infinito","+","NeuN","-Infinito","-"),new i.DateTimeFormatInfo("dd/MM/yyyy","/","dddd, dd[ de ]MMMM[ de ]yyyy",["domingo","lunes","martes","miércoles","jueves","viernes","sábado"],["enero","febrero","marzo","abril","mayo","junio","julio","agosto","septiembre","octubre","noviembre","diciembre",""],["do","lu","ma","mi","ju","vi","sá"],["ene","feb","mar","abr","may","jun","jul","ago","sep","oct","nov","dic",""],["enero","febrero","marzo","abril","mayo","junio","julio","agosto","septiembre","octubre","noviembre","diciembre",""],":","a.m.","p.m.","dddd, dd[ de ]MMMM[ de ]yyyy hh:mm:ss tt","hh:mm tt","hh:mm:ss tt","MMMM[ de ]yyyy")),this._cultures["fr-BE"]=new a("fr-BE",new i.NumberFormatInfo(",",2,".",[3],1,2,",",".",[3],12,2,"€",2,",",".",[3],0,0,"%","‰","+Infini","+","Non Numérique","-Infini","-"),new i.DateTimeFormatInfo("d/MM/yyyy","/","dddd d MMMM yyyy",["dimanche","lundi","mardi","mercredi","jeudi","vendredi","samedi"],["janvier","février","mars","avril","mai","juin","juillet","août","septembre","octobre","novembre","décembre",""],["di","lu","ma","me","je","ve","sa"],["janv.","févr.","mars","avr.","mai","juin","juil.","août","sept.","oct.","nov.","déc.",""],["janvier","février","mars","avril","mai","juin","juillet","août","septembre","octobre","novembre","décembre",""],":","","","dddd d MMMM yyyy HH:mm:ss","HH:mm","HH:mm:ss","MMMM yyyy")),this._cultures["it-CH"]=new a("it-CH",new i.NumberFormatInfo(".",2,"'",[3],1,2,".","'",[3],2,2,"fr.",2,".","'",[3],1,1,"%","‰","+Infinito","+","Non un numero reale","-Infinito","-"),new i.DateTimeFormatInfo("dd.MM.yyyy",".","dddd, d. MMMM yyyy",["domenica","lunedì","martedì","mercoledì","giovedì","venerdì","sabato"],["gennaio","febbraio","marzo","aprile","maggio","giugno","luglio","agosto","settembre","ottobre","novembre","dicembre",""],["do","lu","ma","me","gi","ve","sa"],["gen","feb","mar","apr","mag","giu","lug","ago","set","ott","nov","dic",""],["gennaio","febbraio","marzo","aprile","maggio","giugno","luglio","agosto","settembre","ottobre","novembre","dicembre",""],":","","","dddd, d. MMMM yyyy HH:mm:ss","HH:mm","HH:mm:ss","MMMM yyyy")),this._cultures["nl-BE"]=new a("nl-BE",new i.NumberFormatInfo(",",2,".",[3],1,2,",",".",[3],12,2,"€",2,",",".",[3],1,1,"%","‰","oneindig","+","NaN (Niet-een-getal)","-oneindig","-"),new i.DateTimeFormatInfo("d/MM/yyyy","/","dddd d MMMM yyyy",["zondag","maandag","dinsdag","woensdag","donderdag","vrijdag","zaterdag"],["januari","februari","maart","april","mei","juni","juli","augustus","september","oktober","november","december",""],["zo","ma","di","wo","do","vr","za"],["jan","feb","mrt","apr","mei","jun","jul","aug","sep","okt","nov","dec",""],["januari","februari","maart","april","mei","juni","juli","augustus","september","oktober","november","december",""],":","","","dddd d MMMM yyyy H:mm:ss","H:mm","H:mm:ss","MMMM yyyy")),this._cultures["nn-NO"]=new a("nn-NO",new i.NumberFormatInfo(",",2," ",[3],1,2,","," ",[3],12,2,"kr",2,","," ",[3],0,0,"%","‰","INF","+","NaN","-INF","-"),new i.DateTimeFormatInfo("dd.MM.yyyy",".","d. MMMM yyyy",["søndag","måndag","tysdag","onsdag","torsdag","fredag","laurdag"],["januar","februar","mars","april","mai","juni","juli","august","september","oktober","november","desember",""],["sø","må","ty","on","to","fr","la"],["jan","feb","mar","apr","mai","jun","jul","aug","sep","okt","nov","des",""],["januar","februar","mars","april","mai","juni","juli","august","september","oktober","november","desember",""],":","","","d. MMMM yyyy HH:mm:ss","HH:mm","HH:mm:ss","MMMM yyyy")),this._cultures["pt-PT"]=new a("pt-PT",new i.NumberFormatInfo(",",2,".",[3],1,2,",",".",[3],8,3,"€",2,",",".",[3],1,1,"%","‰","+Infinito","+","NaN (Não é um número)","-Infinito","-"),new i.DateTimeFormatInfo("dd-MM-yyyy","-","dddd, d[ de ]MMMM[ de ]yyyy",["domingo","segunda-feira","terça-feira","quarta-feira","quinta-feira","sexta-feira","sábado"],["Janeiro","Fevereiro","Março","Abril","Maio","Junho","Julho","Agosto","Setembro","Outubro","Novembro","Dezembro",""],["D","S","T","Q","Q","S","S"],["Jan","Fev","Mar","Abr","Mai","Jun","Jul","Ago","Set","Out","Nov","Dez",""],["Janeiro","Fevereiro","Março","Abril","Maio","Junho","Julho","Agosto","Setembro","Outubro","Novembro","Dezembro",""],":","","","dddd, d[ de ]MMMM[ de ]yyyy HH:mm:ss","HH:mm","HH:mm:ss","MMMM[ de ]yyyy")),this._cultures["sr-Latn-CS"]=new a("sr-Latn-CS",new i.NumberFormatInfo(",",2,".",[3],1,2,",",".",[3],8,3,"Din.",2,",",".",[3],1,1,"%","‰","+beskonačnost","+","NaN","-beskonačnost","-"),new i.DateTimeFormatInfo("d.M.yyyy",".","d. MMMM yyyy",["nedelja","ponedeljak","utorak","sreda","četvrtak","petak","subota"],["januar","februar","mart","april","maj","jun","jul","avgust","septembar","oktobar","novembar","decembar",""],["ne","po","ut","sr","če","pe","su"],["jan","feb","mar","apr","maj","jun","jul","avg","sep","okt","nov","dec",""],["januar","februar","mart","april","maj","jun","jul","avgust","septembar","oktobar","novembar","decembar",""],":","","","d. MMMM yyyy H:mm:ss","H:mm","H:mm:ss","MMMM yyyy")),this._cultures["sv-FI"]=new a("sv-FI",new i.NumberFormatInfo(",",2," ",[3],1,2,","," ",[3],8,3,"€",2,","," ",[3],0,0,"%","‰","INF","+","NaN","-INF","-"),new i.DateTimeFormatInfo("d.M.yyyy",".","[den ]d MMMM yyyy",["söndag","måndag","tisdag","onsdag","torsdag","fredag","lördag"],["januari","februari","mars","april","maj","juni","juli","augusti","september","oktober","november","december",""],["sö","må","ti","on","to","fr","lö"],["jan","feb","mar","apr","maj","jun","jul","aug","sep","okt","nov","dec",""],["januari","februari","mars","april","maj","juni","juli","augusti","september","oktober","november","december",""],":","","","[den ]d MMMM yyyy HH:mm:ss","HH:mm","HH:mm:ss","MMMM yyyy")),this._cultures["az-Cyrl-AZ"]=new a("az-Cyrl-AZ",new i.NumberFormatInfo(",",2," ",[3],1,2,","," ",[3],8,3,"₼",2,","," ",[3],1,1,"%","‰","Infinity","+","NaN","-Infinity","-"),new i.DateTimeFormatInfo("dd.MM.yyyy",".","d MMMM yyyy",["Базар","Базар ертәси","Чәршәнбә ахшамы","Чәршәнбә","Ҹүмә ахшамы","Ҹүмә","Шәнбә"],["Јанвар","Феврал","Март","Апрел","Мај","Ијун","Ијул","Август","Сентјабр","Октјабр","Нојабр","Декабр",""],["Б","Бе","Ча","Ч","Ҹа","Ҹ","Ш"],["Јан","Фев","Мар","Апр","Мај","Ијун","Ијул","Авг","Сен","Окт","Ноя","Дек",""],["јанвар","феврал","март","апрел","мај","ијун","ијул","август","сентјабр","октјабр","нојабр","декабр",""],":","","","d MMMM yyyy H:mm:ss","H:mm","H:mm:ss","MMMM yyyy")),this._cultures["dsb-DE"]=new a("dsb-DE",new i.NumberFormatInfo(",",2,".",[3],1,2,",",".",[3],8,3,"€",2,",",".",[3],0,0,"%","‰","+njekońcne","+","njedefinowane","-njekońcne","-"),new i.DateTimeFormatInfo("d. M. yyyy",". ","dddd, [dnja] d. MMMM yyyy",["njeźela","ponjeźele","wałtora","srjoda","stwortk","pětk","sobota"],["januar","februar","měrc","apryl","maj","junij","julij","awgust","september","oktober","nowember","december",""],["n","p","w","s","s","p","s"],["jan","feb","měr","apr","maj","jun","jul","awg","sep","okt","now","dec",""],["januara","februara","měrca","apryla","maja","junija","julija","awgusta","septembra","oktobra","nowembra","decembra",""],":","","","dddd, [dnja] d. MMMM yyyy H:mm:ss","H.mm [goź.]","H:mm:ss","MMMM yyyy")),this._cultures["se-SE"]=new a("se-SE",new i.NumberFormatInfo(",",2," ",[3],1,2,",",".",[3],8,3,"kr",2,","," ",[3],0,0,"%","‰","Infinity","+","NaN","-Infinity","-"),new i.DateTimeFormatInfo("yyyy-MM-dd","-","MMMM d[. b. ]yyyy",["sotnabeaivi","mánnodat","disdat","gaskavahkku","duorastat","bearjadat","lávvardat"],["ođđajagemánnu","guovvamánnu","njukčamánnu","cuoŋománnu","miessemánnu","geassemánnu","suoidnemánnu","borgemánnu","čakčamánnu","golggotmánnu","skábmamánnu","juovlamánnu",""],["s","m","d","g","d","b","l"],["ođđj","guov","njuk","cuo","mies","geas","suoi","borg","čakč","golg","skáb","juov",""],["ođđajagimánu","guovvamánu","njukčamánu","cuoŋománu","miessemánu","geassemánu","suoidnemánu","borgemánu","čakčamánu","golggotmánu","skábmamánu","juovlamánu",""],":","","","MMMM d[. b. ]yyyy HH:mm:ss","HH:mm","HH:mm:ss","MMMM yyyy")),this._cultures["ga-IE"]=new a("ga-IE",new i.NumberFormatInfo(".",2,",",[3],1,2,".",",",[3],1,0,"€",2,".",",",[3],0,0,"%","‰","Infinity","+","NaN","-Infinity","-"),new i.DateTimeFormatInfo("dd/MM/yyyy","/","d MMMM yyyy",["Dé Domhnaigh","Dé Luain","Dé Máirt","Dé Céadaoin","Déardaoin","Dé hAoine","Dé Sathairn"],["Eanáir","Feabhra","Márta","Aibreán","Bealtaine","Meitheamh","Iúil","Lúnasa","Meán Fómhair","Deireadh Fómhair","Samhain","Nollaig",""],["Do","Lu","Má","Cé","De","Ao","Sa"],["Ean","Feabh","Már","Aib","Bealt","Meith","Iúil","Lún","M.Fómh","D.Fómh","Samh","Noll",""],["Eanáir","Feabhra","Márta","Aibreán","Bealtaine","Meitheamh","Iúil","Lúnasa","Meán Fómhair","Deireadh Fómhair","Samhain","Nollaig",""],":","r.n.","i.n.","d MMMM yyyy HH:mm:ss","HH:mm","HH:mm:ss","MMMM yyyy")),this._cultures["ms-BN"]=new a("ms-BN",new i.NumberFormatInfo(",",2,".",[3],1,0,",",".",[3],0,0,"$",2,",",".",[3],0,0,"%","‰","Infinity","+","NaN","-Infinity","-"),new i.DateTimeFormatInfo("dd/MM/yyyy","/","dd MMMM yyyy",["Ahad","Isnin","Selasa","Rabu","Khamis","Jumaat","Sabtu"],["Januari","Februari","Mac","April","Mei","Jun","Julai","Ogos","September","Oktober","November","Disember",""],["A","I","S","R","K","J","S"],["Jan","Feb","Mac","Apr","Mei","Jun","Jul","Ogos","Sept","Okt","Nov","Dis",""],["Januari","Februari","Mac","April","Mei","Jun","Julai","Ogos","September","Oktober","November","Disember",""],":","","","dd MMMM yyyy H:mm:ss","H:mm","H:mm:ss","MMMM yyyy")),this._cultures["uz-Cyrl-UZ"]=new a("uz-Cyrl-UZ",new i.NumberFormatInfo(",",2," ",[3],1,2,","," ",[3],8,3,"сўм",2,","," ",[3],1,1,"%","‰","Infinity","+","NaN","-Infinity","-"),new i.DateTimeFormatInfo("dd.MM.yyyy",".","yyyy [йил] d-MMMM",["якшанба","душанба","сешанба","чоршанба","пайшанба","жума","шанба"],["Январ","Феврал","Март","Апрел","Май","Июн","Июл","Август","Сентябр","Октябр","Ноябр","Декабр",""],["я","д","с","ч","п","ж","ш"],["Янв","Фев","Мар","Апр","Май","Июн","Июл","Авг","Сен","Окт","Ноя","Дек",""],["январ","феврал","март","апрел","май","июн","июл","август","сентябр","октябр","ноябр","декабр",""],":","","","yyyy [йил] d-MMMM HH:mm:ss","HH:mm","HH:mm:ss","MMMM yyyy")),this._cultures["bn-BD"]=new a("bn-BD",new i.NumberFormatInfo(".",2,",",[3,2],1,2,".",",",[3,2],12,2,"৳",2,".",",",[3,2],2,2,"%","‰","Infinity","+","NaN","-Infinity","-"),new i.DateTimeFormatInfo("dd-MM-yy","-","dd MMMM yyyy",["রবিবার","সোমবার","মঙ্গলবার","বুধবার","বৃহস্পতিবার","শুক্রবার","শনিবার"],["জানুয়ারী","ফেব্রুয়ারী","মার্চ","এপ্রিল","মে","জুন","জুলাই","আগস্ট","সেপ্টেম্বর","অক্টোবর","নভেম্বর","ডিসেম্বর",""],["র","স","ম","ব","ব","শ","শ"],["জানু.","ফেব্রু.","মার্চ","এপ্রিল","মে","জুন","জুলাই","আগ.","সেপ্টে.","অক্টো.","নভে.","ডিসে.",""],["জানুয়ারী","ফেব্রুয়ারী","মার্চ","এপ্রিল","মে","জুন","জুলাই","আগস্ট","সেপ্টেম্বর","অক্টোবর","নভেম্বর","ডিসেম্বর",""],".","পুর্বাহ্ন","অপরাহ্ন","dd MMMM yyyy HH.mm.ss","HH.mm","HH.mm.ss","MMMM, yyyy")),this._cultures["mn-Mong-CN"]=new a("mn-Mong-CN",new i.NumberFormatInfo(".",2,",",[3,0],1,2,".",",",[3,0],2,0,"¥",2,".",",",[3,0],1,1,"%","‰","ᠡᠶ᠋ᠡᠷᠬᠦ ᠬᠢᠵᠠᠭᠠᠷᠭᠦᠢ ᠶᠠᠬᠡ","+","ᠲᠤᠭᠠᠠ ᠪᠤᠰᠤ","ᠰᠦᠬᠡᠷᠬᠦ ᠬᠢᠵᠠᠭᠠᠷᠭᠦᠢ ᠶᠡᠬᠡ","-"),new i.DateTimeFormatInfo("yyyy/M/d","/","yyyy[ᠣᠨ ᠤ᠋] M[ᠰᠠᠷᠠ ᠢᠢᠨ ]d[ ᠤ᠋ ᠡᠳᠦᠷ]",["ᠭᠠᠷᠠᠭ ᠤᠨ ᠡᠳᠦᠷ","ᠭᠠᠷᠠᠭ ᠤᠨ ᠨᠢᠭᠡᠨ","ᠭᠠᠷᠠᠭ ᠤᠨ ᠬᠣᠶᠠᠷ","ᠭᠠᠷᠠᠭ ᠤᠨ ᠭᠤᠷᠪᠠᠨ","ᠭᠠᠷᠠᠭ ᠤᠨ ᠳᠥᠷᠪᠡᠨ","ᠭᠠᠷᠠᠭ ᠤᠨ ᠲᠠᠪᠤᠨ","ᠭᠠᠷᠠᠭ ᠤᠨ ᠵᠢᠷᠭᠤᠭᠠᠨ"],["ᠨᠢᠭᠡᠳᠦᠭᠡᠷ ᠰᠠᠷᠠ","ᠬᠤᠶ᠋ᠠᠳᠤᠭᠠᠷ ᠰᠠᠷᠠ","ᠭᠤᠷᠪᠠᠳᠤᠭᠠᠷ ᠰᠠᠷᠠ","ᠲᠦᠷᠪᠡᠳᠦᠭᠡᠷ ᠰᠠᠷᠠ","ᠲᠠᠪᠤᠳᠤᠭᠠᠷ ᠰᠠᠷᠠ","ᠵᠢᠷᠭᠤᠳᠤᠭᠠᠷ ᠰᠠᠷᠠ","ᠲᠤᠯᠤᠳᠤᠭᠠᠷ ᠰᠠᠷᠠ","ᠨᠠᠢᠮᠠᠳᠤᠭᠠᠷ ᠰᠠᠷᠠ","ᠶᠢᠰᠦᠳᠦᠭᠡᠷ ᠰᠠᠷᠠ","ᠠᠷᠪᠠᠳᠤᠭᠠᠷ ᠰᠠᠷᠠ","ᠠᠷᠪᠠᠨ ᠨᠢᠭᠡᠳᠦᠭᠡᠷ ᠰᠠᠷᠠ","ᠠᠷᠪᠠᠨ ᠬᠤᠶ᠋ᠠᠳᠤᠭᠠᠷ ᠰᠠᠷᠠ",""],["ᠡ","ᠨᠢ","ᠬᠣ","ᠭᠤ","ᠳᠥ","ᠲᠠ","ᠵᠢ"],["ᠨᠢᠭᠡᠳᠦᠭᠡᠷ ᠰᠠᠷᠠ","ᠬᠤᠶ᠋ᠠᠳᠤᠭᠠᠷ ᠰᠠᠷᠠ","ᠭᠤᠷᠪᠠᠳᠤᠭᠠᠷ ᠰᠠᠷᠠ","ᠲᠦᠷᠪᠡᠳᠦᠭᠡᠷ ᠰᠠᠷᠠ","ᠲᠠᠪᠤᠳᠤᠭᠠᠷ ᠰᠠᠷᠠ","ᠵᠢᠷᠭᠤᠳᠤᠭᠠᠷ ᠰᠠᠷᠠ","ᠲᠤᠯᠤᠳᠤᠭᠠᠷ ᠰᠠᠷᠠ","ᠨᠠᠢᠮᠠᠳᠤᠭᠠᠷ ᠰᠠᠷᠠ","ᠶᠢᠰᠦᠳᠦᠭᠡᠷ ᠰᠠᠷᠠ","ᠠᠷᠪᠠᠳᠤᠭᠠᠷ ᠰᠠᠷᠠ","ᠠᠷᠪᠠᠨ ᠨᠢᠭᠡᠳᠦᠭᠡᠷ ᠰᠠᠷᠠ","ᠠᠷᠪᠠᠨ ᠬᠤᠶ᠋ᠠᠳᠤᠭᠠᠷ ᠰᠠᠷᠠ",""],["ᠨᠢᠭᠡᠳᠦᠭᠡᠷ ᠰᠠᠷᠠ","ᠬᠤᠶ᠋ᠠᠳᠤᠭᠠᠷ ᠰᠠᠷᠠ","ᠭᠤᠷᠪᠠᠳᠤᠭᠠᠷ ᠰᠠᠷᠠ","ᠲᠦᠷᠪᠡᠳᠦᠭᠡᠷ ᠰᠠᠷᠠ","ᠲᠠᠪᠤᠳᠤᠭᠠᠷ ᠰᠠᠷᠠ","ᠵᠢᠷᠭᠤᠳᠤᠭᠠᠷ ᠰᠠᠷᠠ","ᠲᠤᠯᠤᠳᠤᠭᠠᠷ ᠰᠠᠷᠠ","ᠨᠠᠢᠮᠠᠳᠤᠭᠠᠷ ᠰᠠᠷᠠ","ᠶᠢᠰᠦᠳᠦᠭᠡᠷ ᠰᠠᠷᠠ","ᠠᠷᠪᠠᠳᠤᠭᠠᠷ ᠰᠠᠷᠠ","ᠠᠷᠪᠠᠨ ᠨᠢᠭᠡᠳᠦᠭᠡᠷ ᠰᠠᠷᠠ","ᠠᠷᠪᠠᠨ ᠬᠤᠶ᠋ᠠᠳᠤᠭᠠᠷ ᠰᠠᠷᠠ",""],":","","","yyyy[ᠣᠨ ᠤ᠋] M[ᠰᠠᠷᠠ ᠢᠢᠨ ]d[ ᠤ᠋ ᠡᠳᠦᠷ] H:mm:ss","H:mm","H:mm:ss","yyyy'ᠣᠨ' M'ᠰᠠᠷᠠ'")),this._cultures["iu-Latn-CA"]=new a("iu-Latn-CA",new i.NumberFormatInfo(".",2,",",[3,0],1,2,".",",",[3],0,0,"$",2,".",",",[3,0],0,0,"%","‰","Infinity","+","NaN","-Infinity","-"),new i.DateTimeFormatInfo("d/MM/yyyy","/","ddd, MMMM dd,yyyy",["Naattiinguja","Naggajjau","Aippiq","Pingatsiq","Sitammiq","Tallirmiq","Sivataarvik"],["Jaannuari","Viivvuari","Maatsi","Iipuri","Mai","Juuni","Julai","Aaggiisi","Sitipiri","Utupiri","Nuvipiri","Tisipiri",""],["N","N","A","P","S","T","S"],["Jan","Viv","Mas","Ipu","Mai","Jun","Jul","Agi","Sii","Uut","Nuv","Tis",""],["Jaannuari","Viivvuari","Maatsi","Iipuri","Mai","Juuni","Julai","Aaggiisi","Sitipiri","Utupiri","Nuvipiri","Tisipiri",""],":","AM","PM","ddd, MMMM dd,yyyy h:mm:ss tt","h:mm tt","h:mm:ss tt","MMMM, yyyy")),this._cultures["tzm-Latn-DZ"]=new a("tzm-Latn-DZ",new i.NumberFormatInfo(",",2,".",[3],3,2,".",",",[3],8,3,"DZD",2,",",".",[3],0,0,"%","‰","+Infini","+","Non Numérique","-Infini","-"),new i.DateTimeFormatInfo("dd-MM-yyyy","-","dd MMMM, yyyy",["Acer","Arime","Aram","Ahad","Amhadh","Sem","Sedh"],["Yenayer","Furar","Maghres","Yebrir","Mayu","Yunyu","Yulyu","Ghuct","Cutenber","Ktuber","Wambir","Dujanbir",""],["Ac","Ar","Ar","Ah","Am","Se","Se"],["Yen","Fur","Mag","Yeb","May","Yun","Yul","Ghu","Cut","Ktu","Wam","Duj",""],["Yenayer","Furar","Maghres","Yebrir","Mayu","Yunyu","Yulyu","Ghuct","Cutenber","Ktuber","Wambir","Dujanbir",""],":","","","dd MMMM, yyyy H:mm:ss","H:mm","H:mm:ss","MMMM, yyyy")),this._cultures["quz-EC"]=new a("quz-EC",new i.NumberFormatInfo(",",2,".",[3],1,2,",",".",[3],14,2,"$",2,",",".",[3],2,2,"%","‰","Infinity","+","NaN","-Infinity","-"),new i.DateTimeFormatInfo("dd/MM/yyyy","/","dddd, dd[ de ]MMMM[ de ]yyyy",["intichaw","killachaw","atipachaw","quyllurchaw","Ch' askachaw","Illapachaw","k'uychichaw"],["Qulla puquy","Hatun puquy","Pauqar waray","ayriwa","Aymuray","Inti raymi","Anta Sitwa","Qhapaq Sitwa","Uma raymi","Kantaray","Ayamarq'a","Kapaq Raymi",""],["d","k","a","m","h","b","k"],["Qul","Hat","Pau","ayr","Aym","Int","Ant","Qha","Uma","Kan","Aya","Kap",""],["Qulla puquy","Hatun puquy","Pauqar waray","ayriwa","Aymuray","Inti raymi","Anta Sitwa","Qhapaq Sitwa","Uma raymi","Kantaray","Ayamarq'a","Kapaq Raymi",""],":","","","dddd, dd[ de ]MMMM[ de ]yyyy H:mm:ss","H:mm","H:mm:ss","MMMM[ de ]yyyy")),this._cultures["ar-EG"]=new a("ar-EG",new i.NumberFormatInfo(".",3,",",[3],3,2,".",",",[3],3,2,"ج.م.",3,".",",",[3],0,0,"%","‰","+لا نهاية","+","ليس برقم","-لا نهاية","-"),new i.DateTimeFormatInfo("dd/MM/yyyy","/","dd MMMM, yyyy",["الأحد","الإثنين","الثلاثاء","الأربعاء","الخميس","الجمعة","السبت"],["يناير","فبراير","مارس","أبريل","مايو","يونيو","يوليو","أغسطس","سبتمبر","أكتوبر","نوفمبر","ديسمبر",""],["ح","ن","ث","ر","خ","ج","س"],["يناير","فبراير","مارس","أبريل","مايو","يونيو","يوليو","أغسطس","سبتمبر","أكتوبر","نوفمبر","ديسمبر",""],["يناير","فبراير","مارس","أبريل","مايو","يونيو","يوليو","أغسطس","سبتمبر","أكتوبر","نوفمبر","ديسمبر",""],":","ص","م","dd MMMM, yyyy hh:mm:ss tt","hh:mm tt","hh:mm:ss tt","MMMM, yyyy")),this._cultures["zh-HK"]=new a("zh-HK",new i.NumberFormatInfo(".",2,",",[3],1,2,".",",",[3],0,0,"HK$",2,".",",",[3],1,1,"%","‰","正無窮大","+","非數字","負無窮大","-"),new i.DateTimeFormatInfo("d/M/yyyy","/","yyyy[年]M[月]d[日]",["星期日","星期一","星期二","星期三","星期四","星期五","星期六"],["一月","二月","三月","四月","五月","六月","七月","八月","九月","十月","十一月","十二月",""],["日","一","二","三","四","五","六"],["一月","二月","三月","四月","五月","六月","七月","八月","九月","十月","十一月","十二月",""],["一月","二月","三月","四月","五月","六月","七月","八月","九月","十月","十一月","十二月",""],":","上午","下午","yyyy[年]M[月]d[日] H:mm:ss","H:mm","H:mm:ss","yyyy[年]M[月]")),this._cultures["de-AT"]=new a("de-AT",new i.NumberFormatInfo(",",2,".",[3],1,2,",",".",[3],9,2,"€",2,",",".",[3],1,1,"%","‰","+unendlich","+","n. def.","-unendlich","-"),new i.DateTimeFormatInfo("dd.MM.yyyy",".","dddd, dd. MMMM yyyy",["Sonntag","Montag","Dienstag","Mittwoch","Donnerstag","Freitag","Samstag"],["Jänner","Februar","März","April","Mai","Juni","Juli","August","September","Oktober","November","Dezember",""],["So","Mo","Di","Mi","Do","Fr","Sa"],["Jän","Feb","Mär","Apr","Mai","Jun","Jul","Aug","Sep","Okt","Nov","Dez",""],["Jänner","Februar","März","April","Mai","Juni","Juli","August","September","Oktober","November","Dezember",""],":","","","dddd, dd. MMMM yyyy HH:mm:ss","HH:mm","HH:mm:ss","MMMM yyyy")),this._cultures["en-AU"]=new a("en-AU",new i.NumberFormatInfo(".",2,",",[3],1,2,".",",",[3],1,0,"$",2,".",",",[3],0,0,"%","‰","Infinity","+","NaN","-Infinity","-"),new i.DateTimeFormatInfo("d/MM/yyyy","/","dddd, d MMMM yyyy",["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],["January","February","March","April","May","June","July","August","September","October","November","December",""],["Su","Mo","Tu","We","Th","Fr","Sa"],["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec",""],["January","February","March","April","May","June","July","August","September","October","November","December",""],":","AM","PM","dddd, d MMMM yyyy h:mm:ss tt","h:mm tt","h:mm:ss tt","MMMM yyyy")),this._cultures["es-ES"]=new a("es-ES",new i.NumberFormatInfo(",",2,".",[3],1,2,",",".",[3],8,3,"€",2,",",".",[3],0,0,"%","‰","Infinito","+","NeuN","-Infinito","-"),new i.DateTimeFormatInfo("dd/MM/yyyy","/","dddd, dd[ de ]MMMM[ de ]yyyy",["domingo","lunes","martes","miércoles","jueves","viernes","sábado"],["enero","febrero","marzo","abril","mayo","junio","julio","agosto","septiembre","octubre","noviembre","diciembre",""],["do","lu","ma","mi","ju","vi","sá"],["ene","feb","mar","abr","may","jun","jul","ago","sep","oct","nov","dic",""],["enero","febrero","marzo","abril","mayo","junio","julio","agosto","septiembre","octubre","noviembre","diciembre",""],":","","","dddd, dd[ de ]MMMM[ de ]yyyy H:mm:ss","H:mm","H:mm:ss","MMMM[ de ]yyyy")),this._cultures["fr-CA"]=new a("fr-CA",new i.NumberFormatInfo(",",2," ",[3],1,2,","," ",[3],15,3,"$",2,","," ",[3],0,0,"%","‰","+Infini","+","Non Numérique","-Infini","-"),new i.DateTimeFormatInfo("yyyy-MM-dd","-","d MMMM yyyy",["dimanche","lundi","mardi","mercredi","jeudi","vendredi","samedi"],["janvier","février","mars","avril","mai","juin","juillet","août","septembre","octobre","novembre","décembre",""],["di","lu","ma","me","je","ve","sa"],["janv.","févr.","mars","avr.","mai","juin","juil.","août","sept.","oct.","nov.","déc.",""],["janvier","février","mars","avril","mai","juin","juillet","août","septembre","octobre","novembre","décembre",""],":","","","d MMMM yyyy HH:mm:ss","HH:mm","HH:mm:ss","MMMM, yyyy")),this._cultures["sr-Cyrl-CS"]=new a("sr-Cyrl-CS",new i.NumberFormatInfo(",",2,".",[3],1,2,",",".",[3],8,3,"Дин.",2,",",".",[3],1,1,"%","‰","+бесконачност","+","NaN","-бесконачност","-"),new i.DateTimeFormatInfo("d.M.yyyy",".","d. MMMM yyyy",["недеља","понедељак","уторак","среда","четвртак","петак","субота"],["јануар","фебруар","март","април","мај","јун","јул","август","септембар","октобар","новембар","децембар",""],["не","по","ут","ср","че","пе","су"],["јан","феб","мар","апр","мај","јун","јул","авг","сеп","окт","нов","дец",""],["јануар","фебруар","март","април","мај","јун","јул","август","септембар","октобар","новембар","децембар",""],":","","","d. MMMM yyyy H:mm:ss","H:mm","H:mm:ss","MMMM yyyy")),this._cultures["se-FI"]=new a("se-FI",new i.NumberFormatInfo(",",2," ",[3],1,2,","," ",[3],8,3,"€",2,","," ",[3],0,0,"%","‰","Infinity","+","NaN","-Infinity","-"),new i.DateTimeFormatInfo("d.M.yyyy",".","MMMM d[. b. ]yyyy",["sotnabeaivi","vuossárga","maŋŋebárga","gaskavahkku","duorastat","bearjadat","lávvardat"],["ođđajagemánnu","guovvamánnu","njukčamánnu","cuoŋománnu","miessemánnu","geassemánnu","suoidnemánnu","borgemánnu","čakčamánnu","golggotmánnu","skábmamánnu","juovlamánnu",""],["s","m","d","g","d","b","l"],["ođđj","guov","njuk","cuo","mies","geas","suoi","borg","čakč","golg","skáb","juov",""],["ođđajagimánu","guovvamánu","njukčamánu","cuoŋománu","miessemánu","geassemánu","suoidnemánu","borgemánu","čakčamánu","golggotmánu","skábmamánu","juovlamánu",""],":","","","MMMM d[. b. ]yyyy H:mm:ss","H:mm","H:mm:ss","MMMM yyyy")),this._cultures["quz-PE"]=new a("quz-PE",new i.NumberFormatInfo(".",2,",",[3],1,2,".",",",[3],12,2,"S/.",2,".",",",[3],2,2,"%","‰","Infinity","+","NaN","-Infinity","-"),new i.DateTimeFormatInfo("dd/MM/yyyy","/","dddd, dd[ de ]MMMM[ de ]yyyy",["intichaw","killachaw","atipachaw","quyllurchaw","Ch' askachaw","Illapachaw","k'uychichaw"],["Qulla puquy","Hatun puquy","Pauqar waray","ayriwa","Aymuray","Inti raymi","Anta Sitwa","Qhapaq Sitwa","Uma raymi","Kantaray","Ayamarq'a","Kapaq Raymi",""],["d","k","a","m","h","b","k"],["Qul","Hat","Pau","ayr","Aym","Int","Ant","Qha","Uma","Kan","Aya","Kap",""],["Qulla puquy","Hatun puquy","Pauqar waray","ayriwa","Aymuray","Inti raymi","Anta Sitwa","Qhapaq Sitwa","Uma raymi","Kantaray","Ayamarq'a","Kapaq Raymi",""],":","a.m.","p.m.","dddd, dd[ de ]MMMM[ de ]yyyy hh:mm:ss tt","hh:mm tt","hh:mm:ss tt","MMMM[ de ]yyyy")),this._cultures["ar-LY"]=new a("ar-LY",new i.NumberFormatInfo(".",3,",",[3],3,3,".",",",[3],3,0,"د.ل.",3,".",",",[3],0,0,"%","‰","+لا نهاية","+","ليس برقم","-لا نهاية","-"),new i.DateTimeFormatInfo("dd/MM/yyyy","/","dd MMMM, yyyy",["الأحد","الإثنين","الثلاثاء","الأربعاء","الخميس","الجمعة","السبت"],["يناير","فبراير","مارس","أبريل","مايو","يونيو","يوليو","أغسطس","سبتمبر","أكتوبر","نوفمبر","ديسمبر",""],["ح","ن","ث","ر","خ","ج","س"],["يناير","فبراير","مارس","أبريل","مايو","يونيو","يوليو","أغسطس","سبتمبر","أكتوبر","نوفمبر","ديسمبر",""],["يناير","فبراير","مارس","أبريل","مايو","يونيو","يوليو","أغسطس","سبتمبر","أكتوبر","نوفمبر","ديسمبر",""],":","ص","م","dd MMMM, yyyy hh:mm:ss tt","hh:mm tt","hh:mm:ss tt","MMMM, yyyy")),this._cultures["zh-SG"]=new a("zh-SG",new i.NumberFormatInfo(".",2,",",[3],1,2,".",",",[3],0,0,"$",2,".",",",[3],1,1,"%","‰","Infinity","+","NaN","-Infinity","-"),new i.DateTimeFormatInfo("d/M/yyyy","/","yyyy[年]M[月]d[日]",["星期日","星期一","星期二","星期三","星期四","星期五","星期六"],["一月","二月","三月","四月","五月","六月","七月","八月","九月","十月","十一月","十二月",""],["日","一","二","三","四","五","六"],["一月","二月","三月","四月","五月","六月","七月","八月","九月","十月","十一月","十二月",""],["一月","二月","三月","四月","五月","六月","七月","八月","九月","十月","十一月","十二月",""],":","AM","PM","yyyy[年]M[月]d[日] tt h:mm:ss","tt h:mm","tt h:mm:ss","yyyy[年]M[月]")),this._cultures["de-LU"]=new a("de-LU",new i.NumberFormatInfo(",",2,".",[3],1,2,",",".",[3],8,3,"€",2,",",".",[3],1,1,"%","‰","+unendlich","+","n. def.","-unendlich","-"),new i.DateTimeFormatInfo("dd.MM.yyyy",".","dddd, d. MMMM yyyy",["Sonntag","Montag","Dienstag","Mittwoch","Donnerstag","Freitag","Samstag"],["Januar","Februar","März","April","Mai","Juni","Juli","August","September","Oktober","November","Dezember",""],["So","Mo","Di","Mi","Do","Fr","Sa"],["Jan","Feb","Mrz","Apr","Mai","Jun","Jul","Aug","Sep","Okt","Nov","Dez",""],["Januar","Februar","März","April","Mai","Juni","Juli","August","September","Oktober","November","Dezember",""],":","","","dddd, d. MMMM yyyy HH:mm:ss","HH:mm","HH:mm:ss","MMMM yyyy")),this._cultures["en-CA"]=new a("en-CA",new i.NumberFormatInfo(".",2,",",[3],1,2,".",",",[3],1,0,"$",2,".",",",[3],0,0,"%","‰","Infinity","+","NaN","-Infinity","-"),new i.DateTimeFormatInfo("dd/MM/yyyy","/","MMMM-dd-yy",["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],["January","February","March","April","May","June","July","August","September","October","November","December",""],["Su","Mo","Tu","We","Th","Fr","Sa"],["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec",""],["January","February","March","April","May","June","July","August","September","October","November","December",""],":","AM","PM","MMMM-dd-yy h:mm:ss tt","h:mm tt","h:mm:ss tt","MMMM, yyyy")),this._cultures["es-GT"]=new a("es-GT",new i.NumberFormatInfo(".",2,",",[3],1,2,".",",",[3],0,0,"Q",2,".",",",[3],0,0,"%","‰","Infinito","+","NeuN","-Infinito","-"),new i.DateTimeFormatInfo("dd/MM/yyyy","/","dddd, dd[ de ]MMMM[ de ]yyyy",["domingo","lunes","martes","miércoles","jueves","viernes","sábado"],["enero","febrero","marzo","abril","mayo","junio","julio","agosto","septiembre","octubre","noviembre","diciembre",""],["do","lu","ma","mi","ju","vi","sá"],["ene","feb","mar","abr","may","jun","jul","ago","sep","oct","nov","dic",""],["enero","febrero","marzo","abril","mayo","junio","julio","agosto","septiembre","octubre","noviembre","diciembre",""],":","a.m.","p.m.","dddd, dd[ de ]MMMM[ de ]yyyy hh:mm:ss tt","hh:mm tt","hh:mm:ss tt","MMMM[ de ]yyyy")),this._cultures["fr-CH"]=new a("fr-CH",new i.NumberFormatInfo(".",2,"'",[3],1,2,".","'",[3],2,2,"fr.",2,".","'",[3],0,0,"%","‰","+Infini","+","Non Numérique","-Infini","-"),new i.DateTimeFormatInfo("dd.MM.yyyy",".","dddd d MMMM yyyy",["dimanche","lundi","mardi","mercredi","jeudi","vendredi","samedi"],["janvier","février","mars","avril","mai","juin","juillet","août","septembre","octobre","novembre","décembre",""],["di","lu","ma","me","je","ve","sa"],["janv.","févr.","mars","avr.","mai","juin","juil.","août","sept.","oct.","nov.","déc.",""],["janvier","février","mars","avril","mai","juin","juillet","août","septembre","octobre","novembre","décembre",""],":","","","dddd d MMMM yyyy HH:mm:ss","HH:mm","HH:mm:ss","MMMM yyyy")),this._cultures["hr-BA"]=new a("hr-BA",new i.NumberFormatInfo(",",2,".",[3],2,2,",",".",[3],8,3,"KM",2,",",".",[3],0,0,"%","‰","Infinity","+","NaN","-Infinity","-"),new i.DateTimeFormatInfo("d.M.yyyy.",".","d. MMMM yyyy.",["nedjelja","ponedjeljak","utorak","srijeda","četvrtak","petak","subota"],["siječanj","veljača","ožujak","travanj","svibanj","lipanj","srpanj","kolovoz","rujan","listopad","studeni","prosinac",""],["ne","po","ut","sr","če","pe","su"],["sij","vlj","ožu","tra","svi","lip","srp","kol","ruj","lis","stu","pro",""],["siječnja","veljače","ožujka","travnja","svibnja","lipnja","srpnja","kolovoza","rujna","listopada","studenog","prosinca",""],":","","","d. MMMM yyyy. H:mm:ss","H:mm","H:mm:ss","MMMM, yyyy")),this._cultures["smj-NO"]=new a("smj-NO",new i.NumberFormatInfo(",",2," ",[3],1,2,","," ",[3],12,2,"kr",2,","," ",[3],2,2,"%","‰","Infinity","+","NaN","-Infinity","-"),new i.DateTimeFormatInfo("dd.MM.yyyy",".","MMMM d[. b. ]yyyy",["sådnåbiejvve","mánnodahka","dijstahka","gasskavahkko","duorastahka","bierjjedahka","lávvodahka"],["ådåjakmánno","guovvamánno","sjnjuktjamánno","vuoratjismánno","moarmesmánno","biehtsemánno","sjnjilltjamánno","bårggemánno","ragátmánno","gålgådismánno","basádismánno","javllamánno",""],["s","m","d","g","d","b","l"],["ådåj","guov","snju","vuor","moar","bieh","snji","bårg","ragá","gålg","basá","javl",""],["ådåjakmáno","guovvamáno","sjnjuktjamáno","vuoratjismáno","moarmesmáno","biehtsemáno","sjnjilltjamáno","bårggemáno","ragátmáno","gålgådismáno","basádismáno","javllamáno",""],":","","","MMMM d[. b. ]yyyy HH:mm:ss","HH:mm","HH:mm:ss","MMMM yyyy")),this._cultures["ar-DZ"]=new a("ar-DZ",new i.NumberFormatInfo(".",2,",",[3],3,2,".",",",[3],3,2,"د.ج.",2,".",",",[3],0,0,"%","‰","+لا نهاية","+","ليس برقم","-لا نهاية","-"),new i.DateTimeFormatInfo("dd-MM-yyyy","-","dd MMMM, yyyy",["الأحد","الإثنين","الثلاثاء","الأربعاء","الخميس","الجمعة","السبت"],["جانفييه","فيفرييه","مارس","أفريل","مي","جوان","جوييه","أوت","سبتمبر","أكتوبر","نوفمبر","ديسمبر",""],["ح","ن","ث","ر","خ","ج","س"],["جانفييه","فيفرييه","مارس","أفريل","مي","جوان","جوييه","أوت","سبتمبر","أكتوبر","نوفمبر","ديسمبر",""],["جانفييه","فيفرييه","مارس","أفريل","مي","جوان","جوييه","أوت","سبتمبر","أكتوبر","نوفمبر","ديسمبر",""],":","ص","م","dd MMMM, yyyy H:mm:ss","H:mm","H:mm:ss","MMMM, yyyy")),this._cultures["zh-MO"]=new a("zh-MO",new i.NumberFormatInfo(".",2,",",[3],1,2,".",",",[3],0,0,"MOP",2,".",",",[3],1,1,"%","‰","正無窮大","+","非數字","負無窮大","-"),new i.DateTimeFormatInfo("d/M/yyyy","/","yyyy[年]M[月]d[日]",["星期日","星期一","星期二","星期三","星期四","星期五","星期六"],["一月","二月","三月","四月","五月","六月","七月","八月","九月","十月","十一月","十二月",""],["日","一","二","三","四","五","六"],["一月","二月","三月","四月","五月","六月","七月","八月","九月","十月","十一月","十二月",""],["一月","二月","三月","四月","五月","六月","七月","八月","九月","十月","十一月","十二月",""],":","上午","下午","yyyy[年]M[月]d[日] H:mm:ss","H:mm","H:mm:ss","yyyy[年]M[月]")),this._cultures["de-LI"]=new a("de-LI",new i.NumberFormatInfo(".",2,"'",[3],1,2,".","'",[3],2,2,"CHF",2,".","'",[3],1,1,"%","‰","+unendlich","+","n. def.","-unendlich","-"),new i.DateTimeFormatInfo("dd.MM.yyyy",".","dddd, d. MMMM yyyy",["Sonntag","Montag","Dienstag","Mittwoch","Donnerstag","Freitag","Samstag"],["Januar","Februar","März","April","Mai","Juni","Juli","August","September","Oktober","November","Dezember",""],["So","Mo","Di","Mi","Do","Fr","Sa"],["Jan","Feb","Mrz","Apr","Mai","Jun","Jul","Aug","Sep","Okt","Nov","Dez",""],["Januar","Februar","März","April","Mai","Juni","Juli","August","September","Oktober","November","Dezember",""],":","","","dddd, d. MMMM yyyy HH:mm:ss","HH:mm","HH:mm:ss","MMMM yyyy")),this._cultures["en-NZ"]=new a("en-NZ",new i.NumberFormatInfo(".",2,",",[3],1,2,".",",",[3],1,0,"$",2,".",",",[3],0,0,"%","‰","Infinity","+","NaN","-Infinity","-"),new i.DateTimeFormatInfo("d/MM/yyyy","/","dddd, d MMMM yyyy",["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],["January","February","March","April","May","June","July","August","September","October","November","December",""],["Su","Mo","Tu","We","Th","Fr","Sa"],["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec",""],["January","February","March","April","May","June","July","August","September","October","November","December",""],":","a.m.","p.m.","dddd, d MMMM yyyy h:mm:ss tt","h:mm tt","h:mm:ss tt","MMMM yyyy")),this._cultures["es-CR"]=new a("es-CR",new i.NumberFormatInfo(",",2,".",[3],1,2,",",".",[3],0,0,"₡",2,",",".",[3],0,0,"%","‰","Infinito","+","NeuN","-Infinito","-"),new i.DateTimeFormatInfo("dd/MM/yyyy","/","dddd, dd[ de ]MMMM[ de ]yyyy",["domingo","lunes","martes","miércoles","jueves","viernes","sábado"],["enero","febrero","marzo","abril","mayo","junio","julio","agosto","septiembre","octubre","noviembre","diciembre",""],["do","lu","ma","mi","ju","vi","sá"],["ene","feb","mar","abr","may","jun","jul","ago","sep","oct","nov","dic",""],["enero","febrero","marzo","abril","mayo","junio","julio","agosto","septiembre","octubre","noviembre","diciembre",""],":","a.m.","p.m.","dddd, dd[ de ]MMMM[ de ]yyyy hh:mm:ss tt","hh:mm tt","hh:mm:ss tt","MMMM[ de ]yyyy")),this._cultures["fr-LU"]=new a("fr-LU",new i.NumberFormatInfo(",",2," ",[3],1,2,","," ",[3],8,3,"€",2,","," ",[3],0,0,"%","‰","+Infini","+","Non Numérique","-Infini","-"),new i.DateTimeFormatInfo("dd/MM/yyyy","/","dddd d MMMM yyyy",["dimanche","lundi","mardi","mercredi","jeudi","vendredi","samedi"],["janvier","février","mars","avril","mai","juin","juillet","août","septembre","octobre","novembre","décembre",""],["di","lu","ma","me","je","ve","sa"],["janv.","févr.","mars","avr.","mai","juin","juil.","août","sept.","oct.","nov.","déc.",""],["janvier","février","mars","avril","mai","juin","juillet","août","septembre","octobre","novembre","décembre",""],":","","","dddd d MMMM yyyy HH:mm:ss","HH:mm","HH:mm:ss","MMMM yyyy")),this._cultures["bs-Latn-BA"]=new a("bs-Latn-BA",new i.NumberFormatInfo(",",2,".",[3],1,2,",",".",[3],8,3,"KM",2,",",".",[3],0,0,"%","‰","Infinity","+","NaN","-Infinity","-"),new i.DateTimeFormatInfo("d.M.yyyy",".","d. MMMM yyyy",["nedjelja","ponedjeljak","utorak","srijeda","četvrtak","petak","subota"],["januar","februar","mart","april","maj","juni","juli","avgust","septembar","oktobar","novembar","decembar",""],["ne","po","ut","sr","če","pe","su"],["jan","feb","mar","apr","maj","jun","jul","avg","sep","okt","nov","dec",""],["januar","februar","mart","april","maj","juni","juli","avgust","septembar","oktobar","novembar","decembar",""],":","","","d. MMMM yyyy H:mm:ss","H:mm","H:mm:ss","MMMM yyyy")),this._cultures["smj-SE"]=new a("smj-SE",new i.NumberFormatInfo(",",2," ",[3],1,2,",",".",[3],8,3,"kr",2,","," ",[3],0,0,"%","‰","Infinity","+","NaN","-Infinity","-"),new i.DateTimeFormatInfo("yyyy-MM-dd","-","MMMM d[. b. ]yyyy",["ájllek","mánnodahka","dijstahka","gasskavahkko","duorastahka","bierjjedahka","lávvodahka"],["ådåjakmánno","guovvamánno","sjnjuktjamánno","vuoratjismánno","moarmesmánno","biehtsemánno","sjnjilltjamánno","bårggemánno","ragátmánno","gålgådismánno","basádismánno","javllamánno",""],["á","m","d","g","d","b","l"],["ådåj","guov","snju","vuor","moar","bieh","snji","bårg","ragá","gålg","basá","javl",""],["ådåjakmáno","guovvamáno","sjnjuktjamáno","vuoratjismáno","moarmesmáno","biehtsemáno","sjnjilltjamáno","bårggemáno","ragátmáno","gålgådismáno","basádismáno","javllamáno",""],":","","","MMMM d[. b. ]yyyy HH:mm:ss","HH:mm","HH:mm:ss","MMMM yyyy")),this._cultures["ar-MA"]=new a("ar-MA",new i.NumberFormatInfo(".",2,",",[3],3,2,".",",",[3],3,2,"د.م.",2,".",",",[3],0,0,"%","‰","+لا نهاية","+","ليس برقم","-لا نهاية","-"),new i.DateTimeFormatInfo("dd-MM-yyyy","-","dd MMMM, yyyy",["الأحد","الإثنين","الثلاثاء","الأربعاء","الخميس","الجمعة","السبت"],["يناير","فبراير","مارس","أبريل","ماي","يونيو","يوليوز","غشت","شتنبر","أكتوبر","نونبر","دجنبر",""],["ح","ن","ث","ر","خ","ج","س"],["يناير","فبراير","مارس","أبريل","ماي","يونيو","يوليوز","غشت","شتنبر","أكتوبر","نونبر","دجنبر",""],["يناير","فبراير","مارس","أبريل","ماي","يونيو","يوليوز","غشت","شتنبر","أكتوبر","نونبر","دجنبر",""],":","ص","م","dd MMMM, yyyy H:mm:ss","H:mm","H:mm:ss","MMMM, yyyy")),this._cultures["en-IE"]=new a("en-IE",new i.NumberFormatInfo(".",2,",",[3],1,2,".",",",[3],1,0,"€",2,".",",",[3],0,0,"%","‰","Infinity","+","NaN","-Infinity","-"),new i.DateTimeFormatInfo("dd/MM/yyyy","/","dd MMMM yyyy",["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],["January","February","March","April","May","June","July","August","September","October","November","December",""],["Su","Mo","Tu","We","Th","Fr","Sa"],["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec",""],["January","February","March","April","May","June","July","August","September","October","November","December",""],":","","","dd MMMM yyyy HH:mm:ss","HH:mm","HH:mm:ss","MMMM yyyy")),this._cultures["es-PA"]=new a("es-PA",new i.NumberFormatInfo(".",2,",",[3],1,2,".",",",[3],14,2,"B/.",2,".",",",[3],0,0,"%","‰","Infinito","+","NeuN","-Infinito","-"),new i.DateTimeFormatInfo("MM/dd/yyyy","/","dddd, dd[ de ]MMMM[ de ]yyyy",["domingo","lunes","martes","miércoles","jueves","viernes","sábado"],["enero","febrero","marzo","abril","mayo","junio","julio","agosto","septiembre","octubre","noviembre","diciembre",""],["do","lu","ma","mi","ju","vi","sá"],["ene","feb","mar","abr","may","jun","jul","ago","sep","oct","nov","dic",""],["enero","febrero","marzo","abril","mayo","junio","julio","agosto","septiembre","octubre","noviembre","diciembre",""],":","a.m.","p.m.","dddd, dd[ de ]MMMM[ de ]yyyy hh:mm:ss tt","hh:mm tt","hh:mm:ss tt","MMMM[ de ]yyyy")),this._cultures["fr-MC"]=new a("fr-MC",new i.NumberFormatInfo(",",2," ",[3],1,2,","," ",[3],8,3,"€",2,","," ",[3],0,0,"%","‰","+Infini","+","Non Numérique","-Infini","-"),new i.DateTimeFormatInfo("dd/MM/yyyy","/","dddd d MMMM yyyy",["dimanche","lundi","mardi","mercredi","jeudi","vendredi","samedi"],["janvier","février","mars","avril","mai","juin","juillet","août","septembre","octobre","novembre","décembre",""],["di","lu","ma","me","je","ve","sa"],["janv.","févr.","mars","avr.","mai","juin","juil.","août","sept.","oct.","nov.","déc.",""],["janvier","février","mars","avril","mai","juin","juillet","août","septembre","octobre","novembre","décembre",""],":","","","dddd d MMMM yyyy HH:mm:ss","HH:mm","HH:mm:ss","MMMM yyyy")),this._cultures["sr-Latn-BA"]=new a("sr-Latn-BA",new i.NumberFormatInfo(",",2,".",[3],1,2,",",".",[3],8,3,"KM",2,",",".",[3],0,0,"%","‰","+beskonačnost","+","NaN","-beskonačnost","-"),new i.DateTimeFormatInfo("d.M.yyyy",".","d. MMMM yyyy",["nedelja","ponedeljak","utorak","sreda","četvrtak","petak","subota"],["januar","februar","mart","april","maj","jun","jul","avgust","septembar","oktobar","novembar","decembar",""],["ne","po","ut","sr","če","pe","su"],["jan","feb","mar","apr","maj","jun","jul","avg","sep","okt","nov","dec",""],["januar","februar","mart","april","maj","jun","jul","avgust","septembar","oktobar","novembar","decembar",""],":","","","d. MMMM yyyy H:mm:ss","H:mm","H:mm:ss","MMMM yyyy")),this._cultures["sma-NO"]=new a("sma-NO",new i.NumberFormatInfo(",",2," ",[3],1,2,","," ",[3],12,2,"kr",2,","," ",[3],2,2,"%","‰","Infinity","+","NaN","-Infinity","-"),new i.DateTimeFormatInfo("dd.MM.yyyy",".","MMMM d[. b. ]yyyy",["aejlege","måanta","dæjsta","gaskevåhkoe","duarsta","bearjadahke","laavvardahke"],["tsïengele","goevte","njoktje","voerhtje","suehpede","ruffie","snjaltje","mïetske","skïerede","golke","rahka","goeve",""],["a","m","d","g","d","b","l"],["tsïen","goevt","njok","voer","sueh","ruff","snja","mïet","skïer","golk","rahk","goev",""],["tsïengelen","goevten","njoktjen","voerhtjen","suehpeden","ruffien","snjaltjen","mïetsken","skïereden","golken","rahkan","goeven",""],":","","","MMMM d[. b. ]yyyy HH:mm:ss","HH:mm","HH:mm:ss","MMMM yyyy")),this._cultures["ar-TN"]=new a("ar-TN",new i.NumberFormatInfo(".",3,",",[3],3,3,".",",",[3],3,2,"د.ت.",3,".",",",[3],0,0,"%","‰","+لا نهاية","+","ليس برقم","-لا نهاية","-"),new i.DateTimeFormatInfo("dd-MM-yyyy","-","dd MMMM, yyyy",["الأحد","الإثنين","الثلاثاء","الأربعاء","الخميس","الجمعة","السبت"],["جانفييه","فيفرييه","مارس","أفريل","مي","جوان","جوييه","أوت","سبتمبر","أكتوبر","نوفمبر","ديسمبر",""],["ح","ن","ث","ر","خ","ج","س"],["جانفييه","فيفرييه","مارس","أفريل","مي","جوان","جوييه","أوت","سبتمبر","أكتوبر","نوفمبر","ديسمبر",""],["جانفييه","فيفرييه","مارس","أفريل","مي","جوان","جوييه","أوت","سبتمبر","أكتوبر","نوفمبر","ديسمبر",""],":","ص","م","dd MMMM, yyyy H:mm:ss","H:mm","H:mm:ss","MMMM, yyyy")),this._cultures["en-ZA"]=new a("en-ZA",new i.NumberFormatInfo(".",2," ",[3],1,2,","," ",[3],2,2,"R",2,"."," ",[3],1,1,"%","‰","Infinity","+","NaN","-Infinity","-"),new i.DateTimeFormatInfo("yyyy/MM/dd","/","dd MMMM yyyy",["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],["January","February","March","April","May","June","July","August","September","October","November","December",""],["Su","Mo","Tu","We","Th","Fr","Sa"],["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec",""],["January","February","March","April","May","June","July","August","September","October","November","December",""],":","AM","PM","dd MMMM yyyy hh:mm:ss tt","hh:mm tt","hh:mm:ss tt","MMMM yyyy")),this._cultures["es-DO"]=new a("es-DO",new i.NumberFormatInfo(".",2,",",[3],1,2,".",",",[3],0,0,"RD$",2,".",",",[3],0,0,"%","‰","Infinito","+","NeuN","-Infinito","-"),new i.DateTimeFormatInfo("dd/MM/yyyy","/","dddd, dd[ de ]MMMM[ de ]yyyy",["domingo","lunes","martes","miércoles","jueves","viernes","sábado"],["enero","febrero","marzo","abril","mayo","junio","julio","agosto","septiembre","octubre","noviembre","diciembre",""],["do","lu","ma","mi","ju","vi","sá"],["ene","feb","mar","abr","may","jun","jul","ago","sep","oct","nov","dic",""],["enero","febrero","marzo","abril","mayo","junio","julio","agosto","septiembre","octubre","noviembre","diciembre",""],":","a.m.","p.m.","dddd, dd[ de ]MMMM[ de ]yyyy hh:mm:ss tt","hh:mm tt","hh:mm:ss tt","MMMM[ de ]yyyy")),this._cultures["sr-Cyrl-BA"]=new a("sr-Cyrl-BA",new i.NumberFormatInfo(",",2,".",[3],1,2,",",".",[3],8,3,"КМ",2,",",".",[3],0,0,"%","‰","+бесконачност","+","NaN","-бесконачност","-"),new i.DateTimeFormatInfo("d.M.yyyy",".","d. MMMM yyyy",["недеља","понедељак","уторак","среда","четвртак","петак","субота"],["јануар","фебруар","март","април","мај","јун","јул","август","септембар","октобар","новембар","децембар",""],["н","п","у","с","ч","п","с"],["јан","феб","мар","апр","мај","јун","јул","авг","сеп","окт","нов","дец",""],["јануар","фебруар","март","април","мај","јун","јул","август","септембар","октобар","новембар","децембар",""],":","","","d. MMMM yyyy H:mm:ss","H:mm","H:mm:ss","MMMM, yyyy")),this._cultures["sma-SE"]=new a("sma-SE",new i.NumberFormatInfo(",",2," ",[3],1,2,",",".",[3],8,3,"kr",2,","," ",[3],0,0,"%","‰","Infinity","+","NaN","-Infinity","-"),new i.DateTimeFormatInfo("yyyy-MM-dd","-","MMMM d[. b. ]yyyy",["aejlege","måanta","dæjsta","gaskevåhkoe","duarsta","bearjadahke","laavvardahke"],["tsïengele","goevte","njoktje","voerhtje","suehpede","ruffie","snjaltje","mïetske","skïerede","golke","rahka","goeve",""],["a","m","d","g","d","b","l"],["tsïen","goevt","njok","voer","sueh","ruff","snja","mïet","skïer","golk","rahk","goev",""],["tsïengelen","goevten","njoktjen","voerhtjen","suehpeden","ruffien","snjaltjen","mïetsken","skïereden","golken","rahkan","goeven",""],":","","","MMMM d[. b. ]yyyy HH:mm:ss","HH:mm","HH:mm:ss","MMMM yyyy")),this._cultures["ar-OM"]=new a("ar-OM",new i.NumberFormatInfo(".",2,",",[3],3,3,".",",",[3],3,2,"ر.ع.",2,".",",",[3],0,0,"%","‰","+لا نهاية","+","ليس برقم","-لا نهاية","-"),new i.DateTimeFormatInfo("dd/MM/yyyy","/","dd MMMM, yyyy",["الأحد","الإثنين","الثلاثاء","الأربعاء","الخميس","الجمعة","السبت"],["يناير","فبراير","مارس","أبريل","مايو","يونيو","يوليو","أغسطس","سبتمبر","أكتوبر","نوفمبر","ديسمبر",""],["ح","ن","ث","ر","خ","ج","س"],["يناير","فبراير","مارس","أبريل","مايو","يونيو","يوليو","أغسطس","سبتمبر","أكتوبر","نوفمبر","ديسمبر",""],["يناير","فبراير","مارس","أبريل","مايو","يونيو","يوليو","أغسطس","سبتمبر","أكتوبر","نوفمبر","ديسمبر",""],":","ص","م","dd MMMM, yyyy hh:mm:ss tt","hh:mm tt","hh:mm:ss tt","MMMM, yyyy")),this._cultures["en-JM"]=new a("en-JM",new i.NumberFormatInfo(".",2,",",[3],1,2,".",",",[3],1,0,"J$",2,".",",",[3],0,0,"%","‰","Infinity","+","NaN","-Infinity","-"),new i.DateTimeFormatInfo("dd/MM/yyyy","/","dddd, MMMM dd, yyyy",["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],["January","February","March","April","May","June","July","August","September","October","November","December",""],["Su","Mo","Tu","We","Th","Fr","Sa"],["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec",""],["January","February","March","April","May","June","July","August","September","October","November","December",""],":","AM","PM","dddd, MMMM dd, yyyy hh:mm:ss tt","hh:mm tt","hh:mm:ss tt","MMMM, yyyy")),this._cultures["es-VE"]=new a("es-VE",new i.NumberFormatInfo(",",2,".",[3],1,2,",",".",[3],12,2,"Bs. F.",2,",",".",[3],0,0,"%","‰","Infinito","+","NeuN","-Infinito","-"),new i.DateTimeFormatInfo("dd/MM/yyyy","/","dddd, dd[ de ]MMMM[ de ]yyyy",["domingo","lunes","martes","miércoles","jueves","viernes","sábado"],["enero","febrero","marzo","abril","mayo","junio","julio","agosto","septiembre","octubre","noviembre","diciembre",""],["do","lu","ma","mi","ju","vi","sá"],["ene","feb","mar","abr","may","jun","jul","ago","sep","oct","nov","dic",""],["enero","febrero","marzo","abril","mayo","junio","julio","agosto","septiembre","octubre","noviembre","diciembre",""],":","a.m.","p.m.","dddd, dd[ de ]MMMM[ de ]yyyy hh:mm:ss tt","hh:mm tt","hh:mm:ss tt","MMMM[ de ]yyyy")),this._cultures["bs-Cyrl-BA"]=new a("bs-Cyrl-BA",new i.NumberFormatInfo(",",2,".",[3],1,2,",",".",[3],8,3,"КМ",2,",",".",[3],0,0,"%","‰","+бесконачност","+","NaN","-бесконачност","-"),new i.DateTimeFormatInfo("d.M.yyyy",".","d. MMMM yyyy",["недјеља","понедјељак","уторак","сриједа","четвртак","петак","субота"],["јануар","фебруар","март","април","мај","јун","јул","август","септембар","октобар","новембар","децембар",""],["н","п","у","с","ч","п","с"],["јан","феб","мар","апр","мај","јун","јул","авг","сеп","окт","нов","дец",""],["јануар","фебруар","март","април","мај","јун","јул","август","септембар","октобар","новембар","децембар",""],":","","","d. MMMM yyyy H:mm:ss","H:mm","H:mm:ss","MMMM, yyyy")),this._cultures["sms-FI"]=new a("sms-FI",new i.NumberFormatInfo(",",2," ",[3],1,2,","," ",[3],8,3,"€",2,","," ",[3],0,0,"%","‰","Infinity","+","NaN","-Infinity","-"),new i.DateTimeFormatInfo("d.M.yyyy",".","MMMM d[. p. ]yyyy",["pâ´sspei´vv","vuõssargg","mââibargg","seärad","nelljdpei´vv","piâtnâc","sue´vet"],["ođđee´jjmään","tä´lvvmään","pâ´zzlâšttammään","njuhččmään","vue´ssmään","ǩie´ssmään","suei´nnmään","på´rǧǧmään","čõhččmään","kålggmään","skamm´mään","rosttovmään",""],["p","v","m","s","n","p","s"],["ođjm","tä´lvv","pâzl","njuh","vue","ǩie","suei","på´r","čõh","kålg","ska","rost",""],["ođđee´jjmannu","tä´lvvmannu","pâ´zzlâšttammannu","njuhččmannu","vue´ssmannu","ǩie´ssmannu","suei´nnmannu","på´rǧǧmannu","čõhččmannu","kålggmannu","skamm´mannu","rosttovmannu",""],":","","","MMMM d[. p. ]yyyy H:mm:ss","H:mm","H:mm:ss","MMMM yyyy")),this._cultures["ar-YE"]=new a("ar-YE",new i.NumberFormatInfo(".",2,",",[3],3,2,".",",",[3],3,2,"ر.ي.",2,".",",",[3],0,0,"%","‰","+لا نهاية","+","ليس برقم","-لا نهاية","-"),new i.DateTimeFormatInfo("dd/MM/yyyy","/","dd MMMM, yyyy",["الأحد","الإثنين","الثلاثاء","الأربعاء","الخميس","الجمعة","السبت"],["يناير","فبراير","مارس","أبريل","مايو","يونيو","يوليو","أغسطس","سبتمبر","أكتوبر","نوفمبر","ديسمبر",""],["ح","ن","ث","ر","خ","ج","س"],["يناير","فبراير","مارس","أبريل","مايو","يونيو","يوليو","أغسطس","سبتمبر","أكتوبر","نوفمبر","ديسمبر",""],["يناير","فبراير","مارس","أبريل","مايو","يونيو","يوليو","أغسطس","سبتمبر","أكتوبر","نوفمبر","ديسمبر",""],":","ص","م","dd MMMM, yyyy hh:mm:ss tt","hh:mm tt","hh:mm:ss tt","MMMM, yyyy")),this._cultures["en-029"]=new a("en-029",new i.NumberFormatInfo(".",2,",",[3],1,2,".",",",[3],1,0,"$",2,".",",",[3],0,0,"%","‰","Infinity","+","NaN","-Infinity","-"),new i.DateTimeFormatInfo("MM/dd/yyyy","/","dddd, MMMM dd, yyyy",["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],["January","February","March","April","May","June","July","August","September","October","November","December",""],["Su","Mo","Tu","We","Th","Fr","Sa"],["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec",""],["January","February","March","April","May","June","July","August","September","October","November","December",""],":","AM","PM","dddd, MMMM dd, yyyy h:mm:ss tt","h:mm tt","h:mm:ss tt","MMMM, yyyy")),this._cultures["es-CO"]=new a("es-CO",new i.NumberFormatInfo(",",2,".",[3],1,2,",",".",[3],14,2,"$",2,",",".",[3],0,0,"%","‰","Infinito","+","NeuN","-Infinito","-"),new i.DateTimeFormatInfo("dd/MM/yyyy","/","dddd, dd[ de ]MMMM[ de ]yyyy",["domingo","lunes","martes","miércoles","jueves","viernes","sábado"],["enero","febrero","marzo","abril","mayo","junio","julio","agosto","septiembre","octubre","noviembre","diciembre",""],["do","lu","ma","mi","ju","vi","sá"],["ene","feb","mar","abr","may","jun","jul","ago","sep","oct","nov","dic",""],["enero","febrero","marzo","abril","mayo","junio","julio","agosto","septiembre","octubre","noviembre","diciembre",""],":","a.m.","p.m.","dddd, dd[ de ]MMMM[ de ]yyyy hh:mm:ss tt","hh:mm tt","hh:mm:ss tt","MMMM[ de ]yyyy")),this._cultures["sr-Latn-RS"]=new a("sr-Latn-RS",new i.NumberFormatInfo(",",2,".",[3],1,2,",",".",[3],8,3,"Din.",2,",",".",[3],1,1,"%","‰","+beskonačnost","+","NaN","-beskonačnost","-"),new i.DateTimeFormatInfo("d.M.yyyy",".","d. MMMM yyyy",["nedelja","ponedeljak","utorak","sreda","četvrtak","petak","subota"],["januar","februar","mart","april","maj","jun","jul","avgust","septembar","oktobar","novembar","decembar",""],["ne","po","ut","sr","če","pe","su"],["jan","feb","mar","apr","maj","jun","jul","avg","sep","okt","nov","dec",""],["januar","februar","mart","april","maj","jun","jul","avgust","septembar","oktobar","novembar","decembar",""],":","","","d. MMMM yyyy H:mm:ss","H:mm","H:mm:ss","MMMM yyyy")),this._cultures["smn-FI"]=new a("smn-FI",new i.NumberFormatInfo(",",2," ",[3],1,2,","," ",[3],8,3,"€",2,","," ",[3],0,0,"%","‰","Infinity","+","NaN","-Infinity","-"),new i.DateTimeFormatInfo("d.M.yyyy",".","MMMM d[. p. ]yyyy",["pasepeivi","vuossargâ","majebargâ","koskokko","tuorâstâh","vástuppeivi","lávárdâh"],["uđđâivemáánu","kuovâmáánu","njuhčâmáánu","cuáŋuimáánu","vyesimáánu","kesimáánu","syeinimáánu","porgemáánu","čohčâmáánu","roovvâdmáánu","skammâmáánu","juovlâmáánu",""],["p","v","m","k","t","v","l"],["uđiv","kuov","njuh","cuoŋ","vyes","kesi","syei","porg","čoh","roov","ska","juov",""],["uđđâivemáánu","kuovâmáánu","njuhčâmáánu","cuáŋuimáánu","vyesimáánu","kesimáánu","syeinimáánu","porgemáánu","čohčâmáánu","roovvâdmáánu","skammâmáánu","juovlâmáánu",""],":","","","MMMM d[. p. ]yyyy H:mm:ss","H:mm","H:mm:ss","MMMM yyyy")),this._cultures["ar-SY"]=new a("ar-SY",new i.NumberFormatInfo(".",2,",",[3],3,2,".",",",[3],3,2,"ل.س.",2,".",",",[3],0,0,"%","‰","+لا نهاية","+","ليس برقم","-لا نهاية","-"),new i.DateTimeFormatInfo("dd/MM/yyyy","/","dd MMMM, yyyy",["الأحد","الإثنين","الثلاثاء","الأربعاء","الخميس","الجمعة","السبت"],["كانون الثاني","شباط","آذار","نيسان","أيار","حزيران","تموز","آب","أيلول","تشرين الأول","تشرين الثاني","كانون الأول",""],["ح","ن","ث","ر","خ","ج","س"],["كانون الثاني","شباط","آذار","نيسان","أيار","حزيران","تموز","آب","أيلول","تشرين الأول","تشرين الثاني","كانون الأول",""],["كانون الثاني","شباط","آذار","نيسان","أيار","حزيران","تموز","آب","أيلول","تشرين الأول","تشرين الثاني","كانون الأول",""],":","ص","م","dd MMMM, yyyy hh:mm:ss tt","hh:mm tt","hh:mm:ss tt","MMMM, yyyy")),this._cultures["en-BZ"]=new a("en-BZ",new i.NumberFormatInfo(".",2,",",[3],1,2,".",",",[3,0],0,0,"BZ$",2,".",",",[3],0,0,"%","‰","Infinity","+","NaN","-Infinity","-"),new i.DateTimeFormatInfo("dd/MM/yyyy","/","dddd, dd MMMM yyyy",["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],["January","February","March","April","May","June","July","August","September","October","November","December",""],["Su","Mo","Tu","We","Th","Fr","Sa"],["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec",""],["January","February","March","April","May","June","July","August","September","October","November","December",""],":","AM","PM","dddd, dd MMMM yyyy hh:mm:ss tt","hh:mm tt","hh:mm:ss tt","MMMM yyyy")),this._cultures["es-PE"]=new a("es-PE",new i.NumberFormatInfo(".",2,",",[3],1,2,".",",",[3],12,2,"S/.",2,".",",",[3],0,0,"%","‰","Infinito","+","NeuN","-Infinito","-"),new i.DateTimeFormatInfo("dd/MM/yyyy","/","dddd, dd[ de ]MMMM[ de ]yyyy",["domingo","lunes","martes","miércoles","jueves","viernes","sábado"],["enero","febrero","marzo","abril","mayo","junio","julio","agosto","septiembre","octubre","noviembre","diciembre",""],["do","lu","ma","mi","ju","vi","sá"],["ene","feb","mar","abr","may","jun","jul","ago","sep","oct","nov","dic",""],["enero","febrero","marzo","abril","mayo","junio","julio","agosto","septiembre","octubre","noviembre","diciembre",""],":","a.m.","p.m.","dddd, dd[ de ]MMMM[ de ]yyyy hh:mm:ss tt","hh:mm tt","hh:mm:ss tt","MMMM[ de ]yyyy")),this._cultures["sr-Cyrl-RS"]=new a("sr-Cyrl-RS",new i.NumberFormatInfo(",",2,".",[3],1,2,",",".",[3],8,3,"Дин.",2,",",".",[3],1,1,"%","‰","+бесконачност","+","NaN","-бесконачност","-"),new i.DateTimeFormatInfo("d.M.yyyy",".","d. MMMM yyyy",["недеља","понедељак","уторак","среда","четвртак","петак","субота"],["јануар","фебруар","март","април","мај","јун","јул","август","септембар","октобар","новембар","децембар",""],["не","по","ут","ср","че","пе","су"],["јан","феб","мар","апр","мај","јун","јул","авг","сеп","окт","нов","дец",""],["јануар","фебруар","март","април","мај","јун","јул","август","септембар","октобар","новембар","децембар",""],":","","","d. MMMM yyyy H:mm:ss","H:mm","H:mm:ss","MMMM yyyy")),this._cultures["ar-JO"]=new a("ar-JO",new i.NumberFormatInfo(".",3,",",[3],3,3,".",",",[3],3,2,"د.ا.",3,".",",",[3],0,0,"%","‰","+لا نهاية","+","ليس برقم","-لا نهاية","-"),new i.DateTimeFormatInfo("dd/MM/yyyy","/","dd MMMM, yyyy",["الأحد","الإثنين","الثلاثاء","الأربعاء","الخميس","الجمعة","السبت"],["كانون الثاني","شباط","آذار","نيسان","أيار","حزيران","تموز","آب","أيلول","تشرين الأول","تشرين الثاني","كانون الأول",""],["ح","ن","ث","ر","خ","ج","س"],["كانون الثاني","شباط","آذار","نيسان","أيار","حزيران","تموز","آب","أيلول","تشرين الأول","تشرين الثاني","كانون الأول",""],["كانون الثاني","شباط","آذار","نيسان","أيار","حزيران","تموز","آب","أيلول","تشرين الأول","تشرين الثاني","كانون الأول",""],":","ص","م","dd MMMM, yyyy hh:mm:ss tt","hh:mm tt","hh:mm:ss tt","MMMM, yyyy")),this._cultures["en-TT"]=new a("en-TT",new i.NumberFormatInfo(".",2,",",[3],1,2,".",",",[3,0],0,0,"TT$",2,".",",",[3],0,0,"%","‰","Infinity","+","NaN","-Infinity","-"),new i.DateTimeFormatInfo("dd/MM/yyyy","/","dddd, dd MMMM yyyy",["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],["January","February","March","April","May","June","July","August","September","October","November","December",""],["Su","Mo","Tu","We","Th","Fr","Sa"],["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec",""],["January","February","March","April","May","June","July","August","September","October","November","December",""],":","AM","PM","dddd, dd MMMM yyyy hh:mm:ss tt","hh:mm tt","hh:mm:ss tt","MMMM yyyy")),this._cultures["es-AR"]=new a("es-AR",new i.NumberFormatInfo(",",2,".",[3],1,2,",",".",[3],2,2,"$",2,",",".",[3],0,0,"%","‰","Infinito","+","NeuN","-Infinito","-"),new i.DateTimeFormatInfo("dd/MM/yyyy","/","dddd, dd[ de ]MMMM[ de ]yyyy",["domingo","lunes","martes","miércoles","jueves","viernes","sábado"],["enero","febrero","marzo","abril","mayo","junio","julio","agosto","septiembre","octubre","noviembre","diciembre",""],["do","lu","ma","mi","ju","vi","sá"],["ene","feb","mar","abr","may","jun","jul","ago","sep","oct","nov","dic",""],["enero","febrero","marzo","abril","mayo","junio","julio","agosto","septiembre","octubre","noviembre","diciembre",""],":","a.m.","p.m.","dddd, dd[ de ]MMMM[ de ]yyyy hh:mm:ss tt","hh:mm tt","hh:mm:ss tt","MMMM[ de ]yyyy")),this._cultures["sr-Latn-ME"]=new a("sr-Latn-ME",new i.NumberFormatInfo(",",2,".",[3],1,2,",",".",[3],8,3,"€",2,",",".",[3],1,1,"%","‰","+beskonačnost","+","NaN","-beskonačnost","-"),new i.DateTimeFormatInfo("d.M.yyyy",".","d. MMMM yyyy",["nedelja","ponedeljak","utorak","sreda","četvrtak","petak","subota"],["januar","februar","mart","april","maj","jun","jul","avgust","septembar","oktobar","novembar","decembar",""],["ne","po","ut","sr","če","pe","su"],["jan","feb","mar","apr","maj","jun","jul","avg","sep","okt","nov","dec",""],["januar","februar","mart","april","maj","jun","jul","avgust","septembar","oktobar","novembar","decembar",""],":","","","d. MMMM yyyy H:mm:ss","H:mm","H:mm:ss","MMMM yyyy")),this._cultures["ar-LB"]=new a("ar-LB",new i.NumberFormatInfo(".",2,",",[3],3,2,".",",",[3],3,2,"ل.ل.",2,".",",",[3],0,0,"%","‰","+لا نهاية","+","ليس برقم","-لا نهاية","-"),new i.DateTimeFormatInfo("dd/MM/yyyy","/","dd MMMM, yyyy",["الأحد","الإثنين","الثلاثاء","الأربعاء","الخميس","الجمعة","السبت"],["كانون الثاني","شباط","آذار","نيسان","أيار","حزيران","تموز","آب","أيلول","تشرين الأول","تشرين الثاني","كانون الأول",""],["ح","ن","ث","ر","خ","ج","س"],["كانون الثاني","شباط","آذار","نيسان","أيار","حزيران","تموز","آب","أيلول","تشرين الأول","تشرين الثاني","كانون الأول",""],["كانون الثاني","شباط","آذار","نيسان","أيار","حزيران","تموز","آب","أيلول","تشرين الأول","تشرين الثاني","كانون الأول",""],":","ص","م","dd MMMM, yyyy hh:mm:ss tt","hh:mm tt","hh:mm:ss tt","MMMM, yyyy")),this._cultures["en-ZW"]=new a("en-ZW",new i.NumberFormatInfo(".",2,",",[3],1,2,".",",",[3],0,0,"Z$",2,".",",",[3],0,0,"%","‰","Infinity","+","NaN","-Infinity","-"),new i.DateTimeFormatInfo("M/d/yyyy","/","dddd, MMMM dd, yyyy",["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],["January","February","March","April","May","June","July","August","September","October","November","December",""],["Su","Mo","Tu","We","Th","Fr","Sa"],["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec",""],["January","February","March","April","May","June","July","August","September","October","November","December",""],":","AM","PM","dddd, MMMM dd, yyyy h:mm:ss tt","h:mm tt","h:mm:ss tt","MMMM, yyyy")),this._cultures["es-EC"]=new a("es-EC",new i.NumberFormatInfo(",",2,".",[3],1,2,",",".",[3],14,2,"$",2,",",".",[3],0,0,"%","‰","Infinito","+","NeuN","-Infinito","-"),new i.DateTimeFormatInfo("dd/MM/yyyy","/","dddd, dd[ de ]MMMM[ de ]yyyy",["domingo","lunes","martes","miércoles","jueves","viernes","sábado"],["enero","febrero","marzo","abril","mayo","junio","julio","agosto","septiembre","octubre","noviembre","diciembre",""],["do","lu","ma","mi","ju","vi","sá"],["ene","feb","mar","abr","may","jun","jul","ago","sep","oct","nov","dic",""],["enero","febrero","marzo","abril","mayo","junio","julio","agosto","septiembre","octubre","noviembre","diciembre",""],":","","","dddd, dd[ de ]MMMM[ de ]yyyy H:mm:ss","H:mm","H:mm:ss","MMMM[ de ]yyyy")),this._cultures["sr-Cyrl-ME"]=new a("sr-Cyrl-ME",new i.NumberFormatInfo(",",2,".",[3],1,2,",",".",[3],8,3,"€",2,",",".",[3],1,1,"%","‰","+бесконачност","+","NaN","-бесконачност","-"),new i.DateTimeFormatInfo("d.M.yyyy",".","d. MMMM yyyy",["недеља","понедељак","уторак","среда","четвртак","петак","субота"],["јануар","фебруар","март","април","мај","јун","јул","август","септембар","октобар","новембар","децембар",""],["не","по","ут","ср","че","пе","су"],["јан","феб","мар","апр","мај","јун","јул","авг","сеп","окт","нов","дец",""],["јануар","фебруар","март","април","мај","јун","јул","август","септембар","октобар","новембар","децембар",""],":","","","d. MMMM yyyy H:mm:ss","H:mm","H:mm:ss","MMMM yyyy")),this._cultures["ar-KW"]=new a("ar-KW",new i.NumberFormatInfo(".",3,",",[3],3,3,".",",",[3],3,2,"د.ك.",3,".",",",[3],0,0,"%","‰","+لا نهاية","+","ليس برقم","-لا نهاية","-"),new i.DateTimeFormatInfo("dd/MM/yyyy","/","dd MMMM, yyyy",["الأحد","الإثنين","الثلاثاء","الأربعاء","الخميس","الجمعة","السبت"],["يناير","فبراير","مارس","أبريل","مايو","يونيو","يوليو","أغسطس","سبتمبر","أكتوبر","نوفمبر","ديسمبر",""],["ح","ن","ث","ر","خ","ج","س"],["يناير","فبراير","مارس","أبريل","مايو","يونيو","يوليو","أغسطس","سبتمبر","أكتوبر","نوفمبر","ديسمبر",""],["يناير","فبراير","مارس","أبريل","مايو","يونيو","يوليو","أغسطس","سبتمبر","أكتوبر","نوفمبر","ديسمبر",""],":","ص","م","dd MMMM, yyyy hh:mm:ss tt","hh:mm tt","hh:mm:ss tt","MMMM, yyyy")),this._cultures["en-PH"]=new a("en-PH",new i.NumberFormatInfo(".",2,",",[3],1,2,".",",",[3],0,0,"Php",2,".",",",[3],0,0,"%","‰","Infinity","+","NaN","-Infinity","-"),new i.DateTimeFormatInfo("M/d/yyyy","/","dddd, MMMM dd, yyyy",["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],["January","February","March","April","May","June","July","August","September","October","November","December",""],["Su","Mo","Tu","We","Th","Fr","Sa"],["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec",""],["January","February","March","April","May","June","July","August","September","October","November","December",""],":","AM","PM","dddd, MMMM dd, yyyy h:mm:ss tt","h:mm tt","h:mm:ss tt","MMMM, yyyy")),this._cultures["es-CL"]=new a("es-CL",new i.NumberFormatInfo(",",2,".",[3],1,2,",",".",[3],9,2,"$",2,",",".",[3],0,0,"%","‰","Infinito","+","NeuN","-Infinito","-"),new i.DateTimeFormatInfo("dd-MM-yyyy","-","dddd, dd[ de ]MMMM[ de ]yyyy",["domingo","lunes","martes","miércoles","jueves","viernes","sábado"],["enero","febrero","marzo","abril","mayo","junio","julio","agosto","septiembre","octubre","noviembre","diciembre",""],["do","lu","ma","mi","ju","vi","sá"],["ene","feb","mar","abr","may","jun","jul","ago","sep","oct","nov","dic",""],["enero","febrero","marzo","abril","mayo","junio","julio","agosto","septiembre","octubre","noviembre","diciembre",""],":","","","dddd, dd[ de ]MMMM[ de ]yyyy H:mm:ss","H:mm","H:mm:ss","MMMM[ de ]yyyy")),this._cultures["ar-AE"]=new a("ar-AE",new i.NumberFormatInfo(".",2,",",[3],3,2,".",",",[3],3,2,"د.إ.",2,".",",",[3],0,0,"%","‰","+لا نهاية","+","ليس برقم","-لا نهاية","-"),new i.DateTimeFormatInfo("dd/MM/yyyy","/","dd MMMM, yyyy",["الأحد","الإثنين","الثلاثاء","الأربعاء","الخميس","الجمعة","السبت"],["يناير","فبراير","مارس","أبريل","مايو","يونيو","يوليو","أغسطس","سبتمبر","أكتوبر","نوفمبر","ديسمبر",""],["ح","ن","ث","ر","خ","ج","س"],["يناير","فبراير","مارس","أبريل","مايو","يونيو","يوليو","أغسطس","سبتمبر","أكتوبر","نوفمبر","ديسمبر",""],["يناير","فبراير","مارس","أبريل","مايو","يونيو","يوليو","أغسطس","سبتمبر","أكتوبر","نوفمبر","ديسمبر",""],":","ص","م","dd MMMM, yyyy hh:mm:ss tt","hh:mm tt","hh:mm:ss tt","MMMM, yyyy")),this._cultures["es-UY"]=new a("es-UY",new i.NumberFormatInfo(",",2,".",[3],1,2,",",".",[3],14,2,"$U",2,",",".",[3],0,0,"%","‰","Infinito","+","NeuN","-Infinito","-"),new i.DateTimeFormatInfo("dd/MM/yyyy","/","dddd, dd[ de ]MMMM[ de ]yyyy",["domingo","lunes","martes","miércoles","jueves","viernes","sábado"],["enero","febrero","marzo","abril","mayo","junio","julio","agosto","septiembre","octubre","noviembre","diciembre",""],["do","lu","ma","mi","ju","vi","sá"],["ene","feb","mar","abr","may","jun","jul","ago","sep","oct","nov","dic",""],["enero","febrero","marzo","abril","mayo","junio","julio","agosto","septiembre","octubre","noviembre","diciembre",""],":","a.m.","p.m.","dddd, dd[ de ]MMMM[ de ]yyyy hh:mm:ss tt","hh:mm tt","hh:mm:ss tt","MMMM[ de ]yyyy")),this._cultures["ar-BH"]=new a("ar-BH",new i.NumberFormatInfo(".",3,",",[3],3,3,".",",",[3],3,2,"د.ب.",3,".",",",[3],0,0,"%","‰","+لا نهاية","+","ليس برقم","-لا نهاية","-"),new i.DateTimeFormatInfo("dd/MM/yyyy","/","dd MMMM, yyyy",["الأحد","الإثنين","الثلاثاء","الأربعاء","الخميس","الجمعة","السبت"],["يناير","فبراير","مارس","أبريل","مايو","يونيو","يوليو","أغسطس","سبتمبر","أكتوبر","نوفمبر","ديسمبر",""],["ح","ن","ث","ر","خ","ج","س"],["يناير","فبراير","مارس","ابريل","مايو","يونيو","يوليو","اغسطس","سبتمبر","اكتوبر","نوفمبر","ديسمبر",""],["يناير","فبراير","مارس","أبريل","مايو","يونيو","يوليو","أغسطس","سبتمبر","أكتوبر","نوفمبر","ديسمبر",""],":","ص","م","dd MMMM, yyyy hh:mm:ss tt","hh:mm tt","hh:mm:ss tt","MMMM, yyyy")),this._cultures["es-PY"]=new a("es-PY",new i.NumberFormatInfo(",",2,".",[3],1,2,",",".",[3],14,2,"Gs",2,",",".",[3],0,0,"%","‰","Infinito","+","NeuN","-Infinito","-"),new i.DateTimeFormatInfo("dd/MM/yyyy","/","dddd, dd[ de ]MMMM[ de ]yyyy",["domingo","lunes","martes","miércoles","jueves","viernes","sábado"],["enero","febrero","marzo","abril","mayo","junio","julio","agosto","septiembre","octubre","noviembre","diciembre",""],["do","lu","ma","mi","ju","vi","sá"],["ene","feb","mar","abr","may","jun","jul","ago","sep","oct","nov","dic",""],["enero","febrero","marzo","abril","mayo","junio","julio","agosto","septiembre","octubre","noviembre","diciembre",""],":","a.m.","p.m.","dddd, dd[ de ]MMMM[ de ]yyyy hh:mm:ss tt","hh:mm tt","hh:mm:ss tt","MMMM[ de ]yyyy")),this._cultures["ar-QA"]=new a("ar-QA",new i.NumberFormatInfo(".",2,",",[3],3,2,".",",",[3],3,2,"ر.ق.",2,".",",",[3],0,0,"%","‰","+لا نهاية","+","ليس برقم","-لا نهاية","-"),new i.DateTimeFormatInfo("dd/MM/yyyy","/","dd MMMM, yyyy",["الأحد","الإثنين","الثلاثاء","الأربعاء","الخميس","الجمعة","السبت"],["يناير","فبراير","مارس","أبريل","مايو","يونيو","يوليو","أغسطس","سبتمبر","أكتوبر","نوفمبر","ديسمبر",""],["ح","ن","ث","ر","خ","ج","س"],["يناير","فبراير","مارس","أبريل","مايو","يونيو","يوليو","أغسطس","سبتمبر","أكتوبر","نوفمبر","ديسمبر",""],["يناير","فبراير","مارس","أبريل","مايو","يونيو","يوليو","أغسطس","سبتمبر","أكتوبر","نوفمبر","ديسمبر",""],":","ص","م","dd MMMM, yyyy hh:mm:ss tt","hh:mm tt","hh:mm:ss tt","MMMM, yyyy")),this._cultures["en-IN"]=new a("en-IN",new i.NumberFormatInfo(".",2,",",[3,2],1,2,".",",",[3,2],12,2,"₹",2,".",",",[3,2],0,0,"%","‰","Infinity","+","NaN","-Infinity","-"),new i.DateTimeFormatInfo("dd-MM-yyyy","-","dd MMMM yyyy",["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],["January","February","March","April","May","June","July","August","September","October","November","December",""],["Su","Mo","Tu","We","Th","Fr","Sa"],["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec",""],["January","February","March","April","May","June","July","August","September","October","November","December",""],":","AM","PM","dd MMMM yyyy HH:mm:ss","HH:mm","HH:mm:ss","MMMM, yyyy")),this._cultures["es-BO"]=new a("es-BO",new i.NumberFormatInfo(",",2,".",[3],1,2,",",".",[3],14,2,"$b",2,",",".",[3],0,0,"%","‰","Infinito","+","NeuN","-Infinito","-"),new i.DateTimeFormatInfo("dd/MM/yyyy","/","dddd, dd[ de ]MMMM[ de ]yyyy",["domingo","lunes","martes","miércoles","jueves","viernes","sábado"],["enero","febrero","marzo","abril","mayo","junio","julio","agosto","septiembre","octubre","noviembre","diciembre",""],["do","lu","ma","mi","ju","vi","sá"],["ene","feb","mar","abr","may","jun","jul","ago","sep","oct","nov","dic",""],["enero","febrero","marzo","abril","mayo","junio","julio","agosto","septiembre","octubre","noviembre","diciembre",""],":","a.m.","p.m.","dddd, dd[ de ]MMMM[ de ]yyyy hh:mm:ss tt","hh:mm tt","hh:mm:ss tt","MMMM[ de ]yyyy")),this._cultures["en-MY"]=new a("en-MY",new i.NumberFormatInfo(".",2,",",[3],1,2,".",",",[3],0,0,"RM",2,".",",",[3],1,1,"%","‰","Infinity","+","NaN","-Infinity","-"),new i.DateTimeFormatInfo("d/M/yyyy","/","dddd, d MMMM, yyyy",["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],["January","February","March","April","May","June","July","August","September","October","November","December",""],["S","M","T","W","T","F","S"],["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec",""],["January","February","March","April","May","June","July","August","September","October","November","December",""],":","AM","PM","dddd, d MMMM, yyyy h:mm:ss tt","h:mm tt","h:mm:ss tt","MMMM, yyyy")),this._cultures["es-SV"]=new a("es-SV",new i.NumberFormatInfo(".",2,",",[3],1,2,".",",",[3,0],0,0,"$",2,".",",",[3],0,0,"%","‰","Infinito","+","NeuN","-Infinito","-"),new i.DateTimeFormatInfo("dd/MM/yyyy","/","dddd, dd[ de ]MMMM[ de ]yyyy",["domingo","lunes","martes","miércoles","jueves","viernes","sábado"],["enero","febrero","marzo","abril","mayo","junio","julio","agosto","septiembre","octubre","noviembre","diciembre",""],["do","lu","ma","mi","ju","vi","sá"],["ene","feb","mar","abr","may","jun","jul","ago","sep","oct","nov","dic",""],["enero","febrero","marzo","abril","mayo","junio","julio","agosto","septiembre","octubre","noviembre","diciembre",""],":","a.m.","p.m.","dddd, dd[ de ]MMMM[ de ]yyyy hh:mm:ss tt","hh:mm tt","hh:mm:ss tt","MMMM[ de ]yyyy")),this._cultures["en-SG"]=new a("en-SG",new i.NumberFormatInfo(".",2,",",[3],1,2,".",",",[3],0,0,"$",2,".",",",[3],1,1,"%","‰","Infinity","+","NaN","-Infinity","-"),new i.DateTimeFormatInfo("d/M/yyyy","/","dddd, d MMMM, yyyy",["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],["January","February","March","April","May","June","July","August","September","October","November","December",""],["S","M","T","W","T","F","S"],["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec",""],["January","February","March","April","May","June","July","August","September","October","November","December",""],":","AM","PM","dddd, d MMMM, yyyy h:mm:ss tt","h:mm tt","h:mm:ss tt","MMMM, yyyy")),this._cultures["es-HN"]=new a("es-HN",new i.NumberFormatInfo(".",2,",",[3],1,2,".",",",[3,0],12,2,"L.",2,".",",",[3],0,0,"%","‰","Infinito","+","NeuN","-Infinito","-"),new i.DateTimeFormatInfo("dd/MM/yyyy","/","dddd, dd[ de ]MMMM[ de ]yyyy",["domingo","lunes","martes","miércoles","jueves","viernes","sábado"],["enero","febrero","marzo","abril","mayo","junio","julio","agosto","septiembre","octubre","noviembre","diciembre",""],["do","lu","ma","mi","ju","vi","sá"],["ene","feb","mar","abr","may","jun","jul","ago","sep","oct","nov","dic",""],["enero","febrero","marzo","abril","mayo","junio","julio","agosto","septiembre","octubre","noviembre","diciembre",""],":","a.m.","p.m.","dddd, dd[ de ]MMMM[ de ]yyyy hh:mm:ss tt","hh:mm tt","hh:mm:ss tt","MMMM[ de ]yyyy")),this._cultures["es-NI"]=new a("es-NI",new i.NumberFormatInfo(".",2,",",[3],1,2,".",",",[3,0],14,2,"C$",2,".",",",[3],0,0,"%","‰","Infinito","+","NeuN","-Infinito","-"),new i.DateTimeFormatInfo("dd/MM/yyyy","/","dddd, dd[ de ]MMMM[ de ]yyyy",["domingo","lunes","martes","miércoles","jueves","viernes","sábado"],["enero","febrero","marzo","abril","mayo","junio","julio","agosto","septiembre","octubre","noviembre","diciembre",""],["do","lu","ma","mi","ju","vi","sá"],["ene","feb","mar","abr","may","jun","jul","ago","sep","oct","nov","dic",""],["enero","febrero","marzo","abril","mayo","junio","julio","agosto","septiembre","octubre","noviembre","diciembre",""],":","a.m.","p.m.","dddd, dd[ de ]MMMM[ de ]yyyy hh:mm:ss tt","hh:mm tt","hh:mm:ss tt","MMMM[ de ]yyyy")),this._cultures["es-PR"]=new a("es-PR",new i.NumberFormatInfo(".",2,",",[3],1,2,".",",",[3,0],14,2,"$",2,".",",",[3],0,0,"%","‰","Infinito","+","NeuN","-Infinito","-"),new i.DateTimeFormatInfo("dd/MM/yyyy","/","dddd, dd[ de ]MMMM[ de ]yyyy",["domingo","lunes","martes","miércoles","jueves","viernes","sábado"],["enero","febrero","marzo","abril","mayo","junio","julio","agosto","septiembre","octubre","noviembre","diciembre",""],["do","lu","ma","mi","ju","vi","sá"],["ene","feb","mar","abr","may","jun","jul","ago","sep","oct","nov","dic",""],["enero","febrero","marzo","abril","mayo","junio","julio","agosto","septiembre","octubre","noviembre","diciembre",""],":","a.m.","p.m.","dddd, dd[ de ]MMMM[ de ]yyyy hh:mm:ss tt","hh:mm tt","hh:mm:ss tt","MMMM[ de ]yyyy")),this._cultures["es-US"]=new a("es-US",new i.NumberFormatInfo(".",2,",",[3,0],1,2,".",",",[3],0,0,"$",2,".",",",[3,0],0,0,"%","‰","Infinito","+","NeuN","-Infinito","-"),new i.DateTimeFormatInfo("M/d/yyyy","/","dddd, MMMM dd, yyyy",["domingo","lunes","martes","miércoles","jueves","viernes","sábado"],["enero","febrero","marzo","abril","mayo","junio","julio","agosto","septiembre","octubre","noviembre","diciembre",""],["do","lu","ma","mi","ju","vi","sa"],["ene","feb","mar","abr","may","jun","jul","ago","sep","oct","nov","dic",""],["enero","febrero","marzo","abril","mayo","junio","julio","agosto","septiembre","octubre","noviembre","diciembre",""],":","AM","PM","dddd, MMMM dd, yyyy h:mm:ss tt","h:mm tt","h:mm:ss tt","MMMM[ de ]yyyy")),this._cultures["bs-Cyrl"]=new a("bs-Cyrl",new i.NumberFormatInfo(",",2,".",[3],1,2,",",".",[3],8,3,"КМ",2,",",".",[3],0,0,"%","‰","+бесконачност","+","NaN","-бесконачност","-"),new i.DateTimeFormatInfo("d.M.yyyy",".","d. MMMM yyyy",["недјеља","понедјељак","уторак","сриједа","четвртак","петак","субота"],["јануар","фебруар","март","април","мај","јун","јул","август","септембар","октобар","новембар","децембар",""],["н","п","у","с","ч","п","с"],["јан","феб","мар","апр","мај","јун","јул","авг","сеп","окт","нов","дец",""],["јануар","фебруар","март","април","мај","јун","јул","август","септембар","октобар","новембар","децембар",""],":","","","d. MMMM yyyy H:mm:ss","H:mm","H:mm:ss","MMMM, yyyy")),this._cultures["bs-Latn"]=new a("bs-Latn",new i.NumberFormatInfo(",",2,".",[3],1,2,",",".",[3],8,3,"KM",2,",",".",[3],0,0,"%","‰","Infinity","+","NaN","-Infinity","-"),new i.DateTimeFormatInfo("d.M.yyyy",".","d. MMMM yyyy",["nedjelja","ponedjeljak","utorak","srijeda","četvrtak","petak","subota"],["januar","februar","mart","april","maj","juni","juli","avgust","septembar","oktobar","novembar","decembar",""],["ne","po","ut","sr","če","pe","su"],["jan","feb","mar","apr","maj","jun","jul","avg","sep","okt","nov","dec",""],["januar","februar","mart","april","maj","juni","juli","avgust","septembar","oktobar","novembar","decembar",""],":","","","d. MMMM yyyy H:mm:ss","H:mm","H:mm:ss","MMMM yyyy")),this._cultures["sr-Cyrl"]=new a("sr-Cyrl",new i.NumberFormatInfo(",",2,".",[3],1,2,",",".",[3],8,3,"Дин.",2,",",".",[3],1,1,"%","‰","+бесконачност","+","NaN","-бесконачност","-"),new i.DateTimeFormatInfo("d.M.yyyy",".","d. MMMM yyyy",["недеља","понедељак","уторак","среда","четвртак","петак","субота"],["јануар","фебруар","март","април","мај","јун","јул","август","септембар","октобар","новембар","децембар",""],["не","по","ут","ср","че","пе","су"],["јан","феб","мар","апр","мај","јун","јул","авг","сеп","окт","нов","дец",""],["јануар","фебруар","март","април","мај","јун","јул","август","септембар","октобар","новембар","децембар",""],":","","","d. MMMM yyyy H:mm:ss","H:mm","H:mm:ss","MMMM yyyy")),this._cultures["sr-Latn"]=new a("sr-Latn",new i.NumberFormatInfo(",",2,".",[3],1,2,",",".",[3],8,3,"Din.",2,",",".",[3],1,1,"%","‰","+beskonačnost","+","NaN","-beskonačnost","-"),new i.DateTimeFormatInfo("d.M.yyyy",".","d. MMMM yyyy",["nedelja","ponedeljak","utorak","sreda","četvrtak","petak","subota"],["januar","februar","mart","april","maj","jun","jul","avgust","septembar","oktobar","novembar","decembar",""],["ne","po","ut","sr","če","pe","su"],["jan","feb","mar","apr","maj","jun","jul","avg","sep","okt","nov","dec",""],["januar","februar","mart","april","maj","jun","jul","avgust","septembar","oktobar","novembar","decembar",""],":","","","d. MMMM yyyy H:mm:ss","H:mm","H:mm:ss","MMMM yyyy")),this._cultures["smn"]=new a("smn",new i.NumberFormatInfo(",",2," ",[3],1,2,","," ",[3],8,3,"€",2,","," ",[3],0,0,"%","‰","Infinity","+","NaN","-Infinity","-"),new i.DateTimeFormatInfo("d.M.yyyy",".","MMMM d[. p. ]yyyy",["pasepeivi","vuossargâ","majebargâ","koskokko","tuorâstâh","vástuppeivi","lávárdâh"],["uđđâivemáánu","kuovâmáánu","njuhčâmáánu","cuáŋuimáánu","vyesimáánu","kesimáánu","syeinimáánu","porgemáánu","čohčâmáánu","roovvâdmáánu","skammâmáánu","juovlâmáánu",""],["p","v","m","k","t","v","l"],["uđiv","kuov","njuh","cuoŋ","vyes","kesi","syei","porg","čoh","roov","ska","juov",""],["uđđâivemáánu","kuovâmáánu","njuhčâmáánu","cuáŋuimáánu","vyesimáánu","kesimáánu","syeinimáánu","porgemáánu","čohčâmáánu","roovvâdmáánu","skammâmáánu","juovlâmáánu",""],":","","","MMMM d[. p. ]yyyy H:mm:ss","H:mm","H:mm:ss","MMMM yyyy")),this._cultures["az-Cyrl"]=new a("az-Cyrl",new i.NumberFormatInfo(",",2," ",[3],1,2,","," ",[3],8,3,"₼",2,","," ",[3],1,1,"%","‰","Infinity","+","NaN","-Infinity","-"),new i.DateTimeFormatInfo("dd.MM.yyyy",".","d MMMM yyyy",["Базар","Базар ертәси","Чәршәнбә ахшамы","Чәршәнбә","Ҹүмә ахшамы","Ҹүмә","Шәнбә"],["Јанвар","Феврал","Март","Апрел","Мај","Ијун","Ијул","Август","Сентјабр","Октјабр","Нојабр","Декабр",""],["Б","Бе","Ча","Ч","Ҹа","Ҹ","Ш"],["Јан","Фев","Мар","Апр","Мај","Ијун","Ијул","Авг","Сен","Окт","Ноя","Дек",""],["јанвар","феврал","март","апрел","мај","ијун","ијул","август","сентјабр","октјабр","нојабр","декабр",""],":","","","d MMMM yyyy H:mm:ss","H:mm","H:mm:ss","MMMM yyyy")),this._cultures["sms"]=new a("sms",new i.NumberFormatInfo(",",2," ",[3],1,2,","," ",[3],8,3,"€",2,","," ",[3],0,0,"%","‰","Infinity","+","NaN","-Infinity","-"),new i.DateTimeFormatInfo("d.M.yyyy",".","MMMM d[. p. ]yyyy",["pâ´sspei´vv","vuõssargg","mââibargg","seärad","nelljdpei´vv","piâtnâc","sue´vet"],["ođđee´jjmään","tä´lvvmään","pâ´zzlâšttammään","njuhččmään","vue´ssmään","ǩie´ssmään","suei´nnmään","på´rǧǧmään","čõhččmään","kålggmään","skamm´mään","rosttovmään",""],["p","v","m","s","n","p","s"],["ođjm","tä´lvv","pâzl","njuh","vue","ǩie","suei","på´r","čõh","kålg","ska","rost",""],["ođđee´jjmannu","tä´lvvmannu","pâ´zzlâšttammannu","njuhččmannu","vue´ssmannu","ǩie´ssmannu","suei´nnmannu","på´rǧǧmannu","čõhččmannu","kålggmannu","skamm´mannu","rosttovmannu",""],":","","","MMMM d[. p. ]yyyy H:mm:ss","H:mm","H:mm:ss","MMMM yyyy")),this._cultures["zh"]=new a("zh",new i.NumberFormatInfo(".",2,",",[3],1,2,".",",",[3],2,0,"¥",2,".",",",[3],1,1,"%","‰","正无穷大","+","非数字","负无穷大","-"),new i.DateTimeFormatInfo("yyyy/M/d","/","yyyy[年]M[月]d[日]",["星期日","星期一","星期二","星期三","星期四","星期五","星期六"],["一月","二月","三月","四月","五月","六月","七月","八月","九月","十月","十一月","十二月",""],["日","一","二","三","四","五","六"],["一月","二月","三月","四月","五月","六月","七月","八月","九月","十月","十一月","十二月",""],["一月","二月","三月","四月","五月","六月","七月","八月","九月","十月","十一月","十二月",""],":","上午","下午","yyyy[年]M[月]d[日] H:mm:ss","H:mm","H:mm:ss","yyyy[年]M[月]")),this._cultures["nn"]=new a("nn",new i.NumberFormatInfo(",",2," ",[3],1,2,","," ",[3],12,2,"kr",2,","," ",[3],0,0,"%","‰","INF","+","NaN","-INF","-"),new i.DateTimeFormatInfo("dd.MM.yyyy",".","d. MMMM yyyy",["søndag","måndag","tysdag","onsdag","torsdag","fredag","laurdag"],["januar","februar","mars","april","mai","juni","juli","august","september","oktober","november","desember",""],["sø","må","ty","on","to","fr","la"],["jan","feb","mar","apr","mai","jun","jul","aug","sep","okt","nov","des",""],["januar","februar","mars","april","mai","juni","juli","august","september","oktober","november","desember",""],":","","","d. MMMM yyyy HH:mm:ss","HH:mm","HH:mm:ss","MMMM yyyy")),this._cultures["bs"]=new a("bs",new i.NumberFormatInfo(",",2,".",[3],1,2,",",".",[3],8,3,"KM",2,",",".",[3],0,0,"%","‰","Infinity","+","NaN","-Infinity","-"),new i.DateTimeFormatInfo("d.M.yyyy",".","d. MMMM yyyy",["nedjelja","ponedjeljak","utorak","srijeda","četvrtak","petak","subota"],["januar","februar","mart","april","maj","juni","juli","avgust","septembar","oktobar","novembar","decembar",""],["ne","po","ut","sr","če","pe","su"],["jan","feb","mar","apr","maj","jun","jul","avg","sep","okt","nov","dec",""],["januar","februar","mart","april","maj","juni","juli","avgust","septembar","oktobar","novembar","decembar",""],":","","","d. MMMM yyyy H:mm:ss","H:mm","H:mm:ss","MMMM yyyy")),this._cultures["az-Latn"]=new a("az-Latn",new i.NumberFormatInfo(",",2," ",[3],1,2,","," ",[3],8,3,"₼",2,","," ",[3],1,1,"%","‰","Infinity","+","NaN","-Infinity","-"),new i.DateTimeFormatInfo("dd.MM.yyyy",".","d MMMM yyyy",["Bazar","Bazar ertəsi","Çərşənbə axşamı","Çərşənbə","Cümə axşamı","Cümə","Şənbə"],["Yanvar","Fevral","Mart","Aprel","May","İyun","İyul","Avgust","Sentyabr","Oktyabr","Noyabr","Dekabr",""],["B","Be","Ça","Ç","Ca","C","Ş"],["Yan","Fev","Mar","Apr","May","İyun","İyul","Avg","Sen","Okt","Noy","Dek",""],["yanvar","fevral","mart","aprel","may","iyun","iyul","avgust","sentyabr","oktyabr","noyabr","dekabr",""],":","","","d MMMM yyyy H:mm:ss","H:mm",
"H:mm:ss","MMMM yyyy")),this._cultures["sma"]=new a("sma",new i.NumberFormatInfo(",",2," ",[3],1,2,",",".",[3],8,3,"kr",2,","," ",[3],0,0,"%","‰","Infinity","+","NaN","-Infinity","-"),new i.DateTimeFormatInfo("yyyy-MM-dd","-","MMMM d[. b. ]yyyy",["aejlege","måanta","dæjsta","gaskevåhkoe","duarsta","bearjadahke","laavvardahke"],["tsïengele","goevte","njoktje","voerhtje","suehpede","ruffie","snjaltje","mïetske","skïerede","golke","rahka","goeve",""],["a","m","d","g","d","b","l"],["tsïen","goevt","njok","voer","sueh","ruff","snja","mïet","skïer","golk","rahk","goev",""],["tsïengelen","goevten","njoktjen","voerhtjen","suehpeden","ruffien","snjaltjen","mïetsken","skïereden","golken","rahkan","goeven",""],":","","","MMMM d[. b. ]yyyy HH:mm:ss","HH:mm","HH:mm:ss","MMMM yyyy")),this._cultures["uz-Cyrl"]=new a("uz-Cyrl",new i.NumberFormatInfo(",",2," ",[3],1,2,","," ",[3],8,3,"сўм",2,","," ",[3],1,1,"%","‰","Infinity","+","NaN","-Infinity","-"),new i.DateTimeFormatInfo("dd.MM.yyyy",".","yyyy [йил] d-MMMM",["якшанба","душанба","сешанба","чоршанба","пайшанба","жума","шанба"],["Январ","Феврал","Март","Апрел","Май","Июн","Июл","Август","Сентябр","Октябр","Ноябр","Декабр",""],["я","д","с","ч","п","ж","ш"],["Янв","Фев","Мар","Апр","Май","Июн","Июл","Авг","Сен","Окт","Ноя","Дек",""],["январ","феврал","март","апрел","май","июн","июл","август","сентябр","октябр","ноябр","декабр",""],":","","","yyyy [йил] d-MMMM HH:mm:ss","HH:mm","HH:mm:ss","MMMM yyyy")),this._cultures["mn-Cyrl"]=new a("mn-Cyrl",new i.NumberFormatInfo(",",2," ",[3],1,2,","," ",[3],5,1,"₮",2,","," ",[3],0,0,"%","‰","Infinity","+","NaN","-Infinity","-"),new i.DateTimeFormatInfo("yy.MM.dd",".","yyyy [оны] MMMM d",["Ням","Даваа","Мягмар","Лхагва","Пүрэв","Баасан","Бямба"],["1 дүгээр сар","2 дугаар сар","3 дугаар сар","4 дүгээр сар","5 дугаар сар","6 дугаар сар","7 дугаар сар","8 дугаар сар","9 дүгээр сар","10 дугаар сар","11 дүгээр сар","12 дугаар сар",""],["Ня","Да","Мя","Лх","Пү","Ба","Бя"],["I","II","III","IV","V","VI","VII","VIII","IX","X","XI","XII",""],["1 дүгээр сарын","2 дугаар сарын","3 дугаар сарын","4 дүгээр сарын","5 дугаар сарын","6 дугаар сарын","7 дугаар сарын","8 дугаар сарын","9 дүгээр сарын","10 дугаар сарын","11 дүгээр сарын","12 дугаар сарын",""],":","","","yyyy [оны] MMMM d H:mm:ss","H:mm","H:mm:ss","yyyy [он] MMMM")),this._cultures["iu-Cans"]=new a("iu-Cans",new i.NumberFormatInfo(".",2,",",[3,0],1,2,".",",",[3,0],0,0,"$",2,".",",",[3,0],1,1,"%","‰","Infinity","+","NaN","-Infinity","-"),new i.DateTimeFormatInfo("d/M/yyyy","/","dddd,MMMM dd,yyyy",["ᓈᑦᑏᖑᔭ","ᓇᒡᒐᔾᔭᐅ","ᐊᐃᑉᐱᖅ","ᐱᖓᑦᓯᖅ","ᓯᑕᒻᒥᖅ","ᑕᓪᓕᕐᒥᖅ","ᓯᕙᑖᕐᕕᒃ"],["ᔮᓐᓄᐊᕆ","ᕖᕝᕗᐊᕆ","ᒫᑦᓯ","ᐄᐳᕆ","ᒪᐃ","ᔫᓂ","ᔪᓚᐃ","ᐋᒡᒌᓯ","ᓯᑎᐱᕆ","ᐅᑐᐱᕆ","ᓄᕕᐱᕆ","ᑎᓯᐱᕆ",""],["ᓈ","ᓇ","ᐊ","ᐱ","ᓯ","ᑕ","ᓯ"],["ᔮᓐᓄ","ᕖᕝᕗ","ᒫᑦᓯ","ᐄᐳᕆ","ᒪᐃ","ᔫᓂ","ᔪᓚᐃ","ᐋᒡᒌ","ᓯᑎᐱ","ᐅᑐᐱ","ᓄᕕᐱ","ᑎᓯᐱ",""],["ᔮᓐᓄᐊᕆ","ᕖᕝᕗᐊᕆ","ᒫᑦᓯ","ᐄᐳᕆ","ᒪᐃ","ᔫᓂ","ᔪᓚᐃ","ᐋᒡᒌᓯ","ᓯᑎᐱᕆ","ᐅᑐᐱᕆ","ᓄᕕᐱᕆ","ᑎᓯᐱᕆ",""],":","AM","PM","dddd,MMMM dd,yyyy h:mm:ss tt","h:mm tt","h:mm:ss tt","MMMM,yyyy")),this._cultures["zh-Hant"]=new a("zh-Hant",new i.NumberFormatInfo(".",2,",",[3],1,2,".",",",[3],0,0,"HK$",2,".",",",[3],1,1,"%","‰","正無窮大","+","非數字","負無窮大","-"),new i.DateTimeFormatInfo("d/M/yyyy","/","yyyy[年]M[月]d[日]",["星期日","星期一","星期二","星期三","星期四","星期五","星期六"],["一月","二月","三月","四月","五月","六月","七月","八月","九月","十月","十一月","十二月",""],["日","一","二","三","四","五","六"],["一月","二月","三月","四月","五月","六月","七月","八月","九月","十月","十一月","十二月",""],["一月","二月","三月","四月","五月","六月","七月","八月","九月","十月","十一月","十二月",""],":","上午","下午","yyyy[年]M[月]d[日] H:mm:ss","H:mm","H:mm:ss","yyyy[年]M[月]")),this._cultures["nb"]=new a("nb",new i.NumberFormatInfo(",",2," ",[3],1,2,","," ",[3],12,2,"kr",2,","," ",[3],0,0,"%","‰","INF","+","NaN","-INF","-"),new i.DateTimeFormatInfo("dd.MM.yyyy",".","d. MMMM yyyy",["søndag","mandag","tirsdag","onsdag","torsdag","fredag","lørdag"],["januar","februar","mars","april","mai","juni","juli","august","september","oktober","november","desember",""],["sø","ma","ti","on","to","fr","lø"],["jan","feb","mar","apr","mai","jun","jul","aug","sep","okt","nov","des",""],["januar","februar","mars","april","mai","juni","juli","august","september","oktober","november","desember",""],":","","","d. MMMM yyyy HH:mm:ss","HH:mm","HH:mm:ss","MMMM yyyy")),this._cultures["sr"]=new a("sr",new i.NumberFormatInfo(",",2,".",[3],1,2,",",".",[3],8,3,"Din.",2,",",".",[3],1,1,"%","‰","+beskonačnost","+","NaN","-beskonačnost","-"),new i.DateTimeFormatInfo("d.M.yyyy",".","d. MMMM yyyy",["nedelja","ponedeljak","utorak","sreda","četvrtak","petak","subota"],["januar","februar","mart","april","maj","jun","jul","avgust","septembar","oktobar","novembar","decembar",""],["ne","po","ut","sr","če","pe","su"],["jan","feb","mar","apr","maj","jun","jul","avg","sep","okt","nov","dec",""],["januar","februar","mart","april","maj","jun","jul","avgust","septembar","oktobar","novembar","decembar",""],":","","","d. MMMM yyyy H:mm:ss","H:mm","H:mm:ss","MMMM yyyy")),this._cultures["tg-Cyrl"]=new a("tg-Cyrl",new i.NumberFormatInfo(",",2," ",[3,0],1,2,";"," ",[3,0],8,3,"т.р.",2,","," ",[3,0],1,1,"%","‰","бесконечность","+","NaN","-бесконечность","-"),new i.DateTimeFormatInfo("dd.MM.yy",".","d MMMM yyyy",["Яш","Душанбе","Сешанбе","Чоршанбе","Панҷшанбе","Ҷумъа","Шанбе"],["Январ","Феврал","Март","Апрел","Май","Июн","Июл","Август","Сентябр","Октябр","Ноябр","Декабр",""],["Яш","Дш","Сш","Чш","Пш","Ҷм","Шн"],["Янв","Фев","Мар","Апр","Май","Июн","Июл","Авг","Сен","Окт","Ноя","Дек",""],["январи","феврали","марти","апрели","маи","июни","июли","августи","сентябри","октябри","ноябри","декабри",""],":","","","d MMMM yyyy H:mm:ss","H:mm","H:mm:ss","MMMM yyyy")),this._cultures["dsb"]=new a("dsb",new i.NumberFormatInfo(",",2,".",[3],1,2,",",".",[3],8,3,"€",2,",",".",[3],0,0,"%","‰","+njekońcne","+","njedefinowane","-njekońcne","-"),new i.DateTimeFormatInfo("d. M. yyyy",". ","dddd, [dnja] d. MMMM yyyy",["njeźela","ponjeźele","wałtora","srjoda","stwortk","pětk","sobota"],["januar","februar","měrc","apryl","maj","junij","julij","awgust","september","oktober","nowember","december",""],["n","p","w","s","s","p","s"],["jan","feb","měr","apr","maj","jun","jul","awg","sep","okt","now","dec",""],["januara","februara","měrca","apryla","maja","junija","julija","awgusta","septembra","oktobra","nowembra","decembra",""],":","","","dddd, [dnja] d. MMMM yyyy H:mm:ss","H.mm [goź.]","H:mm:ss","MMMM yyyy")),this._cultures["smj"]=new a("smj",new i.NumberFormatInfo(",",2," ",[3],1,2,",",".",[3],8,3,"kr",2,","," ",[3],0,0,"%","‰","Infinity","+","NaN","-Infinity","-"),new i.DateTimeFormatInfo("yyyy-MM-dd","-","MMMM d[. b. ]yyyy",["ájllek","mánnodahka","dijstahka","gasskavahkko","duorastahka","bierjjedahka","lávvodahka"],["ådåjakmánno","guovvamánno","sjnjuktjamánno","vuoratjismánno","moarmesmánno","biehtsemánno","sjnjilltjamánno","bårggemánno","ragátmánno","gålgådismánno","basádismánno","javllamánno",""],["á","m","d","g","d","b","l"],["ådåj","guov","snju","vuor","moar","bieh","snji","bårg","ragá","gålg","basá","javl",""],["ådåjakmáno","guovvamáno","sjnjuktjamáno","vuoratjismáno","moarmesmáno","biehtsemáno","sjnjilltjamáno","bårggemáno","ragátmáno","gålgådismáno","basádismáno","javllamáno",""],":","","","MMMM d[. b. ]yyyy HH:mm:ss","HH:mm","HH:mm:ss","MMMM yyyy")),this._cultures["uz-Latn"]=new a("uz-Latn",new i.NumberFormatInfo(",",2," ",[3],1,0,","," ",[3],8,3,"so'm",2,","," ",[3],1,1,"%","‰","Infinity","+","NaN","-Infinity","-"),new i.DateTimeFormatInfo("dd/MM yyyy","/","yyyy [yil] d-MMMM",["yakshanba","dushanba","seshanba","chorshanba","payshanba","juma","shanba"],["yanvar","fevral","mart","aprel","may","iyun","iyul","avgust","sentyabr","oktyabr","noyabr","dekabr",""],["ya","d","s","ch","p","j","sh"],["yanvar","fevral","mart","aprel","may","iyun","iyul","avgust","sentyabr","oktyabr","noyabr","dekabr",""],["yanvar","fevral","mart","aprel","may","iyun","iyul","avgust","sentyabr","oktyabr","noyabr","dekabr",""],":","","","yyyy [yil] d-MMMM HH:mm:ss","HH:mm","HH:mm:ss","MMMM yyyy")),this._cultures["mn-Mong"]=new a("mn-Mong",new i.NumberFormatInfo(".",2,",",[3,0],1,2,".",",",[3,0],2,0,"¥",2,".",",",[3,0],1,1,"%","‰","ᠡᠶ᠋ᠡᠷᠬᠦ ᠬᠢᠵᠠᠭᠠᠷᠭᠦᠢ ᠶᠠᠬᠡ","+","ᠲᠤᠭᠠᠠ ᠪᠤᠰᠤ","ᠰᠦᠬᠡᠷᠬᠦ ᠬᠢᠵᠠᠭᠠᠷᠭᠦᠢ ᠶᠡᠬᠡ","-"),new i.DateTimeFormatInfo("yyyy/M/d","/","yyyy[ᠣᠨ ᠤ᠋] M[ᠰᠠᠷᠠ ᠢᠢᠨ ]d[ ᠤ᠋ ᠡᠳᠦᠷ]",["ᠭᠠᠷᠠᠭ ᠤᠨ ᠡᠳᠦᠷ","ᠭᠠᠷᠠᠭ ᠤᠨ ᠨᠢᠭᠡᠨ","ᠭᠠᠷᠠᠭ ᠤᠨ ᠬᠣᠶᠠᠷ","ᠭᠠᠷᠠᠭ ᠤᠨ ᠭᠤᠷᠪᠠᠨ","ᠭᠠᠷᠠᠭ ᠤᠨ ᠳᠥᠷᠪᠡᠨ","ᠭᠠᠷᠠᠭ ᠤᠨ ᠲᠠᠪᠤᠨ","ᠭᠠᠷᠠᠭ ᠤᠨ ᠵᠢᠷᠭᠤᠭᠠᠨ"],["ᠨᠢᠭᠡᠳᠦᠭᠡᠷ ᠰᠠᠷᠠ","ᠬᠤᠶ᠋ᠠᠳᠤᠭᠠᠷ ᠰᠠᠷᠠ","ᠭᠤᠷᠪᠠᠳᠤᠭᠠᠷ ᠰᠠᠷᠠ","ᠲᠦᠷᠪᠡᠳᠦᠭᠡᠷ ᠰᠠᠷᠠ","ᠲᠠᠪᠤᠳᠤᠭᠠᠷ ᠰᠠᠷᠠ","ᠵᠢᠷᠭᠤᠳᠤᠭᠠᠷ ᠰᠠᠷᠠ","ᠲᠤᠯᠤᠳᠤᠭᠠᠷ ᠰᠠᠷᠠ","ᠨᠠᠢᠮᠠᠳᠤᠭᠠᠷ ᠰᠠᠷᠠ","ᠶᠢᠰᠦᠳᠦᠭᠡᠷ ᠰᠠᠷᠠ","ᠠᠷᠪᠠᠳᠤᠭᠠᠷ ᠰᠠᠷᠠ","ᠠᠷᠪᠠᠨ ᠨᠢᠭᠡᠳᠦᠭᠡᠷ ᠰᠠᠷᠠ","ᠠᠷᠪᠠᠨ ᠬᠤᠶ᠋ᠠᠳᠤᠭᠠᠷ ᠰᠠᠷᠠ",""],["ᠡ","ᠨᠢ","ᠬᠣ","ᠭᠤ","ᠳᠥ","ᠲᠠ","ᠵᠢ"],["ᠨᠢᠭᠡᠳᠦᠭᠡᠷ ᠰᠠᠷᠠ","ᠬᠤᠶ᠋ᠠᠳᠤᠭᠠᠷ ᠰᠠᠷᠠ","ᠭᠤᠷᠪᠠᠳᠤᠭᠠᠷ ᠰᠠᠷᠠ","ᠲᠦᠷᠪᠡᠳᠦᠭᠡᠷ ᠰᠠᠷᠠ","ᠲᠠᠪᠤᠳᠤᠭᠠᠷ ᠰᠠᠷᠠ","ᠵᠢᠷᠭᠤᠳᠤᠭᠠᠷ ᠰᠠᠷᠠ","ᠲᠤᠯᠤᠳᠤᠭᠠᠷ ᠰᠠᠷᠠ","ᠨᠠᠢᠮᠠᠳᠤᠭᠠᠷ ᠰᠠᠷᠠ","ᠶᠢᠰᠦᠳᠦᠭᠡᠷ ᠰᠠᠷᠠ","ᠠᠷᠪᠠᠳᠤᠭᠠᠷ ᠰᠠᠷᠠ","ᠠᠷᠪᠠᠨ ᠨᠢᠭᠡᠳᠦᠭᠡᠷ ᠰᠠᠷᠠ","ᠠᠷᠪᠠᠨ ᠬᠤᠶ᠋ᠠᠳᠤᠭᠠᠷ ᠰᠠᠷᠠ",""],["ᠨᠢᠭᠡᠳᠦᠭᠡᠷ ᠰᠠᠷᠠ","ᠬᠤᠶ᠋ᠠᠳᠤᠭᠠᠷ ᠰᠠᠷᠠ","ᠭᠤᠷᠪᠠᠳᠤᠭᠠᠷ ᠰᠠᠷᠠ","ᠲᠦᠷᠪᠡᠳᠦᠭᠡᠷ ᠰᠠᠷᠠ","ᠲᠠᠪᠤᠳᠤᠭᠠᠷ ᠰᠠᠷᠠ","ᠵᠢᠷᠭᠤᠳᠤᠭᠠᠷ ᠰᠠᠷᠠ","ᠲᠤᠯᠤᠳᠤᠭᠠᠷ ᠰᠠᠷᠠ","ᠨᠠᠢᠮᠠᠳᠤᠭᠠᠷ ᠰᠠᠷᠠ","ᠶᠢᠰᠦᠳᠦᠭᠡᠷ ᠰᠠᠷᠠ","ᠠᠷᠪᠠᠳᠤᠭᠠᠷ ᠰᠠᠷᠠ","ᠠᠷᠪᠠᠨ ᠨᠢᠭᠡᠳᠦᠭᠡᠷ ᠰᠠᠷᠠ","ᠠᠷᠪᠠᠨ ᠬᠤᠶ᠋ᠠᠳᠤᠭᠠᠷ ᠰᠠᠷᠠ",""],":","","","yyyy[ᠣᠨ ᠤ᠋] M[ᠰᠠᠷᠠ ᠢᠢᠨ ]d[ ᠤ᠋ ᠡᠳᠦᠷ] H:mm:ss","H:mm","H:mm:ss","yyyy'ᠣᠨ' M'ᠰᠠᠷᠠ'")),this._cultures["iu-Latn"]=new a("iu-Latn",new i.NumberFormatInfo(".",2,",",[3,0],1,2,".",",",[3],0,0,"$",2,".",",",[3,0],0,0,"%","‰","Infinity","+","NaN","-Infinity","-"),new i.DateTimeFormatInfo("d/MM/yyyy","/","ddd, MMMM dd,yyyy",["Naattiinguja","Naggajjau","Aippiq","Pingatsiq","Sitammiq","Tallirmiq","Sivataarvik"],["Jaannuari","Viivvuari","Maatsi","Iipuri","Mai","Juuni","Julai","Aaggiisi","Sitipiri","Utupiri","Nuvipiri","Tisipiri",""],["N","N","A","P","S","T","S"],["Jan","Viv","Mas","Ipu","Mai","Jun","Jul","Agi","Sii","Uut","Nuv","Tis",""],["Jaannuari","Viivvuari","Maatsi","Iipuri","Mai","Juuni","Julai","Aaggiisi","Sitipiri","Utupiri","Nuvipiri","Tisipiri",""],":","AM","PM","ddd, MMMM dd,yyyy h:mm:ss tt","h:mm tt","h:mm:ss tt","MMMM, yyyy")),this._cultures["tzm-Latn"]=new a("tzm-Latn",new i.NumberFormatInfo(",",2,".",[3],3,2,".",",",[3],8,3,"DZD",2,",",".",[3],0,0,"%","‰","+Infini","+","Non Numérique","-Infini","-"),new i.DateTimeFormatInfo("dd-MM-yyyy","-","dd MMMM, yyyy",["Acer","Arime","Aram","Ahad","Amhadh","Sem","Sedh"],["Yenayer","Furar","Maghres","Yebrir","Mayu","Yunyu","Yulyu","Ghuct","Cutenber","Ktuber","Wambir","Dujanbir",""],["Ac","Ar","Ar","Ah","Am","Se","Se"],["Yen","Fur","Mag","Yeb","May","Yun","Yul","Ghu","Cut","Ktu","Wam","Duj",""],["Yenayer","Furar","Maghres","Yebrir","Mayu","Yunyu","Yulyu","Ghuct","Cutenber","Ktuber","Wambir","Dujanbir",""],":","","","dd MMMM, yyyy H:mm:ss","H:mm","H:mm:ss","MMMM, yyyy")),this._cultures["ha-Latn"]=new a("ha-Latn",new i.NumberFormatInfo(".",2,",",[3],1,2,".",",",[3],2,2,"N",2,".",",",[3],0,0,"%","‰","Infinity","+","NaN","-Infinity","-"),new i.DateTimeFormatInfo("d/M/yyyy","/","dddd, MMMM dd, yyyy",["Lahadi","Litinin","Talata","Laraba","Alhamis","Juma'a","Asabar"],["Januwaru","Febreru","Maris","Afrilu","Mayu","Yuni","Yuli","Agusta","Satumba","Oktocba","Nuwamba","Disamba",""],["L","L","T","L","A","J","A"],["Jan","Feb","Mar","Afr","May","Yun","Yul","Agu","Sat","Okt","Nuw","Dis",""],["Januwaru","Febreru","Maris","Afrilu","Mayu","Yuni","Yuli","Agusta","Satumba","Oktocba","Nuwamba","Disamba",""],":","Safe","Yamma","dddd, MMMM dd, yyyy h:mm:ss tt","h:mm tt","h:mm:ss tt","MMMM, yyyy")),this._cultures["zh-CHS"]=new a("zh-CHS",new i.NumberFormatInfo(".",2,",",[3],1,2,".",",",[3],2,0,"¥",2,".",",",[3],1,1,"%","‰","正无穷大","+","非数字","负无穷大","-"),new i.DateTimeFormatInfo("yyyy/M/d","/","yyyy[年]M[月]d[日]",["星期日","星期一","星期二","星期三","星期四","星期五","星期六"],["一月","二月","三月","四月","五月","六月","七月","八月","九月","十月","十一月","十二月",""],["日","一","二","三","四","五","六"],["一月","二月","三月","四月","五月","六月","七月","八月","九月","十月","十一月","十二月",""],["一月","二月","三月","四月","五月","六月","七月","八月","九月","十月","十一月","十二月",""],":","上午","下午","yyyy[年]M[月]d[日] H:mm:ss","H:mm","H:mm:ss","yyyy[年]M[月]")),this._cultures["zh-CHT"]=new a("zh-CHT",new i.NumberFormatInfo(".",2,",",[3],1,2,".",",",[3],0,0,"HK$",2,".",",",[3],1,1,"%","‰","正無窮大","+","非數字","負無窮大","-"),new i.DateTimeFormatInfo("d/M/yyyy","/","yyyy[年]M[月]d[日]",["星期日","星期一","星期二","星期三","星期四","星期五","星期六"],["一月","二月","三月","四月","五月","六月","七月","八月","九月","十月","十一月","十二月",""],["日","一","二","三","四","五","六"],["一月","二月","三月","四月","五月","六月","七月","八月","九月","十月","十一月","十二月",""],["一月","二月","三月","四月","五月","六月","七月","八月","九月","十月","十一月","十二月",""],":","上午","下午","yyyy[年]M[月]d[日] H:mm:ss","H:mm","H:mm:ss","yyyy[年]M[月]")),this._cultures){var t=this._cultures[e];r.ExternalLibrary.Moment.defineLocale("sti_"+e,{parentLocale:"en",months:t.dateTimeFormat.monthNames,monthsShort:t.dateTimeFormat.abbreviatedMonthNames,weekdays:t.dateTimeFormat.dayNames,weekdaysShort:t.dateTimeFormat.shortestDayNames,weekdaysMin:t.dateTimeFormat.shortestDayNames,longDateFormat:{LT:t.dateTimeFormat.shortTimePattern,LTS:t.dateTimeFormat.longTimePattern,L:t.dateTimeFormat.shortDatePattern,LL:t.dateTimeFormat.longDatePattern,LLLL:t.dateTimeFormat.fullDateTimePattern},meridiem:{AM:t.dateTimeFormat.AMDesignator,PM:t.dateTimeFormat.PMDesignator}})}return this._cultures},enumerable:!1,configurable:!0}),Object.defineProperty(a,"InvariantCulture",{get:function(){return a.currentCulture},enumerable:!1,configurable:!0}),a.getCultureInfo=function(e){var e=this.cultures[e];if(null!=e)return e;return a.currentCulture},t=a,i.CultureInfo=t}(Stimulsoft=Stimulsoft||{}),function(i){var e,a,r,t;function o(e,t,r,n,i,a,o){void 0===e?this.innerDate=new Date:"number"!=typeof e&&e instanceof Date?this.innerDate=e:t?(this.innerDate=new Date(0),this.innerDate.setDate(1),this.innerDate.setMonth(0),this.innerDate.setFullYear(e),this.innerDate.setMonth(t-1),null!=r&&this.innerDate.setDate(r),null!=n&&this.innerDate.setHours(n),null!=i&&this.innerDate.setMinutes(i),null!=a&&this.innerDate.setSeconds(a),null!=o&&this.innerDate.setMilliseconds(o)):(this.innerDate=new Date,this.innerDate.setTime(e))}a=e=i.System||(i.System={}),r=i.System.Globalization.CultureInfo,o.getNetTypeName=function(){return"System.DateTime"},Object.defineProperty(o.prototype,"year",{get:function(){return this.innerDate.getFullYear()},enumerable:!1,configurable:!0}),Object.defineProperty(o.prototype,"month",{get:function(){return this.innerDate.getMonth()+1},enumerable:!1,configurable:!0}),Object.defineProperty(o.prototype,"monthName",{get:function(){return r.currentCulture.dateTimeFormat.monthNames[this.month-1]},enumerable:!1,configurable:!0}),Object.defineProperty(o.prototype,"monthGenitiveName",{get:function(){return r.currentCulture.dateTimeFormat.monthGenitiveNames[this.month-1]},enumerable:!1,configurable:!0}),Object.defineProperty(o.prototype,"monthShortName",{get:function(){return r.currentCulture.dateTimeFormat.abbreviatedMonthNames[this.month-1]},enumerable:!1,configurable:!0}),Object.defineProperty(o.prototype,"day",{get:function(){return this.innerDate.getDate()},enumerable:!1,configurable:!0}),Object.defineProperty(o.prototype,"dayOfWeek",{get:function(){return this.innerDate.getDay()},enumerable:!1,configurable:!0}),Object.defineProperty(o.prototype,"dayName",{get:function(){return r.currentCulture.dateTimeFormat.dayNames[this.dayOfWeek]},enumerable:!1,configurable:!0}),Object.defineProperty(o.prototype,"dayShortName",{get:function(){return r.currentCulture.dateTimeFormat.shortestDayNames[this.dayOfWeek]},enumerable:!1,configurable:!0}),Object.defineProperty(o.prototype,"hour",{get:function(){return this.innerDate.getHours()},enumerable:!1,configurable:!0}),Object.defineProperty(o.prototype,"minute",{get:function(){return this.innerDate.getMinutes()},enumerable:!1,configurable:!0}),Object.defineProperty(o.prototype,"second",{get:function(){return this.innerDate.getSeconds()},enumerable:!1,configurable:!0}),Object.defineProperty(o.prototype,"millisecond",{get:function(){return this.innerDate.getMilliseconds()},enumerable:!1,configurable:!0}),Object.defineProperty(o.prototype,"ticks",{get:function(){return this.innerDate.getTime()},enumerable:!1,configurable:!0}),Object.defineProperty(o.prototype,"dayOfYear",{get:function(){var e=new Date(this.innerDate.getFullYear(),0,1),e=this.innerDate.getTime()-e.getTime();return Math.ceil(e/864e5)+1},enumerable:!1,configurable:!0}),o.prototype.firstDayOfWeek=function(){var e=i.ExternalLibrary.Moment(this.innerDate);return e.locale("sti_"+r.currentCulture.name),new o(e.startOf("week").toDate())},o.prototype.lastDayOfWeek=function(){var e=i.ExternalLibrary.Moment(this.innerDate);return e.locale("sti_"+r.currentCulture.name),new o(e.endOf("week").toDate())},o.prototype.firstDayOfMonth=function(){var e=i.ExternalLibrary.Moment(this.innerDate);return e.locale("sti_"+r.currentCulture.name),new o(e.startOf("month").toDate())},o.prototype.lastDayOfMonth=function(){var e=i.ExternalLibrary.Moment(this.innerDate);return e.locale("sti_"+r.currentCulture.name),new o(e.endOf("month").toDate())},o.prototype.firstDayOfQuarter=function(){var e=i.ExternalLibrary.Moment(this.innerDate);return e.locale("sti_"+r.currentCulture.name),new o(e.startOf("quarter").toDate())},o.prototype.lastDayOfQuarter=function(){var e=i.ExternalLibrary.Moment(this.innerDate);return e.locale("sti_"+r.currentCulture.name),new o(e.endOf("quarter").toDate())},o.prototype.firstDayOfFirthQuarter=function(){var e=i.ExternalLibrary.Moment().month(0);return e.locale("sti_"+r.currentCulture.name),new o(e.startOf("quarter").toDate())},o.prototype.lastDayOfFirthQuarter=function(){var e=i.ExternalLibrary.Moment().month(0);return e.locale("sti_"+r.currentCulture.name),new o(e.endOf("quarter").toDate())},o.prototype.firstDayOfSecondQuarter=function(){var e=i.ExternalLibrary.Moment().month(3);return e.locale("sti_"+r.currentCulture.name),new o(e.startOf("quarter").toDate())},o.prototype.lastDayOfSecondQuarter=function(){var e=i.ExternalLibrary.Moment().month(3);return e.locale("sti_"+r.currentCulture.name),new o(e.endOf("quarter").toDate())},o.prototype.firstDayOfThirdQuarter=function(){var e=i.ExternalLibrary.Moment().month(6);return e.locale("sti_"+r.currentCulture.name),new o(e.startOf("quarter").toDate())},o.prototype.lastDayOfThirdQuarter=function(){var e=i.ExternalLibrary.Moment().month(6);return e.locale("sti_"+r.currentCulture.name),new o(e.endOf("quarter").toDate())},o.prototype.firstDayOfFourthQuarter=function(){var e=i.ExternalLibrary.Moment().month(9);return e.locale("sti_"+r.currentCulture.name),new o(e.startOf("quarter").toDate())},o.prototype.lastDayOfFourthQuarter=function(){var e=i.ExternalLibrary.Moment().month(9);return e.locale("sti_"+r.currentCulture.name),new o(e.endOf("quarter").toDate())},o.prototype.firstDayOfYear=function(){var e=i.ExternalLibrary.Moment(this.innerDate);return e.locale("sti_"+r.currentCulture.name),new o(e.startOf("year").toDate())},o.prototype.lastDayOfYear=function(){var e=i.ExternalLibrary.Moment(this.innerDate);return e.locale("sti_"+r.currentCulture.name),new o(e.endOf("year").toDate())},o.prototype.toShortDateString=function(){return this.toString(r.currentCulture.dateTimeFormat.shortDatePattern)},Object.defineProperty(o,"now",{get:function(){return new o(new Date)},enumerable:!1,configurable:!0}),Object.defineProperty(o,"today",{get:function(){var e=new o(new Date);return new o(e.year,e.month,e.day,0,0,0,0)},enumerable:!1,configurable:!0}),o.isLeapYear=function(e){return e%4==0&&e%100!=0||e%400==0},o.daysInMonth=function(e,t){return 33-new Date(e,t-1,33).getDate()},o.compare=function(e,t){if(e.ticks<t.ticks)return-1;if(e.ticks>t.ticks)return 1;return 0},o.doubleDateToTicks=function(e){if(e>=this.oADateMaxAsDouble||e<=this.oADateMinAsDouble)return null;var e=e*this.millisPerDay+(0<=e?.5:-.5);if(e<0&&(e-=e%this.millisPerDay*2),(e+=this.doubleDateOffset/this.ticksPerMillisecond)<0||e>=this.maxMillis)return null;return e*this.ticksPerMillisecond},o.ticksToOADate=function(e){if(0==e)return 0;e<this.ticksPerDay&&(e+=this.doubleDateOffset);var t=(e-this.doubleDateOffset)/this.ticksPerMillisecond,e;return t<0&&(0!=(e=t%this.millisPerDay)&&(t-=2*(this.millisPerDay+e))),t/this.millisPerDay},o.ticksNetToTicksJs=function(e){var t,r;return e/1e4-621356076e5},o.prototype.negate=function(){if(this.ticks==a.TimeSpan.minValue.ticks)throw new Error("Overflow_NegateTwosCompNum");return new o(-this.ticks)},o.prototype.addYears=function(e){return new o(this.year+e,this.month,this.day,this.hour,this.minute,this.second,this.millisecond)},o.prototype.addMonths=function(e){var t=this.month+e,e=this.year;return t<1&&(e--,t=12+t),new o(e,t,this.day,this.hour,this.minute,this.second,this.millisecond)},o.prototype.addDays=function(e){var t=new o(this.innerDate.getTime()),e=t.day+e;return e<1&&(e=(t=t.addMonths(-1)).lastDayOfMonth().day+e),new o(t.year,t.month,e,t.hour,t.minute,t.second,t.millisecond)},o.prototype.addHours=function(e){return new o(this.year,this.month,this.day,this.hour+e,this.minute,this.second,this.millisecond)},o.prototype.addMinutes=function(e){return new o(this.year,this.month,this.day,this.hour,this.minute+e,this.second,this.millisecond)},o.prototype.addSeconds=function(e){return new o(this.year,this.month,this.day,this.hour,this.minute,this.second+e,this.millisecond)},o.prototype.addMilliseconds=function(e){return new o(this.year,this.month,this.day,this.hour,this.minute,this.second,this.millisecond+e)},o.prototype.addTicks=function(e){return new o(this.ticks+e)},o.prototype.compareTo=function(e){if(this.ticks<e.ticks)return-1;if(this.ticks>e.ticks)return 1;return 0},o.prototype.subtract=function(e){return new a.TimeSpan(this.ticks-e.ticks)},Object.defineProperty(o.prototype,"date",{get:function(){return this.innerDate},enumerable:!1,configurable:!0}),o.prototype.toString=function(e){void 0===e&&(e="G");var t=i.ExternalLibrary.Moment(this.innerDate);if(!t.isValid())return"";switch(t.locale("sti_"+r.currentCulture.name),e){case"t":e=r.currentCulture.dateTimeFormat.shortTimePattern;break;case"T":e=r.currentCulture.dateTimeFormat.longTimePattern;break;case"d":e=r.currentCulture.dateTimeFormat.shortDatePattern;break;case"D":e=r.currentCulture.dateTimeFormat.longDatePattern;break;case"f":e=r.currentCulture.dateTimeFormat.longDatePattern+" "+r.currentCulture.dateTimeFormat.shortTimePattern;break;case"F":e=r.currentCulture.dateTimeFormat.fullDateTimePattern;break;case"g":e=r.currentCulture.dateTimeFormat.shortDatePattern+" "+r.currentCulture.dateTimeFormat.shortTimePattern;break;case"G":e=r.currentCulture.dateTimeFormat.shortDatePattern+" "+r.currentCulture.dateTimeFormat.longTimePattern;break;case"y":case"Y":e=r.currentCulture.dateTimeFormat.yearMonthPattern;break;case"s":e="yyyy-MM-dd\\THH:mm:ss";break;case"u":e="yyyy-MM-dd HH:mm:ss\\Z";break;case"m":case"M":e=r.currentCulture.name.stimulsoft.contains("en")||r.currentCulture.name.stimulsoft.contains("us")?"MMMM d":"d MMMM";break;case"r":case"R":e="ddd, dd MMM yyyy HH\\:mm\\:ss \\G\\M\\T";break}return e=(e=(e=(e=(e=e.replace(/d/gm,"D").replace(/DDDD/gm,"dddd").replace(/DDD/gm,"ddd")).replace(/y/gm,"Y")).replace(/f/gm,"S").replace(/F/gm,"S")).replace(/tt/gm,"A").replace(/t/gm,"A")).replace(/zzz/gm,"Z").replace(/zz/gm,"Z").replace(/z/gm,"Z"),t.format(e)},o.oaDateToTicks0=function(e){var t=864e5*(e-25569),e;return e<0&&(0!=(e=864e5*(e-Math.trunc(e)))&&(t-=2*e)),t},o.ticksToOADate0=function(e){var t=e/864e5+25569,e;return t<0&&(0!=(e=t-Math.trunc(t))&&(t=Math.ceil(t)-e-2)),t},o.prototype.toOADate=function(){return o.ticksToOADate0(this.ticks)},o.prototype.toOADate2=function(e){var t=o.ticksToOADate(this.ticks);if(e)return Math.round(t);return t},o.prototype.toNetJsonString=function(){return"\\/Date("+this.ticks.toString()+")\\/"},o.tryParseExact=function(e,t){void 0===e&&(e="2015-12-31");try{var r=i.ExternalLibrary.Moment(e,t);if(0==r.isValid()||0<r.parsingFlags().unusedInput.length)return{result:null,successfully:!1};return{result:new o(r.toDate()),successfully:!0}}catch(e){return{result:null,successfully:!1}}},o.fromNetJsonString=function(e){var e=/-?\d+/.exec(e),t;return new o(new Date(parseInt(e[0])))},o.fromOADate=function(e){return new o(o.oaDateToTicks0(e))},o.fromString=function(t,r){void 0===t&&(t="2015-12-31"),void 0===r&&(r=!0);try{var e=(t=t.trim()).split(".").join("-").split("\\").join("-").split(" ").join("-"),n=void 0,n;if((n=i.ExternalLibrary.Moment(e,"YYYY-M-D",!0)).isValid()&&0==n.parsingFlags().unusedTokens.length)return new o(n.toDate());if((n=i.ExternalLibrary.Moment(e,"M/D/YYYY",!0)).isValid()&&0==n.parsingFlags().unusedTokens.length)return new o(n.toDate());if((n=i.ExternalLibrary.Moment(e,"D-M-YYYY",!0)).isValid()&&0==n.parsingFlags().unusedTokens.length)return new o(n.toDate());if((n=i.ExternalLibrary.Moment(e,"M/D/YY",!0)).isValid()&&0==n.parsingFlags().unusedTokens.length)return new o(n.toDate());if((n=i.ExternalLibrary.Moment(e,"D-M-YY",!0)).isValid()&&0==n.parsingFlags().unusedTokens.length)return new o(n.toDate());if((n=i.ExternalLibrary.Moment(e,"YYYY-M-D-H:mm",!0)).isValid()&&0==n.parsingFlags().unusedTokens.length)return new o(n.toDate());if((n=i.ExternalLibrary.Moment(e,"YYYY-M-D-H:mm:ss",!0)).isValid()&&0==n.parsingFlags().unusedTokens.length)return new o(n.toDate());if((n=i.ExternalLibrary.Moment(e,"YYYY-M-D-H:mm:ss-SSS",!0)).isValid()&&0==n.parsingFlags().unusedTokens.length)return new o(n.toDate());if((n=i.ExternalLibrary.Moment(e,"YYYY-M-D-H:mm:ss-SSSSSSS",!0)).isValid()&&0==n.parsingFlags().unusedTokens.length)return new o(n.toDate());if((n=i.ExternalLibrary.Moment(e,"YYYY-M-D-h:mm:ss-a",!0)).isValid()&&0==n.parsingFlags().unusedTokens.length)return new o(n.toDate());if((n=i.ExternalLibrary.Moment(e,"M/D/YYYY-H:mm",!0)).isValid()&&0==n.parsingFlags().unusedTokens.length)return new o(n.toDate());if((n=i.ExternalLibrary.Moment(e,"M/D/YYYY-H:mm:ss",!0)).isValid()&&0==n.parsingFlags().unusedTokens.length)return new o(n.toDate());if((n=i.ExternalLibrary.Moment(e,"M/D/YYYY-h:mm:ss-a",!0)).isValid()&&0==n.parsingFlags().unusedTokens.length)return new o(n.toDate());if((n=i.ExternalLibrary.Moment(e,"D-M-YYYY-H:mm",!0)).isValid()&&0==n.parsingFlags().unusedTokens.length)return new o(n.toDate());if((n=i.ExternalLibrary.Moment(e,"D-M-YYYY-H:mm:ss",!0)).isValid()&&0==n.parsingFlags().unusedTokens.length)return new o(n.toDate());if((n=i.ExternalLibrary.Moment(e,"D-M-YYYY-h:mm:ss-a",!0)).isValid()&&0==n.parsingFlags().unusedTokens.length)return new o(n.toDate());if((n=i.ExternalLibrary.Moment(e,"M/D/YY-H:mm",!0)).isValid()&&0==n.parsingFlags().unusedTokens.length)return new o(n.toDate());if((n=i.ExternalLibrary.Moment(e,"M/D/YY-H:mm:ss",!0)).isValid()&&0==n.parsingFlags().unusedTokens.length)return new o(n.toDate());if((n=i.ExternalLibrary.Moment(e,"M/D/YY-h:mm:ss-a",!0)).isValid()&&0==n.parsingFlags().unusedTokens.length)return new o(n.toDate());if((n=i.ExternalLibrary.Moment(e,"D-M-YY-H:mm",!0)).isValid()&&0==n.parsingFlags().unusedTokens.length)return new o(n.toDate());if((n=i.ExternalLibrary.Moment(e,"D-M-YY-H:mm:ss",!0)).isValid()&&0==n.parsingFlags().unusedTokens.length)return new o(n.toDate());if((n=i.ExternalLibrary.Moment(e,"D-M-YY-h:mm:ss-a",!0)).isValid()&&0==n.parsingFlags().unusedTokens.length)return new o(n.toDate());if((n=i.ExternalLibrary.Moment(e,"H:mm",!0)).isValid()&&0==n.parsingFlags().unusedTokens.length)return new o(n.toDate());if((n=i.ExternalLibrary.Moment(e,"H:mm:ss",!0)).isValid()&&0==n.parsingFlags().unusedTokens.length)return new o(n.toDate());if((n=i.ExternalLibrary.Moment(e,"h:mm:ss-a",!0)).isValid()&&0==n.parsingFlags().unusedTokens.length)return new o(n.toDate());if((n=i.ExternalLibrary.Moment(e,"YYYY-MM-DDTHH:mm:ssZ",!0)).isValid()&&0==n.parsingFlags().unusedTokens.length)return new o(n.toDate());if((n=i.ExternalLibrary.Moment(e,"YYYY-MM-DDTHH:mm:ss-SSSZ",!0)).isValid()&&0==n.parsingFlags().unusedTokens.length)return new o(n.toDate());if((n=i.ExternalLibrary.Moment(e,"YYYY-MM-DDTHH:mm:ss-SSSSSSSZ",!0)).isValid()&&0==n.parsingFlags().unusedTokens.length)return new o(n.toDate());if((n=i.ExternalLibrary.Moment(e,"YYYY-MM-DDTHH:mm:ss",!0)).isValid()&&0==n.parsingFlags().unusedTokens.length)return new o(n.toDate());if((n=i.ExternalLibrary.Moment(e,"YYYY-MM-DDTHH:mm:ss-SSS",!0)).isValid()&&0==n.parsingFlags().unusedTokens.length)return new o(n.toDate());if((n=i.ExternalLibrary.Moment(e,"YYYY-MM-DDTHH:mm:ss-SSSSSSS",!0)).isValid()&&0==n.parsingFlags().unusedTokens.length)return new o(n.toDate());return r&&a.StiError.showError("Parse DateTime Error ("+t+")",!1),null}catch(e){return r&&a.StiError.showError("Parse DateTime Error ("+t+")",!1),null}},o.fromString2=function(e,t,r){void 0===e&&(e="2015-12-31"),void 0===r&&(r=!0);try{var n=i.ExternalLibrary.Moment(t,[e]);if(0==n.isValid()||0<n.parsingFlags().unusedTokens.length)return r&&a.StiError.showError("Parse DateTime Error ("+t+")",!1),null;return new o(n.toDate())}catch(e){}return null},o.isISO8601String=function(e){try{e=e.trim();var t=void 0,t;if((t=i.ExternalLibrary.Moment(e,"YYYY-MM-DDTHH:mm",!0)).isValid()&&0==t.parsingFlags().unusedTokens.length)return!0;if((t=i.ExternalLibrary.Moment(e,"YYYY-MM-DDTHH:mmZ",!0)).isValid()&&0==t.parsingFlags().unusedTokens.length)return!0;if((t=i.ExternalLibrary.Moment(e,"YYYY-MM-DDTHH:mm:ss",!0)).isValid()&&0==t.parsingFlags().unusedTokens.length)return!0;if((t=i.ExternalLibrary.Moment(e,"YYYY-MM-DDTHH:mm:ss.SSS",!0)).isValid()&&0==t.parsingFlags().unusedTokens.length)return!0;if((t=i.ExternalLibrary.Moment(e,"YYYY-MM-DDTHH:mm:ss.SSSSSS",!0)).isValid()&&0==t.parsingFlags().unusedTokens.length)return!0;if((t=i.ExternalLibrary.Moment(e,"YYYY-MM-DDTHH:mm:ssZ",!0)).isValid()&&0==t.parsingFlags().unusedTokens.length)return!0;if((t=i.ExternalLibrary.Moment(e,"YYYY-MM-DDTHH:mm:ss.SSSZ",!0)).isValid()&&0==t.parsingFlags().unusedTokens.length)return!0;if((t=i.ExternalLibrary.Moment(e,"YYYY-MM-DDTHH:mm:ss.SSSSSSZ",!0)).isValid()&&0==t.parsingFlags().unusedTokens.length)return!0}catch(e){}return!1},Object.defineProperty(o.prototype,"timeOfDay",{get:function(){return new a.TimeSpan(this.ticks-new o(this.year,this.month,this.day,0,0,0,0).ticks)},enumerable:!1,configurable:!0}),Object.defineProperty(o.prototype,"date2",{get:function(){return new o(this.year,this.month,this.day,0,0,0,0)},enumerable:!1,configurable:!0}),o.ticksPerDay=24*(o.ticksPerHour=60*(o.ticksPerMinute=60*(o.ticksPerSecond=1e3*(o.ticksPerMillisecond=1e3)))),o.millisPerDay=24*(o.millisPerHour=60*(o.millisPerMinute=60*(o.millisPerSecond=1e3))),o.daysTo1601=4*(o.daysPer400Years=4*(o.daysPer100Years=25*(o.daysPer4Years=4*(o.daysPerYear=365)+1)-1)+1),o.daysTo1899=4*o.daysPer400Years+3*o.daysPer100Years-367,o.daysTo10000=25*o.daysPer400Years-366,o.minTicks=0,o.maxTicks=o.daysTo10000*o.ticksPerDay-1,o.maxMillis=o.daysTo10000*o.millisPerDay,o.fileTimeOffset=o.daysTo1601*o.ticksPerDay,o.doubleDateOffset=o.daysTo1899*o.ticksPerDay,o.oADateMinAsTicks=(o.daysPer100Years-o.daysPerYear)*o.ticksPerDay,o.oADateMinAsDouble=-657435,o.oADateMaxAsDouble=2958466,o.datePartYear=0,o.datePartDayOfYear=1,o.datePartMonth=2,o.DatePartDay=3,o.daysToMonth365=[0,31,59,90,120,151,181,212,243,273,304,334,365],o.daysToMonth366=[0,31,60,91,121,152,182,213,244,274,305,335,366],o.minValue=new o(o.minTicks),o.maxValue=new o(o.maxTicks),t=o,a.DateTime=t}(Stimulsoft=Stimulsoft||{}),function(e){var t,n,r,g,i,e,a;function v(e){var t=a.call(this)||this;"number"==typeof e||e&&e.forEach(function(e){return t.push(e)});try{t.__proto__=v.prototype,Object.defineProperty(t,"__proto__",{enumerable:!1})}catch(e){Object.defineProperty(t,"__proto__",{enumerable:!1,writable:!0}),t.__proto__=v.prototype}return t}n=t=e.System||(e.System={}),g=r=n.Collections||(n.Collections={}),i=e.System.DateTime,a=Array,__extends(v,a),v.create=function(e){for(var t=[],r=1;r<arguments.length;r++)t[r-1]=arguments[r];var n=!1;if("boolean"==typeof t[t.length-1]&&(n=!!t.pop()),0==t.length){if(e==Number)return 0;if(e==Boolean)return!1;return n?new e:null}for(var i=new v,a=t.shift(),o=0;o<a;o++){var s=v.create.apply(this,[e].concat(t,[n]));i.push(s)}return i},Object.defineProperty(v.prototype,"countItems",{get:function(){var e;return n.StiObject.keys(this).length},enumerable:!1,configurable:!0}),v.prototype.addRange=function(e){var t,r;try{for(var n=__values(e),i=n.next();!i.done;i=n.next()){var a=i.value;this.push(a)}}catch(e){t={error:e}}finally{try{i&&!i.done&&(r=n.return)&&r.call(n)}finally{if(t)throw t.error}}},v.prototype.removeRange=function(e,t){this.splice(e,t)},v.prototype.getRange=function(e,t){return(null==e||e<0)&&(e=0),e+t>this.length&&(t=this.length-e),new v(this.slice(e,e+t))},v.prototype.add=function(e){this.push(e)},v.prototype.insert=function(e,t){this.splice(e,0,t)},v.prototype.getKeys=function(){return n.StiObject.keys(this).sort(function(e,t){return e.stimulsoft.toNumber().stimulsoft.compareTo(t.stimulsoft.toNumber())})},v.prototype.getByIndex=function(e,t){return void 0===t&&(t=null),null==t&&(t=this.getKeys()),this[t[e]]},v.prototype.setByIndex=function(e,t){var r;this[n.StiObject.keys(this)[e]]=t},v.prototype.removeByIndex=function(e){var e=this.indexOf(this.getByIndex(e,null));return delete this[e],this},v.prototype.copyTo=function(e,t){void 0===t&&(t=0);for(var r=t,n=0;n<this.length;n++)e[r]=this[n],r++},v.prototype.clear=function(){this.splice(0,this.length)},v.prototype.peek=function(){return this[this.length-1]},v.prototype.remove=function(e){var e=this.indexOf(e);0<=e&&this.removeAt(e)},v.prototype.removeAt=function(e){this.splice(e,1)},v.prototype.exists=function(e){var t,r;try{for(var n=__values(this),i=n.next(),a;!i.done;i=n.next()){if(e(i.value))return!0}}catch(e){t={error:e}}finally{try{i&&!i.done&&(r=n.return)&&r.call(n)}finally{if(t)throw t.error}}return!1},v.prototype.fullOuterJoin=function(e,t,r,n,i){var a=e.toLookup(r,i),o=this.toLookup(t,i),e=e.where(function(e){return!o.contains(r.apply(i,[e]))}).select(function(e){return n.apply(i,[null,e])});return this.selectMany2(function(e){var e=a.get(t.apply(i,[e]));return e.any()?e:new v},n,i).concat(e)},v.prototype.toList=function(){return new v(this)},v.prototype.findIndex2=function(e){for(var t=0;t<this.length;t++)if(e(this[t]))return t;return-1},v.prototype.findLastIndex2=function(e){for(var t=-1,r=0;r<this.length;r++)e(this[r])&&(t=r);return t},v.prototype.zip=function(e,t){for(var r=new v,n=0;n<this.length;n++)r.add(t(this[n],e[n]));return r},v.repeat=function(e,t){for(var r=new v,n=0;n<t;n++)r.push(e);return r},v.prototype.where=function(r,n){var i=new v;return this.forEach(function(e,t){return r.apply(n,[e,t])?i.push(e):null}),i},v.prototype.join2=function(e,t,r,n,i){var a,o,s,u,l=new v,m=new g.Hashtable;try{for(var y=__values(e),d=y.next();!d.done;d=y.next()){var h=d.value,c=r.apply(i,[h]);m.set(c,h)}}catch(e){a={error:e}}finally{try{d&&!d.done&&(o=y.return)&&o.call(y)}finally{if(a)throw a.error}}try{for(var f=__values(this),p=f.next();!p.done;p=f.next()){var M=p.value,b=t.apply(i,[M]),h;null!=(h=m.get(b))&&l.push(n.apply(i,[M,h]))}}catch(e){s={error:e}}finally{try{p&&!p.done&&(u=f.return)&&u.call(f)}finally{if(s)throw s.error}}return l},v.prototype.groupJoin=function(e,t,r,n,i){var a,o,s,u,l=new v,m=new g.Hashtable;try{for(var y=__values(e),d=y.next();!d.done;d=y.next()){var h=d.value,c=r.apply(i,[h]),f;null==(f=m.get(c))&&(f=new v,m.set(c,f)),f.push(h)}}catch(e){a={error:e}}finally{try{d&&!d.done&&(o=y.return)&&o.call(y)}finally{if(a)throw a.error}}try{for(var p=__values(this),M=p.next();!M.done;M=p.next()){var b=M.value,c=t.apply(i,[b]),f;null==(f=m.get(c))&&(f=new v),l.push(n.apply(i,[b,f]))}}catch(e){s={error:e}}finally{try{M&&!M.done&&(u=p.return)&&u.call(p)}finally{if(s)throw s.error}}return l},v.prototype.select=function(t,r){var n=new v;return this.forEach(function(e){return n.push(t.apply(r,[e]))}),n},v.prototype.selectMany=function(t,r){var n=new v;return this.forEach(function(e){return t.apply(r,[e]).forEach(function(e){return n.push(e)})}),n},v.prototype.selectMany2=function(e,r,n){var i=new v;return this.forEach(function(t){return e.apply(n,[t]).forEach(function(e){return i.push(r.apply(n,[t,e]))})}),i},v.prototype.orderBy=function(r,n){var e=this.stimulsoft.toArray();return null==n&&(n={compare:function(e,t){if(null!=e&&null==t)return 1;if(null==e&&null!=t)return-1;if(null==e&&null==t)return 0;return e.stimulsoft.compareTo(t)}}),e.sort(function(e,t){return n.compare(r(e),r(t))}),new v(e)},v.prototype.orderByDescending=function(r,n){var e=this.stimulsoft.toArray();return null==n&&(n={compare:function(e,t){if(null!=e&&null==t)return-1;if(null==e&&null!=t)return 1;if(null==e&&null==t)return 0;return t.stimulsoft.compareTo(e)}}),e.sort(function(e,t){return n.compare(r(e),r(t))}),new v(e)},v.prototype.groupBy=function(n,i,a){var t,e,o=new v;null==i&&(i={equals:function(e,t){if(e==t)return!0;return!1},getHashCode:function(){return 0}});var r=function(e){var t=n.apply(a,[e]),r=o.firstOrDefault(function(e){return i.equals(e.key,t)});null==r&&((r=new g.Grouping(new v([]))).key=t,o.push(r)),r.push(e)};try{for(var s=__values(this),u=s.next(),l;!u.done;u=s.next()){r(u.value)}}catch(e){t={error:e}}finally{try{u&&!u.done&&(e=s.return)&&e.call(s)}finally{if(t)throw t.error}}return o},v.prototype.cast=function(){var t=new v,e,e=function(e){return e};return this.forEach(function(e){return t.push(e)}),t},v.prototype.toDictionary=function(e,t){for(var r=new g.Dictionary,n=0;n<this.length;n++)r.add(e(this[n]),t(this[n]));return r},v.prototype.toLookup=function(e,t){var r,n,i=new g.Hashtable;try{for(var a=__values(this),o=a.next();!o.done;o=a.next()){var s=o.value,u=e.apply(t,[s]),l=i.get(u);null==l&&(l=new v,i.set(u,l)),l.push(s)}}catch(e){r={error:e}}finally{try{o&&!o.done&&(n=a.return)&&n.call(a)}finally{if(r)throw r.error}}return i},v.prototype.concat=function(e){var t,r,n,i,a=new v;try{for(var o=__values(this),s=o.next();!s.done;s=o.next()){var u=s.value;a.push(u)}}catch(e){t={error:e}}finally{try{s&&!s.done&&(r=o.return)&&r.call(o)}finally{if(t)throw t.error}}try{for(var l=__values(e),m=l.next();!m.done;m=l.next()){var u=m.value;a.push(u)}}catch(e){n={error:e}}finally{try{m&&!m.done&&(i=l.return)&&i.call(l)}finally{if(n)throw n.error}}return a},v.prototype.aggregate=function(e){for(var t=this[0],r=1;r<this.length;r++)t=e(t,this[r]);return t},v.prototype.aggregate2=function(e,t){for(var r=0;r<this.length;r++)e=t(e,this[r]);return e},v.prototype.count2=function(t,r){null==t&&(t=function(e){return!0});var n=0;return this.forEach(function(e){return t.apply(r,[e])?n++:null}),n},v.prototype.max=function(e){if(null==e&&(e=function(e){return e}),0==this.length)return null;var t=e(this[0]),r;"string"==typeof t&&(r=function(e,t){return 0<=e.stimulsoft.compareTo(t)?e:t}),"number"==typeof t&&(r=Math.max),t instanceof i&&(r=function(e,t){return 0<=i.compare(e,t)?e:t});for(var n=1;n<this.length;n++)t=r(e(this[n]),t);return t},v.prototype.min=function(e){if(null==e&&(e=function(e){return e}),0==this.length)return null;var t=e(this[0]),r;"string"==typeof t&&(r=function(e,t){return e.stimulsoft.compareTo(t)<=0?e:t}),"number"==typeof t&&(r=Math.min),t instanceof i&&(r=function(e,t){return i.compare(e,t)<=0?e:t});for(var n=1;n<this.length;n++)t=r(e(this[n]),t);return t},v.prototype.sum=function(t){null==t&&(t=function(e){return e.stimulsoft.toNumber()});var r=0;return this.forEach(function(e){return r+=t(e)}),r},v.prototype.all=function(e,t){var r,n;null==e&&(e=function(e){return!0});try{for(var i=__values(this),a=i.next();!a.done;a=i.next()){var o=a.value;if(!e.apply(t,[o]))return!1}}catch(e){r={error:e}}finally{try{a&&!a.done&&(n=i.return)&&n.call(i)}finally{if(r)throw r.error}}return!0},v.prototype.any=function(e,t){var r,n;null==e&&(e=function(e){return!0});try{for(var i=__values(this),a=i.next();!a.done;a=i.next()){var o=a.value;if(e.apply(t,[o]))return!0}}catch(e){r={error:e}}finally{try{a&&!a.done&&(n=i.return)&&n.call(i)}finally{if(r)throw r.error}}return!1},v.prototype.contains=function(e){return 0<=this.indexOf(e)},v.prototype.skip=function(e){for(var t=new v,r=e;r<this.length;r++)t.add(this[r]);return t},v.prototype.take=function(e){var t=new v;e>this.length&&(e=this.length);for(var r=0;r<e;r++)t.add(this[r]);return t},v.prototype.defaultIfEmpty=function(){if(0<this.length)return this;return new v([null])},v.prototype.distinct=function(){var t=new v;return this.forEach(function(e){return t.indexOf(e)<0?t.push(e):null}),t},v.prototype.except=function(e){var t,r,n=new v;try{for(var i=__values(this),a=i.next();!a.done;a=i.next()){var o=a.value;-1==e.indexOf(o)&&n.add(o)}}catch(e){t={error:e}}finally{try{a&&!a.done&&(r=i.return)&&r.call(i)}finally{if(t)throw t.error}}return n},v.prototype.union=function(e){var t=new v;return this.forEach(function(e){return t.add(e)}),e.forEach(function(e){return t.add(e)}),t.distinct()},v.prototype.first=function(e,t){var r,n;null==e&&(e=function(e){return!0});try{for(var i=__values(this),a=i.next();!a.done;a=i.next()){var o=a.value;if(e.apply(t,[o]))return o}}catch(e){r={error:e}}finally{try{a&&!a.done&&(n=i.return)&&n.call(i)}finally{if(r)throw r.error}}return null},v.prototype.firstOrDefault=function(e){var t,r;try{for(var n=__values(this),i=n.next();!i.done;i=n.next()){var a=i.value;if(null==e)return a;if(e(a))return a}}catch(e){t={error:e}}finally{try{i&&!i.done&&(r=n.return)&&r.call(n)}finally{if(t)throw t.error}}return null},v.prototype.lastOrDefault=function(){var t,e,r;try{for(var n=__values(this),i=n.next();!i.done;i=n.next())var a,r=i.value}catch(e){t={error:e}}finally{try{i&&!i.done&&(e=n.return)&&e.call(n)}finally{if(t)throw t.error}}return r},v.prototype.whereEqualsTo=function(e,t){return null},v.prototype.whereArrayItemEqualsTo=function(e,t){return null},v.prototype.whereArrayItemStringEqualsTo=function(e,t){return null},v.prototype.whereFirstOrDefaultArrayItemStringEqualsTo=function(e,t){return null},v.toString2=function(e){return null},v.prototype.getArrayItem=function(e){return null},v.prototype.tryCastValueOrFirstDefaultToNullableNumber=function(){return null},v.prototype.tryCastToNullableNumber=function(){return null},v.prototype.tryCastToNumber=function(){return null},v.prototype.tryCastToBool=function(){return null},v.prototype.tryCastToDateTime=function(){return null},v.prototype.tryCastToNullableDateTime=function(){return null},v.prototype.tryCastToTimeSpan=function(){return null},v.prototype.tryCastToNullableTimeSpan=function(){return null},v.prototype.tryCastToString=function(){return null},v.prototype.firstOrDefaultAsNullableNumber=function(){return null},v.prototype.firstOrDefaultAsNumber=function(){return null},v.getValueOrFirstOrDefault=function(e){return null},v.add2=function(e,t){return null},v.sub=function(e,t){return null},v.mult=function(e,t){return null},v.bitwiseAnd=function(e,t){return null},v.bitwiseXOr=function(e,t){return null},v.bitwiseOr=function(e,t){return null},v.div=function(e,t){return null},e=v,g.List=e,n.StiObject.disableAllEnumerable(e.prototype,new e)}(Stimulsoft=Stimulsoft||{}),function(e){var t,r,n,e,i;function a(){return null!==i&&i.apply(this,arguments)||this}r=t=e.System||(e.System={}),e=n=r.Collections||(r.Collections={}),i=e.List,__extends(a,i),r=a,e.Grouping=r}(Stimulsoft=Stimulsoft||{}),function(e){var t,e,r,n;e=t=e.System||(e.System={}),n=r=e.Collections||(e.Collections={})}(Stimulsoft=Stimulsoft||{}),function(e){var t,e,r,n;e=t=e.System||(e.System={}),n=r=e.Collections||(e.Collections={})}(Stimulsoft=Stimulsoft||{}),function(e){var t,r,n;function i(e){this.typeName=e}(r=t=e.System||(e.System={})).Interface=i}(Stimulsoft=Stimulsoft||{}),function(e){var t,r,n,i;r=t=e.System||(e.System={}),(i=n=r.Collections||(r.Collections={})).IEnumerator=new e.System.Interface("IEnumerator")}(Stimulsoft=Stimulsoft||{}),function(e){var t,e,r,n;e=t=e.System||(e.System={}),n=r=e.Collections||(e.Collections={})}(Stimulsoft=Stimulsoft||{}),function(e){var t,r,n,e;function i(){}r=t=e.System||(e.System={}),e=n=r.Collections||(r.Collections={}),i.prototype.dequeue=function(){return null},i.prototype.enqueue=function(e){},Object.defineProperty(i.prototype,"count",{get:function(){return null},enumerable:!1,configurable:!0}),i.prototype.clear=function(){},r=i,e.Queue=r}(Stimulsoft=Stimulsoft||{}),function(e){var t,r,n,e;function i(){}r=t=e.System||(e.System={}),e=n=r.Collections||(r.Collections={}),i.prototype.pop=function(){return null},i.prototype.push=function(e){},i.prototype.clear=function(){},r=i,e.Stack=r}(Stimulsoft=Stimulsoft||{}),function(e){var t,e,r;e=t=e.System||(e.System={}),function(e){var t=(r.prototype.doReset=function(){var e=this.key.sigBytes/4;this.nRounds=e+6;var t=4*(this.nRounds+1);this.keySchedule=[];for(var r=0,n;r<t;r++){r<e?this.keySchedule[r]=this.key.words[r]:(n=this.keySchedule[r-1],r%e?6<e&&r%e==4&&(n=this.SBOX[n>>>24]<<24|this.SBOX[n>>>16&255]<<16|this.SBOX[n>>>8&255]<<8|this.SBOX[255&n]):(n=n<<8|n>>>24,n=this.SBOX[n>>>24]<<24|this.SBOX[n>>>16&255]<<16|this.SBOX[n>>>8&255]<<8|this.SBOX[255&n],n^=this.RCON[r/e|0]<<24),this.keySchedule[r]=this.keySchedule[r-e]^n)}this.invKeySchedule=[];for(var i=0;i<t;i++){var r=t-i,n=void 0;n=i%4?this.keySchedule[r]:this.keySchedule[r-4],this.invKeySchedule[i]=i<4||r<=4?n:this.INV_SUB_MIX_0[this.SBOX[n>>>24]]^this.INV_SUB_MIX_1[this.SBOX[n>>>16&255]]^this.INV_SUB_MIX_2[this.SBOX[n>>>8&255]]^this.INV_SUB_MIX_3[this.SBOX[255&n]]}},r.prototype.process=function(){var e=this.data.sigBytes/this.blockSize*4,e,t=(e=Math.ceil(e))*this.blockSize,e=Math.min(4*t,this.data.sigBytes),r;if(t){for(var n=0;n<t;n+=this.blockSize)this.processBlock(this.data.words,n);r=this.data.words.splice(0,t),this.data.sigBytes-=e}return new u(r,e)},r.prototype.processBlock=function(e,t){var r=e.slice(t,t+this.blockSize);this.decryptBlock(e,t),this.xorBlock.call(this,e,t,this.blockSize),this.prevBlock=r},r.prototype.xorBlock=function(e,t,r){var n;this.iv?(n=this.iv,this.iv=void 0):n=this.prevBlock;for(var i=0;i<r;i++)e[t+i]^=n[i]},r.prototype.pkcs7pad=function(e){for(var t=4*this.blockSize,r=t-e.sigBytes%t,n=r<<24|r<<16|r<<8|r,i=[],a=0;a<r;a+=4)i.push(n);var t=new u(i,r);e.concat(t)},r.prototype.pkcs7Unpad=function(e){var t=255&e.words[e.sigBytes-1>>>2];e.sigBytes-=t},r.prototype.encryptBlock=function(e,t){this.doCryptBlock(e,t,this.keySchedule,this.SUB_MIX_0,this.SUB_MIX_1,this.SUB_MIX_2,this.SUB_MIX_3,this.SBOX)},r.prototype.decryptBlock=function(e,t){var r=e[t+1];e[t+1]=e[t+3],e[t+3]=r,this.doCryptBlock(e,t,this.invKeySchedule,this.INV_SUB_MIX_0,this.INV_SUB_MIX_1,this.INV_SUB_MIX_2,this.INV_SUB_MIX_3,this.INV_SBOX),r=e[t+1],e[t+1]=e[t+3],e[t+3]=r},r.prototype.doCryptBlock=function(e,t,r,n,i,a,o,s){for(var u=e[t]^r[0],l=e[t+1]^r[1],m=e[t+2]^r[2],y=e[t+3]^r[3],d=4,h=1;h<this.nRounds;h++)var c=n[u>>>24]^i[l>>>16&255]^a[m>>>8&255]^o[255&y]^r[d++],f=n[l>>>24]^i[m>>>16&255]^a[y>>>8&255]^o[255&u]^r[d++],p=n[m>>>24]^i[y>>>16&255]^a[u>>>8&255]^o[255&l]^r[d++],M=n[y>>>24]^i[u>>>16&255]^a[l>>>8&255]^o[255&m]^r[d++],u=c,l=f,m=p,y=M;var b=(s[u>>>24]<<24|s[l>>>16&255]<<16|s[m>>>8&255]<<8|s[255&y])^r[d++],g=(s[l>>>24]<<24|s[m>>>16&255]<<16|s[y>>>8&255]<<8|s[255&u])^r[d++],v=(s[m>>>24]<<24|s[y>>>16&255]<<16|s[u>>>8&255]<<8|s[255&l])^r[d++],s=(s[y>>>24]<<24|s[u>>>16&255]<<16|s[l>>>8&255]<<8|s[255&m])^r[d++];e[t]=b,e[t+1]=g,e[t+2]=v,e[t+3]=s},r.encrypt=function(e,t){return(new r).encrypt(o.parse(e),o.parse(t)).toString()},r.prototype.encrypt=function(e,t){this.key=t,this.data=new u,this.nDataBytes=0,this.doReset();var t=i.parse("0000000000000000"),r;return this.iv=t&&t.words,this.data.concat(e),this.nDataBytes+=e.sigBytes,this.pkcs7pad(this.data),this.process()},r.decrypt=function(e,t){return(new r).decrypt(o.parse(e),o.parse(t)).toString()},r.prototype.decrypt=function(e,t){this.key=t,this.data=new u,this.nDataBytes=0,this.doReset();var t=i.parse("0000000000000000");this.iv=t&&t.words,this.data.concat(e),this.nDataBytes+=e.sigBytes;var e=this.process();return this.pkcs7Unpad(e),e},r);function r(){this.blockSize=128/32,this.SBOX=[],this.INV_SBOX=[],this.SUB_MIX_0=[],this.SUB_MIX_1=[],this.SUB_MIX_2=[],this.SUB_MIX_3=[],this.INV_SUB_MIX_0=[],this.INV_SUB_MIX_1=[],this.INV_SUB_MIX_2=[],this.INV_SUB_MIX_3=[],this.RCON=[0,1,2,4,8,16,32,64,128,27,54];for(var e=[],t=0;t<256;t++)e[t]=t<128?t<<1:t<<1^283;for(var r=0,n=0,t=0;t<256;t++){var i,i=(i=n^n<<1^n<<2^n<<3^n<<4)>>>8^255&i^99;this.SBOX[r]=i;var a=e[this.INV_SBOX[i]=r],o=e[a],s=e[o],u=257*e[i]^16843008*i;this.SUB_MIX_0[r]=u<<24|u>>>8,this.SUB_MIX_1[r]=u<<16|u>>>16,this.SUB_MIX_2[r]=u<<8|u>>>24,this.SUB_MIX_3[r]=u,u=16843009*s^65537*o^257*a^16843008*r,this.INV_SUB_MIX_0[i]=u<<24|u>>>8,this.INV_SUB_MIX_1[i]=u<<16|u>>>16,this.INV_SUB_MIX_2[i]=u<<8|u>>>24,this.INV_SUB_MIX_3[i]=u,r?(r=a^e[e[e[s^a]]],n^=e[e[n]]):r=n=1}}e.AES=t;var u=(n.prototype.toString=function(){for(var e=[],t=0;t<this.sigBytes;t++){var r=this.words[t>>>2]>>>24-t%4*8&255;e.push(String.fromCharCode(r))}return e.join("").stimulsoft.fromUnicodeString()},n.prototype.concat=function(e){var t;if(this.clamp(),this.sigBytes%4)for(var r=0;r<e.sigBytes;r++){var n=e.words[r>>>2]>>>24-r%4*8&255;this.words[this.sigBytes+r>>>2]|=n<<24-(this.sigBytes+r)%4*8}else if(65535<e.words.length)for(var r=0;r<e.sigBytes;r+=4)this.words[this.sigBytes+r>>>2]=e.words[r>>>2];else(t=this.words.push).call.apply(t,__spread([this.words],e.words));return this.sigBytes+=e.sigBytes,this},n.prototype.clamp=function(){this.words[this.sigBytes>>>2]&=4294967295<<32-this.sigBytes%4*8,this.words.length=Math.ceil(this.sigBytes/4)},n);function n(e,t){void 0===e&&(e=null),void 0===t&&(t=null),e=this.words=e||[],this.sigBytes=null!=t?t:4*e.length}var i=(a.parse=function(e){for(var t=[],r=0;r<e.length;r+=2)t[r>>>3]|=parseInt(e.substr(r,2),16)<<24-r%8*4;return new u(t,e.length/2)},a);function a(){}var o=(l.parse=function(e){var t=e.length,r=l.map.charAt(64),r;!r||-1!=(r=e.indexOf(r))&&(t=r);for(var n=[],i=0,a=0,o,s;a<t;a++){a%4&&(o=this.map.indexOf(e.charAt(a-1))<<a%4*2,s=this.map.indexOf(e.charAt(a))>>>6-a%4*2,n[i>>>2]|=(o|s)<<24-i%4*8,i++)}return new u(n,i)},l.map="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=",l);function l(){}}(r=e.Crypt||(e.Crypt={}))}(Stimulsoft=Stimulsoft||{}),function(e){var t,e,r;e=t=e.System||(e.System={}),function(e){var r=(M.staticConstructor=function(){for(var e="0".charCodeAt(0),t=0;t<=9;++t)M.BI_RC[e++]=t;e="a".charCodeAt(0);for(var t=10;t<36;++t)M.BI_RC[e++]=t;e="A".charCodeAt(0);for(var t=10;t<36;++t)M.BI_RC[e++]=t},M.fromInt=function(e){var t=new M;return t.fromInt(e),t},Object.defineProperty(M.prototype,"DV",{get:function(){return 1<<M.dbits},enumerable:!1,configurable:!0}),Object.defineProperty(M.prototype,"DB",{get:function(){return M.dbits},enumerable:!1,configurable:!0}),Object.defineProperty(M.prototype,"DM",{get:function(){return(1<<M.dbits)-1},enumerable:!1,configurable:!0}),Object.defineProperty(M.prototype,"FV",{get:function(){return Math.pow(2,this.BI_FP)},enumerable:!1,configurable:!0}),Object.defineProperty(M.prototype,"F1",{get:function(){return this.BI_FP-M.dbits},enumerable:!1,configurable:!0}),Object.defineProperty(M.prototype,"F2",{get:function(){return 2*M.dbits-this.BI_FP},enumerable:!1,configurable:!0}),M.prototype.am=function(e,t,r,n,i,a){var o=16383&t,s=t>>14;while(0<=--a){var u=16383&this[e],l=this[e++]>>14,m=s*u+l*o,u;i=((u=o*u+((16383&m)<<14)+r[n]+i)>>28)+(m>>14)+s*l,r[n++]=268435455&u}return i},M.int2char=function(e){return(new M).int2char(e)},M.prototype.int2char=function(e){return M.BI_RM.charAt(e)},M.prototype.intAt=function(e,t){var t=M.BI_RC[e.charCodeAt(t)];return null==t?-1:t},M.prototype.copyTo=function(e){for(var t=this.t-1;0<=t;--t)e[t]=this[t];e.t=this.t,e.s=this.s},M.prototype.fromInt=function(e){this.t=1,this.s=e<0?-1:0,0<e?this[0]=e:e<-1?this[0]=e+this.DV:this.t=0},M.fromString=function(e,t){void 0===t&&(t=256);var r=new M;return r.fromString(e,t),r},M.prototype.fromString=function(e,t){var r;if(void 0===t&&(t=256),16==t)r=4;else if(8==t)r=3;else if(256==t)r=8;else if(2==t)r=1;else if(32==t)r=5;else{if(4!=t)return void this.fromRadix(e,t);r=2}this.t=0,this.s=0;var n=e.length,i=!1,a=0;while(0<=--n){var o=8==r?255&Number(e[n]):this.intAt(e,n);if(o<0){"-"==e.charAt(n)&&(i=!0);continue}i=!1,0==a?this[this.t++]=o:a+r>this.DB?(this[this.t-1]|=(o&(1<<this.DB-a)-1)<<a,this[this.t++]=o>>this.DB-a):this[this.t-1]|=o<<a,(a+=r)>=this.DB&&(a-=this.DB)}8==r&&0!=(128&Number(e[0]))&&(this.s=-1,0<a&&(this[this.t-1]|=(1<<this.DB-a)-1<<a)),this.clamp(),i&&M.ZERO.subTo(this,this)},M.prototype.clamp=function(){var e=this.s&this.DM;while(0<this.t&&this[this.t-1]==e)--this.t},M.prototype.toString=function(e){if(this.s<0)return"-"+this.negate().toString(e);var t;if(2==e)t=1;else if(4==e)t=2;else if(8==e)t=3;else if(16==e)t=4;else{if(32!=e)return this.toRadix(e);t=5}var r=(1<<t)-1,n,i=!1,a="",o=this.t,s=this.DB-o*this.DB%t;if(0<o--){s<this.DB&&0<(n=this[o]>>s)&&(i=!0,a=this.int2char(n));while(0<=o)s<t?(n=(this[o]&(1<<s)-1)<<t-s,n|=this[--o]>>(s+=this.DB-t)):(n=this[o]>>(s-=t)&r,s<=0&&(s+=this.DB,--o)),0<n&&(i=!0),i&&(a+=this.int2char(n))}return i?a:"0"},M.prototype.negate=function(){var e=new M;return M.ZERO.subTo(this,e),e},M.prototype.abs=function(){return this.s<0?this.negate():this},M.prototype.compareTo=function(e){var t=this.s-e.s;if(0!=t)return t;var r=this.t,t;if(0!=(t=r-e.t))return this.s<0?-t:t;while(0<=--r)if(0!=(t=this[r]-e[r]))return t;return 0},M.prototype.nbits=function(e){var t=1,r;return 0!=(r=e>>>16)&&(e=r,t+=16),0!=(r=e>>8)&&(e=r,t+=8),0!=(r=e>>4)&&(e=r,t+=4),0!=(r=e>>2)&&(e=r,t+=2),0!=(r=e>>1)&&(e=r,t+=1),t},M.prototype.bitLength=function(){if(this.t<=0)return 0;return this.DB*(this.t-1)+this.nbits(this[this.t-1]^this.s&this.DM)},M.prototype.dlShiftTo=function(e,t){for(var r=this.t-1;0<=r;--r)t[r+e]=this[r];for(var r=e-1;0<=r;--r)t[r]=0;t.t=this.t+e,t.s=this.s},M.prototype.drShiftTo=function(e,t){for(var r=e;r<this.t;++r)t[r-e]=this[r];t.t=Math.max(this.t-e,0),t.s=this.s},M.prototype.lShiftTo=function(e,t){for(var r=e%this.DB,n=this.DB-r,i=(1<<n)-1,a=Math.floor(e/this.DB),o=this.s<<r&this.DM,s=this.t-1;0<=s;--s)t[s+a+1]=this[s]>>n|o,o=(this[s]&i)<<r;for(var s=a-1;0<=s;--s)t[s]=0;t[a]=o,t.t=this.t+a+1,t.s=this.s,t.clamp()},M.prototype.rShiftTo=function(e,t){t.s=this.s;var r=Math.floor(e/this.DB);if(r>=this.t)return void(t.t=0);var n=e%this.DB,i=this.DB-n,a=(1<<n)-1;t[0]=this[r]>>n;for(var o=r+1;o<this.t;++o)t[o-r-1]|=(this[o]&a)<<i,t[o-r]=this[o]>>n;0<n&&(t[this.t-r-1]|=(this.s&a)<<i),t.t=this.t-r,t.clamp()},M.prototype.subTo=function(e,t){var r=0,n=0,i=Math.min(e.t,this.t);while(r<i)n+=this[r]-e[r],t[r++]=n&this.DM,n>>=this.DB;if(e.t<this.t){n-=e.s;while(r<this.t)n+=this[r],t[r++]=n&this.DM,n>>=this.DB;n+=this.s}else{n+=this.s;while(r<e.t)n-=e[r],t[r++]=n&this.DM,n>>=this.DB;n-=e.s}t.s=n<0?-1:0,n<-1?t[r++]=this.DV+n:0<n&&(t[r++]=n),t.t=r,t.clamp()},M.prototype.multiplyTo=function(e,t){var r=this.abs(),n=e.abs(),i=r.t;t.t=i+n.t;while(0<=--i)t[i]=0;for(var a=0;a<n.t;++a)t[a+r.t]=r.am(0,n[a],t,a,0,r.t);t.s=0,t.clamp(),this.s!=e.s&&M.ZERO.subTo(t,t)},M.prototype.squareTo=function(e){var t=this.abs(),r=e.t=2*t.t;while(0<=--r)e[r]=0;for(r=0;r<t.t-1;++r){var n=t.am(r,t[r],e,2*r,0,1);(e[r+t.t]+=t.am(r+1,2*t[r],e,2*r+1,n,t.t-r-1))>=t.DV&&(e[r+t.t]-=t.DV,e[r+t.t+1]=1)}0<e.t&&(e[e.t-1]+=t.am(r,t[r],e,2*r,0,1)),e.s=0,e.clamp()},M.prototype.divRemTo=function(e,t,r){var n=e.abs();if(n.t<=0)return;var i=this.abs();if(i.t<n.t)return null!=t&&M.fromInt(0),void(null!=r&&this.copyTo(r));null==r&&(r=new M);var a=new M,o=this.s,s=e.s,e=this.DB-this.nbits(n[n.t-1]);0<e?(n.lShiftTo(e,a),i.lShiftTo(e,r)):(n.copyTo(a),i.copyTo(r));var u=a.t,l=a[u-1];if(0==l)return;var i=l*(1<<this.F1)+(1<u?a[u-2]>>this.F2:0),m=this.FV/i,y=(1<<this.F1)/i,d=1<<this.F2,h=r.t,c=h-u,f=null==t?new M:t;a.dlShiftTo(c,f),0<=r.compareTo(f)&&(r[r.t++]=1,r.subTo(f,r)),M.ONE.dlShiftTo(u,f),f.subTo(a,a);while(a.t<u)a[a.t++]=0;while(0<=--c){var p=r[--h]==l?this.DM:Math.floor(r[h]*m+(r[h-1]+d)*y);if((r[h]+=a.am(0,p,r,c,0,u))<p){a.dlShiftTo(c,f),r.subTo(f,r);while(r[h]<--p)r.subTo(f,r)}}null!=t&&(r.drShiftTo(u,t),o!=s&&M.ZERO.subTo(t,t)),r.t=u,r.clamp(),0<e&&r.rShiftTo(e,r),o<0&&M.ZERO.subTo(r,r)},M.prototype.mod=function(e){var t=new M;return this.abs().divRemTo(e,null,t),this.s<0&&0<t.compareTo(M.ZERO)&&e.subTo(t,t),t},M.prototype.invDigit=function(){if(this.t<1)return 0;var e=this[0];if(0==(1&e))return 0;var t=3&e,t;return 0<(t=(t=(t=(t=t*(2-(15&e)*t)&15)*(2-(255&e)*t)&255)*(2-((65535&e)*t&65535))&65535)*(2-e*t%this.DV)%this.DV)?this.DV-t:-t},M.prototype.isEven=function(){return 0==(0<this.t?1&this[0]:this.s)},M.prototype.exp=function(e,t){if(4294967295<e||e<1)return M.ONE;var r=new M,n=new M,i=t.convert(this),a=this.nbits(e)-1,o,r,n;i.copyTo(r);while(0<=--a){t.sqrTo(r,n),0<(e&1<<a)?t.mulTo(n,i,r):(o=r,r=n,n=o)}return t.revert(r)},M.prototype.modPowInt=function(e,t){var t,t=new(e<256||t.isEven()?p:g)(t);return this.exp(e,t)},M.prototype.clone=function(){var e=new M;return this.copyTo(e),e},M.prototype.intValue=function(){if(this.s<0){if(1==this.t)return this[0]-this.DV;if(0==this.t)return-1}else{if(1==this.t)return this[0];if(0==this.t)return 0}return(this[1]&(1<<32-this.DB)-1)<<this.DB|this[0]},M.prototype.byteValue=function(){return 0==this.t?this.s:this[0]<<24>>24},M.prototype.shortValue=function(){return 0==this.t?this.s:this[0]<<16>>16},M.prototype.chunkSize=function(e){return Math.floor(Math.LN2*this.DB/Math.log(e))},M.prototype.signum=function(){return this.s<0?-1:this.t<=0||1==this.t&&this[0]<=0?0:1},M.prototype.toRadix=function(e){if(null==e&&(e=10),0==this.signum()||e<2||36<e)return"0";var t=this.chunkSize(e),r=Math.pow(e,t),n=M.fromInt(r),i=new M,a=new M,o="";this.divRemTo(n,i,a);while(0<i.signum())o=(r+a.intValue()).toString(e).substr(1)+o,i.divRemTo(n,i,a);return a.intValue().toString(e)+o},M.prototype.fromRadix=function(e,t){this.fromInt(0),null==t&&(t=10);for(var r=this.chunkSize(t),n=Math.pow(t,r),i=!1,a=0,o=0,s=0;s<e.length;++s){var u=this.intAt(e,s);if(u<0){"-"==e.charAt(s)&&0==this.signum()&&(i=!0);continue}o=t*o+u,++a>=r&&(this.multiply2(n),this.addOffset2(o,0),o=a=0)}0<a&&(this.multiply2(Math.pow(t,a)),this.addOffset2(o,0)),i&&M.ZERO.subTo(this,this)},M.fromNumber=function(e,t,r){var n=new M;return n.fromNumber(e,t,r),n},M.prototype.fromNumber=function(e,t,r){if(e<2)this.fromInt(1);else{this.fromNumber2(e,r),this.testBit(e-1)||this.bitwiseTo(M.ONE.shiftLeft(e-1),this.op_or,this),this.isEven()&&this.addOffset2(1,0);while(!this.isProbablePrime(t))this.addOffset2(2,0),this.bitLength()>e&&this.subTo(M.ONE.shiftLeft(e-1),this)}},M.prototype.fromNumber2=function(e,t){var r=[],n=7&e;r.length=(e>>3)+1,t.nextBytes(r),0<n?r[0]&=(1<<n)-1:r[0]=0,this.fromString(r,256)},M.prototype.toByteArray=function(){var e=this.t,t=[];t[0]=this.s;var r=this.DB-e*this.DB%8,n,i=0;if(0<e--){r<this.DB&&(n=this[e]>>r)!=(this.s&this.DM)>>r&&(t[i++]=n|this.s<<this.DB-r);while(0<=e)r<8?(n=(this[e]&(1<<r)-1)<<8-r,n|=this[--e]>>(r+=this.DB-8)):(n=this[e]>>(r-=8)&255,r<=0&&(r+=this.DB,--e)),0!=(128&n)&&(n|=-256),0==i&&(128&this.s)!=(128&n)&&++i,(0<i||n!=this.s)&&(t[i++]=n)}return t},M.prototype.bitwiseTo=function(e,t,r){for(var n,i=Math.min(e.t,this.t),a=0;a<i;++a)r[a]=t(this[a],e[a]);if(e.t<this.t){n=e.s&this.DM;for(var a=i;a<this.t;++a)r[a]=t(this[a],n);r.t=this.t}else{n=this.s&this.DM;for(var a=i;a<e.t;++a)r[a]=t(n,e[a]);r.t=e.t}r.s=t(this.s,e.s),r.clamp()},M.prototype.op_or=function(e,t){return e|t},M.prototype.shiftLeft=function(e){var t=new M;return e<0?this.rShiftTo(-e,t):this.lShiftTo(e,t),t},M.prototype.shiftRight=function(e){var t=new M;return e<0?this.lShiftTo(-e,t):this.rShiftTo(e,t),t},M.prototype.lbit=function(e){if(0==e)return-1;var t=0;return 0==(65535&e)&&(e>>=16,t+=16),0==(255&e)&&(e>>=8,t+=8),0==(15&e)&&(e>>=4,t+=4),0==(3&e)&&(e>>=2,t+=2),0==(1&e)&&++t,t},M.prototype.getLowestSetBit=function(){for(var e=0;e<this.t;++e)if(0!=this[e])return e*this.DB+this.lbit(this[e]);if(this.s<0)return this.t*this.DB;return-1},M.prototype.testBit=function(e){var t=Math.floor(e/this.DB);if(t>=this.t)return 0!=this.s;return 0!=(this[t]&1<<e%this.DB)},M.prototype.addTo=function(e,t){var r=0,n=0,i=Math.min(e.t,this.t);while(r<i)n+=this[r]+e[r],t[r++]=n&this.DM,n>>=this.DB;if(e.t<this.t){n+=e.s;while(r<this.t)n+=this[r],t[r++]=n&this.DM,n>>=this.DB;n+=this.s}else{n+=this.s;while(r<e.t)n+=e[r],t[r++]=n&this.DM,n>>=this.DB;n+=e.s}t.s=n<0?-1:0,0<n?t[r++]=n:n<-1&&(t[r++]=this.DV+n),t.t=r,t.clamp()},M.prototype.add=function(e){var t=new M;return this.addTo(e,t),t},M.prototype.subtract=function(e){var t=new M;return this.subTo(e,t),t},M.prototype.multiply=function(e){var t=new M;return this.multiplyTo(e,t),t},M.prototype.square=function(){var e=new M;return this.squareTo(e),e},M.prototype.divide=function(e){var t=new M;return this.divRemTo(e,t,null),t},M.prototype.remainder=function(e){var t=new M;return this.divRemTo(e,null,t),t},M.prototype.multiply2=function(e){this[this.t]=this.am(0,e-1,this,0,0,this.t),++this.t,this.clamp()},M.prototype.addOffset2=function(e,t){if(0==e)return;while(this.t<=t)this[this.t++]=0;this[t]+=e;while(this[t]>=this.DV)this[t]-=this.DV,++t>=this.t&&(this[this.t++]=0),++this[t]},M.prototype.multiplyLowerTo=function(e,t,r){var n=Math.min(this.t+e.t,t);r.s=0,r.t=n;while(0<n)r[--n]=0;for(var i=r.t-this.t;n<i;++n)r[n+this.t]=this.am(0,e[n],r,n,0,this.t);for(var i=Math.min(e.t,t);n<i;++n)this.am(0,e[n],r,n,0,t-n);r.clamp()},M.prototype.multiplyUpperTo=function(e,t,r){--t;var n=r.t=this.t+e.t-t;r.s=0;while(0<=--n)r[n]=0;for(var i=Math.max(t-this.t,0);i<e.t;++i)r[this.t+i-t]=this.am(t-i,e[i],r,0,0,this.t+i-t);r.clamp(),r.drShiftTo(1,r)},M.prototype.modPow=function(e,t){var r=e.bitLength(),n,i=M.fromInt(1),a;if(r<=0)return i;n=r<18?1:r<48?3:r<144?4:r<768?5:6,a=new(r<8?p:t.isEven()?b:g)(t);var o=[],s=3,u=n-1,l=(1<<n)-1;if(o[1]=a.convert(this),1<n){var m=new M;a.sqrTo(o[1],m);while(s<=l)o[s]=new M,a.mulTo(m,o[s-2],o[s]),s+=2}var y=e.t-1,d,h=!0,c=new M,f,r=this.nbits(e[y])-1;while(0<=y){u<=r?d=e[y]>>r-u&l:(d=(e[y]&(1<<r+1)-1)<<u-r,0<y&&(d|=e[y-1]>>this.DB+r-u)),s=n;while(0==(1&d))d>>=1,--s;if((r-=s)<0&&(r+=this.DB,--y),h)o[d].copyTo(i),h=!1;else{while(1<s)a.sqrTo(i,c),a.sqrTo(c,i),s-=2;0<s?a.sqrTo(i,c):(f=i,i=c,c=f),a.mulTo(c,o[d],i)}while(0<=y&&0==(e[y]&1<<r))a.sqrTo(i,c),f=i,i=c,c=f,--r<0&&(r=this.DB-1,--y)}return a.revert(i)},M.prototype.gcd=function(e){var t=this.s<0?this.negate():this.clone(),r=e.s<0?e.negate():e.clone(),n,t,r;t.compareTo(r)<0&&(n=t,t=r,r=n);var i=t.getLowestSetBit(),n=r.getLowestSetBit();if(n<0)return t;i<n&&(n=i),0<n&&(t.rShiftTo(n,t),r.rShiftTo(n,r));while(0<t.signum())0<(i=t.getLowestSetBit())&&t.rShiftTo(i,t),0<(i=r.getLowestSetBit())&&r.rShiftTo(i,r),0<=t.compareTo(r)?(t.subTo(r,t),t.rShiftTo(1,t)):(r.subTo(t,r),r.rShiftTo(1,r));return 0<n&&r.lShiftTo(n,r),r},M.prototype.modInt=function(e){if(e<=0)return 0;var t=this.DV%e,r=this.s<0?e-1:0;if(0<this.t){if(0==t)r=this[0]%e;else for(var n=this.t-1;0<=n;--n)r=(t*r+this[n])%e;return r}return 0},M.prototype.modInverse=function(e){var t=e.isEven();if(this.isEven()&&t||0==e.signum())return M.ZERO;var r=e.clone(),n=this.clone(),i=M.fromInt(1),a=M.fromInt(0),o=M.fromInt(0),s=M.fromInt(1);while(0!=r.signum()){while(r.isEven())r.rShiftTo(1,r),t?(i.isEven()&&a.isEven()||(i.addTo(this,i),a.subTo(e,a)),i.rShiftTo(1,i)):a.isEven()||a.subTo(e,a),a.rShiftTo(1,a);while(n.isEven())n.rShiftTo(1,n),t?(o.isEven()&&s.isEven()||(o.addTo(this,o),s.subTo(e,s)),o.rShiftTo(1,o)):s.isEven()||s.subTo(e,s),s.rShiftTo(1,s);0<=r.compareTo(n)?(r.subTo(n,r),t&&i.subTo(o,i),a.subTo(s,a)):(n.subTo(r,n),t&&o.subTo(i,o),s.subTo(a,s))}if(0!=n.compareTo(M.ONE))return M.ZERO;if(0<=s.compareTo(e))return s.subtract(e);if(!(s.signum()<0))return s;return s.addTo(e,s),s.signum()<0?s.add(e):s},M.prototype.isProbablePrime=function(e){var t,r=this.abs();if(1==r.t&&r[0]<=M.lowprimes[M.lowprimes.length-1]){for(var n=0;n<M.lowprimes.length;++n)if(r[0]==M.lowprimes[n])return!0;return!1}if(r.isEven())return!1;t=1;while(t<M.lowprimes.length){var i=M.lowprimes[t],a=t+1;while(a<M.lowprimes.length&&i<M.lplim)i*=M.lowprimes[a++];i=r.modInt(i);while(t<a)if(i%M.lowprimes[t++]==0)return!1}return r.millerRabin(e)},M.prototype.millerRabin=function(e){var t=this.subtract(M.ONE),r=t.getLowestSetBit();if(r<=0)return!1;var n=t.shiftRight(r);(e=e+1>>1)>M.lowprimes.length&&(e=M.lowprimes.length);for(var i=new M,a=0;a<e;++a){i.fromInt(M.lowprimes[Math.floor(Math.random()*M.lowprimes.length)]);var o=i.modPow(n,this);if(0!=o.compareTo(M.ONE)&&0!=o.compareTo(t)){var s=1;while(s++<r&&0!=o.compareTo(t))if(0==(o=o.modPowInt(2,this)).compareTo(M.ONE))return!1;if(0!=o.compareTo(t))return!1}}return!0},M.BI_RM="0123456789abcdefghijklmnopqrstuvwxyz",M.BI_RC=[],M.j_lm=15715070==(16777215&(M.canary=0xdeadbeefcafe)),M.dbits=28,M.lplim=(1<<26)/(M.lowprimes=[2,3,5,7,11,13,17,19,23,29,31,37,41,43,47,53,59,61,67,71,73,79,83,89,97,101,103,107,109,113,127,131,137,139,149,151,157,163,167,173,179,181,191,193,197,199,211,223,227,229,233,239,241,251,257,263,269,271,277,281,283,293,307,311,313,317,331,337,347,349,353,359,367,373,379,383,389,397,401,409,419,421,431,433,439,443,449,457,461,463,467,479,487,491,499,503,509,521,523,541,547,557,563,569,571,577,587,593,599,601,607,613,617,619,631,641,643,647,653,659,661,673,677,683,691,701,709,719,727,733,739,743,751,757,761,769,773,787,797,809,811,821,823,827,829,839,853,857,859,863,877,881,883,887,907,911,919,929,937,941,947,953,967,971,977,983,991,997])[M.lowprimes.length-1],M.ZERO=M.fromInt(0),M.ONE=M.fromInt(1),M);function M(){this.BI_FP=52}e.BigInteger=r;var p=(t.prototype.convert=function(e){return e.s<0||0<=e.compareTo(this.m)?e.mod(this.m):e},t.prototype.revert=function(e){return e},t.prototype.reduce=function(e){e.divRemTo(this.m,null,e)},t.prototype.mulTo=function(e,t,r){e.multiplyTo(t,r),this.reduce(r)},t.prototype.sqrTo=function(e,t){e.squareTo(t),this.reduce(t)},t);function t(e){this.m=e}var b=(__extends(i,n=p),i.prototype.convert=function(e){if(e.s<0||e.t>2*this.m.t)return e.mod(this.m);if(e.compareTo(this.m)<0)return e;var t=new r;return e.copyTo(t),this.reduce(t),t},i.prototype.revert=function(e){return e},i.prototype.reduce=function(e){e.drShiftTo(this.m.t-1,this.r2),e.t>this.m.t+1&&(e.t=this.m.t+1,e.clamp()),this.mu.multiplyUpperTo(this.r2,this.m.t+1,this.q3),this.m.multiplyLowerTo(this.q3,this.m.t+1,this.r2);while(e.compareTo(this.r2)<0)e.addOffset2(1,this.m.t+1);e.subTo(this.r2,e);while(0<=e.compareTo(this.m))e.subTo(this.m,e)},i.prototype.sqrTo=function(e,t){e.squareTo(t),this.reduce(t)},i.prototype.mulTo=function(e,t,r){e.multiplyTo(t,r),this.reduce(r)},i),n;function i(e){var t=n.call(this,e)||this;return t.r2=new r,t.q3=new r,t.r2=new r,t.q3=new r,r.ONE.dlShiftTo(2*e.t,t.r2),t.mu=t.r2.divide(e),t}var g=(__extends(o,a=p),o.prototype.convert=function(e){var t=new r;return e.abs().dlShiftTo(this.m.t,t),t.divRemTo(this.m,null,t),e.s<0&&0<t.compareTo(r.ZERO)&&this.m.subTo(t,t),t},o.prototype.revert=function(e){var t=new r;return e.copyTo(t),this.reduce(t),t},o.prototype.reduce=function(e){while(e.t<=this.mt2)e[e.t++]=0;for(var t=0;t<this.m.t;++t){var r=32767&e[t],n=r*this.mpl+((r*this.mph+(e[t]>>15)*this.mpl&this.um)<<15)&e.DM,r;e[r=t+this.m.t]+=this.m.am(0,n,e,t,0,this.m.t);while(e[r]>=e.DV)e[r]-=e.DV,e[++r]++}e.clamp(),e.drShiftTo(this.m.t,e),0<=e.compareTo(this.m)&&e.subTo(this.m,e)},o.prototype.montSqrTo=function(e,t){e.squareTo(t),this.reduce(t)},o.prototype.montMulTo=function(e,t,r){e.multiplyTo(t,r),this.reduce(r)},o),a;function o(e){var t=a.call(this,e)||this;return t.mp=e.invDigit(),t.mpl=32767&t.mp,t.mph=t.mp>>15,t.um=(1<<e.DB-15)-1,t.mt2=2*e.t,t}var s=(__extends(l,u=p),l.prototype.nop=function(e){return e},l.prototype.mulTo=function(e,t,r){e.multiplyTo(t,r)},l.prototype.sqrTo=function(e,t){e.squareTo(t)},l),u;function l(e){return u.call(this,e)||this}r.staticConstructor()}(r=e.Crypt||(e.Crypt={}))}(Stimulsoft=Stimulsoft||{}),function(e){var t,e,r,u;function n(){this.n=null,this.e=65537,this.d=null,this.p=null,this.q=null,this.dmp1=null,this.dmq1=null,this.coeff=null,this.n=null,this.e=0,this.d=null,this.p=null,this.q=null,this.dmp1=null,this.dmq1=null,this.coeff=null}e=t=e.System||(e.System={}),u=r=e.Crypt||(e.Crypt={}),n.prototype.verifyString=function(e,t){t=this.base64toHex(t);var t=this.parseBigInt(t,16),r,t=this.doPublic(t).toString(16).replace(/^1f+00/,""),n,i;if(t.substring(0,u.SHA1.signature.length)!=u.SHA1.signature)return!1;return t.substring(u.SHA1.signature.length)==u.SHA1.hex(e.stimulsoft.toUnicodeString())},n.prototype.base64toHex=function(e){for(var t="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",r="=",n="",i=0,a,o=0;o<e.length;++o){if(e.charAt(o)==r)break;var s=t.indexOf(e.charAt(o));if(s<0)continue;i=0==i?(n+=u.BigInteger.int2char(s>>2),a=3&s,1):1==i?(n+=u.BigInteger.int2char(a<<2|s>>4),a=15&s,2):2==i?(n+=u.BigInteger.int2char(a),n+=u.BigInteger.int2char(s>>2),a=3&s,3):(n+=u.BigInteger.int2char(a<<2|s>>4),n+=u.BigInteger.int2char(15&s),0)}return 1==i&&(n+=u.BigInteger.int2char(a<<2)),n},n.prototype.parseBigInt=function(e,t){return u.BigInteger.fromString(e,t)},n.prototype.pkcs1pad2=function(e,t){if(t<e.length+11)return null;var r=[],n=e.length-1;while(0<=n&&0<t){var i=e.charCodeAt(n--);i<128?r[--t]=i:127<i&&i<2048?(r[--t]=63&i|128,r[--t]=i>>6|192):(r[--t]=63&i|128,r[--t]=i>>6&63|128,r[--t]=i>>12|224)}r[--t]=0;var a=new u.SecureRandom,o=[];while(2<t){o[0]=0;while(0==o[0])a.nextBytes(o);r[--t]=o[0]}return r[--t]=2,r[--t]=0,u.BigInteger.fromString(r)},n.prototype.pkcs1unpad2=function(e,t){var r=e.toByteArray(),n=0;while(n<r.length&&0==r[n])++n;if(r.length-n!=t-1||2!=r[n])return null;++n;while(0!=r[n])if(++n>=r.length)return null;var i="";while(++n<r.length){var a=255&r[n];a<128?i+=String.fromCharCode(a):191<a&&a<224?(i+=String.fromCharCode((31&a)<<6|63&r[n+1]),++n):(i+=String.fromCharCode((15&a)<<12|(63&r[n+1])<<6|63&r[n+2]),n+=2)}return i},n.prototype.setPublic=function(e,t){null!=(e=this.base64toHex(e))&&null!=t&&0<e.length&&0<t.length&&(this.n=this.parseBigInt(e,16),this.e=parseInt(t,16))},n.prototype.setPrivate=function(e,t,r){null!=e&&null!=t&&0<e.length&&0<t.length&&(this.n=this.parseBigInt(e,16),this.e=parseInt(t,16),this.d=this.parseBigInt(r,16))},n.prototype.setPrivateEx=function(e,t,r,n,i,a,o,s){null!=e&&null!=t&&0<e.length&&0<t.length&&(this.n=this.parseBigInt(e,16),this.e=parseInt(t,16),this.d=this.parseBigInt(r,16),this.p=this.parseBigInt(n,16),this.q=this.parseBigInt(i,16),this.dmp1=this.parseBigInt(a,16),this.dmq1=this.parseBigInt(o,16),this.coeff=this.parseBigInt(s,16))},n.prototype.generate=function(e,t){var r=new u.SecureRandom,n=e>>1;this.e=parseInt(t,16);for(var i=u.BigInteger.fromString(t,16),a;;){for(;;)if(this.p=u.BigInteger.fromNumber(e-n,1,r),0==this.p.subtract(u.BigInteger.ONE).gcd(i).compareTo(u.BigInteger.ONE)&&this.p.isProbablePrime(10))break;for(;;)if(this.q=u.BigInteger.fromNumber(n,1,r),0==this.q.subtract(u.BigInteger.ONE).gcd(i).compareTo(u.BigInteger.ONE)&&this.q.isProbablePrime(10))break;this.p.compareTo(this.q)<=0&&(a=this.p,this.p=this.q,this.q=a);var o=this.p.subtract(u.BigInteger.ONE),s=this.q.subtract(u.BigInteger.ONE),a=o.multiply(s);if(0==a.gcd(i).compareTo(u.BigInteger.ONE)){this.n=this.p.multiply(this.q),this.d=i.modInverse(a),this.dmp1=this.d.mod(o),this.dmq1=this.d.mod(s),this.coeff=this.q.modInverse(this.p);break}}},n.prototype.doPublic=function(e){return e.modPowInt(this.e,this.n)},n.prototype.doPrivate=function(e){if(null==this.p||null==this.q)return e.modPow(this.d,this.n);var t=e.mod(this.p).modPow(this.dmp1,this.p),r=e.mod(this.q).modPow(this.dmq1,this.q);while(t.compareTo(r)<0)t=t.add(this.p);return t.subtract(r).multiply(this.coeff).mod(this.p).multiply(this.q).add(r)},n.prototype.encrypt=function(e){var e=this.pkcs1pad2(e,this.n.bitLength()+7>>3);if(null==e)return null;var e=this.doPublic(e);if(null==e)return null;var e=e.toString(16);return 0==(1&e.length)?e:"0"+e},n.prototype.decrypt=function(e){var e=this.parseBigInt(e,16),e=this.doPrivate(e);if(null==e)return null;return this.pkcs1unpad2(e,this.n.bitLength()+7>>3)},e=n,u.RSAKey=e}(Stimulsoft=Stimulsoft||{}),function(e){var t,r,n,e;function i(){this.blockLength=64,this.state=[1732584193,4023233417,2562383102,271733878,3285377520],this.K=[1518500249,1859775393,2400959708,3395469782]}r=t=e.System||(e.System={}),e=n=r.Crypt||(r.Crypt={}),i.hex=function(e){return(new i).hex(e)},i.prototype.hex=function(e){return this.toHex(this.getMD(e))},i.prototype.getMD=function(e){var t=[],t=this.unpack(e);return t=this.paddingData(t),this.round(t)},i.prototype.rotl=function(e,t){return e<<t|e>>>32-t},i.prototype.round=function(e){for(var t=[],r=[],n,i=[],a=0;a<this.state.length;a++)t[a]=this.state[a];for(var o=0;o<e.length;o+=this.blockLength){for(var a=0;a<this.state.length;a++)r[a]=t[a];i=this.toBigEndian32(e.slice(o,o+this.blockLength));for(var a=16;a<80;a++)i[a]=this.rotl(i[a-3]^i[a-8]^i[a-14]^i[a-16],1);for(var a=0;a<80;a++)n=a<20?(t[1]&t[2]^~t[1]&t[3])+this.K[0]:a<40?(t[1]^t[2]^t[3])+this.K[1]:a<60?(t[1]&t[2]^t[1]&t[3]^t[2]&t[3])+this.K[2]:(t[1]^t[2]^t[3])+this.K[3],n+=this.rotl(t[0],5)+i[a]+t[4],t[4]=t[3],t[3]=t[2],t[2]=this.rotl(t[1],30),t[1]=t[0],t[0]=n;for(var a=0;a<this.state.length;a++)t[a]+=r[a]}return this.fromBigEndian32(t)},i.prototype.paddingData=function(e){var t=e.length,r=t;e[r++]=128;while(r%this.blockLength!=56)e[r++]=0;return t*=8,e.concat(0,0,0,0,this.fromBigEndian32([t]))},i.prototype.toHex=function(e){for(var t="",r=0;r<e.length;r++)t+=(15<e[r]?"":"0")+e[r].toString(16);return t},i.prototype.fromBigEndian32=function(e){for(var t=[],r=0,n=0;n<e.length;n++)t[r++]=e[n]>>>24&255,t[r++]=e[n]>>>16&255,t[r++]=e[n]>>>8&255,t[r++]=255&e[n];return t},i.prototype.toBigEndian32=function(e){for(var t=[],r=0,n=0;n<e.length;n+=4,r++)t[r]=e[n]<<24|e[n+1]<<16|e[n+2]<<8|e[n+3];return t},i.prototype.unpack=function(e){for(var t=[],r=0,n,i=0;i<e.length;i++)(n=e.charCodeAt(i))<=255?t[r++]=n:(t[r++]=n>>>8,t[r++]=255&n);return t},i.prototype.pack=function(e){var t="",r;for(r in e)t+=String.fromCharCode(e[r]);return t},i.signature="3021300906052b0e03021a05000414",r=i,e.SHA1=r}(Stimulsoft=Stimulsoft||{}),function(e){var t,r,n,e;function k(){}r=t=e.System||(e.System={}),e=n=r.Crypt||(r.Crypt={}),k.prototype.rotate=function(e,t){return e>>>t|e<<32-t},k.prototype.sigma=function(e,t,r,n){return this.rotate(e,t)^this.rotate(e,r)^e>>>n},k.prototype.sum=function(e,t){return e[15&t]+=this.sigma(e[t+14&15],17,19,10)+e[t+9&15]+this.sigma(e[t+1&15],7,18,3)},k.prototype.aggregate=function(e,t){var r=(65535&e)+(65535&t);return(t=(e>>16)+(t>>16)+(r>>16))<<16|65535&r},k.prototype.conglomerate=function(e,t){for(var r=[],n=2;n<arguments.length;n++)r[n-2]=arguments[n];for(var i=0,a=0,o=0,s=0;i<r.length/2;i++)o+=65535&(a=r[i]),s+=a>>>16;for(s+=o>>>16,e[t+1]=s<<16|65535&o,o=s>>>16,s=0;i<r.length;i++)o+=65535&(a=r[i]),s+=a>>>16;s+=o>>>16,e[t]=s<<16|65535&o},k.prototype.compress=function(e,t){var r=[e[0],e[1],e[2],e[3],e[4],e[5],e[6],e[7]],n=[],i=0;while(i<16)n[i]=t[(i<<2)+3]|t[(i<<2)+2]<<8|t[(i<<2)+1]<<16|t[i<<2]<<24,i++;for(i=0;i<64;i++)for(var a=r[0],o=r[1],s=r[2],u=r[4],l=r[7]+(this.rotate(u,6)^this.rotate(u,11)^this.rotate(u,25))+(u&r[5]^~u&r[6])+k.ROUNDS_256[i]+(i<16?n[i]:this.sum(n,i)),m=7;0<=m;m--)r[m]=4===m?this.aggregate(r[3],l):0===m?this.aggregate(l,(this.rotate(a,2)^this.rotate(a,13)^this.rotate(a,22))+(a&o^a&s^o&s)):r[m-1];for(i=0;i<8;i++)e[i]+=r[i]},k.prototype.hash=function(e,t,r){var n="",i=(t?224===r?k.HASH_512_224:256===r?k.HASH_512_256:384===r?k.HASH_384:k.HASH_512:224===r?k.HASH_224:k.HASH_256).slice(),a=e.length,o=[],s=0,u=!0,l=0,m=0,y=0,d=0,h=0,c,f;if(t){var p=[0,0,0,0,0,0,0,0],M=[24,16,8,0],b=void 0;do{for(o[0]=s,c=1;c<=32;c++)o[c]=0;if("string"==typeof e)for(c=y;l<a&&c<128;++l){var g=e.charCodeAt(l);g<128?o[c>>2]|=g<<M[3&c++]:(g<2048?o[c>>2]|=(192|g>>6)<<M[3&c++]:(g<55296||57344<=g?o[c>>2]|=(224|g>>12)<<M[3&c++]:(g=65536+((1023&g)<<10|1023&e.charCodeAt(++l)),o[c>>2]|=(240|g>>18)<<M[3&c++],o[c>>2]|=(128|g>>12&63)<<M[3&c++]),o[c>>2]|=(128|g>>6&63)<<M[3&c++]),o[c>>2]|=(128|63&g)<<M[3&c++])}else for(c=y;l<a&&c<128;++l)o[c>>2]|=e[l]<<M[3&c++];for(m+=c-y,y=c-128,l===a&&(o[c>>2]|=[-2147483648,8388608,32768,128][3&c],++l),s=o[32],a<l&&c<112&&(o[31]=m<<3,u=!1),f=32;f<160;f+=2){var v=o[f-30],S=o[f-29],w=o[f-4],N=o[f-3];this.conglomerate(o,f,o[f-13],o[f-31],(S>>>1|v<<31)^(S>>>8|v<<24)^(S>>>7|v<<25),(N>>>19|w<<13)^(w>>>29|N<<3)^(N>>>6|w<<26),o[f-14],o[f-32],(v>>>1|S<<31)^(v>>>8|S<<24)^v>>>7,(w>>>19|N<<13)^(N>>>29|w<<3)^w>>>6)}for(b=i.slice(),p[6]=b[2]&b[4],p[7]=b[3]&b[5],c=0;c<160;c+=8)for(f=0;f<8;f+=2){var I=0<f?8-f:0,j=[0,0,0,0];this.conglomerate(j,0,k.ROUNDS_512[c+f+1],o[c+f+1],b[9+I]&b[2===f?9:11+I]^~b[9+I]&b[6===f?15:13-f],(b[9+I]>>>14|b[8+I]<<18)^(b[9+I]>>>18|b[8+I]<<14)^(b[8+I]>>>9|b[9+I]<<23),b[15-f],k.ROUNDS_512[c+f],o[c+f],b[8+I]&b[2===f?8:10+I]^~b[8+I]&b[6===f?14:12-f],(b[8+I]>>>14|b[9+I]<<18)^(b[8+I]>>>18|b[9+I]<<14)^(b[9+I]>>>9|b[8+I]<<23),b[14-f]),this.conglomerate(j,2,(p[f+1]=b[1+I]&b[2===f?1:3+I])^b[1+I]&b[(6===f?f:4-f)+1]^p[7-I],(b[1+I]>>>28|b[I]<<4)^(b[I]>>>2|b[1+I]<<30)^(b[I]>>>7|b[1+I]<<25),(p[f]=b[I]&b[2===f?0:2+I])^b[I]&b[6===f?f:4-f]^p[6-I],(b[I]>>>28|b[1+I]<<4)^(b[1+I]>>>2|b[I]<<30)^(b[1+I]>>>7|b[I]<<25)),this.conglomerate(b,14-f,b[7-f],j[1],b[6-f],j[0]),this.conglomerate(b,6-f,j[3],j[1],j[2],j[0])}for(c=0;c<16;c+=2)this.conglomerate(i,c,i[c+1],b[c+1],i[c],b[c])}while(u)}else{for(l=d>>3&63,y=63&a,(d+=a<<3)<a<<3&&h++,h+=a>>29,c=0;c+63<a;c+=64){if("string"==typeof e)for(f=l;f<64;f++)o[f]=e.charCodeAt(m++);else for(f=l;f<64;f++)o[f]=e[m++];this.compress(i,o),l=0}if("string"==typeof e)for(c=0;c<y;c++)o[c]=e.charCodeAt(m++);else for(c=0;c<y;c++)o[c]=e[m++];for(l=d>>3&63,o[l++]=128,c=l;c<(56<l?64:56);c++)o[c]=0;if(56<l)for(this.compress(i,o),c=0;c<56;c++)o[c]=0;while(c<64)for(f=24;0<=f;f-=8,c++)o[c]=(60<=c?d:h)>>>f&255;this.compress(i,o)}if("string"==typeof e){for(c=0;c<(512===r?16:384===r?12:256===r?8:7);c++)for(f=28;0<=f;f-=4)n+=k.HEX_DIGITS.charAt(i[c]>>>f&15);return n}for(var T=[],c=0;c<(512===r?16:384===r?12:256===r?8:7);c++)for(f=24;0<=f;f-=8)T.push(i[c]>>>f&255);return T},k.prototype.SHA2_224=function(e){return this.hash(e,!1,224)},k.prototype.SHA2_256=function(e){return this.hash(e,!1,256)},k.prototype.SHA2_384=function(e){return this.hash(e,!0,384)},k.prototype.SHA2_512=function(e){return this.hash(e,!0,512)},k.prototype.SHA2_512_224=function(e){return this.hash(e,!0,224)},k.prototype.SHA2_512_256=function(e){return this.hash(e,!0,256)},k.SHA256=function(e){var t;return(new k).hash(e,!1,256)},k.HASH_224=[3238371032,914150663,812702999,4144912697,4290775857,1750603025,1694076839,3204075428],k.HASH_256=[1779033703,3144134277,1013904242,2773480762,1359893119,2600822924,528734635,1541459225],k.HASH_384=[3418070365,3238371032,1654270250,914150663,2438529370,812702999,355462360,4144912697,1731405415,4290775857,2394180231,1750603025,3675008525,1694076839,1203062813,3204075428],k.HASH_512=[1779033703,4089235720,3144134277,2227873595,1013904242,4271175723,2773480762,1595750129,1359893119,2917565137,2600822924,725511199,528734635,4215389547,1541459225,327033209],k.HASH_512_224=[2352822216,424955298,1944164710,2312950998,502970286,855612546,1738396948,1479516111,258812777,2077511080,2011393907,79989058,1067287976,1780299464,286451373,2446758561],k.HASH_512_256=[573645204,4230739756,2673172387,3360449730,596883563,1867755857,2520282905,1497426621,2519219938,2827943907,3193839141,1401305490,721525244,746961066,246885852,2177182882],k.ROUNDS_256=[1116352408,1899447441,3049323471,3921009573,961987163,1508970993,2453635748,2870763221,3624381080,310598401,607225278,1426881987,1925078388,2162078206,2614888103,3248222580,3835390401,4022224774,264347078,604807628,770255983,1249150122,1555081692,1996064986,2554220882,2821834349,2952996808,3210313671,3336571891,3584528711,113926993,338241895,666307205,773529912,1294757372,1396182291,1695183700,1986661051,2177026350,2456956037,2730485921,2820302411,3259730800,3345764771,3516065817,3600352804,4094571909,275423344,430227734,506948616,659060556,883997877,958139571,1322822218,1537002063,1747873779,1955562222,2024104815,2227730452,2361852424,2428436474,2756734187,3204031479,3329325298],k.ROUNDS_512=[1116352408,3609767458,1899447441,602891725,3049323471,3964484399,3921009573,2173295548,961987163,4081628472,1508970993,3053834265,2453635748,2937671579,2870763221,3664609560,3624381080,2734883394,310598401,1164996542,607225278,1323610764,1426881987,3590304994,1925078388,4068182383,2162078206,991336113,2614888103,633803317,3248222580,3479774868,3835390401,2666613458,4022224774,944711139,264347078,2341262773,604807628,2007800933,770255983,1495990901,1249150122,1856431235,1555081692,3175218132,1996064986,2198950837,2554220882,3999719339,2821834349,766784016,2952996808,2566594879,3210313671,3203337956,3336571891,1034457026,3584528711,2466948901,113926993,3758326383,338241895,168717936,666307205,1188179964,773529912,1546045734,1294757372,1522805485,1396182291,2643833823,1695183700,2343527390,1986661051,1014477480,2177026350,1206759142,2456956037,344077627,2730485921,1290863460,2820302411,3158454273,3259730800,3505952657,3345764771,106217008,3516065817,3606008344,3600352804,1432725776,4094571909,1467031594,275423344,851169720,430227734,3100823752,506948616,1363258195,659060556,3750685593,883997877,3785050280,958139571,3318307427,1322822218,3812723403,1537002063,2003034995,1747873779,3602036899,1955562222,1575990012,2024104815,1125592928,2227730452,2716904306,2361852424,442776044,2428436474,593698344,2756734187,3733110249,3204031479,2999351573,3329325298,3815920427,3391569614,3928383900,3515267271,566280711,3940187606,3454069534,4118630271,4000239992,116418474,1914138554,174292421,2731055270,289380356,3203993006,460393269,320620315,685471733,587496836,852142971,1086792851,1017036298,365543100,1126000580,2618297676,1288033470,3409855158,1501505948,4234509866,1607167915,987167468,1816402316,1246189591],k.HEX_DIGITS="0123456789abcdef",r=k,e.SHA2=r}(Stimulsoft=Stimulsoft||{}),function(e){var t,e,r;e=t=e.System||(e.System={}),function(e){var t=(r.prototype.seedInteger=function(e){this.pool[this.position++]^=255&e,this.pool[this.position++]^=e>>8&255,this.pool[this.position++]^=e>>16&255,this.pool[this.position++]^=e>>24&255,this.position>=n.poolSize&&(this.position-=n.poolSize)},r.prototype.seedTime=function(){this.seedInteger((new Date).getTime())},r.prototype.getByte=function(){if(null==this.state){for(this.seedTime(),this.state=new n,this.state.init(this.pool),this.position=0;this.position<this.pool.length;++this.position)this.pool[this.position]=0;this.position=0}return this.state.next()},r.prototype.nextBytes=function(e,t){void 0===t&&(t=0),0==t&&(t=e.length);for(var r=0;r<t;++r)e[r]=this.getByte()},r.prototype.createNextBytes=function(e){var t=[];return this.nextBytes(t,e),t},r);function r(){if(null==this.pool){this.pool=[];var e=void(this.position=0);while(this.position<n.poolSize)e=Math.floor(65536*Math.random()),this.pool[this.position++]=e>>>8,this.pool[this.position++]=255&e;this.position=0,this.seedTime()}}e.SecureRandom=t;var n=(i.prototype.init=function(e){for(var t=0;t<256;++t)this.s[t]=t;for(var r=0,t=0;t<256;++t){r=r+this.s[t]+e[t%e.length]&255;var n=this.s[t];this.s[t]=this.s[r],this.s[r]=n}this.i=0,this.j=0},i.prototype.next=function(){var e;return this.i=this.i+1&255,this.j=this.j+this.s[this.i]&255,e=this.s[this.i],this.s[this.i]=this.s[this.j],this.s[this.j]=e,this.s[e+this.s[this.i]&255]},i.poolSize=256,i);function i(){this.i=0,this.j=0,this.s=[]}}(r=e.Crypt||(e.Crypt={}))}(Stimulsoft=Stimulsoft||{}),function(e){var t,r,n,i,e;function a(e){this._column=e}r=t=e.System||(e.System={}),i=n=r.Data||(r.Data={}),a.createStorage=function(e,t){switch(t){case String:case r.Char:return new i.StringStorage(e);case Number:case r.SByte:case r.Byte:case r.Int:case r.Int16:case r.Int32:case r.Int64:case r.UInt16:case r.UInt32:case r.UInt64:case r.Decimal:case r.Double:case r.Single:return new i.NumberStorage(e);case Object.stimulsoft.getType():return new i.ObjectStorage(e);case Boolean:return new i.BooleanStorage(e);case r.ByteArray:return new i.ByteArrayStorage(e);case r.DateTime:return new i.DateTimeStorage(e);default:return new i.ObjectStorage(e)}},a.prototype.getValue=function(e){return this.values[e]},a.prototype.setValue=function(e,t){this.values[e]=t},a.prototype.setStorage=function(){this.values=[]},e=a,i.DataStorage=e}(Stimulsoft=Stimulsoft||{}),function(e){var t,r,n,e,i;function a(){return null!==i&&i.apply(this,arguments)||this}r=t=e.System||(e.System={}),e=n=r.Data||(r.Data={}),i=e.DataStorage,__extends(a,i),a.prototype.setValue=function(e,t){this.values[e]=null!=t&&t.stimulsoft.toBoolean()},r=a,e.BooleanStorage=r}(Stimulsoft=Stimulsoft||{}),function(e){var t,r,n,e,i;function a(){return null!==i&&i.apply(this,arguments)||this}r=t=e.System||(e.System={}),e=n=r.Data||(r.Data={}),i=e.DataStorage,__extends(a,i),r=a,e.ByteArrayStorage=r}(Stimulsoft=Stimulsoft||{}),function(e){var t,r,n,e,i;function a(){return null!==i&&i.apply(this,arguments)||this}r=t=e.System||(e.System={}),e=n=r.Data||(r.Data={}),i=e.DataStorage,__extends(a,i),a.prototype.setValue=function(e,t){this.values[e]=null!=t?t.toString().charAt(0):""},r=a,e.CharStorage=r}(Stimulsoft=Stimulsoft||{}),function(e){var t,e,r,n,i;function a(){}e=t=e.System||(e.System={}),(n=r=e.Data||(e.Data={})).DBNull=a}(Stimulsoft=Stimulsoft||{}),function(e){var t,e,r,n;function i(e,t,r){void 0===t&&(t=String),void 0===r&&(r=null),this._caption=null,this.columnName="",this.dataType=String,this.columnName=null==e?"":e,this.dataType=t,this._caption=r,this.insureStorage(),this.storage.setStorage()}e=t=e.System||(e.System={}),n=r=e.Data||(e.Data={}),i.prototype.clone=function(){var e=new i(this.columnName,this.dataType);return e._caption=this._caption,e.table=this.table,e},Object.defineProperty(i.prototype,"caption",{get:function(){if(null==this._caption||""==this._caption)return this.columnName;return this._caption},set:function(e){null==e&&(e=""),this._caption=e},enumerable:!1,configurable:!0}),i.prototype.getRecord=function(e){return this.storage.getValue(e)},i.prototype.setRecord=function(e,t){this.storage.setValue(e,t)},i.prototype.setTable=function(e){this.table=e},i.prototype.delete=function(){this.table.columns.remove(this)},i.prototype.insureStorage=function(){null==this.storage&&(this.storage=n.DataStorage.createStorage(this,this.dataType))},i.prototype.changeType=function(e){this.dataType=e;var t=n.DataStorage.createStorage(this,e),r;for(r in t.setStorage(),this.storage.values)t.setValue(r,this.storage.values[r]);this.storage=t},e=i,n.DataColumn=e}(Stimulsoft=Stimulsoft||{}),function(e){var t,r,n,i,a;function o(e){var t=a.call(this)||this;return t.table=e,t}r=t=e.System||(e.System={}),i=n=r.Data||(r.Data={}),r=e.System.Collections.CollectionBase,__extends(o,a=r),o.prototype.baseAdd=function(e){e.setTable(this.table)},o.prototype.baseRemove=function(e){e.setTable(null)},o.prototype.add=function(e){this.list.push(e),this.baseAdd(e)},o.prototype.contains=function(e){if("string"==typeof e)return null!=this.getByName(e);return a.prototype.contains.call(this,e)},o.prototype.remove=function(e){var t=this.list.lastIndexOf(e);-1!=t&&this.list.splice(t,1),this.baseRemove(e)},o.prototype.getByName=function(e){var t,r;e=e.toLowerCase();try{for(var n=__values(this.list),i=n.next();!i.done;i=n.next()){var a=i.value;if(a.columnName.toLowerCase()==e)return a}}catch(e){t={error:e}}finally{try{i&&!i.done&&(r=n.return)&&r.call(n)}finally{if(t)throw t.error}}return null},o.prototype.getIndexByName=function(e){var e=this.getByName(e),t;return this.list.indexOf(e)},r=o,i.DataColumnCollection=r}(Stimulsoft=Stimulsoft||{}),function(e){var t,d,r,n,e;function i(e,t){if(t){this.columns=d.StiArray.create(n.DataColumn,e.length);for(var r=0;r<e.length;r++)this.columns[r]=e[r]}else this.columns=e}d=t=e.System||(e.System={}),n=r=d.Data||(d.Data={}),Object.defineProperty(i.prototype,"table",{get:function(){return this.columns[0].table},enumerable:!1,configurable:!0}),Object.defineProperty(i.prototype,"columnsReference",{get:function(){return this.columns},enumerable:!1,configurable:!0}),i.prototype.getKeyValues=function(e){for(var t=[],r=0;r<this.columns.length;r++)t.push(this.columns[r].getRecord(e));return t},i.prototype.getRows=function(e,t){var r,n,i=[];if(1==this.columns.length)for(var a=this.columns[0].columnName,o=this.table.columns.getByName(a),s=0;s<this.table.rows.length;s++)o.dataType==d.DateTime&&t[0].dataType==d.DateTime?(null===(r=o.getRecord(s))||void 0===r?void 0:r.ticks)==e[0].ticks&&i.push(this.table.rows.getByIndex(s)):o.getRecord(s)==e[0]&&i.push(this.table.rows.getByIndex(s));else for(var u=0;u<this.table.rows.length;u++){for(var l=!0,m=this.table.rows.getByIndex(u),y=0,o;y<this.columns.length;y++){(o=this.columns[y]).dataType==d.DateTime&&t[y].dataType==d.DateTime?(null===(n=m.getValue(o.columnName))||void 0===n?void 0:n.ticks)!=e[y].ticks&&(l=!1):m.getValue(o.columnName)!=e[y]&&(l=!1)}l&&i.push(m)}return i},i.prototype.toArray=function(){for(var e=new Array(this.columns.length),t=0;t<this.columns.length;t++)e[t]=this.columns[t];return e},e=i,n.DataKey=e}(Stimulsoft=Stimulsoft||{}),function(e){var t,e,r,n;function i(e,t,r){this.create(e,t,r)}e=t=e.System||(e.System={}),n=r=e.Data||(e.Data={}),Object.defineProperty(i.prototype,"parentTable",{get:function(){return this.parentKey.table},enumerable:!1,configurable:!0}),Object.defineProperty(i.prototype,"childTable",{get:function(){return this.childKey.table},enumerable:!1,configurable:!0}),Object.defineProperty(i.prototype,"parentColumns",{get:function(){return this.parentKey.toArray()},enumerable:!1,configurable:!0}),Object.defineProperty(i.prototype,"childColumns",{get:function(){return this.childKey.toArray()},enumerable:!1,configurable:!0}),i.prototype.create=function(e,t,r){this.parentKey=new n.DataKey(t,!0),this.childKey=new n.DataKey(r,!0),this.relationName=null==e?"":e},i.prototype.setDataSet=function(e){this.dataSet!=e&&(this.dataSet=e)},i.getChildRows=function(e,t,r){var r=r.getKeyValues(e);return t.getRows(r,e.columns)},i.getParentRows=function(e,t,r){var r=r.getKeyValues(t);return e.getRows(r,t.columns)},e=i,n.DataRelation=e}(Stimulsoft=Stimulsoft||{}),function(e){var t,r,n,i,a;function o(){return null!==a&&a.apply(this,arguments)||this}r=t=e.System||(e.System={}),i=n=r.Data||(r.Data={}),r=e.System.Collections.CollectionBase,__extends(o,a=r),o.prototype.addCore=function(e){if(null==e)return;var t=this.getDataSet();if(e.dataSet===t)return;if(null!=e.dataSet)return},o.prototype.add=function(e){this.addCore(e)},o.prototype.addRange=function(e){var t,r;try{for(var n=__values(e),i=n.next();!i.done;i=n.next()){var a=i.value;this.add(a)}}catch(e){t={error:e}}finally{try{i&&!i.done&&(r=n.return)&&r.call(n)}finally{if(t)throw t.error}}},o.prototype.internalIndexOf=function(e){var t=-1;if(null!=e&&0<e.length)for(var r=this.list.length,n=0,i;n<r;n++){if(this.getByIndex(n).relationName.toLowerCase()==e.toLowerCase())return n;t=-1==t?n:-2}return t},o.prototype.contains=function(e){if("string"==typeof e)return 0<=this.internalIndexOf(e);return a.prototype.contains.call(this,e)},o.prototype.getByName=function(e){var t,r;try{for(var n=__values(this.list),i=n.next();!i.done;i=n.next()){var a=i.value;if(a.relationName==e)return a}}catch(e){t={error:e}}finally{try{i&&!i.done&&(r=n.return)&&r.call(n)}finally{if(t)throw t.error}}return null},o.prototype.getDataSet=function(){return null},r=o,i.DataRelationCollection=r}(Stimulsoft=Stimulsoft||{}),function(e){var t,e,r,d;function n(){this.recordIndex=-1}e=t=e.System||(e.System={}),d=r=e.Data||(e.Data={}),n.create=function(e){var t=new n;return t.table=e,t.columns=e.columns,t},n.prototype.getColumnIndex=function(e){if("number"==typeof e)return e;if("string"==typeof e)return this.columns.getIndexByName(e);if(e instanceof d.DataColumn)return this.columns.indexOf(e);return-1},n.prototype.gett=function(e){return this.getValue(e)},n.prototype.sett=function(e,t){this.setValue(e,t)},Object.defineProperty(n.prototype,"itemArray",{get:function(){var t,e,r=[];try{for(var n=__values(this.columns.list),i=n.next();!i.done;i=n.next()){var a=i.value;r.push(this.getValue(a))}}catch(e){t={error:e}}finally{try{i&&!i.done&&(e=n.return)&&e.call(n)}finally{if(t)throw t.error}}return r},enumerable:!1,configurable:!0}),n.prototype.getValue=function(e){var t=this.getColumnIndex(e),e=this.columns.getByIndex(t);-1==this.recordIndex&&(this.recordIndex=this.table.rows.indexOf(this));var t=this.recordIndex;if(null!=e)return e.getRecord(t);return null},n.prototype.setValue=function(e,t){var r=this.getColumnIndex(e),e=this.columns.getByIndex(r);-1==this.recordIndex&&(this.recordIndex=this.table.rows.indexOf(this)),-1==this.recordIndex&&(this.recordIndex=this.table.rows.length);var r=this.recordIndex;null!=e&&e.setRecord(r,t)},n.prototype.getValueByIndex=function(e){var t=this.columns.getByIndex(e),e=this.table.rows.indexOf(this);if(null!=t)return t.getRecord(e);return null},n.prototype.setValueByIndex=function(e,t){var r=this.columns.getByIndex(e),e=this.table.rows.indexOf(this);null!=r&&r.setRecord(e,t)},n.prototype.getDataColumn=function(e){return this.columns.getByName(e)},n.prototype.getChildRows=function(e){var e=this.table.childRelations.getByName(e);if(null==e)return[];return d.DataRelation.getChildRows(e.parentKey,e.childKey,this)},n.prototype.getParentRow=function(e){var e=this.table.parentRelations.getByName(e);if(null==e)return null;return d.DataRelation.getParentRows(e.parentKey,e.childKey,this)[0]},n.prototype.getParentRows=function(e){var e=this.table.parentRelations.getByName(e);if(null==e)return[];return d.DataRelation.getParentRows(e.parentKey,e.childKey,this)},n.prototype.getKeyValues=function(e){var t=this.table.rows.indexOf(this);return e.getKeyValues(t)},n.copyToDataTable=function(e){var t,r,n,i,a=new d.DataTable;try{for(var o=__values(e.firstOrDefault().columns.list),s=o.next();!s.done;s=o.next()){var u=s.value;a.columns.add(new d.DataColumn(u.columnName,u.dataType))}}catch(e){t={error:e}}finally{try{s&&!s.done&&(r=o.return)&&r.call(o)}finally{if(t)throw t.error}}try{for(var l=__values(e),m=l.next();!m.done;m=l.next()){var y=m.value;a.loadDataRow(y.itemArray)}}catch(e){n={error:e}}finally{try{m&&!m.done&&(i=l.return)&&i.call(l)}finally{if(n)throw n.error}}return a},e=n,d.DataRow=e}(Stimulsoft=Stimulsoft||{}),function(e){var t,r,n,a,i;function o(e){var t=i.call(this)||this;return t.table=e,t}r=t=e.System||(e.System={}),a=n=r.Data||(r.Data={}),r=e.System.Collections.CollectionBase,__extends(o,i=r),o.prototype.add=function(e){return this.table.addRow(e)},o.prototype.remove=function(e){this.table.removeRow(e)},o.prototype.addArray=function(e){return e.recordIndex=this.list.push(e)-1,e.recordIndex},o.prototype.removeArray=function(e){var e=this.list.lastIndexOf(e);-1!=e&&this.list.splice(e,1)},o.prototype.copyTo=function(e,t){for(var r=0;r<this.length;r++)e[t]=this.getByIndex(r),t++},o.prototype.replaceValues=function(e,t){var r,n;try{for(var i=__values(this.table.columns.list),a=i.next();!a.done;a=i.next()){var o=a.value,s=this.list[e].getValue(o);this.list[e].setValue(o,this.list[t].getValue(o)),this.list[t].setValue(o,s)}}catch(e){r={error:e}}finally{try{a&&!a.done&&(n=i.return)&&n.call(i)}finally{if(r)throw r.error}}},o.prototype.quickSort=function(e,t,r){var n=t,i=r,a=this.list[Math.trunc((t+r)/2)];do{while(e(this.list[n],a)<0)n++;while(e(a,this.list[i])<0)i--;n<=i&&(this.replaceValues(n,i),n++,i--)}while(n<i);t<i&&this.quickSort(e,t,i),n<r&&this.quickSort(e,n,r)},o.prototype.sort=function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];if(0<this.list.length){var r=null,n=null,i=1;if(null!=e&&0<e.length&&("function"==typeof e[0]?r=e[0]:n=e[0].toString(),1<e.length&&!e[1]&&(i=-1)),null==n&&(n=this.table.columns.getByIndex(0).columnName),null==r)switch(this.table.columns.getByName(n).storage.stimulsoft.getType()){case a.NumberStorage:r=function(e,t){var e=e.getValue(n),t=t.getValue(n);if(e<t)return-1*i;if(t<e)return 1*i;return 0};break;case a.StringStorage:r=function(e,t){var e=e.getValue(n).toString(),t=t.getValue(n).toString();return e.toLocaleLowerCase().localeCompare(t.toLocaleLowerCase())*i};break;case a.DateTimeStorage:r=function(e,t){var e=e.getValue(n),t=t.getValue(n);if(e.ticks<t.ticks)return-1*i;if(e.ticks>t.ticks)return 1*i;return 0};break}this.quickSort(r,0,this.list.length-1)}},o.prototype.gett=function(e,t){return this.getByIndex(e).gett(t)},r=o,a.DataRowCollection=r}(Stimulsoft=Stimulsoft||{}),function(e){var t,r,n,e;function i(){}r=t=e.System||(e.System={}),e=n=r.Text||(r.Text={}),i.encodeName=function(e){if(null==e||0==e.length)return"";var t="",r=/_[Xx]([0-9a-fA-F]{4})_/g,n=0,i=0,a=r.exec(e);while(a)t+=e.substring(i,a.index),t+="_x005F_x",i=a.index+2,a=r.exec(e);for(e=t+=e.substring(i,e.length),t="",48<=e.charCodeAt(0)&&e.charCodeAt(0)<=57&&(t+="_",t+=this.toHex(e.charCodeAt(0)),t+="_",n++);n<e.length;n++){var o=e.charCodeAt(n);o<48||57<o&&o<65||90<o&&o<95||122<o&&o<160?(t+="_",t+=this.toHex(o),t+="_"):t+=e.substr(n,1)}return t},i.decodeName=function(e){if(null==e||0==e.length)return"";if(e.indexOf("_")<0)return e;var t="",r=e.length,n=0,i=/_[Xx]([0-9a-fA-F]{4})_/g,a=i.exec(e);while(a){t+=e.substring(n,a.index);var o=4096*this.fromHex(String(a[1]).charAt(0))+256*this.fromHex(String(a[1]).charAt(1))+16*this.fromHex(String(a[1]).charAt(2))+this.fromHex(String(a[1]).charAt(3));t+=String.fromCharCode(o),n=a.index+7,a=i.exec(e)}return t+=e.substring(n,r)},i.fromHex=function(e){if("9"<e)return(e<="F"?e.charCodeAt(0)-"A".charCodeAt(0):e.charCodeAt(0)-"a".charCodeAt(0))+10;return e.charCodeAt(0)-"0".charCodeAt(0)},i.toHex=function(e){var t=e.toString(16).toUpperCase(),e="";switch(t.length){case 1:e+="x000"+t;break;case 2:e+="x00"+t;break;case 3:e+="x0"+t;break;case 4:e+="x"+t;break}return e},r=i,e.XMLConvert=r}(Stimulsoft=Stimulsoft||{}),function(e){var t,r,n,i,a;function o(){this.nodeName="",this.childNodes=new a,this.localName="",this.textContent="",this.attributes=new i.XmlAttrCollection}r=t=e.System||(e.System={}),i=n=r.Xml||(r.Xml={}),a=e.System.Collections.List,Object.defineProperty(o.prototype,"firstChild",{get:function(){if(0<this.childNodes.length)return this.childNodes[0];return null},enumerable:!1,configurable:!0}),o.prototype.setParentNode=function(e){this.parentNode=e},o.prototype.getAttribute=function(e){if(null!=this.attributes)for(var t=0;t<this.attributes.length;t++){var r=this.attributes.getByIndex(t);if(r.name==e)return r.value}return null},o.prototype.item=function(e){return this.childNodes[e]},o.prototype.getNodeByName=function(e){for(var t=0;t<this.childNodes.length;t++){var r=this.childNodes[t];if(r.nodeName==e)return r;var r=r.getNodeByName(e);if(null!=r)return r}return null},o.prototype.getNodesByName=function(e){for(var t,r,n=[],i=0;i<this.childNodes.length;i++){var a=this.childNodes[i];a.nodeName==e&&n.push(a);var o=a.getNodesByName(e);if(null!=o)try{for(var s=(t=void 0,__values(o)),u=s.next();!u.done;u=s.next()){var l=u.value;n.push(l)}}catch(e){t={error:e}}finally{try{u&&!u.done&&(r=s.return)&&r.call(s)}finally{if(t)throw t.error}}}return n},r=o,i.XmlNode=r}(Stimulsoft=Stimulsoft||{}),function(e){var t,e,r,n;e=t=e.System||(e.System={}),e=r=e.Xml||(e.Xml={}),(e=n=e.XmlNodeType||(e.XmlNodeType={}))[e["ATTRIBUTE_NODE"]=0]="ATTRIBUTE_NODE",e[e["ELEMENT_NODE"]=1]="ELEMENT_NODE",e[e["TEXT_NODE"]=2]="TEXT_NODE",e[e["DOCUMENT_NODE"]=3]="DOCUMENT_NODE"}(Stimulsoft=Stimulsoft||{}),function(y){var e,m,t,d,r;function h(){}m=e=y.System||(y.System={}),d=t=m.Xml||(m.Xml={}),h.toXml=function(e){e=e.substring(e.indexOf("<?xml"));var e=h.getXmlDocumentFromString(e);return h.toXmlNode(e)},h.toXml2=function(e){var t=new y.ExternalLibrary.xmldoc.XmlDocument(e),e=new d.XmlNode;return e.childNodes.add(h.toXmlNode2(t)),e},h.toXmlNode2=function(e){var t,r,n=new d.XmlNode;if(n.nodeType=h.getNodeType2(e),n.nodeName=y.System.Text.XMLConvert.decodeName(e.name),n.localName=y.System.Text.XMLConvert.decodeName(h.getNodeLocalName2(e)),null!=e.attr)try{for(var i=__values(m.StiObject.keys(e.attr)),a=i.next();!a.done;a=i.next()){var o=a.value,s=new d.XmlAttr;s.name=o,s.value=e.attr[o],n.attributes.add(s)}}catch(e){t={error:e}}finally{try{a&&!a.done&&(r=i.return)&&r.call(i)}finally{if(t)throw t.error}}if(e.children)for(var u=0;u<e.children.length;u++){var l=this.toXmlNode2(e.children[u]);l.nodeType!=d.XmlNodeType.TEXT_NODE&&(0==l.childNodes.length&&(l.textContent=e.children[u].val),l.setParentNode(n),n.childNodes.add(l))}return n},h.toXmlNode=function(e){var t,r,n=new d.XmlNode;n.nodeType=h.getNodeType(e),n.nodeName=y.System.Text.XMLConvert.decodeName(h.getNodeName(e)),n.localName=y.System.Text.XMLConvert.decodeName(h.getNodeLocalName(e));var i=h.getAttributesArray(e);if(null!=i)try{for(var a=__values(i),o=a.next();!o.done;o=a.next()){var s=o.value,u=new d.XmlAttr;u.name=s.name,u.value=s.value,n.attributes.add(u)}}catch(e){t={error:e}}finally{try{o&&!o.done&&(r=a.return)&&r.call(a)}finally{if(t)throw t.error}}for(var l=0;l<h.getChildNodesArray(e).length;l++){var m=this.toXmlNode(h.getChildNodesArray(e)[l]);m.nodeType!=d.XmlNodeType.TEXT_NODE&&(0==m.childNodes.length&&(m.textContent=h.getNodeTextContent(h.getChildNodesArray(e)[l])),m.setParentNode(n),n.childNodes.add(m))}return n},h.getXmlDocumentFromString=function(e){var t=e.indexOf("<?"),r,r,t;return-1!=(t=e.indexOf("encoding",t+1))&&(r=e.indexOf('"',t+1),r=e.indexOf('"',r+1),e=e.replace(e.substring(t,r+1),"")),e=e.split("&#x").join("_amp#x"),(new DOMParser).parseFromString(e,"application/xhtml+xml")},h.getAttributesArray=function(e){return e.attributes},h.getNodeType2=function(e){switch(e.type){case"element":return d.XmlNodeType.ELEMENT_NODE;case"text":return d.XmlNodeType.TEXT_NODE}return d.XmlNodeType.TEXT_NODE},h.getNodeType=function(e){switch(e.nodeType){case Node.ELEMENT_NODE:return d.XmlNodeType.ELEMENT_NODE;case Node.ATTRIBUTE_NODE:return d.XmlNodeType.ATTRIBUTE_NODE;case Node.DOCUMENT_NODE:return d.XmlNodeType.DOCUMENT_NODE;case Node.TEXT_NODE:return d.XmlNodeType.TEXT_NODE}return d.XmlNodeType.TEXT_NODE},h.getNodeName=function(e){return e.nodeName},h.getNodeLocalName2=function(e){if(e.name&&0<=e.name.indexOf(":"))return e.name.substring(e.name.indexOf(":")+1);return e.name},h.getNodeLocalName=function(e){return e.localName},h.getNodeTextContent=function(e){for(var t=e.textContent.split("_amp#x"),r=1;r<t.length;r++){var n=t[r].substr(0,t[r].indexOf(";"));t[r]=String.fromCharCode(parseInt(n,16))+t[r].substr(t[r].indexOf(";")+1)}return t.join("")},h.getChildNodesArray=function(e){return e.childNodes},r=h,d.XmlConverter=r}(Stimulsoft=Stimulsoft||{}),function(G){var e,K,t;K=e=G.System||(G.System={}),function(z){var p=G.System.Text.XMLConvert,w=G.System.Collections.Hashtable,r=G.System.Xml.XmlConverter,M=G.System.Xml.XmlNodeType,J,e;(e=J=z.JsonRelationDirection||(z.JsonRelationDirection={}))[e["ChildToParent"]=0]="ChildToParent",e[e["ParentToChild"]=1]="ParentToChild";var e=(Object.defineProperty(t.prototype,"tryParseDateTime",{get:function(){if(null==this._tryParseDateTime||null==this._tryParseDateTime)return t.tryParseDateTime;return this._tryParseDateTime},set:function(e){this._tryParseDateTime=e},enumerable:!1,configurable:!0}),t.prototype.dispose=function(){this.tables=new z.DataTableCollection(this),this.relations=new z.DataSetRelationCollection(this),this.dataSetName="DataSet",this.structureFromSchema=!1},t.prototype.correctJsonString=function(e){var t=e.replace(/,\s*}/gi,"}"),t;t=(t=t.replace(/,\s*]/gi,"]")).replace(/:\s*null/gi,": null");var r=0;while(r<t.length){if("{"==t[r])return t;if("["==t[r])return'{"root": '+t+"}";r++}return t},t.prototype.correctJson=function(e){var a=function(e){if(e instanceof Array)for(var t=0,r;t<e.length;t++){"string"==(r=typeof e[t])||"number"==r||"boolean"==r?e[t]={value:e[t]}:a(e[t])}else for(var n in e){var i=n,r;null==e[n]?e[n]="":"string"!=(r=typeof e[n])&&"number"!=r&&"boolean"!=r&&(e[n]instanceof Array||(e[n]=[e[n]]),a(e[n]))}},t;for(t in a(e),e){var r=typeof e[t];if("string"==r||"number"==r||"boolean"==r)return{root:e}}return e},t.prototype.readJsonFile=function(e,t){var e;void 0===t&&(t=J.ParentToChild),K.StiString.isNullOrEmpty(e)||(e=G.System.IO.File.getFile(e,!1,"application/json"))&&this.readJson(e,t)},t.prototype.readJson=function(e,t){void 0===t&&(t=J.ParentToChild);try{if(void 0===e||null==e)return;var r,r;(e instanceof Array||e instanceof Uint8Array||K.NodeJs.isBuffer(e))&&"number"==typeof e[0]&&(e=G.System.Text.Encoding.UTF8.getString(e)),"string"==typeof e?(r=this.correctJsonString(e),K.StiString.isNullOrWhiteSpace(r)||(r=this.correctJson(JSON.parse(r)),this.processObject2(r,t))):this.readJson(JSON.stringify(e),t)}catch(e){throw G.System.StiError.showError(e.message,!1),e}},t.prototype.processObject2=function(e,t){var r,n,i,a,o,s;void 0===t&&(t=J.ParentToChild);var f=[],p=function(e,t,r,n,i){var a,o;void 0===i&&(i=!1);var s=t+"_"+e,u;for(u in K.StiString.isNullOrEmpty(t)&&(s=e),n){var l=n[u],m;if("object"==(null==l?"string":typeof l)){var y=!1;if(n instanceof Array)p(e,t,r+".#array#"+u,l,!1);else{if(!i&&l instanceof Array)try{for(var d=(a=void 0,__values(l)),h=d.next(),c;!h.done;h=d.next()){h.value["relationId"]="#relation#"+s}}catch(e){a={error:e}}finally{try{h&&!h.done&&(o=d.return)&&o.call(d)}finally{if(a)throw a.error}}p(u,s,r+"."+u,l),l instanceof Array?(n[u]="#relation#"+r+"."+u+".#array#0",y=!0):l["relationId"]=-1}y||l instanceof Array||(n[u]="#relation#"+r+"."+u)}}if(n instanceof Array)return;r&&(K.StiString.isNullOrEmpty(t)||(e=t+"_"+e),f.push({collectionName:e,address:r,cast:s,object:n}))};p("","","",e,!0);var u={},l={},m={},y=[],d,h;try{for(var c=__values(f),M=c.next();!M.done;M=c.next()){var b=M.value,g,v;(g=(g=l[b.cast])||[]).lastIndexForAddress=0,(u[b.address]=g).push(b),l[b.cast]=g,"relationId"in b.object&&-1!=b.object.relationId&&0==b.object.relationId.indexOf("#relation#")&&((v=b.object.relationId.split("#relation#").join(""))in l?b.object.relationId=l[v].length:b.object.relationId=0)}}catch(e){r={error:e}}finally{try{M&&!M.done&&(n=c.return)&&n.call(c)}finally{if(r)throw r.error}}for(d in l){var g=l[d],S=0;try{for(var w=(i=void 0,__values(g)),N=w.next();!N.done;N=w.next()){var I=N.value,j=I.collectionName,T=this.tables.getByName(j);T||(T=new G.System.Data.DataTable(j),this.tables.add(T));var k=T.addNewRow(),_;for(_ in S++,I.object)if(!K.StiString.isNullOrEmpty(_)){var D=I.object[_],F=typeof D,P=T.columns.getByName(_),O,O;if(P||(O=String,"relationId"!=_&&("number"==F?O=G.System.Decimal:"boolean"==F&&(O=Boolean)),P=new G.System.Data.DataColumn(_,O),T.columns.add(P),"relationId"==_?y.push(P):O==String&&(P.initType=!1)),"relationId"==_){if(-1==I.object.relationId){I.object.relationId=0;for(var C=u[I.address],H=C.lastIndexForAddress,A;H<C.length;H++){if(C[H].address==I.address){I.object.relationId=H,C.lastIndexForAddress=H;break}}}k.setValue(P,I.object.relationId)}else{"string"==F&&0==D.indexOf("#relation#")?(k.setValue(P,S-1),(O=u[D.split("#relation#").join("")])&&0<O.length&&(m[T.tableName+"."+P.columnName]={childColumn:P,childTable:T,parentTableName:O[0].collectionName})):(0!=P.initType||K.StiString.isNullOrEmpty(D)||(delete P.initType,"number"==F?P.changeType(G.System.Decimal):"boolean"==F?P.changeType(Boolean):"string"==F&&this.tryParseDateTime&&K.DateTime.isISO8601String(D)&&P.changeType(K.DateTime)),k.setValue(P,D))}}}}catch(e){i={error:e}}finally{try{N&&!N.done&&(a=w.return)&&a.call(w)}finally{if(i)throw i.error}}}for(h in m){var E=m[h].childColumn,x=this.tables.getByName(m[h].parentTableName),B=x.columns.getByName("relationId");t==J.ChildToParent?this.relations.add(new z.DataRelation(x.tableName,[B],[E])):this.relations.add(new z.DataRelation(x.tableName,[E],[B]));for(var H=0;H<y.length;H++)if(y[H]==B){y.stimulsoft.removeAt(H);break}}try{for(var L=__values(y),R=L.next();!R.done;R=L.next()){var W=R.value;W.table.columns.remove(W)}}catch(e){o={error:e}}finally{try{R&&!R.done&&(s=L.return)&&s.call(L)}finally{if(o)throw o.error}}},t.prototype.processObject=function(e,t){var r=new w,n,i;for(n in e)try{Object.prototype.hasOwnProperty.call(e,n)&&((i=e[n])instanceof Array?this.processArray(i,n):"string"==typeof i||"number"==typeof i||"boolean"==typeof i?r.add(n,i):this.processObject(i,n))}catch(e){throw G.System.StiError.showError(e,!1),e}this.processTable(r,t)},t.prototype.processTable=function(e,t){var r,n,i=new z.DataTable(t),t=!1;if(0<e.count){t=!0,i.columns.add(new z.DataColumn("key")),i.columns.add(new z.DataColumn("value"));try{for(var a=__values(e.keys),o=a.next();!o.done;o=a.next()){var s=o.value,u=i.newRow();i.rows.add(u),u.sett("key",s);var s=e.get(s);u.sett("value",s)}}catch(e){r={error:e}}finally{try{o&&!o.done&&(n=a.return)&&n.call(a)}finally{if(r)throw r.error}}}t&&this.tables.add(i)},t.prototype.processArray=function(e,t){var r,n,i,a,o,s,u=new w;try{for(var l=__values(e),m=l.next(),y,d,h;!m.done;m=l.next()){for(d in y=m.value){Object.prototype.hasOwnProperty.call(y,d)&&null!=(h=y[d])&&u.add(d,"")}}}catch(e){r={error:e}}finally{try{m&&!m.done&&(n=l.return)&&n.call(l)}finally{if(r)throw r.error}}var c=new z.DataTable(t);try{for(var f=__values(u.keys),p=f.next();!p.done;p=f.next()){var M=p.value;c.columns.add(new z.DataColumn(M))}}catch(e){i={error:e}}finally{try{p&&!p.done&&(a=f.return)&&a.call(f)}finally{if(i)throw i.error}}try{for(var b=__values(e),g=b.next();!g.done;g=b.next()){var y=g.value,v=c.newRow(),S=c.rows.add(v),d,h;for(d in y){Object.prototype.hasOwnProperty.call(y,d)&&(null!=(h=y[d])&&"string"!=typeof h&&"number"!=typeof h&&"boolean"!=typeof h&&(h=JSON.stringify(h,null,2)),v.setValue(d,h))}}}catch(e){o={error:e}}finally{try{g&&!g.done&&(s=b.return)&&s.call(b)}finally{if(o)throw o.error}}this.tables.add(c)},t.prototype.readXmlFile=function(e){var e=G.System.IO.File.getFile(e,!1,"application/xml");null!=e&&(this.dataNode=r.toXml(e).firstChild,null!=this.dataNode&&this.fillDataSet())},t.prototype.readXml=function(e){try{if(void 0===e||null==e)return;(e instanceof Array||e instanceof Uint8Array||K.NodeJs.isBuffer(e))&&(e=G.System.Text.Encoding.UTF8.getString(e)),"string"==typeof e&&(e=r.toXml(e)),this.dataNode=e.firstChild,null!=this.dataNode&&this.fillDataSet()}catch(e){throw G.System.StiError.showError(e.message,!1),e}},t.prototype.readXmlSchemaFile=function(e){try{var t=G.System.IO.File.getFile(e);t&&(this.schemaNode=r.toXml(t).firstChild,null!=this.schemaNode&&this.fillDataSet())}catch(e){throw G.System.StiError.showError(e.message,!1),e}},t.prototype.readXmlSchema=function(e){try{if(void 0===e||null==e)return;(e instanceof Array||e instanceof Uint8Array||K.NodeJs.isBuffer(e))&&(e=G.System.Text.Encoding.UTF8.getString(e)),"string"==typeof e&&(e=r.toXml(e)),this.schemaNode=e.firstChild,null!=this.schemaNode&&this.fillDataSet()}catch(e){throw G.System.StiError.showError(e.message,!1),e}},t.prototype.fillDataSet=function(){null==this.schemaNode&&"xs:schema"==this.dataNode.firstChild.nodeName&&(this.schemaNode=this.dataNode.firstChild,this.dataNode.childNodes.removeAt(0)),0==this.tables.count&&(this.structureFromSchema=!1,null!=this.schemaNode?(this.parseSchema(),this.structureFromSchema=!0):this.inferSchemaFromData()),null!=this.dataNode&&(0<this.dataNode.childNodes.length||0<this.dataNode.attributes.length)&&!this.isRetrieveColumns&&this.fillTable(this.dataNode),this.dataNode=null,this.schemaNode=null},t.prototype.parseSchema=function(){if(null==this.schemaNode.firstChild)return;var e=this.schemaNode.childNodes.where(function(e){return e.nodeType==M.ELEMENT_NODE&&"element"==p.decodeName(e.localName)&&"true"==e.getAttribute("msdata:IsDataSet")}),e;1==e.length&&e[0]==this.schemaNode.firstChild?(e=p.decodeName(this.schemaNode.firstChild.getAttribute("name")),K.StiString.isNullOrEmpty(e)||(this.dataSetName=e),this.parseAdoNetSchema(this.schemaNode)):this.parseUnknownSchema(this.schemaNode)},t.prototype.parseAdoNetSchema=function(e){var t,r,n,i,a=this,o=e.firstChild,s=[],u=[];try{for(var l=__values(o.childNodes.where(function(e){return e.nodeType==M.ELEMENT_NODE})),m=l.next();!m.done;m=l.next()){var y=m.value;switch(p.decodeName(y.localName)){case"complexType":y.firstChild.childNodes.where(function(e){return e.nodeType==M.ELEMENT_NODE&&"element"==p.decodeName(e.localName)}).map(function(e){return a.extractTableFromElementNode(e)});break;case"unique":case"key":s.push(this.extractKey(y));break;case"keyref":u.push(this.extractReference(y));break;default:break}}}catch(e){t={error:e}}finally{try{m&&!m.done&&(r=l.return)&&r.call(l)}finally{if(t)throw t.error}}var d=function(n){if(null==n)return"continue";var e;s.filter(function(e){return null!=e&&e.name==n.referencedKeyName}).map(function(e){var t=a.findTable(e.tableName),r=a.findTable(n.tableName);if(null==t||null==r)return;var t=a.findColumns([e.columnName],t),r=a.findColumns([n.columnName],r);if(t.length<1||r.length<1)return;var r=new z.DataRelation(n.name,t,r);a.relations.add(r)})};try{for(var h=__values(u),c=h.next(),f;!c.done;c=h.next()){d(c.value)}}catch(e){n={error:e}}finally{try{c&&!c.done&&(i=h.return)&&i.call(h)}finally{if(n)throw n.error}}e.childNodes.where(function(e){return e.nodeType==M.ELEMENT_NODE&&"annotation"==p.decodeName(e.localName)}).map(function(e){return a.extractRelationsFromAdoNetRelationships(e.firstChild)})},t.prototype.extractKey=function(e){var t=p.decodeName(e.getAttribute("name"));if(K.StiString.isNullOrEmpty(t))return null;if(e.childNodes.length<2)return null;var r=e.childNodes[0].getAttribute("xpath"),r=r.substring(r.lastIndexOf("/")+1),r=p.decodeName(r),e=e.childNodes[1].getAttribute("xpath"),e=p.decodeName(e);if(K.StiString.isNullOrEmpty(r)||K.StiString.isNullOrEmpty(e))return null;return{name:t,tableName:r,columnName:e}},t.prototype.extractReference=function(e){var t=p.decodeName(e.getAttribute("name"));if(K.StiString.isNullOrEmpty(t))return null;if(e.childNodes.length<2)return null;var r=e.childNodes[0].getAttribute("xpath"),n=r.substring(r.lastIndexOf("/")+1),n=p.decodeName(n),r=e.childNodes[1].getAttribute("xpath"),r=p.decodeName(r);if(K.StiString.isNullOrEmpty(n)||K.StiString.isNullOrEmpty(r))return null;var e=e.getAttribute("refer"),e=p.decodeName(e);if(K.StiString.isNullOrEmpty(e))return null;return{name:t,tableName:n,columnName:r,referencedKeyName:e}},t.prototype.extractRelationsFromAdoNetRelationships=function(e){for(var t=0,r,n,i,a,o,a,o,a;t<e.childNodes.length;t++){e.childNodes[t].nodeType==M.ELEMENT_NODE&&(n="msdata:",i=(r=e.childNodes[t]).getAttribute("name"),a=this.findTable(r.getAttribute(n+"child")),o=this.findTable(r.getAttribute(n+"parent")),a=this.findColumns(r.getAttribute(n+"childkey").split(" "),a),o=this.findColumns(r.getAttribute(n+"parentkey").split(" "),o),a=new z.DataRelation(i,o,a),this.relations.add(a))}},t.prototype.parseUnknownSchema=function(e){var t,r,n=null;this.complexTypeNodes=new w;try{for(var i=__values(e.childNodes.where(function(e){return e.nodeType==M.ELEMENT_NODE})),a=i.next();!a.done;a=i.next()){var o=a.value;switch(p.decodeName(o.localName)){case"element":if(null!=n)break;n=o;break;case"complexType":this.complexTypeNodes.add(p.decodeName(o.getAttribute("name")),o);break;default:break}}}catch(e){t={error:e}}finally{try{a&&!a.done&&(r=i.return)&&r.call(i)}finally{if(t)throw t.error}}if(null==n)return void(this.complexTypeNodes=null);var s=p.decodeName(n.getAttribute("type")),u;if(K.StiString.isNullOrEmpty(s)&&this.extractTableFromElementNode(n),null!=this.getStorageTypeOrDefault(s))return void(this.complexTypeNodes=null);var l=p.decodeName(n.getAttribute("name")),l;K.StiString.isNullOrEmpty(s)||(l=new z.DataTable(l),this.tables.add(l),this.extractColumnsFromComplexTypeNode(this.complexTypeNodes.get(s),l)),this.complexTypeNodes=null},t.prototype.extractTableFromElementNode=function(e){if(null!=e.firstChild&&"complexType"==p.decodeName(e.firstChild.localName)){var t=p.decodeName(e.getAttribute("name")),t=new z.DataTable(t);return this.extractColumnsFromComplexTypeNode(e.firstChild,t),this.tables.add(t),t}return null},t.prototype.extractColumnsFromComplexTypeNode=function(e,t){var r=this;null!=e.firstChild&&e.firstChild.childNodes.where(function(e){return e.nodeType==M.ELEMENT_NODE&&"element"==p.decodeName(e.localName)}).map(function(e){return r.extractColumnFromElementNode(e,t)})},t.prototype.extractColumnFromElementNode=function(e,t){var r,r,n,i=p.decodeName(e.getAttribute("name")),a,a=(a=p.decodeName(e.getAttribute("type"))).substr(a.indexOf(":")+1),o=this.getStorageTypeOrDefault(a),s,u,u,l,r,r,r,m,n,n,s,m,i,i;null!=o?(s=!1,u=null!==(r=e.getAttribute("maxOccurs"))&&void 0!==r?r:"1",u=p.decodeName(u),l=Number(u),r=null!==(r=e.getAttribute("minOccurs"))&&void 0!==r?r:"1",r=p.decodeName(r),r=Number(r),"unbounded"==u||!isNaN(l)&&1<l||!isNaN(r)&&1<r?(m=new z.DataTable(i),this.tables.add(m),n=new z.DataColumn(i,o,i),m.columns.add(n),this.linkTables(t,m)):(n=p.decodeName(null!==(n=e.getAttribute("msdata:Caption"))&&void 0!==n?n:i),t.columns.add(new z.DataColumn(i,o,n)))):(m=new z.DataTable(i),this.tables.add(m),i=void 0,i=null==a?e.firstChild:this.complexTypeNodes.get(a),this.extractColumnsFromComplexTypeNode(i,m),this.linkTables(t,m))},t.prototype.inferSchemaFromData=function(){var t=this;this.dataNode.childNodes.where(function(e){return e.nodeType==M.ELEMENT_NODE&&null!=e.nodeName}).map(function(e){return t.inferTableFromNode(e)})},t.prototype.inferTableFromNode=function(e){var t=p.decodeName(e.nodeName),r=this.tables.getByName(t);return null==r&&(r=new z.DataTable(t),this.tables.add(r)),this.inferColumnsFromNode(e,r),r},t.prototype.inferColumnsFromNode=function(e,t){var r,n,i=this;e.childNodes.where(function(e){return e.nodeType==M.ELEMENT_NODE}).map(function(e){return i.inferColumnFromNode(e,t)});try{for(var a=__values(e.attributes.list),o=a.next();!o.done;o=a.next()){var s=o.value,u="@"+p.decodeName(s.name),s=t.columns.getByName(u);null==s&&(s=new z.DataColumn(u),t.columns.add(s))}}catch(e){r={error:e}}finally{try{o&&!o.done&&(n=a.return)&&n.call(a)}finally{if(r)throw r.error}}},t.prototype.inferColumnFromNode=function(t,e){var r=p.decodeName(t.nodeName),n,n,i,i,n;null!=t.firstChild?(n=this.inferTableFromNode(t),this.linkTables(e,n)):1<t.parentNode.childNodes.count2(function(e){return e.nodeName==t.nodeName})?(null==(n=this.tables.getByName(r))&&(i=new z.DataColumn(t.nodeName),(n=new z.DataTable(r)).columns.add(i),this.tables.add(n)),this.linkTables(e,n)):(i=p.decodeName(t.nodeName),null==(n=e.columns.getByName(i))&&(n=new z.DataColumn(i),e.columns.add(n)))},t.prototype.fillTable=function(e,t){var r;void 0===t&&(t=null);var n=p.decodeName(e.nodeName);if(null!=r&&r.tableName==n||(r=this.tables.getByName(n)),null!=r)this.fillRow(e,r,t);else for(var i=0;i<e.childNodes.length;i++){var a=e.childNodes[i];a.nodeType==M.ELEMENT_NODE&&null!=a.nodeName&&this.fillTable(a)}},t.prototype.fillRow=function(e,t,r){var n,i,a,o,s;void 0===r&&(r=null);for(var u=t.addNewRow(),l=0,m;l<e.childNodes.length;l++){e.childNodes[l].nodeType!=M.ELEMENT_NODE||null!=(m=e.childNodes[l]).nodeName&&(o=p.decodeName(m.nodeName),a=t.columns.getByName(o),s=null==m.firstChild&&null==this.tables.getByName(o)?m.textContent:"true"==m.getAttribute("isNull")?null:"",null==a?(o=t.tableName+"_id",u.setValue(o,t.rows.count-1),this.fillTable(m,t)):this.addNodeValueToRowIntoColumn(s,u,o,a))}if(!this.structureFromSchema)try{for(var y=__values(e.attributes.list),d=y.next();!d.done;d=y.next()){var h=d.value,o="@"+p.decodeName(h.name),a=t.columns.getByName(o),s=h.value;this.addNodeValueToRowIntoColumn(s,u,o,a)}}catch(e){n={error:e}}finally{try{d&&!d.done&&(i=y.return)&&i.call(y)}finally{if(n)throw n.error}}null!=r&&(u.setValue(r.tableName+"_id",r.rows.count-1),o=p.decodeName(e.nodeName),null==e.firstChild&&null!=this.tables.getByName(o)&&(s=e.textContent,a=t.columns.getByName(o),this.addNodeValueToRowIntoColumn(s,u,o,a)))},t.prototype.addNodeValueToRowIntoColumn=function(e,t,r,n){switch(n.dataType){case Boolean:t.setValue(r,e.stimulsoft.toBoolean());break;case K.Byte:case K.Decimal:case K.Double:case K.Int16:case K.Int32:case K.Int64:case K.SByte:case K.Single:case K.UInt16:case K.UInt32:case K.UInt64:case Number:t.setValue(r,e.stimulsoft.toNumber());break;default:"string"==typeof e&&(e=e.replace(/\r\n/gi,"\n").replace(/\r/gi,"\n").replace(/\n/gi,"\r\n")),t.setValue(r,e.toString());break}},t.prototype.linkTables=function(e,t){var r=e.tableName,n=r+"_id",i=t.columns.getByName(n);null==i&&(i=new z.DataColumn(n,K.Int32,n),t.columns.add(i));var a=e.columns.getByName(n);null==a&&(a=new z.DataColumn(n,K.Int32,n),e.columns.add(a));var t=r+"_"+t.tableName,i;null==this.relations.getByName(t)&&(i=new z.DataRelation(t,[a],[i]),this.relations.add(i))},t.prototype.getStorageTypeOrDefault=function(e){switch(e){case"boolean":case"Stimulsoft.System.Boolean":case"Stimulsoft.System.Nullable`1[Stimulsoft.System.Boolean]":return Boolean;case"unsignedByte":case"Stimulsoft.System.Byte":case"Stimulsoft.System.Nullable`1[Stimulsoft.System.Byte]":return K.Byte;case"Stimulsoft.System.Char":case"Stimulsoft.System.Nullable`1[Stimulsoft.System.Char]":return K.Char;case"binary":case"base64Binary":case"Stimulsoft.System.Byte[]":case"Stimulsoft.System.Drawing.Image":return K.ByteArray;case"date":case"dateTime":case"Stimulsoft.System.DateTime":case"Stimulsoft.System.Nullable`1[Stimulsoft.System.DateTime]":return K.DateTime;case"Stimulsoft.System.TimeSpan":case"Stimulsoft.System.Nullable`1[Stimulsoft.System.TimeSpan]":return K.TimeSpan;case"decimal":case"Stimulsoft.System.Decimal":case"Stimulsoft.System.Nullable`1[Stimulsoft.System.Decimal]":return K.Decimal;case"float":case"double":case"Stimulsoft.System.Double":case"Stimulsoft.System.Nullable`1[Stimulsoft.System.Double]":return K.Double;case"Stimulsoft.System.Guid":case"Stimulsoft.System.Nullable`1[Stimulsoft.System.Guid]":return K.Guid;case"short":case"Stimulsoft.System.Int16":case"Stimulsoft.System.Nullable`1[Stimulsoft.System.Int16]":return K.Int16;case"int":case"Stimulsoft.System.Int32":case"Stimulsoft.System.Nullable`1[Stimulsoft.System.Int32]":return K.Int32;case"long":case"Stimulsoft.System.Int64":case"Stimulsoft.System.Nullable`1[Stimulsoft.System.Int64]":return K.Int64;case"Stimulsoft.System.Object":return Object;case"Stimulsoft.System.SByte":case"Stimulsoft.System.Nullable`1[Stimulsoft.System.SByte]":return K.SByte;case"Stimulsoft.System.Single":case"Stimulsoft.System.Nullable`1[Stimulsoft.System.Single]":return K.Single;case"Stimulsoft.System.UInt16":case"Stimulsoft.System.Nullable`1[Stimulsoft.System.UInt16]":return K.UInt16;case"Stimulsoft.System.UInt32":case"Stimulsoft.System.Nullable`1[Stimulsoft.System.UInt32]":return K.UInt32;case"Stimulsoft.System.UInt64":case"Stimulsoft.System.Nullable`1[Stimulsoft.System.UInt64]":return K.UInt64;case"string":case"Stimulsoft.System.String":return String}return null},t.prototype.findTable=function(e){return e=p.decodeName(e),this.tables.getByName(e)},t.prototype.findColumns=function(e,t){var r,n,i=[],a;try{for(var o=__values(e),s=o.next();!s.done;s=o.next()){var a=s.value,a=p.decodeName(a),a;null!=(a=t.columns.getByName(a))&&i.push(a)}}catch(e){r={error:e}}finally{try{s&&!s.done&&(n=o.return)&&n.call(o)}finally{if(r)throw r.error}}return i},t.tryParseDateTime=!0,t);function t(e){void 0===e&&(e=null),this.isRetrieveColumns=!1,this.structureFromSchema=!1,this.dataSetName="",this.enforceConstraints=!1,this.tables=new z.DataTableCollection(this),this.relations=new z.DataSetRelationCollection(this),this.dataSetName=e,K.StiString.isNullOrEmpty(this.dataSetName)&&(this.dataSetName="DataSet")}z.DataSet=e}(t=K.Data||(K.Data={}))}(Stimulsoft=Stimulsoft||{}),function(e){var t,r,n,e,i;function a(e){var t=i.call(this)||this;return t.dataSet=e,t}r=t=e.System||(e.System={}),e=n=r.Data||(r.Data={}),i=e.DataRelationCollection,__extends(a,i),a.prototype.addCore=function(e){if(i.prototype.addCore.call(this,e),e.childTable.dataSet!=this.dataSet||e.parentTable.dataSet!=this.dataSet)return;this.list.push(e),e.parentTable.childRelations.add(e),e.childTable.parentRelations.add(e),e.setDataSet(this.dataSet)},a.prototype.getDataSet=function(){return this.dataSet},r=a,e.DataSetRelationCollection=r}(Stimulsoft=Stimulsoft||{}),function(e){var t,d,r,h,e;function c(e){void 0===e&&(e=""),this.needCleanCache=!0,this._index=null,this.tableName="",this._extendedProperties={},this.columns=new h.DataColumnCollection(this),this.rows=new h.DataRowCollection(this),this.tableName=e,this.defaultView=new h.DataView(this)}d=t=e.System||(e.System={}),h=r=d.Data||(d.Data={}),Object.defineProperty(c.prototype,"index",{get:function(){return null==this._index&&(this._index=[]),this.needCleanCache&&(this._index.splice(0),this.needCleanCache=!1),this._index},enumerable:!1,configurable:!0}),Object.defineProperty(c.prototype,"childRelations",{get:function(){return null==this._childRelations&&(this._childRelations=new h.DataTableRelationCollection(this,!1)),this._childRelations},set:function(e){this._childRelations=e},enumerable:!1,configurable:!0}),Object.defineProperty(c.prototype,"parentRelations",{get:function(){return null==this._parentRelations&&(this._parentRelations=new h.DataTableRelationCollection(this,!1)),this._parentRelations},set:function(e){this._parentRelations=e},enumerable:!1,configurable:!0}),c.prototype.setDataSet=function(e){this.dataSet=e,this.needCleanCache=!0},c.prototype.addRow=function(e){return this.needCleanCache=!0,this.rows.addArray(e)},c.prototype.removeRow=function(e){this.rows.removeArray(e),this.needCleanCache=!0},c.prototype.addNewRow=function(){var e=this.newRow();return this.addRow(e),this.needCleanCache=!0,e},Object.defineProperty(c.prototype,"extendedProperties",{get:function(){return this._extendedProperties},enumerable:!1,configurable:!0}),c.prototype.newRow=function(){return h.DataRow.create(this)},c.prototype.clone=function(){var t,e,r=new c;r.rows=new h.DataRowCollection(r),r.tableName=this.tableName,r.dataSet=this.dataSet,r.childRelations=this.childRelations,r.parentRelations=this.parentRelations,r.columns=new h.DataColumnCollection(r);try{for(var n=__values(this.columns.list),i=n.next();!i.done;i=n.next()){var a,o=i.value.clone();(o.table=r).columns.add(o)}}catch(e){t={error:e}}finally{try{i&&!i.done&&(e=n.return)&&e.call(n)}finally{if(t)throw t.error}}return r.needCleanCache=!0,r},c.prototype.copy=function(){var t,e,r,n,i=new c;i.rows=new h.DataRowCollection(i),i.tableName=this.tableName,i.dataSet=this.dataSet,i.columns=new h.DataColumnCollection(i);try{for(var a=__values(this.columns.list),o=a.next();!o.done;o=a.next()){var s=o.value,u=s.clone();(u.table=i).columns.add(u),d.StiArray.copy(s.storage.values,0,u.storage.values,s.storage.values.length)}}catch(e){t={error:e}}finally{try{o&&!o.done&&(e=a.return)&&e.call(a)}finally{if(t)throw t.error}}try{for(var l=__values(this.rows.list),m=l.next();!m.done;m=l.next()){var y=m.value;i.addNewRow()}}catch(e){r={error:e}}finally{try{m&&!m.done&&(n=l.return)&&n.call(l)}finally{if(r)throw r.error}}return i.needCleanCache=!0,i},c.prototype.toList=function(){return this.columns.toList()},c.prototype.loadDataRow=function(e,t){if(void 0===t&&(t=!0),e.length>this.columns.length)throw new Error("The array is larger than the number of columns in the table.");for(var r=this.addNewRow(),n=0;n<e.length;n++)r.sett(n,e[n]);return r},e=c,h.DataTable=e}(Stimulsoft=Stimulsoft||{}),function(e){var t,i,r,n,e,a;function o(e){var t=a.call(this)||this;return t.dataSet=e,t}i=t=e.System||(e.System={}),n=r=i.Data||(i.Data={}),e=e.System.Collections.CollectionBase,__extends(o,a=e),o.prototype.add=function(e){this.checkTableName(e),this.list.push(e),this.baseAdd(e)},o.prototype.remove=function(e){var t=this.list.lastIndexOf(e);-1!==t&&this.list.splice(t,1),this.baseRemove(e)},o.prototype.baseAdd=function(e){e.setDataSet(this.dataSet)},o.prototype.baseRemove=function(e){e.setDataSet(null)},o.prototype.getByName=function(e){var t,r;try{for(var n=__values(this.list),i=n.next();!i.done;i=n.next()){var a=i.value;if(a.tableName==e)return a}}catch(e){t={error:e}}finally{try{i&&!i.done&&(r=n.return)&&r.call(n)}finally{if(t)throw t.error}}return null},o.prototype.checkTableName=function(e){i.StiString.isNullOrEmpty(e.tableName)&&(e.tableName="Table");var t=1,r=e.tableName,n=this.getByName(r);while(null!=n)r=e.tableName+t.toString(),n=this.getByName(r),t++;e.tableName!=r&&(e.tableName=r)},e=o,n.DataTableCollection=e}(Stimulsoft=Stimulsoft||{}),function(e){var t,r,n,e,i;function a(e,t){var r=i.call(this)||this;return r.table=e,r.parentCollection=t,r}r=t=e.System||(e.System={}),e=n=r.Data||(r.Data={}),i=e.DataRelationCollection,__extends(a,i),a.prototype.addCache=function(e){this.list.push(e)},a.prototype.addCore=function(e){if(this.parentCollection){if(e.childTable!=this.table)return;if(e.parentTable!=this.table)return}this.addCache(e)},a.prototype.getDataSet=function(){return this.table.dataSet},r=a,e.DataTableRelationCollection=r}(Stimulsoft=Stimulsoft||{}),function(e){var t,S,r,n,e;function i(e){this.rowFilter="",this.sort="",this.table=e}S=t=e.System||(e.System={}),n=r=S.Data||(S.Data={}),i.prototype.clone=function(){var e=new i(this.table);return e.rowFilter=this.rowFilter,e.sort=this.sort,e},i.prototype.toTable=function(e){if(void 0===e&&(e=!1),"FALSE"==this.rowFilter)return this.table.clone();var t=[],r=[];this.parse(this.rowFilter,t," AND "),this.parse(this.rowFilter,r," OR "),S.StiString.isNullOrEmpty(this.rowFilter)||(1==r.length&&r[0]==this.rowFilter?e=!0:1==t.length&&t[0]==this.rowFilter&&(e=!1));var n=[];this.parse(this.rowFilter,n,e?" AND ":" OR ");for(var i=0;i<n.length;i++){var a=[];this.parse(n[i],a,e?" OR ":" AND "),n.splice(i,1,a)}return this.parseConditions(n),this.filter(e)},i.prototype.filter=function(e){var t,r;void 0===e&&(e=!0);for(var n=this.table.clone(),i=0;i<this.table.rows.length;i++){var a=0<this.ands.length;e||(a=!a);var o=this.table.rows.getByIndex(i),s=0;while(s<this.ands.length&&(e&&a||!e&&!a)){var u=this.ands[s],l=!e,m=0;while(m<u.length&&(e&&!l||!e&&l)){var y=u[m];try{var d=this.table.columns.getIndexByName(y["field"]),h=this.table.columns.getByIndex(d),c;!y["value"]&&y["value1"]&&(S.Type.isNumericType(h.dataType)?y["value"]=parseFloat(y["value1"]):h.dataType==Boolean?y["value"]="true"==y["value1"]:S.Type.isDateType(h.dataType)?(y["value"]=S.DateTime.tryParseExact(y["value1"],["MM/DD/YYYY hh:mm:ss","MM/DD/YYYY"]).result,y["operator"]+="Date"):"string"==typeof y["value1"]?(y["value"]=y["value1"].toUpperCase(),0<(c=y["value"].trim()).length&&(y["value"]=c)):y["value"]=y["value1"]);var f=o.gett(d),c;"string"==typeof f&&0<(c=(f=f.toUpperCase()).trim()).length&&(f=c),e||(l=!1);var h=y["value"],d=y["operator"];("EqualTo"==d&&f==h||"NotEqualTo"==d&&f!=h||"GreaterThan"==d&&h<f||"GreaterThanOrEqualTo"==d&&h<=f||"LessThanOrEqualTo"==d&&f<=h||"LessThan"==d&&f<h||"Containing"==d&&0<=(null==f?void 0:f.indexOf(h))||"BeginningWith"==d&&0==(null==f?void 0:f.indexOf(h))||"EndingWith"==d&&(null==f?void 0:f.lastIndexOf(h))==f.length-h.length||"IsNull"==d&&null==f||"IsNotNull"==d&&null!=f||"NotContaining"==d&&-1==(null==f?void 0:f.indexOf(h))||"IsBlank"==d&&0==(null==f?void 0:f.trim().length)||"IsNotBlank"==d&&0<(null==f?void 0:f.trim().length)||"EqualToDate"==d&&(null==f?void 0:f.toString("MM/DD/YYYY hh:mm:ss"))==(null==h?void 0:h.toString("MM/DD/YYYY hh:mm:ss"))||"NotEqualToDate"==d&&(null==f?void 0:f.toString("MM/DD/YYYY hh:mm:ss"))!=(null==h?void 0:h.toString("MM/DD/YYYY hh:mm:ss"))||"GreaterThanDate"==d&&(null==f?void 0:f.ticks)>(null==h?void 0:h.ticks)||"GreaterThanOrEqualToDate"==d&&(null==f?void 0:f.ticks)>=(null==h?void 0:h.ticks)||"LessThanOrEqualToDate"==d&&(null==f?void 0:f.ticks)<=(null==h?void 0:h.ticks)||"LessThanDate"==d&&(null==f?void 0:f.ticks)<(null==h?void 0:h.ticks))&&(l=!0)}catch(e){}m++}a=l,s++}a&&n.loadDataRow(o.itemArray)}if(!S.StiString.isNullOrEmpty(this.sort)){var p=this.sort.split(",");try{for(var M=__values(this.sort.split(",")),b=M.next();!b.done;b=M.next()){var g=b.value,v=this.sort.split(" ");n.rows.sort(v[0].trim(),"asc"==v[1].trim().toLowerCase())}}catch(e){t={error:e}}finally{try{b&&!b.done&&(r=M.return)&&r.call(M)}finally{if(t)throw t.error}}}return n},i.prototype.parseConditions=function(e){this.ands=[];for(var t=0;t<e.length;t++){for(var r=[],n=0;n<e[t].length;n++){var i=e[t][n],a={},i;0==i.indexOf("[")?(a["field"]=i.substr(1,i.indexOf("]")-1),"="==(i=i.substr(i.indexOf("]")+2))[0]?(a["operator"]="EqualTo",a["value1"]=i.substr(2)):i[0]+i[1]=="<>"?(a["operator"]="NotEqualTo",a["value1"]=i.substr(3)):i[0]+i[1]==">="?(a["operator"]="GreaterThanOrEqualTo",a["value1"]=i.substr(3)):i[0]+i[1]=="<="?(a["operator"]="LessThanOrEqualTo",a["value1"]=i.substr(3)):">"==i[0]?(a["operator"]="GreaterThan",a["value1"]=i.substr(2)):"<"==i[0]?(a["operator"]="LessThan",a["value1"]=i.substr(2)):0==i.indexOf("LIKE '*")&&i.lastIndexOf("*'")==i.length-2?(a["operator"]="Containing",a["value1"]=i.substr(7,i.lastIndexOf("'")-8)):0==i.indexOf("LIKE '")&&i.lastIndexOf("*'")==i.length-2?(a["operator"]="BeginningWith",a["value1"]=i.substr(6,i.lastIndexOf("'")-7)):0==i.indexOf("LIKE '*")&&i.lastIndexOf("'")==i.length-1?(a["operator"]="EndingWith",a["value1"]=i.substr(7,i.lastIndexOf("'")-7)):0==i.indexOf("IS NULL")?a["operator"]="IsNull":0==i.indexOf("IS NOT NULL")&&(a["operator"]="IsNotNull")):0==i.indexOf("Convert([")?(a["operator"]="EqualTo",a["field"]=i.substr(9,i.indexOf("]")-9),i=i.substr(i.indexOf("LIKE '")+6),a["value1"]=i.substr(0,i.length-2)):0==i.indexOf("NOT (Convert([")?(a["operator"]="NotEqualTo",a["field"]=i.substr(14,i.indexOf("]")-14),i=i.substr(i.indexOf("LIKE '")+6),a["value1"]=i.substr(0,i.length-3)):0==i.indexOf("NOT ([")?(a["operator"]="NotContaining",a["field"]=i.substr(6,i.indexOf("]")-6),i=i.substr(i.indexOf("LIKE '*")+7),a["value1"]=i.substr(0,i.length-3)):0==i.indexOf("TRIM([")&&i.indexOf(") = ''")==i.length-6?(a["operator"]="IsBlank",a["field"]=i.substr(6,i.indexOf("]")-6)):0==i.indexOf("TRIM([")&&i.indexOf(") <> ''")==i.length-7&&(a["operator"]="IsNotBlank",a["field"]=i.substr(6,i.indexOf("]")-6)),a["operator"]&&(null!=(i=a["value1"])&&(2<i.length&&(i=i.split("''").join("'")),1<i.length&&"'"==i[0]&&"'"==i[i.length-1]&&(i=i.substr(1,i.length-2)),a["value1"]=i),r.push(a))}0<r.length&&this.ands.push(r)}},i.prototype.parse=function(e,t,r){if("("==(e=e.trim())[0]&&")"==e[e.length-1]){for(var n=!1,i=1,a=1;a<e.length;a++)")"==e[a]&&i--,"("==e[a]&&i++,0==i&&a!=e.length-1&&(n=!0);n||(e=e.substr(1,e.length-2))}var o=0,s=!1,u=0,l="";while(u<e.length)0==o&&!s&&(u<e.length-5&&e[u]+e[u+1]+e[u+2]+e[u+3]+e[u+4]==r||u<e.length-4&&e[u]+e[u+1]+e[u+2]+e[u+3]==r)?(this.parse(l,t,r),l="",u+=r.length):(")"==e[u]&&o--,"("==e[u]&&o++,"'"==e[u]&&(s=!s),l+=e[u],u++);l==e?t.push(l):this.parse(l,t,r)},e=i,n.DataView=e}(Stimulsoft=Stimulsoft||{}),function(e){var t,r,n,i,e,a;function o(){return null!==a&&a.apply(this,arguments)||this}r=t=e.System||(e.System={}),i=n=r.Data||(r.Data={}),a=i.DataStorage,__extends(o,a),o.prototype.setValue=function(e,t){null==t?this.values[e]="":"string"==typeof t?this.values[e]=r.DateTime.fromString(t,!1):"number"==typeof t?this.values[e]=new r.DateTime(new Date(t)):t instanceof Date?this.values[e]=new r.DateTime(t):t instanceof r.DateTime?this.values[e]=t:this.values[e]=""},e=o,i.DateTimeStorage=e}(Stimulsoft=Stimulsoft||{}),function(e){var t,r,n,e,i;function a(){return null!==i&&i.apply(this,arguments)||this}r=t=e.System||(e.System={}),e=n=r.Data||(r.Data={}),i=e.DataStorage,__extends(a,i),a.prototype.setValue=function(e,t){var t;null!=t?"number"==typeof t?this.values[e]=t:(t=t.stimulsoft.toNumber(),isNaN(t)&&(t=null),this.values[e]=t):this.values[e]=null},r=a,e.NumberStorage=r}(Stimulsoft=Stimulsoft||{}),function(e){var t,r,n,e,i;function a(){return null!==i&&i.apply(this,arguments)||this}r=t=e.System||(e.System={}),e=n=r.Data||(r.Data={}),i=e.DataStorage,__extends(a,i),r=a,e.ObjectStorage=r}(Stimulsoft=Stimulsoft||{}),function(e){var t,e,r,n;e=t=e.System||(e.System={}),e=r=e.Data||(e.Data={}),(e=n=e.StorageType||(e.StorageType={}))[e["ObjectType"]=1]="ObjectType",e[e["BooleanType"]=3]="BooleanType",e[e["CharType"]=4]="CharType",e[e["SByteType"]=5]="SByteType",e[e["ByteType"]=6]="ByteType",e[e["Number16Type"]=7]="Number16Type",e[e["Unumber16Type"]=8]="Unumber16Type",e[e["NumberType"]=9]="NumberType",e[e["Number32Type"]=9]="Number32Type",e[e["Unumber32Type"]=10]="Unumber32Type",e[e["Number64Type"]=11]="Number64Type",e[e["Unumber64Type"]=12]="Unumber64Type",e[e["SingleType"]=13]="SingleType",e[e["DoubleType"]=14]="DoubleType",e[e["DecimalType"]=15]="DecimalType",e[e["DateTimeType"]=16]="DateTimeType",e[e["TimeSpanType"]=17]="TimeSpanType",e[e["StringType"]=18]="StringType",e[e["GuidType"]=19]="GuidType",e[e["ByteArrayType"]=20]="ByteArrayType",e[e["IntType"]=30]="IntType",e[e["Int16Type"]=31]="Int16Type",e[e["Int32Type"]=32]="Int32Type",e[e["Int64Type"]=33]="Int64Type",e[e["UInt16Type"]=34]="UInt16Type",e[e["UInt32Type"]=35]="UInt32Type",e[e["UInt64Type"]=36]="UInt64Type"}(Stimulsoft=Stimulsoft||{}),function(e){var t,r,n,e,i;function a(){return null!==i&&i.apply(this,arguments)||this}r=t=e.System||(e.System={}),e=n=r.Data||(r.Data={}),i=e.DataStorage,__extends(a,i),a.prototype.setValue=function(e,t){this.values[e]=null!=t?t.toString():null},r=a,e.StringStorage=r}(Stimulsoft=Stimulsoft||{}),function(e){var t,e,r,n;e=t=e.System||(e.System={}),e=r=e.Globalization||(e.Globalization={}),(e=n=e.UnicodeCategory||(e.UnicodeCategory={}))[e["UppercaseLetter"]=0]="UppercaseLetter",e[e["LowercaseLetter"]=1]="LowercaseLetter",e[e["TitlecaseLetter"]=2]="TitlecaseLetter",e[e["ModifierLetter"]=3]="ModifierLetter",e[e["OtherLetter"]=4]="OtherLetter",e[e["NonSpacingMark"]=5]="NonSpacingMark",e[e["SpacingCombiningMark"]=6]="SpacingCombiningMark",e[e["EnclosingMark"]=7]="EnclosingMark",e[e["DecimalDigitNumber"]=8]="DecimalDigitNumber",e[e["LetterNumber"]=9]="LetterNumber",e[e["OtherNumber"]=10]="OtherNumber",e[e["SpaceSeparator"]=11]="SpaceSeparator",e[e["LineSeparator"]=12]="LineSeparator",e[e["ParagraphSeparator"]=13]="ParagraphSeparator",e[e["Control"]=14]="Control",e[e["Format"]=15]="Format",e[e["Surrogate"]=16]="Surrogate",e[e["PrivateUse"]=17]="PrivateUse",e[e["ConnectorPunctuation"]=18]="ConnectorPunctuation",e[e["DashPunctuation"]=19]="DashPunctuation",e[e["OpenPunctuation"]=20]="OpenPunctuation",e[e["ClosePunctuation"]=21]="ClosePunctuation",e[e["InitialQuotePunctuation"]=22]="InitialQuotePunctuation",e[e["FinalQuotePunctuation"]=23]="FinalQuotePunctuation",e[e["OtherPunctuation"]=24]="OtherPunctuation",e[e["MathSymbol"]=25]="MathSymbol",e[e["CurrencySymbol"]=26]="CurrencySymbol",e[e["ModifierSymbol"]=27]="ModifierSymbol",e[e["OtherSymbol"]=28]="OtherSymbol",e[e["OtherNotAssigned"]=29]="OtherNotAssigned"}(Stimulsoft=Stimulsoft||{}),function(e){var t,i,a,e;function r(){}i=t=e.System||(e.System={}),a=e.System.Globalization.UnicodeCategory,r.isUpper=function(e,t){var r;return void 0===t&&(t=0),this.getUnicodeCategory(e,t)==a.UppercaseLetter},r.isLower=function(e,t){var r;return void 0===t&&(t=0),this.getUnicodeCategory(e,t)==a.LowercaseLetter},r.isLetter=function(e,t){void 0===t&&(t=0);var t=this.getUnicodeCategory(e,t);return this.checkLetter(t)},r.isDigit=function(e,t){var r,n;if(void 0===t&&(t=0),null!=e&&"number"==typeof e)return i.Chars.getUnicodeCategory(e)==a.DecimalDigitNumber;return this.getUnicodeCategory(e,t)==a.DecimalDigitNumber},r.isLetterOrDigit=function(e,t){void 0===t&&(t=0);var t=this.getUnicodeCategory(e,t);return this.checkLetter(t)||t==a.DecimalDigitNumber},r.toLower=function(e){return e.toLocaleLowerCase()},r.toUpper=function(e){return e.toLocaleUpperCase()},r.isWhitespace=function(e,t,r){if(void 0===t&&(t=0),void 0===r&&(r=!0),null==e||e.length<t+1)return!1;var t=e.charCodeAt(t);if(32==t||9<=t&&t<=13||160==t&&r||133==t)return!0;var t=i.Chars.getUnicodeCategory(t);return t==a.SpaceSeparator||t==a.LineSeparator||t==a.ParagraphSeparator},r.checkLetter=function(e){return e==a.UppercaseLetter||e==a.LowercaseLetter||e==a.TitlecaseLetter||e==a.ModifierLetter||e==a.OtherLetter},r.getUnicodeCategory=function(e,t){if(void 0===t&&(t=0),null==e||e.length<t+1)return a.OtherNotAssigned;var t=e.charCodeAt(t);return i.Chars.getUnicodeCategory(t)},r.isControl=function(e,t){return void 0===t&&(t=0),r.getUnicodeCategory(e,t)==a.Control},e=r,i.Char=e}(Stimulsoft=Stimulsoft||{}),function(e){var t,d,h,e;function c(e,t,r,n){var i;void 0===e&&(e=0),void 0===t&&(t=null),void 0===r&&(r=null),void 0===n&&(n=null),null==t?this._ticks=e:(null==n&&(n=0),this._ticks=c.timeToTicks(0,e,t,r,n))}d=t=e.System||(e.System={}),h=e.System.Char,Object.defineProperty(c,"zero",{get:function(){return new c},enumerable:!1,configurable:!0}),c.getNetTypeName=function(){return"Stimulsoft.System.TimeSpan"},Object.defineProperty(c,"minValue",{get:function(){return null==this._minValue&&(this._minValue=new c(0,0,Number.MIN_VALUE)),this._minValue},enumerable:!1,configurable:!0}),Object.defineProperty(c,"maxValue",{get:function(){return null==this._maxValue&&(this._maxValue=new c(0,0,Number.MAX_VALUE)),this._maxValue},enumerable:!1,configurable:!0}),Object.defineProperty(c.prototype,"ticks",{get:function(){return this._ticks},enumerable:!1,configurable:!0}),Object.defineProperty(c.prototype,"days",{get:function(){return Math.floor(this._ticks/c.ticksPerDay)},enumerable:!1,configurable:!0}),Object.defineProperty(c.prototype,"hours",{get:function(){return Math.floor(this._ticks/c.ticksPerHour)%24},enumerable:!1,configurable:!0}),Object.defineProperty(c.prototype,"milliseconds",{get:function(){return Math.floor(this._ticks/c.ticksPerMillisecond)%1e3},enumerable:!1,configurable:!0}),Object.defineProperty(c.prototype,"minutes",{get:function(){return Math.floor(this._ticks/c.ticksPerMinute)%60},enumerable:!1,configurable:!0}),Object.defineProperty(c.prototype,"seconds",{get:function(){return Math.floor(this._ticks/c.ticksPerSecond)%60},enumerable:!1,configurable:!0}),Object.defineProperty(c.prototype,"totalDays",{get:function(){return this.ticks*c.daysPerTick},enumerable:!1,configurable:!0}),Object.defineProperty(c.prototype,"totalHours",{get:function(){return this.ticks*c.hoursPerTick},enumerable:!1,configurable:!0}),Object.defineProperty(c.prototype,"totalMilliseconds",{get:function(){var e=this.ticks*c.millisecondsPerTick;if(e>c.maxMilliSeconds)return c.maxMilliSeconds;if(e<c.minMilliSeconds)return c.minMilliSeconds;return e},enumerable:!1,configurable:!0}),Object.defineProperty(c.prototype,"totalMinutes",{get:function(){return this.ticks*c.minutesPerTick},enumerable:!1,configurable:!0}),Object.defineProperty(c.prototype,"totalSeconds",{get:function(){return this.ticks*c.secondsPerTick},enumerable:!1,configurable:!0}),c.fromString=function(e,t){if(void 0===t&&(t=null),null==e)return null;var r=!1;d.StiString.isNullOrEmpty(t)&&(r=!(t="hh:mm:ss"));var n=0,i=0,a=0,o=0,s=0,u,l=0,m=[];while(l<e.length){if(u=e.charAt(l),h.isDigit(u)){m.push(u),l++;while(l<e.length&&h.isDigit(u=e.charAt(l)))m[m.length-1]+=e.charAt(l),l++;m[m.length-1]=+m[m.length-1]}r&&"."===u&&(1===m.length?t="d.hh:mm:ss":t+=".f"),l++}l=0;var y=-1;while(l<t.length&&y+1<m.length){if("d"===(u=t.charAt(l))||"h"===u||"H"===u||"m"===u||"s"===u||"f"===u||"F"===u){y++;while(l<t.length&&t.charAt(l)===u)l++}switch(u){case"d":n=m[y];break;case"h":case"H":i=m[y];break;case"m":a=m[y];break;case"s":o=m[y];break;case"f":case"F":s=m[y];break;default:l++;break}}return c.create(n,i,a,o,s)},c.interval=function(e,t){var r,n;return new c((e*t+(0<=e?.5:-.5))*c.ticksPerMillisecond)},c.fromTicks=function(e){return new c(e)},c.fromSeconds=function(e){return this.interval(e,this.millisPerSecond)},c.fromMilliseconds=function(e){return this.interval(e,1)},c.prototype.add=function(e){return new c(this.ticks+e)},c.prototype.add2=function(e){return new c(this.ticks+e.ticks)},c.prototype.toString=function(e){var t=!1;d.StiString.isNullOrEmpty(e)&&(e="hh:mm:ss",1<=this.days&&(e="d.hh:mm:ss"),e=e.stimulsoft.replaceAll("h","H"));var r=new Date;r.setTime(0);var n,i,a,o,s,u,r=1440*(r.getDay()-r.getUTCDay()+1)+60*(r.getHours()-r.getUTCHours())+(r.getMinutes()-r.getUTCMinutes()),r=c.ticksPerMinute*r,e=new d.DateTime(this.ticks-r).toString(e);if(this.ticks<0)return"-"+e;return e},c.prototype.negate=function(){if(this.ticks==c.minValue.ticks)throw new Error("Overflow_NegateTwosCompNum");return new c(-this._ticks)},c.timeToTicks=function(e,t,r,n,i){var a;return(86400*e+3600*t+60*r+n)*c.ticksPerSecond},c.create=function(e,t,r,n,i){return void 0===e&&(e=0),void 0===t&&(t=0),void 0===r&&(r=0),void 0===n&&(n=0),void 0===i&&(i=0),new c(c.timeToTicks(e,t,r,n,i))},c.ticksPerMillisecond=1,c.millisecondsPerTick=1/c.ticksPerMillisecond,c.ticksPerSecond=1e3*c.ticksPerMillisecond,c.secondsPerTick=1/c.ticksPerSecond,c.ticksPerMinute=60*c.ticksPerSecond,c.minutesPerTick=1/c.ticksPerMinute,c.ticksPerHour=60*c.ticksPerMinute,c.hoursPerTick=1/c.ticksPerHour,c.ticksPerDay=24*c.ticksPerHour,c.daysPerTick=1/c.ticksPerDay,c.millisPerSecond=1e3,c.millisPerMinute=60*c.millisPerSecond,c.millisPerHour=60*c.millisPerMinute,c.millisPerDay=24*c.millisPerHour,c.maxSeconds=Number.MAX_VALUE/c.ticksPerSecond,c.minSeconds=Number.MIN_VALUE/c.ticksPerSecond,c.maxMilliSeconds=Number.MAX_VALUE/c.ticksPerMillisecond,c.minMilliSeconds=Number.MIN_VALUE/c.ticksPerMillisecond,c.ticksPerTenthSecond=100*c.ticksPerMillisecond,c._minValue=null,c._maxValue=null,e=c,d.TimeSpan=e}(Stimulsoft=Stimulsoft||{}),function(e){var t,r,n,i,a,o;function s(){return null!==o&&o.apply(this,arguments)||this}r=t=e.System||(e.System={}),i=n=r.Data||(r.Data={}),a=e.System.TimeSpan,o=i.DataStorage,__extends(s,o),s.prototype.setValue=function(e,t){this.values[e]="string"==typeof t?a.fromString(t):"number"==typeof t?a.fromTicks(+t):t},r=s,i.TimeSpanStorage=r}(Stimulsoft=Stimulsoft||{}),function(e){var t,e,r,n,i;e=t=e.System||(e.System={}),e=r=e.Drawing||(e.Drawing={}),e=n=e.Drawing2D||(e.Drawing2D={}),(e=i=e.DashStyle||(e.DashStyle={}))[e["Solid"]=0]="Solid",e[e["Dash"]=1]="Dash",e[e["Dot"]=2]="Dot",e[e["DashDot"]=3]="DashDot",e[e["DashDotDot"]=4]="DashDotDot",e[e["Custom"]=5]="Custom"}(Stimulsoft=Stimulsoft||{}),function(e){var t,e,r,n,i;e=t=e.System||(e.System={}),e=r=e.Drawing||(e.Drawing={}),e=n=e.Drawing2D||(e.Drawing2D={}),(e=i=e.HatchStyle||(e.HatchStyle={}))[e["Min"]=0]="Min",e[e["Horizontal"]=0]="Horizontal",e[e["Vertical"]=1]="Vertical",e[e["ForwardDiagonal"]=2]="ForwardDiagonal",e[e["BackwardDiagonal"]=3]="BackwardDiagonal",e[e["Max"]=4]="Max",e[e["Cross"]=4]="Cross",e[e["LargeGrid"]=4]="LargeGrid",e[e["DiagonalCross"]=5]="DiagonalCross",e[e["Percent05"]=6]="Percent05",e[e["Percent10"]=7]="Percent10",e[e["Percent20"]=8]="Percent20",e[e["Percent25"]=9]="Percent25",e[e["Percent30"]=10]="Percent30",e[e["Percent40"]=11]="Percent40",e[e["Percent50"]=12]="Percent50",e[e["Percent60"]=13]="Percent60",e[e["Percent70"]=14]="Percent70",e[e["Percent75"]=15]="Percent75",e[e["Percent80"]=16]="Percent80",e[e["Percent90"]=17]="Percent90",e[e["LightDownwardDiagonal"]=18]="LightDownwardDiagonal",e[e["LightUpwardDiagonal"]=19]="LightUpwardDiagonal",e[e["DarkDownwardDiagonal"]=20]="DarkDownwardDiagonal",e[e["DarkUpwardDiagonal"]=21]="DarkUpwardDiagonal",e[e["WideDownwardDiagonal"]=22]="WideDownwardDiagonal",e[e["WideUpwardDiagonal"]=23]="WideUpwardDiagonal",e[e["LightVertical"]=24]="LightVertical",e[e["LightHorizontal"]=25]="LightHorizontal",e[e["NarrowVertical"]=26]="NarrowVertical",e[e["NarrowHorizontal"]=27]="NarrowHorizontal",e[e["DarkVertical"]=28]="DarkVertical",e[e["DarkHorizontal"]=29]="DarkHorizontal",e[e["DashedDownwardDiagonal"]=30]="DashedDownwardDiagonal",e[e["DashedUpwardDiagonal"]=31]="DashedUpwardDiagonal",e[e["DashedHorizontal"]=32]="DashedHorizontal",e[e["DashedVertical"]=33]="DashedVertical",e[e["SmallConfetti"]=34]="SmallConfetti",e[e["LargeConfetti"]=35]="LargeConfetti",e[e["ZigZag"]=36]="ZigZag",e[e["Wave"]=37]="Wave",e[e["DiagonalBrick"]=38]="DiagonalBrick",e[e["HorizontalBrick"]=39]="HorizontalBrick",e[e["Weave"]=40]="Weave",e[e["Plaid"]=41]="Plaid",e[e["Divot"]=42]="Divot",e[e["DottedGrid"]=43]="DottedGrid",e[e["DottedDiamond"]=44]="DottedDiamond",e[e["Shingle"]=45]="Shingle",e[e["Trellis"]=46]="Trellis",e[e["Sphere"]=47]="Sphere",e[e["SmallGrid"]=48]="SmallGrid",e[e["SmallCheckerBoard"]=49]="SmallCheckerBoard",e[e["LargeCheckerBoard"]=50]="LargeCheckerBoard",e[e["OutlinedDiamond"]=51]="OutlinedDiamond",e[e["SolidDiamond"]=52]="SolidDiamond"}(Stimulsoft=Stimulsoft||{}),function(e){var t,e,r,n,i;e=t=e.System||(e.System={}),e=r=e.Drawing||(e.Drawing={}),e=n=e.Drawing2D||(e.Drawing2D={}),(e=i=e.LineCap||(e.LineCap={}))[e["AnchorMask"]=240]="AnchorMask",e[e["ArrowAnchor"]=20]="ArrowAnchor",e[e["Custom"]=255]="Custom",e[e["DiamondAnchor"]=19]="DiamondAnchor",e[e["Flat"]=0]="Flat",e[e["NoAnchor"]=16]="NoAnchor",e[e["Round"]=2]="Round",e[e["RoundAnchor"]=18]="RoundAnchor",e[e["Square"]=1]="Square",e[e["SquareAnchor"]=17]="SquareAnchor",e[e["Triangle"]=3]="Triangle"}(Stimulsoft=Stimulsoft||{}),function(e){var t,r,n,i,a,e;function o(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];this.a=1,this.c=0,this.b=0,this.d=1,this.tx=0,this.ty=0;var r=e.length,r;6==r?this.setValues(e[0],e[1],e[2],e[3],e[4],e[5]):1==r&&e instanceof o?(r=e[0],this.setValues(r.a,r.c,r.b,r.d,r.tx,r.ty)):this.reset()}r=t=e.System||(e.System={}),i=n=r.Drawing||(r.Drawing={}),e=a=i.Drawing2D||(i.Drawing2D={}),Object.defineProperty(o.prototype,"elements",{get:function(){return[this.a,this.c,this.b,this.d,this.tx,this.ty]},enumerable:!1,configurable:!0}),o.prototype.setValues=function(e,t,r,n,i,a){this.a=e,this.c=t,this.b=r,this.d=n,this.tx=i,this.ty=a},o.prototype.reset=function(){this.a=this.d=1,this.c=this.b=this.tx=this.ty=0},o.prototype.clone=function(){return new o(this.a,this.c,this.b,this.d,this.tx,this.ty)},o.prototype.toString=function(){return r.StiString.format("({0},{1},{2},{3},{4},{5})",this.a,this.c,this.b,this.d,this.tx,this.ty)},o.prototype.translate=function(e,t){return this.tx+=e*this.a+t*this.b,this.ty+=e*this.c+t*this.d,this},o.prototype.scale=function(e,t){return this.a*=e,this.c*=e,this.b*=t,this.d*=t,this},o.prototype.rotate=function(e){e*=Math.PI/180;var t=Math.cos(e),r=Math.sin(e),n=this.a,i=this.c,a=this.b,e=this.d;return this.a=n*t-i*r,this.c=n*r+i*t,this.b=a*t-e*r,this.d=a*r+e*t,this},o.prototype.isIdentity=function(){return 1==this.a&&0==this.c&&0==this.b&&1==this.d&&0==this.tx&&0==this.ty},o.prototype.transformPoints=function(e){var t,r;try{for(var n=__values(e),i=n.next();!i.done;i=n.next()){var a=i.value,o=a.x,s=a.y;a.x=o*this.a+s*this.b+this.tx,a.y=o*this.c+s*this.d+this.ty}}catch(e){t={error:e}}finally{try{i&&!i.done&&(r=n.return)&&r.call(n)}finally{if(t)throw t.error}}},o.prototype.multiply=function(e){for(var t=[[this.a,this.c,0],[this.b,this.d,0],[this.tx,this.ty,1]],r=[[e.a,e.c,0],[e.b,e.d,0],[e.tx,e.ty,1]],n=[],i=0;i<3;i++){n[i]=[];for(var a=0;a<3;a++){for(var o=0,s=0;s<3;s++)o+=t[i][s]*r[s][a];n[i][a]=o}}return this.setValues(n[0][0],n[0][1],n[1][0],n[1][0],n[2][0],n[2][0]),this},i=o,e.Matrix=i}(Stimulsoft=Stimulsoft||{}),function(e){var t,e,r,n,i;e=t=e.System||(e.System={}),e=r=e.Drawing||(e.Drawing={}),e=n=e.Imaging||(e.Imaging={}),(e=i=e.EncoderValue||(e.EncoderValue={}))[e["ColorTypeCMYK"]=0]="ColorTypeCMYK",e[e["ColorTypeYCCK"]=1]="ColorTypeYCCK",e[e["CompressionLZW"]=2]="CompressionLZW",e[e["CompressionCCITT3"]=3]="CompressionCCITT3",e[e["CompressionCCITT4"]=4]="CompressionCCITT4",e[e["CompressionRle"]=5]="CompressionRle",e[e["CompressionNone"]=6]="CompressionNone",e[e["ScanMethodInterlaced"]=7]="ScanMethodInterlaced",e[e["ScanMethodNonInterlaced"]=8]="ScanMethodNonInterlaced",e[e["VersionGif87"]=9]="VersionGif87",e[e["VersionGif89"]=10]="VersionGif89",e[e["RenderProgressive"]=11]="RenderProgressive",e[e["RenderNonProgressive"]=12]="RenderNonProgressive",e[e["TransformRotate90"]=13]="TransformRotate90",e[e["TransformRotate180"]=14]="TransformRotate180",e[e["TransformRotate270"]=15]="TransformRotate270",e[e["TransformFlipHorizontal"]=16]="TransformFlipHorizontal",e[e["TransformFlipVertical"]=17]="TransformFlipVertical",e[e["MultiFrame"]=18]="MultiFrame",e[e["LastFrame"]=19]="LastFrame",e[e["Flush"]=20]="Flush",e[e["FrameDimensionTime"]=21]="FrameDimensionTime",e[e["FrameDimensionResolution"]=22]="FrameDimensionResolution",e[e["FrameDimensionPage"]=23]="FrameDimensionPage"}(Stimulsoft=Stimulsoft||{}),function(e){var t,r,n,i,a,e;function o(){}r=t=e.System||(e.System={}),i=n=r.Drawing||(r.Drawing={}),e=a=i.Imaging||(i.Imaging={}),o.getImageDecoders=function(){return null},o.getImageEncoders=function(){return[{clsid:r.Guid.newGuid(),codecName:"",filenameExtension:"",formatDescription:"",formatID:r.Guid.newGuid(),mimeType:"image/jpeg",version:1}]},i=o,e.ImageCodecInfo=i}(Stimulsoft=Stimulsoft||{}),function(i){var e,s,t,r,n,a;function u(e){this.guid=e}s=e=i.System||(i.System={}),r=t=s.Drawing||(s.Drawing={}),a=n=r.Imaging||(r.Imaging={}),Object.defineProperty(u,"Tiff",{get:function(){return null==this._tiff&&(this._tiff=new u("tiff"),this._tiff.header=[73,73,42,0],this._tiff.getWidth=function(e){for(var t=e[7]<<32|e[6]<<16|e[5]<<8|e[4],r=e[t+1]<<8|e[t],n=t+2,i=0,a;i<=r;i++){if(256==(e[n+1]<<8|e[n]))return e[n+11]<<32|e[n+10]<<16|e[n+9]<<8|e[n+8];n+=12}return 0},this._tiff.getHeight=function(e){for(var t=e[7]<<32|e[6]<<16|e[5]<<8|e[4],r=e[t+1]<<8|e[t],n=t+2,i=0,a;i<=r;i++){if(257==(e[n+1]<<8|e[n]))return e[n+11]<<32|e[n+10]<<16|e[n+9]<<8|e[n+8];n+=12}return 0},this._tiff.getHorizontalResolution=function(e){for(var t=e[7]<<32|e[6]<<16|e[5]<<8|e[4],r=e[t+1]<<8|e[t],n=t+2,i=0,a;i<=r;i++){if(282==(e[n+1]<<8|e[n]))return e[n+11]<<32|e[n+10]<<16|e[n+9]<<8|e[n+8];n+=12}return NaN},this._tiff.getVerticalResolution=function(e){for(var t=e[7]<<32|e[6]<<16|e[5]<<8|e[4],r=e[t+1]<<8|e[t],n=t+2,i=0,a;i<=r;i++){if(232==(e[n+1]<<8|e[n]))return e[n+11]<<32|e[n+10]<<16|e[n+9]<<8|e[n+8];n+=12}return NaN}),this._tiff},enumerable:!1,configurable:!0}),Object.defineProperty(u,"Png",{get:function(){return null==this._png&&(this._png=new u("png"),this._png.header=[137,80,78,71,13,10,26,10],this._png.getWidth=function(e){for(var t=0,r=16;r<=16+3;r++)t=e[r]|t<<8;return t},this._png.getHeight=function(e){for(var t=0,r=20;r<=20+3;r++)t=e[r]|t<<8;return t},this._png.getHorizontalResolution=function(e){var t=-1;while(t<e.length)if(112==e[t++]&&72==e[t++]&&89==e[t++]&&115==e[t++]){var r=0,r=e[t++]|r<<8;return r=e[t++]|r<<8,r=e[t++]|r<<8,r=e[t++]|r<<8,Math.round(.0254*r)}return NaN},this._png.getVerticalResolution=function(e){var t=-1;while(t<e.length)if(112==e[t++]&&72==e[t++]&&89==e[t++]&&115==e[t++]){t+=4;var r=0,r=e[t++]|r<<8;return r=e[t++]|r<<8,r=e[t++]|r<<8,r=e[t++]|r<<8,Math.round(.0254*r)}return NaN}),this._png},enumerable:!1,configurable:!0}),Object.defineProperty(u,"Gif",{get:function(){return null==this._gif&&(this._gif=new u("gif"),this._gif.header=[71,73,70],this._gif.getWidth=function(e){var t;return e[6]|e[7]<<8},this._gif.getHeight=function(e){var t;return e[8]|e[9]<<8},this._gif.getHorizontalResolution=function(e){return 300},this._gif.getVerticalResolution=function(e){return 300}),this._gif},enumerable:!1,configurable:!0}),Object.defineProperty(u,"Jpeg",{get:function(){return null==this._jpeg&&(this._jpeg=new u("jpeg"),this._jpeg.header=[255,216],this._jpeg.getWidth=function(e){var t=-1,r=0,n;while(t<e.length){255==e[t++]&&(192!=(n=e[t++])&&193!=n&&194!=n||(r=Math.max(e[t+5]<<8|e[t+6],r)))}return r},this._jpeg.getHeight=function(e){var t=-1,r=0,n;while(t<e.length){255==e[t++]&&(192!=(n=e[t++])&&193!=n&&194!=n||(r=Math.max(e[t+3]<<8|e[t+4],r)))}return r},this._jpeg.getHorizontalResolution=function(e){var t=-1;while(t<e.length)if(255==e[t++]&&224==e[t++]){var r=256*e[t+12]+e[t+13];return 2==e[t+9]&&(r*=2.54),Math.round(r)}return NaN},this._jpeg.getVerticalResolution=function(e){var t=-1;while(t<e.length)if(255==e[t++]&&224==e[t++]){var r=256*e[t+10]+e[t+11];return 2==e[t+9]&&(r*=2.54),Math.round(r)}return NaN}),this._jpeg},enumerable:!1,configurable:!0}),Object.defineProperty(u,"Bmp",{get:function(){return null==this._bmp&&(this._bmp=new u("bmp"),this._bmp.header=[66,77],this._bmp.getWidth=function(e){var t;return e[18]|e[19]<<8},this._bmp.getHeight=function(e){var t;return e[22]|e[23]<<8},this._bmp.getHorizontalResolution=function(e){var e=e[38]|e[39]<<8;return Math.round(.0254*e)},this._bmp.getVerticalResolution=function(e){var e=e[42]|e[43]<<8;return Math.round(.0254*e)}),this._bmp},enumerable:!1,configurable:!0}),Object.defineProperty(u,"Svg",{get:function(){var o=this;return null==this._svg&&(this._svg=new u("svg+xml"),this._svg.header=[60,115,118,103],i.System.NodeJs.useWebKit&&(this._svg.getWidth=function(e,t){void 0===t&&(t="");var r=0,n=document.createElement("div");return n.style.wordWrap="break-word",n.style.display="inline-block",n.style.lineHeight="normal",n.innerHTML=i.System.Convert.fromBase64StringText(t),document.body.appendChild(n),r=n.getBoundingClientRect().width,document.body.removeChild(n),r},this._svg.getHeight=function(e,t){void 0===t&&(t="");var r=0,n=document.createElement("div");return n.style.wordWrap="break-word",n.style.display="inline-block",n.style.lineHeight="normal",n.innerHTML=i.System.Convert.fromBase64StringText(t),document.body.appendChild(n),r=n.getBoundingClientRect().height,document.body.removeChild(n),r}),this._svg.checkHeader=function(e){var t=1e3;try{if(5<e.length&&"<"==String.fromCharCode(e[0])&&"s"==String.fromCharCode(e[1])&&"v"==String.fromCharCode(e[2])&&"g"==String.fromCharCode(e[3])&&s.Char.isWhitespace(String.fromCharCode(e[4])))return o._svg;var r=[],n=!1,i=0,a=0;while(a<e.length-5&&a<t){if("<"==String.fromCharCode(e[a])){if(0==i&&"s"==String.fromCharCode(e[a+1])&&"v"==String.fromCharCode(e[a+2])&&"g"==String.fromCharCode(e[a+3])&&s.Char.isWhitespace(String.fromCharCode(e[a+4])))return o._svg;"/"==String.fromCharCode(e[a+1])?(i--,n=r.pop()):(i++,r.push(n),"!"!=String.fromCharCode(e[a+1])&&"?"!=String.fromCharCode(e[a+1])||(n=!0))}else">"==String.fromCharCode(e[a])&&(1<a&&"/"==String.fromCharCode(e[a-1])||n)&&(i--,n=r.pop());a++}}catch(e){}return null}),this._svg},enumerable:!1,configurable:!0}),u.getImageFormat=function(e){if(u.Bmp.checkHeader(e))return u.Bmp;if(u.Gif.checkHeader(e))return u.Gif;if(u.Jpeg.checkHeader(e))return u.Jpeg;if(u.Png.checkHeader(e))return u.Png;if(u.Tiff.checkHeader(e))return u.Tiff;if(u.Svg.checkHeader(e))return u.Svg;return null},u.prototype.checkHeader=function(e){for(var t=0;t<this.header.length;t++)if(this.header[t]!=e[t])return null;return this},u.prototype.getWidth=function(e,t){return void 0===t&&(t=null),NaN},u.prototype.getHeight=function(e,t){return void 0===t&&(t=null),NaN},u.prototype.getHorizontalResolution=function(e){return NaN},u.prototype.getVerticalResolution=function(e){return NaN},Object.defineProperty(u.prototype,"mimeType",{get:function(){return"image/"+this.guid},enumerable:!1,configurable:!0}),u.prototype.toString=function(){return this.guid},r=u,a.ImageFormat=r}(Stimulsoft=Stimulsoft||{}),function(e){var t,r,n,i,a,o,s;function u(){return null!==s&&s.apply(this,arguments)||this}r=t=e.System||(e.System={}),i=n=r.Drawing||(r.Drawing={}),r=a=i.Printing||(i.Printing={}),i=o=r.PrinterSettings||(r.PrinterSettings={}),r=e.System.Collections.CollectionBase,__extends(u,s=r),r=u,i.PaperSizeCollection=r}(Stimulsoft=Stimulsoft||{}),function(e){var t,e,r,n,i,a,o;function s(){}e=t=e.System||(e.System={}),e=r=e.Drawing||(e.Drawing={}),i=n=e.Printing||(e.Printing={}),o=a=i.PrinterSettings||(i.PrinterSettings={}),Object.defineProperty(s.prototype,"paperSizes",{get:function(){var e,t=new o.PaperSizeCollection,e=new i.PaperSize(i.PaperKind.A2,"A2",1654,2339);return t.add(e),e=new i.PaperSize(i.PaperKind.A3,"A3",1169,1654),t.add(e),e=new i.PaperSize(i.PaperKind.A3Extra,"A3Extra",1268,1752),t.add(e),e=new i.PaperSize(i.PaperKind.A3ExtraTransverse,"A3ExtraTransverse",1268,1752),t.add(e),e=new i.PaperSize(i.PaperKind.A3Rotated,"A3Rotated",1654,1169),t.add(e),e=new i.PaperSize(i.PaperKind.A3Transverse,"A3Transverse",1169,1654),t.add(e),e=new i.PaperSize(i.PaperKind.A4,"A4",827,1169),t.add(e),e=new i.PaperSize(i.PaperKind.A4Extra,"A4Extra",927,1269),t.add(e),e=new i.PaperSize(i.PaperKind.A4Plus,"A4Plus",827,1299),t.add(e),e=new i.PaperSize(i.PaperKind.A4Rotated,"A4Rotated",1169,827),t.add(e),e=new i.PaperSize(i.PaperKind.A4Small,"A4Small",827,1169),t.add(e),e=new i.PaperSize(i.PaperKind.A4Transverse,"A4Transverse",827,1169),t.add(e),e=new i.PaperSize(i.PaperKind.A5,"A5",583,827),t.add(e),e=new i.PaperSize(i.PaperKind.A5Extra,"A5Extra",685,925),t.add(e),e=new i.PaperSize(i.PaperKind.A5Rotated,"A5Rotated",827,583),t.add(e),e=new i.PaperSize(i.PaperKind.A5Transverse,"A5Transverse",583,827),t.add(e),e=new i.PaperSize(i.PaperKind.A6,"A6",413,583),t.add(e),e=new i.PaperSize(i.PaperKind.A6Rotated,"A6Rotated",583,413),t.add(e),e=new i.PaperSize(i.PaperKind.APlus,"APlus",894,1402),t.add(e),e=new i.PaperSize(i.PaperKind.B4,"B4",1012,1433),t.add(e),e=new i.PaperSize(i.PaperKind.B4Envelope,"B4Envelope",984,1390),t.add(e),e=new i.PaperSize(i.PaperKind.B4JisRotated,"B4JisRotated",1433,1012),t.add(e),e=new i.PaperSize(i.PaperKind.B5,"B5",717,1012),t.add(e),e=new i.PaperSize(i.PaperKind.B5Envelope,"B5Envelope",693,984),t.add(e),e=new i.PaperSize(i.PaperKind.B5Extra,"B5Extra",791,1087),t.add(e),e=new i.PaperSize(i.PaperKind.B5JisRotated,"B5JisRotated",1012,717),t.add(e),e=new i.PaperSize(i.PaperKind.B5Transverse,"B5Transverse",717,1012),t.add(e),e=new i.PaperSize(i.PaperKind.B6Envelope,"B6Envelope",693,492),t.add(e),e=new i.PaperSize(i.PaperKind.B6Jis,"B6Jis",504,717),t.add(e),e=new i.PaperSize(i.PaperKind.B6JisRotated,"B6JisRotated",717,504),t.add(e),e=new i.PaperSize(i.PaperKind.BPlus,"BPlus",1201,1917),t.add(e),e=new i.PaperSize(i.PaperKind.C3Envelope,"C3Envelope",1276,1803),t.add(e),e=new i.PaperSize(i.PaperKind.C4Envelope,"C4Envelope",902,1276),t.add(e),e=new i.PaperSize(i.PaperKind.C5Envelope,"C5Envelope",638,902),t.add(e),e=new i.PaperSize(i.PaperKind.C65Envelope,"C65Envelope",449,902),t.add(e),e=new i.PaperSize(i.PaperKind.C6Envelope,"C6Envelope",449,638),t.add(e),e=new i.PaperSize(i.PaperKind.CSheet,"CSheet",1700,2200),t.add(e),e=new i.PaperSize(i.PaperKind.DLEnvelope,"DLEnvelope",433,866),t.add(e),e=new i.PaperSize(i.PaperKind.DSheet,"DSheet",2200,3400),t.add(e),e=new i.PaperSize(i.PaperKind.ESheet,"ESheet",3400,4400),t.add(e),e=new i.PaperSize(i.PaperKind.Executive,"Executive",725,1050),t.add(e),e=new i.PaperSize(i.PaperKind.Folio,"Folio",850,1300),t.add(e),e=new i.PaperSize(i.PaperKind.GermanLegalFanfold,"GermanLegalFanfold",850,1300),t.add(e),e=new i.PaperSize(i.PaperKind.GermanStandardFanfold,"GermanStandardFanfold",850,1200),t.add(e),e=new i.PaperSize(i.PaperKind.InviteEnvelope,"InviteEnvelope",866,866),t.add(e),e=new i.PaperSize(i.PaperKind.IsoB4,"IsoB4",984,1390),t.add(e),e=new i.PaperSize(i.PaperKind.ItalyEnvelope,"ItalyEnvelope",433,906),t.add(e),e=new i.PaperSize(i.PaperKind.JapaneseDoublePostcard,"JapaneseDoublePostcard",787,583),t.add(e),e=new i.PaperSize(i.PaperKind.JapaneseDoublePostcardRotated,"JapaneseDoublePostcardRotated",583,787),t.add(e),e=new i.PaperSize(i.PaperKind.JapaneseEnvelopeChouNumber3,"JapaneseEnvelopeChouNumber3",472,925),t.add(e),e=new i.PaperSize(i.PaperKind.JapaneseEnvelopeChouNumber3Rotated,"JapaneseEnvelopeChouNumber3Rotated",925,472),t.add(e),e=new i.PaperSize(i.PaperKind.JapaneseEnvelopeChouNumber4,"JapaneseEnvelopeChouNumber4",354,807),t.add(e),e=new i.PaperSize(i.PaperKind.JapaneseEnvelopeChouNumber4Rotated,"JapaneseEnvelopeChouNumber4Rotated",807,354),t.add(e),e=new i.PaperSize(i.PaperKind.JapaneseEnvelopeKakuNumber2,"JapaneseEnvelopeKakuNumber2",945,1307),t.add(e),e=new i.PaperSize(i.PaperKind.JapaneseEnvelopeKakuNumber2Rotated,"JapaneseEnvelopeKakuNumber2Rotated",1307,945),t.add(e),e=new i.PaperSize(i.PaperKind.JapaneseEnvelopeKakuNumber3,"JapaneseEnvelopeKakuNumber3",850,1091),t.add(e),e=new i.PaperSize(i.PaperKind.JapaneseEnvelopeKakuNumber3Rotated,"JapaneseEnvelopeKakuNumber3Rotated",1091,850),t.add(e),e=new i.PaperSize(i.PaperKind.JapaneseEnvelopeYouNumber4,"JapaneseEnvelopeYouNumber4",413,925),t.add(e),e=new i.PaperSize(i.PaperKind.JapaneseEnvelopeYouNumber4Rotated,"JapaneseEnvelopeYouNumber4Rotated",925,413),t.add(e),e=new i.PaperSize(i.PaperKind.JapanesePostcard,"JapanesePostcard",394,583),t.add(e),e=new i.PaperSize(i.PaperKind.JapanesePostcardRotated,"JapanesePostcardRotated",583,394),t.add(e),e=new i.PaperSize(i.PaperKind.Ledger,"Ledger",1700,1100),t.add(e),e=new i.PaperSize(i.PaperKind.Legal,"Legal",850,1400),t.add(e),e=new i.PaperSize(i.PaperKind.LegalExtra,"LegalExtra",950,1500),t.add(e),e=new i.PaperSize(i.PaperKind.Letter,"Letter",850,1100),t.add(e),e=new i.PaperSize(i.PaperKind.LetterExtra,"LetterExtra",950,1200),t.add(e),e=new i.PaperSize(i.PaperKind.LetterExtraTransverse,"LetterExtraTransverse",950,1200),t.add(e),e=new i.PaperSize(i.PaperKind.LetterPlus,"LetterPlus",850,1269),t.add(e),e=new i.PaperSize(i.PaperKind.LetterRotated,"LetterRotated",1100,850),t.add(e),e=new i.PaperSize(i.PaperKind.LetterSmall,"LetterSmall",850,1100),t.add(e),e=new i.PaperSize(i.PaperKind.LetterTransverse,"LetterTransverse",850,1100),t.add(e),e=new i.PaperSize(i.PaperKind.MonarchEnvelope,"MonarchEnvelope",387,750),t.add(e),e=new i.PaperSize(i.PaperKind.Note,"Note",850,1100),t.add(e),e=new i.PaperSize(i.PaperKind.Number10Envelope,"Number10Envelope",412,950),t.add(e),e=new i.PaperSize(i.PaperKind.Number11Envelope,"Number11Envelope",450,1037),t.add(e),e=new i.PaperSize(i.PaperKind.Number12Envelope,"Number12Envelope",475,1100),t.add(e),e=new i.PaperSize(i.PaperKind.Number14Envelope,"Number14Envelope",500,1150),t.add(e),e=new i.PaperSize(i.PaperKind.Number9Envelope,"Number9Envelope",387,887),t.add(e),e=new i.PaperSize(i.PaperKind.PersonalEnvelope,"PersonalEnvelope",362,650),t.add(e),e=new i.PaperSize(i.PaperKind.Prc16K,"Prc16K",0,0),t.add(e),e=new i.PaperSize(i.PaperKind.Prc16KRotated,"Prc16KRotated",0,0),t.add(e),e=new i.PaperSize(i.PaperKind.Prc32K,"Prc32K",0,0),t.add(e),e=new i.PaperSize(i.PaperKind.Prc32KBig,"Prc32KBig",0,0),t.add(e),e=new i.PaperSize(i.PaperKind.Prc32KBigRotated,"Prc32KBigRotated",0,0),t.add(e),e=new i.PaperSize(i.PaperKind.Prc32KRotated,"Prc32KRotated",0,0),t.add(e),e=new i.PaperSize(i.PaperKind.PrcEnvelopeNumber1,"PrcEnvelopeNumber1",402,650),t.add(e),e=new i.PaperSize(i.PaperKind.PrcEnvelopeNumber10,"PrcEnvelopeNumber10",1276,1803),t.add(e),e=new i.PaperSize(i.PaperKind.PrcEnvelopeNumber10Rotated,"PrcEnvelopeNumber10Rotated",1803,1276),t.add(e),e=new i.PaperSize(i.PaperKind.PrcEnvelopeNumber1Rotated,"PrcEnvelopeNumber1Rotated",650,402),t.add(e),e=new i.PaperSize(i.PaperKind.PrcEnvelopeNumber2,"PrcEnvelopeNumber2",650,402),t.add(e),e=new i.PaperSize(i.PaperKind.PrcEnvelopeNumber2Rotated,"PrcEnvelopeNumber2Rotated",402,650),t.add(e),e=new i.PaperSize(i.PaperKind.PrcEnvelopeNumber3,"PrcEnvelopeNumber3",492,693),t.add(e),e=new i.PaperSize(i.PaperKind.PrcEnvelopeNumber3Rotated,"PrcEnvelopeNumber3Rotated",693,492),t.add(e),e=new i.PaperSize(i.PaperKind.PrcEnvelopeNumber4,"PrcEnvelopeNumber4",433,819),t.add(e),e=new i.PaperSize(i.PaperKind.PrcEnvelopeNumber4Rotated,"PrcEnvelopeNumber4Rotated",819,433),t.add(e),e=new i.PaperSize(i.PaperKind.PrcEnvelopeNumber5,"PrcEnvelopeNumber5",433,866),t.add(e),e=new i.PaperSize(i.PaperKind.PrcEnvelopeNumber5Rotated,"PrcEnvelopeNumber5Rotated",866,433),t.add(e),e=new i.PaperSize(i.PaperKind.PrcEnvelopeNumber6,"PrcEnvelopeNumber6",472,906),t.add(e),e=new i.PaperSize(i.PaperKind.PrcEnvelopeNumber6Rotated,"PrcEnvelopeNumber6Rotated",906,472),t.add(e),e=new i.PaperSize(i.PaperKind.PrcEnvelopeNumber7,"PrcEnvelopeNumber7",630,906),t.add(e),e=new i.PaperSize(i.PaperKind.PrcEnvelopeNumber7Rotated,"PrcEnvelopeNumber7Rotated",906,630),t.add(e),e=new i.PaperSize(i.PaperKind.PrcEnvelopeNumber8,"PrcEnvelopeNumber8",472,1217),t.add(e),e=new i.PaperSize(i.PaperKind.PrcEnvelopeNumber8Rotated,"PrcEnvelopeNumber8Rotated",1217,472),t.add(e),e=new i.PaperSize(i.PaperKind.PrcEnvelopeNumber9,"PrcEnvelopeNumber9",902,1276),t.add(e),e=new i.PaperSize(i.PaperKind.PrcEnvelopeNumber9Rotated,"PrcEnvelopeNumber9Rotated",1276,902),t.add(e),e=new i.PaperSize(i.PaperKind.Quarto,"Quarto",846,1083),t.add(e),e=new i.PaperSize(i.PaperKind.Standard10x11,"Standard10x11",1e3,1100),t.add(e),e=new i.PaperSize(i.PaperKind.Standard10x14,"Standard10x14",1e3,1400),t.add(e),e=new i.PaperSize(i.PaperKind.Standard11x17,"Standard11x17",1100,1700),t.add(e),e=new i.PaperSize(i.PaperKind.Standard12x11,"Standard12x11",1200,1100),t.add(e),e=new i.PaperSize(i.PaperKind.Standard15x11,"Standard15x11",1500,1100),t.add(e),e=new i.PaperSize(i.PaperKind.Standard9x11,"Standard9x11",900,1100),t.add(e),e=new i.PaperSize(i.PaperKind.Statement,"Statement",550,850),t.add(e),e=new i.PaperSize(i.PaperKind.Tabloid,"Tabloid",1100,1700),t.add(e),e=new i.PaperSize(i.PaperKind.TabloidExtra,"TabloidExtra",1200,1800),t.add(e),e=new i.PaperSize(i.PaperKind.USStandardFanfold,"USStandardFanfold",1487,1100),t.add(e),t},enumerable:!1,configurable:!0}),e=s,o.PrinterSettings=e}(Stimulsoft=Stimulsoft||{}),function(e){var t,e,r,n,i;e=t=e.System||(e.System={}),e=r=e.Drawing||(e.Drawing={}),e=n=e.Printing||(e.Printing={}),(e=i=e.PaperKind||(e.PaperKind={}))[e["A2"]=66]="A2",e[e["A3"]=8]="A3",e[e["A3Extra"]=63]="A3Extra",e[e["A3ExtraTransverse"]=68]="A3ExtraTransverse",e[e["A3Rotated"]=76]="A3Rotated",e[e["A3Transverse"]=67]="A3Transverse",e[e["A4"]=9]="A4",e[e["A4Extra"]=53]="A4Extra",e[e["A4Plus"]=60]="A4Plus",e[e["A4Rotated"]=77]="A4Rotated",e[e["A4Small"]=10]="A4Small",e[e["A4Transverse"]=55]="A4Transverse",e[e["A5"]=11]="A5",e[e["A5Extra"]=64]="A5Extra",e[e["A5Rotated"]=78]="A5Rotated",e[e["A5Transverse"]=61]="A5Transverse",e[e["A6"]=70]="A6",e[e["A6Rotated"]=83]="A6Rotated",e[e["APlus"]=57]="APlus",e[e["B4"]=12]="B4",e[e["B4Envelope"]=33]="B4Envelope",e[e["B4JisRotated"]=79]="B4JisRotated",e[e["B5"]=13]="B5",e[e["B5Envelope"]=34]="B5Envelope",e[e["B5Extra"]=65]="B5Extra",e[e["B5JisRotated"]=80]="B5JisRotated",e[e["B5Transverse"]=62]="B5Transverse",e[e["B6Envelope"]=35]="B6Envelope",e[e["B6Jis"]=88]="B6Jis",e[e["B6JisRotated"]=89]="B6JisRotated",e[e["BPlus"]=58]="BPlus",e[e["C3Envelope"]=29]="C3Envelope",e[e["C4Envelope"]=30]="C4Envelope",e[e["C5Envelope"]=28]="C5Envelope",e[e["C65Envelope"]=32]="C65Envelope",e[e["C6Envelope"]=31]="C6Envelope",e[e["CSheet"]=24]="CSheet",e[e["Custom"]=0]="Custom",e[e["DLEnvelope"]=27]="DLEnvelope",e[e["DSheet"]=25]="DSheet",e[e["ESheet"]=26]="ESheet",e[e["Executive"]=7]="Executive",e[e["Folio"]=14]="Folio",e[e["GermanLegalFanfold"]=41]="GermanLegalFanfold",e[e["GermanStandardFanfold"]=40]="GermanStandardFanfold",e[e["InviteEnvelope"]=47]="InviteEnvelope",e[e["IsoB4"]=42]="IsoB4",e[e["ItalyEnvelope"]=36]="ItalyEnvelope",e[e["JapaneseDoublePostcard"]=69]="JapaneseDoublePostcard",e[e["JapaneseDoublePostcardRotated"]=82]="JapaneseDoublePostcardRotated",e[e["JapaneseEnvelopeChouNumber3"]=73]="JapaneseEnvelopeChouNumber3",e[e["JapaneseEnvelopeChouNumber3Rotated"]=86]="JapaneseEnvelopeChouNumber3Rotated",e[e["JapaneseEnvelopeChouNumber4"]=74]="JapaneseEnvelopeChouNumber4",e[e["JapaneseEnvelopeChouNumber4Rotated"]=87]="JapaneseEnvelopeChouNumber4Rotated",e[e["JapaneseEnvelopeKakuNumber2"]=71]="JapaneseEnvelopeKakuNumber2",e[e["JapaneseEnvelopeKakuNumber2Rotated"]=84]="JapaneseEnvelopeKakuNumber2Rotated",e[e["JapaneseEnvelopeKakuNumber3"]=72]="JapaneseEnvelopeKakuNumber3",e[e["JapaneseEnvelopeKakuNumber3Rotated"]=85]="JapaneseEnvelopeKakuNumber3Rotated",e[e["JapaneseEnvelopeYouNumber4"]=91]="JapaneseEnvelopeYouNumber4",e[e["JapaneseEnvelopeYouNumber4Rotated"]=92]="JapaneseEnvelopeYouNumber4Rotated",e[e["JapanesePostcard"]=43]="JapanesePostcard",e[e["JapanesePostcardRotated"]=81]="JapanesePostcardRotated",e[e["Ledger"]=4]="Ledger",e[e["Legal"]=5]="Legal",e[e["LegalExtra"]=51]="LegalExtra",e[e["Letter"]=1]="Letter",e[e["LetterExtra"]=50]="LetterExtra",e[e["LetterExtraTransverse"]=56]="LetterExtraTransverse",e[e["LetterPlus"]=59]="LetterPlus",e[e["LetterRotated"]=75]="LetterRotated",e[e["LetterSmall"]=2]="LetterSmall",e[e["LetterTransverse"]=54]="LetterTransverse",e[e["MonarchEnvelope"]=37]="MonarchEnvelope",e[e["Note"]=18]="Note",e[e["Number10Envelope"]=20]="Number10Envelope",e[e["Number11Envelope"]=21]="Number11Envelope",e[e["Number12Envelope"]=22]="Number12Envelope",e[e["Number14Envelope"]=23]="Number14Envelope",e[e["Number9Envelope"]=19]="Number9Envelope",e[e["PersonalEnvelope"]=38]="PersonalEnvelope",e[e["Prc16K"]=93]="Prc16K",e[e["Prc16KRotated"]=106]="Prc16KRotated",e[e["Prc32K"]=94]="Prc32K",e[e["Prc32KBig"]=95]="Prc32KBig",e[e["Prc32KBigRotated"]=108]="Prc32KBigRotated",e[e["Prc32KRotated"]=107]="Prc32KRotated",e[e["PrcEnvelopeNumber1"]=96]="PrcEnvelopeNumber1",e[e["PrcEnvelopeNumber10"]=105]="PrcEnvelopeNumber10",e[e["PrcEnvelopeNumber10Rotated"]=118]="PrcEnvelopeNumber10Rotated",e[e["PrcEnvelopeNumber1Rotated"]=109]="PrcEnvelopeNumber1Rotated",e[e["PrcEnvelopeNumber2"]=97]="PrcEnvelopeNumber2",e[e["PrcEnvelopeNumber2Rotated"]=110]="PrcEnvelopeNumber2Rotated",e[e["PrcEnvelopeNumber3"]=98]="PrcEnvelopeNumber3",e[e["PrcEnvelopeNumber3Rotated"]=111]="PrcEnvelopeNumber3Rotated",e[e["PrcEnvelopeNumber4"]=99]="PrcEnvelopeNumber4",e[e["PrcEnvelopeNumber4Rotated"]=112]="PrcEnvelopeNumber4Rotated",e[e["PrcEnvelopeNumber5"]=100]="PrcEnvelopeNumber5",e[e["PrcEnvelopeNumber5Rotated"]=113]="PrcEnvelopeNumber5Rotated",e[e["PrcEnvelopeNumber6"]=101]="PrcEnvelopeNumber6",e[e["PrcEnvelopeNumber6Rotated"]=114]="PrcEnvelopeNumber6Rotated",e[e["PrcEnvelopeNumber7"]=102]="PrcEnvelopeNumber7",e[e["PrcEnvelopeNumber7Rotated"]=115]="PrcEnvelopeNumber7Rotated",e[e["PrcEnvelopeNumber8"]=103]="PrcEnvelopeNumber8",e[e["PrcEnvelopeNumber8Rotated"]=116]="PrcEnvelopeNumber8Rotated",e[e["PrcEnvelopeNumber9"]=104]="PrcEnvelopeNumber9",e[e["PrcEnvelopeNumber9Rotated"]=117]="PrcEnvelopeNumber9Rotated",e[e["Quarto"]=15]="Quarto",e[e["Standard10x11"]=45]="Standard10x11",e[e["Standard10x14"]=16]="Standard10x14",e[e["Standard11x17"]=17]="Standard11x17",e[e["Standard12x11"]=90]="Standard12x11",e[e["Standard15x11"]=46]="Standard15x11",e[e["Standard9x11"]=44]="Standard9x11",e[e["Statement"]=6]="Statement",e[e["Tabloid"]=3]="Tabloid",e[e["TabloidExtra"]=52]="TabloidExtra",e[e["USStandardFanfold"]=39]="USStandardFanfold"}(Stimulsoft=Stimulsoft||{}),function(e){var t,e,r,n,i;function a(e,t,r,n){void 0===e&&(e=0),void 0===t&&(t=""),void 0===r&&(r=0),void 0===n&&(n=0),this.createdByDefaultConstructor=0==e&&""==t&&0==r&&0==n,this._kind=e,this._name=t,this._width=r,this._height=n}e=t=e.System||(e.System={}),e=r=e.Drawing||(e.Drawing={}),i=n=e.Printing||(e.Printing={}),Object.defineProperty(a.prototype,"kind",{get:function(){if(this._kind<=i.PaperKind.PrcEnvelopeNumber10Rotated&&this._kind!=(i.PaperKind.C65Envelope|i.PaperKind.Standard10x14)&&this._kind!=(i.PaperKind.B4Envelope|i.PaperKind.Standard10x14))return this._kind;return i.PaperKind.Custom},enumerable:!1,configurable:!0}),Object.defineProperty(a.prototype,"name",{get:function(){return this._name},set:function(e){this._kind!=i.PaperKind.Custom&&!this.createdByDefaultConstructor||(this._name=e)},enumerable:!1,configurable:!0}),Object.defineProperty(a.prototype,"width",{get:function(){return this._width},set:function(e){this._kind!=i.PaperKind.Custom&&!this.createdByDefaultConstructor||(this._width=e)},enumerable:!1,configurable:!0}),Object.defineProperty(a.prototype,"height",{get:function(){return this._height},set:function(e){this._kind!=i.PaperKind.Custom&&!this.createdByDefaultConstructor||(this._height=e)},enumerable:!1,configurable:!0}),e=a,i.PaperSize=e}(Stimulsoft=Stimulsoft||{}),function(e){var t,e,r,n,i;e=t=e.System||(e.System={}),e=r=e.Drawing||(e.Drawing={}),e=n=e.Printing||(e.Printing={}),(e=i=e.PrinterUnit||(e.PrinterUnit={}))[e["Display"]=0]="Display",e[e["ThousandthsOfAnInch"]=1]="ThousandthsOfAnInch",e[e["HundredthsOfAMillimeter"]=2]="HundredthsOfAMillimeter",e[e["TenthsOfAMillimeter"]=3]="TenthsOfAMillimeter"}(Stimulsoft=Stimulsoft||{}),function(e){var t,e,r,n,i;function a(){}e=t=e.System||(e.System={}),e=r=e.Drawing||(e.Drawing={}),i=n=e.Printing||(e.Printing={}),a.convert=function(e,t,r){var t=a.unitsPerDisplay(t),n;return e*a.unitsPerDisplay(r)/t},a.unitsPerDisplay=function(e){switch(e){case i.PrinterUnit.Display:return 1;case i.PrinterUnit.ThousandthsOfAnInch:return 10;case i.PrinterUnit.HundredthsOfAMillimeter:return 25.4;case i.PrinterUnit.TenthsOfAMillimeter:return 2.54}return 1},e=a,i.PrinterUnitConvert=e}(Stimulsoft=Stimulsoft||{}),function(e){var t,e,r,n,i;e=t=e.System||(e.System={}),e=r=e.Drawing||(e.Drawing={}),e=n=e.Text||(e.Text={}),(e=i=e.HotkeyPrefix||(e.HotkeyPrefix={}))[e["Hide"]=0]="Hide",e[e["None"]=1]="None",e[e["Show"]=2]="Show"}(Stimulsoft=Stimulsoft||{}),function(t){var e,r,n,i;function a(){}r=e=t.System||(t.System={}),i=n=r.Drawing||(r.Drawing={}),a.prototype.implements=function(){return[]},a.prototype.is=function(e){if(e instanceof t.System.Interface)return-1!=this.implements().indexOf(e);if("function"==typeof e)return this instanceof e;if(null==e)throw new Error("Type for comparison is 'undefined'");return!1},a.prototype.is2=function(e){return this.is(e)},a.prototype.as=function(e){if(this.is(e))return this;return null},r=a,i.Brush=r}(Stimulsoft=Stimulsoft||{}),function(e){var t,e,r,n;function i(){}e=t=e.System||(e.System={}),n=r=e.Drawing||(e.Drawing={}),Object.defineProperty(i,"aliceBlue",{get:function(){return new n.SolidBrush(n.Color.aliceBlue)},enumerable:!1,configurable:!0}),Object.defineProperty(i,"antiqueWhite",{get:function(){return new n.SolidBrush(n.Color.antiqueWhite)},enumerable:!1,configurable:!0}),Object.defineProperty(i,"aqua",{get:function(){return new n.SolidBrush(n.Color.aqua)},enumerable:!1,configurable:!0}),Object.defineProperty(i,"aquamarine",{get:function(){return new n.SolidBrush(n.Color.aquamarine)},enumerable:!1,configurable:!0}),Object.defineProperty(i,"azure",{get:function(){return new n.SolidBrush(n.Color.azure)},enumerable:!1,configurable:!0}),Object.defineProperty(i,"beige",{get:function(){return new n.SolidBrush(n.Color.beige)},enumerable:!1,configurable:!0}),Object.defineProperty(i,"bisque",{get:function(){return new n.SolidBrush(n.Color.bisque)},enumerable:!1,configurable:!0}),Object.defineProperty(i,"black",{get:function(){return new n.SolidBrush(n.Color.black)},enumerable:!1,configurable:!0}),Object.defineProperty(i,"blanchedAlmond",{get:function(){return new n.SolidBrush(n.Color.blanchedAlmond)},enumerable:!1,configurable:!0}),Object.defineProperty(i,"blue",{get:function(){return new n.SolidBrush(n.Color.blue)},enumerable:!1,configurable:!0}),Object.defineProperty(i,"blueViolet",{get:function(){return new n.SolidBrush(n.Color.blueViolet)},enumerable:!1,configurable:!0}),Object.defineProperty(i,"brown",{get:function(){return new n.SolidBrush(n.Color.brown)},enumerable:!1,configurable:!0}),Object.defineProperty(i,"burlyWood",{get:function(){return new n.SolidBrush(n.Color.burlyWood)},enumerable:!1,configurable:!0}),Object.defineProperty(i,"cadetBlue",{get:function(){return new n.SolidBrush(n.Color.cadetBlue)},enumerable:!1,configurable:!0}),Object.defineProperty(i,"chartreuse",{get:function(){return new n.SolidBrush(n.Color.chartreuse)},enumerable:!1,configurable:!0}),Object.defineProperty(i,"chocolate",{get:function(){return new n.SolidBrush(n.Color.chocolate)},enumerable:!1,configurable:!0}),Object.defineProperty(i,"coral",{get:function(){return new n.SolidBrush(n.Color.coral)},enumerable:!1,configurable:!0}),Object.defineProperty(i,"cornflowerBlue",{get:function(){return new n.SolidBrush(n.Color.cornflowerBlue)},enumerable:!1,configurable:!0}),Object.defineProperty(i,"cornsilk",{get:function(){return new n.SolidBrush(n.Color.cornsilk)},enumerable:!1,configurable:!0}),Object.defineProperty(i,"crimson",{get:function(){return new n.SolidBrush(n.Color.crimson)},enumerable:!1,configurable:!0}),Object.defineProperty(i,"cyan",{get:function(){return new n.SolidBrush(n.Color.cyan)},enumerable:!1,configurable:!0}),Object.defineProperty(i,"darkBlue",{get:function(){return new n.SolidBrush(n.Color.darkBlue)},enumerable:!1,configurable:!0}),Object.defineProperty(i,"darkCyan",{get:function(){return new n.SolidBrush(n.Color.darkCyan)},enumerable:!1,configurable:!0}),Object.defineProperty(i,"darkGoldenrod",{get:function(){return new n.SolidBrush(n.Color.darkGoldenrod)},enumerable:!1,configurable:!0}),Object.defineProperty(i,"darkGray",{get:function(){return new n.SolidBrush(n.Color.darkGray)},enumerable:!1,configurable:!0}),Object.defineProperty(i,"darkGreen",{get:function(){return new n.SolidBrush(n.Color.darkGreen)},enumerable:!1,configurable:!0}),Object.defineProperty(i,"darkKhaki",{get:function(){return new n.SolidBrush(n.Color.darkKhaki)},enumerable:!1,configurable:!0}),Object.defineProperty(i,"darkMagenta",{get:function(){return new n.SolidBrush(n.Color.darkMagenta)},enumerable:!1,configurable:!0}),Object.defineProperty(i,"darkOliveGreen",{get:function(){return new n.SolidBrush(n.Color.darkOliveGreen)},enumerable:!1,configurable:!0}),Object.defineProperty(i,"darkOrange",{get:function(){return new n.SolidBrush(n.Color.darkOrange)},enumerable:!1,configurable:!0}),Object.defineProperty(i,"darkOrchid",{get:function(){return new n.SolidBrush(n.Color.darkOrchid)},enumerable:!1,configurable:!0}),Object.defineProperty(i,"darkRed",{get:function(){return new n.SolidBrush(n.Color.darkRed)},enumerable:!1,configurable:!0}),Object.defineProperty(i,"darkSalmon",{get:function(){return new n.SolidBrush(n.Color.darkSalmon)},enumerable:!1,configurable:!0}),Object.defineProperty(i,"darkSeaGreen",{get:function(){return new n.SolidBrush(n.Color.darkSeaGreen)},enumerable:!1,configurable:!0}),Object.defineProperty(i,"darkSlateBlue",{get:function(){return new n.SolidBrush(n.Color.darkSlateBlue)},enumerable:!1,configurable:!0}),Object.defineProperty(i,"darkSlateGray",{get:function(){return new n.SolidBrush(n.Color.darkSlateGray)},enumerable:!1,configurable:!0}),Object.defineProperty(i,"darkTurquoise",{get:function(){return new n.SolidBrush(n.Color.darkTurquoise)},enumerable:!1,configurable:!0}),Object.defineProperty(i,"darkViolet",{get:function(){return new n.SolidBrush(n.Color.darkViolet)},enumerable:!1,configurable:!0}),Object.defineProperty(i,"deepPink",{get:function(){return new n.SolidBrush(n.Color.deepPink)},enumerable:!1,configurable:!0}),Object.defineProperty(i,"deepSkyBlue",{get:function(){return new n.SolidBrush(n.Color.deepSkyBlue)},enumerable:!1,configurable:!0}),Object.defineProperty(i,"dimGray",{get:function(){return new n.SolidBrush(n.Color.dimGray)},enumerable:!1,configurable:!0}),Object.defineProperty(i,"dodgerBlue",{get:function(){return new n.SolidBrush(n.Color.dodgerBlue)},enumerable:!1,configurable:!0}),Object.defineProperty(i,"firebrick",{get:function(){return new n.SolidBrush(n.Color.firebrick)},enumerable:!1,configurable:!0}),Object.defineProperty(i,"floralWhite",{get:function(){return new n.SolidBrush(n.Color.floralWhite)},enumerable:!1,configurable:!0}),Object.defineProperty(i,"forestGreen",{get:function(){return new n.SolidBrush(n.Color.forestGreen)},enumerable:!1,configurable:!0}),Object.defineProperty(i,"fuchsia",{get:function(){return new n.SolidBrush(n.Color.fuchsia)},enumerable:!1,configurable:!0}),Object.defineProperty(i,"gainsboro",{get:function(){return new n.SolidBrush(n.Color.gainsboro)},enumerable:!1,configurable:!0}),Object.defineProperty(i,"ghostWhite",{get:function(){return new n.SolidBrush(n.Color.ghostWhite)},enumerable:!1,configurable:!0}),Object.defineProperty(i,"gold",{get:function(){return new n.SolidBrush(n.Color.gold)},enumerable:!1,configurable:!0}),Object.defineProperty(i,"goldenrod",{get:function(){return new n.SolidBrush(n.Color.goldenrod)},enumerable:!1,configurable:!0}),Object.defineProperty(i,"gray",{get:function(){return new n.SolidBrush(n.Color.gray)},enumerable:!1,configurable:!0}),Object.defineProperty(i,"green",{get:function(){return new n.SolidBrush(n.Color.green)},enumerable:!1,configurable:!0}),Object.defineProperty(i,"greenYellow",{get:function(){return new n.SolidBrush(n.Color.greenYellow)},enumerable:!1,configurable:!0}),Object.defineProperty(i,"honeydew",{get:function(){return new n.SolidBrush(n.Color.honeydew)},enumerable:!1,configurable:!0}),Object.defineProperty(i,"hotPink",{get:function(){return new n.SolidBrush(n.Color.hotPink)},enumerable:!1,configurable:!0}),Object.defineProperty(i,"indianRed",{get:function(){return new n.SolidBrush(n.Color.indianRed)},enumerable:!1,configurable:!0}),Object.defineProperty(i,"indigo",{get:function(){return new n.SolidBrush(n.Color.indigo)},enumerable:!1,configurable:!0}),Object.defineProperty(i,"ivory",{get:function(){return new n.SolidBrush(n.Color.ivory)},enumerable:!1,configurable:!0}),Object.defineProperty(i,"khaki",{get:function(){return new n.SolidBrush(n.Color.khaki)},enumerable:!1,configurable:!0}),Object.defineProperty(i,"lavender",{get:function(){return new n.SolidBrush(n.Color.lavender)},enumerable:!1,configurable:!0}),Object.defineProperty(i,"lavenderBlush",{get:function(){return new n.SolidBrush(n.Color.lavenderBlush)},enumerable:!1,configurable:!0}),Object.defineProperty(i,"lawnGreen",{get:function(){return new n.SolidBrush(n.Color.lawnGreen)},enumerable:!1,configurable:!0}),Object.defineProperty(i,"lemonChiffon",{get:function(){return new n.SolidBrush(n.Color.lemonChiffon)},enumerable:!1,configurable:!0}),Object.defineProperty(i,"lightBlue",{get:function(){return new n.SolidBrush(n.Color.lightBlue)},enumerable:!1,configurable:!0}),Object.defineProperty(i,"lightCoral",{get:function(){return new n.SolidBrush(n.Color.lightCoral)},enumerable:!1,configurable:!0}),Object.defineProperty(i,"lightCyan",{get:function(){return new n.SolidBrush(n.Color.lightCyan)},enumerable:!1,configurable:!0}),Object.defineProperty(i,"lightGoldenrodYellow",{get:function(){return new n.SolidBrush(n.Color.lightGoldenrodYellow)},enumerable:!1,configurable:!0}),Object.defineProperty(i,"lightGray",{get:function(){return new n.SolidBrush(n.Color.lightGray)},enumerable:!1,configurable:!0}),Object.defineProperty(i,"lightGreen",{get:function(){return new n.SolidBrush(n.Color.lightGreen)},enumerable:!1,configurable:!0}),Object.defineProperty(i,"lightPink",{get:function(){return new n.SolidBrush(n.Color.lightPink)},enumerable:!1,configurable:!0}),Object.defineProperty(i,"lightSalmon",{get:function(){return new n.SolidBrush(n.Color.lightSalmon)},enumerable:!1,configurable:!0}),Object.defineProperty(i,"lightSeaGreen",{get:function(){return new n.SolidBrush(n.Color.lightSeaGreen)},enumerable:!1,configurable:!0}),Object.defineProperty(i,"lightSkyBlue",{get:function(){return new n.SolidBrush(n.Color.lightSkyBlue)},enumerable:!1,configurable:!0}),Object.defineProperty(i,"lightSlateGray",{get:function(){return new n.SolidBrush(n.Color.lightSlateGray)},enumerable:!1,configurable:!0}),Object.defineProperty(i,"lightSteelBlue",{get:function(){return new n.SolidBrush(n.Color.lightSteelBlue)},enumerable:!1,configurable:!0}),Object.defineProperty(i,"lightYellow",{get:function(){return new n.SolidBrush(n.Color.lightYellow)},enumerable:!1,configurable:!0}),Object.defineProperty(i,"lime",{get:function(){return new n.SolidBrush(n.Color.lime)},enumerable:!1,configurable:!0}),Object.defineProperty(i,"limeGreen",{get:function(){return new n.SolidBrush(n.Color.limeGreen)},enumerable:!1,configurable:!0}),Object.defineProperty(i,"linen",{get:function(){return new n.SolidBrush(n.Color.linen)},enumerable:!1,configurable:!0}),Object.defineProperty(i,"magenta",{get:function(){return new n.SolidBrush(n.Color.magenta)},enumerable:!1,configurable:!0}),Object.defineProperty(i,"maroon",{get:function(){return new n.SolidBrush(n.Color.maroon)},enumerable:!1,configurable:!0}),Object.defineProperty(i,"mediumAquamarine",{get:function(){return new n.SolidBrush(n.Color.mediumAquamarine)},enumerable:!1,configurable:!0}),Object.defineProperty(i,"mediumBlue",{get:function(){return new n.SolidBrush(n.Color.mediumBlue)},enumerable:!1,configurable:!0}),Object.defineProperty(i,"mediumOrchid",{get:function(){return new n.SolidBrush(n.Color.mediumOrchid)},enumerable:!1,configurable:!0}),Object.defineProperty(i,"mediumPurple",{get:function(){return new n.SolidBrush(n.Color.mediumPurple)},enumerable:!1,configurable:!0}),Object.defineProperty(i,"mediumSeaGreen",{get:function(){return new n.SolidBrush(n.Color.mediumSeaGreen)},enumerable:!1,configurable:!0}),Object.defineProperty(i,"mediumSlateBlue",{get:function(){return new n.SolidBrush(n.Color.mediumSlateBlue)},enumerable:!1,configurable:!0}),Object.defineProperty(i,"mediumSpringGreen",{get:function(){return new n.SolidBrush(n.Color.mediumSpringGreen)},enumerable:!1,configurable:!0}),Object.defineProperty(i,"mediumTurquoise",{get:function(){return new n.SolidBrush(n.Color.mediumTurquoise)},enumerable:!1,configurable:!0}),Object.defineProperty(i,"mediumVioletRed",{get:function(){return new n.SolidBrush(n.Color.mediumVioletRed)},enumerable:!1,configurable:!0}),Object.defineProperty(i,"midnightBlue",{get:function(){return new n.SolidBrush(n.Color.midnightBlue)},enumerable:!1,configurable:!0}),Object.defineProperty(i,"mintCream",{get:function(){return new n.SolidBrush(n.Color.mintCream)},enumerable:!1,configurable:!0}),Object.defineProperty(i,"mistyRose",{get:function(){return new n.SolidBrush(n.Color.mistyRose)},enumerable:!1,configurable:!0}),Object.defineProperty(i,"moccasin",{get:function(){return new n.SolidBrush(n.Color.moccasin)},enumerable:!1,configurable:!0}),Object.defineProperty(i,"navajoWhite",{get:function(){return new n.SolidBrush(n.Color.navajoWhite)},enumerable:!1,configurable:!0}),Object.defineProperty(i,"navy",{get:function(){return new n.SolidBrush(n.Color.navy)},enumerable:!1,configurable:!0}),Object.defineProperty(i,"oldLace",{get:function(){return new n.SolidBrush(n.Color.oldLace)},enumerable:!1,configurable:!0}),Object.defineProperty(i,"olive",{get:function(){return new n.SolidBrush(n.Color.olive)},enumerable:!1,configurable:!0}),Object.defineProperty(i,"oliveDrab",{get:function(){return new n.SolidBrush(n.Color.oliveDrab)},enumerable:!1,configurable:!0}),Object.defineProperty(i,"orange",{get:function(){return new n.SolidBrush(n.Color.orange)},enumerable:!1,configurable:!0}),Object.defineProperty(i,"orangeRed",{get:function(){return new n.SolidBrush(n.Color.orangeRed)},enumerable:!1,configurable:!0}),Object.defineProperty(i,"orchid",{get:function(){return new n.SolidBrush(n.Color.orchid)},enumerable:!1,configurable:!0}),Object.defineProperty(i,"paleGoldenrod",{get:function(){return new n.SolidBrush(n.Color.paleGoldenrod)},enumerable:!1,configurable:!0}),Object.defineProperty(i,"paleGreen",{get:function(){return new n.SolidBrush(n.Color.paleGreen)},enumerable:!1,configurable:!0}),Object.defineProperty(i,"paleTurquoise",{get:function(){return new n.SolidBrush(n.Color.paleTurquoise)},enumerable:!1,configurable:!0}),Object.defineProperty(i,"paleVioletRed",{get:function(){return new n.SolidBrush(n.Color.paleVioletRed)},enumerable:!1,configurable:!0}),Object.defineProperty(i,"papayaWhip",{get:function(){return new n.SolidBrush(n.Color.papayaWhip)},enumerable:!1,configurable:!0}),Object.defineProperty(i,"peachPuff",{get:function(){return new n.SolidBrush(n.Color.peachPuff)},enumerable:!1,configurable:!0}),Object.defineProperty(i,"peru",{get:function(){return new n.SolidBrush(n.Color.peru)},enumerable:!1,configurable:!0}),Object.defineProperty(i,"pink",{get:function(){return new n.SolidBrush(n.Color.pink)},enumerable:!1,configurable:!0}),Object.defineProperty(i,"plum",{get:function(){return new n.SolidBrush(n.Color.plum)},enumerable:!1,configurable:!0}),Object.defineProperty(i,"powderBlue",{get:function(){return new n.SolidBrush(n.Color.powderBlue)},enumerable:!1,configurable:!0}),Object.defineProperty(i,"purple",{get:function(){return new n.SolidBrush(n.Color.purple)},enumerable:!1,configurable:!0}),Object.defineProperty(i,"red",{get:function(){return new n.SolidBrush(n.Color.red)},enumerable:!1,configurable:!0}),Object.defineProperty(i,"rosyBrown",{get:function(){return new n.SolidBrush(n.Color.rosyBrown)},enumerable:!1,configurable:!0}),Object.defineProperty(i,"royalBlue",{get:function(){return new n.SolidBrush(n.Color.royalBlue)},enumerable:!1,configurable:!0}),Object.defineProperty(i,"saddleBrown",{get:function(){return new n.SolidBrush(n.Color.saddleBrown)},enumerable:!1,configurable:!0}),Object.defineProperty(i,"salmon",{get:function(){return new n.SolidBrush(n.Color.salmon)},enumerable:!1,configurable:!0}),Object.defineProperty(i,"sandyBrown",{get:function(){return new n.SolidBrush(n.Color.sandyBrown)},enumerable:!1,configurable:!0}),Object.defineProperty(i,"seaGreen",{get:function(){return new n.SolidBrush(n.Color.seaGreen)},enumerable:!1,configurable:!0}),Object.defineProperty(i,"seaShell",{get:function(){return new n.SolidBrush(n.Color.seaShell)},enumerable:!1,configurable:!0}),Object.defineProperty(i,"sienna",{get:function(){return new n.SolidBrush(n.Color.sienna)},enumerable:!1,configurable:!0}),Object.defineProperty(i,"silver",{get:function(){return new n.SolidBrush(n.Color.silver)},enumerable:!1,configurable:!0}),Object.defineProperty(i,"skyBlue",{get:function(){return new n.SolidBrush(n.Color.skyBlue)},enumerable:!1,configurable:!0}),Object.defineProperty(i,"slateBlue",{get:function(){return new n.SolidBrush(n.Color.slateBlue)},enumerable:!1,configurable:!0}),Object.defineProperty(i,"slateGray",{get:function(){return new n.SolidBrush(n.Color.slateGray)},enumerable:!1,configurable:!0}),Object.defineProperty(i,"snow",{get:function(){return new n.SolidBrush(n.Color.snow)},enumerable:!1,configurable:!0}),Object.defineProperty(i,"springGreen",{get:function(){return new n.SolidBrush(n.Color.springGreen)},enumerable:!1,configurable:!0}),Object.defineProperty(i,"steelBlue",{get:function(){return new n.SolidBrush(n.Color.steelBlue)},enumerable:!1,configurable:!0}),Object.defineProperty(i,"tan",{get:function(){return new n.SolidBrush(n.Color.tan)},enumerable:!1,configurable:!0}),Object.defineProperty(i,"teal",{get:function(){return new n.SolidBrush(n.Color.teal)},enumerable:!1,configurable:!0}),Object.defineProperty(i,"thistle",{get:function(){return new n.SolidBrush(n.Color.thistle)},enumerable:!1,configurable:!0}),Object.defineProperty(i,"tomato",{get:function(){return new n.SolidBrush(n.Color.tomato)},enumerable:!1,configurable:!0}),Object.defineProperty(i,"turquoise",{get:function(){return new n.SolidBrush(n.Color.turquoise)},enumerable:!1,configurable:!0}),Object.defineProperty(i,"violet",{get:function(){return new n.SolidBrush(n.Color.violet)},enumerable:!1,configurable:!0}),Object.defineProperty(i,"wheat",{get:function(){return new n.SolidBrush(n.Color.wheat)},enumerable:!1,configurable:!0}),Object.defineProperty(i,"white",{get:function(){return new n.SolidBrush(n.Color.white)},enumerable:!1,configurable:!0}),Object.defineProperty(i,"whiteSmoke",{get:function(){return new n.SolidBrush(n.Color.whiteSmoke)},enumerable:!1,configurable:!0}),Object.defineProperty(i,"yellow",{get:function(){return new n.SolidBrush(n.Color.yellow)},enumerable:!1,configurable:!0}),Object.defineProperty(i,"yellowGreen",{get:function(){return new n.SolidBrush(n.Color.yellowGreen)},enumerable:!1,configurable:!0}),e=i,n.Brushes=e}(Stimulsoft=Stimulsoft||{}),function(e){var t,r,n,i,e;function a(){this.name=a.customName}r=t=e.System||(e.System={}),i=n=r.Drawing||(r.Drawing={}),Object.defineProperty(a,"aliceBlue",{get:function(){var e=a.fromArgb(240,248,255);return e.name="Alice Blue",e},enumerable:!1,configurable:!0}),Object.defineProperty(a,"antiqueWhite",{get:function(){var e=a.fromArgb(250,235,215);return e.name="Antique White",e},enumerable:!1,configurable:!0}),Object.defineProperty(a,"aqua",{get:function(){var e=a.fromArgb(0,255,255);return e.name="Aqua",e},enumerable:!1,configurable:!0}),Object.defineProperty(a,"aquamarine",{get:function(){var e=a.fromArgb(127,255,212);return e.name="Aquamarine",e},enumerable:!1,configurable:!0}),Object.defineProperty(a,"azure",{get:function(){var e=a.fromArgb(240,255,255);return e.name="Azure",e},enumerable:!1,configurable:!0}),Object.defineProperty(a,"beige",{get:function(){var e=a.fromArgb(245,245,220);return e.name="Beige",e},enumerable:!1,configurable:!0}),Object.defineProperty(a,"bisque",{get:function(){var e=a.fromArgb(255,228,196);return e.name="Bisque",e},enumerable:!1,configurable:!0}),Object.defineProperty(a,"black",{get:function(){var e=a.fromArgb(0,0,0);return e.name="Black",e},enumerable:!1,configurable:!0}),Object.defineProperty(a,"blanchedAlmond",{get:function(){var e=a.fromArgb(255,235,205);return e.name="Blanched Almond",e},enumerable:!1,configurable:!0}),Object.defineProperty(a,"blue",{get:function(){var e=a.fromArgb(0,0,255);return e.name="Blue",e},enumerable:!1,configurable:!0}),Object.defineProperty(a,"blueViolet",{get:function(){var e=a.fromArgb(138,43,226);return e.name="Blue Violet",e},enumerable:!1,configurable:!0}),Object.defineProperty(a,"brown",{get:function(){var e=a.fromArgb(165,42,42);return e.name="Brown",e},enumerable:!1,configurable:!0}),Object.defineProperty(a,"burlyWood",{get:function(){var e=a.fromArgb(222,184,135);return e.name="Burly Wood",e},enumerable:!1,configurable:!0}),Object.defineProperty(a,"cadetBlue",{get:function(){var e=a.fromArgb(95,158,160);return e.name="Cadet Blue",e},enumerable:!1,configurable:!0}),Object.defineProperty(a,"chartreuse",{get:function(){var e=a.fromArgb(127,255,0);return e.name="Chartreuse",e},enumerable:!1,configurable:!0}),Object.defineProperty(a,"chocolate",{get:function(){var e=a.fromArgb(210,105,30);return e.name="Chocolate",e},enumerable:!1,configurable:!0}),Object.defineProperty(a,"coral",{get:function(){var e=a.fromArgb(255,127,80);return e.name="Coral",e},enumerable:!1,configurable:!0}),Object.defineProperty(a,"cornflowerBlue",{get:function(){var e=a.fromArgb(100,149,237);return e.name="Cornflower Blue",e},enumerable:!1,configurable:!0}),Object.defineProperty(a,"cornsilk",{get:function(){var e=a.fromArgb(255,248,220);return e.name="Cornsilk",e},enumerable:!1,configurable:!0}),Object.defineProperty(a,"crimson",{get:function(){var e=a.fromArgb(220,20,60);return e.name="Crimson",e},enumerable:!1,configurable:!0}),Object.defineProperty(a,"cyan",{get:function(){var e=a.fromArgb(0,255,255);return e.name="Cyan",e},enumerable:!1,configurable:!0}),Object.defineProperty(a,"darkBlue",{get:function(){var e=a.fromArgb(0,0,139);return e.name="Dark Blue",e},enumerable:!1,configurable:!0}),Object.defineProperty(a,"darkCyan",{get:function(){var e=a.fromArgb(0,139,139);return e.name="Dark Cyan",e},enumerable:!1,configurable:!0}),Object.defineProperty(a,"darkGoldenrod",{get:function(){var e=a.fromArgb(184,134,11);return e.name="Dark Goldenrod",e},enumerable:!1,configurable:!0}),Object.defineProperty(a,"darkGray",{get:function(){var e=a.fromArgb(169,169,169);return e.name="Dark Gray",e},enumerable:!1,configurable:!0}),Object.defineProperty(a,"darkGreen",{get:function(){var e=a.fromArgb(0,100,0);return e.name="Dark Green",e},enumerable:!1,configurable:!0}),Object.defineProperty(a,"darkKhaki",{get:function(){var e=a.fromArgb(189,183,107);return e.name="Dark Khaki",e},enumerable:!1,configurable:!0}),Object.defineProperty(a,"darkMagenta",{get:function(){var e=a.fromArgb(139,0,139);return e.name="Dark Magenta",e},enumerable:!1,configurable:!0}),Object.defineProperty(a,"darkOliveGreen",{get:function(){var e=a.fromArgb(85,107,47);return e.name="Dark Olive Green",e},enumerable:!1,configurable:!0}),Object.defineProperty(a,"darkOrange",{get:function(){var e=a.fromArgb(255,140,0);return e.name="Dark Orange",e},enumerable:!1,configurable:!0}),Object.defineProperty(a,"darkOrchid",{get:function(){var e=a.fromArgb(153,50,204);return e.name="Dark Orchid",e},enumerable:!1,configurable:!0}),Object.defineProperty(a,"darkRed",{get:function(){var e=a.fromArgb(139,0,0);return e.name="Dark Red",e},enumerable:!1,configurable:!0}),Object.defineProperty(a,"darkSalmon",{get:function(){var e=a.fromArgb(233,150,122);return e.name="Dark Salmon",e},enumerable:!1,configurable:!0}),Object.defineProperty(a,"darkSeaGreen",{get:function(){var e=a.fromArgb(143,188,143);return e.name="Dark Sea Green",e},enumerable:!1,configurable:!0}),Object.defineProperty(a,"darkSlateBlue",{get:function(){var e=a.fromArgb(72,61,139);return e.name="Dark Slate Blue",e},enumerable:!1,configurable:!0}),Object.defineProperty(a,"darkSlateGray",{get:function(){var e=a.fromArgb(47,79,79);return e.name="Dark Slate Gray",e},enumerable:!1,configurable:!0}),Object.defineProperty(a,"darkTurquoise",{get:function(){var e=a.fromArgb(0,206,209);return e.name="Dark Turquoise",e},enumerable:!1,configurable:!0}),Object.defineProperty(a,"darkViolet",{get:function(){var e=a.fromArgb(148,0,211);return e.name="Dark Violet",e},enumerable:!1,configurable:!0}),Object.defineProperty(a,"deepPink",{get:function(){var e=a.fromArgb(255,20,147);return e.name="Deep Pink",e},enumerable:!1,configurable:!0}),Object.defineProperty(a,"deepSkyBlue",{get:function(){var e=a.fromArgb(0,191,255);return e.name="Deep Sky Blue",e},enumerable:!1,configurable:!0}),Object.defineProperty(a,"dimGray",{get:function(){var e=a.fromArgb(105,105,105);return e.name="Dim Gray",e},enumerable:!1,configurable:!0}),Object.defineProperty(a,"dodgerBlue",{get:function(){var e=a.fromArgb(30,144,255);return e.name="Dodger Blue",e},enumerable:!1,configurable:!0}),Object.defineProperty(a,"firebrick",{get:function(){var e=a.fromArgb(178,34,34);return e.name="Firebrick",e},enumerable:!1,configurable:!0}),Object.defineProperty(a,"floralWhite",{get:function(){var e=a.fromArgb(255,250,240);return e.name="Floral White",e},enumerable:!1,configurable:!0}),Object.defineProperty(a,"forestGreen",{get:function(){var e=a.fromArgb(34,139,34);return e.name="Forest Green",e},enumerable:!1,configurable:!0}),Object.defineProperty(a,"fuchsia",{get:function(){var e=a.fromArgb(255,0,255);return e.name="Fuchsia",e},enumerable:!1,configurable:!0}),Object.defineProperty(a,"gainsboro",{get:function(){var e=a.fromArgb(220,220,220);return e.name="Gainsboro",e},enumerable:!1,configurable:!0}),Object.defineProperty(a,"ghostWhite",{get:function(){var e=a.fromArgb(248,248,255);return e.name="Ghost White",e},enumerable:!1,configurable:!0}),Object.defineProperty(a,"gold",{get:function(){var e=a.fromArgb(255,215,0);return e.name="Gold",e},enumerable:!1,configurable:!0}),Object.defineProperty(a,"goldenrod",{get:function(){var e=a.fromArgb(218,165,32);return e.name="Goldenrod",e},enumerable:!1,configurable:!0}),Object.defineProperty(a,"gray",{get:function(){var e=a.fromArgb(128,128,128);return e.name="Gray",e},enumerable:!1,configurable:!0}),Object.defineProperty(a,"green",{get:function(){var e=a.fromArgb(0,128,0);return e.name="Green",e},enumerable:!1,configurable:!0}),Object.defineProperty(a,"greenYellow",{get:function(){var e=a.fromArgb(173,255,47);return e.name="Green Yellow",e},enumerable:!1,configurable:!0}),Object.defineProperty(a,"honeydew",{get:function(){var e=a.fromArgb(240,255,240);return e.name="Honeydew",e},enumerable:!1,configurable:!0}),Object.defineProperty(a,"hotPink",{get:function(){var e=a.fromArgb(255,105,180);return e.name="Hot Pink",e},enumerable:!1,configurable:!0}),Object.defineProperty(a,"indianRed",{get:function(){var e=a.fromArgb(205,92,92);return e.name="Indian Red",e},enumerable:!1,configurable:!0}),Object.defineProperty(a,"indigo",{get:function(){var e=a.fromArgb(75,0,130);return e.name="Indigo",e},enumerable:!1,configurable:!0}),Object.defineProperty(a,"ivory",{get:function(){var e=a.fromArgb(255,255,240);return e.name="Ivory",e},enumerable:!1,configurable:!0}),Object.defineProperty(a,"khaki",{get:function(){var e=a.fromArgb(240,230,140);return e.name="Khaki",e},enumerable:!1,configurable:!0}),Object.defineProperty(a,"lavender",{get:function(){var e=a.fromArgb(230,230,250);return e.name="Lavender",e},enumerable:!1,configurable:!0}),Object.defineProperty(a,"lavenderBlush",{get:function(){var e=a.fromArgb(255,240,245);return e.name="Lavender Blush",e},enumerable:!1,configurable:!0}),Object.defineProperty(a,"lawnGreen",{get:function(){var e=a.fromArgb(124,252,0);return e.name="Lawn Green",e},enumerable:!1,configurable:!0}),Object.defineProperty(a,"lemonChiffon",{get:function(){var e=a.fromArgb(255,250,205);return e.name="Lemon Chiffon",e},enumerable:!1,configurable:!0}),Object.defineProperty(a,"lightBlue",{get:function(){var e=a.fromArgb(173,216,230);return e.name="Light Blue",e},enumerable:!1,configurable:!0}),Object.defineProperty(a,"lightCoral",{get:function(){var e=a.fromArgb(240,128,128);return e.name="Light Coral",e},enumerable:!1,configurable:!0}),Object.defineProperty(a,"lightCyan",{get:function(){var e=a.fromArgb(224,255,255);return e.name="Light Cyan",e},enumerable:!1,configurable:!0}),Object.defineProperty(a,"lightGoldenrodYellow",{get:function(){var e=a.fromArgb(250,250,210);return e.name="Light Goldenrod Yellow",e},enumerable:!1,configurable:!0}),Object.defineProperty(a,"lightGray",{get:function(){var e=a.fromArgb(211,211,211);return e.name="Light Gray",e},enumerable:!1,configurable:!0}),Object.defineProperty(a,"lightGreen",{get:function(){var e=a.fromArgb(144,238,144);return e.name="Light Green",e},enumerable:!1,configurable:!0}),Object.defineProperty(a,"lightPink",{get:function(){var e=a.fromArgb(255,182,193);return e.name="Light Pink",e},enumerable:!1,configurable:!0}),Object.defineProperty(a,"lightSalmon",{get:function(){var e=a.fromArgb(255,160,122);return e.name="Light Salmon",e},enumerable:!1,configurable:!0}),Object.defineProperty(a,"lightSeaGreen",{get:function(){var e=a.fromArgb(32,178,170);return e.name="Light Sea Green",e},enumerable:!1,configurable:!0}),Object.defineProperty(a,"lightSkyBlue",{get:function(){var e=a.fromArgb(135,206,250);return e.name="Light Sky Blue",e},enumerable:!1,configurable:!0}),Object.defineProperty(a,"lightSlateGray",{get:function(){var e=a.fromArgb(119,136,153);return e.name="Light Slate Gray",e},enumerable:!1,configurable:!0}),Object.defineProperty(a,"lightSteelBlue",{get:function(){var e=a.fromArgb(176,196,222);return e.name="Light Steel Blue",e},enumerable:!1,configurable:!0}),Object.defineProperty(a,"lightYellow",{get:function(){var e=a.fromArgb(255,255,224);return e.name="Light Yellow",e},enumerable:!1,configurable:!0}),Object.defineProperty(a,"lime",{get:function(){var e=a.fromArgb(0,255,0);return e.name="Lime",e},enumerable:!1,configurable:!0}),Object.defineProperty(a,"limeGreen",{get:function(){var e=a.fromArgb(50,205,50);return e.name="Lime Green",e},enumerable:!1,configurable:!0}),Object.defineProperty(a,"linen",{get:function(){var e=a.fromArgb(250,240,230);return e.name="Linen",e},enumerable:!1,configurable:!0}),Object.defineProperty(a,"magenta",{get:function(){var e=a.fromArgb(255,0,255);return e.name="Magenta",e},enumerable:!1,configurable:!0}),Object.defineProperty(a,"maroon",{get:function(){var e=a.fromArgb(128,0,0);return e.name="Maroon",e},enumerable:!1,configurable:!0}),Object.defineProperty(a,"mediumAquamarine",{get:function(){var e=a.fromArgb(102,205,170);return e.name="Medium Aquamarine",e},enumerable:!1,configurable:!0}),Object.defineProperty(a,"mediumBlue",{get:function(){var e=a.fromArgb(0,0,205);return e.name="Medium Blue",e},enumerable:!1,configurable:!0}),Object.defineProperty(a,"mediumOrchid",{get:function(){var e=a.fromArgb(186,85,211);return e.name="Medium Orchid",e},enumerable:!1,configurable:!0}),Object.defineProperty(a,"mediumPurple",{get:function(){var e=a.fromArgb(147,112,219);return e.name="Medium Purple",e},enumerable:!1,configurable:!0}),Object.defineProperty(a,"mediumSeaGreen",{get:function(){var e=a.fromArgb(60,179,113);return e.name="Medium Sea Green",e},enumerable:!1,configurable:!0}),Object.defineProperty(a,"mediumSlateBlue",{get:function(){var e=a.fromArgb(123,104,238);return e.name="Medium Slate Blue",e},enumerable:!1,configurable:!0}),Object.defineProperty(a,"mediumSpringGreen",{get:function(){var e=a.fromArgb(0,250,154);return e.name="Medium Spring Green",e},enumerable:!1,configurable:!0}),Object.defineProperty(a,"mediumTurquoise",{get:function(){var e=a.fromArgb(72,209,204);return e.name="Medium Turquoise",e},enumerable:!1,configurable:!0}),Object.defineProperty(a,"mediumVioletRed",{get:function(){var e=a.fromArgb(199,21,133);return e.name="Medium Violet Red",e},enumerable:!1,configurable:!0}),Object.defineProperty(a,"midnightBlue",{get:function(){var e=a.fromArgb(25,25,112);return e.name="Midnight Blue",e},enumerable:!1,configurable:!0}),Object.defineProperty(a,"mintCream",{get:function(){var e=a.fromArgb(245,255,250);return e.name="Mint Cream",e},enumerable:!1,configurable:!0}),Object.defineProperty(a,"mistyRose",{get:function(){var e=a.fromArgb(255,228,225);return e.name="Misty Rose",e},enumerable:!1,configurable:!0}),Object.defineProperty(a,"moccasin",{get:function(){var e=a.fromArgb(255,228,181);return e.name="Moccasin",e},enumerable:!1,configurable:!0}),Object.defineProperty(a,"navajoWhite",{get:function(){var e=a.fromArgb(255,222,173);return e.name="Navajo White",e},enumerable:!1,configurable:!0}),Object.defineProperty(a,"navy",{get:function(){var e=a.fromArgb(0,0,128);return e.name="Navy",e},enumerable:!1,configurable:!0}),Object.defineProperty(a,"oldLace",{get:function(){var e=a.fromArgb(253,245,230);return e.name="Old Lace",e},enumerable:!1,configurable:!0}),Object.defineProperty(a,"olive",{get:function(){var e=a.fromArgb(128,128,0);return e.name="Olive",e},enumerable:!1,configurable:!0}),Object.defineProperty(a,"oliveDrab",{get:function(){var e=a.fromArgb(107,142,35);return e.name="Olive Drab",e},enumerable:!1,configurable:!0}),Object.defineProperty(a,"orange",{get:function(){var e=a.fromArgb(255,165,0);return e.name="Orange",e},enumerable:!1,configurable:!0}),Object.defineProperty(a,"orangeRed",{get:function(){var e=a.fromArgb(255,69,0);return e.name="Orange Red",e},enumerable:!1,configurable:!0}),Object.defineProperty(a,"orchid",{get:function(){var e=a.fromArgb(218,112,214);return e.name="Orchid",e},enumerable:!1,configurable:!0}),Object.defineProperty(a,"paleGoldenrod",{get:function(){var e=a.fromArgb(238,232,170);return e.name="Pale Goldenrod",e},enumerable:!1,configurable:!0}),Object.defineProperty(a,"paleGreen",{get:function(){var e=a.fromArgb(152,251,152);return e.name="Pale Green",e},enumerable:!1,configurable:!0}),Object.defineProperty(a,"paleTurquoise",{get:function(){var e=a.fromArgb(175,238,238);return e.name="Pale Turquoise",e},enumerable:!1,configurable:!0}),Object.defineProperty(a,"paleVioletRed",{get:function(){var e=a.fromArgb(219,112,147);return e.name="Pale Violet Red",e},enumerable:!1,configurable:!0}),Object.defineProperty(a,"papayaWhip",{get:function(){var e=a.fromArgb(255,239,213);return e.name="Papaya Whip",e},enumerable:!1,configurable:!0}),Object.defineProperty(a,"peachPuff",{get:function(){var e=a.fromArgb(255,218,185);return e.name="Peach Puff",e},enumerable:!1,configurable:!0}),Object.defineProperty(a,"peru",{get:function(){var e=a.fromArgb(205,133,63);return e.name="Peru",e},enumerable:!1,configurable:!0}),Object.defineProperty(a,"pink",{get:function(){var e=a.fromArgb(255,192,203);return e.name="Pink",e},enumerable:!1,configurable:!0}),Object.defineProperty(a,"plum",{get:function(){var e=a.fromArgb(221,160,221);return e.name="Plum",e},enumerable:!1,configurable:!0}),Object.defineProperty(a,"powderBlue",{get:function(){var e=a.fromArgb(176,224,230);return e.name="Powder Blue",e},enumerable:!1,configurable:!0}),Object.defineProperty(a,"purple",{get:function(){var e=a.fromArgb(128,0,128);return e.name="Purple",e},enumerable:!1,configurable:!0}),Object.defineProperty(a,"red",{get:function(){var e=a.fromArgb(255,0,0);return e.name="Red",e},enumerable:!1,configurable:!0}),Object.defineProperty(a,"rosyBrown",{get:function(){var e=a.fromArgb(188,143,143);return e.name="Rosy Brown",e},enumerable:!1,configurable:!0}),Object.defineProperty(a,"royalBlue",{get:function(){var e=a.fromArgb(65,105,225);return e.name="Royal Blue",e},enumerable:!1,configurable:!0}),Object.defineProperty(a,"saddleBrown",{get:function(){var e=a.fromArgb(139,69,19);return e.name="Saddle Brown",e},enumerable:!1,configurable:!0}),Object.defineProperty(a,"salmon",{get:function(){var e=a.fromArgb(250,128,114);return e.name="Salmon",e},enumerable:!1,configurable:!0}),Object.defineProperty(a,"sandyBrown",{get:function(){var e=a.fromArgb(244,164,96);return e.name="Sandy Brown",e},enumerable:!1,configurable:!0}),Object.defineProperty(a,"seaGreen",{get:function(){var e=a.fromArgb(46,139,87);return e.name="Sea Green",e},enumerable:!1,configurable:!0}),Object.defineProperty(a,"seaShell",{get:function(){var e=a.fromArgb(255,245,238);return e.name="Sea Shell",e},enumerable:!1,configurable:!0}),Object.defineProperty(a,"sienna",{get:function(){var e=a.fromArgb(160,82,45);return e.name="Sienna",e},enumerable:!1,configurable:!0}),Object.defineProperty(a,"silver",{get:function(){var e=a.fromArgb(192,192,192);return e.name="Silver",e},enumerable:!1,configurable:!0}),Object.defineProperty(a,"skyBlue",{get:function(){var e=a.fromArgb(135,206,235);return e.name="Sky Blue",e},enumerable:!1,configurable:!0}),Object.defineProperty(a,"slateBlue",{get:function(){var e=a.fromArgb(106,90,205);return e.name="Slate Blue",e},enumerable:!1,configurable:!0}),Object.defineProperty(a,"slateGray",{get:function(){var e=a.fromArgb(112,128,144);return e.name="Slate Gray",e},enumerable:!1,configurable:!0}),Object.defineProperty(a,"snow",{get:function(){var e=a.fromArgb(255,250,250);return e.name="Snow",e},enumerable:!1,configurable:!0}),Object.defineProperty(a,"springGreen",{get:function(){var e=a.fromArgb(0,255,127);return e.name="Spring Green",e},enumerable:!1,configurable:!0}),Object.defineProperty(a,"steelBlue",{get:function(){var e=a.fromArgb(70,130,180);return e.name="Steel Blue",e},enumerable:!1,configurable:!0}),Object.defineProperty(a,"tan",{get:function(){var e=a.fromArgb(210,180,140);return e.name="Tan",e},enumerable:!1,configurable:!0}),Object.defineProperty(a,"teal",{get:function(){var e=a.fromArgb(0,128,128);return e.name="Teal",e},enumerable:!1,configurable:!0}),Object.defineProperty(a,"thistle",{get:function(){var e=a.fromArgb(216,191,216);return e.name="Thistle",e},enumerable:!1,configurable:!0}),Object.defineProperty(a,"tomato",{get:function(){var e=a.fromArgb(255,99,71);return e.name="Tomato",e},enumerable:!1,configurable:!0}),Object.defineProperty(a,"turquoise",{get:function(){var e=a.fromArgb(64,224,208);return e.name="Turquoise",e},enumerable:!1,configurable:!0}),Object.defineProperty(a,"violet",{get:function(){var e=a.fromArgb(238,130,238);return e.name="Violet",e},enumerable:!1,configurable:!0}),Object.defineProperty(a,"wheat",{get:function(){var e=a.fromArgb(245,222,179);return e.name="Wheat",e},enumerable:!1,configurable:!0}),Object.defineProperty(a,"white",{get:function(){var e=a.fromArgb(255,255,255);return e.name="White",e},enumerable:!1,configurable:!0}),Object.defineProperty(a,"whiteSmoke",{get:function(){var e=a.fromArgb(245,245,245);return e.name="White Smoke",e},enumerable:!1,configurable:!0}),Object.defineProperty(a,"yellow",{get:function(){var e=a.fromArgb(255,255,0);return e.name="Yellow",e},enumerable:!1,configurable:!0}),Object.defineProperty(a,"yellowGreen",{get:function(){var e=a.fromArgb(154,205,50);return e.name="Yellow Green",e},enumerable:!1,configurable:!0}),Object.defineProperty(a,"transparent",{get:function(){var e=a.fromArgb(0,255,255,255);return e.name="Transparent",e},enumerable:!1,configurable:!0}),Object.defineProperty(a,"empty",{get:function(){var e=a.fromArgb(0,255,255,255);return e.name="Empty",e},enumerable:!1,configurable:!0}),a.fromName=function(e){if(e=e.replace(/ /gi,""),r.StiString.isNullOrEmpty(e))return a.empty;var t=a[e=e.charAt(0).toLowerCase()+e.substr(1)];if(t instanceof a)return t;throw r.StiString.format("Color.fromName(name); Color name {0} not found.",e)},Object.defineProperty(a.prototype,"a",{get:function(){return this._a},set:function(e){this._a=e,this.name=a.customName},enumerable:!1,configurable:!0}),Object.defineProperty(a.prototype,"r",{get:function(){return this._r},set:function(e){this._r=e,this.name=a.customName},enumerable:!1,configurable:!0}),Object.defineProperty(a.prototype,"g",{get:function(){return this._g},set:function(e){this._g=e,this.name=a.customName},enumerable:!1,configurable:!0}),Object.defineProperty(a.prototype,"b",{get:function(){return this._b},set:function(e){this._b=e,this.name=a.customName},enumerable:!1,configurable:!0}),Object.defineProperty(a.prototype,"isNamedColor",{get:function(){return this.name!=a.customName},enumerable:!1,configurable:!0}),a.prototype.equals=function(e){if(null!=e)return 0==e._a&&255==e._r&&255==e._g&&255==e._b||0==this._a&&255==this._r&&255==this._g&&255==this._b?this._a==e._a:this._a==e._a&&this._r==e._r&&this._g==e._g&&this._b==e._b;return!1},a.prototype.toString=function(){return r.StiString.format("rgba({0},{1},{2},{3})",this.r,this.g,this.b,this.a/255)},a.fromArgb=function(e,t,r,n){void 0===r?(n=t._b,r=t._g,t=t._r):void 0===n&&(n=r,r=t,t=e,e=255);var i=new a;return i._a=e,i._r=t,i._g=r,i._b=n,i.name=a.customName,i},a.prototype.toArgb=function(){var e=this._a<<24;return e+=this._r<<16,e+=this._g<<8,e+=this._b},a.prototype.getHashCode=function(){return this.toArgb()},a.customName="Custom",e=a,i.Color=e}(Stimulsoft=Stimulsoft||{}),function(e){var t,e,r,o;function n(){}e=t=e.System||(e.System={}),o=r=e.Drawing||(e.Drawing={}),n.toHtml=function(e){return this.toHtml2(e,!0)},n.toHtml2=function(e,t){var r="";if(e.isNamedColor&&t){if(e.equals(o.Color.lightGray))return"LightGrey";return e.name.stimulsoft.replaceAll(" ","")}var n=e.r.toString(16),t=e.g.toString(16),e=e.b.toString(16);return 1==n.length&&(n="0"+n),1==t.length&&(t="0"+t),1==e.length&&(e="0"+e),("#"+n+t+e).toUpperCase()},n.fromHtml=function(e){var t=0,r="FF";e.stimulsoft.startsWith("0x")&&(e="#"+e.substring(2)),e.stimulsoft.startsWith("#")&&4==e.length&&(e+=e.substring(1)),7<e.length&&(t=2,r=e.substr(1,2));var n=e.substr(1+t,2),i=e.substr(3+t,2),t=e.substr(5+t,2),r=parseInt(r,16),n=parseInt(n,16),i=parseInt(i,16),t=parseInt(t,16),a;return o.Color.fromArgb(r,n,i,t)},e=n,o.ColorTranslator=e}(Stimulsoft=Stimulsoft||{}),function(e){var t,e,r,n;e=t=e.System||(e.System={}),e=r=e.Drawing||(e.Drawing={}),(e=n=e.ContentAlignment||(e.ContentAlignment={}))[e["TopLeft"]=1]="TopLeft",e[e["TopCenter"]=2]="TopCenter",e[e["TopRight"]=4]="TopRight",e[e["MiddleLeft"]=16]="MiddleLeft",e[e["MiddleCenter"]=32]="MiddleCenter",e[e["MiddleRight"]=64]="MiddleRight",e[e["BottomLeft"]=256]="BottomLeft",e[e["BottomCenter"]=512]="BottomCenter",e[e["BottomRight"]=1024]="BottomRight"}(Stimulsoft=Stimulsoft||{}),function(e){var t,r,n,i,e;function a(e,t,r,n){void 0===e&&(e="Arial"),void 0===t&&(t=10),this._style=i.FontStyle.Regular,this._unit=i.GraphicsUnit.Point,this._fontFamily=new i.FontFamily(e),this._size=t,void 0!==r&&(this._style=r),void 0!==n&&(this._unit=n)}r=t=e.System||(e.System={}),i=n=r.Drawing||(r.Drawing={}),a.prototype.clone=function(e,t){void 0===e&&(e=!0),void 0===t&&(t=!0);var t=this.stimulsoft.memberwiseClone();return t._fontFamily=new i.FontFamily(this.fontFamily.name),t},Object.defineProperty(a.prototype,"fontFamily",{get:function(){return this._fontFamily},enumerable:!1,configurable:!0}),Object.defineProperty(a.prototype,"name",{get:function(){return this._fontFamily.name},enumerable:!1,configurable:!0}),Object.defineProperty(a.prototype,"size",{get:function(){return this._size},enumerable:!1,configurable:!0}),Object.defineProperty(a.prototype,"sizeInPoints",{get:function(){switch(this.unit){case i.GraphicsUnit.Pixel:return.75*this.size}return this.size},enumerable:!1,configurable:!0}),Object.defineProperty(a.prototype,"style",{get:function(){return this._style},enumerable:!1,configurable:!0}),Object.defineProperty(a.prototype,"unit",{get:function(){return this._unit},enumerable:!1,configurable:!0}),Object.defineProperty(a.prototype,"bold",{get:function(){return 0!=(this._style&i.FontStyle.Bold)},enumerable:!1,configurable:!0}),Object.defineProperty(a.prototype,"italic",{get:function(){return 0!=(this._style&i.FontStyle.Italic)},enumerable:!1,configurable:!0}),Object.defineProperty(a.prototype,"strikeout",{get:function(){return 0!=(this._style&i.FontStyle.Strikeout)},enumerable:!1,configurable:!0}),Object.defineProperty(a.prototype,"underline",{get:function(){return 0!=(this._style&i.FontStyle.Underline)},enumerable:!1,configurable:!0}),a.prototype.toString=function(){if(null!=this._toString)return this._toString;return this._toString=r.StiString.format("{0} {1} {2} {3}",this.style==i.FontStyle.Italic?"italic":"normal",this.style==i.FontStyle.Bold?"bold":"normal",this.sizeInPoints.toString()+"pt",this.fontFamily.name),this._toString},a.prototype.getHeight=function(){return this._size},a.prototype.getHashCode=function(){if(null!=this.hashCode)return this.hashCode;return this.hashCode=397*this.hashCode^(null!=this._fontFamily?this._fontFamily.name.stimulsoft.getHashCode():0),this.hashCode=397*this.hashCode^(null!=this._size?this._size:0),this.hashCode=397*this.hashCode^(null!=this._style?this._style:0),this.hashCode=397*this.hashCode^(null!=this._unit?this._unit:0),this.hashCode=Math.abs(this.hashCode),this.hashCode},e=a,i.Font=e}(Stimulsoft=Stimulsoft||{}),function(e){var t,r,n,e;function i(e){this._name=e}r=t=e.System||(e.System={}),e=n=r.Drawing||(r.Drawing={}),Object.defineProperty(i,"families",{get:function(){return null==i._families&&((i._families=[]).push(new i("Agency FB")),i._families.push(new i("Aharoni")),i._families.push(new i("Algerian")),i._families.push(new i("Andalus")),i._families.push(new i("Angsana New")),i._families.push(new i("AngsanaUPC")),i._families.push(new i("Aparajita")),i._families.push(new i("Arabic Typesetting")),i._families.push(new i("Arial")),i._families.push(new i("Arial Black")),i._families.push(new i("Arial Narrow")),i._families.push(new i("Arial Rounded MT Bold")),i._families.push(new i("Arial Unicode MS")),i._families.push(new i("Baskerville Old Face")),i._families.push(new i("Batang")),i._families.push(new i("BatangChe")),i._families.push(new i("Bauhaus 93")),i._families.push(new i("Bell MT")),i._families.push(new i("Berlin Sans FB")),i._families.push(new i("Berlin Sans FB Demi")),i._families.push(new i("Bernard MT Condensed")),i._families.push(new i("Blackadder ITC")),i._families.push(new i("Bodoni MT")),i._families.push(new i("Bodoni MT Black")),i._families.push(new i("Bodoni MT Condensed")),i._families.push(new i("Bodoni MT Poster Compressed")),i._families.push(new i("Book Antiqua")),i._families.push(new i("Bookman Old Style")),i._families.push(new i("Bookshelf Symbol 7")),i._families.push(new i("Bradley Hand ITC")),i._families.push(new i("Britannic Bold")),i._families.push(new i("Broadway")),i._families.push(new i("Browallia New")),i._families.push(new i("BrowalliaUPC")),i._families.push(new i("Brush Script MT")),i._families.push(new i("Buxton Sketch")),i._families.push(new i("Calibri")),i._families.push(new i("Calibri Light")),i._families.push(new i("Californian FB")),i._families.push(new i("Calisto MT")),i._families.push(new i("Cambria")),i._families.push(new i("Cambria Math")),i._families.push(new i("Candara")),i._families.push(new i("Castellar")),i._families.push(new i("Centaur")),i._families.push(new i("Century")),i._families.push(new i("Century Gothic")),i._families.push(new i("Century Schoolbook")),i._families.push(new i("Chiller")),i._families.push(new i("Colonna MT")),i._families.push(new i("Comic Sans MS")),i._families.push(new i("Consolas")),i._families.push(new i("Constantia")),i._families.push(new i("Cooper Black")),i._families.push(new i("Copperplate Gothic Bold")),i._families.push(new i("Copperplate Gothic Light")),i._families.push(new i("Corbel")),i._families.push(new i("Cordia New")),i._families.push(new i("CordiaUPC")),i._families.push(new i("Courier New")),i._families.push(new i("Curlz MT")),i._families.push(new i("DaunPenh")),i._families.push(new i("David")),i._families.push(new i("DejaVu Sans")),i._families.push(new i("DengXian")),i._families.push(new i("DFKai-SB")),i._families.push(new i("DilleniaUPC")),i._families.push(new i("DokChampa")),i._families.push(new i("Dotum")),i._families.push(new i("DotumChe")),i._families.push(new i("Ebrima")),i._families.push(new i("Edwardian Script ITC")),i._families.push(new i("Elephant")),i._families.push(new i("Engravers MT")),i._families.push(new i("Eras Bold ITC")),i._families.push(new i("Eras Demi ITC")),i._families.push(new i("Eras Light ITC")),i._families.push(new i("Eras Medium ITC")),i._families.push(new i("Estrangelo Edessa")),i._families.push(new i("EucrosiaUPC")),i._families.push(new i("Euphemia")),i._families.push(new i("FangSong")),i._families.push(new i("Felix Titling")),i._families.push(new i("Footlight MT Light")),i._families.push(new i("Forte")),i._families.push(new i("Franklin Gothic Book")),i._families.push(new i("Franklin Gothic Demi")),i._families.push(new i("Franklin Gothic Demi Cond")),i._families.push(new i("Franklin Gothic Heavy")),i._families.push(new i("Franklin Gothic Medium")),i._families.push(new i("Franklin Gothic Medium Cond")),i._families.push(new i("FrankRuehl")),i._families.push(new i("FreesiaUPC")),i._families.push(new i("Freestyle Script")),i._families.push(new i("French Script MT")),i._families.push(new i("Gabriola")),i._families.push(new i("Garamond")),i._families.push(new i("Gautami")),i._families.push(new i("Georgia")),i._families.push(new i("Gigi")),i._families.push(new i("Gill Sans MT")),i._families.push(new i("Gill Sans MT Condensed")),i._families.push(new i("Gill Sans MT Ext Condensed Bold")),i._families.push(new i("Gill Sans Ultra Bold")),i._families.push(new i("Gill Sans Ultra Bold Condensed")),i._families.push(new i("Gisha")),i._families.push(new i("Gloucester MT Extra Condensed")),i._families.push(new i("Goudy Old Style")),i._families.push(new i("Goudy Stout")),i._families.push(new i("Gulim")),i._families.push(new i("GulimChe")),i._families.push(new i("Gungsuh")),i._families.push(new i("GungsuhChe")),i._families.push(new i("Haettenschweiler")),i._families.push(new i("Harlow Solid Italic")),i._families.push(new i("Harrington")),i._families.push(new i("High Tower Text")),i._families.push(new i("Impact")),i._families.push(new i("Imprint MT Shadow")),i._families.push(new i("Informal Roman")),i._families.push(new i("IrisUPC")),i._families.push(new i("Iskoola Pota")),i._families.push(new i("JasmineUPC")),i._families.push(new i("Jokerman")),i._families.push(new i("Juice ITC")),i._families.push(new i("KaiTi")),i._families.push(new i("Kalinga")),i._families.push(new i("Kartika")),i._families.push(new i("Khmer UI")),i._families.push(new i("KodchiangUPC")),i._families.push(new i("Kokila")),i._families.push(new i("Kristen ITC")),i._families.push(new i("Kunstler Script")),i._families.push(new i("Lao UI")),i._families.push(new i("Latha")),i._families.push(new i("Leelawadee")),i._families.push(new i("Levenim MT")),i._families.push(new i("LilyUPC")),i._families.push(new i("Lucida Bright")),i._families.push(new i("Lucida Calligraphy")),i._families.push(new i("Lucida Console")),i._families.push(new i("Lucida Fax")),i._families.push(new i("Lucida Handwriting")),i._families.push(new i("Lucida Sans")),i._families.push(new i("Lucida Sans Typewriter")),i._families.push(new i("Lucida Sans Unicode")),i._families.push(new i("Magneto")),i._families.push(new i("Maiandra GD")),i._families.push(new i("Malgun Gothic")),i._families.push(new i("Mangal")),i._families.push(new i("Marlett")),i._families.push(new i("Matura MT Script Capitals")),i._families.push(new i("Meiryo")),i._families.push(new i("Meiryo UI")),i._families.push(new i("Microsoft Himalaya")),i._families.push(new i("Microsoft JhengHei")),i._families.push(new i("Microsoft MHei")),i._families.push(new i("Microsoft NeoGothic")),i._families.push(new i("Microsoft New Tai Lue")),i._families.push(new i("Microsoft PhagsPa")),i._families.push(new i("Microsoft Sans Serif")),i._families.push(new i("Microsoft Tai Le")),i._families.push(new i("Microsoft Uighur")),i._families.push(new i("Microsoft YaHei")),i._families.push(new i("Microsoft Yi Baiti")),i._families.push(new i("MingLiU")),i._families.push(new i("MingLiU_HKSCS")),i._families.push(new i("MingLiU_HKSCS-ExtB")),i._families.push(new i("MingLiU-ExtB")),i._families.push(new i("Miriam")),i._families.push(new i("Miriam Fixed")),i._families.push(new i("Mistral")),i._families.push(new i("Modern No. 20")),i._families.push(new i("Mongolian Baiti")),i._families.push(new i("Monotype Corsiva")),i._families.push(new i("MoolBoran")),i._families.push(new i("MS Gothic")),i._families.push(new i("MS Mincho")),i._families.push(new i("MS Outlook")),i._families.push(new i("MS PGothic")),i._families.push(new i("MS PMincho")),i._families.push(new i("MS Reference Sans Serif")),i._families.push(new i("MS Reference Specialty")),i._families.push(new i("MS UI Gothic")),i._families.push(new i("MT Extra")),i._families.push(new i("MV Boli")),i._families.push(new i("Narkisim")),i._families.push(new i("Niagara Engraved")),i._families.push(new i("Niagara Solid")),i._families.push(new i("Nina")),i._families.push(new i("NSimSun")),i._families.push(new i("Nyala")),i._families.push(new i("OCR A Extended")),i._families.push(new i("Old English Text MT")),i._families.push(new i("Onyx")),i._families.push(new i("Palace Script MT")),i._families.push(new i("Palatino Linotype")),i._families.push(new i("Papyrus")),i._families.push(new i("Parchment")),i._families.push(new i("Perpetua")),i._families.push(new i("Perpetua Titling MT")),i._families.push(new i("Plantagenet Cherokee")),i._families.push(new i("Playbill")),i._families.push(new i("PMingLiU")),i._families.push(new i("PMingLiU-ExtB")),i._families.push(new i("Poor Richard")),i._families.push(new i("Pristina")),i._families.push(new i("Raavi")),i._families.push(new i("Rage Italic")),i._families.push(new i("Ravie")),i._families.push(new i("Rockwell")),i._families.push(new i("Rockwell Condensed")),i._families.push(new i("Rockwell Extra Bold")),i._families.push(new i("Rod")),i._families.push(new i("Sakkal Majalla")),i._families.push(new i("Script MT Bold")),i._families.push(new i("Segoe Condensed")),i._families.push(new i("Segoe Marker")),i._families.push(new i("Segoe Print")),i._families.push(new i("Segoe Script")),i._families.push(new i("Segoe UI")),i._families.push(new i("Segoe UI Light")),i._families.push(new i("Segoe UI Semibold")),i._families.push(new i("Segoe UI Symbol")),i._families.push(new i("Segoe WP")),i._families.push(new i("Segoe WP Black")),i._families.push(new i("Segoe WP Light")),i._families.push(new i("Segoe WP Semibold")),i._families.push(new i("Segoe WP SemiLight")),i._families.push(new i("Shonar Bangla")),i._families.push(new i("Showcard Gothic")),i._families.push(new i("Shruti")),i._families.push(new i("SimHei")),i._families.push(new i("Simplified Arabic")),i._families.push(new i("Simplified Arabic Fixed")),i._families.push(new i("SimSun")),i._families.push(new i("SimSun-ExtB")),i._families.push(new i("SketchFlow Print")),i._families.push(new i("Snap ITC")),i._families.push(new i("Stencil")),i._families.push(new i("Sylfaen")),i._families.push(new i("Symbol")),i._families.push(new i("Tahoma")),i._families.push(new i("Tempus Sans ITC")),i._families.push(new i("Times New Roman")),i._families.push(new i("Traditional Arabic")),i._families.push(new i("Trebuchet MS")),i._families.push(new i("Tunga")),i._families.push(new i("Tw Cen MT")),i._families.push(new i("Tw Cen MT Condensed")),i._families.push(new i("Tw Cen MT Condensed Extra Bold")),i._families.push(new i("Utsaah")),i._families.push(new i("Vani")),i._families.push(new i("Verdana")),i._families.push(new i("Vijaya")),i._families.push(new i("Viner Hand ITC")),i._families.push(new i("Vivaldi")),i._families.push(new i("Vladimir Script")),i._families.push(new i("Vrinda")),i._families.push(new i("Webdings")),i._families.push(new i("Wide Latin")),i._families.push(new i("Wingdings")),i._families.push(new i("Wingdings 2")),i._families.push(new i("Wingdings 3")),i._families.push(new i("Yu Gothic"))),i._families},enumerable:!1,configurable:!0}),Object.defineProperty(i.prototype,"name",{get:function(){return this._name},enumerable:!1,configurable:!0}),i.prototype.isStyleAvailable=function(e){return!0},i.cleanFamilies=function(){this._families=[]},r=i,e.FontFamily=r}(Stimulsoft=Stimulsoft||{}),function(e){var t,e,r,k;function n(){}e=t=e.System||(e.System={}),k=r=e.Drawing||(e.Drawing={}),n.getSize=function(e,t){var r,n,i,a,o,s,u,l,m,y,d=new k.Size(0,0),h=0;try{for(var c=__values(this.family_Helvetica),f=c.next();!f.done;f=c.next()){var p=f.value;e.name==p&&(h=0)}}catch(e){r={error:e}}finally{try{f&&!f.done&&(n=c.return)&&n.call(c)}finally{if(r)throw r.error}}try{for(var M=__values(this.family_Times_Roman),b=M.next();!b.done;b=M.next()){var p=b.value;e.name==p&&(h=4)}}catch(e){i={error:e}}finally{try{b&&!b.done&&(a=M.return)&&a.call(M)}finally{if(i)throw i.error}}try{for(var g=__values(this.family_Courier),v=g.next();!v.done;v=g.next()){var p=v.value;e.name==p&&(h=8)}}catch(e){o={error:e}}finally{try{v&&!v.done&&(s=g.return)&&s.call(g)}finally{if(o)throw o.error}}h<12&&(1==e.bold&&(h+=1),1==e.italic&&(h+=2));try{for(var S=__values(t.split("\n")),w=S.next();!w.done;w=S.next()){var N=w.value;try{for(var I=(m=void 0,__values(N.split(""))),j=I.next();!j.done;j=I.next()){var T=j.value;d.width+=this.standardFontWidths[T.charCodeAt(0)][h]/1e3*e.size}}catch(e){m={error:e}}finally{try{j&&!j.done&&(y=I.return)&&y.call(I)}finally{if(m)throw m.error}}d.height+=this.standardFontInfo[7][h]/1e3*e.size}}catch(e){u={error:e}}finally{try{w&&!w.done&&(l=S.return)&&l.call(S)}finally{if(u)throw u.error}}return d},Object.defineProperty(n,"standardFontWidths",{get:function(){return null==this._standardFontWidths&&(this._standardFontWidths=[],this._standardFontWidths[32]=[278,278,278,278,250,250,250,250,600,600,600,600],this._standardFontWidths[33]=[278,333,278,333,333,333,333,389,600,600,600,600],this._standardFontWidths[34]=[355,474,355,474,408,555,420,555,600,600,600,600],this._standardFontWidths[35]=[556,556,556,556,500,500,500,500,600,600,600,600],this._standardFontWidths[36]=[556,556,556,556,500,500,500,500,600,600,600,600],this._standardFontWidths[37]=[889,889,889,889,833,1e3,833,833,600,600,600,600],this._standardFontWidths[38]=[667,722,667,722,778,833,778,778,600,600,600,600],this._standardFontWidths[39]=[191,238,191,238,180,278,214,278,600,600,600,600],this._standardFontWidths[40]=[333,333,333,333,333,333,333,333,600,600,600,600],this._standardFontWidths[41]=[333,333,333,333,333,333,333,333,600,600,600,600],this._standardFontWidths[42]=[389,389,389,389,500,500,500,500,600,600,600,600],this._standardFontWidths[43]=[584,584,584,584,564,570,675,570,600,600,600,600],this._standardFontWidths[44]=[278,278,278,278,250,250,250,250,600,600,600,600],this._standardFontWidths[45]=[333,333,333,333,333,333,333,333,600,600,600,600],this._standardFontWidths[46]=[278,278,278,278,250,250,250,250,600,600,600,600],this._standardFontWidths[47]=[278,278,278,278,278,278,278,278,600,600,600,600],this._standardFontWidths[48]=[556,556,556,556,500,500,500,500,600,600,600,600],this._standardFontWidths[49]=[556,556,556,556,500,500,500,500,600,600,600,600],this._standardFontWidths[50]=[556,556,556,556,500,500,500,500,600,600,600,600],this._standardFontWidths[51]=[556,556,556,556,500,500,500,500,600,600,600,600],this._standardFontWidths[52]=[556,556,556,556,500,500,500,500,600,600,600,600],this._standardFontWidths[53]=[556,556,556,556,500,500,500,500,600,600,600,600],this._standardFontWidths[54]=[556,556,556,556,500,500,500,500,600,600,600,600],this._standardFontWidths[55]=[556,556,556,556,500,500,500,500,600,600,600,600],this._standardFontWidths[56]=[556,556,556,556,500,500,500,500,600,600,600,600],this._standardFontWidths[57]=[556,556,556,556,500,500,500,500,600,600,600,600],this._standardFontWidths[58]=[278,333,278,333,278,333,333,333,600,600,600,600],this._standardFontWidths[59]=[278,333,278,333,278,333,333,333,600,600,600,600],this._standardFontWidths[60]=[584,584,584,584,564,570,675,570,600,600,600,600],this._standardFontWidths[61]=[584,584,584,584,564,570,675,570,600,600,600,600],this._standardFontWidths[62]=[584,584,584,584,564,570,675,570,600,600,600,600],this._standardFontWidths[63]=[556,611,556,611,444,500,500,500,600,600,600,600],this._standardFontWidths[64]=[1015,975,1015,975,921,930,920,832,600,600,600,600],this._standardFontWidths[65]=[667,722,667,722,722,722,611,667,600,600,600,600],this._standardFontWidths[66]=[667,722,667,722,667,667,611,667,600,600,600,600],this._standardFontWidths[67]=[722,722,722,722,667,722,667,667,600,600,600,600],this._standardFontWidths[68]=[722,722,722,722,722,722,722,722,600,600,600,600],this._standardFontWidths[69]=[667,667,667,667,611,667,611,667,600,600,600,600],this._standardFontWidths[70]=[611,611,611,611,556,611,611,667,600,600,600,600],this._standardFontWidths[71]=[778,778,778,778,722,778,722,722,600,600,600,600],this._standardFontWidths[72]=[722,722,722,722,722,778,722,778,600,600,600,600],this._standardFontWidths[73]=[278,278,278,278,333,389,333,389,600,600,600,600],this._standardFontWidths[74]=[500,556,500,556,389,500,444,500,600,600,600,600],this._standardFontWidths[75]=[667,722,667,722,722,778,667,667,600,600,600,600],this._standardFontWidths[76]=[556,611,556,611,611,667,556,611,600,600,600,600],this._standardFontWidths[77]=[833,833,833,833,889,944,833,889,600,600,600,600],this._standardFontWidths[78]=[722,722,722,722,722,722,667,722,600,600,600,600],this._standardFontWidths[79]=[778,778,778,778,722,778,722,722,600,600,600,600],this._standardFontWidths[80]=[667,667,667,667,556,611,611,611,600,600,600,600],this._standardFontWidths[81]=[778,778,778,778,722,778,722,722,600,600,600,600],this._standardFontWidths[82]=[722,722,722,722,667,722,611,667,600,600,600,600],this._standardFontWidths[83]=[667,667,667,667,556,556,500,556,600,600,600,600],this._standardFontWidths[84]=[611,611,611,611,611,667,556,611,600,600,600,600],this._standardFontWidths[85]=[722,722,722,722,722,722,722,722,600,600,600,600],this._standardFontWidths[86]=[667,667,667,667,722,722,611,667,600,600,600,600],this._standardFontWidths[87]=[944,944,944,944,944,1e3,833,889,600,600,600,600],this._standardFontWidths[88]=[667,667,667,667,722,722,611,667,600,600,600,600],this._standardFontWidths[89]=[667,667,667,667,722,722,556,611,600,600,600,600],this._standardFontWidths[90]=[611,611,611,611,611,667,556,611,600,600,600,600],this._standardFontWidths[91]=[278,333,278,333,333,333,389,333,600,600,600,600],this._standardFontWidths[92]=[278,278,278,278,278,278,278,278,600,600,600,600],this._standardFontWidths[93]=[278,333,278,333,333,333,389,333,600,600,600,600],this._standardFontWidths[94]=[469,584,469,584,469,581,422,570,600,600,600,600],this._standardFontWidths[95]=[556,556,556,556,500,500,500,500,600,600,600,600],this._standardFontWidths[96]=[333,333,333,333,333,333,333,333,600,600,600,600],this._standardFontWidths[97]=[556,556,556,556,444,500,500,500,600,600,600,600],this._standardFontWidths[98]=[556,611,556,611,500,556,500,500,600,600,600,600],this._standardFontWidths[99]=[500,556,500,556,444,444,444,444,600,600,600,600],this._standardFontWidths[100]=[556,611,556,611,500,556,500,500,600,600,600,600],this._standardFontWidths[101]=[556,556,556,556,444,444,444,444,600,600,600,600],this._standardFontWidths[102]=[278,333,278,333,333,333,278,333,600,600,600,600],this._standardFontWidths[103]=[556,611,556,611,500,500,500,500,600,600,600,600],this._standardFontWidths[104]=[556,611,556,611,500,556,500,556,600,600,600,600],this._standardFontWidths[105]=[222,278,222,278,278,278,278,278,600,600,600,600],this._standardFontWidths[106]=[222,278,222,278,278,333,278,278,600,600,600,600],this._standardFontWidths[107]=[500,556,500,556,500,556,444,500,600,600,600,600],this._standardFontWidths[108]=[222,278,222,278,278,278,278,278,600,600,600,600],this._standardFontWidths[109]=[833,889,833,889,778,833,722,778,600,600,600,600],this._standardFontWidths[110]=[556,611,556,611,500,556,500,556,600,600,600,600],this._standardFontWidths[111]=[556,611,556,611,500,500,500,500,600,600,600,600],this._standardFontWidths[112]=[556,611,556,611,500,556,500,500,600,600,600,600],this._standardFontWidths[113]=[556,611,556,611,500,556,500,500,600,600,600,600],this._standardFontWidths[114]=[333,389,333,389,333,444,389,389,600,600,600,600],this._standardFontWidths[115]=[500,556,500,556,389,389,389,389,600,600,600,600],this._standardFontWidths[116]=[278,333,278,333,278,333,278,278,600,600,600,600],this._standardFontWidths[117]=[556,611,556,611,500,556,500,556,600,600,600,600],this._standardFontWidths[118]=[500,556,500,556,500,500,444,444,600,600,600,600],this._standardFontWidths[119]=[722,778,722,778,722,722,667,667,600,600,600,600],this._standardFontWidths[120]=[500,556,500,556,500,500,444,500,600,600,600,600],this._standardFontWidths[121]=[500,556,500,556,500,500,444,444,600,600,600,600],this._standardFontWidths[122]=[500,500,500,500,444,444,389,389,600,600,600,600],this._standardFontWidths[123]=[334,389,334,389,480,394,400,348,600,600,600,600],this._standardFontWidths[124]=[260,280,260,280,200,220,275,220,600,600,600,600],this._standardFontWidths[125]=[334,389,334,389,480,394,400,348,600,600,600,600],this._standardFontWidths[126]=[584,584,584,584,541,520,541,570,600,600,600,600],this._standardFontWidths[161]=[333,333,333,333,333,333,389,389,600,600,600,600],this._standardFontWidths[162]=[556,556,556,556,500,500,500,500,600,600,600,600],this._standardFontWidths[163]=[556,556,556,556,500,500,500,500,600,600,600,600],this._standardFontWidths[164]=[556,556,556,556,500,500,500,500,600,600,600,600],this._standardFontWidths[165]=[556,556,556,556,500,500,500,500,600,600,600,600],this._standardFontWidths[166]=[260,280,260,280,200,220,275,220,600,600,600,600],this._standardFontWidths[167]=[556,556,556,556,500,500,500,500,600,600,600,600],this._standardFontWidths[168]=[333,333,333,333,333,333,333,333,600,600,600,600],this._standardFontWidths[169]=[737,737,737,737,760,747,760,747,600,600,600,600],this._standardFontWidths[170]=[370,370,370,370,276,300,276,266,600,600,600,600],this._standardFontWidths[171]=[556,556,556,556,500,500,500,500,600,600,600,600],this._standardFontWidths[172]=[584,584,584,584,564,570,675,606,600,600,600,600],this._standardFontWidths[174]=[737,737,737,737,760,747,760,747,600,600,600,600],this._standardFontWidths[175]=[333,333,333,333,333,333,333,333,600,600,600,600],this._standardFontWidths[176]=[400,400,400,400,400,400,400,400,600,600,600,600],this._standardFontWidths[177]=[584,584,584,584,564,570,675,570,600,600,600,600],this._standardFontWidths[180]=[333,333,333,333,333,333,333,333,600,600,600,600],this._standardFontWidths[181]=[556,611,556,611,500,556,500,576,600,600,600,600],this._standardFontWidths[182]=[537,556,537,556,453,540,523,500,600,600,600,600],this._standardFontWidths[183]=[278,278,278,278,250,250,250,250,600,600,600,600],this._standardFontWidths[184]=[333,333,333,333,333,333,333,333,600,600,600,600],this._standardFontWidths[186]=[365,365,365,365,310,330,310,300,600,600,600,600],this._standardFontWidths[187]=[556,556,556,556,500,500,500,500,600,600,600,600],this._standardFontWidths[188]=[834,834,834,834,750,750,750,750,600,600,600,600],this._standardFontWidths[189]=[834,834,834,834,750,750,750,750,600,600,600,600],this._standardFontWidths[190]=[834,834,834,834,750,750,750,750,600,600,600,600],this._standardFontWidths[191]=[611,611,611,611,444,500,500,500,600,600,600,600],this._standardFontWidths[192]=[667,722,667,722,722,722,611,667,600,600,600,600],this._standardFontWidths[193]=[667,722,667,722,722,722,611,667,600,600,600,600],this._standardFontWidths[194]=[667,722,667,722,722,722,611,667,600,600,600,600],this._standardFontWidths[195]=[667,722,667,722,722,722,611,667,600,600,600,600],this._standardFontWidths[196]=[667,722,667,722,722,722,611,667,600,600,600,600],this._standardFontWidths[197]=[667,722,667,722,722,722,611,667,600,600,600,600],this._standardFontWidths[198]=[1e3,1e3,1e3,1e3,889,1e3,889,944,600,600,600,600],this._standardFontWidths[199]=[722,722,722,722,667,722,667,667,600,600,600,600],this._standardFontWidths[200]=[667,667,667,667,611,667,611,667,600,600,600,600],this._standardFontWidths[201]=[667,667,667,667,611,667,611,667,600,600,600,600],this._standardFontWidths[202]=[667,667,667,667,611,667,611,667,600,600,600,600],this._standardFontWidths[203]=[667,667,667,667,611,667,611,667,600,600,600,600],this._standardFontWidths[204]=[278,278,278,278,333,389,333,389,600,600,600,600],this._standardFontWidths[205]=[278,278,278,278,333,389,333,389,600,600,600,600],this._standardFontWidths[206]=[278,278,278,278,333,389,333,389,600,600,600,600],this._standardFontWidths[207]=[278,278,278,278,333,389,333,389,600,600,600,600],this._standardFontWidths[208]=[722,722,722,722,722,722,722,722,600,600,600,600],this._standardFontWidths[209]=[722,722,722,722,722,722,667,722,600,600,600,600],this._standardFontWidths[210]=[778,778,778,778,722,778,722,722,600,600,600,600],this._standardFontWidths[211]=[778,778,778,778,722,778,722,722,600,600,600,600],this._standardFontWidths[212]=[778,778,778,778,722,778,722,722,600,600,600,600],this._standardFontWidths[213]=[778,778,778,778,722,778,722,722,600,600,600,600],this._standardFontWidths[214]=[778,778,778,778,722,778,722,722,600,600,600,600],this._standardFontWidths[215]=[584,584,584,584,564,570,675,570,600,600,600,600],this._standardFontWidths[216]=[778,778,778,778,722,778,722,722,600,600,600,600],this._standardFontWidths[217]=[722,722,722,722,722,722,722,722,600,600,600,600],this._standardFontWidths[218]=[722,722,722,722,722,722,722,722,600,600,600,600],this._standardFontWidths[219]=[722,722,722,722,722,722,722,722,600,600,600,600],this._standardFontWidths[220]=[722,722,722,722,722,722,722,722,600,600,600,600],this._standardFontWidths[221]=[667,667,667,667,722,722,556,611,600,600,600,600],this._standardFontWidths[222]=[667,667,667,667,556,611,611,611,600,600,600,600],this._standardFontWidths[223]=[611,611,611,611,500,556,500,500,600,600,600,600],this._standardFontWidths[224]=[556,556,556,556,444,500,500,500,600,600,600,600],this._standardFontWidths[225]=[556,556,556,556,444,500,500,500,600,600,600,600],this._standardFontWidths[226]=[556,556,556,556,444,500,500,500,600,600,600,600],this._standardFontWidths[227]=[556,556,556,556,444,500,500,500,600,600,600,600],this._standardFontWidths[228]=[556,556,556,556,444,500,500,500,600,600,600,600],this._standardFontWidths[229]=[556,556,556,556,444,500,500,500,600,600,600,600],this._standardFontWidths[230]=[889,889,889,889,667,722,667,722,600,600,600,600],this._standardFontWidths[231]=[500,556,500,556,444,444,444,444,600,600,600,600],this._standardFontWidths[232]=[556,556,556,556,444,444,444,444,600,600,600,600],this._standardFontWidths[233]=[556,556,556,556,444,444,444,444,600,600,600,600],this._standardFontWidths[234]=[556,556,556,556,444,444,444,444,600,600,600,600],this._standardFontWidths[235]=[556,556,556,556,444,444,444,444,600,600,600,600],this._standardFontWidths[236]=[278,278,278,278,278,278,278,278,600,600,600,600],this._standardFontWidths[237]=[278,278,278,278,278,278,278,278,600,600,600,600],this._standardFontWidths[238]=[278,278,278,278,278,278,278,278,600,600,600,600],this._standardFontWidths[239]=[278,278,278,278,278,278,278,278,600,600,600,600],this._standardFontWidths[240]=[556,611,556,611,500,500,500,500,600,600,600,600],this._standardFontWidths[241]=[556,611,556,611,500,556,500,556,600,600,600,600],this._standardFontWidths[242]=[556,611,556,611,500,500,500,500,600,600,600,600],this._standardFontWidths[243]=[556,611,556,611,500,500,500,500,600,600,600,600],this._standardFontWidths[244]=[556,611,556,611,500,500,500,500,600,600,600,600],this._standardFontWidths[245]=[556,611,556,611,500,500,500,500,600,600,600,600],this._standardFontWidths[246]=[556,611,556,611,500,500,500,500,600,600,600,600],this._standardFontWidths[247]=[584,584,584,584,564,570,675,570,600,600,600,600],this._standardFontWidths[248]=[611,611,611,611,500,500,500,500,600,600,600,600],this._standardFontWidths[249]=[556,611,556,611,500,556,500,556,600,600,600,600],this._standardFontWidths[250]=[556,611,556,611,500,556,500,556,600,600,600,600],this._standardFontWidths[251]=[556,611,556,611,500,556,500,556,600,600,600,600],this._standardFontWidths[252]=[556,611,556,611,500,556,500,556,600,600,600,600],this._standardFontWidths[253]=[500,556,500,556,500,500,444,444,600,600,600,600],this._standardFontWidths[254]=[556,611,556,611,500,556,500,500,600,600,600,600],this._standardFontWidths[255]=[500,556,500,556,500,500,444,444,600,600,600,600],this._standardFontWidths[256]=[667,722,667,722,722,722,611,667,600,600,600,600],this._standardFontWidths[257]=[556,556,556,556,444,500,500,500,600,600,600,600],this._standardFontWidths[258]=[667,722,667,722,722,722,611,667,600,600,600,600],this._standardFontWidths[259]=[556,556,556,556,444,500,500,500,600,600,600,600],this._standardFontWidths[260]=[667,722,667,722,722,722,611,667,600,600,600,600],this._standardFontWidths[261]=[556,556,556,556,444,500,500,500,600,600,600,600],this._standardFontWidths[262]=[722,722,722,722,667,722,667,667,600,600,600,600],this._standardFontWidths[263]=[500,556,500,556,444,444,444,444,600,600,600,600],this._standardFontWidths[268]=[722,722,722,722,667,722,667,667,600,600,600,600],this._standardFontWidths[269]=[500,556,500,556,444,444,444,444,600,600,600,600],this._standardFontWidths[270]=[722,722,722,722,722,722,722,722,600,600,600,600],this._standardFontWidths[271]=[643,743,643,743,588,672,544,608,600,600,600,600],this._standardFontWidths[272]=[722,722,722,722,722,722,722,722,600,600,600,600],this._standardFontWidths[273]=[556,611,556,611,500,556,500,500,600,600,600,600],this._standardFontWidths[274]=[667,667,667,667,611,667,611,667,600,600,600,600],this._standardFontWidths[275]=[556,556,556,556,444,444,444,444,600,600,600,600],this._standardFontWidths[278]=[667,667,667,667,611,667,611,667,600,600,600,600],this._standardFontWidths[279]=[556,556,556,556,444,444,444,444,600,600,600,600],this._standardFontWidths[280]=[667,667,667,667,611,667,611,667,600,600,600,600],this._standardFontWidths[281]=[556,556,556,556,444,444,444,444,600,600,600,600],this._standardFontWidths[282]=[667,667,667,667,611,667,611,667,600,600,600,600],this._standardFontWidths[283]=[556,556,556,556,444,444,444,444,600,600,600,600],this._standardFontWidths[286]=[778,778,778,778,722,778,722,722,600,600,600,600],this._standardFontWidths[287]=[556,611,556,611,500,500,500,500,600,600,600,600],this._standardFontWidths[290]=[778,778,778,778,722,778,722,722,600,600,600,600],this._standardFontWidths[291]=[556,611,556,611,500,500,500,500,600,600,600,600],this._standardFontWidths[298]=[278,278,278,278,333,389,333,389,600,600,600,600],this._standardFontWidths[299]=[278,278,278,278,278,278,278,278,600,600,600,600],this._standardFontWidths[302]=[278,278,278,278,333,389,333,389,600,600,600,600],this._standardFontWidths[303]=[222,278,222,278,278,278,278,278,600,600,600,600],this._standardFontWidths[304]=[278,278,278,278,333,389,333,389,600,600,600,600],this._standardFontWidths[305]=[278,278,278,278,278,278,278,278,600,600,600,600],this._standardFontWidths[310]=[667,722,667,722,722,778,667,667,600,600,600,600],this._standardFontWidths[311]=[500,556,500,556,500,556,444,500,600,600,600,600],this._standardFontWidths[313]=[556,611,556,611,611,667,556,611,600,600,600,600],this._standardFontWidths[314]=[222,278,222,278,278,278,278,278,600,600,600,600],this._standardFontWidths[315]=[556,611,556,611,611,667,556,611,600,600,600,600],this._standardFontWidths[316]=[222,278,222,278,278,278,278,278,600,600,600,600],this._standardFontWidths[317]=[556,611,556,611,611,667,611,611,600,600,600,600],this._standardFontWidths[318]=[299,400,299,400,344,394,300,382,600,600,600,600],this._standardFontWidths[321]=[556,611,556,611,611,667,556,611,600,600,600,600],this._standardFontWidths[322]=[222,278,222,278,278,278,278,278,600,600,600,600],this._standardFontWidths[323]=[722,722,722,722,722,722,667,722,600,600,600,600],this._standardFontWidths[324]=[556,611,556,611,500,556,500,556,600,600,600,600],this._standardFontWidths[325]=[722,722,722,722,722,722,667,722,600,600,600,600],this._standardFontWidths[326]=[556,611,556,611,500,556,500,556,600,600,600,600],this._standardFontWidths[327]=[722,722,722,722,722,722,667,722,600,600,600,600],this._standardFontWidths[328]=[556,611,556,611,500,556,500,556,600,600,600,600],this._standardFontWidths[332]=[778,778,778,778,722,778,722,722,600,600,600,600],this._standardFontWidths[333]=[556,611,556,611,500,500,500,500,600,600,600,600],this._standardFontWidths[336]=[778,778,778,778,722,778,722,722,600,600,600,600],this._standardFontWidths[337]=[556,611,556,611,500,500,500,500,600,600,600,600],this._standardFontWidths[338]=[1e3,1e3,1e3,1e3,889,1e3,944,944,600,600,600,600],this._standardFontWidths[339]=[944,944,944,944,722,722,667,722,600,600,600,600],this._standardFontWidths[340]=[722,722,722,722,667,722,611,667,600,600,600,600],this._standardFontWidths[341]=[333,389,333,389,333,444,389,389,600,600,600,600],this._standardFontWidths[342]=[722,722,722,722,667,722,611,667,600,600,600,600],this._standardFontWidths[343]=[333,389,333,389,333,444,389,389,600,600,600,600],this._standardFontWidths[344]=[722,722,722,722,667,722,611,667,600,600,600,600],this._standardFontWidths[345]=[333,389,333,389,333,444,389,389,600,600,600,600],this._standardFontWidths[346]=[667,667,667,667,556,556,500,556,600,600,600,600],this._standardFontWidths[347]=[500,556,500,556,389,389,389,389,600,600,600,600],this._standardFontWidths[350]=[667,667,667,667,556,556,500,556,600,600,600,600],this._standardFontWidths[351]=[500,556,500,556,389,389,389,389,600,600,600,600],this._standardFontWidths[352]=[667,667,667,667,556,556,500,556,600,600,600,600],this._standardFontWidths[353]=[500,556,500,556,389,389,389,389,600,600,600,600],this._standardFontWidths[354]=[611,611,611,611,611,667,556,611,600,600,600,600],this._standardFontWidths[355]=[278,333,278,333,278,333,278,278,600,600,600,600],this._standardFontWidths[356]=[611,611,611,611,611,667,556,611,600,600,600,600],this._standardFontWidths[357]=[317,389,317,389,326,416,300,366,600,600,600,600],this._standardFontWidths[362]=[722,722,722,722,722,722,722,722,600,600,600,600],this._standardFontWidths[363]=[556,611,556,611,500,556,500,556,600,600,600,600],this._standardFontWidths[366]=[722,722,722,722,722,722,722,722,600,600,600,600],this._standardFontWidths[367]=[556,611,556,611,500,556,500,556,600,600,600,600],this._standardFontWidths[368]=[722,722,722,722,722,722,722,722,600,600,600,600],this._standardFontWidths[369]=[556,611,556,611,500,556,500,556,600,600,600,600],this._standardFontWidths[370]=[722,722,722,722,722,722,722,722,600,600,600,600],this._standardFontWidths[371]=[556,611,556,611,500,556,500,556,600,600,600,600],this._standardFontWidths[376]=[667,667,667,667,722,722,556,611,600,600,600,600],this._standardFontWidths[377]=[611,611,611,611,611,667,556,611,600,600,600,600],this._standardFontWidths[378]=[500,500,500,500,444,444,389,389,600,600,600,600],this._standardFontWidths[379]=[611,611,611,611,611,667,556,611,600,600,600,600],this._standardFontWidths[380]=[500,500,500,500,444,444,389,389,600,600,600,600],this._standardFontWidths[381]=[611,611,611,611,611,667,556,611,600,600,600,600],this._standardFontWidths[382]=[500,500,500,500,444,444,389,389,600,600,600,600],this._standardFontWidths[402]=[556,556,556,556,500,500,500,500,600,600,600,600],this._standardFontWidths[536]=[667,667,667,667,556,556,500,556,600,600,600,600],this._standardFontWidths[537]=[500,556,500,556,389,389,389,389,600,600,600,600],this._standardFontWidths[710]=[333,333,333,333,333,333,333,333,600,600,600,600],this._standardFontWidths[711]=[333,333,333,333,333,333,333,333,600,600,600,600],this._standardFontWidths[728]=[333,333,333,333,333,333,333,333,600,600,600,600],this._standardFontWidths[729]=[333,333,333,333,333,333,333,333,600,600,600,600],this._standardFontWidths[730]=[333,333,333,333,333,333,333,333,600,600,600,600],this._standardFontWidths[731]=[333,333,333,333,333,333,333,333,600,600,600,600],this._standardFontWidths[732]=[333,333,333,333,333,333,333,333,600,600,600,600],this._standardFontWidths[733]=[333,333,333,333,333,333,333,333,600,600,600,600],this._standardFontWidths[8211]=[556,556,556,556,500,500,500,500,600,600,600,600],this._standardFontWidths[8212]=[1e3,1e3,1e3,1e3,1e3,1e3,889,1e3,600,600,600,600],this._standardFontWidths[8216]=[222,278,222,278,333,333,333,333,600,600,600,600],this._standardFontWidths[8217]=[222,278,222,278,333,333,333,333,600,600,600,600],this._standardFontWidths[8218]=[222,278,222,278,333,333,333,333,600,600,600,600],this._standardFontWidths[8220]=[333,500,333,500,444,500,556,500,600,600,600,600],this._standardFontWidths[8221]=[333,500,333,500,444,500,556,500,600,600,600,600],this._standardFontWidths[8222]=[333,500,333,500,444,500,556,500,600,600,600,600],this._standardFontWidths[8224]=[556,556,556,556,500,500,500,500,600,600,600,600],this._standardFontWidths[8225]=[556,556,556,556,500,500,500,500,600,600,600,600],this._standardFontWidths[8226]=[350,350,350,350,350,350,350,350,600,600,600,600],this._standardFontWidths[8230]=[1e3,1e3,1e3,1e3,1e3,1e3,889,1e3,600,600,600,600],this._standardFontWidths[8240]=[1e3,1e3,1e3,1e3,1e3,1e3,1e3,1e3,600,600,600,600],this._standardFontWidths[8249]=[333,333,333,333,333,333,333,333,600,600,600,600],this._standardFontWidths[8250]=[333,333,333,333,333,333,333,333,600,600,600,600],this._standardFontWidths[8260]=[167,167,167,167,167,167,167,167,600,600,600,600],this._standardFontWidths[8364]=[556,556,556,556,500,500,500,500,600,600,600,600],this._standardFontWidths[8482]=[1e3,1e3,1e3,1e3,980,1e3,980,1e3,600,600,600,600],this._standardFontWidths[8706]=[476,494,476,494,476,494,476,494,600,600,600,600],this._standardFontWidths[8710]=[612,612,612,612,612,612,612,612,600,600,600,600],this._standardFontWidths[8721]=[600,600,600,600,600,600,600,600,600,600,600,600],this._standardFontWidths[8722]=[584,584,584,584,564,570,675,606,600,600,600,600],this._standardFontWidths[8730]=[453,549,453,549,453,549,453,549,600,600,600,600],this._standardFontWidths[8773]=[250,250,250,250,250,250,250,250,600,600,600,600],this._standardFontWidths[8800]=[549,549,549,549,549,549,549,549,600,600,600,600],this._standardFontWidths[8804]=[549,549,549,549,549,549,549,549,600,600,600,600],this._standardFontWidths[8805]=[549,549,549,549,549,549,549,549,600,600,600,600],this._standardFontWidths[9674]=[471,494,471,494,471,494,471,494,600,600,600,600]),this._standardFontWidths},enumerable:!1,configurable:!0}),Object.defineProperty(n,"standardFontInfo",{get:function(){return null==this._standardFontInfo&&(this._standardFontInfo=[],this._standardFontInfo.push([0,0,-120,-120,0,0,-155,-150,0,0,-120,-120]),this._standardFontInfo.push([-166,-170,-170,-174,-168,-168,-169,-200,-23,-113,-27,-57]),this._standardFontInfo.push([-225,-228,-225,-228,-218,-218,-217,-218,-250,-250,-250,-250]),this._standardFontInfo.push([1e3,1003,1116,1114,1e3,1e3,1010,996,715,749,849,869]),this._standardFontInfo.push([931,962,931,962,898,935,883,921,805,801,805,801]),this._standardFontInfo.push([718,718,718,718,662,676,653,669,562,562,562,562]),this._standardFontInfo.push([523,532,523,532,450,461,441,462,426,439,426,439]),this._standardFontInfo.push([718,718,718,718,683,683,683,683,629,629,629,629]),this._standardFontInfo.push([-207,-207,-207,-207,-217,-217,-217,-217,-157,-157,-157,-157]),this._standardFontInfo.push([76,118,76,118,28,44,32,42,51,84,51,84]),this._standardFontInfo.push([88,140,88,140,84,139,76,121,51,106,51,106])),this._standardFontInfo},enumerable:!1,configurable:!0}),n.family_Helvetica=["Arial","Arial Black","Arial Narrow","Century Gothic","Comic Sans MS","Impact","Microsoft Sans Serif","Tahoma","Verdana"],n.family_Courier=["Courier New","Lucida Console"],n.family_Times_Roman=["Book Antiqua","Bookman Old Style","Garamond","Georgia","Times New Roman"],n.fontName=["Helvetica","Helvetica-Bold","Helvetica-Oblique","Helvetica-BoldOblique","Times-Roman","Times-Bold","Times-Italic","Times-BoldItalic","Courier","Courier-Bold","Courier-Oblique","Courier-BoldOblique"],e=n,k.FontResources=e}(Stimulsoft=Stimulsoft||{}),function(e){var t,e,r,n;e=t=e.System||(e.System={}),e=r=e.Drawing||(e.Drawing={}),(e=n=e.FontStyle||(e.FontStyle={}))[e["Regular"]=0]="Regular",e[e["Bold"]=1]="Bold",e[e["Italic"]=2]="Italic",e[e["Strikeout"]=4]="Strikeout",e[e["Underline"]=8]="Underline"}(Stimulsoft=Stimulsoft||{}),function(x){var e,B,t,L,s,r;function R(e){this.context=e,this.context.translate(.5,.5)}B=e=x.System||(x.System={}),L=t=B.Drawing||(B.Drawing={}),s=x.System.Collections.Hashtable,R.prototype.drawImage=function(e,t){},R.prototype.drawRectangle=function(e,t){this.context.strokeStyle=e.color.toString(),this.context.lineWidth=e.width,this.context.strokeRect(t.x,t.y,t.width,t.height)},R.prototype.fillRectangle=function(e,t,r,n,i){this.context.fillStyle=e.color.toString(),this.context.fillRect(t,r,n,i)},R.prototype.drawLine=function(e,t,r,n,i){this.context.strokeStyle=e.color.toString(),this.context.lineWidth=e.width,this.context.beginPath(),this.context.moveTo(t,r),this.context.lineTo(n,i),this.context.stroke()},R.prototype.drawString=function(e,t,r,n,i){this.context.fillStyle="#000000",this.context.textBaseline="top",this.context.font=t.toString(),this.context.fillText(e,n,i)},R.prototype.translateTransform=function(e,t){this.context.translate(e,t)},R.getOpentypeFont=function(e,t){var r=R.opentypeFonts.get(e),n,i;return null!=r&&(i=r.containsKey(t)?r.get(t):r.get(r.keys[0])),1==x.System.NodeJs.isNodeJs()&&null!=i&&null==i.font&&(this.addOpentypeFontFile(i.filePath,e,t,!0),(i=r.get(t)).autoLoad=!0),i&&(i.used=!0,n=i.font),null==n&&1==x.System.NodeJs.isNodeJs()&&0<R.opentypeFonts.count&&(n=(r=R.opentypeFonts.get(R.opentypeFonts.keys[0])).get(r.keys[0]).font),n},R.clearAutoLoadFonts=function(){var t,e,r,n;try{for(var i=__values(this.opentypeFonts.keys),a=i.next();!a.done;a=i.next()){var o=a.value,s=R.opentypeFonts.get(o);if(null!=s)try{for(var u=(r=void 0,__values(s.keys)),l=u.next();!l.done;l=u.next()){var m=l.value,m;!s.containsKey(m)||null!=(m=s.get(m))&&m.autoLoad&&(m.used||(m.font=null,m.data=null),m.used=!1)}}catch(e){r={error:e}}finally{try{l&&!l.done&&(n=u.return)&&n.call(u)}finally{if(r)throw r.error}}}}catch(e){t={error:e}}finally{try{a&&!a.done&&(e=i.return)&&e.call(i)}finally{if(t)throw t.error}}},R.addOpentypeFont=function(e,t,r,n,i,a){var a,o,o;void 0===t&&(t=null),void 0===r&&(r=null),void 0===n&&(n=null),void 0===i&&(i=L.FontStyle.Regular),void 0===a&&(a=!0),null==t&&(t=e.names.fontFamily.en),0==a&&(r=e=null),x.System.Drawing.Graphics.opentypeFonts.containsKey(t)?((o=(a=x.System.Drawing.Graphics.opentypeFonts.get(t)).get(i).filesPath).push(n),a.set(i,{font:e,data:r,filesPath:o})):((o=new s).set(i,{font:e,data:r,filesPath:[n]}),x.System.Drawing.Graphics.opentypeFonts.add(t,o),L.FontFamily.families.push(new L.FontFamily(t)))},R.addOpentypeFontFile=function(e,t,r,n){void 0===t&&(t=null),void 0===r&&(r=L.FontStyle.Regular),void 0===n&&(n=!0);var i=x.System.IO.File.getFile(e,!0),a;null!=i&&(a=x.ExternalLibrary.Opentype.parse(i.buffer),this.addOpentypeFont(a,t,i,e,r,n))},R.addOpentypeFontFileAsync=function(r,n,i,a,o){void 0===i&&(i=null),void 0===a&&(a=L.FontStyle.Regular),void 0===o&&(o=!0),x.System.IO.File.getFileAsync(function(e){var t;null!=e&&(t=x.ExternalLibrary.Opentype.parse(e.buffer),R.addOpentypeFont(t,i,e,n,a,o)),r()},n,!0)},R.getCustomFontsCss=function(){var t,e,r,n,i="";try{for(var a=__values(R.opentypeFonts.keys),o=a.next();!o.done;o=a.next())for(var s=o.value,u=R.opentypeFonts.get(s),l=0;l<u.count;l++){var m=u.keys[l],y=s;0<l&&(y=B.Enum.getName(L.FontStyle,m)+"_"+s),i+="@font-face {font-family: '"+y+"';src: ";try{for(var d=(r=void 0,__values(R.opentypeFonts.get(s).get(m).filesPath)),h=d.next(),c;!h.done;h=d.next()){i+='url("'+h.value+'"), '}}catch(e){r={error:e}}finally{try{h&&!h.done&&(n=d.return)&&n.call(d)}finally{if(r)throw r.error}}i=i.substr(0,i.length-2)+";}"}}catch(e){t={error:e}}finally{try{o&&!o.done&&(e=a.return)&&e.call(a)}finally{if(t)throw t.error}}return i},R.getCustomFontName=function(e,t){var r=R.opentypeFonts.get(e);if(r)for(var n=0;n<r.count;n++)if(t==r.keys[n])return 0==n?e:B.Enum.getName(L.FontStyle,r.keys[n])+"_"+e;return e},R.allowStyle=function(e,t){var e=R.opentypeFonts.get(e);if(e)return e.count<2;return!0},R.measureString=function(e,t,r,n,i,a,o){var s,u,l;if(void 0===r&&(r=null),void 0===n&&(n=!0),void 0===i&&(i=1),void 0===a&&(a=0),void 0===o&&(o=!1),B.StiString.isNullOrEmpty(e))return new L.Size(0,0);var m="pt";t.unit==L.GraphicsUnit.Pixel&&(m="px");var y=r&&0<r?r:null;if(n){var d,l=""+t.getHashCode()+i+y+o;if(d=R.measureHash[l]){var r=d[e];if(r)return this.rotate(r,a,!0)}}if(" "==e){var h=R.measureString("a a",t,null,!1,1),c=R.measureString("aa",t,null,!1,1),c=new L.Size(h.width-c.width,h.height),d;return n&&((d=R.measureHash[l])||(d={},R.measureHash[l]=d),d[e]=c),this.rotate(c,a,n)}var h=new L.Size(0,0),f=R.getOpentypeFont(t.fontFamily.name,t.style),p,M,m,t,o,d;if(null!=f){var b=0,g=0,c=.977,M=96*t.sizeInPoints/(72*f.unitsPerEm),v=M*c,S=f.ascender-f.descender,c=f.tables["hhea"],w;null!=c&&(S+=c["lineGap"]);var c=f.tables["os2"],p;null==c||S<(p=c["sTypoAscender"]-c["sTypoDescender"]+c["sTypoLineGap"])&&(S=p),S*=M;var N=e.split("\n");1<N.length&&""==N[N.length-1]&&N.pop();try{for(var I=__values(N),j=I.next();!j.done;j=I.next()){for(var T=j.value,k=0,_=f.stringToGlyphs(T),D=B.StiArray.create(Number,_.length),F=B.StiArray.create(Number,_.length),P=0,O=0;O<_.length;O++){var C=_[O],H=0;C.advanceWidth&&(H+=C.advanceWidth),O<_.length-1&&(H+=f.getKerningValue(C,_[O+1]),H+=C.leftSideBearing*this.measureBearingScale),k+=H*=v,y&&(D[O]=H,this.isWordWrapSymbol(T,O)&&0<O&&P++,F[O]=P)}if(y&&y<k){var A=0;while(A<_.length){k=0;var E=F[A];while(A<_.length&&k+D[A]<y)k+=D[A],A++;if(A<_.length)if(F[A]>E)if(F[A]!=F[A-1])while(A<_.length&&B.Char.isWhitespace(T,A)&&"\t"!=T.charAt(A))A++;else while(0<A&&F[A]==F[A-1])k-=D[--A];else k+=D[A],A++;b=Math.max(b,k),g+=S}}else b=Math.max(b,k),g+=S}}catch(e){s={error:e}}finally{try{j&&!j.done&&(u=I.return)&&u.call(I)}finally{if(s)throw s.error}}h=new L.Size(b,g)}else{x.System.NodeJs.useWebKit&&(p=void 0,null==R.measureDiv?((R.measureDiv=document.createElement("div")).style.flexDirection="row",R.measureDiv.style.visibility="hidden",(p=document.createElement("div")).style.wordWrap="break-word",p.style.display="inline-block",p.style.lineHeight="normal",document.body.appendChild(R.measureDiv),R.measureDiv.appendChild(p)):p=R.measureDiv.firstElementChild,M=t.unit==L.GraphicsUnit.Pixel?.98:1/.955,p.style.fontFamily=t.fontFamily.name,p.style.fontSize=(t.size*i).toString()+m,p.style.maxWidth=null!=y?(y*i/M).toString()+"px":null,p.style.fontWeight=t.bold?"bold":"normal",p.style.fontStyle=t.italic?"italic":"normal",t.underline||t.strikeout?(m="",t.underline&&(m="underline"),t.strikeout&&(m+=" line-through"),p.style.textDecoration=m):p.style.textDecoration="none",p.style.height="",p.style.width="",p.style.display="inline-block",p.style.overflow="",p.innerHTML=(o?e.split("<").join("<").split(">").join(">").split("\n").join("<br>"):e.split("\n").join("")).split("\r").join(""),h=new L.Size(p.scrollWidth/i*M,p.scrollHeight/i*M),n&&1<e.length&&(t=R.measureString(" ",t),h.width+=t.width+1,o||(o=h.height/t.height,h.height+=10<o?.25*t.height:t.height*(o/40))),null!=y&&h.width>y&&(h.width=y),p.style.height="0px",p.style.width="0px",p.style.display="none",p.style.overflow="hidden",p.innerHTML="")}return n&&((d=R.measureHash[l])||(d={},R.measureHash[l]=d),d[e]=h),this.rotate(h,a,n)},R.isWordWrapSymbol=function(e,t){var r=e.charCodeAt(t),n=e.charAt(t);if(12288<=r&&r<=55215||B.Char.isWhitespace(e,t)&&160!=r||"("==n||"{"==n)return!0;if(0<t){var t=e.charAt(t-1);if("!"==t||"%"==t||")"==t||"}"==t||"-"==t||"?"==t)return!0}return!1},R.measureChars=function(e,t,r){for(var n,i=.998,a=.977,o=32;o<t;o++){var s=e[o];if(32==s){var u=.55,l=new L.Size(0,0),m=new L.Size(0,1);while(l.height<m.height)l=R.measureString("a",r,null,!1,u-=.05),m=R.measureString("a a",r,null,!1,u);var y=R.measureString("aa",r,null,!1,u),n=new L.Size(m.width-y.width,0)}else n=1611<=s&&s<=1631?new L.Size(0,0):R.measureString(String.fromCharCode(s),r,null,!0,1);e[o]=n.width*i}var d=n.height;return n=R.measureString("1\n2\n3\n4\n5\n6\n7\n8\n9\n10",r,null,!0,1,0,!0),new L.Size(n.height/10*a,d*a)},R.rotate=function(e,t,r){if(0==t){if(r)return new L.Size(e.width,e.height);return e}if(t%180!=0&&t%90==0){if(r)return new L.Size(e.height,e.width);return e.swap()}while(360<t)t-=360;var n=Math.abs(t)*Math.PI/180,i=(90-Math.abs(t))*Math.PI/180,a=e.width*Math.sin(n),r=e.width*Math.cos(n),n=e.height*Math.sin(i),i=e.height*Math.cos(i);return new L.Size(Math.abs(i+r),Math.abs(n+a))},R.clearCache=function(){this.measureHash={},this.measureDiv&&this.measureDiv.remove(),this.measureDiv=null},R.measureBearingScale=.8,R.opentypeFonts=new s,R.measureHash={},r=R,L.Graphics=r}(Stimulsoft=Stimulsoft||{}),function(e){var t,e,r,n;e=t=e.System||(e.System={}),e=r=e.Drawing||(e.Drawing={}),(e=n=e.GraphicsUnit||(e.GraphicsUnit={}))[e["Pixel"]=2]="Pixel",e[e["Point"]=3]="Point"}(Stimulsoft=Stimulsoft||{}),function(r){var e,m,t,n,y,i;function a(){this.data={},this.isConverting=!1,this.aspectRatio=!0,this.multipleFactor=1,this.horAlignment=1,this.vertAlignment=0,this.imageRotation=0,this.stretch=!1,this.zoom=1}m=e=r.System||(r.System={}),n=t=m.Drawing||(m.Drawing={}),y=r.System.Drawing.Imaging.ImageFormat,Object.defineProperty(a.prototype,"imageFormat",{get:function(){return this._imageFormat},enumerable:!1,configurable:!0}),Object.defineProperty(a.prototype,"width",{get:function(){return this._width},enumerable:!1,configurable:!0}),Object.defineProperty(a.prototype,"height",{get:function(){return this._height},enumerable:!1,configurable:!0}),Object.defineProperty(a.prototype,"horizontalResolution",{get:function(){return this._horizontalResolution},enumerable:!1,configurable:!0}),Object.defineProperty(a.prototype,"verticalResolution",{get:function(){return this._verticalResolution},enumerable:!1,configurable:!0}),Object.defineProperty(a.prototype,"base64",{get:function(){if(null==this.imageFormat||null==this.data[this.imageFormat.toString()])return"";return this.data[this.imageFormat.toString()].base64},set:function(e){var t=e.match(",");null!=t&&(e=e.substr(t.index+1));var t=r.System.Convert.fromBase64String(e);this.setData(t,e)},enumerable:!1,configurable:!0}),Object.defineProperty(a.prototype,"bytes",{get:function(){if(null==this.imageFormat||null==this.data[this.imageFormat.toString()])return null;return this.data[this.imageFormat.toString()].bytes},set:function(e){var t;e&&(t=r.System.Convert.toBase64String(e),this.setData(e,t))},enumerable:!1,configurable:!0}),a.fromFile=function(e){if(m.StiString.isNullOrEmpty(e))return null;var t=new a;return t.bytes=r.System.IO.File.getFile(e,!0),t},a.fromBytes=function(e){var t=new a;return t.bytes=e,t},a.fromBase64=function(e){var t=new a;return t.base64=e,t},a.prototype.setData=function(e,t){this._imageFormat=y.getImageFormat(e),null!=this._imageFormat&&(this.data[this.imageFormat.toString()]={imageFormat:this.imageFormat,base64:"data:"+this.imageFormat.mimeType+";base64,"+t,bytes:e},this._width=this.imageFormat.getWidth(e,t),this._height=this.imageFormat.getHeight(e,t),this._horizontalResolution=this.imageFormat.getHorizontalResolution(e),this._verticalResolution=this.imageFormat.getVerticalResolution(e))},a.prototype.convert=function(n,i,e){var a=this;void 0===i&&(i=!1),void 0===e&&(e=null);var o=new m.StiPromise;try{var t=this.data[n.toString()],s,u,l;if(null!=t)return this._imageFormat=n,o.callTry(this),o;null==t&&(t=this.data[y.Png.toString()]),null==t&&(t=this.data[y.Bmp.toString()]),null==t&&(t=this.data[y.Jpeg.toString()]),null==t&&(t=this.data[y.Gif.toString()]),null==t&&(t=this.data[y.Svg.toString()]),null!=t?(this.isConverting=!0,(s=document.createElement("canvas")).width=this.width,s.height=this.height,t.imageFormat!=y.Svg||!e||this.width&&this.height||(s.width=e.width,s.height=e.height),(u=s.getContext("2d")).fillStyle="#fff",u.fillRect(0,0,s.width,s.height),(l=new window.Image).onload=function(){try{u.drawImage(l,0,0,s.width,s.height);var e=s.toDataURL(n.mimeType);i&&(a.imageData=u.getImageData(0,0,s.width,s.height).data);var t=a._horizontalResolution,r=a._verticalResolution;a.base64=e,a._horizontalResolution=t,a._verticalResolution=r,a.isConverting=!1,o.callTry(a)}catch(e){o.callCatch(e.message)}},l.src=t.base64):o.callCatch("No Image")}catch(e){return o.callCatch(e.message),o}return o},a.prototype.tryConvertSync=function(e){try{var t;if(null!=this.data[e.toString()])return this._imageFormat=e,!0}catch(e){}return!1},a.prototype.dispose=function(){this.data=null,this._imageFormat=null,this._width=NaN,this._height=NaN},a.prototype.clone=function(){var e=new a;return e.data=this.data,e._imageFormat=this._imageFormat,e._width=this._width,e._height=this._height,e._horizontalResolution=this._horizontalResolution,e._verticalResolution=this._verticalResolution,e.isConverting=this.isConverting,e},i=a,n.Image=i}(Stimulsoft=Stimulsoft||{}),function(e){var t,e,r,n;e=t=e.System||(e.System={}),e=r=e.Drawing||(e.Drawing={}),(e=n=e.Orientation||(e.Orientation={}))[e["Horizontal"]=0]="Horizontal",e[e["Vertical"]=1]="Vertical"}(Stimulsoft=Stimulsoft||{}),function(e){var t,e,r,n,i;function a(e){this.color=e}e=t=e.System||(e.System={}),(n=r=e.Drawing||(e.Drawing={})).Pen=a}(Stimulsoft=Stimulsoft||{}),function(e){var t,r,n,i,e;function a(e,t){void 0===e&&(e=0),void 0===t&&(t=0),this.x=e,this.y=t}r=t=e.System||(e.System={}),i=n=r.Drawing||(r.Drawing={}),Object.defineProperty(a.prototype,"isEmpty",{get:function(){return 0==this.x&&0==this.y},enumerable:!1,configurable:!0}),Object.defineProperty(a,"empty",{get:function(){return new a},enumerable:!1,configurable:!0}),a.prototype.toString=function(){return r.StiString.format("{{X={0}, Y={1}}}",this.x,this.y)},a.prototype.equals=function(e){if(e.x==this.x&&e.y==this.y)return!0;return!1},e=a,i.Point=e}(Stimulsoft=Stimulsoft||{}),function(e){var t,e,r,n;function o(e,t,r,n){void 0===e&&(e=0),void 0===t&&(t=0),void 0===r&&(r=0),void 0===n&&(n=0),this.x=e,this.y=t,this.width=r,this.height=n}e=t=e.System||(e.System={}),n=r=e.Drawing||(e.Drawing={}),o.prototype.clone=function(){return this.stimulsoft.memberwiseClone()},Object.defineProperty(o,"empty",{get:function(){return new o(0,0,0,0)},enumerable:!1,configurable:!0}),o.union=function(e,t){var r=Math.min(e.x,t.x),n=Math.max(e.x+e.width,t.x+t.width),i=Math.min(e.y,t.y),a;return new o(r,i,n-r,Math.max(e.y+e.height,t.y+t.height)-i)},o.prototype.inflate=function(e,t){return this.x-=e,this.y-=t,this.width+=2*e,this.height+=2*t,this},o.prototype.normalize=function(){var e=this.clone();return e.width<0&&(e.x+=e.width,e.width=-e.width),e.height<0&&(e.y+=e.height,e.height=-e.height),e},o.prototype.multiply=function(e){return new o(this.x*e,this.y*e,this.width*e,this.height*e)},o.prototype.offsetRect=function(e){return new o(this.x-e.x,this.y-e.y,this.width+e.width,this.height+e.height)},o.prototype.intersectsWith=function(e){var t=Math.round2(e.x,2),r=Math.round2(e.y,2),n=Math.round2(e.right,2),i=Math.round2(e.bottom,2),a=Math.round2(this.x,2),o=Math.round2(this.y,2),s=Math.round2(this.right,2),e=Math.round2(this.bottom,2);return t<s&&r<e&&a<n&&o<i},o.prototype.alignToGrid=function(e,t){return t?new o(Math.round(this.x/e)*e,Math.round(this.y/e)*e,Math.round(this.width/e)*e,Math.round(this.height/e)*e):new o(this.left,this.top,this.width,this.height)},o.prototype.fitToRectangle=function(e){if(this.isEmpty)return e;if(e.isEmpty)return this;return this.left>e.left&&(this.width+=this.left-e.left,this.x=e.left),this.top>e.top&&(this.height+=this.top-e.top,this.y=e.top),this.right<e.right&&(this.width+=e.right-this.right),this.bottom<e.bottom&&(this.height+=e.bottom-this.bottom),this},Object.defineProperty(o.prototype,"isEmpty",{get:function(){return 0==this.width&&0==this.height&&0==this.x&&0==this.y},enumerable:!1,configurable:!0}),Object.defineProperty(o.prototype,"isEmptyF",{get:function(){return 0==this.width&&0==this.height},enumerable:!1,configurable:!0}),o.prototype.contains=function(e,t){if(this.x<=e&&e<this.x+this.width&&this.y<=t)return t<this.y+this.height;return!1},o.convertFromXml=function(e){var e=e.split(",");return new o(e[0].stimulsoft.toNumber(),e[1].stimulsoft.toNumber(),e[2].stimulsoft.toNumber(),e[3].stimulsoft.toNumber())},Object.defineProperty(o.prototype,"left",{get:function(){return this.x},set:function(e){this.width+=this.x-e,this.x=e},enumerable:!1,configurable:!0}),Object.defineProperty(o.prototype,"top",{get:function(){return this.y},set:function(e){this.height+=this.y-e,this.y=e},enumerable:!1,configurable:!0}),Object.defineProperty(o.prototype,"right",{get:function(){return this.x+this.width},set:function(e){this.width=e-this.x},enumerable:!1,configurable:!0}),Object.defineProperty(o.prototype,"bottom",{get:function(){return this.y+this.height},set:function(e){this.height=e-this.y},enumerable:!1,configurable:!0}),Object.defineProperty(o.prototype,"location",{get:function(){return new n.Point(this.x,this.y)},set:function(e){this.x=e.x,this.y=e.y},enumerable:!1,configurable:!0}),Object.defineProperty(o.prototype,"size",{get:function(){return new n.Size(this.width,this.height)},set:function(e){this.width=e.width,this.height=e.height},enumerable:!1,configurable:!0}),e=o,n.Rectangle=e}(Stimulsoft=Stimulsoft||{}),function(e){var t,r,n,e;function i(e,t){this.width=0,this.height=0,this.width=e,this.height=t}r=t=e.System||(e.System={}),e=n=r.Drawing||(r.Drawing={}),Object.defineProperty(i,"empty",{get:function(){return new i(0,0)},enumerable:!1,configurable:!0}),Object.defineProperty(i.prototype,"isEmpty",{get:function(){return 0==this.width&&0==this.height},enumerable:!1,configurable:!0}),i.prototype.isDefault=function(){return 0==this.width&&0==this.height},i.prototype.swap=function(){var e=this.height;return this.height=this.width,this.width=e,this},i.prototype.round=function(e){return void 0===e&&(e=0),this.width=Math.round2(this.width,e),this.height=Math.round2(this.height,e),this},i.convertFromXml=function(e){var e=e.split(",");return new i(e[0].stimulsoft.toNumber(),e[1].stimulsoft.toNumber())},r=i,e.Size=r}(Stimulsoft=Stimulsoft||{}),function(e){var t,r,n,e,i;function a(e){var t=i.call(this)||this;return t.color=e,t}r=t=e.System||(e.System={}),e=n=r.Drawing||(r.Drawing={}),i=e.Brush,__extends(a,i),r=a,e.SolidBrush=r}(Stimulsoft=Stimulsoft||{}),function(e){var t,e,r,n;e=t=e.System||(e.System={}),e=r=e.Drawing||(e.Drawing={}),(e=n=e.StringAlignment||(e.StringAlignment={}))[e["Near"]=0]="Near",e[e["Center"]=1]="Center",e[e["Far"]=2]="Far"}(Stimulsoft=Stimulsoft||{}),function(e){var t,e,r,n,i;function a(){this.lineAlignment=n.StringAlignment.Near}e=t=e.System||(e.System={}),(n=r=e.Drawing||(e.Drawing={})).StringFormat=a}(Stimulsoft=Stimulsoft||{}),function(e){var t,e,r,n;e=t=e.System||(e.System={}),e=r=e.Drawing||(e.Drawing={}),(e=n=e.StringFormatFlags||(e.StringFormatFlags={}))[e["DirectionRightToLeft"]=1]="DirectionRightToLeft",e[e["DirectionVertical"]=2]="DirectionVertical",e[e["FitBlackBox"]=4]="FitBlackBox",e[e["DisplayFormatControl"]=32]="DisplayFormatControl",e[e["NoFontFallback"]=1024]="NoFontFallback",e[e["MeasureTrailingSpaces"]=2048]="MeasureTrailingSpaces",e[e["NoWrap"]=4096]="NoWrap",e[e["LineLimit"]=8192]="LineLimit",e[e["NoClip"]=16384]="NoClip"}(Stimulsoft=Stimulsoft||{}),function(e){var t,e,r,n;e=t=e.System||(e.System={}),e=r=e.Drawing||(e.Drawing={}),(e=n=e.StringTrimming||(e.StringTrimming={}))[e["None"]=0]="None",e[e["Character"]=1]="Character",e[e["Word"]=2]="Word",e[e["EllipsisCharacter"]=3]="EllipsisCharacter",e[e["EllipsisWord"]=4]="EllipsisWord",e[e["EllipsisPath"]=5]="EllipsisPath"}(Stimulsoft=Stimulsoft||{}),function(e){var t,a,r,o,e;function n(){}a=t=e.System||(e.System={}),o=r=a.Globalization||(a.Globalization={}),n.getWeekOfYear=function(e,t,r){switch(void 0===t&&(t=o.CalendarWeekRule.FirstDay),void 0===r&&(r=a.DayOfWeek.Monday),t){case o.CalendarWeekRule.FirstDay:return this.getFirstDayWeekOfYear(e,r);case o.CalendarWeekRule.FirstFullWeek:return this.getWeekOfYearFullDays(e,r,7,365);case o.CalendarWeekRule.FirstFourDayWeek:return this.getWeekOfYearFullDays(e,r,4,365)}return 0},n.getFirstDayWeekOfYear=function(e,t){var r=e.dayOfYear-1,n,t=(e.dayOfWeek-r%7-t+14)%7;return Math.trunc((r+t)/7)+1},n.getWeekOfYearFullDays=function(e,t,r,n){var i=e.dayOfYear-1,a=e.dayOfWeek-i%7,o=(t-a+14)%7;0!=o&&r<=o&&(o-=7);var s=i-o;if(0<=s)return Math.trunc(s/7)+1;var e=e.year,i;return 0!=(o=(t-(a-=(i=e<=1?n:this.getDaysInYear(e-1))%7)+14)%7)&&r<=o&&(o-=7),s=i-o,Math.trunc(s/7)+1},n.getDaysInYear=function(e){return e%4!=0||e%100==0&&e%400!=0?365:366},n.getWeekOfMonth=function(e,t,r){void 0===t&&(t=o.CalendarWeekRule.FirstDay),void 0===r&&(r=a.DayOfWeek.Monday);var n=this.getWeekOfYear(new a.DateTime(e.year,e.month,1,0,0,0,0),t,r),i=this.getWeekOfYear(e,t,r);return 1==e.month&&10<n&&(n=n<=i?this.getWeekOfYear(new a.DateTime(e.year-1,12,1,0,0,0,0),t,r):1),i-n+1},e=n,o.Calendar=e}(Stimulsoft=Stimulsoft||{}),function(e){var t,e,r,n;e=t=e.System||(e.System={}),e=r=e.Globalization||(e.Globalization={}),(e=n=e.CalendarWeekRule||(e.CalendarWeekRule={}))[e["FirstDay"]=0]="FirstDay",e[e["FirstFullWeek"]=1]="FirstFullWeek",e[e["FirstFourDayWeek"]=2]="FirstFourDayWeek"}(Stimulsoft=Stimulsoft||{}),function(e){var t,e,r,n,i;function a(e){this.name="",this.nativeName="",this.threeLetterISORegionName="",this.threeLetterWindowsRegionName="",this.twoLetterISORegionName="",this.name=e,this.nativeName=e,this.threeLetterISORegionName=e,this.threeLetterWindowsRegionName=e,this.twoLetterISORegionName=e}e=t=e.System||(e.System={}),(n=r=e.Globalization||(e.Globalization={})).RegionInfo=a}(Stimulsoft=Stimulsoft||{}),function(e){var t,e,r,n;e=t=e.System||(e.System={}),e=r=e.IO||(e.IO={}),(e=n=e.SeekOrigin||(e.SeekOrigin={}))[e["Begin"]=0]="Begin",e[e["Current"]=1]="Current",e[e["End"]=2]="End"}(Stimulsoft=Stimulsoft||{}),function(e){var t,e,r,i;function n(){}e=t=e.System||(e.System={}),i=r=e.IO||(e.IO={}),n.getFile=function(e,t,r,n){return void 0===t&&(t=!1),void 0===r&&(r=""),void 0===n&&(n=null),i.Http.getFile(e,t,r,n)},n.getFileAsync=function(e,t,r,n){void 0===r&&(r=!1),void 0===n&&(n=""),i.Http.getFileAsync(e,t,r,n)},n.saveFile=function(e,t){},n.getFilesNames=function(e){return[]},e=n,i.File=e}(Stimulsoft=Stimulsoft||{}),function(M){var e,b,t,r,n;function i(){}b=e=M.System||(M.System={}),r=t=b.IO||(b.IO={}),i.getFile=function(t,e,r,n){var i,a;void 0===e&&(e=!1),void 0===r&&(r=""),void 0===n&&(n=null);try{var o=new XMLHttpRequest;try{if(o.open("get",t,!1),b.StiString.isNullOrEmpty(r)||o.setRequestHeader("Content-Type",r),n)try{for(var s=__values(n),u=s.next();!u.done;u=s.next()){var l=u.value;o.setRequestHeader(l.key,l.value)}}catch(e){i={error:e}}finally{try{u&&!u.done&&(a=s.return)&&a.call(s)}finally{if(i)throw i.error}}}catch(e){M.System.StiError.showError('File "'+t+'" not found',!0)}var m=!1;if(e){try{m=!(o.responseType="arraybuffer")}catch(e){m=!1}m||("overrideMimeType"in o?o.overrideMimeType("text/plain; charset=x-user-defined"):o.setRequestHeader("Accept-Charset","x-user-defined"))}if(o.send(),200==o.status){if(e){var y=o.response,d;if(m)return new Uint8Array(y,0);for(var h=new ArrayBuffer(y.length),c=new Uint8Array(h),f=0,p=y.length;f<p;f++)c[f]=255&y.charCodeAt(f);return y=null,c}return o.responseText}}catch(e){}},i.getFileAsync=function(i,t,a,e){void 0===a&&(a=!1),void 0===e&&(e="");try{var o=new XMLHttpRequest;try{o.open("get",t,!0),b.StiString.isNullOrEmpty(e)||o.setRequestHeader("Content-Type",e)}catch(e){M.System.StiError.showError('File "'+t+'" not found',!0),i(null)}var s=!1;if(a){try{o.responseType="arraybuffer",s=!0}catch(e){s=!1}s||("overrideMimeType"in o?o.overrideMimeType("text/plain; charset=x-user-defined"):o.setRequestHeader("Accept-Charset","x-user-defined"))}o.onreadystatechange=function(){if(o.readyState!=XMLHttpRequest.DONE)return;if(200==o.status){if(a){if(s){var e=new Uint8Array(o.response,0);return void i(e)}for(var e=new ArrayBuffer(o.response.length),t=new Uint8Array(e),r=0,n=o.response.length;r<n;r++)t[r]=255&o.response.charCodeAt(r);return void i(t)}return void i(o.responseText)}},o.send()}catch(e){i(null)}},n=i,r.Http=n}(Stimulsoft=Stimulsoft||{}),function(e){var t,i,r,n,e;function a(e){void 0===e&&(e=null),this._origin=0,this._position=0,this._buffer=[],null!=e&&this._buffer.stimulsoft.addRange(e)}i=t=e.System||(e.System={}),n=r=i.IO||(i.IO={}),Object.defineProperty(a.prototype,"position",{get:function(){return this._position},enumerable:!1,configurable:!0}),Object.defineProperty(a.prototype,"length",{get:function(){return this._buffer.length-this._origin},enumerable:!1,configurable:!0}),Object.defineProperty(a.prototype,"canSeek",{get:function(){return!0},enumerable:!1,configurable:!0}),Object.defineProperty(a.prototype,"canWrite",{get:function(){return!0},enumerable:!1,configurable:!0}),a.prototype.setLength=function(e){this._buffer=this._buffer.slice(0,e)},a.prototype.toArray=function(){return this._buffer},a.prototype.writeTo=function(e){e.write(this._buffer,0,null!=this._buffer?this._buffer.length:0)},a.prototype.writeByte=function(e){this._buffer[this._position++]=e},a.prototype.write=function(e,t,r){void 0===t&&(t=0),void 0===r&&(r=e.length);for(var n=0;n<r;n++)this._buffer[this._position++]=e[t+n]},a.prototype.writeBytes=function(e,t,r){void 0===t&&(t=0),void 0===r&&(r=e.length);for(var n=0;n<r;n++)this._buffer[this._position++]=e[t+n]},a.prototype.writeLine1=function(e){void 0===e&&(e=null);for(var t=[],r=1;r<arguments.length;r++)t[r-1]=arguments[r];var n=null;i.StiString.isNullOrEmpty(e)||(n=i.StiString.format1(e,t)),this.writeString(n,!0)},a.prototype.writeLine=function(e){void 0===e&&(e=null),this.writeString(e,!0)},a.prototype.writeString=function(e,t){if(void 0===t&&(t=!1),null!=e)for(var r=0;r<e.length;r++)this._buffer[this._position++]=255&e.charCodeAt(r);t&&(this._buffer[this._position++]=13,this._buffer[this._position++]=10)},a.prototype.read=function(e,t,r){void 0===t&&(t=0),void 0===r&&(r=e.length);for(var n=t;n<t+r;n++){if(this._position+1>this.length)return n-t;e[n]=this._buffer[this._position++]}return r},a.prototype.seek=function(e,t){if(a.memStreamMaxLength<e)throw new Error("ArgumentOutOfRange_StreamLength");var r;switch(t){case n.SeekOrigin.Begin:if(r=this._origin+e,e<0||r<this._origin)throw new Error("IO.IO_SeekBeforeBegin");this._position=r;break;case n.SeekOrigin.Current:if(r=this._position+e,this._position+e<this._origin||r<this._origin)throw new Error("IO.IO_SeekBeforeBegin");this._position=r;break;case n.SeekOrigin.End:if(r=this.length+e,this.length+e<this._origin||r<this._origin)throw new Error("IO.IO_SeekBeforeBegin");this._position=r;break;default:throw new Error("Argument_InvalidSeekOrigin")}return this._position},a.prototype.flush=function(){},a.prototype.close=function(){this._position=0,this._buffer=null},a.prototype.copyTo=function(e){for(var t=0;t<this.length;t++)e._buffer[t]=this._buffer[t]},a.memStreamMaxLength=Number.MAX_VALUE,e=a,n.MemoryStream=e}(Stimulsoft=Stimulsoft||{}),function(e){var t,r,n,e;function i(){}r=t=e.System||(e.System={}),e=n=r.IO||(r.IO={}),i.Combine=function(e,t){if(!e)return t;if(!t)return e;return e.stimulsoft.trimEnd("\\"),t.stimulsoft.trimStart("\\"),e+"\\"+t},i.getFileNameWithoutExtension=function(e){var t=e.lastIndexOf(".");return 0<t&&(e=e.substr(0,t)),0<(t=e.lastIndexOf("/"))&&(e=e.substring(t+1)),0<(t=e.lastIndexOf("\\"))&&(e=e.substring(t+1)),e},i.getExtension=function(e){var t=e.lastIndexOf(".");if(0<t)return e.substr(t);return""},i.getSep=function(){return"\\"},r=i,e.Path=r}(Stimulsoft=Stimulsoft||{}),function(e){var t,r,n,i,e;function a(e,t){void 0===t&&(t=null),this.stream=e,this.stream.seek(0,i.SeekOrigin.Begin),this.encoding=t}r=t=e.System||(e.System={}),i=n=r.IO||(r.IO={}),a.prototype.read=function(){var e=[],t;if(0<this.stream.read(e,0,1))return String.fromCharCode(e[0]);return null},a.prototype.readLine=function(){var e=this.readLineInternal();if(null!=this.encoding&&!r.StiString.isNullOrEmpty(e))return this.encoding.getString(e.stimulsoft.toBytesArray());return e},a.prototype.readLineInternal=function(){var e,t="",r=!1;while(null!=(e=this.read())){if(r){if("\n"==e)return t;return this.stream.seek(-1,i.SeekOrigin.Current),t}if("\r"==e)r=!0;else{if("\n"==e)return t;t+=e}}if(0<t.length)return t;return null},e=a,i.StreamReader=e}(Stimulsoft=Stimulsoft||{}),function(e){var t,r,n,e;function s(e,t){void 0===t&&(t=null),this._webName="",this._encodingName=e,this._webName=null==t||""==t?e:t}r=t=e.System||(e.System={}),e=n=r.Text||(r.Text={}),Object.defineProperty(s.prototype,"webName",{get:function(){return this._webName},enumerable:!1,configurable:!0}),Object.defineProperty(s.prototype,"encodingName",{get:function(){return this._encodingName},enumerable:!1,configurable:!0}),s.prototype.getBytes=function(e){if("ASCII"==this._encodingName)return e.stimulsoft.toBytesArray();return e.stimulsoft.toUnicodeString().stimulsoft.toBytesArray()},s.prototype.getString=function(e){var t,r;if("Windows-1251"==this._encodingName)return s.fromCodePageToUnicode(1251,e);var n="";try{for(var i=__values(e),a=i.next();!a.done;a=i.next()){var o=a.value;n+=String.fromCharCode(o)}}catch(e){t={error:e}}finally{try{a&&!a.done&&(r=i.return)&&r.call(i)}finally{if(t)throw t.error}}if("ASCII"==this._encodingName)return n;return 65279==(n=n.stimulsoft.fromUnicodeString()).charCodeAt(0)&&(n=n.substring(1)),n},s.getEncoding=function(e){switch(e){case s.CodePageDefault:return s.Default;case s.CodePageUnicode:return s.Unicode;case s.CodePageBigEndian:return s.BigEndianUnicode;case s.CodePageUTF7:return s.UTF7;case s.CodePageUTF8:return s.UTF8;case s.CodePageWindows1251:return s.Windows1251;case s.CodePageASCII:return s.ASCII;default:return s.Default}},s.fromCodePageToUnicode=function(e,t){var r,n,i=null;1251==e&&(i=this._windows_1251);var a="";try{for(var o=__values(t),s=o.next();!s.done;s=o.next()){var u=s.value;a+=String.fromCharCode(u<128?u:i[u-128])}}catch(e){r={error:e}}finally{try{s&&!s.done&&(n=o.return)&&n.call(o)}finally{if(r)throw r.error}}return a},s.CodePageDefault=0,s.CodePageNoOEM=1,s.CodePageNoMac=2,s.CodePageNoThread=3,s.CodePageNoSymbol=42,s.CodePageUnicode=1200,s.CodePageBigEndian=1201,s.CodePageWindows1251=1251,s.CodePageWindows1252=1252,s.CodePageMacGB2312=10008,s.CodePageGB2312=20936,s.CodePageMacKorean=10003,s.CodePageDLLKorean=20949,s.ISO2022JP=50220,s.ISO2022JPESC=50221,s.ISO2022JPSISO=50222,s.ISOKorean=50225,s.ISOSimplifiedCN=50227,s.EUCJP=51932,s.ChineseHZ=52936,s.DuplicateEUCCN=51936,s.EUCCN=936,s.EUCKR=51949,s.CodePageASCII=20127,s.ISO_8859_1=28591,s.ISCIIAssemese=57006,s.ISCIIBengali=57003,s.ISCIIDevanagari=57002,s.ISCIIGujarathi=57010,s.ISCIIKannada=57008,s.ISCIIMalayalam=57009,s.ISCIIOriya=57007,s.ISCIIPanjabi=57011,s.ISCIITamil=57004,s.ISCIITelugu=57005,s.GB18030=54936,s.ISO_8859_8I=38598,s.ISO_8859_8_Visual=28598,s.ENC50229=50229,s.CodePageUTF7=65e3,s.CodePageUTF8=65001,s.CodePageUTF32=12e3,s.CodePageUTF32BE=12001,s.ASCII=new s("ASCII","US-ASCII"),s.BigEndianUnicode=new s("BigEndianUnicode"),s.Default=new s("Unicode","utf-8"),s.Unicode=new s("Unicode","utf-8"),s.UTF32=new s("UTF32","utf-32"),s.UTF7=new s("UTF7","utf-7"),s.UTF8=new s("UTF8","utf-8"),s.Windows1251=new s("Windows-1251","windows-1251"),s._windows_1251=[1026,1027,8218,1107,8222,8230,8224,8225,8364,8240,1033,8249,1034,1036,1035,1039,1106,8216,8217,8220,8221,8226,8211,8212,32,8482,1113,8250,1114,1116,1115,1119,160,1038,1118,1032,164,1168,166,167,1025,169,1028,171,172,173,174,1031,176,177,1030,1110,1169,181,182,183,1105,8470,1108,187,1112,1029,1109,1111,1040,1041,1042,1043,1044,1045,1046,1047,1048,1049,1050,1051,1052,1053,1054,1055,1056,1057,1058,1059,1060,1061,1062,1063,1064,1065,1066,1067,1068,1069,1070,1071,1072,1073,1074,1075,1076,1077,1078,1079,1080,1081,1082,1083,1084,1085,1086,1087,1088,1089,1090,1091,1092,1093,1094,1095,1096,1097,1098,1099,1100,1101,1102,1103],r=s,e.Encoding=r}(Stimulsoft=Stimulsoft||{}),function(e){var t,n,r,i,e;function a(e){void 0===e&&(e=null),this.isNew=!0,this.partArray=null!=e?[e]:[],this.isNew=!0}n=t=e.System||(e.System={}),i=r=n.Text||(n.Text={}),a.prototype.appendSingle=function(e){null!=e&&(e=e.toString(),this.partArray.push(e),this.isNew=!0)},a.prototype.appendThese=function(e){var t,r;try{for(var n=__values(e),i=n.next();!i.done;i=n.next()){var a=i.value;this.appendSingle(a)}}catch(e){t={error:e}}finally{try{i&&!i.done&&(r=n.return)&&r.call(n)}finally{if(t)throw t.error}}return this},a.prototype.append=function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];return this.appendThese(e),this},a.prototype.appendCount=function(e,t){if(void 0===t&&(t=1),null!=e){e=e.toString();for(var r=0;r<t;r++)this.partArray.push(e);this.isNew=!0}return this},a.prototype.appendLine=function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];return this.appendLines(e),this},a.prototype.appendLines=function(e){var t,r;try{for(var n=__values(e),i=n.next();!i.done;i=n.next()){var a=i.value;null!=a&&(this.appendSingle(a),this.partArray.push("\r\n"),this.isNew=!0)}}catch(e){t={error:e}}finally{try{i&&!i.done&&(r=n.return)&&r.call(n)}finally{if(t)throw t.error}}return this},a.prototype.appendFormat=function(e){for(var t=[],r=1;r<arguments.length;r++)t[r-1]=arguments[r];return this.append(n.StiString.format1(e,t))},a.prototype.insert=function(e,t,r){void 0===r&&(r=1);for(var n=e;n<e+r;n++)this.partArray.splice(n,0,t),this.isNew=!0;return this},a.prototype.remove=function(e,t){for(var r=e;r<e+t;r++)this.partArray.stimulsoft.removeAt(e),this.isNew=!0;return this},Object.defineProperty(a.prototype,"isEmpty",{get:function(){return 0==this.partArray.length},enumerable:!1,configurable:!0}),Object.defineProperty(a.prototype,"length",{get:function(){return this.toString(),this.latest.length},set:function(e){var t=this.length,r;if(t<e){for(var n="",i=0;i<e-t;i++)n+=" ";this.partArray.push(n)}else{e<t&&(r=this.toString(),this.clear(),this.append(r.substr(0,e)))}},enumerable:!1,configurable:!0}),a.prototype.toString=function(){return this.isNew&&(this.latest=this.partArray.join("")),this.isNew=!1,this.latest},a.prototype.join=function(e){return this.partArray.join(e)},a.prototype.clear=function(){this.partArray.length=0,this.isNew=!0},a.prototype.dispose=function(){this.clear()},a.prototype.charAt=function(e){return this.toString().charAt(e)},a.prototype.charCodeAt=function(e){return this.toString().charCodeAt(e)},a.prototype.setByIndex=function(e,t){var r=this.toString(),r=(0<e?r.substring(0,e):"")+t+(e+1<r.length?r.substring(e+1):"");this.clear(),this.append(r)},a.prototype.formatError=function(e){throw void 0===e&&(e=""),new Error("Format_InvalidString"+e)},a.prototype.replace=function(e,t){return this.isNew=!0,this.partArray=[this.toString().split(e).join(t)],this},e=a,i.StringBuilder=e}(Stimulsoft=Stimulsoft||{}),function(e){var t,r,n,i,a;function o(){this.sb=new a}r=t=e.System||(e.System={}),i=n=r.IO||(r.IO={}),a=e.System.Text.StringBuilder,o.prototype.write=function(e){this.sb.append(e)},o.prototype.writeLine=function(e){void 0===e&&(e=null),null==e?this.sb.appendLine(""):this.sb.appendLine(e)},o.prototype.close=function(){},o.prototype.flush=function(){},o.prototype.getStringBuilder=function(){return this.sb},r=o,i.TextWriter=r}(Stimulsoft=Stimulsoft||{}),function(e){var t,r,n,i,a,o;function s(e,t){void 0===t&&(t=a.UTF8);var r=o.call(this)||this;return r.cn="\r\n".stimulsoft.toBytesArray(),r.stream=e,r.encoding=t,r}r=t=e.System||(e.System={}),i=n=r.IO||(r.IO={}),a=e.System.Text.Encoding,r=e.System.IO.TextWriter,__extends(s,o=r),s.prototype.writeLine=function(e){this.write(e),this.stream.write(this.cn)},s.prototype.write=function(e){null!=e&&this.stream.write(this.encoding.getBytes(e))},s.prototype.close=function(){this.stream.close()},s.prototype.flush=function(){this.stream.flush()},r=s,i.StreamWriter=r}(Stimulsoft=Stimulsoft||{}),function(n){var e,t,r,i,a;function o(){}t=e=n.System||(n.System={}),i=r=t.Text||(t.Text={}),a=n.System.Drawing.Color,o.convertStringToColorArray=function(e){var t,r,n=[];if(0<e.length)try{for(var i=__values(e.split(",")),a=i.next();!a.done;a=i.next()){var o=a.value;n.push(this.convertStringToColor(o))}}catch(e){t={error:e}}finally{try{a&&!a.done&&(r=i.return)&&r.call(i)}finally{if(t)throw t.error}}return n},o.convertStringToColor=function(e){if(0==e.length)return a.transparent;if(-1!=e.indexOf(";")){var t=(e=e.trim()).split(";"),r;try{if(4==t.length){if(0==(r=a.fromArgb(t[0].stimulsoft.toNumber(),t[1].stimulsoft.toNumber(),t[2].stimulsoft.toNumber(),t[3].stimulsoft.toNumber())).r&&0==r.g&&0==r.b&&0==r.a)return a.transparent;return r}return 3==t.length?a.fromArgb(255,t[0].stimulsoft.toNumber(),t[1].stimulsoft.toNumber(),t[2].stimulsoft.toNumber()):a.empty}catch(e){return n.System.StiError.showError(e,!1),a.empty}}else if(-1!=e.indexOf("[")){var t=(e=e.trim().substring(1,e.length-1).replace("]","")).split(":"),r,r;try{if(4==t.length){if(0==(r=a.fromArgb(t[0].stimulsoft.toNumber(),t[1].stimulsoft.toNumber(),t[2].stimulsoft.toNumber(),t[3].stimulsoft.toNumber())).r&&0==r.g&&0==r.b&&0==r.a)return a.transparent;return r}if(3==t.length)return r=a.fromArgb(255,t[0].stimulsoft.toNumber(),t[1].stimulsoft.toNumber(),t[2].stimulsoft.toNumber());return a.empty}catch(e){return n.System.StiError.showError(e,!1),a.empty}}else{if(-1==e.indexOf(", "))return this.getByName(e);var t=(e=e.trim()).split(", ");try{return 4==t.length?a.fromArgb(t[0].stimulsoft.toNumber(),t[1].stimulsoft.toNumber(),t[2].stimulsoft.toNumber(),t[3].stimulsoft.toNumber()):3==t.length?a.fromArgb(255,t[0].stimulsoft.toNumber(),t[1].stimulsoft.toNumber(),t[2].stimulsoft.toNumber()):a.empty}catch(e){return n.System.StiError.showError(e,!1),a.empty}}},o.getByName=function(e){switch(e.trim()){case"AliceBlue":case"Alice Blue":return a.aliceBlue;case"AntiqueWhite":case"Antique White":return a.antiqueWhite;case"Aqua":return a.aqua;case"Aquamarine":return a.aquamarine;case"Azure":return a.azure;case"Beige":return a.beige;case"Bisque":return a.bisque;case"Black":return a.black;case"BlanchedAlmond":case"Blanched Almond":return a.blanchedAlmond;case"Blue":return a.blue;case"BlueViolet":case"Blue Violet":return a.blueViolet;case"Brown":return a.brown;case"BurlyWood":case"Burly Wood":return a.burlyWood;case"CadetBlue":case"Cadet Blue":return a.cadetBlue;case"Chartreuse":return a.chartreuse;case"Chocolate":return a.chocolate;case"Coral":return a.coral;case"CornflowerBlue":case"Cornflower Blue":return a.cornflowerBlue;case"Cornsilk":return a.cornsilk;case"Crimson":return a.crimson;case"Cyan":return a.cyan;case"DarkBlue":case"Dark Blue":return a.darkBlue;case"DarkCyan":case"Dark Cyan":return a.darkCyan;case"DarkGoldenrod":case"Dark Goldenrod":return a.darkGoldenrod;case"DarkGray":case"Dark Gray":return a.darkGray;case"DarkGreen":case"Dark Green":return a.darkGreen;case"DarkKhaki":case"Dark Khaki":return a.darkKhaki;case"DarkMagenta":case"Dark Magenta":return a.darkMagenta;case"DarkOliveGreen":case"Dark Olive Green":return a.darkOliveGreen;case"DarkOrange":case"Dark Orange":return a.darkOrange;case"DarkOrchid":case"Dark Orchid":return a.darkOrchid;case"DarkRed":case"Dark Red":return a.darkRed;case"DarkSalmon":case"Dark Salmon":return a.darkSalmon;case"DarkSeaGreen":case"Dark Sea Green":return a.darkSeaGreen;case"DarkSlateBlue":case"Dark Slate Blue":return a.darkSlateBlue;case"DarkSlateGray":case"Dark Slate Gray":return a.darkSlateGray;case"DarkTurquoise":case"Dark Turquoise":return a.darkTurquoise;case"DarkViolet":case"Dark Violet":return a.darkViolet;case"DeepPink":case"Deep Pink":return a.deepPink;case"DeepSkyBlue":case"Deep Sky Blue":return a.deepSkyBlue;case"DimGray":case"Dim Gray":return a.dimGray;case"DodgerBlue":case"Dodger Blue":return a.dodgerBlue;case"Firebrick":return a.firebrick;case"FloralWhite":case"Floral White":return a.floralWhite;case"ForestGreen":case"Forest Green":return a.forestGreen;case"Fuchsia":return a.fuchsia;case"Gainsboro":return a.gainsboro;case"GhostWhite":case"Ghost White":return a.ghostWhite;case"Gold":
return a.gold;case"Goldenrod":return a.goldenrod;case"Gray":return a.gray;case"Green":return a.green;case"GreenYellow":case"Green Yellow":return a.greenYellow;case"Honeydew":return a.honeydew;case"HotPink":case"Hot Pink":return a.hotPink;case"IndianRed":case"Indian Red":return a.indianRed;case"Indigo":return a.indigo;case"Ivory":return a.ivory;case"Khaki":return a.khaki;case"Lavender":return a.lavender;case"LavenderBlush":case"Lavender Blush":return a.lavenderBlush;case"LawnGreen":case"Lawn Green":return a.lawnGreen;case"LemonChiffon":case"Lemon Chiffon":return a.lemonChiffon;case"LightBlue":case"Light Blue":return a.lightBlue;case"LightCoral":case"Light Coral":return a.lightCoral;case"LightCyan":case"Light Cyan":return a.lightCyan;case"LightGoldenrodYellow":case"Light Goldenrod Yellow":return a.lightGoldenrodYellow;case"LightGray":case"Light Gray":return a.lightGray;case"LightGreen":case"Light Green":return a.lightGreen;case"LightPink":case"Light Pink":return a.lightPink;case"LightSalmon":case"Light Salmon":return a.lightSalmon;case"LightSeaGreen":case"Light Sea Green":return a.lightSeaGreen;case"LightSkyBlue":case"Light Sky Blue":return a.lightSkyBlue;case"LightSlateGray":case"Light Slate Gray":return a.lightSlateGray;case"LightSteelBlue":case"Light Steel Blue":return a.lightSteelBlue;case"LightYellow":case"Light Yellow":return a.lightYellow;case"Lime":return a.lime;case"LimeGreen":case"Lime Green":return a.limeGreen;case"Linen":return a.linen;case"Magenta":return a.magenta;case"Maroon":return a.maroon;case"MediumAquamarine":case"Medium Aquamarine":return a.mediumAquamarine;case"MediumBlue":case"Medium Blue":return a.mediumBlue;case"MediumOrchid":case"Medium Orchid":return a.mediumOrchid;case"MediumPurple":case"Medium Purple":return a.mediumPurple;case"MediumSeaGreen":case"Medium Sea Green":return a.mediumSeaGreen;case"MediumSlateBlue":case"Medium Slate Blue":return a.mediumSlateBlue;case"MediumSpringGreen":case"Medium Spring Green":return a.mediumSpringGreen;case"MediumTurquoise":case"Medium Turquoise":return a.mediumTurquoise;case"MediumVioletRed":case"Medium Violet Red":return a.mediumVioletRed;case"MidnightBlue":case"Midnight Blue":return a.midnightBlue;case"MintCream":case"Mint Cream":return a.mintCream;case"MistyRose":case"Misty Rose":return a.mistyRose;case"Moccasin":return a.moccasin;case"NavajoWhite":case"Navajo White":return a.navajoWhite;case"Navy":return a.navy;case"OldLace":case"Old Lace":return a.oldLace;case"Olive":return a.olive;case"OliveDrab":case"Olive Drab":return a.oliveDrab;case"Orange":return a.orange;case"OrangeRed":case"Orange Red":return a.orangeRed;case"Orchid":return a.orchid;case"PaleGoldenrod":case"Pale Goldenrod":return a.paleGoldenrod;case"PaleGreen":case"Pale Green":return a.paleGreen;case"PaleTurquoise":case"Pale Turquoise":return a.paleTurquoise;case"PaleVioletRed":case"Pale Violet Red":return a.paleVioletRed;case"PapayaWhip":case"Papaya Whip":return a.papayaWhip;case"PeachPuff":case"Peach Puff":return a.peachPuff;case"Peru":return a.peru;case"Pink":return a.pink;case"Plum":return a.plum;case"PowderBlue":case"Powder Blue":return a.powderBlue;case"Purple":return a.purple;case"Red":return a.red;case"RosyBrown":case"Rosy Brown":return a.rosyBrown;case"RoyalBlue":case"Royal Blue":return a.royalBlue;case"SaddleBrown":case"Saddle Brown":return a.saddleBrown;case"Salmon":return a.salmon;case"SandyBrown":case"Sandy Brown":return a.sandyBrown;case"SeaGreen":case"Sea Green":return a.seaGreen;case"SeaShell":case"Sea Shell":return a.seaShell;case"Sienna":return a.sienna;case"Silver":return a.silver;case"SkyBlue":case"Sky Blue":return a.skyBlue;case"SlateBlue":case"Slate Blue":return a.slateBlue;case"SlateGray":case"Slate Gray":return a.slateGray;case"Snow":return a.snow;case"SpringGreen":case"Spring Green":return a.springGreen;case"SteelBlue":case"Steel Blue":return a.steelBlue;case"Tan":return a.tan;case"Teal":return a.teal;case"Thistle":return a.thistle;case"Tomato":return a.tomato;case"Turquoise":return a.turquoise;case"Violet":return a.violet;case"Wheat":return a.wheat;case"White":return a.white;case"WhiteSmoke":case"White Smoke":return a.whiteSmoke;case"Yellow":return a.yellow;case"YellowGreen":case"Yellow Green":return a.yellowGreen;case"Transparent":return a.transparent}return a.transparent},t=o,i.StiReportObjectStringConverter=t}(Stimulsoft=Stimulsoft||{}),function(S){var e,w,t,r,N,I,n;function i(){}w=e=S.System||(S.System={}),r=t=w.Text||(w.Text={}),N=S.System.Text.StringBuilder,I=S.System.Char,i.splitString=function(e,t){for(var r=new Array,n=new N,i=0;i<e.length;i++){var a=e.charCodeAt(i);10==a?(r.push(this.trimEndWhiteSpace2(n.toString(),t)),n.clear()):t&&I.isControl(e,i)&&9!=a||n.append(e.charAt(i))}return 0<n.length&&r.push(this.trimEndWhiteSpace2(n.toString(),t)),0==r.length&&r.push(""),r},i.trimEndWhiteSpace=function(e){return this.trimEndWhiteSpace2(e,!0)},i.trimEndWhiteSpace2=function(e,t){var r="",n=e.length;while(0<n&&I.isWhitespace(e[n-1])&&(t||32<=e.charCodeAt(n-1)))n--;return n==e.length?r=e:0<n&&(r=e.substring(0,n)),r},i.isWordWrapSymbol=function(e,t){var r=e.charCodeAt(t),n=e.charAt(t);if(12288<=r&&r<=55215||I.isWhitespace(e,t)&&160!=r||"("==n||"{"==n)return!0;if(0<t){var t=e.charAt(t-1);if("!"==t||"%"==t||")"==t||"}"==t||"-"==t||"?"==t)return!0}return!1},i.getWordWrapTextLines=function(e,t,r,n){var i=this.splitString(e,!1),a=1;null!=t&&(a=t.sizeInPoints);for(var o=0;o<i.length;o++){var s=i[o],u=new N,l=0;while(l<s.length)if(I.isWhitespace(s,l))u.append(s.charAt(l)),l++;else{var m=new N;while(l<s.length&&!I.isWhitespace(s,l))m.append(s.charAt(l)),l++;u.append(m)}for(var y=[],s=u.toString(),d=0;d<s.length;d++)y[d]=s.charCodeAt(d);for(var h=w.StiArray.create(Number,s.length),c=w.StiArray.create(Number,s.length),f=0,p=0,M=0,b;M<y.length;M++)0<=y[M]&&(p+=1e3*S.System.Drawing.Graphics.measureString(String.fromCharCode(y[M]),t).width/a),h[M]=Math.trunc(p),this.isWordWrapSymbol(s,M)&&0<M&&f++,c[M]=f;if(n<p*a/1e3){var M=s.length-1,g=Math.trunc(1e3*n/a);while(h[M]>g&&0<M)M--;var v=M;if(0<c[M])if(c[M]!=c[M+1]){v=M++;while(I.isWhitespace(s,M)&&"\t"!=s.charAt(M))M++}else{while(!this.isWordWrapSymbol(s,M))M--;v=M-1;while(I.isWhitespace(s,v)&&0<v)v--;while(I.isWhitespace(s,M)&&"\t"!=u.charAt(M))M++}else M++;i[o]=r?s.substr(0,v+1)+"a":s.substr(0,v+1),i.stimulsoft.insert(o+1,s.substr(M,s.length-M).stimulsoft.trimStart(" "))}}return i},n=i,r.TextUtils=n}(Stimulsoft=Stimulsoft||{}),function(e){var t,e,r,n;e=t=e.System||(e.System={}),e=r=e.Xml||(e.Xml={}),(e=n=e.Formatting||(e.Formatting={}))[e["None"]=0]="None",e[e["Indented"]=1]="Indented"}(Stimulsoft=Stimulsoft||{}),function(e){var t,r,n,e;function i(){this._name="",this._value=""}r=t=e.System||(e.System={}),e=n=r.Xml||(r.Xml={}),Object.defineProperty(i.prototype,"name",{get:function(){return this._name},set:function(e){this._name=e},enumerable:!1,configurable:!0}),Object.defineProperty(i.prototype,"value",{get:function(){return this._value},set:function(e){this._value=e},enumerable:!1,configurable:!0}),r=i,e.XmlAttr=r}(Stimulsoft=Stimulsoft||{}),function(e){var t,r,n,i,a;function o(){return null!==a&&a.apply(this,arguments)||this}r=t=e.System||(e.System={}),i=n=r.Xml||(r.Xml={}),r=e.System.Collections.CollectionBase,__extends(o,a=r),o.prototype.getNamedItem=function(e){var t,r;try{for(var n=__values(this.list),i=n.next();!i.done;i=n.next()){var a=i.value;if(a.name==e)return a}}catch(e){t={error:e}}finally{try{i&&!i.done&&(r=n.return)&&r.call(n)}finally{if(t)throw t.error}}return null},r=o,i.XmlAttrCollection=r}(Stimulsoft=Stimulsoft||{}),function(e){var t,r,n,i,e;function a(e){this.charProperties=e}r=t=e.System||(e.System={}),i=n=r.Xml||(r.Xml={}),Object.defineProperty(a,"instance",{get:function(){return null==a.s_CharProperties&&a.initInstance(),new a(a.s_CharProperties)},enumerable:!1,configurable:!0}),a.initInstance=function(){if(null!=a.s_CharProperties)return;var e=r.StiArray.create(Object,a.charPropertiesSize);a.s_CharProperties=e,a.setProperties(a.s_Whitespace,a.fWhitespace),a.setProperties(a.s_Letter,a.fLetter),a.setProperties(a.s_NCStartName,a.fNCStartName),a.setProperties(a.s_NCName,a.fNCName),a.setProperties(a.s_CharData,a.fCharData),a.setProperties(a.s_PublicID,a.fPublicId),a.setProperties(a.s_Text,a.fText),a.setProperties(a.s_AttrValue,a.fAttrValue)},a.setProperties=function(e,t){for(var r=0;r<e.length;r+=2)for(var n=parseInt(e.charAt(r+1)),i=parseInt(e.charAt(r));i<=n;i++)a.s_CharProperties[i]|=t},a.fWhitespace=1,a.fLetter=2,a.fNCStartName=4,a.fNCName=8,a.fCharData=16,a.fPublicId=32,a.fText=64,a.fAttrValue=128,a.charPropertiesSize=0,a.s_Whitespace="\t\n\r\r ",a.s_Letter="AZazÀÖØö"+"øıĴľŁňŊž"+"ƀǃǍǰǴǵǺȗ"+"ɐʨʻˁΆΆΈΊ"+"ΌΌΎΡΣώϐϖ"+"ϚϚϜϜϞϞϠϠ"+"ϢϳЁЌЎяёќ"+"ўҁҐӄӇӈӋӌ"+"ӐӫӮӵӸӹԱՖ"+"ՙՙաֆאתװײ"+"ءغفيٱڷںھ"+"ۀێېۓەەۥۦ"+"अहऽऽक़ॡঅঌ"+"এঐওনপরলল"+"শহড়ঢ়য়ৡৰৱ"+"ਅਊਏਐਓਨਪਰ"+"ਲਲ਼ਵਸ਼ਸਹਖ਼ੜ"+"ਫ਼ਫ਼ੲੴઅઋઍઍ"+"એઑઓનપરલળ"+"વહઽઽૠૠଅଌ"+"ଏଐଓନପରଲଳ"+"ଶହଽଽଡ଼ଢ଼ୟୡ"+"அஊஎஐஒகஙச"+"ஜஜஞடணதநப"+"மவஷஹఅఌఎఐ"+"ఒనపళవహౠౡ"+"ಅಌಎಐಒನಪಳ"+"ವಹೞೞೠೡഅഌ"+"എഐഒനപഹൠൡ"+"กฮะะาำเๅ"+"ກຂຄຄງຈຊຊ"+"ຍຍດທນຟມຣ"+"ລລວວສຫອຮ"+"ະະາຳຽຽເໄ"+"ཀཇཉཀྵႠჅაჶ"+"ᄀᄀᄂᄃᄅᄇᄉᄉ"+"ᄋᄌᄎᄒᄼᄼᄾᄾ"+"ᅀᅀᅌᅌᅎᅎᅐᅐ"+"ᅔᅕᅙᅙᅟᅡᅣᅣ"+"ᅥᅥᅧᅧᅩᅩᅭᅮ"+"ᅲᅳᅵᅵᆞᆞᆨᆨ"+"ᆫᆫᆮᆯᆷᆸᆺᆺ"+"ᆼᇂᇫᇫᇰᇰᇹᇹ"+"ḀẛẠỹἀἕἘἝ"+"ἠὅὈὍὐὗὙὙ"+"ὛὛὝὝὟώᾀᾴ"+"ᾶᾼιιῂῄῆῌ"+"ῐΐῖΊῠῬῲῴ"+"ῶῼΩΩKÅ℮℮"+"ↀↂ〇〇〡〩ぁゔ"+"ァヺㄅㄬ一龥가힣",a.s_NCStartName="AZ__az"+"ÀÖØöøıĴľ"+"ŁňŊžƀǃǍǰ"+"ǴǵǺȗɐʨʻˁ"+"ΆΆΈΊΌΌΎΡ"+"ΣώϐϖϚϚϜϜ"+"ϞϞϠϠϢϳЁЌ"+"ЎяёќўҁҐӄ"+"ӇӈӋӌӐӫӮӵ"+"ӸӹԱՖՙՙաֆ"+"אתװײءغفي"+"ٱڷںھۀێېۓ"+"ەەۥۦअहऽऽ"+"क़ॡঅঌএঐওন"+"পরললশহড়ঢ়"+"য়ৡৰৱਅਊਏਐ"+"ਓਨਪਰਲਲ਼ਵਸ਼"+"ਸਹਖ਼ੜਫ਼ਫ਼ੲੴ"+"અઋઍઍએઑઓન"+"પરલળવહઽઽ"+"ૠૠଅଌଏଐଓନ"+"ପରଲଳଶହଽଽ"+"ଡ଼ଢ଼ୟୡஅஊஎஐ"+"ஒகஙசஜஜஞட"+"ணதநபமவஷஹ"+"అఌఎఐఒనపళ"+"వహౠౡಅಌಎಐ"+"ಒನಪಳವಹೞೞ"+"ೠೡഅഌഎഐഒന"+"പഹൠൡกฮะะ"+"าำเๅກຂຄຄ"+"ງຈຊຊຍຍດທ"+"ນຟມຣລລວວ"+"ສຫອຮະະາຳ"+"ຽຽເໄཀཇཉཀྵ"+"ႠჅაჶᄀᄀᄂᄃ"+"ᄅᄇᄉᄉᄋᄌᄎᄒ"+"ᄼᄼᄾᄾᅀᅀᅌᅌ"+"ᅎᅎᅐᅐᅔᅕᅙᅙ"+"ᅟᅡᅣᅣᅥᅥᅧᅧ"+"ᅩᅩᅭᅮᅲᅳᅵᅵ"+"ᆞᆞᆨᆨᆫᆫᆮᆯ"+"ᆷᆸᆺᆺᆼᇂᇫᇫ"+"ᇰᇰᇹᇹḀẛẠỹ"+"ἀἕἘἝἠὅὈὍ"+"ὐὗὙὙὛὛὝὝ"+"Ὗώᾀᾴᾶᾼιι"+"ῂῄῆῌῐΐῖΊ"+"ῠῬῲῴῶῼΩΩ"+"KÅ℮℮ↀↂ〇〇"+"〡〩ぁゔァヺㄅㄬ"+"一龥가힣",a.s_NCName="-.09AZ__"+"az··ÀÖØö"+"øıĴľŁňŊž"+"ƀǃǍǰǴǵǺȗ"+"ɐʨʻˁːˑ̀ͅ"+"͠͡ΆΊΌΌΎΡ"+"ΣώϐϖϚϚϜϜ"+"ϞϞϠϠϢϳЁЌ"+"Ўяёќўҁ҃҆"+"ҐӄӇӈӋӌӐӫ"+"ӮӵӸӹԱՖՙՙ"+"աֆֹֻֽ֑֣֡"+"ֿֿׁׂׄׄאת"+"װײءغـْ٠٩"+"ٰڷںھۀێېۓ"+"ە۪ۭۨ۰۹ँः"+"अह़्॑॔क़ॣ"+"०९ঁঃঅঌএঐ"+"ওনপরললশহ"+"়়াৄেৈো্"+"ৗৗড়ঢ়য়ৣ০ৱ"+"ਂਂਅਊਏਐਓਨ"+"ਪਰਲਲ਼ਵਸ਼ਸਹ"+"਼਼ਾੂੇੈੋ੍"+"ਖ਼ੜਫ਼ਫ਼੦ੴઁઃ"+"અઋઍઍએઑઓન"+"પરલળવહ઼ૅ"+"ેૉો્ૠૠ૦૯"+"ଁଃଅଌଏଐଓନ"+"ପରଲଳଶହ଼ୃ"+"େୈୋ୍ୖୗଡ଼ଢ଼"+"ୟୡ୦୯ஂஃஅஊ"+"எஐஒகஙசஜஜ"+"ஞடணதநபமவ"+"ஷஹாூெைொ்"+"ௗௗ௧௯ఁఃఅఌ"+"ఎఐఒనపళవహ"+"ాౄెైొ్ౕౖ"+"ౠౡ౦౯ಂಃಅಌ"+"ಎಐಒನಪಳವಹ"+"ಾೄೆೈೊ್ೕೖ"+"ೞೞೠೡ೦೯ംഃ"+"അഌഎഐഒനപഹ"+"ാൃെൈൊ്ൗൗ"+"ൠൡ൦൯กฮะฺ"+"เ๎๐๙ກຂຄຄ"+"ງຈຊຊຍຍດທ"+"ນຟມຣລລວວ"+"ສຫອຮະູົຽ"+"ເໄໆໆ່ໍ໐໙"+"༘༙༠༩༵༵༷༷"+"༹༹༾ཇཉཀྵ྄ཱ"+"྆ྋྐྕྗྗྙྭ"+"ྱྷྐྵྐྵႠჅაჶ"+"ᄀᄀᄂᄃᄅᄇᄉᄉ"+"ᄋᄌᄎᄒᄼᄼᄾᄾ"+"ᅀᅀᅌᅌᅎᅎᅐᅐ"+"ᅔᅕᅙᅙᅟᅡᅣᅣ"+"ᅥᅥᅧᅧᅩᅩᅭᅮ"+"ᅲᅳᅵᅵᆞᆞᆨᆨ"+"ᆫᆫᆮᆯᆷᆸᆺᆺ"+"ᆼᇂᇫᇫᇰᇰᇹᇹ"+"ḀẛẠỹἀἕἘἝ"+"ἠὅὈὍὐὗὙὙ"+"ὛὛὝὝὟώᾀᾴ"+"ᾶᾼιιῂῄῆῌ"+"ῐΐῖΊῠῬῲῴ"+"ῶῼ⃐⃜⃡⃡ΩΩ"+"KÅ℮℮ↀↂ々々"+"〇〇〡〯〱〵ぁゔ"+"゙゚ゝゞァヺーヾ"+"ㄅㄬ一龥가힣",a.s_CharData="\t\n\r\r �",a.s_PublicID="\n\n\r\r !#%"+"';==?Z__"+"az",a.s_Text=" %';=\\^�",a.s_AttrValue=" !#%(;==?�",e=a,i.XmlCharType=e}(Stimulsoft=Stimulsoft||{}),function(e){var t,r,n,e;function i(){}r=t=e.System||(e.System={}),e=n=r.Xml||(r.Xml={}),i.NsCollationBase="http://collations.microsoft.com",i.NsCollCodePoint="http://www.w3.org/2004/10/xpath-functions/collation/codepoint",i.NsDataType="urn:schemas-microsoft-com:datatypes",i.NsDataTypeAlias="uuid:C2F41010-65B3-11D1-A29F-00AA00C14882",i.NsDataTypeOld="urn:uuid:C2F41010-65B3-11D1-A29F-00AA00C14882/",i.NsExsltCommon="http://exslt.org/common",i.NsExsltDates="http://exslt.org/dates-and-times",i.NsExsltMath="http://exslt.org/math",i.NsExsltRegExps="http://exslt.org/regular-expressions",i.NsExsltSets="http://exslt.org/sets",i.NsExsltStrings="http://exslt.org/strings",i.NsMsxsl="urn:schemas-microsoft-com:xslt",i.NsWdXsl="http://www.w3.org/TR/WD-xsl",i.NsXdr="urn:schemas-microsoft-com:xml-data",i.NsXdrAlias="uuid:BDC6E3F0-6DA3-11D1-A2A3-00AA00C14882",i.NsXml="http://www.w3.org/XML/1998/namespace",i.NsXmlNs="http://www.w3.org/2000/xmlns/",i.NsXQueryDataType="http://www.w3.org/2003/11/xpath-datatypes",i.NsXQueryFunc="http://www.w3.org/2003/11/xpath-functions",i.NsXs="http://www.w3.org/2001/XMLSchema",i.NsXsd="http://www.w3.org/2001/XMLSchema-datatypes",i.NsXsi="http://www.w3.org/2001/XMLSchema-instance",i.NsXslDebug="urn:schemas-microsoft-com:xslt-debug",i.NsXslt="http://www.w3.org/1999/XSL/Transform",i.NsXsltInternal="http://schemas.microsoft.com/framework/2003/xml/xslt/internal",r=i,e.XmlReservedNs=r}(Stimulsoft=Stimulsoft||{}),function(e){var t,e,r,n;e=t=e.System||(e.System={}),e=r=e.Xml||(e.Xml={}),(e=n=e.XmlSpace||(e.XmlSpace={}))[e["Default"]=1]="Default",e[e["None"]=0]="None",e[e["Preserve"]=2]="Preserve"}(Stimulsoft=Stimulsoft||{}),function(e){var t,r,n,i,a;function o(e){this.surHighStart=55296,this.surHighEnd=56319,this.surLowStart=56320,this.surLowEnd=57343,this.textWriter=e,this.quoteChar='"',this.xmlCharType=i.XmlCharType.instance}r=t=e.System||(e.System={}),i=n=r.Xml||(r.Xml={}),a=e.System.Text.StringBuilder,o.prototype.startAttribute=function(e){this.inAttribute=!0,(this.cacheAttrValue=e)&&(null==this.attrValue?this.attrValue=new a:this.attrValue.clear())},o.prototype.endAttribute=function(){this.cacheAttrValue&&this.attrValue.clear(),this.inAttribute=!1,this.cacheAttrValue=!1},Object.defineProperty(o.prototype,"attributeValue",{get:function(){return this.cacheAttrValue?this.attrValue.toString():""},enumerable:!1,configurable:!0}),o.prototype.writeSurrogateChar=function(e,t){e.charCodeAt(0)<this.surLowStart||e.charCodeAt(0)>this.surLowEnd||t.charCodeAt(0)<this.surHighStart||(t.charCodeAt(0),this.surHighEnd),this.textWriter.write(t),this.textWriter.write(e)},o.prototype.write=function(e){if(null==e)return;return this.cacheAttrValue&&this.attrValue.append(e),void this.textWriter.write(e.replace(/&/g,"&").replace(/</g,"<").replace(/>/g,">").replace(/"/g,""").replace(/'/g,"'"))},o.prototype.writeRawWithSurrogateChecking=function(e){if(null==e)return;this.cacheAttrValue&&this.attrValue.append(e);var t=e.length,r=0,n=0;this.textWriter.write(e)},o.prototype.writeStringFragment=function(e,t,r,n){var i=n.length;while(0<r){var a=r;i<a&&(a=i),t+=a,r-=a}},o.prototype.writeCharEntityImpl=function(e){this.textWriter.write("&#x"),this.textWriter.write(e),this.textWriter.write(";")},o.prototype.writeEntityRefImpl=function(e){this.textWriter.write("&"),this.textWriter.write(e),this.textWriter.write(";")},r=o,i.XmlTextEncoder=r}(Stimulsoft=Stimulsoft||{}),function(f){var e,p,t;p=e=f.System||(f.System={}),function(o){var r=f.System.IO.TextWriter,s=f.System.Collections.Hashtable,n=f.System.Text.StringBuilder,i=f.System.IO.StreamWriter,a,e;(e=a=a||{})[e["Uninitialized"]=0]="Uninitialized",e[e["NotDeclaredButInScope"]=1]="NotDeclaredButInScope",e[e["DeclaredButNotWrittenOut"]=2]="DeclaredButNotWrittenOut",e[e["DeclaredAndWrittenOut"]=3]="DeclaredAndWrittenOut";var u=(t.prototype.init=function(e){this.name=null,this.defaultNs="",this.defaultNsState=a.Uninitialized,this.xmlSpace=o.XmlSpace.None,this.xmlLang=null,this.prevNsTop=e,this.prefixCount=0,this.mixed=!1},t);function t(){}var l=(h.prototype.set=function(e,t,r){this.prefix=e,this.ns=t,this.declared=r,this.prevNsIndex=-1},h),m,e,y,e,d,e;function h(){}(e=m=m||{})[e["None"]=0]="None",e[e["XmlSpace"]=1]="XmlSpace",e[e["XmlLang"]=2]="XmlLang",e[e["XmlNs"]=3]="XmlNs",(e=y=y||{})[e["Start"]=0]="Start",e[e["Prolog"]=1]="Prolog",e[e["PostDTD"]=2]="PostDTD",e[e["Element"]=3]="Element",e[e["Attribute"]=4]="Attribute",e[e["Content"]=5]="Content",e[e["AttrOnly"]=6]="AttrOnly",e[e["Epilog"]=7]="Epilog",e[e["Error"]=8]="Error",e[e["Closed"]=9]="Closed",(e=d=d||{})[e["PI"]=0]="PI",e[e["Doctype"]=1]="Doctype",e[e["Comment"]=2]="Comment",e[e["CData"]=3]="CData",e[e["StartElement"]=4]="StartElement",e[e["EndElement"]=5]="EndElement",e[e["LongEndElement"]=6]="LongEndElement",e[e["StartAttribute"]=7]="StartAttribute",e[e["EndAttribute"]=8]="EndAttribute",e[e["Content"]=9]="Content",e[e["Base64"]=10]="Base64",e[e["RawData"]=11]="RawData",e[e["Whitespace"]=12]="Whitespace",e[e["Empty"]=13]="Empty";var e=(c.prototype.writeStartDocument=function(e){null==e?this.startDocument(-1):this.startDocument(e?1:0)},c.prototype.writeEndDocument=function(){try{this.autoCompleteAll(),this.currentState,y.Epilog,this.stateTable=c.stateTableDefault,this.currentState=y.Start,this.lastToken=d.Empty}catch(e){f.System.StiError.showError(e,!1),this.currentState=y.Error}},c.prototype.writeDocType=function(e,t,r,n){try{this.validateName(e,!1),this.autoComplete(d.Doctype)}catch(e){f.System.StiError.showError(e,!1),this.currentState=y.Error}},c.prototype.writeStartElement=function(e){this.writeStartElement3(null,e,null)},c.prototype.writeStartElement3=function(e,t,r){try{var n;this.autoComplete(d.StartElement),this.pushStack(),this.textWriter.write("<"),this.namespaces?(this.stack[this.top].defaultNs=this.stack[this.top-1].defaultNs,this.stack[this.top-1].defaultNsState!=a.Uninitialized&&(this.stack[this.top].defaultNsState=a.NotDeclaredButInScope),this.stack[this.top].mixed=this.stack[this.top-1].mixed,null==r?null!=e&&0!=e.length&&this.lookupNamespace(e):null==e?null!=(n=this.findPrefix(r))?e=n:this.pushNamespace(null,r,!1):0==e.length?this.pushNamespace(null,r,!1):(0==r.length&&(e=null),this.verifyPrefixXml(e,r),this.pushNamespace(e,r,!1)),(this.stack[this.top].prefix=null)!=e&&0!=e.length&&(this.stack[this.top].prefix=e,this.textWriter.write(e),this.textWriter.write(":"))):null!=r&&0!=r.length||null!=e&&e.length,this.stack[this.top].name=t,this.textWriter.write(t)}catch(e){f.System.StiError.showError(e,!1),this.currentState=y.Error}},c.prototype.writeEndElement=function(){this.internalWriteEndElement(!1)},c.prototype.writeFullEndElement=function(){this.internalWriteEndElement(!0)},c.prototype.writeStartAttribute=function(e,t,r){try{var n;this.autoComplete(d.StartAttribute),this.specialAttr=m.None,this.namespaces?(null!=e&&0==e.length&&(e=null),r==o.XmlReservedNs.NsXmlNs&&null==e&&"xmlns"!=t&&(e="xmlns"),"xml"==e?"lang"==t?this.specialAttr=m.XmlLang:"space"==t&&(this.specialAttr=m.XmlSpace):"xmlns"==e?(o.XmlReservedNs.NsXmlNs,null==t||0==t.length?(t=e,e=null,this.prefixForXmlNs=null):this.prefixForXmlNs=t,this.specialAttr=m.XmlNs):null==e&&"xmlns"==t?(o.XmlReservedNs.NsXmlNs,this.specialAttr=m.XmlNs,this.prefixForXmlNs=null):null==r?null!=e&&this.lookupNamespace(e):0==r.length?e="":(this.verifyPrefixXml(e,r),null!=e&&-1!=this.lookupNamespaceInCurrentScope(e)&&(e=null),null==(n=this.findPrefix(r))||null!=e&&e!=n?(null==e&&(e=this.generatePrefix()),this.pushNamespace(e,r,!1)):e=n),null!=e&&0!=e.length&&(this.textWriter.write(e),this.textWriter.write(":"))):(null!=r&&0!=r.length||null!=e&&e.length,"xml:lang"==t?this.specialAttr=m.XmlLang:"xml:space"==t&&(this.specialAttr=m.XmlSpace)),this.xmlEncoder.startAttribute(this.specialAttr!=m.None),this.textWriter.write(t),this.textWriter.write("="),this.curQuoteChar!=this.quoteChar&&(this.curQuoteChar=this.quoteChar,this.xmlEncoder.quoteChar=this.quoteChar),this.textWriter.write(this.curQuoteChar)}catch(e){f.System.StiError.showError(e,!1),this.currentState=y.Error}},c.prototype.writeEndAttribute=function(){try{this.autoComplete(d.EndAttribute)}catch(e){f.System.StiError.showError(e,!1),this.currentState=y.Error}},c.prototype.writeString=function(e){try{null!=e&&0!=e.length&&(this.autoComplete(d.Content),this.xmlEncoder.write(e))}catch(e){f.System.StiError.showError(e,!1),this.currentState=y.Error}},c.prototype.writeRaw=function(e){try{this.autoComplete(d.RawData),this.xmlEncoder.writeRawWithSurrogateChecking(e)}catch(e){f.System.StiError.showError(e,!1),this.currentState=y.Error}},c.prototype.close=function(){try{this.autoCompleteAll()}finally{this.currentState=y.Closed,this.textWriter.close()}},c.prototype.flush=function(){this.textWriter.flush()},c.prototype.writeName=function(e){try{this.autoComplete(d.Content),this.internalWriteName(e,!1)}catch(e){f.System.StiError.showError(e,!1),this.currentState=y.Error}},c.prototype.writeQualifiedName=function(e,t){try{var r;this.autoComplete(d.Content),this.namespaces?null!=t&&0!=t.length&&t!=this.stack[this.top].defaultNs&&(null==(r=this.findPrefix(t))&&(this.currentState,y.Attribute,r=this.generatePrefix(),this.pushNamespace(r,t,!1)),0!=r.length&&(this.internalWriteName(r,!0),this.textWriter.write(":"))):null!=t&&t.length,this.internalWriteName(e,!0)}catch(e){f.System.StiError.showError(e,!1),this.currentState=y.Error}},c.prototype.startDocument=function(e){try{this.currentState,y.Start,this.stateTable=c.stateTableDocument,this.currentState=y.Prolog;var t=new n;t.append("version="+this.quoteChar+"1.0"+this.quoteChar),null!=this.encoding&&(t.append(" encoding="),t.append(this.quoteChar),t.append(this.encoding.webName),t.append(this.quoteChar)),0<=e&&(t.append(" standalone="),t.append(this.quoteChar),t.append(0==e?"no":"yes"),t.append(this.quoteChar)),this.internalWriteProcessingInstruction("xml",t.toString())}catch(e){f.System.StiError.showError(e,!1),this.currentState=y.Error}},c.prototype.autoComplete=function(e){this.currentState==y.Closed||(this.currentState,y.Error);var t=this.stateTable[8*e+this.currentState];switch(y.Error,e){case d.Doctype:this.indented&&this.currentState!=y.Start&&this.indent(!1);break;case d.StartElement:case d.Comment:case d.PI:case d.CData:this.currentState==y.Attribute?(this.writeEndAttributeQuote(),this.writeEndStartTag(!1)):this.currentState==y.Element&&this.writeEndStartTag(!1),e==d.CData?this.stack[this.top].mixed=!0:this.indented&&this.currentState!=y.Start&&this.indent(!1);break;case d.EndElement:case d.LongEndElement:this._flush&&this.flushEncoders(),this.currentState==y.Attribute&&this.writeEndAttributeQuote(),this.currentState==y.Content?e=d.LongEndElement:this.writeEndStartTag(e==d.EndElement),c.stateTableDocument==this.stateTable&&1==this.top&&(t=y.Epilog);break;case d.StartAttribute:this._flush&&this.flushEncoders(),this.currentState==y.Attribute?(this.writeEndAttributeQuote(),this.textWriter.write(" ")):this.currentState==y.Element&&this.textWriter.write(" ");break;case d.EndAttribute:this._flush&&this.flushEncoders(),this.writeEndAttributeQuote();break;case d.Whitespace:case d.Content:case d.RawData:case d.Base64:e!=d.Base64&&this._flush&&this.flushEncoders(),this.currentState==y.Element&&this.lastToken!=d.Content&&this.writeEndStartTag(!1),t==y.Content&&(this.stack[this.top].mixed=!0);break;default:}this.currentState=t,this.lastToken=e},c.prototype.autoCompleteAll=function(){this._flush&&this.flushEncoders();while(0<this.top)this.writeEndElement()},c.prototype.internalWriteEndElement=function(e){try{this.top,this.autoComplete(e?d.LongEndElement:d.EndElement),this.lastToken==d.LongEndElement&&(this.indented&&this.indent(!0),this.textWriter.write("<"),this.textWriter.write("/"),this.namespaces&&null!=this.stack[this.top].prefix&&(this.textWriter.write(this.stack[this.top].prefix),this.textWriter.write(":")),this.textWriter.write(this.stack[this.top].name),this.textWriter.write(">"));var t=this.stack[this.top].prevNsTop;this.useNsHashtable&&t<this.nsTop&&this.popNamespaces(t+1,this.nsTop),this.nsTop=t,this.top--}catch(e){f.System.StiError.showError(e,!1),this.currentState=y.Error}},c.prototype.writeEndStartTag=function(e){this.xmlEncoder.startAttribute(!1);for(var t=this.nsTop;t>this.stack[this.top].prevNsTop;t--)this.nsStack[t].declared||(this.textWriter.write(" xmlns"),this.textWriter.write(":"),this.textWriter.write(this.nsStack[t].prefix),this.textWriter.write("="),this.textWriter.write(this.quoteChar),this.xmlEncoder.write(this.nsStack[t].ns),this.textWriter.write(this.quoteChar));this.stack[this.top].defaultNs!=this.stack[this.top-1].defaultNs&&this.stack[this.top].defaultNsState==a.DeclaredButNotWrittenOut&&(this.textWriter.write(" xmlns"),this.textWriter.write("="),this.textWriter.write(this.quoteChar),this.xmlEncoder.write(this.stack[this.top].defaultNs),this.textWriter.write(this.quoteChar),this.stack[this.top].defaultNsState=a.DeclaredAndWrittenOut),this.xmlEncoder.endAttribute(),e&&this.textWriter.write(" /"),this.textWriter.write(">")},c.prototype.writeEndAttributeQuote=function(){this.specialAttr!=m.None&&this.handleSpecialAttribute(),this.xmlEncoder.endAttribute(),this.textWriter.write(this.curQuoteChar)},c.prototype.indent=function(e){if(0==this.top)this.textWriter.writeLine();else if(!this.stack[this.top].mixed){this.textWriter.writeLine();var t=e?this.top-1:this.top;for(t*=this.indentation;0<t;t--)this.textWriter.write(this.indentChar)}},c.prototype.pushNamespace=function(e,t,r){if(o.XmlReservedNs.NsXmlNs,null==e){switch(this.stack[this.top].defaultNsState){case a.DeclaredButNotWrittenOut:break;case a.Uninitialized:case a.NotDeclaredButInScope:this.stack[this.top].defaultNs=t;break;default:return}this.stack[this.top].defaultNsState=r?a.DeclaredAndWrittenOut:a.DeclaredButNotWrittenOut}else{0!=e.length&&t.length;var n=this.lookupNamespace(e);-1!=n&&this.nsStack[n].ns==t?r&&(this.nsStack[n].declared=!0):(r&&-1!=n&&n>this.stack[this.top].prevNsTop&&(this.nsStack[n].declared=!0),this.addNamespace(e,t,r))}},c.prototype.addNamespace=function(e,t,r){var n=++this.nsTop,i;if(n==this.nsStack.length&&(i=p.StiArray.create(l,2*n,!0),p.StiArray.copy(this.nsStack,0,i,n),this.nsStack=i),this.nsStack[n].set(e,t,r),this.useNsHashtable)this.addToNamespaceHashtable(n);else if(n==this.maxNamespacesWalkCount){this.nsHashtable=new s;for(var a=0;a<=n;a++)this.addToNamespaceHashtable(a);this.useNsHashtable=!0}},c.prototype.addToNamespaceHashtable=function(e){var t=this.nsStack[e].prefix,r=this.nsHashtable.get(t);null!=r&&(this.nsStack[e].prevNsIndex=r),this.nsHashtable.set(t,e)},c.prototype.popNamespaces=function(e,t){for(var r=t;e<=r;r--)-1==this.nsStack[r].prevNsIndex?this.nsHashtable.remove(this.nsStack[r].prefix):this.nsHashtable.set(this.nsStack[r].prefix,this.nsStack[r].prevNsIndex)},c.prototype.generatePrefix=function(){var e=this.stack[this.top].prefixCount+++1;return"d"+this.top.toString()+"p"+e.toString()},c.prototype.internalWriteProcessingInstruction=function(e,t){this.textWriter.write("<?"),this.validateName(e,!1),this.textWriter.write(e),this.textWriter.write(" "),null!=t&&this.xmlEncoder.writeRawWithSurrogateChecking(t),this.textWriter.write("?>")},c.prototype.lookupNamespace=function(e){if(this.useNsHashtable){var t=this.nsHashtable.get(e);if(null!=t)return t}else for(var r=this.nsTop;0<=r;r--)if(this.nsStack[r].prefix==e)return r;return-1},c.prototype.lookupNamespaceInCurrentScope=function(e){if(this.useNsHashtable){var t=this.nsHashtable.get(e);if(null!=t&&t>this.stack[this.top].prevNsTop)return t}else for(var r=this.nsTop;r>this.stack[this.top].prevNsTop;r--)if(this.nsStack[r].prefix==e)return r;return-1},c.prototype.findPrefix=function(e){for(var t=this.nsTop;0<=t;t--)if(this.nsStack[t].ns==e&&this.lookupNamespace(this.nsStack[t].prefix)==t)return this.nsStack[t].prefix;return null},c.prototype.internalWriteName=function(e,t){this.validateName(e,t),this.textWriter.write(e)},c.prototype.validateName=function(e,t){null==e||e.length;var r=e.length,n=0,i=-1;if(this.namespaces){if(0!=(this.xmlCharType.charProperties[e.charCodeAt(n)]&o.XmlCharType.fNCStartName)){var a=!0;while(a){n++;while(n<r&&0!=(this.xmlCharType.charProperties[e.charCodeAt(n)]&o.XmlCharType.fNCName))n++;if(n==r)return;if(":"==e[n]&&!t&&-1==i&&n+1<r){i=n;continue}a=!1}}}else if(0!=(this.xmlCharType.charProperties[e.charCodeAt(0)]&o.XmlCharType.fNCStartName)||":"==e[0]){n++;while(n<r&&(0!=(this.xmlCharType.charProperties[e.charCodeAt(n)]&o.XmlCharType.fNCName)||":"==e[n]))n++;if(n==r)return}},c.prototype.handleSpecialAttribute=function(){var e=this.xmlEncoder.attributeValue;switch(this.specialAttr){case m.XmlLang:this.stack[this.top].xmlLang=e;break;case m.XmlSpace:"default"==(e=e.trim())?this.stack[this.top].xmlSpace=o.XmlSpace.Default:"preserve"==e&&(this.stack[this.top].xmlSpace=o.XmlSpace.Preserve);break;case m.XmlNs:this.verifyPrefixXml(this.prefixForXmlNs,e),this.pushNamespace(this.prefixForXmlNs,e,!0);break}},c.prototype.verifyPrefixXml=function(e,t){null!=e&&3==e.length&&("x"!=e.charAt(0)&&"X"!=e.charAt(0)||"m"!=e.charAt(1)&&"M"!=e.charAt(1)||"l"!=e.charAt(2)&&"L"!=e.charAt(2)||o.XmlReservedNs.NsXml)},c.prototype.pushStack=function(){var e;this.top==this.stack.length-1&&(e=p.StiArray.create(u,this.stack.length+10,!0),0<this.top&&p.StiArray.copy(this.stack,0,e,this.top+1),this.stack=e),this.top++,this.stack[this.top].init(this.nsTop)},c.prototype.flushEncoders=function(){this._flush=!1},c.prototype.writeAttributeString=function(e,t){this.writeStartAttribute(null,e,null),this.writeString(t),this.writeEndAttribute()},c.prototype.writeElementString=function(e,t){this.writeElementString2(e,null,t)},c.prototype.writeElementString2=function(e,t,r){this.writeStartElement3(null,e,t),null!=r&&0!=r.length&&this.writeString(r),this.writeEndElement()},c.prototype.writeElementString3=function(e,t,r,n){this.writeStartElement3(e,t,r),null!=n&&0!=n.length&&this.writeString(n),this.writeEndElement()},c.prototype.constructor_=function(e,t){this.namespaces=!0,this.formatting=o.Formatting.None,this.indentation=2,this.indentChar=" ",this.nsStack=p.StiArray.create(l,this.namespaceStackInitialSize,!0),this.nsTop=-1,this.stack=p.StiArray.create(u,10,!0),this.top=0,this.stack[this.top].init(-1),this.quoteChar='"',this.stateTable=c.stateTableDefault,this.currentState=y.Start,this.lastToken=d.Empty,this.encoding=e,this.textWriter=new r,this.xmlEncoder=new o.XmlTextEncoder(this.textWriter),this.xmlEncoder.quoteChar=this.quoteChar},c.stateTableDefault=[y.Prolog,y.Prolog,y.PostDTD,y.Content,y.Content,y.Content,y.Error,y.Epilog,y.PostDTD,y.PostDTD,y.Error,y.Error,y.Error,y.Error,y.Error,y.Error,y.Prolog,y.Prolog,y.PostDTD,y.Content,y.Content,y.Content,y.Error,y.Epilog,y.Content,y.Content,y.Error,y.Content,y.Content,y.Content,y.Error,y.Epilog,y.Element,y.Element,y.Element,y.Element,y.Element,y.Element,y.Error,y.Element,y.Error,y.Error,y.Error,y.Content,y.Content,y.Content,y.Error,y.Error,y.Error,y.Error,y.Error,y.Content,y.Content,y.Content,y.Error,y.Error,y.AttrOnly,y.Error,y.Error,y.Attribute,y.Attribute,y.Error,y.Error,y.Error,y.Error,y.Error,y.Error,y.Error,y.Element,y.Error,y.Epilog,y.Error,y.Content,y.Content,y.Error,y.Content,y.Attribute,y.Content,y.Attribute,y.Epilog,y.Content,y.Content,y.Error,y.Content,y.Attribute,y.Content,y.Attribute,y.Epilog,y.Prolog,y.Prolog,y.PostDTD,y.Content,y.Attribute,y.Content,y.Attribute,y.Epilog,y.Prolog,y.Prolog,y.PostDTD,y.Content,y.Attribute,y.Content,y.Attribute,y.Epilog],c.stateTableDocument=[y.Error,y.Prolog,y.PostDTD,y.Content,y.Content,y.Content,y.Error,y.Epilog,y.Error,y.PostDTD,y.Error,y.Error,y.Error,y.Error,y.Error,y.Error,y.Error,y.Prolog,y.PostDTD,y.Content,y.Content,y.Content,y.Error,y.Epilog,y.Error,y.Error,y.Error,y.Content,y.Content,y.Content,y.Error,y.Error,y.Error,y.Element,y.Element,y.Element,y.Element,y.Element,y.Error,y.Error,y.Error,y.Error,y.Error,y.Content,y.Content,y.Content,y.Error,y.Error,y.Error,y.Error,y.Error,y.Content,y.Content,y.Content,y.Error,y.Error,y.Error,y.Error,y.Error,y.Attribute,y.Attribute,y.Error,y.Error,y.Error,y.Error,y.Error,y.Error,y.Error,y.Element,y.Error,y.Error,y.Error,y.Error,y.Error,y.Error,y.Content,y.Attribute,y.Content,y.Error,y.Error,y.Error,y.Error,y.Error,y.Content,y.Attribute,y.Content,y.Error,y.Error,y.Error,y.Prolog,y.PostDTD,y.Content,y.Attribute,y.Content,y.Error,y.Epilog,y.Error,y.Prolog,y.PostDTD,y.Content,y.Attribute,y.Content,y.Error,y.Epilog],c);function c(e,t){this.xmlCharType=o.XmlCharType.instance,this.namespaceStackInitialSize=8,this.maxNamespacesWalkCount=16,this.constructor_(e),t&&(this.encoding=e,this.textWriter=null!=e?new i(t,e):new i(t),this.xmlEncoder=new o.XmlTextEncoder(this.textWriter),this.xmlEncoder.quoteChar=this.quoteChar)}o.XmlTextWriter=e}(t=p.Xml||(p.Xml={}))}(Stimulsoft=Stimulsoft||{}),function(e){var t,r,e;function n(){}r=t=e.System||(e.System={}),n.createInstance=function(e){return new e},e=n,r.Activator=e}(Stimulsoft=Stimulsoft||{}),function(e){var t,r,n;function i(){}(r=t=e.System||(e.System={})).Attribute=i}(Stimulsoft=Stimulsoft||{}),function(e){var t,r,e;function l(){}r=t=e.System||(e.System={}),l.encode=function(e){var t="",r,n,i,a,o,s,r,u=0;e=l.utf8_encode(e);while(u<e.length)a=(r=e.charCodeAt(u++))>>2,o=(3&r)<<4|(n=e.charCodeAt(u++))>>4,s=(15&n)<<2|(i=e.charCodeAt(u++))>>6,r=63&i,isNaN(n)?s=r=64:isNaN(i)&&(r=64),t=t+l.keyStr.charAt(a)+l.keyStr.charAt(o)+l.keyStr.charAt(s)+l.keyStr.charAt(r);return t},l.decode=function(e){var t="",r,n,i,a,i,o,s,u=0;e=e.replace(/[^A-Za-z0-9\+\/\=]/g,"");while(u<e.length)r=(a=this.keyStr.indexOf(e.charAt(u++)))<<2|(i=this.keyStr.indexOf(e.charAt(u++)))>>4,n=(15&i)<<4|(o=this.keyStr.indexOf(e.charAt(u++)))>>2,i=(3&o)<<6|(s=this.keyStr.indexOf(e.charAt(u++))),t+=String.fromCharCode(r),64!=o&&(t+=String.fromCharCode(n)),64!=s&&(t+=String.fromCharCode(i));return t=l.utf8_decode(t)},l.utf8_encode=function(e){var t="";e=e.replace(/\r\n/g,"\n");for(var r=0;r<e.length;r++){var n=e.charCodeAt(r);n<128?t+=String.fromCharCode(n):(127<n&&n<2048?t+=String.fromCharCode(n>>6|192):(t+=String.fromCharCode(n>>12|224),t+=String.fromCharCode(n>>6&63|128)),t+=String.fromCharCode(63&n|128))}return t},l.utf8_decode=function(e){var t="",r=0,n,i,a,o=0;while(r<e.length)(n=e.charCodeAt(r))<128?(t+=String.fromCharCode(n),r++):191<n&&n<224?(a=e.charCodeAt(r+1),t+=String.fromCharCode((31&n)<<6|63&a),r+=2):(a=e.charCodeAt(r+1),o=e.charCodeAt(r+2),t+=String.fromCharCode((15&n)<<12|(63&a)<<6|63&o),r+=3);return t},l.keyStr="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=",e=l,r.Base64=e}(Stimulsoft=Stimulsoft||{}),function(e){var t,r,n,e;function i(){}r=t=e.System||(e.System={}),n=e.System.Globalization.UnicodeCategory,i.getUnicodeCategory=function(e){if(e<13312)return this._table_0[e];if(e<19894)return n.OtherLetter;if(e<19904)return n.OtherNotAssigned;if(e<19968)return n.OtherSymbol;if(e<40896)return n.OtherLetter;if(e<44032)return this._table_9fc0[e-40896];if(e<55168)return n.OtherLetter;if(e<55296)return this._table_d780[e-55168];if(e<57344)return n.Surrogate;if(e<63744)return n.PrivateUse;if(e<64064)return n.OtherLetter;if(e<65536)return this._table_fa40[e-64064];return n.OtherNotAssigned},i._table_0=[14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,11,24,24,24,26,24,24,24,20,21,24,25,24,19,24,24,8,8,8,8,8,8,8,8,8,8,24,24,25,25,25,24,24,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,20,24,21,27,18,27,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,20,25,21,25,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,11,24,26,26,26,26,28,28,27,28,1,22,25,19,28,27,28,25,10,10,27,1,28,24,27,10,1,23,10,10,10,24,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,25,0,0,0,0,0,0,0,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1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,8,8,8,8,8,8,8,4,4,4,28,28,4,24,24,24,24,24,24,24,24,24,24,24,24,24,24,29,15,4,5,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,29,29,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,5,5,5,5,5,5,5,5,5,5,5,4,29,29,29,29,29,29,29,29,29,29,29,29,29,29,8,8,8,8,8,8,8,8,8,8,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,5,5,5,5,5,5,5,5,5,3,3,28,24,24,24,3,29,29,29,29,29,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,5,5,5,5,3,5,5,5,5,5,5,5,5,5,3,5,5,5,3,5,5,5,5,5,29,29,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,29,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,5,5,5,29,29,24,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,6,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,5,6,5,4,6,6,6,5,5,5,5,5,5,5,5,6,6,6,6,5,6,6,4,5,5,5,5,5,5,5,4,4,4,4,4,4,4,4,4,4,5,5,24,24,8,8,8,8,8,8,8,8,8,8,24,3,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,5,6,6,29,4,4,4,4,4,4,4,4,29,29,4,4,29,29,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,29,4,4,4,4,4,4,4,29,4,29,29,29,4,4,4,4,29,29,5,4,6,6,6,5,5,5,5,29,29,6,6,29,29,6,6,5,4,29,29,29,29,29,29,29,29,6,29,29,29,29,4,4,29,4,4,4,5,5,29,29,8,8,8,8,8,8,8,8,8,8,4,4,26,26,10,10,10,10,10,10,28,26,29,29,29,29,29,5,5,6,29,4,4,4,4,4,4,29,29,29,29,4,4,29,29,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,29,4,4,4,4,4,4,4,29,4,4,29,4,4,29,4,4,29,29,5,29,6,6,6,5,5,29,29,29,29,5,5,29,29,5,5,5,29,29,29,5,29,29,29,29,29,29,29,4,4,4,4,29,4,29,29,29,29,29,29,29,8,8,8,8,8,8,8,8,8,8,5,5,4,4,4,5,29,29,29,29,29,29,29,29,29,29,29,5,5,6,29,4,4,4,4,4,4,4,4,4,29,4,4,4,29,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,29,4,4,4,4,4,4,4,29,4,4,29,4,4,4,4,4,29,29,5,4,6,6,6,5,5,5,5,5,29,5,5,6,29,6,6,5,29,29,4,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,4,4,5,5,29,29,8,8,8,8,8,8,8,8,8,8,24,26,29,29,29,29,29,29,29,4,29,29,29,29,29,29,29,5,6,6,29,4,4,4,4,4,4,4,4,29,29,4,4,29,29,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,29,4,4,4,4,4,4,4,29,4,4,29,4,4,4,4,4,29,29,5,4,6,5,6,5,5,5,5,29,29,6,6,29,29,6,6,5,29,29,29,29,29,29,29,29,5,6,29,29,29,29,4,4,29,4,4,4,5,5,29,29,8,8,8,8,8,8,8,8,8,8,28,4,10,10,10,10,10,10,29,29,29,29,29,29,29,29,29,29,5,4,29,4,4,4,4,4,4,29,29,29,4,4,4,29,4,4,4,4,29,29,29,4,4,29,4,29,4,4,29,29,29,4,4,29,29,29,4,4,4,29,29,29,4,4,4,4,4,4,4,4,4,4,4,4,29,29,29,29,6,6,5,6,6,29,29,29,6,6,6,29,6,6,6,5,29,29,4,29,29,29,29,29,29,6,29,29,29,29,29,29,29,29,29,29,29,29,29,29,8,8,8,8,8,8,8,8,8,8,10,10,10,28,28,28,28,28,28,26,28,29,29,29,29,29,5,6,6,6,29,4,4,4,4,4,4,4,4,29,4,4,4,29,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,29,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,29,29,29,4,5,5,5,6,6,6,6,29,5,5,5,29,5,5,5,5,29,29,29,29,29,29,29,5,5,29,4,4,4,29,29,29,29,29,4,4,5,5,29,29,8,8,8,8,8,8,8,8,8,8,29,29,29,29,29,29,29,29,10,10,10,10,10,10,10,28,29,5,6,6,29,4,4,4,4,4,4,4,4,29,4,4,4,29,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,29,4,4,4,4,4,4,4,4,4,4,29,4,4,4,4,4,29,29,5,4,6,5,6,6,6,6,6,29,5,6,6,29,6,6,5,5,29,29,29,29,29,29,29,6,6,29,29,29,29,29,29,29,4,29,4,4,5,5,29,29,8,8,8,8,8,8,8,8,8,8,29,4,4,29,29,29,29,29,29,29,29,29,29,29,29,29,29,5,6,6,29,4,4,4,4,4,4,4,4,29,4,4,4,29,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,29,29,4,6,6,6,5,5,5,5,29,6,6,6,29,6,6,6,5,4,29,29,29,29,29,29,29,29,6,29,29,29,29,29,29,29,4,4,4,5,5,29,29,8,8,8,8,8,8,8,8,8,8,10,10,10,10,10,10,29,29,29,28,4,4,4,4,4,4,29,29,6,6,29,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,29,29,29,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,29,4,4,4,4,4,4,4,4,4,29,4,29,29,4,4,4,4,4,4,4,29,29,29,5,29,29,29,29,6,6,6,5,5,5,29,5,29,6,6,6,6,6,6,6,6,29,29,29,29,29,29,8,8,8,8,8,8,8,8,8,8,29,29,6,6,24,29,29,29,29,29,29,29,29,29,29,29,29,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,5,4,4,5,5,5,5,5,5,5,29,29,29,29,26,4,4,4,4,4,4,3,5,5,5,5,5,5,5,5,24,8,8,8,8,8,8,8,8,8,8,24,24,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,4,4,29,4,29,29,4,4,29,4,29,29,4,29,29,29,29,29,29,4,4,4,4,29,4,4,4,4,4,4,4,29,4,4,4,29,4,29,4,29,29,4,4,29,4,4,4,4,5,4,4,5,5,5,5,5,5,29,5,5,4,29,29,4,4,4,4,4,29,3,29,5,5,5,5,5,5,29,29,8,8,8,8,8,8,8,8,8,8,29,29,4,4,4,4,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,4,28,28,28,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,28,24,28,28,28,5,5,28,28,28,28,28,28,8,8,8,8,8,8,8,8,8,8,10,10,10,10,10,10,10,10,10,10,28,5,28,5,28,5,20,21,20,21,6,6,4,4,4,4,4,4,4,4,29,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,29,29,29,29,5,5,5,5,5,5,5,5,5,5,5,5,5,5,6,5,5,5,5,5,24,5,5,4,4,4,4,4,5,5,5,5,5,5,5,5,5,5,5,29,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,29,28,28,28,28,28,28,28,28,5,28,28,28,28,28,28,29,28,28,24,24,24,24,24,28,28,28,28,24,24,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,6,6,5,5,5,5,6,5,5,5,5,5,5,6,5,5,6,6,5,5,4,8,8,8,8,8,8,8,8,8,8,24,24,24,24,24,24,4,4,4,4,4,4,6,6,5,5,4,4,4,4,5,5,5,4,6,6,6,4,4,6,6,6,6,6,6,6,4,4,4,5,5,5,5,4,4,4,4,4,4,4,4,4,4,4,4,4,5,6,6,5,5,6,6,6,6,6,6,5,4,6,8,8,8,8,8,8,8,8,8,8,6,6,6,5,28,28,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,29,0,29,29,29,29,29,0,29,29,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4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,4,4,4,4,4,4,29,29,29,29,29,29,29,4,4,4,4,4,4,4,4,4,4,4,4,4,29,4,4,4,4,5,5,5,29,29,29,29,29,29,29,29,29,29,29,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,5,5,5,24,24,29,29,29,29,29,29,29,29,29,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,5,5,29,29,29,29,29,29,29,29,29,29,29,29,4,4,4,4,4,4,4,4,4,4,4,4,4,29,4,4,4,29,5,5,29,29,29,29,29,29,29,29,29,29,29,29,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,5,5,6,5,5,5,5,5,5,5,6,6,6,6,6,6,6,6,5,6,6,5,5,5,5,5,5,5,5,5,5,5,24,24,24,3,24,24,24,26,4,5,29,29,8,8,8,8,8,8,8,8,8,8,29,29,29,29,29,29,10,10,10,10,10,10,10,10,10,10,29,29,29,29,29,29,24,24,24,24,24,24,19,24,24,24,24,5,5,5,15,29,8,8,8,8,8,8,8,8,8,8,29,29,29,29,29,29,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,3,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,29,29,29,29,29,29,29,29,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,5,4,29,29,29,29,29,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,29,29,29,29,29,29,29,29,29,29,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,29,5,5,5,6,6,6,6,5,5,6,6,6,29,29,29,29,6,6,5,6,6,6,6,6,6,5,5,5,29,29,29,29,28,29,29,29,24,24,8,8,8,8,8,8,8,8,8,8,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,29,29,4,4,4,4,4,29,29,29,29,29,29,29,29,29,29,29,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,29,29,29,29,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,29,29,29,29,29,29,8,8,8,8,8,8,8,8,8,8,10,29,29,29,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,5,5,6,6,5,29,29,24,24,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,6,5,6,5,5,5,5,5,5,5,29,5,6,5,6,6,5,5,5,5,5,5,5,5,6,6,6,6,6,6,5,5,5,5,5,5,5,5,5,5,29,29,5,8,8,8,8,8,8,8,8,8,8,29,29,29,29,29,29,8,8,8,8,8,8,8,8,8,8,29,29,29,29,29,29,24,24,24,24,24,24,24,3,24,24,24,24,24,24,29,29,5,5,5,5,5,5,5,5,5,5,5,5,5,5,7,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,5,5,5,5,6,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,5,6,5,5,5,5,5,6,5,6,6,6,6,6,5,6,6,4,4,4,4,4,4,4,29,29,29,29,8,8,8,8,8,8,8,8,8,8,24,24,24,24,24,24,24,28,28,28,28,28,28,28,28,28,28,5,5,5,5,5,5,5,5,5,28,28,28,28,28,28,28,28,28,29,29,29,5,5,6,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,6,5,5,5,5,6,6,5,5,6,5,5,5,4,4,8,8,8,8,8,8,8,8,8,8,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,5,6,5,5,6,6,6,5,6,5,5,5,6,6,29,29,29,29,29,29,29,29,24,24,24,24,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,6,6,6,6,6,6,6,6,5,5,5,5,5,5,5,5,6,6,5,5,29,29,29,24,24,24,24,24,8,8,8,8,8,8,8,8,8,8,29,29,29,4,4,4,8,8,8,8,8,8,8,8,8,8,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,3,3,3,3,3,3,24,24,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,24,24,24,24,24,24,24,24,29,29,29,29,29,29,29,29,5,5,5,24,5,5,5,5,5,5,5,5,5,5,5,5,5,6,5,5,5,5,5,5,5,4,4,4,4,5,4,4,4,4,6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,1,0,1,0,1,0,1,0,1,0,1,0,1,1,1,1,1,1,1,1,1,0,0,0,0,0,0,0,0,1,1,1,1,1,1,29,29,0,0,0,0,0,0,29,29,1,1,1,1,1,1,1,1,0,0,0,0,0,0,0,0,1,1,1,1,1,1,1,1,0,0,0,0,0,0,0,0,1,1,1,1,1,1,29,29,0,0,0,0,0,0,29,29,1,1,1,1,1,1,1,1,29,0,29,0,29,0,29,0,1,1,1,1,1,1,1,1,0,0,0,0,0,0,0,0,1,1,1,1,1,1,1,1,1,1,1,1,1,1,29,29,1,1,1,1,1,1,1,1,2,2,2,2,2,2,2,2,1,1,1,1,1,1,1,1,2,2,2,2,2,2,2,2,1,1,1,1,1,1,1,1,2,2,2,2,2,2,2,2,1,1,1,1,1,29,1,1,0,0,0,0,2,27,1,27,27,27,1,1,1,29,1,1,0,0,0,0,2,27,27,27,1,1,1,1,29,29,1,1,0,0,0,0,29,27,27,27,1,1,1,1,1,1,1,1,0,0,0,0,0,27,27,27,29,29,1,1,1,29,1,1,0,0,0,0,2,27,27,29,11,11,11,11,11,11,11,11,11,11,11,15,15,15,15,15,19,19,19,19,19,19,24,24,22,23,20,22,22,23,20,22,24,24,24,24,24,24,24,24,12,13,15,15,15,15,15,11,24,24,24,24,24,24,24,24,24,22,23,24,24,24,24,18,18,24,24,24,25,20,21,24,24,24,24,24,24,24,24,24,24,24,25,24,18,24,24,24,24,24,24,24,24,24,24,11,15,15,15,15,15,29,15,15,15,15,15,15,15,15,15,15,10,3,29,29,10,10,10,10,10,10,25,25,25,20,21,3,10,10,10,10,10,10,10,10,10,10,25,25,25,20,21,29,3,3,3,3,3,3,3,3,3,3,3,3,3,29,29,29,26,26,26,26,26,26,26,26,26,26,26,26,26,26,26,26,26,26,26,26,26,26,26,26,26,26,26,26,26,26,26,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,5,5,5,5,5,5,5,5,5,5,5,5,5,7,7,7,7,5,7,7,7,5,5,5,5,5,5,5,5,5,5,5,5,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,28,28,0,28,28,28,28,0,28,28,1,0,0,0,1,1,0,0,0,1,28,0,28,28,25,0,0,0,0,0,28,28,28,28,28,28,0,28,0,28,0,28,0,0,0,0,28,1,0,0,0,0,1,4,4,4,4,1,28,28,1,1,0,0,25,25,25,25,25,0,1,1,1,1,28,25,28,28,1,28,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,9,9,9,9,9,9,9,9,9,9,9,9,9,9,9,9,9,9,9,9,9,9,9,9,9,9,9,9,9,9,9,9,9,9,9,0,1,9,9,9,9,10,28,28,29,29,29,29,25,25,25,25,25,28,28,28,28,28,25,25,28,28,28,28,25,28,28,25,28,28,25,28,28,28,28,28,28,28,25,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,25,25,28,28,25,28,25,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,28,28,28,28,28,28,28,28,20,21,20,21,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,25,25,28,28,28,28,28,28,28,20,21,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,25,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,25,25,25,25,25,25,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,29,29,29,29,29,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,28,28,28,28,28,28,28,28,28,28,28,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,25,28,28,28,28,28,28,28,28,28,25,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,25,25,25,25,25,25,25,25,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,25,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,20,21,20,21,20,21,20,21,20,21,20,21,20,21,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,25,25,25,25,25,20,21,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,20,21,20,21,20,21,20,21,20,21,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,20,21,20,21,20,21,20,21,20,21,20,21,20,21,20,21,20,21,20,21,20,21,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,20,21,20,21,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,20,21,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,28,28,25,25,25,25,25,25,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,29,29,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,29,29,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,29,29,29,28,28,28,28,28,28,28,28,28,28,28,28,29,28,28,28,28,28,28,28,28,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,28,28,28,28,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,29,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,29,0,1,0,0,0,1,1,0,1,0,1,0,1,0,0,0,0,1,0,1,1,0,1,1,1,1,1,1,3,3,0,0,0,1,0,1,0,1,0,1,0,1,0,1,0,1,0,1,0,1,0,1,0,1,0,1,0,1,0,1,0,1,0,1,0,1,0,1,0,1,0,1,0,1,0,1,0,1,0,1,0,1,0,1,0,1,0,1,0,1,0,1,0,1,0,1,0,1,0,1,0,1,0,1,0,1,0,1,0,1,0,1,0,1,0,1,0,1,0,1,0,1,0,1,0,1,0,1,0,1,0,1,1,28,28,28,28,28,28,0,1,0,1,5,5,5,0,1,29,29,29,29,29,24,24,24,24,10,24,24,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,29,1,29,29,29,29,29,1,29,29,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,29,29,29,29,29,29,29,3,24,29,29,29,29,29,29,29,29,29,29,29,29,29,29,5,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,29,29,29,29,29,29,29,29,29,4,4,4,4,4,4,4,29,4,4,4,4,4,4,4,29,4,4,4,4,4,4,4,29,4,4,4,4,4,4,4,29,4,4,4,4,4,4,4,29,4,4,4,4,4,4,4,29,4,4,4,4,4,4,4,29,4,4,4,4,4,4,4,29,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,24,24,22,23,22,23,24,24,24,22,23,24,22,23,24,24,24,24,24,24,24,24,24,19,24,24,19,24,22,23,24,24,22,23,20,21,20,21,20,21,20,21,24,24,24,24,24,3,24,24,24,24,24,24,24,24,24,24,19,19,24,24,24,24,19,24,20,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,29,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,29,29,29,29,29,29,29,29,29,29,29,29,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,28,28,28,28,28,28,28,28,28,28,28,28,29,29,29,29,11,24,24,24,28,3,4,9,20,21,20,21,20,21,20,21,20,21,28,28,20,21,20,21,20,21,20,21,19,20,21,21,28,9,9,9,9,9,9,9,9,9,5,5,5,5,6,6,19,3,3,3,3,3,28,28,9,9,9,3,4,24,28,28,29,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,29,29,5,5,27,27,3,3,4,19,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,24,3,3,3,4,29,29,29,29,29,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,29,29,29,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,29,28,28,10,10,10,10,28,28,28,28,28,28,28,28,28,28,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,29,29,29,29,29,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,29,29,29,29,29,29,29,29,29,29,29,29,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,29,10,10,10,10,10,10,10,10,10,10,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,10,10,10,10,10,10,10,10,28,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,10,10,10,10,10,10,10,10,10,10,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,29,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28],i._table_9fc0=[4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,3,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4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,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,9,9,9,9,9,9,9,9,9,9,5,5,24,24,24,24,24,24,29,29,29,29,29,29,29,29,27,27,27,27,27,27,27,27,27,27,27,27,27,27,27,27,27,27,27,27,27,27,27,3,3,3,3,3,3,3,3,3,27,27,0,1,0,1,0,1,0,1,0,1,0,1,0,1,1,1,0,1,0,1,0,1,0,1,0,1,0,1,0,1,0,1,0,1,0,1,0,1,0,1,0,1,0,1,0,1,0,1,0,1,0,1,0,1,0,1,0,1,0,1,0,1,0,1,0,1,0,1,0,1,0,1,0,1,0,1,0,1,3,1,1,1,1,1,1,1,1,0,1,0,1,0,0,1,0,1,0,1,0,1,0,1,3,27,27,0,1,0,1,4,0,1,0,1,1,1,0,1,0,1,0,1,0,1,0,1,0,1,0,1,0,1,0,1,0,1,0,0,0,0,29,29,0,0,0,0,0,1,0,1,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,4,3,3,1,4,4,4,4,4,4,4,5,4,4,4,5,4,4,4,4,5,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,6,6,5,5,6,28,28,28,28,29,29,29,29,10,10,10,10,10,10,28,28,26,28,29,29,29,29,29,29,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,24,24,24,24,29,29,29,29,29,29,29,29,6,6,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4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,4,4,5,4,5,5,5,4,4,5,5,4,4,4,4,4,5,5,4,5,4,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,4,4,3,24,24,4,4,4,4,4,4,4,4,4,4,4,6,5,5,6,6,24,24,4,3,3,6,5,29,29,29,29,29,29,29,29,29,29,4,4,4,4,4,4,29,29,4,4,4,4,4,4,29,29,4,4,4,4,4,4,29,29,29,29,29,29,29,29,29,4,4,4,4,4,4,4,29,4,4,4,4,4,4,4,29,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,27,3,3,3,3,1,1,1,1,1,1,29,29,29,29,29,29,29,29,29,29,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,6,6,5,6,6,5,6,6,24,6,5,29,29,8,8,8,8,8,8,8,8,8,8,29,29,29,29,29,29],i._table_d780=[4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,29,29,29,29,29,29,29,29,29,29,29,29,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,29,29,29,29,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,29,29,29,29],i._table_fa40=[4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,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4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,21,20,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,29,29,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,4,4,4,4,4,4,4,4,4,4,4,4,26,28,29,29,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,24,24,24,24,24,24,24,20,21,24,29,29,29,29,29,29,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,24,19,19,18,18,20,21,20,21,20,21,20,21,20,21,20,21,20,21,20,21,24,24,20,21,24,24,24,24,18,18,18,24,24,24,29,24,24,24,24,19,20,21,20,21,20,21,24,24,24,25,19,25,25,25,29,24,26,24,24,29,29,29,29,4,4,4,4,4,29,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,29,29,15,29,24,24,24,26,24,24,24,20,21,24,25,24,19,24,24,8,8,8,8,8,8,8,8,8,8,24,24,25,25,25,24,24,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,20,24,21,27,18,27,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,20,25,21,25,20,21,24,20,21,24,24,4,4,4,4,4,4,4,4,4,4,3,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,3,3,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,29,29,29,4,4,4,4,4,4,29,29,4,4,4,4,4,4,29,29,4,4,4,4,4,4,29,29,4,4,4,29,29,29,26,26,25,27,28,26,26,29,28,25,25,25,25,28,28,29,29,29,29,29,29,29,29,29,29,15,15,15,28,28,29,29],e=i,r.Chars=e}(Stimulsoft=Stimulsoft||{}),function(m){var e,y,t;function r(){}y=e=m.System||(m.System={}),r.changeType=function(e,t){switch(t){case String:return e.toString();case Boolean:return e.stimulsoft.toBoolean();case Number:return e.stimulsoft.toNumber();case y.TimeSpan:return y.TimeSpan.fromString(e.toString());case y.DateTime:return y.DateTime.fromString(e.toString())}return e},r.changeType2=function(e,t){switch(t){case y.TypeCode.Empty:return e;case y.TypeCode.Object:return e;case y.TypeCode.DBNull:return e;case y.TypeCode.Boolean:return e.stimulsoft.toBoolean();case y.TypeCode.Char:return e.toString();case y.TypeCode.SByte:return e.stimulsoft.toNumber();case y.TypeCode.Byte:return e.stimulsoft.toNumber();case y.TypeCode.Int16:return e.stimulsoft.toNumber();case y.TypeCode.UInt16:return e.stimulsoft.toNumber();case y.TypeCode.Int32:return e.stimulsoft.toNumber();case y.TypeCode.UInt32:return e.stimulsoft.toNumber();case y.TypeCode.Int64:return e.stimulsoft.toNumber();case y.TypeCode.UInt64:return e.stimulsoft.toNumber();case y.TypeCode.Single:return e.stimulsoft.toNumber();case y.TypeCode.Double:return e.stimulsoft.toNumber();case y.TypeCode.Decimal:return e.stimulsoft.toNumber();case y.TypeCode.DateTime:return y.DateTime.fromString(e.toString());case y.TypeCode.String:return e.toString()}return e},r.toDateTime=function(e){if(e instanceof y.DateTime)return e;if("string"==typeof e)return y.DateTime.fromString(e);var t=Date.parse(e);if(isNaN(t))return e;return new y.DateTime(t)},r.toString=function(e){if(null==e)return"";return e.toString()},r.toFont=function(e){var t,r,n=[],i="",a=!1;try{for(var o=__values(e.split(",")),s=o.next();!s.done;s=o.next()){var u=s.value,l;a&&(null!=y.Enum.parse(y.Drawing.FontStyle,u.trim())?i+="|"+u.trim():a=!1),a||(0<=u.toLowerCase().indexOf("style")?(i=u.substr(u.indexOf("=")+1),a=!0):n.push(u))}}catch(e){t={error:e}}finally{try{s&&!s.done&&(r=o.return)&&r.call(o)}finally{if(t)throw t.error}}if(0<i.length&&n.splice(2,0,i),2==n.length)return new m.System.Drawing.Font(n[0],n[1].stimulsoft.toNumber());if(3==n.length)return new m.System.Drawing.Font(n[0],n[1].stimulsoft.toNumber(),y.Enum.parse(y.Drawing.FontStyle,n[2].stimulsoft.replaceAll("|",",")));if(4<=n.length)return new m.System.Drawing.Font(n[0],n[1].stimulsoft.toNumber(),y.Enum.parse(y.Drawing.FontStyle,n[2].stimulsoft.replaceAll("|",",")),y.Enum.parse(y.Drawing.GraphicsUnit,n[3]));return null},r.toBoolean=function(e){return!!e},r.toNumber=function(e){return+e},r.toDouble=function(e){return r.toNumber(e)},r.toInt32=function(e,t){return t?parseInt(e,t):r.toNumber(e)},r.toInt64=function(e){return r.toNumber(e)},r.toUInt64=function(e){return r.toNumber(e)},r.toUInt32=function(e){return r.toNumber(e)},r.toBase64String=function(e){if(void 0===e||null==e)return null;var t="";if("string"==typeof e)t=e,window&&window.atob&&(t=t.stimulsoft.toUnicodeString());else for(var r=new Uint8Array(e),n=0;n<r.byteLength;n++)t+=String.fromCharCode(r[n]);return window&&window.atob?window.btoa(t):y.Base64.encode(t)},r.fromBase64String=function(e){if(void 0===e||null==e)return null;var t=[];try{var r=window&&window.atob?window.atob(e.stimulsoft.replaceAll("\r\n","\n").stimulsoft.replaceAll("\n","")):y.Base64.decode(e);if(this.isUTF16LE(r))return this.fromUTF16LE(r);for(var n=0;n<r.length;n++)t.push(r.charCodeAt(n))}catch(e){}return t},r.fromBase64StringText=function(e){if(window&&window.atob)return window.atob(e).stimulsoft.fromUnicodeString();return y.Base64.decode(e)},r.fromUTF16LE=function(e){var t=[];if(e instanceof Array||e instanceof Uint8Array)for(var r=e,n=2;n<e.length;n+=2)t.push(r[n]|r[n+1]<<8);else if("string"==typeof e)for(var i=e,n=2;n<e.length;n+=2)t.push(i.charCodeAt(n)|i.charCodeAt(n+1)<<8);return t},r.isUTF16LE=function(e){if(e instanceof Array||e instanceof Uint8Array)return 255==e[0]&&254==e[1];if("string"==typeof e)return 255==e.charCodeAt(0)&&254==e.charCodeAt(1);return!1},r.keyStr="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=",t=r,y.Convert=t}(Stimulsoft=Stimulsoft||{}),function(e){var t,e,r;e=t=e.System||(e.System={}),(e=r=e.DayOfWeek||(e.DayOfWeek={}))[e["Sunday"]=0]="Sunday",e[e["Monday"]=1]="Monday",e[e["Tuesday"]=2]="Tuesday",e[e["Wednesday"]=3]="Wednesday",e[e["Thursday"]=4]="Thursday",e[e["Friday"]=5]="Friday",e[e["Saturday"]=6]="Saturday"}(Stimulsoft=Stimulsoft||{}),function(e){var t,s,e;function u(e,t){void 0===t&&(t=null),this.name=e,this.value=t}s=t=e.System||(e.System={}),u.getName=function(e,t){var r="";if(null==e[t]){for(var n in e){var i=+n;0!=i&&(t&i)==i&&(t-=i,r+=(0<r.length?", ":"")+e[i])}return 0==r.length&&(r=e[0]),r}return e[t]},u.parse=function(e,t,r){void 0===r&&(r=!0),"number"!=typeof t&&!s.Char.isDigit(t)||(t=u.getName(e,+t));for(var n=t.toString().split(","),i,a=0;a<n.length;a++){var o=r?this.upperFirstChar(n[a]):n[a];void 0===i?i=e[o]:i+=e[o]}return i},u.upperFirstChar=function(e){return 0<(e=e.trim()).length?e.charAt(0).toUpperCase()+e.slice(1):e},u.getNames=function(e){var t=[],r;for(r in e)"number"!=typeof e[r]&&t.push(e[r]);return t},u.getValues=function(e){var t=[],r;for(r in e)"number"!=typeof e[r]&&t.push(+r);return t},u.prototype.toString=function(){return this.name},u.prototype.compareTo=function(e){if(null!=this.value)return this.value.stimulsoft.compareTo(e.value);return this.name.stimulsoft.compareTo(e.name)},e=u,s.Enum=e}(Stimulsoft=Stimulsoft||{}),function(e){var t,r,e;function n(){}r=t=e.System||(e.System={}),Object.defineProperty(n,"newLine",{get:function(){return"\r\n"},enumerable:!1,configurable:!0}),e=n,r.Environment=e}(Stimulsoft=Stimulsoft||{}),function(e){var t,r,e;function n(){this.eventList=[]}r=t=e.System||(e.System={}),Object.defineProperty(n.prototype,"isNull",{get:function(){return 0==this.eventList.length},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"isNotNull",{get:function(){return!this.isNull},enumerable:!1,configurable:!0}),n.prototype.add=function(e,t){this.eventList.push({funct:e,_this:t})},n.prototype.call=function(){for(var t,e,r=[],n=0;n<arguments.length;n++)r[n]=arguments[n];try{for(var i=__values(this.eventList),a=i.next();!a.done;a=i.next()){var o=a.value;o.funct.apply(o._this,__spread([o._this],r))}}catch(e){t={error:e}}finally{try{a&&!a.done&&(e=i.return)&&e.call(i)}finally{if(t)throw t.error}}},e=n,r.Event=e}(Stimulsoft=Stimulsoft||{}),function(e){var t,r,n;function i(){}(r=t=e.System||(e.System={})).EventArgs=i}(Stimulsoft=Stimulsoft||{}),function(e){var t,r,a,e;function o(e){this.args=e.split(",").map(function(e){return e.split(":")[0]}).join(",")}r=t=e.System||(e.System={}),a=e.System.StiString,o.prototype.create=function(e,t){if(a.isNullOrEmpty(e))return null;var r;null!=t?r=t:null!=o._this&&(r=o._this);var n="",i="";null!=r&&"StiReport"==r.constructor.ssTypeName&&(r.dictionary.variables.list.forEach(function(e){a.isNullOrWhiteSpace(e.name)||(n+="var "+o.fixName(e.name)+' = this.getVariable("'+e.name+'");\r\n')}),n+="\r\n",r.dictionary.dataSources.list.forEach(function(e,t){n+="var "+o.fixName(e.name)+" = this.dictionary.dataSources.getByIndex("+t.toString()+");\r\n"}),n+="\r\n",i+=";\r\n\r\n",r.dictionary.variables.list.forEach(function(e){a.isNullOrWhiteSpace(e.name)||(i+='this.setVariable("'+e.name+'", '+o.fixName(e.name)+");\r\n")}));var e="try{\r\n"+' var scriptComponents = "var __report__components__ = this.getComponents();\\r\\n";\r\n'+" let __report__components__ = this.getComponents();\r\n"+" __report__components__.list.forEach(function(component, index){\r\n"+' scriptComponents += "var " + component.name.stimulsoft.replaceAll(" ", "_").stimulsoft.replaceAll(".", "_").stimulsoft.replaceAll(":", "_") + " = __report__components__.getByIndex(" + index.toString() + ");\\r\\n";\r\n'+" });\r\n"+' var script = "'+(n+e+i).stimulsoft.replaceAll('"','\\"').stimulsoft.replaceAll("\r","\\r").stimulsoft.replaceAll("\n","\\n")+'";\r\n'+' var functionn = new Function("'+this.args+'", scriptComponents + script);\r\n'+" functionn.call(this, "+this.args+");\r\n"+"}\r\n"+"catch(e) {\r\n"+" Stimulsoft.System.StiError.showError(e, true);\r\n"+"}",e=new Function(this.args,e);return null!=r&&(e=e.bind(r)),e},o.fixName=function(e){return e.stimulsoft.replaceAll(" ","_").stimulsoft.replaceAll(".","_").stimulsoft.replaceAll(":","_").stimulsoft.replaceAll("-","_").stimulsoft.replaceAll("+","_")},o.create=function(e,t){return o.handler.create(e,t)},o.handler=new o("sender: any, e: EventArgs"),e=o,r.EventHandler=e}(Stimulsoft=Stimulsoft||{}),function(e){var t,r,e,n;function i(e,t){var e=n.call(this,e)||this;return e.innerException=t,e}r=t=e.System||(e.System={}),n=Error,__extends(i,n),e=i,r.Exception=e}(Stimulsoft=Stimulsoft||{}),function(e){var t,r,e;function n(e){this.id=e.toLowerCase()}r=t=e.System||(e.System={}),n.newGuid=function(){return new n(n.s4()+n.s4()+"-"+n.s4()+"-"+n.s4()+"-"+n.s4()+"-"+n.s4()+n.s4()+n.s4())},n.newGuidString=function(){return n.s4()+n.s4()+n.s4()+n.s4()+n.s4()+n.s4()+n.s4()+n.s4()},n.s4=function(){return Math.floor(65536*(1+Math.random())).toString(16).substring(1)},n.prototype.toString=function(){return this.id},Object.defineProperty(n,"empty",{get:function(){return new n("00000000-0000-0000-0000-000000000000")},enumerable:!1,configurable:!0}),n.compareTo=function(e){return this.toString().localeCompare(e.toString())},e=n,r.Guid=e}(Stimulsoft=Stimulsoft||{}),function(e){var t,r;(r=t=e.System||(e.System={})).IAsIs=new e.System.Interface("IAsIs")}(Stimulsoft=Stimulsoft||{}),function(e){var t,r;(r=t=e.System||(e.System={})).ICloneable=new e.System.Interface("ICloneable")}(Stimulsoft=Stimulsoft||{}),function(e){var t,r;(r=t=e.System||(e.System={})).IComparable=new e.System.Interface("IComparable")}(Stimulsoft=Stimulsoft||{}),function(e){var t,r;(r=t=e.System||(e.System={})).IFormatProvider=new e.System.Interface("IFormatProvider")}(Stimulsoft=Stimulsoft||{}),function(e){var t,y,e;function d(){}y=t=e.System||(e.System={}),d.decode=function(e){return JSON.parse(e)},d.encode=function(e){return JSON.stringify(e)},d.stiPopulateObject=function(e,t){var r,n,i=typeof e,a=typeof t;if(y.StiObject.isNullOrUndefined(e)||"string"==i||"number"==i||"boolean"==i||"function"==i)return;if(y.StiObject.isNullOrUndefined(t)||"string"==a||"number"==a||"boolean"==a||"function"==a)return;var o=y.StiObject.getOwnPropertyNames(e);try{for(var s=__values(o),u=s.next();!u.done;u=s.next()){var l=u.value,m;Object.prototype.hasOwnProperty.call(t,l)&&(m=typeof t[l],y.StiObject.isNullOrUndefined(t[l])||"string"==m||"number"==m||"boolean"==m?t[l]=e[l]:d.stiPopulateObject(e[l],t[l]))}}catch(e){r={error:e}}finally{try{u&&!u.done&&(n=s.return)&&n.call(s)}finally{if(r)throw r.error}}},e=d,y.JSON2=e}(Stimulsoft=Stimulsoft||{}),Math.round2=function(e,t){if(void 0===t&&(t=0),Math.trunc(e)==e)return e;var r=e<0?-1:1;if(r<0&&(e=Math.abs(e)),0<t){var n=Math.pow(10,t);return Math.round(Math.round2(e*n,t-1))/n*r}return Math.round(e)*r},Math.trunc=function(e){return e<0?Math.ceil(e):Math.floor(e)},Math.sign=function(e){if(0==e||isNaN(e))return e;return 0<e?1:-1},Math.log10=function(e){return Math.log(e)/Math.LN10},function(e){var t,e,r;e=t=e.System||(e.System={}),(e=r=e.MidpointRounding||(e.MidpointRounding={}))[e["ToEven"]=0]="ToEven",e[e["AwayFromZero"]=1]="AwayFromZero"}(Stimulsoft=Stimulsoft||{}),null!==Object.saveAs&&void 0!==Object.saveAs||(Object.saveAs=function(e,t,r){void 0===r&&(r="application/octet-stream"),Stimulsoft.System.StiError.showError("The 'Object.saveAs' method is obsolete. Please use the 'Stimulsoft.System.StiObject.saveAs' method instead."),Stimulsoft.System.StiObject.saveAs(e,t,r)},Object.defineProperty(Object.prototype,"saveAs",{enumerable:!1,writable:!0})),function(R){var e;!function(e){var r=R.System.StiString,t=(n.isRangeType=function(e){switch(e){case i:case s:case m:case h:case p:case g:case w:case j:case _:case P:case H:case x:case R.System.StimulsoftByteRange:case R.System.StimulsoftCharRange:case R.System.StimulsoftDateTimeRange:case R.System.StimulsoftDecimalRange:case R.System.StimulsoftDoubleRange:case R.System.StimulsoftFloatRange:case R.System.StimulsoftGuidRange:case R.System.StimulsoftIntRange:case R.System.StimulsoftLongRange:case R.System.StimulsoftShortRange:case R.System.StimulsoftStringRange:case R.System.StimulsoftTimeSpanRange:return!0}return!1},Object.defineProperty(n.prototype,"rangeName",{get:function(){return null},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"rangeType",{get:function(){return null},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"fromObject",{get:function(){return null},set:function(e){},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"toObject",{get:function(){return null},set:function(e){},enumerable:!1,configurable:!0}),n.prototype.parse=function(e,t){if(this.rangeType==R.System.Char)r.isNullOrEmpty(e)||(this.fromObject=e[0]),r.isNullOrEmpty(t)||(this.toObject=t[0]);else if(this.rangeType==R.System.DateTime)try{r.isNullOrEmpty(e.trim())?this.fromObject=null:this.fromObject=new R.System.DateTime(Date.parse(e)),r.isNullOrEmpty(t.trim())?this.toObject=null:this.toObject=new R.System.DateTime(Date.parse(t))}catch(e){R.System.StiError.showError(e,!1)}else if(this.rangeType==R.System.TimeSpan)try{r.isNullOrEmpty(e.trim())?this.fromObject=null:this.fromObject=R.System.TimeSpan.fromString(e),r.isNullOrEmpty(t.trim())?this.toObject=null:this.toObject=R.System.TimeSpan.fromString(t)}catch(e){R.System.StiError.showError(e,!1)}else if(this.rangeType==R.System.Decimal)try{r.isNullOrEmpty(e.trim())?this.fromObject=0:this.fromObject=e.stimulsoft.toNumber(),r.isNullOrEmpty(t.trim())?this.toObject=0:this.toObject=t.stimulsoft.toNumber()}catch(e){R.System.StiError.showError(e,!1)}else if(this.rangeType==R.System.Single)try{r.isNullOrEmpty(e.trim())?this.fromObject=0:this.fromObject=e.stimulsoft.toNumber(),r.isNullOrEmpty(t.trim())?this.toObject=0:this.toObject=t.stimulsoft.toNumber()}catch(e){R.System.StiError.showError(e,!1)}else if(this.rangeType==R.System.Double)try{r.isNullOrEmpty(e.trim())?this.fromObject=0:this.fromObject=e.stimulsoft.toNumber(),r.isNullOrEmpty(t.trim())?this.toObject=0:this.toObject=t.stimulsoft.toNumber()}catch(e){R.System.StiError.showError(e,!1)}else if(this.rangeType==R.System.Byte)try{r.isNullOrEmpty(e.trim())?this.fromObject=0:this.fromObject=e.stimulsoft.toNumber(!1),r.isNullOrEmpty(t.trim())?this.toObject=0:this.toObject=t.stimulsoft.toNumber(!1)}catch(e){R.System.StiError.showError(e,!1)}else if(this.rangeType==R.System.Int16)try{r.isNullOrEmpty(e.trim())?this.fromObject=0:this.fromObject=e.stimulsoft.toNumber(!1),r.isNullOrEmpty(t.trim())?this.toObject=0:this.toObject=t.stimulsoft.toNumber(!1)}catch(e){R.System.StiError.showError(e,!1)}else if(this.rangeType==R.System.Int32)try{r.isNullOrEmpty(e.trim())?this.fromObject=0:this.fromObject=e.stimulsoft.toNumber(!1),r.isNullOrEmpty(t.trim())?this.toObject=0:this.toObject=t.stimulsoft.toNumber(!1)}catch(e){R.System.StiError.showError(e,!1)}else if(this.rangeType==R.System.Int64)try{r.isNullOrEmpty(e.trim())?this.fromObject=0:this.fromObject=e.stimulsoft.toNumber(!1),r.isNullOrEmpty(t.trim())?this.toObject=0:this.toObject=t.stimulsoft.toNumber(!1)}catch(e){R.System.StiError.showError(e,!1)}else if(this.rangeType==R.System.Guid)try{this.fromObject=new R.System.Guid(e),this.toObject=new R.System.Guid(t)}catch(e){R.System.StiError.showError(e,!1)}else this.rangeType==String&&(this.fromObject=e,this.toObject=t)},n.prototype.equals=function(e){var e=e.stimulsoft.as(n);if(null==e)return!1;return this.fromObject==e.fromObject&&0==this.fromObject.stimulsoft.compareTo(e.fromObject)&&0==this.toObject.stimulsoft.compareTo(e.toObject)},Object.defineProperty(n.prototype,"fromStrLoc",{get:function(){if(R["Base"])return R["Base"].Localization.StiLocalization.get("PropertyMain","RangeFrom");return"From"},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"toStrLoc",{get:function(){if(R["Base"])return R["Base"].Localization.StiLocalization.get("PropertyMain","RangeTo");return"To"},enumerable:!1,configurable:!0}),n.prototype.getHashCode=function(){return null},n);function n(){return}e.Range=t;var i=(__extends(o,a=t),Object.defineProperty(o.prototype,"rangeName",{get:function(){return"CharRange"},enumerable:!1,configurable:!0}),Object.defineProperty(o.prototype,"rangeType",{get:function(){return R.System.Char},enumerable:!1,configurable:!0}),Object.defineProperty(o.prototype,"fromObject",{get:function(){return this.from},set:function(e){"string"==typeof e&&(this.from=e)},enumerable:!1,configurable:!0}),Object.defineProperty(o.prototype,"toObject",{get:function(){return this.to},set:function(e){"string"==typeof e&&(this.to=e)},enumerable:!1,configurable:!0}),o.prototype.contains=function(e){return this.from<=e&&this.to>=e},o),a;function o(e,t){var r=a.call(this)||this;return r.from="A",r.to="Z",null!=e&&(r.from=e),null!=t&&(r.to=t),r}e.CharRange=i;var s=(__extends(l,u=t),Object.defineProperty(l.prototype,"rangeName",{get:function(){return"DateTimeRange"},enumerable:!1,configurable:!0}),Object.defineProperty(l.prototype,"rangeType",{get:function(){return R.System.DateTime},enumerable:!1,configurable:!0}),Object.defineProperty(l.prototype,"fromObject",{get:function(){return this.from},set:function(e){e instanceof R.System.DateTime&&(this.from=e)},enumerable:!1,configurable:!0}),Object.defineProperty(l.prototype,"toObject",{get:function(){return this.to},set:function(e){e instanceof R.System.DateTime&&(this.to=e)},enumerable:!1,configurable:!0}),Object.defineProperty(l.prototype,"fromDate",{get:function(){if(null==this.from)return R.System.DateTime.minValue;return this.from},enumerable:!1,configurable:!0}),Object.defineProperty(l.prototype,"toDate",{get:function(){if(null==this.to)return R.System.DateTime.maxValue;return this.to},enumerable:!1,configurable:!0}),l.prototype.contains=function(e){if(null==this.from&&null==this.to)return!0;if(null==e)return!1;if(null==this.from&&null!=this.to)return this.to>=e;if(null!=this.from&&null==this.to)return this.from<=e;return this.from<=e&&this.to>=e},l.prototype.toString=function(){var e=null!=this.from?r.format("{0:d}",this.from):"-",t=null!=this.to?r.format("{0:d}",this.to):"-";return r.format("{0} {1} {2} {3}",this.fromStrLoc,e,this.toStrLoc.toLowerCase(),t)},l),u;function l(e,t){var r=u.call(this)||this;return r.from=null,(r.to=null)!=e&&(r.from=e),null!=t&&(r.to=t),r}e.DateTimeRange=s;var m=(__extends(d,y=t),Object.defineProperty(d.prototype,"rangeName",{get:function(){return"TimeSpanRange"},enumerable:!1,configurable:!0}),Object.defineProperty(d.prototype,"rangeType",{get:function(){return R.System.TimeSpan},enumerable:!1,configurable:!0}),Object.defineProperty(d.prototype,"fromObject",{get:function(){return this.from},set:function(e){e instanceof R.System.TimeSpan&&(this.from=e)},enumerable:!1,configurable:!0}),Object.defineProperty(d.prototype,"toObject",{get:function(){return this.to},set:function(e){e instanceof R.System.TimeSpan&&(this.to=e)},enumerable:!1,configurable:!0}),Object.defineProperty(d.prototype,"fromTime",{get:function(){if(null==this.from)return R.System.TimeSpan.minValue;return this.from},enumerable:!1,configurable:!0}),Object.defineProperty(d.prototype,"toTime",{get:function(){if(null==this.to)return R.System.TimeSpan.maxValue;return this.to},enumerable:!1,configurable:!0}),d.prototype.contains=function(e){if(null==this.from&&null==this.to)return!0;if(null==e)return!1;if(null==this.from&&null!=this.to)return this.to>=e;if(null!=this.from&&null==this.to)return this.from<=e;return this.from<=e&&this.to>=e},d.prototype.toString=function(){var e=null!=this.from?r.format("{0}",this.from):"-",t=null!=this.to?r.format("{0}",this.to):"-";return r.format("{0} {1} {2} {3}",this.fromStrLoc,e,this.toStrLoc.toLowerCase(),t)},d),y;function d(e,t){var r=y.call(this)||this;return r.from=null,(r.to=null)!=e&&(r.from=e),null!=t&&(r.to=t),r}e.TimeSpanRange=m;var h=(__extends(f,c=t),Object.defineProperty(f.prototype,"rangeName",{get:function(){return"DecimalRange"},enumerable:!1,configurable:!0}),Object.defineProperty(f.prototype,"rangeType",{get:function(){return R.System.Decimal},enumerable:!1,configurable:!0}),Object.defineProperty(f.prototype,"fromObject",{get:function(){return this.from},set:function(e){"number"==typeof e&&(this.from=e)},enumerable:!1,configurable:!0}),Object.defineProperty(f.prototype,"toObject",{get:function(){return this.to},set:function(e){"number"==typeof e&&(this.to=e)},enumerable:!1,configurable:!0}),f.prototype.contains=function(e){return this.from<=e&&this.to>=e},f),c;function f(e,t){var r=c.call(this)||this;return r.from=0,r.to=0,null!=e&&(r.from=e),null!=t&&(r.to=t),r}e.DecimalRange=h;var p=(__extends(b,M=t),Object.defineProperty(b.prototype,"rangeName",{get:function(){return"FloatRange"},enumerable:!1,configurable:!0}),Object.defineProperty(b.prototype,"rangeType",{get:function(){return R.System.Single},enumerable:!1,configurable:!0}),Object.defineProperty(b.prototype,"fromObject",{get:function(){return this.from},set:function(e){"number"==typeof e&&(this.from=e)},enumerable:!1,configurable:!0}),Object.defineProperty(b.prototype,"toObject",{get:function(){return this.to},set:function(e){"number"==typeof e&&(this.to=e)},enumerable:!1,configurable:!0}),b.prototype.contains=function(e){return this.from<=e&&this.to>=e},b),M;function b(e,t){var r=M.call(this)||this;return r.from=0,r.to=0,null!=e&&(r.from=e),null!=t&&(r.to=t),r}e.FloatRange=p;var g=(__extends(S,v=t),Object.defineProperty(S.prototype,"rangeName",{get:function(){return"DoubleRange"},enumerable:!1,configurable:!0}),Object.defineProperty(S.prototype,"rangeType",{get:function(){return R.System.Double},enumerable:!1,configurable:!0}),Object.defineProperty(S.prototype,"fromObject",{get:function(){return this.from},set:function(e){"number"==typeof e&&(this.from=e)},enumerable:!1,configurable:!0}),Object.defineProperty(S.prototype,"toObject",{get:function(){return this.to},set:function(e){"number"==typeof e&&(this.to=e)},enumerable:!1,configurable:!0}),S.prototype.contains=function(e){return this.from<=e&&this.to>=e},S),v;function S(e,t){var r=v.call(this)||this;return r.from=0,r.to=0,null!=e&&(r.from=e),null!=t&&(r.to=t),r}e.DoubleRange=g;var w=(__extends(I,N=t),Object.defineProperty(I.prototype,"rangeName",{get:function(){return"ByteRange"},enumerable:!1,configurable:!0}),Object.defineProperty(I.prototype,"rangeType",{get:function(){return R.System.Byte},enumerable:!1,configurable:!0}),Object.defineProperty(I.prototype,"fromObject",{get:function(){return this.from},set:function(e){"number"==typeof e&&(this.from=e)},enumerable:!1,configurable:!0}),Object.defineProperty(I.prototype,"toObject",{get:function(){return this.to},set:function(e){"number"==typeof e&&(this.to=e)},enumerable:!1,configurable:!0}),I.prototype.contains=function(e){return this.from<=e&&this.to>=e},I),N;function I(e,t){var r=N.call(this)||this;return r.from=0,r.to=0,null!=e&&(r.from=e),null!=t&&(r.to=t),r}e.ByteRange=w;var j=(__extends(k,T=t),Object.defineProperty(k.prototype,"rangeName",{get:function(){return"ShortRange"},enumerable:!1,configurable:!0}),Object.defineProperty(k.prototype,"rangeType",{get:function(){return R.System.Int16},enumerable:!1,configurable:!0}),Object.defineProperty(k.prototype,"fromObject",{get:function(){return this.from},set:function(e){"number"==typeof e&&(this.from=e)},enumerable:!1,configurable:!0}),Object.defineProperty(k.prototype,"toObject",{get:function(){return this.to},set:function(e){"number"==typeof e&&(this.to=e)},enumerable:!1,configurable:!0}),k.prototype.contains=function(e){return this.from<=e&&this.to>=e},k),T;function k(e,t){var r=T.call(this)||this;return r.from=0,r.to=0,null!=e&&(r.from=e),null!=t&&(r.to=t),r}e.ShortRange=j;var _=(__extends(F,D=t),Object.defineProperty(F.prototype,"rangeName",{get:function(){return"IntRange"},enumerable:!1,configurable:!0}),Object.defineProperty(F.prototype,"rangeType",{get:function(){return R.System.Int32},enumerable:!1,configurable:!0}),Object.defineProperty(F.prototype,"fromObject",{get:function(){return this.from},set:function(e){"number"==typeof e&&(this.from=e)},enumerable:!1,configurable:!0}),Object.defineProperty(F.prototype,"toObject",{get:function(){return this.to},set:function(e){"number"==typeof e&&(this.to=e)},enumerable:!1,configurable:!0}),F.prototype.contains=function(e){return this.from<=e&&this.to>=e},F),D;function F(e,t){var r=D.call(this)||this;return r.from=0,r.to=0,null!=e&&(r.from=e),null!=t&&(r.to=t),r}e.IntRange=_;var P=(__extends(C,O=t),Object.defineProperty(C.prototype,"rangeName",{get:function(){return"LongRange"},enumerable:!1,configurable:!0}),Object.defineProperty(C.prototype,"rangeType",{get:function(){return R.System.Int64},enumerable:!1,configurable:!0}),Object.defineProperty(C.prototype,"fromObject",{get:function(){return this.from},set:function(e){"number"==typeof e&&(this.from=e)},enumerable:!1,configurable:!0}),Object.defineProperty(C.prototype,"toObject",{get:function(){return this.to},set:function(e){"number"==typeof e&&(this.to=e)},enumerable:!1,configurable:!0}),C.prototype.contains=function(e){return this.from<=e&&this.to>=e},C),O;function C(e,t){var r=O.call(this)||this;return r.from=0,r.to=0,null!=e&&(r.from=e),null!=t&&(r.to=t),r}e.LongRange=P;var H=(__extends(E,A=t),Object.defineProperty(E.prototype,"rangeName",{get:function(){return"GuidRange"},enumerable:!1,configurable:!0}),Object.defineProperty(E.prototype,"rangeType",{get:function(){return R.System.Guid},enumerable:!1,configurable:!0}),Object.defineProperty(E.prototype,"fromObject",{get:function(){return this.from},set:function(e){e instanceof R.System.Guid&&(this.from=e)},enumerable:!1,configurable:!0}),Object.defineProperty(E.prototype,"toObject",{get:function(){return this.to},set:function(e){e instanceof R.System.Guid&&(this.to=e)},enumerable:!1,configurable:!0}),E.prototype.contains=function(e){return this.from.stimulsoft.compareTo(e)<=0&&0<=this.to.stimulsoft.compareTo(e)},E),A;function E(e,t){var r=A.call(this)||this;return r.from=R.System.Guid.empty,r.to=R.System.Guid.empty,null!=e&&(r.from=e),null!=t&&(r.to=t),r}e.GuidRange=H;var x=(__extends(L,B=t),Object.defineProperty(L.prototype,"rangeName",{get:function(){return"StringRange"},enumerable:!1,configurable:!0}),Object.defineProperty(L.prototype,"rangeType",{get:function(){return String},enumerable:!1,configurable:!0}),Object.defineProperty(L.prototype,"fromObject",{get:function(){return this.from},set:function(e){"string"==typeof e&&(this.from=e)},enumerable:!1,configurable:!0}),Object.defineProperty(L.prototype,"toObject",{get:function(){return this.to},set:function(e){"string"==typeof e&&(this.to=e)},enumerable:!1,configurable:!0}),L.prototype.contains=function(e){if(null==this.from&&null==this.to)return!0;if(null==e)return!0;if(null==this.from&&null!=this.to)return 0<=this.to.stimulsoft.compareTo(e.toString());if(null!=this.from&&null==this.to)return this.from.stimulsoft.compareTo(e.toString())<=0;return this.from.stimulsoft.compareTo(e.toString())<=0&&0<=this.to.stimulsoft.compareTo(e.toString())},L),B;function L(e,t){var r=B.call(this)||this;return r.from="",r.to="",null!=e&&(r.from=e),null!=t&&(r.to=t),r}e.StringRange=x}(e=R.Report||(R.Report={}))}(Stimulsoft=Stimulsoft||{}),function(e){var t,r,e;function n(){this.resource=[{name:"DHSBigSeparator",value:"dirhams",comment:"Separator for big numbers"},{name:"DHSCentGender",value:"1",comment:"0 : neutral - 1 : male - 2 : female"},{name:"DHSCentPlural",value:"centimes"},{name:"DHSCentSingle",value:"centime"},{name:"DHSGender",value:"1",comment:"0 : neutral - 1 : male - 2 : female"},{name:"DHSPlural",value:"dirhams"},{name:"DHSSingle",value:"dirham"},{name:"EURBigSeparator",value:"euros",comment:"Separator for big numbers"},{name:"EURCentGender",value:"1",comment:"0 : neutral - 1 : male - 2 : female"},{name:"EURCentPlural",value:"cents"},{name:"EURCentSingle",value:"cent"},{name:"EURGender",value:"1",comment:"0 : neutral - 1 : male - 2 : female"},{name:"EURPlural",value:"euros"},{name:"EURSingle",value:"euro"},{name:"GBPBigSeparator",value:"pounds",comment:"Separator for big numbers"},{name:"GBPCentGender",value:"1",comment:"0 : neutral - 1 : male - 2 : female"},{name:"GBPCentPlural",value:"pence"},{name:"GBPCentSingle",value:"penny"},{name:"GBPGender",value:"2",comment:"0 : neutral - 1 : male - 2 : female"},{name:"GBPPlural",value:"pounds"},{name:"GBPSingle",value:"pound"},{name:"MXNBigSeparator",value:"pesos",comment:"Separator for big numbers"},{name:"MXNCentGender",value:"1",comment:"0 : neutral - 1 : male - 2 : female"},{name:"MXNCentPlural",value:"centavos"},{name:"MXNCentSingle",value:"centavo"},{name:"MXNGender",value:"1",comment:"0 : neutral - 1 : male - 2 : female"},{name:"MXNPlural",value:"pesos"},{name:"MXNSingle",value:"peso"},{name:"TooLongError",value:"the number is too big"},{name:"USDBigSeparator",value:"dollars\tSeparator for big numbers"},{name:"USDCentGender",value:"1",comment:"0 : neutral - 1 : male - 2 : female"},{name:"USDCentPlural",value:"cents"},{name:"USDCentSingle",value:"cent"},{name:"USDGender",value:"1",comment:"0 : neutral - 1 : male - 2 : female"},{name:"USDPlural",value:"dollars"},{name:"USDSingle",value:"dollar"}]}r=t=e.System||(e.System={}),n.prototype.getString=function(e,t){var r,n;try{for(var i=__values(this.resource),a=i.next();!a.done;a=i.next()){var o=a.value;if(o.name==e)return o.value}}catch(e){r={error:e}}finally{try{a&&!a.done&&(n=i.return)&&n.call(i)}finally{if(r)throw r.error}}return""},e=n,r.ResourceManager=e}(Stimulsoft=Stimulsoft||{}),function(n){var e,t,r;function i(){}t=e=n.System||(n.System={}),i.showError=function(e,t){void 0===t&&(t=!0);var r=e;null!=e&&null!=e["message"]&&(r=e.message),t&&this.lastErrorMessage!=r&&i.errorMessageForm&&(i.errorMessageForm.show(r,!1),this.lastErrorMessage=r),n.System.NodeJs.consoleLog&&console.log(r)},i.lastErrorMessage="",r=i,t.StiError=r}(Stimulsoft=Stimulsoft||{}),function(e){var t,r,e;function n(){this._timeout=-1,this._callTry=!1,this._callCatch=!1,this._callFinaly=!1,this._callTimeout=!0,this.assignFunction=!1,this._catchFunctions=[],this.nextPromises=[],this._startTime=Date.now(),this._tryFunctions=[]}r=t=e.System||(e.System={}),n.prototype.try=function(e,t){return void 0===t&&(t=null),null!=t&&(this._this=t),this.assignFunction=!0,this._tryFunctions.push(e),this._callTry&&this.callTry(this.returnValue),this},n.prototype.catch=function(e,t){return void 0===t&&(t=null),null!=t&&(this._this=t),this.assignFunction=!0,this._catchFunctions.push(e),this._callCatch&&this.callCatch(this._catchArgument),this},n.prototype.finally=function(e,t){return void 0===t&&(t=null),null!=t&&(this._this=t),this._finallyFunction=e,this._callFinaly&&this.callFinally(this._finalyArgument),this},n.prototype.this=function(e){return this._this=e,this},n.prototype.timeout=function(e){var t=this;return this._callTimeout&&(this._timeout=e,this.timeoutHanderId=setTimeout(function(){t.callCatch("Timeout response from the server.")},this._timeout)),this},n.prototype.callTry=function(e){var t,r;if(void 0===e&&(e=null),this.returnValue=e,0<this._tryFunctions.length){clearTimeout(this.timeoutHanderId);try{for(var n=__values(this._tryFunctions),i=n.next(),a;!i.done;i=n.next()){i.value.apply(this._this,[this.returnValue])}}catch(e){t={error:e}}finally{try{i&&!i.done&&(r=n.return)&&r.call(n)}finally{if(t)throw t.error}}this.callFinally(this.returnValue)}else this.assignFunction?this.callFinally(this.returnValue):(this._callTry=!0,this._callFinaly=!0,this._callTimeout=!1,this._finalyArgument=this._catchArgument);return this},n.prototype.callCatch=function(e){var t,r;if(void 0===e&&(e=null),this._catchArgument=e,0<this._catchFunctions.length){clearTimeout(this.timeoutHanderId);try{for(var n=__values(this._catchFunctions),i=n.next(),a;!i.done;i=n.next()){(0,i.value)(this._catchArgument)}}catch(e){t={error:e}}finally{try{i&&!i.done&&(r=n.return)&&r.call(n)}finally{if(t)throw t.error}}this.callFinally(this._catchArgument)}else this.assignFunction?this.callFinally(this._catchArgument):(this._callCatch=!0,this._callFinaly=!0,this._callTimeout=!1,this._finalyArgument=this._catchArgument)},n.prototype.callFinally=function(e){this._callFinaly=!1,this._callTimeout=!1,this._finalyArgument=e,this._finallyFunction?this._finallyFunction(this._finalyArgument):this._callFinaly=!0},n.prototype.callTimeout=function(){if(-1!=this._timeout&&Date.now()-this._startTime>this._timeout)throw new Error("")},n.prototype.abort=function(e){var t,r;if(void 0===e&&(e=null),null!=e)e.nextPromises.push(this);else{try{for(var n=__values(this.nextPromises),i=n.next(),a;!i.done;i=n.next()){i.value.abort()}}catch(e){t={error:e}}finally{try{i&&!i.done&&(r=n.return)&&r.call(n)}finally{if(t)throw t.error}}null!=this.abortFunction&&this.abortFunction(),clearTimeout(this.timeoutHanderId)}return this},n.prototype.onAbort=function(e){this.abortFunction=e},e=n,r.StiPromise=e}(Stimulsoft=Stimulsoft||{}),function(e){var t,e,r;e=t=e.System||(e.System={}),(e=r=e.StringComparison||(e.StringComparison={}))[e["CurrentCulture"]=0]="CurrentCulture",e[e["CurrentCultureIgnoreCase"]=1]="CurrentCultureIgnoreCase",e[e["InvariantCulture"]=2]="InvariantCulture",e[e["InvariantCultureIgnoreCase"]=3]="InvariantCultureIgnoreCase",e[e["Ordinal"]=4]="Ordinal",e[e["OrdinalIgnoreCase"]=5]="OrdinalIgnoreCase"}(Stimulsoft=Stimulsoft||{}),function(e){var t,r,e;function n(e){void 0===e&&(e="#"),this.numberSymbol=e,this.isValid=!0}r=t=e.System||(e.System={}),n.prototype.formatValue=function(e,t){for(var r="",n=0,i=e.length,a=0,o;a<i;a++){e.charAt(a)==this.numberSymbol?r+=t.charAt(n++):r+=e.charAt(a)}return r},e=n,r.SwitchSymbolFormatter=e}(Stimulsoft=Stimulsoft||{}),function(e){var t,e,r;e=t=e.System||(e.System={}),(e=r=e.TypeCode||(e.TypeCode={}))[e["Empty"]=0]="Empty",e[e["Object"]=1]="Object",e[e["DBNull"]=2]="DBNull",e[e["Boolean"]=3]="Boolean",e[e["Char"]=4]="Char",e[e["SByte"]=5]="SByte",e[e["Byte"]=6]="Byte",e[e["Int16"]=7]="Int16",e[e["UInt16"]=8]="UInt16",e[e["Int32"]=9]="Int32",e[e["UInt32"]=10]="UInt32",e[e["Int64"]=11]="Int64",e[e["UInt64"]=12]="UInt64",e[e["Single"]=13]="Single",e[e["Double"]=14]="Double",e[e["Decimal"]=15]="Decimal",e[e["DateTime"]=16]="DateTime",e[e["String"]=18]="String"}(Stimulsoft=Stimulsoft||{}),function(_r){var e;!function(r){var n=_r.System.TypeCode,e=(t.getTypes=function(){return null==t.types&&(t.types=[o,u,r.Char,r.DateTime,r.TimeSpan,m,d,r.Guid,p,b,I,v,w,T,Object,_,F,A,W,C,x,L,J,_r.System.Drawing.Image,U,Y,Q,te,ie,se,me,fe,be,Se,Fe,Ie,ke,Ce,Ee,Le,Ke,et,ze,Ve,nt,Ze,ot,lt,dt,ft,bt,St,It,kt,Ft,Ct,Et,Lt,Jt,Ut,Yt,Qt,tr,ir,sr,mr,hr,pr,gr,wr,jr,Number,Array,Boolean,String]),t.types},t.isValueType=function(e){return e==Boolean||e==o||e==r.Char||e==r.DateTime||e==r.TimeSpan||e==Number||e==c||e==m||e==d||e==r.Guid||e==b||e==v||e==w||e==Object||e==_||e==F||e==String||e==A||e==x||e==L||e==_r.System.Drawing.Image||e==U||e==Y||e==Q||e==te||e==ie||e==se||e==me||e==fe||e==Se||e==Ie||e==ke||e==Ee||e==Le||e==Ke||e==Ve||e==Ze},t);function t(){}r.TypeHelper=e;var i=(a.prototype.apply=function(e,t){return null},a.prototype.call=function(e){for(var t=[],r=1;r<arguments.length;r++)t[r-1]=arguments[r];return null},a.prototype.bind=function(e){for(var t=[],r=1;r<arguments.length;r++)t[r-1]=arguments[r];return null},a.getType=function(e){if(null==e)return null;if("string"==typeof e)return String;if("number"==typeof e)return Number;if("boolean"==typeof e)return Boolean;return(e.__proto__||Object.getPrototypeOf(e)).constructor},a.getTypeName=function(e){return e.stimulsoft.getType().stimulsoft.getTypeName()},a.getTypeCode=function(e){var t;switch(a.getType(e)){case Object:return n.Object;case Boolean:return n.Boolean;case r.Char:return n.Char;case _:return n.SByte;case o:return n.Byte;case b:return n.Int16;case A:return n.UInt16;case v:return n.Int32;case x:return n.UInt32;case w:return n.Int64;case L:return n.UInt64;case F:return n.Single;case d:return n.Double;case Number:case m:return n.Decimal;case r.DateTime:return n.DateTime;case String:return n.String}return n.Empty},a.isNumericType=function(e){if(null==e)return!1;if(_==e)return!0;if(o==e)return!0;if(I==e)return!0;if(W==e)return!0;if(p==e||b==e||v==e||w==e)return!0;if(C==e||A==e||x==e||L==e)return!0;if(T==e)return!0;if(J==e)return!0;if(c==e)return!0;if(d==e)return!0;if(m==e)return!0;if(Number==e)return!0;return!1},a.isIntegerType=function(e){if(null==e)return!1;if(_==e)return!0;if(o==e)return!0;if(I==e)return!0;if(W==e)return!0;if(p==e||b==e||v==e||w==e)return!0;if(C==e||A==e||x==e||L==e)return!0;if(T==e)return!0;if(J==e)return!0;return!1},a.isDateType=function(e){if(null==e)return!1;return e==r.DateTime||e==r.TimeSpan},a.getHashCode=function(e){return 0},a);function a(){}(r.Type=i).prototype=Function.prototype;var o=s;function s(){}r.Byte=o;var u=(l.getTypeName=function(){return"Byte[]"},l.getNetTypeName=function(){return"System.Byte[]"},l);function l(){}r.ByteArray=u;var m=y;function y(){}r.Decimal=m;var d=h;function h(){}r.Double=d;var c=f;function f(){}r.Float=c;var p=M;function M(){}r.Int=p;var b=g;function g(){}r.Int16=b;var v=S;function S(){}r.Int32=v;var w=N;function N(){}r.Int64=w;var I=j;function j(){}r.Short=I;var T=k;function k(){}r.Long=T;var _=D;function D(){}r.SByte=_;var F=(P=Number,__extends(O,P),O),P;function O(){return null!==P&&P.apply(this,arguments)||this}r.Single=F;var C=H;function H(){}r.UInt=C;var A=E;function E(){}r.UInt16=A;var x=B;function B(){}r.UInt32=x;var L=R;function R(){}r.UInt64=L;var W=z;function z(){}r.UShort=W;var J=G;function G(){}r.ULong=J;var e=K;function K(){}r.Nullable=e;var U=(__extends(V,q=e),V.getTypeName=function(){return"Nullable`1"},V.getNetTypeName=function(){return"System.Nullable`1[System.Boolean]"},V),q;function V(){return null!==q&&q.apply(this,arguments)||this}r.NullableBoolean=U;var Y=(__extends(Z,X=e),Z.getTypeName=function(){return"Nullable`1"},Z.getNetTypeName=function(){return"System.Nullable`1[System.Byte]"},Z),X;function Z(){return null!==X&&X.apply(this,arguments)||this}r.NullableByte=Y;var Q=(__extends(ee,$=e),ee.getTypeName=function(){return"Nullable`1"},ee.getNetTypeName=function(){return"System.Nullable`1[System.Char]"},ee),$;function ee(){return null!==$&&$.apply(this,arguments)||this}r.NullableChar=Q;var te=(__extends(ne,re=e),ne.getTypeName=function(){return"Nullable`1"},ne.getNetTypeName=function(){return"System.Nullable`1[System.DateTime]"},ne),re;function ne(){return null!==re&&re.apply(this,arguments)||this}r.NullableDateTime=te;var ie=(__extends(oe,ae=e),oe.getTypeName=function(){return"Nullable`1"},oe.getNetTypeName=function(){return"System.Nullable`1[System.TimeSpan]"},oe),ae;function oe(){return null!==ae&&ae.apply(this,arguments)||this}r.NullableTimeSpan=ie;var se=(__extends(le,ue=e),le.getTypeName=function(){return"Nullable`1"},le.getNetTypeName=function(){return"System.Nullable`1[System.Decimal]"},le),ue;function le(){return null!==ue&&ue.apply(this,arguments)||this}r.NullableDecimal=se;var me=(__extends(de,ye=e),de.getTypeName=function(){return"Nullable`1"},de.getNetTypeName=function(){return"System.Nullable`1[System.Double]"},de),ye;function de(){return null!==ye&&ye.apply(this,arguments)||this}r.NullableDouble=me;var i=(__extends(ce,he=e),ce.getTypeName=function(){return"Nullable`1"},ce.getNetTypeName=function(){return"System.Nullable`1[System.Float]"},ce),he;function ce(){return null!==he&&he.apply(this,arguments)||this}r.NullableFloat=i;var fe=(__extends(Me,pe=e),Me.getTypeName=function(){return"Nullable`1"},Me.getNetTypeName=function(){return"System.Nullable`1[System.Guid]"},Me),pe;function Me(){return null!==pe&&pe.apply(this,arguments)||this}r.NullableGuid=fe;var be=(__extends(ve,ge=e),ve.getTypeName=function(){return"Nullable`1"},ve.getNetTypeName=function(){return"System.Nullable`1[System.Int]"},ve),ge;function ve(){return null!==ge&&ge.apply(this,arguments)||this}r.NullableInt=be;var Se=(__extends(Ne,we=e),Ne.getTypeName=function(){return"Nullable`1"},Ne.getNetTypeName=function(){return"System.Nullable`1[System.Int16]"},Ne),we;function Ne(){return null!==we&&we.apply(this,arguments)||this}r.NullableInt16=Se;var Ie=(__extends(Te,je=e),Te.getTypeName=function(){return"Nullable`1"},Te.getNetTypeName=function(){return"System.Nullable`1[System.Int32]"},Te),je;function Te(){return null!==je&&je.apply(this,arguments)||this}r.NullableInt32=Ie;var ke=(__extends(De,_e=e),De.getTypeName=function(){return"Nullable`1"},De.getNetTypeName=function(){return"System.Nullable`1[System.Int64]"},De),_e;function De(){return null!==_e&&_e.apply(this,arguments)||this}r.NullableInt64=ke;var Fe=(__extends(Oe,Pe=e),Oe.getTypeName=function(){return"Nullable`1"},Oe.getNetTypeName=function(){return"System.Nullable`1[System.Short]"},Oe),Pe;function Oe(){return null!==Pe&&Pe.apply(this,arguments)||this}r.NullableShort=Fe;var Ce=(__extends(Ae,He=e),Ae.getTypeName=function(){return"Nullable`1"},Ae.getNetTypeName=function(){return"System.Nullable`1[System.Long]"},Ae),He;function Ae(){return null!==He&&He.apply(this,arguments)||this}r.NullableLong=Ce;var Ee=(__extends(Be,xe=e),Be.getTypeName=function(){return"Nullable`1"},Be.getNetTypeName=function(){return"System.Nullable`1[System.SByte]"},Be),xe;function Be(){return null!==xe&&xe.apply(this,arguments)||this}r.NullableSByte=Ee;var Le=(__extends(We,Re=e),We.getTypeName=function(){return"Nullable`1"},We.getNetTypeName=function(){return"System.Nullable`1[System.Single]"},We),Re;function We(){return null!==Re&&Re.apply(this,arguments)||this}r.NullableSingle=Le;var ze=(__extends(Ge,Je=e),Ge.getTypeName=function(){return"Nullable`1"},Ge.getNetTypeName=function(){return"System.Nullable`1[System.UInt]"},Ge),Je;function Ge(){return null!==Je&&Je.apply(this,arguments)||this}r.NullableUInt=ze;var Ke=(__extends(qe,Ue=e),qe.getTypeName=function(){return"Nullable`1"},qe.getNetTypeName=function(){return"System.Nullable`1[System.UInt16]"},qe),Ue;function qe(){return null!==Ue&&Ue.apply(this,arguments)||this}r.NullableUInt16=Ke;var Ve=(__extends(Xe,Ye=e),Xe.getTypeName=function(){return"Nullable`1"},Xe.getNetTypeName=function(){return"System.Nullable`1[System.UInt32]"},Xe),Ye;function Xe(){return null!==Ye&&Ye.apply(this,arguments)||this}r.NullableUInt32=Ve;var Ze=(__extends($e,Qe=e),$e.getTypeName=function(){return"Nullable`1"},$e.getNetTypeName=function(){return"System.Nullable`1[System.UInt64]"},$e),Qe;function $e(){return null!==Qe&&Qe.apply(this,arguments)||this}r.NullableUInt64=Ze;var et=(__extends(rt,tt=e),rt.getTypeName=function(){return"Nullable`1"},rt.getNetTypeName=function(){return"System.Nullable`1[System.UShort]"},rt),tt;function rt(){return null!==tt&&tt.apply(this,arguments)||this}r.NullableUShort=et;var nt=(__extends(at,it=e),at.getTypeName=function(){return"Nullable`1"},at.getNetTypeName=function(){return"System.Nullable`1[System.ULong]"},at),it;function at(){return null!==it&&it.apply(this,arguments)||this}r.NullableULong=nt;var ot=(st=_r.Report.ByteRange,__extends(ut,st),ut.getTypeName=function(){return"ByteRange"},ut.getNetTypeName=function(){return"Stimulsoft.Report.ByteRange"},ut),st;function ut(){return null!==st&&st.apply(this,arguments)||this}r.StimulsoftByteRange=ot;var lt=(mt=_r.Report.CharRange,__extends(yt,mt),yt.getTypeName=function(){return"CharRange"},yt.getNetTypeName=function(){return"Stimulsoft.Report.CharRange"},yt),mt;function yt(){return null!==mt&&mt.apply(this,arguments)||this}r.StimulsoftCharRange=lt;var dt=(ht=_r.Report.DateTimeRange,__extends(ct,ht),ct.getTypeName=function(){return"DateTimeRange"},ct.getNetTypeName=function(){return"Stimulsoft.Report.DateTimeRange"},ct),ht;function ct(){return null!==ht&&ht.apply(this,arguments)||this}r.StimulsoftDateTimeRange=dt;var ft=(pt=_r.Report.DecimalRange,__extends(Mt,pt),Mt.getTypeName=function(){return"DecimalRange"},Mt.getNetTypeName=function(){return"Stimulsoft.Report.DecimalRange"},Mt),pt;function Mt(){return null!==pt&&pt.apply(this,arguments)||this}r.StimulsoftDecimalRange=ft;var bt=(gt=_r.Report.DoubleRange,__extends(vt,gt),vt.getTypeName=function(){return"DoubleRange"},vt.getNetTypeName=function(){return"Stimulsoft.Report.DoubleRange"},vt),gt;function vt(){return null!==gt&>.apply(this,arguments)||this}r.StimulsoftDoubleRange=bt;var St=(wt=_r.Report.FloatRange,__extends(Nt,wt),Nt.getTypeName=function(){return"FloatRange"},Nt.getNetTypeName=function(){return"Stimulsoft.Report.FloatRange"},Nt),wt;function Nt(){return null!==wt&&wt.apply(this,arguments)||this}r.StimulsoftFloatRange=St;var It=(jt=_r.Report.GuidRange,__extends(Tt,jt),Tt.getTypeName=function(){return"GuidRange"},Tt.getNetTypeName=function(){return"Stimulsoft.Report.GuidRange"},Tt),jt;function Tt(){return null!==jt&&jt.apply(this,arguments)||this}r.StimulsoftGuidRange=It;var kt=(_t=_r.Report.IntRange,__extends(Dt,_t),Dt.getTypeName=function(){return"IntRange"},Dt.getNetTypeName=function(){return"Stimulsoft.Report.IntRange"},Dt),_t;function Dt(){return null!==_t&&_t.apply(this,arguments)||this}r.StimulsoftIntRange=kt;var Ft=(Pt=_r.Report.LongRange,__extends(Ot,Pt),Ot.getTypeName=function(){return"LongRange"},Ot.getNetTypeName=function(){return"Stimulsoft.Report.LongRange"},Ot),Pt;function Ot(){return null!==Pt&&Pt.apply(this,arguments)||this}r.StimulsoftLongRange=Ft;var Ct=(Ht=_r.Report.ShortRange,__extends(At,Ht),At.getTypeName=function(){return"ShortRange"},At.getNetTypeName=function(){return"Stimulsoft.Report.ShortRange"},At),Ht;function At(){return null!==Ht&&Ht.apply(this,arguments)||this}r.StimulsoftShortRange=Ct;var Et=(xt=_r.Report.StringRange,__extends(Bt,xt),Bt.getTypeName=function(){return"StringRange"},Bt.getNetTypeName=function(){return"Stimulsoft.Report.StringRange"},Bt),xt;function Bt(){return null!==xt&&xt.apply(this,arguments)||this}r.StimulsoftStringRange=Et;var Lt=(Rt=_r.Report.TimeSpanRange,__extends(Wt,Rt),Wt.getTypeName=function(){return"TimeSpanRange"},Wt.getNetTypeName=function(){return"Stimulsoft.Report.TimeSpanRange"},Wt),Rt;function Wt(){return null!==Rt&&Rt.apply(this,arguments)||this}r.StimulsoftTimeSpanRange=Lt;var e=zt;function zt(){}r.StimulsoftList=e;var Jt=(__extends(Kt,Gt=e),Kt.getTypeName=function(){return"BoolList"},Kt.getNetTypeName=function(){return"Stimulsoft.Report.BoolList"},Kt),Gt;function Kt(){return null!==Gt&&Gt.apply(this,arguments)||this}r.StimulsoftBoolList=Jt;var Ut=(__extends(Vt,qt=e),Vt.getTypeName=function(){return"ByteList"},Vt.getNetTypeName=function(){return"Stimulsoft.Report.ByteList"},Vt),qt;function Vt(){return null!==qt&&qt.apply(this,arguments)||this}r.StimulsoftByteList=Ut;var Yt=(__extends(Zt,Xt=e),Zt.getTypeName=function(){return"CharList"},Zt.getNetTypeName=function(){return"Stimulsoft.Report.CharList"},Zt),Xt;function Zt(){return null!==Xt&&Xt.apply(this,arguments)||this}r.StimulsoftCharList=Yt;var Qt=(__extends(er,$t=e),er.getTypeName=function(){return"DateTimeList"},er.getNetTypeName=function(){return"Stimulsoft.Report.DateTimeList"},er),$t;function er(){return null!==$t&&$t.apply(this,arguments)||this}r.StimulsoftDateTimeList=Qt;var tr=(__extends(nr,rr=e),nr.getTypeName=function(){return"DecimalList"},nr.getNetTypeName=function(){return"Stimulsoft.Report.DecimalList"},nr),rr;function nr(){return null!==rr&&rr.apply(this,arguments)||this}r.StimulsoftDecimalList=tr;var ir=(__extends(or,ar=e),or.getTypeName=function(){return"DoubleList"},or.getNetTypeName=function(){return"Stimulsoft.Report.DoubleList"},or),ar;function or(){return null!==ar&&ar.apply(this,arguments)||this}r.StimulsoftDoubleList=ir;var sr=(__extends(lr,ur=e),lr.getTypeName=function(){return"FloatList"},lr.getNetTypeName=function(){return"Stimulsoft.Report.FloatList"},lr),ur;function lr(){return null!==ur&&ur.apply(this,arguments)||this}r.StimulsoftFloatList=sr;var mr=(__extends(dr,yr=e),dr.getTypeName=function(){return"GuidList"},dr.getNetTypeName=function(){return"Stimulsoft.Report.GuidList"},dr),yr;function dr(){return null!==yr&&yr.apply(this,arguments)||this}r.StimulsoftGuidList=mr;var hr=(__extends(fr,cr=e),fr.getTypeName=function(){return"IntList"},fr.getNetTypeName=function(){return"Stimulsoft.Report.IntList"},fr),cr;function fr(){return null!==cr&&cr.apply(this,arguments)||this}r.StimulsoftIntList=hr;var pr=(__extends(br,Mr=e),br.getTypeName=function(){return"LongList"},br.getNetTypeName=function(){return"Stimulsoft.Report.LongList"},br),Mr;function br(){return null!==Mr&&Mr.apply(this,arguments)||this}r.StimulsoftLongList=pr;var gr=(__extends(Sr,vr=e),Sr.getTypeName=function(){return"ShortList"},Sr.getNetTypeName=function(){return"Stimulsoft.Report.ShortList"},Sr),vr;function Sr(){return null!==vr&&vr.apply(this,arguments)||this}r.StimulsoftShortList=gr;var wr=(__extends(Ir,Nr=e),Ir.getTypeName=function(){return"StringList"},Ir.getNetTypeName=function(){return"Stimulsoft.Report.StringList"},Ir),Nr;function Ir(){return null!==Nr&&Nr.apply(this,arguments)||this}r.StimulsoftStringList=wr;var jr=(__extends(kr,Tr=e),kr.getTypeName=function(){return"TimeSpanList"},kr.getNetTypeName=function(){return"Stimulsoft.Report.TimeSpanList"},kr),Tr;function kr(){return null!==Tr&&Tr.apply(this,arguments)||this}r.StimulsoftTimeSpanList=jr}(e=_r.System||(_r.System={}))}(Stimulsoft=Stimulsoft||{});;
var __values=this&&this.__values||function(e){var t="function"==typeof Symbol&&Symbol.iterator,r=t&&e[t],i=0;if(r)return r.call(e);if(e&&"number"==typeof e.length)return{next:function(){return e&&i>=e.length&&(e=void 0),{value:e&&e[i++],done:!e}}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")},__extends=this&&this.__extends||function(){var i=function(e,t){return(i=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)t.hasOwnProperty(r)&&(e[r]=t[r])})(e,t)};return function(e,t){function r(){this.constructor=e}i(e,t),e.prototype=null===t?Object.create(t):(r.prototype=t.prototype,new r)}}(),__read=this&&this.__read||function(e,t){var r="function"==typeof Symbol&&e[Symbol.iterator];if(!r)return e;var i=r.call(e),o,n=[],a;try{while((void 0===t||0<t--)&&!(o=i.next()).done)n.push(o.value)}catch(e){a={error:e}}finally{try{o&&!o.done&&(r=i["return"])&&r.call(i)}finally{if(a)throw a.error}}return n},__spread=this&&this.__spread||function(){for(var e=[],t=0;t<arguments.length;t++)e=e.concat(__read(arguments[t]));return e},Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft;!function(i){var e,t,r,o,n,a,s,l,u,c;function d(e,t,r,i){void 0===i&&(i=!1),this.SelectedColor=n.white,this.Name=e,this.Size=t,this.Color=r,this.IsBold=i}function h(){}function m(){}function p(){}function f(){}function S(){}t=e=i.Base||(i.Base={}),o=r=t.Dashboard||(t.Dashboard={}),n=i.System.Drawing.Color,a=i.System.Drawing.FontStyle,d.prototype.getGdiFont=function(e,t,r){if(void 0===e&&(e=1),void 0===t&&(t=null),void 0===r&&(r=null),null!=r)return new i.System.Drawing.Font(r.fontFamily.name,null!=t?t*e:r.size*e,r.style);var r=this.IsBold?a.Bold:a.Regular;return new i.System.Drawing.Font(this.Name,null!=t?t*e:this.Size*e,r)},d.prototype.getCachedGdiFont=function(){return null==this.cachedFont&&(this.cachedFont=this.getGdiFont()),this.cachedFont},h.font=new(t=d)("Arial",12,n.fromArgb(255,140,140,140)),s=h,m.color=n.fromArgb(255,43,87,154),m.darkColor=n.fromArgb(255,91,135,202),l=m,p.font=new t("Arial",8,n.dimGray),u=p,f.checkColor=n.gray,f.indeterminateCheckColor=n.lightGray,f.selectedBorderColor=n.white,f.selectedIndeterminateCheckColor=n.white,c=f,S.TitleFont=new t("Arial",12,n.gray),S.ForegroundColor=n.dimGray,S.BackgroundColor=n.white,S.TreeView={ItemHeight:32},S.ComboBox={ItemHeight:32},S.ListBox={ItemHeight:32,CheckBoxWidth:20},S.Table={Font:new t("Arial",10,n.black),BorderColor:n.gainsboro,Height:28,getHeight:function(e,t){return void 0===t&&(t=1),Math.max(S.Table.Height*t,e.getHeight()*t*.8)},Header:{BackgroundColor:n.fromArgb(255,240,240,240)}},t=S,o.StiElementConsts=t}(Stimulsoft=Stimulsoft||{}),function(i){var e,B,L,N,A,F,R,k,o,O,t;function r(){}B=e=i.Base||(i.Base={}),L=i.System.StiString,N=i.System.IO.StreamReader,A=i.System.IO.MemoryStream,F=i.System.Text.Encoding,R=i.System.Data.DataColumn,k=i.System.Data.DataTable,o=i.System.Data.DataSet,O=i.System.Collections.Hashtable,r.getTable=function(e,t,r){return void 0===t&&(t=0),void 0===r&&(r=null),this.getTable2(i.System.IO.File.getFile(e,!0),t,r)},r.getDataSet=function(e,t,r,i){var i=this.getTable2(e,r,i);if(null==i)return null;i.tableName=L.isNullOrWhiteSpace(t)?B.StiFileItemTable.defaultCsvTableName:t;var t=new o;return t.enforceConstraints=!1,t.tables.add(i),t},r.getTable2=function(e,t,r,i){var o,n;void 0===t&&(t=0),void 0===r&&(r=null),void 0===i&&(i=!0);var a=new A(e),s,l=(L.isNullOrEmpty(r)?";":r)[0],e=null;0!=t&&(e=1==t?F.Default:F.getEncoding(t));var u=null==e?new N(a):new N(a,e),c=null,d=u.readLine(),h,r,r,r,c,d;null!=d&&0<d.length&&(d.stimulsoft.startsWith("")&&(d=d.substring(3)),h={ref:d},c=this.splitToColumns(h,u,l),d=h.ref,L.isNullOrEmpty(r)&&1==c.length&&(r={ref:d},c=this.splitToColumns(r,u,"\t"),d=r.ref,1<c.length?l="\t":(r={ref:d},c=this.splitToColumns(r,u,";"),d=r.ref,1<c.length?l=";":(r={ref:d},c=this.splitToColumns(r,u,","),d=r.ref,1<c.length&&(l=",")))));var m=new O;if(null!=c)for(var p=0;p<c.length;p++){var f=c[p].trim();0==f.length&&(f=L.format("Column{0}",p+1)),f=B.StiDataNameValidator.correct(f);var S="",g=0;while(1){if(!m.contains(f+S))break;S=(++g).toString()}f+=S,c[p]=f,m.add(f,f)}var y=new k(B.StiFileItemTable.defaultCsvTableName);if(null!=c)try{for(var b=__values(c),v=b.next();!v.done;v=b.next()){var C=v.value,w=String,w=new R(C,w);y.columns.add(w)}}catch(e){o={error:e}}finally{try{v&&!v.done&&(n=b.return)&&n.call(b)}finally{if(o)throw o.error}}if(i&&null!=c)while(null!=(d=u.readLine())){0==d.length&&(d=L.fill(l,c.length-1));var h={ref:d},T=this.splitToColumns(h,u,l);d=h.ref;var D=y.newRow(),P=Math.min(D.columns.length,T.length);y.rows.add(D);for(var x=0;x<P;x++)D.setValueByIndex(x,T[x])}return y},r.splitToColumns=function(e,t,r){var i=e.ref,o=[],n="",a=0,s=!1;while(a<i.length){var l=i[a],l;if(a++,'"'==l&&(s=!s),l==r&&!s){o.push(n),n="";continue}n+=l,a!=i.length||!s||null!=(l=t.readLine())&&(i+="\n"+l)}o.push(n);for(var u=0;u<o.length;u++){var c=o[u];1<c.length&&c.stimulsoft.startsWith('"')&&c.stimulsoft.endsWith('"')&&(o[u]=c.substr(1,c.length-2).replace('""','"'))}return e.ref=i,o},r.codePageCodes=[0,1,65e3,65001,1200,1250,1251,1252,1253,1254,1255,1256],r.codePageNames=["Default","System","UTF7","UTF8","Unicode","1250","1251","1252","1253","1254","1255","1256"],t=r,B.StiCsvHelper=t}(Stimulsoft=Stimulsoft||{}),function(e){var t,r,i,e;function o(){}r=t=e.Base||(e.Base={}),i=e.System.Char,o.correct=function(e){for(var t=e,r=0;r<t.length;r++)i.isLetterOrDigit(t[r])||"_"==t[r]||(t=t.substr(0,r)+"_"+t.substr(r+1));return 0<(e=t).length&&i.isDigit(e[0])&&(e="n"+e),e},e=o,r.StiDataNameValidator=e}(Stimulsoft=Stimulsoft||{}),function(e){var t,r,e;function i(){}r=t=e.Base||(e.Base={}),i.defaultCsvTableName="CSV-Table",i.defaultDBaseTableName="DBase-Table",e=i,r.StiFileItemTable=e}(Stimulsoft=Stimulsoft||{}),function(o){var e,u,c,d,t;function r(e){this.urlBase="https://api.data.world/v0/",this.connectionString=e}u=e=o.Base||(o.Base={}),c=o.System.Collections.List,d=o.System.StiString,r.prototype.getDefaultWebClient=function(){var e={downloadString:function(e,t){try{var r=new XMLHttpRequest;if(r.open("Get",e,!1),r.setRequestHeader("Authorization","Bearer "+t),r.send(),200==r.status)return r.responseText;throw new Error}catch(e){throw e}}};return e},r.prototype.getTableNames=function(){var t,e,r=this.getDefaultWebClient(),i="SELECT * FROM Tables",i="sql/"+this.owner+"/"+this.database+"?query="+encodeURIComponent(i),i=this.urlBase+i,i=r.downloadString(i,this.token),o=JSON.parse(i),n=new c;try{for(var a=__values(o.stimulsoft.value),s=a.next();!s.done;s=a.next()){var l=s.value;n.add(l["tableId"])}}catch(e){t={error:e}}finally{try{s&&!s.done&&(e=a.return)&&e.call(a)}finally{if(t)throw t.error}}return n},r.prototype.getColumns=function(e){var t,r,i=this.getDataTable(e,"select * from "+e+" limit 29"),o=new c;if(null!=i)try{for(var n=__values(i.columns.list),a=n.next();!a.done;a=n.next()){var s=a.value;o.add(new u.StiDataColumnSchema(s.columnName,s.dataType))}}catch(e){t={error:e}}finally{try{a&&!a.done&&(r=n.return)&&r.call(n)}finally{if(t)throw t.error}}return o},r.prototype.getDataTable=function(e,t){try{var r="sql/"+this.owner.toLowerCase()+"/"+this.database.toLowerCase();d.isNullOrEmpty(t)&&(t="select * from "+e);var r=this.urlBase+r+"?query="+encodeURIComponent(t),i,r=this.getDefaultWebClient().downloadString(r,this.token),r=u.StiJsonToDataSetConverter.getDataSet(r);return null!=r&&0<r.tables.count?r.tables.list[0].copy():null}catch(e){throw o.System.StiError.showError(e,!1),e}},r.prototype.testConnection=function(){try{var e=this.getDefaultWebClient(),t=this.urlBase+"users/"+this.owner,r=e.downloadString(t,this.token)}catch(e){return o.System.StiError.showError(e,!1),u.StiTestConnectionResult.makeWrong(e.message)}return u.StiTestConnectionResult.makeFine()},r.prototype.retrieveSchema=function(){var t,e;if(d.isNullOrEmpty(this.connectionString))return null;var r=new u.StiDataSchema(u.StiConnectionIdent.DataWorldDataSource);try{var i=this.getTableNames();try{for(var o=__values(i),n=o.next();!n.done;n=o.next()){var a=n.value,s=u.StiDataTableSchema.newTable(a);try{var l=this.getColumns(a);null!=l&&(s.columns=l)}catch(e){}r.tables.add(s)}}catch(e){t={error:e}}finally{try{n&&!n.done&&(e=o.return)&&e.call(o)}finally{if(t)throw t.error}}return r.sort()}catch(e){return null}},r.prototype.getConnectionStringKey=function(t){if(d.isNullOrWhiteSpace(this.connectionString))return null;var e,r=this.connectionString.split(new RegExp(";|,")).stimulsoft.toList().firstOrDefault(function(e){return e.toLowerCase().stimulsoft.startsWith(t.toLowerCase())});if(null==r)return null;var r=r.split("=");if(2!=r.length)return null;var r=r[1];return r.stimulsoft.startsWith('"')&&r.stimulsoft.endsWith('"')&&(r=r.substr(0,r.length-2)),r},r.prototype.getConnectionStringKey1=function(){if(d.isNullOrWhiteSpace(this.connectionString))return null;var e;return this.connectionString.split(new RegExp(";|,")).stimulsoft.toList().firstOrDefault(function(e){return!e.stimulsoft.contains("=")})},Object.defineProperty(r.prototype,"owner",{get:function(){return this.getConnectionStringKey("Owner")},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"token",{get:function(){return this.getConnectionStringKey("Token")},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"database",{get:function(){return this.getConnectionStringKey("Database")},enumerable:!1,configurable:!0}),t=r,u.StiDataWorldHelper=t}(Stimulsoft=Stimulsoft||{}),function(e){var t,r,e;function i(e){this.connectionString=e}r=t=e.Base||(e.Base={}),i.prototype.getColumns=function(e){return new r.StiDataWorldHelper(this.connectionString).getColumns(e)},i.prototype.getDataTable=function(e,t){return new r.StiDataWorldHelper(this.connectionString).getDataTable(e,t)},i.prototype.getSampleConnectionString=function(){return"Owner=<owner>;Database=<id>;Token=<token>"},i.prototype.retrieveSchema=function(e){return void 0===e&&(e=!1),new r.StiDataWorldHelper(this.connectionString).retrieveSchema()},i.prototype.testConnection=function(){return new r.StiDataWorldHelper(this.connectionString).testConnection()},i.get=function(e){return new i(e)},e=i,r.StiDataWorldConnector=e}(Stimulsoft=Stimulsoft||{}),function(e){var t,r,i;function o(){}(r=t=e.Base||(e.Base={})).StiObjectSchema=o}(Stimulsoft=Stimulsoft||{}),function(S){var e,r,i,g,o,t,n,a,s;function l(e){void 0===e&&(e=r.StiConnectionIdent.Unspecified);var t=s.call(this)||this;return t.connectionIdent=e,t.tables=new i,t.views=new i,t.queries=new i,t.storedProcedures=new i,t.relations=new i,t}r=e=S.Base||(S.Base={}),i=S.System.Collections.List,g=S.System.Data.DataRelation,o=S.System.Data.DataColumn,t=S.System.Data.DataSet,n=S.System.Data.DataTable,s=r.StiObjectSchema,__extends(l,s),l.prototype.isEmpty=function(){return this.tables.length<=0&&this.views.length<=0&&this.storedProcedures.length<=0&&this.relations.length<=0&&this.queries.length<=0},l.prototype.getDataSet=function(){var f=new t;return null!=this.tables&&this.tables.forEach(function(e){var t=new n(e.name);e.columns.forEach(function(e){t.columns.add(new o(e.name,e.type))}),f.tables.add(t)}),null!=this.views&&this.views.forEach(function(e){var t=new n(e.name);e.columns.forEach(function(e){t.columns.add(new o(e.name,e.type))}),f.tables.add(t)}),null!=this.storedProcedures&&this.storedProcedures.forEach(function(e){var t=new n(e.name);e.columns.forEach(function(e){t.columns.add(new o(e.name,e.type))}),f.tables.add(t)}),null!=this.queries&&this.queries.forEach(function(e){var t=new n(e.name);e.columns.forEach(function(e){t.columns.add(new o(e.name,e.type))}),f.tables.add(t)}),null!=this.relations&&this.relations.forEach(function(e){var t,r,i,o;try{var n=f.tables.getByName(e.parentSourceName),a=f.tables.getByName(e.childSourceName);if(null==n||null==a)return;var s=[],l=[];try{for(var u=__values(e.parentColumns),c=u.next();!c.done;c=u.next()){var d=c.value,h;if(null==(h=n.columns.getByName(d)))return;s.push(h)}}catch(e){t={error:e}}finally{try{c&&!c.done&&(r=u.return)&&r.call(u)}finally{if(t)throw t.error}}try{for(var m=__values(e.childColumns),p=m.next();!p.done;p=m.next()){var d=p.value,h;if(null==(h=a.columns.getByName(d)))return;l.push(h)}}catch(e){i={error:e}}finally{try{p&&!p.done&&(o=m.return)&&o.call(m)}finally{if(i)throw i.error}}f.relations.add(new g(e.name,s.stimulsoft.toArray(),l.stimulsoft.toArray()))}catch(e){S.System.StiError.showError(e,!1)}}),f},l.prototype.sort=function(){return this.tables=this.tables.orderBy(function(e){return e.name}),this.views=this.views.orderBy(function(e){return e.name}),this.queries=this.queries.orderBy(function(e){return e.name}),this.storedProcedures=this.storedProcedures.orderBy(function(e){return e.name}),this.relations=this.relations.orderBy(function(e){return e.name}),this},a=l,r.StiDataSchema=a}(Stimulsoft=Stimulsoft||{}),function(Be){var e,Le,Ne,Ae,Fe,Re,t;function ke(e){this.headers=[],this.connectionString=e}Le=e=Be.Base||(Be.Base={}),Ne=Be.System.StiString,Ae=Be.System.Collections.Hashtable,Fe=Be.System.Xml.XmlConverter,Re=Be.System.Xml.XmlNode,Object.defineProperty(ke.prototype,"address",{get:function(){var e=null!=this.getConnectionStringKey("Address")?this.getConnectionStringKey("Address"):this.getConnectionStringKey1(),t;return null!=e?e:this.connectionString},enumerable:!1,configurable:!0}),Object.defineProperty(ke.prototype,"userName",{get:function(){return this.getConnectionStringKey("UserName")},enumerable:!1,configurable:!0}),Object.defineProperty(ke.prototype,"password",{get:function(){return this.getConnectionStringKey("Password")},enumerable:!1,configurable:!0}),Object.defineProperty(ke.prototype,"addressBearer",{get:function(){return this.getConnectionStringKey("AddressBearer")},enumerable:!1,configurable:!0}),Object.defineProperty(ke.prototype,"clientId",{get:function(){return this.getConnectionStringKey("ClientId")},enumerable:!1,configurable:!0}),ke.prototype.getConnectionStringKey=function(t){if(Ne.isNullOrWhiteSpace(this.connectionString))return null;var e,r=this.connectionString.split(new RegExp(";|,")).stimulsoft.toList().firstOrDefault(function(e){return e.toLowerCase().stimulsoft.startsWith(t.toLowerCase())});if(null==r)return null;var r=r.split("=");if(2!=r.length)return null;var r=r[1];return r.stimulsoft.startsWith('"')&&r.stimulsoft.endsWith('"')&&(r=r.substr(0,r.length-2)),r},ke.prototype.getConnectionStringKey1=function(){if(Ne.isNullOrWhiteSpace(this.connectionString))return null;var e;return this.connectionString.split(new RegExp(";|,")).stimulsoft.toList().firstOrDefault(function(e){return!e.stimulsoft.contains("=")})},ke.prototype.retrieveSchema=function(){var t,e,r,i,o,n,a,s,l,u,c,d,h,m,p,f,S,g,y,b,v,C,w,T,D,P;if(Ne.isNullOrEmpty(this.connectionString))return null;var x=new Le.StiDataSchema(Le.StiConnectionIdent.ODataDataSource);try{var B,L=this.getDefaultWebClient().downloadString(Le.StiUrl.combine([this.address,"$metadata"]),this.userName,this.password,this.bearerAccessToken),N=Fe.toXml(L),A=new Ae,F=new Ae;try{for(var R=__values(N.getNodeByName("edmx:DataServices").childNodes),k=R.next();!k.done;k=R.next()){var O=k.value,M=null!=O.getAttribute("Namespace")?O.getAttribute("Namespace"):null;try{for(var E=(r=void 0,__values(O.childNodes.where(function(e){return"EntityType"==e.localName||"ComplexType"==e.localName}))),I=E.next();!I.done;I=E.next()){var H=I.value;try{var z=H.stimulsoft.as(Re),W=z.getAttribute("Name"),G=null!=z.getAttribute("BaseType")?z.getAttribute("BaseType"):null;if(Ne.isNullOrWhiteSpace(W))continue;var j=z.getNodesByName("Property"),V=new Le.StiDataTableSchema(W,W),G;if(null!=G&&(G=G.stimulsoft.replaceAll(M+".",""),F.set(G,V)),null!=j)try{for(var X=(o=void 0,__values(j)),q=X.next();!q.done;q=X.next()){var U=q.value;try{var Y=U.getAttribute("Name");if(Ne.isNullOrWhiteSpace(Y))continue;var J=null!=U.getAttribute("Nullable")&&"true"==U.getAttribute("Nullable"),Z=U.getAttribute("Type"),Z=ke.getNetType(Z),K=new Le.StiDataColumnSchema(Y,Z);V.columns.push(K)}catch(e){Be.System.StiError.showError(e,!1)}}}catch(e){o={error:e}}finally{try{q&&!q.done&&(n=X.return)&&n.call(X)}finally{if(o)throw o.error}}A.set(M+"."+V.name,V)}catch(e){Be.System.StiError.showError(e,!1)}try{for(var Q=(a=void 0,__values(F.keys)),_=Q.next();!_.done;_=Q.next()){var $,ee=$=_.value,V=F.get(ee),te=void 0;try{for(var re=(l=void 0,__values(x.tables)),ie=re.next(),oe;!ie.done;ie=re.next()){if((oe=ie.value).name==ee){te=oe;break}}}catch(e){l={error:e}}finally{try{ie&&!ie.done&&(u=re.return)&&u.call(re)}finally{if(l)throw l.error}}if(null==te)continue;try{for(var ne=(c=void 0,__values(te.columns)),ae=ne.next();!ae.done;ae=ne.next()){var se=ae.value,le=!0;try{for(var ue=(h=void 0,__values(V.columns)),ce=ue.next();!ce.done;ce=ue.next()){var K=ce.value;if(se.name==K.name){le=!1;break}}}catch(e){h={error:e}}finally{try{ce&&!ce.done&&(m=ue.return)&&m.call(ue)}finally{if(h)throw h.error}}V.columns.push(se)}}catch(e){c={error:e}}finally{try{ae&&!ae.done&&(d=ne.return)&&d.call(ne)}finally{if(c)throw c.error}}}}catch(e){a={error:e}}finally{try{_&&!_.done&&(s=Q.return)&&s.call(Q)}finally{if(a)throw a.error}}}}catch(e){r={error:e}}finally{try{I&&!I.done&&(i=E.return)&&i.call(E)}finally{if(r)throw r.error}}try{for(var de=(p=void 0,__values(O.childNodes.where(function(e){return"EntityContainer"==e.localName}))),he=de.next();!he.done;he=de.next()){var me=he.value;try{for(var pe=(S=void 0,__values(me.childNodes.where(function(e){return"EntitySet"==e.localName}))),fe=pe.next();!fe.done;fe=pe.next()){var Se=fe.value;try{var ge=Se.getAttribute("Name"),ye=Se.getAttribute("EntityType");if(Ne.isNullOrWhiteSpace(ge))continue;var V=new Le.StiDataTableSchema(ge,ge),ye=A.get(ye);null!=ye&&V.columns.stimulsoft.addRange(ye.columns),x.tables.add(V)}catch(e){Be.System.StiError.showError(e,!1)}try{for(var be=(y=void 0,__values(F.keys)),ve=be.next();!ve.done;ve=be.next()){var $,ee=$=ve.value,V=F.get(ee),te=void 0;try{for(var Ce=(v=void 0,__values(x.tables)),we=Ce.next(),oe;!we.done;we=Ce.next()){if((oe=we.value).name==ee){te=oe;break}}}catch(e){v={error:e}}finally{try{we&&!we.done&&(C=Ce.return)&&C.call(Ce)}finally{if(v)throw v.error}}if(null==te)continue;try{for(var Te=(w=void 0,__values(te.columns)),De=Te.next();!De.done;De=Te.next()){var se=De.value,le=!0;try{for(var Pe=(D=void 0,__values(V.columns)),xe=Pe.next();!xe.done;xe=Pe.next()){var K=xe.value;if(se.name==K.name){le=!1;break}}}catch(e){D={error:e}}finally{try{xe&&!xe.done&&(P=Pe.return)&&P.call(Pe)}finally{if(D)throw D.error}}V.columns.push(se)}}catch(e){w={error:e}}finally{try{De&&!De.done&&(T=Te.return)&&T.call(Te)}finally{if(w)throw w.error}}}}catch(e){y={error:e}}finally{try{ve&&!ve.done&&(b=be.return)&&b.call(be)}finally{if(y)throw y.error}}}}catch(e){S={error:e}}finally{try{fe&&!fe.done&&(g=pe.return)&&g.call(pe)}finally{if(S)throw S.error}}}}catch(e){p={error:e}}finally{try{he&&!he.done&&(f=de.return)&&f.call(de)}finally{if(p)throw p.error}}}}catch(e){t={error:e}}finally{try{k&&!k.done&&(e=R.return)&&e.call(R)}finally{if(t)throw t.error}}return x}catch(e){throw Be.System.StiError.showError(e,!1),e}},ke.prototype.fillDataTable=function(e,t){var r,i,o,n,a,s;if(Ne.isNullOrEmpty(this.connectionString))return;try{var l=this.getDefaultWebClient(),u=Le.StiUrl.combine([this.address,t]),l=l.downloadString(u,this.userName,this.password,this.bearerAccessToken);if(l.trim().stimulsoft.startsWith("<?xml")){var c=Fe.toXml(l),u=c.getNodeByName("title");null!=u&&(e.tableName=u.textContent);try{for(var d=__values(c.getNodesByName("entry")),h=d.next();!h.done;h=d.next()){var m=h.value,p=m.getNodeByName("content");if(null==p)continue;var f=p.childNodes.firstOrDefault(function(e){return e.localName.stimulsoft.endsWith("properties")});if(null==f)continue;var S=e.newRow();e.rows.add(S);try{var g=m.getNodeByName("title"),y=e.columns.getByName("Name");null!=g&&null!=e.columns.getByName("Name")&&S.setValue(y,g.textContent)}catch(e){Be.System.StiError.showError(e,!1)}try{var b=m.getNodeByName("summary"),y=e.columns.getByName("Description");null!=b&&null!=e.columns.getByName("Description")&&S.setValue(y,b.textContent)}catch(e){Be.System.StiError.showError(e,!1)}try{for(var v=(o=void 0,__values(f.childNodes)),C=v.next();!C.done;C=v.next()){var w=C.value;try{var T=w.localName.stimulsoft.replaceAll("d:",""),D=w.textContent,P;null!=(P=e.columns.getByName(T))&&S.setValue(P,D)}catch(e){Be.System.StiError.showError(e,!1)}}}catch(e){o={error:e}}finally{try{C&&!C.done&&(n=v.return)&&n.call(v)}finally{if(o)throw o.error}}}}catch(e){r={error:e}}finally{try{h&&!h.done&&(i=d.return)&&i.call(d)}finally{if(r)throw r.error}}}else{var x=JSON.parse(l);if(null!=x&&null!=x.value&&Array.isArray(x.value))try{for(var B=__values(x.value),L=B.next();!L.done;L=B.next()){var N=L.value,S=e.newRow(),A;for(A in e.rows.add(S),N){if(A.stimulsoft.startsWith("@odata."))continue;var T=A,F=N[A],P;null!=(P=e.columns.getByName(T))&&S.setValue(P,F)}}}catch(e){a={error:e}}finally{try{L&&!L.done&&(s=B.return)&&s.call(B)}finally{if(a)throw a.error}}}}catch(e){Be.System.StiError.showError(e,!1)}},ke.prototype.testConnection=function(){try{var e;this.getDefaultWebClient().downloadString(this.address,this.userName,this.password,this.bearerAccessToken)}catch(e){return Be.System.StiError.showError(e,!1),Le.StiTestConnectionResult.makeWrong(e.message)}return Le.StiTestConnectionResult.makeFine()},ke.getNetType=function(e){if(Ne.isNullOrWhiteSpace(e))return null;switch((e=e.toLowerCase()).stimulsoft.startsWith("edm.")&&(e=e.stimulsoft.replaceAll("edm.","")),e){case"int64":return Be.System.Int64;case"int32":return Be.System.Int32;case"int16":return Be.System.Int16;case"byte":return Be.System.Byte;case"sbyte":return Be.System.SByte;case"int":return Be.System.Int32;case"boolean":return Boolean;case"decimal":return Be.System.Decimal;case"float":return Be.System.Float;case"double":return Be.System.Double;case"time":case"datetime":return Be.System.DateTime;case"guid":return Be.System.Guid;default:return String}},ke.getBearerAccessToken=function(e,t,r,i){try{var o=new XMLHttpRequest,n="grant_type=password"+"&username="+t+"&password="+r+"&client_id="+i,a;if(o.open("POST",e,!1),o.send(n),200==o.status)return JSON.parse(o.responseText)["access_token"]}catch(e){throw e}return null},ke.prototype.getDefaultWebClient=function(){var a=this,e={};return e.headers=this.headers,Ne.isNullOrWhiteSpace(this.addressBearer)||Ne.isNullOrWhiteSpace(this.bearerAccessToken)&&(this.bearerAccessToken=ke.getBearerAccessToken(this.addressBearer,this.userName,this.password,this.clientId)),e.downloadString=function(e,t,r,i){var o;try{var n=new XMLHttpRequest;if(!Ne.isNullOrWhiteSpace(t)&&Ne.isNullOrWhiteSpace(i)&&(n.withCredentials=!0),n.open("get",e,!1,t,r),Ne.isNullOrWhiteSpace(t)&&!Ne.isNullOrWhiteSpace(i)&&n.setRequestHeader("Authorization","Bearer "+i),null!==(o=a.headers)&&void 0!==o&&o.forEach(function(e){return n.setRequestHeader(e.key,e.value)}),n.send(),200==n.status)return n.responseText;throw new Error}catch(e){throw e}},e},t=ke,Le.StiODataHelper=t}(Stimulsoft=Stimulsoft||{}),function(e){var t,r,i,o,n,a,s;function l(){}r=t=e.Base||(e.Base={}),o=i=r.Data||(r.Data={}),r=n=o.Connectors||(o.Connectors={}),a=e.System.Collections.List,s=e.System.StiString,l.getConnectionStringKey=function(e,t){if(s.isNullOrWhiteSpace(e))return null;var r,i=new a(e.stimulsoft.split(";",",")).firstOrDefault(function(e){return e.toLowerCase().stimulsoft.startsWith(t.toLowerCase())});if(null==i)return null;var e=i.indexOf("="),o;if(i.split("=").length<2)return null;var e=i.substr(e+1,i.length-e-1);return e.stimulsoft.startsWith('"')&&e.stimulsoft.endsWith('"')&&(e=e.substr(0,e.length-2)),e},l.getConnectionStringKey2=function(e){if(s.isNullOrWhiteSpace(e))return null;var t;return new a(e.stimulsoft.split(";",",")).firstOrDefault(function(e){return!e.stimulsoft.contains("=")})},l.setConnectionStringKey=function(e,t,r){if(s.isNullOrWhiteSpace(e))return t+"="+r;var e=new a(e.stimulsoft.split(";",",")).where(function(e){return!e.toLowerCase().stimulsoft.startsWith(t.toLowerCase())});return s.join(";",e)+";"+t+"="+r},l.removeConnectionStringKey=function(e,t){if(s.isNullOrWhiteSpace(e))return e;var e=new a(e.stimulsoft.split(";",",")).where(function(e){return!e.toLowerCase().stimulsoft.startsWith(t.toLowerCase())});return s.join(";",e)},o=l,r.StiConnectionStringHelper=o}(Stimulsoft=Stimulsoft||{}),function(e){var t,c,o,i,r,n,a,s,l,u,e;function d(e){void 0===e&&(e=""),this.stimulsoftClientId="ABPQz3WAKlBBQy07UBdcwkbeAZGG10hu9EpukpQinSUVXOM2iu",this.stimulsoftClientSecret="DAAaTBmTphB0fJfsjdPw2TlzEaWbZyYrRGOA6PMV",this.oauth2Url="https://appcenter.intuit.com/connect/oauth2",this.bearerUrl="https://oauth.platform.intuit.com/oauth2/v1/tokens/bearer",this.baseUrl="https://quickbooks.api.intuit.com/v3",this.stimulsoftRedirectUrl="https://developer.intuit.com/v2/OAuth2Playground/RedirectUrl",this.responseType="code",this.scope="com.intuit.quickbooks.accounting",this.state=u.toBase64String(l.newGuid().toString()).substr(0,8),this.сonnectionIdent=c.StiConnectionIdent.QuickBooksDataSource,this.connectionOrder=c.StiConnectionOrder.QuickBooksDataSource,this.name="QuickBooks",this.isAvailable=!0,this.connectionTimeout=30,this.connectionString=e}c=t=e.Base||(e.Base={}),o=e.System.StiObject,i=e.System.Data.DataTable,r=e.System.Collections.List,n=e.System.Text.Encoding,a=e.System.StiString,s=e.Base.Data.Connectors.StiConnectionStringHelper,l=e.System.Guid,u=e.System.Convert,Object.defineProperty(d.prototype,"useApp",{get:function(){return s.getConnectionStringKey(this.connectionString,"UseApp").stimulsoft.toBoolean()},set:function(e){this.connectionString=s.setConnectionStringKey(this.connectionString,"UseApp",e.toString())},enumerable:!1,configurable:!0}),Object.defineProperty(d.prototype,"clientId",{get:function(){return s.getConnectionStringKey(this.connectionString,"ClientId")},set:function(e){this.connectionString=s.setConnectionStringKey(this.connectionString,"ClientId",e)},enumerable:!1,configurable:!0}),Object.defineProperty(d.prototype,"clientIdPrivate",{get:function(){if(this.useApp)return this.clientId;return this.stimulsoftClientId},set:function(e){this.clientId=e},enumerable:!1,configurable:!0}),Object.defineProperty(d.prototype,"clientSecret",{get:function(){return s.getConnectionStringKey(this.connectionString,"ClientSecret")},set:function(e){this.connectionString=s.setConnectionStringKey(this.connectionString,"ClientSecret",e)},enumerable:!1,configurable:!0}),Object.defineProperty(d.prototype,"clientSecretPrivate",{get:function(){if(this.useApp)return this.clientSecret;return this.stimulsoftClientSecret},set:function(e){this.clientSecret=e},enumerable:!1,configurable:!0}),Object.defineProperty(d.prototype,"redirectURL",{get:function(){return s.getConnectionStringKey(this.connectionString,"RedirectURL")},set:function(e){this.connectionString=s.setConnectionStringKey(this.connectionString,"RedirectURL",e)},enumerable:!1,configurable:!0}),Object.defineProperty(d.prototype,"redirectURLPrivate",{get:function(){if(this.useApp)return this.redirectURL;return this.stimulsoftRedirectUrl},set:function(e){this.redirectURL=e},enumerable:!1,configurable:!0}),Object.defineProperty(d.prototype,"authorizationCode",{get:function(){return s.getConnectionStringKey(this.connectionString,"AuthorizationCode")},set:function(e){this.connectionString=s.setConnectionStringKey(this.connectionString,"AuthorizationCode",e)},enumerable:!1,configurable:!0}),Object.defineProperty(d.prototype,"realmId",{get:function(){return s.getConnectionStringKey(this.connectionString,"RealmId")},set:function(e){this.connectionString=s.setConnectionStringKey(this.connectionString,"RealmId",e)},enumerable:!1,configurable:!0}),Object.defineProperty(d.prototype,"accessToken",{get:function(){return s.getConnectionStringKey(this.connectionString,"AccessToken")},set:function(e){this.connectionString=s.setConnectionStringKey(this.connectionString,"AccessToken",e)},enumerable:!1,configurable:!0}),Object.defineProperty(d.prototype,"refreshToken",{get:function(){return s.getConnectionStringKey(this.connectionString,"RefreshToken")},set:function(e){this.connectionString=s.setConnectionStringKey(this.connectionString,"RefreshToken",e)},enumerable:!1,configurable:!0}),d.prototype.fillAuthorizationCode=function(){},d.prototype.getDefaultWebClient=function(){var i=this,e;return{headers:{Authorization:"Bearer "+this.accessToken,Accept:"application/json"},downloadString:function(e){try{var t=new XMLHttpRequest,r;for(r in t.open("Get",e,!1),o.keys(i.headers))t.setRequestHeader(r,i.headers[r]);if(t.send(),200==t.status)return t.responseText;throw new Error}catch(e){throw e}},uploadString:function(e,t,r){try{var i=new XMLHttpRequest;if(i.open("POST",e,!1),i.send(r),200==i.status)return i.responseText;throw new Error}catch(e){throw e}}}},d.prototype.getAuthorizationUrl=function(){var e=this.oauth2Url+"?client_id="+this.clientIdPrivate+"&response_type="+this.responseType+"&scope="+this.scope+"&redirect_uri="+this.redirectURLPrivate+"&state="+this.state;return a.isNullOrWhiteSpace(this.realmId)||(e+="&realm_id="+this.realmId),e},d.prototype.fillTokens=function(){var e=this.getDefaultWebClient();e.headers["Authorization"]="Basic "+u.toBase64String(n.UTF8.getBytes(this.clientIdPrivate+": "+this.clientSecretPrivate+" ")),e.headers["Content-Type"]="application/x-www-form-urlencoded";var e=e.uploadString(this.bearerUrl,"POST","code="+this.authorizationCode+"&redirect_uri="+this.redirectURLPrivate+"&grant_type=authorization_code"),e=JSON.parse(e);this.accessToken=e["access_token"].toString(),this.refreshToken=e["refresh_token"].toString()},d.prototype.refreshAccessToken=function(){var e=this.getDefaultWebClient();e.headers["Authorization"]="Basic "+u.toBase64String(n.UTF8.getBytes(this.clientIdPrivate+": "+this.clientSecretPrivate+" ")),e.headers["Content-Type"]="application/x-www-form-urlencoded";var e=e.uploadString(this.bearerUrl,"POST","refresh_token="+this.refreshToken+"&grant_type=refresh_token"),e=JSON.parse(e);this.accessToken=e["access_token"].toString(),this.refreshToken=e["refresh_token"].toString()},d.prototype.getTableNames=function(){return new r(["Account","AccountListDetail","APAgingDetail","APAgingSummary","ARAgingDetail","ARAgingSummary","Attachable","BalanceSheet","Batch","Bill","BillPayment","Budget","CashFlow","ChangeDataCapture","Class","CompanyCurrency","CompanyInfo","CreditMemo","Customer","CustomerBalance","CustomerBalanceDetail","CustomerIncome","CustomerType","Department","Deposit","Employee","Entitlements","Estimate","Exchangerate","GeneralLedger","InventoryValuationSummary","Invoice","Item","JournalCode","JournalEntry","JournalReport","JournalReportFR","Payment","PaymentMethod","Preferences","ProfitAndLoss","ProfitAndLossDetail","Purchase","PurchaseOrder","RefundReceipt","SalesByClassSummary","SalesByCustomer","SalesByDepartment","SalesByProduct","SalesReceipt","TaxClassification","TaxCode","TaxRate","TaxService","TaxSummary","TaxAgency","Term","TimeActivity","TransactionList","Transfer","TrialBalance","Vendor","VendorBalance","VendorBalanceDetail","VendorCredit","VendorExpenses"])},d.prototype.getColumns=function(e){var e=new i(e);return null!=e?e.columns.toList().select(function(e){return new c.StiDataColumnSchema(e.columnName,e.dataType)}):null},d.prototype.retrieveSchema=function(t){var r,e;void 0===t&&(t=!1);var i=new c.StiDataSchema(c.StiConnectionIdent.QuickBooksDataSource);try{var o=this.getTableNames();try{for(var n=__values(o),a=n.next();!a.done;a=n.next()){var s=a.value,l=c.StiDataTableSchema.newTable(s);try{var u=this.getColumns(s);null!=u&&(l.columns=u)}catch(e){}i.tables.add(l)}}catch(e){r={error:e}}finally{try{a&&!a.done&&(e=n.return)&&e.call(n)}finally{if(r)throw r.error}}return i.sort()}catch(e){if(t)throw e;return null}},d.prototype.getDataTable=function(e,t){try{a.isNullOrEmpty(t)&&(t=("SELECT * FROM "+e).stimulsoft.toUnicodeString());var r=this.executeQuery(t),r=c.StiJsonToDataSetConverter.getDataSet(r);return null!=r&&0<r.tables.length?r.tables.getByIndex(0).copy():new i}catch(e){}return null},d.prototype.fillDataTable=function(e,t){var r,i,o,n,a=this.getDataTable(null,t);try{for(var s=__values(a.rows.list),l=s.next();!l.done;l=s.next()){var u=l.value,c=e.newRow();try{for(var d=(o=void 0,__values(e.columns.list)),h=d.next();!h.done;h=d.next()){var m=h.value;a.columns.contains(m.columnName)&&a.columns.getByName(m.columnName).dataType==m.dataType&&c.sett(m,u.gett(a.columns.getByName(m.columnName)))}}catch(e){o={error:e}}finally{try{h&&!h.done&&(n=d.return)&&n.call(d)}finally{if(o)throw o.error}}e.rows.add(c)}}catch(e){r={error:e}}finally{try{l&&!l.done&&(i=s.return)&&i.call(s)}finally{if(r)throw r.error}}},d.prototype.executeQuery=function(e){try{a.isNullOrWhiteSpace(this.realmId)&&this.fillAuthorizationCode(),a.isNullOrWhiteSpace(this.accessToken)&&(a.isNullOrWhiteSpace(this.refreshToken)?(a.isNullOrWhiteSpace(this.authorizationCode)&&this.fillAuthorizationCode(),this.fillTokens()):this.refreshAccessToken());var t=this.getDefaultWebClient(),r=this.baseUrl+"/company/"+this.realmId+"/query?query="+e.stimulsoft.toUnicodeString(),r=t.downloadString(r),r=JSON.parse(r)["QueryResponse"].First;if(null!=r)return this.removeUnsupportedColumns(r.First),this.correctRefColumns(r.First),"{"+r.toString()+"}";return"{}"}catch(e){}return"{}"},d.prototype.removeUnsupportedColumns=function(e){},d.prototype.correctRefColumns=function(e){},d.prototype.getSampleConnectionString=function(){return""},d.Get=function(e){return void 0===e&&(e=null),new d(e)},e=d,c.StiQuickBooksConnector=e}(Stimulsoft=Stimulsoft||{}),function(o){var e;!function(e){var d=o.System.StiString,h=o.System.IO.File,m=o.System.IO.Path,p=(t.prototype.toList=function(){return[this]},t);function t(e,t){this.name=e,this.array=t}e.StiDataLoaderHelperData=p;var r=(i.loadMultiple=function(e,t,r,i){var o,n;if(d.isNullOrEmpty(e))return null;var i=this.loadSingle(e,r,i);if(null!=i&&null!=i.array)return i.toList();var a=h.getFilesNames(e);if(a&&0<a.length){var s=[];try{for(var l=__values(a),u=l.next();!u.done;u=l.next()){var c=u.value,c;c&&c.toLowerCase().stimulsoft.endsWith(t)&&(c=e+m.getSep()+c,s.push(new p(m.getFileNameWithoutExtension(c),h.getFile(c,r))))}}catch(e){o={error:e}}finally{try{u&&!u.done&&(n=l.return)&&n.call(l)}finally{if(o)throw o.error}}return s}return null},i.loadSingle=function(e,t,r){return new p(m.getFileNameWithoutExtension(e),h.getFile(e,t,"",r))},i);function i(){}e.StiDataLoaderHelper=r}(e=o.Base||(o.Base={}))}(Stimulsoft=Stimulsoft||{}),function(r){var e,t,i,o;function n(){}t=e=r.Base||(r.Base={}),i=r.System.StiString,n.get=function(e){if(i.isNullOrWhiteSpace(e))return null;var t=null,t;return r.System.IO.File.getFile(e,!0)},o=n,t.StiFileUrlHelper=o}(Stimulsoft=Stimulsoft||{}),function(e){var t,r,e;function i(){}r=t=e.Base||(e.Base={}),i.makeWrong=function(e){var t=new i;return t.success=!1,t.notice=e,t},i.makeWrong2=function(e){var t=new i;return t.success=!1,t.notice=e,t},i.makeWrong3=function(){var e=new i;return e.success=!1,e},i.makeFine=function(){var e=new i;return e.success=!0,e},e=i,r.StiTestConnectionResult=e}(Stimulsoft=Stimulsoft||{}),function(e){var t,r,e,i;function o(e,t){void 0===e&&(e=null),void 0===t&&(t=null);var r=i.call(this)||this;return r.name=e,r.type=t,r}r=t=e.Base||(e.Base={}),i=r.StiObjectSchema,__extends(o,i),e=o,r.StiDataColumnSchema=e}(Stimulsoft=Stimulsoft||{}),function(e){var t,r,e,i;function o(e,t){void 0===e&&(e=null),void 0===t&&(t=null);var r=i.call(this)||this;return r.name=e,r.type=t,r}r=t=e.Base||(e.Base={}),i=r.StiObjectSchema,__extends(o,i),e=o,r.StiDataParameterSchema=e}(Stimulsoft=Stimulsoft||{}),function(e){var t,r,i;function o(){}(r=t=e.Base||(e.Base={})).StiDataRelationSchema=o}(Stimulsoft=Stimulsoft||{}),function(e){var t,r,e,i;function o(e,t){void 0===e&&(e=null),void 0===t&&(t=null);var r=i.call(this)||this;return r.columns=[],r.parameters=[],r.name=e,r.query=t,r}r=t=e.Base||(e.Base={}),i=r.StiObjectSchema,__extends(o,i),o.newTableOrView=function(e){return this.newTable(e)},o.newTable=function(e){return new o(e)},o.newView=function(e){return new o(e)},o.newProcedure=function(e){return new o(e)},e=o,r.StiDataTableSchema=e}(Stimulsoft=Stimulsoft||{}),function(e){var t,r,i,e,o,n,a,s;r=t=e.Base||(e.Base={}),(e=i=r.StiDataFormatType||(r.StiDataFormatType={}))[e["Xml"]=0]="Xml",e[e["Json"]=1]="Json",(e=o=r.StiRetrieveColumnsMode||(r.StiRetrieveColumnsMode={}))[e["KeyInfo"]=0]="KeyInfo",e[e["SchemaOnly"]=1]="SchemaOnly",e[e["FillSchema"]=2]="FillSchema",(e=n=r.StiConnectionIdent||(r.StiConnectionIdent={}))[e["Db2DataSource"]=1]="Db2DataSource",e[e["InformixDataSource"]=2]="InformixDataSource",e[e["MsAccessDataSource"]=3]="MsAccessDataSource",e[e["MsSqlDataSource"]=4]="MsSqlDataSource",e[e["MySqlDataSource"]=5]="MySqlDataSource",e[e["OdbcDataSource"]=6]="OdbcDataSource",e[e["OleDbDataSource"]=7]="OleDbDataSource",e[e["FirebirdDataSource"]=8]="FirebirdDataSource",e[e["PostgreSqlDataSource"]=9]="PostgreSqlDataSource",e[e["OracleDataSource"]=10]="OracleDataSource",e[e["SqlCeDataSource"]=11]="SqlCeDataSource",e[e["SqLiteDataSource"]=12]="SqLiteDataSource",e[e["SybaseDataSource"]=13]="SybaseDataSource",e[e["TeradataDataSource"]=14]="TeradataDataSource",e[e["VistaDbDataSource"]=15]="VistaDbDataSource",e[e["UniversalDevartDataSource"]=16]="UniversalDevartDataSource",e[e["ODataDataSource"]=17]="ODataDataSource",e[e["CsvDataSource"]=18]="CsvDataSource",e[e["DBaseDataSource"]=19]="DBaseDataSource",e[e["DynamicsNavDataSource"]=20]="DynamicsNavDataSource",e[e["ExcelDataSource"]=21]="ExcelDataSource",e[e["JsonDataSource"]=22]="JsonDataSource",e[e["XmlDataSource"]=23]="XmlDataSource",e[e["DropboxCloudStorage"]=24]="DropboxCloudStorage",e[e["GoogleDriveCloudStorage"]=25]="GoogleDriveCloudStorage",e[e["OneDriveCloudStorage"]=26]="OneDriveCloudStorage",e[e["SharePointCloudStorage"]=27]="SharePointCloudStorage",e[e["DataWorldDataSource"]=28]="DataWorldDataSource",e[e["QuickBooksDataSource"]=29]="QuickBooksDataSource",e[e["Unspecified"]=30]="Unspecified",(e=a=r.StiConnectionOrder||(r.StiConnectionOrder={}))[e["MsSqlDataSource"]=10]="MsSqlDataSource",e[e["MySqlDataSource"]=20]="MySqlDataSource",e[e["OdbcDataSource"]=30]="OdbcDataSource",e[e["OleDbDataSource"]=40]="OleDbDataSource",e[e["OracleDataSource"]=50]="OracleDataSource",e[e["MsAccessDataSource"]=60]="MsAccessDataSource",e[e["PostgreSqlDataSource"]=70]="PostgreSqlDataSource",e[e["FirebirdDataSource"]=80]="FirebirdDataSource",e[e["SqlCeDataSource"]=90]="SqlCeDataSource",e[e["SqLiteDataSource"]=100]="SqLiteDataSource",e[e["Db2DataSource"]=110]="Db2DataSource",e[e["InformixDataSource"]=120]="InformixDataSource",e[e["SybaseDataSource"]=130]="SybaseDataSource",e[e["TeradataDataSource"]=140]="TeradataDataSource",e[e["VistaDbDataSource"]=150]="VistaDbDataSource",e[e["UniversalDevartDataSource"]=160]="UniversalDevartDataSource",e[e["ODataDataSource"]=170]="ODataDataSource",e[e["ExcelDataSource"]=180]="ExcelDataSource",e[e["JsonDataSource"]=190]="JsonDataSource",e[e["XmlDataSource"]=200]="XmlDataSource",e[e["CsvDataSource"]=210]="CsvDataSource",e[e["DBaseDataSource"]=220]="DBaseDataSource",e[e["DynamicsNavDataSource"]=230]="DynamicsNavDataSource",e[e["DropboxCloudStorage"]=240]="DropboxCloudStorage",e[e["GoogleDriveCloudStorage"]=250]="GoogleDriveCloudStorage",e[e["OneDriveCloudStorage"]=260]="OneDriveCloudStorage",e[e["SharePointCloudStorage"]=270]="SharePointCloudStorage",e[e["DataWorldDataSource"]=330]="DataWorldDataSource",e[e["QuickBooksDataSource"]=340]="QuickBooksDataSource",e[e["Unspecified"]=0]="Unspecified",(r=s=r.StiFileType||(r.StiFileType={}))[r["Unknown"]=1]="Unknown",r[r["ReportSnapshot"]=2]="ReportSnapshot",r[r["Pdf"]=3]="Pdf",r[r["Xps"]=4]="Xps",r[r["PowerPoint"]=5]="PowerPoint",r[r["Html"]=6]="Html",r[r["Text"]=7]="Text",r[r["RichText"]=8]="RichText",r[r["Word"]=9]="Word",r[r["OpenDocumentWriter"]=10]="OpenDocumentWriter",r[r["Excel"]=11]="Excel",r[r["OpenDocumentCalc"]=12]="OpenDocumentCalc",r[r["Data"]=13]="Data",r[r["Image"]=14]="Image",r[r["Xml"]=15]="Xml",r[r["Xsd"]=16]="Xsd",r[r["Csv"]=17]="Csv",r[r["Dbf"]=18]="Dbf",r[r["Sylk"]=19]="Sylk",r[r["Dif"]=20]="Dif",r[r["Json"]=21]="Json"}(Stimulsoft=Stimulsoft||{}),function(e){var t,r;(r=t=e.Base||(e.Base={})).IStiBIDataCache=new e.System.Interface("IStiBIDataCache")}(Stimulsoft=Stimulsoft||{}),function(e){var t,i,r,e;function o(){}i=t=e.Base||(e.Base={}),r=e.System.Exception,o.checkInitialization=function(){if(null==i.StiBIDataCacheOptions.cache)throw new r("The StiBIDataCacheHelper.Cache property is not initialized!")},o.exists=function(e){return this.checkInitialization(),i.StiBIDataCacheOptions.cache.exists2(e)},o.remove=function(e){this.checkInitialization(),i.StiBIDataCacheOptions.cache.remove(e)},o.clean=function(e){this.checkInitialization(),i.StiBIDataCacheOptions.cache.clean(e)},o.cleanAll=function(){this.checkInitialization(),i.StiBIDataCacheOptions.cache.cleanAll()},o.getTableCount=function(){return this.checkInitialization(),i.StiBIDataCacheOptions.cache.getTableCount()},o.getRowCount=function(e){return this.checkInitialization(),i.StiBIDataCacheOptions.cache.getRowCount(e)},o.runQuery=function(e){return this.checkInitialization(),i.StiBIDataCacheOptions.cache.runQuery(e)},o.get=function(e,t){return void 0===t&&(t=!1),this.checkInitialization(),t?i.StiBIDataCacheOptions.cache.getData(e):i.StiBIDataCacheOptions.cache.getSchema(e)},o.add=function(e,t,r){var e=i.StiAppKey.getOrGeneratedKey2(e);this.add2(e,t,r)},o.add2=function(e,t,r){this.checkInitialization(),i.StiBIDataCacheOptions.cache.add(e,t,r)},o.getTableName=function(e,t){return i.StiBIDataCacheOptions.cache.getTableName(e,t)},e=o,i.StiBIDataCacheHelper=e}(Stimulsoft=Stimulsoft||{}),function(e){var t,r,i;function o(){}(r=t=e.Base||(e.Base={})).StiBIDataCacheOptions=o}(Stimulsoft=Stimulsoft||{}),function(e){var t,r,i,o;r=t=e.Base||(e.Base={}),(o=i=r.Design||(r.Design={})).IStiDefault=new e.System.Interface("IStiDefault")}(Stimulsoft=Stimulsoft||{}),function(e){var t,r,i,e,o,n,a,s,l,u,c,d,h,m,p,f,S;r=t=e.Base||(e.Base={}),e=i=r.Drawing||(r.Drawing={}),(r=o=e.StiCheckState||(e.StiCheckState={}))[r["Unchecked"]=1]="Unchecked",r[r["Checked"]=2]="Checked",r[r["Indeterminate"]=3]="Indeterminate",(r=n=e.StiAction||(e.StiAction={}))[r["None"]=0]="None",r[r["Move"]=1]="Move",r[r["Select"]=2]="Select",r[r["SizeLeft"]=3]="SizeLeft",r[r["SizeRight"]=4]="SizeRight",r[r["SizeTop"]=5]="SizeTop",r[r["SizeBottom"]=6]="SizeBottom",r[r["SizeLeftTop"]=7]="SizeLeftTop",r[r["SizeLeftBottom"]=8]="SizeLeftBottom",r[r["SizeRightTop"]=9]="SizeRightTop",r[r["SizeRightBottom"]=10]="SizeRightBottom",r[r["ResizeColumns"]=11]="ResizeColumns",r[r["ResizeRows"]=12]="ResizeRows",r[r["SelectColumn"]=13]="SelectColumn",r[r["SelectRow"]=14]="SelectRow",(r=a=e.StiBorderSides||(e.StiBorderSides={}))[r["None"]=0]="None",r[r["All"]=15]="All",r[r["Top"]=1]="Top",r[r["Left"]=2]="Left",r[r["Right"]=4]="Right",r[r["Bottom"]=8]="Bottom",(r=s=e.StiPenStyle||(e.StiPenStyle={}))[r["Solid"]=0]="Solid",r[r["Dash"]=1]="Dash",r[r["DashDot"]=2]="DashDot",r[r["DashDotDot"]=3]="DashDotDot",r[r["Dot"]=4]="Dot",r[r["Double"]=5]="Double",r[r["None"]=6]="None",(r=l=e.StiRotationMode||(e.StiRotationMode={}))[r["LeftTop"]=0]="LeftTop",r[r["LeftCenter"]=1]="LeftCenter",r[r["LeftBottom"]=2]="LeftBottom",r[r["CenterTop"]=3]="CenterTop",r[r["CenterCenter"]=4]="CenterCenter",r[r["CenterBottom"]=5]="CenterBottom",r[r["RightTop"]=6]="RightTop",r[r["RightCenter"]=7]="RightCenter",r[r["RightBottom"]=8]="RightBottom",(r=u=e.StiShadowSides||(e.StiShadowSides={}))[r["Top"]=1]="Top",r[r["Right"]=2]="Right",r[r["Edge"]=4]="Edge",r[r["Bottom"]=8]="Bottom",r[r["Left"]=16]="Left",r[r["All"]=31]="All",(r=c=e.StiVertAlignment||(e.StiVertAlignment={}))[r["Top"]=0]="Top",r[r["Center"]=1]="Center",r[r["Bottom"]=2]="Bottom",(r=d=e.StiTextHorAlignment||(e.StiTextHorAlignment={}))[r["Left"]=0]="Left",r[r["Center"]=1]="Center",r[r["Right"]=2]="Right",r[r["Width"]=3]="Width",(r=h=e.StiHorAlignment||(e.StiHorAlignment={}))[r["Left"]=1]="Left",r[r["Center"]=2]="Center",r[r["Right"]=3]="Right",(r=m=e.StiTextDockMode||(e.StiTextDockMode={}))[r["Top"]=0]="Top",r[r["Bottom"]=1]="Bottom",r[r["Left"]=2]="Left",r[r["Right"]=3]="Right",(r=p=e.StiBrushIdent||(e.StiBrushIdent={}))[r["Empty"]=1]="Empty",r[r["Solid"]=2]="Solid",r[r["Gradient"]=3]="Gradient",r[r["Glare"]=4]="Glare",r[r["Glass"]=5]="Glass",r[r["Hatch"]=6]="Hatch",(r=f=e.StiBorderIdent||(e.StiBorderIdent={}))[r["Border"]=1]="Border",r[r["AdvancedBorder"]=2]="AdvancedBorder",(e=S=e.StiCapStyle||(e.StiCapStyle={}))[e["None"]=0]="None",e[e["Arrow"]=1]="Arrow",e[e["Open"]=2]="Open",e[e["Stealth"]=3]="Stealth",e[e["Diamond"]=4]="Diamond",e[e["Square"]=5]="Square",e[e["Oval"]=6]="Oval"}(Stimulsoft=Stimulsoft||{}),function(e){var t,r,i,o;r=t=e.Base||(e.Base={}),(o=i=r.Drawing||(r.Drawing={})).PointD=e.System.Drawing.Point}(Stimulsoft=Stimulsoft||{}),function(e){var t,r,i,o;r=t=e.Base||(e.Base={}),(o=i=r.Drawing||(r.Drawing={})).RectangleD=e.System.Drawing.Rectangle}(Stimulsoft=Stimulsoft||{}),function(e){var t,r,i,o;r=t=e.Base||(e.Base={}),(o=i=r.Drawing||(r.Drawing={})).SizeD=e.System.Drawing.Size}(Stimulsoft=Stimulsoft||{}),function(e){var t,r,i,e;function o(){}r=t=e.Base||(e.Base={}),e=i=r.Drawing||(r.Drawing={}),o.pointInEdge=function(e,t,r,i){var o=Math.round2(r.x,2),r=Math.round2(r.y,2),e=Math.round2(e,2),t=Math.round2(t,2),i=Math.round2(i,2);return o-i<=e&&r-i<=t&&e<=o+i&&t<=r+i},o.pointInRect=function(e,t,r){var i=Math.round2(r.left,2),o=Math.round2(r.top,2),n=Math.round2(r.right,2),r=Math.round2(r.bottom,2),e=Math.round2(e,2),t=Math.round2(t,2);return i<=e&&o<=t&&t<r&&e<n},r=o,e.StiActionUtils=r}(Stimulsoft=Stimulsoft||{}),function(r){var e,t,i,o,n,a,s,l,u,c;function d(){}t=e=r.Base||(r.Base={}),o=i=t.Drawing||(t.Drawing={}),n=r.System.ICloneable,a=r.System.Drawing.Color,s=r.System.Drawing.SolidBrush,l=r.System.Enum,u=r.System.Drawing.Drawing2D.HatchStyle,c=r.System.Text.StiReportObjectStringConverter,d.prototype.implements=function(){return[n]},d.prototype.is=function(e){if(e instanceof r.System.Interface)return-1!=this.implements().indexOf(e);if("function"==typeof e)return this instanceof e;if(null==e)throw new Error("Type for comparison is 'undefined'");return!1},d.prototype.is2=function(e){return this.is(e)},d.prototype.as=function(e){if(this.is(e))return this;return null},d.prototype.clone=function(){return this.memberwiseClone()},d.prototype.memberwiseClone=function(){return this.stimulsoft.memberwiseClone(!0)},d.prototype.equals=function(e){if(null==e)return!1;if(this==e)return!0;return!1},d.convertToBrush=function(e){if(e.stimulsoft.startsWith("[")&&e.stimulsoft.endsWith("]"))return new o.StiSolidBrush(c.convertStringToColor(e));if("EmptyBrush"==e)return new o.StiEmptyBrush;if(e.stimulsoft.startsWith("HatchBrush")){var t=e.split(",");return new o.StiHatchBrush(l.parse(u,t[1]),c.convertStringToColor(t[2]),c.convertStringToColor(t[3]))}if(e.stimulsoft.startsWith("GradientBrush")){var t=e.split(",");return new o.StiGradientBrush(c.convertStringToColor(t[1]),c.convertStringToColor(t[2]),t[3].stimulsoft.toNumber())}if(e.stimulsoft.startsWith("GlassBrush")){var t=e.split(",");return new o.StiGlassBrush(c.convertStringToColor(t[1]),"true"==t[2].toLowerCase(),t[3].stimulsoft.toNumber())}if(e.stimulsoft.startsWith("GlareBrush")){var t=e.split(",");return new o.StiGlareBrush(c.convertStringToColor(t[1]),c.convertStringToColor(t[2]),t[3].stimulsoft.toNumber(),t[4].stimulsoft.toNumber(),t[5].stimulsoft.toNumber())}return new o.StiSolidBrush(r.System.Text.StiReportObjectStringConverter.convertStringToColor(e))},d.loadFromXml=function(e){if("EmptyBrush"==e)return new o.StiEmptyBrush;if(e.stimulsoft.startsWith("HatchBrush")){var t=e.split(",");return new o.StiHatchBrush(l.parse(u,t[1]),c.convertStringToColor(t[2]),c.convertStringToColor(t[3]))}if(e.stimulsoft.startsWith("GradientBrush")){var t=e.split(",");return new o.StiGradientBrush(c.convertStringToColor(t[1]),c.convertStringToColor(t[2]),t[3].stimulsoft.toNumber())}if(e.stimulsoft.startsWith("GlassBrush")){var t=e.split(",");return new o.StiGlassBrush(c.convertStringToColor(t[1]),"true"==t[2].toLowerCase(),t[3].stimulsoft.toNumber())}if(e.stimulsoft.startsWith("GlareBrush")){var t=e.split(",");return new o.StiGlareBrush(c.convertStringToColor(t[1]),c.convertStringToColor(t[2]),t[3].stimulsoft.toNumber(),t[4].stimulsoft.toNumber(),t[5].stimulsoft.toNumber())}return new o.StiSolidBrush(c.convertStringToColor(e))},d.light=function(e,t){if(e&&e.is(o.StiSolidBrush))return new o.StiSolidBrush(o.StiColorUtils.light(e.color,t));if(e&&e.is(o.StiGradientBrush)){var r=e;return new o.StiGradientBrush(o.StiColorUtils.light(r.startColor,t),o.StiColorUtils.light(r.endColor,t),r.angle)}if(e&&e.is(o.StiHatchBrush)){var r=e;return new o.StiHatchBrush(r.style,o.StiColorUtils.light(r.foreColor,t),o.StiColorUtils.light(r.backColor,t))}if(e&&e.is(o.StiGlareBrush)){var i=e;return new o.StiGlareBrush(o.StiColorUtils.light(i.startColor,t),o.StiColorUtils.light(i.endColor,t),i.angle)}if(e&&e.is(o.StiGlassBrush)){var i=e;return new o.StiGlassBrush(o.StiColorUtils.light(i.color,t),i.drawHatch,i.blend)}return e},d.dark=function(e,t){if(e&&e.is(o.StiSolidBrush))return new o.StiSolidBrush(o.StiColorUtils.dark(e.color,t));if(e&&e.is(o.StiGradientBrush)){var r=e;return new o.StiGradientBrush(o.StiColorUtils.dark(r.startColor,t),o.StiColorUtils.dark(r.endColor,t),r.angle)}if(e&&e.is(o.StiHatchBrush)){var r=e;return new o.StiHatchBrush(r.style,o.StiColorUtils.dark(r.foreColor,t),o.StiColorUtils.dark(r.backColor,t))}if(e&&e.is(o.StiGlareBrush)){var i=e;return new o.StiGlareBrush(o.StiColorUtils.dark(i.startColor,t),o.StiColorUtils.dark(i.endColor,t),i.angle)}if(e&&e.is(o.StiGlassBrush)){var i=e;return new o.StiGlassBrush(o.StiColorUtils.dark(i.color,t),i.drawHatch,i.blend)}return e},d.getBrush=function(e,t){if(e.is(o.StiEmptyBrush))return new s(a.transparent);if(e.is(o.StiSolidBrush))return new s(e.color);return e.is(o.StiGradientBrush)||e.is(o.StiHatchBrush)||e.is(o.StiGlareBrush)||e.is(o.StiGlassBrush),null},d.toColor=function(e){if(e&&e.is(o.StiEmptyBrush))return a.transparent;if(e&&e.is(o.StiSolidBrush))return e.color;if(e&&e.is(o.StiGradientBrush))return e.startColor;if(e&&e.is(o.StiGlareBrush))return e.startColor;if(e&&e.is(o.StiGlassBrush))return e.color;if(e&&e.is(o.StiHatchBrush))return e.foreColor;return a.empty},t=d,o.StiBrush=t}(Stimulsoft=Stimulsoft||{}),function(e){var t,r,i,o,n,a;function s(e){void 0===e&&(e=n.transparent);var t=a.call(this)||this;return t._color=e,t}r=t=e.Base||(e.Base={}),o=i=r.Drawing||(r.Drawing={}),n=e.System.Drawing.Color,a=o.StiBrush,__extends(s,a),s.prototype.memberwiseClone=function(){return new s(this._color)},Object.defineProperty(s.prototype,"color",{get:function(){return this._color},set:function(e){this._color=e},enumerable:!1,configurable:!0}),r=s,o.StiSolidBrush=r}(Stimulsoft=Stimulsoft||{}),function(t){var e,r,i,c,o,d,n,a,h,m,s,l;function u(e,t,r,i,o,n,a){this.side=c.StiBorderSides.None,this.size=1,this.style=c.StiPenStyle.Solid,this.shadowSize=4,this.dropShadow=!1,this.topmost=!1,this.side=e,this.color=t,this.size=r,this.style=i,this.shadowSize=o,this.dropShadow=n,this.topmost=a}function p(e,t,r,i,o,n,a,s){void 0===e&&(e=c.StiBorderSides.None),void 0===t&&(t=d.black),void 0===r&&(r=1),void 0===i&&(i=c.StiPenStyle.Solid),void 0===o&&(o=!1),void 0===n&&(n=4),void 0===a&&(a=new c.StiSolidBrush(d.black)),void 0===s&&(s=!1),this.bits=null,this.defaultHashCode=this.stimulsoft.getHashCode(),l.isDefault2(e,t,r,i,o,n,s)?this.bits=null:this.bits=new l(e,t,r,i,n,o,s),this._shadowBrush=a}r=e=t.Base||(t.Base={}),c=i=r.Drawing||(r.Drawing={}),o=t.System.Drawing.Rectangle,d=t.System.Drawing.Color,n=t.System.ICloneable,a=t.System.Enum,h=t.System.Drawing.Pen,m=t.System.Drawing.Drawing2D.LineCap,s=t.System.Text.StiReportObjectStringConverter,u.prototype.clone=function(){return new u(this.side,this.color,this.size,this.style,this.shadowSize,this.dropShadow,this.topmost)},u.prototype.equals=function(e){if(null==e)return!1;if(this==e)return!0;var e=e.stimulsoft.as(u);return null!=e&&this.side==e.side&&this.color.equals(e.color)&&this.size==e.size&&this.style==e.style&&this.shadowSize==e.shadowSize&&this.topmost==e.topmost&&this.dropShadow==e.dropShadow},u.prototype.getHashCode=function(){var e=this.side,e;return e=397*(e=397*(e=397*(e=397*(e=397*(e=397*e^this.color.stimulsoft.getHashCode())^this.size.stimulsoft.getHashCode())^this.style)^this.shadowSize.stimulsoft.getHashCode())^this.topmost.stimulsoft.getHashCode())^this.dropShadow.stimulsoft.getHashCode(),Math.abs(e)},u.isDefault=function(e,t,r,i,o,n,a){return e.stimulsoft.is(u)&&(t=e.color,r=e.size,i=e.style,o=e.dropShadow,n=e.shadowSize,a=e.topmost,e=e.side),this.isDefault2(e,t,r,i,o,n,a)},u.isDefault2=function(e,t,r,i,o,n,a){if(t.equals(d.black)&&!o&&!a&&4==n&&e==c.StiBorderSides.None&&1==r&&i==c.StiPenStyle.Solid)return!0;return!1},l=u,p.prototype.implements=function(){return[n]},p.prototype.is=function(e){if(e instanceof t.System.Interface)return-1!=this.implements().indexOf(e);if("function"==typeof e)return this instanceof e;if(null==e)throw new Error("Type for comparison is 'undefined'");return!1},p.prototype.is2=function(e){return this.is(e)},p.prototype.as=function(e){if(this.is(e))return this;return null},p.prototype.clone=function(){return new p(this.side,this.color,this.size,this.style,this.dropShadow,this.shadowSize,null!=this._shadowBrush?this._shadowBrush.clone():null,this.topmost)},p.prototype.equals=function(e){if(null==e)return!1;if(this==e)return!0;var e=e.stimulsoft.as(p);return null!=e&&(null!=this.bits?this.bits.equals(e.bits):null==e.bits)&&(null!=this._shadowBrush?this._shadowBrush.equals(e._shadowBrush):null==e._shadowBrush)},p.prototype.getSizeOffset=function(){return this.size/2},p.prototype.getHashCode=function(){return 397*(397*this.defaultHashCode^(null!=this.bits?this.bits.stimulsoft.getHashCode():0))^(null!=this._shadowBrush?this._shadowBrush.stimulsoft.getHashCode():0)},p.prototype.getSizeIncludingSide=function(){if(this.style==c.StiPenStyle.None)return 0;if(this.style==c.StiPenStyle.Double)return 3;if(this.side==c.StiBorderSides.None)return 0;return this.size},p.prototype.draw=function(e,t,r,i,o,n){if(void 0===i&&(i=d.white),void 0===o&&(o=!0),void 0===n&&(n=!0),null==this.bits)return;if(this.isDefault())return;var a,s,l,u,o,n,i,r;o&&this.drawBorderShadow(e,t,r),n&&(a=null,s=new h(this.bits.color),this.bits.style==c.StiPenStyle.Double&&(a=new h(i)),s.dashStyle=c.StiPenUtils.getPenStyle(this.bits.style),this.bits.style!=c.StiPenStyle.None&&(s.width=Math.trunc(this.bits.size*r),s.startCap=m.Square,s.endCap=m.Square,l=t.clone(),u=t.clone(),this.bits.style==c.StiPenStyle.Double&&(l.inflate(-1,-1),u.inflate(1,1),s.width=1),r=i=n=o=0,this.isAllBorderSidesPresent?this.bits.style==c.StiPenStyle.Double?(e.drawRectangle(a,t),e.drawRectangle(s,l),e.drawRectangle(s,u)):e.drawRectangle(s,t):(this.isTopBorderSidePresent&&(o=l.left,n=l.right,this.isLeftBorderSidePresent||(o=u.left),this.isRightBorderSidePresent||(n=u.right),this.bits.style==c.StiPenStyle.Double?(e.drawLine(a,t.left,t.top,t.right,t.top),e.drawLine(s,o,l.top,n,l.top),e.drawLine(s,u.left,u.top,u.right,u.top)):e.drawLine(s,t.left,t.top,t.right,t.top)),this.isLeftBorderSidePresent&&(i=l.top,r=l.bottom,this.isTopBorderSidePresent||(i=u.top),this.isBottomBorderSidePresent||(r=u.bottom),this.style==c.StiPenStyle.Double?(e.drawLine(a,t.left,t.top,t.left,t.bottom),e.drawLine(s,l.left,i,l.left,r),e.drawLine(s,u.left,u.top,u.left,u.bottom)):e.drawLine(s,t.left,t.top,t.left,t.bottom)),this.isBottomBorderSidePresent&&(o=l.left,n=l.right,this.isLeftBorderSidePresent||(o=u.left),this.isRightBorderSidePresent||(n=u.right),this.bits.style==c.StiPenStyle.Double?(e.drawLine(a,t.left,t.bottom,t.right,t.bottom),e.drawLine(s,o,l.bottom,n,l.bottom),e.drawLine(s,u.left,u.bottom,u.right,u.bottom)):e.drawLine(s,t.left,t.bottom,t.right,t.bottom)),this.isRightBorderSidePresent&&(i=l.top,r=l.bottom,this.isTopBorderSidePresent||(i=u.top),this.isBottomBorderSidePresent||(r=u.bottom),this.bits.style==c.StiPenStyle.Double?(e.drawLine(a,t.right,t.top,t.right,t.bottom),e.drawLine(s,l.right,i,l.right,r),e.drawLine(s,u.right,u.top,u.right,u.bottom)):e.drawLine(s,t.right,t.top,t.right,t.bottom))),null!=a&&(a=null)))},p.prototype.drawBorderShadow=function(e,t,r){if(this.isDefault())return;if(null==this.bits)return;var i,r,r;this.bits.dropShadow&&(i=this.bits.shadowSize*r,r=new o(t.left+i,t.top+i,t.width,t.height),r=c.StiBrush.getBrush(this.shadowBrush,r),e.fillRectangle(r,t.right,t.top+i,i,t.height-i),e.fillRectangle(r,t.left+i,t.bottom,t.width,i))},Object.defineProperty(p.prototype,"isTopBorderSidePresent",{get:function(){if(null==this.bits)return!1;return 0!=(this.bits.side&c.StiBorderSides.Top)},enumerable:!1,configurable:!0}),Object.defineProperty(p.prototype,"isBottomBorderSidePresent",{get:function(){if(null==this.bits)return!1;return 0!=(this.bits.side&c.StiBorderSides.Bottom)},enumerable:!1,configurable:!0}),Object.defineProperty(p.prototype,"isLeftBorderSidePresent",{get:function(){if(null==this.bits)return!1;return 0!=(this.bits.side&c.StiBorderSides.Left)},enumerable:!1,configurable:!0}),Object.defineProperty(p.prototype,"isRightBorderSidePresent",{get:function(){if(null==this.bits)return!1;return 0!=(this.bits.side&c.StiBorderSides.Right)},enumerable:!1,configurable:!0}),Object.defineProperty(p.prototype,"isAllBorderSidesPresent",{get:function(){if(null==this.bits)return!1;return this.bits.side==c.StiBorderSides.All},enumerable:!1,configurable:!0}),Object.defineProperty(p.prototype,"isDefaultShadowBrush",{get:function(){return this.shadowBrush.is(c.StiSolidBrush)&&this.shadowBrush.color.equals(d.black)},enumerable:!1,configurable:!0}),Object.defineProperty(p.prototype,"side",{get:function(){if(null==this.bits)return c.StiBorderSides.None;return this.bits.side},set:function(e){if(e==c.StiBorderSides.None&&null==this.bits)return;null!=this.bits?this.bits.side=e:this.bits=new l(e,this.color,this.size,this.style,this.shadowSize,this.dropShadow,this.topmost)},enumerable:!1,configurable:!0}),Object.defineProperty(p.prototype,"color",{get:function(){if(null==this.bits)return d.black;return this.bits.color},set:function(e){if(d.black.equals(e)&&null==this.bits)return;null!=this.bits?this.bits.color=e:this.bits=new l(this.side,e,this.size,this.style,this.shadowSize,this.dropShadow,this.topmost)},enumerable:!1,configurable:!0}),Object.defineProperty(p.prototype,"size",{get:function(){if(null==this.bits)return 1;return this.bits.size},set:function(e){if(1==e&&null==this.bits)return;null!=this.bits?this.bits.size=e:this.bits=new l(this.side,this.color,e,this.style,this.shadowSize,this.dropShadow,this.topmost)},enumerable:!1,configurable:!0}),Object.defineProperty(p.prototype,"style",{get:function(){if(null==this.bits)return c.StiPenStyle.Solid;return this.bits.style},set:function(e){if(e==c.StiPenStyle.Solid&&null==this.bits)return;null!=this.bits?this.bits.style=e:this.bits=new l(this.side,this.color,this.size,e,this.shadowSize,this.dropShadow,this.topmost)},enumerable:!1,configurable:!0}),Object.defineProperty(p.prototype,"shadowBrush",{get:function(){return this._shadowBrush},set:function(e){this._shadowBrush=e},enumerable:!1,configurable:!0}),Object.defineProperty(p.prototype,"shadowSize",{get:function(){if(null==this.bits)return 4;return this.bits.shadowSize},set:function(e){if(4==e&&null==this.bits)return;null!=this.bits?this.bits.shadowSize=e:this.bits=new l(this.side,this.color,this.size,this.style,e,this.dropShadow,this.topmost)},enumerable:!1,configurable:!0}),Object.defineProperty(p.prototype,"dropShadow",{get:function(){if(null==this.bits)return!1;return this.bits.dropShadow},set:function(e){if(0==e&&null==this.bits)return;null!=this.bits?this.bits.dropShadow=e:this.bits=new l(this.side,this.color,this.size,this.style,this.shadowSize,e,this.topmost)},enumerable:!1,configurable:!0}),Object.defineProperty(p.prototype,"topmost",{get:function(){if(null==this.bits)return!1;return this.bits.topmost},set:function(e){if(0==e&&null==this.bits)return;null!=this.bits?this.bits.topmost=e:this.bits=new l(this.side,this.color,this.size,this.style,this.shadowSize,this.dropShadow,e)},enumerable:!1,configurable:!0}),p.prototype.isDefault=function(){return this.isDefaultShadowBrush&&null==this.bits},p.loadFromXml=function(e){var t=e.split(";");if(e.stimulsoft.startsWith("Adv")){var r=!1;return 16==t.length&&(r="true"==t[15].toLowerCase()),new c.StiAdvancedBorder(new c.StiBorderSide(s.convertStringToColor(t[0].substring(3)),t[1].stimulsoft.toNumber(),a.parse(c.StiPenStyle,t[2])),new c.StiBorderSide(s.convertStringToColor(t[3]),t[4].stimulsoft.toNumber(),a.parse(c.StiPenStyle,t[5])),new c.StiBorderSide(s.convertStringToColor(t[6]),t[7].stimulsoft.toNumber(),a.parse(c.StiPenStyle,t[8])),new c.StiBorderSide(s.convertStringToColor(t[9]),t[10].stimulsoft.toNumber(),a.parse(c.StiPenStyle,t[11])),"true"==t[12].toLowerCase(),t[13].stimulsoft.toNumber(),c.StiBrush.convertToBrush(t[14]),r)}var r=!1;return 8==t.length&&(r="true"==t[7].toLowerCase()),new p(a.parse(c.StiBorderSides,t[0]),s.convertStringToColor(t[1]),t[2].stimulsoft.toNumber(),a.parse(c.StiPenStyle,t[3]),4<t.length&&"true"==t[4].toLowerCase(),5<t.length?t[5].stimulsoft.toNumber():4,6<t.length?c.StiBrush.convertToBrush(t[6]):new c.StiSolidBrush(d.black),r)},r=p,c.StiBorder=r}(Stimulsoft=Stimulsoft||{}),function(e){var t,r,i,u,o,c,d;function n(e,t,r,i,o,n,a,s){void 0===e&&(e=new u.StiBorderSide),void 0===t&&(t=new u.StiBorderSide),void 0===r&&(r=new u.StiBorderSide),void 0===i&&(i=new u.StiBorderSide),void 0===o&&(o=!1),void 0===n&&(n=4),void 0===a&&(a=new u.StiSolidBrush(c.black)),void 0===s&&(s=!1);var l=d.call(this)||this;return l._topSide=e,l._bottomSide=t,l._leftSide=r,l._rightSide=i,l._leftSide.side=u.StiBorderSides.Left,l._rightSide.side=u.StiBorderSides.Right,l._topSide.side=u.StiBorderSides.Top,l._bottomSide.side=u.StiBorderSides.Bottom,l.shadowBrush=a,l.shadowSize=n,l.dropShadow=o,l.topmost=s,l}r=t=e.Base||(e.Base={}),u=i=r.Drawing||(r.Drawing={}),o=e.System.StiObject,c=e.System.Drawing.Color,d=u.StiBorder,__extends(n,d),n.prototype.clone=function(){var e=d.prototype.clone.call(this);return e._topSide=this._topSide.clone(),e._bottomSide=this._bottomSide.clone(),e._leftSide=this._leftSide.clone(),e._rightSide=this._rightSide.clone(),e},n.prototype.equals=function(e){if(o.referenceEquals(null,e))return!1;if(o.referenceEquals(this,e))return!0;if(e.stimulsoft.getType()!=this.stimulsoft.getType())return!1;return d.prototype.equals.call(this,e)&&this._bottomSide.equals(e._bottomSide)&&this._topSide.equals(e._topSide)&&this._leftSide.equals(e._leftSide)&&this._rightSide.equals(e._rightSide)},n.prototype.getHashCode=function(){var e=d.prototype.getHashCode.call(this),e;return e=397*(e=397*(e=397*(e=397*e^(null!=this._bottomSide?this._bottomSide.stimulsoft.getHashCode():0))^(null!=this._topSide?this._topSide.stimulsoft.getHashCode():0))^(null!=this._leftSide?this._leftSide.stimulsoft.getHashCode():0))^(null!=this._rightSide?this._rightSide.stimulsoft.getHashCode():0),Math.abs(e)},Object.defineProperty(n.prototype,"leftSide",{get:function(){return this._leftSide},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"rightSide",{get:function(){return this._rightSide},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"topSide",{get:function(){return this._topSide},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"bottomSide",{get:function(){return this._bottomSide},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"isTopBorderSidePresent",{get:function(){return this.topSide.style!=u.StiPenStyle.None},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"isBottomBorderSidePresent",{get:function(){return this.bottomSide.style!=u.StiPenStyle.None},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"isLeftBorderSidePresent",{get:function(){return this.leftSide.style!=u.StiPenStyle.None},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"isRightBorderSidePresent",{get:function(){return this.rightSide.style!=u.StiPenStyle.None},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"isAllBorderSidesPresent",{get:function(){return this.isLeftBorderSidePresent&&this.isRightBorderSidePresent&&this.isTopBorderSidePresent&&this.isBottomBorderSidePresent},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"side",{get:function(){var e=u.StiBorderSides.None;return this.isLeftBorderSidePresent&&(e|=u.StiBorderSides.Left),this.isRightBorderSidePresent&&(e|=u.StiBorderSides.Right),this.isTopBorderSidePresent&&(e|=u.StiBorderSides.Top),this.isBottomBorderSidePresent&&(e|=u.StiBorderSides.Bottom),e},set:function(e){0<(e&u.StiBorderSides.Left)?this.isLeftBorderSidePresent||(this.leftSide.style=u.StiPenStyle.Solid):this.leftSide.style=u.StiPenStyle.None,0<(e&u.StiBorderSides.Right)?this.isRightBorderSidePresent||(this.rightSide.style=u.StiPenStyle.Solid):this.rightSide.style=u.StiPenStyle.None,0<(e&u.StiBorderSides.Top)?this.isTopBorderSidePresent||(this.topSide.style=u.StiPenStyle.Solid):this.topSide.style=u.StiPenStyle.None,0<(e&u.StiBorderSides.Bottom)?this.isBottomBorderSidePresent||(this.bottomSide.style=u.StiPenStyle.Solid):this.bottomSide.style=u.StiPenStyle.None},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"color",{get:function(){return this.leftSide.color},set:function(e){this.leftSide.color=e,this.rightSide.color=e,this.topSide.color=e,this.bottomSide.color=e},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"size",{get:function(){return this.leftSide.size},set:function(e){this.leftSide.size=e,this.rightSide.size=e,this.topSide.size=e,this.bottomSide.size=e},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"style",{get:function(){return this.leftSide.style},set:function(e){this.leftSide.style=e,this.rightSide.style=e,this.topSide.style=e,this.bottomSide.style=e},enumerable:!1,configurable:!0}),n.prototype.isDefault=function(){return!this.dropShadow&&!this.topmost&&4==this.shadowSize&&this.shadowBrush.is(u.StiSolidBrush)&&this.shadowBrush.color.equals(c.black)&&this.leftSide.isDefault()&&this.rightSide.isDefault()&&this.topSide.isDefault()&&this.bottomSide.isDefault()},r=n,u.StiAdvancedBorder=r}(Stimulsoft=Stimulsoft||{}),function(e){var t,r,i,o,n,a;function s(e,t,r){void 0===e&&(e=a.black),void 0===t&&(t=1),void 0===r&&(r=o.StiPenStyle.None),this.side=o.StiBorderSides.None,this._color=a.black,this._size=1,this._style=o.StiPenStyle.None,this._color=e,this._size=t,this._style=r}r=t=e.Base||(e.Base={}),o=i=r.Drawing||(r.Drawing={}),n=e.System.ICloneable,a=e.System.Drawing.Color,s.prototype.implements=function(){return[n]},s.prototype.clone=function(){return new s(this._color,this._size,this._style)},s.prototype.equals=function(e){if(null==e)return!1;if(this==e)return!0;var e=e.stimulsoft.as(s);return null!=e&&this._size==e._size&&this._color.equals(e._color)&&this.side==e.side&&this._style==e._style},s.prototype.getHashCode=function(){var e=this._size.stimulsoft.getHashCode(),e;return e=397*(e=397*(e=397*e^this._color.stimulsoft.getHashCode())^this.side)^this._style,Math.abs(e)},s.prototype.getSizeOffset=function(){if(this.style==o.StiPenStyle.None)return 0;if(this.style==o.StiPenStyle.Double)return 1;return this.size/2},Object.defineProperty(s.prototype,"color",{get:function(){return this._color},set:function(e){this._color=e},enumerable:!1,configurable:!0}),Object.defineProperty(s.prototype,"size",{get:function(){return this._size},set:function(e){this._size=e},enumerable:!1,configurable:!0}),Object.defineProperty(s.prototype,"style",{get:function(){return this._style},set:function(e){this._style=e},enumerable:!1,configurable:!0}),s.prototype.isDefault=function(){return this.color.equals(a.black)&&1==this.size&&this.style==o.StiPenStyle.None},r=s,o.StiBorderSide=r}(Stimulsoft=Stimulsoft||{}),function(e){var t,r,i,n,o,a,s,l;function u(e,t,r,i,o){void 0===e&&(e=10),void 0===t&&(t=n.StiCapStyle.None),void 0===r&&(r=10),void 0===i&&(i=!0),void 0===o&&(o=a.black),this._width=10,this._style=n.StiCapStyle.None,this._height=10,this._fill=!0,this._color=a.black,this._width=e,this._style=t,this._height=r,this._fill=i,this._color=o}r=t=e.Base||(e.Base={}),n=i=r.Drawing||(r.Drawing={}),o=e.System.Enum,a=e.System.Drawing.Color,s=e.System.ICloneable,l=e.System.Text.StiReportObjectStringConverter,u.prototype.implements=function(){return[s]},u.prototype.clone=function(){var e=this.stimulsoft.memberwiseClone();return e._width=this.width,e._height=this.height,e._style=this.style,e._fill=this.fill,e._color=this.color,e},Object.defineProperty(u.prototype,"width",{get:function(){return this._width},set:function(e){this._width=e},enumerable:!1,configurable:!0}),Object.defineProperty(u.prototype,"style",{get:function(){return this._style},set:function(e){this._style=e},enumerable:!1,configurable:!0}),Object.defineProperty(u.prototype,"height",{get:function(){return this._height},set:function(e){this._height=e},enumerable:!1,configurable:!0}),Object.defineProperty(u.prototype,"fill",{get:function(){return this._fill},set:function(e){this._fill=e},enumerable:!1,configurable:!0}),Object.defineProperty(u.prototype,"color",{get:function(){return this._color},set:function(e){this._color=e},enumerable:!1,configurable:!0}),u.prototype.loadFromXml=function(e){for(var t=0;t<e.childNodes.length;t++){var r=e.childNodes[t];switch(r.nodeName){case"Width":this._width=r.textContent.stimulsoft.toNumber();break;case"Style":this._style=o.parse(n.StiCapStyle,r.textContent);break;case"Height":this._height=r.textContent.stimulsoft.toNumber();break;case"Fill":this._fill=r.textContent.stimulsoft.toBoolean();break;case"Color":this._color=l.convertStringToColor(r.textContent);break}}},r=u,n.StiCap=r}(Stimulsoft=Stimulsoft||{}),function(e){var t,r,i,o,n;function a(){}r=t=e.Base||(e.Base={}),o=i=r.Drawing||(r.Drawing={}),n=e.System.Drawing.Color,a.changeLightness=function(e,t){var r=e.r,i=e.g,o=e.b;return t<0?(r*=t=1+t,i*=t,o*=t):(r=(255-r)*t+r,i=(255-i)*t+i,o=(255-o)*t+o),n.fromArgb(e.a,Math.round(r),Math.round(i),Math.round(o))},a.light=function(e,t){var r=e.r,i=e.g,e=e.b;return 255<r+t?r=255:r+=t,255<i+t?i=255:i+=t,255<e+t?e=255:e+=t,n.fromArgb(r,i,e)},a.mixingColors=function(e,t,r){var i=t.r*r/255+e.r*(255-r)/255,o=t.g*r/255+e.g*(255-r)/255,r=t.b*r/255+e.b*(255-r)/255;return n.fromArgb(255,i,o,r)},a.dark=function(e,t){var r=e.r,i=e.g,e=e.b;return r-t<0?r=0:r-=t,i-t<0?i=0:i-=t,e-t<0?e=0:e-=t,n.fromArgb(r,i,e)},r=a,o.StiColorUtils=r}(Stimulsoft=Stimulsoft||{}),function(e){var t,r,i,o,l;function n(){}r=t=e.Base||(e.Base={}),o=i=r.Drawing||(r.Drawing={}),l=e.System.Drawing.Rectangle,n.fillRectangle=function(e,t,r,i,o,n){var a=r,s,a;r instanceof l&&(a=r.x,i=r.y,o=r.width,n=r.height),e.fillRectangle(t,a,i,o,n)},r=n,o.StiDrawing=r}(Stimulsoft=Stimulsoft||{}),function(e){var t,r,i,e,o;function n(){var e=null!==o&&o.apply(this,arguments)||this;return e.defaultHashCode=0,e}r=t=e.Base||(e.Base={}),e=i=r.Drawing||(r.Drawing={}),o=e.StiBrush,__extends(n,o),n.prototype.equals=function(e){if(null==e)return!1;if(this==e)return!0;if(e.stimulsoft.getType()!=this.stimulsoft.getType())return!1;return!0},n.prototype.getHashCode=function(){return this.defaultHashCode},r=n,e.StiEmptyBrush=r}(Stimulsoft=Stimulsoft||{}),function(e){var t,r,i,o,n,a,s,l;function u(){}r=t=e.Base||(e.Base={}),o=i=r.Drawing||(r.Drawing={}),n=e.System.StiString,a=e.System.Drawing.Font,s=e.System.Drawing.FontStyle,l=e.System.Drawing.FontFamily,u.correctStyle=function(e,t){var r=new l(e);try{if(r.isStyleAvailable(t))return t;if(!r.isStyleAvailable(s.Bold)&&0<(t&s.Bold)&&(t-=s.Bold),!r.isStyleAvailable(s.Italic)&&0<(t&s.Italic)&&(t-=s.Italic),!r.isStyleAvailable(s.Strikeout)&&0<(t&s.Strikeout)&&(t-=s.Strikeout),!r.isStyleAvailable(s.Underline)&&0<(t&s.Underline)&&(t-=s.Underline),!r.isStyleAvailable(t)){if(r.isStyleAvailable(s.Bold))return s.Bold;if(r.isStyleAvailable(s.Italic))return s.Italic;if(r.isStyleAvailable(s.Underline))return s.Underline;if(r.isStyleAvailable(s.Strikeout))return s.Strikeout}return t}finally{}},u.changeFontName=function(e,t){if(n.isNullOrEmpty(t))return e;return new a(t,e.size,e.style,e.unit)},u.changeFontSize=function(e,t){return t<1&&(t=1),new a(e.fontFamily.name,t,e.style,e.unit)},u.changeFontStyle=function(e,t){return new a(e.fontFamily.name,e.size,t,e.unit)},u.changeFontStyle2=function(e,t,r){return new a(e,t,r)},u.changeFontStyleBold=function(e,t){var r=s.Regular;return t&&(r|=s.Bold),e.italic&&(r|=s.Italic),e.underline&&(r|=s.Underline),new a(e.fontFamily.name,e.size,r,e.unit)},u.changeFontStyleItalic=function(e,t){var r=s.Regular;return e.bold&&(r|=s.Bold),t&&(r|=s.Italic),e.underline&&(r|=s.Underline),new a(e.fontFamily.name,e.size,r,e.unit)},u.changeFontStyleUnderline=function(e,t){var r=s.Regular;return e.bold&&(r|=s.Bold),e.italic&&(r|=s.Italic),t&&(r|=s.Underline),new a(e.fontFamily.name,e.size,r,e.unit)},u.changeFontStyleStrikeout=function(e,t){var r=s.Regular;return e.bold&&(r|=s.Bold),e.italic&&(r|=s.Italic),e.underline&&(r|=s.Underline),t&&(r|=s.Strikeout),new a(e.fontFamily.name,e.size,r,e.unit)},r=u,o.StiFontUtils=r}(Stimulsoft=Stimulsoft||{}),function(e){var t,r,i,o,a,s;function n(e,t,r,i,o){void 0===e&&(e=a.black),void 0===t&&(t=a.white),void 0===r&&(r=0),void 0===i&&(i=.5),void 0===o&&(o=1);var n=s.call(this)||this;return n._focus=.5,n._scale=1,n.defaultHashCode=0,n._startColor=e,n._endColor=t,n._angle=r,n._focus=i,n._scale=o,n}r=t=e.Base||(e.Base={}),o=i=r.Drawing||(r.Drawing={}),a=e.System.Drawing.Color,s=o.StiBrush,__extends(n,s),n.prototype.memberwiseClone=function(){return new n(this._startColor,this._endColor,this._angle,this._focus,this.scale)},Object.defineProperty(n.prototype,"startColor",{get:function(){return this._startColor},set:function(e){this._startColor=e},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"endColor",{get:function(){return this._endColor},set:function(e){this._endColor=e},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"angle",{get:function(){return this._angle},set:function(e){this._angle=e},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"focus",{get:function(){return this._focus},set:function(e){if(this._focus!=e){if(1<e||e<0)throw new Error("Focus must be in range between 0 and 1!");this._focus=e}},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"scale",{get:function(){return this._scale},set:function(e){if(this._scale!=e){if(1<e||e<0)throw new Error("Scale must be in range between 0 and 1!");this._scale=e}},enumerable:!1,configurable:!0}),n.prototype.equals=function(e){if(null==e)return!1;if(this==e)return!0;if(e.stimulsoft.getType()!=this.stimulsoft.getType())return!1;var e=e.stimulsoft.as(n);return this.startColor.equals(e.startColor)&&this.endColor.equals(e.endColor)&&this.angle==e.angle&&this.focus==e.focus&&this.scale==e.scale},n.prototype.getHashCode=function(){var e=this.defaultHashCode,e;return e=397*(e=397*(e=397*(e=397*(e=397*e^this.startColor.stimulsoft.getHashCode())^this.endColor.stimulsoft.getHashCode())^this.angle.stimulsoft.getHashCode())^this.focus.stimulsoft.getHashCode())^this.scale.stimulsoft.getHashCode(),Math.abs(e)},r=n,o.StiGlareBrush=r}(Stimulsoft=Stimulsoft||{}),function(e){var t,r,i,o,n,a;function s(e,t,r){void 0===e&&(e=n.silver),void 0===t&&(t=!0),void 0===r&&(r=.2);var i=a.call(this)||this;return i._color=n.silver,i._drawHatch=!0,i._blend=.2,i.defaultHashCode=i.stimulsoft.getHashCode(),i._color=e,i._drawHatch=t,i._blend=r,i}r=t=e.Base||(e.Base={}),o=i=r.Drawing||(r.Drawing={}),n=e.System.Drawing.Color,a=o.StiBrush,__extends(s,a),s.prototype.memberwiseClone=function(){return new s(this._color,this._drawHatch,this._blend)},Object.defineProperty(s.prototype,"color",{get:function(){return this._color},set:function(e){this._color=e},enumerable:!1,configurable:!0}),Object.defineProperty(s.prototype,"drawHatch",{get:function(){return this._drawHatch},set:function(e){this._drawHatch=e},enumerable:!1,configurable:!0}),Object.defineProperty(s.prototype,"blend",{get:function(){return this._blend},set:function(e){if(this._blend!=e){if(1<e||e<0)throw new Error("Value must be in range between 0 and 1.");this._blend=e}},enumerable:!1,configurable:!0}),s.prototype.equals=function(e){if(null==e)return!1;if(this==e)return!0;if(e.stimulsoft.getType()!=this.stimulsoft.getType())return!1;var e=e.stimulsoft.as(s);return this.color.equals(e.color)&&this.drawHatch==e.drawHatch&&this.blend==e.blend},s.prototype.getHashCode=function(){var e=this.defaultHashCode,e;return e=397*(e=397*(e=397*e^this.color.stimulsoft.getHashCode())^this.drawHatch.stimulsoft.getHashCode())^this.blend.stimulsoft.getHashCode(),Math.abs(e)},s.prototype.getTopColor=function(){return o.StiColorUtils.light(this.color,Math.round(64*this.blend))},s.prototype.getTopColorLight=function(){return o.StiColorUtils.light(o.StiColorUtils.light(this.color,Math.round(64*this.blend)),5)},s.prototype.getBottomColor=function(){return this.color},s.prototype.getBottomColorLight=function(){return o.StiColorUtils.light(this.getBottomColor(),2)},s.prototype.getTopRectangle=function(e){var t=e.clone();return t.height/=2,2*t.height<e.height&&t.height++,t},s.prototype.getBottomRectangle=function(e){var t=this.getTopRectangle(e).clone(),r=e.clone();return r.height=e.height-t.height,r.y=t.bottom,r},r=s,o.StiGlassBrush=r}(Stimulsoft=Stimulsoft||{}),function(e){var t,r,i,o,n,a;function s(e,t,r){void 0===e&&(e=n.black),void 0===t&&(t=n.white),void 0===r&&(r=0);var i=a.call(this)||this;return i.defaultHashCode=0,i._startColor=e,i._endColor=t,i._angle=r,i}r=t=e.Base||(e.Base={}),o=i=r.Drawing||(r.Drawing={}),n=e.System.Drawing.Color,a=o.StiBrush,__extends(s,a),s.prototype.memberwiseClone=function(){return new s(this._startColor,this._endColor,this._angle)},Object.defineProperty(s.prototype,"startColor",{get:function(){return this._startColor},set:function(e){this._startColor=e},enumerable:!1,configurable:!0}),Object.defineProperty(s.prototype,"endColor",{get:function(){return this._endColor},set:function(e){this._endColor=e},enumerable:!1,configurable:!0}),Object.defineProperty(s.prototype,"angle",{get:function(){return this._angle},set:function(e){this._angle=e},enumerable:!1,configurable:!0}),s.prototype.equals=function(e){if(null==e)return!1;if(this==e)return!0;if(e.stimulsoft.getType()!=this.stimulsoft.getType())return!1;var e=e.stimulsoft.as(s);return this.startColor.equals(e.startColor)&&this.endColor.equals(e.endColor)&&this.angle==e.angle},s.prototype.getHashCode=function(){var e=this.defaultHashCode,e;return e=397*(e=397*(e=397*e^this.startColor.stimulsoft.getHashCode())^this.endColor.stimulsoft.getHashCode())^this.angle.stimulsoft.getHashCode(),Math.abs(e)},r=s,o.StiGradientBrush=r}(Stimulsoft=Stimulsoft||{}),function(e){var t,r,i,o,n,a,s;function l(e,t,r){void 0===e&&(e=a.BackwardDiagonal),void 0===t&&(t=n.black),void 0===r&&(r=n.white);var i=s.call(this)||this;return i.defaultHashCode=0,i._style=e,i._foreColor=t,i._backColor=r,i}r=t=e.Base||(e.Base={}),o=i=r.Drawing||(r.Drawing={}),n=e.System.Drawing.Color,a=e.System.Drawing.Drawing2D.HatchStyle,s=o.StiBrush,__extends(l,s),l.prototype.memberwiseClone=function(){return new l(this._style,this._foreColor,this._backColor)},Object.defineProperty(l.prototype,"backColor",{get:function(){return this._backColor},set:function(e){this._backColor=e},enumerable:!1,configurable:!0}),Object.defineProperty(l.prototype,"foreColor",{get:function(){return this._foreColor},set:function(e){this._foreColor=e},enumerable:!1,configurable:!0}),Object.defineProperty(l.prototype,"style",{get:function(){return this._style},set:function(e){this._style=e},enumerable:!1,configurable:!0}),l.prototype.equals=function(e){if(null==e)return!1;if(this==e)return!0;if(e.stimulsoft.getType()!=this.stimulsoft.getType())return!1;var e=e.stimulsoft.as(l);return this._backColor.equals(e.backColor)&&this._foreColor.equals(e.foreColor)&&this._style==e.style},l.prototype.getHashCode=function(){var e=this.defaultHashCode,e;return e=397*(e=397*(e=397*e^this.backColor.stimulsoft.getHashCode())^this.foreColor.stimulsoft.getHashCode())^this.style.stimulsoft.getHashCode(),Math.abs(e)},r=l,o.StiHatchBrush=r}(Stimulsoft=Stimulsoft||{}),function(e){var t,r,i,o,s;function n(){}r=t=e.Base||(e.Base={}),o=i=r.Drawing||(r.Drawing={}),s=e.System.Drawing.Imaging.ImageCodecInfo,n.getImageCodec=function(e){var t,r,i=s.getImageEncoders();try{for(var o=__values(i),n=o.next();!n.done;n=o.next()){var a=n.value;if(a.mimeType==e)return a}}catch(e){t={error:e}}finally{try{n&&!n.done&&(r=o.return)&&r.call(o)}finally{if(t)throw t.error}}return null},r=n,o.StiImageCodecInfo=r}(Stimulsoft=Stimulsoft||{}),function(e){var t,r,i,o,n,a;function s(){}r=t=e.Base||(e.Base={}),o=i=r.Drawing||(r.Drawing={}),n=e.System.StiString,a=e.System.Drawing.Image,s.imageToString=function(e){if(null==e)return"";return e.base64},s.bytesToImage=function(e){if(null==e||0==e.length)return null;var t=new a;return t.bytes=e,t},s.stringToImage=function(e){if(n.isNullOrEmpty(e))return null;var t=new a;return t.base64=e,t},r=s,o.StiImageConverter=r}(Stimulsoft=Stimulsoft||{}),function(i){var e,t,r,o,n;function a(){}t=e=i.Base||(i.Base={}),o=r=t.Drawing||(t.Drawing={}),n=i.System.Drawing.Image,a.loadBitmap=function(e){var t=i.System.IO.File.getFile(e,!0),r=new n;return r.url=e,r.bytes=t,r},a.loadImage=function(e){var t=i.System.IO.File.getFile(e,!0),r=new n;return r.url=e,r.bytes=t,r},t=a,o.StiImageFromURL=t}(Stimulsoft=Stimulsoft||{}),function(e){var t,r,i,o,n;function a(){}r=t=e.Base||(e.Base={}),o=i=r.Drawing||(r.Drawing={}),n=e.System.Drawing.Drawing2D.DashStyle,a.getPenStyle=function(e){switch(e){case o.StiPenStyle.Dash:return n.Dash;case o.StiPenStyle.DashDot:return n.DashDot;case o.StiPenStyle.DashDotDot:return n.DashDotDot;case o.StiPenStyle.Dot:return n.Dot;case o.StiPenStyle.Double:return n.Solid;default:return n.Solid}},r=a,o.StiPenUtils=r}(Stimulsoft=Stimulsoft||{}),function(e){var t,a,r,s,o,l,e;function i(e,t,r,i){void 0===e&&(e=s.StiBorderSides.None),void 0===t&&(t=o.gray),void 0===r&&(r=1),void 0===i&&(i=s.StiPenStyle.Solid),this.side=s.StiBorderSides.None,this.color=o.gray,this.size=1,this.style=s.StiPenStyle.Solid,this.side=e,this.color=t,this.size=r,this.style=i}a=t=e.Base||(e.Base={}),s=r=a.Drawing||(a.Drawing={}),o=e.System.Drawing.Color,l=e.System.Enum,i.prototype.clone=function(){return this.stimulsoft.memberwiseClone()},i.prototype.getBorder=function(){return new s.StiBorder(this.side,this.color,this.size,this.style)},i.prototype.getSizeOffset=function(){if(this.style==s.StiPenStyle.None)return 0;if(this.style==s.StiPenStyle.Double)return 1;return this.size/2},i.prototype.getSize=function(){if(this.style==s.StiPenStyle.None)return 0;if(this.style==s.StiPenStyle.Double)return 3;return this.size},i.prototype.getSizeIncludingSide=function(){if(this.style==s.StiPenStyle.None)return 0;if(this.style==s.StiPenStyle.Double)return 3;if(this.side==s.StiBorderSides.None)return 0;return this.size},Object.defineProperty(i.prototype,"isTopBorderSidePresent",{get:function(){return 0!=(this.side&s.StiBorderSides.Top)},enumerable:!1,configurable:!0}),Object.defineProperty(i.prototype,"isBottomBorderSidePresent",{get:function(){return 0!=(this.side&s.StiBorderSides.Bottom)},enumerable:!1,configurable:!0}),Object.defineProperty(i.prototype,"isLeftBorderSidePresent",{get:function(){return 0!=(this.side&s.StiBorderSides.Left)},enumerable:!1,configurable:!0}),Object.defineProperty(i.prototype,"isRightBorderSidePresent",{get:function(){return 0!=(this.side&s.StiBorderSides.Right)},enumerable:!1,configurable:!0}),Object.defineProperty(i.prototype,"isAllBorderSidesPresent",{get:function(){return this.side==s.StiBorderSides.All},enumerable:!1,configurable:!0}),i.prototype.shouldSerializeColor=function(){return!o.gray.equals(this.color)},i.prototype.isDefault=function(){return this.side==s.StiBorderSides.None&&o.gray.equals(this.color)&&1==this.size&&this.style==s.StiPenStyle.Solid},i.prototype.saveToJsonObject=function(e){return null},i.prototype.loadFromJsonObject=function(e){var t,r;try{for(var i=__values(e.properties()),o=i.next();!o.done;o=i.next()){var n=o.value;switch(n.name){case"Side":this.side=l.parse(s.StiBorderSides,n.value);break;case"Color":this.color=a.StiJsonReportObjectHelper.Deserialize.color(n.value);break;case"Size":this.size=n.value.stimulsoft.toNumber();break;case"Style":this.style=l.parse(s.StiPenStyle,n.value);break}}}catch(e){t={error:e}}finally{try{o&&!o.done&&(r=i.return)&&r.call(i)}finally{if(t)throw t.error}}},i.prototype.loadFromXml=function(e){for(var t=0;t<e.childNodes.length;t++){var r=e.childNodes[t];switch(r.nodeName){case"Side":this.side=l.parse(s.StiBorderSides,r.textContent);break;case"Color":this.color=a.StiJsonReportObjectHelper.Deserialize.color(r.textContent);break;case"Size":this.size=r.textContent.stimulsoft.toNumber();break;case"Style":this.style=l.parse(s.StiPenStyle,r.textContent);break}}},e=i,s.StiSimpleBorder=e}(Stimulsoft=Stimulsoft||{}),function(B){var e,t,r,L,N,A,F,R,u,k,c,O,i;function o(){}t=e=B.Base||(B.Base={}),L=r=t.Drawing||(t.Drawing={}),N=B.System.StiArray,A=B.System.StiString,F=B.System.Drawing.Rectangle,R=B.System.Drawing.StringFormatFlags,u=B.System.Char,k=B.System.Collections.List,c=B.System.Drawing.Size,O=B.System.Drawing.Graphics,i=B.System.Drawing.StringAlignment,o.measureString=function(e,t,r,i,o,n,a,s,l){void 0===l&&(l=!1),null==o&&(o=new L.StiTextOptions),o.wordWrap||(i=0);var i=new c(i,0),o,i=l?O.measureString(this.correctFontSize(t),r,999999,!0,1,0,!1):O.measureString(t,r,999999);return 90!=o.angle&&270!=o.angle||(o=i.width,i.width=i.height,i.height=o),new c(i.width,i.height)},o.correctFontSize=function(t){var r=t,e=-1;try{while(-1!=(e=r.indexOf("<font ",e))){var i=r.indexOf(">",e+6),o,n,a,s,l,a,r;0<i&&(0<(n=r.substring(e+6,i).indexOf("size="))&&(a=r.indexOf('"',n+5),s=r.indexOf('"',a+1),a='style="font-size:'+r.substring(a+1,s)+';"',r=r.substring(0,n)+r.substring(s,i)+a+r.substring(i))),e+=6}}catch(e){r=t}return r},o.splitTextWordwrap=function(e,t,r,i,o,n,a){null==o&&(o=new L.StiTextOptions);var s=10,s=this.getStringFormat2(o,L.StiTextHorAlignment.Left,L.StiVertAlignment.Top,a,s);return this.splitTextWordwrap2(e,t,r,i,s,n==L.StiTextHorAlignment.Width)},o.splitTextWordwrap2=function(e,t,r,i,o,n){void 0===n&&(n=!1);for(var a=new k,s=(o.formatFlags&R.NoWrap)===R.NoWrap?999999:i.width,i=10,l=new F(0,0,s*i,999999),u=L.StiFontUtils.changeFontSize(r,r.size*i),c=0,d=N.create(Number,33),h=B.System.Text.TextUtils.getWordWrapTextLines(e,r,!1,s),m=0,p;m<h.length;m++){if(0==(p=h[m]).length){var f=new L.LineInfo;f.text="",f.lineHeight=c,a.add(f);continue}for(var S=N.create(F,p.length),g=0,y=0,b=0;b<S.length;b++){d[32]=p.charCodeAt(b);var v=O.measureChars(d,33,u);S[b]=new F(0,0,v.width,v.height),(g+=v.width)>l.width&&(g=0,y+=v.height)}if((o.formatFlags&R.NoWrap)!==R.NoWrap){for(var C=S[0],w=C.top+C.height/2,T=0,D=0,b=1;b<p.length;b++){if(0==D){var P=15;if(b+P>p.length-1&&(P=p.length-b-1),0<P){if((C=S[b+P]).top<w&&!C.isEmpty){b+=P;continue}D=P}}else D--;(C=S[b]).top>w&&(a.add(this.makeLineInfo(p,T,b-T,S,n)),T=b,w=C.top+C.height/2,D=0)}T<p.length&&a.add(this.makeLineInfo(p,T,p.length-T,S,!1))}else a.add(this.makeLineInfo(p,0,p.length,S,!1))}for(var b=0;b<a.length;b++){var p=a[b].text,x;A.isNullOrWhiteSpace(p)||-1==p.indexOf("")||(x=p.stimulsoft.replaceAll("",""),""==p[p.length-1]&&(x+=""),a[b].text=x)}return a},o.makeLineInfo=function(e,t,r,i,o){while(0<r&&i[t+r-1].isEmpty)r--;var n=new L.LineInfo;n.text=e.substr(t,r),n.needWidthAlign=o,n.widths=N.create(Number,r);for(var a=0;a<r;a++)n.widths[a]=i[t+a].width/10;for(var s=0,l=0;l<r;l++)s=Math.max(s,i[t+l].height);return n.lineHeight=s/10,n},o.splitString=function(e,t){var r,i,o=new k;null==e&&(e="");var n="";try{for(var a=__values(e),s=a.next();!s.done;s=a.next()){var l=s.value;"\n"==l?(o.add(n.stimulsoft.trimEnd()),n=""):t&&u.isControl(l)&&"\t"!=l||(n+=l)}}catch(e){r={error:e}}finally{try{s&&!s.done&&(i=a.return)&&i.call(a)}finally{if(r)throw r.error}}return 0<n.length&&o.add(n.stimulsoft.trimEnd()),0==o.length&&o.add(""),o},o.getStringFormat=function(e,t,r,i){return this.getStringFormat2(e,t,r,!1,i)},o.getAlignment=function(e){switch(e){case L.StiTextHorAlignment.Center:case L.StiTextHorAlignment.Width:return i.Center;case L.StiTextHorAlignment.Right:return i.Far;default:return i.Near}},o.getAlignment2=function(e){switch(e){case L.StiVertAlignment.Center:return i.Center;case L.StiVertAlignment.Bottom:return i.Far;default:return i.Near}},o.getStringFormat2=function(e,t,r,i,o){var o=e.getStringFormat(i,o);return o.alignment=this.getAlignment(t),o.lineAlignment=this.getAlignment2(r),this.measureTrailingSpaces&&(o.formatFlags|=R.MeasureTrailingSpaces),o},t=o,L.StiTextDrawing=t}(Stimulsoft=Stimulsoft||{}),function(e){var t,r,o,i,u,n,e;function p(e,t,r){void 0===e&&(e=null),void 0===t&&(t=null),void 0===r&&(r=!1),this.isProperty=!1,this.isArray=!1,this.name=e,null!=t&&"string"==typeof t&&(t=t.replace(/#!rn#/gi,"\r\n").replace(/#!q#/gi,'"').replace(/#!t#/gi,"\t").replace(/#!!#/gi,"\\")),this.value=t,this.isProperty=r}r=t=e.Base||(e.Base={}),o=e.System.Collections.List,i=e.System.StiString,u=e.System.DateTime,n=e.System.Enum,p.dateToJsonDate=function(e){var t=-1*e.date.getTimezoneOffset(),r=Math.abs(Math.floor(t/60)).toString(),i=Math.abs(t%60).toString();return 1==r.length&&(r="0"+r),1==i.length&&(i="0"+i),"/Date("+Date.parse(e.date.toString()).toString()+(0<=t?"+":"-")+r+i+")/"},p.jsonDateFormatToDate=function(e){var t=e.split("/Date(").join("").split(")/").join(""),r=new u(new Date(parseInt(t))),i=t.indexOf("+");-1==i&&(i=t.indexOf("-"));var o=r.date.getTimezoneOffset();-1!=i&&(o=0);var n=Math.floor(o/60),a=o%60,s,l,e=(0<=o?"+":"-")+((Math.abs(n)<10?"0":"")+Math.abs(n).toString())+((Math.abs(a)<10?"0":"")+Math.abs(a).toString()),o=1;return-1!=i&&(e=t.substring(i)),"-"==e.substr(0,1)&&(o=-1),r.addHours(n+parseInt(e.substr(1,2))*o),r.addMinutes(a+parseInt(e.substr(3,2))*o),r},p.prototype.properties=function(){if(!this.isProperty)return(this.value.stimulsoft.is(o)?this:this.value).value;return new o},p.prototype.removeProperty=function(t){var e;null==t&&""==t||0<(e=this.value.value.filter(function(e){return e.name==t})).length&&this.value.value.remove(e[0])},p.prototype.addPropertyNumber=function(e,t,r){if(void 0===r&&(r=0),null==this.value&&(this.value=new p("",new o)),this.removeProperty(e),t==r)return;this.value.value.push(new p(e,t,!0))},p.prototype.addPropertyNumberNoDefaultValue=function(e,t){null==this.value&&(this.value=new p("",new o)),this.removeProperty(e),this.value.value.push(new p(e,t,!0))},p.prototype.addPropertyJObject=function(e,t){if(null==this.value&&(this.value=new p("",new o)),this.removeProperty(e),null==t||0==t.count)return;this.value.value.push(new p(e,t))},p.prototype.addPropertyJObjectArray=function(e,t){if(null==this.value&&(this.value=new p("",new o)),this.removeProperty(e),null==t||0==t.length)return;var t=new p(e,t);t.isArray=!0,this.value.value.push(t)},p.prototype.addPropertyIdent=function(e,t){null==this.value&&(this.value=new p("",new o)),this.value.value.push(new p(e,t,!0))},p.prototype.addPropertyBool=function(e,t,r){if(void 0===r&&(r=!1),null==this.value&&(this.value=new p("",new o)),this.removeProperty(e),t==r)return;this.value.value.push(new p(e,t,!0))},p.prototype.addPropertyDateTime=function(e,t){null==this.value&&(this.value=new p("",new o)),this.removeProperty(e),this.value.value.push(new p(e,p.dateToJsonDate(t),!0))},p.prototype.addPropertyEnum=function(e,t,r,i){if(void 0===i&&(i=null),null==this.value&&(this.value=new p("",new o)),this.removeProperty(e),void 0!==i&&r==i)return;this.value.value.push(new p(e,n.getName(t,r),!0))},p.prototype.addPropertyString=function(e,t,r){if(null==this.value&&(this.value=new p("",new o)),this.removeProperty(e),t==r)return;this.value.value.push(new p(e,t,!0))},p.prototype.addPropertyStringNullOrEmpty=function(e,t){if(null==this.value&&(this.value=new p("",new o)),this.removeProperty(e),i.isNullOrEmpty(t))return;this.value.value.push(new p(e,t,!0))},Object.defineProperty(p.prototype,"count",{get:function(){var t,e,r=0;if(!this.isProperty&&null!=this.value)try{for(var i=__values(this.value.value),o=i.next();!o.done;o=i.next()){var n=o.value;r++}}catch(e){t={error:e}}finally{try{o&&!o.done&&(e=i.return)&&e.call(i)}finally{if(t)throw t.error}}return r},enumerable:!1,configurable:!0}),p.prototype.serialize=function(e){var t,r,i,o;void 0===e&&(e=0);var n="",a=p.prettyPrint?Array(e+1).join(" "):"";try{for(var s=__values(this.value.properties()),l=s.next();!l.done;l=s.next()){var u=l.value,c="";if(u.isProperty)c=null!=u.value&&"string"==typeof u.value?'"'+u.value.replace(/[\\]/g,"\\\\").replace(/[\"]/g,'\\"').replace(/[\b]/g,"\\b").replace(/[\f]/g,"\\f").replace(/\r\n/g,"\n").replace(/[\r]/g,"\n").replace(/[\r\n]/g,"\\r\\n").replace(/[\t]/g,"\\t")+'"':u.value;else if(u.isArray){try{for(var d=(i=void 0,__values(u.value)),h=d.next();!h.done;h=d.next()){var m=h.value;c+=c?",":"[",c+=m.serialize(e+4)}}catch(e){i={error:e}}finally{try{h&&!h.done&&(o=d.return)&&o.call(d)}finally{if(i)throw i.error}}c+="]"}else c=u.value.serialize(e+2);n&&(n+=","),p.prettyPrint&&(n+="\n"+a+" "),n+='"'+u.name+'":',p.prettyPrint&&(n+=" "),n+=c}}catch(e){t={error:e}}finally{try{l&&!l.done&&(r=s.return)&&r.call(s)}finally{if(t)throw t.error}}if(!n)return"";if(p.prettyPrint)return"{"+n+"\n"+a+"}";return"{"+n+"}"},p.prototype.deserialize=function(e){if("string"==typeof e){var t=0,r=-1,i,o,r;while(t<e.length){'"'==e[t]&&(0<t&&"\\"!=e[t-1]||1<t&&"\\"==e[t-2]&&2<t&&"\\"!=e[t-3])&&(r=-1<r?((o=(i=e.substring(r,t)).replace(/\\\\/gi,"#!!#").replace(/\\t/gi,"#!t#").replace(/\\\"/gi,"#!q#").replace(/\\r\\n/gi,"#!rn#").replace(/\\r/gi,"#!rn#").replace(/\\n/gi,"#!rn#")).length!=i.length&&(e=e.substring(0,r)+o+e.substring(t),t+=o.length-i.length),-1):t+1),t++}}var n="object"==typeof e?e:JSON.parse(e);this.deserializeFromObject(n),this.value=this.value.value},p.prototype.deserializeFromObject=function(e){for(var t in e){var r,r;"object"==typeof e[t]?(r=new p(t),null==this.value&&(this.value=new p(null,new o)),this.value.value.push(r),r.deserializeFromObject(e[t])):"function"!=typeof e[t]&&(r=new p(t,e[t],!0),null==this.value&&(this.value=new p(null,new o)),this.value.value.push(r))}},p.prototype.toString=function(){return this.name},p.prettyPrint=!0,e=p,r.StiJson=e}(Stimulsoft=Stimulsoft||{}),function(e){var t,r,i,o;r=t=e.Base||(e.Base={}),(o=i=r.JsonReportObject||(r.JsonReportObject={})).IStiJsonReportObject=new e.System.Interface("IStiJsonReportObject")}(Stimulsoft=Stimulsoft||{}),function(e){var t,r,i,o,n,a,s,l,u,c,d,h,m;function p(e,t,r,i,o,n,a){this.rightToLeft=!1,this.lineLimit=!1,this.angle=0,this.firstTabOffset=40,this.distanceBetweenTabs=20,this.hotkeyPrefix=u.None,this.trimming=l.None,this.rightToLeft=e,this.lineLimit=t,this.angle=r,this.firstTabOffset=i,this.distanceBetweenTabs=o,this.hotkeyPrefix=n,this.trimming=a}function f(e,t,r,i,o,n,a,s){void 0===e&&(e=!1),void 0===t&&(t=!1),void 0===r&&(r=!1),void 0===i&&(i=0),void 0===o&&(o=u.None),void 0===n&&(n=l.None),void 0===a&&(a=40),void 0===s&&(s=20),this.bits=null,this._wordWrap=!1,this._wordWrap=r,0==e&&0==t&&0==i&&o==u.None&&n==l.None&&40==a&&20==s?this.bits=null:this.bits=new m(e,t,i,a,s,o,n)}r=t=e.Base||(e.Base={}),o=i=r.Drawing||(r.Drawing={}),n=e.System.Drawing.StringFormatFlags,a=e.System.Drawing.StringFormat,s=e.Base.JsonReportObject.IStiJsonReportObject,l=e.System.Drawing.StringTrimming,u=e.System.Drawing.Text.HotkeyPrefix,c=e.Base.StiJson,d=e.System.ICloneable,h=e.System.Enum,p.prototype.implements=function(){return[d]},p.prototype.getHashCode=function(){var e=this.rightToLeft?1231:1237,e;return e=397*(e=397*(e=397*(e=397*(e=397*(e=397*e^(this.lineLimit?1231:1237))^this.angle)^this.firstTabOffset)^this.distanceBetweenTabs)^this.hotkeyPrefix)^this.trimming,Math.abs(e)},p.prototype.clone=function(){return this.stimulsoft.memberwiseClone()},m=p,f.prototype.implements=function(){return[d,s]},f.prototype.saveToJsonObject=function(){var e=new c;if(e.addPropertyBool("RightToLeft",this.rightToLeft),e.addPropertyBool("LineLimit",this.lineLimit),e.addPropertyNumber("Angle",this.angle,0),e.addPropertyNumber("FirstTabOffset",this.firstTabOffset,40),e.addPropertyNumber("DistanceBetweenTabs",this.distanceBetweenTabs,20),e.addPropertyEnum("HotkeyPrefix",u,this.hotkeyPrefix,u.None),e.addPropertyEnum("Trimming",l,this.trimming,l.None),e.addPropertyBool("WordWrap",this.wordWrap),0<e.count)return e;return null},f.prototype.loadFromJsonObject=function(e){var t,r;try{for(var i=__values(e.properties()),o=i.next();!o.done;o=i.next()){var n=o.value;switch(n.name){case"RightToLeft":this.rightToLeft=n.value.stimulsoft.toBoolean();break;case"LineLimit":this.lineLimit=n.value.stimulsoft.toBoolean();break;case"Angle":this.angle=n.value;break;case"FirstTabOffset":this.firstTabOffset=n.value;break;case"DistanceBetweenTabs":this.distanceBetweenTabs=n.value;break;case"HotkeyPrefix":this.hotkeyPrefix=h.parse(u,n.value);break;case"Trimming":this.trimming=h.parse(l,n.value);break;case"WordWrap":this.wordWrap=n.value.stimulsoft.toBoolean();break}}}catch(e){t={error:e}}finally{try{o&&!o.done&&(r=i.return)&&r.call(i)}finally{if(t)throw t.error}}},f.loadFromXml=function(e){var t=new f,r=e.split(",");0<=r[0].indexOf("Hide")?t.hotkeyPrefix=u.Hide:0<=r[0].indexOf("Show")?t.hotkeyPrefix=u.Show:t.hotkeyPrefix=u.None,t.lineLimit=0<=r[1].indexOf("True"),t.rightToLeft=0<=r[2].indexOf("True"),0<=r[3].indexOf("EllipsisCharacter")?t.trimming=l.EllipsisCharacter:0<=r[3].indexOf("Character")?t.trimming=l.Character:0<=r[3].indexOf("EllipsisPath")?t.trimming=l.EllipsisPath:0<=r[3].indexOf("EllipsisWord")?t.trimming=l.EllipsisWord:0<=r[3].indexOf("None")?t.trimming=l.None:0<=r[3].indexOf("Word")&&(t.trimming=l.Word),t.wordWrap=0<=r[4].indexOf("True");var e=r[5].split("="),e,r;return t.angle=e[1].trim().stimulsoft.toNumber(),6<r.length&&(e=r[6].split("="),t.firstTabOffset=e[1].trim().stimulsoft.toNumber(),r=r[7].split("="),t.distanceBetweenTabs=r[1].trim().stimulsoft.toNumber()),t},f.prototype.loadFromXml=function(e){if(0<e.textContent.length){for(var t=e.textContent.split(","),r=0;r<t.length;r++)if(0<t[r].length)switch(t[r].split("=")[0].trim()){case"RightToLeft":this.rightToLeft=t[r].split("=")[1].trim().stimulsoft.toBoolean();break;case"LineLimit":this.lineLimit=t[r].split("=")[1].trim().stimulsoft.toBoolean();break;case"Angle":case"A":this.angle=t[r].split("=")[1].trim().stimulsoft.toNumber();break;case"FirstTabOffset":this.firstTabOffset=t[r].split("=")[1].trim().stimulsoft.toNumber();break;case"DistanceBetweenTabs":this.distanceBetweenTabs=t[r].split("=")[1].trim().stimulsoft.toNumber();break;case"HotkeyPrefix":this.hotkeyPrefix=h.parse(u,t[r].split("=")[1].trim());break;case"Trimming":this.trimming=h.parse(l,t[r].split("=")[1].trim());break;case"WordWrap":this.wordWrap=t[r].split("=")[1].trim().stimulsoft.toBoolean();break}}else for(var r=0;r<e.childNodes.length;r++){var i=e.childNodes[r];switch(i.nodeName){case"RightToLeft":this.rightToLeft=i.textContent.stimulsoft.toBoolean();break;case"LineLimit":this.lineLimit=i.textContent.stimulsoft.toBoolean();break;case"Angle":this.angle=i.textContent.stimulsoft.toNumber();break;case"FirstTabOffset":this.firstTabOffset=i.textContent.stimulsoft.toNumber();break;case"DistanceBetweenTabs":this.distanceBetweenTabs=i.textContent.stimulsoft.toNumber();break;case"HotkeyPrefix":this.hotkeyPrefix=h.parse(u,i.textContent);break;case"Trimming":this.trimming=h.parse(l,i.textContent);break;case"WordWrap":this.wordWrap=i.textContent.stimulsoft.toBoolean();break}}},f.prototype.clone=function(){var e=new f;return null!=this.bits&&(e.bits=this.bits.clone()),e.wordWrap=this.wordWrap,e},f.prototype.getStringFormat=function(e,t){void 0===e&&(e=!1),void 0===t&&(t=1);var t=new a;return t.formatFlags=0,this.wordWrap||(t.formatFlags=n.NoWrap),this.rightToLeft&&(t.formatFlags|=n.DirectionRightToLeft),this.lineLimit&&(t.formatFlags|=n.LineLimit),t.trimming=this.trimming,t.hotkeyPrefix=this.hotkeyPrefix,t},Object.defineProperty(f.prototype,"rightToLeft",{get:function(){if(null==this.bits)return!1;return this.bits.rightToLeft},set:function(e){if(0==e&&null==this.bits)return;null!=this.bits?this.bits.rightToLeft=e:this.bits=new m(e,this.lineLimit,this.angle,this.firstTabOffset,this.distanceBetweenTabs,this.hotkeyPrefix,this.trimming)},enumerable:!1,configurable:!0}),Object.defineProperty(f.prototype,"lineLimit",{get:function(){if(null==this.bits)return!1;return this.bits.lineLimit},set:function(e){if(0==e&&null==this.bits)return;null!=this.bits?this.bits.lineLimit=e:this.bits=new m(this.rightToLeft,e,this.angle,this.firstTabOffset,this.distanceBetweenTabs,this.hotkeyPrefix,this.trimming)},enumerable:!1,configurable:!0}),Object.defineProperty(f.prototype,"wordWrap",{get:function(){return this._wordWrap},set:function(e){this._wordWrap=e},enumerable:!1,configurable:!0}),Object.defineProperty(f.prototype,"angle",{get:function(){if(null==this.bits)return 0;return this.bits.angle},set:function(e){if(0==e&&null==this.bits)return;null!=this.bits?this.bits.angle=e:this.bits=new m(this.rightToLeft,this.lineLimit,e,this.firstTabOffset,this.distanceBetweenTabs,this.hotkeyPrefix,this.trimming)},enumerable:!1,configurable:!0}),Object.defineProperty(f.prototype,"firstTabOffset",{get:function(){if(null==this.bits)return 40;return this.bits.firstTabOffset},set:function(e){if(e<0)return;if(40==e&&null==this.bits)return;null!=this.bits?this.bits.firstTabOffset=e:this.bits=new m(this.rightToLeft,this.lineLimit,this.angle,e,this.distanceBetweenTabs,this.hotkeyPrefix,this.trimming)},enumerable:!1,configurable:!0}),Object.defineProperty(f.prototype,"distanceBetweenTabs",{get:function(){if(null==this.bits)return 20;return this.bits.distanceBetweenTabs},set:function(e){if(e<0)return;if(20==e&&null==this.bits)return;null!=this.bits?this.bits.distanceBetweenTabs=e:this.bits=new m(this.rightToLeft,this.lineLimit,this.angle,this.firstTabOffset,e,this.hotkeyPrefix,this.trimming)},enumerable:!1,configurable:!0}),Object.defineProperty(f.prototype,"hotkeyPrefix",{get:function(){if(null==this.bits)return u.None;return this.bits.hotkeyPrefix},set:function(e){if(e==u.None&&null==this.bits)return;null!=this.bits?this.bits.hotkeyPrefix=e:this.bits=new m(this.rightToLeft,this.lineLimit,this.angle,this.firstTabOffset,this.distanceBetweenTabs,e,this.trimming)},enumerable:!1,configurable:!0}),Object.defineProperty(f.prototype,"trimming",{get:function(){if(null==this.bits)return l.None;return this.bits.trimming},set:function(e){if(e==l.None&&null==this.bits)return;null!=this.bits?this.bits.trimming=e:this.bits=new m(this.rightToLeft,this.lineLimit,this.angle,this.firstTabOffset,this.distanceBetweenTabs,this.hotkeyPrefix,e)},enumerable:!1,configurable:!0}),f.prototype.isDefault=function(){return!this._wordWrap&&null==this.bits},f.prototype.getHashCode=function(){return 397*(2881041151^(null!=this.bits?this.bits.stimulsoft.getHashCode():0))^(this.wordWrap?1231:1237)},r=f,o.StiTextOptions=r}(Stimulsoft=Stimulsoft||{}),function(B){var e,t,r;t=e=B.Base||(B.Base={}),function(vr){var Cr=B.System.StiArray,wr=B.System.StiString,a=B.System.Enum,s=B.System.Drawing.ColorTranslator,y=B.System.Drawing.FontStyle,Tr=B.System.Collections.List,Dr=B.System.Drawing.Rectangle,Pr=B.System.Drawing.Color,b=B.System.Text.StringBuilder,xr=B.System.Drawing.Graphics,Br=B.System.Drawing.Font,v=B.System.Drawing.Size,Lr=B.System.Drawing.StringTrimming,Nr=B.System.Char,Ar=B.System.Globalization.UnicodeCategory,m=B.System.Collections.Hashtable,C=B.System.Convert,Fr=(t.prototype.clone=function(){var e=new t;return e.iCharPos=this.iCharPos,e},t);function t(){this.iCharPos=0}var e=(u.getTabsWidth=function(e,t,r){var i=20,o=40;null!=e&&(i=e.distanceBetweenTabs,o=e.firstTabOffset);var n=r,e=t*i,o=t*o+e,i,n,a;return r<o?n=o:0<i&&(i=Math.trunc((r-o)/e),n=o+ ++i*e),Math.round(n-r)},u.getFontIndex=function(e,t,r,i,o,n,a,s){var l=this.getFontIndex2(e,t,r,i,o,n,s),a;return a&&(-1==(a=s[l].superOrSubscriptIndex)&&(a=this.getFontIndex2(e,t/1.5,r,i,o,n,s),s[l].superOrSubscriptIndex=a,s[a].parentFontIndex=l),l=a),l},u.getFontIndex2=function(e,t,r,i,o,n,a){var s,l;if(0<a.length)for(var u=0;u<a.length;u++){var c=a[u];if(c.fontName==e&&c.fontBase.size==t&&c.fontBase.bold==r&&c.fontBase.italic==i&&c.fontBase.underline==o&&c.fontBase.strikeout==n)return u}var d=y.Regular;r&&(d|=y.Bold),i&&(d|=y.Italic),o&&(d|=y.Underline),n&&(d|=y.Strikeout);var h=null;if(-1!=e.indexOf(",")){var m=e.split(",");try{for(var p=__values(m),f=p.next();!f.done;f=p.next()){var S=f.value,h;if((h=new Br(S,t,d)).name.toLowerCase()==S.toLowerCase())break}}catch(e){s={error:e}}finally{try{f&&!f.done&&(l=p.return)&&l.call(p)}finally{if(s)throw s.error}}}else h=new Br(e,t,d);var g=new Rr;return g.fontName=e,g.fontBase=h,g.parentFontIndex=-1,g.superOrSubscriptIndex=-1,a.add(g),a.length-1},Object.defineProperty(u,"htmlEscapeSequence",{get:function(){return null==this._htmlEscapeSequence&&(this._htmlEscapeSequence={},this._htmlEscapeSequence["""]=String.fromCharCode(34),this._htmlEscapeSequence["&"]=String.fromCharCode(38),this._htmlEscapeSequence["<"]=String.fromCharCode(60),this._htmlEscapeSequence[">"]=String.fromCharCode(62),this._htmlEscapeSequence[" "]=String.fromCharCode(160),this._htmlEscapeSequence["¡"]=String.fromCharCode(161),this._htmlEscapeSequence["¢"]=String.fromCharCode(162),this._htmlEscapeSequence["£"]=String.fromCharCode(163),this._htmlEscapeSequence["¤"]=String.fromCharCode(164),this._htmlEscapeSequence["¥"]=String.fromCharCode(165),this._htmlEscapeSequence["¦"]=String.fromCharCode(166),this._htmlEscapeSequence["§"]=String.fromCharCode(167),this._htmlEscapeSequence["¨"]=String.fromCharCode(168),this._htmlEscapeSequence["©"]=String.fromCharCode(169),this._htmlEscapeSequence["ª"]=String.fromCharCode(170),this._htmlEscapeSequence["«"]=String.fromCharCode(171),this._htmlEscapeSequence["¬"]=String.fromCharCode(172),this._htmlEscapeSequence["­"]=String.fromCharCode(173),this._htmlEscapeSequence["®"]=String.fromCharCode(174),this._htmlEscapeSequence["¯"]=String.fromCharCode(175),this._htmlEscapeSequence["°"]=String.fromCharCode(176),this._htmlEscapeSequence["±"]=String.fromCharCode(177),this._htmlEscapeSequence["²"]=String.fromCharCode(178),this._htmlEscapeSequence["³"]=String.fromCharCode(179),this._htmlEscapeSequence["´"]=String.fromCharCode(180),this._htmlEscapeSequence["µ"]=String.fromCharCode(181),this._htmlEscapeSequence["¶"]=String.fromCharCode(182),this._htmlEscapeSequence["·"]=String.fromCharCode(183),this._htmlEscapeSequence["¸"]=String.fromCharCode(184),this._htmlEscapeSequence["¹"]=String.fromCharCode(185),this._htmlEscapeSequence["º"]=String.fromCharCode(186),this._htmlEscapeSequence["»"]=String.fromCharCode(187),this._htmlEscapeSequence["¼"]=String.fromCharCode(188),this._htmlEscapeSequence["½"]=String.fromCharCode(189),this._htmlEscapeSequence["¾"]=String.fromCharCode(190),this._htmlEscapeSequence["¿"]=String.fromCharCode(191),this._htmlEscapeSequence["À"]=String.fromCharCode(192),this._htmlEscapeSequence["Á"]=String.fromCharCode(193),this._htmlEscapeSequence["Â"]=String.fromCharCode(194),this._htmlEscapeSequence["Ã"]=String.fromCharCode(195),this._htmlEscapeSequence["Ä"]=String.fromCharCode(196),this._htmlEscapeSequence["Å"]=String.fromCharCode(197),this._htmlEscapeSequence["Æ"]=String.fromCharCode(198),this._htmlEscapeSequence["Ç"]=String.fromCharCode(199),this._htmlEscapeSequence["È"]=String.fromCharCode(200),this._htmlEscapeSequence["É"]=String.fromCharCode(201),this._htmlEscapeSequence["Ê"]=String.fromCharCode(202),this._htmlEscapeSequence["Ë"]=String.fromCharCode(203),this._htmlEscapeSequence["Ì"]=String.fromCharCode(204),this._htmlEscapeSequence["Í"]=String.fromCharCode(205),this._htmlEscapeSequence["Î"]=String.fromCharCode(206),this._htmlEscapeSequence["Ï"]=String.fromCharCode(207),this._htmlEscapeSequence["Ð"]=String.fromCharCode(208),this._htmlEscapeSequence["Ñ"]=String.fromCharCode(209),this._htmlEscapeSequence["Ò"]=String.fromCharCode(210),this._htmlEscapeSequence["Ó"]=String.fromCharCode(211),this._htmlEscapeSequence["Ô"]=String.fromCharCode(212),this._htmlEscapeSequence["Õ"]=String.fromCharCode(213),this._htmlEscapeSequence["Ö"]=String.fromCharCode(214),this._htmlEscapeSequence["×"]=String.fromCharCode(215),this._htmlEscapeSequence["Ø"]=String.fromCharCode(216),this._htmlEscapeSequence["Ù"]=String.fromCharCode(217),this._htmlEscapeSequence["Ú"]=String.fromCharCode(218),this._htmlEscapeSequence["Û"]=String.fromCharCode(219),this._htmlEscapeSequence["Ü"]=String.fromCharCode(220),this._htmlEscapeSequence["Ý"]=String.fromCharCode(221),this._htmlEscapeSequence["Þ"]=String.fromCharCode(222),this._htmlEscapeSequence["ß"]=String.fromCharCode(223),this._htmlEscapeSequence["à"]=String.fromCharCode(224),this._htmlEscapeSequence["á"]=String.fromCharCode(225),this._htmlEscapeSequence["â"]=String.fromCharCode(226),this._htmlEscapeSequence["ã"]=String.fromCharCode(227),this._htmlEscapeSequence["ä"]=String.fromCharCode(228),this._htmlEscapeSequence["å"]=String.fromCharCode(229),this._htmlEscapeSequence["æ"]=String.fromCharCode(230),this._htmlEscapeSequence["ç"]=String.fromCharCode(231),this._htmlEscapeSequence["è"]=String.fromCharCode(232),this._htmlEscapeSequence["é"]=String.fromCharCode(233),this._htmlEscapeSequence["ê"]=String.fromCharCode(234),this._htmlEscapeSequence["ë"]=String.fromCharCode(235),this._htmlEscapeSequence["ì"]=String.fromCharCode(236),this._htmlEscapeSequence["í"]=String.fromCharCode(237),this._htmlEscapeSequence["î"]=String.fromCharCode(238),this._htmlEscapeSequence["ï"]=String.fromCharCode(239),this._htmlEscapeSequence["ð"]=String.fromCharCode(240),this._htmlEscapeSequence["ñ"]=String.fromCharCode(241),this._htmlEscapeSequence["ò"]=String.fromCharCode(242),this._htmlEscapeSequence["ó"]=String.fromCharCode(243),this._htmlEscapeSequence["ô"]=String.fromCharCode(244),this._htmlEscapeSequence["õ"]=String.fromCharCode(245),this._htmlEscapeSequence["ö"]=String.fromCharCode(246),this._htmlEscapeSequence["÷"]=String.fromCharCode(247),this._htmlEscapeSequence["ø"]=String.fromCharCode(248),this._htmlEscapeSequence["ù"]=String.fromCharCode(249),this._htmlEscapeSequence["ú"]=String.fromCharCode(250),this._htmlEscapeSequence["û"]=String.fromCharCode(251),this._htmlEscapeSequence["ü"]=String.fromCharCode(252),this._htmlEscapeSequence["ý"]=String.fromCharCode(253),this._htmlEscapeSequence["þ"]=String.fromCharCode(254),this._htmlEscapeSequence["ÿ"]=String.fromCharCode(255),this._htmlEscapeSequence["Œ"]=String.fromCharCode(338),this._htmlEscapeSequence["œ"]=String.fromCharCode(339),this._htmlEscapeSequence["Š"]=String.fromCharCode(352),this._htmlEscapeSequence["š"]=String.fromCharCode(353),this._htmlEscapeSequence["Ÿ"]=String.fromCharCode(376),this._htmlEscapeSequence["ƒ"]=String.fromCharCode(402),this._htmlEscapeSequence["ˆ"]=String.fromCharCode(710),this._htmlEscapeSequence["˜"]=String.fromCharCode(732),this._htmlEscapeSequence["Α"]=String.fromCharCode(913),this._htmlEscapeSequence["Β"]=String.fromCharCode(914),this._htmlEscapeSequence["Γ"]=String.fromCharCode(915),this._htmlEscapeSequence["Δ"]=String.fromCharCode(916),this._htmlEscapeSequence["Ε"]=String.fromCharCode(917),this._htmlEscapeSequence["Ζ"]=String.fromCharCode(918),this._htmlEscapeSequence["Η"]=String.fromCharCode(919),this._htmlEscapeSequence["Θ"]=String.fromCharCode(920),this._htmlEscapeSequence["Ι"]=String.fromCharCode(921),this._htmlEscapeSequence["Κ"]=String.fromCharCode(922),this._htmlEscapeSequence["Λ"]=String.fromCharCode(923),this._htmlEscapeSequence["Μ"]=String.fromCharCode(924),this._htmlEscapeSequence["Ν"]=String.fromCharCode(925),this._htmlEscapeSequence["Ξ"]=String.fromCharCode(926),this._htmlEscapeSequence["Ο"]=String.fromCharCode(927),this._htmlEscapeSequence["Π"]=String.fromCharCode(928),this._htmlEscapeSequence["Ρ"]=String.fromCharCode(929),this._htmlEscapeSequence["Σ"]=String.fromCharCode(931),this._htmlEscapeSequence["Τ"]=String.fromCharCode(932),this._htmlEscapeSequence["Υ"]=String.fromCharCode(933),this._htmlEscapeSequence["Φ"]=String.fromCharCode(934),this._htmlEscapeSequence["Χ"]=String.fromCharCode(935),this._htmlEscapeSequence["Ψ"]=String.fromCharCode(936),this._htmlEscapeSequence["Ω"]=String.fromCharCode(937),this._htmlEscapeSequence["α"]=String.fromCharCode(945),this._htmlEscapeSequence["β"]=String.fromCharCode(946),this._htmlEscapeSequence["γ"]=String.fromCharCode(947),this._htmlEscapeSequence["δ"]=String.fromCharCode(948),this._htmlEscapeSequence["ε"]=String.fromCharCode(949),this._htmlEscapeSequence["ζ"]=String.fromCharCode(950),this._htmlEscapeSequence["η"]=String.fromCharCode(951),this._htmlEscapeSequence["θ"]=String.fromCharCode(952),this._htmlEscapeSequence["ι"]=String.fromCharCode(953),this._htmlEscapeSequence["κ"]=String.fromCharCode(954),this._htmlEscapeSequence["λ"]=String.fromCharCode(955),this._htmlEscapeSequence["μ"]=String.fromCharCode(956),this._htmlEscapeSequence["ν"]=String.fromCharCode(957),this._htmlEscapeSequence["ξ"]=String.fromCharCode(958),this._htmlEscapeSequence["ο"]=String.fromCharCode(959),this._htmlEscapeSequence["π"]=String.fromCharCode(960),this._htmlEscapeSequence["ρ"]=String.fromCharCode(961),this._htmlEscapeSequence["ς"]=String.fromCharCode(962),this._htmlEscapeSequence["σ"]=String.fromCharCode(963),this._htmlEscapeSequence["τ"]=String.fromCharCode(964),this._htmlEscapeSequence["υ"]=String.fromCharCode(965),this._htmlEscapeSequence["φ"]=String.fromCharCode(966),this._htmlEscapeSequence["χ"]=String.fromCharCode(967),this._htmlEscapeSequence["ψ"]=String.fromCharCode(968),this._htmlEscapeSequence["ω"]=String.fromCharCode(969),this._htmlEscapeSequence["ϑ"]=String.fromCharCode(977),this._htmlEscapeSequence["ϒ"]=String.fromCharCode(978),this._htmlEscapeSequence["ϖ"]=String.fromCharCode(982),this._htmlEscapeSequence[" "]=String.fromCharCode(8194),this._htmlEscapeSequence[" "]=String.fromCharCode(8195),this._htmlEscapeSequence[" "]=String.fromCharCode(8201),this._htmlEscapeSequence["‌"]=String.fromCharCode(8204),this._htmlEscapeSequence["‍"]=String.fromCharCode(8205),this._htmlEscapeSequence["‎"]=String.fromCharCode(8206),this._htmlEscapeSequence["‏"]=String.fromCharCode(8207),this._htmlEscapeSequence["–"]=String.fromCharCode(8211),this._htmlEscapeSequence["—"]=String.fromCharCode(8212),this._htmlEscapeSequence["‘"]=String.fromCharCode(8216),this._htmlEscapeSequence["’"]=String.fromCharCode(8217),this._htmlEscapeSequence["‚"]=String.fromCharCode(8218),this._htmlEscapeSequence["“"]=String.fromCharCode(8220),this._htmlEscapeSequence["”"]=String.fromCharCode(8221),this._htmlEscapeSequence["„"]=String.fromCharCode(8222),this._htmlEscapeSequence["†"]=String.fromCharCode(8224),this._htmlEscapeSequence["‡"]=String.fromCharCode(8225),this._htmlEscapeSequence["•"]=String.fromCharCode(8226),this._htmlEscapeSequence["…"]=String.fromCharCode(8230),this._htmlEscapeSequence["‰"]=String.fromCharCode(8240),this._htmlEscapeSequence["′"]=String.fromCharCode(8242),this._htmlEscapeSequence["″"]=String.fromCharCode(8243),this._htmlEscapeSequence["‹"]=String.fromCharCode(8249),this._htmlEscapeSequence["›"]=String.fromCharCode(8250),this._htmlEscapeSequence["‾"]=String.fromCharCode(8254),this._htmlEscapeSequence["⁄"]=String.fromCharCode(8260),this._htmlEscapeSequence["€"]=String.fromCharCode(8364),this._htmlEscapeSequence["ℑ"]=String.fromCharCode(8365),this._htmlEscapeSequence["℘"]=String.fromCharCode(8472),this._htmlEscapeSequence["ℜ"]=String.fromCharCode(8476),this._htmlEscapeSequence["™"]=String.fromCharCode(8482),this._htmlEscapeSequence["ℵ"]=String.fromCharCode(8501),this._htmlEscapeSequence["←"]=String.fromCharCode(8592),this._htmlEscapeSequence["↑"]=String.fromCharCode(8593),this._htmlEscapeSequence["→"]=String.fromCharCode(8594),this._htmlEscapeSequence["↓"]=String.fromCharCode(8595),this._htmlEscapeSequence["↔"]=String.fromCharCode(8596),this._htmlEscapeSequence["↵"]=String.fromCharCode(8629),this._htmlEscapeSequence["⇐"]=String.fromCharCode(8656),this._htmlEscapeSequence["⇑"]=String.fromCharCode(8657),this._htmlEscapeSequence["⇒"]=String.fromCharCode(8658),this._htmlEscapeSequence["⇓"]=String.fromCharCode(8659),this._htmlEscapeSequence["⇔"]=String.fromCharCode(8660),this._htmlEscapeSequence["∀"]=String.fromCharCode(8704),this._htmlEscapeSequence["∂"]=String.fromCharCode(8706),this._htmlEscapeSequence["∃"]=String.fromCharCode(8707),this._htmlEscapeSequence["∅"]=String.fromCharCode(8709),this._htmlEscapeSequence["∇"]=String.fromCharCode(8711),this._htmlEscapeSequence["∈"]=String.fromCharCode(8712),this._htmlEscapeSequence["∉"]=String.fromCharCode(8713),this._htmlEscapeSequence["∋"]=String.fromCharCode(8715),this._htmlEscapeSequence["∏"]=String.fromCharCode(8719),this._htmlEscapeSequence["∑"]=String.fromCharCode(8721),this._htmlEscapeSequence["−"]=String.fromCharCode(8722),this._htmlEscapeSequence["∗"]=String.fromCharCode(8727),this._htmlEscapeSequence["√"]=String.fromCharCode(8730),this._htmlEscapeSequence["∝"]=String.fromCharCode(8733),this._htmlEscapeSequence["∞"]=String.fromCharCode(8734),this._htmlEscapeSequence["∠"]=String.fromCharCode(8736),this._htmlEscapeSequence["∧"]=String.fromCharCode(8743),this._htmlEscapeSequence["∨"]=String.fromCharCode(8744),this._htmlEscapeSequence["∩"]=String.fromCharCode(8745),this._htmlEscapeSequence["∪"]=String.fromCharCode(8746),this._htmlEscapeSequence["∫"]=String.fromCharCode(8747),this._htmlEscapeSequence["∴"]=String.fromCharCode(8756),this._htmlEscapeSequence["∼"]=String.fromCharCode(8764),this._htmlEscapeSequence["≅"]=String.fromCharCode(8773),this._htmlEscapeSequence["≈"]=String.fromCharCode(8776),this._htmlEscapeSequence["≠"]=String.fromCharCode(8800),this._htmlEscapeSequence["≡"]=String.fromCharCode(8801),this._htmlEscapeSequence["≤"]=String.fromCharCode(8804),this._htmlEscapeSequence["≥"]=String.fromCharCode(8805),this._htmlEscapeSequence["⊂"]=String.fromCharCode(8834),this._htmlEscapeSequence["⊃"]=String.fromCharCode(8835),this._htmlEscapeSequence["⊄"]=String.fromCharCode(8836),this._htmlEscapeSequence["⊆"]=String.fromCharCode(8838),this._htmlEscapeSequence["⊇"]=String.fromCharCode(8839),this._htmlEscapeSequence["⊕"]=String.fromCharCode(8853),this._htmlEscapeSequence["⊗"]=String.fromCharCode(8855),this._htmlEscapeSequence["⊥"]=String.fromCharCode(8869),this._htmlEscapeSequence["⋅"]=String.fromCharCode(8901),this._htmlEscapeSequence["⌈"]=String.fromCharCode(8968),this._htmlEscapeSequence["⌉"]=String.fromCharCode(8969),this._htmlEscapeSequence["⌊"]=String.fromCharCode(8970),this._htmlEscapeSequence["⌋"]=String.fromCharCode(8971),this._htmlEscapeSequence["⟨"]=String.fromCharCode(9001),this._htmlEscapeSequence["⟩"]=String.fromCharCode(9002),this._htmlEscapeSequence["◊"]=String.fromCharCode(9674),this._htmlEscapeSequence["♠"]=String.fromCharCode(9824),this._htmlEscapeSequence["♣"]=String.fromCharCode(9827),this._htmlEscapeSequence["♥"]=String.fromCharCode(9829),this._htmlEscapeSequence["♦"]=String.fromCharCode(9830)),this._htmlEscapeSequence},enumerable:!1,configurable:!0}),u.convertStringToTag=function(e){var t=new T;if((e=e.trim()).stimulsoft.endsWith("/")&&(t.state=w.Empty,e=e.substr(0,e.length-1).trim()),t.attributes=this.parseTagIntoPairs(e),0==t.attributes.length)return t;var e=t.attributes[0].key;switch(e.stimulsoft.startsWith("/")&&(t.state=w.End,e=e.substr(1)),e){case"p":t.tag=Mr.P;break;case"br":t.tag=Mr.Br;break;case"ol":t.tag=Mr.OrderedList;break;case"ul":t.tag=Mr.UnorderedList;break;case"li":t.tag=Mr.ListItem;break;case"a":t.tag=Mr.A;break;case"strong":case"b":t.tag=Mr.B;break;case"em":case"i":t.tag=Mr.I;break;case"u":t.tag=Mr.U;break;case"strike":case"s":t.tag=Mr.S;break;case"sup":t.tag=Mr.Sup;break;case"sub":t.tag=Mr.Sub;break;case"letter-spacing":t.tag=Mr.LetterSpacing;break;case"word-spacing":t.tag=Mr.WordSpacing;break;case"line-height":t.tag=Mr.LineHeight;break;case"text-align":t.tag=Mr.TextAlign;break;case"font":t.tag=Mr.Font;break;case"font-face":case"font-family":case"font-name":t.tag=Mr.FontName;break;case"font-size":t.tag=Mr.FontSize;break;case"font-color":case"color":t.tag=Mr.FontColor;break;case"background-color":t.tag=Mr.Backcolor;break}return t.tag!=Mr.None||wr.isNullOrWhiteSpace(e)||(t.tag=Mr.Unknown,t.tagName=e),t},u.parseHtmlToStates=function(e,t,r){void 0===r&&(r=!1);var i=new Array,o=t.clone(),n=new Array,a=0,s=!1;null==e&&(e="");while(a<e.length)if("<"!=e.charAt(a)){var l=e.charAt(a);Nr.isWhitespace(l,0,!1)?s||(o.text.append(" "),s=!0):Nr.getUnicodeCategory(l)!=Ar.OtherNotAssigned&&(o.text.append(l),s=!1),a++}else{0<o.text.length&&(i.push(o),(o=new Ir(o)).posBegin=a,o.ts.tag.tag==Mr.ListItem&&(o.ts.tag=new T(Mr.None)));while(a<e.length&&"<"==e[a]){var u=++a;while(u<e.length&&">"!=e.charAt(u))u++;var c=e.substr(a,u-a),a=u;a++;var c=this.convertStringToTag(c),d,d,d,h,d,h,d,h,d,h;if(c.isEndTag(Mr.P)){if(this.parseStyleAttributes(c,o,t.ts),o.text.append("\n"),i.push(o),(o=new Ir(o)).posBegin=a,s=!0,o.ts.tag=new T(Mr.P,w.End),a<e.length&&!wr.isNullOrWhiteSpace(e.substr(a))){var m=this.defaultParagraphLineHeight;try{var p=o.ts.getStyleAttribute("margin-bottom");wr.isNullOrWhiteSpace(p)||(((p=p.trim()).stimulsoft.startsWith(".")||p.stimulsoft.startsWith(","))&&(p="0"+p),m=p.stimulsoft.endsWith("px")||p.stimulsoft.endsWith("pt")?(p=p.substr(0,p.length-2),C.toDouble(p)/o.ts.fontSize):C.toDouble(p))}catch(e){}o.text.append("\n");var f=o.ts.lineHeight;o.ts.lineHeight=m,i.push(o),(o=new Ir(o)).posBegin=a,o.ts.lineHeight=f,o.ts.tag=new T(Mr.None)}0<o.ts.indent&&(o.text.append(this.getIndentString(o.ts.indent)),i.push(o),o=new Ir(o))}else if(c.isStartTag(Mr.P)){this.parseStyleAttributes(c,o,t.ts);var m=this.defaultParagraphLineHeight,S,g,f;try{var p=o.ts.getStyleAttribute("margin-top");wr.isNullOrWhiteSpace(p)||(((p=p.trim()).stimulsoft.startsWith(".")||p.stimulsoft.startsWith(","))&&(p="0"+p),m=p.stimulsoft.endsWith("px")||p.stimulsoft.endsWith("pt")?(p=p.substr(0,p.length-2),C.toDouble(p)/o.ts.fontSize):C.toDouble(p))}catch(e){}0<i.length&&i[i.length-1].ts.tag.isEndTag(Mr.P)?(g=i[i.length-1]).ts.lineHeight<m&&(g.ts.lineHeight=m):((1<i.length||1==i.length&&0!=i[0].text.toString().trim().length)&&(o.text.append("\n"),i.push(o),o=new Ir(o)),o.posBegin=a,s=!0,o.text.append("\n"),f=o.ts.lineHeight,o.ts.lineHeight=m,o.ts.tag=new T(Mr.P),i.push(o),(o=new Ir(o)).ts.lineHeight=f,o.posBegin=a,0<o.ts.indent&&(o.text.append(this.getIndentString(o.ts.indent)),i.push(o),o=new Ir(o)))}else if(c.tag==Mr.Br)s=!0,o.text.append("\n"),i.push(o),(o=new Ir(o)).posBegin=a,0<o.ts.indent&&o.text.append(this.getIndentString(o.ts.indent));else if(c.isStartTag(Mr.ListItem)){(d=0<i.length&&i[i.length-1].ts.tag.tag==Mr.ListItem)||(s=!0,o.text.append("\n"),o.ts.tag=new T(Mr.ListItem),i.push(o),(o=new Ir(o)).ts.tag=new T(Mr.ListItem),o.posBegin=a,o.text.append(this.getIndentString(o.ts.indent)),i.push(o),(o=new Ir(o)).ts.tag=new T(Mr.None),o.posBegin=a),0==o.ts.indent&&o.ts.indent++,null==o.listLevels&&(o.listLevels=new Array);while(o.ts.indent>o.listLevels.length)o.listLevels.push(0);var h=i[i.length-1],o=this.parseMarkerTypeAttribute(c.attributes,o);this.insertMarker(h.text,o.listLevels[o.ts.indent-1],o.ts.indent),0<o.listLevels[o.ts.indent-1]&&(Cr.copy(o.listLevels,0,o.listLevels,o.listLevels.length),o.listLevels[o.ts.indent-1]++),i[i.length-1]=h}else if(c.isEndTag(Mr.ListItem)){(d=0<i.length&&i[i.length-1].ts.tag.tag==Mr.ListItem)||(s=!0,o.text.append("\n"),o.ts.tag=new T(Mr.ListItem),i.push(o),(o=new Ir(o)).ts.tag=new T(Mr.ListItem),o.posBegin=a,o.text.append(this.getIndentString(o.ts.indent)),i.push(o),(o=new Ir(o)).ts.tag=new T(Mr.None),o.posBegin=a)}else if(c.isStartTag(Mr.UnorderedList)){(d=0<i.length&&i[i.length-1].ts.tag.tag==Mr.ListItem)?(o.ts.indent++,(h=i[i.length-1]).text.append(this.getIndentString(1)),h.ts.indent++,i[i.length-1]=h):(s=!0,o.text.append("\n"),o.ts.tag=new T(Mr.ListItem),i.push(o),(o=new Ir(o)).ts.tag=new T(Mr.ListItem),o.posBegin=a,o.text.append(this.getIndentString(o.ts.indent+1)),o.ts.indent++,i.push(o),(o=new Ir(o)).ts.tag=new T(Mr.None),o.posBegin=a),null==o.listLevels&&(o.listLevels=new Array);while(o.listLevels.length<o.ts.indent)o.listLevels.push(0);o.listLevels[o.ts.indent-1]=1-o.ts.indent,o=this.parseMarkerTypeAttribute(c.attributes,o)}else if(c.isEndTag(Mr.UnorderedList)){(d=0<i.length&&i[i.length-1].ts.tag.tag==Mr.ListItem)?(0<o.ts.indent&&o.ts.indent--,0<(h=i[i.length-1]).ts.indent&&h.ts.indent--,h.text=new b(this.getIndentString(h.ts.indent)),0==o.ts.indent&&(o.listLevels=null,h.listLevels=null),i[i.length-1]=h):(s=!0,o.text.append("\n"),o.ts.tag=new T(Mr.ListItem),i.push(o),(o=new Ir(o)).ts.tag=new T(Mr.ListItem),o.posBegin=a,0<o.ts.indent&&o.ts.indent--,o.text.append(this.getIndentString(o.ts.indent)),0==o.ts.indent&&(o.listLevels=null),i.push(o),(o=new Ir(o)).ts.tag=new T(Mr.None),o.posBegin=a)}else if(c.isStartTag(Mr.OrderedList)){(d=0<i.length&&i[i.length-1].ts.tag.tag==Mr.ListItem)?(o.ts.indent++,(h=i[i.length-1]).text.append(this.getIndentString(1)),h.ts.indent++,i[i.length-1]=h):(s=!0,o.text.append("\n"),o.ts.tag=new T(Mr.ListItem),i.push(o),(o=new Ir(o)).ts.tag=new T(Mr.ListItem),o.posBegin=a,o.text.append(this.getIndentString(o.ts.indent+1)),o.ts.indent++,i.push(o),(o=new Ir(o)).ts.tag=new T(Mr.None),o.posBegin=a),null==o.listLevels&&(o.listLevels=new Array);while(o.listLevels.length<o.ts.indent)o.listLevels.push(1);o.listLevels[o.ts.indent-1]=1,o=this.parseMarkerTypeAttribute(c.attributes,o);var g=i[i.length-1];g.listLevels=o.listLevels,i[i.length-1]=g}else{c.isEndTag(Mr.OrderedList)?(d=0<i.length&&i[i.length-1].ts.tag.tag==Mr.ListItem)?(0<o.ts.indent&&o.ts.indent--,0<(h=i[i.length-1]).ts.indent&&h.ts.indent--,h.text=new b(this.getIndentString(h.ts.indent)),0==o.ts.indent&&(o.listLevels=null,h.listLevels=null),i[i.length-1]=h):(s=!0,o.text.append("\n"),o.ts.tag=new T(Mr.ListItem),i.push(o),(o=new Ir(o)).ts.tag=new T(Mr.ListItem),o.posBegin=a,0<o.ts.indent&&o.ts.indent--,o.text.append(this.getIndentString(o.ts.indent)),0==o.ts.indent&&(o.listLevels=null),i.push(o),(o=new Ir(o)).ts.tag=new T(Mr.None),o.posBegin=a):(c.tag!=Mr.None&&(o=this.parseHtmlTag(c,o,n,t)),r&&(o.tagsStack=new Array,n.forEach(function(e){o.tagsStack.push(new Er(e))})))}}}return 0<o.text.length&&i.push(o),0==i.length&&i.push(o),i},u.prepareStateText=function(e){var t=new b,r=0,i=e.length;while(r<i){var o=!1;if("&"==e.charAt(r)&&r+3<i){var n=r+1,a=new b,s;if("#"==e.charAt(n))if(n++,"x"==e.charAt(n)){n++;while(n<i&&Nr.isLetterOrDigit(e.charAt(n)))a.append(e.charAt(n)),n++;0<a.length&&n<i&&";"==e.charAt(n)&&(n++,t.append(String.fromCharCode(parseInt(a.toString(),16))),r=n,o=!0)}else{while(n<i&&Nr.isDigit(e.charAt(n)))a.append(e.charAt(n)),n++;0<a.length&&n<i&&";"==e.charAt(n)&&(n++,t.append(String.fromCharCode(parseInt(a.toString()))),r=n,o=!0)}else{while(n<i&&Nr.isLetterOrDigit(e.charAt(n)))a.append(e.charAt(n)),n++;0<a.length&&n<i&&";"==e.charAt(n)&&(null!=(s=this.htmlEscapeSequence["&"+a.toString()+";"])&&(n++,t.append(s),r=n,o=!0))}}o||(t.append(e.charAt(r)),r++)}var l=t.toString().stimulsoft.replaceAll(" "," ").stimulsoft.replaceAll("<","<").stimulsoft.replaceAll(">",">").stimulsoft.replaceAll(""",'"').stimulsoft.replaceAll("&","&");return new b(l)},u.stateToHtml=function(e,t,r,i){var o="";o+=wr.format('<font name="{0}" size="{1}">',e.ts.fontName,e.ts.fontSize),e.ts.isColorChanged&&(o+=wr.format('<font-color="{0}">',s.toHtml(e.ts.fontColor))),e.ts.isBackcolorChanged&&(o+=wr.format('<background-color="{0}">',s.toHtml(e.ts.backColor))),o+=wr.format("<{0}b>",e.ts.bold?"":"/"),o+=wr.format("<{0}i>",e.ts.italic?"":"/"),o+=wr.format("<{0}u>",e.ts.underline?"":"/"),o+=wr.format("<{0}s>",e.ts.strikeout?"":"/"),o+=wr.format("<{0}sup>",e.ts.superscript?"":"/"),o+=wr.format("<{0}sub>",e.ts.subsript?"":"/"),o+=wr.format('<letter-spacing="{0}">',e.ts.letterSpacing),o+=wr.format('<word-spacing="{0}">',e.ts.wordSpacing),o+=wr.format('<line-height="{0}">',e.ts.lineHeight);var n="left";return e.ts.textAlign==vr.StiTextHorAlignment.Center&&(n="center"),e.ts.textAlign==vr.StiTextHorAlignment.Right&&(n="right"),e.ts.textAlign==vr.StiTextHorAlignment.Width&&(n="justify"),o+=wr.format('<text-align="{0}">',n),o+="<StiHtml "+this.stackToString(e.tagsStack)+">",0<t.ts.indent&&(o+=wr.format("<StiHtml2 {0} {1}>",i,this.listLevelsToString(t.listLevels,t.ts.indent))),null!=r&&(o+=r.stimulsoft.replaceAll("&","&").stimulsoft.replaceAll("<","<").stimulsoft.replaceAll(">",">")),o},u.getIndentString=function(e){for(var t=new b,r=0;r<e;r++)t.append(" ");return t.toString()},u.insertMarker=function(e,t,r){var i=this.bulletBlack,o;0<t?i=t.toString()+".":1==(0-t)%2&&(i=this.bulletWhite);var n=0<t?2:3;if(3<e.length)if(i.length>=e.length-n){var t=i+e.toString().substr(e.length-n);e.clear(),e.append(t)}else for(var a=e.length-n-i.length,s=0;s<i.length;s++)e.setByIndex(a+s,i[s])},u.stackToString=function(e){if(null==e||0==e.length)return"";var t=new b;try{for(var r=0;r<e.length;r++){var i=e[r],o=new Er(null),n=0==r;n||(o=e[r-1]);var a=t.length;i.isBackcolorChanged&&t.appendFormat("bc{0:X2}{1:X2}{2:X2}{3:X2}:",i.backColor.a,i.backColor.r,i.backColor.g,i.backColor.b),i.bold&&(n||i.bold!=o.bold)&&t.append("bd:"),i.isColorChanged&&t.appendFormat("fc{0:X2}{1:X2}{2:X2}{3:X2}:",i.fontColor.a,i.fontColor.r,i.fontColor.g,i.fontColor.b),wr.isNullOrEmpty(i.fontName)||!n&&i.fontName==o.fontName||t.appendFormat("fn{0}:",i.fontName.stimulsoft.replaceAll(" ","_")),!n&&i.fontSize==o.fontSize||t.appendFormat("fs{0}:",i.fontSize),i.italic&&(n||i.italic!=o.italic)&&t.append("it:"),!n&&i.letterSpacing==o.letterSpacing||t.appendFormat("ls{0}:",i.letterSpacing),!n&&i.lineHeight==o.lineHeight||t.appendFormat("lh{0}:",i.lineHeight),i.strikeout&&(n||i.strikeout!=o.strikeout)&&t.append("st:"),i.subsript&&(n||i.subsript!=o.subsript)&&t.append("sb:"),i.superscript&&(n||i.superscript!=o.superscript)&&t.append("sp:"),!n&&i.tag.equals(o.tag)||t.appendFormat("tg{0}:",i.tag.tag!=Mr.Unknown?Math.trunc(i.tag.tag).toString():"'"+i.tag.tagName+"'"),!n&&i.textAlign==o.textAlign||t.appendFormat("ta{0}:",i.textAlign),i.underline&&(n||i.underline!=o.underline)&&t.append("un:"),!n&&i.wordSpacing==o.wordSpacing||t.appendFormat("ws{0}:",i.wordSpacing),":"==t.charAt(t.length-1)&&t.length--,r<e.length-1&&t.length>a&&t.append(";")}while(1<t.length&&";"==t.charAt(t.length-1))t.length--}catch(e){}return t.toString()},u.listLevelsToString=function(e,t){null!=e&&0!=e.length||(e=new Tr);var r=new b;try{for(var i=0;i<t;i++)i<e.length?r.append(e[i].toString()):r.append("0"),i<t-1&&r.append(";")}catch(e){}return r.toString()},u.parseHtmlTag=function(e,t,r,i){var o=new Er(t.ts),n=e.attributes[0],a,a,s,s,l,u;switch(e.tag){case Mr.B:t.ts.bold=e.isStart;break;case Mr.I:t.ts.italic=e.isStart;break;case Mr.U:t.ts.underline=e.isStart;break;case Mr.S:t.ts.strikeout=e.isStart;break;case Mr.Sup:t.ts.superscript=e.isStart,t.ts.subsript=!1;break;case Mr.Sub:t.ts.subsript=e.isStart,t.ts.superscript=!1;break;case Mr.LetterSpacing:e.isStart&&(a=0,"normal"!=n.value&&(a=parseFloat(n.value.toString().stimulsoft.replaceAll(",",".")),isNaN(a)&&(a=0)),t.ts.letterSpacing=a);break;case Mr.WordSpacing:e.isStart&&(a=0,"normal"!=n.value&&(a=parseFloat(n.value.toString().stimulsoft.replaceAll(",",".")),isNaN(a)&&(a=0)),t.ts.wordSpacing=a);break;case Mr.LineHeight:e.isStart&&(s=1,"normal"!=n.value&&(s=parseFloat(n.value.toString().stimulsoft.replaceAll(",",".")),isNaN(s)&&(s=0)),s<=0&&(s=1),t.ts.lineHeight=s);break;case Mr.TextAlign:if(e.isStart)try{var c=n.value.toString().toLowerCase();"left"==c&&(t.ts.textAlign=vr.StiTextHorAlignment.Left),"right"==c&&(t.ts.textAlign=vr.StiTextHorAlignment.Right),"center"==c&&(t.ts.textAlign=vr.StiTextHorAlignment.Center),"justify"==c&&(t.ts.textAlign=vr.StiTextHorAlignment.Width)}catch(e){B.System.StiError.showError(e,!1)}break;case Mr.Font:if(e.isStart&&1<e.attributes.length)for(var d=1;d<e.attributes.length;d++){var h=e.attributes[d];switch(h.key){case"color":try{t.ts.fontColor=this.parseColor(h.value.toString()),t.ts.isColorChanged=!0}catch(e){B.System.StiError.showError(e,!1)}break;case"face":case"family":case"name":try{t.ts.fontName=h.value.toString()}catch(e){B.System.StiError.showError(e,!1)}break;case"size":var m=this.parseFontSize(h.value.toString());t.ts.fontSize=m;break;case"style":t.ts.htmlStyle=h.value.toString();break}}break;case Mr.FontName:if(e.isStart)try{t.ts.fontName=n.value.toString()}catch(e){B.System.StiError.showError(e,!1)}break;case Mr.FontSize:e.isStart&&(s=this.parseFontSize(n.value.toString()),t.ts.fontSize=s);break;case Mr.FontColor:if(e.isStart)try{t.ts.fontColor=this.parseColor(n.value.toString()),t.ts.isColorChanged=!0}catch(e){}break;case Mr.Backcolor:if(e.isStart)try{t.ts.backColor=this.parseColor(n.value.toString()),t.ts.isBackcolorChanged=!0}catch(e){B.System.StiError.showError(e,!1)}break;case Mr.A:if(e.isStart)try{0<e.attributes.length&&"href"==e.attributes[1].key&&(l=e.attributes[1].value,wr.isNullOrWhiteSpace(l)||(t.ts.href=l.trim(),t.ts.fontColor=Pr.blue,t.ts.isColorChanged=!0))}catch(e){}break;case Mr.Unknown:if("stihtml"==e.tagName){r.stimulsoft.clear();try{1<e.attributes.length&&null!=e.attributes[1].key&&r.stimulsoft.addRange(this.stringToStack(e.attributes[1].key.toString(),i.ts))}catch(e){B.System.StiError.showError(e,!1)}}if("stihtml2"==e.tagName)try{2<e.attributes.length&&null!=e.attributes[2].key&&(t.listLevels=this.stringToListLevels(e.attributes[2].key),null!=t.listLevels&&(t.ts.indent=t.listLevels.length),0<(u=e.attributes[1].key.stimulsoft.toNumber())&&(t.ts.indent=-u))}catch(e){B.System.StiError.showError(e,!1)}break}if(e.isEnd){if(0<r.length)for(var p=r.length-1;0<=p;p--){var f=r[p];if(f.tag.equals(e)){t.ts=f,r.stimulsoft.removeRange(p,r.length-p);break}}}else e.tag!=Mr.None&&(o.tag=e,r.push(o));return e.isStart&&1<e.attributes.length&&this.parseStyleAttributes(e,t,i.ts),t},u.parseTagIntoPairs=function(e){var t=new Tr,r=0;while(r<e.length&&" "==e[r])r++;while(r<e.length){var i=r,o=new c;while(i<e.length&&" "!=e[i]&&"="!=e[i])i++;o.keyBase=e.substr(r,i-r),o.key=o.keyBase.toLowerCase(),r=i;while(r<e.length&&" "==e[r])r++;if(r<e.length&&"="==e[r]){r++;while(r<e.length&&" "==e[r])r++;if(r<e.length)if('"'==e[r]){i=++r;while(i<e.length&&'"'!=e[i])i++;o.value=e.substr(r,i-r),r=i,r++}else{i=r;while(i<e.length&&" "!=e[i])i++;o.value=e.substr(r,i-r),r=i}}while(r<e.length&&" "==e[r])r++;t.add(o)}return t},u.parseMarkerTypeAttribute=function(e,t){var r,i;try{for(var o=__values(e),n=o.next();!n.done;n=o.next()){var a=n.value,s;"type"!=a.keyBase||wr.isNullOrWhiteSpace(a.value)||null!=t.listLevels&&(s=a.value[0],"disc"==a.value&&(s=String.fromCharCode(8226)),"circle"==a.value&&(s=String.fromCharCode(9702)),"square"==a.value&&(s=String.fromCharCode(9642)),"none"==a.value&&(s=" "),t.listLevels[t.listLevels.length-1]=-s.charCodeAt(0))}}catch(e){r={error:e}}finally{try{n&&!n.done&&(i=o.return)&&i.call(o)}finally{if(r)throw r.error}}return t},u.parseStyleAttributes=function(e,t,r){for(var i=1;i<e.attributes.countItems;i++){var o=e.attributes[i];"style"==o.key&&this.parseStyleAttribute(o.value,t,r)}},u.parseStyleAttribute=function(e,s,t){var l=this,r;if(!e||""==e)return;return void e.split(";").forEach(function(e){var t=e.split(":"),r=1<t.length,e=t[0].trim(),i=r?t[1].trim():null;switch(e){case"color":try{s.ts.fontColor=u.parseColor(i),s.ts.isColorChanged=!0}catch(e){B.System.StiError.showError(e,!1)}break;case"background-color":try{s.ts.backColor=u.parseColor(i),s.ts.isBackcolorChanged=!0}catch(e){B.System.StiError.showError(e,!1)}break;case"text-decoration":"underline"==i&&(s.ts.underline=!0),"line-through"==i&&(s.ts.strikeout=!0),"none"==i&&(s.ts.underline=!1,s.ts.strikeout=!1);break;case"font-weight":s.ts.bold="bold"==i||"bolder"==i||"600"==i||"700"==i||"800"==i||"900"==i;break;case"font-style":"normal"==i&&(s.ts.italic=!1),"italic"!=i&&"oblique"!=i||(s.ts.italic=!0);break;case"font-size":var o=l.parseFontSize(i);s.ts.fontSize=o;break;case"vertical-align":"baseline"==i&&(s.ts.subsript=!1,s.ts.superscript=!1),"sub"==i&&(s.ts.subsript=!0,s.ts.superscript=!1),"super"==i&&(s.ts.subsript=!1,s.ts.superscript=!0);break;case"letter-spacing":var n=0;"normal"!=i&&(n=parseFloat(i.stimulsoft.replaceAll(",",".")),isNaN(n)&&(n=0)),s.ts.letterSpacing=n;break;case"word-spacing":var o=0;"normal"!=i&&(o=parseFloat(i.stimulsoft.replaceAll(",",".")),isNaN(o)&&(n=0)),s.ts.wordSpacing=o;break;case"line-height":var a=1;"normal"!=i&&(a=parseFloat(i.stimulsoft.replaceAll(",",".")),isNaN(a)&&(n=1)),a<=0&&(a=1),s.ts.lineHeight=a;break;case"text-align":var a=i.toLowerCase();"left"==a&&(s.ts.textAlign=vr.StiTextHorAlignment.Left),"right"==a&&(s.ts.textAlign=vr.StiTextHorAlignment.Right),"center"==a&&(s.ts.textAlign=vr.StiTextHorAlignment.Center),"justify"==a&&(s.ts.textAlign=vr.StiTextHorAlignment.Width);break;default:wr.isNullOrWhiteSpace(e)||(null==s.ts.styleAttributes&&(s.ts.styleAttributes=new m),s.ts.styleAttributes.set(e,i));break}})},u.stringToListLevels=function(e){var t=new Array,r;try{e.split(";").forEach(function(e){t.push(parseInt(e))})}catch(e){B.System.StiError.showError(e,!1)}return t},u.stringToStack=function(e,t){var i=this,o=new Er(t),n=new Array,r;try{e.split(";").forEach(function(e){var r=new Er(o),t;e.split(":").forEach(function(e){var t=e.substring(2);switch(e.substring(0,2)){case"bc":r.backColor=Pr.fromArgb(parseInt(t.substr(0,2),16),parseInt(t.substr(2,2),16),parseInt(t.substr(4,2),16),parseInt(t.substr(6,2),16)),r.isBackcolorChanged=!0;break;case"bd":r.bold=!0;break;case"fc":r.fontColor=Pr.fromArgb(parseInt(t.substr(0,2),16),parseInt(t.substr(2,2),16),parseInt(t.substr(4,2),16),parseInt(t.substr(6,2),16)),r.isColorChanged=!0;break;case"fn":r.fontName=t;break;case"fs":r.fontSize=parseFloat(t);break;case"it":r.italic=!0;break;case"ls":r.letterSpacing=parseInt(t);break;case"lh":r.lineHeight=parseInt(t);break;case"st":r.strikeout=!0;break;case"sb":r.subsript=!0;break;case"sp":r.superscript=!0;break;case"tg":t.stimulsoft.startsWith("'")?r.tag=i.convertStringToTag(t.substr(1,t.length-2)):r.tag=new T(a.parse(Mr,t));break;case"ta":r.textAlign=parseInt(t);break;case"un":r.underline=!0;break;case"ws":r.wordSpacing=parseFloat(t);break}}),n.push(r),o=r})}catch(e){B.System.StiError.showError(e,!1)}return n},u.parseFontSize=function(e){var t=B.System.Drawing.GraphicsUnit.Point;e.stimulsoft.endsWith("px")&&(t=B.System.Drawing.GraphicsUnit.Pixel,e=e.substring(0,e.length-2));var e=e.stimulsoft.toNumber();if(isNaN(e)&&(e=8),e<.5&&(e=.5),this.interpreteFontSizeInHtmlTagsAsInHtml)switch(Math.round(e)){case 1:e=7;break;case 2:e=10;break;case 3:e=12;break;case 4:e=14;break;case 5:e=16;break;case 6:e=22;break;case 7:e=36;break}return t==B.System.Drawing.GraphicsUnit.Pixel&&(e*=.75),e},u.parseColor=function(e){var t=Pr.transparent;if(1<e.length)if("#"==e[0]){for(var r=e.substring(1).toLowerCase(),i=new b,o=0,n,t;o<r.length;o++){var a=r.charAt(o);"0"!=a&&"1"!=a&&"2"!=a&&"3"!=a&&"4"!=a&&"5"!=a&&"6"!=a&&"7"!=a&&"8"!=a&&"9"!=a&&"a"!=a&&"b"!=a&&"c"!=a&&"d"!=a&&"e"!=a&&"f"!=a||i.append(a)}3==(r=i.toString()).length&&(r=wr.format("{0}{0}{1}{1}{2}{2}",r[0],r[1],r[2])),6==r.length&&(n=C.toInt32(r,16),t=Pr.fromArgb(255,n>>16&255,n>>8&255,255&n))}else if(e.stimulsoft.startsWith("rgb")){var s=e.trim().substr(4,e.length-5).split(","),l;3==s.length&&(l=Cr.create(Number,3),s[0].stimulsoft.endsWith("%")?l[0]=Math.round(2.55*C.toInt32(s[0].substr(0,s[0].length-1))):l[0]=C.toInt32(s[0]),s[1].stimulsoft.endsWith("%")?l[1]=Math.round(2.55*C.toInt32(s[1].substr(0,s[1].length-1))):l[1]=C.toInt32(s[1]),s[2].stimulsoft.endsWith("%")?l[2]=Math.round(2.55*C.toInt32(s[2].substr(0,s[2].length-1))):l[2]=C.toInt32(s[2]),t=Pr.fromArgb(255,l[0],l[1],l[2]))}else{if(null==this.htmlNameToColor){var u=[["AliceBlue","#F0F8FF"],["AntiqueWhite","#FAEBD7"],["Aqua","#00FFFF"],["Aquamarine","#7FFFD4"],["Azure","#F0FFFF"],["Beige","#F5F5DC"],["Bisque","#FFE4C4"],["Black","#000000"],["BlanchedAlmond","#FFEBCD"],["Blue","#0000FF"],["BlueViolet","#8A2BE2"],["Brown","#A52A2A"],["BurlyWood","#DEB887"],["CadetBlue","#5F9EA0"],["Chartreuse","#7FFF00"],["Chocolate","#D2691E"],["Coral","#FF7F50"],["CornflowerBlue","#6495ED"],["Cornsilk","#FFF8DC"],["Crimson","#DC143C"],["Cyan","#00FFFF"],["DarkBlue","#00008B"],["DarkCyan","#008B8B"],["DarkGoldenRod","#B8860B"],["DarkGray","#A9A9A9"],["DarkGrey","#A9A9A9"],["DarkGreen","#006400"],["DarkKhaki","#BDB76B"],["DarkMagenta","#8B008B"],["DarkOliveGreen","#556B2F"],["Darkorange","#FF8C00"],["DarkOrchid","#9932CC"],["DarkRed","#8B0000"],["DarkSalmon","#E9967A"],["DarkSeaGreen","#8FBC8F"],["DarkSlateBlue","#483D8B"],["DarkSlateGray","#2F4F4F"],["DarkSlateGrey","#2F4F4F"],["DarkTurquoise","#00CED1"],["DarkViolet","#9400D3"],["DeepPink","#FF1493"],["DeepSkyBlue","#00BFFF"],["DimGray","#696969"],["DimGrey","#696969"],["DodgerBlue","#1E90FF"],["FireBrick","#B22222"],["FloralWhite","#FFFAF0"],["ForestGreen","#228B22"],["Fuchsia","#FF00FF"],["Gainsboro","#DCDCDC"],["GhostWhite","#F8F8FF"],["Gold","#FFD700"],["GoldenRod","#DAA520"],["Gray","#808080"],["Grey","#808080"],["Green","#008000"],["GreenYellow","#ADFF2F"],["HoneyDew","#F0FFF0"],["HotPink","#FF69B4"],["IndianRed","#CD5C5C"],["Indigo","#4B0082"],["Ivory","#FFFFF0"],["Khaki","#F0E68C"],["Lavender","#E6E6FA"],["LavenderBlush","#FFF0F5"],["LawnGreen","#7CFC00"],["LemonChiffon","#FFFACD"],["LightBlue","#ADD8E6"],["LightCoral","#F08080"],["LightCyan","#E0FFFF"],["LightGoldenRodYellow","#FAFAD2"],["LightGray","#D3D3D3"],["LightGrey","#D3D3D3"],["LightGreen","#90EE90"],["LightPink","#FFB6C1"],["LightSalmon","#FFA07A"],["LightSeaGreen","#20B2AA"],["LightSkyBlue","#87CEFA"],["LightSlateGray","#778899"],["LightSlateGrey","#778899"],["LightSteelBlue","#B0C4DE"],["LightYellow","#FFFFE0"],["Lime","#00FF00"],["LimeGreen","#32CD32"],["Linen","#FAF0E6"],["Magenta","#FF00FF"],["Maroon","#800000"],["MediumAquaMarine","#66CDAA"],["MediumBlue","#0000CD"],["MediumOrchid","#BA55D3"],["MediumPurple","#9370D8"],["MediumSeaGreen","#3CB371"],["MediumSlateBlue","#7B68EE"],["MediumSpringGreen","#00FA9A"],["MediumTurquoise","#48D1CC"],["MediumVioletRed","#C71585"],["MidnightBlue","#191970"],["MintCream","#F5FFFA"],["MistyRose","#FFE4E1"],["Moccasin","#FFE4B5"],["NavajoWhite","#FFDEAD"],["Navy","#000080"],["OldLace","#FDF5E6"],["Olive","#808000"],["OliveDrab","#6B8E23"],["Orange","#FFA500"],["OrangeRed","#FF4500"],["Orchid","#DA70D6"],["PaleGoldenRod","#EEE8AA"],["PaleGreen","#98FB98"],["PaleTurquoise","#AFEEEE"],["PaleVioletRed","#D87093"],["PapayaWhip","#FFEFD5"],["PeachPuff","#FFDAB9"],["Peru","#CD853F"],["Pink","#FFC0CB"],["Plum","#DDA0DD"],["PowderBlue","#B0E0E6"],["Purple","#800080"],["Red","#FF0000"],["RosyBrown","#BC8F8F"],["RoyalBlue","#4169E1"],["SaddleBrown","#8B4513"],["Salmon","#FA8072"],["SandyBrown","#F4A460"],["SeaGreen","#2E8B57"],["SeaShell","#FFF5EE"],["Sienna","#A0522D"],["Silver","#C0C0C0"],["SkyBlue","#87CEEB"],["SlateBlue","#6A5ACD"],["SlateGray","#708090"],["SlateGrey","#708090"],["Snow","#FFFAFA"],["SpringGreen","#00FF7F"],["SteelBlue","#4682B4"],["Tan","#D2B48C"],["Teal","#008080"],["Thistle","#D8BFD8"],["Tomato","#FF6347"],["Turquoise","#40E0D0"],["Violet","#EE82EE"],["Wheat","#F5DEB3"],["White","#FFFFFF"],["WhiteSmoke","#F5F5F5"],["Yellow","#FFFF00"],["YellowGreen","#9ACD32"]];this.htmlNameToColor=new m;for(var c=0;c<u.length;c++){var d=u[c][0].toLowerCase(),n=C.toInt32(u[c][1].substr(1),16),h=Pr.fromArgb(255,n>>16&255,n>>8&255,255&n);this.htmlNameToColor.set(d,h)}}var r=e.toLowerCase();this.htmlNameToColor.containsKey(r)&&(t=this.htmlNameToColor.get(r))}return t},u.measureString=function(e,t,r,i,o){void 0===i&&(i=0),void 0===o&&(o=!1);var o=xr.measureString(r,t,e,!0,1,i,!o);return new v(o.width,o.height)},u.getTextLinesAndWidths=function(e,t,r,i,o,n,a,s,l,u,c,d,h){var m,p,f;l%180!=0&&l%90==0&&(f=i.clone(),i.width=f.height,i.height=f.width);var f=t.ref;null==f&&(f="");var S=(f=(f=f.replace(/\r\n/gi,"\n")).replace(/\r/gi,"\n")).split(new RegExp("\n")),g=d.ref,y=h.ref,b=[];if(n)for(var v=0;v<S.length;v++)for(var C=B.System.Text.TextUtils.getWordWrapTextLines(S[v],r,!1,i.width),w=0;w<C.length;w++)b.push(C[w]);else b=S;try{for(var T=__values(b),D=T.next();!D.done;D=T.next()){var P=D.value,x=xr.measureString(P,r,null,!0,1,0);g.push(P),y.push({begin:0,length:P.length,needWidthAlign:!1,width:x.width,widths:[],justifyOffset:0,text:null,indexOfMaxFont:0,lineHeight:x.height,textAlignment:vr.StiTextHorAlignment.Left,indent:0,end:P.length})}}catch(e){m={error:e}}finally{try{D&&!D.done&&(p=T.return)&&p.call(T)}finally{if(m)throw m.error}}return t.ref=f,d.ref=g,h.ref=y,[f]},u.drawTextForOutput=function(e,t,r,i,o,n,a,s,l,u,c,d,h,m,p,f,S,g,y){var b={ref:new v(0,0)};this.drawTextBase2(e,{ref:t},r,i,o,n,a,s,l,u,c,1,h,m,p,b,!0,null,null,f,S,g,y)},u.measureText=function(e,t,r,i,o,n,a,s,l,u,c,d,h){var m={ref:new v(0,0)};return this.drawTextBase2(e,{ref:t},r,i,Pr.black,Pr.black,o,vr.StiTextHorAlignment.Left,vr.StiVertAlignment.Top,n,a,1,l,u,c,m,!1,null,null,d,null,null,h),m.ref},u.drawTextBase=function(e,t,r,i,o,n,a,s,l,u,c,d,h,m,p,f,S,g,y,b,v,C){return""},u.drawTextBase2=function(e,t,r,i,o,n,a,s,l,u,c,d,h,m,p,f,S,g,y,b,v,C,w){var T=new Dr(i.x+0,i.y,i.width+1,i.height+1),D=new Dr(T.x+1.5*d,T.y,Math.round2(i.width-3*d,this.precisionDigits),i.height),P=new vr.SizeD(D.width,D.height),T=r,i=d;this.precisionModeEnabled&&(r=new Br(r.name,r.size*this.precisionModeFactor,r.style),d=i/this.precisionModeFactor);var x=t.ref,B="",L=new Tr,N=null,A=null,F=null,R=0;if(!wr.isNullOrEmpty(t.ref)&&!Pr.transparent.equals(o)&&null!=r&&1e-5<d){s==vr.StiTextHorAlignment.Width&&(u=!0);var k=t.ref.stimulsoft.endsWith(this.StiForceWidthAlignTag);k&&(t.ref=t.ref.substr(0,t.ref.length-this.StiForceWidthAlignTag.length),x=t.ref);var O=t.ref,s=new Er(T.bold,T.italic,T.underline,T.strikeout,T.sizeInPoints,T.name,o,n,!1,!1,0,0,a,s),s=new Ir(s,0);if(b){for(var M=this.parseHtmlToStates(t.ref,s,!S),A=Cr.create(Ir,M.length),E="",I=new Tr,H=0;H<M.length;H++){var z=M[H];A[H]=z;var W=this.prepareStateText(z.text);E+=W.toString();for(var G=0;G<W.length;G++)I.add(H);z.ts.textAlign==vr.StiTextHorAlignment.Width&&(z.ts.wordSpacing=0)}t.ref=E,F=Cr.create(Number,I.length);for(var H=0;H<F.length;H++)F[H]=I[H]}else{(A=Cr.create(Ir,1))[0]=s,F=Cr.create(Number,t.ref.length);for(var H=0;H<F.length;H++)F[H]=0}for(var j=new Tr,V=0;V<A.length;V++){var X=this.precisionModeEnabled?A[V].ts.fontSize*this.precisionModeFactor:A[V].ts.fontSize;A[V].fontIndex=this.getFontIndex(A[V].ts.fontName,X,A[V].ts.bold,A[V].ts.italic,A[V].ts.underline,A[V].ts.strikeout,A[V].ts.superscript||A[V].ts.subsript,j)}N=Cr.create(Rr,j.length);for(var q=0;q<N.length;q++)N[q]=j[q];for(var q=0;q<N.length;q++)N[q].fontScaled=null,N[q].hFontScaled=0,N[q].hScriptCache=0,N[q].hScriptCacheScaled=0,(1!=d||this.precisionModeEnabled)&&S&&(N[q].fontScaled=new Br(N[q].fontBase.fontFamily.name,N[q].fontBase.size*d,N[q].fontBase.style,N[q].fontBase.unit),N[q].hFontScaled=N[q].fontScaled.getHeight());try{try{for(var q=0;q<N.length;q++)N[q].lineHeight=N[q].fontBase.sizeInPoints*d*1.3,N[q].ascend=N[q].fontBase.sizeInPoints*d*1.1,N[q].descend=N[q].fontBase.sizeInPoints*d*.2,N[q].emValue=N[q].fontBase.sizeInPoints*d;for(var q=0,U;q<N.length;q++)N[q].hFont=N[q].fontBase.getHeight();try{(45<h&&h<135||225<h&&h<315)&&(U=P.width,P.width=P.height,P.height=U);var Y=-h*Math.PI/180;S&&this.compatibility2009;var J=new Tr,Z=0;while(Z<t.ref.length){var K=new kr;K.begin=Z;while(Z<t.ref.length&&"\r"!=t.ref[Z]&&"\n"!=t.ref[Z])Z++;K.end=Z;while(K.end>K.begin+1&&Nr.isWhitespace(t.ref[K.end-1]))K.end--;J.add(K),++Z<t.ref.length&&("\r"==t.ref[Z]||"\n"==t.ref[Z])&&t.ref[Z-1]!=t.ref[Z]&&Z++}0<A.length&&A[0].ts.indent<0&&0<J.length&&(J[0].indent=-A[0].ts.indent,null!=A[0].listLevels&&(A[0].ts.indent=A[0].listLevels.length));var Q=xr.measureString("…",N[0].fontBase).width*d,_=1,$=(P.height-N[0].lineHeight)/(N[0].lineHeight*a)+1,ee=Math.trunc($);p||(b?ee=J.length:ee++);for(var te=ee,re=new Tr,ie=0,oe=0;oe<J.length;oe++){var ne=J[oe],ae,se=(ae=t.ref.substr(ne.begin,ne.length)).length,le,ue=10*A[F[ne.begin]].ts.indent,ce=0,de=0,he=0<ue,me=!1,pe;if(0<ne.indent&&(de=ne.indent,ce=ne.indent,me=!0),0==se){(pe=new kr).begin+=ne.begin,re.add(pe),ie=re.length;continue}if(0<se){var fe=Cr.create(Number,se),Se=0,ge;while(Se<se){while(Se<se){if((ge=Nr.getUnicodeCategory(ae[Se]))==Ar.OpenPunctuation||ge==Ar.ClosePunctuation||ge==Ar.InitialQuotePunctuation||ge==Ar.FinalQuotePunctuation)break;Se++}if(Se<se){var ye=Se,be=Se,ge,ge,ge,ge,ge,ge,ge;if(Nr.getUnicodeCategory(ae[Se])==Ar.OpenPunctuation||Nr.getUnicodeCategory(ae[Se])==Ar.InitialQuotePunctuation){while(Se<se){if((ge=Nr.getUnicodeCategory(ae[Se]))!=Ar.OpenPunctuation&&ge!=Ar.InitialQuotePunctuation&&ge!=Ar.SpaceSeparator)break;Se++}if(Se<se&&Nr.getUnicodeCategory(ae[Se])!=Ar.ClosePunctuation&&Nr.getUnicodeCategory(ae[Se])!=Ar.FinalQuotePunctuation){while(Se<se){if((ge=Nr.getUnicodeCategory(ae[Se]))==Ar.SpaceSeparator||this.isWordWrapSymbol2(ae,Se)||this.isCJKWordWrap(ae,Se))break;Se++}while(Se<se){if((ge=Nr.getUnicodeCategory(ae[Se]))!=Ar.SpaceSeparator)break;Se++}Se<se&&Nr.getUnicodeCategory(ae[Se])==Ar.DashPunctuation&&Se++}if(Se<se&&(Nr.getUnicodeCategory(ae[Se])==Ar.ClosePunctuation||Nr.getUnicodeCategory(ae[Se])==Ar.FinalQuotePunctuation))while(Se<se){if((ge=Nr.getUnicodeCategory(ae[Se]))!=Ar.ClosePunctuation&&ge!=Ar.FinalQuotePunctuation&&ge!=Ar.OtherPunctuation&&ge!=Ar.SpaceSeparator)break;Se++}be=Se}else{Se--;while(0<=Se){if((ge=Nr.getUnicodeCategory(ae[Se]))!=Ar.SpaceSeparator)break;Se--}while(0<=Se){if((ge=Nr.getUnicodeCategory(ae[Se]))==Ar.SpaceSeparator||0!=fe[Se]||this.isCJKWordWrap(ae,Se))break;Se--}ye=Se+(this.isCJKWordWrap(ae,Se)?0:1),Se=be;while(Se<se){if((ge=Nr.getUnicodeCategory(ae[Se]))!=Ar.ClosePunctuation&&ge!=Ar.FinalQuotePunctuation&&ge!=Ar.OtherPunctuation&&ge!=Ar.SpaceSeparator)break;Se++}be=Se}while(ye<be&&Nr.getUnicodeCategory(ae[be-1])==Ar.SpaceSeparator)be--;fe[ye]=2;for(var ve=ye+1;ve<be;ve++)fe[ve]=1}}for(var Ce=!1,we=0;we<se;we++)if("‑"==ae[we]||" "==ae[we]){Ce=!0,fe[we]=1;var Te=we,De=!0;while(0<Te&&Nr.isLetterOrDigit(ae[Te-1])){if(0!=fe[--Te]){De=!1;break}fe[Te]=1}De&&(fe[Te]=2),Te=we;while(Te+1<se&&(Nr.isLetterOrDigit(ae[Te+1])||"‑"==ae[Te+1]||" "==ae[Te+1]))fe[++Te]=1;we=Te}Ce&&(ae=ae.stimulsoft.replaceAll("‑","-"));for(var we=0;we<se;we++)if(this.isNotWordWrapSymbol(ae,we))if(0<we&&this.isNotWordWrapSymbol2(ae,we-1)){fe[we]=1;var Te=we;if(!this.isWordWrapSymbol2(ae,Te)&&!this.isCJKSymbol(ae,Te)){Te++;while(Te<ae.length&&Nr.isLetterOrDigit(ae[Te])&&!this.isCJKSymbol(ae,Te)){if(0!=fe[Te])break;fe[Te]=1,Te++}}Te=we;var De=!1,Pe=!0;while(0<Te&&this.isNotWordWrapSymbol2(ae,Te-1)&&!this.isWordWrapSymbol2(ae,Te-1)&&Pe){if(De=!0,0!=fe[--Te]){De=!1;break}fe[Te]=1,Pe=!this.isCJKSymbol(ae,Te)}De&&(fe[Te]=2)}else if(we<ae.length-1&&this.isNotWordWrapSymbol2(ae,we+1)){var De=0==fe[we],Te=we;if(!this.isWordWrapSymbol2(ae,Te)){Te++;while(Te<ae.length&&Nr.isLetterOrDigit(ae[Te])){if(0!=fe[Te])break;fe[Te]=1,Te++}}De&&(fe[we]=2)}var xe=Cr.create(Number,se),Be=null,Le=1;(Be=Cr.create(Fr,Le+1,!0))[1].iCharPos=ae.length;for(var Ne=new Tr(Be),Ae=Be.length-2,Fe;0<Ae;Ae--){var Re=Be[Ae].iCharPos;(Re==Be[Ae+1].iCharPos-1&&"-"==ae[Re]&&Nr.isLetter(ae,Re-1)||Nr.isDigit(ae,Re)&&Nr.isLetter(ae,Re-1))&&Ne.removeAt(Ae)}if(Ne.length<Be.length){Be=Cr.create(Fr,Ne.length,!0);for(var ke=0;ke<Ne.length;ke++)Be[ke]=Ne[ke].clone();Le=Be.length-1}Ne.clear(),(Fe=new Tr).add(Be[0].clone());for(var Oe=0,we=0,Me,Me;we<se;we++){if(we==Be[Oe+1].iCharPos){Oe++,Fe.add(Be[Oe].clone());continue}if(2==fe[we]&&0!=we){(Me=Be[Oe].clone()).iCharPos=we,Fe.add(Me);continue}if(0<we&&F[ne.begin+we]!=F[ne.begin+we-1]){(Me=Be[Oe].clone()).iCharPos=we,Fe.add(Me);continue}}Fe.add(Be[Le].clone()),Be=Cr.create(Fr,Fe.length,!0);for(var Ee=0,Ie;Ee<Fe.length;Ee++)Be[Ee]=Fe[Ee].clone();Le=Fe.length-1,(Ie=2*se)<20&&(Ie=20);for(var He=0,ze=0,We=0,Ge=0,je=-1,Ee=0,pe;Ee<Le;Ee++){var Ve=Cr.create(Number,Ie),Xe=Cr.create(Number,se),qe=Cr.create(Number,Ie),Ue=void 0,Ye=Be[Ee].iCharPos,Je=Be[Ee+1].iCharPos-Ye,Ze=ae.substr(Ye,Je),R,Ke=N[A[R=F[ne.begin+Ye]].fontIndex];2==fe[Ye]&&Ee!=Ge&&(We=Ee),Ue=Je;for(var Qe=0;Qe<Ue;Qe++)Xe[Qe]=Qe;for(var H=0,_e;H<Ze.length;H++){var $e=xr.measureString(Ze[H],Ke.fontBase);qe[H]=$e.width}if(this.correctionEnabled&&!this.compatibility2009)if(0<(_e=this.getFontWidth(Ke)).length)for(var et=this.maxFontSize/Ke.emValue,tt=0,rt;tt<Ue;tt++){if(0==qe[tt])continue;(rt=Ve[tt])>=_e.length&&(rt=_e.length-1);var it=_e[rt]/et,ot,nt;qe[tt]<it-.4?(ot=Math.round(it),qe[tt]>=ot&&ot++,qe[tt]=ot):(nt=qe[tt]/it,1<qe[tt]-it&&1.1<nt&&(qe[tt]=Math.ceil(it)))}if(0!=A[R].ts.letterSpacing)for(var at=1.35*Ke.emValue*A[R].ts.letterSpacing,st=0,lt=0,tt=0,ut;tt<Ue;tt++){lt+=qe[tt]+at,st+=ut=Math.trunc(lt-st),qe[tt]=ut}if(0!=A[R].ts.wordSpacing)for(var ct=Ke.emValue*A[R].ts.wordSpacing,st=0,lt=0,we=0,ut;we<Je;we++){Nr.isWhitespace(Ze[we])&&(lt+=qe[Xe[we]]+ct,st+=ut=Math.trunc(lt-st),qe[Xe[we]]+=ut)}for(var dt=0,we=0;we<Je;we++){""==Ze[we]&&(je=qe[we],qe[we]=0);var ht=0;if("\t"==Ze[we])ht=this.getTabsWidth(w,_,He+dt);else{var mt=Xe[we];while(we<Je-1&&Xe[we+1]==mt)we++;var pt=mt,ft=mt;ft=we+1<Je?Xe[we+1]:Ue;for(var tt=pt;tt<ft;tt++)ht+=qe[tt]}dt+=ht,xe[Ye+we]=ht,he&&Ye+we+1==ue&&!me&&(ce=He+dt)}var St=Number.MAX_VALUE,gt=!1;if(m!=Lr.None?(St=P.width,u&&re.length+1!=te||(gt=!0),m!=Lr.EllipsisCharacter&&m!=Lr.EllipsisWord||gt&&(St=P.width-Q)):u&&(St=P.width-de),Math.round2((He+dt)*d,this.precisionDigits)<=St)He+=dt;else{for(var yt=0,bt=0,vt=0,Ct=0,we=0,wt;we<Je;we++){"\t"==Ze[we]&&(wt=this.getTabsWidth(w,_,He+yt),xe[Ye+we]=wt);var mt=Xe[we],Tt;while(we<Je-1&&Xe[we+1]==mt)we++;if(yt+=xe[Ye+we],Math.round2((He+bt)*d),this.precisionDigits>St){if(gt){m!=Lr.Character&&m!=Lr.EllipsisCharacter||0==(se=Ye+we)&&se++,m!=Lr.Word&&m!=Lr.EllipsisWord||(0==(se=Ye+vt)&&(se=Ye+we),0==se&&se++),Ee=Le,ze<se&&((Tt=new kr).begin=ze,Tt.end=se,Tt.needWidthAlign=!1,m!=Lr.EllipsisCharacter&&m!=Lr.EllipsisWord||(Tt.text=ae.substr(Tt.begin,Tt.length)+"…"),re.add(Tt),ze=se);break}var Tt=!1,pe;if(1==fe[Ye+we]){var Dt=Ye+we-1;while(1==fe[Dt])Dt--;Dt==ze&&(Tt=!0)}vt==Ct&&0==He||Tt?(0!=(Ct=we)||Tt||Ct++,Ye+Ct-ze==0&&Ct++,0<Ct&&""==Ze[Ct-1]&&Ct--):Ct=vt,(pe=new kr).begin=ze,pe.end=Ye+Ct,pe.needWidthAlign=!0,re.add(pe),me&&(pe.indent=ce),0<pe.end-1&&""==t.ref[pe.end-1]&&0<=je&&(xe[pe.end-1]=je),de=ce,me=!0;while(pe.end>pe.begin+1&&Nr.isWhitespace(ae[pe.end-1]))pe.end--;while(Ct<Je-1&&(Nr.isWhitespace(ae[Ye+Ct])||""==ae[Ye+Ct]))Ct++;if(He=bt=yt=0,we=(vt=Ct)-1,(ze=Ye+Ct)<se&&1==fe[ze]&&0!=We){ze=Be[We].iCharPos,pe.end=ze,Ee=We-1,Ge=We,We=0;while(pe.end>pe.begin+1&&Nr.isWhitespace(ae[pe.end-1]))pe.end--;break}Ge=We=0}}He+=yt}}ze<se&&((pe=new kr).begin=ze,pe.end=se,pe.needWidthAlign=!1,(m==Lr.EllipsisCharacter||m==Lr.EllipsisWord)&&re.length+1==te&&oe+1<J.length&&(pe.text=ae.substr(pe.begin,pe.length)+"…"),me&&(pe.indent=ce),re.add(pe));for(var Pt=ie;Pt<re.length;Pt++){for(var xt=re[Pt],Bt=0,Lt=0,we=xt.begin,Nt;we<xt.end;we++){Bt+=xe[we];var At=t.ref[ne.begin+we];Nr.isWhitespace(At)&&" "!=At&&Lt++}null!=xt.text&&(Bt+=Q),xt.width=Math.trunc(Bt*d),xt.begin+=ne.begin,0<Lt&&(0<(Nt=(P.width-xt.width-xt.indent)/Lt)?xt.justifyOffset=Nt:xt.needWidthAlign=!1)}ie=re.length}}J=re,p||m!=Lr.None||(te=J.length);for(var Ft=0,Rt=0,ee=0,oe=0,kt,U;oe<J.length;oe++){Ft<(kt=J[oe]).width&&(Ft=kt.width);for(var Ot=A[F[kt.begin]].fontIndex,we=kt.begin+1;we<kt.end;we++){var Mt=A[F[we]].fontIndex;N[Ot].fontBase.size<N[Mt].fontBase.size&&(Ot=Mt)}kt.indexOfMaxFont=Ot;var Et=1,It,Ht;oe!=J.length-1&&(0<(Ht=J[oe+1].begin)&&Ht--,Et=A[F[Ht]].ts.lineHeight),kt.lineHeight=N[Ot].lineHeight*Et,((Rt+=kt.lineHeight)<D.height||Rt-kt.lineHeight+N[Ot].lineHeight<D.height)&&ee++,kt.textAlignment=A[F[kt.end-(0<kt.length?1:0)]].ts.textAlign}if(p&&(te=ee),f.ref.width=Ft,f.ref.height=Math.round(Rt),0==J.length&&(f.ref.height=0),this.optimizeBottomMargin?1==J.length?f.ref.height+=.07*N[0].lineHeight:2==J.length?f.ref.height+=.085*N[0].lineHeight:2<J.length&&(f.ref.height+=.1*N[0].lineHeight):(1==J.length&&(f.ref.height+=.1*N[0].lineHeight),1<J.length&&(f.ref.height+=.4*N[0].lineHeight)),45<h&&h<135||225<h&&h<315?(U=f.ref.width,f.ref.width=f.ref.height,f.ref.height=U,f.ref.height>D.height&&u&&(f.ref.height=D.height),f.ref.width>D.width&&(f.ref.width=D.width)):(f.ref.width>D.width&&u&&(f.ref.width=D.width),f.ref.height>D.height&&(f.ref.height=D.height)),f.ref.width+=3*d,null!=g)for(var H=0,kt,ae;H<J.length;H++){null==(ae=(kt=J[H]).text)&&(ae=t.ref.substr(kt.begin,kt.length));var zt=0<ae.length&&""==ae[ae.length-1];ae=ae.stimulsoft.replaceAll("","")+(zt?"-":""),0<kt.indent&&(ae=this.getIndentString(kt.indent)+ae),g.add(ae),null!=y&&y.add(kt)}if(S){this.compatibility2009;var Wt=J.length;te<Wt&&(Wt=te);for(var Gt=0,jt=0,oe=0;oe<Wt;oe++)jt+=J[oe].lineHeight;jt=Math.trunc(jt);var Vt=l;switch(0!=h&&90!=h&&180!=h&&270!=h&&(Vt=vr.StiVertAlignment.Center),Vt){case vr.StiVertAlignment.Center:Gt+=(P.height-jt)/2;break;case vr.StiVertAlignment.Bottom:Gt+=P.height-jt;break}for(var Xt=Gt,oe=0;oe<Wt;oe++){var qt=J[oe];if(0<qt.length){var ae=t.ref.substr(qt.begin,qt.length);null!=qt.text&&(ae=qt.text),-1!=ae.indexOf("‑")&&(ae=ae.stimulsoft.replaceAll("‑","-")),ae=ae.substr(0,ae.length-1).stimulsoft.replaceAll("","")+ae[ae.length-1];var Ut=qt.indent*d,Yt=qt.width,Jt=qt.textAlignment;switch(c&&(qt.textAlignment==vr.StiTextHorAlignment.Left&&(Jt=vr.StiTextHorAlignment.Right),qt.textAlignment==vr.StiTextHorAlignment.Right&&(Jt=vr.StiTextHorAlignment.Left)),k&&oe==J.length-1&&(qt.needWidthAlign=!0),Jt!=vr.StiTextHorAlignment.Width||qt.needWidthAlign||(Jt=c?vr.StiTextHorAlignment.Right:vr.StiTextHorAlignment.Left),Jt){case vr.StiTextHorAlignment.Center:Ut+=(P.width-Yt)/2;break;case vr.StiTextHorAlignment.Right:Ut+=P.width-Yt;break}var Be=void 0,Le=1;(Be=Cr.create(Fr,Le+1,!0))[1].iCharPos=ae.length;var Zt=Le,Fe;(Fe=new Tr).add(Be[0].clone());for(var Oe=0,we=0,Me;we<ae.length;we++){if(we==Be[Oe+1].iCharPos){Oe++,Fe.add(Be[Oe].clone());continue}if(0<we&&F[qt.begin+we]!=F[qt.begin+we-1]){(Me=Be[Oe].clone()).iCharPos=we,Fe.add(Me);continue}}Fe.add(Be[Le].clone()),Be=Cr.create(Fr,Fe.length,!0);for(var Ee=0,se,Ie;Ee<Fe.length;Ee++)Be[Ee]=Fe[Ee].clone();Le=Fe.length-1,(Ie=2*(se=ae.length))<20&&(Ie=20);for(var He=0,Kt=Ut,Ee=0;Ee<Le;Ee++){var Ve=Cr.create(Number,Ie),Xe=Cr.create(Number,se),qe=Cr.create(Number,Ie),Ue=void 0,Qt,Ye=Be[Ee].iCharPos,Je=Be[Ee+1].iCharPos-Ye,Ze=ae.substr(Ye,Je),Ke,_t=0!=(Ke=N[A[R=F[qt.begin+Ye]].fontIndex]).hFontScaled,$t=Xt,er;A[R].ts.superscript||A[R].ts.subsript?(er=N[Ke.parentFontIndex],$t+=N[qt.indexOfMaxFont].ascend-er.ascend,A[R].ts.subsript&&($t+=er.lineHeight-(Ke.ascend+Ke.descend))):$t+=N[qt.indexOfMaxFont].ascend-Ke.ascend;var er=_t?Ke.hScriptCacheScaled:Ke.hScriptCache;Ue=Je;for(var Qe=0;Qe<Ue;Qe++)Xe[Qe]=Qe;var tr=0;if(_t){for(var H=0,_e;H<Ze.length;H++){var $e=xr.measureString(Ze[H],Ke.fontBase);qe[H]=$e.width}if(this.correctionEnabled&&!this.compatibility2009)if(0<(_e=this.getFontWidth(Ke)).length)for(var et=this.maxFontSize/Ke.emValue,tt=0,rt;tt<Ue;tt++){if(0==qe[tt])continue;(rt=Ve[tt])>=_e.length&&(rt=_e.length-1);var it=_e[rt]/et,ot,nt;qe[tt]<it-.4?(ot=Math.round(it),qe[tt]>=ot&&ot++,qe[tt]=ot):(nt=qe[tt]/it,1<qe[tt]-it&&1.1<nt&&(qe[tt]=Math.ceil(it)))}for(var tt=0;tt<Ue;tt++)tr+=qe[tt]}for(var H=0,_e;H<Ze.length;H++){var $e=xr.measureString(Ze[H],Ke.fontBase);qe[H]=$e.width}if(this.correctionEnabled&&!this.compatibility2009)if(0<(_e=this.getFontWidth(Ke)).length)for(var et=this.maxFontSize/Ke.emValue/d,tt=0,rt;tt<Ue;tt++){if(0==qe[tt])continue;(rt=Ve[tt])>=_e.length&&(rt=_e.length-1);var it=_e[rt]/et,ot,nt;qe[tt]<it-.4?(ot=Math.round(it),qe[tt]>=ot&&ot++,qe[tt]=ot):(nt=qe[tt]/it,1<qe[tt]-it&&1.1<nt&&(qe[tt]=Math.ceil(it)))}if(_t){for(var rr=0,tt=0;tt<Ue;tt++)rr+=qe[tt];if(0<rr)for(var ir=tr*d/rr,st=0,lt=0,tt=0,ut;tt<Ue;tt++){lt+=qe[tt]*ir,st+=ut=Math.trunc(lt-st),qe[tt]=ut}}var or=null;if(null!=v){or=Cr.create(Number,Ue);for(var we=0;we<Ue;we++)or[we]=qe[we]}var nr=0;if(0!=A[R].ts.letterSpacing){for(var at=1.35*Ke.emValue*A[R].ts.letterSpacing*d,st=0,lt=0,tt=0,ut;tt<Ue;tt++){lt+=qe[tt]+at,st+=ut=Math.trunc(lt-st),qe[tt]=ut}nr+=at*Ue}if(0!=A[R].ts.wordSpacing)for(var ct=Ke.emValue*A[R].ts.wordSpacing*d,st=0,lt=0,we=0,ut;we<Je;we++){Nr.isWhitespace(Ze[we])&&(lt+=qe[Xe[we]]+ct,st+=ut=Math.trunc(lt-st),qe[Xe[we]]+=ut,nr+=ct)}for(var dt=0,ar=!0,we=0;we<Je;we++){var ht=0;if("\t"==Ze[we]){var sr=this.getTabsWidth(w,_*d,He+dt);ht=sr,tr+=Math.trunc(sr/d)}else{var mt=Xe[we];while(we<Je-1&&Xe[we+1]==mt)we++,ar=!1;var pt=mt,ft=mt;ft=we+1<Je?Xe[we+1]:Ue;for(var tt=pt;tt<ft;tt++)ht+=qe[tt];1<ft-pt&&(ar=!1)}dt+=ht}var lr=0,ur=0;if(Jt==vr.StiTextHorAlignment.Width)for(var we=0,cr;we<Je;we++){Nr.isWhitespace(Ze[we])&&" "!=Ze[we]&&(ur+=qt.justifyOffset,lr+=cr=Math.trunc(ur-lr),qe[Xe[we]]+=cr)}if(ar||null!=v){var dr=new Or;dr.text=Ze,dr.xPos=Kt,dr.yPos=$t,dr.widths=Cr.create(Number,Je);for(var we=0;we<Je;we++){var hr=we,mt=Xe[we];while(we<Je-1&&Xe[we+1]==mt)we++;var pt=mt,ft=mt;if(ft=we+1<Je?Xe[we+1]:Ue,hr!=we||1<ft-pt){for(var ht=0,tt=pt;tt<ft;tt++)ht+=qe[tt];if(we!=hr){for(var mr=we-hr+1,pr=ht/mr,fr=0,Sr=0,gr=0;gr<mr-1;gr++){fr+=pr;var yr=Math.trunc(Math.round(fr)-Sr);Sr+=yr,dr.widths[hr+gr]=yr}dr.widths[we]=ht-Sr}else dr.widths[we]=ht}else dr.widths[we]=qe[pt]}null==or&&(or=Cr.create(Number,Ue)),dr.glyphIndexList=Cr.create(Number,Ue),dr.glyphWidths=Cr.create(Number,Ue),dr.scaleList=Cr.create(Number,Ue);for(var tt=0;tt<Ue;tt++)dr.glyphIndexList[tt]=Ve[tt],dr.glyphWidths[tt]=qe[tt],dr.scaleList[tt]=1,0!=or[tt]&&(dr.scaleList[tt]=qe[tt]/or[tt]);dr.textColor=A[R].ts.fontColor,dr.backColor=A[R].ts.backColor,dr.fontIndex=A[R].fontIndex,dr.href=A[R].ts.href,L.add(dr)}_t?Ke.hScriptCacheScaled!=er&&(Ke.hScriptCacheScaled=er):Ke.hScriptCache!=er&&(Ke.hScriptCache=er),Kt+=_t?tr*d+ur+nr:dt+ur,He+=dt}}Xt+=qt.lineHeight}}if(!S&&J.length>te)if(k=0<te&&J[te-1].needWidthAlign,b){var kt,$=F[(kt=J[te]).begin],z=A[$],br=kt.begin;while(0<br&&F[br-1]==F[br])br--;var U=kt.begin-br,Vt=this.prepareStateText(z.text).toString(),Gt,Gt,x;x=0<te?(Gt=null,Gt=0<$&&A[$-1].ts.tag.tag==Mr.ListItem&&z.ts.tag.tag==Mr.ListItem?null==A[$-1].listLevels||null==z.listLevels||A[$-1].listLevels.length==z.listLevels.length?"<li>"+Vt.substr(0,U):(0<z.listLevels[z.listLevels.length-1]?"<ol>":"<ul>")+Vt.substr(0,U):this.stateToHtml(z,z,Vt.substr(0,U),kt.indent),O.substr(0,z.posBegin)+(0<U?Gt:"")+(k?this.StiForceWidthAlignTag:"")):"";var Ht=F[kt.begin]+1,B=this.stateToHtml(z,z.ts.tag.tag==Mr.ListItem||z.ts.tag.tag==Mr.P?A[Ht]:z,Vt.substr(U),kt.indent);z.ts.tag.tag==Mr.ListItem&&Ht<A.length&&(B+=A[Ht].text,Ht++),Ht<A.length&&(B+=O.substr(A[Ht].posBegin))}else{var kt=null;x=0<te?(kt=J[te-1],t.ref.substr(0,kt.end)+(k?this.StiForceWidthAlignTag:"")):"",kt=J[te],B=t.ref.substr(kt.begin)}}catch(e){}finally{for(var q=0;q<N.length;q++);}}catch(e){}finally{}0<L.length&&null!=v&&(v.clear(),v.addRange(L),C.clear(),C.addRange(N))}catch(e){}finally{for(var q=0;q<N.length;q++)N[q].hFontScaled}}return t.ref=B,x},u.getFontWidth=function(e){var t=e.fontNameReal+(e.fontBase.bold?",bold":"")+(e.fontBase.italic?",italic":"");null==this.hashFonts&&(this.hashFonts=new m);var r=this.hashFonts.get(t);if(null==r){try{r=this.getFontWidth2(e.fontBase)}catch(e){r=[0]}this.hashFonts.set(t,r)}return r},u.getFontWidth2=function(e){for(var t=[],r=new Br(e.name,this.maxFontSize,e.style),i=[],o=0;o<65536-1;o++)i[o]=o;return t},u.isWordWrapSymbol2=function(e,t){var t=e[t];return"!"==t||"%"==t||")"==t||"}"==t||"-"==t||"?"==t||")"==t||":"==t||"、"==t||","==t||"。"==t},u.isNotWordWrapSymbol=function(e,t){var r=Nr.getUnicodeCategory(e[t]),r=r==Ar.OtherPunctuation||r==Ar.MathSymbol||r==Ar.CurrencySymbol;return 0<t&&this.isWordWrapSymbol2(e,t-1)&&(r=!1),r},u.isNotWordWrapSymbol2=function(e,t){var r=Nr.getUnicodeCategory(e[t]),i;return r==Ar.OtherPunctuation||r==Ar.MathSymbol||r==Ar.CurrencySymbol||Nr.isLetterOrDigit(e[t])},u.isCJKWordWrap=function(e,t){if(0<t&&this.isCJKSymbol(e,t))return this.isCJKSymbol(e,t-1);return!1},u.isCJKSymbol=function(e,t){var t=e.charCodeAt(t);return 19968<=t&&t<=40908||13312<=t&&t<=19893},u.precisionDigits=5,u.defaultParagraphLineHeight=.7,u.precisionModeFactor=4,u.precisionModeEnabled=!1,u.correctionEnabled=!0,u.maxFontSize=1024,u.compatibility2009=!1,u.optimizeBottomMargin=!0,u.htmlNameToColor=null,u.interpreteFontSizeInHtmlTagsAsInHtml=!1,u._htmlEscapeSequence=null,u.bulletBlack="•",u.bulletWhite="◦",u.StiForceWidthAlignTag="<forcewidth>",u);function u(){}vr.StiTextRenderer=e;var Rr=(Object.defineProperty(r.prototype,"fontNameReal",{get:function(){return null!=this._fontNameReal?this._fontNameReal:this._fontNameReal=this.fontBase.name},enumerable:!1,configurable:!0}),r);function r(){this.elipsisWidth=0,this._fontNameReal=null}vr.StiFontState=Rr;var kr=(Object.defineProperty(i.prototype,"end",{get:function(){return this.begin+this.length},set:function(e){this.length=e-this.begin},enumerable:!1,configurable:!0}),i);function i(){this.begin=0,this.length=0,this.needWidthAlign=!1,this.width=0,this.justifyOffset=0,this.indexOfMaxFont=0,this.lineHeight=0,this.textAlignment=vr.StiTextHorAlignment.Left,this.indent=0}vr.LineInfo=kr;var Or=o,Mr,e,w,e;function o(){}vr.RunInfo=Or,(e=Mr=vr.StiHtmlTag||(vr.StiHtmlTag={}))[e["None"]=0]="None",e[e["B"]=1]="B",e[e["I"]=2]="I",e[e["U"]=3]="U",e[e["S"]=4]="S",e[e["Sup"]=5]="Sup",e[e["Sub"]=6]="Sub",e[e["Font"]=7]="Font",e[e["FontName"]=8]="FontName",e[e["FontSize"]=9]="FontSize",e[e["FontColor"]=10]="FontColor",e[e["Backcolor"]=11]="Backcolor",e[e["LetterSpacing"]=12]="LetterSpacing",e[e["WordSpacing"]=13]="WordSpacing",e[e["LineHeight"]=14]="LineHeight",e[e["TextAlign"]=15]="TextAlign",e[e["P"]=16]="P",e[e["Br"]=17]="Br",e[e["OrderedList"]=18]="OrderedList",e[e["UnorderedList"]=19]="UnorderedList",e[e["ListItem"]=20]="ListItem",e[e["A"]=21]="A",e[e["Unknown"]=22]="Unknown",(e=w=vr.StiHtmlTag2State||(vr.StiHtmlTag2State={}))[e["Start"]=0]="Start",e[e["End"]=1]="End",e[e["Empty"]=2]="Empty";var T=(Object.defineProperty(n.prototype,"isStart",{get:function(){return this.state==w.Start},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"isEnd",{get:function(){return this.state==w.End},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"isEmpty",{get:function(){return this.state==w.Empty},enumerable:!1,configurable:!0}),n.prototype.isStartTag=function(e){return this.tag==e&&this.state==w.Start},n.prototype.isEndTag=function(e){return this.tag==e&&this.state==w.End},n.prototype.equals=function(e){if(this.tag!=e.tag)return!1;if(this.tag==Mr.Unknown)return this.tagName==e.tagName;return!0},n.prototype.toString=function(){return this.tag==Mr.Unknown?"'"+this.tagName+"'":this.tag.toString()},n);function n(e,t){void 0===e&&(e=Mr.None),void 0===t&&(t=w.Start),this.tag=e,this.state=t}vr.StiHtmlTag2=T;var Er=(f.prototype.clone=function(){var e=new f(!0);return e.bold=this.bold,e.italic=this.italic,e.underline=this.underline,e.strikeout=this.strikeout,e.fontSize=this.fontSize,e.fontName=this.fontName,e.fontColor=this.fontColor,e.backColor=this.backColor,e.subsript=this.subsript,e.superscript=this.superscript,e.letterSpacing=this.letterSpacing,e.wordSpacing=this.wordSpacing,e.lineHeight=this.lineHeight,e.textAlign=this.textAlign,e.isColorChanged=this.isColorChanged,e.isBackcolorChanged=this.isBackcolorChanged,e.tag=this.tag,e.indent=this.indent,e.htmlStyle=this.htmlStyle,e.href=this.href,e.styleAttributes=this.styleAttributes,e},f.prototype.getStyleAttribute=function(e){if(null!=this.styleAttributes)return this.styleAttributes.get(e);return null},f);function f(e,t,r,i,o,n,a,s,l,u,c,d,h,m){var p;e.stimulsoft.is(f)?(p=e.stimulsoft.as(f),this.bold=p.bold,this.italic=p.italic,this.underline=p.underline,this.strikeout=p.strikeout,this.fontSize=p.fontSize,this.fontName=p.fontName,this.fontColor=p.fontColor,this.backColor=p.backColor,this.subsript=p.subsript,this.superscript=p.superscript,this.letterSpacing=p.letterSpacing,this.wordSpacing=p.wordSpacing,this.lineHeight=p.lineHeight,this.textAlign=p.textAlign,this.isColorChanged=p.isColorChanged,this.isBackcolorChanged=p.isBackcolorChanged,this.tag=p.tag,this.indent=p.indent,this.htmlStyle="",this.href=p.href,this.styleAttributes=p.styleAttributes):(this.bold=e,this.italic=t,this.underline=r,this.strikeout=i,this.fontSize=o,this.fontName=n,this.fontColor=a,this.backColor=s,this.subsript=u,this.superscript=l,this.letterSpacing=c,this.wordSpacing=d,this.lineHeight=h,this.textAlign=m,this.isColorChanged=!1,this.isBackcolorChanged=!1,this.tag=new T,this.indent=0,this.htmlStyle="",this.href=null,this.styleAttributes=null)}vr.StiHtmlTagsState=Er;var Ir=(l.prototype.clone=function(){var e=new l(this.ts);return e.ts=this.ts.clone(),e.text=new b(this.text.toString()),e.fontIndex=this.fontIndex,e.posBegin=this.posBegin,e.tagsStack=this.tagsStack,e.listLevels=this.listLevels,e},l.prototype.toString=function(){return'"'+this.text.toString().stimulsoft.replaceAll("\n","\\n")+'" '+(this.ts.tag.tag==Mr.None?"":this.ts.tag.toString())},l);function l(e,t){var e;"string"==typeof e?(this.ts=new Er(!1),this.ts.tag=new T,this.text=new b(e),this.fontIndex=0,this.posBegin=0,this.tagsStack=null,this.listLevels=null):e.stimulsoft.is(Er)?(this.ts=e.stimulsoft.as(Er),this.text=new b,this.fontIndex=0,this.posBegin=t,this.tagsStack=null,this.listLevels=null):(e=e.stimulsoft.as(l),this.ts=new Er(e.ts),this.text=new b,this.fontIndex=0,this.posBegin=e.posBegin,this.tagsStack=null,this.listLevels=e.listLevels,this.ts.indent<0&&(null!=this.listLevels?this.ts.indent=this.listLevels.length:this.ts.indent=0))}vr.StiHtmlState=Ir;var c=d;function d(){}vr.TagPair=c}(r=t.Drawing||(t.Drawing={}))}(Stimulsoft=Stimulsoft||{}),function(e){var t,r,i,e,o;r=t=e.Base||(e.Base={}),(e=i=r.StiPlanIdent||(r.StiPlanIdent={}))[e["OnlineTrial"]=100]="OnlineTrial",e[e["OnlineStandard"]=101]="OnlineStandard",e[e["ServerTrial"]=200]="ServerTrial",e[e["ServerTeam5"]=201]="ServerTeam5",e[e["ServerTeam10"]=202]="ServerTeam10",e[e["ServerTeam25"]=203]="ServerTeam25",e[e["ServerTeam50"]=204]="ServerTeam50",e[e["ServerBusiness"]=205]="ServerBusiness",e[e["ServerEnterprise"]=206]="ServerEnterprise",e[e["ServerWorldWide"]=207]="ServerWorldWide",e[e["Test"]=300]="Test",(r=o=r.StiPlanFeatureIdent||(r.StiPlanFeatureIdent={}))[r["Cycles"]=1]="Cycles"}(Stimulsoft=Stimulsoft||{}),function(a){var e,t,r;t=e=a.Base||(a.Base={}),function(e){var f=a.System.StiString,S=a.System.DateTime,g=a.System.TimeSpan,y,t;(t=y=e.DateTimeFormat||(e.DateTimeFormat={}))[t["USA_DATE"]=0]="USA_DATE",t[t["UK_DATE"]=1]="UK_DATE";var b=r;function r(e,t,r,i,o,n){var e;this.indexOfDate=e,this.lengthOfDate=t,this.indexOfTime=r,this.lengthOfTime=i,this.dateTime=o,this.isDateFound=-1<e,this.isTimeFound=-1<r,null==n?(this.utcOffset=new g(25,0,0),this.isUtcOffsetFound=!1,this.utcDateTime=new S(1,1,1,0,0,0,0)):(this.utcOffset=n,this.isUtcOffsetFound=Math.abs(n.totalHours)<12,this.isUtcOffsetFound?e<0?(e=o.timeOfDay.ticks+n.ticks,this.utcDateTime=new S(1,1,e<0?2:1,0,0,0,0).addTicks(e)):this.utcDateTime=o.addTicks(n.ticks):this.utcDateTime=new S(1,1,1,0,0,0,0))}e.ParsedDateTime=b;var t=(Object.defineProperty(i,"defaultDate",{get:function(){return this.defaultDateIsNow?S.now:this._defaultDate},set:function(e){this._defaultDate=e,this.defaultDateIsNow=!1},enumerable:!1,configurable:!0}),i.tryParseDateTime=function(e,t,r){var i={ref:null};if(this.tryParseDateTime2(e,t,i))return r.ref=i.ref.dateTime,!0;return r.ref=new S(1,1,1,0,0,0,0),!1},i.tryParseDateTime2=function(e,t,r){if(this.tryParseDateOrTime2(e,t,r))return!0;return!(r.ref=null)},i.tryParseDateOrTime2=function(e,t,r){var i=null,o={ref:null},n={ref:null},a,a,i;if(this.tryParseDate2(e,t,o)){i=this.tryParseTime2(e,t,n,o.ref)?(a=new S(o.ref.dateTime.year,o.ref.dateTime.month,o.ref.dateTime.day,n.ref.dateTime.hour,n.ref.dateTime.minute,n.ref.dateTime.second,0),new b(o.ref.indexOfDate,o.ref.lengthOfDate,n.ref.indexOfTime,n.ref.lengthOfTime,a,n.ref.utcOffset)):(a=new S(o.ref.dateTime.year,o.ref.dateTime.month,o.ref.dateTime.day,0,0,0,0),new b(o.ref.indexOfDate,o.ref.lengthOfDate,-1,-1,a))}else{if(!this.tryParseTime2(e,t,n,null))return!1;var a=new S(this.defaultDate.year,this.defaultDate.month,this.defaultDate.day,n.ref.dateTime.hour,n.ref.dateTime.minute,n.ref.dateTime.second,0);i=new b(-1,-1,n.ref.indexOfTime,n.ref.lengthOfTime,a,n.ref.utcOffset)}return r.ref=i,!0},i.tryParseTime2=function(e,t,r,i){r.ref=null;var o=t==y.USA_DATE?"(?:\\s*(UTC|GMT|CST|EST))?":"(?:\\s*(UTC|GMT))?",n,a,s=null,l=null,u=null,c=null,d=null,h=null,m=null,t=null;if(null!=i&&-1<i.indexOfDate?(n=new RegExp("(\\d{2})\\s*:\\s*(\\d{2})\\s*:\\s*(\\d{2})\\s+([\\+\\-])(\\d{2}):?(\\d{2})(?=$|[^\\d\\w])",""),null!=(a=e.substr(i.indexOfDate+i.lengthOfDate).match(n))&&(s=a[1],l=a[2],u=a[3],d=a[5],h=a[6],t=a[4]),null==a&&(n=new RegExp("(\\d{1,2})\\s*:\\s*(\\d{2})\\s*(?::\\s*(\\d{2}))?(?:\\s*(AM|am|PM|pm))?"+o+"(?=$|[^\\d\\w])",""),null!=(a=e.substr(i.indexOfDate+i.lengthOfDate).match(n))&&(s=a[1],l=a[2],u=a[3],c=a[4],m=a[5])),null==a&&(n=new RegExp("(\\d{1,2})\\s*:\\s*(\\d{2})\\s*(?::\\s*(\\d{2}))?(?:\\s*(AM|am|PM|pm))?"+o+"(?=$|[\\s,]+)",""),null!=(a=e.substr(0,i.indexOfDate).match(n))&&(s=a[1],l=a[2],u=a[3],c=a[4],m=a[5])),null==a&&(n=new RegExp("(\\d{1,2})\\s*:\\s*(\\d{2})\\s*(?::\\s*(\\d{2}))?(?:\\s*(AM|am|PM|pm))?"+o+"(?=$|[\\s,]+)",""),null!=(a=e.substr(i.indexOfDate,i.lengthOfDate).match(n))&&(s=a[1],l=a[2],u=a[3],c=a[4],m=a[5]))):(n=new RegExp("(\\d{2})\\s*:\\s*(\\d{2})\\s*:\\s*(\\d{2})\\s+([\\+\\-])(\\d{2}):?(\\d{2})?(?=$|[^\\d\\w])",""),null!=(a=e.match(n))&&(s=a[1],l=a[2],u=a[3],d=a[5],h=a[6],t=a[4]),null==a&&(n=new RegExp("(\\d{1,2})\\s*:\\s*(\\d{2})\\s*(?::\\s*(\\d{2}))?(?:\\s*(AM|am|PM|pm))?"+o+"(?=$|[^\\d\\w])",""),null!=(a=e.match(n))&&(s=a[1],l=a[2],u=a[3],c=a[4],m=a[5]))),null==a)return!1;var n=parseInt(s);if(n<0||23<n)return!1;var s=parseInt(l);if(s<0||59<s)return!1;var l=0;if(!f.isNullOrEmpty(u)&&((l=parseInt(u))<0||59<l))return!1;null!=c&&"PM"==c.toUpperCase()&&n<12?n+=12:null!=c&&"AM"==c.toUpperCase()&&12==n&&(n-=12);var l=new S(1,1,1,n,s,l,0);if(!f.isNullOrWhiteSpace(d)){var d=parseInt(d),p=0;f.isNullOrWhiteSpace(h)||(p=parseInt(h));var p=new g(d,p,0);return"-"==t&&(p=new g(-p.ticks)),r.ref=new b(-1,-1,a.index,a[0].length,l,p),!0}if(!f.isNullOrWhiteSpace(m)){var p=void 0;switch(m){case"UTC":case"GMT":p=new g(0,0,0);break;case"CST":p=new g(-6,0,0);break;case"EST":p=new g(-5,0,0);break;default:throw new Error("Time zone: "+m+" is not defined.")}return r.ref=new b(-1,-1,a.index,a[0].length,l,p),!0}return r.ref=new b(-1,-1,a.index,a[0].length,l),!0},i.tryParseDate2=function(e,t,r){if(r.ref=null,f.isNullOrEmpty(e))return!1;var i=new RegExp("(\\d{4})\\s*([\\/])\\s*(\\d{1,2})\\s*[\\/]+\\s*(\\d{1,2})(?=$|[^\\d])","i"),o=e.match(i);if(null!=o){var n={ref:null};if(!this.convertToDate(parseInt(o[1]),parseInt(o[3]),parseInt(o[4]),n))return!1;return r.ref=new b(o.index,o[0].length,-1,-1,n.ref),!0}if(i=new RegExp("(\\d{1,2})\\s*([\\\\\\/\\.])+\\s*(\\d{1,2})\\s*[\\\\\\/\\.]+\\s*(\\d{2}|\\d{4})(?=$|[^\\d])","i"),null!=(o=e.match(i))){var n={ref:null};if((t^y.USA_DATE)==y.USA_DATE){if(!this.convertToDate(parseInt(o[4]),parseInt(o[1]),parseInt(o[3]),n))return!1}else if(!this.convertToDate(parseInt(o[4]),parseInt(o[3]),parseInt(o[1]),n))return!1;return r.ref=new b(o.index,o[0].length,-1,-1,n.ref),!0}if(i=new RegExp("(\\d{2}|\\d{4})\\s*([\\-])\\s*(\\d{1,2})\\s*[\\-]+\\s*(\\d{1,2})(?=$|[^\\d])","i"),null!=(o=e.match(i))){var n={ref:null};if(!this.convertToDate(parseInt(o[1]),parseInt(o[3]),parseInt(o[4]),n))return!1;return r.ref=new b(o.index,o[0].length,-1,-1,n.ref),!0}var n=a.System.Globalization.CultureInfo.currentCulture.dateTimeFormat.abbreviatedMonthNames.stimulsoft.toList().where(function(e){return!f.isNullOrWhiteSpace(e)}).select(function(e){return 3<e.length?e.substr(0,3):e}).select(function(e){return e.substr(0,1).toUpperCase()+e.substr(1,e.length-1).toLowerCase()}).toList();if(this.tryParseDateInternal(e,r,n))return!0;return n=a.System.Globalization.CultureInfo.currentCulture.dateTimeFormat.monthNames.stimulsoft.toList().where(function(e){return!f.isNullOrWhiteSpace(e)}).select(function(e){return e.substr(0,1).toUpperCase()+e.substr(1,e.length-1).toLowerCase()}).toList(),this.tryParseDateInternal(e,r,n)},i.tryParseDateInternal=function(e,t,r){var i=f.join("|",r),o=null,n=null,a=null,s=new RegExp("(?:^|[^\\d\\w])("+i+")[uarychilestmbro]*\\s+(\\d{1,2})(?:-?st|-?th|-?rd|-?nd)?\\s*,?\\s*(\\d{4})(?=$|[^\\d\\w])","i"),l=e.match(s);if(null!=l&&(n=l[1],a=l[2],o=l[3]),null==l&&(s=new RegExp("(?:^|[^\\d\\w:])(\\d{1,2})(?:-?st\\s+|-?th\\s+|-?rd\\s+|-?nd\\s+|-|\\s+)("+i+")[uarychilestmbro]*(?:\\s*,?\\s*|-)'?(\\d{2}|\\d{4})(?=$|[^\\d\\w])","i"),null!=(l=e.match(s))&&(a=l[1],n=l[2],o=l[3])),null==l&&(s=new RegExp("(?:^|[^\\d\\w])(\\d{4})\\s+("+i+")[uarychilestmbro]*\\s+(\\d{1,2})(?:-?st|-?th|-?rd|-?nd)?(?=$|[^\\d\\w])","i"),null!=(l=e.match(s))&&(o=l[1],n=l[2],a=l[3])),null==l&&(s=new RegExp("(?:^|[^\\d\\w])("+i+")[uarychilestmbro]*\\s+(\\d{1,2})\\s+\\d{2}\\:\\d{2}\\:\\d{2}\\s+(?:MDT|UTC)\\s+(\\d{4})(?=$|[^\\d\\w])","i"),null!=(l=e.match(s))&&(n=l[1],a=l[2])),null==l&&(s=new RegExp("(?:^|[^\\d\\w])("+i+")[uarychilestmbro]*\\s+(\\d{1,2})(?:-?st|-?th|-?rd|-?nd)?(?:\\s*,?\\s*(\\d{4}))?(?=$|[^\\d\\w])","i"),null!=(l=e.match(s))&&(n=l[1],a=l[2],o=l[3])),null!=l){var e=l.index,s=l[0].length,n=n.toLowerCase(),l=r.firstOrDefault(function(e){return e.toLowerCase()==n});if(null==l)return!1;var r=r.indexOf(l)+1,l=f.isNullOrEmpty(o)?this.defaultDate.year:parseInt(o),o={ref:null};if(!this.convertToDate(l,r,parseInt(a),o))return!1;return t.ref=new b(e,s,-1,-1,o.ref),!0}return!1},i.convertToDate=function(e,t,r,i){if(100<=e){if(e<1e3)return i.ref=new S(1,1,1,0,0,0,0),!1}else e+=30<e?1900:2e3;try{if(t<1||12<t||r<1||31<r)return i.ref=new S(1,1,1,0,0,0,0),!1;i.ref=new S(e,t,r,0,0,0,0)}catch(e){return i.ref=new S(1,1,1,0,0,0,0),!1}return!0},i._defaultDate=S.now,i.defaultDateIsNow=!0,i);function i(){}e.DateTimeRoutines=t}(r=t.Helpers||(t.Helpers={}))}(Stimulsoft=Stimulsoft||{}),function(e){var t,s,r,i,l,u,c,d,h,m,e;function p(){}s=t=e.Base||(e.Base={}),i=r=s.Helpers||(s.Helpers={}),l=e.System.StiString,u=e.System.Collections.Hashtable,c=e.System.Drawing.Size,d=e.System.Text.StringBuilder,h=e.System.Collections.List,m=e.System.StiPromise,Object.defineProperty(p,"BingKey",{get:function(){if(l.isNullOrEmpty(this.bingMapKey)){if(l.isNullOrEmpty(this._bingKey)){try{var e="",t=new XMLHttpRequest;t.open("GET",this.bingKeysUrl,!1),t.send(),200===t.status&&(e=t.responseText);var r=new h,i,e,o;for(o in l.isNullOrEmpty(e)||(e=JSON.parse(s.StiEncryption.decryptS(e,"KJH98kjJK1!!")).keys,r.addRange(e)),r.add(this.defaultBingKey),r)try{var n="http://dev.virtualearth.net/REST/v1/Imagery/Map/Road/47.645523,-122.139059/18?key="+r[o],a=new XMLHttpRequest;if(a.open("GET",n,!1),a.send(),200===a.status)return this._bingKey=r[o],this._bingKey}catch(e){}}catch(e){}return this._bingKey=this.defaultBingKey,this._bingKey}return this._bingKey}return this.bingMapKey},enumerable:!1,configurable:!0}),p.getImageAsync=function(r,i,e){void 0===e&&(e=null);var o=new m;r.width<50&&(r=new c(50,r.height)),r.height<50&&(r=new c(r.width,50)),r.width=Math.trunc(r.width),r.height=Math.trunc(r.height);var t=new d,n=e.length;if(100<n&&(n=100),0<e.length)for(var a=0;a<n;a++)t.append(e[a]+(a!=n-1?"&":""));var s=new XMLHttpRequest;return s.open("POST",this.getBingUrl(r),!0),s.setRequestHeader("Content-Type","text/plain; charset=utf-8"),s.responseType="arraybuffer",s.onreadystatechange=function(){if(4!=s.readyState)return;var e,t;200==s.status?(e=p.base64ArrayBuffer(s.response),t='<image x="0" y="0" width="'+r.width+'" height="'+r.height+'" xlink:href="data:image/png;base64,'+e+'" />',i.mapImage=e,o.callTry(t)):o.callTry(null)},s.send(t.toString()),o},p.base64ArrayBuffer=function(e){for(var t="",r="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",i=new Uint8Array(e),o=i.byteLength,e=o%3,n=o-e,a,s,l,u,c,d=0;d<n;d+=3)t+=r[a=(16515072&(c=i[d]<<16|i[d+1]<<8|i[d+2]))>>18]+r[s=(258048&c)>>12]+r[l=(4032&c)>>6]+r[u=63&c];return 1==e?t+=r[a=(252&(c=i[n]))>>2]+r[s=(3&c)<<4]+"==":2==e&&(t+=r[a=(64512&(c=i[n]<<8|i[n+1]))>>10]+r[s=(1008&c)>>4]+r[l=(15&c)<<2]+"="),t},p.getBingUrl=function(e){return"https://dev.virtualearth.net/REST/v1/Imagery/Map/CanvasLight/?mapSize="+e.width+","+e.height+"&key="+this.BingKey},p.getScript=function(e){var t=new d(s.StiGZipHelper.unpack(p.Script)),r,i,r;return null!=e["locations"]?(r=JSON.stringify(e["locations"]),t.replace("_DATA_",r),"Auto"!=(i=e["locationType"].toString())?t.replace("_entityType_",i):t.replace("entityType: '_entityType_',","")):null!=e["pushpins"]?(r=JSON.stringify(e["pushpins"]),t.replace("_DATA_",r),t.replace("document.mapType = 'locations';","document.mapType = 'pushpins';")):(t.replace("_DATA_","[]"),t.replace("entityType: '_entityType_',","")),t.replace("_KEY_",p.BingKey),t.replace("_THEME_",e["theme"]),t.replace("_LANGUAGE_",e["culture"]),t.replace("_BACKGROUND_COLOR_",'"'+e["backgroundColor"]+'"'),null!=e["outerStyle"]&&t.replace("display: table;",e["outerStyle"].toString()),null!=e["title"]&&t.replace("display:none'></div>",e["title"].toString()),null!=e["customIcon"]&&(t.replace("document.customIcon = null","document.customIcon = '"+e["customIcon"].toString()+"'"),t.replace("document.customIconAnchorX = null","document.customIconAnchorX = '"+e["customIconAnchorX"].toString()+"'"),t.replace("document.customIconAnchorY = null","document.customIconAnchorY = '"+e["customIconAnchorY"].toString()+"'")),t.replace("&(*","&(*"),t.toString().substr(1)},p.getCacheKey=function(e,t){var r,i;try{for(var o=__values(e.keys),n=o.next();!n.done;n=o.next()){var a=n.value;t=397*t^a.stimulsoft.getHashCode();var a=e[a];t=a.stimulsoft.is(u)?397*t^this.getCacheKey(a,t):397*t^a.toString().stimulsoft.getHashCode()}}catch(e){r={error:e}}finally{try{n&&!n.done&&(i=o.return)&&i.call(o)}finally{if(r)throw r.error}}return t},p.bingKeysUrl="https://www.stimulsoft.com/bing/map-keys.php",p.defaultBingKey="As5HUjWYztVI3tJdw5MMHau9DGYHWrtaEt3FztAV4N7RAMbB0Xl3CV7c4vDW7Ly5",
p.Script="H4sIAAAAAAAEAOy925LqSpIo+D5m8w81/XLGTKdMQCq59Ok+NhFS6AYSCiEB4g2UEOIqSBIEzKedh/NJ8wvjHhIJmSv3ql1V3TM2ZpN7s0Qo7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4MdB1VLlqbIMQxABZVqkGCI7xe/Hnve9N3gcDN6/tzMeKsZDN+OhYDy0MB6rdgqObp5jxXPs5jkWPMcGnhnjiwwcVdF1P+EQ8Pbx8CDwFZta/M6ALgrCx95nasUh6uUzafIQu6QHjlaC050YJ5svm2sHjPu5eeiK/Y+m9U5aBc3BahfDnGf+9m510AjU2nbDUjC7wh7gwjUELJCXfrgDG+/2agFjhV8V3My8uvuwDXNwCD2523gNGQDPlBtJOar7Ev9UJVS3KT5TCXLACuKNQwsmSLGAb65GGTciGOqIkqkR3GCX9cP/P9iJdvDbqMuO3hT8U/uMbulLv3hhDCU+YNj3RFhYbaK2DqK/Kq+X6G+mEFrEs33NU2jKNfOK4nyehMv9Wvmk9qXiw60JtBh/0Ocl6fFRB7OXuyR92J/EUcRmHdXqKL5XIPRB5DuqZu2vVqEPikWiYo2I4qB9mrVhtEFHHHReXWQMDxnQkuXhFlAtMxglYZ4fdalh5S8Sl7h3lTJ3B/PHA9Vaauxmlj4UT7A81X1V5lAlVMctsyyg4+hILSwpTNFp1GdSGvxdw67yLrdW/j7cQt2LzoAB9Oq/oGFAFJLxAwA=",e=p,i.StiBingMapHelper=e}(Stimulsoft=Stimulsoft||{}),function(e){var t,r,i,e;function o(){this.progressDelta=10,this.timerInterval=20}r=t=e.Base||(e.Base={}),e=i=r.Helpers||(r.Helpers={}),o.add=function(e){},r=o,e.StiComponentProgressHelper=r}(Stimulsoft=Stimulsoft||{}),function(e){var t,e,r;e=t=e.Base||(e.Base={}),function(e){var t=(r.init=function(){},r.fetchAllComponents=function(e){return null},r.clean=function(e){},r);function r(){this.timerInterval=500,this.browserLifetime=1e3*60*5}e.StiOnlineMapRepaintHelper=t;var i=o;function o(){this.elementKey=""}}(r=e.Helpers||(e.Helpers={}))}(Stimulsoft=Stimulsoft||{}),function(e){var t,r,i,o,e;function n(){}r=t=e.Base||(e.Base={}),i=e.System.StiString,o=e.System.Convert,n.pack=function(e){if(null==e||0==e.length||!this.allowPacking)return e;return this.addZipSignature(r.StiGZipHelper.pack(e))},n.unpack=function(t){if(null==t||0==t.length||!this.isPacked(t))return t;try{return r.StiGZipHelper.unpack(t)}catch(e){return t}},n.packAndEncrypt=function(e,t){return r.StiEncryption.encrypt2(this.pack(e),this.encryptedId)},n.unpackAndDecrypt=function(e,t){return this.unpack(r.StiEncryption.decrypt2(e,this.encryptedId))},n.packAndEncryptToString=function(e){return e=this.pack(e),null!=(e=r.StiEncryption.encrypt2(e,this.encryptedId))?o.toBase64String(e):null},n.unpackAndDecrypt2=function(e){if(i.isNullOrWhiteSpace(e))return null;var e=o.fromBase64String(e),e=r.StiEncryption.decrypt2(e,this.encryptedId);return this.unpack(e)},n.packToString=function(e){return null!=(e=this.pack(e))?o.toBase64String(e):null},n.unpackFromString=function(e){if(i.isNullOrWhiteSpace(e))return null;var e=o.fromBase64String(e);return this.unpack(e)},n.packToBytes=function(e,t){if(void 0===t&&(t=!0),i.isNullOrEmpty(e))return null;var r;return r},n.unpackToString=function(e){if(null==e||0==e.length)return null;return e=this.unpack(e),null},n.addZipSignature=function(e){return e[e.length-3]="Z".charCodeAt(0),e[e.length-2]="I".charCodeAt(0),e[e.length-1]="P".charCodeAt(0),e},n.isPacked=function(e){return 3<e.length&&this.isPacked2(e[e.length-3],e[e.length-2],e[e.length-1])},n.isPacked2=function(e,t,r){return e=="Z".charCodeAt(0)&&t=="I".charCodeAt(0)&&r=="P".charCodeAt(0)},n.encryptedId="8pTP&%#5uK889910",n.allowPacking=!0,e=n,r.StiPacker=e}(Stimulsoft=Stimulsoft||{}),function(e){var t,r,i,o,n;function a(){}r=t=e.Base||(e.Base={}),o=i=r.Helpers||(r.Helpers={}),n=e.System.Type,a.equalValues=function(e,t){if(null==e&&null==t)return!0;if(null==e||null==t)return!1;if(e instanceof Array&&t instanceof Array)return this.compareArrays(e,t);if(n.isNumericType(n.getType(e))&&n.isNumericType(n.getType(t)))return o.StiValueHelper.tryToNumber(e)==o.StiValueHelper.tryToNumber(t);if("string"==typeof e)return e==t.toString();return e==t},a.compareArrays=function(e,t){if(e.length!=t.length)return!1;for(var r=0;r<e.length;r++)if(!this.equalValues(e[r],t[r]))return!1;return!0},r=a,o.StiValueComparer=r}(Stimulsoft=Stimulsoft||{}),function(e){var t,r,i,o,n,a,s,l,u,c,e;function d(){}r=t=e.Base||(e.Base={}),o=i=r.Helpers||(r.Helpers={}),n=e.System.StiNumber,a=e.System.Type,s=e.System.Convert,l=e.System.DateTime,u=e.System.TimeSpan,c=e.System.Globalization.CultureInfo,d.isZero=function(e){if(null==e)return!0;var t;if(a.getType(e)==Number)return 0==e;return!1},d.equalDecimal=function(e,t){if(null==e||null==t)return!1;return d.tryToNumber(e)==d.tryToNumber(t)},d.tryToString=function(e){if(null==e)return null;if("string"==typeof e)return e;return e.toString()},d.tryToNumber=function(e){try{if(null==e)return 0;if("boolean"==typeof e)return e?1:0;if("number"==typeof e)return e;var t=e.stimulsoft.as(String);if(null!=t){t=d.normalizeFloatingPointValue(e);var t=n.tryParse(t);if(t.successfully)return t.result;return 0}if(!a.isNumericType(e))return 0;return s.toNumber(e)}catch(e){return 0}},d.tryToBool=function(e){try{if(null==e)return!1;if("boolean"==typeof e)return e;var t=this.tryToNullableNumber(e);if(null!=t)return 1==t;var t=e.stimulsoft.as(String);if(null!=t)return"true"==(t=t.toLowerCase())||"on"==t||"yes"==t;return!1}catch(e){return!1}},d.tryToDateTime=function(e){try{if(e instanceof l)return e;if(null==e)return l.now;if(a.isNumericType(a.getType(e)))return l.now;return r.StiConvert.changeType(e,l,!1)}catch(e){return l.now}},d.tryToTimeSpan=function(e){try{if(e instanceof u)return e;if(null==e)return new u(0);return r.StiConvert.changeType(e,u,!1)}catch(e){return new u(0)}},d.tryToNullableNumber=function(e){if(null==e)return null;try{if(e instanceof l)return e.toOADate();var t=e.stimulsoft.as(String);if(null!=t){t=d.normalizeFloatingPointValue(e);var r=n.tryParse(t),i=r.result,o;return r.successfully&&-1==t.indexOf("\n")?i:null}if(a.getType(e)!=Number)return 0;return s.toNumber(e)}catch(e){return null}},d.tryToNullableDateTime=function(e){if(null==e)return null;if(e instanceof l)return e;return r.StiConvert.changeType(e,l,!1)},d.tryToNullableTimeSpan=function(e){if(null==e)return null;if(e instanceof u)return e;return r.StiConvert.changeType(e,u,!1)},d.parseNumber=function(e){var t,r;if("0"==e)return 0;var i="",o="",n=1,a=!0;try{for(var s=__values(e),l=s.next();!l.done;l=s.next()){var u=l.value;","==u||"."==u?a=!1:a?i+=u:(o+=u,n*=10)}}catch(e){t={error:e}}finally{try{l&&!l.done&&(r=s.return)&&r.call(s)}finally{if(t)throw t.error}}if(0==i.length&&0!=o.length)return o.stimulsoft.toNumber()/n;if(0!=i.length&&0!=o.length)return i.stimulsoft.toNumber()+o.stimulsoft.toNumber()/n;if(0!=i.length&&0==o.length)return i.stimulsoft.toNumber();return 0},d.normalizeFloatingPointValue=function(e){return e.replace(".",",").replace(",",c.currentCulture.numberFormat.numberDecimalSeparator)},e=d,o.StiValueHelper=e}(Stimulsoft=Stimulsoft||{}),function(e){var t,e,r;e=t=e.Base||(e.Base={}),(e=r=e.StiJsonSaveMode||(e.StiJsonSaveMode={}))[e["Report"]=0]="Report",e[e["Document"]=1]="Document"}(Stimulsoft=Stimulsoft||{}),function(A){var e,t,r;t=e=A.Base||(A.Base={}),function(e){var n=A.System.StiString,o=A.Base.Drawing.StiBorderSides,a=A.Base.Drawing.StiPenStyle,r=A.Base.Drawing.StiBorderSide,s=A.System.Drawing.Drawing2D.HatchStyle,l=A.System.Text.StringBuilder,c=A.System.Enum,i=A.Base.Drawing.StiCapStyle,u=A.Base.Drawing.StiCap,d=A.Base.StiJson,h=A.Base.Drawing.StiBorder,t=A.System.Drawing.Rectangle,m=A.Base.Drawing.StiAdvancedBorder,p=A.System.Drawing.Font,f=A.System.Drawing.FontStyle,S=A.System.Drawing.GraphicsUnit,g=A.System.Drawing.Color,y=A.System.Drawing.Size,b=A.System.Drawing.Point,v=A.Base.Drawing.StiEmptyBrush,C=A.Base.Drawing.StiGlareBrush,w=A.Base.Drawing.StiGlassBrush,T=A.Base.Drawing.StiGradientBrush,D=A.Base.Drawing.StiHatchBrush,P=A.Base.Drawing.StiSolidBrush,x=A.Base.Drawing.StiSimpleBorder,B=(L.fontArial8=function(e){return L.font(e,"Arial",8,f.Regular,S.Point)},L.font=function(e,t,r,i,o){void 0===t&&(t="Arial"),void 0===r&&(r=8),void 0===i&&(i=f.Regular),void 0===o&&(o=S.Point);var n="",a="",s="",l="",u=0;if(e.fontFamily.name!=t&&(u++,n=e.fontFamily.name),e.size!=r&&(u++,a=e.size.toString()),e.style!=i&&(u++,s=c.getName(f,e.style)),e.unit!=o&&(u++,l=c.getName(S,e.unit)),0==u)return null;return n+";"+a+";"+s+";"+l},L.rectangleD=function(e){return e.x.toString()+","+e.y.toString()+","+e.width.toString()+","+e.height.toString()},L.sizeD=function(e){return e.width.toString()+","+e.height.toString()},L.jColor=function(e,t){if(void 0===t&&(t=null),null==e||e.equals(t))return null;return e.isNamedColor?e.name.stimulsoft.replaceAll(" ",""):255==e.a?e.r.toString()+","+e.g.toString()+","+e.b.toString():e.a.toString()+","+e.r.toString()+","+e.g.toString()+","+e.b.toString()},L.colorArray=function(e){for(var t=new d,r=0;r<e.length;r++){var i=e[r],i=L.jColor(i);t.addPropertyString(r.toString(),i)}return t},L.stringArray=function(e){if(null==e||0==e.length)return null;for(var t=new d,r=0;r<e.length;r++)t.addPropertyString(r.toString(),e[r]);return t},L.numberArray=function(e){if(null==e||0==e.length)return null;for(var t=new d,r=0;r<e.length;r++)t.addPropertyStringNullOrEmpty(r.toString(),e[r].toString());return t},L.objectArray=function(e,t){var r,i;if(null==e||0==e.length)return null;var o=new d,n=0;try{for(var a=__values(e),s=a.next();!s.done;s=a.next()){var l=s.value;o.addPropertyJObject(n.toString(),l.saveToJsonObject(t)),n++}}catch(e){r={error:e}}finally{try{s&&!s.done&&(i=a.return)&&i.call(a)}finally{if(r)throw r.error}}return o},L.size=function(e){var t=new d;return t.addPropertyNumber("Width",e.width),t.addPropertyNumber("Height",e.height),t},L.point=function(e){var t=new d;return t.addPropertyStringNullOrEmpty("X",e.x.toString()),t.addPropertyStringNullOrEmpty("Y",e.y.toString()),t},L.jCap=function(e){var t=new l;return 10!=e.width&&t.append(e.width),t.append(";"),10!=e.height&&t.append(e.height),t.append(";"),e.style!=i.None&&t.append(c.getName(i,e.style)),t.append(";"),t.append(L.jColor(e.color,g.black)),t.toString()},L.jBrush=function(e,t){void 0===t&&(t=null);var t=new l,r,r,i,i,e;return e.is(P)?(r=e,t.append("solid:"),t.append(L.jColor(r.color,g.transparent))):e.is(v)?t.append("empty"):e.is(C)?(r=e,t.append("glare:"),t.append(L.jColor(r.startColor,g.black)),t.append(":"),t.append(L.jColor(r.endColor,g.white)),t.append(":"),0!=r.angle&&t.append(r.angle),t.append(":"),.5!=r.focus&&t.append(r.focus),t.append(":"),1!=r.scale&&t.append(r.scale)):e.is(w)?(i=e,t.append("glass:"),t.append(L.jColor(i.color,g.silver)),t.append(":"),i.drawHatch&&t.append(i.drawHatch),t.append(":"),.2!=i.blend&&t.append(i.blend)):e.is(T)?(i=e,t.append("gradient:"),t.append(L.jColor(i.startColor,g.black)),t.append(":"),t.append(L.jColor(i.endColor,g.white)),t.append(":"),0!=i.angle&&t.append(i.angle)):e.is(D)&&(e=e,t.append("hatch:"),t.append(L.jColor(e.backColor,g.black)),t.append(":"),t.append(L.jColor(e.foreColor,g.white)),t.append(":"),e.style!=s.BackwardDiagonal&&t.append(c.getName(s,e.style))),t.toString()},L.jBorderSide=function(e){var t=L.jColor(e.color,g.black);null==t&&(t="");var r="";1!=e.size&&(r=e.size.toString());var i="";return e.style!=a.None&&(i=c.getName(a,e.style)),t+":"+r+":"+i},L.jBorder=function(e){var t=new l,r=e.as(m);return null!=r?(t.append(L.jBorderSide(r.topSide)),t.append(";"),t.append(L.jBorderSide(r.bottomSide)),t.append(";"),t.append(L.jBorderSide(r.leftSide)),t.append(";"),t.append(L.jBorderSide(r.rightSide)),t.append(";"),e.dropShadow&&t.append(e.dropShadow),t.append(";"),4!=e.shadowSize&&t.append(e.shadowSize)):(e.side!=o.None&&t.append(c.getName(o,e.side)),t.append(";"),e.color.equals(g.black)||t.append(L.jColor(e.color)),t.append(";"),1!=e.size&&t.append(e.size),t.append(";"),e.style!=a.Solid&&t.append(c.getName(a,e.style)),t.append(";"),4!=e.shadowSize&&t.append(e.shadowSize),t.append(";"),e.dropShadow&&t.append(e.dropShadow),t.append(";"),e.topmost&&t.append(e.topmost)),t.append(";"),t.append(L.jBrush(e.shadowBrush,new P(g.black))),t.toString()},L.jBorder2=function(e){var t="";return e.side!=o.None&&(t+=e.side),t+=";",g.gray.equals(e.color)||(t+=L.jColor(e.color)),t+=";",1!=e.size&&(t+=e.size),t+=";",e.style!=a.Solid&&(t+=e.style),t+=";"},L);function L(){}e.Serialize=B;var B=(N.stringArray=function(e){var t,r,i=[],o=0;try{for(var n=__values(e.properties()),a=n.next();!a.done;a=n.next()){var s=a.value;i[o]=s.value,o++}}catch(e){t={error:e}}finally{try{a&&!a.done&&(r=n.return)&&r.call(n)}finally{if(t)throw t.error}}return i},N.numberArray=function(e){var t,r,i=[],o=0;try{for(var n=__values(e.properties()),a=n.next();!a.done;a=n.next()){var s=a.value;i[o]=s.value,o++}}catch(e){t={error:e}}finally{try{a&&!a.done&&(r=n.return)&&r.call(n)}finally{if(t)throw t.error}}return i},N.font=function(e,t){var r=e.split(";");if(4!=r.length)throw new Error("Parsing Error");var i=t.fontFamily.name,o=t.size,e=t.style,t=t.unit;return n.isNullOrEmpty(r[0])||(i=r[0]),n.isNullOrEmpty(r[1])||(o=parseFloat(r[1])),n.isNullOrEmpty(r[2])||(e=c.parse(f,r[2])),n.isNullOrEmpty(r[3])||(t=c.parse(S,r[3])),new p(i,o,e,t)},N.jBorderSide=function(e){var t=e.split(":"),e=new r;return n.isNullOrEmpty(t[0])||(e.color=N.color(t[0])),n.isNullOrEmpty(t[1])||(e.size=parseFloat(t[1])),n.isNullOrEmpty(t[2])||(e.style=c.parse(a,t[2])),e},N.jCap=function(e){var t=e.split(";"),e=new u;if(4!=t.length)throw new Error("Parsing Error");return n.isNullOrEmpty(t[0])||(e.width=parseInt(t[0])),n.isNullOrEmpty(t[1])||(e.height=parseInt(t[1])),n.isNullOrEmpty(t[2])||(e.style=c.parse(i,t[2])),n.isNullOrEmpty(t[3])||(e.color=N.color(t[3])),e},N.border=function(e){var t=e.split(";");if(7==t.length){var r=!1,e=4,i=new P(g.black);return new m(N.jBorderSide(t[0]),N.jBorderSide(t[1]),N.jBorderSide(t[2]),N.jBorderSide(t[3]),r,e,i)}var i=new h;return n.isNullOrEmpty(t[0])||(i.side=c.parse(o,t[0])),n.isNullOrEmpty(t[1])||(i.color=N.color(t[1])),n.isNullOrEmpty(t[2])||(i.size=parseFloat(t[2])),n.isNullOrEmpty(t[3])||(i.style=c.parse(a,t[3])),4<t.length&&!n.isNullOrEmpty(t[4])&&(i.shadowSize=parseFloat(t[4])),n.isNullOrEmpty(t[5])||(i.dropShadow=!0),n.isNullOrEmpty(t[6])||(i.topmost=!0),n.isNullOrEmpty(t[7])||(i.shadowBrush=N.brush(t[7])),i},N.simpleBorder=function(e){var t=e.split(";"),e=new x;return n.isNullOrEmpty(t[0])||(e.side=c.parse(o,t[0])),n.isNullOrEmpty(t[1])||(e.color=N.color(t[1])),n.isNullOrEmpty(t[2])||(e.size=parseFloat(t[2])),n.isNullOrEmpty(t[3])||(e.style=c.parse(a,t[3])),e},N.color=function(e){if(-1!=e.indexOf(",")){var t;if(4==(t=e.split(",")).length)return g.fromArgb(parseInt(t[0].trim()),parseInt(t[1].trim()),parseInt(t[2].trim()),parseInt(t[3].trim()));return g.fromArgb(parseInt(t[0].trim()),parseInt(t[1].trim()),parseInt(t[2].trim()))}if(0==e.indexOf("[")&&e.indexOf("]")==e.length-1&&-1!=e.indexOf(":")){var t;if(4==(t=e.substring(1,e.length-1).split(":")).length)return g.fromArgb(parseInt(t[0].trim()),parseInt(t[1].trim()),parseInt(t[2].trim()),parseInt(t[3].trim()));return g.fromArgb(parseInt(t[0].trim()),parseInt(t[1].trim()),parseInt(t[2].trim()))}return g.fromName(e)},N.brush=function(e){var t=e.split(":");switch(t[0]){case"empty":return new v;case"glass":var e=new w;return n.isNullOrEmpty(t[1])||(e.color=N.color(t[1])),n.isNullOrEmpty(t[2])||(e.drawHatch=!0),n.isNullOrEmpty(t[3])||(e.blend=parseFloat(t[3])),e;case"glare":var r=new C;return n.isNullOrEmpty(t[1])||(r.startColor=N.color(t[1])),n.isNullOrEmpty(t[2])||(r.endColor=N.color(t[2])),n.isNullOrEmpty(t[3])||(r.angle=parseFloat(t[3])),n.isNullOrEmpty(t[4])||(r.focus=parseFloat(t[4])),n.isNullOrEmpty(t[5])||(r.scale=parseFloat(t[5])),r;case"hatch":var r=new D;return n.isNullOrEmpty(t[1])||(r.backColor=N.color(t[1])),n.isNullOrEmpty(t[2])||(r.foreColor=N.color(t[2])),n.isNullOrEmpty(t[3])||(r.style=c.parse(s,t[3])),r;case"gradient":var i=new T;return n.isNullOrEmpty(t[1])||(i.startColor=N.color(t[1])),n.isNullOrEmpty(t[2])||(i.endColor=N.color(t[2])),n.isNullOrEmpty(t[3])||(i.angle=parseFloat(t[3])),i;case"solid":var i=new P;return n.isNullOrEmpty(t[1])||(i.color=N.color(t[1])),i}return null},N.colorArray=function(e){var t,r,i=[],o=0;try{for(var n=__values(e.properties()),a=n.next();!a.done;a=n.next()){var s,l=a.value.value,l=N.color(l);i[o]=l,o++}}catch(e){t={error:e}}finally{try{a&&!a.done&&(r=n.return)&&r.call(n)}finally{if(t)throw t.error}}return i},N.size=function(e){var t,r,i=new y(0,0);try{for(var o=__values(e.properties()),n=o.next();!n.done;n=o.next()){var a=n.value;switch(a.name){case"Width":i.width=a.value;break;case"Height":i.height=a.value;break}}}catch(e){t={error:e}}finally{try{n&&!n.done&&(r=o.return)&&r.call(o)}finally{if(t)throw t.error}}return i},N.rectangleD=function(e){var e=e.split(",");if(4!=e.length)throw new Error("Parsing Error");return new t(parseFloat(e[0]),parseFloat(e[1]),parseFloat(e[2]),parseFloat(e[3]))},N.sizeD=function(e){var e=e.split(",");if(2!=e.length)throw new Error("Parsing Error");return new y(parseFloat(e[0]),parseFloat(e[1]))},N.point=function(e){var t,r,i=new b;try{for(var o=__values(e.properties()),n=o.next();!n.done;n=o.next()){var a=n.value;switch(a.name){case"X":i.x=a.value;break;case"Y":i.y=a.value;break}}}catch(e){t={error:e}}finally{try{n&&!n.done&&(r=o.return)&&r.call(o)}finally{if(t)throw t.error}}return i},N);function N(){}e.Deserialize=B}(r=t.StiJsonReportObjectHelper||(t.StiJsonReportObjectHelper={}))}(Stimulsoft=Stimulsoft||{}),function(e){var t,r,i,o,e;function n(){}r=t=e.Base||(e.Base={}),i=e.System.Data.DataSet,o=e.System.Data.JsonRelationDirection,n.getDataSet=function(e,t){void 0===t&&(t=o.ChildToParent);var r=new i;return r.readJson(e,t),r},e=n,r.StiJsonToDataSetConverter=e}(Stimulsoft=Stimulsoft||{}),function(e){var t,r,i,e,o,n;r=t=e.Base||(e.Base={}),e=i=r.vEIvF||(r.vEIvF={}),(r=o=e.plmbu||(e.plmbu={}))[r["Ultimate"]=1]="Ultimate",r[r["Net"]=2]="Net",r[r["Wpf"]=3]="Wpf",r[r["Web"]=4]="Web",r[r["Silverlight"]=5]="Silverlight",r[r["Js"]=6]="Js",r[r["Java"]=7]="Java",r[r["Php"]=8]="Php",r[r["NetCore"]=9]="NetCore",r[r["Uwp"]=10]="Uwp",r[r["Flex"]=11]="Flex",r[r["BIDesigner"]=12]="BIDesigner",r[r["DbsJs"]=13]="DbsJs",r[r["DbsWin"]=14]="DbsWin",r[r["DbsWeb"]=15]="DbsWeb",r[r["BIDesktop"]=16]="BIDesktop",r[r["BIServer"]=17]="BIServer",r[r["BICloud"]=18]="BICloud",r[r["CloudReports"]=20]="CloudReports",r[r["CloudDashboards"]=21]="CloudDashboards",r[r["Angular"]=22]="Angular",r[r["DbsAngular"]=23]="DbsAngular",(e=n=e.afBhW||(e.afBhW={}))[e["Server"]=1]="Server",e[e["Developer"]=2]="Developer"}(Stimulsoft=Stimulsoft||{}),function(r){var e,t,i,o;function n(){}t=e=r.Base||(r.Base={}),o=i=t.vEIvF||(t.vEIvF={}),n.decrypt=function(e,t){return r.System.Crypt.AES.decrypt(e,t)},n.encrypt=function(e,t){return void 0===t&&(t=null),r.System.Crypt.AES.encrypt(e,t)},n.recrypt=function(e,t,r){return e=this.decrypt(e,t),this.encrypt(e,r)},t=n,o.WJBUs=t}(Stimulsoft=Stimulsoft||{}),function(e){var t,r,i,e;function o(){}r=t=e.Base||(e.Base={}),e=i=r.vEIvF||(r.vEIvF={}),o.getKey=function(){return{RSAKeyValue:{Modulus:"2GCA4rfVor/2q7m+NVisL3ZFVvnklg14zeP0F+yNpBdoSm9iuOUBLodsOH6I3Xb0j5/OznYKFpii35RcjiPvww7Uthz1he2G8PGCvFMKuA4Wzgp5Kdv0uR7zSQ8J9lA/rZ7u8wh+h72umBku1pLFL2nvJIT56u4Qe7+OJFLrqWk=",Exponent:"10001"}}},r=o,e.tIOWG=r}(Stimulsoft=Stimulsoft||{}),function(e){var t,r,i,o,n,a,s,l;function u(){this.encryptKey="ieICWsADhNJQBsVv63j/tA=="}r=t=e.Base||(e.Base={}),o=i=r.vEIvF||(r.vEIvF={}),n=e.System.Collections.List,a=e.System.StiString,s=e.System.DateTime,l=e.System.Enum,u.prototype.loadFromString=function(e){var t=JSON.parse(e),r;for(r in this["activationDate"]=s.fromNetJsonString(t["ActivationDate"]),this["products"]=new n,t["Products"])this["products"][r]=new o.bzucK,this["products"][r]["expirationDate"]=s.fromNetJsonString(t["Products"][r]["ExpirationDate"]),this["products"][r]["ident"]=l.parse(o.plmbu,t["Products"][r]["Ident"]);this["owner"]=t["Owner"],this["userName"]=t["UserName"],this["signature"]=t["Signature"],this["deviceId"]=t["DeviceId"]},u.prototype.saveToString=function(){var e="",t;for(t in e+="{\r\n",e+=a.format(' "ActivationDate": "{0}",\r\n',this["activationDate"].toNetJsonString()),null!=this["signature"]&&(e+=a.format(' "Signature": "{0}",\r\n',this["signature"])),e+=a.format(' "Owner": "{0}",\r\n',this["owner"]),e+=a.format(' "UserName": "{0}",\r\n',this["userName"]),e+=' "Products": [',0<this["products"].length&&(e+="\r\n"),this["products"])e+=" {\r\n",e+=a.format(' "ExpirationDate": "{0}",\r\n',this["products"][t]["expirationDate"].toNetJsonString()),e+=a.format(' "Ident": "{0}"\r\n',l.getName(o.plmbu,this["products"][t]["ident"])),t.stimulsoft.toNumber()<this["products"].length-1?e+=" },\r\n":e+=" }\r\n";return 0<this["products"].length&&(e+=" "),e+="]",null!=this["deviceId"]&&(e+=a.format(',\r\n "DeviceId": "{0}"',this["deviceId"])),e+="\r\n}"},u.prototype.loadFromBytes=function(e){var e=a.fromBytesArray(e);this.loadFromString(e)},u.prototype.decryptFromBytes=function(e){this.decryptFromString(a.fromBytesArray(e))},u.prototype.decryptFromString=function(e){this.loadFromString(o.WJBUs.decrypt(e,this.encryptKey))},r=u,o.rADmS=r}(Stimulsoft=Stimulsoft||{}),function(e){var t,r,i,o,n,a;function s(){var e=a.call(this)||this;return e.owner="",e.userName="",e.activationDate=n.today,e.owner="",e.userName="",e}r=t=e.Base||(e.Base={}),o=i=r.vEIvF||(r.vEIvF={}),n=e.System.DateTime,a=o.rADmS,__extends(s,a),s.prototype.clone=function(){var e=new s;return e.loadFromString(this.saveToString()),e},s.get1=function(e){var t=new s;return t.decryptFromBytes(e),t},s.get2=function(e){var t=new s;return t.decryptFromString(e),t},r=s,o.IeYre=r}(Stimulsoft=Stimulsoft||{}),function(o){var e,t,i,r;function n(){}t=e=o.Base||(o.Base={}),i=o.System.StiString,Object.defineProperty(n,"key",{get:function(){return this._key},set:function(e){n.pDlHF(e,!1)},enumerable:!1,configurable:!0}),Object.defineProperty(n,"Key",{get:function(){return this.key},set:function(e){this.key=e},enumerable:!1,configurable:!0}),n.pDlHF=function(e,t){if(void 0===t&&(t=!0),i.isNullOrWhiteSpace(e))this._key=null,this[["li","ce","ns","eK","ey"].join("")]=null;else{var r=o.Base.vEIvF.IeYre.get2(e);if(n.nFFbm(r))this[["li","ce","ns","eK","ey"].join("")]=r,this._key=e;else{if(t)throw new Error(["Th","e ","li","ce","ns","e ","ke","y ","is"," n","ot"," v","al","id"].join(""));this._key=null,this[["li","ce","ns","eK","ey"].join("")]=null}}},n.nFFbm=function(e){try{if(null==e)return!1;if(null==e.signature)return!1;var t=e.clone();t.signature=null;var r=new o.System.Crypt.RSAKey,i=o.Base.vEIvF.tIOWG.getKey();return r.setPublic(i.RSAKeyValue.Modulus,i.RSAKeyValue.Exponent),r.verifyString(t.saveToString(),e.signature)}catch(e){return!1}},n.loadFromFile=function(e){this.loadFromString(o.System.IO.File.getFile(e))},n.loadFromString=function(e){this.key=e},r=n,t[["St","iL","ic","en","se"].join("")]=r}(Stimulsoft=Stimulsoft||{}),function(e){var t,r,i,e,o;function n(){var e=null!==o&&o.apply(this,arguments)||this;return e.encryptKey="aoc#wm5eoAtrr$a5@m9w",e}r=t=e.Base||(e.Base={}),e=i=r.vEIvF||(r.vEIvF={}),o=e.rADmS,__extends(n,o),r=n,e.DxGLC=r}(Stimulsoft=Stimulsoft||{}),function(e){var t,r,i;function o(){this.key=r.StiKeyHelper.generateKey()}(r=t=e.Base||(e.Base={})).StiKeyObject=o}(Stimulsoft=Stimulsoft||{}),function(e){var t,r,i,e,o;function n(){return null!==o&&o.apply(this,arguments)||this}r=t=e.Base||(e.Base={}),e=i=r.vEIvF||(r.vEIvF={}),o=r.StiKeyObject,__extends(n,o),r=n,e.WQvdd=r}(Stimulsoft=Stimulsoft||{}),function(r){var e,t,i,o,n,a,s;function l(){}t=e=r.Base||(r.Base={}),o=i=t.vEIvF||(t.vEIvF={}),n=r.System.StiString,a=r.Base.vEIvF.plmbu,l.NYOrDOn=function(t){var e=l.gmaDa();return null!=e&&!n.isNullOrWhiteSpace(e.signature)&&null!=e.products&&e.products.any(function(e){return(e.ident==t||e.ident==a.Ultimate)&&e.expirationDate.ticks>r.StiVersion.created.ticks})},l.KqUvN=function(){var e=l.gmaDa();return null!=e&&!n.isNullOrWhiteSpace(e.signature)&&null!=e.products&&e.products.any(function(e){return l.KwAFc(e.ident)&&e.expirationDate.ticks>r.StiVersion.created.ticks})},l.UPtPa=function(){var e=l.gmaDa();return null!=e&&!n.isNullOrWhiteSpace(e.signature)&&null!=e.products&&e.products.any(function(e){return l.nkTJc(e.ident)&&e.expirationDate.ticks>r.StiVersion.created.ticks})},l.RNAxU=function(){var e=l.gmaDa();return null!=e&&!n.isNullOrWhiteSpace(e.signature)&&null!=e.products&&e.products.any(function(e){return l.plyWd(e.ident)&&e.expirationDate.ticks>r.StiVersion.created.ticks})},l.LuQMU=function(){var e=l.gmaDa();return null!=e&&!n.isNullOrWhiteSpace(e.signature)&&null!=e.products&&e.products.any(function(e){return l.fksbO(e.ident)&&e.expirationDate.ticks>r.StiVersion.created.ticks})},l.sODCX=function(){var e=l.gmaDa();return null!=e&&!n.isNullOrWhiteSpace(e.signature)&&null!=e.products&&e.products.any(function(e){return e.expirationDate.ticks>r.StiVersion.created.ticks})},l.ZHIhL=function(){var e=l.gmaDa();return null!=e&&!n.isNullOrWhiteSpace(e.signature)&&null!=e.products&&e.products.any(function(e){return l.tJenw(e.ident)&&e.expirationDate.ticks>r.StiVersion.created.ticks})},l.plyWd=function(e){return e==a.Js||e==a.Php||e==a.NetCore||e==a.Ultimate},l.nkTJc=function(e){return e==a.DbsJs||e==a.DbsWeb||e==a.DbsWin||e==a.CloudDashboards||e==a.DbsAngular||e==a.Ultimate},l.fksbO=function(e){return e==a.Flex||e==a.Java||e==a.Net||e==a.NetCore||e==a.Php||e==a.Silverlight||e==a.Uwp||e==a.Web||e==a.Wpf||e==a.Js||e==a.CloudReports||e==a.Angular||e==a.Ultimate},l.KwAFc=function(e){return e==a.DbsJs||e==a.Ultimate},l.tJenw=function(e){return e==a.BIDesigner||e==a.BIDesktop||e==a.BIServer||e==a.BICloud},l.gmaDa=function(){if(n.isNullOrWhiteSpace(t[["St","iL","ic","en","se"].join("")].key))return null;if(10==this.indexValidator?(t[["St","iL","ic","en","se"].join("")].pDlHF(t[["St","iL","ic","en","se"].join("")].key),this.indexValidator=0):this.indexValidator++,null==t[["St","iL","ic","en","se"].join("")][["li","ce","ns","eK","ey"].join("")])return null;if(null==t[["St","iL","ic","en","se"].join("")][["li","ce","ns","eK","ey"].join("")].signature)return null;if(!n.isNullOrEmpty(t[["St","iL","ic","en","se"].join("")][["li","ce","ns","eK","ey"].join("")].deviceId)&&window&&window[["l","o","c","a","t","i","o","n"].join("")][["h","o","s","t","n","a","m","e"].join("")]!=t[["St","iL","ic","en","se"].join("")][["li","ce","ns","eK","ey"].join("")].deviceId)return null;return t[["St","iL","ic","en","se"].join("")][["li","ce","ns","eK","ey"].join("")]},s=l,o.JlKzR=s}(Stimulsoft=Stimulsoft||{}),function(e){var t,e,r,i,o;function n(){}e=t=e.Base||(e.Base={}),(i=r=e.vEIvF||(e.vEIvF={})).bzucK=n}(Stimulsoft=Stimulsoft||{}),function(s){var e,t,r,i,o,n,a;function l(){}t=e=s.Base||(s.Base={}),i=r=t.Localization||(t.Localization={}),o=s.System.StiString,n=s.System.Xml.XmlConverter,l.setLocalization=function(e,t){var e;void 0===t&&(t=!1),t?l.languages={}:(e=l.loadLocalization(e),l.cultureName=e)},Object.defineProperty(l,"cultureName",{get:function(){return o.isNullOrEmpty(l._cultureName)&&(l._cultureName=t.StiSettings.get("cultureName","English"),null==l.languages[l._cultureName]&&(l._cultureName="English")),l._cultureName},set:function(e){l._cultureName!=e&&t.StiSettings.set("cultureName",e),l._cultureName=e},enumerable:!1,configurable:!0}),l.addLocalizationFile=function(e,t,r){if(void 0===t&&(t=!1),void 0===r&&(r=""),t){var i=l.loadLocalizationFile(e),t=l[i]["@language"];return l.languages[i]={language:t,cultureName:i,filePath:e,jsonString:JSON.stringify(l[i])},t}return o.isNullOrEmpty(r)?l.languages[e]={language:r,cultureName:"",filePath:e}:l.languages[r]={language:r,cultureName:"",filePath:e},""},l.setLocalizationFile=function(e,t){if(void 0===t&&(t=!1),t)l.languages={};else for(var r in l.languages){var i=l.languages[r];if(i.filePath==e){if(o.isNullOrEmpty(i.cultureName)){delete l.languages[r];break}return void(l.cultureName=i.cultureName)}}l.cultureName=l.addLocalizationFile(e,!0)},l.getJsonStringLocalization=function(){var e=l.languages[l.cultureName];return null==l[e.language]&&(l.setLocalizationFile(e.filePath),delete l.languages[e.filePath],e=l.languages[l.cultureName]),null==e.jsonString&&(e.jsonString=JSON.stringify(l[l.cultureName])),e.jsonString},l.loadLocalization=function(e,t){void 0===t&&(t=!1);try{if(null!=e&&e.trim().stimulsoft.startsWith("<?xml")){var r=n.toXml(e);return l.loadLocalizationXmlInternal(r)}}catch(e){s.System.StiError.showError(e.message,!1)}return""},l.loadLocalizationFile=function(e){var e=s.System.IO.File.getFile(e);if(e)return this.loadLocalization(e);return""},l.loadLocalizationXmlInternal=function(e){try{var t=e.firstChild.getAttribute("language"),r=l["English"];null==r.jsonString&&(r.jsonString=JSON.stringify(l["English"])),(l[t]=JSON.parse(r.jsonString.replace(/"/gi,'"')))["@language"]=e.firstChild.getAttribute("language"),l[t]["@description"]=e.firstChild.getAttribute("description"),l[t]["@cultureName"]=e.firstChild.getAttribute("cultureName");for(var i=0;i<e.firstChild.childNodes.length;i++){var o=e.firstChild.childNodes[i].nodeName;null==l[t][o]&&(l[t][o]={});for(var n=0;n<e.firstChild.childNodes[i].childNodes.length;n++){var a=e.firstChild.childNodes[i].childNodes[n].nodeName;l[t][o][a]=e.firstChild.childNodes[i].childNodes[n].textContent}}return l.languages[t]={language:t,cultureName:l[t]["@cultureName"]},t}catch(e){return s.System.StiError.showError(e,!1),""}},l.get=function(e,t){if(void 0!==l[l.cultureName]&&void 0!==l[l.cultureName][e]&&void 0!==l[l.cultureName][e][t]&&!o.isNullOrEmpty(l[l.cultureName][e][t]))return l[l.cultureName][e][t];return t},l.languages={English:{language:"English",cultureName:"en",filePath:""}},l.English={"@language":"English","@description":"English","@cultureName":"en",A_WebViewer:{AbbreviatedDayFriday:"Fr",AbbreviatedDayMonday:"Mo",AbbreviatedDaySaturday:"Sa",AbbreviatedDaySunday:"Su",AbbreviatedDayThursday:"Th",AbbreviatedDayTuesday:"Tu",AbbreviatedDayWednesday:"We",Attachment:"Attachment:",ButtonNext:"Next",ButtonPrev:"Previous",ButtonSend:"Send",CategoryAlreadyExists:"The category with that name already exists!",DayFriday:"Friday",DayMonday:"Monday",DaySaturday:"Saturday",DaySunday:"Sunday",DayThursday:"Thursday",DayTuesday:"Tuesday",DayWednesday:"Wednesday",Email:"Email:",EmailOptions:"Email Options",FirstPage:"First Page",Hours:"Hours",LabelFrom:"From:",LabelSelectExportFormat:"Select the format to which you want to save the report:",LabelTo:"To:",LastPage:"Last Page",Loading:"Loading...",Message:"Message:",Minutes:"Minutes",MonthApril:"April",MonthAugust:"August",MonthDecember:"December",MonthFebruary:"February",MonthJanuary:"January",MonthJuly:"July",MonthJune:"June",MonthMarch:"March",MonthMay:"May",MonthNovember:"November",MonthOctober:"October",MonthSeptember:"September",NextPage:"Next Page",OnePage:"One Page",Page:"Page",PageOf:"of",PreviousPage:"Previous Page",PrintContinue:"Click Print to continue",PrintReport:"Print",PrintToPdf:"PDF",PrintToXps:"Microsoft XPS",PrintWithoutPreview:"Print",PrintWithPreview:"Preview",SaveReport:"Save",Subject:"Subject:",TabItemContacts:"Contacts",TextComputer:"Computer",TextItemsRoot:"Root",TodayDate:"Today",WholeReport:"Whole Report"},Adapters:{AdapterBusinessObjects:"Data from Business Objects",AdapterConnection:"Data from {0}",AdapterCrossTabDataSource:"Data from Cross-Tab",AdapterCsvFiles:"Data from CSV Files",AdapterDataTables:"Data from DataSet, DataTables",AdapterDataViews:"Data from DataViews",AdapterDB2Connection:"Data from IBM DB2 Connection",AdapterDBaseFiles:"Data from dBase Files",AdapterFirebirdConnection:"Data from Firebird Connection",AdapterInformixConnection:"Data from Informix Connection",AdapterMySQLConnection:"Data from MySQL Connection",AdapterOdbcConnection:"Data from ODBC Connection",AdapterOleDbConnection:"Data from OLE DB Connection",AdapterOracleConnection:"Data from Oracle Connection",AdapterOracleODPConnection:"Data from Oracle ODP.NET Connection",AdapterPostgreSQLConnection:"Data from PostgreSQL Connection",AdapterSqlCeConnection:"Data from SQL CE Connection",AdapterSqlConnection:"Data from SQL Connection",AdapterSQLiteConnection:"Data from SQLite Connection",AdapterTeradataConnection:"Data from Teradata Connection",AdapterUniDirectConnection:"Data from Uni Direct Connection",AdapterUserSources:"Data from User Sources",AdapterVirtualSource:"Data from other Data Source",AdapterVistaDBConnection:"Data from VistaDB Connection"},BarCode:{Post:"Post",TwoDimensional:"Two-Dimensional"},Buttons:{Add:"Add",AddAllColumns:"Add All Columns",Attach:"Attach",Build:"Build...",Buttons:"Buttons",Cancel:"&Cancel",Check:"Check",Close:"Close",Delete:"Delete",Design:"Design",Down:"Down",Duplicate:"Duplicate",Export:"Export",ForceDelete:"Force Delete",Help:"Help",Install:"Install",LessOptions:"Less Options",LoadDataSet:"Load DataSet (*.data)",More:"More",MoreApps:"More Apps",MoreOptions:"More Options",MoveLeft:"Move Left",MoveRight:"Move Right",MoveToResource:"Move to Resource",No:"&No",Ok:"&OK",Open:"Open",Print:"Print",Publish:"Publish",QuickPrint:"Quick Print",Remove:"Remove",RemoveAll:"Remove All",Rename:"Rename",RestoreDefaults:"Restore Defaults",Reverse:"Reverse",Save:"Save",SaveCopy:"Save a Copy",SetAll:"Set All",ShowLess:"Show Less",ShowMore:"Show More",ShowSpecific:"Show '{0}'",Submit:"Submit",Test:"Test",Up:"Up",Upgrade:"Upgrade",UpgradeNow:"Upgrade Now",Upload:"Upload",Waiting:"Waiting",Yes:"&Yes"},Chart:{AddTrendLine:"Add Trend Line",AddCondition:"&Add Condition",AddConstantLine:"Add Constant Line",AddFilter:"&Add Filter",AddSeries:"&Add Series",AddStrip:"Add Strip",Area:"Area",Axes:"Axes",AxisReverse:"Reverse",AxisX:"Axis X",AxisY:"Axis Y",BoxAndWhisker:"Box and Whisker",Bubble:"Bubble",Candlestick:"Candlestick",ChartConditionsCollectionForm:"Conditions",ChartEditorForm:"Chart Editor",ChartFiltersCollectionForm:"Filters",ChartType:"Chart Type",CheckBoxAutoRotation:"Auto Rotation",ClusteredBar:"Clustered Bar",ClusteredColumn:"Clustered Column",Common:"Common",ConstantLine:"Constant Line",ConstantLinesEditorForm:"Constant Lines Editor",DataColumns:"Data Columns",Doughnut:"Doughnut",Financial:"Financial",FullStackedArea:"Full-Stacked Area",FullStackedBar:"Full-Stacked Bar",FullStackedColumn:"Full-Stacked Column",FullStackedLine:"Full-Stacked Line",FullStackedSpline:"Full-Stacked Spline",FullStackedSplineArea:"Full-Stacked Spline Area",Funnel:"Funnel",FunnelWeightedSlices:"Funnel Weighted Slices",Gantt:"Gantt",GridInterlaced:"Interlaced",GridLines:"Grid Lines",Histogram:"Histogram",LabelAlignment:"Alignment:",LabelAlignmentHorizontal:"Horizontal:",LabelAlignmentVertical:"Vertical:",LabelAngle:"Angle:",LabelArgumentDataColumn:"Argument Data Column:",LabelAutoRotation:"Auto Rotation:",LabelCloseValueDataColumn:"Close Value Data Column:",LabelEndValueDataColumn:"End Value Data Column:",LabelHighValueDataColumn:"High Value Data Column:",LabelHorizontal:"Horizontal:",LabelLowValueDataColumn:"Low Value Data Column:",LabelMinorCount:"Minor Count:",LabelOpenValueDataColumn:"Open Value Data Column:",Labels:"Labels",LabelsCenter:"Center",LabelSeriesName:"Series Name:",LabelsInside:"Inside",LabelsInsideBase:"Inside Base",LabelsInsideEnd:"Inside End",LabelsNone:"None",LabelsOutside:"Outside",LabelsOutsideBase:"Outside Base",LabelsOutsideEnd:"Outside End",LabelsStyleCategory:"Category",LabelsStyleCategoryPercentOfTotal:"Category - Percent Of Total",LabelsStyleCategoryValue:"Category - Value",LabelsStylePercentOfTotal:"Percent Of Total",LabelsStyleValue:"Value",LabelsTwoColumns:"Two Columns",LabelTextAfter:"Text After:",LabelTextBefore:"Text Before:",LabelTitleAlignment:"Alignment:",LabelValueDataColumn:"Value Data Column:",LabelValueType:"Value Type:",LabelVertical:"Vertical:",LabelVisible:"Visible:",Legend:"Legend",LegendSpacing:"Spacing",Line:"Line",ListOfValues:"List of Values",Marker:"Marker",MoveConstantLineDown:"Move Constant Line Down",MoveConstantLineUp:"Move Constant Line Up",MoveSeriesDown:"Move Series Down",MoveSeriesUp:"Move Series Up",MoveStripDown:"Move Strip Down",MoveStripUp:"Move Strip Up",NoConditions:"No Conditions",NoFilters:"No Filters",Pareto:"Pareto",Pictorial:"Pictorial",Pie:"Pie",Radar:"Radar",RadarArea:"Radar Area",RadarColumn:"Radar Column",RadarLine:"Radar Line",RadarPoint:"Radar Point",Range:"Range",RangeBar:"Range Bar",RemoveCondition:"&Remove Condition",RemoveConstantLine:"Remove Constant Line",RemoveFilter:"&Remove Filter",RemoveSeries:"&Remove Series",RemoveStrip:"Remove Strip",RunChartWizard:"Run Chart &Wizard",Scatter:"Scatter",ScatterLine:"Scatter Line",ScatterSpline:"Scatter Spline",Series:"Series",SeriesColorsCollectionForm:"Series Colors",SeriesEditorForm:"Series Editor",Serieses:"Series",SparklinesArea:"Area",SparklinesColumn:"Column",SparklinesLine:"Line",SparklinesWinLoss:"Win / Loss",Spline:"Spline",SplineArea:"Spline Area",SplineRange:"Spline Range",StackedArea:"Stacked Area",StackedBar:"Stacked Bar",StackedColumn:"Stacked Column",StackedLine:"Stacked Line",StackedSpline:"Stacked Spline",StackedSplineArea:"Stacked Spline Area",SteppedArea:"Stepped Area",SteppedLine:"Stepped Line",SteppedRange:"Stepped Range",Stock:"Stock",Strip:"Strip",StripsEditorForm:"Strips Editor Form",Style:"Style",Sunburst:"Sunburst",Treemap:"Treemap",TrendLinesEditorForm:"Trend Lines Editor",Waterfall:"Waterfall"},CharterMapEditor:{Characters:"Characters"},ChartRibbon:{Axes:"Axes",AxesArrowStyle:"Arrow Style",AxesArrowStyleLines:"Lines",AxesArrowStyleNone:"None",AxesArrowStyleTriangle:"Triangle",AxesLabel:"Label Placement",AxesLabelsNone:"None",AxesLabelsOneLine:"One Line",AxesLabelsTwoLines:"Two Lines",AxesReverseHorizontal:"Reverse Horizontal",AxesReverseVertical:"Reverse Vertical",AxesTicks:"Ticks",AxesTicksMajor:"Major",AxesTicksMinor:"Minor",AxesTicksNone:"None",AxesVisible:"Visible",AxesXAxis:"X Axis",AxesXTopAxis:"X Top Axis",AxesYAxis:"Y Axis",AxesYRightAxis:"Y Right Axis",CenterLabels:"Center",ChangeType:"Change Type",GridLines:"Grid Lines",GridLinesHorizontal:"Grid Lines Horizontal",GridLinesVertical:"Grid Lines Vertical",HorAlCenter:"<b>Overlay Legend at Center</b><br>Show Legend at center of the chart</br><br>without resizing</br>",HorAlLeft:"<b>Overlay Legend at Left</b><br>Show Legend at left of the chart</br><br>without resizing</br>",HorAlLeftOutside:"<b>Show Legend at Left</b><br>Show Legend and align left</br>",HorAlRight:"<b>Overlay Legend at Right</b><br>Show Legend at right of the chart</br><br>without resizing</br>",HorAlRightOutside:"<b>Show Legend at Right</b><br>Show Legend and align right</br>",HorizontalMajor:"<b>Major</b><br>Display Horizontal Gridlines for Major units</br>",HorizontalMajorMinor:"<b>Major && Minor Gridlines</b><br>Display Horizontal Gridlines for Major and Minor units</br>",HorizontalMinor:"<b>Minor</b><br>Display Horizontal Gridlines for Minor units</br>",HorizontalNone:"<b>None</b><br>Do not display Horizontal Grirdlines</br>",InsideBaseLabels:"Inside Base",InsideEndLabels:"Inside End",Labels:"Series Labels",Legend:"Legend",LegendHorizontalAlignment:"Horizontal Alignment",LegendMarker:"Marker",LegendMarkerAlignmentLeft:"Left",LegendMarkerAlignmentRight:"Right",LegendMarkerVisible:"Visible",LegendVerticalAlignment:"Vertical Alignment",LegendVisible:"Visible",NoneLabels:"None",OutsideBaseLabels:"Outside Base",OutsideEndLabels:"Outside End",OutsideLabels:"Outside",ribbonBarAxis:"Axes",ribbonBarChartStyles:"Chart Styles",ribbonBarChartType:"Chart Type",ribbonBarLabels:"Labels",ribbonBarLegend:"Legend",Style:"Change Style",TwoColumnsPieLabels:"Two Columns",VertAlBottom:"<b>Overlay Legend at Bottom</b><br>Show Legend at bottom of the chart</br><br>without resizing</br>",VertAlBottomOutside:"<b>Show Legend at Bottom</b><br>Show Legend and align bottom</br>",VertAlCenter:"<b>Overlay Legend at Center</b><br>Show Legend at center of the chart</br><br>without resizing</br>",VertAlTop:"<b>Overlay Legend at Top</b><br>Show Legend at top of the chart</br><br>without resizing</br>",VertAlTopOutside:"<b>Show Legend at Top</b><br>Show Legend and align top</br>",VerticalMajor:"<b>Major</b><br>Display Vertical Gridlines for Major units</br>",VerticalMajorMinor:"<b>Major && Minor Gridlines</b><br>Display Vertical Gridlines for Major and Minor units</br>",VerticalMinor:"<b>Minor</b><br>Display Vertical Gridlines for Minor units</br>",VerticalNone:"<b>None</b><br>Do not display Vertical Gridlines</br>"},Cloud:{AcceptTermsAndPrivacyPolicy:"I read and accept the {0} and {1}",Account:"Account",AccountSettings:"Account Settings",AddAPlace:"Add a Place",AreYouSureYouWantDeleteReport:'Are you sure you want to delete "{0}" report from disk?',Authorize:"Authorize",AuthorizeWithLicenseKey:"Authorize with License Key",ButtonChangePassword:"Change Password",ButtonDeleteAll:"Delete All",ButtonDesign:"Design Report",ButtonLater:"Later",ButtonLogInWith:"Log In with {0}",ButtonLogout:"Logout",ButtonPublish:"Publish",ButtonPurchase:"Purchase",ButtonRecover:"Recover",ButtonRenew:"Renew",ButtonResendEmail:"Resend Email",ButtonResetPassword:"Reset Password",ButtonRun:"Run",ButtonShare:"Share",ButtonSignUp:"Sign Up",ButtonSignUpWith:"Sign Up with {0}",ButtonSkip:"Skip",ButtonView:"View",ButtonWhereUsed:"Where is it used?",Cancel:"Cancel",CheckBoxMoveToRecycleBin:"Move to Recycle Bin",CheckBoxRememberMe:"Remember Me",CheckForUpdate:"Check for Update",Cloud:"Cloud",Collection:"Collection",Create:"Create",CreateError:"Error while creating report!",CreateNewCollection:"Create New Collection",CreatingReport:"Creating report...",DashboardWindowTitleNew:"New Dashboard",DeleteFile:"Delete File",DoNotAskMe:"Do not ask me again",ExecutionError:"Execution error",ExpiredDate:"Expired Date",FileStorageWindowTitleEdit:"Edit File Storage",FileStorageWindowTitleNew:"New File Storage",FolderWindowTitleEdit:"Edit Folder",FolderWindowTitleNew:"New Folder",ForExample:"For example",GroupBoxAttachedItems:"Attached Items",HyperlinkAgreeToTerms:"By registering you agree to Terms.",HyperlinkAlreadyHaveAccount:"Already have account",HyperlinkForgotPassword:"Forgot password",HyperlinkHavePassword:"Have password",HyperlinkRegisterAccount:"Register FREE account",InstallSamples:"Install Samples",LabelAddCloudFolder:"Connect your Stimulsoft Cloud folder with reports and dashboards.",LabelAddFolder:"Add your local folder with reports and dashboards.",labelCollectionName:"Collection Name:",LabelCreated:"Created:",LabelCreateFolder:"Create a new category in which you can place other items.",LabelCreateNewDashboard:"Create new dashboard.",LabelCreateReportTemplate:"Create report template.",LabelCurrentPassword:"Current Password:",LabelDataFile:"Data File:",LabelDataUrl:"Data URL:",LabelEndDate:"End Date:",labelFileName:"File Name:",LabelForeground:"Foreground:",LabelFromReport:"From Report",LabelFromReportCode:"From Report (define in code)",LabelLastLogin:"Last Log In:",LabelLastTime:"Last Time:",LabelModified:"Modified:",LabelNewPassword:"New Password:",LabelNextTime:"Next Time:",labelPassword:"Password:",LabelPermission:"Permission:",LabelPicture:"Picture:",LabelRenderedReport:"Rendered report",LabelResponseAsFile:"Response as File",LabelResultType:"Result Type:",LabelSeparateReport:"Separate report (and scripts) file",LabelShowReport:"Show report:",labelUserName:"User Name:",License:"License",LicenseInformation:"License Information",LicenseKey:"License Key",Login:"Log In",NofM:"{0}: {1} of {2}",Open:"Open",OpenFile:"Open File",OperationCreate:"Create '{0}'",OperationDelete:"Delete '{0}' from Server",OperationDownload:"Download from Server",OperationGetList:"Get List of Files from Server",OperationLogin:"Log In to Server",OperationRename:"Rename '{0}' to '{1}'",OperationUpload:"Upload '{0}' to Server",page:"page",Platforms:"Platforms",Port:"Port",PrivacyPolicy:"Privacy",Products:"Products",Proxy:"Proxy",PublishMessage:"In order to publish this report you should submit it to our service publish.stimulsoft.com",questionOpenThisFile:"Are you sure want to open '{0}' item?",questionOverrideItem:"Do you really want to override '{0}' item?",questionRemoveItem:"Do you really want to remove '{0}' item?",RefreshList:"Refresh List",ReportDocumentFormatNotRecognized:"Format of '{0}' item is not recognized as rendered report format!",ReportTemplateFormatNotRecognized:"Format of '{0}' item is not recognized as report template format!",RequestChangesWhenSavingToCloud:"Request Changes when Saving to Stimulsoft Cloud",RibbonButtonAddRole:"Add Role",RibbonButtonAddUser:"Add User",RibbonButtonAddWorkspace:"Add Workspace",RibbonButtonFolder:"Folder",RibbonTabUsers:"Users",Root:"Root",RootFolder:"Root Folder",Save:"Save",SaveAccountSettings:"Save Account Settings",SaveAsType:"Save as type",SaveFile:"Save File",SavingToStimulsoftCloudPleaseWait:"Saving the report to Stimulsoft Cloud. Please wait!",SearchForOnlineTemplates:"Search for online templates",ShareWindowTitleNew:"Share",ShowAllFiles:"Show All Files",ShowNotificationMessages:"Show Notification Messages",Subscriptions:"Subscriptions",TabItemEmbedCode:"Embed Code",TabItemQRCode:"QR Code",TabItemShare:"Link to Share",TermsOfUse:"Terms",TextActivated:"Activated",TextActivationDate:"Activation Date",TextDelete:"Delete",TextDeletingItems:"Deleting items...",TextDescriptionChanges:"Please, type a description of the changes:",TextFirstName:"First Name",TextFromTo:"From {0} to {1} (Total - {2})",TextItemsWorkspace:"Workspace",TextLastName:"Last Name",TextModify:"Modify",TextNoFavoriteFiles:"No favorite files",TextNoFiles:"No files",TextNoNotifications:"No Notifications",TextNoRecentFiles:"No recent files",TextOwner:"Owner",TextProfile:"Profile",TextReports:"Reports",TextRestoringItems:"Restoring items...",TextRole:"Role",TextRun:"Run",TextUser:"User",TextUserName:"User Name (Email)",TimeHoursAgoFive:"Five hours ago, {0:t}",TimeHoursAgoFour:"Four hours ago, {0:t}",TimeHoursAgoOne:"One hour ago, {0:t}",TimeHoursAgoThree:"Three hours ago, {0:t}",TimeHoursAgoTwo:"Two hours ago, {0:t}",TimeMinutesAgoFive:"Five minutes ago, {0:t}",TimeMinutesAgoFour:"Four minutes ago, {0:t}",TimeMinutesAgoLessOne:"Less than a minute ago",TimeMinutesAgoN:"{0} minutes ago, {1:t}",TimeMinutesAgoOne:"One minute ago, {0:t}",TimeMinutesAgoThree:"Three minutes ago, {0:t}",TimeMinutesAgoTwo:"Two minutes ago, {0:t}",TimeToday:"Today, {0:t}",TimeYesterday:"Yesterday, {0:t}",ToolTipAddRole:"Creating a new role in the workspace.",ToolTipAddUser:"Creating a new user in the selected role.",ToolTipAspNet:"Publish the selected report to the ASP.NET application.",ToolTipAspNetMvc:"Publish the selected report to the ASP.NET MVC application.",ToolTipAttach:"Attach items to the selected report.",ToolTipCreate:"Create a new item.",ToolTipDelete:"Delete the selected items.",ToolTipDeleted:"Show deleted items",ToolTipDownload:"Download the selected item.",ToolTipEdit:"Edit the selected item.",ToolTipGridMode:"List view",ToolTipInfo:"View details",ToolTipJs:"Publish the selected report as the HTML page",ToolTipPublish:"Prepare the selected report to be deployed in your application.",ToolTipRecover:"Recover the selected items.",ToolTipRunWithoutPreview:"Render the selected report without preview",ToolTipShare:"Share the selected file.",ToolTipSort:"Sort options",ToolTipThumbnailMode:"Thumbnail View",ToolTipViewFile:"Show the selected file.",ToolTipViewReport:"Show the selected report in the viewer.",WeDidntFindAnything:"We didn't find anything to show here.",WindowDescriptionDelete:"Are you sure you want to delete the selected items?",WindowDescriptionRecover:"Selected items will be recovered from the Recycle Bin.",WindowTitleDelete:"Delete Items",WindowTitleForgotPassword:"Forgot Password",WindowTitleLogin:"Log In",WindowTitleRecover:"Recover Items",WindowTitleRoleEdit:"Edit Role",WindowTitleRoleNew:"New Role",WindowTitleSignUp:"Sign Up",WindowTitleUserEdit:"Edit User",WindowTitleUserNew:"New User",WindowTitleWorkspaceEdit:"Edit Workspace",WindowTitleWorkspaceNew:"New Workspace",WizardBlankReportDescription:"Create a blank report",WizardExcelDescription:"Create a report with Excel data.",WizardJsonDescription:"Create a report with JSON data.",WizardPrivateShare:"No Access",WizardPrivateShareDescription:"External access to the item is restricted.",WizardPublicShare:"Public Access",WizardPublicShareDescription:"External access for any unauthorized user.",WizardRegisteredShare:"Authorized Access",WizardRegisteredShareDescription:"External access only for registered users from any workspace.",WizardXmlDescription:"Create a report with XML data."},Components:{StiBarCode:"Bar Code",StiChart:"Chart",StiCheckBox:"Check Box",StiChildBand:"Child",StiClone:"Clone",StiColumnFooterBand:"Column Footer",StiColumnHeaderBand:"Column Header",StiComboBox:"Combo Box",StiComponent:"Component",StiContainer:"Container",StiContourText:"Contour Text",StiCrossColumn:"Cross-Column",StiCrossColumnTotal:"Cross-Column Total",StiCrossDataBand:"Cross-Data",StiCrossFooterBand:"Cross-Footer",StiCrossGroupFooterBand:"Cross-Group Footer",StiCrossGroupHeaderBand:"Cross-Group Header",StiCrossHeaderBand:"Cross-Header",StiCrossRow:"Cross-Row",StiCrossRowTotal:"Cross-Row Total",StiCrossSummary:"Cross-Summary",StiCrossSummaryHeader:"Cross-Summary Header",StiCrossTab:"Cross-Tab",StiCrossTitle:"Cross-Title",StiDashboard:"Dashboard",StiDataBand:"Data",StiDatePicker:"Date Picker",StiEmptyBand:"Empty Data",StiFooterBand:"Footer",StiGauge:"Gauge",StiGroupFooterBand:"Group Footer",StiGroupHeaderBand:"Group Header",StiHeaderBand:"Header",StiHierarchicalBand:"Hierarchical Data",StiHorizontalLinePrimitive:"Horizontal Line",StiImage:"Image",StiIndicator:"Indicator",StiListBox:"List Box",StiMap:"Map",StiOnlineMap:"Online Map",StiOverlayBand:"Overlay",StiPage:"Page",StiPageFooterBand:"Page Footer",StiPageHeaderBand:"Page Header",StiPanel:"Panel",StiPivotColumn:"Pivot Column",StiPivotRow:"Pivot Row",StiPivotSummary:"Pivot Summary",StiPivotTable:"Pivot Table",StiProgress:"Progress",StiRectanglePrimitive:"Rectangle",StiRegionMap:"Region Map",StiReport:"Report",StiReportSummaryBand:"Report Summary",StiReportTitleBand:"Report Title",StiRichText:"Rich Text",StiRoundedRectanglePrimitive:"Rounded Rectangle",StiShape:"Shape",StiSparkline:"Sparkline",StiSubReport:"Sub-Report",StiSystemText:"System Text",StiTable:"Table",StiTableOfContents:"Table of Contents",StiText:"Text",StiTextInCells:"Text in Cells",StiTreeView:"Tree View",StiTreeViewBox:"Tree View Box",StiVerticalLinePrimitive:"Vertical Line",StiWinControl:"Win Control",StiZipCode:"ZIP Code"},Dashboard:{AddRange:"Add Range",AfterGroupingData:"Apply after grouping data",AllowUserDrillDown:"Allow User Drill-Down",AllowUserFiltering:"Allow User Filtering",AllowUserSorting:"Allow User Sorting",Blank:"(Blank)",Blanks:"(Blanks)",BooleanFilters:"Boolean Filters",CannotLoadDashboard:"You cannot load a report with dashboards.",ChangeChartType:"Change Chart Type",ChangeMapType:"Change Map Type",ClearAllFormatting:"Clear All Formatting",ClearFilterFrom:"Clear Filter from '{0}'",ColorScale:"Color Scale",ColumnInteractions:"Column Interactions",CustomFilter:"Custom &Filter...",DashboardsNotSupportedIntheWPFDesigner:"Dashboards are not supported in the WPF Designer.",DataBars:"Data Bars",DataFilterGrouping:"This operation is used for grouping different columns only.",DataNotDefined:"Data is not defined",DateFilters:"Date Filters",Dimension:"Dimension",Dimensions:"Dimensions",DragDropData:"Drag & drop data",DragDropDataFromDictionary:"Drag & drop data from Dictionary",DrillDown:"Drill-Down",DrillDownFiltered:"Drill-Down Filtered",DrillDownSelected:"Drill-Down Selected",DrillUp:"Drill Up",DuplicateField:"Duplicate Field",EditExpression:"Edit Expression",EditField:"Edit Field",EmptyDashboardFooter:"Drag & drop component from ToolBox or data from Dictionary",EmptyDashboardHeader:"Dashboard is empty",FieldInteractions:"Field Interactions",FieldTypeRestrictionHint:"Only '{0}' type field can be used!",FirstLastPoints:"First / Last Points",FirstRowIndex:"First Row Index",FullRowSelect:"Full Row Select",HighLowPoints:"High / Low Points",ImageNotSpecified:"Image not specified",Indicator:"Indicator",InitialValue:"Initial Value",LimitRows:"Skip and Limit Rows",Measure:"Measure",Measures:"Measures",NewDimension:"New Dimension",NewField:"New Field",NewMeasure:"New Measure",NoRanges:"No Ranges",NoResult:"No Result",NSelected:"{0} selected",Nulls:"(Nulls)",NumberFilters:"Number Filters",ParentElement:"Parent Element",RangeMode:"Range Mode",RangeType:"Range Type",RemoveActions:"R&emove Actions",RemoveAllFields:"Remove All Fields",RemoveField:"Remove Field",RemoveMobileSurface:"Remove Mobile Surface",ReplaceValues:"Replace Values",ReportSnapshot:"Report Snapshot",RowsCount:"Rows Count",RunFieldsEditor:"Run Fields Editor",RunFieldsEditorInfo:"Run the Fields Editor to change interaction of each table column.",SelectAll:"(Select &All)",ShowAllValue:"Show (All) Value",ShowAsPercentages:"Show as Percentages",ShowBlanks:"Show Blanks",SkipFirstRows:"Skip First Rows",SortAZ:"Sort A to Z",SortLargestToSmallest:"Sort Largest to Smallest",SortNewestToOldest:"Sort Newest to Oldest",SortOldestToNewest:"Sort Oldest to Newest",SortSmallestToLargest:"Sort Smallest to Largest",SortZA:"Sort Z to A",Sparklines:"Sparklines",StringFilters:"String Filters",TransformationHint:"Click on the table header to apply sorting, filtering or change data. This transformation will be applied only to the data of this item.",Trend:"Trend",ViewEditCompilationNotice:"You can't edit the report which has the 'Report.CalculationMode' property equals to 'Compilation' value. Please set that property to an 'Interpretation' value.",ViewModeDesktop:"Desktop",ViewModeMobile:"Mobile"},Database:{Connection:"Connection",Database:"{0} Connection",DatabaseDB2:"IBM DB2 Connection",DatabaseFirebird:"Firebird Connection",DatabaseInformix:"Informix Connection",DatabaseJson:"JSON Data",DatabaseMySQL:"MySQL Connection",DatabaseOdbc:"ODBC Connection",DatabaseOleDb:"OLE DB Connection",DatabaseOracle:"Oracle Connection",DatabaseOracleODP:"Oracle ODP.NET Connection",DatabasePostgreSQL:"PostgreSQL Connection",DatabaseSql:"SQL Connection",DatabaseSqlCe:"SQLServerCE Connection",DatabaseSQLite:"SQLite Connection",DatabaseTeradata:"Teradata Connection",DatabaseUniDirect:"Uni Direct Connection",DatabaseVistaDB:"VistaDB Connection",DatabaseXml:"XML Data"},DatePickerRanges:{CurrentMonth:"Current Month",CurrentQuarter:"Current Quarter",CurrentWeek:"Current Week",CurrentYear:"Current Year",FirstQuarter:"First Quarter",FourthQuarter:"Fourth Quarter",Index:"Index",Last14Days:"Last 14 Days",Last30Days:"Last 30 Days",Last7Days:"Last 7 Days",MonthToDate:"Month To Date",NextMonth:"Next Month",NextQuarter:"Next Quarter",NextWeek:"Next Week",NextYear:"Next Year",PreviousMonth:"Previous Month",PreviousQuarter:"Previous Quarter",PreviousWeek:"Previous Week",PreviousYear:"Previous Year",Quarter:"Quarter",QuarterToDate:"Quarter To Date",SecondQuarter:"Second Quarter",ThirdQuarter:"Third Quarter",Today:"Today",Tomorrow:"Tomorrow",WeekToDate:"Week To Date",Year:"Year",YearToDate:"Year To Date",Yesterday:"Yesterday"},DesignerFx:{AlreadyExists:"'{0}' already exists.",CanNotLoadThisReportTemplate:"Can't load this report template.",CloseDataSourceEditor:"Do you want to close data source editor?",CloseEditor:"Do you want to close editor?",CompilingReport:"Compiling Report",Connecting:"Connecting to Server",ConnectionError:"Connection error",ConnectionSuccessfull:"Connection was successful",Continue:"Continue",DecryptionError:"Decryption error: Wrong password or corrupted file.",EmailSuccessfullySent:"The Email has been successfully sent.",ErrorAtSaving:"Error at saving",ErrorCode:"Error at saving. Error code: {0}",ErrorServer:"Error at saving. Server doesn't respond.",ExportingReport:"Exporting Report",LoadingCode:"Loading Code",LoadingConfiguration:"Loading Configuration",LoadingData:"Loading Data",LoadingDocument:"Loading Document",LoadingImages:"Loading Images",LoadingLanguage:"Loading Language",LoadingReport:"Loading Report",PreviewAs:"Preview as {0}",RenderingReport:"Rendering Report",ReportSuccessfullySaved:"Report is successfully saved.",RetrieveError:"Retrieve columns error",RetrievingColumns:"Retrieving Columns",SavingConfiguration:"Saving Configuration",SavingReport:"Saving Report",TestConnection:"Test Connection",TextNotFound:"The specified text was not found. Text : {0}"},Desktop:{Beginner:"Beginner",ButtonAddCloud:"Add Cloud Folder",ButtonAddFolder:"Add Folder",ButtonCreateDashboard:"Create Dashboard",ButtonCreateReport:"Create Report",ChooseYourSkillLevel:"Choose your skill level",Creator:"Creator",Developer:"Developer",DoYouWantToInstallReports:"Do you want to install templates of reports and dashboards?",InstallSamplesDesc:"Let's install our sample projects. They will help you learn the basics of working with our software.",PleaseAnswerWhoAreYou:"Please, answer who you are?",SkillLevel:"Skill Level",WhoAreYou:"Who Are you?",WhoAreYouBeginnerDescription:"Perfect fit if you are doing the first run of the designer.",WhoAreYouCreatorDescription:"Perfect fit for creating reports. The necessary functionality for design is available.",WhoAreYouDeveloperDescription:"Perfect fit for creating applications. Complete functionality for the report design and embedding components included."},Dialogs:{StiButtonControl:"Button",StiCheckBoxControl:"Check Box",StiCheckedListBoxControl:"Checked List Box",StiComboBoxControl:"Combo Box",StiDateTimePickerControl:"Date Time Picker",StiForm:"Form",StiGridControl:"Grid",StiGroupBoxControl:"Group Box",StiLabelControl:"Label",StiListBoxControl:"List Box",StiListViewControl:"List View",StiLookUpBoxControl:"LookUp Box",StiNumericUpDownControl:"Numeric Up Down",StiPanelControl:"Panel",StiPictureBoxControl:"Picture Box",StiRadioButtonControl:"Radio Button",StiReportControl:"Report Control",StiRichTextBoxControl:"Rich Text Box",StiTextBoxControl:"Text Box",StiTreeViewControl:"Tree View"},Editor:{CantFind:"Cannot find the data you're searching for.",CollapseToDefinitions:"C&ollapse to Definitions",Column:"Column: {0}",EntireScope:"&Entire Scope",Find:"&Find",FindNext:"&Find Next",FindWhat:"Find What:",FromCursor:"From Cursor",GotoLine:"Go To &Line",InsertLink:"Insert Link",InsertSymbol:"Insert Symbol",Line:"Line: {0}",LineNumber:"Line Number:",LineNumberIndex:"Line Number ({0} - {1})",MarkAll:"&Mark All",MatchCase:"Match &Case",MatchWholeWord:"Match &Whole Word",Outlining:"Out&lining",PromptOnReplace:"Prompt on Replace",Replace:"&Replace",ReplaceAll:"Replace &All",ReplaceWith:"Replace With:",Search:"Search",SearchHiddenText:"Hidden Text",SearchUp:"Search &Up",SelectionOnly:"Selection &Only",ShowAutoGeneratedCode:"Show Auto Generated Code",ShowLineNumbers:"Show Line Numbers",StopOutlining:"Sto&p Outlining",titleFind:"Find",titleGotoLine:"Go To Line",titleReplace:"Replace",ToggleAllOutlining:"Toggle A&ll Outlining",ToggleOutliningExpansion:"&Toggle Outlining Expansion",TypeToSearch:"Type to search",UseRegularExpressions:"Use &Regular Expressions"},Errors:{ComponentIsNotRelease:'Component is not release "{0}".',ContainerIsNotValidForComponent:"Container {0} is not valid for component {1}.",DataNotFound:"Data not found.",DataNotLoaded:"No data loaded.",Error:"Error!",ErrorsList:"Errors List",FieldRequire:'Field "{0}" required filling.',FileNotFound:'File "{0}" not found.',IdentifierIsNotValid:"Identifier '{0}' is not valid.",ImpossibleFindDataSource:"Impossible to Find Data Source.",NameExists:"There is already an object named '{0}'. Objects must have unique names.",NoServices:"Services are not found in '{0}'",NotAssign:"Data Source is not specified.",NotCorrectFormat:"Input string was not in a correct format.",PrimaryColumnAction:"Unable to apply this action to the primary column of the '{0}'.",RelationsNotFound:"Relations not found.",ReportCannotBeSaveDueToErrors:"Report cannot be saved due to errors!",ServiceNotFound:"'{0}' Service not found."},ExceptionProvider:{Assemblies:"Assemblies",Exception:"Exception",ExceptionReport:"Exception Report",Framework:"Framework",General:"General",Message:"Message",Number:"Number",PleaseEnterDetailedInformation:"Please enter detailed information about events which cause this exception.",SaveToFile:"Save to File",SendErrorFailed:"Failed to deliver the error message.",SendErrorSuccess:"The error message delivered successfully.",Source:"Source",StackTrace:"Stack Trace"},Export:{AddPageBreaks:"Add Page Breaks",AllBands:"All bands",AllowAddOrModifyTextAnnotations:"Allow Add or Modify Text Annotations",AllowCopyTextAndGraphics:"Allow Copy Text and Graphics",AllowEditable:"Allow Editable:",AllowModifyContents:"Allow Modify Contents",AllowPrintDocument:"Allow Print Document",Auto:"Auto",BandsFilter:"Bands Filter:",CancelExport:"Cancel Export",Color:"Color",Compressed:"Compressed",CompressToArchive:"Compress to Archive",ContinuousPages:"Continuous Pages",DataAndHeaders:"Data and Headers",DataAndHeadersFooters:"Data and Headers/Footers",DataOnly:"Data only",DigitalSignature:"Digital Signature",DigitalSignatureCertificateNotSelected:"Certificate is not selected",DigitalSignatureError:"Digital Signature error at step",DocumentSecurity:"Document Security",DotMatrixMode:"Dot-Matrix Mode",EmbeddedFonts:"Embedded Fonts",EmbeddedImageData:"Embedded Image Data",Encoding:"Encoding:",EncryptionError:"Encryption error at step",EscapeCodes:"Escape Codes",Exactly:"Exactly",ExceptEditableFields:"Except Editable Fields",ExportDataOnly:"Export Data Only",ExportEachPageToSheet:"Export Each Page to Sheet",Exporting:"Exporting",ExportingCalculatingCoordinates:"Calculating Coordinates",ExportingCreatingDocument:"Creating Document",ExportingFormatingObjects:"Formatting Objects",ExportingReport:"Exporting Report",ExportMode:"Export Mode:",ExportModeFrame:"Frame",ExportModeTable:"Table",ExportObjectFormatting:"Export Object Formatting",ExportPageBreaks:"Export Page Breaks",ExportRtfTextAsImage:"Export Rich Text as Image",ExportTypeBmpFile:"BMP Image...",ExportTypeCalcFile:"OpenDocument Calc File...",ExportTypeCsvFile:"CSV File...",ExportTypeDataFile:"Data File...",ExportTypeDbfFile:"dBase DBF File...",ExportTypeDifFile:"Data Interchange Format (DIF) File...",ExportTypeExcel2007File:"Microsoft Excel 2007 File...",ExportTypeExcelFile:"Microsoft Excel File...",ExportTypeExcelXmlFile:"Microsoft Excel XML File...",ExportTypeGifFile:"GIF Image...",ExportTypeHtml5File:"HTML5 File...",ExportTypeHtmlFile:"HTML File...",ExportTypeImageFile:"Image File...",ExportTypeJpegFile:"JPEG Image...",ExportTypeJsonFile:"JSON File...",ExportTypeMetafile:"Windows Metafile...",ExportTypeMhtFile:"MHT Web Archive...",ExportTypePcxFile:"PCX Image...",ExportTypePdfFile:"Adobe PDF File...",ExportTypePngFile:"PNG Image...",ExportTypePpt2007File:"Microsoft PowerPoint File...",ExportTypeRtfFile:"Rich Text File...",ExportTypeSvgFile:"Scalable Vector Graphics (SVG) File...",ExportTypeSvgzFile:"Compressed SVG (SVGZ) File...",ExportTypeSylkFile:"Symbolic Link (SYLK) File...",ExportTypeTiffFile:"TIFF Image...",ExportTypeTxtFile:"Text File...",ExportTypeWord2007File:"Microsoft Word File...",ExportTypeWriterFile:"OpenDocument Writer File...",ExportTypeXmlFile:"XML File...",ExportTypeXpsFile:"Microsoft XPS File...",GetCertificateFromCryptoUI:"Get Certificate from Crypto UI",ImageCompressionMethod:"Image Compression Method:",ImageCutEdges:"Cut Edges",ImageFormat:"Image Format:",ImageGrayscale:"Grayscale",ImageMonochrome:"Monochrome",ImageQuality:"Image Quality:",ImageResolution:"Image Resolution:",ImageResolutionMode:"Image Resolution Mode:",ImageType:"Image Type",labelEncryptionKeyLength:"Encryption Key Length:",labelOwnerPassword:"Owner Password:",labelSubjectNameString:"Subject Name String:",labelUserPassword:"User Password:",MonochromeDitheringType:"Monochrome Dithering Type:",MoreSettings:"More Settings",MultipleFiles:"Multiple Files",NoMoreThan:"No More Than",OpenAfterExport:"Open After Export",PdfACompliance:"PDF/A Compliance",PrintingReport:"Printing Report",RemoveEmptySpaceAtBottom:"Remove Empty Space at Bottom of Page",RestrictEditing:"Restrict Editing:",Scale:"Scale:",Separator:"Separator:",Settings:"Settings",SkipColumnHeaders:"Skip Column Headers",StandardPDFFonts:"Standard PDF Fonts",TiffCompressionScheme:"TIFF Compression Scheme:",title:"Export Settings",TxtBorderType:"Border Type",TxtBorderTypeDouble:"Unicode-Double",TxtBorderTypeSimple:"Simple",TxtBorderTypeSingle:"Unicode-Single",TxtCutLongLines:"Cut Long Lines",TxtDrawBorder:"Draw Border",TxtKillSpaceGraphLines:"Kill Space Graph Lines",TxtKillSpaceLines:"Kill Space Lines",TxtPutFeedPageCode:"Put Feed Page Code",Type:"Type:",UseDefaultSystemEncoding:"Use Default System Encoding",UseDigitalSignature:"Use Digital Signature",UseEscapeCodes:"Use Escape Codes",UseOnePageHeaderAndFooter:"Use One Page Header and Footer",UsePageHeadersAndFooters:"Use Page Headers and Footers",UseUnicode:"Use Unicode",X:"X:",Y:"Y:",Zoom:"Zoom:"},FileFilters:{AllFiles:"All Files",AllImageFiles:"All Image Files",BitmapFiles:"Bitmap Files",BmpFiles:"BMP Images (*.bmp)|*.bmp",CalcFiles:"OpenDocument Calc Files (*.ods)|*.ods",CsvFiles:"CSV Files (*.csv)|*.csv",DashboardTemplates:"Dashboard Templates (*.sbi)|*.sbi",DataSetXmlData:"DataSet XML Data (*.xml)|*.xml",DataSetXmlSchema:"DataSet XML Schema (*.xsd)|*.xsd",DbfFiles:"DBF Files (*.dbf)|*.dbf",DictionaryFiles:"Report Dictionaries (*.dct)|*.dct",DifFiles:"DIF Files (*.dif)|*.dif",DllFiles:"DLL Files (*.dll)|*.dll",DocumentFiles:"Report Documents (*.mdc)|*.mdc",EmfFiles:"Metafiles (*.emf)|*.emf",EncryptedDocumentFiles:"Encrypted Report Documents (*.mdx)|*.mdx",EncryptedReportFiles:"Encrypted Report Templates (*.mrx)|*.mrx",Excel2007Files:"Microsoft Excel files (*.xlsx)|*.xlsx",ExcelAllFiles:"Microsoft Excel files (*.xlsx;*.xls)|*.xlsx;*.xls",ExcelFiles:"Microsoft Excel 97-2003 files (*.xls)|*.xls",ExcelXmlFiles:"Microsoft Excel XML files (*.xml)|*.xml",ExeFiles:"EXE Files (*.exe)|*.exe",GifFiles:"GIF Image (*.gif)|*.gif",HtmlFiles:"HTML Files (*.html)|*.html",InheritedLanguageFiles:"{0} Classes for Inherited Reports (*.{1})|*.{2}",JpegFiles:"JPEG image (*.jpg;*.jpeg)|*.jpg;*.jpeg",JsonDocumentFiles:"JSON Report Documents (*.mdc)|*.mdc",JsonFiles:"JSON Files (*.json)|*.json",JsonReportFiles:"JSON Report Templates (*.mrt)|*.mrt",LanguageFiles:"{0} Classes (*.{1})|*.{2}",LanguageForSilverlightFiles:"{0} Classes for Silverlight Reports (*.{1})|*.{2}",MetaFiles:"Metafiles",MhtFiles:"MHT Web Archives (*.mht)|*.mht",PackedDocumentFiles:"Packed Report Documents (*.mdz)|*.mdz",PackedReportFiles:"Packed Report Templates (*.mrz)|*.mrz",PageFiles:"Report Pages (*.pg)|*.pg",PcxFiles:"PCX Images (*.pcx)|*.pcx",PdfFiles:"Adobe PDF Files (*.pdf)|*.pdf",PngFiles:"PNG Images (*.png)|*.png",Ppt2007Files:"Microsoft PowerPoint 2007/2013 Files (*.pptx)|*.pptx",ReportEmbededDataFiles:"Report Templates with Embedded Data (*.mrt)|*.mrt",ReportFiles:"Report Templates (*.mrt)|*.mrt",RtfFiles:"Rich Text (*.rtf)|*.rtf",StandaloneReportFiles:"Standalone Reports (*.exe)|*.exe",StylesFiles:"Report Styles (*.sts)|*.sts",SvgFiles:"SVG Images (*.svg)|*.svg",SvgzFiles:"Compressed SVG Images (*.svgz)|*.svgz",SylkFiles:"SYLK Files (*.slk)|*.slk",TiffFiles:"TIFF Images (*.tiff)|*.tiff",TxtFiles:"Plain Text Files (*.txt)|*.txt",Word2007Files:"Microsoft Word 2007-2016 Files (*.docx)|*.docx",WordFiles:"Microsoft Word 97-2003 Files (*.doc)|*.doc",WriterFiles:"OpenDocument Writer Files (*.odt)|*.odt",XmlFiles:"XML Files (*.xml)|*.xml",XpsFiles:"Microsoft XPS Files (*.xps)|*.xps",ZipArchives:"ZIP Archives (*.zip)|*.zip"},Formats:{custom01:"d",custom02:"D",custom03:"f",custom04:"F",custom05:"yy/MM/dd",custom06:"yyyy/MM/dd",custom07:"G",custom08:"$0.00",custom09:"$0",custom10:"c",custom11:"c1",custom12:"c2",custom13:"#.00",custom14:"#,#",custom15:"n",custom16:"n1",custom17:"n2",custom18:"(###) ### - ####",date01:"*d",date02:"*D",date03:"M.dd",date04:"yy.M.dd",date05:"yy.MM.dd",date06:"MMM.dd",date07:"yy.MMM.dd",date08:"yyyy, MMMM",date09:"*f",date10:"*F",date11:"MM.dd.yyyy",date12:"dd/MM/yyyy",date13:"*g",date14:"*G",date15:"*y",date16:"*m",date17:"s",date18:"u",date19:"*Q",date20:"*YQ",date21:"QI",date22:"YQI",time01:"*t",time02:"*T",time03:"HH:mm",time04:"H:mm",time06:"HH:mm:ss"},FormBand:{AddFilter:"&Add Filter",AddGroup:"&Add Group",AddResult:"&Add Result",AddSort:"&Add Sort",And:"and",Ascending:"Ascending",Descending:"Descending",NoFilters:"No Filters",NoSort:"No Sorting",RemoveFilter:"&Remove Filter",RemoveGroup:"&Remove Group",RemoveResult:"&Remove Result",RemoveSort:"&Remove Sort",SortBy:"Sort by",ThenBy:"Then by",title:"Data Setup"},FormColorBoxPopup:{Color:"Color",Custom:"Custom",NoColor:"No Color",Others:"Others...",System:"System",Web:"Web"},FormConditions:{AaBbCcYyZz:"AaBbCcYyZz",AddCondition:"&Add Condition",AddLevel:"Add Level",AssignExpression:"Assign Expression",BreakIfTrue:"Break if True",BreakIfTrueToolTip:"Breaks condition processing if current one is fulfilled",ChangeFont:"Change Font...",ComponentIsEnabled:"Component is Enabled",NoConditions:"No Conditions",RemoveCondition:"&Remove Condition",SelectStyle:"Select Style",title:"Conditions"},FormCrossTabDesigner:{Columns:"Columns:",DataSource:"Data Source:",Properties:"Properties:",Rows:"Rows:",Summary:"Summary:",Swap:"Swap Rows / Columns",title:"Cross-Tab Designer"},FormDatabaseEdit:{AccessToken:"Access token",AuthorizationCode:"Authorization Code",ClientId:"Client Id",ClientSecret:"Client Secret",ConnectionString:"Connection String:",DashboardConnections:"Dashboard Connections",DatabaseSecret:"Database Secret",DB2Edit:"Edit IBM DB2 Connection",DB2New:"New IBM DB2 Connection",EditConnection:"Edit {0} Connection",Favorites:"Favorites",FirebirdEdit:"Edit Firebird Connection",FirebirdNew:"New Firebird Connection",FirstRowIsHeader:"First Row is Header",GetAuthorizationCode:"Get authorization code",GetTokens:"Get tokens",GisEdit:"Edit GIS Data",GisNew:"New GIS Data",ImportData:"Import Data",InformixEdit:"Edit Informix Connection",InformixNew:"New Informix Connection",InitialCatalog:"Initial Catalog:",JsonEdit:"Edit JSON Data",JsonNew:"New JSON Data",MySQLEdit:"Edit MySQL Connection",MySQLNew:"New MySQL Connection",NewConnection:"New {0} Connection",OdbcEdit:"Edit ODBC Connection",OdbcNew:"New ODBC Connection",OleDbEdit:"Edit OLE DB Connection",OleDbNew:"New OLE DB Connection",OracleEdit:"Edit Oracle Connection",OracleNew:"New Oracle Connection",OracleODPEdit:"Edit Oracle ODP.NET Connection",OracleODPNew:"New Oracle ODP.NET Connection",PathData:"Path to XML Data:",PathGisData:"Path to Gis Data:",PathJsonData:"Path to JSON Data:",PathSchema:"Path to XSD Schema:",PathToData:"Path to Data:",Pin:"Pin",PostgreSQLEdit:"Edit PostgreSQL Connection",PostgreSQLNew:"New PostgreSQL Connection",PromptUserNameAndPassword:"Prompt User Name and Password",RecentConnections:"Recent",RedirectUrl:"Redirect URL",RefreshAccessToken:"Refresh access token",RefreshToken:"Refresh token",RelationDirection:"Relation Direction:",ReportConnections:"Report Connections",SelectData:"Select Data",SpreadsheetId:"Spreadsheet Id",SqlCeEdit:"Edit SQLServerCE Connection",SqlCeNew:"New SQLServerCE Connection",SqlEdit:"Edit SQL Connection",SQLiteEdit:"Edit SQLite Connection",SQLiteNew:"New SQLite Connection",SqlNew:"New SQL Connection",TeradataEdit:"Edit Teradata Connection",TeradataNew:"New Teradata Connection",Token:"Token",UniDirectEdit:"Edit Uni Direct Connection",UniDirectNew:"New Uni Direct Connection",Unpin:"Unpin",UseBearerAuthentication:"Use Bearer Authentication",UseOwnClientID:'Use own "Client ID" and "Client Secret"',UseToken:"Use Token",VistaDBEdit:"Edit VistaDB Connection",VistaDBNew:"New VistaDB Connection",XmlEdit:"Edit XML Data",XmlNew:"New XML Data",XmlType:"XML Type:"},FormDesigner:{Code:"Code",ColumnsOne:"One",ColumnsThree:"Three",ColumnsTwo:"Two",CompilingReport:"Compiling Report",DockingPanels:"Panels",HtmlPreview:"HTML Preview",JsPreview:"JS Preview",labelPleaseSelectTypeOfInterface:"Please, select type of interface",LoadImage:"Load Image...",LocalizePropertyGrid:"Localize Property Grid",MarginsNarrow:"Narrow",MarginsNormal:"Normal",MarginsWide:"Wide",OrderToolbars:"Order Toolbars",Others:"Others",Pages:"Pages",Preview:"Preview",PropertyChange:"Change of property '{0}'",RTPreview:"WinRT Preview",SetupToolbox:"Setup Toolbox",ShowDescription:"Show Description",SLPreview:"Silverlight Preview",title:"Designer",WebPreview:"Flash Preview"},FormDictionaryDesigner:{Actions:"Actions",AutoSort:"Auto Sort",BusinessObjectEdit:"Edit Business Object",CalcColumnEdit:"Edit Calculated Column",CalcColumnNew:"New Calculated Column",CategoryEdit:"Edit Category",CategoryNew:"New Category",Child:"Child",ChildOfBusinessObject:"Child of Business Object",ChildSource:"Child Data Source:",ClickHere:"Click here",ColumnEdit:"Edit Column",ColumnNew:"New Column",CreateNewDataSource:"to create the new data source",CreateNewReport:"to create the new report",CsvSeparatorComma:"Comma",CsvSeparatorOther:"Other",CsvSeparatorSemicolon:"Semicolon",CsvSeparatorSpace:"Space",CsvSeparatorSystem:"System",CsvSeparatorTab:"Tab",DatabaseEdit:"Edit Database",DatabaseNew:"New Database",DataParameterEdit:"Edit Parameter",DataParameterNew:"New Parameter",DataSetToBusinessObjects:"DataSet To Business Objects",DataSourceEdit:"Edit Data Source",DataSourceNew:"New Data Source",DataSourcesNew:"New Data Sources",DataTransformationEdit:"Edit Data Transformation",DataTransformationNew:"New Data Transformation",Delete:"Delete",DesignTimeQueryText:"Design-Time Query Text",DictionaryMerge:"Merge Dictionary...",DictionaryNew:"New Dictionary...",DictionaryOpen:"Open Dictionary...",DictionarySaveAs:"Save Dictionary As...",DragNewDataSource:"drag your data directly to this panel",DragNewReport:"drag your report directly to this panel",EditQuery:"Edit Query",ExecutedSQLStatementSuccessfully:"SQL statement executed successfully",ExpressionNew:"New Expression",GetColumnsFromAssembly:"Get Columns from Assembly",ImportRelations:"Import Relations",LabelSeparator:"Separator:",MarkUsedItems:"Mark Used Items",NewBusinessObject:"New Business Object",NewItem:"New Item",OpenAssembly:"Open Assembly",Parent:"Parent",ParentSource:"Parent Source:",Queries:"Queries",QueryNew:"New Query",QueryText:"Query Text",QueryTimeout:"Query Timeout",RelationEdit:"Edit Relation",RelationNew:"New Relation",ResourceEdit:"Edit Resource",ResourceNew:"New Resource",RetrieveColumns:"Retrieve Columns",RetrieveColumnsAllowRun:"Allow Run StoredProc",RetrieveColumnsAndParameters:"Retrieve Columns and Parameters",RetrieveParameters:"Retrieve Parameters",RetrievingDatabaseInformation:"Retrieving database information...",Run:"Run",SelectTypeOfBusinessObject:"Select Type of Business Object",SkipSchemaWizard:"Skip Schema Wizard",SortItems:"Sort Items",Synchronize:"Synchronize",SynchronizeHint:"Synchronizes contents of the Data Store and contents of the Dictionary",TextDropDataFileHere:"Drop Data File Here",TextDropFileHere:"Drop File Here",TextDropImageHere:"Drop Image File Here",title:"Dictionary Designer",ValueNew:"New Value",VariableEdit:"Edit Variable",VariableNew:"New Variable",ViewData:"View Data",ViewQuery:"View Query"},FormFormatEditor:{Boolean:"Boolean",BooleanDisplay:"Display:",BooleanValue:"Value:",Currency:"Currency",CurrencySymbol:"Currency Symbol:",Custom:"Custom",Date:"Date",DateTimeFormat:"Date Time Format",DecimalDigits:"Decimal Digits:",DecimalSeparator:"Decimal Separator:",FormatMask:"Format Mask:",Formats:"Formats",General:"General",GroupSeparator:"Group Separator:",GroupSize:"Group Size:",nameFalse:"False",nameNo:"No",nameOff:"Off",nameOn:"On",nameTrue:"True",nameYes:"Yes",NegativeInRed:"Negative in Red",NegativePattern:"Negative Pattern:",Number:"Number",Percentage:"Percentage",PercentageSymbol:"Percentage Symbol:",PositivePattern:"Positive Pattern:",Properties:"Properties",Sample:"Sample",SampleText:"Sample Text",TextFormat:"Text Format",Time:"Time",title:"Format",UseAbbreviation:"Use Abbreviation",UseGroupSeparator:"Use Group Separator",UseLocalSetting:"Use Local Setting"},FormGlobalizationEditor:{AddCulture:"&Add Culture",AutoLocalizeReportOnRun:"Auto Localize Report on Run",CreateNewCulture:"to create the new culture",GetCulture:"Get Culture Settings from Report",qnGetCulture:"Do you really want to get culture settings from report and override current culture settings?",qnSetCulture:"Do you really want to set culture settings to report components?",RemoveCulture:"&Remove Culture",SetCulture:"Set Culture Settings to Report",title:"Globalization Editor"},FormInteraction:{HyperlinkExternalDocuments:"Hyperlink to External Document",HyperlinkUsingInteractionBookmark:"Hyperlink using Bookmark",HyperlinkUsingInteractionTag:"Hyperlink using Tag"},FormOptions:{AutoSave:"Auto Save",AutoSaveReportToReportClass:"Auto Save Report to C# or VB.NET File",BlankDashboard:"Blank Dashboard",BlankReport:"Blank Report",Default:"Default",Drawing:"Drawing",DrawMarkersWhenMoving:"Draw Markers When Moving",EditAfterInsert:"Edit After Insert",EnableAutoSaveMode:"Enable Auto Save Mode",FillBands:"Fill Bands",FillComponents:"Fill Components",FillContainers:"Fill Containers",FillCrossBands:"Fill Cross Bands",GenerateLocalizedName:"Generate Localized Name",Grid:"Grid",GridDots:"Dots",GridLines:"Lines",GridMode:"Grid Mode",GridSize:"Grid Size",groupAutoSaveOptions:"Auto save options",groupColorScheme:"Please select color scheme of GUI",groupGridDrawingOptions:"Grid drawing options",groupGridOptions:"Grid options",groupGridSize:"Grid size",groupMainOptions:"Main options for working with report designer",groupMarkersStyle:"Marker style",groupOptionsOfQuickInfo:"Options of Quick Info",groupPleaseSelectTypeOfGui:"Please, select the type of GUI",groupReportDisplayOptions:"Report display options",labelColorScheme:"Color Scheme:",labelInfoAutoSave:"Change parameters of reports autosaving",labelInfoDrawing:"Setting parameters of report drawing",labelInfoGrid:"How Grid is shown and used in a report",labelInfoGui:"Select the mode of using GUI in the report designer",labelInfoMain:"Setting basic parameters of the report designer",labelInfoQuickInfo:"Components Quick Info on a page",Main:"Main",MarkersStyle:"Markers Style",MarkersStyleCorners:"Corners",MarkersStyleDashedRectangle:"Dashed Rectangle",MarkersStyleNone:"None",MessageLeftRightNotValid:"Left and Right value is not a valid.",MessageTopBottomNotValid:"Top and Bottom value is not a valid.",Minutes:"{0} minutes",SaveReportEvery:"Save Report Every:",ScaleMode:"Scale Mode",SelectUILanguage:"Select UI Language",ShowDialogForms:"Show Dialog Forms",ShowDimensionLines:"Show Dimension Lines",ShowOldGaugeEditor:"Show Old Gauge Editor",StartScreen:"Start Screen",title:"Options",UseComponentColor:"Use Component Color for Filling",UseLastFormat:"Use Last Format",Welcome:"Welcome"},FormPageSetup:{ApplyTo:"Apply to",Bottom:"Bottom:",Columns:"Columns",groupColumns:"Page columns",groupImage:"Watermark image",groupMargins:"Page margins",groupOrientation:"Paper orientation",groupPaper:"Paper size",groupPaperSource:"Paper source",groupText:"Watermark text",Height:"Height:",labelAngle:"Angle:",labelColumnGaps:"Column Gaps:",labelColumnWidth:"Column Width:",labelImageAlignment:"Image Alignment:",labelImageTransparency:"Image Transparency:",labelInfoColumns:"Setting page columns",labelInfoPaper:"Setting size and orientation for the current page",labelInfoUnit:"Page margins are specified in the current units",labelInfoWatermark:"Setting parameters for showing watermark",labelMultipleFactor:"Multiple Factor:",labelPaperSourceOfFirstPage:"Paper Source of First Page:",labelPaperSourceOfOtherPages:"Paper Source of Other Pages:",labelSelectBrush:"Select Brush:",labelSelectColor:"Select Color:",labelSelectFont:"Select Font:",labelSelectImage:"Select Image:",labelText:"Text:",Left:"Left:",Margins:"Margins",NumberOfColumns:"Number of Columns:",Orientation:"Orientation",PageOrientationLandscape:"Landscape",PageOrientationPortrait:"Portrait",Paper:"Paper:",RebuildReport:"Rebuild Report",Right:"Right:",ScaleContent:"Scale Content",Size:"Size:",title:"Page Setup",Top:"Top:",Width:"Width:"},FormReportSetup:{groupDates:"A date of report creation and a date of the last report change",groupDescription:"Report description",groupMainParameters:"Parameters which effect on report rendering",groupNames:"Report name, report alias, and report author",groupScript:"Script language of your report",groupUnits:"Size and coordinates in a report will be in specified units",labelInfoDescription:"Indicate the information of a report",labelInfoMain:"Change of basic report parameters",labelNumberOfPass:"Number of Pass:",labelReportCacheMode:"Report Cache Mode:",ReportChanged:"Report Changed:",ReportCreated:"Report Created:",title:"Report Options"},FormRichTextEditor:{Bullets:"Bullets",FontName:"Font Name",FontSize:"Font Size",Insert:"Insert Expression",title:"Rich Text Editor"},FormStyleDesigner:{Add:"Add Style",AddCollectionName:"Add Collection Name",ApplyStyleCollectionToReportComponents:"Apply Style Collection to Report Components",ApplyStyles:"Apply Styles",ColorCollectionEditor:"Color Collection Editor",CreateNewComponentStyle:"to create the new component style",CreateStyleCollection:"Create Style Collection",CreateStyleOnBase:"Create a style based on another style",Duplicate:"Duplicate Style",EditColors:"Edit Colors",FromStyle:"From Style",GetStyle:"Get Style from Selected Components",MoreStyles:"More Styles",NotSpecified:"Not Specified",Open:"Open Style",Predefined:"Predefined",qnApplyStyleCollection:"Do you want to apply style collection to report components?",Remove:"Remove Style",RemoveExistingStyles:"Remove Existing Styles",Save:"Save Style",Style:"Style",StyleCollectionsNotFound:"Style Collections Not Found!",title:"Style Designer"},FormSystemTextEditor:{Condition:"Condition",LabelDataBand:"Data Band:",LabelDataColumn:"Data Column:",LabelShowInsteadNullValues:"Show Instead Null Values:",LabelSummaryFunction:"Summary Function:",pageExpression:"Expression",pageSummary:"Summary",pageSystemVariable:"System Variable",RunningTotal:"Running Total",SummaryRunning:"Summary Running",SummaryRunningByColumn:"Column",SummaryRunningByPage:"Page",SummaryRunningByReport:"Report"},FormTitles:{ChartWizardForm:"Chart Wizard",ConditionEditorForm:"Condition",ConnectionSelectForm:"Select Type of Connection",ContainerSelectForm:"Select Container",DataAdapterServiceSelectForm:"Select Type of Data",DataRelationSelectForm:"Select Data Relation",DataSetName:"Enter DataSet Name",DataSourceSelectForm:"Select Data Source",DataSourcesNewForm:"New Data Sources",DataStoreViewerForm:"Data Store Viewer",DesignerApplication:"Report Designer",EventEditorForm:"Event Editor",ExpressionEditorForm:"Expression Editor",GroupConditionForm:"Group",InteractionDrillDownPageSelectForm:"Select Drill-Down Page",MasterComponentSelectForm:"Select Master Component",PageAddForm:"Add Page",PageSizeForm:"Page Size",PagesManagerForm:"Pages Manager",PromptForm:"Enter information to logon on to the database",ReportWizard:"Report Wizard",ServiceSelectForm:"Select Service",SqlExpressionsForm:"SQL Expressions",SubReportPageSelectForm:"Select Sub-Report Page",TextEditorForm:"Text Editor",ViewDataForm:"View Data",ViewerApplication:"Report Viewer"},FormViewer:{Bookmarks:"Bookmarks",Close:"Close",CollapseAll:"Collapse All",CompressedDocumentFile:"Compressed Document File",ContextMenu:"Context Menu",DocumentFile:"Document File...",Editor:"Editor",EncryptedDocumentFile:"Encrypted Document File",ExpandAll:"Expand All",Export:"Export...",Find:"Find",FirstPage:"First Page",FullScreen:"Full Screen",GoToPage:"Go To Page",HorScrollBar:"Horizontal Scroll Bar",LabelPageN:"Page:",LastPage:"Last Page",NextPage:"Next Page",Open:"Open...",PageControl:"Page Control",PageDelete:"Delete Page",PageDesign:"Edit Page...",PageNew:"New Page",PageNofM:"Page {0} of {1}",PageofM:"of {0}",PageSize:"Page Size...",PageViewModeContinuous:"Continuous",PageViewModeMultiplePages:"Multiple Pages",PageViewModeSinglePage:"Single Page",Parameters:"Parameters",PrevPage:"Previous Page",Print:"Print...",qnPageDelete:"Do you want to delete page?",Save:"Save...",SendEMail:"Send Email...",StatusBar:"Status Bar",Thumbnails:"Thumbnails",title:"Viewer",titlePageSettings:"Page Settings",Toolbar:"Tool Bar",VerScrollBar:"Vertical Scroll Bar",ViewMode:"View Mode",Zoom:"Zoom",ZoomMultiplePages:"Multiple Pages",ZoomOnePage:"One Page",ZoomPageWidth:"Page Width",ZoomTwoPages:"Two Pages",ZoomXXPages:"{0} X {1} Pages",ZoomXXPagesCancel:"Cancel"},FormViewerFind:{Close:"Close",FindNext:"Find Next",FindPrevious:"Find Previous",FindWhat:"Find What:"},Gauge:{AddNewItem:"Add New Item",BarRangeList:"Bar Range List",GaugeEditorForm:"Gauge Editor",Kind:"Kind",LinearBar:"Linear Bar",LinearMarker:"Linear Marker",LinearRange:"Linear Range",LinearRangeList:"Linear Range List",LinearScale:"Linear Scale",LinearTickLabelCustom:"Linear Tick Label Custom",LinearTickLabelMajor:"Linear Tick Label Major",LinearTickLabelMinor:"Linear Tick Label Minor",LinearTickMarkCustom:"Linear Tick Mark Custom",LinearTickMarkMajor:"Linear Tick Mark Major",LinearTickMarkMinor:"Linear Tick Mark Minor",Needle:"Needle",RadialBar:"Radial Bar",RadialMarker:"Radial Marker",RadialRange:"Radial Range",RadialRangeList:"Radial Range List",RadialScale:"Radial Scale",RadialTickLabelCustom:"Radial Tick Label Custom",RadialTickLabelMajor:"Radial Tick Label Major",RadialTickLabelMinor:"Radial Tick Label Minor",RadialTickMarkCustom:"Radial Tick Mark Custom",RadialTickMarkMajor:"Radial Tick Mark Major",RadialTickMarkMinor:"Radial Tick Mark Minor",StateIndicator:"State Indicator",StateIndicatorFilter:"State Indicator Filter",TickCustomValue:"Tick Custom Value"},Gui:{barname_cancel:"Cancel",barname_caption:"New Toolbar",barname_msginvalidname:"Toolbar name cannot be empty.",barname_name:"&Toolbar Name:",barname_ok:"OK",barrename_caption:"Rename Toolbar",barsys_autohide_tooltip:"Auto-Hide",barsys_close_tooltip:"Close",barsys_customize_tooltip:"Customize",colorpicker_morecolors:"&More Colors...",colorpicker_nofill:"&No Fill",colorpicker_standardcolorslabel:"Standard Colors",colorpicker_themecolorslabel:"Theme Colors",colorpickerdialog_alphalabel:"&Alpha:",colorpickerdialog_bluelabel:"&Blue:",colorpickerdialog_cancelbutton:"Cancel",colorpickerdialog_caption:"Colors",colorpickerdialog_colormodellabel:"Color Model:",colorpickerdialog_currentcolorlabel:"Current",colorpickerdialog_customcolorslabel:"Colors:",colorpickerdialog_greenlabel:"&Green:",colorpickerdialog_newcolorlabel:"New",colorpickerdialog_okbutton:"OK",colorpickerdialog_redlabel:"&Red:",colorpickerdialog_rgblabel:"RGB",colorpickerdialog_standardcolorslabel:"Colors:",colorpickerdialog_tabcustom:"Custom",colorpickerdialog_tabstandard:"Standard",cust_btn_close:"Close",cust_btn_delete:"Delete",cust_btn_keyboard:"&Keyboard...",cust_btn_new:"&New...",cust_btn_rename:"&Rename...",cust_btn_reset:"&Reset...",cust_btn_resetusage:"&Reset my usage data",cust_caption:"Customize",cust_cbo_fade:"Fade",cust_cbo_none:"(None)",cust_cbo_random:"Random",cust_cbo_slide:"Slide",cust_cbo_system:"System Default",cust_cbo_unfold:"Unfold",cust_chk_delay:"Show full menus after a short delay",cust_chk_fullmenus:"Always show full menus",cust_chk_showsk:"Show &Shortcut Keys in ScreenTips",cust_chk_showst:"Show Screen&Tips on Toolbars",cust_lbl_cats:"Cate&gories:",cust_lbl_cmds:"Comman&ds:",cust_lbl_cmdsins:"To add a command to Bar select the category and drag the command out of this box to a Bar.",cust_lbl_menuan:"Menu Animation:",cust_lbl_other:"Other:",cust_lbl_pmt:"Personalized Menus and Toolbars",cust_lbl_tlbs:"Toolb&ars:",cust_mnu_addremove:"&Add or Remove Buttons",cust_mnu_cust:"Customize...",cust_mnu_reset:"Reset Bar",cust_mnu_tooltip:"Bar Options",cust_msg_delete:"Are you sure you want to delete the <barname> toolbar?",cust_pm_begingroup:"Begin Group",cust_pm_delete:"Delete",cust_pm_name:"Name:",cust_pm_reset:"Reset",cust_pm_stydef:"Default Style",cust_pm_styimagetext:"Image and Text (Always)",cust_pm_stytextonly:"Text Only (Always)",cust_tab_commands:"Commands",cust_tab_options:"Options",cust_tab_toolbars:"Toolbars",mdisysmenu_close:"Close",mdisysmenu_maximize:"Maximize",mdisysmenu_minimize:"Minimize",mdisysmenu_move:"Move",mdisysmenu_next:"Next",mdisysmenu_restore:"Restore",mdisysmenu_size:"Size",mdisystt_close:"Close",mdisystt_minimize:"Minimize",mdisystt_restore:"Restore",monthcalendar_clearbutton:"Clear",monthcalendar_todaybutton:"Today",navbar_navpaneoptions:"Na&vigation Pane Options...",navbar_showfewerbuttons:"Show &Fewer Buttons",navbar_showmorebuttons:"Show &More Buttons",navPaneCollapseTooltip:"Collapse the Navigation Pane",navPaneExpandTooltip:"Expand the Navigation Pane",sys_custombar:"Custom Bar",sys_morebuttons:"More Buttons"},HelpComponents:{StiBarCode:"This component allows showing bar codes in a report. Bar code data are sent to an object as a string. The string may contain any symbols but only allowed symbols for the selected chart can be displayed.",StiChart:"This component allows showing charts in a report. Different types of charts are available. Among them are bar, line, pie, doughnut, lines, areas, Gantt, scatter charts etc. ",StiChartElement:"This element allows showing charts in a dashboard. Different types of charts are available.",StiCheckBox:'This component allows showing a checkbox in a report. It can display two modes: "enable" or "disable".',StiChildBand:"The Child band can be used to output two bands on one data row.",StiClone:"This component is used to clone parts of a report into a required part of a report. Cloning can be applied only to the panel contents.",StiColumnFooterBand:"This band is used to output footers of columns on the Data band. The Column Footer band is output once under each column. All components which are placed on this band will also be output under each column.",StiColumnHeaderBand:"This band is used to output column headers. The Column Header band is used to output only once. All components which are placed on the band can be output above each column.",StiComboBoxElement:"Represents the ComboBox that is used to either type a value directly into the control or choose from the list of existing options.",StiContainer:"This is the rectangular region where other components, including bands, can be placed. When moving the container the components in it will be moved too. The container can be placed both on a band and on a page.",StiCrossDataBand:"This band is connected to the data source. It is output as many times as there are rows in the data source. A Cross band is output from left to right.",StiCrossFooterBand:"This band is used to output footers of the Cross-Data band. The band is output once after all rows of the Data band. A Cross band is output from left to right.",StiCrossGroupFooterBand:"This band is used to output footers of a group. It is placed under the Cross-Data band. Each Cross-Footer belongs to the specified Cross-Header band. A Cross band is output from left to right.",StiCrossGroupHeaderBand:"This band is the basic one for the report rendering with grouping, when Cross-Data are used. It is impossible to create grouping without this band. The components for showing information by the group are placed on the group header. The information can be group name, date, condition of grouping etc. The band is output in the beginning of each group. A Cross band is output from left to right.",StiCrossHeaderBand:"This band is used to output headers. It is used in association with the Cross band. A Cross band is output from left to right.",StiCrossTab:"The cross-tab component is used for the structured data representation as a table.",StiDataBand:"The Data band is connected to the data source and is output as many times as there are rows in the data source.",StiDatePickerElement:"The element is used to select the date and time.",StiEmptyBand:"This band is used to fill free space on the bottom of a page. This band fills free space on each page of a report.",StiFilterCategory:"A group of elements used for selecting and filtering values.",StiFooterBand:"This band is used to output summary by the Data band. It is placed under the Data band and is output once after all data rows which Data band outputs.",StiGauge:"The component allows you to display a value within a predefined range. It can have different graphical representation.",StiGaugeElement:"The element allows you to display a value within a predefined range. It can have different graphical representation.",StiGroupFooterBand:"The Group Footer band is used to output the group footer. This band is placed after the Data band. And this is the Data band with what the Group Header band is bound. Each Group Footer band belongs to the specified Group Header band. The Group Footer band will not be output without the Group Header band.",StiGroupHeaderBand:"This band is the basic band for rendering reports with grouping. The components for showing information by this group are placed on the group header. It can be group name, date, condition of grouping etc. This band is output once in the beginning of each group.",StiHeaderBand:"This band is used to output headers. It is used together with the data band.",StiHierarchicalBand:"This band is connected to the data source and output as many times as there are rows in the data source. Data are output as a tree.",StiHorizontalLinePrimitive:"This component is used to output a line.",StiImage:"This component is used to output images.",StiImageElement:"This element is used to output images. It supports the following graphic formats, such as BMP, JPG, JPEG, GIF, TIFF, PNG, ICO, WMF, EMF.",StiIndicatorElement:"The element displays the difference in values between the input data.",StiListBoxElement:"The element allows selecting items from a list.",StiMap:"This component is used to display data that is geographically targeted.",StiMapCategory:"Group of elements for working with maps and data.",StiMapElement:"This element is used to display data that is geographically targeted.",StiOnlineMapElement:"This element is used to display geographic markers on the online map.",StiOverlayBand:"This band is used to output watermarks on a page.",StiPageFooterBand:"This band is used to output the information on the bottom of each page such as page numbers, dates, and other additional information.",StiPageHeaderBand:"This band is used to output the page header such as page numbers, dates, and other additional information. It is output on the top of each page.",StiPanel:"A rectangular region that can contain other components, including bands. When the panel is moved the components in it are moved too. A panel can be placed either on a band or on a page.",StiPanelElement:"A rectangular region that can contain other elements. When the panel is moved the elements in it are moved too.",StiPivotTableElement:"The pivot table element is used for the structured data representation as a table.",StiProgressElement:"The element displays the ratio of the input data. It can be presented in different modes - a pie, donut, bars.",StiRectanglePrimitive:"This component is used to output rectangles.",StiRegionMapElement:"This element is used to display data that is geographically targeted.",StiReportSummaryBand:"This band is used to output summaries through the entire report. It is output once in the end of a report.",StiReportTitleBand:"This band is used to output the report title. It is output in the beginning of a report.",StiRichText:"This component is used to output and edit the RTF text. It also supports loading and saving files in the RTF format.",StiRoundedRectanglePrimitive:"This component is used to output rounded rectangles.",StiShape:"This component is used to insert ready-made shapes, such as arrows, diagonal line down, diagonal line up, horizontal line, left and right lines, oval, rectangle, rounded rectangle, top and bottom lines, triangle, vertical line.",StiShapeElement:"This element is used to insert ready-made shapes, such as arrows, diagonal line down, diagonal line up, horizontal line, left and right lines, oval, rectangle, rounded rectangle, top and bottom lines, triangle, vertical line.",StiSubReport:"This component is used to output additional data in different places of a report.",StiTable:"This component is a set of data elements that is organized using a model of vertical columns and horizontal rows.",StiTableElement:"This element is a set of data elements that is organized using a model of vertical columns and horizontal rows.",StiText:"This component is a basic object to output data as a text.",StiTextElement:"This element is a basic object to output data as a text.",StiTextInCells:"The component is used to output a text in cells. It is frequently used for creating forms.",StiTreeViewBoxElement:"The element is used to select values with a drop-down list as a tree.",StiTreeViewElement:"Represents the element that is used to show the hierarchical data as a tree.",StiVerticalLinePrimitive:"This component is used to output vertical lines.",StiWinControl:"The component allows showing visual controls from .NET Framework.",StiZipCode:"This component is used to output the ZIP code."},HelpDesigner:{ActiveRelation:"Sets the priority Relation to bind two tables. It is used in Data Transformation and Dashboards. Only one Relation in each Data Source can be active.",Align:"Change the location of selected components.",AlignBottom:"Align the contents of a component to bottom.",AlignCenter:"Align the contents of a component to center.",AlignComponentBottom:"Allows you to align objects horizontally along the bottom edge of selected components.",AlignComponentCenter:"Allows you to align objects horizontally along the center edge of selected components.",AlignComponentLeft:"Allows you to align objects vertically along the left edge of selected components.",AlignComponentMiddle:"Allows you to align objects vertically along the center edge of selected components.",AlignComponentRight:"Allows you to align objects vertically along the right edge of selected components.",AlignComponentTop:"Allows you to align objects horizontally along the top edge of selected components.",AlignLeft:"Align the contents of a component to left.",AlignMiddle:"Center the contents by the top and bottom borders of a component.",AlignRight:"Align contents of a component to right.",AlignToGrid:"Align the selected components to grid nodes.",AlignTop:"Align the contents of a component to top.",AlignWidth:"Justify the contents of a component.",Angle:"Rotate the contents of the component.",AngleWatermark:"The watermark text rotation angle.",Background:"Change the background of the selected components.",biConditions:"Control list of conditions of the selected components.",BorderColor:"Select the border color of the selected component.",BorderSidesAll:"Switch on all borders sides of the selected components.",BorderSidesBottom:"Switch on bottom border side of the selected components.",BorderSidesLeft:"Switch on left border side of the selected components.",BorderSidesNone:"Switch off all borders sides of the selected components.",BorderSidesRight:"Switch on right border side of the selected components.",BorderSidesTop:"Switch on top border side of the selected components.",BorderStyle:"Select the border style of the selected components.",BringToFront:"Bring the selected component to front.",CenterHorizontally:"Allows you to align a component horizontally relative to container edges in what it is placed.",CenterVertically:"Allows you to align a component vertically relative to container edges in what it is placed.",Close:"Close the Report Designer.",Columns:"Split a page into columns.",ComponentSize:"Change the size of the selected components.",CopyStyle:"Copy Style",CopyToClipboard:"Copy to Clipboard",CurrencySymbol:"Select the currency symbol.",DashboardNew:"Create a new dashboard.",DataStore:"Show data, registered in a report.",DateTimeFormat:"Select the date and time format for the selected components.",DockingPanels:"Panel settings.",DockStyleBottom:"Dock selected components to the bottom side.",DockStyleFill:"Dock selected components to all sides.",DockStyleLeft:"Dock selected components to the left side.",DockStyleNone:"Undock selected components.",DockStyleRight:"Dock selected components to the right side.",DockStyleTop:"Dock selected components to the top side.",FontGrow:"Make the text size larger.",FontName:"The text font.",FontNameWatermark:"The watermark text font.",FontShrink:"Make the text size smaller.",FontSize:"Font size.",FontSizeWatermark:"Change the font size.",FontStyleBold:"Make the text bold.",FontStyleBoldWatermark:"Make the text of the watermark bold.",FontStyleItalic:"Make the text Italic.",FontStyleItalicWatermark:"Make the watermark text Italic.",FontStyleUnderline:"Make the text underlined.",FontStyleUnderlineWatermark:"Make the watermark text underlined.",FormatBoolean:"This format is used to format values of the boolean type.",FormatCurrency:"Display a value as currency. It allows you to display a number with the default currency symbol.",FormatCustom:"This type is used to show values according to custom requirements. This type allows data formatting in the Format Mask.",FormatDate:"Display a value as date. The date format is based on the regional date settings.",FormatGeneral:"Display a value without specific format.",FormatNumber:"It is used for general display of numbers.",FormatPercentage:"Display a value as percentage. Numbers are multiplied by 100 to convert them to percentages.",FormatTime:"Display a value as time. The time format is based on the regional time settings.",FormNew:"Create a new dialog form.",GridMode:"Show grid in lines or dots.",ImageAlignment:"Put a watermark image on a page.",ImageTransparency:"Change the transparency of the watermark image.",Interaction:"Control an interaction of the selected components.",LineSpacing:"Choose how much space appears between lines of text or between paragraphs.",Link:"Link the component to the current container.",LoadImage:"Load watermark images from the file.",Lock:"Lock the component. The component cannot be moved and resized.",MainMenu:"Click here to see the list of possible operations with a report, including opening, closing, and previewing.",MakeHorizontalSpacingEqual:"Allows you to set equal horizontal spacing between selected components.",MakeVerticalSpacingEqual:"Allows you to set equal vertical spacing between selected components.",Margins:"Select the margins of the current page.",menuCheckIssues:"Check through a report to find errors, warnings and get recommendations.",menuDesignerOptions:"Setup report designer options.",menuEditClearContents:"Clear the contents.",menuEditCopy:"Copy the selected components and put them on the Clipboard.",menuEditCut:"Cut the selected components from a report and put them on the Clipboard.",menuEditDelete:"Delete selected components.",menuEditPaste:"Paste the contents of the Clipboard into report.",menuFAQPage:"Go to the web page with frequently asked questions.",menuGlobalizationStrings:"Call the Globalization Strings editor of the current report.",menuHelpAboutProgramm:"Get information about the version of report generator and the version of .NET Framework.",menuHomePage:"Go to the Home page of the product.",menuPageOptions:"Setup the basic parameters of the current page. All page options can be changed using the Property panel.",menuPagesManager:"Run the Pages Manager. It allows moving pages, deleting pages, and creating new pages.",menuPreviewSettings:"Call the Preview Settings editor of the current report. Settings will be applied only when viewing the current report.",menuPrint:"Select a printer, number of copies, and other printing options before printing.",menuPrintPreview:"Preview a report before printing.",menuPrintQuick:"Print a report directly to the default printer. The printing dialog is not displayed.",menuReportOptions:"Setup the basic report options. All options can be changed using the Property panel.",menuStyleDesigner:"Call the Style Designer of the current report.",menuSupport:"Go to the support page to ask a question.",menuViewAlignToGrid:"Align components to grid.",menuViewNormal:"Normal view of a page.",menuViewPageBreakPreview:"The mode of showing a page with borders of segments.",menuViewQuickInfo:"Show quick information of components: component name, alias, contents, events etc.",menuViewShowGrid:"Turn on grid lines to which you can align objects in a report.",menuViewShowHeaders:"Show headers of bands.",menuViewShowOrder:"Show order of components on a page.",menuViewShowRulers:"View the rulers, used to measure and line up objects on a page.",MoveBackward:"Move a component to one level higher in order of placing components on a page.",MoveForward:"Move a component to one level lower in order of placing components on a page.",Orientation:"Switch the pages between portrait and landscape layouts.",PageDelete:"Delete current page from a report.",PageNew:"Create a new page.",PageSetup:"Show the Page Setup dialog box.",PageSize:"Choose the paper size for the current page of a report.",PagesManager:"Run the Pages Manager.",PressF1:"Press F1 for More Details",Redo:"Redo the previously canceled change in a report.",ReportNew:"Create a new report.",ReportOpen:"Open a report in the designer.",ReportPreview:"Preview an edited report in the viewer.",ReportSave:"Save currently edited report.",SelectAll:"Select all components on the current page.",SelectUILanguage:"Select the UI language.",SendToBack:"Move the selected component to back relative to other components.",ServicesConfigurator:"Run the Services Configurator.",Shadow:"Show the shadow of a component.",ShowBehind:"Show the watermark text behind the components.",ShowImageBehind:"Put the watermark image behind all components on a page.",ShowToolbox:"Show the toolbox.",StimulsoftHelp:"Stimulsoft Help",StyleDesigner:"Run Style Designer.",TellMeMore:"Tell me more",Text:"Watermark text.",TextBrush:"Change the text color.",TextBrushWatermark:"Change the text color of the watermark.",TextColor:"Change the text color.",TextFormat:"Select the format of values.",ToolbarStyle:"Set selected style to all selected components.",Undo:"Undo the latest change in a report.",WordWrap:"Wrap the text of a component.",Zoom:"Specify the zoom level of the report."},HelpDialogs:{StiButtonControl:"Represents the Button control.",StiCheckBoxControl:"Represents the Flag control.",StiCheckedListBoxControl:"Shows the List object, in what a flag on the left is shown for each elements.",StiComboBoxControl:"Represents the ComboBox that is used to either type a value directly into the control or choose from the list of existing options.",StiDateTimePickerControl:"Represents the control that allows selecting the date and time. It also allows you to output the date and time in specified format.",StiGridControl:"Represents the Grid control that consist of rows and columns.",StiGroupBoxControl:"Represents the control that creates a container with borders and a header for the UI content.",StiLabelControl:"A label is an user interface control which displays text on a form. It is usually a static control having no interactivity.",StiListBoxControl:"Contains the list of elements for selection.",StiListViewControl:"Represents the ListView control that shows the list of data elements.",StiLookUpBoxControl:"Contains the list of elements for selection.",StiNumericUpDownControl:"Represents the control that shows numeric values.",StiPanelControl:"The Panel elements are used for placing and arrangement objects.",StiPictureBoxControl:"Represents the control for showing an image.",StiRadioButtonControl:"Represents the Radio button control that allows the user to choose only one of a predefined set of options. ",StiRichTextBoxControl:"Represents the RichText control with widen editing.",StiTextBoxControl:"Represents the Text control that is used for showing or editing a text.",StiTreeViewControl:"Represents the control that is used to show the hierachical data as a tree."},HelpViewer:{AddPageBreaks:"Visual separator of report pages.",AllowAddOrModifyTextAnnotations:"Limited access to work with annotations in the document.",AllowCopyTextAndGraphics:"Limited access to copying information.",AllowEditable:"Allows changing components with the Editable property enabled.",AllowModifyContents:"Limited access to the text editing.",AllowPrintDocument:"Limited access to the print operation.",Bookmarks:"Show the bookmark panel that is used for quick navigation to jump directly to a bookmarked location.",BorderType:"The border type of components: simple - drawing borders of components with characters +, -, |; Unicode single - drawing the borders with single box-drawing characters, Unicode double - drawing the borders with double box-drawing characters.",Close:"Close the Report Preview.",CloseDotMatrix:"Close the Dot Matrix Viewer.",Compressed:"Compression of the ready document. It is recommended to always include file compression.",CompressToArchive:"Pack all files and folders in the zip archive.",ContinuousPages:"The mode of placing report pages as a vertical strip.",CurrentPage:"Processing the current page. If this option is selected, then a selected report page will be processed.",CutEdges:"Trim the borders of report pages.",CutLongLines:"Trim the long lines (text lines) by the borders of components.",DigitalSignature:"The digital signature of the file.",DitheringType:"Dithering type: None - no dithering, Ordered, FloydSt. - with dithering.",DotMatrixMode:"This mode allows you to see how will a report look like if to print it on a dot matrix printer.",DrawBorder:"Drawing the borders of components with graphic characters.",Edit:"Edit components.",EmbeddedFonts:"Embed the font files into a PDF file.",EmbeddedImageData:"Embed images directly into the HTML file.",Encoding:"Encoding the report text after export.",EncodingData:"Encoding data file.",EncryptionKeyLength:"The length of the encryption key. The longer the length is, the more difficult it is to decrypt the document, and, accordingly, the document security is on higher priority.",ExportDataOnly:"Export only Data bands (the Table component, Hierachical band).",ExportEachPageToSheet:"Export each report page in a separate Excel sheet.",ExportMode:"Apply a filter condition when exporting. Data Only - only data bands (Table component, Hierarchical Band) will be exported. Data and Headers/Footers - data bands (Table component, Hierarchical Band) and their headers/footers will be exported. All Bands - All the report bands will be exported.",ExportModeHtml:"The way of the HTML page markup.",ExportModeRtf:"Presentation of the report data after export. The Table - the report will look like a table, where each report component is a table cell. Frame - each component will look like a single frame, but without any relationship between them.",ExportObjectFormatting:"Apply formatting to export data from Data bands (Table component, Hierachical band).",ExportPageBreaks:"Show the borders of the report pages on the Excel sheet.",ExportRtfTextAsImage:"Convert the RTF text into the image. If the option is enabled, then, when exporting, RichText decomposes into simpler primitives supported by the PDF format. RichText with complex formatting (embedded images, tables) cannot always be converted correctly. In this case it is recommended to enable this option.",Find:"Find a text in the report.",FullScreen:"Full screen reading.",GetCertificateFromCryptoUI:"Using the interface of the system cryptography library.",ImageCompressionMethod:"The compression method: JPEG - this may cause loss of quality, Flate – no quality loss, Simple, Ordered, FloydSt. - images are output in monochrome.",ImageFormat:"The image format in the finished file.",ImageQuality:"Allows you to choose the ratio of the image quality/size of the file. The higher the quality is, the larger is the size of the finished file.",ImageQualityPdf:"The option is available only in JPEG compression, and allows you to select the ratio of the image quality/size of the file. The higher the quality is, the larger is the size of the finished file.",ImageResolution:"The number of pixels per inch. The higher the number of pixels is, the better is the quality of the image. The size of the finished file is much larger.",ImageType:"The color scheme of the image: color - image after exporting will fully match the image in the viewer; gray – an image after exporting will be of the gray shade; monochrome - the images will be strictly black and white. At the same time, it should be considered that the monochrome has three modes None, Ordered, FloydSt.",KillSpaceLines:"Remove blank lines (rows) in the document.",MultipleFiles:"Each report page can be a separate file.",Open:"Open the previously saved report in the window of preview.",OpenAfterExport:"Automatic opening of the created document (after export) by the program set for these file types.",OwnerPassword:"The password to access operations with files.",PageAll:"Processing of all report pages.",PageDelete:"Delete the selected report page.",PageDesign:"Edit the selected page in the report designer.",PageFirst:"Go to the first report page.",PageGoTo:"Go to the specified report page.",PageLast:"Go to the last report page.",PageNew:"Add a new page to a report.",PageNext:"Go to the next report page.",PagePrevious:"Go to the previous report page.",PageSize:"Change the page parameters in a report.",Parameters:"Showing parameters panel which is used when report rendering.",PdfACompliance:"Support for the standard of the long-term archiving and storing of electronic documents.",Print:"Print a report.",PutFeedPageCode:"Feed pages in the final document with a special character.",RangePages:'The page numbers to be processed. You can specify a single page, a list of pages (using a comma as the separator), as well as specify the range by setting the start page of the range separated by "-" and the end page of the range. For example: 1,3,5-12.',RemoveEmptySpaceAtBottom:"Minimize the empty space at the bottom of the page.",Resources:"Showing resources panel",RestrictEditing:"Limits on changes in a Word document.",Save:"Save a report for further using.",ScaleHtml:"The size (scale) of report pages and items after the export.",ScaleImage:"The size (scale) of the report after exporting. The lower scale is, the greater is the number of pixels per inch, and vice versa.",SendEMail:"Send a report via Email.",Separator:"Separator between the data in the CSV file.",SkipColumnHeaders:"Enable/disable the column headers.",StandardPdfFonts:"14 standard Adobe fonts. If this option is enabled, then only standard 14 fonts will be used in the PDF file. All report fonts are converted into them.",SubjectNameString:"Certificate identifier. The identifier is the name of the certificate owner (full line) or a part of the name (substring).",Thumbnails:"Show the thumbnails that can be used for quick navigation to find the section of the report that you want to jump to.",TiffCompressionScheme:"Compression scheme for TIFF files.",ToolEditor:"This tool allows you to edit contents of text components directly in the report viewer.",TypeExport:"The file the report will be converted into.",UseDefaultSystemEncoding:"Use system coding by default or specify the encoding by standard.",UseOnePageHeaderAndFooter:"Define the page bands Header and Footer as the header and footer of the Microsoft Word document.",UsePageHeadersAndFooters:"Define the bands Page Header and Footer as the header and footer of the document in Microsoft Word.",UserPassword:"The password required to open the document.",UseUnicode:"Extended support for encoding characters. It affects on the internal character encoding within the PDF file, and improves the copying of the text from the PDF file.",ViewModeContinuous:"Show all report pages as a vertical ribbon.",ViewModeMultiplePages:"Zoom the report so that as many pages as can be fit in window are displayed.",ViewModeSinglePage:"Show a single page in the window of preview.",ZoomMultiplePages:"Zoom the report so that the selected pages fit in the window.",ZoomOnePage:"Zoom the report so that an entire page fits in the window.",ZoomPageWidth:"Zoom the report so that the width of the page matches the width of the window.",ZoomTwoPages:"Zoom the report so that two pages fit in the window.",ZoomTxt:"The report size (scale): X - change the horizontal scale, Y - to change the vertical scale."},Interface:{Mouse:"Mouse",MouseDescription:"Optimized for used with mouse",Touch:"Touch",TouchDescription:"Optimized for used with touch"},MainMenu:{menuCheckIssues:"Check for Issues",menuContextClone:"Clone...",menuContextDesign:"Design...",menuContextTextFormat:"Text Format...",menuConvertToCheckBox:"Convert to CheckBox",menuConvertToImage:"Convert to Image",MenuConvertToRichText:"Convert to RichText",menuConvertToText:"Convert to Text",menuDeleteColumn:"Delete Column",menuDeleteRow:"Delete Row",menuEdit:"&Edit",menuEditBusinessObjectFromDataSetNew:"New Business Object From DataSet...",menuEditBusinessObjectNew:"New Business Object...",menuEditCalcColumnNew:"New Calculated Column...",menuEditCantRedo:"Can't Redo",menuEditCantUndo:"Can't Undo",menuEditCategoryNew:"New Category...",menuEditClearContents:"Clear Contents",menuEditColumnNew:"New Column...",menuEditConnectionNew:"New Connection...",menuEditCopy:"&Copy",menuEditCut:"Cu&t",menuEditDataParameterNew:"New Parameter...",menuEditDataSourceNew:"New Data Source...",menuEditDataSourcesNew:"New Data Sources...",menuEditDataTransformationNew:"New Data Transformation...",menuEditDelete:"&Delete",menuEditEdit:"Edit",menuEditImportRelations:"Import Relations...",menuEditPaste:"&Paste",menuEditRedo:"&Redo",menuEditRedoText:"&Redo {0}",menuEditRelationNew:"New Relation...",menuEditRemoveUnused:"Remove Unused Items",menuEditResourceNew:"New Resource...",menuEditSelectAll:"Select &All",menuEditSynchronize:"Synchronize",menuEditUndo:"&Undo",menuEditUndoText:"&Undo {0}",menuEditVariableNew:"New Variable...",menuEditViewData:"View Data...",menuEmbedAllDataToResources:"Embed all data to resources",menuFile:"&File",menuFileClose:"&Close",menuFileDashboardDelete:"Delete Dashboard",menuFileDashboardNew:"New Dashboard",menuFileDashboardOpen:"&Open Dashboard...",menuFileDashboardSaveAs:"Save Dashboard &As...",menuFileExit:"E&xit",menuFileExportXMLSchema:"Export XML Schema...",menuFileFormNew:"New Form",menuFileImportXMLSchema:"Import XML Schema...",menuFileMerge:"Merge...",menuFileMergeXMLSchema:"Merge XML Schema...",menuFileNew:"&New",menuFileOpen:"&Open...",menuFilePageDelete:"Delete Page",menuFilePageNew:"New Page",menuFilePageOpen:"Open Page...",menuFilePageSaveAs:"Save Page As...",menuFilePageSetup:"Page Setup...",menuFileRecentDocuments:"Recent Documents",menuFileRecentLocations:"Recent Locations",menuFileReportNew:"&New Report...",menuFileReportOpen:"&Open Report...",menuFileReportOpenFromGoogleDocs:"Open Report from Google Docs...",menuFileReportPreview:"&Preview",menuFileReportSave:"&Save Report",menuFileReportSaveAs:"Save Report &As...",menuFileReportSaveAsToGoogleDocs:"Save Report As to Google Docs...",menuFileReportSetup:"Report &Setup...",menuFileReportWizardNew:"New Report with &Wizard...",menuFileSave:"&Save",menuFileSaveAs:"Save As...",menuHelp:"&Help",menuHelpAboutProgramm:"&About...",menuHelpContents:"&Contents",menuHelpDemos:"Demos",menuHelpDocumentation:"Documentation",menuHelpFAQPage:"FAQ Page",menuHelpForum:"Forum",menuHelpHowToRegister:"How to Register",menuHelpProductHomePage:"Product Home Page",menuHelpSamples:"Samples",menuHelpSupport:"&Support",menuHelpTrainingCourses:"Training Courses",menuHelpVideos:"Videos",menuInsertColumnToLeft:"Insert Column To Left",menuInsertColumnToRight:"Insert Column To Right",menuInsertRowAbove:"Insert Row Above",menuInsertRowBelow:"Insert Row Below",menuJoinCells:"Join Cells",menuMakeThisRelationActive:"Make This Relation Active",menuSelectColumn:"Select Column",menuSelectRow:"Select Row",menuTable:"Table",menuTools:"&Tools",menuToolsDataStore:"Data &Store...",menuToolsDictionary:"&Dictionary...",menuToolsOptions:"&Options...",menuToolsPagesManager:"&Pages Manager...",menuToolsServicesConfigurator:"Services &Configurator...",menuToolsStyleDesigner:"Style &Designer...",menuView:"&View",menuViewAlignToGrid:"Align to Grid",menuViewNormal:"&Normal",menuViewOptions:"Options",menuViewPageBreakPreview:"Page &Break Preview",menuViewQuickInfo:"Quick Info",menuViewQuickInfoNone:"None",menuViewQuickInfoOverlay:"Display Over Components",menuViewQuickInfoShowAliases:"Show Aliases",menuViewQuickInfoShowComponentsNames:"Show Components Names",menuViewQuickInfoShowContent:"Show Content",menuViewQuickInfoShowEvents:"Show Events",menuViewQuickInfoShowFields:"Show Fields",menuViewQuickInfoShowFieldsOnly:"Show Fields Only",menuViewShowGrid:"Show Grid",menuViewShowHeaders:"Show Headers",menuViewShowInsertTab:"Show 'Insert' Tab",menuViewShowOrder:"Show Order",menuViewShowRulers:"Show Rulers",menuViewShowToolbox:"Show Toolbox",menuViewToolbars:"Toolbars"},Map:{LinkDataForm:"Link Data",MapEditorForm:"Map Editor"},Messages:{ChangeRequestTimeout:"The request timeout for SQL queries exceeds the request timeout of the report designer. Set the request timeout for the designer component in no less than {0} seconds.",DoNotShowAgain:"Do not show again",MessageTimeOutExpired:"Command timeout has expired!",RenderingWillOccurInTheInterpretationMode:"When viewing the shared report, the rendering will occur in the interpretation mode!",ResourceCannotBeDeleted:'The resource "{0}" cannot be deleted, because it is used in the report!',ShareURLOfTheItemHasBeenUpdated:"The share URL of the item has been updated!",ShareYourReportYouShouldSave:"To share your report you should save the report to Stimulsoft Cloud!",TextRegistrationSuccessfully:'\n Registration completed successfully!\n\n The Email was sent to "{0}".\n It contains a link to confirm your registration. To complete the registration please follow the link from the email you received.\n ',ThisFieldIsNotSpecified:"This Field is Not Specified!",ThisFunctionEmbedsAllReportDataToTheReport:"This function embeds all report data to the report resources and makes your report standalone. Be careful! All your data settings will be changed and can't be restored.Please, make a backup copy of your report firstly.{0}Are you sure?",YouNeedToLoginFirstToStartUsingTheSoftware:"You need to login first to start using the software. The application will close if you quit the login form."},Notices:{AccessDenied:"Access Denied!",AccountLocked:"Your account is locked! In order to resolve it, please send your request to sales@stimulsoft.com!",ActivationExpiriedBeforeFirstRelease:"Your Subscription of Stimulsoft Reports.Ultimate expired earlier than the first version of our Stimulsoft Server was released!",ActivationLicenseIsNotCorrect:"License file is not correct! Please contact our sales department at sales@stimulsoft.com!",ActivationLockedAccount:"Your account is locked. Please contact our sales department at sales@stimulsoft.com!",ActivationLockedAccountExt:"Your account is locked.",ActivationMaxActivationsReached:"You reached the maximum number of activations. Please contact our sales department at sales@stimulsoft.com!",ActivationMaxComputersReached:"You’ve already registered the maximum number of computers available for your subscription.",ActivationServerIsNotAvailableNow:"Stimulsoft Activation Server is not available now! Please try again later.",ActivationServerVersionNotAllowed:"You cannot activate this version of Stimulsoft Server because your Subscription Program expired! Please log in to your account and check which version of the Stimulsoft Server you can install and activate.",ActivationSomeTroublesOccurred:"An error occurred during activation. Please try again later.",ActivationTrialExpired:"You can continue to use Stimulsoft Designer by purchasing the software.",ActivationUserNameOrPasswordIsWrong:"Your user name (Email) or password is wrong!",ActivationWrongAccountType:"Your account type does not allow to activate Stimulsoft Server!",Alert:"Alert",AuthAccountCantBeUsedNow:"The account cannot be used now!",AuthAccountIsNotActivated:"The account is not activated yet! Please follow the instructions sent to the Email during registration.",AuthCantChangeRoleBecauseLastAdministratorUser:"The user role cannot be changed because this is the last administrator user in this workspace!",AuthCantChangeRoleBecauseLastSupervisorUser:"The user role cannot be changed because this is the last supervisor user at this server!",AuthCantChangeSystemRole:"The system role cannot be changed!",AuthCantDeleteHimselfUser:"The user cannot delete himself!",AuthCantDeleteLastAdministratorUser:"The user cannot be deleted because this is the last administrator user in this workspace!",AuthCantDeleteLastSupervisorUser:"The user cannot be deleted because this is the last supervisor user at this server!",AuthCantDeleteSystemRole:"Cannot delete this role, because it is a system role!",AuthCantDisableUserBecauseLastAdministratorUser:"The user cannot be disabled because this is the last administrator user in this workspace!",AuthCantDisableUserBecauseLastSupervisorUser:"The user cannot be disabled because this is the last supervisor user at this server!",AuthFirstNameIsNotSpecified:"The first name is not specified!",
AuthLastNameIsNotSpecified:"The last name is not specified!",AuthOAuthIdNotSpecified:"The OAuth identificator is not specified!",AuthPasswordIsNotCorrect:"The password is not correct!",AuthPasswordIsNotSpecified:"The password is not specified!",AuthPasswordIsTooShort:"The password is too short (a minimum length is 6 chars)!",AuthRoleCantBeDeletedBecauseUsedByUsers:"You cannot delete the role because it is used by other users.",AuthRoleNameAlreadyExists:'The role with the specified name "{0}" already exists!',AuthRoleNameIsSystemRole:'The role with the specified name "{0}" is a system role!',AuthSendMessageWithInstructions:'A message with further instructions is sent to "{0}"!',AuthTokenIsNotCorrect:"Token is not correct!",AuthUserHasLoggedOut:"You have logged out!",AuthUserNameAlreadyExists:"The username (Email) is already in use!",AuthUserNameIsNotSpecified:"The username (Email) is not specified!",AuthUserNameNotAssociatedWithYourAccount:"Username (email) {0} is not associated with your {1} account!",AuthUserNameOrPasswordIsNotCorrect:"The username (Email) or password is incorrect!",AuthUserNameShouldLookLikeAnEmailAddress:"The username should be similar to the Email address!",AuthWorkspaceNameAlreadyInUse:"The workspace name is already in use!",CommandTimeOut:"Waiting time of processing the command is elapsed!",Congratulations:"Congratulations!",EndDateShouldBeGreaterThanCurrentDate:"The end date should be greater than the current date!",EndDateShouldBeGreaterThanStartDate:"The end date should be greater than start date!",ExecutionError:"Execution error",IsIdentical:'"{0}" and "{1}" are identical."',IsNotAuthorized:'No access to "{0}"!',IsNotCorrect:'"{0}" is incorrect!',IsNotDeleted:'"{0}" is not deleted!',IsNotEqual:'"{0}" is not equal!',IsNotFound:'"{0}" is not found!',IsNotRecognized:'"{0}" is not recognized!',IsNotSpecified:'"{0}" is not specified!',IsRequiredFile:"You should add at least one file!",ItemCantBeAttachedToItself:"The item cannot be attached to itself!",ItemCantBeDeletedBecauseItemIsAttachedToOtherItems:'The elements "{0}" cannot be deleted because they are attached to other elements!',ItemCantBeMovedToSpecifiedPlace:"The item cannot be moved to a specified place!",ItemDoesNotSupport:'The item does not support "{0}"!',KeyAndToKeyAreEqual:"A Key and ToKey are equal!",MaximumComputers:"Maximum of Computers",MessageMaximumFileSizeExceeded:"Attention! The size of the file that you are trying to add exceeds the maximum-allowed size. Do you want to add this file anyway (report processing may slow down significantly)?",NewDesignerAvailable:"Stimulsoft Designer {0} is available.",NewProduct:"The new product is added to your subscription!",NewVersionsAvailable:"New version",NotificationFailed:"Failed result!",NotificationFailedAddFollowingFiles:"Failed to add the following files. Exceeded the size {0} MB.",NotificationFilesUploadingComplete:"The files uploaded successfully.",NotificationFileUploading:'The file "{0}" is uploading.',NotificationItemDelete:"The items are deleting.",NotificationItemDeleteComplete:"The items are deleted successfully.",NotificationItemRestore:"The items are restoring.",NotificationItemRestoreComplete:"The items are restored successfully.",NotificationItemTransfer:"The items are transferring.",NotificationItemTransferComplete:"The items are transferred successfully.",NotificationItemWaitingProcessing:"The items are waiting processing.",NotificationMailing:"Sending",NotificationMailingComplete:'The mailing "{0}" is complete.',NotificationMailingWaitingProcessing:'The mailing "{0}" is waiting processing.',NotificationOperationAborted:"Operation aborted!",NotificationRecycleBinCleaning:"The Recycle Bin is cleaning.",NotificationRecycleBinCleaningComplete:"The Recycle Bin is cleaned successfully.",NotificationRecycleBinWaitingProcessing:"The Recycle Bin cleaning is waiting processing.",NotificationReportExporting:'The report "{0}" is exporting',NotificationReportExportingComplete:'The report "{0}" is exported successfully.',NotificationReportRendering:'The report "{0}" is rendering',NotificationReportRenderingComplete:'The report "{0}" is rendered.',NotificationReportWaitingProcessing:'The report "{0}" is waiting processing.',NotificationSchedulerRunning:'The scheduler "{0}" is running.',NotificationSchedulerRunningComplete:'The scheduler "{0}" running complete.',NotificationSchedulerWaitingProcessing:'The scheduler "{0}" is waiting processing.',NotificationTitleFilesUploading:"Uploading files",NotificationTitleItemRefreshing:'Refreshing item "{0}"',NotificationTitleItemTransferring:'Transferring item "{0}"',NotificationTitleMailing:'Mailing "{0}"',NotificationTitleReportExporting:'Exporting report "{0}"',NotificationTitleReportRendering:'Rendering report "{0}"',NotificationTitleSchedulerRunning:'Running scheduler "{0}"',NotificationTransferring:'The "{0}" is tranferring to "{1}".',NotificationTransferringComplete:'The "{0}" is succesfully transffered to "{1}".',NotificationValueIsNotCorrect:"This value is not correct for the type {0}",OutOfRange:'Out of range ("{0}")!',ParsingCommandException:"An exception of processing the command in the specified xml: {0}",PleaseLogin:"Please login using your Stimulsoft account credentials or register a new account before publishing report.",QuotaMaximumComputingCyclesCountExceeded:"Maximum computing cycles exceeded.",QuotaMaximumDataRowsCountExceeded:"Maximum data rows in one data source exceeded.",QuotaMaximumFileSizeExceeded:"Maximum file size exceeded.",QuotaMaximumItemsCountExceeded:"Maximum items exceeded.",QuotaMaximumRefreshCountExceeded:"Maximum refresh count exceeded",QuotaMaximumReportPagesCountExceeded:"Maximum report pages exceeded.",QuotaMaximumResourcesCountExceeded:"Maximum resources exceeded.",QuotaMaximumResourceSizeExceeded:"Maximum resource size exceeded.",QuotaMaximumUsersCountExceeded:"Maximum users exceeded.",QuotaMaximumWorkspacesCountExceeded:"Maximum workspaces exceeded.",SchedulerCantRunItSelf:"The scheduler cannot run itself!",SessionTimeOut:"Session timeout",SnapshotAlreadyProcessed:"The report snapshot is already processed!",SpecifiedItemIsNot:'The specified item is not "{0}"!',SubscriptionExpired:"Your subscription has expired!",SubscriptionExpiredDate:"Your subscription will expire on {0}",SubscriptionExpiredExt:"Your subscription has expired. Update your subscription to get the last version.",SubscriptionsOut10:"10 days left when the subscription expires!",SubscriptionsOut20:"The subscription period will expire in 20 days!",SuccessfullyRenewed:"Your subscription has been successfully updated!",TrialToLicense:"We would like to thank you for choosing our software!",VersionCopyFromItem:'Copy from item "{0}".',VersionCreatedFromFile:'Created from file "{0}".',VersionCreatedFromItem:'Created from item "{0}".',VersionLoadedFromFile:'Loaded from file "{0}".',VersionNewItemCreation:"New item creation.",Warning:"Warning",WindowClosePreventWhileUploading:"Some files are uploading now, if you close page they will lost. Are you sure you want to close page?",WithSpecifiedKeyIsNotFound:'"{0}" with the specified key is not found!',WouldYouLikeToUpdateNow:"Would you like to update now?",YourTimeSessionHasExpired:"Your time session has expired!",YourTrialHasExpired:"Your trial has expired",YourTrialWillExpire:"Your trial will expire in {0} days.",YouUsingTrialVersion:"You are using a trial version!"},NuGet:{AlreadyDownloaded:"Already Downloaded",AssemblyLoadedSuccessfully:"The assembly is loaded successfully.",AssemblyNotFound:"It is impossible to find {0} assembly to use the {1} connection!",Author:"Author",Dependencies:"Dependencies:",Download:"Download",DownloadAll:"Download All",DownloadAndInstall:"Download and Install",DownloadDataAdapter:"Download Data Adapter",Downloads:"Downloads:",IAccept:"I Accept",IDecline:"I Decline",LicenceFormDesc:"The following package require that you accept their license terms before installing.",LicenceFormDesc1:'By clicking "I Accept" you agree to the license terms for the package listed above. If you do not agree to the license terms, click "I Decline".',LicenceFormTitle:"Licence Acceptance",License:"License:",ProjectUrl:"Project URL:",ReportAbuse:"Report Abuse:",RetrievingInformation:"Retrieving information...",Tags:"Tags:",Title:"Data Adapter from NuGet",ViewLicense:"View License"},Panels:{Dictionary:"Dictionary",Messages:"Messages",Properties:"Properties",ReportTree:"Report Tree"},Password:{gbPassword:"Encrypting of the file",lbPasswordLoad:"Enter the password to open the file",lbPasswordSave:"Password:",PasswordNotEntered:"The password is not entered",StiLoadPasswordForm:"Document encrypting",StiSavePasswordForm:"Password"},Permissions:{AdminAPI:"API",AdminBackgroundTasks:"Background Tasks",AdminPermissions:"Permissions",AdminRecycleBin:"Recycle Bin",AdminShare:"Share",AdminTransfers:"Transfers",ItemCalendars:"Calendars",ItemCloudStorages:"Cloud Storages",ItemContactLists:"Contact Lists",ItemDashboards:"Dashboards",ItemDataSources:"Data Sources",ItemFiles:"Files",ItemFolders:"Folders",ItemReportSnapshots:"Report Snapshots",ItemReportTemplates:"Report Templates",ItemSchedulers:"Schedulers",ReportDesignerBusinessObjects:"Business Objects",ReportDesignerDataColumns:"Data Columns",ReportDesignerDataConnections:"Data Connections",ReportDesignerDataRelations:"Data Relations",ReportDesignerDataSources:"Data Sources",ReportDesignerDictionaryActions:"Dictionary Actions",ReportDesignerRestrictions:"Restrictions",ReportDesignerVariables:"Variables",SystemBackupRestore:"Backup & Restore",SystemEmailTemplates:"Email Templates",SystemLicensing:"Licensing",SystemMonitoring:"Monitoring",SystemUpdate:"Update",SystemWorkspaces:"Workspaces",TextAdministration:"Administration",TextItems:"Items",TextReportDesigner:"Report Designer",TextSystem:"System",TextUsers:"Users",UserHimself:"Himself",UserRoles:"Roles",Users:"Users",UserWorkspace:"Workspace"},PlacementComponent:{MoveLeftFreeSpace:"Moves a component to the left side of a free space, increasing the height of the component to the height of free space.",MoveRightFreeSpace:"Moves a component to the right side of a free space, increasing the height of the component to the height of free space."},PropertyCategory:{AppearanceCategory:"Appearance",AreaCategory:"Area",ArgumentCategory:"Argument",AxisCategory:"Axis",BarCodeAdditionalCategory:"Bar Code Additional",BarCodeCategory:"Bar Code",BehaviorCategory:"Behavior",CapNeedle:"Cap Needle",CellCategory:"Cell",ChartAdditionalCategory:"Chart Additional",ChartCategory:"Chart",ChartMap:"Map",CheckCategory:"Check",ColorsCategory:"Colors",ColumnsCategory:"Columns",ComboBoxCategory:"Combo Box",CommonCategory:"Common",ControlCategory:"Control",ControlsEventsCategory:"Controls Events",CrossTabCategory:"Cross-Tab",DashboardCategory:"Dashboard",DataCategory:"Data",DataCells:"Data Cells",DatePickerCategory:"Date Picker",DescriptionCategory:"Description",DesignCategory:"Design",DisplayCategory:"Display",EngineCategory:"Engine",ExportCategory:"Export",ExportEventsCategory:"Export Events",FooterTableCategory:"Footer Table",GaugeCategory:"Gauge",GlobalizationCategory:"Globalization",GridLinesCategory:"Grid Lines",HeaderTableCategory:"Header Table",HierarchicalCategory:"Hierarchical",ImageAdditionalCategory:"Image Additional",ImageCategory:"Image",IndicatorCategory:"Indicator",InterlacingCategory:"Interlacing",LabelsCategory:"Labels",LegendCategory:"Legend",ListBoxCategory:"List Box",MainCategory:"Main",MarkerCategory:"Marker",MiscCategory:"Misc",MouseEventsCategory:"Mouse Events",NavigationCategory:"Navigation",NavigationEventsCategory:"Navigation Events",Needle:"Needle",OnlineMapCategory:"Online Map",OptionsCategory:"Options",PageAdditionalCategory:"Page Additional",PageCategory:"Page",PageColumnBreakCategory:"Page and Column Break",ParametersCategory:"Parameters",PivotTableCategory:"Pivot Table",PositionCategory:"Position",PrimitiveCategory:"Primitive",PrintEventsCategory:"Print Events",ProgressCategory:"Progress",RegionMapCategory:"Region Map",RenderEventsCategory:"Render Events",SeriesCategory:"Series",SeriesLabelsCategory:"Series Labels",ShapeCategory:"Shape",Size:"Size",SubReportCategory:"Sub-Report",TableCategory:"Table",TextAdditionalCategory:"Text Additional",TextCategory:"Text",TitleCategory:"Title",TreeViewBoxCategory:"Tree View Box",TreeViewCategory:"Tree View",TrendLineCategory:"Trend Line",ValueCategory:"Value",ValueCloseCategory:"Value Close",ValueEndCategory:"Value End",ValueEventsCategory:"Value Events",ValueHighCategory:"Value High",ValueLowCategory:"Value Low",ValueOpenCategory:"Value Open",ViewCategory:"View",WeightCategory:"Weight",WinControlCategory:"Win Control",ZipCodeCategory:"ZIP Code"},PropertyColor:{AliceBlue:"Alice Blue",AntiqueWhite:"Antique White",Aqua:"Aqua",Aquamarine:"Aquamarine",Azure:"Azure",Beige:"Beige",Bisque:"Bisque",Black:"Black",BlanchedAlmond:"Blanched Almond",Blue:"Blue",BlueViolet:"Blue Violet",Brown:"Brown",BurlyWood:"Burly Wood",CadetBlue:"Cadet Blue",Carmine:"Carmine",Chartreuse:"Chartreuse",Chocolate:"Chocolate",Coral:"Coral",CornflowerBlue:"Cornflower Blue",Cornsilk:"Cornsilk",Crimson:"Crimson",Cyan:"Cyan",DarkBlue:"Dark Blue",DarkCyan:"Dark Cyan",DarkGoldenrod:"Dark Goldenrod",DarkGray:"Dark Gray",DarkGreen:"Dark Green",DarkKhaki:"Dark Khaki",DarkMagenta:"Dark Magenta",DarkOliveGreen:"Dark Olive Green",DarkOrange:"Dark Orange",DarkOrchid:"Dark Orchid",DarkRed:"Dark Red",DarkSalmon:"Dark Salmon",DarkSeaGreen:"Dark Sea Green",DarkSlateBlue:"Dark Slate Blue",DarkSlateGray:"Dark Slate Gray",DarkTurquoise:"Dark Turquoise",DarkViolet:"Dark Violet",DeepPink:"Deep Pink",DeepSkyBlue:"Deep Sky Blue",DimGray:"Dim Gray",DodgerBlue:"Dodger Blue",Firebrick:"Firebrick",FloralWhite:"Floral White",ForestGreen:"Forest Green",Fuchsia:"Fuchsia",Gainsboro:"Gainsboro",GhostWhite:"Ghost White",Gold:"Gold",Goldenrod:"Goldenrod",Gray:"Gray",Green:"Green",GreenYellow:"Green Yellow",Honeydew:"Honeydew",HotPink:"Hot Pink",IndianRed:"Indian Red",Indigo:"Indigo",Ivory:"Ivory",Khaki:"Khaki",Lavender:"Lavender",LavenderBlush:"Lavender Blush",LawnGreen:"Lawn Green",LemonChiffon:"Lemon Chiffon",LightBlue:"Light Blue",LightCoral:"Light Coral",LightCyan:"Light Cyan",LightGoldenrodYellow:"Light Goldenrod Yellow",LightGray:"Light Gray",LightGreen:"Light Green",LightPink:"Light Pink",LightSalmon:"Light Salmon",LightSeaGreen:"Light Sea Green",LightSkyBlue:"Light Sky Blue",LightSlateGray:"Light Slate Gray",LightSteelBlue:"Light Steel Blue",LightYellow:"Light Yellow",Lime:"Lime",LimeGreen:"Lime Green",Linen:"Linen",Magenta:"Magenta",Maroon:"Maroon",MediumAquamarine:"Medium Aquamarine",MediumBlue:"Medium Blue",MediumOrchid:"Medium Orchid",MediumPurple:"Medium Purple",MediumSeaGreen:"Medium Sea Green",MediumSlateBlue:"Medium Slate Blue",MediumSpringGreen:"Medium Spring Green",MediumTurquoise:"Medium Turquoise",MediumVioletRed:"Medium Violet Red",MidnightBlue:"Midnight Blue",MintCream:"Mint Cream",MistyRose:"Misty Rose",Moccasin:"Moccasin",NavajoWhite:"Navajo White",Navy:"Navy",OldLace:"Old Lace",Olive:"Olive",OliveDrab:"Olive Drab",Orange:"Orange",OrangeRed:"Orange Red",Orchid:"Orchid",PaleGoldenrod:"Pale Goldenrod",PaleGreen:"Pale Green",PaleTurquoise:"Pale Turquoise",PaleVioletRed:"Pale Violet Red",PapayaWhip:"Papaya Whip",PeachPuff:"Peach Puff",Peru:"Peru",Pink:"Pink",Plum:"Plum",PowderBlue:"Powder Blue",Purple:"Purple",Red:"Red",RosyBrown:"Rosy Brown",RoyalBlue:"Royal Blue",SaddleBrown:"Saddle Brown",Salmon:"Salmon",SandyBrown:"Sandy Brown",SeaGreen:"Sea Green",SeaShell:"Sea Shell",Sienna:"Sienna",Silver:"Silver",SkyBlue:"Sky Blue",SlateBlue:"Slate Blue",SlateGray:"Slate Gray",Snow:"Snow",SpringGreen:"Spring Green",SteelBlue:"Steel Blue",Tan:"Tan",Teal:"Teal",Thistle:"Thistle",Tomato:"Tomato",Transparent:"Transparent",Turquoise:"Turquoise",VeryDarkGray:"Very Dark Gray",Violet:"Violet",Wheat:"Wheat",White:"White",WhiteSmoke:"White Smoke",Yellow:"Yellow",YellowGreen:"Yellow Green"},PropertyEnum:{boolFalse:"False",boolTrue:"True",BorderStyleFixed3D:"Fixed 3D",BorderStyleFixedSingle:"Fixed Single",BorderStyleNone:"None",ChartAxesTicksAll:"All",ChartAxesTicksMajor:"Major",ChartAxesTicksNone:"None",ChartGridLinesAll:"All",ChartGridLinesMajor:"Major",ChartGridLinesNone:"None",ComboBoxStyleDropDown:"Drop Down",ComboBoxStyleDropDownList:"Drop Down List",ComboBoxStyleSimple:"Simple",ContentAlignmentBottomCenter:"Bottom Center",ContentAlignmentBottomLeft:"Bottom Left",ContentAlignmentBottomRight:"Bottom Right",ContentAlignmentMiddleCenter:"Middle Center",ContentAlignmentMiddleLeft:"Middle Left",ContentAlignmentMiddleRight:"Middle Right",ContentAlignmentTopCenter:"Top Center",ContentAlignmentTopLeft:"Top Left",ContentAlignmentTopRight:"Top Right",DataGridLineStyleNone:"None",DataGridLineStyleSolid:"Solid",DateTimePickerFormatCustom:"Custom",DateTimePickerFormatLong:"Long",DateTimePickerFormatShort:"Short",DateTimePickerFormatTime:"Time",DialogResultAbort:"Abort",DialogResultCancel:"Cancel",DialogResultIgnore:"Ignore",DialogResultNo:"No",DialogResultNone:"None",DialogResultOK:"OK",DialogResultRetry:"Retry",DialogResultYes:"Yes",DuplexDefault:"Default",DuplexHorizontal:"Horizontal",DuplexSimplex:"Simplex",DuplexVertical:"Vertical",FormStartPositionCenterParent:"Center Parent",FormStartPositionCenterScreen:"Center Screen",FormStartPositionManual:"Manual",FormStartPositionWindowsDefaultBounds:"Windows Default Bounds",FormStartPositionWindowsDefaultLocation:"Windows Default Location",FormWindowStateMaximized:"Maximized",FormWindowStateMinimized:"Minimized",FormWindowStateNormal:"Normal",HorizontalAlignmentCenter:"Center",HorizontalAlignmentLeft:"Left",HorizontalAlignmentRight:"Right",HotkeyPrefixHide:"Hide",HotkeyPrefixNone:"None",HotkeyPrefixShow:"Show",LeftRightAlignmentLeft:"Left",LeftRightAlignmentRight:"Right",PictureBoxSizeModeAutoSize:"Auto Size",PictureBoxSizeModeCenterImage:"Center Image",PictureBoxSizeModeNormal:"Normal",PictureBoxSizeModeStretchImage:"Stretch Image",RelationDirectionChildToParent:"Child-To-Parent",RelationDirectionParentToChild:"Parent-To-Child",RightToLeftInherit:"Inherit",RightToLeftNo:"No",RightToLeftYes:"Yes",SelectionModeMultiExtended:"Multi Extended",SelectionModeMultiSimple:"Multi Simple",SelectionModeNone:"None",SelectionModeOne:"One",StiAnchorModeBottom:"Bottom",StiAnchorModeLeft:"Left",StiAnchorModeRight:"Right",StiAnchorModeTop:"Top",StiAngleAngle0:"0 Degrees",StiAngleAngle180:"180 Degrees",StiAngleAngle270:"270 Degrees",StiAngleAngle45:"45 Degrees",StiAngleAngle90:"90 Degrees",StiArrowStyleArc:"Arc",StiArrowStyleArcAndCircle:"Arc and Circle",StiArrowStyleCircle:"Circle",StiArrowStyleLines:"Lines",StiArrowStyleNone:"None",StiArrowStyleTriangle:"Triangle",StiBorderSidesAll:"All",StiBorderSidesBottom:"Bottom",StiBorderSidesLeft:"Left",StiBorderSidesNone:"None",StiBorderSidesRight:"Right",StiBorderSidesTop:"Top",StiBorderStyleBump:"Bump",StiBorderStyleEtched:"Etched",StiBorderStyleFlat:"Flat",StiBorderStyleNone:"None",StiBorderStyleRaised:"Raised",StiBorderStyleRaisedInner:"Raised Inner",StiBorderStyleRaisedOuter:"Raised Outer",StiBorderStyleSunken:"Sunken",StiBorderStyleSunkenInner:"Sunken Inner",StiBorderStyleSunkenOuter:"Sunken Outer",StiBrushTypeGlare:"Glare Brush",StiBrushTypeGradient0:"Gradient Brush, Angle 0",StiBrushTypeGradient180:"Gradient Brush, Angle 180",StiBrushTypeGradient270:"Gradient Brush, Angle 270",StiBrushTypeGradient45:"Gradient Brush, Angle 45",StiBrushTypeGradient90:"Gradient Brush, Angle 90",StiBrushTypeSolid:"Solid Brush",StiCalculationModeCompilation:"Compilation",StiCalculationModeInterpretation:"Interpretation",StiCapStyleArrow:"Arrow",StiCapStyleDiamond:"Diamond",StiCapStyleNone:"None",StiCapStyleOpen:"Open",StiCapStyleOval:"Oval",StiCapStyleSquare:"Square",StiCapStyleStealth:"Stealth",StiChartLabelsStyleCategory:"Category",StiChartLabelsStyleCategoryPercentOfTotal:"Category - Percent Of Total",StiChartLabelsStyleCategoryValue:"Category - Value",StiChartLabelsStylePercentOfTotal:"Percent Of Total",StiChartLabelsStyleValue:"Value",StiChartTitleDockBottom:"Bottom",StiChartTitleDockLeft:"Left",StiChartTitleDockRight:"Right",StiChartTitleDockTop:"Top",StiChartTrendLineTypeExponential:"Exponential",StiChartTrendLineTypeLinear:"Linear",StiChartTrendLineTypeLogarithmic:"Logarithmic",StiChartTrendLineTypeNone:"None",StiCheckStyleCheck:"Check",StiCheckStyleCheckRectangle:"Check Rectangle",StiCheckStyleCross:"Cross",StiCheckStyleCrossCircle:"Cross Circle",StiCheckStyleCrossRectangle:"Cross Rectangle",StiCheckStyleDotCircle:"Dot Circle",StiCheckStyleDotRectangle:"Dot Rectangle",StiCheckStyleNone:"None",StiCheckStyleNoneCircle:"None Circle",StiCheckStyleNoneRectangle:"None Rectangle",StiCheckSumNo:"No",StiCheckSumYes:"Yes",StiCode11CheckSumAuto:"Auto",StiCode11CheckSumNone:"None",StiCode11CheckSumOneDigit:"One Digit",StiCode11CheckSumTwoDigits:"Two Digits",StiColorScaleTypeColor2:"2-Color Scale",StiColorScaleTypeColor3:"3-Color Scale",StiColumnDirectionAcrossThenDown:"Across Then Down",StiColumnDirectionDownThenAcross:"Down Then Across",StiCrossHorAlignmentCenter:"Center",StiCrossHorAlignmentLeft:"Left",StiCrossHorAlignmentNone:"None",StiCrossHorAlignmentRight:"Right",StiDateSelectionModeAutoRange:"Auto Range",StiDateSelectionModeRange:"Range",StiDateSelectionModeSingle:"Single",StiDateTimeTypeDate:"Date",StiDateTimeTypeDateAndTime:"Date and Time",StiDateTimeTypeTime:"Time",StiDesignerScaleModeAutomaticScaling:"Automatic Scaling",StiDesignerScaleModeScaling100:"100% Scaling",StiDesignerSpecificationAuto:"Determine Automatically",StiDesignerSpecificationBeginner:"I'm Beginner",StiDesignerSpecificationBICreator:"I'm Creator",StiDesignerSpecificationDeveloper:"I'm Developer",StiDisplayNameTypeFull:"Full",StiDisplayNameTypeNone:"None",StiDisplayNameTypeShort:"Short",StiDockStyleBottom:"Bottom",StiDockStyleFill:"Fill",StiDockStyleLeft:"Left",StiDockStyleNone:"None",StiDockStyleRight:"Right",StiDockStyleTop:"Top",StiDrillDownModeMultiPage:"Multi Page",StiDrillDownModeSinglePage:"Single Page",StiEanSupplementTypeFiveDigit:"FiveDigit",StiEanSupplementTypeNone:"None",StiEanSupplementTypeTwoDigit:"TwoDigit",StiEmptyCellsAsConnectPointsWithLine:"Connect Points with Line",StiEmptyCellsAsGap:"Gap",StiEmptyCellsAsZero:"Zero",StiEmptySizeModeAlignFooterToBottom:"Align Footer to Bottom",StiEmptySizeModeAlignFooterToTop:"Align Footer to Top",StiEmptySizeModeDecreaseLastRow:"Decrease Last Row",StiEmptySizeModeIncreaseLastRow:"Increase Last Row",StiEnumeratorTypeABC:"ABC",StiEnumeratorTypeArabic:"Arabic",StiEnumeratorTypeNone:"None",StiEnumeratorTypeRoman:"Roman",StiExtendedStyleBoolFalse:"False",StiExtendedStyleBoolFromStyle:"From Style",StiExtendedStyleBoolTrue:"True",StiFilterConditionBeginningWith:"beginning with",StiFilterConditionBetween:"between",StiFilterConditionContaining:"containing",StiFilterConditionEndingWith:"ending with",StiFilterConditionEqualTo:"equal to",StiFilterConditionGreaterThan:"greater than",StiFilterConditionGreaterThanOrEqualTo:"greater than or equal to",StiFilterConditionIsBlank:"is blank",StiFilterConditionIsNotBlank:"is not blank",StiFilterConditionIsNotNull:"is not null",StiFilterConditionIsNull:"is null",StiFilterConditionLessThan:"less than",StiFilterConditionLessThanOrEqualTo:"less than or equal to",StiFilterConditionNotBetween:"not between",StiFilterConditionNotContaining:"not containing",StiFilterConditionNotEqualTo:"not equal to",StiFilterDataTypeBoolean:"Boolean",StiFilterDataTypeDateTime:"DateTime",StiFilterDataTypeExpression:"Expression",StiFilterDataTypeNumeric:"Numeric",StiFilterDataTypeString:"String",StiFilterEngineReportEngine:"Report Engine",StiFilterEngineSQLQuery:"SQL Query",StiFilterItemArgument:"Argument",StiFilterItemExpression:"Expression",StiFilterItemValue:"Value",StiFilterItemValueClose:"Value Close",StiFilterItemValueEnd:"Value End",StiFilterItemValueHigh:"Value High",StiFilterItemValueLow:"Value Low",StiFilterItemValueOpen:"Value Open",StiFilterModeAnd:"And",StiFilterModeOr:"Or",StiFontIconGroupAccessibilityIcons:"Accessibility",StiFontIconGroupBrandIcons:"Brand",StiFontIconGroupDirectionalIcons:"Directional",StiFontIconGroupGenderIcons:"Gender",StiFontIconGroupMedicalIcons:"Medical",StiFontIconGroupPaymentIcons:"Payment",StiFontIconGroupSpinnerIcons:"Spinner",StiFontIconGroupTransportationIcons:"Transportation",StiFontIconGroupVideoPlayerIcons:"Video",StiFontIconGroupWebApplicationIcons:"Application",StiFontSizeModeAuto:"Auto",StiFontSizeModeTarget:"Target",StiFontSizeModeValue:"Value",StiFormStartModeOnEnd:"On End",StiFormStartModeOnPreview:"On Preview",StiFormStartModeOnStart:"On Start",StiGaugeCalculationModeAuto:"Auto",StiGaugeCalculationModeCustom:"Custom",StiGaugeRangeModePercentage:"Percentage",StiGaugeRangeModeValue:"Value",StiGaugeRangeTypeColor:"Color",StiGaugeRangeTypeNone:"None",StiGaugeTypeBullet:"Bullet",StiGaugeTypeFullCircular:"Full Circular",StiGaugeTypeHalfCircular:"Half-Circular",StiGaugeTypeHorizontalLinear:"Horizontal Linear",StiGaugeTypeLinear:"Vertical Linear",StiGroupSortDirectionAscending:"Ascending",StiGroupSortDirectionDescending:"Descending",StiGroupSortDirectionNone:"None",StiHorAlignmentCenter:"Center",StiHorAlignmentLeft:"Left",StiHorAlignmentRight:"Right",StiIconAlignmentBottom:"Bottom",StiIconAlignmentLeft:"Left",StiIconAlignmentNone:"None",StiIconAlignmentRight:"Right",StiIconAlignmentTop:"Top",StiImageProcessingDuplicatesTypeGlobalHide:"Global Hide",StiImageProcessingDuplicatesTypeGlobalMerge:"Global Merge",StiImageProcessingDuplicatesTypeGlobalRemoveImage:"Global Remove Image",StiImageProcessingDuplicatesTypeHide:"Hide",StiImageProcessingDuplicatesTypeMerge:"Merge",StiImageProcessingDuplicatesTypeNone:"None",StiImageProcessingDuplicatesTypeRemoveImage:"Remove Image",StiImageRotationFlipHorizontal:"Flip Horizontal",StiImageRotationFlipVertical:"Flip Vertical",StiImageRotationNone:"None",StiImageRotationRotate180:"Rotate 180°",StiImageRotationRotate90CCW:"Rotate 90° CCW",StiImageRotationRotate90CW:"Rotate 90° CW",StiInteractionOnClick:"None",StiInteractionOnClickApplyFilter:"Apply Filter",StiInteractionOnClickDrillDown:"Drill-Down",StiInteractionOnClickOpenHyperlink:"Open Hyperlink",StiInteractionOnClickShowDashboard:"Show Dashboard",StiInteractionOnHoverNone:"None",StiInteractionOnHoverShowHyperlink:"Show Hyperlink",StiInteractionOnHoverShowToolTip:"Show Tool Tip",StiInteractionOpenHyperlinkDestinationCurrentTab:"Current Tab",StiInteractionOpenHyperlinkDestinationNewTab:"New Tab",StiItemSelectionModeMulti:"Multi",StiItemSelectionModeOne:"One",StiKeepDetailsKeepDetailsTogether:"Keep Details Together",StiKeepDetailsKeepFirstDetailTogether:"Keep First Detail Together",StiKeepDetailsKeepFirstRowTogether:"Keep First Row Together",StiKeepDetailsNone:"None",StiLabelsPlacementAutoRotation:"Auto Rotation",StiLabelsPlacementNone:"None",StiLabelsPlacementOneLine:"One Line",StiLabelsPlacementTwoLines:"Two Lines",StiLegendDirectionBottomToTop:"Bottom to Top",StiLegendDirectionLeftToRight:"Left to Right",StiLegendDirectionRightToLeft:"Right to Left",StiLegendDirectionTopToBottom:"Top to Bottom",StiLegendHorAlignmentCenter:"Center",StiLegendHorAlignmentLeft:"Left",StiLegendHorAlignmentLeftOutside:"Left Outside",StiLegendHorAlignmentRight:"Right",StiLegendHorAlignmentRightOutside:"Right Outside",StiLegendVertAlignmentBottom:"Bottom",StiLegendVertAlignmentBottomOutside:"Bottom Outside",StiLegendVertAlignmentCenter:"Center",StiLegendVertAlignmentTop:"Top",StiLegendVertAlignmentTopOutside:"Top Outside",StiMapModeChoropleth:"Choropleth",StiMapModeOnline:"Online",StiMapTypeGroup:"Group",StiMapTypeHeatmap:"Heatmap",StiMapTypeHeatmapWithGroup:"Heatmap With Group",StiMapTypeIndividual:"Individual",StiMapTypeNone:"None",StiMapTypePoints:"Points",StiMarkerAlignmentCenter:"Center",StiMarkerAlignmentLeft:"Left",StiMarkerAlignmentRight:"Right",StiMarkerTypeCircle:"Circle",StiMarkerTypeHalfCircle:"Half Circle",StiMarkerTypeHexagon:"Hexagon",StiMarkerTypeRectangle:"Rectangle",StiMarkerTypeStar5:"Star 5",StiMarkerTypeStar6:"Star 6",StiMarkerTypeStar7:"Star 7",StiMarkerTypeStar8:"Star 8",StiMarkerTypeTriangle:"Triangle",StiNestedFactorHigh:"High",StiNestedFactorLow:"Low",StiNestedFactorNormal:"Normal",StiNumberOfPassDoublePass:"Double Pass",StiNumberOfPassSinglePass:"Single Pass",StiOnlineMapHeatmapColorGradientTypeBlackAquaWhite:"Black Aqua White",StiOnlineMapHeatmapColorGradientTypeBlueRed:"Blue Red",StiOnlineMapHeatmapColorGradientTypeColorSpectrum:"Color Spectrum",StiOnlineMapHeatmapColorGradientTypeDeepSea:"Deep Sea",StiOnlineMapHeatmapColorGradientTypeHeatedMetal:"Heated Metal",StiOnlineMapHeatmapColorGradientTypeIncandescent:"Incandescent",StiOnlineMapHeatmapColorGradientTypeSteppedColors:"Stepped Colors",StiOnlineMapHeatmapColorGradientTypeSunrise:"Sunrise",StiOnlineMapHeatmapColorGradientTypeVisibleSpectrum:"Visible Spectrum",StiOnlineMapLocationTypeAdminDivision1:"AdminDivision1",StiOnlineMapLocationTypeAdminDivision2:"AdminDivision2",StiOnlineMapLocationTypeAuto:"Auto",StiOnlineMapLocationTypeCountryRegion:"CountryRegion",StiOnlineMapLocationTypeNeighborhood:"Neighborhood",StiOnlineMapLocationTypePopulatedPlace:"PopulatedPlace",StiOnlineMapLocationTypePostcode1:"Postcode1",StiOnlineMapLocationTypePostcode2:"Postcode2",StiOnlineMapLocationTypePostcode3:"Postcode3",StiOnlineMapLocationTypePostcode4:"Postcode4",StiOrientationHorizontal:"Horizontal",StiOrientationHorizontalRight:"Horizontal Right",StiOrientationVertical:"Vertical",StiPageOrientationLandscape:"Landscape",StiPageOrientationPortrait:"Portrait",StiPenStyleDash:"Dash",StiPenStyleDashDot:"Dash Dot",StiPenStyleDashDotDot:"Dash Dot Dot",StiPenStyleDot:"Dot",StiPenStyleDouble:"Double",StiPenStyleNone:"None",StiPenStyleSolid:"Solid",StiPlesseyCheckSumModulo10:"Modulo10",StiPlesseyCheckSumModulo11:"Modulo11",StiPlesseyCheckSumNone:"None",StiPreviewModeDotMatrix:"Dot-Matrix",StiPreviewModeStandard:"Standard",StiPreviewModeStandardAndDotMatrix:"Standard and Dot-Matrix",StiPrintOnEvenOddPagesTypeIgnore:"Ignore",StiPrintOnEvenOddPagesTypePrintOnEvenPages:"Print on Even Pages",StiPrintOnEvenOddPagesTypePrintOnOddPages:"Print on Odd Pages",StiPrintOnTypeAllPages:"All Pages",StiPrintOnTypeExceptFirstAndLastPage:"Except First and Last Page",StiPrintOnTypeExceptFirstPage:"Except First Page",StiPrintOnTypeExceptLastPage:"Except Last Page",StiPrintOnTypeOnlyFirstAndLastPage:"Only First and Last Page",StiPrintOnTypeOnlyFirstPage:"Only First Page",StiPrintOnTypeOnlyLastPage:"Only Last Page",StiProcessAtEndOfPage:"End of Page",StiProcessAtEndOfReport:"End of Report",StiProcessAtNone:"None",StiProcessingDuplicatesTypeBasedOnTagHide:"Hide based on Tag",StiProcessingDuplicatesTypeBasedOnTagMerge:"Merge based on Tag",StiProcessingDuplicatesTypeBasedOnTagRemoveText:"Remove Text based on Tag",StiProcessingDuplicatesTypeBasedOnValueAndTagHide:"Hide based on Value and Tag",StiProcessingDuplicatesTypeBasedOnValueAndTagMerge:"Merge based on Value and Tag",StiProcessingDuplicatesTypeBasedOnValueRemoveText:"Remove based on Value Text",StiProcessingDuplicatesTypeGlobalBasedOnValueAndTagHide:"Global Hide based on Value and Tag",StiProcessingDuplicatesTypeGlobalBasedOnValueAndTagMerge:"Global Merge based on Value and Tag",StiProcessingDuplicatesTypeGlobalBasedOnValueRemoveText:"Global Remove based on Value Text",StiProcessingDuplicatesTypeGlobalHide:"Global Hide",StiProcessingDuplicatesTypeGlobalMerge:"Global Merge",StiProcessingDuplicatesTypeGlobalRemoveText:"Global Remove Text",StiProcessingDuplicatesTypeHide:"Hide",StiProcessingDuplicatesTypeMerge:"Merge",StiProcessingDuplicatesTypeNone:"None",StiProcessingDuplicatesTypeRemoveText:"Remove Text",StiProgressElementModeCircle:"Circle",StiProgressElementModeDataBars:"DataBars",StiProgressElementModePie:"Pie",StiRadarStyleXFCircle:"Circle",StiRadarStyleXFPolygon:"Polygon",StiReportCacheModeAuto:"Auto",StiReportCacheModeOff:"Off",StiReportCacheModeOn:"On",StiReportUnitTypeCentimeters:"Centimeters",StiReportUnitTypeHundredthsOfInch:"Hundredths of Inch",StiReportUnitTypeInches:"Inches",StiReportUnitTypeMillimeters:"Millimeters",StiReportUnitTypePixels:"Pixels",StiRestrictionsAll:"All",StiRestrictionsAllowChange:"Allow Change",StiRestrictionsAllowDelete:"Allow Delete",StiRestrictionsAllowMove:"Allow Move",StiRestrictionsAllowResize:"Allow Resize",StiRestrictionsAllowSelect:"Allow Select",StiRestrictionsNone:"None",StiSelectionModeFirst:"First",StiSelectionModeFromVariable:"From Variable",StiSelectionModeNothing:"Nothing",StiSeriesLabelsValueTypeArgument:"Argument",StiSeriesLabelsValueTypeArgumentValue:"Argument - Value",StiSeriesLabelsValueTypeSeriesTitle:"Series Title",StiSeriesLabelsValueTypeSeriesTitleArgument:"Series Title - Argument",StiSeriesLabelsValueTypeSeriesTitleValue:"Series Title - Value",StiSeriesLabelsValueTypeTag:"Tag",StiSeriesLabelsValueTypeValue:"Value",StiSeriesLabelsValueTypeValueArgument:"Value - Argument",StiSeriesLabelsValueTypeWeight:"Weight",StiSeriesSortDirectionAscending:"Ascending",StiSeriesSortDirectionDescending:"Descending",StiSeriesSortTypeArgument:"Argument",StiSeriesSortTypeNone:"None",StiSeriesSortTypeValue:"Value",StiSeriesXAxisBottomXAxis:"Bottom X Axis",StiSeriesXAxisTopXAxis:"Top X Axis",StiSeriesYAxisLeftYAxis:"Left Y Axis",StiSeriesYAxisRightYAxis:"Right Y Axis",StiShapeDirectionDown:"Down",StiShapeDirectionLeft:"Left",StiShapeDirectionRight:"Right",StiShapeDirectionUp:"Up",StiShiftModeDecreasingSize:"Decreasing Size",StiShiftModeIncreasingSize:"Increasing Size",StiShiftModeNone:"None",StiShiftModeOnlyInWidthOfComponent:"Only in Width of Component",StiShowSeriesLabelsFromChart:"From Chart",StiShowSeriesLabelsFromSeries:"From Series",StiShowSeriesLabelsNone:"None",StiShowXAxisBoth:"Both",StiShowXAxisBottom:"Bottom",StiShowXAxisCenter:"Center",StiShowYAxisBoth:"Both",StiShowYAxisCenter:"Center",StiShowYAxisLeft:"Left",StiSizeModeAutoSize:"Auto Size",StiSizeModeFit:"Fit",StiSortDirectionAsc:"Ascending",StiSortDirectionDesc:"Descending",StiSortDirectionNone:"None",StiSortTypeByDisplayValue:"by Display Value",StiSortTypeByValue:"by Value",StiSqlSourceTypeStoredProcedure:"Stored Procedure",StiSqlSourceTypeTable:"Query",StiStyleComponentTypeChart:"Chart",StiStyleComponentTypeCheckBox:"Check Box",StiStyleComponentTypeCrossTab:"Cross-Tab",StiStyleComponentTypeImage:"Image",StiStyleComponentTypePrimitive:"Primitive",StiStyleComponentTypeText:"Text",StiStyleConditionTypeComponentName:"Component Name",StiStyleConditionTypeComponentType:"Component Type",StiStyleConditionTypeLocation:"Location",StiStyleConditionTypePlacement:"Placement",StiSummaryValuesAllValues:"All Values",StiSummaryValuesSkipNulls:"Skip Nulls",StiSummaryValuesSkipZerosAndNulls:"Skip Zeros and Nulls",StiTablceCellTypeCheckBox:"CheckBox",StiTablceCellTypeImage:"Image",StiTablceCellTypeRichText:"RichText",StiTablceCellTypeText:"Text",StiTableAutoWidthNone:"None",StiTableAutoWidthPage:"Page",StiTableAutoWidthTable:"Table",StiTableAutoWidthTypeFullTable:"Full Table",StiTableAutoWidthTypeLastColumns:"Last Columns",StiTableAutoWidthTypeNone:"None",StiTargetModePercentage:"Percentage",StiTargetModeVariation:"Variation",StiTextHorAlignmentCenter:"Center",StiTextHorAlignmentLeft:"Left",StiTextHorAlignmentRight:"Right",StiTextHorAlignmentWidth:"Width",StiTextPositionCenterBottom:"Center Bottom",StiTextPositionCenterTop:"Center Top",StiTextPositionLeftBottom:"Left Bottom",StiTextPositionLeftTop:"Left Top",StiTextPositionRightBottom:"Right Bottom",StiTextPositionRightTop:"Right Top",StiTextQualityStandard:"Standard",StiTextQualityTypographic:"Typographic",StiTextQualityWysiwyg:"Wysiwyg",StiTitlePositionInside:"Inside",StiTitlePositionOutside:"Outside",StiTypeModeList:"List",StiTypeModeNullableValue:"Nullable Value",StiTypeModeRange:"Range",StiTypeModeValue:"Value",StiVertAlignmentBottom:"Bottom",StiVertAlignmentCenter:"Center",StiVertAlignmentTop:"Top",StiViewModeNormal:"Normal",StiViewModePageBreakPreview:"Page Break Preview",StiXmlTypeAdoNetXml:"ADO.NET XML",StiXmlTypeXml:"XML",StringAlignmentCenter:"Center",StringAlignmentFar:"Far",StringAlignmentNear:"Near",StringTrimmingCharacter:"Character",StringTrimmingEllipsisCharacter:"Ellipsis Character",StringTrimmingEllipsisPath:"Ellipsis Path",StringTrimmingEllipsisWord:"Ellipsis Word",StringTrimmingNone:"None",StringTrimmingWord:"Word"},PropertyEvents:{AfterPrintEvent:"After Print",AfterSelectEvent:"After Select",BeforePrintEvent:"Before Print",BeginRenderEvent:"Begin Render",CheckedChangedEvent:"Checked Changed",ClickEvent:"Click",ClosedFormEvent:"Closed Form",ClosingFormEvent:"Closing Form",ColumnBeginRenderEvent:"Column Begin Render",ColumnEndRenderEvent:"Column End Render",ConnectedEvent:"ConnectedEvent",ConnectingEvent:"ConnectingEvent",DisconnectedEvent:"Disconnected",DisconnectingEvent:"Disconnecting",DoubleClickEvent:"Double Click",EndRenderEvent:"End Render",EnterEvent:"Enter",ExportedEvent:"Exported",ExportingEvent:"Exporting",GetArgumentEvent:"Get Argument",GetBookmarkEvent:"Get Bookmark",GetCollapsedEvent:"Get Collapsed",GetCrossValueEvent:"Get Cross Value",GetCutPieListEvent:"Get Cut Pie List",GetDataUrlEvent:"Get DataUrl",GetDisplayCrossValueEvent:"Get Display Cross Value",GetDrillDownReportEvent:"Get Drill-Down Report",GetExcelSheetEvent:"Get Excel Sheet",GetExcelValueEvent:"Get Excel Value",GetHyperlinkEvent:"Get Hyperlink",GetImageDataEvent:"Get Image Data",GetImageURLEvent:"Get Image URL",GetListOfArgumentsEvent:"Get List of Arguments",GetListOfHyperlinksEvent:"Get List of Hyperlinks",GetListOfTagsEvent:"Get List of Tags",GetListOfToolTipsEvent:"Get List of Tool Tips",GetListOfValuesEndEvent:"Get List of Values End",GetListOfValuesEvent:"Get List of Values",GetListOfWeights:"Get List of Weights",GetListOfWeightsEvent:"Get List of Weights",GetSummaryExpressionEvent:"Get Summary Expression",GetTagEvent:"Get Tag",GetTitleEvent:"Get Title",GetToolTipEvent:"Get Tool Tip",GetValueEndEvent:"Get Value End",GetValueEvent:"Get Value",GetWeightEvent:"Get Weight",LeaveEvent:"Leave",LoadFormEvent:"Load Form",MouseDownEvent:"Mouse Down",MouseEnterEvent:"Mouse Enter",MouseLeaveEvent:"Mouse Leave",MouseMoveEvent:"Mouse Move",MouseUpEvent:"Mouse Up",NewAutoSeriesEvent:"New Auto Series",PositionChangedEvent:"Position Changed",PrintedEvent:"Printed",PrintingEvent:"Printing",ProcessCellEvent:"Process Cell",ProcessChartEvent:"Process Chart",RenderingEvent:"Rendering",ReportCacheProcessingEvent:"Report Cache Processing",SelectedIndexChangedEvent:"Selected Index Changed",StateRestoreEvent:"State Restore",StateSaveEvent:"State Save",ValueChangedEvent:"Value Changed"},PropertyHatchStyle:{BackwardDiagonal:"Backward Diagonal",Cross:"Cross",DarkDownwardDiagonal:"Dark Downward Diagonal",DarkHorizontal:"Dark Horizontal",DarkUpwardDiagonal:"Dark Upward Diagonal",DarkVertical:"Dark Vertical",DashedDownwardDiagonal:"Dashed Downward Diagonal",DashedHorizontal:"Dashed Horizontal",DashedUpwardDiagonal:"Dashed Upward Diagonal",DashedVertical:"Dashed Vertical",DiagonalBrick:"Diagonal Brick",DiagonalCross:"Diagonal Cross",Divot:"Divot",DottedDiamond:"Dotted Diamond",DottedGrid:"Dotted Grid",ForwardDiagonal:"Forward Diagonal",Horizontal:"Horizontal",HorizontalBrick:"Horizontal Brick",LargeCheckerBoard:"Large Checker Board",LargeConfetti:"Large Confetti",LargeGrid:"Large Grid",LightDownwardDiagonal:"Light Downward Diagonal",LightHorizontal:"Light Horizontal",LightUpwardDiagonal:"Light Upward Diagonal",LightVertical:"Light Vertical",NarrowHorizontal:"Narrow Horizontal",NarrowVertical:"Narrow Vertical",OutlinedDiamond:"Outlined Diamond",Percent05:"Percent05",Percent10:"Percent10",Percent20:"Percent20",Percent25:"Percent25",Percent30:"Percent30",Percent40:"Percent40",Percent50:"Percent50",Percent60:"Percent60",Percent70:"Percent70",Percent75:"Percent75",Percent80:"Percent80",Percent90:"Percent90",Plaid:"Plaid",Shingle:"Shingle",SmallCheckerBoard:"Small Checker Board",SmallConfetti:"Small Confetti",SmallGrid:"Small Grid",SolidDiamond:"Solid Diamond",Sphere:"Sphere",Trellis:"Trellis",Vertical:"Vertical",Wave:"Wave",Weave:"Weave",WideDownwardDiagonal:"Wide Downward Diagonal",WideUpwardDiagonal:"Wide Upward Diagonal",ZigZag:"Zig Zag"},PropertyMain:{Always:"Always",AcceptsReturn:"Accepts Return",AcceptsTab:"Accepts Tab",Actual:"Actual",AddClearZone:"Add Clear Zone",Advanced:"Advanced",AggregateFunction:"Aggregate Function",AggregateFunctions:"Aggregate Functions",Alias:"Alias",Alignment:"Alignment",AllowApplyBorderColor:"Allow Apply Border Color",AllowApplyBrush:"Allow Apply Brush",AllowApplyBrushNegative:"Allow Apply Brush Negative",AllowApplyColorNegative:"Allow Apply Color Negative",AllowApplyLineColor:"Allow Apply Line Color",AllowApplyStyle:"Allow Apply Style",AllowExpressions:"Allow Expressions",AllowHtmlTags:"Allow HTML Tags",AllowSeries:"Allow Series",AllowSeriesElements:"Allow Series Elements",AllowSorting:"Allow Sorting",AllowUseBackColor:"Allow Use Back Color",AllowUseBorder:"Allow Use Border",AllowUseBorderFormatting:"Allow Use Border Formatting",AllowUseBorderSides:"Allow Use Border Sides",AllowUseBorderSidesFromLocation:"Allow Use Border Sides from Location",AllowUseBrush:"Allow Use Brush",AllowUseFont:"Allow Use Font",AllowUseForeColor:"Allow Use Fore Color",AllowUseHorAlignment:"Allow Use Hor Alignment",AllowUseImage:"Allow Use Image",AllowUseNegativeTextBrush:"Allow Use Negative Text Brush",AllowUserValues:"Allow User Values",AllowUseTextBrush:"Allow Use Text Brush",AllowUseTextFormat:"Allow Use Text Format",AllowUseTextOptions:"Allow Use Text Options",AllowUseVertAlignment:"Allow Use Vert Alignment",AllowUsingAsSqlParameter:"Allow using as SQL parameter",AlternatingBackColor:"Alternating Back Color",AlternatingCellBackColor:"Alternating Cell Back Color",AlternatingCellForeColor:"Alternating Cell Fore Color",AlternatingDataColor:"Alternating Data Color",AlternatingDataForeground:"Alternating Data Foreground",Anchor:"Anchor",Angle:"Angle",Antialiasing:"Antialiasing",Area:"Area",Argument:"Argument",ArgumentDataColumn:"Argument Data Column",ArgumentFormat:"Argument Format",Arguments:"Arguments",ArrowHeight:"Arrow Height",ArrowStyle:"Arrow Style",ArrowWidth:"Arrow Width",AspectRatio:"Aspect Ratio",Author:"Author",Auto:"Auto",AutoCalculateCenterPoint:"Auto Calculate Center Point",AutoDataColumns:"Auto Data Columns",AutoDataRows:"Auto Data Rows",AutoLocalizeReportOnRun:"Auto Localize Report on Run",AutoRefresh:"Auto Refresh",AutoRotate:"Auto Rotate",AutoScale:"Auto Scale",AutoSeriesColorDataColumn:"Auto Series Color Data Column",AutoSeriesKeyDataColumn:"Auto Series Key Data Column",AutoSeriesTitleDataColumn:"Auto Series Title Data Column",AutoWidth:"Auto Width",AutoWidthType:"Auto Width Type",AvailableInTheViewer:"Available in the Viewer",AxisLabelsColor:"Axis Labels Color",AxisLineColor:"Axis Line Color",AxisTitleColor:"Axis Title Color",AxisValue:"Axis Value",BackColor:"Back Color",Background:"Background",BackgroundColor:"Background Color",BandColor:"Band Color",BarCodeType:"Bar Code Type",BasicStyleColor:"Basic Style Color",Blend:"Blend",Bold:"Bold",Bookmark:"Bookmark",Border:"Border",BorderBrush:"Border Brush",BorderColor:"Border Color",BorderColorNegative:"Border Color Negative",Borders:"Borders",BorderSize:"Border Size",BorderStyle:"Border Style",BorderWidth:"Border Width",Bottom:"Bottom",BottomSide:"Bottom Side",BreakIfLessThan:"Break if Less Than",Brush:"Brush",BrushNegative:"Brush Negative",BrushType:"Brush Type",BubbleBackColor:"Bubble Back Color",BubbleBorderColor:"Bubble Border Color",BusinessObject:"Business Object",CacheAllData:"Cache All Data",CacheTotals:"Cache Totals",CalcInvisible:"Calc Invisible",CalculatedDataColumn:"Calculated Data Column",CalculationMode:"Calculation Mode",CanBreak:"Can Break",Cancel:"Cancel",CanGrow:"Can Grow",CanShrink:"Can Shrink",Categories:"Categories",Category:"Category",CategoryConnections:"Connections",CellBackColor:"Cell Back Color",CellDockStyle:"Cell Dock Style",CellForeColor:"Cell Fore Color",CellHeight:"Cell Height",CellType:"Cell Type",CellWidth:"Cell Width",Center:"Center",CenterPoint:"Center Point",ChartAreaBorderColor:"Chart Area Border Color",ChartAreaBrush:"Chart Area Brush",ChartAreaShowShadow:"Chart Area Show Shadow",ChartType:"Chart Type",Checked:"Checked",CheckOnClick:"Check on Click",CheckStyle:"Check Style",CheckStyleForFalse:"Check Style for False",CheckStyleForTrue:"Check Style for True",Checksum:"Checksum",CheckSum:"CheckSum",CheckSum1:"CheckSum1",CheckSum2:"CheckSum2",Child:"Child",ChildColumns:"Child Columns",ChildSource:"Child Source",ClearFormat:"Clear Format",CloneContainer:"Clone Container",CloseValues:"Close Values",Code:"Code",CodePage:"Code Page",Collapsed:"Collapsed",CollapseGroupFooter:"Collapse Group Footer",CollapsingEnabled:"Collapsing Enabled",Collate:"Collate",CollectionName:"Collection Name",Color:"Color",ColorDataColumn:"Color Data Column",ColorEach:"Color Each",ColorMeter:"Color Meter",Colors:"Colors",ColorScaleCondition:"Color Scale Condition",ColorScaleType:"Color Scale Type",Column:"Column",ColumnCount:"Column Count",ColumnDirection:"Column Direction",ColumnGaps:"Column Gaps",ColumnHeaderBackColor:"Column Header Back Color",ColumnHeaderForeColor:"Column Header Fore Color",ColumnHeadersVisible:"Column Headers Visible",Columns:"Columns",ColumnWidth:"Column Width",CommandTimeout:"Command Timeout",CompanyPrefix:"Company Prefix",ComponentStyle:"Component Style",Condition:"Condition",ConditionOptions:"Condition Options",Conditions:"Conditions",ConnectionString:"Connection String",ConnectOnStart:"Connect on Start",ConstantLines:"Constant Lines",Container:"Container",ContinuousText:"Continuous Text",ContourColor:"Contour Color",Converting:"Converting",ConvertNulls:"Convert Nulls",Copies:"Copies",Count:"Count",CountData:"Count Data",Create:"Create",CreateFieldOnDoubleClick:"Create Field on Double Click",CreateLabel:"Create Label",CrossFiltering:"Cross-Filtering",Culture:"Culture",CustomFonts:"Custom Fonts",CustomFormat:"Custom Format",CutPieList:"Cut Pie List",Data:"Data",DataAdapter:"Data Adapter",DataAdapters:"Data Adapters",DataBarCondition:"Data Bar Condition",DataBindings:"Data Bindings",DataColor:"Data Color",DataColumn:"Data Column",DataColumns:"Data Columns",DataField:"Data Field",DataForeground:"Data Foreground",DataRelation:"Data Relation",DataRows:"Data Rows",DataSource:"Data Source",DataSources:"Data Sources",DataTextField:"Data Text Field",DataTransformation:"Data Transformation",DataType:"Data Type",DataUrl:"Data URL",DateInfo:"Date Info",DateTimeStep:"Date Time Step",Default:"Default",DefaultColor:"Default Color",DefaultHeightCell:"Default Height of Cell",DefaultNamespace:"Default Namespace",DependentColumn:"Dependent Column",DependentValue:"Dependent Value",Description:"Description",Destination:"Destination",DetectUrls:"Detect URLs",DeviceWidth:"Device Width",DialogResult:"Dialog Result",Diameter:"Diameter",Direction:"Direction",Disabled:"Disabled",DisplayNameType:"Display Name Type",DisplayValue:"Display Value",Distance:"Distance",DistanceBetweenTabs:"Distance Between Tabs",Dock:"Dock",DockableTable:"Dockable Table",DockStyle:"Dock Style",DrawBorder:"Draw Border",DrawHatch:"Draw Hatch",DrawLine:"Draw Line",DrillDown:"Drill-Down",DrillDownEnabled:"Drill-Down Enabled",DrillDownMode:"Drill-Down Mode",DrillDownPage:"Drill-Down Page",DrillDownParameter1:"Drill-Down Parameter 1",DrillDownParameter2:"Drill-Down Parameter 2",DrillDownParameter3:"Drill-Down Parameter 3",DrillDownParameter4:"Drill-Down Parameter 4",DrillDownParameter5:"Drill-Down Parameter 5",DrillDownParameters:"Drill-Down Parameters",DrillDownReport:"Drill-Down Report",DropDownAlign:"Drop Down Align",DropDownStyle:"Drop Down Style",DropDownWidth:"Drop Down Width",DropShadow:"Drop Shadow",Duplex:"Duplex",Editable:"Editable",Effects:"Effects",EmptyBorderBrush:"Empty Border Brush",EmptyBorderWidth:"Empty Border Width",EmptyBrush:"Empty Brush",EmptyValue:"Empty Value",Enabled:"Enabled",EnableLog:"Enabled Log",EncodingMode:"Encoding Mode",EncodingType:"Encoding Type",EndCap:"End Cap",EndColor:"End Color",EndValue:"End Value",EndValues:"End Values",EndWidth:"End Width",EngineVersion:"Engine Version",EnumeratorSeparator:"Enumerator Separator",EnumeratorType:"Enumerator Type",ErrorCorrectionLevel:"Error Correction Level",ErrorsCorrectionLevel:"Errors Correction Level",EvenStyle:"Even Style",ExcelSheet:"Excel Sheet",ExcelValue:"Excel Value",Exponential:"Exponential",ExportAsImage:"Export as Image",Expression:"Expression",ExtensionDigit:"Extension Digit",FaqPage:"FAQ Page",Field:"Field",FieldIs:"Field Is",File:"File",Fill:"Fill",FillColor:"Fill Color",Filter:"Filter",FilterElements:"Filter Elements",FilterEngine:"Filter Engine",FilterMode:"Filter Mode",FilterOn:"Filter On",Filters:"Filters",FirstTabOffset:"First Tab Offset",FixedWidth:"Fixed Width",Flat:"Flat",FlatMode:"Flat Mode",Focus:"Focus",Font:"Font",FontBold:"Font Bold",FontItalic:"Font Italic",FontName:"Font Name",FontSize:"Font Size",FontSizeMode:"Font Size Mode",FontStrikeout:"Font Strikeout",FontSubscript:"Subscript",FontSuperscript:"Superscript",FontUnderline:"Font Underline",FontUnit:"Font Unit",FooterCanBreak:"Footer Can Break",FooterCanGrow:"Footer Can Grow",FooterCanShrink:"Footer Can Shrink",FooterColor:"Footer Color",FooterFont:"Footer Font",FooterForeColor:"Footer Fore Color",FooterForeground:"Footer Foreground",FooterPrintAtBottom:"Footer Print At Bottom",FooterPrintIfEmpty:"Footer Print If Empty",FooterPrintOn:"Footer Print On",FooterPrintOnAllPages:"Footer Print On All Pages",FooterPrintOnEvenOddPages:"Footer Print On Even Odd Pages",FooterRowsCount:"Footer Rows Count",Footers:"Footers",ForeColor:"Fore Color",Format:"Format",From:"From",FullConvertExpression:"Full Convert Expression",Function:"Function",Functions:"Functions",GlobalizationStrings:"Globalization Strings",GlobalizedName:"Globalized Name",GlyphColor:"Glyph Color",GridColor:"Grid Color",GridLineColor:"Grid Line Color",GridLinesHor:"Grid Lines Horizontal",GridLinesHorColor:"Grid Lines Horizontal Color",GridLinesHorRight:"Grid Lines Horizontal Right",GridLineStyle:"Grid Line Style",GridLinesVert:"Grid Lines Vertical",GridLinesVertColor:"Grid Lines Vertical Color",GridOutline:"Grid Outline",Group:"Group",GroupDataColumn:"Group Data Column",GroupMeter:"Group Meter",GrowToHeight:"Grow to Height",HeaderBackColor:"Header Back Color",HeaderCanBreak:"Header Can Break",HeaderCanGrow:"Header Can Grow",HeaderCanShrink:"Header Can Shrink",HeaderColor:"Header Color",HeaderFont:"Header Font",HeaderForeColor:"Header Fore Color",HeaderForeground:"Header Foreground",HeaderPrintAtBottom:"Header Print At Bottom",HeaderPrintIfEmpty:"Header Print If Empty",HeaderPrintOn:"Header Print On",HeaderPrintOnAllPages:"Header Print On All Pages",HeaderPrintOnEvenOddPages:"Header Print On Even Odd Pages",HeaderRowsCount:"Header Rows Count",Headers:"Headers",HeaderText:"Header Text",HeatmapColors:"Heatmap Colors",Height:"Height",HideSeriesWithEmptyTitle:"Hide Series with Empty Title",HideZeros:"Hide Zeros",High:"High",HighlightCondition:"Highlight Condition",HighValues:"High Values",HorAlignment:"Horizontal Alignment",HorSpacing:"Horizontal Spacing",HotBackColor:"Hot Back Color",HotColumnHeaderBackColor:"Hot Column Header Back Color",HotForeColor:"Hot Fore Color",HotGlyphColor:"Hot Glyph Color",HotHeaderColor:"Hot Header Color",HotkeyPrefix:"Hotkey Prefix",HotRowHeaderBackColor:"Hot Row Header Back Color",HotSelectedBackColor:"Hot Selected Back Color",HotSelectedForeColor:"Hot Selected Fore Color",HotSelectedGlyphColor:"Hot Selected Glyph Color",HtmlTags:"HTML Tags",Hyperlink:"Hyperlink",HyperlinkDataColumn:"Hyperlink Data Column",Icon:"Icon",IconAlignment:"Icon Alignment",IconColor:"Icon Color",IconSet:"Icon Set",IconSetCondition:"Icon Set Condition",Idents:"Indents",Image:"Image",ImageAlign:"Image Align",ImageAlignment:"Image Alignment",ImageData:"Image Data",ImageHorAlignment:"Image Horizontal Alignment",ImageMultipleFactor:"Image Multiple Factor",ImageRotation:"Image Rotation",ImageStretch:"Image Stretch",ImageTiling:"Image Tiling",ImageTransparency:"Image Transparency",ImageURL:"Image URL",ImageVertAlignment:"Image Vertical Alignment",ImportRelations:"Import Relations",Increment:"Increment",Indent:"Indent",IndividualColor:"Individual Color",InitBy:"Init by",InitialSelection:"Initial Selection",InitialSelectionSource:"Initial Selection Source",Insert:"Insert",Interaction:"Interaction",InterlacedBrush:"Interlaced Brush",InterlacingHor:"Interlacing Horizontal",InterlacingHorBrush:"Interlacing Horizontal Brush",InterlacingVert:"Interlacing Vertical",InterlacingVertBrush:"Interlacing Vertical Brush",Interpolation:"Interpolation",IsReversed:"Is Reversed",Italic:"Italic",Item:"Item",ItemHeight:"Item Height",Items:"Items",KeepChildTogether:"Keep Child Together",KeepCrossTabTogether:"Keep Cross-Tab Together",KeepDetails:"Keep Details",KeepDetailsTogether:"Keep Details Together",KeepFooterTogether:"Keep Footer Together",KeepGroupFooterTogether:"Keep Group Footer Together",KeepGroupHeaderTogether:"Keep Group Header Together",KeepGroupTogether:"Keep Group Together",KeepHeaderTogether:"Keep Header Together",KeepMergedCellsTogether:"Keep Merged Cells Together",KeepReportSummaryTogether:"Keep Report Summary Together",KeepSubReportTogether:"Keep Sub-Report Together",Key:"Key",KeyDataColumn:"Key Data Column",KeyMeter:"Key Meter",KeyMeters:"Key Meters",Keys:"Keys",Label:"Label",LabelColor:"Label Color",LabelForeground:"Label Foreground",LabelRotationMode:"Label Rotation Mode",Labels:"Labels",LabelsColor:"Labels Color",LabelShadowForeground:"Label Shadow Foreground",LabelsOffset:"Labels Offset",Language:"Language",LargeHeight:"Large Height",LargeHeightFactor:"Large Height Factor",Latitude:"Latitude",Layout:"Layout",Left:"Left",LeftSide:"Left Side",Legend:"Legend",LegendBorderColor:"Legend Border Color",LegendBrush:"Legend Brush",LegendLabelsColor:"Legend Labels Color",LegendTitleColor:"Legend Title Color",LegendValueType:"Legend Value Type",Length:"Length",LengthUnderLabels:"Length under Labels",Lighting:"Lighting",LimitRows:"Limit Rows",Linear:"Linear",LinearBarBorderBrush:"Linear Bar Border Brush",LinearBarBrush:"Linear Bar Brush",LinearBarEmptyBorderBrush:"Linear Bar Empty Border Brush",LinearBarEmptyBrush:"Linear Bar Empty Brush",LineColor:"Line Color",LineColorNegative:"Line Color Negative",LineLimit:"Line Limit",LineMarker:"Line Marker",LinesOfUnderline:"Lines of Underline",LineSpacing:"Line Spacing",LineStyle:"Line Style",LineWidth:"Line Width",Linked:"Linked",ListOfArguments:"List of Arguments",ListOfHyperlinks:"List of Hyperlinks",ListOfTags:"List of Tags",ListOfToolTips:"List of Tooltips",ListOfValues:"List of Values",ListOfValuesClose:"List of Values Close",ListOfValuesEnd:"List of Values End",ListOfValuesHigh:"List of Values High",ListOfValuesLow:"List of Values Low",ListOfValuesOpen:"List of Values Open",ListOfWeights:"List of Weights",Localizable:"Localizable",Location:"Location",Locked:"Locked",Logarithmic:"Logarithmic",LogarithmicScale:"Logarithmic Scale",Longitude:"Longitude",Low:"Low",LowValues:"Low Values",MajorInterval:"Major Interval",MapID:"Map ID",Maps:"Maps",MapStyle:"Map Style",MapType:"Map Type",Margin:"Margin",Margins:"Margins",Marker:"Marker",MarkerAlignment:"Marker Alignment",MarkerAngle:"Marker Angle",MarkerBorder:"Marker Border",MarkerBrush:"Marker Brush",MarkerColor:"Marker Color",MarkerSize:"Marker Size",MarkerType:"Marker Type",MarkerVisible:"Marker Visible",MasterComponent:"Master Component",MasterKeyDataColumn:"Master Key Data Column",MatrixSize:"Matrix Size",MaxDate:"Max Date",MaxDropDownItems:"Max Drop Down Items",MaxHeight:"Max Height",Maximum:"Maximum",MaximumValue:"Maximum Value",MaxLength:"Max Length",MaxNumberOfLines:"Max Number of Lines",MaxSize:"Max Size",MaxValue:"Max Value",MaxWidth:"Max Width",MergeDuplicates:"Merge Duplicates",MergeHeaders:"Merge Headers",Mid:"Mid",MinDate:"Min Date",MinHeight:"Min Height",Minimum:"Minimum",MinimumFontSize:"Minimum Font Size",MinimumValue:"Minimum Value",MinorColor:"Minor Color",MinorCount:"Minor Count",MinorInterval:"Minor Interval",MinorLength:"Minor Length",MinorStyle:"Minor Style",MinorVisible:"Minor Visible",MinRowsInColumn:"Min Rows in Column",MinSize:"Min Size",MinValue:"Min Value",MinWidth:"Min Width",MirrorMargins:"Mirror Margins",Mode:"Mode",Module:"Module",Move:"Move",Multiline:"Multiline",MultipleFactor:"Multiple Factor",Name:"Name",NameDataColumn:"Name Data Column",NameInSource:"Name in Source",NameMeter:"Name Meter",NameParent:"Parent Name",Namespaces:"Namespaces",NeedleBorderBrush:"Needle Border Brush",NeedleBorderWidth:"Needle Border Width",NeedleBrush:"Needle Brush",NeedleCapBorderBrush:"Needle Cap Border Brush",NeedleCapBrush:"Needle Cap Brush",Negative:"Negative",NegativeColor:"Negative Color",NegativeSeriesColors:"Negative Series Colors",NegativeTextBrush:"Negative Text Brush",NestedLevel:"Nested Level",NewColumnAfter:"New Column After",NewColumnBefore:"New Column Before",NewPageAfter:"New Page After",NewPageBefore:"New Page Before",NextPage:"Next Page",NoElements:"No Elements",NoIcon:"No Icon",NullText:"Null Text",NumberOfColumns:"Number of Columns",NumberOfCopies:"Number of Copies",NumberOfPass:"Number of Pass",NumberOfValues:"Number of Values",OddStyle:"Odd Style",Offset:"Offset",OffsetAngle:"Offset Angle",OnClick:"On Click",OnDataManipulation:"On Data Manipulation",OnHover:"On Hover",OnlyText:"Only Text",OpenValues:"Open Values",Operation:"Operation",Options:"Options",Orientation:"Orientation",OthersText:"Others Text",Padding:"Padding",PageHeight:"Page Height",PageNumbers:"Page Numbers",PageWidth:"Page Width",Paper:"Paper",PaperSize:"Paper Size",PaperSourceOfFirstPage:"Paper Source of First Page",PaperSourceOfOtherPages:"Paper Source of Other Pages",Parameter:"Parameter",Parameters:"Parameters",ParametersDateFormat:"Parameters Date Format",ParametersOrientation:"Parameters Orientation",ParentColumns:"Parent Columns",ParentSource:"Parent Data Source",ParentValue:"Parent Value",ParetoSeriesColors:"Pareto Series Colors",PasswordChar:"Password Char",Path:"Path",PathData:"Path Data",PathSchema:"Path Schema",Pattern:"Pattern",Placement:"Placement",PlaceOnToolbox:"Place on Toolbox",PointAtCenter:"Point at Center",Position:"Position",Positive:"Positive",PositiveColor:"Positive Color",PreferredColumnWidth:"Preferred Column Width",PreferredRowHeight:"Preferred Row Height",PreventIntersection:"Prevent Intersection",PreviewMode:"Preview Mode",PreviewSettings:"Preview Settings",Printable:"Printable",PrintAtBottom:"Print at Bottom",PrinterName:"Printer Name",PrinterSettings:"Printer Settings",PrintHeadersFootersFromPreviousPage:"Print Headers and Footers from Previous Page",PrintIfDetailEmpty:"Print if Detail Empty",PrintIfEmpty:"Print if Empty",PrintIfParentDisabled:"Print if Parent Disabled",PrintOn:"Print on",PrintOnAllPages:"Print on All Pages",PrintOnEvenOddPages:"Print on Even Odd Pages",PrintOnPreviousPage:"Print on Previous Page",PrintTitleOnAllPages:"Print Title On All Pages",PrintVerticalBars:"Print Vertical Bars",ProcessAt:"Process at",ProcessAtEnd:"Process at End",ProcessingDuplicates:"Processing Duplicates",ProcessTilde:"Process Tilde",ProductHomePage:"Product Home Page",RadarStyle:"Radar Style",RadialBarBorderBrush:"Radial Bar Border Brush",RadialBarBrush:"Radial Bar Brush",RadialBarEmptyBorderBrush:"Radial Bar Empty Border Brush",RadialBarEmptyBrush:"Radial Bar Empty Brush",Radius:"Radius",RadiusMode:"Radius Mode",Range:"Range",RangeColorMode:"Range Color Mode",RangeFrom:"From",RangeMode:"Range Mode",RangeScrollEnabled:"Range Scroll Enabled",RangeTo:"To",RangeType:"Range Type",Ratio:"Ratio",RatioY:"Ratio Y",ReadOnly:"Read Only",RecentFonts:"Recent Fonts",ReconnectOnEachRow:"Reconnect on Each Row",ReferencedAssemblies:"Referenced Assemblies",Refresh:"Refresh",RefreshTime:"Refresh Time",Regular:"Regular",Relation:"Relation",RelationName:"Relation Name",Relations:"Relations",RelativeHeight:"Relative Height",RelativeWidth:"Relative Width",RemoveUnusedDataBeforeStart:"Remove Unused Data Before Start",RenderTo:"Render to",ReportAlias:"Report Alias",ReportAuthor:"Report Author",ReportCacheMode:"Report Cache Mode",ReportDescription:"Report Description",ReportIcon:"Report Icon",ReportImage:"Report Image",ReportName:"Report Name",ReportUnit:"Report Unit",RequestFromUser:"Request from User",RequestParameters:"Request Parameters",ResetDataSource:"Reset Data Source",ResetPageNumber:"Reset Page Number",Resize:"Resize",Resource:"Resource",Resources:"Resources",Restrictions:"Restrictions",RetrieveOnlyUsedData:"Retrieve Only Used Data",ReturnValue:"Return Value",ReverseHor:"Reverse Horizontal",ReverseVert:"Reverse Vertical",Right:"Right",RightSide:"Right Side",RightToLeft:"Right to Left",Rotation:"Rotation",RotationLabels:"Rotation Labels",RotationMode:"Rotation Mode",Round:"Round",RoundValues:"Round Values",RowCount:"Row Count",RowHeaderBackColor:"Row Header Back Color",RowHeaderForeColor:"Row Header Fore Color",RowHeadersVisible:"Row Headers Visible",RowHeaderWidth:"Row Header Width",Rows:"Rows",Scale:"Scale",ScaleHor:"Scale Hor",ScriptLanguage:"Script Language",SegmentPerHeight:"Segment per Height",SegmentPerWidth:"Segment per Width",SelectedBackColor:"Selected Back Color",SelectedCellBackColor:"Selected Cell Back Color",SelectedCellForeColor:"Selected Cell Fore Color",SelectedDataColor:"Selected Data Color",SelectedDataForeground:"Selected Data Foreground",SelectedForeColor:"Selected Fore Color",SelectedGlyphColor:"Selected Glyph Color",SelectedIndex:"Selected Index",SelectedItem:"Selected Item",SelectedKey:"Selected Key",SelectedValue:"Selected Value",Selection:"Selection",SelectionBackColor:"Selection Back Color",SelectionEnabled:"Selection Enabled",SelectionForeColor:"Selection Fore Color",SelectionMode:"Selection Mode",SeparatorColor:"Separator Color",SerialNumber:"Serial Number",Series:"Series",SeriesColors:"Series Colors",SeriesLabels:"Series Labels",SeriesLabelsBorderColor:"Series Labels Border Color",SeriesLabelsBrush:"Series Labels Brush",SeriesLabelsColor:"Series Labels Color",SeriesLabelsLineColor:"Series Labels Line Color",SeriesLighting:"Series Lighting",SeriesShowBorder:"Series Show Border",SeriesShowShadow:"Series Show Shadow",SeriesTitle:"Series Title",Shadow:"Shadow",ShadowBrush:"Shadow Brush",ShadowColor:"Shadow Color",ShadowSize:"Shadow Size",ShapeType:"Shape Type",Shift:"Shift",ShiftMode:"Shift Mode",ShortName:"Short Name",ShortValue:"Short Value",ShowAllValue:"Show All Value",ShowBehind:"Show Behind",ShowBubble:"Show Bubble",ShowDialog:"Show Dialog",ShowEdgeValues:"Show Edge Values",ShowImageBehind:"Show Image Behind",ShowInLegend:"Show in Legend",ShowInnerPoints:"Show Inner Points",ShowInPercent:"Show in Percent",ShowLabels:"Show Labels",ShowLabelText:"Show Label Text",ShowLegend:"Show Legend",ShowMarker:"Show Marker",ShowMeanMarkers:"Show Mean Markers",ShowNulls:"Show Nulls",ShowOthers:"Show Others",ShowPercents:"Show Percents",ShowQuietZoneIndicator:"Show Quiet Zone Indicator",ShowQuietZones:"Show Quiet Zones",ShowScrollBar:"Show Scroll Bar",ShowSelectAll:"Show Select All",ShowSeriesLabels:"Show Series Labels",ShowShadow:"Show Shadow",ShowTotal:"Show Total",ShowUpDown:"Show Up Down",ShowValue:"Show Value",ShowXAxis:"Show X Axis",ShowYAxis:"Show Y Axis",ShowZeros:"Show Zeros",ShrinkFontToFit:"Shrink Font to Fit",ShrinkFontToFitMinimumSize:"Shrink Font to Fit Minimum Size",Side:"Side",Sides:"Sides",Simple:"Simple",Size:"Size",SizeMode:"Size Mode",Skin:"Skin",SkipFirst:"Skip First",SkipIndices:"Skip Indices",SkipIndicesObj:"Skip Indices",SkipMajorValues:"Skip Major Values",SkipValues:"Skip Values",SkipValuesObj:"Skip Values",Smoothing:"Smoothing",Sort:"Sort",SortBy:"Sort by",SortDirection:"Sort Direction",Sorted:"Sorted",SortingColumn:"Sorting Column",SortingEnabled:"Sorting Enabled",SortType:"Sort Type",Space:"Space",SpaceRatio:"Space Ratio",Spacing:"Spacing",SqlCommand:"Sql Command",StartAngle:"Start Angle",StartCap:"Start Cap",StartColor:"Start Color",StartFromZero:"Start From Zero",StartMode:"Start Mode",StartNewPage:"Start New Page",StartNewPageIfLessThan:"Start New Page if Less Than",StartPosition:"Start Position",StartValue:"Start Value",StartWidth:"Start Width",Step:"Step",Stop:"Stop",StopBeforePage:"Stop Before Page",StopBeforePrint:"Stop Before Print",StoreImagesInResources:"Store Images in Resources",Stretch:"Stretch",StretchToPrintArea:"Stretch to Print Area",Strikeout:"Strikeout",StripBrush:"Strip Brush",Strips:"Strips",Stroke:"Stroke",StructuredAppendPosition:"Structured Append Position",StructuredAppendTotal:"Structured Append Total",Style:"Style",StyleColors:"Style Colors",Styles:"Styles",SubReportPage:"Sub Report",Summaries:"Summaries",Summary:"Summary",SummaryExpression:"Summary Expression",SummarySortDirection:"Summary Sort Direction",SummaryType:"Summary Type",SummaryValues:"Summary Values",SupplementCode:"Supplement Code",SupplementType:"Supplement Type",SweepAngle:"Sweep Angle",SystemFonts:"System Fonts",SystemVariable:"System Variable",SystemVariables:"System Variables",Table:"Table",Tag:"Tag",TagDataColumn:"Tag Data Column",TagValue:"Tag Value",Target:"Target",TargetIcon:"Target Icon",TargetMode:"Target Mode",Tension:"Tension",Text:"Text",TextAfter:"Text After",TextAlign:"Text Align",TextAlignment:"Text Alignment",TextBefore:"Text Before",TextBrush:"Text Brush",TextColor:"Text Color",TextFormat:"Text Format",TextOnly:"Text Only",TextOptions:"Text Options",TextQuality:"Text Quality",TickLabelMajorFont:"Tick Label Major Font",TickLabelMajorTextBrush:"Tick Label Major Text Brush",TickLabelMinorFont:"Tick Label Minor Font",TickLabelMinorTextBrush:"Tick Label Minor Text Brush",TickMarkMajorBorder:"Tick Mark Major Border",TickMarkMajorBorderWidth:"Tick Mark Major Border Width",TickMarkMajorBrush:"Tick Mark Major Brush",TickMarkMinorBorder:"Tick Mark Minor Border",TickMarkMinorBorderWidth:"Tick Mark Minor Border Width",TickMarkMinorBrush:"Tick Mark Minor Brush",Ticks:"Ticks",Title:"Title",TitleBeforeHeader:"Title before Header",TitleColor:"Title Color",TitleDirection:"TitleDirection",TitleFont:"Title Font",TitleVisible:"Title Visible",To:"To",Today:"Today",ToolTip:"Tool Tip",ToolTipDataColumn:"Tool Tip Data Column",Top:"Top",Topmost:"Topmost",TopmostLine:"Topmost Line",TopN:"Top N",TopSide:"Top Side",Total:"Total",Totals:"Totals",TrackColor:"Track Color",TransparentColor:"Transparent Color",TrendLine:"Trend Line",TrendLineColor:"Trend Line Color",TrendLines:"Trend Lines",TrendLineShowShadow:"Trend Line Show Shadow",TrimExcessData:"Trim Excess Data",Trimming:"Trimming",Type:"Type",TypeName:"Type Name",Types:"Types",Underline:"Underline",UndoLimit:"Undo Limit",Unit:"Unit",UnlimitedBreakable:"Unlimited Breakable",UnlimitedHeight:"Unlimited Height",UnlimitedWidth:"Unlimited Width",UpperMarks:"Upper Marks",UseAliases:"Use Aliases",UseExternalReport:"Use External Report",UseParentStyles:"Use Parent Styles",UseRangeColor:"Use Range Color",UseRectangularSymbols:"Use Rectangular Symbols",UseSeriesColor:"Use Series Color",UseStyleOfSummaryInColumnTotal:"Use Style of Summary in Column Total",UseStyleOfSummaryInRowTotal:"Use Style of Summary in Row Total",UseValuesFromTheSpecifiedRange:"Use Values From The Specified Range",Value:"Value",ValueClose:"Value Close",ValueDataColumn:"Value Data Column",ValueDataColumnClose:"Value Data Column Close",ValueDataColumnEnd:"Value Data Column End",ValueDataColumnHigh:"Value Data Column High",ValueDataColumnLow:"Value Data Column Low",ValueDataColumnOpen:"Value Data Column Open",ValueEnd:"Value End",ValueFormat:"Value Format",ValueHigh:"Value High",ValueLow:"Value Low",ValueMeter:"Value Meter",ValueOpen:"Value Open",Values:"Values",ValueType:"Value Type",ValueTypeSeparator:"Value Type Separator",Variable:"Variable",Variables:"Variables",Variation:"Variation",Version:"Version",VertAlignment:"Vertical Alignment",VertSpacing:"Vertical Spacing",ViewMode:"View Mode",Visible:"Visible",Watermark:"Watermark",Weight:"Weight",WeightDataColumn:"Weight Data Column",Weights:"Weights",Width:"Width",WindowState:"Window State",WordWrap:"Word Wrap",Wrap:"Wrap",WrapGap:"WrapGap",XAxis:"X Axis",XTopAxis:"X Top Axis",YAxis:"Y Axis",YRightAxis:"Y Right Axis",Zoom:"Zoom"},PropertySystemColors:{ActiveBorder:"Active Border",ActiveCaption:"Active Caption",ActiveCaptionText:"Active Caption Text",AppWorkspace:"App Workspace",Control:"Control",ControlDark:"Control Dark",ControlDarkDark:"Control Dark Dark",ControlLight:"Control Light",ControlLightLight:"Control Light Light",ControlText:"Control Text",Desktop:"Desktop",GrayText:"Gray Text",Highlight:"Highlight",HighlightText:"Highlight Text",HotTrack:"Hot Track",InactiveBorder:"Inactive Border",InactiveCaption:"Inactive Caption",InactiveCaptionText:"Inactive Caption Text",Info:"Info",InfoText:"Info Text",Menu:"Menu",MenuText:"Menu Text",ScrollBar:"Scroll Bar",Window:"Window",WindowFrame:"Window Frame",WindowText:"Window Text"},QueryBuilder:{AddObject:"Add Object",AddSubQuery:"Add Derived Table",AllObjects:"(All objects)",BadFromObjectExpression:"Invalid FROM object expression!",BadObjectName:"Invalid object name!",BadSelectStatement:"Invalid SELECT statement!",Collections:"Collections",CreateLinksFromForeignKeys:"Create Links from Foreign Keys",CriteriaAlias:"Alias",CriteriaCriteria:"Criteria",CriteriaExpression:"Expression",CriteriaGroupBy:"Group By",CriteriaOr:"Or...",CriteriaOutput:"Output",CriteriaSortOrder:"Sort Order",CriteriaSortType:"Sort Type",Database:"Database",DataSourceProperties:"Data Source Properties",DialectDontSupportDatabases:"The server does not support queries with objects from different databases.",DialectDontSupportSchemas:"The server does not support schemas.",DialectDontSupportUnions:"This server does not support unions.",DialectDontSupportUnionsBrackets:"This server does not support brackets in unions.",DialectDontSupportUnionsBracketsInSubQuery:"This server doesn't support brackets in unions in subqueries.",DialectDontSupportUnionsInSubQueries:"This server does not support unions in subqueries.",Edit:"Edit",EncloseWithBrackets:"Enclose with brackets",Expressions:"Expressions",InsertEmptyItem:"Insert Empty Item",JoinExpression:"Join Expression",LabelAlias:"Alias:",LabelFilterObjectsBySchemaName:"Filter Objects by Schema Name:",LabelJoinExpression:"Join Expression:",LabelLeftColumn:"Left Column:",LabelLeftObject:"Left Object:",LabelObject:"Object:",LabelRightColumn:"Right Column:",LabelRightObject:"Right Object:",LinkProperties:"Link Properties",MetadataProviderCantExecSQL:"Used metadata provider cannot execute SQL queries.",MetaProviderCantLoadMetadata:"Used metadata provider cannot automatically load metadata.",MetaProviderCantLoadMetadataForDatabase:"Used metadata provider cannot automatically load metadata for database: {0}",MoveDown:"Move Down",MoveUp:"Move Up",NewUnionSubQuery:"New union sub-query",NoConnectionObject:"No connection object (property {0} not assigned).",NoTransactionObject:"No transaction object (property {0} not assigned).",Objects:"Objects",ProcedureParameters:"Procedure Parameters",Procedures:"Procedures",qnSaveChanges:"Do you want to save changes of query?",Query:"Query",QueryBuilder:"Query Builder",QueryParameters:"Query Parameters",QueryProperties:"Query Properties",Remove:"Remove",RemoveBrackets:"Remove brackets",RunQueryBuilder:"Run Query Builder",SelectAllFromLeft:"Select All from Left",SelectAllFromRight:"Select All from Right",SwitchToDerivedTable:"Switch to Derived Table",Tables:"Tables",UnexpectedTokenAt:'Unexpected token "{0}" at line {1}, pos {2}!',Unions:"Unions",UnionSubMenu:"Union",ViewQuery:"View Query",Views:"Views"},Questions:{qnConfiguration:"Please choose the type of configuration for the properties panel. The type of the selected configuration depends on the number of visible properties and their complexity for the developer of reports. You can always change the configuration type from the context menu of the properties panel.",qnDictionaryNew:"Do you want to create new Dictionary?",qnLanguageNew:"You have changed the language of the report. This will lead to the new report code generation. Are you certain you want to save the new language?",qnPageDelete:"Do you want to delete page?",qnRemove:"Do you want to remove?",qnRemoveService:"Do you want to remove Service?",qnRemoveServiceCategory:"Do you want to remove Category?",qnRemoveUnused:"Do you want to remove Unused?",qnReplace:"Do you want to replace the existing item {0}?",qnRestoreDefault:"Restore defaults?",qnSaveChanges:"Save changes in {0}?",qnSaveChangesToPreviewPage:"Do you want to save page changes?",qnSynchronize:"Synchronized contents of the Data Store and contents of the Dictionary?",qnSynchronizeServices:"Synchronized services?"},Report:{ActiveRelation:"Active Relation",Address:"Address",Alphabetical:"Alphabetical",Bands:"Bands",Basic:"Basic",BasicConfiguration:"Minimal number of object properties, which are necessary for rendering the basic report types.",BusinessObjects:"Business Objects",Categorized:"Categorized",Charts:"Charts",Checking:"Checking...",ClickForMoreDetails:"Click for More Details",CollapseAll:"Collapse All",Collection:"Collection",CompilingReport:"Compiling Report",Complete:"Complete",Components:"Components",ConnectingToData:"Connecting to Data",CopyOf:"Copy",CreateNewReportPageForm:"Create a new report, add a page, add a form",CreatingReport:"Creating Report",CrossBands:"Cross",Dialogs:"Dialogs",EditStyles:"Edit Styles",Enhancements:"Enhancements",Errors:"Errors",EventsTab:"Events Tab",ExpandAll:"Expand All",FilterAnd:"And",FilterOr:"Or",FinishingReport:"Finishing Report",FirstPass:"First Pass",FixedBugs:"Fixed Bugs",Gallery:"Gallery",GenerateNewCode:"Generate New Code",History:"History",Infographics:"Infographics",InfoMessage:"{0} - {1} found.",InformationMessages:"Information Messages",LabelAlias:"Alias:",LabelAuthor:"Author:",LabelBackground:"Background:",LabelCategory:"Category:",LabelCentimeters:"Centimeters:",LabelCollectionName:"Collection Name:",LabelColor:"Color:",LabelCountData:"Count Data:",LabelDataBand:"DataBand:",LabelDataColumn:"Data Column:",LabelDefaultValue:"Default Value:",LabelExpression:"Expression:",LabelFactorLevel:"Nested Factor:",LabelFontName:"Font Name:",LabelFunction:"Function:",LabelHundredthsOfInch:"Hundredths of Inch:",LabelInches:"Inches:",LabelMillimeters:"Millimeters:",LabelName:"Name:",LabelNameInSource:"Name in Source:",LabelNestedLevel:"Nested Level:",LabelPassword:"Password:",LabelPixels:"Pixels:",LabelQueryTimeout:"Query Timeout:",LabelSystemVariable:"System Variable:",LabelTotals:"Totals",LabelType:"Type:",LabelUserName:"User Name:",LabelValue:"Value:",LoadingReport:"Loading Report",nameAssembly:"Assembly",NewFeatures:"New Features",No:"No",NoFixes:"There are no fixes or updates for this version!",NoIssues:"No Issues",NoNewVersions:"There are no new versions available!",NotAssigned:"Not Assigned",Null:"Null",Office2010Back:"Back",PageNofM:"Page {0} of {1}",PreparingReport:"Preparing Report",Professional:"Professional",ProfessionalConfiguration:"All object properties.",PropertiesTab:"Properties Tab",RangeAll:"All",RangeCurrentPage:"Current Page",RangeInfo:"Enter page number and/or pages ranges separated by commas. For example: 1, 3, 5-12",RangePage:"Page Range",RangePages:"Pages:",ReportChecker:"Report Checker",ReportRenderingMessages:"Report Rendering Messages",RestartDesigner:"You need to restart the report designer",SaveReportPagesOrFormsFromReport:"Save the report, pages or forms",SavingReport:"Saving Report",SecondPass:"Second Pass",Shapes:"Shapes",Standard:"Standard",StandardConfiguration:"Main object properties except rarely used ones.",StiEmptyBrush:"Empty",StiGlareBrush:"Glare",StiGlassBrush:"Glass",StiGradientBrush:"Gradient",StiHatchBrush:"Hatch",StiSolidBrush:"Solid",StyleBad:"Bad",StyleGood:"Good",StyleNeutral:"Neutral",StyleNormal:"Normal",StyleNote:"Note",StyleWarning:"Warning",Warnings:"Warnings",WhatsNewInVersion:"What's New in {0}",When:"when {0} {1}",WhenAnd:"when {0} {1} and",WhenValueIs:"when value is"},ReportInfo:{CheckIssuesAdditionalDescription:"Check the report for errors and find inaccuracies in it.",EncryptWithPassword:"Encrypt with Password",EncryptWithPasswordAdditionalDescription:"Set the password to prevent unauthorized working with the report.",EncryptWithPasswordDescription:"Protect Report",Info:"Info",ReportOptions:"Report Options",ReportOptionsAdditionalDescription:"Setup the basic information and parameters in the report."},ReportOpen:{Browse:"Browse",Import:"Import"},Services:{categoryContextTools:"Context Tools",categoryDesigner:"Designer",categoryDictionary:"Dictionary",categoryExport:"Exports",categoryLanguages:"Languages",categoryPanels:"Panels",categoryRender:"Render",categoryShapes:"Shapes",categorySL:"Save / Load",categorySystem:"System",categoryTextFormat:"Text Format"},Shapes:{Arrow:"Arrow",BasicShapes:"Basic Shapes",BentArrow:"Bent Arrow",BlockArrows:"Block Arrows",Chevron:"Chevron",ComplexArrow:"Complex Arrow",DiagonalDownLine:"Diagonal Line Down",DiagonalUpLine:"Diagonal Line Up",Division:"Division",Equal:"Equal",EquationShapes:"Equation Shapes",Flowchart:"Flowchart",FlowchartCard:"Flowchart: Card",FlowchartCollate:"Flowchart: Collate",FlowchartDecision:"Flowchart: Decision",FlowchartManualInput:"Flowchart: Manual Input",FlowchartOffPageConnector:"Flowchart: Off Page Connector",FlowchartPreparation:"Flowchart: Preparation",FlowchartSort:"Flowchart: Sort",Frame:"Frame",HorizontalLine:"Horizontal Line",InsertShapes:"Insert Shapes",LeftAndRightLine:"Left and Right Line",Lines:"Lines",Minus:"Minus",Multiply:"Multiply",Octagon:"Octagon",Oval:"Oval",Parallelogram:"Parallelogram",Plus:"Plus",Rectangle:"Rectangle",Rectangles:"Rectangles",RegularPentagon:"Regular: Pentagon",RoundedRectangle:"Rounded Rectangle",ServiceCategory:"Shapes",ShapeStyles:"Shape Styles",SnipDiagonalSideCornerRectangle:"Snip Diagonal Side Corner Rectangle",SnipSameSideCornerRectangle:"Snip Same Side Corner Rectangle",TopAndBottomLine:"Top and Bottom Line",Trapezoid:"Trapezoid",Triangle:"Triangle",VerticalLine:"Vertical Line"},SystemVariables:{Column:"Returns the current column number (starts from 1).",GroupLine:"Returns the current group line number (starts from 1).",IsFirstPage:"Returns true, if, in the current moment, the first page of a report is printed.",IsFirstPageThrough:"Returns true, if, in the current moment, the first report page is printed. When calculating the IsFirstPageThrough, all ResetPageNumber properties are ignored and numbering starts from the beginning of report. For correct calculation of a variable it is required to execute two passes.",IsLastPage:"Returns true, if, in the current moment, the last page of a report is printed. For correct calculation of a variable it is required to execute two passes.",IsLastPageThrough:"Returns true, if, in the current moment, the last page of a report is printed. When calculating the IsLastPageThrough, all properties ResetPageNumber are ignored and numbering starts from the beginning of report. For correct calculation of a variable it is required to execute two passes.",Line:"Returns the current line number (starts from 1).",LineABC:"Returns the alphabetical analogue of the current line number.",LineRoman:"Returns the current line number in Roman numerals.",LineThrough:"Returns the current line number (starts from 1). When calculating the number, all groupings are ignored and numbering starts from the beginning of printing.",PageCopyNumber:"Return a number of a current copy of a page (starts from 1).",PageNofM:'Returns a localized string, showing "Page N of M" where N is the current page number and M is the TotalPageCount of a report.',PageNofMThrough:'Returns a localized string, showing "Page N of M" where N is the current page number and M is the TotalPageCount of a report. When calculating the PageNofMThrough, all properties ResetPageNumber are ignored and numbering starts from the beginning of a report.',PageNumber:"Returns the current page number (starts from 1).",PageNumberThrough:"Returns the current page number (starts from 1). When calculating the PageNumberThrough, all properties ResetPageNumber are ignored and numbering starts from the beginning of a report.",ReportAlias:"Returns the report alias. You can change the ReportAlias with help of the ReportAlias property of a report.",ReportAuthor:"Returns the report author. You can change ReportAuthor with help of the ReportAuthor property of a report.",ReportChanged:"The Date when a report was changed.",ReportCreated:"The Date when a report was created.",ReportDescription:"Returns the report description. You can change the ReportName with help of the ReportDescription property of a report.",ReportName:"Returns the report name. You can change the ReportName with help of the ReportName property of a report.",Time:"Returns the current time.",Today:"Returns the current date.",TotalPageCount:"Returns the number of pages in a report.",TotalPageCountThrough:"Returns the number of pages in a report. When calculating the TotalPageCountThrough, all properties ResetPageNumber are ignored and numbering starts from the beginning of report."},TableRibbon:{BuiltIn:"Built-In",Delete:"Delete",DeleteColumns:"Delete Columns",DeleteRows:"Delete Rows",DeleteTable:"Delete Table",DistributeColumns:"Distribute Columns",DistributeRows:"Distribute Rows",InsertAbove:"Insert Above",InsertBelow:"Insert Below",InsertLeft:"Insert Left",InsertRight:"Insert Right",PlainTables:"Plain Tables",ribbonBarRowsColumns:"Rows and Columns",ribbonBarTable:"Table",ribbonBarTableStyles:"Table Styles",Select:"Select",SelectColumn:"Select Column",SelectRow:"Select Row",SelectTable:"Select Table"},Toolbars:{Align:"Align",AlignBottom:"Align Bottom",AlignCenter:"Align Center",AlignLeft:"Align Left",AlignMiddle:"Align Middle",AlignRight:"Align Right",AlignToGrid:"Align to Grid",AlignTop:"Align Top",AlignWidth:"Justify",BringToFront:"Bring to Front",CenterHorizontally:"Center Horizontally",CenterVertically:"Center Vertically",Conditions:"Conditions",FontGrow:"Grow Font",FontName:"Font Name",FontShrink:"Shrink Font",FontSize:"Font Size",FontStyleBold:"Font Style Bold",FontStyleItalic:"Font Style Italic",FontStyleUnderline:"Font Style Underline",Link:"Link",Lock:"Lock",MakeHorizontalSpacingEqual:"Make Horizontal Spacing Equal",MakeSameHeight:"Make Same Height as {0}",MakeSameSize:"Make Same Size as {0}",MakeSameWidth:"Make Same Width as {0}",MakeVerticalSpacingEqual:"Make Vertical Spacing Equal",MoveBackward:"Move Backward",MoveForward:"Move Forward",Order:"Order",SendToBack:"Send to Back",Size:"Size",StyleDesigner:"Style Designer",Styles:"List of the styles",TabHome:"Home",TabLayout:"Layout",TabPage:"Page",TabView:"View",TextBrush:"Text Brush",ToolbarAlignment:"Alignment",ToolbarArrange:"Arrange",ToolbarBorders:"Borders",ToolbarClipboard:"Clipboard",ToolbarDockStyle:"Dock Style",ToolbarFont:"Font",ToolbarFormatting:"Formatting",ToolbarLayout:"Layout",ToolbarPageSetup:"Page Setup",ToolbarStandard:"Standard",ToolbarStyle:"Style",ToolbarTextFormat:"Text Format",ToolbarTools:"Tools",ToolbarViewOptions:"View Options",ToolbarWatermarkImage:"Watermark Image",ToolbarWatermarkText:"Watermark Text"},Toolbox:{Create:"Creation components",Hand:"Hand",Select:"Select",Style:"Copy Style",TextEditor:"Text Editor",title:"Toolbox"},WelcomeScreen:{AllDownloadsWillCanceled:"Are you sure you want to close this window? All downloads will be canceled.",Description:"We have selected for you reports that we think are the best for a quick start.",GetStarted:"Get Started",GetStartedWithDashboards:"Get Started with Dashboards",GetStartedWithReports:"Get Started with Reports",MoreReports:"More Reports",ShowNextTime:"Show '{0}' next time",Title:"Welcome to Stimulsoft Demo"},Wizards:{BlankDashboard:"Blank Dashboard",BlankReport:"Blank Report",ButtonBack:"< &Back",ButtonCancel:"Cancel",ButtonFinish:"&Finish",ButtonNext:"&Next >",ColumnsOrder:"Columns Order",Company:"Company",Custom:"Custom",DataRelation:"Relation",DataSource:"Data Source",DataSources:"Data Sources",DefaultThemes:"Default Themes",Filters:"Filters",FromReportTemplate:"From Report Template",GetData:"Get Data",groupCreateNewDashboard:"Create a New Dashboard",groupCreateNewPageOrForm:"Create a New Page or Form",groupCreateNewReport:"Create a New Report",Groups:"Groups",groupTemplates:"Templates",groupWizards:"Wizards",infoColumnsOrder:"Arrange columns in the necessary order.",infoCompanyInfo:"Enter your company information.",infoDataSource:"Select one Data Source from available.",infoDataSources:"Select Data Sources from available. The first selected one will be the Master data source.",infoFilters:"Filter Data for your report",infoGroups:"Select columns on which necessary to group.",infoLabelSettings:"Set the settings of labels.",infoLanguages:"Select the report culture.",infoLayout:"Specify layout of report.",infoRelation:"Select one Data Relation from available.",infoSelectColumns:"Select columns from which the information will be displayed.",infoSelectTemplate:"Choose the appropriate template for your needs.",infoSort:"Set the sorting of data. You can sort immediately on multiple columns.",infoThemes:"Select theme for your report.",infoTotals:"Add summary information to your report.",LabelDirection:"Direction:",LabelHeight:"Height:",LabelHorizontalGap:"Horizontal Gap:",LabelLabelType:"Label Type:",LabelLeftMargin:"Left Margin:",LabelNumberOfColumns:"Number of Columns:",LabelNumberOfRows:"Number of Rows:",LabelPageHeight:"Page Height:",LabelPageWidth:"Page Width:",LabelReport:"Label Report",LabelSettings:"Label Settings",LabelSize:"Size:",LabelTopMargin:"Top Margin:",LabelVerticalGap:"Vertical Gap:",LabelWidth:"Width:",Layout:"Layout",Mapping:"Mapping",MarkAll:"Mark &All",MasterDetailReport:"Master-Detail Report",NoFunction:"[None]",OpenExistingReport:"Open Existing File",OpenFrom:"Open from {0}",Preview:"Preview",Reset:"&Reset",Results:"Results",RunWizard:"Run Wizard",SelectColumns:"Select Columns",SelectTemplate:"Template",Sort:"Sort",StandardReport:"Standard Report",Themes:"Themes",title:"New Report",Totals:"Totals",UseDemoData:"Use Demo Data",UsingReportWizard:"Using Report Wizard",YouHaveNotOpenedAnyReportRecently:"You haven't opened any report recently. To browse for a report, start by clicking on Open Existing File."},Zoom:{EmptyValue:"Empty Value",MultiplePages:"Multiple Pages",OnePage:"One Page",PageHeight:"Page Height",PageWidth:"Page Width",TwoPages:"Two Pages",ZoomTo100:"Zoom to 100%"}},l._cultureName="",a=l,i.StiLocalization=a}(Stimulsoft=Stimulsoft||{}),function(e){var t,r,i,o;r=t=e.Base||(e.Base={}),(o=i=r.Map||(r.Map={})).IStiMapKeyHelper=new e.System.Interface("IStiMapKeyHelper")}(Stimulsoft=Stimulsoft||{}),function(e){var t,r,i,o;r=t=e.Base||(e.Base={}),(o=i=r.Meters||(r.Meters={})).IStiArgumentMeter=new e.System.Interface("IStiArgumentMeter")}(Stimulsoft=Stimulsoft||{}),function(e){var t,r,i,o;r=t=e.Base||(e.Base={}),(o=i=r.Meters||(r.Meters={})).IStiBubbleColumn=new e.System.Interface("IStiBubbleColumn")}(Stimulsoft=Stimulsoft||{}),function(e){var t,r,i,o;r=t=e.Base||(e.Base={}),(o=i=r.Meters||(r.Meters={})).IStiColorMapMeter=new e.System.Interface("IStiColorMapMeter")}(Stimulsoft=Stimulsoft||{}),function(e){var t,r,i,o;r=t=e.Base||(e.Base={}),(o=i=r.Meters||(r.Meters={})).IStiColorScaleColumn=new e.System.Interface("IStiColorScaleColumn")}(Stimulsoft=Stimulsoft||{}),function(e){var t,r,i,o;r=t=e.Base||(e.Base={}),(o=i=r.Meters||(r.Meters={})).IStiDataBarsColumn=new e.System.Interface("IStiDataBarsColumn")}(Stimulsoft=Stimulsoft||{}),function(e){var t,r,i,o;r=t=e.Base||(e.Base={}),(o=i=r.Meters||(r.Meters={})).IStiDimensionColumn=new e.System.Interface("IStiDimensionColumn")}(Stimulsoft=Stimulsoft||{}),function(e){var t,r,i,o;r=t=e.Base||(e.Base={}),(o=i=r.Meters||(r.Meters={})).IStiDimensionMeter=new e.System.Interface("IStiDimensionMeter")}(Stimulsoft=Stimulsoft||{}),function(e){var t,r,i,o;r=t=e.Base||(e.Base={}),(o=i=r.Meters||(r.Meters={})).IStiGroupMapMeter=new e.System.Interface("IStiGroupMapMeter")}(Stimulsoft=Stimulsoft||{}),function(e){var t,r,i,o;r=t=e.Base||(e.Base={}),(o=i=r.Meters||(r.Meters={})).IStiIndicatorColumn=new e.System.Interface("IStiIndicatorColumn")}(Stimulsoft=Stimulsoft||{}),function(e){var t,r,i,o;r=t=e.Base||(e.Base={}),(o=i=r.Meters||(r.Meters={})).IStiKeyMapMeter=new e.System.Interface("IStiKeyMapMeter")}(Stimulsoft=Stimulsoft||{}),function(e){var t,r,i,o;r=t=e.Base||(e.Base={}),(o=i=r.Meters||(r.Meters={})).IStiLocalizedMeter=new e.System.Interface("IStiLocalizedMeter")}(Stimulsoft=Stimulsoft||{}),function(e){var t,r,i,o;r=t=e.Base||(e.Base={}),(o=i=r.Meters||(r.Meters={})).IStiMaxGaugeMeter=new e.System.Interface("IStiMaxGaugeMeter")}(Stimulsoft=Stimulsoft||{}),function(e){var t,r,i,o;r=t=e.Base||(e.Base={}),(o=i=r.Meters||(r.Meters={})).IStiMeasureColumn=new e.System.Interface("IStiMeasureColumn")}(Stimulsoft=Stimulsoft||{}),function(e){var t,r,i,o;r=t=e.Base||(e.Base={}),(o=i=r.Meters||(r.Meters={})).IStiMeasureMeter=new e.System.Interface("IStiMeasureMeter")}(Stimulsoft=Stimulsoft||{}),function(e){var t,r,i,o;r=t=e.Base||(e.Base={}),(o=i=r.Meters||(r.Meters={})).IStiMeter=new e.System.Interface("IStiMeter")}(Stimulsoft=Stimulsoft||{}),function(e){var t,r,i,o;r=t=e.Base||(e.Base={}),(o=i=r.Meters||(r.Meters={})).IStiMinGaugeMeter=new e.System.Interface("IStiMinGaugeMeter")}(Stimulsoft=Stimulsoft||{}),function(e){var t,r,i,o;r=t=e.Base||(e.Base={}),(o=i=r.Meters||(r.Meters={})).IStiNameMapMeter=new e.System.Interface("IStiNameMapMeter")}(Stimulsoft=Stimulsoft||{}),function(e){var t,r,i,o;r=t=e.Base||(e.Base={}),(o=i=r.Meters||(r.Meters={})).IStiPivotColumn=new e.System.Interface("IStiPivotColumn")}(Stimulsoft=Stimulsoft||{}),function(e){var t,r,i,o;r=t=e.Base||(e.Base={}),(o=i=r.Meters||(r.Meters={})).IStiPivotRow=new e.System.Interface("IStiPivotRow")}(Stimulsoft=Stimulsoft||{}),function(e){var t,r,i,o;r=t=e.Base||(e.Base={}),(o=i=r.Meters||(r.Meters={})).IStiPivotSummary=new e.System.Interface("IStiPivotSummary")}(Stimulsoft=Stimulsoft||{}),function(e){var t,r,i,o;r=t=e.Base||(e.Base={}),(o=i=r.Meters||(r.Meters={})).IStiSeriesMeter=new e.System.Interface("IStiSeriesMeter")}(Stimulsoft=Stimulsoft||{}),function(e){var t,r,i,o;r=t=e.Base||(e.Base={}),(o=i=r.Meters||(r.Meters={})).IStiSparklinesColumn=new e.System.Interface("IStiSparklinesColumn")}(Stimulsoft=Stimulsoft||{}),function(e){var t,r,i,o;r=t=e.Base||(e.Base={}),(o=i=r.Meters||(r.Meters={})).IStiTableColumn=new e.System.Interface("IStiTableColumn")}(Stimulsoft=Stimulsoft||{}),function(e){var t,r,i,o;r=t=e.Base||(e.Base={}),(o=i=r.Meters||(r.Meters={})).IStiTargetMeter=new e.System.Interface("IStiTargetMeter")}(Stimulsoft=Stimulsoft||{}),function(e){var t,r,i,o;r=t=e.Base||(e.Base={}),(o=i=r.Meters||(r.Meters={})).IStiValueMapMeter=new e.System.Interface("IStiValueMapMeter")}(Stimulsoft=Stimulsoft||{}),function(e){var t,r,i,o;r=t=e.Base||(e.Base={}),(o=i=r.Meters||(r.Meters={})).IStiValueMeter=new e.System.Interface("IStiValueMeter")}(Stimulsoft=Stimulsoft||{}),function(e){var t,e,r;e=t=e.Base||(e.Base={}),(e=r=e.StiNoticeIdent||(e.StiNoticeIdent={}))[e["ActivationMaxActivationsReached"]=1]="ActivationMaxActivationsReached",e[e["ActivationExpiriedBeforeFirstRelease"]=2]="ActivationExpiriedBeforeFirstRelease",e[e["ActivationLicenseIsNotCorrect"]=3]="ActivationLicenseIsNotCorrect",e[e["ActivationLockedAccount"]=4]="ActivationLockedAccount",e[e["ActivationServerVersionNotAllowed"]=5]="ActivationServerVersionNotAllowed",e[e["ActivationServerIsNotAvailableNow"]=6]="ActivationServerIsNotAvailableNow",e[e["ActivationSomeTroublesOccurred"]=7]="ActivationSomeTroublesOccurred",e[e["ActivationUserNameOrPasswordIsWrong"]=8]="ActivationUserNameOrPasswordIsWrong",e[e["ActivationWrongAccountType"]=9]="ActivationWrongAccountType",e[e["AuthAccountCantBeUsedNow"]=10]="AuthAccountCantBeUsedNow",e[e["AuthAccountIsNotActivated"]=11]="AuthAccountIsNotActivated",e[e["AuthCantChangeSystemRole"]=12]="AuthCantChangeSystemRole",e[e["AuthCantChangeRoleBecauseLastAdministratorUser"]=13]="AuthCantChangeRoleBecauseLastAdministratorUser",e[e["AuthCantChangeRoleBecauseLastSupervisorUser"]=14]="AuthCantChangeRoleBecauseLastSupervisorUser",e[e["AuthCantDeleteHimselfUser"]=15]="AuthCantDeleteHimselfUser",e[e["AuthCantDeleteLastAdministratorUser"]=16]="AuthCantDeleteLastAdministratorUser",e[e["AuthCantDeleteLastSupervisorUser"]=17]="AuthCantDeleteLastSupervisorUser",e[e["AuthCantDeleteSystemRole"]=18]="AuthCantDeleteSystemRole",e[e["AuthCantDisableUserBecauseLastAdministratorUser"]=19]="AuthCantDisableUserBecauseLastAdministratorUser",e[e["AuthCantDisableUserBecauseLastSupervisorUser"]=20]="AuthCantDisableUserBecauseLastSupervisorUser",e[e["AuthOAuthIdNotSpecified"]=21]="AuthOAuthIdNotSpecified",e[e["AuthPasswordIsTooShort"]=22]="AuthPasswordIsTooShort",e[e["AuthPasswordIsNotSpecified"]=23]="AuthPasswordIsNotSpecified",e[e["AuthPasswordIsNotCorrect"]=24]="AuthPasswordIsNotCorrect",e[e["AuthRequestsLimitIsExceeded"]=25]="AuthRequestsLimitIsExceeded",e[e["AuthRoleCantBeDeletedBecauseUsedByUsers"]=26]="AuthRoleCantBeDeletedBecauseUsedByUsers",e[e["AuthRoleNameAlreadyExists"]=27]="AuthRoleNameAlreadyExists",e[e["AuthRoleNameIsSystemRole"]=28]="AuthRoleNameIsSystemRole",e[e["AuthUserHasLoggedOut"]=29]="AuthUserHasLoggedOut",e[e["AuthUserNameAlreadyExists"]=30]="AuthUserNameAlreadyExists",e[e["AuthUserNameIsNotSpecified"]=31]="AuthUserNameIsNotSpecified",e[e["AuthUserNameOrPasswordIsNotCorrect"]=32]="AuthUserNameOrPasswordIsNotCorrect",e[e["AuthUserNameShouldLookLikeAnEmailAddress"]=33]="AuthUserNameShouldLookLikeAnEmailAddress",e[e["AuthWorkspaceNameAlreadyInUse"]=34]="AuthWorkspaceNameAlreadyInUse",e[e["CommandTimeOut"]=35]="CommandTimeOut",e[e["CustomMessage"]=36]="CustomMessage",e[e["ExecutionError"]=37]="ExecutionError",e[e["IsNotAuthorized"]=38]="IsNotAuthorized",e[e["IsNotDeleted"]=39]="IsNotDeleted",e[e["IsNotCorrect"]=40]="IsNotCorrect",e[e["IsNotEqual"]=41]="IsNotEqual",e[e["IsNotFound"]=42]="IsNotFound",e[e["IsNotRecognized"]=43]="IsNotRecognized",e[e["IsNotSpecified"]=44]="IsNotSpecified",e[e["ItemCantBeDeletedBecauseItemIsAttachedToOtherItems"]=45]="ItemCantBeDeletedBecauseItemIsAttachedToOtherItems",e[e["ItemCantBeMovedToSpecifiedPlace"]=46]="ItemCantBeMovedToSpecifiedPlace",e[e["ItemDoesNotSupport"]=47]="ItemDoesNotSupport",e[e["KeyAndToKeyIsEqual"]=48]="KeyAndToKeyIsEqual",e[e["NotificationFailed"]=49]="NotificationFailed",e[e["NotificationFileUploading"]=50]="NotificationFileUploading",e[e["NotificationFilesUploadingComplete"]=51]="NotificationFilesUploadingComplete",e[e["NotificationItemDelete"]=52]="NotificationItemDelete",e[e["NotificationItemDeleteComplete"]=53]="NotificationItemDeleteComplete",e[e["NotificationItemRestore"]=54]="NotificationItemRestore",e[e["NotificationItemRestoreComplete"]=55]="NotificationItemRestoreComplete",e[e["NotificationItemTransfer"]=56]="NotificationItemTransfer",e[e["NotificationItemTransferComplete"]=57]="NotificationItemTransferComplete",e[e["NotificationItemWaitingProcessing"]=58]="NotificationItemWaitingProcessing",e[e["NotificationOperationAborted"]=59]="NotificationOperationAborted",e[e["NotificationRecycleBinCleaning"]=60]="NotificationRecycleBinCleaning",e[e["NotificationRecycleBinCleaningComplete"]=61]="NotificationRecycleBinCleaningComplete",e[e["NotificationRecycleBinWaitingProcessing"]=62]="NotificationRecycleBinWaitingProcessing",e[e["NotificationReportCompiling"]=63]="NotificationReportCompiling",e[e["NotificationReportDataProcessing"]=64]="NotificationReportDataProcessing",e[e["NotificationReportExporting"]=65]="NotificationReportExporting",e[e["NotificationReportExportingComplete"]=66]="NotificationReportExportingComplete",e[e["NotificationReportRendering"]=67]="NotificationReportRendering",e[e["NotificationReportRenderingComplete"]=68]="NotificationReportRenderingComplete",e[e["NotificationReportSaving"]=69]="NotificationReportSaving",e[e["NotificationReportWaitingProcessing"]=70]="NotificationReportWaitingProcessing",e[e["NotificationSchedulerRunning"]=71]="NotificationSchedulerRunning",e[e["NotificationSchedulerRunningComplete"]=72]="NotificationSchedulerRunningComplete",e[e["NotificationSchedulerWaitingProcessing"]=73]="NotificationSchedulerWaitingProcessing",e[e["NotificationTransferring"]=74]="NotificationTransferring",e[e["NotificationTransferringComplete"]=75]="NotificationTransferringComplete",e[e["NotificationTitleFilesUploading"]=76]="NotificationTitleFilesUploading",e[e["NotificationTitleItemRefreshing"]=77]="NotificationTitleItemRefreshing",e[e["NotificationTitleItemTransferring"]=78]="NotificationTitleItemTransferring",e[e["NotificationTitleReportExporting"]=79]="NotificationTitleReportExporting",e[e["NotificationTitleReportRendering"]=80]="NotificationTitleReportRendering",e[e["NotificationTitleSchedulerRunning"]=81]="NotificationTitleSchedulerRunning",e[e["QuotaMaximumComputingCyclesCountExceeded"]=82]="QuotaMaximumComputingCyclesCountExceeded",e[e["QuotaMaximumFileSizeExceeded"]=83]="QuotaMaximumFileSizeExceeded",e[e["QuotaMaximumItemsCountExceeded"]=84]="QuotaMaximumItemsCountExceeded",e[e["QuotaMaximumReportPagesCountExceeded"]=85]="QuotaMaximumReportPagesCountExceeded",e[e["QuotaMaximumUsersCountExceeded"]=86]="QuotaMaximumUsersCountExceeded",e[e["QuotaMaximumWorkspacesCountExceeded"]=87]="QuotaMaximumWorkspacesCountExceeded",e[e["AccessDenied"]=88]="AccessDenied",e[e["OutOfRange"]=89]="OutOfRange",e[e["ParsingCommandException"]=90]="ParsingCommandException",e[e["SchedulerCantRunItSelf"]=91]="SchedulerCantRunItSelf",e[e["SessionTimeOut"]=92]="SessionTimeOut",e[e["SnapshotAlreadyProcessed"]=93]="SnapshotAlreadyProcessed",e[e["SpecifiedItemIsNot"]=94]="SpecifiedItemIsNot",e[e["WithSpecifiedKeyIsNotFound"]=95]="WithSpecifiedKeyIsNotFound",e[e["VersionCopyFromItem"]=96]="VersionCopyFromItem",e[e["VersionCreatedFromFile"]=97]="VersionCreatedFromFile",e[e["VersionCreatedFromItem"]=98]="VersionCreatedFromItem",e[e["VersionNewItemCreation"]=99]="VersionNewItemCreation",e[e["VersionLoadedFromFile"]=100]="VersionLoadedFromFile"}(Stimulsoft=Stimulsoft||{}),function(e){var t,r,i;function o(){}(r=t=e.Base||(e.Base={})).StiNotice=o}(Stimulsoft=Stimulsoft||{}),function(e){var t,r,i,o,e;function n(){this.items=null,this.valueBoolFalse=!1,this.valueBoolTrue=!0}r=t=e.Base||(e.Base={}),i=e.System.Collections.Hashtable,o=e.System.ICloneable,n.prototype.implements=function(){return[o]},n.prototype.clone=function(){var e=new n;return null!=this.items&&(e.items=this.items.clone()),e},n.prototype.setNumber=function(e,t,r){if(t==r){if(null==this.items)return;null!=this.items.get(e)&&this.items.remove(e)}else null==this.items&&(this.items=new i),this.items.set(e,t)},n.prototype.getNumber=function(e,t){if(null==this.items)return t;var e=this.items.get(e);return null==e?t:e},n.prototype.setBool=function(e,t,r){if(t==r){if(null==this.items)return;null!=this.items.get(e)&&this.items.remove(e)}else null==this.items&&(this.items=new i),t?this.items.set(e,this.valueBoolTrue):this.items.set(e,this.valueBoolFalse)},n.prototype.getBool=function(e,t){if(null==this.items)return t;var e=this.items.get(e);if(e==this.valueBoolFalse)return!1;if(e==this.valueBoolTrue)return!0;return t},n.prototype.set=function(e,t,r){if(null==this.items&&(this.items=new i),null==t||t==r)return void(null!=this.items.get(e)&&this.items.remove(e));this.items.set(e,t)},n.prototype.get=function(e,t){if(null==this.items)return t;var e=this.items.get(e);if(null==e)return t;return e},n.prototype.isPresent=function(e){if(null==this.items)return!1;return this.items.containsKey(e)},e=n,r.StiRepositoryItems=e}(Stimulsoft=Stimulsoft||{}),function(t){var e,r,i,o,n,a;function s(){this._properties=null}r=e=t.Base||(t.Base={}),o=i=r.Services||(r.Services={}),n=t.Base.StiRepositoryItems,a=t.System.ICloneable,s.prototype.clone=function(e,t,r){return void 0===e&&(e=!0),void 0===t&&(t=!0),void 0===r&&(r=!0),this.memberwiseClone(r)},s.prototype.memberwiseClone=function(e){var e;return void 0===e&&(e=!0),(e=e?this.stimulsoft.memberwiseClone(!0):new(this.stimulsoft.getType()))._properties=this._properties,e},s.prototype.implements=function(){return[a]},s.prototype.is=function(e){if(e instanceof t.System.Interface)return-1!=this.implements().indexOf(e);if("function"==typeof e)return this instanceof e;if(null==e)throw new Error("Type for comparison is 'undefined'");return!1},s.prototype.is2=function(e){return this.is(e)},s.prototype.as=function(e){if(this.is(e))return this;return null},s.prototype.isPropertyPresent=function(e){if(null==this.properties)return!1;return this.properties.isPresent(e)},Object.defineProperty(s.prototype,"properties",{get:function(){return null==this._properties&&(this._properties=new n),this._properties},set:function(e){this._properties=e},enumerable:!1,configurable:!0}),s.prototype.isPropertiesInitializedProtected=function(){return null!=this.properties},Object.defineProperty(s.prototype,"serviceCategory",{get:function(){return"Misc"},enumerable:!1,configurable:!0}),Object.defineProperty(s.prototype,"serviceName",{get:function(){return this.stimulsoft.getType().stimulsoft.getTypeName()},enumerable:!1,configurable:!0}),Object.defineProperty(s.prototype,"serviceInfo",{get:function(){return""},enumerable:!1,configurable:!0}),Object.defineProperty(s.prototype,"serviceType",{get:function(){return this.stimulsoft.getType()},enumerable:!1,configurable:!0}),Object.defineProperty(s.prototype,"serviceEnabled",{get:function(){return this.properties.getBool("ServiceEnabled",!0)},set:function(e){this.properties.setBool("ServiceEnabled",e,!0)},enumerable:!1,configurable:!0}),r=s,o.StiService=r}(Stimulsoft=Stimulsoft||{}),function(S){var e;!function(e){var d=S.System.StiString,p,t;(t=p=p||{})[t["FText"]=1]="FText",t[t["FHcrc"]=2]="FHcrc",t[t["FExtra"]=4]="FExtra",t[t["FName"]=8]="FName",t[t["FComment"]=16]="FComment";var t=(Object.defineProperty(f,"crcTable",{get:function(){if(null==this._crcTable){this._crcTable=new Array(256);for(var e=void 0,t=0;t<256;t++){e=t;for(var r=0;r<8;r++)e=0!=(1&e)?3988292384^e>>>1:e>>>1;this._crcTable[t]=e}}return this._crcTable},enumerable:!1,configurable:!0}),f.crc32=function(e){for(var t=0^-1,r=0;r<e.length;r++)t=t>>>8^this.crcTable[255&(t^e[r])];return(-1^t)>>>0},f.putByte=function(e,t){t.push(255&e)},f.putShort=function(e,t){t.push(255&e),t.push(e>>>8)},f.putLong=function(e,t){f.putShort(65535&e,t),f.putShort(e>>>16,t)},f.putString=function(e,t){for(var r=0;r<e.length;r+=1)f.putByte(e.charCodeAt(r),t)},f.readByte=function(e){return e.shift()},f.readShort=function(e){return e.shift()|e.shift()<<8},f.readLong=function(e){var t=f.readShort(e),e=f.readShort(e);if(32768<e)return((e-=32768)<<16|t)+32768*Math.pow(2,16);return e<<16|t},f.readString=function(e){var t=[];while(0!==e[0])t.push(String.fromCharCode(e.shift()));return e.shift(),t.join("")},f.readBytes=function(e,t){for(var r=[],i=0;i<t;i+=1)r.push(e.shift());return r},f.pack=function(e,t){var r,i;if(null==e||void 0===e)return null;var o=0,n=[],a=e;"string"==typeof e&&(a=e.stimulsoft.toUnicodeString().stimulsoft.toBytesArray()),f.putByte(f.ID1,n),f.putByte(f.ID2,n),f.putByte(f.DefaultMethod,n),d.isNullOrEmpty(t)||(o|=p.FName),f.putByte(o,n),f.putLong(parseInt((Date.now()/1e3).toString(),10),n),f.putByte(1==f.DefaultLevel?4:9==f.DefaultLevel?2:0,n),-1!=navigator.appVersion.indexOf("Win")?f.putByte(11,n):f.putByte(3,n),d.isNullOrEmpty(t)||(f.putString(t.substring(t.lastIndexOf("/")+1),n),f.putByte(0,n));var s=S.ExternalLibrary.JSZip.compressions.DEFLATE.compress(a,{level:6});try{for(var l=__values(s),u=l.next();!u.done;u=l.next()){var c=u.value;f.putByte(c,n)}}catch(e){r={error:e}}finally{try{u&&!u.done&&(i=l.return)&&i.call(l)}finally{if(r)throw r.error}}if(f.putLong(f.crc32(a),n),f.putLong(a.length,n),e instanceof Array)return n;if(e instanceof Uint8Array)return n;if(e instanceof Buffer)return n;return S.System.Convert.toBase64String(n)},f.unpack=function(e){var t,r,i=e;if("string"==typeof e&&(i=S.System.Convert.fromBase64String(e)),"undefined"!=typeof Buffer&&e.stimulsoft.is(Buffer)&&(i=__spread(e)),f.readByte(i)!==f.ID1||f.readByte(i)!==f.ID2)throw new Error("Not a GZIP file");if(8!==f.readByte(i))throw new Error("Unsupported compression method");var o=f.readByte(i),n=f.readLong(i),a=f.readByte(i),s=f.readByte(i),l;o&p.FExtra&&(l=f.readShort(i),f.readBytes(i,l)),o&p.FName&&f.readString(i),o&p.FComment&&f.readString(i),o&p.FHcrc&&f.readShort(i);var u=S.ExternalLibrary.JSZip.compressions.DEFLATE.uncompress(i.splice(0,i.length-8));if(e instanceof Array)return u;var c="";try{for(var d=__values(u),h=d.next();!h.done;h=d.next()){var m=h.value;c+=String.fromCharCode(m)}}catch(e){t={error:e}}finally{try{h&&!h.done&&(r=d.return)&&r.call(d)}finally{if(t)throw t.error}}return c.stimulsoft.fromUnicodeString()},f.DefaultLevel=6,f.DefaultMethod=8,f.ID1=31,f.ID2=139,f._crcTable=null,f);function f(){}e.StiGZipHelper=t}(e=S.Base||(S.Base={}))}(Stimulsoft=Stimulsoft||{}),function(r){var e,t,i,o,n;function a(){this._mainStream=null,this.zip=null,this._mainStream=null}t=e=r.Base||(r.Base={}),o=i=t.Zip||(t.Zip={}),n=r.System.Text.Encoding,a.convertToArray=function(e,t){if(null==t)return[];return(e?n.UTF8:n.Default).getBytes(t)},a.getDosTime=function(e){return(e.year-1980&127)<<25|e.month<<21|e.day<<16|e.hour<<11|e.minute<<5|e.second>>1},a.prototype.begin=function(e,t){if(this._mainStream=e,null==this._mainStream)throw new Error("Output stream is null");this.zip=r.ExternalLibrary.JSZip()},a.prototype.addFile=function(e,t,r){void 0===r&&(r=!1),this.zip.file(e,t.toArray())},a.prototype.end=function(){for(var e=this.zip.generate({type:"arraybuffer",compression:"DEFLATE"}),t=new Int8Array(e),r=[],i=0;i<t.length;i++)r.push(t[i]);this._mainStream.write(r,0,r.length),this._mainStream=null},t=a,o.StiZipWriter20=t}(Stimulsoft=Stimulsoft||{}),function(e){var t,r,i,e,o,n,a,s;r=t=e.Base||(e.Base={}),(e=i=r.StiAnimationType||(r.StiAnimationType={}))[e["Opacity"]=0]="Opacity",e[e["Scale"]=1]="Scale",e[e["Translation"]=2]="Translation",e[e["Rotation"]=3]="Rotation",e[e["Column"]=4]="Column",e[e["Points"]=5]="Points",e[e["PieSegment"]=6]="PieSegment",(e=o=r.StiTokenType||(r.StiTokenType={}))[e["None"]=0]="None",e[e["Dot"]=1]="Dot",e[e["Comma"]=2]="Comma",e[e["Colon"]=3]="Colon",e[e["SemiColon"]=4]="SemiColon",e[e["Shl"]=5]="Shl",e[e["Shr"]=6]="Shr",e[e["Assign"]=7]="Assign",e[e["Equal"]=8]="Equal",e[e["NotEqual"]=9]="NotEqual",e[e["LeftEqual"]=10]="LeftEqual",e[e["Left"]=11]="Left",e[e["RightEqual"]=12]="RightEqual",e[e["Right"]=13]="Right",e[e["Or"]=14]="Or",e[e["And"]=15]="And",e[e["Not"]=16]="Not",e[e["DoubleOr"]=17]="DoubleOr",e[e["DoubleAnd"]=18]="DoubleAnd",e[e["Copyright"]=19]="Copyright",e[e["Question"]=20]="Question",e[e["Plus"]=21]="Plus",e[e["Minus"]=22]="Minus",e[e["Mult"]=23]="Mult",e[e["Div"]=24]="Div",e[e["Splash"]=25]="Splash",e[e["Percent"]=26]="Percent",e[e["Ampersand"]=27]="Ampersand",e[e["Sharp"]=28]="Sharp",e[e["Dollar"]=29]="Dollar",e[e["Euro"]=30]="Euro",e[e["DoublePlus"]=31]="DoublePlus",e[e["DoubleMinus"]=32]="DoubleMinus",e[e["LPar"]=33]="LPar",e[e["RPar"]=34]="RPar",e[e["LBrace"]=35]="LBrace",e[e["RBrace"]=36]="RBrace",e[e["LBracket"]=37]="LBracket",e[e["RBracket"]=38]="RBracket",e[e["Value"]=39]="Value",e[e["Ident"]=40]="Ident",e[e["Unknown"]=41]="Unknown",e[e["EOF"]=42]="EOF",(e=n=r.StiLevel||(r.StiLevel={}))[e["Basic"]=0]="Basic",e[e["Standard"]=1]="Standard",e[e["Professional"]=2]="Professional",(e=a=r.StiAutoBool||(r.StiAutoBool={}))[e["Auto"]=0]="Auto",e[e["True"]=1]="True",e[e["False"]=2]="False",(r=s=r.StiSummaryColumnType||(r.StiSummaryColumnType={}))[r["Sum"]=0]="Sum",r[r["Min"]=1]="Min",r[r["Max"]=2]="Max",r[r["Count"]=3]="Count",r[r["Average"]=4]="Average"}(Stimulsoft=Stimulsoft||{}),function(e){var t,r;(r=t=e.Base||(e.Base={})).IStiApp=new e.System.Interface("IStiApp")}(Stimulsoft=Stimulsoft||{}),function(e){var t,r;(r=t=e.Base||(e.Base={})).IStiAppAlias=new e.System.Interface("IStiAppAlias")}(Stimulsoft=Stimulsoft||{}),function(e){var t,r;(r=t=e.Base||(e.Base={})).IStiAppCalcDataColumn=new e.System.Interface("IStiAppCalcDataColumn")}(Stimulsoft=Stimulsoft||{}),function(e){var t,r;(r=t=e.Base||(e.Base={})).IStiAppCell=new e.System.Interface("IStiAppCell")}(Stimulsoft=Stimulsoft||{}),function(e){var t,r;(r=t=e.Base||(e.Base={})).IStiAppComponent=new e.System.Interface("IStiAppComponent")}(Stimulsoft=Stimulsoft||{}),function(e){var t,r;(r=t=e.Base||(e.Base={})).IStiAppConnection=new e.System.Interface("IStiAppConnection")}(Stimulsoft=Stimulsoft||{}),function(e){var t,r;(r=t=e.Base||(e.Base={})).IStiAppDataCell=new e.System.Interface("IStiAppDataCell")}(Stimulsoft=Stimulsoft||{}),function(e){var t,r;(r=t=e.Base||(e.Base={})).IStiAppDataColumn=new e.System.Interface("IStiAppDataColumn")}(Stimulsoft=Stimulsoft||{}),function(e){var t,r;(r=t=e.Base||(e.Base={})).IStiAppDataRelation=new e.System.Interface("IStiAppDataRelation")}(Stimulsoft=Stimulsoft||{}),function(e){var t,r;(r=t=e.Base||(e.Base={})).IStiAppDataSource=new e.System.Interface("IStiAppDataSource")}(Stimulsoft=Stimulsoft||{}),function(e){var t,r;(r=t=e.Base||(e.Base={})).IStiAppDictionary=new e.System.Interface("IStiAppDictionary")}(Stimulsoft=Stimulsoft||{}),function(e){var t,r;(r=t=e.Base||(e.Base={})).IStiAppExpressionCollection=new e.System.Interface("IStiAppExpressionCollection")}(Stimulsoft=Stimulsoft||{}),function(e){var t,r;(r=t=e.Base||(e.Base={})).IStiAppFunction=new e.System.Interface("IStiAppFunction")}(Stimulsoft=Stimulsoft||{}),function(e){var t,r;(r=t=e.Base||(e.Base={})).IStiAppVariable=new e.System.Interface("IStiAppVariable")}(Stimulsoft=Stimulsoft||{}),function(e){var t,r;(r=t=e.Base||(e.Base={})).IStiGetFonts=new e.System.Interface("IStiGetFonts")}(Stimulsoft=Stimulsoft||{}),function(e){var t,r;(r=t=e.Base||(e.Base={})).IStiReport=new e.System.Interface("IStiReport")}(Stimulsoft=Stimulsoft||{}),function(e){var t,r;(r=t=e.Base||(e.Base={})).IStiReportComponent=new e.System.Interface("IStiReportComponent")}(Stimulsoft=Stimulsoft||{}),function(e){var t,r;(r=t=e.Base||(e.Base={})).IStiReportPage=new e.System.Interface("IStiReportPage")}(Stimulsoft=Stimulsoft||{}),function(o){var e,t,r;function i(){}t=e=o.Base||(o.Base={}),i.createObject=function(e){if(e.prototype instanceof o.System.StimulsoftList)return[];var t;return new e},i.createObject2=function(e){var t=e.split(".");if("Stimulsoft"!=t.splice(0,1)[0])return null;var r=o;while(0<t.length)var i,r=r[t.splice(0,1)[0]];if(r!=o)return new r;return null},r=i,t.StiActivator=r}(Stimulsoft=Stimulsoft||{}),function(e){var t,r,e;function i(){}r=t=e.Base||(e.Base={}),i.alignToMaxGrid=function(e,t,r){var r;return r&&((r=Math.round(e/t)*t)<e&&(r+=t),e=r),e},i.alignToMinGrid=function(e,t,r){var r;return r&&(e<(r=Math.round(e/t)*t)&&(r-=t),e=r),e},i.alignToGrid=function(e,t,r){var i;return r&&(e=Math.round(e/t)*t),e},e=i,r.StiAlignValue=e}(Stimulsoft=Stimulsoft||{}),function(e){var t,r,i,o,n,a,e;function s(e,t){this.name=e,this.expression=t}r=t=e.Base||(e.Base={}),i=e.System.Text.XMLConvert,o=e.System.StiString,n=e.System.ICloneable,a=e.Base.JsonReportObject.IStiJsonReportObject,s.prototype.implements=function(){return s.ImplementsStiAppExpression||(s.ImplementsStiAppExpression=[n,a]),s.ImplementsStiAppExpression},s.prototype.saveToJsonObject=function(e){var t=new r.StiJson;return t.addPropertyStringNullOrEmpty("Name",this.upperFirstChar(this.name)),t.addPropertyStringNullOrEmpty("Expression",this.expression),t},s.prototype.loadFromJsonObject=function(e){var t,r;try{for(var i=__values(e.properties()),o=i.next();!o.done;o=i.next()){var n=o.value;switch(n.name){case"Name":this.name=this.lowerFirstChar(n.value);break;case"Expression":this.expression=n.value;break}}}catch(e){t={error:e}}finally{try{o&&!o.done&&(r=i.return)&&r.call(i)}finally{if(t)throw t.error}}},s.prototype.loadFromXml=function(e){var e=e.textContent.split(",");2<=e.length&&(this.name=this.lowerFirstChar(i.decodeName(e[0])),this.expression=i.decodeName(e[1]))},s.prototype.upperFirstChar=function(e){return 0<e.length?e.charAt(0).toUpperCase()+e.slice(1):e},s.prototype.lowerFirstChar=function(e){return 0<e.length?e.charAt(0).toLowerCase()+e.slice(1):e},s.prototype.clone=function(){return new s(this.name,this.expression)},Object.defineProperty(s.prototype,"isEmpty",{get:function(){return o.isNullOrWhiteSpace(this.name)||o.isNullOrWhiteSpace(this.expression)},enumerable:!1,configurable:!0}),e=s,r.StiAppExpression=e}(Stimulsoft=Stimulsoft||{}),function(e){var t,l,e,r;function a(){return null!==r&&r.apply(this,arguments)||this}l=t=e.Base||(e.Base={}),e=e.System.Collections.CollectionBase,__extends(a,r=e),a.prototype.saveToJsonObject=function(e){var t,r;if(0==this.list.length)return null;var i=new l.StiJson,o=0;try{for(var n=__values(this.list),a=n.next();!a.done;a=n.next()){var s=a.value;i.addPropertyJObject(o.toString(),s.saveToJsonObject(e)),o++}}catch(e){t={error:e}}finally{try{a&&!a.done&&(r=n.return)&&r.call(n)}finally{if(t)throw t.error}}return i},a.prototype.loadFromJsonObject=function(e){var t,r;try{for(var i=__values(e.properties()),o=i.next();!o.done;o=i.next()){var n=o.value,a=new l.StiAppExpression(null,null);a.loadFromJsonObject(n.value),this.list.push(a)}}catch(e){t={error:e}}finally{try{o&&!o.done&&(r=i.return)&&r.call(i)}finally{if(t)throw t.error}}},a.prototype.loadFromXml=function(e){for(var t=0;t<e.childNodes.length;t++){var r=e.childNodes[t],i;"value"==r.nodeName&&((i=new l.StiAppExpression(null,null)).loadFromXml(r),this.list.push(i))}},a.prototype.add2=function(e,t){this.list.push(new l.StiAppExpression(e,t))},a.prototype.addRange2=function(e){this.addRange(e)},a.prototype.contains2=function(e){return null!=this.getByName(e)},a.prototype.remove2=function(e){var e=this.getByName(e);null!=e&&this.remove(e)},a.prototype.getByName=function(e){var t,r;try{for(var i=__values(this.list),o=i.next();!o.done;o=i.next()){var n=o.value;if(n.name==e)return n}}catch(e){t={error:e}}finally{try{o&&!o.done&&(r=i.return)&&r.call(i)}finally{if(t)throw t.error}}return null},a.prototype.setByName=function(e,t){for(var r=0,i;r<this.list.length;r++){if(this.list[r].name==e)return void(this.list[r]=t)}this.list.push(t)},a.prototype.clone=function(){var t,e,r=new a;try{for(var i=__values(this.list),o=i.next();!o.done;o=i.next()){var n=o.value;r.add(n.clone())}}catch(e){t={error:e}}finally{try{o&&!o.done&&(e=i.return)&&e.call(i)}finally{if(t)throw t.error}}return r},e=a,l.StiAppExpressionCollection=e}(Stimulsoft=Stimulsoft||{}),function(e){var t,i,r,e;function o(){}i=t=e.Base||(e.Base={}),r=e.System.StiString,o.isExpressionSpecified=function(e,t){var t=o.getExpression(e,t);return!r.isNullOrWhiteSpace(null==t?void 0:t.expression)},o.getExpression=function(e,t){var e=e.stimulsoft.as(i.IStiAppExpressionCollection);if(null==(null==e?void 0:e.expressions))return null;return null==e?void 0:e.expressions.getByName(t)},o.getExpressionValue=function(e,t){var t;return null===(t=o.getExpression(e,t))||void 0===t?void 0:t.expression},o.setExpression=function(e,t,r){var e=e.stimulsoft.as(i.IStiAppExpressionCollection);if(null==e)return;null==e.expressions&&(e.expressions=new i.StiAppExpressionCollection),e.expressions.setByName(t,new i.StiAppExpression(t,r))},o.removeExpression=function(e,t){var e,e=e.stimulsoft.as(i.IStiAppExpressionCollection);if(null==e)return;null!==(e=e.expressions)&&void 0!==e&&e.remove2(t)},e=o,i.StiAppExpressionHelper=e}(Stimulsoft=Stimulsoft||{}),function(e){var t,r,u,e;function i(){}r=t=e.Base||(e.Base={}),u=e.System.Collections.List,e=e.System.Collections.Hashtable,i.getFunctions=function(e,t){var r,i,o=new u,n=e?this.functionsToCompile:this.functions;try{for(var a=__values(n.keys),s=a.next();!s.done;s=a.next()){var l=s.value,l=this.getFunctions2(l,e,t);o.addRange(l)}}catch(e){r={error:e}}finally{try{s&&!s.done&&(i=a.return)&&i.call(a)}finally{if(r)throw r.error}}return o.stimulsoft.toArray()},i.getFunctions2=function(e,t,r){var i=t?this.functionsToCompile:this.functions,o=t?this.functionsToCompileLower:this.functionsLower,t=i.get(e);if(null!=t)return t.stimulsoft.toArray();return null!=(t=r?i.get(e):o.get(e.toLowerCase()))?t.stimulsoft.toArray():null},i.functionsToCompile=new e,i.functionsToCompileLower=new e,i.functions=new e,i.functionsLower=new e,e=i,r.StiAppFunctions=e}(Stimulsoft=Stimulsoft||{}),function(e){var t,r,e;function i(){}r=t=e.Base||(e.Base={}),i.getOrGeneratedKey=function(e){var e=e.getApp();return this.getOrGeneratedKey2(e)},i.getOrGeneratedKey2=function(e){return e.setKey(r.StiKeyHelper.getOrGeneratedKey(e.getKey())),e.getKey()},i.getOrGeneratedKey3=function(e){var e=e.getApp();return this.getOrGeneratedKey2(e)},i.getOrGeneratedKey4=function(e){var e=e.getDictionary();return this.getOrGeneratedKey3(e)},e=i,r.StiAppKey=e}(Stimulsoft=Stimulsoft||{}),function(e){var t,n,r,i,a,e;function o(){}n=t=e.Base||(e.Base={}),r=e.System.Convert,i=e.System.Text.Encoding,a=e.System.IO.MemoryStream,o.encrypt=function(e,t){return this.encryptAdv(e,t)},o.encrypt2=function(e,t){var t=this.getKeyFromPassword(t);return this.encryptAdv(e,t)},o.encryptS=function(e,t){if(null==e)return null;var e=i.UTF8.getBytes(e),t=this.getKeyFromPassword(t),t=this.encryptAdv(e,t);return r.toBase64String(t)},o.decrypt=function(e,t){return this.decryptAdv(e,t)},o.decrypt2=function(e,t){var t=this.getKeyFromPassword(t);return this.decryptAdv(e,t)},o.decryptS=function(e,t){var e=r.fromBase64String(e),t=this.getKeyFromPassword(t),t=this.decryptAdv(e,t);return i.UTF8.getString(t)},o.generateRandomKey=function(){for(var e=[],t=0;t<32;t++)e[t]=Math.floor(256*Math.random());return e},o.encryptAdv=function(e,t){if(null==e)return null;var r=[],r=this.cryptRandom(e,t,!0);return r=this.cryptXor(r,t),r=this.cryptShift(r,t,!0)},o.decryptAdv=function(e,t){if(null==e)return null;var r=[],r=this.cryptShift(e,t,!1);return r=this.cryptXor(r,t),r=this.cryptRandom(r,t,!1)},o.cryptXor=function(e,t){var r=[],i=0,o=0;while(i<e.length)o>=t.length&&(o=0),r[i]=e[i]^t[o],i++,o++;return r},o.cryptShift=function(e,t,r){var i=[],o=0,n=0;while(o<e.length)n>=t.length&&(n=0),i[o]=r?this.shiftLeft(e[o],t[n]):this.shiftRight(e[o],t[n]),o++,n++;return i},o.shiftLeft=function(e,t){var t=e<<(7&t),t;return t=255&t|(65280&t)>>8},o.shiftRight=function(e,t){var t=e<<8-(7&t),t;return t=255&t|(65280&t)>>8},o.cryptRandom=function(e,t,r){var i=[],o=0;this.setRandomSeed(t);var n=this.getMixArray(e.length);while(o<e.length)r?i[o]=e[n[o]]:i[n[o]]=e[o],o++;return i},o.getMixArray=function(e){for(var t=[],r=[],i=0;i<e;i++)t[i]=i;for(var o=0;o<e;o++){var n=this.getRandom(0,e-o-1);r[o]=t[n],t[n]=t[e-o-1]}return r},o.setRandomSeed=function(e){this.randomSeed=e[0]|e[1]<<8|e[e.length-2]<<16|e[e.length-1]<<24,this.randomSeed<0&&(this.randomSeed=4294967296+this.randomSeed),this.randomSeed=this.randomSeed%this.rand_m,this.randomSeed<0&&(this.randomSeed=16777215-this.randomSeed&16777215)},o.getRandom=function(e,t){var r;return this.randomSeed=(this.randomSeed*this.rand_a+this.rand_c)%this.rand_m,e+(t-e+1)*this.randomSeed/this.rand_m&4294967295},o.getKeyFromPassword=function(e){var t=new a,r=n.StiMD5Helper.MD5(e);t.write(r);var i=r.length;while(i<e.length)r=n.StiMD5Helper.MD5(e.substring(0,i)),t.write(r,0,i+r.length<e.length?r.length:e.length-i),i+=r.length;var o=t.toArray();return t.close(),t=null,o},o.randomSeed=0,o.rand_m=714025,o.rand_a=4096,o.rand_c=150889,e=o,n.StiEncryption=e}(Stimulsoft=Stimulsoft||{}),function(e){var t,r,i,o,n,e;function a(e,t,r,i){this.machineName=e,this.machineAddress=t,this.machineUserName=r,this.machineGuid=i;var e=e;if(!a.isCID(e))return;e=e.substr(a.prefix.length),this.loadFromString(n.decryptS(e,a.key))}r=t=e.Base||(e.Base={}),i=e.System.NodeJs,o=e.Base.StiJson,n=e.Base.StiEncryption,a.prototype.saveToString=function(){return this.saveToJsonObject().serialize()},a.prototype.saveToJsonObject=function(){var e=new o;return e.addPropertyStringNullOrEmpty("MachineName",this.machineName),e.addPropertyStringNullOrEmpty("MachineAddress",this.machineAddress),e.addPropertyStringNullOrEmpty("MachineUserName",this.machineUserName),e.addPropertyStringNullOrEmpty("MachineGuid",this.machineGuid),e},a.prototype.loadFromString=function(e){var t=new o;t.deserialize(e),this.loadFromJsonObject(t)},a.prototype.loadFromJsonObject=function(e){var t,r;try{for(var i=__values(e.properties()),o=i.next();!o.done;o=i.next()){var n=o.value;switch(n.name){case"MachineName":this.machineName=n.value;break;case"MachineAddress":this.machineAddress=n.value;break;case"MachineUserName":this.machineUserName=n.value;break;case"MachineGuid":this.machineGuid=n.value;break}}}catch(e){t={error:e}}finally{try{o&&!o.done&&(r=i.return)&&r.call(i)}finally{if(t)throw t.error}}},a.getDefault=function(){return a.prefix+n.encryptS(this.getDeveloperCID().saveToString(),a.key)},a.getDeveloperCID=function(){return new a(this.getCurrentMachineName(),this.getCurrentMachineAddress(),this.getCurrentMachineUserName(),this.getCurrentMachineGuid())},a.getCurrentMachineName=function(){try{var e;if(i.isNodeJs())return __require__("os").hostname()||this.undefined}catch(e){}return this.undefined},a.getCurrentMachineGuid=function(){try{var e;if(i.isNodeJs())return(0,__require__("node-machine-id").machineIdSync)(!0)}catch(e){}return this.undefined},a.getCurrentMachineAddress=function(){var t=this;try{var e=function(e){return e?e.toString().toUpperCase().replace(/:/g,"-"):t.undefined},r=function(e){return e.mac&&"00:00:00:00:00:00"!=e.mac&&e.address&&"127.0.0.1"!=e.address},i,o=__require__("os").networkInterfaces();if(o){var n=o.Ethernet,n;if(!(n=n||o.Wireless80211))for(var a in o){if(n)break;var s=o[a];if(0<s.length)for(var l=0;l<s.length;l++)if(r(s[l])){n=s;break}}if(n&&0<n.length)for(var l=0;l<n.length;l++)if(r(n[l]))return e(n[l].mac)}}catch(e){}return this.undefined},a.getCurrentMachineUserName=function(){var e,t;try{return(null===(e=__require__("os").userInfo())||void 0===e?void 0:e.username)||this.undefined}catch(e){}return this.undefined},a.isCID=function(e){return null!=e&&e.stimulsoft.startsWith(this.prefix)},a.key="fjk2dpfko5epefko4prmk",a.undefined="Undefined",a.prefix="PL534950",e=a,r.StiCID=e}(Stimulsoft=Stimulsoft||{}),function(e){var t,r,i,e;function o(){}r=t=e.Base||(e.Base={}),i=e.System.Xml.XmlConverter,o.getTextJson=function(e){var t=new r.StiJson;return t.deserialize('{"Ident": "StiText",'+'"Name": "'+e.value.find(function(e){return"Name"==e.name}).value+'",'+'"ClientRectangle": "'+e.value.find(function(e){return"ClientRectangle"==e.name}).value+'",'+'"Text": { "Value": "'+this.message+'" },'+'"Brush": "solid:46,117,181", "HorAlignment": "Center", "VertAlignment": "Center", "Font": ";12;;", "Border": "All;255,0,0;2;;;;;solid:0,0,0",'+'"TextOptions": { "WordWrap": true }}'),t},o.getTextXml=function(e){var e="<"+e.nodeName+' Ref="'+e.attributes.toList().firstOrDefault(function(e){return"Ref"==e.name}).value+'" type="Text" isKey="true">'+"<Border>All;[255:0:0];2;Solid;False;4;[0:0:0]</Border>"+"<Brush>[46:117:181]</Brush>"+"<BackColor>[46:117:181]</BackColor>"+"<ClientRectangle>"+e.childNodes.firstOrDefault(function(e){return"ClientRectangle"==e.nodeName}).textContent+"</ClientRectangle>"+"<Font>Arial,10</Font>"+"<HorAlignment>Center</HorAlignment>"+"<Name>"+e.nodeName+"</Name>"+"<Text>"+this.message+"</Text>"+"<TextOptions>,,,,WordWrap=True,A=0</TextOptions>"+"<VertAlignment>Center</VertAlignment>"+"</"+e.nodeName+'>"';return i.toXml(e).firstChild},Object.defineProperty(o.prototype,"message",{get:function(){return o.message},enumerable:!1,configurable:!0}),o.message="The chart library was not loaded. Include stimulsoft.reports.chart.js to use charts.",e=o,r.StiChartNotSupportedException=e}(Stimulsoft=Stimulsoft||{}),function(e){var t,r,i,o,n,a,s;function l(){}r=t=e.Base||(e.Base={}),o=i=r.Drawing||(r.Drawing={}),n=e.System.StiString,a=e.System.Drawing.ColorTranslator,s=e.System.Drawing.Color,l.get=function(e){if(n.isNullOrWhiteSpace(e))return s.transparent;var t,t=(t=e.replace(/ /gi,"")).charAt(0).toLowerCase()+t.substr(1),t=s[t];if(t instanceof s)return t;if((e=e.toLowerCase()).stimulsoft.startsWith("#"))return a.fromHtml("0x"+e.substr(1,e.length-1));return a.fromHtml(e.stimulsoft.startsWith("0x")?e:"0x"+e)},l.get2=function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];return e.stimulsoft.toList().select(this.get).stimulsoft.toArray()},r=l,o.StiColor=r}(Stimulsoft=Stimulsoft||{}),function(a){var e,s,l,t;function r(){}s=e=a.Base||(a.Base={}),l=a.System.Drawing.Image,r.changeType=function(t,e,r){void 0===r&&(r=!0);try{if((null==t||t==a.System.Data.DBNull)&&!r){if(e===String)return"";if(e===Boolean)return!1;if(e===a.System.Guid)return a.System.Guid.empty;if(e===a.System.DateTime)return"";if(e===a.System.NullableDecimal||e===a.System.NullableDouble||e===a.System.NullableFloat||e===a.System.NullableInt||e===a.System.NullableInt16||e===a.System.NullableInt32||e===a.System.NullableInt64||e===a.System.NullableLong||e===a.System.NullableByte||e===a.System.NullableShort||e===a.System.NullableUInt||e===a.System.NullableUInt16||e===a.System.NullableUInt32||e===a.System.NullableUInt64||e===a.System.NullableULong||e===a.System.NullableSByte||e===a.System.NullableUShort)return null;return null}if(e===String){if(null==t)return null;if(t instanceof Array)return a.System.Convert.fromBase64StringText(a.System.Convert.toBase64String(t));return t.toString()}if(e===Number||e===a.System.Decimal||e===a.System.Double||e===a.System.Float||e===a.System.NullableDecimal||e===a.System.NullableDouble||e===a.System.NullableFloat||e===a.System.Int||e===a.System.Int16||e===a.System.Int32||e===a.System.Int64||e===a.System.Long||e===a.System.Byte||e===a.System.Short||e===a.System.UInt||e===a.System.UInt16||e===a.System.UInt32||e===a.System.UInt64||e===a.System.ULong||e===a.System.SByte||e===a.System.UShort||e===a.System.NullableInt||e===a.System.NullableInt16||e===a.System.NullableInt32||e===a.System.NullableInt64||e===a.System.NullableLong||e===a.System.NullableByte||e===a.System.NullableShort||e===a.System.NullableUInt||e===a.System.NullableUInt16||e===a.System.NullableUInt32||e===a.System.NullableUInt64||e===a.System.NullableULong||e===a.System.NullableSByte||e===a.System.NullableUShort){var i=null==t?"":t.toString();t=i.trim(),0==i.length&&(t="0");var i=t.stimulsoft.toNumber();if(isNaN(i))throw new Error("NaN");return i}if(e===Boolean)return null==t?void 0:t.stimulsoft.toBoolean();if(e===a.System.DateTime){if(t instanceof a.System.DateTime)return t;if("string"==typeof t){var o={ref:null};if(s.StringExt.tryParseDateTime(t,o))return o.ref;return null}}if(e===a.System.TimeSpan){if(t instanceof a.System.TimeSpan)return t;if("string"==typeof t){var o=a.System.TimeSpan.fromString(t);if(o)return o;return null}}if(e==l)try{var n=new l;return n.base64=t,n}catch(e){return t}return t}catch(e){return a.System.StiError.showError(e,!1),t}},t=r,s.StiConvert=t}(Stimulsoft=Stimulsoft||{}),function(e){var t,r,i,e;function o(){}r=t=e.Base||(e.Base={}),i=e.Base.Localization.StiLocalization,Object.defineProperty(o.prototype,"message",{get:function(){return i.get("Dashboard","CannotLoadDashboard")},enumerable:!1,configurable:!0}),e=o,r.StiDashboardNotSupportedException=e}(Stimulsoft=Stimulsoft||{}),function(e){var t,r,e;function i(){}r=t=e.Base||(e.Base={}),Object.defineProperty(i.prototype,"message",{get:function(){return"The export library was not loaded. Include stimulsoft.reports.export.js to use export."},enumerable:!1,configurable:!0}),e=i,r.StiExportNotSupportedException=e}(Stimulsoft=Stimulsoft||{}),function(u){var e,t,r,c,i;function o(){}t=e=u.Base||(u.Base={}),r=u.System.Drawing.FontFamily,c=u.System.Drawing.FontStyle,o.addOpentypeFont=function(e,t,r,i,o,n){void 0===t&&(t=null),void 0===r&&(r=null),void 0===i&&(i=null),void 0===o&&(o=c.Regular),void 0===n&&(n=!0),u.System.Drawing.Graphics.addOpentypeFont(e,t,r,i,o,n)},o.addOpentypeFontFile=function(e,t,r,i){void 0===t&&(t=null),void 0===r&&(r=c.Regular),void 0===i&&(i=!0),u.System.Drawing.Graphics.addOpentypeFontFile(e,t,r,i)},o.addOpentypeFontFileAsync=function(e,t,r,i,o){void 0===r&&(r=null),void 0===i&&(i=c.Regular),void 0===o&&(o=!0),u.System.Drawing.Graphics.addOpentypeFontFileAsync(e,t,r,i,o)},o.setOpentypeFontsFolder=function(e){var t,r;if(1==u.System.NodeJs.isNodeJs()){var i=__require__("fs"),o=__require__("path"),n=i.readdirSync(e);try{for(var a=__values(n),s=a.next();!s.done;s=a.next()){var l=s.value;try{this.addOpentypeFontFile(o.join(e,l),null,c.Regular,!1)}catch(e){}}}catch(e){t={error:e}}finally{try{s&&!s.done&&(r=a.return)&&r.call(a)}finally{if(t)throw t.error}}}},o.getFontFamilies=function(){var e;return r.families.stimulsoft.toList().orderBy(function(e){return e.name})},o.getBinFont=function(e,t){var r;if(void 0===t&&(t=c.Regular),u.System.Drawing.Graphics.opentypeFonts.containsKey(e))return u.System.Drawing.Graphics.opentypeFonts.get(e).get(t);return null},o.getBinFonts=function(){return u.System.Drawing.Graphics.opentypeFonts.keys},i=o,t.StiFontCollection=i}(Stimulsoft=Stimulsoft||{}),function(e){var t,r,i;function o(){}r=t=e.Base||(e.Base={}),o.newGuid=function(){return e.System.Guid.newGuidString()},i=o,r.StiGuidUtils=i}(Stimulsoft=Stimulsoft||{}),function(e){var t,r,e;function i(){}r=t=e.Base||(e.Base={}),i.isValidJson=function(e){if(!((e=e.trim()).stimulsoft.startsWith("{")&&e.stimulsoft.endsWith("}")||e.stimulsoft.startsWith("[")&&e.stimulsoft.endsWith("]")))return!1;try{return JSON.parse(e),!0}catch(e){return!1}},e=i,r.StiJsonChecker=e}(Stimulsoft=Stimulsoft||{}),function(e){var t,r,i,e;function o(){}r=t=e.Base||(e.Base={}),i=e.System.StiString,o.generateKey=function(){return r.StiGuidUtils.newGuid()},o.isKey=function(e){return!this.isEmptyKey(e)},o.isCorrectKey=function(e){if(this.isEmptyKey(e))return!0;if(32!=e.length)return!1;return!0},o.isEmptyKey=function(e){return i.isNullOrWhiteSpace(e)},o.isEmptyKey2=function(e,t){return this.isEmptyKey(e)&&this.isEmptyKey(t)},o.selectKey=function(e,t){return this.isEmptyKey(e)?t:e},o.isEqualKeys=function(e,t){if(this.isEmptyKey(e)&&this.isEmptyKey(t))return!0;return e=e.trim().toLowerCase(),t=t.trim().toLowerCase(),0==e.stimulsoft.compareTo(t)},o.getOrGeneratedKey=function(e){return this.isEmptyKey(e)?this.generateKey():e},o.getOrGeneratedKey2=function(e,t){return this.getOrGeneratedKey(this.selectKey(e,t))},e=o,r.StiKeyHelper=e}(Stimulsoft=Stimulsoft||{}),function(e){var t,l,o,n,e;function u(e){this.positions=new o,this.baseText=e,this.text=e,this.positionInText=0}l=t=e.Base||(e.Base={}),o=e.System.Collections.List,n=e.System.Char,Object.defineProperty(u.prototype,"text",{get:function(){return this._text},set:function(e){this._text=e,this.baseText=e.toString()},enumerable:!1,configurable:!0}),u.prototype.savePosToken=function(){this.positions.add(this.positionInText)},u.prototype.getPosition=function(e){for(var t=new l.StiPosition(1,1),r=0;r<this.positionInText;r++)t.column++,"\n"==this.text[r]&&(t.line++,t.column=1);return t},u.prototype.skip=function(){while(this.positionInText<this.text.length&&(n.isWhitespace(this.text[this.positionInText])||n.isControl(this.text[this.positionInText])))this.positionInText++},u.prototype.waitLparen2=function(){var e;return this.getToken().type==l.StiTokenType.LPar},u.prototype.waitComma2=function(){var e;return this.getToken().type==l.StiTokenType.Comma},u.prototype.waitAssign2=function(){var e;return this.getToken().type==l.StiTokenType.Assign},u.prototype.waitRparen2=function(){var e;return this.getToken().type==l.StiTokenType.RPar},u.prototype.waitLbrace2=function(){var e;return this.getToken().type==l.StiTokenType.LBrace},u.prototype.waitSemicolon2=function(){var e;return this.getToken().type==l.StiTokenType.SemiColon},u.prototype.waitRbrace2=function(){var e;return this.getToken().type==l.StiTokenType.RBrace},u.prototype.scanNumber=function(){var e=this.positionInText,t=!1;while(this.positionInText!=this.text.length&&n.isDigit(this.text[this.positionInText]))this.positionInText++;if(this.positionInText!=this.text.length&&"."==this.text[this.positionInText]&&this.positionInText+1!=this.text.length&&n.isDigit(this.text[this.positionInText+1])){this.positionInText++;while(this.positionInText!=this.text.length&&n.isDigit(this.text[this.positionInText]))this.positionInText++;t=!0}var r=this.baseText.substring(e,this.positionInText-e);if(t)return new l.StiToken(l.StiTokenType.Value,e,this.positionInText-e,r.stimulsoft.toNumber());var i=r;try{if(19<i.length)return new l.StiToken(l.StiTokenType.Value,e,this.positionInText-e,i);var o=i.stimulsoft.toNumber();return new l.StiToken(l.StiTokenType.Value,e,this.positionInText-e,o)}catch(e){throw new Error("")}},u.prototype.scanIdent=function(){var e=this.positionInText,t="";while(this.positionInText!=this.text.length&&(n.isLetterOrDigit(this.text[this.positionInText])||"_"==this.text[this.positionInText]||"№"==this.text[this.positionInText]))t+=this.text[this.positionInText++];return new l.StiToken(l.StiTokenType.Ident,e,this.positionInText-e,t)},u.prototype.scanString=function(){var e=this.positionInText;this.positionInText++;var t="";while(this.positionInText!=this.text.length&&'"'!=this.text[this.positionInText])t+=this.text[this.positionInText++];if(this.positionInText==this.text.length)return new l.StiToken(l.StiTokenType.Value,e,this.positionInText-e,t);return this.positionInText++,new l.StiToken(l.StiTokenType.Value,e,this.positionInText-e,t)},u.prototype.scanChar=function(){if(++this.positionInText==this.text.length)return new l.StiToken(l.StiTokenType.Value,this.positionInText-3,3," ");var e=this.text[this.positionInText++];if(this.positionInText==this.text.length||"'"!=this.text[this.positionInText])return new l.StiToken(l.StiTokenType.Value,this.positionInText-3,3,e);return this.positionInText++,new l.StiToken(l.StiTokenType.Value,this.positionInText-3,3,e)},u.prototype.ungetToken=function(){this.positionInText=this.positions[this.positions.length-1],this.positions.removeAt(this.positions.length-1)},u.prototype.getToken=function(){if(this.skip(),this.text.length<=this.positionInText)return new l.StiToken(l.StiTokenType.EOF,this.positionInText,0);if(n.isLetter(this.text[this.positionInText])||"_"==this.text[this.positionInText]||"№"==this.text[this.positionInText]){var e=this.positionInText;this.savePosToken();var t=this.scanIdent();switch(t.data){case"true":return new l.StiToken(l.StiTokenType.Value,e,4,!0);case"false":return new l.StiToken(l.StiTokenType.Value,e,5,!1)}return t}if(n.isDigit(this.text[this.positionInText]))return this.savePosToken(),this.scanNumber();if('"'==this.text[this.positionInText])return this.savePosToken(),this.scanString();if("'"==this.text[this.positionInText])return this.savePosToken(),this.scanChar();switch(this.text[this.positionInText]){case"€":return this.savePosToken(),this.positionInText++,new l.StiToken(l.StiTokenType.Euro,this.positionInText-1,1);case"®":return this.savePosToken(),this.positionInText++,new l.StiToken(l.StiTokenType.Copyright,this.positionInText-1,1);case"(":return this.savePosToken(),this.positionInText++,new l.StiToken(l.StiTokenType.LPar,this.positionInText-1,1);case")":return this.savePosToken(),this.positionInText++,new l.StiToken(l.StiTokenType.RPar,this.positionInText-1,1);case"{":return this.savePosToken(),this.positionInText++,new l.StiToken(l.StiTokenType.LBrace,this.positionInText-1,1);case"}":return this.savePosToken(),this.positionInText++,new l.StiToken(l.StiTokenType.RBrace,this.positionInText-1,1);case",":return this.savePosToken(),this.positionInText++,new l.StiToken(l.StiTokenType.Comma,this.positionInText-1,1);case".":return this.savePosToken(),this.positionInText++,new l.StiToken(l.StiTokenType.Dot,this.positionInText-1,1);case";":return this.savePosToken(),this.positionInText++,new l.StiToken(l.StiTokenType.SemiColon,this.positionInText-1,1);case":":return this.savePosToken(),this.positionInText++,new l.StiToken(l.StiTokenType.Colon,this.positionInText-1,1);case"!":return this.savePosToken(),this.positionInText++,new l.StiToken(l.StiTokenType.Minus,this.positionInText-1,1);case"*":return this.savePosToken(),this.positionInText++,new l.StiToken(l.StiTokenType.Mult,this.positionInText-1,1);case"^":return this.savePosToken(),this.positionInText++,new l.StiToken(l.StiTokenType.Not,this.positionInText-1,1);case"/":return this.savePosToken(),this.positionInText++,new l.StiToken(l.StiTokenType.Div,this.positionInText-1,1);case"\\":return this.savePosToken(),this.positionInText++,new l.StiToken(l.StiTokenType.Splash,this.positionInText-1,1);case"%":return this.savePosToken(),this.positionInText++,new l.StiToken(l.StiTokenType.Percent,this.positionInText-1,1);case"#":return this.savePosToken(),this.positionInText++,new l.StiToken(l.StiTokenType.Sharp,this.positionInText-1,1);case"$":return this.savePosToken(),this.positionInText++,new l.StiToken(l.StiTokenType.Dollar,this.positionInText-1,1);case"@":return this.savePosToken(),this.positionInText++,new l.StiToken(l.StiTokenType.Ampersand,this.positionInText-1,1);case"[":return this.savePosToken(),this.positionInText++,new l.StiToken(l.StiTokenType.LBracket,this.positionInText-1,1);case"]":return this.savePosToken(),this.positionInText++,new l.StiToken(l.StiTokenType.RBracket,this.positionInText-1,1);case"?":return this.savePosToken(),this.positionInText++,new l.StiToken(l.StiTokenType.Question,this.positionInText-1,1);case"|":if(this.savePosToken(),this.positionInText++,this.positionInText!=this.text.length&&"|"==this.text[this.positionInText])return this.positionInText++,new l.StiToken(l.StiTokenType.DoubleOr,this.positionInText-2,2);return new l.StiToken(l.StiTokenType.Or,this.positionInText-1,1);case"&":if(this.savePosToken(),this.positionInText++,this.positionInText!=this.text.length&&"&"==this.text[this.positionInText])return this.positionInText++,new l.StiToken(l.StiTokenType.DoubleAnd,this.positionInText-2,2);return new l.StiToken(l.StiTokenType.And,this.positionInText-1,1);case"+":if(this.savePosToken(),this.positionInText++,this.positionInText!=this.text.length&&"+"==this.text[this.positionInText])return this.positionInText++,new l.StiToken(l.StiTokenType.DoublePlus,this.positionInText-2,2);return new l.StiToken(l.StiTokenType.Plus,this.positionInText-1,1);case"-":if(this.savePosToken(),this.positionInText++,this.positionInText!=this.text.length&&"-"==this.text[this.positionInText])return this.positionInText++,new l.StiToken(l.StiTokenType.DoubleMinus,this.positionInText-2,2);return new l.StiToken(l.StiTokenType.Minus,this.positionInText-1,1);case"=":if(this.savePosToken(),this.positionInText++,this.positionInText!=this.text.length&&"="==this.text[this.positionInText])return this.positionInText++,new l.StiToken(l.StiTokenType.Equal,this.positionInText-2,2);return new l.StiToken(l.StiTokenType.Assign,this.positionInText-1,1);case"<":if(this.savePosToken(),this.positionInText++,this.positionInText!=this.text.length&&"="==this.text[this.positionInText])return this.positionInText++,new l.StiToken(l.StiTokenType.LeftEqual,this.positionInText-2,2);if(this.positionInText!=this.text.length&&"<"==this.text[this.positionInText])return this.positionInText++,new l.StiToken(l.StiTokenType.Shl,this.positionInText-2,2);return new l.StiToken(l.StiTokenType.Left,this.positionInText-1,1);case">":if(this.savePosToken(),this.positionInText++,this.positionInText!=this.text.length&&"="==this.text[this.positionInText])return this.positionInText++,new l.StiToken(l.StiTokenType.RightEqual,this.positionInText-2,2);if(this.positionInText!=this.text.length&&">"==this.text[this.positionInText])return this.positionInText++,new l.StiToken(l.StiTokenType.Shr,this.positionInText-2,2);return new l.StiToken(l.StiTokenType.Right,this.positionInText-1,1);default:return this.savePosToken(),this.positionInText++,new l.StiToken(l.StiTokenType.Unknown,this.positionInText-1,1)}},u.prototype.reset=function(){this.positions.clear(),this.positionInText=0},u.replaceWithPrefix=function(e,t,r,i){var o=e,n=new u(e),a=n.getToken();if(a.type==l.StiTokenType.EOF)return e;var s=null;do{(s=n.getToken()).type==l.StiTokenType.Ident&&a.type==l.StiTokenType.Ident&&a.data==t&&s.data==r&&(o=o.stimulsoft.replaceAll(r,i,s.index,s.length),n.positionInText+=i.length),a=s}while(s.type!=l.StiTokenType.EOF);return o},u.prototype.replaceWithPrefix=function(e,t,r){this.reset();var i=this.getToken();if(i.type==l.StiTokenType.EOF)return;var o=null;do{(o=this.getToken()).type==l.StiTokenType.Ident&&i.type==l.StiTokenType.Ident&&i.data==e&&o.data==t&&(this.text=this.text.stimulsoft.replaceAll(t,r,o.index,o.length),this.positionInText+=r.length),i=o}while(o.type!=l.StiTokenType.EOF);this.baseText=this.text},u.prototype.replaceWithNotEqualPrefix=function(e,t,r){this.reset();var i=this.getToken();if(i.type==l.StiTokenType.EOF)return;var o=null;do{(o=this.getToken()).type==l.StiTokenType.Ident&&i.type!=e&&o.data==t&&(this.text=this.text.stimulsoft.replaceAll(t,r,o.index,o.length),this.positionInText+=r.length),i=o}while(o.type!=l.StiTokenType.EOF);this.baseText=this.text},u.identExists=function(e,t,r){var i=new u(e);while(1){var o=i.getToken();if(null==o||o.type==l.StiTokenType.EOF)return!1;if(o.type==l.StiTokenType.Ident&&null!=o.data){if(r&&o.data==t)return!0;if(!r&&o.data.toLowerCase()==t.toLowerCase())return!0}}},u.getAllTokens=function(e){var t=new o,r=new u(e);while(1){var i=r.getToken();if(null==i||i.type==l.StiTokenType.EOF)return t;t.add(i)}},e=u,l.StiLexer=e}(Stimulsoft=Stimulsoft||{}),function(e){var t,r,e;function i(){}r=t=e.Base||(e.Base={}),i.MD5=function(e,t){function s(e,t){return e<<t|e>>>32-t}function l(e,t){var r,i,o,n,t,o=2147483648&e,n=2147483648&t,r=1073741824&e,i=1073741824&t,t=(1073741823&e)+(1073741823&t);if(r&i)return 2147483648^t^o^n;return r|i?1073741824&t?3221225472^t^o^n:1073741824^t^o^n:t^o^n}function u(e,t,r){return e&t|~e&r}function c(e,t,r){return e&r|t&~r}function r(e,t,r){return e^t^r}function i(e,t,r){return t^(e|~r)}function o(e,t,r,i,o,n,a){return e=l(e,l(l(u(t,r,i),o),a)),l(s(e,n),t)}function n(e,t,r,i,o,n,a){return e=l(e,l(l(c(t,r,i),o),a)),l(s(e,n),t)}function a(e,t,r,i,o,n,a){return e=l(e,l(l(t^r^i,o),a)),l(s(e,n),t)}function d(e,t,r,i,o,n,a){return e=l(e,l(l(r^(t|~i),o),a)),l(s(e,n),t)}function h(e){var t,r=e.length,i=r+8,o,i=16*((i-i%64)/64+1),n=Array(i-1),a=0,s=0;while(s<r)a=s%4*8,n[t=(s-s%4)/4]=n[t]|e.charCodeAt(s)<<a,s++;return a=s%4*8,n[t=(s-s%4)/4]=n[t]|128<<a,n[i-2]=r<<3,n[i-1]=r>>>29,n}function m(e){for(var t="",r="",i,o,o=0;o<=3;o++)t+=(r="0"+(i=e>>>8*o&255).toString(16)).substr(r.length-2,2);return t}function p(e,t,r){t[r]=255&e,t[r+1]=e>>8&255,t[r+2]=e>>16&255,t[r+3]=e>>24&255}function f(e){e=e.replace(/\r\n/g,"\n");for(var t="",r=0;r<e.length;r++){var i=e.charCodeAt(r);i<128?t+=String.fromCharCode(i):(127<i&&i<2048?t+=String.fromCharCode(i>>6|192):(t+=String.fromCharCode(i>>12|224),t+=String.fromCharCode(i>>6&63|128)),t+=String.fromCharCode(63&i|128))}return t}void 0===t&&(t=!0);var S=[],g,y,b,v,C,w,T,D,P,x=7,B=12,L=17,N=22,A=5,F=9,R=14,k=20,O=4,M=11,E=16,I=23,H=6,z=10,W=15,G=21;for(t&&(e=f(e)),S=h(e),w=1732584193,T=4023233417,D=2562383102,P=271733878,g=0;g<S.length;g+=16)w=o(y=w,b=T,v=D,C=P,S[g+0],x,3614090360),P=o(P,w,T,D,S[g+1],B,3905402710),D=o(D,P,w,T,S[g+2],L,606105819),T=o(T,D,P,w,S[g+3],N,3250441966),w=o(w,T,D,P,S[g+4],x,4118548399),P=o(P,w,T,D,S[g+5],B,1200080426),D=o(D,P,w,T,S[g+6],L,2821735955),T=o(T,D,P,w,S[g+7],N,4249261313),w=o(w,T,D,P,S[g+8],x,1770035416),P=o(P,w,T,D,S[g+9],B,2336552879),D=o(D,P,w,T,S[g+10],L,4294925233),T=o(T,D,P,w,S[g+11],N,2304563134),w=o(w,T,D,P,S[g+12],x,1804603682),P=o(P,w,T,D,S[g+13],B,4254626195),D=o(D,P,w,T,S[g+14],L,2792965006),w=n(w,T=o(T,D,P,w,S[g+15],N,1236535329),D,P,S[g+1],A,4129170786),P=n(P,w,T,D,S[g+6],F,3225465664),D=n(D,P,w,T,S[g+11],R,643717713),T=n(T,D,P,w,S[g+0],k,3921069994),w=n(w,T,D,P,S[g+5],A,3593408605),P=n(P,w,T,D,S[g+10],F,38016083),D=n(D,P,w,T,S[g+15],R,3634488961),T=n(T,D,P,w,S[g+4],k,3889429448),w=n(w,T,D,P,S[g+9],A,568446438),P=n(P,w,T,D,S[g+14],F,3275163606),D=n(D,P,w,T,S[g+3],R,4107603335),T=n(T,D,P,w,S[g+8],k,1163531501),w=n(w,T,D,P,S[g+13],A,2850285829),P=n(P,w,T,D,S[g+2],F,4243563512),D=n(D,P,w,T,S[g+7],R,1735328473),w=a(w,T=n(T,D,P,w,S[g+12],k,2368359562),D,P,S[g+5],O,4294588738),P=a(P,w,T,D,S[g+8],M,2272392833),D=a(D,P,w,T,S[g+11],E,1839030562),T=a(T,D,P,w,S[g+14],I,4259657740),w=a(w,T,D,P,S[g+1],O,2763975236),P=a(P,w,T,D,S[g+4],M,1272893353),D=a(D,P,w,T,S[g+7],E,4139469664),T=a(T,D,P,w,S[g+10],I,3200236656),w=a(w,T,D,P,S[g+13],O,681279174),P=a(P,w,T,D,S[g+0],M,3936430074),D=a(D,P,w,T,S[g+3],E,3572445317),T=a(T,D,P,w,S[g+6],I,76029189),w=a(w,T,D,P,S[g+9],O,3654602809),P=a(P,w,T,D,S[g+12],M,3873151461),D=a(D,P,w,T,S[g+15],E,530742520),w=d(w,T=a(T,D,P,w,S[g+2],I,3299628645),D,P,S[g+0],H,4096336452),P=d(P,w,T,D,S[g+7],z,1126891415),D=d(D,P,w,T,S[g+14],W,2878612391),T=d(T,D,P,w,S[g+5],G,4237533241),w=d(w,T,D,P,S[g+12],H,1700485571),P=d(P,w,T,D,S[g+3],z,2399980690),D=d(D,P,w,T,S[g+10],W,4293915773),T=d(T,D,P,w,S[g+1],G,2240044497),w=d(w,T,D,P,S[g+8],H,1873313359),P=d(P,w,T,D,S[g+15],z,4264355552),D=d(D,P,w,T,S[g+6],W,2734768916),T=d(T,D,P,w,S[g+13],G,1309151649),w=d(w,T,D,P,S[g+4],H,4149444226),P=d(P,w,T,D,S[g+11],z,3174756917),D=d(D,P,w,T,S[g+2],W,718787259),T=d(T,D,P,w,S[g+9],G,3951481745),w=l(w,y),T=l(T,b),D=l(D,v),P=l(P,C);var e=[];return p(w,e,0),p(T,e,4),p(D,e,8),p(P,e,12),e},e=i,r.StiMD5Helper=e}(Stimulsoft=Stimulsoft||{}),function(t){var e,r,i;function o(){}r=e=t.Base||(t.Base={}),o.convertToNumber=function(e){try{if(null==e)return 0;if("string"==typeof e){if(0==e.length)return 0;return e.toString().stimulsoft.toNumber()}return e.stimulsoft.toNumber()}catch(e){return t.System.StiError.showError(e,!1),0}},i=o,r.StiObjectConverter=i}(Stimulsoft=Stimulsoft||{}),function(e){var t,r,i;function o(e,t){this.line=e,this.column=t}(r=t=e.Base||(e.Base={})).StiPosition=o}(Stimulsoft=Stimulsoft||{}),function(e){var t,r,e;function i(){}r=t=e.Base||(e.Base={}),i.xx=function(e){return e},i.yy=function(e){return e},i.factor=1,e=i,r.StiScale=e}(Stimulsoft=Stimulsoft||{}),function(e){var t,r,e;function i(){}r=t=e.Base||(e.Base={}),i.get=function(e,t){var r=t;try{var i=" "+document.cookie,o=" "+e+"=",n=0,a=0;0<i.length&&-1!=(n=i.indexOf(o))&&(n+=o.length,-1==(a=i.indexOf(";",n))&&(a=i.length),r=unescape(i.substring(n,a)))}catch(e){}return r},i.set=function(e,t){try{var r=new Date;r.setTime(r.getTime()+365*24*3600*1e3),document.cookie=e+"="+escape(t)+"; expires="+r.toString()}catch(e){}},e=i,r.StiSettings=e}(Stimulsoft=Stimulsoft||{}),function(e){var t,r,e;function i(e,t,r,i){void 0===t&&(t=0),void 0===r&&(r=0),this.data=i,this.type=e,this.index=t,this.length=r}r=t=e.Base||(e.Base={}),i.prototype.toString=function(){switch(this.type){case r.StiTokenType.Value:return this.type+"="+this.data;case r.StiTokenType.Ident:return this.type+"("+this.data+")";default:return this.type.toString()}},e=i,r.StiToken=e}(Stimulsoft=Stimulsoft||{}),function(s){var e,t,o,r;function i(){}t=e=s.Base||(s.Base={}),o=s.System.Collections.Hashtable,i.getCorrectTypeName=function(e){var t;return!e.stimulsoft.startsWith("System.Nullable`1")||-1!=(t=e.indexOf(","))&&(e=e.substring(0,t).stimulsoft.replaceAll("[[","[")+"]"),"System.Drawing.Bitmap"==e&&(e="System.Drawing.Image"),e},i.getStiType=function(e){var t,r,i=this.getCorrectTypeName(e);try{for(var o=__values(s.System.TypeHelper.getTypes()),n=o.next();!n.done;n=o.next()){var a=n.value;if(a.stimulsoft.getNetTypeName()==i)return a}}catch(e){t={error:e}}finally{try{n&&!n.done&&(r=o.return)&&r.call(o)}finally{if(t)throw t.error}}return null},i.addTypeFF=function(e,t,r){if(null==e||null==t)return;var i=this.findTypes.get(e);null==i&&(i=new o,this.findTypes.set(e,i)),i.containsKey(t)||i.set(t,r)},i.getTypeFF=function(e,t){if(null==e)return null;var e=this.findTypes.get(e);if(null==e)return null;return e.get(t)},i.findType=function(e,t){if(null==e)return!1;if("object"==typeof t)return!0;var r=this.getTypeFF(e,t);if(null!=r)return r;while("object"!=typeof e){if(e==t)return this.addTypeFF(e,t,!0),!0;if(null==e.__proto__)return this.addTypeFF(e,t,!1),!1;e=e.__proto__}return this.addTypeFF(e,t,!1),!1},i.findTypes=new o,r=i,t.StiTypeFinder=r}(Stimulsoft=Stimulsoft||{}),function(t){var e,r,i;function s(e){this._type=e}r=e=t.Base||(t.Base={}),Object.defineProperty(s.prototype,"type",{get:function(){return this._type},enumerable:!1,configurable:!0}),s.prototype.toString=function(){return s.toString(this._type)},s.toString=function(e){if(null==e)return"null";if(e===Boolean)return"bool";if(e===t.System.Byte)return"byte";if(e===t.System.ByteArray)return"byte[]";if(e===t.System.Char)return"char";if(e===t.System.DateTime)return"datetime";if(e===t.System.Decimal)return"decimal";if(e===t.System.Double)return"double";if(e===t.System.Guid)return"guid";if(e===t.System.Short)return"short";if(e===t.System.Int)return"int";if(e===t.System.Long)return"long";if(e===t.System.SByte)return"sbyte";if(e===t.System.Single)return"float";if(e===String)return"string";if(e===t.System.TimeSpan)return"timespan";if(e===t.System.UShort)return"ushort";if(e===t.System.UInt)return"uint";if(e===t.System.ULong)return"ulong";if(e===t.System.Drawing.Image)return"image";if(e===t.System.NullableBoolean)return"bool (Nullable)";if(e===t.System.NullableByte)return"byte (Nullable)";if(e===t.System.NullableChar)return"char (Nullable)";if(e===t.System.NullableDateTime)return"datetime (Nullable)";if(e===t.System.NullableDecimal)return"decimal (Nullable)";if(e===t.System.NullableDouble)return"double (Nullable)";if(e===t.System.NullableGuid)return"guid (Nullable)";if(e===t.System.NullableShort)return"short (Nullable)";if(e===t.System.NullableInt)return"int (Nullable)";if(e===t.System.NullableLong)return"long (Nullable)";if(e===t.System.NullableSByte)return"sbyte (Nullable)";if(e===t.System.NullableSingle)return"float (Nullable)";if(e===t.System.NullableTimeSpan)return"timespan (Nullable)";if(e===t.System.NullableUShort)return"ushort (Nullable)";if(e===t.System.NullableUInt)return"uint (Nullable)";if(e===t.System.NullableULong)return"ulong (Nullable)";if(e===Object)return"object";return e.stimulsoft.getType().stimulsoft.getNetTypeName()},Object.defineProperty(s,"simpleTypes",{get:function(){return null==s._simpleTypes&&(s._simpleTypes.push(String),s._simpleTypes.push(t.System.Single),s._simpleTypes.push(t.System.Double),s._simpleTypes.push(t.System.Decimal),s._simpleTypes.push(t.System.DateTime),s._simpleTypes.push(t.System.TimeSpan),s._simpleTypes.push(t.System.SByte),s._simpleTypes.push(t.System.Byte),s._simpleTypes.push(t.System.ByteArray),s._simpleTypes.push(t.System.Short),s._simpleTypes.push(t.System.UShort),s._simpleTypes.push(t.System.Int),s._simpleTypes.push(t.System.UInt),s._simpleTypes.push(t.System.Long),s._simpleTypes.push(t.System.ULong),s._simpleTypes.push(Boolean),s._simpleTypes.push(t.System.Char),s._simpleTypes.push(t.System.Guid),s._simpleTypes.push(Object),s._simpleTypes.push(t.System.Drawing.Image),s._simpleTypes.push(t.System.NullableSingle),s._simpleTypes.push(t.System.NullableDouble),s._simpleTypes.push(t.System.NullableDecimal),s._simpleTypes.push(t.System.NullableDateTime),s._simpleTypes.push(t.System.NullableTimeSpan),s._simpleTypes.push(t.System.NullableSByte),s._simpleTypes.push(t.System.NullableByte),s._simpleTypes.push(t.System.NullableShort),s._simpleTypes.push(t.System.NullableUShort),s._simpleTypes.push(t.System.NullableInt),s._simpleTypes.push(t.System.NullableUInt),s._simpleTypes.push(t.System.NullableLong),s._simpleTypes.push(t.System.NullableULong),s._simpleTypes.push(t.System.NullableBoolean),s._simpleTypes.push(t.System.NullableChar),s._simpleTypes.push(t.System.NullableGuid)),s._simpleTypes},enumerable:!1,configurable:!0}),Object.defineProperty(s,"simpleBaseTypes",{get:function(){return null==s._simpleBaseTypes&&(s._simpleBaseTypes.push(String),s._simpleBaseTypes.push(t.System.Single),s._simpleBaseTypes.push(t.System.Double),s._simpleBaseTypes.push(t.System.Decimal),s._simpleBaseTypes.push(t.System.DateTime),s._simpleBaseTypes.push(t.System.TimeSpan),s._simpleBaseTypes.push(t.System.SByte),s._simpleBaseTypes.push(t.System.Byte),s._simpleBaseTypes.push(t.System.Short),s._simpleBaseTypes.push(t.System.UShort),s._simpleBaseTypes.push(t.System.Int),s._simpleBaseTypes.push(t.System.UInt),s._simpleBaseTypes.push(t.System.Long),s._simpleBaseTypes.push(t.System.ULong),s._simpleBaseTypes.push(Boolean),s._simpleBaseTypes.push(t.System.Char),s._simpleBaseTypes.push(t.System.Guid),s._simpleBaseTypes.push(Object),s._simpleBaseTypes.push(t.System.Drawing.Image)),s._simpleBaseTypes},enumerable:!1,configurable:!0}),s.getTypeWrappers=function(){var t,e,r=[],i=0;try{for(var o=__values(s.simpleTypes),n=o.next();!n.done;n=o.next()){var a=n.value;r[i++]=new s(a)}}catch(e){t={error:e}}finally{try{n&&!n.done&&(e=o.return)&&e.call(o)}finally{if(t)throw t.error}}return r},i=s,r.StiTypeWrapper=i}(Stimulsoft=Stimulsoft||{}),function(e){var t,r,n,e;function i(){}r=t=e.Base||(e.Base={}),n=e.System.StiString,i.combine=function(e){var t="";if(null!=e&&0<e.length){var r=["\\","/"];null==e[0]&&(e[0]=""),t=(t=e[0].stimulsoft.trimEnd(r[0])).stimulsoft.trimEnd(r[1]);for(var i=1;i<e.length;i++){var o="";null!=e[i]&&(o=(o=e[i].stimulsoft.trimStart(r[0])).stimulsoft.trimStart(r[1])),t=(t=t.stimulsoft.trimEnd(r[0])).stimulsoft.trimEnd(r[1]),t=n.format("{0}/{1}",t,o)}}return t},e=i,r.StiUrl=e}(Stimulsoft=Stimulsoft||{}),function(e){var t=(r.platform=function(){return navigator.appName+" * "+navigator.userAgent},r.version="2020.5.2",r.created=5==(r.creationDate="2020.11.26").length?new e["System"]["DateTime"](2017,1,1,0,0,0,0):e["System"]["DateTime"]["fromString"](r.creationDate),r.versionInfo="Version= "+"2020.5.2"+".0, Culture = neutral",r.copyright="Copyright (C) 2003-2017 Stimulsoft",r);function r(){}e.StiVersion=t}(Stimulsoft=Stimulsoft||{}),function(a){var e,t,s,o,l,r;function i(){}t=e=a.Base||(a.Base={}),s=a.System.StiNumber,o=a.System.StiString,l=a.System.DateTime,i.tryParseDateTime=function(e,t){var r=l.now;if(t.ref=r,o.isNullOrWhiteSpace(e))return!1;if(this.tryParseJsonDateTime(e,t))return!0;if(this.tryParseUsingDate(e,t))return!0;var i="en-US"==a.System.Globalization.CultureInfo.currentCulture.name?a.Base.Helpers.DateTimeFormat.USA_DATE:a.Base.Helpers.DateTimeFormat.UK_DATE;if(a.Base.Helpers.DateTimeRoutines.tryParseDateTime(e,i,t))return!0;if(null!=(r=a.System.DateTime.fromString(e,!1)))return t.ref=r,!0;return!1},i.tryParseUsingDate=function(e,t){var r=a.System.DateTime.now;t.ref=r;try{var i=new Date(e);return null!=i&&!isNaN(i.getTime())&&!isNaN(i.getDate())&&(t.ref=new l(i),!0)}catch(e){return!1}},i.tryParseJsonDateTime=function(e,t){var r=a.System.DateTime.now;t.ref=r;try{if(o.isNullOrWhiteSpace(e))return!1;if(!e.stimulsoft.replaceAll(" ","").stimulsoft.contains("Date("))return!1;if(this.tryParseJsonDateTimeInNewDate(e,t))return!0;return t.ref=l.fromNetJsonString(e),!0}catch(e){return!1}},i.tryParseJsonDateTimeInNewDate=function(e,t){var r=a.System.DateTime.now;t.ref=r;try{var i=e.stimulsoft.replaceAll(" ","").toLowerCase();if(!i.stimulsoft.startsWith("newdate(",!0))return!1;var o=i.indexOf("(")+1;if(-1==o)return!1;var n=i.indexOf(")",o);if(-1==n)return!1;i=i.substr(o,n-o);var i=s.tryParse(i);if(!i.successfully)return!1;return t.ref=new l(1970,1,1,0,0,0,0).addTicks(i.result),!0}catch(e){return!1}},r=i,t.StringExt=r}(Stimulsoft=Stimulsoft||{});;
var __read=this&&this.__read||function(t,e){var n="function"==typeof Symbol&&t[Symbol.iterator];if(!n)return t;var r=n.call(t),i,a=[],o;try{while((void 0===e||0<e--)&&!(i=r.next()).done)a.push(i.value)}catch(t){o={error:t}}finally{try{i&&!i.done&&(n=r["return"])&&n.call(r)}finally{if(o)throw o.error}}return a},__spread=this&&this.__spread||function(){for(var t=[],e=0;e<arguments.length;e++)t=t.concat(__read(arguments[e]));return t},__extends=this&&this.__extends||function(){var r=function(t,e){return(r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])})(t,e)};return function(t,e){function n(){this.constructor=t}r(t,e),t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)}}(),__values=this&&this.__values||function(t){var e="function"==typeof Symbol&&Symbol.iterator,n=e&&t[e],r=0;if(n)return n.call(t);if(t&&"number"==typeof t.length)return{next:function(){return t&&r>=t.length&&(t=void 0),{value:t&&t[r++],done:!t}}};throw new TypeError(e?"Object is not iterable.":"Symbol.iterator is not defined.")},__awaiter=this&&this.__awaiter||function(t,o,n,s){function u(e){return e instanceof n?e:new n(function(t){t(e)})}return new(n=n||Promise)(function(e,n){function r(t){try{a(s.next(t))}catch(t){n(t)}}function i(t){try{a(s["throw"](t))}catch(t){n(t)}}function a(t){t.done?e(t.value):u(t.value).then(r,i)}a((s=s.apply(t,o||[])).next())})},__generator=this&&this.__generator||function(t,n){function e(e){return function(t){return r([e,t])}}function r(e){if(a)throw new TypeError("Generator is already executing.");while(i)try{if(a=1,o&&(s=2&e[0]?o["return"]:e[0]?o["throw"]||((s=o["return"])&&s.call(o),0):o.next)&&!(s=s.call(o,e[1])).done)return s;switch(o=0,s&&(e=[2&e[0],s.value]),e[0]){case 0:case 1:s=e;break;case 4:return i.label++,{value:e[1],done:!1};case 5:i.label++,o=e[1],e=[0];continue;case 7:e=i.ops.pop(),i.trys.pop();continue;default:if(!(s=0<(s=i.trys).length&&s[s.length-1])&&(6===e[0]||2===e[0])){i=0;continue}if(3===e[0]&&(!s||e[1]>s[0]&&e[1]<s[3])){i.label=e[1];break}if(6===e[0]&&i.label<s[1]){i.label=s[1],s=e;break}if(s&&i.label<s[2]){i.label=s[2],i.ops.push(e);break}s[2]&&i.ops.pop(),i.trys.pop();continue}e=n.call(t,i)}catch(t){e=[6,t],o=0}finally{a=s=0}if(5&e[0])throw e[1];return{value:e[0]?e[1]:void 0,done:!0}}var i={label:0,sent:function(){if(1&s[0])throw s[1];return s[1]},trys:[],ops:[]},a,o,s,u,u={next:e(0),throw:e(1),return:e(2)};return"function"==typeof Symbol&&(u[Symbol.iterator]=function(){return this}),u},Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft;!function(t){var e,n,r,t;function i(){}n=e=t.Data||(t.Data={}),t=r=n.Helpers||(n.Helpers={}),i.correct=function(t){return t.date2},n=i,t.StiDateTimeCorrector=n}(Stimulsoft=Stimulsoft||{}),function(r){var t,e,n,i,a,o,s,u,l,c,h,p;function f(){}e=t=r.Data||(r.Data={}),i=n=e.Comparers||(e.Comparers={}),a=r.Data.Helpers.StiDateTimeCorrector,o=r.System.UInt64,s=r.System.UInt32,u=r.System.UInt16,l=r.System.Int64,c=r.System.Int32,h=r.System.Type,p=r.System.DateTime,f.prototype.equals=function(t,e){return 0==f.compare(t,e)},f.prototype.getHashCode=function(t){return 0},f.compare=function(t,e){if(null==t&&null==e)return 0;if(null==t)return-1;if(null==e)return 1;var n=h.getType(t);if(n==p)return f.dateTimeCompare(t,e);if(n==String)return t.toLowerCase().stimulsoft.compareTo(e);if(n==Boolean)return f.defaultCompare(t,e);if(n==Number)return t.stimulsoft.compareTo(e);if(n==c)return t.stimulsoft.compareTo(e);if(n==l)return t.stimulsoft.compareTo(e);if(n==u)return t.stimulsoft.compareTo(e);if(n==s)return t.stimulsoft.compareTo(e);if(n==o)return t.stimulsoft.compareTo(e);if(n.stimulsoft.is(r.System.Enum))return t.stimulsoft.compareTo(e);return 0},f.defaultCompare=function(t,e){return 0},f.dateTimeCompare=function(t,e){if(t instanceof p&&e instanceof p)return p.compare(a.correct(t),a.correct(e));if(t instanceof p&&!(e instanceof p))return-1;return 1},f.arrayCompare=function(t,e){if(t.length<e.length)return-1;if(t.length>e.length)return 1;return 0},f.default=new f,e=f,i.StiObjectComparer=e}(Stimulsoft=Stimulsoft||{}),function(t){var e,n,r,i,a;function o(){}n=e=t.Data||(t.Data={}),i=r=n.Comparers||(n.Comparers={}),a=t.Data.Comparers.StiObjectComparer,o.prototype.compare=function(t,e){if(null==t||null==e)return 0;if(t.length!=e.length)return-1;for(var n=0;n<t.length;n++){var r=a.compare(t[n],e[n]);if(0!=r)return r}return 0},n=o,i.StiArrayComparer=n}(Stimulsoft=Stimulsoft||{}),function(t){var e,n,r,i,a;function o(){}n=e=t.Data||(t.Data={}),i=r=n.Comparers||(n.Comparers={}),a=t.System.DateTime,o.prototype.equals=function(t,e){if(t.length==e.length){for(var n=0;n<t.length;n++)if(t[n]instanceof a){if(t[n].ticks!=e[n].ticks)return!1}else if(t[n]!=e[n])return!1;return!0}return!1},o.prototype.getHashCode=function(t){return null},n=o,i.StiArrayEqualityComparer=n}(Stimulsoft=Stimulsoft||{}),function(t){var e,n,r,t;function i(){}n=e=t.Data||(t.Data={}),t=r=n.Comparers||(n.Comparers={}),i.prototype.compare=function(t,e){if(null==t||null==e)return 0;if(t.type>e.type)return 1;if(t.type<e.type)return-1;return 0},n=i,t.StiDataActionComparer=n}(Stimulsoft=Stimulsoft||{}),function(t){var e,n,r,t;function i(){}n=e=t.Data||(t.Data={}),t=r=n.Comparers||(n.Comparers={}),i.prototype.compare=function(t,e){return null},n=i,t.StiDataRowComparer=n}(Stimulsoft=Stimulsoft||{}),function(t){var e,n,r,t,i,a,o,s,u,l,c,h,p,f;n=e=t.Data||(t.Data={}),t=r=n.Engine||(n.Engine={}),(n=i=t.StiDataJoinType||(t.StiDataJoinType={}))[n["Inner"]=1]="Inner",n[n["Left"]=2]="Left",n[n["Right"]=3]="Right",n[n["Cross"]=4]="Cross",n[n["Full"]=5]="Full",(n=a=t.StiDataSortDirection||(t.StiDataSortDirection={}))[n["Ascending"]=1]="Ascending",n[n["Descending"]=2]="Descending",n[n["None"]=3]="None",(n=o=t.StiDataFilterCondition||(t.StiDataFilterCondition={}))[n["EqualTo"]=0]="EqualTo",n[n["NotEqualTo"]=1]="NotEqualTo",n[n["GreaterThan"]=2]="GreaterThan",n[n["GreaterThanOrEqualTo"]=3]="GreaterThanOrEqualTo",n[n["LessThan"]=4]="LessThan",n[n["LessThanOrEqualTo"]=5]="LessThanOrEqualTo",n[n["Between"]=6]="Between",n[n["NotBetween"]=7]="NotBetween",n[n["Containing"]=8]="Containing",n[n["NotContaining"]=9]="NotContaining",n[n["BeginningWith"]=10]="BeginningWith",n[n["EndingWith"]=11]="EndingWith",n[n["IsNull"]=12]="IsNull",n[n["IsNotNull"]=13]="IsNotNull",n[n["IsBlank"]=14]="IsBlank",n[n["IsNotBlank"]=15]="IsNotBlank",n[n["IsBlankOrNull"]=16]="IsBlankOrNull",n[n["IsFalse"]=17]="IsFalse",n[n["PairEqualTo"]=18]="PairEqualTo",n[n["MapEqualTo"]=19]="MapEqualTo",(n=s=t.StiDataFilterOperation||(t.StiDataFilterOperation={}))[n["AND"]=0]="AND",n[n["OR"]=1]="OR",(n=u=t.StiDataActionType||(t.StiDataActionType={}))[n["Limit"]=0]="Limit",n[n["Replace"]=1]="Replace",n[n["RunningTotal"]=2]="RunningTotal",n[n["Percentage"]=3]="Percentage",(n=l=t.StiDataFilterConditionGroupType||(t.StiDataFilterConditionGroupType={}))[n["Equal"]=0]="Equal",n[n["NotEqual"]=1]="NotEqual",n[n["Custom"]=2]="Custom",n[n["Empty"]=3]="Empty",(n=c=t.StiDataRequestOption||(t.StiDataRequestOption={}))[n["None"]=0]="None",n[n["AllowOpenConnections"]=1]="AllowOpenConnections",n[n["AllowDataSort"]=2]="AllowDataSort",n[n["DisallowTransform"]=4]="DisallowTransform",n[n["All"]=3]="All",(n=h=t.StiDataTopNMode||(t.StiDataTopNMode={}))[n["None"]=0]="None",n[n["Top"]=1]="Top",n[n["Bottom"]=2]="Bottom",(n=p=t.StiDataFormatKind||(t.StiDataFormatKind={}))[n["General"]=0]="General",n[n["Boolean"]=1]="Boolean",n[n["Currency"]=2]="Currency",n[n["Date"]=3]="Date",n[n["Number"]=4]="Number",n[n["Percentage"]=5]="Percentage",n[n["Time"]=6]="Time",(t=f=t.StiDataJoinEngine||(t.StiDataJoinEngine={}))[t["V1"]=0]="V1",t[t["V2"]=1]="V2",t[t["V3"]=2]="V3",t[t["V4"]=3]="V4"}(Stimulsoft=Stimulsoft||{}),function(t){var e,n,r;n=e=t.Data||(t.Data={}),(n=r=n.Engine||(n.Engine={})).IStiAllowSortByVariation=new t.System.Interface("IStiAllowSortByVariation"),n.ImplementsIStiAllowSortByVariation=[]}(Stimulsoft=Stimulsoft||{}),function(t){var e,n,r;n=e=t.Data||(t.Data={}),(n=r=n.Engine||(n.Engine={})).IStiCrossFiltering=new t.System.Interface("IStiCrossFiltering"),n.ImplementsIStiCrossFiltering=[]}(Stimulsoft=Stimulsoft||{}),function(t){var e,n,r;n=e=t.Data||(t.Data={}),(n=r=n.Engine||(n.Engine={})).IStiDataFilters=new t.System.Interface("IStiDataFilters"),n.ImplementsIStiDataFilters=[]}(Stimulsoft=Stimulsoft||{}),function(t){var e,n,r,i;n=e=t.Data||(t.Data={}),(i=r=n.Engine||(n.Engine={})).IStiDataFormat=new t.System.Interface("IStiDataFormat")}(Stimulsoft=Stimulsoft||{}),function(t){var e,n,r;n=e=t.Data||(t.Data={}),(n=r=n.Engine||(n.Engine={})).IStiDataTopN=new t.System.Interface("IStiDataTopN"),n.ImplementsIStiDataTopN=[]}(Stimulsoft=Stimulsoft||{}),function(t){var e,n,r;n=e=t.Data||(t.Data={}),(n=r=n.Engine||(n.Engine={})).IStiDataTransformationElement=new t.System.Interface("IStiDataTransformationElement"),n.ImplementsIStiDataTransformationElement=[]}(Stimulsoft=Stimulsoft||{}),function(t){var e,n,r;n=e=t.Data||(t.Data={}),(n=r=n.Engine||(n.Engine={})).IStiDrillDownElement=new t.System.Interface("IStiDrillDownElement"),n.ImplementsIStiDrillDownElement=[]}(Stimulsoft=Stimulsoft||{}),function(t){var e,n,r;n=e=t.Data||(t.Data={}),(n=r=n.Engine||(n.Engine={})).IStiRetrieval=new t.System.Interface("IStiRetrieval"),n.ImplementsIStiRetrieval=[]}(Stimulsoft=Stimulsoft||{}),function(t){var e,n,r,i,a;n=e=t.Data||(t.Data={}),i=r=n.Engine||(n.Engine={}),a=t.Data.Engine.IStiRetrieval,n=t.Data.Engine.ImplementsIStiRetrieval,i.IStiQueryObject=new t.System.Interface("IStiQueryObject"),i.ImplementsIStiQueryObject=__spread([a],n)}(Stimulsoft=Stimulsoft||{}),function(t){var e,n,r,i;n=e=t.Data||(t.Data={}),(i=r=n.Engine||(n.Engine={})).IStiSkipNormalizeDate=new t.System.Interface("IStiSkipNormalizeDate")}(Stimulsoft=Stimulsoft||{}),function(t){var e,n,r;n=e=t.Data||(t.Data={}),(n=r=n.Engine||(n.Engine={})).IStiTransformActions=new t.System.Interface("IStiTransformActions"),n.ImplementsIStiTransformActions=[]}(Stimulsoft=Stimulsoft||{}),function(t){var e,n,r;n=e=t.Data||(t.Data={}),(n=r=n.Engine||(n.Engine={})).IStiTransformFilters=new t.System.Interface("IStiTransformFilters"),n.ImplementsIStiTransformFilters=[]}(Stimulsoft=Stimulsoft||{}),function(t){var e,n,r;n=e=t.Data||(t.Data={}),(n=r=n.Engine||(n.Engine={})).IStiTransformSorts=new t.System.Interface("IStiTransformSorts"),n.ImplementsIStiTransformSorts=[]}(Stimulsoft=Stimulsoft||{}),function(t){var e,n,r;n=e=t.Data||(t.Data={}),(n=r=n.Engine||(n.Engine={})).IStiUserFilters=new t.System.Interface("IStiUserFilters"),n.ImplementsIStiUserFilters=[]}(Stimulsoft=Stimulsoft||{}),function(t){var e,n,r;n=e=t.Data||(t.Data={}),(n=r=n.Engine||(n.Engine={})).IStiUserSorts=new t.System.Interface("IStiUserSorts"),n.ImplementsIStiUserSorts=[]}(Stimulsoft=Stimulsoft||{}),function(t){var e,t,n,r,i,a,o;function s(){}t=e=t.Data||(t.Data={}),t=n=t.Expressions||(t.Expressions={}),t=r=t.NCalc||(t.NCalc={}),(a=i=t.Domain||(t.Domain={})).LogicalExpressionVisitor=s}(Stimulsoft=Stimulsoft||{}),function(r){var t,e,n,i,l,a,c,h,p,o,s,u;function f(){var t=null!==u&&u.apply(this,arguments)||this;return t.parameters=new o,t}function m(){}e=t=r.Data||(r.Data={}),i=n=e.Helpers||(e.Helpers={}),l=r.System.StiString,a=r.Data.Expressions.NCalc.Domain.LogicalExpressionVisitor,e=r.System.Collections.Dictionary,c=r.System.Collections.List,h=r.Base.StiLexer,p=r.Base.StiTokenType,o=r.System.Collections.Hashtable,__extends(f,u=a),f.prototype.visit7=function(t){this.parameters.add(t.name,t.name)},f.prototype.visit4=function(t){},f.prototype.visit3=function(t){t.leftExpression.accept(this),t.rightExpression.accept(this)},f.prototype.visit2=function(t){t.leftExpression.accept(this),t.rightExpression.accept(this),t.middleExpression.accept(this)},f.prototype.visit6=function(t){var e,n;try{for(var r=__values(t.expressions),i=r.next(),a;!i.done;i=r.next()){i.value.accept(this)}}catch(t){e={error:t}}finally{try{i&&!i.done&&(n=r.return)&&n.call(r)}finally{if(e)throw e.error}}},f.prototype.visit1=function(t){t.accept(this)},f.prototype.visit5=function(t){},s=f,m.newExpression=function(t){return r.Data.Expressions.NCalc.Expression.create1(m.prepareExpression(t),r.Data.Expressions.NCalc.EvaluateOptions.IgnoreCase)},m.prepareExpression=function(t){return t=l.isNullOrWhiteSpace(t)?t:t.stimulsoft.replaceAll('"',"'"),m.escapeExpression(t)},m.escapeExpression=function(t){if(l.isNullOrWhiteSpace(t)||t.stimulsoft.contains("[")&&t.stimulsoft.contains("]"))return t;try{var e=new c,n=new h(t);while(1){var r=n.getToken();if(null==r||r.type==p.EOF)break;e.add(r)}for(var i=t,a=0,o=0;o<e.length-2;o++)if(e[o].type==p.Ident&&e[o+1].type==p.Dot&&e[o+2].type==p.Ident){if(0!=o&&o+3<e.length&&(e[o-1].type==p.LBracket||e[o+3].type==p.RBracket))continue;var s=e[o].index,u=e[o+2].index+e[o+2].length,i=i.stimulsoft.insert(s+a,"[",0);a++,i=i.stimulsoft.insert(u+a,"]",0),a++,o++}return i}catch(t){}return t},m.replaceFunction=function(t,e){var n=m.getFunction(t);return null!=n?t=t.substring(n.length):((t=t.trim()).stimulsoft.startsWith("(")||(t="("+t),t.stimulsoft.endsWith(")")||(t+=")")),""+e+t},m.removeFunction=function(t){if(null==t)return t;var e=m.getFunction(t);return null!=e&&(t=t.substring(e.length)),(t=t.trim()).stimulsoft.startsWith("(")&&(t=t.substring(1)),t.stimulsoft.endsWith(")")&&(t=t.substring(0,t.length-1)),t},m.isAggregationFunctionPresent=function(t){var t=this.getFunction(t);if(l.isNullOrWhiteSpace(t))return!1;return r.Data.Functions.Funcs.isAggregationFunction(t)},m.isFunctionPresent=function(t){var t=m.getFunction(t);return!l.isNullOrWhiteSpace(t)},m.getFunction=function(t){if(l.isNullOrWhiteSpace(t))return null;try{var e,n=r.Data.Expressions.NCalc.Expression.compile(this.prepareExpression(t),!0).stimulsoft.as(r.Data.Expressions.NCalc.Domain.Functionn);if(null!=n){var n=n.identifier.name;return null!=n&&t.trim().stimulsoft.startsWith(n)?n:null}return null}catch(t){return null}},m.getArguments=function(t){if(l.isNullOrWhiteSpace(t))return new c;try{if(m.expressionToArguments.contains(t))return m.expressionToArguments.get(t);var e=r.Data.Expressions.NCalc.Expression.compile(this.prepareExpression(t),!0),n=new s;e.accept(n);var n=n.parameters.values.toList();return m.expressionToArguments.set(t,n),n}catch(t){}return new c},m.compile=function(t){return r.Data.Expressions.NCalc.Expression.compile(this.prepareExpression(t),!0)},m.getFirstArgumentFromExpression=function(t){t=m.removeFunction(t);var t=m.getArguments(t);if(null==t)return null;var t=t.firstOrDefault();if(l.isNullOrWhiteSpace(t))return null;return t},m.parseReportExpression=function(t,e,n){if(null!=t&&!l.isNullOrEmpty(e))return n||e.stimulsoft.contains("{")||e.stimulsoft.contains("}")||(e="{"+e+"}"),t.fetchPages().firstOrDefault().parseExpression(e);return e},m.fetchBlocksFromExpression=function(t){if(l.isNullOrWhiteSpace(t))return null;var e=new c,n=0;while(n<t.length){while(n<t.length&&"{"!=t[n])n++;if(n<t.length&&"{"==t[n]){var r=++n;while(n<t.length){if('"'==t[n]){var i=++n;while(i<t.length){if('"'==t[i])break;"\\"==t[i]&&i++,i++}n=i+1;continue}if("}"==t[n]){var a=t.substr(r,n-r);l.isNullOrWhiteSpace(a)||e.add(a.trim()),n++;break}n++}}}return e},m.replaceExpressionBlocksByValues=function(t,e){if(l.isNullOrWhiteSpace(t))return null;var n="",r=0,i=0;while(i<t.length){var a=i;while(i<t.length&&"{"!=t[i])i++;i!=a&&(n+=t.substr(a,i-a));var o=!1;if(i<t.length&&"{"==t[i]){a=++i;while(i<t.length){if('"'==t[i]){var s=++i;while(s<t.length){if('"'==t[s])break;"\\"==t[s]&&s++,s++}i=s+1;continue}if("}"==t[i]){var u=t.substr(a,i-a);l.isNullOrWhiteSpace(u)||(n+=e[r++]),o=!0,i++;break}i++}o||(n+=t.substr(a-1))}}return n},m.expressionToArguments=new e,e=m,i.StiExpressionHelper=e}(Stimulsoft=Stimulsoft||{}),function(t){var e,n,r,i,a,o;function s(){}n=e=t.Data||(t.Data={}),i=r=n.Extensions||(n.Extensions={}),a=t.System.StiString,o=t.Data.Helpers.StiExpressionHelper,n=t.System.Data.DataTable,s.getUniqueName=function(t,e){if(!t.columns.contains(e.label))return e.label;var n=o.getFunction(e.expression);if(!a.isNullOrWhiteSpace(n)){var n=e.label+"-"+n;if(!t.columns.contains(n))return n}return this.getUniqueName3(t,e.label)},s.getUniqueName2=function(t,e,n){if(!t.columns.contains(n))return n;var r=o.getFunction(e.expression);if(!a.isNullOrWhiteSpace(r)){var r=n+"-"+r;if(!t.columns.contains(r))return r}return this.getUniqueName3(t,e.label)},s.getUniqueName3=function(t,e){if(null==e)return null;var n=e,r=2;while(t.columns.contains(n))n=e+(r++).toString();return n},s.parentRelationList=function(t){return t.parentRelations.toList().cast()},s.childRelationList=function(t){return t.childRelations.toList().cast()},s.nullTable=new n,n=s,i.DataTableExt=n}(Stimulsoft=Stimulsoft||{}),function(t){var e,t,n,r;function i(){}t=e=t.Data||(t.Data={}),r=n=t.Extensions||(t.Extensions={}),i.toNetTable=function(t,e){return void 0===e&&(e=!1),r.ListTableExt.toNetTable(t.rows,t.meters,e)},t=i,r.StiDataTableExt=t}(Stimulsoft=Stimulsoft||{}),function(t){var e,n,r,u,o,a,l;function i(){}n=e=t.Data||(t.Data={}),u=r=n.Engine||(n.Engine={}),n=t.System.Collections.Dictionary,o=t.Data.Extensions.DataTableExt,a=t.Base.StiKeyHelper,l=t.Data.Extensions.StiDataTableExt,i.apply=function(t,e,n,r){if(null==e)return t;if(!(e=e.where(function(t){return!t.afterGroupingData})).any())return t;var i=this.getFromCache(t,n,r),a;if(i==o.nullTable)return null;return null==i&&(i=t.copy(),a=t.toList().cast().select(function(t){return t.columnName}).toList(),u.StiDataActionRuleHelper.applyActions(i,e.toList(),null,a,n),this.addToCache(t,n,r,i)),i},i.applyAfterGrouping=function(t,e,n,r){if(null==e)return t;if(!(e=e.where(function(t){return t.afterGroupingData})).any())return t;var i=this.getFromCache2(t,n,r),a,o,s,a,i;return null==i&&(a=l.toNetTable(t),o=t.meters.select(function(t){return t.key}),s=a.toList().cast().select(function(t){return t.columnName}),u.StiDataActionRuleHelper.applyActions(a,e.toList(),o,s,n),a=a.rows.toList().select(function(t){return t.itemArray}),i=new u.StiDataTable(t.meters,a),this.addToCache2(t,n,r,i)),i},i.cleanCache=function(e){var n=this;null==e?(this.netCache.clear(),this.meterCache.clear()):(this.netCache.keys.where(function(t){return t.stimulsoft.startsWith(e)}).toList().forEach(function(t){return n.netCache.remove(t)}),this.meterCache.keys.where(function(t){return t.stimulsoft.startsWith(e)}).toList().forEach(function(t){return n.meterCache.remove(t)}))},i.getCacheKey=function(t,e,n){var r,i;return e&&e.setKey(a.getOrGeneratedKey(e.getKey())),(e&&e.getKey()||"")+"."+(t.columns.toList().cast().select(function(t){return t.stimulsoft.getHashCode()}).aggregate2(0,function(t,e){return t+e})+n)},i.getCacheKey2=function(t,e,n){var r,i;return e&&e.setKey(a.getOrGeneratedKey(e.getKey())),(e&&e.getKey()||"")+"."+(t.meters.select(function(t){return t.stimulsoft.getHashCode()}).aggregate2(0,function(t,e){return t+e})+n)},i.getFromCache=function(t,e,n){var n=this.getCacheKey(t,e,n);return this.netCache.contains(n)?this.netCache.get(n):null},i.getFromCache2=function(t,e,n){var n=this.getCacheKey2(t,e,n);return this.meterCache.contains(n)?this.meterCache.get(n):null},i.addToCache=function(t,e,n,r){null==r&&(r=o.nullTable);var n=this.getCacheKey(t,e,n);this.netCache.set(n,r)},i.addToCache2=function(t,e,n,r){null==r&&(r=u.StiDataTable.nullTable);var n=this.getCacheKey2(t,e,n);this.meterCache.set(n,r)},i.lockObject={},i.netCache=new n,i.meterCache=new n,n=i,u.StiDataActionOperator=n}(Stimulsoft=Stimulsoft||{}),function(t){var e,n,r,t;function i(){}n=e=t.Data||(t.Data={}),t=r=n.Engine||(n.Engine={}),i.prototype.clone=function(){return this.stimulsoft.memberwiseClone()},n=i,t.StiDataRule=n}(Stimulsoft=Stimulsoft||{}),function(t){var e,n,r,o,i,s,p;function u(t,e,n,r,i,a,o,s,u,l,c){void 0===r&&(r=0),void 0===i&&(i=-1),void 0===a&&(a=!0),void 0===u&&(u=!1),void 0===l&&(l=!1);var h=p.call(this)||this;return h.rowsCount=-1,null!=t&&(h.key=t),null!=e&&(h.path=e),null!=n&&(h.type=n),null!=r&&(h.startIndex=r),null!=i&&(h.rowsCount=i),null!=o&&(h.valueFrom=o),null!=s&&(h.valueTo=s),null!=u&&(h.matchCase=u),null!=l&&(h.matchWholeWord=l),null!=c&&(h.initialValue=c),null!=a&&(h.afterGroupingData=a),h}n=e=t.Data||(t.Data={}),o=r=n.Engine||(n.Engine={}),i=t.Base.StiJson,s=t.System.Enum,p=o.StiDataRule,__extends(u,p),u.prototype.saveToJsonObject=function(t){var e=new i;return e.addPropertyEnum("Type",o.StiDataActionType,this.type),e.addPropertyStringNullOrEmpty("Key",this.key),e.addPropertyStringNullOrEmpty("Path",this.path),e.addPropertyNumber("StartIndex",this.startIndex),e.addPropertyNumber("RowsCount",this.rowsCount,-1),e.addPropertyStringNullOrEmpty("InitialValue",this.initialValue),e.addPropertyStringNullOrEmpty("ValueFrom",this.valueFrom),e.addPropertyStringNullOrEmpty("ValueTo",this.valueTo),e.addPropertyBool("MatchCase",this.matchCase),e.addPropertyBool("MatchWholeWord",this.matchWholeWord),e.addPropertyBool("AfterGroupingData",this.afterGroupingData),e},u.prototype.loadFromJsonObject=function(t){var e,n;try{for(var r=__values(t.properties()),i=r.next();!i.done;i=r.next()){var a=i.value;switch(a.name){case"Type":this.type=s.parse(o.StiDataActionType,a.value);break;case"Key":this.key=a.value;break;case"Path":this.path=a.value;break;case"StartIndex":this.startIndex=a.value.stimulsoft.toNumber();break;case"RowsCount":this.rowsCount=null!=a.value?a.value.stimulsoft.toNumber():-1;break;case"InitialValue":this.initialValue=a.value;break;case"ValueFrom":this.valueFrom=a.value;break;case"ValueTo":this.valueTo=a.value;break;case"MatchCase":this.matchCase=a.value.stimulsoft.toBoolean();break;case"MatchWholeWord":this.matchWholeWord=a.value.stimulsoft.toBoolean();break;case"AfterGroupingData":this.afterGroupingData=a.value.stimulsoft.toBoolean();break}}}catch(t){e={error:t}}finally{try{i&&!i.done&&(n=r.return)&&n.call(r)}finally{if(e)throw e.error}}},u.prototype.loadFromXml=function(t,e){for(var n=0;n<t.childNodes.length;n++){var r=t.childNodes[n];switch(r.nodeName){case"Type":this.type=s.parse(o.StiDataActionType,r.textContent);break;case"Key":this.key=r.textContent;break;case"Path":this.path=r.textContent;break;case"StartIndex":this.startIndex=r.textContent.stimulsoft.toNumber();break;case"RowsCount":this.rowsCount=r.textContent.stimulsoft.toNumber();break;case"InitialValue":this.initialValue=r.textContent;break;case"ValueFrom":this.valueFrom=r.textContent;break;case"ValueTo":this.valueTo=r.textContent;break;case"MatchCase":this.matchCase=r.textContent.stimulsoft.toBoolean();break;case"MatchWholeWord":this.matchWholeWord=r.textContent.stimulsoft.toBoolean();break;case"AfterGroupingData":this.afterGroupingData=r.textContent.stimulsoft.toBoolean();break}}},u.loadFromJson=function(t){var e=new u;return e.loadFromJsonObject(t),e},u.loadFromXml=function(t){var e=new u;return e.loadFromXml(t,!1),e},u.prototype.getUniqueCode=function(){var t=this.type,t;return t=397*(t=397*(t=397*(t=397*(t=397*(t=397*(t=397*(t=397*(t=397*(t=397*t^(null!=this.key?this.key.stimulsoft.getHashCode():0))^(null!=this.path?this.path.stimulsoft.getHashCode():0))^this.startIndex)^this.rowsCount)^(null!=this.initialValue?this.initialValue.stimulsoft.getHashCode():0))^(null!=this.valueFrom?this.valueFrom.stimulsoft.getHashCode():0))^(null!=this.valueTo?this.valueTo.stimulsoft.getHashCode():0))^this.matchCase.stimulsoft.getHashCode())^this.matchWholeWord.stimulsoft.getHashCode())^this.afterGroupingData.stimulsoft.getHashCode(),Math.abs(t)},u.create1=function(t,e){return new u(t,e,o.StiDataActionType.Percentage,0,-1,!0,null,null,!1,!1,null)},u.create2=function(t,e,n,r,i){return new u(t,e,o.StiDataActionType.Limit,n,r,i,null,null,!1,!1,null)},u.create3=function(t,e,n,r,i,a){return new u(t,e,o.StiDataActionType.Replace,0,-1,!1,n,r,i,a,null)},u.create4=function(t,e,n){return new u(t,e,o.StiDataActionType.RunningTotal,0,-1,!0,null,null,!1,!1,n)},n=u,o.StiDataActionRule=n}(Stimulsoft=Stimulsoft||{}),function(r){var t,e,n,h,u,a,i,l,c,p;function o(){}e=t=r.Data||(r.Data={}),h=n=e.Engine||(e.Engine={}),u=r.System.StiString,a=r.System.StiNumber,i=r.Base.StiKeyHelper,l=r.Base.Helpers.StiValueHelper,c=r.Data.Helpers.StiExpressionHelper,p=r.Data.Comparers.StiDataActionComparer,o.toList=function(){for(var t=[],e=0;e<arguments.length;e++)t[e]=arguments[e];return t.stimulsoft.toList()},o.validate=function(t,e){return t.where(function(t){return i.isKey(t.key)&&e.contains(t.key)}).toList()},o.getColumnIndex=function(t,e,n){var r=-1;return null==n||u.isNullOrEmpty(t.path)||(r=n.indexOf(t.path)),-1!=r||null==e||u.isNullOrEmpty(t.key)||(r=e.indexOf(t.key)),r},o.applyActions=function(t,e,n,r,i){var a,o;e.stimulsoft.sort2(new p);try{for(var s=__values(e),u=s.next();!u.done;u=s.next()){var l=u.value,c=this.getColumnIndex(l,n,r);switch(l.type){case h.StiDataActionType.Limit:this.applyLimitAction(t,l.startIndex,l.rowsCount);break;case h.StiDataActionType.Replace:this.applyReplaceAction(t,c,l.valueFrom,l.valueTo,l.matchCase,l.matchWholeWord,i);break;case h.StiDataActionType.RunningTotal:this.applyRunningTotalAction(t,c,l.initialValue,i);break;case h.StiDataActionType.Percentage:this.applyPercentageAction(t,c);break}}}catch(t){a={error:t}}finally{try{u&&!u.done&&(o=s.return)&&o.call(s)}finally{if(a)throw a.error}}},o.applyLimitAction=function(e,t,n){n<0&&(n=e.rows.length);var n=e.rows.toList().skip(t).take(Math.max(0,n));e.rows.toList().except(n).forEach(function(t){return e.rows.remove(t)})},o.applyReplaceAction=function(t,r,i,a,o,s,e){if(-1==r)return;i=c.parseReportExpression(e,i,!0),a=c.parseReportExpression(e,a,!0),t.rows.toList().forEach(function(t){var e=l.tryToString(t.gett(r));if(u.isNullOrEmpty(e))return;var n=new RegExp(s?"\b"+i+"\b":i,o?"":"i");t.sett(r,e.replace(n,a))})},o.applyRunningTotalAction=function(t,e,n,r){if(-1==e)return;n=c.parseReportExpression(r,n,!0);var i=a.tryParse(n.stimulsoft.replaceAll(",",".")).result;t.rows.toList().forEach(function(t){return t.sett(e,i+=l.tryToNumber(t.gett(e)))})},o.applyPercentageAction=function(t,e){if(-1==e)return;var n=r.Data.Functions.Funcs.sum(t.rows.toList().select(function(t){return t.gett(e)}));t.rows.toList().forEach(function(t){return t.sett(e,Math.round2(l.tryToNumber(t.gett(e))/n*100,2))})},e=o,h.StiDataActionRuleHelper=e}(Stimulsoft=Stimulsoft||{}),function(t){var e,n,r,S,i;function a(){}n=e=t.Data||(t.Data={}),S=r=n.Engine||(n.Engine={}),i=t.System.Collections.List,a.analyze=function(o,s,u,l,c,h,p,f,m,d,y,g){return void 0===l&&(l=S.StiDataRequestOption.All),void 0===c&&(c=null),void 0===h&&(h=null),void 0===p&&(p=null),void 0===f&&(f=null),void 0===m&&(m=null),void 0===d&&(d=null),void 0===y&&(y=null),void 0===g&&(g=null),__awaiter(this,void 0,void 0,function(){var e,n,r,i,a,i,a,i,a;return __generator(this,function(t){switch(t.label){case 0:if(null==u||!u.any())return[2,S.StiDataTable.nullTable];return e=o.getDictionary(),n=e.getApp(),r=0,i=this.unionNames(null,null!=h?h.select(function(t){return t.path}):null),i=this.unionNames(i,null!=p?p.select(function(t){return t.path}):null),i=this.unionNames(i,null!=f?f.select(function(t){return t.path}):null),i=this.unionNames(i,null!=d?d.select(function(t){return t.path}):null),i=this.unionNames(i,null!=y?y.select(function(t){return t.path}):null),i=this.unionNames(i,null!=g?g.select(function(t){return t.path}):null),a=S.StiDataLinkHelper.getLinks(e),[4,S.StiDataPicker.fetch(o,s,l,i,a)];case 1:if(null==(i=t.sent())||!i.any())return[2,S.StiDataCreator.create(e,u)];if(null==(a=S.StiDataJoiner.join(i,S.StiDataLinkHelper.getLinks(e),u,n)))return[2,S.StiDataTable.nullTable];if(i=this.unionFilters(p,h,g),r=null!=s?s.stimulsoft.getHashCode():0,r=this.getUniqueCode(n,i,r),null==(a=S.StiDataFiltrator.filter(a,i,n,r)))return[2,S.StiDataTable.nullTable];if(r=this.getUniqueCode(n,f&&f.where(function(t){return!t.afterGroupingData}),r),null==(a=S.StiDataActionOperator.apply(a,f,n,r)))return[2,S.StiDataTable.nullTable];if(r=this.getUniqueCode2(u,r),null==(a=S.StiDataGrouper.group(e,a,u)))return[2,S.StiDataTable.nullTable];if(r=this.getUniqueCode(n,f&&f.where(function(t){return t.afterGroupingData}),r),null==(a=S.StiDataActionOperator.applyAfterGrouping(a,f,n,r)))return[2,S.StiDataTable.nullTable];if(r=this.getUniqueCode(n,d,r),null==(a=S.StiDataFiltrator.filter2(a,d,n,r)))return[2,S.StiDataTable.nullTable];if(r=this.getUniqueCode(n,y,r),null==(a=S.StiDataActionOperator.applyAfterGrouping(a,y,n,r)))return[2,S.StiDataTable.nullTable];if(r=this.getUniqueCode(n,m,r),null==(a=S.StiDataSorter.sort(a,m,n,r)))return[2,S.StiDataTable.nullTable];if(r=this.getUniqueCode(n,c,r),null==(a=S.StiDataSorter.sort(a,c,n,r)))return[2,S.StiDataTable.nullTable];return[2,a]}})})},a.unionFilters=function(t,e,n){if(null==t&&null==e&&null==n)return null;var r=new i;return null!=t&&(r=r.union(t)),null!=e&&(r=r.union(e)),null!=n&&(r=r.union(n)),r},a.unionNames=function(t,e){if(null==t&&null==e)return null;if(null!=t&&null!=e)return t.union(e);return null!=t?t:e},a.getUniqueCode=function(t,e,n){if(void 0===n&&(n=null),null==e||!e.any())return null!=n?n:0;var r=e.select(function(t){return t.getUniqueCode()}).aggregate2(0,function(t,e){return t+e}),i;return e.all(function(t){return t.stimulsoft.is(S.StiDataFilterRule)})&&(r+=S.StiDataFilterRuleHelper.getFilterRulesHash(t,e.cast())),null==n?r:r+n},a.getUniqueCode2=function(t,e){if(void 0===e&&(e=null),null==t||!t.any())return null!=e?e:0;var t=t.select(function(t){return t.getUniqueCode()}).aggregate2(0,function(t,e){return t+e});return null==e?t:t+e},n=a,S.StiDataAnalyzer=n}(Stimulsoft=Stimulsoft||{}),function(t){var e,n,r,i,a;function o(){}n=e=t.Data||(t.Data={}),i=r=n.Engine||(n.Engine={}),a=t.System.StiString,o.isGoodColumnName=function(t){return!a.isNullOrEmpty(t)&&0==t.indexOf("[")&&t.indexOf("]")==t.length-1},o.getGoodColumnName=function(t){return this.isGoodColumnName(t)?t:"["+t+"]"},o.keywords=["and","between","child","false","in","is","like","not","null","or","parent","true"],n=o,i.StiDataColumnRuleHelper=n}(Stimulsoft=Stimulsoft||{}),function(t){var e,n,r,i,a;function o(){}n=e=t.Data||(t.Data={}),i=r=n.Engine||(n.Engine={}),n=t.System.Collections.Hashtable,a=t.System.Collections.List,o.isConnectionActive=function(t){if(null==t)return!1;return o.connections.containsKey(t)},o.registerConnection=function(t,e){if(null==t)return;var n;e=null!=e?e:new a,o.connections.containsKey(t)?null!=(n=o.connections.get(t))?n.addRange(e):o.connections.set(t,e):o.connections.add(t,e)},o.unRegisterConnections=function(t){return o.connections.values.where(function(t){return null!=t}).selectMany(o.unRegisterConnection).toList()},o.unRegisterConnection=function(t){if(null==t||!o.connections.containsKey(t))return new a;var e=o.connections.get(t);return o.connections.remove(t),null!=e?e:new a},o.connections=new n,n=o,i.StiDataConnections=n}(Stimulsoft=Stimulsoft||{}),function(t){var e,n,r,i,a,o;function s(){return null!==o&&o.apply(this,arguments)||this}n=e=t.Data||(t.Data={}),i=r=n.Extensions||(n.Extensions={}),a=t.System.Collections.List,__extends(s,o=a),s.compare=function(t,e){return null},s.compareValues=function(t,e){return null},s.isList=function(t){return null!=t&&(!("string"==typeof t)&&t.stimulsoft.is(a)||Array.isArray(t))},s.isBoolList=function(t){return"boolean"==typeof s.toList(t).firstOrDefault()},s.toList=function(t){return null!=t&&t.stimulsoft.is(a)?t.cast():new a(t)},s.toStringList=function(t){return s.toList(t).tryCastToString()},s.toNumberList=function(t){return s.toList(t).tryCastToNumber()},s.toBoolList=function(t){return s.toList(t).tryCastToBool()},s.toNullableDateTimeList=function(t){return s.toList(t).tryCastToNullableDateTime()},s.toStringArray=function(t){return null},s.toNumberArray=function(t){return null},n=s,i.ListExt=n}(Stimulsoft=Stimulsoft||{}),function(t){var e,t,n,r,i;function a(t){void 0===t&&(t=null),this.message="",this.message=t}t=e=t.Data||(t.Data={}),(r=n=t.Exceptions||(t.Exceptions={})).StiDataException=a}(Stimulsoft=Stimulsoft||{}),function(t){var e,n,r,t,i;function a(t,e){var n=i.call(this,"Argument '"+e+"' in the function '"+t+"' not found!")||this;return n._functionName=t,n._argumentName=e,n}n=e=t.Data||(t.Data={}),t=r=n.Exceptions||(n.Exceptions={}),i=t.StiDataException,__extends(a,i),Object.defineProperty(a.prototype,"functionName",{get:function(){return this._functionName},enumerable:!1,configurable:!0}),Object.defineProperty(a.prototype,"argumentName",{get:function(){return this._argumentName},enumerable:!1,configurable:!0}),n=a,t.StiArgumentNotFoundException=n}(Stimulsoft=Stimulsoft||{}),function(t){var e,n,r,t,i;function a(t){var e=i.call(this,"Parameter count mismatch in the function '"+t+"'!")||this;return e._functionName=t,e}n=e=t.Data||(t.Data={}),t=r=n.Exceptions||(n.Exceptions={}),i=t.StiDataException,__extends(a,i),Object.defineProperty(a.prototype,"functionName",{get:function(){return this._functionName},enumerable:!1,configurable:!0}),n=a,t.StiArgumentCountException=n}(Stimulsoft=Stimulsoft||{}),function(t){var e,n,r,t,i;function a(t){var e=i.call(this,"Function '"+t+"' not found!")||this;return e._name=t,e}n=e=t.Data||(t.Data={}),t=r=n.Exceptions||(n.Exceptions={}),i=t.StiDataException,__extends(a,i),Object.defineProperty(a.prototype,"name",{get:function(){return this._name},enumerable:!1,configurable:!0}),n=a,t.StiFunctionNotFoundException=n}(Stimulsoft=Stimulsoft||{}),function(t){var e,n,r,t;function i(t){this._value=t}n=e=t.Data||(t.Data={}),t=r=n.Types||(n.Types={}),Object.defineProperty(i.prototype,"value",{get:function(){return this._value},enumerable:!1,configurable:!0}),n=i,t.SimpleValue=n}(Stimulsoft=Stimulsoft||{}),function(t){var e,n,r,i;function a(){}n=e=t.Data||(t.Data={}),i=r=n.Options||(n.Options={}),n=t.System.MidpointRounding,a.allowNulls=!1,a.roundType=n.ToEven,n=a,i.StiDataOptions=n}(Stimulsoft=Stimulsoft||{}),function(t){var e,n,r,i,a;function o(t){this.value=i.tryToNullableDateTime(t)}n=e=t.Data||(t.Data={}),n=r=n.Types||(n.Types={}),i=t.Base.Helpers.StiValueHelper,n.DateTimeValue=o}(Stimulsoft=Stimulsoft||{}),function(t){var e,n,r,i,a,o,s,m,u,l,c,h,p,f,d,y,g,S,v,b,T,x,E;function w(){}n=e=t.Data||(t.Data={}),i=r=n.Functions||(n.Functions={}),a=t.System.StiString,o=t.Base.StiActivator,s=t.Data.Types.DateTimeValue,m=t.System.Collections.Hashtable,u=t.System.Enum,l=t.Base.StiAppFunctions,c=t.Data.Exceptions.StiFunctionNotFoundException,h=t.System.Globalization.CultureInfo,n=t.System.Collections.Dictionary,p=t.Data.Helpers.StiExpressionHelper,f=t.System.DayOfWeek,d=t.System.Char,y=t.System.Collections.List,g=t.Data.Extensions.ListExt,S=t.System.DateTime,v=t.System.TimeSpan,b=t.Base.Helpers.StiValueHelper,T=t.Data.Types.SimpleValue,x=t.Data.Options.StiDataOptions,E=t.Base.Localization.StiLocalization,w.count=function(t){return g.isList(t)?w.optionalSkipNulls(g.toList(t)).count2():b.tryToNumber(t)},w.countIf=function(t,e){var n,r;if(!g.isList(t))return this.getCondition(e)?1:0;var i=this.skipNulls(g.toList(t)),a=this.getConditions(e),o=0,s=0,u=0;try{for(var l=__values(i),c=l.next();!c.done;c=l.next()){var h=c.value,p;(u<a.length?a[u]:a.lastOrDefault())&&(s+=1),u++}}catch(t){n={error:t}}finally{try{c&&!c.done&&(r=l.return)&&r.call(l)}finally{if(n)throw n.error}}return s},w.distinct=function(t){return g.isList(t)?w.optionalSkipNulls(g.toList(t)).distinct():t},w.distinctCount=function(t){return g.isList(t)?w.optionalSkipNulls(g.toList(t)).distinct().count2():b.tryToNumber(t)},w.distinctCountIf=function(t,e){var n,r;if(!g.isList(t))return this.getCondition(e)?1:0;var i=g.toList(t),a=this.getConditions(e),o=0,s=new m,u=0,l=0;try{for(var c=__values(i),h=c.next();!h.done;h=c.next()){var p=h.value,f;(l<a.length?a[l]:a.lastOrDefault())&&null==s.get(p)&&(u+=1),s.set(p,p),l++}}catch(t){n={error:t}}finally{try{h&&!h.done&&(r=c.return)&&r.call(c)}finally{if(n)throw n.error}}return u},w.first=function(t){return g.isList(t)?w.skipNulls(g.toList(t)).firstOrDefault():t},w.last=function(t){return g.isList(t)?w.skipNulls(g.toList(t)).lastOrDefault():t},w.all=function(t){return g.isList(t)?w.skipNulls(g.toList(t)).select(function(t){return new T(t)}):new T(t)},w.isAggregationFunction=function(t){switch(this.toLowerCase(t)){case"avg":case"avgd":case"avgi":case"avgdate":case"avgtime":case"max":case"maxd":case"maxi":case"maxdate":case"maxtime":case"maxstr":case"median":case"mediand":case"mediani":case"min":case"mind":case"mini":case"mindate":case"mintime":case"minstr":case"minmaxdatestring":case"mode":case"moded":case"modei":case"sum":case"sumd":case"sumi":case"sumtime":case"sumdistinct":case"sumif":case"sumdif":case"sumiif":case"sumtimeif":case"sumdistinctif":case"count":case"countdistinct":case"countif":case"countdistinctif":return!0;default:return!1}},w.avg=function(t){if(!g.isList(t))return b.tryToNumber(t);var t=w.skipNulls(g.toList(t));if(0==w.count(t))return 0;return w.sum(t)/w.count(t)},w.avgNulls=function(t){if(!g.isList(t))return null==t?null:b.tryToNumber(t);var t=g.toList(t);if(null==t||0==t.count2())return null;return this.sum(t)/t.count2()},w.avgDate=function(t){if(!g.isList(t))return b.tryToNullableDateTime(t);var t=w.skipNulls(g.toList(t)).where(function(t){return null!=t&&t instanceof S}).tryCastToDateTime();if(0==w.count(t))return null;return new S(t.sum(function(t){return t.ticks})/w.count(t))},w.avgTime=function(t){return null},w.max=function(t){if(!g.isList(t))return b.tryToNumber(t);var t=w.skipNulls(g.toList(t)).tryCastToNumber();return t.any()?t.max():0},w.maxNulls=function(t){if(!g.isList(t))return null==t?null:b.tryToNumber(t);var t=g.toList(t);if(null==t||0==t.count2()||t.all(function(t){return null==t}))return null;var t=this.skipNulls(t).tryCastToNumber();return t.any()?t.max():0},w.maxD=function(t){if(!g.isList(t))return b.tryToNumber(t);var t=w.skipNulls(g.toList(t)).tryCastToNumber();return t.any()?t.max():0},w.maxI=function(t){if(!g.isList(t))return b.tryToNumber(t);var t=w.skipNulls(g.toList(t)).tryCastToNumber();return t.any()?t.max():0},w.maxDate=function(t){if(!g.isList(t))return b.tryToNullableDateTime(t);var t=w.skipNulls(g.toList(t)).tryCastToNullableDateTime();return t.any()?t.max():null},w.maxTime=function(t){if(!g.isList(t))return b.tryToNullableTimeSpan(t);var t=w.skipNulls(g.toList(t)).tryCastToNullableTimeSpan();return t.any()?t.max():null},w.maxStr=function(t){if(!g.isList(t))return w.toString(t);return w.skipNulls(g.toList(t)).orderBy(w.toString).cast().lastOrDefault()},w.median=function(t){if(!g.isList(t))return b.tryToNumber(t);var t=g.toList(t).tryCastToNumber().orderBy(function(t){return t});if(!t.any())return 0;if(1==t.length)return t[0];if(t.length%2==0)return(t[t.length/2-1]+t[t.length/2])/2;return t[Math.ceil(t.length/2)]},w.min=function(t){if(!g.isList(t))return b.tryToNumber(t);var t=w.skipNulls(g.toList(t)).tryCastToNumber();return t.any()?t.min():0},w.minNulls=function(t){if(!g.isList(t))return null==t?null:b.tryToNumber(t);var t=g.toList(t);if(null==t||0==t.count2()||t.all(function(t){return null==t}))return null;var t=this.skipNulls(t).tryCastToNumber();return t.any()?t.min():0},w.minDate=function(t){if(!g.isList(t))return b.tryToNullableDateTime(t);var t=w.skipNulls(g.toList(t)).tryCastToNullableDateTime();return t.any()?t.min():null},w.minTime=function(t){if(!g.isList(t))return b.tryToNullableTimeSpan(t);var t=w.skipNulls(g.toList(t)).tryCastToNullableTimeSpan();return t.any()?t.min():null},w.minMaxDateString=function(t){var e=w.minDate(t),t=w.maxDate(t),n,r;return(null!=e?e.toString("MM/dd/yyyy"):"null")+"-"+(null!=t?t.toString("MM/dd/yyyy"):"null")},w.minStr=function(t){if(!g.isList(t))return w.toString(t);return w.skipNulls(g.toList(t)).orderBy(w.toString).cast().firstOrDefault()},w.mode=function(t){if(!g.isList(t))return b.tryToNumber(t);return w.skipNulls(g.toList(t)).tryCastToNumber().groupBy(function(t){return t}).orderByDescending(function(t){return t.count2()}).select(function(t){return t.key}).firstOrDefault()},w.sum=function(t){if(!g.isList(t))return b.tryToNumber(t);return w.skipNulls(g.toList(t)).tryCastToNumber().sum()},w.sumNulls=function(t){if(!g.isList(t))return null==t?null:b.tryToNumber(t);var t=g.toList(t);if(t.all(function(t){return null==t}))return null;return this.sum(t)},w.sumD=function(t){if(!g.isList(t))return b.tryToNumber(t);return w.skipNulls(g.toList(t)).tryCastToNumber().sum()},w.sumI=function(t){if(!g.isList(t))return b.tryToNumber(t);return w.skipNulls(g.toList(t)).tryCastToNumber().sum()},w.sumTime=function(t){if(!g.isList(t))return b.tryToTimeSpan(t);var t=this.skipNulls(g.toList(t)).tryCastToTimeSpan().sum(function(t){return t.ticks});return new v(t)},w.sumDistinct=function(t){if(!g.isList(t))return b.tryToNumber(t);return w.skipNulls(g.toList(t)).tryCastToNumber().distinct().sum()},w.sumIf=function(t,e){var n,r;if(!g.isList(t))return this.getCondition(e)?b.tryToNumber(t):0;var i=g.toList(t).tryCastToNumber(),a=this.getConditions(e),o=0,s=0;try{for(var u=__values(i),l=u.next();!l.done;l=u.next()){var c=l.value,h;(o<a.length?a[o]:a.lastOrDefault())&&(s+=c),o++}}catch(t){n={error:t}}finally{try{l&&!l.done&&(r=u.return)&&r.call(u)}finally{if(n)throw n.error}}return s},w.sumDIf=function(t,e){var n,r;if(!g.isList(t))return this.getCondition(e)?b.tryToNumber(t):0;var i=g.toList(t).tryCastToNumber(),a=this.getConditions(e),o=0,s=0;try{for(var u=__values(i),l=u.next();!l.done;l=u.next()){var c=l.value,h;(o<a.length?a[o]:a.lastOrDefault())&&(s+=c),o++}}catch(t){n={error:t}}finally{try{l&&!l.done&&(r=u.return)&&r.call(u)}finally{if(n)throw n.error}}return s},w.sumIIf=function(t,e){var n,r;if(!g.isList(t))return this.getCondition(e)?b.tryToNumber(t):0;var i=g.toList(t).tryCastToNumber(),a=this.getConditions(e),o=0,s=0;try{for(var u=__values(i),l=u.next();!l.done;l=u.next()){var c=l.value,h;(o<a.length?a[o]:a.lastOrDefault())&&(s+=c),o++}}catch(t){n={error:t}}finally{try{l&&!l.done&&(r=u.return)&&r.call(u)}finally{if(n)throw n.error}}return s},w.sumTimeIf=function(t,e){var n,r;if(!g.isList(t))return this.getCondition(e)?b.tryToTimeSpan(t):v.zero;var i=g.toList(t).tryCastToTimeSpan(),a=this.getConditions(e),o=0,s=0;try{for(var u=__values(i),l=u.next();!l.done;l=u.next()){var c=l.value,h;(o<a.length?a[o]:a.lastOrDefault())&&(s+=c.ticks),o++}}catch(t){n={error:t}}finally{try{l&&!l.done&&(r=u.return)&&r.call(u)}finally{if(n)throw n.error}}return new v(s)},w.sumDistinctIf=function(t,e){var n,r;if(!g.isList(t))return this.getCondition(e)?b.tryToNumber(t):0;var i=g.toList(t).tryCastToNumber(),a=this.getConditions(e),o=new m,s=0,u=0;try{for(var l=__values(i),c=l.next();!c.done;c=l.next()){var h=c.value,p=s<a.length?a[s]:a.lastOrDefault();p&&null!=o.get(p)&&(u+=h,o.set(p,p)),s++}}catch(t){n={error:t}}finally{try{c&&!c.done&&(r=l.return)&&r.call(l)}finally{if(n)throw n.error}}return u},w.getCondition=function(t){if(!g.isList(t))return b.tryToBool(t);return g.toList(t).tryCastToBool().firstOrDefault()},w.getConditions=function(t){if(!g.isList(t))return new y([b.tryToBool(t)]);return g.toList(t).tryCastToBool()},w.dayOfWeekIdent=function(t){if(null==t)return null;return u.parse(f,t.dayOfWeek)},w.dayOfWeekIdentObject=function(t){if(g.isList(t))return g.toList(t).select(w.dayOfWeekIdent);var e=b.tryToNullableDateTime(t);if(e)return w.dayOfWeekIdent(e);if("string"==typeof t)return i.StiDayOfWeekToStrHelper.dayOfWeek5(t)},w.dayOfWeekIndex=function(t){if(null==t)return-1;return t.dayOfWeek},w.dayOfWeekIndexObject=function(t){if(g.isList(t))return g.toList(t).select(w.dayOfWeekIndex);var e=b.tryToNullableDateTime(t);if(e)return w.dayOfWeekIdent(e);if("string"==typeof t){var t=i.StiDayOfWeekToStrHelper.dayOfWeek5(t);return null==t?-1:t}},w.dayOfWeek=function(t){return null!=t?i.StiDayOfWeekToStrHelper.dayOfWeek(t):""},w.dayOfWeekObject=function(t){return g.isList(t)?g.toNullableDateTimeList(t).select(w.dayOfWeek):w.dayOfWeek(b.tryToNullableDateTime(t))},w.dayOfWeek2=function(t,e){return null!=t?i.StiDayOfWeekToStrHelper.dayOfWeek2(t,e):""},w.dayOfWeekObject2=function(t,e){return g.isList(t)?g.toNullableDateTimeList(t).select(function(t){return w.dayOfWeek2(t,e)}):w.dayOfWeek2(b.tryToNullableDateTime(t),e)},w.dayOfWeek3=function(t,e){return null!=t?i.StiDayOfWeekToStrHelper.dayOfWeek6(t,e):""},w.dayOfWeekObject3=function(t,e){return g.isList(t)?g.toNullableDateTimeList(t).select(function(t){return w.dayOfWeek3(t,e)}):w.dayOfWeek3(b.tryToNullableDateTime(t),e)},w.dayOfWeek4=function(t,e,n){return null!=t?i.StiDayOfWeekToStrHelper.dayOfWeek4(t,e,n):""},w.dayOfWeekObject4=function(t,e,n){return g.isList(t)?g.toNullableDateTimeList(t).select(function(t){return w.dayOfWeek4(t,e,n)}):w.dayOfWeek4(b.tryToNullableDateTime(t),e,n)},w.daysInMonth=function(t,e){return S.daysInMonth(t,e)},w.daysInMonthObject=function(t,e){if(g.isList(t)||g.isList(e)){for(var n=g.toNullableDateTimeList(t),r=g.toNullableDateTimeList(e),i=null!=n?n.toList():null,a=null!=r?r.toList():null,o=null!=i?i.count2():a.length,s=new y,u=0;u<o;u++){var l=null!=i?i[u]:null,c=null!=a?a[u]:null;s.add(w.daysInMonthObject(l,c))}return s}return w.daysInMonth(b.tryToNumber(t),b.tryToNumber(e))},w.daysInMonth2=function(t){return null!=t?S.daysInMonth(t.year,t.month):0},w.daysInMonthObject2=function(t){return g.isList(t)?g.toNullableDateTimeList(t).select(w.daysInMonth2):w.daysInMonth2(b.tryToNullableDateTime(t))},w.daysInYear=function(t){return S.isLeapYear(t)?366:365},w.daysInYear2=function(t){return null!=t?w.daysInYear(t.year):0},w.daysInYearObject=function(t){if(g.isList(t))return g.toNullableDateTimeList(t).select(w.daysInMonth2);return t instanceof S?w.daysInYear2(b.tryToNullableDateTime(t)):w.daysInYear(b.tryToNumber(t))},w.monthIdent=function(t){if(null==t)return null;return i.StiMonth[this.month(t)]},w.monthIdentObject=function(n){if(g.isList(n))return g.toList(n).select(function(t){var e=b.tryToNullableDateTime(n);if(e)return w.monthIdent(e);if("string"==typeof n)return i.StiMonthToStrHelper.month(n);return null});var t=b.tryToNullableDateTime(n);if(t)return w.monthIdent(t);if("string"==typeof n)return i.StiMonthToStrHelper.month(n)},w.month=function(t){if(null==t)return-1;return t.month},w.monthObject=function(n){if(g.isList(n))return g.toList(n).select(function(t){var e=b.tryToNullableDateTime(n);if(e)return w.monthIdent(e);if("string"==typeof n){var e=i.StiMonthToStrHelper.month(n);return null==e?-1:e.value}return null});var t=b.tryToNullableDateTime(n);if(t)return w.monthIdent(t);if("string"==typeof n){var t=i.StiMonthToStrHelper.month(n);return null==t?-1:t.value}},w.monthName=function(t){return null!=t?i.StiMonthToStrHelper.monthName(t):""},w.monthNameObject=function(t){return g.isList(t)?g.toNullableDateTimeList(t).select(w.monthName):w.monthName(b.tryToNullableDateTime(t))},w.monthName2=function(t,e){return null!=t?i.StiMonthToStrHelper.monthName2(t,e):""},w.monthNameObject2=function(t,e){return g.isList(t)?g.toNullableDateTimeList(t).select(function(t){return w.monthName2(t,e)}):w.monthName2(b.tryToNullableDateTime(t),e)},w.monthName3=function(t,e){return null!=t?i.StiMonthToStrHelper.monthName3(t,e):""},w.monthNameObject3=function(t,e){return g.isList(t)?g.toNullableDateTimeList(t).select(function(t){return w.monthName3(t,e)}):w.monthName3(b.tryToNullableDateTime(t),e)},w.monthName4=function(t,e,n){return null!=t?i.StiMonthToStrHelper.monthName4(t,e,n):""},w.monthNameObject4=function(t,e,n){return g.isList(t)?g.toNullableDateTimeList(t).select(function(t){return w.monthName4(t,e,n)}):w.monthName4(b.tryToNullableDateTime(t),e,n)},w.addMonthsObject=function(t,e){var t=b.tryToNullableDateTime(t);if(null==t)return null;return t.addMonths(e)},w.addYears=function(t,e){return t.addYears(e)},w.addYearsObject=function(t,e){var t=b.tryToNullableDateTime(t);if(null==t)return null;return w.addYears(t,e)},w.day=function(t){if(null==t)return-1;return t.day},w.dayObject=function(t){return g.isList(t)?g.toNullableDateTimeList(t).select(w.day):w.day(b.tryToNullableDateTime(t))},w.dateDiff=function(t,e){if(null==t||null==e)return null;return t.subtract(e)},w.dateDiffObject=function(t,e){if(g.isList(t)||g.isList(e)){for(var n=g.toNullableDateTimeList(t),r=g.toNullableDateTimeList(e),i=null!=n?n.toList():null,a=null!=r?r.toList():null,o=null!=i?i.count2():a.length,s=new y,u=0;u<o;u++){var l=null!=i?i[u]:null,c=null!=a?a[u]:null;s.add(w.dateDiff(l,c))}return s}return w.dateDiff(b.tryToNullableDateTime(t),b.tryToNullableDateTime(e))},w.dateTime=function(t){return g.isList(t)?this.skipNulls(g.toList(t)).select(function(t){return new s(t)}):new s(t)},w.dayOfYear=function(t){if(null==t)return-1;return t.dayOfYear},w.dayOfYearObject=function(t){return g.isList(t)?g.toNullableDateTimeList(t).select(w.dayOfYear):w.dayOfYear(b.tryToNullableDateTime(t))},w.financialQuarter=function(t){return null},w.financialQuarterObject=function(t){return g.isList(t)?g.toNullableDateTimeList(t).select(w.financialQuarter):w.financialQuarter(b.tryToNullableDateTime(t))},w.financialQuarterIndex=function(t){if(null==t)return-1;return Math.ceil(t.month/3+2)%4+1},w.financialQuarterIndexObject=function(t){return g.isList(t)?g.toNullableDateTimeList(t).select(w.financialQuarterIndex):w.financialQuarterIndex(b.tryToNullableDateTime(t))},w.hour=function(t){if(null==t)return-1;return t.hour},w.hourObject=function(t){return g.isList(t)?g.toNullableDateTimeList(t).select(w.hour):w.hour(b.tryToNullableDateTime(t))},w.makeDate=function(t,e,n){return void 0===e&&(e=1),void 0===n&&(n=1),null},w.makeDateObject=function(t,e,n){return void 0===e&&(e=null),void 0===n&&(n=null),null},w.makeDateTime=function(t,e,n,r,i,a){return void 0===e&&(e=1),void 0===n&&(n=1),void 0===r&&(r=0),void 0===i&&(i=0),void 0===a&&(a=0),null},w.makeDateTimeObject=function(t,e,n,r,i,a){return void 0===e&&(e=null),void 0===n&&(n=null),void 0===r&&(r=null),void 0===i&&(i=null),void 0===a&&(a=null),null},w.makeTime=function(t,e,n){return void 0===e&&(e=0),void 0===n&&(n=0),null},w.makeTimeObject=function(t,e,n){return void 0===e&&(e=null),void 0===n&&(n=null),null},w.minute=function(t){if(null==t)return-1;return t.minute},w.minuteObject=function(t){return g.isList(t)?g.toNullableDateTimeList(t).select(w.minute):w.minute(b.tryToNullableDateTime(t))},w.now=function(){return S.now},w.quarterName=function(t,e){var n;switch(void 0===e&&(e=!0),this.quarter(t)){case i.StiQuarter.Q1:return e?E.get("DatePickerRanges","FirstQuarter"):"First Quarter";case i.StiQuarter.Q2:return e?E.get("DatePickerRanges","SecondQuarter"):"Second Quarter";case i.StiQuarter.Q3:return e?E.get("DatePickerRanges","ThirdQuarter"):"Third Quarter";case i.StiQuarter.Q4:return e?E.get("DatePickerRanges","FourthQuarter"):"FourthQuarter";default:return""}},w.quarterNameObject=function(t,e){var n=this;return void 0===e&&(e=!0),g.isList(t)?g.toNullableDateTimeList(t).select(function(t){return n.quarterName(t,e)}):this.quarterName(b.tryToNullableDateTime(t),e)},w.quarter=function(t){if(null==t)return null;return u.parse(i.StiQuarter,w.quarterIndex(t))},w.quarterObject=function(t){return g.isList(t)?g.toNullableDateTimeList(t).select(w.quarter):w.quarter(b.tryToNullableDateTime(t))},w.quarterIndex=function(t){if(null==t)return-1;return(t.month+2)/3|0},w.quarterIndexObject=function(t){return g.isList(t)?g.toNullableDateTimeList(t).select(w.quarterIndex):w.quarterIndex(b.tryToNullableDateTime(t))},w.second=function(t){if(null==t)return-1;return t.second},w.secondObject=function(t){return g.isList(t)?g.toNullableDateTimeList(t).select(w.second):w.second(b.tryToNullableDateTime(t))},w.time=function(t){return g.isList(t)?this.skipNulls(g.toList(t)).select(function(t){return t instanceof S?t.timeOfDay:null}):t instanceof S?t.timeOfDay:null},w.year=function(t){if(null==t)return-1;return t.year},w.yearObject=function(t){return g.isList(t)?g.toNullableDateTimeList(t).select(w.year):w.year(b.tryToNullableDateTime(t))},w.yearMonth=function(t){if(null==t)return"";return t.year+"-"+t.month},w.yearMonthObject=function(t){return g.isList(t)?g.toNullableDateTimeList(t).select(w.yearMonth):w.yearMonth(b.tryToNullableDateTime(t))},w.getDateDimensionFunctions=function(){return new y(["Year","Quarter","Month","Day","DateTime","Time"])},w.localize=function(t){switch(w.toLowerCase(t)){case"avg":return"Average";case"count":return"Count";case"distinctcount":return"Count (Distinct)";case"max":return"Max";case"median":return"Median";case"min":return"Min";case"sum":return"Sum";default:return t}},w.abs=function(t){return Math.abs(t)},w.absObject=function(t){return g.isList(t)?g.toNumberList(t).select(w.abs):w.abs(b.tryToNumber(t))},w.acos=function(t){return Math.acos(t)},w.acosObject=function(t){return g.isList(t)?g.toNumberList(t).select(w.acos):w.acos(b.tryToNumber(t))},w.asin=function(t){return Math.asin(t)},w.asinObject=function(t){return g.isList(t)?g.toNumberList(t).select(w.asin):w.asin(b.tryToNumber(t))},w.atan=function(t){return Math.atan(t)},w.atanObject=function(t){return g.isList(t)?g.toNumberList(t).select(w.atan):w.atan(b.tryToNumber(t))},w.ceiling=function(t){return Math.ceil(t)},w.ceilingObject=function(t){return g.isList(t)?g.toNumberList(t).select(w.ceiling):w.ceiling(b.tryToNumber(t))},w.cos=function(t){return Math.cos(t)},w.cosObject=function(t){return g.isList(t)?g.toNumberList(t).select(w.cos):w.cos(b.tryToNumber(t))},w.div=function(t,e,n){if(void 0===n&&(n=null),0==e)return n;return Math.trunc(t/e)},w.divObject=function(t,e,n){void 0===n&&(n=null);var t=b.tryToNumber(t),e=b.tryToNumber(e),n=b.tryToNullableNumber(n);return w.div(t,e,n)},w.exp=function(t){return Math.exp(t)},w.expObject=function(t){return g.isList(t)?g.toNumberList(t).select(w.exp):w.exp(b.tryToNumber(t))},w.floor=function(t){return Math.floor(t)},w.floorObject=function(t){return g.isList(t)?g.toNumberList(t).select(w.floor):w.floor(b.tryToNumber(t))},w.log=function(t){return Math.log(t)},w.logObject=function(t){return g.isList(t)?g.toNumberList(t).select(w.log):w.log(b.tryToNumber(t))},w.round=function(t){return Math.round(t)},w.roundObject=function(t){return g.isList(t)?g.toNumberList(t).select(w.round):w.round(b.tryToNumber(t))},w.sign=function(t){return Math.sign(t)},w.signObject=function(t){return g.isList(t)?g.toNumberList(t).select(w.sign):w.sign(b.tryToNumber(t))},w.sin=function(t){return Math.sin(t)},w.sinObject=function(t){return g.isList(t)?g.toNumberList(t).select(w.sin):w.sin(b.tryToNumber(t))},w.sqrt=function(t){return Math.sqrt(t)},w.sqrtObject=function(t){return g.isList(t)?g.toNumberList(t).select(w.sqrt):w.sqrt(b.tryToNumber(t))},w.tan=function(t){return Math.tan(t)},w.tanObject=function(t){return g.isList(t)?g.toNumberList(t).select(w.tan):w.tan(b.tryToNumber(t))},w.truncate=function(t){return Math.trunc(t)},w.truncateObject=function(t){return g.isList(t)?g.toNumberList(t).select(w.truncate):w.truncate(b.tryToNumber(t))},w.isMeasureFunction=function(t){var e=p.getFunction(t);if(null==e)return!1;return e=w.toLowerCase(e),w.getMeasureFunctions().any(function(t){return w.toLowerCase(t)==e})},w.getMeasureFunctions=function(){return w.getAggregateMeasureFunctions().concat(w.getCommonMeasureFunctions()).distinct()},w.getAggregateMeasureFunctions=function(){return new y(["Sum","Avg","Min","Max","DistinctCount","Count","Median"])},w.getCommonMeasureFunctions=function(){return new y(["First","Last","Count","DistinctCount"])},w.calculate=function(t,e){switch(w.toLowerCase(t)){case"all":return w.all(e);case"avg":case"avgd":case"avgi":return w.avg(e);case"avgdate":return w.avgDate(e);case"avgtime":return w.avgTime(e);case"count":return w.count(e);case"distinctcount":return w.distinctCount(e);case"first":return w.first(e);case"last":return w.last(e);case"max":case"maxd":case"maxi":return w.max(e);case"maxdate":return w.maxDate(e);case"maxtime":return w.maxTime(e);case"maxstr":return w.maxStr(e);case"median":case"mediand":case"mediani":return w.median(e);case"min":case"mind":case"mini":return w.min(e);case"mindate":return w.minDate(e);case"mintime":return w.minTime(e);case"minstr":return w.minStr(e);case"mode":case"moded":case"modei":return w.mode(e);case"sum":case"sumd":case"sumi":return w.sum(e);case"sumtime":return w.sumTime(e);case"sumdistinct":return w.sumDistinct(e);default:throw new c(t)}},w.getMapIdents=function(t){var e=o.createObject2("Stimulsoft.Report.Helpers.StiMapKeyHelper");if(null==e)return null;return e.getMapIdents(t)},w.getIso2ConvertedValues=function(t){if(a.isNullOrWhiteSpace(t))return null;return this.iso2Cache.contains(t)?this.iso2Cache.get(t):new y([t])},w.iso2=function(t,e){if(void 0===e&&(e=null),null==t)return"";var n=o.createObject2("Stimulsoft.Report.Helpers.StiMapKeyHelper");if(null==n)return t;var n=n.getIsoAlpha2FromName(t,e),e=null!=n?n:t,n=this.iso2Cache.contains(e)?this.iso2Cache.get(e):null;return null==n?(n=new y([t]),this.iso2Cache.set(e,n)):n.contains(t)||n.add(t),e},w.iso2Object=function(t,e){return void 0===e&&(e=null),g.isList(t)?g.toStringList(t).select(function(t){return w.iso2(t,e)}):this.iso2(b.tryToString(t),e)},w.iso2ToName=function(t,e){void 0===e&&(e=null);var n=o.createObject2("Stimulsoft.Report.Helpers.StiMapKeyHelper");if(null==n)return t;var e=n.getNameFromIsoAlpha2(t,e);return null!=e?e:t},w.iso2ToNameObject=function(t,e){return void 0===e&&(e=null),g.isList(t)?g.toStringList(t).select(function(t){return w.iso2ToName(t,e)}):this.iso2ToName(b.tryToString(t),e)},w.iso3=function(t,e){if(void 0===e&&(e=null),null==t)return"";var n=o.createObject2("Stimulsoft.Report.Helpers.StiMapKeyHelper");if(null==n)return t;var e=n.getIsoAlpha3FromName(t,e);return null!=e?e:t},w.iso3Object=function(t,e){return void 0===e&&(e=null),g.isList(t)?g.toStringList(t).select(function(t){return w.iso3(t,e)}):this.iso3(b.tryToString(t),e)},w.iso3ToName=function(t,e){void 0===e&&(e=null);var n=o.createObject2("Stimulsoft.Report.Helpers.StiMapKeyHelper");if(null==n)return t;var e=n.getNameFromIsoAlpha3(t,e);return null!=e?e:t},w.iso3ToNameObject=function(t,e){return void 0===e&&(e=null),g.isList(t)?g.toStringList(t).select(function(t){return w.iso3ToName(t,e)}):this.iso3ToName(b.tryToString(t),e)},w.normalizeName=function(t,e){void 0===e&&(e=null);var n=o.createObject2("Stimulsoft.Report.Helpers.StiMapKeyHelper");if(null==n)return t;return n.normalizeName(t,e,null)},w.normalizeNameObject=function(t,e){return void 0===e&&(e=null),g.isList(t)?g.toStringList(t).select(function(t){return w.normalizeName(t,e)}):this.normalizeName(b.tryToString(t),e)},w.format=function(t,e){if(null==e)return"";if(null==t)return e.toString();return a.format("{0:"+t+"}",e)},w.formatObject=function(e,n){return g.isList(n)?g.toStringList(n).select(function(t){return w.format(e,n)}):w.format(e,n)},w.insert=function(t,e,n){if(null==t)return null;if(e<0||e>t.length||null==n)return t;return t.stimulsoft.insert(e,n,0)},w.insertObject=function(t,e,n){return g.isList(t)?g.toStringList(t).select(function(t){return w.insert(t,e,n)}):w.insert(b.tryToString(t),e,n)},w.isDataEqual=function(t,e,n){if(w.toDataName(e)==w.toDataName(n))return!0;if(!n.stimulsoft.contains("."))return!1;return w.toDataName(t.getName()+"."+e)==n},w.left=function(t,e){if(void 0===e&&(e=-1),null==t)return null;if(e<=0)return"";if(e>=t.length)return t;return t.substring(0,e)},w.leftObject=function(t,e){return void 0===e&&(e=-1),g.isList(t)?g.toStringList(t).select(function(t){return w.left(t,e)}):w.left(b.tryToString(t),e)},w.length2=function(t){return null==t?0:t.length},w.lengthObject=function(t){return g.isList(t)?g.toStringList(t).select(w.length2).cast():w.length2(b.tryToString(t))},w.remove=function(t,e,n){if(null==t)return null;if(n<=0||e<0||e>=t.length)return t;return e+n>t.length&&(n=t.length-e),t.stimulsoft.remove(e,n)},w.removeObject=function(t,e,n){return g.isList(t)?g.toStringList(t).select(function(t){return w.remove(t,e,n)}):w.remove(b.tryToString(t),e,n)},w.replace=function(t,e,n){if(null==t)return null;if(null==e)return t;return null==n&&(n=""),t.stimulsoft.replaceAll(e,n)},w.replaceObject=function(t,e,n){return g.isList(t)?g.toStringList(t).select(function(t){return w.replace(t,e,n)}):w.replace(b.tryToString(t),e,n)},w.right=function(t,e){if(void 0===e&&(e=-1),null==t)return null;if(e<=0)return"";if(e>=t.length)return t;return t.substring(t.length-e,e)},w.rightObject=function(t,e){return void 0===e&&(e=-1),g.isList(t)?g.toStringList(t).select(function(t){return w.right(t,e)}):w.right(b.tryToString(t),e)},w.toDataName=function(t){if(null==t)return null;if(w.toDataNameCache.contains(t))return w.toDataNameCache.get(t);var e=t.toLowerCase().stimulsoft.replaceAll(" ","");return e.stimulsoft.startsWith("[")&&(e=e.substring(1)),e.stimulsoft.endsWith("]")&&(e=e.substring(0,e.length-1)),w.toDataNameCache.add(t,e),e},w.toExpression=function(t){return w.toExpression2(t,null)},w.toExpression2=function(t,e){if(null==t)return null;if(0==t.length)return"";if(!a.isNullOrEmpty(e)){if(t.split("").stimulsoft.toList().any(function(t){return!(d.isLetterOrDigit(t)||"_"==t)})||e.split("").stimulsoft.toList().any(function(t){return!(d.isLetterOrDigit(t)||"_"==t)})||d.isDigit(t[0])||d.isDigit(e[0]))return"["+t+"."+e+"]";return t+"."+e}if(t.split("").stimulsoft.toList().any(function(t){return!(d.isLetterOrDigit(t)||"."==t||"_"==t)})||d.isDigit(t[0]))return"["+t+"]";return t},w.toLowerCase=function(t){if(null==t)return null;if(w.toLowerCaseCache.contains(t))return w.toLowerCaseCache.get(t);var e=t.toLowerCase();return w.toLowerCaseCache.add(t,e),e},w.toLowerCaseObject=function(t){return g.isList(t)?g.toStringList(t).select(w.toLowerCase):w.toLowerCase(b.tryToString(t))},w.toProperCase=function(t){if(null==t)return null;if(w.toProperCaseCache.contains(t))return w.toProperCaseCache.get(t);var e=h.InvariantCulture.textInfo.toTitleCase(t.toLowerCase());return w.toProperCaseCache.add(t,e),e},w.toProperCaseObject=function(t){return g.isList(t)?g.toStringList(t).select(w.toProperCase):w.toProperCase(b.tryToString(t))},w.toString=function(t){return null==t?"":t.Funcs.toString()},w.toStringObject=function(t){return g.isList(t)?g.toList(t).select(w.toString):w.toString(t)},w.toUpperCase=function(t){if(null==t)return null;if(w.toUpperCaseCache.contains(t))return w.toUpperCaseCache.get(t);var e=t.toUpperCase();return w.toUpperCaseCache.add(t,e),e},w.toUpperCaseObject=function(t){return g.isList(t)?g.toStringList(t).select(w.toUpperCase):w.toUpperCase(b.tryToString(t))},w.trim=function(t){return null!=t?t.trim():null},w.trimObject=function(t){return g.isList(t)?g.toStringList(t).select(w.trim):w.trim(b.tryToString(t))},w.trimStart=function(t){return null!=t?t.stimulsoft.trimStart():null},w.trimStartObject=function(t){return g.isList(t)?g.toStringList(t).select(w.trimStart):w.trimStart(b.tryToString(t))},w.trimEnd=function(t){return null!=t?t.stimulsoft.trimEnd():null},w.trimEndObject=function(t){return g.isList(t)?g.toStringList(t).select(w.trimEnd):w.trimEnd(b.tryToString(t))},w.substring=function(t,e,n){if(void 0===n&&(n=-1),null==t)return null;if(e<-1)return"";if(-1==n)return e>=t.length?"":t.substring(e);if(e>=t.length)return"";return e+n>t.length?t.substring(e):t.substring(e,n)},w.substringObject=function(t,e,n){return void 0===n&&(n=-1),g.isList(t)?g.toStringList(t).select(function(t){return w.substring(t,e,n)}):w.substring(b.tryToString(t),e,n)},w.getSystemVariable=function(t,e){switch(t){case i.StiSystemVariableObject.Line:return e;case i.StiSystemVariableObject.LineABC:return w.toABC(e);case i.StiSystemVariableObject.LineRoman:return w.toRoman(e);default:throw new Error("NotImplementedException")}},w.existsCustomFunction=function(t){return this.getCustomFunctions(t).any()},w.getCustomFunctions=function(t){var t=l.getFunctions2(t,!0,!1);if(null!=t)return t.stimulsoft.toList();return new y},w.getCustomFunction=function(t,e){var n;return this.getCustomFunctions(t).firstOrDefault()},w.invokeCustomFunction=function(t,e){var n=this.getCustomFunctions(t);if(1==n.count2())return n.firstOrDefault().invoke(e);var n=this.getCustomFunction(t,e.select(function(t){return null!=t?t.getType():null}));if(null==n)throw new c(t);return n.invoke(e)},w.skipNulls=function(t){return t&&t.where(function(t){return null!=t})},w.optionalSkipNulls=function(t){return x.allowNulls?t:w.skipNulls(t)},w.toRoman=function(t){var e="";while(0<t)for(var n=5;0<=n;n--){if(t>=this.arabics[n]){e+=this.romans[n],t-=this.arabics[n];break}for(var r=!1,i=this.subs[n];i<n;i++){if(this.arabics[i]==this.arabics[n]-this.arabics[i])continue;if(t>=this.arabics[n]-this.arabics[i]){e+=this.romans[i],e+=this.romans[n],t-=this.arabics[n]-this.arabics[i],r=!0;break}}if(r)break}return e},w.toABC=function(t){if(t<1)return"";var e=0;while(26<t)e++,t-=26;return a.fill(this.abc[t-1],e+1)},w.toABCNumeric=function(t){var e=0;while(26<t)e++,t-=26;return 0==e?String.fromCharCode(t+64):String.fromCharCode(t+64)+e.toString()},w.toABCRu=function(t){if(t<1)return"";var e=0;while(26<t)e++,t-=26;return a.fill(this.abcRu[t-1],e+1)},w.toArabic=function(t,e){t=t.toString();for(var n="",r=0;r<t.length;r++){var i=t.charCodeAt(r);48<=i&&i<=57&&(i+=1632-48,e&&(i+=1776-1632)),n+=String.fromCharCode(i)}return n},w.iso2Cache=new n,w.toProperCaseCache=new n,w.toLowerCaseCache=new n,w.toUpperCaseCache=new n,w.toDataNameCache=new n,w.arabics=[1,5,10,50,100,1e3],w.romans=["I","V","X","L","C","M"],w.subs=[0,0,0,2,2,4],w.abc=["A","B","C","D","E","F","G","H","I","J","K","L","M","N","O","P","Q","R","S","T","U","V","W","X","Y","Z"],w.abcRu=["¿","¡","¬","√","ƒ","≈","∆","«","»"," ","À","Ã","Õ","Œ","œ","–","—","“","”","‘","’","÷","◊","ÿ","Ÿ","›","fi","fl"],n=w,i.Funcs=n}(Stimulsoft=Stimulsoft||{}),function(l){var t,e,n;e=t=l.Data||(l.Data={}),function(t){var e=l.System.Enum,n,r;(r=n=t.StiQuarter||(t.StiQuarter={}))[r["Q1"]=1]="Q1",r[r["Q2"]=2]="Q2",r[r["Q3"]=3]="Q3",r[r["Q4"]=4]="Q4";var r=(__extends(a,i=e),a.January=new a("January",1),a.February=new a("February",2),a.March=new a("March",3),a.April=new a("April",4),a.May=new a("May",5),a.June=new a("June",6),a.July=new a("July",7),a.August=new a("August",8),a.September=new a("September",9),a.October=new a("October",10),a.November=new a("November",11),a.December=new a("December",12),a[1]=a.January,a[2]=a.February,a[3]=a.March,a[4]=a.April,a[5]=a.May,a[6]=a.June,a[7]=a.July,a[8]=a.August,a[9]=a.September,a[10]=a.October,a[11]=a.November,a[12]=a.December,a),i;function a(){return null!==i&&i.apply(this,arguments)||this}t.StiMonth=r;var e=(__extends(s,o=e),s.Sunday=new s("Sunday",0),s.Monday=new s("Monday",1),s.Tuesday=new s("Tuesday",2),s.Wednesday=new s("Wednesday",3),s.Thursday=new s("Thursday",4),s.Friday=new s("Friday",5),s.Saturday=new s("Saturday",6),s[0]=s.Sunday,s[1]=s.Monday,s[2]=s.Tuesday,s[3]=s.Wednesday,s[4]=s.Thursday,s[5]=s.Friday,s[6]=s.Saturday,s),o;function s(){return null!==o&&o.apply(this,arguments)||this}t.StiDayOfWeek=e;var e=(u.Line=new u("Line"),u.LineABC=new u("LineABC"),u.LineRoman=new u("LineRoman"),u);function u(t){this.value="",this.value=t}t.StiSystemVariableObject=e}(n=e.Functions||(e.Functions={}))}(Stimulsoft=Stimulsoft||{}),function(t){var e,n,r,i,a,o,f,s,m,d,y,u,l,g,S;function v(t,e,n){this.nameToIndex=new l,this.nameToValue=new l,this.nameToVariable=new l,this.dictionary=t,this.table=e,this.meters=n}n=e=t.Data||(t.Data={}),i=r=n.Parsers||(n.Parsers={}),a=t.Data.Functions.StiSystemVariableObject,o=t.System.StiString,f=t.System.TimeSpan,s=t.Data.Exceptions.StiArgumentNotFoundException,m=t.Data.Exceptions.StiFunctionNotFoundException,d=t.Data.Exceptions.StiArgumentCountException,y=t.Data.Functions.Funcs,u=t.Base.Meters.IStiDimensionMeter,l=t.System.Collections.Dictionary,g=t.System.DateTime,S=t.Base.Helpers.StiValueHelper,v.prototype.runFunction=function(t,e){var n,r;switch(y.toLowerCase(t)){case"all":return 0<e.parameters.length?y.all(v.getDataColumnFromArg0(t,e)):null;case"avg":return y.avg(v.getDataColumnFromArg0(t,e));case"avgnulls":return y.avgNulls(v.getDataColumnFromArg0(t,e));case"avgd":return y.avg(v.getDataColumnFromArg0(t,e));case"avgi":return y.avg(v.getDataColumnFromArg0(t,e));case"avgdate":return y.avgDate(v.getDataColumnFromArg0(t,e));case"avgtime":return y.avgTime(v.getDataColumnFromArg0(t,e));case"count":return 0<e.parameters.length?y.count(v.getDataColumnFromArg0(t,e)):0;case"countif":return 0<e.parameters.length?y.countIf(v.getDataColumnFromArg0(t,e),v.getObjectFromArg1("condition",t,e)):0;case"distinct":return 0<e.parameters.length?y.distinct(v.getDataColumnFromArg0(t,e)):0;case"distinctcount":return 0<e.parameters.length?y.distinctCount(v.getDataColumnFromArg0(t,e)):0;case"distinctcountif":return 0<e.parameters.length?y.distinctCountIf(v.getDataColumnFromArg0(t,e),v.getObjectFromArg1("condition",t,e)):0;case"grandtotal":if(0<e.parameters.length){this.isGrandTotal=!0;var i=y.sum(v.getDataColumnFromArg0(t,e));return this.isGrandTotal=!1,i}return 0;case"first":return 0<e.parameters.length?y.first(v.getDataColumnFromArg0(t,e)):null;case"last":return 0<e.parameters.length?y.last(v.getDataColumnFromArg0(t,e)):null;case"median":return y.median(v.getDataColumnFromArg0(t,e));case"max":return 0<e.parameters.length?y.max(v.getDataColumnFromArg0(t,e)):0;case"maxnulls":return 0<e.parameters.length?y.maxNulls(v.getDataColumnFromArg0(t,e)):null;case"maxd":return 0<e.parameters.length?y.maxD(v.getDataColumnFromArg0(t,e)):0;case"maxi":return 0<e.parameters.length?y.maxI(v.getDataColumnFromArg0(t,e)):0;case"maxdate":return 0<e.parameters.length?y.maxDate(v.getDataColumnFromArg0(t,e)):null;case"maxtime":return 0<e.parameters.length?y.maxTime(v.getDataColumnFromArg0(t,e)):null;case"maxstr":return 0<e.parameters.length?y.maxStr(v.getDataColumnFromArg0(t,e)):null;case"min":return 0<e.parameters.length?y.min(v.getDataColumnFromArg0(t,e)):0;case"minnulls":return 0<e.parameters.length?y.minNulls(v.getDataColumnFromArg0(t,e)):null;case"mind":return 0<e.parameters.length?y.min(v.getDataColumnFromArg0(t,e)):0;case"mini":return 0<e.parameters.length?y.min(v.getDataColumnFromArg0(t,e)):0;case"mindate":return 0<e.parameters.length?y.minDate(v.getDataColumnFromArg0(t,e)):null;case"minmaxdatestring":return 0<e.parameters.length?y.minMaxDateString(v.getDataColumnFromArg0(t,e)):null;case"mintime":return 0<e.parameters.length?y.minTime(v.getDataColumnFromArg0(t,e)):null;case"minstr":return 0<e.parameters.length?y.minStr(v.getDataColumnFromArg0(t,e)):null;case"sum":return 0<e.parameters.length?y.sum(v.getDataColumnFromArg0(t,e)):0;case"sumnulls":return 0<e.parameters.length?y.sumNulls(v.getDataColumnFromArg0(t,e)):0;case"sumd":return 0<e.parameters.length?y.sumD(v.getDataColumnFromArg0(t,e)):0;case"sumi":return 0<e.parameters.length?y.sumI(v.getDataColumnFromArg0(t,e)):0;case"sumdistinct":return 0<e.parameters.length?y.sumDistinct(v.getDataColumnFromArg0(t,e)):0;case"sumtime":return 0<e.parameters.length?y.sumTime(v.getDataColumnFromArg0(t,e)):new f;case"sumif":return 0<e.parameters.length?y.sumIf(v.getDataColumnFromArg0(t,e),v.getObjectFromArg1("condition",t,e)):0;case"sumdif":return 0<e.parameters.length?y.sumDIf(v.getDataColumnFromArg0(t,e),v.getObjectFromArg1("condition",t,e)):0;case"sumiif":return 0<e.parameters.length?y.sumIIf(v.getDataColumnFromArg0(t,e),v.getObjectFromArg1("condition",t,e)):0;case"sumdistinctif":return 0<e.parameters.length?y.sumDistinctIf(v.getDataColumnFromArg0(t,e),v.getObjectFromArg1("condition",t,e)):0;case"sumtimeif":return 0<e.parameters.length?y.sumTimeIf(v.getDataColumnFromArg0(t,e),v.getObjectFromArg1("condition",t,e)):0;case"addmonths":var a=v.getObjectFromArg(0,"date",t,e),o=S.tryToNumber(v.getObjectFromArg(1,"months",t,e));return y.addMonthsObject(a,o);case"addyear":var a=v.getObjectFromArg(0,"date",t,e),o=S.tryToNumber(v.getObjectFromArg(1,"years",t,e));return y.addYearsObject(a,o);case"datediff":return y.dateDiffObject(v.getObjectFromArg0("date1",t,e),v.getObjectFromArg1("date2",t,e));case"datetime":return 0<e.parameters.length?y.dateTime(v.getDataColumnFromArg0(t,e)):null;case"day":return y.dayObject(v.getObjectFromArg0("date",t,e));case"daysinmonth":return 1==e.parameters.length?y.daysInMonthObject2(v.getObjectFromArg0("date",t,e)):y.daysInMonthObject(v.getObjectFromArg0("year",t,e),v.getObjectFromArg1("month",t,e));case"daysinyear":return(r=v.getObjectFromArg0("value",t,e))instanceof g?y.daysInYearObject(r):y.daysInYearObject(S.tryToNumber(r));case"dayofweek":var a=v.getObjectFromArg0("date",t,e),o;if(1==e.parameters.length)return y.dayOfWeekObject(a);if(2==e.parameters.length)return"boolean"==typeof(o=v.getObjectFromArg1("localized",t,e))?y.dayOfWeekObject2(a,o):y.dayOfWeekObject2(a,o.toString());if(3==e.parameters.length){var o=v.getObjectFromArg1("culture",t,e),s=v.getObjectFromArg2("upperCase",t,e);return y.dayOfWeekObject4(a,o.toString(),"boolean"==typeof s&&s)}throw new d(t);case"dayofweekident":return y.dayOfWeekIdentObject(v.getObjectFromArg0("date",t,e));case"dayofweekindex":return y.dayOfWeekIndexObject(v.getObjectFromArg0("date",t,e));case"dayofyear":return y.dayOfYearObject(v.getObjectFromArg0("date",t,e));case"financialquarter":return y.financialQuarterObject(v.getObjectFromArg0("date",t,e));case"financialquarterindex":return y.financialQuarterIndexObject(v.getObjectFromArg0("date",t,e));case"hour":return y.hourObject(v.getObjectFromArg0("date",t,e));case"makedate":case"dateserial":var a=v.getObjectFromArg(0,"year",t,e),o=v.getObjectFromArg(1,"months",t,e),s=v.getObjectFromArg(2,"day",t,e);return y.makeDateObject(a,o,s);case"makedatetime":var a=v.getObjectFromArg(0,"year",t,e),o=v.getObjectFromArg(1,"months",t,e),s=v.getObjectFromArg(2,"day",t,e),i=v.getObjectFromArg(3,"hour",t,e),u=v.getObjectFromArg(4,"minute",t,e),l=v.getObjectFromArg(5,"second",t,e);return y.makeDateTimeObject(a,o,s,i,u,l);case"maketime":case"timeserial":var a=v.getObjectFromArg(0,"hour",t,e),o=v.getObjectFromArg(1,"minute",t,e),s=v.getObjectFromArg(2,"second",t,e);return y.makeTimeObject(a,o,s);case"minute":return y.minuteObject(v.getObjectFromArg0("date",t,e));case"month":return y.monthObject(v.getObjectFromArg0("date",t,e));case"monthident":return y.monthIdentObject(v.getObjectFromArg0("date",t,e));case"monthname":var a=v.getObjectFromArg0("date",t,e),o;if(1==e.parameters.length)return y.monthNameObject(a);if(2==e.parameters.length)return"boolean"==typeof(o=v.getObjectFromArg1("localized",t,e))?y.monthNameObject2(a,o):y.monthNameObject2(a,o.toString());if(3==e.parameters.length){var o=v.getObjectFromArg1("culture",t,e),s=v.getObjectFromArg2("upperCase",t,e);return y.monthNameObject4(a,o.toString(),"boolean"==typeof s&&s)}throw new d(t);case"now":return y.now();case"quarter":return y.quarterObject(v.getObjectFromArg0("date",t,e));case"quarterindex":return y.quarterIndexObject(v.getObjectFromArg0("date",t,e));case"quartername":var a=v.getObjectFromArg0("date",t,e),o;if(1==e.parameters.length)return y.quarterNameObject(a,!1);if(2==e.parameters.length)return"boolean"==typeof(o=v.getObjectFromArg1("localized",t,e))?y.quarterNameObject(a,o):y.quarterNameObject(a);throw new d(t);case"second":return y.secondObject(v.getObjectFromArg0("date",t,e));case"time":return 0<e.parameters.length?y.time(v.getDataColumnFromArg0(t,e)):null;case"year":return y.yearObject(v.getObjectFromArg0("date",t,e));case"yearmonth":return y.yearMonthObject(v.getObjectFromArg0("date",t,e));case"format":var u=v.getObjectFromArg0("value",t,e),l=S.tryToString(v.getObjectFromArg(1,"format",t,e));return y.formatObject(l,u);case"insert":var a=v.getObjectFromArg0("str",t,e),o=S.tryToNumber(v.getObjectFromArg(1,"startIndex",t,e)),s=S.tryToString(v.getObjectFromArg(2,"value",t,e));return y.insertObject(a,o,s);case"iso2":var a=v.getObjectFromArg0("name",t,e),o=1<e.parameters.length?S.tryToString(v.getObjectFromArg(1,"mapId",t,e)):null;return y.iso2Object(a,o);case"iso2toname":var a=v.getObjectFromArg0("alpha2",t,e),o=1<e.parameters.length?S.tryToString(v.getObjectFromArg(1,"mapId",t,e)):null;return y.iso2ToNameObject(a,o);case"iso3":var a=v.getObjectFromArg0("name",t,e),o=1<e.parameters.length?S.tryToString(v.getObjectFromArg(1,"mapId",t,e)):null;return y.iso3Object(a,o);case"iso3toname":var a=v.getObjectFromArg0("alpha2",t,e),o=1<e.parameters.length?S.tryToString(v.getObjectFromArg(1,"mapId",t,e)):null;return y.iso3ToNameObject(a,o);case"left":var a=v.getObjectFromArg0("str",t,e),o=S.tryToNumber(v.getObjectFromArg(1,"length",t,e));return y.leftObject(a,o);case"length":return y.lengthObject(v.getObjectFromArg0("str",t,e));case"normalizename":var a=v.getObjectFromArg0("name",t,e),o=1<e.parameters.length?S.tryToString(v.getObjectFromArg(1,"mapId",t,e)):null;return y.normalizeNameObject(a,o);case"remove":var a=v.getObjectFromArg0("str",t,e),o=S.tryToNumber(v.getObjectFromArg(1,"startIndex",t,e)),s=S.tryToNumber(v.getObjectFromArg(2,"count",t,e));return y.removeObject(a,o,s);case"replace":var a=v.getObjectFromArg0("str",t,e),o=S.tryToString(v.getObjectFromArg(1,"oldValue",t,e)),s=S.tryToString(v.getObjectFromArg(2,"newValue",t,e));return y.replaceObject(a,o,s);case"right":var a=v.getObjectFromArg0("str",t,e),o=S.tryToNumber(v.getObjectFromArg(1,"length",t,e));return y.rightObject(a,o);case"topropercase":return y.toProperCaseObject(v.getObjectFromArg0("str",t,e));case"tolowercase":return y.toLowerCaseObject(v.getObjectFromArg0("str",t,e));case"tostring":return y.toStringObject(v.getObjectFromArg0("value",t,e));case"touppercase":return y.toUpperCaseObject(v.getObjectFromArg0("str",t,e));case"substring":var a=v.getObjectFromArg0("str",t,e),o=S.tryToNumber(v.getObjectFromArg(1,"index",t,e)),s=2<e.parameters.length?S.tryToNumber(v.getObjectFromArg(2,"length",t,e)):-1;return y.substringObject(a,o,s);case"trim":return y.trimObject(v.getObjectFromArg0("str",t,e));case"trimstart":return y.trimStartObject(v.getObjectFromArg0("str",t,e));case"trimend":return y.trimEndObject(v.getObjectFromArg0("str",t,e));case"array":return e.parameters.select(function(t){return t.evaluate()}).stimulsoft.toArray();case"list":return e.parameters.select(function(t){return t.evaluate()}).stimulsoft.toList();case"iif":var c=v.getObjectFromArg0("condition",t,e);return S.tryToBool(c)?v.getObjectFromArg1("truePart",t,e):v.getObjectFromArg2("falsePart",t,e);case"choose":var s=v.getObjectFromArg0("index",t,e),h=S.tryToNumber(s),p;if(0==(p=e.parameters.skip(1).select(function(t){return t.evaluate()}).stimulsoft.toList()).length)return null;if(h<1||h>p.length)return null;return p[h-1];case"switch":for(var p=e.parameters.select(function(t){return t.evaluate()}).stimulsoft.toList(),h=0;h<p.length;h+=2){var c=p[h],r=p[h+1];if("boolean"==typeof c&&1==c)return r;if("boolean"==typeof c&&1==c)return r}return null;case"abs":return y.absObject(v.getObjectFromArg0("value",t,e));case"acos":return y.acosObject(v.getObjectFromArg0("value",t,e));case"asin":return y.asinObject(v.getObjectFromArg0("value",t,e));case"atan":return y.atanObject(v.getObjectFromArg0("value",t,e));case"ceiling":return y.ceilingObject(v.getObjectFromArg0("value",t,e));case"cos":return y.cosObject(v.getObjectFromArg0("value",t,e));case"div":return y.divObject(v.getObjectFromArg(0,"value1",t,e),v.getObjectFromArg(1,"value2",t,e),v.getObjectFromArg(2,"zeroResult",t,e));case"exp":return y.expObject(v.getObjectFromArg0("value",t,e));case"floor":return y.floorObject(v.getObjectFromArg0("value",t,e));case"log":return y.logObject(v.getObjectFromArg0("value",t,e));case"round":return y.roundObject(v.getObjectFromArg0("value",t,e));case"sign":return y.signObject(v.getObjectFromArg0("value",t,e));case"sin":return y.sinObject(v.getObjectFromArg0("value",t,e));case"sqrt":return y.sqrtObject(v.getObjectFromArg0("value",t,e));case"tan":return y.tanObject(v.getObjectFromArg0("value",t,e));case"truncate":return y.truncateObject(v.getObjectFromArg0("value",t,e));default:if(y.existsCustomFunction(t))return y.invokeCustomFunction(t,v.evaluateArgs(e));throw new m(t)}},v.prototype.getVariableValue=function(t){var e;if(o.isNullOrWhiteSpace(t))return null;if(this.nameToValue.keys.contains(t))return this.nameToValue.get(t);var e=null===(e=this.dictionary)||void 0===e?void 0:e.getVariableValueByName(t);return this.nameToValue.set(t,e),e},v.prototype.isVariable=function(t){var e;if(o.isNullOrWhiteSpace(t))return!1;if(this.nameToVariable.keys.contains(t))return!0;var e=null===(e=this.dictionary)||void 0===e?void 0:e.getVariableValueByName(t);return null!=e&&(this.nameToValue.set(t,e),!0)},v.prototype.isSystemVariable=function(t){var e=null==t?void 0:t.toLowerCase();if("line"==e)return!0;if("lineabc"==e)return!0;if("lineroman"==e)return!0;return this.dictionary.isSystemVariable(t)},v.prototype.getSystemVariableValue=function(t){var e=null==t?void 0:t.toLowerCase();if("line"==e)return a.Line;if("lineabc"==e)return a.LineABC;if("lineroman"==e)return a.LineRoman;return this.dictionary.getSystemVariableValue(t)},v.getObjectFromArg=function(t,e,n,r){if(t>=r.parameters.length)throw new s(n,e);return r.parameters[t].evaluate()},v.evaluateArgs=function(t){return t.parameters.select(function(t){return t.evaluate()})},v.getObjectFromArg0=function(t,e,n){return v.getObjectFromArg(0,t,e,n)},v.getObjectFromArg1=function(t,e,n){return v.getObjectFromArg(1,t,e,n)},v.getObjectFromArg2=function(t,e,n){return v.getObjectFromArg(2,t,e,n)},v.getDataColumnFromArg0=function(t,e){return v.getObjectFromArg0("dataColumn",t,e)},v.prototype.getDataColumnIndex=function(t){var e=this;if(null==this.table)return-1;if(this.nameToIndex.contains(t))return this.nameToIndex.get(t);var n=y.toDataName(t),r=this.table.columns.toList().cast().firstOrDefault(function(t){return e.dataEqual(t,n)});if(null==r)return-1;var r=this.table.columns.indexOf(r);if(-1==r)return-1;return this.nameToIndex.add(t,r),r},v.prototype.dataEqual=function(t,e){var t=y.toDataName(t.columnName);if(!e.stimulsoft.contains("."))return!1;return t==e},v.prototype.getDimensionIndex=function(t){return this.meters.where(function(t){return t.is(u)}).indexOf(t)},n=v,i.StiDataParser=n}(Stimulsoft=Stimulsoft||{}),function(t){var e,n,r,h,p,i,a,o,s,f,u,l,c,m;function d(t,e,n,r){var n=m.call(this,t,e,n)||this;return n.queryToExpression=new c,n.expressionToPair=new c,n.grandRows=r,n}n=e=t.Data||(t.Data={}),h=r=n.Parsers||(n.Parsers={}),p=t.System.StiString,i=t.System.Exception,a=t.Data.Types.DateTimeValue,o=t.Data.Types.SimpleValue,s=t.Data.Helpers.StiExpressionHelper,f=t.Data.Functions.Funcs,u=t.Base.Meters.IStiDimensionMeter,l=t.Base.Meters.IStiMeasureMeter,c=t.System.Collections.Dictionary,m=h.StiDataParser,__extends(d,m),d.prototype.calculate=function(){var n=this;return this.grandRows.select(function(e){return n.meters.select(function(t){return n.calculateMeter(t,e.key,e)},n)},this)},d.prototype.calculateMeter=function(t,e,n){void 0===e&&(e=null),void 0===n&&(n=null);var r=t.as(u);if(null!=r)return this.calculateDimension(r,e);var e=t.as(l);if(null!=e){var t=this.getMeasureColumn(e);return null==t?this.calculateMeasureExpression(e,n):this.calculateMeasureFunction(t.function,t.columnName,n)}throw new i("NotSupportedException")},d.prototype.calculateDimension=function(t,e){var t=this.getDimensionIndex(t);if(-1==t)return null;var t=e&&e[t];return(null!=t&&t.stimulsoft.is(o)||null!=t&&t.stimulsoft.is(a))&&(t=t.value),t},d.prototype.calculateMeasureFunction=function(t,e,n){var r=this.getDataColumnIndex(e);if(-1==r)return null;var n=n.select(function(t){return t[r]});return f.calculate(t,n)},d.prototype.calculateMeasureExpression=function(t,e){if(p.isNullOrWhiteSpace(t.expression))return null;var t=this.getExpression(t.expression);return this.currentRows=e,t.evaluate()},d.prototype.getMeasureColumn=function(i){var e,t;if(null==this.table)return null;if(p.isNullOrWhiteSpace(i.expression))return null;if(this.expressionToPair.contains(i.expression))return this.expressionToPair.get(i.expression);var a=i.expression.trim().toLowerCase(),n=f.getMeasureFunctions(),r=function(t){var e=f.toLowerCase(t),n=o.table.columns.toList().cast().firstOrDefault(function(t){return e+"("+f.toLowerCase(t.columnName).trim()+")"==a||e+"(["+f.toLowerCase(t.columnName).trim()+"])"==a});if(null!=n){var r=new h.StiFunctionColumnPair;return r.function=t,r.columnName=n.columnName,o.expressionToPair.add(i.expression,r),{value:r}}},o=this;try{for(var s=__values(n),u=s.next();!u.done;u=s.next()){var l,c=r(u.value);if("object"==typeof c)return c.value}}catch(t){e={error:t}}finally{try{u&&!u.done&&(t=s.return)&&t.call(s)}finally{if(e)throw e.error}}return null},d.prototype.getExpression=function(t){if(this.queryToExpression.contains(t))return this.queryToExpression.get(t);var e=s.newExpression(t),n=this;return e.evaluateFunction=function(t,e){return e.result=n.runFunction(t,e)},e.evaluateParameter=function(e,t){n.isSystemVariable(e)?t.result=n.getSystemVariableValue(e):n.isVariable(e)?t.result=n.getVariableValue(e):t.result=n.isGrandTotal?n.grandRows.selectMany(function(t){return t.select(function(t){return n.getDataRowValue(e,t)})}):null!=n.currentRows?n.currentRows.select(function(t){return n.getDataRowValue(e,t)}):null},this.queryToExpression.set(t,e),e},d.prototype.getDataRowValue=function(t,e){var n;return-1==this.getDataColumnIndex(t)?null:e[this.getDataColumnIndex(t)]},n=d,h.StiMeasureDataParser=n}(Stimulsoft=Stimulsoft||{}),function(t){var e,n,r,i,a,o,s,u,l,c,h,p,f,m;function d(t,e,n){var e=m.call(this,t,e,n)||this;return e.queryToExpression=new c,e.expressionToColumn=new c,e.dimensions=n.where(function(t){return t.is(p)}).cast(),e}n=e=t.Data||(t.Data={}),i=r=n.Parsers||(n.Parsers={}),a=t.Data.Engine.IStiDataFormat,o=t.Data.Engine.StiDataFormatKind,s=t.System.StiString,u=t.Data.Helpers.StiDateTimeCorrector,l=t.Data.Helpers.StiExpressionHelper,c=t.System.Collections.Dictionary,h=t.System.DateTime,p=t.Base.Meters.IStiDimensionMeter,f=t.Data.Functions.Funcs,m=i.StiDataParser,__extends(d,m),d.prototype.calculate=function(t,e){return this.currentRow=t,d.normalizeDates(this.dimensions.select(this.calculateDimension,this),e)},d.normalizeDates=function(t,e){var n=this;if(null==e)return t;var r=0;return t.select(function(t){return n.normalizeDate(t,n.getMeter(e,r++))},this)},d.getMeter=function(t,e){return e<t.length?t[e]:null},d.normalizeDate=function(t,e){var e=e.as(a);if(null!=e&&e.getDataFormat()==o.Time)return t;return t instanceof h?u.correct(t):t},d.prototype.calculateDimension=function(t){if(s.isNullOrWhiteSpace(t.expression))return null;try{var e=this.getDimensionGroupColumn(t);return null==e?this.calculateDimensionExpression(t):this.calculateDimensionGroup(e)}catch(t){return null}},d.prototype.getDimensionGroupColumn=function(t){if(null==this.table)return null;if(s.isNullOrWhiteSpace(t.expression))return null;if(this.expressionToColumn.contains(t.expression))return this.expressionToColumn.get(t.expression);var e=f.toDataName(t.expression),n=this.table.columns.toList().cast().firstOrDefault(function(t){return f.toDataName(t.columnName)==e}),n=null!=n?n.columnName:null;return this.expressionToColumn.add(t.expression,null!=n?n:null),n},d.prototype.calculateDimensionExpression=function(t){var t=this.getExpression(t.expression);if(null==t)return null;return t.evaluate()},d.prototype.calculateDimensionGroup=function(t){var e=this.getDataColumnIndex(t),t=this.currentRow[e];return this.normalizeEnum(t,e)},d.prototype.normalizeEnum=function(t,e){return t},d.prototype.getExpression=function(t){if(this.queryToExpression.contains(t))return this.queryToExpression.get(t);var e=l.newExpression(t),n=this;return e.evaluateFunction=function(t,e){return e.result=n.runFunction(t,e)},e.evaluateParameter=function(t,e){var t;n.isSystemVariable(t)?e.result=n.getSystemVariableValue(t):n.isVariable(t)?e.result=n.getVariableValue(t):0<=(t=n.getDataColumnIndex(t))&&t<n.currentRow.length?e.result=n.currentRow[t]:e.result=null},this.queryToExpression.set(t,e),e},n=d,i.StiDimensionDataParser=n}(Stimulsoft=Stimulsoft||{}),function(t){var e,n,r,p,f,m,i,a,o,s,d,u;function l(){}n=e=t.Data||(t.Data={}),p=r=n.Engine||(n.Engine={}),f=t.System.StiArray,m=t.Data.Extensions.ListExt,i=t.Data.Parsers.StiMeasureDataParser,a=t.Base.Meters.IStiMeasureMeter,o=t.Base.Meters.IStiDimensionMeter,s=t.Data.Parsers.StiDimensionDataParser,d=t.System.Collections.List,u=t.Data.Engine.IStiSkipNormalizeDate,l.create=function(e,n){var r=this;try{for(var t=n.select(function(t){return r.getData(e,t,n)},this),i=t.where(m.isList),a=i.any()?i.max(function(t){return m.toList(t).count2()}):1,a=Math.max(1,a),o=t.select(function(t){return r.convert(t,a)}),s=n.count2(),u=new d,l=0;l<a;l++){for(var c=f.create(Object,s),h=0;h<s;h++)c[h]=o[h][l];u.add(c)}return new p.StiDataTable(n,u)}catch(t){return new p.StiDataTable(n,new d)}},l.convert=function(t,e){if(m.isList(t)){var n=m.toList(t),r=d.repeat(n.lastOrDefault(),e).stimulsoft.toArray(),i=0;return n.toList().forEach(function(t){return r[i++]=t}),r}return d.repeat(t,e).stimulsoft.toArray()},l.getData=function(t,e,n){if(e.is2(o))return n.any(function(t){return t.is(u)})&&(n=null),new s(t,null,new d([e])).calculate([null],n).stimulsoft.toList().firstOrDefault();if(e.is2(a))return new i(t,null,new d([e]),null).calculateMeter(e);return null},n=l,p.StiDataCreator=n}(Stimulsoft=Stimulsoft||{}),function(t){var e,n,r,i,a,o,s,u,l;function c(){}n=e=t.Data||(t.Data={}),i=r=n.Engine||(n.Engine={}),a=t.System.StiString,o=t.Data.Helpers.StiExpressionHelper,s=t.Data.Functions.Funcs,u=t.System.Collections.List,l=t.System.Type,c.getDataColumnFromExpression=function(t,e){if(a.isNullOrWhiteSpace(e))return null;e=o.removeFunction(e);var e=o.getArguments(e);if(null==e||1!=e.count2())return null;var n=e.firstOrDefault();if(a.isNullOrWhiteSpace(n))return null;n=s.toDataName(n);var t=t&&t.getDataSources(new u([n]));if(null==t||!t.any())return null;var r=t.first();return r.fetchColumns().firstOrDefault(function(t){return s.isDataEqual(r,t.getName(),n)})},c.isDateDataColumnInExpression=function(t,e){var e=this.getDataColumnFromExpression(t,e);return null!=e&&null!=e.getDataType()&&l.isDateType(e.getDataType())},c.isNumericDataColumnInExpression=function(t,e){var e=this.getDataColumnFromExpression(t,e);return null!=e&&null!=e.getDataType()&&l.isNumericType(e.getDataType())},n=c,i.StiDataExpressionHelper=n}(Stimulsoft=Stimulsoft||{}),function(t){var e,n,r,i,a,o,s;function u(t){this.convertStrings=t}n=e=t.Data||(t.Data={}),i=r=n.Engine||(n.Engine={}),a=t.System.Type,o=t.System.Convert,s=t.System.DateTime,u.prototype.compare=function(t,e){if(null==t&&null==e)return 0;if(null==t)return 1;if(null==e)return-1;if(a.getType(t)==Number&&a.getType(e)==Number)return o.toNumber(t).stimulsoft.compareTo(o.toNumber(e));if("string"==typeof t&&"string"==typeof e)return t.stimulsoft.compareTo(e);if(t instanceof s&&e instanceof s)return-t.compareTo(e);if("string"==typeof t&&a.getType(e)==Number)return this.convertStrings?o.toNumber(t).stimulsoft.compareTo(o.toNumber(e)):-1;if(1&&a.getType(t)==Number)return this.convertStrings?o.toNumber(t).stimulsoft.compareTo(o.toNumber(e)):1;return 0},n=u,i.StiDataFilterComparer=n}(Stimulsoft=Stimulsoft||{}),function(t){var e,n,r,i,a;function o(){}n=e=t.Data||(t.Data={}),i=r=n.Engine||(n.Engine={}),a=t.Base.Localization.StiLocalization,o.convertStringToCondition=function(t){if(t==a.get("PropertyEnum","StiFilterConditionEqualTo"))return i.StiDataFilterCondition.EqualTo;if(t==a.get("PropertyEnum","StiFilterConditionNotEqualTo"))return i.StiDataFilterCondition.NotEqualTo;if(t==a.get("PropertyEnum","StiFilterConditionBetween"))return i.StiDataFilterCondition.Between;if(t==a.get("PropertyEnum","StiFilterConditionNotBetween"))return i.StiDataFilterCondition.NotBetween;if(t==a.get("PropertyEnum","StiFilterConditionGreaterThan"))return i.StiDataFilterCondition.GreaterThan;if(t==a.get("PropertyEnum","StiFilterConditionGreaterThanOrEqualTo"))return i.StiDataFilterCondition.GreaterThanOrEqualTo;if(t==a.get("PropertyEnum","StiFilterConditionLessThan"))return i.StiDataFilterCondition.LessThan;if(t==a.get("PropertyEnum","StiFilterConditionLessThanOrEqualTo"))return i.StiDataFilterCondition.LessThanOrEqualTo;if(t==a.get("PropertyEnum","StiFilterConditionContaining"))return i.StiDataFilterCondition.Containing;if(t==a.get("PropertyEnum","StiFilterConditionNotContaining"))return i.StiDataFilterCondition.NotContaining;if(t==a.get("PropertyEnum","StiFilterConditionBeginningWith"))return i.StiDataFilterCondition.BeginningWith;if(t==a.get("PropertyEnum","StiFilterConditionEndingWith"))return i.StiDataFilterCondition.EndingWith;if(t==a.get("PropertyEnum","StiFilterConditionIsNull"))return i.StiDataFilterCondition.IsNull;if(t==a.get("PropertyEnum","StiFilterConditionIsNotNull"))return i.StiDataFilterCondition.IsNotNull;if(t==a.get("PropertyEnum","StiFilterConditionIsBlank"))return i.StiDataFilterCondition.IsBlank;if(t==a.get("PropertyEnum","StiFilterConditionIsNotBlank"))return i.StiDataFilterCondition.IsNotBlank;return i.StiDataFilterCondition.EqualTo},o.convertConditionToString=function(t){switch(t){case i.StiDataFilterCondition.EqualTo:return a.get("PropertyEnum","StiFilterConditionEqualTo");case i.StiDataFilterCondition.NotEqualTo:return a.get("PropertyEnum","StiFilterConditionNotEqualTo");case i.StiDataFilterCondition.Between:return a.get("PropertyEnum","StiFilterConditionBetween");case i.StiDataFilterCondition.NotBetween:return a.get("PropertyEnum","StiFilterConditionNotBetween");case i.StiDataFilterCondition.GreaterThan:return a.get("PropertyEnum","StiFilterConditionGreaterThan");case i.StiDataFilterCondition.GreaterThanOrEqualTo:return a.get("PropertyEnum","StiFilterConditionGreaterThanOrEqualTo");case i.StiDataFilterCondition.LessThan:return a.get("PropertyEnum","StiFilterConditionLessThan");case i.StiDataFilterCondition.LessThanOrEqualTo:return a.get("PropertyEnum","StiFilterConditionLessThanOrEqualTo");case i.StiDataFilterCondition.Containing:return a.get("PropertyEnum","StiFilterConditionContaining");case i.StiDataFilterCondition.NotContaining:return a.get("PropertyEnum","StiFilterConditionNotContaining");case i.StiDataFilterCondition.BeginningWith:return a.get("PropertyEnum","StiFilterConditionBeginningWith");case i.StiDataFilterCondition.EndingWith:return a.get("PropertyEnum","StiFilterConditionEndingWith");case i.StiDataFilterCondition.IsNull:return a.get("PropertyEnum","StiFilterConditionIsNull");case i.StiDataFilterCondition.IsNotNull:return a.get("PropertyEnum","StiFilterConditionIsNotNull");case i.StiDataFilterCondition.IsBlank:return a.get("PropertyEnum","StiFilterConditionIsBlank");case i.StiDataFilterCondition.IsNotBlank:return a.get("PropertyEnum","StiFilterConditionIsNotBlank")}return""},n=o,i.StiDataFilterHelper=n}(Stimulsoft=Stimulsoft||{}),function(t){var e,n,r,l,i,a,o,s,u,c,h,p;function f(t,e,n,r,i,a,o,s){void 0===r&&(r=null),void 0===i&&(i=null),void 0===a&&(a=!0),void 0===o&&(o=!1);var u=p.call(this)||this;return u.condition=l.StiDataFilterCondition.EqualTo,u.isEnabled=!0,u.isExpression=!1,null==n&&(n=l.StiDataFilterCondition.EqualTo),u.key=t,u.path=e,u.path2=s,u.condition=n,u.value=r,u.value2=i,u.isEnabled=a,u.isExpression=o,u}n=e=t.Data||(t.Data={}),l=r=n.Engine||(n.Engine={}),i=t.System.StiString,a=t.System.StiNumber,o=t.System.DateTime,s=t.System.Collections.List,u=t.Base.Localization.StiLocalization,c=t.Base.StiJson,h=t.System.Enum,p=l.StiDataRule,__extends(f,p),f.prototype.saveToJsonObject=function(t){var e=new c;return e.addPropertyStringNullOrEmpty("Key",this.key),e.addPropertyStringNullOrEmpty("Path",this.path),e.addPropertyStringNullOrEmpty("Path2",this.path2),e.addPropertyEnum("Condition",l.StiDataFilterCondition,this.condition,l.StiDataFilterCondition.EqualTo),e.addPropertyStringNullOrEmpty("Value",this.value),e.addPropertyStringNullOrEmpty("Value2",this.value2),e.addPropertyBool("IsEnabled",this.isEnabled,!0),e.addPropertyBool("IsExpression",this.isExpression),e},f.prototype.loadFromJsonObject=function(t){var e,n;try{for(var r=__values(t.properties()),i=r.next();!i.done;i=r.next()){var a=i.value;switch(a.name){case"Key":this.key=a.value;break;case"Path":this.path=a.value;break;case"Path2":this.path2=a.value;break;case"Condition":this.condition=h.parse(l.StiDataFilterCondition,a.value);break;case"Value":this.value=a.value;break;case"Value2":this.value2=a.value;break;case"IsEnabled":this.isEnabled=a.value.stimulsoft.toBoolean();break;case"IsExpression":this.isExpression=a.value.stimulsoft.toBoolean();break}}}catch(t){e={error:t}}finally{try{i&&!i.done&&(n=r.return)&&n.call(r)}finally{if(e)throw e.error}}},f.prototype.loadFromXml=function(t,e){for(var n=0;n<t.childNodes.length;n++){var r=t.childNodes[n];switch(r.nodeName){case"Key":this.key=r.textContent;break;case"Path":this.path=r.textContent;break;case"Path2":this.path2=r.textContent;break;case"Condition":this.condition=h.parse(l.StiDataFilterCondition,r.textContent);break;case"Value":this.value=r.textContent;break;case"Value2":this.value2=r.textContent;break;case"IsEnabled":this.isEnabled=r.textContent.stimulsoft.toBoolean();break;case"IsExpression":this.isExpression=r.textContent.stimulsoft.toBoolean();break}}},f.loadFromJson=function(t){var e=new f;return e.loadFromJsonObject(t),e},f.loadFromXml=function(t){var e=new f;return e.loadFromXml(t,!1),e},f.prototype.toString=function(){return this.path+" "+this.condition+" "+this.value},f.prototype.getUniqueCode=function(){var t=null!=this.key?this.key.stimulsoft.getHashCode():0,t;return t=397*(t=397*(t=397*(t=397*(t=397*(t=397*(t=397*t^(null!=this.path?this.path.stimulsoft.getHashCode():0))^(null!=this.path2?this.path2.stimulsoft.getHashCode():0))^this.condition.stimulsoft.getHashCode())^(null!=this.value?this.value.stimulsoft.getHashCode():0))^(null!=this.value2?this.value2.stimulsoft.getHashCode():0))^this.isEnabled.stimulsoft.getHashCode())^this.isExpression.stimulsoft.getHashCode(),Math.abs(t)},f.prototype.toList=function(){return new s([this])},f.prototype.getStringRepresentation=function(){var t=this.path,e=this.path2,n=this.getValue(this.value),r=this.getValue(this.value2);switch(i.isNullOrWhiteSpace(t)&&(t="["+u.get("PropertyMain","Field")+"]"),i.isNullOrWhiteSpace(e)&&(e="["+u.get("PropertyMain","Field")+"]"),i.isNullOrWhiteSpace(n)&&(n="["+u.get("PropertyMain","Value")+"]"),i.isNullOrWhiteSpace(r)&&(r="["+u.get("PropertyMain","Value")+"]"),this.condition){case l.StiDataFilterCondition.IsBlank:return t+" "+u.get("PropertyEnum","StiFilterConditionIsBlank")+" "+n;case l.StiDataFilterCondition.IsNotBlank:return t+" "+u.get("PropertyEnum","StiFilterConditionIsNotBlank")+" "+n;case l.StiDataFilterCondition.IsNull:return t+" "+u.get("PropertyEnum","StiFilterConditionIsNull")+" "+n;case l.StiDataFilterCondition.IsNotNull:return t+" "+u.get("PropertyEnum","StiFilterConditionIsNotNull")+" "+n;case l.StiDataFilterCondition.Containing:return t+" "+u.get("PropertyEnum","StiFilterConditionContaining")+" "+n;case l.StiDataFilterCondition.NotContaining:return t+" "+u.get("PropertyEnum","StiFilterConditionNotContaining")+" "+n;case l.StiDataFilterCondition.PairEqualTo:return t+" = "+n+" AND "+e+" = "+r;case l.StiDataFilterCondition.EqualTo:return t+" = "+n;case l.StiDataFilterCondition.NotEqualTo:return t+" <> "+n;case l.StiDataFilterCondition.GreaterThan:return t+" > "+n;case l.StiDataFilterCondition.GreaterThanOrEqualTo:return t+" >= "+n;case l.StiDataFilterCondition.LessThan:return t+" < "+n;case l.StiDataFilterCondition.LessThanOrEqualTo:return t+" <= "+n;case l.StiDataFilterCondition.BeginningWith:return t+" "+u.get("PropertyEnum","StiFilterConditionBeginningWith")+" "+n;case l.StiDataFilterCondition.EndingWith:return t+" "+u.get("PropertyEnum","StiFilterConditionEndingWith")+" "+n;case l.StiDataFilterCondition.Between:return t+" "+u.get("PropertyEnum","StiFilterConditionBetween")+" "+n+" "+u.get("PropertyEnum","StiFilterModeAnd").toLowerCase()+" "+r;case l.StiDataFilterCondition.NotBetween:return t+" "+u.get("PropertyEnum","StiFilterConditionNotBetween")+" "+n+" "+u.get("PropertyEnum","StiFilterModeAnd").toLowerCase()+" "+r;default:return""}},f.prototype.getValue=function(t){t=t||"";var e=o.fromString2("MM/dd/yyyy",t,!1);if(null!=e)return"'"+e.toShortDateString()+"'";var e=a.tryParse(t);if(e.successfully)return""+e.result;if(null!=t&&("true"==t.toLowerCase()||"false"==t.toLowerCase()))return t;return"'"+t+"'"},n=f,l.StiDataFilterRule=n}(Stimulsoft=Stimulsoft||{}),function(t){var e,n,r,t,i;function a(t){return i.call(this,"'"+t+"' Is Not Recognized!")||this}n=e=t.Data||(t.Data={}),t=r=n.Exceptions||(n.Exceptions={}),i=t.StiDataException,__extends(a,i),n=a,t.StiTypeNotRecognizedException=n}(Stimulsoft=Stimulsoft||{}),function(t){var e,n,r,T,m,a,i,o,x,l,s,E,c,u;function d(){}n=e=t.Data||(t.Data={}),T=r=n.Engine||(n.Engine={}),m=t.System.StiString,a=t.System.StiNumber,i=t.Base.Helpers.StiValueHelper,o=t.System.Globalization.CultureInfo,x=t.System.Enum,l=t.System.Type,s=t.Base.StiKeyHelper,E=t.Data.Helpers.StiExpressionHelper,c=t.Data.Exceptions.StiTypeNotRecognizedException,u=t.System.DateTime,d.toList=function(){for(var t=[],e=0;e<arguments.length;e++)t[e]=arguments[e];return t.stimulsoft.toList()},d.validate=function(t,e){return t.where(function(t){return s.isKey(t.key)&&e.contains(t.key)}).toList()},d.getDataTableFilterQuery=function(t,e,n){return d.getDataTableFilterQuery2(t,e.select(function(t){return t.getName()}).toList(),e.select(function(t){return t.getDataType()}).toList(),n)},d.getDataTableFilterQuery2=function(r,i,a,o){var e,t,s=this;if(null==r)return"";var u="";r.any(function(t){return t.condition==T.StiDataFilterCondition.IsFalse})&&(r=r.firstOrDefault(function(t){return t.condition==T.StiDataFilterCondition.IsFalse}).toList());var l=r.where(function(t){return t.isEnabled&&!m.isNullOrWhiteSpace(t.path)}).orderBy(function(e){return null!=i?i.findIndex2(function(t){return t==e.path}):null}).groupBy(d.getFullPath),n=function(e){var t=r.where(function(t){return t.isEnabled&&s.getFullPath(t)==e.key}),n=c.getFilterGroupQuery(t,i,a,o);0<n.length&&(0<u.length&&(u+=" AND "),1<t.count2()&&1<l.count2()&&(u+="("),u=u+=n,1<t.count2()&&1<l.count2()&&(u+=")"))},c=this;try{for(var h=__values(l),p=h.next(),f;!p.done;p=h.next()){n(p.value)}}catch(t){e={error:t}}finally{try{p&&!p.done&&(t=h.return)&&t.call(h)}finally{if(e)throw e.error}}return u},d.getFullPath=function(t){return null==t.elementKey?t.path:t.path+t.elementKey},d.getFilterGroupQuery=function(t,e,n,r){var i,a,o=this,s="",u=t.where(function(t){return o.getFilterOperation(t)==T.StiDataFilterOperation.OR}),l=t.where(function(t){return o.getFilterOperation(t)==T.StiDataFilterOperation.AND}),c=!1;try{for(var h=__values(u.concat(l)),p=h.next();!p.done;p=h.next()){var f=p.value,m=null!=e?this.getColumnIndex(e,f):0,d=m;f.condition==T.StiDataFilterCondition.PairEqualTo&&(d=null!=e?this.getColumnIndex2(e,f):0);var y=this.getFilterOperation(f);0<s.length?(c&&y==T.StiDataFilterOperation.AND&&(c=!1,s+=")"),s+=" "+x.getName(T.StiDataFilterOperation,y)+" "):y==T.StiDataFilterOperation.OR&&l.any()&&(c=!0,s+="(");var g=null!=e&&-1!=m?e[m]:f.path,S=null!=n&&-1!=m?n[m]:Object,v=g,y=S;f.condition==T.StiDataFilterCondition.PairEqualTo&&(v=null!=e&&-1!=d?e[d]:f.path2,y=null!=n&&-1!=d?n[d]:Object);var m=f.isExpression?E.parseReportExpression(r,f.value,!1):this.getValue(S,f.value),d=f.isExpression?E.parseReportExpression(r,f.value2,!1):this.getValue(S,f.value2),b,s=s+=this.getCondition(g,v,f.condition,m,d,S,y)}}catch(t){i={error:t}}finally{try{p&&!p.done&&(a=h.return)&&a.call(h)}finally{if(i)throw i.error}}return c&&(s+=")"),s},d.getValue=function(t,e){if(t==String)return e;if(t!=Number)return null==e?"":e;var n=o.currentCulture;try{if(o.currentCulture=o.cultures["en-US"],t==Number){var r=i.tryToNullableNumber(e);if(null!=r)return r.toString()}return e}finally{o.currentCulture=n}},d.getColumnIndex=function(t,e){var n=e.path,e=t.indexOf(n);if(-1!=e)return e;if(-1!=(e=(t=t.select(function(t){return t.stimulsoft.replaceAll(" ","")})).indexOf(n)))return e;return n.stimulsoft.startsWith("[")&&(n=n.substring(1)),n.stimulsoft.endsWith("]")&&(n=n.substring(0,n.length-1)),t.indexOf(n)},d.getColumnIndex2=function(t,e){var n=e.path2;if(m.isNullOrEmpty(n))return 0;var e=t.indexOf(n);if(-1!=e)return e;if(-1!=(e=(t=t.select(function(t){return t.stimulsoft.replaceAll(" ","")})).indexOf(n)))return e;return n.stimulsoft.startsWith("[")&&(n=n.substring(1)),n.stimulsoft.endsWith("]")&&(n=n.substring(0,n.length-1)),t.indexOf(n)},d.getCondition=function(t,e,n,r,i,a,o){var s=T.StiDataColumnRuleHelper.getGoodColumnName(t),u=l.isDateType(a);switch(n){case T.StiDataFilterCondition.EqualTo:return r=this.getQueryValue(r,a,!0),u?"("+s+" >= "+r+" 00:00:00 AND "+s+" <= "+r+" 23:59:59)":s+" = "+r;case T.StiDataFilterCondition.NotEqualTo:return r=this.getQueryValue(r,a,!0),u?"("+s+" < "+r+" 00:00:00 OR "+s+" > "+r+" 23:59:59)":s+" <> "+r;case T.StiDataFilterCondition.GreaterThan:return r=this.getQueryValue(r,a,!0),u?s+" > "+r+" 23:59:59":s+" > "+r;case T.StiDataFilterCondition.GreaterThanOrEqualTo:return r=this.getQueryValue(r,a,!0),u?s+" >= "+r+" 00:00:00":s+" >= "+r;case T.StiDataFilterCondition.LessThan:return r=this.getQueryValue(r,a,!0),u?s+" < "+r+" 00:00:00":s+" < "+r;case T.StiDataFilterCondition.LessThanOrEqualTo:return r=this.getQueryValue(r,a,!0),u?s+" <= "+r+" 23:59:59":s+" <= "+r;case T.StiDataFilterCondition.Between:return r=this.getQueryValue(r,a,!0),i=this.getQueryValue(i,a,!0),u?"("+s+" >= "+r+" 00:00:00 AND "+s+" <= "+i+" 23:59:59)":"("+s+" >= "+r+" AND "+s+" <= "+i+")";case T.StiDataFilterCondition.NotBetween:return r=this.getQueryValue(r,a,!0),i=this.getQueryValue(i,a,!0),u?"("+s+" < "+r+" 00:00:00 OR "+s+" > "+i+" 23:59:59)":"("+s+" < "+r+" OR "+s+" > "+i+")";case T.StiDataFilterCondition.Containing:return s+" LIKE '*"+(r=this.getQueryValue(r,a,!1))+"*'";case T.StiDataFilterCondition.NotContaining:return"NOT ("+s+" LIKE '*"+(r=this.getQueryValue(r,a,!1))+"*')";case T.StiDataFilterCondition.BeginningWith:return s+" LIKE '"+(r=this.getQueryValue(r,a,!1))+"*'";case T.StiDataFilterCondition.EndingWith:return s+" LIKE '*"+(r=this.getQueryValue(r,a,!1))+"'";case T.StiDataFilterCondition.IsNull:return s+" IS NULL";case T.StiDataFilterCondition.IsNotNull:return s+" IS NOT NULL";case T.StiDataFilterCondition.IsBlank:return"TRIM("+s+") = ''";case T.StiDataFilterCondition.IsNotBlank:return"TRIM("+s+") <> ''";case T.StiDataFilterCondition.IsBlankOrNull:return"(TRIM("+s+") = '' OR "+s+" IS NULL)";case T.StiDataFilterCondition.IsFalse:return"FALSE";case T.StiDataFilterCondition.PairEqualTo:var t=T.StiDataColumnRuleHelper.getGoodColumnName(e),u=null==r?"IS":"=",e=null==i?"IS":"=";r=null!=r||l.isDateType(a)?this.getQueryValue(r,a,!0):"NULL",i=null!=i||l.isDateType(o)?this.getQueryValue(i,o,!0):"NULL";var u=l.isDateType(a)?s+" >= "+r+" 00:00:00 AND "+s+" <= "+r+" 23:59:59 AND ":s+" "+u+" "+r+" AND ";return l.isDateType(o)?u+t+" >= "+i+" 00:00:00 AND "+t+" <= "+i+" 23:59:59#":u+t+" "+e+" "+i;case T.StiDataFilterCondition.MapEqualTo:return s+" = "+(r=this.getQueryValue(r,a,!0));default:throw new c(n).message}},d.getQueryValue=function(t,e,n){if(null==t&&(t=""),null==e)return t;if(l.isNumericType(e)){if(m.isNullOrEmpty(t))return"0";var r=void 0;if(!a.tryParse(t).successfully)return"0";return t}if(e==Boolean)return(null!=t&&"true"==t.toLowerCase()).toString();if(l.isDateType(e)){var i=void 0,e=u.tryParseExact(t,["MM/DD/YYYY"]),i;return(i=e.successfully||(e=u.tryParseExact(t,["MM/DD/YYYY H:mm:ss a"])).successfully?e.result:new u(1800,1,1,0,0,0,0)).toString("MM/dd/yyyy")}if(m.isNullOrEmpty(t)||(t=t.stimulsoft.replaceAll("'","''")),n)return"'"+t+"'";return t},d.getFilterOperation=function(t){return t.condition==T.StiDataFilterCondition.EqualTo||t.condition==T.StiDataFilterCondition.BeginningWith||t.condition==T.StiDataFilterCondition.EndingWith||t.condition==T.StiDataFilterCondition.Between||t.condition==T.StiDataFilterCondition.Containing||t.condition==T.StiDataFilterCondition.GreaterThan||t.condition==T.StiDataFilterCondition.GreaterThanOrEqualTo||t.condition==T.StiDataFilterCondition.LessThan||t.condition==T.StiDataFilterCondition.LessThanOrEqualTo||t.condition==T.StiDataFilterCondition.IsNull||t.condition==T.StiDataFilterCondition.IsBlank||t.condition==T.StiDataFilterCondition.IsBlankOrNull||t.condition==T.StiDataFilterCondition.PairEqualTo?T.StiDataFilterOperation.OR:T.StiDataFilterOperation.AND},d.getFilterRulesHash=function(t,e){var n=this;if(null==e||!e.any())return 0;var r=null!=t?t.getDictionary().fetchVariables():null;if(null==r||!r.any())return 0;return e.select(function(t){return n.getFilterRulesHash2(r,t)}).aggregate2(0,function(t,e){return t+e})},d.getFilterRulesHash2=function(t,e){if(!e.isExpression)return 0;switch(e.condition){case T.StiDataFilterCondition.Between:case T.StiDataFilterCondition.NotBetween:return this.getFilterRuleHash3(t,e.value)+this.getFilterRuleHash3(t,e.value2);default:return this.getFilterRuleHash3(t,e.value)}},d.getFilterRuleHash3=function(t,e){var n,r;if(m.isNullOrWhiteSpace(e))return 0;e=e.toLowerCase();var i=0;try{for(var a=__values(t),o=a.next();!o.done;o=a.next()){var s=o.value,s,u;e.stimulsoft.contains(s.getName().toLowerCase())&&(i+=null!=(s=s.getValue().toString())?s.stimulsoft.getHashCode():0)}}catch(t){n={error:t}}finally{try{o&&!o.done&&(r=a.return)&&r.call(a)}finally{if(n)throw n.error}}return i},n=d,T.StiDataFilterRuleHelper=n}(Stimulsoft=Stimulsoft||{}),function(t){var e,n,r,u,l,c,h,p,f,m,a,s;function d(){}n=e=t.Data||(t.Data={}),u=r=n.Engine||(n.Engine={}),l=t.System.Data.DataRow,c=t.Data.Functions.Funcs,h=t.System.StiString,n=t.System.Collections.Dictionary,p=t.System.Collections.List,f=t.Data.Extensions.DataTableExt,m=t.Data.Engine.StiDataFilterRuleHelper,a=t.Base.StiKeyHelper,s=t.Data.Extensions.StiDataTableExt,d.filter=function(e,t,n,r){if(null==t||!t.any())return e;var i=e.toList().cast().select(function(t){return t.columnName}),a=e.toList().cast().select(function(t){return t.dataType}),o=t.where(function(t){return t.condition==u.StiDataFilterCondition.MapEqualTo});t=t.where(function(t){return t.condition!=u.StiDataFilterCondition.MapEqualTo});var s=m.getDataTableFilterQuery2(t,i,a,n);if(h.isNullOrWhiteSpace(s)&&!o.any())return e;var i=this.getFromCache(e,n,r);if(i==f.nullTable)return null;if(null!=i)return i;if(!h.isNullOrWhiteSpace(s)){var a=e.defaultView.rowFilter;try{e.defaultView.rowFilter=s}catch(t){e.defaultView.rowFilter=a}}return e.defaultView.rowFilter=s,i=e.defaultView.toTable(),o.any()&&(i=this.filterMapIdents(o,i)),this.addToCache(e,n,r,i),i},d.filter2=function(t,e,n,r){if(null==e||!e.any())return t;var i=s.toNetTable(t),a=i.toList().cast().select(function(t){return t.columnName}),o=i.toList().cast().select(function(t){return t.dataType}),a=m.getDataTableFilterQuery2(e,a,o,n),o;if(h.isNullOrWhiteSpace(a))return t;if((o=this.getFromCache2(t,n,r))==u.StiDataTable.nullTable)return null;if(null!=o)return o;i.defaultView.rowFilter=a;var i=i.defaultView.toTable().rows.toList().select(function(t){return t.itemArray}),o=new u.StiDataTable(t.meters,i);return this.addToCache2(t,n,r,o),o},d.filterMapIdents=function(t,e){var n,r,i=e.defaultView.toTable().rows.toList(),a=new p;try{for(var o=__values(t),s=o.next();!s.done;s=o.next()){var u=s.value;a.add({field:u.path,idents:c.getMapIdents(d.simplify(u.value)).select(function(t){return d.simplify(t)}).distinct().toList()})}}catch(t){n={error:t}}finally{try{s&&!s.done&&(r=o.return)&&r.call(o)}finally{if(n)throw n.error}}return(i=i.where(function(n){return a.any(function(e){return e.idents.any(function(t){return t==d.simplify(n.getValue(n.getDataColumn(e.field)))})})})).any()?e=l.copyToDataTable(i):e.rows.clear(),e},d.simplify=function(t){var t,t;return null===(t=null===(t=null==t?void 0:t.toLowerCase())||void 0===t?void 0:t.stimulsoft.replaceAll(" ",""))||void 0===t?void 0:t.stimulsoft.replaceAll("-","")},d.cleanCache=function(e){var n=this;null==e?(this.netCache.clear(),this.meterCache.clear()):(this.netCache.keys.toList().where(function(t){return t.stimulsoft.startsWith(e)}).forEach(function(t){return n.netCache.remove(t)}),this.meterCache.keys.toList().where(function(t){return t.stimulsoft.startsWith(e)}).forEach(function(t){return d.meterCache.remove(t)}))},d.getCacheKey=function(t,e,n){var r,i;return e.setKey(a.getOrGeneratedKey(e.getKey())),(e.getKey()||"")+"."+(t.toList().cast().select(function(t){return t.stimulsoft.getHashCode()}).aggregate2(0,function(t,e){return t+e})+n)},d.getCacheKey2=function(t,e,n){var r,i;return e.setKey(a.getOrGeneratedKey(e.getKey())),(e.getKey()||"")+"."+(t.meters.select(function(t){return t.getUniqueCode()}).aggregate2(0,function(t,e){return t+e})+n)},d.getFromCache=function(t,e,n){var n=this.getCacheKey(t,e,n);return this.netCache.contains(n)?d.netCache.get(n):null},d.getFromCache2=function(t,e,n){var n=this.getCacheKey2(t,e,n);return this.meterCache.contains(n)?d.meterCache.get(n):null},d.addToCache=function(t,e,n,r){var n=this.getCacheKey(t,e,n);null==r&&(r=f.nullTable),this.netCache.set(n,r)},d.addToCache2=function(t,e,n,r){var n=this.getCacheKey2(t,e,n);null==r&&(r=u.StiDataTable.nullTable),this.meterCache.set(n,r)},d.lockObject={},d.meterCache=new n,d.netCache=new n,n=d,u.StiDataFiltrator=n}(Stimulsoft=Stimulsoft||{}),function(t){var e,n,r,o,s,u,l,c;function i(){}n=e=t.Data||(t.Data={}),o=r=n.Engine||(n.Engine={}),s=t.Data.Parsers.StiDimensionDataParser,u=t.Data.Parsers.StiMeasureDataParser,l=t.Data.Comparers.StiArrayEqualityComparer,c=t.Data.Comparers.StiArrayComparer,i.group=function(t,e,n){var r=new s(t,e,n),i=n.toList();n.any(function(t){return t.is(o.IStiSkipNormalizeDate)})&&(i=null);var a=e.rows.toList().select(function(t){return t.itemArray}).groupBy(function(t){return r.calculate(t,i)},new l).orderBy(function(t){return t.key},new c),a=new u(t,e,n,a).calculate();return new o.StiDataTable(n,a)},n=i,o.StiDataGrouper=n}(Stimulsoft=Stimulsoft||{}),function(t){var e,n,r,v,b,T,x,E,w,s,i;function a(){}n=e=t.Data||(t.Data={}),v=r=n.Engine||(n.Engine={}),b=t.System.Data.DataRow,T=t.Data.Extensions.DataTableExt,n=t.System.Collections.Dictionary,x=t.System.Collections.List,E=t.System.Data.DataTable,w=t.System.Collections.Hashtable,s=t.System.Data.DataColumn,i=t.Base.StiKeyHelper,a.join=function(t,r,i,e){var n,a,o=this,s;if(t.count2()<2)return t.firstOrDefault();if((s=this.getFromCache(t,e))==T.nullTable)return null;if(null!=s)return s;var u,l=(u=t).first(),u=u.skip(1),c=new w,h=new x;s=l.copy(),this.copyColumns(l,s);var p=new x([l]),f=0,m=function(){var e=u[0];if(null==e)return"continue";var t=p.firstOrDefault(function(t){return null!=o.findLink(e,t,r)}),n=d.findLink(t,e,r);if((d.joinEngine==v.StiDataJoinEngine.V2||d.joinEngine==v.StiDataJoinEngine.V3||d.joinEngine==v.StiDataJoinEngine.V4)&&null==n&&2<u.length&&f<u.length)return u.splice(0,1),u.push(e),f++,"continue";if(null==t||null==n)return u.splice(0,1),null==c.get(e)?u.push(e):h.add(e),c.set(e,e),"continue";d.copyColumns(e,s);var t=0==s.rows.length?t:s,n=new v.StiDataRowJoiner(s,t,e).join(v.StiDataJoinType.Left,n,i);s=n.any()?b.copyToDataTable(n):new E,u.splice(0,1),p.add(e)},d=this;while(0<u.length)m();try{for(var y=__values(h),g=y.next();!g.done;g=y.next())var S=g.value,s=this.mergeInSequence(s,S)}catch(t){n={error:t}}finally{try{g&&!g.done&&(a=y.return)&&a.call(y)}finally{if(n)throw n.error}}return this.addToCache(t,s,e),s},a.copyColumns=function(t,e){var n,r;if(null==t||null==e)return;try{for(var i=__values(t.columns.list),a=i.next();!a.done;a=i.next()){var o=a.value;e.columns.contains(o.columnName)||e.columns.add(new s(o.columnName,o.dataType))}}catch(t){n={error:t}}finally{try{a&&!a.done&&(r=i.return)&&r.call(i)}finally{if(n)throw n.error}}},a.mergeInSequence=function(t,e){var n=new E;this.copyColumns(t,n),this.copyColumns(e,n);for(var r=0;r<t.rows.length;r++){var i=n.newRow();if(r<t.rows.length)for(var a=0;a<t.columns.length;a++)try{i.sett(a,t.rows.gett(r,a))}catch(t){}n.rows.add(i)}for(var r=0;r<e.rows.length;r++){var i=n.newRow();if(r<e.rows.length)for(var a=0;a<e.columns.length;a++)try{i.sett(t.columns.length+a,e.rows.gett(r,a))}catch(t){}n.rows.add(i)}return n},a.findLink=function(e,n,t){if(null==e||null==n)return null;var r=t.where(function(t){return t.parentTable==e.tableName&&t.childTable==n.tableName||t.parentTable==n.tableName&&t.childTable==e.tableName});if(r.any(function(t){return t.active}))return r.first(function(t){return t.active});if(r.any())return r.firstOrDefault();return(r=t.where(function(t){return t.parentTable==e.tableName&&t.childTable==n.tableName||t.parentTable==n.tableName&&t.childTable==e.tableName})).any(function(t){return t.active})?r.first(function(t){return t.active}):r.any()?r.firstOrDefault():null},a.getCacheKey=function(t,e){e.setKey(i.getOrGeneratedKey(e.getKey()));var e=e.getKey()||"",n;if(null==t||0==t.count2(function(t){return null!=t}))return e+".0";return e+"."+t.where(function(t){return null!=t}).selectMany(function(t){return t.columns.toList()}).select(function(t){return t.stimulsoft.getHashCode()}).aggregate2(0,function(t,e){return t+e})},a.getFromCache=function(t,e){var e=this.getCacheKey(t,e);return this.cache.contains(e)?this.cache.get(e):null},a.addToCache=function(t,e,n){var n=this.getCacheKey(t,n);null==e&&(e=T.nullTable),this.cache.set(n,e)},a.cleanCache=function(e){var n=this;null==e?this.cache.clear():this.cache.keys.where(function(t){return t.stimulsoft.startsWith(e)}).forEach(function(t){return n.cache.remove(t)})},a.cache=new n,a.joinEngine=v.StiDataJoinEngine.V4,n=a,v.StiDataJoiner=n}(Stimulsoft=Stimulsoft||{}),function(t){var e,n,r,i,a,o;function s(t,e,n,r,i,a){this.parentTable=t,this.childTable=e,this.parentColumn=n,this.childColumn=r,this.active=i,this.key=a}n=e=t.Data||(t.Data={}),i=r=n.Engine||(n.Engine={}),a=t.System.StiString,o=t.Base.StiJson,s.prototype.saveToJsonObject=function(t){var e=new o;return e.addPropertyStringNullOrEmpty("Key",this.key),e},s.prototype.loadFromJsonObject=function(t){var e,n;try{for(var r=__values(t.properties()),i=r.next();!i.done;i=r.next()){var a=i.value;switch(a.name){case"Key":this.key=a.value;break}}}catch(t){e={error:t}}finally{try{i&&!i.done&&(n=r.return)&&n.call(r)}finally{if(e)throw e.error}}},s.prototype.loadFromXml=function(t){for(var e=0;e<t.childNodes.length;e++){var n=t.childNodes[e];switch(n.nodeName){case"Key":this.key=n.textContent}}},Object.defineProperty(s.prototype,"parentKey",{get:function(){if(a.isNullOrEmpty(this.parentTable)||a.isNullOrEmpty(this.parentColumn))return null;return this.parentTable+"."+this.parentColumn},enumerable:!1,configurable:!0}),Object.defineProperty(s.prototype,"childKey",{get:function(){if(a.isNullOrEmpty(this.childTable)||a.isNullOrEmpty(this.childColumn))return null;return this.childTable+"."+this.childColumn},enumerable:!1,configurable:!0}),s.loadFromJson=function(t){var e=new s;return e.loadFromJsonObject(t),e},s.loadFromXml=function(t){var e=new s;return e.loadFromXml(t),e},s.prototype.toString=function(){return this.nullStr(this.parentTable)+"->"+this.nullStr(this.childTable)+" : "+this.nullStr(this.parentColumn)+"->"+this.nullStr(this.childColumn)},s.prototype.nullStr=function(t){return t||""},n=s,i.StiDataLink=n}(Stimulsoft=Stimulsoft||{}),function(t){var e,t,n,r;function i(){}t=e=t.Data||(t.Data={}),r=n=t.Engine||(t.Engine={}),i.getLinks=function(t){return t.fetchDataRelations().select(function(t){return new r.StiDataLink(t.getParentDataSource().getName(),t.getChildDataSource().getName(),t.fetchParentColumns().firstOrDefault(),t.fetchChildColumns().firstOrDefault(),t.getActiveState(),t.getKey())})},t=i,r.StiDataLinkHelper=t}(Stimulsoft=Stimulsoft||{}),function(t){var e,n,r,y,o,i,b,T,a,g,s;function S(){}n=e=t.Data||(t.Data={}),y=r=n.Engine||(n.Engine={}),o=t.System.Collections.Hashtable,i=t.Base.StiBIDataCacheOptions,b=t.System.Data.DataColumn,T=t.Base.IStiAppCalcDataColumn,a=t.Data.Extensions.DataTableExt,n=t.System.Collections.Dictionary,g=t.System.Collections.List,s=t.Base.StiAppKey,S.fetch=function(h,p,f,m,d){return void 0===f&&(f=y.StiDataRequestOption.All),void 0===m&&(m=null),void 0===d&&(d=null),__awaiter(this,void 0,void 0,function(){var e,n,r,e,i,e,a,o,s,r,n,u,u,l,c=this;return __generator(this,function(t){switch(t.label){case 0:if(null==h)return[2,null];if(e=h.retrieveUsedDataNames(p),null!=m&&(e=e.union(m)),null==(n=h.getDataSources(e))||!n.any())return[2,null];if(n=y.StiDataJoiner.joinEngine==y.StiDataJoinEngine.V1?n:n.orderBy(function(t){return c.getRelationLevel(t,d)}),n=y.StiDataSourceChainFinder.find(n),r=n.select(function(t){return t.getConnection()}).where(function(t){return null!=t}),n.all(S.existsInCache))return[2,n.select(S.getFromCache)];e=h.getDictionary(),i=null,i=0<(f&y.StiDataRequestOption.AllowOpenConnections)?e.openConnections(r):null,e=new g,t.label=1;case 1:t.trys.push([1,6,7,8]),a=__values(n),o=a.next(),t.label=2;case 2:if(o.done)return[3,5];return s=o.value,[4,this.getDataTable2(f,s)];case 3:r=t.sent(),n={ref:r},this.addToCache(s,n),null!=(r=n.ref)&&(e.add(r),this.addTableNameToColumnNames(r,s)),t.label=4;case 4:return o=a.next(),[3,2];case 5:return[3,8];case 6:return u=t.sent(),u={error:u},[3,8];case 7:try{o&&!o.done&&(l=a.return)&&l.call(a)}finally{if(u)throw u.error}return[7];case 8:return[2,e]}})})},S.getRelationLevel=function(e,t){var n;if(!t.any(function(t){return t.parentTable==e.getName()||t.childTable==e.getName()}))return 100;var r=new o,i=0,a=e.getName();while(1){if(null!=r.get(a))break;if(r.set(a,a),null==(a=null===(n=t.firstOrDefault(function(t){return t.childTable==a}))||void 0===n?void 0:n.parentTable))break;if(100<++i)return 100}return i},S.retrieveUsedDataSources=function(t,e,n){if(null==t)return null;var e=t.retrieveUsedDataNames(e);null!=n&&(e=e.union(n));var e=t.getDataSources(e);if(null==e||!e.any())return null;return y.StiDataSourceChainFinder.find(e)},S.fetch2=function(n,r,i){return void 0===i&&(i=y.StiDataRequestOption.All),__awaiter(this,void 0,void 0,function(){var e;return __generator(this,function(t){switch(t.label){case 0:return e=n.getDictionary().getDataSourceByName(r),[4,this.fetch3(n,e,i)];case 1:return[2,t.sent()]}})})},S.fetch3=function(o,s,u){return void 0===u&&(u=y.StiDataRequestOption.All),__awaiter(this,void 0,void 0,function(){var e,n,r,i,a;return __generator(this,function(t){switch(t.label){case 0:if(e=o.getDictionary(),this.existsInCache(s))return[3,5];n=s.getConnection(),e.openConnections(new g([n])),t.label=1;case 1:return t.trys.push([1,3,,4]),[4,this.getDataTable2(u,s)];case 2:r=t.sent();try{return i={ref:r},this.addToCache(s,i),r=i.ref,this.addTableNameToColumnNames(r,s),e.closeConnections(new g([n])),[2,r]}finally{e.closeConnections(new g([n]))}return[3,4];case 3:return a=t.sent(),e.closeConnections(new g([n])),[3,4];case 4:return[3,6];case 5:return[2,this.getFromCache(s)];case 6:return[2,null]}})})},S.isAllBICached=function(t,e,n){if(void 0===n&&(n=y.StiDataRequestOption.All),!i.enabled)return!1;if(null==t)return!1;var e=t.retrieveUsedDataNames(e),e=t.getDataSources(e);if(null==e||!e.any())return!1;return(e=y.StiDataSourceChainFinder.find(e)).all(function(t){return i.cache.exists(t)})},S.getDataTable=function(i,a,o){return void 0===o&&(o=y.StiDataRequestOption.All),__awaiter(this,void 0,void 0,function(){var e,n,r;return __generator(this,function(t){switch(t.label){case 0:return e=i.getDictionary(),n=a.getConnection(),e.openConnections(new g([n])),[4,this.getDataTable2(o,a)];case 1:return r=t.sent(),e.closeConnections(new g([n])),[2,r]}})})},S.getDataTable2=function(n,r){return __awaiter(this,void 0,void 0,function(){var e;return __generator(this,function(t){switch(t.label){case 0:return[4,r.getDataTable2(0<(n&y.StiDataRequestOption.AllowOpenConnections))];case 1:return null!=(e=t.sent())&&((e=e.copy()).tableName=r.getName()),[2,this.processCalculatedColumns(e,r)]}})})},S.processCalculatedColumns=function(e,t){var n,r,i,a,o=t.getDictionary(),s=t.fetchColumns().where(function(t){return t.is(T)});if(!s.any())return e;s.forEach(function(t){return e.columns.add(new b(t.getName(),t.getDataType()))});var u=s.select(function(t){return t.getName()}),l=t.fetchColumnValues(u);if(!l.any())return e;try{var c=s.select(function(t){return e.columns.getIndexByName(t.getName())}),h=0;try{for(var p=__values(e.rows.list),f=p.next();!f.done;f=p.next()){var m=f.value;try{var d=h>=l.length?l[l.length-1]:l[h],y=0;try{for(var g=(i=void 0,__values(c)),S=g.next();!S.done;S=g.next()){var v=S.value;m.sett(v,d[y++])}}catch(t){i={error:t}}finally{try{S&&!S.done&&(a=g.return)&&a.call(g)}finally{if(i)throw i.error}}}catch(t){}h++}}catch(t){n={error:t}}finally{try{f&&!f.done&&(r=p.return)&&r.call(p)}finally{if(n)throw n.error}}}finally{}return e},S.addTableNameToColumnNames=function(t,e){var n,r,i=e.fetchColumns(),a=t.tableName+".",o=function(e){if(e.columnName.stimulsoft.startsWith(a))return"continue";var t=i.firstOrDefault(function(t){return t.getNameInSource()==e.columnName});e.columnName=(null==t?void 0:t.getName())!=(null==t?void 0:t.getNameInSource())?a+t.getName():a+e.columnName};try{for(var s=__values(t.columns.list),u=s.next(),l;!u.done;u=s.next()){o(u.value)}}catch(t){n={error:t}}finally{try{u&&!u.done&&(r=s.return)&&r.call(s)}finally{if(n)throw n.error}}},S.getFromCache=function(t){var t=S.getCacheKey(t);return S.cache.contains(t)?S.cache.get(t):null},S.existsInCache=function(t){var t=S.getCacheKey(t);return S.cache.contains(t)},S.addToCache=function(t,e){null==e.ref&&(e.ref=a.nullTable);var t=S.getCacheKey(t);S.cache.set(t,e.ref)},S.getCacheKey=function(t){var e=s.getOrGeneratedKey4(t),n=t.getConnection(),t=t.getNameInSource()==t.getName()?t.getName():t.getNameInSource()+"."+t.getName();return null==n?e+"."+t:e+"."+n.getName()+"."+t},S.cleanCache=function(e){null==e?S.cache.clear():S.cache.keys.where(function(t){return t.stimulsoft.startsWith(e)}).forEach(function(t){return S.cache.remove(t)})},S.lockObject={},S.cache=new n,n=S,y.StiDataPicker=n}(Stimulsoft=Stimulsoft||{}),function(t){var e,n,r,w,D,c,h,p,f,i,a,_;function o(t,e,n){var r,i,a,o,s,u;this.resultColumnIndexes={},this.column1Indexes={},this.column2Indexes={},this.resultTable=t,this.table1=e,this.table2=n;try{for(var l=__values(t.columns.list),c=l.next();!c.done;c=l.next()){var h=c.value;this.resultColumnIndexes[h.columnName]=t.columns.getIndexByName(h.columnName)}}catch(t){r={error:t}}finally{try{c&&!c.done&&(i=l.return)&&i.call(l)}finally{if(r)throw r.error}}try{for(var p=__values(e.columns.list),f=p.next();!f.done;f=p.next()){var h=f.value;this.column1Indexes[h.columnName]=e.columns.getIndexByName(h.columnName)}}catch(t){a={error:t}}finally{try{f&&!f.done&&(o=p.return)&&o.call(p)}finally{if(a)throw a.error}}try{for(var m=__values(n.columns.list),d=m.next();!d.done;d=m.next()){var h=d.value;this.column2Indexes[h.columnName]=n.columns.getIndexByName(h.columnName)}}catch(t){s={error:t}}finally{try{d&&!d.done&&(u=m.return)&&u.call(m)}finally{if(s)throw s.error}}}n=e=t.Data||(t.Data={}),w=r=n.Engine||(n.Engine={}),D=t.System.StiArray,c=t.System.StiString,h=t.Data.Helpers.StiExpressionHelper,p=t.System.Collections.Hashtable,f=t.Base.Meters.IStiMeasureMeter,i=t.System.Type,a=t.System.Exception,_=t.System.Collections.List,o.prototype.join=function(t,e,n){switch(t){case w.StiDataJoinType.Inner:return this.innerJoinRows(e);case w.StiDataJoinType.Left:return this.leftJoinRows(e,n);case w.StiDataJoinType.Cross:return this.crossJoinRows();case w.StiDataJoinType.Full:return this.fullJoinRows(e);default:throw new a("NotSupportedException")}},o.prototype.leftJoinRows=function(t,e){if(w.StiDataJoiner.joinEngine==w.StiDataJoinEngine.V1||w.StiDataJoiner.joinEngine==w.StiDataJoinEngine.V4)return this.leftJoinRowsV1(t);if(null==e||!e.where(function(t){return t.is(f)}).any())return this.leftJoinRowsV1(t);return this.leftJoinRowsV2V3(t,e)},o.prototype.innerJoinRows=function(t){var e=this,n=this.getFieldIndex(this.table1,t),r=this.getFieldIndex(this.table2,t),i=this.table1.rows.toList(),t=this.table2.rows.toList();return i.join2(t,function(t){return e.stimulsoft.getHashCode(t,n)},function(t){return e.stimulsoft.getHashCode(t,r)},this.splitRows,this)},o.prototype.leftJoinRowsV1=function(t){var n=this,e=this.getFieldIndex(this.table1,t),r=this.getFieldIndex(this.table2,t),i=this.table1.rows.toList(),t=this.table2.rows.toList();return i.groupJoin(t,function(t){return n.stimulsoft.getHashCode(t,e)},function(t){return n.stimulsoft.getHashCode(t,r)},function(t,e){return{key:t,rows:e}},this).selectMany2(function(t){return t.rows.defaultIfEmpty()},function(t,e){return n.splitRows(t.key,e)},this)},o.prototype.leftJoinRowsV2V3=function(t,e){var n,r,i,a,o=this,s=this.getFieldIndex(this.table1,t),u=this.getFieldIndex(this.table2,t),l=this.table1.rows.toList(),t=this.table2.rows.toList(),c=l.groupJoin(t,function(t){return o.getHashCode(t,s)},function(t){return o.getHashCode(t,u)},function(t,e){return{key:t,rows:e}},this),h=this.calculateIndexes(e),p=new _;try{for(var f=__values(c),m=f.next();!m.done;m=f.next()){var d=m.value,y=!0;try{for(var g=(i=void 0,__values(d.rows.defaultIfEmpty())),S=g.next();!S.done;S=g.next()){var v=S.value;if(y)p.add(this.splitRows(d.key,v));else{for(var b=d.key.itemArray,T=D.create(Object,b.length),x=0;x<b.length;x++)w.StiDataJoiner.joinEngine==w.StiDataJoinEngine.V2?this.isNumericType(b[x])||(T[x]=b[x]):w.StiDataJoiner.joinEngine==w.StiDataJoinEngine.V3&&(h.containsKey(x)&&this.isNumericType(b[x])||(T[x]=b[x]));var E=this.resultTable.loadDataRow(T,!1);p.add(this.splitRows(E,v))}y=!1}}catch(t){i={error:t}}finally{try{S&&!S.done&&(a=g.return)&&a.call(g)}finally{if(i)throw i.error}}}}catch(t){n={error:t}}finally{try{m&&!m.done&&(r=f.return)&&r.call(f)}finally{if(n)throw n.error}}return p},o.prototype.calculateIndexes=function(t){var e,n,r=t.where(function(t){return t.is(f)}).selectMany(function(t){return h.getArguments(t.expression)}).where(function(t){return!c.isNullOrWhiteSpace(t)}).select(function(t){return t.trim().toLowerCase()}),i=new p,a=function(e){var t=o.table1.columns.toList().cast().firstOrDefault(function(t){return t.columnName.toLowerCase()==e});if(null==t)return"continue";var t=o.table1.columns.indexOf(t);if(-1==t)return"continue";i.set(t,t)},o=this;try{for(var s=__values(r),u=s.next(),l;!u.done;u=s.next()){a(u.value)}}catch(t){e={error:t}}finally{try{u&&!u.done&&(n=s.return)&&n.call(s)}finally{if(e)throw e.error}}return i},o.prototype.isNumericType=function(t){return null!=t&&i.isNumericType(t.stimulsoft.getType())},o.prototype.crossJoinRows=function(){var n=this,t=this.table1.rows.toList(),r=this.table2.rows.toList();return t.selectMany(function(e){return r.select(function(t){return n.splitRows(e,t)},n)},this)},o.prototype.fullJoinRows=function(t){var e=this,n=this.getFieldIndex(this.table1,t),r=this.getFieldIndex(this.table2,t),i=this.table1.rows.toList(),t=this.table2.rows.toList();return i.fullOuterJoin(t,function(t){return e.stimulsoft.getHashCode(t,n)},function(t){return e.stimulsoft.getHashCode(t,r)},this.splitRows,this)},o.prototype.getHashCode=function(t,e){var e=t.gett(e);return null!=e?e.stimulsoft.getHashCode():0},o.prototype.splitRows=function(t,e){var n,r,i=[];try{for(var a=__values(this.resultTable.columns.list),o=a.next();!o.done;o=a.next()){var s=o.value,u=s.columnName in this.resultColumnIndexes?this.resultColumnIndexes[s.columnName]:-1;if(-1==u)continue;var l=s.columnName in this.column1Indexes?this.column1Indexes[s.columnName]:-1,s=s.columnName in this.column2Indexes?this.column2Indexes[s.columnName]:-1;-1!=l&&null!=t&&(i[u]=t.gett(l)),-1!=s&&null!=e&&(i[u]=e.gett(s))}}catch(t){n={error:t}}finally{try{o&&!o.done&&(r=a.return)&&r.call(a)}finally{if(n)throw n.error}}return this.resultTable.loadDataRow(i,!1)},o.prototype.getFieldIndex=function(t,e){var n=t.columns.toList().cast().firstOrDefault(function(t){return t.columnName==e.parentKey||t.columnName==e.childKey||t.table.tableName+"."+t.columnName==e.parentKey||t.table.tableName+"."+t.columnName==e.childKey});if(null==n)return-1;return t.columns.indexOf(n)},n=o,w.StiDataRowJoiner=n}(Stimulsoft=Stimulsoft||{}),function(t){var e,n,r,o,i,a,s,u;function l(t,e){void 0===t&&(t=i.generateKey()),void 0===e&&(e=o.StiDataSortDirection.Ascending);var n=u.call(this)||this;return n.direction=o.StiDataSortDirection.Ascending,n.key=t,n.direction=e,n}n=e=t.Data||(t.Data={}),o=r=n.Engine||(n.Engine={}),i=t.Base.StiKeyHelper,a=t.Base.StiJson,s=t.System.Enum,u=o.StiDataRule,__extends(l,u),l.prototype.saveToJsonObject=function(t){var e=new a;return e.addPropertyStringNullOrEmpty("Key",this.key),e.addPropertyEnum("Direction",o.StiDataSortDirection,this.direction,o.StiDataSortDirection.Ascending),e},l.prototype.loadFromJsonObject=function(t){var e,n;try{for(var r=__values(t.properties()),i=r.next();!i.done;i=r.next()){var a=i.value;switch(a.name){case"Key":this.key=a.value;break;case"Direction":this.direction=s.parse(o.StiDataSortDirection,a.value);break}}}catch(t){e={error:t}}finally{try{i&&!i.done&&(n=r.return)&&n.call(r)}finally{if(e)throw e.error}}},l.prototype.loadFromXml=function(t,e){for(var n=0;n<t.childNodes.length;n++){var r=t.childNodes[n];switch(r.nodeName){case"Key":this.key=r.textContent;break;case"Direction":this.direction=s.parse(o.StiDataSortDirection,r.textContent);break}}},l.loadFromJson=function(t){var e=new l;return e.loadFromJsonObject(t),e},l.loadFromXml=function(t){var e=new l;return e.loadFromXml(t,!1),e},l.prototype.toString=function(){return this.direction+" "+this.key},l.prototype.getUniqueCode=function(){return 397*(null!=this.key?this.key.stimulsoft.getHashCode():0)^this.direction},n=l,o.StiDataSortRule=n}(Stimulsoft=Stimulsoft||{}),function(t){var e,n,r,c,h,i;function a(){}n=e=t.Data||(t.Data={}),c=r=n.Engine||(n.Engine={}),h=t.System.StiString,i=t.Base.StiKeyHelper,a.toList=function(){for(var t=[],e=0;e<arguments.length;e++)t[e]=arguments[e];return t.stimulsoft.toList()},a.validate=function(t,e){if(null==e||0==e.count2())return t;return t.where(function(t){return i.isKey(t.key)&&e.contains(t.key)}).toList()},a.getDataTableSortQuery=function(t,e){var n=e.select(function(t){return t&&t.getKey()}).where(function(t){return null!=t}).toList(),e=e.select(function(t){return t&&t.getName()}).where(function(t){return null!=t}).toList();return a.getDataTableSortQuery2(t,n,e)},a.getDataTableSortQuery2=function(t,e,n){var r,i;if(null==t||!t.any())return"";t=this.validate(t,e);var a="";try{for(var o=__values(t.where(function(t){return!h.isNullOrWhiteSpace(t.key)})),s=o.next();!s.done;s=o.next()){var u=s.value;0<a.length&&(a+=", ");var l=e.indexOf(u.key);if(-1==l&&-1==(l=n.indexOf(u.key)))continue;var l=c.StiDataColumnRuleHelper.getGoodColumnName(n[l]);u.direction==c.StiDataSortDirection.Descending?a+=l+" DESC":a+=l}}catch(t){r={error:t}}finally{try{s&&!s.done&&(i=o.return)&&i.call(o)}finally{if(r)throw r.error}}return a},a.getSortDirection=function(t,e){var t=t.firstOrDefault(function(t){return t.key.toLowerCase()==e.toLowerCase()});return null==t?c.StiDataSortDirection.None:t.direction},a.setSortDirection=function(t,e,n,r){var e=(t=this.validate(t,e)).firstOrDefault(function(t){return t.key.toLowerCase()==n.toLowerCase()});return null==e&&r!=c.StiDataSortDirection.None?(e=new c.StiDataSortRule(n,r),t.add(e)):r==c.StiDataSortDirection.None?t.remove(e):e.direction=r,t},n=a,c.StiDataSortRuleHelper=n}(Stimulsoft=Stimulsoft||{}),function(t){var e,n,r,i,a;function o(){}n=e=t.Data||(t.Data={}),i=r=n.Engine||(n.Engine={}),a=t.System.Collections.List,o.isVariationSort=function(t){var e=this;return null!=t&&t.any(function(t){return t.key==e.ident})},o.createVariationSort=function(t){return new a([new i.StiDataSortRule(this.ident,t)])},o.ident="#Variation#",n=o,i.StiDataSortVariation=n}(Stimulsoft=Stimulsoft||{}),function(t){var e,n,r,c,h,p,f,a;function i(){}n=e=t.Data||(t.Data={}),c=r=n.Engine||(n.Engine={}),h=t.Data.Engine.StiDataSortVariation,p=t.System.StiString,f=t.Data.Extensions.StiDataTableExt,n=t.System.Collections.Dictionary,a=t.Base.StiKeyHelper,i.sort=function(t,n,e,r,i){if(void 0===i&&(i=c.StiDataRequestOption.All),h.isVariationSort(n))return t;var a=0<(i&c.StiDataRequestOption.AllowDataSort);if(null==n||!n.any()||!a)return t;var i=f.toNetTable(t),o=t.meters.select(function(t){return t.key}),a=i.columns.toList().cast().select(function(t){return t.columnName});n=this.getFixedDataSortRules(n,a,o);var a=c.StiDataSortRuleHelper.getDataTableSortQuery2(n,o,a);if(p.isNullOrWhiteSpace(a))return t;var a=this.getFromCache(t,e,r);if(a==c.StiDataTable.nullTable)return null;if(null!=a)return a;for(var s=i.rows.toList().select(function(t){return t.itemArray}),u=function(t){var e=o.indexOf(n[t].key);n[t].direction==c.StiDataSortDirection.Ascending?s=s.orderBy(function(t){return t[e]}):n[t].direction==c.StiDataSortDirection.Descending&&(s=s.orderByDescending(function(t){return t[e]}))},l=n.length-1;0<=l;l--)u(l);return a=new c.StiDataTable(t.meters,s),this.addToCache(t,e,r,a),a},i.getFixedDataSortRules=function(t,e,n){var r,i,a=t.select(function(t){return t.clone()});try{for(var o=__values(a),s=o.next();!s.done;s=o.next()){var u=s.value,l=e.indexOf(u.key);-1!=l&&(u.key=n[l])}}catch(t){r={error:t}}finally{try{s&&!s.done&&(i=o.return)&&i.call(o)}finally{if(r)throw r.error}}return a},i.cleanCache=function(e){var n=this;null==e?this.hashCache.clear():this.hashCache.keys.toList().where(function(t){return t.stimulsoft.startsWith(e)}).forEach(function(t){return n.hashCache.remove(t)})},i.getCacheKey=function(t,e,n){var r,i;return e&&e.setKey(a.getOrGeneratedKey(e.getKey())),(e&&e.getKey()||"")+"."+(t.meters.select(function(t){return t.stimulsoft.getHashCode()}).aggregate2(0,function(t,e){return t+e})+n)},i.getFromCache=function(t,e,n){var n=this.getCacheKey(t,e,n);return this.hashCache.contains(n)?this.hashCache.get(n):null},i.addToCache=function(t,e,n,r){var n=this.getCacheKey(t,e,n);null==r&&(r=c.StiDataTable.nullTable),this.hashCache.set(n,r)},i.lockObject={},i.hashCache=new n,n=i,c.StiDataSorter=n}(Stimulsoft=Stimulsoft||{}),function(t){var e,n,r,i,c;function a(){}n=e=t.Data||(t.Data={}),i=r=n.Engine||(n.Engine={}),c=t.System.Collections.List,a.find=function(n){var r=this;return n.selectMany(function(e){return n.where(function(t){return t!=e}).select(function(t){return r.find3(e,t)}).where(function(t){return null!=t}).selectMany(function(t){return t}).where(function(t){return!n.contains(t)}).distinct()}).union(n.distinct())},a.find3=function(t,e){var n=this.findInParent(t,e),e=this.findInChild(t,e);if(null==n&&null==e)return null;if(null!=n&&null==e)return n;if(null==n&&null!=e)return e;return n.length>=e.length?e:n},a.findInParent=function(t,e){var n,r,i=t.fetchParentRelations(!0),a;if(!i.any())return null;if(i.where(function(t){return t.getParentDataSource()==e}).any())return new c([t,e]);try{for(var o=__values(this.getActiveRelations(i)),s=o.next();!s.done;s=o.next()){var u=s.value,l=this.findInParent(u.getParentDataSource(),e);if(null==l)continue;return l.insert(0,u.getChildDataSource()),l}}catch(t){n={error:t}}finally{try{s&&!s.done&&(r=o.return)&&r.call(o)}finally{if(n)throw n.error}}return null},a.findInChild=function(t,e){var n,r,i=t.fetchChildRelations(!0),a;if(!i.any())return this.findInParent(t,e);if(null!=i.firstOrDefault(function(t){return t.getChildDataSource()==e}))return new c([t,e]);try{for(var o=__values(this.getActiveRelations(i)),s=o.next();!s.done;s=o.next()){var u=s.value,l=this.findInChild(u.getChildDataSource(),e);if(null==l)continue;return l.insert(0,u.getParentDataSource()),l}}catch(t){n={error:t}}finally{try{s&&!s.done&&(r=o.return)&&r.call(o)}finally{if(n)throw n.error}}return null},a.getActiveRelations=function(t){return t.any(function(t){return t.getActiveState()})?t.where(function(t){return t.getActiveState()}):t},n=a,i.StiDataSourceChainFinder=n}(Stimulsoft=Stimulsoft||{}),function(t){var e,n,r,i,a,o;function s(){}n=e=t.Data||(t.Data={}),i=r=n.Engine||(n.Engine={}),a=t.System.StiString,o=t.Data.Functions.Funcs,s.fetch=function(t,e,n,r){null==n&&(n=t.retrieveUsedDataNames(e)),n=n.where(function(t){return!a.isNullOrWhiteSpace(t)}).select(o.toDataName);var i=r.selectMany(function(e){return e.fetchColumns().select(function(t){return{dataSource:e,name:o.toDataName(t.getName())}})});return n.selectMany(function(e){return i.where(function(t){return o.isDataEqual(t.dataSource,t.name,e)}).select(function(t){return t.dataSource})}).distinct()},n=s,i.StiDataSourcePicker=n}(Stimulsoft=Stimulsoft||{}),function(t){var e,n,r,i,a;function o(t,e){void 0===t&&(t=new a),void 0===e&&(e=new a),this.meters=t,this.rows=e}n=e=t.Data||(t.Data={}),i=r=n.Engine||(n.Engine={}),a=t.System.Collections.List,Object.defineProperty(o.prototype,"isNull",{get:function(){return this==o.nullTable},enumerable:!1,configurable:!0}),Object.defineProperty(o.prototype,"isEmpty",{get:function(){return this.isNull||null==this.meters||0==this.meters.count2()||null==this.rows||0==this.rows.count2()},enumerable:!1,configurable:!0}),o.nullTable=new o,n=o,i.StiDataTable=n}(Stimulsoft=Stimulsoft||{}),function(t){var e,n,r,o,i,s,a,u;function l(t,e,n,r,i){this.mode=o.StiDataTopNMode.None,this.count=5,this.showOthers=!0,this.othersText="",this.measureField="",null!=t&&(this.mode=t),null!=e&&(this.count=e),null!=n&&(this.showOthers=n),null!=r&&(this.othersText=r),null!=i&&(this.measureField=i)}n=e=t.Data||(t.Data={}),o=r=n.Engine||(n.Engine={}),i=t.System.StiString,s=t.System.Enum,a=t.Base.StiJson,u=t.Base.Localization.StiLocalization,l.prototype.saveToJsonObject=function(t){var e=new a;return e.addPropertyEnum("Mode",o.StiDataTopNMode,this.mode,o.StiDataTopNMode.None),e.addPropertyNumber("Count",this.count,5),e.addPropertyBool("ShowOthers",this.showOthers,!0),e.addPropertyString("OthersText",this.othersText,""),e.addPropertyString("MeasureField",this.measureField,""),e},l.prototype.loadFromJsonObject=function(t){var e,n;try{for(var r=__values(t.properties()),i=r.next();!i.done;i=r.next()){var a=i.value;switch(a.name){case"Mode":a.value&&(this.mode=s.parse(o.StiDataTopNMode,a.value.toString()));break;case"Count":this.count=a.value.stimulsoft.toNumber();break;case"ShowOthers":this.showOthers=a.value.stimulsoft.toBoolean();break;case"OthersText":this.othersText=a.value.toString();break;case"MeasureField":null!=a.value&&(this.measureField=a.value.toString());break}}}catch(t){e={error:t}}finally{try{i&&!i.done&&(n=r.return)&&n.call(r)}finally{if(e)throw e.error}}},l.prototype.loadFromXml=function(t){for(var e=0;e<t.childNodes.length;e++){var n=t.childNodes[e];switch(n.nodeName){case"Mode":this.mode=s.parse(o.StiDataTopNMode,n.textContent);break;case"Count":this.count=n.textContent.stimulsoft.toNumber();break;case"ShowOthers":this.showOthers=n.textContent.stimulsoft.toBoolean();break;case"OthersText":this.othersText=n.textContent;break;case"MeasureField":this.measureField=n.textContent;break}}},l.createFromJsonObject=function(t){var e=new l;return e.loadFromJsonObject(t),e},l.createFromXml=function(t){var e=new l;return e.loadFromXml(t),e},l.prototype.clone=function(){return this.stimulsoft.memberwiseClone()},l.prototype.isDefault=function(){return this.mode==o.StiDataTopNMode.None&&5==this.count&&this.showOthers&&""==this.othersText&&""==this.measureField},l.prototype.toString=function(){return this.mode==o.StiDataTopNMode.None?u.get("PropertyEnum","SelectionModeNone"):""+(this.mode==o.StiDataTopNMode.Bottom?u.get("PropertyMain","Bottom"):u.get("PropertyMain","Top"))+this.count+(i.isNullOrEmpty(this.measureField)?"":" ["+this.measureField+"]")},l.prototype.getUniqueCode=function(){var t=this.mode,t;return t=397*(t=397*(t=397*(t=397*t^this.count)^this.showOthers.stimulsoft.getHashCode())^(null!=this.othersText?this.othersText.stimulsoft.getHashCode():0))^(null!=this.measureField?this.measureField.stimulsoft.getHashCode():0),Math.abs(t)},n=l,o.StiDataTopN=n}(Stimulsoft=Stimulsoft||{}),function(t){var e,n,r,i;function a(){}n=e=t.Data||(t.Data={}),i=r=n.Engine||(n.Engine={}),n=t.System.Collections.Dictionary,a.setOk=function(t){this.keyToError.contains(t)&&this.keyToError.remove(t)},a.setError=function(t,e){this.keyToError.set(t,e)},a.getError=function(t){return this.keyToError.contains(t)?this.keyToError.get(t):null},a.isFail=function(t){return this.keyToError.contains(t)},a.keyToError=new n,n=a,i.StiErrorStack=n}(Stimulsoft=Stimulsoft||{}),function(t){var e,n,r,t,i;function a(t){return i.call(this,"BING: '"+t+"'")||this}n=e=t.Data||(t.Data={}),t=r=n.Exceptions||(n.Exceptions={}),i=t.StiDataException,__extends(a,i),n=a,t.StiBingException=n}(Stimulsoft=Stimulsoft||{}),function(t){var e,n,r,t,i;function a(t){var e=i.call(this,"Column '"+t+"' not found!")||this;return e._name=t,e}n=e=t.Data||(t.Data={}),t=r=n.Exceptions||(n.Exceptions={}),i=t.StiDataException,__extends(a,i),Object.defineProperty(a.prototype,"name",{get:function(){return this._name},enumerable:!1,configurable:!0}),n=a,t.StiColumnNotFoundException=n}(Stimulsoft=Stimulsoft||{}),function(t){var e,n,r,t,i;function a(t){return i.call(this,"System Variable '"+t+"' Is Not Recognized!")||this}n=e=t.Data||(t.Data={}),t=r=n.Exceptions||(n.Exceptions={}),i=t.StiDataException,__extends(a,i),n=a,t.StiSystemVariableNotRecognizedException=n}(Stimulsoft=Stimulsoft||{}),function(t){var e,n,r,i,a,o,s,u,l;function c(){this._data=new l,this._p=0,this.range=0}n=e=t.Data||(t.Data={}),i=r=n.Expressions||(n.Expressions={}),n=a=i.Antlr||(i.Antlr={}),i=o=n.Runtime||(n.Runtime={}),n=s=i.Misc||(i.Misc={}),u=t.System.Exception,l=t.System.Collections.List,Object.defineProperty(c.prototype,"count",{get:function(){return this._data.length-this._p},enumerable:!1,configurable:!0}),c.prototype.get=function(t){var t=this._p+t;if(t>=this._data.length)throw new Error("queue index "+t+" > last index "+(this._data.length-1));if(t<0)throw new Error("queue index "+t+" < 0");return t>this.range&&(this.range=t),this._data[t]},c.prototype.dequeue=function(){if(0==this.count)throw new u("InvalidOperationException");var t=this.get(0);return this._p++,this._p==this._data.length&&this.clear(),t},c.prototype.enqueue=function(t){this._data.add(t)},c.prototype.peek=function(){return this.get(0)},c.prototype.clear=function(){this._p=0,this._data.clear()},c.prototype.toString=function(){for(var t="",e=this.count,n=0;n<e;n++)t+=this.get(n),n+1<e&&(t+=" ");return t},i=c,n.FastQueue=i}(Stimulsoft=Stimulsoft||{}),function(t){var e,t,n,r,i,a;t=e=t.Data||(t.Data={}),t=n=t.Expressions||(t.Expressions={}),t=r=t.Antlr||(t.Antlr={}),t=i=t.Runtime||(t.Runtime={}),function(t){var e;function n(){}t.Action=n;var r=(i=Function,__extends(a,i),a),i;function a(){return null!==i&&i.apply(this,arguments)||this}t.Func=r}(a=t.Misc||(t.Misc={}))}(Stimulsoft=Stimulsoft||{}),function(t){var e,n,r,i,a,o,s,u,l;function c(){return null!==l&&l.apply(this,arguments)||this}n=e=t.Data||(t.Data={}),i=r=n.Expressions||(n.Expressions={}),n=a=i.Antlr||(i.Antlr={}),i=o=n.Runtime||(n.Runtime={}),n=s=i.Misc||(i.Misc={}),u=t.System.Exception,i=t.System.Collections.List,__extends(c,l=i),c.prototype.peek=function(t){var e;if(void 0===t&&(t=0),!this.tryPeek2(t,e))throw new u("InvalidOperationException");return e.item},c.prototype.tryPeek=function(t){return this.tryPeek2(0,t)},c.prototype.tryPeek2=function(t,e){if(t>=this.length)return!1;return e.item=this[this.length-t-1],!0},c.prototype.pop=function(){var t;if(!this.tryPop({item:t}))throw new u("InvalidOperationException");return t},c.prototype.tryPop=function(t){if(0==this.length)return!1;return t.item=this[this.length-1],this.removeAt(this.length-1),!0},i=c,n.ListStack=i}(Stimulsoft=Stimulsoft||{}),function(t){var e,n,r,i,a,o,s,u,l;function c(){var t=null!==l&&l.apply(this,arguments)||this;return t._currentElementIndex=0,t._eof=null,t}n=e=t.Data||(t.Data={}),i=r=n.Expressions||(n.Expressions={}),n=a=i.Antlr||(i.Antlr={}),i=o=n.Runtime||(n.Runtime={}),n=s=i.Misc||(i.Misc={}),u=t.System.Exception,l=n.FastQueue,__extends(c,l),Object.defineProperty(c.prototype,"endOfFile",{get:function(){return this._eof},set:function(t){this._eof=t},enumerable:!1,configurable:!0}),Object.defineProperty(c.prototype,"previousElement",{get:function(){return this._previousElement},enumerable:!1,configurable:!0}),c.prototype.reset=function(){this.clear(),this._currentElementIndex=0,this._p=0,this._previousElement=null},c.prototype.nextElement=function(){return null},c.prototype.isEndOfFile=function(t){return null},c.prototype.dequeue=function(){var t=this.get(0);return this._p++,this._p==this._data.length&&0==this._markDepth&&(this._previousElement=t,this.clear()),t},c.prototype.consume=function(){this.syncAhead(1),this.dequeue(),this._currentElementIndex++},c.prototype.syncAhead=function(t){var t=this._p+t-1-this._data.length+1;0<t&&this.fill(t)},c.prototype.fill=function(t){for(var e=0;e<t;e++){var n=this.nextElement();this.isEndOfFile(n)&&(this._eof=n),this._data.add(n)}},Object.defineProperty(c.prototype,"count",{get:function(){throw new u("streams are of unknown size")},enumerable:!1,configurable:!0}),c.prototype.lt=function(t){if(0==t)return null;if(t<0)return this.lb(-t);if(this.syncAhead(t),this._p+t-1>this._data.length)return this._eof;return this[t-1]},Object.defineProperty(c.prototype,"index",{get:function(){return this._currentElementIndex},enumerable:!1,configurable:!0}),c.prototype.mark=function(){return this._markDepth++,this._lastMarker=this._p,this._lastMarker},c.prototype.release=function(t){if(0==this._markDepth)throw new u("InvalidOperationException");this._markDepth--},c.prototype.rewind2=function(t){this._markDepth--;var e=this._p-t;this._currentElementIndex-=e,this._p=t},c.prototype.rewind=function(){var t=this._p-this._lastMarker;this._currentElementIndex-=t,this._p=this._lastMarker},c.prototype.seek=function(t){if(t<0)throw new u("ArgumentOutOfRangeException");var e=this._currentElementIndex-t;if(this._p-e<0)throw new u("can't seek before the beginning of this stream's buffer");this._p-=e,this._currentElementIndex=t},c.prototype.lb=function(t){var t=this._p-t;if(-1==t)return this._previousElement;if(0<=t)return this._data[t];if(t<-1)throw new u("can't look more than one token before the beginning of this stream's buffer");throw new u("can't look past the end of this stream's buffer using LB(int)")},i=c,n.LookaheadStream=i}(Stimulsoft=Stimulsoft||{}),function(t){var e,t,n,r,i,a,o,s;function u(){}t=e=t.Data||(t.Data={}),t=n=t.Expressions||(t.Expressions={}),t=r=t.Antlr||(t.Antlr={}),t=i=t.Runtime||(t.Runtime={}),(o=a=t.Misc||(t.Misc={})).RegexOptionsHelper=u}(Stimulsoft=Stimulsoft||{}),function(t){var e,n,r,i,a,o,s,u;function l(t){this._tree=t}n=e=t.Data||(t.Data={}),i=r=n.Expressions||(n.Expressions={}),n=a=i.Antlr||(i.Antlr={}),i=o=n.Runtime||(n.Runtime={}),n=s=i.Tree||(i.Tree={}),u=t.System.StiArray,Object.defineProperty(l.prototype,"children",{get:function(){if(null==this._tree||null==this._tree.children)return null;var t=u.create(null,this._tree.children.length);return this._tree.children.copyTo(t,0),t},enumerable:!1,configurable:!0}),i=l,n.AntlrRuntime_BaseTreeDebugView=i}(Stimulsoft=Stimulsoft||{}),function(t){var e,n,r,t,i,a,o,s;function u(){}n=e=t.Data||(t.Data={}),t=r=n.Expressions||(n.Expressions={}),n=i=t.Antlr||(t.Antlr={}),o=a=n.Runtime||(n.Runtime={}),t=s=o.Tree||(o.Tree={}),u.prototype.implements=function(){return u.ImplementsTreeRuleReturnScope||(u.ImplementsTreeRuleReturnScope=[o.IRuleReturnScope]),u.ImplementsTreeRuleReturnScope},n=u,t.TreeRuleReturnScope=n}(Stimulsoft=Stimulsoft||{}),function(t){var e,n,r,t,i,a,o,s,u;function l(){return null!==u&&u.apply(this,arguments)||this}n=e=t.Data||(t.Data={}),t=r=n.Expressions||(n.Expressions={}),n=i=t.Antlr||(t.Antlr={}),o=a=n.Runtime||(n.Runtime={}),t=s=o.Tree||(o.Tree={}),u=t.TreeRuleReturnScope,__extends(l,u),l.prototype.implements=function(){return l.ImplementsAstTreeRuleReturnScope||(l.ImplementsAstTreeRuleReturnScope=u.prototype.implements.call(this).concat([o.IAstRuleReturnScope,o.IAstRuleReturnScope])),l.ImplementsAstTreeRuleReturnScope},n=l,t.AstTreeRuleReturnScope=n}(Stimulsoft=Stimulsoft||{}),function(t){var e,n,r,i,a,o,s,y,g;function S(t){this.parent=null,this.childIndex=0}n=e=t.Data||(t.Data={}),n=r=n.Expressions||(n.Expressions={}),n=i=n.Antlr||(n.Antlr={}),n=a=n.Runtime||(n.Runtime={}),s=o=n.Tree||(n.Tree={}),y=t.System.Exception,g=t.System.Collections.List,S.prototype.implements=function(){return S.ImplementsBaseTree||(S.ImplementsBaseTree=[s.ITree]),S.ImplementsBaseTree},Object.defineProperty(S.prototype,"childCount",{get:function(){if(null==this.children)return 0;return this.children.length},enumerable:!1,configurable:!0}),Object.defineProperty(S.prototype,"isNil",{get:function(){return!1},enumerable:!1,configurable:!0}),S.prototype.getChild=function(t){if(t<0)throw new y("ArgumentOutOfRangeException");if(null==this.children||t>=this.children.length)return null;return this.children[t]},S.prototype.getFirstChildWithType=function(t){var e,n;try{for(var r=__values(this.children),i=r.next();!i.done;i=r.next()){var a=i.value;if(a.type==t)return a}}catch(t){e={error:t}}finally{try{i&&!i.done&&(n=r.return)&&n.call(r)}finally{if(e)throw e.error}}return null},S.prototype.addChild=function(t){if(null==t)return;if(t.isNil){var e=t.stimulsoft.as(S);if(null!=e&&null!=this.children&&this.children==e.children)throw new y("attempt to add child list to itself");if(0<t.childCount)if(null!=this.children||null==e){null==this.children&&(this.children=this.createChildrenList());for(var n=t.childCount,r=0;r<n;r++){var i=t.getChild(r);this.children.add(i),i.parent=this,i.childIndex=this.children.length-1}}else this.children=e.children,this.freshenParentAndChildIndexes()}else null==this.children&&(this.children=this.createChildrenList()),this.children.add(t),t.parent=this,t.childIndex=this.children.length-1},S.prototype.addChildren=function(t){var e,n;if(null==t)throw new y("ArgumentNullException");try{for(var r=__values(t),i=r.next();!i.done;i=r.next()){var a=i.value;this.addChild(a)}}catch(t){e={error:t}}finally{try{i&&!i.done&&(n=r.return)&&n.call(r)}finally{if(e)throw e.error}}},S.prototype.setChild=function(t,e){if(t<0)throw new y("ArgumentOutOfRangeException");if(null==e)return;if(e.isNil)throw new y("Can't set single child to a list");null==this.children&&(this.children=this.createChildrenList()),(this.children[t]=e).parent=this,e.childIndex=t},S.prototype.insertChild=function(t,e){if(t<0)throw new y("ArgumentOutOfRangeException");if(t>this.childCount)throw new y("ArgumentException");if(t==this.childCount)return void this.addChild(e);this.children.insert(t,e),this.freshenParentAndChildIndexes(t)},S.prototype.deleteChild=function(t){if(t<0)throw new y("ArgumentOutOfRangeException");if(t>=this.childCount)throw new y("ArgumentException");if(null==this.children)return null;var e=this.children[t];return this.children.removeAt(t),this.freshenParentAndChildIndexes(t),e},S.prototype.replaceChildren=function(t,e,n){if(t<0)throw new y("ArgumentOutOfRangeException");if(e<0)throw new y("ArgumentOutOfRangeException");if(null==n)throw new y("ArgumentNullException");if(e<t)throw new y("ArgumentException");if(null==this.children)throw new y("indexes invalid; no children in list");var r=e-t+1,i,a=n,o=null;if(a.isNil){var s=a.stimulsoft.as(S);if(null!=s&&null!=s.children)o=s.children;else{o=this.createChildrenList();for(var u=a.childCount,l=0;l<u;l++)o.add(a.getChild(l))}}else(o=new g(1)).add(a);i=o.length;var c=o.length,s=r-i;if(0==s)for(var h=0,l=t;l<=e;l++){var p=o[h];(this.children[l]=p).parent=this,p.childIndex=l,h++}else if(0<s){for(var h=0;h<c;h++)this.children[t+h]=o[h];for(var f=t+c,m=f;m<=e;m++)this.children.removeAt(f);this.freshenParentAndChildIndexes(t)}else{for(var h=0;h<r;h++)this.children[t+h]=o[h];for(var d=i-r,h=r;h<i;h++)this.children.insert(t+h,o[h]);this.freshenParentAndChildIndexes(t)}},S.prototype.createChildrenList=function(){return new g},S.prototype.freshenParentAndChildIndexes=function(t){void 0===t&&(t=0);for(var e=this.childCount,n=t;n<e;n++){var r=this.getChild(n);r.childIndex=n,r.parent=this}},S.prototype.freshenParentAndChildIndexesDeeply=function(t){void 0===t&&(t=0);for(var e=this.childCount,n=t;n<e;n++){var r=this.getChild(n);r.childIndex=n,r.parent=this;var r=r.stimulsoft.as(S);null!=r&&r.freshenParentAndChildIndexesDeeply()}},S.prototype.sanityCheckParentAndChildIndexes=function(t,e){if(void 0===t&&(t=null),void 0===e&&(e=-1),t!=this.parent)throw new y("parents don't match; expected "+t.toString()+" found "+this.parent.toString());if(e!=this.childIndex)throw new y("child indexes don't match; expected "+e.toString()+" found "+this.childIndex.toString());for(var n=this.childCount,r=0,i;r<n;r++){this.getChild(r).sanityCheckParentAndChildIndexes(this,r)}},S.prototype.hasAncestor=function(t){return null!=this.getAncestor(t)},S.prototype.getAncestor=function(t){var e=this.parent;while(null!=e){if(e.type==t)return e;e=e.parent}return null},S.prototype.getAncestors=function(){if(null==this.parent)return null;var t=new g,e=this.parent;while(null!=e)t.insert(0,e),e=e.parent;return t},S.prototype.toStringTree=function(){if(null==this.children||0==this.children.length)return this.toString();var t="";this.isNil||(t+="(",t+=this.toString(),t+=" ");for(var e=0,n;null!=this.children&&e<this.children.length;e++){0<e&&(t+=" "),t+=this.children[e].toStringTree()}return this.isNil||(t+=")"),t},S.prototype.toString=function(){return null},S.prototype.dupNode=function(){return null},n=S,s.BaseTree=n}(Stimulsoft=Stimulsoft||{}),function(t){var e,n,r,i,a,o,s,u,l,c;function h(){this.uniqueNodeID=1}n=e=t.Data||(t.Data={}),n=r=n.Expressions||(n.Expressions={}),n=i=n.Antlr||(n.Antlr={}),o=a=n.Runtime||(n.Runtime={}),u=s=o.Tree||(o.Tree={}),l=t.System.Exception,c=t.System.Collections.Dictionary,h.prototype.implements=function(){return h.ImplementsBaseTreeAdaptor||(h.ImplementsBaseTreeAdaptor=[u.ITreeAdaptor]),h.ImplementsBaseTreeAdaptor},h.prototype.nil=function(){return this.create(null)},h.prototype.errorNode=function(t,e,n,r){var i;return new u.CommonErrorNode(t,e,n,r)},h.prototype.isNil=function(t){return t.isNil},h.prototype.dupNode=function(t,e,n){var e=this.dupNode2(e);return this.setType(e,t),this.setText(e,n),e},h.prototype.dupTree=function(t,e){if(null==t)return null;var n=this.dupNode2(t);this.setChildIndex(n,this.getChildIndex(t)),this.setParent(n,e);for(var r=this.getChildCount(t),i=0;i<r;i++){var a=this.getChild(t,i),a=this.dupTree(a,t);this.addChild(n,a)}return n},h.prototype.addChild=function(t,e){null!=t&&null!=e&&t.addChild(e)},h.prototype.becomeRoot=function(t,e){var n=t,r=e;if(null==e)return t;if(n.isNil){var t=n.childCount;if(1==t)n=n.getChild(0);else if(1<t)throw new l("more than one node as root (TODO: make exception hierarchy)")}return n.addChild(r),n},h.prototype.rulePostProcessing=function(t){var t=t;return null!=t&&t.isNil&&(0==t.childCount?t=null:1==t.childCount&&((t=t.getChild(0)).parent=null,t.childIndex=-1)),t},h.prototype.becomeRoot2=function(t,e){return this.becomeRoot(this.create(t),e)},h.prototype.create5=function(t,e){var n;return(e=this.createToken(e)).type=t,this.create(e)},h.prototype.create2=function(t,e,n){if(null==e)return this.create4(t,n);var r;return(e=this.createToken(e)).type=t,e.text=n,this.create(e)},h.prototype.create3=function(t,e){if(null==t)throw new l("ArgumentNullException");var n;return(t=this.createToken(t)).text=e,this.create(t)},h.prototype.create4=function(t,e){var e=this.createToken2(t,e),n;return this.create(e)},h.prototype.getType=function(t){var t=this.getTree(t);if(null==t)return o.TokenTypes.invalid;return t.type},h.prototype.setType=function(t,e){throw new l("don't know enough about Tree node")},h.prototype.getText=function(t){var t=this.getTree(t);if(null==t)return null;return t.text},h.prototype.setText=function(t,e){throw new l("don't know enough about Tree node")},h.prototype.getChild=function(t,e){var t=this.getTree(t);if(null==t)return null;return t.getChild(e)},h.prototype.setChild=function(t,e,n){var t=this.getTree(t);if(null==t)return;var n=this.getTree(n);t.setChild(e,n)},h.prototype.deleteChild=function(t,e){return t.deleteChild(e)},h.prototype.getChildCount=function(t){var t=this.getTree(t);if(null==t)return 0;return t.childCount},h.prototype.getUniqueID=function(t){null==this.treeToUniqueIDMap&&(this.treeToUniqueIDMap=new c);var e={ref:null};if(this.treeToUniqueIDMap.tryGetValue(t,e))return e.ref;var e=this.uniqueNodeID;return this.treeToUniqueIDMap.set(t,e),this.uniqueNodeID++,e},h.prototype.createToken2=function(t,e){return null},h.prototype.createToken=function(t){return null},h.prototype.create=function(t){return null},h.prototype.dupNode2=function(t){var t=this.getTree(t);if(null==t)return null;return t.dupNode()},h.prototype.getToken=function(t){return null},h.prototype.setTokenBoundaries=function(t,e,n){var r=this.getTree(t);if(null==r)return;var i=0,t=0;null!=e&&(i=e.tokenIndex),null!=n&&(t=n.tokenIndex),r.tokenStartIndex=i,r.tokenStopIndex=t},h.prototype.getTokenStartIndex=function(t){var t=this.getTree(t);if(null==t)return-1;return t.tokenStartIndex},h.prototype.getTokenStopIndex=function(t){var t=this.getTree(t);if(null==t)return-1;return t.tokenStopIndex},h.prototype.getParent=function(t){var t=this.getTree(t);if(null==t)return null;return t.parent},h.prototype.setParent=function(t,e){var t=this.getTree(t);if(null==t)return;var e=this.getTree(e);t.parent=e},h.prototype.getChildIndex=function(t){var t=this.getTree(t);if(null==t)return 0;return t.childIndex},h.prototype.setChildIndex=function(t,e){var t=this.getTree(t);if(null==t)return;t.childIndex=e},h.prototype.replaceChildren=function(t,e,n,r){var t=this.getTree(t);if(null==t)return;t.replaceChildren(e,n,r)},h.prototype.getTree=function(t){if(null==t)return null;var t=t.stimulsoft.as(u.ITree);if(null==t)throw new l("NotSupportedException");return t},n=h,u.BaseTreeAdaptor=n}(Stimulsoft=Stimulsoft||{}),function(l){var t,e,n,r,i,c,a;e=t=l.Data||(l.Data={}),e=n=e.Expressions||(e.Expressions={}),e=r=e.Antlr||(e.Antlr={}),c=i=e.Runtime||(e.Runtime={}),function(r){var u=l.System.Exception,i=l.System.Collections.List,e=l.System.Collections.Stack,t=(n.prototype.implements=function(){return n.ImplementsBufferedTreeNodeStream||(n.ImplementsBufferedTreeNodeStream=[r.ITreeNodeStream,c.ITokenStreamInformation]),n.ImplementsBufferedTreeNodeStream},Object.defineProperty(n.prototype,"count",{get:function(){if(-1==this.p)throw new u("Cannot determine the Count before the buffer is filled.");return this.nodes.length},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"treeSource",{get:function(){return this.root},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"sourceName",{get:function(){return this.tokenStream.sourceName},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"tokenStream",{get:function(){return this.tokens},set:function(t){this.tokens=t},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"treeAdaptor",{get:function(){return this.adaptor},set:function(t){this.adaptor=t},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"lastToken",{get:function(){return this.treeAdaptor.getToken(this.lb(1))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"lastRealToken",{get:function(){var t=0,e;do{t++,e=this.treeAdaptor.getToken(this.lb(t))}while(null!=e&&e.line<=0);return e},enumerable:!1,configurable:!0}),n.prototype.fillBuffer=function(){this.fillBuffer2(this.root),this.p=0},n.prototype.fillBuffer2=function(t){var e=this.adaptor.isNil(t);e||this.nodes.add(t);var n=this.adaptor.getChildCount(t);!e&&0<n&&this.addNavigationNode(c.TokenTypes.down);for(var r=0;r<n;r++){var i=this.adaptor.getChild(t,r);this.fillBuffer2(i)}!e&&0<n&&this.addNavigationNode(c.TokenTypes.up)},n.prototype.getNodeIndex=function(t){-1==this.p&&this.fillBuffer();for(var e=0,n;e<this.nodes.length;e++){if(this.nodes[e]==t)return e}return-1},n.prototype.addNavigationNode=function(t){var e=null,e=t==c.TokenTypes.down?this.uniqueNavigationNodes?this.adaptor.create4(c.TokenTypes.down,"DOWN"):this.down:this.uniqueNavigationNodes?this.adaptor.create4(c.TokenTypes.up,"UP"):this.up;this.nodes.add(e)},n.prototype.get=function(t){if(-1==this.p)throw new u("Cannot get the node at index i before the buffer is filled.");return this.nodes[t]},n.prototype.lt=function(t){if(-1==this.p&&this.fillBuffer(),0==t)return null;if(t<0)return this.lb(-t);if(this.p+t-1>=this.nodes.length)return this.eof;return this.nodes[this.p+t-1]},n.prototype.getCurrentSymbol=function(){return this.lt(1)},n.prototype.lb=function(t){if(0==t)return null;if(this.p-t<0)return null;return this.nodes[this.p-t]},n.prototype.consume=function(){-1==this.p&&this.fillBuffer(),this.p++},n.prototype.la=function(t){return this.adaptor.getType(this.lt(t))},n.prototype.mark=function(){return-1==this.p&&this.fillBuffer(),this.lastMarker=this.index,this.lastMarker},n.prototype.release=function(t){},Object.defineProperty(n.prototype,"index",{get:function(){return this.p},enumerable:!1,configurable:!0}),n.prototype.rewind2=function(t){this.seek(t)},n.prototype.rewind=function(){this.seek(this.lastMarker)},n.prototype.seek=function(t){-1==this.p&&this.fillBuffer(),this.p=t},n.prototype.push=function(t){null==this.calls&&(this.calls=new e),this.calls.push(this.p),this.seek(t)},n.prototype.pop=function(){var t=this.calls.pop();return this.seek(t),t},n.prototype.reset=function(){this.p=0,this.lastMarker=0,null!=this.calls&&this.calls.clear()},n.prototype.iterator=function(){return-1==this.p&&this.fillBuffer(),new a(this)},n.prototype.replaceChildren=function(t,e,n,r){null!=t&&this.adaptor.replaceChildren(t,e,n,r)},n.prototype.toTokenTypeString=function(){-1==this.p&&this.fillBuffer();for(var t="",e=0;e<this.nodes.length;e++){var n=this.nodes[e];t+=" ",t+=this.adaptor.getType(n)}return t},n.prototype.toTokenString=function(t,e){-1==this.p&&this.fillBuffer();for(var n="",r=t;r<this.nodes.length&&r<=e;r++){var i=this.nodes[r];n+=" ",n+=this.adaptor.getToken(i)}return n},n.prototype.toString=function(t,e){if(null==t||null==e)return null;if(-1==this.p)throw new u("Buffer is not yet filled.");if(null!=this.tokens){var n=this.adaptor.getTokenStartIndex(t),r=this.adaptor.getTokenStopIndex(e);return this.adaptor.getType(e)==c.TokenTypes.up?r=this.adaptor.getTokenStopIndex(t):this.adaptor.getType(e)==c.TokenTypes.endOfFile&&(r=this.count-2),this.tokens.toString(n,r)}for(var i=null,a=0;a<this.nodes.length;a++)if((i=this.nodes[a])==t)break;var o="",i=this.nodes[a];while(i!=e){var s=this.adaptor.getText(i);null==s&&(s=" "+this.adaptor.getType(i).toString()),o+=s,a++,i=this.nodes[a]}var r=this.adaptor.getText(e);return null==r&&(r=" "+this.adaptor.getType(e).toString()),o+=r},n);function n(t,e,n){this.DEFAULT_INITIAL_BUFFER_SIZE=100,this.INITIAL_CALL_STACK_SIZE=10,this.uniqueNavigationNodes=!1,this.p=-1,this.maxLookBehind=Number.MAX_VALUE,null==t&&(t=new r.CommonTreeAdaptor),null==n&&(n=this.DEFAULT_INITIAL_BUFFER_SIZE),this.root=e,this.adaptor=t,this.nodes=new i(n),this.down=t.create4(c.TokenTypes.down,"DOWN"),this.up=t.create4(c.TokenTypes.up,"UP"),this.eof=t.create4(c.TokenTypes.endOfFile,"EOF")}r.BufferedTreeNodeStream=t;var a=(__extends(s,o=i),Object.defineProperty(s.prototype,"current",{get:function(){if(this._index<this._outer.nodes.length)return this._outer.nodes[this._index];return this._outer.eof},enumerable:!1,configurable:!0}),s.prototype.dispose=function(){},s.prototype.moveNext=function(){return this._index<this._outer.nodes.length&&this._index++,this._index<this._outer.nodes.length},s.prototype.reset=function(){this._index=-1},s),o;function s(t){var e=o.call(this)||this;return e._outer=t,e._index=-1,e}r.StreamIterator=a}(a=c.Tree||(c.Tree={}))}(Stimulsoft=Stimulsoft||{}),function(t){var e,n,r,i,a,o,s,u,l,c;function h(t){var e=c.call(this)||this;if(e.startIndex=-1,e.stopIndex=-1,e.childIndex=-1,null!=t&&t.stimulsoft.is(h)){if(null==t)throw new l("ArgumentNullException");e.token=t.token,e.startIndex=t.startIndex,e.stopIndex=t.stopIndex}else e.token=t;return e}n=e=t.Data||(t.Data={}),i=r=n.Expressions||(n.Expressions={}),n=a=i.Antlr||(i.Antlr={}),s=o=n.Runtime||(n.Runtime={}),i=u=s.Tree||(s.Tree={}),l=t.System.Exception,c=i.BaseTree,__extends(h,c),Object.defineProperty(h.prototype,"isNil",{get:function(){return null==this.token},enumerable:!1,configurable:!0}),Object.defineProperty(h.prototype,"text",{get:function(){if(null==this.token)return null;return this.token.text},enumerable:!1,configurable:!0}),Object.defineProperty(h.prototype,"tokenStartIndex",{get:function(){if(-1==this.startIndex&&null!=this.token)return this.token.tokenIndex;return this.startIndex},set:function(t){this.startIndex=t},enumerable:!1,configurable:!0}),Object.defineProperty(h.prototype,"tokenStopIndex",{get:function(){if(-1==this.stopIndex&&null!=this.token)return this.token.tokenIndex;return this.stopIndex},set:function(t){this.stopIndex=t},enumerable:!1,configurable:!0}),Object.defineProperty(h.prototype,"type",{get:function(){if(null==this.token)return s.TokenTypes.invalid;return this.token.type},enumerable:!1,configurable:!0}),h.prototype.dupNode=function(){return new h(this)},h.prototype.setUnknownTokenBoundaries=function(){var e,t,n,r;if(null==this.children)return void((this.startIndex<0||this.stopIndex<0)&&(this.startIndex=this.stopIndex=this.token.tokenIndex));try{for(var i=__values(this.children),a=i.next();!a.done;a=i.next()){var o,s=a.value.stimulsoft.as(h);if(null==s)continue;s.setUnknownTokenBoundaries()}}catch(t){e={error:t}}finally{try{a&&!a.done&&(t=i.return)&&t.call(i)}finally{if(e)throw e.error}}if(0<=this.startIndex&&0<=this.stopIndex)return;0<this.children.length&&(n=this.children[0],r=this.children[this.children.length-1],this.startIndex=n.tokenStartIndex,this.stopIndex=r.tokenStopIndex)},h.prototype.toString=function(){if(this.isNil)return"nil";if(this.type==s.TokenTypes.invalid)return"<errornode>";if(null==this.token)return"";return this.token.text},n=h,i.CommonTree=n}(Stimulsoft=Stimulsoft||{}),function(t){var e,t,n,r,i,a,o,s,u;function l(t,e,n,r){var i=u.call(this)||this;return(null==n||n.tokenIndex<e.tokenIndex&&n.type!=a.TokenTypes.endOfFile)&&(n=e),i.input=t,i.start=e,i.stop=n,i.trappedException=r,i}t=e=t.Data||(t.Data={}),t=n=t.Expressions||(t.Expressions={}),t=r=t.Antlr||(t.Antlr={}),a=i=t.Runtime||(t.Runtime={}),s=o=a.Tree||(a.Tree={}),u=s.CommonTree,__extends(l,u),Object.defineProperty(l.prototype,"isNil",{get:function(){return!1},enumerable:!1,configurable:!0}),Object.defineProperty(l.prototype,"text",{get:function(){var t=null,e,n,t;return t=this.start.stimulsoft.is(a.IToken)?(e=this.start.tokenIndex,n=this.stop.tokenIndex,this.stop.type==a.TokenTypes.endOfFile&&(n=this.input.count),this.input.toString(e,n)):this.start.stimulsoft.is(s.ITree)?this.input.toString(this.start,this.stop):"<unknown>"},enumerable:!1,configurable:!0}),Object.defineProperty(l.prototype,"type",{get:function(){return a.TokenTypes.invalid},enumerable:!1,configurable:!0}),l.prototype.toString=function(){if(this.trappedException.stimulsoft.is(a.MissingTokenException))return"<missing type: "+this.trappedException.missingType.toString()+">";if(this.trappedException.stimulsoft.is(a.UnwantedTokenException))return"<extraneous: "+this.trappedException.unexpectedToken.toString()+", resync="+this.text+">";if(this.trappedException.stimulsoft.is(a.MismatchedTokenException))return"<mismatched token: "+this.trappedException.token.toString()+", resync="+this.text+">";if(this.trappedException.stimulsoft.is(a.NoViableAltException))return"<unexpected: "+this.trappedException.token.toString()+", resync="+Text.toString()+">";return"<error: "+Text.toString()+">"},t=l,s.CommonErrorNode=t}(Stimulsoft=Stimulsoft||{}),function(t){var e,t,n,r,i,a,o,s,u;function l(){return null!==u&&u.apply(this,arguments)||this}t=e=t.Data||(t.Data={}),t=n=t.Expressions||(t.Expressions={}),t=r=t.Antlr||(t.Antlr={}),a=i=t.Runtime||(t.Runtime={}),s=o=a.Tree||(a.Tree={}),u=s.BaseTreeAdaptor,__extends(l,u),l.prototype.create=function(t){return new s.CommonTree(t)},l.prototype.createToken2=function(t,e){return a.CommonToken.create3(t,e)},l.prototype.createToken=function(t){return a.CommonToken.create4(t)},l.prototype.getToken=function(t){if(t.stimulsoft.is(s.CommonTree))return t.token;return null},t=l,s.CommonTreeAdaptor=t}(Stimulsoft=Stimulsoft||{}),function(t){var e,n,r,i,a,o,s,u,l,c;function h(t,e){var n=c.call(this)||this;return n.DEFAULT_INITIAL_BUFFER_SIZE=100,n.INITIAL_CALL_STACK_SIZE=10,n._hasNilRoot=!1,n._level=0,n.uniqueNavigationNodes=!1,n._root=e,n._adaptor=t,n._it=new u.TreeIterator(t,n._root),n}n=e=t.Data||(t.Data={}),n=r=n.Expressions||(n.Expressions={}),n=i=n.Antlr||(n.Antlr={}),o=a=n.Runtime||(n.Runtime={}),u=s=o.Tree||(o.Tree={}),l=t.System.Collections.Stack,c=o.Misc.LookaheadStream,__extends(h,c),h.prototype.implements=function(){return h.ImplementsCommonTreeNodeStream||(h.ImplementsCommonTreeNodeStream=[u.ITreeNodeStream,u.IPositionTrackingStream]),h.ImplementsCommonTreeNodeStream},Object.defineProperty(h.prototype,"sourceName",{get:function(){if(null==this.tokenStream)return null;return this.tokenStream.sourceName},enumerable:!1,configurable:!0}),Object.defineProperty(h.prototype,"tokenStream",{get:function(){return this.tokens},set:function(t){this.tokens=t},enumerable:!1,configurable:!0}),Object.defineProperty(h.prototype,"treeAdaptor",{get:function(){return this._adaptor},set:function(t){this._adaptor=t},enumerable:!1,configurable:!0}),Object.defineProperty(h.prototype,"treeSource",{get:function(){return this._root},enumerable:!1,configurable:!0}),h.prototype.reset=function(){c.prototype.reset.call(this),this._it.reset(),this._hasNilRoot=!1,this._level=0,(this._previousLocationElement=null)!=this._calls&&this._calls.clear()},h.prototype.nextElement=function(){this._it.moveNext();var t=this._it.current;if(t==this._it.up){if(this._level--,0==this._level&&this._hasNilRoot)return this._it.moveNext(),this._it.current}else t==this._it.down&&this._level++;return 0==this._level&&this.treeAdaptor.isNil(t)&&(this._hasNilRoot=!0,this._it.moveNext(),t=this._it.current,this._level++,this._it.moveNext(),t=this._it.current),t},h.prototype.dequeue=function(){var t=c.prototype.dequeue.call(this);return 0==this._p&&this.hasPositionInformation(this.previousElement)&&(this._previousLocationElement=this.previousElement),t},h.prototype.isEndOfFile=function(t){return this.treeAdaptor.getType(t)==o.CharStreamConstants.endOfFile},h.prototype.la=function(t){return this.treeAdaptor.getType(this.lt(t))},h.prototype.push=function(t){null==this._calls&&(this._calls=new l),this._calls.push(this._p),this.seek(t)},h.prototype.pop=function(){var t=this._calls.pop();return this.seek(t),t},h.prototype.getKnownPositionElement=function(t){var e=this._data[this._p];if(this.hasPositionInformation(e))return e;if(!t)return null;for(var n=this._p-1;0<=n;n--)if(e=this._data[n],this.hasPositionInformation(e))return e;return this._previousLocationElement},h.prototype.hasPositionInformation=function(t){var t=this.treeAdaptor.getToken(t);if(null==t)return!1;if(t.line<=0)return!1;return!0},h.prototype.replaceChildren=function(t,e,n,r){null!=t&&this.treeAdaptor.replaceChildren(t,e,n,r)},h.prototype.toString1=function(t,e){return"n/a"},h.prototype.toTokenTypeString=function(){this.reset();var t="",e=this.lt(1),n=this.treeAdaptor.getType(e);while(n!=o.TokenTypes.endOfFile)t+=" ",t+=n,this.consume(),e=this.lt(1),n=this.treeAdaptor.getType(e);return t},n=h,u.CommonTreeNodeStream=n}(Stimulsoft=Stimulsoft||{}),function(t){var e,n,r,i,a,o,s,u,l;function c(){this.headerLines=["digraph {","","\tordering=out;","\tranksep=.4;",'\tbgcolor="lightgrey"; node [shape=box, fixedsize=false, fontsize=12, fontname="Helvetica-bold", fontcolor="blue"','\t\twidth=.25, height=.25, color="black", fillcolor="white", style="filled, solid, bold"];','\tedge [arrowsize=.5, color="black", style="bold"]',""],this.footer="}",this.nodeFormat=' {0} [label="{1}"];',this.edgeFormat=' {0} -> {1} // "{2}" -> "{3}"',this.nodeToNumberMap=new l,this.nodeNumber=0}n=e=t.Data||(t.Data={}),n=r=n.Expressions||(n.Expressions={}),n=i=n.Antlr||(n.Antlr={}),n=a=n.Runtime||(n.Runtime={}),s=o=n.Tree||(n.Tree={}),u=t.System.StiString,l=t.System.Collections.Dictionary,c.prototype.toDot2=function(t,e){var n,r,i,a,o,s,u="";try{for(var l=__values(this.headerLines),c=l.next(),h;!c.done;c=l.next()){u+=c.value+"\r\n"}}catch(t){n={error:t}}finally{try{c&&!c.done&&(r=l.return)&&r.call(l)}finally{if(n)throw n.error}}this.nodeNumber=0;var p=this.defineNodes(t,e);this.nodeNumber=0;var f=this.defineEdges(t,e);try{for(var m=__values(p),d=m.next(),y;!d.done;d=m.next()){u+=(y=d.value)+"\r\n"}}catch(t){i={error:t}}finally{try{d&&!d.done&&(a=m.return)&&a.call(m)}finally{if(i)throw i.error}}u+="\r\n";try{for(var g=__values(f),S=g.next(),y;!S.done;S=g.next()){u+=(y=S.value)+"\r\n"}}catch(t){o={error:t}}finally{try{S&&!S.done&&(s=g.return)&&s.call(g)}finally{if(o)throw o.error}}return u+="\r\n",u+=this.footer+"\r\n"},c.prototype.toDot=function(t){return this.toDot2(t,new s.CommonTreeAdaptor)},c.prototype.defineNodes=function(t,e){return null},c.prototype.defineEdges=function(t,e){return null},c.prototype.getNodeText=function(t,e){var t=t.getText(e),e="n"+this.getNodeNumber(e).toString();return u.format(this.nodeFormat,e,this.fixString(t))},c.prototype.getNodeNumber=function(t){var e={ref:null};return this.nodeToNumberMap.tryGetValue(t,e)?e.ref:(this.nodeToNumberMap.set(t,this.nodeNumber),this.nodeNumber++,this.nodeNumber-1)},c.prototype.fixString=function(t){return null!=t&&20<(t=(t=(t=(t=t.stimulsoft.replaceAll('"','\\\\"')).stimulsoft.replaceAll("\\t"," ")).stimulsoft.replaceAll("\\n","\\\\n")).stimulsoft.replaceAll("\\r","\\\\r")).length&&(t=t.substring(0,8)+"..."+t.substring(t.length-8)),t},n=c,s.DotTreeGenerator=n}(Stimulsoft=Stimulsoft||{}),function(t){var e,n,r,i,a,o,s;n=e=t.Data||(t.Data={}),n=r=n.Expressions||(n.Expressions={}),n=i=n.Antlr||(n.Antlr={}),n=a=n.Runtime||(n.Runtime={}),(s=o=n.Tree||(n.Tree={})).IPositionTrackingStream=new t.System.Interface("IPositionTrackingStream")}(Stimulsoft=Stimulsoft||{}),function(t){var e,n,r,i,a,o,s;n=e=t.Data||(t.Data={}),n=r=n.Expressions||(n.Expressions={}),n=i=n.Antlr||(n.Antlr={}),n=a=n.Runtime||(n.Runtime={}),(s=o=n.Tree||(n.Tree={})).ITree=new t.System.Interface("ITree")}(Stimulsoft=Stimulsoft||{}),function(t){var e,n,r,i,a,o,s;n=e=t.Data||(t.Data={}),n=r=n.Expressions||(n.Expressions={}),n=i=n.Antlr||(n.Antlr={}),n=a=n.Runtime||(n.Runtime={}),(s=o=n.Tree||(n.Tree={})).ITreeAdaptor=new t.System.Interface("ITreeAdaptor")}(Stimulsoft=Stimulsoft||{}),function(t){var e,n,r,i,a,o,s;n=e=t.Data||(t.Data={}),n=r=n.Expressions||(n.Expressions={}),n=i=n.Antlr||(n.Antlr={}),n=a=n.Runtime||(n.Runtime={}),(s=o=n.Tree||(n.Tree={})).ITreeNodeStream=new t.System.Interface("ITreeNodeStream")}(Stimulsoft=Stimulsoft||{}),function(r){var t,e,n,i,a,o;e=t=r.Data||(r.Data={}),e=n=e.Expressions||(e.Expressions={}),e=i=e.Antlr||(e.Antlr={}),e=a=e.Runtime||(e.Runtime={}),function(t){t.ITreeVisitorAction=new r.System.Interface("ITreeVisitorAction");var e=(n.prototype.implements=function(){return n.ImplementsTreeVisitorAction||(n.ImplementsTreeVisitorAction=[t.ITreeVisitorAction]),n.ImplementsTreeVisitorAction},n.prototype.pre=function(t){return t},n.prototype.post=function(t){return t},n);function n(){}t.TreeVisitorAction=e}(o=e.Tree||(e.Tree={}))}(Stimulsoft=Stimulsoft||{}),function(t){var e,n,r,t,i,a,o,s,u;function l(t){var e=u.call(this)||this;return e.tokenStartIndex=0,e.tokenStopIndex=0,e.type=0,e.payload=t,e}n=e=t.Data||(t.Data={}),t=r=n.Expressions||(n.Expressions={}),n=i=t.Antlr||(t.Antlr={}),o=a=n.Runtime||(n.Runtime={}),t=s=o.Tree||(o.Tree={}),u=t.BaseTree,__extends(l,u),Object.defineProperty(l.prototype,"text",{get:function(){return this.toString()},enumerable:!1,configurable:!0}),l.prototype.dupNode=function(){return null},l.prototype.toString=function(){if(this.payload.stimulsoft.is(o.IToken)){var t=this.payload;if(t.type==o.TokenTypes.endOfFile)return"<EOF>";return t.text}return this.payload.toString()},l.prototype.toStringWithHiddenTokens=function(){var t="";if(null!=this.hiddenTokens)for(var e=0,n;e<this.hiddenTokens.length;e++){t+=this.hiddenTokens[e].text}var r=this.toString();return"<EOF>"!=r&&(t+=r),t},l.prototype.toInputString=function(){var t="";return this.toStringLeaves(t),t},l.prototype.toStringLeaves=function(t){if(this.payload.stimulsoft.is(o.IToken))return void(t+=this.toStringWithHiddenTokens());for(var e=0,n;null!=this.children&&e<this.children.length;e++){this.children[e].toStringLeaves(t)}},n=l,t.ParseTree=n}(Stimulsoft=Stimulsoft||{}),function(t){var e,n,r,i,a,o,s,u;function l(t,e,n){var n=u.call(this,t,n)||this;return n._elementDescription=e,n}n=e=t.Data||(t.Data={}),i=r=n.Expressions||(n.Expressions={}),n=a=i.Antlr||(i.Antlr={}),i=o=n.Runtime||(n.Runtime={}),n=s=i.Tree||(i.Tree={}),i=t.System.Exception,__extends(l,u=i),i=l,n.RewriteCardinalityException=i}(Stimulsoft=Stimulsoft||{}),function(t){var e,n,r,t,i,a,o,s;function u(t,e,n){return s.call(this,t,e,n)||this}n=e=t.Data||(t.Data={}),t=r=n.Expressions||(n.Expressions={}),n=i=t.Antlr||(t.Antlr={}),t=a=n.Runtime||(n.Runtime={}),n=o=t.Tree||(t.Tree={}),s=n.RewriteCardinalityException,__extends(u,s),t=u,n.RewriteEarlyExitException=t}(Stimulsoft=Stimulsoft||{}),function(t){var e,n,r,t,i,a,o,s;function u(t,e,n){return s.call(this,t,e,n)||this}n=e=t.Data||(t.Data={}),t=r=n.Expressions||(n.Expressions={}),n=i=t.Antlr||(t.Antlr={}),t=a=n.Runtime||(n.Runtime={}),n=o=t.Tree||(t.Tree={}),s=n.RewriteCardinalityException,__extends(u,s),t=u,n.RewriteEmptyStreamException=t}(Stimulsoft=Stimulsoft||{}),function(t){var e,n,r,i,a,o,s,u;function l(t,e,n,r){this.cursor=0,this.dirty=!1,this.elementDescription=e,this.adaptor=t,null!=n&&this.add(n),null!=r&&(this.singleElement=null,this.elements=r)}n=e=t.Data||(t.Data={}),n=r=n.Expressions||(n.Expressions={}),n=i=n.Antlr||(n.Antlr={}),n=a=n.Runtime||(n.Runtime={}),s=o=n.Tree||(n.Tree={}),u=t.System.Collections.List,l.prototype.reset=function(){this.cursor=0,this.dirty=!0},l.prototype.add=function(t){if(null==t)return;if(null!=this.elements)return void this.elements.add(t);if(null==this.singleElement)return void(this.singleElement=t);this.elements=new u(5),this.elements.add(this.singleElement),this.singleElement=null,this.elements.add(t)},l.prototype.nextTree=function(){var t=this.count,e;if(this.dirty||this.cursor>=t&&1==t){var t=this.nextCore();return this.dup(t)}return this.nextCore()},l.prototype.nextCore=function(){var t=this.count;if(0==t)throw new s.RewriteEmptyStreamException(this.elementDescription);if(this.cursor>=t){if(1==t)return this.toTree(this.singleElement);throw new s.RewriteCardinalityException(this.elementDescription)}if(null!=this.singleElement)return this.cursor++,this.toTree(this.singleElement);var t=this.toTree(this.elements[this.cursor]);return this.cursor++,t},l.prototype.dup=function(t){return null},l.prototype.toTree=function(t){return t},Object.defineProperty(l.prototype,"hasNext",{get:function(){return null!=this.singleElement&&this.cursor<1||null!=this.elements&&this.cursor<this.elements.length},enumerable:!1,configurable:!0}),Object.defineProperty(l.prototype,"count",{get:function(){var t=0;if(null!=this.singleElement&&(t=1),null!=this.elements)return this.elements.length;return t},enumerable:!1,configurable:!0}),Object.defineProperty(l.prototype,"description",{get:function(){return this.elementDescription},enumerable:!1,configurable:!0}),n=l,s.RewriteRuleElementStream=n}(Stimulsoft=Stimulsoft||{}),function(t){var e,n,r,i,a,o,s,u,l;function c(t,e,n,r){return l.call(this,t,e,n,r)||this}n=e=t.Data||(t.Data={}),i=r=n.Expressions||(n.Expressions={}),n=a=i.Antlr||(i.Antlr={}),i=o=n.Runtime||(n.Runtime={}),n=s=i.Tree||(i.Tree={}),u=t.System.Exception,l=n.RewriteRuleElementStream,__extends(c,l),c.prototype.nextNode=function(){return this.nextCore()},c.prototype.toTree=function(t){return this.adaptor.dupNode(t)},c.prototype.dup=function(t){throw new u("dup can't be called for a node stream.")},i=c,n.RewriteRuleNodeStream=i}(Stimulsoft=Stimulsoft||{}),function(t){var e,n,r,t,i,a,o,s;function u(t,e,n,r){return s.call(this,t,e,n,r)||this}n=e=t.Data||(t.Data={}),t=r=n.Expressions||(n.Expressions={}),n=i=t.Antlr||(t.Antlr={}),t=a=n.Runtime||(n.Runtime={}),n=o=t.Tree||(t.Tree={}),s=n.RewriteRuleElementStream,__extends(u,s),u.prototype.nextNode=function(){var t=this.count;if(this.dirty||this.cursor>=t&&1==t){var t=this.nextCore();return this.adaptor.dupNode(t)}var e=this.nextCore(),n;while(this.adaptor.isNil(e)&&1==this.adaptor.getChildCount(e))e=this.adaptor.getChild(e,0);return this.adaptor.dupNode(e)},u.prototype.dup=function(t){return this.adaptor.dupTree(t)},t=u,n.RewriteRuleSubtreeStream=t}(Stimulsoft=Stimulsoft||{}),function(t){var e,n,r,i,a,o,s,u,l;function c(t,e,n,r){return l.call(this,t,e,n,r)||this}n=e=t.Data||(t.Data={}),i=r=n.Expressions||(n.Expressions={}),n=a=i.Antlr||(i.Antlr={}),i=o=n.Runtime||(n.Runtime={}),n=s=i.Tree||(i.Tree={}),u=t.System.Exception,l=n.RewriteRuleElementStream,__extends(c,l),c.prototype.nextNode=function(){var t=this.nextCore();return this.adaptor.create(t)},c.prototype.nextToken=function(){return this.nextCore()},c.prototype.toTree=function(t){return t},c.prototype.dup=function(t){throw new u("dup can't be called for a token stream.")},i=c,n.RewriteRuleTokenStream=i}(Stimulsoft=Stimulsoft||{}),function(t){var e,n,r,t,i,a,o,s,u;function l(){return null!==u&&u.apply(this,arguments)||this}n=e=t.Data||(t.Data={}),t=r=n.Expressions||(n.Expressions={}),n=i=t.Antlr||(t.Antlr={}),o=a=n.Runtime||(n.Runtime={}),t=s=o.Tree||(o.Tree={}),u=t.TreeRuleReturnScope,__extends(l,u),l.prototype.implements=function(){return l.ImplementsTemplateTreeRuleReturnScope||(l.ImplementsTemplateTreeRuleReturnScope=u.prototype.implements.call(this).concat([o.ITemplateRuleReturnScope,o.ITemplateRuleReturnScope])),l.ImplementsTemplateTreeRuleReturnScope},n=l,t.TemplateTreeRuleReturnScope=n}(Stimulsoft=Stimulsoft||{}),function(t){var e,n,r,i,a,l,o,s,u;function c(t){this.memoRuleFailed=-2,this.memoRuleUnknown=-1,this.defaultTokenChannel=l.TokenChannels.default,this.hidden=l.TokenChannels.hidden,this.nextTokenRuleName="nextToken",(this.tokenNames=null)==t&&(t=new l.RecognizerSharedState),this.state=t,this.initDFAs()}n=e=t.Data||(t.Data={}),n=r=n.Expressions||(n.Expressions={}),n=i=n.Antlr||(n.Antlr={}),l=a=n.Runtime||(n.Runtime={}),o=t.System.StiArray,s=t.System.Collections.List,u=t.System.Collections.Dictionary,c.prototype.setState=function(t){this.state=t},c.prototype.initDFAs=function(){},c.prototype.reset=function(){if(null==this.state)return;this.state._fsp=-1,this.state.errorRecovery=!1,this.state.lastErrorIndex=-1,this.state.failed=!1,this.state.syntaxErrors=0;for(var t=this.state.backtracking=0;null!=this.state.ruleMemo&&t<this.state.ruleMemo.length;t++)this.state.ruleMemo[t]=null},c.prototype.match=function(t,e,n){var r=this.getCurrentInputSymbol(t);if(t.la(1)==e)return t.consume(),this.state.errorRecovery=!1,this.state.failed=!1,r;if(0<this.state.backtracking)return this.state.failed=!0,r;return r=this.recoverFromMismatchedToken(t,e,n)},c.prototype.matchAny=function(t){this.state.errorRecovery=!1,this.state.failed=!1,t.consume()},c.prototype.mismatchIsUnwantedToken=function(t,e){return t.la(2)==e},c.prototype.mismatchIsMissingToken=function(t,e){if(null==e)return!1;var n;if(e.member(l.TokenTypes.endOfRule)&&(n=this.computeContextSensitiveRuleFOLLOW(),e=e.or(n),0<=this.state._fsp&&e.remove(l.TokenTypes.endOfRule)),e.member(t.la(1))||e.member(l.TokenTypes.endOfRule))return!0;return!1},c.prototype.reportError=function(t){if(this.state.errorRecovery)return;this.state.syntaxErrors++,this.state.errorRecovery=!0,this.displayRecognitionError(this.tokenNames,t)},c.prototype.displayRecognitionError=function(t,e){var n=this.getErrorHeader(e),t=this.getErrorMessage(e,t);this.emitErrorMessage(n+" "+t)},c.prototype.getErrorMessage=function(t,e){var n=t.message,r,i,a,i,n,a,i,o,i,s,i,i,u;return t.stimulsoft.is(l.UnwantedTokenException)?(i="<unknown>",i=t.expecting==l.TokenTypes.endOfFile?"EndOfFile":e[t.expecting],n="extraneous input "+this.getTokenErrorDisplay(t.unexpectedToken)+" expecting "+i):t.stimulsoft.is(l.MissingTokenException)?(i="<unknown>",n="missing "+(i=(a=t).expecting==l.TokenTypes.endOfFile?"EndOfFile":e[a.expecting])+" at "+this.getTokenErrorDisplay(t.token)):t.stimulsoft.is(l.MismatchedTokenException)?(i="<unknown>",i=(a=t).expecting==l.TokenTypes.endOfFile?"EndOfFile":e[a.expecting],n="mismatched input "+this.getTokenErrorDisplay(t.token)+" expecting "+i):t.stimulsoft.is(l.MismatchedTreeNodeException)?(i="<unknown>",i=t.expecting==l.TokenTypes.endOfFile?"EndOfFile":e[t.expecting],n="mismatched tree node: "+(null!=t.node?t.node.toString():"")+" expecting "+i):t.stimulsoft.is(l.NoViableAltException)?n="no viable alternative at input "+this.getTokenErrorDisplay(t.token):t.stimulsoft.is(l.EarlyExitException)?n="required (...)+ loop did not match anything at input "+this.getTokenErrorDisplay(t.token):t.stimulsoft.is(l.MismatchedSetException)||t.stimulsoft.is(l.MismatchedNotSetException)?(i=t,n="mismatched input "+this.getTokenErrorDisplay(t.token)+" expecting set "+i.expecting.toString()):t.stimulsoft.is(l.FailedPredicateException)&&(n="rule "+t.ruleName+" failed predicate: {"+t.predicateText+"}?"),n},Object.defineProperty(c.prototype,"numberOfSyntaxErrors",{get:function(){return this.state.syntaxErrors},enumerable:!1,configurable:!0}),c.prototype.getErrorHeader=function(t){var e=null!=this.sourceName?this.sourceName:"";return 0<e.length&&(e+=" "),e+"line "+t.line+":"+(t.charPositionInLine+1)},c.prototype.getTokenErrorDisplay=function(t){var e=t.text;return null==e&&(e=t.type==l.TokenTypes.endOfFile?"<EOF>":"<"+t.type.toString()+">"),"'"+(e=(e=(e=e.stimulsoft.replaceAll("\n","\\\\n")).stimulsoft.replaceAll("\r","\\\\r")).stimulsoft.replaceAll("\t","\\\\t"))+"'"},c.prototype.emitErrorMessage=function(t){},c.prototype.recover=function(t,e){this.state.lastErrorIndex==t.index&&t.consume(),this.state.lastErrorIndex=t.index;var n=this.computeErrorRecoverySet();this.beginResync(),this.consumeUntil2(t,n),this.endResync()},c.prototype.beginResync=function(){},c.prototype.endResync=function(){},c.prototype.computeErrorRecoverySet=function(){return this.combineFollows(!1)},c.prototype.computeContextSensitiveRuleFOLLOW=function(){return this.combineFollows(!0)},c.prototype.combineFollows=function(t){for(var e=this.state._fsp,n=new l.BitSet,r=e;0<=r;r--){var i=this.state.following[r];if(n.orInPlace(i),t){if(!i.member(l.TokenTypes.endOfRule))break;0<r&&n.remove(l.TokenTypes.endOfRule)}}return n},c.prototype.recoverFromMismatchedToken=function(t,e,n){var r=null;if(this.mismatchIsUnwantedToken(t,e)){r=new l.UnwantedTokenException(null,e,t,this.tokenNames.stimulsoft.toList()),this.beginResync(),t.consume(),this.endResync(),this.reportError(r);var i=this.getCurrentInputSymbol(t);return t.consume(),i}if(this.mismatchIsMissingToken(t,n)){var n=this.getMissingSymbol(t,r,e,n),r=new l.MissingTokenException(null,e,t,n);return this.reportError(r),n}throw r=new l.MismatchedTokenException(null,e,t,this.tokenNames.stimulsoft.toList())},c.prototype.recoverFromMismatchedSet=function(t,e,n){if(this.mismatchIsMissingToken(t,n))return this.reportError(e),this.getMissingSymbol(t,e,l.TokenTypes.invalid,n);throw e},c.prototype.getCurrentInputSymbol=function(t){return null},c.prototype.getMissingSymbol=function(t,e,n,r){return null},c.prototype.consumeUntil=function(t,e){var n=t.la(1);while(n!=l.TokenTypes.endOfFile&&n!=e)t.consume(),n=t.la(1)},c.prototype.consumeUntil2=function(t,e){var n=t.la(1);while(n!=l.TokenTypes.endOfFile&&!e.member(n))t.consume(),n=t.la(1)},c.prototype.pushFollow=function(t){this.state._fsp+1>=this.state.following.length&&this.state.following.stimulsoft.addRange(o.create(l.BitSet,this.state.following.length)),this.state.following[++this.state._fsp]=t},c.prototype.popFollow=function(){this.state._fsp--},Object.defineProperty(c.prototype,"backtrackingLevel",{get:function(){return this.state.backtracking},set:function(t){this.state.backtracking=t},enumerable:!1,configurable:!0}),Object.defineProperty(c.prototype,"failed",{get:function(){return this.state.failed},enumerable:!1,configurable:!0}),c.prototype.toStrings=function(t){var e,n;if(null==t)return null;var r=new s(t.length);try{for(var i=__values(t),a=i.next();!a.done;a=i.next()){var o=a.value;r.add(o.text)}}catch(t){e={error:t}}finally{try{a&&!a.done&&(n=i.return)&&n.call(i)}finally{if(e)throw e.error}}return r},c.prototype.getRuleMemoization=function(t,e){null==this.state.ruleMemo[t]&&(this.state.ruleMemo[t]=new u);var n={ref:null};if(!this.state.ruleMemo[t].tryGetValue(e,n))return this.memoRuleUnknown;return n.ref},c.prototype.alreadyParsedRule=function(t,e){var e=this.getRuleMemoization(e,t.index);if(e==this.memoRuleUnknown)return!1;return e==this.memoRuleFailed?this.state.failed=!0:t.seek(e+1),!0},c.prototype.memoize=function(t,e,n){var t=this.state.failed?this.memoRuleFailed:t.index-1;this.state.ruleMemo,this.state.ruleMemo.length,null!=this.state.ruleMemo[e]&&this.state.ruleMemo[e].set(n,t)},c.prototype.getRuleMemoizationCacheSize=function(){for(var t=0,e=0;null!=this.state.ruleMemo&&e<this.state.ruleMemo.length;e++){var n=this.state.ruleMemo[e];null!=n&&(t+=n.count)}return t},c.initialFollowStackSize=100,n=c,l.BaseRecognizer=n}(Stimulsoft=Stimulsoft||{}),function(t){var e,n,r,t,i,a,o,s,u;function l(t,e){var e=u.call(this,e)||this;return e.DOWN=o.TokenTypes.down,e.UP=o.TokenTypes.up,e.input=t,e}n=e=t.Data||(t.Data={}),t=r=n.Expressions||(n.Expressions={}),n=i=t.Antlr||(t.Antlr={}),o=a=n.Runtime||(n.Runtime={}),t=s=o.Tree||(o.Tree={}),u=o.BaseRecognizer,__extends(l,u),l.prototype.reset=function(){u.prototype.reset.call(this),null!=this.input&&this.input.seek(0)},l.prototype.setTreeNodeStream=function(t){this.input=t},l.prototype.getTreeNodeStream=function(){return this.input},Object.defineProperty(l.prototype,"sourceName",{get:function(){return this.input.sourceName},enumerable:!1,configurable:!0}),l.prototype.getCurrentInputSymbol=function(t){return t.lt(1)},l.prototype.getMissingSymbol=function(t,e,n,r){var i="<missing "+this.tokenNames[n]+">",a;return e.input.treeAdaptor.create(o.CommonToken.create3(n,i))},l.prototype.matchAny=function(t){var e;if(this.state.errorRecovery=!1,this.state.failed=!1,this.input.consume(),this.input.la(1)==this.DOWN){this.input.consume();var n=1;while(0<n){switch(this.input.la(1)){case this.DOWN:n++;break;case this.UP:n--;break;case o.TokenTypes.endOfFile:return;default:break}this.input.consume()}}},l.prototype.recoverFromMismatchedToken=function(t,e,n){throw new o.MismatchedTreeNodeException("",e,t)},l.prototype.getErrorHeader=function(t){return this.grammarFileName+": node from "+(t.approximateLineInfo?"after ":"")+"line "+t.line.toString()+":"+t.charPositionInLine.toString()},l.prototype.getErrorMessage=function(t,e){var n;return this.stimulsoft.is(l)&&(n=t.input.treeAdaptor,t.token=n.getToken(t.node),null==t.token&&(t.token=o.CommonToken.create3(n.getType(t.node),n.getText(t.node)))),u.prototype.getErrorMessage.call(this,t,e)},l.dotdot=".*[^.]\\.\\.[^.].*",l.doubleEtc=".*\\.\\.\\.\\s+\\.\\.\\..*",n=l,t.TreeParser=n}(Stimulsoft=Stimulsoft||{}),function(t){var e,n,r,t,i,a,o,s,u;function l(t,e){var n=this;return null==e&&(e=new o.RecognizerSharedState),(n=u.call(this,t,e)||this).originalAdaptor=t.treeAdaptor,n.originalTokenStream=t.tokenStream,n}n=e=t.Data||(t.Data={}),t=r=n.Expressions||(n.Expressions={}),n=i=t.Antlr||(t.Antlr={}),o=a=n.Runtime||(n.Runtime={}),t=s=o.Tree||(o.Tree={}),u=t.TreeParser,__extends(l,u),l.prototype.applyOnce=function(t,e){},l.prototype.downup=function(t){},l.prototype.topdown=function(){},l.prototype.bottomup=function(){},n=l,t.TreeFilter=n}(Stimulsoft=Stimulsoft||{}),function(t){var e,n,r,i,a,o,s,u,l,c;function h(t,e){var n=c.call(this)||this;return n.firstTime=!0,n.adaptor=t,n.tree=e,n.root=e,n.nodes=new l,n.down=t.create4(s.TokenTypes.down,"DOWN"),n.up=t.create4(s.TokenTypes.up,"UP"),n.eof=t.create4(s.TokenTypes.endOfFile,"EOF"),n}n=e=t.Data||(t.Data={}),i=r=n.Expressions||(n.Expressions={}),n=a=i.Antlr||(i.Antlr={}),s=o=n.Runtime||(n.Runtime={}),i=u=s.Tree||(s.Tree={}),n=t.System.Collections.List,l=t.System.Collections.Queue,__extends(h,c=n),h.prototype.dispose=function(){},h.prototype.moveNext=function(){if(this.firstTime)this.firstTime=!1,0==this.adaptor.getChildCount(this.tree)&&this.nodes.enqueue(this.eof),this.current=this.tree;else if(null!=this.nodes&&0<this.nodes.count)this.current=this.nodes.dequeue();else if(null==this.tree)this.current=this.eof;else if(0<this.adaptor.getChildCount(this.tree))this.tree=this.adaptor.getChild(this.tree,0),this.nodes.enqueue(this.tree),this.current=this.down;else{var t=this.adaptor.getParent(this.tree),e;while(null!=t&&this.adaptor.getChildIndex(this.tree)+1>=this.adaptor.getChildCount(t))this.nodes.enqueue(this.up),this.tree=t,t=this.adaptor.getParent(this.tree);null==t?(this.tree=null,this.nodes.enqueue(this.eof)):(e=this.adaptor.getChildIndex(this.tree)+1,this.tree=this.adaptor.getChild(t,e),this.nodes.enqueue(this.tree)),this.current=this.nodes.dequeue()}var e=this.current!=this.eof||!this.reachedEof;return this.reachedEof=this.current==this.eof,e},h.prototype.reset=function(){this.firstTime=!0,this.tree=this.root,this.nodes.clear()},n=h,i.TreeIterator=n}(Stimulsoft=Stimulsoft||{}),function(t){var e,n,r,t,i,a,o,s;function u(t){this.p=-1,this.sval="",this.error=!1,this.pattern=t,this.n=t.length,this.consume()}n=e=t.Data||(t.Data={}),t=r=n.Expressions||(n.Expressions={}),n=i=t.Antlr||(t.Antlr={}),o=a=n.Runtime||(n.Runtime={}),t=s=o.Tree||(o.Tree={}),u.prototype.nextToken=function(){this.sval="";while(this.c!=o.CharStreamConstants.endOfFile){if(this.c==" ".charCodeAt(0)||this.c=="\n".charCodeAt(0)||this.c=="\r".charCodeAt(0)||this.c=="\t".charCodeAt(0)){this.consume();continue}if(this.c>="a".charCodeAt(0)&&this.c<="z".charCodeAt(0)||this.c>="A".charCodeAt(0)&&this.c<="Z".charCodeAt(0)||this.c=="_".charCodeAt(0)){this.sval+=String.fromCharCode(this.c),this.consume();while(this.c>="a".charCodeAt(0)&&this.c<="z".charCodeAt(0)||this.c>="A".charCodeAt(0)&&this.c<="Z".charCodeAt(0)||this.c>="0".charCodeAt(0)&&this.c<="9".charCodeAt(0)||this.c=="_".charCodeAt(0))this.sval+=String.fromCharCode(this.c),this.consume();return u.id}if(this.c=="(".charCodeAt(0))return this.consume(),u.begin;if(this.c==")".charCodeAt(0))return this.consume(),u.end;if(this.c=="%".charCodeAt(0))return this.consume(),u.percent;if(this.c==":".charCodeAt(0))return this.consume(),u.colon;if(this.c==".".charCodeAt(0))return this.consume(),u.dot;if(this.c=="[".charCodeAt(0)){this.consume();while(this.c!="]".charCodeAt(0))this.c=="\\".charCodeAt(0)&&(this.consume(),this.c!="]".charCodeAt(0)&&(this.sval+="\\".charCodeAt(0))),this.sval+=String.fromCharCode(this.c),this.consume();return this.consume(),u.arg}return this.consume(),this.error=!0,o.CharStreamConstants.endOfFile}return o.CharStreamConstants.endOfFile},u.prototype.consume=function(){this.p++,this.p>=this.n?this.c=o.CharStreamConstants.endOfFile:this.c=this.pattern[this.p].charCodeAt(0)},u.begin=1,u.end=2,u.id=3,u.arg=4,u.percent=5,u.colon=6,u.dot=7,n=u,t.TreePatternLexer=n}(Stimulsoft=Stimulsoft||{}),function(t){var e,n,r,i,a,o,s,u,l,c;function h(t,e,n){this.tokenizer=t,this.wizard=e,this.adaptor=n,this.ttype=t.nextToken()}n=e=t.Data||(t.Data={}),n=r=n.Expressions||(n.Expressions={}),n=i=n.Antlr||(n.Antlr={}),o=a=n.Runtime||(n.Runtime={}),u=s=o.Tree||(o.Tree={}),l=t.System.Exception,c=t.System.Type,h.prototype.pattern=function(){if(this.ttype==u.TreePatternLexer.begin)return this.parseTree();if(this.ttype==u.TreePatternLexer.id){var t=this.parseNode();if(this.ttype==o.CharStreamConstants.endOfFile)return t;return null}return null},h.prototype.parseTree=function(){if(this.ttype!=u.TreePatternLexer.begin)throw new l("No beginning.");this.ttype=this.tokenizer.nextToken();var t=this.parseNode();if(null==t)return null;while(this.ttype==u.TreePatternLexer.begin||this.ttype==u.TreePatternLexer.id||this.ttype==u.TreePatternLexer.percent||this.ttype==u.TreePatternLexer.dot)if(this.ttype==u.TreePatternLexer.begin){var e=this.parseTree();this.adaptor.addChild(t,e)}else{var e=this.parseNode();if(null==e)return null;this.adaptor.addChild(t,e)}if(this.ttype!=u.TreePatternLexer.end)throw new l("No end.");return this.ttype=this.tokenizer.nextToken(),t},h.prototype.parseNode=function(){var t=null;if(this.ttype==u.TreePatternLexer.percent){if(this.ttype=this.tokenizer.nextToken(),this.ttype!=u.TreePatternLexer.id)return null;if(t=this.tokenizer.sval.toString(),this.ttype=this.tokenizer.nextToken(),this.ttype!=u.TreePatternLexer.colon)return null;this.ttype=this.tokenizer.nextToken()}if(this.ttype==u.TreePatternLexer.dot){this.ttype=this.tokenizer.nextToken();var e=o.CommonToken.create3(0,"."),n=new u.WildcardTreePattern(e);return null!=t&&(n.label=t),n}if(this.ttype!=u.TreePatternLexer.id)return null;var r=this.tokenizer.sval.toString();if(this.ttype=this.tokenizer.nextToken(),"nil"==r)return this.adaptor.nil();var e=r,n=null;this.ttype==u.TreePatternLexer.arg&&(e=n=this.tokenizer.sval.toString(),this.ttype=this.tokenizer.nextToken());var r=this.wizard.getTokenType(r),e;if(r==o.TokenTypes.invalid)return null;return e=this.adaptor.create4(r,e),null!=t&&c.getType(e)==u.TreePattern&&(e.label=t),null!=n&&c.getType(e)==u.TreePattern&&(e.hasTextArg=!0),e},n=h,u.TreePatternParser=n}(Stimulsoft=Stimulsoft||{}),function(t){var e,t,n,r,i,a,o,s,u;function l(t,e){var n=u.call(this,t,e)||this;return n.originalAdaptor=t.treeAdaptor,n.originalTokenStream=t.tokenStream,n.topdown_func=function(){return n.topdown()},n.bottomup_func=function(){return n.bottomup()},n}t=e=t.Data||(t.Data={}),t=n=t.Expressions||(t.Expressions={}),t=r=t.Antlr||(t.Antlr={}),a=i=t.Runtime||(t.Runtime={}),s=o=a.Tree||(a.Tree={}),u=s.TreeParser,__extends(l,u),l.prototype.applyOnce=function(t,e){if(null==t)return null;try{this.setState(new a.RecognizerSharedState),this.setTreeNodeStream(new s.CommonTreeNodeStream(this.originalAdaptor,t)),this.input.tokenStream=this.originalTokenStream,this.backtrackingLevel=1;var n=e();if(this.backtrackingLevel=0,this.failed)return t;return this.showTransformations&&null!=n&&!t.Equals(n.Tree)&&null!=n.Tree&&this.reportTransformation(t,n.Tree),null!=n&&null!=n.Tree?n.Tree:t}catch(t){}return t},l.prototype.applyRepeatedly=function(t,e){var n=!0;while(n){var r=this.applyOnce(t,e),n=!t.equals(r);t=r}return t},l.prototype.downup=function(t,e){void 0===e&&(e=!1),this.showTransformations=e;var n=new s.TreeVisitor(new s.CommonTreeAdaptor);return t},l.prototype.topdown=function(){return null},l.prototype.bottomup=function(){return null},l.prototype.reportTransformation=function(t,e){var t=t.stimulsoft.as(s.ITree),e=e.stimulsoft.as(s.ITree),n=null!=t?t.toStringTree():"??",r=null!=e?e.toStringTree():"??"},t=l,s.TreeRewriter=t}(Stimulsoft=Stimulsoft||{}),function(t){var e,t,n,r,i,a,o;function s(t){null==t&&(t=new o.CommonTreeAdaptor),this.adaptor=t}t=e=t.Data||(t.Data={}),t=n=t.Expressions||(t.Expressions={}),t=r=t.Antlr||(t.Antlr={}),t=i=t.Runtime||(t.Runtime={}),o=a=t.Tree||(t.Tree={}),s.prototype.visit=function(t,e){var n=this.adaptor.isNil(t);null==e||n||(t=e.pre(t));for(var r=0;r<this.adaptor.getChildCount(t);r++){var i=this.adaptor.getChild(t,r);this.visit(i,e)}return null==e||n||(t=e.post(t)),t},t=s,o.TreeVisitor=t}(Stimulsoft=Stimulsoft||{}),function(_){var t,e,n,r,i,C,a;e=t=_.Data||(_.Data={}),e=n=e.Expressions||(e.Expressions={}),e=r=e.Antlr||(e.Antlr={}),C=i=e.Runtime||(e.Runtime={}),function(o){var s=_.System.Collections.Dictionary,u=_.System.Collections.List,l=_.System.Type,t=(e.prototype.computeTokenTypes=function(t){var e=new s;if(null==t)return e;for(var n=C.TokenTypes.min;n<t.length;n++){var r=t[n];e.set(r,n)}return e},e.prototype.getTokenType=function(t){if(null==this.tokenNameToTypeMap)return C.TokenTypes.invalid;var e={ref:null};if(this.tokenNameToTypeMap.tryGetValue(t,e))return e.ref;return C.TokenTypes.invalid},e.prototype.index=function(t){var e=new s;return this.indexCore(t,e),e},e.prototype.indexCore=function(t,e){if(null==t)return;var n=this.adaptor.getType(t),r={ref:null};e.tryGetValue(n,r)&&null!=r.ref||(r.ref=new u,e.set(n,r.ref)),r.ref.add(t);for(var i=this.adaptor.getChildCount(t),a=0;a<i;a++){var o=this.adaptor.getChild(t,a);this.indexCore(o,e)}},e.prototype.find=function(t,e){var n=new u;return this.visit(t,e,new v(n)),n},e.prototype.find2=function(t,e){var n=new u,r=new o.TreePatternLexer(e),i,e=new o.TreePatternParser(r,this,new y).pattern();if(null==e||e.isNil||l.getType(e)==f)return null;var r=e.type;return this.visit(t,r,new x(this,e,n)),n},e.prototype.findFirst=function(t,e){return null},e.prototype.findFirst2=function(t,e){return null},e.prototype.visit=function(t,e,n){this.visitCore(t,null,0,e,n)},e.prototype.visit2=function(t,e,n){this.visit(t,e,new r(n))},e.prototype.visitCore=function(t,e,n,r,i){if(null==t)return;this.adaptor.getType(t)==r&&i.visit(t,e,n,null);for(var a=this.adaptor.getChildCount(t),o=0;o<a;o++){var s=this.adaptor.getChild(t,o);this.visitCore(s,t,o,r,i)}},e.prototype.visit3=function(t,e,n){var r=new o.TreePatternLexer(e),i,a=new o.TreePatternParser(r,this,new y).pattern();if(null==a||a.isNil||l.getType(a)==f)return;var e=new s,r=a.type;this.visit(t,r,new w(this,n,e,a))},e.prototype.parse=function(t,e,n){var e=new o.TreePatternLexer(e),r,e=new o.TreePatternParser(e,this,new y).pattern(),i;return this.parseCore(t,e,n)},e.prototype.parse2=function(t,e){return this.parse(t,e,null)},e.prototype.parseCore=function(t,e,n){if(null==t||null==e)return!1;if(l.getType(e)!=f){if(this.adaptor.getType(t)!=e.type)return!1;if(e.hasTextArg&&this.adaptor.getText(t)!=e.text)return!1}null!=e.label&&null!=n&&n.set(e.label,t);var r=this.adaptor.getChildCount(t),i;if(r!=e.childCount)return!1;for(var a=0;a<r;a++){var o=this.adaptor.getChild(t,a),s=e.getChild(a);if(!this.parseCore(o,s,n))return!1}return!0},e.prototype.create=function(t){var t=new o.TreePatternLexer(t),e,n;return new o.TreePatternParser(t,this,this.adaptor).pattern()},e.equals=function(t,e,n){return this.equalsCore(t,e,n)},e.equalsCore=function(t,e,n){if(null==t||null==e)return!1;if(n.getType(t)!=n.getType(e))return!1;if(n.getText(t)!=n.getText(e))return!1;var r=n.getChildCount(t),i;if(r!=n.getChildCount(e))return!1;for(var a=0;a<r;a++){var o=n.getChild(t,a),s=n.getChild(e,a);if(!this.equalsCore(o,s,n))return!1}return!0},e);function e(){}o.TreeWizard=t,o.IContextVisitor=new _.System.Interface("IContextVisitor");var t=(n.prototype.implements=function(){return n.ImplementsVisitor||(n.ImplementsVisitor=[o.IContextVisitor]),n.ImplementsVisitor},n.prototype.visit2=function(t,e,n,r){this.visit(t)},n.prototype.visit=function(t){},n);function n(){}o.Visitor=t;var r=(__extends(a,i=t),a.prototype.visit=function(t){},a),i;function a(t){var e=i.call(this)||this;return e._action=t,e}o.ActionVisitor=r;var c=(h=o.CommonTree,__extends(p,h),p.prototype.toString=function(){return null!=this.label?"%"+this.label+":":h.prototype.toString.call(this)},p),h;function p(t){return h.call(this,t)||this}o.TreePattern=c;var f=(__extends(d,m=c),d),m;function d(t){return m.call(this,t)||this}o.WildcardTreePattern=f;var y=(g=o.CommonTreeAdaptor,__extends(S,g),S.prototype.create=function(t){return new c(t)},S),g;function S(){return null!==g&&g.apply(this,arguments)||this}o.TreePatternTreeAdaptor=y;var v=(__extends(T,b=t),T.prototype.visit=function(t){this._nodes.add(t)},T),b;function T(t){var e=b.call(this)||this;return e._nodes=t,e}o.FindTreeWizardVisitor=v;var x=(E.prototype.implements=function(){return E.ImplementsFindTreeWizardContextVisitor||(E.ImplementsFindTreeWizardContextVisitor=[o.IContextVisitor]),E.ImplementsFindTreeWizardContextVisitor},E.prototype.visit=function(t,e,n,r){this._outer.parseCore(t,this._tpattern,null)&&this._subtrees.add(t)},E);function E(t,e,n){this._outer=t,this._tpattern=e,this._subtrees=n}o.FindTreeWizardContextVisitor=x;var w=(D.prototype.implements=function(){return D.ImplementsVisitTreeWizardContextVisitor||(D.ImplementsVisitTreeWizardContextVisitor=[o.IContextVisitor]),D.ImplementsVisitTreeWizardContextVisitor},D.prototype.visit=function(t,e,n,r){this._labels.clear(),this._outer.parseCore(t,this._tpattern,this._labels)&&this._visitor.visit(t,e,n,this._labels)},D);function D(t,e,n,r){this._outer=t,this._visitor=e,this._labels=n,this._tpattern=r}o.VisitTreeWizardContextVisitor=w}(a=C.Tree||(C.Tree={}))}(Stimulsoft=Stimulsoft||{}),function(t){var e,n,r,i,a,o,s,u;function l(t,e,n,r){if(void 0===e&&(e=t.split("")),void 0===n&&(n=null!=t?t.length:null),void 0===r&&(r=null),this.p=0,this.markDepth=0,this.line=1,this.charPositionInLine=0,null==e)throw new s("ArgumentNullException");if(n<0)throw new s("ArgumentOutOfRangeException");if(n>e.length)throw new s("ArgumentException");this.data=e,this.n=n,this.name=r}n=e=t.Data||(t.Data={}),n=r=n.Expressions||(n.Expressions={}),n=i=n.Antlr||(n.Antlr={}),o=a=n.Runtime||(n.Runtime={}),s=t.System.Exception,u=t.System.Collections.List,l.prototype.implements=function(){return l.ImplementsANTLRStringStream||(l.ImplementsANTLRStringStream=[o.ICharStream]),l.ImplementsANTLRStringStream},Object.defineProperty(l.prototype,"index",{get:function(){return this.p},enumerable:!1,configurable:!0}),l.prototype.reset=function(){this.p=0,this.line=1,this.charPositionInLine=0,this.markDepth=0},l.prototype.consume=function(){this.p<this.n&&(this.charPositionInLine++,"\n"==this.data[this.p]&&(this.line++,this.charPositionInLine=0),this.p++)},l.prototype.la=function(t){if(0==t)return 0;if(t<0&&(t++,this.p+t-1<0))return o.CharStreamConstants.endOfFile;if(this.p+t-1>=this.n)return o.CharStreamConstants.endOfFile;return this.data[this.p+t-1].charCodeAt(0)},l.prototype.lt=function(t){return this.la(t)},Object.defineProperty(l.prototype,"count",{get:function(){return this.n},enumerable:!1,configurable:!0}),l.prototype.mark=function(){null==this.markers&&(this.markers=new u,this.markers.add(null)),this.markDepth++;var t=null;return this.markDepth>=this.markers.length?(t=new o.CharStreamState,this.markers.add(t)):t=this.markers[this.markDepth],t.p=this.index,t.line=this.line,t.charPositionInLine=this.charPositionInLine,this.lastMarker=this.markDepth,this.markDepth},l.prototype.rewind=function(t){if(void 0===t&&(t=this.lastMarker),t<0)throw new s("ArgumentOutOfRangeException");var e=this.markers[t];this.seek(e.p),this.line=e.line,this.charPositionInLine=e.charPositionInLine,this.release(t)},l.prototype.release=function(t){this.markDepth=t,this.markDepth--},l.prototype.seek=function(t){if(t<=this.p)return void(this.p=t);while(this.p<t)this.consume()},l.prototype.substring=function(t,e){if(t<0)throw new s("ArgumentOutOfRangeException");if(e<0)throw new s("ArgumentOutOfRangeException");if(t+e>this.data.length)throw new s("ArgumentException");if(0==e)return"";return this.data.join("").substr(t,e)},Object.defineProperty(l.prototype,"sourceName",{get:function(){return this.name},enumerable:!1,configurable:!0}),l.prototype.toString=function(){return this.data.join("")},n=l,o.ANTLRStringStream=n}(Stimulsoft=Stimulsoft||{}),function(t){var e,n,r,t,i,a,o;function s(){var t=null!==o&&o.apply(this,arguments)||this;return t.readBufferSize=1024,t.initialBufferSize=1024,t}n=e=t.Data||(t.Data={}),t=r=n.Expressions||(n.Expressions={}),n=i=t.Antlr||(t.Antlr={}),t=a=n.Runtime||(n.Runtime={}),o=t.ANTLRStringStream,__extends(s,o),n=s,t.ANTLRReaderStream=n}(Stimulsoft=Stimulsoft||{}),function(t){var e,n,r,t,i,a,o;function s(){return null!==o&&o.apply(this,arguments)||this}n=e=t.Data||(t.Data={}),t=r=n.Expressions||(n.Expressions={}),n=i=t.Antlr||(t.Antlr={}),t=a=n.Runtime||(n.Runtime={}),o=t.ANTLRReaderStream,__extends(s,o),n=s,t.ANTLRInputStream=n}(Stimulsoft=Stimulsoft||{}),function(t){var e,t,n,r,i,a;function o(){}t=e=t.Data||(t.Data={}),t=n=t.Expressions||(t.Expressions={}),t=r=t.Antlr||(t.Antlr={}),a=i=t.Runtime||(t.Runtime={}),o.prototype.implements=function(){return o.ImplementsParserRuleReturnScope||(o.ImplementsParserRuleReturnScope=[a.IRuleReturnScope]),o.ImplementsParserRuleReturnScope},t=o,a.ParserRuleReturnScope=t}(Stimulsoft=Stimulsoft||{}),function(t){var e,t,n,r,i,a,o;function s(){return null!==o&&o.apply(this,arguments)||this}t=e=t.Data||(t.Data={}),t=n=t.Expressions||(t.Expressions={}),t=r=t.Antlr||(t.Antlr={}),a=i=t.Runtime||(t.Runtime={}),o=a.ParserRuleReturnScope,__extends(s,o),s.prototype.implements=function(){return s.ImplementsAstParserRuleReturnScope||(s.ImplementsAstParserRuleReturnScope=o.prototype.implements.call(this).concat([a.IAstRuleReturnScope,a.IAstRuleReturnScope])),s.ImplementsAstParserRuleReturnScope},t=s,a.AstParserRuleReturnScope=t}(Stimulsoft=Stimulsoft||{}),function(t){var e,n,r,i,a,o,s,u;function l(t){null==t&&(t=l.BITS),this._bits=s.create(Number,(t-1>>l.LOG_BITS)+1)}n=e=t.Data||(t.Data={}),i=r=n.Expressions||(n.Expressions={}),n=a=i.Antlr||(i.Antlr={}),i=o=n.Runtime||(n.Runtime={}),s=t.System.StiArray,u=t.System.Exception,l.create=function(t){var e=new l;return e._bits=t,e},l.of=function(t){var e=new l(t+1);return e.add(t),e},l.of2=function(t,e){var n=new l(Math.max(t,e)+1);return n.add(t),n.add(e),n},l.of3=function(t,e,n){var r=new l;return r.add(t),r.add(e),r.add(n),r},l.of4=function(t,e,n,r){var i=new l;return i.add(t),i.add(e),i.add(n),i.add(r),i},l.prototype.or=function(t){if(null==t)return this;var e=this.clone();return e.orInPlace(t),e},l.prototype.add=function(t){var e=l.wordNumber(t);e>=this._bits.length&&this.growToInclude(t),this._bits[e]|=l.bitMask(t)},l.prototype.growToInclude=function(t){var t=Math.max(this._bits.length<<1,l.numWordsToHold(t));this.setSize(t)},l.prototype.orInPlace=function(t){if(null==t)return;t._bits.length>this._bits.length&&this.setSize(t._bits.length);for(var e,n=Math.min(this._bits.length,t._bits.length)-1;0<=n;n--)this._bits[n]|=t._bits[n]},l.prototype.setSize=function(t){this._bits.stimulsoft.addRange(s.create(Number,t-this._bits.length))},l.bitMask=function(t){var e;return 1<<(t&this.MOD_MASK)},l.prototype.clone=function(){return l.create(this._bits.stimulsoft.clone())},l.prototype.size=function(){for(var t=0,e=this._bits.length-1;0<=e;e--){var n=this._bits[e];if(0!=n)for(var r=l.BITS-1;0<=r;r--)0!=(n&1<<r)&&t++}return t},l.prototype.getHashCode=function(){throw new u("NotImplementedException")},l.prototype.equals=function(t){if(null==t||!t.stimulsoft.is(l))return!1;for(var e=t,n=Math.min(this._bits.length,e._bits.length),r=0;r<n;r++)if(this._bits[r]!=e._bits[r])return!1;if(this._bits.length>n){for(var r=n+1;r<this._bits.length;r++)if(0!=this._bits[r])return!1}else if(e._bits.length>n)for(var r=n+1;r<e._bits.length;r++)if(0!=e._bits[r])return!1;return!0},l.prototype.member=function(t){if(t<0)return!1;var e=l.wordNumber(t);if(e>=this._bits.length)return!1;return 0!=(this._bits[e]&l.bitMask(t))},l.prototype.remove=function(t){var e=l.wordNumber(t);this._bits.length},l.prototype.isNil=function(){for(var t=this._bits.length-1;0<=t;t--)if(0!=this._bits[t])return!1;return!0},l.numWordsToHold=function(t){return(t>>this.LOG_BITS)+1},l.prototype.numBits=function(){return this._bits.length<<l.LOG_BITS},l.prototype.lengthInLongWords=function(){return this._bits.length},l.prototype.toArray=function(){for(var t=s.create(Number,this.size()),e=0,n=0;n<this._bits.length<<l.LOG_BITS;n++)this.member(n)&&(t[e++]=n);return t},l.wordNumber=function(t){return t>>this.LOG_BITS},l.prototype.toString=function(t){void 0===t&&(t=null);var e="",n=",",r=!1;e+="{";for(var i=0;i<this._bits.length<<l.LOG_BITS;i++)this.member(i)&&(0<i&&r&&(e+=n),e+=null!=t?t[i]:i,r=!0);return e+="}"},l.BITS=64,l.LOG_BITS=6,l.MOD_MASK=l.BITS-1,n=l,i.BitSet=n}(Stimulsoft=Stimulsoft||{}),function(t){var e,n,r,i,a,o,s,u;function l(t){this._tokens=new u(100),this._p=-1,this.range=0,this.maxLookBehind=Number.MAX_VALUE,this._tokenSource=t}n=e=t.Data||(t.Data={}),n=r=n.Expressions||(n.Expressions={}),n=i=n.Antlr||(n.Antlr={}),o=a=n.Runtime||(n.Runtime={}),s=t.System.Exception,u=t.System.Collections.List,l.prototype.implements=function(){return l.ImplementsBufferedTokenStream||(l.ImplementsBufferedTokenStream=[o.ITokenStream,o.ITokenStreamInformation]),l.ImplementsBufferedTokenStream},Object.defineProperty(l.prototype,"tokenSource",{get:function(){return this._tokenSource},set:function(t){this._tokenSource=t,this._tokens.clear(),this._p=-1},enumerable:!1,configurable:!0}),Object.defineProperty(l.prototype,"index",{get:function(){return this._p},enumerable:!1,configurable:!0}),Object.defineProperty(l.prototype,"count",{get:function(){return this._tokens.length},enumerable:!1,configurable:!0}),Object.defineProperty(l.prototype,"sourceName",{get:function(){return this._tokenSource.sourceName},enumerable:!1,configurable:!0}),Object.defineProperty(l.prototype,"lastToken",{get:function(){return this.lb(1)},enumerable:!1,configurable:!0}),Object.defineProperty(l.prototype,"lastRealToken",{get:function(){var t=0,e;do{t++,e=this.lb(t)}while(null!=e&&e.line<=0);return e},enumerable:!1,configurable:!0}),l.prototype.mark=function(){return-1==this._p&&this.setup(),this._lastMarker=this.index,this._lastMarker},l.prototype.release=function(t){},l.prototype.rewind=function(t){void 0===t&&(t=this._lastMarker),this.seek(t)},l.prototype.reset=function(){this._p=0,this._lastMarker=0},l.prototype.seek=function(t){this._p=t},l.prototype.consume=function(){-1==this._p&&this.setup(),this._p++,this.sync(this._p)},l.prototype.sync=function(t){var t=t-this._tokens.length+1;0<t&&this.fetch(t)},l.prototype.fetch=function(t){for(var e=0;e<t;e++){var n=this.tokenSource.nextToken();if(n.tokenIndex=this._tokens.length,this._tokens.add(n),n.type==o.CharStreamConstants.endOfFile)break}},l.prototype.get=function(t){if(t<0||t>=this._tokens.length)throw new s("token index "+t.toString()+" out of range 0.."+(this._tokens.length-1).toString());return this._tokens[t]},l.prototype.la=function(t){return this.lt(t).type},l.prototype.lb=function(t){if(this._p-t<0)return null;return this._tokens[this._p-t]},l.prototype.lt=function(t){if(-1==this._p&&this.setup(),0==t)return null;if(t<0)return this.lb(-t);var e=this._p+t-1;if(this.sync(e),e>=this._tokens.length)return this._tokens[this._tokens.length-1];return e>this.range&&(this.range=e),this._tokens[this._p+t-1]},l.prototype.setup=function(){this.sync(0),this._p=0},l.prototype.getTokens=function(t,e,n){if(-1==this._p&&this.setup(),e>=this._tokens.length&&(e=this._tokens.length-1),t<0&&(t=0),e<t)return null;for(var r=new u,i=t;i<=e;i++){var a=this._tokens[i];null!=n&&!n.member(a.type)||r.add(a)}return 0==r.length&&(r=null),r},l.prototype.toString=function(){return-1==this._p&&this.setup(),this.fill(),this.toString2(0,this._tokens.length-1)},l.prototype.toString2=function(t,e){if(t<0||e<0)return null;-1==this._p&&this.setup(),e>=this._tokens.length&&(e=this._tokens.length-1);for(var n="",r=t;r<=e;r++){var i=this._tokens[r];if(i.type==o.CharStreamConstants.endOfFile)break;n+=i.text}return n},l.prototype.fill=function(){if(-1==this._p&&this.setup(),this._tokens[this._p].type==o.CharStreamConstants.endOfFile)return;var t=this._p+1;this.sync(t);while(this._tokens[t].type!=o.CharStreamConstants.endOfFile)t++,this.sync(t)},n=l,o.BufferedTokenStream=n}(Stimulsoft=Stimulsoft||{}),function(t){var e,n,r,t,i,a;function o(){}n=e=t.Data||(t.Data={}),t=r=n.Expressions||(n.Expressions={}),n=i=t.Antlr||(t.Antlr={}),t=a=n.Runtime||(n.Runtime={}),o.endOfFile=-1,n=o,t.CharStreamConstants=n}(Stimulsoft=Stimulsoft||{}),function(t){var e,t,n,r,i,a,o;function s(){}t=e=t.Data||(t.Data={}),t=n=t.Expressions||(t.Expressions={}),t=r=t.Antlr||(t.Antlr={}),(a=i=t.Runtime||(t.Runtime={})).CharStreamState=s}(Stimulsoft=Stimulsoft||{}),function(t){var e,t,n,r,i,a;function o(t,e,n){this.channel=a.TokenChannels.default,this.startIndex=-1,this.stopIndex=-1,this.inputStream=null,this.type=t,this.text=e,this.channel=n}t=e=t.Data||(t.Data={}),t=n=t.Expressions||(t.Expressions={}),t=r=t.Antlr||(t.Antlr={}),a=i=t.Runtime||(t.Runtime={}),o.prototype.implements=function(){return o.ImplementsClassicToken||(o.ImplementsClassicToken=[a.IToken]),o.ImplementsClassicToken},Object.defineProperty(o.prototype,"tokenIndex",{get:function(){return this.index},set:function(t){this.index=t},enumerable:!1,configurable:!0}),o.prototype.toString=function(){var t="";0<this.channel&&(t=",channel="+this.channel.toString());var e,e=null!=(e=this.text)?(e=(e=e.stimulsoft.replaceAll("\n","\\\\n")).stimulsoft.replaceAll("\r","\\\\r")).stimulsoft.replaceAll("\t","\\\\t"):"<no text>";return"[@"+this.tokenIndex.toString()+",'"+e+"',<"+this.type.toString()+">"+t+","+this.line.toString()+":"+this.charPositionInLine.toString()+"]"},t=o,a.ClassicToken=t}(Stimulsoft=Stimulsoft||{}),function(t){var e,t,n,r,i,a;function o(){this.index=-1,this.charPositionInLine=-1,this.channel=a.TokenChannels.default}t=e=t.Data||(t.Data={}),t=n=t.Expressions||(t.Expressions={}),t=r=t.Antlr||(t.Antlr={}),a=i=t.Runtime||(t.Runtime={}),o.prototype.implements=function(){return o.ImplementsCommonToken||(o.ImplementsCommonToken=[a.IToken]),o.ImplementsCommonToken},o.create1=function(t){var e=new o;return e.type=t,e},o.create2=function(t,e,n,r,i){var a=new o;return a.input=t,a.type=e,a.channel=n,a.start=r,a.stop=i,a},o.create3=function(t,e){var n=new o;return n.type=t,n.channel=a.TokenChannels.default,n.text=e,n},o.create4=function(t){var e=new o;return e._text=t.text,e.type=t.type,e.line=t.line,e.index=t.tokenIndex,e.charPositionInLine=t.charPositionInLine,e.channel=t.channel,e.input=t.inputStream,t.stimulsoft.is(o)&&(e.start=t.start,e.stop=t.stop),e},Object.defineProperty(o.prototype,"text",{get:function(){if(null!=this._text)return this.text;if(null==this.input)return null;if(this.start<=this.stop&&this.stop<this.input.count)return this.input.substring(this.start,this.stop-this.start+1);return"<EOF>"},set:function(t){this._text=t},enumerable:!1,configurable:!0}),Object.defineProperty(o.prototype,"startIndex",{get:function(){return this.start},set:function(t){this.start=t},enumerable:!1,configurable:!0}),Object.defineProperty(o.prototype,"stopIndex",{get:function(){return this.stop},set:function(t){this.stop=t},enumerable:!1,configurable:!0}),Object.defineProperty(o.prototype,"tokenIndex",{get:function(){return this.index},set:function(t){this.index=t},enumerable:!1,configurable:!0}),Object.defineProperty(o.prototype,"inputStream",{get:function(){return this.input},set:function(t){this.input=t},enumerable:!1,configurable:!0}),o.prototype.toString=function(){var t="";0<this.channel&&(t=",channel="+this.channel.toString());var e,e=null!=(e=this.text)?(e=(e=e.stimulsoft.replaceAll("\n","\\\\n")).stimulsoft.replaceAll("\r","\\\\r")).stimulsoft.replaceAll("\t","\\\\t"):"<no text>";return"[@"+this.tokenIndex+","+this.start+":"+this.stop+"='"+e+"',<"+this.type+">"+t+","+this.line+":"+this.charPositionInLine+"]"},t=o,a.CommonToken=t}(Stimulsoft=Stimulsoft||{}),function(t){var e,t,n,r,i,a,o;function s(t,e){void 0===e&&(e=a.TokenChannels.default);var t=o.call(this,t)||this;return t.channel=e,t}t=e=t.Data||(t.Data={}),t=n=t.Expressions||(t.Expressions={}),t=r=t.Antlr||(t.Antlr={}),a=i=t.Runtime||(t.Runtime={}),o=a.BufferedTokenStream,__extends(s,o),s.prototype.consume=function(){-1==this._p&&this.setup(),this._p++,this._p=this.skipOffTokenChannels(this._p)},s.prototype.lb=function(t){if(0==t||this._p-t<0)return null;var e=this._p,n=1;while(n<=t)e=this.skipOffTokenChannelsReverse(e-1),n++;if(e<0)return null;return this._tokens[e]},s.prototype.lt=function(t){if(-1==this._p&&this.setup(),0==t)return null;if(t<0)return this.lb(-t);var e=this._p,n=1;while(n<t)e=this.skipOffTokenChannels(e+1),n++;return e>this.range&&(this.range=e),this._tokens[e]},s.prototype.skipOffTokenChannels=function(t){this.sync(t);while(this._tokens[t].channel!=this.channel)t++,this.sync(t);return t},s.prototype.skipOffTokenChannelsReverse=function(t){while(0<=t&&this._tokens[t].channel!=this.channel)t--;return t},s.prototype.reset=function(){o.prototype.reset.call(this),this._p=this.skipOffTokenChannels(0)},s.prototype.setup=function(){this._p=0,this._p=this.skipOffTokenChannels(this._p)},t=s,a.CommonTokenStream=t}(Stimulsoft=Stimulsoft||{}),function(t){var e,n,r,i,a,o,u,s;function l(){this.debug=!1,this.description="n/a"}n=e=t.Data||(t.Data={}),n=r=n.Expressions||(n.Expressions={}),n=i=n.Antlr||(n.Antlr={}),o=a=n.Runtime||(n.Runtime={}),u=t.System.StiArray,s=t.System.Exception,l.prototype.predict=function(t){if(null==t)throw new s("ArgumentNullException");this.dfaDebugMessage("Enter DFA.Predict for decision {0}",this.decisionNumber);var e=t.mark(),n=0;try{while(1){this.dfaDebugMessage("DFA {0} state {1} LA(1)={2}({3}), index={4}",this.decisionNumber,n,String.fromCharCode(t.la(1)),String.fromCharCode(t.la(1)),String.fromCharCode(t.index));var r=this.special[n];if(0<=r){if(this.dfaDebugMessage("DFA {0} state {1} is special state {2}",this.decisionNumber,n,r),this.dfaDebugMessage("DFA {0} returns from special state {1} to {2}",this.decisionNumber,r,n),-1==n)return this.noViableAlt(n,t),0;t.consume();continue}if(1<=this.accept[n])return this.dfaDebugMessage("accept; predict {0} from state {1}",this.accept[n],n),this.accept[n];var i=String.fromCharCode(t.la(1));if(i>=this.min[n]&&i<=this.max[n]){var r=this.transition[n][i.charCodeAt(0)-this.min[n].charCodeAt(0)];if(r<0){if(0<=this.eot[n]){this.dfaDebugMessage("EOT transition"),n=this.eot[n],t.consume();continue}return this.noViableAlt(n,t),0}n=r,t.consume();continue}if(0<=this.eot[n]){this.dfaDebugMessage("EOT transition"),n=this.eot[n],t.consume();continue}if(i.charCodeAt(0)==o.TokenTypes.endOfFile&&0<=this.eof[n])return this.dfaDebugMessage("accept via EOF; predict {0} from {1}",this.accept[this.eof[n]],this.eof[n]),this.accept[this.eof[n]];return this.dfaDebugInvalidSymbol(n),this.noViableAlt(n,t),0}}finally{t.rewind(e)}},l.prototype.dfaDebugMessage=function(t){for(var e=[],n=1;n<arguments.length;n++)e[n-1]=arguments[n]},l.prototype.dfaDebugInvalidSymbol=function(t){},l.prototype.noViableAlt=function(t,e){if(0<this.recognizer.state.backtracking)return void(this.recognizer.state.failed=!0);var e=new o.NoViableAltException("",this.description,this.decisionNumber,t,e);throw this.error(e),e},l.prototype.error=function(t){},l.specialStateTransitionDefault=function(t,e,n){return-1},l.unpackEncodedString=function(t){for(var e=0,n=0;n<t.length;n+=2)e+=t[n].charCodeAt(0);for(var r=u.create(Number,e),i=0,n=0;n<t.length;n+=2)for(var a=t[n].charCodeAt(0),o=t[n+1].charCodeAt(0).stimulsoft.toShort(),s=1;s<=a;s++)r[i++]=o;return r},l.unpackEncodedStringToUnsignedChars=function(t){for(var e=0,n=0;n<t.length;n+=2)e+=t[n].charCodeAt(0);for(var r=u.create(String,e),i=0,n=0;n<t.length;n+=2)for(var a=t[n].charCodeAt(0),o=t[n+1],s=1;s<=a;s++)r[i++]=o;return r},l.prototype.debugRecognitionException=function(t){},n=l,o.DFA=n}(Stimulsoft=Stimulsoft||{}),function(t){var e,n,r,i,a,u,s,l,c,h,p;function o(t,e,n,r){void 0===t&&(t="A recognition error occurred."),void 0===n&&(n=1);var i=p.call(this,t,r)||this;if(i.input=e,i._k=n,null!=e){i.index=e.index+n-1,e.stimulsoft.is(u.ITokenStream)&&(i.token=e.lt(n),i.line=i.token.line,i.charPositionInLine=i.token.charPositionInLine);var r=e.stimulsoft.as(s),a;if(null!=r)i.extractInformationFromTreeNodeStream2(r,n);else if(null!=e.stimulsoft.as(u.ICharStream)){var r=e.mark();try{for(var o=0;o<n-1;o++)e.consume();i._c=e.la(1),i.line=e.line,i.charPositionInLine=e.charPositionInLine}finally{e.rewind(r)}}else i._c=e.la(n)}return i}n=e=t.Data||(t.Data={}),n=r=n.Expressions||(n.Expressions={}),n=i=n.Antlr||(n.Antlr={}),u=a=n.Runtime||(n.Runtime={}),n=t.System.Exception,s=t.Data.Expressions.Antlr.Runtime.Tree.ITreeNodeStream,l=t.Data.Expressions.Antlr.Runtime.Tree.IPositionTrackingStream,c=t.Data.Expressions.Antlr.Runtime.Tree.ITree,h=t.Data.Expressions.Antlr.Runtime.Tree.CommonTree,__extends(o,p=n),Object.defineProperty(o.prototype,"unexpectedType",{get:function(){if(this.input.stimulsoft.is(u.ITokenStream))return this.token.type;var t=this.input.stimulsoft.as(s),e;if(null!=t)return t.treeAdaptor.getType(this.node);return this._c},enumerable:!1,configurable:!0}),Object.defineProperty(o.prototype,"lookahead",{get:function(){return this._k},enumerable:!1,configurable:!0}),Object.defineProperty(o.prototype,"character",{get:function(){return String.fromCharCode(this._c)},set:function(t){this._c=t.charCodeAt(0)},enumerable:!1,configurable:!0}),o.prototype.extractInformationFromTreeNodeStream=function(t){this.node=t.lt(1);var e=null,n=t.stimulsoft.as(l);null!=n&&null==(e=n.getKnownPositionElement(!1))&&(e=n.getKnownPositionElement(!0),this.approximateLineInfo=null!=e);var n=t.stimulsoft.as(u.ITokenStreamInformation);if(null!=n){var r=n.lastToken,n=n.lastRealToken;null!=n&&(this.token=n,this.line=n.line,this.charPositionInLine=n.charPositionInLine,this.approximateLineInfo=n==r)}else{var i=t.treeAdaptor,r=i.getToken(null!=e?e:this.node),e,r;if(null!=r)if((this.token=r).line<=0){var a=-1,o=t.lt(a);while(null!=o){var s=i.getToken(o);if(null!=s&&0<s.line){this.line=s.line,this.charPositionInLine=s.charPositionInLine,this.approximateLineInfo=!0;break}--a;try{o=t.lt(a)}catch(t){o=null}}}else this.line=r.line,this.charPositionInLine=r.charPositionInLine;else this.node.stimulsoft.is(c)?(this.line=this.node.line,this.charPositionInLine=this.node.charPositionInLine,this.node.stimulsoft.is(h)&&(this.token=this.node.token)):(e=i.getType(this.node),r=i.getText(this.node),this.token=u.CommonToken.create3(e,r))}},o.prototype.extractInformationFromTreeNodeStream2=function(t,e){var n=t.mark();try{for(var r=0;r<e-1;r++)t.consume();this.extractInformationFromTreeNodeStream(t)}finally{t.rewind(n)}},n=o,u.RecognitionException=n}(Stimulsoft=Stimulsoft||{}),function(t){var e,n,r,t,i,a,o;function s(t,e,n,r){var r=o.call(this,t,n,1,r)||this;return r.decisionNumber=e,r}n=e=t.Data||(t.Data={}),t=r=n.Expressions||(n.Expressions={}),n=i=t.Antlr||(t.Antlr={}),t=a=n.Runtime||(n.Runtime={}),o=t.RecognitionException,__extends(s,o),n=s,t.EarlyExitException=n}(Stimulsoft=Stimulsoft||{}),function(t){var e,n,r,t,i,a,o;function s(t,e,n,r,i){var i=o.call(this,t,e,1,i)||this;return i.ruleName=n,i.predicateText=r,i}n=e=t.Data||(t.Data={}),t=r=n.Expressions||(n.Expressions={}),n=i=t.Antlr||(t.Antlr={}),t=a=n.Runtime||(n.Runtime={}),o=t.RecognitionException,__extends(s,o),s.prototype.toString=function(){return"FailedPredicateException("+this.ruleName+",{"+this.predicateText+"}?)"},n=s,t.FailedPredicateException=n}(Stimulsoft=Stimulsoft||{}),function(t){var e,n,r,i,a,o,s;function u(t){var e=s.call(this)||this;return e.name=t,e}n=e=t.Data||(t.Data={}),i=r=n.Expressions||(n.Expressions={}),n=a=i.Antlr||(i.Antlr={}),i=o=n.Runtime||(n.Runtime={}),n=t.System.Attribute,__extends(u,s=n),n=u,i.GrammarRuleAttribute=n}(Stimulsoft=Stimulsoft||{}),function(t){var e,t,n,r,i,a;t=e=t.Data||(t.Data={}),t=n=t.Expressions||(t.Expressions={}),t=r=t.Antlr||(t.Antlr={}),a=i=t.Runtime||(t.Runtime={})}(Stimulsoft=Stimulsoft||{}),function(t){var e,n,r,i,a,o;n=e=t.Data||(t.Data={}),n=r=n.Expressions||(n.Expressions={}),n=i=n.Antlr||(n.Antlr={}),(o=a=n.Runtime||(n.Runtime={})).ICharStream=new t.System.Interface("ICharStream")}(Stimulsoft=Stimulsoft||{}),function(t){var e,n,r,i,a,o;n=e=t.Data||(t.Data={}),n=r=n.Expressions||(n.Expressions={}),n=i=n.Antlr||(n.Antlr={}),(o=a=n.Runtime||(n.Runtime={})).IIntStream=new t.System.Interface("IIntStream")}(Stimulsoft=Stimulsoft||{}),function(t){var e,t,n,r,i,a;t=e=t.Data||(t.Data={}),t=n=t.Expressions||(t.Expressions={}),t=r=t.Antlr||(t.Antlr={}),a=i=t.Runtime||(t.Runtime={})}(Stimulsoft=Stimulsoft||{}),function(t){var e,t,n,r,i,a;t=e=t.Data||(t.Data={}),t=n=t.Expressions||(t.Expressions={}),t=r=t.Antlr||(t.Antlr={}),a=i=t.Runtime||(t.Runtime={})}(Stimulsoft=Stimulsoft||{}),function(t){var e,n,r,i,a,o;n=e=t.Data||(t.Data={}),n=r=n.Expressions||(n.Expressions={}),n=i=n.Antlr||(n.Antlr={}),(o=a=n.Runtime||(n.Runtime={})).IToken=new t.System.Interface("IToken")}(Stimulsoft=Stimulsoft||{}),function(t){var e,n,r,i,a,o;n=e=t.Data||(t.Data={}),n=r=n.Expressions||(n.Expressions={}),n=i=n.Antlr||(n.Antlr={}),(o=a=n.Runtime||(n.Runtime={})).ITokenSource=new t.System.Interface("ITokenSource")}(Stimulsoft=Stimulsoft||{}),function(t){var e,n,r,i,a,o;n=e=t.Data||(t.Data={}),n=r=n.Expressions||(n.Expressions={}),n=i=n.Antlr||(n.Antlr={}),(o=a=n.Runtime||(n.Runtime={})).ITokenStream=new t.System.Interface("ITokenStream")}(Stimulsoft=Stimulsoft||{}),function(t){var e,n,r,i,a,o;n=e=t.Data||(t.Data={}),n=r=n.Expressions||(n.Expressions={}),n=i=n.Antlr||(n.Antlr={}),(o=a=n.Runtime||(n.Runtime={})).ITokenStreamInformation=new t.System.Interface("ITokenStreamInformation")}(Stimulsoft=Stimulsoft||{}),function(t){var e,n,r,i,a,o,s,u,l;function c(t,e){this.channel=o.TokenChannels.default,this.discardOffChannelTokens=!1,this.p=-1,this.range=0,this.tokens=new u(500),this._tokenSource=t,this.channel=e}n=e=t.Data||(t.Data={}),n=r=n.Expressions||(n.Expressions={}),n=i=n.Antlr||(n.Antlr={}),o=a=n.Runtime||(n.Runtime={}),s=t.System.Exception,u=t.System.Collections.List,l=t.System.Collections.Dictionary,c.prototype.implements=function(){return c.ImplementsLegacyCommonTokenStream||(c.ImplementsLegacyCommonTokenStream=[o.ITokenStream]),c.ImplementsLegacyCommonTokenStream},Object.defineProperty(c.prototype,"index",{get:function(){return this.p},enumerable:!1,configurable:!0}),c.prototype.setTokenSource=function(t){this._tokenSource=t,this.tokens.clear(),this.p=-1,this.channel=o.TokenChannels.default},c.prototype.fillBuffer=function(){if(-1!=this.p)return;var t=0,e=this._tokenSource.nextToken();while(null!=e&&e.type!=o.CharStreamConstants.endOfFile){var n=!1,r={ref:null};null!=this.channelOverrideMap&&this.channelOverrideMap.tryGetValue(e.type,r)&&(e.channel=r.ref),(null!=this.discardSet&&this.discardSet.contains(e.type)||this.discardOffChannelTokens&&e.channel!=this.channel)&&(n=!0),n||(e.tokenIndex=t,this.tokens.add(e),t++),e=this._tokenSource.nextToken()}this.p=0,this.p=this.skipOffTokenChannels(this.p)},c.prototype.consume=function(){this.p<this.tokens.length&&(this.p++,this.p=this.skipOffTokenChannels(this.p))},c.prototype.skipOffTokenChannels=function(t){var e=this.tokens.length;while(t<e&&this.tokens[t].channel!=this.channel)t++;return t},c.prototype.skipOffTokenChannelsReverse=function(t){while(0<=t&&this.tokens[t].channel!=this.channel)t--;return t},c.prototype.setTokenTypeChannel=function(t,e){null==this.channelOverrideMap&&(this.channelOverrideMap=new l),this.channelOverrideMap.set(t,e)},c.prototype.discardTokenType=function(t){null==this.discardSet&&(this.discardSet=new u),this.discardSet.add(t)},c.prototype.setDiscardOffChannelTokens=function(t){this.discardOffChannelTokens=t},c.prototype.getTokens=function(){return-1==this.p&&this.fillBuffer(),this.tokens},c.prototype.getTokens2=function(t,e,n){if(-1==this.p&&this.fillBuffer(),e>=this.tokens.length&&(e=this.tokens.length-1),t<0&&(t=0),e<t)return null;for(var r=new u,i=t;i<=e;i++){var a=this.tokens[i];null!=n&&!n.member(a.type)||r.add(a)}return 0==r.length&&(r=null),r},c.prototype.lt=function(t){if(-1==this.p&&this.fillBuffer(),0==t)return null;if(t<0)return this.lb(-t);if(this.p+t-1>=this.tokens.length)return this.tokens[this.tokens.length-1];var e=this.p,n=1;while(n<t)e=this.skipOffTokenChannels(e+1),n++;if(e>=this.tokens.length)return this.tokens[this.tokens.length-1];return e>this.range&&(this.range=e),this.tokens[e]},c.prototype.lb=function(t){if(-1==this.p&&this.fillBuffer(),0==t)return null;if(this.p-t<0)return null;var e=this.p,n=1;while(n<=t)e=this.skipOffTokenChannelsReverse(e-1),n++;if(e<0)return null;return this.tokens[e]},c.prototype.get=function(t){return this.tokens[t]},c.prototype.la=function(t){return this.lt(t).type},c.prototype.mark=function(){return-1==this.p&&this.fillBuffer(),this.lastMarker=this.index,this.lastMarker},c.prototype.release=function(t){},Object.defineProperty(c.prototype,"count",{get:function(){return this.tokens.length},enumerable:!1,configurable:!0}),c.prototype.rewind=function(t){null==t&&(t=this.lastMarker),this.seek(t)},c.prototype.reset=function(){this.p=0,this.lastMarker=0},c.prototype.seek=function(t){this.p=t},Object.defineProperty(c.prototype,"sourceName",{get:function(){return this.tokenSource.sourceName},enumerable:!1,configurable:!0}),c.prototype.toString=function(){if(-1==this.p)throw new s("Buffer is not yet filled.");return this.toString2(0,this.tokens.length-1)},c.prototype.toString2=function(t,e){if(t<0||e<0)return null;if(-1==this.p)throw new s("Buffer is not yet filled.");e>=this.tokens.length&&(e=this.tokens.length-1);for(var n="",r=t,i;r<=e;r++){n+=this.tokens[r].text}return n},c.prototype.toString3=function(t,e){if(null!=t&&null!=e)return this.toString2(t.tokenIndex,e.tokenIndex);return null},n=c,o.LegacyCommonTokenStream=n}(Stimulsoft=Stimulsoft||{}),function(t){var e,t,n,r,i,s,u;function a(t,e){var e=u.call(this,e)||this;return e.input=t,e}t=e=t.Data||(t.Data={}),t=n=t.Expressions||(t.Expressions={}),t=r=t.Antlr||(t.Antlr={}),s=i=t.Runtime||(t.Runtime={}),u=s.BaseRecognizer,__extends(a,u),a.prototype.implements=function(){return a.ImplementsLexer||(a.ImplementsLexer=[s.ITokenSource]),a.ImplementsLexer},Object.defineProperty(a.prototype,"text",{get:function(){if(null!=this.state.text)return this.state.text;return this.input.substring(this.state.tokenStartCharIndex,this.charIndex-this.state.tokenStartCharIndex)},set:function(t){this.state.text=t},enumerable:!1,configurable:!0}),Object.defineProperty(a.prototype,"line",{get:function(){return this.input.line},set:function(t){this.input.line=t},enumerable:!1,configurable:!0}),Object.defineProperty(a.prototype,"charPositionInLine",{get:function(){return this.input.charPositionInLine},set:function(t){this.input.charPositionInLine=t},enumerable:!1,configurable:!0}),a.prototype.reset=function(){if(u.prototype.reset.call(this),null!=this.input&&this.input.seek(0),null==this.state)return;this.state.token=null,this.state.type=s.TokenTypes.invalid,this.state.channel=s.TokenChannels.default,this.state.tokenStartCharIndex=-1,this.state.tokenStartCharPositionInLine=-1,this.state.tokenStartLine=-1,this.state.text=null},a.prototype.nextToken=function(){for(;;){if(this.state.token=null,this.state.channel=s.TokenChannels.default,this.state.tokenStartCharIndex=this.input.index,this.state.tokenStartCharPositionInLine=this.input.charPositionInLine,this.state.tokenStartLine=this.input.line,this.state.text=null,this.input.la(1)==s.CharStreamConstants.endOfFile)return this.getEndOfFileToken();try{if(this.parseNextToken(),null==this.state.token)this.emit();else if(this.state.token==s.Tokens.skip)continue;return this.state.token}catch(t){this.reportError(t)}}},a.prototype.getEndOfFileToken=function(){var t=s.CommonToken.create2(this.input,s.CharStreamConstants.endOfFile,s.TokenChannels.default,this.input.index,this.input.index);return t.line=this.line,t.charPositionInLine=this.charPositionInLine,t},a.prototype.skip=function(){this.state.token=s.Tokens.skip},a.prototype.mTokens=function(){},Object.defineProperty(a.prototype,"charStream",{get:function(){return this.input},set:function(t){this.input=null,this.reset(),this.input=t},enumerable:!1,configurable:!0}),Object.defineProperty(a.prototype,"sourceName",{get:function(){return this.input.sourceName},enumerable:!1,configurable:!0}),a.prototype.emit2=function(t){this.state.token=t},a.prototype.emit=function(){var t=s.CommonToken.create2(this.input,this.state.type,this.state.channel,this.state.tokenStartCharIndex,this.charIndex-1);return t.line=this.state.tokenStartLine,t.text=this.state.text,t.charPositionInLine=this.state.tokenStartCharPositionInLine,this.emit2(t),t},a.prototype.match3=function(t){var e=0;while(e<t.length){if(this.input.la(1)!=t.charCodeAt(e)){if(0<this.state.backtracking)return void(this.state.failed=!0);var n=new s.MismatchedTokenException("",t.charCodeAt(e),this.input,this.tokenNames.stimulsoft.toList());throw this.recover2(n),n}e++,this.input.consume(),this.state.failed=!1}},a.prototype.matchAny=function(){this.input.consume()},a.prototype.match2=function(t){if(this.input.la(1)!=t){if(0<this.state.backtracking)return void(this.state.failed=!0);var t=new s.MismatchedTokenException("",t,this.input,this.tokenNames.stimulsoft.toList());throw this.recover2(t),t}this.input.consume(),this.state.failed=!1},a.prototype.matchRange=function(t,e){if(this.input.la(1)<t||this.input.la(1)>e){if(0<this.state.backtracking)return void(this.state.failed=!0);var e=new s.MismatchedRangeException("",t,e,this.input);throw this.recover2(e),e}this.input.consume(),this.state.failed=!1},Object.defineProperty(a.prototype,"charIndex",{get:function(){return this.input.index},enumerable:!1,configurable:!0}),a.prototype.reportError=function(t){this.displayRecognitionError(this.tokenNames,t)},a.prototype.getErrorMessage=function(t,e){var n=null,r,n,i,a,o,o,o;return n=t.stimulsoft.is(s.MismatchedTokenException)?(r=t,"mismatched character "+this.getCharErrorDisplay(t.character.charCodeAt(0))+" expecting "+this.getCharErrorDisplay(r.expecting)):t.stimulsoft.is(s.NoViableAltException)?(i=t,"no viable alternative at character "+this.getCharErrorDisplay(t.character.charCodeAt(0))):t.stimulsoft.is(s.EarlyExitException)?(a=t,"required (...)+ loop did not match anything at character "+this.getCharErrorDisplay(t.character.charCodeAt(0))):t.stimulsoft.is(s.MismatchedNotSetException)||t.stimulsoft.is(s.MismatchedSetException)?(o=t,"mismatched character "+this.getCharErrorDisplay(t.character.charCodeAt(0))+" expecting set "+o.expecting.toString()):t.stimulsoft.is(s.MismatchedRangeException)?(o=t,"mismatched character "+this.getCharErrorDisplay(t.character.charCodeAt(0))+" expecting set "+this.getCharErrorDisplay(o.a)+".."+this.getCharErrorDisplay(o.b)):u.prototype.getErrorMessage.call(this,t,e)},a.prototype.getCharErrorDisplay=function(t){var e=String.fromCharCode(t);switch(t){case s.TokenTypes.endOfFile:e="<EOF>";break;case"\n".charCodeAt(0):e="\\n";break;case"\t".charCodeAt(0):e="\\t";break;case"\r".charCodeAt(0):e="\\r";break}return"'"+e+"'"},a.prototype.recover2=function(t){this.input.consume()},a.prototype.parseNextToken=function(){this.mTokens()},t=a,s.Lexer=t}(Stimulsoft=Stimulsoft||{}),function(t){var e,n,r,t,i,a,o;function s(t,e,n,r){var r=o.call(this,t,n,1,r)||this;return r.expecting=e,r}n=e=t.Data||(t.Data={}),t=r=n.Expressions||(n.Expressions={}),n=i=t.Antlr||(t.Antlr={}),t=a=n.Runtime||(n.Runtime={}),o=t.RecognitionException,__extends(s,o),s.prototype.toString=function(){return"MismatchedSetException("+this.unexpectedType.toString()+"!="+this.expecting.toString()+")"},n=s,t.MismatchedSetException=n}(Stimulsoft=Stimulsoft||{}),function(t){var e,n,r,t,i,a,o;function s(t,e,n,r){return o.call(this,t,e,n,r)||this}n=e=t.Data||(t.Data={}),t=r=n.Expressions||(n.Expressions={}),n=i=t.Antlr||(t.Antlr={}),t=a=n.Runtime||(n.Runtime={}),o=t.MismatchedSetException,__extends(s,o),s.prototype.toString=function(){return"MismatchedNotSetException("+this.unexpectedType.toString()+"!="+this.expecting.toString()+")"},n=s,t.MismatchedNotSetException=n}(Stimulsoft=Stimulsoft||{}),function(t){var e,n,r,t,i,a,o;function s(t,e,n,r,i){var i=o.call(this,t,r,1,i)||this;return i.a=e,i.b=n,i}n=e=t.Data||(t.Data={}),t=r=n.Expressions||(n.Expressions={}),n=i=t.Antlr||(t.Antlr={}),t=a=n.Runtime||(n.Runtime={}),o=t.RecognitionException,__extends(s,o),s.prototype.toString=function(){return"MismatchedRangeException("+this.unexpectedType.toString()+" not in ["+this.a.toString()+","+this.b.toString()+"])"},n=s,t.MismatchedRangeException=n}(Stimulsoft=Stimulsoft||{}),function(t){var e,n,r,i,a,o,s,u;function l(t,e,n,r,i){var i=u.call(this,t,n,null,i)||this;return i.expecting=e,null!=r&&(i.tokenNames=new s(r)),i}n=e=t.Data||(t.Data={}),i=r=n.Expressions||(n.Expressions={}),n=a=i.Antlr||(i.Antlr={}),i=o=n.Runtime||(n.Runtime={}),s=t.System.Collections.List,u=i.RecognitionException,__extends(l,u),l.prototype.toString=function(){var t=this.unexpectedType,e,n;return"MismatchedTokenException("+(null!=this.tokenNames&&0<=t&&t<this.tokenNames.length?this.tokenNames[t]:t.toString())+"!="+(null!=this.tokenNames&&0<=this.expecting&&this.expecting<this.tokenNames.length?this.tokenNames[this.expecting]:this.expecting.toString())+")"},n=l,i.MismatchedTokenException=n}(Stimulsoft=Stimulsoft||{}),function(t){var e,n,r,t,i,a,o;function s(t,e,n,r){var r=o.call(this,t,n,1,r)||this;return r.expecting=e,r}n=e=t.Data||(t.Data={}),t=r=n.Expressions||(n.Expressions={}),n=i=t.Antlr||(t.Antlr={}),t=a=n.Runtime||(n.Runtime={}),o=t.RecognitionException,__extends(s,o),s.prototype.toString=function(){return"MismatchedTreeNodeException("+this.unexpectedType.toString()+"!="+this.expecting.toString()+")"},n=s,t.MismatchedTreeNodeException=n}(Stimulsoft=Stimulsoft||{}),function(t){var e,n,r,t,i,a,o;function s(t,e,n,r,i,a){var a=o.call(this,t,e,n,i,a)||this;return a._inserted=r,a}n=e=t.Data||(t.Data={}),t=r=n.Expressions||(n.Expressions={}),n=i=t.Antlr||(t.Antlr={}),t=a=n.Runtime||(n.Runtime={}),o=t.MismatchedTokenException,__extends(s,o),Object.defineProperty(s.prototype,"missingType",{get:function(){return this.expecting},enumerable:!1,configurable:!0}),s.prototype.toString=function(){if(null!=this._inserted&&null!=this.token)return"MissingTokenException(inserted "+this._inserted+" at "+this.token.text+")";if(null!=this.token)return"MissingTokenException(at "+this.token.text+")";return"MissingTokenException"},n=s,t.MissingTokenException=n}(Stimulsoft=Stimulsoft||{}),function(t){var e,t,n,r,i,a,s;function o(t,e,n,r,i,a,o){void 0===a&&(a=1);var o=s.call(this,t,i,a,o)||this;return o.grammarDecisionDescription=e,o.decisionNumber=n,o.stateNumber=r,o}t=e=t.Data||(t.Data={}),t=n=t.Expressions||(t.Expressions={}),t=r=t.Antlr||(t.Antlr={}),a=i=t.Runtime||(t.Runtime={}),s=a.RecognitionException,__extends(o,s),o.prototype.toString=function(){return this.input.stimulsoft.is(a.ICharStream)?"NoViableAltException('"+String.fromCharCode(this.unexpectedType)+"'@["+this.grammarDecisionDescription+"])":"NoViableAltException("+this.unexpectedType.toString()+"@["+this.grammarDecisionDescription+"])"},t=o,a.NoViableAltException=t}(Stimulsoft=Stimulsoft||{}),function(t){var e,t,n,r,i,a,o;function s(t,e){var e=o.call(this,e)||this;return e.input=t,e}t=e=t.Data||(t.Data={}),t=n=t.Expressions||(t.Expressions={}),t=r=t.Antlr||(t.Antlr={}),a=i=t.Runtime||(t.Runtime={}),o=a.BaseRecognizer,__extends(s,o),s.prototype.reset=function(){o.prototype.reset.call(this),null!=this.input&&this.input.seek(0)},s.prototype.getCurrentInputSymbol=function(t){return this.input.lt(1)},s.prototype.getMissingSymbol=function(t,e,n,r){var i=null,i=n==a.TokenTypes.endOfFile?"<missing EOF>":"<missing "+this.tokenNames[n]+">",n=a.CommonToken.create3(n,i),i=t.lt(1);return i.type==a.TokenTypes.endOfFile&&(i=t.lt(-1)),n.line=i.line,n.charPositionInLine=i.charPositionInLine,n.channel=this.defaultTokenChannel,n.inputStream=i.inputStream,n},Object.defineProperty(s.prototype,"tokenStream",{get:function(){return this.input},set:function(t){this.input=null,this.reset(),this.input=t},enumerable:!1,configurable:!0}),Object.defineProperty(s.prototype,"sourceName",{get:function(){return this.input.sourceName},enumerable:!1,configurable:!0}),t=s,a.Parser=t}(Stimulsoft=Stimulsoft||{}),function(t){var e,n,r,i,a,o,s,u;function l(){this.following=s.create(o.BitSet,o.BaseRecognizer.initialFollowStackSize),this._fsp=-1,this.lastErrorIndex=-1,this.tokenStartCharIndex=-1}n=e=t.Data||(t.Data={}),n=r=n.Expressions||(n.Expressions={}),n=i=n.Antlr||(n.Antlr={}),o=a=n.Runtime||(n.Runtime={}),s=t.System.StiArray,u=t.System.Exception,l.recognizerSharedState=function(t){if(null==t)throw new u("ArgumentNullException");var e=new l;return e.following=t.following.stimulsoft.clone(),e._fsp=t._fsp,e.errorRecovery=t.errorRecovery,e.lastErrorIndex=t.lastErrorIndex,e.failed=t.failed,e.syntaxErrors=t.syntaxErrors,e.backtracking=t.backtracking,null!=t.ruleMemo&&(e.ruleMemo=t.ruleMemo.stimulsoft.clone()),e.token=t.token,e.tokenStartCharIndex=t.tokenStartCharIndex,e.tokenStartCharPositionInLine=t.tokenStartCharPositionInLine,e.channel=t.channel,e.type=t.type,e.text=t.text,e},n=l,o.RecognizerSharedState=n}(Stimulsoft=Stimulsoft||{}),function(t){var e,t,n,r,i,a,o;function s(){return null!==o&&o.apply(this,arguments)||this}t=e=t.Data||(t.Data={}),t=n=t.Expressions||(t.Expressions={}),t=r=t.Antlr||(t.Antlr={}),a=i=t.Runtime||(t.Runtime={}),o=a.ParserRuleReturnScope,__extends(s,o),s.prototype.implements=function(){return s.ImplementsTemplateParserRuleReturnScope||(s.ImplementsTemplateParserRuleReturnScope=o.prototype.implements.call(this).concat([a.ITemplateRuleReturnScope,a.ITemplateRuleReturnScope])),s.ImplementsTemplateParserRuleReturnScope},t=s,a.TemplateParserRuleReturnScope=t}(Stimulsoft=Stimulsoft||{}),function(t){var e,n,r,t,i,a;function o(){}n=e=t.Data||(t.Data={}),t=r=n.Expressions||(n.Expressions={}),n=i=t.Antlr||(t.Antlr={}),t=a=n.Runtime||(n.Runtime={}),o.default=0,o.hidden=99,n=o,t.TokenChannels=n}(Stimulsoft=Stimulsoft||{}),function(c){var t,e,n,r,i;e=t=c.Data||(c.Data={}),e=n=e.Expressions||(e.Expressions={}),e=r=e.Antlr||(e.Antlr={}),function(f){var d=c.System.Exception,o=c.System.Type,y=c.System.Collections.Dictionary,s=c.System.Collections.List,t=(n=f.CommonTokenStream,__extends(e,n),e.prototype.init=function(){this.programs=new y,this.programs.set(this.DEFAULT_PROGRAM_NAME,new s(this.PROGRAM_INIT_SIZE)),this.lastRewriteTokenIndexes=new y},e.prototype.rollback=function(t,e){var n={ref:null};if(this.programs.tryGetValue(t,n)&&null!=n.ref){for(var r=new s,i=this.MIN_TOKEN_INDEX;i<=e;i++)r.add(n.ref[i]);this.programs.set(t,r)}},e.prototype.deleteProgram=function(t){void 0===t&&(t=this.DEFAULT_PROGRAM_NAME),this.rollback(t,this.MIN_TOKEN_INDEX)},e.prototype.unsertAfter=function(t,e,n){this.insertBefore(t,e+1,n)},e.prototype.insertBefore=function(t,e,n){var n=new g(this,e,n),t=this.getProgram(t);n.instructionIndex=t.length,t.add(n)},e.prototype.replace=function(t,e,n,r){if(n<e||e<0||n<0||n>=this._tokens.length)throw new d("replace: range invalid: "+e.toString()+".."+n.toString()+"(size="+this._tokens.length.toString()+")");var r=new S(this,e,n,r),t=this.getProgram(t);r.instructionIndex=t.length,t.add(r)},e.prototype.replace2=function(t,e,n,r){this.replace(t,e.tokenIndex,n.tokenIndex,r)},e.prototype.delete=function(t,e,n){this.replace2(t,e,n,null)},e.prototype.getLastRewriteTokenIndex=function(t){var e={ref:null};if(this.lastRewriteTokenIndexes.tryGetValue(t,e))return e.ref;return-1},e.prototype.setLastRewriteTokenIndex=function(t,e){this.lastRewriteTokenIndexes.set(t,e)},e.prototype.getProgram=function(t){var e={ref:null};return this.programs.tryGetValue(t,e)&&null!=e.ref||(e.ref=this.initializeProgram(t)),e.ref},e.prototype.initializeProgram=function(t){var e=new s(this.PROGRAM_INIT_SIZE);return this.programs.set(t,e),e},e.prototype.toOriginalString=function(){return this.fill(),this.toOriginalString2(this.MIN_TOKEN_INDEX,this.count-1)},e.prototype.toOriginalString2=function(t,e){for(var n="",r=t;r>=this.MIN_TOKEN_INDEX&&r<=e&&r<this._tokens.length;r++)this.get(r).type!=f.CharStreamConstants.endOfFile&&(n+=this.get(r).text);return n},e.prototype.toString=function(){return this.fill(),this.toString3(this.DEFAULT_PROGRAM_NAME,this.MIN_TOKEN_INDEX,this.count-1)},e.prototype.toString3=function(t,e,n){var r,i,a={ref:null};if(this.programs.tryGetValue(t,a)||(a.ref=null),n>this._tokens.length-1&&(n=this._tokens.length-1),e<0&&(e=0),null==a.ref||0==a.ref.length)return this.toOriginalString2(e,n);var o="",s=this.reduceToSingleOperationPerIndex(a.ref),u=e;while(u<=n&&u<this._tokens.length){var l={ref:null},c=s.tryGetValue(u,l),c;c&&s.remove(u),c&&null!=l.ref?u=l.ref.execute(o):((c=this._tokens[u]).type!=f.CharStreamConstants.endOfFile&&(o+=c.text),u++)}if(n==this._tokens.length-1)try{for(var h=__values(s.values),p=h.next(),l;!p.done;p=h.next()){(l=p.value).index>=this._tokens.length-1&&(o+=l.text)}}catch(t){r={error:t}}finally{try{p&&!p.done&&(i=h.return)&&i.call(h)}finally{if(r)throw r.error}}return o},e.prototype.reduceToSingleOperationPerIndex=function(t){for(var e=0,n;e<t.length;e++){if(null==(n=t[e]))continue;if(!n.stimulsoft.is(S))continue;for(var r=t[e],i=this.getKindOfOps(t,g,e),a=0,o;a<i.length;a++){(o=i[a]).index==r.index?(t[o.instructionIndex]=null,r.text=o.text.toString()+(null!=r.text?r.text.toString():"")):o.index>r.index&&o.index<=r.lastIndex&&(t[o.instructionIndex]=null)}for(var s=this.getKindOfOps(t,S,e),a=0;a<s.length;a++){var u=s[a];if(u.index>=r.index&&u.lastIndex<=r.lastIndex){t[u.instructionIndex]=null;continue}var l=u.lastIndex<r.index||u.index>r.lastIndex,c=u.index==r.index&&u.lastIndex==r.lastIndex;if(null!=u.text||null!=r.text||l){if(!l&&!c)throw new d("replace op boundaries of "+r.toString()+" overlap with previous "+u.toString())}else t[u.instructionIndex]=null,r.index=Math.min(u.index,r.index),r.lastIndex=Math.max(u.lastIndex,r.lastIndex)}}for(var e=0,n;e<t.length;e++){if(null==(n=t[e]))continue;if(!n.stimulsoft.is(g))continue;for(var o=t[e],h=this.getKindOfOps(t,g,e),a=0;a<h.length;a++){var p=h[a];p.index==o.index&&(o.text=this.catOpText(o.text,p.text),t[p.instructionIndex]=null)}for(var s=this.getKindOfOps(t,S,e),a=0;a<s.length;a++){var r=s[a];if(o.index==r.index){r.text=this.catOpText(o.text,r.text),t[e]=null;continue}if(o.index>=r.index&&o.index<=r.lastIndex)throw new d("insert op "+o.toString()+" within boundaries of previous "+r.toString())}}for(var f=new y,e=0,n;e<t.length;e++){if(null==(n=t[e]))continue;var m={ref:null};if(f.tryGetValue(n.index,m)&&null!=m.ref)throw new d("should only be one op per index");f.set(n.index,n)}return f},e.prototype.catOpText=function(t,e){return t+e},e.prototype.getKindOfOps=function(t,e,n){void 0===n&&(n=t.length);for(var r=new s,i=0;i<n&&i<t.length;i++){var a=t[i];if(null==a)continue;o.getType(a)==e&&r.add(a)}return r},e.prototype.toDebugString=function(t,e){void 0===t&&(t=this.MIN_TOKEN_INDEX),void 0===e&&(e=this.count-1);for(var n="",r=t;r>=this.MIN_TOKEN_INDEX&&r<=e&&r<this._tokens.length;r++)n+=this.get(r);return n},e),n;function e(t,e){var e=n.call(this,t,e)||this;return e.DEFAULT_PROGRAM_NAME="default",e.PROGRAM_INIT_SIZE=100,e.MIN_TOKEN_INDEX=0,e.programs=null,e.lastRewriteTokenIndexes=null,e.init(),e}f.TokenRewriteStream=t;var t=(r.prototype.execute=function(t){return this.index},r.prototype.toString=function(){var t=o.getTypeName(this),e=t.indexOf("$"),t;return"<"+(t=t.substring(e+1))+"@"+this.stream._tokens[this.index].toString()+':"'+this.text+'">"'},r);function r(t,e,n){this.index=e,this.text=n,this.stream=t}f.RewriteOperation=t;var g=(__extends(a,i=t),a.prototype.execute=function(t){return t+=this.text,this.stream._tokens[this.index].type!=f.CharStreamConstants.endOfFile&&(t+=this.stream._tokens[this.index].text),this.index+1},a),i;function a(t,e,n){return i.call(this,t,e,n)||this}f.InsertBeforeOp=g;var S=(__extends(l,u=t),l.prototype.execute=function(t){return null!=this.text&&(t+=this.text),this.lastIndex+1},l.prototype.toString=function(){if(null==this.text)return"<DeleteOp@"+this.stream._tokens[this.index].toString()+".."+this.stream._tokens[this.lastIndex].toString()+">";return"<ReplaceOp@"+this.stream._tokens[this.index].toString()+".."+this.stream._tokens[this.lastIndex].toString()+':"'+this.text+'">'},l),u;function l(t,e,n,r){var r=u.call(this,t,e,r)||this;return r.lastIndex=n,r}f.ReplaceOp=S}(i=e.Runtime||(e.Runtime={}))}(Stimulsoft=Stimulsoft||{}),function(t){var e,n,r,t,i,a;function o(){}n=e=t.Data||(t.Data={}),t=r=n.Expressions||(n.Expressions={}),n=i=t.Antlr||(t.Antlr={}),t=a=n.Runtime||(n.Runtime={}),o.endOfFile=t.CharStreamConstants.endOfFile,o.invalid=0,o.endOfRule=1,o.down=2,o.min=(o.up=3)+1,n=o,t.TokenTypes=n}(Stimulsoft=Stimulsoft||{}),function(t){var e,n,r,t,i,a;function o(){}n=e=t.Data||(t.Data={}),t=r=n.Expressions||(n.Expressions={}),n=i=t.Antlr||(t.Antlr={}),t=a=n.Runtime||(n.Runtime={}),o.skip=t.CommonToken.create1(t.TokenTypes.invalid),n=o,t.Tokens=n}(Stimulsoft=Stimulsoft||{}),function(t){var e,n,r,i,a,o,s,u,l;function c(t){var e=l.call(this)||this;return e.channel=o.TokenChannels.default,e._realTokens=new u,e.maxLookBehind=1,e.tokenSource=t,e}n=e=t.Data||(t.Data={}),n=r=n.Expressions||(n.Expressions={}),n=i=n.Antlr||(n.Antlr={}),o=a=n.Runtime||(n.Runtime={}),s=t.System.Exception,n=t.Data.Expressions.Antlr.Runtime.Misc.LookaheadStream,u=t.Data.Expressions.Antlr.Runtime.Misc.ListStack,__extends(c,l=n),c.prototype.implements=function(){return c.ImplementsUnbufferedTokenStream||(c.ImplementsUnbufferedTokenStream=[o.ITokenStream,o.ITokenStreamInformation]),c.ImplementsUnbufferedTokenStream},Object.defineProperty(c.prototype,"sourceName",{get:function(){return this.tokenSource.sourceName},enumerable:!1,configurable:!0}),Object.defineProperty(c.prototype,"lastToken",{get:function(){return this.lb(1)},enumerable:!1,configurable:!0}),Object.defineProperty(c.prototype,"lastRealToken",{get:function(){return this._realTokens.stimulsoft.peek()},enumerable:!1,configurable:!0}),c.prototype.mark=function(){return this._realTokens.push(this._realTokens.stimulsoft.peek()),l.prototype.mark.call(this)},c.prototype.release=function(t){l.prototype.release.call(this,t),this._realTokens.pop()},c.prototype.clear=function(){this._realTokens.clear(),this._realTokens.push(null)},c.prototype.consume=function(){l.prototype.consume.call(this),null!=this.previousElement&&0<this.previousElement.line&&(this._realTokens[this._realTokens.length-1]=this.previousElement)},c.prototype.extElement=function(){var t=this.tokenSource.nextToken();return t.tokenIndex=this.tokenIndex++,t},c.prototype.isEndOfFile=function(t){return t.type==o.CharStreamConstants.endOfFile},c.prototype.get=function(t){throw new s("Absolute token indexes are meaningless in an unbuffered stream")},c.prototype.la=function(t){return this.lt(t).type},c.prototype.toString2=function(t,e){return"n/a"},n=c,o.UnbufferedTokenStream=n}(Stimulsoft=Stimulsoft||{}),function(t){var e,t,n,r,i,a,o;function s(t,e,n,r,i){return o.call(this,t,e,n,r,i)||this}t=e=t.Data||(t.Data={}),t=n=t.Expressions||(t.Expressions={}),t=r=t.Antlr||(t.Antlr={}),a=i=t.Runtime||(t.Runtime={}),o=a.MismatchedTokenException,__extends(s,o),Object.defineProperty(s.prototype,"unexpectedToken",{get:function(){return this.token},enumerable:!1,configurable:!0}),s.prototype.toString=function(){var t,e=", expected "+(null!=this.tokenNames&&0<=this.expecting&&this.expecting<this.tokenNames.length?this.tokenNames[this.expecting]:this.expecting.toString());if(this.expecting==a.TokenTypes.invalid&&(e=""),null==this.token)return"UnwantedTokenException(found="+e+")";return"UnwantedTokenException(found="+this.token.text+e+")"},t=s,a.UnwantedTokenException=t}(Stimulsoft=Stimulsoft||{}),function(t){var e,n,r,i,a,o,s;function u(){}n=e=t.Data||(t.Data={}),n=r=n.Expressions||(n.Expressions={}),n=i=n.NCalc||(n.NCalc={}),o=a=n.Domain||(n.Domain={}),s=t.System.Exception,u.extractString=function(t){var e=t,n=1,r=-1;while(-1!=(r=e.indexOf(u.bs,n))){var i=e[r+1];switch(i){case"u":var a=e[r+4]+e[r+5],o=e[r+2]+e[r+3];break;case"n":e.stimulsoft.insert(r,"\n",2);break;case"r":e.stimulsoft.insert(r,"\r",2);break;case"t":e.stimulsoft.insert(r,"\t",2);break;case"'":e.stimulsoft.insert(r,"'",2);break;case"\\":e.stimulsoft.insert(r,"\\",2);break;default:throw new s("Unvalid escape sequence: \\"+i)}n=r+1}return e.stimulsoft.remove(0,1),e.stimulsoft.remove(e.length-1,1),e},u.prototype.and=function(t){return t.stimulsoft.is(u)?new o.BinaryExpression(o.BinaryExpressionType.And,this,t):new o.BinaryExpression(o.BinaryExpressionType.And,this,new o.ValueExpression(t))},u.prototype.dividedBy=function(t){return t.stimulsoft.is(u)?new o.BinaryExpression(o.BinaryExpressionType.Div,this,t):new o.BinaryExpression(o.BinaryExpressionType.Div,this,new o.ValueExpression(t))},u.prototype.equalsTo=function(t){return t.stimulsoft.is(u)?new o.BinaryExpression(o.BinaryExpressionType.Equal,this,t):new o.BinaryExpression(o.BinaryExpressionType.Equal,this,new o.ValueExpression(t))},u.prototype.greaterThan=function(t){return t.stimulsoft.is(u)?new o.BinaryExpression(o.BinaryExpressionType.Greater,this,t):new o.BinaryExpression(o.BinaryExpressionType.Greater,this,new o.ValueExpression(t))},u.prototype.greaterOrEqualThan=function(t){return t.stimulsoft.is(u)?new o.BinaryExpression(o.BinaryExpressionType.GreaterOrEqual,this,t):new o.BinaryExpression(o.BinaryExpressionType.GreaterOrEqual,this,new o.ValueExpression(t))},u.prototype.lesserThan=function(t){return t.stimulsoft.is(u)?new o.BinaryExpression(o.BinaryExpressionType.Lesser,this,t):new o.BinaryExpression(o.BinaryExpressionType.Lesser,this,new o.ValueExpression(t))},u.prototype.lesserOrEqualThan=function(t){return t.stimulsoft.is(u)?new o.BinaryExpression(o.BinaryExpressionType.LesserOrEqual,this,t):new o.BinaryExpression(o.BinaryExpressionType.LesserOrEqual,this,new o.ValueExpression(t))},u.prototype.minus=function(t){return t.stimulsoft.is(u)?new o.BinaryExpression(o.BinaryExpressionType.Minus,this,t):new o.BinaryExpression(o.BinaryExpressionType.Minus,this,new o.ValueExpression(t))},u.prototype.modulo=function(t){return t.stimulsoft.is(u)?new o.BinaryExpression(o.BinaryExpressionType.Modulo,this,t):new o.BinaryExpression(o.BinaryExpressionType.Modulo,this,new o.ValueExpression(t))},u.prototype.notEqual=function(t){return t.stimulsoft.is(u)?new o.BinaryExpression(o.BinaryExpressionType.NotEqual,this,t):new o.BinaryExpression(o.BinaryExpressionType.NotEqual,this,new o.ValueExpression(t))},u.prototype.or=function(t){return t.stimulsoft.is(u)?new o.BinaryExpression(o.BinaryExpressionType.Or,this,t):new o.BinaryExpression(o.BinaryExpressionType.Or,this,new o.ValueExpression(t))},u.prototype.plus=function(t){return t.stimulsoft.is(u)?new o.BinaryExpression(o.BinaryExpressionType.Plus,this,t):new o.BinaryExpression(o.BinaryExpressionType.Plus,this,new o.ValueExpression(t))},u.prototype.mult=function(t){return t.stimulsoft.is(u)?new o.BinaryExpression(o.BinaryExpressionType.Times,this,t):new o.BinaryExpression(o.BinaryExpressionType.Times,this,new o.ValueExpression(t))},u.prototype.bitwiseOr=function(t){return t.stimulsoft.is(u)?new o.BinaryExpression(o.BinaryExpressionType.BitwiseOr,this,t):new o.BinaryExpression(o.BinaryExpressionType.BitwiseOr,this,new o.ValueExpression(t))},u.prototype.bitwiseAnd=function(t){return t.stimulsoft.is(u)?new o.BinaryExpression(o.BinaryExpressionType.BitwiseAnd,this,t):new o.BinaryExpression(o.BinaryExpressionType.BitwiseAnd,this,new o.ValueExpression(t))},u.prototype.bitwiseXOr=function(t){return t.stimulsoft.is(u)?new o.BinaryExpression(o.BinaryExpressionType.BitwiseXOr,this,t):new o.BinaryExpression(o.BinaryExpressionType.BitwiseXOr,this,new o.ValueExpression(t))},u.prototype.leftShift=function(t){return t.stimulsoft.is(u)?new o.BinaryExpression(o.BinaryExpressionType.LeftShift,this,t):new o.BinaryExpression(o.BinaryExpressionType.LeftShift,this,new o.ValueExpression(t))},u.prototype.rightShift=function(t){return t.stimulsoft.is(u)?new o.BinaryExpression(o.BinaryExpressionType.RightShift,this,t):new o.BinaryExpression(o.BinaryExpressionType.RightShift,this,new o.ValueExpression(t))},u.prototype.toString=function(){var t=new o.SerializationVisitor;return this.accept(t),t.result.toString().stimulsoft.trimEnd(" ")},u.prototype.accept=function(t){t.visit1(this)},u.bs="\\",n=u,o.LogicalExpression=n}(Stimulsoft=Stimulsoft||{}),function(t){var e,n,r,t,i,a,o,s;function u(t,e,n){var r=o.call(this)||this;return r.type=t,r.leftExpression=e,r.rightExpression=n,r}n=e=t.Data||(t.Data={}),t=r=n.Expressions||(n.Expressions={}),n=i=t.NCalc||(t.NCalc={}),t=a=n.Domain||(n.Domain={}),o=t.LogicalExpression,__extends(u,o),u.prototype.accept=function(t){t.visit3(this)},n=u,t.BinaryExpression=n,(t=s=t.BinaryExpressionType||(t.BinaryExpressionType={}))[t["And"]=0]="And",t[t["Or"]=1]="Or",t[t["NotEqual"]=2]="NotEqual",t[t["LesserOrEqual"]=3]="LesserOrEqual",t[t["GreaterOrEqual"]=4]="GreaterOrEqual",t[t["Lesser"]=5]="Lesser",t[t["Greater"]=6]="Greater",t[t["Equal"]=7]="Equal",t[t["Minus"]=8]="Minus",t[t["Plus"]=9]="Plus",t[t["Modulo"]=10]="Modulo",t[t["Div"]=11]="Div",t[t["Times"]=12]="Times",t[t["BitwiseOr"]=13]="BitwiseOr",t[t["BitwiseAnd"]=14]="BitwiseAnd",t[t["BitwiseXOr"]=15]="BitwiseXOr",t[t["LeftShift"]=16]="LeftShift",t[t["RightShift"]=17]="RightShift",t[t["Unknown"]=18]="Unknown"}(Stimulsoft=Stimulsoft||{}),function(t){var e,n,r,i,c,a,h,l,p,f,m,o;function d(t){var e=o.call(this)||this;return e._options=c.EvaluateOptions.None,e.evaluateFunction=function(t,e){},e.evaluateParameter=function(){for(var t=[],e=0;e<arguments.length;e++)t[e]=arguments[e]},e._options=t,e}n=e=t.Data||(t.Data={}),n=r=n.Expressions||(n.Expressions={}),c=i=n.NCalc||(n.NCalc={}),h=a=c.Domain||(c.Domain={}),l=t.System.Exception,p=t.System.Collections.List,f=t.System.Convert,m=t.Data.Extensions.ListExt,n=t.Data.Expressions.NCalc.Domain.LogicalExpressionVisitor,__extends(d,o=n),Object.defineProperty(d.prototype,"ignoreCase",{get:function(){return(this._options&c.EvaluateOptions.IgnoreCase)==c.EvaluateOptions.IgnoreCase},enumerable:!1,configurable:!0}),d.prototype.evaluate=function(t){return t.accept(this),this.result},d.prototype.visit1=function(t){throw new l("The method or operation is not implemented.")},d.getMostPreciseType=function(t,e){var n,r;try{for(var i=__values(d.commonTypes),a=i.next();!a.done;a=i.next()){var o=a.value;if(t==o||e==o)return o}}catch(t){n={error:t}}finally{try{a&&!a.done&&(r=i.return)&&r.call(i)}finally{if(n)throw n.error}}return t},d.prototype.compareUsingMostPreciseType=function(t,e){return null},d.prototype.visit2=function(t){var e;t.leftExpression.accept(this),(f.toBoolean(this.result)?t.middleExpression:t.rightExpression).accept(this)},d.isReal=function(t){return null},d.prototype.visit3=function(t){var e=null,n=this,r=function(){return null==e&&(t.leftExpression.accept(n),e=n.result),e},i=null,a=function(){return null==i&&(t.rightExpression.accept(n),i=n.result),i};switch(t.type){case h.BinaryExpressionType.And:this.result=f.toBoolean(r())&&f.toBoolean(a());break;case h.BinaryExpressionType.Or:this.result=f.toBoolean(r())||f.toBoolean(a());break;case h.BinaryExpressionType.Div:r().stimulsoft.is(p)||a().stimulsoft.is(p)||d.isReal(r())||d.isReal(a())?this.result=c.Numbers.divide(r(),a()):this.result=c.Numbers.divide(f.toDouble(r()),a());break;case h.BinaryExpressionType.Equal:this.result=this.compareUsingMostPreciseType(r(),a()),"number"==typeof this.result&&(this.result=0==this.result);break;case h.BinaryExpressionType.Greater:this.result=this.compareUsingMostPreciseType(r(),a()),"number"==typeof this.result&&(this.result=0<this.result);break;case h.BinaryExpressionType.GreaterOrEqual:this.result=this.compareUsingMostPreciseType(r(),a()),"number"==typeof this.result&&(this.result=0<=this.result);break;case h.BinaryExpressionType.Lesser:this.result=this.compareUsingMostPreciseType(r(),a()),"number"==typeof this.result&&(this.result=this.result<0);break;case h.BinaryExpressionType.LesserOrEqual:this.result=this.compareUsingMostPreciseType(r(),a()),"number"==typeof this.result&&(this.result=this.result<=0);break;case h.BinaryExpressionType.Minus:this.result=c.Numbers.soustract(r(),a());break;case h.BinaryExpressionType.Modulo:this.result=c.Numbers.modulo(r(),a());break;case h.BinaryExpressionType.NotEqual:this.result=this.compareUsingMostPreciseType(r(),a()),"number"==typeof this.result&&(this.result=0!=this.result);break;case h.BinaryExpressionType.Plus:this.result="string"==typeof r()?r()+a():c.Numbers.add(r(),a());break;case h.BinaryExpressionType.Times:this.result=c.Numbers.multiply(r(),a());break;case h.BinaryExpressionType.BitwiseAnd:var o=r(),s=a();m.isList(o)||m.isList(s)?this.result=p.bitwiseAnd(o,s):this.result=f.toUInt32(o)&f.toUInt32(s);break;case h.BinaryExpressionType.BitwiseOr:var u=r(),l=a();m.isList(u)||m.isList(l)?this.result=p.bitwiseOr(u,l):this.result=f.toUInt32(u)|f.toUInt32(l);break;case h.BinaryExpressionType.BitwiseXOr:var u=r(),l=a();m.isList(u)||m.isList(l)?this.result=p.bitwiseXOr(u,l):this.result=f.toUInt32(u)|f.toUInt32(l);break;case h.BinaryExpressionType.LeftShift:this.result=f.toUInt32(r())<<f.toUInt32(a());break;case h.BinaryExpressionType.RightShift:this.result=f.toUInt32(r())>>f.toUInt32(a());break}},d.prototype.visit4=function(t){switch(t.expression.accept(this),t.type){case h.UnaryExpressionType.Not:m.isList(this.result)?this.result=p.bitwiseXOr(this.result,1):this.result=!f.toBoolean(this.result);break;case h.UnaryExpressionType.Negate:this.result=c.Numbers.soustract(0,this.result);break;case h.UnaryExpressionType.BitwiseNot:this.result=~f.toUInt32(this.result);break}},d.prototype.visit5=function(t){this.result=t.value},d.prototype.visit6=function(t){var e=new c.FunctionArgs;e.parameters=p.create(c.Expression,t.expressions.length);for(var n=0;n<t.expressions.length;n++)e.parameters[n]=c.Expression.create2(t.expressions[n],this._options),e.parameters[n].evaluateFunction=this.evaluateFunction,e.parameters[n].evaluateParameter=this.evaluateParameter,e.parameters[n].parameters=this.parameters;if(this.onEvaluateFunction(this.ignoreCase?t.identifier.name.toLowerCase():t.identifier.name,e),e.hasResult)return void(this.result=e.result);switch(t.identifier.name.toLowerCase()){case"abs":if(this.checkCase("Abs",t.identifier.name),1!=t.expressions.length)throw new l("Abs() takes exactly 1 argument");this.result=Math.abs(f.toNumber(this.evaluate(t.expressions[0])));break;case"acos":if(this.checkCase("Acos",t.identifier.name),1!=t.expressions.length)throw new l("Acos() takes exactly 1 argument");this.result=Math.acos(f.toDouble(this.evaluate(t.expressions[0])));break;case"asin":if(this.checkCase("Asin",t.identifier.name),1!=t.expressions.length)throw new l("Asin() takes exactly 1 argument");this.result=Math.asin(f.toDouble(this.evaluate(t.expressions[0])));break;case"atan":if(this.checkCase("Atan",t.identifier.name),1!=t.expressions.length)throw new l("Atan() takes exactly 1 argument");this.result=Math.atan(f.toDouble(this.evaluate(t.expressions[0])));break;case"ceiling":if(this.checkCase("Ceiling",t.identifier.name),1!=t.expressions.length)throw new l("Ceiling() takes exactly 1 argument");this.result=Math.ceil(f.toDouble(this.evaluate(t.expressions[0])));break;case"cos":if(this.checkCase("Cos",t.identifier.name),1!=t.expressions.length)throw new l("Cos() takes exactly 1 argument");this.result=Math.cos(f.toDouble(this.evaluate(t.expressions[0])));break;case"exp":if(this.checkCase("Exp",t.identifier.name),1!=t.expressions.length)throw new l("Exp() takes exactly 1 argument");this.result=Math.exp(f.toDouble(this.evaluate(t.expressions[0])));break;case"floor":if(this.checkCase("Floor",t.identifier.name),1!=t.expressions.length)throw new l("Floor() takes exactly 1 argument");this.result=Math.floor(f.toDouble(this.evaluate(t.expressions[0])));break;case"ieeeremainder":if(this.checkCase("IEEERemainder",t.identifier.name),2!=t.expressions.length)throw new l("IEEERemainder() takes exactly 2 arguments");break;case"log":if(this.checkCase("Log",t.identifier.name),2!=t.expressions.length)throw new l("Log() takes exactly 2 arguments");break;case"log10":if(this.checkCase("Log10",t.identifier.name),1!=t.expressions.length)throw new l("Log10() takes exactly 1 argument");this.result=Math.log10(f.toDouble(this.evaluate(t.expressions[0])));break;case"pow":if(this.checkCase("Pow",t.identifier.name),2!=t.expressions.length)throw new l("Pow() takes exactly 2 arguments");this.result=Math.pow(f.toDouble(this.evaluate(t.expressions[0])),f.toDouble(this.evaluate(t.expressions[1])));break;case"round":if(this.checkCase("Round",t.identifier.name),2!=t.expressions.length)throw new l("Round() takes exactly 2 arguments");break;case"sign":if(this.checkCase("Sign",t.identifier.name),1!=t.expressions.length)throw new l("Sign() takes exactly 1 argument");this.result=Math.sign(f.toDouble(this.evaluate(t.expressions[0])));break;case"sin":if(this.checkCase("Sin",t.identifier.name),1!=t.expressions.length)throw new l("Sin() takes exactly 1 argument");this.result=Math.sin(f.toDouble(this.evaluate(t.expressions[0])));break;case"sqrt":if(this.checkCase("Sqrt",t.identifier.name),1!=t.expressions.length)throw new l("Sqrt() takes exactly 1 argument");this.result=Math.sqrt(f.toDouble(this.evaluate(t.expressions[0])));break;case"tan":if(this.checkCase("Tan",t.identifier.name),1!=t.expressions.length)throw new l("Tan() takes exactly 1 argument");this.result=Math.tan(f.toDouble(this.evaluate(t.expressions[0])));break;case"truncate":if(this.checkCase("Truncate",t.identifier.name),1!=t.expressions.length)throw new l("Truncate() takes exactly 1 argument");this.result=Math.trunc(f.toDouble(this.evaluate(t.expressions[0])));break;case"max":if(this.checkCase("Max",t.identifier.name),2!=t.expressions.length)throw new l("Max() takes exactly 2 arguments");var r=this.evaluate(t.expressions[0]),i=this.evaluate(t.expressions[1]);this.result=c.Numbers.max(r,i);break;case"min":if(this.checkCase("Min",t.identifier.name),2!=t.expressions.length)throw new l("Min() takes exactly 2 arguments");var i=this.evaluate(t.expressions[0]),a=this.evaluate(t.expressions[1]);this.result=c.Numbers.min(i,a);break;case"if":if(this.checkCase("if",t.identifier.name),3!=t.expressions.length)throw new l("if() takes exactly 3 arguments");var a=f.toBoolean(this.evaluate(t.expressions[0]));this.result=a?this.evaluate(t.expressions[1]):this.evaluate(t.expressions[2]);break;case"in":if(this.checkCase("in",t.identifier.name),t.expressions.length<2)throw new l("in() takes at least 2 arguments");for(var o=this.evaluate(t.expressions[0]),s=!1,n=1;n<t.expressions.length;n++){var u=this.evaluate(t.expressions[n]),u=this.compareUsingMostPreciseType(o,u);if("number"==typeof u&&0==u){s=!0;break}}this.result=s;break;default:throw new l("Function not found")}},d.prototype.checkCase=function(t,e){if(this.ignoreCase){if(t.toLowerCase()==e.toLowerCase())return;throw new l("Function not found")}if(t!=e)throw new Error("Function not found "+e+". Try "+t+" instead.")},d.prototype.onEvaluateFunction=function(t,e){null!=this.evaluateFunction&&this.evaluateFunction(t,e)},d.prototype.visit7=function(t){var e,n;if(this.parameters.contains(t.name))if(this.parameters.get(t.name).stimulsoft.is(c.Expression)){var r=this.parameters.get(t.name);try{for(var i=__values(this.parameters.pairs),a=i.next();!a.done;a=i.next()){var o=a.value;r.parameters.set(o.key,o.value)}}catch(t){e={error:t}}finally{try{a&&!a.done&&(n=i.return)&&n.call(i)}finally{if(e)throw e.error}}r.evaluateFunction=this.evaluateFunction,r.evaluateParameter=this.evaluateParameter,this.result=this.parameters.get(t.name).evaluate()}else this.result=this.parameters.get(t.name);else{var s=new c.ParameterArgs;if(this.onEvaluateParameter(t.name,s),!s.hasResult)throw new l("Parameter was not defined");this.result=s.result}},d.prototype.onEvaluateParameter=function(t,e){null!=this.evaluateParameter&&this.evaluateParameter(t,e)},d.commonTypes=[Number,Boolean,String],n=d,h.EvaluationVisitor=n}(Stimulsoft=Stimulsoft||{}),function(t){var e,n,r,t,i,a,o;function s(t,e){var n=o.call(this)||this;return n.identifier=t,n.expressions=e,n}n=e=t.Data||(t.Data={}),t=r=n.Expressions||(n.Expressions={}),n=i=t.NCalc||(t.NCalc={}),t=a=n.Domain||(n.Domain={}),o=t.LogicalExpression,__extends(s,o),s.prototype.accept=function(t){t.visit6(this)},n=s,t.Functionn=n}(Stimulsoft=Stimulsoft||{}),function(t){var e,n,r,t,i,a,o;function s(t){var e=o.call(this)||this;return e.name=t,e}n=e=t.Data||(t.Data={}),t=r=n.Expressions||(n.Expressions={}),n=i=t.NCalc||(t.NCalc={}),t=a=n.Domain||(n.Domain={}),o=t.LogicalExpression,__extends(s,o),s.prototype.accept=function(t){t.visit7(this)},n=s,t.Identifier=n}(Stimulsoft=Stimulsoft||{}),function(t){var e,n,r,i,a,o,s,u,l;function c(){var t=l.call(this)||this;return t.result="",t._numberFormatInfo=new u,t._numberFormatInfo.numberDecimalSeparator=".",t}n=e=t.Data||(t.Data={}),n=r=n.Expressions||(n.Expressions={}),n=i=n.NCalc||(n.NCalc={}),o=a=n.Domain||(n.Domain={}),s=t.System.Exception,u=t.System.Globalization.NumberFormatInfo,l=o.LogicalExpressionVisitor,__extends(c,l),c.prototype.visit1=function(t){throw new s("The method or operation is not implemented.")},c.prototype.visit2=function(t){this.encapsulateNoValue(t.leftExpression),this.result+="? ",this.encapsulateNoValue(t.middleExpression),this.result+=": ",this.encapsulateNoValue(t.rightExpression)},c.prototype.visit3=function(t){switch(this.encapsulateNoValue(t.leftExpression),t.type){case o.BinaryExpressionType.And:this.result+="and ";break;case o.BinaryExpressionType.Or:this.result+="or ";break;case o.BinaryExpressionType.Div:this.result+="/ ";break;case o.BinaryExpressionType.Equal:this.result+="= ";break;case o.BinaryExpressionType.Greater:this.result+="> ";break;case o.BinaryExpressionType.GreaterOrEqual:this.result+=">= ";break;case o.BinaryExpressionType.Lesser:this.result+="< ";break;case o.BinaryExpressionType.LesserOrEqual:this.result+="<= ";break;case o.BinaryExpressionType.Minus:this.result+="- ";break;case o.BinaryExpressionType.Modulo:this.result+="% ";break;case o.BinaryExpressionType.NotEqual:this.result+="!= ";break;case o.BinaryExpressionType.Plus:this.result+="+ ";break;case o.BinaryExpressionType.Times:this.result+="* ";break;case o.BinaryExpressionType.BitwiseAnd:this.result+="& ";break;case o.BinaryExpressionType.BitwiseOr:this.result+="| ";break;case o.BinaryExpressionType.BitwiseXOr:this.result+="~ ";break;case o.BinaryExpressionType.LeftShift:this.result+="<< ";break;case o.BinaryExpressionType.RightShift:this.result+=">> ";break}this.encapsulateNoValue(t.rightExpression)},c.prototype.visit4=function(t){switch(t.type){case o.UnaryExpressionType.Not:this.result+="!";break;case o.UnaryExpressionType.Negate:this.result+="-";break;case o.UnaryExpressionType.BitwiseNot:this.result+="~";break}this.encapsulateNoValue(t.expression)},c.prototype.visit5=function(t){switch(t.type){case o.ValueType.Boolean:this.result+=t.value.toString()+" ";break;case o.ValueType.DateTime:this.result+="#"+t.value.toString+"#"+" ";break;case o.ValueType.Float:break;case o.ValueType.Integer:this.result+=t.value.toString()+" ";break;case o.ValueType.String:this.result+="'"+t.value.toString+"'"+" ";break}},c.prototype.visit6=function(t){this.result+=t.identifier.name,this.result+="(";for(var e=0;e<t.expressions.length;e++)t.expressions[e].accept(this),e<t.expressions.length-1&&(this.result.stimulsoft.remove(this.result.length-1,1),this.result+=", ");while(" "==this.result[this.result.length-1])this.result.stimulsoft.remove(this.result.length-1,1);this.result+=") "},c.prototype.visit7=function(t){this.result+="["+t.name+"] "},c.prototype.encapsulateNoValue=function(t){if(t.stimulsoft.is(o.ValueExpression))t.accept(this);else{this.result+="(",t.accept(this);while(" "==this.result[this.result.length-1])this.result.stimulsoft.remove(this.result.length-1,1);this.result+=") "}},n=c,o.SerializationVisitor=n}(Stimulsoft=Stimulsoft||{}),function(t){var e,n,r,t,i,a,o;function s(t,e,n){var r=o.call(this)||this;return r.leftExpression=t,r.middleExpression=e,r.rightExpression=n,r}n=e=t.Data||(t.Data={}),t=r=n.Expressions||(n.Expressions={}),n=i=t.NCalc||(t.NCalc={}),t=a=n.Domain||(n.Domain={}),o=t.LogicalExpression,__extends(s,o),s.prototype.accept=function(t){t.visit2(this)},n=s,t.TernaryExpression=n}(Stimulsoft=Stimulsoft||{}),function(t){var e,n,r,t,i,a,o,s;function u(t,e){var n=o.call(this)||this;return n.type=t,n.expression=e,n}n=e=t.Data||(t.Data={}),t=r=n.Expressions||(n.Expressions={}),n=i=t.NCalc||(t.NCalc={}),t=a=n.Domain||(n.Domain={}),o=t.LogicalExpression,__extends(u,o),u.prototype.accept=function(t){t.visit4(this)},n=u,t.UnaryExpression=n,(t=s=t.UnaryExpressionType||(t.UnaryExpressionType={}))[t["Not"]=0]="Not",t[t["Negate"]=1]="Negate",t[t["BitwiseNot"]=2]="BitwiseNot"}(Stimulsoft=Stimulsoft||{}),function(t){var e,n,r,i,a,o,s,u,l,c,h;function p(t,e){var n=c.call(this)||this;if(null==e)switch(u.getType(t)){case Boolean:e=h.Boolean;break;case l:e=h.DateTime;break;case Number:e=h.Float;break;case String:e=h.String;break;default:throw new s("This value could not be handled: "+t)}return n.value=t,n.type=e,n}n=e=t.Data||(t.Data={}),i=r=n.Expressions||(n.Expressions={}),n=a=i.NCalc||(i.NCalc={}),i=o=n.Domain||(n.Domain={}),s=t.System.Exception,u=t.System.Type,l=t.System.DateTime,c=i.LogicalExpression,__extends(p,c),p.prototype.accept=function(t){t.visit5(this)},n=p,i.ValueExpression=n,(i=h=i.ValueType||(i.ValueType={}))[i["Integer"]=0]="Integer",i[i["String"]=1]="String",i[i["DateTime"]=2]="DateTime",i[i["Float"]=3]="Float",i[i["Boolean"]=4]="Boolean"}(Stimulsoft=Stimulsoft||{}),function(t){var e,n,r,i,a,o;function s(t,e){return o.call(this,t,e)||this}n=e=t.Data||(t.Data={}),i=r=n.Expressions||(n.Expressions={}),n=a=i.NCalc||(i.NCalc={}),i=t.System.Exception,__extends(s,o=i),i=s,n.EvaluationException=i}(Stimulsoft=Stimulsoft||{}),function(t){var e,t,n,r,i;t=e=t.Data||(t.Data={}),t=n=t.Expressions||(t.Expressions={}),t=r=t.NCalc||(t.NCalc={}),(t=i=t.EvaluateOptions||(t.EvaluateOptions={}))[t["None"]=1]="None",t[t["IgnoreCase"]=2]="IgnoreCase",t[t["NoCache"]=4]="NoCache",t[t["IterateParameters"]=8]="IterateParameters",t[t["RoundAwayFromZero"]=16]="RoundAwayFromZero"}(Stimulsoft=Stimulsoft||{}),function(f){var t,e,n,r;e=t=f.Data||(f.Data={}),e=n=e.Expressions||(e.Expressions={}),function(t){var n=f.Data.Expressions.Antlr.Runtime.DFA,r=f.Data.Expressions.Antlr.Runtime.NoViableAltException,u=f.Data.Expressions.Antlr.Runtime.MismatchedSetException,y=f.Data.Expressions.Antlr.Runtime.EarlyExitException,e=f.Data.Expressions.Antlr.Runtime.Lexer,e=(__extends(a,i=e),a.prototype.mT__19=function(){try{var t=this.T__19,e=this.defaultTokenChannel;this.match3("!"),this.state.type=t,this.state.channel=e}finally{}},a.prototype.mT__20=function(){try{var t=this.T__20,e=this.defaultTokenChannel;this.match3("!="),this.state.type=t,this.state.channel=e}finally{}},a.prototype.mT__21=function(){try{var t=this.T__21,e=this.defaultTokenChannel;this.match3("%"),this.state.type=t,this.state.channel=e}finally{}},a.prototype.mT__22=function(){try{var t=this.T__22,e=this.defaultTokenChannel;this.match3("&&"),this.state.type=t,this.state.channel=e}finally{}},a.prototype.mT__23=function(){try{var t=this.T__23,e=this.defaultTokenChannel;this.match3("&"),this.state.type=t,this.state.channel=e}finally{}},a.prototype.mT__24=function(){try{var t=this.T__24,e=this.defaultTokenChannel;this.match3("("),this.state.type=t,this.state.channel=e}finally{}},a.prototype.mT__25=function(){try{var t=this.T__25,e=this.defaultTokenChannel;this.match3(")"),this.state.type=t,this.state.channel=e}finally{}},a.prototype.mT__26=function(){try{var t=this.T__26,e=this.defaultTokenChannel;this.match3("*"),this.state.type=t,this.state.channel=e}finally{}},a.prototype.mT__27=function(){try{var t=this.T__27,e=this.defaultTokenChannel;this.match3("+"),this.state.type=t,this.state.channel=e}finally{}},a.prototype.mT__28=function(){try{var t=this.T__28,e=this.defaultTokenChannel;this.match3(","),this.state.type=t,this.state.channel=e}finally{}},a.prototype.mT__29=function(){try{var t=this.T__29,e=this.defaultTokenChannel;this.match3("-"),this.state.type=t,this.state.channel=e}finally{}},a.prototype.mT__30=function(){try{var t=this.T__30,e=this.defaultTokenChannel;this.match3("/"),this.state.type=t,this.state.channel=e}finally{}},a.prototype.mT__31=function(){try{var t=this.T__31,e=this.defaultTokenChannel;this.match3(":"),this.state.type=t,this.state.channel=e}finally{}},a.prototype.mT__32=function(){try{var t=this.T__32,e=this.defaultTokenChannel;this.match3("<"),this.state.type=t,this.state.channel=e}finally{}},a.prototype.mT__33=function(){try{var t=this.T__33,e=this.defaultTokenChannel;this.match3("<<"),this.state.type=t,this.state.channel=e}finally{}},a.prototype.enterRule_T__34=function(){},a.prototype.leaveRule_T__34=function(){},a.prototype.mT__34=function(){try{var t=this.T__34,e=this.defaultTokenChannel;this.match3("<="),this.state.type=t,this.state.channel=e}finally{}},a.prototype.mT__35=function(){try{var t=this.T__35,e=this.defaultTokenChannel;this.match3("<>"),this.state.type=t,this.state.channel=e}finally{}},a.prototype.mT__36=function(){try{var t=this.T__36,e=this.defaultTokenChannel;this.match3("="),this.state.type=t,this.state.channel=e}finally{}},a.prototype.mT__37=function(){try{var t=this.T__37,e=this.defaultTokenChannel;this.match3("=="),this.state.type=t,this.state.channel=e}finally{}},a.prototype.mT__38=function(){try{var t=this.T__38,e=this.defaultTokenChannel;this.match3(">"),this.state.type=t,this.state.channel=e}finally{}},a.prototype.mT__39=function(){try{var t=this.T__39,e=this.defaultTokenChannel;this.match3(">="),this.state.type=t,this.state.channel=e}finally{}},a.prototype.mT__40=function(){try{var t=this.T__40,e=this.defaultTokenChannel;this.match3(">>"),this.state.type=t,this.state.channel=e}finally{}},a.prototype.mT__41=function(){try{var t=this.T__41,e=this.defaultTokenChannel;this.match3("?"),this.state.type=t,this.state.channel=e}finally{}},a.prototype.mT__42=function(){try{var t=this.T__42,e=this.defaultTokenChannel;this.match3("^"),this.state.type=t,this.state.channel=e}finally{}},a.prototype.mT__43=function(){try{var t=this.T__43,e=this.defaultTokenChannel;this.match3("and"),this.state.type=t,this.state.channel=e}finally{}},a.prototype.mT__44=function(){try{var t=this.T__44,e=this.defaultTokenChannel;this.match3("not"),this.state.type=t,this.state.channel=e}finally{}},a.prototype.enterRule_T__45=function(){},a.prototype.leaveRule_T__45=function(){},a.prototype.mT__45=function(){try{var t=this.T__45,e=this.defaultTokenChannel;this.match3("or"),this.state.type=t,this.state.channel=e}finally{}},a.prototype.mT__46=function(){try{var t=this.T__46,e=this.defaultTokenChannel;this.match3("|"),this.state.type=t,this.state.channel=e}finally{}},a.prototype.mT__47=function(){try{var t=this.T__47,e=this.defaultTokenChannel;this.match3("||"),this.state.type=t,this.state.channel=e}finally{}},a.prototype.mT__48=function(){try{var t=this.T__48,e=this.defaultTokenChannel;this.match3("~"),this.state.type=t,this.state.channel=e}finally{}},a.prototype.mTRUE=function(){try{var t=this.TRUE,e=this.defaultTokenChannel;this.match3("true"),this.state.type=t,this.state.channel=e}finally{}},a.prototype.mFALSE=function(){try{var t=this.FALSE,e=this.defaultTokenChannel;this.match3("false"),this.state.type=t,this.state.channel=e}finally{}},a.prototype.mID=function(){try{var t=this.ID,e=this.defaultTokenChannel;this.mLETTER();try{var n=!1;while(!n){var r=2;try{var i=this.input.la(1);(i>="0".charCodeAt(0)&&i<="9".charCodeAt(0)||i>="A".charCodeAt(0)&&i<="Z".charCodeAt(0)||i=="_".charCodeAt(0)||i>="a".charCodeAt(0)&&i<="z".charCodeAt(0))&&(r=1)}finally{}switch(r){case 1:this.input.consume();break;default:n=!0}}}finally{}this.state.type=t,this.state.channel=e}finally{}},a.prototype.mINTEGER=function(){try{var t=this.INTEGER,e=this.defaultTokenChannel,n=0;try{var r=!1;while(!r){var i=2,a;try{var o=this.input.la(1);o>="0".charCodeAt(0)&&o<="9".charCodeAt(0)&&(i=1)}finally{}switch(i){case 1:this.input.consume();break;default:if(1<=n){r=!0;break}throw new y(null,2,this.input)}n++}}finally{}this.state.type=t,this.state.channel=e}finally{}},a.prototype.mFLOAT=function(){try{var t=this.FLOAT,e=this.defaultTokenChannel,n=2;try{try{n=this.dfa7.predict(this.input)}catch(t){}}finally{}switch(n){case 1:try{var r=!1;while(!r){var i=2;try{var a=this.input.la(1);a>="0".charCodeAt(0)&&a<="9".charCodeAt(0)&&(i=1)}finally{}switch(i){case 1:this.input.consume();break;default:r=!0}}}finally{}this.match3(".");var o=0;try{var r=!1;while(!r){var s=2,u;try{var l=this.input.la(1);l>="0".charCodeAt(0)&&l<="9".charCodeAt(0)&&(s=1)}finally{}switch(s){case 1:this.input.consume();break;default:if(1<=o){r=!0;break}throw new y(null,4,this.input)}o++}}finally{}var c=2;try{try{var h=this.input.la(1);h!="E".charCodeAt(0)&&h!="e".charCodeAt(0)||(c=1)}finally{}switch(c){case 1:this.mE();break}}finally{}break;case 2:var p=0;try{var r=!1;while(!r){var f=2,m;try{var d=this.input.la(1);d>="0".charCodeAt(0)&&d<="9".charCodeAt(0)&&(f=1)}finally{}switch(f){case 1:this.input.consume();break;default:if(1<=p){r=!0;break}throw new y(null,6,this.input)}p++}}finally{}this.mE();break}this.state.type=t,this.state.channel=e}finally{}},a.prototype.mSTRING=function(){try{var t=this.STRING,e=this.defaultTokenChannel;this.match3("'");try{var n=!1;while(!n){var r=3;try{var i=this.input.la(1);i=="\\".charCodeAt(0)?r=1:(i>=" ".charCodeAt(0)&&i<="&".charCodeAt(0)||i>="(".charCodeAt(0)&&i<="[".charCodeAt(0)||i>="]".charCodeAt(0)&&i<="".charCodeAt(0))&&(r=2)}finally{}switch(r){case 1:this.mEscapeSequence();break;case 2:this.input.consume();break;default:n=!0}}}finally{}this.match3("'"),this.state.type=t,this.state.channel=e}finally{}},a.prototype.mDATETIME=function(){try{var t=this.DATETIME,e=this.defaultTokenChannel;this.match3("#");try{var n=!1;while(!n){var r=2;try{var i=this.input.la(1);(i>="\0".charCodeAt(0)&&i<='"'.charCodeAt(0)||i>="$".charCodeAt(0)&&i<="".charCodeAt(0))&&(r=1)}finally{}switch(r){case 1:this.input.consume();break;default:n=!0}}}finally{}this.match3("#"),this.state.type=t,this.state.channel=e}finally{}},a.prototype.mNAME=function(){try{var t=this.NAME,e=this.defaultTokenChannel;this.match3("[");try{var n=!1;while(!n){var r=2;try{var i=this.input.la(1);(i>="\0".charCodeAt(0)&&i<="\\".charCodeAt(0)||i>="^".charCodeAt(0)&&i<="".charCodeAt(0))&&(r=1)}finally{}switch(r){case 1:this.input.consume();break;default:n=!0}}}finally{}this.match3("]"),this.state.type=t,this.state.channel=e}finally{}},a.prototype.mE=function(){try{if(this.input.la(1)!="E".charCodeAt(0)&&this.input.la(1)!="e".charCodeAt(0)){var t=new u(null,null,this.input);throw this.recover2(t),t}this.input.consume();var e=2;try{try{var n=this.input.la(1);n!="+".charCodeAt(0)&&n!="-".charCodeAt(0)||(e=1)}finally{}switch(e){case 1:this.input.consume();break}}finally{}var r=0;try{var i=!1;while(!i){var a=2,o;try{var s=this.input.la(1);s>="0".charCodeAt(0)&&s<="9".charCodeAt(0)&&(a=1)}finally{}switch(a){case 1:this.input.consume();break;default:if(1<=r){i=!0;break}throw new y(null,12,this.input)}r++}}finally{}}finally{}},a.prototype.mLETTER=function(){try{if(!(this.input.la(1)>="A".charCodeAt(0)&&this.input.la(1)<="Z".charCodeAt(0)||this.input.la(1)=="_".charCodeAt(0)||this.input.la(1)>="a".charCodeAt(0)&&this.input.la(1)<="z".charCodeAt(0))){var t=new u(null,null,this.input);throw this.recover2(t),t}this.input.consume()}finally{}},a.prototype.mDIGIT=function(){try{if(!(this.input.la(1)>="0".charCodeAt(0)&&this.input.la(1)<="9".charCodeAt(0))){var t=new u(null,null,this.input);throw this.recover2(t),t}this.input.consume()}finally{}},a.prototype.mEscapeSequence=function(){try{this.match3("\\");var t=6,e;try{try{switch(this.input.la(1)){case"n".charCodeAt(0):t=1;break;case"r".charCodeAt(0):t=2;break;case"t".charCodeAt(0):t=3;break;case"'".charCodeAt(0):t=4;break;case"\\".charCodeAt(0):t=5;break;case"u".charCodeAt(0):t=6;break;default:throw new r("",null,13,0,this.input,1)}}finally{}switch(t){case 1:this.match3("n");break;case 2:this.match3("r");break;case 3:this.match3("t");break;case 4:this.match3("'");break;case 5:this.match3("\\");break;case 6:this.mUnicodeEscape();break}}finally{}}finally{}},a.prototype.mHexDigit=function(){try{if(!(this.input.la(1)>="0".charCodeAt(0)&&this.input.la(1)<="9".charCodeAt(0)||this.input.la(1)>="A".charCodeAt(0)&&this.input.la(1)<="F".charCodeAt(0)||this.input.la(1)>="a".charCodeAt(0)&&this.input.la(1)<="f".charCodeAt(0))){var t=new u(null,null,this.input);throw this.recover2(t),t}this.input.consume()}finally{}},a.prototype.mUnicodeEscape=function(){try{this.match3("u"),this.mHexDigit(),this.mHexDigit(),this.mHexDigit(),this.mHexDigit()}finally{}},a.prototype.mWS=function(){try{var t=this.WS,e=this.defaultTokenChannel;if(!(this.input.la(1)>="\t".charCodeAt(0)&&this.input.la(1)<="\n".charCodeAt(0)||this.input.la(1)>="\f".charCodeAt(0)&&this.input.la(1)<="\r".charCodeAt(0)||this.input.la(1)==" ".charCodeAt(0))){var n=new u(null,null,this.input);throw this.recover2(n),n}this.input.consume(),e=this.hidden,this.state.type=t,this.state.channel=e}finally{}},a.prototype.mTokens=function(){var t=39;try{try{t=this.dfa14.predict(this.input)}catch(t){}}finally{}switch(t){case 1:this.mT__19();break;case 2:this.mT__20();break;case 3:this.mT__21();break;case 4:this.mT__22();break;case 5:this.mT__23();break;case 6:this.mT__24();break;case 7:this.mT__25();break;case 8:this.mT__26();break;case 9:this.mT__27();break;case 10:this.mT__28();break;case 11:this.mT__29();break;case 12:this.mT__30();break;case 13:this.mT__31();break;case 14:this.mT__32();break;case 15:this.mT__33();break;case 16:this.mT__34();break;case 17:this.mT__35();break;case 18:this.mT__36();break;case 19:this.mT__37();break;case 20:this.mT__38();break;case 21:this.mT__39();break;case 22:this.mT__40();break;case 23:this.mT__41();break;case 24:this.mT__42();break;case 25:this.mT__43();break;case 26:this.mT__44();break;case 27:this.mT__45();break;case 28:this.mT__46();break;case 29:this.mT__47();break;case 30:this.mT__48();break;case 31:this.mTRUE();break;case 32:this.mFALSE();break;case 33:this.mID();break;case 34:this.mINTEGER();break;case 35:this.mFLOAT();break;case 36:this.mSTRING();break;case 37:this.mDATETIME();break;case 38:this.mNAME();break;case 39:this.mWS();break}},a.prototype.initDFAs=function(){i.prototype.initDFAs.call(this),this.dfa7=new o(this),this.dfa14=new c(this)},a),i;function a(t,e){var e=i.call(this,t,e)||this;return e.EOF=-1,e.DATETIME=4,e.DIGIT=5,e.E=6,e.EscapeSequence=7,e.FALSE=8,e.FLOAT=9,e.HexDigit=10,e.ID=11,e.INTEGER=12,e.LETTER=13,e.NAME=14,e.STRING=15,e.TRUE=16,e.UnicodeEscape=17,e.WS=18,e.T__19=19,e.T__20=20,e.T__21=21,e.T__22=22,e.T__23=23,e.T__24=24,e.T__25=25,e.T__26=26,e.T__27=27,e.T__28=28,e.T__29=29,e.T__30=30,e.T__31=31,e.T__32=32,e.T__33=33,e.T__34=34,e.T__35=35,e.T__36=36,e.T__37=37,e.T__38=38,e.T__39=39,e.T__40=40,e.T__41=41,e.T__42=42,e.T__43=43,e.T__44=44,e.T__45=45,e.T__46=46,e.T__47=47,e.T__48=48,e}t.NCalcLexer=e;var o=(__extends(l,s=n),l.initialize=function(){var t=this.DFA7_transitionS.length;l.DFA7_transition=[];for(var e=0;e<t;e++)l.DFA7_transition[e]=n.unpackEncodedString(l.DFA7_transitionS[e])},l.prototype.error=function(t){this.debugRecognitionException(t)},l.DFA7_eotS="",l.DFA7_eofS="",l.DFA7_minS=".",l.DFA7_maxS="9e",l.DFA7_acceptS="",l.DFA7_specialS="}>",l.DFA7_transitionS=["\n","\n\v","",""],l.DFA7_eot=n.unpackEncodedString(l.DFA7_eotS),l.DFA7_eof=n.unpackEncodedString(l.DFA7_eofS),l.DFA7_min=n.unpackEncodedStringToUnsignedChars(l.DFA7_minS),l.DFA7_max=n.unpackEncodedStringToUnsignedChars(l.DFA7_maxS),l.DFA7_accept=n.unpackEncodedString(l.DFA7_acceptS),l.DFA7_special=n.unpackEncodedString(l.DFA7_specialS),l),s;function l(t){var e=s.call(this)||this;return e.description="252:1: FLOAT : ( ( DIGIT )* '.' ( DIGIT )+ ( E )? | ( DIGIT )+ E );",e.recognizer=t,e.decisionNumber=7,e.eot=l.DFA7_eot,e.eof=l.DFA7_eof,e.min=l.DFA7_min,e.max=l.DFA7_max,e.accept=l.DFA7_accept,e.special=l.DFA7_special,e.transition=l.DFA7_transition,e}o.initialize();var c=(__extends(p,h=n),p.initialize=function(){var t=p.DFA14_transitionS.length;p.DFA14_transition=[];for(var e=0;e<t;e++)p.DFA14_transition[e]=n.unpackEncodedString(p.DFA14_transitionS[e])},p.prototype.error=function(t){this.debugRecognitionException(t)},p.DFA14_eotS=' "\b&(+'+"036"+"9:="+"?",p.DFA14_eofS="@",p.DFA14_minS="\t=&\b<=n"+"or|ra."+"dt0ul0"+"es0e0",p.DFA14_maxS="~=&\b>=>"+"nor|rae"+"dtzulz"+"eszez",p.DFA14_acceptS="\b\t\n\v\f"+"\r!"+"#$%&'"+""+'"'+" ",p.DFA14_specialS="@}>",p.DFA14_transitionS=[""+"\b\t\n"+"\n\v\f\r"+""+"","","","!","","","","","","","","","#$%","'",")*","","",",","-",".","/","","1","2","","\n\v","","","","","","","","","","","","","","","","","","","4","5","\n","","","7","8","","\n","\n","",";","<","","","\n",">","","\n",""],p.DFA14_eot=n.unpackEncodedString(p.DFA14_eotS),p.DFA14_eof=n.unpackEncodedString(p.DFA14_eofS),p.DFA14_min=n.unpackEncodedStringToUnsignedChars(p.DFA14_minS),p.DFA14_max=n.unpackEncodedStringToUnsignedChars(p.DFA14_maxS),p.DFA14_accept=n.unpackEncodedString(p.DFA14_acceptS),p.DFA14_special=n.unpackEncodedString(p.DFA14_specialS),p),h;function p(t){var e=h.call(this)||this;return e.description="1:1: Tokens : ( T__19 | T__20 | T__21 | T__22 | T__23 | T__24 | T__25 | T__26 | T__27 | T__28 | T__29 | T__30 | T__31 | T__32 | T__33 | T__34 | T__35 | T__36 | T__37 | T__38 | T__39 | T__40 | T__41 | T__42 | T__43 | T__44 | T__45 | T__46 | T__47 | T__48 | TRUE | FALSE | ID | INTEGER | FLOAT | STRING | DATETIME | NAME | WS );",e.recognizer=t,e.decisionNumber=14,e.eot=p.DFA14_eot,e.eof=p.DFA14_eof,e.min=p.DFA14_min,e.max=p.DFA14_max,e.accept=p.DFA14_accept,e.special=p.DFA14_special,e.transition=p.DFA14_transition,e}c.initialize()}(r=e.NCalc||(e.NCalc={}))}(Stimulsoft=Stimulsoft||{}),function(r){var t,e,n,i;e=t=r.Data||(r.Data={}),e=n=e.Expressions||(e.Expressions={}),function(k){var a=r.System.StiString,I=r.System.Exception,N=r.System.Collections.Dictionary,O=r.System.Collections.List,A=r.Data.Expressions.NCalc.Domain.EvaluationVisitor,o=r.System.Environment,s=r.Data.Expressions.Antlr.Runtime.CommonTokenStream,u=r.Data.Expressions.Antlr.Runtime.ANTLRStringStream,l=r.Data.Expressions.NCalc.NCalcLexer,t=(e.prototype.releaseReaderLock=function(){},e.prototype.releaseWriterLock=function(){},e.prototype.acquireReaderLock=function(t){},e.prototype.acquireWriterLock=function(t){},e);function e(){}k.ReaderWriterLock=t;var c=n;function n(t){this.isAlive=!1}k.WeakReference=c;var t=(F.create1=function(t,e){if(a.isNullOrEmpty(t))throw new I("Expression can't be empty");null==e&&(e=k.EvaluateOptions.None);var n=new F;return n.originalExpression=t,n.options=e,n},F.create2=function(t,e){if(null==t)throw new I("Expression can't be null");null==e&&(e=k.EvaluateOptions.None)
;var n=new F;return n.parsedExpression=t,n.options=e,n},Object.defineProperty(F,"cacheEnabled",{get:function(){return F._cacheEnabled},set:function(t){F._cacheEnabled=t,F.cacheEnabled||(F._compiledExpressions=new N)},enumerable:!1,configurable:!0}),F.cleanCache=function(){var e,t,n,r,i=new O;try{F.rwl.acquireWriterLock(this.Timeout.Infinite);try{for(var a=__values(F._compiledExpressions.pairs),o=a.next();!o.done;o=a.next()){var s=o.value;s.value.isAlive||i.add(s.key)}}catch(t){e={error:t}}finally{try{o&&!o.done&&(t=a.return)&&t.call(a)}finally{if(e)throw e.error}}try{for(var u=__values(i),l=u.next();!l.done;l=u.next()){var c=l.value;F._compiledExpressions.remove(c)}}catch(t){n={error:t}}finally{try{l&&!l.done&&(r=u.return)&&r.call(u)}finally{if(n)throw n.error}}}finally{F.rwl.releaseReaderLock()}},F.compile=function(t,e){var n=null,r;if(F._cacheEnabled&&!e)try{if(F.rwl.acquireReaderLock(this.Timeout.Infinite),F._compiledExpressions.contains(t))if(F._compiledExpressions.get(t).isAlive&&null!=n)return n}finally{F.rwl.releaseReaderLock()}if(null==n){var i=new l(new u(t)),i=new k.NCalcParser(new s(i)),n=i.ncalcExpression().value;if(null!=i.errors&&0<i.errors.length)throw new I(a.join(o.newLine,i.errors));if(F._cacheEnabled&&!e){try{F.rwl.acquireWriterLock(this.Timeout.Infinite),F._compiledExpressions.set(t,new c(n))}finally{F.rwl.releaseWriterLock()}F.cleanCache()}}return n},F.prototype.hasErrors=function(){try{return null==this.parsedExpression&&(this.parsedExpression=F.compile(this.originalExpression,(this.options&k.EvaluateOptions.NoCache)==k.EvaluateOptions.NoCache)),null!=this.parsedExpression&&null!=this.error}catch(t){return this.error=t.message,!0}},F.prototype.evaluate=function(){var e,t,n,r,i,a,o,s,u,l;if(this.hasErrors())throw new k.EvaluationException(this.error);null==this.parsedExpression&&(this.parsedExpression=F.compile(this.originalExpression,(this.options&k.EvaluateOptions.NoCache)==k.EvaluateOptions.NoCache));var c=new A(this.options);if(c.evaluateFunction=this.evaluateFunction,c.evaluateParameter=this.evaluateParameter,c.parameters=this.parameters,(this.options&k.EvaluateOptions.IterateParameters)==k.EvaluateOptions.IterateParameters){var h=-1;this.parametersBackup=new N;try{for(var p=__values(this.parameters.keys),f=p.next();!f.done;f=p.next()){var m=f.value;this.parametersBackup.add(m,this.parameters.get(m))}}catch(t){e={error:t}}finally{try{f&&!f.done&&(t=p.return)&&t.call(p)}finally{if(e)throw e.error}}this.parameterEnumerators=new N;try{for(var d=__values(this.parameters.values),y=d.next(),g;!y.done;y=d.next()){if((g=y.value).stimulsoft.is(O)){var S=0;try{for(var v=(i=void 0,__values(g)),b=v.next();!b.done;b=v.next()){var T=b.value;S++}}catch(t){i={error:t}}finally{try{b&&!b.done&&(a=v.return)&&a.call(v)}finally{if(i)throw i.error}}if(-1==h)h=S;else if(S!=h)throw new I("When IterateParameters option is used, IEnumerable parameters must have the same number of items")}}}catch(t){n={error:t}}finally{try{y&&!y.done&&(r=d.return)&&r.call(d)}finally{if(n)throw n.error}}try{for(var x=__values(this.parameters.keys),E=x.next();!E.done;E=x.next()){var m=E.value,g;null!=(g=this.parameters.get(m).stimulsoft.as(O))&&this.parameterEnumerators.add(m,g.getEnumerator())}}catch(t){o={error:t}}finally{try{E&&!E.done&&(s=x.return)&&s.call(x)}finally{if(o)throw o.error}}for(var w=new O,D=0;D<h;D++){try{for(var _=(u=void 0,__values(this.parameterEnumerators.keys)),C=_.next();!C.done;C=_.next())var m=C.value}catch(t){u={error:t}}finally{try{C&&!C.done&&(l=_.return)&&l.call(_)}finally{if(u)throw u.error}}this.parsedExpression.accept(c),w.add(c.result)}return w}return this.parsedExpression.accept(c),c.result},F.Timeout={Infinite:1e5},F._cacheEnabled=!0,F._compiledExpressions=new N,F.rwl=new t,F);function F(){this.parameters=new N}k.Expression=t}(i=e.NCalc||(e.NCalc={}))}(Stimulsoft=Stimulsoft||{}),function(t){var e,n,r,i,a,o,s;function u(){var t=null!==s&&s.apply(this,arguments)||this;return t.hasResult=!1,t.parameters=new o,t}n=e=t.Data||(t.Data={}),i=r=n.Expressions||(n.Expressions={}),n=a=i.NCalc||(i.NCalc={}),o=t.System.Collections.List,i=t.System.EventArgs,__extends(u,s=i),Object.defineProperty(u.prototype,"result",{get:function(){return this._result},set:function(t){this._result=t,this.hasResult=!0},enumerable:!1,configurable:!0}),u.prototype.evaluateParameters=function(){for(var t=o.create(Object,this.parameters.length),e=0;e<t.length;e++)t[e]=this.parameters[e].evaluate();return t},i=u,n.FunctionArgs=i}(Stimulsoft=Stimulsoft||{}),function(xt){var t,e,n,r;e=t=xt.Data||(xt.Data={}),e=n=e.Expressions||(e.Expressions={}),function(t){var s=xt.System.Exception,c=xt.Data.Expressions.NCalc.Domain.Functionn,u=xt.Data.Expressions.NCalc.Domain.UnaryExpressionType,l=xt.Data.Expressions.NCalc.Domain.UnaryExpression,d=xt.Data.Expressions.NCalc.Domain.BinaryExpression,h=xt.Data.Expressions.NCalc.Domain.TernaryExpression,p=xt.Data.Expressions.NCalc.Domain.ValueExpression,f=xt.Data.Expressions.NCalc.Domain.Identifier,y=xt.Data.Expressions.Antlr.Runtime.NoViableAltException,g=xt.Data.Expressions.Antlr.Runtime.MismatchedSetException,e=xt.Data.Expressions.Antlr.Runtime.BitSet,n=xt.Data.Expressions.Antlr.Runtime.Tree.CommonTreeAdaptor,r=xt.Data.Expressions.Antlr.Runtime.Parser,m=xt.System.Collections.List,i=xt.Data.Expressions.Antlr.Runtime.AstParserRuleReturnScope,S=xt.Data.Expressions.NCalc.Domain.BinaryExpressionType,v=xt.System.DateTime,r=(__extends(o,a=r),o.prototype.createTreeAdaptor=function(t){},o.prototype.extractString=function(t){var e=t,n=1,r=-1;while(-1!=(r=e.indexOf(this.bs,n))){var i=e[r+1];switch(i){case"u":var a=e[r+4]+e[r+5],o=e[r+2]+e[r+3];break;case"n":e=e.stimulsoft.insert(r,"\n",2);break;case"r":e=e.stimulsoft.insert(r,"\r",2);break;case"t":e=e.stimulsoft.insert(r,"\t",2);break;case"'":e=e.stimulsoft.insert(r,"'",2);break;case"\\":e=e.stimulsoft.insert(r,"\\",2);break;default:throw new s("Unvalid escape sequence: \\"+i)}n=r+1}return e=(e=e.stimulsoft.remove(0,1)).stimulsoft.remove(e.length-1,1)},o.prototype.displayRecognitionError=function(t,e){a.prototype.displayRecognitionError.call(this,t,e),null==this.errors&&(this.errors=new m);var n=this.getErrorHeader(e),t=this.getErrorMessage(e,t);this.errors.add(t+" at "+n)},o.prototype.onCreated=function(){},o.prototype.enterRule=function(t,e){},o.prototype.leaveRule=function(t,e){},o.prototype.traceIn=function(t,e){},o.prototype.enterRule_ncalcExpression=function(){},o.prototype.leaveRule_ncalcExpression=function(){},o.prototype.ncalcExpression=function(){var e=new b(this),t,n,r,i;e.start=this.input.lt(1);try{try{t=this.adaptor.nil(),this.pushFollow(bt._logicalExpression_in_ncalcExpression52),r=this.logicalExpression(),this.popFollow(),this.adaptor.addChild(t,r.tree),n=this.match(this.input,this.EOF,bt._EOF_in_ncalcExpression54),e.value=null!=r?r.value:{},e.stop=this.input.lt(-1),e.tree=this.adaptor.rulePostProcessing(t),this.adaptor.setTokenBoundaries(e.tree,e.start,e.stop)}catch(t){this.reportError(t),this.recover(this.input,t),e.tree=this.adaptor.errorNode(this.input,e.start,this.input.lt(-1),t)}finally{}}finally{}return e},o.prototype.enterRule_logicalExpression=function(){},o.prototype.leaveRule_logicalExpression=function(){},o.prototype.logicalExpression=function(){var e=new E(this),t,n,r,i,n,r,r,r;e.start=this.input.lt(1);try{try{t=this.adaptor.nil(),this.pushFollow(bt._conditionalExpression_in_logicalExpression74),i=this.conditionalExpression(),this.popFollow(),this.adaptor.addChild(t,i.tree),e.value=null!=i?i.value:{};var a=2,o;try{try{41==this.input.la(1)&&(a=1)}finally{}switch(a){case 1:n=this.match(this.input,41,bt._41_in_logicalExpression80),r=this.adaptor.create(n),this.adaptor.addChild(t,r),this.pushFollow(bt._conditionalExpression_in_logicalExpression84),n=this.conditionalExpression(),this.popFollow(),this.adaptor.addChild(t,n.tree),r=this.match(this.input,31,bt._31_in_logicalExpression86),r=this.adaptor.create(r),this.adaptor.addChild(t,r),this.pushFollow(bt._conditionalExpression_in_logicalExpression90),r=this.conditionalExpression(),this.popFollow(),this.adaptor.addChild(t,r.tree),e.value=new h(null!=i?i.value:{},null!=n?n.value:{},null!=r?r.value:{});break}}finally{}e.stop=this.input.lt(-1),e.tree=this.adaptor.rulePostProcessing(t),this.adaptor.setTokenBoundaries(e.tree,e.start,e.stop)}catch(t){this.reportError(t),this.recover(this.input,t),e.tree=this.adaptor.errorNode(this.input,e.start,this.input.lt(-1),t)}finally{}}finally{}return e},o.prototype.enterRule_conditionalExpression=function(){},o.prototype.leaveRule_conditionalExpression=function(){},o.prototype.conditionalExpression=function(){var e=new _(this),t,n,r,n,i;e.start=this.input.lt(1);var a=S.Unknown;try{try{t=this.adaptor.nil(),this.pushFollow(bt._booleanAndExpression_in_conditionalExpression117),r=this.booleanAndExpression(),this.popFollow(),this.adaptor.addChild(t,r.tree),e.value=null!=r?r.value:{};try{var o=!1;while(!o){var s=2;try{var u=this.input.la(1);45!=u&&47!=u||(s=1)}finally{}switch(s){case 1:var l,n=this.input.lt(1);if(45!=this.input.la(1)&&47!=this.input.la(1))throw new g(null,null,this.input);this.input.consume(),this.adaptor.addChild(t,this.adaptor.create(n)),this.state.errorRecovery=!1,a=S.Or,this.pushFollow(bt._conditionalExpression_in_conditionalExpression142),n=this.conditionalExpression(),this.popFollow(),this.adaptor.addChild(t,n.tree),e.value=new d(a,e.value,null!=n?n.value:{});break;default:o=!0}}}finally{}e.stop=this.input.lt(-1),e.tree=this.adaptor.rulePostProcessing(t),this.adaptor.setTokenBoundaries(e.tree,e.start,e.stop)}catch(t){this.reportError(t),this.recover(this.input,t),e.tree=this.adaptor.errorNode(this.input,e.start,this.input.lt(-1),t)}finally{}}finally{}return e},o.prototype.enterRule_booleanAndExpression=function(){},o.prototype.leaveRule_booleanAndExpression=function(){},o.prototype.booleanAndExpression=function(){var e=new I(this),t,n,r,n,i;e.start=this.input.lt(1);var a=S.Unknown;try{try{t=this.adaptor.nil(),this.pushFollow(bt._bitwiseOrExpression_in_booleanAndExpression176),r=this.bitwiseOrExpression(),this.popFollow(),this.adaptor.addChild(t,r.tree),e.value=null!=r?r.value:{};try{var o=!1;while(!o){var s=2;try{var u=this.input.la(1);22!=u&&43!=u||(s=1)}finally{}switch(s){case 1:var l,n=this.input.lt(1);if(22!=this.input.la(1)&&43!=this.input.la(1))throw new g(null,null,this.input);this.input.consume(),this.adaptor.addChild(t,this.adaptor.create(n)),this.state.errorRecovery=!1,a=S.And,this.pushFollow(bt._bitwiseOrExpression_in_booleanAndExpression201),n=this.bitwiseOrExpression(),this.popFollow(),this.adaptor.addChild(t,n.tree),e.value=new d(a,e.value,null!=n?n.value:{});break;default:o=!0}}}finally{}e.stop=this.input.lt(-1),e.tree=this.adaptor.rulePostProcessing(t),this.adaptor.setTokenBoundaries(e.tree,e.start,e.stop)}catch(t){this.reportError(t),this.recover(this.input,t),e.tree=this.adaptor.errorNode(this.input,e.start,this.input.lt(-1),t)}finally{}}finally{}return e},o.prototype.enterRule_bitwiseOrExpression=function(){},o.prototype.leaveRule_bitwiseOrExpression=function(){},o.prototype.bitwiseOrExpression=function(){var e=new A(this),t,n,r,n,n;e.start=this.input.lt(1);var i=S.Unknown;try{try{t=this.adaptor.nil(),this.pushFollow(bt._bitwiseXOrExpression_in_bitwiseOrExpression233),r=this.bitwiseXOrExpression(),this.popFollow(),this.adaptor.addChild(t,r.tree),e.value=null!=r?r.value:{};try{var a=!1;while(!a){var o=2,s;try{46==this.input.la(1)&&(o=1)}finally{}switch(o){case 1:n=this.match(this.input,46,bt._46_in_bitwiseOrExpression242),n=this.adaptor.create(n),this.adaptor.addChild(t,n),i=S.BitwiseOr,this.pushFollow(bt._bitwiseOrExpression_in_bitwiseOrExpression252),n=this.bitwiseOrExpression(),this.popFollow(),this.adaptor.addChild(t,n.tree),e.value=new d(i,e.value,null!=n?n.value:{});break;default:a=!0}}}finally{}e.stop=this.input.lt(-1),e.tree=this.adaptor.rulePostProcessing(t),this.adaptor.setTokenBoundaries(e.tree,e.start,e.stop)}catch(t){this.reportError(t),this.recover(this.input,t),e.tree=this.adaptor.errorNode(this.input,e.start,this.input.lt(-1),t)}finally{}}finally{}return e},o.prototype.enterRule_bitwiseXOrExpression=function(){},o.prototype.leaveRule_bitwiseXOrExpression=function(){},o.prototype.bitwiseXOrExpression=function(){var e=new R(this),t,n,r,n,n;e.start=this.input.lt(1);var i=S.Unknown;try{try{t=this.adaptor.nil(),this.pushFollow(bt._bitwiseAndExpression_in_bitwiseXOrExpression286),r=this.bitwiseAndExpression(),this.popFollow(),this.adaptor.addChild(t,r.tree),e.value=null!=r?r.value:{};try{var a=!1;while(!a){var o=2,s;try{42==this.input.la(1)&&(o=1)}finally{}switch(o){case 1:n=this.match(this.input,42,bt._42_in_bitwiseXOrExpression295),n=this.adaptor.create(n),this.adaptor.addChild(t,n),i=S.BitwiseXOr,this.pushFollow(bt._bitwiseAndExpression_in_bitwiseXOrExpression305),n=this.bitwiseAndExpression(),this.popFollow(),this.adaptor.addChild(t,n.tree),e.value=new d(i,e.value,null!=n?n.value:{});break;default:a=!0}}}finally{}e.stop=this.input.lt(-1),e.tree=this.adaptor.rulePostProcessing(t),this.adaptor.setTokenBoundaries(e.tree,e.start,e.stop)}catch(t){this.reportError(t),this.recover(this.input,t),e.tree=this.adaptor.errorNode(this.input,e.start,this.input.lt(-1),t)}finally{}}finally{}return e},o.prototype.enterRule_bitwiseAndExpression=function(){},o.prototype.leaveRule_bitwiseAndExpression=function(){},o.prototype.bitwiseAndExpression=function(){var e=new M(this),t,n,r,n,n;e.start=this.input.lt(1);var i=S.Unknown;try{try{t=this.adaptor.nil(),this.pushFollow(bt._equalityExpression_in_bitwiseAndExpression337),r=this.equalityExpression(),this.popFollow(),this.adaptor.addChild(t,r.tree),e.value=null!=r?r.value:{};try{var a=!1;while(!a){var o=2,s;try{23==this.input.la(1)&&(o=1)}finally{}switch(o){case 1:n=this.match(this.input,23,bt._23_in_bitwiseAndExpression346),n=this.adaptor.create(n),this.adaptor.addChild(t,n),i=S.BitwiseAnd,this.pushFollow(bt._equalityExpression_in_bitwiseAndExpression356),n=this.equalityExpression(),this.popFollow(),this.adaptor.addChild(t,n.tree),e.value=new d(i,e.value,null!=n?n.value:{});break;default:a=!0}}}finally{}e.stop=this.input.lt(-1),e.tree=this.adaptor.rulePostProcessing(t),this.adaptor.setTokenBoundaries(e.tree,e.start,e.stop)}catch(t){this.reportError(t),this.recover(this.input,t),e.tree=this.adaptor.errorNode(this.input,e.start,this.input.lt(-1),t)}finally{}}finally{}return e},o.prototype.enterRule_equalityExpression=function(){},o.prototype.leaveRule_equalityExpression=function(){},o.prototype.equalityExpression=function(){var e=new V(this),t,n,n,r,i,a,o;e.start=this.input.lt(1);var s=S.Unknown;try{try{t=this.adaptor.nil(),this.pushFollow(bt._relationalExpression_in_equalityExpression390),r=this.relationalExpression(),this.popFollow(),this.adaptor.addChild(t,r.tree),e.value=null!=r?r.value:{};try{var u=!1;while(!u){var l=2;try{var c=this.input.la(1);(20==c||35<=c&&c<=37)&&(l=1)}finally{}switch(l){case 1:var h=2;try{try{var p=this.input.la(1),f;if(36<=p&&p<=37)h=1;else{if(20!=p&&35!=p)throw new y("",null,7,0,this.input,1);h=2}}finally{}switch(h){case 1:var m,n=this.input.lt(1);if(!(36<=this.input.la(1)&&this.input.la(1)<=37))throw m=new g(null,null,this.input);this.input.consume(),this.adaptor.addChild(t,this.adaptor.create(n)),this.state.errorRecovery=!1,s=S.Equal;break;case 2:var m,n=this.input.lt(1);if(20!=this.input.la(1)&&35!=this.input.la(1))throw m=new g(null,null,this.input);this.input.consume(),this.adaptor.addChild(t,this.adaptor.create(n)),this.state.errorRecovery=!1,s=S.NotEqual;break}}finally{}this.pushFollow(bt._relationalExpression_in_equalityExpression437),i=this.relationalExpression(),this.popFollow(),this.adaptor.addChild(t,i.tree),e.value=new d(s,e.value,null!=i?i.value:{});break;default:u=!0}}}finally{}e.stop=this.input.lt(-1),e.tree=this.adaptor.rulePostProcessing(t),this.adaptor.setTokenBoundaries(e.tree,e.start,e.stop)}catch(t){this.reportError(t),this.recover(this.input,t),e.tree=this.adaptor.errorNode(this.input,e.start,this.input.lt(-1),t)}finally{}}finally{}return e},o.prototype.enterRule_relationalExpression=function(){},o.prototype.leaveRule_relationalExpression=function(){},o.prototype.relationalExpression=function(){var e=new H(this),t,n,n,r,r,i,a,n,n,r,r;e.start=this.input.lt(1);var o=S.Unknown;try{try{t=this.adaptor.nil(),this.pushFollow(bt._shiftExpression_in_relationalExpression470),i=this.shiftExpression(),this.popFollow(),this.adaptor.addChild(t,i.tree),e.value=null!=i?i.value:{};try{var s=!1;while(!s){var u=2;try{var l=this.input.la(1);(32==l||34==l||38<=l&&l<=39)&&(u=1)}finally{}switch(u){case 1:var c=4,h;try{try{switch(this.input.la(1)){case 32:c=1;break;case 34:c=2;break;case 38:c=3;break;case 39:c=4;break;default:throw new y("",null,9,0,this.input,1)}}finally{}switch(c){case 1:n=this.match(this.input,32,bt._32_in_relationalExpression481),n=this.adaptor.create(n),this.adaptor.addChild(t,n),o=S.Lesser;break;case 2:n=this.match(this.input,34,bt._34_in_relationalExpression491),n=this.adaptor.create(n),this.adaptor.addChild(t,n),o=S.LesserOrEqual;break;case 3:r=this.match(this.input,38,bt._38_in_relationalExpression502),r=this.adaptor.create(r),this.adaptor.addChild(t,r),o=S.Greater;break;case 4:r=this.match(this.input,39,bt._39_in_relationalExpression512),r=this.adaptor.create(r),this.adaptor.addChild(t,r),o=S.GreaterOrEqual;break}}finally{}this.pushFollow(bt._shiftExpression_in_relationalExpression524),a=this.shiftExpression(),this.popFollow(),this.adaptor.addChild(t,a.tree),e.value=new d(o,e.value,null!=a?a.value:{});break;default:s=!0}}}finally{}e.stop=this.input.lt(-1),e.tree=this.adaptor.rulePostProcessing(t),this.adaptor.setTokenBoundaries(e.tree,e.start,e.stop)}catch(t){this.reportError(t),this.recover(this.input,t),e.tree=this.adaptor.errorNode(this.input,e.start,this.input.lt(-1),t)}finally{}}finally{}return e},o.prototype.enterRule_shiftExpression=function(){},o.prototype.leaveRule_shiftExpression=function(){},o.prototype.shiftExpression=function(){var e=new K(this),t,n,n,r,i,n,n;e.start=this.input.lt(1);var a=S.Unknown;try{try{t=this.adaptor.nil(),this.pushFollow(bt._additiveExpression_in_shiftExpression556),r=this.additiveExpression(),this.popFollow(),this.adaptor.addChild(t,r.tree),e.value=null!=r?r.value:{};try{var o=!1;while(!o){var s=2;try{var u=this.input.la(1);33!=u&&40!=u||(s=1)}finally{}switch(s){case 1:var l=2;try{try{var c=this.input.la(1),h;if(33==c)l=1;else{if(40!=c)throw new y("",null,11,0,this.input,1);l=2}}finally{}switch(l){case 1:n=this.match(this.input,33,bt._33_in_shiftExpression567),n=this.adaptor.create(n),this.adaptor.addChild(t,n),a=S.LeftShift;break;case 2:n=this.match(this.input,40,bt._40_in_shiftExpression577),n=this.adaptor.create(n),this.adaptor.addChild(t,n),a=S.RightShift;break}}finally{}this.pushFollow(bt._additiveExpression_in_shiftExpression589),i=this.additiveExpression(),this.popFollow(),this.adaptor.addChild(t,i.tree),e.value=new d(a,e.value,null!=i?i.value:{});break;default:o=!0}}}finally{}e.stop=this.input.lt(-1),e.tree=this.adaptor.rulePostProcessing(t),this.adaptor.setTokenBoundaries(e.tree,e.start,e.stop)}catch(t){this.reportError(t),this.recover(this.input,t),e.tree=this.adaptor.errorNode(this.input,e.start,this.input.lt(-1),t)}finally{}}finally{}return e},o.prototype.enterRule_additiveExpression=function(){},o.prototype.leaveRule_additiveExpression=function(){},o.prototype.additiveExpression=function(){var e=new X(this),t,n,n,r,i,n,n;e.start=this.input.lt(1);var a=S.Unknown;try{try{t=this.adaptor.nil(),this.pushFollow(bt._multiplicativeExpression_in_additiveExpression621),r=this.multiplicativeExpression(),this.popFollow(),this.adaptor.addChild(t,r.tree),e.value=null!=r?r.value:{};try{var o=!1;while(!o){var s=2;try{var u=this.input.la(1);27!=u&&29!=u||(s=1)}finally{}switch(s){case 1:var l=2;try{try{var c=this.input.la(1),h;if(27==c)l=1;else{if(29!=c)throw new y("",null,13,0,this.input,1);l=2}}finally{}switch(l){case 1:n=this.match(this.input,27,bt._27_in_additiveExpression632),n=this.adaptor.create(n),this.adaptor.addChild(t,n),a=S.Plus;break;case 2:n=this.match(this.input,29,bt._29_in_additiveExpression642),n=this.adaptor.create(n),this.adaptor.addChild(t,n),a=S.Minus;break}}finally{}this.pushFollow(bt._multiplicativeExpression_in_additiveExpression654),i=this.multiplicativeExpression(),this.popFollow(),this.adaptor.addChild(t,i.tree),e.value=new d(a,e.value,null!=i?i.value:{});break;default:o=!0}}}finally{}e.stop=this.input.lt(-1),e.tree=this.adaptor.rulePostProcessing(t),this.adaptor.setTokenBoundaries(e.tree,e.start,e.stop)}catch(t){this.reportError(t),this.recover(this.input,t),e.tree=this.adaptor.errorNode(this.input,e.start,this.input.lt(-1),t)}finally{}}finally{}return e},o.prototype.enterRule_multiplicativeExpression=function(){},o.prototype.leaveRule_multiplicativeExpression=function(){},o.prototype.multiplicativeExpression=function(){var e=new $(this),t,n,r,r,i,a,n,r,r;e.start=this.input.lt(1);var o=S.Unknown;try{try{t=this.adaptor.nil(),this.pushFollow(bt._unaryExpression_in_multiplicativeExpression686),i=this.unaryExpression(),this.popFollow(),this.adaptor.addChild(t,i.tree),e.value=null!=i?i.value:{};try{var s=!1;while(!s){var u=2;try{var l=this.input.la(1);21!=l&&26!=l&&30!=l||(u=1)}finally{}switch(u){case 1:var c=3,h;try{try{switch(this.input.la(1)){case 26:c=1;break;case 30:c=2;break;case 21:c=3;break;default:throw new y("",null,15,0,this.input,1)}}finally{}switch(c){case 1:n=this.match(this.input,26,bt._26_in_multiplicativeExpression697),n=this.adaptor.create(n),this.adaptor.addChild(t,n),o=S.Times;break;case 2:r=this.match(this.input,30,bt._30_in_multiplicativeExpression707),r=this.adaptor.create(r),this.adaptor.addChild(t,r),o=S.Div;break;case 3:r=this.match(this.input,21,bt._21_in_multiplicativeExpression717),r=this.adaptor.create(r),this.adaptor.addChild(t,r),o=S.Modulo;break}}finally{}this.pushFollow(bt._unaryExpression_in_multiplicativeExpression729),a=this.unaryExpression(),this.popFollow(),this.adaptor.addChild(t,a.tree),e.value=new d(o,e.value,null!=a?a.value:{});break;default:s=!0}}}finally{}e.stop=this.input.lt(-1),e.tree=this.adaptor.rulePostProcessing(t),this.adaptor.setTokenBoundaries(e.tree,e.start,e.stop)}catch(t){this.reportError(t),this.recover(this.input,t),e.tree=this.adaptor.errorNode(this.input,e.start,this.input.lt(-1),t)}finally{}}finally{}return e},o.prototype.enterRule_unaryExpression=function(){},o.prototype.leaveRule_unaryExpression=function(){},o.prototype.unaryExpression=function(){var e=new nt(this),t,n,r,r,n,n,r,r,i,r,r;e.start=this.input.lt(1);try{try{var a=4,o;try{switch(this.input.la(1)){case this.DATETIME:case this.FALSE:case this.FLOAT:case this.ID:case this.INTEGER:case this.NAME:case this.STRING:case this.TRUE:case 24:a=1;break;case 19:case 44:a=2;break;case 48:a=3;break;case 29:a=4;break;default:throw new y("",null,17,0,this.input,1)}}finally{}switch(a){case 1:t=this.adaptor.nil(),this.pushFollow(bt._primaryExpression_in_unaryExpression756),n=this.primaryExpression(),this.popFollow(),this.adaptor.addChild(t,n.tree),e.value=null!=n?n.value:{};break;case 2:var s,t=this.adaptor.nil(),n=this.input.lt(1);if(19!=this.input.la(1)&&44!=this.input.la(1))throw new g(null,null,this.input);this.input.consume(),this.adaptor.addChild(t,this.adaptor.create(n)),this.state.errorRecovery=!1,this.pushFollow(bt._primaryExpression_in_unaryExpression775),n=this.primaryExpression(),this.popFollow(),this.adaptor.addChild(t,n.tree),e.value=new l(u.Not,null!=n?n.value:{});break;case 3:t=this.adaptor.nil(),r=this.match(this.input,48,bt._48_in_unaryExpression787),r=this.adaptor.create(r),this.adaptor.addChild(t,r),this.pushFollow(bt._primaryExpression_in_unaryExpression790),r=this.primaryExpression(),this.popFollow(),this.adaptor.addChild(t,r.tree),e.value=new l(u.BitwiseNot,null!=r?r.value:{});break;case 4:t=this.adaptor.nil(),r=this.match(this.input,29,bt._29_in_unaryExpression801),r=this.adaptor.create(r),this.adaptor.addChild(t,r),this.pushFollow(bt._primaryExpression_in_unaryExpression803),r=this.primaryExpression(),this.popFollow(),this.adaptor.addChild(t,r.tree),e.value=new l(u.Negate,null!=r?r.value:{});break}e.stop=this.input.lt(-1),e.tree=this.adaptor.rulePostProcessing(t),this.adaptor.setTokenBoundaries(e.tree,e.start,e.stop)}catch(t){this.reportError(t),this.recover(this.input,t),e.tree=this.adaptor.errorNode(this.input,e.start,this.input.lt(-1),t)}finally{}}finally{}return e},o.prototype.enterRule_primaryExpression=function(){},o.prototype.leaveRule_primaryExpression=function(){},o.prototype.primaryExpression=function(){var e=new at(this),t,n,r,n,n,i,a,r,r;e.start=this.input.lt(1);try{try{var o=3,s;try{switch(this.input.la(1)){case 24:o=1;break;case this.DATETIME:case this.FALSE:case this.FLOAT:case this.INTEGER:case this.STRING:case this.TRUE:o=2;break;case this.ID:case this.NAME:o=3;break;default:throw new y("",null,19,0,this.input,1)}}finally{}switch(o){case 1:t=this.adaptor.nil(),n=this.match(this.input,24,bt._24_in_primaryExpression825),r=this.adaptor.create(n),this.adaptor.addChild(t,r),this.pushFollow(bt._logicalExpression_in_primaryExpression827),n=this.logicalExpression(),this.popFollow(),this.adaptor.addChild(t,n.tree),r=this.match(this.input,25,bt._25_in_primaryExpression829),r=this.adaptor.create(r),this.adaptor.addChild(t,r),e.value=null!=n?n.value:{};break;case 2:t=this.adaptor.nil(),this.pushFollow(bt._value_in_primaryExpression839),n=this.value(),this.popFollow(),this.adaptor.addChild(t,n.tree),e.value=null!=n?n.value:{};break;case 3:t=this.adaptor.nil(),this.pushFollow(bt._identifier_in_primaryExpression847),i=this.identifier(),this.popFollow(),this.adaptor.addChild(t,i.tree),e.value=null!=i?i.value:{};var u=2,l;try{try{24==this.input.la(1)&&(u=1)}finally{}switch(u){case 1:this.pushFollow(bt._arguments_in_primaryExpression852),a=this.arguments(),this.popFollow(),this.adaptor.addChild(t,a.tree),e.value=new c(null!=i?i.value:{},(null!=a?a.value:{}).stimulsoft.toArray());break}}finally{}break}e.stop=this.input.lt(-1),e.tree=this.adaptor.rulePostProcessing(t),this.adaptor.setTokenBoundaries(e.tree,e.start,e.stop)}catch(t){this.reportError(t),this.recover(this.input,t),e.tree=this.adaptor.errorNode(this.input,e.start,this.input.lt(-1),t)}finally{}}finally{}return e},o.prototype.enterRule_value=function(){},o.prototype.leaveRule_value=function(){},o.prototype.value=function(){var e=new ut(this),t,n,r,i,a,o,o,s,s,a,i,o,o;e.start=this.input.lt(1);try{try{var u=6,l;try{switch(this.input.la(1)){case this.INTEGER:u=1;break;case this.FLOAT:u=2;break;case this.STRING:u=3;break;case this.DATETIME:u=4;break;case this.TRUE:u=5;break;case this.FALSE:u=6;break;default:throw new y("",null,20,0,this.input,1)}}finally{}switch(u){case 1:t=this.adaptor.nil(),n=this.match(this.input,this.INTEGER,bt._INTEGER_in_value872),s=this.adaptor.create(n),this.adaptor.addChild(t,s);try{e.value=new p(null!=n?n.text.stimulsoft.toNumber():0)}catch(t){}break;case 2:t=this.adaptor.nil(),r=this.match(this.input,this.FLOAT,bt._FLOAT_in_value880),s=this.adaptor.create(r),this.adaptor.addChild(t,s),e.value=new p(null!=r?r.text.stimulsoft.toNumber():0);break;case 3:t=this.adaptor.nil(),i=this.match(this.input,this.STRING,bt._STRING_in_value888),a=this.adaptor.create(i),this.adaptor.addChild(t,a),e.value=new p(this.extractString(null!=i?i.text:{}));break;case 4:t=this.adaptor.nil(),a=this.match(this.input,this.DATETIME,bt._DATETIME_in_value897),i=this.adaptor.create(a),this.adaptor.addChild(t,i),e.value=new p(v.fromString((null!=a?a.text:{}).substring(1,(null!=a?a.text:{}).length-2)));break;case 5:t=this.adaptor.nil(),o=this.match(this.input,this.TRUE,bt._TRUE_in_value904),o=this.adaptor.create(o),this.adaptor.addChild(t,o),e.value=new p(!0);break;case 6:t=this.adaptor.nil(),o=this.match(this.input,this.FALSE,bt._FALSE_in_value912),o=this.adaptor.create(o),this.adaptor.addChild(t,o),e.value=new p(!1);break}e.stop=this.input.lt(-1),e.tree=this.adaptor.rulePostProcessing(t),this.adaptor.setTokenBoundaries(e.tree,e.start,e.stop)}catch(t){this.reportError(t),this.recover(this.input,t),e.tree=this.adaptor.errorNode(this.input,e.start,this.input.lt(-1),t)}finally{}}finally{}return e},o.prototype.enterRule_identifier=function(){},o.prototype.leaveRule_identifier=function(){},o.prototype.identifier=function(){var e=new ht(this),t,n,r,r,n;e.start=this.input.lt(1);try{try{var i=2;try{var a=this.input.la(1),o;if(a==this.ID)i=1;else{if(a!=this.NAME)throw new y("",null,21,0,this.input,1);i=2}}finally{}switch(i){case 1:t=this.adaptor.nil(),n=this.match(this.input,this.ID,bt._ID_in_identifier930),r=this.adaptor.create(n),this.adaptor.addChild(t,r),e.value=new f(null!=n?n.text:{});break;case 2:t=this.adaptor.nil(),r=this.match(this.input,this.NAME,bt._NAME_in_identifier938),n=this.adaptor.create(r),this.adaptor.addChild(t,n),e.value=new f((null!=r?r.text:{}).substr(1,(null!=r?r.text:{}).length-2));break}e.stop=this.input.lt(-1),e.tree=this.adaptor.rulePostProcessing(t),this.adaptor.setTokenBoundaries(e.tree,e.start,e.stop)}catch(t){this.reportError(t),this.recover(this.input,t),e.tree=this.adaptor.errorNode(this.input,e.start,this.input.lt(-1),t)}finally{}}finally{}return e},o.prototype.enterRule_expressionList=function(){},o.prototype.leaveRule_expressionList=function(){},o.prototype.expressionList=function(){var e=new mt(this),t,n,r,n,n;e.start=this.input.lt(1);var i=new m;try{try{t=this.adaptor.nil(),this.pushFollow(bt._logicalExpression_in_expressionList962),r=this.logicalExpression(),this.popFollow(),this.adaptor.addChild(t,r.tree),i.add(null!=r?r.value:{});try{var a=!1;while(!a){var o=2,s;try{28==this.input.la(1)&&(o=1)}finally{}switch(o){case 1:n=this.match(this.input,28,bt._28_in_expressionList969),n=this.adaptor.create(n),this.adaptor.addChild(t,n),this.pushFollow(bt._logicalExpression_in_expressionList973),n=this.logicalExpression(),this.popFollow(),this.adaptor.addChild(t,n.tree),i.add(null!=n?n.value:{});break;default:a=!0}}}finally{}e.value=i,e.stop=this.input.lt(-1),e.tree=this.adaptor.rulePostProcessing(t),this.adaptor.setTokenBoundaries(e.tree,e.start,e.stop)}catch(t){this.reportError(t),this.recover(this.input,t),e.tree=this.adaptor.errorNode(this.input,e.start,this.input.lt(-1),t)}finally{}}finally{}return e},o.prototype.enterRule_arguments=function(){},o.prototype.leaveRule_arguments=function(){},o.prototype.arguments=function(){var e=new gt(this),t,n,n,r,n,n;e.start=this.input.lt(1),e.value=new m;try{try{t=this.adaptor.nil(),n=this.match(this.input,24,bt._24_in_arguments1002),n=this.adaptor.create(n),this.adaptor.addChild(t,n);var i=2;try{try{var a=this.input.la(1);(a==this.DATETIME||a>=this.FALSE&&a<=this.FLOAT||a>=this.ID&&a<=this.INTEGER||a>=this.NAME&&a<=this.TRUE||19==a||24==a||29==a||44==a||48==a)&&(i=1)}finally{}switch(i){case 1:this.pushFollow(bt._expressionList_in_arguments1006),r=this.expressionList(),this.popFollow(),this.adaptor.addChild(t,r.tree),e.value=null!=r?r.value:{};break}}finally{}n=this.match(this.input,25,bt._25_in_arguments1013),n=this.adaptor.create(n),this.adaptor.addChild(t,n),e.stop=this.input.lt(-1),e.tree=this.adaptor.rulePostProcessing(t),this.adaptor.setTokenBoundaries(e.tree,e.start,e.stop)}catch(t){this.reportError(t),this.recover(this.input,t),e.tree=this.adaptor.errorNode(this.input,e.start,this.input.lt(-1),t)}finally{}}finally{}return e},o),a;function o(t,e){var t=a.call(this,t,e)||this;t.tokenNames=["<invalid>","<EOR>","<DOWN>","<UP>","DATETIME","DIGIT","E","EscapeSequence","FALSE","FLOAT","HexDigit","ID","INTEGER","LETTER","NAME","STRING","TRUE","UnicodeEscape","WS","'!'","'!='","'%'","'&&'","'&'","'('","')'","'*'","'+'","','","'-'","'/'","':'","'<'","'<<'","'<='","'<>'","'='","'=='","'>'","'>='","'>>'","'?'","'^'","'and'","'not'","'or'","'|'","'||'","'~'"],t.EOF=-1,t.DATETIME=4,t.DIGIT=5,t.E=6,t.EscapeSequence=7,t.FALSE=8,t.FLOAT=9,t.HexDigit=10,t.ID=11,t.INTEGER=12,t.LETTER=13,t.NAME=14,t.STRING=15,t.TRUE=16,t.UnicodeEscape=17,t.WS=18,t.T__19=19,t.T__20=20,t.T__21=21,t.T__22=22,t.T__23=23,t.T__24=24,t.T__25=25,t.T__26=26,t.T__27=27,t.T__28=28,t.T__29=29,t.T__30=30,t.T__31=31,t.T__32=32,t.T__33=33,t.T__34=34,t.T__35=35,t.T__36=36,t.T__37=37,t.T__38=38,t.T__39=39,t.T__40=40,t.T__41=41,t.T__42=42,t.T__43=43,t.T__44=44,t.T__45=45,t.T__46=46,t.T__47=47,t.T__48=48,t.grammarFileName="C:\\Work\\Projects\\OSS\\NCalc\\Grammar\\NCalc.g",t.bs="\\";var e={ref:null};return t.createTreeAdaptor(e),t.adaptor=null!=e.ref?e.ref:new n,t.onCreated(),t}t.NCalcParser=r;var b=(__extends(x,T=i),x.prototype.onCreated=function(t){},x),T;function x(t){var e=T.call(this)||this;return e.onCreated(t),e}var E=(__extends(D,w=i),D.prototype.onCreated=function(t){},D),w;function D(t){var e=w.call(this)||this;return e.onCreated(t),e}var _=(__extends(k,C=i),k.prototype.onCreated=function(t){},k),C;function k(t){var e=C.call(this)||this;return e.onCreated(t),e}var I=(__extends(O,N=i),O.prototype.onCreated=function(t){},O),N;function O(t){var e=N.call(this)||this;return e.onCreated(t),e}var A=(__extends(L,F=i),L.prototype.onCreated=function(t){},L),F;function L(t){var e=F.call(this)||this;return e.onCreated(t),e}var R=(__extends(P,B=i),P.prototype.onCreated=function(t){},P),B;function P(t){var e=B.call(this)||this;return e.onCreated(t),e}var M=(__extends(U,j=i),U.prototype.onCreated=function(t){},U),j;function U(t){var e=j.call(this)||this;return e.onCreated(t),e}var V=(__extends(W,q=i),W.prototype.onCreated=function(t){},W),q;function W(t){var e=q.call(this)||this;return e.onCreated(t),e}var H=(__extends(G,z=i),G.prototype.onCreated=function(t){},G),z;function G(t){var e=z.call(this)||this;return e.onCreated(t),e}var K=(__extends(Q,J=i),Q.prototype.onCreated=function(t){},Q),J;function Q(t){var e=J.call(this)||this;return e.onCreated(t),e}var X=(__extends(Z,Y=i),Z.prototype.onCreated=function(t){},Z),Y;function Z(t){var e=Y.call(this)||this;return e.onCreated(t),e}var $=(__extends(et,tt=i),et.prototype.onCreated=function(t){},et),tt;function et(t){var e=tt.call(this)||this;return e.onCreated(t),e}var nt=(__extends(it,rt=i),it.prototype.onCreated=function(t){},it),rt;function it(t){var e=rt.call(this)||this;return e.onCreated(t),e}var at=(__extends(st,ot=i),st.prototype.onCreated=function(t){},st),ot;function st(t){var e=ot.call(this)||this;return e.onCreated(t),e}var ut=(__extends(ct,lt=i),ct.prototype.onCreated=function(t){},ct),lt;function ct(t){var e=lt.call(this)||this;return e.onCreated(t),e}var ht=(__extends(ft,pt=i),ft.prototype.onCreated=function(t){},ft),pt;function ft(t){var e=pt.call(this)||this;return e.onCreated(t),e}var mt=(__extends(yt,dt=i),yt.prototype.onCreated=function(t){},yt),dt;function yt(t){var e=dt.call(this)||this;return e.onCreated(t),e}var gt=(__extends(vt,St=i),vt.prototype.onCreated=function(t){},vt),St;function vt(t){var e=St.call(this)||this;return e.onCreated(t),e}var bt=(Tt._logicalExpression_in_ncalcExpression52=e.create([0]),Tt._EOF_in_ncalcExpression54=e.create([2]),Tt._conditionalExpression_in_logicalExpression74=e.create([2199023255554]),Tt._41_in_logicalExpression80=e.create([299067717049104]),Tt._conditionalExpression_in_logicalExpression84=e.create([2147483648]),Tt._31_in_logicalExpression86=e.create([299067717049104]),Tt._conditionalExpression_in_logicalExpression90=e.create([2]),Tt._booleanAndExpression_in_conditionalExpression117=e.create([0xa00000000002]),Tt._set_in_conditionalExpression126=e.create([299067717049104]),Tt._conditionalExpression_in_conditionalExpression142=e.create([0xa00000000002]),Tt._bitwiseOrExpression_in_booleanAndExpression176=e.create([8796097216514]),Tt._set_in_booleanAndExpression185=e.create([299067717049104]),Tt._bitwiseOrExpression_in_booleanAndExpression201=e.create([8796097216514]),Tt._bitwiseXOrExpression_in_bitwiseOrExpression233=e.create([70368744177666]),Tt._46_in_bitwiseOrExpression242=e.create([299067717049104]),Tt._bitwiseOrExpression_in_bitwiseOrExpression252=e.create([70368744177666]),Tt._bitwiseAndExpression_in_bitwiseXOrExpression286=e.create([4398046511106]),Tt._42_in_bitwiseXOrExpression295=e.create([299067717049104]),Tt._bitwiseAndExpression_in_bitwiseXOrExpression305=e.create([4398046511106]),Tt._equalityExpression_in_bitwiseAndExpression337=e.create([8388610]),Tt._23_in_bitwiseAndExpression346=e.create([299067717049104]),Tt._equalityExpression_in_bitwiseAndExpression356=e.create([8388610]),Tt._relationalExpression_in_equalityExpression390=e.create([240519217154]),Tt._set_in_equalityExpression401=e.create([299067717049104]),Tt._set_in_equalityExpression418=e.create([299067717049104]),Tt._relationalExpression_in_equalityExpression437=e.create([240519217154]),Tt._shiftExpression_in_relationalExpression470=e.create([846108557314]),Tt._32_in_relationalExpression481=e.create([299067717049104]),Tt._34_in_relationalExpression491=e.create([299067717049104]),Tt._38_in_relationalExpression502=e.create([299067717049104]),Tt._39_in_relationalExpression512=e.create([299067717049104]),Tt._shiftExpression_in_relationalExpression524=e.create([846108557314]),Tt._additiveExpression_in_shiftExpression556=e.create([1108101562370]),Tt._33_in_shiftExpression567=e.create([299067717049104]),Tt._40_in_shiftExpression577=e.create([299067717049104]),Tt._additiveExpression_in_shiftExpression589=e.create([1108101562370]),Tt._multiplicativeExpression_in_additiveExpression621=e.create([671088642]),Tt._27_in_additiveExpression632=e.create([299067717049104]),Tt._29_in_additiveExpression642=e.create([299067717049104]),Tt._multiplicativeExpression_in_additiveExpression654=e.create([671088642]),Tt._unaryExpression_in_multiplicativeExpression686=e.create([1142947842]),Tt._26_in_multiplicativeExpression697=e.create([299067717049104]),Tt._30_in_multiplicativeExpression707=e.create([299067717049104]),Tt._21_in_multiplicativeExpression717=e.create([299067717049104]),Tt._unaryExpression_in_multiplicativeExpression729=e.create([1142947842]),Tt._primaryExpression_in_unaryExpression756=e.create([2]),Tt._set_in_unaryExpression767=e.create([16898832]),Tt._primaryExpression_in_unaryExpression775=e.create([2]),Tt._48_in_unaryExpression787=e.create([16898832]),Tt._primaryExpression_in_unaryExpression790=e.create([2]),Tt._29_in_unaryExpression801=e.create([16898832]),Tt._primaryExpression_in_unaryExpression803=e.create([2]),Tt._24_in_primaryExpression825=e.create([299067717049104]),Tt._logicalExpression_in_primaryExpression827=e.create([33554432]),Tt._25_in_primaryExpression829=e.create([2]),Tt._value_in_primaryExpression839=e.create([2]),Tt._identifier_in_primaryExpression847=e.create([16777218]),Tt._arguments_in_primaryExpression852=e.create([2]),Tt._INTEGER_in_value872=e.create([2]),Tt._FLOAT_in_value880=e.create([2]),Tt._STRING_in_value888=e.create([2]),Tt._DATETIME_in_value897=e.create([2]),Tt._TRUE_in_value904=e.create([2]),Tt._FALSE_in_value912=e.create([2]),Tt._ID_in_identifier930=e.create([2]),Tt._NAME_in_identifier938=e.create([2]),Tt._logicalExpression_in_expressionList962=e.create([268435458]),Tt._28_in_expressionList969=e.create([299067717049104]),Tt._logicalExpression_in_expressionList973=e.create([268435458]),Tt._24_in_arguments1002=e.create([299067750603536]),Tt._expressionList_in_arguments1006=e.create([33554432]),Tt._25_in_arguments1013=e.create([2]),Tt);function Tt(){}}(r=e.NCalc||(e.NCalc={}))}(Stimulsoft=Stimulsoft||{}),function(t){var e,n,r,i,a,o,s,u,l,c,h,p;function f(){}n=e=t.Data||(t.Data={}),i=r=n.Expressions||(n.Expressions={}),n=a=i.NCalc||(i.NCalc={}),o=t.System.StiNumber,s=t.System.Exception,u=t.System.Collections.List,l=t.System.Convert,c=t.System.TypeCode,h=t.System.Type,p=t.Base.Helpers.StiValueHelper,f.convertIfString=function(t){if("string"==typeof t){var e=o.tryParse(t);if(e.successfully)return e.result}return t},f.add=function(t,e){if(t=this.convertIfString(t),e=this.convertIfString(e),null!=t&&t.stimulsoft.is(u)||null!=e&&e.stimulsoft.is(u))return u.add2(t,e);var n=h.getTypeCode(t),r=h.getTypeCode(e);switch(n){case c.Boolean:switch(r){case c.Boolean:throw new s("Operator '+' can't be applied to operands of types 'bool' and 'bool'");case c.Byte:throw new s("Operator '+' can't be applied to operands of types 'bool' and 'byte'");case c.SByte:throw new s("Operator '+' can't be applied to operands of types 'bool' and 'byte'");case c.Int16:throw new s("Operator '+' can't be applied to operands of types 'bool' and 'byte'");case c.UInt16:throw new s("Operator '+' can't be applied to operands of types 'bool' and 'byte'");case c.Int32:throw new s("Operator '+' can't be applied to operands of types 'bool' and 'byte'");case c.UInt32:throw new s("Operator '+' can't be applied to operands of types 'bool' and 'byte'");case c.Int64:throw new s("Operator '+' can't be applied to operands of types 'bool' and 'byte'");case c.UInt64:throw new s("Operator '+' can't be applied to operands of types 'bool' and 'byte'");case c.Single:throw new s("Operator '+' can't be applied to operands of types 'bool' and 'byte'");case c.Double:throw new s("Operator '+' can't be applied to operands of types 'bool' and 'byte'");case c.Decimal:throw new s("Operator '+' can't be applied to operands of types 'bool' and 'byte'")}break;case c.Byte:switch(r){case c.Boolean:throw new s("Operator '+' can't be applied to operands of types 'byte' and 'bool'");case c.Byte:return t+e;case c.SByte:return t+e;case c.Int16:return t+e;case c.UInt16:return t+e;case c.Int32:return t+e;case c.UInt32:return t+e;case c.Int64:return t+e;case c.UInt64:return t+e;case c.Single:return t+e;case c.Double:return t+e;case c.Decimal:return t+e}break;case c.SByte:switch(r){case c.Boolean:throw new s("Operator '+' can't be applied to operands of types 'sbyte' and 'bool'");case c.Byte:return t+e;case c.SByte:return t+e;case c.Int16:return t+e;case c.UInt16:return t+e;case c.Int32:return t+e;case c.UInt32:return t+e;case c.Int64:return t+e;case c.UInt64:return t+p.tryToNumber(e);case c.Single:return t+e;case c.Double:return t+e;case c.Decimal:return t+e}break;case c.Int16:switch(r){case c.Boolean:throw new s("Operator '+' can't be applied to operands of types 'short' and 'bool'");case c.Byte:return t+e;case c.SByte:return t+e;case c.Int16:return t+e;case c.UInt16:return t+e;case c.Int32:return t+e;case c.UInt32:return t+e;case c.Int64:return t+e;case c.UInt64:return t+p.tryToNumber(e);case c.Single:return t+e;case c.Double:return t+e;case c.Decimal:return t+e}break;case c.UInt16:switch(r){case c.Boolean:throw new s("Operator '+' can't be applied to operands of types 'ushort' and 'bool'");case c.Byte:return t+e;case c.SByte:return t+e;case c.Int16:return t+e;case c.UInt16:return t+e;case c.Int32:return t+e;case c.UInt32:return t+e;case c.Int64:return t+e;case c.UInt64:return t+e;case c.Single:return t+e;case c.Double:return t+e;case c.Decimal:return t+e}break;case c.Int32:switch(r){case c.Boolean:throw new s("Operator '+' can't be applied to operands of types 'int' and 'bool'");case c.Byte:return t+e;case c.SByte:return t+e;case c.Int16:return t+e;case c.UInt16:return t+e;case c.Int32:return t+e;case c.UInt32:return t+e;case c.Int64:return t+e;case c.UInt64:return t+p.tryToNumber(e);case c.Single:return t+e;case c.Double:return t+e;case c.Decimal:return t+e}break;case c.UInt32:switch(r){case c.Boolean:throw new s("Operator '+' can't be applied to operands of types 'unit' and 'bool'");case c.Byte:return t+e;case c.SByte:return t+e;case c.Int16:return t+e;case c.UInt16:return t+e;case c.Int32:return t+e;case c.UInt32:return t+e;case c.Int64:return t+e;case c.UInt64:return t+e;case c.Single:return t+e;case c.Double:return t+e;case c.Decimal:return t+e}break;case c.Int64:switch(r){case c.Boolean:throw new s("Operator '+' can't be applied to operands of types 'long' and 'bool'");case c.Byte:return t+e;case c.SByte:return t+e;case c.Int16:return t+e;case c.UInt16:return t+e;case c.Int32:return t+e;case c.UInt32:return t+e;case c.Int64:return t+e;case c.UInt64:return t+p.tryToNumber(e);case c.Single:return t+e;case c.Double:return t+e;case c.Decimal:return t+e}break;case c.UInt64:switch(r){case c.Boolean:throw new s("Operator '+' can't be applied to operands of types 'ulong' and 'bool'");case c.Byte:return t+e;case c.SByte:return t+p.tryToNumber(e);case c.Int16:return t+p.tryToNumber(e);case c.UInt16:return t+e;case c.Int32:return t+p.tryToNumber(e);case c.UInt32:return t+e;case c.Int64:return t+p.tryToNumber(e);case c.UInt64:return t+e;case c.Single:return t+e;case c.Double:return t+e;case c.Decimal:return t+e}break;case c.Single:switch(r){case c.Boolean:throw new s("Operator '+' can't be applied to operands of types 'float' and 'bool'");case c.Byte:return t+e;case c.SByte:return t+e;case c.Int16:return t+e;case c.UInt16:return t+e;case c.Int32:return t+e;case c.UInt32:return t+e;case c.Int64:return t+e;case c.UInt64:return t+e;case c.Single:return t+e;case c.Double:return t+e;case c.Decimal:return l.toNumber(t)+e}break;case c.Double:switch(r){case c.Boolean:throw new s("Operator '+' can't be applied to operands of types 'double' and 'bool'");case c.Byte:return t+e;case c.SByte:return t+e;case c.Int16:return t+e;case c.UInt16:return t+e;case c.Int32:return t+e;case c.UInt32:return t+e;case c.Int64:return t+e;case c.UInt64:return t+e;case c.Single:return t+e;case c.Double:return t+e;case c.Decimal:return l.toNumber(t)+e}break;case c.Decimal:switch(r){case c.Boolean:throw new s("Operator '+' can't be applied to operands of types 'decimal' and 'bool'");case c.Byte:return t+e;case c.SByte:return t+e;case c.Int16:return t+e;case c.UInt16:return t+e;case c.Int32:return t+e;case c.UInt32:return t+e;case c.Int64:return t+e;case c.UInt64:return t+e;case c.Single:return t+l.toNumber(e);case c.Double:return t+l.toNumber(e);case c.Decimal:return t+e}break}return null},f.soustract=function(t,e){if(t=this.convertIfString(t),e=this.convertIfString(e),null!=t&&t.stimulsoft.is(u)||null!=e&&e.stimulsoft.is(u))return u.sub(t,e);var n=h.getTypeCode(t),r=h.getTypeCode(e);switch(n){case c.Boolean:switch(r){case c.Boolean:throw new s("Operator '-' can't be applied to operands of types 'bool' and 'bool'");case c.Byte:throw new s("Operator '-' can't be applied to operands of types 'bool' and 'byte'");case c.SByte:throw new s("Operator '-' can't be applied to operands of types 'bool' and 'byte'");case c.Int16:throw new s("Operator '-' can't be applied to operands of types 'bool' and 'byte'");case c.UInt16:throw new s("Operator '-' can't be applied to operands of types 'bool' and 'byte'");case c.Int32:throw new s("Operator '-' can't be applied to operands of types 'bool' and 'byte'");case c.UInt32:throw new s("Operator '-' can't be applied to operands of types 'bool' and 'byte'");case c.Int64:throw new s("Operator '-' can't be applied to operands of types 'bool' and 'byte'");case c.UInt64:throw new s("Operator '-' can't be applied to operands of types 'bool' and 'byte'");case c.Single:throw new s("Operator '-' can't be applied to operands of types 'bool' and 'byte'");case c.Double:throw new s("Operator '-' can't be applied to operands of types 'bool' and 'byte'");case c.Decimal:throw new s("Operator '-' can't be applied to operands of types 'bool' and 'byte'")}break;case c.Byte:switch(r){case c.Boolean:throw new s("Operator '-' can't be applied to operands of types 'byte' and 'bool'");case c.SByte:return t-e;case c.Int16:return t-e;case c.UInt16:return t-e;case c.Int32:return t-e;case c.UInt32:return t-e;case c.Int64:return t-e;case c.UInt64:return t-e;case c.Single:return t-e;case c.Double:return t-e;case c.Decimal:return t-e}break;case c.SByte:switch(r){case c.Boolean:throw new s("Operator '-' can't be applied to operands of types 'sbyte' and 'bool'");case c.SByte:return t-e;case c.Int16:return t-e;case c.UInt16:return t-e;case c.Int32:return t-e;case c.UInt32:return t-e;case c.Int64:return t-e;case c.UInt64:return t-p.tryToNumber(e);case c.Single:return t-e;case c.Double:return t-e;case c.Decimal:return t-e}break;case c.Int16:switch(r){case c.Boolean:throw new s("Operator '-' can't be applied to operands of types 'short' and 'bool'");case c.SByte:return t-e;case c.Int16:return t-e;case c.UInt16:return t-e;case c.Int32:return t-e;case c.UInt32:return t-e;case c.Int64:return t-e;case c.UInt64:return t-p.tryToNumber(e);case c.Single:return t-e;case c.Double:return t-e;case c.Decimal:return t-e}break;case c.UInt16:switch(r){case c.Boolean:throw new s("Operator '-' can't be applied to operands of types 'ushort' and 'bool'");case c.SByte:return t-e;case c.Int16:return t-e;case c.UInt16:return t-e;case c.Int32:return t-e;case c.UInt32:return t-e;case c.Int64:return t-e;case c.UInt64:return t-e;case c.Single:return t-e;case c.Double:return t-e;case c.Decimal:return t-e}break;case c.Int32:switch(r){case c.Boolean:throw new s("Operator '-' can't be applied to operands of types 'int' and 'bool'");case c.SByte:return t-e;case c.Int16:return t-e;case c.UInt16:return t-e;case c.Int32:return t-e;case c.UInt32:return t-e;case c.Int64:return t-e;case c.UInt64:return t-p.tryToNumber(e);case c.Single:return t-e;case c.Double:return t-e;case c.Decimal:return t-e}break;case c.UInt32:switch(r){case c.Boolean:throw new s("Operator '-' can't be applied to operands of types 'uint' and 'bool'");case c.SByte:return t-e;case c.Int16:return t-e;case c.UInt16:return t-e;case c.Int32:return t-e;case c.UInt32:return t-e;case c.Int64:return t-e;case c.UInt64:return t-e;case c.Single:return t-e;case c.Double:return t-e;case c.Decimal:return t-e}break;case c.Int64:switch(r){case c.Boolean:throw new s("Operator '-' can't be applied to operands of types 'long' and 'bool'");case c.SByte:return t-e;case c.Int16:return t-e;case c.UInt16:return t-e;case c.Int32:return t-e;case c.UInt32:return t-e;case c.Int64:return t-e;case c.UInt64:return t-p.tryToNumber(e);case c.Single:return t-e;case c.Double:return t-e;case c.Decimal:return t-e}break;case c.UInt64:switch(r){case c.Boolean:throw new s("Operator '-' can't be applied to operands of types 'ulong' and 'bool'");case c.SByte:return t-p.tryToNumber(e);case c.Int16:return t-p.tryToNumber(e);case c.UInt16:return t-e;case c.Int32:return t-p.tryToNumber(e);case c.UInt32:return t-e;case c.Int64:return t-p.tryToNumber(e);case c.UInt64:return t-e;case c.Single:return t-e;case c.Double:return t-e;case c.Decimal:return t-e}break;case c.Single:switch(r){case c.Boolean:throw new s("Operator '-' can't be applied to operands of types 'float' and 'bool'");case c.SByte:return t-e;case c.Int16:return t-e;case c.UInt16:return t-e;case c.Int32:return t-e;case c.UInt32:return t-e;case c.Int64:return t-e;case c.UInt64:return t-e;case c.Single:return t-e;case c.Double:return t-e;case c.Decimal:return t-p.tryToNumber(e)}break;case c.Double:switch(r){case c.Boolean:throw new s("Operator '-' can't be applied to operands of types 'double' and 'bool'");case c.SByte:return t-e;case c.Int16:return t-e;case c.UInt16:return t-e;case c.Int32:return t-e;case c.UInt32:return t-e;case c.Int64:return t-e;case c.UInt64:return t-e;case c.Single:return t-e;case c.Double:return t-e;case c.Decimal:return t-p.tryToNumber(e)}break;case c.Decimal:switch(r){case c.Boolean:throw new s("Operator '-' can't be applied to operands of types 'decimal' and 'bool'");case c.SByte:return t-e;case c.Int16:return t-e;case c.UInt16:return t-e;case c.Int32:return t-e;case c.UInt32:return t-e;case c.Int64:return t-e;case c.UInt64:return t-e;case c.Single:return t-p.tryToNumber(e);case c.Double:return t-p.tryToNumber(e);case c.Decimal:return t-e}break}return null},f.multiply=function(t,e){if(t=this.convertIfString(t),e=this.convertIfString(e),Array.isArray(t)||Array.isArray(e))return u.mult(t,e);var n=h.getTypeCode(t),r=h.getTypeCode(e);switch(n){case c.Byte:switch(r){case c.Boolean:throw new s("Operator '*' can't be applied to operands of types 'byte' and 'bool'");case c.SByte:return t*e;case c.Int16:return t*e;case c.UInt16:return t*e;case c.Int32:return t*e;case c.UInt32:return t*e;case c.Int64:return t*e;case c.UInt64:return t*e;case c.Single:return t*e;case c.Double:return t*e;case c.Decimal:return t*e}break;case c.SByte:switch(r){case c.Boolean:throw new s("Operator '*' can't be applied to operands of types 'sbyte' and 'bool'");case c.SByte:return t*e;case c.Int16:return t*e;case c.UInt16:return t*e;case c.Int32:return t*e;case c.UInt32:return t*e;case c.Int64:return t*e;case c.UInt64:return t*p.tryToNumber(e);case c.Single:return t*e;case c.Double:return t*e;case c.Decimal:return t*e}break;case c.Int16:switch(r){case c.Boolean:throw new s("Operator '*' can't be applied to operands of types 'short' and 'bool'");case c.SByte:return t*e;case c.Int16:return t*e;case c.UInt16:return t*e;case c.Int32:return t*e;case c.UInt32:return t*e;case c.Int64:return t*e;case c.UInt64:return t*p.tryToNumber(e);case c.Single:return t*e;case c.Double:return t*e;case c.Decimal:return t*e}break;case c.UInt16:switch(r){case c.Boolean:throw new s("Operator '*' can't be applied to operands of types 'ushort' and 'bool'");case c.SByte:return t*e;case c.Int16:return t*e;case c.UInt16:return t*e;case c.Int32:return t*e;case c.UInt32:return t*e;case c.Int64:return t*e;case c.UInt64:return t*e;case c.Single:return t*e;case c.Double:return t*e;case c.Decimal:return t*e}break;case c.Int32:switch(r){case c.Boolean:throw new s("Operator '*' can't be applied to operands of types 'int' and 'bool'");case c.SByte:return t*e;case c.Int16:return t*e;case c.UInt16:return t*e;case c.Int32:return t*e;case c.UInt32:return t*e;case c.Int64:return t*e;case c.UInt64:return t*p.tryToNumber(e);case c.Single:return t*e;case c.Double:return t*e;case c.Decimal:return t*e}break;case c.UInt32:switch(r){case c.Boolean:throw new s("Operator '*' can't be applied to operands of types 'uint' and 'bool'");case c.SByte:return t*e;case c.Int16:return t*e;case c.UInt16:return t*e;case c.Int32:return t*e;case c.UInt32:return t*e;case c.Int64:return t*e;case c.UInt64:return t*e;case c.Single:return t*e;case c.Double:return t*e;case c.Decimal:return t*e}break;case c.Int64:switch(r){case c.Boolean:throw new s("Operator '*' can't be applied to operands of types 'long' and 'bool'");case c.SByte:return t*e;case c.Int16:return t*e;case c.UInt16:return t*e;case c.Int32:return t*e;case c.UInt32:return t*e;case c.Int64:return t*e;case c.UInt64:return t*p.tryToNumber(e);case c.Single:return t*e;case c.Double:return t*e;case c.Decimal:return t*e}break;case c.UInt64:switch(r){case c.Boolean:throw new s("Operator '*' can't be applied to operands of types 'ulong' and 'bool'");case c.SByte:return t*p.tryToNumber(e);case c.Int16:return t*p.tryToNumber(e);case c.UInt16:return t*e;case c.Int32:return t*p.tryToNumber(e);case c.UInt32:return t*e;case c.Int64:return t*p.tryToNumber(e);case c.UInt64:return t*e;case c.Single:return t*e;case c.Double:return t*e;case c.Decimal:return t*e}break;case c.Single:switch(r){case c.Boolean:throw new s("Operator '*' can't be applied to operands of types 'float' and 'bool'");case c.SByte:return t*e;case c.Int16:return t*e;case c.UInt16:return t*e;case c.Int32:return t*e;case c.UInt32:return t*e;case c.Int64:return t*e;case c.UInt64:return t*e;case c.Single:return t*e;case c.Double:return t*e;case c.Decimal:return t*p.tryToNumber(e)}break;case c.Double:switch(r){case c.Boolean:throw new s("Operator '*' can't be applied to operands of types 'double' and 'bool'");case c.SByte:return t*e;case c.Int16:return t*e;case c.UInt16:return t*e;case c.Int32:return t*e;case c.UInt32:return t*e;case c.Int64:return t*e;case c.UInt64:return t*e;case c.Single:return t*e;case c.Double:return t*e;case c.Decimal:return t*p.tryToNumber(e)}break;case c.Decimal:switch(r){case c.Boolean:throw new s("Operator '*' can't be applied to operands of types 'decimal' and 'bool'");case c.SByte:return t*e;case c.Int16:return t*e;case c.UInt16:return t*e;case c.Int32:return t*e;case c.UInt32:return t*e;case c.Int64:return t*e;case c.UInt64:return t*e;case c.Single:return t*p.tryToNumber(e);case c.Double:return t*p.tryToNumber(e);case c.Decimal:return t*e}break}return null},f.divide=function(t,e){if(t=this.convertIfString(t),e=this.convertIfString(e),Array.isArray(t)||Array.isArray(e))return u.div(t,e);if(p.isZero(e))return null;var n=h.getTypeCode(t),r=h.getTypeCode(e);switch(n){case c.Byte:switch(r){case c.Boolean:throw new s("Operator '/' can't be applied to operands of types 'byte' and 'bool'");case c.SByte:return t/e;case c.Int16:return t/e;case c.UInt16:return t/e;case c.Int32:return t/e;case c.UInt32:return t/e;case c.Int64:return t/e;case c.UInt64:return t/e;case c.Single:return t/e;case c.Double:return t/e;case c.Decimal:return t/e}break;case c.SByte:switch(r){case c.Boolean:throw new s("Operator '/' can't be applied to operands of types 'sbyte' and 'bool'");case c.SByte:return t/e;case c.Int16:return t/e;case c.UInt16:return t/e;case c.Int32:return t/e;case c.UInt32:return t/e;case c.Int64:return t/e;case c.UInt64:return t*p.tryToNumber(e);case c.Single:return t/e;case c.Double:return t/e;case c.Decimal:return t/e}break;case c.Int16:switch(r){case c.Boolean:throw new s("Operator '/' can't be applied to operands of types 'short' and 'bool'");case c.SByte:return t/e;case c.Int16:return t/e;case c.UInt16:return t/e;case c.Int32:return t/e;case c.UInt32:return t/e;case c.Int64:return t/e;case c.UInt64:return t*p.tryToNumber(e);case c.Single:return t/e;case c.Double:return t/e;case c.Decimal:return t/e}break;case c.UInt16:switch(r){case c.Boolean:throw new s("Operator '/' can't be applied to operands of types 'ushort' and 'bool'");case c.SByte:return t/e;case c.Int16:return t/e;case c.UInt16:return t/e;case c.Int32:return t/e;case c.UInt32:return t/e;case c.Int64:return t/e;case c.UInt64:return t/e;case c.Single:return t/e;case c.Double:return t/e;case c.Decimal:return t/e}break;case c.Int32:switch(r){case c.Boolean:throw new s("Operator '/' can't be applied to operands of types 'int' and 'bool'");case c.SByte:return t/e;case c.Int16:return t/e;case c.UInt16:return t/e;case c.Int32:return t/e;case c.UInt32:return t/e;case c.Int64:return t/e;case c.UInt64:return t*p.tryToNumber(e);case c.Single:return t/e;case c.Double:return t/e;case c.Decimal:return t/e}break;case c.UInt32:switch(r){case c.Boolean:throw new s("Operator '/' can't be applied to operands of types 'uint' and 'bool'");case c.SByte:return t/e;case c.Int16:return t/e;case c.UInt16:return t/e;case c.Int32:return t/e;case c.UInt32:return t/e;case c.Int64:return t/e;case c.UInt64:return t/e;case c.Single:return t/e;case c.Double:return t/e;case c.Decimal:return t/e}break;case c.Int64:switch(r){case c.Boolean:throw new s("Operator '/' can't be applied to operands of types 'long' and 'bool'");case c.SByte:return t/e;case c.Int16:return t/e;case c.UInt16:return t/e;case c.Int32:return t/e;case c.UInt32:return t/e;case c.Int64:return t/e;case c.UInt64:return t*p.tryToNumber(e);case c.Single:return t/e;case c.Double:return t/e;case c.Decimal:return t/e}break;case c.UInt64:switch(r){case c.Boolean:throw new s("Operator '-' can't be applied to operands of types 'ulong' and 'bool'");case c.SByte:return t*p.tryToNumber(e);case c.Int16:return t*p.tryToNumber(e);case c.UInt16:return t/e;case c.Int32:return t*p.tryToNumber(e);case c.UInt32:return t/e;case c.Int64:return t*p.tryToNumber(e);case c.UInt64:return t/e;case c.Single:return t/e;case c.Double:return t/e;case c.Decimal:return t/e}break;case c.Single:switch(r){case c.Boolean:throw new s("Operator '/' can't be applied to operands of types 'float' and 'bool'");case c.SByte:return t/e;case c.Int16:return t/e;case c.UInt16:return t/e;case c.Int32:return t/e;case c.UInt32:return t/e;case c.Int64:return t/e;case c.UInt64:return t/e;case c.Single:return t/e;case c.Double:return t/e;case c.Decimal:return t*p.tryToNumber(e)}break;case c.Double:switch(r){case c.Boolean:throw new s("Operator '/' can't be applied to operands of types 'double' and 'bool'");case c.SByte:return t/e;case c.Int16:return t/e;case c.UInt16:return t/e;case c.Int32:return t/e;case c.UInt32:return t/e;case c.Int64:return t/e;case c.UInt64:return t/e;case c.Single:return t/e;case c.Double:return t/e;case c.Decimal:return t*p.tryToNumber(e)}break;case c.Decimal:switch(r){case c.Boolean:throw new s("Operator '/' can't be applied to operands of types 'decimal' and 'bool'");case c.SByte:return t/e;case c.Int16:return t/e;case c.UInt16:return t/e;case c.Int32:return t/e;case c.UInt32:return t/e;case c.Int64:return t/e;case c.UInt64:return t/e;case c.Single:return t*p.tryToNumber(e);case c.Double:return t*p.tryToNumber(e);case c.Decimal:return t/e}break}return null},f.modulo=function(t,e){t=this.convertIfString(t),e=this.convertIfString(e);var n=h.getTypeCode(t),r=h.getTypeCode(e);switch(n){case c.Byte:switch(r){case c.Boolean:throw new s("Operator '%' can't be applied to operands of types 'byte' and 'bool'");case c.SByte:return t%e;case c.Int16:return t%e;case c.UInt16:return t%e;case c.Int32:return t%e;case c.UInt32:return t%e;case c.Int64:return t%e;case c.UInt64:return t%e;case c.Single:return t%e;case c.Double:return t%e;case c.Decimal:return t%e}break;case c.SByte:switch(r){case c.Boolean:throw new s("Operator '%' can't be applied to operands of types 'sbyte' and 'bool'");case c.SByte:return t%e;case c.Int16:return t%e;case c.UInt16:return t%e;case c.Int32:return t%e;case c.UInt32:return t%e;case c.Int64:return t%e;case c.UInt64:return t%p.tryToNumber(e);case c.Single:return t%e;case c.Double:return t%e;case c.Decimal:return t%e}break;case c.Int16:switch(r){case c.Boolean:throw new s("Operator '%' can't be applied to operands of types 'short' and 'bool'");case c.SByte:return t%e;case c.Int16:return t%e;case c.UInt16:return t%e;case c.Int32:return t%e;case c.UInt32:return t%e;case c.Int64:return t%e;case c.UInt64:return t%p.tryToNumber(e);case c.Single:return t%e;case c.Double:return t%e;case c.Decimal:return t%e}break;case c.UInt16:switch(r){case c.Boolean:throw new s("Operator '%' can't be applied to operands of types 'ushort' and 'bool'");case c.SByte:return t%e;case c.Int16:return t%e;case c.UInt16:return t%e;case c.Int32:return t%e;case c.UInt32:return t%e;case c.Int64:return t%e;case c.UInt64:return t%e;case c.Single:return t%e;case c.Double:return t%e;case c.Decimal:return t%e}break;case c.Int32:switch(r){case c.Boolean:throw new s("Operator '%' can't be applied to operands of types 'int' and 'bool'");case c.SByte:return t%e;case c.Int16:return t%e;case c.UInt16:return t%e;case c.Int32:return t%e;case c.UInt32:return t%e;case c.Int64:return t%e;case c.UInt64:return t%p.tryToNumber(e);case c.Single:return t%e;case c.Double:return t%e;case c.Decimal:return t%e}break;case c.UInt32:switch(r){case c.Boolean:throw new s("Operator '%' can't be applied to operands of types 'uint' and 'bool'");case c.SByte:return t%e;case c.Int16:return t%e;case c.UInt16:return t%e;case c.Int32:return t%e;case c.UInt32:return t%e;case c.Int64:return t%e;case c.UInt64:return t%e;case c.Single:return t%e;case c.Double:return t%e;case c.Decimal:return t%e}break;case c.Int64:switch(r){case c.Boolean:throw new s("Operator '%' can't be applied to operands of types 'long' and 'bool'");case c.SByte:return t%e;case c.Int16:return t%e;case c.UInt16:return t%e;case c.Int32:return t%e;case c.UInt32:return t%e;case c.Int64:return t%e;case c.UInt64:return t%p.tryToNumber(e);case c.Single:return t%e;case c.Double:return t%e;case c.Decimal:return t%e}break;case c.UInt64:switch(r){case c.Boolean:throw new s("Operator '%' can't be applied to operands of types 'ulong' and 'bool'");case c.SByte:return t%p.tryToNumber(e);case c.Int16:return t%p.tryToNumber(e);case c.UInt16:return t%e;case c.Int32:return t%p.tryToNumber(e);case c.UInt32:return t%e;case c.Int64:return t%p.tryToNumber(e);case c.UInt64:return t%e;case c.Single:return t%e;case c.Double:return t%e;case c.Decimal:return t%e}break;case c.Single:switch(r){case c.Boolean:throw new s("Operator '%' can't be applied to operands of types 'float' and 'bool'");case c.SByte:return t%e;case c.Int16:return t%e;case c.UInt16:return t%e;case c.Int32:return t%e;case c.UInt32:return t%e;case c.Int64:return t%e;case c.UInt64:return t%e;case c.Single:return t%e;case c.Double:return t%e;case c.Decimal:return t%p.tryToNumber(e)}break;case c.Double:switch(r){case c.Boolean:throw new s("Operator '%' can't be applied to operands of types 'double' and 'bool'");case c.SByte:return t%e;case c.Int16:return t%e;case c.UInt16:return t%e;case c.Int32:return t%e;case c.UInt32:return t%e;case c.Int64:return t%e;case c.UInt64:return t%e;case c.Single:return t%e;case c.Double:return t%e;case c.Decimal:return t%p.tryToNumber(e)}break;case c.Decimal:switch(r){case c.Boolean:throw new s("Operator '%' can't be applied to operands of types 'decimal' and 'bool'");case c.SByte:return t%e;case c.Int16:return t%e;case c.UInt16:return t%e;case c.Int32:return t%e;case c.UInt32:return t%e;case c.Int64:return t%e;case c.UInt64:return t%e;case c.Single:return t%p.tryToNumber(e);case c.Double:return t%p.tryToNumber(e);case c.Decimal:return t%e}break}return null},f.max=function(t,e){if(t=this.convertIfString(t),e=this.convertIfString(e),null==t&&null==e)return null;if(null==t)return e;if(null==e)return t;var n;switch(h.getTypeCode(t)){case c.Byte:return Math.max(t,l.toNumber(e));case c.SByte:return Math.max(t,l.toNumber(e));case c.Int16:return Math.max(t,l.toNumber(e));case c.UInt16:return Math.max(t,l.toNumber(e));case c.Int32:return Math.max(t,l.toNumber(e));case c.UInt32:return Math.max(t,l.toNumber(e));case c.Int64:return Math.max(t,l.toNumber(e));case c.UInt64:return Math.max(t,l.toNumber(e));case c.Single:return Math.max(t,l.toNumber(e));case c.Double:return Math.max(t,l.toNumber(e));case c.Decimal:return Math.max(t,l.toNumber(e))}return null},f.min=function(t,e){if(t=this.convertIfString(t),e=this.convertIfString(e),null==t&&null==e)return null;if(null==t)return e;if(null==e)return t;var n;switch(h.getTypeCode(t)){case c.Byte:return Math.min(t,l.toNumber(e));case c.SByte:return Math.min(t,l.toNumber(e));case c.Int16:return Math.min(t,l.toNumber(e));case c.UInt16:return Math.min(t,l.toNumber(e));case c.Int32:return Math.min(t,l.toNumber(e));case c.UInt32:return Math.min(t,l.toNumber(e));case c.Int64:return Math.min(t,l.toNumber(e));case c.UInt64:return Math.min(t,l.toNumber(e));case c.Single:return Math.min(t,l.toNumber(e));case c.Double:return Math.min(t,l.toNumber(e));case c.Decimal:return Math.min(t,l.toNumber(e))}return null},i=f,n.Numbers=i}(Stimulsoft=Stimulsoft||{}),function(t){var e,n,r,i,a,o;function s(){return null!==o&&o.apply(this,arguments)||this}n=e=t.Data||(t.Data={}),i=r=n.Expressions||(n.Expressions={}),n=a=i.NCalc||(i.NCalc={}),i=t.System.EventArgs,__extends(s,o=i),Object.defineProperty(s.prototype,"result",{get:function(){return this._result},set:function(t){this._result=t,this.hasResult=!0},enumerable:!1,configurable:!0}),i=s,n.ParameterArgs=i}(Stimulsoft=Stimulsoft||{}),function(t){var e,n,r,i,a,o;function s(){}n=e=t.Data||(t.Data={}),i=r=n.Helpers||(n.Helpers={}),a=t.System.StiString,o=t.System.Char,s.getSize=function(t){var e=["B","KB","MB","GB"],n=0;while(1024<=t&&++n<e.length)t/=1024;return t+" "+e[n]},s.getHumanReadableName=function(t){if(a.isNullOrEmpty(t))return"";var e=t.trim();e.stimulsoft.replaceAll("_"," ");for(var n=1;n<e.length;n++){var r=e[n-1],i=e[n];o.isLetter(r)&&o.isLetter(i)&&o.isLower(r)&&o.isUpper(i)&&(e.stimulsoft.insert(n," ",0),n++)}for(var n=1;n<e.length;n++){var r=e[n-1],i=e[n];(o.isLetter(r)&&o.isDigit(i)||o.isDigit(r)&&o.isLetter(i))&&(e.stimulsoft.insert(n," ",0),n++)}for(var n=0;n<e.length;n++){var i=e[n];o.isLetterOrDigit(i)||" "==i||e.stimulsoft.remove(n,1)}return 0<e.length&&!o.isUpper(e[0])&&e.stimulsoft.insert(0,e[0].toUpperCase()[0],1),e},n=s,i.StiHumanReadableHelper=n}(Stimulsoft=Stimulsoft||{}),function(t){var e,n,r,i,a;function o(){}n=e=t.Data||(t.Data={}),i=r=n.Helpers||(n.Helpers={}),a=t.System.StiString,o.isMoneyName=function(t){return!a.isNullOrWhiteSpace(t)&&(t.stimulsoft.startsWith("Price")||t.stimulsoft.startsWith("Cost")||t.stimulsoft.startsWith("Rate")||t.stimulsoft.endsWith("Price")||t.stimulsoft.endsWith("Cost")||t.stimulsoft.endsWith("Rate"))},n=o,i.StiMoneyNameHelper=n}(Stimulsoft=Stimulsoft||{}),function(t){var e,n,r,i,a,o,s;function u(){}n=e=t.Data||(t.Data={}),i=r=n.Extensions||(n.Extensions={}),a=t.Data.Helpers.StiMoneyNameHelper,o=t.Data.Helpers.StiHumanReadableHelper,s=t.System.Type,u.isNumericType=function(t){return null!=t&&null!=t.dataType&&s.isNumericType(t.dataType)},u.isDateType=function(t){return null!=t&&null!=t.dataType&&s.isDateType(t.dataType)},u.isIntegerType=function(t){return null!=t&&null!=t.dataType&&s.isIntegerType(t.dataType)},u.isMoneyName=function(t){return a.isMoneyName(t.columnName)},u.getHumanReadableName=function(t){return o.getHumanReadableName(t.columnName)},n=u,i.DataColumnExt=n}(Stimulsoft=Stimulsoft||{}),function(t){var e,t,n,r,i;function a(){}t=e=t.Data||(t.Data={}),(r=n=t.Extensions||(t.Extensions={})).DataTimeExt=a}(Stimulsoft=Stimulsoft||{}),function(t){var e,t,n,r,i;function a(){}t=e=t.Data||(t.Data={}),(r=n=t.Extensions||(t.Extensions={})).EnumerableRowCollectionExt=a}(Stimulsoft=Stimulsoft||{}),function(t){var e,n,r,s,u,l,i;n=e=t.Data||(t.Data={}),s=r=n.Extensions||(n.Extensions={}),u=t.Base.Helpers.StiValueHelper,l=t.System.Collections.List,i=t.Base.Helpers.StiValueComparer,l.prototype.whereEqualsTo=function(e,n){return this.where(function(t){return i.equalValues(e,n)})},l.prototype.whereArrayItemEqualsTo=function(e,n){return-1==e?this:this.where(function(t){return i.equalValues(t[e],n)})},l.prototype.whereArrayItemStringEqualsTo=function(e,n){return-1==e?this:this.where(function(t){return i.equalValues(l.toString2(t[e]),n)})},l.prototype.whereFirstOrDefaultArrayItemStringEqualsTo=function(e,n){return-1==e?this.firstOrDefault():this.firstOrDefault(function(t){return i.equalValues(l.toString2(t[e]),n)})},l.toString2=function(t){return null==t?"":t.toString()},l.prototype.getArrayItem=function(e){return this.select(function(t){return t[e]})},l.prototype.tryCastValueOrFirstDefaultToNullableNumber=function(){return this.select(function(t){return u.tryToNullableNumber(s.ListExt.getValueOrFirstOrDefault(t))})},l.prototype.tryCastToNullableNumber=function(){return this.select(function(t){return u.tryToNullableNumber(t)})},l.prototype.tryCastToNumber=function(){return this.select(function(t){return u.tryToNumber(t)})},l.prototype.tryCastToBool=function(){return this.select(function(t){return u.tryToBool(t)})},l.prototype.tryCastToDateTime=function(){return this.select(function(t){return u.tryToDateTime(t)})},l.prototype.tryCastToNullableDateTime=function(){return this.select(function(t){return u.tryToNullableDateTime(t)})},l.prototype.tryCastToNullableTimeSpan=function(){return this.select(function(t){return u.tryToNullableTimeSpan(t)})},l.prototype.tryCastToString=function(){return this.select(function(t){return u.tryToString(t)})},l.prototype.firstOrDefaultAsNullableNumber=function(){return u.tryToNullableNumber(s.ListExt.getValueOrFirstOrDefault(this.firstOrDefault()))},l.prototype.firstOrDefaultAsNumber=function(){return u.tryToNumber(s.ListExt.getValueOrFirstOrDefault(this.firstOrDefault()))},l.getValueOrFirstOrDefault=function(t){return s.ListExt.isList(t)?s.ListExt.toList(t).firstOrDefault():t},l.add2=function(t,e){var n=null!=t?t.stimulsoft.as(l):null,r=null!=e?e.stimulsoft.as(l):null;if(null==n&&null==r)return null;if(null!=n&&null!=r)return n.zip(r,function(t,e){return u.tryToNumber(t)+u.tryToNumber(e)}).cast();if(null!=n){var i=u.tryToNumber(e);return n.select(function(t){return u.tryToNumber(t)+i}).cast()}var a=u.tryToNumber(t);return r.select(function(t){return u.tryToNumber(t)+a}).cast()},l.sub=function(t,e){var n=t.stimulsoft.as(l),r=e.stimulsoft.as(l);if(null==n&&null==r)return null;if(null!=n&&null!=r)return n.zip(r,function(t,e){return u.tryToNumber(t)-u.tryToNumber(e)}).cast();if(null!=n){var i=u.tryToNumber(e);return n.select(function(t){return u.tryToNumber(t)-i}).cast()}var a=u.tryToNumber(t);return r.select(function(t){return u.tryToNumber(t)-a}).cast()},l.mult=function(t,e){var n=t.stimulsoft.as(l),r=e.stimulsoft.as(l);if(null==n&&null==r)return null;if(null!=n&&null!=r)return n.zip(r,function(t,e){return u.tryToNumber(t)*u.tryToNumber(e)}).cast();if(null!=n){var i=u.tryToNumber(e);return n.select(function(t){return u.tryToNumber(t)*i}).cast()}var a=u.tryToNumber(t);return r.select(function(t){return u.tryToNumber(t)*a}).cast()},l.bitwiseAnd=function(t,e){var n=t.stimulsoft.as(l),r=e.stimulsoft.as(l);if(null==n&&null==r)return null;if(null!=n&&null!=r){var i=n.zip(r,function(t,e){return u.tryToNumber(t)&u.tryToNumber(e)}).cast();return s.ListExt.isBoolList(n)?i.tryCastToNumber().select(function(t){return 1==t}).cast():i}if(null!=n){var a=u.tryToNumber(e),i=n.select(function(t){return u.tryToNumber(t)&a}).cast();return s.ListExt.isBoolList(n)?i.tryCastToNumber().select(function(t){return 1==t}).cast():i}var o=u.tryToNumber(t),t=r.select(function(t){return u.tryToNumber(t)&o}).cast();return s.ListExt.isBoolList(r)?t.tryCastToNumber().select(function(t){return 1==t}).cast():t},l.bitwiseXOr=function(t,e){var n=t.stimulsoft.as(l),r=e.stimulsoft.as(l);if(null==n&&null==r)return null;if(null!=n&&null!=r){var i=n.zip(r,function(t,e){return u.tryToNumber(t)^u.tryToNumber(e)}).cast();return s.ListExt.isBoolList(n)?i.tryCastToNumber().select(function(t){return 1==t}).cast():i}if(null!=n){var a=u.tryToNumber(e),i=n.select(function(t){return u.tryToNumber(t)^a}).cast();return s.ListExt.isBoolList(n)?i.tryCastToNumber().select(function(t){return 1==t}).cast():i}var o=u.tryToNumber(t),t=r.select(function(t){return u.tryToNumber(t)^o}).cast();return s.ListExt.isBoolList(r)?t.tryCastToNumber().select(function(t){return 1==t}).cast():t},l.bitwiseOr=function(t,e){var n=t.stimulsoft.as(l),r=e.stimulsoft.as(l);if(null==n&&null==r)return null;if(null!=n&&null!=r){var i=n.zip(r,function(t,e){return u.tryToNumber(t)|u.tryToNumber(e)}).cast();return s.ListExt.isBoolList(n)?i.tryCastToNumber().select(function(t){return 1==t}).cast():i}if(null!=n){var a=u.tryToNumber(e),i=n.select(function(t){return u.tryToNumber(t)|a}).cast();return s.ListExt.isBoolList(n)?i.tryCastToNumber().select(function(t){return 1==t}).cast():i}var o=u.tryToNumber(t),t=r.select(function(t){return u.tryToNumber(t)|o}).cast();return s.ListExt.isBoolList(r)?t.tryCastToNumber().select(function(t){return 1==t}).cast():t},l.div=function(t,e){var n=t.stimulsoft.as(l),r=e.stimulsoft.as(l);if(null==n&&null==r)return null;if(null!=n&&null!=r)return n.zip(r,function(t,e){return 0!=u.tryToNumber(e)?u.tryToNumber(t)/u.tryToNumber(e):0}).cast();if(null!=n){var i=u.tryToNumber(e);return n.select(function(t){return 0!=i?u.tryToNumber(t)/i:0}).cast()}var a=u.tryToNumber(t);return r.select(function(t){return 0!=a?u.tryToNumber(t)/a:0}).cast()}}(Stimulsoft=Stimulsoft||{}),function(r){var t,e,n,i,a,o,s;function u(){}e=t=r.Data||(r.Data={}),i=n=e.Helpers||(e.Helpers={}),a=r.System.StiString,o=r.Base.Meters.IStiLocalizedMeter,e=r.System.Collections.Dictionary,s=r.System.Char,u.getLabel=function(e){if(null==e)return"Unknown";if(!a.isNullOrEmpty(e.label))return e.label;var n=e.is(o)&&e.localizedName;try{if(!a.isNullOrWhiteSpace(e.expression)&&this.cache.contains(e.expression))return this.cache.get(e.expression);var t=i.StiExpressionHelper.getFirstArgumentFromExpression(e.expression);return null==t&&(t=i.StiExpressionHelper.getFunction(e.expression)),null==t&&null!=n&&(t=n),t.stimulsoft.contains(".")&&(t=t.split(".").stimulsoft.toList().lastOrDefault()),0<t.length&&s.isUpper(t[0])||(t=r.Data.Functions.Funcs.toProperCase(t)),a.isNullOrWhiteSpace(e.expression)||this.cache.add(e.expression,t),t}catch(t){return a.isNullOrWhiteSpace(e.expression)||this.cache.add(e.expression,n),n}},u.cache=new e,e=u,i.StiLabelHelper=e}(Stimulsoft=Stimulsoft||{}),function(t){var e,n,r,s,u,i,l,c;function a(){}n=e=t.Data||(t.Data={}),s=r=n.Extensions||(n.Extensions={}),u=t.Data.Helpers.StiLabelHelper,i=t.System.Type,l=t.System.Data.DataTable,c=t.System.Data.DataColumn,a.toNetTable=function(t,e,n){var r=this;void 0===n&&(n=!1);var i=new l,a=t,o=0;return e.forEach(function(t){var e=r.findType(a,o),e=new c(s.DataTableExt.getUniqueName2(i,t,u.getLabel(t)),e);i.columns.add(e),o++}),n||t.forEach(function(t){return r.loadDataRow(i,t)}),i},a.loadDataRow=function(e,n){try{e.loadDataRow(n,!0)}catch(t){for(var r=e.newRow(),i=0;i<n.length;i++)try{r.sett(i,n[i])}catch(t){}e.rows.add(r)}},a.findType=function(t,e){var e=this.findTypeInRows(t,e);if(null!=e)return e;return Object},a.findTypeInRows=function(t,e){var t=t.select(function(t){return t[e]}).where(function(t){return null!=t}).select(function(t){return i.getType(t)}).where(function(t){return null!=t}).distinct();if(null==t||!t.any()||1<t.count2())return Object;return t.firstOrDefault()},n=a,s.ListTableExt=n}(Stimulsoft=Stimulsoft||{}),function(t){var e,n,r,i,a;function o(){}n=e=t.Data||(t.Data={}),i=r=n.Extensions||(n.Extensions={}),a=t.Base.Meters.IStiDimensionMeter,o.indexOf=function(t,e){return null!=e?t.indexOf(e):-1},o.getDimensions=function(t){return t&&t.where(function(t){return t.is(a)}).cast()},n=o,i.StiMeterExt=n}(Stimulsoft=Stimulsoft||{}),function(t){var e,t,n,r,i;function a(){}t=e=t.Data||(t.Data={}),(r=n=t.Extensions||(t.Extensions={})).TOuterExt=a}(Stimulsoft=Stimulsoft||{}),function(t){var e,n,r,u,i,a,o,s,l,c;function h(){}n=e=t.Data||(t.Data={}),u=r=n.Functions||(n.Functions={}),i=t.System.Collections.List,a=t.System.Collections.Hashtable,o=t.System.DayOfWeek,s=t.System.Globalization.CultureInfo,l=t.Base.Localization.StiLocalization,c=t.System.StiString,h.dayOfWeek=function(t){return s.currentCulture.dateTimeFormat.dayNames[t.dayOfWeek]},h.dayOfWeek2=function(t,e){if(!e)return h.dayOfWeek(t);switch(t.dayOfWeek){case o.Sunday:return l.get("A_WebViewer","DaySunday");case o.Monday:return l.get("A_WebViewer","DayMonday");case o.Tuesday:return l.get("A_WebViewer","DayTuesday");case o.Wednesday:return l.get("A_WebViewer","DayWednesday");case o.Thursday:return l.get("A_WebViewer","DayThursday");case o.Friday:return l.get("A_WebViewer","DayFriday");case o.Saturday:return l.get("A_WebViewer","DaySaturday")}return h.dayOfWeek(t)},h.dayOfWeek3=function(e,n){var r="";try{return new s(n).dateTimeFormat.dayNames[e.value]}catch(t){var i=n.toLowerCase();if(!h.cultureIndexes.containsKey(i))return s.currentCulture.dateTimeFormat.dayNames[e.value];var i=h.cultureIndexes.get(i);e.value<h.days[i].length&&(r=h.days[i][e.value]),h.defaultUpperCaseList[i]&&(r=r.substring(0,1).toUpperCase()+r.substring(1))}return r},h.dayOfWeek4=function(t,e,n){var e=h.dayOfWeek6(t,e).toLowerCase();return n?e.substring(0,1).toUpperCase()+e.substring(1):e},h.dayOfWeek5=function(t){var e,n;if(c.isNullOrWhiteSpace(t))return null;t=t.toLowerCase().trim();try{for(var r=__values(this.days),i=r.next();!i.done;i=r.next())for(var a=i.value,o=0,s;o<a.length;o++){if(a[o].toLowerCase()==t)return u.StiDayOfWeek[o]}}catch(t){e={error:t}}finally{try{i&&!i.done&&(n=r.return)&&n.call(r)}finally{if(e)throw e.error}}return null},h.dayOfWeek6=function(t,e){return this.dayOfWeek3(u.StiDayOfWeek[t.dayOfWeek],e)},h.addCulture=function(t,e,n){var r,i,a=h.days.count2();h.days.add(t),h.defaultUpperCaseList.add(n);try{for(var o=__values(e),s=o.next();!s.done;s=o.next()){var u=s.value;h.cultureIndexes.set(u.toLowerCase(),a)}}catch(t){r={error:t}}finally{try{s&&!s.done&&(i=o.return)&&i.call(o)}finally{if(r)throw r.error}}},h.initialize=function(){h.days=new i,h.defaultUpperCaseList=new i,h.cultureIndexes=new a,h.addCulture(["sunday","monday","tuesday","wednesday","thursday","friday","saturday"],["en"],!1),h.addCulture(["dimanche","lundi","mardi","mercredi","jeudi","vendredi","samedi"],["fr"],!1),h.addCulture(["domenica","lunedì","martedì","mercoledì","giovedì","venerdì","sabato"],["it"],!1),h.addCulture(["domingo","lunes","martes","miércoles","jueves","viernes","sábado"],["es"],!1),h.addCulture(["domingo","segunda-feira","terça-feira","quarta-feira","quinta-feira","sexta-feira","sábado"],["pt"],!1),h.addCulture(["duminică","luni","marţi","miercuri","joi","vineri","sâmbătă"],["ro"],!1),h.addCulture(["Il-Ħadd","It-Tnejn","It-Tlieta","L-Erbgħa","Il-Ħamis","Il-Ġimgħa","Is-Sibt"],["mt"],!1),h.addCulture(["Ku wa mbere","Ku wa kabiri","Ku wa gatatu","Ku wa kane","Ku wa gatanu","Ku wa gatandatu","Ku cyumweru"],["rw"],!1),h.addCulture(["Minggu","Senin","Selasa","Rabu","Kamis","Jumat","Sabtu"],["id"],!1),h.addCulture(["nedeľa","pondelok","utorok","streda","štvrtok","piatok","sobota"],["sk"],!1),h.addCulture(["nedjelja","ponedjeljak","utorak","srijeda","četvrtak","petak","subota"],["hr"],!1),h.addCulture(["niedziela","poniedziałek","wtorek","środa","czwartek","piątek","sobota"],["pl"],!1),h.addCulture(["Pazar","Pazartesi","Salı","Çarşamba","Perşembe","Cuma","Cumartesi"],["tr"],!1),h.addCulture(["sekmadienis","pirmadienis","antradienis","trečiadienis","ketvirtadienis","penktadienis","šeštadienis"],["lt"],!1),h.addCulture(["Sonntag","Montag","Dienstag","Mittwoch","Donnerstag","Freitag","Samstag"],["de"],!1),h.addCulture(["sotnabeaivi","mánnodat","disdat","gaskavahkku","duorastat","bearjadat","lávvardat"],["se"],!1),h.addCulture(["sunnudagur","mánadagur","týsdagur","mikudagur","hósdagur","fríggjadagur","leygardagur"],["fo"],!1),h.addCulture(["sunnudagur","mánudagur","þriðjudagur","miðvikudagur","fimmtudagur","föstudagur","laugardagur"],["is"],!1),h.addCulture(["sunnuntai","maanantai","tiistai","keskiviikko","torstai","perjantai","lauantai"],["fi"],!1),h.addCulture(["svētdiena","pirmdiena","otrdiena","trešdiena","ceturtdiena","piektdiena","sestdiena"],["lv"],!1),h.addCulture(["vasárnap","hétfő","kedd","szerda","csütörtök","péntek","szombat"],["hu"],!1),h.addCulture(["zondag","maandag","dinsdag","woensdag","donderdag","vrijdag","zaterdag"],["nl"],!1),h.addCulture(["воскресенье","понедельник","вторник","среда","четверг","пятница","суббота"],["ru"],!1),h.addCulture(["недела","понеделник","вторник","среда","четврток","петок","сабота"],["mk"],!1),h.addCulture(["неделя","понеделник","вторник","сряда","четвъртък","петък","събота"],["bg"],!1),h.addCulture(["Ням","Даваа","Мягмар","Лхагва","Пүрэв","Баасан","Бямба"],["mn"],!1),h.addCulture(["อาทิตย์","จันทร์","อังคาร","พุธ","พฤหัสบดี","ศุกร์","เสาร์"],["th"],!1)},n=h,(u.StiDayOfWeekToStrHelper=n).initialize()}(Stimulsoft=Stimulsoft||{}),function(t){var e,n,r,i,a;function o(){}n=e=t.Data||(t.Data={}),i=r=n.Functions||(n.Functions={}),a=t.System.StiString,o.isEligable=function(t,e){if(a.isNullOrWhiteSpace(e))return!1;return(null==t?void 0:t.stimulsoft.is(i.StiMonth))||(null==t?void 0:t.stimulsoft.is(i.StiDayOfWeek))},o.convert=function(t,e){if(a.isNullOrWhiteSpace(e))return null;return null!=t&&t.stimulsoft.is(i.StiMonth)?i.Funcs.toProperCase(i.StiMonthToStrHelper.monthName5(t,e)):null!=t&&t.stimulsoft.is(i.StiDayOfWeek)?i.Funcs.toProperCase(i.StiDayOfWeekToStrHelper.dayOfWeek3(t,e)):null},n=o,i.StiExtValueConverter=n}(Stimulsoft=Stimulsoft||{}),function(t){var e,n,r,u,i,a,o,s,l,c;function h(){}n=e=t.Data||(t.Data={}),u=r=n.Functions||(n.Functions={}),i=t.System.Collections.List,a=t.System.Collections.Hashtable,o=t.System.DateTime,s=t.Base.Localization.StiLocalization,l=t.System.Globalization.CultureInfo,c=t.System.StiString,h.monthName=function(t){return t.toString("MMMM")},h.monthName2=function(t,e){if(!e)return h.monthName(t);switch(t.month){case 1:return s.get("A_WebViewer","MonthJanuary");case 2:return s.get("A_WebViewer","MonthFebruary");case 3:return s.get("A_WebViewer","MonthMarch");case 4:return s.get("A_WebViewer","MonthApril");case 5:return s.get("A_WebViewer","MonthMay");case 6:return s.get("A_WebViewer","MonthJune");case 7:return s.get("A_WebViewer","MonthJuly");case 8:return s.get("A_WebViewer","MonthAugust");case 9:return s.get("A_WebViewer","MonthSeptember");case 10:return s.get("A_WebViewer","MonthOctober");case 11:return s.get("A_WebViewer","MonthNovember");case 12:return s.get("A_WebViewer","MonthDecember")}return h.monthName(t)},h.monthName3=function(e,n){var r=e.month,i="";try{var t,i=l.cultures[n].dateTimeFormat.monthNames[r]}catch(t){var e=n.toLowerCase();if(!h.cultureIndexes.containsKey(e))throw new Error("Function 'MonthName': There is no data for specified culture '"+n+"'.");var e=h.cultureIndexes.get(e);r<h.months[e].length&&(i=h.months[e][r-1]),h.defaultUpperCaseList[e]&&(i=i.substring(0,1).toUpperCase()+i.substring(1))}return i},h.monthName4=function(t,e,n){var e=h.monthName3(t,e).toLowerCase();return n?e.substring(0,1).toUpperCase()+e.substring(1):e},h.monthName5=function(t,e){return this.monthName3(new o(0,t.value,0),e)},h.addCulture=function(t,e,n){var r,i,a=h.months.count2();h.months.add(t),h.defaultUpperCaseList.add(n);try{for(var o=__values(e),s=o.next();!s.done;s=o.next()){var u=s.value;h.cultureIndexes.set(u.toLowerCase(),a)}}catch(t){r={error:t}}finally{try{s&&!s.done&&(i=o.return)&&i.call(o)}finally{if(r)throw r.error}}},h.month=function(t){var e,n;if(c.isNullOrWhiteSpace(t))return null;t=t.toLowerCase().trim();try{for(var r=__values(this.months),i=r.next();!i.done;i=r.next())for(var a=i.value,o=0,s;o<a.length;o++){if(a[o].toLowerCase()==t)return u.StiMonth[o+1]}}catch(t){e={error:t}}finally{try{i&&!i.done&&(n=r.return)&&n.call(r)}finally{if(e)throw e.error}}return null},h.initialize=function(){h.months=new i,h.defaultUpperCaseList=new i,h.cultureIndexes=new a,h.addCulture(["January","February","March","April","May","June","July","August","September","October","November","December"],["en"],!1),h.addCulture(["Январь","Февраль","Март","Апрель","Май","Июнь","Июль","Август","Сентябрь","Октябрь","Ноябрь","Декабрь"],["ru"],!1),h.addCulture(["enero","febrero","marzo","abril","mayo","junio","julio","agosto","septiembre","octubre","noviembre","diciembre"],["es"],!1),h.addCulture(["gennaio","febbraio","marzo","aprile","maggio","giugno","luglio","agosto","settembre","ottobre","novembre","dicembre"],["it"],!1),h.addCulture(["ianuarie","februarie","martie","aprilie","mai","iunie","iulie","august","septembrie","octombrie","noiembrie","decembrie"],["ro"],!1),h.addCulture(["Janeiro","Fevereiro","Março","Abril","Maio","Junho","Julho","Agosto","Setembro","Outubro","Novembro","Dezembro"],["pt"],!1),h.addCulture(["Jannar","Frar","Marzu","April","Mejju","Ġunju","Lulju","Awissu","Settembru","Ottubru","Novembru","Diċembru"],["mt"],!1),h.addCulture(["január","február","március","április","május","június","július","augusztus","szeptember","október","november","december"],["hu"],!1),h.addCulture(["január","február","marec","apríl","máj","jún","júl","august","september","október","november","december"],["sk"],!1),h.addCulture(["janúar","febrúar","mars","apríl","maí","júní","júlí","ágúst","september","október","nóvember","desember"],["is"],!1),h.addCulture(["januar","februar","mars","apríl","mai","juni","juli","august","september","oktober","november","desember"],["fo"],!1),h.addCulture(["Januar","Februar","März","April","Mai","Juni","Juli","August","September","Oktober","November","Dezember"],["de"],!1),h.addCulture(["januari","februari","maart","april","mei","juni","juli","augustus","september","oktober","november","december"],["nl"],!1),h.addCulture(["Januari","Februari","Maret","April","Mei","Juni","Juli","Agustus","September","Oktober","Nopember","Desember"],["id"],!1),h.addCulture(["janvāris","februāris","marts","aprīlis","maijs","jūnijs","jūlijs","augusts","septembris","oktobris","novembris","decembris"],["lv"],!1),h.addCulture(["janvier","février","mars","avril","mai","juin","juillet","août","septembre","octobre","novembre","décembre"],["fr"],!1),h.addCulture(["leden","únor","březen","duben","květen","červen","červenec","srpen","září","říjen","listopad","prosinec"],["cs"],!1),h.addCulture(["Mutarama","Gashyantare","Werurwe","Mata","Gicurasi","Kamena","Nyakanga","Kanama","Nzeli","Ukwakira","Ugushyingo","Ukuboza"],["rw"],!1),h.addCulture(["Ocak","Şubat","Mart","Nisan","Mayıs","Haziran","Temmuz","Ağustos","Eylül","Ekim","Kasım","Aralık"],["tr"],!1),h.addCulture(["ođđajagemánnu","guovvamánnu","njukčamánnu","cuoŋománnu","miessemánnu","geassemánnu","suoidnemánnu","borgemánnu","čakčamánnu","golggotmánnu","skábmamánnu","juovlamánnu"],["se"],!1),h.addCulture(["sausis","vasaris","kovas","balandis","gegužė","birželis","liepa","rugpjūtis","rugsėjis","spalis","lapkritis","gruodis"],["lt"],!1),h.addCulture(["siječanj","veljača","ožujak","travanj","svibanj","lipanj","srpanj","kolovoz","rujan","listopad","studeni","prosinac"],["hr"],!1),h.addCulture(["styczeń","luty","marzec","kwiecień","maj","czerwiec","lipiec","sierpień","wrzesień","październik","listopad","grudzień"],["pl"],!1),h.addCulture(["tammikuu","helmikuu","maaliskuu","huhtikuu","toukokuu","kesäkuu","heinäkuu","elokuu","syyskuu","lokakuu","marraskuu","joulukuu"],["fi"],!1),h.addCulture(["јануари","февруари","март","април","мај","јуни","јули","август","септември","октомври","ноември","декември"],["mk"],!1),h.addCulture(["Януари","Февруари","Март","Април","Май","Юни","Юли","Август","Септември","Октомври","Ноември","Декември"],["bg"],!1),h.addCulture(["มกราคม","กุมภาพันธ์","มีนาคม","เมษายน","พฤษภาคม","มิถุนายน","กรกฎาคม","สิงหาคม","กันยายน","ตุลาคม","พฤศจิกายน","ธันวาคม"],["th"],!1)},n=h,(u.StiMonthToStrHelper=n).initialize()}(Stimulsoft=Stimulsoft||{}),function(t){var e,n,r,i,a,o,s,u,l;function c(){}n=e=t.Data||(t.Data={}),i=r=n.Helpers||(n.Helpers={}),a=t.System.Data.DataTable,o=t.System.Type,s=t.System.Data.DataColumn,u=t.Base.StiConvert,l=t.Data.Extensions.DataTableExt,c.toNetTable=function(t,r){if(void 0===r&&(r=null),null==t)return null;var i=new a,e=t.rows.firstOrDefault(),n=0;return t.meters.forEach(function(t){i.columns.add(new s(l.getUniqueName(i,t),c.getDataType(e,n,r))),n++}),t.rows.forEach(function(t){var e=i.newRow();try{for(var n=0;n<t.length;n++){if(n>=r.length)continue;try{null==t[n]?t[n]=null:e.sett(n,u.changeType(t[n],i.columns.getByIndex(n).dataType))}catch(t){}}}catch(t){}i.rows.add(e)}),i},c.getDataType=function(t,e,n){var r,r;if(void 0===n&&(n=null),null!=n&&e<n.length)return r=n[e];return r=null!=t?o.getType(t[e]):Object},n=c,i.StiDataTableConverter=n}(Stimulsoft=Stimulsoft||{}),function(t){var e,n,r,i,a,o;function s(){}n=e=t.Data||(t.Data={}),i=r=n.Helpers||(n.Helpers={}),a=t.System.StiString,o=t.System.Collections.List,s.getMany=function(){for(var t=[],e=0;e<arguments.length;e++)t[e]=arguments[e];if(null==t)return new o;return t.stimulsoft.toList().where(function(t){return null!=t}).selectMany(this.getSingle,this).distinct().toList()},s.getMany2=function(t){if(null==t)return new o;return t.where(function(t){return null!=t}).selectMany(this.getSingle,this).distinct()},s.getSingle=function(t){return this.getSingle2(t.expression)},s.getSingle2=function(t){if(a.isNullOrWhiteSpace(t))return new o;try{return i.StiExpressionHelper.getArguments(t)}catch(t){}return new o},n=s,i.StiUsedDataHelper=n}(Stimulsoft=Stimulsoft||{}),function(t){var e,n,r,t;function i(){}n=e=t.Data||(t.Data={}),t=r=n.Parsers||(n.Parsers={}),Object.defineProperty(i.prototype,"function",{get:function(){return this._function},set:function(t){this._function=t},enumerable:!1,configurable:!0}),Object.defineProperty(i.prototype,"columnName",{get:function(){return this._columnName},set:function(t){this._columnName=t},enumerable:!1,configurable:!0}),n=i,t.StiFunctionColumnPair=n}(Stimulsoft=Stimulsoft||{});;
var __values=this&&this.__values||function(t){var e="function"==typeof Symbol&&Symbol.iterator,r=e&&t[e],n=0;if(r)return r.call(t);if(t&&"number"==typeof t.length)return{next:function(){return t&&n>=t.length&&(t=void 0),{value:t&&t[n++],done:!t}}};throw new TypeError(e?"Object is not iterable.":"Symbol.iterator is not defined.")},__extends=this&&this.__extends||function(){var n=function(t,e){return(n=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var r in e)e.hasOwnProperty(r)&&(t[r]=e[r])})(t,e)};return function(t,e){function r(){this.constructor=t}n(t,e),t.prototype=null===e?Object.create(e):(r.prototype=e.prototype,new r)}}(),__decorate=this&&this.__decorate||function(t,e,r,n){var i=arguments.length,o=i<3?e:null===n?n=Object.getOwnPropertyDescriptor(e,r):n,a;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)o=Reflect.decorate(t,e,r,n);else for(var s=t.length-1;0<=s;s--)(a=t[s])&&(o=(i<3?a(o):3<i?a(e,r,o):a(e,r))||o);return 3<i&&o&&Object.defineProperty(e,r,o),o},__awaiter=this&&this.__awaiter||function(t,a,r,s){function l(e){return e instanceof r?e:new r(function(t){t(e)})}return new(r=r||Promise)(function(e,r){function n(t){try{o(s.next(t))}catch(t){r(t)}}function i(t){try{o(s["throw"](t))}catch(t){r(t)}}function o(t){t.done?e(t.value):l(t.value).then(n,i)}o((s=s.apply(t,a||[])).next())})},__generator=this&&this.__generator||function(t,r){function e(e){return function(t){return n([e,t])}}function n(e){if(o)throw new TypeError("Generator is already executing.");while(i)try{if(o=1,a&&(s=2&e[0]?a["return"]:e[0]?a["throw"]||((s=a["return"])&&s.call(a),0):a.next)&&!(s=s.call(a,e[1])).done)return s;switch(a=0,s&&(e=[2&e[0],s.value]),e[0]){case 0:case 1:s=e;break;case 4:return i.label++,{value:e[1],done:!1};case 5:i.label++,a=e[1],e=[0];continue;case 7:e=i.ops.pop(),i.trys.pop();continue;default:if(!(s=0<(s=i.trys).length&&s[s.length-1])&&(6===e[0]||2===e[0])){i=0;continue}if(3===e[0]&&(!s||e[1]>s[0]&&e[1]<s[3])){i.label=e[1];break}if(6===e[0]&&i.label<s[1]){i.label=s[1],s=e;break}if(s&&i.label<s[2]){i.label=s[2],i.ops.push(e);break}s[2]&&i.ops.pop(),i.trys.pop();continue}e=r.call(t,i)}catch(t){e=[6,t],a=0}finally{o=s=0}if(5&e[0])throw e[1];return{value:e[0]?e[1]:void 0,done:!0}}var i={label:0,sent:function(){if(1&s[0])throw s[1];return s[1]},trys:[],ops:[]},o,a,s,l,l={next:e(0),throw:e(1),return:e(2)};return"function"==typeof Symbol&&(l[Symbol.iterator]=function(){return this}),l},__read=this&&this.__read||function(t,e){var r="function"==typeof Symbol&&t[Symbol.iterator];if(!r)return t;var n=r.call(t),i,o=[],a;try{while((void 0===e||0<e--)&&!(i=n.next()).done)o.push(i.value)}catch(t){a={error:t}}finally{try{i&&!i.done&&(r=n["return"])&&r.call(n)}finally{if(a)throw a.error}}return o},__spread=this&&this.__spread||function(){for(var t=[],e=0;e<arguments.length;e++)t=t.concat(__read(arguments[e]));return t},Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,StiOptions,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft;!function(t){var e,r,n,t;function i(){}r=e=t.Report||(t.Report={}),t=n=r.BarCodes||(r.BarCodes={}),i.copy=function(t,e,r,n,i){for(var o=0;o<r.length;o++)void 0===r[o]&&(r[o]=0);for(var o=0;o<i;o++)r[n+o]=t[e+o]},r=i,t.ArrayHelper=r}(Stimulsoft=Stimulsoft||{}),function(r){var t,e,n,i,o;function a(){this.sizeInBits=0,this.array=o.create(Number,32)}e=t=r.Report||(r.Report={}),i=n=e.BarCodes||(e.BarCodes={}),o=r.System.StiArray,a.prototype.at=function(t){var e;return(255&this.array[t>>3])>>7-(7&t)&1},a.prototype.size=function(){return this.sizeInBits},a.prototype.sizeInBytes=function(){return this.sizeInBits+7>>3},a.prototype.appendBit=function(t){var e=7&this.sizeInBits;0==e&&(this.appendByte(0),this.sizeInBits-=8),this.array[this.sizeInBits>>3]|=t<<7-e,++this.sizeInBits},a.prototype.appendBits=function(t,e){var r=e,n,n;while(0<r){0==(7&this.sizeInBits)&&8<=r?(n=t>>r-8&255,this.appendByte(n),r-=8):(n=t>>r-1&1,this.appendBit(n),--r)}},a.prototype.appendBitVector=function(t){for(var e=t.size(),r=0;r<e;++r)this.appendBit(t.at(r))},a.prototype.xor=function(t){for(var e=this.sizeInBits+7>>3,r=0;r<e;++r)this.array[r]^=t.array[r]},a.prototype.toString=function(){for(var t=new r.System.Text.StringBuilder,e=0;e<this.sizeInBits;e++)0==this.at(e)?t.append("0"):1==this.at(e)&&t.append("1");return t.toString()},a.prototype.getArray=function(){return this.array},a.prototype.appendByte=function(t){var e;this.sizeInBits>>3==this.array.length&&(e=new Array(this.array.length<<1),i.ArrayHelper.copy(this.array,0,e,0,this.array.length),this.array=e),this.array[this.sizeInBits>>3]=t,this.sizeInBits+=8},e=a,i.BitVector=e}(Stimulsoft=Stimulsoft||{}),function(t){var e,r,n,t;function i(t,e){this.dataBytes=t,this.errorCorrectionBytes=e}r=e=t.Report||(t.Report={}),t=n=r.BarCodes||(r.BarCodes={}),i.prototype.getDataBytes=function(){return this.dataBytes},i.prototype.getErrorCorrectionBytes=function(){return this.errorCorrectionBytes},r=i,t.BlockPair=r}(Stimulsoft=Stimulsoft||{}),function(t){var e,t,r,n;function i(t,e){void 0===t&&(t=0),void 0===e&&(e=null),null==e?(this._bytes=new Array(this._size),this._size=t):(this._bytes=e,this._size=this._bytes.length)}t=e=t.Report||(t.Report={}),n=r=t.BarCodes||(t.BarCodes={}),i.prototype.at=function(t){return 255&this._bytes[t]},i.prototype.set=function(t,e){this._bytes[t]=e},i.prototype.size=function(){return this._size},i.prototype.isEmpty=function(){return 0==this._size},i.prototype.appendByte=function(t){var e;(0==this._size||this._size>=this._bytes.length)&&(e=Math.max(i.INITIAL_SIZE,this._size<<1),this.reserve(e)),this._bytes[this._size]=t,this._size++},i.prototype.reserve=function(t){var t;(null==this._bytes||this._bytes.length<t)&&(t=new Array(t),null!=this._bytes&&n.ArrayHelper.copy(this._bytes,0,t,0,this._bytes.length),this._bytes=t)},i.prototype.set1=function(t,e,r){this._bytes=new Array(r),this._size=r;for(var n=0;n<r;n++)this._bytes[n]=t[e+n]},i.INITIAL_SIZE=32,t=i,n.ByteArray=t}(Stimulsoft=Stimulsoft||{}),function(n){var t,e,r,i,o;function a(t,e){this._bytes=o.create(n.System.SByte,e);for(var r=0;r<e;r++)this._bytes[r]=o.create(n.System.SByte,t);this._width=t,this._height=e}e=t=n.Report||(n.Report={}),i=r=e.BarCodes||(e.BarCodes={}),o=n.System.StiArray,a.prototype.getValueString=function(){for(var t="",e=0;e<this._width;e++)for(var r=0;r<this._height;r++)t+=this._bytes[e][r].toString();return t},a.prototype.getHeight=function(){return this._height},a.prototype.getWidth=function(){return this._width},a.prototype.get=function(t,e){return this._bytes[e][t]},a.prototype.getArray=function(){return this._bytes},a.prototype.set=function(t,e,r){this._bytes[e][t]=r},a.prototype.set2=function(t,e,r){this._bytes[e][t]=r},a.prototype.clear=function(t){for(var e=0;e<this._height;e++)for(var r=0;r<this._width;r++)this._bytes[e][r]=t},e=a,i.ByteMatrix=e}(Stimulsoft=Stimulsoft||{}),function(t){var e,r,n,i,o;function l(t,e){this._value=t,this._encodingName=e}r=e=t.Report||(t.Report={}),i=n=r.BarCodes||(r.BarCodes={}),o=t.System.Collections.Hashtable,Object.defineProperty(l,"NAME_TO_ECI",{get:function(){return null==this._name_to_eci&&l.Initialize(),this._name_to_eci},set:function(t){this._name_to_eci=t},enumerable:!1,configurable:!0}),l.Initialize=function(){var t=new o;l.addCharacterSet(0,"Cp437",t),l.addCharacterSet(1,"ISO-8859-1",t),l.addCharacterSet(2,"Cp437",t),l.addCharacterSet(3,"ISO-8859-1",t),l.addCharacterSet(4,"ISO-8859-2",t),l.addCharacterSet(5,"ISO-8859-3",t),l.addCharacterSet(6,"ISO-8859-4",t),l.addCharacterSet(7,"ISO-8859-5",t),l.addCharacterSet(8,"ISO-8859-6",t),l.addCharacterSet(9,"ISO-8859-7",t),l.addCharacterSet(10,"ISO-8859-8",t),l.addCharacterSet(11,"ISO-8859-9",t),l.addCharacterSet(13,"ISO-8859-11",t),l.addCharacterSet(15,"ISO-8859-13",t),l.addCharacterSet(17,"ISO-8859-15",t),l.addCharacterSet(20,"Shift_JIS",t),l.addCharacterSet(21,"Windows-1250",t),l.addCharacterSet(22,"Windows-1251",t),l.addCharacterSet(23,"Windows-1252",t),l.addCharacterSet(24,"Windows-1256",t),l.addCharacterSet(26,"UTF-8",t),this._name_to_eci=t},l.prototype.getEncodingName=function(){return this._encodingName},l.prototype.getValue=function(){return this._value},l.addCharacterSet=function(t,e,r){var t=new l(t,e);r.set(e,t)},l.getCharacterSetECIByName=function(t){return this.NAME_TO_ECI.get(t)},l.GetEncodingByNumber=function(t,e){var r,n;try{for(var i=__values(this.NAME_TO_ECI.values),o=i.next();!o.done;o=i.next()){var a,s=o.value.stimulsoft.as(l);if(s._value==t)return s._encodingName}}catch(t){r={error:t}}finally{try{o&&!o.done&&(n=i.return)&&n.call(i)}finally{if(r)throw r.error}}return e},l.lockNAME_TO_ECI=new Object,l._name_to_eci=null,r=l,i.CharacterSetECI=r}(Stimulsoft=Stimulsoft||{}),function(t){var e,r,n,t;function i(t,e,r){this._ordinal=t,this._bits=e,this._name=r}r=e=t.Report||(t.Report={}),t=n=r.BarCodes||(r.BarCodes={}),i.prototype.ordinal=function(){return this._ordinal},i.prototype.getBits=function(){return this._bits},i.prototype.getName=function(){return this._name},i.prototype.toString=function(){return this._name},i.forBits=function(t){switch(t){case 0:return this.M;case 1:return this.L;case 2:return this.H;case 3:return this.Q}return null},i.L=new i(0,1,"L"),i.M=new i(1,0,"M"),i.Q=new i(2,3,"Q"),i.H=new i(3,2,"H"),r=i,t.ErrorCorrectionLevel=r}(Stimulsoft=Stimulsoft||{}),function(t){var e,t,r,n;function l(t){this.FORMAT_INFO_MASK_QR=21522,this.errorCorrectionLevel=n.ErrorCorrectionLevel.forBits(t>>3&3),this.dataMask=7&t}t=e=t.Report||(t.Report={}),n=r=t.BarCodes||(t.BarCodes={}),l.numBitsDiffering=function(t,e){return t^=e,this.BITS_SET_IN_HALF_BYTE[15&t]+this.BITS_SET_IN_HALF_BYTE[t>>4&15]+this.BITS_SET_IN_HALF_BYTE[t>>8&15]+this.BITS_SET_IN_HALF_BYTE[t>>12&15]+this.BITS_SET_IN_HALF_BYTE[t>>16&15]+this.BITS_SET_IN_HALF_BYTE[t>>20&15]+this.BITS_SET_IN_HALF_BYTE[t>>24&15]+this.BITS_SET_IN_HALF_BYTE[t>>28&15]},l.decodeFormatInformation=function(t,e){var r=l.doDecodeFormatInformation(t,e);if(null!=r)return r;return this.doDecodeFormatInformation(21522^t,21522^e)},l.doDecodeFormatInformation=function(t,e){for(var r=2147483647,n=0,i=0;i<this.FORMAT_INFO_DECODE_LOOKUP.stimulsoft.getLength(0);i++){var o=this.FORMAT_INFO_DECODE_LOOKUP[i],a=o[0];if(a==t||a==e)return new l(o[1]);var s=l.numBitsDiffering(t,a);s<r&&(n=o[1],r=s),t!=e&&(s=l.numBitsDiffering(e,a))<r&&(n=o[1],r=s)}if(r<=3)return new l(n);return null},l.prototype.getErrorCorrectionLevel=function(){return this.errorCorrectionLevel},l.prototype.getDataMask=function(){return this.dataMask},l.prototype.equals=function(t){if(!(t instanceof l))return!1;var e;return this.errorCorrectionLevel==t.errorCorrectionLevel&&this.dataMask==t.dataMask},l.FORMAT_INFO_DECODE_LOOKUP=[[21522,0],[20773,1],[24188,2],[23371,3],[17913,4],[16590,5],[20375,6],[19104,7],[30660,8],[29427,9],[32170,10],[30877,11],[26159,12],[25368,13],[27713,14],[26998,15],[5769,16],[5054,17],[7399,18],[6608,19],[1890,20],[597,21],[3340,22],[2107,23],[13663,24],[12392,25],[16177,26],[14854,27],[9396,28],[8579,29],[11994,30],[11245,31]],l.BITS_SET_IN_HALF_BYTE=[0,1,1,2,1,2,2,3,1,2,2,3,2,3,3,4],t=l,n.FormatInformation=t}(Stimulsoft=Stimulsoft||{}),function(t){var e,t,r,n;function i(t){this._zero=null,this._one=null,this._expTable=new Array(256),this._logTable=new Array(256);for(var e=1,r=0;r<256;r++)this._expTable[r]=e,256<=(e<<=1)&&(e^=t);for(var r=0;r<255;r++)this._logTable[this._expTable[r]]=r}t=e=t.Report||(t.Report={}),n=r=t.BarCodes||(t.BarCodes={}),i.prototype.getZero=function(){return new n.GF256Poly(this,[0])},i.prototype.getOne=function(){return new n.GF256Poly(this,[1])},i.prototype.buildMonomial=function(t,e){if(0==e)return new n.GF256Poly(this,[0]);var t=new Array(t+1);return t[0]=e,new n.GF256Poly(this,t)},i.addOrSubtract=function(t,e){return t^e},i.prototype.exp=function(t){return this._expTable[t]},i.prototype.log=function(t){return this._logTable[t]},i.prototype.inverse=function(t){return this._expTable[255-this._logTable[t]]},i.prototype.multiply=function(t,e){if(0==t||0==e)return 0;if(1==t)return e;if(1==e)return t;return this._expTable[(this._logTable[t]+this._logTable[e])%255]},i.QR_CODE_FIELD=new i(285),i.DATA_MATRIX_FIELD=new i(301),t=i,n.GF256=t}(Stimulsoft=Stimulsoft||{}),function(t){var e,t,r,u;function c(t,e){this._field=t;var r=e.length;if(1<r&&0==e[0]){var n=1;while(n<r&&0==e[n])n++;n==r?this._coefficients=t.getZero()._coefficients:(this._coefficients=new Array(r-n),u.ArrayHelper.copy(e,n,this._coefficients,0,this._coefficients.length))}else this._coefficients=e}t=e=t.Report||(t.Report={}),u=r=t.BarCodes||(t.BarCodes={}),c.prototype.getCoefficients=function(){return this._coefficients},c.prototype.getDegree=function(){return this._coefficients.length-1},c.prototype.isZero=function(){return 0==this._coefficients[0]},c.prototype.getCoefficient=function(t){return this._coefficients[this._coefficients.length-1-t]},c.prototype.evaluateAt=function(t){if(0==t)return this.getCoefficient(0);var e=this._coefficients.length;if(1==t){for(var r=0,n=0;n<e;n++)r=u.GF256.addOrSubtract(r,this._coefficients[n]);return r}for(var i=this._coefficients[0],n=1;n<e;n++)i=u.GF256.addOrSubtract(this._field.multiply(t,i),this._coefficients[n]);return i},c.prototype.addOrSubtract=function(t){if(this.isZero())return t;if(t.isZero())return this;var e=this._coefficients,r=t._coefficients,t,e,r;e.length>r.length&&(t=e,e=r,r=t);var n=new Array(r.length),i=r.length-e.length;u.ArrayHelper.copy(r,0,n,0,i);for(var o=i;o<r.length;o++)n[o]=u.GF256.addOrSubtract(e[o-i],r[o]);return new c(this._field,n)},c.prototype.multiply=function(t){if(this.isZero()||t.isZero())return this._field.getZero();for(var e=this._coefficients,r=e.length,n=t._coefficients,i=n.length,o=new Array(r+(i-1)),a=0;a<r;a++)for(var s=e[a],l=0;l<i;l++)o[a+l]=u.GF256.addOrSubtract(o[a+l],this._field.multiply(s,n[l]));return new c(this._field,o)},c.prototype.multiply1=function(t){if(0==t)return this._field.getZero();if(1==t)return this;for(var e=this._coefficients.length,r=new Array(e),n=0;n<e;n++)r[n]=this._field.multiply(this._coefficients[n],t);return new c(this._field,r)},c.prototype.multiplyByMonomial=function(t,e){if(0==e)return this._field.getZero();for(var r=this._coefficients.length,n=new Array(r+t),i=0;i<r;i++)n[i]=this._field.multiply(this._coefficients[i],e);return new c(this._field,n)},c.prototype.divide=function(t){var e=this._field.getZero(),r=this,n=t.getCoefficient(t.getDegree()),i=this._field.inverse(n),o;while(r.getDegree()>=t.getDegree()&&!r.isZero()){9==r.getDegree()&&(o=1);var a=r.getDegree()-t.getDegree(),s=this._field.multiply(r.getCoefficient(r.getDegree()),i),l=t.multiplyByMonomial(a,s),s=this._field.buildMonomial(a,s),e=e.addOrSubtract(s),r=r.addOrSubtract(l)}return[e,r]},t=c,u.GF256Poly=t}(Stimulsoft=Stimulsoft||{}),function(t){var e,r,n,t;function i(){}r=e=t.Report||(t.Report={}),t=n=r.BarCodes||(r.BarCodes={}),i.applyMaskPenaltyRule1=function(t){return i.ApplyMaskPenaltyRule1Internal(t,!0)+i.ApplyMaskPenaltyRule1Internal(t,!1)},i.applyMaskPenaltyRule2=function(t){for(var e=0,r=t.getArray(),n=t.getWidth(),i=t.getHeight(),o=0;o<i-1;o++)for(var a=0;a<n-1;a++){var s=r[o][a];s==r[o][a+1]&&s==r[o+1][a]&&s==r[o+1][a+1]&&(e+=3)}return e},i.applyMaskPenaltyRule3=function(t){for(var e=0,r=t.getArray(),n=t.getWidth(),i=t.getHeight(),o=0;o<i;o++)for(var a=0;a<n;a++)a+6<n&&1==r[o][a]&&0==r[o][a+1]&&1==r[o][a+2]&&1==r[o][a+3]&&1==r[o][a+4]&&0==r[o][a+5]&&1==r[o][a+6]&&(a+10<n&&0==r[o][a+7]&&0==r[o][a+8]&&0==r[o][a+9]&&0==r[o][a+10]||0<=a-4&&0==r[o][a-1]&&0==r[o][a-2]&&0==r[o][a-3]&&0==r[o][a-4])&&(e+=40),o+6<i&&1==r[o][a]&&0==r[o+1][a]&&1==r[o+2][a]&&1==r[o+3][a]&&1==r[o+4][a]&&0==r[o+5][a]&&1==r[o+6][a]&&(o+10<i&&0==r[o+7][a]&&0==r[o+8][a]&&0==r[o+9][a]&&0==r[o+10][a]||0<=o-4&&0==r[o-1][a]&&0==r[o-2][a]&&0==r[o-3][a]&&0==r[o-4][a])&&(e+=40);return e},i.applyMaskPenaltyRule4=function(t){for(var e=0,r=t.getArray(),n=t.getWidth(),i=t.getHeight(),o=0;o<i;o++)for(var a=0;a<n;a++)1==r[o][a]&&e++;var s,t=e/(t.getHeight()*t.getWidth());return Math.abs(100*t-50)/(5*10)},i.getDataMaskBit=function(t,e,r){var n,i;switch(t){case 0:i=r+e&1;break;case 1:i=1&r;break;case 2:i=e%3;break;case 3:i=(r+e)%3;break;case 4:i=(r>>1)+e/3&1;break;case 5:i=(1&(n=r*e))+n%3;break;case 6:i=(1&(n=r*e))+n%3&1;break;case 7:i=(n=r*e)%3+(r+e&1)&1;break}return 0==i},i.ApplyMaskPenaltyRule1Internal=function(t,e){for(var r=0,n=0,i=-1,o=e?t.getHeight():t.getWidth(),a=e?t.getWidth():t.getHeight(),s=t.getArray(),l=0;l<o;++l){for(var u=0;u<a;++u){var c=e?s[l][u]:s[u][l];c==i?5==(n+=1)?r+=3:5<n&&(r+=1):(n=1,i=c)}n=0}return r},r=i,t.MaskUtil=r}(Stimulsoft=Stimulsoft||{}),function(t){var e,t,r,p;function h(){}t=e=t.Report||(t.Report={}),p=r=t.BarCodes||(t.BarCodes={}),h.ClearMatrix=function(t){t.clear(-1)},h.BuildMatrix=function(t,e,r,n,i){h.ClearMatrix(i),h.EmbedBasicPatterns(r,i),h.EmbedTypeInfo(e,n,i),h.MaybeEmbedVersionInfo(r,i),h.EmbedDataBits(t,n,i)},h.EmbedBasicPatterns=function(t,e){h.EmbedPositionDetectionPatternsAndSeparators(e),h.EmbedDarkDotAtLeftBottomCorner(e),h.MaybeEmbedPositionAdjustmentPatterns(t,e),h.EmbedTimingPatterns(e)},h.EmbedTypeInfo=function(t,e,r){var n=new p.BitVector;h.MakeTypeInfoBits(t,e,n);for(var i=0;i<n.size();i++){var o=n.at(n.size()-1-i),a=this.TYPE_INFO_COORDINATES[i][0],s=this.TYPE_INFO_COORDINATES[i][1],l,s,l,s;r.set(a,s,o),s=i<8?(l=r.getWidth()-i-1,8):(l=8,r.getHeight()-7+(i-8)),r.set(l,s,o)}},h.MaybeEmbedVersionInfo=function(t,e){if(t<7)return;var r=new p.BitVector;h.MakeVersionInfoBits(t,r);for(var n=6*3-1,i=0;i<6;++i)for(var o=0;o<3;++o){var a=r.at(n);n--,e.set(i,e.getHeight()-11+o,a),e.set(e.getHeight()-11+o,i,a)}},h.EmbedDataBits=function(t,e,r){var n=0,i=-1,o=r.getWidth()-1,a=r.getHeight()-1;while(0<o){6==o&&--o;while(0<=a&&a<r.getHeight()){for(var s=0;s<2;++s){var l=o-s,u;if(10==l&&8==a&&(u=1),!h.IsEmpty(r.get(l,a)))continue;var c=void 0;n<t.size()?(c=t.at(n),++n):c=0,-1!=e&&p.MaskUtil.getDataMaskBit(e,l,a)&&(c^=1),r.set(l,a,c)}a+=i}a+=i=-i,o-=2}},h.FindMSBSet=function(t){var e=t,r=0;while(0!=e)e>>=1,++r;return r},h.CalculateBCHCode=function(t,e){var r=h.FindMSBSet(e);t<<=r-1;while(this.FindMSBSet(t)>=r)t^=e<<this.FindMSBSet(t)-r;return t},h.MakeTypeInfoBits=function(t,e,r){var e=t.getBits()<<3|e;r.appendBits(e,5);var e=h.CalculateBCHCode(e,this.TYPE_INFO_POLY);r.appendBits(e,10);var e=new p.BitVector;e.appendBits(this.TYPE_INFO_MASK_PATTERN,15),r.xor(e)},h.MakeVersionInfoBits=function(t,e){e.appendBits(t,6);var t=h.CalculateBCHCode(t,this.VERSION_INFO_POLY);e.appendBits(t,12)},h.IsEmpty=function(t){return-1==t},h.IsValidValue=function(t){return-1==t||0==t||1==t},h.EmbedTimingPatterns=function(t){for(var e=8;e<t.getWidth()-8;e++){var r=Math.floor((e+1)%2);h.IsEmpty(t.get(e,6))&&t.set(e,6,r),h.IsEmpty(t.get(6,e))&&t.set(6,e,r)}},h.EmbedDarkDotAtLeftBottomCorner=function(t){t.set(8,t.getHeight()-8,1)},h.EmbedHorizontalSeparationPattern=function(t,e,r){for(var n=0;n<8;++n)r.set(t+n,e,this.HORIZONTAL_SEPARATION_PATTERN[0][n])},h.EmbedVerticalSeparationPattern=function(t,e,r){for(var n=0;n<7;++n)r.set(t,e+n,this.VERTICAL_SEPARATION_PATTERN[n][0])},h.EmbedPositionAdjustmentPattern=function(t,e,r){for(var n=0;n<5;n++)for(var i=0;i<5;i++)r.set(t+i,e+n,this.POSITION_ADJUSTMENT_PATTERN[n][i])},h.EmbedPositionDetectionPattern=function(t,e,r){for(var n=0;n<7;n++)for(var i=0;i<7;i++)r.set(t+i,e+n,this.POSITION_DETECTION_PATTERN[n][i])},h.EmbedPositionDetectionPatternsAndSeparators=function(t){var e=this.POSITION_DETECTION_PATTERN[0].length;h.EmbedPositionDetectionPattern(0,0,t),h.EmbedPositionDetectionPattern(t.getWidth()-e,0,t),h.EmbedPositionDetectionPattern(0,t.getWidth()-e,t);var e=this.HORIZONTAL_SEPARATION_PATTERN[0].length;h.EmbedHorizontalSeparationPattern(0,e-1,t),h.EmbedHorizontalSeparationPattern(t.getWidth()-e,e-1,t),h.EmbedHorizontalSeparationPattern(0,t.getWidth()-e,t);var e=this.VERTICAL_SEPARATION_PATTERN.length;h.EmbedVerticalSeparationPattern(e,0,t),h.EmbedVerticalSeparationPattern(t.getHeight()-e-1,0,t),h.EmbedVerticalSeparationPattern(e,t.getHeight()-e,t)},h.MaybeEmbedPositionAdjustmentPatterns=function(t,e){if(t<2)return;for(var t=t-1,r=this.POSITION_ADJUSTMENT_PATTERN_COORDINATE_TABLE[t],n=this.POSITION_ADJUSTMENT_PATTERN_COORDINATE_TABLE[t].length,i=0;i<n;i++)for(var o=0;o<n;o++){var a=r[i],s=r[o];if(-1==s||-1==a)continue;h.IsEmpty(e.get(s,a))&&h.EmbedPositionAdjustmentPattern(s-2,a-2,e)}},h.POSITION_DETECTION_PATTERN=[[1,1,1,1,1,1,1],[1,0,0,0,0,0,1],[1,0,1,1,1,0,1],[1,0,1,1,1,0,1],[1,0,1,1,1,0,1],[1,0,0,0,0,0,1],[1,1,1,1,1,1,1]],h.HORIZONTAL_SEPARATION_PATTERN=[[0,0,0,0,0,0,0,0]],h.VERTICAL_SEPARATION_PATTERN=[[0],[0],[0],[0],[0],[0],[0]],h.POSITION_ADJUSTMENT_PATTERN=[[1,1,1,1,1],[1,0,0,0,1],[1,0,1,0,1],[1,0,0,0,1],[1,1,1,1,1]],h.POSITION_ADJUSTMENT_PATTERN_COORDINATE_TABLE=[[-1,-1,-1,-1,-1,-1,-1],[6,18,-1,-1,-1,-1,-1],[6,22,-1,-1,-1,-1,-1],[6,26,-1,-1,-1,-1,-1],[6,30,-1,-1,-1,-1,-1],[6,34,-1,-1,-1,-1,-1],[6,22,38,-1,-1,-1,-1],[6,24,42,-1,-1,-1,-1],[6,26,46,-1,-1,-1,-1],[6,28,50,-1,-1,-1,-1],[6,30,54,-1,-1,-1,-1],[6,32,58,-1,-1,-1,-1],[6,34,62,-1,-1,-1,-1],[6,26,46,66,-1,-1,-1],[6,26,48,70,-1,-1,-1],[6,26,50,74,-1,-1,-1],[6,30,54,78,-1,-1,-1],[6,30,56,82,-1,-1,-1],[6,30,58,86,-1,-1,-1],[6,34,62,90,-1,-1,-1],[6,28,50,72,94,-1,-1],[6,26,50,74,98,-1,-1],[6,30,54,78,102,-1,-1],[6,28,54,80,106,-1,-1],[6,32,58,84,110,-1,-1],[6,30,58,86,114,-1,-1],[6,34,62,90,118,-1,-1],[6,26,50,74,98,122,-1],[6,30,54,78,102,126,-1],[6,26,52,78,104,130,-1],[6,30,56,82,108,134,-1],[6,34,60,86,112,138,-1],[6,30,58,86,114,142,-1],[6,34,62,90,118,146,-1],[6,30,54,78,102,126,150],[6,24,50,76,102,128,154],[6,28,54,80,106,132,158],[6,32,58,84,110,136,162],[6,26,54,82,110,138,166],[6,30,58,86,114,142,170]],h.TYPE_INFO_COORDINATES=[[8,0],[8,1],[8,2],[8,3],[8,4],[8,5],[8,7],[8,8],[7,8],[5,8],[4,8],[3,8],[2,8],[1,8],[0,8]],h.VERSION_INFO_POLY=7973,h.TYPE_INFO_POLY=1335,h.TYPE_INFO_MASK_PATTERN=21522,t=h,p.MatrixUtil=t}(Stimulsoft=Stimulsoft||{}),function(t){var e,r,n,t;function i(t,e,r){this.characterCountBitsForVersions=t,this.bits=e,this.name=r}r=e=t.Report||(t.Report={}),t=n=r.BarCodes||(r.BarCodes={}),i.ForBits=function(t){switch(t){case 0:return this.TERMINATOR;case 1:return this.NUMERIC;case 2:return this.ALPHANUMERIC;case 3:return this.STRUCTURED_APPEND;case 4:return this.BYTE;case 5:return this.FNC1_FIRST_POSITION;case 7:return this.ECI;case 8:return this.KANJI;case 9:return this.FNC1_SECOND_POSITION}throw new Error("")},i.prototype.GetCharacterCountBits=function(t){var t=t.getVersionNumber(),t,t=t<=9?0:t<=26?1:2;return this.characterCountBitsForVersions[t]},i.prototype.GetBits=function(){return this.bits},i.prototype.GetName=function(){return this.name},i.prototype.ToString=function(){return this.name},i.TERMINATOR=new i([0,0,0],0,"TERMINATOR"),i.NUMERIC=new i([10,12,14],1,"NUMERIC"),i.ALPHANUMERIC=new i([9,11,13],2,"ALPHANUMERIC"),i.STRUCTURED_APPEND=new i([0,0,0],3,"STRUCTURED_APPEND"),i.BYTE=new i([8,16,16],4,"BYTE"),i.ECI=new i(null,7,"ECI"),i.KANJI=new i([8,10,12],8,"KANJI"),i.FNC1_FIRST_POSITION=new i(null,5,"FNC1_FIRST_POSITION"),i.FNC1_SECOND_POSITION=new i(null,9,"FNC1_SECOND_POSITION"),r=i,t.Mode=r}(Stimulsoft=Stimulsoft||{}),function(o){var t,e,r,g,f,a;function S(){}e=t=o.Report||(o.Report={}),g=r=e.BarCodes||(e.BarCodes={}),f=o.System.StiArray,a=o.System.Text.Encoding,S.CalculateMaskPenalty=function(t){var e=0;return e+=g.MaskUtil.applyMaskPenaltyRule1(t),e+=g.MaskUtil.applyMaskPenaltyRule2(t),e+=g.MaskUtil.applyMaskPenaltyRule3(t),e+=g.MaskUtil.applyMaskPenaltyRule4(t)},S.Encode=function(t,e,r){var n=S.BYTE_MODE_UTF8,i=n,o=S.ChooseMode1(t,i);o==g.Mode.BYTE&&n!=S.BYTE_MODE_UTF8&&(i=S.GetEncodingName(t,n));var a=new g.BitVector;S.AppendBytes(t,o,a,i);var n=a.sizeInBytes();S.InitQRCode(n,e,o,r);var e=new g.BitVector,i;o!=g.Mode.BYTE||S.defaultECIByteModeEncoding==i||i==S.BYTE_MODE_UTF8||null!=(i=g.CharacterSetECI.getCharacterSetECIByName(i))&&S.AppendECI(i,e),S.AppendModeInfo(o,e);var t=o.stimulsoft.equals(g.Mode.BYTE)?a.sizeInBytes():t.length;S.AppendLengthInfo(t,r.GetVersion(),o,e),e.appendBitVector(a),S.TerminateBits(r.GetNumDataBytes(),e);var a=new g.BitVector;S.InterleaveWithECBytes(e,r.GetNumTotalBytes(),r.GetNumDataBytes(),r.GetNumRSBlocks(),a);var e=new g.ByteMatrix(r.GetMatrixWidth(),r.GetMatrixWidth());r.SetMaskPattern(S.ChooseMaskPattern(a,r.GetECLevel(),r.GetVersion(),e)),g.MatrixUtil.BuildMatrix(a,r.GetECLevel(),r.GetVersion(),r.GetMaskPattern(),e),r.SetMatrix(e)},S.GetEncodingName=function(t,e){return e},S.GetAlphanumericCode=function(t){if(t<S.ALPHANUMERIC_TABLE.length)return S.ALPHANUMERIC_TABLE[t];return-1},S.ChooseMode=function(t){return S.ChooseMode1(t,null)},S.ChooseMode1=function(t,e){for(var r=!1,n=!1,i=0;i<t.length;i++){var o=t[i];if("0"<=o&&o<="9")r=!0;else{if(-1==S.GetAlphanumericCode(o.charCodeAt(0)))return g.Mode.BYTE;n=!0}}if(n)return g.Mode.ALPHANUMERIC;if(r)return g.Mode.NUMERIC;return g.Mode.BYTE},S.ChooseMaskPattern=function(t,e,r,n){for(var i=2147483647,o=-1,a=0;a<g.StiQRCode.NUM_MASK_PATTERNS;a++){g.MatrixUtil.BuildMatrix(t,e,r,a,n);var s=S.CalculateMaskPenalty(n);s<i&&(i=s,o=a)}return o},S.InitQRCode=function(t,e,r,n){n.SetECLevel(e),n.SetMode(r);for(var i=1;i<=40;i++){var o=g.Version.getVersionForNumber(i),a=o.getTotalCodewords(),s=o.getECBlocksForLevel(e),l=s.getTotalECCodewords(),u=s.getNumBlocks(),s=a-l;if(t+4<=s)return n.SetVersion(i),n.SetNumTotalBytes(a),n.SetNumDataBytes(s),n.SetNumRSBlocks(u),n.SetNumECBytes(l),void n.SetMatrixWidth(o.getDimensionForVersion())}},S.TerminateBits=function(t,e){for(var r=t<<3,n=0;n<4&&e.size()<r;n++)e.appendBit(0);var i=e.size()%8;if(0<i)for(var o=8-i,n=0;n<o;n++)e.appendBit(0);for(var a=t-e.sizeInBytes(),n=0;n<a;n++)n%2==0?e.appendBits(236,8):e.appendBits(17,8)},S.GetNumDataBytesAndNumECBytesForBlockID=function(t,e,r,n,i,o){var a=Math.trunc(t%r),s=Math.trunc(r-a),a=Math.trunc(t/r),t=Math.trunc(a+1),e=Math.trunc(e/r),r=Math.trunc(e+1),a=Math.trunc(a-e),t=Math.trunc(t-r);n<s?(i[0]=e,o[0]=a):(i[0]=r,o[0]=t)},S.InterleaveWithECBytes=function(t,e,r,n,i){for(var o=0,a=0,s=0,l=f.create(g.BlockPair,n),u=0;u<n;u++){var c=new Array(1),p=new Array(1),h;S.GetNumDataBytesAndNumECBytesForBlockID(e,r,n,u,c,p),(h=new g.ByteArray).set1(t.getArray(),o,c[0]);var m=S.GenerateECBytes(h,p[0]);l[u]=new g.BlockPair(h,m),a=Math.max(a,h.size()),s=Math.max(s,m.size()),o+=c[0]}for(var u=0;u<a;u++)for(var d=0,h;d<l.length;d++){u<(h=l[d].getDataBytes()).size()&&i.appendBits(h.at(u),8)}for(var u=0;u<s;u++)for(var d=0,m;d<l.length;d++){u<(m=l[d].getErrorCorrectionBytes()).size()&&i.appendBits(m.at(u),8)}},S.GenerateECBytes=function(t,e){for(var r=t.size(),n=new Array(r+e),i=0;i<r;i++)n[i]=t.at(i);new g.ReedSolomonEncoder(g.GF256.QR_CODE_FIELD).Encode(n,e);for(var o=new g.ByteArray(e),i=0;i<e;i++)o.set(i,n[r+i]);return o},S.AppendModeInfo=function(t,e){e.appendBits(t.GetBits(),4)},S.AppendLengthInfo=function(t,e,r,n){var e=r.GetCharacterCountBits(g.Version.getVersionForNumber(e));n.appendBits(t,e)},S.AppendBytes=function(t,e,r,n){e.stimulsoft.equals(g.Mode.NUMERIC)?S.AppendNumericBytes(t,r):e.stimulsoft.equals(g.Mode.ALPHANUMERIC)?S.AppendAlphanumericBytes(t,r):e.stimulsoft.equals(g.Mode.BYTE)?S.Append8BitBytes(t,r,n):e.stimulsoft.equals(g.Mode.KANJI)&&S.AppendKanjiBytes(t,r)},S.AppendNumericBytes=function(t,e){var r=t.length,n=0;while(n<r){var i=t.charCodeAt(n)-48,o,a,o;n+2<r?(o=t.charCodeAt(n+1)-48,a=t.charCodeAt(n+2)-48,e.appendBits(100*i+(10*o+a),10),n+=3):n+1<r?(o=t.charCodeAt(n+1)-48,e.appendBits(10*i+o,7),n+=2):(e.appendBits(i,4),n++)}},S.AppendAlphanumericBytes=function(t,e){var r=t.length,n=0;while(n<r){var i=S.GetAlphanumericCode(t.charCodeAt(n)),o;n+1<r?(o=S.GetAlphanumericCode(t.charCodeAt(n+1)),e.appendBits(45*i+o,11),n+=2):(e.appendBits(i,6),n++)}},S.Append8BitBytes=function(t,e,r){var n;try{n=a.UTF8.getBytes(t)}catch(t){o.System.StiError.showError(t.message,!1)}r==S.BYTE_MODE_UTF8&&StiOptions.Engine.barcodeQRCodeAllowUnicodeBOM&&(e.appendBits(239,8),e.appendBits(187,8),e.appendBits(191,8));for(var i=0;i<n.length;i++)e.appendBits(n[i],8)},S.AppendKanjiBytes=function(t,e){for(var r,n=r.length,i=0;i<n;i+=2){var o,a,s=(255&r[i])+8|255&r[i+1],l=-1;33088<=s&&s<=40956?l=s-33088:57408<=s&&s<=60351&&(l=s-49472);var l=192*(l>>8)+(255&l);e.appendBits(l,13)}},S.AppendECI=function(t,e){e.appendBits(g.Mode.ECI.GetBits(),4),e.appendBits(t.getValue(),8)},S.ALPHANUMERIC_TABLE=[-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,36,-1,-1,-1,37,38,-1,-1,-1,-1,39,40,-1,41,42,43,0,1,2,3,4,5,6,7,8,9,44,-1,-1,-1,-1,-1,-1,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,-1,-1,-1,-1,-1],S.defaultECIByteModeEncoding="ISO-8859-1",S.BYTE_MODE_UTF8="UTF-8",S.QUESTION_MARK_CHAR=63,e=S,g.QREncoder=e}(Stimulsoft=Stimulsoft||{}),function(t){var e,t,r,p;function n(t){this.field=t,this.cachedGenerators=[],this.cachedGenerators.push(new p.GF256Poly(this.field,[1]))}t=e=t.Report||(t.Report={}),p=r=t.BarCodes||(t.BarCodes={}),n.prototype.BuildGenerator=function(t){if(t>=this.cachedGenerators.length)for(var e=this.cachedGenerators[this.cachedGenerators.length-1],r=this.cachedGenerators.length;r<=t;r++){var n=e.multiply(new p.GF256Poly(this.field,[1,this.field.exp(r-1)]));this.cachedGenerators.push(n),e=n}return this.cachedGenerators[t]},n.prototype.Encode=function(t,e){var r=t.length-e,n=this.BuildGenerator(e),i=new Array(r);p.ArrayHelper.copy(t,0,i,0,r);for(var o,o,a,s=(o=(o=new p.GF256Poly(this.field,i)).multiplyByMonomial(e,1)).divide(n)[1].getCoefficients(),l=e-s.length,u=0;u<l;u++)t[r+u]=0;for(var c=0;c<s.length;c++)t[r+l+c]=s[c]},t=n,p.ReedSolomonEncoder=t}(Stimulsoft=Stimulsoft||{}),function(t){var e,r,n,t;function i(){this._mode=null,this._ecLevel=null,this._version=-1,this._matrixWidth=-1,this._maskPattern=-1,this._numTotalBytes=-1,this._numDataBytes=-1,this._numECBytes=-1,this._numRSBlocks=-1,this._matrix=null}r=e=t.Report||(t.Report={}),t=n=r.BarCodes||(r.BarCodes={}),i.prototype.GetMode=function(){return this._mode},i.prototype.GetECLevel=function(){return this._ecLevel},i.prototype.GetVersion=function(){return this._version},i.prototype.GetMatrixWidth=function(){return this._matrixWidth},i.prototype.GetMaskPattern=function(){return this._maskPattern},i.prototype.GetNumTotalBytes=function(){return this._numTotalBytes},i.prototype.GetNumDataBytes=function(){return this._numDataBytes},i.prototype.GetNumECBytes=function(){return this._numECBytes},i.prototype.GetNumRSBlocks=function(){return this._numRSBlocks},i.prototype.GetMatrix=function(){return this._matrix},i.prototype.At=function(t,e){var r;return this._matrix.get(t,e)},i.prototype.IsValid=function(){return null!=this._mode&&null!=this._ecLevel&&-1!=this._version&&-1!=this._matrixWidth&&-1!=this._maskPattern&&-1!=this._numTotalBytes&&-1!=this._numDataBytes&&-1!=this._numECBytes&&-1!=this._numRSBlocks&&i.IsValidMaskPattern(this._maskPattern)&&this._numTotalBytes==this._numDataBytes+this._numECBytes&&null!=this._matrix&&this._matrixWidth==this._matrix.getWidth()&&this._matrix.getWidth()==this._matrix.getHeight()},i.prototype.SetMode=function(t){this._mode=t},i.prototype.SetECLevel=function(t){this._ecLevel=t},i.prototype.SetVersion=function(t){this._version=t},i.prototype.SetMatrixWidth=function(t){this._matrixWidth=t},i.prototype.SetMaskPattern=function(t){this._maskPattern=t},i.prototype.SetNumTotalBytes=function(t){this._numTotalBytes=t},i.prototype.SetNumDataBytes=function(t){this._numDataBytes=t},i.prototype.SetNumECBytes=function(t){this._numECBytes=t},i.prototype.SetNumRSBlocks=function(t){this._numRSBlocks=t},i.prototype.SetMatrix=function(t){this._matrix=t},i.IsValidMaskPattern=function(t){return 0<=t&&t<this.NUM_MASK_PATTERNS},i.NUM_MASK_PATTERNS=8,r=i,t.StiQRCode=r}(Stimulsoft=Stimulsoft||{}),function(s){var t,e,r;e=t=s.Report||(s.Report={}),function(o){var n=(t.prototype.getCount=function(){return this._count},t.prototype.getDataCodewords=function(){return this._dataCodewords},t);function t(t,e){this._count=t,this._dataCodewords=e}o.ECB=n;var e=(r.prototype.getECCodewordsPerBlock=function(){return this.ecCodewordsPerBlock},r.prototype.getNumBlocks=function(){for(var t=0,e=0;e<this.ecBlocks.length;e++)t+=this.ecBlocks[e].getCount();return t},r.prototype.getTotalECCodewords=function(){return this.ecCodewordsPerBlock*this.getNumBlocks()},r.prototype.getECBlocks=function(){return this.ecBlocks},r);function r(t,e,r){void 0===r&&(r=new n(0,0)),this.ecCodewordsPerBlock=t,this.ecBlocks=[e,r]}o.ECBlocks=e;var i=(a.BuildVersions=function(){return[new a(1,[],new e(7,new n(1,19)),new e(10,new n(1,16)),new e(13,new n(1,13)),new e(17,new n(1,9))),new a(2,[6,18],new e(10,new n(1,34)),new e(16,new n(1,28)),new e(22,new n(1,22)),new e(28,new n(1,16))),new a(3,[6,22],new e(15,new n(1,55)),new e(26,new n(1,44)),new e(18,new n(2,17)),new e(22,new n(2,13))),new a(4,[6,26],new e(20,new n(1,80)),new e(18,new n(2,32)),new e(26,new n(2,24)),new e(16,new n(4,9))),new a(5,[6,30],new e(26,new n(1,108)),new e(24,new n(2,43)),new e(18,new n(2,15),new n(2,16)),new e(22,new n(2,11),new n(2,12))),new a(6,[6,34],new e(18,new n(2,68)),new e(16,new n(4,27)),new e(24,new n(4,19)),new e(28,new n(4,15))),new a(7,[6,22,38],new e(20,new n(2,78)),new e(18,new n(4,31)),new e(18,new n(2,14),new n(4,15)),new e(26,new n(4,13),new n(1,14))),new a(8,[6,24,42],new e(24,new n(2,97)),new e(22,new n(2,38),new n(2,39)),new e(22,new n(4,18),new n(2,19)),new e(26,new n(4,14),new n(2,15))),new a(9,[6,26,46],new e(30,new n(2,116)),new e(22,new n(3,36),new n(2,37)),new e(20,new n(4,16),new n(4,17)),new e(24,new n(4,12),new n(4,13))),new a(10,[6,28,50],new e(18,new n(2,68),new n(2,69)),new e(26,new n(4,43),new n(1,44)),new e(24,new n(6,19),new n(2,20)),new e(28,new n(6,15),new n(2,16))),new a(11,[6,30,54],new e(20,new n(4,81)),new e(30,new n(1,50),new n(4,51)),new e(28,new n(4,22),new n(4,23)),new e(24,new n(3,12),new n(8,13))),new a(12,[6,32,58],new e(24,new n(2,92),new n(2,93)),new e(22,new n(6,36),new n(2,37)),new e(26,new n(4,20),new n(6,21)),new e(28,new n(7,14),new n(4,15))),new a(13,[6,34,62],new e(26,new n(4,107)),new e(22,new n(8,37),new n(1,38)),new e(24,new n(8,20),new n(4,21)),new e(22,new n(12,11),new n(4,12))),new a(14,[6,26,46,66],new e(30,new n(3,115),new n(1,116)),new e(24,new n(4,40),new n(5,41)),new e(20,new n(11,16),new n(5,17)),new e(24,new n(11,12),new n(5,13))),new a(15,[6,26,48,70],new e(22,new n(5,87),new n(1,88)),new e(24,new n(5,41),new n(5,42)),new e(30,new n(5,24),new n(7,25)),new e(24,new n(11,12),new n(7,13))),new a(16,[6,26,50,74],new e(24,new n(5,98),new n(1,99)),new e(28,new n(7,45),new n(3,46)),new e(24,new n(15,19),new n(2,20)),new e(30,new n(3,15),new n(13,16))),new a(17,[6,30,54,78],new e(28,new n(1,107),new n(5,108)),new e(28,new n(10,46),new n(1,47)),new e(28,new n(1,22),new n(15,23)),new e(28,new n(2,14),new n(17,15))),new a(18,[6,30,56,82],new e(30,new n(5,120),new n(1,121)),new e(26,new n(9,43),new n(4,44)),new e(28,new n(17,22),new n(1,23)),new e(28,new n(2,14),new n(19,15))),new a(19,[6,30,58,86],new e(28,new n(3,113),new n(4,114)),new e(26,new n(3,44),new n(11,45)),new e(26,new n(17,21),new n(4,22)),new e(26,new n(9,13),new n(16,14))),new a(20,[6,34,62,90],new e(28,new n(3,107),new n(5,108)),new e(26,new n(3,41),new n(13,42)),new e(30,new n(15,24),new n(5,25)),new e(28,new n(15,15),new n(10,16))),new a(21,[6,28,50,72,94],new e(28,new n(4,116),new n(4,117)),new e(26,new n(17,42)),new e(28,new n(17,22),new n(6,23)),new e(30,new n(19,16),new n(6,17))),new a(22,[6,26,50,74,98],new e(28,new n(2,111),new n(7,112)),new e(28,new n(17,46)),new e(30,new n(7,24),new n(16,25)),new e(24,new n(34,13))),new a(23,[6,30,54,74,102],new e(30,new n(4,121),new n(5,122)),new e(28,new n(4,47),new n(14,48)),new e(30,new n(11,24),new n(14,25)),new e(30,new n(16,15),new n(14,16))),new a(24,[6,28,54,80,106],new e(30,new n(6,117),new n(4,118)),new e(28,new n(6,45),new n(14,46)),new e(30,new n(11,24),new n(16,25)),new e(30,new n(30,16),new n(2,17))),new a(25,[6,32,58,84,110],new e(26,new n(8,106),new n(4,107)),new e(28,new n(8,47),new n(13,48)),new e(30,new n(7,24),new n(22,25)),new e(30,new n(22,15),new n(13,16))),new a(26,[6,30,58,86,114],new e(28,new n(10,114),new n(2,115)),new e(28,new n(19,46),new n(4,47)),new e(28,new n(28,22),new n(6,23)),new e(30,new n(33,16),new n(4,17))),new a(27,[6,34,62,90,118],new e(30,new n(8,122),new n(4,123)),new e(28,new n(22,45),new n(3,46)),new e(30,new n(8,23),new n(26,24)),new e(30,new n(12,15),new n(28,16))),new a(28,[6,26,50,74,98,122],new e(30,new n(3,117),new n(10,118)),new e(28,new n(3,45),new n(23,46)),new e(30,new n(4,24),new n(31,25)),new e(30,new n(11,15),new n(31,16))),new a(29,[6,30,54,78,102,126],new e(30,new n(7,116),new n(7,117)),new e(28,new n(21,45),new n(7,46)),new e(30,new n(1,23),new n(37,24)),new e(30,new n(19,15),new n(26,16))),new a(30,[6,26,52,78,104,130],new e(30,new n(5,115),new n(10,116)),new e(28,new n(19,47),new n(10,48)),new e(30,new n(15,24),new n(25,25)),new e(30,new n(23,15),new n(25,16))),new a(31,[6,30,56,82,108,134],new e(30,new n(13,115),new n(3,116)),new e(28,new n(2,46),new n(29,47)),new e(30,new n(42,24),new n(1,25)),new e(30,new n(23,15),new n(28,16))),new a(32,[6,34,60,86,112,138],new e(30,new n(17,115)),new e(28,new n(10,46),new n(23,47)),new e(30,new n(10,24),new n(35,25)),new e(30,new n(19,15),new n(35,16))),new a(33,[6,30,58,86,114,142],new e(30,new n(17,115),new n(1,116)),new e(28,new n(14,46),new n(21,47)),new e(30,new n(29,24),new n(19,25)),new e(30,new n(11,15),new n(46,16))),new a(34,[6,34,62,90,118,146],new e(30,new n(13,115),new n(6,116)),new e(28,new n(14,46),new n(23,47)),new e(30,new n(44,24),new n(7,25)),new e(30,new n(59,16),new n(1,17))),new a(35,[6,30,54,78,102,126,150],new e(30,new n(12,121),new n(7,122)),new e(28,new n(12,47),new n(26,48)),new e(30,new n(39,24),new n(14,25)),new e(30,new n(22,15),new n(41,16))),new a(36,[6,24,50,76,102,128,154],new e(30,new n(6,121),new n(14,122)),new e(28,new n(6,47),new n(34,48)),new e(30,new n(46,24),new n(10,25)),new e(30,new n(2,15),new n(64,16))),new a(37,[6,28,54,80,106,132,158],new e(30,new n(17,122),new n(4,123)),new e(28,new n(29,46),new n(14,47)),new e(30,new n(49,24),new n(10,25)),new e(30,new n(24,15),new n(46,16))),new a(38,[6,32,58,84,110,136,162],new e(30,new n(4,122),new n(18,123)),new e(28,new n(13,46),new n(32,47)),new e(30,new n(48,24),new n(14,25)),new e(30,new n(42,15),new n(32,16))),new a(39,[6,26,54,82,110,138,166],new e(30,new n(20,117),new n(4,118)),new e(28,new n(40,47),new n(7,48)),new e(30,new n(43,24),new n(22,25)),new e(30,new n(10,15),new n(67,16))),new a(40,[6,30,58,86,114,142,170],new e(30,new n(19,118),new n(6,119)),new e(28,new n(18,47),new n(31,48)),new e(30,new n(34,24),new n(34,25)),new e(30,new n(20,15),new n(61,16)))]},a.prototype.getVersionNumber=function(){return this._versionNumber},a.prototype.getAlignmentPatternCenters=function(){return this._alignmentPatternCenters},a.prototype.getTotalCodewords=function(){return this._totalCodewords},a.prototype.getDimensionForVersion=function(){return 17+4*this._versionNumber},a.prototype.getECBlocksForLevel=function(t){return this._ecBlocks[t.ordinal()]},a.getProvisionalVersionForDimension=function(t){try{return this.getVersionForNumber(t-17>>2)}catch(t){throw s.System.StiError.showError(t.message,!1),t}},a.getVersionForNumber=function(t){return a.VERSIONS[t-1]},a.decodeVersionInformation=function(t){for(var e=2147483647,r=0,n=0;n<this.VERSION_DECODE_INFO.length;n++){var i=this.VERSION_DECODE_INFO[n];if(i==t)return a.getVersionForNumber(n+7);var i=o.FormatInformation.numBitsDiffering(t,i);i<e&&(r=n+7,e=i)}if(e<=3)return a.getVersionForNumber(r);return null},a.prototype.toString=function(){return this._versionNumber.toString()},a.VERSION_DECODE_INFO=[31892,34236,39577,42195,48118,51042,55367,58893,63784,68472,70749,76311,79154,84390,87683,92361,96236,102084,102881,110507,110734,117786,119615,126325,127568,133589,136944,141498,145311,150283,152622,158308,161089,167017],a.VERSIONS=a.BuildVersions(),a);function a(t,e,r,n,i,o){this._versionNumber=t,this._alignmentPatternCenters=e,this._ecBlocks=[r,n,i,o];for(var a=0,s=r.getECCodewordsPerBlock(),l=r.getECBlocks(),u=0;u<l.length;u++){var c=l[u];a+=c.getCount()*(c.getDataCodewords()+s)}this._totalCodewords=a}o.Version=i}(r=e.BarCodes||(e.BarCodes={}))}(Stimulsoft=Stimulsoft||{}),function(t){var e,r,n,t,i,o,a,s,l,u,c,p,h,m,d,g,f,S,y;r=e=t.Report||(t.Report={}),t=n=r.BarCodes||(r.BarCodes={}),(r=i=t.CodeSet||(t.CodeSet={}))[r["None"]=0]="None",r[r["A"]=1]="A",r[r["B"]=2]="B",r[r["C"]=3]="C",(r=o=t.ControlCodes||(t.ControlCodes={}))[r["FNC1"]=129]="FNC1",r[r["FNC2"]=130]="FNC2",r[r["FNC3"]=131]="FNC3",r[r["FNC4"]=132]="FNC4",r[r["CodeA"]=133]="CodeA",r[r["CodeB"]=134]="CodeB",r[r["CodeC"]=135]="CodeC",r[r["Shift"]=136]="Shift",(r=a=t.BarcodeCommands||(t.BarcodeCommands={}))[r["FNC1"]=102]="FNC1",r[r["FNC2"]=97]="FNC2",r[r["FNC3"]=96]="FNC3",r[r["FNC4A"]=101]="FNC4A",r[r["FNC4B"]=100]="FNC4B",r[r["CodeA"]=101]="CodeA",r[r["CodeB"]=100]="CodeB",r[r["CodeC"]=99]="CodeC",r[r["Shift"]=98]="Shift",r[r["StartA"]=103]="StartA",r[r["StartB"]=104]="StartB",r[r["StartC"]=105]="StartC",r[r["Stop"]=106]="Stop",(r=s=t.StiCheckSum||(t.StiCheckSum={}))[r["Yes"]=0]="Yes",r[r["No"]=1]="No",(r=l=t.StiPlesseyCheckSum||(t.StiPlesseyCheckSum={}))[r["None"]=0]="None",r[r["Modulo10"]=1]="Modulo10",r[r["Modulo11"]=2]="Modulo11",(r=u=t.StiDataMatrixSize||(t.StiDataMatrixSize={}))[r["Automatic"]=-1]="Automatic",r[r["s10x10"]=0]="s10x10",r[r["s12x12"]=1]="s12x12",r[r["s8x18"]=2]="s8x18",r[r["s14x14"]=3]="s14x14",r[r["s8x32"]=4]="s8x32",r[r["s16x16"]=5]="s16x16",r[r["s12x26"]=6]="s12x26",r[r["s18x18"]=7]="s18x18",r[r["s20x20"]=8]="s20x20",r[r["s12x36"]=9]="s12x36",r[r["s22x22"]=10]="s22x22",r[r["s16x36"]=11]="s16x36",r[r["s24x24"]=12]="s24x24",r[r["s26x26"]=13]="s26x26",r[r["s16x48"]=14]="s16x48",r[r["s32x32"]=15]="s32x32",r[r["s36x36"]=16]="s36x36",r[r["s40x40"]=17]="s40x40",r[r["s44x44"]=18]="s44x44",r[r["s48x48"]=19]="s48x48",r[r["s52x52"]=20]="s52x52",r[r["s64x64"]=21]="s64x64",r[r["s72x72"]=22]="s72x72",r[r["s80x80"]=23]="s80x80",r[r["s88x88"]=24]="s88x88",r[r["s96x96"]=25]="s96x96",r[r["s104x104"]=26]="s104x104",r[r["s120x120"]=27]="s120x120",r[r["s132x132"]=28]="s132x132",r[r["s144x144"]=29]="s144x144",(r=c=t.StiDataMatrixEncodingType||(t.StiDataMatrixEncodingType={}))[r["Ascii"]=0]="Ascii",r[r["C40"]=1]="C40",r[r["Text"]=2]="Text",r[r["X12"]=3]="X12",r[r["Edifact"]=4]="Edifact",r[r["Binary"]=5]="Binary",(r=p=t.StiPdf417EncodingMode||(t.StiPdf417EncodingMode={}))[r["Text"]=0]="Text",r[r["Numeric"]=1]="Numeric",r[r["Byte"]=2]="Byte",(r=h=t.StiPdf417ErrorsCorrectionLevel||(t.StiPdf417ErrorsCorrectionLevel={}))[r["Automatic"]=-1]="Automatic",r[r["Level0"]=0]="Level0",r[r["Level1"]=1]="Level1",r[r["Level2"]=2]="Level2",r[r["Level3"]=3]="Level3",r[r["Level4"]=4]="Level4",r[r["Level5"]=5]="Level5",r[r["Level6"]=6]="Level6",r[r["Level7"]=7]="Level7",r[r["Level8"]=8]="Level8",(r=m=t.StiEanSupplementType||(t.StiEanSupplementType={}))[r["None"]=0]="None",r[r["TwoDigit"]=1]="TwoDigit",r[r["FiveDigit"]=2]="FiveDigit",(r=d=t.StiCode11CheckSum||(t.StiCode11CheckSum={}))[r["None"]=0]="None",r[r["OneDigit"]=1]="OneDigit",r[r["TwoDigits"]=2]="TwoDigits",r[r["Auto"]=3]="Auto",(r=g=t.StiQRCodeSize||(t.StiQRCodeSize={}))[r["Automatic"]=0]="Automatic",r[r["v1"]=1]="v1",r[r["v2"]=2]="v2",r[r["v3"]=3]="v3",r[r["v4"]=4]="v4",r[r["v5"]=5]="v5",r[r["v6"]=6]="v6",r[r["v7"]=7]="v7",r[r["v8"]=8]="v8",r[r["v9"]=9]="v9",r[r["v10"]=10]="v10",r[r["v11"]=11]="v11",r[r["v12"]=12]="v12",r[r["v13"]=13]="v13",r[r["v14"]=14]="v14",r[r["v15"]=15]="v15",r[r["v16"]=16]="v16",r[r["v17"]=17]="v17",r[r["v18"]=18]="v18",r[r["v19"]=19]="v19",r[r["v20"]=20]="v20",r[r["v21"]=21]="v21",r[r["v22"]=22]="v22",r[r["v23"]=23]="v23",r[r["v24"]=24]="v24",r[r["v25"]=25]="v25",r[r["v26"]=26]="v26",r[r["v27"]=27]="v27",r[r["v28"]=28]="v28",r[r["v29"]=29]="v29",r[r["v30"]=30]="v30",r[r["v31"]=31]="v31",r[r["v32"]=32]="v32",r[r["v33"]=33]="v33",r[r["v34"]=34]="v34",r[r["v35"]=35]="v35",r[r["v36"]=36]="v36",r[r["v37"]=37]="v37",r[r["v38"]=38]="v38",r[r["v39"]=39]="v39",r[r["v40"]=40]="v40",(r=f=t.StiQRCodeErrorCorrectionLevel||(t.StiQRCodeErrorCorrectionLevel={}))[r["Level1"]=0]="Level1",r[r["Level2"]=1]="Level2",r[r["Level3"]=2]="Level3",r[r["Level4"]=3]="Level4",(r=S=t.StiQRCodeECIMode||(t.StiQRCodeECIMode={}))[r["Cp437"]=2]="Cp437",r[r["ISO_8859_1"]=3]="ISO_8859_1",r[r["ISO_8859_2"]=4]="ISO_8859_2",r[r["ISO_8859_3"]=5]="ISO_8859_3",r[r["ISO_8859_4"]=6]="ISO_8859_4",r[r["ISO_8859_5"]=7]="ISO_8859_5",r[r["ISO_8859_6"]=8]="ISO_8859_6",r[r["ISO_8859_7"]=9]="ISO_8859_7",r[r["ISO_8859_8"]=10]="ISO_8859_8",r[r["ISO_8859_9"]=11]="ISO_8859_9",r[r["ISO_8859_11"]=13]="ISO_8859_11",r[r["ISO_8859_13"]=15]="ISO_8859_13",r[r["ISO_8859_15"]=17]="ISO_8859_15",r[r["Shift_JIS"]=20]="Shift_JIS",r[r["Windows_1250"]=21]="Windows_1250",r[r["Windows_1251"]=22]="Windows_1251",r[r["Windows_1252"]=23]="Windows_1252",r[r["Windows_1256"]=24]="Windows_1256",r[r["UTF_8"]=26]="UTF_8",(t=y=t.StiMaxicodeMode||(t.StiMaxicodeMode={}))[t["Mode2"]=2]="Mode2",t[t["Mode3"]=3]="Mode3",t[t["Mode4"]=4]="Mode4",t[t["Mode5"]=5]="Mode5",t[t["Mode6"]=6]="Mode6"}(Stimulsoft=Stimulsoft||{}),function(t){var e,r,n,i;r=e=t.Report||(t.Report={}),(i=n=r.BarCodes||(r.BarCodes={})).IStiBarCode=new t.System.Interface("IStiBarCode")}(Stimulsoft=Stimulsoft||{}),function(t){var e,r,n,t,i,o,a,s,l,u,c,p,h,m,d,g,f,S,y,A,b,C,v,w,B,I,T,E,R,D,P,x,F,N,k,M,O,_,j,G,H,Q,L,Y,U,J,W,V,z,X,K,Z,q;r=e=t.Report||(t.Report={}),t=n=r.Components||(r.Components={}),(r=i=t.StiTextFormatState||(t.StiTextFormatState={}))[r["None"]=0]="None",r[r["DecimalDigits"]=1]="DecimalDigits",r[r["DecimalSeparator"]=2]="DecimalSeparator",r[r["GroupSeparator"]=4]="GroupSeparator",r[r["GroupSize"]=8]="GroupSize",r[r["PositivePattern"]=16]="PositivePattern",r[r["NegativePattern"]=32]="NegativePattern",r[r["CurrencySymbol"]=64]="CurrencySymbol",r[r["PercentageSymbol"]=128]="PercentageSymbol",r[r["Abbreviation"]=256]="Abbreviation",r[r["NegativeInRed"]=512]="NegativeInRed",(r=o=t.StiIconSet||(t.StiIconSet={}))[r["None"]=0]="None",r[r["Full"]=1]="Full",r[r["ArrowsColored3"]=2]="ArrowsColored3",r[r["ArrowsColored4"]=3]="ArrowsColored4",r[r["ArrowsColored5"]=4]="ArrowsColored5",r[r["ArrowsGray3"]=5]="ArrowsGray3",r[r["ArrowsGray4"]=6]="ArrowsGray4",r[r["ArrowsGray5"]=7]="ArrowsGray5",r[r["Flags3"]=8]="Flags3",r[r["Latin4"]=9]="Latin4",r[r["Quarters5"]=10]="Quarters5",r[r["QuartersGreen5"]=11]="QuartersGreen5",r[r["QuartersRed5"]=12]="QuartersRed5",r[r["Ratings3"]=13]="Ratings3",r[r["Ratings4"]=14]="Ratings4",r[r["Ratings5"]=15]="Ratings5",r[r["RedToBlack4"]=16]="RedToBlack4",r[r["Signs3"]=17]="Signs3",r[r["Squares5"]=18]="Squares5",r[r["Stars3"]=19]="Stars3",r[r["Stars5"]=20]="Stars5",r[r["SymbolsCircled3"]=21]="SymbolsCircled3",r[r["SymbolsUncircled3"]=22]="SymbolsUncircled3",r[r["TrafficLights4"]=23]="TrafficLights4",r[r["TrafficLightsRimmed3"]=24]="TrafficLightsRimmed3",r[r["TrafficLightsUnrimmed3"]=25]="TrafficLightsUnrimmed3",r[r["Triangles3"]=26]="Triangles3",(r=a=t.StiIcon||(t.StiIcon={}))[r["None"]=0]="None",r[r["ArrowRightDownGray"]=1]="ArrowRightDownGray",r[r["ArrowRightUpGray"]=2]="ArrowRightUpGray",r[r["ArrowDownGray"]=3]="ArrowDownGray",r[r["ArrowRightGray"]=4]="ArrowRightGray",r[r["ArrowUpGray"]=5]="ArrowUpGray",r[r["ArrowUpGreen"]=6]="ArrowUpGreen",r[r["ArrowDownRed"]=7]="ArrowDownRed",r[r["ArrowRightYellow"]=8]="ArrowRightYellow",r[r["ArrowRightDownYellow"]=9]="ArrowRightDownYellow",r[r["ArrowRightUpYellow"]=10]="ArrowRightUpYellow",r[r["CheckGreen"]=11]="CheckGreen",r[r["CircleBlack"]=12]="CircleBlack",r[r["CircleGreen"]=13]="CircleGreen",r[r["CircleCheckGreen"]=14]="CircleCheckGreen",r[r["CircleRed"]=15]="CircleRed",r[r["CircleCrossRed"]=16]="CircleCrossRed",r[r["CircleYellow"]=17]="CircleYellow",r[r["CircleExclamationYellow"]=18]="CircleExclamationYellow",r[r["CrossRed"]=19]="CrossRed",r[r["ExclamationYellow"]=20]="ExclamationYellow",r[r["FlagGreen"]=21]="FlagGreen",r[r["FlagRed"]=22]="FlagRed",r[r["FlagYellow"]=23]="FlagYellow",r[r["FromRedToBlackGray"]=24]="FromRedToBlackGray",r[r["FromRedToBlackPink"]=25]="FromRedToBlackPink",r[r["FromRedToBlackRed"]=26]="FromRedToBlackRed",r[r["Latin1"]=27]="Latin1",r[r["Latin2"]=28]="Latin2",r[r["Latin3"]=29]="Latin3",r[r["Latin4"]=30]="Latin4",r[r["LightsGreen"]=31]="LightsGreen",r[r["LightsRed"]=32]="LightsRed",r[r["LightsYellow"]=33]="LightsYellow",r[r["MinusYellow"]=34]="MinusYellow",r[r["QuarterFull"]=35]="QuarterFull",r[r["QuarterFullGreen"]=36]="QuarterFullGreen",r[r["QuarterFullRed"]=37]="QuarterFullRed",r[r["QuarterHalf"]=38]="QuarterHalf",r[r["QuarterHalfGreen"]=39]="QuarterHalfGreen",r[r["QuarterHalfRed"]=40]="QuarterHalfRed",r[r["QuarterNone"]=41]="QuarterNone",r[r["QuarterNoneGreen"]=42]="QuarterNoneGreen",r[r["QuarterNoneRed"]=43]="QuarterNoneRed",r[r["QuarterQuarter"]=44]="QuarterQuarter",r[r["QuarterQuarterGreen"]=45]="QuarterQuarterGreen",r[r["QuarterQuarterRed"]=46]="QuarterQuarterRed",r[r["QuarterThreeFourth"]=47]="QuarterThreeFourth",r[r["QuarterThreeFourthGreen"]=48]="QuarterThreeFourthGreen",r[r["QuarterThreeFourthRed"]=49]="QuarterThreeFourthRed",r[r["Rating0"]=50]="Rating0",r[r["Rating1"]=51]="Rating1",r[r["Rating2"]=52]="Rating2",r[r["Rating3"]=53]="Rating3",r[r["Rating4"]=54]="Rating4",r[r["RhombRed"]=55]="RhombRed",r[r["Square0"]=56]="Square0",r[r["Square1"]=57]="Square1",r[r["Square2"]=58]="Square2",r[r["Square3"]=59]="Square3",r[r["Square4"]=60]="Square4",r[r["StarFull"]=61]="StarFull",r[r["StarHalf"]=62]="StarHalf",r[r["StarNone"]=63]="StarNone",r[r["StarQuarter"]=64]="StarQuarter",r[r["StarThreeFourth"]=65]="StarThreeFourth",r[r["TriangleGreen"]=66]="TriangleGreen",r[r["TriangleRed"]=67]="TriangleRed",r[r["TriangleYellow"]=68]="TriangleYellow",(r=s=t.StiIconSetOperation||(t.StiIconSetOperation={}))[r["MoreThan"]=0]="MoreThan",r[r["MoreThanOrEqual"]=1]="MoreThanOrEqual",(r=l=t.StiIconSetValueType||(t.StiIconSetValueType={}))[r["Value"]=0]="Value",r[r["Percent"]=1]="Percent",(r=u=t.StiProcessAt||(t.StiProcessAt={}))[r["None"]=0]="None",r[r["EndOfReport"]=1]="EndOfReport",r[r["EndOfPage"]=2]="EndOfPage",(r=c=t.StiMinimumType||(t.StiMinimumType={}))[r["Auto"]=0]="Auto",r[r["Value"]=1]="Value",r[r["Percent"]=2]="Percent",r[r["Minimum"]=3]="Minimum",(r=p=t.StiMidType||(t.StiMidType={}))[r["Auto"]=0]="Auto",r[r["Value"]=1]="Value",r[r["Percent"]=2]="Percent",(r=h=t.StiMaximumType||(t.StiMaximumType={}))[r["Auto"]=0]="Auto",r[r["Value"]=1]="Value",r[r["Percent"]=2]="Percent",r[r["Maximum"]=3]="Maximum",(r=m=t.StiDrillDownMode||(t.StiDrillDownMode={}))[r["SinglePage"]=0]="SinglePage",r[r["MultiPage"]=1]="MultiPage",(r=d=t.StiConditionBorderSides||(t.StiConditionBorderSides={}))[r["None"]=0]="None",r[r["All"]=15]="All",r[r["Top"]=1]="Top",r[r["Left"]=2]="Left",r[r["Right"]=4]="Right",r[r["Bottom"]=8]="Bottom",r[r["NotAssigned"]=16]="NotAssigned",(r=g=t.StiConditionPermissions||(t.StiConditionPermissions={}))[r["None"]=0]="None",r[r["Font"]=1]="Font",r[r["FontSize"]=2]="FontSize",r[r["FontStyleBold"]=4]="FontStyleBold",r[r["FontStyleItalic"]=8]="FontStyleItalic",r[r["FontStyleUnderline"]=16]="FontStyleUnderline",r[r["FontStyleStrikeout"]=32]="FontStyleStrikeout",r[r["TextColor"]=64]="TextColor",r[r["BackColor"]=128]="BackColor",r[r["Borders"]=256]="Borders",r[r["All"]=511]="All",(r=f=t.StiQuickInfoType||(t.StiQuickInfoType={}))[r["None"]=0]="None",r[r["ShowComponentsNames"]=1]="ShowComponentsNames",r[r["ShowAliases"]=2]="ShowAliases",r[r["ShowFieldsOnly"]=3]="ShowFieldsOnly",r[r["ShowFields"]=4]="ShowFields",r[r["ShowEvents"]=5]="ShowEvents",r[r["ShowContent"]=6]="ShowContent",(r=S=t.StiAngle||(t.StiAngle={}))[r["Angle0"]=0]="Angle0",r[r["Angle90"]=90]="Angle90",r[r["Angle180"]=180]="Angle180",r[r["Angle270"]=270]="Angle270",(r=y=t.StiDockStyle||(t.StiDockStyle={}))[r["Left"]=0]="Left",r[r["Right"]=1]="Right",r[r["Top"]=2]="Top",r[r["Bottom"]=3]="Bottom",r[r["None"]=4]="None",r[r["Fill"]=5]="Fill",(r=A=t.StiFilterCondition||(t.StiFilterCondition={}))[r["EqualTo"]=0]="EqualTo",r[r["NotEqualTo"]=1]="NotEqualTo",r[r["GreaterThan"]=2]="GreaterThan",r[r["GreaterThanOrEqualTo"]=3]="GreaterThanOrEqualTo",r[r["LessThan"]=4]="LessThan",r[r["LessThanOrEqualTo"]=5]="LessThanOrEqualTo",r[r["Between"]=6]="Between",r[r["NotBetween"]=7]="NotBetween",r[r["Containing"]=8]="Containing",r[r["NotContaining"]=9]="NotContaining",r[r["BeginningWith"]=10]="BeginningWith",r[r["EndingWith"]=11]="EndingWith",r[r["IsNull"]=12]="IsNull",r[r["IsNotNull"]=13]="IsNotNull",(r=b=t.StiFilterItem||(t.StiFilterItem={}))[r["Argument"]=0]="Argument",r[r["Value"]=1]="Value",r[r["ValueEnd"]=2]="ValueEnd",r[r["Expression"]=3]="Expression",r[r["ValueOpen"]=4]="ValueOpen",r[r["ValueClose"]=5]="ValueClose",r[r["ValueLow"]=6]="ValueLow",r[r["ValueHigh"]=7]="ValueHigh",(r=C=t.StiFilterDataType||(t.StiFilterDataType={}))[r["String"]=0]="String",r[r["Numeric"]=1]="Numeric",r[r["DateTime"]=2]="DateTime",r[r["Boolean"]=3]="Boolean",r[r["Expression"]=4]="Expression",(r=v=t.StiFilterMode||(t.StiFilterMode={}))[r["And"]=0]="And",r[r["Or"]=1]="Or",(r=w=t.StiFilterEngine||(t.StiFilterEngine={}))[r["ReportEngine"]=0]="ReportEngine",r[r["SQLQuery"]=1]="SQLQuery",(r=B=t.StiKeepDetails||(t.StiKeepDetails={}))[r["None"]=0]="None",r[r["KeepFirstRowTogether"]=1]="KeepFirstRowTogether",r[r["KeepFirstDetailTogether"]=2]="KeepFirstDetailTogether",r[r["KeepDetailsTogether"]=3]="KeepDetailsTogether",(r=I=t.StiPrintOnType||(t.StiPrintOnType={}))[r["AllPages"]=0]="AllPages",r[r["ExceptFirstPage"]=1]="ExceptFirstPage",r[r["ExceptLastPage"]=2]="ExceptLastPage",r[r["ExceptFirstAndLastPage"]=3]="ExceptFirstAndLastPage",r[r["OnlyFirstPage"]=4]="OnlyFirstPage",r[r["OnlyLastPage"]=8]="OnlyLastPage",r[r["OnlyFirstAndLastPage"]=12]="OnlyFirstAndLastPage",(r=T=t.StiPrintOnEvenOddPagesType||(t.StiPrintOnEvenOddPagesType={}))[r["Ignore"]=0]="Ignore",r[r["PrintOnEvenPages"]=1]="PrintOnEvenPages",r[r["PrintOnOddPages"]=2]="PrintOnOddPages",(r=E=t.StiShiftMode||(t.StiShiftMode={}))[r["None"]=0]="None",r[r["IncreasingSize"]=1]="IncreasingSize",r[r["DecreasingSize"]=2]="DecreasingSize",r[r["OnlyInWidthOfComponent"]=4]="OnlyInWidthOfComponent",(r=R=t.StiAnchorMode||(t.StiAnchorMode={}))[r["Top"]=1]="Top",r[r["Bottom"]=2]="Bottom",r[r["Left"]=4]="Left",r[r["Right"]=8]="Right",(r=D=t.StiProcessingDuplicatesType||(t.StiProcessingDuplicatesType={}))[r["None"]=0]="None",r[r["Merge"]=1]="Merge",r[r["Hide"]=2]="Hide",r[r["RemoveText"]=3]="RemoveText",r[r["BasedOnTagMerge"]=4]="BasedOnTagMerge",r[r["BasedOnTagHide"]=5]="BasedOnTagHide",r[r["BasedOnTagRemoveText"]=6]="BasedOnTagRemoveText",r[r["GlobalMerge"]=7]="GlobalMerge",r[r["GlobalHide"]=8]="GlobalHide",r[r["GlobalRemoveText"]=9]="GlobalRemoveText",r[r["BasedOnValueRemoveText"]=10]="BasedOnValueRemoveText",r[r["BasedOnValueAndTagMerge"]=11]="BasedOnValueAndTagMerge",r[r["BasedOnValueAndTagHide"]=12]="BasedOnValueAndTagHide",r[r["GlobalBasedOnValueRemoveText"]=13]="GlobalBasedOnValueRemoveText",r[r["GlobalBasedOnValueAndTagMerge"]=14]="GlobalBasedOnValueAndTagMerge",r[r["GlobalBasedOnValueAndTagHide"]=15]="GlobalBasedOnValueAndTagHide",(r=P=t.StiImageProcessingDuplicatesType||(t.StiImageProcessingDuplicatesType={}))[r["None"]=0]="None",r[r["Merge"]=1]="Merge",r[r["Hide"]=2]="Hide",r[r["RemoveImage"]=3]="RemoveImage",r[r["GlobalMerge"]=4]="GlobalMerge",r[r["GlobalHide"]=5]="GlobalHide",r[r["GlobalRemoveImage"]=6]="GlobalRemoveImage",(r=x=t.StiCheckStyle||(t.StiCheckStyle={}))[r["Cross"]=0]="Cross",r[r["Check"]=1]="Check",r[r["CrossRectangle"]=2]="CrossRectangle",r[r["CheckRectangle"]=3]="CheckRectangle",r[r["CrossCircle"]=4]="CrossCircle",r[r["DotCircle"]=5]="DotCircle",r[r["DotRectangle"]=6]="DotRectangle",r[r["NoneCircle"]=7]="NoneCircle",r[r["NoneRectangle"]=8]="NoneRectangle",r[r["None"]=9]="None",(r=F=t.StiToolboxCategory||(t.StiToolboxCategory={}))[r["Bands"]=0]="Bands",r[r["Cross"]=1]="Cross",r[r["Components"]=2]="Components",r[r["Shapes"]=3]="Shapes",r[r["Controls"]=4]="Controls",r[r["Dashboards"]=5]="Dashboards",(r=N=t.StiComponentToolboxPosition||(t.StiComponentToolboxPosition={}))[r["Component"]=0]="Component",r[r["ReportTitleBand"]=1]="ReportTitleBand",r[r["ReportSummaryBand"]=2]="ReportSummaryBand",r[r["PageHeaderBand"]=3]="PageHeaderBand",r[r["PageFooterBand"]=4]="PageFooterBand",r[r["GroupHeaderBand"]=5]="GroupHeaderBand",r[r["GroupFooterBand"]=6]="GroupFooterBand",r[r["HeaderBand"]=7]="HeaderBand",r[r["FooterBand"]=8]="FooterBand",r[r["ColumnHeaderBand"]=9]="ColumnHeaderBand",r[r["ColumnFooterBand"]=10]="ColumnFooterBand",r[r["DataBand"]=11]="DataBand",r[r["HierarchicalBand"]=13]="HierarchicalBand",r[r["ChildBand"]=14]="ChildBand",r[r["EmptyBand"]=15]="EmptyBand",r[r["OverlayBand"]=16]="OverlayBand",r[r["CrossGroupHeaderBand"]=21]="CrossGroupHeaderBand",r[r["CrossGroupFooterBand"]=22]="CrossGroupFooterBand",r[r["CrossHeaderBand"]=23]="CrossHeaderBand",r[r["CrossFooterBand"]=24]="CrossFooterBand",r[r["CrossDataBand"]=25]="CrossDataBand",r[r["Text"]=101]="Text",r[r["TextInCells"]=102]="TextInCells",r[r["SystemText"]=103]="SystemText",r[r["ContourText"]=104]="ContourText",r[r["RichText"]=105]="RichText",r[r["Image"]=106]="Image",r[r["BarCode"]=107]="BarCode",r[r["Shape"]=108]="Shape",r[r["Line"]=109]="Line",r[r["Container"]=110]="Container",r[r["Panel"]=110]="Panel",r[r["Clone"]=112]="Clone",r[r["CheckBox"]=113]="CheckBox",r[r["SubReport"]=114]="SubReport",r[r["WinControl"]=115]="WinControl",r[r["ZipCode"]=116]="ZipCode",r[r["HorizontalLinePrimitive"]=150]="HorizontalLinePrimitive",r[r["VerticalLinePrimitive"]=151]="VerticalLinePrimitive",r[r["RectanglePrimitive"]=152]="RectanglePrimitive",r[r["RoundedRectanglePrimitive"]=153]="RoundedRectanglePrimitive",r[r["Chart"]=200]="Chart",r[r["Table"]=201]="Table",r[r["CrossTab"]=202]="CrossTab",r[r["Map"]=210]="Map",r[r["Sparkline"]=225]="Sparkline",r[r["Gauge"]=220]="Gauge",r[r["TableElement"]=301]="TableElement",r[r["ChartElement"]=302]="ChartElement",r[r["ComboBoxElement"]=400]="ComboBoxElement",r[r["GaugeElement"]=303]="GaugeElement",r[r["PivotTableElement"]=304]="PivotTableElement",r[r["IndicatorElement"]=305]="IndicatorElement",r[r["ProgressElement"]=306]="ProgressElement",r[r["RegionMapElement"]=307]="RegionMapElement",r[r["ListBoxElement"]=308]="ListBoxElement",r[r["OnlineMapElement"]=309]="OnlineMapElement",r[r["ImageElement"]=310]="ImageElement",r[r["TextElement"]=311]="TextElement",r[r["PanelElement"]=312]="PanelElement",r[r["ShapeElement"]=313]="ShapeElement",r[r["TreeViewElement"]=314]="TreeViewElement",r[r["TreeViewBoxElement"]=315]="TreeViewBoxElement",r[r["DatePickerElement"]=316]="DatePickerElement",r[r["UserCode"]=1e3]="UserCode",(r=k=t.StiComponentPriority||(t.StiComponentPriority={}))[r["Component"]=0]="Component",r[r["CrossTab"]=1500]="CrossTab",r[r["SubReportsV1"]=1500]="SubReportsV1",r[r["SubReportsV2"]=0]="SubReportsV2",r[r["Container"]=0]="Container",r[r["Panel"]=0]="Panel",r[r["ReportTitleBandBefore"]=-400]="ReportTitleBandBefore",r[r["ReportTitleBandAfterV1"]=-200]="ReportTitleBandAfterV1",r[r["ReportTitleBandAfterV2"]=200]="ReportTitleBandAfterV2",r[r["ReportSummaryBand"]=500]="ReportSummaryBand",r[r["PageHeaderBandBefore"]=-200]="PageHeaderBandBefore",r[r["PageHeaderBandAfter"]=-400]="PageHeaderBandAfter",r[r["PageFooterBandBottom"]=-300]="PageFooterBandBottom",r[r["PageFooterBandTop"]=1e3]="PageFooterBandTop",r[r["GroupHeaderBand"]=300]="GroupHeaderBand",r[r["GroupFooterBand"]=300]="GroupFooterBand",r[r["HeaderBand"]=300]="HeaderBand",r[r["FooterBand"]=300]="FooterBand",r[r["ColumnHeaderBand"]=300]="ColumnHeaderBand",r[r["ColumnFooterBand"]=300]="ColumnFooterBand",r[r["DataBand"]=300]="DataBand",r[r["Table"]=300]="Table",r[r["ChildBand"]=300]="ChildBand",r[r["EmptyBand"]=300]="EmptyBand",r[r["OverlayBand"]=700]="OverlayBand",r[r["Primitive"]=1500]="Primitive",r[r["CrossGroupHeaderBand"]=300]="CrossGroupHeaderBand",r[r["CrossGroupFooterBand"]=300]="CrossGroupFooterBand",r[r["CrossHeaderBand"]=300]="CrossHeaderBand",r[r["CrossFooterBand"]=300]="CrossFooterBand",r[r["CrossDataBand"]=300]="CrossDataBand",(r=M=t.StiComponentType||(t.StiComponentType={}))[r["Simple"]=0]="Simple",r[r["Master"]=1]="Master",r[r["Detail"]=2]="Detail",r[r["Static"]=3]="Static",(r=O=t.StiRestrictions||(t.StiRestrictions={}))[r["None"]=0]="None",r[r["AllowMove"]=1]="AllowMove",r[r["AllowResize"]=2]="AllowResize",r[r["AllowSelect"]=4]="AllowSelect",r[r["AllowChange"]=8]="AllowChange",r[r["AllowDelete"]=16]="AllowDelete",r[r["All"]=31]="All",(r=_=t.StiHighlightState||(t.StiHighlightState={}))[r["Hide"]=0]="Hide",r[r["Show"]=1]="Show",r[r["Active"]=2]="Active",(r=j=t.StiAligning||(t.StiAligning={}))[r["Left"]=0]="Left",r[r["Center"]=1]="Center",r[r["Right"]=2]="Right",r[r["Top"]=3]="Top",r[r["Middle"]=4]="Middle",r[r["Bottom"]=5]="Bottom",(r=G=t.StiColumnDirection||(t.StiColumnDirection={}))[r["DownThenAcross"]=0]="DownThenAcross",r[r["AcrossThenDown"]=1]="AcrossThenDown",(r=H=t.StiEmptySizeMode||(t.StiEmptySizeMode={}))[r["IncreaseLastRow"]=0]="IncreaseLastRow",r[r["DecreaseLastRow"]=1]="DecreaseLastRow",r[r["AlignFooterToBottom"]=2]="AlignFooterToBottom",r[r["AlignFooterToTop"]=3]="AlignFooterToTop",(r=Q=t.StiGroupSortDirection||(t.StiGroupSortDirection={}))[r["Ascending"]=0]="Ascending",r[r["Descending"]=1]="Descending",r[r["None"]=2]="None",(r=L=t.StiGroupSummaryType||(t.StiGroupSummaryType={}))[r["Avg"]=0]="Avg",r[r["AvgDate"]=1]="AvgDate",r[r["AvgTime"]=2]="AvgTime",r[r["Count"]=3]="Count",r[r["CountDistinct"]=4]="CountDistinct",r[r["MaxDate"]=5]="MaxDate",r[r["MaxTime"]=6]="MaxTime",r[r["Max"]=7]="Max",r[r["MinDate"]=8]="MinDate",r[r["MinTime"]=9]="MinTime",r[r["Min"]=10]="Min",r[r["Median"]=11]="Median",r[r["Mode"]=12]="Mode",r[r["Sum"]=13]="Sum",r[r["SumTime"]=14]="SumTime",(r=Y=t.StiPageOrientation||(t.StiPageOrientation={}))[r["Portrait"]=0]="Portrait",r[r["Landscape"]=1]="Landscape",(r=U=t.StiTextQuality||(t.StiTextQuality={}))[r["Standard"]=0]="Standard",r[r["Typographic"]=1]="Typographic",r[r["Wysiwyg"]=2]="Wysiwyg",(r=J=t.StiSystemTextType||(t.StiSystemTextType={}))[r["Totals"]=0]="Totals",r[r["SystemVariables"]=1]="SystemVariables",r[r["Expression"]=2]="Expression",r[r["DataColumn"]=3]="DataColumn",r[r["None"]=4]="None",(r=W=t.StiBrushType||(t.StiBrushType={}))[r["Solid"]=0]="Solid",r[r["Gradient"]=1]="Gradient",(r=V=t.StiColorScaleType||(t.StiColorScaleType={}))[r["Color2"]=0]="Color2",r[r["Color3"]=1]="Color3",(r=z=t.StiDataBarDirection||(t.StiDataBarDirection={}))[r["Default"]=0]="Default",r[r["LeftToRight"]=1]="LeftToRight",r[r["RighToLeft"]=2]="RighToLeft",(r=X=t.StiInteractionSortDirection||(t.StiInteractionSortDirection={}))[r["Ascending"]=0]="Ascending",r[r["Descending"]=1]="Descending",r[r["None"]=2]="None",(r=K=t.StiImageRotation||(t.StiImageRotation={}))[r["None"]=0]="None",r[r["Rotate90CW"]=1]="Rotate90CW",r[r["Rotate90CCW"]=2]="Rotate90CCW",r[r["Rotate180"]=3]="Rotate180",r[r["FlipHorizontal"]=4]="FlipHorizontal",r[r["FlipVertical"]=5]="FlipVertical",(r=Z=t.StiDashboardViewMode||(t.StiDashboardViewMode={}))[r["Desktop"]=0]="Desktop",r[r["Mobile"]=1]="Mobile",(t=q=t.StiSparklineType||(t.StiSparklineType={}))[t["Line"]=0]="Line",t[t["Area"]=1]="Area",t[t["Column"]=2]="Column",t[t["WinLoss"]=3]="WinLoss"}(Stimulsoft=Stimulsoft||{}),function(c){var t,e,r;e=t=c.Report||(c.Report={}),function(S){var i=c.System.StiString,p=c.System.Drawing.StringFormat,E=c.System.Drawing.Point,h=c.System.Drawing.GraphicsUnit,R=c.Base.Drawing.StiSolidBrush,D=c.System.Drawing.Rectangle,r=c.Base.StiJson,t=c.Base.Services.StiService,m=c.System.Text.StringBuilder,d=c.System.Drawing.StringAlignment,g=c.System.Drawing.Font,P=c.Report.Components.StiAngle,x=c.System.Drawing.Color,l=c.Base.Drawing.StiVertAlignment,u=c.Base.Drawing.StiHorAlignment,s,e;(e=s=S.BarcodeCommandCode||(S.BarcodeCommandCode={}))[e["Fnc1"]=256]="Fnc1",e[e["Fnc2"]=512]="Fnc2",e[e["Fnc3"]=768]="Fnc3",e[e["Fnc4"]=1024]="Fnc4";var t=(__extends(o,n=t),o.prototype.getNetTypeName=function(){return"Stimulsoft.Report.Components.BarCodes."+this.stimulsoft.getType().ssTypeName},o.loadFromJsonObjectInternal=function(t){var e=t.properties().firstOrDefault(function(t){return"Ident"==t.name}).value.toString(),r=StiOptions.Services.barCodes.firstOrDefault(function(t){return t.stimulsoft.getType().stimulsoft.getTypeName()==e});if(null==r)throw i.format("Type {0} is not found!",e);var r=r.createNew();return r.loadFromJsonObject(t),r},o.loadFromXmlInternal=function(t){if(null==t.attributes)return null;var e=t.attributes.getNamedItem("type"),r=StiOptions.Services.barCodes.firstOrDefault(function(t){return t.getNetTypeName()==e.value||t.stimulsoft.getType().stimulsoft.getNetTypeName()==e.value});if(null==r)throw i.format("Type {0} is not found!",e.value);var r=r.createNew();return r.loadFromXmlObject(t),r},o.prototype.saveToJsonObject=function(t){var e=new r;return e.addPropertyIdent("Ident",this.stimulsoft.getType().stimulsoft.getTypeName()),e},o.prototype.loadFromJsonObject=function(t){},Object.defineProperty(o.prototype,"componentId",{get:function(){return null},enumerable:!1,configurable:!0}),o.prototype.loadFromXmlObject=function(t){},Object.defineProperty(o.prototype,"visibleProperties",{get:function(){return this._visibleProperties},set:function(t){this._visibleProperties=t},enumerable:!1,configurable:!0}),Object.defineProperty(o.prototype,"defaultCodeValue",{get:function(){return null},enumerable:!1,configurable:!0}),Object.defineProperty(o.prototype,"customPainter",{get:function(){return this._customPainter},set:function(t){this._customPainter=t},enumerable:!1,configurable:!0}),Object.defineProperty(o.prototype,"mainWidth",{get:function(){return this.barCodeData.mainWidth},enumerable:!1,configurable:!0}),Object.defineProperty(o.prototype,"mainHeight",{get:function(){return this.barCodeData.mainHeight},enumerable:!1,configurable:!0}),Object.defineProperty(o.prototype,"barCodeData",{get:function(){return this._barCodeData},enumerable:!1,configurable:!0}),Object.defineProperty(o.prototype,"module",{get:function(){return null},set:function(t){},enumerable:!1,configurable:!0}),Object.defineProperty(o.prototype,"height",{get:function(){return null},set:function(t){},enumerable:!1,configurable:!0}),Object.defineProperty(o.prototype,"textAlignment",{get:function(){return d.Center},enumerable:!1,configurable:!0}),Object.defineProperty(o.prototype,"textSpacing",{get:function(){return!0},enumerable:!1,configurable:!0}),Object.defineProperty(o.prototype,"labelFontHeight",{get:function(){return null},enumerable:!1,configurable:!0}),o.prototype.checkCodeSymbols=function(t,e){var r=new m;if(null!=t)for(var n=0;n<t.length;n++){var i=t[n];-1!=e.indexOf(i)&&r.append(i)}return r.toString()},o.prototype.getCode=function(t){return t.getBarCodeString()},o.prototype.getCombinedCode=function(){return null},o.unpackTilde=function(t,e){var r=0,n=[];while(r<t.length){var i=t[r++];if(e&&126==i){var o=!1,a,a;if(r<t.length&&126==t[r]&&(n.push(126),o=!0,r++),!o&&r+2<t.length&&(70==t[r]&&78==t[r+1]&&67==t[r+2]&&r+3<t.length&&(1!=(a=t[r+3]-48)&&2!=a&&3!=a&&4!=a||(1==a&&n.push(s.Fnc1),2==a&&n.push(s.Fnc2),3==a&&n.push(s.Fnc3),4==a&&n.push(s.Fnc4),o=!0,r+=4)),!o&&c.System.Char.isDigit(t[r])&&c.System.Char.isDigit(t[r+1])&&c.System.Char.isDigit(t[r+2])&&0<=(a=100*(t[r]-48)+10*(t[r+1]-48)+(t[r+2]-48))&&a<=255&&(n.push(a),o=!0,r+=3)),o)continue}n.push(i)}return n},o.prototype.getSymbolWidth=function(t){var e;switch(t){case"0":case"4":case"8":case"c":case"d":case"e":case"f":e=1;break;case"1":case"5":case"9":e=1*this.barCodeData.wideToNarrowRatio;break;case"2":case"6":case"a":e=1.5*this.barCodeData.wideToNarrowRatio;break;case"3":case"7":case"b":e=2*this.barCodeData.wideToNarrowRatio;break;default:e=1;break}return e},o.prototype.isSymbolLong=function(t){var e;switch(t){case"8":case"9":case"a":case"b":case"c":case"e":e=!0;break;default:e=!1;break}return e},o.prototype.isSymbolSpace=function(t){var e;switch(t){case"0":case"1":case"2":case"3":e=!0;break;default:e=!1;break}return e},o.prototype.isSymbolPostDescend=function(t){var e;switch(t){case"e":case"f":e=!0;break;default:e=!1;break}return e},o.prototype.getSymbolsStringWidth=function(t){for(var e=0,r=0;r<t.length;r++)e+=this.getSymbolWidth(t[r]);return e},o.prototype.drawBars=function(t,e,r){for(var n=this.barCodeData.spaceLeft,i=this.barCodeData.spaceTop,o=0,a=0;a<e.length;a++){var s=e[a],l,u;0==this.isSymbolSpace(s)&&(l=this.barCodeData.lineHeightShort,1==this.isSymbolLong(s)&&(l=this.barCodeData.lineHeightLong),u=0,1==this.isSymbolPostDescend(s)&&(u=this.barCodeData.lineHeightLong-this.barCodeData.lineHeightShort),this.baseFillRectangle(t,r,n+this.barCodeData.lineWidth*o,i+u,this.barCodeData.lineWidth*this.getSymbolWidth(s),l-u)),o+=this.getSymbolWidth(s)}},o.prototype.drawBarCode=function(t,e,r){this.drawBarCode1(t,e,r,null)},o.prototype.drawBarCode1=function(t,e,r,n){var i=new g(r.font.name,r.font.size*(r.barCodeType.labelFontHeight/8)*this.barCodeData.fullZoomY,r.font.style,h.Pixel);this.translateRect(t,e,r);var o=new R(r.foreColor),a=new R(r.backColor);if(this.baseFillRectangle(t,a,0,0,this.barCodeData.mainWidth,this.barCodeData.mainHeight),this.drawBars(t,this.barCodeData.barsArray,o),r.showLabelText&&0<this.barCodeData.textString.length){var s=new m;if(this.textSpacing){for(var l=0;l<this.barCodeData.textString.length;l++)s.append(this.barCodeData.textString[l]),s.append(" ");s.length=s.length-1}else s.append(this.barCodeData.textString);var u=s.toString(),c=this.baseMeasureString3(t,u,i),e=this.getSymbolsStringWidth(this.barCodeData.barsArray);c.width>e*this.barCodeData.lineWidth+this.barCodeData.spaceLeft+this.barCodeData.spaceRight&&(u=this.barCodeData.textString);var a=0,r=this.barCodeData.textPosition,c=new p;c.alignment=this.textAlignment,c.formatFlags=0,this.textAlignment==d.Center?this.baseDrawString2(t,u,i,o,new D(a,r,e*this.barCodeData.lineWidth+this.barCodeData.spaceLeft+this.barCodeData.spaceRight,2*this.barCodeData.textHeight),c):this.baseDrawString2(t,this.barCodeData.textString,i,o,new D(this.barCodeData.spaceLeft,r,e*this.barCodeData.lineWidth,2*this.barCodeData.textHeight),c)}null!=n&&n(t,o,this),this.rollbackTransform(t)},o.prototype.calculateSizeFull=function(t,e,r,n,i,o,a,s,l,u,c,p,h,m,d,g,f){this.barCodeData.wideToNarrowRatio=c,this.barCodeData.code=h,this.barCodeData.textString=m,this.barCodeData.barsArray=d,f.showQuietZones||this.is(S.StiAustraliaPost4StateBarCodeType)||this.is(S.StiITF14BarCodeType)||(n=r=e=t=0),this.rectWindow=new D(0,0,g.width,g.height),f.angle!=P.Angle90&&f.angle!=P.Angle270||(this.rectWindow=new D(0,0,g.height,g.width));var m=f.font.sizeInPoints-8+.5;l+=m,s+=m;var g=this.module/10*p,m=g,p=u*(1-this.height);f.autoScale&&(g=this.rectWindow.width/(this.getSymbolsStringWidth(d)+t+e),p=-(this.rectWindow.height/m-l),!f.showLabelText&&u<a&&(p-=s)),this.barCodeData.fullZoomY=m,this.barCodeData.spaceLeft=t*g,this.barCodeData.spaceRight=e*g,this.barCodeData.lineWidth=1*g,this.barCodeData.mainWidth=(this.getSymbolsStringWidth(d)+t+e)*g,this.barCodeData.spaceTop=r*m,this.barCodeData.spaceBottom=n*m,this.barCodeData.lineHeightShort=(i-p)*m,this.barCodeData.lineHeightLong=(o-p)*m,r<a&&(a-=p),this.barCodeData.textPosition=a*m,this.barCodeData.mainHeight=(l-p)*m,this.barCodeData.textHeight=s*m},o.prototype.calculateSize2=function(t,e,r,n,i,o,a,s,l,u,c,p,h,m){this.calculateSizeFull(t,e,r,n,i,o,a,s,l,i,u,c,"","",p,h,m)},o.prototype.draw2DBarCode=function(t,e,r,n){this.rectWindow=new D(0,0,e.width,e.height),r.angle!=P.Angle90&&r.angle!=P.Angle270||(this.rectWindow=new D(0,0,e.height,e.width));var i=2;r.showQuietZones||(i=0);var o=this.module/10*n,a=o;r.autoScale&&(o=this.rectWindow.width/(this.barCodeData.matrixWidth+2*i),a=this.rectWindow.height/(this.barCodeData.matrixHeight*this.barCodeData.matrixRatioY+2*i),a=o=Math.min(o,a)),this.barCodeData.mainWidth=(this.barCodeData.matrixWidth+2*i)*o,this.barCodeData.mainHeight=(this.barCodeData.matrixHeight*this.barCodeData.matrixRatioY+2*i)*a,this.barCodeData.spaceLeft=i*o,this.barCodeData.spaceTop=i*a,this.translateRect(t,e,r);var s=new R(r.foreColor),l=new R(r.backColor);this.baseFillRectangle(t,l,0,0,this.barCodeData.mainWidth,this.barCodeData.mainHeight);for(var u=this.barCodeData.spaceLeft,c=this.barCodeData.spaceTop,p=0;p<this.barCodeData.matrixHeight;p++)for(var h=0;h<this.barCodeData.matrixWidth;h++)0!=this.barCodeData.matrixGrid[h+p*this.barCodeData.matrixWidth]&&this.baseFillRectangle2D(t,s,u+h*o,c+p*a*this.barCodeData.matrixRatioY,o,a*this.barCodeData.matrixRatioY);var m=this.as(S.StiQRCodeBarCodeType),i,e,l,i,e,n;null!=m&&null!=m.image&&(i=isNaN(m.image.horizontalResolution)||m.image.horizontalResolution<50?100:m.image.horizontalResolution,e=isNaN(m.image.verticalResolution)||m.image.verticalResolution<50?100:m.image.verticalResolution,l=m.image.width/(i/100)*n*m.imageMultipleFactor,i=m.image.height/(e/100)*n*m.imageMultipleFactor,e=u+(this.barCodeData.matrixWidth*o-l)/2,n=c+(this.barCodeData.matrixHeight*a-i)/2,this.baseDrawImage(t,m.image,r.report,e,n,l,i)),this.rollbackTransform(t)},o.prototype.drawMaxicode=function(t,e,r,n){this.rectWindow=new D(0,0,e.width,e.height),r.angle!=P.Angle90&&r.angle!=P.Angle270||(this.rectWindow=new D(0,0,e.height,e.width));var i,o=100/29,a=1.1547*o,s=.866*o,l=1.5*o,u=s+a/2,c=n,p=32*o,n=34*s+a;r.autoScale&&(c=Math.min(this.rectWindow.height,this.rectWindow.width)/p),this.barCodeData.mainWidth=p*c,this.barCodeData.mainHeight=n*c,this.translateRect(t,e,r);var h=new R(r.foreColor),m=new R(r.backColor.a<64?x.white:r.backColor);this.baseFillRectangle(t,m,0,0,this.barCodeData.mainWidth,this.barCodeData.mainHeight);for(var d=[0,o/2,o/2,0,-o/2,-o/2],g=[a/2,a/4,-a/4,-a/2,-a/4,a/4],f=.87,S=0;S<33;S++)for(var y=0;y<30;y++)if(1==this.barCodeData.matrixGrid[30*S+y]){var A=l+y*o;0!=(1&S)&&(A+=o/2);for(var b=u+s*S,C=[],v=0;v<6;v++)C[v]=new E((A+d[v]*f)*c,(b+g[v]*f)*c);this.baseFillPolygon(t,h,C)}for(var w=l+14*o,B=u+16*s,I=[15.236,12.598,9.96,7.32,4.646,2.008],v=0;v<I.length;v++){var T=new D((w-I[v])*c,(B-I[v])*c,2*I[v]*c,2*I[v]*c);this.baseFillEllipse(t,0<(1&v)?m:h,T.x,T.y,T.width,T.height)}this.rollbackTransform(t)},o.prototype.drawBarCodeError=function(t,e,r){this.drawBarCodeError2(t,e,r,null)},o.prototype.drawBarCodeError2=function(t,e,r,n){var r=new R(r.backColor);this.baseFillRectangle(t,r,e.x,e.y,e.width,e.height),this.baseDrawRectangle(t,x.red,4,e.x,e.y,e.width,e.height);var r=new g("Arial",8);i.isNullOrEmpty(n)?this.baseDrawString(t,"Not valid data",r,new R(x.red),e.x+1,e.y+1):this.baseDrawString(t,n,r,new R(x.red),e.x+1,e.y+1)},o.prototype.draw=function(t,e,r,n){},o.prototype.translateRect=function(t,e,r){var n,i,o,a,s;switch(r.horAlignment){case u.Right:a=this.rectWindow.width-this.barCodeData.mainWidth;break;case u.Center:a=(this.rectWindow.width-this.barCodeData.mainWidth)/2;break;default:a=0;break}switch(r.vertAlignment){case l.Bottom:s=this.rectWindow.height-this.barCodeData.mainHeight;break;case l.Center:s=(this.rectWindow.height-this.barCodeData.mainHeight)/2;break;default:s=0;break}switch(r.angle){case P.Angle90:n=-90,i=e.x,o=e.y+e.height;break;case P.Angle180:n=-180,i=e.x+e.width,o=e.y+e.height;break;case P.Angle270:n=-270,i=e.x+e.width,o=e.y;break;default:n=0,i=e.x,o=e.y;break}this.baseTransform(t,i,o,n,a,s)},o.prototype.rollbackTransform=function(t){this.baseRollbackTransform(t)},o.prototype.baseDrawString=function(t,e,r,n,i,o){this.baseDrawString2(t,e,r,n,new D(i,o,0,0),null)},o.prototype.baseTransform=function(t,e,r,n,i,o){var a=null;t.stimulsoft.is(c.Report.Export.StiBarCodeExportPainter)?a=t.stimulsoft.as(c.Report.Export.StiBarCodeExportPainter):null!=this.customPainter&&(a=this.customPainter),a.baseTransform(t,e,r,n,i,o)},o.prototype.baseRollbackTransform=function(t){var e=null;t.stimulsoft.is(c.Report.Export.StiBarCodeExportPainter)?e=t.stimulsoft.as(c.Report.Export.StiBarCodeExportPainter):null!=this.customPainter&&(e=this.customPainter),e.baseRollbackTransform(t)},o.prototype.baseFillRectangle=function(t,e,r,n,i,o){var a=null;t.stimulsoft.is(c.Report.Export.StiBarCodeExportPainter)?a=t.stimulsoft.as(c.Report.Export.StiBarCodeExportPainter):null!=this.customPainter&&(a=this.customPainter),a.baseFillRectangle(t,e,r,n,i,o)},o.prototype.baseFillRectangle2D=function(t,e,r,n,i,o){var a=null;t.stimulsoft.is(c.Report.Export.StiBarCodeExportPainter)?a=t.stimulsoft.as(c.Report.Export.StiBarCodeExportPainter):null!=this.customPainter&&(a=this.customPainter),a.baseFillRectangle2D(t,e,r,n,i,o)},o.prototype.baseFillPolygon=function(t,e,r){var n=null;t.stimulsoft.is(c.Report.Export.StiBarCodeExportPainter)?n=t.stimulsoft.as(c.Report.Export.StiBarCodeExportPainter):null!=this.customPainter&&(n=this.customPainter),n.baseFillPolygon(t,e,r)},o.prototype.baseFillEllipse=function(t,e,r,n,i,o){var a=null;t.stimulsoft.is(c.Report.Export.StiBarCodeExportPainter)?a=t.stimulsoft.as(c.Report.Export.StiBarCodeExportPainter):null!=this.customPainter&&(a=this.customPainter),a.baseFillEllipse(t,e,r,n,i,o)},o.prototype.baseDrawRectangle=function(t,e,r,n,i,o,a){var s=null;t.stimulsoft.is(c.Report.Export.StiBarCodeExportPainter)?s=t.stimulsoft.as(c.Report.Export.StiBarCodeExportPainter):null!=this.customPainter&&(s=this.customPainter),s.baseDrawRectangle(t,e,r,n,i,o,a)},o.prototype.baseDrawImage=function(t,e,r,n,i,o,a){var s=null;t.stimulsoft.is(c.Report.Export.StiBarCodeExportPainter)?s=t.stimulsoft.as(c.Report.Export.StiBarCodeExportPainter):null!=this.customPainter&&(s=this.customPainter),s.baseDrawImage(t,e,r,n,i,o,a)},o.prototype.baseDrawString2=function(t,e,r,n,i,o){var a=null;t.stimulsoft.is(c.Report.Export.StiBarCodeExportPainter)?a=t.stimulsoft.as(c.Report.Export.StiBarCodeExportPainter):null!=this.customPainter&&(a=this.customPainter),a.baseDrawString(t,e,r,n,i,o)},o.prototype.baseMeasureString3=function(t,e,r){var n=null;return t.stimulsoft.is(c.Report.Export.StiBarCodeExportPainter)?n=t.stimulsoft.as(c.Report.Export.StiBarCodeExportPainter):null!=this.customPainter&&(n=this.customPainter),n.baseMeasureString(t,e,r)},o.prototype.createNew=function(){return null},o),n;function o(){var t=null!==n&&n.apply(this,arguments)||this;return t.visiblePropertiesCount=27,t._barCodeData=new S.StiBarCodeData,t.rectWindow=new D(0,0,0,0),t.defaultLabelFontHeight=8,t}S.StiBarCodeTypeService=t}(r=e.BarCodes||(e.BarCodes={}))}(Stimulsoft=Stimulsoft||{}),function(t){var e,r,n,i,S,y,o,A,t,a;function s(t,e){void 0===t&&(t=20),void 0===e&&(e=1);var r=a.call(this)||this;return r.australiaPost4StateSymbolsC="ABC DEF#GHIabcdeJKLfMNOgPQRhijklSTUmVWXnYZ0opqrs123t456u789vwxyz",r.australiaPost4StateSymbolsN="012_345_678_9",r.australiaPost4StateStartCode="13",r.australiaPost4StateStopCode="13",r._module=20,r._height=1,r.australiaPost4StateSpaceLeft=11.8,r.australiaPost4StateSpaceRight=11.8,r.australiaPost4StateSpaceTop=3.9+7,r.australiaPost4StateSpaceBottom=3.9,r.australiaPost4StateLineHeightLong=10,r.australiaPost4StateLineHeightShort=.62*r.australiaPost4StateLineHeightLong,r.australiaPost4StateTextPosition=1,r.australiaPost4StateTextHeight=5,r.australiaPost4StateMainHeight=r.australiaPost4StateSpaceTop+r.australiaPost4StateLineHeightLong+r.australiaPost4StateSpaceBottom,r.australiaPost4StateLineHeightForCut=r.australiaPost4StateLineHeightLong,r.mult=S.create2(Number,64,64),r.gen=[0,0,0,0,0],r._module=t,r._height=e,r}r=e=t.Report||(t.Report={}),i=n=r.BarCodes||(r.BarCodes={}),S=t.System.StiArray,y=t.System.StiString,o=t.System.Drawing.StringAlignment,A=t.System.Text.StringBuilder,a=i.StiBarCodeTypeService,__extends(s,a),s.prototype.saveToJsonObject=function(t){var t=a.prototype.saveToJsonObject.call(this,t);return t.addPropertyNumber("Module",this.module,20),t.addPropertyNumber("Height",this.height,1),t},s.prototype.loadFromJsonObject=function(t){var e,r;try{for(var n=__values(t.properties()),i=n.next();!i.done;i=n.next()){var o=i.value;switch(o.name){case"Module":this._module=o.value.stimulsoft.toNumber();break;case"Height":this._height=o.value.stimulsoft.toNumber();break}}}catch(t){e={error:t}}finally{try{i&&!i.done&&(r=n.return)&&r.call(n)}finally{if(e)throw e.error}}},Object.defineProperty(s.prototype,"componentId",{get:function(){return r.StiComponentId.StiAustraliaPost4StateBarCodeType},enumerable:!1,configurable:!0}),s.prototype.loadFromXmlObject=function(t){a.prototype.loadFromXmlObject.call(this,t);for(var e=0;e<t.childNodes.length;e++){var r=t.childNodes[e];switch(r.nodeName){case"Angle":this.module=r.textContent.stimulsoft.toNumber();break;case"Height":this.height=r.textContent.stimulsoft.toNumber();break}}},Object.defineProperty(s.prototype,"serviceName",{get:function(){return"Australia Post 4-state"},enumerable:!1,configurable:!0}),Object.defineProperty(s.prototype,"defaultCodeValue",{get:function(){return"1139987520"},enumerable:!1,configurable:!0}),Object.defineProperty(s.prototype,"module",{get:function(){return this._module},set:function(t){(this._module=t)<20&&(this._module=20),20<t&&(this._module=20)},enumerable:!1,configurable:!0}),Object.defineProperty(s.prototype,"height",{get:function(){return this._height},set:function(t){(this._height=t)<1&&(this._height=1),1<t&&(this._height=1)},enumerable:!1,configurable:!0}),Object.defineProperty(s.prototype,"labelFontHeight",{get:function(){return this.australiaPost4StateTextHeight},enumerable:!1,configurable:!0}),Object.defineProperty(s.prototype,"visibleProperties",{get:function(){var t=S.create(Boolean,this.visiblePropertiesCount);return t[13]=!0,t},enumerable:!1,configurable:!0}),Object.defineProperty(s.prototype,"textAlignment",{get:function(){return o.Near},enumerable:!1,configurable:!0}),s.prototype.rSInitialise=function(){for(var t=67,e=64,r=0;r<64;r++)this.mult[0][r]=0,this.mult[1][r]=r;for(var n=1,r=1;r<64;r++){var i=n<<1;0!=(i&e)&&(i^=t);for(var o=0;o<64;o++)this.mult[i][o]=this.mult[n][o]<<1,0!=(this.mult[i][o]&e)&&(this.mult[i][o]^=t);n=i}this.gen[0]=48,this.gen[1]=17,this.gen[2]=29,this.gen[3]=30,this.gen[4]=1},s.prototype.rSEncode=function(t){0==this.gen[0]&&this.rSInitialise();for(var e=S.create(Number,31),r=t.length,n=0;n<4;n++)e[n]=0;for(var n=0;n<r;n++)e[n+4]=t[r-1-n];for(var n=r-1;0<=n;n--)for(var i=0;i<=4;i++){var o=this.gen[i],a=e[4+n],a=this.mult[o][a];e[n+i]=e[n+i]^a}for(var s=S.create(Number,4),n=0;n<4;n++)s[n]=e[3-n];return s},s.prototype.charTo4State=function(t,e){var r=new A,n,n;return e?(n=this.australiaPost4StateSymbolsC.indexOf(t),r.append(String.fromCharCode((n>>4&3)+48))):n=this.australiaPost4StateSymbolsN.indexOf(t),r.append(String.fromCharCode((n>>2&3)+48)),r.append(String.fromCharCode((3&n)+48)),r.toString()},s.prototype.stateToBar=function(t){for(var e=new A,r=0;r<t.length;r++){switch(t[r]){case"0":e.append("c");break;case"1":e.append("d");break;case"2":e.append("e");break;case"3":e.append("f");break}e.append("0")}return e.toString()},s.prototype.makeBarsArray=function(t,e,r){var n=t.ref,i=e.ref,o=r.ref;if(n.length<10)return!(o="Data too short");var a=n.substr(0,2),s=n.substr(2,8),l=n.substr(10),u=-1;switch(a){case"11":case"87":case"45":case"92":u=0;break;case"59":u=16;break;case"62":case"44":u=31;break}if(u<0)return!(o="Unknown FCC");var c=u/3;if(l.length>c)return!(o="CustomerInfo too long");c>l.length&&(c=l.length);var p=new A;p.append(this.charTo4State(a[0],!1)),p.append(this.charTo4State(a[1],!1)),p.append(this.charTo4State(s[0],!1)),p.append(this.charTo4State(s[1],!1)),p.append(this.charTo4State(s[2],!1)),p.append(this.charTo4State(s[3],!1)),p.append(this.charTo4State(s[4],!1)),p.append(this.charTo4State(s[5],!1)),p.append(this.charTo4State(s[6],!1)),p.append(this.charTo4State(s[7],!1));for(var h=0;h<c;h++)p.append(this.charTo4State(l[h],!0));if(p.length<21+u)for(var m=21+u-p.length,h=0;h<m;h++)p.append("3");p.toString().charCodeAt(0);for(var d=Math.floor(p.length/3),g=S.create(Number,d),h=0;h<d;h++)g[h]=(p.toString().charCodeAt(3*h+0)-48<<4)+(p.toString().charCodeAt(3*h+1)-48<<2)+(p.toString().charCodeAt(3*h+2)-48);for(var f=this.rSEncode(g),h=0;h<4;h++)p.append(String.fromCharCode((f[h]>>4&3)+48)),p.append(String.fromCharCode((f[h]>>2&3)+48)),p.append(String.fromCharCode((3&f[h])+48));return i=this.stateToBar(this.australiaPost4StateStartCode+p.toString()+this.australiaPost4StateStopCode),n=y.format("{0} {1} {2} {3} {4} {5} {6}",a,s,l.substr(0,c),f[0],f[1],f[2],f[3]),t.ref=n,e.ref=i,r.ref=o,!0},s.prototype.draw=function(t,e,r,n){var i=this.getCode(e),i,o="",a="",s={ref:i=this.checkCodeSymbols(i,this.australiaPost4StateSymbolsC)},l={ref:o},u={ref:a};this.makeBarsArray(s,l,u)?(i=s.ref,o=l.ref,a=u.ref,this.calculateSizeFull(this.australiaPost4StateSpaceLeft,this.australiaPost4StateSpaceRight,this.australiaPost4StateSpaceTop,this.australiaPost4StateSpaceBottom,this.australiaPost4StateLineHeightShort,this.australiaPost4StateLineHeightLong,this.australiaPost4StateTextPosition,this.australiaPost4StateTextHeight,this.australiaPost4StateMainHeight,this.australiaPost4StateLineHeightForCut,1,n,i,i,o,r,e),this.drawBarCode(t,r,e)):0<a.length?this.drawBarCodeError2(t,r,e,a):this.drawBarCodeError(t,r,e)},s.prototype.createNew=function(){return new s},t=s,i.StiAustraliaPost4StateBarCodeType=t}(Stimulsoft=Stimulsoft||{}),function(t){var e,r,n,i;r=e=t.Report||(t.Report={}),(i=n=r.Components||(r.Components={})).IStiBorder=new t.System.Interface("IStiBorder")}(Stimulsoft=Stimulsoft||{}),function(t){var e,r,n,i;r=e=t.Report||(t.Report={}),(i=n=r.Components||(r.Components={})).IStiEnumAngle=new t.System.Interface("IStiEnumAngle")}(Stimulsoft=Stimulsoft||{}),function(t){var e,r,n;r=e=t.Report||(t.Report={}),(r=n=r.Components||(r.Components={})).IStiHorAlignment=new t.System.Interface("IStiHorAlignment"),r.ImplementsIStiHorAlignment=[]}(Stimulsoft=Stimulsoft||{}),function(t){var e,r,n;r=e=t.Report||(t.Report={}),(r=n=r.Components||(r.Components={})).IStiVertAlignment=new t.System.Interface("IStiVertAlignment"),r.ImplementsIStiVertAlignment=[]}(Stimulsoft=Stimulsoft||{}),function(t){var e,r,n;r=e=t.Report||(t.Report={}),(r=n=r.Components||(r.Components={})).IStiForeColor=new t.System.Interface("IStiForeColor"),r.ImplementsIStiForeColor=[]}(Stimulsoft=Stimulsoft||{}),function(t){var e,r,n;r=e=t.Report||(t.Report={}),(r=n=r.Components||(r.Components={})).IStiBackColor=new t.System.Interface("IStiBackColor"),r.ImplementsIStiBackColor=[]}(Stimulsoft=Stimulsoft||{}),function(t){var e,r,n,i;r=e=t.Report||(t.Report={}),(i=n=r.Components||(r.Components={})).IStiExportImage=new t.System.Interface("IStiExportImage")}(Stimulsoft=Stimulsoft||{}),function(t){var e,r,n,i;r=e=t.Report||(t.Report={}),(i=n=r.Components||(r.Components={})).IStiExportImageExtended=new t.System.Interface("IStiExportImageExtended")}(Stimulsoft=Stimulsoft||{}),function(e){var t,r,n,i,o,a,s;function l(t){void 0===t&&(t=""),this.val="",this.parentComponent=null,this.fullConvert=!0,this.genAddEvent=!0,this.val=t}r=t=e.Report||(e.Report={}),i=n=r.Expressions||(r.Expressions={}),o=e.System.ICloneable,a=e.Base.JsonReportObject.IStiJsonReportObject,s=e.Base.StiJson,l.prototype.implements=function(){return[o,a]},l.prototype.is=function(t){if(t instanceof e.System.Interface)return-1!=this.implements().indexOf(t);if("function"==typeof t)return this instanceof t;if(null==t)throw new Error("Type for comparison is 'undefined'");return!1},l.prototype.is2=function(t){return this.is(t)},l.prototype.as=function(t){if(this.is(t))return this;return null},l.prototype.saveToJsonObject=function(t){var e=new s;return e.addPropertyStringNullOrEmpty("Value",this.value),e},l.prototype.loadFromJsonObject=function(t){var e,r;try{for(var n=__values(t.properties()),i=n.next();!i.done;i=n.next()){var o=i.value;switch(o.name){case"Value":this.value=o.value;break}}}catch(t){e={error:t}}finally{try{i&&!i.done&&(r=n.return)&&r.call(n)}finally{if(e)throw e.error}}},l.prototype.loadFromXml=function(t){this.value=t.textContent},Object.defineProperty(l.prototype,"value",{get:function(){return this.getValueProp()},set:function(t){this.setValueProp(t)},enumerable:!1,configurable:!0}),l.prototype.getValueProp=function(){return this.val},l.prototype.setValueProp=function(t){this.val!=t&&(null!=this.parentComponent&&this.parentComponent.is(e.Report.Components.StiText),this.val=t)},Object.defineProperty(l.prototype,"applyFormat",{get:function(){return!0},enumerable:!1,configurable:!0}),l.prototype.toString=function(){return this.value},l.prototype.clone=function(){return this.stimulsoft.memberwiseClone()},r=l,i.StiExpression=r}(Stimulsoft=Stimulsoft||{}),function(a){var t,e,r,l,n,i,u,s,c,p,h,o;function m(){return null!==o&&o.apply(this,arguments)||this}e=t=a.Report||(a.Report={}),l=r=e.Components||(e.Components={}),e=a.System.Collections.CollectionBase,n=a.System.ICloneable,i=a.Base.JsonReportObject.IStiJsonReportObject,u=a.Base.StiJson,s=a.System.Text.XMLConvert,c=a.System.Enum,p=a.System.Text.StiReportObjectStringConverter,h=a.System.Xml.XmlConverter,__extends(m,o=e),m.prototype.implements=function(){return[n,i]},m.prototype.saveToJsonObject=function(t){var e,r;if(0==this.list.length)return null;var n=new u,i=0;try{for(var o=__values(this.list),a=o.next();!a.done;a=o.next()){var s=a.value;n.addPropertyJObject(i.toString(),s.saveToJsonObject(t)),i++}}catch(t){e={error:t}}finally{try{a&&!a.done&&(r=o.return)&&r.call(o)}finally{if(e)throw e.error}}return n},m.prototype.loadFromJsonObject=function(t){var e,r;try{for(var n=__values(t.properties()),i=n.next();!i.done;i=n.next()){var o=i.value,a=null,o=o.value,s;switch(o.properties().firstOrDefault(function(t){return"Ident"==t.name}).value){case"StiBaseCondition":a=new l.StiBaseCondition;break;case"StiCondition":a=new l.StiCondition;break;case"StiIconSetCondition":a=new l.StiIconSetCondition;break;case"StiColorScaleCondition":a=new l.StiColorScaleCondition;break;case"StiDataBarCondition":a=new l.StiDataBarCondition;break;case"StiMultiCondition":a=new l.StiMultiCondition;break}a.loadFromJsonObject(o),this.list.push(a)}}catch(t){e={error:t}}finally{try{i&&!i.done&&(r=n.return)&&r.call(n)}finally{if(e)throw e.error}}},m.prototype.isBorderSides=function(t){return"False"!=(t=s.decodeName(t))&&"True"!=t&&(t.stimulsoft.contains("Left")||t.stimulsoft.contains("Top")||t.stimulsoft.contains("Bottom")||t.stimulsoft.contains("Right")||t.stimulsoft.contains("All")||t.stimulsoft.contains("None")||t.stimulsoft.contains("NotAssigned"))},m.prototype.convertIconSetItemFromString=function(t){if("null"==t)return null;var t=t.split(",");return new l.StiIconSetItem(c.parse(l.StiIcon,s.decodeName(t[0])),c.parse(l.StiIconSetOperation,s.decodeName(t[1])),c.parse(l.StiIconSetValueType,s.decodeName(t[2])),s.decodeName(t[3]).stimulsoft.toNumber())},m.prototype.loadFromXml=function(t){for(var e=0;e<t.childNodes.length;e++){var r=t.childNodes[e];if("value"==r.nodeName){var n=r.textContent,i=!1,o;if(n.stimulsoft.startsWith("BreakIfTrue,")&&(i=!0,n=n.stimulsoft.replaceAll("BreakIfTrue,","")),r.textContent.stimulsoft.startsWith("Multi<")){(o=new l.StiMultiCondition).loadfromXmlDoc(h.toXml(r.textContent.substr(5))),this.list.push(o);continue}var r=n.split(","),o,o;if("DataBar"==r[0]){var o=new l.StiDataBarCondition(s.decodeName(r[1]),c.parse(l.StiBrushType,s.decodeName(r[2])),p.convertStringToColor(r[3]),p.convertStringToColor(r[4]),"true"==r[5].toLowerCase(),p.convertStringToColor(r[6]),p.convertStringToColor(r[7]),c.parse(l.StiDataBarDirection,s.decodeName(r[8])),c.parse(l.StiMinimumType,s.decodeName(r[9])),r[10].stimulsoft.toNumber(),c.parse(l.StiMaximumType,s.decodeName(r[11])),r[12].stimulsoft.toNumber());this.list.push(o);continue}if("ColorScale"==r[0]){var o=new l.StiColorScaleCondition(s.decodeName(r[1]),c.parse(l.StiColorScaleType,s.decodeName(r[2])),p.convertStringToColor(r[3]),p.convertStringToColor(r[4]),p.convertStringToColor(r[5]),c.parse(l.StiMinimumType,s.decodeName(r[6])),r[7].stimulsoft.toNumber(),c.parse(l.StiMidType,s.decodeName(r[8])),r[9].stimulsoft.toNumber(),c.parse(l.StiMaximumType,s.decodeName(r[10])),r[11].stimulsoft.toNumber());this.list.push(o);continue}if("IconSet"==r[0]){var o=new l.StiIconSetCondition(s.decodeName(r[1]),c.parse(l.StiIconSet,s.decodeName(r[2])),c.parse(a.System.Drawing.ContentAlignment,s.decodeName(r[3])),this.convertIconSetItemFromString(s.decodeName(r[4])),this.convertIconSetItemFromString(s.decodeName(r[5])),this.convertIconSetItemFromString(s.decodeName(r[6])),this.convertIconSetItemFromString(s.decodeName(r[7])),this.convertIconSetItemFromString(s.decodeName(r[8])));this.list.push(o);continue}if(5==r.length){var o=new l.StiCondition(l.StiFilterItem.Expression,"",l.StiFilterCondition.EqualTo,"","",l.StiFilterDataType.String,s.decodeName(r[0]),p.convertStringToColor(r[1]),p.convertStringToColor(r[2]),a.System.Convert.toFont(s.decodeName(r[3])),"true"==r[4].toLowerCase());this.list.push(o);continue}if(6==r.length){var o=new l.StiCondition(l.StiFilterItem.Expression,"",l.StiFilterCondition.EqualTo,"","",l.StiFilterDataType.String,s.decodeName(r[0]),p.convertStringToColor(r[1]),p.convertStringToColor(r[2]),a.System.Convert.toFont(s.decodeName(r[3])),"true"==r[4].toLowerCase(),"true"==r[5].toLowerCase(),"");this.list.push(o);continue}if(7==r.length){var o=new l.StiCondition(l.StiFilterItem.Expression,"",l.StiFilterCondition.EqualTo,"","",l.StiFilterDataType.String,s.decodeName(r[0]),p.convertStringToColor(r[1]),p.convertStringToColor(r[2]),a.System.Convert.toFont(s.decodeName(r[3])),"true"==r[4].toLowerCase(),"true"==r[5].toLowerCase(),s.decodeName(r[6]));this.list.push(o);continue}if(9==r.length&&this.isBorderSides(r[8])){(o=new l.StiCondition(l.StiFilterItem.Expression,"",l.StiFilterCondition.EqualTo,"","",l.StiFilterDataType.String,s.decodeName(r[0]),p.convertStringToColor(r[1]),p.convertStringToColor(r[2]),a.System.Convert.toFont(s.decodeName(r[3])),"true"==r[4].toLowerCase(),"true"==r[5].toLowerCase(),s.decodeName(r[6]),s.decodeName(r[7]),c.parse(l.StiConditionBorderSides,s.decodeName(r[8])))).breakIfTrue=i,this.list.push(o);continue}if(10==r.length&&this.isBorderSides(r[8])){(o=new l.StiCondition(l.StiFilterItem.Expression,"",l.StiFilterCondition.EqualTo,"","",l.StiFilterDataType.String,s.decodeName(r[0]),p.convertStringToColor(r[1]),p.convertStringToColor(r[2]),a.System.Convert.toFont(s.decodeName(r[3])),"true"==r[4].toLowerCase(),"true"==r[5].toLowerCase(),s.decodeName(r[6]),s.decodeName(r[7]),c.parse(l.StiConditionBorderSides,s.decodeName(r[8])),c.parse(l.StiConditionPermissions,s.decodeName(r[9])))).breakIfTrue=i,this.list.push(o);continue}var n=r[1],o,o,o,o;if("GreaterThen"==n&&(n="GreaterThan"),"GreaterThenOrEqualTo"==n&&(n="GreaterThanOrEqualTo"),"LessThen"==n&&(n="LessThan"),"LessThenOrEqualTo"==n&&(n="LessThanOrEqualTo"),9==r.length){(o=new l.StiCondition(l.StiFilterItem.Value,s.decodeName(r[0]),c.parse(l.StiFilterCondition,n),s.decodeName(r[2]),s.decodeName(r[3]),c.parse(l.StiFilterDataType,r[4]),"",p.convertStringToColor(r[5]),p.convertStringToColor(r[6]),a.System.Convert.toFont(s.decodeName(r[7])),"true"==r[8].toLowerCase())).breakIfTrue=i,this.list.push(o);continue}if(11==r.length){(o=new l.StiCondition(l.StiFilterItem.Value,s.decodeName(r[0]),c.parse(l.StiFilterCondition,n),s.decodeName(r[2]),s.decodeName(r[3]),c.parse(l.StiFilterDataType,r[4]),"",p.convertStringToColor(r[5]),p.convertStringToColor(r[6]),a.System.Convert.toFont(s.decodeName(r[7])),"true"==r[8].toLowerCase(),"true"==r[9].toLowerCase(),s.decodeName(r[10]))).breakIfTrue=i,this.list.push(o);continue}if(13==r.length){(o=new l.StiCondition(l.StiFilterItem.Value,s.decodeName(r[0]),c.parse(l.StiFilterCondition,n),s.decodeName(r[2]),s.decodeName(r[3]),c.parse(l.StiFilterDataType,r[4]),"",p.convertStringToColor(r[5]),p.convertStringToColor(r[6]),a.System.Convert.toFont(s.decodeName(r[7])),"true"==r[8].toLowerCase(),"true"==r[9].toLowerCase(),s.decodeName(r[10]),s.decodeName(r[11]),c.parse(l.StiConditionBorderSides,s.decodeName(r[12])))).breakIfTrue=i,this.list.push(o);continue}if(14==r.length){(o=new l.StiCondition(l.StiFilterItem.Value,s.decodeName(r[0]),c.parse(l.StiFilterCondition,n),s.decodeName(r[2]),s.decodeName(r[3]),c.parse(l.StiFilterDataType,r[4]),"",p.convertStringToColor(r[5]),p.convertStringToColor(r[6]),a.System.Convert.toFont(s.decodeName(r[7])),"true"==r[8].toLowerCase(),"true"==r[9].toLowerCase(),s.decodeName(r[10]),s.decodeName(r[11]),c.parse(l.StiConditionBorderSides,s.decodeName(r[12])),c.parse(l.StiConditionPermissions,s.decodeName(r[13])))).breakIfTrue=i,this.list.push(o);continue}}}},m.prototype.clone=function(){var e,t,r=new m;try{for(var n=__values(this.list),i=n.next();!i.done;i=n.next()){var o=i.value;r.add(o.clone())}}catch(t){e={error:t}}finally{try{i&&!i.done&&(t=n.return)&&t.call(n)}finally{if(e)throw e.error}}return r},m.prototype.addRange=function(t,e){var r,n,i,o;void 0===e&&(e=!1);try{for(var a=__values(t.list),s=a.next();!s.done;s=a.next()){var l=s.value;if(e)if(0==this.list.length)this.add(l);else try{for(var u=(i=void 0,__values(this.list)),c=u.next(),p;!c.done;c=u.next()){if(!c.value.stimulsoft.equals(l)){this.add(l);break}}}catch(t){i={error:t}}finally{try{c&&!c.done&&(o=u.return)&&o.call(u)}finally{if(i)throw i.error}}else this.add(l)}}catch(t){r={error:t}}finally{try{s&&!s.done&&(n=a.return)&&n.call(a)}finally{if(r)throw r.error}}},e=m,l.StiConditionsCollection=e}(Stimulsoft=Stimulsoft||{}),function(t){var e,r,t,n;function i(){var t=null!==n&&n.apply(this,arguments)||this;return t._name="",t}r=e=t.Report||(t.Report={}),t=t.Base.Services.StiService,__extends(i,n=t),i.prototype.memberwiseClone=function(t){void 0===t&&(t=!0);var t=n.prototype.memberwiseClone.call(this,t);return t._name=this._name,t},Object.defineProperty(i.prototype,"name",{get:function(){return this.getName()},set:function(t){this.setName(t)},enumerable:!1,configurable:!0}),i.prototype.getName=function(){return this._name},i.prototype.setName=function(t){this._name=t},i.prototype.implements=function(){return n.prototype.implements.call(this).concat([r.IStiName])},Object.defineProperty(i.prototype,"localizedName",{get:function(){return this.name},enumerable:!1,configurable:!0}),Object.defineProperty(i.prototype,"localizedCategory",{get:function(){return this.name},enumerable:!1,configurable:!0}),t=i,r.StiBase=t}(Stimulsoft=Stimulsoft||{}),function(t){var e,r,n,i,o,a,s,l;function u(t){void 0===t&&(t=""),this._script="",this.parent=null,"string"==typeof t?this._script=t:this.parent=t}r=e=t.Report||(t.Report={}),i=n=r.Events||(r.Events={}),o=t.System.StiString,a=t.System.ICloneable,s=t.Base.JsonReportObject.IStiJsonReportObject,l=t.Base.StiJson,u.prototype.implements=function(){return u.ImplementsStiEvent||(u.ImplementsStiEvent=[a,s]),u.ImplementsStiEvent},u.prototype.saveToJsonObject=function(t){if(o.isNullOrEmpty(this.script))return null;var e=new l;return e.addPropertyStringNullOrEmpty("Script",this.script),e},u.prototype.loadFromJsonObject=function(t){var e,r;try{for(var n=__values(t.properties()),i=n.next();!i.done;i=n.next()){var o=i.value;"Script"==o.name&&(this.script=o.value.toString())}}catch(t){e={error:t}}finally{try{i&&!i.done&&(r=n.return)&&r.call(n)}finally{if(e)throw e.error}}},u.prototype.loadFromXml=function(t){for(var e=0;e<t.childNodes.length;e++){var r=t.childNodes[e];switch(r.nodeName){case"Script":this.script=r.textContent;break}}},u.prototype.clone=function(){return this.stimulsoft.memberwiseClone()},Object.defineProperty(u.prototype,"propertyName",{get:function(){return this.toString()+"Event"},enumerable:!1,configurable:!0}),Object.defineProperty(u.prototype,"script",{get:function(){if(null!=this.parent)return this.parent.properties.get(this.propertyName,"");return this._script},set:function(t){null!=this.parent?this.parent.properties.set(this.propertyName,t,""):this._script=t},enumerable:!1,configurable:!0}),u.prototype.set=function(t,e){this.parent=t,this.script=e},r=u,i.StiEvent=r}(Stimulsoft=Stimulsoft||{}),function(t){var e,r,n,t,i;function o(){return null!==i&&i.apply(this,arguments)||this}r=e=t.Report||(t.Report={}),t=n=r.Events||(r.Events={}),i=t.StiEvent,__extends(o,i),o.prototype.toString=function(){return"GetToolTip"},r=o,t.StiGetToolTipEvent=r}(Stimulsoft=Stimulsoft||{}),function(t){var e,r,n,t,i;function o(){return null!==i&&i.apply(this,arguments)||this}r=e=t.Report||(t.Report={}),t=n=r.Events||(r.Events={}),i=t.StiEvent,__extends(o,i),o.prototype.toString=function(){return"GetHyperlink"},r=o,t.StiGetHyperlinkEvent=r}(Stimulsoft=Stimulsoft||{}),function(t){var e,r,n,t,i;function o(){return null!==i&&i.apply(this,arguments)||this}r=e=t.Report||(t.Report={}),t=n=r.Events||(r.Events={}),i=t.StiEvent,__extends(o,i),o.prototype.toString=function(){return"GetTag"},r=o,t.StiGetTagEvent=r}(Stimulsoft=Stimulsoft||{}),function(t){var e,r,n,t,i;function o(){return null!==i&&i.apply(this,arguments)||this}r=e=t.Report||(t.Report={}),t=n=r.Events||(r.Events={}),i=t.StiEvent,__extends(o,i),o.prototype.toString=function(){return"GetBookmark"},r=o,t.StiGetBookmarkEvent=r}(Stimulsoft=Stimulsoft||{}),function(t){var e,r,n,t,i;function o(){return null!==i&&i.apply(this,arguments)||this}r=e=t.Report||(t.Report={}),t=n=r.Events||(r.Events={}),i=t.StiEvent,__extends(o,i),o.prototype.toString=function(){return"BeforePrint"},r=o,t.StiBeforePrintEvent=r}(Stimulsoft=Stimulsoft||{}),function(t){var e,r,n,t,i;function o(){return null!==i&&i.apply(this,arguments)||this}r=e=t.Report||(t.Report={}),t=n=r.Events||(r.Events={}),i=t.StiEvent,__extends(o,i),o.prototype.toString=function(){return"AfterPrint"},r=o,t.StiAfterPrintEvent=r}(Stimulsoft=Stimulsoft||{}),function(t){var e,r,n,t,i;function o(){return null!==i&&i.apply(this,arguments)||this}r=e=t.Report||(t.Report={}),t=n=r.Events||(r.Events={}),i=t.StiEvent,__extends(o,i),o.prototype.toString=function(){return"GetDrillDownReport"},r=o,t.StiGetDrillDownReportEvent=r}(Stimulsoft=Stimulsoft||{}),function(t){var e,r,n,t,i;function o(){return null!==i&&i.apply(this,arguments)||this}r=e=t.Report||(t.Report={}),t=n=r.Events||(r.Events={}),i=t.StiEvent,__extends(o,i),o.prototype.toString=function(){return"Click"},r=o,t.StiClickEvent=r}(Stimulsoft=Stimulsoft||{}),function(t){var e,r,n,t,i;function o(){return null!==i&&i.apply(this,arguments)||this}r=e=t.Report||(t.Report={}),t=n=r.Events||(r.Events={}),i=t.StiEvent,__extends(o,i),o.prototype.toString=function(){return"DoubleClick"},r=o,t.StiDoubleClickEvent=r}(Stimulsoft=Stimulsoft||{}),function(t){var e,r,n,t,i;function o(){return null!==i&&i.apply(this,arguments)||this}r=e=t.Report||(t.Report={}),t=n=r.Events||(r.Events={}),i=t.StiEvent,__extends(o,i),o.prototype.toString=function(){return"MouseEnter"},r=o,t.StiMouseEnterEvent=r}(Stimulsoft=Stimulsoft||{}),function(t){var e,r,n,t,i;function o(){return null!==i&&i.apply(this,arguments)||this}r=e=t.Report||(t.Report={}),t=n=r.Events||(r.Events={}),i=t.StiEvent,__extends(o,i),o.prototype.toString=function(){return"MouseLeave"},r=o,t.StiMouseLeaveEvent=r}(Stimulsoft=Stimulsoft||{}),function(o){var t,e,r;e=t=o.Report||(o.Report={}),function(t){var e=o.System.EventHandler,r=o.System.EventArgs;t.StiValueEventHandler=new e("sender: any, e: StiValueEventArgs");var r=(__extends(i,n=r),i),n;function i(t){void 0===t&&(t=null);var e=n.call(this)||this;return e.value=t,e}t.StiValueEventArgs=r}(r=e.Events||(e.Events={}))}(Stimulsoft=Stimulsoft||{}),function(h){var t,u,e,m,a,s,d,r,n,l,c,p,g,f,S,y,A,b,C,v,w,B,I,i,o,T,E,R,D,P,x,F,N,k,M,O,_,j,G,H,Q,L,Y,U;function J(t,e,r,n,i,o,a,s,l){this.bookmarkValue=null,this.toolTipValue=null,this.hyperlinkValue=null,this.tagValue=null,this.enabled=!0,this.highlightState=m.StiHighlightState.Hide,this.ignoreNamingRule=!1,this._dockStyle=m.StiDockStyle.None,this.printable=!0,this.bookmarkValue=t,this.toolTipValue=e,this.hyperlinkValue=r,this.tagValue=n,this.enabled=i,this.highlightState=o,this.ignoreNamingRule=a,this.dockStyle=s,this.printable=l}function W(t,e){void 0===t&&(t=x.empty),void 0===e&&(e=!1);var r=U.call(this)||this;return r._infographicsDisplayRectangle=new x(0,0,0,0),r._isSelected=!1,r._states=null,r._shiftMode=m.StiShiftMode.IncreasingSize,r._guid=null,r._printOn=m.StiPrintOnType.AllPages,r._canShrink=!1,r._canGrow=!1,r._growToHeight=!1,r._anchor=m.StiAnchorMode.Left|m.StiAnchorMode.Top,r._conditions=null,r.expressions=new L,r._isRendered=!1,r.disableCheckWidthHeight=!1,r.defaultClientRectangle=new x(0,0,60,20),r._alias="",r._componentPlacement="",r._drillDownParameters=null,r.lockOnResize=!0,e||r.construct(t),r}u=t=h.Report||(h.Report={}),m=e=u.Components||(u.Components={}),a=h.System.StiArray,s=h.Base.IStiGetFonts,d=h.System.StiString,r=h.System.EventHandler,n=h.Report.Events.StiValueEventHandler,l=h.Report.Events.StiGetToolTipEvent,c=h.Report.Events.StiGetHyperlinkEvent,p=h.Report.Events.StiGetTagEvent,g=h.Report.Events.StiGetBookmarkEvent,f=h.Report.Events.StiBeforePrintEvent,S=h.Report.Events.StiAfterPrintEvent,y=h.Report.Events.StiGetDrillDownReportEvent,A=h.Report.Events.StiClickEvent,b=h.Report.Events.StiDoubleClickEvent,C=h.Report.Events.StiMouseEnterEvent,v=h.Report.Events.StiMouseLeaveEvent,w=h.Report.Events.StiValueEventArgs,B=h.Report.Expressions.StiExpression,I=h.Base.Drawing.StiSolidBrush,i=h.Base.StiJsonSaveMode,o=h.Report.StiBase,T=h.System.Guid,E=h.Report.Components.StiConditionsCollection,R=h.System.Collections.Hashtable,D=h.Base.StiJson,P=h.Base.StiJsonReportObjectHelper,x=h.System.Drawing.Rectangle,F=h.System.Drawing.Size,N=h.Base.JsonReportObject.IStiJsonReportObject,k=h.System.ICloneable,M=h.System.Enum,O=h.Base.Drawing.StiGradientBrush,_=h.Base.Drawing.StiGlareBrush,j=h.Base.Drawing.StiHatchBrush,G=h.Base.Drawing.StiGlassBrush,H=h.Base.IStiReportComponent,Q=h.Base.IStiAppExpressionCollection,L=h.Base.StiAppExpressionCollection,J.prototype.implements=function(){return[k]},J.prototype.clone=function(){return this.stimulsoft.memberwiseClone()},Object.defineProperty(J.prototype,"dockStyle",{get:function(){return this.getDockStyle()},set:function(t){this.setDockStyle(t)},enumerable:!1,configurable:!0}),J.prototype.getDockStyle=function(){return this._dockStyle},J.prototype.setDockStyle=function(t){this._dockStyle=t},Y=J,__extends(W,U=o),W.prototype.implements=function(){return W.ImplementsStiComponent||(W.ImplementsStiComponent=U.prototype.implements.call(this).concat([m.IStiComponentGuid,m.IStiCanGrow,m.IStiCanShrink,m.IStiUnitConvert,m.IStiShift,m.IStiGrowToHeight,m.IStiAnchor,m.IStiConditions,m.IStiPrintOn,u.IStiInherited,u.IStiStateSaveRestore,N,H,m.IStiComponent,s,Q])),W.ImplementsStiComponent},W.prototype.saveToJsonObject=function(t){var e=new D;return e.addPropertyIdent("Ident",this.stimulsoft.getType().stimulsoft.getTypeName()),e.addPropertyStringNullOrEmpty("Name",this.name),e.addPropertyEnum("ShiftMode",m.StiShiftMode,this.shiftMode,m.StiShiftMode.IncreasingSize),e.addPropertyStringNullOrEmpty("Guid",this.guid),e.addPropertyEnum("PrintOn",m.StiPrintOnType,this.printOn,m.StiPrintOnType.AllPages),e.addPropertyBool("CanShrink",this.canShrink),e.addPropertyBool("CanGrow",this.canGrow),e.addPropertyBool("GrowToHeight",this.growToHeight),e.addPropertyEnum("Anchor",m.StiAnchorMode,this.anchor,m.StiAnchorMode.Left|m.StiAnchorMode.Top),e.addPropertyBool("Inherited",this.inherited),e.addPropertyBool("Printable",this.printable,!0),e.addPropertyEnum("DockStyle",m.StiDockStyle,this.dockStyle,m.StiDockStyle.None),e.addPropertyString("MinSize",P.Serialize.sizeD(this.minSize),P.Serialize.sizeD(F.empty)),e.addPropertyString("MaxSize",P.Serialize.sizeD(this.maxSize),P.Serialize.sizeD(F.empty)),e.addPropertyStringNullOrEmpty("ClientRectangle",P.Serialize.rectangleD(this.clientRectangle)),e.addPropertyJObject("GetToolTipEvent",this.getToolTipEvent.saveToJsonObject(t)),e.addPropertyJObject("GetHyperlinkEvent",this.getHyperlinkEvent.saveToJsonObject(t)),e.addPropertyJObject("GetTagEvent",this.getTagEvent.saveToJsonObject(t)),e.addPropertyJObject("GetBookmarkEvent",this.getBookmarkEvent.saveToJsonObject(t)),e.addPropertyJObject("BeforePrintEvent",this.beforePrintEvent.saveToJsonObject(t)),e.addPropertyJObject("AfterPrintEvent",this.afterPrintEvent.saveToJsonObject(t)),e.addPropertyJObject("GetDrillDownReportEvent",this.getDrillDownReportEvent.saveToJsonObject(t)),e.addPropertyJObject("ClickEvent",this.clickEvent.saveToJsonObject(t)),e.addPropertyJObject("DoubleClickEvent",this.doubleClickEvent.saveToJsonObject(t)),e.addPropertyJObject("MouseEnterEvent",this.mouseEnterEvent.saveToJsonObject(t)),e.addPropertyJObject("MouseLeaveEvent",this.mouseLeaveEvent.saveToJsonObject(t)),e.addPropertyStringNullOrEmpty("Alias",this.alias),e.addPropertyEnum("Restrictions",m.StiRestrictions,this.restrictions,m.StiRestrictions.All),e.addPropertyStringNullOrEmpty("ComponentPlacement",this.componentPlacement),e.addPropertyStringNullOrEmpty("ComponentStyle",this.componentStyle),e.addPropertyBool("Locked",this.locked),e.addPropertyBool("Linked",this.linked),e.addPropertyBool("Enabled",this.enabled,!0),e.addPropertyBool("UseParentStyles",this.useParentStyles),t==i.Report&&(e.addPropertyJObject("Conditions",this.conditions.saveToJsonObject(t)),null!=this.expressions&&e.addPropertyJObject("Expressions",this.expressions.saveToJsonObject(t)),null!=this.interaction&&e.addPropertyJObject("Interaction",this.interaction.saveToJsonObject(t)),e.addPropertyJObject("Bookmark",new B(this.bookmark).saveToJsonObject(t)),e.addPropertyJObject("ToolTip",new B(this.toolTip).saveToJsonObject(t)),e.addPropertyJObject("Hyperlink",new B(this.hyperlink).saveToJsonObject(t)),e.addPropertyJObject("Tag",new B(this.tag).saveToJsonObject(t))),e},W.prototype.loadFromJsonObject=function(t){var e,r;try{for(var n=__values(t.properties()),i=n.next();!i.done;i=n.next()){var o=i.value,a,a,a,a,a,a,a,a,a,a,a,s,s,s,s;switch(o.name){case"Name":this.name=o.value;break;case"ShiftMode":this._shiftMode=M.parse(m.StiShiftMode,o.value);break;case"Guid":this._guid=o.value;break;case"PrintOn":this._printOn=M.parse(m.StiPrintOnType,o.value);break;case"CanShrink":this._canShrink=o.value.stimulsoft.toBoolean();break;case"CanGrow":this._canGrow=o.value.stimulsoft.toBoolean();break;case"GrowToHeight":this._growToHeight=o.value.stimulsoft.toBoolean();break;case"Anchor":this._anchor=M.parse(m.StiAnchorMode,o.value.toString());break;case"Conditions":this.conditions.loadFromJsonObject(o.value);break;case"Expressions":this.expressions.loadFromJsonObject(o.value);break;case"Inherited":this.inherited=o.value.stimulsoft.toBoolean();break;case"Interaction":this.interaction=m.StiInteraction.loadInteractionFromJsonObject(o.value);break;case"Printable":this.printable=o.value.stimulsoft.toBoolean();break;case"DockStyle":this.dockStyle=M.parse(m.StiDockStyle,o.value);break;case"MinSize":this.minSize=P.Deserialize.sizeD(o.value);break;case"MaxSize":this.maxSize=P.Deserialize.sizeD(o.value);break;case"ClientRectangle":this.clientRectangle=P.Deserialize.rectangleD(o.value);break;case"GetToolTipEvent":(a=new l).loadFromJsonObject(o.value),this.getToolTipEvent=a;break;case"GetHyperlinkEvent":(a=new c).loadFromJsonObject(o.value),this.getHyperlinkEvent=a;break;case"GetTagEvent":(a=new p).loadFromJsonObject(o.value),this.getTagEvent=a;break;case"GetBookmarkEvent":(a=new g).loadFromJsonObject(o.value),this.getBookmarkEvent=a;break;case"BeforePrintEvent":(a=new f).loadFromJsonObject(o.value),this.beforePrintEvent=a;break;case"AfterPrintEvent":(a=new S).loadFromJsonObject(o.value),this.afterPrintEvent=a;break;case"GetDrillDownReportEvent":(a=new y).loadFromJsonObject(o.value),this.getDrillDownReportEvent=a;break;case"ClickEvent":(a=new A).loadFromJsonObject(o.value),this.clickEvent=a;break;case"DoubleClickEvent":(a=new b).loadFromJsonObject(o.value),this.doubleClickEvent=a;break;case"MouseEnterEvent":(a=new C).loadFromJsonObject(o.value),this.mouseEnterEvent=a;break;case"MouseLeaveEvent":(a=new v).loadFromJsonObject(o.value),this.mouseLeaveEvent=a;break;case"Bookmark":(s=new B).loadFromJsonObject(o.value),this.bookmark=s.value;break;case"ToolTip":(s=new B).loadFromJsonObject(o.value),this.toolTip=s.value;break;case"Hyperlink":(s=new B).loadFromJsonObject(o.value),this.hyperlink=s.value;break;case"Tag":(s=new B).loadFromJsonObject(o.value),this.tag=s.value;break;case"Alias":this._alias=o.value;break;case"Restrictions":this.restrictions=M.parse(m.StiRestrictions,o.value);break;case"ComponentPlacement":this._componentPlacement=o.value;break;case"ComponentStyle":this.componentStyle=o.value;break;case"Locked":this.locked=o.value.stimulsoft.toBoolean();break;case"Linked":this.linked=o.value.stimulsoft.toBoolean();break;case"Enabled":this.enabled=o.value.stimulsoft.toBoolean();break;case"UseParentStyles":this.useParentStyles=o.value.stimulsoft.toBoolean();break}}}catch(t){e={error:t}}finally{try{i&&!i.done&&(r=n.return)&&r.call(n)}finally{if(e)throw e.error}}},W.prototype.loadRectangleDFromXml=function(t){var t=t.split(",");return new x(t[0].stimulsoft.toNumber(),t[1].stimulsoft.toNumber(),t[2].stimulsoft.toNumber(),t[3].stimulsoft.toNumber())},W.prototype.loadFromXml=function(t,e){for(var r=0;r<t.childNodes.length;r++){var n=t.childNodes[r],i,i;if("#text"==n.nodeName)continue;switch(n.nodeName){case"Name":this.name=n.textContent;break;case"ShiftMode":this._shiftMode=M.parse(m.StiShiftMode,n.textContent);break;case"Guid":this._guid=n.textContent;break;case"PrintOn":this._printOn=M.parse(m.StiPrintOnType,n.textContent);break;case"CanShrink":this._canShrink=n.textContent.stimulsoft.toBoolean();break;case"CanGrow":this._canGrow=n.textContent.stimulsoft.toBoolean();break;case"GrowToHeight":this._growToHeight=n.textContent.stimulsoft.toBoolean();break;case"Anchor":this._anchor=M.parse(m.StiAnchorMode,n.textContent);break;case"Conditions":this.conditions.loadFromXml(n);break;case"Expressions":this.expressions.loadFromXml(n);break;case"Inherited":this.inherited=n.textContent.stimulsoft.toBoolean();break;case"Interaction":this.interaction=m.StiInteraction.loadInteractionFromXml(n);break;case"Printable":this.printable=n.textContent.stimulsoft.toBoolean();break;case"DockStyle":this.dockStyle=M.parse(m.StiDockStyle,n.textContent);break;case"MinSize":this.minSize=F.convertFromXml(n.textContent);break;case"MaxSize":this.maxSize=F.convertFromXml(n.textContent);break;case"ClientRectangle":case"rc":this.clientRectangle=this.loadRectangleDFromXml(n.textContent);break;case"GetToolTipEvent":break;case"GetHyperlinkEvent":break;case"GetTagEvent":break;case"GetBookmarkEvent":break;case"BeforePrintEvent":(i=new f).script=n.textContent,this.beforePrintEvent=i;break;case"AfterPrintEvent":(i=new S).script=n.textContent,this.afterPrintEvent=i;break;case"GetDrillDownReportEvent":break;case"ClickEvent":break;case"DoubleClickEvent":break;case"MouseEnterEvent":break;case"MouseLeaveEvent":break;case"Bookmark":this.bookmark=n.textContent;break;case"ToolTip":this.toolTip=n.textContent;break;case"Hyperlink":this.hyperlink=n.textContent;break;case"Tag":this.tag=n.textContent;break;case"Alias":this._alias=n.textContent;break;case"Restrictions":this.restrictions=M.parse(m.StiRestrictions,n.textContent);break;case"ComponentPlacement":case"pl":this._componentPlacement=n.textContent;break;case"ComponentStyle":this.componentStyle=n.textContent;break;case"Locked":this.locked=n.textContent.stimulsoft.toBoolean();break;case"Linked":this.linked=n.textContent.stimulsoft.toBoolean();break;case"Enabled":this.enabled=n.textContent.stimulsoft.toBoolean();break;case"UseParentStyles":this.useParentStyles=n.textContent.stimulsoft.toBoolean();break}}},Object.defineProperty(W.prototype,"componentId",{get:function(){return u.StiComponentId.StiComponent},enumerable:!1,configurable:!0}),Object.defineProperty(W.prototype,"infographicsDisplayRectangle",{get:function(){return this._infographicsDisplayRectangle},set:function(t){this._infographicsDisplayRectangle=t},enumerable:!1,configurable:!0}),Object.defineProperty(W.prototype,"isSelected",{get:function(){return this._isSelected},set:function(t){this._isSelected=t},enumerable:!1,configurable:!0}),W.prototype.select=function(){this.isSelected=!0},W.prototype.invert=function(){this.isSelected=!this.isSelected},W.prototype.reset=function(){this._isSelected=!1},W.prototype.getApp=function(){return this.report},W.prototype.getKey=function(){return d.isNullOrWhiteSpace(this.guid)&&this.newGuid(),this.guid},W.prototype.setKey=function(t){this.guid=t},W.prototype.getReport=function(){return this.report},W.prototype.saveState=function(t){},W.prototype.restoreState=function(t){},Object.defineProperty(W.prototype,"states",{get:function(){return this.getStates()},enumerable:!1,configurable:!0}),W.prototype.getStates=function(){return null==this._states&&(this._states=new u.StiStatesManager),this._states},W.prototype.clearAllStates=function(){},Object.defineProperty(W.prototype,"shift",{get:function(){return this.getShift()},set:function(t){this.shiftMode=m.StiShiftMode.IncreasingSize},enumerable:!1,configurable:!0}),W.prototype.getShift=function(){return this.shiftMode==m.StiShiftMode.IncreasingSize},Object.defineProperty(W.prototype,"shiftMode",{get:function(){return this._shiftMode},set:function(t){(this._shiftMode=t)!=m.StiShiftMode.None&&(this.anchor=m.StiAnchorMode.Left|m.StiAnchorMode.Top)},enumerable:!1,configurable:!0}),Object.defineProperty(W.prototype,"guid",{get:function(){return this._guid},set:function(t){this._guid=t},enumerable:!1,configurable:!0}),W.prototype.newGuid=function(){this.guid=T.newGuidString()},Object.defineProperty(W.prototype,"printOn",{get:function(){return this._printOn},set:function(t){this._printOn=t},enumerable:!1,configurable:!0}),W.prototype.clone=function(t,e,r){var r;void 0===t&&(t=!0),void 0===e&&(e=!0),void 0===r&&(r=!0);var e=U.prototype.clone.call(this,t,e,r);return e.expressions=null===(r=this.expressions)||void 0===r?void 0:r.clone(),null!=this._conditions?e._conditions=this._conditions.clone():e._conditions=null,null!=this._interaction?e._interaction=this._interaction.clone():e._interaction=null,null!=e._interaction&&(e._interaction.parentComponent=e),t&&(e.properties=this.properties.clone()),null!=this.bits&&(e.bits=this.bits.clone()),e},W.prototype.memberwiseClone=function(t){void 0===t&&(t=!0);var t=U.prototype.memberwiseClone.call(this,t);return t._alias=this._alias,t._canGrow=this._canGrow,t._canShrink=this._canShrink,t._componentPlacement=this._componentPlacement,t._conditions=this._conditions,t._currentBookmark=this._currentBookmark,t._events=this._events,t._growToHeight=this._growToHeight,t._guid=this._guid,t._height=this._height,t._interaction=this._interaction,t._isRendered=this._isRendered,t._isSelected=this._isSelected,t._left=this._left,t._page=this._page,t._parent=this._parent,t._parentBookmark=this._parentBookmark,t._printOn=this._printOn,t._shiftMode=this._shiftMode,t._states=this._states,t._top=this._top,t._width=this._width,t._drillDownParameters=this.drillDownParameters,t},W.prototype.convert=function(t,e,r){void 0===r&&(r=!1),this.disableCheckWidthHeight=!0;var n=this.right,i=this.bottom;this.left=e.convertFromHInches(t.convertToHInches(this.left)),this.top=e.convertFromHInches(t.convertToHInches(this.top)),this.width=Math.round2(e.convertFromHInches(t.convertToHInches(n)),2)-this.left,this.height=Math.round2(e.convertFromHInches(t.convertToHInches(i)),2)-this.top,this.disableCheckWidthHeight=!1,r||(this.minSize=e.convertSizeFromHInches(t.convertSizeToHInches(this.minSize)),this.maxSize=e.convertSizeFromHInches(t.convertSizeToHInches(this.maxSize)))},Object.defineProperty(W.prototype,"canShrink",{get:function(){return this.getCanShrink()},set:function(t){this._canShrink=t},enumerable:!1,configurable:!0}),W.prototype.getCanShrink=function(){return this._canShrink},Object.defineProperty(W.prototype,"canGrow",{get:function(){return this.getCanGrow()},set:function(t){this.setCanGrow(t)},enumerable:!1,configurable:!0}),W.prototype.getCanGrow=function(){return this._canGrow},W.prototype.setCanGrow=function(t){this._canGrow=t},Object.defineProperty(W.prototype,"growToHeight",{get:function(){return this.getGrowToHeight()},set:function(t){(this._growToHeight=t)&&(this.anchor=m.StiAnchorMode.Left|m.StiAnchorMode.Top)},enumerable:!1,configurable:!0}),W.prototype.getGrowToHeight=function(){return this._growToHeight},Object.defineProperty(W.prototype,"anchor",{get:function(){return this._anchor},set:function(t){this._anchor=t,this._anchor!=(m.StiAnchorMode.Left|m.StiAnchorMode.Top)&&(this.growToHeight=!1,this.shiftMode=m.StiShiftMode.None)},enumerable:!1,configurable:!0}),Object.defineProperty(W.prototype,"conditions",{get:function(){return this.getConditions()},set:function(t){this.setConditions(t)},enumerable:!1,configurable:!0}),W.prototype.getConditions=function(){return null==this._conditions&&(this._conditions=new E),this._conditions},W.prototype.setConditions=function(t){this._conditions=t},Object.defineProperty(W.prototype,"inherited",{get:function(){return this.properties.getBool(W.propertyInherited,!1)},set:function(t){this.properties.setBool(W.propertyInherited,t,!1)},enumerable:!1,configurable:!0}),W.prototype.getActualSize=function(){return new F(this.width,this.height)},Object.defineProperty(W.prototype,"report",{get:function(){if(null!=this.page)return this.page.report;return null},set:function(t){},enumerable:!1,configurable:!0}),Object.defineProperty(W.prototype,"interaction",{get:function(){return this._interaction},set:function(t){this._interaction!=t&&null!=(this._interaction=t)&&(this._interaction.parentComponent=this)},enumerable:!1,configurable:!0}),W.prototype.getFonts=function(){var e,t,r=[];try{for(var n=__values(this.conditions.list),i=n.next();!i.done;i=n.next()){var o=i.value;o.stimulsoft.is(s)&&r.stimulsoft.addRange(o.stimulsoft.as(s).getFonts())}}catch(t){e={error:t}}finally{try{i&&!i.done&&(t=n.return)&&t.call(n)}finally{if(e)throw e.error}}return a.distinct(r)},W.prototype.shouldSerializeExpressions=function(){return null==this.expressions||0!=this.expressions.count},W.prototype.doBookmark=function(){this.doGetBookmark()},W.prototype.doGetBookmark=function(){var t=!0,e=M.getName(u.StiCalculationMode,this.report.calculationMode);if(null!=this.report&&(t=this.report.calculationMode==u.StiCalculationMode.Compilation),t&&null!=this.events.get(W.eventGetBookmark)||!t&&0<this.bookmark.length){var r=new w,t,r;if(t?this.invokeGetBookmark(this,r):(t=h.Report.Engine.StiParser.StiParser.parseTextValue(this.bookmark,this),r.value=this.report.toString2(t)),"string"==typeof r.value&&0<r.value.length)if(this.newGuid(),2<(r=r.value).length&&"%"==r[0]){for(var n=r.substr(0,1),i=r[1],r,o=(r=r.substr(2)).split(i),a=this.report.bookmark,s=0;s<o.length;s++){var l=o[s];n+=i+l,a=h.Report.Engine.StiBookmarksHelper.getBookmark(a,l),s==o.length-1&&(a.componentGuid=this.guid)}this.currentBookmark=a}else this.currentBookmark=h.Report.Engine.StiBookmarksHelper.createBookmark(r,this.guid),null!=this.parentBookmark&&this.parentBookmark.bookmarks.add(this.currentBookmark);else this.currentBookmark=this.parentBookmark}else this.currentBookmark=this.parentBookmark},Object.defineProperty(W.prototype,"printable",{get:function(){return null==this.bits||this.bits.printable},set:function(t){if(t&&null==this.bits)return;null!=this.bits?this.bits.printable=t:this.bits=new Y(this.bookmarkValue,this.toolTipValue,this.hyperlinkValue,this.tagValue,this.enabled,this.highlightState,this.ignoreNamingRule,this.dockStyle,t)},enumerable:!1,configurable:!0}),Object.defineProperty(W.prototype,"isRendered",{get:function(){return this._isRendered},set:function(t){this._isRendered=t},enumerable:!1,configurable:!0}),Object.defineProperty(W.prototype,"renderedCount",{get:function(){return this.properties.getNumber(W.propertyRenderedCount,0)},set:function(t){this.properties.setNumber(W.propertyRenderedCount,t,0)},enumerable:!1,configurable:!0}),W.prototype.allowPrintOn=function(){if(this.printOn==m.StiPrintOnType.AllPages)return!0;if(null!=this.report){var t=this.report.pageNumber,e=this.report.totalPageCount;if(!StiOptions.Engine.useAdvancedPrintOnEngine){if(0<(this.printOn&m.StiPrintOnType.ExceptFirstPage)&&1==t)return!1;if(this.printOn==m.StiPrintOnType.OnlyFirstPage&&1<t)return!1;return!0}if((1<this.page.segmentPerWidth||1<this.page.segmentPerHeight)&&(t+=this.page.segmentPerWidth*this.page.segmentPerHeight-1),this.report.reportPass==u.StiReportPass.First){if(0<(this.printOn&m.StiPrintOnType.OnlyLastPage))return!1;if(0<(this.printOn&m.StiPrintOnType.ExceptLastPage))return!0}if(0<(this.printOn&m.StiPrintOnType.ExceptFirstPage)&&1==t)return!1;if(this.printOn==m.StiPrintOnType.OnlyFirstAndLastPage)return!(1<t&&t<e);if(0<(this.printOn&m.StiPrintOnType.OnlyFirstPage)&&1<t)return!1;if(0<(this.printOn&m.StiPrintOnType.OnlyLastPage)&&t<e)return!1;if(0<(this.printOn&m.StiPrintOnType.ExceptLastPage)&&t==e)return!1;return!0}return!0},Object.defineProperty(W.prototype,"isEnabled",{get:function(){return this.enabled&&this.allowPrintOn()},enumerable:!1,configurable:!0}),W.prototype.prepare=function(){var t;h.Report.Engine.StiBuilder.getBuilder(this.constructor).prepare(this)},W.prototype.unPrepare=function(){var t;h.Report.Engine.StiBuilder.getBuilder(this.constructor).unPrepare(this)},W.prototype.setReportVariables=function(){var t;h.Report.Engine.StiBuilder.getBuilder(this.constructor).setReportVariables(this)},W.prototype.internalRenderAsync=function(){return __awaiter(this,void 0,void 0,function(){var e;return __generator(this,function(t){switch(t.label){case 0:return[4,(e=h.Report.Engine.StiBuilder.getBuilder(this.constructor)).internalRenderAsync(this)];case 1:return[2,t.sent()]}})})},W.prototype.internalRender=function(){var t;return h.Report.Engine.StiBuilder.getBuilder(this.constructor).internalRender(this)},W.prototype.renderAsync=function(){return __awaiter(this,void 0,void 0,function(){var e;return __generator(this,function(t){switch(t.label){case 0:return[4,(e=h.Report.Engine.StiBuilder.getBuilder(this.constructor)).renderAsync(this)];case 1:return[2,t.sent()]}})})},W.prototype.render=function(){var t;return h.Report.Engine.StiBuilder.getBuilder(this.constructor).render(this)},W.prototype.paint=function(t){},Object.defineProperty(W.prototype,"dockStyle",{get:function(){return this.getDockStyle()},set:function(t){if(t==m.StiDockStyle.None&&null==this.bits)return;null!=this.bits?this.bits.dockStyle=t:this.bits=new Y(this.bookmarkValue,this.toolTipValue,this.hyperlinkValue,this.tagValue,this.enabled,this.highlightState,this.ignoreNamingRule,t,this.printable)},enumerable:!1,configurable:!0}),W.prototype.getDockStyle=function(){return null==this.bits?m.StiDockStyle.None:this.bits.dockStyle},Object.defineProperty(W.prototype,"isAutomaticDock",{get:function(){return!1},enumerable:!1,configurable:!0}),W.prototype.getDockRegion=function(t,e){var r,n;if(void 0===e&&(e=!0),null!=t){var i=t.clientRectangle,o,a;this.componentType!=m.StiComponentType.Static&&null!=t&&1<t.columns&&e&&(i.width=t.getColumnWidth()),this.componentType!=m.StiComponentType.Static&&null!=t&&1<t.columns&&e&&(i.width=t.getColumnWidth()),t.isSelected&&(i=W.doOffsetRect(t,i,t.page.offsetRectangle)),i.x=0,i.y=0;var s=t;try{for(var l=__values(s.components.list),u=l.next();!u.done;u=l.next()){var c=u.value;if(c.dockable&&(this.isDesigning||c.enabled)){if(c==this)break;var p=c.displayRectangle;switch(c.dockStyle){case m.StiDockStyle.Left:i.x+=p.width,i.width-=p.width;break;case m.StiDockStyle.Right:i.width-=p.width;break;case m.StiDockStyle.Top:i.y+=p.height,i.height-=p.height;break;case m.StiDockStyle.Bottom:i.height-=p.height;break}}}}catch(t){r={error:t}}finally{try{u&&!u.done&&(n=l.return)&&n.call(l)}finally{if(r)throw r.error}}return i}return this.clientRectangle},W.prototype.dockToContainer=function(){var e,t;this.dockStyle!=m.StiDockStyle.None&&this.dockable&&(this.isDesigning||this.enabled)&&(this.isCross?this.clientRectangle=this.dockToContainer2(this.clientRectangle):this.displayRectangle=this.dockToContainer2(this.displayRectangle));var r=this.as(m.StiContainer);if(null!=r)try{for(var n=__values(r.components.list),i=n.next(),o;!i.done;i=n.next()){i.value.dockToContainer()}}catch(t){e={error:t}}finally{try{i&&!i.done&&(t=n.return)&&t.call(n)}finally{if(e)throw e.error}}},W.prototype.dockToContainer2=function(t){if(null!=this.parent&&this.dockStyle!=m.StiDockStyle.None&&this.dockable){var e=void 0,e=this.getDockRegion(this.parent);switch(1e11==this.parent.height&&this.dockStyle!=m.StiDockStyle.Top&&(e.y=0,e.height=t.height),this.dockStyle){case m.StiDockStyle.Left:t.x=e.x,t.y=e.y,t.height=e.height;break;case m.StiDockStyle.Right:t.x=e.right-t.width,t.y=e.y,t.height=e.height;break;case m.StiDockStyle.Top:t.x=e.x,t.y=e.y,t.width=e.width;break;case m.StiDockStyle.Bottom:t.x=e.x,t.y=e.bottom-t.height,t.width=e.width;break;case m.StiDockStyle.Fill:t.x=e.x,t.y=e.y,t.width=e.width,t.height=e.height;break}}return t},W.prototype.checkWidth=function(t){return this.disableCheckWidthHeight||(0!=this.minSize.width&&(t=Math.max(this.minSize.width,t)),0!=this.maxSize.width&&(t=Math.min(this.maxSize.width,t))),t},W.prototype.checkHeight=function(t){return this.disableCheckWidthHeight||(0!=this.minSize.height&&(t=Math.max(this.minSize.height,t)),0!=this.maxSize.height&&(t=Math.min(this.maxSize.height,t))),t},Object.defineProperty(W.prototype,"minSize",{get:function(){return this.getMinSize()},set:function(t){this.setMinSize(t)},enumerable:!1,configurable:!0}),W.prototype.getMinSize=function(){return this.properties.get(W.propertyMinSize,F.empty)},W.prototype.setMinSize=function(t){var e=this.minSize;e.width==t.width&&e.height==t.height||(this.properties.set(W.propertyMinSize,t,F.empty),this._width=this.checkWidth(this._width),this._height=this.checkHeight(this._height))},Object.defineProperty(W.prototype,"maxSize",{get:function(){return this.getMaxSize()},set:function(t){this.setMaxSize(t)},enumerable:!1,configurable:!0}),W.prototype.getMaxSize=function(){return this.properties.get(W.propertyMaxSize,F.empty)},W.prototype.setMaxSize=function(t){var e=this.maxSize;e.width==t.width&&e.height==t.height||(this.properties.set(W.propertyMaxSize,t,F.empty),this._width=this.checkWidth(this._width),this._height=this.checkHeight(this._height))},Object.defineProperty(W.prototype,"left",{get:function(){return this.getLeft()},set:function(t){this.setLeft(t)},enumerable:!1,configurable:!0}),W.prototype.getLeft=function(){return this._left},W.prototype.setLeft=function(t){this._left=Math.round2(t,2)},Object.defineProperty(W.prototype,"top",{get:function(){return this.getTop()},set:function(t){this.setTop(t)},enumerable:!1,configurable:!0}),W.prototype.getTop=function(){return this._top},W.prototype.setTop=function(t){this._top=Math.round2(t,2)},Object.defineProperty(W.prototype,"width",{get:function(){return this.getWidth()},set:function(t){this.setWidth(t)},enumerable:!1,configurable:!0}),W.prototype.getWidth=function(){return this._width},W.prototype.setWidth=function(t){var e=this._width;this._width=this.checkWidth(Math.round2(t,2)),this._width!=e&&this.invokeOnResizeComponent(new F(e,this._height),new F(this._width,this._height))},Object.defineProperty(W.prototype,"height",{get:function(){return this.getHeight()},set:function(t){this.setHeight(t)},enumerable:!1,configurable:!0}),W.prototype.getHeight=function(){return this._height},W.prototype.setHeight=function(t){var e=this._height;this._height=this.checkHeight(Math.round2(t,2)),this._height!=e&&this.invokeOnResizeComponent(new F(this._width,e),new F(this._width,this._height))},Object.defineProperty(W.prototype,"right",{get:function(){return this.left+this.width},enumerable:!1,configurable:!0}),Object.defineProperty(W.prototype,"bottom",{get:function(){return this.top+this.height},enumerable:!1,configurable:!0}),W.prototype.getBottom=function(){return this.bottom},Object.defineProperty(W.prototype,"clientRectangle",{get:function(){return new x(this.left,this.top,this.width,this.height)},set:function(t){this.setClientRectangle(t)},enumerable:!1,configurable:!0}),W.prototype.setClientRectangle=function(t){var e=this._width,r=this._height;this._left=Math.round2(t.left,2),this._top=Math.round2(t.top,2),this._width=this.checkWidth(Math.round2(t.width,2)),this._height=this.checkHeight(Math.round2(t.height,2)),this._width==e&&this._height==r||this.invokeOnResizeComponent(new F(e,r),new F(this._width,this._height))},Object.defineProperty(W.prototype,"displayRectangle",{get:function(){return this.getDisplayRectangle()},set:function(t){this.setDisplayRectangle(t)},enumerable:!1,configurable:!0}),W.prototype.getDisplayRectangle=function(){return new x(this.left,this.top,this.width,this.height)},W.prototype.setDisplayRectangle=function(t){var e=this._width,r=this._height;this._left=Math.round2(t.left,2),this._top=Math.round2(t.top,2),this._width=this.checkWidth(Math.round2(t.width,2)),this._height=this.checkHeight(Math.round2(t.height,2)),this._width==e&&this._height==r||this.invokeOnResizeComponent(new F(e,r),new F(this._width,this._height))},W.prototype.setDirectDisplayRectangle=function(t){var e=this._width,r=this._height;this._left=t.left,this._top=t.top,this._width=t.width,this._height=t.height,this._width==e&&this._height==r||this.invokeOnResizeComponent(new F(e,r),new F(this._width,this._height))},Object.defineProperty(W.prototype,"selectRectangle",{get:function(){return this.displayRectangle},set:function(t){this.displayRectangle=t},enumerable:!1,configurable:!0}),Object.defineProperty(W.prototype,"parentBookmark",{get:function(){return this._parentBookmark},set:function(t){this._parentBookmark=t},enumerable:!1,configurable:!0}),Object.defineProperty(W.prototype,"currentBookmark",{get:function(){return this._currentBookmark},set:function(t){this._currentBookmark=t},enumerable:!1,configurable:!0}),W.prototype.invokeEvents=function(){try{var t=h.Report.Engine.StiParser.StiParser,e=!0,r,n,r,i,n,i,i,n,i,n,n,n;null!=this.report&&(e=this.report.calculationMode==u.StiCalculationMode.Compilation),e||null==this.bookmarkValue&&0<this.bookmark.length&&(n=t.parseTextValue(this.bookmark,this),this.bookmarkValue=this.report.toString2(n)),null!=this.events.get(W.eventGetBookmark)&&null==this.bookmarkValue&&(r=new w,this.invokeGetBookmark(this,r),this.bookmarkValue=r.value),e||null==this.tagValue&&0<this.tag.length&&(n=t.parseTextValue(this.tag,this),this.tagValue=this.report.toString2(n)),null!=this.events.get(W.eventGetTag)&&null==this.tagValue&&(i=new w,this.invokeGetTag(this,i),this.tagValue=i.value),e||null==this.toolTipValue&&0<this.toolTip.length&&(n=t.parseTextValue(this.toolTip,this),this.toolTipValue=this.report.toString2(n)),null!=this.events.get(W.eventGetToolTip)&&null==this.toolTipValue&&(i=new w,this.invokeGetToolTip(this,i),this.toolTipValue=i.value),e||null==this.hyperlinkValue&&0<this.hyperlink.length&&(n=t.parseTextValue(this.hyperlink,this),this.hyperlinkValue=this.report.toString2(n)),null!=this.events.get(W.eventGetHyperlink)&&null==this.hyperlinkValue&&(n=new w,this.invokeGetHyperlink(this,n),this.hyperlinkValue=n.value)}catch(t){var o=d.format("'{0}'.Events error: {1}",this.name,t.message);h.System.StiError.showError(o,!1),u.StiLogService.write(this.stimulsoft.getType(),"DoEvents...ERROR"),u.StiLogService.write(this.stimulsoft.getType(),t),this.report.writeToReportRenderingMessages(o)}},Object.defineProperty(W.prototype,"isGetToolTipHandlerEmpty",{get:function(){return null==this.events.get(W.eventGetToolTip)},enumerable:!1,configurable:!0}),W.prototype.onGetToolTip=function(){},W.prototype.invokeGetToolTip=function(t,e){this.onGetToolTip();var r=this.events.get(W.eventGetToolTip);if(null!=r)try{r(t,e)}catch(e){}},Object.defineProperty(W.prototype,"getToolTipEvent",{get:function(){return new l(this)},set:function(t){null!=t&&t.set(this,t.script),this.events.set(W.eventGetToolTip,n.create(t.script,this.report))},enumerable:!1,configurable:!0}),Object.defineProperty(W.prototype,"isGetHyperlinkHandlerEmpty",{get:function(){return null==this.events.get(W.eventGetHyperlink)},enumerable:!1,configurable:!0}),W.prototype.onGetHyperlink=function(t){},W.prototype.invokeGetHyperlink=function(t,e){try{this.onGetHyperlink(e);var r=this.events.get(W.eventGetHyperlink);null!=r&&r(t,e)}catch(t){}},Object.defineProperty(W.prototype,"getHyperlinkEvent",{get:function(){return new c(this)},set:function(t){null!=t&&t.set(this,t.script),this.events.set(W.eventGetHyperlink,n.create(t.script,this.report))},enumerable:!1,configurable:!0}),Object.defineProperty(W.prototype,"isGetTagHandlerEmpty",{get:function(){return null==this.events.get(W.eventGetTag)},enumerable:!1,configurable:!0}),W.prototype.onGetTag=function(t){},W.prototype.invokeGetTag=function(t,e){try{this.onGetTag(e);var r=this.events.get(W.eventGetTag);null!=r&&r(t,e)}catch(t){}},Object.defineProperty(W.prototype,"getTagEvent",{get:function(){return new p(this)},set:function(t){null!=t&&t.set(this,t.script),this.events.set(W.eventGetTag,n.create(t.script,this.report))},enumerable:!1,configurable:!0}),Object.defineProperty(W.prototype,"isGetBookmarkHandlerEmpty",{get:function(){return null==this.events.get(W.eventGetBookmark)},enumerable:!1,configurable:!0}),W.prototype.onGetBookmark=function(){},W.prototype.invokeGetBookmark=function(t,e){this.onGetBookmark();var r=this.events.get(W.eventGetBookmark);null!=r&&r(t)},Object.defineProperty(W.prototype,"getBookmarkEvent",{get:function(){return new g(this)},set:function(t){null!=t&&t.set(this,t.script),this.events.set(W.eventGetBookmark,n.create(t.script,this.report))},enumerable:!1,configurable:!0}),W.prototype.onBeforePrint=function(t){},W.prototype.invokeBeforePrint=function(t,e){try{h.Report.Helpers.StiAppExpressionParser.processExpressions(this),this.onBeforePrint(e);var r=!0,n,n,i,i;if(null!=this.report&&(r=this.report.calculationMode==u.StiCalculationMode.Compilation),r){if(null!=(n=this.events.get(W.eventBeforePrint)))try{n(t,e)}catch(e){}}else{if(null!=(n=this.events.get(W.eventBeforePrint)))try{n(t,e)}catch(e){}null!=this.report&&null!=this.report.engine&&(null==(i=this.report.engine.parserConversionStore.get("*StiConditionExpression*"+this.name))||this.is(h.Report.CrossTab.StiCrossCell)||this.applyConditions(t,i,e)),null!=this.interaction&&((i=t).drillDownParameters=[],this.interaction.drillDownParameter1.isDefault()||i.drillDownParameters.push({name:this.interaction.drillDownParameter1.name,value:h.Report.Engine.StiParser.StiParser.parseTextValue("{"+this.interaction.drillDownParameter1.expression.value+"}",this,t)}),this.interaction.drillDownParameter2.isDefault()||i.drillDownParameters.push({name:this.interaction.drillDownParameter2.name,value:h.Report.Engine.StiParser.StiParser.parseTextValue("{"+this.interaction.drillDownParameter2.expression.value+"}",this,t)}),this.interaction.drillDownParameter3.isDefault()||i.drillDownParameters.push({name:this.interaction.drillDownParameter3.name,value:h.Report.Engine.StiParser.StiParser.parseTextValue("{"+this.interaction.drillDownParameter3.expression.value+"}",this,t)}),this.interaction.drillDownParameter4.isDefault()||i.drillDownParameters.push({name:this.interaction.drillDownParameter4.name,value:h.Report.Engine.StiParser.StiParser.parseTextValue("{"+this.interaction.drillDownParameter4.expression.value+"}",this,t)}),this.interaction.drillDownParameter5.isDefault()||i.drillDownParameters.push({name:this.interaction.drillDownParameter5.name,value:h.Report.Engine.StiParser.StiParser.parseTextValue("{"+this.interaction.drillDownParameter5.expression.value+"}",this,t)}),this.interaction.drillDownParameter6.isDefault()||i.drillDownParameters.push({name:this.interaction.drillDownParameter6.name,value:h.Report.Engine.StiParser.StiParser.parseTextValue("{"+this.interaction.drillDownParameter6.expression.value+"}",this,t)}),this.interaction.drillDownParameter7.isDefault()||i.drillDownParameters.push({name:this.interaction.drillDownParameter7.name,value:h.Report.Engine.StiParser.StiParser.parseTextValue("{"+this.interaction.drillDownParameter7.expression.value+"}",this,t)}),this.interaction.drillDownParameter8.isDefault()||i.drillDownParameters.push({name:this.interaction.drillDownParameter8.name,value:h.Report.Engine.StiParser.StiParser.parseTextValue("{"+this.interaction.drillDownParameter8.expression.value+"}",this,t)}),this.interaction.drillDownParameter9.isDefault()||i.drillDownParameters.push({name:this.interaction.drillDownParameter9.name,value:h.Report.Engine.StiParser.StiParser.parseTextValue("{"+this.interaction.drillDownParameter9.expression.value+"}",this,t)}),this.interaction.drillDownParameter10.isDefault()||i.drillDownParameters.push({name:this.interaction.drillDownParameter10.name,value:h.Report.Engine.StiParser.StiParser.parseTextValue("{"+this.interaction.drillDownParameter10.expression.value+"}",this,t)}))}}catch(e){var o=d.format("{0}.BeforePrint event error: {1}",this.name,e.message);h.System.StiError.showError(o,!1)}},W.prototype.applyConditions=function(t,e,r){var n,i;if(null==e)return;var o=new h.Report.Engine.StiParserParameters;o.ignoreGlobalizedName=!0,null!=r&&r.stimulsoft.is(w)&&(o.constants=new R,o.constants.set("e.Value",r.stimulsoft.as(w).value));try{for(var a=__values(e),s=a.next();!s.done;s=a.next()){var l=s.value;try{var u=h.Report.Engine.StiParser.StiParser.parseTextValue2(l.value,this,t,o);if("boolean"==typeof u&&u){var c=l.key,u,u,u,p;if(d.isNullOrEmpty(c.style)?(null!=(u=t.stimulsoft.as(m.IStiBrush))&&0<(c.permissions&m.StiConditionPermissions.BackColor)&&(u.brush=new I(c.backColor),t.stimulsoft.is("StiCrossField")&&(t.stimulsoft.as("StiCrossField").conditionBrush=new I(c.backColor))),null!=(u=t.stimulsoft.as(m.IStiBorder))&&0<(c.permissions&m.StiConditionPermissions.Borders)&&0==(c.borderSides&m.StiConditionBorderSides.NotAssigned)&&(u.border=u.border.clone(),u.border.side=c.borderSides),null!=(u=t.stimulsoft.as(m.IStiTextBrush))&&0<(c.permissions&m.StiConditionPermissions.TextColor)&&(u.textBrush=new I(c.textColor),t.stimulsoft.is("StiCrossField")&&(t.stimulsoft.as("StiCrossField").conditionTextBrush=new I(c.textColor))),null!=t.stimulsoft.as(m.IStiFont)&&m.StiConditionHelper.applyFont(t,c.font,c.permissions)):h.Report.Components.StiConditionHelper.apply(t,c.style),null!=c.icon&&t.stimulsoft.is(m.StiText)&&(t.stimulsoft.as(m.StiText).indicator=new m.StiIconSetIndicator(m.StiIcon.None,c.iconAlignment,c.icon,c.iconSize)),t.stimulsoft.is("StiCrossField")&&(t.stimulsoft.as("StiCrossField").conditionPermissions|=c.permissions),t.enabled=c.enabled,c.breakIfTrue)break}}catch(r){}}}catch(t){n={error:t}}finally{try{s&&!s.done&&(i=a.return)&&i.call(a)}finally{if(n)throw n.error}}},Object.defineProperty(W.prototype,"beforePrintEvent",{get:function(){return new f(this)},set:function(t){null!=t&&t.set(this,t.script),this.events.set(W.eventBeforePrint,r.create(t.script,this.report))},enumerable:!1,configurable:!0}),W.prototype.onAfterPrint=function(t){},W.prototype.invokeAfterPrint=function(t,e){this.onAfterPrint(e);var r=this.events.get(W.eventAfterPrint);if(null!=r)try{r(t,e)}catch(e){}},Object.defineProperty(W.prototype,"afterPrintEvent",{get:function(){return new S(this)},set:function(t){null!=t&&t.set(this,t.script),this.events.set(W.eventAfterPrint,r.create(t.script,this.report))},enumerable:!1,configurable:!0}),W.prototype.onGetDrillDownReport=function(t){},W.prototype.invokeGetDrillDownReport=function(t,e){this.onGetDrillDownReport(e);var r=this.events.get(W.eventGetDrillDownReport);if(null!=r)try{r(t,e)}catch(e){}},Object.defineProperty(W.prototype,"getDrillDownReportEvent",{get:function(){return new y(this)},set:function(t){null!=t&&t.set(this,t.script),this.events.set(W.eventGetDrillDownReport,h.Report.Events.StiGetDrillDownReportEventHandler.create(t.script,this.report))},enumerable:!1,configurable:!0}),Object.defineProperty(W.prototype,"isClickHandlerEmpty",{get:function(){return null==this.events.get(W.eventClick)},enumerable:!1,configurable:!0}),W.prototype.onClick=function(t){},W.prototype.invokeClick=function(t,e){this.onClick(e)},Object.defineProperty(W.prototype,"clickEvent",{get:function(){return new A(this)},set:function(t){null!=t&&t.set(this,t.script)},enumerable:!1,configurable:!0}),Object.defineProperty(W.prototype,"isDoubleClickHandlerEmpty",{get:function(){return null==this.events.get(W.eventDoubleClick)},enumerable:!1,configurable:!0}),W.prototype.onDoubleClick=function(t){},W.prototype.invokeDoubleClick=function(t,e){this.onDoubleClick(e)},Object.defineProperty(W.prototype,"doubleClickEvent",{get:function(){return new b(this)},set:function(t){null!=t&&t.set(this,t.script)},enumerable:!1,configurable:!0}),Object.defineProperty(W.prototype,"isMouseEnterHandlerEmpty",{get:function(){return null==this.events.get(W.eventMouseEnter)},enumerable:!1,configurable:!0}),W.prototype.onMouseEnter=function(t){},W.prototype.invokeMouseEnter=function(t,e){this.onMouseEnter(e)},Object.defineProperty(W.prototype,"mouseEnterEvent",{get:function(){return new C(this)},set:function(t){null!=t&&t.set(this,t.script)},enumerable:!1,configurable:!0}),Object.defineProperty(W.prototype,"isMouseLeaveHandlerEmpty",{get:function(){return null==this.events.get(W.eventMouseLeave)},enumerable:!1,configurable:!0}),W.prototype.onMouseLeave=function(t){},W.prototype.invokeMouseLeave=function(t,e){this.onMouseLeave(e)},Object.defineProperty(W.prototype,"mouseLeaveEvent",{get:function(){return new v(this)},set:function(t){null!=t&&t.set(this,t.script)},enumerable:!1,configurable:!0}),W.prototype.onPainting=function(t){},W.prototype.invokePainting=function(t,e){this.onPainting(e)},W.prototype.onPainted=function(t){},W.prototype.invokePainted=function(t,e){this.onPainted(e)},Object.defineProperty(W.prototype,"bookmarkValue",{get:function(){return null==this.bits?null:this.bits.bookmarkValue},set:function(t){if(null==t&&null==this.bits)return;null!=this.bits?this.bits.bookmarkValue=t:this.bits=new Y(t,this.toolTipValue,this.hyperlinkValue,this.tagValue,this.enabled,this.highlightState,this.ignoreNamingRule,this.dockStyle,this.printable)},enumerable:!1,configurable:!0}),Object.defineProperty(W.prototype,"bookmark",{get:function(){return this.properties.get("Bookmark","")},set:function(t){null!=t&&this.properties.set("Bookmark",t,"")},enumerable:!1,configurable:!0}),Object.defineProperty(W.prototype,"toolTipValue",{get:function(){return null==this.bits?null:this.bits.toolTipValue},set:function(t){if(null==t&&null==this.bits)return;null!=this.bits?this.bits.toolTipValue=t:this.bits=new Y(this.bookmarkValue,t,this.hyperlinkValue,this.tagValue,this.enabled,this.highlightState,this.ignoreNamingRule,this.dockStyle,this.printable)},enumerable:!1,configurable:!0}),Object.defineProperty(W.prototype,"toolTip",{get:function(){return this.properties.get("ToolTip","")},set:function(t){null!=t&&this.properties.set("ToolTip",t,"")},enumerable:!1,configurable:!0}),Object.defineProperty(W.prototype,"hyperlinkValue",{get:function(){return null==this.bits?null:this.bits.hyperlinkValue},set:function(t){if(null==t&&null==this.bits)return;null!=this.bits?this.bits.hyperlinkValue=t:this.bits=new Y(this.bookmarkValue,this.toolTipValue,t,this.tagValue,this.enabled,this.highlightState,this.ignoreNamingRule,this.dockStyle,this.printable)},enumerable:!1,configurable:!0}),Object.defineProperty(W.prototype,"hyperlink",{get:function(){return this.properties.get("Hyperlink","")},set:function(t){null!=t&&this.properties.set("Hyperlink",t,"")},enumerable:!1,configurable:!0}),Object.defineProperty(W.prototype,"tagValue",{get:function(){return null==this.bits?null:this.bits.tagValue},set:function(t){if(null==t&&null==this.bits)return;null!=this.bits?this.bits.tagValue=t:this.bits=new Y(this.bookmarkValue,this.toolTipValue,this.hyperlinkValue,t,this.enabled,this.highlightState,this.ignoreNamingRule,this.dockStyle,this.printable)},enumerable:!1,configurable:!0}),Object.defineProperty(W.prototype,"tag",{get:function(){return this.properties.get("Tag","")},set:function(t){null!=t&&this.properties.set("Tag",t,"")},enumerable:!1,configurable:!0}),Object.defineProperty(W.prototype,"alias",{get:function(){return this._alias},set:function(t){this._alias=t},enumerable:!1,configurable:!0}),Object.defineProperty(W.prototype,"events",{get:function(){return null==this._events&&(this._events=new R),this._events},enumerable:!1,configurable:!0}),Object.defineProperty(W.prototype,"restrictions",{get:function(){return this.getRestrictions()},set:function(t){this.setRestrictions(t)},enumerable:!1,configurable:!0}),W.prototype.getRestrictions=function(){return this.properties.get(W.propertyRestrictions,m.StiRestrictions.All)},W.prototype.setRestrictions=function(t){this.properties.set(W.propertyRestrictions,t,m.StiRestrictions.All)},Object.defineProperty(W.prototype,"ignoreNamingRule",{get:function(){return null!=this.bits&&this.bits.ignoreNamingRule},set:function(t){if(0==t&&null==this.bits)return;null!=this.bits?this.bits.ignoreNamingRule=t:this.bits=new Y(this.bookmarkValue,this.toolTipValue,this.hyperlinkValue,this.tagValue,this.enabled,this.highlightState,t,this.dockStyle,this.printable)},enumerable:!1,configurable:!0}),W.prototype.setName=function(t){this.ignoreNamingRule||null==this.report?U.prototype.setName.call(this,t):U.prototype.setName.call(this,u.StiNameValidator.correctName(t))},Object.defineProperty(W.prototype,"placeOnToolbox",{get:function(){return this.properties.getBool(W.propertyPlaceOnToolbox,!1)},set:function(t){this.properties.setBool(W.propertyPlaceOnToolbox,t,!1)},enumerable:!1,configurable:!0}),Object.defineProperty(W.prototype,"toolboxPosition",{get:function(){return 0},enumerable:!1,configurable:!0}),Object.defineProperty(W.prototype,"isPrinting",{get:function(){if(null!=this.report)return this.report.isPrinting;return!1},enumerable:!1,configurable:!0}),Object.defineProperty(W.prototype,"isExporting",{get:function(){if(null!=this.report)return this.report.isExporting;return!1},enumerable:!1,configurable:!0}),Object.defineProperty(W.prototype,"isDesigning",{get:function(){if(null!=this.report)return this.report.isDesigning;return!1},enumerable:!1,configurable:!0}),W.prototype.allowDelete=function(){return!this.inherited},Object.defineProperty(W.prototype,"priority",{get:function(){return m.StiComponentPriority.Component},enumerable:!1,configurable:!0}),Object.defineProperty(W.prototype,"componentType",{get:function(){return m.StiComponentType.Simple},enumerable:!1,configurable:!0}),Object.defineProperty(W.prototype,"dockable",{get:function(){return this.properties.getBool(W.propertyDockable,!0)},set:function(t){this.properties.setBool(W.propertyDockable,t,!0)},enumerable:!1,configurable:!0}),Object.defineProperty(W.prototype,"highlightState",{get:function(){return null==this.bits?m.StiHighlightState.Hide:this.bits.highlightState},set:function(t){if(t==m.StiHighlightState.Hide&&null==this.bits)return;null!=this.bits?this.bits.highlightState=t:this.bits=new Y(this.bookmarkValue,this.toolTipValue,this.hyperlinkValue,this.tagValue,this.enabled,t,this.ignoreNamingRule,this.dockStyle,this.printable)},enumerable:!1,configurable:!0}),Object.defineProperty(W.prototype,"componentPlacement",{get:function(){return this._componentPlacement},set:function(t){this._componentPlacement=t},enumerable:!1,configurable:!0}),Object.defineProperty(W.prototype,"drillDownParameters",{get:function(){return this._drillDownParameters},set:function(t){this._drillDownParameters!=t&&(this._drillDownParameters=t)},enumerable:!1,configurable:!0}),Object.defineProperty(W.prototype,"componentStyle",{get:function(){return this.getComponentStyle()},set:function(t){this.setComponentStyle(t)},enumerable:!1,configurable:!0}),W.prototype.getComponentStyle=function(){return this.properties.get(W.propertyComponentStyle,"")},W.prototype.setComponentStyle=function(t){var t;this.properties.set(W.propertyComponentStyle,t,""),null==this.report||null==t||null!=(t=this.report.styles.getByName(t))&&t.setStyleToComponent(this),this.is(m.StiContainer)&&this.setParentStylesToChilds()},Object.defineProperty(W.prototype,"locked",{get:function(){return this.properties.getBool(W.propertyLocked,!1)},set:function(t){this.properties.setBool(W.propertyLocked,t,!1)},enumerable:!1,configurable:!0}),Object.defineProperty(W.prototype,"linked",{get:function(){return this.getLinked()},set:function(t){this.setLinked(t)},enumerable:!1,configurable:!0}),W.prototype.getLinked=function(){return this.properties.getBool(W.propertyLinked,!1)},W.prototype.setLinked=function(t){this.properties.setBool(W.propertyLinked,t,!1)},Object.defineProperty(W.prototype,"enabled",{get:function(){return null==this.bits||this.bits.enabled},set:function(t){if(t&&null==this.bits)return;null!=this.bits?this.bits.enabled=t:this.bits=new Y(this.bookmarkValue,this.toolTipValue,this.hyperlinkValue,this.tagValue,t,this.highlightState,this.ignoreNamingRule,this.dockStyle,this.printable),t||this.dockStyle==m.StiDockStyle.None||null==this.parent||this.is(m.StiBand)&&null!=u&&!StiOptions.Engine.checkDockToContainerIfComponentDisabled||this.parent.dockToContainer()},enumerable:!1,configurable:!0}),W.prototype.getEnabled=function(){return this.enabled},W.prototype.setEnabled=function(t){this.enabled=t},Object.defineProperty(W.prototype,"useParentStyles",{get:function(){return this.getUseParentStyles()},set:function(t){this.setUseParentStyles(t)},enumerable:!1,configurable:!0}),W.prototype.getUseParentStyles=function(){return this.properties.getBool(W.propertyUseParentStyles,!1)},W.prototype.setUseParentStyles=function(t){this.useParentStyles!=t&&(this.properties.setBool(W.propertyUseParentStyles,t,!1),t&&null!=this.parent&&this.parent.setParentStylesToChilds())},Object.defineProperty(W.prototype,"page",{get:function(){return this.getPage()},set:function(t){this.setPage(t)},enumerable:!1,configurable:!0}),W.prototype.getPage=function(){return this._page},W.prototype.setPage=function(t){this._page=t},Object.defineProperty(W.prototype,"parent",{get:function(){return this._parent},set:function(t){this._parent=t},enumerable:!1,configurable:!0}),W.prototype.isExportAsImage=function(t){var e=this.as(m.IStiBrush),r=this.as(m.IStiTextBrush);if(null!=e){var e=e.brush;if(t==u.StiExportFormat.Pdf&&(e.is(O)||e.is(_)||e.is(j)||e.is(G)))return!1;if(t==u.StiExportFormat.Xps&&e.is(O)&&(null==r||!r.textBrush.is(O)))return!1;if(t==u.StiExportFormat.ImageSvg&&(e.is(O)||e.is(_)||e.is(j)||e.is(G)))return!1;if(e.is(O)||e.is(_)||e.is(G)||e.is(j))return!0}if(null!=r){var r=r.textBrush;if(t==u.StiExportFormat.Pdf&&(r.is(O)||r.is(_)||r.is(j)))return!1;if(r.is(O)||r.is(_)||r.is(G)||r.is(j))return!0}return!1},W.prototype.invokeOnResizeComponent=function(t,e){this.lockOnResize||this.onResizeComponent(t,e)},W.prototype.onResizeComponent=function(t,e){var r,n,i=this.as(m.StiContainer);if(null==i)return;var o=e.width-t.width,a=e.height-t.height;try{for(var s=__values(i.components.list),l=s.next();!l.done;l=s.next()){var u=l.value;0!=o&&(0<(u.anchor&m.StiAnchorMode.Left)&&0<(u.anchor&m.StiAnchorMode.Right)&&(u._width=u._width+o),0==(u.anchor&m.StiAnchorMode.Left)&&0<(u.anchor&m.StiAnchorMode.Right)&&(u._left=u._left+o)),0!=a&&(0<(u.anchor&m.StiAnchorMode.Top)&&0<(u.anchor&m.StiAnchorMode.Bottom)&&(u._height=u._height+a),0==(u.anchor&m.StiAnchorMode.Top)&&0<(u.anchor&m.StiAnchorMode.Bottom)&&(u._top=u._top+a))}}catch(t){r={error:t}}finally{try{l&&!l.done&&(n=s.return)&&n.call(s)}finally{if(r)throw r.error}}},W.prototype.clearContents=function(){var e,t,r=this.as(m.IStiText);null!=r&&this.isSelected&&r.setTextInternal("");var n=this.as(m.StiContainer);if(null!=n)try{for(var i=__values(n.components.list),o=i.next(),a;!o.done;o=i.next()){o.value.clearContents()}}catch(t){e={error:t}}finally{try{o&&!o.done&&(t=i.return)&&t.call(i)}finally{if(e)throw e.error}}},W.prototype.toString=function(){if(d.isNullOrEmpty(this.alias))return this.name;if(StiOptions.Dictionary.showOnlyAliasForComponents)return this.alias;return this.name+" ["+this.alias+"]"},Object.defineProperty(W.prototype,"isCross",{get:function(){return!1},enumerable:!1,configurable:!0}),W.prototype.canContainIn=function(t){if(t.is2(m.IStiCrossTab)){if(this.is2(m.IStiCrossTabField))return!0;return!1}if(!t.is(m.StiContainer))return!1;if(t.is(m.StiClone))return!1;if(t.is(m.StiSubReport))return!1;return!0},W.prototype.componentToPage=function(t){var e;return null!=(null==this.parent?null:this.parent.as(m.StiContainer))?this.parent.containerToPage(t):t},W.prototype.pageToComponent=function(t){var e;return null!=(null==this.parent?null:this.parent.as(m.StiContainer))?this.parent.pageToContainer(t):t},W.isParentSelect=function(t){var e=t.parent;while(null!=e&&!e.is(m.StiPage)){if(e.isSelected)return!0;e=e.parent}return!1},W.doOffsetRect=function(t,e,r){if(t.is(m.StiPage))return e;return!this.isParentSelect(t)&&t.isSelected&&(e=e.offsetRect(r)),e},W.prototype.getPaintRectangle=function(t,e,r){if(void 0===t&&(t=!0),void 0===e&&(e=!0),void 0===r&&(r=!0),null!=this.page){r&&(this.isCross?this.clientRectangle=this.dockToContainer2(this.clientRectangle):this.dockStyle!=m.StiDockStyle.None&&this.dockable&&(this.displayRectangle=this.dockToContainer2(this.displayRectangle)));var r=this.clientRectangle.clone(),n=this.page.offsetRectangle,r=W.doOffsetRect(this,r,this.page.offsetRectangle);if(r=(r=this.componentToPage(r)).normalize(),!t)return e?r.multiply(this.page.zoom):r;return e?this.page.unit.convertRectangleToHInches(r).multiply(this.page.zoom):this.page.unit.convertRectangleToHInches(r)}return x.empty},W.prototype.setPaintRectangle=function(t){t=(t=this.pageToComponent(t)).normalize(),this.clientRectangle=t},W.prototype.getDisplayRectangle2=function(){var t=this.displayRectangle,e=this.page.offsetRectangle,t=W.doOffsetRect(this,t,this.page.offsetRectangle);return t=(t=this.componentToPage(t)).normalize()},W.prototype.getDataBand=function(){var t=this.parent;if(null==t)return null;while(null!=t&&!t.is(m.StiDataBand)&&!t.is(m.StiPage)){var e=t.as(m.StiReportTitleBand);if(null!=e){var r=e.getMaster();if(null!=r)return r}var r=t.as(m.StiPageHeaderBand);if(null!=r){var n=r.getMaster();if(null!=n)return n}var n=t.as(m.StiReportSummaryBand);if(null!=n){var i=n.getMaster();if(null!=i)return i}var i=t.as(m.StiPageFooterBand);if(null!=i){var o=i.getMaster();if(null!=o)return o}var o=t.as(m.StiHeaderBand);if(null!=o){var a=h.Report.Engine.StiHeaderBandBuilder.getMaster(o);if(null!=a)return a}var a=t.as(m.StiFooterBand);if(null!=a){var a=h.Report.Engine.StiFooterBandBuilder.getMaster(a);if(null!=a)return a}t=t.parent}if(t.is(m.StiDataBand))return t;return null},W.prototype.getGroupHeaderBand=function(){var t=null,t;if(null==(t=this.is(m.StiGroupFooterBand)?this:this.parent))return null;if(t.is(m.StiChildBand)&&null!=t.parent){var e=t.parent.components.indexOf(t)-1;while(0<e&&t.parent.components.getByIndex(e).is(m.StiChildBand))e--;0<=e&&(t=t.parent.components.getByIndex(e))}while(!(null==t||t.is(m.StiDataBand)||t.is(m.StiGroupHeaderBand)||t.is(m.StiGroupFooterBand)||t.is(m.StiPage)))t=t.parent;if(t.is(m.StiGroupHeaderBand))return t;if(t.is(m.StiGroupFooterBand)||t.is(m.StiDataBand)){var r=null;if(t.is(m.StiDataBand))r=t.as(m.StiDataBand);else for(var e,n=e=t.parent.components.indexOf(t)-1;0<=n;n--){var i=t.parent.components.getByIndex(n).as(m.StiDataBand);if(null!=i){r=i;break}}if(null!=r){var o=h.Report.Engine.StiBuilder.getBuilder(m.StiDataBand);if(r.dataBandInfo.groupHeaderComponents=o.getGroupHeaders(r),r.dataBandInfo.groupFooterComponents=o.getGroupFooters(r),o.groupsComparison(r),t.is(m.StiGroupFooterBand))return t.groupFooterBandInfo.groupHeader;if(0<r.dataBandInfo.groupHeaderComponents.count)return r.dataBandInfo.groupHeaderComponents.getByIndex(r.dataBandInfo.groupHeaderComponents.count-1)}}return null},W.prototype.getContainer=function(){var t=this.parent;if(null==t)return null;while(null!=t&&!t.is(m.StiContainer)&&!t.is(m.StiPage))t=t.parent;if(t.is(m.StiContainer))return t;if(t.is(m.StiPage))return t;return t.page},W.prototype.checkForParentComponent=function(t){if(null==this.parent)return!1;if(this.parent==t)return!0;return this.parent.checkForParentComponent(t)},W.prototype.getComponentStyle2=function(){if(d.isNullOrWhiteSpace(this.componentStyle)||null==this.report)return null;return this.report.styles.getByName(this.componentStyle)},W.prototype.construct=function(t){void 0===t&&(t=x.empty),t.isEmpty?(this._left=0,this._top=0,this._width=0,this._height=0):this.clientRectangle=t,this.lockOnResize=!1,this.is(m.StiDataBand)||this.is(m.StiGroupHeaderBand)?this.interaction=new m.StiBandInteraction:this.is(h.Report.CrossTab.StiCrossHeader)?this.interaction=new m.StiCrossHeaderInteraction:this.interaction=new m.StiInteraction},W.propertyInherited=Math.random().toString().substr(2),W.propertyRenderedCount=Math.random().toString().substr(2),W.propertyMinSize=Math.random().toString().substr(2),W.propertyMaxSize=Math.random().toString().substr(2),W.eventGetToolTip={},W.eventGetHyperlink={},W.eventGetTag={},W.eventGetBookmark={},W.eventBeforePrint={},W.eventAfterPrint={},W.eventGetDrillDownReport={},W.eventClick={},W.eventDoubleClick={},W.eventMouseEnter={},W.eventMouseLeave={},W.eventPainting={},W.eventPainted={},W.propertyRestrictions=Math.random().toString().substr(2),W.propertyPlaceOnToolbox=Math.random().toString().substr(2),W.propertyDockable=Math.random().toString().substr(2),W.propertyComponentStyle=Math.random().toString().substr(2),W.propertyLocked=Math.random().toString().substr(2),W.propertyLinked=Math.random().toString().substr(2),W.propertyUseParentStyles=Math.random().toString().substr(2),__decorate([h.System.enumType(m.StiDockStyle)],W.prototype,"dockStyle",null),o=W,m.StiComponent=o}(Stimulsoft=Stimulsoft||{}),function(s){var t,o,e,l,r,n,a,i,u,c,p,h,m,d,g,f,S,y,A,b,C,v,w,B,I,T,E,R,D,P,x,F,N,k;function M(t){void 0===t&&(t=f.empty);var t=k.call(this,t)||this;return t._angle=B.Angle0,t._border=new I,t._foreColor=g.black,t._backColor=g.white,t._autoScale=!1,t._showLabelText=!0,t._showQuietZones=!0,t._barCodeType=new l.StiEAN13BarCodeType,t._font=null,t._horAlignment=y.Left,t._vertAlignment=S.Top,t._codeValue=null,t._code=null,t.defaultClientRectangle=new f(0,0,240,110),t.code="1234567890123",t}o=t=s.Report||(s.Report={}),l=e=o.BarCodes||(o.BarCodes={}),r=s.Base.IStiGetFonts,n=s.System.StiArray,a=s.System.StiString,i=s.Report.Events.StiValueEventHandler,u=s.Report.Components.StiComponent,c=s.Base.StiJsonReportObjectHelper,p=s.Base.StiJsonSaveMode,h=s.Base.JsonReportObject.IStiJsonReportObject,m=s.Base.Localization.StiLocalization,d=s.System.Enum,g=s.System.Drawing.Color,f=s.System.Drawing.Rectangle,S=s.Base.Drawing.StiVertAlignment,y=s.Base.Drawing.StiHorAlignment,A=s.Report.Expressions.StiExpression,b=s.System.Drawing.Font,C=s.Report.Events.StiValueEventArgs,v=s.System.Drawing.FontStyle,w=s.System.Drawing.GraphicsUnit,B=s.Report.Components.StiAngle,I=s.Base.Drawing.StiBorder,T=s.Report.Components.IStiBackColor,E=s.Report.Components.IStiForeColor,R=s.Report.Components.IStiExportImage,D=s.Report.Components.IStiExportImageExtended,P=s.Report.Components.IStiHorAlignment,x=s.Report.Components.IStiVertAlignment,F=s.Report.Components.IStiBorder,N=s.Report.Components.IStiEnumAngle,__extends(M,k=u),M.prototype.implements=function(){return M.implementsStiBarCode||(M.implementsStiBarCode=k.prototype.implements.call(this).concat([l.IStiBarCode,T,E,R,D,x,P,N,F,h,r])),M.implementsStiBarCode},M.prototype.saveToJsonObject=function(t){var e=k.prototype.saveToJsonObject.call(this,t);return e.removeProperty("CanShrink"),e.removeProperty("CanGrow"),e.addPropertyEnum("Angle",B,this.angle,B.Angle0),e.addPropertyStringNullOrEmpty("Border",c.Serialize.jBorder(this.border)),e.addPropertyStringNullOrEmpty("ForeColor",c.Serialize.jColor(this.foreColor,g.black)),e.addPropertyStringNullOrEmpty("BackColor",c.Serialize.jColor(this.backColor,g.white)),e.addPropertyBool("AutoScale",this.autoScale),e.addPropertyBool("ShowLabelText",this.showLabelText,!0),e.addPropertyBool("ShowQuietZones",this.showQuietZones,!0),e.addPropertyStringNullOrEmpty("Font",c.Serialize.font(this.font,"Arial",8,v.Bold,w.Pixel)),e.addPropertyEnum("HorAlignment",y,this.horAlignment,y.Left),e.addPropertyEnum("VertAlignment",S,this.vertAlignment,S.Top),e.addPropertyJObject("GetBarCodeEvent",this.getBarCodeEvent.saveToJsonObject(t)),e.addPropertyJObject("BarCodeType",this.barCodeType.saveToJsonObject(t)),t==p.Document?e.addPropertyStringNullOrEmpty("CodeValue",this.codeValue):e.addPropertyJObject("Code",new A(this.code).saveToJsonObject(t)),e},M.prototype.loadFromJsonObject=function(t){var e,r;k.prototype.loadFromJsonObject.call(this,t);try{for(var n=__values(t.properties()),i=n.next();!i.done;i=n.next()){var o=i.value;switch(o.name){case"Angle":this._angle=d.parse(B,o.value.toString());break;case"Border":this._border=c.Deserialize.border(o.value.toString());break;case"ForeColor":this._foreColor=c.Deserialize.color(o.value.toString());break;case"BackColor":this._backColor=c.Deserialize.color(o.value.toString());break;case"AutoScale":this._autoScale=o.value.stimulsoft.toBoolean();break;case"ShowLabelText":this._showLabelText=o.value.stimulsoft.toBoolean();break;case"ShowQuietZones":this._showQuietZones=o.value.stimulsoft.toBoolean();break;case"Font":this._font=c.Deserialize.font(o.value.toString(),this.font);break;case"HorAlignment":this._horAlignment=d.parse(y,o.value.toString());break;case"VertAlignment":this._vertAlignment=d.parse(S,o.value.toString());break;case"CodeValue":this._codeValue=o.value.toString();break;case"Code":var a=new A;a.loadFromJsonObject(o.value),this.code=a.value;break;case"GetBarCodeEvent":var a=new s.Report.Events.StiGetBarCodeEvent;a.loadFromJsonObject(o.value),this.getBarCodeEvent=a;break;case"BarCodeType":this._barCodeType=l.StiBarCodeTypeService.loadFromJsonObjectInternal(o.value);break}}}catch(t){e={error:t}}finally{try{i&&!i.done&&(r=n.return)&&r.call(n)}finally{if(e)throw e.error}}},M.prototype.loadFromXml=function(t,e){k.prototype.loadFromXml.call(this,t,e);for(var r=0;r<t.childNodes.length;r++){var n=t.childNodes[r];switch(n.nodeName){case"Angle":this._angle=d.parse(B,n.textContent);break;case"Border":case"br":this._border=I.loadFromXml(n.textContent);break;case"ForeColor":this._foreColor=s.System.Text.StiReportObjectStringConverter.convertStringToColor(n.textContent);break;case"BackColor":this._backColor=s.System.Text.StiReportObjectStringConverter.convertStringToColor(n.textContent);break;case"AutoScale":this._autoScale=n.textContent.stimulsoft.toBoolean();break;case"ShowLabelText":this._showLabelText=n.textContent.stimulsoft.toBoolean();break;case"ShowQuietZones":this._showQuietZones=n.textContent.stimulsoft.toBoolean();break;case"Font":case"fn":this._font=s.System.Convert.toFont(n.textContent);break;case"HorAlignment":case"ha":this._horAlignment=d.parse(y,n.textContent);break;case"VertAlignment":case"va":this._vertAlignment=d.parse(S,n.textContent);break;case"CodeValue":this.codeValue=n.textContent;break;case"Code":this.code=n.textContent;break;case"BarCodeType":var i=n.getAttribute("isRef"),n;!a.isNullOrEmpty(i)&&this.report.jsonLoaderHelper?this.barCodeType=this.report.jsonLoaderHelper.barcodeTypes[i.stimulsoft.toNumber()].stimulsoft.memberwiseClone():(this.barCodeType=l.StiBarCodeTypeService.loadFromXmlInternal(n),this.barCodeType.loadFromXmlObject(n),n=n.getAttribute("Ref"),!a.isNullOrEmpty(n)&&this.report.jsonLoaderHelper&&(this.report.jsonLoaderHelper.barcodeTypes[n.stimulsoft.toNumber()]=this.barCodeType));break}}},Object.defineProperty(M.prototype,"componentId",{get:function(){return o.StiComponentId.StiBarCode},enumerable:!1,configurable:!0}),Object.defineProperty(M.prototype,"helpUrl",{get:function(){return"user-manual/report_internals_barcodes.htm"},enumerable:!1,configurable:!0}),Object.defineProperty(M.prototype,"localizedCategory",{get:function(){return m.get("Report","Components")},enumerable:!1,configurable:!0}),Object.defineProperty(M.prototype,"localizedName",{get:function(){return m.get("Components","StiBarCode")},enumerable:!1,configurable:!0}),M.prototype.isExportAsImage=function(t){if(t==o.StiExportFormat.Excel2007||t==o.StiExportFormat.Word2007)return!0;return!1},M.prototype.getImage=function(t,e){void 0===e&&(e=o.StiExportFormat.None);var r=new o.Export.StiSvgData;if(r.component=this,r.x=0,r.y=0,r.width=this.report.unit.convertToHInches(this.width),r.height=this.report.unit.convertToHInches(this.height),null!=this.report&&null!=this.report.preparedExportImages){var e=this.report.preparedExportImages.get(this);if(null!=e)return e}return s.Report.Export.StiBarCodeSvgHelper.getImage(r)},Object.defineProperty(M.prototype,"angle",{get:function(){return this._angle},set:function(t){this._angle=t},enumerable:!1,configurable:!0}),Object.defineProperty(M.prototype,"border",{get:function(){return this._border},set:function(t){this._border=t},enumerable:!1,configurable:!0}),Object.defineProperty(M.prototype,"foreColor",{get:function(){return this._foreColor},set:function(t){this._foreColor=t},enumerable:!1,configurable:!0}),Object.defineProperty(M.prototype,"backColor",{get:function(){return this._backColor},set:function(t){this._backColor=t},enumerable:!1,configurable:!0}),Object.defineProperty(M.prototype,"autoScale",{get:function(){return this._autoScale},set:function(t){this._autoScale=t},enumerable:!1,configurable:!0}),Object.defineProperty(M.prototype,"showLabelText",{get:function(){return this._showLabelText},set:function(t){this._showLabelText=t},enumerable:!1,configurable:!0}),Object.defineProperty(M.prototype,"showQuietZones",{get:function(){return this._showQuietZones},set:function(t){this._showQuietZones=t},enumerable:!1,configurable:!0}),Object.defineProperty(M.prototype,"barCodeType",{get:function(){return this._barCodeType},set:function(t){this._barCodeType=t},enumerable:!1,configurable:!0}),M.prototype.getBarCodeString=function(){if(null!=this.codeValue)return this.codeValue;return this.code},Object.defineProperty(M.prototype,"font",{get:function(){return null==this._font&&(this._font=new b("Arial",8,v.Bold,w.Pixel)),this._font},set:function(t){this._font=t},enumerable:!1,configurable:!0}),Object.defineProperty(M.prototype,"horAlignment",{get:function(){return this._horAlignment},set:function(t){this._horAlignment=t},enumerable:!1,configurable:!0}),Object.defineProperty(M.prototype,"vertAlignment",{get:function(){return this._vertAlignment},set:function(t){this._vertAlignment=t},enumerable:!1,configurable:!0}),M.prototype.getFonts=function(){var t=k.prototype.getFonts.call(this);return t.push(this.font),n.distinct(t)},Object.defineProperty(M.prototype,"codeValue",{get:function(){return this._codeValue},set:function(t){this._codeValue=t},enumerable:!1,configurable:!0}),Object.defineProperty(M.prototype,"code",{get:function(){return this._code},set:function(t){this._code=t},enumerable:!1,configurable:!0}),M.prototype.invokeEvents=function(){k.prototype.invokeEvents.call(this);try{var t,t;this.report.calculationMode==o.StiCalculationMode.Compilation?null!=this.events.get(M.eventGetBarCode)&&null==this._codeValue&&(t=new C,this.invokeGetBarCode(this,t),null!=t.value&&(this._codeValue=t.value.toString())):null==this.codeValue&&(t=new C,this.invokeGetBarCode(this,t),null!=t.value&&(this.codeValue=t.value.toString()))}catch(t){s.System.StiError.showError(t,!1),o.StiLogService.write(this.stimulsoft.getType(),"DoEvents...ERROR"),o.StiLogService.write(this.stimulsoft.getType(),t)}},M.prototype.onGetBarCode=function(t){},M.prototype.invokeGetBarCode=function(t,e){try{if(this.onGetBarCode(e),this.report.calculationMode==o.StiCalculationMode.Compilation){var r;if(null!=(r=this.events.get(M.eventGetBarCode)))try{r(t,e)}catch(e){}}else{var n=s.Report.Engine.StiParser.StiParser.parseTextValue(this.code,this,t),r;if(null!=n&&(e.value=n),null!=(r=this.events.get(M.eventGetBarCode)))try{r(t,e)}catch(e){}}}catch(t){s.System.StiError.showError(t.message,!1);var i=a.format("Expression in BarCode property of '{0}' can't be evaluated!",this.name);o.StiLogService.write(this.stimulsoft.getType(),i),o.StiLogService.write(this.stimulsoft.getType(),t)}},Object.defineProperty(M.prototype,"getBarCodeEvent",{get:function(){return new s.Report.Events.StiGetBarCodeEvent(this)},set:function(t){t.set(this,t.script),this.events.set(M.eventGetBarCode,i.create(t.script,this.report))},enumerable:!1,configurable:!0}),M.prototype.createNew=function(){return new M(f.empty)},M.eventGetBarCode={},__decorate([s.System.enumType(y)],M.prototype,"horAlignment",null),__decorate([s.System.enumType(S)],M.prototype,"vertAlignment",null),u=M,l.StiBarCode=u}(Stimulsoft=Stimulsoft||{}),function(t){var e,t,r,n,i;function o(){}t=e=t.Report||(t.Report={}),(n=r=t.BarCodes||(t.BarCodes={})).StiBarCodeData=o}(Stimulsoft=Stimulsoft||{}),function(t){var e,r,n,i,l,u,t,o;function a(t,e,r){void 0===t&&(t=13),void 0===e&&(e=1),void 0===r&&(r=2.2);var n=o.call(this)||this;return n.codabarSymbols="0123456789-$:/.+ABCD",n.codabarTable=["11111221","11112211","11121121","22111111","11211211","21111211","12111121","12112111","12211111","21121111","11122111","11221111","21112121","21211121","21212111","11222221","11221211","11121221","12121121","11122211"],n._module=13,n._height=1,n._ratio=2.2,n.codabarSpaceLeft=7,n.codabarSpaceRight=7,n.codabarSpaceTop=0,n.codabarSpaceBottom=1,n.codabarLineHeightShort=45,n.codabarLineHeightLong=n.codabarLineHeightShort,n.codabarTextPosition=n.codabarLineHeightShort+n.codabarSpaceBottom,n.codabarTextHeight=8.33,n.codabarMainHeight=55,n.codabarLineHeightForCut=n.codabarLineHeightShort,n._module=t,n._height=e,n._ratio=r,n}r=e=t.Report||(t.Report={}),i=n=r.BarCodes||(r.BarCodes={}),l=t.System.StiArray,u=t.System.Text.StringBuilder,o=i.StiBarCodeTypeService,__extends(a,o),a.prototype.saveToJsonObject=function(t){var t=o.prototype.saveToJsonObject.call(this,t);return t.addPropertyNumber("Module",this.module,13),t.addPropertyNumber("Height",this.height,1),t.addPropertyNumber("Ratio",this.ratio,2.2),t},a.prototype.loadFromJsonObject=function(t){var e,r;try{for(var n=__values(t.properties()),i=n.next();!i.done;i=n.next()){var o=i.value;switch(o.name){case"Module":this.module=o.value.stimulsoft.toNumber();break;case"Height":this.height=o.value.stimulsoft.toNumber();break;case"Ratio":this.ratio=o.value.stimulsoft.toNumber();break}}}catch(t){e={error:t}}finally{try{i&&!i.done&&(r=n.return)&&r.call(n)}finally{if(e)throw e.error}}},a.prototype.loadFromXmlObject=function(t){o.prototype.loadFromXmlObject.call(this,t);for(var e=0;e<t.childNodes.length;e++){var r=t.childNodes[e];switch(r.nodeName){case"Module":this.module=r.textContent.stimulsoft.toNumber();break;case"Height":this.height=r.textContent.stimulsoft.toNumber();break;case"Ratio":this.ratio=r.textContent.stimulsoft.toNumber();break}}},Object.defineProperty(a.prototype,"componentId",{get:function(){return r.StiComponentId.StiCodabarBarCodeType},enumerable:!1,configurable:!0}),Object.defineProperty(a.prototype,"serviceName",{get:function(){return"Codabar"},enumerable:!1,configurable:!0}),Object.defineProperty(a.prototype,"defaultCodeValue",{get:function(){return"A12345678B"},enumerable:!1,configurable:!0}),Object.defineProperty(a.prototype,"module",{get:function(){return this._module},set:function(t){(this._module=t)<7.5&&(this._module=7.5),40<t&&(this._module=40),this.ratio=this._ratio},enumerable:!1,configurable:!0}),Object.defineProperty(a.prototype,"height",{get:function(){return this._height},set:function(t){(this._height=t)<.5&&(this._height=.5),2<t&&(this._height=2)},enumerable:!1,configurable:!0}),Object.defineProperty(a.prototype,"ratio",{get:function(){return this._ratio},set:function(t){this._ratio=t;var e=20<this.module?2:2.2;t<e&&(this._ratio=e),3<t&&(this._ratio=3)},enumerable:!1,configurable:!0}),Object.defineProperty(a.prototype,"labelFontHeight",{get:function(){return this.codabarTextHeight},enumerable:!1,configurable:!0}),Object.defineProperty(a.prototype,"visibleProperties",{get:function(){var t=l.create(Boolean,this.visiblePropertiesCount);return t[11]=!0,t[13]=!0,t[15]=!0,t},enumerable:!1,configurable:!0}),a.prototype.codeToBar=function(t){for(var e=new u,r=!0,n=0;n<t.length;n++){var i=void 0,i=1==r?"1"==t[n]?"4":"5":"1"==t[n]?"0":"1";e.append(i),r=!r}return e.toString()},a.prototype.draw=function(t,e,r,n){for(var i=this.getCode(e),i=this.checkCodeSymbols(i,this.codabarSymbols),o=l.create(Number,i.length),a=0;a<i.length;a++)o[a]=this.codabarSymbols.indexOf(i[a]);for(var s=new u,a=0;a<o.length;a++)s.append(this.codeToBar(this.codabarTable[o[a]]));this.calculateSizeFull(this.codabarSpaceLeft,this.codabarSpaceRight,this.codabarSpaceTop,this.codabarSpaceBottom,this.codabarLineHeightShort,this.codabarLineHeightLong,this.codabarTextPosition,this.codabarTextHeight,this.codabarMainHeight,this.codabarLineHeightForCut,this.ratio,n,i,i,s.toString(),r,e),this.drawBarCode(t,r,e)},a.prototype.createNew=function(){return new a},t=a,i.StiCodabarBarCodeType=t}(Stimulsoft=Stimulsoft||{}),function(t){var e,r,n,p,h,a,m,t,i;function o(t,e,r){void 0===t&&(t=8),void 0===e&&(e=1),void 0===r&&(r=p.StiCode11CheckSum.Auto);var n=i.call(this)||this;return n.code11Symbols="0123456789-",n.code11StartStopSymbolIndex=11,n.code11Table=["40405","50405","41405","51404","40505","50504","41504","40415","50414","50404","40504","40514"],n.code11SpaceLeft=5,n.code11SpaceRight=5,n.code11SpaceTop=0,n.code11SpaceBottom=1,n.code11LineHeightShort=40,n.code11LineHeightLong=n.code11LineHeightShort,n.code11TextPosition=n.code11LineHeightShort+n.code11SpaceBottom,n.code11TextHeight=8,n.code11MainHeight=50,n.code11LineHeightForCut=n.code11LineHeightShort,n.defaultCode11Module=8,n._module=n.defaultCode11Module,n._height=1,n._checksum=p.StiCode11CheckSum.Auto,n._module=t,n._height=e,n._checksum=r,n}r=e=t.Report||(t.Report={}),p=n=r.BarCodes||(r.BarCodes={}),h=t.System.StiArray,a=t.System.Enum,m=t.System.Text.StringBuilder,i=p.StiBarCodeTypeService,__extends(o,i),o.prototype.saveToJsonObject=function(t){var t=i.prototype.saveToJsonObject.call(this,t);return t.addPropertyNumber("Module",this.module,8),t.addPropertyNumber("Height",this.height,1),t.addPropertyEnum("Checksum",p.StiCode11CheckSum,this.checksum,p.StiCode11CheckSum.Auto),t},o.prototype.loadFromJsonObject=function(t){var e,r;try{for(var n=__values(t.properties()),i=n.next();!i.done;i=n.next()){var o=i.value;switch(o.name){case"Module":this._module=o.value.stimulsoft.toNumber();break;case"Height":this._height=o.value.stimulsoft.toNumber();break;case"Checksum":this.checksum=a.parse(p.StiCode11CheckSum,o.value.toString());break}}}catch(t){e={error:t}}finally{try{i&&!i.done&&(r=n.return)&&r.call(n)}finally{if(e)throw e.error}}},o.prototype.loadFromXmlObject=function(t){i.prototype.loadFromXmlObject.call(this,t);for(var e=0;e<t.childNodes.length;e++){var r=t.childNodes[e];switch(r.nodeName){case"Module":this._module=r.textContent.stimulsoft.toNumber();break;case"Height":this.height=r.textContent.stimulsoft.toNumber();break;case"Checksum":this.checksum=a.parse(p.StiCode11CheckSum,r.textContent);break}}},Object.defineProperty(o.prototype,"componentId",{get:function(){return r.StiComponentId.StiCode11BarCodeType},enumerable:!1,configurable:!0}),Object.defineProperty(o.prototype,"serviceName",{get:function(){return"Code11"},enumerable:!1,configurable:!0}),Object.defineProperty(o.prototype,"defaultCodeValue",{get:function(){return"A12345678B"},enumerable:!1,configurable:!0}),Object.defineProperty(o.prototype,"module",{get:function(){return this._module},set:function(t){(this._module=t)<4&&(this._module=4),40<t&&(this._module=40)},enumerable:!1,configurable:!0}),Object.defineProperty(o.prototype,"height",{get:function(){return this._height},set:function(t){(this._height=t)<.2&&(this._height=.2),2<t&&(this._height=2)},enumerable:!1,configurable:!0}),Object.defineProperty(o.prototype,"checksum",{get:function(){return this._checksum},set:function(t){this._checksum=t},enumerable:!1,configurable:!0}),Object.defineProperty(o.prototype,"labelFontHeight",{get:function(){return this.code11TextHeight},enumerable:!1,configurable:!0}),Object.defineProperty(o.prototype,"visibleProperties",{get:function(){var t=h.create(Boolean,this.visiblePropertiesCount);return t[3]=!0,t[11]=!0,t[13]=!0,t},enumerable:!1,configurable:!0}),o.prototype.draw=function(t,e,r,n){var i=this.getCode(e),i=this.checkCodeSymbols(i,this.code11Symbols),o=0;this.checksum==p.StiCode11CheckSum.Auto&&(o=10<=i.length?2:1),this.checksum==p.StiCode11CheckSum.OneDigit&&(o=1),this.checksum==p.StiCode11CheckSum.TwoDigits&&(o=2);var a=h.create(Number,i.length+2+o);a[0]=this.code11StartStopSymbolIndex;for(var s=0;s<i.length;s++)a[s+1]=this.code11Symbols.indexOf(i[s]);for(var l=0,u=1,s=i.length;0<s;s--)l+=a[s]*u,10<++u&&(u=1);if(a[i.length+1]=l%11,2==o){l=0,u=1;for(var s=i.length+1;0<s;s--)l+=a[s]*u,9<++u&&(u=1);a[i.length+2]=l%9}a[a.length-1]=a[0];for(var c=new m,s=0;s<a.length;s++)c.append(this.code11Table[a[s]]),s!=a.length-1&&c.append("0");this.calculateSizeFull(this.code11SpaceLeft,this.code11SpaceRight,this.code11SpaceTop,this.code11SpaceBottom,this.code11LineHeightShort,this.code11LineHeightLong,this.code11TextPosition,this.code11TextHeight,this.code11MainHeight,this.code11LineHeightForCut,2,n,i,i,c.toString(),r,e),this.drawBarCode(t,r,e)},o.prototype.createNew=function(){return new o},t=o,p.StiCode11BarCodeType=t}(Stimulsoft=Stimulsoft||{}),function(t){var e,r,n,p,i,h,o;function a(t,e){void 0===t&&(t=20),void 0===e&&(e=1);var r=o.call(this)||this;return r.code128Table=["212222","222122","222221","121223","121322","131222","122213","122312","132212","221213","221312","231212","112232","122132","122231","113222","123122","123221","223211","221132","221231","213212","223112","312131","311222","321122","321221","312212","322112","322211","212123","212321","232121","111323","131123","131321","112313","132113","132311","211313","231113","231311","112133","112331","132131","113123","113321","133121","313121","211331","231131","213113","213311","213131","311123","311321","331121","312113","312311","332111","314111","221411","431111","111224","111422","121124","121421","141122","141221","112214","112412","122114","122411","142112","142211","241211","221114","413111","241112","134111","111242","121142","121241","114212","124112","124211","411212","421112","421211","212141","214121","412121","111143","111341","131141","114113","114311","411113","411311","113141","114131","311141","411131","211412","211214","211232","2331112"],r._module=13,r._height=1,r.code128SpaceLeft=10,r.code128SpaceRight=10,r.code128SpaceTop=0,r.code128SpaceBottom=1,r.code128LineHeightShort=45,r.code128LineHeightLong=r.code128LineHeightShort,r.code128TextPosition=r.code128LineHeightShort+r.code128SpaceBottom,r.code128TextHeight=8.33,r.code128MainHeight=55,r.code128LineHeightForCut=r.code128LineHeightShort,r.defaultCodeSetAB=p.CodeSet.B,r.module=t,r.height=e,r}r=e=t.Report||(t.Report={}),p=n=r.BarCodes||(r.BarCodes={}),i=t.System.StiArray,h=t.System.Text.StringBuilder,o=p.StiBarCodeTypeService,__extends(a,o),a.prototype.saveToJsonObject=function(t){var t=o.prototype.saveToJsonObject.call(this,t);return t.addPropertyNumber("Module",this.module,13),t.addPropertyNumber("Height",this.height,1),t},a.prototype.loadFromJsonObject=function(t){var e,r;try{for(var n=__values(t.properties()),i=n.next();!i.done;i=n.next()){var o=i.value;switch(o.name){case"Module":this.module=o.value.stimulsoft.toNumber();break;case"Height":this.height=o.value.stimulsoft.toNumber();break}}}catch(t){e={error:t}}finally{try{i&&!i.done&&(r=n.return)&&r.call(n)}finally{if(e)throw e.error}}},a.prototype.loadFromXmlObject=function(t){o.prototype.loadFromXmlObject.call(this,t);for(var e=0;e<t.childNodes.length;e++){var r=t.childNodes[e];switch(r.nodeName){case"Module":this.module=r.textContent.stimulsoft.toNumber();break;case"Height":this.height=r.textContent.stimulsoft.toNumber();break}}},Object.defineProperty(a.prototype,"module",{get:function(){return this._module},set:function(t){(this._module=t)<9.84&&(this._module=9.84),40<t&&(this._module=40)},enumerable:!1,configurable:!0}),Object.defineProperty(a.prototype,"height",{get:function(){return this._height},set:function(t){(this._height=t)<.5&&(this._height=.5),2<t&&(this._height=2)},enumerable:!1,configurable:!0}),Object.defineProperty(a.prototype,"labelFontHeight",{get:function(){return this.code128TextHeight},enumerable:!1,configurable:!0}),Object.defineProperty(a.prototype,"visibleProperties",{get:function(){var t=i.create(Boolean,this.visiblePropertiesCount);return t[11]=!0,t[13]=!0,t},enumerable:!1,configurable:!0}),a.prototype.codeToBar=function(t){for(var e=new h,r=!0,n=0;n<t.length;n++){var i=void 0;if(1==r)switch(t[n]){case"1":i="4";break;case"2":i="5";break;case"3":i="6";break;case"4":i="7";break;default:i="4";break}else switch(t[n]){case"1":i="0";break;case"2":i="1";break;case"3":i="2";break;case"4":i="3";break;default:i="0";break}e.append(i),r=!r}return e.toString()},a.prototype.encodeAuto=function(t,e){for(var r=new h,n=new h,i=0,o;i<t.length;i++){(o=t.charCodeAt(i))<256&&n.append(t.charAt(i))}var a=n.toString(),s=this.getSet(a,0,p.CodeSet.None);s==p.CodeSet.A?r.append(String.fromCharCode(p.BarcodeCommands.StartA)):s==p.CodeSet.B?r.append(String.fromCharCode(p.BarcodeCommands.StartB)):r.append(String.fromCharCode(p.BarcodeCommands.StartC)),e&&r.append(String.fromCharCode(p.BarcodeCommands.FNC1));var l=0;while(l<a.length){var u=this.getSet(a,l,s),o,c,u;if(u!=s&&(u==p.CodeSet.A?r.append(String.fromCharCode(p.BarcodeCommands.CodeA)):u==p.CodeSet.B?r.append(String.fromCharCode(p.BarcodeCommands.CodeB)):r.append(String.fromCharCode(p.BarcodeCommands.CodeC)),s=u),(o=a.charCodeAt(l))>=p.ControlCodes.FNC1&&o<=p.ControlCodes.FNC4){o==p.ControlCodes.FNC1?r.append(String.fromCharCode(p.BarcodeCommands.FNC1)):o==p.ControlCodes.FNC2?r.append(String.fromCharCode(p.BarcodeCommands.FNC2)):o==p.ControlCodes.FNC3?r.append(String.fromCharCode(p.BarcodeCommands.FNC3)):s==p.CodeSet.A?r.append(String.fromCharCode(p.BarcodeCommands.FNC4A)):r.append(String.fromCharCode(p.BarcodeCommands.FNC4B)),l++;continue}s==p.CodeSet.A?o<128?r.append(String.fromCharCode(32<=o?o-32:o+64)):(r.append(String.fromCharCode(p.BarcodeCommands.FNC4A)),r.append(String.fromCharCode(160<=o?o-160:o-64))):s==p.CodeSet.B?o<128?r.append(String.fromCharCode(o-32)):(r.append(String.fromCharCode(p.BarcodeCommands.FNC4B)),r.append(String.fromCharCode(o-160))):(u=10*(o-48)+(a.charCodeAt(l+1)-48),r.append(String.fromCharCode(u)),l++),l++}return r.append(String.fromCharCode(0)),r.append(String.fromCharCode(p.BarcodeCommands.Stop)),r.toString()},a.prototype.isDigit=function(t){var t=t.charCodeAt(0);if(47<t&&t<58)return!0;return!1},a.prototype.getSet=function(t,e,r){if(0==t.length||e>t.length-1)return p.CodeSet.A;var n=t.charCodeAt(e);if(n>=p.ControlCodes.FNC1&&n<=p.ControlCodes.FNC4){if(r==p.CodeSet.None)return this.defaultCodeSetAB;if(n==p.ControlCodes.FNC1)return r;return r==p.CodeSet.C?this.defaultCodeSetAB:r}if(n<32||128<=n&&n<160)return p.CodeSet.A;if(96<=n&&n<128||224<=n&&n<=255)return p.CodeSet.B;if(this.isDigit(t.charAt(e)))if(r==p.CodeSet.C){if(e+1<t.length&&this.isDigit(t.charAt(e+1)))return p.CodeSet.C}else if(e+3<t.length&&this.isDigit(t.charAt(e+1))&&this.isDigit(t.charAt(e+2))&&this.isDigit(t.charAt(e+3)))return p.CodeSet.C;return r!=p.CodeSet.None&&r!=p.CodeSet.C?r:this.defaultCodeSetAB},r=a,p.StiCode128BarCodeType=r}(Stimulsoft=Stimulsoft||{}),function(t){var e,r,n,i,m,d,t,o;function a(t,e){return void 0===t&&(t=13),void 0===e&&(e=1),o.call(this,t,e)||this}r=e=t.Report||(t.Report={}),i=n=r.BarCodes||(r.BarCodes={}),m=t.System.StiArray,d=t.System.Text.StringBuilder,o=i.StiCode128BarCodeType,__extends(a,o),Object.defineProperty(a.prototype,"componentId",{get:function(){return r.StiComponentId.StiCode128AutoBarCodeType},enumerable:!1,configurable:!0}),Object.defineProperty(a.prototype,"serviceName",{get:function(){return"Code128 Auto"},enumerable:!1,configurable:!0}),Object.defineProperty(a.prototype,"defaultCodeValue",{get:function(){return"123456780123"},enumerable:!1,configurable:!0}),a.prototype.draw=function(t,e,r,n){for(var i=this.getCode(e),o=new d,a=0;a<i.length;a++){var s=i.charCodeAt(a);o.append(32<=s&&129!=s?String.fromCharCode(s):String.fromCharCode(8226))}for(var l=this.encodeAuto(i,!1),u=m.create(Number,l.length),a=0;a<l.length;a++)u[a]=l.toString().charCodeAt(a);for(var c=u[0],a=0;a<l.length-3;a++)c+=u[a+1]*(a+1);u[u.length-2]=c%103;for(var p=new d,a=0;a<u.length;a++)p.append(this.codeToBar(this.code128Table[u[a]]));var h=o.toString();this.calculateSizeFull(this.code128SpaceLeft,this.code128SpaceRight,this.code128SpaceTop,this.code128SpaceBottom,this.code128LineHeightShort,this.code128LineHeightLong,this.code128TextPosition,this.code128TextHeight,this.code128MainHeight,this.code128LineHeightForCut,2,n,i,h,p.toString(),r,e),this.drawBarCode(t,r,e)},a.prototype.createNew=function(){return new a},t=a,i.StiCode128AutoBarCodeType=t}(Stimulsoft=Stimulsoft||{}),function(t){var e,r,n,i,h,m,t,o;function a(t,e){return void 0===t&&(t=13),void 0===e&&(e=1),o.call(this,t,e)||this}r=e=t.Report||(t.Report={}),i=n=r.BarCodes||(r.BarCodes={}),h=t.System.StiArray,m=t.System.Text.StringBuilder,o=i.StiCode128BarCodeType,__extends(a,o),Object.defineProperty(a.prototype,"componentId",{get:function(){return r.StiComponentId.StiCode128aBarCodeType},enumerable:!1,configurable:!0}),Object.defineProperty(a.prototype,"serviceName",{get:function(){return"Code128a"},enumerable:!1,configurable:!0}),Object.defineProperty(a.prototype,"defaultCodeValue",{get:function(){return"ABC123"},enumerable:!1,configurable:!0}),a.prototype.draw=function(t,e,r,n){var i=this.getCode(e),i=this.checkCodeSymbols(i," !\"#$%&'()*+,-./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\\]^_"+"\0\b\t\n\v\f\r"+""+""),o=new m,a=h.create(Number,i.length+3);a[0]=103;for(var s=a[0],l=0;l<i.length;l++){var u=i.charCodeAt(l);a[l+1]=32<=u?u-32:u+64,129==u&&(a[l+1]=102),s+=a[l+1]*(l+1),o.append(32<=u&&129!=u?String.fromCharCode(u):String.fromCharCode(8729))}a[a.length-2]=s%103,a[a.length-1]=106;for(var c=new m,l=0;l<a.length;l++)c.append(this.codeToBar(this.code128Table[a[l]]));var p=o.toString();this.calculateSizeFull(this.code128SpaceLeft,this.code128SpaceRight,this.code128SpaceTop,this.code128SpaceBottom,this.code128LineHeightShort,this.code128LineHeightLong,this.code128TextPosition,this.code128TextHeight,this.code128MainHeight,this.code128LineHeightForCut,2,n,i,p,c.toString(),r,e),this.drawBarCode(t,r,e)},a.prototype.createNew=function(){return new a},t=a,i.StiCode128aBarCodeType=t}(Stimulsoft=Stimulsoft||{}),function(t){var e,r,n,i,h,m,t,o;function a(t,e){return void 0===t&&(t=13),void 0===e&&(e=1),o.call(this,t,e)||this}r=e=t.Report||(t.Report={}),i=n=r.BarCodes||(r.BarCodes={}),h=t.System.StiArray,m=t.System.Text.StringBuilder,o=i.StiCode128BarCodeType,__extends(a,o),Object.defineProperty(a.prototype,"componentId",{get:function(){return r.StiComponentId.StiCode128bBarCodeType},enumerable:!1,configurable:!0}),Object.defineProperty(a.prototype,"serviceName",{get:function(){return"Code128b"},enumerable:!1,configurable:!0}),Object.defineProperty(a.prototype,"defaultCodeValue",{get:function(){return"ABCabc123"},enumerable:!1,configurable:!0}),a.prototype.draw=function(t,e,r,n){var i=this.getCode(e),i=this.checkCodeSymbols(i," !\"#$%&'()*+,-./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\\]^_`abcdefghijklmnopqrstuvwxyz{|}~"+""+""),o=new m,a=h.create(Number,i.length+3);a[0]=104;for(var s=a[0],l=0;l<i.length;l++){var u=i.charCodeAt(l);a[l+1]=u-32,129==u&&(a[l+1]=102),s+=a[l+1]*(l+1),o.append(129!=u?String.fromCharCode(u):String.fromCharCode(8729))}a[a.length-2]=s%103,a[a.length-1]=106;for(var c=new m,l=0;l<a.length;l++)c.append(this.codeToBar(this.code128Table[a[l]]));var p=o.toString();this.calculateSizeFull(this.code128SpaceLeft,this.code128SpaceRight,this.code128SpaceTop,this.code128SpaceBottom,this.code128LineHeightShort,this.code128LineHeightLong,this.code128TextPosition,this.code128TextHeight,this.code128MainHeight,this.code128LineHeightForCut,2,n,i,p,c.toString(),r,e),this.drawBarCode(t,r,e)},a.prototype.createNew=function(){return new a},t=a,i.StiCode128bBarCodeType=t}(Stimulsoft=Stimulsoft||{}),function(t){var e,r,n,i,A,b,t,o;function a(t,e){return void 0===t&&(t=13),void 0===e&&(e=1),o.call(this,t,e)||this}r=e=t.Report||(t.Report={}),i=n=r.BarCodes||(r.BarCodes={}),A=t.System.StiArray,b=t.System.Text.StringBuilder,o=i.StiCode128BarCodeType,__extends(a,o),Object.defineProperty(a.prototype,"componentId",{get:function(){return r.StiComponentId.StiCode128cBarCodeType},enumerable:!1,configurable:!0}),Object.defineProperty(a.prototype,"serviceName",{get:function(){return"Code128c"},enumerable:!1,configurable:!0}),Object.defineProperty(a.prototype,"defaultCodeValue",{get:function(){return"0123456789012345"},enumerable:!1,configurable:!0}),a.prototype.draw=function(t,e,r,n){for(var i=this.getCode(e),i=this.checkCodeSymbols(i,"0123456789"+""),o=[],a=new b,s="",l=0;l<i.length;l++){var u=i.charCodeAt(l);129==u?(o.push(s),s="",a.append(String.fromCharCode(8226))):(s+=String.fromCharCode(u),a.append(u))}0<s.length&&o.push(s),0==o.length&&o.push(s);for(var c=new b,l=0;l<o.length;l++){for(var p=o[l],h=Math.floor(p.length/2),m=0,d;m<h;m++){var d=parseInt(p.substr(2*m,2));c.append(String.fromCharCode(d))}p.length%2==1&&(c.append(String.fromCharCode(100)),d=p.charCodeAt(p.length-1),c.append(String.fromCharCode(d-32)),l<o.length-1&&c.append(String.fromCharCode(99))),l<o.length-1&&c.append(String.fromCharCode(102))}var g=A.create(Number,c.length+3);g[0]=105;for(var l=0;l<c.length;l++)g[l+1]=c.toString().charCodeAt(l);for(var f=g[0],l=0;l<g.length-3;l++)f+=g[l+1]*(l+1);g[g.length-2]=f%103,g[g.length-1]=106;for(var S=new b,l=0;l<g.length;l++)S.append(this.codeToBar(this.code128Table[g[l]]));for(var y=new b,l=0;l<a.length;l++){var d=parseInt(a.toString().substr(l,2));y.append(String.fromCharCode(d)),l++}this.calculateSizeFull(this.code128SpaceLeft,this.code128SpaceRight,this.code128SpaceTop,this.code128SpaceBottom,this.code128LineHeightShort,this.code128LineHeightLong,this.code128TextPosition,this.code128TextHeight,this.code128MainHeight,this.code128LineHeightForCut,2,n,i,y.toString(),S.toString(),r,e),this.drawBarCode(t,r,e)},a.prototype.createNew=function(){return new a},t=a,i.StiCode128cBarCodeType=t}(Stimulsoft=Stimulsoft||{}),function(t){var e,r,n,u,c,a,p,t,o;function i(t,e,r,n){void 0===t&&(t=13),void 0===e&&(e=1),void 0===r&&(r=2.2),void 0===n&&(n=u.StiCheckSum.Yes);var i=o.call(this)||this;return i.code39Symbols="0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ-. $/+%",i.code39StartStopSymbolIndex=43,i.code39Table=["1112212111","2112111121","1122111121","2122111111","1112211121","2112211111","1122211111","1112112121","2112112111","1122112111","2111121121","1121121121","2121121111","1111221121","2111221111","1121221111","1111122121","2111122111","1121122111","1111222111","2111111221","1121111221","2121111211","1111211221","2111211211","1121211211","1111112221","2111112211","1121112211","1111212211","2211111121","1221111121","2221111111","1211211121","2211211111","1221211111","1211112121","2211112111","1221112111","1212121111","1212111211","1211121211","1112121211","1211212111"],i._checkSum=u.StiCheckSum.Yes,i._module=13,i._height=1,i._ratio=2.2,i.code39SpaceLeft=10,i.code39SpaceRight=10,i.code39SpaceTop=0,i.code39SpaceBottom=1,i.code39LineHeightShort=45,i.code39LineHeightLong=i.code39LineHeightShort,i.code39TextPosition=i.code39LineHeightShort+i.code39SpaceBottom,i.code39TextHeight=8.33,i.code39MainHeight=55,i.code39LineHeightForCut=i.code39LineHeightShort,i._module=t,i._height=e,i._ratio=r,i._checkSum=n,i}r=e=t.Report||(t.Report={}),u=n=r.BarCodes||(r.BarCodes={}),c=t.System.StiArray,a=t.System.Enum,p=t.System.Text.StringBuilder,o=u.StiBarCodeTypeService,__extends(i,o),i.prototype.saveToJsonObject=function(t){var t=o.prototype.saveToJsonObject.call(this,t);return t.addPropertyNumber("Module",this.module,13),t.addPropertyNumber("Height",this.height,1),t.addPropertyEnum("CheckSum",u.StiCheckSum,this.checkSum,u.StiCheckSum.Yes),t.addPropertyNumber("Ratio",this.ratio,2.2),t},i.prototype.loadFromJsonObject=function(t){var e,r;try{for(var n=__values(t.properties()),i=n.next();!i.done;i=n.next()){var o=i.value;switch(o.name){case"Module":this.module=o.value.stimulsoft.toNumber();break;case"Height":this.height=o.value.stimulsoft.toNumber();break;case"CheckSum":this.checkSum=a.parse(u.StiCheckSum,o.value.toString());break;case"Ratio":this.ratio=o.value.stimulsoft.toNumber();break}}}catch(t){e={error:t}}finally{try{i&&!i.done&&(r=n.return)&&r.call(n)}finally{if(e)throw e.error}}},i.prototype.loadFromXmlObject=function(t){o.prototype.loadFromXmlObject.call(this,t);for(var e=0;e<t.childNodes.length;e++){var r=t.childNodes[e];switch(r.nodeName){case"Module":this.module=r.textContent.stimulsoft.toNumber();break;case"Height":this.height=r.textContent.stimulsoft.toNumber();break;case"CheckSum":this.checkSum=a.parse(u.StiCheckSum,r.textContent);break;case"Ratio":this.ratio=r.textContent.stimulsoft.toNumber();break}}},Object.defineProperty(i.prototype,"componentId",{get:function(){return r.StiComponentId.StiCode39BarCodeType},enumerable:!1,configurable:!0}),Object.defineProperty(i.prototype,"serviceName",{get:function(){return"Code39"},enumerable:!1,configurable:!0}),Object.defineProperty(i.prototype,"defaultCodeValue",{get:function(){return"ABC123"},enumerable:!1,configurable:!0}),Object.defineProperty(i.prototype,"checkSum",{get:function(){return this._checkSum},set:function(t){this._checkSum=t},enumerable:!1,configurable:!0}),Object.defineProperty(i.prototype,"module",{get:function(){return this._module},set:function(t){(this._module=t)<2&&(this._module=2),40<t&&(this._module=40),this.ratio=this._ratio},enumerable:!1,configurable:!0}),Object.defineProperty(i.prototype,"height",{get:function(){return this._height},set:function(t){(this._height=t)<.5&&(this._height=.5),2<t&&(this._height=2)},enumerable:!1,configurable:!0}),Object.defineProperty(i.prototype,"ratio",{get:function(){return this._ratio},set:function(t){this._ratio=t;var e=20<this.module?2:2.2;t<e&&(this._ratio=e),3<t&&(this._ratio=3)},enumerable:!1,configurable:!0}),Object.defineProperty(i.prototype,"labelFontHeight",{get:function(){return this.code39TextHeight},enumerable:!1,configurable:!0}),Object.defineProperty(i.prototype,"visibleProperties",{get:function(){var t=c.create(Boolean,this.visiblePropertiesCount);return t[11]=!0,t[13]=!0,t[15]=!0,t[23]=!0,t},enumerable:!1,configurable:!0}),i.prototype.codeToBar=function(t){for(var e=new p,r=!0,n=0;n<t.length;n++){var i=void 0,i=1==r?"1"==t[n]?"4":"5":"1"==t[n]?"0":"1";e.append(i),r=!r}return e.toString()},i.prototype.draw=function(t,e,r,n){var i=this.getCode(e),i=this.checkCodeSymbols(i,this.code39Symbols),o=c.create(Number,i.length+(this.checkSum==u.StiCheckSum.Yes?3:2));o[0]=this.code39StartStopSymbolIndex;for(var a=0,s=0;s<i.length;s++)o[s+1]=this.code39Symbols.indexOf(i[s]),a+=o[s+1];this.checkSum==u.StiCheckSum.Yes&&(o[o.length-2]=a%43),o[o.length-1]=o[0];for(var l=new p,s=0;s<o.length;s++)l.append(this.codeToBar(this.code39Table[o[s]]));this.calculateSizeFull(this.code39SpaceLeft,this.code39SpaceRight,this.code39SpaceTop,this.code39SpaceBottom,this.code39LineHeightShort,this.code39LineHeightLong,this.code39TextPosition,this.code39TextHeight,this.code39MainHeight,this.code39LineHeightForCut,this.ratio,n,i,i,l.toString(),r,e),this.drawBarCode(t,r,e)},i.prototype.createNew=function(){return new i},t=i,u.StiCode39BarCodeType=t}(Stimulsoft=Stimulsoft||{}),function(t){var e,r,n,h,m,d,t,i;function o(t,e,r,n){void 0===t&&(t=13),void 0===e&&(e=1),void 0===r&&(r=2.2),void 0===n&&(n=h.StiCheckSum.Yes);var n=i.call(this,t,e,r,n)||this;return n.code39ExtTable=["%U","$A","$B","$C","$D","$E","$F","$G","$H","$I","$J","$K","$L","$M","$N","$O","$P","$Q","$R","$S","$T","$U","$V","$W","$X","$Y","$Z","%A","%B","%C","%D","%E"," ","/A","/B","/C","/D","/E","/F","/G","/H","/I","/J","/K","/L","-",".","/O","0","1","2","3","4","5","6","7","8","9","/Z","%F","%G","%H","%I","%J","%V","A","B","C","D","E","F","G","H","I","J","K","L","M","N","O","P","Q","R","S","T","U","V","W","X","Y","Z","%K","%L","%M","%N","%O","%W","+A","+B","+C","+D","+E","+F","+G","+H","+I","+J","+K","+L","+M","+N","+O","+P","+Q","+R","+S","+T","+U","+V","+W","+X","+Y","+Z","%P","%Q","%R","%S","%T"],n}r=e=t.Report||(t.Report={}),h=n=r.BarCodes||(r.BarCodes={}),m=t.System.StiArray,d=t.System.Text.StringBuilder,i=h.StiCode39BarCodeType,__extends(o,i),Object.defineProperty(o.prototype,"componentId",{get:function(){return r.StiComponentId.StiCode39ExtBarCodeType},enumerable:!1,configurable:!0}),Object.defineProperty(o.prototype,"serviceName",{get:function(){return"Code39 Extended"},enumerable:!1,configurable:!0}),Object.defineProperty(o.prototype,"defaultCodeValue",{get:function(){return"Abc123"},enumerable:!1,configurable:!0}),o.prototype.draw=function(t,e,r,n){var i=this.getCode(e);null==i&&(i="");for(var o=new d,a=new d,s=0;s<i.length;s++){var l=i.charCodeAt(s);l<128&&(o.append(this.code39ExtTable[l]),a.append(String.fromCharCode(l)))}i=o.toString();var u=m.create(Number,i.length+(this.checkSum==h.StiCheckSum.Yes?3:2));u[0]=this.code39StartStopSymbolIndex;for(var c=0,s=0;s<i.length;s++)u[s+1]=this.code39Symbols.indexOf(i[s]),c+=u[s+1];this.checkSum==h.StiCheckSum.Yes&&(u[u.length-2]=c%43),u[u.length-1]=u[0];for(var p=new d,s=0;s<u.length;s++)p.append(this.codeToBar(this.code39Table[u[s]]));this.calculateSizeFull(this.code39SpaceLeft,this.code39SpaceRight,this.code39SpaceTop,this.code39SpaceBottom,this.code39LineHeightShort,this.code39LineHeightLong,this.code39TextPosition,this.code39TextHeight,this.code39MainHeight,this.code39LineHeightForCut,this.ratio,n,i,a.toString(),p.toString(),r,e),this.drawBarCode(t,r,e)},o.prototype.createNew=function(){return new o},t=o,h.StiCode39ExtBarCodeType=t}(Stimulsoft=Stimulsoft||{}),function(t){var e,r,n,i,p,h,t,o;function a(t,e,r){void 0===t&&(t=13),void 0===e&&(e=1),void 0===r&&(r=2.2);var n=o.call(this)||this;return n.code93Symbols="0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ-. $/+%",n.code93Table=["131112","111213","111312","111411","121113","121212","121311","111114","131211","141111","211113","211212","211311","221112","221211","231111","112113","112212","112311","122112","132111","111123","111222","111321","121122","131121","212112","212211","211122","211221","221121","222111","112122","112221","122121","123111","121131","311112","311211","321111","112131","113121","211131","121221","312111","311121","122211","111141","1111411"],n._module=13,n._height=1,n._ratio=2.2,n.code93SpaceLeft=10,n.code93SpaceRight=10,n.code93SpaceTop=0,n.code93SpaceBottom=1,n.code93LineHeightShort=45,n.code93LineHeightLong=n.code93LineHeightShort,n.code93TextPosition=n.code93LineHeightShort+n.code93SpaceBottom,n.code93TextHeight=8.33,n.code93MainHeight=55,n.code93LineHeightForCut=n.code93LineHeightShort,n._module=t,n._height=e,n._ratio=r,n}r=e=t.Report||(t.Report={}),i=n=r.BarCodes||(r.BarCodes={}),p=t.System.StiArray,h=t.System.Text.StringBuilder,o=i.StiBarCodeTypeService,__extends(a,o),a.prototype.saveToJsonObject=function(t){var t=o.prototype.saveToJsonObject.call(this,t);return t.addPropertyNumber("Module",this.module,13),t.addPropertyNumber("Height",this.height,1),t.addPropertyNumber("Ratio",this.ratio,2.2),t},a.prototype.loadFromJsonObject=function(t){var e,r;try{for(var n=__values(t.properties()),i=n.next();!i.done;i=n.next()){var o=i.value;switch(o.name){case"Module":this.module=o.value.stimulsoft.toNumber();break;case"Height":this.height=o.value.stimulsoft.toNumber();break;case"Ratio":this.ratio=o.value.stimulsoft.toNumber();break}}}catch(t){e={error:t}}finally{try{i&&!i.done&&(r=n.return)&&r.call(n)}finally{if(e)throw e.error}}},a.prototype.loadFromXmlObject=function(t){o.prototype.loadFromXmlObject.call(this,t);for(var e=0;e<t.childNodes.length;e++){var r=t.childNodes[e];switch(r.nodeName){case"Module":this.module=r.textContent.stimulsoft.toNumber();break;case"Height":this.height=r.textContent.stimulsoft.toNumber();break;case"Ratio":this.ratio=r.textContent.stimulsoft.toNumber();break}}},Object.defineProperty(a.prototype,"componentId",{get:function(){return r.StiComponentId.StiCode93BarCodeType},enumerable:!1,configurable:!0}),Object.defineProperty(a.prototype,"serviceName",{get:function(){return"Code93"},enumerable:!1,configurable:!0}),Object.defineProperty(a.prototype,"defaultCodeValue",{get:function(){return"ABC123"},enumerable:!1,configurable:!0}),Object.defineProperty(a.prototype,"module",{get:function(){return this._module},set:function(t){(this._module=t)<2&&(this._module=2),40<t&&(this._module=40),this.ratio=this._ratio},enumerable:!1,configurable:!0}),Object.defineProperty(a.prototype,"height",{get:function(){return this._height},set:function(t){(this._height=t)<.5&&(this._height=.5),2<t&&(this._height=2)},enumerable:!1,configurable:!0}),Object.defineProperty(a.prototype,"ratio",{get:function(){return this._ratio},set:function(t){this._ratio=t;var e=20<this.module?2:2.2;t<e&&(this._ratio=e),3<t&&(this._ratio=3)},enumerable:!1,configurable:!0}),Object.defineProperty(a.prototype,"labelFontHeight",{get:function(){return this.code93TextHeight},enumerable:!1,configurable:!0}),Object.defineProperty(a.prototype,"visibleProperties",{get:function(){var t=p.create(Boolean,this.visiblePropertiesCount);return t[11]=!0,t[13]=!0,t[15]=!0,t},enumerable:!1,configurable:!0}),a.prototype.codeToBar=function(t){for(var e=new h,r=!0,n=0;n<t.length;n++){var i=void 0;if(1==r)switch(t[n]){case"1":i="4";break;case"2":i="5";break;case"3":i="6";break;case"4":i="7";break;default:i="4";break}else switch(t[n]){case"1":i="0";break;case"2":i="1";break;case"3":i="2";break;case"4":i="3";break;default:i="0";break}e.append(i),r=!r}return e.toString()},a.prototype.draw=function(t,e,r,n){for(var i=this.getCode(e),i=this.checkCodeSymbols(i,this.code93Symbols),o=p.create(Number,i.length+4),a=0;a<i.length;a++)o[a+1]=this.code93Symbols.indexOf(i[a]);for(var s=0,l=1,a=i.length-1;0<=a;a--)s+=o[a+1]*l,20<++l&&(l=1);o[o.length-3]=s%47;for(var u=0,l=1,a=i.length;0<=a;a--)u+=o[a+1]*l,15<++l&&(l=1);o[o.length-2]=u%47,o[0]=this.code93Table.length-2,o[o.length-1]=this.code93Table.length-1;for(var c=new h,a=0;a<o.length;a++)c.append(this.codeToBar(this.code93Table[o[a]]));this.calculateSizeFull(this.code93SpaceLeft,this.code93SpaceRight,this.code93SpaceTop,this.code93SpaceBottom,this.code93LineHeightShort,this.code93LineHeightLong,this.code93TextPosition,this.code93TextHeight,this.code93MainHeight,this.code93LineHeightForCut,this.ratio,n,i,i,c.toString(),r,e),this.drawBarCode(t,r,e)},a.prototype.createNew=function(){return new a},t=a,i.StiCode93BarCodeType=t}(Stimulsoft=Stimulsoft||{}),function(t){var e,r,n,i,d,g,t,o;function a(t,e,r){void 0===t&&(t=13),void 0===e&&(e=1),void 0===r&&(r=2.2);var r=o.call(this,t,e,r)||this;return r.code93ExtSymbols="0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ-. $/+%<]>[",r.code93ExtTable=["]U","<A","<B","<C","<D","<E","<F","<G","<H","<I","<J","<K","<L","<M","<N","<O","<P","<Q","<R","<S","<T","<U","<V","<W","<X","<Y","<Z","]A","]B","]C","]D","]E"," ",">A",">B",">C",">D",">E",">F",">G",">H",">I",">J",">K",">L","-",".",">O","0","1","2","3","4","5","6","7","8","9",">Z","]F","]G","]H","]I","]J","]V","A","B","C","D","E","F","G","H","I","J","K","L","M","N","O","P","Q","R","S","T","U","V","W","X","Y","Z","]K","]L","]M","]N","]O","]W","[A","[B","[C","[D","[E","[F","[G","[H","[I","[J","[K","[L","[M","[N","[O","[P","[Q","[R","[S","[T","[U","[V","[W","[X","[Y","[Z","]P","]Q","]R","]S","]T"],r}r=e=t.Report||(t.Report={}),i=n=r.BarCodes||(r.BarCodes={}),d=t.System.StiArray,g=t.System.Text.StringBuilder,o=i.StiCode93BarCodeType,__extends(a,o),Object.defineProperty(a.prototype,"componentId",{get:function(){return r.StiComponentId.StiCode93ExtBarCodeType},enumerable:!1,configurable:!0}),Object.defineProperty(a.prototype,"serviceName",{get:function(){return"Code93 Extended"},enumerable:!1,configurable:!0}),Object.defineProperty(a.prototype,"defaultCodeValue",{get:function(){return"Abc123"},enumerable:!1,configurable:!0}),a.prototype.draw=function(t,e,r,n){var i=this.getCode(e);null==i&&(i="");for(var o=new g,a=new g,s=0;s<i.length;s++){var l=i.charCodeAt(s);l<128&&(o.append(this.code93ExtTable[l]),a.append(String.fromCharCode(l)))}i=o.toString();for(var u=d.create(Number,i.length+4),s=0;s<i.length;s++)u[s+1]=this.code93ExtSymbols.indexOf(i[s]);for(var c=0,p=1,s=i.length-1;0<=s;s--)c+=u[s+1]*p,20<++p&&(p=1);u[u.length-3]=c%47;for(var h=0,p=1,s=i.length;0<=s;s--)h+=u[s+1]*p,15<++p&&(p=1);u[u.length-2]=h%47,u[0]=this.code93Table.length-2,u[u.length-1]=this.code93Table.length-1;for(var m=new g,s=0;s<u.length;s++)m.append(this.codeToBar(this.code93Table[u[s]]));this.calculateSizeFull(this.code93SpaceLeft,this.code93SpaceRight,this.code93SpaceTop,this.code93SpaceBottom,this.code93LineHeightShort,this.code93LineHeightLong,this.code93TextPosition,this.code93TextHeight,this.code93MainHeight,this.code93LineHeightForCut,this.ratio,n,i,a.toString(),m.toString(),r,e),this.drawBarCode(t,r,e)},a.prototype.createNew=function(){return new a},t=a,i.StiCode93ExtBarCodeType=t}(Stimulsoft=Stimulsoft||{}),function(i){var t,l,e;l=t=i.Report||(i.Report={}),function(f){var y=i.System.StiArray,A=i.System.StiString,a=i.System.Enum,S,t;(t=S=S||{})[t["Padding"]=129]="Padding",t[t["ModeC40"]=230]="ModeC40",t[t["ModeBinary"]=231]="ModeBinary",t[t["FNC1"]=232]="FNC1",t[t["ModeX12"]=238]="ModeX12",t[t["ModeText"]=239]="ModeText",t[t["ModeEdifact"]=240]="ModeEdifact",t[t["EscapeToAscii"]=254]="EscapeToAscii";var p=(e.prototype.encode=function(t,e){for(var r=y.create(Number,this.rlen),n=0;n<t;n++){for(var i=r[this.rlen-1]^e[n],o=this.rlen-1;0<o;o--)0!=i&&0!=this.rspoly[o]?r[o]=r[o-1]^this.alog[(this.log[i]+this.log[this.rspoly[o]])%this.logmod]:r[o]=r[o-1];0!=i&&0!=this.rspoly[0]?r[0]=this.alog[(this.log[i]+this.log[this.rspoly[0]])%this.logmod]:r[0]=0}return r},e);function e(t){this.log=null,this.alog=null,this.rspoly=null,this.logmod=255,this.log=y.create(Number,this.logmod+1),this.alog=y.create(Number,this.logmod);for(var e=1,r=0;r<this.logmod;r++)this.alog[r]=e,this.log[e]=r,255<(e<<=1)&&(e^=301);this.rlen=t,this.rspoly=y.create(Number,t+1);for(var n=1,i=this.rspoly[0]=1;i<=t;i++){for(var o=i-(this.rspoly[i]=1);0<o;o--)0!=this.rspoly[o]&&(this.rspoly[o]=this.alog[(this.log[this.rspoly[o]]+n)%this.logmod]),this.rspoly[o]^=this.rspoly[o-1];this.rspoly[0]=this.alog[(this.log[this.rspoly[0]]+n)%this.logmod],n++}}var m=r;function r(t,e,r,n,i,o,a){this.height=t,this.width=e,this.fh=r,this.fw=n,this.bytes=i,this.datablock=o,this.rsblock=a}var o=(Object.defineProperty(d.prototype,"matrix",{get:function(){return this.grid},enumerable:!1,configurable:!0}),Object.defineProperty(d.prototype,"width",{get:function(){return this.gridWidth},enumerable:!1,configurable:!0}),Object.defineProperty(d.prototype,"height",{get:function(){return this.gridHeight},enumerable:!1,configurable:!0}),Object.defineProperty(d.prototype,"errorMessage",{get:function(){return this._errorMessage},enumerable:!1,configurable:!0}),d.prototype.dataMatrixPlacementbit=function(t,e,r,n,i,o,a){n<0&&(n+=e,i+=4-(e+4)%8),i<0&&(i+=r,n+=4-(r+4)%8),t[n*r+i]=(o<<3)+a},d.prototype.dataMatrixPlacementBlock=function(t,e,r,n,i,o){this.dataMatrixPlacementbit(t,e,r,n-2,i-2,o,7),this.dataMatrixPlacementbit(t,e,r,n-2,i-1,o,6),this.dataMatrixPlacementbit(t,e,r,n-1,i-2,o,5),this.dataMatrixPlacementbit(t,e,r,n-1,i-1,o,4),this.dataMatrixPlacementbit(t,e,r,n-1,i-0,o,3),this.dataMatrixPlacementbit(t,e,r,n-0,i-2,o,2),this.dataMatrixPlacementbit(t,e,r,n-0,i-1,o,1),this.dataMatrixPlacementbit(t,e,r,n-0,i-0,o,0)},d.prototype.dataMatrixPlacementCornerA=function(t,e,r,n){this.dataMatrixPlacementbit(t,e,r,e-1,0,n,7),this.dataMatrixPlacementbit(t,e,r,e-1,1,n,6),this.dataMatrixPlacementbit(t,e,r,e-1,2,n,5),this.dataMatrixPlacementbit(t,e,r,0,r-2,n,4),this.dataMatrixPlacementbit(t,e,r,0,r-1,n,3),this.dataMatrixPlacementbit(t,e,r,1,r-1,n,2),this.dataMatrixPlacementbit(t,e,r,2,r-1,n,1),this.dataMatrixPlacementbit(t,e,r,3,r-1,n,0)},d.prototype.dataMatrixPlacementCornerB=function(t,e,r,n){this.dataMatrixPlacementbit(t,e,r,e-3,0,n,7),this.dataMatrixPlacementbit(t,e,r,e-2,0,n,6),this.dataMatrixPlacementbit(t,e,r,e-1,0,n,5),this.dataMatrixPlacementbit(t,e,r,0,r-4,n,4),this.dataMatrixPlacementbit(t,e,r,0,r-3,n,3),this.dataMatrixPlacementbit(t,e,r,0,r-2,n,2),this.dataMatrixPlacementbit(t,e,r,0,r-1,n,1),this.dataMatrixPlacementbit(t,e,r,1,r-1,n,0)},d.prototype.dataMatrixPlacementCornerC=function(t,e,r,n){this.dataMatrixPlacementbit(t,e,r,e-3,0,n,7),this.dataMatrixPlacementbit(t,e,r,e-2,0,n,6),this.dataMatrixPlacementbit(t,e,r,e-1,0,n,5),this.dataMatrixPlacementbit(t,e,r,0,r-2,n,4),this.dataMatrixPlacementbit(t,e,r,0,r-1,n,3),this.dataMatrixPlacementbit(t,e,r,1,r-1,n,2),this.dataMatrixPlacementbit(t,e,r,2,r-1,n,1),this.dataMatrixPlacementbit(t,e,r,3,r-1,n,0)},d.prototype.dataMatrixPlacementCornerD=function(t,e,r,n){this.dataMatrixPlacementbit(t,e,r,e-1,0,n,7),this.dataMatrixPlacementbit(t,e,r,e-1,r-1,n,6),this.dataMatrixPlacementbit(t,e,r,0,r-3,n,5),this.dataMatrixPlacementbit(t,e,r,0,r-2,n,4),this.dataMatrixPlacementbit(t,e,r,0,r-1,n,3),this.dataMatrixPlacementbit(t,e,r,1,r-3,n,2),this.dataMatrixPlacementbit(t,e,r,1,r-2,n,1),this.dataMatrixPlacementbit(t,e,r,1,r-1,n,0)},d.prototype.dataMatrixPlacement=function(t,e){var r=y.create(Number,e*t),n=4,i=0,o=1;do{n==t&&0==i&&this.dataMatrixPlacementCornerA(r,t,e,o++),n==t-2&&0==i&&e%4!=0&&this.dataMatrixPlacementCornerB(r,t,e,o++),n==t-2&&0==i&&e%8==4&&this.dataMatrixPlacementCornerC(r,t,e,o++),n==t+4&&2==i&&e%8==0&&this.dataMatrixPlacementCornerD(r,t,e,o++);do{n<t&&0<=i&&0==r[n*e+i]&&this.dataMatrixPlacementBlock(r,t,e,n,i,o++),n-=2,i+=2}while(0<=n&&i<e);n++,i+=3;do{0<=n&&i<e&&0==r[n*e+i]&&this.dataMatrixPlacementBlock(r,t,e,n,i,o++),n+=2,i-=2}while(n<t&&0<=i);n+=3,i++}while(n<t||i<e);return 0==r[t*e-1]&&(r[t*e-1]=r[t*e-e-2]=1),r},d.prototype.makeEcc200Blocks=function(t,e,r,n){for(var i=new p(n),o=Math.floor((e+2)/r),a=0;a<o;a++){for(var s=y.create(Number,256),l=0,u=a;u<e;u+=o)s[l++]=t[u];for(var c=i.encode(l,s),l=n-1,u=a;u<n*o;u+=o)t[e+u]=c[l--]}},d.prototype.dataMatrixEncode=function(t,e,r,n){var i=0,o=0,r=f.StiBarCodeTypeService.unpackTilde(r,this._processTilde);if(r[o]==f.BarcodeCommandCode.Fnc1&&(t[i++]=S.FNC1,o++),0<r.length)switch(n){case f.StiDataMatrixEncodingType.C40:case f.StiDataMatrixEncodingType.Text:case f.StiDataMatrixEncodingType.X12:var a={res:o},s={res:i};this.encodeCTX(t,e,r,n,a,s),o=a.res,i=s.res;break;case f.StiDataMatrixEncodingType.Edifact:var a={res:o},s={res:i};this.encodeE(t,e,r,a,s),o=a.res,i=s.res;break;case f.StiDataMatrixEncodingType.Ascii:var a={res:o},s={res:i};this.encodeA(t,e,r,a,s),o=a.res,i=s.res;break;case f.StiDataMatrixEncodingType.Binary:var a={res:o},s={res:i};this.encodeB(t,e,r,a,s),o=a.res,i=s.res;break}var s=i;i<e&&n!=f.StiDataMatrixEncodingType.Ascii&&(t[i++]=S.EscapeToAscii),i<e&&(t[i++]=S.Padding);while(i<e){var l=129+149*(i+1)%253+1;254<l&&(l-=254),t[i++]=l}if(e<i||o<r.length)return 0;return s},d.prototype.encodeB=function(t,e,r,n,i){var o=n.res,a=i.res,o=0,a=0;t[a++]=S.ModeBinary,r.length<250?t[a++]=r.length:(t[a++]=249+r.length/250,t[a++]=r.length%250);do{t[a]=r[o++]+149*(a+1)%255+1,a++}while(o<r.length&&a<e);n.res=o,i.res=a},d.prototype.encodeA=function(t,e,r,n,i){var o=n.res,a=i.res,o=0,a=0;do{255<r[o]?(r[o]==f.BarcodeCommandCode.Fnc1&&(t[a++]=S.FNC1),o++):2<=r.length-o&&d.isDigit(r[o])&&d.isDigit(r[o+1])?(t[a++]=10*(r[o]-"0".charCodeAt(0))+r[o+1]-"0".charCodeAt(0)+130,o+=2):127<r[o]?(t[a++]=235,t[a++]=r[o++]-127):t[a++]=r[o++]+1}while(o<r.length&&a<e);n.res=o,i.res=a},d.prototype.encodeE=function(t,e,r,n,i){var o=n.res,a=i.res,s=y.create(Number,4),o=0,a=0;t[a++]=S.ModeEdifact;do{s[0]=0,s[1]=0,s[2]=0;var l=s[3]=0;while(o<r.length&&l<4)s[l++]=r[o++];l<4&&(s[l++]=31),t[a]=(63&s[0])<<2,t[a++]|=(48&s[1])>>4,t[a]=(15&s[1])<<4,2==l?a++:(t[a++]|=(60&s[2])>>2,t[a]=(3&s[2])<<6,t[a++]|=63&s[3])}while(o<r.length&&a<e);n.res=o,i.res=a},d.prototype.encodeCTX=function(t,e,r,n,i,o){var a=i.res,s=o.res,l=y.create(Number,6),u=0,s=0,a=0,c="!\"#$%&'()*+,-./:;<=>?@[\\]_"+String.fromCharCode(f.BarcodeCommandCode.Fnc1),p="",h="";n==f.StiDataMatrixEncodingType.C40&&(t[s++]=S.ModeC40,h=" 0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ",p="`abcdefghijklmnopqrstuvwxyz{|}~"),n==f.StiDataMatrixEncodingType.Text&&(t[s++]=S.ModeText,h=" 0123456789abcdefghijklmnopqrstuvwxyz",p="`ABCDEFGHIJKLMNOPQRSTUVWXYZ{|}~"),n==f.StiDataMatrixEncodingType.X12&&(t[s++]=S.ModeX12,h=" 0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ\r*>");do{if(a+1==r.length&&0==u){t[s++]=S.EscapeToAscii;var m={res:a},d={res:s};return this.encodeA(t,e,r,m,d),a=m.res,s=d.res,void(n=f.StiDataMatrixEncodingType.Ascii)}var m=r[a++];if(0!=(128&m)){if(n==f.StiDataMatrixEncodingType.X12)throw A.format("Cannot encode char 0x{0:X2} in X12",m);m&=127,l[u++]=1,l[u++]=30}var d=h.indexOf(String.fromCharCode(m));if(0<=d)l[u++]=(d+3)%40;else{if(n==f.StiDataMatrixEncodingType.X12)throw A.format("Cannot encode char 0x{0:X2} in X12",m);if(m<32)l[u++]=0,l[u++]=m;else if(0<=(d=c.indexOf(String.fromCharCode(m))))l[u++]=1,l[u++]=d;else{if(!(0<=(d=p.indexOf(String.fromCharCode(m)))))throw A.format("Cannot encode char 0x{0:X2}",m);l[u++]=2,l[u++]=d}}a==r.length&&u%3==2&&(l[u++]=0);while(3<=u){var g=1600*l[0]+40*l[1]+l[2]+1;t[s++]=g>>8,t[s++]=255&g,u-=3,l[0]=l[3],l[1]=l[4],l[2]=l[5],l[3]=0,l[4]=0,l[5]=0}}while(a<r.length&&s<e);i.res=a,o.res=s},d.isDigit=function(t){return t>="0".charCodeAt(0)&&t<="9".charCodeAt(0)},d.convertStringToBytes=function(t){for(var e=y.create(Number,t.length),r=0;r<t.length;r++)e[r]=t[r].charCodeAt(0);return e},d.prototype.makeGrid=function(t,e,r,n){var i=e.ref,o=r.ref,a=i,s=o,l=y.create(Number,3200),u=null,c=0;if(0!=a){for(c=0;c<this.ecc200List.length;c++)if(this.ecc200List[c].width==a&&this.ecc200List[c].height==s)break;if(c==this.ecc200List.length)throw A.format("Invalid size {0}x{1}",a,s)}else{for(var p=this.dataMatrixEncode(l,1558,t,n),c=0;c<this.ecc200List.length;c++)if(p<=this.ecc200List[c].bytes)break;if(c==this.ecc200List.length||0==p&&0<t.length)throw new Error("Cannot find suitable size, barcode too long");a=this.ecc200List[c].width,s=this.ecc200List[c].height}if(0==this.dataMatrixEncode(l,this.ecc200List[c].bytes,t,n)&&0<t.length)throw A.format("Barcode too long for {0}x{1}",a,s);this.makeEcc200Blocks(l,this.ecc200List[c].bytes,this.ecc200List[c].datablock,this.ecc200List[c].rsblock);for(var h=a-2*(a/this.ecc200List[c].fw),m=s-2*(s/this.ecc200List[c].fh),d=this.dataMatrixPlacement(m,h),u=y.create(Number,a*s),g=0,f=0,f=0;f<s;f+=this.ecc200List[c].fh){for(g=0;g<a;g++)u[f*a+g]=1;for(g=0;g<a;g+=2)u[(f+this.ecc200List[c].fh-1)*a+g]=1}for(g=0;g<a;g+=this.ecc200List[c].fw){for(f=0;f<s;f++)u[f*a+g]=1;for(f=0;f<s;f+=2)u[f*a+g+this.ecc200List[c].fw-1]=1}for(f=0;f<m;f++)for(g=0;g<h;g++){var S=d[(m-f-1)*h+g];(1==S||7<S&&0!=(l[(S>>3)-1]&1<<(7&S)))&&(u[(1+f+2*Math.floor(f/(this.ecc200List[c].fh-2)))*a+1+g+2*Math.floor(g/(this.ecc200List[c].fw-2))]=1)}return i=a,o=s,e.ref=i,r.ref=o,u},d);function d(t,e,r,n,i){this.gridWidth=0,this.gridHeight=0,this.grid=null,this._errorMessage=null,this.ecc200List=null,this._processTilde=!1;var o=d.convertStringToBytes(t);this.gridWidth=0,this.gridHeight=0;var a=null,n;this._processTilde=i,n!=f.StiDataMatrixSize.Automatic&&(r=!0),this.ecc200List=r?[new m(10,10,10,10,3,3,5),new m(12,12,12,12,5,5,7),new m(8,18,8,18,5,5,7),new m(14,14,14,14,8,8,10),new m(8,32,8,16,10,10,11),new m(16,16,16,16,12,12,12),new m(12,26,12,26,16,16,14),new m(18,18,18,18,18,18,14),new m(20,20,20,20,22,22,18),new m(12,36,12,18,22,22,18),new m(22,22,22,22,30,30,20),new m(16,36,16,18,32,32,24),new m(24,24,24,24,36,36,24),new m(26,26,26,26,44,44,28),new m(16,48,16,24,49,49,28),new m(32,32,16,16,62,62,36),new m(36,36,18,18,86,86,42),new m(40,40,20,20,114,114,48),new m(44,44,22,22,144,144,56),new m(48,48,24,24,174,174,68),new m(52,52,26,26,204,102,42),new m(64,64,16,16,280,140,56),new m(72,72,18,18,368,92,36),new m(80,80,20,20,456,114,48),new m(88,88,22,22,576,144,56),new m(96,96,24,24,696,174,68),new m(104,104,26,26,816,136,56),new m(120,120,20,20,1050,175,68),new m(132,132,22,22,1304,163,62),new m(144,144,24,24,1558,156,62)]:[new m(10,10,10,10,3,3,5),new m(12,12,12,12,5,5,7),new m(14,14,14,14,8,8,10),new m(16,16,16,16,12,12,12),new m(18,18,18,18,18,18,14),new m(20,20,20,20,22,22,18),new m(22,22,22,22,30,30,20),new m(24,24,24,24,36,36,24),new m(26,26,26,26,44,44,28),new m(32,32,16,16,62,62,36),new m(36,36,18,18,86,86,42),new m(40,40,20,20,114,114,48),new m(44,44,22,22,144,144,56),new m(48,48,24,24,174,174,68),new m(52,52,26,26,204,102,42),new m(64,64,16,16,280,140,56),new m(72,72,18,18,368,92,36),new m(80,80,20,20,456,114,48),new m(88,88,22,22,576,144,56),new m(96,96,24,24,696,174,68),new m(104,104,26,26,816,136,56),new m(120,120,20,20,1050,175,68),new m(132,132,22,22,1304,163,62),new m(144,144,24,24,1558,156,62)],n!=f.StiDataMatrixSize.Automatic&&(n=this.ecc200List[n],this.gridWidth=n.width,this.gridHeight=n.height);try{var s={ref:this.gridWidth},l={ref:this.gridHeight},a=this.makeGrid(o,s,l,e);this.gridWidth=s.ref,this.gridHeight=l.ref}catch(t){this._errorMessage=t.message}if(null!=a){this.grid=y.create(Number,this.gridWidth*this.gridHeight);for(var u=0;u<this.gridHeight;u++)for(var c=u*this.gridWidth,p=(this.gridHeight-u-1)*this.gridWidth,h=0;h<this.gridWidth;h++)this.grid[p+h]=a[c+h]}}f.StiDataMatrix=o;var t=(s=f.StiBarCodeTypeService,__extends(n,s),n.prototype.saveToJsonObject=function(t){var t=s.prototype.saveToJsonObject.call(this,t);return t.addPropertyNumber("Height",this.height,1),t.addPropertyNumber("Module",this.module,40),t.addPropertyEnum("EncodingType",f.StiDataMatrixEncodingType,this.encodingType,f.StiDataMatrixEncodingType.Ascii),t.addPropertyEnum("MatrixSize",f.StiDataMatrixSize,this.matrixSize,f.StiDataMatrixSize.Automatic),t.addPropertyBool("UseRectangularSymbols",this.useRectangularSymbols),t.addPropertyBool("ProcessTilde",this.processTilde,!1),t},n.prototype.loadFromJsonObject=function(t){var e,r;try{for(var n=__values(t.properties()),i=n.next();!i.done;i=n.next()){var o=i.value;switch(o.name){case"Module":this.module=o.value.stimulsoft.toNumber();break;case"Height":this.height=o.value.stimulsoft.toNumber();break;case"EncodingType":this.encodingType=a.parse(f.StiDataMatrixEncodingType,o.value.toString());break;case"MatrixSize":this.matrixSize=a.parse(f.StiDataMatrixSize,o.value.toString());break;case"UseRectangularSymbols":this.useRectangularSymbols=o.value.stimulsoft.toBoolean();break;case"ProcessTilde":this.processTilde=o.value.stimulsoft.toBoolean();break}}}catch(t){e={error:t}}finally{try{i&&!i.done&&(r=n.return)&&r.call(n)}finally{if(e)throw e.error}}},n.prototype.loadFromXmlObject=function(t){s.prototype.loadFromXmlObject.call(this,t);for(var e=0;e<t.childNodes.length;e++){var r=t.childNodes[e];switch(r.nodeName){case"Module":this.module=r.textContent.stimulsoft.toNumber();break;case"Height":this.height=r.textContent.stimulsoft.toNumber();break;case"EncodingType":this.encodingType=a.parse(f.StiDataMatrixEncodingType,r.textContent);break;case"MatrixSize":this.matrixSize=a.parse(f.StiDataMatrixSize,r.textContent);break;case"UseRectangularSymbols":this.useRectangularSymbols=r.textContent.stimulsoft.toBoolean();break;case"ProcessTilde":this.processTilde=r.textContent.stimulsoft.toBoolean();break}}},Object.defineProperty(n.prototype,"componentId",{get:function(){return l.StiComponentId.StiDataMatrixBarCodeType},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"serviceName",{get:function(){return"DataMatrix"},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"defaultCodeValue",{get:function(){return"12345678901"},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"module",{get:function(){return this._module},set:function(t){(this._module=t)<2&&(this._module=2),400<t&&(this._module=400)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"height",{get:function(){return this._height},set:function(t){this._height=t},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"encodingType",{get:function(){return this._encodingType},set:function(t){this._encodingType=t},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"matrixSize",{get:function(){return this._matrixSize},set:function(t){this._matrixSize=t},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"useRectangularSymbols",{get:function(){return this._useRectangularSymbols},set:function(t){this._useRectangularSymbols=t},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"processTilde",{get:function(){return this._processTilde},set:function(t){this._processTilde=t},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"labelFontHeight",{get:function(){return this.defaultLabelFontHeight},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"visibleProperties",{get:function(){var t=y.create(Boolean,this.visiblePropertiesCount);return t[9]=!0,t[12]=!0,t[13]=!0,t[21]=!0,t},enumerable:!1,configurable:!0}),n.prototype.draw=function(t,e,r,n){var i=this.getCode(e);this.barCodeData.code=i;var i=new o(i,this.encodingType,this.useRectangularSymbols,this.matrixSize,this.processTilde);this.barCodeData.matrixGrid=i.matrix,this.barCodeData.matrixWidth=i.width,this.barCodeData.matrixHeight=i.height,this.barCodeData.matrixRatioY=1,null==i.errorMessage?this.draw2DBarCode(t,r,e,n):this.drawBarCodeError2(t,r,e,i.errorMessage)},n.prototype.createNew=function(){return new n},n),s;function n(t,e,r,n,i){void 0===t&&(t=40),void 0===e&&(e=f.StiDataMatrixEncodingType.Ascii),void 0===r&&(r=!1),void 0===n&&(n=f.StiDataMatrixSize.Automatic),void 0===i&&(i=!1);var o=s.call(this)||this;return o._module=40,o._height=1,o._encodingType=f.StiDataMatrixEncodingType.Ascii,o._matrixSize=f.StiDataMatrixSize.Automatic,o._useRectangularSymbols=!1,o._processTilde=!1,o.module=t,o.encodingType=e,o.useRectangularSymbols=r,o.matrixSize=n,o.processTilde=i,o}f.StiDataMatrixBarCodeType=t}(e=l.BarCodes||(l.BarCodes={}))}(Stimulsoft=Stimulsoft||{}),function(t){var e,r,n,i,o,a,l,t,s;function u(t,e){void 0===t&&(t=20),void 0===e&&(e=1);var r=s.call(this)||this;return r.dutchKIXSymbols="0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ",r.dutchKIXCodes=["3300","3210","3201","2310","2301","2211","3120","3030","3021","2130","2121","2031","3102","3012","3003","2112","2103","2013","1320","1230","1221","0330","0321","0231","1302","1212","1203","0312","0303","0213","1122","1032","1023","0132","0123","0033"],r._module=20,r._height=1,r.dutchKIXSpaceLeft=3.9,r.dutchKIXSpaceRight=3.9,r.dutchKIXSpaceTop=3.9,r.dutchKIXSpaceBottom=2,r.dutchKIXLineHeightLong=10,r.dutchKIXLineHeightShort=.62*r.dutchKIXLineHeightLong,r.dutchKIXTextPosition=r.dutchKIXSpaceTop+r.dutchKIXLineHeightLong+r.dutchKIXSpaceBottom+1,r.dutchKIXTextHeight=5,r.dutchKIXMainHeight=r.dutchKIXSpaceTop+r.dutchKIXLineHeightLong+r.dutchKIXSpaceBottom+7,r.dutchKIXLineHeightForCut=r.dutchKIXLineHeightLong,r._module=t,r._height=e,r}r=e=t.Report||(t.Report={}),i=n=r.BarCodes||(r.BarCodes={}),o=t.System.StiArray,a=t.System.Drawing.StringAlignment,l=t.System.Text.StringBuilder,s=i.StiBarCodeTypeService,__extends(u,s),u.prototype.saveToJsonObject=function(t){var t=s.prototype.saveToJsonObject.call(this,t);return t.addPropertyNumber("Module",this.module,20),t.addPropertyNumber("Height",this.height,1),t},u.prototype.loadFromJsonObject=function(t){var e,r;try{for(var n=__values(t.properties()),i=n.next();!i.done;i=n.next()){var o=i.value;switch(o.name){case"Module":this._module=o.value.stimulsoft.toNumber();break;case"Height":this._height=o.value.stimulsoft.toNumber();break}}}catch(t){e={error:t}}finally{try{i&&!i.done&&(r=n.return)&&r.call(n)}finally{if(e)throw e.error}}},u.prototype.loadFromXmlObject=function(t){s.prototype.loadFromXmlObject.call(this,t);for(var e=0;e<t.childNodes.length;e++){var r=t.childNodes[e];switch(r.nodeName){case"Module":this._module=r.textContent.stimulsoft.toNumber();break;case"Height":this.height=r.textContent.stimulsoft.toNumber();break}}},Object.defineProperty(u.prototype,"componentId",{get:function(){return r.StiComponentId.StiDutchKIXBarCodeType},enumerable:!1,configurable:!0}),Object.defineProperty(u.prototype,"serviceName",{get:function(){return"Royal TPG Post KIX 4-State"},enumerable:!1,configurable:!0}),Object.defineProperty(u.prototype,"defaultCodeValue",{get:function(){return"2500GG30250"},enumerable:!1,configurable:!0}),Object.defineProperty(u.prototype,"module",{get:function(){return this._module},set:function(t){(this._module=t)<15&&(this._module=15),25<t&&(this._module=25)},enumerable:!1,configurable:!0}),Object.defineProperty(u.prototype,"height",{get:function(){return this._height},set:function(t){(this._height=t)<1&&(this._height=1),1<t&&(this._height=1)},enumerable:!1,configurable:!0}),Object.defineProperty(u.prototype,"labelFontHeight",{get:function(){return this.dutchKIXTextHeight},enumerable:!1,configurable:!0}),Object.defineProperty(u.prototype,"visibleProperties",{get:function(){var t=o.create(Boolean,this.visiblePropertiesCount);return t[13]=!0,t},enumerable:!1,configurable:!0}),Object.defineProperty(u.prototype,"textAlignment",{get:function(){return a.Center},enumerable:!1,configurable:!0}),u.prototype.charTo4State=function(t){var t=this.dutchKIXSymbols.indexOf(t);return this.dutchKIXCodes[t]},u.prototype.stateToBar=function(t){for(var e=new l,r=0;r<t.length;r++){switch(t[r]){case"0":e.append("c");break;case"1":e.append("d");break;case"2":e.append("e");break;case"3":e.append("f");break}e.append("0")}return e.toString()},u.prototype.makeBarsArray=function(t,e,r){for(var n=t.ref,i=e.ref,o=r.ref,a=new l,s=0;s<n.length;s++)a.append(this.charTo4State(n[s]));return i=this.stateToBar(a.toString()),t.ref=n,e.ref=i,r.ref=o,!0},u.prototype.draw=function(t,e,r,n){var i=this.getCode(e),i,o="",a="",s={ref:i=this.checkCodeSymbols(i,this.dutchKIXSymbols)},l={ref:o},u={ref:a};this.makeBarsArray(s,l,u)?(i=s.ref,o=l.ref,a=u.ref,this.calculateSizeFull(this.dutchKIXSpaceLeft,this.dutchKIXSpaceRight,this.dutchKIXSpaceTop,this.dutchKIXSpaceBottom,this.dutchKIXLineHeightShort,this.dutchKIXLineHeightLong,this.dutchKIXTextPosition,this.dutchKIXTextHeight,this.dutchKIXMainHeight,this.dutchKIXLineHeightForCut,1,n,i,i,o,r,e),this.drawBarCode(t,r,e)):0<a.length?this.drawBarCodeError2(t,r,e,a):this.drawBarCodeError(t,r,e)},u.prototype.createNew=function(){return new u},t=u,i.StiDutchKIXBarCodeType=t}(Stimulsoft=Stimulsoft||{}),function(t){var e,r,n,i,m,d,t,o;function a(t,e){return void 0===t&&(t=13),void 0===e&&(e=1),o.call(this,t,e)||this}r=e=t.Report||(t.Report={}),i=n=r.BarCodes||(r.BarCodes={}),m=t.System.StiArray,d=t.System.Text.StringBuilder,o=i.StiCode128BarCodeType,__extends(a,o),Object.defineProperty(a.prototype,"componentId",{get:function(){return r.StiComponentId.StiEAN128AutoBarCodeType},enumerable:!1,configurable:!0}),Object.defineProperty(a.prototype,"serviceName",{get:function(){return"EAN-128 Auto"},enumerable:!1,configurable:!0}),Object.defineProperty(a.prototype,"defaultCodeValue",{get:function(){return"1234567890123"},enumerable:!1,configurable:!0}),a.prototype.draw=function(t,e,r,n){for(var i=this.getCode(e),o=new d,a=0;a<i.length;a++){var s=i.charCodeAt(a);o.append(32<=s&&129!=s?String.fromCharCode(s):String.fromCharCode(8729))}for(var l=this.encodeAuto(i,!0),u=m.create(Number,l.length),a=0;a<l.length;a++)u[a]=l.toString().charCodeAt(a);for(var c=u[0]+u[1],a=0;a<l.length-4;a++)c+=u[a+2]*(a+2);u[u.length-2]=c%103;for(var p=new d,a=0;a<u.length;a++)p.append(this.codeToBar(this.code128Table[u[a]]));var h=o.toString();this.calculateSizeFull(this.code128SpaceLeft,this.code128SpaceRight,this.code128SpaceTop,this.code128SpaceBottom,this.code128LineHeightShort,this.code128LineHeightLong,this.code128TextPosition,this.code128TextHeight,this.code128MainHeight,this.code128LineHeightForCut,2,n,i,h,p.toString(),r,e),this.drawBarCode(t,r,e)},a.prototype.createNew=function(){return new a},t=a,i.StiEAN128AutoBarCodeType=t}(Stimulsoft=Stimulsoft||{}),function(t){var e,r,n,i,h,m,t,o;function a(t,e){return void 0===t&&(t=13),void 0===e&&(e=1),o.call(this,t,e)||this}r=e=t.Report||(t.Report={}),i=n=r.BarCodes||(r.BarCodes={}),h=t.System.StiArray,m=t.System.Text.StringBuilder,o=i.StiCode128BarCodeType,__extends(a,o),Object.defineProperty(a.prototype,"componentId",{get:function(){return r.StiComponentId.StiEAN128aBarCodeType},enumerable:!1,configurable:!0}),Object.defineProperty(a.prototype,"serviceName",{get:function(){return"EAN-128a"},enumerable:!1,configurable:!0}),Object.defineProperty(a.prototype,"defaultCodeValue",{get:function(){return"ABC123"},enumerable:!1,configurable:!0}),a.prototype.draw=function(t,e,r,n){var i=this.getCode(e),i=this.checkCodeSymbols(i," !\"#$%&'()*+,-./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\\]^_"+"\0\b\t\n\v\f\r"+""+""),o=new m,a=h.create(Number,i.length+4);a[0]=103,a[1]=102;for(var s=a[0]+a[1],l=0;l<i.length;l++){var u=i.charCodeAt(l);a[l+2]=32<=u?u-32:u+64,129==u&&(a[l+2]=102),s+=a[l+2]*(l+2),o.append(32<=u&&129!=u?String.fromCharCode(u):String.fromCharCode(8729))}a[a.length-2]=s%103,a[a.length-1]=106;for(var c=new m,l=0;l<a.length;l++)c.append(this.codeToBar(this.code128Table[a[l]]));var p=o.toString();this.calculateSizeFull(this.code128SpaceLeft,this.code128SpaceRight,this.code128SpaceTop,this.code128SpaceBottom,this.code128LineHeightShort,this.code128LineHeightLong,this.code128TextPosition,this.code128TextHeight,this.code128MainHeight,this.code128LineHeightForCut,2,n,i,p,c.toString(),r,e),this.drawBarCode(t,r,e)},a.prototype.createNew=function(){return new a},t=a,i.StiEAN128aBarCodeType=t}(Stimulsoft=Stimulsoft||{}),function(t){var e,r,n,i,h,m,t,o;function a(t,e){return void 0===t&&(t=13),void 0===e&&(e=1),o.call(this,t,e)||this}r=e=t.Report||(t.Report={}),i=n=r.BarCodes||(r.BarCodes={}),h=t.System.StiArray,m=t.System.Text.StringBuilder,o=i.StiCode128BarCodeType,__extends(a,o),Object.defineProperty(a.prototype,"componentId",{get:function(){return r.StiComponentId.StiEAN128bBarCodeType},enumerable:!1,configurable:!0}),Object.defineProperty(a.prototype,"serviceName",{get:function(){return"EAN-128b"},enumerable:!1,configurable:!0}),Object.defineProperty(a.prototype,"defaultCodeValue",{get:function(){return"ABCabc123"},enumerable:!1,configurable:!0}),a.prototype.draw=function(t,e,r,n){var i=this.getCode(e),i=this.checkCodeSymbols(i," !\"#$%&'()*+,-./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\\]^_`abcdefghijklmnopqrstuvwxyz{|}~"+"F"+""),o=new m,a=h.create(Number,i.length+4);a[0]=104,a[1]=102;for(var s=a[0]+a[1],l=0;l<i.length;l++){var u=i.charCodeAt(l);a[l+2]=u-32,129==u&&(a[l+2]=102),s+=a[l+2]*(l+2),o.append(129!=u?String.fromCharCode(u):String.fromCharCode(8729))}a[a.length-2]=s%103,a[a.length-1]=106;for(var c=new m,l=0;l<a.length;l++)c.append(this.codeToBar(this.code128Table[a[l]]));var p=o.toString();this.calculateSizeFull(this.code128SpaceLeft,this.code128SpaceRight,this.code128SpaceTop,this.code128SpaceBottom,this.code128LineHeightShort,this.code128LineHeightLong,this.code128TextPosition,this.code128TextHeight,this.code128MainHeight,this.code128LineHeightForCut,2,n,i,p,c.toString(),r,e),this.drawBarCode(t,r,e)},a.prototype.createNew=function(){return new a},t=a,i.StiEAN128bBarCodeType=t}(Stimulsoft=Stimulsoft||{}),function(t){var e,r,n,i,A,b,t,o;function a(t,e){return void 0===t&&(t=13),void 0===e&&(e=1),o.call(this,t,e)||this}r=e=t.Report||(t.Report={}),i=n=r.BarCodes||(r.BarCodes={}),A=t.System.StiArray,b=t.System.Text.StringBuilder,o=i.StiCode128BarCodeType,__extends(a,o),Object.defineProperty(a.prototype,"componentId",{get:function(){return r.StiComponentId.StiEAN128cBarCodeType},enumerable:!1,configurable:!0}),Object.defineProperty(a.prototype,"serviceName",{get:function(){return"EAN-128c"},enumerable:!1,configurable:!0}),Object.defineProperty(a.prototype,"defaultCodeValue",{get:function(){return"0123456789012345"},enumerable:!1,configurable:!0}),a.prototype.draw=function(t,e,r,n){for(var i=this.getCode(e),i=this.checkCodeSymbols(i,"0123456789"+""),o=[],a=new b,s="",l=0;l<i.length;l++){var u=i.charCodeAt(l);129==u?(o.push(s),s="",a.append(String.fromCharCode(8226))):(s+=String.fromCharCode(u),a.append(u))}0<s.length&&o.push(s),0==o.length&&o.push(s);for(var c=new b,l=0;l<o.length;l++){for(var p=o[l],h=Math.floor(p.length/2),m=0,d;m<h;m++){var d=parseInt(p.substr(2*m,2));c.append(String.fromCharCode(d))}p.length%2==1&&(c.append(String.fromCharCode(100)),d=p.charCodeAt(p.length-1),c.append(String.fromCharCode(d-32)),l<o.length-1&&c.append(String.fromCharCode(99))),l<o.length-1&&c.append(String.fromCharCode(102))}var g=A.create(Number,c.length+4);g[0]=105,g[1]=102;for(var l=0;l<c.length;l++)g[l+2]=c.toString().charCodeAt(l);for(var f=g[0]+g[1],l=0;l<g.length-4;l++)f+=g[l+2]*(l+2);g[g.length-2]=f%103,g[g.length-1]=106;for(var S=new b,l=0;l<g.length;l++)S.append(this.codeToBar(this.code128Table[g[l]]));for(var y=new b,l=0;l<a.length;l++){var d=parseInt(a.toString().substr(l,2));y.append(String.fromCharCode(d)),l++}this.calculateSizeFull(this.code128SpaceLeft,this.code128SpaceRight,this.code128SpaceTop,this.code128SpaceBottom,this.code128LineHeightShort,this.code128LineHeightLong,this.code128TextPosition,this.code128TextHeight,this.code128MainHeight,this.code128LineHeightForCut,2,n,i,y.toString(),S.toString(),r,e),this.drawBarCode(t,r,e)},a.prototype.createNew=function(){return new a},t=a,i.StiEAN128cBarCodeType=t}(Stimulsoft=Stimulsoft||{}),function(n){var t,i,e;i=t=n.Report||(n.Report={}),function(l){var h=n.System.StiArray,C=n.System.Drawing.StringAlignment,v=n.System.Drawing.GraphicsUnit,f=n.Report.Components.StiAngle,S=n.System.Text.StringBuilder,w=n.System.Drawing.Rectangle,B=n.Base.Drawing.StiSolidBrush,I=n.System.Drawing.Font,T=n.System.Drawing.StringFormat,a=n.System.Enum,m=e,d,t;function e(t,e,r,n){void 0===n&&(n=!1),this.symbolType=t,this.symbolText=e,this.textAtTop=r,this.makeLonger=n}l.EanBarInfo=m,(t=d=l.Ean13Symbol||(l.Ean13Symbol={}))[t["ComboA0"]=0]="ComboA0",t[t["ComboA1"]=1]="ComboA1",t[t["ComboA2"]=2]="ComboA2",t[t["ComboA3"]=3]="ComboA3",t[t["ComboA4"]=4]="ComboA4",t[t["ComboA5"]=5]="ComboA5",t[t["ComboA6"]=6]="ComboA6",t[t["ComboA7"]=7]="ComboA7",t[t["ComboA8"]=8]="ComboA8",t[t["ComboA9"]=9]="ComboA9",t[t["ComboB0"]=10]="ComboB0",t[t["ComboB1"]=11]="ComboB1",t[t["ComboB2"]=12]="ComboB2",t[t["ComboB3"]=13]="ComboB3",t[t["ComboB4"]=14]="ComboB4",t[t["ComboB5"]=15]="ComboB5",t[t["ComboB6"]=16]="ComboB6",t[t["ComboB7"]=17]="ComboB7",t[t["ComboB8"]=18]="ComboB8",t[t["ComboB9"]=19]="ComboB9",t[t["ComboC0"]=20]="ComboC0",t[t["ComboC1"]=21]="ComboC1",t[t["ComboC2"]=22]="ComboC2",t[t["ComboC3"]=23]="ComboC3",t[t["ComboC4"]=24]="ComboC4",t[t["ComboC5"]=25]="ComboC5",t[t["ComboC6"]=26]="ComboC6",t[t["ComboC7"]=27]="ComboC7",t[t["ComboC8"]=28]="ComboC8",t[t["ComboC9"]=29]="ComboC9",t[t["GuardLeft"]=30]="GuardLeft",t[t["GuardCenter"]=31]="GuardCenter",t[t["GuardRight"]=32]="GuardRight",t[t["GuardSpecial"]=33]="GuardSpecial",t[t["GuardAddLeft"]=34]="GuardAddLeft",t[t["GuardAddDelineator"]=35]="GuardAddDelineator",t[t["SpaceLeft"]=36]="SpaceLeft",t[t["SpaceRight"]=37]="SpaceRight",t[t["SpaceBeforeAdd"]=38]="SpaceBeforeAdd";var t=(s=l.StiBarCodeTypeService,__extends(r,s),r.prototype.saveToJsonObject=function(t){var t=s.prototype.saveToJsonObject.call(this,t);return t.addPropertyNumber("Module",this.module,13),t.addPropertyNumber("Height",this.height,1),t.addPropertyEnum("SupplementType",l.StiEanSupplementType,this.supplementType,l.StiEanSupplementType.None),t.addPropertyStringNullOrEmpty("SupplementCode",this.supplementCode),t.addPropertyBool("ShowQuietZoneIndicator",this.showQuietZoneIndicator,!0),t},r.prototype.loadFromJsonObject=function(t){var e,r;try{for(var n=__values(t.properties()),i=n.next();!i.done;i=n.next()){var o=i.value;switch(o.name){case"Module":this.module=o.value.stimulsoft.toNumber();break;case"Height":this.height=o.value.stimulsoft.toNumber();break;case"SupplementType":this.supplementType=a.parse(l.StiEanSupplementType,o.value.toString());break;case"SupplementCode":this.supplementCode=o.value.toString();break;case"ShowQuietZoneIndicator":this.showQuietZoneIndicator=o.value.stimulsoft.toBoolean();break}}}catch(t){e={error:t}}finally{try{i&&!i.done&&(r=n.return)&&r.call(n)}finally{if(e)throw e.error}}},r.prototype.loadFromXmlObject=function(t){s.prototype.loadFromXmlObject.call(this,t);for(var e=0;e<t.childNodes.length;e++){var r=t.childNodes[e];switch(r.nodeName){case"Module":this.module=r.textContent.stimulsoft.toNumber();break;case"Height":this.height=r.textContent.stimulsoft.toNumber();break;case"SupplementType":this.supplementType=a.parse(l.StiEanSupplementType,r.textContent);break;case"SupplementCode":this.supplementCode=r.textContent;break;case"ShowQuietZoneIndicator":this.showQuietZoneIndicator=r.textContent.stimulsoft.toBoolean();break}}},Object.defineProperty(r.prototype,"componentId",{get:function(){return i.StiComponentId.StiEAN13BarCodeType},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"serviceName",{get:function(){return"EAN-13"},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"defaultCodeValue",{get:function(){return"0123456789012"},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"visibleProperties",{get:function(){var t=h.create(Boolean,this.visiblePropertiesCount);return t[11]=!0,t[13]=!0,t[17]=!0,t[19]=!0,t[20]=!0,t},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"module",{get:function(){return this._module},set:function(t){(this._module=t)<10.4&&(this._module=10.4),26<t&&(this._module=26)},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"height",{get:function(){return this._height},set:function(t){(this._height=t)<.5&&(this._height=.5),1<t&&(this._height=1)},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"supplementType",{get:function(){return this._supplementType},set:function(t){this._supplementType=t},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"supplementCode",{get:function(){return this._supplementCode},set:function(t){this._supplementCode=t},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"showQuietZoneIndicator",{get:function(){return this._showQuietZoneIndicator},set:function(t){this._showQuietZoneIndicator=t},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"labelFontHeight",{get:function(){return this.eanTextHeight},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"eanSpaceLeft",{get:function(){return 11},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"eanSpaceRight",{get:function(){return 8},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"eanSpaceTop",{get:function(){return 0},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"eanSpaceBottom",{get:function(){return 1},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"eanSpaceBeforeAdd",{get:function(){return 10},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"eanSpaceTextTop",{get:function(){return 10},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"eanLineHeightShort",{get:function(){return 69.2},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"eanLineHeightLong",{get:function(){return this.eanLineHeightShort+5},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"eanTextPositionTop",{get:function(){return.5},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"eanTextPositionBottom",{get:function(){return this.eanLineHeightShort+this.eanSpaceBottom},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"eanTextHeight",{get:function(){return 8.33},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"eanMainHeight",{get:function(){return 78.58},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"eanLineHeightForCut",{get:function(){return this.eanLineHeightShort},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"eanWideToNarrowRatio",{get:function(){return 2},enumerable:!1,configurable:!0}),r.prototype.calculateSizeEan=function(t,e,r,n,i){var o,a;this.barCodeData.wideToNarrowRatio=2,this.barCodeData.eanBarsArray=r;var s=new S;try{for(var l=__values(r),u=l.next();!u.done;u=l.next()){var c=u.value;s.append(this.ean13SymData[c.symbolType])}}catch(t){o={error:t}}finally{try{u&&!u.done&&(a=l.return)&&a.call(l)}finally{if(o)throw o.error}}var p=this.getSymbolsStringWidth(s.toString());this.rectWindow=new w(0,0,n.width,n.height),i.angle!=f.Angle90&&i.angle!=f.Angle270||(this.rectWindow=new w(0,0,n.height,n.width));var h=i.font.sizeInPoints-8+.5,m=this.eanMainHeight+h,d=this.eanTextHeight+h,g=this.module/10*e,n=g,e=this.eanLineHeightForCut*(1-this.height),h=this.eanSpaceTextTop+h;i.autoScale&&(g=this.rectWindow.width/p,e=-(this.rectWindow.height/n-(m+t)),i.showLabelText||(e-=this.eanTextHeight,h-=this.eanTextHeight)),this.barCodeData.fullZoomY=n,this.barCodeData.spaceLeft=this.eanSpaceLeft*g,this.barCodeData.spaceRight=this.eanSpaceRight*g,this.barCodeData.spaceBeforeAdd=this.eanSpaceBeforeAdd*g,this.barCodeData.lineWidth=1*g,this.barCodeData.mainWidth=p*g,this.barCodeData.spaceTop=this.eanSpaceTop*n,this.barCodeData.spaceBottom=this.eanSpaceBottom*n,this.barCodeData.spaceTextTop=h*n,this.barCodeData.lineHeightShort=(this.eanLineHeightShort-e)*n,this.barCodeData.lineHeightLong=(this.eanLineHeightLong-e)*n,this.barCodeData.textPositionTop=this.eanTextPositionTop*n,this.barCodeData.textPositionBottom=(this.eanTextPositionBottom-e)*n,this.barCodeData.mainHeight=(m+t-e)*n,this.barCodeData.textHeight=d*n,this.barCodeData.offsetY=t*n},r.prototype.drawEanBars=function(t,e,r){var n,i,o=new B(r.backColor),a=new B(r.foreColor);this.baseFillRectangle(t,o,0,0,this.barCodeData.mainWidth,this.barCodeData.mainHeight);var s=0,l=this.barCodeData.offsetY+this.barCodeData.spaceTop,u=new T,c=new I(r.font.name,r.font.size*(r.barCodeType.labelFontHeight/8)*this.barCodeData.fullZoomY,r.font.style,v.Pixel);u.alignment=C.Center,u.lineAlignment=C.Near;try{for(var p=__values(e),h=p.next();!h.done;h=p.next()){var m=h.value,d=0,g=this.ean13SymData[m.symbolType];m.makeLonger&&(g=this.makeLonger(g));for(var f=0,S,S;f<g.length;f++){var y=g[f],A,b;0==this.isSymbolSpace(y)&&(A=this.barCodeData.lineHeightShort,(this.isSymbolLong(y)||m.textAtTop)&&(A=this.barCodeData.lineHeightLong),b=0,m.textAtTop&&(b=this.barCodeData.spaceTextTop),this.baseFillRectangle(t,a,s+this.barCodeData.lineWidth*d,l+b,this.barCodeData.lineWidth*this.getSymbolWidth(y),A-b)),d+=this.getSymbolWidth(y)}r.showLabelText&&" "!=m.symbolText&&(S=null,S=m.textAtTop?new w(s,l+this.barCodeData.textPositionTop,d*this.barCodeData.lineWidth,this.barCodeData.spaceTextTop):new w(s,l+this.barCodeData.textPositionBottom,d*this.barCodeData.lineWidth,this.barCodeData.spaceTextTop),this.baseDrawString2(t,m.symbolText.toString(),c,a,S,u)),s+=this.barCodeData.lineWidth*d}}catch(t){n={error:t}}finally{try{h&&!h.done&&(i=p.return)&&i.call(p)}finally{if(n)throw n.error}}},r.prototype.makeEan13Bars=function(t,e){for(var r=t.ref,n=h.create(Number,12),i=0;i<12;i++)n[i]=r.charCodeAt(i)-48;var o,a=10-(3*(n[1]+n[3]+n[5]+n[7]+n[9]+n[11])+n[0]+n[2]+n[4]+n[6]+n[8]+n[10])%10;10==a&&(a=0),r=r.substr(0,12)+String.fromCharCode(a+48),n[12]=a;var s=[];s.push(new m(d.SpaceLeft,r[0],!1)),s.push(new m(d.GuardLeft," ",!1));for(var l=n[0],u=0;u<6;u++){var c=n[1+u],p=new m(d.ComboA0+c,r.charAt(1+u),!1);"0"!=this.symComboSet[l][u]&&(p.symbolType=d.ComboB0+c),s.push(p)}s.push(new m(d.GuardCenter," ",!1));for(var u=0;u<6;u++){var c=n[7+u],p=new m(d.ComboC0+c,r.charAt(7+u),!1);s.push(p)}return s.push(new m(d.GuardRight," ",!1)),e?s.push(new m(d.SpaceRight,this.showQuietZoneIndicator?">":" ",!1)):s.push(new m(d.SpaceBeforeAdd," ",!1)),t.ref=r,s},r.prototype.makeEanAdd2Bars=function(t,e,r){var n=null!=e?e:[];n.push(new m(d.GuardAddLeft," ",!0));for(var i=2,o=this.symParitySetAdd2[parseInt(t.substr(0,2))%4],a=0;a<i;a++){var s=parseInt(t[a].toString()),l=o[a],u=new m(d.ComboA0+s,t[a],!0);"o"!=l&&(u.symbolType=d.ComboB0+s),n.push(u),a<i-1&&n.push(new m(d.GuardAddDelineator," ",!0))}return r?n.push(new m(d.SpaceRight,this.showQuietZoneIndicator?">":" ",!0)):n.push(new m(d.SpaceBeforeAdd," ",!0)),n},r.prototype.makeEanAdd5Bars=function(t,e,r){var n=null!=e?e:[];n.push(new m(d.GuardAddLeft," ",!0));for(var e=3*parseInt(t[0].toString())+9*parseInt(t[1].toString())+3*parseInt(t[2].toString())+9*parseInt(t[3].toString())+3*parseInt(t[4].toString()),i=this.symParitySetAdd5[e%10],o=5,a=0;a<o;a++){var s=parseInt(t[a].toString()),l=i[a],u=new m(d.ComboA0+s,t[a],!0);"o"!=l&&(u.symbolType=d.ComboB0+s),n.push(u),a<o-1&&n.push(new m(d.GuardAddDelineator," ",!0))}return r?n.push(new m(d.SpaceRight,this.showQuietZoneIndicator?">":" ",!0)):n.push(new m(d.SpaceBeforeAdd," ",!0)),n},r.prototype.makeLonger=function(t){for(var e=new S,r=0;r<t.length;r++){var n=t[r];switch(n){case"4":n="8";break;case"5":n="9";break;case"6":n="a";break;case"7":n="b";break}e.append(n)}return e.toString()},r.prototype.getSymbolWidth=function(t){var e;switch(t){case"0":case"4":case"8":case"c":case"d":case"e":case"f":e=1;break;case"1":case"5":case"9":e=1*this.eanWideToNarrowRatio;break;case"2":case"6":case"a":e=1.5*this.eanWideToNarrowRatio;break;case"3":case"7":case"b":e=2*this.eanWideToNarrowRatio;break;case"x":e=this.eanSpaceLeft;break;case"y":e=this.eanSpaceRight;break;case"z":e=this.eanSpaceBeforeAdd;break;default:e=1;break}return e},r.prototype.isSymbolSpace=function(t){var e;switch(t){case"0":case"1":case"2":case"3":e=!0;break;case"x":case"y":case"z":e=!0;break;default:e=!1;break}return e},r.prototype.draw=function(t,e,r,n){var i=this.getCode(e);i=this.checkCodeSymbols(i,"0123456789")+"0000000000000";var o=this.checkCodeSymbols(this.supplementCode,"0123456789")+"00000",a=null,s,a,i,s;this.supplementType==l.StiEanSupplementType.None?(s={ref:i},a=this.makeEan13Bars(s,!0),i=s.ref):(s={ref:i},a=this.makeEan13Bars(s,!1),i=s.ref,this.supplementType==l.StiEanSupplementType.TwoDigit?this.makeEanAdd2Bars(o,a,!0):this.makeEanAdd5Bars(o,a,!0)),this.calculateSizeEan(0,n,a,r,e),this.translateRect(t,r,e),this.drawEanBars(t,a,e),this.rollbackTransform(t)},r.prototype.createNew=function(){return new r},r),s;function r(t,e,r,n,i){void 0===t&&(t=13),void 0===e&&(e=1),void 0===r&&(r=l.StiEanSupplementType.None),void 0===n&&(n=null),void 0===i&&(i=!0);var o=s.call(this)||this;return o._module=13,o._height=1,o._supplementType=l.StiEanSupplementType.None,o._supplementCode=null,o._showQuietZoneIndicator=!0,o.symComboSet=["000000","001011","001101","001110","010011","011001","011100","010101","010110","011010"],o.symParitySetAdd2=["oo","oe","eo","ee"],o.symParitySetAdd5=["eeooo","eoeoo","eooeo","eoooe","oeeoo","ooeeo","oooee","oeoeo","oeooe","ooeoe"],o.ean13SymData=["2504","1514","1415","0704","0425","0524","0407","0605","0506","2405","0416","0515","1505","0434","1604","0614","3404","1424","2414","1406","6140","5150","5051","4340","4061","4160","4043","4241","4142","6041","808","08080","808","080808","809","08","x","y","z"],o.module=t,o.height=e,o.supplementType=r,o.supplementCode=n,o.showQuietZoneIndicator=i,o}l.StiEAN13BarCodeType=t}(e=i.BarCodes||(i.BarCodes={}))}(Stimulsoft=Stimulsoft||{}),function(t){var e,r,n,c,p,t,o;function i(t,e,r,n,i){return void 0===t&&(t=13),void 0===e&&(e=1),void 0===r&&(r=c.StiEanSupplementType.None),void 0===n&&(n=null),void 0===i&&(i=!0),o.call(this,t,e,r,n,i)||this}r=e=t.Report||(t.Report={}),c=n=r.BarCodes||(r.BarCodes={}),p=t.System.StiArray,o=c.StiEAN13BarCodeType,__extends(i,o),Object.defineProperty(i.prototype,"componentId",{get:function(){return r.StiComponentId.StiEAN8BarCodeType},enumerable:!1,configurable:!0}),Object.defineProperty(i.prototype,"serviceName",{get:function(){return"EAN-8"},enumerable:!1,configurable:!0}),Object.defineProperty(i.prototype,"defaultCodeValue",{get:function(){return"12345678"},enumerable:!1,configurable:!0}),Object.defineProperty(i.prototype,"eanSpaceLeft",{get:function(){return 7},enumerable:!1,configurable:!0}),Object.defineProperty(i.prototype,"eanSpaceRight",{get:function(){return 7},enumerable:!1,configurable:!0}),Object.defineProperty(i.prototype,"eanLineHeightShort",{get:function(){return 55.2},enumerable:!1,configurable:!0}),Object.defineProperty(i.prototype,"eanMainHeight",{get:function(){return 64.58},enumerable:!1,configurable:!0}),i.prototype.makeEan8Bars=function(t,e){for(var r=p.create(Number,8),n=0;n<7;n++)r[n]=parseInt(t.charAt(n));var i,o=10-(3*(r[0]+r[2]+r[4]+r[6])+r[1]+r[3]+r[5])%10;10==o&&(o=0),t=t.substr(0,7)+String.fromCharCode(o+48);var a=[];a.push(new c.EanBarInfo(c.Ean13Symbol.SpaceLeft,this.showQuietZoneIndicator?"<":" ",!1)),a.push(new c.EanBarInfo(c.Ean13Symbol.GuardLeft," ",!1));for(var s=0;s<4;s++){var l=parseInt(t.charAt(0+s)),u=new c.EanBarInfo(c.Ean13Symbol.ComboA0+l,t.charAt(0+s),!1);a.push(u)}a.push(new c.EanBarInfo(c.Ean13Symbol.GuardCenter," ",!1));for(var s=0;s<4;s++){var l=parseInt(t.charAt(4+s)),u=new c.EanBarInfo(c.Ean13Symbol.ComboC0+l,t.charAt(4+s),!1);a.push(u)}return a.push(new c.EanBarInfo(c.Ean13Symbol.GuardRight," ",!1)),e?a.push(new c.EanBarInfo(c.Ean13Symbol.SpaceRight,this.showQuietZoneIndicator?">":" ",!1)):a.push(new c.EanBarInfo(c.Ean13Symbol.SpaceBeforeAdd," ",!1)),a},i.prototype.draw=function(t,e,r,n){var i=this.getCode(e),i=this.checkCodeSymbols(i,"0123456789")+"00000000",o=this.checkCodeSymbols(this.supplementCode,"0123456789")+"00000",a=[];this.supplementType==c.StiEanSupplementType.None?a=this.makeEan8Bars(i,!0):(a=this.makeEan8Bars(i,!1),this.supplementType==c.StiEanSupplementType.TwoDigit?this.makeEanAdd2Bars(o,a,!0):this.makeEanAdd5Bars(o,a,!0)),this.calculateSizeEan(0,n,a,r,e),this.translateRect(t,r,e),this.drawEanBars(t,a,e),this.rollbackTransform(t)},i.prototype.createNew=function(){return new i},t=i,c.StiEAN8BarCodeType=t}(Stimulsoft=Stimulsoft||{}),function(t){var e,r,n,i,o,t,a;function s(t,e,r){void 0===t&&(t=31.25),void 0===e&&(e=1),void 0===r&&(r=!1);var n=a.call(this)||this;return n.fIMSymbols="abcd",n.fIMTable=["4040114011404","40140401404014","40401401401404","404040140140404"],n.defaultFIMModule=31.25,n._module=n.defaultFIMModule,n._height=1,n._addClearZone=!1,n.fIMSpaceTop=0,n.fIMSpaceBottom=0,n.fIMLineHeightShort=20,n.fIMLineHeightLong=n.fIMLineHeightShort,n.fIMTextPosition=0,n.fIMTextHeight=8,n.fIMMainHeight=n.fIMLineHeightShort,n.fIMLineHeightForCut=n.fIMLineHeightShort,n._module=t,n._height=e,n._addClearZone=r,n}r=e=t.Report||(t.Report={}),i=n=r.BarCodes||(r.BarCodes={}),o=t.System.StiArray,a=i.StiBarCodeTypeService,__extends(s,a),s.prototype.saveToJsonObject=function(t){var t=a.prototype.saveToJsonObject.call(this,t);return t.addPropertyNumber("Module",this.module,this.defaultFIMModule),t.addPropertyNumber("Height",this.height,1),t.addPropertyBool("AddClearZone",this.addClearZone),t},s.prototype.loadFromJsonObject=function(t){var e,r;try{for(var n=__values(t.properties()),i=n.next();!i.done;i=n.next()){var o=i.value;switch(o.name){case"Module":this._module=o.value.stimulsoft.toNumber();break;case"Height":this._height=o.value.stimulsoft.toNumber();break;case"AddClearZone":this._addClearZone=o.value.stimulsoft.toBoolean();break}}}catch(t){e={error:t}}finally{try{i&&!i.done&&(r=n.return)&&r.call(n)}finally{if(e)throw e.error}}},s.prototype.loadFromXmlObject=function(t){a.prototype.loadFromXmlObject.call(this,t);for(var e=0;e<t.childNodes.length;e++){var r=t.childNodes[e];switch(r.nodeName){case"Module":this._module=r.textContent.stimulsoft.toNumber();break;case"Height":this.height=r.textContent.stimulsoft.toNumber();break;case"AddClearZone":this._addClearZone=r.textContent.stimulsoft.toBoolean();break}}},Object.defineProperty(s.prototype,"componentId",{get:function(){return r.StiComponentId.StiFIMBarCodeType},enumerable:!1,configurable:!0}),Object.defineProperty(s.prototype,"serviceName",{get:function(){return"FIM"},enumerable:!1,configurable:!0}),Object.defineProperty(s.prototype,"defaultCodeValue",{get:function(){return"A"},enumerable:!1,configurable:!0}),Object.defineProperty(s.prototype,"visibleProperties",{get:function(){var t=o.create(Boolean,this.visiblePropertiesCount);return t[22]=!0,t},enumerable:!1,configurable:!0}),Object.defineProperty(s.prototype,"module",{get:function(){return this._module},set:function(t){this._module=this.defaultFIMModule},enumerable:!1,configurable:!0}),Object.defineProperty(s.prototype,"height",{get:function(){return this._height},set:function(t){this._height=1},enumerable:!1,configurable:!0}),Object.defineProperty(s.prototype,"addClearZone",{get:function(){return this._addClearZone},set:function(t){this._addClearZone=t},enumerable:!1,configurable:!0}),Object.defineProperty(s.prototype,"labelFontHeight",{get:function(){return this.fIMTextHeight},enumerable:!1,configurable:!0}),Object.defineProperty(s.prototype,"fIMSpaceLeft",{get:function(){return this.addClearZone?16:1},enumerable:!1,configurable:!0}),Object.defineProperty(s.prototype,"fIMSpaceRight",{get:function(){return this.addClearZone?7:1},enumerable:!1,configurable:!0}),s.prototype.draw=function(t,e,r,n){var i=this.getCode(e).toLowerCase(),i,o="";switch((i=this.checkCodeSymbols(i,this.fIMSymbols)+"a")[0]){case"a":o=this.fIMTable[0];break;case"b":o=this.fIMTable[1];break;case"c":o=this.fIMTable[2];break;case"d":o=this.fIMTable[3];break}this.calculateSizeFull(this.fIMSpaceLeft,this.fIMSpaceRight,this.fIMSpaceTop,this.fIMSpaceBottom,this.fIMLineHeightShort,this.fIMLineHeightLong,this.fIMTextPosition,this.fIMTextHeight,this.fIMMainHeight,this.fIMLineHeightForCut,2,n,i,"",o,r,e),this.drawBarCode(t,r,e)},s.prototype.createNew=function(){return new s},t=s,i.StiFIMBarCodeType=t}(Stimulsoft=Stimulsoft||{}),function(t){var e,r,n,R,D,P,i,x,F,s,o;function a(t,e,r,n,i,o,a,s,l){this.AICode=t,this.AILength=e,this.NumericMin=r,this.NumericMax=n,this.CharacterMin=i,this.CharacterMax=o,this.NeedFNC1=a,this.DataTitle=s,this.DataContent=l}function N(t,e){return void 0===t&&(t=13),void 0===e&&(e=1),o.call(this,t,e)||this}r=e=t.Report||(t.Report={}),R=n=r.BarCodes||(r.BarCodes={}),D=t.System.Char,P=t.System.StiString,i=t.System.Collections.Hashtable,x=t.System.StiArray,F=t.System.Text.StringBuilder,s=a,o=R.StiCode128BarCodeType,__extends(N,o),Object.defineProperty(N.prototype,"componentId",{get:function(){return r.StiComponentId.StiGS1_128BarCodeType},enumerable:!1,configurable:!0}),Object.defineProperty(N.prototype,"serviceName",{get:function(){return"GS1-128"},enumerable:!1,configurable:!0}),Object.defineProperty(N.prototype,"defaultCodeValue",{get:function(){return"(21)012345(3103)000123"},enumerable:!1,configurable:!0}),Object.defineProperty(N.prototype,"textSpacing",{get:function(){return!1},enumerable:!1,configurable:!0}),N.getApplicationIdentifierItemByCode=function(t){var e,r,n=this.AICodeToItem.get(t);if(null!=n)return n.stimulsoft.as(s);try{for(var i=__values(this.GS1ApplicationIdentifiers),o=i.next();!o.done;o=i.next()){var a=o.value;if(t.length>=a.AILength&&t.stimulsoft.startsWith(a.AICode))return this.AICodeToItem.set(t,a),a}}catch(t){e={error:t}}finally{try{o&&!o.done&&(r=i.return)&&r.call(i)}finally{if(e)throw e.error}}return null},N.prototype.draw=function(t,e,r,n){var i=this.getCode(e),o=i.stimulsoft.replaceAll(")","(");o.stimulsoft.startsWith("(")&&(o=o.substr(1));var a=o.split("("),s=a.length/2|0,l=new F,u=new F,c=!1,p=null;if(i.stimulsoft.startsWith("(")||(c=!0,p=P.format("Incorrect data: {0} \r\nThe first bracket is missing.",i)),0==s&&(c=!0,p=P.format("Incorrect data: {0}",i)),!c)for(var h=0;h<s;h++){var m=a[2*h].trim(),d=a[2*h+1].trim(),g=N.getApplicationIdentifierItemByCode(m);if(!("01"!=m&&"02"!=m||8!=d.length&&12!=d.length&&13!=d.length)){d=P.fill("0",14-d.length)+d;for(var f=x.create(Number,14),S=0;S<14;S++)f[S]=d.charCodeAt(S)-48;var y,A=10-(f[1]+f[3]+f[5]+f[7]+f[9]+f[11]+3*(f[0]+f[2]+f[4]+f[6]+f[8]+f[10]+f[12]))%10;10==A&&(A=0),d=d.substr(0,13)+String.fromCharCode(A+48)}for(var b=0;b<m.length;b++)if(!D.isDigit(m,b)){c=!0;break}if(null!=g&&m.length>g.AILength&&(c=!0),c)p=P.format("Incorrect AI: {0}",m);else if(null!=g){var C=g.NumericMin+g.CharacterMin,A=g.NumericMax+g.CharacterMax;if(d.length<C||d.length>A)c=!0,p=P.format("Incorrect data length: ({0}){1}",m,d);else if(0<g.NumericMax){var v=g.NumericMax;g.NumericMin!=g.NumericMax&&(v=d.length);for(var w=0;w<v;w++)if(!D.isDigit(d,w)){c=!0,p=P.format("Incorrect data: ({0}){1}",m,d);break}}}if(l.append(m+d),h<s-1&&(null==g||g.NeedFNC1)&&l.append(String.fromCharCode(R.ControlCodes.FNC1)),u.append("("+m+")"+d),h<s-1&&u.append(" "),c)break}if(c&&null==e.codeValue&&e.code.stimulsoft.contains("{")&&(c=!1,l=new F(e.code),u=new F(e.code)),c)this.drawBarCodeError2(t,r,e,p);else{for(var B=this.encodeAuto(l.toString(),!0),I=x.create(Number,B.length),b=0;b<B.length;b++)I[b]=B.charCodeAt(b);for(var T=I[0]+I[1],b=0;b<B.length-4;b++)T+=I[b+2]*(b+2);I[I.length-2]=T%103;for(var E=new F,b=0;b<I.length;b++)E.append(this.codeToBar(this.code128Table[I[b]]));this.calculateSizeFull(this.code128SpaceLeft,this.code128SpaceRight,this.code128SpaceTop,this.code128SpaceBottom,this.code128LineHeightShort,this.code128LineHeightLong,this.code128TextPosition,this.code128TextHeight,this.code128MainHeight,this.code128LineHeightForCut,2,n,l.toString(),u.toString(),E.toString(),r,e),this.drawBarCode(t,r,e)}},N.prototype.createNew=function(){return new N},N.GS1ApplicationIdentifiers=[new s("00",2,18,18,0,0,!1,"SSCC","Serial Shipping Container Code (SSCC)"),new s("01",2,14,14,0,0,!1,"GTIN","Global Trade Item Number (GTIN)"),new s("02",2,14,14,0,0,!1,"CONTENT","GTIN of contained trade items"),new s("10",2,0,0,0,20,!0,"BATCH/LOT","Batch or lot number"),new s("11",2,6,6,0,0,!1,"PROD DATE","Production date (YYMMDD)"),new s("12",2,6,6,0,0,!1,"DUE DATE","Due date (YYMMDD)"),new s("13",2,6,6,0,0,!1,"PACK DATE","Packaging date (YYMMDD)"),new s("15",2,6,6,0,0,!1,"BEST BEFORE or BEST BY","Best before date (YYMMDD)"),new s("16",2,6,6,0,0,!1,"SELL BY","Sell by date (YYMMDD)"),new s("17",2,6,6,0,0,!1,"USE BY OR EXPIRY","Expiration date (YYMMDD)"),new s("20",2,2,2,0,0,!1,"VARIANT","Variant number"),new s("21",2,0,0,0,20,!0,"SERIAL","Serial number"),new s("240",3,0,0,0,30,!0,"ADDITIONAL ID","Additional item identification"),new s("241",3,0,0,0,30,!0,"CUST. PART NO.","Customer part number"),new s("242",3,0,6,0,0,!0,"MTO VARIANT","Made-to-Order variation number"),new s("243",3,0,0,0,20,!0,"PCN","Packaging component number"),new s("250",3,0,0,0,30,!0,"SECONDARY SERIAL","Secondary serial number"),new s("251",3,0,0,0,30,!0,"REF. TO SOURCE","Reference to source entity"),new s("253",3,13,13,0,17,!0,"GDTI","Global Document Type Identifier (GDTI)"),new s("254",3,0,0,0,20,!0,"GLN EXTENSION COMPONENT","GLN extension component"),new s("255",3,13,25,0,0,!0,"GCN","Global Coupon Number (GCN)"),new s("30",2,0,8,0,0,!0,"VAR. COUNT","Count of items (variable measure trade item)"),new s("310",4,6,6,0,0,!1,"NET WEIGHT (kg)","Net weight, kilograms (variable measure trade item)"),new s("311",4,6,6,0,0,!1,"LENGTH (m)","Length or first dimension, metres (variable measure trade item)"),new s("312",4,6,6,0,0,!1,"WIDTH (m)","Width, diameter, or second dimension, metres (variable measure trade item)"),new s("313",4,6,6,0,0,!1,"HEIGHT (m)","Depth, thickness, height, or third dimension, metres (variable measure trade item)"),new s("314",4,6,6,0,0,!1,"AREA (m2)","Area, square metres (variable measure trade item)"),new s("315",4,6,6,0,0,!1,"NET VOLUME (l)","Net volume, litres (variable measure trade item)"),new s("316",4,6,6,0,0,!1,"NET VOLUME (m3)","Net volume, cubic metres (variable measure trade item)"),new s("320",4,6,6,0,0,!1,"NET WEIGHT (lb)","Net weight, pounds (variable measure trade item)"),new s("321",4,6,6,0,0,!1,"LENGTH (i)","Length or first dimension, inches (variable measure trade item)"),new s("322",4,6,6,0,0,!1,"LENGTH (f)","Length or first dimension, feet (variable measure trade item)"),new s("323",4,6,6,0,0,!1,"LENGTH (y)","Length or first dimension, yards (variable measure trade item)"),new s("324",4,6,6,0,0,!1,"WIDTH (i)","Width, diameter, or second dimension, inches (variable measure trade item)"),new s("325",4,6,6,0,0,!1,"WIDTH (f)","Width, diameter, or second dimension, feet (variable measure trade item)"),new s("326",4,6,6,0,0,!1,"WIDTH (y)","Width, diameter, or second dimension, yards (variable measure trade item)"),new s("327",4,6,6,0,0,!1,"HEIGHT (i)","Depth, thickness, height, or third dimension, inches (variable measure trade item)"),new s("328",4,6,6,0,0,!1,"HEIGHT (f)","Depth, thickness, height, or third dimension, feet (variable measure trade item)"),new s("329",4,6,6,0,0,!1,"HEIGHT (y)","Depth, thickness, height, or third dimension, yards (variable measure trade item)"),new s("330",4,6,6,0,0,!1,"GROSS WEIGHT (kg)","Logistic weight, kilograms"),new s("331",4,6,6,0,0,!1,"LENGTH (m), log","Length or first dimension, metres"),new s("332",4,6,6,0,0,!1,"WIDTH (m), log","Width, diameter, or second dimension, metres"),new s("333",4,6,6,0,0,!1,"HEIGHT (m), log","Depth, thickness, height, or third dimension, metres"),new s("334",4,6,6,0,0,!1,"AREA (m2), log","Area, square metres"),new s("335",4,6,6,0,0,!1,"VOLUME (l), log","Logistic volume, litres"),new s("336",4,6,6,0,0,!1,"VOLUME (m3), log","Logistic volume, cubic metres"),new s("337",4,6,6,0,0,!1,"KG PER m²","Kilograms per square metre"),new s("340",4,6,6,0,0,!1,"GROSS WEIGHT (lb)","Logistic weight, pounds"),new s("341",4,6,6,0,0,!1,"LENGTH (i), log","Length or first dimension, inches"),new s("342",4,6,6,0,0,!1,"LENGTH (f), log","Length or first dimension, feet"),new s("343",4,6,6,0,0,!1,"LENGTH (y), log","Length or first dimension, yards"),new s("344",4,6,6,0,0,!1,"WIDTH (i), log","Width, diameter, or second dimension, inches"),new s("345",4,6,6,0,0,!1,"WIDTH (f), log","Width, diameter, or second dimension, feet"),new s("346",4,6,6,0,0,!1,"WIDTH (y), log","Width, diameter, or second dimension, yard"),new s("347",4,6,6,0,0,!1,"HEIGHT (i), log","Depth, thickness, height, or third dimension, inches"),new s("348",4,6,6,0,0,!1,"HEIGHT (f), log","Depth, thickness, height, or third dimension, feet"),new s("349",4,6,6,0,0,!1,"HEIGHT (y), log","Depth, thickness, height, or third dimension, yards"),new s("350",4,6,6,0,0,!1,"AREA (i2)","Area, square inches (variable measure trade item)"),new s("351",4,6,6,0,0,!1,"AREA (f2)","Area, square feet (variable measure trade item)"),new s("352",4,6,6,0,0,!1,"AREA (y2)","Area, square yards (variable measure trade item)"),new s("353",4,6,6,0,0,!1,"AREA (i2), log","Area, square inches"),new s("354",4,6,6,0,0,!1,"AREA (f2), log","Area, square feet"),new s("355",4,6,6,0,0,!1,"AREA (y2), log","Area, square yards"),new s("356",4,6,6,0,0,!1,"NET WEIGHT (t)","Net weight, troy ounces (variable measure trade item)"),new s("357",4,6,6,0,0,!1,"NET VOLUME (oz)","Net weight (or volume), ounces (variable measure trade item)"),new s("360",4,6,6,0,0,!1,"NET VOLUME (q)","Net volume, quarts (variable measure trade item)"),new s("361",4,6,6,0,0,!1,"NET VOLUME (g)","Net volume, gallons U.S. (variable measure trade item)"),new s("362",4,6,6,0,0,!1,"VOLUME (q), log","Logistic volume, quarts"),new s("363",4,6,6,0,0,!1,"VOLUME (g), log","Logistic volume, gallons U.S."),new s("364",4,6,6,0,0,!1,"VOLUME (i3)","Net volume, cubic inches (variable measure trade item)"),new s("365",4,6,6,0,0,!1,"VOLUME (f3)","Net volume, cubic feet (variable measure trade item)"),new s("366",4,6,6,0,0,!1,"VOLUME (y3)","Net volume, cubic yards (variable measure trade item)"),new s("367",4,6,6,0,0,!1,"VOLUME (i3), log","Logistic volume, cubic inches"),new s("368",4,6,6,0,0,!1,"VOLUME (f3), log","Logistic volume, cubic feet"),new s("369",4,6,6,0,0,!1,"VOLUME (y3), log","Logistic volume, cubic yards"),new s("37",2,0,8,0,0,!0,"COUNT","Count of trade items"),new s("390",4,0,15,0,0,!0,"AMOUNT","Applicable amount payable or Coupon value, local currency"),new s("391",4,3,18,0,0,!0,"AMOUNT","Applicable amount payable with ISO currency code"),new s("392",4,0,15,0,0,!0,"PRICE","Applicable amount payable, single monetary area (variable measure trade item)"),new s("393",4,3,18,0,0,!0,"PRICE","Applicable amount payable with ISO currency code (variable measure trade item)"),new s("394",4,4,4,0,0,!0,"PRCNT OFF","Percentage discount of a coupon"),new s("400",3,0,0,0,30,!0,"ORDER NUMBER","Customer's purchase order number"),new s("401",3,0,0,0,30,!0,"GINC","Global Identification Number for Consignment (GINC)"),new s("402",3,17,17,0,0,!0,"GSIN","Global Shipment Identification Number (GSIN)"),new s("403",3,0,0,0,30,!0,"ROUTE","Routing code"),new s("410",3,13,13,0,0,!1,"SHIP TO LOC","Ship to - Deliver to Global Location Number"),new s("411",3,13,13,0,0,!1,"BILL TO","Bill to - Invoice to Global Location Number"),new s("412",3,13,13,0,0,!1,"PURCHASE FROM","Purchased from Global Location Number"),new s("413",3,13,13,0,0,!1,"SHIP FOR LOC","Ship for - Deliver for - Forward to Global Location Number"),new s("414",3,13,13,0,0,!1,"LOC No","Identification of a physical location - Global Location Number"),new s("415",3,13,13,0,0,!1,"PAY TO","Global Location Number of the invoicing party"),new s("420",3,0,0,0,20,!0,"SHIP TO POST","Ship to - Deliver to postal code within a single postal authority"),new s("421",3,3,3,0,9,!0,"SHIP TO POST","Ship to - Deliver to postal code with ISO country code"),new s("422",3,3,3,0,0,!0,"ORIGIN","Country of origin of a trade item"),new s("423",3,3,15,0,0,!0,"COUNTRY - INITIAL PROCESS.","Country of initial processing"),new s("424",3,3,3,0,0,!0,"COUNTRY - PROCESS.","Country of processing"),new s("425",3,3,3,0,0,!0,"COUNTRY - DISASSEMBLY","Country of disassembly"),new s("426",3,3,3,0,0,!0,"COUNTRY – FULL PROCESS","Country covering full process chain"),new s("427",3,0,0,0,3,!0,"ORIGIN SUBDIVISION","Country subdivision Of origin"),new s("7001",4,13,13,0,0,!0,"NSN","NATO Stock Number (NSN)"),new s("7002",4,0,0,0,30,!0,"MEAT CUT","UN/ECE meat carcasses and cuts classification"),new s("7003",4,10,10,0,0,!0,"EXPIRY TIME","Expiration date and time"),new s("7004",4,0,4,0,0,!0,"ACTIVE POTENCY","Active potency"),new s("7005",4,0,0,0,12,!0,"CATCH AREA","Catch area"),new s("7006",4,6,6,0,0,!0,"FIRST FREEZE DATE","First freeze date"),new s("7007",4,6,12,0,0,!0,"HARVEST DATE","Harvest date"),new s("7008",4,0,0,0,3,!0,"AQUATIC SPECIES","Species for fishery purposes"),new s("7009",4,0,0,0,10,!0,"FISHING GEAR TYPE","Fishing gear type"),new s("7010",4,0,0,0,2,!0,"PROD METHOD","Production method"),new s("703",4,3,3,0,27,!0,"PROCESSOR # s","Number of processor with ISO Country Code"),new s("710",3,0,0,0,20,!0,"NHRN PZN","National Healthcare Reimbursement Number (NHRN) – Germany PZN"),new s("711",3,0,0,0,20,!0,"NHRN CIP","National Healthcare Reimbursement Number (NHRN) – France CIP"),new s("712",3,0,0,0,20,!0,"NHRN CN","National Healthcare Reimbursement Number (NHRN) – Spain CN"),new s("713",3,0,0,0,20,!0,"NHRN DRN","National Healthcare Reimbursement Number (NHRN) – Brasil DRN"),new s("8001",4,14,14,0,0,!0,"DIMENSIONS","Roll products (width, length, core diameter, direction, splices)"),new s("8002",4,0,0,0,20,!0,"CMT No","Cellular mobile telephone identifier"),new s("8003",4,14,14,0,16,!0,"GRAI","Global Returnable Asset Identifier (GRAI)"),new s("8004",4,0,0,0,30,!0,"GIAI","Global Individual Asset Identifier (GIAI)"),new s("8005",4,6,6,0,0,!0,"PRICE PER UNIT","Price per unit of measure"),new s("8006",4,18,18,0,0,!0,"GCTIN","Identification of the components of a trade item"),new s("8007",4,0,0,0,34,!0,"IBAN","International Bank Account Number (IBAN)"),new s("8008",4,8,12,0,0,!0,"PROD TIME","Date and time of production"),new s("8010",4,0,0,0,30,!0,"CPID","Component / Part Identifier (CPID)"),new s("8011",4,0,12,0,0,!0,"CPID SERIAL","Component / Part Identifier serial number (CPID SERIAL)"),new s("8012",4,0,0,0,20,!0,"VERSION","Software version"),new s("8017",4,18,18,0,0,!0,"GSRN - PROVIDER","Global Service Relation Number to identify the relationship between an organisation offering services and the provider of services"),new s("8018",4,18,18,0,0,!0,"GSRN - RECIPIENT","Global Service Relation Number to identify the relationship between an organisation offering services and the recipient of services"),new s("8019",4,0,10,0,0,!0,"SRIN","Service Relation Instance Number (SRIN)"),new s("8020",4,0,0,0,25,!0,"REF No","Payment slip reference number"),new s("8110",4,0,0,0,70,!0,"-","Coupon code identification for use in North America"),new s("8111",4,4,4,0,0,!0,"POINTS","Loyalty points of a coupon"),new s("8200",4,0,0,0,70,!0,"PRODUCT URL","Extended Packaging URL"),new s("90",2,0,0,0,30,!0,"INTERNAL","Information mutually agreed between trading partners"),new s("91",2,0,0,0,30,!0,"INTERNAL","Company internal information"),new s("92",2,0,0,0,30,!0,"INTERNAL","Company internal information"),new s("93",2,0,0,0,30,!0,"INTERNAL","Company internal information"),new s("94",2,0,0,0,30,!0,"INTERNAL","Company internal information"),new s("95",2,0,0,0,30,!0,"INTERNAL","Company internal information"),new s("96",2,0,0,0,30,!0,"INTERNAL","Company internal information"),new s("97",2,0,0,0,30,!0,"INTERNAL","Company internal information"),new s("98",2,0,0,0,30,!0,"INTERNAL","Company internal information"),new s("99",2,0,0,0,30,!0,"INTERNAL","Company internal information")],N.AICodeToItem=new i,i=N,R.StiGS1_128BarCodeType=i}(Stimulsoft=Stimulsoft||{}),function(t){var e,r,n,i,y,A,b,C,t,o;function v(t,e,r,n){void 0===t&&(t=13),void 0===e&&(e=1),void 0===r&&(r=2.5),void 0===n&&(n=!1);var i=o.call(this)||this;return i._module=40,i._height=1,i._ratio=2.5,i._printVerticalBars=!1,i.symTableSet=["00110","10001","01001","11000","00101","10100","01100","00011","10010","01010","0000","100"],i.itf14BearerBarWidth=2,i.itf14SpaceLeft=10,i.itf14SpaceRight=10,i.itf14SpaceTop=i.itf14BearerBarWidth,i.itf14SpaceBottom=i.itf14BearerBarWidth+1,i.itf14LineHeightShort=31.25,i.itf14LineHeightLong=i.itf14LineHeightShort,i.itf14TextHeight=8.33,i.itf14MainHeight=51.75,i.itf14TextPosition=i.itf14SpaceTop+i.itf14LineHeightShort+i.itf14SpaceBottom,i.itf14LineHeightForCut=i.itf14LineHeightShort,i.module=t,i.height=e,i.ratio=r,i.printVerticalBars=n,i}r=e=t.Report||(t.Report={}),i=n=r.BarCodes||(r.BarCodes={}),y=t.System.StiArray,A=t.System.StiString,b=t.System.Text.StringBuilder,C=t.Base.Drawing.StiSolidBrush,o=i.StiBarCodeTypeService,__extends(v,o),v.prototype.saveToJsonObject=function(t){var t=o.prototype.saveToJsonObject.call(this,t);return t.addPropertyNumber("Module",this.module,40),t.addPropertyNumber("Height",this.height,1),t.addPropertyNumber("Ratio",this.ratio,2.5),t.addPropertyBool("PrintVerticalBars",this.printVerticalBars),t},v.prototype.loadFromJsonObject=function(t){var e,r;try{for(var n=__values(t.properties()),i=n.next();!i.done;i=n.next()){var o=i.value;switch(o.name){case"Module":this.module=o.value.stimulsoft.toNumber();break;case"Height":this.height=o.value.stimulsoft.toNumber();break;case"Ratio":this.ratio=o.value.stimulsoft.toNumber();break;case"PrintVerticalBars":this.printVerticalBars=o.value.stimulsoft.toBoolean();break}}}catch(t){e={error:t}}finally{try{i&&!i.done&&(r=n.return)&&r.call(n)}finally{if(e)throw e.error}}},v.prototype.loadFromXmlObject=function(t){o.prototype.loadFromXmlObject.call(this,t);for(var e=0;e<t.childNodes.length;e++){var r=t.childNodes[e];switch(r.nodeName){case"Module":this.module=r.textContent.stimulsoft.toNumber();break;case"Height":this.height=r.textContent.stimulsoft.toNumber();break;case"Ratio":this.ratio=r.textContent.stimulsoft.toNumber();break;case"PrintVerticalBars":this.printVerticalBars=r.textContent.stimulsoft.toBoolean();break}}},Object.defineProperty(v.prototype,"componentId",{get:function(){return r.StiComponentId.StiITF14BarCodeType},enumerable:!1,configurable:!0}),Object.defineProperty(v.prototype,"serviceName",{get:function(){return"ITF-14"},enumerable:!1,configurable:!0}),Object.defineProperty(v.prototype,"defaultCodeValue",{get:function(){return"15400141288763"},enumerable:!1,configurable:!0}),Object.defineProperty(v.prototype,"module",{get:function(){return this._module},set:function(t){(this._module=t)<10&&(this._module=10),40<t&&(this._module=40),this.ratio=this._ratio},enumerable:!1,configurable:!0}),Object.defineProperty(v.prototype,"height",{get:function(){return this._height},set:function(t){(this._height=t)<.5&&(this._height=.5),2<t&&(this._height=2)},enumerable:!1,configurable:!0}),Object.defineProperty(v.prototype,"ratio",{get:function(){return this._ratio},set:function(t){(this._ratio=t)<2.25&&(this._ratio=2.25),3<t&&(this._ratio=3)},enumerable:!1,configurable:!0}),Object.defineProperty(v.prototype,"printVerticalBars",{get:function(){return this._printVerticalBars},set:function(t){this._printVerticalBars=t},enumerable:!1,configurable:!0}),Object.defineProperty(v.prototype,"labelFontHeight",{get:function(){return this.itf14TextHeight},enumerable:!1,configurable:!0}),Object.defineProperty(v.prototype,"visibleProperties",{get:function(){var t=y.create(Boolean,this.visiblePropertiesCount);return t[11]=!0,t[13]=!0,t[14]=!0,t[15]=!0,t},enumerable:!1,configurable:!0}),v.prototype.draw=function(t,e,r,n){for(var i=this.getCode(e),i=this.checkCodeSymbols(i,"0123456789")+A.fill("0",14),o=y.create(Number,14),a=0;a<14;a++)o[a]=i[a].stimulsoft.toNumber();var s,l=10-(3*(o[0]+o[2]+o[4]+o[6]+o[8]+o[10]+o[12])+o[1]+o[3]+o[5]+o[7]+o[9]+o[11])%10;10==l&&(l=0),o[13]=l,i=i.substr(0,13)+String.fromCharCode(l+48);var u=new b;u.append(this.symTableSet[10]);for(var c=0;c<7;c++){var p=this.symTableSet[o[2*c+0]],h=this.symTableSet[o[2*c+1]],h=p[0]+h[0]+p[1]+h[1]+p[2]+h[2]+p[3]+h[3]+p[4]+h[4];u.append(h)}u.append(this.symTableSet[11]);for(var m=u.toString(),d=new b,g=!0,c=0;c<m.length;c++){var f=void 0,f=1==g?"0"==m[c]?"4":"5":"0"==m[c]?"0":"1";d.append(f),g=!g}this.calculateSizeFull(this.itf14SpaceLeft+(this.printVerticalBars?this.itf14BearerBarWidth:0),this.itf14SpaceRight+(this.printVerticalBars?this.itf14BearerBarWidth:0),this.itf14SpaceTop,this.itf14SpaceBottom,this.itf14LineHeightShort,this.itf14LineHeightLong,this.itf14TextPosition,this.itf14TextHeight,this.itf14MainHeight,this.itf14LineHeightForCut,this.ratio,n,i,i,d.toString(),r,e);var n=function(t,e,r){r.baseFillRectangle(t,e,0,0,r.barCodeData.mainWidth,r.barCodeData.spaceTop),r.baseFillRectangle(t,e,0,r.barCodeData.spaceTop+r.barCodeData.lineHeightShort,r.barCodeData.mainWidth,r.barCodeData.spaceTop),r.as(v).printVerticalBars&&(r.baseFillRectangle(t,e,0,0,r.barCodeData.spaceTop,r.barCodeData.lineHeightShort+2*r.barCodeData.spaceTop),r.baseFillRectangle(t,e,r.barCodeData.mainWidth-r.barCodeData.spaceTop,0,r.barCodeData.spaceTop,r.barCodeData.lineHeightShort+2*r.barCodeData.spaceTop))};this.drawBarCode1(t,r,e,n);var S=new C(e.foreColor)},v.prototype.createNew=function(){return new v},t=v,i.StiITF14BarCodeType=t}(Stimulsoft=Stimulsoft||{}),function(t){var e,r,n,i,o,d,t,a;function s(){var t=null!==a&&a.apply(this,arguments)||this;return t._module=13,t._height=1,t._ratio=2.2,t.symTableSet=["00110","10001","01001","11000","00101","10100","01100","00011","10010","01010","0000","100"],t.interleaved2of5SpaceLeft=10,t.interleaved2of5SpaceRight=10,t.interleaved2of5SpaceTop=0,t.interleaved2of5SpaceBottom=1,t.interleaved2of5LineHeightShort=40,t.interleaved2of5LineHeightLong=t.interleaved2of5LineHeightShort,t.interleaved2of5TextHeight=8.33,t.interleaved2of5MainHeight=50,t.interleaved2of5TextPosition=t.interleaved2of5LineHeightShort+t.interleaved2of5SpaceBottom,t.interleaved2of5LineHeightForCut=t.interleaved2of5LineHeightShort,t}r=e=t.Report||(t.Report={}),i=n=r.BarCodes||(r.BarCodes={}),o=t.System.StiArray,d=t.System.Text.StringBuilder,a=i.StiBarCodeTypeService,__extends(s,a),s.prototype.saveToJsonObject=function(t){var t=a.prototype.saveToJsonObject.call(this,t);return t.addPropertyNumber("Module",this.module,13),t.addPropertyNumber("Height",this.height,1),t.addPropertyNumber("Ratio",this.ratio,2.2),t},s.prototype.loadFromJsonObject=function(t){var e,r;try{for(var n=__values(t.properties()),i=n.next();!i.done;i=n.next()){var o=i.value;switch(o.name){case"Module":this.module=o.value.stimulsoft.toNumber();break;case"Height":this.height=o.value.stimulsoft.toNumber();break;case"Ratio":this.ratio=o.value.stimulsoft.toNumber();break}}}catch(t){e={error:t}}finally{try{i&&!i.done&&(r=n.return)&&r.call(n)}finally{if(e)throw e.error}}},s.prototype.loadFromXmlObject=function(t){a.prototype.loadFromXmlObject.call(this,t);for(var e=0;e<t.childNodes.length;e++){var r=t.childNodes[e];switch(r.nodeName){case"Module":this.module=r.textContent.stimulsoft.toNumber();break;case"Height":this.height=r.textContent.stimulsoft.toNumber();break;case"Ratio":this.ratio=r.textContent.stimulsoft.toNumber();break}}},Object.defineProperty(s.prototype,"componentId",{get:function(){return r.StiComponentId.StiInterleaved2of5BarCodeType},enumerable:!1,configurable:!0}),Object.defineProperty(s.prototype,"serviceName",{get:function(){return"2of5 Interleaved"},enumerable:!1,configurable:!0}),Object.defineProperty(s.prototype,"defaultCodeValue",{get:function(){return"12345678"},enumerable:!1,configurable:!0}),Object.defineProperty(s.prototype,"module",{get:function(){return this._module},set:function(t){(this._module=t)<7.5&&(this._module=7.5),40<t&&(this._module=40)},enumerable:!1,configurable:!0}),Object.defineProperty(s.prototype,"height",{get:function(){return this._height},set:function(t){(this._height=t)<.5&&(this._height=.5),2<t&&(this._height=2)},enumerable:!1,configurable:!0}),Object.defineProperty(s.prototype,"ratio",{get:function(){return this._ratio},set:function(t){this._ratio=t;var e=20<this.module?2:2.2;t<e&&(this._ratio=e),3<t&&(this._ratio=3)},enumerable:!1,configurable:!0}),Object.defineProperty(s.prototype,"labelFontHeight",{get:function(){return 8.33},enumerable:!1,configurable:!0}),Object.defineProperty(s.prototype,"visibleProperties",{get:function(){var t=o.create(Boolean,this.visiblePropertiesCount);return t[11]=!0,t[13]=!0,t[15]=!0,t},enumerable:!1,configurable:!0}),s.prototype.draw=function(t,e,r,n){var i=this.getCode(e),i;(i=this.checkCodeSymbols(i,"0123456789")).length%2==1&&(i="0"+i);var o=new d;if(o.append(this.symTableSet[10]),0<i.length)for(var a=0;a<i.length/2;a++){var s=this.symTableSet[parseInt(i[2*a+0].toString())],l=this.symTableSet[parseInt(i[2*a+1].toString())],u=new d;u.append(s[0]),u.append(l[0]),u.append(s[1]),u.append(l[1]),u.append(s[2]),u.append(l[2]),u.append(s[3]),u.append(l[3]),u.append(s[4]),u.append(l[4]),o.append(u.toString())}o.append(this.symTableSet[11]);for(var c=!0,p=o.toString(),h=new d,a=0;a<p.length;a++){var m=void 0,m=1==c?"0"==p.charAt(a)?"4":"5":"0"==p.charAt(a)?"0":"1";h.append(m),c=!c}this.calculateSizeFull(this.interleaved2of5SpaceLeft,this.interleaved2of5SpaceRight,this.interleaved2of5SpaceTop,this.interleaved2of5SpaceBottom,this.interleaved2of5LineHeightShort,this.interleaved2of5LineHeightLong,this.interleaved2of5TextPosition,this.interleaved2of5TextHeight,this.interleaved2of5MainHeight,this.interleaved2of5LineHeightForCut,this.ratio,n,i,i,h.toString(),r,e),this.drawBarCode(t,r,e)},s.prototype.createNew=function(){return new s},s.prototype.StiInterleaved2of5BarCodeType=function(t,e,r){void 0===t&&(t=13),void 0===e&&(e=1),void 0===r&&(r=2.2),this.module=t,this.height=e,this.ratio=r},t=s,i.StiInterleaved2of5BarCodeType=t}(Stimulsoft=Stimulsoft||{}),function(t){var e,r,n,u,c,p,h,m,d,g,t,o;function i(t,e,r,n,i){void 0===t&&(t=13),void 0===e&&(e=1),void 0===r&&(r=u.StiEanSupplementType.None),void 0===n&&(n=null),void 0===i&&(i=!0);var i=o.call(this,t,e,r,n,i)||this;return i.isbnOffsetY=10,i}r=e=t.Report||(t.Report={}),u=n=r.BarCodes||(r.BarCodes={}),c=t.Base.Drawing.StiSolidBrush,p=t.System.Drawing.Rectangle,h=t.System.Drawing.Font,m=t.System.Drawing.StringFormat,d=t.System.Drawing.StringAlignment,g=t.System.Drawing.GraphicsUnit,o=u.StiEAN13BarCodeType,__extends(i,o),Object.defineProperty(i.prototype,"componentId",{get:function(){return r.StiComponentId.StiIsbn13BarCodeType},enumerable:!1,configurable:!0}),Object.defineProperty(i.prototype,"serviceName",{get:function(){return"ISBN-13"},enumerable:!1,configurable:!0}),Object.defineProperty(i.prototype,"defaultCodeValue",{get:function(){return"978-0-7356-2153-4"},enumerable:!1,configurable:!0}),i.prototype.draw=function(t,e,r,n){var i=this.getCode(e),o=this.checkCodeSymbols(i,"0123456789")+"0000000000000",a=this.checkCodeSymbols(this.supplementCode,"0123456789")+"00000",s=[],l,s,o,l;this.supplementType==u.StiEanSupplementType.None?(l={ref:o},s=this.makeEan13Bars(l,!0),o=l.ref):(l={ref:o},s=this.makeEan13Bars(l,!1),o=l.ref,this.supplementType==u.StiEanSupplementType.TwoDigit?this.makeEanAdd2Bars(a,s,!0):this.makeEanAdd5Bars(a,s,!0)),this.calculateSizeEan(this.isbnOffsetY,n,s,r,e),this.translateRect(t,r,e),this.drawEanBars(t,s,e);var r=new c(e.foreColor),s=new m,e=new h(e.font.name,e.font.size*(e.barCodeType.labelFontHeight/8)*this.barCodeData.fullZoomY,e.font.style,g.Pixel),i="ISBN "+i;s.lineAlignment=d.Center,s.alignment=d.Center,this.baseDrawString2(t,i,e,r,new p(0,0,this.barCodeData.mainWidth,this.barCodeData.spaceTextTop),s),this.rollbackTransform(t)},i.prototype.createNew=function(){return new i},t=i,u.StiIsbn13BarCodeType=t}(Stimulsoft=Stimulsoft||{}),function(t){var e,r,n,u,i,c,p,h,m,d,g,t,o;function a(t,e,r,n,i){return void 0===t&&(t=13),void 0===e&&(e=1),void 0===r&&(r=u.StiEanSupplementType.None),void 0===n&&(n=null),void 0===i&&(i=!0),o.call(this,t,e,r,n,i)||this}r=e=t.Report||(t.Report={}),u=n=r.BarCodes||(r.BarCodes={}),i=t.System.StiArray,c=t.Base.Drawing.StiSolidBrush,p=t.System.Drawing.StringAlignment,h=t.System.Drawing.Rectangle,m=t.System.Drawing.Font,d=t.System.Drawing.StringFormat,g=t.System.Drawing.GraphicsUnit,o=u.StiIsbn13BarCodeType,__extends(a,o),Object.defineProperty(a.prototype,"componentId",{get:function(){return r.StiComponentId.StiIsbn10BarCodeType},enumerable:!1,configurable:!0}),
Object.defineProperty(a.prototype,"visibleProperties",{get:function(){var t=i.create(Boolean,this.visiblePropertiesCount);return t[11]=!0,t[13]=!0,t[17]=!0,t[19]=!0,t[20]=!0,t},enumerable:!1,configurable:!0}),Object.defineProperty(a.prototype,"serviceName",{get:function(){return"ISBN-10"},enumerable:!1,configurable:!0}),Object.defineProperty(a.prototype,"defaultCodeValue",{get:function(){return"0-7356-2153-5"},enumerable:!1,configurable:!0}),a.prototype.draw=function(t,e,r,n){var i=this.getCode(e),o="978"+this.checkCodeSymbols(i,"0123456789")+"0000000000000",a=this.checkCodeSymbols(this.supplementCode,"0123456789")+"00000",s=[],l,s,o,l;this.supplementType==u.StiEanSupplementType.None?(l={ref:o},s=this.makeEan13Bars(l,!0),o=l.ref):(l={ref:o},s=this.makeEan13Bars(l,!1),o=l.ref,this.supplementType==u.StiEanSupplementType.TwoDigit?this.makeEanAdd2Bars(a,s,!0):this.makeEanAdd5Bars(a,s,!0)),this.calculateSizeEan(this.isbnOffsetY,n,s,r,e),this.translateRect(t,r,e),this.drawEanBars(t,s,e);var r=new c(e.foreColor),s=new d,e=new m(e.font.name,e.font.size*(e.barCodeType.labelFontHeight/8)*this.barCodeData.fullZoomY,e.font.style,g.Pixel),i="ISBN "+i;s.lineAlignment=p.Center,s.alignment=p.Center,this.baseDrawString2(t,i,e,r,new h(0,0,this.barCodeData.mainWidth,this.barCodeData.spaceTextTop),s),this.rollbackTransform(t)},a.prototype.createNew=function(){return new a},t=a,u.StiIsbn10BarCodeType=t}(Stimulsoft=Stimulsoft||{}),function(t){var e,r,n,l,i,t,o;function a(t,e,r,n,i){return void 0===t&&(t=13),void 0===e&&(e=1),void 0===r&&(r=l.StiEanSupplementType.None),void 0===n&&(n=null),void 0===i&&(i=!0),o.call(this,t,e,r,n,i)||this}r=e=t.Report||(t.Report={}),l=n=r.BarCodes||(r.BarCodes={}),i=t.System.StiArray,o=l.StiEAN13BarCodeType,__extends(a,o),Object.defineProperty(a.prototype,"componentId",{get:function(){return r.StiComponentId.StiJan13BarCodeType},enumerable:!1,configurable:!0}),Object.defineProperty(a.prototype,"serviceName",{get:function(){return"JAN-13"},enumerable:!1,configurable:!0}),Object.defineProperty(a.prototype,"defaultCodeValue",{get:function(){return"4523456789012"},enumerable:!1,configurable:!0}),Object.defineProperty(a.prototype,"visibleProperties",{get:function(){var t=i.create(Boolean,this.visiblePropertiesCount);return t[11]=!0,t[13]=!0,t[17]=!0,t[19]=!0,t[20]=!0,t},enumerable:!1,configurable:!0}),a.prototype.draw=function(t,e,r,n){var i=this.getCode(e),o=this.checkCodeSymbols(i,"0123456789")+"0000000000000",a=this.checkCodeSymbols(this.supplementCode,"0123456789")+"00000";if(!o.stimulsoft.startsWith("45")&&!o.stimulsoft.startsWith("49"))return void this.drawBarCodeError(t,r,e);var i=[],s,i,o,s;this.supplementType==l.StiEanSupplementType.None?(s={ref:o},i=this.makeEan13Bars(s,!0),o=s.ref):(s={ref:o},i=this.makeEan13Bars(s,!1),o=s.ref,this.supplementType==l.StiEanSupplementType.TwoDigit?this.makeEanAdd2Bars(a,i,!0):this.makeEanAdd5Bars(a,i,!0)),this.calculateSizeEan(0,n,i,r,e),this.translateRect(t,r,e),this.drawEanBars(t,i,e),this.rollbackTransform(t)},a.prototype.createNew=function(){return new a},t=a,l.StiJan13BarCodeType=t}(Stimulsoft=Stimulsoft||{}),function(t){var e,r,n,s,i,t,o;function a(t,e,r,n,i){return void 0===t&&(t=13),void 0===e&&(e=1),void 0===r&&(r=s.StiEanSupplementType.None),void 0===n&&(n=null),void 0===i&&(i=!0),o.call(this,t,e,r,n,i)||this}r=e=t.Report||(t.Report={}),s=n=r.BarCodes||(r.BarCodes={}),i=t.System.StiArray,o=s.StiEAN8BarCodeType,__extends(a,o),Object.defineProperty(a.prototype,"componentId",{get:function(){return r.StiComponentId.StiJan8BarCodeType},enumerable:!1,configurable:!0}),Object.defineProperty(a.prototype,"serviceName",{get:function(){return"JAN-8"},enumerable:!1,configurable:!0}),Object.defineProperty(a.prototype,"defaultCodeValue",{get:function(){return"4523456789012"},enumerable:!1,configurable:!0}),Object.defineProperty(a.prototype,"visibleProperties",{get:function(){var t=i.create(Boolean,this.visiblePropertiesCount);return t[11]=!0,t[13]=!0,t[17]=!0,t[19]=!0,t[20]=!0,t},enumerable:!1,configurable:!0}),a.prototype.draw=function(t,e,r,n){var i=this.getCode(e),o=this.checkCodeSymbols(i,"0123456789")+"0000000000000",a=this.checkCodeSymbols(this.supplementCode,"0123456789")+"00000";if(!o.stimulsoft.startsWith("45")&&!o.stimulsoft.startsWith("49"))return void this.drawBarCodeError(t,r,e);var i=[];this.supplementType==s.StiEanSupplementType.None?i=this.makeEan8Bars(o,!0):(i=this.makeEan8Bars(o,!1),this.supplementType==s.StiEanSupplementType.TwoDigit?this.makeEanAdd2Bars(a,i,!0):this.makeEanAdd5Bars(a,i,!0)),this.calculateSizeEan(0,n,i,r,e),this.translateRect(t,r,e),this.drawEanBars(t,i,e),this.rollbackTransform(t)},a.prototype.createNew=function(){return new a},t=a,s.StiJan8BarCodeType=t}(Stimulsoft=Stimulsoft||{}),function(t){var e,r,n,i,m,a,d,o,s,l,t,u;function c(t,e,r){this.log=null,this.alog=null,this.rspoly=null;for(var n=0,i=0,i=1;i<=t;i<<=1)n++;i>>=1,n--,this.logmod=(1<<n)-1,this.log=m.create(Number,this.logmod+1),this.alog=m.create(Number,this.logmod);for(var o=1,a=0;a<this.logmod;a++)this.alog[a]=o,this.log[o]=a,0!=((o<<=1)&i)&&(o^=t);this.rlen=e,this.rspoly=m.create(Number,e+1);for(var s=this.rspoly[0]=1;s<=e;s++){for(var l=s-(this.rspoly[s]=1);0<l;l--)0!=this.rspoly[l]&&(this.rspoly[l]=this.alog[(this.log[this.rspoly[l]]+r)%this.logmod]),this.rspoly[l]^=this.rspoly[l-1];this.rspoly[0]=this.alog[(this.log[this.rspoly[0]]+r)%this.logmod],r++}}function g(t,e,r,n,i){this.structuredAppendPosition=1,this.structuredAppendTotal=1,this.data_Postcode=null,this.data_Country=0,this.data_Service=0,this.content=null,this.eciMode=3,this.codewords=null,this.set=m.create(Number,144),this.character=m.create(Number,144),this.grid=m.create2(Boolean,33,30),this.errorMessage=null;try{if(r<1||8<r)throw new Error("Invalid structured append position: "+r.toString());if(n<1||8<n)throw new Error("Invalid structured append total: "+n.toString());this.mode=e,this.structuredAppendPosition=r,this.structuredAppendTotal=n;var o=i?this.unpackTilde(t):t;if(this.mode==d.Mode2||this.mode==d.Mode3){var a=null;if(o.stimulsoft.startsWith(g.formatHeader)){if(!o.stimulsoft.endsWith(g.formatTrailer))throw new Error("Unexpected end of input data");a=o.substr(7,2),o=o.substr(9,o.length-11)}var s=this.extractPrimaryParts(o);if(s.length<4)throw new Error("Invalid message format");if(this.data_Postcode=s[0].trim(),this.data_Country=s[1].trim().stimulsoft.toNumber(),isNaN(this.data_Country))throw new Error("Invalid country data");if(this.data_Service=s[2].trim().stimulsoft.toNumber(),isNaN(this.data_Service))throw new Error("Invalid service data");if(this.content=s[3].trim(),null!=a&&(this.content=g.formatHeader+a+this.content+g.formatTrailer),this.mode==d.Mode2)for(var l=0;l<this.data_Postcode.length;l++)if(this.data_Postcode[l]<"0"||"9"<this.data_Postcode[l]){this.mode=d.Mode3;break}}else this.content=o;this.encode()}catch(t){this.errorMessage=t.message}}function p(t,e,r,n){void 0===t&&(t=d.Mode4),void 0===e&&(e=1),void 0===r&&(r=1),void 0===n&&(n=!0);var i=u.call(this)||this;return i._mode=d.Mode4,i._processTilde=!0,i._structuredAppendPosition=1,i._structuredAppendTotal=1,i.mode=t,i.structuredAppendPosition=e,i.structuredAppendTotal=r,i.processTilde=n,i}r=e=t.Report||(t.Report={}),i=n=r.BarCodes||(r.BarCodes={}),m=t.System.StiArray,a=t.System.Enum,d=t.Report.BarCodes.StiMaxicodeMode,o=t.System.Text.Encoding,c.prototype.encode=function(t,e){for(var r=m.create(Number,this.rlen),n=0;n<t;n++){for(var i=r[this.rlen-1]^e[n],o=this.rlen-1;0<o;o--)0!=i&&0!=this.rspoly[o]?r[o]=r[o-1]^this.alog[(this.log[i]+this.log[this.rspoly[o]])%this.logmod]:r[o]=r[o-1];0!=i&&0!=this.rspoly[0]?r[0]=this.alog[(this.log[i]+this.log[this.rspoly[0]])%this.logmod]:r[0]=0}return r},s=c,Object.defineProperty(g.prototype,"matrix",{get:function(){return this.gridToMatrix()},enumerable:!1,configurable:!0}),g.prototype.getEciEncoding=function(){if(this.tryCodePage(20127))return 3;return this.tryCodePage(65001),26},g.prototype.tryCodePage=function(t){try{var e=o.getEncoding(t);this.sourceBytes=e.getBytes(this.content);var e=e.getString(this.sourceBytes);if(this.content==e)return!0}catch(t){}return!1},g.prototype.unpackTilde=function(t){var e=0,r="";while(e<t.length){var n=t[e++],i=!1,o,a;"~"==n&&e+2<t.length&&(a=t.substr(e,3).stimulsoft.toNumber(),isNaN(a)||0<=a&&a<255&&(r+=String.fromCharCode(a),i=!0,e+=3)),i||(r+=n)}return r},g.prototype.extractPrimaryParts=function(t){var e=[],r=0,n="";while(r<t.length){var i=t[r++];if(i==g.com_GS){if(e.push(n),3==e.length){e.push(t.substr(r));break}n=""}else n+=i}return 0<n.length&&e.push(n),e},g.prototype.gridToMatrix=function(){for(var t=m.create(Number,33*30),e=0;e<33;e++)for(var r=0;r<30;r++)this.grid[e][r]&&(t[30*e+r]=1);return t},g.prototype.findBestSet=function(t,e,r,n,i,o,a){void 0===i&&(i=-1),void 0===o&&(o=-1),void 0===a&&(a=-1);var s=this.set[t-1],l=s==r||s==n||s==i||s==o||s==a;if(t+1<e){var t=this.set[t+1],a=t==r||t==n||t==i||t==o||t==a;if(l&&a)return Math.min(s,t);if(l)return s;if(a)return t}else if(l)return s;return r},g.prototype.insertSymbol=function(t,e){for(var r=143;t<r;r--)this.set[r]=this.set[r-1],this.character[r]=this.character[r-1];this.character[t]=e},g.prototype.processTextToSymbols=function(){var t=this.sourceBytes.length,e,r;if(138<t)return!1;for(var n=0;n<144;n++)this.set[n]=-1,this.character[n]=0;for(var n=0;n<t;n++)this.set[n]=g.codeSet_Map[this.sourceBytes[n]],this.character[n]=g.charToSym_Map[this.sourceBytes[n]];for(0==this.set[0]&&(13==this.character[0]&&(this.character[0]=0),this.set[0]=1),e=1;e<t;e++)0==this.set[e]&&(13==this.character[e]?(this.set[e]=this.findBestSet(e,t,1,5),5==this.set[e]?this.character[e]=13:this.character[e]=0):28==this.character[e]?(this.set[e]=this.findBestSet(e,t,1,2,3,4,5),5==this.set[e]&&(this.character[e]=32)):29==this.character[e]?(this.set[e]=this.findBestSet(e,t,1,2,3,4,5),5==this.set[e]&&(this.character[e]=33)):30==this.character[e]?(this.set[e]=this.findBestSet(e,t,1,2,3,4,5),5==this.set[e]&&(this.character[e]=34)):32==this.character[e]?(this.set[e]=this.findBestSet(e,t,1,2,3,4,5),1==this.set[e]?this.character[e]=32:2==this.set[e]?this.character[e]=47:this.character[e]=59):44==this.character[e]?(this.set[e]=this.findBestSet(e,t,1,2),2==this.set[e]&&(this.character[e]=48)):46==this.character[e]?(this.set[e]=this.findBestSet(e,t,1,2),2==this.set[e]&&(this.character[e]=49)):47==this.character[e]?(this.set[e]=this.findBestSet(e,t,1,2),2==this.set[e]&&(this.character[e]=50)):58==this.character[e]&&(this.set[e]=this.findBestSet(e,t,1,2),2==this.set[e]&&(this.character[e]=51)));for(e=t;e<this.set.length;e++)2==this.set[t-1]?this.set[e]=2:this.set[e]=1,this.character[e]=33;for(var i=0,e=r=this.mode==d.Mode2||this.mode==d.Mode3?9:0;e<143;e++)1==this.set[e]&&48<=this.character[e]&&this.character[e]<=57?i++:i=0,9==i&&(this.set[e]=6,this.set[e-1]=6,this.set[e-2]=6,this.set[e-3]=6,this.set[e-4]=6,this.set[e-5]=6,this.set[e-6]=6,this.set[e-7]=6,this.set[e-8]=6,i=0);var o=1;e=0;do{if(this.set[e]!=o&&6!=this.set[e]){switch(this.set[e]){case 1:e+1<this.set.length&&1==this.set[e+1]?e+2<this.set.length&&1==this.set[e+2]?e+3<this.set.length&&1==this.set[e+3]?(this.insertSymbol(e,63),o=1,t++,e+=3):(this.insertSymbol(e,57),t++,e+=2):(this.insertSymbol(e,56),t++,e++):(this.insertSymbol(e,59),t++);break;case 2:e+1<this.set.length&&2==this.set[e+1]?(this.insertSymbol(e,63),o=2,t++,e++):(this.insertSymbol(e,59),t++);break;case 3:e+3<this.set.length&&3==this.set[e+1]&&3==this.set[e+2]&&3==this.set[e+3]?(this.insertSymbol(e,60),this.insertSymbol(e,60),t++,e+=o=3):(this.insertSymbol(e,60),t++);break;case 4:e+3<this.set.length&&4==this.set[e+1]&&4==this.set[e+2]&&4==this.set[e+3]?(this.insertSymbol(e,61),this.insertSymbol(e,61),o=4,t++,e+=3):(this.insertSymbol(e,61),t++);break;case 5:e+3<this.set.length&&5==this.set[e+1]&&5==this.set[e+2]&&5==this.set[e+3]?(this.insertSymbol(e,62),this.insertSymbol(e,62),o=5,t++,e+=3):(this.insertSymbol(e,62),t++);break;default:throw new Error("Encoding: unexpected set "+this.set[e].toString()+" at index "+e.toString()+".")}e++}e++}while(e<this.set.length);e=0;do{if(6==this.set[e]){for(var a=0,r=0;r<9;r++)a*=10,a+=this.character[e+r]-"0".charCodeAt(0);for(this.character[e]=31,this.character[e+1]=(1056964608&a)>>24,this.character[e+2]=(16515072&a)>>18,this.character[e+3]=(258048&a)>>12,this.character[e+4]=(4032&a)>>6,this.character[e+5]=63&a,r=e+=6;r<140;r++)this.set[r]=this.set[r+3],this.character[r]=this.character[r+3];t-=3}else e++}while(e<this.set.length);if(3!=this.eciMode&&(this.insertSymbol(0,27),this.insertSymbol(1,31&this.eciMode),t+=2),(this.mode==d.Mode2||this.mode==d.Mode3)&&84<t)return!1;if((this.mode==d.Mode4||this.mode==d.Mode6)&&93<t)return!1;if(this.mode==d.Mode5&&77<t)return!1;return!0},g.getErrorCorrectionCodewords=function(t,e){for(var r,n=new s(67,e,1).encode(t.length,t),i=m.create(Number,e),o=0;o<e;o++)i[o]=n[e-1-o];return i},g.prototype.getPrimaryCodewords=function(){return this.mode==d.Mode2?g.getMode2PrimaryCodewords(this.data_Postcode,this.data_Country,this.data_Service):g.getMode3PrimaryCodewords(this.data_Postcode,this.data_Country,this.data_Service)},g.getMode2PrimaryCodewords=function(t,e,r){var n=t.stimulsoft.toNumber(),i=m.create(Number,10);return i[0]=(3&n)<<4|2,i[1]=(252&n)>>2,i[2]=(16128&n)>>8,i[3]=(1032192&n)>>14,i[4]=(66060288&n)>>20,i[5]=(1006632960&n)>>26|(3&t.length)<<4,i[6]=(60&t.length)>>2|(3&e)<<4,i[7]=(252&e)>>2,i[8]=(768&e)>>8|(15&r)<<2,i[9]=(1008&r)>>4,i},g.getMode3PrimaryCodewords=function(t,e,r){var n=m.create(Number,t.length);t=t.toUpperCase();for(var i=0;i<n.length;i++)n[i]=t[i].charCodeAt(0),"A"<=t[i]&&t[i]<="Z"&&(n[i]-=64),(27==n[i]||31==n[i]||33==n[i]||59<=n[i])&&(n[i]=32);var o=m.create(Number,10);return o[0]=(3&n[5])<<4|3,o[1]=(3&n[4])<<4|(60&n[5])>>2,o[2]=(3&n[3])<<4|(60&n[4])>>2,o[3]=(3&n[2])<<4|(60&n[3])>>2,o[4]=(3&n[1])<<4|(60&n[2])>>2,o[5]=(3&n[0])<<4|(60&n[1])>>2,o[6]=(60&n[0])>>2|(3&e)<<4,o[7]=(252&e)>>2,o[8]=(768&e)>>8|(15&r)<<2,o[9]=(1008&r)>>4,o},g.prototype.encode=function(){if(this.eciMode=this.getEciEncoding(),!this.processTextToSymbols())throw new Error("Input data too long");var t,e,e,r,t;this.codewords=[],this.codewords.stimulsoft.addRange(this.character),this.mode==d.Mode2||this.mode==d.Mode3?this.codewords.splice(0,0,this.getPrimaryCodewords()):this.codewords.stimulsoft.insert(0,this.mode),1<this.structuredAppendTotal&&((t=m.create(Number,2))[0]=33,t[1]=this.structuredAppendPosition-1<<3|this.structuredAppendTotal-1,e=void 0,e=this.mode==d.Mode2||this.mode==d.Mode3?10:1,this.codewords.splice(e,0,t)),t=this.mode==d.Mode5?(r=68,56):(r=84,40);var r=r+10;this.codewords.length>r&&this.codewords.stimulsoft.removeRange(r,this.codewords.length-r);var r=m.create(Number,10);m.copy(this.codewords.stimulsoft.toArray(),0,r,10),this.codewords=this.codewords.slice(0,10).concat(g.getErrorCorrectionCodewords(r,10)).concat(this.codewords.slice(10));var n=m.create(Number,this.codewords.length-20);this.codewords.slice(20).stimulsoft.copyTo(n);for(var i=m.create(Number,n.length/2),o=m.create(Number,n.length/2),a=0;a<n.length;a++)0!=(1&a)?i[(a-1)/2]=n[a]:o[a/2]=n[a];for(var s=g.getErrorCorrectionCodewords(i,t/2),l=g.getErrorCorrectionCodewords(o,t/2),a=0;a<l.length;a++)this.codewords.push(l[a]),this.codewords.push(s[a]);for(var u=m.create(Number,7),a=0;a<33;a++)for(var c=0;c<30;c++){var p=Math.floor((g.grid_Map[30*a+c]+5)/6),h=(g.grid_Map[30*a+c]+5)%6;0!=p&&(u[0]=(32&this.codewords[p-1])>>5,u[1]=(16&this.codewords[p-1])>>4,u[2]=(8&this.codewords[p-1])>>3,u[3]=(4&this.codewords[p-1])>>2,u[4]=(2&this.codewords[p-1])>>1,u[5]=1&this.codewords[p-1],0!=u[h]?this.grid[a][c]=!0:this.grid[a][c]=!1)}this.grid[0][28]=!0,this.grid[0][29]=!0,this.grid[9][10]=!0,this.grid[9][11]=!0,this.grid[10][11]=!0,this.grid[15][7]=!0,this.grid[16][8]=!0,this.grid[16][20]=!0,this.grid[17][20]=!0,this.grid[22][10]=!0,this.grid[23][10]=!0,this.grid[22][17]=!0,this.grid[23][17]=!0},g.com_RS=String.fromCharCode(30),g.com_GS=String.fromCharCode(29),g.formatHeader="[)>"+g.com_RS+"01"+g.com_GS,g.formatTrailer=""+g.com_RS+String.fromCharCode(4),g.grid_Map=[122,121,128,127,134,133,140,139,146,145,152,151,158,157,164,163,170,169,176,175,182,181,188,187,194,193,200,199,0,0,124,123,130,129,136,135,142,141,148,147,154,153,160,159,166,165,172,171,178,177,184,183,190,189,196,195,202,201,817,0,126,125,132,131,138,137,144,143,150,149,156,155,162,161,168,167,174,173,180,179,186,185,192,191,198,197,204,203,819,818,284,283,278,277,272,271,266,265,260,259,254,253,248,247,242,241,236,235,230,229,224,223,218,217,212,211,206,205,820,0,286,285,280,279,274,273,268,267,262,261,256,255,250,249,244,243,238,237,232,231,226,225,220,219,214,213,208,207,822,821,288,287,282,281,276,275,270,269,264,263,258,257,252,251,246,245,240,239,234,233,228,227,222,221,216,215,210,209,823,0,290,289,296,295,302,301,308,307,314,313,320,319,326,325,332,331,338,337,344,343,350,349,356,355,362,361,368,367,825,824,292,291,298,297,304,303,310,309,316,315,322,321,328,327,334,333,340,339,346,345,352,351,358,357,364,363,370,369,826,0,294,293,300,299,306,305,312,311,318,317,324,323,330,329,336,335,342,341,348,347,354,353,360,359,366,365,372,371,828,827,410,409,404,403,398,397,392,391,80,79,0,0,14,13,38,37,3,0,45,44,110,109,386,385,380,379,374,373,829,0,412,411,406,405,400,399,394,393,82,81,41,0,16,15,40,39,4,0,0,46,112,111,388,387,382,381,376,375,831,830,414,413,408,407,402,401,396,395,84,83,42,0,0,0,0,0,6,5,48,47,114,113,390,389,384,383,378,377,832,0,416,415,422,421,428,427,104,103,56,55,17,0,0,0,0,0,0,0,21,20,86,85,434,433,440,439,446,445,834,833,418,417,424,423,430,429,106,105,58,57,0,0,0,0,0,0,0,0,23,22,88,87,436,435,442,441,448,447,835,0,420,419,426,425,432,431,108,107,60,59,0,0,0,0,0,0,0,0,0,24,90,89,438,437,444,443,450,449,837,836,482,481,476,475,470,469,49,0,31,0,0,0,0,0,0,0,0,0,0,1,54,53,464,463,458,457,452,451,838,0,484,483,478,477,472,471,50,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,466,465,460,459,454,453,840,839,486,485,480,479,474,473,52,51,32,0,0,0,0,0,0,0,0,0,0,2,0,43,468,467,462,461,456,455,841,0,488,487,494,493,500,499,98,97,62,61,0,0,0,0,0,0,0,0,0,27,92,91,506,505,512,511,518,517,843,842,490,489,496,495,502,501,100,99,64,63,0,0,0,0,0,0,0,0,29,28,94,93,508,507,514,513,520,519,844,0,492,491,498,497,504,503,102,101,66,65,18,0,0,0,0,0,0,0,19,30,96,95,510,509,516,515,522,521,846,845,560,559,554,553,548,547,542,541,74,73,33,0,0,0,0,0,0,11,68,67,116,115,536,535,530,529,524,523,847,0,562,561,556,555,550,549,544,543,76,75,0,0,8,7,36,35,12,0,70,69,118,117,538,537,532,531,526,525,849,848,564,563,558,557,552,551,546,545,78,77,0,34,10,9,26,25,0,0,72,71,120,119,540,539,534,533,528,527,850,0,566,565,572,571,578,577,584,583,590,589,596,595,602,601,608,607,614,613,620,619,626,625,632,631,638,637,644,643,852,851,568,567,574,573,580,579,586,585,592,591,598,597,604,603,610,609,616,615,622,621,628,627,634,633,640,639,646,645,853,0,570,569,576,575,582,581,588,587,594,593,600,599,606,605,612,611,618,617,624,623,630,629,636,635,642,641,648,647,855,854,728,727,722,721,716,715,710,709,704,703,698,697,692,691,686,685,680,679,674,673,668,667,662,661,656,655,650,649,856,0,730,729,724,723,718,717,712,711,706,705,700,699,694,693,688,687,682,681,676,675,670,669,664,663,658,657,652,651,858,857,732,731,726,725,720,719,714,713,708,707,702,701,696,695,690,689,684,683,678,677,672,671,666,665,660,659,654,653,859,0,734,733,740,739,746,745,752,751,758,757,764,763,770,769,776,775,782,781,788,787,794,793,800,799,806,805,812,811,861,860,736,735,742,741,748,747,754,753,760,759,766,765,772,771,778,777,784,783,790,789,796,795,802,801,808,807,814,813,862,0,738,737,744,743,750,749,756,755,762,761,768,767,774,773,780,779,786,785,792,791,798,797,804,803,810,809,816,815,864,863],g.codeSet_Map=[5,5,5,5,5,5,5,5,5,5,5,5,5,0,5,5,5,5,5,5,5,5,5,5,5,5,5,5,0,0,0,5,0,2,1,1,1,1,1,1,1,1,1,1,0,1,0,0,1,1,1,1,1,1,1,1,1,1,0,2,2,2,2,2,2,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,3,3,3,3,3,3,3,3,3,3,4,4,4,4,4,4,4,4,4,4,4,5,5,5,5,5,5,5,5,5,5,5,5,4,5,5,5,5,5,5,4,5,3,4,3,5,5,4,4,3,3,3,4,3,5,4,4,3,3,4,3,3,3,4,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4],g.charToSym_Map=[0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,30,28,29,30,35,32,53,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,52,53,54,55,56,57,58,37,38,39,40,41,52,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,42,43,44,45,46,0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,32,54,34,35,36,48,49,50,51,52,53,54,55,56,57,47,48,49,50,51,52,53,54,55,56,57,48,49,50,51,52,53,54,55,56,57,36,37,37,38,39,40,41,42,43,38,44,37,39,38,45,46,40,41,39,40,41,42,42,47,43,44,43,44,45,45,46,47,46,0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,32,33,34,35,36,0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,32,33,34,35,36],l=g,u=i.StiBarCodeTypeService,__extends(p,u),p.prototype.saveToJsonObject=function(t){var t=u.prototype.saveToJsonObject.call(this,t);return t.addPropertyEnum("Mode",d,this.mode,d.Mode4),t.addPropertyNumber("StructuredAppendPosition",this.structuredAppendPosition,1),t.addPropertyNumber("StructuredAppendTotal",this.structuredAppendTotal,1),t.addPropertyBool("ProcessTilde",this.processTilde,!0),t},p.prototype.loadFromJsonObject=function(t){var e,r;try{for(var n=__values(t.properties()),i=n.next();!i.done;i=n.next()){var o=i.value;switch(o.name){case"Mode":this.mode=a.parse(d,o.toString());break;case"StructuredAppendPosition":this.structuredAppendPosition=o.value.stimulsoft.toNumber();break;case"StructuredAppendTotal":this.structuredAppendTotal=o.value.stimulsoft.toNumber();break;case"ProcessTilde":this.processTilde=o.value.stimulsoft.toBoolean();break}}}catch(t){e={error:t}}finally{try{i&&!i.done&&(r=n.return)&&r.call(n)}finally{if(e)throw e.error}}},Object.defineProperty(p.prototype,"componentId",{get:function(){return r.StiComponentId.StiMaxicodeBarCodeType},enumerable:!1,configurable:!0}),Object.defineProperty(p.prototype,"serviceName",{get:function(){return"Maxicode"},enumerable:!1,configurable:!0}),Object.defineProperty(p.prototype,"defaultCodeValue",{get:function(){return"ABC abc 123"},enumerable:!1,configurable:!0}),Object.defineProperty(p.prototype,"module",{get:function(){return 10},set:function(t){},enumerable:!1,configurable:!0}),Object.defineProperty(p.prototype,"height",{get:function(){return 1},enumerable:!1,configurable:!0}),Object.defineProperty(p.prototype,"innerHeight",{set:function(t){},enumerable:!1,configurable:!0}),Object.defineProperty(p.prototype,"mode",{get:function(){return this._mode},set:function(t){this._mode=t},enumerable:!1,configurable:!0}),Object.defineProperty(p.prototype,"processTilde",{get:function(){return this._processTilde},set:function(t){this._processTilde=t},enumerable:!1,configurable:!0}),Object.defineProperty(p.prototype,"structuredAppendPosition",{get:function(){return this._structuredAppendPosition},set:function(t){this._structuredAppendPosition=t},enumerable:!1,configurable:!0}),Object.defineProperty(p.prototype,"structuredAppendTotal",{get:function(){return this._structuredAppendTotal},set:function(t){this._structuredAppendTotal=t},enumerable:!1,configurable:!0}),Object.defineProperty(p.prototype,"labelFontHeight",{get:function(){return this.defaultLabelFontHeight},enumerable:!1,configurable:!0}),Object.defineProperty(p.prototype,"visibleProperties",{get:function(){var t=m.create(Boolean,this.visiblePropertiesCount);return t[9]=!0,t[12]=!0,t[13]=!0,t[21]=!0,t},enumerable:!1,configurable:!0}),p.prototype.draw=function(t,e,r,n){var i=this.getCode(e);this.barCodeData.code=i;var i=new l(i,this.mode,this.structuredAppendPosition,this.structuredAppendTotal,this.processTilde);this.barCodeData.matrixGrid=i.matrix,null==i.errorMessage?this.drawMaxicode(t,r,e,n):this.drawBarCodeError2(t,r,e,i.errorMessage)},p.prototype.createNew=function(){return new p},t=p,i.StiMaxicodeBarCodeType=t}(Stimulsoft=Stimulsoft||{}),function(t){var e,r,n,f,S,a,y,t,o;function i(t,e,r,n){void 0===t&&(t=8),void 0===e&&(e=1),void 0===r&&(r=f.StiPlesseyCheckSum.None),void 0===n&&(n=f.StiPlesseyCheckSum.None);var i=o.call(this)||this;return i.plesseySymbols="0123456789ABCDEF",i.plesseyTable=["0000","1000","0100","1100","0010","1010","0110","1110","0001","1001","0101","1101","0011","1011","0111","1111"],i.plesseyStartCode="1101",i.plesseyStopCode="11",i._module=8,i._height=1,i._checkSum1=f.StiPlesseyCheckSum.None,i._checkSum2=f.StiPlesseyCheckSum.None,i.plesseySpaceLeft=4*5,i.plesseySpaceRight=4*5,i.plesseySpaceTop=0,i.plesseySpaceBottom=1,i.plesseyLineHeightShort=70,i.plesseyLineHeightLong=i.plesseyLineHeightShort,i.plesseyTextPosition=i.plesseyLineHeightShort+i.plesseySpaceBottom,i.plesseyTextHeight=11.5,i.plesseyMainHeight=84,i.plesseyLineHeightForCut=i.plesseyLineHeightShort,i._module=t,i._height=e,i._checkSum1=r,i._checkSum2=n,i}r=e=t.Report||(t.Report={}),f=n=r.BarCodes||(r.BarCodes={}),S=t.System.StiArray,a=t.System.Enum,y=t.System.Text.StringBuilder,o=f.StiBarCodeTypeService,__extends(i,o),i.prototype.saveToJsonObject=function(t){var t=o.prototype.saveToJsonObject.call(this,t);return t.addPropertyNumber("Module",this.module,8),t.addPropertyNumber("Height",this.height,1),t.addPropertyEnum("CheckSum1",f.StiPlesseyCheckSum,this.checkSum1,f.StiPlesseyCheckSum.None),t.addPropertyEnum("CheckSum2",f.StiPlesseyCheckSum,this.checkSum2,f.StiPlesseyCheckSum.None),t},i.prototype.loadFromJsonObject=function(t){var e,r;try{for(var n=__values(t.properties()),i=n.next();!i.done;i=n.next()){var o=i.value;switch(o.name){case"Module":this._module=o.value.stimulsoft.toNumber();break;case"Height":this._height=o.value.stimulsoft.toNumber();break;case"CheckSum1":this._checkSum1=a.parse(f.StiPlesseyCheckSum,o.value.toString());break;case"CheckSum2":this._checkSum2=a.parse(f.StiPlesseyCheckSum,o.value.toString());break}}}catch(t){e={error:t}}finally{try{i&&!i.done&&(r=n.return)&&r.call(n)}finally{if(e)throw e.error}}},i.prototype.loadFromXmlObject=function(t){o.prototype.loadFromXmlObject.call(this,t);for(var e=0;e<t.childNodes.length;e++){var r=t.childNodes[e];switch(r.nodeName){case"Module":this._module=r.textContent.stimulsoft.toNumber();break;case"Height":this.height=r.textContent.stimulsoft.toNumber();break;case"CheckSum1":this._checkSum1=a.parse(f.StiPlesseyCheckSum,r.textContent);break;case"CheckSum2":this._checkSum2=a.parse(f.StiPlesseyCheckSum,r.textContent);break}}},Object.defineProperty(i.prototype,"componentId",{get:function(){return r.StiComponentId.StiPlesseyBarCodeType},enumerable:!1,configurable:!0}),Object.defineProperty(i.prototype,"serviceName",{get:function(){return"Plessey"},enumerable:!1,configurable:!0}),Object.defineProperty(i.prototype,"defaultCodeValue",{get:function(){return"1234567"},enumerable:!1,configurable:!0}),Object.defineProperty(i.prototype,"module",{get:function(){return this._module},set:function(t){(this._module=t)<1&&(this._module=1),40<t&&(this._module=40)},enumerable:!1,configurable:!0}),Object.defineProperty(i.prototype,"height",{get:function(){return this._height},set:function(t){(this._height=t)<.5&&(this._height=.5),2<t&&(this._height=2)},enumerable:!1,configurable:!0}),Object.defineProperty(i.prototype,"checkSum1",{get:function(){return this._checkSum1},set:function(t){this._checkSum1=t,this._checkSum1==f.StiPlesseyCheckSum.None&&(this.checkSum2=f.StiPlesseyCheckSum.None)},enumerable:!1,configurable:!0}),Object.defineProperty(i.prototype,"checkSum2",{get:function(){return this._checkSum2},set:function(t){this._checkSum2=t,this._checkSum2!=f.StiPlesseyCheckSum.None&&this.checkSum1==f.StiPlesseyCheckSum.None&&(this.checkSum1=f.StiPlesseyCheckSum.Modulo10)},enumerable:!1,configurable:!0}),Object.defineProperty(i.prototype,"labelFontHeight",{get:function(){return this.plesseyTextHeight},enumerable:!1,configurable:!0}),Object.defineProperty(i.prototype,"visibleProperties",{get:function(){var t=S.create(Boolean,this.visiblePropertiesCount);return t[4]=!0,t[5]=!0,t[11]=!0,t[13]=!0,t},enumerable:!1,configurable:!0}),i.prototype.codeToBar=function(t){for(var e=new y,r=0;r<t.length;r++){var n=new y;"1"==t[r]?n.append("71"):n.append("53"),e.append(n)}return e.toString()},i.prototype.draw=function(t,e,r,n){var i=this.getCode(e),i=this.checkCodeSymbols(i,this.plesseySymbols),o=new y(i),a=i.length;this.checkSum1!=f.StiPlesseyCheckSum.None&&a++,this.checkSum2!=f.StiPlesseyCheckSum.None&&a++;for(var s=S.create(Number,a),l=0;l<i.length;l++)s[l]=this.plesseySymbols.indexOf(i.charAt(l));if(this.checkSum1!=f.StiPlesseyCheckSum.None){var u=0;if(this.checkSum1==f.StiPlesseyCheckSum.Modulo10){for(var c=0,p=0,h=1,m=!1,l=i.length-1;0<=l;l--)0==m?(c+=s[l]*h,h*=10):p+=s[l],m=!m;c*=2;var d=0;while(10<=c)d+=c%10,c=Math.floor(c/10);0!=(u=((d+=c)+p)%10)&&(u=10-u)}if(this.checkSum1==f.StiPlesseyCheckSum.Modulo11){for(var c=0,h=2,l=i.length-1;0<=l;l--)c+=s[l]*h,7<++h&&(h=2);0!=(u=c%11)&&(u=11-u)}s[i.length]=u,o.append(this.plesseySymbols[u])}if(this.checkSum2!=f.StiPlesseyCheckSum.None){var u=0;if(this.checkSum2==f.StiPlesseyCheckSum.Modulo10){for(var c=0,p=0,h=1,m=!1,l=i.length;0<=l;l--)0==m?(c+=s[l]*h,h*=10):p+=s[l],m=!m;c*=2;var d=0;while(10<=c)d+=c%10,c=Math.floor(c/10);0!=(u=((d+=c)+p)%10)&&(u=10-u)}if(this.checkSum2==f.StiPlesseyCheckSum.Modulo11){for(var c=0,h=2,l=i.length;0<=l;l--)c+=s[l]*h,7<++h&&(h=2);0!=(u=c%11)&&(u=11-u)}s[i.length+1]=u,o.append(this.plesseySymbols[u])}var g=new y;g.append(this.plesseyStartCode);for(var l=0;l<s.length;l++)g.append(this.plesseyTable[s[l]]);g.append(this.plesseyStopCode);var u=new y(this.codeToBar(g.toString()));this.calculateSizeFull(this.plesseySpaceLeft,this.plesseySpaceRight,this.plesseySpaceTop,this.plesseySpaceBottom,this.plesseyLineHeightShort,this.plesseyLineHeightLong,this.plesseyTextPosition,this.plesseyTextHeight,this.plesseyMainHeight,this.plesseyLineHeightForCut,1.667,n,i,o.toString(),u.toString(),r,e),this.drawBarCode(t,r,e)},i.prototype.createNew=function(){return new i},t=i,f.StiPlesseyBarCodeType=t}(Stimulsoft=Stimulsoft||{}),function(t){var e,r,n,f,S,y,t,i;function o(t,e,r,n){void 0===t&&(t=8),void 0===e&&(e=1),void 0===r&&(r=f.StiPlesseyCheckSum.Modulo10),void 0===n&&(n=f.StiPlesseyCheckSum.None);var n=i.call(this,t,e,r,n)||this;return n.msiTable=["0000","0001","0010","0011","0100","0101","0110","0111","1000","1001","1010","1011","1100","1101","1110","1111"],n.msiStartCode="1",n.msiStopCode="00",n}r=e=t.Report||(t.Report={}),f=n=r.BarCodes||(r.BarCodes={}),S=t.System.StiArray,y=t.System.Text.StringBuilder,i=f.StiPlesseyBarCodeType,__extends(o,i),Object.defineProperty(o.prototype,"componentId",{get:function(){return r.StiComponentId.StiMsiBarCodeType},enumerable:!1,configurable:!0}),Object.defineProperty(o.prototype,"serviceName",{get:function(){return"Msi"},enumerable:!1,configurable:!0}),Object.defineProperty(o.prototype,"defaultCodeValue",{get:function(){return"1234567"},enumerable:!1,configurable:!0}),Object.defineProperty(o.prototype,"visibleProperties",{get:function(){var t=S.create(Boolean,this.visiblePropertiesCount);return t[4]=!0,t[5]=!0,t[11]=!0,t[13]=!0,t},enumerable:!1,configurable:!0}),o.prototype.codeToBarMsi=function(t){for(var e=new y,r=0;r<t.length;r++){var n=new y;"1"==t[r]?n.append("71"):n.append("53"),e.append(n)}return e.toString()},o.prototype.draw=function(t,e,r,n){var i=this.getCode(e),i=this.checkCodeSymbols(i,this.plesseySymbols),o=new y(i),a=i.length;this.checkSum1!=f.StiPlesseyCheckSum.None&&a++,this.checkSum2!=f.StiPlesseyCheckSum.None&&a++;for(var s=S.create(Number,a),l=0;l<i.length;l++)s[l]=this.plesseySymbols.indexOf(i.charAt(l));if(this.checkSum1!=f.StiPlesseyCheckSum.None){var u=0;if(this.checkSum1==f.StiPlesseyCheckSum.Modulo10){for(var c=0,p=0,h=1,m=!1,l=i.length-1;0<=l;l--)0==m?(c+=s[l]*h,h*=10):p+=s[l],m=!m;c*=2;var d=0;while(10<=c)d+=c%10,c=Math.floor(c/10);0!=(u=((d+=c)+p)%10)&&(u=10-u)}if(this.checkSum1==f.StiPlesseyCheckSum.Modulo11){for(var c=0,h=2,l=i.length-1;0<=l;l--)c+=s[l]*h,7<++h&&(h=2);0!=(u=c%11)&&(u=11-u)}s[i.length]=u,o.append(this.plesseySymbols[u])}if(this.checkSum2!=f.StiPlesseyCheckSum.None){var u=0;if(this.checkSum2==f.StiPlesseyCheckSum.Modulo10){for(var c=0,p=0,h=1,m=!1,l=i.length;0<=l;l--)0==m?(c+=s[l]*h,h*=10):p+=s[l],m=!m;c*=2;var d=0;while(10<=c)d+=c%10,c=Math.floor(c/10);0!=(u=((d+=c)+p)%10)&&(u=10-u)}if(this.checkSum2==f.StiPlesseyCheckSum.Modulo11){for(var c=0,h=2,l=i.length;0<=l;l--)c+=s[l]*h,7<++h&&(h=2);0!=(u=c%11)&&(u=11-u)}s[i.length+1]=u,o.append(this.plesseySymbols[u])}var g=new y;g.append(this.msiStartCode);for(var l=0;l<s.length;l++)g.append(this.msiTable[s[l]]);g.append(this.msiStopCode);var u=new y(this.codeToBarMsi(g.toString()));this.calculateSizeFull(this.plesseySpaceLeft,this.plesseySpaceRight,this.plesseySpaceTop,this.plesseySpaceBottom,this.plesseyLineHeightShort,this.plesseyLineHeightLong,this.plesseyTextPosition,this.plesseyTextHeight,this.plesseyMainHeight,this.plesseyLineHeightForCut,1.667,n,i,o.toString(),u.toString(),r,e),this.drawBarCode(t,r,e)},o.prototype.createNew=function(){return new o},t=o,f.StiMsiBarCodeType=t}(Stimulsoft=Stimulsoft||{}),function(s){var t,l,e;l=t=s.Report||(s.Report={}),function(C){var v=s.System.StiArray,a=s.System.Enum,w,t,B,t,S,t,y,t;(t=w=w||{})[t["Text"]=0]="Text",t[t["Numeric"]=1]="Numeric",t[t["Byte"]=2]="Byte",(t=B=B||{})[t["TextMode"]=900]="TextMode",t[t["NumericMode"]=902]="NumericMode",t[t["ByteMode"]=901]="ByteMode",t[t["ByteMode6"]=924]="ByteMode6",(t=S=S||{})[t["None"]=0]="None",t[t["Upper"]=1]="Upper",t[t["Lower"]=2]="Lower",t[t["Mixed"]=4]="Mixed",t[t["Punctuation"]=8]="Punctuation",(t=y=y||{})[t["None"]=-1]="None",t[t["Punctuation"]=25]="Punctuation",t[t["Space"]=26]="Space",t[t["Lower"]=27]="Lower",t[t["TempUpper"]=27]="TempUpper",t[t["Mixed"]=28]="Mixed",t[t["UpperFromMixed"]=28]="UpperFromMixed",t[t["TempPunctuation"]=29]="TempPunctuation",t[t["UpperFromPunctuation"]=29]="UpperFromPunctuation";var n=e;function e(t,e,r){this.type=t,this.start=e,this.length=r}var I=(r.prototype.addSegment=function(t,e,r){this.list.push(new n(t,e,r))},r.prototype.getSegment=function(t){return this.list[t]},Object.defineProperty(r.prototype,"size",{get:function(){return this.list.length},enumerable:!1,configurable:!0}),r);function r(){this.list=[]}var o=(Object.defineProperty(p.prototype,"matrix",{get:function(){return this._matrix},enumerable:!1,configurable:!0}),Object.defineProperty(p.prototype,"matrixWidth",{get:function(){return this._matrixWidth},enumerable:!1,configurable:!0}),Object.defineProperty(p.prototype,"matrixHeight",{get:function(){return this.codeRows},enumerable:!1,configurable:!0}),Object.defineProperty(p.prototype,"errorMessage",{get:function(){return this._errorMessage},enumerable:!1,configurable:!0}),p.prototype.makeOutBits=function(){var t=0;this._matrixWidth=(1+1+this.codeColumns+1+1)*this.codeWordLength+1,this._matrix=v.create(Number,this.matrixWidth*this.codeRows);for(var e,r={ref:0},n=0;n<this.codeRows;n++){this.outCodeword(this.startPatternCode,r,this.codeWordLength);var i=n%3,o=30*Math.floor(n/3);switch(i){case 0:o+=Math.floor((this.codeRows-1)/3);break;case 1:o+=3*this.errorLevel+(this.codeRows-1)%3;break;default:o+=this.codeColumns-1;break}this.outCodeword(p.clustersData[i][o],r,this.codeWordLength);for(var a=0;a<this.codeColumns;a++)this.outCodeword(p.clustersData[i][this.codewords[t++]],r,this.codeWordLength);switch(o=30*Math.floor(n/3),i){case 0:o+=this.codeColumns-1;break;case 1:o+=Math.floor((this.codeRows-1)/3);break;default:o+=3*this.errorLevel+(this.codeRows-1)%3;break}this.outCodeword(p.clustersData[i][o],r,this.codeWordLength),this.outCodeword(this.stopPatternCode,r,this.codeWordLength+1)}},p.prototype.outCodeword=function(t,e,r){for(var n=e.ref,i=0;i<r;i++){var o=n+r-i-1;this.matrix[o]=0!=(1&t)?1:0,t>>=1}n+=r,e.ref=n},p.prototype.calculateErrorCorrection=function(t){for(var e=t,r=929,n=2<<this.errorLevel,i=0;i<n;i++)this.codewords[e+i]=0;for(var o=n-1,a=0;a<t;a++)for(var s=this.codewords[a]+this.codewords[e],l=0;l<=o;l++){var u,c=r-s*p.errorLevelData[this.errorLevel][o-l]%r;this.codewords[e+l]=((l==o?0:this.codewords[e+l+1])+c)%r}for(var i=0;i<n;i++)this.codewords[e+i]=(r-this.codewords[e+i])%r},p.prototype.dataCompaction=function(t){for(var e=1,r={ref:e},n=0;n<t.size;n++){var i=t.getSegment(n);switch(i.type){case w.Text:this.textCompaction(i,r);break;case w.Numeric:this.numberCompaction(i,r);break;case w.Byte:this.byteCompaction(i,r);break}}return e=r.ref},p.prototype.getSubMode=function(t,e){var r=this.text[t];if(r>="A".charCodeAt(0)&&r<="Z".charCodeAt(0))return e.ref=r-"A".charCodeAt(0),S.Upper;if(r>="a".charCodeAt(0)&&r<="z".charCodeAt(0))return e.ref=r-"a".charCodeAt(0),S.Lower;if(r==" ".charCodeAt(0))return e.ref=y.Space,S.Upper|S.Lower|S.Mixed;var t="0123456789&\r\t,:#-.$/+%*=^".indexOf(String.fromCharCode(r)),r=";<>@[\\]_`~!\r\t,:\n-.$/\"|*()?{}'".indexOf(String.fromCharCode(r));if(-1==t&&-1==r)return e.ref=0,S.None;if(t==r)return e.ref=t,S.Mixed|S.Punctuation;if(-1!=t)return e.ref=t,S.Mixed;return e.ref=r,S.Punctuation},p.prototype.textCompaction=function(t,e){var r=e.ref;1!=r&&(this.codewords[r++]=B.TextMode);for(var n=t.start,i=t.length,o=v.create(Number,3*i),a=S.Upper,s=0,l=n;l<n+i;l++){var u=void 0,c=y.None,p=y.None,h={ref:u},m=this.getSubMode(l,h),u=h.ref;if(0!=(m&a)){o[s++]=u;continue}var d=S.None,g,h,d;switch(l+2<i&&(h={ref:void 0},d=this.getSubMode(l+1,h)&this.getSubMode(l+2,h)),a){case S.Upper:0!=(m&S.Lower)?(c=y.Lower,a=S.Lower):0!=(m&S.Mixed)?(c=y.Mixed,a=S.Mixed):0!=(d&S.Punctuation)?(c=y.Mixed,p=y.Punctuation,a=S.Punctuation):c=y.TempPunctuation;break;case S.Lower:0!=(m&S.Upper)?0!=(d&S.Upper)?(c=y.Mixed,p=y.UpperFromMixed,a=S.Upper):c=y.TempUpper:0!=(m&S.Mixed)?(c=y.Mixed,a=S.Mixed):0!=(d&S.Punctuation)?(c=y.Mixed,p=y.Punctuation,a=S.Punctuation):c=y.TempPunctuation;break;case S.Mixed:0!=(m&S.Lower)?(c=y.Lower,a=S.Lower):0!=(m&S.Upper)?(c=y.UpperFromMixed,a=S.Upper):0!=(d&S.Punctuation)?(c=y.Punctuation,a=S.Punctuation):c=y.TempPunctuation;break;case S.Punctuation:o[s++]=y.UpperFromPunctuation,a=S.Upper,l--;continue}c!=y.None&&(o[s++]=c),p!=y.None&&(o[s++]=p),o[s++]=u}0!=(1&s)&&(o[s++]=y.TempPunctuation);var f=s,s=0;while(s<f)this.codewords[r++]=30*o[s]+o[s+1],s+=2;e.ref=r},p.prototype.numberCompaction=function(t,e){var r=e.ref;this.codewords[r++]=B.NumericMode;var n=t.start,i=t.length;while(0<i){for(var o=i<44?i:44,a=Math.floor(o/3),s=0;s<=a;s++)this.codewords[r+s]=0;this.codewords[r+a]=1;for(var l=n;l<n+o;l++){for(var s=a;0<=s;s--)this.codewords[r+s]*=10;this.codewords[r+a]+=this.text[l]-"0".charCodeAt(0);for(var s=a;0<s;s--){var u=this.codewords[r+s];900<=u&&(this.codewords[r+s-1]+=Math.floor(u/900),this.codewords[r+s]=u%900)}}r+=a+1,n+=o,i-=o}e.ref=r},p.prototype.byteCompaction=function(t,e){var r=e.ref;this.codewords[r++]=t.length%6!=0?B.ByteMode:B.ByteMode6;var n=t.start,i=t.length;while(6<=i){var o=this.text[n];o*=256,o+=this.text[n+1],o*=256,o+=this.text[n+2],o*=256,o+=this.text[n+3],o*=256,o+=this.text[n+4],o*=256,o+=this.text[n+5],this.codewords[r+4]=Math.trunc(o%900),o=Math.floor(o/900),this.codewords[r+3]=Math.trunc(o%900),o=Math.floor(o/900),this.codewords[r+2]=Math.trunc(o%900),o=Math.floor(o/900),this.codewords[r+1]=Math.trunc(o%900),o=Math.floor(o/900),this.codewords[r+0]=Math.trunc(o%900),r+=5,n+=6,i-=6}if(0<i)for(var a=0;a<i;a++)this.codewords[r++]=this.text[n+a];e.ref=r},p.clustersData=[[120256,125680,128380,120032,125560,128318,108736,119920,108640,86080,108592,86048,110016,120560,125820,109792,120440,125758,88256,109680,88160,89536,110320,120700,89312,110200,120638,89200,110140,89840,110460,89720,110398,89980,128506,119520,125304,128190,107712,119408,125244,107616,119352,84032,107568,119324,84e3,107544,83984,108256,119672,125374,85184,108144,119612,85088,108088,119582,85040,108060,85728,108408,119742,85616,108348,85560,108318,85880,108478,85820,85790,107200,119152,125116,107104,119096,125086,83008,107056,119068,82976,107032,82960,82952,83648,107376,119228,83552,107320,119198,83504,107292,83480,83468,83824,107452,83768,107422,83740,83900,106848,118968,125022,82496,106800,118940,82464,106776,118926,82448,106764,82440,106758,82784,106936,119006,82736,106908,82712,106894,82700,82694,106974,82830,82240,106672,118876,82208,106648,118862,82192,106636,82184,106630,82180,82352,82328,82316,82080,118830,106572,106566,82050,117472,124280,127678,103616,117360,124220,103520,117304,124190,75840,103472,75808,104160,117624,124350,76992,104048,117564,76896,103992,76848,76824,77536,104312,117694,77424,104252,77368,77340,77688,104382,77628,77758,121536,126320,128700,121440,126264,128670,111680,121392,126236,111648,121368,126222,111632,121356,103104,117104,124092,112320,103008,117048,124062,112224,121656,126366,93248,74784,102936,117006,93216,112152,93200,75456,103280,117180,93888,75360,103224,117150,93792,112440,121758,93744,75288,93720,75632,103356,94064,75576,103326,94008,112542,93980,75708,94140,75678,94110,121184,126136,128606,111168,121136,126108,111136,121112,126094,111120,121100,111112,111108,102752,116920,123998,111456,102704,116892,91712,74272,121244,116878,91680,74256,102668,91664,111372,102662,74244,74592,102840,116958,92e3,74544,102812,91952,111516,102798,91928,74508,74502,74680,102878,92088,74652,92060,74638,92046,92126,110912,121008,126044,110880,120984,126030,110864,120972,110856,120966,110852,110850,74048,102576,116828,90944,74016,102552,116814,90912,111e3,121038,90896,73992,102534,90888,110982,90884,74160,102620,91056,74136,102606,91032,111054,91020,74118,91014,91100,91086,110752,120920,125998,110736,120908,110728,120902,110724,110722,73888,102488,116782,90528,73872,102476,90512,110796,102470,90504,73860,90500,73858,73944,90584,90572,90566,120876,120870,110658,102444,73800,90312,90308,90306,101056,116080,123580,100960,116024,70720,100912,115996,70688,100888,70672,70664,71360,101232,116156,71264,101176,116126,71216,101148,71192,71180,71536,101308,71480,101278,71452,71612,71582,118112,124600,127838,105024,118064,124572,104992,118040,124558,104976,118028,104968,118022,100704,115896,123486,105312,100656,115868,79424,70176,118172,115854,79392,105240,100620,79376,70152,79368,70496,100792,115934,79712,70448,118238,79664,105372,100750,79640,70412,79628,70584,100830,79800,70556,79772,70542,70622,79838,122176,126640,128860,122144,126616,128846,122128,126604,122120,126598,122116,104768,117936,124508,113472,104736,126684,124494,113440,122264,126670,113424,104712,117894,113416,122246,104706,69952,100528,115804,78656,69920,100504,115790,96064,78624,104856,117966,96032,113560,122318,100486,96016,78600,104838,96008,69890,70064,100572,78768,70040,100558,96176,78744,104910,96152,113614,70022,78726,70108,78812,70094,96220,78798,122016,126552,128814,122e3,126540,121992,126534,121988,121986,104608,117848,124462,113056,104592,126574,113040,122060,117830,113032,104580,113028,104578,113026,69792,100440,115758,78240,69776,100428,95136,78224,104652,100422,95120,113100,69764,95112,78212,69762,78210,69848,100462,78296,69836,95192,78284,69830,95180,78278,69870,95214,121936,126508,121928,126502,121924,121922,104528,117804,112848,104520,117798,112840,121958,112836,104514,112834,69712,100396,78032,69704,100390,94672,78024,104550,94664,112870,69698,94660,78018,94658,78060,94700,94694,126486,121890,117782,104484,104482,69672,77928,94440,69666,77922,99680,68160,99632,68128,99608,115342,68112,99596,68104,99590,68448,99768,115422,68400,99740,68376,99726,68364,68358,68536,99806,68508,68494,68574,101696,116400,123740,101664,116376,101648,116364,101640,116358,101636,67904,99504,115292,72512,67872,116444,115278,72480,101784,116430,72464,67848,99462,72456,101766,67842,68016,99548,72624,67992,99534,72600,101838,72588,67974,68060,72668,68046,72654,118432,124760,127918,118416,124748,118408,124742,118404,118402,101536,116312,105888,101520,116300,105872,118476,116294,105864,101508,105860,101506,105858,67744,99416,72096,67728,116334,80800,72080,101580,99398,80784,105932,67716,80776,72068,67714,72066,67800,99438,72152,67788,80856,72140,67782,80844,72134,67822,72174,80878,126800,128940,126792,128934,126788,126786,118352,124716,122576,126828,124710,122568,126822,122564,118338,122562,101456,116268,105680,101448,116262,114128,105672,118374,114120,122598,101442,114116,105666,114114,67664,99372,71888,67656,99366,80336,71880,101478,97232,80328,105702,67650,97224,114150,71874,97220,67692,71916,67686,80364,71910,97260,80358,97254,126760,128918,126756,126754,118312,124694,122472,126774,122468,118306,122466,101416,116246,105576,101412,113896,105572,101410,113892,105570,113890,67624,99350,71784,101430,80104,71780,67618,96744,80100,71778,96740,80098,96738,71798,96758,126738,122420,122418,105524,113780,113778,71732,79988,96500,96498,66880,66848,98968,66832,66824,66820,66992,66968,66956,66950,67036,67022,1e5,99984,115532,99976,115526,99972,99970,66720,98904,69024,100056,98892,69008,100044,69e3,100038,68996,66690,68994,66776,98926,69080,100078,69068,66758,69062,66798,69102,116560,116552,116548,116546,99920,102096,116588,115494,102088,116582,102084,99906,102082,66640,68816,66632,98854,73168,68808,66628,73160,68804,66626,73156,68802,66668,68844,66662,73196,68838,73190,124840,124836,124834,116520,118632,124854,118628,116514,118626,99880,115478,101992,116534,106216,101988,99874,106212,101986,106210,66600,98838,68712,99894,72936,68708,66594,81384,72932,68706,81380,72930,66614,68726,72950,81398,128980,128978,124820,126900,124818,126898,116500,118580,116498,122740,118578,122738,99860,101940,99858,106100,101938,114420],[128352,129720,125504,128304,129692,125472,128280,129678,125456,128268,125448,128262,125444,125792,128440,129758,120384,125744,128412,120352,125720,128398,120336,125708,120328,125702,120324,120672,125880,128478,110144,120624,125852,110112,120600,125838,110096,120588,110088,120582,110084,110432,120760,125918,89664,110384,120732,89632,110360,120718,89616,110348,89608,110342,89952,110520,120798,89904,110492,89880,110478,89868,90040,110558,90012,89998,125248,128176,129628,125216,128152,129614,125200,128140,125192,128134,125188,125186,119616,125360,128220,119584,125336,128206,119568,125324,119560,125318,119556,119554,108352,119728,125404,108320,119704,125390,108304,119692,108296,119686,108292,108290,85824,108464,119772,85792,108440,119758,85776,108428,85768,108422,85764,85936,108508,85912,108494,85900,85894,85980,85966,125088,128088,129582,125072,128076,125064,128070,125060,125058,119200,125144,128110,119184,125132,119176,125126,119172,119170,107424,119256,125166,107408,119244,107400,119238,107396,107394,83872,107480,119278,83856,107468,83848,107462,83844,83842,83928,107502,83916,83910,83950,125008,128044,125e3,128038,124996,124994,118992,125036,118984,125030,118980,118978,106960,119020,106952,119014,106948,106946,82896,106988,82888,106982,82884,82882,82924,82918,124968,128022,124964,124962,118888,124982,118884,118882,106728,118902,106724,106722,82408,106742,82404,82402,124948,124946,118836,118834,106612,106610,124224,127664,129372,124192,127640,129358,124176,127628,124168,127622,124164,124162,117568,124336,127708,117536,124312,127694,117520,124300,117512,124294,117508,117506,104256,117680,124380,104224,117656,124366,104208,117644,104200,117638,104196,104194,77632,104368,117724,77600,104344,117710,77584,104332,77576,104326,77572,77744,104412,77720,104398,77708,77702,77788,77774,128672,129880,93168,128656,129868,92664,128648,129862,92412,128644,128642,124064,127576,129326,126368,124048,129902,126352,128716,127558,126344,124036,126340,124034,126338,117152,124120,127598,121760,117136,124108,121744,126412,124102,121736,117124,121732,117122,121730,103328,117208,124142,112544,103312,117196,112528,121804,117190,112520,103300,112516,103298,112514,75680,103384,117230,94112,75664,103372,94096,112588,103366,94088,75652,94084,75650,75736,103406,94168,75724,94156,75718,94150,75758,128592,129836,91640,128584,129830,91388,128580,91262,128578,123984,127532,126160,123976,127526,126152,128614,126148,123970,126146,116944,124012,121296,116936,124006,121288,126182,121284,116930,121282,102864,116972,111568,102856,116966,111560,121318,111556,102850,111554,74704,102892,92112,74696,102886,92104,111590,92100,74690,92098,74732,92140,74726,92134,128552,129814,90876,128548,90750,128546,123944,127510,126056,128566,126052,123938,126050,116840,123958,121064,116836,121060,116834,121058,102632,116854,111080,121078,111076,102626,111074,74216,102646,91112,74212,91108,74210,91106,74230,91126,128532,90494,128530,123924,126004,123922,126002,116788,120948,116786,120946,102516,110836,102514,110834,73972,90612,73970,90610,128522,123914,125978,116762,120890,102458,110714,123552,127320,129198,123536,127308,123528,127302,123524,123522,116128,123608,127342,116112,123596,116104,123590,116100,116098,101280,116184,123630,101264,116172,101256,116166,101252,101250,71584,101336,116206,71568,101324,71560,101318,71556,71554,71640,101358,71628,71622,71662,127824,129452,79352,127816,129446,79100,127812,78974,127810,123472,127276,124624,123464,127270,124616,127846,124612,123458,124610,115920,123500,118224,115912,123494,118216,124646,118212,115906,118210,100816,115948,105424,100808,115942,105416,118246,105412,100802,105410,70608,100844,79824,70600,100838,79816,105446,79812,70594,79810,70636,79852,70630,79846,129960,95728,113404,129956,95480,113278,129954,95356,95294,127784,129430,78588,128872,129974,95996,78462,128868,127778,95870,128866,123432,127254,124520,123428,126696,128886,123426,126692,124514,126690,115816,123446,117992,115812,122344,117988,115810,122340,117986,122338,100584,115830,104936,100580,113640,104932,100578,113636,104930,113634,70120,100598,78824,70116,96232,78820,70114,96228,78818,96226,70134,78838,129940,94968,113022,129938,94844,94782,127764,78206,128820,127762,95102,128818,123412,124468,123410,126580,124466,126578,115764,117876,115762,122100,117874,122098,100468,104692,100466,113140,104690,113138,69876,78324,69874,95220,78322,95218,129930,94588,94526,127754,128794,123402,124442,126522,115738,117818,121978,100410,104570,112890,69754,78074,94714,94398,123216,127148,123208,127142,123204,123202,115408,123244,115400,123238,115396,115394,99792,115436,99784,115430,99780,99778,68560,99820,68552,99814,68548,68546,68588,68582,127400,129238,72444,127396,72318,127394,123176,127126,123752,123172,123748,123170,123746,115304,123190,116456,115300,116452,115298,116450,99560,115318,101864,99556,101860,99554,101858,68072,99574,72680,68068,72676,68066,72674,68086,72694,129492,80632,105854,129490,80508,80446,127380,72062,127924,127378,80766,127922,123156,123700,123154,124788,123698,124786,115252,116340,115250,118516,116338,118514,99444,101620,99442,105972,101618,105970,67828,72180,67826,80884,72178,80882,97008,114044,96888,113982,96828,96798,129482,80252,130010,97148,80190,97086,127370,127898,128954,123146,123674,124730,126842,115226,116282,118394,122618,99386,101498,105722,114170,67706,71930,80378,96632,113854,96572,96542,80062,96702,96444,96414,96350,123048,123044,123042,115048,123062,115044,115042,99048,115062,99044,99042,67048,99062,67044,67042,67062,127188,68990,127186,123028,123316,123026,123314,114996,115572,114994,115570,98932,100084,98930,100082,66804,69108,66802,69106,129258,73084,73022,127178,127450,123018,123290,123834,114970,115514,116602,98874,99962,102138,66682,68858,73210,81272,106174,81212,81182,72894,81342,97648,114364,97592,114334,97564,97550,81084,97724,81054,97694,97464,114270,97436,97422,80990,97502,97372,97358,97326,114868,114866,98676,98674,66292,66290,123098,114842,115130,98618,99194,66170,67322,69310,73404,73374,81592,106334,81564,81550,73310,81630,97968,114524,97944,114510,97932,97926,81500,98012,81486,97998,97880,114478,97868,97862,81454,97902,97836,97830,69470,73564,73550,81752,106414,81740,81734,73518,81774,81708,81702],[109536,120312,86976,109040,120060,86496,108792,119934,86256,108668,86136,129744,89056,110072,129736,88560,109820,129732,88312,109694,129730,88188,128464,129772,89592,128456,129766,89340,128452,89214,128450,125904,128492,125896,128486,125892,125890,120784,125932,120776,125926,120772,120770,110544,120812,110536,120806,110532,84928,108016,119548,84448,107768,119422,84208,107644,84088,107582,84028,129640,85488,108284,129636,85240,108158,129634,85116,85054,128232,129654,85756,128228,85630,128226,125416,128246,125412,125410,119784,125430,119780,119778,108520,119798,108516,108514,83424,107256,119166,83184,107132,83064,107070,83004,82974,129588,83704,107390,129586,83580,83518,128116,83838,128114,125172,125170,119284,119282,107508,107506,82672,106876,82552,106814,82492,82462,129562,82812,82750,128058,125050,119034,82296,106686,82236,82206,82366,82108,82078,76736,103920,117500,76256,103672,117374,76016,103548,75896,103486,75836,129384,77296,104188,129380,77048,104062,129378,76924,76862,127720,129398,77564,127716,77438,127714,124392,127734,124388,124386,117736,124406,117732,117730,104424,117750,104420,104418,112096,121592,126334,92608,111856,121468,92384,111736,121406,92272,111676,92216,111646,92188,75232,103160,117118,93664,74992,103036,93424,112252,102974,93304,74812,93244,74782,93214,129332,75512,103294,129908,129330,93944,75388,129906,93820,75326,93758,127604,75646,128756,127602,94078,128754,124148,126452,124146,126450,117236,121844,117234,121842,103412,103410,91584,111344,121212,91360,111224,121150,91248,111164,91192,111134,91164,91150,74480,102780,91888,74360,102718,91768,111422,91708,74270,91678,129306,74620,129850,92028,74558,91966,127546,128634,124026,126202,116986,121338,102906,90848,110968,121022,90736,110908,90680,110878,90652,90638,74104,102590,91e3,74044,90940,74014,90910,74174,91070,90480,110780,90424,110750,90396,90382,73916,90556,73886,90526,90296,110686,90268,90254,73822,90334,90204,90190,71136,101112,116094,70896,100988,70776,100926,70716,70686,129204,71416,101246,129202,71292,71230,127348,71550,127346,123636,123634,116212,116210,101364,101362,79296,105200,118140,79072,105080,118078,78960,105020,78904,104990,78876,78862,70384,100732,79600,70264,100670,79480,105278,79420,70174,79390,129178,70524,129466,79740,70462,79678,127290,127866,123514,124666,115962,118266,100858,113376,122232,126654,95424,113264,122172,95328,113208,122142,95280,113180,95256,113166,95244,78560,104824,117950,95968,78448,104764,95856,113468,104734,95800,78364,95772,78350,95758,70008,100542,78712,69948,96120,78652,69918,96060,78622,96030,70078,78782,96190,94912,113008,122044,94816,112952,122014,94768,112924,94744,112910,94732,94726,78192,104636,95088,78136,104606,95032,113054,95004,78094,94990,69820,78268,69790,95164,78238,95134,94560,112824,121950,94512,112796,94488,112782,94476,94470,78008,104542,94648,77980,94620,77966,94606,69726,78046,94686,94384,112732,94360,112718,94348,94342,77916,94428,77902,94414,94296,112686,94284,94278,77870,94318,94252,94246,68336,99708,68216,99646,68156,68126,68476,68414,127162,123258,115450,99834,72416,101752,116414,72304,101692,72248,101662,72220,72206,67960,99518,72568,67900,72508,67870,72478,68030,72638,80576,105840,118460,80480,105784,118430,80432,105756,80408,105742,80396,80390,72048,101564,80752,71992,101534,80696,71964,80668,71950,80654,67772,72124,67742,80828,72094,80798,114016,122552,126814,96832,113968,122524,96800,113944,122510,96784,113932,96776,113926,96772,80224,105656,118366,97120,80176,105628,97072,114076,105614,97048,80140,97036,80134,97030,71864,101470,80312,71836,97208,80284,71822,97180,80270,97166,67678,71902,80350,97246,96576,113840,122460,96544,113816,122446,96528,113804,96520,113798,96516,96514,80048,105564,96688,80024,105550,96664,113870,96652,80006,96646,71772,80092,71758,96732,80078,96718,96416,113752,122414,96400,113740,96392,113734,96388,96386,79960,105518,96472,79948,96460,79942,96454,71726,79982,96494,96336,113708,96328,113702,96324,96322,79916,96364,79910,96358,96296,113686,96292,96290,79894,96310,66936,99006,66876,66846,67006,68976,100028,68920,99998,68892,68878,66748,69052,66718,69022,73056,102072,116574,73008,102044,72984,102030,72972,72966,68792,99934,73144,68764,73116,68750,73102,66654,68830,73182,81216,106160,118620,81184,106136,118606,81168,106124,81160,106118,81156,81154,72880,101980,81328,72856,101966,81304,106190,81292,72838,81286,68700,72924,68686,81372,72910,81358,114336,122712,126894,114320,122700,114312,122694,114308,114306,81056,106072,118574,97696,81040,106060,97680,114380,106054,97672,81028,97668,81026,97666,72792,101934,81112,72780,97752,81100,72774,97740,81094,97734,68654,72814,81134,97774,114256,122668,114248,122662,114244,114242,80976,106028,97488,80968,106022,97480,114278,97476,80962,97474,72748,81004,72742,97516,80998,97510,114216,122646,114212,114210,80936,106006,97384,80932,97380,80930,97378,72726,80950,97398,114196,114194,80916,97332,80914,97330,66236,66206,67256,99166,67228,67214,66142,67294,69296,100188,69272,100174,69260,69254,67164,69340,67150,69326,73376,102232,116654,73360,102220,73352,102214,73348,73346,69208,100142,73432,102254,73420,69190,73414,67118,69230,73454,106320,118700,106312,118694,106308,106306,73296,102188,81616,106348,102182,81608,73284,81604,73282,81602,69164,73324,69158,81644,73318,81638,122792,126934,122788,122786,106280,118678,114536,106276,114532,106274,114530,73256,102166,81512,73252,98024,81508,73250,98020,81506,98018,69142,73270,81526,98038,122772,122770,106260,114484,106258,114482,73236,81460,73234,97908,81458,97906,122762,106250,114458,73226,81434,97850,66396,66382,67416,99246,67404,67398,66350,67438,69456,100268,69448,100262,69444,69442,67372,69484,67366,69478,102312,116694,102308,102306,69416,100246,73576,102326,73572,69410,73570,67350,69430,73590,118740,118738,102292,106420,102290,106418,69396,73524,69394,81780,73522,81778,118730,102282,106394,69386,73498,81722,66476,66470,67496,99286,67492,67490,66454,67510,100308,100306,67476,69556,67474,69554,116714]],p.errorLevelData=[[27,917],[522,568,723,809],[237,308,436,284,646,653,428,379],[274,562,232,755,599,524,801,132,295,116,442,428,295,42,176,65],[361,575,922,525,176,586,640,321,536,742,677,742,687,284,193,517,273,494,263,147,593,800,571,320,803,133,231,390,685,330,63,410],[539,422,6,93,862,771,453,106,610,287,107,505,733,877,381,612,723,476,462,172,430,609,858,822,543,376,511,400,672,762,283,184,440,35,519,31,460,594,225,535,517,352,605,158,651,201,488,502,648,733,717,83,404,97,280,771,840,629,4,381,843,623,264,543],[521,310,864,547,858,580,296,379,53,779,897,444,400,925,749,415,822,93,217,208,928,244,583,620,246,148,447,631,292,908,490,704,516,258,457,907,594,723,674,292,272,96,684,432,686,606,860,569,193,219,129,186,236,287,192,775,278,173,40,379,712,463,646,776,171,491,297,763,156,732,95,270,447,90,507,48,228,821,808,898,784,663,627,378,382,262,380,602,754,336,89,614,87,432,670,616,157,374,242,726,600,269,375,898,845,454,354,130,814,587,804,34,211,330,539,297,827,865,37,517,834,315,550,86,801,4,108,539],[524,894,75,766,882,857,74,204,82,586,708,250,905,786,138,720,858,194,311,913,275,190,375,850,438,733,194,280,201,280,828,757,710,814,919,89,68,569,11,204,796,605,540,913,801,700,799,137,439,418,592,668,353,859,370,694,325,240,216,257,284,549,209,884,315,70,329,793,490,274,877,162,749,812,684,461,334,376,849,521,307,291,803,712,19,358,399,908,103,511,51,8,517,225,289,470,637,731,66,255,917,269,463,830,730,433,848,585,136,538,906,90,2,290,743,199,655,903,329,49,802,580,355,588,188,462,10,134,628,320,479,130,739,71,263,318,374,601,192,605,142,673,687,234,722,384,177,752,607,640,455,193,689,707,805,641,48,60,732,621,895,544,261,852,655,309,697,755,756,60,231,773,434,421,726,528,503,118,49,795,32,144,500,238,836,394,280,566,319,9,647,550,73,914,342,126,32,681,331,792,620,60,609,441,180,791,893,754,605,383,228,749,760,213,54,297,134,54,834,299,922,191,910,532,609,829,189,20,167,29,872,449,83,402,41,656,505,579,481,173,404,251,688,95,497,555,642,543,307,159,924,558,648,55,497,10],[352,77,373,504,35,599,428,207,409,574,118,498,285,380,350,492,197,265,920,155,914,299,229,643,294,871,306,88,87,193,352,781,846,75,327,520,435,543,203,666,249,346,781,621,640,268,794,534,539,781,408,390,644,102,476,499,290,632,545,37,858,916,552,41,542,289,122,272,383,800,485,98,752,472,761,107,784,860,658,741,290,204,681,407,855,85,99,62,482,180,20,297,451,593,913,142,808,684,287,536,561,76,653,899,729,567,744,390,513,192,516,258,240,518,794,395,768,848,51,610,384,168,190,826,328,596,786,303,570,381,415,641,156,237,151,429,531,207,676,710,89,168,304,402,40,708,575,162,864,229,65,861,841,512,164,477,221,92,358,785,288,357,850,836,827,736,707,94,8,494,114,521,2,499,851,543,152,729,771,95,248,361,578,323,856,797,289,51,684,466,533,820,669,45,902,452,167,342,244,173,35,463,651,51,699,591,452,578,37,124,298,332,552,43,427,119,662,777,475,850,764,364,578,911,283,711,472,420,245,288,594,394,511,327,589,777,699,688,43,408,842,383,721,521,560,644,714,559,62,145,873,663,713,159,672,729,624,59,193,417,158,209,563,564,343,693,109,608,563,365,181,772,677,310,248,353,708,410,579,870,617,841,632,860,289,536,35,777,618,586,424,833,77,597,346,269,757,632,695,751,331,247,184,45,787,680,18,66,407,369,54,492,228,613,830,922,437,519,644,905,789,420,305,441,207,300,892,827,141,537,381,662,513,56,252,341,242,797,838,837,720,224,307,631,61,87,560,310,756,665,397,808,851,309,473,795,378,31,647,915,459,806,590,731,425,216,548,249,321,881,699,535,673,782,210,815,905,303,843,922,281,73,469,791,660,162,498,308,155,422,907,817,187,62,16,425,535,336,286,437,375,273,610,296,183,923,116,667,751,353,62,366,691,379,687,842,37,357,720,742,330,5,39,923,311,424,242,749,321,54,669,316,342,299,534,105,667,488,640,672,576,540,316,486,721,610,46,656,447,171,616,464,190,531,297,321,762,752,533,175,134,14,381,433,717,45,111,20,596,284,736,138,646,411,877,669,141,919,45,780,407,164,332,899,165,726,600,325,498,655,357,752,768,223,849,647,63,310,863,251,366,304,282,738,675,410,389,244,31,121,303,263]],p);function p(t,e,r,n,i,o,a,s,l){void 0===r&&(r=C.StiPdf417ErrorsCorrectionLevel.Automatic),void 0===n&&(n=0),void 0===i&&(i=0),void 0===o&&(o=!0),void 0===a&&(a=!0),void 0===s&&(s=1),void 0===l&&(l=3),this.max_data_codewords=926,this.codeWordLength=17,this.startPatternCode=130728,this.stopPatternCode=260649,this._matrix=null,this.text=null,this.codewords=null,this._errorMessage=null,this.codeColumns=1,this.codeRows=3,this.errorLevel=0,this.aspectRatio=1,this.ratioY=3,this.codeColumns=n,this.codeRows=i,this.aspectRatio=s,this.ratioY=l,r!=C.StiPdf417ErrorsCorrectionLevel.Automatic&&(this.errorLevel=r),this.codewords=v.create(Number,2*this.max_data_codewords+2);try{if(null==t)throw new Error("Input data cannot be null.");this.text=v.create(Number,t.length);for(var u=0;u<t.length;u++){if(255<t[u].charCodeAt(0))throw new Error("Input data not valid for this barcode.");this.text[u]=t[u].charCodeAt(0)}var c=new I;switch(e){case C.StiPdf417EncodingMode.Text:for(var p=0;p<this.text.length;p++){var h=this.text[p];if(32<=h&&h<=127||9==h||10==h||13==h)continue;throw new Error("Input data not valid for current encoding mode.")}c.addSegment(w.Text,0,this.text.length);break;case C.StiPdf417EncodingMode.Numeric:for(var p=0;p<this.text.length;p++){if(this.text[p]>="0".charCodeAt(0)&&this.text[p]<="9".charCodeAt(0))continue;throw new Error("Input data not valid for current encoding mode.")}c.addSegment(w.Numeric,0,this.text.length);break;case C.StiPdf417EncodingMode.Byte:c.addSegment(w.Byte,0,this.text.length);break}var m=this.dataCompaction(c),c=null,d=m;if(d>this.max_data_codewords)throw new Error("Too many data.");var g=this.max_data_codewords+2-d,f=8,S=512;while(0<f){if(S<=g)break;f--,S>>=1}if(r==C.StiPdf417ErrorsCorrectionLevel.Automatic&&(this.errorLevel=5,d<=320&&(this.errorLevel=4),d<=160&&(this.errorLevel=3),d<=40&&(this.errorLevel=2)),this.errorLevel>f)throw new Error("Too many data - \r\n No space for error correction.");var y=2<<this.errorLevel,A=d+y;if(o&&a){var c=(Math.sqrt(A*l*s*4/17+16)-4)/2;this.codeColumns=Math.trunc(c+.5),this.codeColumns<1&&(this.codeColumns=1),30<this.codeColumns&&(this.codeColumns=30),this.codeRows=Math.floor((A-1)/this.codeColumns)+1,this.codeRows<3&&(this.codeRows=3),90<this.codeRows&&(this.codeRows=90,this.codeColumns=Math.floor((A-1)/this.codeRows)+1)}else if(o)this.codeColumns=Math.floor((A-1)/this.codeRows)+1,this.codeColumns<1&&(this.codeColumns=1),30<this.codeColumns&&(this.codeColumns=30,this.codeRows=Math.floor((A-1)/this.codeColumns)+1);else if(a)this.codeRows=Math.floor((A-1)/this.codeColumns)+1,this.codeRows<3&&(this.codeRows=3),90<this.codeRows&&(this.codeRows=90,this.codeColumns=Math.floor((A-1)/this.codeRows)+1);else if(this.codeColumns*this.codeRows<A)throw new Error("Size is too small for data.");this.codeColumns*this.codeRows>this.max_data_codewords+2&&(this.codeColumns=29,this.codeRows=32);var b=this.codeColumns*this.codeRows-y-d,m=d;while(0!=b)this.codewords[m++]=B.TextMode,b--;d=m,this.codewords[0]=d,this.calculateErrorCorrection(d),this.makeOutBits(),this.codewords=null,this.text=null}catch(t){this._errorMessage=t.message}}var t=(c=C.StiBarCodeTypeService,__extends(i,c),i.prototype.saveToJsonObject=function(t){var t=c.prototype.saveToJsonObject.call(this,t);return t.addPropertyNumber("Module",this.module,20),t.addPropertyNumber("Height",this.height,1),t.addPropertyEnum("EncodingMode",C.StiPdf417EncodingMode,this.encodingMode,C.StiPdf417EncodingMode.Text),t.addPropertyEnum("ErrorsCorrectionLevel",C.StiPdf417ErrorsCorrectionLevel,this.errorsCorrectionLevel,C.StiPdf417ErrorsCorrectionLevel.Automatic),t.addPropertyNumber("DataColumns",this.dataColumns,4),t.addPropertyNumber("DataRows",this.dataRows,7),t.addPropertyBool("AutoDataColumns",this.autoDataColumns,!0),t.addPropertyBool("AutoDataRows",this.autoDataRows,!0),t.addPropertyNumber("AspectRatio",this.aspectRatio,3),t.addPropertyNumber("RatioY",this.ratioY,3),t},i.prototype.loadFromJsonObject=function(t){var e,r;try{for(var n=__values(t.properties()),i=n.next();!i.done;i=n.next()){var o=i.value;switch(o.name){case"Module":this.module=o.value.stimulsoft.toNumber();break;case"Height":this.height=o.value.stimulsoft.toNumber();break;case"EncodingMode":this.encodingMode=a.parse(C.StiPdf417EncodingMode,o.value.toString());break;case"ErrorsCorrectionLevel":this.errorsCorrectionLevel=a.parse(C.StiPdf417ErrorsCorrectionLevel,o.value.toString());break;case"DataColumns":this.dataColumns=o.value.stimulsoft.toNumber();break;case"DataRows":this.dataRows=o.value.stimulsoft.toNumber();break;case"AutoDataColumns":this.autoDataColumns=o.value.stimulsoft.toBoolean();break;case"AutoDataRows":this.autoDataRows=o.value.stimulsoft.toBoolean();break;case"AspectRatio":this.aspectRatio=o.value.stimulsoft.toNumber();break;case"RatioY":this.ratioY=o.value.stimulsoft.toNumber();break}}}catch(t){e={error:t}}finally{try{i&&!i.done&&(r=n.return)&&r.call(n)}finally{if(e)throw e.error}}},i.prototype.loadFromXmlObject=function(t){c.prototype.loadFromXmlObject.call(this,t);for(var e=0;e<t.childNodes.length;e++){var r=t.childNodes[e];switch(r.nodeName){case"Module":this.module=r.textContent.stimulsoft.toNumber();break;case"Height":this.height=r.textContent.stimulsoft.toNumber();break;case"EncodingMode":this.encodingMode=a.parse(C.StiPdf417EncodingMode,r.textContent);break;case"ErrorsCorrectionLevel":this.errorsCorrectionLevel=a.parse(C.StiPdf417ErrorsCorrectionLevel,r.textContent);break;case"DataColumns":this.dataColumns=r.textContent.stimulsoft.toNumber();break;case"DataRows":this.dataRows=r.textContent.stimulsoft.toNumber();break;case"AutoDataColumns":this.autoDataColumns=r.textContent.stimulsoft.toBoolean();break;case"AutoDataRows":this.autoDataRows=r.textContent.stimulsoft.toBoolean();break;case"AspectRatio":this.aspectRatio=r.textContent.stimulsoft.toNumber();break;case"RatioY":this.ratioY=r.textContent.stimulsoft.toNumber();break}}},Object.defineProperty(i.prototype,"componentId",{get:function(){return l.StiComponentId.StiPdf417BarCodeType},enumerable:!1,configurable:!0}),Object.defineProperty(i.prototype,"serviceName",{get:function(){return"Pdf417"},enumerable:!1,configurable:!0}),Object.defineProperty(i.prototype,"defaultCodeValue",{get:function(){return"12345678901"},enumerable:!1,configurable:!0}),Object.defineProperty(i.prototype,"module",{get:function(){return this._module},set:function(t){(this._module=t)<2&&(this._module=2),400<t&&(this._module=400)},enumerable:!1,configurable:!0}),Object.defineProperty(i.prototype,"height",{get:function(){return this._height},set:function(t){this._height=t},enumerable:!1,configurable:!0}),Object.defineProperty(i.prototype,"encodingMode",{get:function(){return this._encodingMode},set:function(t){this._encodingMode=t},enumerable:!1,configurable:!0}),Object.defineProperty(i.prototype,"errorsCorrectionLevel",{get:function(){return this._errorsCorrectionLevel},set:function(t){this._errorsCorrectionLevel=t},enumerable:!1,configurable:!0}),Object.defineProperty(i.prototype,"dataColumns",{get:function(){return this._dataColumns},set:function(t){t<1&&(t=1),30<t&&(t=30),this._dataColumns=t},enumerable:!1,configurable:!0}),Object.defineProperty(i.prototype,"dataRows",{get:function(){return this._dataRows},set:function(t){t<3&&(t=3),90<t&&(t=90),this._dataRows=t},enumerable:!1,configurable:!0}),Object.defineProperty(i.prototype,"autoDataColumns",{get:function(){return this._autoDataColumns},set:function(t){this._autoDataColumns=t},enumerable:!1,configurable:!0}),Object.defineProperty(i.prototype,"autoDataRows",{get:function(){return this._autoDataRows},set:function(t){this._autoDataRows=t},enumerable:!1,configurable:!0}),Object.defineProperty(i.prototype,"aspectRatio",{get:function(){return this._aspectRatio},set:function(t){t<.01&&(t=.01),100<t&&(t=100),this._aspectRatio=t},enumerable:!1,configurable:!0}),Object.defineProperty(i.prototype,"ratioY",{get:function(){return this._ratioY},set:function(t){t<2&&(t=2),5<t&&(t=5),this._ratioY=t},enumerable:!1,configurable:!0}),Object.defineProperty(i.prototype,"labelFontHeight",{get:function(){return this.defaultLabelFontHeight},enumerable:!1,configurable:!0}),Object.defineProperty(i.prototype,"visibleProperties",{get:function(){var t=v.create(Boolean,this.visiblePropertiesCount);return t[0]=!0,t[1]=!0,t[2]=!0,t[6]=!0,t[7]=!0,t[8]=!0,t[13]=!0,t[16]=!0,t},enumerable:!1,configurable:!0}),i.prototype.draw=function(t,e,r,n){var i=this.getCode(e);this.barCodeData.code=i;var i=new o(i,this.encodingMode,this.errorsCorrectionLevel,this.dataColumns,this.dataRows,this.autoDataColumns,this.autoDataRows,this.aspectRatio,this.ratioY);this.barCodeData.matrixGrid=i.matrix,this.barCodeData.matrixWidth=i.matrixWidth,this.barCodeData.matrixHeight=i.matrixHeight,this.barCodeData.matrixRatioY=this.ratioY,null==i.errorMessage?this.draw2DBarCode(t,r,e,n):this.drawBarCodeError2(t,r,e,i.errorMessage)},i.prototype.createNew=function(){return new i},i),c;function i(t,e,r,n,i,o,a,s,l){void 0===t&&(t=25),void 0===e&&(e=C.StiPdf417EncodingMode.Text),void 0===r&&(r=C.StiPdf417ErrorsCorrectionLevel.Automatic),void 0===n&&(n=5),void 0===i&&(i=3),void 0===o&&(o=!0),void 0===a&&(a=!0),void 0===s&&(s=1),void 0===l&&(l=3);var u=c.call(this)||this;return u._module=20,u._height=1,u._encodingMode=C.StiPdf417EncodingMode.Text,u._errorsCorrectionLevel=C.StiPdf417ErrorsCorrectionLevel.Automatic,u._dataColumns=4,u._dataRows=7,u._autoDataColumns=!0,u._autoDataRows=!0,u._aspectRatio=3,u._ratioY=3,u._module=t,u._encodingMode=e,u._errorsCorrectionLevel=r,u._dataColumns=n,u._dataRows=i,u._autoDataColumns=o,u._autoDataRows=a,u._aspectRatio=s,u._ratioY=l,u}C.StiPdf417BarCodeType=t}(e=l.BarCodes||(l.BarCodes={}))}(Stimulsoft=Stimulsoft||{}),function(t){var e,r,n,i,o,p,t,a;function s(t,e){void 0===t&&(t=20),void 0===e&&(e=1);var r=a.call(this)||this;return r.pharmacodeSymbols="0123456789",r.defaultPharmacodeModule=20,r._module=20,r._height=1,r.pharmacodeSpaceLeft=1,r.pharmacodeSpaceRight=1,r.pharmacodeSpaceTop=0,r.pharmacodeSpaceBottom=.5,r.pharmacodeLineHeightShort=16,r.pharmacodeLineHeightLong=r.pharmacodeLineHeightShort,r.pharmacodeTextPosition=r.pharmacodeLineHeightShort+r.pharmacodeSpaceBottom,r.pharmacodeTextHeight=5,r.pharmacodeMainHeight=22,r.pharmacodeLineHeightForCut=r.pharmacodeLineHeightShort,r._module=t,r._height=e,r}r=e=t.Report||(t.Report={}),i=n=r.BarCodes||(r.BarCodes={}),o=t.System.StiArray,p=t.System.Text.StringBuilder,a=i.StiBarCodeTypeService,__extends(s,a),s.prototype.saveToJsonObject=function(t){var t=a.prototype.saveToJsonObject.call(this,t);return t.addPropertyNumber("Module",this.module,20),t.addPropertyNumber("Height",this.height,1),t},s.prototype.loadFromJsonObject=function(t){var e,r;try{for(var n=__values(t.properties()),i=n.next();!i.done;i=n.next()){var o=i.value;switch(o.name){case"Module":this._module=o.value.stimulsoft.toNumber();break;case"Height":this._height=o.value.stimulsoft.toNumber();break}}}catch(t){e={error:t}}finally{try{i&&!i.done&&(r=n.return)&&r.call(n)}finally{if(e)throw e.error}}},s.prototype.loadFromXmlObject=function(t){a.prototype.loadFromXmlObject.call(this,t);for(var e=0;e<t.childNodes.length;e++){var r=t.childNodes[e];switch(r.nodeName){case"Module":this._module=r.textContent.stimulsoft.toNumber();break;case"Height":this._height=r.textContent.stimulsoft.toNumber();break}}},Object.defineProperty(s.prototype,"componentId",{get:function(){return r.StiComponentId.StiPharmacodeBarCodeType},enumerable:!1,configurable:!0}),Object.defineProperty(s.prototype,"serviceName",{get:function(){return"Pharmacode"},enumerable:!1,configurable:!0}),Object.defineProperty(s.prototype,"defaultCodeValue",{get:function(){return"1256"},enumerable:!1,configurable:!0}),Object.defineProperty(s.prototype,"module",{get:function(){return this._module},set:function(t){this._module=20},enumerable:!1,configurable:!0}),Object.defineProperty(s.prototype,"height",{get:function(){return this._height},set:function(t){(this._height=t)<.5&&(this._height=.5),2<t&&(this._height=2)},enumerable:!1,configurable:!0}),Object.defineProperty(s.prototype,"labelFontHeight",{get:function(){return this.pharmacodeTextHeight},enumerable:!1,configurable:!0}),Object.defineProperty(s.prototype,"visibleProperties",{get:function(){var t=o.create(Boolean,this.visiblePropertiesCount);return t[11]=!0,t},enumerable:!1,configurable:!0}),s.prototype.draw=function(t,e,r,n){var i=this.getCode(e),i;6<(i=this.checkCodeSymbols(i,this.pharmacodeSymbols)).length&&(i="131070"),i.length<1&&(i="3");var o=parseInt(i);131070<o&&(o=131070),o<3&&(o=3);var a=new p,s=o-3,l=2,u=3;while(u<s)s-=u+1,u=(1<<++l)-1;for(var c=l-1;0<=c;c--)0<(s&1<<c)?a.append("6"):a.append("4"),0!=c&&a.append("1");this.calculateSizeFull(this.pharmacodeSpaceLeft,this.pharmacodeSpaceRight,this.pharmacodeSpaceTop,this.pharmacodeSpaceBottom,this.pharmacodeLineHeightShort,this.pharmacodeLineHeightLong,this.pharmacodeTextPosition,this.pharmacodeTextHeight,this.pharmacodeMainHeight,this.pharmacodeLineHeightForCut,2,n,i,o.toString(),a.toString(),r,e),this.drawBarCode(t,r,e)},s.prototype.createNew=function(){return new s},t=s,i.StiPharmacodeBarCodeType=t}(Stimulsoft=Stimulsoft||{}),function(t){var e,r,n,i,p,h,t,o;function a(t,e,r){void 0===t&&(t=20),void 0===e&&(e=1),void 0===r&&(r=26);var n=o.call(this)||this;return n.postnetSymbols="0123456789",n.postnetTable=["11000","00011","00101","00110","01001","01010","01100","10001","10010","10100"],n.postnetStartCode="1",n.postnetStopCode="1",n._module=20,n._space=26,n._height=1,n.postnetSpaceLeft=1,n.postnetSpaceRight=1,n.postnetSpaceTop=0,n.postnetSpaceBottom=1,n.postnetLineHeightLong=6.25,n.postnetLineHeightShort=2*n.postnetLineHeightLong/5,n.postnetTextPosition=n.postnetLineHeightLong+n.postnetSpaceBottom,n.postnetTextHeight=5.5,n.postnetMainHeight=14,n.postnetLineHeightForCut=n.postnetLineHeightLong,n._module=t,n._height=e,n._space=r,n}r=e=t.Report||(t.Report={}),i=n=r.BarCodes||(r.BarCodes={}),p=t.System.StiArray,h=t.System.Text.StringBuilder,o=i.StiBarCodeTypeService,__extends(a,o),a.prototype.saveToJsonObject=function(t){var t=o.prototype.saveToJsonObject.call(this,t);return t.addPropertyNumber("Module",this.module,20),t.addPropertyNumber("Height",this.height,1),t.addPropertyNumber("Space",this.space,26),t},a.prototype.loadFromJsonObject=function(t){var e,r;try{for(var n=__values(t.properties()),i=n.next();!i.done;i=n.next()){var o=i.value;switch(o.name){case"Module":this._module=o.value.stimulsoft.toNumber();break;case"Height":this._height=o.value.stimulsoft.toNumber();break;case"Space":this._space=o.value.stimulsoft.toNumber();break}}}catch(t){e={error:t}}finally{try{i&&!i.done&&(r=n.return)&&r.call(n)}finally{if(e)throw e.error}}},a.prototype.loadFromXmlObject=function(t){o.prototype.loadFromXmlObject.call(this,t);for(var e=0;e<t.childNodes.length;e++){var r=t.childNodes[e];switch(r.nodeName){case"Module":this._module=r.textContent.stimulsoft.toNumber();break;case"Height":this.height=r.textContent.stimulsoft.toNumber();break;case"Space":this._space=r.textContent.stimulsoft.toNumber();break}}},Object.defineProperty(a.prototype,"componentId",{get:function(){return r.StiComponentId.StiPostnetBarCodeType},enumerable:!1,configurable:!0}),Object.defineProperty(a.prototype,"serviceName",{get:function(){return"Postnet"},enumerable:!1,configurable:!0}),Object.defineProperty(a.prototype,"defaultCodeValue",{get:function(){return"12345"},enumerable:!1,configurable:!0}),Object.defineProperty(a.prototype,"module",{get:function(){return this._module},set:function(t){(this._module=t)<20&&(this._module=20),20<t&&(this._module=20)},enumerable:!1,configurable:!0}),Object.defineProperty(a.prototype,"space",{get:function(){return this._space},set:function(t){(this._space=t)<12&&(this._space=12),40<t&&(this._space=40)},enumerable:!1,configurable:!0}),Object.defineProperty(a.prototype,"height",{get:function(){return this._height},set:function(t){(this._height=t)<1&&(this._height=1),4<t&&(this._height=4)},enumerable:!1,configurable:!0}),Object.defineProperty(a.prototype,"labelFontHeight",{get:function(){return this.postnetTextHeight},enumerable:!1,configurable:!0}),Object.defineProperty(a.prototype,"visibleProperties",{get:function(){var t=p.create(Boolean,this.visiblePropertiesCount);return t[11]=!0,t[13]=!0,t[18]=!0,t},enumerable:!1,configurable:!0}),a.prototype.codeToBar=function(t){for(var e=new h,r=0;r<t.length;r++){var n=new h;"1"==t[r]?n.append("81"):n.append("e1"),e.append(n)}return e.toString()},a.prototype.draw=function(t,e,r,n){var i=this.getCode(e),i;switch(11<(i=this.checkCodeSymbols(i,this.postnetSymbols)).length&&(i=i.substr(0,11)),i.length){case 0:i="00000";break;case 1:i+="0000";break;case 2:case 6:i+="000";break;case 3:case 7:i+="00";break;case 4:case 8:case 10:i+="0";break}var o=new h(i);11==i.length&&o.insert(9,"-"),5<i.length&&o.insert(5,"-");for(var a=p.create(Number,i.length+1),s=0;s<i.length;s++)a[s]=this.postnetSymbols.indexOf(i[s]);for(var l=0,s=0;s<i.length;s++)l+=a[s];0!=(l%=10)&&(l=10-l),a[i.length]=l;var u=new h;u.append(this.postnetStartCode);for(var s=0;s<a.length;s++)u.append(this.postnetTable[a[s]]);u.append(this.postnetStopCode);var c=new h(this.codeToBar(u.toString()));this.calculateSizeFull(this.postnetSpaceLeft,this.postnetSpaceRight,this.postnetSpaceTop,this.postnetSpaceBottom,this.postnetLineHeightShort,this.postnetLineHeightLong,this.postnetTextPosition,this.postnetTextHeight,this.postnetMainHeight,this.postnetLineHeightForCut,this.space/this.module,n,i,o.toString(),c.toString(),r,e),this.drawBarCode(t,r,e)},a.prototype.createNew=function(){return new a},t=a,i.StiPostnetBarCodeType=t}(Stimulsoft=Stimulsoft||{}),function(h){var t,e,r,m,d,a,s,n,l;function i(t,e,r,n,i){void 0===t&&(t=40),void 0===e&&(e=m.StiQRCodeErrorCorrectionLevel.Level1),void 0===r&&(r=m.StiQRCodeSize.Automatic),void 0===n&&(n=null),void 0===i&&(i=1);var o=l.call(this)||this;return o._module=40,o._height=1,o._errorCorrectionLevel=m.StiQRCodeErrorCorrectionLevel.Level1,o._matrixSize=m.StiQRCodeSize.Automatic,o._image=null,o._imageMultipleFactor=1,o.module=t,o.errorCorrectionLevel=e,o.matrixSize=r,o.image=n,o.imageMultipleFactor=i,o}e=t=h.Report||(h.Report={}),m=r=e.BarCodes||(e.BarCodes={}),d=h.System.StiArray,a=h.Base.Drawing.StiImageConverter,s=h.System.Enum,l=m.StiBarCodeTypeService,__extends(i,l),i.prototype.saveToJsonObject=function(t){var t=l.prototype.saveToJsonObject.call(this,t);return t.addPropertyNumber("Height",this.height,1),t.addPropertyNumber("Module",this.module,40),t.addPropertyEnum("ErrorCorrectionLevel",m.StiQRCodeErrorCorrectionLevel,this.errorCorrectionLevel,m.StiQRCodeErrorCorrectionLevel.Level1),t.addPropertyEnum("MatrixSize",m.StiQRCodeSize,this.matrixSize,m.StiQRCodeSize.Automatic),t.addPropertyNumber("ImageMultipleFactor",this.imageMultipleFactor,1),t.addPropertyStringNullOrEmpty("Image",a.imageToString(this.image)),t},i.prototype.loadFromJsonObject=function(t){var e,r;try{for(var n=__values(t.properties()),i=n.next();!i.done;i=n.next()){var o=i.value;switch(o.name){case"Module":this.module=o.value.stimulsoft.toNumber();break;case"Height":this.height=o.value.stimulsoft.toNumber();break;case"ErrorCorrectionLevel":this.errorCorrectionLevel=s.parse(typeof m.StiQRCodeErrorCorrectionLevel,o.value.toString());break;case"MatrixSize":this.matrixSize=s.parse(typeof m.StiQRCodeSize,o.value.toString());break;case"ImageMultipleFactor":this.imageMultipleFactor=o.value.stimulsoft.toNumber();break;case"Image":this.image=a.stringToImage(o.value);break}}}catch(t){e={error:t}}finally{try{i&&!i.done&&(r=n.return)&&r.call(n)}finally{if(e)throw e.error}}},i.prototype.loadFromXmlObject=function(t){l.prototype.loadFromXmlObject.call(this,t);for(var e=0;e<t.childNodes.length;e++){var r=t.childNodes[e];switch(r.nodeName){case"Module":this.module=r.textContent.stimulsoft.toNumber();break;case"Height":this.height=r.textContent.stimulsoft.toNumber();break;case"ErrorCorrectionLevel":this.errorCorrectionLevel=s.parse(typeof m.StiQRCodeErrorCorrectionLevel,r.textContent);break;case"MatrixSize":this.matrixSize=s.parse(typeof m.StiQRCodeSize,r.textContent);break;case"ImageMultipleFactor":this.imageMultipleFactor=r.textContent.stimulsoft.toNumber();break;case"Image":this.image=a.stringToImage(r.textContent);break}}},Object.defineProperty(i.prototype,"componentId",{get:function(){return e.StiComponentId.StiQRCodeBarCodeType},enumerable:!1,configurable:!0}),Object.defineProperty(i.prototype,"serviceName",{get:function(){return"QR Code"},enumerable:!1,configurable:!0}),Object.defineProperty(i.prototype,"defaultCodeValue",{get:function(){return"12345678901"},enumerable:!1,configurable:!0}),Object.defineProperty(i.prototype,"module",{get:function(){return this._module},set:function(t){(this._module=t)<2&&(this._module=2),400<t&&(this._module=400)},enumerable:!1,configurable:!0}),Object.defineProperty(i.prototype,"height",{get:function(){return this._height},set:function(t){this._height=t},enumerable:!1,configurable:!0}),Object.defineProperty(i.prototype,"errorCorrectionLevel",{get:function(){return this._errorCorrectionLevel},set:function(t){this._errorCorrectionLevel=t},enumerable:!1,configurable:!0}),Object.defineProperty(i.prototype,"matrixSize",{get:function(){return this._matrixSize},set:function(t){this._matrixSize=t},enumerable:!1,configurable:!0}),Object.defineProperty(i.prototype,"image",{get:function(){return this._image},set:function(t){this._image!=t&&(this._image=t)},enumerable:!1,configurable:!0}),Object.defineProperty(i.prototype,"imageMultipleFactor",{get:function(){return this._imageMultipleFactor},set:function(t){this._imageMultipleFactor=t},enumerable:!1,configurable:!0}),Object.defineProperty(i.prototype,"labelFontHeight",{get:function(){return 8},enumerable:!1,configurable:!0}),Object.defineProperty(i.prototype,"visibleProperties",{get:function(){var t=d.create(Boolean,this.visiblePropertiesCount);return t[10]=!0,t[12]=!0,t[13]=!0,t},enumerable:!1,configurable:!0}),i.prototype.draw=function(e,r,n,t){var i=this.getCode(r);this.barCodeData.code=i;var o=m.ErrorCorrectionLevel.L;this.errorCorrectionLevel==m.StiQRCodeErrorCorrectionLevel.Level2&&(o=m.ErrorCorrectionLevel.M),this.errorCorrectionLevel==m.StiQRCodeErrorCorrectionLevel.Level3&&(o=m.ErrorCorrectionLevel.Q),this.errorCorrectionLevel==m.StiQRCodeErrorCorrectionLevel.Level4&&(o=m.ErrorCorrectionLevel.H);try{var a=new m.StiQRCode;m.QREncoder.Encode(i,o,a);for(var s=a.GetMatrix(),l=d.create(Number,s.getWidth()*s.getHeight()),u=0;u<s.getHeight();u++)for(var c=u*s.getWidth(),p=0;p<s.getWidth();p++)l[c+p]=s.get(p,u);this.barCodeData.matrixGrid=l,this.barCodeData.matrixWidth=s.getWidth(),this.barCodeData.matrixHeight=s.getHeight(),this.barCodeData.matrixRatioY=1,this.draw2DBarCode(e,n,r,t)}catch(t){h.System.StiError.showError(t,!1),this.drawBarCodeError(e,n,r)}},i.prototype.createNew=function(){return new i},n=i,m.StiQRCodeBarCodeType=n}(Stimulsoft=Stimulsoft||{}),function(t){var e,r,n,h,i,m,o,a,t,s;function l(t,e,r){void 0===t&&(t=20),void 0===e&&(e=1),void 0===r&&(r=h.StiCheckSum.Yes);var n=s.call(this)||this;return n.royalMail4StateSymbols="0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ",n.royalMail4StateStartCode="1",n.royalMail4StateStopCode="0",n.royalMail4StateCodes=["3300","3210","3201","2310","2301","2211","3120","3030","3021","2130","2121","2031","3102","3012","3003","2112","2103","2013","1320","1230","1221","0330","0321","0231","1302","1212","1203","0312","0303","0213","1122","1032","1023","0132","0123","0033"],n._module=20,n._height=1,n._checkSum=h.StiCheckSum.Yes,n.royalMail4StateSpaceLeft=3.9,n.royalMail4StateSpaceRight=3.9,n.royalMail4StateSpaceTop=3.9,n.royalMail4StateSpaceBottom=3.9,n.royalMail4StateLineHeightLong=10,n.royalMail4StateLineHeightShort=.62*n.royalMail4StateLineHeightLong,n.royalMail4StateTextPosition=n.royalMail4StateSpaceTop+n.royalMail4StateLineHeightLong+n.royalMail4StateSpaceBottom+1,n.royalMail4StateTextHeight=5,n.royalMail4StateMainHeight=n.royalMail4StateSpaceTop+n.royalMail4StateLineHeightLong+n.royalMail4StateSpaceBottom+7,n.royalMail4StateLineHeightForCut=n.royalMail4StateLineHeightLong,n._module=t,n._height=e,n._checkSum=r,n}r=e=t.Report||(t.Report={}),h=n=r.BarCodes||(r.BarCodes={}),i=t.System.StiArray,m=t.System.Text.StringBuilder,o=t.System.Drawing.StringAlignment,a=t.System.Enum,s=h.StiBarCodeTypeService,__extends(l,s),l.prototype.saveToJsonObject=function(t){var t=s.prototype.saveToJsonObject.call(this,t);return t.addPropertyNumber("Module",this.module,20),t.addPropertyNumber("Height",this.height,1),t.addPropertyEnum("CheckSum",h.StiCheckSum,this.checkSum,h.StiCheckSum.Yes),t},l.prototype.loadFromJsonObject=function(t){var e,r;try{for(var n=__values(t.properties()),i=n.next();!i.done;i=n.next()){var o=i.value;switch(o.name){case"Module":this._module=o.value.stimulsoft.toNumber();break;case"Height":this._height=o.value.stimulsoft.toNumber();break;case"CheckSum":this.checkSum=a.parse(h.StiCheckSum,o.value.toString());break}}}catch(t){e={error:t}}finally{try{i&&!i.done&&(r=n.return)&&r.call(n)}finally{if(e)throw e.error}}},l.prototype.loadFromXmlObject=function(t){s.prototype.loadFromXmlObject.call(this,t);for(var e=0;e<t.childNodes.length;e++){var r=t.childNodes[e];switch(r.nodeName){case"Module":this._module=r.textContent.stimulsoft.toNumber();break;case"Height":this.height=r.textContent.stimulsoft.toNumber();break;case"CheckSum":this.checkSum=a.parse(h.StiCheckSum,r.textContent);break}}},Object.defineProperty(l.prototype,"componentId",{get:function(){return r.StiComponentId.StiRoyalMail4StateBarCodeType},enumerable:!1,configurable:!0}),Object.defineProperty(l.prototype,"serviceName",{get:function(){return"Royal Mail 4-state"},enumerable:!1,configurable:!0}),Object.defineProperty(l.prototype,"defaultCodeValue",{get:function(){return"529508A"},enumerable:!1,configurable:!0}),Object.defineProperty(l.prototype,"module",{get:function(){return this._module},set:function(t){(this._module=t)<20&&(this._module=20),20<t&&(this._module=20)},enumerable:!1,configurable:!0}),Object.defineProperty(l.prototype,"height",{get:function(){return this._height},set:function(t){(this._height=t)<1&&(this._height=1),1<t&&(this._height=1)},enumerable:!1,configurable:!0}),Object.defineProperty(l.prototype,"checkSum",{get:function(){return this._checkSum},set:function(t){this._checkSum=t},enumerable:!1,configurable:!0}),Object.defineProperty(l.prototype,"labelFontHeight",{get:function(){return 5},enumerable:!1,configurable:!0}),Object.defineProperty(l.prototype,"visibleProperties",{get:function(){var t=i.create(Boolean,this.visiblePropertiesCount);return t[13]=!0,t[23]=!0,t},enumerable:!1,configurable:!0}),Object.defineProperty(l.prototype,"textAlignment",{get:function(){return o.Center},enumerable:!1,configurable:!0}),l.prototype.charTo4State=function(t){var t=this.royalMail4StateSymbols.indexOf(t);return this.royalMail4StateCodes[t]},l.prototype.stateToBar=function(t){for(var e=new m,r=0;r<t.length;r++){switch(t[r]){case"0":e.append("c");break;case"1":e.append("d");break;case"2":e.append("e");break;case"3":e.append("f");break}e.append("0")}return e.toString()},l.prototype.makeBarsArray=function(t,e,r){for(var n=t.ref,i=e.ref,o=r.ref,a=new m,s=0,l=0,u=0;u<n.length;u++){var c=this.charTo4State(n[u]);"0"!=c[0]&&"1"!=c[0]||(s+=4),"0"!=c[0]&&"2"!=c[0]||(l+=4),"0"!=c[1]&&"1"!=c[1]||(s+=2),"0"!=c[1]&&"2"!=c[1]||(l+=2),"0"!=c[2]&&"1"!=c[2]||(s+=1),"0"!=c[2]&&"2"!=c[2]||(l+=1),a.append(c)}0==(s%=6)&&(s=6),0==(l%=6)&&(l=6);var p=6*(s-1)+(l-1);return this.checkSum==h.StiCheckSum.Yes&&a.append(this.charTo4State(this.royalMail4StateSymbols[p])),i=this.stateToBar(this.royalMail4StateStartCode+a.toString()+this.royalMail4StateStopCode),t.ref=n,e.ref=i,r.ref=o,!0},l.prototype.draw=function(t,e,r,n){var i=this.getCode(e),i,o="",a="",s={ref:i=this.checkCodeSymbols(i,this.royalMail4StateSymbols)},l={ref:o},u={ref:a};this.makeBarsArray(s,l,u)?(i=s.ref,o=l.ref,a=u.ref,this.calculateSizeFull(this.royalMail4StateSpaceLeft,this.royalMail4StateSpaceRight,this.royalMail4StateSpaceTop,this.royalMail4StateSpaceBottom,this.royalMail4StateLineHeightShort,this.royalMail4StateLineHeightLong,this.royalMail4StateTextPosition,this.royalMail4StateTextHeight,this.royalMail4StateMainHeight,this.royalMail4StateLineHeightForCut,1,n,i,i,o,r,e),this.drawBarCode(t,r,e)):0<a.length?this.drawBarCodeError2(t,r,e,a):this.drawBarCodeError(t,r,e)},l.prototype.createNew=function(){return new l},t=l,h.StiRoyalMail4StateBarCodeType=t}(Stimulsoft=Stimulsoft||{}),function(t){var e,r,n,i,o,a,t,s;function l(t,e){void 0===t&&(t=13),void 0===e&&(e=1);var e=s.call(this,t,e)||this;return e._companyPrefix="0123456",e._serialNumber="000000001",e._extensionDigit="0",e}r=e=t.Report||(t.Report={}),i=n=r.BarCodes||(r.BarCodes={}),o=t.System.StiArray,a=t.System.StiString,s=i.StiCode128cBarCodeType,__extends(l,s),l.prototype.saveToJsonObject=function(t){var t=s.prototype.saveToJsonObject.call(this,t);return t.addPropertyString("CompanyPrefix",this.companyPrefix,"0123456"),t.addPropertyString("SerialNumber",this.serialNumber,"000000001"),t.addPropertyString("ExtensionDigit",this.extensionDigit,"0"),t},l.prototype.loadFromJsonObject=function(t){var e,r;s.prototype.loadFromJsonObject.call(this,t);try{for(var n=__values(t.properties()),i=n.next();!i.done;i=n.next()){var o=i.value;switch(o.name){case"CompanyPrefix":this._companyPrefix=o.value.toString();break;case"SerialNumber":this._serialNumber=o.value.toString();break;case"ExtensionDigit":this._extensionDigit=o.value.toString();break}}}catch(t){e={error:t}}finally{try{i&&!i.done&&(r=n.return)&&r.call(n)}finally{if(e)throw e.error}}},l.prototype.loadFromXmlObject=function(t){s.prototype.loadFromXmlObject.call(this,t);for(var e=0;e<t.childNodes.length;e++){var r=t.childNodes[e];switch(r.nodeName){case"CompanyPrefix":this._companyPrefix=r.textContent;break;case"SerialNumber":this._serialNumber=r.textContent;break;case"ExtensionDigit":this._serialNumber=r.textContent;break}}},Object.defineProperty(l.prototype,"componentId",{get:function(){return r.StiComponentId.StiSSCC18BarCodeType},enumerable:!1,configurable:!0}),Object.defineProperty(l.prototype,"serviceName",{get:function(){return"SSCC"},enumerable:!1,configurable:!0}),Object.defineProperty(l.prototype,"defaultCodeValue",{get:function(){return"(00)001234560000000018"},enumerable:!1,configurable:!0}),Object.defineProperty(l.prototype,"companyPrefix",{get:function(){return this._companyPrefix},set:function(t){this._companyPrefix=t},enumerable:!1,configurable:!0}),Object.defineProperty(l.prototype,"serialNumber",{get:function(){return this._serialNumber},set:function(t){this._serialNumber=t},enumerable:!1,configurable:!0}),Object.defineProperty(l.prototype,"extensionDigit",{get:function(){return this._extensionDigit},set:function(t){this._extensionDigit=t},enumerable:!1,configurable:!0}),Object.defineProperty(l.prototype,"textSpacing",{get:function(){return!1},enumerable:!1,configurable:!0}),Object.defineProperty(l.prototype,"visibleProperties",{get:function(){var t=o.create(Boolean,this.visiblePropertiesCount);return t[11]=!0,t[13]=!0,t[24]=!0,t[25]=!0,t[26]=!0,t},enumerable:!1,configurable:!0}),l.prototype.getCombinedCode=function(){return a.format("(00){0}{1}{0}{2}{0}{3}{0}{4}","",this.extensionDigit,this.companyPrefix,this.serialNumber,this.getCheckDigit(this.checkCodeSymbols(this.extensionDigit+this.companyPrefix+this.serialNumber+a.fill("0",17),"0123456789")))},l.prototype.getCheckDigit=function(t){for(var e=o.create(Number,17),r=0;r<17;r++)e[r]=parseInt(t[r].toString());var n,i=10-(e[1]+e[3]+e[5]+e[7]+e[9]+e[11]+e[13]+e[15]+3*(e[0]+e[2]+e[4]+e[6]+e[8]+e[10]+e[12]+e[14]+e[16]))%10;return 10==i&&(i=0),String.fromCharCode(i+48)},l.prototype.checkContens=function(t,e){if(5!=e.length)return!0;if("00"!=e[0])return!0;if(1!=e[1].length)return!0;var r=e[2].length,n;if(r<7||10<r)return!0;if(e[3].length+r!=16)return!0;if(24!=t.length)return!0;return!1},l.prototype.createNew=function(){return new l},t=l,i.StiSSCC18BarCodeType=t}(Stimulsoft=Stimulsoft||{}),function(t){var e,r,n,i,o,h,t,a;function s(t,e,r){void 0===t&&(t=13),void 0===e&&(e=1),void 0===r&&(r=2.2);var n=a.call(this)||this;return n._module=13,n._height=1,n._ratio=2.2,n.symTableSet=["00110","10001","01001","11000","00101","10100","01100","00011","10010","01010","101000","10001"],n.standard2of5SpaceLeft=10,n.standard2of5SpaceRight=10,n.standard2of5SpaceTop=0,n.standard2of5SpaceBottom=1,n.standard2of5LineHeightShort=40,n.standard2of5LineHeightLong=n.standard2of5LineHeightShort,n.standard2of5TextHeight=8.33,n.standard2of5MainHeight=50,n.standard2of5TextPosition=n.standard2of5LineHeightShort+n.standard2of5SpaceBottom,n.standard2of5LineHeightForCut=n.standard2of5LineHeightShort,n.module=t,n.height=e,n.ratio=r,n}r=e=t.Report||(t.Report={}),i=n=r.BarCodes||(r.BarCodes={}),o=t.System.StiArray,h=t.System.Text.StringBuilder,a=i.StiBarCodeTypeService,__extends(s,a),s.prototype.saveToJsonObject=function(t){var t=a.prototype.saveToJsonObject.call(this,t);return t.addPropertyNumber("Module",this.module,13),t.addPropertyNumber("Height",this.height,1),t.addPropertyNumber("Ratio",this.ratio,2.2),t},s.prototype.loadFromJsonObject=function(t){var e,r;try{for(var n=__values(t.properties()),i=n.next();!i.done;i=n.next()){var o=i.value;switch(o.name){case"Module":this.module=o.value.stimulsoft.toNumber();break;case"Height":this.height=o.value.stimulsoft.toNumber();break;case"Ratio":this.ratio=o.value.stimulsoft.toNumber();break}}}catch(t){e={error:t}}finally{try{i&&!i.done&&(r=n.return)&&r.call(n)}finally{if(e)throw e.error}}},s.prototype.loadFromXmlObject=function(t){a.prototype.loadFromXmlObject.call(this,t);for(var e=0;e<t.childNodes.length;e++){var r=t.childNodes[e];switch(r.nodeName){case"Module":this.module=r.textContent.stimulsoft.toNumber();break;case"Height":this.height=r.textContent.stimulsoft.toNumber();break;case"Ratio":this.ratio=r.textContent.stimulsoft.toNumber();break}}},Object.defineProperty(s.prototype,"componentId",{get:function(){return r.StiComponentId.StiStandard2of5BarCodeType},enumerable:!1,configurable:!0}),Object.defineProperty(s.prototype,"serviceName",{get:function(){return"2of5 Standard"},enumerable:!1,configurable:!0}),Object.defineProperty(s.prototype,"defaultCodeValue",{get:function(){return"12345678"},enumerable:!1,configurable:!0}),Object.defineProperty(s.prototype,"module",{get:function(){return this._module},set:function(t){(this._module=t)<7.5&&(this._module=7.5),40<t&&(this._module=40),this.ratio=this.ratio},enumerable:!1,configurable:!0}),Object.defineProperty(s.prototype,"height",{get:function(){return this._height},set:function(t){(this._height=t)<.5&&(this._height=.5),2<t&&(this._height=2)},enumerable:!1,configurable:!0}),Object.defineProperty(s.prototype,"ratio",{get:function(){return this._ratio},set:function(t){this._ratio=t;var e=20<this.module?2:2.2;t<e&&(this._ratio=e),3<t&&(this._ratio=3)},enumerable:!1,configurable:!0}),Object.defineProperty(s.prototype,"labelFontHeight",{get:function(){return this.standard2of5TextHeight},enumerable:!1,configurable:!0}),Object.defineProperty(s.prototype,"visibleProperties",{get:function(){var t=o.create(Boolean,this.visiblePropertiesCount);return t[11]=!0,t[13]=!0,t[15]=!0,t},enumerable:!1,configurable:!0}),s.prototype.draw=function(t,e,r,n){var i=this.getCode(e),i=this.checkCodeSymbols(i,"0123456789"),o=new h;if(o.append(this.symTableSet[10]),0<i.length)for(var a=0;a<i.length;a++){var s=this.symTableSet[parseInt(i[a].toString())],s=s[0]+"0"+s[1]+"0"+s[2]+"0"+s[3]+"0"+s[4]+"0";o.append(s)}o.append(this.symTableSet[11]);for(var l=o.toString(),u=new h,c=!0,a=0;a<l.length;a++){var p=void 0,p=1==c?"0"==l[a]?"4":"5":"0"==l[a]?"0":"1";u.append(p),c=!c}this.calculateSizeFull(this.standard2of5SpaceLeft,this.standard2of5SpaceRight,this.standard2of5SpaceTop,this.standard2of5SpaceBottom,this.standard2of5LineHeightShort,this.standard2of5LineHeightLong,this.standard2of5TextPosition,this.standard2of5TextHeight,this.standard2of5MainHeight,this.standard2of5LineHeightForCut,this.ratio,n,i,i,u.toString(),r,e),this.drawBarCode(t,r,e)},s.prototype.createNew=function(){return new s},t=s,i.StiStandard2of5BarCodeType=t}(Stimulsoft=Stimulsoft||{}),function(t){var e,r,n,c,p,t,o;function i(t,e,r,n,i){return void 0===t&&(t=13),void 0===e&&(e=1),void 0===r&&(r=c.StiEanSupplementType.None),void 0===n&&(n=null),void 0===i&&(i=!0),o.call(this,t,e,r,n,i)||this}r=e=t.Report||(t.Report={}),c=n=r.BarCodes||(r.BarCodes={}),p=t.System.StiArray,o=c.StiEAN13BarCodeType,__extends(i,o),Object.defineProperty(i.prototype,"componentId",{get:function(){return r.StiComponentId.StiUpcABarCodeType},enumerable:!1,configurable:!0}),Object.defineProperty(i.prototype,"serviceName",{get:function(){return"UPC-A"},enumerable:!1,configurable:!0}),Object.defineProperty(i.prototype,"eanSpaceLeft",{get:function(){return 9},enumerable:!1,configurable:!0}),Object.defineProperty(i.prototype,"eanSpaceRight",{get:function(){return 9},enumerable:!1,configurable:!0}),Object.defineProperty(i.prototype,"defaultCodeValue",{get:function(){return"4523456789012"},enumerable:!1,configurable:!0}),Object.defineProperty(i.prototype,"visibleProperties",{get:function(){var t=p.create(Boolean,this.visiblePropertiesCount);return t[11]=!0,t[13]=!0,t[19]=!0,t[20]=!0,t},enumerable:!1,configurable:!0}),Object.defineProperty(i.prototype,"showQuietZoneIndicator",{get:function(){return!1},set:function(t){},enumerable:!1,configurable:!0}),i.prototype.makeUpcABars=function(t,e){for(var r=p.create(Number,12),n=0;n<12;n++)r[n]=parseInt(t[n].toString());var i,o=10-(3*(r[1]+r[3]+r[5]+r[7]+r[9]+r[11])+r[0]+r[2]+r[4]+r[6]+r[8]+r[10])%10;10==o&&(o=0),t=t.substr(0,12)+String.fromCharCode(o+48);var a=[];a.push(new c.EanBarInfo(c.Ean13Symbol.SpaceLeft,t[1],!1)),a.push(new c.EanBarInfo(c.Ean13Symbol.GuardLeft," ",!1)),a.push(new c.EanBarInfo(c.Ean13Symbol.ComboA0+parseInt(t[1].toString())," ",!1,!0));for(var s=0;s<5;s++){var l=parseInt(t[2+s].toString()),u=new c.EanBarInfo(c.Ean13Symbol.ComboA0+l,t[2+s],!1);a.push(u)}a.push(new c.EanBarInfo(c.Ean13Symbol.GuardCenter," ",!1));for(var s=0;s<5;s++){var l=parseInt(t[7+s].toString()),u=new c.EanBarInfo(c.Ean13Symbol.ComboC0+l,t[7+s],!1);a.push(u)}return a.push(new c.EanBarInfo(c.Ean13Symbol.ComboC0+parseInt(t[12].toString())," ",!1,!0)),a.push(new c.EanBarInfo(c.Ean13Symbol.GuardRight," ",!1)),e?a.push(new c.EanBarInfo(c.Ean13Symbol.SpaceRight,t[12],!1)):a.push(new c.EanBarInfo(c.Ean13Symbol.SpaceBeforeAdd,t[12],!1)),a},i.prototype.draw=function(t,e,r,n){var i=this.getCode(e),i="0"+this.checkCodeSymbols(i,"0123456789")+"000000000000",o=this.checkCodeSymbols(this.supplementCode,"0123456789")+"00000",a=[];this.supplementType==c.StiEanSupplementType.None?a=this.makeUpcABars(i,!0):(a=this.makeUpcABars(i,!1),this.supplementType==c.StiEanSupplementType.TwoDigit?this.makeEanAdd2Bars(o,a,!0):this.makeEanAdd5Bars(o,a,!0)),this.calculateSizeEan(0,n,a,r,e),this.translateRect(t,r,e),this.drawEanBars(t,a,e),this.rollbackTransform(t)},i.prototype.createNew=function(){return new i},t=i,c.StiUpcABarCodeType=t}(Stimulsoft=Stimulsoft||{}),function(t){var e,r,n,l,i,t,o;function a(t,e,r,n,i){void 0===t&&(t=13),void 0===e&&(e=1),void 0===r&&(r=l.StiEanSupplementType.None),void 0===n&&(n=null),void 0===i&&(i=!0);var i=o.call(this,t,e,r,n,i)||this;return i.symParitySet=["eeeooo","eeoeoo","eeooeo","eeoooe","eoeeoo","eooeeo","eoooee","eoeoeo","eoeooe","eooeoe"],i}r=e=t.Report||(t.Report={}),l=n=r.BarCodes||(r.BarCodes={}),i=t.System.StiArray,o=l.StiEAN13BarCodeType,__extends(a,o),Object.defineProperty(a.prototype,"componentId",{get:function(){return r.StiComponentId.StiUpcEBarCodeType},enumerable:!1,configurable:!0}),Object.defineProperty(a.prototype,"serviceName",{get:function(){return"UPC-E"},enumerable:!1,configurable:!0}),Object.defineProperty(a.prototype,"eanSpaceLeft",{get:function(){return 9},enumerable:!1,configurable:!0}),Object.defineProperty(a.prototype,"eanSpaceRight",{get:function(){return 7},enumerable:!1,configurable:!0}),Object.defineProperty(a.prototype,"defaultCodeValue",{get:function(){return"01234567"},enumerable:!1,configurable:!0}),Object.defineProperty(a.prototype,"visibleProperties",{get:function(){var t=i.create(Boolean,this.visiblePropertiesCount);return t[11]=!0,t[13]=!0,t[19]=!0,t[20]=!0,t},enumerable:!1,configurable:!0}),Object.defineProperty(a.prototype,"showQuietZoneIndicator",{get:function(){return!1},set:function(t){},enumerable:!1,configurable:!0}),a.prototype.makeUpcEBars=function(t,e){var r=[];r.push(new l.EanBarInfo(l.Ean13Symbol.SpaceLeft,t[0],!1)),r.push(new l.EanBarInfo(l.Ean13Symbol.GuardLeft," ",!1));for(var n=this.symParitySet[t[7].stimulsoft.toNumber()],i=0;i<6;i++){var o=t[1+i].stimulsoft.toNumber(),a=n[i];"0"!=t[0]&&(a="o"==a?"e":"o");var s=new l.EanBarInfo(l.Ean13Symbol.ComboA0+o,t[1+i],!1);"o"!=a&&(s.symbolType=l.Ean13Symbol.ComboB0+o),r.push(s)}return r.push(new l.EanBarInfo(l.Ean13Symbol.GuardSpecial," ",!1)),r.push(new l.EanBarInfo(e?l.Ean13Symbol.SpaceRight:l.Ean13Symbol.SpaceBeforeAdd,t[7],!1)),r},a.prototype.createNew=function(){return new a},t=a,l.StiUpcEBarCodeType=t}(Stimulsoft=Stimulsoft||{}),function(t){var e,r,n,o,i,t,a;function s(t,e,r,n,i){return void 0===t&&(t=13),void 0===e&&(e=1),void 0===r&&(r=o.StiEanSupplementType.None),void 0===n&&(n=null),void 0===i&&(i=!0),a.call(this,t,e,r,n,i)||this}r=e=t.Report||(t.Report={}),o=n=r.BarCodes||(r.BarCodes={}),i=t.System.StiArray,a=o.StiEAN13BarCodeType,__extends(s,a),Object.defineProperty(s.prototype,"componentId",{get:function(){return r.StiComponentId.StiUpcSup2BarCodeType},enumerable:!1,configurable:!0}),Object.defineProperty(s.prototype,"serviceName",{get:function(){return"UPC-Supp2"},enumerable:!1,configurable:!0}),Object.defineProperty(s.prototype,"defaultCodeValue",{get:function(){return"02"},enumerable:!1,configurable:!0}),Object.defineProperty(s.prototype,"visibleProperties",{get:function(){var t=i.create(Boolean,this.visiblePropertiesCount);return t[11]=!0,t[13]=!0,t[17]=!0,t},enumerable:!1,configurable:!0}),s.prototype.draw=function(t,e,r,n){var i=this.getCode(e),i=this.checkCodeSymbols(i,"0123456789")+"00",i=this.makeEanAdd2Bars(i,null,!0);this.calculateSizeEan(0,n,i,r,e),this.translateRect(t,r,e),this.drawEanBars(t,i,e),this.rollbackTransform(t)},s.prototype.createNew=function(){return new s},t=s,o.StiUpcSup2BarCodeType=t}(Stimulsoft=Stimulsoft||{}),function(t){var e,r,n,o,i,t,a;function s(t,e,r,n,i){return void 0===t&&(t=13),void 0===e&&(e=1),void 0===r&&(r=o.StiEanSupplementType.None),void 0===n&&(n=null),void 0===i&&(i=!0),a.call(this,t,e,r,n,i)||this}r=e=t.Report||(t.Report={}),o=n=r.BarCodes||(r.BarCodes={}),i=t.System.StiArray,a=o.StiEAN13BarCodeType,__extends(s,a),Object.defineProperty(s.prototype,"componentId",{get:function(){return r.StiComponentId.StiUpcSup5BarCodeType},enumerable:!1,configurable:!0}),Object.defineProperty(s.prototype,"serviceName",{get:function(){return"UPC-Supp5"},enumerable:!1,configurable:!0}),Object.defineProperty(s.prototype,"defaultCodeValue",{get:function(){return"00321"},enumerable:!1,configurable:!0}),Object.defineProperty(s.prototype,"visibleProperties",{get:function(){var t=i.create(Boolean,this.visiblePropertiesCount);return t[11]=!0,t[13]=!0,t[17]=!0,t},enumerable:!1,configurable:!0}),s.prototype.draw=function(t,e,r,n){var i=this.getCode(e),i=this.checkCodeSymbols(i,"0123456789")+"00000",i=this.makeEanAdd5Bars(i,null,!0);this.calculateSizeEan(0,n,i,r,e),this.translateRect(t,r,e),this.drawEanBars(t,i,e),this.rollbackTransform(t)},s.prototype.createNew=function(){return new s},t=s,o.StiUpcSup5BarCodeType=t}(Stimulsoft=Stimulsoft||{}),function(t){var e,r,n,i;r=e=t.Report||(t.Report={}),(i=n=r.Chart||(r.Chart={})).IStiBoxAndWhiskerArea=new t.System.Interface("IStiBoxAndWhiskerArea")}(Stimulsoft=Stimulsoft||{}),function(t){var e,r,n,i;r=e=t.Report||(t.Report={}),(i=n=r.Chart||(r.Chart={})).IStiBubbleArea=new t.System.Interface("IStiBubbleArea")}(Stimulsoft=Stimulsoft||{}),function(t){var e,r,n,i;r=e=t.Report||(t.Report={}),(i=n=r.Chart||(r.Chart={})).IStiCandlestickArea=new t.System.Interface("IStiCandlestickArea")}(Stimulsoft=Stimulsoft||{}),function(t){var e,r,n,i;r=e=t.Report||(t.Report={}),(i=n=r.Chart||(r.Chart={})).IStiClusteredBarArea=new t.System.Interface("IStiClusteredBarArea")}(Stimulsoft=Stimulsoft||{}),function(t){var e,r,n,i;r=e=t.Report||(t.Report={}),(i=n=r.Chart||(r.Chart={})).IStiAreaArea=new t.System.Interface("IStiAreaArea")}(Stimulsoft=Stimulsoft||{}),function(t){var e,r,n,i;r=e=t.Report||(t.Report={}),(i=n=r.Chart||(r.Chart={})).IStiClusteredColumnArea=new t.System.Interface("IStiClusteredColumnArea")}(Stimulsoft=Stimulsoft||{}),function(t){var e,r,n,i;r=e=t.Report||(t.Report={}),(i=n=r.Chart||(r.Chart={})).IStiLineArea=new t.System.Interface("IStiLineArea")}(Stimulsoft=Stimulsoft||{}),function(t){var e,r,n,i;r=e=t.Report||(t.Report={}),(i=n=r.Chart||(r.Chart={})).IStiParetoArea=new t.System.Interface("IStiParetoArea")}(Stimulsoft=Stimulsoft||{}),function(t){var e,r,n,i;r=e=t.Report||(t.Report={}),(i=n=r.Chart||(r.Chart={})).IStiSplineArea=new t.System.Interface("IStiSplineArea")}(Stimulsoft=Stimulsoft||{}),function(t){var e,r,n,i;r=e=t.Report||(t.Report={}),(i=n=r.Chart||(r.Chart={})).IStiSplineAreaArea=new t.System.Interface("IStiSplineAreaArea")}(Stimulsoft=Stimulsoft||{}),function(t){var e,r,n,i;r=e=t.Report||(t.Report={}),(i=n=r.Chart||(r.Chart={})).IStiSteppedAreaArea=new t.System.Interface("IStiSteppedAreaArea")}(Stimulsoft=Stimulsoft||{}),function(t){var e,r,n,i;r=e=t.Report||(t.Report={}),(i=n=r.Chart||(r.Chart={})).IStiSteppedLineArea=new t.System.Interface("IStiSteppedLineArea")}(Stimulsoft=Stimulsoft||{}),function(t){var e,r,n,i;r=e=t.Report||(t.Report={}),(i=n=r.Chart||(r.Chart={})).IStiWaterfallArea=new t.System.Interface("IStiWaterfallArea")}(Stimulsoft=Stimulsoft||{}),function(t){var e,r,n,i;r=e=t.Report||(t.Report={}),(i=n=r.Chart||(r.Chart={})).IStiDoughnutArea=new t.System.Interface("IStiDoughnutArea")}(Stimulsoft=Stimulsoft||{}),function(t){var e,r,n,i;r=e=t.Report||(t.Report={}),(i=n=r.Chart||(r.Chart={})).IStiFullStackedBarArea=new t.System.Interface("IStiFullStackedBarArea")}(Stimulsoft=Stimulsoft||{}),function(t){var e,r,n,i;r=e=t.Report||(t.Report={}),(i=n=r.Chart||(r.Chart={})).IStiFullStackedAreaArea=new t.System.Interface("IStiFullStackedAreaArea")}(Stimulsoft=Stimulsoft||{}),function(t){var e,r,n,i;r=e=t.Report||(t.Report={}),(i=n=r.Chart||(r.Chart={})).IStiFullStackedColumnArea=new t.System.Interface("IStiFullStackedColumnArea")}(Stimulsoft=Stimulsoft||{}),function(t){var e,r,n,i;r=e=t.Report||(t.Report={}),(i=n=r.Chart||(r.Chart={})).IStiFullStackedLineArea=new t.System.Interface("IStiFullStackedLineArea")}(Stimulsoft=Stimulsoft||{}),function(t){var e,r,n,i;r=e=t.Report||(t.Report={}),(i=n=r.Chart||(r.Chart={})).IStiFullStackedSplineArea=new t.System.Interface("IStiFullStackedSplineArea")}(Stimulsoft=Stimulsoft||{}),function(t){var e,r,n,i;r=e=t.Report||(t.Report={}),(i=n=r.Chart||(r.Chart={})).IStiFullStackedSplineAreaArea=new t.System.Interface("IStiFullStackedSplineAreaArea")}(Stimulsoft=Stimulsoft||{}),function(t){var e,r,n,i;r=e=t.Report||(t.Report={}),(i=n=r.Chart||(r.Chart={})).IStiFunnelArea=new t.System.Interface("IStiFunnelArea")}(Stimulsoft=Stimulsoft||{}),function(t){var e,r,n,i;r=e=t.Report||(t.Report={}),(i=n=r.Chart||(r.Chart={})).IStiGanttArea=new t.System.Interface("IStiGanttArea")}(Stimulsoft=Stimulsoft||{}),function(t){var e,r,n,i;r=e=t.Report||(t.Report={}),(i=n=r.Chart||(r.Chart={})).IStiPictorialArea=new t.System.Interface("IStiPictorialArea")}(Stimulsoft=Stimulsoft||{}),function(t){var e,r,n,i;r=e=t.Report||(t.Report={}),(i=n=r.Chart||(r.Chart={})).IStiPieArea=new t.System.Interface("IStiPieArea")}(Stimulsoft=Stimulsoft||{}),function(t){var e,r,n,i;r=e=t.Report||(t.Report={}),(i=n=r.Chart||(r.Chart={})).IStiRadarArea=new t.System.Interface("IStiRadarArea")}(Stimulsoft=Stimulsoft||{}),function(t){var e,r,n,i;r=e=t.Report||(t.Report={}),(i=n=r.Chart||(r.Chart={})).IStiRadarAreaArea=new t.System.Interface("IStiRadarAreaArea")}(Stimulsoft=Stimulsoft||{}),function(t){var e,r,n,i;r=e=t.Report||(t.Report={}),(i=n=r.Chart||(r.Chart={})).IStiRadarLineArea=new t.System.Interface("IStiRadarLineArea")}(Stimulsoft=Stimulsoft||{}),function(t){var e,r,n,i;r=e=t.Report||(t.Report={}),(i=n=r.Chart||(r.Chart={})).IStiRadarPointArea=new t.System.Interface("IStiRadarPointArea")}(Stimulsoft=Stimulsoft||{}),function(t){var e,r,n,i;r=e=t.Report||(t.Report={}),(i=n=r.Chart||(r.Chart={})).IStiRangeArea=new t.System.Interface("IStiRangeArea")}(Stimulsoft=Stimulsoft||{}),function(t){var e,r,n,i;r=e=t.Report||(t.Report={}),(i=n=r.Chart||(r.Chart={})).IStiRangeBarArea=new t.System.Interface("IStiRangeBarArea")}(Stimulsoft=Stimulsoft||{}),function(t){var e,r,n,i;r=e=t.Report||(t.Report={}),(i=n=r.Chart||(r.Chart={})).IStiSplineRangeArea=new t.System.Interface("IStiSplineRangeArea")}(Stimulsoft=Stimulsoft||{}),function(t){var e,r,n,i;r=e=t.Report||(t.Report={}),(i=n=r.Chart||(r.Chart={})).IStiSteppedRangeArea=new t.System.Interface("IStiSteppedRangeArea")}(Stimulsoft=Stimulsoft||{}),function(t){var e,r,n,i;r=e=t.Report||(t.Report={}),(i=n=r.Chart||(r.Chart={})).IStiScatterArea=new t.System.Interface("IStiScatterArea")}(Stimulsoft=Stimulsoft||{}),function(t){var e,r,n,i;r=e=t.Report||(t.Report={}),(i=n=r.Chart||(r.Chart={})).IStiStackedBarArea=new t.System.Interface("IStiStackedBarArea")}(Stimulsoft=Stimulsoft||{}),function(t){var e,r,n,i;r=e=t.Report||(t.Report={}),(i=n=r.Chart||(r.Chart={})).IStiStackedAreaArea=new t.System.Interface("IStiStackedAreaArea")}(Stimulsoft=Stimulsoft||{}),function(t){var e,r,n,i;r=e=t.Report||(t.Report={}),(i=n=r.Chart||(r.Chart={})).IStiStackedColumnArea=new t.System.Interface("IStiStackedColumnArea")}(Stimulsoft=Stimulsoft||{}),function(t){var e,r,n,i;r=e=t.Report||(t.Report={}),(i=n=r.Chart||(r.Chart={})).IStiStackedLineArea=new t.System.Interface("IStiStackedLineArea")}(Stimulsoft=Stimulsoft||{}),function(t){var e,r,n,i;r=e=t.Report||(t.Report={}),(i=n=r.Chart||(r.Chart={})).IStiStackedSplineArea=new t.System.Interface("IStiStackedSplineArea")}(Stimulsoft=Stimulsoft||{}),function(t){var e,r,n,i;r=e=t.Report||(t.Report={}),(i=n=r.Chart||(r.Chart={})).IStiStackedSplineAreaArea=new t.System.Interface("IStiStackedSplineAreaArea")}(Stimulsoft=Stimulsoft||{}),function(t){var e,r,n,i;r=e=t.Report||(t.Report={}),(i=n=r.Chart||(r.Chart={})).IStiStockArea=new t.System.Interface("IStiStockArea")}(Stimulsoft=Stimulsoft||{}),function(t){var e,r,n,i;r=e=t.Report||(t.Report={}),(i=n=r.Chart||(r.Chart={})).IStiSunburstArea=new t.System.Interface("IStiSunburstArea")}(Stimulsoft=Stimulsoft||{}),function(t){var e,r,n,i;r=e=t.Report||(t.Report={}),(i=n=r.Chart||(r.Chart={})).IStiTreemapArea=new t.System.Interface("IStiTreemapArea")}(Stimulsoft=Stimulsoft||{}),function(t){var e,r,n,i;r=e=t.Report||(t.Report={}),(i=n=r.Chart||(r.Chart={})).IStiArea=new t.System.Interface("IStiArea")}(Stimulsoft=Stimulsoft||{}),function(t){var e,r,n,i;r=e=t.Report||(t.Report={}),(i=n=r.Chart||(r.Chart={})).IStiAreaCoreXF=new t.System.Interface("IStiAreaCoreXF")}(Stimulsoft=Stimulsoft||{}),function(t){var e,r,n,i;r=e=t.Report||(t.Report={}),(i=n=r.Chart||(r.Chart={})).IStiAxisArea=new t.System.Interface("IStiAxisArea")}(Stimulsoft=Stimulsoft||{}),function(t){var e,r,n,i;r=e=t.Report||(t.Report={}),(i=n=r.Chart||(r.Chart={})).IStiAxisAreaCoreXF=new t.System.Interface("IStiAxisAreaCoreXF")}(Stimulsoft=Stimulsoft||{}),function(t){var e,r,n,i;r=e=t.Report||(t.Report={}),(i=n=r.Chart||(r.Chart={})).IStiStripLineXF=new t.System.Interface("IStiStripLineXF")}(Stimulsoft=Stimulsoft||{}),function(t){var e,r,n,i;r=e=t.Report||(t.Report={}),(i=n=r.Chart||(r.Chart={})).IStiStripLinesXF=new t.System.Interface("IStiStripLinesXF")}(Stimulsoft=Stimulsoft||{}),function(t){var e,r,n,i;r=e=t.Report||(t.Report={}),(i=n=r.Chart||(r.Chart={})).IStiStripPositionXF=new t.System.Interface("IStiStripPositionXF")}(Stimulsoft=Stimulsoft||{}),function(t){var e,r,n,i;r=e=t.Report||(t.Report={}),(i=n=r.Chart||(r.Chart={})).IStiAxis=new t.System.Interface("IStiAxis")}(Stimulsoft=Stimulsoft||{}),function(t){var e,r,n,i;r=e=t.Report||(t.Report={}),(i=n=r.Chart||(r.Chart={})).IStiAxisCoreXF=new t.System.Interface("IStiAxisCoreXF")}(Stimulsoft=Stimulsoft||{}),function(t){var e,r,n,i;r=e=t.Report||(t.Report={}),(i=n=r.Chart||(r.Chart={})).IStiAxisDateTimeStep=new t.System.Interface("IStiAxisDateTimeStep")}(Stimulsoft=Stimulsoft||{}),function(t){var e,r,n,i;r=e=t.Report||(t.Report={}),(i=n=r.Chart||(r.Chart={})).IStiAxisInfoXF=new t.System.Interface("IStiAxisInfoXF")}(Stimulsoft=Stimulsoft||{}),function(t){var e,r,n,i;r=e=t.Report||(t.Report={}),(i=n=r.Chart||(r.Chart={})).IStiAxisInteraction=new t.System.Interface("IStiAxisInteraction")}(Stimulsoft=Stimulsoft||{}),function(t){var e,r,n,i;r=e=t.Report||(t.Report={}),(i=n=r.Chart||(r.Chart={})).IStiAxisLabels=new t.System.Interface("IStiAxisLabels")}(Stimulsoft=Stimulsoft||{}),function(t){var e,r,n,i;r=e=t.Report||(t.Report={}),(i=n=r.Chart||(r.Chart={})).IStiAxisLabelsCoreXF=new t.System.Interface("IStiAxisLabelsCoreXF")}(Stimulsoft=Stimulsoft||{}),function(t){var e,r,n,i;r=e=t.Report||(t.Report={}),(i=n=r.Chart||(r.Chart={})).IStiAxisRange=new t.System.Interface("IStiAxisRange")}(Stimulsoft=Stimulsoft||{}),function(t){var e,r,n,i;r=e=t.Report||(t.Report={}),(i=n=r.Chart||(r.Chart={})).IStiAxisTicks=new t.System.Interface("IStiAxisTicks")}(Stimulsoft=Stimulsoft||{}),function(t){var e,r,n,i;r=e=t.Report||(t.Report={}),(i=n=r.Chart||(r.Chart={})).IStiAxisTitle=new t.System.Interface("IStiAxisTitle")}(Stimulsoft=Stimulsoft||{}),function(t){var e,r,n,i;r=e=t.Report||(t.Report={}),(i=n=r.Chart||(r.Chart={})).IStiAxisTitleCoreXF=new t.System.Interface("IStiAxisTitleCoreXF")}(Stimulsoft=Stimulsoft||{}),function(t){var e,r,n,i;r=e=t.Report||(t.Report={}),(i=n=r.Chart||(r.Chart={})).IStiXAxis=new t.System.Interface("IStiXAxis")}(Stimulsoft=Stimulsoft||{}),function(t){var e,r,n,i;r=e=t.Report||(t.Report={}),(i=n=r.Chart||(r.Chart={})).IStiXBottomAxis=new t.System.Interface("IStiXBottomAxis")}(Stimulsoft=Stimulsoft||{}),function(t){var e,r,n,i;r=e=t.Report||(t.Report={}),(i=n=r.Chart||(r.Chart={})).IStiXTopAxis=new t.System.Interface("IStiXTopAxis")}(Stimulsoft=Stimulsoft||{}),function(t){var e,r,n,i;r=e=t.Report||(t.Report={}),(i=n=r.Chart||(r.Chart={})).IStiYAxis=new t.System.Interface("IStiYAxis")}(Stimulsoft=Stimulsoft||{}),function(t){var e,r,n,i;r=e=t.Report||(t.Report={}),(i=n=r.Chart||(r.Chart={})).IStiYLeftAxis=new t.System.Interface("IStiYLeftAxis")}(Stimulsoft=Stimulsoft||{}),function(t){var e,r,n,i;r=e=t.Report||(t.Report={}),(i=n=r.Chart||(r.Chart={})).IStiYRightAxis=new t.System.Interface("IStiYRightAxis")}(Stimulsoft=Stimulsoft||{}),function(t){var e,r,n,i;r=e=t.Report||(t.Report={}),(i=n=r.Chart||(r.Chart={})).IStiChartTitle=new t.System.Interface("IStiChartTitle")}(Stimulsoft=Stimulsoft||{}),function(t){var e,r,n,i;r=e=t.Report||(t.Report={}),(i=n=r.Chart||(r.Chart={})).IStiChartTitleCoreXF=new t.System.Interface("IStiChartTitleCoreXF")}(Stimulsoft=Stimulsoft||{}),function(t){var e,r,n,i;r=e=t.Report||(t.Report={}),(i=n=r.Chart||(r.Chart={})).IStiChartCondition=new t.System.Interface("IStiChartCondition")}(Stimulsoft=Stimulsoft||{}),function(t){var e,r,n,i;r=e=t.Report||(t.Report={}),(i=n=r.Chart||(r.Chart={})).IStiChartConditionsCollection=new t.System.Interface("IStiChartConditionsCollection")}(Stimulsoft=Stimulsoft||{}),function(t){var e,r,n,i;r=e=t.Report||(t.Report={}),(i=n=r.Chart||(r.Chart={})).IStiConstantLines=new t.System.Interface("IStiConstantLines")}(Stimulsoft=Stimulsoft||{}),function(t){var e,r,n,i;r=e=t.Report||(t.Report={}),(i=n=r.Chart||(r.Chart={})).IStiConstantLinesCollection=new t.System.Interface("IStiConstantLinesCollection")}(Stimulsoft=Stimulsoft||{}),function(t){var e,r,n,i;r=e=t.Report||(t.Report={}),(i=n=r.Chart||(r.Chart={})).IStiConstantLinesCoreXF=new t.System.Interface("IStiConstantLinesCoreXF")}(Stimulsoft=Stimulsoft||{}),function(t){var e,r,n,i;r=e=t.Report||(t.Report={}),(i=n=r.Chart||(r.Chart={})).IStiChartFilter=new t.System.Interface("IStiChartFilter")}(Stimulsoft=Stimulsoft||{}),function(t){var e,r,n,i;r=e=t.Report||(t.Report={}),(i=n=r.Chart||(r.Chart={})).IStiChartFiltersCollection=new t.System.Interface("IStiChartFiltersCollection")}(Stimulsoft=Stimulsoft||{}),function(t){var e,r,n,i;r=e=t.Report||(t.Report={}),(i=n=r.Chart||(r.Chart={})).IStiGridLines=new t.System.Interface("IStiGridLines")}(Stimulsoft=Stimulsoft||{}),function(t){var e,r,n,i;r=e=t.Report||(t.Report={}),(i=n=r.Chart||(r.Chart={})).IStiGridLinesCoreXF=new t.System.Interface("IStiGridLinesCoreXF")}(Stimulsoft=Stimulsoft||{}),function(t){var e,r,n,i;r=e=t.Report||(t.Report={}),(i=n=r.Chart||(r.Chart={})).IStiGridLinesHor=new t.System.Interface("IStiGridLinesHor")}(Stimulsoft=Stimulsoft||{}),function(t){var e,r,n,i;r=e=t.Report||(t.Report={}),(i=n=r.Chart||(r.Chart={})).IStiGridLinesVert=new t.System.Interface("IStiGridLinesVert")}(Stimulsoft=Stimulsoft||{}),function(t){var e,r,n,i;r=e=t.Report||(t.Report={}),(i=n=r.Chart||(r.Chart={})).IStiRadarGridLines=new t.System.Interface("IStiRadarGridLines")}(Stimulsoft=Stimulsoft||{}),function(t){var e,r,n,i;r=e=t.Report||(t.Report={}),(i=n=r.Chart||(r.Chart={})).IStiRadarGridLinesCoreXF=new t.System.Interface("IStiRadarGridLinesCoreXF")}(Stimulsoft=Stimulsoft||{}),function(t){var e,r,n,i;r=e=t.Report||(t.Report={}),(i=n=r.Chart||(r.Chart={})).IStiRadarGridLinesHor=new t.System.Interface("IStiRadarGridLinesHor")}(Stimulsoft=Stimulsoft||{}),function(t){var e,r,n,i;r=e=t.Report||(t.Report={}),(i=n=r.Chart||(r.Chart={})).IStiRadarGridLinesVert=new t.System.Interface("IStiRadarGridLinesVert")}(Stimulsoft=Stimulsoft||{}),function(t){var e,r,n,i;r=e=t.Report||(t.Report={}),(i=n=r.Chart||(r.Chart={})).IStiInterlacing=new t.System.Interface("IStiInterlacing")}(Stimulsoft=Stimulsoft||{}),function(t){var e,r,n,i;r=e=t.Report||(t.Report={}),(i=n=r.Chart||(r.Chart={})).IStiInterlacingCoreXF=new t.System.Interface("IStiInterlacingCoreXF")}(Stimulsoft=Stimulsoft||{}),function(t){var e,r,n,i;r=e=t.Report||(t.Report={}),(i=n=r.Chart||(r.Chart={})).IStiInterlacingHor=new t.System.Interface("IStiInterlacingHor")}(Stimulsoft=Stimulsoft||{}),function(t){var e,r,n,i;r=e=t.Report||(t.Report={}),(i=n=r.Chart||(r.Chart={})).IStiInterlacingVert=new t.System.Interface("IStiInterlacingVert")}(Stimulsoft=Stimulsoft||{}),function(t){var e,r,n,i;r=e=t.Report||(t.Report={}),(i=n=r.Chart||(r.Chart={})).IStiLegend=new t.System.Interface("IStiLegend")}(Stimulsoft=Stimulsoft||{}),function(t){var e,r,n,i;r=e=t.Report||(t.Report={}),(i=n=r.Chart||(r.Chart={})).IStiLegendCoreXF=new t.System.Interface("IStiLegendCoreXF")}(Stimulsoft=Stimulsoft||{}),function(t){var e,r,n,i;r=e=t.Report||(t.Report={}),(i=n=r.Chart||(r.Chart={})).IStiLegendMarker=new t.System.Interface("IStiLegendMarker")}(Stimulsoft=Stimulsoft||{}),function(t){var e,r,n,i;r=e=t.Report||(t.Report={}),(i=n=r.Chart||(r.Chart={})).IStiLineMarker=new t.System.Interface("IStiLineMarker")}(Stimulsoft=Stimulsoft||{}),function(t){var e,r,n,i;r=e=t.Report||(t.Report={}),(i=n=r.Chart||(r.Chart={})).IStiMarker=new t.System.Interface("IStiMarker")}(Stimulsoft=Stimulsoft||{}),function(t){var e,r,n,i;r=e=t.Report||(t.Report={}),(i=n=r.Chart||(r.Chart={})).IStiMarkerCoreXF=new t.System.Interface("IStiMarkerCoreXF")}(Stimulsoft=Stimulsoft||{}),function(t){var e,r,n,i;r=e=t.Report||(t.Report={}),(i=n=r.Chart||(r.Chart={})).IStiRadarAxis=new t.System.Interface("IStiRadarAxis")}(Stimulsoft=Stimulsoft||{}),function(t){var e,r,n,i;r=e=t.Report||(t.Report={}),(i=n=r.Chart||(r.Chart={})).IStiRadarAxisCoreXF=new t.System.Interface("IStiRadarAxisCoreXF")}(Stimulsoft=Stimulsoft||{}),function(t){var e,r,n,i;r=e=t.Report||(t.Report={}),(i=n=r.Chart||(r.Chart={})).IStiRadarAxisLabels=new t.System.Interface("IStiRadarAxisLabels")}(Stimulsoft=Stimulsoft||{}),function(t){var e,r,n,i;r=e=t.Report||(t.Report={}),(i=n=r.Chart||(r.Chart={})).IStiRadarAxisLabelsCoreXF=new t.System.Interface("IStiRadarAxisLabelsCoreXF")}(Stimulsoft=Stimulsoft||{}),function(t){var e,r,n,i;r=e=t.Report||(t.Report={}),(i=n=r.Chart||(r.Chart={})).IStiXRadarAxis=new t.System.Interface("IStiXRadarAxis")}(Stimulsoft=Stimulsoft||{}),function(t){var e,r,n,i;r=e=t.Report||(t.Report={}),(i=n=r.Chart||(r.Chart={})).IStiXRadarAxisCoreXF=new t.System.Interface("IStiXRadarAxisCoreXF")}(Stimulsoft=Stimulsoft||{}),function(t){var e,r,n,i;r=e=t.Report||(t.Report={}),(i=n=r.Chart||(r.Chart={})).IStiYRadarAxis=new t.System.Interface("IStiYRadarAxis")}(Stimulsoft=Stimulsoft||{}),function(t){var e,r,n,i;r=e=t.Report||(t.Report={}),(i=n=r.Chart||(r.Chart={})).IStiYRadarAxisCoreXF=new t.System.Interface("IStiYRadarAxisCoreXF")}(Stimulsoft=Stimulsoft||{}),function(t){var e,r,n,i;r=e=t.Report||(t.Report={}),(i=n=r.Chart||(r.Chart={})).IStiBoxAndWhiskerSeries=new t.System.Interface("IStiBoxAndWhiskerSeries")}(Stimulsoft=Stimulsoft||{}),function(t){var e,r,n,i;r=e=t.Report||(t.Report={}),(i=n=r.Chart||(r.Chart={})).IStiBubbleSeries=new t.System.Interface("IStiBubbleSeries")}(Stimulsoft=Stimulsoft||{}),function(t){var e,r,n,i;r=e=t.Report||(t.Report={}),(i=n=r.Chart||(r.Chart={})).IStiClusteredBarSeries=new t.System.Interface("IStiClusteredBarSeries")}(Stimulsoft=Stimulsoft||{}),function(t){var e,r,n,i;r=e=t.Report||(t.Report={}),(i=n=r.Chart||(r.Chart={})).IStiAreaSeries=new t.System.Interface("IStiAreaSeries")}(Stimulsoft=Stimulsoft||{}),function(t){var e,r,n,i;r=e=t.Report||(t.Report={}),(i=n=r.Chart||(r.Chart={})).IStiBaseLineSeries=new t.System.Interface("IStiBaseLineSeries")}(Stimulsoft=Stimulsoft||{}),function(t){var e,r,n,i;r=e=t.Report||(t.Report={}),(i=n=r.Chart||(r.Chart={})).IStiClusteredColumnSeries=new t.System.Interface("IStiClusteredColumnSeries")}(Stimulsoft=Stimulsoft||{}),function(t){var e,r,n,i;r=e=t.Report||(t.Report={}),(i=n=r.Chart||(r.Chart={})).IStiHistogramSeries=new t.System.Interface("IStiHistogramSeries")}(Stimulsoft=Stimulsoft||{}),function(t){var e,r,n,i;r=e=t.Report||(t.Report={}),(i=n=r.Chart||(r.Chart={})).IStiLineSeries=new t.System.Interface("IStiLineSeries")}(Stimulsoft=Stimulsoft||{}),function(t){var e,r,n,i;r=e=t.Report||(t.Report={}),(i=n=r.Chart||(r.Chart={})).IStiParetoSeries=new t.System.Interface("IStiParetoSeries")}(Stimulsoft=Stimulsoft||{}),function(t){var e,r,n,i;r=e=t.Report||(t.Report={}),(i=n=r.Chart||(r.Chart={})).IStiSplineAreaSeries=new t.System.Interface("IStiSplineAreaSeries")}(Stimulsoft=Stimulsoft||{}),function(t){var e,r,n,i;r=e=t.Report||(t.Report={}),(i=n=r.Chart||(r.Chart={})).IStiSplineSeries=new t.System.Interface("IStiSplineSeries")}(Stimulsoft=Stimulsoft||{}),function(t){var e,r,n,i;r=e=t.Report||(t.Report={}),(i=n=r.Chart||(r.Chart={})).IStiSteppedAreaSeries=new t.System.Interface("IStiSteppedAreaSeries")}(Stimulsoft=Stimulsoft||{}),function(t){var e,r,n,i;r=e=t.Report||(t.Report={}),(i=n=r.Chart||(r.Chart={})).IStiSteppedLineSeries=new t.System.Interface("IStiSteppedLineSeries")}(Stimulsoft=Stimulsoft||{}),function(t){var e,r,n,i;r=e=t.Report||(t.Report={}),(i=n=r.Chart||(r.Chart={})).IStiWaterfallSeries=new t.System.Interface("IStiWaterfallSeries")}(Stimulsoft=Stimulsoft||{}),function(t){var e,r,n,i;r=e=t.Report||(t.Report={}),(i=n=r.Chart||(r.Chart={})).IStiDoughnutSeries=new t.System.Interface("IStiDoughnutSeries")}(Stimulsoft=Stimulsoft||{}),function(t){var e,r,n,i;r=e=t.Report||(t.Report={}),(i=n=r.Chart||(r.Chart={})).IStiCandlestickSeries=new t.System.Interface("IStiCandlestickSeries")}(Stimulsoft=Stimulsoft||{}),function(t){var e,r,n,i;r=e=t.Report||(t.Report={}),(i=n=r.Chart||(r.Chart={})).IStiFinancialSeries=new t.System.Interface("IStiFinancialSeries")}(Stimulsoft=Stimulsoft||{}),function(t){var e,r,n,i;r=e=t.Report||(t.Report={}),(i=n=r.Chart||(r.Chart={})).IStiStockSeries=new t.System.Interface("IStiStockSeries")}(Stimulsoft=Stimulsoft||{}),function(t){var e,r,n,i;r=e=t.Report||(t.Report={}),(i=n=r.Chart||(r.Chart={})).IStiFullStackedBarSeries=new t.System.Interface("IStiFullStackedBarSeries")}(Stimulsoft=Stimulsoft||{}),function(t){var e,r,n,i;r=e=t.Report||(t.Report={}),(i=n=r.Chart||(r.Chart={})).IStiFullStackedAreaSeries=new t.System.Interface("IStiFullStackedAreaSeries")}(Stimulsoft=Stimulsoft||{}),function(t){var e,r,n,i;r=e=t.Report||(t.Report={}),(i=n=r.Chart||(r.Chart={})).IStiFullStackedColumnSeries=new t.System.Interface("IStiFullStackedColumnSeries")}(Stimulsoft=Stimulsoft||{}),function(t){var e,r,n,i;r=e=t.Report||(t.Report={}),(i=n=r.Chart||(r.Chart={})).IStiFullStackedLineSeries=new t.System.Interface("IStiFullStackedLineSeries")}(Stimulsoft=Stimulsoft||{}),function(t){var e,r,n,i;r=e=t.Report||(t.Report={}),(i=n=r.Chart||(r.Chart={})).IStiFullStackedSplineAreaSeries=new t.System.Interface("IStiFullStackedSplineAreaSeries")}(Stimulsoft=Stimulsoft||{}),function(t){var e,r,n,i;r=e=t.Report||(t.Report={}),(i=n=r.Chart||(r.Chart={})).IStiFullStackedSplineSeries=new t.System.Interface("IStiFullStackedSplineSeries")}(Stimulsoft=Stimulsoft||{}),function(t){var e,r,n,i;r=e=t.Report||(t.Report={}),(i=n=r.Chart||(r.Chart={})).IStiFunnelSeries=new t.System.Interface("IStiFunnelSeries")}(Stimulsoft=Stimulsoft||{}),function(t){var e,r,n,i;r=e=t.Report||(t.Report={}),(i=n=r.Chart||(r.Chart={})).IStiFunnelWeightedSlicesSeries=new t.System.Interface("IStiFunnelWeightedSlicesSeries")}(Stimulsoft=Stimulsoft||{}),function(t){var e,r,n,i;r=e=t.Report||(t.Report={}),(i=n=r.Chart||(r.Chart={})).IStiGanttSeries=new t.System.Interface("IStiGanttSeries")}(Stimulsoft=Stimulsoft||{}),function(t){var e,r,n,i;r=e=t.Report||(t.Report={}),(i=n=r.Chart||(r.Chart={})).IStiPictorialSeries=new t.System.Interface("IStiPictorialSeries")}(Stimulsoft=Stimulsoft||{}),function(t){var e,r,n,i;r=e=t.Report||(t.Report={}),(i=n=r.Chart||(r.Chart={})).IStiPieSeries=new t.System.Interface("IStiPieSeries")}(Stimulsoft=Stimulsoft||{}),function(t){var e,r,n,i;r=e=t.Report||(t.Report={}),(i=n=r.Chart||(r.Chart={})).IStiRadarAreaSeries=new t.System.Interface("IStiRadarAreaSeries")}(Stimulsoft=Stimulsoft||{}),function(t){var e,r,n,i;r=e=t.Report||(t.Report={}),(i=n=r.Chart||(r.Chart={})).IStiRadarLineSeries=new t.System.Interface("IStiRadarLineSeries")}(Stimulsoft=Stimulsoft||{}),function(t){var e,r,n,i;r=e=t.Report||(t.Report={}),(i=n=r.Chart||(r.Chart={})).IStiRadarPointSeries=new t.System.Interface("IStiRadarPointSeries")}(Stimulsoft=Stimulsoft||{}),function(t){var e,r,n,i;r=e=t.Report||(t.Report={}),(i=n=r.Chart||(r.Chart={})).IStiRadarSeries=new t.System.Interface("IStiRadarSeries")}(Stimulsoft=Stimulsoft||{}),function(t){var e,r,n,i;r=e=t.Report||(t.Report={}),(i=n=r.Chart||(r.Chart={})).IStiLineRangeSeries=new t.System.Interface("IStiLineRangeSeries")}(Stimulsoft=Stimulsoft||{}),function(t){var e,r,n,i;r=e=t.Report||(t.Report={}),(i=n=r.Chart||(r.Chart={})).IStiRangeBarSeries=new t.System.Interface("IStiRangeBarSeries")}(Stimulsoft=Stimulsoft||{}),function(t){var e,r,n,i;r=e=t.Report||(t.Report={}),(i=n=r.Chart||(r.Chart={})).IStiRangeSeries=new t.System.Interface("IStiRangeSeries")}(Stimulsoft=Stimulsoft||{}),function(t){var e,r,n,i;r=e=t.Report||(t.Report={}),(i=n=r.Chart||(r.Chart={})).IStiSplineRangeSeries=new t.System.Interface("IStiSplineRangeSeries")}(Stimulsoft=Stimulsoft||{}),function(t){var e,r,n,i;r=e=t.Report||(t.Report={}),(i=n=r.Chart||(r.Chart={})).IStiSteppedRangeSeries=new t.System.Interface("IStiSteppedRangeSeries")}(Stimulsoft=Stimulsoft||{}),function(t){var e,r,n,i;r=e=t.Report||(t.Report={}),(i=n=r.Chart||(r.Chart={})).IStiScatterLineSeries=new t.System.Interface("IStiScatterLineSeries")}(Stimulsoft=Stimulsoft||{}),function(t){var e,r,n,i;r=e=t.Report||(t.Report={}),(i=n=r.Chart||(r.Chart={})).IStiScatterSeries=new t.System.Interface("IStiScatterSeries")}(Stimulsoft=Stimulsoft||{}),function(t){var e,r,n,i;r=e=t.Report||(t.Report={}),(i=n=r.Chart||(r.Chart={})).IStiScatterSplineSeries=new t.System.Interface("IStiScatterSplineSeries")}(Stimulsoft=Stimulsoft||{}),function(t){var e,r,n,i;r=e=t.Report||(t.Report={}),(i=n=r.Chart||(r.Chart={})).IStiStackedBarSeries=new t.System.Interface("IStiStackedBarSeries")}(Stimulsoft=Stimulsoft||{}),function(t){var e,r,n,i;r=e=t.Report||(t.Report={}),(i=n=r.Chart||(r.Chart={})).IStiStackedAreaSeries=new t.System.Interface("IStiStackedAreaSeries")}(Stimulsoft=Stimulsoft||{}),function(t){var e,r,n,i;r=e=t.Report||(t.Report={}),(i=n=r.Chart||(r.Chart={})).IStiStackedBaseLineSeries=new t.System.Interface("IStiStackedBaseLineSeries")}(Stimulsoft=Stimulsoft||{}),function(t){var e,r,n,i;r=e=t.Report||(t.Report={}),(i=n=r.Chart||(r.Chart={})).IStiStackedColumnSeries=new t.System.Interface("IStiStackedColumnSeries")}(Stimulsoft=Stimulsoft||{}),function(t){var e,r,n,i;r=e=t.Report||(t.Report={}),(i=n=r.Chart||(r.Chart={})).IStiStackedLineSeries=new t.System.Interface("IStiStackedLineSeries")}(Stimulsoft=Stimulsoft||{}),function(t){var e,r,n,i;r=e=t.Report||(t.Report={}),(i=n=r.Chart||(r.Chart={})).IStiStackedSplineAreaSeries=new t.System.Interface("IStiStackedSplineAreaSeries")}(Stimulsoft=Stimulsoft||{}),function(t){var e,r,n,i;r=e=t.Report||(t.Report={}),(i=n=r.Chart||(r.Chart={})).IStiStackedSplineSeries=new t.System.Interface("IStiStackedSplineSeries")}(Stimulsoft=Stimulsoft||{}),function(t){var e,r,n,i;r=e=t.Report||(t.Report={}),(i=n=r.Chart||(r.Chart={})).IStiSunburstSeries=new t.System.Interface("IStiSunburstSeries")}(Stimulsoft=Stimulsoft||{}),function(t){var e,r,n,i;r=e=t.Report||(t.Report={}),(i=n=r.Chart||(r.Chart={})).IStiTreemapSeries=new t.System.Interface("IStiTreemapSeries")}(Stimulsoft=Stimulsoft||{}),function(t){var e,r,n,i;r=e=t.Report||(t.Report={}),(i=n=r.Chart||(r.Chart={})).IStiAxisSeriesLabels=new t.System.Interface("IStiAxisSeriesLabels")}(Stimulsoft=Stimulsoft||{}),function(t){var e,r,n,i;r=e=t.Report||(t.Report={}),(i=n=r.Chart||(r.Chart={})).IStiCenterAxisLabels=new t.System.Interface("IStiCenterAxisLabels")}(Stimulsoft=Stimulsoft||{}),function(t){var e,r,n,i;r=e=t.Report||(t.Report={}),(i=n=r.Chart||(r.Chart={})).IStiInsideBaseAxisLabels=new t.System.Interface("IStiInsideBaseAxisLabels")}(Stimulsoft=Stimulsoft||{}),function(t){var e,r,n,i;r=e=t.Report||(t.Report={}),(i=n=r.Chart||(r.Chart={})).IStiInsideEndAxisLabels=new t.System.Interface("IStiInsideEndAxisLabels")}(Stimulsoft=Stimulsoft||{}),function(t){var e,r,n,i;r=e=t.Report||(t.Report={}),(i=n=r.Chart||(r.Chart={})).IStiLeftAxisLabels=new t.System.Interface("IStiLeftAxisLabels")}(Stimulsoft=Stimulsoft||{}),function(t){var e,r,n,i;r=e=t.Report||(t.Report={}),(i=n=r.Chart||(r.Chart={})).IStiOutsideAxisLabels=new t.System.Interface("IStiOutsideAxisLabels")}(Stimulsoft=Stimulsoft||{}),function(t){var e,r,n,i;r=e=t.Report||(t.Report={}),(i=n=r.Chart||(r.Chart={})).IStiOutsideBaseAxisLabels=new t.System.Interface("IStiOutsideBaseAxisLabels")}(Stimulsoft=Stimulsoft||{}),function(t){var e,r,n,i;r=e=t.Report||(t.Report={}),(i=n=r.Chart||(r.Chart={})).IStiOutsideEndAxisLabels=new t.System.Interface("IStiOutsideEndAxisLabels")}(Stimulsoft=Stimulsoft||{}),function(t){var e,r,n,i;r=e=t.Report||(t.Report={}),(i=n=r.Chart||(r.Chart={})).IStiRightAxisLabels=new t.System.Interface("IStiRightAxisLabels")}(Stimulsoft=Stimulsoft||{}),function(t){var e,r,n,i;r=e=t.Report||(t.Report={}),(i=n=r.Chart||(r.Chart={})).IStiValueAxisLabels=new t.System.Interface("IStiValueAxisLabels")}(Stimulsoft=Stimulsoft||{}),function(t){var e,r,n,i;r=e=t.Report||(t.Report={}),(i=n=r.Chart||(r.Chart={})).IStiCenterFunnelLabels=new t.System.Interface("IStiCenterFunnelLabels")}(Stimulsoft=Stimulsoft||{}),function(t){var e,r,n,i;r=e=t.Report||(t.Report={}),(i=n=r.Chart||(r.Chart={})).IStiFunnelSeriesLabels=new t.System.Interface("IStiFunnelSeriesLabels")}(Stimulsoft=Stimulsoft||{}),function(t){var e,r,n,i;r=e=t.Report||(t.Report={}),(i=n=r.Chart||(r.Chart={})).IStiOutsideLeftFunnelLabels=new t.System.Interface("IStiOutsideLeftFunnelLabels")}(Stimulsoft=Stimulsoft||{}),function(t){var e,r,n,i;r=e=t.Report||(t.Report={}),(i=n=r.Chart||(r.Chart={})).IStiOutsideRightFunnelLabels=new t.System.Interface("IStiOutsideRightFunnelLabels")}(Stimulsoft=Stimulsoft||{}),function(t){var e,r,n,i;r=e=t.Report||(t.Report={}),(i=n=r.Chart||(r.Chart={})).IStiCenterPieLabels=new t.System.Interface("IStiCenterPieLabels")}(Stimulsoft=Stimulsoft||{}),function(t){var e,r,n,i;r=e=t.Report||(t.Report={}),(i=n=r.Chart||(r.Chart={})).IStiInsideEndPieLabels=new t.System.Interface("IStiInsideEndPieLabels")}(Stimulsoft=Stimulsoft||{}),function(t){var e,r,n,i;r=e=t.Report||(t.Report={}),(i=n=r.Chart||(r.Chart={})).IStiOutsidePieLabels=new t.System.Interface("IStiOutsidePieLabels")}(Stimulsoft=Stimulsoft||{}),function(t){var e,r,n,i;r=e=t.Report||(t.Report={}),(i=n=r.Chart||(r.Chart={})).IStiPieSeriesLabels=new t.System.Interface("IStiPieSeriesLabels")}(Stimulsoft=Stimulsoft||{}),function(t){var e,r,n,i;r=e=t.Report||(t.Report={}),(i=n=r.Chart||(r.Chart={})).IStiTwoColumnsPieLabels=new t.System.Interface("IStiTwoColumnsPieLabels")}(Stimulsoft=Stimulsoft||{}),function(t){var e,r,n,i;r=e=t.Report||(t.Report={}),(i=n=r.Chart||(r.Chart={})).IStiRadarSeriesLabels=new t.System.Interface("IStiRadarSeriesLabels")}(Stimulsoft=Stimulsoft||{}),function(t){var e,r,n,i;r=e=t.Report||(t.Report={}),(i=n=r.Chart||(r.Chart={})).IStiTangentRadarLabels=new t.System.Interface("IStiTangentRadarLabels")}(Stimulsoft=Stimulsoft||{}),function(t){var e,r,n,i;r=e=t.Report||(t.Report={}),(i=n=r.Chart||(r.Chart={})).IStiAllowApplyBorderColor=new t.System.Interface("IStiAllowApplyBorderColor")}(Stimulsoft=Stimulsoft||{}),function(t){var e,r,n,i;r=e=t.Report||(t.Report={}),(i=n=r.Chart||(r.Chart={})).IStiAllowApplyBrush=new t.System.Interface("IStiAllowApplyBrush")}(Stimulsoft=Stimulsoft||{}),function(t){var e,r,n,i;r=e=t.Report||(t.Report={}),(i=n=r.Chart||(r.Chart={})).IStiAllowApplyBrushNegative=new t.System.Interface("IStiAllowApplyBrushNegative")}(Stimulsoft=Stimulsoft||{}),function(t){var e,r,n,i;r=e=t.Report||(t.Report={}),(i=n=r.Chart||(r.Chart={})).IStiAllowApplyColorNegative=new t.System.Interface("IStiAllowApplyColorNegative")}(Stimulsoft=Stimulsoft||{}),function(t){var e,r,n,i;r=e=t.Report||(t.Report={}),(i=n=r.Chart||(r.Chart={})).IStiFontIconsSeries=new t.System.Interface("IStiFontIconsSeries")}(Stimulsoft=Stimulsoft||{}),function(t){var e,r,n,i;r=e=t.Report||(t.Report={}),(i=n=r.Chart||(r.Chart={})).IStiSeries=new t.System.Interface("IStiSeries")}(Stimulsoft=Stimulsoft||{}),function(t){var e,r,n,i;r=e=t.Report||(t.Report={}),(i=n=r.Chart||(r.Chart={})).IStiSeriesCollection=new t.System.Interface("IStiSeriesCollection")}(Stimulsoft=Stimulsoft||{}),function(t){var e,r,n,i;r=e=t.Report||(t.Report={}),(i=n=r.Chart||(r.Chart={})).IStiSeriesCoreXF=new t.System.Interface("IStiSeriesCoreXF")}(Stimulsoft=Stimulsoft||{}),function(t){var e,r,n,i;r=e=t.Report||(t.Report={}),(i=n=r.Chart||(r.Chart={})).IStiShowNullsSeries=new t.System.Interface("IStiShowNullsSeries")}(Stimulsoft=Stimulsoft||{}),function(t){var e,r,n,i;r=e=t.Report||(t.Report={}),(i=n=r.Chart||(r.Chart={})).IStiShowZerosSeries=new t.System.Interface("IStiShowZerosSeries")}(Stimulsoft=Stimulsoft||{}),function(t){var e,r,n,i;r=e=t.Report||(t.Report={}),(i=n=r.Chart||(r.Chart={})).IStiNoneLabels=new t.System.Interface("IStiNoneLabels")}(Stimulsoft=Stimulsoft||{}),function(t){var e,r,n,i;r=e=t.Report||(t.Report={}),(i=n=r.Chart||(r.Chart={})).IStiSeriesLabels=new t.System.Interface("IStiSeriesLabels")}(Stimulsoft=Stimulsoft||{}),function(t){var e,r,n,i;r=e=t.Report||(t.Report={}),(i=n=r.Chart||(r.Chart={})).IStiSeriesLabelsCoreXF=new t.System.Interface("IStiSeriesLabelsCoreXF")}(Stimulsoft=Stimulsoft||{}),function(t){var e,r,n,i;r=e=t.Report||(t.Report={}),(i=n=r.Chart||(r.Chart={})).IStiStrips=new t.System.Interface("IStiStrips")}(Stimulsoft=Stimulsoft||{}),function(t){var e,r,n,i;r=e=t.Report||(t.Report={}),(i=n=r.Chart||(r.Chart={})).IStiStripsCollection=new t.System.Interface("IStiStripsCollection")}(Stimulsoft=Stimulsoft||{}),function(t){var e,r,n,i;r=e=t.Report||(t.Report={}),(i=n=r.Chart||(r.Chart={})).IStiStripsCoreXF=new t.System.Interface("IStiStripsCoreXF")}(Stimulsoft=Stimulsoft||{}),function(t){var e,r,n,i;r=e=t.Report||(t.Report={}),(i=n=r.Chart||(r.Chart={})).IStiChartStyle=new t.System.Interface("IStiChartStyle")}(Stimulsoft=Stimulsoft||{}),function(t){var e,r,n,i;r=e=t.Report||(t.Report={}),(i=n=r.Chart||(r.Chart={})).IStiCustomStyle=new t.System.Interface("IStiCustomStyle")}(Stimulsoft=Stimulsoft||{}),function(t){var e,r,n,i;r=e=t.Report||(t.Report={}),(i=n=r.Chart||(r.Chart={})).IStiCustomStyleCoreXF=new t.System.Interface("IStiCustomStyleCoreXF")}(Stimulsoft=Stimulsoft||{}),function(t){var e,r,n,i;r=e=t.Report||(t.Report={}),(i=n=r.Chart||(r.Chart={})).IStiStyleCoreXF=new t.System.Interface("IStiStyleCoreXF")}(Stimulsoft=Stimulsoft||{}),function(t){var e,r,n,i;r=e=t.Report||(t.Report={}),(i=n=r.Chart||(r.Chart={})).IStiChartTable=new t.System.Interface("IStiChartTable")}(Stimulsoft=Stimulsoft||{}),function(t){var e,r,n,i;r=e=t.Report||(t.Report={}),(i=n=r.Chart||(r.Chart={})).IStiChartTableCoreXF=new t.System.Interface("IStiChartTableCoreXF")}(Stimulsoft=Stimulsoft||{}),function(t){var e,r,n,i;r=e=t.Report||(t.Report={}),(i=n=r.Chart||(r.Chart={})).IStiChartTableDataCells=new t.System.Interface("IStiChartTableDataCells")}(Stimulsoft=Stimulsoft||{}),function(t){var e,r,n,i;r=e=t.Report||(t.Report={}),(i=n=r.Chart||(r.Chart={})).IStiChartTableHeader=new t.System.Interface("IStiChartTableHeader")}(Stimulsoft=Stimulsoft||{}),function(t){var e,r,n,i;r=e=t.Report||(t.Report={}),(i=n=r.Chart||(r.Chart={})).IStiSeriesTopN=new t.System.Interface("IStiSeriesTopN")}(Stimulsoft=Stimulsoft||{}),function(t){var e,r,n,i;r=e=t.Report||(t.Report={}),(i=n=r.Chart||(r.Chart={})).IStiTrendLine=new t.System.Interface("IStiTrendLine")}(Stimulsoft=Stimulsoft||{}),function(t){var e,r,n,i;r=e=t.Report||(t.Report={}),(i=n=r.Chart||(r.Chart={})).IStiTrendLineCoreXF=new t.System.Interface("IStiTrendLineCoreXF")}(Stimulsoft=Stimulsoft||{}),function(t){var e,r,n,i;r=e=t.Report||(t.Report={}),(i=n=r.Chart||(r.Chart={})).IStiTrendLineExponential=new t.System.Interface("IStiTrendLineExponential")}(Stimulsoft=Stimulsoft||{}),function(t){var e,r,n,i;r=e=t.Report||(t.Report={}),(i=n=r.Chart||(r.Chart={})).IStiTrendLineLinear=new t.System.Interface("IStiTrendLineLinear")}(Stimulsoft=Stimulsoft||{}),function(t){var e,r,n,i;r=e=t.Report||(t.Report={}),(i=n=r.Chart||(r.Chart={})).IStiTrendLineLogarithmic=new t.System.Interface("IStiTrendLineLogarithmic")}(Stimulsoft=Stimulsoft||{}),function(t){var e,r,n,i;r=e=t.Report||(t.Report={}),(i=n=r.Chart||(r.Chart={})).IStiTrendLineNone=new t.System.Interface("IStiTrendLineNone")}(Stimulsoft=Stimulsoft||{}),function(t){var e,r,n,i;r=e=t.Report||(t.Report={}),(i=n=r.Chart||(r.Chart={})).IStiTrendLinesCollection=new t.System.Interface("IStiTrendLinesCollection")}(Stimulsoft=Stimulsoft||{}),function(t){var e,r,n,i;r=e=t.Report||(t.Report={}),(i=n=r.Chart||(r.Chart={})).IStiWaterfallConnectorLine=new t.System.Interface("IStiWaterfallConnectorLine")}(Stimulsoft=Stimulsoft||{}),function(t){var e,r,n,i;r=e=t.Report||(t.Report={}),(i=n=r.Chart||(r.Chart={})).IStiWaterfallTotal=new t.System.Interface("IStiWaterfallTotal")}(Stimulsoft=Stimulsoft||{}),function(t){var e,r,n,i;r=e=t.Report||(t.Report={}),(i=n=r.Chart||(r.Chart={})).IStiApplyStyle=new t.System.Interface("IStiApplyStyle")}(Stimulsoft=Stimulsoft||{}),function(t){var e,r,n,i;r=e=t.Report||(t.Report={}),(i=n=r.Chart||(r.Chart={})).IStiApplyStyleSeries=new t.System.Interface("IStiApplyStyleSeries")}(Stimulsoft=Stimulsoft||{}),function(t){var e,r,n,i;r=e=t.Report||(t.Report={}),(i=n=r.Chart||(r.Chart={})).IStiCellGeom=new t.System.Interface("IStiCellGeom")}(Stimulsoft=Stimulsoft||{}),function(t){var e,r,n,i;r=e=t.Report||(t.Report={}),(i=n=r.Chart||(r.Chart={})).IStiChart=new t.System.Interface("IStiChart")}(Stimulsoft=Stimulsoft||{}),function(t){var e,r,n,i;r=e=t.Report||(t.Report={}),(i=n=r.Chart||(r.Chart={})).IStiChartCoreXF=new t.System.Interface("IStiChartCoreXF")}(Stimulsoft=Stimulsoft||{}),function(t){var e,r,n,i;r=e=t.Report||(t.Report={}),(i=n=r.Chart||(r.Chart={})).IStiChartInfo=new t.System.Interface("IStiChartInfo")}(Stimulsoft=Stimulsoft||{}),function(t){var e,r,n,i;r=e=t.Report||(t.Report={}),(i=n=r.Chart||(r.Chart={})).IStiGeomInteraction=new t.System.Interface("IStiGeomInteraction")}(Stimulsoft=Stimulsoft||{}),function(t){var e,r,n,i;r=e=t.Report||(t.Report={}),(i=n=r.Chart||(r.Chart={})).IStiSeriesElement=new t.System.Interface("IStiSeriesElement")}(Stimulsoft=Stimulsoft||{}),function(t){var e,r,n,i;r=e=t.Report||(t.Report={}),(i=n=r.Chart||(r.Chart={})).IStiSeriesInteraction=new t.System.Interface("IStiSeriesInteraction")}(Stimulsoft=Stimulsoft||{}),function(t){var e,r,n,t,i,o,a,s,l,u,c,p,h,m,d,g,f,S,y,A,b,C,v,w,B,I,T,E,R,D,P,x,F,N,k,M,O,_,j,G,H,Q,L;function Y(){this.lineColor=90,this.lineStyle=100,this.lineWidth=110,this.showShadow=120}function U(){this.allowApplyStyle=90,this.angle=100,this.antialiasing=110,this.autoRotate=120,this.conditions=125,this.drawBorder=130,this.borderColor=140,this.brush=150,this.font=160,this.format=170,this.labelColor=180,this.legendValueType=190,this.lineColor=200,this.lineColorNegative=201,this.lineLength=205,this.markerAlignment=210,this.markerSize=220,this.markerVisible=230,this.preventIntersection=240,this.showInPercent=250,this.showNulls=255,this.showValue=260,this.showZeros=270,this.step=280,this.textAfter=290,this.textBefore=300,this.useSeriesColor=310,this.valueType=320,this.valueTypeSeparator=330,this.visible=340,this.width=350,this.wordWrap=360}function J(){this.allowSeries=90,this.allowSeriesElements=95,this.drillDownEnabled=100,this.drillDownPage=110,this.drillDownReport=120,this.hyperlinkDataColumn=130,this.tagDataColumn=140,this.toolTipDataColumn=150,this.weightDataColumn=160,this.hyperlink=170,this.tag=180,this.toolTip=190,this.weight=200,this.listOfHyperlinks=210,this.listOfTags=220,this.listOfToolTips=230,this.listOfWeights=240,this.valueValueDataColumn=100,this.valueValue=110,this.valueListOfValues=120,this.valueValueDataColumnEnd=100,this.valueValueEnd=110,this.valueListOfValuesEnd=120,this.valueValueDataColumnOpen=1,this.valueValueOpen=2,this.valueListOfValuesOpen=3,this.valueValueDataColumnClose=100,this.valueValueClose=110,this.valueListOfValuesClose=120,this.valueValueDataColumnHigh=100,this.valueValueHigh=110,this.valueListOfValuesHigh=120,this.valueValueDataColumnLow=100,this.valueValueLow=110,this.valueListOfValuesLow=120,this.argumentArgumentDataColumn=130,this.argumentArgument=140,this.argumentListOfArguments=150,this.weightWeightDataColumn=100,this.weightWeight=110,this.weightListOfWeights=120,this.appearanceAllowApplyBorderColor=130,this.appearanceAllowApplyBrush=135,this.appearanceAllowApplyBrushNegative=136,this.appearanceAllowApplyColorNegative=137,this.appearanceDiameter=140,this.appearanceBorderColor=145,this.appearanceBrush=150,this.appearanceBrushNegative=151,this.appearanceLighting=155,this.appearanceShowShadow=160,this.appearanceTopmostLine=170,this.appearanceFunnelSliceMode=180,this.dataConditions=210,this.dataFilters=220,this.dataFilterMode=230,this.dataTopN=235,this.dataFormat=240,this.dataSortBy=250,this.dataSortDirection=260,this.dataAutoSeriesKeyDataColumn=270,this.dataAutoSeriesColorDataColumn=280,this.dataAutoSeriesTitleDataColumn=290}r=e=t.Report||(t.Report={}),(t=n=r.Chart||(r.Chart={})).StiTrendLinePropertyOrder=Y,t.StiSeriesLabelsPropertyOrder=U,t.StiSeriesPropertyOrder=J,(r=s=t.StiChartTitleDock||(t.StiChartTitleDock={}))[r["Top"]=0]="Top",r[r["Right"]=90]="Right",r[r["Bottom"]=180]="Bottom",r[r["Left"]=270]="Left",(r=l=t.StiLegendDirection||(t.StiLegendDirection={}))[r["LeftToRight"]=0]="LeftToRight",r[r["RightToLeft"]=1]="RightToLeft",r[r["TopToBottom"]=2]="TopToBottom",r[r["BottomToTop"]=3]="BottomToTop",(r=u=t.StiDirection||(t.StiDirection={}))[r["LeftToRight"]=0]="LeftToRight",r[r["RightToLeft"]=1]="RightToLeft",r[r["TopToBottom"]=2]="TopToBottom",r[r["BottomToTop"]=3]="BottomToTop",(r=c=t.StiLegendHorAlignment||(t.StiLegendHorAlignment={}))[r["LeftOutside"]=0]="LeftOutside",r[r["Left"]=1]="Left",r[r["Center"]=2]="Center",r[r["Right"]=3]="Right",r[r["RightOutside"]=4]="RightOutside",(r=p=t.StiLegendVertAlignment||(t.StiLegendVertAlignment={}))[r["TopOutside"]=0]="TopOutside",r[r["Top"]=1]="Top",r[r["Center"]=2]="Center",r[r["Bottom"]=3]="Bottom",r[r["BottomOutside"]=4]="BottomOutside",(r=h=t.StiMarkerAlignment||(t.StiMarkerAlignment={}))[r["Left"]=0]="Left",r[r["Center"]=1]="Center",r[r["Right"]=2]="Right",(r=m=t.StiChartAreaPosition||(t.StiChartAreaPosition={}))[r["ClusteredColumn"]=0]="ClusteredColumn",r[r["StackedColumn"]=1]="StackedColumn",r[r["FullStackedColumn"]=2]="FullStackedColumn",r[r["Pareto"]=3]="Pareto",r[r["Waterfall"]=4]="Waterfall",r[r["Histogram"]=5]="Histogram",r[r["ClusteredBar"]=10]="ClusteredBar",r[r["StackedBar"]=11]="StackedBar",r[r["FullStackedBar"]=12]="FullStackedBar",r[r["Pie"]=20]="Pie",r[r["Doughnut"]=21]="Doughnut",r[r["Line"]=30]="Line",r[r["SteppedLine"]=31]="SteppedLine",r[r["StackedLine"]=32]="StackedLine",r[r["FullStackedLine"]=33]="FullStackedLine",r[r["Spline"]=40]="Spline",r[r["StackedSpline"]=41]="StackedSpline",r[r["FullStackedSpline"]=42]="FullStackedSpline",r[r["Area"]=50]="Area",r[r["SteppedArea"]=51]="SteppedArea",r[r["StackedArea"]=52]="StackedArea",r[r["FullStackedArea"]=53]="FullStackedArea",r[r["SplineArea"]=60]="SplineArea",r[r["StackedSplineArea"]=61]="StackedSplineArea",r[r["FullStackedSplineArea"]=62]="FullStackedSplineArea",r[r["Gantt"]=70]="Gantt",r[r["Scatter"]=80]="Scatter",r[r["Bubble"]=81]="Bubble",r[r["RadarPoint"]=82]="RadarPoint",r[r["RadarLine"]=83]="RadarLine",r[r["RadarArea"]=84]="RadarArea",r[r["Range"]=90]="Range",r[r["SteppedRange"]=91]="SteppedRange",r[r["RangeBar"]=92]="RangeBar",r[r["SplineRange"]=93]="SplineRange",r[r["Funnel"]=100]="Funnel",r[r["Candlestick"]=110]="Candlestick",r[r["Stock"]=120]="Stock",r[r["BoxAndWhisker"]=121]="BoxAndWhisker",r[r["Treemap"]=130]="Treemap",r[r["Pictorial"]=131]="Pictorial",r[r["Sunburst"]=140]="Sunburst",(r=d=t.StiChartSeriesOrientation||(t.StiChartSeriesOrientation={}))[r["Horizontal"]=0]="Horizontal",r[r["Vertical"]=1]="Vertical",(r=g=t.StiArrowStyle||(t.StiArrowStyle={}))[r["None"]=0]="None",r[r["Triangle"]=1]="Triangle",r[r["Lines"]=2]="Lines",r[r["Circle"]=3]="Circle",r[r["Arc"]=4]="Arc",r[r["ArcAndCircle"]=5]="ArcAndCircle",(r=f=t.StiLabelsPlacement||(t.StiLabelsPlacement={}))[r["None"]=0]="None",r[r["OneLine"]=1]="OneLine",r[r["TwoLines"]=2]="TwoLines",r[r["AutoRotation"]=3]="AutoRotation",(r=S=t.StiXAxisDock||(t.StiXAxisDock={}))[r["Top"]=0]="Top",r[r["Bottom"]=1]="Bottom",(r=y=t.StiYAxisDock||(t.StiYAxisDock={}))[r["Left"]=0]="Left",r[r["Right"]=1]="Right",(r=A=t.StiTitlePosition||(t.StiTitlePosition={}))[r["Inside"]=0]="Inside",r[r["Outside"]=1]="Outside",(r=b=t.StiSeriesLabelsPosition||(t.StiSeriesLabelsPosition={}))[r["None"]=0]="None",r[r["InsideEndAxis"]=1]="InsideEndAxis",r[r["InsideBaseAxis"]=2]="InsideBaseAxis",r[r["CenterAxis"]=3]="CenterAxis",r[r["OutsideEndAxis"]=4]="OutsideEndAxis",r[r["OutsideBaseAxis"]=5]="OutsideBaseAxis",r[r["OutsideAxis"]=6]="OutsideAxis",r[r["Left"]=7]="Left",r[r["Value"]=8]="Value",r[r["Right"]=9]="Right",r[r["InsideEndPie"]=10]="InsideEndPie",r[r["CenterPie"]=11]="CenterPie",r[r["OutsidePie"]=12]="OutsidePie",r[r["TwoColumnsPie"]=13]="TwoColumnsPie",r[r["CenterFunnel"]=14]="CenterFunnel",r[r["OutsideRightFunnel"]=15]="OutsideRightFunnel",r[r["OutsideLeftFunnel"]=16]="OutsideLeftFunnel",r[r["CenterTreemap"]=17]="CenterTreemap",(r=C=t.StiSeriesLabelsType||(t.StiSeriesLabelsType={}))[r["Axis"]=1]="Axis",r[r["Pie"]=2]="Pie",r[r["Doughnut"]=4]="Doughnut",r[r["Radar"]=8]="Radar",r[r["Funnel"]=10]="Funnel",r[r["Treemap"]=12]="Treemap",r[r["All"]=15]="All",(r=v=t.StiSeriesLabelsValueType||(t.StiSeriesLabelsValueType={}))[r["Value"]=0]="Value",r[r["SeriesTitle"]=1]="SeriesTitle",r[r["Argument"]=2]="Argument",r[r["Tag"]=3]="Tag",r[r["Weight"]=4]="Weight",r[r["ValueArgument"]=5]="ValueArgument",r[r["ArgumentValue"]=6]="ArgumentValue",r[r["SeriesTitleValue"]=7]="SeriesTitleValue",r[r["SeriesTitleArgument"]=8]="SeriesTitleArgument",(r=w=t.StiMarkerType||(t.StiMarkerType={}))[r["Rectangle"]=0]="Rectangle",r[r["Triangle"]=1]="Triangle",r[r["Circle"]=2]="Circle",r[r["HalfCircle"]=3]="HalfCircle",r[r["Star5"]=4]="Star5",r[r["Star6"]=5]="Star6",r[r["Star7"]=6]="Star7",r[r["Star8"]=7]="Star8",r[r["Hexagon"]=8]="Hexagon",(r=B=t.StiSeriesSortType||(t.StiSeriesSortType={}))[r["Value"]=0]="Value",r[r["Argument"]=1]="Argument",r[r["None"]=2]="None",(r=I=t.StiSeriesSortDirection||(t.StiSeriesSortDirection={}))[r["Ascending"]=0]="Ascending",r[r["Descending"]=1]="Descending",(r=T=t.StiSeriesXAxis||(t.StiSeriesXAxis={}))[r["BottomXAxis"]=0]="BottomXAxis",r[r["TopXAxis"]=1]="TopXAxis",(r=E=t.StiSeriesYAxis||(t.StiSeriesYAxis={}))[r["LeftYAxis"]=0]="LeftYAxis",r[r["RightYAxis"]=1]="RightYAxis",(r=R=t.StiShowSeriesLabels||(t.StiShowSeriesLabels={}))[r["None"]=0]="None",r[r["FromChart"]=1]="FromChart",r[r["FromSeries"]=2]="FromSeries",(r=D=t.StiShowYAxis||(t.StiShowYAxis={}))[r["Left"]=0]="Left",r[r["Center"]=1]="Center",r[r["Both"]=2]="Both",(r=P=t.StiShowXAxis||(t.StiShowXAxis={}))[r["Bottom"]=0]="Bottom",r[r["Center"]=1]="Center",r[r["Both"]=2]="Both",(r=x=t.StiRadarStyle||(t.StiRadarStyle={}))[r["Polygon"]=0]="Polygon",r[r["Circle"]=1]="Circle",(r=F=t.StiTimeDateStep||(t.StiTimeDateStep={}))[r["None"]=0]="None",r[r["Second"]=1]="Second",r[r["Minute"]=2]="Minute",r[r["Hour"]=3]="Hour",r[r["Day"]=4]="Day",r[r["Month"]=5]="Month",r[r["Year"]=6]="Year",(r=N=t.StiTopNMode||(t.StiTopNMode={}))[r["None"]=0]="None",r[r["Top"]=1]="Top",r[r["Bottom"]=2]="Bottom",(r=k=t.StiChartStyleId||(t.StiChartStyleId={}))[r["StiStyle01"]=0]="StiStyle01",r[r["StiStyle02"]=1]="StiStyle02",r[r["StiStyle03"]=2]="StiStyle03",r[r["StiStyle04"]=3]="StiStyle04",r[r["StiStyle05"]=4]="StiStyle05",r[r["StiStyle06"]=5]="StiStyle06",r[r["StiStyle07"]=6]="StiStyle07",r[r["StiStyle08"]=7]="StiStyle08",r[r["StiStyle09"]=8]="StiStyle09",r[r["StiStyle10"]=9]="StiStyle10",r[r["StiStyle11"]=10]="StiStyle11",r[r["StiStyle12"]=11]="StiStyle12",r[r["StiStyle13"]=12]="StiStyle13",r[r["StiStyle14"]=13]="StiStyle14",r[r["StiStyle15"]=14]="StiStyle15",r[r["StiStyle16"]=15]="StiStyle16",r[r["StiStyle17"]=16]="StiStyle17",r[r["StiStyle18"]=17]="StiStyle18",r[r["StiStyle19"]=18]="StiStyle19",r[r["StiStyle20"]=19]="StiStyle20",r[r["StiStyle21"]=20]="StiStyle21",r[r["StiStyle22"]=21]="StiStyle22",r[r["StiStyle23"]=22]="StiStyle23",r[r["StiStyle24"]=23]="StiStyle24",r[r["StiStyle25"]=24]="StiStyle25",r[r["StiStyle26"]=25]="StiStyle26",r[r["StiStyle27"]=26]="StiStyle27",r[r["StiStyle28"]=27]="StiStyle28",r[r["StiStyle29"]=28]="StiStyle29",r[r["StiStyle30"]=29]="StiStyle30",r[r["StiStyle31"]=30]="StiStyle31",r[r["StiStyle32"]=31]="StiStyle32",r[r["StiStyle33"]=32]="StiStyle33",r[r["StiStyle34"]=33]="StiStyle34",(r=M=t.StiStrips_StiOrientation||(t.StiStrips_StiOrientation={}))[r["Horizontal"]=0]="Horizontal",r[r["Vertical"]=1]="Vertical",r[r["HorizontalRight"]=2]="HorizontalRight",(r=O=t.StiConstantLines_StiOrientation||(t.StiConstantLines_StiOrientation={}))[r["Horizontal"]=0]="Horizontal",r[r["Vertical"]=1]="Vertical",r[r["HorizontalRight"]=2]="HorizontalRight",(r=_=t.StiConstantLines_StiTextPosition||(t.StiConstantLines_StiTextPosition={}))[r["LeftTop"]=0]="LeftTop",r[r["LeftBottom"]=1]="LeftBottom",r[r["CenterTop"]=2]="CenterTop",r[r["CenterBottom"]=3]="CenterBottom",r[r["RightTop"]=4]="RightTop",r[r["RightBottom"]=5]="RightBottom",(r=j=t.StiTrendLine_StiTextPosition||(t.StiTrendLine_StiTextPosition={}))[r["LeftTop"]=0]="LeftTop",r[r["LeftBottom"]=1]="LeftBottom",r[r["RightTop"]=2]="RightTop",r[r["RightBottom"]=3]="RightBottom",(r=G=t.StiExtendedStyleBool||(t.StiExtendedStyleBool={}))[r["FromStyle"]=0]="FromStyle",r[r["True"]=1]="True",r[r["False"]=2]="False",(r=H=t.StiChartConditionalField||(t.StiChartConditionalField={}))[r["Value"]=0]="Value",r[r["Argument"]=1]="Argument",r[r["Series"]=2]="Series",(r=Q=t.StiShowEmptyCellsAs||(t.StiShowEmptyCellsAs={}))[r["Gap"]=0]="Gap",r[r["ConnectPointsWithLine"]=1]="ConnectPointsWithLine",(t=L=t.StiChartEditorType||(t.StiChartEditorType={}))[t["Simple"]=0]="Simple",t[t["Advanced"]=1]="Advanced"}(Stimulsoft=Stimulsoft||{}),function(t){var e,r,n,i;function o(){}r=e=t.Report||(t.Report={}),i=n=r.Chart||(r.Chart={}),Object.defineProperty(o,"isAssemblyLoaded",{get:function(){return null!=t.Report.Components["StiChart"]},enumerable:!1,configurable:!0}),r=o,i.StiChartAssembly=r}(Stimulsoft=Stimulsoft||{}),function(t){var e,r,n,i,p;function o(){}r=e=t.Report||(t.Report={}),i=n=r.CodeDom||(r.CodeDom={}),p=t.System.Text.StringBuilder,o.parseRtf=function(t,e){if(null!=e){var r,n=!1,i=t.toString().lastIndexOf("__LP__");-1==i&&(i=0);for(var o=t.length-1,a;i<o;o--){if(" "==t.toString()[o]){n=!0;break}if("\\"==t.toString()[o])break}if(!n)return(a=new p).append('"'),a.append(t),a.append(" "),a.append('"'),a}var a;if(0<t.length)return(a=new p).append('"'),a.append(t),a.append('"'),a;return new p},o.readString=function(t,e,r,n,i,o,a){var s=e.ref,l=r.ref,u=i.ref,l=l.append(n[s++]),c=new p,t;while(s!=n.length&&'"'!=n[s]){if("\\"==n[s]&&s+1!=n.length){if("\\"==n[s+1]){c.append("\\\\"),s+=2;continue}'"'==n[s+1]&&s++}c.append(n[s++])}l=(t=null!=t?(c=this.replaceBackslash(c,o,a),t.quoteSnippetString(c.toString())):c.toString()).stimulsoft.startsWith('"')&&t.stimulsoft.endsWith('"')&&1<t.length?l.append(t.substr(1,t.length-2)):l.append(t),s!=n.length&&(l=l.append(n[s]),s++),s==n.length&&(0<l.length&&u.push(l.toString()),l=new p),s--,e.ref=s,r.ref=l,i.ref=u},o.readChar=function(t,e,r){var n=t.ref,i,i=(i=e.ref).append(r[n++]);n!=r.length&&(i=i.append(r[n++])),n!=r.length&&(i=i.append(r[n])),t.ref=n,e.ref=i},o.getLexemSimple=function(t,e,r){var n=[],i=new p,o=!1,a=0,s,o,i,l,u,c,l,u,s,s;while(a<e.length){0==o?i="{"==e[a]?(o=!0,0<(i=this.parseRtf(i,r)).length&&(s=i.toString().substr(1,i.length-2),null!=t&&(s=t.quoteSnippetString(s)),n.push(s)),new p):i.append(e[a]):'"'==e[a]?(l={ref:a},u={ref:i},c={ref:n},this.readString(t,l,u,e,c,null!=r,!1),a=l.ref,i=u.ref,n=c.ref):i="'"==e[a]?(l={ref:a},u={ref:i},this.readChar(l,u,e),a=l.ref,u.ref):"}"==e[a]?(o=!1,null==t&&(s=i.toString(),i=(i=(i=(i=new p).append("{")).append(s)).append("}")),0<i.length&&n.push(i.toString()),new p):i.append(e[a]),a++}return 0==o?0<(i=this.parseRtf(i,r)).length&&(s=i.toString().substr(1,i.length-2),null!=t&&(s=t.quoteSnippetString(s)),n.push(s)):n.stimulsoft.clear(),n},o.getLexem=function(t){return this.getLexemSimple(null,t,null)},o.replaceBackslash=function(t,e,r){for(var n=new p,i=0;i<t.length;i++)if("\\"==t.toString()[i]&&i<t.length-1){i++;var o=t.toString()[i];switch(o){case"\\":e&&!r&&i+1<t.length&&"n"==t.toString()[i+1]?(n.append("\n"),i++):n.append("\\");break;case"'":e?n.append("\\'"):n.append("'");break;case"0":n.append("\0");break;case"n":n.append("\n");break;case"r":n.append("\r");break;case"t":n.append("\t");break;case"x":var a=new p,s=0;while(i<t.length-1&&s<4&&-1!="0123456789abcdefABCDEF".indexOf(t.toString()[i+1]))a.append(t.toString()[i+1]),i++,s++;var l=a.stimulsoft.toNumber();n.append(String.fromCharCode(l));break;default:n.append("\\"+o);break}}else n.append(t.toString()[i]);return n},r=o,i.StiCodeDomExpressionHelper=r}(Stimulsoft=Stimulsoft||{}),function(t){var e,r,n,i;function o(){}r=e=t.Report||(t.Report={}),i=n=r.CodeDom||(r.CodeDom={}),r=t.System.Collections.Hashtable,o.isReservedWordExist=function(t){return null!=this.reservedWordsHashtable.get(t)},o.isKeywordExist=function(t){return null!=this.keywordsHashtable.get(t)},o.prototype.quoteSnippetString=function(t){return""},o.init=function(){var e,t,r,n;try{for(var i=__values(this.keywords),o=i.next();!o.done;o=i.next()){var a=o.value;this.keywordsHashtable.add(a,a)}}catch(t){e={error:t}}finally{try{o&&!o.done&&(t=i.return)&&t.call(i)}finally{if(e)throw e.error}}try{for(var s=__values(this.reservedWords),l=s.next();!l.done;l=s.next()){var a=l.value;this.reservedWordsHashtable.add(a,a)}}catch(t){r={error:t}}finally{try{l&&!l.done&&(n=s.return)&&n.call(s)}finally{if(r)throw r.error}}},o.keywordsHashtable=new r,o.keywords=["as","do","if","in","is","for","int","new","out","ref","try","base","bool","byte","case","char","else","enum","goto","lock","long","null","this","true","uint","void","break","catch","class","const","event","false","fixed","float","sbyte","short","throw","ulong","using","while","double","extern","object","params","public","return","sealed","sizeof","static","string","struct","switch","typeof","unsafe","ushort","checked","decimal","default","exfloat","finally","foreach","private","virtual","abstract","continue","delegate","exdouble","explicit","implicit","internal","operator","override","readonly","interface","namespace","protected","unchecked"],o.reservedWordsHashtable=new r,o.reservedWords=["this","date","time","line","today","column"],r=o,(i.StiCodeGenerator=r).init()}(Stimulsoft=Stimulsoft||{}),function(t){var e,r,n,t,i,o,a,s,l,u,c,p,h,m,d,g,f,S,y,A,b,C,v,w,B,I,T,E;r=e=t.Report||(t.Report={}),(t=n=r.StiParserType||(r.StiParserType={}))[t["ReportParser"]=0]="ReportParser",t[t["DataParser"]=1]="DataParser",(t=i=r.StiNestedFactor||(r.StiNestedFactor={}))[t["High"]=0]="High",t[t["Normal"]=1]="Normal",t[t["Low"]=2]="Low",(t=o=r.StiResizeReportOptions||(r.StiResizeReportOptions={}))[t["ProcessAllPages"]=1]="ProcessAllPages",t[t["RebuildReport"]=2]="RebuildReport",t[t["RescaleContent"]=4]="RescaleContent",t[t["PageOrientationChanged"]=8]="PageOrientationChanged",t[t["ShowProgressOnRebuildReport"]=16]="ShowProgressOnRebuildReport",t[t["AllowPageMarginsRescaling"]=32]="AllowPageMarginsRescaling",(t=a=r.StiCalculationMode||(r.StiCalculationMode={}))[t["Compilation"]=0]="Compilation",t[t["Interpretation"]=1]="Interpretation",(t=s=r.StiReportLanguageType||(r.StiReportLanguageType={}))[t["CSharp"]=0]="CSharp",t[t["VB"]=1]="VB",t[t["JS"]=2]="JS",(t=l=r.StiReportUnitType||(r.StiReportUnitType={}))[t["Centimeters"]=0]="Centimeters",t[t["HundredthsOfInch"]=1]="HundredthsOfInch",t[t["Inches"]=2]="Inches",t[t["Millimeters"]=3]="Millimeters",(t=u=r.StiGridMode||(r.StiGridMode={}))[t["Lines"]=0]="Lines",t[t["Dots"]=1]="Dots",(t=c=r.StiReportPass||(r.StiReportPass={}))[t["None"]=0]="None",t[t["First"]=1]="First",t[t["Second"]=2]="Second",(t=p=r.StiNumberOfPass||(r.StiNumberOfPass={}))[t["SinglePass"]=0]="SinglePass",t[t["DoublePass"]=1]="DoublePass",(t=h=r.StiExportFormat||(r.StiExportFormat={}))[t["None"]=0]="None",t[t["Pdf"]=1]="Pdf",t[t["Xps"]=2]="Xps",t[t["HtmlTable"]=3]="HtmlTable",t[t["HtmlSpan"]=4]="HtmlSpan",t[t["HtmlDiv"]=5]="HtmlDiv",t[t["Rtf"]=6]="Rtf",t[t["RtfTable"]=7]="RtfTable",t[t["RtfFrame"]=8]="RtfFrame",t[t["RtfWinWord"]=9]="RtfWinWord",t[t["RtfTabbedText"]=10]="RtfTabbedText",t[t["Text"]=11]="Text",t[t["Excel"]=12]="Excel",t[t["ExcelXml"]=13]="ExcelXml",t[t["Excel2007"]=14]="Excel2007",t[t["Word2007"]=15]="Word2007",t[t["Xml"]=16]="Xml",t[t["Csv"]=17]="Csv",t[t["Dif"]=18]="Dif",t[t["Sylk"]=19]="Sylk",t[t["Image"]=20]="Image",t[t["ImageGif"]=21]="ImageGif",t[t["ImageBmp"]=22]="ImageBmp",t[t["ImagePng"]=23]="ImagePng",t[t["ImageTiff"]=24]="ImageTiff",t[t["ImageJpeg"]=25]="ImageJpeg",t[t["ImagePcx"]=26]="ImagePcx",t[t["ImageEmf"]=27]="ImageEmf",t[t["ImageSvg"]=28]="ImageSvg",t[t["ImageSvgz"]=29]="ImageSvgz",t[t["Mht"]=30]="Mht",t[t["Dbf"]=31]="Dbf",t[t["Html"]=32]="Html",t[t["Ods"]=33]="Ods",t[t["Odt"]=34]="Odt",t[t["Ppt2007"]=35]="Ppt2007",t[t["Html5"]=36]="Html5",t[t["Data"]=37]="Data",t[t["Json"]=38]="Json",t[t["Document"]=1e3]="Document",(t=m=r.StiReportCacheMode||(r.StiReportCacheMode={}))[t["Off"]=0]="Off",t[t["On"]=1]="On",t[t["Auto"]=2]="Auto",(t=d=r.StiReportResourceType||(r.StiReportResourceType={}))[t["Bitmap"]=0]="Bitmap",t[t["Metafile"]=1]="Metafile",t[t["Report"]=2]="Report",(t=g=r.StiRangeType||(r.StiRangeType={}))[t["All"]=1]="All",t[t["CurrentPage"]=2]="CurrentPage",t[t["Pages"]=3]="Pages",(t=f=r.StiHtmlType||(r.StiHtmlType={}))[t["Html"]=1]="Html",t[t["Html5"]=2]="Html5",t[t["Mht"]=3]="Mht",(t=S=r.ImageFormat||(r.ImageFormat={}))[t["Bmp"]=0]="Bmp",t[t["Emf"]=1]="Emf",t[t["Exif"]=2]="Exif",t[t["Gif"]=3]="Gif",t[t["Guid"]=4]="Guid",t[t["Icon"]=5]="Icon",t[t["Jpeg"]=6]="Jpeg",t[t["MemoryBmp"]=7]="MemoryBmp",t[t["Png"]=8]="Png",t[t["Tiff"]=9]="Tiff",t[t["Wmf"]=10]="Wmf",(t=y=r.StiArabicDigitsType||(r.StiArabicDigitsType={}))[t["Standard"]=0]="Standard",t[t["Eastern"]=1]="Eastern",(t=A=r.StiBrushType||(r.StiBrushType={}))[t["Solid"]=0]="Solid",t[t["Glare"]=1]="Glare",t[t["Gradient0"]=2]="Gradient0",t[t["Gradient90"]=3]="Gradient90",t[t["Gradient180"]=4]="Gradient180",t[t["Gradient270"]=5]="Gradient270",t[t["Gradient45"]=6]="Gradient45",(t=b=r.StiComponentId||(r.StiComponentId={}))[t["StiComponent"]=0]="StiComponent",t[t["StiBarCode"]=1]="StiBarCode",t[t["StiButtonControl"]=2]="StiButtonControl",t[t["StiChart"]=3]="StiChart",t[t["StiSparkline"]=4]="StiSparkline",t[t["StiChartCommon"]=5]="StiChartCommon",t[t["StiCheckBox"]=6]="StiCheckBox",t[t["StiCheckBoxControl"]=7]="StiCheckBoxControl",t[t["StiCheckedListBoxControl"]=8]="StiCheckedListBoxControl",t[t["StiChildBand"]=9]="StiChildBand",t[t["StiClone"]=10]="StiClone",t[t["StiColumnFooterBand"]=11]="StiColumnFooterBand",t[t["StiColumnHeaderBand"]=12]="StiColumnHeaderBand",t[t["StiComboBoxControl"]=13]="StiComboBoxControl",t[t["StiContainer"]=14]="StiContainer",t[t["StiContourText"]=15]="StiContourText",t[t["StiCrossColumn"]=16]="StiCrossColumn",t[t["StiCrossColumnTotal"]=17]="StiCrossColumnTotal",t[t["StiCrossDataBand"]=18]="StiCrossDataBand",t[t["StiCrossFooterBand"]=19]="StiCrossFooterBand",t[t["StiCrossGroupFooterBand"]=20]="StiCrossGroupFooterBand",t[t["StiCrossGroupHeaderBand"]=21]="StiCrossGroupHeaderBand",t[t["StiCrossHeaderBand"]=22]="StiCrossHeaderBand",t[t["StiCrossRow"]=23]="StiCrossRow",t[t["StiCrossRowTotal"]=24]="StiCrossRowTotal",t[t["StiCrossSummary"]=25]="StiCrossSummary",t[t["StiCrossTab"]=26]="StiCrossTab",t[t["StiCrossTitle"]=27]="StiCrossTitle",t[t["StiDashboardPage"]=28]="StiDashboardPage",t[t["StiDataBand"]=29]="StiDataBand",t[t["StiDateTimePickerControl"]=30]="StiDateTimePickerControl",t[t["StiEmptyBand"]=31]="StiEmptyBand",t[t["StiFooterBand"]=32]="StiFooterBand",t[t["StiForm"]=33]="StiForm",t[t["StiGridControl"]=34]="StiGridControl",t[t["StiGroupBoxControl"]=35]="StiGroupBoxControl",t[t["StiGroupFooterBand"]=36]="StiGroupFooterBand",t[t["StiGroupHeaderBand"]=37]="StiGroupHeaderBand",t[t["StiHeaderBand"]=38]="StiHeaderBand",t[t["StiHierarchicalBand"]=39]="StiHierarchicalBand",t[t["StiHorizontalLinePrimitive"]=40]="StiHorizontalLinePrimitive",t[t["StiImage"]=41]="StiImage",t[t["StiLabelControl"]=42]="StiLabelControl",t[t["StiListBoxControl"]=43]="StiListBoxControl",t[t["StiListViewControl"]=44]="StiListViewControl",t[t["StiLookUpBoxControl"]=45]="StiLookUpBoxControl",t[t["StiNumericUpDownControl"]=46]="StiNumericUpDownControl",t[t["StiOverlayBand"]=47]="StiOverlayBand",t[t["StiPage"]=48]="StiPage",t[t["StiPageFooterBand"]=49]="StiPageFooterBand",t[t["StiPageHeaderBand"]=50]="StiPageHeaderBand",t[t["StiPanel"]=51]="StiPanel",t[t["StiPanelControl"]=52]="StiPanelControl",t[t["StiPictureBoxControl"]=53]="StiPictureBoxControl",t[t["StiRadioButtonControl"]=54]="StiRadioButtonControl",t[t["StiRectanglePrimitive"]=55]="StiRectanglePrimitive",t[t["StiReportControl"]=56]="StiReportControl",t[t["StiReportSummaryBand"]=57]="StiReportSummaryBand",t[t["StiReportTitleBand"]=58]="StiReportTitleBand",t[t["StiRichText"]=59]="StiRichText",t[t["StiRichTextBoxControl"]=60]="StiRichTextBoxControl",t[t["StiRoundedRectanglePrimitive"]=61]="StiRoundedRectanglePrimitive",t[t["StiShape"]=62]="StiShape",t[t["StiSubReport"]=63]="StiSubReport",t[t["StiSystemText"]=64]="StiSystemText",t[t["StiTable"]=65]="StiTable",t[t["StiTableCell"]=66]="StiTableCell",t[t["StiText"]=67]="StiText",t[t["StiTextBoxControl"]=68]="StiTextBoxControl",t[t["StiTextInCells"]=69]="StiTextInCells",t[t["StiTreeViewControl"]=70]="StiTreeViewControl",t[t["StiVerticalLinePrimitive"]=71]="StiVerticalLinePrimitive",t[t["StiWinControl"]=72]="StiWinControl",t[t["StiUndefinedComponent"]=73]="StiUndefinedComponent",t[t["StiZipCode"]=74]="StiZipCode",t[t["StiTableCellCheckBox"]=75]="StiTableCellCheckBox",t[t["StiTableCellImage"]=76]="StiTableCellImage",t[t["StiTableCellRichText"]=77]="StiTableCellRichText",t[t["StiDataColumn"]=78]="StiDataColumn",t[t["StiCalcDataColumn"]=79]="StiCalcDataColumn",t[t["StiBusinessObject"]=80]="StiBusinessObject",t[t["StiDataSource"]=81]="StiDataSource",t[t["StiDataStoreSource"]=82]="StiDataStoreSource",t[t["StiFileDataSource"]=83]="StiFileDataSource",t[t["StiDataRelation"]=84]="StiDataRelation",t[t["StiVariable"]=85]="StiVariable",t[t["StiResource"]=86]="StiResource",t[t["StiReport"]=87]="StiReport",t[t["StiStyle"]=88]="StiStyle",t[t["StiCrossTabStyle"]=89]="StiCrossTabStyle",t[t["StiChartStyle"]=90]="StiChartStyle",t[t["StiMapStyle"]=91]="StiMapStyle",t[t["StiTableStyle"]=92]="StiTableStyle",t[t["StiGaugeStyle"]=93]="StiGaugeStyle",t[t["StiIndicatorStyle"]=94]="StiIndicatorStyle",t[t["StiDialogStyle"]=95]="StiDialogStyle",t[t["StiDataParameter"]=96]="StiDataParameter",t[t["StiCrossField"]=97]="StiCrossField",t[t["StiCrossTotal"]=98]="StiCrossTotal",t[t["StiCrossCell"]=99]="StiCrossCell",t[t["StiCrossHeader"]=100]="StiCrossHeader",t[t["StiCrossSummaryHeader"]=101]="StiCrossSummaryHeader",t[t["StiStartPointPrimitive"]=102]="StiStartPointPrimitive",t[t["StiEndPointPrimitive"]=103]="StiEndPointPrimitive",t[t["StiEvent"]=104]="StiEvent",t[t["StiChartElement"]=105]="StiChartElement",t[t["StiGaugeElement"]=106]="StiGaugeElement",t[t["StiImageElement"]=107]="StiImageElement",t[t["StiIndicatorElement"]=108]="StiIndicatorElement",t[t["StiRegionMapElement"]=109]="StiRegionMapElement",t[t["StiOnlineMapElement"]=110]="StiOnlineMapElement",t[t["StiTableElement"]=111]="StiTableElement",t[t["StiPivotTableElement"]=112]="StiPivotTableElement",t[t["StiProgressElement"]=113]="StiProgressElement",t[t["StiTextElement"]=114]="StiTextElement",t[t["StiPanelElement"]=115]="StiPanelElement",t[t["StiShapeElement"]=116]="StiShapeElement",t[t["StiTreeViewElement"]=117]="StiTreeViewElement",t[t["StiTreeViewBoxElement"]=118]="StiTreeViewBoxElement",t[t["StiListBoxElement"]=119]="StiListBoxElement",t[t["StiComboBoxElement"]=120]="StiComboBoxElement",t[t["StiDatePickerElement"]=121]="StiDatePickerElement",t[t["StiDateRangeElement"]=122]="StiDateRangeElement",t[t["StiDashboard"]=123]="StiDashboard",t[t["StiSeries"]=124]="StiSeries",t[t["StiBubbleSeries"]=125]="StiBubbleSeries",t[t["StiClusteredColumnSeries"]=126]="StiClusteredColumnSeries",t[t["StiParetoSeries"]=127]="StiParetoSeries",t[t["StiLineSeries"]=128]="StiLineSeries",t[t["StiSteppedLineSeries"]=129]="StiSteppedLineSeries",t[t["StiSplineSeries"]=130]="StiSplineSeries",t[t["StiAreaSeries"]=131]="StiAreaSeries",t[t["StiBoxAndWhiskerSeries"]=132]="StiBoxAndWhiskerSeries",t[t["StiSteppedAreaSeries"]=133]="StiSteppedAreaSeries",t[t["StiSplineAreaSeries"]=134]="StiSplineAreaSeries",t[t["StiStackedColumnSeries"]=135]="StiStackedColumnSeries",t[t["StiStackedLineSeries"]=136]="StiStackedLineSeries",t[t["StiStackedSplineSeries"]=137]="StiStackedSplineSeries",t[t["StiStackedAreaSeries"]=138]="StiStackedAreaSeries",t[t["StiStackedSplineAreaSeries"]=139]="StiStackedSplineAreaSeries",t[t["StiFullStackedColumnSeries"]=140]="StiFullStackedColumnSeries",t[t["StiFullStackedLineSeries"]=141]="StiFullStackedLineSeries",t[t["StiFullStackedAreaSeries"]=142]="StiFullStackedAreaSeries",t[t["StiFullStackedSplineSeries"]=143]="StiFullStackedSplineSeries",t[t["StiFullStackedSplineAreaSeries"]=144]="StiFullStackedSplineAreaSeries",t[t["StiClusteredBarSeries"]=145]="StiClusteredBarSeries",t[t["StiStackedBarSeries"]=146]="StiStackedBarSeries",t[t["StiTreemapSeries"]=147]="StiTreemapSeries",t[t["StiSunburstSeries"]=148]="StiSunburstSeries",t[t["StiWaterfallSeries"]=149]="StiWaterfallSeries",t[t["StiPictorialSeries"]=150]="StiPictorialSeries",t[t["StiHistogramSeries"]=151]="StiHistogramSeries",t[t["StiFullStackedBarSeries"]=152]="StiFullStackedBarSeries",t[t["StiPieSeries"]=153]="StiPieSeries",t[t["StiDoughnutSeries"]=154]="StiDoughnutSeries",t[t["StiGanttSeries"]=155]="StiGanttSeries",t[t["StiScatterSeries"]=156]="StiScatterSeries",t[t["StiScatterLineSeries"]=157]="StiScatterLineSeries",t[t["StiScatterSplineSeries"]=158]="StiScatterSplineSeries",t[t["StiRadarAreaSeries"]=159]="StiRadarAreaSeries",t[t["StiRadarLineSeries"]=160]="StiRadarLineSeries",t[t["StiRadarPointSeries"]=161]="StiRadarPointSeries",t[t["StiRangeSeries"]=162]="StiRangeSeries",t[t["StiSteppedRangeSeries"]=163]="StiSteppedRangeSeries",t[t["StiFunnelSeries"]=164]="StiFunnelSeries",t[t["StiFunnelWeightedSlicesSeries"]=165]="StiFunnelWeightedSlicesSeries",t[t["StiRangeBarSeries"]=166]="StiRangeBarSeries",t[t["StiSplineRangeSeries"]=167]="StiSplineRangeSeries",t[t["StiCandlestickSeries"]=168]="StiCandlestickSeries",t[t["StiStockSeries"]=169]="StiStockSeries",t[t["StiChartTitle"]=170]="StiChartTitle",t[t["StiLineMarker"]=171]="StiLineMarker",t[t["StiMarker"]=172]="StiMarker",t[t["StiChartTable"]=173]="StiChartTable",t[t["StiSeriesTopN"]=174]="StiSeriesTopN",t[t["StiSeriesInteraction"]=175]="StiSeriesInteraction",t[t["StiTrendLine"]=176]="StiTrendLine",t[t["StiSeriesLabels"]=177]="StiSeriesLabels",t[t["StiNoneLabels"]=178]="StiNoneLabels",t[t["StiInsideEndAxisLabels"]=179]="StiInsideEndAxisLabels",t[t["StiInsideBaseAxisLabels"]=180]="StiInsideBaseAxisLabels",t[t["StiCenterTreemapLabels"]=181]="StiCenterTreemapLabels",t[t["StiCenterAxisLabels"]=182]="StiCenterAxisLabels",t[t["StiOutsideEndAxisLabels"]=183]="StiOutsideEndAxisLabels",t[t["StiOutsideBaseAxisLabels"]=184]="StiOutsideBaseAxisLabels",t[t["StiOutsideAxisLabels"]=185]="StiOutsideAxisLabels",t[t["StiLeftAxisLabels"]=186]="StiLeftAxisLabels",t[t["StiValueAxisLabels"]=187]="StiValueAxisLabels",t[t["StiRightAxisLabels"]=188]="StiRightAxisLabels",t[t["StiCenterFunnelLabels"]=189]="StiCenterFunnelLabels",t[t["StiCenterPieLabels"]=190]="StiCenterPieLabels",t[t["StiOutsidePieLabels"]=191]="StiOutsidePieLabels",t[t["StiTwoColumnsPieLabels"]=192]="StiTwoColumnsPieLabels",t[t["StiOutsideLeftFunnelLabels"]=193]="StiOutsideLeftFunnelLabels",t[t["StiOutsideRightFunnelLabels"]=194]="StiOutsideRightFunnelLabels",t[t["StiLegend"]=195]="StiLegend",t[t["StiClusteredColumnArea"]=196]="StiClusteredColumnArea",t[t["StiPieArea"]=197]="StiPieArea",t[t["StiTreemapArea"]=198]="StiTreemapArea",t[t["StiSunburstArea"]=199]="StiSunburstArea",t[t["StiWaterfallArea"]=200]="StiWaterfallArea",t[t["StiHistorgamArea"]=201]="StiHistorgamArea",t[t["StiFunnelArea"]=202]="StiFunnelArea",t[t["StiFunnelWeightedSlicesArea"]=203]="StiFunnelWeightedSlicesArea",t[t["StiPictorialArea"]=204]="StiPictorialArea",t[t["StiRadarAreaArea"]=205]="StiRadarAreaArea",t[t["StiRadarLineArea"]=206]="StiRadarLineArea",t[t["StiRadarPointArea"]=207]="StiRadarPointArea",t[t["StiStackedColumnArea"]=208]="StiStackedColumnArea",t[t["StiGridLines"]=209]="StiGridLines",t[t["StiInterlacing"]=210]="StiInterlacing",t[t["StiXAxis"]=211]="StiXAxis",t[t["StiXTopAxis"]=212]="StiXTopAxis",t[t["StiYAxis"]=213]="StiYAxis",t[t["StiYRightAxis"]=214]="StiYRightAxis",t[t["StiRadarGridLines"]=215]="StiRadarGridLines",t[t["StiXRadarAxis"]=216]="StiXRadarAxis",t[t["StiYRadarAxis"]=217]="StiYRadarAxis",t[t["StiDialogInfoItem"]=218]="StiDialogInfoItem",t[t["StiStringDialogInfoItem"]=219]="StiStringDialogInfoItem",t[t["StiGuidDialogInfoItem"]=220]="StiGuidDialogInfoItem",t[t["StiCharDialogInfoItem"]=221]="StiCharDialogInfoItem",t[t["StiBoolDialogInfoItem"]=222]="StiBoolDialogInfoItem",t[t["StiImageDialogInfoItem"]=223]="StiImageDialogInfoItem",t[t["StiDateTimeDialogInfoItem"]=224]="StiDateTimeDialogInfoItem",t[t["StiTimeSpanDialogInfoItem"]=225]="StiTimeSpanDialogInfoItem",t[t["StiDoubleDialogInfoItem"]=226]="StiDoubleDialogInfoItem",t[t["StiDecimalDialogInfoItem"]=227]="StiDecimalDialogInfoItem",t[t["StiLongDialogInfoItem"]=228]="StiLongDialogInfoItem",t[t["StiExpressionDialogInfoItem"]=229]="StiExpressionDialogInfoItem",t[t["StiStringRangeDialogInfoItem"]=230]="StiStringRangeDialogInfoItem",t[t["StiGuidRangeDialogInfoItem"]=231]="StiGuidRangeDialogInfoItem",t[t["StiByteArrayRangeDialogInfoItem"]=232]="StiByteArrayRangeDialogInfoItem",t[t["StiCharRangeDialogInfoItem"]=233]="StiCharRangeDialogInfoItem",t[t["StiDateTimeRangeDialogInfoItem"]=234]="StiDateTimeRangeDialogInfoItem",t[t["StiTimeSpanRangeDialogInfoItem"]=235]="StiTimeSpanRangeDialogInfoItem",t[t["StiDoubleRangeDialogInfoItem"]=236]="StiDoubleRangeDialogInfoItem",t[t["StiDecimalRangeDialogInfoItem"]=237]="StiDecimalRangeDialogInfoItem",t[t["StiLongRangeDialogInfoItem"]=238]="StiLongRangeDialogInfoItem",t[t["StiExpressionRangeDialogInfoItem"]=239]="StiExpressionRangeDialogInfoItem",t[t["OracleConnectionStringBuilder"]=240]="OracleConnectionStringBuilder",t[t["StiStrips"]=241]="StiStrips",t[t["StiConstantLines"]=242]="StiConstantLines",t[t["StiShapeTypeService"]=243]="StiShapeTypeService",t[t["StiDiagonalDownLineShapeType"]=244]="StiDiagonalDownLineShapeType",t[t["StiRoundedRectangleShapeType"]=245]="StiRoundedRectangleShapeType",t[t["StiTriangleShapeType"]=246]="StiTriangleShapeType",t[t["StiComplexArrowShapeType"]=247]="StiComplexArrowShapeType",t[t["StiBentArrowShapeType"]=248]="StiBentArrowShapeType",t[t["StiChevronShapeType"]=249]="StiChevronShapeType",t[t["StiEqualShapeType"]=250]="StiEqualShapeType",t[t["StiFlowchartCollateShapeType"]=251]="StiFlowchartCollateShapeType",t[t["StiFlowchartOffPageConnectorShapeType"]=252]="StiFlowchartOffPageConnectorShapeType",t[t["StiArrowShapeType"]=253]="StiArrowShapeType",t[t["StiOctagonShapeType"]=254]="StiOctagonShapeType",t[t["StiAustraliaPost4StateBarCodeType"]=255]="StiAustraliaPost4StateBarCodeType",t[t["StiCode11BarCodeType"]=256]="StiCode11BarCodeType",t[t["StiCode128aBarCodeType"]=257]="StiCode128aBarCodeType",t[t["StiCode128bBarCodeType"]=258]="StiCode128bBarCodeType",t[t["StiCode128cBarCodeType"]=259]="StiCode128cBarCodeType",t[t["StiCode128AutoBarCodeType"]=260]="StiCode128AutoBarCodeType",t[t["StiCode39BarCodeType"]=261]="StiCode39BarCodeType",t[t["StiCode39ExtBarCodeType"]=262]="StiCode39ExtBarCodeType",t[t["StiCode93BarCodeType"]=263]="StiCode93BarCodeType",t[t["StiCode93ExtBarCodeType"]=264]="StiCode93ExtBarCodeType",t[t["StiCodabarBarCodeType"]=265]="StiCodabarBarCodeType",t[t["StiEAN128aBarCodeType"]=266]="StiEAN128aBarCodeType",t[t["StiEAN128bBarCodeType"]=267]="StiEAN128bBarCodeType",t[t["StiEAN128cBarCodeType"]=268]="StiEAN128cBarCodeType",t[t["StiEAN128AutoBarCodeType"]=269]="StiEAN128AutoBarCodeType",t[t["StiGS1_128BarCodeType"]=270]="StiGS1_128BarCodeType",t[t["StiEAN13BarCodeType"]=271]="StiEAN13BarCodeType",t[t["StiEAN8BarCodeType"]=272]="StiEAN8BarCodeType",t[t["StiFIMBarCodeType"]=273]="StiFIMBarCodeType",t[t["StiIsbn10BarCodeType"]=274]="StiIsbn10BarCodeType",t[t["StiIsbn13BarCodeType"]=275]="StiIsbn13BarCodeType",t[t["StiITF14BarCodeType"]=276]="StiITF14BarCodeType",t[t["StiJan13BarCodeType"]=277]="StiJan13BarCodeType",t[t["StiJan8BarCodeType"]=278]="StiJan8BarCodeType",t[t["StiMsiBarCodeType"]=279]="StiMsiBarCodeType",t[t["StiPdf417BarCodeType"]=280]="StiPdf417BarCodeType",t[t["StiPharmacodeBarCodeType"]=281]="StiPharmacodeBarCodeType",t[t["StiPlesseyBarCodeType"]=282]="StiPlesseyBarCodeType",t[t["StiPostnetBarCodeType"]=283]="StiPostnetBarCodeType",t[t["StiQRCodeBarCodeType"]=284]="StiQRCodeBarCodeType",t[t["StiRoyalMail4StateBarCodeType"]=285]="StiRoyalMail4StateBarCodeType",t[t["StiDutchKIXBarCodeType"]=286]="StiDutchKIXBarCodeType",t[t["StiSSCC18BarCodeType"]=287]="StiSSCC18BarCodeType",t[t["StiUpcABarCodeType"]=288]="StiUpcABarCodeType",t[t["StiUpcEBarCodeType"]=289]="StiUpcEBarCodeType",t[t["StiUpcSup2BarCodeType"]=290]="StiUpcSup2BarCodeType",t[t["StiUpcSup5BarCodeType"]=291]="StiUpcSup5BarCodeType",t[t["StiInterleaved2of5BarCodeType"]=292]="StiInterleaved2of5BarCodeType",t[t["StiStandard2of5BarCodeType"]=293]="StiStandard2of5BarCodeType",t[t["StiDataMatrixBarCodeType"]=294]="StiDataMatrixBarCodeType",t[t["StiMaxicodeBarCodeType"]=295]="StiMaxicodeBarCodeType",t[t["StiDatabase"]=296]="StiDatabase",t[t["StiFileDatabase"]=297]="StiFileDatabase",t[t["StiCsvDatabase"]=298]="StiCsvDatabase",t[t["StiDBaseDatabase"]=299]="StiDBaseDatabase",t[t["StiExcelDatabase"]=300]="StiExcelDatabase",t[t["StiJsonDatabase"]=301]="StiJsonDatabase",t[t["StiXmlDatabase"]=302]="StiXmlDatabase",t[t["StiSqlDatabase"]=303]="StiSqlDatabase",t[t["StiGauge"]=304]="StiGauge",t[t["StiMap"]=305]="StiMap",t[t["StiFullStackedColumnArea"]=306]="StiFullStackedColumnArea",t[t["StiClusteredBarArea"]=307]="StiClusteredBarArea",t[t["StiStackedBarArea"]=308]="StiStackedBarArea",t[t["StiFullStackedBarArea"]=309]="StiFullStackedBarArea",t[t["StiDoughnutArea"]=310]="StiDoughnutArea",t[t["StiLineArea"]=311]="StiLineArea",t[t["StiParetoArea"]=312]="StiParetoArea",t[t["StiBoxAndWhiskerArea"]=313]="StiBoxAndWhiskerArea",t[t["StiSteppedLineArea"]=314]="StiSteppedLineArea",t[t["StiStackedLineArea"]=315]="StiStackedLineArea",t[t["StiFullStackedLineArea"]=316]="StiFullStackedLineArea",t[t["StiSplineArea"]=317]="StiSplineArea",t[t["StiStackedSplineArea"]=318]="StiStackedSplineArea",t[t["StiFullStackedSplineArea"]=319]="StiFullStackedSplineArea",t[t["StiAreaArea"]=320]="StiAreaArea",t[t["StiSteppedAreaArea"]=321]="StiSteppedAreaArea",t[t["StiStackedAreaArea"]=322]="StiStackedAreaArea",t[t["StiFullStackedAreaArea"]=323]="StiFullStackedAreaArea",t[t["StiSplineAreaArea"]=324]="StiSplineAreaArea",t[t["StiStackedSplineAreaArea"]=325]="StiStackedSplineAreaArea",t[t["StiFullStackedSplineAreaArea"]=326]="StiFullStackedSplineAreaArea",t[t["StiGanttArea"]=327]="StiGanttArea",t[t["StiScatterArea"]=328]="StiScatterArea",t[t["StiBubbleArea"]=329]="StiBubbleArea",t[t["StiRangeArea"]=330]="StiRangeArea",t[t["StiSteppedRangeArea"]=331]="StiSteppedRangeArea",t[t["StiRangeBarArea"]=332]="StiRangeBarArea",t[t["StiSplineRangeArea"]=333]="StiSplineRangeArea",t[t["StiCandlestickArea"]=334]="StiCandlestickArea",t[t["StiStockArea"]=335]="StiStockArea",t[t["StiInsideEndPieLabels"]=336]="StiInsideEndPieLabels",t[t["StiTrendLineNone"]=337]="StiTrendLineNone",t[t["StiTrendLineLinear"]=338]="StiTrendLineLinear",t[t["StiTrendLineExponential"]=339]="StiTrendLineExponential",t[t["StiTrendLineLogarithmic"]=340]="StiTrendLineLogarithmic",t[t["StiDB2Database"]=341]="StiDB2Database",t[t["StiDotConnectUniversalDatabase"]=342]="StiDotConnectUniversalDatabase",t[t["StiFirebirdDatabase"]=343]="StiFirebirdDatabase",t[t["StiInformixDatabase"]=344]="StiInformixDatabase",t[t["StiMongoDbDatabase"]=345]="StiMongoDbDatabase",t[t["StiAzureTableStorageDatabase"]=346]="StiAzureTableStorageDatabase",t[t["StiMySqlDatabase"]=347]="StiMySqlDatabase",t[t["StiMSAccessDatabase"]=348]="StiMSAccessDatabase",t[t["StiOdbcDatabase"]=349]="StiOdbcDatabase",t[t["StiOleDbDatabase"]=350]="StiOleDbDatabase",t[t["StiOracleDatabase"]=351]="StiOracleDatabase",t[t["StiPostgreSQLDatabase"]=352]="StiPostgreSQLDatabase",t[t["StiSQLiteDatabase"]=353]="StiSQLiteDatabase",t[t["StiSqlCeDatabase"]=354]="StiSqlCeDatabase",t[t["StiSybaseDatabase"]=355]="StiSybaseDatabase",t[t["StiTeradataDatabase"]=356]="StiTeradataDatabase",t[t["StiVistaDBDatabase"]=357]="StiVistaDBDatabase",t[t["StiODataDatabase"]=358]="StiODataDatabase",t[t["StiDataTableSource"]=359]="StiDataTableSource",t[t["StiDataViewSource"]=360]="StiDataViewSource",t[t["StiUndefinedDataSource"]=361]="StiUndefinedDataSource",t[t["StiCsvSource"]=362]="StiCsvSource",t[t["StiDBaseSource"]=363]="StiDBaseSource",t[t["StiBusinessObjectSource"]=364]="StiBusinessObjectSource",t[t["StiCrossTabDataSource"]=365]="StiCrossTabDataSource",t[t["StiEnumerableSource"]=366]="StiEnumerableSource",t[t["StiUserSource"]=367]="StiUserSource",t[t["StiVirtualSource"]=368]="StiVirtualSource",t[t["StiDataTransformation"]=369]="StiDataTransformation",t[t["StiOracleODPSource"]=370]="StiOracleODPSource",t[t["StiFirebirdSource"]=371]="StiFirebirdSource",t[t["StiInformixSource"]=372]="StiInformixSource",t[t["StiMongoDbSource"]=373]="StiMongoDbSource",t[t["StiAzureTableStorageSource"]=374]="StiAzureTableStorageSource",t[t["StiMSAccessSource"]=375]="StiMSAccessSource",t[t["StiMySqlSource"]=376]="StiMySqlSource",t[t["StiDataWorldSource"]=377]="StiDataWorldSource",t[t["StiQuickBooksSource"]=378]="StiQuickBooksSource",t[t["StiOdbcSource"]=379]="StiOdbcSource",t[t["StiOleDbSource"]=380]="StiOleDbSource",t[t["StiOracleSource"]=381]="StiOracleSource",t[t["StiPostgreSQLSource"]=382]="StiPostgreSQLSource",t[t["StiSqlCeSource"]=383]="StiSqlCeSource",t[t["StiSQLiteSource"]=384]="StiSQLiteSource",t[t["StiSqlSource"]=385]="StiSqlSource",t[t["StiNoSqlSource"]=386]="StiNoSqlSource",t[t["StiSybaseSource"]=387]="StiSybaseSource",t[t["StiTeradataSource"]=388]="StiTeradataSource",t[t["StiVistaDBSource"]=389]="StiVistaDBSource",t[t["StiDB2Source"]=390]="StiDB2Source",t[t["StiDiagonalUpLineShapeType"]=391]="StiDiagonalUpLineShapeType",t[t["StiHorizontalLineShapeType"]=392]="StiHorizontalLineShapeType",t[t["StiLeftAndRightLineShapeType"]=393]="StiLeftAndRightLineShapeType",t[t["StiOvalShapeType"]=394]="StiOvalShapeType",t[t["StiRectangleShapeType"]=395]="StiRectangleShapeType",t[t["StiTopAndBottomLineShapeType"]=396]="StiTopAndBottomLineShapeType",t[t["StiVerticalLineShapeType"]=397]="StiVerticalLineShapeType",t[t["StiDivisionShapeType"]=398]="StiDivisionShapeType",t[t["StiFlowchartCardShapeType"]=399]="StiFlowchartCardShapeType",t[t["StiFlowchartDecisionShapeType"]=400]="StiFlowchartDecisionShapeType",t[t["StiFlowchartManualInputShapeType"]=401]="StiFlowchartManualInputShapeType",t[t["StiFlowchartSortShapeType"]=402]="StiFlowchartSortShapeType",t[t["StiFrameShapeType"]=403]="StiFrameShapeType",t[t["StiMinusShapeType"]=404]="StiMinusShapeType",t[t["StiMultiplyShapeType"]=405]="StiMultiplyShapeType",t[t["StiParallelogramShapeType"]=406]="StiParallelogramShapeType",t[t["StiPlusShapeType"]=407]="StiPlusShapeType",t[t["StiRegularPentagonShapeType"]=408]="StiRegularPentagonShapeType",t[t["StiTrapezoidShapeType"]=409]="StiTrapezoidShapeType",t[t["StiSnipSameSideCornerRectangleShapeType"]=410]="StiSnipSameSideCornerRectangleShapeType",t[t["StiSnipDiagonalSideCornerRectangleShapeType"]=411]="StiSnipDiagonalSideCornerRectangleShapeType",t[t["StiFlowchartPreparationShapeType"]=412]="StiFlowchartPreparationShapeType",t[t["StiRadialScale"]=413]="StiRadialScale",t[t["StiLinearScale"]=414]="StiLinearScale",t[t["StiLinearBar"]=415]="StiLinearBar",t[t["StiRadialBar"]=416]="StiRadialBar",t[t["StiNeedle"]=417]="StiNeedle",t[t["StiRadialMarker"]=418]="StiRadialMarker",t[t["StiScaleRangeList"]=419]="StiScaleRangeList",t[t["StiRadialRange"]=420]="StiRadialRange",t[t["StiStateIndicator"]=421]="StiStateIndicator",t[t["StiStateIndicatorFilter"]=422]="StiStateIndicatorFilter",t[t["StiRadialRangeList"]=423]="StiRadialRangeList",t[t["StiLinearRangeList"]=424]="StiLinearRangeList",t[t["StiLinearRange"]=425]="StiLinearRange",t[t["StiLinearTickMarkMajor"]=426]="StiLinearTickMarkMajor",t[t["StiLinearTickMarkMinor"]=427]="StiLinearTickMarkMinor",t[t["StiLinearTickMarkCustomValue"]=428]="StiLinearTickMarkCustomValue",t[t["StiLinearTickLabelMajor"]=429]="StiLinearTickLabelMajor",t[t["StiLinearTickLabelMinor"]=430]="StiLinearTickLabelMinor",t[t["StiLinearTickLabelCustom"]=431]="StiLinearTickLabelCustom",t[t["StiLinearTickLabelCustomValue"]=432]="StiLinearTickLabelCustomValue",t[t["StiRadialTickMarkMajor"]=433]="StiRadialTickMarkMajor",t[t["StiRadialTickMarkMinor"]=434]="StiRadialTickMarkMinor",t[t["StiRadialTickMarkCustom"]=435]="StiRadialTickMarkCustom",t[t["StiRadialTickMarkCustomValue"]=436]="StiRadialTickMarkCustomValue",t[t["StiRadialTickLabelMajor"]=437]="StiRadialTickLabelMajor",t[t["StiRadialTickLabelMinor"]=438]="StiRadialTickLabelMinor",t[t["StiRadialTickLabelCustom"]=439]="StiRadialTickLabelCustom",t[t["StiRadialTickLabelCustomValue"]=440]="StiRadialTickLabelCustomValue",t[t["StiLinearMarker"]=441]="StiLinearMarker",t[t["StiLinearTickMarkCustom"]=442]="StiLinearTickMarkCustom",t[t["StiLinearIndicatorRangeInfo"]=443]="StiLinearIndicatorRangeInfo",t[t["StiRadialIndicatorRangeInfo"]=444]="StiRadialIndicatorRangeInfo",t[t["StiBlueDashboardControlStyle"]=445]="StiBlueDashboardControlStyle",t[t["StiBlueDashboardIndicatorStyle"]=446]="StiBlueDashboardIndicatorStyle",t[t["StiBlueDashboardPageStyle"]=447]="StiBlueDashboardPageStyle",t[t["StiBlueDashboardPivotStyle"]=448]="StiBlueDashboardPivotStyle",t[t["StiBlueDashboardProgressStyle"]=449]="StiBlueDashboardProgressStyle",t[t["StiBlueDashboardTableStyle"]=450]="StiBlueDashboardTableStyle",t[t["StiOrangeDashboardControlStyle"]=451]="StiOrangeDashboardControlStyle",t[t["StiOrangeDashboardIndicatorStyle"]=452]="StiOrangeDashboardIndicatorStyle",t[t["StiOrangeDashboardPageStyle"]=453]="StiOrangeDashboardPageStyle",t[t["StiOrangeDashboardPivotStyle"]=454]="StiOrangeDashboardPivotStyle",t[t["StiOrangeDashboardProgressStyle"]=455]="StiOrangeDashboardProgressStyle",t[t["StiOrangeDashboardTableStyle"]=456]="StiOrangeDashboardTableStyle",t[t["StiGreenDashboardControlStyle"]=457]="StiGreenDashboardControlStyle",t[t["StiGreenDashboardIndicatorStyle"]=458]="StiGreenDashboardIndicatorStyle",t[t["StiGreenDashboardPageStyle"]=459]="StiGreenDashboardPageStyle",t[t["StiGreenDashboardProgressStyle"]=460]="StiGreenDashboardProgressStyle",t[t["StiGreenDashboardPivotStyle"]=461]="StiGreenDashboardPivotStyle",t[t["StiGreenDashboardTableStyle"]=462]="StiGreenDashboardTableStyle",t[t["StiTurquoiseDashboardControlStyle"]=463]="StiTurquoiseDashboardControlStyle",t[t["StiTurquoiseDashboardIndicatorStyle"]=464]="StiTurquoiseDashboardIndicatorStyle",t[t["StiTurquoiseDashboardPageStyle"]=465]="StiTurquoiseDashboardPageStyle",t[t["StiTurquoiseDashboardProgressStyle"]=466]="StiTurquoiseDashboardProgressStyle",t[t["StiTurquoiseDashboardPivotStyle"]=467]="StiTurquoiseDashboardPivotStyle",t[t["StiTurquoiseDashboardTableStyle"]=468]="StiTurquoiseDashboardTableStyle",t[t["StiSlateGrayDashboardControlStyle"]=469]="StiSlateGrayDashboardControlStyle",t[t["StiSlateGrayDashboardIndicatorStyle"]=470]="StiSlateGrayDashboardIndicatorStyle",t[t["StiSlateGrayDashboardPageStyle"]=471]="StiSlateGrayDashboardPageStyle",t[t["StiSlateGrayDashboardProgressStyle"]=472]="StiSlateGrayDashboardProgressStyle",t[t["StiSlateGrayDashboardPivotStyle"]=473]="StiSlateGrayDashboardPivotStyle",t[t["StiSlateGrayDashboardTableStyle"]=474]="StiSlateGrayDashboardTableStyle",t[t["StiDarkBlueDashboardControlStyle"]=475]="StiDarkBlueDashboardControlStyle",t[t["StiDarkBlueDashboardIndicatorStyle"]=476]="StiDarkBlueDashboardIndicatorStyle",t[t["StiDarkBlueDashboardPageStyle"]=477]="StiDarkBlueDashboardPageStyle",t[t["StiDarkBlueDashboardProgressStyle"]=478]="StiDarkBlueDashboardProgressStyle",t[t["StiDarkBlueDashboardPivotStyle"]=479]="StiDarkBlueDashboardPivotStyle",t[t["StiDarkBlueDashboardTableStyle"]=480]="StiDarkBlueDashboardTableStyle",t[t["StiYellowDashboardPageStyle"]=481]="StiYellowDashboardPageStyle",t[t["StiDarkGrayDashboardControlStyle"]=482]="StiDarkGrayDashboardControlStyle",t[t["StiDarkGrayDashboardIndicatorStyle"]=483]="StiDarkGrayDashboardIndicatorStyle",t[t["StiDarkGrayDashboardPageStyle"]=484]="StiDarkGrayDashboardPageStyle",t[t["StiDarkGrayDashboardProgressStyle"]=485]="StiDarkGrayDashboardProgressStyle",t[t["StiDarkGrayDashboardPivotStyle"]=486]="StiDarkGrayDashboardPivotStyle",t[t["StiDarkGrayDashboardTableStyle"]=487]="StiDarkGrayDashboardTableStyle",t[t["StiDarkTurquoiseDashboardControlStyle"]=488]="StiDarkTurquoiseDashboardControlStyle",t[t["StiDarkTurquoiseDashboardIndicatorStyle"]=489]="StiDarkTurquoiseDashboardIndicatorStyle",t[t["StiDarkTurquoiseDashboardPageStyle"]=490]="StiDarkTurquoiseDashboardPageStyle",t[t["StiDarkTurquoiseDashboardProgressStyle"]=491]="StiDarkTurquoiseDashboardProgressStyle",t[t["StiDarkTurquoiseDashboardPivotStyle"]=492]="StiDarkTurquoiseDashboardPivotStyle",t[t["StiDarkTurquoiseDashboardTableStyle"]=493]="StiDarkTurquoiseDashboardTableStyle",t[t["StiSilverDashboardControlStyle"]=494]="StiSilverDashboardControlStyle",t[t["StiSilverDashboardIndicatorStyle"]=495]="StiSilverDashboardIndicatorStyle",t[t["StiSilverDashboardPageStyle"]=496]="StiSilverDashboardPageStyle",t[t["StiSilverDashboardPivotStyle"]=497]="StiSilverDashboardPivotStyle",t[t["StiSilverDashboardProgressStyle"]=498]="StiSilverDashboardProgressStyle",t[t["StiSilverDashboardTableStyle"]=499]="StiSilverDashboardTableStyle",t[t["StiAliceBlueDashboardControlStyle"]=500]="StiAliceBlueDashboardControlStyle",t[t["StiAliceBlueDashboardIndicatorStyle"]=501]="StiAliceBlueDashboardIndicatorStyle",t[t["StiAliceBlueDashboardPageStyle"]=502]="StiAliceBlueDashboardPageStyle",t[t["StiAliceBlueDashboardPivotStyle"]=503]="StiAliceBlueDashboardPivotStyle",t[t["StiAliceBlueDashboardProgressStyle"]=504]="StiAliceBlueDashboardProgressStyle",t[t["StiAliceBlueDashboardTableStyle"]=505]="StiAliceBlueDashboardTableStyle",t[t["StiDarkGreenDashboardControlStyle"]=506]="StiDarkGreenDashboardControlStyle",t[t["StiDarkGreenDashboardIndicatorStyle"]=507]="StiDarkGreenDashboardIndicatorStyle",t[t["StiDarkGreenDashboardPageStyle"]=508]="StiDarkGreenDashboardPageStyle",t[t["StiDarkGreenDashboardProgressStyle"]=509]="StiDarkGreenDashboardProgressStyle",t[t["StiDarkGreenDashboardPivotStyle"]=510]="StiDarkGreenDashboardPivotStyle",t[t["StiDarkGreenDashboardTableStyle"]=511]="StiDarkGreenDashboardTableStyle",t[t["StiCustomDashboardControlStyle"]=512]="StiCustomDashboardControlStyle",t[t["StiCustomDashboardPivotStyle"]=513]="StiCustomDashboardPivotStyle",t[t["StiCustomDashboardIndicatorStyle"]=514]="StiCustomDashboardIndicatorStyle",t[t["StiCustomDashboardProgressStyle"]=515]="StiCustomDashboardProgressStyle",t[t["StiCustomDashboardTableStyle"]=516]="StiCustomDashboardTableStyle",t[t["StiDataWorldDatabase"]=517]="StiDataWorldDatabase",t[t["StiQuickBooksDatabase"]=518]="StiQuickBooksDatabase",(t=C=r.StiRenderedWith||(r.StiRenderedWith={}))[t["Unknown"]=0]="Unknown",t[t["Net"]=1]="Net",t[t["Wpf"]=2]="Wpf",t[t["Silverlight"]=3]="Silverlight",t[t["WinRT"]=4]="WinRT",t[t["Flex"]=5]="Flex",t[t["Java"]=6]="Java",t[t["JS"]=7]="JS",(t=v=r.StiRankOrder||(r.StiRankOrder={}))[t["Asc"]=0]="Asc",t[t["Desc"]=1]="Desc",(t=w=r.StiXmlType||(r.StiXmlType={}))[t["AdoNetXml"]=0]="AdoNetXml",t[t["Xml"]=1]="Xml",(t=B=r.StiStyleElements||(r.StiStyleElements={}))[t["Font"]=1]="Font",t[t["Border"]=2]="Border",t[t["Brush"]=4]="Brush",t[t["TextBrush"]=8]="TextBrush",t[t["TextOptions"]=16]="TextOptions",t[t["HorAlignment"]=32]="HorAlignment",t[t["VertAlignment"]=64]="VertAlignment",t[t["All"]=127]="All",(t=I=r.StiDateRangeKind||(r.StiDateRangeKind={}))[t["CurrentMonth"]=0]="CurrentMonth",t[t["CurrentQuarter"]=1]="CurrentQuarter",t[t["CurrentWeek"]=2]="CurrentWeek",t[t["CurrentYear"]=3]="CurrentYear",t[t["NextMonth"]=4]="NextMonth",t[t["NextQuarter"]=5]="NextQuarter",t[t["NextWeek"]=6]="NextWeek",t[t["NextYear"]=7]="NextYear",t[t["PreviousMonth"]=8]="PreviousMonth",t[t["PreviousQuarter"]=9]="PreviousQuarter",t[t["PreviousWeek"]=10]="PreviousWeek",t[t["PreviousYear"]=11]="PreviousYear",t[t["FirstQuarter"]=12]="FirstQuarter",t[t["SecondQuarter"]=13]="SecondQuarter",t[t["ThirdQuarter"]=14]="ThirdQuarter",t[t["FourthQuarter"]=15]="FourthQuarter",t[t["MonthToDate"]=16]="MonthToDate",t[t["QuarterToDate"]=17]="QuarterToDate",t[t["WeekToDate"]=18]="WeekToDate",t[t["YearToDate"]=19]="YearToDate",t[t["Today"]=20]="Today",t[t["Tomorrow"]=21]="Tomorrow",t[t["Yesterday"]=22]="Yesterday",t[t["Last7Days"]=23]="Last7Days",t[t["Last14Days"]=24]="Last14Days",t[t["Last30Days"]=25]="Last30Days",(t=T=r.StiDashboardViewerSettings||(r.StiDashboardViewerSettings={}))[t["None"]=0]="None",t[t["ShowToolBar"]=1]="ShowToolBar",t[t["ShowRefreshButton"]=2]="ShowRefreshButton",t[t["ShowOpenButton"]=4]="ShowOpenButton",t[t["ShowFullScreenButton"]=8]="ShowFullScreenButton",t[t["ShowMenuButton"]=16]="ShowMenuButton",t[t["ShowEditButton"]=32]="ShowEditButton",t[t["ShowReportSnapshots"]=64]="ShowReportSnapshots",t[t["ShowExports"]=128]="ShowExports",t[t["All"]=255]="All",(r=E=r.StiElementMeterAction||(r.StiElementMeterAction={}))[r["None"]=0]="None",r[r["Rename"]=1]="Rename",r[r["Delete"]=2]="Delete",r[r["ClearAll"]=3]="ClearAll"}(Stimulsoft=Stimulsoft||{}),function(I){var t,e,r,T,y,E,A,b;function n(){}e=t=I.Report||(I.Report={}),T=r=e.Components||(e.Components={}),y=I.System.StiString,E=I.Base.Drawing.StiBorderSides,A=I.System.Drawing.Graphics,b=I.System.Char,n.breakText=function(t,e,r,n,i,o,a,s){null!=s&&s.report;var l=r.ref;if(!y.isNullOrWhiteSpace(l)){a&&(l="<StiHtmlJs>"+I.Report.Export.StiHtmlExportService.convertTextWithHtmlTagsToHtmlText(s,l,1)),e.height/=s.lineSpacing;var u=A.measureString(l,n,e.width,!0,1,0,!a);if(u.height<=e.height)return r.ref="",l;if((u=A.measureString("A",n)).height>e.height)return r.ref=l,"";var c=[];if(a)for(var p=0,h=l.length,m=0,d;m<h;m++){if("<"==l.charAt(m)){while(m<h&&">"!=l.charAt(m))c[m]=p,m++;c[m]=p}else c[m]=p++}var g=0,f=l.length;while(1<f-g){var S=(g+f)/2|0;if(a){if(c[f]-c[g]<2)break;while(g<S&&c[S]==c[S-1])S--;if(S==g)break}(u=A.measureString(l.substr(0,S),n,e.width,!0,1,0,!a)).height>e.height?f=S:g=S}f=g;while(0<g&&b.isLetterOrDigit(l,g)&&b.isLetterOrDigit(l,g-1))g--;return 0==g&&(g=f),r.ref=(a?"<StiHtmlJs>":"")+l.substr(g),l.substr(0,g)}return""},n.breakContainer=function(t,e){var r,n;if(StiOptions.Engine.allowBreakContainerOptimization)return this.breakContainerV2(t,e);var i=e.clone(!1,!1),o=i.components,a=e.components,s=t,l=0,u=!1,c=!1,p=!0;while(p){p=!1;try{for(var h=(r=void 0,__values(a.list)),m=h.next(),d,g;!m.done;m=h.next()){if((d=m.value).top<s&&d.top+d.height>s){if(null!=(g=d.as(T.IStiBreakable))&&g.canBreak){var f=d.height,S=s-d.top;d.height=S;var y=d.clone(),A=null;A=d.is(T.StiContainer)?d.clone(!0,!1):d.clone();var b=y.as(T.IStiBreakable),C={ref:l};if(b.break(A,S/f,C)){if(s<(l=C.ref)&&(s=l),d.height=f,!c&&y.bottom<s){u?(s=t,c=!0):(s=y.bottom,u=!0),p=!0;break}continue}l=C.ref,d.height=f}if(d.is(I.Report.Engine.StiNewPageContainer)){s=d.bottom,p=u=!0;break}s=Math.min(s,d.top),p=!0}}}catch(t){r={error:t}}finally{try{m&&!m.done&&(n=h.return)&&n.call(h)}finally{if(r)throw r.error}}}var v=0,w=[],d;while(v<a.count){if((d=a.getByIndex(v)).top+d.height>s){var g=d.as(T.IStiBreakable);if(!(d.top<s&&null!=g&&g.canBreak)){d.top-=s,a.remove(d),v++,o.add(d);continue}var S=s-d.top,A=null;A=d.is(T.StiContainer)?d.clone(!0,!1):d.clone();var f=d.height;A.height=d.height-S,A.top=0,A.is(T.StiImage)?A.canGrow=!1:A.canGrow=!0,A.canShrink=!1,o.add(A),d.height=S;var C={ref:l};if(!g.break(A,S/f,C)){l=C.ref,a.remove(d),v++,A.canGrow=!1;continue}l=C.ref}w.push(d),v++}if(w.length!=a.count){for(var B=0;B<w.length;B++)a.setByIndex(B,w[B]);while(a.count>w.length)a.removeAt(a.count-1)}return StiOptions.Engine.removeBottomBorderOfSplitContainer&&0<o.count&&(e.border=e.border.clone(),e.border.side&=E.Left|E.Right|E.Top),e.height=s,i},n.breakContainerV2=function(t,e){var r=e.clone(!1,!1),n=r.components,i=e.components,o=t,o=this.getDivideLine(e,o),a=Math.round(1e3*o),s=0,l=[];while(s<i.count){var u=i.getByIndex(s),c=Math.round(1e3*u.top),p;if(a<Math.round(1e3*(u.top+u.height))){var h=u.as(T.IStiBreakable);if(!(c<a&&null!=h&&h.canBreak)){u.top-=o,s++,n.add(u);continue}var m=o-u.top,d=null,d=u.is(T.StiContainer)?u.clone(!0,!1):u.clone(),c=u.height,g;if(d.height=u.height-m,d.top=0,d.is(T.StiImage)?d.canGrow=!1:d.canGrow=!0,d.canShrink=!1,n.add(d),u.height=m,!h.break(d,m/c,{ref:o})){s++,d.canGrow=!1;continue}}l.push(u),s++}if(l.length!=i.count){for(var f=0;f<l.length;f++)i.setByIndex(f,l[f]);while(i.count>l.length)i.removeAt(i.count-1)}return StiOptions.Engine.removeBottomBorderOfSplitContainer&&0<n.count&&(e.border=e.border.clone(),e.border.side&=E.Left|E.Right|E.Top),e.height=o,r},n.getDivideLine=function(t,e){var r,n={ref:r=2},i=this.searchDivideLine(t,e,e,n);if(r=n.ref,i==e)return e;while(0<i){var o={ref:r},a=this.searchDivideLine(t,i,e,o),r=o.ref;if(a==i)return i;i=a}return 0},n.searchDivideLine=function(t,e,r,n){var i,o,a=n.ref,s=0,l=Math.round(1e3*e);try{for(var u=__values(t.components.list),c=u.next();!c.done;c=u.next()){var p=c.value,h=Math.round(1e3*p.top),m=Math.round(1e3*(p.top+p.height));if(h<l&&l<m){var d=p.as(T.IStiBreakable);if(null!=d&&d.canBreak){if(0==a)continue;var g=p.height,f=e-p.top;if(p.is(T.StiContainer)){if(s=this.getDivideLine(p,f),s<f&&(a--,0==(n.ref=a)))return r;if(s!=f)return p.top+s;continue}var S=p.clone(),h=p.clone();S.height=f,h.height=f;var m=S.as(T.IStiBreakable),d={ref:s};if(m.break(h,f/g,d)){if(S.bottom<e)return S.bottom;continue}s=d.ref}if(p.is(I.Report.Engine.StiNewPageContainer))return p.bottom;e=p.top}}}catch(t){i={error:t}}finally{try{c&&!c.done&&(o=u.return)&&o.call(u)}finally{if(i)throw i.error}}return e},e=n,T.StiComponentDivider=e}(Stimulsoft=Stimulsoft||{}),function(H){var t,d,e,Q,u,a,s,c,g,n,o,l,i,p,L,f,S,r,h,m,y,A;function Y(t,e){void 0===t&&(t=f.empty),void 0===e&&(e=!1);var r=A.call(this,t,!0)||this;return r._border=new o,r._brush=new i(p.transparent),r._containerInfo=null,r.parentComponentIsBand=!1,r.parentComponentIsCrossBand=!1,r._collapsedValue=null,r._collapsingIndex=0,r._collapsingTreePath=null,r.defaultClientRectangle=new f(0,0,100,100),e||r.construct(t),r}d=t=H.Report||(H.Report={}),Q=e=d.Components||(d.Components={}),u=H.Base.Localization.StiLocalization,a=H.Base.IStiGetFonts,s=H.System.StiArray,c=H.System.StiString,g=H.Base.Drawing.StiActionUtils,n=H.System.Collections.Hashtable,o=H.Base.Drawing.StiBorder,l=H.Base.Drawing.StiBrush,i=H.Base.Drawing.StiSolidBrush,p=H.System.Drawing.Color,L=H.Report.Components.StiComponentDivider,f=H.System.Drawing.Rectangle,S=H.System.Drawing.Size,r=H.Base.JsonReportObject.IStiJsonReportObject,h=H.Base.StiJsonReportObjectHelper,m=H.System.Drawing.Point,A=Q.StiComponent,__extends(Y,A),Y.prototype.implements=function(){return Y.ImplementsStiContainer||(Y.ImplementsStiContainer=A.prototype.implements.call(this).concat([Q.IStiBorder,Q.IStiBrush,Q.IStiBreakable,d.IStiIgnoryStyle,r,a])),Y.ImplementsStiContainer},Y.prototype.saveToJsonObject=function(t){var e=A.prototype.saveToJsonObject.call(this,t);return e.addPropertyBool("CanBreak",this.canBreak),e.addPropertyStringNullOrEmpty("Border",h.Serialize.jBorder(this.border)),e.addPropertyStringNullOrEmpty("Brush",h.Serialize.jBrush(this.brush)),e.addPropertyJObject("Components",this.components.saveToJsonObject(t)),e},Y.prototype.loadFromJsonObject=function(t){var e,r;A.prototype.loadFromJsonObject.call(this,t);try{for(var n=__values(t.properties()),i=n.next();!i.done;i=n.next()){var o=i.value;switch(o.name){case"CanBreak":this.canBreak=o.value.stimulsoft.toBoolean();break;case"Border":this.border=h.Deserialize.border(o.value);break;case"Brush":this.brush=h.Deserialize.brush(o.value);break;case"Components":this.components.loadFromJsonObject(o.value);break}}}catch(t){e={error:t}}finally{try{i&&!i.done&&(r=n.return)&&r.call(n)}finally{if(e)throw e.error}}},Y.prototype.parseContainerFromXml=function(t){null!=t.attributes.getNamedItem("name")&&(this.name=t.attributes.getNamedItem("name").value),null!=t.attributes.getNamedItem("guid")&&(this.guid=t.attributes.getNamedItem("guid").value),null!=t.attributes.getNamedItem("pr")&&(this.printable=!1),null!=t.attributes.getNamedItem("bookmark")&&(this.bookmarkValue=t.attributes.getNamedItem("bookmark").value),null!=t.attributes.getNamedItem("hyperlink")&&(this.hyperlinkValue=t.attributes.getNamedItem("hyperlink").value),null!=t.attributes.getNamedItem("tag")&&(this.tagValue=t.attributes.getNamedItem("tag").value),null!=t.attributes.getNamedItem("toolTip")&&(this.toolTipValue=t.attributes.getNamedItem("toolTip").value),null!=t.attributes.getNamedItem("rc")&&(this.clientRectangle=this.loadRectangleDFromXml(t.attributes.getNamedItem("rc").value)),null!=t.attributes.getNamedItem("bh")&&(this.brush=l.loadFromXml(t.attributes.getNamedItem("bh").value)),null!=t.attributes.getNamedItem("br")&&(this.border=o.loadFromXml(t.attributes.getNamedItem("br").value))},Y.prototype.loadFromXml=function(t,e){A.prototype.loadFromXml.call(this,t,e);var r=t.getAttribute("Ref");!c.isNullOrEmpty(r)&&this.report.jsonLoaderHelper&&(this.report.jsonLoaderHelper.refNames[r.stimulsoft.toNumber()]=t.nodeName),this.parseContainerFromXml(t);for(var n=0;n<t.childNodes.length;n++){var i=t.childNodes[n];switch(i.nodeName){case"Components":this.components.loadFromXml(i,e);break;case"CanBreak":this.canBreak=i.textContent.stimulsoft.toBoolean();break;case"Border":case"br":this.border=o.loadFromXml(i.textContent);break;case"Brush":case"bh":this.brush=l.loadFromXml(i.textContent);break}}},Object.defineProperty(Y.prototype,"componentId",{get:function(){return d.StiComponentId.StiContainer},enumerable:!1,configurable:!0}),Object.defineProperty(Y.prototype,"canBreak",{get:function(){return this.properties.getBool(Y.propertyCanBreak,!1)},set:function(t){this.properties.setBool(Y.propertyCanBreak,t,!1)},enumerable:!1,configurable:!0}),Y.prototype.break=function(t,e,r){var n,i,o,a,s,l,u,c,p,h,m=L.breakContainer(this.height,this);t.components.clear(),t.components.addRange(m.components);var m=this.height;if(StiOptions.Engine.usePrintOnAllPagesPropertyOfHeadersInSubreports){var d=[],g=[],f=[];try{for(var S=__values(this.components.list),y=S.next(),A,b;!y.done;y=S.next()){(A=y.value).is(Y)&&null!=(b=A.containerInfo.parentBand)&&b.is(H.Report.Components.StiHeaderBand)&&b.as(Q.IStiPrintOnAllPages).printOnAllPages&&(d.stimulsoft.contains(b)||(d.push(b.as(H.Report.Components.StiHeaderBand)),g.push(A.clone().as(Y)),null!=b.parent?f.push(H.Report.Engine.StiHeaderBandBuilder.getMaster(b.as(H.Report.Components.StiHeaderBand))):f.push(b)))}}catch(t){n={error:t}}finally{try{y&&!y.done&&(i=S.return)&&i.call(S)}finally{if(n)throw n.error}}if(0<d.length){var C=t.components,v=[],w=d.length;try{for(var B=__values(C.list),I=B.next(),A;!I.done;I=B.next()){if((A=I.value).is(Y)){var b,T=(b=A.containerInfo.parentBand).as(H.Report.Components.StiDataBand);if(null!=T){var E=b;if(b.is(H.Report.Components.Table.StiTable)&&null!=T.dataBandInfo.headers)try{for(var R=(s=void 0,__values(T.dataBandInfo.headers.list)),D=R.next(),P;!D.done;D=R.next()){if((P=D.value).is(H.Report.Components.StiHeaderBand)&&P.name==b.name.substr(0,b.name.length-3)+"_Hd"){E=P.as(H.Report.Components.StiBand);break}}}catch(t){s={error:t}}finally{try{D&&!D.done&&(l=R.return)&&l.call(R)}finally{if(s)throw s.error}}for(var x=d.length-1;0<=x;x--)if(null!=d[x]&&(b==f[x]||E==f[x])){for(var F=!0,N=0;N<d.length;N++){var k=null;N<C.count&&(k=C.getByIndex(N).as(Y)),null!=k&&k.containerInfo.parentBand==d[x]&&(F=!1)}F&&v.push(g[x]),d[x]=null,w--}if(0==w)break}}}}catch(t){o={error:t}}finally{try{I&&!I.done&&(a=B.return)&&a.call(B)}finally{if(o)throw o.error}}if(0<v.length)try{for(var M=__values(v),O=M.next();!O.done;O=M.next()){var _=O.value;try{for(var j=(p=void 0,__values(C.list)),G=j.next(),P;!G.done;G=j.next()){(P=G.value).top+=_.height}}catch(t){p={error:t}}finally{try{G&&!G.done&&(h=j.return)&&h.call(j)}finally{if(p)throw p.error}}_.top=0,C.insert(0,_)}}catch(t){u={error:t}}finally{try{O&&!O.done&&(c=M.return)&&c.call(M)}finally{if(u)throw u.error}}}}return r.ref=m,!0},Y.prototype.clone=function(t,e){var r,n;void 0===t&&(t=!0),void 0===e&&(e=!0);var i=A.prototype.clone.call(this,t);if(i._containerInfo=this.containerInfo.clone(),null!=this._border?i._border=this._border.clone():i._border=null,null!=this._brush?i._brush=this._brush.clone():i._brush=null,i._components=new Q.StiComponentsCollection(i),e)try{for(var o=__values(this._components.list),a=o.next();!a.done;a=o.next()){var s=a.value;i._components.add(s.clone())}}catch(t){r={error:t}}finally{try{a&&!a.done&&(n=o.return)&&n.call(o)}finally{if(r)throw r.error}}return i},Y.prototype.convert=function(t,e,r,n){var i,o;if(void 0===r&&(r=!1),void 0===n&&(n=!0),A.prototype.convert.call(this,t,e,r),n)try{for(var a=__values(this._components.list),s=a.next(),l;!s.done;s=a.next()){s.value.convert(t,e,r)}}catch(t){i={error:t}}finally{try{s&&!s.done&&(o=a.return)&&o.call(a)}finally{if(i)throw i.error}}},Object.defineProperty(Y.prototype,"border",{get:function(){return this._border},set:function(t){this._border=t},enumerable:!1,configurable:!0}),Object.defineProperty(Y.prototype,"brush",{get:function(){return this._brush},set:function(t){this._brush=t},enumerable:!1,configurable:!0}),Y.prototype.getActualSize=function(t,e){var r,n,i,o;void 0===t&&(t=!1),void 0===e&&(e={ref:!1});var a=e.ref,s=new S(this.width,this.height);if(this.canGrow||this.canShrink){var l=0,u=0;if(!this.is(Q.StiPage)){try{for(var c=__values(this.components.list),p=c.next(),h,m;!p.done;p=c.next()){if(!(h=p.value).enabled)continue;if(h.is(H.Report.Components.StiPointPrimitive)){l=Math.max(h.top,l),u=Math.max(h.left,u);continue}if(h.is(H.Report.Components.StiPrimitive)&&!h.is(H.Report.Components.StiHorizontalLinePrimitive))continue;0!=h.width&&0!=h.height&&(m=new S(h.clientRectangle.width,h.clientRectangle.height),h.dockStyle!=H.Report.Components.StiDockStyle.None&&h.dockable&&(t||(h.dockToContainer(),StiOptions.Engine.allowCacheForGetActualSize&&null!=h.report&&null!=h.report.engine&&null!=h.report.engine.hashCheckSize&&h.report.engine.hashCheckSize.set(h,null),m=h.getActualSize()),a=!0),l=h.is(H.Report.Components.StiHorizontalLinePrimitive)?Math.max(h.top,l):Math.max(h.bottom,l),u=Math.max(h.right,u))}}catch(t){r={error:t}}finally{try{p&&!p.done&&(n=c.return)&&n.call(c)}finally{if(r)throw r.error}}this.canGrow&&(s.width=Math.max(u,s.width),s.height=Math.max(l,s.height)),this.canShrink&&(s.width=Math.min(u,s.width),s.height=Math.min(l,s.height))}}if(this.is(Q.StiPage)&&this.unlimitedHeight){var l=0,u=0;try{for(var d=__values(this.components.list),g=d.next(),h;!g.done;g=d.next()){if(!(h=g.value).enabled)continue;if(h.is(H.Report.Components.StiPointPrimitive)){l=Math.max(h.top,l),u=Math.max(h.left,u);continue}if(h.is(H.Report.Components.StiPrimitive)&&!h.is(H.Report.Components.StiHorizontalLinePrimitive))continue;0!=h.width&&0!=h.height&&(l=h.is(H.Report.Components.StiHorizontalLinePrimitive)?Math.max(h.top,l):Math.max(h.bottom,l),u=Math.max(h.right,u))}}catch(t){i={error:t}}finally{try{g&&!g.done&&(o=d.return)&&o.call(d)}finally{if(i)throw i.error}}s.width=Math.max(u,s.width),s.height=Math.max(l,s.height)}return e.ref=a,s},Y.prototype.getFonts=function(){var e,t,r=A.prototype.getFonts.call(this);try{for(var n=__values(this.components.list),i=n.next();!i.done;i=n.next()){var o=i.value;o.is(a)&&r.stimulsoft.addRange(o.getFonts())}}catch(t){e={error:t}}finally{try{i&&!i.done&&(t=n.return)&&t.call(n)}finally{if(e)throw e.error}}return s.distinct(r)},Object.defineProperty(Y.prototype,"containerInfo",{get:function(){return null==this._containerInfo&&(this._containerInfo=new Q.StiContainerInfo),this._containerInfo},enumerable:!1,configurable:!0}),Object.defineProperty(Y.prototype,"priority",{get:function(){return Q.StiComponentPriority.Container},enumerable:!1,configurable:!0}),Object.defineProperty(Y.prototype,"toolboxPosition",{get:function(){return Q.StiComponentToolboxPosition.Container},enumerable:!1,configurable:!0}),Object.defineProperty(Y.prototype,"toolboxCategory",{get:function(){return Q.StiToolboxCategory.Components},enumerable:!1,configurable:!0}),Object.defineProperty(Y.prototype,"componentType",{get:function(){return null!=this._containerInfo&&null!=this._containerInfo.parentBand?this._containerInfo.parentBand.componentType:Q.StiComponentType.Simple},enumerable:!1,configurable:!0}),Object.defineProperty(Y.prototype,"collapsedValue",{get:function(){return this._collapsedValue},set:function(t){this._collapsedValue=t},enumerable:!1,configurable:!0}),Object.defineProperty(Y.prototype,"collapsingIndex",{get:function(){return this._collapsingIndex},set:function(t){this._collapsingIndex=t},enumerable:!1,configurable:!0}),Object.defineProperty(Y.prototype,"collapsingTreePath",{get:function(){return this._collapsingTreePath},set:function(t){this._collapsingTreePath=t},enumerable:!1,configurable:!0}),Object.defineProperty(Y.prototype,"hasSelected",{get:function(){var e,t;try{for(var r=__values(this.components.list),n=r.next();!n.done;n=r.next()){var i=n.value;if(i.isSelected)return!0;var i=i.as(Y);if(null!=i&&i.hasSelected)return!0}}catch(t){e={error:t}}finally{try{n&&!n.done&&(t=r.return)&&t.call(r)}finally{if(e)throw e.error}}return!1},enumerable:!1,configurable:!0}),Object.defineProperty(Y.prototype,"components",{get:function(){return this._components},set:function(t){this._components=t},enumerable:!1,configurable:!0}),Object.defineProperty(Y.prototype,"blocked",{get:function(){return this.properties.get(Y.propertyBlocked,!1)},set:function(t){this.properties.set(Y.propertyBlocked,t,!1)},enumerable:!1,configurable:!0}),Y.prototype.setParentStylesToChilds=function(t){var e,r,n,i;if(void 0===t&&(t=null),null==t){var o=!0;try{for(var a=__values(this.components.list),s=a.next(),l;!s.done;s=a.next()){(l=s.value).useParentStyles&&(o&&(t=H.Report.Styles.StiBaseStyle.getStyle(this),o=!1),null!=t&&t.setStyleToComponent(l))}}catch(t){e={error:t}}finally{try{s&&!s.done&&(r=a.return)&&r.call(a)}finally{if(e)throw e.error}}}else try{for(var u=__values(this.components.list),c=u.next(),l;!c.done;c=u.next()){(l=c.value).useParentStyles&&t.setStyleToComponent(l)}}catch(t){n={error:t}}finally{try{c&&!c.done&&(i=u.return)&&i.call(u)}finally{if(n)throw n.error}}},Y.prototype.offsetLocation=function(t,e){var r,n;try{for(var i=__values(this.components.list),o=i.next();!o.done;o=i.next()){var a=o.value;a.left+=t,a.top+=e}}catch(t){r={error:t}}finally{try{o&&!o.done&&(n=i.return)&&n.call(i)}finally{if(r)throw r.error}}},Y.prototype.changePosition=function(t){var e,r;try{for(var n=__values(this.components.list),i=n.next();!i.done;i=n.next()){var o=i.value,o;o.isSelected?o.displayRectangle=Q.StiComponent.doOffsetRect(o,o.displayRectangle,t):null!=(o=o.as(Y))&&o.changePosition(t)}}catch(t){e={error:t}}finally{try{i&&!i.done&&(r=n.return)&&r.call(n)}finally{if(e)throw e.error}}},Y.prototype.normalize=function(){var e,t;try{for(var r=__values(this.components.list),n=r.next();!n.done;n=r.next()){var i=n.value;i.isSelected&&(i.clientRectangle=i.clientRectangle.normalize());var i=i.as(Y);null!=i&&i.normalize()}}catch(t){e={error:t}}finally{try{n&&!n.done&&(t=r.return)&&t.call(r)}finally{if(e)throw e.error}}},Y.prototype.sortByPriority=function(){var e,t;this.components.sortByPriority();try{for(var r=__values(this.components.list),n=r.next();!n.done;n=r.next()){var i,o=n.value.as(Y);null!=o&&o.sortByPriority()}}catch(t){e={error:t}}finally{try{n&&!n.done&&(t=r.return)&&t.call(r)}finally{if(e)throw e.error}}},Y.prototype.bringToFront=function(){var t=this.components.count,e=0;while(e<t){var r=this.components.getByIndex(e).stimulsoft.as(Q.StiComponent),n=r.as(Y);null!=n&&n.bringToFront(),r.isSelected?(this.components.remove(r),this.components.add(r),t--):e++}this.sortByPriority()},Y.prototype.sendToBack=function(){var t=this.components.count,e=0;while(e<t){var r=this.components.getByIndex(e).stimulsoft.as(Q.StiComponent),n=r.as(Y);null!=n&&n.sendToBack(),r.isSelected&&(this.components.remove(r),this.components.insert(0,r)),e++}this.sortByPriority()},Y.prototype.moveForward=function(){var t=this.components.count-1;while(0<=t){var e=this.components.getByIndex(t).stimulsoft.as(Q.StiComponent),r=e.as(Y),r;null!=r&&r.moveForward(),!e.isSelected||(r=this.components.indexOf(e))<this.components.count-1&&(this.components.remove(e),this.components.insert(r+1,e)),t--}this.sortByPriority()},Y.prototype.moveBackward=function(){var t=this.components.count,e=0;while(e<t){var r=this.components.getByIndex(e).stimulsoft.as(Q.StiComponent),n=r.as(Y),n;null!=n&&n.moveBackward(),!r.isSelected||0<(n=this.components.indexOf(r))&&(this.components.remove(r),this.components.insert(n-1,r)),e++}this.sortByPriority()},Y.prototype.alignTo=function(t){var e=this.getSelectedComponents(),r=e.clone(),n=this.getSelectedRectangle();switch(t){case Q.StiAligning.Left:e.sortByLeftPosition();for(var i=0;i<e.count;i++)e.getByIndex(i).left=n.left;break;case Q.StiAligning.Center:for(var i=0;i<e.count;i++)e.getByIndex(i).left=n.left+(n.width-e.getByIndex(i).width)/2;break;case Q.StiAligning.Right:e.sortByRightPosition();for(var i=0;i<e.count;i++)e.getByIndex(i).left=n.right-e.getByIndex(i).width;break;case Q.StiAligning.Top:e.sortByTopPosition();for(var i=0;i<e.count;i++)e.getByIndex(i).top=n.top;break;case Q.StiAligning.Middle:for(var i=0;i<e.count;i++)e.getByIndex(i).top=n.top+(n.height-e.getByIndex(i).height)/2;break;case Q.StiAligning.Bottom:e.sortByBottomPosition();for(var i=0;i<e.count;i++)e.getByIndex(i).top=n.bottom-e.getByIndex(i).height;break}},Y.prototype.getContainerInRectPrivate=function(t,e){for(var r=null,n=this.pageToContainer(t),i=this.getComponents(),o=i.count-1;0<=o;o--){var a=i.getByIndex(o),s,l,u,c,l,p,h,m,u,a,c,s;a==e||a.checkForParentComponent(e)||null!=(s=a.as(Y))&&e.canContainIn(s)&&((l=this.pageToContainer(a.componentToPage(a.clientRectangle))).intersectsWith(n)&&e.isCross&&(r=s),a.is(H.Report.Components.StiBand)&&!a.isCross&&(u=this.page.unit.convertFromHInches(1),e.is(H.Report.Components.StiPrimitive)&&(l.width+=u),null!=d&&this.report.info.showHeaders&&(l.height+=u,c=this.page.unit.convertFromHInches(a.headerSize),l=l.offsetRect(new f(0,c,0,c)))),(e.is(Q.StiEndPointPrimitive)||e.is(Q.StiStartPointPrimitive))&&(p=Math.round2(n.x,2),h=Math.round2(n.y,2),m=Math.round2(l.left,2),u=Math.round2(l.top,2),a=Math.round2(l.right,2),c=Math.round2(l.bottom,2),u<=h&&h<=c&&m<=p&&p<=a&&(r=s)),g.pointInRect(n.x,n.y,l)&&(r=s),null!=(s=s.getContainerInRectPrivate(t,e))&&(r=s))}if(e.isCross)return r;if(e.is(H.Report.Components.Table.StiTable)&&r.is(H.Report.Components.Table.StiTable))return null;if(e.is(H.Report.Components.Table.StiTable)&&r.is(H.Report.Components.StiDataBand))return r;if(!e.is(H.Report.Components.Table.IStiTableCell)&&r.is(H.Report.Components.Table.StiTable))return null;if(e.is(H.Report.Components.Table.IStiTableCell)&&!r.is(H.Report.Components.Table.StiTable))return null;if(e.is(H.Report.Components.StiBand)&&null!=r&&r.is(H.Report.Components.StiBand))return null;return r},Y.prototype.getContainerInRect=function(t,e){var r;null!=e.page&&e.is(H.Report.Components.StiBand)&&(r=e.page.unit.convertFromHInches(e.headerSize),t=t.offsetRect(new f(0,r,0,r)));var t=this.getContainerInRectPrivate(t,e);if(null==t)return this.page;if(t.checkForParentComponent(e))return this.page;return t},Y.prototype.getSizesTable=function(t){var e=new n,r=new f;return this.getNodeSize(e,t,{ref:r}),e},Y.prototype.getNodeSize=function(t,e,r){var n,i,o=r.ref,a=this.containerToPage(e.clientRectangle),s,a,s;null!=e.page&&e.is(H.Report.Components.StiBand)&&!e.isCross&&(s=e.page.unit.convertFromHInches(e.headerSize),a=a.offsetRect(new f(0,s,0,s)),s=this.page.unit.convertFromHInches(1),a.width+=s,null!=this.report&&this.report.info.showHeaders&&(a.height+=s));var l=e.stimulsoft.as(Y);if(null!=l)try{for(var u=__values(l.components.list),c=u.next();!c.done;c=u.next()){var p=c.value,h={ref:a};l.getNodeSize(t,p,h),a=h.ref}}catch(t){n={error:t}}finally{try{c&&!c.done&&(i=u.return)&&i.call(u)}finally{if(n)throw n.error}}a.x<o.x&&(o.width+=o.x-a.x,o.x=a.x),a.y<o.y&&(o.height+=o.y-a.y,o.y=a.y),a.x+a.width>o.x+o.width&&(o.width=a.x+a.width-o.x),a.y+a.height>o.y+o.height&&(o.height=a.y+a.height-o.y),t.set(e,a),r.ref=o},Y.prototype.getContainerInRect2Private=function(t,e,r){var n=null,i=r.get(this);if(!g.pointInRect(t.x,t.y,i))return null;if(this==e||this.checkForParentComponent(e))return null;for(var o=this.components,a=o.count-1,s,i,s;0<=a;a--){var l=o.getByIndex(a);if(l==e)continue;if((0==l.width||0==l.height)&&a<o.count-1&&o.getByIndex(a+1).left==l.left&&o.getByIndex(a+1).top==l.top)continue;var u=l.as(Y);if(null!=u){var l=r.get(l);if(!g.pointInRect(t.x,t.y,l))continue;var u=u.getContainerInRect2Private(t,e,r);if(null!=u){n=u;break}}}if(null==n&&null!=this.parent&&e.canContainIn(this)&&(i=this.parent.containerToPage(this.clientRectangle),null!=this.page&&this.is(H.Report.Components.StiBand)&&!this.isCross&&(s=this.page.unit.convertFromHInches(this.headerSize),i=i.offsetRect(new f(0,s,0,s)),s=this.page.unit.convertFromHInches(1),e.is(H.Report.Components.StiPrimitive)&&(i.width+=s),null!=d&&this.report.info.showHeaders&&(i.height+=s)),g.pointInRect(t.x,t.y,i)&&(n=this)),e.isCross)return n;if(e.is(H.Report.Components.Table.StiTable)&&null!=n&&n.is(H.Report.Components.Table.StiTable))return null;if(e.is(H.Report.Components.Table.StiTable)&&null!=n&&n.is(H.Report.Components.StiDataBand))return n;if(!e.is(H.Report.Components.Table.IStiTableCell)&&null!=n&&n.is(H.Report.Components.Table.StiTable))return null;if(e.is(H.Report.Components.Table.IStiTableCell)&&(null==n||!n.is(H.Report.Components.Table.StiTable)))return null;if(e.is(H.Report.Components.StiBand)&&null!=n&&null!=n&&n.is(H.Report.Components.StiBand))return null;return n},Y.prototype.getContainerInRect2=function(t,e,r){var n=e.is(Q.StiCrossDataBand)||e.is(Q.StiCrossHeaderBand)||e.is(Q.StiCrossFooterBand)||e.is(Q.StiCrossGroupHeaderBand)||e.is(Q.StiCrossGroupFooterBand),n;null!=e.page&&e.is(H.Report.Components.StiBand)&&!n&&(n=e.page.unit.convertFromHInches(e.headerSize),t=t.offsetRect(new f(0,n,0,n)));var r=this.getContainerInRect2Private(t,e,r);if(null==r)return this.page;if(r.checkForParentComponent(e))return this.page;return r},Y.prototype.getIncorrect2=function(t,e){var r,n;void 0===e&&(e=null);var i=new Q.StiComponentsCollection;null==e&&(e=this.getSizesTable(this));try{for(var o=__values(this.components.list),a=o.next();!a.done;a=o.next()){var s=a.value,l,u,c,u,c;!(s.linked||s.inherited)&&(!t||t&&s.isSelected)&&(u=this.containerToPage(s.clientRectangle),(c=this.page.getContainerInRect2(u,s,e))==s.parent||c.checkForParentComponent(s)?s.isCross&&!s.canContainIn(s.parent)&&i.add(s):(u=this.containerToPage(c.clientRectangle),c=this.containerToPage(s.clientRectangle),0==s.left&&u.left==c.left&&s.dockStyle!=H.Report.Components.StiDockStyle.None||i.add(s)));var s=s.as(Y);null!=s&&i.addRange(s.getIncorrect2(t,e))}}catch(t){r={error:t}}finally{try{a&&!a.done&&(n=o.return)&&n.call(o)}finally{if(r)throw r.error}}return i},Y.prototype.correct2=function(t){var e,r,n=this.getSizesTable(this),i=this.getIncorrect2(t,n);try{for(var o=__values(i.list),a=o.next();!a.done;a=o.next()){var s=a.value;if(null==s.parent)continue;s.clientRectangle=s.componentToPage(s.clientRectangle);var l=s.parent;s.parent.components.remove(s);var u=void 0,u;null==(u=this.getContainerInRect2(s.clientRectangle,s,n))&&(u=this.page),s.canContainIn(u)?(s.clientRectangle=u.pageToContainer(s.clientRectangle),u.components.add(s)):l.is(Q.StiPage)||(s.clientRectangle=s.pageToComponent(s.clientRectangle),l.components.add(s))}}catch(t){e={error:t}}finally{try{a&&!a.done&&(r=o.return)&&r.call(o)}finally{if(e)throw e.error}}this.dockToContainer(),this.sortByPriority()},Y.prototype.getIncorrect=function(t){var e,r;void 0===t&&(t=!1);var n=new Q.StiComponentsCollection;try{for(var i=__values(this.components.list),o=i.next();!o.done;o=i.next()){var a=o.value,s,l,u,c,u,c;a.linked||a.inherited||(l=this.containerToPage(new m(a.left,a.top)),u=this.containerToPage(a.clientRectangle),(c=this.page.getContainerInRect(u,a))==a.parent||c.checkForParentComponent(a)?a.isCross&&!a.canContainIn(a.parent)&&n.add(a):(u=this.containerToPage(c.clientRectangle),c=this.containerToPage(a.clientRectangle),0==a.left&&u.left==c.left&&a.dockStyle!=H.Report.Components.StiDockStyle.None||n.add(a)));var a=a.as(Y);null!=a&&n.addRange(a.getIncorrect(t))}}catch(t){e={error:t}}finally{try{o&&!o.done&&(r=i.return)&&r.call(i)}finally{if(e)throw e.error}}return n},Y.prototype.correct=function(t){var e,r;if(void 0===t&&(t=!1),StiOptions.Designer.useComponentPlacementOptimization)return this.correct2(t),void this.checkLargeHeight();var n=this.getIncorrect(t);try{for(var i=__values(n.list),o=i.next();!o.done;o=i.next()){var a=o.value;if(null==a.parent)continue;a.clientRectangle=a.componentToPage(a.clientRectangle);var s=a.parent;a.parent.components.remove(a);var l=void 0,l;null==(l=this.getContainerInRect(a.clientRectangle,a))&&(l=this.page),a.canContainIn(l)?(a.clientRectangle=l.pageToContainer(a.clientRectangle),l.components.add(a)):s.is(Q.StiPage)?d.StiLogService.write(this.stimulsoft.getType(),c.format(u.get("Errors","ContainerIsNotValidForComponent"),l.name,a.name)):(a.clientRectangle=a.pageToComponent(a.clientRectangle),s.components.add(a))}}catch(t){e={error:t}}finally{try{o&&!o.done&&(r=i.return)&&r.call(i)}finally{if(e)throw e.error}}this.dockToContainer(),this.sortByPriority(),this.checkLargeHeight()},Y.prototype.checkLargeHeight=function(t){var e,r,n,i,o,a,s,l;void 0===t&&(t=!1);var u=this.stimulsoft.as(Q.StiPage);if(null==u)return;if(u.largeHeight||!StiOptions.Designer.autoLargeHeight||!this.isDesigning)return;var c=0,p=u.height;if(t)try{for(var h=__values(u.components.list),m=h.next(),d;!m.done;m=h.next()){if((d=m.value).is(H.Report.Components.StiBand)&&!d.isCross)if(d.is(Q.StiPageFooterBand))p-=d.displayRectangle.height;else{var g=d.displayRectangle.height,f;if(null!=(f=null==d?void 0:d.as(Y)))try{for(var S=(n=void 0,__values(f.components.list)),y=S.next(),A;!y.done;y=S.next()){(A=y.value).displayRectangle.bottom>g&&(g=A.displayRectangle.bottom)}}catch(t){n={error:t}}finally{try{y&&!y.done&&(i=S.return)&&i.call(S)}finally{if(n)throw n.error}}c+=g}}}catch(t){e={error:t}}finally{try{m&&!m.done&&(r=h.return)&&r.call(h)}finally{if(e)throw e.error}}else try{for(var b=__values(u.components.list),C=b.next(),d;!C.done;C=b.next()){if((d=C.value).is(H.Report.Components.StiBand)&&!d.isCross)if(d.is(Q.StiPageFooterBand))p=Math.min(p,d.top);else{var f,c=Math.max(c,d.bottom);if(null!=(f=null==d?void 0:d.stimulsoft.as(Y))){var v=d.displayRectangle.top;try{for(var w=(s=void 0,__values(f.components.list)),B=w.next(),A;!B.done;B=w.next()){v+(A=B.value).displayRectangle.bottom>c&&(c=v+A.displayRectangle.bottom)}}catch(t){s={error:t}}finally{try{B&&!B.done&&(l=w.return)&&l.call(w)}finally{if(s)throw s.error}}}c=Math.max(c,d.bottom)}}}catch(t){o={error:t}}finally{try{C&&!C.done&&(a=b.return)&&a.call(b)}finally{if(o)throw o.error}}var I=.2,T=u.unit.convertFromHInches(30*3);while(u.pageHeight*I<T)I+=.2;var E=u.largeHeightAutoFactor;while(u.largeHeightAutoFactor<49&&p-c<u.pageHeight*I){var R=u.height;u.largeHeightAutoFactor+=I,p+=u.height-R}while(p-c>u.pageHeight*(2*I)&&1<u.largeHeightAutoFactor){var R=u.height;u.largeHeightAutoFactor-=I,p-=R-u.height}u.largeHeightAutoFactor},Y.prototype.resetSelection=function(){var e,t;this.reset();try{for(var r=__values(this.components.list),n=r.next();!n.done;n=r.next()){var i=n.value;i.reset();var i=i.as(Y);null!=i&&i.resetSelection()}}catch(t){e={error:t}}finally{try{n&&!n.done&&(t=r.return)&&t.call(r)}finally{if(e)throw e.error}}},Y.prototype.getSelectedComponents=function(){var e,t,r=new Q.StiComponentsCollection;try{for(var n=__values(this.components.list),i=n.next();!i.done;i=n.next()){var o=i.value;o.isSelected&&r.add(o);var a=o.as(Y),o;null!=a&&(o={ref:r},a.getSelectedComponents2(o),r=o.ref)}}catch(t){e={error:t}}finally{try{i&&!i.done&&(t=n.return)&&t.call(n)}finally{if(e)throw e.error}}return r},Y.prototype.getSelectedComponents2=function(t){var e,r,n=t.ref;try{for(var i=__values(this.components.list),o=i.next();!o.done;o=i.next()){var a=o.value;a.isSelected&&n.add(a);var s=a.as(Y),a;null!=s&&(a={ref:n},s.getComponents2(a),n=a.ref)}}catch(t){e={error:t}}finally{try{o&&!o.done&&(r=i.return)&&r.call(i)}finally{if(e)throw e.error}}t.ref=n},Y.prototype.getSelectedRectangle=function(){var e,t,r=f.empty;try{for(var n=__values(this.components.list),i=n.next();!i.done;i=n.next()){var o=i.value;o.isSelected&&(r=r.isEmpty?o.getDisplayRectangle2():r.fitToRectangle(o.getDisplayRectangle2()));var o=o.as(Y),o;null!=o&&((o=o.getSelectedRectangle()).isEmpty||(r=r.fitToRectangle(o)))}}catch(t){e={error:t}}finally{try{i&&!i.done&&(t=n.return)&&t.call(n)}finally{if(e)throw e.error}}return r},Y.prototype.makeHorizontalSpacingEqual=function(){var e,t,r=this.getSelectedComponents(),n=this.getSelectedRectangle(),i=0;try{for(var o=__values(r.list),a=o.next(),s;!a.done;a=o.next()){i+=a.value.width}}catch(t){e={error:t}}finally{try{a&&!a.done&&(t=o.return)&&t.call(o)}finally{if(e)throw e.error}}var l=(n.width-i)/Math.max(r.count-1,1);r.sortByLeftPosition();for(var u=r.getByIndex(0).right+l,c=1;c<r.count-1;c++)r.getByIndex(c).left=u,u=r.getByIndex(c).right+l},Y.prototype.makeVerticalSpacingEqual=function(){var e,t,r=this.getSelectedComponents(),n=this.getSelectedRectangle(),i=0;try{for(var o=__values(r.list),a=o.next(),s;!a.done;a=o.next()){i+=a.value.height}}catch(t){e={error:t}}finally{try{a&&!a.done&&(t=o.return)&&t.call(o)}finally{if(e)throw e.error}}var l=(n.height-i)/Math.max(r.count-1,1);r.sortByTopPosition();for(var u=r.getByIndex(0).bottom+l,c=1;c<r.count-1;c++)r.getByIndex(c).top=u,u=r.getByIndex(c).bottom+l},Y.prototype.makeSameSize=function(t){var e,r,n=this.getSelectedComponents();try{for(var i=__values(n.list),o=i.next();!o.done;o=i.next()){var a=o.value;a.width=t.width,a.height=t.height}}catch(t){e={error:t}}finally{try{o&&!o.done&&(r=i.return)&&r.call(i)}finally{if(e)throw e.error}}},Y.prototype.makeSameWidth=function(t){var e,r,n=this.getSelectedComponents();try{for(var i=__values(n.list),o=i.next(),a;!o.done;o=i.next()){o.value.width=t}}catch(t){e={error:t}}finally{try{o&&!o.done&&(r=i.return)&&r.call(i)}finally{if(e)throw e.error}}},Y.prototype.makeSameHeight=function(t){var e,r,n=this.getSelectedComponents();try{for(var i=__values(n.list),o=i.next(),a;!o.done;o=i.next()){o.value.height=t}}catch(t){e={error:t}}finally{try{o&&!o.done&&(r=i.return)&&r.call(i)}finally{if(e)throw e.error}}},Y.prototype.setCenterHorizontally=function(){var e,t;try{for(var r=__values(this.components.list),n=r.next();!n.done;n=r.next()){var i=n.value;i.isSelected&&(i.left=(i.parent.width-i.width)/2);var i=i.as(Y);null!=i&&i.setCenterHorizontally()}}catch(t){e={error:t}}finally{try{n&&!n.done&&(t=r.return)&&t.call(r)}finally{if(e)throw e.error}}},Y.prototype.setCenterVertically=function(){var e,t;try{for(var r=__values(this.components.list),n=r.next();!n.done;n=r.next()){var i=n.value;i.isSelected&&(i.top=(i.parent.height-i.height)/2);var i=i.as(Y);null!=i&&i.setCenterVertically()}}catch(t){e={error:t}}finally{try{n&&!n.done&&(t=r.return)&&t.call(r)}finally{if(e)throw e.error}}},Y.prototype.selectAll=function(){var e,t;try{for(var r=__values(this.components.list),n=r.next();!n.done;n=r.next()){var i=n.value;i.select();var i=i.as(Y);null!=i&&i.selectAll()}}catch(t){e={error:t}}finally{try{n&&!n.done&&(t=r.return)&&t.call(r)}finally{if(e)throw e.error}}},Y.prototype.containerToPage=function(t){if(t instanceof m)return this.containerToPagePoint(t);return this.containerToPageRectangle(t)},Y.prototype.containerToPageRectangle=function(t){var e=this;while(null!=e&&!e.is(Q.StiPage)){var r=e.clientRectangle;e.isSelected&&(r=Q.StiComponent.doOffsetRect(e,r,this.page.offsetRectangle)),t.x+=r.left,t.y+=r.top,e=e.parent}return t},Y.prototype.containerToPagePoint=function(t){var e=this;while(null!=e){var r=e.clientRectangle;e.isSelected&&(r=Q.StiComponent.doOffsetRect(e,r,this.page.offsetRectangle)),t.x=t.x+r.left,t.y=t.y+r.top,e=e.parent}return t},Y.prototype.pageToContainer=function(t){var e=this;if(t instanceof m){var r=t;while(null!=e){var n=e.clientRectangle;e.isSelected&&(n=Q.StiComponent.doOffsetRect(e,n,this.page.offsetRectangle)),r.x-=n.left,r.y-=n.top,e=e.parent}return r}if(t){var i=t;while(null!=e){var n=e.clientRectangle;e.isSelected&&(n=Q.StiComponent.doOffsetRect(e,n,this.page.offsetRectangle)),i.x-=n.left,i.y-=n.top,e=e.parent}return i}return null},Y.prototype.getComponents=function(){var e,t,r=new Q.StiComponentsCollection;if(this.is(Q.StiClone))return r;r.addRange(this.components);try{for(var n=__values(this.components.list),i=n.next();!i.done;i=n.next()){var o,a=i.value.as(Y),s;null!=a&&(s={ref:r},a.getComponents2(s),r=s.ref)}}catch(t){e={error:t}}finally{try{i&&!i.done&&(t=n.return)&&t.call(n)}finally{if(e)throw e.error}}return r},Y.prototype.getComponents2=function(t){var e,r;if(this.is(Q.StiClone))return;var n=t.ref;n.addRange(this.components);try{for(var i=__values(this.components.list),o=i.next();!o.done;o=i.next()){var a,s=o.value.as(Y),l;null!=s&&(l={ref:n},s.getComponents2(l),n=l.ref)}}catch(t){e={error:t}}finally{try{o&&!o.done&&(r=i.return)&&r.call(i)}finally{if(e)throw e.error}}t.ref=n},Y.prototype.getComponentsList=function(){var e,t,r=new Array;if(this.is(Q.StiClone))return r;try{for(var n=__values(this.components.list),i=n.next();!i.done;i=n.next()){var o=i.value;r.push(o);var o=o.as(Y);null!=o&&r.stimulsoft.addRange(o.getComponentsList())}}catch(t){e={error:t}}finally{try{i&&!i.done&&(t=n.return)&&t.call(n)}finally{if(e)throw e.error}}return r},Y.prototype.moveComponentsToPage=function(){var e,t,r,n,i=this.getComponentsList();try{for(var o=__values(i),a=o.next(),s;!a.done;a=o.next()){(s=a.value).parent!=s.page&&(s.setDirectDisplayRectangle(s.componentToPage(s.displayRectangle)),s.page.components.add(s))}}catch(t){e={error:t}}finally{try{a&&!a.done&&(t=o.return)&&t.call(o)}finally{if(e)throw e.error}}try{for(var l=__values(i),u=l.next();!u.done;u=l.next()){var s,c=(s=u.value).as(Y);null!=c&&0<c.components.count&&c.components.clear()}}catch(t){r={error:t}}finally{try{u&&!u.done&&(n=l.return)&&n.call(l)}finally{if(r)throw r.error}}},Y.prototype.construct=function(t){void 0===t&&(t=f.empty),A.prototype.construct.call(this,t),this._components=new Q.StiComponentsCollection(this)},Y.propertyCanBreak=Math.random().toString().substr(2),Y.propertyBlocked=Math.random().toString().substr(2),y=Y,Q.StiContainer=y}(Stimulsoft=Stimulsoft||{}),function(x){var t,e,r,F,n,i,o,a,s;function l(t){void 0===t&&(t=n.empty);var t=s.call(this,t)||this;return t._resetPageNumber=!1,t.defaultClientRectangle=new n(0,0,300,30),t._rectangleMoveComponent=null,t.canGrow=!0,t.dockStyle=F.StiDockStyle.Top,t}e=t=x.Report||(x.Report={}),F=r=e.Components||(e.Components={}),n=x.System.Drawing.Rectangle,i=x.System.Drawing.Size,o=x.Base.JsonReportObject.IStiJsonReportObject,a=x.Base.StiAlignValue,s=F.StiContainer,__extends(l,s),l.prototype.implements=function(){return l.ImplementsStiBand||(l.ImplementsStiBand=s.prototype.implements.call(this).concat([F.IStiResetPageNumber,o,F.IStiCanGrow,F.IStiConditions])),l.ImplementsStiBand},l.prototype.saveToJsonObject=function(t){var t=s.prototype.saveToJsonObject.call(this,t);return t.addPropertyBool("CanGrow",this.canGrow,!0),t.removeProperty("GrowToHeight"),t.removeProperty("ShiftMode"),t.removeProperty("Printable"),t.removeProperty("DockStyle"),t.removeProperty("MinSize"),t.removeProperty("MaxSize"),t.addPropertyBool("ResetPageNumber",this.resetPageNumber),t.addPropertyNumber("MinHeight",this.minHeight,0),t.addPropertyNumber("MaxHeight",this.maxHeight,0),t},l.prototype.loadFromJsonObject=function(t){var e,r;s.prototype.loadFromJsonObject.call(this,t);try{for(var n=__values(t.properties()),i=n.next();!i.done;i=n.next()){var o=i.value;switch(o.name){case"ResetPageNumber":this._resetPageNumber=o.value.stimulsoft.toBoolean();break;case"MinHeight":this.minHeight=o.value.stimulsoft.toNumber();break;case"MaxHeight":this.maxHeight=o.value.stimulsoft.toNumber();break}}}catch(t){e={error:t}}finally{try{i&&!i.done&&(r=n.return)&&r.call(n)}finally{if(e)throw e.error}}},l.prototype.loadFromXml=function(t,e){s.prototype.loadFromXml.call(this,t,e);for(var r=0;r<t.childNodes.length;r++){var n=t.childNodes[r];switch(n.nodeName){case"ResetPageNumber":this._resetPageNumber=n.textContent.stimulsoft.toBoolean();break;case"MinHeight":this.minHeight=n.textContent.stimulsoft.toNumber();break;case"MaxHeight":this.maxHeight=n.textContent.stimulsoft.toNumber();break}}},l.prototype.canContainIn=function(t){if(this.isCross&&t.is(l))return!0;if(this.is(x.Report.Components.Table.StiTable)&&t.is(l))return!0;if(t.is(l))return!1;var e;return s.prototype.canContainIn.call(this,t)},Object.defineProperty(l.prototype,"componentType",{get:function(){return this.getComponentType()},enumerable:!1,configurable:!0}),l.prototype.getComponentType=function(){return F.StiComponentType.Master},l.prototype.clone=function(t,e){var e=s.prototype.clone.call(this,t,e);return e._bandInfo=this.bandInfo.clone(),e},Object.defineProperty(l.prototype,"resetPageNumber",{get:function(){return this._resetPageNumber},set:function(t){this._resetPageNumber=t},enumerable:!1,configurable:!0}),Object.defineProperty(l.prototype,"bandInfo",{get:function(){return null==this._bandInfo&&(this._bandInfo=new F.StiBandInfo),this._bandInfo},enumerable:!1,configurable:!0}),l.prototype.getDockStyle=function(){return StiOptions.Engine.dockPageFooterToBottom&&this.is(F.StiPageFooterBand)?F.StiDockStyle.Bottom:F.StiDockStyle.Top},l.prototype.setDockStyle=function(t){},Object.defineProperty(l.prototype,"isAutomaticDock",{get:function(){return!0},enumerable:!1,configurable:!0}),Object.defineProperty(l.prototype,"printable",{get:function(){return!0},set:function(t){},enumerable:!1,configurable:!0}),Object.defineProperty(l.prototype,"minHeight",{get:function(){return this.getMinHeight()},set:function(t){this.setMinHeight(t)},enumerable:!1,configurable:!0}),l.prototype.getMinHeight=function(){return s.prototype.getMinSize.call(this).height},l.prototype.setMinHeight=function(t){s.prototype.getMinSize.call(this).height!=t&&s.prototype.setMinSize.call(this,new i(0,t))},Object.defineProperty(l.prototype,"maxHeight",{get:function(){return this.getMaxHeight()},set:function(t){this.setMaxHeight(t)},enumerable:!1,configurable:!0}),l.prototype.getMaxHeight=function(){return s.prototype.getMaxSize.call(this).height},l.prototype.setMaxHeight=function(t){s.prototype.getMaxSize.call(this).height!=t&&s.prototype.setMaxSize.call(this,new i(0,t))},l.prototype.getDisplayRectangle=function(){if(null!=this.report&&this.report.isRendering)return new n(this.left,this.top,this.width,this.height);var t=0,e=0;return null!=this.page&&null!=this.report&&this.report.info.showHeaders&&(t=this.page.unit.convertFromHInches(this.headerSize),e=this.page.unit.convertFromHInches(this.footerSize)),new n(this.left,this.top-t,this.width,this.height+t+e)},l.prototype.setDisplayRectangle=function(t){var e,r;null!=this.report&&this.report.isRendering?(this.left=t.left,this.top=t.top,this.width=t.width,this.height=t.height):(e=this.page.unit.convertFromHInches(this.headerSize),r=this.page.unit.convertFromHInches(this.footerSize),null==this.report||this.report.info.showHeaders||(r=e=0),this.left=t.left,this.top=t.top+e,this.width=t.width,this.height=t.height-e-r)},l.prototype.setDirectDisplayRectangle=function(t){this.displayRectangle=t},Object.defineProperty(l.prototype,"selectRectangle",{get:function(){var t=this.page.unit.convertFromHInches(this.headerSize);return this.dockStyle==F.StiDockStyle.Left||this.dockStyle==F.StiDockStyle.Right?new n(this.left-t,this.top,this.width+t,this.height):new n(this.left,this.top-t,this.width,this.height+t)},set:function(t){var e=this.page.unit.convertFromHInches(this.headerSize);this.dockStyle==F.StiDockStyle.Left||this.dockStyle==F.StiDockStyle.Right?(this.left=t.left+e,this.top=t.top,this.width=t.width-e,this.height=t.height):(this.left=t.left,this.top=t.top+e,this.width=t.width,this.height=t.height-e)},enumerable:!1,configurable:!0}),Object.defineProperty(l.prototype,"nestedLevel",{get:function(){var e,t,r,n,i,o,a,s,l,u,c=this.as(F.StiPageHeaderBand);if(null!=c){var p=1;try{for(var h=__values(this.page.components.list),m=h.next(),d;!m.done;m=h.next()){if((d=m.value)==c)return p;d.is(F.StiPageHeaderBand)&&p++}}catch(t){e={error:t}}finally{try{m&&!m.done&&(t=h.return)&&t.call(h)}finally{if(e)throw e.error}}return p}var g=this.as(F.StiPageFooterBand);if(null!=g){var p=1;try{for(var f=__values(this.page.components.list),S=f.next(),d;!S.done;S=f.next()){if((d=S.value)==g)return p;d.is(F.StiPageFooterBand)&&p++}}catch(t){r={error:t}}finally{try{S&&!S.done&&(n=f.return)&&n.call(f)}finally{if(r)throw r.error}}return p}var y=this.as(F.StiReportTitleBand);if(null!=y){var p=1;try{for(var A=__values(this.page.components.list),b=A.next(),d;!b.done;b=A.next()){if((d=b.value)==y)return p;d.is(F.StiReportTitleBand)&&p++}}catch(t){i={error:t}}finally{try{b&&!b.done&&(o=A.return)&&o.call(A)}finally{if(i)throw i.error}}return p}var C=this.as(F.StiReportSummaryBand);if(null!=C){for(var p=1,v=this.page.components.count-1,d;0<=v;v--){if((d=this.page.components.getByIndex(v))==C)return p;d.is(F.StiReportSummaryBand)&&p++}return p}var w=this.as(F.StiEmptyBand);if(null!=w){var p=1;try{for(var B=__values(this.page.components.list),I=B.next(),d;!I.done;I=B.next()){if((d=I.value)==w)return p;d.is(F.StiEmptyBand)&&p++}}catch(t){a={error:t}}finally{try{I&&!I.done&&(s=B.return)&&s.call(B)}finally{if(a)throw a.error}}return p}var T=this.as(F.StiOverlayBand);if(null!=T){var p=1;try{for(var E=__values(this.page.components.list),R=E.next(),d;!R.done;R=E.next()){if((d=R.value)==T)return p;d.is(F.StiOverlayBand)&&p++}}catch(t){l={error:t}}finally{try{R&&!R.done&&(u=E.return)&&u.call(E)}finally{if(l)throw l.error}}return p}var D=this.as(F.StiDataBand);if(null!=D){var P=D.masterComponent?D.masterComponent.as(F.StiDataBand):null,p=1;while(null!=P)P=P.masterComponent?P.masterComponent.as(F.StiDataBand):null,p++;return p}var D=this.as(F.StiHeaderBand),P;if(null!=D){if(null==(P=x.Report.Engine.StiHeaderBandBuilder.getMaster(D)))return 1;return P.nestedLevel}var D=this.as(F.StiFooterBand),P;if(null!=D){if(null==(P=x.Report.Engine.StiFooterBandBuilder.getMaster(D)))return 1;return P.nestedLevel}var D=this.as(F.StiGroupHeaderBand),P;if(null!=D){if(null==(P=x.Report.Engine.StiGroupHeaderBandBuilder.getMaster(D)))return 1;return P.nestedLevel}var D=this.as(F.StiGroupFooterBand),P;if(null!=D){if(null==(P=x.Report.Engine.StiGroupFooterBandBuilder.getMaster(D)))return 1;return P.nestedLevel}var D=this.as(F.StiChildBand);if(null!=D){var D=D.getMaster();return null==D?1:D.nestedLevel}return 0},enumerable:!1,configurable:!0}),Object.defineProperty(l.prototype,"rectangleMoveComponent",{get:function(){return this._rectangleMoveComponent},set:function(t){this._rectangleMoveComponent=t},enumerable:!1,configurable:!0}),Object.defineProperty(l.prototype,"headerStartColor",{get:function(){return null},enumerable:!1,configurable:!0}),Object.defineProperty(l.prototype,"headerEndColor",{get:function(){return null},enumerable:!1,configurable:!0}),l.prototype.getHeaderText=function(){return this.toString()},Object.defineProperty(l.prototype,"headerSize",{get:function(){return null!=this.report&&this.report.info.showHeaders?a.alignToMaxGrid(15,+this.page.unit.convertToHInches(this.page.gridSize),!0):0},enumerable:!1,configurable:!0}),Object.defineProperty(l.prototype,"footerSize",{get:function(){return null!=this.report&&this.report.info.showHeaders?a.alignToMaxGrid(15,this.page.unit.convertToHInches(this.page.gridSize),!0):0},enumerable:!1,configurable:!0}),e=l,F.StiBand=e}(Stimulsoft=Stimulsoft||{}),function(t){var e,r,n,i,o,a,s;function l(t){void 0===t&&(t=a.empty);var t=s.call(this,t)||this;return t._printAtBottom=!1,t._newPageBefore=!1,t._newPageAfter=!1,t._newColumnBefore=!1,t._newColumnAfter=!1,t._skipFirst=!0,t._breakIfLessThan=100,t}r=e=t.Report||(t.Report={}),i=n=r.Components||(r.Components={}),o=t.Base.JsonReportObject.IStiJsonReportObject,a=t.System.Drawing.Rectangle,s=i.StiBand,__extends(l,s),l.prototype.implements=function(){return this._implementsStiDynamicBand||(this._implementsStiDynamicBand=s.prototype.implements.call(this).concat([i.IStiPageBreak,i.IStiBreakable,i.IStiPrintAtBottom,o])),this._implementsStiDynamicBand},l.prototype.saveToJsonObject=function(t){var t=s.prototype.saveToJsonObject.call(this,t);return t.addPropertyBool("PrintAtBottom",this.printAtBottom),t.addPropertyBool("NewPageBefore",this.newPageBefore),t.addPropertyBool("NewPageAfter",this.newPageAfter),t.addPropertyBool("NewColumnBefore",this.newColumnBefore),t.addPropertyBool("NewColumnAfter",this.newColumnAfter),t.addPropertyBool("SkipFirst",this.skipFirst,!0),t.addPropertyNumber("BreakIfLessThan",this.breakIfLessThan,100),t},l.prototype.loadFromJsonObject=function(t){var e,r;s.prototype.loadFromJsonObject.call(this,t);try{for(var n=__values(t.properties()),i=n.next();!i.done;i=n.next()){var o=i.value;switch(o.name){case"PrintAtBottom":this._printAtBottom=o.value.stimulsoft.toBoolean();break;case"NewPageBefore":this._newPageBefore=o.value.stimulsoft.toBoolean();break;case"NewPageAfter":this._newPageAfter=o.value.stimulsoft.toBoolean();break;case"NewColumnBefore":this._newColumnBefore=o.value.stimulsoft.toBoolean();break;case"NewColumnAfter":this._newColumnAfter=o.value.stimulsoft.toBoolean();break;case"SkipFirst":this._skipFirst=o.value.stimulsoft.toBoolean();break;case"BreakIfLessThan":this._breakIfLessThan=o.value.stimulsoft.toNumber();break}}}catch(t){e={error:t}}finally{try{i&&!i.done&&(r=n.return)&&r.call(n)}finally{if(e)throw e.error}}},l.prototype.loadFromXml=function(t,e){s.prototype.loadFromXml.call(this,t,e);for(var r=0;r<t.childNodes.length;r++){var n=t.childNodes[r];switch(n.nodeName){case"PrintAtBottom":this._printAtBottom=n.textContent.stimulsoft.toBoolean();break;case"NewPageBefore":this._newPageBefore=n.textContent.stimulsoft.toBoolean();break;case"NewPageAfter":this._newPageAfter=n.textContent.stimulsoft.toBoolean();break;case"NewColumnBefore":this._newColumnBefore=n.textContent.stimulsoft.toBoolean();break;case"NewColumnAfter":this._newColumnAfter=n.textContent.stimulsoft.toBoolean();break;case"SkipFirst":this._skipFirst=n.textContent.stimulsoft.toBoolean();break;case"BreakIfLessThan":this._breakIfLessThan=n.textContent.stimulsoft.toNumber();break}}},Object.defineProperty(l.prototype,"printAtBottom",{get:function(){return this._printAtBottom},set:function(t){this._printAtBottom!=t&&(this._printAtBottom=t)},enumerable:!1,configurable:!0}),l.prototype.break=function(t,e,r){return!1},Object.defineProperty(l.prototype,"newPageBefore",{get:function(){return this._newPageBefore},set:function(t){this._newPageBefore=t},enumerable:!1,configurable:!0}),Object.defineProperty(l.prototype,"newPageAfter",{get:function(){return this._newPageAfter},set:function(t){this._newPageAfter=t},enumerable:!1,configurable:!0}),Object.defineProperty(l.prototype,"newColumnBefore",{get:function(){return this._newColumnBefore},set:function(t){this._newColumnBefore=t},enumerable:!1,configurable:!0}),Object.defineProperty(l.prototype,"newColumnAfter",{get:function(){return this._newColumnAfter},set:function(t){this._newColumnAfter=t},enumerable:!1,configurable:!0}),Object.defineProperty(l.prototype,"skipFirst",{get:function(){return this._skipFirst},set:function(t){this._skipFirst!=t&&(this._skipFirst=t)},enumerable:!1,configurable:!0}),Object.defineProperty(l.prototype,"breakIfLessThan",{get:function(){return this._breakIfLessThan},set:function(t){this._breakIfLessThan!=t&&0<=t&&t<=100&&(this._breakIfLessThan=t)},enumerable:!1,configurable:!0}),r=l,i.StiDynamicBand=r}(Stimulsoft=Stimulsoft||{}),function(t){var e,r,n,i,o,a,s,l,u;function c(t){void 0===t&&(t=l.empty);var t=u.call(this,t)||this;return t._keepChildTogether=!0,t._printIfParentDisabled=!1,t}r=e=t.Report||(t.Report={}),i=n=r.Components||(r.Components={}),o=t.Base.JsonReportObject.IStiJsonReportObject,a=t.System.Drawing.Color,s=t.Base.Drawing.StiColorUtils,l=t.System.Drawing.Rectangle,u=i.StiDynamicBand,__extends(c,u),c.prototype.implements=function(){return u.prototype.implements.call(this).concat([i.IStiKeepChildTogether,o])},c.prototype.saveToJsonObject=function(t){var t=u.prototype.saveToJsonObject.call(this,t);return t.addPropertyBool("KeepChildTogether",this.keepChildTogether,!0),t.addPropertyBool("PrintIfParentDisabled",this.printIfParentDisabled),t},c.prototype.loadFromJsonObject=function(t){var e,r;u.prototype.loadFromJsonObject.call(this,t);try{for(var n=__values(t.properties()),i=n.next();!i.done;i=n.next()){var o=i.value;switch(o.name){case"KeepChildTogether":this._keepChildTogether=o.value.stimulsoft.toBoolean();break;case"PrintIfParentDisabled":this._printIfParentDisabled=o.value.stimulsoft.toBoolean();break}}}catch(t){e={error:t}}finally{try{i&&!i.done&&(r=n.return)&&r.call(n)}finally{if(e)throw e.error}}},c.prototype.loadFromXml=function(t,e){u.prototype.loadFromXml.call(this,t,e);for(var r=0;r<t.childNodes.length;r++){var n=t.childNodes[r];switch(n.nodeName){case"KeepChildTogether":this._keepChildTogether=n.textContent.stimulsoft.toBoolean();break;case"PrintIfParentDisabled":this._printIfParentDisabled=n.textContent.stimulsoft.toBoolean();break}}},Object.defineProperty(c.prototype,"keepChildTogether",{get:function(){return this._keepChildTogether},set:function(t){this._keepChildTogether!=t&&(this._keepChildTogether=t)},enumerable:!1,configurable:!0}),Object.defineProperty(c.prototype,"headerStartColor",{get:function(){var t=this.getMaster();return null!=t?s.light(t.headerStartColor,50):a.white},enumerable:!1,configurable:!0}),Object.defineProperty(c.prototype,"headerEndColor",{get:function(){var t=this.getMaster();return null!=t?s.light(t.headerEndColor,50):a.white},enumerable:!1,configurable:!0}),c.prototype.getComponentType=function(){return i.StiComponentType.Detail},Object.defineProperty(c.prototype,"toolboxPosition",{get:function(){return i.StiComponentToolboxPosition.ChildBand},enumerable:!1,configurable:!0}),Object.defineProperty(c.prototype,"toolboxCategory",{get:function(){return i.StiToolboxCategory.Bands},enumerable:!1,configurable:!0}),Object.defineProperty(c.prototype,"priority",{get:function(){return i.StiComponentPriority.ChildBand},enumerable:!1,configurable:!0}),Object.defineProperty(c.prototype,"printIfParentDisabled",{get:function(){return this._printIfParentDisabled},set:function(t){this._printIfParentDisabled!=t&&(this._printIfParentDisabled=t)},enumerable:!1,configurable:!0}),c.prototype.createNew=function(){return new c},c.prototype.getMaster=function(){var t=this.parent.components.indexOf(this)-1;while(0<=t){if(this.parent.components.getByIndex(t).is(i.StiBand)&&!this.parent.components.getByIndex(t).is(c))return this.parent.components.getByIndex(t);t--}return null},r=c,i.StiChildBand=r}(Stimulsoft=Stimulsoft||{}),function(t){var e,r,n,a,i,s,o,l,u,c;function p(t){void 0===t&&(t=u.empty);var t=c.call(this,t)||this;return t._keepFooterTogether=!0,t._startNewPage=!1,t._printIfEmpty=!1,t._printOnEvenOddPages=a.StiPrintOnEvenOddPagesType.Ignore,t._printOnAllPages=!1,t}r=e=t.Report||(t.Report={}),a=n=r.Components||(r.Components={}),i=t.System.EventArgs,s=t.System.Enum,o=t.Base.JsonReportObject.IStiJsonReportObject,l=t.System.Drawing.Color,u=t.System.Drawing.Rectangle,c=a.StiDynamicBand,__extends(p,c),p.prototype.implements=function(){return c.prototype.implements.call(this).concat([a.IStiPrintOnAllPages,a.IStiPrintIfEmpty,a.IStiKeepFooterTogether,a.IStiPrintOnEvenOddPages,o])},p.prototype.saveToJsonObject=function(t){var t=c.prototype.saveToJsonObject.call(this,t);return t.addPropertyBool("CanBreak",this.canBreak),t.addPropertyBool("KeepFooterTogether",this.keepFooterTogether,!0),t.addPropertyBool("StartNewPage",this.startNewPage),t.addPropertyNumber("StartNewPageIfLessThan",this.startNewPageIfLessThan,100),t.addPropertyBool("PrintIfEmpty",this.printIfEmpty),t.addPropertyEnum("PrintOnEvenOddPages",a.StiPrintOnEvenOddPagesType,this.printOnEvenOddPages,a.StiPrintOnEvenOddPagesType.Ignore),t.addPropertyBool("PrintOnAllPages",this.printOnAllPages),t},p.prototype.loadFromJsonObject=function(t){var e,r;c.prototype.loadFromJsonObject.call(this,t);try{for(var n=__values(t.properties()),i=n.next();!i.done;i=n.next()){var o=i.value;switch(o.name){case"KeepFooterTogether":this._keepFooterTogether=o.value.stimulsoft.toBoolean();break;case"StartNewPage":this._startNewPage=o.value.stimulsoft.toBoolean();break;case"StartNewPageIfLessThan":this.startNewPageIfLessThan=o.value.stimulsoft.toNumber();break;case"PrintIfEmpty":this._printIfEmpty=o.value.stimulsoft.toBoolean();break;case"PrintOnEvenOddPages":this._printOnEvenOddPages=s.parse(a.StiPrintOnEvenOddPagesType,o.value);break;case"PrintOnAllPages":this._printOnAllPages=o.value.stimulsoft.toBoolean();break}}}catch(t){e={error:t}}finally{try{i&&!i.done&&(r=n.return)&&r.call(n)}finally{if(e)throw e.error}}},p.prototype.loadFromXml=function(t,e){c.prototype.loadFromXml.call(this,t,e);for(var r=0;r<t.childNodes.length;r++){var n=t.childNodes[r];switch(n.nodeName){case"KeepFooterTogether":this._keepFooterTogether=n.textContent.stimulsoft.toBoolean();break;case"StartNewPage":this._startNewPage=n.textContent.stimulsoft.toBoolean();break;case"StartNewPageIfLessThan":this.startNewPageIfLessThan=n.textContent.stimulsoft.toNumber();break;case"PrintIfEmpty":this._printIfEmpty=n.textContent.stimulsoft.toBoolean();break;case"PrintOnEvenOddPages":this._printOnEvenOddPages=s.parse(a.StiPrintOnEvenOddPagesType,n.textContent);break;case"PrintOnAllPages":this._printOnAllPages=n.textContent.stimulsoft.toBoolean();break}}},Object.defineProperty(p.prototype,"keepFooterTogether",{get:function(){return this._keepFooterTogether},set:function(t){this._keepFooterTogether!=t&&(this._keepFooterTogether=t)},enumerable:!1,configurable:!0}),p.prototype.clone=function(t,e){var e=c.prototype.clone.call(this,t,e);return e._footerBandInfo=this.footerBandInfo.clone(),e},Object.defineProperty(p.prototype,"startNewPage",{get:function(){return this._startNewPage},set:function(t){this._startNewPage=t},enumerable:!1,configurable:!0}),Object.defineProperty(p.prototype,"startNewPageIfLessThan",{get:function(){return this.breakIfLessThan},set:function(t){this.breakIfLessThan=t},enumerable:!1,configurable:!0}),Object.defineProperty(p.prototype,"printIfEmpty",{get:function(){return this._printIfEmpty},set:function(t){this._printIfEmpty!=t&&(this._printIfEmpty=t)},enumerable:!1,configurable:!0}),Object.defineProperty(p.prototype,"printOnEvenOddPages",{get:function(){return this._printOnEvenOddPages},set:function(t){this._printOnEvenOddPages=t},enumerable:!1,configurable:!0}),Object.defineProperty(p.prototype,"printOnAllPages",{get:function(){return this._printOnAllPages},set:function(t){this._printOnAllPages=t},enumerable:!1,configurable:!0}),Object.defineProperty(p.prototype,"footerBandInfo",{get:function(){return null==this._footerBandInfo&&(this._footerBandInfo=new a.StiFooterBandInfo),this._footerBandInfo},enumerable:!1,configurable:!0}),Object.defineProperty(p.prototype,"headerStartColor",{get:function(){return l.fromArgb(178,197,223)},enumerable:!1,configurable:!0}),Object.defineProperty(p.prototype,"headerEndColor",{get:function(){return l.fromArgb(178,197,223)},enumerable:!1,configurable:!0}),Object.defineProperty(p.prototype,"toolboxPosition",{get:function(){return a.StiComponentToolboxPosition.FooterBand},enumerable:!1,configurable:!0}),Object.defineProperty(p.prototype,"toolboxCategory",{get:function(){return a.StiToolboxCategory.Bands},enumerable:!1,configurable:!0}),Object.defineProperty(p.prototype,"priority",{get:function(){return a.StiComponentPriority.ColumnFooterBand},enumerable:!1,configurable:!0}),p.prototype.getComponentType=function(){return a.StiComponentType.Detail},p.prototype.onMoveFooterToBottom=function(t){},p.prototype.invokeMoveFooterToBottom=function(){this.onMoveFooterToBottom(i.empty)},p.prototype.createNew=function(){return new p},p.eventMoveFooterToBottom={},r=p,a.StiFooterBand=r}(Stimulsoft=Stimulsoft||{}),function(t){var e,r,n,i,o,a,s,l;function u(t){return void 0===t&&(t=s.empty),l.call(this,t)||this}r=e=t.Report||(t.Report={}),i=n=r.Components||(r.Components={}),o=t.Base.JsonReportObject.IStiJsonReportObject,a=t.System.Drawing.Color,s=t.System.Drawing.Rectangle,l=i.StiFooterBand,__extends(u,l),u.prototype.implements=function(){return l.prototype.implements.call(this).concat([o])},u.prototype.saveToJsonObject=function(t){var t=l.prototype.saveToJsonObject.call(this,t);return t.addPropertyBool("KeepFooterTogether",this.keepFooterTogether,!0),t.addPropertyBool("StartNewPage",this.startNewPage),t.addPropertyNumber("StartNewPageIfLessThan",this.startNewPageIfLessThan,100),t.addPropertyBool("PrintIfEmpty",this.printIfEmpty),t.addPropertyEnum("PrintOnEvenOddPages",i.StiPrintOnEvenOddPagesType,this.printOnEvenOddPages,i.StiPrintOnEvenOddPagesType.Ignore),t.addPropertyBool("PrintOnAllPages",this.printOnAllPages),t},u.prototype.loadFromJsonObject=function(t){l.prototype.loadFromJsonObject.call(this,t)},Object.defineProperty(u.prototype,"headerStartColor",{get:function(){return a.fromArgb(239,109,73)},enumerable:!1,configurable:!0}),Object.defineProperty(u.prototype,"headerEndColor",{get:function(){return a.fromArgb(239,109,73)},enumerable:!1,configurable:!0}),Object.defineProperty(u.prototype,"toolboxPosition",{get:function(){return i.StiComponentToolboxPosition.ColumnFooterBand},enumerable:!1,configurable:!0}),Object.defineProperty(u.prototype,"toolboxCategory",{get:function(){return i.StiToolboxCategory.Bands},enumerable:!1,configurable:!0}),Object.defineProperty(u.prototype,"priority",{get:function(){return i.StiComponentPriority.ColumnFooterBand},enumerable:!1,configurable:!0}),r=u,i.StiColumnFooterBand=r}(Stimulsoft=Stimulsoft||{}),function(t){var e,r,n,a,s,i,o,l,u;function c(t){void 0===t&&(t=l.empty);var t=u.call(this,t)||this;return t._keepHeaderTogether=!0,t._startNewPage=!1,t._printIfEmpty=!1,t._printOnAllPages=!0,t._printOnEvenOddPages=a.StiPrintOnEvenOddPagesType.Ignore,t}r=e=t.Report||(t.Report={}),a=n=r.Components||(r.Components={}),s=t.System.Enum,i=t.Base.JsonReportObject.IStiJsonReportObject,o=t.System.Drawing.Color,l=t.System.Drawing.Rectangle,u=a.StiDynamicBand,__extends(c,u),c.prototype.implements=function(){return u.prototype.implements.call(this).concat([a.IStiPrintIfEmpty,a.IStiPrintOnAllPages,a.IStiPrintOnEvenOddPages,a.IStiKeepHeaderTogether,i])},c.prototype.saveToJsonObject=function(t){var t=u.prototype.saveToJsonObject.call(this,t);return t.addPropertyBool("CanBreak",this.canBreak),t.addPropertyBool("KeepHeaderTogether",this.keepHeaderTogether,!0),t.addPropertyBool("StartNewPage",this.startNewPage),t.addPropertyNumber("StartNewPageIfLessThan",this.startNewPageIfLessThan,100),t.addPropertyBool("PrintIfEmpty",this.printIfEmpty),t.addPropertyBool("PrintOnAllPages",this.printOnAllPages,!0),t.addPropertyEnum("PrintOnEvenOddPages",a.StiPrintOnEvenOddPagesType,this.printOnEvenOddPages,a.StiPrintOnEvenOddPagesType.Ignore),t},c.prototype.loadFromJsonObject=function(t){var e,r;u.prototype.loadFromJsonObject.call(this,t);try{for(var n=__values(t.properties()),i=n.next();!i.done;i=n.next()){var o=i.value;switch(o.name){case"KeepHeaderTogether":this._keepHeaderTogether=o.value.stimulsoft.toBoolean();break;case"StartNewPage":this._startNewPage=o.value.stimulsoft.toBoolean();break;case"StartNewPageIfLessThan":this.startNewPageIfLessThan=o.value.stimulsoft.toNumber();break;case"PrintIfEmpty":this._printIfEmpty=o.value.stimulsoft.toBoolean();break;case"PrintOnAllPages":this._printOnAllPages=o.value.stimulsoft.toBoolean();break;case"PrintOnEvenOddPages":this._printOnEvenOddPages=s.parse(a.StiPrintOnEvenOddPagesType,o.value);break}}}catch(t){e={error:t}}finally{try{i&&!i.done&&(r=n.return)&&r.call(n)}finally{if(e)throw e.error}}},c.prototype.loadFromXml=function(t,e){u.prototype.loadFromXml.call(this,t,e);for(var r=0;r<t.childNodes.length;r++){var n=t.childNodes[r];switch(n.nodeName){case"KeepHeaderTogether":this._keepHeaderTogether=n.textContent.stimulsoft.toBoolean();break;case"StartNewPage":this._startNewPage=n.textContent.stimulsoft.toBoolean();break;case"StartNewPageIfLessThan":this.startNewPageIfLessThan=n.textContent.stimulsoft.toNumber();break;case"PrintIfEmpty":this._printIfEmpty=n.textContent.stimulsoft.toBoolean();break;case"PrintOnAllPages":this._printOnAllPages=n.textContent.stimulsoft.toBoolean();break;case"PrintOnEvenOddPages":this._printOnEvenOddPages=s.parse(a.StiPrintOnEvenOddPagesType,n.textContent);break}}},c.prototype.clone=function(t,e){var e=u.prototype.clone.call(this,t,e);return e._headerBandInfo=this.headerBandInfo.clone(),e},Object.defineProperty(c.prototype,"keepHeaderTogether",{get:function(){return this._keepHeaderTogether},set:function(t){this._keepHeaderTogether!=t&&(this._keepHeaderTogether=t)},enumerable:!1,configurable:!0}),Object.defineProperty(c.prototype,"startNewPage",{get:function(){return this._startNewPage},set:function(t){this._startNewPage=t},enumerable:!1,configurable:!0}),Object.defineProperty(c.prototype,"startNewPageIfLessThan",{get:function(){return this.breakIfLessThan},set:function(t){this.breakIfLessThan=t},enumerable:!1,configurable:!0}),Object.defineProperty(c.prototype,"printIfEmpty",{get:function(){return this._printIfEmpty},set:function(t){this._printIfEmpty=t},enumerable:!1,configurable:!0}),Object.defineProperty(c.prototype,"printOnAllPages",{get:function(){return this._printOnAllPages},set:function(t){this._printOnAllPages=t},enumerable:!1,configurable:!0}),Object.defineProperty(c.prototype,"printOnEvenOddPages",{get:function(){return this._printOnEvenOddPages},set:function(t){this._printOnEvenOddPages=t},enumerable:!1,configurable:!0}),Object.defineProperty(c.prototype,"headerBandInfo",{get:function(){return null==this._headerBandInfo&&(this._headerBandInfo=new a.StiHeaderBandInfo),this._headerBandInfo},enumerable:!1,configurable:!0}),Object.defineProperty(c.prototype,"headerStartColor",{get:function(){return o.fromArgb(178,197,223)},enumerable:!1,configurable:!0}),Object.defineProperty(c.prototype,"headerEndColor",{get:function(){return o.fromArgb(178,197,223)},enumerable:!1,configurable:!0}),Object.defineProperty(c.prototype,"toolboxPosition",{get:function(){return a.StiComponentToolboxPosition.HeaderBand},enumerable:!1,configurable:!0}),Object.defineProperty(c.prototype,"toolboxCategory",{get:function(){return a.StiToolboxCategory.Bands},enumerable:!1,configurable:!0}),Object.defineProperty(c.prototype,"priority",{get:function(){return a.StiComponentPriority.HeaderBand},enumerable:!1,configurable:!0}),c.prototype.getComponentType=function(){return a.StiComponentType.Detail},c.prototype.createNew=function(){return new c},r=c,a.StiHeaderBand=r}(Stimulsoft=Stimulsoft||{}),function(t){var e,r,n,i,o,a,s;function l(t){return void 0===t&&(t=a.empty),s.call(this,t)||this}r=e=t.Report||(t.Report={}),i=n=r.Components||(r.Components={}),o=t.System.Drawing.Color,a=t.System.Drawing.Rectangle,s=i.StiHeaderBand,__extends(l,s),Object.defineProperty(l.prototype,"headerStartColor",{get:function(){return o.fromArgb(239,109,73)},enumerable:!1,configurable:!0}),Object.defineProperty(l.prototype,"headerEndColor",{get:function(){return o.fromArgb(239,109,73)},enumerable:!1,configurable:!0}),Object.defineProperty(l.prototype,"toolboxPosition",{get:function(){return i.StiComponentToolboxPosition.ColumnHeaderBand},enumerable:!1,configurable:!0}),Object.defineProperty(l.prototype,"toolboxCategory",{get:function(){return i.StiToolboxCategory.Bands},enumerable:!1,configurable:!0}),l.prototype.createNew=function(){return new l},r=l,i.StiColumnHeaderBand=r}(Stimulsoft=Stimulsoft||{}),function(t){var e,s,r,l,n,i,o,a,u,c,p;function h(t,e){var r=p.call(this)||this;return r.directionFactor=1,r.dictionary=t,r.parentBusinessObject=e,r}s=e=t.Report||(t.Report={}),l=r=s.Dictionary||(s.Dictionary={}),n=t.System.Collections.CollectionBase,i=t.System.ICloneable,o=t.System.Collections.IComparer,a=t.System.Collections.Hashtable,u=t.Base.JsonReportObject.IStiJsonReportObject,c=t.Base.StiJson,__extends(h,p=n),h.prototype.implements=function(){return[i,u,o]},h.prototype.saveToJsonObject=function(t){var e,r;if(0==this.list.length)return null;var n=new c,i=0;try{for(var o=__values(this.list),a=o.next();!a.done;a=o.next()){var s=a.value;n.addPropertyJObject(i.toString(),s.saveToJsonObject(t)),i++}}catch(t){e={error:t}}finally{try{a&&!a.done&&(r=o.return)&&r.call(o)}finally{if(e)throw e.error}}return n},h.prototype.loadFromJsonObject=function(t){var e,r;try{for(var n=__values(t.properties()),i=n.next();!i.done;i=n.next()){var o=i.value,a=new l.StiBusinessObject;a.dictionary=this.dictionary,a.loadFromJsonObject(o.value),this.list.push(a)}}catch(t){e={error:t}}finally{try{i&&!i.done&&(r=n.return)&&r.call(n)}finally{if(e)throw e.error}}},h.prototype.loadFromXml=function(t){for(var e=0;e<t.childNodes.length;e++){var r=t.childNodes[e],n,i;if(null==r.attributes)continue;null!=r.attributes.getNamedItem("type")&&((i=new l.StiBusinessObject).dictionary=this.dictionary,i.loadFromXml(r),this.list.push(i))}},h.prototype.compare=function(t,e){var r,n;return t.name.stimulsoft.compareTo(e.name)*this.directionFactor},h.prototype.onSet=function(t,e,r){var r=r;null!=this.dictionary&&(r.dictionary=this.dictionary),null!=this.parentBusinessObject&&(r.parentBusinessObject=this.parentBusinessObject)},h.prototype.onInsert=function(t,e){var e=e;null!=this.dictionary&&(e.dictionary=this.dictionary),null!=this.parentBusinessObject&&(e.parentBusinessObject=this.parentBusinessObject)},h.prototype.remove=function(t){this.list.stimulsoft.remove(t);var t=t.name.toLowerCase();null!=this.cachedBusinessObjects.get(t)&&this.cachedBusinessObjects.remove(t)},Object.defineProperty(h.prototype,"cachedBusinessObjects",{get:function(){return null==this._cachedBusinessObjects&&(this._cachedBusinessObjects=new a),this._cachedBusinessObjects},enumerable:!1,configurable:!0}),h.prototype.getByName=function(t){var e,r;t=t.toLowerCase();var n=this.cachedBusinessObjects.get(t);if(null!=n)return n;try{for(var i=__values(this.list),o=i.next();!o.done;o=i.next()){var a=o.value;if(a.name.toLowerCase()==t)return this.cachedBusinessObjects.set(t,a),a;if(s.StiNameValidator.correctName(a.name.toLowerCase())==s.StiNameValidator.correctName(t))return this.cachedBusinessObjects.set(t,a),a}}catch(t){e={error:t}}finally{try{o&&!o.done&&(r=i.return)&&r.call(i)}finally{if(e)throw e.error}}return null},h.prototype.setByName=function(t,e){t=t.toLowerCase();for(var r=0,n;r<this.list.length;r++){if(this.getByIndex(r).name.toLowerCase()==t)return void(this.list[r]=e)}this.add(e)},h.prototype.clone=function(){var e,t,r=new h(this.dictionary,this.parentBusinessObject);try{for(var n=__values(this.list),i=n.next();!i.done;i=n.next()){var o=i.value;r.add(o.clone())}}catch(t){e={error:t}}finally{try{i&&!i.done&&(t=n.return)&&t.call(n)}finally{if(e)throw e.error}}return r},h.prototype.sort=function(t,e){var r,n;if(void 0===t&&(t=l.StiSortOrder.Asc),void 0===e&&(e=!0),t==l.StiSortOrder.Asc?this.directionFactor=1:this.directionFactor=-1,this.list.sort(),e)try{for(var i=__values(this.list),o=i.next();!o.done;o=i.next()){var a=o.value;a.columns.sort(t);var a=a.businessObjects;null!=a&&0<a.length&&a.sort(t)}}catch(t){r={error:t}}finally{try{o&&!o.done&&(n=i.return)&&n.call(i)}finally{if(r)throw r.error}}},h.prototype.connect=function(){var e,t;try{for(var r=__values(this.list),n=r.next(),i;!n.done;n=r.next()){n.value.connect()}}catch(t){e={error:t}}finally{try{n&&!n.done&&(t=r.return)&&t.call(r)}finally{if(e)throw e.error}}},h.prototype.disconnect=function(){var e,t;try{for(var r=__values(this.list),n=r.next(),i;!n.done;n=r.next()){n.value.disconnect()}}catch(t){e={error:t}}finally{try{n&&!n.done&&(t=r.return)&&t.call(r)}finally{if(e)throw e.error}}},n=h,l.StiBusinessObjectsCollection=n}(Stimulsoft=Stimulsoft||{}),function(t){var e,g,r,u,l,n,f,t;function c(){}g=e=t.Report||(t.Report={}),u=r=g.Dictionary||(g.Dictionary={}),l=t.System.StiObject,n=t.System.Type,f=t.Report.Dictionary.StiBusinessObjectsCollection,c.getElementType=function(t){return null},c.getElement=function(t){if(null==t)return null;var t=t.stimulsoft.getType();return this.getElementType(t)},c.getAlias=function(t){return null},c.isAllowUseProperty=function(t){return!0},c.getType=function(t){return t},c.getDataColumn=function(t,e,r){return null==e&&(e=t),new u.StiDataColumn(t,e,e,this.getType(r))},c.getDataColumn2=function(t){return new u.StiDataColumn(t.columnName,t.caption,t.caption,t.dataType)},c.getColumnsFromObject=function(t){var e=new u.StiDataColumnsCollection;if(null==t)return e;var e=this.getElement(t);return null==e&&(e=t),e.stimulsoft.is(n),this.getColumnsFromClass(e)},c.getColumnsFromClass=function(t){var e,r,n=new u.StiDataColumnsCollection;if(StiOptions.BusinessObjects.allowUseProperties){var i=l.keys(t);try{for(var o=__values(i),a=o.next();!a.done;a=o.next()){var s=a.value,s=this.getDataColumn(s,this.getAlias(s),Object);n.add(s)}}catch(t){e={error:t}}finally{try{a&&!a.done&&(r=o.return)&&r.call(o)}finally{if(e)throw e.error}}}return StiOptions.BusinessObjects.allowUseFields,n},c.getColumnsFromData=function(t,e){var r,n;void 0===e&&(e=!1);var i=this.getColumnsFromObject(t);if(e)return i;var o=new u.StiDataColumnsCollection;try{for(var a=__values(i.list),s=a.next();!s.done;s=a.next()){var l=s.value;if(!this.isDataColumn(l.type))continue;o.add(l)}}catch(t){r={error:t}}finally{try{s&&!s.done&&(n=a.return)&&n.call(a)}finally{if(r)throw r.error}}return o},c.isDataColumn=function(t){return!1},c.getBusinessObjectFromGuid=function(t,e){var r,n,i=c.getBusinessObjectsFromReport(t);if(null==i)return null;try{for(var o=__values(i),a=o.next();!a.done;a=o.next()){var s=a.value;if(s.guid==e)return s}}catch(t){r={error:t}}finally{try{a&&!a.done&&(n=o.return)&&n.call(o)}finally{if(r)throw r.error}}return null},c.getBusinessObjectsFromReport=function(t){var e,r,n,i,o;if(t.stimulsoft.is(f)){var a=t,s=null;try{for(var l=__values(a.list),u=l.next();!u.done;u=l.next()){var c=u.value,p=this.getBusinessObjectsFromReport(c.businessObjects);if(null!=p){null==s&&(s=new Array);try{for(var h=(n=void 0,__values(p)),m=h.next();!m.done;m=h.next()){var d=m.value;s.push(d)}}catch(t){n={error:t}}finally{try{m&&!m.done&&(i=h.return)&&i.call(h)}finally{if(n)throw n.error}}}null==s&&(s=new Array),s.push(c)}}catch(t){e={error:t}}finally{try{u&&!u.done&&(r=l.return)&&r.call(l)}finally{if(e)throw e.error}}return s}if(t.stimulsoft.is(g.StiReport))return this.getBusinessObjectsFromReport(t.dictionary.businessObjects);return null},t=c,u.StiBusinessObjectHelper=t}(Stimulsoft=Stimulsoft||{}),function(t){var e,r,n,t,i;function o(){return null!==i&&i.apply(this,arguments)||this}r=e=t.Report||(t.Report={}),t=n=r.Events||(r.Events={}),i=t.StiEvent,__extends(o,i),o.prototype.toString=function(){return"GetCollapsed"},r=o,t.StiGetCollapsedEvent=r}(Stimulsoft=Stimulsoft||{}),function(t){var e,r,n,t,i;function o(){return null!==i&&i.apply(this,arguments)||this}r=e=t.Report||(t.Report={}),t=n=r.Events||(r.Events={}),i=t.StiEvent,__extends(o,i),o.prototype.toString=function(){return"EndRender"},r=o,t.StiEndRenderEvent=r}(Stimulsoft=Stimulsoft||{}),function(t){var e,r,n,t,i;function o(){return null!==i&&i.apply(this,arguments)||this}r=e=t.Report||(t.Report={}),t=n=r.Events||(r.Events={}),i=t.StiEvent,__extends(o,i),o.prototype.toString=function(){return"Rendering"},r=o,t.StiRenderingEvent=r}(Stimulsoft=Stimulsoft||{}),function(t){var e,r,n,t,i;function o(){return null!==i&&i.apply(this,arguments)||this}r=e=t.Report||(t.Report={}),t=n=r.Events||(r.Events={}),i=t.StiEvent,__extends(o,i),o.prototype.toString=function(){return"BeginRender"},r=o,t.StiBeginRenderEvent=r}(Stimulsoft=Stimulsoft||{}),function(r){var t,n,e,l,a,i,o,s,u,c,p,h,m,d,g,f,S,y,A,b,C,v;function w(t){void 0===t&&(t=d.empty);var t=v.call(this,t)||this;return t._masterComponent=null,t._keepDetails=l.StiKeepDetails.None,t._sort=[],t._printOnAllPages=!1,t._printIfDetailEmpty=!1,t._dataSourceName="",t._businessObjectGuid="",t.isEofValue=!1,t.isBofValue=!1,t._dataRelationName="",t._filterMode=l.StiFilterMode.And,t._filterEngine=l.StiFilterEngine.ReportEngine,t._filters=new l.StiFiltersCollection,t._filterOn=!0,t._collapsed="",t._rightToLeft=!1,t._columnGaps=0,t._columnWidth=0,t._columns=0,t._minRowsInColumn=0,t._columnDirection=l.StiColumnDirection.AcrossThenDown,t._lineThrough=1,t._line=1,t._selectedLine=1,t._resetDataSource=!1,t._calcInvisible=!1,t._countData=0,t._limitRows="",t.printIfDetailEmpty=StiOptions.Engine.printIfDetailEmptyDefaultValue,t}n=t=r.Report||(r.Report={}),l=e=n.Components||(n.Components={}),a=r.System.StiString,i=r.System.EventArgs,o=r.System.EventHandler,s=r.Report.Events.StiValueEventHandler,u=r.Report.Events.StiGetCollapsedEvent,c=r.Report.Events.StiEndRenderEvent,p=r.Report.Events.StiRenderingEvent,h=r.Report.Events.StiBeginRenderEvent,m=r.Base.StiJsonSaveMode,d=r.System.Drawing.Rectangle,g=r.Base.StiJsonReportObjectHelper,f=r.System.Enum,S=r.Base.JsonReportObject.IStiJsonReportObject,y=r.System.Drawing.Color,A=r.Base.Localization.StiLocalization,b=r.Report.Expressions.StiExpression,v=l.StiDynamicBand,__extends(w,v),w.prototype.implements=function(){return w.ImplementsStiDataBand||(w.ImplementsStiDataBand=v.prototype.implements.call(this).concat([l.IStiDataSource,r.Report.Dictionary.IStiEnumerator,l.IStiMasterComponent,l.IStiDataRelation,l.IStiOddEvenStyles,l.IStiSort,l.IStiFilter,l.IStiPrintOnAllPages,l.IStiPrintIfDetailEmpty,l.IStiKeepDetailsTogether,l.IStiResetPageNumber,l.IStiRenderMaster,l.IStiBusinessObject,S])),w.ImplementsStiDataBand},w.prototype.saveToJsonObject=function(t){var e=v.prototype.saveToJsonObject.call(this,t);return e.addPropertyEnum("KeepDetails",l.StiKeepDetails,this.keepDetails,l.StiKeepDetails.None),e.addPropertyBool("PrintOnAllPages",this.printOnAllPages),e.addPropertyBool("PrintIfDetailEmpty",this.printIfDetailEmpty),e.addPropertyStringNullOrEmpty("DataSourceName",this.dataSourceName),e.addPropertyStringNullOrEmpty("BusinessObjectGuid",this.businessObjectGuid),e.addPropertyStringNullOrEmpty("DataRelationName",this.dataRelationName),e.addPropertyEnum("FilterMode",l.StiFilterMode,this.filterMode,l.StiFilterMode.And),e.addPropertyEnum("FilterEngine",l.StiFilterEngine,this.filterEngine,l.StiFilterEngine.ReportEngine),e.addPropertyBool("FilterOn",this.filterOn,!0),e.addPropertyStringNullOrEmpty("EvenStyle",this.evenStyle),e.addPropertyStringNullOrEmpty("OddStyle",this.oddStyle),e.addPropertyJObject("BeginRenderEvent",this.beginRenderEvent.saveToJsonObject(t)),e.addPropertyJObject("RenderingEvent",this.renderingEvent.saveToJsonObject(t)),e.addPropertyJObject("EndRenderEvent",this.endRenderEvent.saveToJsonObject(t)),e.addPropertyJObject("GetCollapsedEvent",this.getCollapsedEvent.saveToJsonObject(t)),e.addPropertyBool("RightToLeft",this.rightToLeft),e.addPropertyNumber("ColumnGaps",this.columnGaps,0),e.addPropertyNumber("ColumnWidth",this.columnWidth,0),e.addPropertyNumber("Columns",this.columns),e.addPropertyNumber("MinRowsInColumn",this.minRowsInColumn),e.addPropertyEnum("ColumnDirection",l.StiColumnDirection,this.columnDirection,l.StiColumnDirection.AcrossThenDown),e.addPropertyBool("ResetDataSource",this.resetDataSource),e.addPropertyBool("CalcInvisible",this.calcInvisible),e.addPropertyNumber("CountData",this.countData),e.addPropertyStringNullOrEmpty("LimitRows",this.limitRows),e.addPropertyBool("KeepDetailsTogether",this.keepDetailsTogether),null!=this.masterComponent&&e.addPropertyStringNullOrEmpty("MasterComponent",this.masterComponent.name),t==m.Report&&(e.addPropertyJObject("Sort",g.Serialize.stringArray(this.sort)),e.addPropertyJObject("Filters",this.filters.saveToJsonObject(t)),e.addPropertyJObject("Collapsed",new b(this.collapsed).saveToJsonObject(t))),e},w.prototype.loadFromJsonObject=function(t){var e,r;v.prototype.loadFromJsonObject.call(this,t);try{for(var n=__values(t.properties()),i=n.next();!i.done;i=n.next()){var o=i.value,a,a,a,a;switch(o.name){case"StartNewPage":break;case"StartNewPageIfLessThan":break;case"KeepGroupTogether":break;case"KeepHeaderTogether":break;case"KeepFooterTogether":break;case"KeepChildTogether":break;case"KeepDetails":this._keepDetails=f.parse(l.StiKeepDetails,o.value);break;case"Sort":this._sort=g.Deserialize.stringArray(o.value);break;case"PrintOnAllPages":this._printOnAllPages=o.value.stimulsoft.toBoolean();break;case"PrintIfDetailEmpty":this._printIfDetailEmpty=o.value.stimulsoft.toBoolean();break;case"DataSourceName":this._dataSourceName=o.value;break;case"BusinessObjectGuid":this._businessObjectGuid=o.value;break;case"DataRelationName":this._dataRelationName=o.value;break;case"FilterMode":this._filterMode=f.parse(l.StiFilterMode,o.value);break;case"FilterEngine":this._filterEngine=f.parse(l.StiFilterEngine,o.value);break;case"Filters":null==this._filters&&(this._filters=new l.StiFiltersCollection),this._filters.loadFromJsonObject(o.value);break;case"FilterOn":this._filterOn=o.value.stimulsoft.toBoolean();break;case"EvenStyle":this.evenStyle=o.value;break;case"OddStyle":this.oddStyle=o.value;break;case"BeginRenderEvent":(a=new h).loadFromJsonObject(o.value),this.beginRenderEvent=a;break;case"RenderingEvent":(a=new p).loadFromJsonObject(o.value),this.renderingEvent=a;break;case"EndRenderEvent":(a=new c).loadFromJsonObject(o.value),this.endRenderEvent=a;break;case"GetCollapsedEvent":(a=new u).loadFromJsonObject(o.value),this.getCollapsedEvent=a;break;case"Collapsed":var s=new b;s.loadFromJsonObject(o.value),this.collapsed=s.value;break;case"RightToLeft":this._rightToLeft=o.value.stimulsoft.toBoolean();break;case"ColumnGaps":this._columnGaps=o.value.stimulsoft.toNumber();break;case"ColumnWidth":this._columnWidth=o.value.stimulsoft.toNumber();break;case"Columns":this._columns=o.value.stimulsoft.toNumber();break;case"MinRowsInColumn":this._minRowsInColumn=o.value.stimulsoft.toNumber();break;case"ColumnDirection":this._columnDirection=f.parse(l.StiColumnDirection,o.value);break;case"ResetDataSource":this._resetDataSource=o.value.stimulsoft.toBoolean();break;case"CalcInvisible":this._calcInvisible=o.value.stimulsoft.toBoolean();break;case"CountData":this._countData=o.value.stimulsoft.toNumber();break;case"LimitRows":this._limitRows=o.value;break;case"MasterComponent":this.jsonMasterComponentTemp=o.value,this.report.jsonLoaderHelper&&this.report.jsonLoaderHelper.masterComponents.push(this);break}}}catch(t){e={error:t}}finally{try{i&&!i.done&&(r=n.return)&&r.call(n)}finally{if(e)throw e.error}}},w.prototype.loadFromXml=function(t,e){v.prototype.loadFromXml.call(this,t,e);var e=t.getAttribute("Ref");!a.isNullOrEmpty(e)&&this.report.jsonLoaderHelper&&(this.report.jsonLoaderHelper.refNames[e.stimulsoft.toNumber()]=t.nodeName);for(var r=0;r<t.childNodes.length;r++){var n=t.childNodes[r],i,i,i,i;switch(n.nodeName){case"StartNewPage":break;case"StartNewPageIfLessThan":break;case"KeepGroupTogether":break;case"KeepHeaderTogether":break;case"KeepFooterTogether":break;case"KeepChildTogether":break;case"KeepDetails":this._keepDetails=f.parse(l.StiKeepDetails,n.textContent);break;case"Sort":this._sort=w.loadXmlSort(n);break;case"PrintOnAllPages":this._printOnAllPages=n.textContent.stimulsoft.toBoolean();break;case"PrintIfDetailEmpty":this._printIfDetailEmpty=n.textContent.stimulsoft.toBoolean();break;case"DataSourceName":this._dataSourceName=n.textContent;break;case"BusinessObjectGuid":this._businessObjectGuid=n.textContent;break;case"DataRelationName":this._dataRelationName=n.textContent;break;case"FilterMode":this._filterMode=f.parse(l.StiFilterMode,n.textContent);break;case"FilterEngine":this._filterEngine=f.parse(l.StiFilterEngine,n.textContent);break;case"Filters":null==this._filters&&(this._filters=new l.StiFiltersCollection),this._filters.loadFromXml(n);break;case"FilterOn":this._filterOn=n.textContent.stimulsoft.toBoolean();break;case"EvenStyle":this.evenStyle=n.textContent;break;case"OddStyle":this.oddStyle=n.textContent;break;case"BeginRenderEvent":(i=new h).script=n.textContent,this.beginRenderEvent=i;break;case"RenderingEvent":(i=new p).script=n.textContent,this.renderingEvent=i;break;case"EndRenderEvent":(i=new c).script=n.textContent,this.endRenderEvent=i;break;case"GetCollapsedEvent":(i=new u).script=n.textContent,this.getCollapsedEvent=i;break;case"Collapsed":var o=new b;o.loadFromXml(n),this.collapsed=o.value;break;case"RightToLeft":this._rightToLeft=n.textContent.stimulsoft.toBoolean();break;case"ColumnGaps":this._columnGaps=n.textContent.stimulsoft.toNumber();break;case"ColumnWidth":this._columnWidth=n.textContent.stimulsoft.toNumber();break;case"Columns":this._columns=n.textContent.stimulsoft.toNumber();break;case"MinRowsInColumn":this._minRowsInColumn=n.textContent.stimulsoft.toNumber();break;case"ColumnDirection":this._columnDirection=f.parse(l.StiColumnDirection,n.textContent);break;case"ResetDataSource":this._resetDataSource=n.textContent.stimulsoft.toBoolean();break;case"CalcInvisible":this._calcInvisible=n.textContent.stimulsoft.toBoolean();break;case"CountData":this._countData=n.textContent.stimulsoft.toNumber();break;case"LimitRows":this._limitRows=n.textContent;break;case"MasterComponent":this.jsonMasterComponentTemp=n.getAttribute("isRef"),this.report.jsonLoaderHelper&&this.report.jsonLoaderHelper.masterComponents.push(this);break}}},w.loadXmlSort=function(t){for(var e=[],r=0,n=0;n<t.childNodes.length;n++){var i=t.childNodes[n];"value"==i.nodeName&&(e[r]=i.textContent,r++)}return e},w.prototype.saveState=function(t){null!=this.report&&(this.states.pushInt(t,this,"positionValue",this.positionValue),this.states.pushBool(t,this,"isEofValue",this.isEofValue),this.states.pushBool(t,this,"isBofValue",this.isBofValue),null!=this.dataSource&&this.dataSource.saveState(t),a.isNullOrEmpty(this.businessObjectGuid)||this.businessObject.saveState(t))},w.prototype.restoreState=function(t){null!=this.report&&(this.isBofValue=this.states.popBool(t,this,"isBofValue"),this.isEofValue=this.states.popBool(t,this,"isEofValue"),this.positionValue=this.states.popInt(t,this,"positionValue"),null!=this.dataSource&&this.dataSource.restoreState(t),a.isNullOrEmpty(this.businessObjectGuid)||this.businessObject.restoreState(t),r.Report.Engine.StiDataBandBuilder.prepareGroupResults(this))},Object.defineProperty(w.prototype,"masterComponent",{get:function(){return this._masterComponent},set:function(t){this._masterComponent=t},enumerable:!1,configurable:!0}),w.prototype.convert=function(t,e,r){void 0===r&&(r=!1),v.prototype.convert.call(this,t,e,r),this._columnGaps=e.convertFromHInches(t.convertToHInches(this.columnGaps)),this._columnWidth=e.convertFromHInches(t.convertToHInches(this.columnWidth))},Object.defineProperty(w.prototype,"keepDetailsTogether",{get:function(){return this._keepDetails==l.StiKeepDetails.KeepDetailsTogether},set:function(t){var t=t?l.StiKeepDetails.KeepDetailsTogether:l.StiKeepDetails.None;this._keepDetails!=t&&(this._keepDetails=t)},enumerable:!1,configurable:!0}),Object.defineProperty(w.prototype,"keepDetails",{get:function(){return this._keepDetails},set:function(t){this._keepDetails!=t&&(this._keepDetails=t)},enumerable:!1,configurable:!0}),Object.defineProperty(w.prototype,"sort",{get:function(){return this._sort},set:function(t){this._sort=t},enumerable:!1,configurable:!0}),w.prototype.clone=function(t,e){var e=v.prototype.clone.call(this,t,e);return e._dataBandInfo=this.dataBandInfo.clone(),(e._masterComponent=null)!=this._sort?e._sort=this._sort.stimulsoft.clone():e._sort=null,null!=this._filters?e._filters=this._filters.clone():e._filters=null,e},Object.defineProperty(w.prototype,"printOnAllPages",{get:function(){return this._printOnAllPages},set:function(t){this._printOnAllPages=t},enumerable:!1,configurable:!0}),Object.defineProperty(w.prototype,"printIfDetailEmpty",{get:function(){return this._printIfDetailEmpty},set:function(t){this._printIfDetailEmpty=t},enumerable:!1,configurable:!0}),Object.defineProperty(w.prototype,"isDataSourceEmpty",{get:function(){return a.isNullOrEmpty(this.dataSourceName)||null==this.dataSource},enumerable:!1,configurable:!0}),Object.defineProperty(w.prototype,"dataSource",{get:function(){if(null==this.page||null==this.report||null==this.report.dataSources||null==this.dataSourceName||0==this.dataSourceName.length)return null;return this.report.dataSources.getByName(this.dataSourceName)},enumerable:!1,configurable:!0}),Object.defineProperty(w.prototype,"dataSourceName",{get:function(){return this._dataSourceName},set:function(t){this._dataSourceName!=t&&(this._dataSourceName=t,a.isNullOrEmpty(t)||(this._businessObjectGuid=null),a.isNullOrEmpty(t)||(this._countData=0))},enumerable:!1,configurable:!0}),Object.defineProperty(w.prototype,"isBusinessObjectEmpty",{get:function(){return a.isNullOrEmpty(this.businessObjectGuid)||null==this.businessObject},enumerable:!1,configurable:!0}),Object.defineProperty(w.prototype,"businessObject",{get:function(){if(null==this.page||null==this.report||null==this.businessObjectGuid||0==this.businessObjectGuid.length)return null;return null},enumerable:!1,configurable:!0}),Object.defineProperty(w.prototype,"businessObjectGuid",{get:function(){return this._businessObjectGuid},set:function(t){this._businessObjectGuid!=t&&(this._businessObjectGuid=t,a.isNullOrEmpty(t)||(this.dataSourceName=null))},enumerable:!1,configurable:!0}),w.prototype.first=function(){this.isBusinessObjectEmpty?this.isDataSourceEmpty?(this.isEofValue=!1,this.isBofValue=!0,this.positionValue=0):this.dataSource.first():this.businessObject.first(),r.Report.Engine.StiDataBandBuilder.setDetails(this)},w.prototype.prior=function(){this.isBusinessObjectEmpty?this.isDataSourceEmpty?(this.isBofValue=!1,this.isEofValue=!1,this.positionValue<=0?this.isBofValue=!0:this.positionValue--):this.dataSource.prior():this.businessObject.prior(),r.Report.Engine.StiDataBandBuilder.setDetails(this)},w.prototype.next=function(){this.isBusinessObjectEmpty?this.isDataSourceEmpty?(this.isBofValue=!1,this.isEofValue=!1,this.positionValue>=this._countData-1?this.isEofValue=!0:this.positionValue++):this.dataSource.next():this.businessObject.next(),r.Report.Engine.StiDataBandBuilder.setDetails(this)},w.prototype.last=function(){this.isBusinessObjectEmpty?this.isDataSourceEmpty?(this.isEofValue=!0,this.isBofValue=!1,this.positionValue=this._countData-1):this.dataSource.last():this.businessObject.last(),r.Report.Engine.StiDataBandBuilder.setDetails(this)},Object.defineProperty(w.prototype,"isEof",{get:function(){return this.isBusinessObjectEmpty?this.isDataSourceEmpty?this.isEofValue:this.dataSource.isEof:this.businessObject.isEof},set:function(t){this.isBusinessObjectEmpty?this.isDataSourceEmpty?this.isEofValue=t:this.dataSource.isEof=t:this.businessObject.isEof=t},enumerable:!1,configurable:!0}),Object.defineProperty(w.prototype,"isBof",{get:function(){return this.isBusinessObjectEmpty?this.isDataSourceEmpty?this.isBofValue:this.dataSource.isBof:this.businessObject.isBof},set:function(t){this.isBusinessObjectEmpty?this.isDataSourceEmpty?this.isBofValue=t:this.dataSource.isBof=t:this.businessObject.isBof=t},enumerable:!1,configurable:!0}),Object.defineProperty(w.prototype,"isEmpty",{get:function(){return this.isBusinessObjectEmpty?this.isDataSourceEmpty?0==this.countData:this.dataSource.isEmpty:this.businessObject.isEmpty},enumerable:!1,configurable:!0}),Object.defineProperty(w.prototype,"position",{get:function(){if(!this.isBusinessObjectEmpty)return this.businessObject.position;if(!this.isDataSourceEmpty)return this.dataSource.position;return this.positionValue},set:function(t){this.isBusinessObjectEmpty?this.isDataSourceEmpty?this.positionValue=t:this.dataSource.position=t:this.businessObject.position=t},enumerable:!1,configurable:!0}),Object.defineProperty(w.prototype,"count",{get:function(){return this.isBusinessObjectEmpty?this.isDataSourceEmpty?this._countData:this.dataSource.count:this.businessObject.count},enumerable:!1,configurable:!0}),Object.defineProperty(w.prototype,"dataRelation",{get:function(){if(null==this.page||null==this.report||null==this.report.dictionary||null==this.report.dictionary.relations||null==this.dataRelationName||0==this.dataRelationName.length)return null;return this.report.dictionary.relations.getByName(this.dataRelationName)},enumerable:!1,configurable:!0}),Object.defineProperty(w.prototype,"dataRelationName",{get:function(){return this._dataRelationName},set:function(t){this._dataRelationName=t},enumerable:!1,configurable:!0}),Object.defineProperty(w.prototype,"filterMode",{get:function(){return this._filterMode},set:function(t){this._filterMode=t},enumerable:!1,configurable:!0}),Object.defineProperty(w.prototype,"filterEngine",{get:function(){return this._filterEngine},set:function(t){this._filterEngine=t},enumerable:!1,configurable:!0}),Object.defineProperty(w.prototype,"filterMethodHandler",{get:function(){return this._filterMethodHandler},set:function(t){this._filterMethodHandler=t},enumerable:!1,configurable:!0}),Object.defineProperty(w.prototype,"filters",{get:function(){return this._filters},set:function(t){this._filters=t},enumerable:!1,configurable:!0}),Object.defineProperty(w.prototype,"filter",{get:function(){return 0==this.filters.count&&this.filters.add(new r.Report.Components.StiFilter),this.filters.getByIndex(0).item=l.StiFilterItem.Expression,this.filters.getByIndex(0).expression},set:function(t){0==this.filters.count&&this.filters.add(new r.Report.Components.StiFilter),this.filters.getByIndex(0).item=l.StiFilterItem.Expression,this.filters.getByIndex(0).expression=t},enumerable:!1,configurable:!0}),Object.defineProperty(w.prototype,"filterOn",{get:function(){return this._filterOn},set:function(t){this._filterOn=t},enumerable:!1,configurable:!0}),Object.defineProperty(w.prototype,"evenStyle",{get:function(){return this.properties.get(w.propertyEvenStyle,"")},set:function(t){this.properties.set(w.propertyEvenStyle,t,"")},enumerable:!1,configurable:!0}),Object.defineProperty(w.prototype,"oddStyle",{get:function(){return this.properties.get(w.propertyOddStyle,"")},set:function(t){this.properties.set(w.propertyOddStyle,t,"")},enumerable:!1,configurable:!0}),Object.defineProperty(w.prototype,"headerStartColor",{get:function(){return y.fromArgb(239,155,52)},enumerable:!1,configurable:!0}),Object.defineProperty(w.prototype,"headerEndColor",{get:function(){return y.fromArgb(239,155,52)},enumerable:!1,configurable:!0}),w.prototype.getHeaderText=function(){var t=this.businessObject,e;if(null!=t)return this.toString()+"; "+A.get("PropertyMain","BusinessObject")+": "+t.getFullName();var t=this.toString()+"; "+A.get("PropertyMain","DataSource")+": ";if(null==this.dataSource){if(0<this.countData)return t+this.countData.toString();return t+A.get("Report","NotAssigned")}return t+this.dataSource.toString()},w.prototype.doBookmark=function(){null!=this.report&&v.prototype.doBookmark.call(this)},w.prototype.invokeGroupRendering=function(){var e,t;if(null!=this.report)try{for(var r=__values(this.dataBandInfo.groupHeaders.list),n=r.next(),i;!n.done;n=r.next()){n.value.invokeRendering()}}catch(t){e={error:t}}finally{try{n&&!n.done&&(t=r.return)&&t.call(r)}finally{if(e)throw e.error}}},Object.defineProperty(w.prototype,"dataBandInfo",{get:function(){return null==this._dataBandInfo&&(this._dataBandInfo=new l.StiDataBandInfo),this._dataBandInfo},enumerable:!1,configurable:!0}),w.prototype.renderAsync=function(){return __awaiter(this,void 0,void 0,function(){return __generator(this,function(t){return[2,null]})})},w.prototype.render=function(){return null},w.prototype.renderMasterAsync=function(){return __awaiter(this,void 0,void 0,function(){var e;return __generator(this,function(t){switch(t.label){case 0:return[4,(e=r.Report.Engine.StiBuilder.getBuilder(this.stimulsoft.getType())).renderMasterAsync(this)];case 1:return t.sent(),[2]}})})},w.prototype.renderMaster=function(){var t;r.Report.Engine.StiBuilder.getBuilder(this.stimulsoft.getType()).renderMaster(this)},Object.defineProperty(w.prototype,"toolboxPosition",{get:function(){return l.StiComponentToolboxPosition.DataBand},enumerable:!1,configurable:!0}),Object.defineProperty(w.prototype,"toolboxCategory",{get:function(){return l.StiToolboxCategory.Bands},enumerable:!1,configurable:!0}),Object.defineProperty(w.prototype,"priority",{get:function(){return l.StiComponentPriority.DataBand},enumerable:!1,configurable:!0}),w.prototype.getComponentType=function(){if(null==this._masterComponent)return l.StiComponentType.Master;if(null!=this._masterComponent){if(this.page.skip&&this._masterComponent.page!=this.page)return l.StiComponentType.Master;if(this.parent!=this._masterComponent.parent)return l.StiComponentType.Master}return l.StiComponentType.Detail},w.prototype.onBeginRender=function(){},w.prototype.invokeBeginRender=function(){this.onBeginRender();var t=this.events.get(w.eventBeginRender);null!=t&&t(this,i.empty)},Object.defineProperty(w.prototype,"beginRenderEvent",{get:function(){return new h(this)},set:function(t){null!=t&&t.set(this,t.script),this.events.set(w.eventBeginRender,o.create(t.script,this.report))},enumerable:!1,configurable:!0}),w.prototype.onRendering=function(){},w.prototype.invokeRendering=function(){if(null!=this.report)try{this.onRendering();var t=this.events.get(w.eventRendering);null!=t&&t(this)}catch(t){}},Object.defineProperty(w.prototype,"renderingEvent",{get:function(){return new p(this)},set:function(t){null!=t&&t.set(this,t.script),this.events.set(w.eventRendering,o.create(t.script,this.report))},enumerable:!1,configurable:!0}),w.prototype.onEndRender=function(){},w.prototype.invokeEndRender=function(){this.onEndRender();var t=this.events.get(w.eventEndRender);null!=t&&t(this)},Object.defineProperty(w.prototype,"endRenderEvent",{get:function(){return new c(this)},set:function(t){null!=t&&t.set(this,t.script),this.events.set(w.eventEndRender,o.create(t.script,this.report))},enumerable:!1,configurable:!0}),w.prototype.onGetCollapsed=function(t){},w.prototype.invokeGetCollapsed=function(t){try{this.onGetCollapsed(t),null!=this.report&&this.report.calculationMode==n.StiCalculationMode.Interpretation&&0<this.collapsed.length&&(t.value=r.Report.Engine.StiParser.StiParser.parseTextValue(this.collapsed,this));var e=this.events.get(w.eventGetCollapsed);null!=e&&e(this,t)}catch(t){n.StiLogService.write(this.stimulsoft.getType(),"DoGetCollapsed...ERROR"),n.StiLogService.write(this.stimulsoft.getType(),t)}},Object.defineProperty(w.prototype,"getCollapsedEvent",{get:function(){return new u(this)},set:function(t){null!=t&&t.set(this,t.script),this.events.set(w.eventGetCollapsed,s.create(t.script,this.report))},enumerable:!1,configurable:!0}),Object.defineProperty(w.prototype,"collapsed",{get:function(){return this._collapsed},set:function(t){null!=t&&(this._collapsed=t)},enumerable:!1,configurable:!0}),Object.defineProperty(w.prototype,"rightToLeft",{get:function(){return this.getRightToLeft()},set:function(t){this.setRightToLeft(t)},enumerable:!1,configurable:!0}),w.prototype.getRightToLeft=function(){return this._rightToLeft},w.prototype.setRightToLeft=function(t){this._rightToLeft!=t&&(this._rightToLeft=t)},w.prototype.getColumnWidth=function(){var t=this.columnWidth;if(0==t){if(0==this.columns)return this.width;t=this.width/this.columns-this.columnGaps}return t},Object.defineProperty(w.prototype,"columnGaps",{get:function(){return this._columnGaps},set:function(t){this._columnGaps!=t&&(this._columnGaps=t)},enumerable:!1,configurable:!0}),Object.defineProperty(w.prototype,"columnWidth",{get:function(){return this._columnWidth},set:function(t){this._columnWidth!=t&&(this._columnWidth=t)},enumerable:!1,configurable:!0}),Object.defineProperty(w.prototype,"columns",{get:function(){return this._columns},set:function(t){this._columns!=t&&(this._columns=t)},enumerable:!1,configurable:!0}),Object.defineProperty(w.prototype,"minRowsInColumn",{get:function(){return this._minRowsInColumn},set:function(t){this._minRowsInColumn!=t&&(this._minRowsInColumn=t)},enumerable:!1,configurable:!0}),Object.defineProperty(w.prototype,"columnDirection",{get:function(){return this._columnDirection},set:function(t){this._columnDirection!=t&&(this._columnDirection=t)},enumerable:!1,configurable:!0}),Object.defineProperty(w.prototype,"lineThrough",{get:function(){return this._lineThrough},set:function(t){this._lineThrough=t},enumerable:!1,configurable:!0}),Object.defineProperty(w.prototype,"line",{get:function(){return this._line},set:function(t){this._line=t},enumerable:!1,configurable:!0}),Object.defineProperty(w.prototype,"selectedLine",{get:function(){return this._selectedLine},set:function(t){this._selectedLine=t},enumerable:!1,configurable:!0}),Object.defineProperty(w.prototype,"resetDataSource",{get:function(){return this._resetDataSource},set:function(t){this._resetDataSource=t},enumerable:!1,configurable:!0}),Object.defineProperty(w.prototype,"calcInvisible",{get:function(){return this._calcInvisible},set:function(t){this._calcInvisible=t},enumerable:!1,configurable:!0}),Object.defineProperty(w.prototype,"countData",{get:function(){return this._countData},set:function(t){this._countData!=t&&0<(this._countData=t)&&(this.dataSourceName="")},enumerable:!1,configurable:!0}),Object.defineProperty(w.prototype,"limitRows",{get:function(){return this._limitRows},set:function(t){this._limitRows=t},enumerable:!1,configurable:!0}),w.prototype.createNew=function(){return new w},w.propertyEvenStyle=Math.random().toString().substr(2),w.propertyOddStyle=Math.random().toString().substr(2),w.eventBeginRender={},w.eventRendering={},w.eventEndRender={},w.eventGetCollapsed={},C=w,l.StiDataBand=C}(Stimulsoft=Stimulsoft||{}),function(t){var e,r,n,s,i,o,l,u,c,p,a,h,m,d;function g(t){void 0===t&&(t=m.empty);var t=d.call(this,t)||this;return t._sizeMode=s.StiEmptySizeMode.AlignFooterToTop,t}r=e=t.Report||(t.Report={}),s=n=r.Components||(r.Components={}),i=t.System.EventHandler,o=t.System.EventArgs,l=t.Report.Events.StiEndRenderEvent,u=t.Report.Events.StiRenderingEvent,c=t.Report.Events.StiBeginRenderEvent,p=t.System.Enum,a=t.Base.JsonReportObject.IStiJsonReportObject,h=t.System.Drawing.Color,m=t.System.Drawing.Rectangle,d=s.StiBand,__extends(g,d),g.prototype.implements=function(){return d.prototype.implements.call(this).concat([s.IStiOddEvenStyles,a])},g.prototype.saveToJsonObject=function(t){var e=d.prototype.saveToJsonObject.call(this,t);return e.addPropertyStringNullOrEmpty("EvenStyle",this.evenStyle),e.addPropertyStringNullOrEmpty("OddStyle",this.oddStyle),e.addPropertyJObject("BeginRenderEvent",this.beginRenderEvent.saveToJsonObject(t)),e.addPropertyJObject("RenderingEvent",this.renderingEvent.saveToJsonObject(t)),e.addPropertyJObject("EndRenderEvent",this.endRenderEvent.saveToJsonObject(t)),e.addPropertyEnum("SizeMode",s.StiEmptySizeMode,this.sizeMode,s.StiEmptySizeMode.AlignFooterToTop),e},g.prototype.loadFromJsonObject=function(t){var e,r;d.prototype.loadFromJsonObject.call(this,t);try{for(var n=__values(t.properties()),i=n.next();!i.done;i=n.next()){var o=i.value,a,a,a;switch(o.name){case"EvenStyle":this.evenStyle=o.value;break;case"OddStyle":this.oddStyle=o.value;break;case"BeginRenderEvent":(a=new c).loadFromJsonObject(o.value),this.beginRenderEvent=a;break;case"RenderingEvent":(a=new u).loadFromJsonObject(o.value),this.renderingEvent=a;break;case"EndRenderEvent":(a=new l).loadFromJsonObject(o.value),this.endRenderEvent=a;break;case"SizeMode":this._sizeMode=p.parse(s.StiEmptySizeMode,o.value);break}}}catch(t){e={error:t}}finally{try{i&&!i.done&&(r=n.return)&&r.call(n)}finally{if(e)throw e.error}}},g.prototype.loadFromXml=function(t,e){d.prototype.loadFromXml.call(this,t,e);for(var r=0;r<t.childNodes.length;r++){var n=t.childNodes[r];switch(n.nodeName){case"EvenStyle":this.evenStyle=n.textContent;break;case"OddStyle":this.oddStyle=n.textContent;break;case"BeginRenderEvent":break;case"RenderingEvent":break;case"EndRenderEvent":break;case"SizeMode":this._sizeMode=p.parse(s.StiEmptySizeMode,n.textContent);break}}},g.prototype.getHeaderText=function(){return this.toString()},Object.defineProperty(g.prototype,"headerStartColor",{get:function(){return h.fromArgb(186,235,137)},enumerable:!1,configurable:!0}),Object.defineProperty(g.prototype,"headerEndColor",{get:function(){return h.fromArgb(186,235,137)},enumerable:!1,configurable:!0}),Object.defineProperty(g.prototype,"toolboxPosition",{get:function(){return s.StiComponentToolboxPosition.EmptyBand},enumerable:!1,configurable:!0}),Object.defineProperty(g.prototype,"toolboxCategory",{get:function(){return s.StiToolboxCategory.Bands},enumerable:!1,configurable:!0}),Object.defineProperty(g.prototype,"priority",{get:function(){return s.StiComponentPriority.EmptyBand},enumerable:!1,configurable:!0}),Object.defineProperty(g.prototype,"evenStyle",{get:function(){return this.properties.get(s.StiDataBand.propertyEvenStyle,"")},set:function(t){this.properties.set(s.StiDataBand.propertyEvenStyle,t,"")},enumerable:!1,configurable:!0}),Object.defineProperty(g.prototype,"oddStyle",{get:function(){return this.properties.get(s.StiDataBand.propertyOddStyle,"")},set:function(t){this.properties.set(s.StiDataBand.propertyOddStyle,t,"")},enumerable:!1,configurable:!0}),g.prototype.onBeginRender=function(t){},g.prototype.invokeBeginRender=function(){this.onBeginRender(o.empty);var t=this.events.get(g.eventBeginRender);null!=t&&t(this,o.empty)},Object.defineProperty(g.prototype,"beginRenderEvent",{get:function(){return new c(this)},set:function(t){null!=t&&t.set(this,t.script),this.events.set(g.eventBeginRender,i.create(t.script,this.report))},enumerable:!1,configurable:!0}),g.prototype.onRendering=function(t){},g.prototype.invokeRendering=function(){this.onRendering(o.empty);var t=this.events.get(g.eventRendering);null!=t&&t(this,o.empty)},Object.defineProperty(g.prototype,"renderingEvent",{get:function(){return new u(this)},set:function(t){null!=t&&t.set(this,t.script),this.events.set(g.eventRendering,i.create(t.script,this.report))},enumerable:!1,configurable:!0}),g.prototype.onEndRender=function(t){},g.prototype.invokeEndRender=function(){this.onEndRender(o.empty);var t=this.events.get(g.eventEndRender);null!=t&&t(this,o.empty)},Object.defineProperty(g.prototype,"endRenderEvent",{get:function(){return new l(this)},set:function(t){null!=t&&t.set(this,t.script),this.events.set(g.eventEndRender,i.create(t.script,this.report))},enumerable:!1,configurable:!0}),g.prototype.createNew=function(){return new g},Object.defineProperty(g.prototype,"sizeMode",{get:function(){return this._sizeMode},set:function(t){this._sizeMode=t},enumerable:!1,configurable:!0}),
g.eventBeginRender={},g.eventRendering={},g.eventEndRender={},r=g,s.StiEmptyBand=r}(Stimulsoft=Stimulsoft||{}),function(t){var e,r,n,i,o,a,s,l;function u(t){void 0===t&&(t=s.empty);var t=l.call(this,t)||this;return t._keepGroupFooterTogether=!0,t}r=e=t.Report||(t.Report={}),i=n=r.Components||(r.Components={}),o=t.Base.JsonReportObject.IStiJsonReportObject,a=t.System.Drawing.Color,s=t.System.Drawing.Rectangle,l=i.StiDynamicBand,__extends(u,l),u.prototype.implements=function(){return l.prototype.implements.call(this).concat([i.IStiKeepGroupFooterTogether,o])},u.prototype.saveToJsonObject=function(t){var t=l.prototype.saveToJsonObject.call(this,t);return t.addPropertyBool("KeepGroupFooterTogether",this.keepGroupFooterTogether,!0),t},u.prototype.loadFromJsonObject=function(t){var e,r;l.prototype.loadFromJsonObject.call(this,t);try{for(var n=__values(t.properties()),i=n.next();!i.done;i=n.next()){var o=i.value;switch(o.name){case"KeepGroupFooterTogether":this._keepGroupFooterTogether=o.value.stimulsoft.toBoolean();break}}}catch(t){e={error:t}}finally{try{i&&!i.done&&(r=n.return)&&r.call(n)}finally{if(e)throw e.error}}},u.prototype.loadFromXml=function(t,e){l.prototype.loadFromXml.call(this,t,e);for(var r=0;r<t.childNodes.length;r++){var n=t.childNodes[r];switch(n.nodeName){case"KeepGroupFooterTogether":this._keepGroupFooterTogether=n.textContent.stimulsoft.toBoolean();break}}},u.prototype.clone=function(t,e){var e=l.prototype.clone.call(this,t,e);return e._groupFooterBandInfo=this.groupFooterBandInfo.clone(),e},Object.defineProperty(u.prototype,"keepGroupFooterTogether",{get:function(){return this._keepGroupFooterTogether},set:function(t){this._keepGroupFooterTogether!=t&&(this._keepGroupFooterTogether=t)},enumerable:!1,configurable:!0}),Object.defineProperty(u.prototype,"groupFooterBandInfo",{get:function(){return null==this._groupFooterBandInfo&&(this._groupFooterBandInfo=new i.StiGroupFooterBandInfo),this._groupFooterBandInfo},enumerable:!1,configurable:!0}),Object.defineProperty(u.prototype,"line",{get:function(){if(null!=this.groupFooterBandInfo.groupHeader)return this.groupFooterBandInfo.groupHeader.line;return 1},enumerable:!1,configurable:!0}),Object.defineProperty(u.prototype,"headerStartColor",{get:function(){return a.fromArgb(239,155,52)},enumerable:!1,configurable:!0}),Object.defineProperty(u.prototype,"headerEndColor",{get:function(){return a.fromArgb(239,155,52)},enumerable:!1,configurable:!0}),Object.defineProperty(u.prototype,"toolboxPosition",{get:function(){return i.StiComponentToolboxPosition.GroupFooterBand},enumerable:!1,configurable:!0}),Object.defineProperty(u.prototype,"toolboxCategory",{get:function(){return i.StiToolboxCategory.Bands},enumerable:!1,configurable:!0}),u.prototype.getComponentType=function(){return i.StiComponentType.Detail},Object.defineProperty(u.prototype,"priority",{get:function(){return i.StiComponentPriority.GroupFooterBand},enumerable:!1,configurable:!0}),u.prototype.createNew=function(){return new u},r=u,i.StiGroupFooterBand=r}(Stimulsoft=Stimulsoft||{}),function(t){var e,r,n,t,i;function o(){return null!==i&&i.apply(this,arguments)||this}r=e=t.Report||(t.Report={}),t=n=r.Events||(r.Events={}),i=t.StiEvent,__extends(o,i),o.prototype.toString=function(){return"GetSummaryExpression"},r=o,t.StiGetSummaryExpressionEvent=r}(Stimulsoft=Stimulsoft||{}),function(t){var e,r,n,t,i;function o(){return null!==i&&i.apply(this,arguments)||this}r=e=t.Report||(t.Report={}),t=n=r.Events||(r.Events={}),i=t.StiEvent,__extends(o,i),o.prototype.toString=function(){return"GetValue"},r=o,t.StiGetGroupConditionEvent=r}(Stimulsoft=Stimulsoft||{}),function(r){var t,n,e,u,i,o,a,c,p,h,m,d,g,s,f,l,S,y,A,b,C,v;function w(t){void 0===t&&(t=y.empty);var t=v.call(this,t)||this;return t._keepGroupHeaderTogether=!0,t._keepGroupTogether=!1,t._startNewPage=!1,t._sortDirection=u.StiGroupSortDirection.Ascending,t._summarySortDirection=u.StiGroupSortDirection.None,t._summaryType=u.StiGroupSummaryType.Sum,t._printOnAllPages=!1,t._line=0,t._condition="",t._summaryExpression="",t._collapsed="",t}n=t=r.Report||(r.Report={}),u=e=n.Components||(n.Components={}),i=r.System.StiString,o=r.System.EventHandler,a=r.Report.Events.StiValueEventHandler,c=r.Report.Events.StiGetSummaryExpressionEvent,p=r.Report.Events.StiGetGroupConditionEvent,h=r.Report.Events.StiGetCollapsedEvent,m=r.Report.Events.StiBeginRenderEvent,d=r.Report.Events.StiRenderingEvent,g=r.Report.Events.StiEndRenderEvent,s=r.Base.StiJsonSaveMode,f=r.System.Enum,l=r.Base.JsonReportObject.IStiJsonReportObject,S=r.System.Drawing.Color,y=r.System.Drawing.Rectangle,A=r.Base.Localization.StiLocalization,b=r.Report.Expressions.StiExpression,v=u.StiDynamicBand,__extends(w,v),w.prototype.implements=function(){return v.prototype.implements.call(this).concat([u.IStiGroup,u.IStiPrintOnAllPages,u.IStiKeepGroupTogether,l])},w.prototype.saveToJsonObject=function(t){var e=v.prototype.saveToJsonObject.call(this,t);return e.addPropertyBool("KeepGroupHeaderTogether",this.keepGroupHeaderTogether,!0),e.addPropertyBool("KeepGroupTogether",this.keepGroupTogether),e.addPropertyBool("StartNewPage",this.startNewPage),e.addPropertyNumber("StartNewPageIfLessThan",this.startNewPageIfLessThan,100),e.addPropertyEnum("SortDirection",u.StiGroupSortDirection,this.sortDirection,u.StiGroupSortDirection.Ascending),e.addPropertyEnum("SummarySortDirection",u.StiGroupSortDirection,this.summarySortDirection,u.StiGroupSortDirection.None),e.addPropertyEnum("SummaryType",u.StiGroupSummaryType,this.summaryType,u.StiGroupSummaryType.Sum),e.addPropertyBool("PrintOnAllPages",this.printOnAllPages),e.addPropertyJObject("Condition",new b(this.condition).saveToJsonObject(t)),e.addPropertyJObject("SummaryExpression",new b(this.summaryExpression).saveToJsonObject(t)),e.addPropertyJObject("GetSummaryExpressionEvent",this.getSummaryExpressionEvent.saveToJsonObject(t)),e.addPropertyJObject("GetValueEvent",this.getValueEvent.saveToJsonObject(t)),e.addPropertyJObject("GetCollapsedEvent",this.getCollapsedEvent.saveToJsonObject(t)),e.addPropertyJObject("BeginRenderEvent",this.beginRenderEvent.saveToJsonObject(t)),e.addPropertyJObject("RenderingEvent",this.renderingEvent.saveToJsonObject(t)),e.addPropertyJObject("EndRenderEvent",this.endRenderEvent.saveToJsonObject(t)),t==s.Report&&e.addPropertyJObject("Collapsed",new b(this.collapsed).saveToJsonObject(t)),e},w.prototype.loadFromJsonObject=function(t){var e,r;v.prototype.loadFromJsonObject.call(this,t);try{for(var n=__values(t.properties()),i=n.next();!i.done;i=n.next()){var o=i.value,a,a,a,a,a,a;switch(o.name){case"KeepGroupHeaderTogether":this._keepGroupHeaderTogether=o.value.stimulsoft.toBoolean();break;case"KeepGroupTogether":this._keepGroupTogether=o.value.stimulsoft.toBoolean();break;case"StartNewPage":this._startNewPage=o.value.stimulsoft.toBoolean();break;case"StartNewPageIfLessThan":this.startNewPageIfLessThan=o.value.stimulsoft.toNumber();break;case"SortDirection":this._sortDirection=f.parse(u.StiGroupSortDirection,o.value);break;case"SummarySortDirection":this._summarySortDirection=f.parse(u.StiGroupSortDirection,o.value);break;case"SummaryType":this._summaryType=f.parse(u.StiGroupSummaryType,o.value);break;case"PrintOnAllPages":this._printOnAllPages=o.value.stimulsoft.toBoolean();break;case"Condition":var s=new b;s.loadFromJsonObject(o.value),this.condition=s.value;break;case"SummaryExpression":var l=new b;l.loadFromJsonObject(o.value),this.summaryExpression=l.value;break;case"Collapsed":var l=new b;l.loadFromJsonObject(o.value),this.collapsed=l.value;break;case"GetSummaryExpressionEvent":(a=new c).loadFromJsonObject(o.value),this.getSummaryExpressionEvent=a;break;case"GetValueEvent":(a=new p).loadFromJsonObject(o.value),this.getValueEvent=a;break;case"GetCollapsedEvent":(a=new h).loadFromJsonObject(o.value),this.getCollapsedEvent=a;break;case"BeginRenderEvent":(a=new m).loadFromJsonObject(o.value),this.beginRenderEvent=a;break;case"RenderingEvent":(a=new d).loadFromJsonObject(o.value),this.renderingEvent=a;break;case"EndRenderEvent":(a=new g).loadFromJsonObject(o.value),this.endRenderEvent=a;break}}}catch(t){e={error:t}}finally{try{i&&!i.done&&(r=n.return)&&r.call(n)}finally{if(e)throw e.error}}},w.prototype.loadFromXml=function(t,e){v.prototype.loadFromXml.call(this,t,e);for(var r=0;r<t.childNodes.length;r++){var n=t.childNodes[r],i,i,i,i,i,i;switch(n.nodeName){case"KeepGroupHeaderTogether":this._keepGroupHeaderTogether=n.textContent.stimulsoft.toBoolean();break;case"KeepGroupTogether":this._keepGroupTogether=n.textContent.stimulsoft.toBoolean();break;case"StartNewPage":this._startNewPage=n.textContent.stimulsoft.toBoolean();break;case"StartNewPageIfLessThan":this.startNewPageIfLessThan=n.textContent.stimulsoft.toNumber();break;case"SortDirection":this._sortDirection=f.parse(u.StiGroupSortDirection,n.textContent);break;case"SummarySortDirection":this._summarySortDirection=f.parse(u.StiGroupSortDirection,n.textContent);break;case"SummaryType":this._summaryType=f.parse(u.StiGroupSummaryType,n.textContent);break;case"PrintOnAllPages":this._printOnAllPages=n.textContent.stimulsoft.toBoolean();break;case"Condition":var o=new b;o.loadFromXml(n),this.condition=o.value;break;case"SummaryExpression":var a=new b;a.loadFromXml(n),this.summaryExpression=a.value;break;case"Collapsed":var a=new b;a.loadFromXml(n),this.collapsed=a.value;break;case"GetSummaryExpressionEvent":(i=new c).script=n.textContent,this.getSummaryExpressionEvent=i;break;case"GetValueEvent":(i=new p).script=n.textContent,this.getValueEvent=i;break;case"GetCollapsedEvent":(i=new h).script=n.textContent,this.getCollapsedEvent=i;break;case"BeginRenderEvent":(i=new m).script=n.textContent,this.beginRenderEvent=i;break;case"RenderingEvent":(i=new d).script=n.textContent,this.renderingEvent=i;break;case"EndRenderEvent":(i=new g).script=n.textContent,this.endRenderEvent=i;break}}},w.prototype.clone=function(t,e){var e=v.prototype.clone.call(this,t,e);return e._groupHeaderBandInfo=this.groupHeaderBandInfo.clone(),e},Object.defineProperty(w.prototype,"keepGroupHeaderTogether",{get:function(){return this._keepGroupHeaderTogether},set:function(t){this._keepGroupHeaderTogether!=t&&(this._keepGroupHeaderTogether=t)},enumerable:!1,configurable:!0}),Object.defineProperty(w.prototype,"keepGroupTogether",{get:function(){return this._keepGroupTogether},set:function(t){this._keepGroupTogether!=t&&(this._keepGroupTogether=t)},enumerable:!1,configurable:!0}),Object.defineProperty(w.prototype,"startNewPage",{get:function(){return this._startNewPage},set:function(t){this._startNewPage=t},enumerable:!1,configurable:!0}),Object.defineProperty(w.prototype,"startNewPageIfLessThan",{get:function(){if(null==this.breakIfLessThan)return 100;return this.breakIfLessThan},set:function(t){this.breakIfLessThan=t},enumerable:!1,configurable:!0}),w.prototype.saveState=function(t){v.prototype.saveState.call(this,t),v.prototype.getStates.call(this).pushInt(t,this,"line",this._line)},w.prototype.restoreState=function(t){this.states.isExist(t,this)&&(this._line=this.states.popInt(t,this,"line")),v.prototype.restoreState.call(this,t)},Object.defineProperty(w.prototype,"headerStartColor",{get:function(){return S.fromArgb(239,155,52)},enumerable:!1,configurable:!0}),Object.defineProperty(w.prototype,"headerEndColor",{get:function(){return S.fromArgb(239,155,52)},enumerable:!1,configurable:!0}),Object.defineProperty(w.prototype,"sortDirection",{get:function(){return this._sortDirection},set:function(t){this._sortDirection=t},enumerable:!1,configurable:!0}),Object.defineProperty(w.prototype,"summarySortDirection",{get:function(){return this._summarySortDirection},set:function(t){this._summarySortDirection=t},enumerable:!1,configurable:!0}),Object.defineProperty(w.prototype,"summaryType",{get:function(){return this._summaryType},set:function(t){this._summaryType=t},enumerable:!1,configurable:!0}),Object.defineProperty(w.prototype,"printOnAllPages",{get:function(){return this._printOnAllPages},set:function(t){this._printOnAllPages=t},enumerable:!1,configurable:!0}),Object.defineProperty(w.prototype,"groupHeaderBandInfo",{get:function(){return null==this._groupHeaderBandInfo&&(this._groupHeaderBandInfo=new u.StiGroupHeaderBandInfo),this._groupHeaderBandInfo},enumerable:!1,configurable:!0}),Object.defineProperty(w.prototype,"toolboxPosition",{get:function(){return u.StiComponentToolboxPosition.GroupHeaderBand},enumerable:!1,configurable:!0}),Object.defineProperty(w.prototype,"toolboxCategory",{get:function(){return u.StiToolboxCategory.Bands},enumerable:!1,configurable:!0}),w.prototype.getComponentType=function(){return u.StiComponentType.Detail},Object.defineProperty(w.prototype,"priority",{get:function(){return u.StiComponentPriority.GroupHeaderBand},enumerable:!1,configurable:!0}),w.prototype.getDataBand=function(){var t;if(null==this.parent)return null;for(var e,r=this.parent.components.indexOf(this)+1;r<this.parent.components.count;r++)if(this.parent.components.getByIndex(r).is(u.StiDataBand))return this.parent.components.getByIndex(r);return null},Object.defineProperty(w.prototype,"line",{get:function(){return this._line},set:function(t){this._line=t},enumerable:!1,configurable:!0}),w.prototype.onGetSummaryExpression=function(t){},w.prototype.invokeGetSummaryExpression=function(t){try{var e,e;this.report.calculationMode==n.StiCalculationMode.Compilation?this.onGetSummaryExpression(t):(this.onGetSummaryExpression(t),t.value=r.Report.Engine.StiParser.StiParser.parseTextValue(this.summaryExpression,this)),null!=(e=this.events.get(w.eventGetSummaryExpression))&&e(this,t)}catch(t){r.System.StiError.showError(t.message,!1),n.StiLogService.write(this.stimulsoft.getType(),"DoGetSummaryExpression...ERROR"),n.StiLogService.write(this.stimulsoft.getType(),t)}},Object.defineProperty(w.prototype,"getSummaryExpressionEvent",{get:function(){return new c(this)},set:function(t){null!=t&&t.set(this,t.script),this.events.set(w.eventGetSummaryExpression,a.create(t.script,this.report))},enumerable:!1,configurable:!0}),w.prototype.onGetValue=function(t){},w.prototype.invokeGetValue=function(t){try{var e,e;this.report.calculationMode==n.StiCalculationMode.Compilation?this.onGetValue(t):(this.onGetValue(t),t.value=r.Report.Engine.StiParser.StiParser.parseTextValue(this.condition,this)),null!=(e=this.events.get(w.eventGetValue))&&e(this,t)}catch(t){r.System.StiError.showError(t.message,!1)}},Object.defineProperty(w.prototype,"getValueEvent",{get:function(){return new p(this)},set:function(t){null!=t&&t.set(this,t.script),this.events.set(w.eventGetValue,a.create(t.script,this.report))},enumerable:!1,configurable:!0}),w.prototype.onGetCollapsed=function(t){},w.prototype.invokeGetCollapsed=function(t){try{this.onGetCollapsed(t),null!=this.report&&this.report.calculationMode==n.StiCalculationMode.Interpretation&&0<this.collapsed.length&&(t.value=r.Report.Engine.StiParser.StiParser.parseTextValue(this.collapsed,this));var e=this.events.get(w.eventGetCollapsed);null!=e&&e(this,t)}catch(t){n.StiLogService.write(this.stimulsoft.getType(),"DoGetCollapsed...ERROR"),n.StiLogService.write(this.stimulsoft.getType(),t)}},Object.defineProperty(w.prototype,"getCollapsedEvent",{get:function(){return new h(this)},set:function(t){null!=t&&t.set(this,t.script),this.events.set(w.eventGetCollapsed,a.create(t.script,this.report))},enumerable:!1,configurable:!0}),w.prototype.onBeginRender=function(){},w.prototype.invokeBeginRender=function(){this.onBeginRender();var t=this.events.get(w.eventBeginRender);null!=t&&t(this)},Object.defineProperty(w.prototype,"beginRenderEvent",{get:function(){return new m(this)},set:function(t){null!=t&&t.set(this,t.script),this.events.set(w.eventBeginRender,o.create(t.script,this.report))},enumerable:!1,configurable:!0}),w.prototype.onRendering=function(){},w.prototype.invokeRendering=function(){this.onRendering();var t=this.events.get(w.eventRendering);null!=t&&t(this)},Object.defineProperty(w.prototype,"renderingEvent",{get:function(){return new d(this)},set:function(t){null!=t&&t.set(this,t.script),this.events.set(w.eventRendering,o.create(t.script,this.report))},enumerable:!1,configurable:!0}),w.prototype.onEndRender=function(){},w.prototype.invokeEndRender=function(){this.onEndRender();var t=this.events.get(w.eventEndRender);null!=t&&t(this)},Object.defineProperty(w.prototype,"endRenderEvent",{get:function(){return new g(this)},set:function(t){null!=t&&t.set(this,t.script),this.events.set(w.eventEndRender,o.create(t.script,this.report))},enumerable:!1,configurable:!0}),Object.defineProperty(w.prototype,"condition",{get:function(){return this._condition},set:function(t){null!=t&&(this._condition=t)},enumerable:!1,configurable:!0}),Object.defineProperty(w.prototype,"summaryExpression",{get:function(){return this._summaryExpression},set:function(t){null!=t&&(this._summaryExpression=t)},enumerable:!1,configurable:!0}),Object.defineProperty(w.prototype,"collapsed",{get:function(){return this._collapsed},set:function(t){null!=t&&(this._collapsed=t)},enumerable:!1,configurable:!0}),w.prototype.getHeaderText=function(){var t=null,t;return(t=i.isNullOrEmpty(this.alias)?this.name:StiOptions.Dictionary.showOnlyAliasForComponents?this.alias:this.name+" ["+this.alias+"]")+"; "+A.get("PropertyMain","Condition")+": "+this.condition},w.prototype.createNew=function(){return new w},w.prototype.getCurrentConditionValue=function(){return r.Report.Engine.StiGroupHeaderBandBuilder.getCurrentConditionValue(this)},w.eventGetSummaryExpression={},w.eventGetValue={},w.eventGetCollapsed={},w.eventBeginRender={},w.eventRendering={},w.eventEndRender={},C=w,u.StiGroupHeaderBand=C}(Stimulsoft=Stimulsoft||{}),function(t){var e,r,n,i,o,a,s,l;function u(t){void 0===t&&(t=s.empty);var t=l.call(this,t)||this;return t._keyDataColumn="",t._masterKeyDataColumn="",t._parentValue="",t._indent=20,t._headers="",t._footers="",t}r=e=t.Report||(t.Report={}),i=n=r.Components||(r.Components={}),o=t.Base.JsonReportObject.IStiJsonReportObject,a=t.System.Drawing.Color,s=t.System.Drawing.Rectangle,l=i.StiDataBand,__extends(u,l),u.prototype.implements=function(){return l.prototype.implements.call(this).concat([o])},u.prototype.saveToJsonObject=function(t){var t=l.prototype.saveToJsonObject.call(this,t);return t.addPropertyStringNullOrEmpty("KeyDataColumn",this.keyDataColumn),t.addPropertyStringNullOrEmpty("MasterKeyDataColumn",this.masterKeyDataColumn),t.addPropertyStringNullOrEmpty("ParentValue",this.parentValue),t.addPropertyNumber("Indent",this.indent,20),t.addPropertyStringNullOrEmpty("Headers",this.headers),t.addPropertyStringNullOrEmpty("Footers",this.footers),t},u.prototype.loadFromJsonObject=function(t){var e,r;l.prototype.loadFromJsonObject.call(this,t);try{for(var n=__values(t.properties()),i=n.next();!i.done;i=n.next()){var o=i.value;switch(o.name){case"KeyDataColumn":this._keyDataColumn=o.value;break;case"MasterKeyDataColumn":this._masterKeyDataColumn=o.value;break;case"ParentValue":this._parentValue=o.value;break;case"Indent":this._indent=o.value.stimulsoft.toNumber();break;case"Headers":this._headers=o.value;break;case"Footers":this._footers=o.value;break}}}catch(t){e={error:t}}finally{try{i&&!i.done&&(r=n.return)&&r.call(n)}finally{if(e)throw e.error}}},u.prototype.loadFromXml=function(t,e){l.prototype.loadFromXml.call(this,t,e);for(var r=0;r<t.childNodes.length;r++){var n=t.childNodes[r];switch(n.nodeName){case"KeyDataColumn":this._keyDataColumn=n.textContent;break;case"MasterKeyDataColumn":this._masterKeyDataColumn=n.textContent;break;case"ParentValue":this._parentValue=n.textContent;break;case"Indent":this._indent=n.textContent.stimulsoft.toNumber();break;case"Headers":this._headers=n.textContent;break;case"Footers":this._footers=n.textContent;break}}},Object.defineProperty(u.prototype,"toolboxPosition",{get:function(){return i.StiComponentToolboxPosition.HierarchicalBand},enumerable:!1,configurable:!0}),Object.defineProperty(u.prototype,"toolboxCategory",{get:function(){return i.StiToolboxCategory.Bands},enumerable:!1,configurable:!0}),Object.defineProperty(u.prototype,"headerStartColor",{get:function(){return a.fromArgb(118,167,151)},enumerable:!1,configurable:!0}),Object.defineProperty(u.prototype,"headerEndColor",{get:function(){return a.fromArgb(118,167,151)},enumerable:!1,configurable:!0}),Object.defineProperty(u.prototype,"keyDataColumn",{get:function(){return this._keyDataColumn},set:function(t){this._keyDataColumn=t},enumerable:!1,configurable:!0}),Object.defineProperty(u.prototype,"masterKeyDataColumn",{get:function(){return this._masterKeyDataColumn},set:function(t){this._masterKeyDataColumn=t},enumerable:!1,configurable:!0}),Object.defineProperty(u.prototype,"parentValue",{get:function(){return this._parentValue},set:function(t){this._parentValue=t},enumerable:!1,configurable:!0}),Object.defineProperty(u.prototype,"indent",{get:function(){return this._indent},set:function(t){this._indent=t},enumerable:!1,configurable:!0}),Object.defineProperty(u.prototype,"headers",{get:function(){return this._headers},set:function(t){this._headers=t},enumerable:!1,configurable:!0}),Object.defineProperty(u.prototype,"footers",{get:function(){return this._footers},set:function(t){this._footers=t},enumerable:!1,configurable:!0}),Object.defineProperty(u.prototype,"hierarchicalBandInfo",{get:function(){return null==this._hierarchicalBandInfo&&(this._hierarchicalBandInfo=new i.StiHierarchicalBandInfo),this._hierarchicalBandInfo},enumerable:!1,configurable:!0}),u.prototype.createNew=function(){return new u},r=u,i.StiHierarchicalBand=r}(Stimulsoft=Stimulsoft||{}),function(t){var e,r,n,i,o,a,s;function l(t){return void 0===t&&(t=a.empty),s.call(this,t)||this}r=e=t.Report||(t.Report={}),i=n=r.Components||(r.Components={}),o=t.Base.JsonReportObject.IStiJsonReportObject,a=t.System.Drawing.Rectangle,s=i.StiBand,__extends(l,s),l.prototype.implements=function(){return s.prototype.implements.call(this).concat([i.IStiBreakable,o])},l.prototype.saveToJsonObject=function(t){var t=s.prototype.saveToJsonObject.call(this,t);return t.removeProperty("CanBreak"),t},l.prototype.loadFromJsonObject=function(t){s.prototype.loadFromJsonObject.call(this,t)},l.prototype.getComponentType=function(){return i.StiComponentType.Static},r=l,i.StiStaticBand=r}(Stimulsoft=Stimulsoft||{}),function(t){var e,r,n,i,a,s,o,l,u,c;function p(t){void 0===t&&(t=u.empty);var t=c.call(this,t)||this;return t._vertAlignment=a.Center,t}r=e=t.Report||(t.Report={}),i=n=r.Components||(r.Components={}),a=t.Base.Drawing.StiVertAlignment,s=t.System.Enum,o=t.Base.JsonReportObject.IStiJsonReportObject,l=t.System.Drawing.Color,u=t.System.Drawing.Rectangle,c=i.StiStaticBand,__extends(p,c),p.prototype.implements=function(){return c.prototype.implements.call(this).concat([i.IStiVertAlignment,o])},p.prototype.saveToJsonObject=function(t){var t=c.prototype.saveToJsonObject.call(this,t);return t.removeProperty("CanBreak"),t.removeProperty("Bookmark"),t.removeProperty("Hyperlink"),t.addPropertyEnum("VertAlignment",a,this.vertAlignment,a.Center),t},p.prototype.loadFromJsonObject=function(t){var e,r;c.prototype.loadFromJsonObject.call(this,t);try{for(var n=__values(t.properties()),i=n.next();!i.done;i=n.next()){var o=i.value;switch(o.name){case"VertAlignment":this._vertAlignment=s.parse(a,o.value);break}}}catch(t){e={error:t}}finally{try{i&&!i.done&&(r=n.return)&&r.call(n)}finally{if(e)throw e.error}}},p.prototype.loadFromXml=function(t,e){c.prototype.loadFromXml.call(this,t,e);for(var r=0;r<t.childNodes.length;r++){var n=t.childNodes[r];switch(n.nodeName){case"VertAlignment":this._vertAlignment=s.parse(a,n.textContent);break}}},Object.defineProperty(p.prototype,"vertAlignment",{get:function(){return this._vertAlignment},set:function(t){this._vertAlignment=t},enumerable:!1,configurable:!0}),Object.defineProperty(p.prototype,"headerStartColor",{get:function(){return l.fromArgb(131,124,174)},enumerable:!1,configurable:!0}),Object.defineProperty(p.prototype,"headerEndColor",{get:function(){return l.fromArgb(131,124,174)},enumerable:!1,configurable:!0}),p.prototype.getComponentType=function(){return null!=this.report?i.StiComponentType.Static:i.StiComponentType.Detail},Object.defineProperty(p.prototype,"toolboxPosition",{get:function(){return i.StiComponentToolboxPosition.OverlayBand},enumerable:!1,configurable:!0}),Object.defineProperty(p.prototype,"toolboxCategory",{get:function(){return i.StiToolboxCategory.Bands},enumerable:!1,configurable:!0}),Object.defineProperty(p.prototype,"priority",{get:function(){return i.StiComponentPriority.OverlayBand},enumerable:!1,configurable:!0}),p.prototype.createNew=function(){return new p},r=p,i.StiOverlayBand=r}(Stimulsoft=Stimulsoft||{}),function(t){var e,r,n,a,i,s,o,l,u;function c(t){void 0===t&&(t=i.empty);var t=u.call(this,t)||this;return t._printOnEvenOddPages=a.StiPrintOnEvenOddPagesType.Ignore,StiOptions.Engine.dockPageFooterToBottom&&(t.dockStyle=a.StiDockStyle.Bottom),t}r=e=t.Report||(t.Report={}),a=n=r.Components||(r.Components={}),i=t.System.Drawing.Rectangle,s=t.System.Enum,o=t.Base.JsonReportObject.IStiJsonReportObject,l=t.System.Drawing.Color,u=a.StiStaticBand,__extends(c,u),c.prototype.implements=function(){return u.prototype.implements.call(this).concat([a.IStiPrintOnEvenOddPages,o])},c.prototype.saveToJsonObject=function(t){var t=u.prototype.saveToJsonObject.call(this,t);return t.addPropertyEnum("PrintOnEvenOddPages",a.StiPrintOnEvenOddPagesType,this.printOnEvenOddPages,a.StiPrintOnEvenOddPagesType.Ignore),t},c.prototype.loadFromJsonObject=function(t){var e,r;u.prototype.loadFromJsonObject.call(this,t);try{for(var n=__values(t.properties()),i=n.next();!i.done;i=n.next()){var o=i.value;switch(o.name){case"PrintOnEvenOddPages":this._printOnEvenOddPages=s.parse(a.StiPrintOnEvenOddPagesType,o.value);break}}}catch(t){e={error:t}}finally{try{i&&!i.done&&(r=n.return)&&r.call(n)}finally{if(e)throw e.error}}},c.prototype.loadFromXml=function(t,e){u.prototype.loadFromXml.call(this,t,e);for(var r=0;r<t.childNodes.length;r++){var n=t.childNodes[r];switch(n.nodeName){case"PrintOnEvenOddPages":this._printOnEvenOddPages=s.parse(a.StiPrintOnEvenOddPagesType,n.textContent);break}}},Object.defineProperty(c.prototype,"printOnEvenOddPages",{get:function(){return this._printOnEvenOddPages},set:function(t){this._printOnEvenOddPages=t},enumerable:!1,configurable:!0}),Object.defineProperty(c.prototype,"headerStartColor",{get:function(){return l.fromArgb(206,207,206)},enumerable:!1,configurable:!0}),Object.defineProperty(c.prototype,"headerEndColor",{get:function(){return l.fromArgb(206,207,206)},enumerable:!1,configurable:!0}),Object.defineProperty(c.prototype,"toolboxPosition",{get:function(){return a.StiComponentToolboxPosition.PageFooterBand},enumerable:!1,configurable:!0}),Object.defineProperty(c.prototype,"toolboxCategory",{get:function(){return a.StiToolboxCategory.Bands},enumerable:!1,configurable:!0}),Object.defineProperty(c.prototype,"priority",{get:function(){if(StiOptions.Engine.dockPageFooterToBottom)return a.StiComponentPriority.PageFooterBandBottom;return a.StiComponentPriority.PageFooterBandTop},enumerable:!1,configurable:!0}),c.prototype.canContainIn=function(t){if(t.is(a.StiPage))return!0;return!1},c.prototype.getComponentType=function(){if(null!=this.report)return u.prototype.getComponentType.call(this);return a.StiComponentType.Simple},c.prototype.getDisplayRectangle=function(){if(StiOptions.Engine.dockPageFooterToBottom){var t=this.page.unit.convertFromHInches(this.headerSize),e=this.page.unit.convertFromHInches(this.footerSize);return new i(this.left,this.top-t-e,this.width,this.height+t+e)}return u.prototype.getDisplayRectangle.call(this)},c.prototype.setDisplayRectangle=function(t){if(StiOptions.Engine.dockPageFooterToBottom){var e=this.page.unit.convertFromHInches(this.headerSize),r=this.page.unit.convertFromHInches(this.footerSize);return this.left=t.left,this.top=t.top+e+r,this.width=t.width,void(this.height=t.height-e-r)}u.prototype.setDisplayRectangle.call(this,t)},c.prototype.createNew=function(){return new c},c.prototype.getMaster=function(){var e,t;try{for(var r=__values(this.parent.components.list),n=r.next();!n.done;n=r.next()){var i=n.value;if(i.is(a.StiDataBand)&&!i.is(a.StiEmptyBand))return i}}catch(t){e={error:t}}finally{try{n&&!n.done&&(t=r.return)&&t.call(r)}finally{if(e)throw e.error}}return null},r=c,a.StiPageFooterBand=r}(Stimulsoft=Stimulsoft||{}),function(t){var e,r,n,a,s,i,o,l,u;function c(t){void 0===t&&(t=l.empty);var t=u.call(this,t)||this;return t._printOnEvenOddPages=a.StiPrintOnEvenOddPagesType.Ignore,t}r=e=t.Report||(t.Report={}),a=n=r.Components||(r.Components={}),s=t.System.Enum,i=t.Base.JsonReportObject.IStiJsonReportObject,o=t.System.Drawing.Color,l=t.System.Drawing.Rectangle,u=a.StiStaticBand,__extends(c,u),c.prototype.implements=function(){return u.prototype.implements.call(this).concat([a.IStiBreakable,a.IStiPrintOnEvenOddPages,i])},c.prototype.saveToJsonObject=function(t){var t=u.prototype.saveToJsonObject.call(this,t);return t.removeProperty("CanBreak"),t.addPropertyEnum("PrintOnEvenOddPages",a.StiPrintOnEvenOddPagesType,this.printOnEvenOddPages,a.StiPrintOnEvenOddPagesType.Ignore),t},c.prototype.loadFromJsonObject=function(t){var e,r;u.prototype.loadFromJsonObject.call(this,t);try{for(var n=__values(t.properties()),i=n.next();!i.done;i=n.next()){var o=i.value;switch(o.name){case"PrintOnEvenOddPages":this._printOnEvenOddPages=s.parse(a.StiPrintOnEvenOddPagesType,o.value);break}}}catch(t){e={error:t}}finally{try{i&&!i.done&&(r=n.return)&&r.call(n)}finally{if(e)throw e.error}}},c.prototype.loadFromXml=function(t,e){u.prototype.loadFromXml.call(this,t,e);for(var r=0;r<t.childNodes.length;r++){var n=t.childNodes[r];switch(n.nodeName){case"PrintOnEvenOddPages":this._printOnEvenOddPages=s.parse(a.StiPrintOnEvenOddPagesType,n.textContent);break}}},Object.defineProperty(c.prototype,"headerStartColor",{get:function(){return o.fromArgb(206,207,206)},enumerable:!1,configurable:!0}),Object.defineProperty(c.prototype,"headerEndColor",{get:function(){return o.fromArgb(206,207,206)},enumerable:!1,configurable:!0}),Object.defineProperty(c.prototype,"toolboxPosition",{get:function(){return a.StiComponentToolboxPosition.PageHeaderBand},enumerable:!1,configurable:!0}),Object.defineProperty(c.prototype,"toolboxCategory",{get:function(){return a.StiToolboxCategory.Bands},enumerable:!1,configurable:!0}),Object.defineProperty(c.prototype,"priority",{get:function(){return this.page.titleBeforeHeader?a.StiComponentPriority.PageHeaderBandBefore:a.StiComponentPriority.PageHeaderBandAfter},enumerable:!1,configurable:!0}),c.prototype.canContainIn=function(t){if(t.is(a.StiPage))return!0;return!1},c.prototype.getComponentType=function(){if(null!=this.report)return u.prototype.getComponentType.call(this);return a.StiComponentType.Simple},Object.defineProperty(c.prototype,"printOnEvenOddPages",{get:function(){return this._printOnEvenOddPages},set:function(t){this._printOnEvenOddPages=t},enumerable:!1,configurable:!0}),Object.defineProperty(c.prototype,"printOnFirstPage",{get:function(){return 0==(this.printOn&a.StiPrintOnType.ExceptFirstPage)},set:function(t){t?0<(this.printOn&a.StiPrintOnType.ExceptFirstPage)&&(this.printOn-=a.StiPrintOnType.ExceptFirstPage):this.printOn|=a.StiPrintOnType.ExceptFirstPage},enumerable:!1,configurable:!0}),c.prototype.getMaster=function(){var e,t;try{for(var r=__values(this.parent.components.list),n=r.next();!n.done;n=r.next()){var i=n.value;if(i.is(a.StiDataBand)&&!i.is(a.StiEmptyBand))return i}}catch(t){e={error:t}}finally{try{n&&!n.done&&(t=r.return)&&t.call(r)}finally{if(e)throw e.error}}return null},c.prototype.createNew=function(){return new c},r=c,a.StiPageHeaderBand=r}(Stimulsoft=Stimulsoft||{}),function(t){var e,r,n,o,i,a,s,l;function u(t){void 0===t&&(t=i.empty);var t=l.call(this,t)||this;return t._keepReportSummaryTogether=!0,t._printIfEmpty=!0,t.dockStyle=o.StiDockStyle.Top,t}r=e=t.Report||(t.Report={}),o=n=r.Components||(r.Components={}),i=t.System.Drawing.Rectangle,a=t.Base.JsonReportObject.IStiJsonReportObject,s=t.System.Drawing.Color,l=o.StiDynamicBand,__extends(u,l),u.prototype.implements=function(){return l.prototype.implements.call(this).concat([o.IStiPrintIfEmpty,o.IStiKeepReportSummaryTogether,a])},u.prototype.saveToJsonObject=function(t){var t=l.prototype.saveToJsonObject.call(this,t);return t.removeProperty("PrintOn"),t.addPropertyBool("KeepReportSummaryTogether",this.keepReportSummaryTogether,!0),t.addPropertyBool("PrintIfEmpty",this.printIfEmpty,!0),t},u.prototype.loadFromJsonObject=function(t){var e,r;l.prototype.loadFromJsonObject.call(this,t);try{for(var n=__values(t.properties()),i=n.next();!i.done;i=n.next()){var o=i.value;switch(o.name){case"KeepReportSummaryTogether":this._keepReportSummaryTogether=o.value.stimulsoft.toBoolean();break;case"PrintIfEmpty":this._printIfEmpty=o.value.stimulsoft.toBoolean();break}}}catch(t){e={error:t}}finally{try{i&&!i.done&&(r=n.return)&&r.call(n)}finally{if(e)throw e.error}}},u.prototype.loadFromXml=function(t,e){l.prototype.loadFromXml.call(this,t,e);for(var r=0;r<t.childNodes.length;r++){var n=t.childNodes[r];switch(n.nodeName){case"KeepReportSummaryTogether":this._keepReportSummaryTogether=n.textContent.stimulsoft.toBoolean();break;case"PrintIfEmpty":this._printIfEmpty=n.textContent.stimulsoft.toBoolean();break}}},Object.defineProperty(u.prototype,"keepReportSummaryTogether",{get:function(){return this._keepReportSummaryTogether},set:function(t){this._keepReportSummaryTogether!=t&&(this._keepReportSummaryTogether=t)},enumerable:!1,configurable:!0}),Object.defineProperty(u.prototype,"printIfEmpty",{get:function(){return this._printIfEmpty},set:function(t){this._printIfEmpty=t},enumerable:!1,configurable:!0}),Object.defineProperty(u.prototype,"headerStartColor",{get:function(){return s.fromArgb(159,213,183)},enumerable:!1,configurable:!0}),Object.defineProperty(u.prototype,"headerEndColor",{get:function(){return s.fromArgb(159,213,183)},enumerable:!1,configurable:!0}),Object.defineProperty(u.prototype,"toolboxPosition",{get:function(){return o.StiComponentToolboxPosition.ReportSummaryBand},enumerable:!1,configurable:!0}),Object.defineProperty(u.prototype,"toolboxCategory",{get:function(){return o.StiToolboxCategory.Bands},enumerable:!1,configurable:!0}),u.prototype.canContainIn=function(t){if(t.is(o.StiPage))return!0;return!1},Object.defineProperty(u.prototype,"priority",{get:function(){return o.StiComponentPriority.ReportSummaryBand},enumerable:!1,configurable:!0}),u.prototype.getComponentType=function(){if(null!=this.report)return l.prototype.getComponentType.call(this);return o.StiComponentType.Master},u.prototype.createNew=function(){return new u},u.prototype.getMaster=function(){var e,t;try{for(var r=__values(this.parent.components.list),n=r.next();!n.done;n=r.next()){var i=n.value;if(i.is(o.StiDataBand))return i}}catch(t){e={error:t}}finally{try{n&&!n.done&&(t=r.return)&&t.call(r)}finally{if(e)throw e.error}}return null},r=u,o.StiReportSummaryBand=r}(Stimulsoft=Stimulsoft||{}),function(t){var e,r,n,o,i,a,s,l;function u(t){void 0===t&&(t=s.empty);var t=l.call(this,t)||this;return t._printIfEmpty=!0,t}r=e=t.Report||(t.Report={}),o=n=r.Components||(r.Components={}),i=t.Base.JsonReportObject.IStiJsonReportObject,a=t.System.Drawing.Color,s=t.System.Drawing.Rectangle,l=o.StiStaticBand,__extends(u,l),u.prototype.implements=function(){return l.prototype.implements.call(this).concat([o.IStiBreakable,o.IStiPrintIfEmpty,i])},u.prototype.saveToJsonObject=function(t){var t=l.prototype.saveToJsonObject.call(this,t);return t.removeProperty("PrintOn"),t.removeProperty("CanBreak"),t.addPropertyBool("PrintIfEmpty",this.printIfEmpty,!0),t},u.prototype.loadFromJsonObject=function(t){var e,r;l.prototype.loadFromJsonObject.call(this,t);try{for(var n=__values(t.properties()),i=n.next();!i.done;i=n.next()){var o=i.value;switch(o.name){case"PrintIfEmpty":this._printIfEmpty=o.value.stimulsoft.toBoolean();break}}}catch(t){e={error:t}}finally{try{i&&!i.done&&(r=n.return)&&r.call(n)}finally{if(e)throw e.error}}},u.prototype.loadFromXml=function(t,e){l.prototype.loadFromXml.call(this,t,e);for(var r=0;r<t.childNodes.length;r++){var n=t.childNodes[r];switch(n.nodeName){case"PrintIfEmpty":this._printIfEmpty=n.textContent.stimulsoft.toBoolean();break}}},Object.defineProperty(u.prototype,"printIfEmpty",{get:function(){return this._printIfEmpty},set:function(t){this._printIfEmpty=t},enumerable:!1,configurable:!0}),Object.defineProperty(u.prototype,"headerStartColor",{get:function(){return a.fromArgb(159,213,183)},enumerable:!1,configurable:!0}),Object.defineProperty(u.prototype,"headerEndColor",{get:function(){return a.fromArgb(159,213,183)},enumerable:!1,configurable:!0}),u.prototype.getComponentType=function(){if(null!=this.report)return this.page.titleBeforeHeader?o.StiComponentType.Static:o.StiComponentType.Master;return o.StiComponentType.Simple},Object.defineProperty(u.prototype,"toolboxPosition",{get:function(){return o.StiComponentToolboxPosition.ReportTitleBand},enumerable:!1,configurable:!0}),Object.defineProperty(u.prototype,"toolboxCategory",{get:function(){return o.StiToolboxCategory.Bands},enumerable:!1,configurable:!0}),Object.defineProperty(u.prototype,"priority",{get:function(){return this.page.titleBeforeHeader?o.StiComponentPriority.ReportTitleBandBefore:o.StiComponentPriority.ReportTitleBandAfterV2},enumerable:!1,configurable:!0}),u.prototype.canContainIn=function(t){if(t.is(o.StiPage))return!0;return!1},u.prototype.createNew=function(){return new u},u.prototype.getMaster=function(){var e,t;try{for(var r=__values(this.parent.components.list),n=r.next();!n.done;n=r.next()){var i=n.value;if(i.is(o.StiDataBand)&&!i.is(o.StiEmptyBand))return i}}catch(t){e={error:t}}finally{try{n&&!n.done&&(t=r.return)&&t.call(r)}finally{if(e)throw e.error}}return null},r=u,o.StiReportTitleBand=r}(Stimulsoft=Stimulsoft||{}),function(t){var e,r,n,i,o,a,t,s;function l(t,e){void 0===t&&(t=a.empty),void 0===e&&(e=!1);var r=s.call(this,t,!0)||this;return r._container=new i.StiContainer,e||r.construct(t),r}r=e=t.Report||(t.Report={}),i=n=r.Components||(r.Components={}),o=t.System.StiString,a=t.System.Drawing.Rectangle,s=i.StiContainer,__extends(l,s),l.prototype.implements=function(){return l.ImplementsStiClone||(l.ImplementsStiClone=s.prototype.implements.call(this).concat([i.IStiClone])),l.ImplementsStiClone},l.prototype.saveToJsonObject=function(t){var t=s.prototype.saveToJsonObject.call(this,t);return t.removeProperty("CanShrink"),t.removeProperty("CanGrow"),t.removeProperty("Conditions"),t.removeProperty("GrowToHeight"),t.removeProperty("Components"),null!=this.container&&t.addPropertyStringNullOrEmpty("Container",this.container.name),t},l.prototype.loadFromJsonObject=function(t){var e,r;s.prototype.loadFromJsonObject.call(this,t);try{for(var n=__values(t.properties()),i=n.next();!i.done;i=n.next()){var o=i.value;switch(o.name){case"Container":this.jsonContainerValueTemp=o.value.toString(),this.report.jsonLoaderHelper&&this.report.jsonLoaderHelper.clones.push(this);break}}}catch(t){e={error:t}}finally{try{i&&!i.done&&(r=n.return)&&r.call(n)}finally{if(e)throw e.error}}},l.prototype.loadFromXml=function(t,e){s.prototype.loadFromXml.call(this,t,e);var e=t.getAttribute("Ref");!o.isNullOrEmpty(e)&&this.report.jsonLoaderHelper&&(this.report.jsonLoaderHelper.refNames[e.stimulsoft.toNumber()]=t.nodeName);for(var r=0;r<t.childNodes.length;r++){var n=t.childNodes[r];switch(n.nodeName){case"Container":this.jsonContainerValueTemp=n.getAttribute("isRef"),this.report.jsonLoaderHelper&&this.report.jsonLoaderHelper.clones.push(this);break}}},Object.defineProperty(l.prototype,"componentId",{get:function(){return r.StiComponentId.StiClone},enumerable:!1,configurable:!0}),Object.defineProperty(l.prototype,"canShrink",{get:function(){return s.prototype.getCanShrink.call(this)},set:function(t){},enumerable:!1,configurable:!0}),Object.defineProperty(l.prototype,"canGrow",{get:function(){return s.prototype.getCanGrow.call(this)},set:function(t){},enumerable:!1,configurable:!0}),Object.defineProperty(l.prototype,"container",{get:function(){return this._container},set:function(t){this._container=t},enumerable:!1,configurable:!0}),l.prototype.clone=function(t,e){void 0===t&&(t=!0),void 0===e&&(e=!0);var t=s.prototype.clone.call(this,t);return t.components=new i.StiComponentsCollection(t),t},Object.defineProperty(l.prototype,"toolboxPosition",{get:function(){return i.StiComponentToolboxPosition.Clone},enumerable:!1,configurable:!0}),Object.defineProperty(l.prototype,"toolboxCategory",{get:function(){return i.StiToolboxCategory.Components},enumerable:!1,configurable:!0}),Object.defineProperty(l.prototype,"componentType",{get:function(){return i.StiComponentType.Simple},enumerable:!1,configurable:!0}),l.prototype.canContainIn=function(t){if(t.is(l))return!1;if(t.is(i.StiContainer))return!0;return!1},Object.defineProperty(l.prototype,"components",{get:function(){return null==this.container||this.isDesigning?(null==this._components2&&(this._components2=new i.StiComponentsCollection(this)),this._components2):this.container.components},set:function(t){},enumerable:!1,configurable:!0}),l.prototype.construct=function(t){void 0===t&&(t=a.empty),s.prototype.construct.call(this,t)},t=l,i.StiClone=t}(Stimulsoft=Stimulsoft||{}),function(t){var e,r,n,Y,U,J,W,V;function z(){}r=e=t.Report||(t.Report={}),Y=n=r.Components||(r.Components={}),U=t.System.Collections.Hashtable,J=t.Base.Drawing.StiHorAlignment,W=t.Base.Drawing.StiTextHorAlignment,V=t.System.Drawing.Size,z.checkSize=function(t){var e,r,n,i,o,a,s=t;if(null==s)return;var l=null;if(StiOptions.Engine.allowCacheForGetActualSize){var u=t.report;if(null==u&&null!=s.containerInfo&&null!=s.containerInfo.parentBand&&(u=s.containerInfo.parentBand.report),null==u&&null!=s.parent&&null!=s.parent.containerInfo&&null!=s.parent.containerInfo.parentBand&&(u=s.parent.containerInfo.parentBand.report),null!=u&&null!=u.engine){if(null==u.engine.hashCheckSize&&(u.engine.hashCheckSize=new U),u.engine.hashCheckSize.containsKey(t))return;l=u.engine.hashCheckSize}}var c=new U,p=new U,h=!1,m,d,g;try{for(var f=__values(s.components.list),S=f.next(),y,g,A,m,d,b;!S.done;S=f.next()){(y=S.value).isEnabled?(g=void 0,y.is(Y.StiContainer)?(A=y.height,StiOptions.Engine.useCheckSizeForContinuedContainers&&z.checkSize(y),d={ref:m=!1},g=y.getActualSize(!0,d),(m=d.ref)&&(b=y.height,y.height=g.height,d={ref:m},g=y.getActualSize(!1,d),m=d.ref,y.height=b),StiOptions.Engine.useCheckSizeForContinuedContainers&&(y.height=A)):g=y.getActualSize(),y.is(Y.StiHorizontalLinePrimitive)||(g.height=Math.round2(g.height,2)),g.width=Math.round2(g.width,2),p.set(y,g),g.height!=y.height&&(h=!0)):p.set(y,new V(0,0))}}catch(t){e={error:t}}finally{try{S&&!S.done&&(r=f.return)&&r.call(f)}finally{if(e)throw e.error}}if(h){var C=new Y.StiComponentsCollection;C.addRange(s.components),C.sortByTopPosition();var v=0;try{for(var w=__values(C.list),B=w.next();!B.done;B=w.next()){var y=B.value,I=p.get(y).height-y.height,T=Math.round2(y.left,2),E=Math.round2(y.right,2),R=Math.round2(y.bottom,2);if(0!=I){var D=0;null!=c.get(y)&&(D=c.get(y));for(var P=v+1;P<C.count;P++){var x=C.getByIndex(P),F=Math.round2(x.left,2),N=Math.round2(x.top,2),N;if(0!=(x.shiftMode&Y.StiShiftMode.OnlyInWidthOfComponent)&&(F<T||E<=F))continue;R<=N&&(N=0,null!=c.get(x)&&(N=c.get(x)),0<I&&0!=(x.shiftMode&Y.StiShiftMode.IncreasingSize)&&c.set(x,Math.max(I+D,N)),I<0&&0!=(x.shiftMode&Y.StiShiftMode.DecreasingSize)&&c.set(x,Math.min(I+D,N)))}}v++}}catch(t){n={error:t}}finally{try{B&&!B.done&&(i=w.return)&&i.call(w)}finally{if(n)throw n.error}}}try{for(var k=__values(s.components.list),M=k.next();!M.done;M=k.next()){var y=M.value,O=p.get(y),_=y.as(Y.IStiAutoWidth),j;if(null!=_&&_.autoWidth){var G=J.Left,H=_.stimulsoft.as(Y.IStiTextHorAlignment);if(null!=H)switch(H.horAlignment){case W.Left:G=J.Left;break;case W.Center:case W.Width:G=J.Center;break;case W.Right:G=J.Right;break}var _=_.stimulsoft.as(Y.IStiHorAlignment);if(null!=_)switch(_.horAlignment){case J.Left:G=J.Left;break;case J.Center:G=J.Center;break;case J.Right:G=J.Right;break}var _=y.left,j;switch(G){case J.Left:y.width=O.width;break;case J.Center:var Q=O.width;y.left+=(y.width-Q)/2,y.width=Q;break;case J.Right:var Q=O.width;y.left=y.right-Q,y.width=Q;break}0<=_&&y.left<0&&(j=y.width,y.left=0,y.width=j)}if(y.canGrow&&(j=Math.max(O.width,y.width),y.width!=j&&(y.width=j),j=Math.max(O.height,y.height),y.height!=j&&(y.height=j)),y.canShrink&&(y.is(Y.StiContainer)&&y.parentComponentIsBand||(y.width=Math.min(O.width,y.width))),y.height=Math.min(O.height,y.height),this.checkContainerGrowToHeight(y),0==(y.shiftMode&Y.StiShiftMode.IncreasingSize)&&0==(y.shiftMode&Y.StiShiftMode.DecreasingSize))continue;null!=c.get(y)&&(y.top+=c.get(y))}}catch(t){o={error:t}}finally{try{M&&!M.done&&(a=k.return)&&a.call(k)}finally{if(o)throw o.error}}if((this.componentPlacedOnBand(s)||s.parentComponentIsBand)&&(d={ref:m=!1},g=s.getActualSize(!0,d),m=d.ref,s.parentComponentIsBand&&!s.parentComponentIsCrossBand||(s.width=g.width),s.height=g.height,m&&(d={ref:m},g=s.getActualSize(!1,d),m=d.ref,s.parentComponentIsBand&&!s.parentComponentIsCrossBand||(s.width=g.width),s.height=g.height),this.checkContainerGrowToHeight(s)),s.is(Y.StiPage)&&s.unlimitedHeight){var L=s,m,d={ref:m=!1},g=s.getActualSize(!0,d);m=d.ref;while(g.height>L.height)L.segmentPerHeight++}null!=l&&l.set(t,null)},z.componentPlacedOnBand=function(t){var e=t.parent;while(1==1){if(null==e)return!1;if(e.is(Y.StiBand))return!0;if(e.is(Y.StiPage))return!1;if(e.parentComponentIsBand)return!0;e=e.parent}return!1},z.checkContainerGrowToHeight=function(t){var e,r,n=t.as(Y.StiContainer);if(null!=n)try{for(var i=__values(n.components.list),o=i.next();!o.done;o=i.next()){var a=o.value;a.growToHeight&&a.isEnabled&&(a.height=n.height-a.top,this.checkContainerGrowToHeight(a))}}catch(t){e={error:t}}finally{try{o&&!o.done&&(r=i.return)&&r.call(i)}finally{if(e)throw e.error}}},z.notCheckSizeMark="*NotCheckSizeMark*",r=z,Y.StiContainerHelper=r}(Stimulsoft=Stimulsoft||{}),function(t){var e,r,n,i;r=e=t.Report||(t.Report={}),(i=n=r.Components||(r.Components={})).IStiBreakable=new t.System.Interface("IStiBreakable")}(Stimulsoft=Stimulsoft||{}),function(t){var e,r,n,i,o,a,s;function l(){var t=null!==s&&s.apply(this,arguments)||this;return t._rightToLeft=!1,t._columnGaps=0,t._columnWidth=0,t._columns=0,t}r=e=t.Report||(t.Report={}),i=n=r.Components||(r.Components={}),o=t.Base.JsonReportObject.IStiJsonReportObject,a=t.Report.Components.IStiBreakable,s=i.StiContainer,__extends(l,s),l.prototype.implements=function(){return l.ImplementsStiPanel||(l.ImplementsStiPanel=s.prototype.implements.call(this).concat([a,o])),l.ImplementsStiPanel},l.prototype.saveToJsonObject=function(t){var t=s.prototype.saveToJsonObject.call(this,t);return t.addPropertyBool("RightToLeft",this.rightToLeft),t.addPropertyNumber("ColumnGaps",this.columnGaps,0),t.addPropertyNumber("ColumnWidth",this.columnWidth,0),t.addPropertyNumber("Columns",this.columns),t},l.prototype.loadFromJsonObject=function(t){var e,r;s.prototype.loadFromJsonObject.call(this,t);try{for(var n=__values(t.properties()),i=n.next();!i.done;i=n.next()){var o=i.value;switch(o.name){case"RightToLeft":this._rightToLeft=o.value.stimulsoft.toBoolean();break;case"ColumnGaps":this._columnGaps=o.value.stimulsoft.toNumber();break;case"ColumnWidth":this._columnWidth=o.value.stimulsoft.toNumber();break;case"Columns":this._columns=o.value.stimulsoft.toNumber();break}}}catch(t){e={error:t}}finally{try{i&&!i.done&&(r=n.return)&&r.call(n)}finally{if(e)throw e.error}}},l.prototype.loadFromXml=function(t,e){s.prototype.loadFromXml.call(this,t,e);for(var r=0;r<t.childNodes.length;r++){var n=t.childNodes[r];switch(n.nodeName){case"RightToLeft":this._rightToLeft=n.textContent.stimulsoft.toBoolean();break;case"ColumnGaps":this._columnGaps=n.textContent.stimulsoft.toNumber();break;case"ColumnWidth":this._columnWidth=n.textContent.stimulsoft.toNumber();break;case"Columns":this._columns=n.textContent.stimulsoft.toNumber();break}}},Object.defineProperty(l.prototype,"rightToLeft",{get:function(){return this._rightToLeft},set:function(t){this._rightToLeft!=t&&(this._rightToLeft=t)},enumerable:!1,configurable:!0}),Object.defineProperty(l.prototype,"columnGaps",{get:function(){return this._columnGaps},set:function(t){this._columnGaps!=t&&(this._columnGaps=t)},enumerable:!1,configurable:!0}),Object.defineProperty(l.prototype,"columnWidth",{get:function(){return this._columnWidth},set:function(t){this.columnWidth!=t&&(this._columnWidth=t)},enumerable:!1,configurable:!0}),Object.defineProperty(l.prototype,"columns",{get:function(){return this._columns},set:function(t){this._columns!=t&&(this._columns=t)},enumerable:!1,configurable:!0}),l.prototype.getColumnWidth=function(){var t=this.columnWidth;if(0==t){if(0==this.columns)return this.width;t=this.width/this.columns-this.columnGaps}return t},r=l,i.StiPanel=r}(Stimulsoft=Stimulsoft||{}),function(t){var e,r,n,t,i;function o(){return null!==i&&i.apply(this,arguments)||this}r=e=t.Report||(t.Report={}),t=n=r.Events||(r.Events={}),i=t.StiEvent,__extends(o,i),o.prototype.toString=function(){return"FillParameters"},r=o,t.StiFillParametersEvent=r}(Stimulsoft=Stimulsoft||{}),function(o){var t,e,r;e=t=o.Report||(o.Report={}),function(t){var e=o.System.EventHandler,r=o.System.EventArgs;t.StiGetSubReportEventHandler=new e("sender: any, e: StiGetSubReportEventArgs");var r=(__extends(i,n=r),i),n;function i(t){var e=n.call(this)||this;return e.subReportName=t,e}t.StiGetSubReportEventArgs=r}(r=e.Events||(e.Events={}))}(Stimulsoft=Stimulsoft||{}),function(o){var t,e,r,n,i,a,s;function l(){}e=t=o.Report||(o.Report={}),n=r=e.Helpers||(e.Helpers={}),i=o.System.StiString,a=o.Base.Localization.StiLocalization,s=o.System.Drawing.Image,l.getBytes=function(t,e){var r=this.getResource(t,this.getResourceNameFromHyperlink(e));if(null!=r)return r.content;var t=this.getVariable(t,this.getVariableNameFromHyperlink(e));if(null!=t)return t.valueObject;var n=this.getFileNameFromHyperlink(e);if(null!=n)try{return o.System.IO.File.getFile(n,!0)}catch(t){}return o.System.IO.File.getFile(e,!0)},l.getImage=function(t,e){var r=this.getResource(t,this.getResourceNameFromHyperlink(e));if(null!=r)return r.getResourceAsImage();var n=this.getVariable(t,this.getVariableNameFromHyperlink(e));if(null!=n)return n.valueObject;var r=this.getDataColumnNameFromHyperlink(e);if(null!=r){var n=o.Report.Dictionary.StiDataColumn.getDataSourceFromDataColumn(t.dictionary,r);if(null!=n){n.isConnected||t.dictionary.connect(!0);var r=o.Report.Dictionary.StiDataColumn.getDataFromDataColumn(t.dictionary,r);return o.Report.Components.StiImageHelper.getImageFromObject(r)}}var i=this.getFileNameFromHyperlink(e);if(null!=i)try{return s.fromFile(i)}catch(t){}return s.fromFile(e)},l.getString=function(t,e){var r=this.getResource(t,this.getResourceNameFromHyperlink(e));if(null!=r)return i.fromBytesArray(r.content);var t=this.getVariable(t,this.getVariableNameFromHyperlink(e));if(null!=t)return t.valueObject;var n=this.getFileNameFromHyperlink(e);if(null!=n)try{return o.System.IO.File.getFile(n)}catch(t){}return o.System.IO.File.getFile(e)},l.getResource=function(t,e){if(null==t||i.isNullOrWhiteSpace(e))return null;return e=e.toLowerCase().trim(),t.dictionary.resources.toList().firstOrDefault(function(t){return null!=t.name&&t.name.toLowerCase().trim()==e})},l.getVariable=function(t,e){if(null==t||i.isNullOrWhiteSpace(e))return null;return e=e.toLowerCase().trim(),t.dictionary.variables.toList().firstOrDefault(function(t){return null!=t.name&&t.name.toLowerCase().trim()==e})},l.getServerNameFromHyperlink=function(t){if(!this.isServerHyperlink(t))return null;return t.stimulsoft.remove(0,this.serverIdent.length)},l.getResourceNameFromHyperlink=function(t){if(!this.isResourceHyperlink(t))return null;return t.stimulsoft.remove(0,this.resourceIdent.length)},l.getVariableNameFromHyperlink=function(t){if(!this.isVariableHyperlink(t))return null;return t.stimulsoft.remove(0,this.variableIdent.length)},l.getDataColumnNameFromHyperlink=function(t){if(!this.isDataColumnHyperlink(t))return null;return t.stimulsoft.remove(0,this.dataColumnIdent.length)},l.getRealDataColumnFromHyperlink=function(t,e){var e=l.getDataColumnNameFromHyperlink(e),r;if(i.isNullOrWhiteSpace(e))return null;if(null==o.Report.Dictionary.StiDataColumn.getDataSourceFromDataColumn(t.dictionary,e))return null;var t=o.Report.Dictionary.StiDataColumn.getColumnNameFromDataColumn(t.dictionary,e);if(i.isNullOrWhiteSpace(t))return null;return e},l.getFileNameFromHyperlink=function(t){if(!this.isFileHyperlink(t))return null;return t.stimulsoft.remove(0,this.fileIdent.length)},l.isServerHyperlink=function(t){return!i.isNullOrWhiteSpace(t)&&t.toLowerCase().stimulsoft.startsWith(this.serverIdent)},l.isResourceHyperlink=function(t){return!i.isNullOrWhiteSpace(t)&&t.toLowerCase().stimulsoft.startsWith(this.resourceIdent)},l.isVariableHyperlink=function(t){return!i.isNullOrWhiteSpace(t)&&t.toLowerCase().stimulsoft.startsWith(this.variableIdent)},l.isDataColumnHyperlink=function(t){return!i.isNullOrWhiteSpace(t)&&t.toLowerCase().stimulsoft.startsWith(this.dataColumnIdent)},l.isFileHyperlink=function(t){return!i.isNullOrWhiteSpace(t)&&t.toLowerCase().stimulsoft.startsWith(this.fileIdent)},l.createResourceName=function(t){return i.format("{0}{1}",this.resourceIdent,t)},l.createVariableName=function(t){return i.format("{0}{1}",this.variableIdent,t)},l.createFileName=function(t){return i.format("{0}{1}",this.fileIdent,t)},l.hyperlinkToString=function(t){if(this.isResourceHyperlink(t))return i.format("{0}: {1}",a.get("PropertyMain","Resource"),this.getResourceNameFromHyperlink(t));if(this.isVariableHyperlink(t))return i.format("{0}: {1}",a.get("PropertyMain","Variable"),this.getVariableNameFromHyperlink(t));if(this.isServerHyperlink(t))return i.format("Server: {0}",this.getVariableNameFromHyperlink(t));if(this.isFileHyperlink(t))return i.format("{0}: {1}",a.get("PropertyMain","File"),this.getFileNameFromHyperlink(t));return i.format("{0}: {1}",a.get("PropertyMain","Hyperlink"),t)},l.serverIdent="stimulsoft-server://",l.resourceIdent="resource://",l.variableIdent="variable://",l.dataColumnIdent="datacolumn://",l.fileIdent="file://",e=l,n.StiHyperlinkProcessor=e}(Stimulsoft=Stimulsoft||{}),function(c){var t,p,e,r,h,n,s,l,i,o,a,u,m,d;function g(){var t=null!==d&&d.apply(this,arguments)||this;return t._keepSubReportTogether=!1,t._subReportPageGuid=null,t._subReportUrl=null,t._parameters=new r.StiParametersCollection,t}p=t=c.Report||(c.Report={}),r=e=p.Components||(p.Components={}),h=c.System.StiString,n=c.Report.Events.StiFillParametersEventHandler,s=c.Report.Events.StiGetSubReportEventArgs,l=c.Report.Events.StiFillParametersEvent,i=c.Base.StiJsonSaveMode,o=c.Base.StiGuidUtils,a=c.Report.Expressions.StiExpression,u=c.Report.Helpers.StiHyperlinkProcessor,d=r.StiContainer,__extends(g,d),g.prototype.saveToJsonObject=function(t){var e=d.prototype.saveToJsonObject.call(this,t);return e.removeProperty("CanShrink"),e.removeProperty("CanGrow"),e.removeProperty("GrowToHeight"),e.addPropertyJObject("FillParametersEvent",this.fillParametersEvent.saveToJsonObject(t)),e.addPropertyBool("KeepSubReportTogether",this.keepSubReportTogether),e.addPropertyStringNullOrEmpty("SubReportPageGuid",this.subReportPageGuid),e.addPropertyStringNullOrEmpty("SubReportUrl",this.subReportUrl),t==i.Report&&e.addPropertyJObject("Parameters",this.parameters.saveToJsonObject(t)),e},g.prototype.loadFromJsonObject=function(t){var e,r;d.prototype.loadFromJsonObject.call(this,t);try{for(var n=__values(t.properties()),i=n.next();!i.done;i=n.next()){var o=i.value;switch(o.name){case"FillParametersEvent":var a=new l;a.loadFromJsonObject(o.value),this.fillParametersEvent=a;break;case"KeepSubReportTogether":this._keepSubReportTogether=o.value.stimulsoft.toBoolean();break;case"SubReportPageGuid":this._subReportPageGuid=o.value;break;case"SubReportUrl":this.subReportUrl=o.value;break;case"Parameters":this._parameters.loadFromJsonObject(o.value);break}}}catch(t){e={error:t}}finally{try{i&&!i.done&&(r=n.return)&&r.call(n)}finally{if(e)throw e.error}}},g.prototype.loadFromXml=function(t,e){d.prototype.loadFromXml.call(this,t,e);for(var r=0;r<t.childNodes.length;r++){var n=t.childNodes[r];switch(n.nodeName){case"FillParametersEvent":break;case"KeepSubReportTogether":this._keepSubReportTogether=n.textContent.stimulsoft.toBoolean();break;case"SubReportPageGuid":this._subReportPageGuid=n.textContent;break;case"SubReportUrl":var i=new a;i.loadFromXml(n),this.subReportUrl=i.value;break;case"Parameters":this._parameters.loadFromXml(n);break}}},Object.defineProperty(g.prototype,"componentType",{get:function(){return r.StiComponentType.Simple},enumerable:!1,configurable:!0}),g.prototype.clone=function(){var t;return this.stimulsoft.memberwiseClone()},g.prototype.convert=function(t,e,r){void 0===r&&(r=!1),this.left=e.convertFromHInches(t.convertToHInches(this.left)),this.top=e.convertFromHInches(t.convertToHInches(this.top)),d.prototype.setWidth.call(this,e.convertFromHInches(t.convertToHInches(this.width))),this.height=e.convertFromHInches(t.convertToHInches(this.height)),r||(this.minSize=e.convertSizeFromHInches(t.convertSizeToHInches(this.minSize)),this.maxSize=e.convertSizeFromHInches(t.convertSizeToHInches(this.maxSize)))},Object.defineProperty(g.prototype,"width",{get:function(){return d.prototype.getWidth.call(this)},set:function(t){d.prototype.setWidth.call(this,t),this.updateSubReportPageWidth()},enumerable:!1,configurable:!0}),g.prototype.setClientRectangle=function(t){d.prototype.setClientRectangle.call(this,t),this.updateSubReportPageWidth()},g.prototype.updateSubReportPageWidth=function(){var t;null!=this.subReportPage&&null!=this.report&&(null!=this.page&&this.subReportPage.orientation!=this.page.orientation&&(t=this.subReportPage.pageHeight,this.subReportPage.orientation=this.page.orientation,this.subReportPage.pageHeight=t,this.subReportPage.margins=new r.StiMargins(this.subReportPage.margins.top,this.subReportPage.margins.bottom,this.subReportPage.margins.left,this.subReportPage.margins.right)),this.subReportPage.width=this.width)},g.prototype.getExternalSubReport=function(){var e,t,r=this.getSubReportFromUrl(this.subReportUrl),n;if(null==r&&(r=this.getSubReportFromFile(this.subReportUrl)),null==r?(n=new s(this.name),this.report.invokeGetSubReport(n),r=n.report):(r.onBeginProcessData=this.report.onBeginProcessData,r.onEndProcessData=this.report.onEndProcessData,r.onBeginRender=this.report.onBeginRender,r.onRendering=this.report.onRendering,r.onEndRender=this.report.onEndRender),null!=r&&r.reportUnit!=this.report.reportUnit)if(r.isDocument)try{for(var i=__values(r.renderedPages.list),o=i.next(),a;!o.done;o=i.next()){o.value.convert(r.unit,this.report.unit)}}catch(t){e={error:t}}finally{try{o&&!o.done&&(t=i.return)&&t.call(i)}finally{if(e)throw e.error}}else r.reportUnit=this.report.reportUnit;return r},g.prototype.getSubReportFromUrl=function(e){try{if(!h.isNullOrEmpty(e)){var t=new p.StiReport,r=u.getResourceNameFromHyperlink(e);if(null!=r){r=r.toLowerCase().trim();var n=this.report.dictionary.resources.toList().firstOrDefault(function(t){return null!=t.name&&t.name.toLowerCase().trim()==r});if(null!=n)switch(n.type){case p.Dictionary.StiResourceType.Report:t.load(n.content);break;case p.Dictionary.StiResourceType.ReportSnapshot:t.loadDocument(n.content);break}}else(e=e.stimulsoft.replaceAll("file://","")).stimulsoft.endsWith(".mdc")||e.stimulsoft.endsWith(".mdz")?t.loadDocumentFile(e):t.loadFile(e);return t}}catch(t){var i=h.format("SubReport can't be loaded from URL '{0}' in subreport component {1}!",e,this.name);p.StiLogService.write(this.stimulsoft.getType(),i),p.StiLogService.write(this.stimulsoft.getType(),t)}return null},g.prototype.getSubReportFromFile=function(t){return this.getSubReportFromUrl(t)},g.prototype.onFillParameters=function(t){},g.prototype.invokeFillParameters=function(t,e){var r,n;try{this.onFillParameters(e);var i=this.events.get(g.eventFillParameters);if(null!=i)try{i(t,e)}catch(e){}if(null!=this.report&&this.report.calculationMode==p.StiCalculationMode.Interpretation&&null!=this.parameters&&0<this.parameters.count)try{for(var o=__values(this.parameters.list),a=o.next();!a.done;a=o.next()){var s=a.value,l;h.isNullOrEmpty(s.name)||null==s.expression||h.isNullOrEmpty(s.expression)||(l=c.Report.Engine.StiParser.StiParser.parseTextValue("{"+s.expression+"}",this),e.value.push({key:s.name,value:l}))}}catch(t){r={error:t}}finally{try{a&&!a.done&&(n=o.return)&&n.call(o)}finally{if(r)throw r.error}}}catch(t){var u=h.format("Expression in parameters of '{0}' can't be evaluated!",this.name);p.StiLogService.write(this.stimulsoft.getType(),u),p.StiLogService.write(this.stimulsoft.getType(),t)}},Object.defineProperty(g.prototype,"fillParametersEvent",{get:function(){return new l(this)},set:function(t){null!=t&&t.set(this,t.script),this.events.set(g.eventFillParameters,n.create(t.script,this.report))},enumerable:!1,configurable:!0}),Object.defineProperty(g.prototype,"useExternalReport",{get:function(){return!1},enumerable:!1,configurable:!0}),Object.defineProperty(g.prototype,"keepSubReportTogether",{get:function(){return this._keepSubReportTogether},set:function(t){this._keepSubReportTogether=t},enumerable:!1,configurable:!0}),Object.defineProperty(g.prototype,"subReportPage",{get:function(){var e,t;if(null==this.report)return null;try{for(var r=__values(this.report.pages.list),n=r.next();!n.done;n=r.next()){var i=n.value;if(i.guid==this._subReportPageGuid)return i}}catch(t){e={error:t}}finally{try{n&&!n.done&&(t=r.return)&&t.call(r)}finally{if(e)throw e.error}}return null},set:function(t){null==t?this._subReportPageGuid=null:(null==t.guid&&(t.guid=o.newGuid()),this._subReportPageGuid=t.guid,this.updateSubReportPageWidth())},enumerable:!1,configurable:!0}),Object.defineProperty(g.prototype,"subReportPageGuid",{get:function(){return this._subReportPageGuid},set:function(t){this._subReportPageGuid=t},enumerable:!1,configurable:!0}),Object.defineProperty(g.prototype,"subReportUrl",{get:function(){return this._subReportUrl},set:function(t){this._subReportUrl=t},enumerable:!1,configurable:!0}),Object.defineProperty(g.prototype,"parameters",{get:function(){return this._parameters},set:function(t){this._parameters=t},enumerable:!1,configurable:!0}),g.getSubReportForPage=function(t){var e,r;if(null==t)return null;var n=t.report.getComponents();try{for(var i=__values(n.list),o=i.next();!o.done;o=i.next()){var a=o.value;if(a.is(g)&&a.subReportPage==t)return a}}catch(t){e={error:t}}finally{try{o&&!o.done&&(r=i.return)&&r.call(i)}finally{if(e)throw e.error}}return null},g.eventFillParameters={},m=g,r.StiSubReport=m}(Stimulsoft=Stimulsoft||{}),function(t){var e,r,n,s,i,o,l,a,u;function c(t,e,r,n,i,o,a){void 0===t&&(t=null),void 0===e&&(e=""),void 0===r&&(r=s.StiFilterCondition.EqualTo),void 0===n&&(n=""),void 0===i&&(i=""),void 0===o&&(o=s.StiFilterDataType.String),void 0===a&&(a=""),this._condition=s.StiFilterCondition.EqualTo,this._dataType=s.StiFilterDataType.String,this._column="",this._item=s.StiFilterItem.Value,this.valueObj1="",this.valueObj2="",this._expression="",this._item=null==t?s.StiFilterItem.Value:t,this._column=e,this._condition=r,this.valueObj1=n,this.valueObj2=i,this._dataType=o,this._expression=a}r=e=t.Report||(t.Report={}),s=n=r.Components||(r.Components={}),i=t.Base.JsonReportObject.IStiJsonReportObject,o=t.Base.StiJson,l=t.System.Enum,a=t.System.ICloneable,u=t.Report.Expressions.StiExpression,c.prototype.implements=function(){return[a,i]},c.prototype.saveToJsonObject=function(t){var e=new o;return e.addPropertyIdent("Ident",this.stimulsoft.getType().stimulsoft.getTypeName()),e.addPropertyEnum("Condition",s.StiFilterCondition,this.condition,s.StiFilterCondition.EqualTo),e.addPropertyEnum("DataType",s.StiFilterDataType,this.dataType,s.StiFilterDataType.String),e.addPropertyStringNullOrEmpty("Column",this.column),e.addPropertyEnum("Item",s.StiFilterItem,this.item,s.StiFilterItem.Value),e.addPropertyStringNullOrEmpty("Value1",this.value1),e.addPropertyStringNullOrEmpty("Value2",this.value2),e.addPropertyJObject("Expression",new u(this.expression).saveToJsonObject(t)),e},c.prototype.loadFromJsonObject=function(t){var e,r;try{for(var n=__values(t.properties()),i=n.next();!i.done;i=n.next()){var o=i.value;switch(o.name){case"Condition":this._condition=l.parse(s.StiFilterCondition,o.value);break;case"DataType":this._dataType=l.parse(s.StiFilterDataType,o.value);break;case"Column":this._column=o.value;break;case"Item":this._item=l.parse(s.StiFilterItem,o.value);break;case"Value1":this.valueObj1=o.value;break;case"Value2":this.valueObj2=o.value;break;case"Expression":var a=new u;a.loadFromJsonObject(o.value),this._expression=a.value;break}}}catch(t){e={error:t}}finally{try{i&&!i.done&&(r=n.return)&&r.call(n)}finally{if(e)throw e.error}}},c.prototype.clone=function(){return this.stimulsoft.memberwiseClone()},c.prototype.memberwiseClone=function(){var t=new(this.stimulsoft.getType());return t._item=this._item,t._column=this._column,t._condition=this._condition,t.valueObj1=this.valueObj1,t.valueObj2=this.valueObj1,t._dataType=this._dataType,t._expression=this._expression,t},Object.defineProperty(c.prototype,"condition",{get:function(){return this._condition},set:function(t){this._condition=t},enumerable:!1,configurable:!0}),Object.defineProperty(c.prototype,"dataType",{get:function(){return this._dataType},set:function(t){this._dataType=t},enumerable:!1,configurable:!0}),Object.defineProperty(c.prototype,"column",{get:function(){return this._column},set:function(t){this._column=t},enumerable:!1,configurable:!0}),Object.defineProperty(c.prototype,"item",{get:function(){return this._item},set:function(t){this._item=t},enumerable:!1,configurable:!0}),Object.defineProperty(c.prototype,"value1",{get:function(){return this.valueObj1},set:function(t){this.valueObj1=t},enumerable:!1,configurable:!0}),Object.defineProperty(c.prototype,"value2",{get:function(){return this.valueObj2},set:function(t){this.valueObj2=t},enumerable:!1,configurable:!0}),Object.defineProperty(c.prototype,"expression",{get:function(){return this._expression},set:function(t){this._expression=t},enumerable:!1,configurable:!0}),r=c,s.StiFilter=r}(Stimulsoft=Stimulsoft||{}),function(t){var e,t,r,s,l;function n(t,e,r,n,i,o,a){void 0===t&&(t=s.StiFilterItem.Value),void 0===e&&(e=""),void 0===r&&(r=s.StiFilterCondition.EqualTo),void 0===n&&(n=""),void 0===i&&(i=""),void 0===o&&(o=s.StiFilterDataType.String),void 0===a&&(a="");var a=l.call(this,t,e,r,n,i,o,a)||this;return a._tag=null,a}t=e=t.Report||(t.Report={}),s=r=t.Components||(t.Components={}),l=s.StiFilter,__extends(n,l),n.prototype.implements=function(){return l.prototype.implements.call(this)},Object.defineProperty(n.prototype,"tag",{get:function(){return this._tag},set:function(t){this._tag=t},enumerable:!1,configurable:!0}),t=n,s.StiBaseCondition=t}(Stimulsoft=Stimulsoft||{}),function(g){var t,f,e,S,y,A,b,r,a,s,n,h;function i(t,e,r,n,i,o,a,s,l,u,c){void 0===t&&(t=""),void 0===e&&(e=S.StiColorScaleType.Color2),void 0===r&&(r=A.red),void 0===n&&(n=A.yellow),void 0===i&&(i=A.green),void 0===o&&(o=S.StiMinimumType.Auto),void 0===a&&(a=0),void 0===s&&(s=S.StiMidType.Auto),void 0===l&&(l=50),void 0===u&&(u=S.StiMaximumType.Auto),void 0===c&&(c=100);var p=h.call(this)||this;return p._scaleType=S.StiColorScaleType.Color2,p._minimumColor=A.red,p._midColor=A.yellow,p._maximumColor=A.green,p._minimumValue=0,p._midType=0,p._midValue=50,p._maximumValue=100,p.minimum=null,p.maximum=null,p.column=t,p.scaleType=e,p.minimumColor=r,p.midColor=n,p.maximumColor=i,p.minimumType=o,p.minimumValue=a,p.midType=s,p.midValue=l,p.maximumType=u,p.maximumValue=c,p}f=t=g.Report||(g.Report={}),S=e=f.Components||(f.Components={}),y=g.System.StiString,A=g.System.Drawing.Color,b=g.Base.Drawing.StiSolidBrush,r=g.Base.JsonReportObject.IStiJsonReportObject,a=g.Base.StiJsonReportObjectHelper,s=g.System.Enum,h=S.StiBaseCondition,__extends(i,h),i.prototype.implements=function(){return h.prototype.implements.call(this).concat([S.IStiIndicatorCondition,r])},i.prototype.saveToJsonObject=function(t){var t=h.prototype.saveToJsonObject.call(this,t);return t.addPropertyEnum("ScaleType",S.StiColorScaleType,this.scaleType,S.StiColorScaleType.Color2),t.addPropertyStringNullOrEmpty("MinimumColor",a.Serialize.jColor(this.minimumColor,A.red)),t.addPropertyStringNullOrEmpty("MidColor",a.Serialize.jColor(this.midColor,A.yellow)),t.addPropertyStringNullOrEmpty("MaximumColor",a.Serialize.jColor(this.maximumColor,A.green)),t.addPropertyEnum("MinimumType",S.StiMinimumType,this.minimumType,S.StiMinimumType.Auto),t.addPropertyNumber("MinimumValue",this.minimumValue,0),t.addPropertyEnum("MidType",S.StiMidType,this.midType,S.StiMidType.Auto),t.addPropertyNumber("MidValue",this.midValue,50),t.addPropertyEnum("MaximumType",S.StiMaximumType,this.maximumType,S.StiMaximumType.Auto),t.addPropertyNumber("MaximumValue",this.maximumValue,100),t},i.prototype.loadFromJsonObject=function(t){var e,r;h.prototype.loadFromJsonObject.call(this,t);try{for(var n=__values(t.properties()),i=n.next();!i.done;i=n.next()){var o=i.value;switch(o.name){case"ScaleType":this._scaleType=s.parse(S.StiColorScaleType,o.value);break;case"MinimumColor":this._minimumColor=a.Deserialize.color(o.value);break;case"MidColor":this._midColor=a.Deserialize.color(o.value);break;case"MaximumColor":this._maximumColor=a.Deserialize.color(o.value);break;case"MinimumType":this._minimumType=s.parse(S.StiMinimumType,o.value);break;case"MinimumValue":this._minimumValue=o.value.stimulsoft.toNumber();break;case"MidType":this._midType=s.parse(S.StiMidType,o.value);break;case"MidValue":this._midValue=o.value.stimulsoft.toNumber();break;case"MaximumType":this._maximumType=s.parse(S.StiMaximumType,o.value);break;case"MaximumValue":this._maximumValue=o.value.stimulsoft.toNumber();break}}}catch(t){e={error:t}}finally{try{i&&!i.done&&(r=n.return)&&r.call(n)}finally{if(e)throw e.error}}},i.prototype.loadFromXml=function(t,e){for(var r=0;r<t.childNodes.length;r++){var n=t.childNodes[r];switch(n.nodeName){case"ScaleType":this._scaleType=s.parse(S.StiColorScaleType,n.textContent);break;case"MinimumColor":this._minimumColor=g.System.Text.StiReportObjectStringConverter.convertStringToColor(n.textContent);break;case"MidColor":this._midColor=g.System.Text.StiReportObjectStringConverter.convertStringToColor(n.textContent);break;case"MaximumColor":this._maximumColor=g.System.Text.StiReportObjectStringConverter.convertStringToColor(n.textContent);break;case"MinimumType":this._minimumType=s.parse(S.StiMinimumType,n.textContent);break;case"MinimumValue":this._minimumValue=n.textContent.stimulsoft.toNumber();break;case"MidType":this._midType=s.parse(S.StiMidType,n.textContent);break;case"MidValue":this._midValue=n.textContent.stimulsoft.toNumber();break;case"MaximumType":this._maximumType=s.parse(S.StiMaximumType,n.textContent);break;case"MaximumValue":this._maximumValue=n.textContent.stimulsoft.toNumber();break}}},i.prototype.createIndicator=function(t){if(y.isNullOrEmpty(this.column))return null;if(null==this.minimum||null==this.maximum){this.minimum=0,this.maximum=0;var e=g.Report.Dictionary.StiDataColumn.getDataSourceFromDataColumn(t.report.dictionary,this.column);if(null!=e){e.saveState("Indicator"),e.first();var r=0;while(!e.isEof){var n=g.Report.Dictionary.StiDataColumn.getDataFromDataColumn(t.report.dictionary,this.column),i=0;try{i=+f.StiReport.changeType(n,Number.stimulsoft.getType())}catch(t){g.System.StiError.showError(t,!1)}0==r?(this.minimum=i,this.maximum=i):(this.minimum=Math.min(this.minimum,i),this.maximum=Math.max(this.maximum,i)),r++,e.next()}e.restoreState("Indicator")}if(null==e){var o=g.Report.Dictionary.StiDataColumn.getBusinessObjectFromDataColumn(t.report.dictionary,this.column);if(null==o)return null;o.saveState("Indicator"),o.createEnumerator();var r=0;while(!o.isEof){var n=g.Report.Dictionary.StiDataColumn.getDataFromDataColumn(t.report.dictionary,this.column),i=0;try{i=+f.StiReport.changeType(n,Number.stimulsoft.getType())}catch(t){g.System.StiError.showError(t,!1)}0==r?(this.minimum=i,this.maximum=i):(this.minimum=Math.min(this.minimum,i),this.maximum=Math.max(this.maximum,i)),r++,o.next()}o.restoreState("Indicator")}}var a=this.minimum,s=this.maximum,l=s-a,u=this.minimumValue,u=Math.min(u,100);u=Math.max(u,0);var c=this.maximumValue,c=Math.min(c,100);(c=Math.max(c,0))<u&&(u=c);var p=this.midValue;this.minimumType==S.StiMinimumType.Value?a=this.minimumValue:this.minimumType==S.StiMinimumType.Percent&&(a+=l*u/100),this.maximumType==S.StiMaximumType.Value?s=this.maximumValue:this.maximumType==S.StiMaximumType.Percent&&(s=a+l*c/100);var c=(s-a)/2;this.midType==S.StiMidType.Value?c=this.midValue:this.midType==S.StiMidType.Percent&&(c=a+l*p/100),c<a&&(c=a),s<c&&(c=s);var h=g.Report.Dictionary.StiDataColumn.getDataFromDataColumn(t.report.dictionary,this.column),m=0;try{m=+f.StiReport.changeType(h,Number.stimulsoft.getType())}catch(t){g.System.StiError.showError(t,!1)}s<m&&(m=s),m<a&&(m=a);var l=0,d,p,p=this.scaleType==S.StiColorScaleType.Color2?(l=(m-a)/(s-a),d=this.minimumColor,this.maximumColor):c<m?(l=(m-c)/(s-c),d=this.midColor,this.maximumColor):(l=m/(c-a),d=this.minimumColor,this.midColor),s=(p.a-d.a)*l+d.a,c=(p.r-d.r)*l+d.r,a=(p.g-d.g)*l+d.g,d=(p.b-d.b)*l+d.b,s=Math.round(Math.min(s,255)),c=Math.round(Math.min(c,255)),a=Math.round(Math.min(a,255)),d=Math.round(Math.min(d,255));return t.brush=new b(A.fromArgb(s,c,a,d)),null},i.prototype.reset=function(){this.minimum=null,this.maximum=null},Object.defineProperty(i.prototype,"scaleType",{get:function(){return this._scaleType},set:function(t){this._scaleType=t},enumerable:!1,configurable:!0}),Object.defineProperty(i.prototype,"minimumColor",{get:function(){return this._minimumColor},set:function(t){this._minimumColor=t},enumerable:!1,configurable:!0}),Object.defineProperty(i.prototype,"midColor",{get:function(){return this._midColor},set:function(t){this._midColor=t},enumerable:!1,configurable:!0}),Object.defineProperty(i.prototype,"maximumColor",{get:function(){return this._maximumColor},set:function(t){this._maximumColor=t},enumerable:!1,configurable:!0}),Object.defineProperty(i.prototype,"minimumType",{get:function(){return this._minimumType},set:function(t){this._minimumType=t},enumerable:!1,configurable:!0}),Object.defineProperty(i.prototype,"minimumValue",{get:function(){return this._minimumValue},set:function(t){this._minimumValue=t},enumerable:!1,configurable:!0}),Object.defineProperty(i.prototype,"midType",{get:function(){return this._midType},set:function(t){this._midType=t},enumerable:!1,configurable:!0}),Object.defineProperty(i.prototype,"midValue",{get:function(){return this._midValue},set:function(t){this._midValue=t},enumerable:!1,configurable:!0}),Object.defineProperty(i.prototype,"maximumType",{get:function(){return this._maximumType},set:function(t){this._maximumType=t},enumerable:!1,configurable:!0}),Object.defineProperty(i.prototype,"maximumValue",{get:function(){return this._maximumValue},set:function(t){this._maximumValue=t},enumerable:!1,configurable:!0}),i.prototype.equals=function(t){var t=t;if(null==t)return!1;return this.column==t.column&&this.scaleType==t.scaleType&&this.minimumColor.equals(t.minimumColor)&&this.midColor.equals(t.midColor)&&this.maximumColor.equals(t.maximumColor)&&this.minimumType==t.minimumType&&this.minimumValue==t.minimumValue&&this.midType==t.midType&&this.midValue==t.midValue&&this.maximumType==t.maximumType&&this.maximumValue==t.maximumValue},n=i,S.StiColorScaleCondition=n}(Stimulsoft=Stimulsoft||{}),function(i){var t,e,r,A,n,b,C,v,o,a,s,w;function l(t,e,r,n,i,o,a,s,l,u,c,p,h,m,d,g,f,S,y){void 0===t&&(t=A.StiFilterItem.Value),void 0===e&&(e=""),void 0===r&&(r=A.StiFilterCondition.EqualTo),void 0===n&&(n=""),void 0===i&&(i=""),void 0===o&&(o=A.StiFilterDataType.String),void 0===a&&(a=""),void 0===s&&(s=C.red),void 0===l&&(l=C.transparent),void 0===u&&(u=new v("Arial",8)),void 0===c&&(c=!0),void 0===p&&(p=!1),void 0===h&&(h=""),void 0===m&&(m=""),void 0===d&&(d=A.StiConditionBorderSides.NotAssigned),void 0===g&&(g=A.StiConditionPermissions.All),void 0===f&&(f=null),void 0===S&&(S=b.MiddleRight),void 0===y&&(y=null);var a=w.call(this,t,e,r,n,i,o,a)||this;return a._enabled=!0,a._textColor=C.red,a._backColor=C.transparent,a._font=new v("Arial",8),a._canAssignExpression=!0,a._breakIfTrue=!1,a._assignExpression="",a._style="",a._borderSides=A.StiConditionBorderSides.NotAssigned,a._permissions=A.StiConditionPermissions.All,a.iconAlignment=b.MiddleRight,a.textColor=s,a.backColor=l,null!=u&&(a.font=u),a.enabled=c,a.canAssignExpression=p,a.assignExpression=h,a.style=m,a.borderSides=d,a.permissions=g,a.icon=f,a.iconAlignment=S,a.iconSize=y,a}e=t=i.Report||(i.Report={}),A=r=e.Components||(e.Components={}),n=i.Base.IStiGetFonts,b=i.System.Drawing.ContentAlignment,C=i.System.Drawing.Color,v=i.System.Drawing.Font,o=i.Base.JsonReportObject.IStiJsonReportObject,a=i.Base.StiJsonReportObjectHelper,s=i.System.Enum,w=A.StiBaseCondition,__extends(l,w),l.prototype.implements=function(){return w.prototype.implements.call(this).concat([o,n])},l.prototype.saveToJsonObject=function(t){var t=w.prototype.saveToJsonObject.call(this,t);return t.addPropertyBool("Enabled",this.enabled,!0),t.addPropertyStringNullOrEmpty("TextColor",a.Serialize.jColor(this.textColor,C.red)),t.addPropertyStringNullOrEmpty("BackColor",a.Serialize.jColor(this.backColor,C.transparent)),t.addPropertyStringNullOrEmpty("Font",a.Serialize.fontArial8(this.font)),t.addPropertyBool("CanAssignExpression",this.canAssignExpression),t.addPropertyStringNullOrEmpty("AssignExpression",this.assignExpression),t.addPropertyStringNullOrEmpty("Style",this.style),t.addPropertyEnum("BorderSides",A.StiConditionBorderSides,this.borderSides,A.StiConditionBorderSides.NotAssigned),t.addPropertyEnum("Permissions",A.StiConditionPermissions,this.permissions,A.StiConditionPermissions.All),t.addPropertyBool("BreakIfTrue",this.breakIfTrue,!1),t},l.prototype.loadFromJsonObject=function(t){var e,r;w.prototype.loadFromJsonObject.call(this,t);try{for(var n=__values(t.properties()),i=n.next();!i.done;i=n.next()){var o=i.value;switch(o.name){case"Enabled":this._enabled=o.value.stimulsoft.toBoolean();break;case"TextColor":this._textColor=a.Deserialize.color(o.value);break;case"BackColor":this._backColor=a.Deserialize.color(o.value);break;case"Font":this._font=a.Deserialize.font(o.value,this._font);break;case"CanAssignExpression":this._canAssignExpression=o.value.stimulsoft.toBoolean();break;case"AssignExpression":this._assignExpression=o.value.toString();break;case"Style":this._style=o.value;break;case"BorderSides":this._borderSides=s.parse(A.StiConditionBorderSides,o.value);break;case"Permissions":this._permissions=s.parse(A.StiConditionPermissions,o.value);break;case"BreakIfTrue":this._breakIfTrue=o.value.stimulsoft.toBoolean();break}}}catch(t){e={error:t}}finally{try{i&&!i.done&&(r=n.return)&&r.call(n)}finally{if(e)throw e.error}}},l.prototype.loadFromXml=function(t,e){for(var r=0;r<t.childNodes.length;r++){var n=t.childNodes[r];switch(n.nodeName){case"Enabled":this._enabled=n.textContent.stimulsoft.toBoolean();break;case"TextColor":this._textColor=i.System.Text.StiReportObjectStringConverter.convertStringToColor(n.textContent);break;case"BackColor":this._backColor=i.System.Text.StiReportObjectStringConverter.convertStringToColor(n.textContent);break;case"Font":case"fn":this._font=i.System.Convert.toFont(n.textContent);break;case"CanAssignExpression":this._canAssignExpression=n.textContent.stimulsoft.toBoolean();break;case"AssignExpression":this.assignExpression=n.textContent;break;case"Style":this._style=n.textContent;break;case"BorderSides":this._borderSides=s.parse(A.StiConditionBorderSides,n.textContent);break;case"Permissions":this._permissions=s.parse(A.StiConditionPermissions,n.textContent);break;case"BreakIfTrue":this._breakIfTrue=n.textContent.stimulsoft.toBoolean();break}}},l.prototype.clone=function(){return w.prototype.clone.call(this)},l.prototype.memberwiseClone=function(){var t=w.prototype.memberwiseClone.call(this);return t._enabled=this._enabled,t._textColor=this._textColor,t._backColor=this._backColor,t._font=this._font,t._canAssignExpression=this._canAssignExpression,t._assignExpression=this._assignExpression,t._style=this._style,t._borderSides=this._borderSides,t._permissions=this._permissions,t._breakIfTrue=this._breakIfTrue,t},l.prototype.getFonts=function(){return[this.font]},Object.defineProperty(l.prototype,"enabled",{get:function(){return this._enabled},set:function(t){this._enabled=t},enumerable:!1,configurable:!0}),Object.defineProperty(l.prototype,"textColor",{get:function(){return this._textColor},set:function(t){this._textColor=t},enumerable:!1,configurable:!0}),Object.defineProperty(l.prototype,"backColor",{get:function(){return this._backColor},set:function(t){this._backColor=t},enumerable:!1,configurable:!0}),Object.defineProperty(l.prototype,"font",{get:function(){return this._font},set:function(t){this._font=t},enumerable:!1,configurable:!0}),Object.defineProperty(l.prototype,"canAssignExpression",{get:function(){return this._canAssignExpression},set:function(t){this._canAssignExpression=t},enumerable:!1,configurable:!0}),Object.defineProperty(l.prototype,"breakIfTrue",{get:function(){return this._breakIfTrue},set:function(t){this._breakIfTrue=t},enumerable:!1,configurable:!0}),Object.defineProperty(l.prototype,"assignExpression",{get:function(){return this._assignExpression},set:function(t){this._assignExpression=t},enumerable:!1,configurable:!0}),Object.defineProperty(l.prototype,"style",{get:function(){return this._style},set:function(t){this._style=t},enumerable:!1,configurable:!0}),Object.defineProperty(l.prototype,"borderSides",{get:function(){return this._borderSides},set:function(t){(this._borderSides=t)==A.StiConditionBorderSides.NotAssigned&&(this._borderSides=A.StiConditionBorderSides.None,0<(this.permissions&A.StiConditionPermissions.Borders)&&(this.permissions-=A.StiConditionPermissions.Borders))},enumerable:!1,configurable:!0}),Object.defineProperty(l.prototype,"permissions",{get:function(){return this._permissions},set:function(t){this._permissions=t},enumerable:!1,configurable:!0}),l.prototype.equals=function(t){var t=t;if(null==t)return!1;return this.backColor.equals(t.backColor)&&this.textColor.equals(t.textColor)&&this.column==t.column&&this.condition==t.condition&&this.dataType==t.dataType&&this.enabled==t.enabled&&this.font.stimulsoft.equals(t.font)&&this.item==t.item&&this.value1==t.value1&&this.value2==t.value2&&this.expression.trim()==t.expression.trim()&&this.canAssignExpression==t.canAssignExpression&&this.assignExpression==t.assignExpression&&this.icon==t.icon&&this.iconAlignment==t.iconAlignment&&this.iconSize==t.iconSize},e=l,A.StiCondition=e}(Stimulsoft=Stimulsoft||{}),function(t){var e,r,n,p,i,h,m,o;function l(){return null!==o&&o.apply(this,arguments)||this}r=e=t.Report||(t.Report={}),p=n=r.Components||(r.Components={}),i=t.System.Collections.Hashtable,h=t.System.Drawing.Font,m=t.System.Drawing.FontStyle,o=p.StiFilter,__extends(l,o),l.prototype.implements=function(){return o.prototype.implements.call(this)},l.apply=function(t,e){var r,n,i=t;if(e.stimulsoft.startsWith("##")&&e.stimulsoft.endsWith("##")){e=e.substr(2,e.length-4);try{for(var o=__values(StiOptions.Designer.styles.list),a=o.next();!a.done;a=o.next()){var s=a.value;if(s.name==e)return s.setStyleToComponent(i),void l.applyParentStyle(s,i)}}catch(t){r={error:t}}finally{try{a&&!a.done&&(n=o.return)&&n.call(o)}finally{if(r)throw r.error}}}var t=i.report.styles.getByName(e);if(null!=t)return t.setStyleToComponent(i),void this.applyParentStyle(t,i)},l.applyParentStyle=function(t,e){null!=e&&null!=e.report&&null!=e.report.engine&&(null==e.report.engine.hashParentStyles&&(e.report.engine.hashParentStyles=new i),e.report.engine.hashParentStyles.set(e,t))},l.applyFont=function(t,e,r){var n,i,o,a,s,l,u,c,i;null!=t&&(i=!1,o=t.font.name,a=t.font.size,s=t.font.bold,l=t.font.italic,u=t.font.underline,c=t.font.strikeout,0<(r&p.StiConditionPermissions.Font)&&(i=!0,o=e.name),0<(r&p.StiConditionPermissions.FontSize)&&(i=!0,a=e.size),0<(r&p.StiConditionPermissions.FontStyleBold)&&(i=!0,s=e.bold),0<(r&p.StiConditionPermissions.FontStyleItalic)&&(i=!0,l=e.italic),0<(r&p.StiConditionPermissions.FontStyleUnderline)&&(i=!0,u=e.underline),0<(r&p.StiConditionPermissions.FontStyleStrikeout)&&(i=!0,c=e.strikeout),i&&(i=m.Regular,s&&(i|=m.Bold),l&&(i|=m.Italic),u&&(i|=m.Underline),c&&(i|=m.Strikeout),t.font=new h(o,a,i)))},r=l,p.StiConditionHelper=r}(Stimulsoft=Stimulsoft||{}),function(m){var t,d,e,g,f,S,r,a,s,y,n,A;function i(t,e,r,n,i,o,a,s,l,u,c,p){void 0===t&&(t=""),void 0===e&&(e=y.Gradient),void 0===r&&(r=S.green),void 0===n&&(n=S.red),void 0===i&&(i=!1),void 0===o&&(o=S.darkGreen),void 0===a&&(a=S.darkRed),void 0===s&&(s=g.StiDataBarDirection.Default),void 0===l&&(l=g.StiMinimumType.Auto),void 0===u&&(u=0),void 0===c&&(c=g.StiMaximumType.Auto),void 0===p&&(p=100);var h=A.call(this)||this;return h._brushType=y.Gradient,h._positiveColor=S.green,h._negativeColor=S.red,h._positiveBorderColor=S.darkGreen,h._negativeBorderColor=S.darkRed,h._showBorder=!1,h._direction=g.StiDataBarDirection.Default,h._minimumType=g.StiMinimumType.Auto,h._minimumValue=0,h._maximumType=g.StiMaximumType.Auto,h._maximumValue=100,h.minimum=null,h.maximum=null,h.column=t,h.brushType=e,h.positiveColor=r,h.negativeColor=n,h.showBorder=i,h.positiveBorderColor=o,h.negativeBorderColor=a,h.direction=s,h.minimumType=l,h.minimumValue=u,h.maximumType=c,h.maximumValue=p,h}d=t=m.Report||(m.Report={}),g=e=d.Components||(d.Components={}),f=m.System.StiString,S=m.System.Drawing.Color,r=m.Base.JsonReportObject.IStiJsonReportObject,a=m.Base.StiJsonReportObjectHelper,s=m.System.Enum,y=m.Report.Components.StiBrushType,A=g.StiBaseCondition,__extends(i,A),i.prototype.implements=function(){return A.prototype.implements.call(this).concat([g.IStiDataBarIndicator,g.IStiIndicatorCondition,r])},i.prototype.saveToJsonObject=function(t){var t=A.prototype.saveToJsonObject.call(this,t);return t.addPropertyEnum("BrushType",y,this.brushType,y.Gradient),t.addPropertyStringNullOrEmpty("PositiveColor",a.Serialize.jColor(this.positiveColor,S.green)),t.addPropertyStringNullOrEmpty("NegativeColor",a.Serialize.jColor(this.negativeColor,S.red)),t.addPropertyStringNullOrEmpty("PositiveBorderColor",a.Serialize.jColor(this.positiveBorderColor,S.darkGreen)),t.addPropertyStringNullOrEmpty("NegativeBorderColor",a.Serialize.jColor(this.negativeBorderColor,S.darkRed)),t.addPropertyBool("ShowBorder",this.showBorder),t.addPropertyEnum("Direction",g.StiDataBarDirection,this.direction,g.StiDataBarDirection.Default),t.addPropertyEnum("MinimumType",g.StiMinimumType,this.minimumType,g.StiMinimumType.Auto),t.addPropertyNumber("MinimumValue",this.minimumValue,0),t.addPropertyEnum("MaximumType",g.StiMaximumType,this.maximumType,g.StiMaximumType.Auto),t.addPropertyNumber("MaximumValue",this.maximumValue,100),t},i.prototype.loadFromJsonObject=function(t){var e,r;A.prototype.loadFromJsonObject.call(this,t);try{for(var n=__values(t.properties()),i=n.next();!i.done;i=n.next()){var o=i.value;switch(o.name){case"BrushType":this._brushType=s.parse(y,o.value);break;case"PositiveColor":this._positiveColor=a.Deserialize.color(o.value);break;case"NegativeColor":this._negativeColor=a.Deserialize.color(o.value);break;case"PositiveBorderColor":this._positiveBorderColor=a.Deserialize.color(o.value);break;case"NegativeBorderColor":this._negativeBorderColor=a.Deserialize.color(o.value);break;case"ShowBorder":this._showBorder=o.value.stimulsoft.toBoolean();break;case"Direction":this._direction=s.parse(g.StiDataBarDirection,o.value);break;case"MinimumType":this._minimumType=s.parse(g.StiMinimumType,o.value);break;case"MinimumValue":this._minimumValue=o.value.stimulsoft.toNumber();break;case"MaximumType":this._maximumType=s.parse(g.StiMaximumType,o.value);break;case"MaximumValue":this._maximumValue=o.value.stimulsoft.toNumber();break}}}catch(t){e={error:t}}finally{try{i&&!i.done&&(r=n.return)&&r.call(n)}finally{if(e)throw e.error}}},i.prototype.createIndicator=function(t){if(f.isNullOrEmpty(this.column))return null;if(!(this.minimumType==g.StiMinimumType.Value&&this.maximumType==g.StiMaximumType.Value||null!=this.minimum&&null!=this.maximum)){this.minimum=0,this.maximum=0;var e=m.Report.Dictionary.StiDataColumn.getDataSourceFromDataColumn(t.report.dictionary,this.column);if(null!=e){e.saveState("Indicator"),e.first();var r=0;while(!e.isEof){var n=m.Report.Dictionary.StiDataColumn.getDataFromDataColumn(t.report.dictionary,this.column),i=0;try{i=+d.StiReport.changeType(n,Number.stimulsoft.getType())}catch(t){m.System.StiError.showError(t,!1)}0==r?(this.minimum=i,this.maximum=i):(this.minimum=Math.min(this.minimum,i),this.maximum=Math.max(this.maximum,i)),r++,e.next()}e.restoreState("Indicator")}if(null==e){var o=m.Report.Dictionary.StiDataColumn.getBusinessObjectFromDataColumn(t.report.dictionary,this.column);if(null==o)return null;o.saveState("Indicator"),o.createEnumerator();var r=0;while(!o.isEof){var n=m.Report.Dictionary.StiDataColumn.getDataFromDataColumn(t.report.dictionary,this.column),i=0;try{i=+d.StiReport.changeType(n,Number.stimulsoft.getType())}catch(t){m.System.StiError.showError(t,!1)}0==r?(this.minimum=i,this.maximum=i):(this.minimum=Math.min(this.minimum,i),this.maximum=Math.max(this.maximum,i)),r++,o.next()}o.restoreState("Indicator")}0<this.minimum&&this.minimumType!=g.StiMinimumType.Minimum&&(this.minimum=0),this.maximum<0&&this.maximumType!=g.StiMaximumType.Maximum&&(this.maximum=0)}var a=this.minimum,s=this.maximum,l=s-a,u=this.minimumValue,u=Math.min(u,100);u=Math.max(u,0);var c=this.maximumValue,c=Math.min(c,100);(c=Math.max(c,0))<u&&(u=c),this.minimumType==g.StiMinimumType.Value?a=this.minimumValue:this.minimumType==g.StiMinimumType.Percent&&(a+=l*u/100),this.maximumType==g.StiMaximumType.Value?s=this.maximumValue:this.maximumType==g.StiMaximumType.Percent&&(s=a+l*c/100);var p=m.Report.Dictionary.StiDataColumn.getDataFromDataColumn(t.report.dictionary,this.column),h=0;try{h=+d.StiReport.changeType(p,Number.stimulsoft.getType())}catch(t){m.System.StiError.showError(t,!1)}s<h&&(h=s),h<a&&(h=a),0<a&&(h-=a,s-=a,a=0),s<0&&(h-=s,a-=s,s=0);var c=new g.StiDataBarIndicator;return c.brushType=this.brushType,c.positiveColor=this.positiveColor,c.negativeColor=this.negativeColor,c.showBorder=this.showBorder,c.positiveBorderColor=this.positiveBorderColor,c.negativeBorderColor=this.negativeBorderColor,c.direction=this.direction,c.minimum=a,c.maximum=s,c.value=h,c},i.prototype.reset=function(){this.minimum=null,this.maximum=null},Object.defineProperty(i.prototype,"brushType",{get:function(){return this._brushType},set:function(t){this._brushType=t},enumerable:!1,configurable:!0}),Object.defineProperty(i.prototype,"positiveColor",{get:function(){return this._positiveColor},set:function(t){this._positiveColor=t},enumerable:!1,configurable:!0}),Object.defineProperty(i.prototype,"negativeColor",{get:function(){return this._negativeColor},set:function(t){this._negativeColor=t},enumerable:!1,configurable:!0}),Object.defineProperty(i.prototype,"positiveBorderColor",{get:function(){return this._positiveBorderColor},set:function(t){this._positiveBorderColor=t},enumerable:!1,configurable:!0}),Object.defineProperty(i.prototype,"negativeBorderColor",{get:function(){return this._negativeBorderColor},set:function(t){this._negativeBorderColor=t},enumerable:!1,configurable:!0}),Object.defineProperty(i.prototype,"showBorder",{get:function(){return this._showBorder},set:function(t){this._showBorder=t},enumerable:!1,configurable:!0}),Object.defineProperty(i.prototype,"direction",{get:function(){return this._direction},set:function(t){this._direction=t},enumerable:!1,configurable:!0}),Object.defineProperty(i.prototype,"minimumType",{get:function(){return this._minimumType},set:function(t){this._minimumType=t},enumerable:!1,configurable:!0}),Object.defineProperty(i.prototype,"minimumValue",{get:function(){return this._minimumValue},set:function(t){this._minimumValue=t},enumerable:!1,configurable:!0}),Object.defineProperty(i.prototype,"maximumType",{get:function(){return this._maximumType},set:function(t){this._maximumType=t},enumerable:!1,configurable:!0}),Object.defineProperty(i.prototype,"maximumValue",{get:function(){return this._maximumValue},set:function(t){this._maximumValue=t},enumerable:!1,configurable:!0}),i.prototype.equals=function(t){var t=t;if(null==t)return!1;return this.column==t.column&&this.brushType==t.brushType&&this.positiveColor.equals(t.positiveColor)&&this.negativeColor.equals(t.negativeColor)&&this.showBorder==t.showBorder&&this.positiveBorderColor.equals(t.positiveBorderColor)&&this.negativeBorderColor.equals(t.negativeBorderColor)&&this.minimumType==t.minimumType&&this.minimumValue==t.minimumValue&&this.maximumType==t.maximumType&&this.maximumValue==t.maximumValue},n=i,g.StiDataBarCondition=n}(Stimulsoft=Stimulsoft||{}),function(p){var t,e,r,h,m,s,u,n,c;function i(t,e,r,n,i,o,a,s){void 0===t&&(t=""),void 0===e&&(e=h.StiIconSet.None),void 0===r&&(r=u.MiddleLeft),void 0===n&&(n=null),void 0===i&&(i=null),void 0===o&&(o=null),void 0===a&&(a=null),void 0===s&&(s=null);var l=c.call(this)||this;return l._iconSet=h.StiIconSet.None,l._contentAlignment=u.MiddleLeft,l._iconSetItem1=null,l._iconSetItem2=null,l._iconSetItem3=null,l._iconSetItem4=null,l._iconSetItem5=null,l.minimum=null,l.maximum=null,l.column=t,l.iconSet=e,l.contentAlignment=r,l.iconSetItem1=n,l.iconSetItem2=i,l.iconSetItem3=o,l.iconSetItem4=a,l.iconSetItem5=s,l}e=t=p.Report||(p.Report={}),h=r=e.Components||(e.Components={}),m=p.System.StiString,s=p.System.Enum,u=p.System.Drawing.ContentAlignment,n=p.Base.JsonReportObject.IStiJsonReportObject,c=h.StiBaseCondition,__extends(i,c),i.prototype.implements=function(){return c.prototype.implements.call(this).concat([h.IStiIndicatorCondition,n])},i.prototype.saveToJsonObject=function(t){var e=c.prototype.saveToJsonObject.call(this,t);return e.addPropertyEnum("IconSet",h.StiIconSet,this.iconSet,h.StiIconSet.None),e.addPropertyEnum("ContentAlignment",u,this.contentAlignment,u.MiddleLeft),null!=this.iconSetItem1&&e.addPropertyJObject("IconSetItem1",this.iconSetItem1.saveToJsonObject(t)),null!=this.iconSetItem2&&e.addPropertyJObject("IconSetItem2",this.iconSetItem2.saveToJsonObject(t)),null!=this.iconSetItem3&&e.addPropertyJObject("IconSetItem3",this.iconSetItem3.saveToJsonObject(t)),null!=this.iconSetItem4&&e.addPropertyJObject("IconSetItem4",this.iconSetItem4.saveToJsonObject(t)),null!=this.iconSetItem5&&e.addPropertyJObject("IconSetItem5",this.iconSetItem5.saveToJsonObject(t)),e},i.prototype.loadFromJsonObject=function(t){var e,r;c.prototype.loadFromJsonObject.call(this,t);try{for(var n=__values(t.properties()),i=n.next();!i.done;i=n.next()){var o=i.value,a,a,a,a,a;switch(o.name){case"IconSet":this._iconSet=s.parse(h.StiIconSet,o.value);break;case"ContentAlignment":this._contentAlignment=s.parse(u,o.value);break;case"IconSetItem1":(a=new h.StiIconSetItem).loadFromJsonObject(o.value),this._iconSetItem1=a;break;case"IconSetItem2":(a=new h.StiIconSetItem).loadFromJsonObject(o.value),this._iconSetItem2=a;break;case"IconSetItem3":(a=new h.StiIconSetItem).loadFromJsonObject(o.value),this._iconSetItem3=a;break;case"IconSetItem4":(a=new h.StiIconSetItem).loadFromJsonObject(o.value),this._iconSetItem4=a;break;case"IconSetItem5":(a=new h.StiIconSetItem).loadFromJsonObject(o.value),this._iconSetItem5=a;break}}}catch(t){e={error:t}}finally{try{i&&!i.done&&(r=n.return)&&r.call(n)}finally{if(e)throw e.error}}},i.prototype.createIndicator=function(t){if(m.isNullOrEmpty(this.column))return null;if(null==this.minimum||null==this.maximum){this.minimum=0,this.maximum=0;var e=p.Report.Dictionary.StiDataColumn.getDataSourceFromDataColumn(t.report.dictionary,this.column);if(null!=e){e.saveState("Indicator"),null!=e.detailRows&&null!=e.dataTable&&(e.detailRows=null),e.first();var r=0;while(!e.isEof){var n=p.Report.Dictionary.StiDataColumn.getDataFromDataColumn(t.report.dictionary,this.column),i=0;try{i=n.stimulsoft.toNumber()}catch(t){}0==r?(this.minimum=i,this.maximum=i):(this.minimum=Math.min(this.minimum,i),this.maximum=Math.max(this.maximum,i)),r++,e.next()}e.restoreState("Indicator")}if(null==e){var o=p.Report.Dictionary.StiDataColumn.getBusinessObjectFromDataColumn(t.report.dictionary,this.column);if(null==o)return null;o.saveState("Indicator"),o.createEnumerator();var r=0;while(!o.isEof){var n,i=(n=p.Report.Dictionary.StiDataColumn.getDataFromDataColumn(t.report.dictionary,this.column)).stimulsoft.toNumber();0==r?(this.minimum=i,this.maximum=i):(this.minimum=Math.min(this.minimum,i),this.maximum=Math.max(this.maximum,i)),r++,o.next()}o.restoreState("Indicator")}}var a=this.minimum,s=this.maximum,l=s-a,u=p.Report.Dictionary.StiDataColumn.getDataFromDataColumn(t.report.dictionary,this.column),c=0;try{c=u.stimulsoft.toNumber()}catch(t){}s<c&&(c=s),c<a&&(c=a);var a=(c-a)/l*100,l=h.StiIcon.None;if(null==this.iconSetItem4&&null==this.iconSetItem5?this.inRange(this.iconSetItem1,c,a)?l=this.iconSetItem1.icon:this.inRange(this.iconSetItem2,c,a)?l=this.iconSetItem2.icon:null!=this.iconSetItem3&&(l=this.iconSetItem3.icon):null==this.iconSetItem5?this.inRange(this.iconSetItem1,c,a)?l=this.iconSetItem1.icon:this.inRange(this.iconSetItem2,c,a)?l=this.iconSetItem2.icon:this.inRange(this.iconSetItem3,c,a)?l=this.iconSetItem3.icon:null!=this.iconSetItem4&&(l=this.iconSetItem4.icon):this.inRange(this.iconSetItem1,c,a)?l=this.iconSetItem1.icon:this.inRange(this.iconSetItem2,c,a)?l=this.iconSetItem2.icon:this.inRange(this.iconSetItem3,c,a)?l=this.iconSetItem3.icon:this.inRange(this.iconSetItem4,c,a)?l=this.iconSetItem4.icon:null!=this.iconSetItem5&&(l=this.iconSetItem5.icon),l==h.StiIcon.None)return null;var a=new h.StiIconSetIndicator;return a.icon=l,a.alignment=this.contentAlignment,a},i.prototype.inRange=function(t,e,r){if(null==t)return!1;if(t.valueType==h.StiIconSetValueType.Percent){if(t.operation==h.StiIconSetOperation.MoreThan){if(r>t.value)return!0}else if(r>=t.value)return!0}else if(t.operation==h.StiIconSetOperation.MoreThan){if(e>t.value)return!0}else if(e>=t.value)return!0;return!1},i.prototype.reset=function(){this.minimum=null,this.maximum=null},Object.defineProperty(i.prototype,"iconSet",{get:function(){return this._iconSet},set:function(t){this._iconSet=t},enumerable:!1,configurable:!0}),Object.defineProperty(i.prototype,"contentAlignment",{get:function(){return this._contentAlignment},set:function(t){this._contentAlignment=t},enumerable:!1,configurable:!0}),Object.defineProperty(i.prototype,"iconSetItem1",{get:function(){return this._iconSetItem1},set:function(t){this._iconSetItem1=t},enumerable:!1,configurable:!0}),Object.defineProperty(i.prototype,"iconSetItem2",{get:function(){return this._iconSetItem2},set:function(t){this._iconSetItem2=t},enumerable:!1,configurable:!0}),Object.defineProperty(i.prototype,"iconSetItem3",{get:function(){return this._iconSetItem3},set:function(t){this._iconSetItem3=t},enumerable:!1,configurable:!0}),Object.defineProperty(i.prototype,"iconSetItem4",{get:function(){return this._iconSetItem4},set:function(t){this._iconSetItem4=t},enumerable:!1,configurable:!0}),Object.defineProperty(i.prototype,"iconSetItem5",{get:function(){return this._iconSetItem5},set:function(t){this._iconSetItem5=t},enumerable:!1,configurable:!0}),i.prototype.equals=function(t){var e;if(null==t)return!1;return this.iconSet==t.iconSet&&this.contentAlignment==t.contentAlignment},e=i,h.StiIconSetCondition=e}(Stimulsoft=Stimulsoft||{}),function(t){var e,r,n,a,i,o,s;function l(t,e,r,n){void 0===t&&(t=a.StiIcon.None),void 0===e&&(e=a.StiIconSetOperation.MoreThan),void 0===r&&(r=a.StiIconSetValueType.Percent),void 0===n&&(n=0),this._icon=a.StiIcon.None,this._operation=a.StiIconSetOperation.MoreThan,this._valueType=a.StiIconSetValueType.Percent,this._value=0,this.icon=t,this.operation=e,this.valueType=r,this.value=n}r=e=t.Report||(t.Report={}),a=n=r.Components||(r.Components={}),i=t.Base.StiJson,o=t.Base.JsonReportObject.IStiJsonReportObject,s=t.System.Enum,l.prototype.implements=function(){return[o]},l.prototype.saveToJsonObject=function(t){var e=new i;return e.addPropertyIdent("Ident",this.stimulsoft.getType().stimulsoft.getTypeName()),e.addPropertyEnum("Icon",a.StiIcon,this.icon,a.StiIcon.None),e.addPropertyEnum("Operation",a.StiIconSetOperation,this.operation,a.StiIconSetOperation.MoreThan),e.addPropertyEnum("ValueType",a.StiIconSetValueType,this.valueType,a.StiIconSetValueType.Percent),e.addPropertyNumber("Value",this.value,0),e},l.prototype.loadFromJsonObject=function(t){var e,r;try{for(var n=__values(t.properties()),i=n.next();!i.done;i=n.next()){var o=i.value;switch(o.name){case"Icon":this._icon=s.parse(a.StiIcon,o.value);break;case"Operation":this._operation=s.parse(a.StiIconSetOperation,o.value);break;case"ValueType":this._valueType=s.parse(a.StiIconSetValueType,o.value);break;case"Value":this._value=o.value.stimulsoft.toNumber();break}}}catch(t){e={error:t}}finally{try{i&&!i.done&&(r=n.return)&&r.call(n)}finally{if(e)throw e.error}}},Object.defineProperty(l.prototype,"icon",{get:function(){return this._icon},set:function(t){this._icon=t},enumerable:!1,configurable:!0}),Object.defineProperty(l.prototype,"operation",{get:function(){return this._operation},set:function(t){this._operation=t},enumerable:!1,configurable:!0}),Object.defineProperty(l.prototype,"valueType",{get:function(){return this._valueType},set:function(t){this._valueType=t},enumerable:!1,configurable:!0}),Object.defineProperty(l.prototype,"value",{get:function(){return this._value},set:function(t){this._value=t},enumerable:!1,configurable:!0}),r=l,a.StiIconSetItem=r}(Stimulsoft=Stimulsoft||{}),function(n){var t,e,r,f,i,o,S,a,s,l,y;function u(t,e,r,n,i,o,a,s,l,u){var c,p;void 0===t&&(t=S.red),void 0===e&&(e=S.transparent),void 0===r&&(r=null),void 0===n&&(n=!0),void 0===i&&(i=f.StiFilterMode.And),void 0===o&&(o=null),void 0===a&&(a=!1),void 0===s&&(s=""),void 0===l&&(l=""),void 0===u&&(u=f.StiConditionBorderSides.NotAssigned);var h=y.call(this)||this;if(h._filterMode=f.StiFilterMode.And,h._filters=new f.StiFiltersCollection,h.style=l,h.borderSides=u,h.filterMode=i,null!=o)try{for(var m=__values(o),d=m.next();!d.done;d=m.next()){var g=d.value;h.filters.add(g)}}catch(t){c={error:t}}finally{try{d&&!d.done&&(p=m.return)&&p.call(m)}finally{if(c)throw c.error}}return h}e=t=n.Report||(n.Report={}),f=r=e.Components||(e.Components={}),i=n.Base.StiJsonReportObjectHelper,o=n.Base.StiJson,S=n.System.Drawing.Color,a=n.Base.JsonReportObject.IStiJsonReportObject,s=n.System.Text.StiReportObjectStringConverter,l=n.System.Enum,y=f.StiCondition,__extends(u,y),u.prototype.implements=function(){return y.prototype.implements.call(this).concat([f.IStiFilter,a])},u.prototype.saveToJsonObject=function(t){var e=new o;return e.addPropertyIdent("Ident",this.stimulsoft.getType().stimulsoft.getTypeName()),e.addPropertyBool("Enabled",this.enabled,!0),e.addPropertyStringNullOrEmpty("TextColor",i.Serialize.jColor(this.textColor,S.red)),e.addPropertyStringNullOrEmpty("BackColor",i.Serialize.jColor(this.backColor,S.transparent)),e.addPropertyStringNullOrEmpty("Font",i.Serialize.fontArial8(this.font)),e.addPropertyBool("CanAssignExpression",this.canAssignExpression),e.addPropertyStringNullOrEmpty("Style",this.style),e.addPropertyEnum("BorderSides",f.StiConditionBorderSides,this.borderSides,f.StiConditionBorderSides.NotAssigned),e.addPropertyEnum("Permissions",f.StiConditionPermissions,this.permissions,f.StiConditionPermissions.All),e.addPropertyEnum("FilterMode",f.StiFilterMode,this.filterMode,f.StiFilterMode.And),e.addPropertyJObject("Filters",this.filters.saveToJsonObject(t)),e},u.prototype.loadFromJsonObject=function(t){var e,r;y.prototype.loadFromJsonObject.call(this,t);try{for(var n=__values(t.properties()),i=n.next();!i.done;i=n.next()){var o=i.value;switch(o.name){case"FilterMode":this._filterMode=l.parse(f.StiFilterMode,o.value);break;case"Filters":this._filters.loadFromJsonObject(o.value);break}}}catch(t){e={error:t}}finally{try{i&&!i.done&&(r=n.return)&&r.call(n)}finally{if(e)throw e.error}}},u.prototype.loadfromXmlDoc=function(t){try{if("StiSerializer"!=t.firstChild.nodeName)return;for(var e=0;e<t.firstChild.childNodes.length;e++){var r=t.firstChild.childNodes[e];switch(r.nodeName){case"Enabled":this.enabled=r.textContent.stimulsoft.toBoolean();break;case"TextColor":this.textColor=s.convertStringToColor(r.textContent);break;case"BackColor":this.backColor=s.convertStringToColor(r.textContent);break;case"Font":case"fn":this.font=n.System.Convert.toFont(r.textContent);break;case"CanAssignExpression":this.canAssignExpression=r.textContent.stimulsoft.toBoolean();break;case"Style":this.style=r.textContent;break;case"BorderSides":this.borderSides=l.parse(f.StiConditionBorderSides,r.textContent);break;case"Permissions":this.permissions=l.parse(f.StiConditionPermissions,r.textContent);break;case"FilterMode":this.filterMode=l.parse(f.StiFilterMode,r.textContent);break;case"AssignExpression":this.assignExpression=r.textContent;break;case"Filters":this.filters.loadFromXml(r);break}}}catch(t){n.System.StiError.showError(t,!1)}},u.prototype.clone=function(){var t;return y.prototype.clone.call(this)},Object.defineProperty(u.prototype,"filterMode",{get:function(){return this._filterMode},set:function(t){this._filterMode=t},enumerable:!1,configurable:!0}),Object.defineProperty(u.prototype,"filters",{get:function(){return this._filters},set:function(t){this._filters=t},enumerable:!1,configurable:!0}),Object.defineProperty(u.prototype,"filterMethodHandler",{get:function(){return null},set:function(t){},enumerable:!1,configurable:!0}),Object.defineProperty(u.prototype,"filterOn",{get:function(){return!0},enumerable:!1,configurable:!0}),Object.defineProperty(u.prototype,"condition",{get:function(){throw new Error("Please, use Filters collection!")},set:function(t){throw new Error("Please, use Filters collection!")},enumerable:!1,configurable:!0}),Object.defineProperty(u.prototype,"dataType",{get:function(){throw new Error("Please, use Filters collection!")},set:function(t){throw new Error("Please, use Filters collection!")},enumerable:!1,configurable:!0}),Object.defineProperty(u.prototype,"column",{get:function(){throw new Error("Please, use Filters collection!")},set:function(t){throw new Error("Please, use Filters collection!")},enumerable:!1,configurable:!0}),Object.defineProperty(u.prototype,"item",{get:function(){throw new Error("Please, use Filters collection!")},set:function(t){throw new Error("Please, use Filters collection!")},enumerable:!1,configurable:!0}),Object.defineProperty(u.prototype,"value1",{get:function(){throw new Error("Please, use Filters collection!")},set:function(t){throw new Error("Please, use Filters collection!")},enumerable:!1,configurable:!0}),Object.defineProperty(u.prototype,"value2",{get:function(){throw new Error("Please, use Filters collection!")},set:function(t){throw new Error("Please, use Filters collection!")},enumerable:!1,configurable:!0}),Object.defineProperty(u.prototype,"expression",{get:function(){throw new Error("Please, use Filters collection!")},set:function(t){throw new Error("Please, use Filters collection!")},enumerable:!1,configurable:!0}),u.prototype.equals=function(t){var t=t;if(null==t)return!1;return this.backColor.equals(t.backColor)&&this.textColor.equals(t.textColor)&&this.enabled==t.enabled&&this.font.stimulsoft.equals(t.font)&&this.filterMode==t.filterMode&&this.filters.stimulsoft.equals(t.filters)&&this.canAssignExpression==t.canAssignExpression&&this.assignExpression==t.assignExpression},e=u,f.StiMultiCondition=e}(Stimulsoft=Stimulsoft||{}),function(t){var e,r,n,i,o,a;function s(){this._filters=new i.StiFiltersCollection,this._filterMode=i.StiFilterMode.And,this._enabled=!0,this._textColor=o.red,this._backColor=o.transparent,this._font=new a("Arial",8),this._canAssignExpression=!1,this._assignExpression="",this._style="",this._borderSides=i.StiConditionBorderSides.NotAssigned,this._permissions=i.StiConditionPermissions.All}r=e=t.Report||(t.Report={}),i=n=r.Components||(r.Components={}),o=t.System.Drawing.Color,a=t.System.Drawing.Font,Object.defineProperty(s.prototype,"filters",{get:function(){return this._filters},set:function(t){this._filters=t},enumerable:!1,configurable:!0}),Object.defineProperty(s.prototype,"filterMode",{get:function(){return this._filterMode},set:function(t){this._filterMode=t},enumerable:!1,configurable:!0}),Object.defineProperty(s.prototype,"enabled",{get:function(){return this._enabled},set:function(t){this._enabled=t},enumerable:!1,configurable:!0}),Object.defineProperty(s.prototype,"textColor",{get:function(){return this._textColor},set:function(t){this._textColor=t},enumerable:!1,configurable:!0}),Object.defineProperty(s.prototype,"backColor",{get:function(){return this._backColor},set:function(t){this._backColor=t},enumerable:!1,configurable:!0}),Object.defineProperty(s.prototype,"font",{get:function(){return this._font},set:function(t){this._font=t},enumerable:!1,configurable:!0}),Object.defineProperty(s.prototype,"canAssignExpression",{get:function(){return this._canAssignExpression},set:function(t){this._canAssignExpression=t},enumerable:!1,configurable:!0}),Object.defineProperty(s.prototype,"assignExpression",{get:function(){return this._assignExpression},set:function(t){this._assignExpression=t},enumerable:!1,configurable:!0}),Object.defineProperty(s.prototype,"style",{get:function(){return this._style},set:function(t){this._style=t},enumerable:!1,configurable:!0}),Object.defineProperty(s.prototype,"borderSides",{get:function(){return this._borderSides},set:function(t){this._borderSides=t},enumerable:!1,configurable:!0}),Object.defineProperty(s.prototype,"permissions",{get:function(){return this._permissions},set:function(t){this._permissions=t},enumerable:!1,configurable:!0}),r=s,i.StiMultiConditionContainer=r}(Stimulsoft=Stimulsoft||{}),function(t){var e,r,n,i,o,a,s,l,t,u;function c(t){void 0===t&&(t=a.empty);var t=u.call(this,t)||this;return t.isRightToLeft=!1,t.defaultClientRectangle=new a(0,0,30,50),t.columnCurrent=0,t._columnMode=!1,t.resetDataSource=!0,t.dockStyle=i.StiDockStyle.Left,t}r=e=t.Report||(t.Report={}),i=n=r.Components||(r.Components={}),o=t.Base.StiAlignValue,a=t.System.Drawing.Rectangle,s=t.System.Drawing.Size,l=t.Base.Localization.StiLocalization,u=i.StiDataBand,__extends(c,u),c.prototype.saveToJsonObject=function(t){var t=u.prototype.saveToJsonObject.call(this,t);return t.removeProperty("NewPageBefore"),t.removeProperty("NewPageAfter"),t.removeProperty("NewColumnBefore"),t.removeProperty("NewColumnAfter"),t.removeProperty("SkipFirst"),t.removeProperty("BreakIfLessThan"),t.removeProperty("GrowToHeight"),t.removeProperty("ResetPageNumber"),t.removeProperty("StartNewPage"),t.removeProperty("StartNewPageIfLessThan"),t.removeProperty("KeepHeaderTogether"),t.removeProperty("KeepFooterTogether"),t.removeProperty("KeepChildTogether"),t.removeProperty("KeepGroupTogether"),t.removeProperty("PrintAtBottom"),t.addPropertyBool("CanBreak",this.canBreak),t.removeProperty("PrintOnAllPages"),t.removeProperty("PrintOn"),t.removeProperty("RightToLeft"),t.removeProperty("ColumnGaps"),t.removeProperty("ColumnWidth"),t.removeProperty("Columns"),t.removeProperty("MinRowsInColumn"),t.removeProperty("ColumnDirection"),t.addPropertyBool("ResetDataSource",this.resetDataSource,!0),t.addPropertyBool("ResetDataSource",this.resetDataSource,!0),t.removeProperty("DockStyle"),t.removeProperty("MinSize"),t.removeProperty("MaxSize"),t.removeProperty("MaxHeight"),t.removeProperty("MinHeight"),t.addPropertyNumber("MinWidth",this.minWidth,0),t.addPropertyNumber("MaxWidth",this.maxWidth,0),t},c.prototype.loadFromJsonObject=function(t){var e,r;u.prototype.loadFromJsonObject.call(this,t);try{for(var n=__values(t.properties()),i=n.next();!i.done;i=n.next()){var o=i.value;switch(o.name){case"MinWidth":this.minWidth=o.value.stimulsoft.toNumber();break;case"MaxWidth":this.maxWidth=o.value.stimulsoft.toNumber();break}}}catch(t){e={error:t}}finally{try{i&&!i.done&&(r=n.return)&&r.call(n)}finally{if(e)throw e.error}}},Object.defineProperty(c.prototype,"componentId",{get:function(){return r.StiComponentId.StiCrossDataBand},enumerable:!1,configurable:!0}),Object.defineProperty(c.prototype,"growToHeight",{get:function(){return!0},set:function(t){},enumerable:!1,configurable:!0}),Object.defineProperty(c.prototype,"resetPageNumber",{get:function(){return!1},set:function(t){},enumerable:!1,configurable:!0}),Object.defineProperty(c.prototype,"startNewPage",{get:function(){return!1},set:function(t){},enumerable:!1,configurable:!0}),Object.defineProperty(c.prototype,"startNewPageIfLessThan",{get:function(){return 0},set:function(t){},enumerable:!1,configurable:!0}),c.prototype.restoreState=function(t){u.prototype.restoreState.call(this,t),this.setColumnModeToParent()},Object.defineProperty(c.prototype,"keepHeaderTogether",{get:function(){return!1},set:function(t){},enumerable:!1,configurable:!0}),Object.defineProperty(c.prototype,"keepFooterTogether",{get:function(){return!1},set:function(t){},enumerable:!1,configurable:!0}),Object.defineProperty(c.prototype,"keepChildTogether",{get:function(){return!1},set:function(t){},enumerable:!1,configurable:!0}),Object.defineProperty(c.prototype,"keepGroupTogether",{get:function(){return!1},set:function(t){},enumerable:!1,configurable:!0}),Object.defineProperty(c.prototype,"printAtBottom",{get:function(){return!1},set:function(t){},enumerable:!1,configurable:!0}),Object.defineProperty(c.prototype,"printOnAllPages",{get:function(){return!0},set:function(t){},enumerable:!1,configurable:!0}),c.prototype.setColumnModeToParent=function(){this.columnMode&&this.parent.is(i.StiDataBand)&&null==this.dataSource&&(this.parent.isEofValue=this.isEof,this.parent.isBofValue=this.isBof,this.parent.positionValue=this.position)},c.prototype.getColumnModeFromParent=function(){this.columnMode&&this.parent.is(i.StiDataBand)&&null==this.dataSource&&(this.enabled=this.parent.enabled,this.isEofValue=this.parent.isEofValue,this.isBofValue=this.parent.isBofValue,this.positionValue=this.parent.positionValue)},c.prototype.first=function(){u.prototype.first.call(this),this.setColumnModeToParent()},c.prototype.prior=function(){u.prototype.prior.call(this),this.setColumnModeToParent()},c.prototype.next=function(){u.prototype.next.call(this),this.setColumnModeToParent()},c.prototype.last=function(){u.prototype.last.call(this),this.setColumnModeToParent()},Object.defineProperty(c.prototype,"localizedCategory",{get:function(){return l.get("Report","CrossBands")},enumerable:!1,configurable:!0}),Object.defineProperty(c.prototype,"localizedName",{get:function(){return l.get("Components","StiCrossDataBand")},enumerable:!1,configurable:!0}),Object.defineProperty(c.prototype,"isCross",{get:function(){return!0},enumerable:!1,configurable:!0}),c.prototype.getDockStyle=function(){return this.isRightToLeft?i.StiDockStyle.Right:i.StiDockStyle.Left},Object.defineProperty(c.prototype,"minWidth",{get:function(){return this.minSize.width},set:function(t){this.minSize.width!=t&&(this.minSize=new s(t,0))},enumerable:!1,configurable:!0}),Object.defineProperty(c.prototype,"maxWidth",{get:function(){return this.maxSize.width},set:function(t){this.maxSize.width!=t&&(this.maxSize=new s(t,0))},enumerable:!1,configurable:!0}),Object.defineProperty(c.prototype,"selectRectangle",{get:function(){var t=this.page.unit.convertFromHInches(this.headerSize);return new a(this.left,this.top,this.width,this.height+t)},set:function(t){var e=this.page.unit.convertFromHInches(this.headerSize);this.left=t.left,this.top=t.top,this.width=t.width,this.height=t.height-e},enumerable:!1,configurable:!0}),Object.defineProperty(c.prototype,"displayRectangle",{get:function(){return this.selectRectangle},set:function(t){this.selectRectangle=t},enumerable:!1,configurable:!0}),Object.defineProperty(c.prototype,"headerSize",{get:function(){return this.report.info.showHeaders?o.alignToMaxGrid(15,this.page.unit.convertToHInches(this.page.gridSize),!0)-4:0},enumerable:!1,configurable:!0}),c.prototype.createNew=function(){return new c},Object.defineProperty(c.prototype,"columnMode",{get:function(){return this._columnMode},set:function(t){this._columnMode=t},enumerable:!1,configurable:!0}),t=c,i.StiCrossDataBand=t}(Stimulsoft=Stimulsoft||{}),function(t){var e,r,n,i,o,a,s,l,t,u;function c(t){void 0===t&&(t=a.empty);var t=u.call(this,t)||this;return t.defaultClientRectangle=new a(0,0,30,50),t}r=e=t.Report||(t.Report={}),i=n=r.Components||(r.Components={}),o=t.Base.StiAlignValue,a=t.System.Drawing.Rectangle,s=t.System.Drawing.Size,l=t.Base.Localization.StiLocalization,u=i.StiFooterBand,__extends(c,u),c.prototype.saveToJsonObject=function(t){var t=u.prototype.saveToJsonObject.call(this,t);return t.removeProperty("NewPageBefore"),t.removeProperty("NewPageAfter"),t.removeProperty("NewColumnBefore"),t.removeProperty("NewColumnAfter"),t.removeProperty("SkipFirst"),t.removeProperty("BreakIfLessThan"),t.removeProperty("GrowToHeight"),t.removeProperty("ResetPageNumber"),t.removeProperty("StartNewPage"),t.removeProperty("StartNewPageIfLessThan"),t.removeProperty("PrintAtBottom"),t.removeProperty("PrintOnAllPages"),t.removeProperty("PrintIfEmpty"),t.removeProperty("PrintOnEvenOddPages"),t.removeProperty("PrintOn"),t.removeProperty("DockStyle"),t.removeProperty("MinSize"),t.removeProperty("MaxSize"),t.removeProperty("MaxHeight"),t.removeProperty("MinHeight"),t.addPropertyNumber("MinWidth",this.minWidth,0),t.addPropertyNumber("MaxWidth",this.maxWidth,0),t},c.prototype.loadFromJsonObject=function(t){var e,r;u.prototype.loadFromJsonObject.call(this,t);try{for(var n=__values(t.properties()),i=n.next();!i.done;i=n.next()){var o=i.value;switch(o.name){case"MinWidth":this.minWidth=o.value.stimulsoft.toNumber();break;case"MaxWidth":this.maxWidth=o.value.stimulsoft.toNumber();break}}}catch(t){e={error:t}}finally{try{i&&!i.done&&(r=n.return)&&r.call(n)}finally{if(e)throw e.error}}},Object.defineProperty(c.prototype,"componentId",{get:function(){return r.StiComponentId.StiCrossFooterBand},enumerable:!1,configurable:!0}),Object.defineProperty(c.prototype,"helpUrl",{get:function(){return"user-manual/report_internals_bands_band_types_cross_bands.htm"},enumerable:!1,configurable:!0}),Object.defineProperty(c.prototype,"growToHeight",{get:function(){return!0},set:function(t){},enumerable:!1,configurable:!0}),Object.defineProperty(c.prototype,"resetPageNumber",{get:function(){return!1},set:function(t){},enumerable:!1,configurable:!0}),Object.defineProperty(c.prototype,"startNewPage",{get:function(){return!1},set:function(t){},enumerable:!1,configurable:!0}),Object.defineProperty(c.prototype,"startNewPageIfLessThan",{get:function(){return 0},set:function(t){},enumerable:!1,configurable:!0}),Object.defineProperty(c.prototype,"printAtBottom",{get:function(){return!1},set:function(t){},enumerable:!1,configurable:!0}),Object.defineProperty(c.prototype,"printOnAllPages",{get:function(){return!1},set:function(t){},enumerable:!1,configurable:!0}),Object.defineProperty(c.prototype,"localizedCategory",{get:function(){return l.get("Report","CrossBands")},enumerable:!1,configurable:!0}),Object.defineProperty(c.prototype,"localizedName",{get:function(){return l.get("Components","StiCrossFooterBand")},enumerable:!1,configurable:!0}),Object.defineProperty(c.prototype,"isCross",{get:function(){return!0},enumerable:!1,configurable:!0}),c.prototype.getDockStyle=function(){return i.StiDockStyle.Left},c.prototype.setDockStyle=function(t){},Object.defineProperty(c.prototype,"minWidth",{get:function(){return this.minSize.width},set:function(t){this.minSize.width!=t&&(this.minSize=new s(t,0))},enumerable:!1,configurable:!0}),Object.defineProperty(c.prototype,"maxWidth",{get:function(){return this.maxSize.width},set:function(t){this.maxSize.width!=t&&(this.maxSize=new s(t,0))},enumerable:!1,configurable:!0}),Object.defineProperty(c.prototype,"selectRectangle",{get:function(){var t=this.page.unit.convertFromHInches(this.headerSize);return new a(this.left,this.top,this.width,this.height+t)},set:function(t){var e=this.page.unit.convertFromHInches(this.headerSize);this.left=t.left,this.top=t.top,this.width=t.width,this.height=t.height-e},enumerable:!1,configurable:!0}),Object.defineProperty(c.prototype,"displayRectangle",{get:function(){return this.selectRectangle},set:function(t){this.selectRectangle=t},enumerable:!1,configurable:!0}),Object.defineProperty(c.prototype,"headerSize",{get:function(){return this.report.info.showHeaders?o.alignToMaxGrid(15,this.page.unit.convertToHInches(this.page.gridSize),!0)-4:0},enumerable:!1,configurable:!0}),c.prototype.createNew=function(){return new c},t=c,i.StiCrossFooterBand=t}(Stimulsoft=Stimulsoft||{}),function(t){var e,r,n,i,o,a,s,l,t,u;function c(t){void 0===t&&(t=a.empty);var t=u.call(this,t)||this;return t.defaultClientRectangle=new a(0,0,30,50),t}r=e=t.Report||(t.Report={}),i=n=r.Components||(r.Components={}),o=t.Base.StiAlignValue,a=t.System.Drawing.Rectangle,s=t.System.Drawing.Size,l=t.Base.Localization.StiLocalization,u=i.StiGroupFooterBand,__extends(c,u),c.prototype.saveToJsonObject=function(t){var t=u.prototype.saveToJsonObject.call(this,t);return t.removeProperty("NewPageBefore"),t.removeProperty("NewPageAfter"),t.removeProperty("NewColumnBefore"),t.removeProperty("NewColumnAfter"),t.removeProperty("SkipFirst"),t.removeProperty("BreakIfLessThan"),t.removeProperty("GrowToHeight"),t.removeProperty("ResetPageNumber"),t.removeProperty("PrintAtBottom"),t.addPropertyBool("CanBreak",this.canBreak),t.removeProperty("DockStyle"),t.removeProperty("MinSize"),t.removeProperty("MaxSize"),t.removeProperty("MaxHeight"),t.removeProperty("MinHeight"),t.addPropertyNumber("MinWidth",this.minWidth,0),t.addPropertyNumber("MaxWidth",this.maxWidth,0),t},c.prototype.loadFromJsonObject=function(t){var e,r;u.prototype.loadFromJsonObject.call(this,t);try{for(var n=__values(t.properties()),i=n.next();!i.done;i=n.next()){var o=i.value;switch(o.name){case"MinWidth":this.minWidth=o.value.stimulsoft.toNumber();break;case"MaxWidth":this.maxWidth=o.value.stimulsoft.toNumber();break}}}catch(t){e={error:t}}finally{try{i&&!i.done&&(r=n.return)&&r.call(n)}finally{if(e)throw e.error}}},Object.defineProperty(c.prototype,"componentId",{get:function(){return r.StiComponentId.StiCrossGroupFooterBand},enumerable:!1,configurable:!0}),Object.defineProperty(c.prototype,"helpUrl",{get:function(){return"user-manual/report_internals_bands_band_types_cross_bands.htm"},enumerable:!1,configurable:!0}),Object.defineProperty(c.prototype,"growToHeight",{get:function(){return!0},set:function(t){},enumerable:!1,configurable:!0}),Object.defineProperty(c.prototype,"resetPageNumber",{get:function(){return!1},set:function(t){},enumerable:!1,configurable:!0}),Object.defineProperty(c.prototype,"printAtBottom",{get:function(){return!1},set:function(t){},enumerable:!1,configurable:!0}),Object.defineProperty(c.prototype,"localizedCategory",{get:function(){return l.get("Report","CrossBands")},enumerable:!1,configurable:!0}),Object.defineProperty(c.prototype,"localizedName",{get:function(){return l.get("Components","StiCrossGroupFooterBand")},enumerable:!1,configurable:!0}),Object.defineProperty(c.prototype,"isCross",{get:function(){return!0},enumerable:!1,configurable:!0}),c.prototype.getDockStyle=function(){return i.StiDockStyle.Left},c.prototype.setDockStyle=function(t){},Object.defineProperty(c.prototype,"minWidth",{get:function(){return this.minSize.width},set:function(t){this.minSize.width!=t&&(this.minSize=new s(t,0))},enumerable:!1,configurable:!0}),Object.defineProperty(c.prototype,"maxWidth",{get:function(){return this.maxSize.width},set:function(t){this.maxSize.width!=t&&(this.maxSize=new s(t,0))},enumerable:!1,configurable:!0}),Object.defineProperty(c.prototype,"selectRectangle",{get:function(){var t=this.page.unit.convertFromHInches(this.headerSize);return new a(this.left,this.top,this.width,this.height+t)},set:function(t){var e=this.page.unit.convertFromHInches(this.headerSize);this.left=t.left,this.top=t.top,this.width=t.width,this.height=t.height-e},enumerable:!1,configurable:!0}),Object.defineProperty(c.prototype,"displayRectangle",{get:function(){return this.selectRectangle},set:function(t){this.selectRectangle=t},enumerable:!1,configurable:!0}),Object.defineProperty(c.prototype,"headerSize",{get:function(){return this.report.info.showHeaders?o.alignToMaxGrid(15,this.page.unit.convertToHInches(this.page.gridSize),!0)-4:0},enumerable:!1,configurable:!0}),c.prototype.createNew=function(){return new c},t=c,i.StiCrossGroupFooterBand=t}(Stimulsoft=Stimulsoft||{}),function(t){var e,r,n,i,o,a,s,l,t,u;function c(t){void 0===t&&(t=a.empty);var t=u.call(this,t)||this;return t.defaultClientRectangle=new a(0,0,30,50),t}r=e=t.Report||(t.Report={}),i=n=r.Components||(r.Components={}),o=t.Base.StiAlignValue,a=t.System.Drawing.Rectangle,s=t.System.Drawing.Size,l=t.Base.Localization.StiLocalization,u=i.StiGroupHeaderBand,__extends(c,u),c.prototype.saveToJsonObject=function(t){var t=u.prototype.saveToJsonObject.call(this,t);return t.removeProperty("NewPageBefore"),t.removeProperty("NewPageAfter"),t.removeProperty("NewColumnBefore"),t.removeProperty("NewColumnAfter"),t.removeProperty("SkipFirst"),t.removeProperty("BreakIfLessThan"),t.removeProperty("GrowToHeight"),t.removeProperty("ResetPageNumber"),t.removeProperty("StartNewPage"),t.removeProperty("PrintOnAllPages"),t.removeProperty("PrintAtBottom"),t.removeProperty("DockStyle"),t.removeProperty("MinSize"),t.removeProperty("MaxSize"),t.removeProperty("MaxHeight"),t.removeProperty("MinHeight"),t.addPropertyNumber("MinWidth",this.minWidth,0),t.addPropertyNumber("MaxWidth",this.maxWidth,0),t},c.prototype.loadFromJsonObject=function(t){var e,r;u.prototype.loadFromJsonObject.call(this,t);try{for(var n=__values(t.properties()),i=n.next();!i.done;i=n.next()){var o=i.value;switch(o.name){case"MinWidth":this.minWidth=o.value.stimulsoft.toNumber();break;case"MaxWidth":this.maxWidth=o.value.stimulsoft.toNumber();break}}}catch(t){e={error:t}}finally{try{i&&!i.done&&(r=n.return)&&r.call(n)}finally{if(e)throw e.error}}},Object.defineProperty(c.prototype,"componentId",{get:function(){return r.StiComponentId.StiCrossGroupHeaderBand},enumerable:!1,configurable:!0}),Object.defineProperty(c.prototype,"helpUrl",{get:function(){return"user-manual/report_internals_bands_band_types_cross_bands.htm"},enumerable:!1,configurable:!0}),Object.defineProperty(c.prototype,"growToHeight",{get:function(){return!0},set:function(t){},enumerable:!1,configurable:!0}),Object.defineProperty(c.prototype,"resetPageNumber",{get:function(){return!1},set:function(t){},enumerable:!1,configurable:!0}),Object.defineProperty(c.prototype,"startNewPage",{get:function(){return!1},set:function(t){},enumerable:!1,configurable:!0}),Object.defineProperty(c.prototype,"printOnAllPages",{get:function(){return!0},set:function(t){},enumerable:!1,configurable:!0}),Object.defineProperty(c.prototype,"printAtBottom",{get:function(){return!1},set:function(t){},enumerable:!1,configurable:!0}),Object.defineProperty(c.prototype,"localizedCategory",{get:function(){return l.get("Report","CrossBands")},enumerable:!1,configurable:!0}),Object.defineProperty(c.prototype,"localizedName",{get:function(){return l.get("Components","StiCrossGroupHeaderBand")},enumerable:!1,configurable:!0}),Object.defineProperty(c.prototype,"isCross",{get:function(){return!0},enumerable:!1,configurable:!0}),c.prototype.getDockStyle=function(){return i.StiDockStyle.Left},c.prototype.setDockStyle=function(t){},Object.defineProperty(c.prototype,"minWidth",{get:function(){return this.minSize.width},set:function(t){this.minSize.width!=t&&(this.minSize=new s(t,0))},enumerable:!1,configurable:!0}),Object.defineProperty(c.prototype,"maxWidth",{get:function(){return this.maxSize.width},set:function(t){this.maxSize.width!=t&&(this.maxSize=new s(t,0))},enumerable:!1,configurable:!0}),Object.defineProperty(c.prototype,"selectRectangle",{get:function(){var t=this.page.unit.convertFromHInches(this.headerSize);return new a(this.left,this.top,this.width,this.height+t)},set:function(t){var e=this.page.unit.convertFromHInches(this.headerSize);this.left=t.left,this.top=t.top,this.width=t.width,this.height=t.height-e},enumerable:!1,configurable:!0}),Object.defineProperty(c.prototype,"displayRectangle",{get:function(){return this.selectRectangle},set:function(t){this.selectRectangle=t},enumerable:!1,configurable:!0}),Object.defineProperty(c.prototype,"headerSize",{get:function(){return this.report.info.showHeaders?o.alignToMaxGrid(15,this.page.unit.convertToHInches(this.page.gridSize),!0)-4:0},enumerable:!1,configurable:!0}),c.prototype.createNew=function(){return new c},t=c,i.StiCrossGroupHeaderBand=t}(Stimulsoft=Stimulsoft||{}),function(t){var e,r,n,i,o,a,s,l,t,u;function c(t){void 0===t&&(t=a.empty);var t=u.call(this,t)||this;return t.defaultClientRectangle=new a(0,0,30,50),t}r=e=t.Report||(t.Report={}),i=n=r.Components||(r.Components={}),o=t.Base.StiAlignValue,a=t.System.Drawing.Rectangle,s=t.System.Drawing.Size,l=t.Base.Localization.StiLocalization,u=i.StiHeaderBand,__extends(c,u),c.prototype.saveToJsonObject=function(t){var t=u.prototype.saveToJsonObject.call(this,t);return t.removeProperty("NewPageBefore"),t.removeProperty("NewPageAfter"),t.removeProperty("NewColumnBefore"),t.removeProperty("NewColumnAfter"),t.removeProperty("SkipFirst"),t.removeProperty("BreakIfLessThan"),t.removeProperty("GrowToHeight"),t.removeProperty("ResetPageNumber"),t.removeProperty("StartNewPage"),t.removeProperty("StartNewPageIfLessThan"),t.removeProperty("PrintAtBottom"),t.removeProperty("PrintOnAllPages"),t.removeProperty("PrintIfEmpty"),t.removeProperty("PrintOnEvenOddPages"),t.removeProperty("PrintOn"),t.removeProperty("DockStyle"),t.removeProperty("MinSize"),t.removeProperty("MaxSize"),t.removeProperty("MaxHeight"),t.removeProperty("MinHeight"),t.addPropertyNumber("MinWidth",this.minWidth,0),t.addPropertyNumber("MaxWidth",this.maxWidth,0),t},c.prototype.loadFromJsonObject=function(t){var e,r;u.prototype.loadFromJsonObject.call(this,t);try{for(var n=__values(t.properties()),i=n.next();!i.done;i=n.next()){var o=i.value;switch(o.name){case"MinWidth":this.minWidth=o.value.stimulsoft.toNumber();break;case"MaxWidth":this.maxWidth=o.value.stimulsoft.toNumber();break}}}catch(t){e={error:t}}finally{try{i&&!i.done&&(r=n.return)&&r.call(n)}finally{if(e)throw e.error}}},Object.defineProperty(c.prototype,"componentId",{get:function(){return r.StiComponentId.StiCrossHeaderBand},enumerable:!1,configurable:!0}),Object.defineProperty(c.prototype,"helpUrl",{get:function(){return"user-manual/report_internals_bands_band_types_cross_bands.htm"},enumerable:!1,configurable:!0}),Object.defineProperty(c.prototype,"growToHeight",{get:function(){return!0},set:function(t){},enumerable:!1,configurable:!0}),Object.defineProperty(c.prototype,"resetPageNumber",{get:function(){return!1},set:function(t){},enumerable:!1,configurable:!0}),Object.defineProperty(c.prototype,"startNewPage",{get:function(){return!1},set:function(t){},enumerable:!1,configurable:!0}),Object.defineProperty(c.prototype,"startNewPageIfLessThan",{get:function(){return 0},set:function(t){},enumerable:!1,configurable:!0}),Object.defineProperty(c.prototype,"printAtBottom",{get:function(){return!1},set:function(t){},enumerable:!1,configurable:!0}),Object.defineProperty(c.prototype,"printOnAllPages",{get:function(){return!0},set:function(t){},enumerable:!1,configurable:!0}),Object.defineProperty(c.prototype,"localizedCategory",{get:function(){return l.get("Report","CrossBands")},enumerable:!1,configurable:!0}),Object.defineProperty(c.prototype,"localizedName",{get:function(){return l.get("Components","StiCrossHeaderBand")},enumerable:!1,configurable:!0}),Object.defineProperty(c.prototype,"isCross",{get:function(){return!0},enumerable:!1,configurable:!0}),c.prototype.getDockStyle=function(){return i.StiDockStyle.Left},c.prototype.setDockStyle=function(t){},Object.defineProperty(c.prototype,"minWidth",{get:function(){return this.minSize.width},set:function(t){this.minSize.width!=t&&(this.minSize=new s(t,0))},enumerable:!1,configurable:!0}),Object.defineProperty(c.prototype,"maxWidth",{get:function(){return this.maxSize.width},set:function(t){this.maxSize.width!=t&&(this.maxSize=new s(t,0))},enumerable:!1,configurable:!0}),Object.defineProperty(c.prototype,"selectRectangle",{get:function(){var t=this.page.unit.convertFromHInches(this.headerSize);return new a(this.left,this.top,this.width,this.height+t)},set:function(t){var e=this.page.unit.convertFromHInches(this.headerSize);this.left=t.left,this.top=t.top,this.width=t.width,this.height=t.height-e},enumerable:!1,configurable:!0}),Object.defineProperty(c.prototype,"displayRectangle",{get:function(){return this.selectRectangle},set:function(t){this.selectRectangle=t},enumerable:!1,configurable:!0}),Object.defineProperty(c.prototype,"headerSize",{get:function(){return this.report.info.showHeaders?o.alignToMaxGrid(15,this.page.unit.convertToHInches(this.page.gridSize),!0)-4:0},enumerable:!1,configurable:!0}),c.prototype.createNew=function(){return new i.StiCrossFooterBand},t=c,i.StiCrossHeaderBand=t}(Stimulsoft=Stimulsoft||{}),function(e){var t,r,n,i,o,a,s,l;function u(){}r=t=e.Report||(e.Report={}),i=n=r.Components||(r.Components={}),o=e.Base.JsonReportObject.IStiJsonReportObject,a=e.Base.StiJson,s=e.System.Enum,l=e.System.Drawing.ContentAlignment,u.prototype.implements=function(){return[o]},u.prototype.is=function(t){if(t instanceof e.System.Interface)return-1!=this.implements().indexOf(t);if("function"==typeof t)return this instanceof t;if(null==t)throw new Error("Type for comparison is 'undefined'");return!1},u.prototype.is2=function(t){return this.is(t)},u.prototype.as=function(t){if(this.is(t))return this;return null},u.prototype.saveToJsonObject=function(t){var e=new a;return e.addPropertyIdent("Ident",this.stimulsoft.getType().stimulsoft.getTypeName()),e},u.prototype.loadFromJsonObject=function(t){},u.loadFromJsonObjectInternal=function(t){var e=null,r;switch(t.properties().firstOrDefault(function(t){return"Ident"==t.name}).value){case"StiIconSetIndicator":e=new i.StiIconSetIndicator;break;case"StiDataBarIndicator":e=new i.StiDataBarIndicator;break}return e.loadFromJsonObject(t),e},u.loadFromXml=function(t){var t=t.split(",");if("DataBar"==t[0])return new i.StiDataBarIndicator(s.parse(i.StiBrushType,e.System.Text.XMLConvert.decodeName(t[1])),e.System.Text.StiReportObjectStringConverter.convertStringToColor(t[2]),e.System.Text.StiReportObjectStringConverter.convertStringToColor(t[3]),"true"==t[4].toLowerCase(),e.System.Text.StiReportObjectStringConverter.convertStringToColor(t[5]),e.System.Text.StiReportObjectStringConverter.convertStringToColor(t[6]),s.parse(i.StiDataBarDirection,e.System.Text.XMLConvert.decodeName(t[7])),t[8].stimulsoft.toNumber(),t[9].stimulsoft.toNumber(),t[10].stimulsoft.toNumber());if("IconSet"==t[0])return new i.StiIconSetIndicator(s.parse(i.StiIcon,e.System.Text.XMLConvert.decodeName(t[1])),s.parse(l,e.System.Text.XMLConvert.decodeName(t[2])));return null},r=u,i.StiIndicator=r}(Stimulsoft=Stimulsoft||{}),function(t){var e,r,n,p,h,i,a,s,m,d;function o(t,e,r,n,i,o,a,s,l,u){void 0===t&&(t=m.Gradient),void 0===e&&(e=h.green),void 0===r&&(r=h.red),void 0===n&&(n=!1),void 0===i&&(i=h.darkGreen),void 0===o&&(o=h.darkRed),void 0===a&&(a=p.StiDataBarDirection.Default),void 0===s&&(s=0),void 0===l&&(l=0),void 0===u&&(u=100);var c=d.call(this)||this;return c._brushType=m.Gradient,c._positiveColor=h.green,c._negativeColor=h.red,c._positiveBorderColor=h.darkGreen,c._negativeBorderColor=h.darkRed,c._showBorder=!1,c._value=0,c._minimum=0,c._maximum=100,c._direction=p.StiDataBarDirection.Default,c.brushType=t,c.positiveColor=e,c.negativeColor=r,c.showBorder=n,c.positiveBorderColor=i,c.negativeBorderColor=o,c.direction=a,c.value=s,c.minimum=l,c.maximum=u,c}r=e=t.Report||(t.Report={}),p=n=r.Components||(r.Components={}),h=t.System.Drawing.Color,i=t.Base.JsonReportObject.IStiJsonReportObject,a=t.Base.StiJsonReportObjectHelper,s=t.System.Enum,m=t.Report.Components.StiBrushType,d=p.StiIndicator,__extends(o,d),o.prototype.implements=function(){return d.prototype.implements.call(this).concat([p.IStiDataBarIndicator,i])},o.prototype.saveToJsonObject=function(t){var t=d.prototype.saveToJsonObject.call(this,t);return t.addPropertyEnum("BrushType",m,this.brushType,m.Gradient),t.addPropertyStringNullOrEmpty("PositiveColor",a.Serialize.jColor(this.positiveColor,h.green)),t.addPropertyStringNullOrEmpty("NegativeColor",a.Serialize.jColor(this.negativeColor,h.red)),t.addPropertyStringNullOrEmpty("PositiveBorderColor",a.Serialize.jColor(this.positiveBorderColor,h.darkGreen)),t.addPropertyStringNullOrEmpty("NegativeBorderColor",a.Serialize.jColor(this.negativeBorderColor,h.darkRed)),t.addPropertyBool("ShowBorder",this.showBorder),t.addPropertyNumber("Value",this.value,0),t.addPropertyNumber("Minimum",this.minimum,0),t.addPropertyNumber("Maximum",this.maximum,100),t.addPropertyEnum("Direction",p.StiDataBarDirection,this.direction,p.StiDataBarDirection.Default),t},o.prototype.loadFromJsonObject=function(t){var e,r;try{for(var n=__values(t.properties()),i=n.next();!i.done;i=n.next()){var o=i.value;switch(o.name){case"BrushType":this._brushType=s.parse(m,o.value);break;case"PositiveColor":this._positiveColor=a.Deserialize.color(o.value);break;case"NegativeColor":this._negativeColor=a.Deserialize.color(o.value);break;case"PositiveBorderColor":this._positiveBorderColor=a.Deserialize.color(o.value);break;case"NegativeBorderColor":this._negativeBorderColor=a.Deserialize.color(o.value);break;case"ShowBorder":this._showBorder=o.value.stimulsoft.toBoolean();break;case"Value":this._value=o.value.stimulsoft.toNumber();break;case"Minimum":this._minimum=o.value.stimulsoft.toNumber();break;case"Maximum":this._maximum=o.value.stimulsoft.toNumber();break;case"Direction":this._direction=s.parse(p.StiDataBarDirection,o.value);break}}}catch(t){e={error:t}}finally{try{i&&!i.done&&(r=n.return)&&r.call(n)}finally{if(e)throw e.error}}},Object.defineProperty(o.prototype,"brushType",{get:function(){return this._brushType},set:function(t){this._brushType=t},enumerable:!1,configurable:!0}),Object.defineProperty(o.prototype,"positiveColor",{get:function(){return this._positiveColor},set:function(t){this._positiveColor=t},enumerable:!1,configurable:!0}),Object.defineProperty(o.prototype,"negativeColor",{get:function(){return this._negativeColor},set:function(t){this._negativeColor=t},enumerable:!1,configurable:!0}),Object.defineProperty(o.prototype,"positiveBorderColor",{get:function(){return this._positiveBorderColor},set:function(t){this._positiveBorderColor=t},enumerable:!1,configurable:!0}),Object.defineProperty(o.prototype,"negativeBorderColor",{get:function(){return this._negativeBorderColor},set:function(t){this._negativeBorderColor=t},enumerable:!1,configurable:!0}),Object.defineProperty(o.prototype,"showBorder",{get:function(){return this._showBorder},set:function(t){this._showBorder=t},enumerable:!1,configurable:!0}),Object.defineProperty(o.prototype,"value",{get:function(){return this._value},set:function(t){this._value=t},enumerable:!1,configurable:!0}),Object.defineProperty(o.prototype,"minimum",{get:function(){return this._minimum},set:function(t){this._minimum=t},enumerable:!1,configurable:!0}),Object.defineProperty(o.prototype,"maximum",{get:function(){return this._maximum},set:function(t){this._maximum=t},enumerable:!1,configurable:!0}),Object.defineProperty(o.prototype,"direction",{get:function(){return this._direction},set:function(t){this._direction=t},enumerable:!1,configurable:!0}),r=o,p.StiDataBarIndicator=r}(Stimulsoft=Stimulsoft||{}),function(t){var e,r,n,i,o,a,s;function l(){}r=e=t.Report||(t.Report={}),i=n=r.Components||(r.Components={}),o=t.System.Drawing.Image,a=t.Report.Components.StiIcon,s=t.System.Enum,l.getIconSet=function(t){switch(t){case i.StiIconSet.ArrowsColored3:return[a.ArrowUpGreen,a.ArrowRightYellow,a.ArrowDownRed];case i.StiIconSet.ArrowsColored4:return[a.ArrowUpGreen,a.ArrowRightUpYellow,a.ArrowRightDownYellow,a.ArrowDownRed];case i.StiIconSet.ArrowsColored5:return[a.ArrowUpGreen,a.ArrowRightUpYellow,a.ArrowRightYellow,a.ArrowRightDownYellow,a.ArrowDownRed];case i.StiIconSet.ArrowsGray3:return[a.ArrowUpGray,a.ArrowRightGray,a.ArrowDownGray];case i.StiIconSet.ArrowsGray4:return[a.ArrowUpGray,a.ArrowRightUpGray,a.ArrowRightDownGray,a.ArrowDownGray];case i.StiIconSet.ArrowsGray5:return[a.ArrowUpGray,a.ArrowRightUpGray,a.ArrowRightGray,a.ArrowRightDownGray,a.ArrowDownGray];case i.StiIconSet.Flags3:return[a.FlagGreen,a.FlagYellow,a.FlagRed];case i.StiIconSet.Latin4:return[a.Latin1,a.Latin2,a.Latin3,a.Latin4];case i.StiIconSet.Quarters5:return[a.QuarterFull,a.QuarterThreeFourth,a.QuarterHalf,a.QuarterQuarter,a.QuarterNone];case i.StiIconSet.QuartersGreen5:return[a.QuarterFullGreen,a.QuarterThreeFourthGreen,a.QuarterHalfGreen,a.QuarterQuarterGreen,a.QuarterNoneGreen];case i.StiIconSet.QuartersRed5:return[a.QuarterFullRed,a.QuarterThreeFourthRed,a.QuarterHalfRed,a.QuarterQuarterRed,a.QuarterNoneRed];case i.StiIconSet.Ratings3:return[a.Rating4,a.Rating2,a.Rating0];case i.StiIconSet.Ratings4:return[a.Rating4,a.Rating3,a.Rating2,a.Rating1];case i.StiIconSet.Ratings5:return[a.Rating4,a.Rating3,a.Rating2,a.Rating1,a.Rating0];case i.StiIconSet.RedToBlack4:return[a.FromRedToBlackRed,a.FromRedToBlackPink,a.FromRedToBlackGray,a.QuarterFull];case i.StiIconSet.Signs3:return[a.CircleGreen,a.TriangleYellow,a.RhombRed];case i.StiIconSet.Squares5:return[a.Square0,a.Square1,a.Square2,a.Square3,a.Square4];case i.StiIconSet.Stars3:return[a.StarFull,a.StarHalf,a.StarNone];case i.StiIconSet.Stars5:return[a.StarFull,a.StarThreeFourth,a.StarHalf,a.StarQuarter,a.StarNone];case i.StiIconSet.SymbolsCircled3:return[a.CircleCheckGreen,a.CircleExclamationYellow,a.CircleCrossRed];case i.StiIconSet.SymbolsUncircled3:return[a.CheckGreen,a.ExclamationYellow,a.CrossRed];case i.StiIconSet.TrafficLights4:return[a.CircleGreen,a.CircleYellow,a.CircleRed,a.CircleBlack];case i.StiIconSet.TrafficLightsRimmed3:return[a.LightsGreen,a.LightsYellow,a.LightsRed];case i.StiIconSet.TrafficLightsUnrimmed3:return[a.CircleGreen,a.CircleYellow,a.CircleRed];case i.StiIconSet.Triangles3:return[a.TriangleGreen,a.MinusYellow,a.TriangleRed];case i.StiIconSet.Full:return[a.ArrowUpGreen,a.ArrowRightYellow,a.ArrowDownRed,a.ArrowUpGray,a.ArrowRightGray,a.ArrowDownGray,a.ArrowRightUpYellow,a.ArrowRightDownYellow,a.ArrowRightUpGray,a.ArrowRightDownGray,a.TriangleGreen,a.MinusYellow,a.TriangleRed,a.FlagGreen,a.FlagYellow,a.FlagRed,a.Latin1,a.Latin2,a.Latin3,a.Latin4,a.CheckGreen,a.ExclamationYellow,a.CrossRed,a.CircleCheckGreen,a.CircleExclamationYellow,a.CircleCrossRed,a.CircleGreen,a.CircleYellow,a.CircleRed,a.CircleBlack,a.TriangleYellow,a.RhombRed,a.FromRedToBlackRed,a.FromRedToBlackPink,a.FromRedToBlackGray,a.LightsGreen,a.LightsYellow,a.LightsRed,a.QuarterFull,a.QuarterThreeFourth,a.QuarterHalf,a.QuarterQuarter,a.QuarterNone,a.QuarterFullGreen,a.QuarterThreeFourthGreen,a.QuarterHalfGreen,a.QuarterQuarterGreen,a.QuarterNoneGreen,a.QuarterFullRed,a.QuarterThreeFourthRed,a.QuarterHalfRed,a.QuarterQuarterRed,a.QuarterNoneRed,a.Rating0,a.Rating1,a.Rating2,a.Rating3,a.Rating4,a.Square0,a.Square1,a.Square2,a.Square3,a.Square4,a.StarFull,a.StarThreeFourth,a.StarHalf,a.StarQuarter,a.StarNone];default:return null}},l.getIcons=function(t){var e,r,n=this.getIconSet(t),i=[],o=0;try{for(var a=__values(n),s=a.next();!s.done;s=a.next()){var l=s.value;i[o]=this.getIcon2(l),o++}}catch(t){e={error:t}}finally{try{s&&!s.done&&(r=a.return)&&r.call(a)}finally{if(e)throw e.error}}return i},l.getIcon2=function(t){if(t==a.None)return null;return this.icons[s.getName(a,t)]},l.getIcon=function(t){if(null!=t.customIcon)return o.fromBytes(t.customIcon);return t.icon==a.None?null:this.icons[s.getName(a,t.icon)]},l.icons={ArrowDownGray:o.fromBase64("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABIAAAASCAYAAABWzo5XAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAN1JREFUeNqs1NEJhDAMAND0cBJBhKIUPwR/BF3MEVypC+gKuojauwiReqZV7hoIlFofaU0VxhgIERE32batU9dai8cQRtd1sK7rKfu+d1b0cj34RjB94YS2bTvyL8iuhLCfKwqyNbuSYFt7AkVc3+R5zkJJklzWUl8J6mxcoJSCpmlgWZbjZRrbc+M4wjzPp+YU9hVBLMsyqOuaBXDMIReIMCklVFXFVjJNE3tNBHdpEUvTFMqyPFXiQpwQYXi4RVHAMAxexAsRFsfxLbIHQr78fEVztwZThPqxvQUYAMkFQzOhj4qDAAAAAElFTkSuQmCC"),ArrowDownRed:o.fromBase64("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABIAAAASCAYAAABWzo5XAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAONJREFUeNpi/P//PwM1AAs2wYkaMjhNz7/xhJFog0Ags2Uiw/8/fxgYQPj3HyD7N8PM3gacLmLCJYFuCIjGB3AahGHI799kGoRmyH9yDcIwhBIXIRsCDjPyDEIzhICLWLClGy1tQ0xDgFhTXhVDLSxdMcJSNkiBlq4xg62NC1ZD4OEE9PLRG+cYrj97iJI4GZGzCNgwTX0GGzM7kgzBMAhumKo2g7WhJdGGYDUIbpiiOoOVtjFRhuA0CGaYpqwyg7WqHkFD8BoEN0xKnqAhkBQMNAgfnqAu/Z+QGhBmpFbBBhBgAD+BHSrfOF/gAAAAAElFTkSuQmCC"),ArrowRightDownGray:o.fromBase64("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABIAAAASCAYAAABWzo5XAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAQ1JREFUeNq0lEkORUAQhqt5NxALK7FhZUMskBA2TuGshhtwAgunENIv1UlLax3eWEkFpX35a0IopfAL0+RAXde0KAr6FQghhmGA53nwLuwhQkzThCiKYF1XFkNY0zTkZUUIsSwL0jQFXdeZJ0lyq0x8x0DzPMOyLDtEhLmuq4SVZUlPilD+MAzQti1omnYLw3vbttU1Qhg/nOc58LHAaxzHh1QcxwHf92GapjNIhmVZxiCoisN4I7ZtY345RzzNrusOKcop4/MliMPGcYS+708NEP0WJMJkJaI6ZbFVRgjZPxCLr9rPx9WwBUFwAInFfwmEkDAMoaoq1h0ZoFJF5MC7y8p3kfztf/SpPQUYAMw4nSlad+0eAAAAAElFTkSuQmCC"),ArrowRightDownYellow:o.fromBase64("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABIAAAASCAYAAABWzo5XAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAQVJREFUeNpi/P//PwM1ABO6wJ4a8/83i1j+U2QQyBB9zX8MAjoaDKQaxoJiiDYrg4ilBQPDvx9gMZBh6n1/GIl2EdgQHV4GEVsPoAgHGIs5OBB0GbIc2CDZb2cZ/v36zcDAyAE3iJBhN4tZ/2O4COT8DxeOMrzau5kow0BsAU0J7GEEMgymWMzZFyUaQIYhe0VAS45BzFKF4cO155gGEWOYmB0wIv7/gETGv5/YXUSMYWDwD1vqw2IQuYYx4YpaWASAAx0tAuBihFwEB4xAe5jY8XqJoEEgrwmauCEMImAYCy5DBIy9GMQ8koCafzH8ZyIc2IzoxQipmRWWFxlpVh6RCwACDADTG3TsSFHrCwAAAABJRU5ErkJggg=="),ArrowRightGray:o.fromBase64("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABIAAAASCAYAAABWzo5XAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAL9JREFUeNrMlE8OxBAYxT+TuUixs2liYWHlZD2aE+gR6iLFhKTS0k6ZdDEvEcLnl/fiDwohwBN6wUNqBimlwmOOvsG6QIyxS9i7xfYGkVKCcy7Va61RBYqapikVee9TH9u6rtVYCJFqSliOFhf3kBK6n+OcAyHkkCSDyg13bRxHGIYhwypHZy7OXM3zDNZa2OL95MgYc4BEofhEWk6NUprinEEyqPUyYoxhWZYK0n0hryDdoCtIV7T/+0bu9BFgAJkB9COMwS2UAAAAAElFTkSuQmCC"),ArrowRightUpGray:o.fromBase64("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABIAAAASCAYAAABWzo5XAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAQtJREFUeNq0lE+uREAQxqtl4gJiZ+MAWIitPyuX4GyuYcUKK7Fm5xYW6HklaenX3WbG5L1KKh2drp+vPtUIpRT+IogISpLkFrmua6IEMZjv+5CmKWzbBuu6SitmURQnSLt6S9/3UJblUbjv+7HyiXt8aK8kD8MgFfPPH4EwsG1RyW0Q+uS67mVbH4EYJAzD7xUhxPM8iKLopT+i2Y8rCH5evrjrOpim6Thn2zY4jqMGXSnhIWxm8Kw4fxoPieNYaqFt218QNhrzPMsgy7JA13VJiQrCoqoqorxreZ5T0zQhCILDn6ZpYBxHJeTtpUWYYRiwLMstyDm9fGZZRn+8ouL+uyT/9j/6Np4CDAAvBnYmNVluYQAAAABJRU5ErkJggg=="),ArrowRightUpYellow:o.fromBase64("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABIAAAASCAYAAABWzo5XAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAPlJREFUeNpi/P//PwM1AAu6wM0iFpJMVu/7w4jVIJAEyDABYy8Gcc8kBoZ/vxj+//8BpH9CMZAN5v9guDWhA7eLkA1jZPzDIOoagdUQMEYCTPic/P7sHtyGEGsQGPz/h9sQYg0Ch5OBNW5D/hNhEMwQMWdf3IYQchHRhoC8jCsd4TPk1YEDDB+u3ACrE9CSYxCzVMFuEDGGwBIfJNH+xvQaKYbAksaH6y8wDXrMZczAxMZKlCFww3p/o4gxwjLtnhrz//rarAwilhYEDcEGGJFzP9gwzX/ACPlOkiGQxAs0CBnvrjb7f6OQ+T+6OCHMSK3yiImBSgAgwAA/ZCfMBhHM+wAAAABJRU5ErkJggg=="),ArrowRightYellow:o.fromBase64("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABIAAAASCAYAAABWzo5XAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAOFJREFUeNpi/P//PwM1ABMxim4WsfynikHEGEa0QQIG1ngNI9ogMWdfBgF9U5yGsRDjbAF9CwaG/z8YxBydGRj+/QSrV+/7w4hhEAio124GKv4JVPiL4T9QE0gDBP8AGwKmgVjM3grI/4VhGMJrRBgCN8zWgEFASxHFJwiDiDQEJiZmrcEgoCkNNwxuECmGgNS8OnKJ4cP1pwww7yG5iHxDQIARlEUIxpq2CoOYjQ5OQ6Be+k8Q3yhk/v/vms//F7Pk/oPY2NQQnSBxuoTUlI3PEJIMwmcIPLDpVh4RAwACDAAjBPgn9bL/8gAAAABJRU5ErkJggg=="),ArrowUpGray:o.fromBase64("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABIAAAASCAYAAABWzo5XAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAANBJREFUeNq81FsKhCAUBuCjtBUJIoh6EILEglqry/CtRbQWy+EEhWOZM1NMcJDMPn4vSKy18MRDYwO6rrO3IUTKsvwIozGk73soiiKK0RBSVRUMwwDLskDbtpDn+SVGQwgmmed5LcSEEJBlWRCjV0k2aKu6riFN01OMniFuEh/jnANj7IARPEd+Jy6ulHL90Rizt+M4wjRNb0m01gTbxH1x0zVNc0iDiD82uv0+gvXTOfIRXK9HoNuJ3J27nQixv00tCX1QSn11H5GnLraXAAMACjzifAPsf9sAAAAASUVORK5CYII="),ArrowUpGreen:o.fromBase64("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABIAAAASCAYAAABWzo5XAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAANRJREFUeNpi/P//PwM1ABMhBWrxMv8pNghkiLKOAVGGMREyRN/GkUFBS5egYUyEDPnz/y+Dlo0dg6ymNl7DmAgZAsJ///1lULOyYpDS0MBpGBMxhoDZQFrJ3JxBXF0Nq2FMxBoCY8uaGjOIqCpjGMYISkfognJaOgyaVjYYhtw9cZLh9a3bKC65tfAJI4hmQeYgu07V0hLFEBAbZAi6WoLRj24IiCYrHaEbAuKTZRC6IWS7CN0Q8g1CM4Rsr6Eb8peAi1hwSVxevpak8oiRWgUbQIABALWj3x6/E6sXAAAAAElFTkSuQmCC"),CheckGreen:o.fromBase64("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABIAAAASCAYAAABWzo5XAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAaNJREFUeNpi/P//PwM1ABMDlQALiDBI1iBFTy+ULgYRF+beQBhEAmgXUpYp+gcMjQ/3nsANI9WgChEVmQpRHRWGf8AQ+fX1e9G3l293A8V3kBJGHkDcIqapyMDMysLw+uodBqAhy2CGEGuQIhAvVbUzYGbj4mB4ff0+w7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qsLgYrrayRdVUAWuqMLgVaKBRJrKKARWqwLwf+3eUjiLwU0hE90IVEcUxgEJCZVQD2YTReCPJw+kzhdAXXhWJhNBzKbeDQbT+DwrgKS2enAsb7rpkK8G2cgY+L/OWswG3yCFqM7KCxqgufITX6ftUyn/z8rTxmtdwEGACHEx5NTsUeYAAAAAElFTkSuQmCC"),CircleRed:o.fromBase64("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABIAAAASCAYAAABWzo5XAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAWxJREFUeNqsk79Lw0AUx1+Lg2IRQargj9YaENvFxXYXiw6CBVf/hg6u/gGuDv1LzKhxcmtxcGlRNJAaKTRQhHZNzveVB+aKmgNz8OXlkrvP5d77voxSitIYM9MvriqFPIcTVp1VZRVZHqvDclj2ebcfTO/LxP+IIQccmuXdvcb6pkXLK6uUm1+gyceIhgOf/L5Lve7jNa9pMezuR5BALo9Oz2rWdoUoikiFEceQSCLm7kuPbm7tNq+9iMOyses0kyAUhrRVsOhw/7iG9bLvG4Sc4DpJkC/x99JGiXasckNyqYHqyIkJRMnzGudPCqKBqkisKQTKLy6RVFUDFVEdU4jieW52jsQaGshDiU0hiJPxmMRfGqgDn5hCcGAwGpKYVAM5MJspBAf6wwGJ0zWQDcfCbCYQ992jp7dXONzWQNI7LTjWdZ8TIc7DfVvaJPiz12A2+AQlRnWQWOQE15E/+b3XUu3+/4wspTQ+BRgAOf98T7zyo24AAAAASUVORK5CYII="),CircleYellow:o.fromBase64("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABIAAAASCAYAAABWzo5XAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAWZJREFUeNqsk0FLQkEUha+SYWRiREHwyiBBwiAIdB3kMhLqd0jQsh/Qso0/onWvXdiqVboJJBDDUJIi3eirKDSY7olrvZHqDfQGDvfxmPmYOffcgFKK/Fhjoz+u98dnuWyzsq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l+vG5Tu468+lKnRsriSSaeW5wkvONCQCF3NLQoWpZQHImXyLDn3LscIgZez8WzJILf59FLlNR+XD335sTqbXJ7PM44lvi3kCKOnfOtIlqQxWZQHDWo8MBiN+t0OP8WELIgdHHlomCzq1pFUvYh/SpS3m1Un8QQHzvC2h3c/V8+jev3YfgswADMCLXXUtkcxAAAAAElFTkSuQmCC"),ExclamationYellow:o.fromBase64("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABIAAAASCAYAAABWzo5XAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAM1JREFUeNpi/P//PwM1AAs+yVfZrDZAqgWIFYG4T2zq74k4FYNchAu/zGK58f3Usv9/Xtz8D2S/wqeWiYCL2ViVLGHsd2R7DQie/vvwVPH/zy8g9n1KDHr0990jhv8/PlJs0NPfzy8z/P/6nnKD/jy/CjToHeVe+/P6NgPDN7DX7lAW2J9eMjD+/A42lBKD7jN+/fQUSHMCEyPe6GekVhZhYqASIJTXVgCpcCh3PdB7QeS6yIbfi4cBhIHAg5LAnv5x25dAmIuGVmADBBgANf6AfKLR0tsAAAAASUVORK5CYII="),FlagGreen:o.fromBase64("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABIAAAASCAYAAABWzo5XAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAblJREFUeNqslDtIA0EQhueinkpOTRSTiA+EWAnBiIUgWlgINgoK4gO0tLO0UhuNlaVYiJVWVhai2AlaiIhPjIIgaJFo3rlcHpf3+R+cEIMhiXGOj1lmd/+dHWaPkSSJ/sPKvwdTK+NmuBlgAvI4Ds7A6v7awWs+IdX3IBFLbjrpY1EyxIa7B42GkYn+tnaTbhZTTzhkvmCh091zu+vST96UhwIxgVQVDJnMRqrrVrFpLr4NsaGChHhXwOJ4dvsSvjS5eA8JkRCpy9XUYtBTqkGUl+xBrCOvEIpuFYPiS+KNyCP4yCv4KZVOk75GR5yOJak5bMCyO4hZQE9OIdnEYHTr49ZpE/1Jcge8FBZF0lZrqJFrpKg2SM0DLNfaWbek1rDXEDvKKQQ7dr67bZWfHDmsAj3ev1KIj1JTrY7YMpY8fIAkfGE+bsfahcyNTHYfMQyzDmebXB67gh9VMCvT90pLbKAl7D82ykKZwLrAYXY8H9lXk4MPcBFk1ldMZ6tyxE/AdFFv5Lc0YQ3gHNT/+WqKuBfuBkyUlJGSVS+4KCkjxa5BFYreW0qx5VNScDtgrhAh5r9+bF8CDADfci8waj1snwAAAABJRU5ErkJggg=="),FlagRed:o.fromBase64("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABIAAAASCAYAAABWzo5XAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAbFJREFUeNqslNsrg3EYx7/vEm/DnFbkkFpulMNKUrh1607iQvkDlPuhzJRyQcmF041bdyJXkmOSY9w4jJlNo9m8NlM7+r56J7QZ5qlPz6/n/b3f9/v8Dq8QiUTwH5ESHYwaTXqmdlJJ5LGfrBJjd1/PRSIhIepoyNC7Xna811iQJqK4sBRifhFuvI/YFEVZsItik98JqaKDsZlp+5zTjSzLBVQuJ8SAH1VparRenaeWSO4JOm76kdDtncO0bbW5rrNz4X98QODZgxDdaUU1Khx2ecosxcoSCrHFE+lJOl1XayjkQkByIxQOIZKjhc7nRYPdWsBpBxQzkZq4QnJIHs/4ssVqu9VkvbkKvvgQTs8ENDnQW83odN5n1EIwaIFdii3EFWIsnl2abRvl1Vgp1WE/6Me9ilPoCsxe7xOtA05A7rUr5q69FwRhkMk20j+ww9ysoFceHypHYpi7aP/0oiz0EUY1mf9aT8TX1uTiEZOPzup/c7JVcepLpO1XdySWTUYeWSO5f25NEX9g2iMtSTlSXNWRraQcKbFLRC56XTKLLX8lxDRFOn4iJPzXj+1VgAEAH8EvI11TK0kAAAAASUVORK5CYII="),FlagYellow:o.fromBase64("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABIAAAASCA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ETE4m/1kEVwmYi8Vc6qERiEbZfBJ8kvFyAZHZyJHYNpiQ7V2du+1nbdPr/kU0b6SXAANBmkg+dr/KQAAAAAElFTkSuQmCC"),FromRedToBlackPink:o.fromBase64("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABIAAAASCAYAAABWzo5XAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAQNJREFUeNqsk7EKwkAMhnNV6CI4FF27+QYVnO2sT1IQRx/AUYQ+iZ3rLNg3cOuqOBS6OOiZQMBrENvD+yHk6P33cZcmSmsNLtSXH0773QjTAiPGiDBCjBKjwMgxstlqfZPnlHkjhMwxJWP9Wg5BwwC3fMwPUFArgArzVXkH9KQIO34FMWQ70c9p8OO5d6XgonpnXG5MmGc8J2mDkGiffOTncx8Q1YSeE3QsPPnIz7VsgGKqiY3YH0tQNLDsAvZHEhT6ljdifyhBJf1iG7G/lKCituMA+wsJyivLG7E/l6CMOpaarYvIxx2eNUA8Oyl1bBvM6OzUnDn3s+Z0+v+RB470FmAAb6uGD7csPvsAAAAASUVORK5CYII="),FromRedToBlackRed:o.fromBase64("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABIAAAASCAYAAABWzo5XAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAARxJREFUeNpi/P//PwM1AAu6wPEJfaJAyg+IXYDYFIjlgfghEJ8G4j1AvMmyoOg1uj5GZBcBDXEGUrliJ07689+6zcDz+BED+7v3DD+FBBm+yMoxfFRTZXhlYb4RqGYy0LC9KCaBDALhY/29zkB88o2+HshonBgkD1IHUg/T+x8iCzZEFIg3EDIEzbANIH0wg5igDvMDeUf44iWiAhakDqQeGpZgADPIBRQmpACoehd0g0xBAUsKgKo3RTdIHhQ7pACoenl0gx6CopgUAFX/EN2g06B0QgqAqj+NbtAeUGIjBUDV70E3aBMoxb7V1yPKEJA6aArfhGIQNO9MvpUQf4qQYSB5kDpoNnlN9bzGiF6MUCX3UwKYGKgEAAIMAARGyzW+NImdAAAAAElFTkSuQmCC"),Latin1:o.fromBase64("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABIAAAASCAYAAABWzo5XAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAE9JREFUeNpi/P//PwM1AOPQMoiRkRFFEqiWEZdaJny2ADUqIrFD8allIsH1Z6hlEMOoQUPQIBkGAokOJwZJw7CCgsJ/fGoZR2juJwUABBgAdtBRjTJr3HoAAAAASUVORK5CYII="),Latin2:o.fromBase64("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABIAAAASCAYAAABWzo5XAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAFdJREFUeNpi/P//PwM1AOPQMIiRkRGv6UA9jOhiTDgUKiJrQuOHYtPDRISrFdD4Z8g1iCgwatAgM+gBGl8GVyrFwCBhGFZQUPiPzsemh3GE5X5yAECAAQDrlVERvvylPAAAAABJRU5ErkJggg=="),Latin3:o.fromBase64("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABIAAAASCAYAAABWzo5XAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAFpJREFUeNpi/P//PwM1AOPgNoiRkZEkU4F6GZE5yFgBJAQRxuCHYJGHYyY8Fiqg8c/gk2dioBIYNWiQGPQAjS+DVx45UcESGwgrKCj8J8RH1ss4QnI/JQAgwABSHWh1IkE1yAAAAABJRU5ErkJggg=="),Latin4:o.fromBase64("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABIAAAASCAYAAABWzo5XAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAM1JREFUeNpi/P//PwM1AOOgM4gBZBDUsP/4MBAoYFMLE2NCMlARiR2KxldEs18aSpvABJhwOPQMiDA1NYXxH6DJS0Lp54QMAgNFRUU/EG1mZoYSkE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EVMz0AAAAABJRU5ErkJggg=="),LightsYellow:o.fromBase64("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABIAAAASCAYAAABWzo5XAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAndJREFUeNqsk99rE0EQx797l1xqfhgSFVtbKqJobSwUrFRExIcIWmulLwp9ry+C0DcF/wP/A8V/oE8lrdCHCGJEKwmC2L74oyhCKNSWRruby93trrOnDakkPnVgbpe9mc/O7MwwrTX2QiI7m4nx6zcSqf2FZDwOqSQCqaCUgh8ECP6q7/vwPQ9xstEymCgsPJvf8WcmIgOhbeFKPo9KpQLhunAbLrioQwgRKuecVo46nXkEc8lmfOxaExZGZCK5MDqKezMzIf1Y32HcmRxE/mIMuQGO5XcSxZKDx4tbWKvVmukwO1IwSxNk0jGRGBk6dRQLTyfQe7yHwudQ7lcMjXxGbnAdt8aymHwQw4dP1dC21gK1zCeQEoJSyaaTmH+SR9/AMKzkZdIRWF39YJEMYNvo7vUx9ygb2v0rIUjSo7p1F9M3T+NIf5xCToI5PbQSwIqR2pRAmAG6+yVu5090Bgm3juGcBR1sQjVWobZfQ4kV6MY6tP8LoEoygjFm4dK5RPvym9JyLqBtAeV9B7apt+xvIAq0V4XyNwhGIIfuZTFox+oMMiWGCCBFlaL6STfvM3+gAoqm0aA0KTU7BmbFAY+1T+1PRByzRQ+gmxWvQfI1yO0f0PR22vg5UYKnqEm7MLu40R5kulUQaO7lF7yq0ENHWfiHRehNnAhpgiBZaKRQeiMx92KlA4haX9RFeDD1cBWltwdgORkCZmBFDxHxIEGSIWTqfrnzrJnZ8T0/PNiscVy9W0b+/EmcPZOmSjp4vyJQXt7C86WPu5zT6fRukBlAmp1Cq1GRnIpL/59447draHem38xOa9t3EhNJ2+nfC7GwR/JbgAEAuLY1t9ReJTUAAAAASUVORK5CYII="),MinusYellow:o.fromBase64("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABIAAAASCAYAAABWzo5XAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAJdJREFUeNpi/P//PwM1ABMDlcCoQXQ0iAVE3ChkITsNaPT/YYQbBALqZb0MDP9+Mvz/95WB8e8Xhv9/PzEw/AHivx+B/M8Q/t+vQDU/gKr/gvXcWvYWi9fACfMfA+P/f0A2lAZr+AuU+guRY/gHpnF6DQRu9pQDDfiLoeA/0OGMUI//B9oLMYwJKA4yGAEYR7PISDYIIMAAwok/4ZjM2aEAAAAASUVORK5CYII="),QuarterFull:o.fromBase64("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABIAAAASCAYAAABWzo5XAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAALhJREFUeNpi/P//PwM1AAu6ACMjoyiQ8gNiFyA2BWJ5IH4IxKeBeA8QbwJa/hrDJJCLYBgInIF4A0gYDwbJOyPrA+tFM+QkAUNg+CS6YTBDRIlwCTaXiaIblEyiITCcDDOICRpULmRGlgtKYAPBHTJddAfmIkYwwcj4G1tSIAL8AepnBTFgXntIptfg+mAGnSbToNPoBu0h06A96IFNnXREtZRNjbzGiF6MkJv7GalVHjExUAkABBgAZ7bvMbpLRFkAAAAASUVORK5CYII="),QuarterFullGreen:o.fromBase64("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABIAAAASCAYAAABWzo5XAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAX9JREFUeNqsk8FKAlEUhq+OLixTMMxwJqegAYPcBOYD5LpXaCP0TIGbXsG1PoBICzeiJKQ2Y0TU4ExQLe5M548rzUyFF/LCP/fcgftxzzn/ifm+z9axEtEf5YtSnrZzUp1UJemkKalHapNaw+vZU/ReLPgigpwpSqKRyW2re0ZZ2dF1LbWVKboLe/44nZjWeMRfbdvyOG8SrPMrCJDNTPayfHJa2j+q1DzmMe7TV4gLmcNBd9Lvz95d9yoIiy/TwUtWQRAXDKOmVY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JREFUeNqslDEOwjAMReuqHKEnYOECTIzkJjlclg4Vcy5Q5QphYOYIIJnvqkbFVB2ifOk3VVS/2G4SYuamhjo7QUQnDBfYwWf4CN/hBEf4hsWffyTJSA1d4dF7zyEEzjnLpPUo363j5lgDmYZh4LU2QOLJwhTSy0oWsgPSzHoL8lLOlnZAYq+gdmmVg0p+lvtpNpSlsQUZZc2I5gfRC+qgZmM77GX0RvxBXrS0B1RS2jdIQQkqASULilAJKNpm19lH1XZ2jbNG9hopPf1U6z5qm0r6CDAA2axZLQC7wZgAAAAASUVORK5CYII="),QuarterHalfGreen:o.fromBase64("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABIAAAASCAYAAABWzo5XAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAapJREFUeNpi/P//PwM1AAu6gEa8nCiQ8gNiFyA2BWJ5IH4IxKeBeA8Qb7qx8NFrdH2MyC4CGuLMzsqeoiytKu1rGchsr+8ks+TxDrn/33/9+fL69YdbNy69f/T4zqXvP75NBxq2F6uLQIbIiMqmp/lky4U5RJnDxP8/ARJcbCw88tIiBnKSImpPDEQunjkiAFTPgGwYE8w7IJegG4IM/v3/x/Dn/18GJklBQW0jCyMODq5MaDAgDAKFCcg7hAz58w+E/zD8FecTlJZW0IOGJYpBLqAwIcaQ30D697/fDDIq6oLQCEEJI1NgwLJiMwibIb+BbBZBbgForKIYJC8vJo81fWAzBIR/sPxlgSYNFK89fPjq4TPsBmEaAsKsP4EEJH2hGHT64MV9T7AZhM0QEP77/vMHaCJFMWjP5uPr/2I3CNOQP///MLy4e/c9NKWjGLTp7tPbT1cdWHYS0yBMQ3je/nn/8tnjSyB9KAaB8s7P3z/nzNoy9RG6YdgMeXz58rmfP79PR85zBPNa3ZWZcqCABYUJyDsgl0AN2Ysz01It91MCmBioBAACDAD+QkmblNHNNgAAAABJRU5ErkJggg=="),QuarterHalfRed:o.fromBase64("data:image/png;base64,iVBORw0KGgoAAAANSU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GKFK7qcEMDFQCQAEGACDrSM46epEZgAAAABJRU5ErkJggg=="),QuarterQuarter:o.fromBase64("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABIAAAASCAYAAABWzo5XAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAQNJREFUeNqsVLsNgzAUxCgrpE7LAhkgInWW8AoZiM4NBUrNAogVnIIqRdpUpHDuWc+S8wIEECcdCDgf72cr51yyCcgoJrAHNWhASxKwBzuwADO5xq8TJjlYaa2dMcZZax0bxXyA11EjNmnKsnQxBoyIL2kWp1NJkwmjEFkmjTSlM4QJI2IRjFKu+RlY06vTV9eoO1TYFRH1ISLlL0q9gR3w80t8+zc+XhBS64BZcxaIDOjzPeiCUQssKg7rW2lUA4uMWF/LYo/O0RBIR3paN3uyR0wa0i/aa+imv9MzvedIcll8JY8RtJvSvNCQgkfwwDu/5ZrcsOb5MyZbnUdpshE+AgwAM8CytM/xk38AAAAASUVORK5CYII="),QuarterQuarterGreen:o.fromBase64("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABIAAAASCAYAAABWzo5XAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAaBJREFUeNpi/P//PwM1AAu6gEa8nCiQ8gNiFyA2BWJ5IH4IxKeBeA8Qb7qx8NFrdH2MyC4CGuLMzsqeoiytKu1rGchsr+8ks+TxDrl/33/++fjy1Ye7Ny+9f/Tk3qUfP75NBxq2F6uLQIbIiMqmp/lky4U5RJnDxP8+/sfwh4OJhU1WVERV2l5E4bmuyLVzJwSA6hmQDWOCeQfkEnRDQODP/78Mf/6B8B+G30D6tyiXoKqBsREHO2cmNBgQBoHCBOQddEPABiEb8u83EP9h+CbMLighLa8HDUsUg1xAYYItNtANgWEJJWVBaISghJEpMGBZsRmEzRAQZhbgEIDGKopB8vJi8gzYDcI05M//PwyfmP+xQJMGBICiXz1O9s7dZ3ce/icBgNSD9IH0gzAsjE4f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iAxTZUFLY2RpP1D3ENDhMkGyZ5QDaZx+wwLDnnoiViLReIKMbtCFKwBzvQggY8wBkvv45MXJEHcQClMcblee6stbwoKUE2zOtzhaQuisINQxExtZR5CW+nlJIJka8sliLD29FiQsQYL1p9WpUiQj5W+tNshOXGBlRkfUXUX4ie2ijMiBfyN/zgt9YGzuE3z4uaQFEjRVWgqJLNTkD3p7HaHCXaZGfgPlOiT7aQdTMqGf1rJI8RjAJv8wS2yt/PPbkg5zY6NZY6j1bRQvEWYAB1GjI1ev8a6gAAAABJRU5ErkJggg=="),QuarterThreeFourthGreen:o.fromBase64("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABIAAAASCAYAAABWzo5XAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAaZJREFUeNpi/P//PwM1AAu6gEa8nCiQ8gNiFyA2BWJ5IH4IxKeBeA8Qb7qx8NFrdH2MyC4CGuLMzsqeoiytKu1rGchsr+8kM/P+ejnG77//fHv99sO9W1ffP3l6/9KPH9+mAw3bi9VFIENkRGXT03yy5cIcosxh4n/v/2P4x8HIwigjJKIgbS2i8EJH5Ma5UwJA9QzIhjHBvANyCbohIPDv/z+Gv1AMYv8W5RJUNTQ24mDnzIQGA8IgUJiAvINuCNhFSIb8/fcXzP4hwikoKa2gBw1LFINcQGGCLTbQDYHxpVRUBaERghJGpsCAZcVmEDZD/v7/y8AiwCUAjVUUg+SBscMCDli0MMFmCIj9jfU/CzRpoHjtISiKiTUExGb/xfgHmr5QDDoNSifEGgKi/7//8gGaSFEM2gNKbMQaAqJf3L3zHprSUQzaBEqxDC8+vifGEN63v9+/ePb4EkgfikGgvANO9udOnWN69fk9IUMeXb587ufP79OR8xxGXgOlWFBiA6cTYBR/Y/3LAgpYUJiAvANyCdSQvTgzLdVyPyWAiYFKACDAAIlapLjIYf36AAAAAElFTkSuQmCC"),QuarterThreeFourthRed:o.fromBase64("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABIAAAASCAYAAABWzo5XAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAZxJREFUeNpi/P//PwM1AAu6QL+WnCiQ8gNiFyA2BWJ5IH4IxKeBeA8Qbyq89ug1uj5GZBcBDXFmYWdPEVJWldbwCWRWtHOS4TxwSO7L929/nr9+/uHOlQvvn9+/c+nX92/TgYbtxWoQyBB+Gdl009RsOd3QKHOYgp+z5zD8//uXgeEPEAPpe+9evL9w6ui5lw/vtSMbxgTzDsgl6IaAALIhDH/+MChyCwoaGFkYsXFyZUKDAWEQKExA3kE3BAyQDPkPM4ydR1BSVkEPGpYoBrmAwgRrdKAZAmOrKKkLQiMEJdZMgQHLitUgLIaAaDEuHgForKIYJA+MHZafe/djhAk2Q0ByPH//sUCTBorXHoKimFhDQGo+M/77A01fKAadBqUTYg0B8V99//wBmkhRDNoDSmzEGgJi33lw5z00paMYtAmUYkGJjRhDHvz/9f7F00eXQPpQDALlHVCyB6XY+x/fvCdkyMWbF8/9+vF9OnKew8hroBQLSmygdAKKYp6ff1lAAQsKE5B3QC6BGrIXZ6alWu6nBDAxUAkABBgAG6p7KNJI82AAAAAASUVORK5CYII="),Rating0:o.fromBase64("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABIAAAASCAYAAABWzo5XAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAIdJREFUeNqslGEKwCAIhVV2o87TWaqzdJ52pFqM7UcOmmlCiESP92mFrTXYEYf2YM459hT6St77SAYTwTkHjxhYhKA2BRpH4fukRbEIDSgmIR4oGf9fT7gSrfQEQYn26QkKbrYIZaJLUxQUGxrRquH9ktT6khDiHkfpLOXOb10Watz1sV0CDABFzzYl6O6gWAAAAABJRU5ErkJggg=="),Rating1:o.fromBase64("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABIAAAASCAYAAABWzo5XAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZ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9Ov3X8IGGSiJHD989CSYhvFPnz6Hwj937jycDyo+zp49C6bBAU+tgg0gwAAOf4E07dySjgAAAABJRU5ErkJggg=="),Rating4:o.fromBase64("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABIAAAASCAYAAABWzo5XAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAOhJREFUeNpi/P//PwM1ABO5Gg0DS44x6if8B9FgAZCLyMEMevH/q2Zs/w+iQXwmSrzz9+8/0r2G4RUg+E2OQRfuvbGsyooA03CD/vwlL7D/ILkABH6Ra9Cv339w8plICZOfGAYR4SJsYfLjJ6pBP3/9Ic5rP36havz+6zeqQdi8hs0rX3/8QjUI3UXYvIbNK1++/UR14c/fxAX2hy/fURR++voDr1dxRv+rd19QFH5GcxF6rOFMkC/foxqEHkbI0Q1OoH+wZBEDJZHjh4+eBNMw/unT51D4586dR+GfP38BzmekVsEGEGAAYtnSCDcWS3cAAAAASUVORK5CYII="),RhombRed:o.fromBase64("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABIAAAASCAYAAABWzo5XAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAATFJREFUeNqs1GFOwjAUB/A/cyaAhJsYQ0gAlTowaLLhKTjImnkQb+EFqFHUkMXoSQx+MqP0dbBM3dqZsGRrP7z99rL332pSSuzjcOkyax+aasLteltWcPf5nUIm5OLMi6C6nj/NjZhrQ4KJDyQJ5HodieeHUsy1Ie3mESEIRlcAYa+PhZhTBaGOaB+wS7DuIMq9t1KoEEEO889HYJ3eH8ypitAqCWs04Q8Y2En3B+b8B8k6I6w3BDvuZNgOOqARO+q0IbuVaiG39+amxiknCglvxtdoqSeakNXXCvcLAfER0/T47/FznRPCvAla9UZlpChHXOdEYdPhWGNVkLJAcrFcpNipp7C6FTElm4v4RWFJOO0z3ZEJsX1rXLwtdWc0HRNig1LsPc72psLavn5sGwEGAFmY/uoyH+ELAAAAAElFTkSuQmCC"),Square0:o.fromBase64("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABIAAAASCAYAAABWzo5XAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAJNJREFUeNpi/P//PwM1AAuIMAgoPnbx3htLdEl9JZHjFzb0WhGShxsEUlSUEgKRZQTi/2DE0D9njSUx8nCDQODrj18IqxiBqtG8TEgebtCX70gK/0NtRgKE5OEGff72A6gA6m64HxCAkDySQRAbGaG2occlIXkWWOjvP3gMa6wQIw+xYDQdjaajQZSOmBioBAACDACh/KcFkAtFXQAAAABJRU5ErkJggg=="),Square1:o.fromBase64("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABIAAAASCAYAAABWzo5XAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAMVJREFUeNpi/P//PwM1AAuIMAgoPnbx3htLdEl9JZHjFzb0Wi1atKgByK3Hor8xLi6uAW4QyJCilBCIFCMQ/wcjhv45a2CG15uYmGCYcubMGZDhCINA4OuPXwgVjEDTSPQy3KAv35EM+g91GTkGff72A2gA1F9wP5JlEMRFjFDX/Ccn1kCxs//gMayxBosdaMBixBo8WOmajgjJE52OiEhnxKcjQvJEpyNC8kSnI0LyRKcjQvJEpSMi0hn10hETA5UAQIABAEDQjPQ2214MAAAAAElFTkSuQmCC"),Square2:o.fromBase64("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABIAAAASCAYAAABWzo5XAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAMNJREFUeNpi/P//PwM1AAuIWLRoUQOQqsci3xgXF9dASB5uEEiRiYkJhqozZ86ANDcQIc/AxEAlMIwNggV2IzTgMGKFSHkGRqqmI4OA4mMX772xRJfUVxI5fmFDrxUhebhBIEVFKSFQNwLxfzBi6J+zxpIYeeQwYvj64xfCKkagajQvE5KHG/TlO5LC/1CbkQAhebhBn7/9ACqAuhvuBwQgJI9k0C9oNELUoMclIXkWWOjvP3gMa6wQI0/VdES1LAIQYAB+fHLbqufYXAAAAABJRU5ErkJggg=="),Square3:o.fromBase64("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABIAAAASCAYAAABWzo5XAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAALZJREFUeNpi/P//PwM1AAuIWLRoUQOQqsci3xgXF9dASB5uEEiRiYkJhqozZ86ANDcQIc/AxEAlMIwNggV2IzTgMGKFSHkGRqqmI4OA4mMX772xRJfUVxI5fmFDrxXR6QhkSFFKCNSNQPwfjBj656yxJDKdwcOI4euPXwgVjEDTSPQy3KAv35EM+g91GTkGff72A2gA1F9wP5Jl0C9oNELM+E9OrIFiZ//BY1hjje7piGpZBCDAAJeNWMpRbKWWAAAAAElFTkSuQmCC"),Square4:o.fromBase64("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABIAAAASCAYAAABWzo5XAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAFZJREFUeNpi/P//PwM1AAuIWLRoUQOQqsci3xgXF9dASB5uEEiRiYkJhqozZ86ANDcQIc/AxEAlMIwNggV2IzTgMGKFSHkGxtF0NJqOBlM6oprXAAIMAGHFPrGNYSSXAAAAAElFTkSuQmCC"),StarFull:o.fromBase64("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABIAAAASCAYAAABWzo5XAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAjdJREFUeNqslE1oE0EUx2dmZ3dnzYdiWmwaPxpqYiu0pdSUFKEnD6IHBW+lJ8WDeJCeeiw9evAqeBQ8iJKLeK09KCqCVFBUkJLa+NE02TRNdmG/ZsZZW0NMtolIB/77mJn3fvvmMW8g5xzsx8D+J7c4vuc+VpTvEMIl17Zn9nK6srACUKe/SBjfSaTTUc7YZTE90sm3EyjCGLs5dHaSnBg9TWSi3v8v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xslw/tl8CDAAS2wfU7oS1lwAAAABJRU5ErkJggg=="),StarThreeFourth:o.fromBase64("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABIAAAASCAYAAABWzo5XAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAk5JREFUeNqs1MtrE0EYAPBvssnmVQtSjYlIW0uTFNvaRuxDlCIWoTdRKBYRBL3o2YNnj55E6MU/QCgIFcGT0galNlHppYcKjURsTWI2G/Nc9zkzziZtaEyyB+nAN7vLzPxm9pvZRZRSOIxiN6ull8ttG7ncexdf3ZTA7d+V/fP9nZCF+Rtgs5qFM3LxU6EBG0g7fZwQHbHq2xFiAwNQ2h4bujgJfaNh4HE6+l8QT8TY6fFxQGBA8Nww8FDu4bJv71jmaC8fPsDKTcDyLM+pEw6cD4SnLwE1FCAs/L1HUTLDLyK7fcowjHU2ZIPF1ybIs/Ncx3LB3nU8QHsCPtR97AScDM40EGLIQIkB1+8/69pOfHsgivnb+d8FqiiKx+FwrDBirr4ihOjgxCSEL0wjgtXa4INI7ZlBZgkFB804Yt5/XI9XhJyYbuRIdYaGk5tbpJLPtkUOQvslFv9czYniG13X7zYg7Luc0DxnRj8sLVO1UmxF/oE+fdmQskJuVdP0Wy27hn1XtozuyEj0xasWhGAFWFXr9zOVhkzmV0zTtGsdt9/EWL5AV6QmhBoqUFqHZJlNQsh3y3PECashm41jZ0dvQgjW2KvVIa/XCxxnG+p4jmqFGud5t4syBJlIUSjCblKiLp6w47MPediKaL81RPSI28uDmMrBj0SJKppT1RwDi5wiXYVqcsxYi/45G5nyYIz91hDnel0pVB+WJWdJs4ce4965p7Xc7TWnhPKTzLuVewghlyWEfbNrKsCMeW33PbEkPzKjXRs6rB/bXwEGAAZHY2m+lr3hAAAAAElFTkSuQmCC"),TriangleGreen:o.fromBase64("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABIAAAASCAYAAABWzo5XAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAPlJREFUeNrsk0luwkAQRX+bTQ4QCcXgMNrtgBlkicG+i4GzcaTsQpTswhqJDdi4i3IjkCCLDMAKqvX1S+rqV9WLEkSES4SBC8Utg5xxgc4GyfEz1Ro+nOiJ/g3KICWvDScMYDW7kCOL/gxyIpNK7RbcYYA4jVHu+zBfPMhJkX4Nqo1MqnQ6kL0Aa4asFIv90ZcwXVc3+RFkR0WyvS7sfqghWpv4kD94VeTdpm52ChL7FbH5ss6QymCIWCX8pWTnrITzhDZIlQLxWb5+YjF7x9v0SxyBskkMIXRxjl0gx+Xp9/nJgCEYlT1XXMH+MZ2Lo4nuu3Z90FaAAQBat3AkY5cdmgAAAABJRU5ErkJggg=="),TriangleRed:o.fromBase64("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABIAAAASCAYAAABWzo5XAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAATBJREFUeNrsk71OAkEQx/9zx1MgRE1UVimwsxITTWzsTGy04A1Q4nvg17soDYno+QiXU69QwUMe4faAHXcRhBA4G2JhnGR2k53Jb2bng5gZsxALM5I/DEqY41ykexVXSsEGgcgGow2l4zABttI2Ut+Ru8QgbbCsBI69Opl3GnTtMpPmldw6tg8KwzCdDjhqA5EEhxIIQ32HcKrXcINXnPgBDVxptP0Gtipy2Doq9CERIL8gBmBATu0GXuMdRb9Oo1+j8Tm60jCxLJDfPwRLk8UQUrurwG294dRr0niNaNJAnmWSnF1YQ353rw+RuL2vwG81UHwMaFKxadpkl0WKs6l5bG7swHmowv14QempSdO6RnErcqEzW5pbxHMQD+mJAcVpWST5Jx+j9L+0vwf6FGAAUqTDoUy9nwgAAAAASUVORK5CYII="),TriangleYellow:o.fromBase64("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABIAAAASCAYAAABWzo5XAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAVdJREFUeNpi/P//PwM1AAuIuFnEgk+NE5Teh0uBet8fBhYiLOsC4r9AbI5PERMBQ0J41Y2NeVQNzYDsQHINYgbiFn59KwYBAysQvwUqRrJByfx6FupcMnIMXLIKDHzaJlpAsVhSDeIE4joBPSMGhv/fwRjMZmBoBGI2UgzKETQyk2YX5mdg+PcdjDnEhBkEDUzlgHKZxBokBMQVArraQAO+oWB+HU2QfDUQ8xBjUKmQsaEQCzcLw/+/31AwKx87g6ChnihQTREhg6TB3tJXxXANDAvqqoAtg7ocp0F1wqZaPEwsf+Bhg46ZOYAmGGrwQL2I1SCQVclC+nLwmMKFhQzkwBEC9QGGQS0i5irMDP9/Am3+gRczMv1mEDZWYoMmBxSDjNmFecIFtcSACn8ShYV0xUH6EkB5Fp77gaD959svDLfnHyO19GCGZp1QRmqVR0wMVAIAAQYArNiUNokAcDwAAAAASUVORK5CYII=")},r=l,i.StiIconSetHelper=r}(Stimulsoft=Stimulsoft||{}),function(t){var e,r,n,a,s,i,l,o;function u(t,e,r,n){void 0===t&&(t=a.StiIcon.None),void 0===e&&(e=s.MiddleLeft),void 0===r&&(r=null),void 0===n&&(n=null);var i=o.call(this)||this;return i._icon=a.StiIcon.None,i._alignment=s.MiddleLeft,i.icon=t,i.alignment=e,i.customIcon=r,i.customIconSize=n,i}r=e=t.Report||(t.Report={}),a=n=r.Components||(r.Components={}),s=t.System.Drawing.ContentAlignment,i=t.Base.JsonReportObject.IStiJsonReportObject,l=t.System.Enum,o=a.StiIndicator,__extends(u,o),u.prototype.implements=function(){return o.prototype.implements.call(this).concat([i,"StiIndicator"])},u.prototype.saveToJsonObject=function(t){var t=o.prototype.saveToJsonObject.call(this,t);return t.addPropertyEnum("Icon",a.StiIcon,this.icon,a.StiIcon.None),t.addPropertyEnum("Alignment",s,this.alignment,s.MiddleLeft),t},u.prototype.loadFromJsonObject=function(t){var e,r;try{for(var n=__values(t.properties()),i=n.next();!i.done;i=n.next()){var o=i.value;switch(o.name){case"Icon":this._icon=l.parse(a.StiIcon,o.value);break;case"Alignment":this._alignment=l.parse(s,o.value);break}}}catch(t){e={error:t}}finally{try{i&&!i.done&&(r=n.return)&&r.call(n)}finally{if(e)throw e.error}}},Object.defineProperty(u.prototype,"icon",{get:function(){return this._icon},set:function(t){this._icon=t},enumerable:!1,configurable:!0}),Object.defineProperty(u.prototype,"alignment",{get:function(){return this._alignment},set:function(t){this._alignment=t},enumerable:!1,configurable:!0}),r=u,a.StiIconSetIndicator=r}(Stimulsoft=Stimulsoft||{}),function(t){var e,r,n,i;r=e=t.Report||(t.Report={}),(i=n=r.Components||(r.Components={})).IStiAnchor=new t.System.Interface("IStiAnchor")}(Stimulsoft=Stimulsoft||{}),function(t){var e,r,n,i;r=e=t.Report||(t.Report={}),(i=n=r.Components||(r.Components={})).IStiAutoWidth=new t.System.Interface("IStiAutoWidth")}(Stimulsoft=Stimulsoft||{}),function(t){var e,r,n,i;r=e=t.Report||(t.Report={}),(i=n=r.Components||(r.Components={})).IStiBorderColor=new t.System.Interface("IStiBorderColor")}(Stimulsoft=Stimulsoft||{}),function(t){var e,r,n,i;r=e=t.Report||(t.Report={}),(i=n=r.Components||(r.Components={})).IStiBrush=new t.System.Interface("IStiBrush")}(Stimulsoft=Stimulsoft||{}),function(t){var e,r,n,i;r=e=t.Report||(t.Report={}),(i=n=r.Components||(r.Components={})).IStiBusinessObject=new t.System.Interface("IStiBusinessObject")}(Stimulsoft=Stimulsoft||{}),function(t){var e,r,n,i;r=e=t.Report||(t.Report={}),(i=n=r.Components||(r.Components={})).IStiCanGrow=new t.System.Interface("IStiCanGrow")}(Stimulsoft=Stimulsoft||{}),function(t){var e,r,n,i;r=e=t.Report||(t.Report={}),(i=n=r.Components||(r.Components={})).IStiCanShrink=new t.System.Interface("IStiCanShrink")}(Stimulsoft=Stimulsoft||{}),function(t){var e,r,n,i;r=e=t.Report||(t.Report={}),(i=n=r.Components||(r.Components={})).IStiClone=new t.System.Interface("IStiClone")}(Stimulsoft=Stimulsoft||{}),function(t){var e,r,n,i;r=e=t.Report||(t.Report={}),(i=n=r.Components||(r.Components={})).IStiComponent=new t.System.Interface("IStiComponent")}(Stimulsoft=Stimulsoft||{}),function(t){var e,r,n,i;r=e=t.Report||(t.Report={}),(i=n=r.Components||(r.Components={})).IStiComponentGuid=new t.System.Interface("IStiComponentGuid")}(Stimulsoft=Stimulsoft||{}),function(t){var e,r,n,i;r=e=t.Report||(t.Report={}),(i=n=r.Components||(r.Components={})).IStiComponentsOwnerRenderer=new t.System.Interface("IStiComponentsOwnerRenderer")}(Stimulsoft=Stimulsoft||{}),function(t){var e,r,n,i;r=e=t.Report||(t.Report={}),(i=n=r.Components||(r.Components={})).IStiConditions=new t.System.Interface("IStiConditions")}(Stimulsoft=Stimulsoft||{}),function(t){var e,r,n,i;r=e=t.Report||(t.Report={}),(i=n=r.Components||(r.Components={})).IStiCrossTab=new t.System.Interface("IStiCrossTab")}(Stimulsoft=Stimulsoft||{}),function(t){var e,r,n,i;r=e=t.Report||(t.Report={}),(i=n=r.Components||(r.Components={})).IStiCrossTabField=new t.System.Interface("IStiCrossTabField")}(Stimulsoft=Stimulsoft||{}),function(t){var e,r,n,i;r=e=t.Report||(t.Report={}),(i=n=r.Components||(r.Components={})).IStiDataBarIndicator=new t.System.Interface("IStiDataBarIndicator")}(Stimulsoft=Stimulsoft||{}),function(t){var e,r,n,i;r=e=t.Report||(t.Report={}),(i=n=r.Components||(r.Components={})).IStiDataRelation=new t.System.Interface("IStiDataRelation")}(Stimulsoft=Stimulsoft||{}),function(t){var e,r,n,i;r=e=t.Report||(t.Report={}),(i=n=r.Components||(r.Components={})).IStiDataSource=new t.System.Interface("IStiDataSource")}(Stimulsoft=Stimulsoft||{}),function(t){var e,r,n,i;r=e=t.Report||(t.Report={}),(i=n=r.Components||(r.Components={})).IStiEditable=new t.System.Interface("IStiEditable")}(Stimulsoft=Stimulsoft||{}),function(t){var e,r,n,i;r=e=t.Report||(t.Report={}),(i=n=r.Components||(r.Components={})).IStiFilter=new t.System.Interface("IStiFilter")}(Stimulsoft=Stimulsoft||{}),function(t){var e,r,n;r=e=t.Report||(t.Report={}),(r=n=r.Components||(r.Components={})).IStiFont=new t.System.Interface("IStiFont"),r.ImplementsIStiFont=[]}(Stimulsoft=Stimulsoft||{}),function(t){var e,r,n,i;r=e=t.Report||(t.Report={}),(i=n=r.Components||(r.Components={})).IStiGroup=new t.System.Interface("IStiGroup")}(Stimulsoft=Stimulsoft||{}),function(t){var e,r,n,i;r=e=t.Report||(t.Report={}),(i=n=r.Components||(r.Components={})).IStiGrowToHeight=new t.System.Interface("IStiGrowToHeight")}(Stimulsoft=Stimulsoft||{}),function(t){var e,r,n,i;r=e=t.Report||(t.Report={}),(i=n=r.Components||(r.Components={})).IStiIgnoreBorderWhenExport=new t.System.Interface("IStiIgnoreBorderWhenExport")}(Stimulsoft=Stimulsoft||{}),function(t){var e,r,n,i;r=e=t.Report||(t.Report={}),(i=n=r.Components||(r.Components={})).IStiIndicatorCondition=new t.System.Interface("IStiIndicatorCondition")}(Stimulsoft=Stimulsoft||{}),function(t){var e,r,n,i;r=e=t.Report||(t.Report={}),(i=n=r.Components||(r.Components={})).IStiKeepChildTogether=new t.System.Interface("IStiKeepChildTogether")}(Stimulsoft=Stimulsoft||{}),function(t){var e,r,n,i;r=e=t.Report||(t.Report={}),(i=n=r.Components||(r.Components={})).IStiKeepDetailsTogether=new t.System.Interface("IStiKeepDetailsTogether")}(Stimulsoft=Stimulsoft||{}),function(t){var e,r,n,i;r=e=t.Report||(t.Report={}),(i=n=r.Components||(r.Components={})).IStiKeepFooterTogether=new t.System.Interface("IStiKeepFooterTogether")}(Stimulsoft=Stimulsoft||{}),function(t){var e,r,n,i;r=e=t.Report||(t.Report={}),(i=n=r.Components||(r.Components={})).IStiKeepGroupFooterTogether=new t.System.Interface("IStiKeepGroupFooterTogether")}(Stimulsoft=Stimulsoft||{}),function(t){var e,r,n,i;r=e=t.Report||(t.Report={}),(i=n=r.Components||(r.Components={})).IStiKeepGroupTogether=new t.System.Interface("IStiKeepGroupTogether")}(Stimulsoft=Stimulsoft||{}),function(t){var e,r,n,i;r=e=t.Report||(t.Report={}),(i=n=r.Components||(r.Components={})).IStiKeepHeaderTogether=new t.System.Interface("IStiKeepHeaderTogether")}(Stimulsoft=Stimulsoft||{}),function(t){var e,r,n,i;r=e=t.Report||(t.Report={}),(i=n=r.Components||(r.Components={})).IStiKeepReportSummaryTogether=new t.System.Interface("IStiKeepReportSummaryTogether")}(Stimulsoft=Stimulsoft||{}),function(t){var e,r,n,i;r=e=t.Report||(t.Report={}),(i=n=r.Components||(r.Components={})).IStiMasterComponent=new t.System.Interface("IStiMasterComponent")}(Stimulsoft=Stimulsoft||{}),function(t){var e,r,n,i;r=e=t.Report||(t.Report={}),(i=n=r.Components||(r.Components={})).IStiOddEvenStyles=new t.System.Interface("IStiOddEvenStyles")}(Stimulsoft=Stimulsoft||{}),function(t){var e,r,n,i;r=e=t.Report||(t.Report={}),(i=n=r.Components||(r.Components={})).IStiPageBreak=new t.System.Interface("IStiPageBreak")}(Stimulsoft=Stimulsoft||{}),function(t){var e,r,n,i;r=e=t.Report||(t.Report={}),(i=n=r.Components||(r.Components={})).IStiPrintAtBottom=new t.System.Interface("IStiPrintAtBottom")}(Stimulsoft=Stimulsoft||{}),function(t){var e,r,n,i;r=e=t.Report||(t.Report={}),(i=n=r.Components||(r.Components={})).IStiPrintIfDetailEmpty=new t.System.Interface("IStiPrintIfDetailEmpty")}(Stimulsoft=Stimulsoft||{}),function(t){var e,r,n,i;r=e=t.Report||(t.Report={}),(i=n=r.Components||(r.Components={})).IStiPrintIfEmpty=new t.System.Interface("IStiPrintIfEmpty")}(Stimulsoft=Stimulsoft||{}),function(t){var e,r,n,i;r=e=t.Report||(t.Report={}),(i=n=r.Components||(r.Components={})).IStiPrintOn=new t.System.Interface("IStiPrintOn")}(Stimulsoft=Stimulsoft||{}),function(t){var e,r,n,i;r=e=t.Report||(t.Report={}),(i=n=r.Components||(r.Components={})).IStiPrintOnAllPages=new t.System.Interface("IStiPrintOnAllPages")}(Stimulsoft=Stimulsoft||{}),function(t){var e,r,n,i;r=e=t.Report||(t.Report={}),(i=n=r.Components||(r.Components={})).IStiPrintOnEvenOddPages=new t.System.Interface("IStiPrintOnEvenOddPages")}(Stimulsoft=Stimulsoft||{}),function(t){var e,r,n,i;r=e=t.Report||(t.Report={}),(i=n=r.Components||(r.Components={})).IStiRenderMaster=new t.System.Interface("IStiRenderMaster")}(Stimulsoft=Stimulsoft||{}),function(t){var e,r,n,i;r=e=t.Report||(t.Report={}),(i=n=r.Components||(r.Components={})).IStiResetPageNumber=new t.System.Interface("IStiResetPageNumber")}(Stimulsoft=Stimulsoft||{}),function(t){var e,r,n,i;r=e=t.Report||(t.Report={}),(i=n=r.Components||(r.Components={})).IStiShape=new t.System.Interface("IStiShape")}(Stimulsoft=Stimulsoft||{}),function(t){var e,r,n,i;r=e=t.Report||(t.Report={}),(i=n=r.Components||(r.Components={})).IStiShift=new t.System.Interface("IStiShift")}(Stimulsoft=Stimulsoft||{}),function(t){var e,r,n,i;r=e=t.Report||(t.Report={}),(i=n=r.Components||(r.Components={})).IStiSimpleBorder=new t.System.Interface("IStiSimpleBorder")}(Stimulsoft=Stimulsoft||{}),function(t){var e,r,n,i;r=e=t.Report||(t.Report={}),(i=n=r.Components||(r.Components={})).IStiSort=new t.System.Interface("IStiSort")}(Stimulsoft=Stimulsoft||{}),function(t){var e,r,n,i;r=e=t.Report||(t.Report={}),(i=n=r.Components||(r.Components={})).IStiText=new t.System.Interface("IStiText")}(Stimulsoft=Stimulsoft||{}),function(t){var e,r,n,i;r=e=t.Report||(t.Report={}),(i=n=r.Components||(r.Components={})).IStiTextBrush=new t.System.Interface("IStiTextBrush")}(Stimulsoft=Stimulsoft||{}),function(t){var e,r,n,i;r=e=t.Report||(t.Report={}),(i=n=r.Components||(r.Components={})).IStiTextFont=new t.System.Interface("IStiTextFont")}(Stimulsoft=Stimulsoft||{}),function(t){var e,r,n;r=e=t.Report||(t.Report={}),(r=n=r.Components||(r.Components={})).IStiTextFormat=new t.System.Interface("IStiTextFormat"),r.ImplementsIStiTextFormat=[]}(Stimulsoft=Stimulsoft||{}),function(t){var e,r,n;r=e=t.Report||(t.Report={}),(r=n=r.Components||(r.Components={})).IStiTextHorAlignment=new t.System.Interface("IStiTextHorAlignment"),r.ImplementsIStiTextHorAlignment=[]}(Stimulsoft=Stimulsoft||{}),function(t){var e,r,n,i;r=e=t.Report||(t.Report={}),(i=n=r.Components||(r.Components={})).IStiTextOptions=new t.System.Interface("IStiTextOptions")}(Stimulsoft=Stimulsoft||{}),function(t){var e,r,n,i;r=e=t.Report||(t.Report={}),(i=n=r.Components||(r.Components={})).IStiUnitConvert=new t.System.Interface("IStiUnitConvert")}(Stimulsoft=Stimulsoft||{}),function(t){var e,t,r,n;t=e=t.Report||(t.Report={}),t=r=t.Components||(t.Components={}),(t=n=t.StiShapeDirection||(t.StiShapeDirection={}))[t["Up"]=0]="Up",t[t["Down"]=1]="Down",t[t["Left"]=2]="Left",t[t["Right"]=3]="Right"}(Stimulsoft=Stimulsoft||{}),function(t){var e,r,n,i,o,a,t,s;function l(){return null!==s&&s.apply(this,arguments)||this}r=e=t.Report||(t.Report={}),i=n=r.Components||(r.Components={}),o=t.System.StiString,a=t.Base.StiJson,t=t.Base.Services.StiService,__extends(l,s=t),l.prototype.saveToJsonObject=function(t){var e=new a;return e.addPropertyIdent("Ident",this.stimulsoft.getType().stimulsoft.getTypeName()),e},l.prototype.loadFromJsonObject=function(t){},l.loadFromJsonObjectInternal=function(t){var e=t.properties().firstOrDefault(function(t){return"Ident"==t.name}).value,r=StiOptions.Services.shapes.firstOrDefault(function(t){return t.serviceEnabled&&t.stimulsoft.getType().stimulsoft.getTypeName()==e});if(null==r)throw o.format("Type {0} is not found!",e);var r=r.createNew();return r.loadFromJsonObject(t),r},l.createFromJsonObject=function(t){var e=t.properties().firstOrDefault(function(t){return"Ident"==t.name}).value.toString(),r=StiOptions.Services.shapes.firstOrDefault(function(t){return t.serviceEnabled&&t.stimulsoft.getType().stimulsoft.getTypeName()==e});if(null==r)throw new Error("Type is not found!");var r=r.createNew();return r.loadFromJsonObject(t),r},l.prototype.loadFromXml=function(t){},l.convertFromXml=function(t){switch(t.attributes.getNamedItem("type").value){case"Stimulsoft.Report.Components.ShapeTypes.StiVerticalLineShapeType":return new i.StiVerticalLineShapeType;case"Stimulsoft.Report.Components.ShapeTypes.StiTriangleShapeType":return new i.StiTriangleShapeType;case"Stimulsoft.Report.Components.ShapeTypes.StiTrapezoidShapeType":return new i.StiTrapezoidShapeType;case"Stimulsoft.Report.Components.ShapeTypes.StiTopAndBottomLineShapeType":return new i.StiTopAndBottomLineShapeType;case"Stimulsoft.Report.Components.ShapeTypes.StiSnipSameSideCornerRectangleShapeType":return new i.StiSnipSameSideCornerRectangleShapeType;case"Stimulsoft.Report.Components.ShapeTypes.StiSnipDiagonalSideCornerRectangleShapeType":return new i.StiSnipDiagonalSideCornerRectangleShapeType;case"Stimulsoft.Report.Components.ShapeTypes.StiRoundedRectangleShapeType":return new i.StiRoundedRectangleShapeType;case"Stimulsoft.Report.Components.ShapeTypes.StiRegularPentagonShapeType":return new i.StiRegularPentagonShapeType;case"Stimulsoft.Report.Components.ShapeTypes.StiRectangleShapeType":return new i.StiRectangleShapeType;case"Stimulsoft.Report.Components.ShapeTypes.StiPlusShapeType":return new i.StiPlusShapeType;case"Stimulsoft.Report.Components.ShapeTypes.StiParallelogramShapeType":return new i.StiParallelogramShapeType;case"Stimulsoft.Report.Components.ShapeTypes.StiOvalShapeType":return new i.StiOvalShapeType;case"Stimulsoft.Report.Components.ShapeTypes.StiOctagonShapeType":return new i.StiOctagonShapeType;case"Stimulsoft.Report.Components.ShapeTypes.StiMultiplyShapeType":return new i.StiMultiplyShapeType;case"Stimulsoft.Report.Components.ShapeTypes.StiMinusShapeType":return new i.StiMinusShapeType;case"Stimulsoft.Report.Components.ShapeTypes.StiLeftAndRightLineShapeType":return new i.StiLeftAndRightLineShapeType;case"Stimulsoft.Report.Components.ShapeTypes.StiHorizontalLineShapeType":return new i.StiHorizontalLineShapeType;case"Stimulsoft.Report.Components.ShapeTypes.StiFrameShapeType":return new i.StiFrameShapeType;case"Stimulsoft.Report.Components.ShapeTypes.StiFlowchartSortShapeType":return new i.StiFlowchartSortShapeType;case"Stimulsoft.Report.Components.ShapeTypes.StiFlowchartPreparationShapeType":return new i.StiFlowchartPreparationShapeType;case"Stimulsoft.Report.Components.ShapeTypes.StiFlowchartOffPageConnectorShapeType":return new i.StiFlowchartOffPageConnectorShapeType;case"Stimulsoft.Report.Components.ShapeTypes.StiFlowchartManualInputShapeType":return new i.StiFlowchartManualInputShapeType;case"Stimulsoft.Report.Components.ShapeTypes.StiFlowchartDecisionShapeType":return new i.StiFlowchartDecisionShapeType;case"Stimulsoft.Report.Components.ShapeTypes.StiFlowchartCollateShapeType":return new i.StiFlowchartCollateShapeType;case"Stimulsoft.Report.Components.ShapeTypes.StiFlowchartCardShapeType":return new i.StiFlowchartCardShapeType;case"Stimulsoft.Report.Components.ShapeTypes.StiEqualShapeType":return new i.StiEqualShapeType;case"Stimulsoft.Report.Components.ShapeTypes.StiDivisionShapeType":return new i.StiDivisionShapeType;case"Stimulsoft.Report.Components.ShapeTypes.StiDiagonalUpLineShapeType":return new i.StiDiagonalUpLineShapeType;case"Stimulsoft.Report.Components.ShapeTypes.StiDiagonalDownLineShapeType":return new i.StiDiagonalDownLineShapeType;case"Stimulsoft.Report.Components.ShapeTypes.StiComplexArrowShapeType":return new i.StiComplexArrowShapeType;case"Stimulsoft.Report.Components.ShapeTypes.StiChevronShapeType":return new i.StiChevronShapeType;case"Stimulsoft.Report.Components.ShapeTypes.StiBentArrowShapeType":return new i.StiBentArrowShapeType;case"Stimulsoft.Report.Components.ShapeTypes.StiArrowShapeType":return new i.StiArrowShapeType}return null},Object.defineProperty(l.prototype,"componentId",{get:function(){return r.StiComponentId.StiShapeTypeService},enumerable:!1,configurable:!0}),l.prototype.createNew=function(){return null},t=l,i.StiShapeTypeService=t}(Stimulsoft=Stimulsoft||{}),function(t){var e,r,n,a,s,t,i;function o(t,e,r){void 0===t&&(t=a.StiShapeDirection.Up),void 0===e&&(e=.3),void 0===r&&(r=.4);var n=i.call(this)||this;return n._direction=a.StiShapeDirection.Up,n._arrowWidth=.3,n._arrowHeight=.4,n.direction=t,n.arrowWidth=e,n.arrowHeight=r,n}r=e=t.Report||(t.Report={}),a=n=r.Components||(r.Components={}),s=t.System.Enum,i=a.StiShapeTypeService,__extends(o,i),o.prototype.saveToJsonObject=function(t){var t=i.prototype.saveToJsonObject.call(this,t);return t.addPropertyEnum("Direction",a.StiShapeDirection,this.direction,a.StiShapeDirection.Up),t.addPropertyNumber("ArrowWidth",this.arrowWidth,.3),t.addPropertyNumber("ArrowHeight",this.arrowHeight,.4),t},o.prototype.loadFromJsonObject=function(t){var e,r;try{for(var n=__values(t.properties()),i=n.next();!i.done;i=n.next()){var o=i.value;switch(o.name){case"Direction":this.direction=s.parse(a.StiShapeDirection,o.value);break;case"ArrowWidth":this.arrowWidth=o.value.stimulsoft.toNumber();break;case"ArrowHeight":this.arrowHeight=o.value.stimulsoft.toNumber();break}}}catch(t){e={error:t}}finally{try{i&&!i.done&&(r=n.return)&&r.call(n)}finally{if(e)throw e.error}}},o.prototype.loadFromXml=function(t){i.prototype.loadFromXml.call(this,t);for(var e=0;e<t.childNodes.length;e++){var r=t.childNodes[e];switch(r.nodeName){case"Direction":this.direction=s.parse(a.StiShapeDirection,r.textContent);break;case"ArrowWidth":this.arrowWidth=r.textContent.stimulsoft.toNumber();break;case"ArrowHeight":this.arrowHeight=r.textContent.stimulsoft.toNumber();break}}},Object.defineProperty(o.prototype,"componentId",{get:function(){return r.StiComponentId.StiArrowShapeType},enumerable:!1,configurable:!0}),Object.defineProperty(o.prototype,"direction",{get:function(){return this._direction},set:function(t){this._direction=t},enumerable:!1,configurable:!0}),Object.defineProperty(o.prototype,"arrowWidth",{get:function(){return this._arrowWidth},set:function(t){0<=t&&t<=.5&&(this._arrowWidth=t)},enumerable:!1,configurable:!0}),Object.defineProperty(o.prototype,"arrowHeight",{get:function(){return this._arrowHeight},set:function(t){0<=t&&t<=1&&(this._arrowHeight=t)},enumerable:!1,configurable:!0}),o.prototype.createNew=function(){return new o},t=o,a.StiArrowShapeType=t}(Stimulsoft=Stimulsoft||{}),function(t){var e,r,n,a,s,t,i;function o(t){void 0===t&&(t=a.StiShapeDirection.Up);var e=i.call(this)||this;return e._direction=a.StiShapeDirection.Up,e.direction=t,e}r=e=t.Report||(t.Report={}),a=n=r.Components||(r.Components={}),s=t.System.Enum,i=a.StiShapeTypeService,__extends(o,i),o.prototype.saveToJsonObject=function(t){var t=i.prototype.saveToJsonObject.call(this,t);return t.addPropertyEnum("Direction",a.StiShapeDirection,this.direction,a.StiShapeDirection.Up),t},o.prototype.loadFromJsonObject=function(t){var e,r;try{for(var n=__values(t.properties()),i=n.next();!i.done;i=n.next()){var o=i.value;switch(o.name){case"Direction":this._direction=s.parse(a.StiShapeDirection,o.value);break}}}catch(t){e={error:t}}finally{try{i&&!i.done&&(r=n.return)&&r.call(n)}finally{if(e)throw e.error}}},o.prototype.loadFromXml=function(t){i.prototype.loadFromXml.call(this,t);for(var e=0;e<t.childNodes.length;e++){var r=t.childNodes[e];switch(r.nodeName){case"Direction":this._direction=s.parse(a.StiShapeDirection,r.textContent);break}}},Object.defineProperty(o.prototype,"componentId",{get:function(){return r.StiComponentId.StiBentArrowShapeType},enumerable:!1,configurable:!0}),Object.defineProperty(o.prototype,"direction",{get:function(){return this._direction},set:function(t){this._direction=t},enumerable:!1,configurable:!0}),o.prototype.createNew=function(){return new o},t=o,a.StiBentArrowShapeType=t}(Stimulsoft=Stimulsoft||{}),function(t){var e,r,n,a,s,t,i;function o(t){void 0===t&&(t=a.StiShapeDirection.Right);var e=i.call(this)||this;return e._direction=a.StiShapeDirection.Right,e.direction=t,e}r=e=t.Report||(t.Report={}),a=n=r.Components||(r.Components={}),s=t.System.Enum,i=a.StiShapeTypeService,__extends(o,i),o.prototype.saveToJsonObject=function(t){var t=i.prototype.saveToJsonObject.call(this,t);return t.addPropertyEnum("Direction",a.StiShapeDirection,this.direction,a.StiShapeDirection.Right),t},o.prototype.loadFromJsonObject=function(t){var e,r;try{for(var n=__values(t.properties()),i=n.next();!i.done;i=n.next()){var o=i.value;switch(o.name){case"Direction":this._direction=s.parse(a.StiShapeDirection,o.value);break}}}catch(t){e={error:t}}finally{try{i&&!i.done&&(r=n.return)&&r.call(n)}finally{if(e)throw e.error}}},o.prototype.loadFromXml=function(t){i.prototype.loadFromXml.call(this,t);for(var e=0;e<t.childNodes.length;e++){var r=t.childNodes[e];switch(r.nodeName){case"Direction":this._direction=s.parse(a.StiShapeDirection,r.textContent);break}}},Object.defineProperty(o.prototype,"componentId",{get:function(){return r.StiComponentId.StiChevronShapeType},enumerable:!1,configurable:!0}),Object.defineProperty(o.prototype,"direction",{get:function(){return this._direction},set:function(t){this._direction=t},enumerable:!1,configurable:!0}),o.prototype.createNew=function(){return new o},t=o,a.StiChevronShapeType=t}(Stimulsoft=Stimulsoft||{}),function(t){var e,r,n,a,s,t,i;function o(t){void 0===t&&(t=a.StiShapeDirection.Left);var e=i.call(this)||this;return e._direction=a.StiShapeDirection.Left,e.direction=t,e}r=e=t.Report||(t.Report={}),a=n=r.Components||(r.Components={}),s=t.System.Enum,i=a.StiShapeTypeService,__extends(o,i),o.prototype.saveToJsonObject=function(t){var t=i.prototype.saveToJsonObject.call(this,t);return t.addPropertyEnum("Direction",a.StiShapeDirection,this.direction,a.StiShapeDirection.Left),t},o.prototype.loadFromJsonObject=function(t){var e,r;try{for(var n=__values(t.properties()),i=n.next();!i.done;i=n.next()){var o=i.value;switch(o.name){case"Direction":this._direction=s.parse(a.StiShapeDirection,o.value);break}}}catch(t){e={error:t}}finally{try{i&&!i.done&&(r=n.return)&&r.call(n)}finally{if(e)throw e.error}}},o.prototype.loadFromXml=function(t){i.prototype.loadFromXml.call(this,t);for(var e=0;e<t.childNodes.length;e++){var r=t.childNodes[e];switch(r.nodeName){case"Direction":this._direction=s.parse(a.StiShapeDirection,r.textContent);break}}},Object.defineProperty(o.prototype,"componentId",{get:function(){return r.StiComponentId.StiComplexArrowShapeType},enumerable:!1,configurable:!0}),Object.defineProperty(o.prototype,"direction",{get:function(){return this._direction},set:function(t){this._direction=t},enumerable:!1,configurable:!0}),o.prototype.createNew=function(){return new o},t=o,a.StiComplexArrowShapeType=t}(Stimulsoft=Stimulsoft||{}),function(t){var e,r,n,i,t,o;function a(){return null!==o&&o.apply(this,arguments)||this}r=e=t.Report||(t.Report={}),i=n=r.Components||(r.Components={}),o=i.StiShapeTypeService,__extends(a,o),Object.defineProperty(a.prototype,"componentId",{get:function(){return r.StiComponentId.StiDiagonalDownLineShapeType},enumerable:!1,configurable:!0}),a.prototype.createNew=function(){return new a},t=a,i.StiDiagonalDownLineShapeType=t}(Stimulsoft=Stimulsoft||{}),function(t){var e,r,n,i,t,o;function a(){return null!==o&&o.apply(this,arguments)||this}r=e=t.Report||(t.Report={}),i=n=r.Components||(r.Components={}),o=i.StiShapeTypeService,__extends(a,o),Object.defineProperty(a.prototype,"componentId",{get:function(){return r.StiComponentId.StiDiagonalUpLineShapeType},enumerable:!1,configurable:!0}),a.prototype.createNew=function(){return new a},t=a,i.StiDiagonalUpLineShapeType=t}(Stimulsoft=Stimulsoft||{}),function(t){var e,r,n,i,t,o;function a(){return null!==o&&o.apply(this,arguments)||this}r=e=t.Report||(t.Report={}),i=n=r.Components||(r.Components={}),o=i.StiShapeTypeService,__extends(a,o),Object.defineProperty(a.prototype,"componentId",{get:function(){return r.StiComponentId.StiDivisionShapeType},enumerable:!1,configurable:!0}),a.prototype.createNew=function(){return new a},t=a,i.StiDivisionShapeType=t}(Stimulsoft=Stimulsoft||{}),function(t){var e,r,n,i,t,o;function a(){return null!==o&&o.apply(this,arguments)||this}r=e=t.Report||(t.Report={}),i=n=r.Components||(r.Components={}),o=i.StiShapeTypeService,__extends(a,o),Object.defineProperty(a.prototype,"componentId",{get:function(){return r.StiComponentId.StiEqualShapeType},enumerable:!1,configurable:!0}),a.prototype.createNew=function(){return new a},t=a,i.StiEqualShapeType=t}(Stimulsoft=Stimulsoft||{}),function(t){var e,r,n,i,t,o;function a(){return null!==o&&o.apply(this,arguments)||this}r=e=t.Report||(t.Report={}),i=n=r.Components||(r.Components={}),o=i.StiShapeTypeService,__extends(a,o),Object.defineProperty(a.prototype,"componentId",{get:function(){return r.StiComponentId.StiFlowchartCardShapeType},enumerable:!1,configurable:!0}),a.prototype.createNew=function(){return new a},t=a,i.StiFlowchartCardShapeType=t}(Stimulsoft=Stimulsoft||{}),function(t){var e,r,n,a,s,t,i;function o(t){void 0===t&&(t=a.StiShapeDirection.Down);var e=i.call(this)||this;return e._direction=a.StiShapeDirection.Left,e.direction=t,e}r=e=t.Report||(t.Report={}),a=n=r.Components||(r.Components={}),s=t.System.Enum,i=a.StiShapeTypeService,__extends(o,i),o.prototype.saveToJsonObject=function(t){var t=i.prototype.saveToJsonObject.call(this,t);return t.addPropertyEnum("Direction",a.StiShapeDirection,this.direction,a.StiShapeDirection.Up),t},o.prototype.loadFromJsonObject=function(t){var e,r;try{for(var n=__values(t.properties()),i=n.next();!i.done;i=n.next()){var o=i.value;switch(o.name){case"Direction":this._direction=s.parse(a.StiShapeDirection,o.value);break}}}catch(t){e={error:t}}finally{try{i&&!i.done&&(r=n.return)&&r.call(n)}finally{if(e)throw e.error}}},o.prototype.loadFromXml=function(t){i.prototype.loadFromXml.call(this,t);for(var e=0;e<t.childNodes.length;e++){var r=t.childNodes[e];switch(r.nodeName){case"Direction":this._direction=s.parse(a.StiShapeDirection,r.textContent);break}}},Object.defineProperty(o.prototype,"componentId",{get:function(){return r.StiComponentId.StiFlowchartCollateShapeType},enumerable:!1,configurable:!0}),Object.defineProperty(o.prototype,"direction",{get:function(){return this._direction},set:function(t){this._direction=t},enumerable:!1,configurable:!0}),o.prototype.createNew=function(){return new o},t=o,a.StiFlowchartCollateShapeType=t}(Stimulsoft=Stimulsoft||{}),function(t){var e,r,n,i,t,o;function a(){return null!==o&&o.apply(this,arguments)||this}r=e=t.Report||(t.Report={}),i=n=r.Components||(r.Components={}),o=i.StiShapeTypeService,__extends(a,o),Object.defineProperty(a.prototype,"componentId",{get:function(){return r.StiComponentId.StiFlowchartDecisionShapeType},enumerable:!1,configurable:!0}),a.prototype.createNew=function(){return new a},t=a,i.StiFlowchartDecisionShapeType=t}(Stimulsoft=Stimulsoft||{}),function(t){var e,r,n,i,t,o;function a(){return null!==o&&o.apply(this,arguments)||this}r=e=t.Report||(t.Report={}),i=n=r.Components||(r.Components={}),o=i.StiShapeTypeService,__extends(a,o),Object.defineProperty(a.prototype,"componentId",{get:function(){return r.StiComponentId.StiFlowchartManualInputShapeType},enumerable:!1,configurable:!0}),a.prototype.createNew=function(){return new a},t=a,i.StiFlowchartManualInputShapeType=t}(Stimulsoft=Stimulsoft||{}),function(t){var e,r,n,a,s,t,i;function o(t){void 0===t&&(t=a.StiShapeDirection.Down);var e=i.call(this)||this;return e._direction=a.StiShapeDirection.Up,e.direction=t,e}r=e=t.Report||(t.Report={}),a=n=r.Components||(r.Components={}),s=t.System.Enum,i=a.StiShapeTypeService,__extends(o,i),o.prototype.saveToJsonObject=function(t){var t=i.prototype.saveToJsonObject.call(this,t);return t.addPropertyEnum("Direction",a.StiShapeDirection,this.direction,a.StiShapeDirection.Up),t},o.prototype.loadFromJsonObject=function(t){var e,r;try{for(var n=__values(t.properties()),i=n.next();!i.done;i=n.next()){var o=i.value;switch(o.name){case"Direction":this._direction=s.parse(a.StiShapeDirection,o.value);break}}}catch(t){e={error:t}}finally{try{i&&!i.done&&(r=n.return)&&r.call(n)}finally{if(e)throw e.error}}},o.prototype.loadFromXml=function(t){i.prototype.loadFromXml.call(this,t);for(var e=0;e<t.childNodes.length;e++){var r=t.childNodes[e];switch(r.nodeName){case"Direction":this._direction=s.parse(a.StiShapeDirection,r.textContent);break}}},Object.defineProperty(o.prototype,"componentId",{get:function(){return r.StiComponentId.StiFlowchartOffPageConnectorShapeType},enumerable:!1,configurable:!0}),Object.defineProperty(o.prototype,"direction",{get:function(){return this._direction},set:function(t){this._direction=t},enumerable:!1,configurable:!0}),o.prototype.createNew=function(){return new o},t=o,a.StiFlowchartOffPageConnectorShapeType=t}(Stimulsoft=Stimulsoft||{}),function(t){var e,r,n,a,s,t,i;function o(t){void 0===t&&(t=a.StiShapeDirection.Left);var e=i.call(this)||this;return e._direction=a.StiShapeDirection.Left,e.direction=t,e}r=e=t.Report||(t.Report={}),a=n=r.Components||(r.Components={}),s=t.System.Enum,i=a.StiShapeTypeService,__extends(o,i),o.prototype.saveToJsonObject=function(t){var t=i.prototype.saveToJsonObject.call(this,t);return t.addPropertyEnum("Direction",a.StiShapeDirection,this.direction,a.StiShapeDirection.Left),t},o.prototype.loadFromJsonObject=function(t){var e,r;try{for(var n=__values(t.properties()),i=n.next();!i.done;i=n.next()){var o=i.value;switch(o.name){case"Direction":this._direction=s.parse(a.StiShapeDirection,o.value);break}}}catch(t){e={error:t}}finally{try{i&&!i.done&&(r=n.return)&&r.call(n)}finally{if(e)throw e.error}}},o.prototype.loadFromXml=function(t){i.prototype.loadFromXml.call(this,t);for(var e=0;e<t.childNodes.length;e++){var r=t.childNodes[e];switch(r.nodeName){case"Direction":this._direction=s.parse(a.StiShapeDirection,r.textContent);break}}},Object.defineProperty(o.prototype,"componentId",{get:function(){return r.StiComponentId.StiFlowchartPreparationShapeType},enumerable:!1,configurable:!0}),Object.defineProperty(o.prototype,"direction",{get:function(){return this._direction},set:function(t){this._direction=t},enumerable:!1,configurable:!0}),o.prototype.createNew=function(){return new o},t=o,a.StiFlowchartPreparationShapeType=t}(Stimulsoft=Stimulsoft||{}),function(t){var e,r,n,i,t,o;function a(){return null!==o&&o.apply(this,arguments)||this}r=e=t.Report||(t.Report={}),i=n=r.Components||(r.Components={}),o=i.StiShapeTypeService,__extends(a,o),Object.defineProperty(a.prototype,"componentId",{get:function(){return r.StiComponentId.StiFlowchartSortShapeType},enumerable:!1,configurable:!0}),a.prototype.createNew=function(){return new a},t=a,i.StiFlowchartSortShapeType=t}(Stimulsoft=Stimulsoft||{}),function(t){var e,r,n,i,t,o;function a(){return null!==o&&o.apply(this,arguments)||this}r=e=t.Report||(t.Report={}),i=n=r.Components||(r.Components={}),o=i.StiShapeTypeService,__extends(a,o),Object.defineProperty(a.prototype,"componentId",{get:function(){return r.StiComponentId.StiFrameShapeType},enumerable:!1,configurable:!0}),a.prototype.createNew=function(){return new a},t=a,i.StiFrameShapeType=t}(Stimulsoft=Stimulsoft||{}),function(t){var e,r,n,i,t,o;function a(){return null!==o&&o.apply(this,arguments)||this}r=e=t.Report||(t.Report={}),i=n=r.Components||(r.Components={}),o=i.StiShapeTypeService,__extends(a,o),Object.defineProperty(a.prototype,"componentId",{get:function(){return r.StiComponentId.StiHorizontalLineShapeType},enumerable:!1,configurable:!0}),a.prototype.createNew=function(){return new a},t=a,i.StiHorizontalLineShapeType=t}(Stimulsoft=Stimulsoft||{}),function(t){var e,r,n,i,t,o;function a(){return null!==o&&o.apply(this,arguments)||this}r=e=t.Report||(t.Report={}),i=n=r.Components||(r.Components={}),o=i.StiShapeTypeService,__extends(a,o),Object.defineProperty(a.prototype,"componentId",{get:function(){return r.StiComponentId.StiLeftAndRightLineShapeType},enumerable:!1,configurable:!0}),a.prototype.createNew=function(){return new a},t=a,i.StiLeftAndRightLineShapeType=t}(Stimulsoft=Stimulsoft||{}),function(t){var e,r,n,i,t,o;function a(){return null!==o&&o.apply(this,arguments)||this}r=e=t.Report||(t.Report={}),i=n=r.Components||(r.Components={}),o=i.StiShapeTypeService,__extends(a,o),Object.defineProperty(a.prototype,"componentId",{get:function(){return r.StiComponentId.StiMinusShapeType},enumerable:!1,configurable:!0}),a.prototype.createNew=function(){return new a},t=a,i.StiMinusShapeType=t}(Stimulsoft=Stimulsoft||{}),function(t){var e,r,n,i,t,o;function a(){return null!==o&&o.apply(this,arguments)||this}r=e=t.Report||(t.Report={}),i=n=r.Components||(r.Components={}),o=i.StiShapeTypeService,__extends(a,o),Object.defineProperty(a.prototype,"componentId",{get:function(){return r.StiComponentId.StiMultiplyShapeType},enumerable:!1,configurable:!0}),a.prototype.createNew=function(){return new a},t=a,i.StiMultiplyShapeType=t}(Stimulsoft=Stimulsoft||{}),function(t){var e,r,n,i,t,o;function a(t,e){void 0===t&&(t=!0),void 0===e&&(e=0);var r=o.call(this)||this;return r._autoSize=!0,r._bevel=0,r.autoSize=t,r.bevel=e,r}r=e=t.Report||(t.Report={}),i=n=r.Components||(r.Components={}),o=i.StiShapeTypeService,__extends(a,o),a.prototype.saveToJsonObject=function(t){var t=o.prototype.saveToJsonObject.call(this,t);return t.addPropertyBool("AutoSize",this.autoSize,!0),t.addPropertyNumber("Bevel",this.bevel,0),t},a.prototype.loadFromJsonObject=function(t){var e,r;try{for(var n=__values(t.properties()),i=n.next();!i.done;i=n.next()){var o=i.value;switch(o.name){case"AutoSize":this._autoSize=o.value.stimulsoft.toBoolean();break;case"Bevel":this._bevel=o.value.stimulsoft.toNumber();break}}}catch(t){e={error:t}}finally{try{i&&!i.done&&(r=n.return)&&r.call(n)}finally{if(e)throw e.error}}},a.prototype.loadFromXml=function(t){o.prototype.loadFromXml.call(this,t);for(var e=0;e<t.childNodes.length;e++){var r=t.childNodes[e];switch(r.nodeName){case"AutoSize":this._autoSize=r.textContent.stimulsoft.toBoolean();break;case"Bevel":this._bevel=r.textContent.stimulsoft.toNumber();break}}},Object.defineProperty(a.prototype,"componentId",{get:function(){return r.StiComponentId.StiOctagonShapeType},enumerable:!1,configurable:!0}),Object.defineProperty(a.prototype,"autoSize",{get:function(){return this._autoSize},set:function(t){this._autoSize=t},enumerable:!1,configurable:!0}),Object.defineProperty(a.prototype,"bevel",{get:function(){return this._bevel},set:function(t){0<=t&&(this._bevel=t)},enumerable:!1,configurable:!0}),a.prototype.createNew=function(){return new a},t=a,i.StiOctagonShapeType=t}(Stimulsoft=Stimulsoft||{}),function(t){var e,r,n,i,t,o;function a(){return null!==o&&o.apply(this,arguments)||this}r=e=t.Report||(t.Report={}),i=n=r.Components||(r.Components={}),o=i.StiShapeTypeService,__extends(a,o),Object.defineProperty(a.prototype,"componentId",{get:function(){return r.StiComponentId.StiOvalShapeType},enumerable:!1,configurable:!0}),a.prototype.createNew=function(){return new a},t=a,i.StiOvalShapeType=t}(Stimulsoft=Stimulsoft||{}),function(t){var e,r,n,i,t,o;function a(){return null!==o&&o.apply(this,arguments)||this}r=e=t.Report||(t.Report={}),i=n=r.Components||(r.Components={}),o=i.StiShapeTypeService,__extends(a,o),Object.defineProperty(a.prototype,"componentId",{get:function(){return r.StiComponentId.StiParallelogramShapeType},enumerable:!1,configurable:!0}),a.prototype.createNew=function(){return new a},t=a,i.StiParallelogramShapeType=t}(Stimulsoft=Stimulsoft||{}),function(t){var e,r,n,i,t,o;function a(){return null!==o&&o.apply(this,arguments)||this}r=e=t.Report||(t.Report={}),i=n=r.Components||(r.Components={}),o=i.StiShapeTypeService,__extends(a,o),Object.defineProperty(a.prototype,"componentId",{get:function(){return r.StiComponentId.StiPlusShapeType},enumerable:!1,configurable:!0}),a.prototype.createNew=function(){return new a},t=a,i.StiPlusShapeType=t}(Stimulsoft=Stimulsoft||{}),function(t){var e,r,n,i,t,o;function a(){return null!==o&&o.apply(this,arguments)||this}r=e=t.Report||(t.Report={}),i=n=r.Components||(r.Components={}),o=i.StiShapeTypeService,__extends(a,o),Object.defineProperty(a.prototype,"componentId",{get:function(){return r.StiComponentId.StiRectangleShapeType},enumerable:!1,configurable:!0}),a.prototype.createNew=function(){return new a},t=a,i.StiRectangleShapeType=t}(Stimulsoft=Stimulsoft||{}),function(t){var e,r,n,i,t,o;function a(){return null!==o&&o.apply(this,arguments)||this}r=e=t.Report||(t.Report={}),i=n=r.Components||(r.Components={}),o=i.StiShapeTypeService,__extends(a,o),Object.defineProperty(a.prototype,"componentId",{get:function(){return r.StiComponentId.StiRegularPentagonShapeType},enumerable:!1,configurable:!0}),a.prototype.createNew=function(){return new a},t=a,i.StiRegularPentagonShapeType=t}(Stimulsoft=Stimulsoft||{}),function(t){var e,r,n,i,t,o;function a(t){void 0===t&&(t=.2);var e=o.call(this)||this;return e._round=.2,e.round=t,e}r=e=t.Report||(t.Report={}),i=n=r.Components||(r.Components={}),o=i.StiShapeTypeService,__extends(a,o),a.prototype.saveToJsonObject=function(t){var t=o.prototype.saveToJsonObject.call(this,t);return t.addPropertyNumber("Round",this.round,.2),t},a.prototype.loadFromJsonObject=function(t){var e,r;try{for(var n=__values(t.properties()),i=n.next();!i.done;i=n.next()){var o=i.value;switch(o.name){case"Round":this._round=o.value.stimulsoft.toNumber();break}}}catch(t){e={error:t}}finally{try{i&&!i.done&&(r=n.return)&&r.call(n)}finally{if(e)throw e.error}}},a.prototype.loadFromXml=function(t){o.prototype.loadFromXml.call(this,t);for(var e=0;e<t.childNodes.length;e++){var r=t.childNodes[e];switch(r.nodeName){case"Round":this._round=r.textContent.stimulsoft.toNumber();break}}},Object.defineProperty(a.prototype,"componentId",{get:function(){return r.StiComponentId.StiRoundedRectangleShapeType},enumerable:!1,configurable:!0}),Object.defineProperty(a.prototype,"round",{get:function(){return this._round},set:function(t){0<t&&t<=.5&&(this._round=t)},enumerable:!1,configurable:!0}),a.prototype.createNew=function(){return new a},t=a,i.StiRoundedRectangleShapeType=t}(Stimulsoft=Stimulsoft||{}),function(t){var e,r,n,i,t,o;function a(){return null!==o&&o.apply(this,arguments)||this}r=e=t.Report||(t.Report={}),i=n=r.Components||(r.Components={}),o=i.StiShapeTypeService,__extends(a,o),Object.defineProperty(a.prototype,"componentId",{get:function(){return r.StiComponentId.StiSnipDiagonalSideCornerRectangleShapeType},enumerable:!1,configurable:!0}),a.prototype.createNew=function(){return new a},t=a,i.StiSnipDiagonalSideCornerRectangleShapeType=t}(Stimulsoft=Stimulsoft||{}),function(t){var e,r,n,i,t,o;function a(){return null!==o&&o.apply(this,arguments)||this}r=e=t.Report||(t.Report={}),i=n=r.Components||(r.Components={}),o=i.StiShapeTypeService,__extends(a,o),Object.defineProperty(a.prototype,"componentId",{get:function(){return r.StiComponentId.StiSnipSameSideCornerRectangleShapeType},enumerable:!1,configurable:!0}),a.prototype.createNew=function(){return new a},t=a,i.StiSnipSameSideCornerRectangleShapeType=t}(Stimulsoft=Stimulsoft||{}),function(t){var e,r,n,i,t,o;function a(){return null!==o&&o.apply(this,arguments)||this}r=e=t.Report||(t.Report={}),i=n=r.Components||(r.Components={}),o=i.StiShapeTypeService,__extends(a,o),Object.defineProperty(a.prototype,"componentId",{get:function(){return r.StiComponentId.StiTopAndBottomLineShapeType},enumerable:!1,configurable:!0}),a.prototype.createNew=function(){return new a},t=a,i.StiTopAndBottomLineShapeType=t}(Stimulsoft=Stimulsoft||{}),function(t){var e,r,n,i,t,o;function a(){return null!==o&&o.apply(this,arguments)||this}r=e=t.Report||(t.Report={}),i=n=r.Components||(r.Components={}),o=i.StiShapeTypeService,__extends(a,o),Object.defineProperty(a.prototype,"componentId",{get:function(){return r.StiComponentId.StiTrapezoidShapeType},enumerable:!1,configurable:!0}),a.prototype.createNew=function(){return new a},t=a,i.StiTrapezoidShapeType=t}(Stimulsoft=Stimulsoft||{}),function(t){var e,r,n,a,s,t,i;function o(t){void 0===t&&(t=a.StiShapeDirection.Up);var e=i.call(this)||this;return e._direction=a.StiShapeDirection.Up,e.direction=t,e}r=e=t.Report||(t.Report={}),a=n=r.Components||(r.Components={}),s=t.System.Enum,i=a.StiShapeTypeService,__extends(o,i),o.prototype.saveToJsonObject=function(t){var t=i.prototype.saveToJsonObject.call(this,t);return t.addPropertyEnum("Direction",a.StiShapeDirection,this.direction,a.StiShapeDirection.Up),t},o.prototype.loadFromJsonObject=function(t){var e,r;try{for(var n=__values(t.properties()),i=n.next();!i.done;i=n.next()){var o=i.value;switch(o.name){case"Direction":this._direction=s.parse(a.StiShapeDirection,o.value);break}}}catch(t){e={error:t}}finally{try{i&&!i.done&&(r=n.return)&&r.call(n)}finally{if(e)throw e.error}}},o.prototype.loadFromXml=function(t){i.prototype.loadFromXml.call(this,t);for(var e=0;e<t.childNodes.length;e++){var r=t.childNodes[e];switch(r.nodeName){case"Direction":this._direction=s.parse(a.StiShapeDirection,r.textContent);break}}},Object.defineProperty(o.prototype,"componentId",{get:function(){return r.StiComponentId.StiTriangleShapeType},enumerable:!1,configurable:!0}),o.prototype.clone=function(){var t=this.stimulsoft.memberwiseClone();return t.direction=this.direction,t},Object.defineProperty(o.prototype,"direction",{get:function(){return this._direction},set:function(t){this._direction=t},enumerable:!1,configurable:!0}),o.prototype.createNew=function(){return new o},t=o,a.StiTriangleShapeType=t}(Stimulsoft=Stimulsoft||{}),function(t){var e,r,n,i,t,o;function a(){return null!==o&&o.apply(this,arguments)||this}r=e=t.Report||(t.Report={}),i=n=r.Components||(r.Components={}),o=i.StiShapeTypeService,__extends(a,o),Object.defineProperty(a.prototype,"componentId",{get:function(){return r.StiComponentId.StiVerticalLineShapeType},enumerable:!1,configurable:!0}),a.prototype.createNew=function(){return new a},t=a,i.StiVerticalLineShapeType=t}(Stimulsoft=Stimulsoft||{}),function(t){var e,r,n,t,i;function o(){return null!==i&&i.apply(this,arguments)||this}r=e=t.Report||(t.Report={}),t=n=r.Events||(r.Events={}),i=t.StiEvent,__extends(o,i),o.prototype.toString=function(){return"GetExcelValue"},r=o,t.StiGetExcelValueEvent=r}(Stimulsoft=Stimulsoft||{}),function(t){var e,r,n,t,i;function o(){return null!==i&&i.apply(this,arguments)||this}r=e=t.Report||(t.Report={}),t=n=r.Events||(r.Events={}),i=t.StiEvent,__extends(o,i),o.prototype.toString=function(){return"GetChecked"},r=o,t.StiGetCheckedEvent=r}(Stimulsoft=Stimulsoft||{}),function(o){var t,e,r;e=t=o.Report||(o.Report={}),function(t){var e=o.System.EventHandler,r=o.System.EventArgs;t.StiGetExcelValueEventHandler=new e("sender: any, e: StiGetExcelValueEventArgs");var r=(__extends(i,n=r),i),n;function i(){return null!==n&&n.apply(this,arguments)||this}t.StiGetExcelValueEventArgs=r}(r=e.Events||(e.Events={}))}(Stimulsoft=Stimulsoft||{}),function(o){var t,a,e,l,s,r,n,i,u,c,p,h,m,d,g,f,S,y,A,b,C,v,w,B;function I(){var t=null!==B&&B.apply(this,arguments)||this;return t._brush=new g,t._border=new f,t._textBrush=new g(S.black),t._editable=!1,t._canBreak=!1,t._contourColor=S.black,t._size=1,t._checkStyle=l.StiCheckStyle.Check,t._values="true/false",t._checkStyleForTrue=l.StiCheckStyle.Check,t._checkStyleForFalse=l.StiCheckStyle.None,t._checked="",t._excelDataValue="",t._excelValue="",t}a=t=o.Report||(o.Report={}),l=e=a.Components||(a.Components={}),s=o.System.StiString,r=o.Base.JsonReportObject.IStiJsonReportObject,n=o.Report.Events.StiGetExcelValueEventHandler,i=o.Report.Events.StiValueEventHandler,u=o.Report.Events.StiGetExcelValueEventArgs,c=o.Report.Events.StiGetExcelValueEvent,p=o.Report.Events.StiGetCheckedEvent,h=o.Base.StiJsonSaveMode,m=o.Report.Components.IStiEditable,d=o.Base.Drawing.StiBrush,g=o.Base.Drawing.StiSolidBrush,f=o.Base.Drawing.StiBorder,S=o.System.Drawing.Color,y=o.Base.StiJsonReportObjectHelper,A=o.System.Enum,b=o.Report.Expressions.StiExpression,C=o.System.Text.StiReportObjectStringConverter,v=o.Report.Events.StiValueEventArgs,B=l.StiComponent,__extends(I,B),I.prototype.implements=function(){return B.prototype.implements.call(this).concat([l.IStiBorder,l.IStiTextBrush,l.IStiBrush,l.IStiBreakable,m,r])},I.prototype.saveToJsonObject=function(t){var t,e=B.prototype.saveToJsonObject.call(this,t);return e.removeProperty("CanShrink"),e.removeProperty("CanGrow"),e.addPropertyStringNullOrEmpty("Brush",y.Serialize.jBrush(this.brush)),e.addPropertyStringNullOrEmpty("Border",y.Serialize.jBorder(this.border)),e.addPropertyStringNullOrEmpty("TextBrush",y.Serialize.jBrush(this.textBrush)),e.addPropertyBool("Editable",this.editable),e.addPropertyJObject("GetCheckedEvent",this.getCheckedEvent.saveToJsonObject(t)),e.addPropertyJObject("GetExcelValueEvent",this.getExcelValueEvent.saveToJsonObject(t)),e.addPropertyJObject("Checked",new b(this.checked).saveToJsonObject(t)),e.addPropertyJObject("ExcelValue",new b(this.excelValue).saveToJsonObject(t)),e.addPropertyStringNullOrEmpty("ExcelDataValue",this.excelDataValue),e.addPropertyStringNullOrEmpty("ContourColor",y.Serialize.jColor(this.contourColor,S.black)),e.addPropertyNumber("Size",this.size,1),e.addPropertyString("Values",this.values,"true/false"),e.addPropertyEnum("CheckStyleForTrue",l.StiCheckStyle,this.checkStyleForTrue,l.StiCheckStyle.Check),e.addPropertyEnum("CheckStyleForFalse",l.StiCheckStyle,this.checkStyleForFalse,l.StiCheckStyle.None),t==h.Document&&e.addPropertyString("CheckedValue",null===(t=this.checkedValue)||void 0===t?void 0:t.toString(),null),e},I.prototype.loadFromJsonObject=function(t){var e,r;B.prototype.loadFromJsonObject.call(this,t);try{for(var n=__values(t.properties()),i=n.next();!i.done;i=n.next()){var o=i.value,a,a,s,s;switch(o.name){case"Brush":this.brush=y.Deserialize.brush(o.value);break;case"Border":this.border=y.Deserialize.border(o.value);break;case"TextBrush":this.textBrush=y.Deserialize.brush(o.value);break;case"Editable":this.editable=o.value.stimulsoft.toBoolean();break;case"GetCheckedEvent":(a=new p).loadFromJsonObject(o.value),this.getCheckedEvent=a;break;case"GetExcelValueEvent":(a=new c).loadFromJsonObject(o.value),this.getExcelValueEvent=a;break;case"Checked":(s=new b).loadFromJsonObject(o.value),this.checked=s.value;break;case"ExcelDataValue":this.excelDataValue=o.value;break;case"ExcelValue":(s=new b).loadFromJsonObject(o.value),this.excelValue=s.value;break;case"ContourColor":this.contourColor=y.Deserialize.color(o.value);break;case"Size":this.size=o.value.stimulsoft.toNumber();break;case"Values":this.values=o.value;break;case"CheckStyleForTrue":this.checkStyleForTrue=A.parse(l.StiCheckStyle,o.value);break;case"CheckStyleForFalse":this.checkStyleForFalse=A.parse(l.StiCheckStyle,o.value);break;case"CheckedValue":this.checkedValue=o.value;break}}}catch(t){e={error:t}}finally{try{i&&!i.done&&(r=n.return)&&r.call(n)}finally{if(e)throw e.error}}},I.prototype.loadFromXml=function(t,e){B.prototype.loadFromXml.call(this,t,e);for(var r=0;r<t.childNodes.length;r++){var n=t.childNodes[r],i,i;switch(n.nodeName){case"Brush":case"bh":this.brush=d.loadFromXml(n.textContent);break;case"Border":case"br":this.border=f.loadFromXml(n.textContent);break;case"TextBrush":case"tb":this.textBrush=d.loadFromXml(n.textContent);break;case"Editable":this.editable=n.textContent.stimulsoft.toBoolean();break;case"GetCheckedEvent":break;case"GetExcelValueEvent":break;case"Checked":(i=new b).loadFromXml(n),this.checked=i.value;break;case"ExcelDataValue":this.excelDataValue=n.textContent;break;case"ExcelValue":(i=new b).loadFromXml(n),this.excelValue=i.value;break;case"ContourColor":this.contourColor=C.convertStringToColor(n.textContent);break;case"Size":this.size=n.textContent.stimulsoft.toNumber();break;case"Values":this.values=n.textContent;break;case"CheckStyleForTrue":this.checkStyleForTrue=A.parse(l.StiCheckStyle,n.textContent);break;case"CheckStyleForFalse":this.checkStyleForFalse=A.parse(l.StiCheckStyle,n.textContent);break}}},Object.defineProperty(I.prototype,"brush",{get:function(){return this._brush},set:function(t){this._brush=t},enumerable:!1,configurable:!0}),Object.defineProperty(I.prototype,"border",{get:function(){return this._border},set:function(t){this._border=t},enumerable:!1,configurable:!0}),Object.defineProperty(I.prototype,"textBrush",{get:function(){return this._textBrush},set:function(t){this._textBrush=t},enumerable:!1,configurable:!0}),Object.defineProperty(I.prototype,"editable",{get:function(){return this._editable},set:function(t){this._editable=t},enumerable:!1,configurable:!0}),I.prototype.clone=function(t){var t=B.prototype.clone.call(this,t);return null!=this._textBrush?t._textBrush=this._textBrush.clone():t._textBrush=null,t},Object.defineProperty(I.prototype,"canBreak",{get:function(){return this._canBreak||this.growToHeight&&null!=this.page&&.5<this.height/this.page.pageHeight},set:function(t){this._canBreak=t},enumerable:!1,configurable:!0}),I.prototype.break=function(t,e,r){var n=0,i=!0,o;return.5<e||null!=this.page&&.5<this.height/this.page.pageHeight?t.checkedValue=null:this.checkedValue=null,r.ref=n,i},I.prototype.invokeEvents=function(){B.prototype.invokeEvents.call(this);try{var t,t,t;this.report.calculationMode==a.StiCalculationMode.Compilation?null!=this.events.get(I.eventGetChecked)&&null==this.checkedValue&&(t=new v,this.invokeGetChecked(this,t),this.checkedValue=t.value):null==this.events.get(I.eventGetChecked)&&s.isNullOrEmpty(this.checked)||null!=this.checkedValue||(t=new v,this.invokeGetChecked(this,t),this.checkedValue=t.value),null!=this.events.get(I.eventGetExcelValue)&&null==this.excelDataValue&&(t=new u,this.invokeGetExcelValue(this,t),null!=t.value&&(this.excelDataValue=t.value.toString()))}catch(t){a.StiLogService.write(this.stimulsoft.getType(),"DoEvents...ERROR"),a.StiLogService.write(this.stimulsoft.getType(),t)}},I.prototype.onGetChecked=function(t){},I.prototype.invokeGetChecked=function(t,e){try{var r,n,r;if(this.report.calculationMode==a.StiCalculationMode.Compilation){if(this.onGetChecked(e),null!=(r=this.events.get(I.eventGetChecked)))try{r(t,e)}catch(e){}}else if(this.onGetChecked(e),null!=this.checked&&0<this.checked.length&&(null!=(n=o.Report.Engine.StiParser.StiParser.parseTextValue(this.checked,this,t))&&(e.value=n)),null!=(r=this.events.get(I.eventGetChecked)))try{r(t,e)}catch(e){}}catch(t){var i=s.format("Expression in Checked property of '{0}' can't be evaluated!",this.name);a.StiLogService.write(this.stimulsoft.getType(),i),a.StiLogService.write(this.stimulsoft.getType(),t)}},Object.defineProperty(I.prototype,"getCheckedEvent",{get:function(){return new p(this)},set:function(t){null!=t&&t.set(this,t.script),this.events.set(I.eventGetChecked,i.create(t.script,this.report))},enumerable:!1,configurable:!0}),I.prototype.onGetExcelValue=function(t){},I.prototype.invokeGetExcelValue=function(t,e){try{this.onGetExcelValue(e);var r=this.events.get(I.eventGetExcelValue);if(null!=r)try{r(t,e)}catch(e){}}catch(t){var n=s.format("Expression in ExcelValue property of '{0}' can't be evaluated!",this.name);a.StiLogService.write(this.stimulsoft.getType(),n),a.StiLogService.write(this.stimulsoft.getType(),t)}},Object.defineProperty(I.prototype,"getExcelValueEvent",{get:function(){return new c(this)},set:function(t){null!=t&&t.set(this,t.script),this.events.set(I.eventGetExcelValue,n.create(t.script,this.report))},enumerable:!1,configurable:!0}),Object.defineProperty(I.prototype,"checkedValue",{get:function(){return this._checkedValue},set:function(t){this._checkedValue=t},enumerable:!1,configurable:!0}),Object.defineProperty(I.prototype,"contourColor",{get:function(){return this._contourColor},set:function(t){this._contourColor=t},enumerable:!1,configurable:!0}),Object.defineProperty(I.prototype,"size",{get:function(){return this._size},set:function(t){this._size=t},enumerable:!1,configurable:!0}),Object.defineProperty(I.prototype,"checkStyle",{get:function(){return this.checkStyleForTrue},set:function(t){this._checkStyle==t&&(this.checkStyleForTrue=t,this.checkStyleForFalse=l.StiCheckStyle.None)},enumerable:!1,configurable:!0}),Object.defineProperty(I.prototype,"values",{get:function(){return this._values},set:function(t){this._values=t},enumerable:!1,configurable:!0}),Object.defineProperty(I.prototype,"checkStyleForTrue",{get:function(){return this._checkStyleForTrue},set:function(t){this._checkStyleForTrue=t},enumerable:!1,configurable:!0}),Object.defineProperty(I.prototype,"checkStyleForFalse",{get:function(){return this._checkStyleForFalse},set:function(t){this._checkStyleForFalse=t},enumerable:!1,configurable:!0}),Object.defineProperty(I.prototype,"checked",{get:function(){return this._checked},set:function(t){this._checked=t},enumerable:!1,configurable:!0}),Object.defineProperty(I.prototype,"excelDataValue",{get:function(){return this._excelDataValue},set:function(t){this._excelDataValue=t},enumerable:!1,configurable:!0}),Object.defineProperty(I.prototype,"excelValue",{get:function(){return this._excelValue},set:function(t){this._excelValue=t},enumerable:!1,configurable:!0}),I.eventGetChecked={},I.eventGetExcelValue={},w=I,l.StiCheckBox=w}(Stimulsoft=Stimulsoft||{}),function(o){var t,e,r,n,l,u,a,i,s,c,p,h;function m(){var t=null!==h&&h.apply(this,arguments)||this;return t._stringFormat="",t}e=t=o.Report||(o.Report={}),e=r=e.Components||(e.Components={}),l=n=e.TextFormats||(e.TextFormats={}),u=o.System.StiString,a=o.System.Globalization.CultureInfo,e=o.Base.Services.StiService,i=o.Base.StiJson,s=o.Base.JsonReportObject.IStiJsonReportObject,c=o.System.TimeSpan,p=o.System.DateTime,__extends(m,h=e),m.prototype.implements=function(){return[s]},m.prototype.saveToJsonObject=function(t){var e=new i;return e.addPropertyIdent("Ident",this.stimulsoft.getType().stimulsoft.getTypeName()),e.addPropertyStringNullOrEmpty("StringFormat",this.stringFormat),e},m.prototype.loadFromJsonObject=function(t){var e,r;try{for(var n=__values(t.properties()),i=n.next();!i.done;i=n.next()){var o=i.value;switch(o.name){case"StringFormat":this._stringFormat=o.value;break}}}catch(t){e={error:t}}finally{try{i&&!i.done&&(r=n.return)&&r.call(n)}finally{if(e)throw e.error}}},m.createFromJsonObject=function(t){var e=StiOptions.Services.formats,r=t.properties().firstOrDefault(function(t){return"Ident"==t.name}).value.toString(),e=e.firstOrDefault(function(t){return t.stimulsoft.getType().stimulsoft.getTypeName()==r}).createNew();return e.loadFromJsonObject(t),e},m.prototype.loadFromXml=function(t){for(var e=0;e<t.childNodes.length;e++){var r=t.childNodes[e];switch(r.nodeName){case"StringFormat":this._stringFormat=r.textContent;break}}},m.loadFormatFromXml=function(t,e){var r=t.attributes.getNamedItem("type"),n=null!=r?r.value:null,r=t.getAttribute("Ref");null==e||null==e.jsonLoaderHelper||u.isNullOrEmpty(r)||u.isNullOrEmpty(n)||(e.jsonLoaderHelper.textFormatTypes[r.stimulsoft.toNumber()]=n);var r=t.getAttribute("isRef");switch(null==e||null==e.jsonLoaderHelper||u.isNullOrEmpty(r)||(n=e.jsonLoaderHelper.textFormatTypes[r.stimulsoft.toNumber()]),n){case"BooleanFormat":var i=new l.StiBooleanFormatService;return i.loadFromXml(t),i;case"CurrencyFormat":var i=new l.StiCurrencyFormatService;return i.loadFromXml(t),i;case"CustomFormat":var o=new l.StiCustomFormatService;return o.loadFromXml(t),o;case"DateFormat":var o=new l.StiDateFormatService;return o.loadFromXml(t),o;case"GeneralFormat":var a=new l.StiGeneralFormatService;return a.loadFromXml(t),a;case"NumberFormat":var a=new l.StiNumberFormatService;return a.loadFromXml(t),a;case"PercentageFormat":var s=new l.StiPercentageFormatService;return s.loadFromXml(t),s;case"TimeFormat":var s=new l.StiTimeFormatService;return s.loadFromXml(t),s}return null},m.loadFromJsonObjectInternal=function(t){var e=StiOptions.Services.formats,r=t.properties().firstOrDefault(function(t){return"Ident"==t.name}).value,e=e.firstOrDefault(function(t){return t.stimulsoft.getType().stimulsoft.getTypeName()==r}).createNew();return e.loadFromJsonObject(t),e},Object.defineProperty(m.prototype,"position",{get:function(){return 0},enumerable:!1,configurable:!0}),Object.defineProperty(m.prototype,"sample",{get:function(){return{}},enumerable:!1,configurable:!0}),Object.defineProperty(m.prototype,"nativeFormatString",{get:function(){return"{0}"},enumerable:!1,configurable:!0}),Object.defineProperty(m.prototype,"isFormatStringFromVariable",{get:function(){if(this.is(l.StiCustomFormatService)&&null!=this.stringFormat){var t=this.stringFormat.trim();return 2<t.length&&t.stimulsoft.startsWith("{")&&t.stimulsoft.endsWith("}")}return!1},enumerable:!1,configurable:!0}),Object.defineProperty(m.prototype,"stringFormat",{get:function(){return this._stringFormat},set:function(t){this._stringFormat=t},enumerable:!1,configurable:!0}),m.prototype.format=function(t){return this.format2(this.stringFormat,t)},m.prototype.format2=function(t,e){try{if(null==e)return"";if(u.isNullOrEmpty(t)){if("number"==typeof e)return Math.round2(e,15).toString().replace(".",",").replace(",",a.currentCulture.numberFormat.numberDecimalSeparator);return e.toString()}var r=!1,n,i;return e instanceof c&&(n=e,i=p.today,n.ticks<0&&(n=n.negate(),r=!0),e=i=new p(i.year,i.month,i.day,n.hours,n.minutes,n.seconds,n.milliseconds)),u.format("{0}{1:"+t+"}",r?"-":"",e)}catch(t){return o.System.StiError.showError(t,!1),null==e?"":e.toString()}},m.prototype.createNew=function(){return null},e=m,l.StiFormatService=e}(Stimulsoft=Stimulsoft||{}),function(e){var t,r,n,i,o,a;function s(t){void 0===t&&(t="");var e=a.call(this)||this;return e.stringFormat=t,e}r=t=e.Report||(e.Report={}),i=n=r.Components||(r.Components={}),r=o=i.TextFormats||(i.TextFormats={}),a=r.StiFormatService,__extends(s,a),Object.defineProperty(s.prototype,"sample",{get:function(){if(null==this.stringFormat)return"";var t=this.stringFormat.toLowerCase().trim();if("d"==t||"f"==t||"g"==t||t.stimulsoft.startsWith("y"))return e.System.DateTime.now;if(t.stimulsoft.startsWith("c")||t.stimulsoft.startsWith("n")||t.stimulsoft.startsWith("#")||t.stimulsoft.startsWith("$"))return 123.45;if(t.stimulsoft.startsWith("(#"))return 1234567890;return""},enumerable:!1,configurable:!0}),s.prototype.createNew=function(){return new s},i=s,r.StiCustomFormatService=i}(Stimulsoft=Stimulsoft||{}),function(n){var t,e,r,i,o,a,s,l,u,c;function p(t){void 0===t&&(t="t");var e=c.call(this)||this;return e.stringFormat=t,e}e=t=n.Report||(n.Report={}),i=r=e.Components||(e.Components={}),e=o=i.TextFormats||(i.TextFormats={}),a=n.System.StiString,s=n.System.Data.DBNull,l=n.System.DateTime,u=n.System.TimeSpan,c=e.StiFormatService,__extends(p,c),p.prototype.saveToJsonObject=function(t){var t=c.prototype.saveToJsonObject.call(this,t);return t.addPropertyString("StringFormat",this.stringFormat,"t"),t},Object.defineProperty(p.prototype,"sample",{get:function(){return l.now},enumerable:!1,configurable:!0}),p.prototype.format=function(t){return this.format2(this.stringFormat,t)},p.prototype.format2=function(t,e){if(null==e||e.stimulsoft.is(s))return"";var r,r;if(a.isNullOrEmpty(t)&&(t="H:mm:ss"),"string"==typeof e&&(StiOptions.Engine.allowConvertingInFormatting?null!=(r=n.Base.Helpers.StiValueHelper.tryToDateTime(e))&&(e=r):null!=(r=l.fromString(e))&&(e=r)),e instanceof l)return e.toString(t);if(e instanceof u)return e.toString(t);return e.toString()},p.prototype.createNew=function(){return new p},i=p,e.StiTimeFormatService=i}(Stimulsoft=Stimulsoft||{}),function(n){var t,e,r,i,o,a,s,l,u,c;function p(t,e){void 0===t&&(t="d"),void 0===e&&(e=" ");var r=c.call(this)||this;return r._nullDisplay=" ",r.stringFormat=t,r._nullDisplay=e,r}e=t=n.Report||(n.Report={}),i=r=e.Components||(e.Components={}),e=o=i.TextFormats||(i.TextFormats={}),a=n.System.StiString,s=n.System.Data.DBNull,l=n.System.DateTime,u=n.System.TimeSpan,c=e.StiFormatService,__extends(p,c),p.prototype.saveToJsonObject=function(t){var t=c.prototype.saveToJsonObject.call(this,t);return t.addPropertyString("StringFormat",this.stringFormat,"d"),t.addPropertyString("NullDisplay",this.nullDisplay," "),t},p.prototype.loadFromJsonObject=function(t){var e,r;c.prototype.loadFromJsonObject.call(this,t);try{for(var n=__values(t.properties()),i=n.next();!i.done;i=n.next()){var o=i.value;switch(o.name){case"NullDisplay":this.nullDisplay=o.value;break}}}catch(t){e={error:t}}finally{try{i&&!i.done&&(r=n.return)&&r.call(n)}finally{if(e)throw e.error}}},p.prototype.loadFromXml=function(t){c.prototype.loadFromXml.call(this,t);for(var e=0;e<t.childNodes.length;e++){var r=t.childNodes[e];switch(r.nodeName){case"NullDisplay":this.nullDisplay=r.textContent;break}}},Object.defineProperty(p.prototype,"sample",{get:function(){return l.now},enumerable:!1,configurable:!0}),p.prototype.format=function(t){return this.format2(this.stringFormat,t)},p.prototype.format2=function(t,e){if(null==e||e.stimulsoft.is(s))return this.nullDisplay;if(a.isNullOrEmpty(t))return e.toString();var r,r;if("string"==typeof e&&(StiOptions.Engine.allowConvertingInFormatting?null!=(r=n.Base.Helpers.StiValueHelper.tryToDateTime(e))&&(e=r):null!=(r=l.fromString(e))&&(e=r)),e instanceof l||e instanceof u){var r=t.toUpperCase();if("Q"==r||"QI"==r||"YQ"==r||"YQI"==r)return p.formatQuarter(t,e);if(e instanceof l)return e.toString(t);if(e instanceof u)return e.toString(t)}return e.toString()},p.formatQuarter=function(t,e){if(e instanceof l){var r=e;if("Q"==t)return n.Data.Functions.Funcs.quarterName(r);if("QI"==t)return n.Data.Functions.Funcs.quarterIndex(r).toString();if("YQ"==t)return a.format("{0}-{1}",r.year,n.Data.Functions.Funcs.quarterName(r));if("YQI"==t)return a.format("{0}-{1}",r.year,n.Data.Functions.Funcs.quarterIndex(r))}return e.ToString()},Object.defineProperty(p.prototype,"nullDisplay",{get:function(){return this._nullDisplay},set:function(t){this._nullDisplay=t},enumerable:!1,configurable:!0}),p.prototype.createNew=function(){return new p},i=p,e.StiDateFormatService=i}(Stimulsoft=Stimulsoft||{}),function(a){var t,e,r,n,i,s,o,l,c,p,u,h,m;function d(t,e,r,n,i,o,a,s,l){this.negativePattern=t,this.decimalSeparator=e,this.decimalDigits=r,this.groupSeparator=n,this.groupSize=i,this.useGroupSeparator=o,this.useLocalSetting=a,this.nullDisplay=s,this.states=l}function g(t,e,r,n,i,o,a,s,l,u){void 0===t&&(t=null),void 0===e&&(e=0),void 0===r&&(r=null),void 0===n&&(n=null),void 0===i&&(i=null),void 0===o&&(o=null),void 0===a&&(a=!0),void 0===s&&(s=!0),void 0===l&&(l=" "),void 0===u&&(u=null);var e=m.call(this)||this;return null==t&&(t=c.currentCulture.numberFormat.numberNegativePattern),null==r&&(r=c.currentCulture.numberFormat.numberDecimalSeparator),null==n&&(n=c.currentCulture.numberFormat.numberDecimalDigits),null==i&&(i=c.currentCulture.numberFormat.numberGroupSeparator),null==o&&(o=c.currentCulture.numberFormat.numberGroupSizes[0]),null==u&&(u=p.None),e.decimalDigits=n,e.decimalSeparator=r,e.groupSeparator=i,e.groupSize=o,e.negativePattern=t,e.useGroupSeparator=a,e.useLocalSetting=s,e.nullDisplay=l,e.state=u,e}e=t=a.Report||(a.Report={}),n=r=e.Components||(e.Components={}),e=i=n.TextFormats||(n.TextFormats={}),s=a.System.StiString,o=a.System.ICloneable,l=a.System.Globalization.NumberFormatInfo,c=a.System.Globalization.CultureInfo,p=a.Report.Components.StiTextFormatState,u=a.System.Enum,d.prototype.implements=function(){return[o]},d.prototype.clone=function(){return new d(this.negativePattern,this.decimalSeparator,this.decimalDigits,this.groupSeparator,this.groupSize,this.useGroupSeparator,this.useLocalSetting,this.nullDisplay,this.states)},h=d,m=e.StiFormatService,__extends(g,m),g.prototype.saveToJsonObject=function(t){var t=m.prototype.saveToJsonObject.call(this,t);return t.removeProperty("StringFormat"),t.addPropertyNumberNoDefaultValue("NegativePattern",this.negativePattern),t.addPropertyString("DecimalSeparator",this.decimalSeparator,"."),t.addPropertyNumber("DecimalDigits",this.decimalDigits,2),t.addPropertyString("GroupSeparator",this.groupSeparator),t.addPropertyNumber("GroupSize",this.groupSize,3),t.addPropertyBool("UseGroupSeparator",this.useGroupSeparator,!0),t.addPropertyBool("UseLocalSetting",this.useLocalSetting,!0),t.addPropertyString("NullDisplay",this.nullDisplay," "),t.addPropertyString("State",u.getName(p,this.state),"None"),t},g.prototype.loadFromJsonObject=function(t){var e,r;m.prototype.loadFromJsonObject.call(this,t);try{for(var n=__values(t.properties()),i=n.next();!i.done;i=n.next()){var o=i.value;switch(o.name){case"NegativePattern":this.negativePattern=o.value.stimulsoft.toNumber();break;case"DecimalSeparator":this.decimalSeparator=o.value;break;case"DecimalDigits":this.decimalDigits=o.value.stimulsoft.toNumber();break;case"GroupSeparator":this.groupSeparator=o.value;break;case"GroupSize":this.groupSize=o.value.stimulsoft.toNumber();break;case"UseGroupSeparator":this.useGroupSeparator=o.value.stimulsoft.toBoolean();break;case"UseLocalSetting":this.useLocalSetting=o.value.stimulsoft.toBoolean();break;case"NullDisplay":this.nullDisplay=o.value;break;case"State":this.state=u.parse(p,o.value);break}}}catch(t){e={error:t}}finally{try{i&&!i.done&&(r=n.return)&&r.call(n)}finally{if(e)throw e.error}}},g.prototype.loadFromXml=function(t){m.prototype.loadFromXml.call(this,t);for(var e=0;e<t.childNodes.length;e++){var r=t.childNodes[e];switch(r.nodeName){case"NegativePattern":this.negativePattern=r.textContent.stimulsoft.toNumber();break;case"DecimalSeparator":this.decimalSeparator=r.textContent;break;case"DecimalDigits":this.decimalDigits=r.textContent.stimulsoft.toNumber();break;case"GroupSeparator":this.groupSeparator=r.textContent;break;case"GroupSize":this.groupSize=r.textContent.stimulsoft.toNumber();break;case"UseGroupSeparator":this.useGroupSeparator=r.textContent.stimulsoft.toBoolean();break;case"UseLocalSetting":this.useLocalSetting=r.textContent.stimulsoft.toBoolean();break;case"NullDisplay":this.nullDisplay=r.textContent;break;case"State":this.state=u.parse(p,r.textContent);break}}},g.prototype.clone=function(){var t=m.prototype.clone.call(this);return null!=this.bits&&(t.bits=this.bits.clone()),t},Object.defineProperty(g.prototype,"nullDisplay",{get:function(){return null==this.bits?" ":this.bits.nullDisplay},set:function(t){if(" "==t&&null==this.bits)return;null!=this.bits?this.bits.nullDisplay=t:this.bits=new h(this.negativePattern,this.decimalSeparator,this.decimalDigits,this.groupSeparator,this.groupSize,this.useGroupSeparator,this.useLocalSetting,t,this.state)},enumerable:!1,configurable:!0}),Object.defineProperty(g.prototype,"negativePattern",{get:function(){return null==this.bits?1:this.bits.negativePattern},set:function(t){if(1==t&&null==this.bits)return;null!=this.bits?this.bits.negativePattern=t:this.bits=new h(t,this.decimalSeparator,this.decimalDigits,this.groupSeparator,this.groupSize,this.useGroupSeparator,this.useLocalSetting,this.nullDisplay,this.state)},enumerable:!1,configurable:!0}),Object.defineProperty(g.prototype,"decimalSeparator",{get:function(){return null==this.bits?".":this.bits.decimalSeparator},set:function(t){if("."==t&&null==this.bits)return;null!=this.bits?this.bits.decimalSeparator=t:this.bits=new h(this.negativePattern,t,this.decimalDigits,this.groupSeparator,this.groupSize,this.useGroupSeparator,this.useLocalSetting,this.nullDisplay,this.state)},enumerable:!1,configurable:!0}),Object.defineProperty(g.prototype,"decimalDigits",{get:function(){return null==this.bits?2:this.bits.decimalDigits},set:function(t){if(2==t&&null==this.bits)return;null!=this.bits?this.bits.decimalDigits=t:this.bits=new h(this.negativePattern,this.decimalSeparator,t,this.groupSeparator,this.groupSize,this.useGroupSeparator,this.useLocalSetting,this.nullDisplay,this.state)},enumerable:!1,configurable:!0}),Object.defineProperty(g.prototype,"groupSeparator",{get:function(){return null==this.bits?" ":this.bits.groupSeparator},set:function(t){if(" "==t&&null==this.bits)return;null!=this.bits?this.bits.groupSeparator=t:this.bits=new h(this.negativePattern,this.decimalSeparator,this.decimalDigits,t,this.groupSize,this.useGroupSeparator,this.useLocalSetting,this.nullDisplay,this.state)},enumerable:!1,configurable:!0}),Object.defineProperty(g.prototype,"groupSize",{get:function(){return null==this.bits?3:this.bits.groupSize},set:function(t){if(3==t&&null==this.bits)return;9<t&&(t=9),null!=this.bits?this.bits.groupSize=t:this.bits=new h(this.negativePattern,this.decimalSeparator,this.decimalDigits,this.groupSeparator,t,this.useGroupSeparator,this.useLocalSetting,this.nullDisplay,this.state)},enumerable:!1,configurable:!0}),Object.defineProperty(g.prototype,"useGroupSeparator",{get:function(){return null==this.bits||null==this.bits.useGroupSeparator||this.bits.useGroupSeparator},set:function(t){if(t&&null==this.bits)return;null!=this.bits?this.bits.useGroupSeparator=t:this.bits=new h(this.negativePattern,this.decimalSeparator,this.decimalDigits,this.groupSeparator,this.groupSize,t,this.useLocalSetting,this.nullDisplay,this.state)},enumerable:!1,configurable:!0}),Object.defineProperty(g.prototype,"useLocalSetting",{get:function(){return null==this.bits||null==this.bits.useLocalSetting||this.bits.useLocalSetting},set:function(t){if(t&&null==this.bits)return;null!=this.bits?this.bits.useLocalSetting=t:this.bits=new h(this.negativePattern,this.decimalSeparator,this.decimalDigits,this.groupSeparator,this.groupSize,this.useGroupSeparator,t,this.nullDisplay,this.state)},enumerable:!1,configurable:!0}),Object.defineProperty(g.prototype,"totalNumberCapacity",{get:function(){return this._totalNumberCapacity},set:function(t){this._totalNumberCapacity=t},enumerable:!1,configurable:!0}),Object.defineProperty(g.prototype,"sample",{get:function(){return-1234.123456789},enumerable:!1,configurable:!0}),Object.defineProperty(g.prototype,"nativeFormatString",{get:function(){return"{0:N2}"},enumerable:!1,configurable:!0}),g.prototype.equals=function(t){var e;if(null==t)return!1;if(this.nullDisplay!=t.nullDisplay)return!1;if(this.negativePattern!=t.negativePattern)return!1;if(this.decimalDigits!=t.decimalDigits)return!1;if(this.decimalSeparator!=t.decimalSeparator)return!1;if(this.groupSeparator!=t.groupSeparator)return!1;if(this.groupSize!=t.groupSize)return!1;if(this.useGroupSeparator!=t.useGroupSeparator)return!1;if(this.useLocalSetting!=t.useLocalSetting)return!1;if(this.stringFormat!=t.stringFormat)return!1;return!0},Object.defineProperty(g.prototype,"state",{get:function(){return null==this.bits?p.None:this.bits.states},set:function(t){if(t==p.None&&null==this.bits)return;null!=this.bits?this.bits.states=t:this.bits=new h(this.negativePattern,this.decimalSeparator,this.decimalDigits,this.groupSeparator,this.groupSize,this.useGroupSeparator,this.useLocalSetting,this.nullDisplay,t)},enumerable:!1,configurable:!0}),g.prototype.fillLocalSetting=function(t){t.numberDecimalDigits=c.currentCulture.numberFormat.numberDecimalDigits,t.numberDecimalSeparator=c.currentCulture.numberFormat.numberDecimalSeparator,t.numberGroupSeparator=c.currentCulture.numberFormat.numberGroupSeparator,t.numberGroupSizes=c.currentCulture.numberFormat.numberGroupSizes,t.numberNegativePattern=c.currentCulture.numberFormat.numberNegativePattern,t.currencyDecimalDigits=c.currentCulture.numberFormat.currencyDecimalDigits,t.currencyDecimalSeparator=c.currentCulture.numberFormat.currencyDecimalSeparator,t.currencyGroupSeparator=c.currentCulture.numberFormat.currencyGroupSeparator,t.currencyGroupSizes=c.currentCulture.numberFormat.currencyGroupSizes,t.currencyNegativePattern=c.currentCulture.numberFormat.currencyNegativePattern,t.currencyPositivePattern=c.currentCulture.numberFormat.currencyPositivePattern,t.currencySymbol=c.currentCulture.numberFormat.currencySymbol,t.percentDecimalDigits=c.currentCulture.numberFormat.percentDecimalDigits,t.percentDecimalSeparator=c.currentCulture.numberFormat.percentDecimalSeparator,t.percentGroupSeparator=c.currentCulture.numberFormat.percentGroupSeparator,t.percentGroupSizes=c.currentCulture.numberFormat.percentGroupSizes,t.percentNegativePattern=c.currentCulture.numberFormat.percentNegativePattern,t.percentPositivePattern=c.currentCulture.numberFormat.percentPositivePattern,t.percentSymbol=c.currentCulture.numberFormat.percentSymbol,t.perMilleSymbol=c.currentCulture.numberFormat.perMilleSymbol,t.positiveInfinitySymbol=c.currentCulture.numberFormat.positiveInfinitySymbol,t.positiveSign=c.currentCulture.numberFormat.positiveSign,t.NaNSymbol=c.currentCulture.numberFormat.NaNSymbol,t.negativeInfinitySymbol=c.currentCulture.numberFormat.negativeInfinitySymbol,t.negativeSign=c.currentCulture.numberFormat.negativeSign},g.prototype.format=function(t){return this.format2(this.stringFormat,t)},g.prototype.format2=function(t,e){if(null==e)return this.nullDisplay;var r=new l,n;if(this.useLocalSetting?(this.fillLocalSetting(r),0<(this.state&p.DecimalDigits)&&(r.numberDecimalDigits=this.decimalDigits),0<(this.state&p.DecimalSeparator)&&!s.isNullOrEmpty(this.decimalSeparator)&&(r.numberDecimalSeparator=this.decimalSeparator),0<(this.state&p.GroupSeparator)&&!s.isNullOrEmpty(this.groupSeparator)&&(r.numberGroupSeparator=this.groupSeparator),0<(this.state&p.GroupSize)&&(r.numberGroupSizes=[this.groupSize]),0<(this.state&p.NegativePattern)&&(r.numberNegativePattern=this.negativePattern)):(s.isNullOrEmpty(this.decimalSeparator)?r.numberDecimalSeparator=c.currentCulture.numberFormat.numberDecimalSeparator:r.numberDecimalSeparator=this.decimalSeparator,r.numberDecimalDigits=this.decimalDigits,null!=this.groupSeparator&&(r.numberGroupSeparator=this.groupSeparator),r.numberGroupSizes=[this.groupSize],r.numberNegativePattern=this.negativePattern),this.useGroupSeparator||(r.numberGroupSeparator=""),0<(this.state&p.Abbreviation)&&null!=(n=a.Base.Helpers.StiValueHelper.tryToNullableNumber(e))){var i=0<(this.state&p.DecimalDigits)?this.decimalDigits:0,o={ref:""},n;return""+(n=a.Report.StiAbbreviationNumberFormatHelper.format4(n,o,!1,i,this.totalNumberCapacity))+o.ref}return this.formatStr(r,e)},g.prototype.formatStr=function(t,e){var r=0;try{r=e.toString().stimulsoft.toNumber()}catch(t){return e.toString()}if(isNaN(r))return e.toString();var n="",i=Math.round2(r,t.numberDecimalDigits)<0,o=Math.abs(r),a=Math.floor(o),s=0,l,s;0==t.numberDecimalDigits?a=Math.round(Math.abs(r)):(l=Math.pow(10,t.numberDecimalDigits))<=(s=Math.round2(Math.round2(Math.round2(o-a,t.numberDecimalDigits+1),t.numberDecimalDigits)*l))&&(a++,s=0);var u=a.toString();if(0<t.numberGroupSizes[0]&&this.useGroupSeparator){var c=u.length-t.numberGroupSizes[0];while(0<=c)n=(0<c?t.numberGroupSeparator:"")+u.substr(c,t.numberGroupSizes[0])+n,c-=t.numberGroupSizes[0];c<0&&(n=u.substring(0,c+t.numberGroupSizes[0])+n)}else n=u;if(0<t.numberDecimalDigits){u=s.toString();while(u.length<t.numberDecimalDigits)u="0"+u;n+=t.numberDecimalSeparator+u}if(i)switch(t.numberNegativePattern){case 0:n="("+n+")";break;case 2:n=t.negativeSign+" "+n;break;case 3:n+=t.negativeSign;break;case 4:n=n+" "+t.negativeSign;break;default:n=t.negativeSign+n;break}return n},g.prototype.createNew=function(){return new g},n=g,e.StiNumberFormatService=n}(Stimulsoft=Stimulsoft||{}),function(a){var t,e,r,h,n,i,s,l,u,m,d;function o(t,e,r,n,i,o,a,s,l,u,c,p){void 0===t&&(t=m.currentCulture.numberFormat.currencyPositivePattern),void 0===e&&(e=m.currentCulture.numberFormat.currencyNegativePattern),void 0===r&&(r=0),void 0===n&&(n=m.currentCulture.numberFormat.currencyDecimalSeparator),void 0===i&&(i=m.currentCulture.numberFormat.currencyDecimalDigits),void 0===o&&(o=m.currentCulture.numberFormat.currencyGroupSeparator),void 0===a&&(a=m.currentCulture.numberFormat.currencyGroupSizes[0]),void 0===s&&(s="$"),void 0===l&&(l=!0),void 0===u&&(u=!0),void 0===c&&(c=" "),void 0===p&&(p=h.StiTextFormatState.None);var r=d.call(this)||this;return r._positivePattern=1,r._symbol="$",r.decimalDigits=i,r.decimalSeparator=n,r.groupSeparator=o,r.groupSize=a,r.negativePattern=e,r.positivePattern=t,r._symbol=s,r.useGroupSeparator=l,r.useLocalSetting=u,r.nullDisplay=c,r.state=p,r}e=t=a.Report||(a.Report={}),h=r=e.Components||(e.Components={}),i=n=h.TextFormats||(h.TextFormats={}),s=a.System.StiString,l=a.System.Data.DBNull,u=a.System.Globalization.NumberFormatInfo,m=a.System.Globalization.CultureInfo,d=i.StiNumberFormatService,__extends(o,d),o.prototype.saveToJsonObject=function(t){var t=d.prototype.saveToJsonObject.call(this,t);return t.removeProperty("StringFormat"),t.addPropertyNumberNoDefaultValue("PositivePattern",this.positivePattern),t.addPropertyString("Symbol",this.symbol,"$"),t},o.prototype.loadFromJsonObject=function(t){var e,r;d.prototype.loadFromJsonObject.call(this,t);try{for(var n=__values(t.properties()),i=n.next();!i.done;i=n.next()){var o=i.value;switch(o.name){case"PositivePattern":this.positivePattern=o.value.stimulsoft.toNumber();break;case"Symbol":this.symbol=o.value;break}}}catch(t){e={error:t}}finally{try{i&&!i.done&&(r=n.return)&&r.call(n)}finally{if(e)throw e.error}}},o.prototype.loadFromXml=function(t){d.prototype.loadFromXml.call(this,t);for(var e=0;e<t.childNodes.length;e++){var r=t.childNodes[e];switch(r.nodeName){case"PositivePattern":this.positivePattern=r.textContent.stimulsoft.toNumber();break;case"Symbol":this.symbol=r.textContent;break}}},Object.defineProperty(o.prototype,"positivePattern",{get:function(){return this._positivePattern},set:function(t){this._positivePattern=t},enumerable:!1,configurable:!0}),Object.defineProperty(o.prototype,"symbol",{get:function(){return this._symbol},set:function(t){this._symbol=t},enumerable:!1,configurable:!0}),Object.defineProperty(o.prototype,"nativeFormatString",{get:function(){return"{0:C2}"},enumerable:!1,configurable:!0}),Object.defineProperty(o.prototype,"sample",{get:function(){return-1234.12345679},enumerable:!1,configurable:!0}),o.prototype.equals=function(t){var t=t;if(null==t)return!1;if(!d.prototype.equals.call(this,t))return!1;if(this.positivePattern!=t.positivePattern)return!1;if(this.symbol!=t.symbol)return!1;return!0},o.prototype.format=function(t){return this.format2(this.stringFormat,t)},o.prototype.format2=function(t,e){if(null==e)return this.nullDisplay;if(null==e||e.stimulsoft.is(l))return this.nullDisplay;var r=new u,n;if(this.useLocalSetting?(this.fillLocalSetting(r),0<(this.state&h.StiTextFormatState.DecimalDigits)&&(r.currencyDecimalDigits=this.decimalDigits),0<(this.state&h.StiTextFormatState.DecimalSeparator)&&!s.isNullOrEmpty(this.decimalSeparator)&&(r.currencyDecimalSeparator=this.decimalSeparator),0<(this.state&h.StiTextFormatState.GroupSeparator)&&!s.isNullOrEmpty(this.groupSeparator)&&(r.currencyGroupSeparator=this.groupSeparator),0<(this.state&h.StiTextFormatState.GroupSize)&&(r.currencyGroupSizes=[this.groupSize]),0<(this.state&h.StiTextFormatState.NegativePattern)&&(r.currencyNegativePattern=this.negativePattern),0<(this.state&h.StiTextFormatState.PositivePattern)&&(r.currencyPositivePattern=this.positivePattern),0<(this.state&h.StiTextFormatState.CurrencySymbol)&&(r.currencySymbol=this.symbol)):(s.isNullOrEmpty(this.decimalSeparator)?r.currencyDecimalSeparator=m.currentCulture.numberFormat.currencyDecimalSeparator:r.currencyDecimalSeparator=this.decimalSeparator,r.currencyDecimalDigits=this.decimalDigits,null!=this.groupSeparator&&(r.currencyGroupSeparator=this.groupSeparator),r.currencyGroupSizes=[this.groupSize],r.currencyPositivePattern=this.positivePattern,r.currencyNegativePattern=this.negativePattern,null!=this.symbol&&(r.currencySymbol=this.symbol)),this.useGroupSeparator||(r.currencyGroupSeparator=""),0<(this.state&h.StiTextFormatState.Abbreviation)&&null!=(n=a.Base.Helpers.StiValueHelper.tryToNullableNumber(e))){var i={ref:""},n,o,o=""+(o=(n=a.Report.StiAbbreviationNumberFormatHelper.format3(n,i,!1)).toFixed(r.currencyDecimalDigits))+i.ref;return this.formatAsCurrency(n,o)}return this.formatStr(r,e)},o.prototype.formatAsCurrency=function(t,e){var r=this.getCurrencySymbol(),n,n;if(0<=t)return(n=this.getPositivePattern()).stimulsoft.replaceAll("n",e).stimulsoft.replaceAll("$",r);return e=e.stimulsoft.replaceAll("-",""),(n=this.getNegativePattern()).stimulsoft.replaceAll("n",e).stimulsoft.replaceAll("$",r)},o.prototype.getCurrencySymbol=function(){return this.useLocalSetting&&0==(this.state&h.StiTextFormatState.CurrencySymbol)?m.currentCulture.numberFormat.currencySymbol:this.symbol},o.prototype.getPositivePattern=function(){var t=this.useLocalSetting&&0==(this.state&h.StiTextFormatState.PositivePattern)?m.currentCulture.numberFormat.currencyPositivePattern:this.positivePattern,e=["$n","n$","$ n","n $"];return 0<=t&&t<e.length?e[t]:"$n"},o.prototype.getNegativePattern=function(){var t=this.useLocalSetting&&0==(this.state&h.StiTextFormatState.NegativePattern)?m.currentCulture.numberFormat.currencyNegativePattern:this.negativePattern,e=["($n)","-$n","$-n","$n-","(n$)","-n$","n-$","n$-","-n $","-$ n","n $-","$ n-","$ -n","n- $","($ n)","(n $)"];return 0<=t&&t<e.length?e[t]:"($n)"},o.prototype.formatStr=function(t,e){var r=0;try{r=e.toString().stimulsoft.toNumber()}catch(t){return e.toString()}if(isNaN(r))return e.toString();var n="",i=Math.abs(r),o=Math.round2(r,t.currencyDecimalDigits)<0,a=Math.floor(i),s=0,l,s;0==t.currencyDecimalDigits?a=Math.round(Math.abs(r)):(l=Math.pow(10,t.currencyDecimalDigits))<=(s=Math.round2(Math.round2(Math.round2(i-a,t.currencyDecimalDigits+1),t.currencyDecimalDigits)*l))&&(a++,s=0);var u=a.toString();if(0<t.currencyGroupSizes[0]&&this.useGroupSeparator){var c=u.length-t.currencyGroupSizes[0];while(0<=c)n=(0<c?t.currencyGroupSeparator:"")+u.substr(c,t.currencyGroupSizes[0])+n,c-=t.currencyGroupSizes[0];c<0&&(n=u.substring(0,c+t.currencyGroupSizes[0])+n)}else n=u;if(0<t.currencyDecimalDigits){u=s.toString();while(u.length<t.currencyDecimalDigits)u="0"+u;n+=t.currencyDecimalSeparator+u}if(o)switch(t.currencyNegativePattern){case 0:n="("+t.currencySymbol+n+")";break;case 1:n="-"+t.currencySymbol+n;break;case 2:n=t.currencySymbol+"-"+n;break;case 3:n=t.currencySymbol+n+"-";break;case 4:n="("+n+t.currencySymbol+")";break;case 6:n=n+"-"+t.currencySymbol;break;case 7:n=n+t.currencySymbol+"-";break;case 8:n="-"+n+" "+t.currencySymbol;break;case 9:n=n+" "+t.currencySymbol+"-";break;case 10:n=t.currencySymbol+" "+n+"-";break;case 11:n=t.currencySymbol+" "+"-"+n;break;case 12:n=n+"- "+t.currencySymbol;break;case 13:n="("+t.currencySymbol+" "+n+")";break;case 14:n="("+n+" "+t.currencySymbol+")";break;case 15:n="("+t.currencySymbol+" "+n+")";break;case 16:n="("+n+" "+t.currencySymbol+")";break;default:n="-"+n+t.currencySymbol;break}else switch(t.currencyPositivePattern){case 0:n=t.currencySymbol+n;break;case 1:n+=t.currencySymbol;break;case 2:n=t.currencySymbol+" "+n;break;case 3:n=n+" "+t.currencySymbol;break}return n},o.prototype.createNew=function(){return new o},e=o,i.StiCurrencyFormatService=e}(Stimulsoft=Stimulsoft||{}),function(t){var e,r,n,h,i,o,a,s,l,m,d;function u(t,e,r,n,i,o,a,s,l,u,c,p){void 0===t&&(t=m.currentCulture.numberFormat.percentPositivePattern),void 0===e&&(e=m.currentCulture.numberFormat.percentNegativePattern),void 0===r&&(r=0),void 0===n&&(n=m.currentCulture.numberFormat.percentDecimalSeparator),void 0===i&&(i=m.currentCulture.numberFormat.percentDecimalDigits),void 0===o&&(o=m.currentCulture.numberFormat.percentGroupSeparator),void 0===a&&(a=m.currentCulture.numberFormat.percentGroupSizes[0]),void 0===s&&(s=m.currentCulture.numberFormat.percentSymbol),void 0===l&&(l=!0),void 0===u&&(u=!0),void 0===c&&(c=" "),void 0===p&&(p=h.StiTextFormatState.None);var r=d.call(this)||this;return r.decimalDigits=i,r.decimalSeparator=n,r.groupSeparator=o,r.groupSize=a,r.negativePattern=e,r.positivePattern=t,r.symbol=s,r.useGroupSeparator=l,r.useLocalSetting=u,r.nullDisplay=c,r.state=p,r}r=e=t.Report||(t.Report={}),h=n=r.Components||(r.Components={}),o=i=h.TextFormats||(h.TextFormats={}),a=t.System.StiString,s=t.System.Data.DBNull,l=t.System.Globalization.NumberFormatInfo,m=t.System.Globalization.CultureInfo,d=o.StiCurrencyFormatService,__extends(u,d),u.prototype.saveToJsonObject=function(t){var t=d.prototype.saveToJsonObject.call(this,t);return t.removeProperty("StringFormat"),t},u.prototype.format=function(t){return this.format2(this.stringFormat,t)},u.prototype.format2=function(t,e){if(null==e||e.stimulsoft.is(s))return this.nullDisplay;var r=new l;return this.useLocalSetting?(this.fillLocalSetting(r),0<(this.state&h.StiTextFormatState.DecimalDigits)&&(r.percentDecimalDigits=this.decimalDigits),0<(this.state&h.StiTextFormatState.DecimalSeparator)&&!a.isNullOrEmpty(this.decimalSeparator)&&(r.percentDecimalSeparator=this.decimalSeparator),0<(this.state&h.StiTextFormatState.GroupSeparator)&&!a.isNullOrEmpty(this.groupSeparator)&&(r.percentGroupSeparator=this.groupSeparator),0<(this.state&h.StiTextFormatState.GroupSize)&&(r.percentGroupSizes=[this.groupSize]),0<(this.state&h.StiTextFormatState.NegativePattern)&&(r.percentNegativePattern=this.negativePattern),0<(this.state&h.StiTextFormatState.PositivePattern)&&(r.percentPositivePattern=this.positivePattern),0<(this.state&h.StiTextFormatState.PercentageSymbol)&&(r.percentSymbol=this.symbol)):(a.isNullOrEmpty(this.decimalSeparator)?r.percentDecimalSeparator=m.currentCulture.numberFormat.percentDecimalSeparator:r.percentDecimalSeparator=this.decimalSeparator,r.percentDecimalDigits=this.decimalDigits,r.percentGroupSeparator=this.groupSeparator,r.percentGroupSizes=[this.groupSize],r.percentPositivePattern=this.positivePattern,r.percentNegativePattern=this.negativePattern,r.percentSymbol=this.symbol),this.useGroupSeparator||(r.percentGroupSeparator=""),this.formatStr(r,e)},u.prototype.formatStr=function(t,e){var r=0;try{r=e.toString().stimulsoft.toNumber()}catch(t){return e.toString()}if(isNaN(r))return e.toString();var n="";r*=100;var i=Math.round2(r,t.percentDecimalDigits)<0,o=Math.abs(r),a=Math.floor(o),s=0,l,s;0==t.percentDecimalDigits?a=Math.round(Math.abs(r)):(l=Math.pow(10,t.percentDecimalDigits))<=(s=Math.round2(Math.round2(Math.round2(o-a,t.percentDecimalDigits+1),t.percentDecimalDigits)*l))&&(a++,s=0);var u=a.toString();if(0<t.percentGroupSizes[0]&&this.useGroupSeparator){var c=u.length-t.percentGroupSizes[0];while(0<=c)n=(0<c?t.percentGroupSeparator:"")+u.substr(c,t.percentGroupSizes[0])+n,c-=t.percentGroupSizes[0];c<0&&(n=u.substring(0,c+t.percentGroupSizes[0])+n)}else n=u;if(0<t.percentDecimalDigits){u=s.toString();while(u.length<t.percentDecimalDigits)u="0"+u;n+=t.percentDecimalSeparator+u}if(i)switch(t.percentNegativePattern){case 0:n="-"+n+" "+t.percentSymbol;break;case 2:n="-"+t.percentSymbol+n;break;default:n="-"+n+t.percentSymbol;break}else switch(t.percentPositivePattern){case 0:n=n+" "+t.percentSymbol;break;case 2:n=t.percentSymbol+n;break;default:n+=t.percentSymbol;break}return n},u.prototype.createNew=function(){return new u},r=u,o.StiPercentageFormatService=r}(Stimulsoft=Stimulsoft||{}),function(t){var e,r,n,t,i,o;function a(){var t=o.call(this)||this;return t.stringFormat="",t}r=e=t.Report||(t.Report={}),t=n=r.Components||(r.Components={}),r=i=t.TextFormats||(t.TextFormats={}),o=r.StiFormatService,__extends(a,o),a.prototype.saveToJsonObject=function(t){var t=o.prototype.saveToJsonObject.call(this,t);return t.removeProperty("StringFormat"),t},Object.defineProperty(a.prototype,"sample",{get:function(){return""},enumerable:!1,configurable:!0}),a.prototype.equals=function(t){var e;if(null==t)return!1;return!0},a.prototype.createNew=function(){return new a},a.default=new a,t=a,r.StiGeneralFormatService=t}(Stimulsoft=Stimulsoft||{}),function(t){var e,r,n,t,i;function o(){return null!==i&&i.apply(this,arguments)||this}r=e=t.Report||(t.Report={}),t=n=r.Events||(r.Events={}),i=t.StiEvent,__extends(o,i),o.prototype.toString=function(){return"GetValue"},r=o,t.StiGetValueEvent=r}(Stimulsoft=Stimulsoft||{}),function(o){var t,e,r;e=t=o.Report||(o.Report={}),function(t){var e=o.System.EventHandler,r=o.System.EventArgs;t.StiGetValueEventHandler=new e("sender: any, e: StiGetValueEventArgs");var r=(__extends(i,n=r),i),n;function i(){var t=null!==n&&n.apply(this,arguments)||this;return t.value=null,t}t.StiGetValueEventArgs=r}(r=e.Events||(e.Events={}))}(Stimulsoft=Stimulsoft||{}),function(d){var t,g,e,f,S,r,n,s,l,i,u,y,A,o,c,a,p,h;function b(t,e){void 0===t&&(t=o.empty),void 0===e&&(e=!1);var r=h.call(this)||this;return r._linesOfUnderline=u.None,r._hideZeros=!1,r._editable=!1,r._text="",r._totalValueHelp=null,e||r.construct(t),r}g=t=d.Report||(d.Report={}),f=e=g.Components||(g.Components={}),S=d.System.StiString,r=d.Base.JsonReportObject.IStiJsonReportObject,n=d.Report.Events.StiGetValueEventHandler,s=d.Report.Events.StiGetValueEvent,l=d.System.Enum,i=d.Report.Components.IStiEditable,u=d.Base.Drawing.StiPenStyle,y=d.Report.Events.StiGetValueEventArgs,A=d.Report.Events.StiValueEventArgs,o=d.System.Drawing.Rectangle,c=d.Report.Expressions.StiExpression,a=d.Report.Components.TextFormats.StiCurrencyFormatService,h=f.StiComponent,__extends(b,h),b.prototype.implements=function(){return b.ImplementsStiSimpleText||(b.ImplementsStiSimpleText=h.prototype.implements.call(this).concat([f.IStiText,i,r])),b.ImplementsStiSimpleText},b.prototype.saveToJsonObject=function(t){var e=h.prototype.saveToJsonObject.call(this,t);return e.addPropertyStringNullOrEmpty("GlobalizedName",this.globalizedName),e.addPropertyEnum("LinesOfUnderline",u,this.linesOfUnderline,u.None),e.addPropertyBool("HideZeros",this.hideZeros),e.addPropertyEnum("ProcessingDuplicates",f.StiProcessingDuplicatesType,this.processingDuplicates,f.StiProcessingDuplicatesType.None),e.addPropertyNumber("MaxNumberOfLines",this.maxNumberOfLines),e.addPropertyBool("OnlyText",this.onlyText),e.addPropertyBool("Editable",this.editable),e.addPropertyBool("ProcessAtEnd",this.processAtEnd),e.addPropertyEnum("ProcessAt",f.StiProcessAt,this.processAt,f.StiProcessAt.None),e.addPropertyJObject("Text",new c(this.text).saveToJsonObject(t)),e.addPropertyJObject("GetValueEvent",this.getValueEvent.saveToJsonObject(t)),e.addPropertyStringNullOrEmpty("TotalValueHelp",this.totalValueHelp),e},b.prototype.loadFromJsonObject=function(t){var e,r;h.prototype.loadFromJsonObject.call(this,t);try{for(var n=__values(t.properties()),i=n.next();!i.done;i=n.next()){var o=i.value;switch(o.name){case"GlobalizedName":this.globalizedName=o.value;break;case"LinesOfUnderline":this._linesOfUnderline=l.parse(u,o.value);break;case"HideZeros":this._hideZeros=o.value.stimulsoft.toBoolean();break;case"ProcessingDuplicates":this.processingDuplicates=l.parse(f.StiProcessingDuplicatesType,o.value);break;case"MaxNumberOfLines":this.maxNumberOfLines=o.value.stimulsoft.toNumber();break;case"OnlyText":this.onlyText=o.value.stimulsoft.toBoolean();break;case"Editable":this._editable=o.value.stimulsoft.toBoolean();break;case"ProcessAtEnd":this.processAtEnd=o.value.stimulsoft.toBoolean();break;case"ProcessAt":this.processAt=l.parse(f.StiProcessAt,o.value);break;case"Text":var a=new c;a.loadFromJsonObject(o.value),this._text=a.value;break;case"GetValueEvent":var a=new s;a.loadFromJsonObject(o.value),this.getValueEvent=a;break;case"TotalValueHelp":this._totalValueHelp=o.value;break}}}catch(t){e={error:t}}finally{try{i&&!i.done&&(r=n.return)&&r.call(n)}finally{if(e)throw e.error}}},b.prototype.loadFromXml=function(t,e){h.prototype.loadFromXml.call(this,t,e);for(var r=0;r<t.childNodes.length;r++){var n=t.childNodes[r];switch(n.nodeName){case"GlobalizedName":this.globalizedName=n.textContent;break;case"LinesOfUnderline":this._linesOfUnderline=l.parse(u,n.textContent);break;case"HideZeros":this._hideZeros=n.textContent.stimulsoft.toBoolean();break;case"ProcessingDuplicates":this.processingDuplicates=l.parse(f.StiProcessingDuplicatesType,n.textContent);break;case"MaxNumberOfLines":this.maxNumberOfLines=n.textContent.stimulsoft.toNumber();break;case"OnlyText":this.onlyText=n.textContent.stimulsoft.toBoolean();break;case"Editable":this._editable=n.textContent.stimulsoft.toBoolean();break;case"ProcessAtEnd":this.processAtEnd=n.textContent.stimulsoft.toBoolean();break;case"ProcessAt":this.processAt=l.parse(f.StiProcessAt,n.textContent);break;case"Text":var i=new c;i.loadFromXml(n),this._text=i.value;break;case"GetValueEvent":var i=new s;i.script=n.textContent,this.getValueEvent=i;break;case"TotalValueHelp":this._totalValueHelp=n.textContent;break}}},Object.defineProperty(b.prototype,"globalizedName",{get:function(){return this.properties.get(b.propertyGlobalizedName,"")},set:function(t){this.properties.set(b.propertyGlobalizedName,t,"")},enumerable:!1,configurable:!0}),b.prototype.clone=function(t,e,r){void 0===t&&(t=!0),void 0===e&&(e=!0),void 0===r&&(r=!0);var r=h.prototype.clone.call(this,t,e,r);return null!=this._text?r._text=this._text:r._text=null,r},b.prototype.memberwiseClone=function(t){void 0===t&&(t=!0);var t=h.prototype.memberwiseClone.call(this,t);return t._editable=this._editable,t._hideZeros=this._hideZeros,t._linesOfUnderline=this._linesOfUnderline,t._text=this._text,t._textValue=this._textValue,t._totalValueHelp=this._totalValueHelp,t},b.prototype.getTextWithoutZero=function(t){if(!this.hideZeros)return t;if("0"==t)return this.canShrink?"":" ";if(null==t||0==t.trim().length)return t;var e=t.trim();try{if(-1!=S.indexOfAny(e,["1","2","3","4","5","6","7","8","9"]))return t;if(-1==e.indexOf("0"))return t;var r="$",n;if(this.is(f.StiText)&&this.textFormat.is(a)&&(r=this.textFormat.symbol),e.stimulsoft.startsWith(r)&&(e=e.substr(r.length)),e.stimulsoft.endsWith(r)&&(e=e.substr(0,e.length-r.length)),0==(n=e.stimulsoft.toNumber(!1)))return this.canShrink?"":" "}catch(t){d.System.StiError.showError(t.message,!1);var n=(e=e.stimulsoft.replaceAll("%","")).stimulsoft.toNumber(!1);if(null!=n&&0==n)return this.canShrink?"":" "}return t},b.prototype.setText=function(t,e){var r,n,i,o;void 0===t&&(t=null),void 0===e&&(e=null);var a=null,s=null;if(null!=this._text){var l=this.name;null!=s&&(l+="Excel");var u=this.report.totals.get(l);if(null!=u&&0<u.length){try{for(var c=__values(u),p=c.next();!p.done;p=c.next()){var h=p.value,m=h.pageIndex;if(null!=this.report.engine&&(this.report.engine.indexPageForPageTotal=m-1),m--,this.report.renderedPages.cacheMode&&m<this.report.renderedPages.count){var m=this.report.renderedPages.getByIndex(m);if(this.report.renderedPages.getPage(this.page),this.report.renderedPages.isNotSavedPage(this.page)){this.setTextTo(h.textBox,h,t,e);continue}var d=m.getComponents();try{for(var g=(i=void 0,__values(d.list)),f=g.next();!f.done;f=g.next()){var S=f.value,y=S.as(b);null!=y&&S.name==this.name&&null==y.totalValueHelp&&this.setTextTo(S,h,t,e)}}catch(t){i={error:t}}finally{try{f&&!f.done&&(o=g.return)&&o.call(g)}finally{if(i)throw i.error}}this.report.renderedPages.markPageAsNotSaved(m)}else this.setTextTo(h.textBox,h,t,e)}}catch(t){r={error:t}}finally{try{p&&!p.done&&(n=c.return)&&n.call(c)}finally{if(r)throw r.error}}u.stimulsoft.clear()}else null!=e&&(this._text=e)}null==s&&(this._textValue=this.processText(this.getTextWithoutZero(this._text)))},b.prototype.setTextTo=function(t,e,r,n){var i=t.as(f.IStiText);if(null!=i){t.totalValueHelp="1";var o=this.report.pageNumber,a=new g.StiRuntimeVariables(this.report);e.setVariables(this.report);var s="",l="-",e=!0,e,e,e;if(null!=this.report&&(e=this.report.calculationMode==g.StiCalculationMode.Compilation),null!=n)this._text=n;else if(!e)try{var u=t.as(f.StiText),c=null!=u&&null!=u.excelValue&&0<u.excelValue.length,p=u.text;this.report.totals.contains("#%#"+t.name)&&(p=this.report.totals.get("#%#"+t.name));var h,m={ref:!1},p=d.Report.Engine.StiParser.StiParser.parseTextValue(p,this,u,m,!0),h=m.ref,s=null!=u&&null!=u.format&&"G"!=u.format?c?u.textFormat.format(p):u.textFormat.format(this.report.checkExcelValue(t,p)):this.report.toString3(t,p,!c)}catch(t){d.System.StiError.showError(S.format("Expression in Text property of '{0}' can't be evaluated! {1}",this.name,t.message),!1);var n=S.format("Expression in Text property of '{0}' can't be evaluated! {1}",this.name,t);g.StiLogService.write(this.stimulsoft.getType(),n),g.StiLogService.write(this.stimulsoft.getType(),t)}a.setVariables(this.report),this.report.pageNumber=o,e||((e=new y).value=s,i.invokeGetValue(i,e),(e.storeToPrinted&&S.isNullOrEmpty(e.value)||e.value.stimulsoft.startsWith("#%#"))&&(e.value=s),e=new A(e.value),this.invokeTextProcess(t,e),e=this.processText(this.getTextWithoutZero(e.value)),i.setTextInternal(e))}},Object.defineProperty(b.prototype,"linesOfUnderline",{get:function(){return this._linesOfUnderline},set:function(t){this._linesOfUnderline=t},enumerable:!1,configurable:!0}),Object.defineProperty(b.prototype,"linesOfUnderlining",{get:function(){return this.linesOfUnderline!=u.None},set:function(t){this.linesOfUnderline=t?u.Solid:u.None},enumerable:!1,configurable:!0}),Object.defineProperty(b.prototype,"hideZeros",{get:function(){return this._hideZeros},set:function(t){this._hideZeros=t},enumerable:!1,configurable:!0}),Object.defineProperty(b.prototype,"mergeDuplicates",{get:function(){return this.processingDuplicates==f.StiProcessingDuplicatesType.Merge},set:function(t){this.processingDuplicates=f.StiProcessingDuplicatesType.Merge},enumerable:!1,configurable:!0}),Object.defineProperty(b.prototype,"processingDuplicates",{get:function(){return this.properties.get(b.propertyProcessingDuplicates,f.StiProcessingDuplicatesType.None)},set:function(t){this.properties.set(b.propertyProcessingDuplicates,t,f.StiProcessingDuplicatesType.None)},enumerable:!1,configurable:!0}),Object.defineProperty(b.prototype,"maxNumberOfLines",{get:function(){return this.properties.getNumber(b.propertyMaxNumberOfLines,0)},set:function(t){this.properties.setNumber(b.propertyMaxNumberOfLines,t,0)},enumerable:!1,configurable:!0}),b.prototype.processText=function(t){return t},Object.defineProperty(b.prototype,"onlyText",{get:function(){return this.properties.getBool(b.propertyOnlyText,!1)},set:function(t){this.properties.setBool(b.propertyOnlyText,t,!1)},enumerable:!1,configurable:!0}),Object.defineProperty(b.prototype,"editable",{get:function(){return this._editable},set:function(t){this._editable=t},enumerable:!1,configurable:!0}),Object.defineProperty(b.prototype,"processAtEnd",{get:function(){return this.processAt==f.StiProcessAt.EndOfReport},set:function(t){this.processAt=t?f.StiProcessAt.EndOfReport:f.StiProcessAt.None},enumerable:!1,configurable:!0}),Object.defineProperty(b.prototype,"processAt",{get:function(){return this.properties.get(b.propertyProcessAt,f.StiProcessAt.None)},set:function(t){this.properties.set(b.propertyProcessAt,t,f.StiProcessAt.None)},enumerable:!1,configurable:!0}),b.prototype.invokeRenderTo=function(t){},Object.defineProperty(b.prototype,"text",{get:function(){return this._text},set:function(t){this._text=t},enumerable:!1,configurable:!0}),b.prototype.getTextInternal=function(){return this.text},b.prototype.setTextInternal=function(t){this.text=t},Object.defineProperty(b.prototype,"textValue",{get:function(){return this._textValue},set:function(t){this._textValue!=t&&(this._textValue=t)},enumerable:!1,configurable:!0}),b.prototype.onGetValue=function(t){},b.prototype.invokeGetValue=function(t,e){try{var r,n,i,o,a,s,a,l,s,l,o,i,s,i;this.onGetValue(e),this.report.calculationMode==g.StiCalculationMode.Interpretation&&(n=null!=(r=t)&&!S.isNullOrEmpty(r.excelValue),i=!1,(o=null)!=(a=t.as(f.StiRichText))?a.onlyText?o=f.StiRichText.notSupportedText:null==this.report.engine||null!=(s=this.report.engine.parserConversionStore.get("*StiRichTextExpression*"+t.name))&&(o=s):r.onlyText?o=r.text:null==(a=this.as(f.StiText))||a.type!=f.StiSystemTextType.DataColumn||S.isNullOrEmpty(a.nullValue)?(l={ref:i},o=d.Report.Engine.StiParser.StiParser.parseTextValue(r.text,r,null,l,!1),i=l.ref):(s=r.text).stimulsoft.startsWith("{")&&s.stimulsoft.endsWith("}")&&2<s.length&&(s=s.substr(1,s.length-2),g.StiNullValuesHelper.isNull(this.report,s)?o=a.nullValue:(l={ref:i},o=d.Report.Engine.StiParser.StiParser.parseTextValue(r.text,r,null,l,!1),i=l.ref)),i&&(e.storeToPrinted=!0,o="#%#"+r.text,null!=(i=r.text)&&i.stimulsoft.startsWith("#%#")||(o="#%#"+i),n=!0),null!=r&&null!=r.format&&"G"!=r.format?e.value=n?r.textFormat.format2(r.textFormat.stringFormat,o):r.textFormat.format2(r.textFormat.stringFormat,this.report.checkExcelValue(t,o)):e.value=this.report.toString3(t,o,!n));var u=this.events.get(b.eventGetValue);if(null!=u)try{u(t,e)}catch(e){}}catch(t){var c=S.format("Expression in Text property of '{0}' can't be evaluated! {1}",this.name,t.message);d.System.StiError.showError(c,!1),g.StiLogService.write(this.stimulsoft.getType(),c),g.StiLogService.write(this.stimulsoft.getType(),t),this.report.writeToReportRenderingMessages(c)}},b.prototype.checkDuplicates=function(t,e){try{var r=t,n=this.processingDuplicates,i,i;n!=f.StiProcessingDuplicatesType.BasedOnValueAndTagMerge&&n!=f.StiProcessingDuplicatesType.BasedOnValueAndTagHide&&n!=f.StiProcessingDuplicatesType.BasedOnValueRemoveText||(i=n==f.StiProcessingDuplicatesType.BasedOnValueAndTagMerge||n==f.StiProcessingDuplicatesType.BasedOnValueAndTagHide?d.System.Convert.toString(r.tagValue):null,this.report.engine.checkForDuplicate(this.name,e.value,i)&&(e.value="")),n!=f.StiProcessingDuplicatesType.GlobalBasedOnValueAndTagMerge&&n!=f.StiProcessingDuplicatesType.GlobalBasedOnValueAndTagHide&&n!=f.StiProcessingDuplicatesType.GlobalBasedOnValueRemoveText||(i=n==f.StiProcessingDuplicatesType.GlobalBasedOnValueAndTagMerge||n==f.StiProcessingDuplicatesType.GlobalBasedOnValueAndTagHide?d.System.Convert.toString(r.tagValue):null,this.report.engine.checkForDuplicate(S.format("{0}_{1}",this.left,this.width),e.value,i)&&(e.value=""))}catch(e){}},Object.defineProperty(b.prototype,"getValueEvent",{get:function(){return new s(this)},set:function(t){t.set(this,t.script),this.events.set(b.eventGetValue,n.create(t.script,this.report))},enumerable:!1,configurable:!0}),b.prototype.onTextProcess=function(t){},b.prototype.invokeTextProcess=function(t,e){try{this.onTextProcess(e);var r=!0,n,n,r;if(null!=this.report&&(r=this.report.calculationMode==g.StiCalculationMode.Compilation),r){if(null!=(n=this.events.get(b.eventTextProcess)))try{n(t,e)}catch(e){}}else{if(null!=(n=this.events.get(b.eventTextProcess)))try{n(t,e)}catch(e){}null==this.report||null==this.report.engine||null!=(r=this.report.engine.parserConversionStore.get("*StiConditionExpression*"+this.name))&&(this.report.engine.lastInvokeTextProcessValueEventArgsValue=e.value,this.applyConditionsAssignExpression(t,r),this.is(d.Report.CrossTab.StiCrossCell)&&this.applyConditions(t,r,e))}}catch(t){d.System.StiError.showError(t.message,!1),null!=this.report&&this.report.writeToReportRenderingMessages(this.name+" InvokeTextProcess error: "+t.message)}},b.prototype.applyConditionsAssignExpression=function(t,e){var r,n;if(null==e)return;try{for(var i=__values(e),o=i.next();!o.done;o=i.next()){var a=o.value,s=a.key,a,s;s.canAssignExpression&&null!=s.assignExpression&&0<s.assignExpression.trim().length&&("boolean"==typeof(a=d.Report.Engine.StiParser.StiParser.parseTextValue(a.value,this,t))&&a&&(s=d.Report.Engine.StiParser.StiParser.parseTextValue("{"+s.assignExpression+"}",this,t),t.textValue=this.report.toString2(s)))}}catch(t){r={error:t}}finally{try{o&&!o.done&&(n=i.return)&&n.call(i)}finally{if(r)throw r.error}}},Object.defineProperty(b.prototype,"totalValueHelp",{get:function(){return this._totalValueHelp},set:function(t){this._totalValueHelp=t},enumerable:!1,configurable:!0}),b.prototype.construct=function(t){void 0===t&&(t=o.empty),h.prototype.construct.call(this,t)},b.propertyGlobalizedName=Math.random().toString().substr(2),b.propertyProcessingDuplicates=Math.random().toString().substr(2),b.propertyMaxNumberOfLines=Math.random().toString().substr(2),b.propertyOnlyText=Math.random().toString().substr(2),b.propertyProcessAt=Math.random().toString().substr(2),b.eventGetValue={},b.eventTextProcess={},p=b,f.StiSimpleText=p}(Stimulsoft=Stimulsoft||{}),function(h){var t,i,e,u,r,n,m,o,a,l,s,c,p,d,g,f,S,y,A,b,C,v,w,B,I,T,E,R,D,P,x,F,N,k,M,O,_,j,G;function H(t,e){void 0===t&&(t=x.empty),void 0===e&&(e=!1);var r=G.call(this)||this;return r._horAlignment=g.Left,r._vertAlignment=f.Top,r._font=H.defaultFont,r._border=new S,r._brush=new A(b.transparent),r._textBrush=new A(b.black),r._textFormat=null,r._format="",r._textOptions=new C,e||r.construct(t),r}i=t=h.Report||(h.Report={}),u=e=i.Components||(i.Components={}),r=h.Base.IStiGetFonts,n=h.System.StiArray,m=h.System.StiString,o=h.Base.JsonReportObject.IStiJsonReportObject,a=h.Report.Events.StiGetExcelValueEventHandler,l=h.Report.Events.StiGetExcelValueEvent,s=h.Report.Components.IStiEditable,c=h.System.Enum,p=h.Base.StiJsonSaveMode,d=h.System.Drawing.Font,g=h.Base.Drawing.StiTextHorAlignment,f=h.Base.Drawing.StiVertAlignment,S=h.Base.Drawing.StiBorder,y=h.Base.Drawing.StiBrush,A=h.Base.Drawing.StiSolidBrush,b=h.System.Drawing.Color,C=h.Base.Drawing.StiTextOptions,v=h.Report.Components.TextFormats.StiFormatService,w=h.Report.Components.TextFormats.StiGeneralFormatService,B=h.Report.Components.TextFormats.StiPercentageFormatService,I=h.Report.Components.TextFormats.StiCurrencyFormatService,T=h.Report.Components.TextFormats.StiDateFormatService,E=h.Report.Components.TextFormats.StiNumberFormatService,R=h.Report.Components.TextFormats.StiTimeFormatService,D=h.Report.Components.TextFormats.StiCustomFormatService,P=h.Report.Events.StiGetExcelValueEventArgs,x=h.System.Drawing.Rectangle,F=h.System.Drawing.Size,N=h.Base.Drawing.StiAdvancedBorder,k=h.Base.StiJsonReportObjectHelper,M=h.System.Collections.Hashtable,O=h.Base.Drawing.StiTextRenderer,_=h.Base.Drawing.StiPenStyle,j=h.Report.Expressions.StiExpression,G=u.StiSimpleText,__extends(H,G),H.prototype.implements=function(){return H.ImplementsStiText||(H.ImplementsStiText=G.prototype.implements.call(this).concat([u.IStiTextOptions,u.IStiAutoWidth,u.IStiTextHorAlignment,u.IStiVertAlignment,u.IStiBorder,u.IStiFont,u.IStiBrush,u.IStiTextBrush,u.IStiTextFormat,u.IStiBreakable,i.IStiGlobalizationProvider,s,o,r])),H.ImplementsStiText},H.prototype.saveToJsonObject=function(t){var e=G.prototype.saveToJsonObject.call(this,t);return null!=this.indicator&&e.addPropertyJObject("Indicator",this.indicator.saveToJsonObject(t)),e.addPropertyBool("CanBreak",this.canBreak),e.addPropertyBool("AutoWidth",this.autoWidth),e.addPropertyStringNullOrEmpty("RenderTo",this.renderTo),e.addPropertyEnum("HorAlignment",g,this.horAlignment,g.Left),e.addPropertyEnum("VertAlignment",f,this.vertAlignment,f.Top),e.addPropertyStringNullOrEmpty("Font",k.Serialize.fontArial8(this.font)),e.addPropertyStringNullOrEmpty("Border",k.Serialize.jBorder(this.border)),e.addPropertyStringNullOrEmpty("Brush",k.Serialize.jBrush(this.brush)),e.addPropertyStringNullOrEmpty("TextBrush",k.Serialize.jBrush(this.textBrush)),e.addPropertyJObject("TextOptions",this.textOptions.saveToJsonObject()),e.addPropertyJObject("GetExcelValueEvent",this.getExcelValueEvent.saveToJsonObject(t)),e.addPropertyStringNullOrEmpty("NullValue",this.nullValue),e.addPropertyBool("ExportAsImage",this.exportAsImage),e.addPropertyEnum("TextQuality",u.StiTextQuality,this.textQuality,u.StiTextQuality.Standard),e.addPropertyBool("AllowHtmlTags",this.allowHtmlTags,!1),e.addPropertyJObject("Margins",this.margins.saveToJsonObject(t,0,0,0,0)),e.addPropertyBool("ShrinkFontToFit",this.shrinkFontToFit,!1),e.addPropertyNumber("ShrinkFontToFitMinimumSize",this.shrinkFontToFitMinimumSize,1),e.addPropertyNumber("LineSpacing",this.lineSpacing,1),t==p.Report?(this.textFormat.is(u.TextFormats.StiGeneralFormatService)||e.addPropertyJObject("TextFormat",this.textFormat.saveToJsonObject(t)),e.addPropertyEnum("Type",u.StiSystemTextType,this.type,u.StiSystemTextType.None),e.addPropertyJObject("ExcelValue",new j(this.excelValue).saveToJsonObject(t))):(e.addPropertyStringNullOrEmpty("Format",this.format),null!=this.excelDataValue&&e.addPropertyString("ExcelDataValue",this.excelDataValue)),e},H.prototype.loadFromJsonObject=function(t){var e,r;G.prototype.loadFromJsonObject.call(this,t);try{for(var n=__values(t.properties()),i=n.next();!i.done;i=n.next()){var o=i.value;switch(o.name){case"Indicator":this._indicator=u.StiIndicator.loadFromJsonObjectInternal(o.value);break;case"CanBreak":this.canBreak=o.value.stimulsoft.toBoolean();break;case"AutoWidth":this.autoWidth=o.value.stimulsoft.toBoolean();break;case"RenderTo":this.renderTo=o.value;break;case"HorAlignment":this._horAlignment=c.parse(g,o.value);break;case"VertAlignment":this._vertAlignment=c.parse(f,o.value);break;case"Font":this._font=k.Deserialize.font(o.value,this._font);break;case"Border":this._border=k.Deserialize.border(o.value);break;case"Brush":this._brush=k.Deserialize.brush(o.value);break;case"TextBrush":this._textBrush=k.Deserialize.brush(o.value);break;case"TextFormat":this.textFormat=v.loadFromJsonObjectInternal(o.value);break;case"Format":this._format=o.value;break;case"TextOptions":this._textOptions.loadFromJsonObject(o.value);break;case"ExcelValue":var a=new j;a.loadFromJsonObject(o.value),this.excelValue=a.value;break;case"ExcelDataValue":this.excelDataValue=o.value;break;case"GetExcelValueEvent":var s=new l;s.loadFromJsonObject(o.value),this.getExcelValueEvent=s;break;case"NullValue":this.nullValue=o.value;break;case"Type":this.type=c.parse(u.StiSystemTextType,o.value);break;case"ExportAsImage":this.exportAsImage=o.value.stimulsoft.toBoolean();break;case"TextQuality":this.textQuality=c.parse(u.StiTextQuality,o.value);break;case"LineSpacing":this.lineSpacing=o.value.stimulsoft.toNumber();break;case"AllowHtmlTags":this.allowHtmlTags=o.value.stimulsoft.toBoolean();break;case"Margins":var s=new u.StiMargins;s.loadFromJsonObject(o.value),this.margins=s;break;case"ShrinkFontToFit":this.shrinkFontToFit=o.value.stimulsoft.toBoolean();break;case"ShrinkFontToFitMinimumSize":this.shrinkFontToFitMinimumSize=o.value.stimulsoft.toNumber();break}}}catch(t){e={error:t}}finally{try{i&&!i.done&&(r=n.return)&&r.call(n)}finally{if(e)throw e.error}}},H.prototype.parseTextFromXml=function(t){null!=t.attributes.getNamedItem("name")&&(this.name=t.attributes.getNamedItem("name").value),null!=t.attributes.getNamedItem("text")&&(this.text=t.attributes.getNamedItem("text").value),null!=t.attributes.getNamedItem("ha")&&(this.horAlignment=c.parse(g,t.attributes.getNamedItem("ha").value)),null!=t.attributes.getNamedItem("va")&&(this.vertAlignment=c.parse(f,t.attributes.getNamedItem("va").value)),null!=t.attributes.getNamedItem("tq")&&(this.textQuality=c.parse(u.StiTextQuality,t.attributes.getNamedItem("tq").value)),null!=t.attributes.getNamedItem("ls")&&(this.lineSpacing=t.attributes.getNamedItem("ls").value.stimulsoft.toNumber()),null!=t.attributes.getNamedItem("ed")&&(this.editable="true"==t.attributes.getNamedItem("ed").value.toLowerCase()),null!=t.attributes.getNamedItem("html")&&(this.allowHtmlTags="true"==t.attributes.getNamedItem("html").value.toLowerCase()),null!=t.attributes.getNamedItem("enabled")&&(this.enabled="true"==t.attributes.getNamedItem("enabled").value.toLowerCase()),null!=t.attributes.getNamedItem("pr")&&(this.printable="true"==t.attributes.getNamedItem("pr").value.toLowerCase()),null!=t.attributes.getNamedItem("lou")&&(this.linesOfUnderlining="true"==t.attributes.getNamedItem("lou").value.toLowerCase()),null!=t.attributes.getNamedItem("lu")&&(this.linesOfUnderline=c.parse(_,t.attributes.getNamedItem("lu").value)),null!=t.attributes.getNamedItem("guid")&&(this.guid=t.attributes.getNamedItem("guid").value),null!=t.attributes.getNamedItem("tvh")&&(this.totalValueHelp=t.attributes.getNamedItem("tvh").value),null!=t.attributes.getNamedItem("bookmark")&&(this.bookmarkValue=t.attributes.getNamedItem("bookmark").value),null!=t.attributes.getNamedItem("hyperlink")&&(this.hyperlinkValue=t.attributes.getNamedItem("hyperlink").value),null!=t.attributes.getNamedItem("tag")&&(this.tagValue=t.attributes.getNamedItem("tag").value),null!=t.attributes.getNamedItem("toolTip")&&(this.toolTipValue=t.attributes.getNamedItem("toolTip").value),null!=t.attributes.getNamedItem("excelvalue")&&(this.excelDataValue=t.attributes.getNamedItem("excelvalue").value),null!=t.attributes.getNamedItem("format")&&(this.format=t.attributes.getNamedItem("format").value),null!=t.attributes.getNamedItem("pl")&&(this.componentPlacement=t.attributes.getNamedItem("pl").value),null!=t.attributes.getNamedItem("style")&&(this.componentStyle=t.attributes.getNamedItem("style").value),null!=t.attributes.getNamedItem("rc")&&(this.clientRectangle=this.loadRectangleDFromXml(t.attributes.getNamedItem("rc").value)),null!=t.attributes.getNamedItem("fn")&&(this.font=h.System.Convert.toFont(t.attributes.getNamedItem("fn").value)),null!=t.attributes.getNamedItem("tb")&&(this.textBrush=y.loadFromXml(t.attributes.getNamedItem("tb").value)),null!=t.attributes.getNamedItem("bh")&&(this.brush=y.loadFromXml(t.attributes.getNamedItem("bh").value)),null!=t.attributes.getNamedItem("to")&&(this.textOptions=C.loadFromXml(t.attributes.getNamedItem("to").value)),null!=t.attributes.getNamedItem("mr")&&(this.margins=u.StiMargins.loadFromText(t.attributes.getNamedItem("mr").value)),null!=t.attributes.getNamedItem("indicator")&&(this.indicator=u.StiIndicator.loadFromXml(t.attributes.getNamedItem("indicator").value))},H.prototype.loadFromXml=function(t,e){G.prototype.loadFromXml.call(this,t,e),this.parseTextFromXml(t);for(var r=0;r<t.childNodes.length;r++){var n=t.childNodes[r];switch(n.nodeName){case"CanBreak":this.canBreak=n.textContent.stimulsoft.toBoolean();break;case"AutoWidth":
this.autoWidth=n.textContent.stimulsoft.toBoolean();break;case"RenderTo":this.renderTo=n.textContent;break;case"HorAlignment":case"ha":this._horAlignment=c.parse(g,n.textContent);break;case"VertAlignment":case"va":this._vertAlignment=c.parse(f,n.textContent);break;case"Font":case"fn":this._font=h.System.Convert.toFont(n.textContent);break;case"Border":case"br":this._border=S.loadFromXml(n.textContent);break;case"Brush":case"bh":this._brush=y.loadFromXml(n.textContent);break;case"TextBrush":case"tb":this._textBrush=y.loadFromXml(n.textContent);break;case"TextFormat":this.textFormat=v.loadFormatFromXml(n,this.report);break;case"Format":this._format=n.textContent;break;case"TextOptions":this._textOptions.loadFromXml(n);break;case"ExcelValue":var i=new j;i.loadFromXml(n),this.excelValue=i.value;break;case"GetExcelValueEvent":break;case"NullValue":this.nullValue=n.textContent;break;case"Type":this.type=c.parse(u.StiSystemTextType,n.textContent);break;case"ExportAsImage":this.exportAsImage=n.textContent.stimulsoft.toBoolean();break;case"TextQuality":this.textQuality=c.parse(u.StiTextQuality,n.textContent);break;case"ls":case"LineSpacing":this.lineSpacing=n.textContent.stimulsoft.toNumber();break;case"AllowHtmlTags":this.allowHtmlTags=n.textContent.stimulsoft.toBoolean();break;case"Margins":this.margins=u.StiMargins.loadFromXml(n);break;case"ShrinkFontToFit":this.shrinkFontToFit=n.textContent.stimulsoft.toBoolean();break;case"ShrinkFontToFitMinimumSize":this.shrinkFontToFitMinimumSize=n.textContent.stimulsoft.toNumber();break}}},Object.defineProperty(H.prototype,"componentId",{get:function(){return i.StiComponentId.StiText},enumerable:!1,configurable:!0}),Object.defineProperty(H.prototype,"indicator",{get:function(){return this._indicator},set:function(t){this._indicator=t},enumerable:!1,configurable:!0}),H.prototype.getImage=function(t,e){return void 0===e&&(e=i.StiExportFormat.None),null},H.prototype.isExportAsImage=function(t){var e=G.prototype.isExportAsImage.call(this,t),r,r;if(e)return e;if(this.checkAllowHtmlTags()&&!(r=t==i.StiExportFormat.Html||t==i.StiExportFormat.HtmlDiv||t==i.StiExportFormat.HtmlSpan||t==i.StiExportFormat.HtmlTable||t==i.StiExportFormat.Rtf||t==i.StiExportFormat.RtfTabbedText||t==i.StiExportFormat.RtfFrame||t==i.StiExportFormat.RtfWinWord||t==i.StiExportFormat.RtfTable||t==i.StiExportFormat.Text||t==i.StiExportFormat.Pdf||t==i.StiExportFormat.ImageSvg||t==i.StiExportFormat.Word2007&&!StiOptions.Export.Word.renderHtmlTagsAsImage||t==i.StiExportFormat.Excel2007&&!StiOptions.Export.Excel.RenderHtmlTagsAsImage))return!0;if(this.linesOfUnderlining&&!(r=t==i.StiExportFormat.Dif||t==i.StiExportFormat.Pdf||t==i.StiExportFormat.Sylk||t==i.StiExportFormat.Text))return!0;return this.exportAsImage},H.prototype.setString=function(t,e){if("Text"==t)this.setTextInternal(e);else if("ToolTip"==t)this.toolTip=e;else if("Tag"==t)this.tag=e;else{if("Hyperlink"!=t)throw m.format("Property with name {0}",t);this.hyperlink=e}},H.prototype.getString=function(t){if("Text"==t)return this.getTextInternal();if("Tag"==t)return this.tag;if("ToolTip"==t)return this.toolTip;if("Hyperlink"==t)return this.hyperlink;throw m.format("Property with name {0}",t)},H.prototype.getAllStrings=function(){var t=[];return StiOptions.Engine.Globalization.allowUseText&&t.push("Text"),StiOptions.Engine.Globalization.allowUseTag&&t.push("Tag"),StiOptions.Engine.Globalization.allowUseToolTip&&t.push("ToolTip"),StiOptions.Engine.Globalization.allowUseHyperlink&&t.push("Hyperlink"),t},Object.defineProperty(H.prototype,"canBreak",{get:function(){return this.properties.getBool(H.propertyCanBreak,!1)},set:function(t){this.properties.setBool(H.propertyCanBreak,t,!1)},enumerable:!1,configurable:!0}),H.prototype.break=function(t,e,r){var n=0,i=!0,o,a,a,s,l,s,o;return null!=this.getTextInternal()&&0<this.getTextInternal().length&&(o=this.getTextInternal(),a=this.report.unit.convertRectangleToHInches(this.clientRectangle),a=this.convertTextMargins(a,!1),s="",0<=(a=this.convertTextBorders(a,!1)).height&&(l={ref:o},s=u.StiComponentDivider.breakText(null,a,l,this.font,this.textOptions,this.textQuality,this.checkAllowHtmlTags(),this),o=l.ref),this.setTextInternal(s),this.growToHeight||null!=this.getTextInternal()&&0!=this.getTextInternal().length||(i=!1),t.setTextInternal(o)),r.ref=n,i},Object.defineProperty(H.prototype,"autoWidth",{get:function(){return this.properties.getBool(H.propertyAutoWidth,!1)},set:function(t){this.properties.setBool(H.propertyAutoWidth,t,!1)},enumerable:!1,configurable:!0}),Object.defineProperty(H.prototype,"renderTo",{get:function(){return this.properties.get(H.propertyRenderTo,"")},set:function(t){this.properties.set(H.propertyRenderTo,t,"")},enumerable:!1,configurable:!0}),H.prototype.invokeRenderTo=function(t){if(!t.isPropertyPresent(H.propertyRenderTo))return;var e=t.renderTo,r,n,i,e,n,e;0<e.length&&0<(e=e.trim()).length&&(null!=(r=t.parent.components.getByName(e).as(u.StiSimpleText))&&(null==(n=t.getTextInternal())&&(n=""),i={ref:n},e=this.getVisibleTextForRenderTo(t.getPaintRectangle(!0,!1,!0),i,t),n=i.ref,m.isNullOrEmpty(e)&&(e=" "),t.textValue=e,t.setTextInternal(e),r.textValue=n,r.setTextInternal(n),this.invokeRenderTo(r)))},H.prototype.getVisibleTextForRenderTo=function(t,e,r){return t=this.convertTextMargins(t,!1),t=this.convertTextBorders(t,!1),u.StiComponentDivider.breakText(null,t,e,r.font,r.textOptions,r.textQuality,this.checkAllowHtmlTags(),this)},Object.defineProperty(H.prototype,"horAlignment",{get:function(){return this._horAlignment},set:function(t){this._horAlignment=t},enumerable:!1,configurable:!0}),Object.defineProperty(H.prototype,"vertAlignment",{get:function(){return this._vertAlignment},set:function(t){this._vertAlignment=t},enumerable:!1,configurable:!0}),Object.defineProperty(H.prototype,"font",{get:function(){return this._font},set:function(t){null==t&&this.isDesigning||(this._font=t)},enumerable:!1,configurable:!0}),Object.defineProperty(H.prototype,"border",{get:function(){return this._border},set:function(t){this._border=t},enumerable:!1,configurable:!0}),Object.defineProperty(H.prototype,"brush",{get:function(){return this._brush},set:function(t){this._brush=t},enumerable:!1,configurable:!0}),Object.defineProperty(H.prototype,"textBrush",{get:function(){return this._textBrush},set:function(t){this._textBrush=t},enumerable:!1,configurable:!0}),Object.defineProperty(H.prototype,"textFormat",{get:function(){if(null==this._textFormat)return w.default;return this._textFormat},set:function(t){var e,r,n,r,i,o;t&&t.is(w)&&(t=null),this._textFormat!=t&&(null==(this._textFormat=t)?this._format="G":t.is(B)?(e=t).useLocalSetting&&e.state==u.StiTextFormatState.None?this._format="P":(this._format="P"+e.decimalDigits.toString(),e.useGroupSeparator&&(this._format+="G"),!e.useLocalSetting&&0<e.decimalDigits&&("."==e.decimalSeparator[0]||","==e.decimalSeparator[0])&&(this._format+=e.decimalSeparator[0])):t.is(I)?(r=t).useLocalSetting&&r.state==u.StiTextFormatState.None?this._format="C":(this._format="C"+r.decimalDigits.toString(),r.useGroupSeparator&&(this._format+="G"),0!=r.negativePattern&&4!=r.negativePattern&&14!=r.negativePattern&&15!=r.negativePattern||(this._format+="("),!r.useLocalSetting&&0<r.decimalDigits&&("."==r.decimalSeparator[0]||","==r.decimalSeparator[0])&&(this._format+=r.decimalSeparator[0]),0==r.positivePattern||2==r.positivePattern?this._format+="+":this._format+="-",this._format+=r.symbol,(!r.useLocalSetting||0<(r.state&u.StiTextFormatState.PositivePattern)||0<(r.state&u.StiTextFormatState.NegativePattern))&&(this._format+="|"+String.fromCharCode(65+r.positivePattern)+String.fromCharCode(65+r.negativePattern))):t.is(T)?this._format="D"+t.stringFormat:t.is(E)?(r=t).useLocalSetting&&r.state==u.StiTextFormatState.None?this._format="N":(this._format="N"+r.decimalDigits.toString(),r.useGroupSeparator&&(this._format+="G"),0==r.negativePattern&&(this._format+="("),!r.useLocalSetting&&0<r.decimalDigits&&("."==r.decimalSeparator[0]||","==r.decimalSeparator[0])&&(this._format+=r.decimalSeparator[0])):t.is2(R)?this._format="T"+t.stringFormat:t.is2(D)?(o=t,this._format="U"):this._format="")},enumerable:!1,configurable:!0}),Object.defineProperty(H.prototype,"format",{get:function(){return this._format},set:function(t){this._format!=t&&(this._format=t)},enumerable:!1,configurable:!0}),Object.defineProperty(H.prototype,"textOptions",{get:function(){return this._textOptions},set:function(t){this._textOptions=t},enumerable:!1,configurable:!0}),H.prototype.clone=function(t,e,r){void 0===t&&(t=!0),void 0===e&&(e=!0),void 0===r&&(r=!0);var r=G.prototype.clone.call(this,t,e,r);return null!=this._border?r._border=this._border.clone():r._border=null,null!=this._brush?r._brush=this._brush.clone():r._brush=null,null!=this._textFormat?r._textFormat=this._textFormat.clone(!1,!1):r._textFormat=null,null!=this._textBrush?r._textBrush=this._textBrush.clone():r._textBrush=null,null!=this._textOptions?r._textOptions=this._textOptions.clone():r._textOptions=null,r._horAlignment=this._horAlignment,r._vertAlignment=this._vertAlignment,r},H.prototype.memberwiseClone=function(t){void 0===t&&(t=!0);var t=G.prototype.memberwiseClone.call(this,t);return t._indicator=this._indicator,t._horAlignment=this._horAlignment,t._vertAlignment=this._vertAlignment,t._font=this._font,t._border=this._border,t._brush=this._brush,t._textBrush=this._textBrush,t._textFormat=this._textFormat,t._format=this._format,t._textOptions=this._textOptions,t._excelDataValue=this._excelDataValue,t},H.prototype.getFonts=function(){var t=G.prototype.getFonts.call(this);return t.push(this.font),n.distinct(t)},H.prototype.convertTextMargins=function(t,e){var r=this.margins;if(r.isEmpty)return t;var n=this.page.zoom,i=r.left,o=r.right,a=r.top,r=r.bottom;return e||(n=1),0!=i&&(t.x+=i*n,t.width-=i*n),0!=a&&(t.y+=a*n,t.height-=a*n),0!=o&&(t.width-=o*n),0!=r&&(t.height-=r*n),t},H.prototype.convertTextBorders=function(t,e){var r=this.border.getSizeOffset(),n=r,i=r,o=r,a=r,r=this.border.stimulsoft.as(N),e;return null!=r&&(n=r.leftSide.getSizeOffset(),i=r.rightSide.getSizeOffset(),o=r.topSide.getSizeOffset(),a=r.bottomSide.getSizeOffset()),e&&(n*=e=this.page.zoom,i*=e,o*=e,a*=e),t.x+=n,t.y+=o,t.width-=n+i,t.height-=o+a,t},H.prototype.getTextForPaint=function(){return this.getTextInternal()},H.prototype.getActualSize=function(){var t=this.autoWidth,e=this.angle;if((this.canGrow||this.canShrink||t)&&null!=this.page){var r=null;if(StiOptions.Engine.allowCacheForGetActualSize){var n=this.report;if(null!=n&&null!=n.engine){null==n.engine.hashCheckSize&&(n.engine.hashCheckSize=new M);var i=n.engine.hashCheckSize.get(this);if(null!=i)return i;r=n.engine.hashCheckSize}}var o=this.page.unit,a=o.convertRectangleToHInches(this.clientRectangle),s=new F(a.width,a.height),a=this.convertTextMargins(a,!1),l=(a=this.convertTextBorders(a,!1)).width,i=F.empty,u=this.textQuality,n=this.text;m.isNullOrEmpty(n)||(n=this.allowHtmlTags?(n=n.split("\r").join("").split("\n").join(""),h.Report.Export.StiHtmlExportService.convertTextWithHtmlTagsToHtmlText(this,n,1)):n.split("<").join("<").split(">").join(">")),(i=this.is(h.Report.CrossTab.StiCrossField)?O.measureString(1e4,this.font,n):90==e||270==e?O.measureString(this.textOptions.wordWrap?a.height:null,this.font,n,0,this.allowHtmlTags):O.measureString(this.textOptions.wordWrap?a.width:null,this.font,n,0,this.allowHtmlTags)).height=i.height*this.lineSpacing;var n=this.margins;i.width+=n.left+n.right,i.height+=n.top+n.bottom;var n=this.border.size/2,c,p,c,p;i.width+=n+n,i.height+=n+n,t&&(90==e||270==e?s.height=i.height:s.width=i.width),this.canGrow&&(90==e||270==e?i.width>s.width&&(s.width=i.width,0<this.maxNumberOfLines&&(c=this.font.getHeight(),(p=Math.trunc(s.width/c))>this.maxNumberOfLines&&(s.width=c*this.maxNumberOfLines))):i.height>s.height&&(s.height=i.height,0<this.maxNumberOfLines&&(c=this.font.getHeight(),(p=Math.trunc(s.height/c))>this.maxNumberOfLines&&(s.height=c*this.maxNumberOfLines)))),this.canShrink&&(90==e||270==e?null==this.getTextInternal()||0==this.getTextInternal().trim().length?s.width=0:s.width=Math.min(i.width,s.width):null==this.getTextInternal()||0==this.getTextInternal().trim().length?s.height=0:s.height=Math.min(i.height,s.height));var s=o.convertSizeFromHInches(s);return null!=r&&r.set(this,s),s}return new F(this.width,this.height)},H.prototype.prepare=function(){var e,t;if(G.prototype.prepare.call(this),null!=this.conditions)try{for(var r=__values(this.conditions.list),n=r.next();!n.done;n=r.next()){var i,o=n.value.stimulsoft.as(u.IStiIndicatorCondition);null!=o&&o.reset()}}catch(t){e={error:t}}finally{try{n&&!n.done&&(t=r.return)&&t.call(r)}finally{if(e)throw e.error}}},Object.defineProperty(H.prototype,"excelDataValue",{get:function(){return this._excelDataValue},set:function(t){this._excelDataValue=t},enumerable:!1,configurable:!0}),Object.defineProperty(H.prototype,"excelValue",{get:function(){return this.properties.get("excelValue","")},set:function(t){this.properties.set("excelValue",t,"")},enumerable:!1,configurable:!0}),H.prototype.invokeEvents=function(){G.prototype.invokeEvents.call(this);try{var t,e,t,e,t,e;this.report.calculationMode==i.StiCalculationMode.Compilation?null!=this.events.get(H.eventGetExcelValue)&&((t=new P).value=this.excelDataValue,this.invokeGetExcelValue(this,t),null!=t.value?this.excelDataValue=t.value.toString():this.excelDataValue=null,this.hideZeros&&!m.isNullOrEmpty(this.excelDataValue)&&0==(e=this.excelDataValue.stimulsoft.toNumber())&&(this.excelDataValue=null)):(null!=this.events.get(H.eventGetExcelValue)&&((t=new P).value=this.excelDataValue,this.invokeGetExcelValue(this,t),this.excelDataValue=t.value,this.hideZeros&&!m.isNullOrEmpty(this.excelDataValue)&&0==(e=this.excelDataValue.stimulsoft.toNumber())&&(this.excelDataValue=null)),0<this.excelValue.length&&(t=h.Report.Engine.StiParser.StiParser.parseTextValue(this.excelValue,this),this.excelDataValue=null!=t?t.toString():null,this.hideZeros&&!m.isNullOrEmpty(this.excelDataValue)&&0==(e=this.excelDataValue.stimulsoft.toNumber())&&(this.excelDataValue=null)))}catch(t){var r=m.format("Expression in ExcelValue property of '{0}' can't be evaluated! {1}",this.name,t.message);h.System.StiError.showError(r,!1),i.StiLogService.write(this.stimulsoft.getType(),"DoEvents...ERROR"),i.StiLogService.write(this.stimulsoft.getType(),t),this.report.writeToReportRenderingMessages(r)}},H.prototype.onGetExcelValue=function(t){},H.prototype.invokeGetExcelValue=function(t,e){try{this.onGetExcelValue(e);var r=this.events.get(H.eventGetExcelValue);null!=r&&r(t)}catch(e){h.System.StiError.showError(e,!1);var n=m.format("Expression in ExcelValue property of '{0}' can't be evaluated!",this.name);i.StiLogService.write(this.stimulsoft.getType(),n),i.StiLogService.write(this.stimulsoft.getType(),e)}},Object.defineProperty(H.prototype,"getExcelValueEvent",{get:function(){return new l(this)},set:function(t){null!=t&&t.set(this,t.script),this.events.set(H.eventGetExcelValue,a.create(t.script,this.report))},enumerable:!1,configurable:!0}),Object.defineProperty(H.prototype,"nullValue",{get:function(){return this.properties.get(H.propertyNullValue,"")},set:function(t){this.properties.set(H.propertyNullValue,t,"")},enumerable:!1,configurable:!0}),Object.defineProperty(H.prototype,"type",{get:function(){return this.properties.get(H.propertyType,u.StiSystemTextType.None)},set:function(t){this.properties.set(H.propertyType,t,u.StiSystemTextType.None)},enumerable:!1,configurable:!0}),Object.defineProperty(H.prototype,"wordWrap",{get:function(){return this.textOptions.wordWrap},set:function(t){this.textOptions.wordWrap=t},enumerable:!1,configurable:!0}),Object.defineProperty(H.prototype,"rightToLeft",{get:function(){return this.textOptions.rightToLeft},set:function(t){this.textOptions.rightToLeft=t},enumerable:!1,configurable:!0}),Object.defineProperty(H.prototype,"trimming",{get:function(){return this.textOptions.trimming},set:function(t){this.textOptions.trimming=t},enumerable:!1,configurable:!0}),Object.defineProperty(H.prototype,"angle",{get:function(){return this.textOptions.angle},set:function(t){this.textOptions.angle=t},enumerable:!1,configurable:!0}),Object.defineProperty(H.prototype,"lineSpacing",{get:function(){return this.properties.getNumber(H.propertyLineSpacing,1)},set:function(t){0<t&&this.properties.setNumber(H.propertyLineSpacing,t,1)},enumerable:!1,configurable:!0}),Object.defineProperty(H.prototype,"exportAsImage",{get:function(){return this.properties.getBool(H.propertyExportAsImage,!1)},set:function(t){this.properties.setBool(H.propertyExportAsImage,t,!1)},enumerable:!1,configurable:!0}),Object.defineProperty(H.prototype,"textQuality",{get:function(){if(!StiOptions.Engine.fullTrust)return u.StiTextQuality.Typographic;return this.properties.get(H.propertyTextQuality,u.StiTextQuality.Standard)},set:function(t){this.properties.set(H.propertyTextQuality,t,u.StiTextQuality.Standard)},enumerable:!1,configurable:!0}),Object.defineProperty(H.prototype,"allowHtmlTags",{get:function(){return this.properties.getBool(H.propertyAllowHtmlTags,!1)},set:function(t){this.properties.setBool(H.propertyAllowHtmlTags,t,!1),t&&(this.textQuality=u.StiTextQuality.Wysiwyg)},enumerable:!1,configurable:!0}),Object.defineProperty(H.prototype,"margins",{get:function(){return this.properties.get(H.propertyMargins,u.StiMargins.empty)},set:function(t){this.properties.set(H.propertyMargins,t,u.StiMargins.empty)},enumerable:!1,configurable:!0}),Object.defineProperty(H.prototype,"shrinkFontToFit",{get:function(){return this.properties.getBool(H.propertyShrinkFontToFit,!1)},set:function(t){this.properties.setBool(H.propertyShrinkFontToFit,t,!1)},enumerable:!1,configurable:!0}),Object.defineProperty(H.prototype,"shrinkFontToFitMinimumSize",{get:function(){return this.properties.getNumber(H.propertyShrinkFontToFitMinimumSize,1)},set:function(t){1<=t&&this.properties.setNumber(H.propertyShrinkFontToFitMinimumSize,t,1)},enumerable:!1,configurable:!0}),H.prototype.createNew=function(){return new H},H.prototype.checkAllowHtmlTags=function(){if(!StiOptions.Engine.fullTrust&&null!=this.report&&!this.report.isSerializing)return!1;return this.allowHtmlTags},H.prototype.getActualFont=function(t,e){void 0===e&&(e=1);var r=this.page.unit.convertRectangleToHInches(this.clientRectangle),r=this.convertTextMargins(r,!1);(r=this.convertTextBorders(r,!1)).width-=this.border.size;var n=this.page.unit.convertToHInches(this.width)-this.margins.left-this.margins.right,i=this.page.unit.convertToHInches(this.height)-this.margins.top-this.margins.bottom,o=this.font,a=this.font;while(1){var s=F.empty,s;if(!((s=u.StiStandardTextRenderer.measureString(r.width,a,this)).width>n||s.height>i))break;var s=a.size;if(s<=e)break;a=h.Base.Drawing.StiFontUtils.changeFontSize(this.font,s-.5),this.font=a}return this.font=o,a},H.prototype.construct=function(t){void 0===t&&(t=x.empty),G.prototype.construct.call(this,t),this.textQuality=StiOptions.Engine.defaultTextQualityMode},H.propertyCanBreak=Math.random().toString().substr(2),H.propertyAutoWidth=Math.random().toString().substr(2),H.propertyRenderTo=Math.random().toString().substr(2),H.defaultFont=new d("Arial",8),H.eventGetExcelValue={},H.propertyNullValue=Math.random().toString().substr(2),H.propertyType=Math.random().toString().substr(2),H.propertyLineSpacing=Math.random().toString().substr(2),H.propertyExportAsImage=Math.random().toString().substr(2),H.propertyTextQuality=Math.random().toString().substr(2),H.propertyAllowHtmlTags=Math.random().toString().substr(2),H.propertyMargins=Math.random().toString().substr(2),H.propertyShrinkFontToFit=Math.random().toString().substr(2),H.propertyShrinkFontToFitMinimumSize=Math.random().toString().substr(2),__decorate([h.System.enumType(g)],H.prototype,"horAlignment",null),__decorate([h.System.enumType(f)],H.prototype,"vertAlignment",null),d=H,u.StiText=d}(Stimulsoft=Stimulsoft||{}),function(t){var e,r,n,i,o,a,s,l,u;function c(t,e){void 0===t&&(t=null),void 0===e&&(e="");var t=u.call(this,t)||this;return t._contourColor=o.black,t._size=1,t.textBrush=new a(o.white),t}r=e=t.Report||(t.Report={}),i=n=r.Components||(r.Components={}),o=t.System.Drawing.Color,a=t.Base.Drawing.StiSolidBrush,s=t.Base.StiJsonReportObjectHelper,l=t.System.Text.StiReportObjectStringConverter,u=i.StiText,__extends(c,u),c.prototype.saveToJsonObject=function(t){var t=u.prototype.saveToJsonObject.call(this,t);return t.removeProperty("LinesOfUnderline"),t.addPropertyStringNullOrEmpty("ContourColor",s.Serialize.jColor(this.contourColor,o.black)),t.addPropertyNumber("Size",this.size,1),t},c.prototype.loadFromJsonObject=function(t){var e,r;u.prototype.loadFromJsonObject.call(this,t);try{for(var n=__values(t.properties()),i=n.next();!i.done;i=n.next()){var o=i.value;switch(o.name){case"ContourColor":this._contourColor=s.Deserialize.color(o.value);break;case"Size":this._size=o.value.stimulsoft.toNumber();break}}}catch(t){e={error:t}}finally{try{i&&!i.done&&(r=n.return)&&r.call(n)}finally{if(e)throw e.error}}},c.prototype.loadFromXml=function(t,e){u.prototype.loadFromXml.call(this,t,e);for(var r=0;r<t.childNodes.length;r++){var n=t.childNodes[r];switch(n.nodeName){case"ContourColor":this._contourColor=l.convertStringToColor(n.textContent);break;case"Size":this._size=n.textContent.stimulsoft.toNumber();break}}},Object.defineProperty(c.prototype,"contourColor",{get:function(){return this._contourColor},set:function(t){this._contourColor=t},enumerable:!1,configurable:!0}),Object.defineProperty(c.prototype,"size",{get:function(){return this._size},set:function(t){this._size=t},enumerable:!1,configurable:!0}),r=c,i.StiContourText=r}(Stimulsoft=Stimulsoft||{}),function(t){var e,r,n,i,o,a,s;function l(t,e){void 0===e&&(e=!1);var r=s.call(this)||this;return e||r.construct(t),r}r=e=t.Report||(t.Report={}),i=n=r.Components||(r.Components={}),o=t.Base.Localization.StiLocalization,a=t.System.Drawing.Rectangle,s=i.StiComponent,__extends(l,s),l.prototype.saveToJsonObject=function(t){var t=s.prototype.saveToJsonObject.call(this,t);return t.removeProperty("CanShrink"),t.removeProperty("CanGrow"),t.removeProperty("Shift"),t.removeProperty("UseParentStyles"),t.removeProperty("DockStyle"),t.removeProperty("GrowToHeight"),t},Object.defineProperty(l.prototype,"canShrink",{get:function(){return s.prototype.getCanShrink.call(this)},set:function(t){},enumerable:!1,configurable:!0}),Object.defineProperty(l.prototype,"canGrow",{get:function(){return s.prototype.getCanGrow.call(this)},set:function(t){},enumerable:!1,configurable:!0}),Object.defineProperty(l.prototype,"shift",{get:function(){return s.prototype.getShift.call(this)},set:function(t){},enumerable:!1,configurable:!0}),Object.defineProperty(l.prototype,"useParentStyles",{get:function(){return s.prototype.getUseParentStyles.call(this)},set:function(t){s.prototype.setUseParentStyles.call(this,t)},enumerable:!1,configurable:!0}),Object.defineProperty(l.prototype,"dockStyle",{get:function(){return s.prototype.getDockStyle.call(this)},set:function(t){},enumerable:!1,configurable:!0}),Object.defineProperty(l.prototype,"growToHeight",{get:function(){return s.prototype.getGrowToHeight.call(this)},set:function(t){},enumerable:!1,configurable:!0}),Object.defineProperty(l.prototype,"localizedCategory",{get:function(){return o.get("Report","Shapes")},enumerable:!1,configurable:!0}),Object.defineProperty(l.prototype,"componentType",{get:function(){return i.StiComponentType.Simple},enumerable:!1,configurable:!0}),Object.defineProperty(l.prototype,"priority",{get:function(){return i.StiComponentPriority.Primitive},enumerable:!1,configurable:!0}),Object.defineProperty(l.prototype,"clientRectangle",{get:function(){return new a(this.left,this.top,this.width,this.height)},set:function(t){this.left=Math.round2(t.left,2),this.top=Math.round2(t.top,2),this.width=Math.round2(t.width,2),this.height=Math.round2(t.height,2)},enumerable:!1,configurable:!0}),l.prototype.getDisplayRectangle=function(){return new a(this.left,this.top,this.width,this.height)},l.prototype.setDisplayRectangle=function(t){this.left=Math.round2(t.left,2),this.top=Math.round2(t.top,2),this.width=Math.round2(t.width,2),this.height=Math.round2(t.height,2)},l.prototype.setDirectDisplayRectangle=function(t){this.displayRectangle=t},l.prototype.construct=function(t){null==t&&(t=a.empty),s.prototype.construct.call(this,t)},r=l,i.StiPrimitive=r}(Stimulsoft=Stimulsoft||{}),function(t){var e,r,n,i,a,o,s,l,u,c,p;function h(t){void 0===t&&(t=l.empty);var t=p.call(this,t)||this;return t.defaultClientRectangle=new l(0,0,60,60),t._style=a.Solid,t._color=o.black,t._size=1,t}r=e=t.Report||(t.Report={}),i=n=r.Components||(r.Components={}),a=t.Base.Drawing.StiPenStyle,o=t.System.Drawing.Color,s=t.Base.StiJsonReportObjectHelper,l=t.System.Drawing.Rectangle,u=t.System.Enum,c=t.System.Text.StiReportObjectStringConverter,p=i.StiPrimitive,__extends(h,p),h.prototype.saveToJsonObject=function(t){var t=p.prototype.saveToJsonObject.call(this,t);return t.addPropertyEnum("Style",a,this.style,a.Solid),t.addPropertyStringNullOrEmpty("Color",s.Serialize.jColor(this.color,o.black)),t.addPropertyNumber("Size",this.size,1),t},h.prototype.loadFromJsonObject=function(t){var e,r;p.prototype.loadFromJsonObject.call(this,t);try{for(var n=__values(t.properties()),i=n.next();!i.done;i=n.next()){var o=i.value;switch(o.name){case"Style":this._style=u.parse(a,o.value);break;case"Color":this._color=s.Deserialize.color(o.value);break;case"Size":this._size=o.value.stimulsoft.toNumber();break}}}catch(t){e={error:t}}finally{try{i&&!i.done&&(r=n.return)&&r.call(n)}finally{if(e)throw e.error}}},h.prototype.loadFromXml=function(t,e){p.prototype.loadFromXml.call(this,t,e);for(var r=0;r<t.childNodes.length;r++){var n=t.childNodes[r];switch(n.nodeName){case"Style":this._style=u.parse(a,n.textContent);break;case"Color":this._color=c.convertStringToColor(n.textContent);break;case"Size":this._size=n.textContent.stimulsoft.toNumber();break}}},Object.defineProperty(h.prototype,"invalidateOnMouseOver",{get:function(){return!0},enumerable:!1,configurable:!0}),Object.defineProperty(h.prototype,"style",{get:function(){return this._style},set:function(t){this._style=t},enumerable:!1,configurable:!0}),Object.defineProperty(h.prototype,"color",{get:function(){return this._color},set:function(t){this._color=t},enumerable:!1,configurable:!0}),Object.defineProperty(h.prototype,"size",{get:function(){return this._size},set:function(t){this._size=t},enumerable:!1,configurable:!0}),r=h,i.StiLinePrimitive=r}(Stimulsoft=Stimulsoft||{}),function(t){var e,r,n,s,i,o,a;function l(t){void 0===t&&(t=i.empty);var t=a.call(this,t)||this;return t.storedStartPoint=null,t.storedEndPoint=null,t.newGuid(),t}r=e=t.Report||(t.Report={}),s=n=r.Components||(r.Components={}),i=t.System.Drawing.Rectangle,o=t.System.Drawing.Point,a=s.StiLinePrimitive,__extends(l,a),l.prototype.onRemoveComponent=function(){var t=this.getStartPoint();null!=t&&null!=t.parent&&t.parent.components.contains(t)&&(t.referenceToGuid=null,t.parent.components.remove(t));var t=this.getEndPoint();null!=t&&null!=t.parent&&t.parent.components.contains(t)&&(t.referenceToGuid=null,t.parent.components.remove(t))},l.prototype.canContainIn=function(t){return t.is(s.StiPage)},Object.defineProperty(l.prototype,"linked",{get:function(){return a.prototype.getLinked.call(this)},set:function(t){a.prototype.setLinked.call(this,t);var e=this.getStartPoint();null!=e&&(e.linked=t);var e=this.getEndPoint();null!=e&&(e.linked=t)},enumerable:!1,configurable:!0}),Object.defineProperty(l.prototype,"left",{get:function(){var t=this.getStartPoint();if(null==t)return a.prototype.getLeft.call(this);var e=new o(t.left,t.top);return Math.round2(t.componentToPage(e).x,2)},set:function(t){var e=this.getStartPoint(),t,t;null==e?a.prototype.setLeft.call(this,t):this.isParentContainerSelected(e)||(t=new o(t,0),t=e.pageToComponent(t),e.left=t.x)},enumerable:!1,configurable:!0}),Object.defineProperty(l.prototype,"top",{get:function(){var t=this.getStartPoint();if(null==t)return a.prototype.getTop.call(this);var e=new o(t.left,t.top);return Math.round2(t.componentToPage(e).y,2)},set:function(t){var e=this.getStartPoint(),t,t;null==e?a.prototype.setTop.call(this,t):this.isParentContainerSelected(e)||(t=new o(0,t),t=e.pageToComponent(t),e.top=t.y)},enumerable:!1,configurable:!0}),Object.defineProperty(l.prototype,"height",{get:function(){var t=this.getStartPoint(),e=this.getEndPoint();if(null==t||null==e)return a.prototype.getHeight.call(this);var r=new o(t.left,t.top),n=new o(e.left,e.top),r=t.componentToPage(r),n=e.componentToPage(n);return Math.round2(n.y-r.y,2)},set:function(t){a.prototype.setHeight.call(this,t);var e=this.getStartPoint(),r=this.getEndPoint(),n,n,t,t;null!=e&&null!=r&&(n=new o(e.left,e.top),n=e.componentToPage(n),t=new o(n.x,n.y+t),t=r.pageToComponent(t),r.top=t.y)},enumerable:!1,configurable:!0}),l.prototype.getStartPoint=function(t){var e,r;if(void 0===t&&(t=null),null!=t){try{for(var n=__values(t.components.list),i=n.next();!i.done;i=n.next()){var o=i.value,a=o.as(s.StiStartPointPrimitive);if(null!=a&&a.referenceToGuid==this.guid)return a;var o=o.as(s.StiContainer);if(null!=o){var o=this.getStartPoint(o);if(null!=o)return o}}}catch(t){e={error:t}}finally{try{i&&!i.done&&(r=n.return)&&r.call(n)}finally{if(e)throw e.error}}return null}if(null!=this.report&&!this.report.isRendering&&!this.isDesigning)return null;if(this.guid==l.nullGuid)return null;if(this.isDesigning&&null!=this.storedStartPoint)return this.storedStartPoint;if(null==this.page)return null;return this.storedStartPoint=this.getStartPoint(this.page),this.storedStartPoint},l.prototype.getEndPoint=function(t){var e,r;if(void 0===t&&(t=null),null!=t){try{for(var n=__values(t.components.list),i=n.next();!i.done;i=n.next()){var o=i.value,a=o.as(s.StiEndPointPrimitive);if(null!=a&&a.referenceToGuid==this.guid)return a;var o=o.as(s.StiContainer);if(null!=o){var o=this.getEndPoint(o);if(null!=o)return o}}}catch(t){e={error:t}}finally{try{i&&!i.done&&(r=n.return)&&r.call(n)}finally{if(e)throw e.error}}return null}if(null!=this.report&&!this.report.isRendering&&!this.getStartPoint)return null;if(this.getStartPoint&&null!=this.storedEndPoint)return this.storedEndPoint;if(null==this.page)return null;return this.storedEndPoint=this.getEndPoint(this.page),this.storedEndPoint},l.prototype.isParentContainerSelected=function(t){var e=t.parent;while(1){if(null==e)return!1;e=e.parent}},l.nullGuid="nullGuid",r=l,s.StiCrossLinePrimitive=r}(Stimulsoft=Stimulsoft||{}),function(t){var e,r,n,i,o,a;function s(t){void 0===t&&(t=o.empty);var t=a.call(this,t)||this;return t._referenceToGuid=null,t.storedColumn=0,t}r=e=t.Report||(t.Report={}),i=n=r.Components||(r.Components={}),o=t.System.Drawing.Rectangle,a=i.StiPrimitive,__extends(s,a),s.prototype.saveToJsonObject=function(t){var t=a.prototype.saveToJsonObject.call(this,t);return t.removeProperty("IsSelected"),t.addPropertyString("ReferenceToGuid",this.referenceToGuid),t},s.prototype.loadFromJsonObject=function(t){var e,r;a.prototype.loadFromJsonObject.call(this,t);try{for(var n=__values(t.properties()),i=n.next();!i.done;i=n.next()){var o=i.value;switch(o.name){case"ReferenceToGuid":this._referenceToGuid=o.value;break}}}catch(t){e={error:t}}finally{try{i&&!i.done&&(r=n.return)&&r.call(n)}finally{if(e)throw e.error}}},s.prototype.loadFromXml=function(t,e){a.prototype.loadFromXml.call(this,t,e);for(var r=0;r<t.childNodes.length;r++){var n=t.childNodes[r];switch(n.nodeName){case"ReferenceToGuid":this._referenceToGuid=n.textContent;break}}},Object.defineProperty(s.prototype,"isSelected",{get:function(){return!1},set:function(t){},enumerable:!1,configurable:!0}),Object.defineProperty(s.prototype,"referenceToGuid",{get:function(){return this._referenceToGuid},set:function(t){this._referenceToGuid=t},enumerable:!1,configurable:!0}),Object.defineProperty(s.prototype,"width",{get:function(){return 0},set:function(t){},enumerable:!1,configurable:!0}),Object.defineProperty(s.prototype,"height",{get:function(){return 0},set:function(t){},enumerable:!1,configurable:!0}),r=s,i.StiPointPrimitive=r}(Stimulsoft=Stimulsoft||{}),function(t){var e,r,n,i,o,a;function s(t){return void 0===t&&(t=o.empty),a.call(this,t)||this}r=e=t.Report||(t.Report={}),i=n=r.Components||(r.Components={}),o=t.System.Drawing.Rectangle,a=i.StiPointPrimitive,__extends(s,a),r=s,i.StiEndPointPrimitive=r}(Stimulsoft=Stimulsoft||{}),function(t){var e,r,n,i,o,a,s,l,u,c,p;function h(t){void 0===t&&(t=c.empty);var t=p.call(this,t)||this;return t._border=null,t._startCap=new u,t._endCap=new u,t}r=e=t.Report||(t.Report={}),i=n=r.Components||(r.Components={}),o=t.Base.JsonReportObject.IStiJsonReportObject,a=t.Base.StiJsonReportObjectHelper,s=t.Base.Drawing.StiBorder,l=t.Base.Drawing.StiBorderSides,u=t.Base.Drawing.StiCap,c=t.System.Drawing.Rectangle,p=i.StiLinePrimitive,__extends(h,p),h.prototype.implements=function(){return p.prototype.implements.call(this).concat([i.IStiBorder,o])},h.prototype.saveToJsonObject=function(t){var t=p.prototype.saveToJsonObject.call(this,t);return t.addPropertyStringNullOrEmpty("StartCap",a.Serialize.jCap(this.startCap)),t.addPropertyStringNullOrEmpty("EndCap",a.Serialize.jCap(this.endCap)),t},h.prototype.loadFromJsonObject=function(t){var e,r;p.prototype.loadFromJsonObject.call(this,t);try{for(var n=__values(t.properties()),i=n.next();!i.done;i=n.next()){var o=i.value;switch(o.name){case"StartCap":this._startCap=a.Deserialize.jCap(o.value);break;case"EndCap":this._endCap=a.Deserialize.jCap(o.value);break}}}catch(t){e={error:t}}finally{try{i&&!i.done&&(r=n.return)&&r.call(n)}finally{if(e)throw e.error}}},h.prototype.loadFromXml=function(t,e){p.prototype.loadFromXml.call(this,t,e);for(var r=0;r<t.childNodes.length;r++){var n=t.childNodes[r];switch(n.nodeName){case"StartCap":this._startCap.loadFromXml(n);break;case"EndCap":this._endCap.loadFromXml(n);break}}},h.prototype.clone=function(t){void 0===t&&(t=!0);var t=p.prototype.clone.call(this,t);return null!=this._startCap?t._startCap=this._startCap.clone():t._startCap=null,null!=this._endCap?t._endCap=this._endCap.clone():t._endCap=null,t},Object.defineProperty(h.prototype,"border",{get:function(){return null==this._border&&(this._border=new s(l.Top,this.color,this.size,this.style,!1,0,null)),this._border},set:function(t){},enumerable:!1,configurable:!0}),Object.defineProperty(h.prototype,"startCap",{get:function(){return this._startCap},set:function(t){this._startCap=t},enumerable:!1,configurable:!0}),Object.defineProperty(h.prototype,"endCap",{get:function(){return this._endCap},set:function(t){this._endCap=t},enumerable:!1,configurable:!0}),Object.defineProperty(h.prototype,"height",{get:function(){if(null!=this.page&&null!=this.page.unit)return this.page.unit.convertFromHInches(1);return 1},set:function(t){},enumerable:!1,configurable:!0}),h.prototype.createNew=function(){return new h},r=h,i.StiHorizontalLinePrimitive=r}(Stimulsoft=Stimulsoft||{}),function(o){var t,e,r;e=t=o.Report||(o.Report={}),function(t){var e=o.System.EventHandler,r=o.System.EventArgs;t.StiGetImageDataEventHandler=new e("sender: any, e: StiGetImageDataEventArgs");var r=(__extends(i,n=r),i),n;function i(t){void 0===t&&(t=null);var e=n.call(this)||this;return e.value=t,e}t.StiGetImageDataEventArgs=r}(r=e.Events||(e.Events={}))}(Stimulsoft=Stimulsoft||{}),function(i){var t,e,r,n,o;function a(){}e=t=i.Report||(i.Report={}),n=r=e.Helpers||(e.Helpers={}),o=i.System.StiString,a.parseText=function(t,e){if(o.isNullOrEmpty(e)||null==t)return e;if(e.stimulsoft.contains("{")&&e.stimulsoft.contains("}")&&!e.stimulsoft.contains("{{")&&!e.stimulsoft.contains("}}"))try{var r=new i.Report.Components.StiText;r.page=t;var r=i.Report.Engine.StiParser.StiParser.parseTextValue(e,r);if(null!=r)return r.toString()}catch(t){}return e},a.parseBool=function(t,e){if(o.isNullOrEmpty(e))return!1;try{var r=new i.Report.Components.StiText,n;return r.page=t,(e=e.trim()).stimulsoft.startsWith("{")||(e="{"+e),e.stimulsoft.endsWith("}")||(e+="}"),i.Report.Engine.StiParser.StiParser.parseTextValue(e,r).stimulsoft.toBoolean()}catch(t){}return!1},e=a,n.StiExpressionHelper=e}(Stimulsoft=Stimulsoft||{}),function(t){var e,r,n,t,i;function o(){return null!==i&&i.apply(this,arguments)||this}r=e=t.Report||(t.Report={}),t=n=r.Events||(r.Events={}),i=t.StiEvent,__extends(o,i),o.prototype.toString=function(){return"GetImageData"},r=o,t.StiGetImageDataEvent=r}(Stimulsoft=Stimulsoft||{}),function(t){var e,r,n,t,i;function o(){return null!==i&&i.apply(this,arguments)||this}r=e=t.Report||(t.Report={}),t=n=r.Events||(r.Events={}),i=t.StiEvent,__extends(o,i),o.prototype.toString=function(){return"GetImageURL"},r=o,t.StiGetImageURLEvent=r}(Stimulsoft=Stimulsoft||{}),function(r){var t,e,n,i,o,a;function s(){}e=t=r.Report||(r.Report={}),i=n=e.Components||(e.Components={}),o=r.System.Drawing.Image,a=r.Base.Drawing.StiImageConverter,s.getImageFromObject=function(t){if(null!=t&&t.stimulsoft.is(o)){if(StiOptions.Engine.Image.useImageCloning)return t.stimulsoft.as(o).clone().stimulsoft.as(o);return t.stimulsoft.as(o)}if("string"==typeof t&&0<t.length)try{return a.stringToImage(t)}catch(t){r.System.StiError.showError(t.message,!1)}if(t instanceof Array&&0<t.length)try{return a.bytesToImage(t)}catch(t){r.System.StiError.showError(t.message,!1)}return null},s.getImageName=function(t){if(this.isTiff(t))return"Tiff";if(this.isPng(t))return"Png";if(this.isGif(t))return"Gif";if(this.isJpeg(t))return"Jpeg";if(this.isBmp(t))return"Bmp";if(this.isEmf(t))return"Emf";if(this.isWmf(t))return"Wmf";if(this.isIcon(t))return"Icon";if(this.isSvg(t))return"Svg";if(this.isXml(t))for(var e=5;e<t.length-4;e++){if(60!=t[e])continue;if(115==t[e+1]&&118==t[e+2]&&103==t[e+3])return"Svg";break}return null},s.isXml=function(t){return 60==t[0]&&63==t[1]&&120==t[2]&&109==t[3]&&108==t[4]},s.isSvg=function(t){return 60==t[0]&&115==t[1]&&118==t[2]&&103==t[3]},s.isIcon=function(t){return 0==t[0]&&0==t[1]&&(1==t[2]||2==t[2])&&0==t[3]&&0!=t[4]},s.isWmf=function(t){return 215==t[0]&&205==t[1]&&198==t[2]&&154==t[3]||1==t[0]&&0==t[1]&&9==t[2]&&0==t[3]},s.isEmf=function(t){return 32==t[40]&&69==t[41]&&77==t[42]&&70==t[43]},s.isBmp=function(t){return 66==t[0]&&77==t[1]},s.isJpeg=function(t){return 255==t[0]&&216==t[1]},s.isGif=function(t){return 71==t[0]&&73==t[1]&&70==t[2]},s.isPng=function(t){return 137==t[0]&&80==t[1]&&78==t[2]&&71==t[3]},s.isTiff=function(t){return 73==t[0]&&73==t[1]&&42==t[2]&&0==t[3]||77==t[0]&&77==t[1]&&0==t[2]&&42==t[3]},s.isImage=function(t){if(null==t)return!1;if(t.stimulsoft.is(r.System.ByteArray))return this.isImage2(t);if("string"==typeof t)return this.isImage3(t);return t.stimulsoft.is(o)},s.isImage2=function(t){if(t.length<128)return!1;return null!=this.getImageName(t)},s.isImage3=function(t){if(t.length<128)return!1;try{if(!t.stimulsoft.isBase64String())return!1;var e=r.System.Convert.fromBase64String(t.substring(0,128));return null!=this.getImageName(e)}catch(t){}return!1},e=s,i.StiImageHelper=e}(Stimulsoft=Stimulsoft||{}),function(t){var e,r,n,i,o,t;function a(){}r=e=t.Report||(t.Report={}),n=t.System.StiString,i=t.System.IO.Path,o=t.System.Collections.Hashtable,a.createNewCache=function(){return"StimulsoftImageCache"},a.getImageCacheName=function(t,e){return i.Combine(t,n.format("{0}.ich",e))},a.saveImage=function(t,e){null==a.imageCache&&(a.imageCache=new o),a.imageCache.set(e,t)},a.loadImage=function(t){if(null==a.imageCache)return null;return a.imageCache.get(t)},a.exist=function(t){return null!=a.imageCache&&a.imageCache.contains(t)},a.clear=function(){a.imageCache&&a.imageCache.clear()},a.remove=function(t){if(null==a.imageCache)return null;a.imageCache.remove(t)},t=a,r.StiFileImageCache=t}(Stimulsoft=Stimulsoft||{}),function(i){var t,n,e,r,o,a,s,l,u,c,p,h,m,d,g,f,S,y,A,b;function C(){var t=null!==b&&b.apply(this,arguments)||this;return t._horAlignment=h.Left,t._vertAlignment=m.Top,t._border=new c,t._brush=new d(g.transparent),t._smoothing=!0,t._isCachedImage=!1,t._objectToDraw=null,t._imageToDraw=null,t._stretch=!1,t._multipleFactor=1,t._aspectRatio=!1,t}n=t=i.Report||(i.Report={}),r=e=n.Components||(n.Components={}),o=i.System.StiString,a=i.Base.JsonReportObject.IStiJsonReportObject,s=i.System.Enum,l=i.Base.StiJsonSaveMode,u=i.Base.StiJsonReportObjectHelper,c=i.Base.Drawing.StiBorder,p=i.Base.Drawing.StiBrush,h=i.Base.Drawing.StiHorAlignment,m=i.Base.Drawing.StiVertAlignment,d=i.Base.Drawing.StiSolidBrush,g=i.System.Drawing.Color,f=i.System.Drawing.Size,S=i.Base.Drawing.StiImageConverter,y=i.Report.StiFileImageCache,b=r.StiComponent,__extends(C,b),C.prototype.implements=function(){return C.ImplementsStiView||(C.ImplementsStiView=b.prototype.implements.call(this).concat([r.IStiHorAlignment,r.IStiVertAlignment,r.IStiBorder,r.IStiExportImage,r.IStiExportImageExtended,r.IStiBrush,a])),C.ImplementsStiView},C.prototype.saveToJsonObject=function(t){var e=b.prototype.saveToJsonObject.call(this,t);return e.addPropertyEnum("HorAlignment",h,this.horAlignment,h.Left),e.addPropertyEnum("VertAlignment",m,this.vertAlignment,m.Top),e.addPropertyStringNullOrEmpty("Border",u.Serialize.jBorder(this.border)),e.addPropertyStringNullOrEmpty("Brush",u.Serialize.jBrush(this.brush)),e.addPropertyBool("Smoothing",this.smoothing,!0),e.addPropertyBool("Stretch",this.stretch),e.addPropertyNumber("MultipleFactor",this.multipleFactor,1),e.addPropertyBool("AspectRatio",this.aspectRatio),t==l.Document&&e.addPropertyStringNullOrEmpty("ImageBytesToDraw",S.imageToString(this.imageToDraw)),e},C.prototype.loadFromJsonObject=function(t){var e,r;b.prototype.loadFromJsonObject.call(this,t);try{for(var n=__values(t.properties()),i=n.next();!i.done;i=n.next()){var o=i.value;switch(o.name){case"HorAlignment":this._horAlignment=s.parse(h,o.value);break;case"VertAlignment":this._vertAlignment=s.parse(m,o.value);break;case"Border":this._border=u.Deserialize.border(o.value);break;case"Brush":this._brush=u.Deserialize.brush(o.value);break;case"Smoothing":this._smoothing=o.value.stimulsoft.toBoolean();break;case"Stretch":this._stretch=o.value.stimulsoft.toBoolean();break;case"MultipleFactor":this._multipleFactor=o.value.stimulsoft.toNumber();break;case"AspectRatio":this._aspectRatio=o.value.stimulsoft.toBoolean();break;case"ImageToDraw":case"ImageBytesToDraw":this.imageToDraw=S.stringToImage(o.value);break}}}catch(t){e={error:t}}finally{try{i&&!i.done&&(r=n.return)&&r.call(n)}finally{if(e)throw e.error}}},C.prototype.loadFromXml=function(t,e){b.prototype.loadFromXml.call(this,t,e);for(var r=0;r<t.childNodes.length;r++){var n=t.childNodes[r];switch(n.nodeName){case"HorAlignment":case"ha":this._horAlignment=s.parse(h,n.textContent);break;case"VertAlignment":case"va":this._vertAlignment=s.parse(m,n.textContent);break;case"Border":case"br":this._border=i.Base.Drawing.StiBorder.loadFromXml(n.textContent);break;case"Brush":case"bh":this._brush=p.convertToBrush(n.textContent);break;case"Smoothing":this._smoothing=n.textContent.stimulsoft.toBoolean();break;case"Stretch":this._stretch=n.textContent.stimulsoft.toBoolean();break;case"MultipleFactor":this._multipleFactor=n.textContent.stimulsoft.toNumber();break;case"AspectRatio":this._aspectRatio=n.textContent.stimulsoft.toBoolean();break;case"ImageToDraw":case"ImageBytesToDraw":this.imageToDraw=S.stringToImage(n.textContent);break}}},C.prototype.clone=function(t){var t=b.prototype.clone.call(this,t);return null!=this._border?t._border=this._border.clone():t._border=null,null!=this._brush?t._brush=this._brush.clone():t._brush=null,t._horAlignment=this._horAlignment,t._vertAlignment=this._vertAlignment,t},Object.defineProperty(C.prototype,"horAlignment",{get:function(){return this._horAlignment},set:function(t){this._horAlignment=t},enumerable:!1,configurable:!0}),Object.defineProperty(C.prototype,"vertAlignment",{get:function(){return this._vertAlignment},set:function(t){this._vertAlignment=t},enumerable:!1,configurable:!0}),C.prototype.getImage=function(t,e){var r,r;if(void 0===e&&(e=n.StiExportFormat.None),null!=this.objectToDraw)return(r=i.Report.Painters.StiPainter.getPainter(this.stimulsoft.getType())).getImage(this,t,e);return(r=i.Report.Painters.StiPainter.getPainter(this.stimulsoft.getType())).getImage(this,t,e)},C.prototype.isExportAsImage=function(t){return!0},Object.defineProperty(C.prototype,"border",{get:function(){return this._border},set:function(t){this._border=t},enumerable:!1,configurable:!0}),Object.defineProperty(C.prototype,"brush",{get:function(){return this._brush},set:function(t){this._brush=t},enumerable:!1,configurable:!0}),C.prototype.getActualSize=function(){var t=new f(this.width,this.height);if(this.canGrow||this.canShrink){if(null==this.imageToDraw)return f.empty;var e=this.page.unit,r=e.convertToHInches(this.width),n=e.convertToHInches(this.height);this.canGrow&&(this.imageToDraw.width*this.multipleFactor>r&&(t.width=e.convertFromHInches(this.imageToDraw.width*this.multipleFactor)),this.imageToDraw.height*this.multipleFactor>n&&(t.height=e.convertFromHInches(this.imageToDraw.height*this.multipleFactor))),this.canShrink&&(this.imageToDraw.width*this.multipleFactor<r&&(t.width=e.convertFromHInches(this.imageToDraw.width*this.multipleFactor)),this.imageToDraw.height*this.multipleFactor<n&&(t.height=e.convertFromHInches(this.imageToDraw.height*this.multipleFactor)))}return t},C.prototype.getRealSize=function(){var t=new f(this.width,this.height);if(this.canGrow||this.canShrink){if(null==this.imageToDraw)return f.empty;var e=this.page.unit,r=e.convertToHInches(this.width),n=e.convertToHInches(this.height);this.canGrow&&(this.imageToDraw.width*this.multipleFactor>r&&(t.width=e.convertFromHInches(this.imageToDraw.width*this.multipleFactor)),this.imageToDraw.height*this.multipleFactor>n&&(t.height=e.convertFromHInches(this.imageToDraw.height*this.multipleFactor))),this.imageToDraw.width*this.multipleFactor<r&&(t.width=e.convertFromHInches(this.imageToDraw.width*this.multipleFactor)),this.imageToDraw.height*this.multipleFactor<n&&(t.height=e.convertFromHInches(this.imageToDraw.height*this.multipleFactor))}return t},C.prototype.setPage=function(t){var e=this.imageToDraw;b.prototype.setPage.call(this,t),this.imageToDraw=e},Object.defineProperty(C.prototype,"smoothing",{get:function(){return this._smoothing},set:function(t){this._smoothing=t},enumerable:!1,configurable:!0}),Object.defineProperty(C.prototype,"isCachedImage",{get:function(){return this._isCachedImage},set:function(t){this._isCachedImage=t},enumerable:!1,configurable:!0}),Object.defineProperty(C.prototype,"objectToDraw",{get:function(){return this._objectToDraw},set:function(t){this._objectToDraw=t},enumerable:!1,configurable:!0}),Object.defineProperty(C.prototype,"imageToDraw",{get:function(){if(null!=this._imageToDraw)return this._imageToDraw;if(null==this.guid)return null;if(null!=this.report&&null!=this.report.imageCachePath){var t=y.getImageCacheName(this.report.imageCachePath,this.guid);if(y.exist(t))return y.loadImage(t)}return null},set:function(t){var e;this.isCachedImage=!1,null==this.report||this.isDesigning?this._imageToDraw=t:null!=t?(o.isNullOrEmpty(this.report.imageCachePath)&&(this.report.imageCachePath=y.createNewCache()),null==this.guid&&this.newGuid(),e=y.getImageCacheName(this.report.imageCachePath,this.guid),y.saveImage(t,e),this.isCachedImage=!0):this._imageToDraw=null},enumerable:!1,configurable:!0}),Object.defineProperty(C.prototype,"stretch",{get:function(){return this._stretch},set:function(t){this._stretch=t},enumerable:!1,configurable:!0}),Object.defineProperty(C.prototype,"multipleFactor",{get:function(){return this._multipleFactor},set:function(t){this._multipleFactor=t},enumerable:!1,configurable:!0}),Object.defineProperty(C.prototype,"aspectRatio",{get:function(){return this._aspectRatio},set:function(t){this._aspectRatio=t},enumerable:!1,configurable:!0}),C.prototype.getImageFromSource=function(){return null},__decorate([i.System.enumType(h)],C.prototype,"horAlignment",null),__decorate([i.System.enumType(m)],C.prototype,"vertAlignment",null),A=C,r.StiView=A}(Stimulsoft=Stimulsoft||{}),function(t){var e,r,n,t,i,o,a,s;r=e=t.Report||(t.Report={}),t=n=r.Helpers||(r.Helpers={}),(r=i=t.StiImageType||(t.StiImageType={}))[r["GdiImage"]=0]="GdiImage",r[r["SvgObject"]=1]="SvgObject",(r=o=t.StiFontIconSet||(t.StiFontIconSet={}))[r["Rating"]=0]="Rating",r[r["Quarter"]=1]="Quarter",r[r["Square"]=2]="Square",r[r["Star"]=3]="Star",r[r["Latin"]=4]="Latin",(r=a=t.StiFontIconGroup||(t.StiFontIconGroup={}))[r["WebApplicationIcons"]=0]="WebApplicationIcons",r[r["AccessibilityIcons"]=1]="AccessibilityIcons",r[r["HandIcons"]=2]="HandIcons",r[r["TransportationIcons"]=3]="TransportationIcons",r[r["GenderIcons"]=4]="GenderIcons",r[r["FileTypeIcons"]=5]="FileTypeIcons",r[r["SpinnerIcons"]=6]="SpinnerIcons",r[r["FormControlIcons"]=7]="FormControlIcons",r[r["PaymentIcons"]=8]="PaymentIcons",r[r["ChartIcons"]=9]="ChartIcons",r[r["CurrencyIcons"]=10]="CurrencyIcons",r[r["TextEditorIcons"]=11]="TextEditorIcons",r[r["DirectionalIcons"]=12]="DirectionalIcons",r[r["VideoPlayerIcons"]=13]="VideoPlayerIcons",r[r["BrandIcons"]=14]="BrandIcons",r[r["MedicalIcons"]=15]="MedicalIcons",r[r["OtherIcons"]=16]="OtherIcons",(t=s=t.StiFontIcons||(t.StiFontIcons={}))[t["Latin5"]=0]="Latin5",t[t["Latin4"]=1]="Latin4",t[t["Latin3"]=2]="Latin3",t[t["Latin2"]=3]="Latin2",t[t["Latin1"]=4]="Latin1",t[t["QuarterFull"]=5]="QuarterFull",t[t["QuarterThreeFourth"]=6]="QuarterThreeFourth",t[t["QuarterHalf"]=7]="QuarterHalf",t[t["QuarterQuarter"]=8]="QuarterQuarter",t[t["QuarterNone"]=9]="QuarterNone",t[t["Rating4"]=10]="Rating4",t[t["Rating3"]=11]="Rating3",t[t["Rating2"]=12]="Rating2",t[t["Rating1"]=13]="Rating1",t[t["Rating0"]=14]="Rating0",t[t["Square0"]=15]="Square0",t[t["Square1"]=16]="Square1",t[t["Square2"]=17]="Square2",t[t["Square3"]=18]="Square3",t[t["Square4"]=19]="Square4",t[t["StarFull"]=20]="StarFull",t[t["StarThreeFourth"]=21]="StarThreeFourth",t[t["StarHalf"]=22]="StarHalf",t[t["StarQuarter"]=23]="StarQuarter",t[t["StarNone"]=24]="StarNone",t[t["ArrowDown"]=25]="ArrowDown",t[t["ArrowRight"]=26]="ArrowRight",t[t["ArrowRightDown"]=27]="ArrowRightDown",t[t["ArrowRightUp"]=28]="ArrowRightUp",t[t["ArrowUp"]=29]="ArrowUp",t[t["Check"]=30]="Check",t[t["Circle"]=31]="Circle",t[t["CircleCheck"]=32]="CircleCheck",t[t["CircleCross"]=33]="CircleCross",t[t["CircleExclamation"]=34]="CircleExclamation",t[t["Cross"]=35]="Cross",t[t["Rhomb"]=36]="Rhomb",t[t["Exclamation"]=37]="Exclamation",t[t["Flag"]=38]="Flag",t[t["Minus"]=39]="Minus",t[t["Triangle"]=40]="Triangle",t[t["TriangleDown"]=41]="TriangleDown",t[t["TriangleUp"]=42]="TriangleUp",t[t["Home"]=43]="Home",t[t["Cart"]=44]="Cart",t[t["Phone"]=45]="Phone",t[t["Mobile"]=46]="Mobile",t[t["Mug"]=47]="Mug",t[t["Airplane"]=48]="Airplane",t[t["Man"]=49]="Man",t[t["Woman"]=50]="Woman",t[t["UserTie"]=51]="UserTie",t[t["Truck"]=52]="Truck",t[t["Earth"]=53]="Earth",t[t["ManWoman"]=54]="ManWoman",t[t["Appleinc"]=55]="Appleinc",t[t["Windows8"]=56]="Windows8",t[t["Glass"]=57]="Glass",t[t["Music"]=58]="Music",t[t["Search"]=59]="Search",t[t["EnvelopeO"]=60]="EnvelopeO",t[t["Heart"]=61]="Heart",t[t["Star"]=62]="Star",t[t["StarO"]=63]="StarO",t[t["User"]=64]="User",t[t["Film"]=65]="Film",t[t["ThLarge"]=66]="ThLarge",t[t["Th"]=67]="Th",t[t["ThList"]=68]="ThList",t[t["Times"]=69]="Times",t[t["SearchPlus"]=70]="SearchPlus",t[t["SearchMinus"]=71]="SearchMinus",t[t["PowerOff"]=72]="PowerOff",t[t["Signal"]=73]="Signal",t[t["Cog"]=74]="Cog",t[t["TrashO"]=75]="TrashO",t[t["FileO"]=76]="FileO",t[t["ClockO"]=77]="ClockO",t[t["Road"]=78]="Road",t[t["Download"]=79]="Download",t[t["ArrowCircleODown"]=80]="ArrowCircleODown",t[t["ArrowCircleOUp"]=81]="ArrowCircleOUp",t[t["Inbox"]=82]="Inbox",t[t["PlayCircleO"]=83]="PlayCircleO",t[t["Repeat"]=84]="Repeat",t[t["Refresh"]=85]="Refresh",t[t["ListAlt"]=86]="ListAlt",t[t["Lock"]=87]="Lock",t[t["FAFlag"]=88]="FAFlag",t[t["Headphones"]=89]="Headphones",t[t["VolumeOff"]=90]="VolumeOff",t[t["VolumeDown"]=91]="VolumeDown",t[t["VolumeUp"]=92]="VolumeUp",t[t["Qrcode"]=93]="Qrcode",t[t["Barcode"]=94]="Barcode",t[t["Tag"]=95]="Tag",t[t["Tags"]=96]="Tags",t[t["Book"]=97]="Book",t[t["Bookmark"]=98]="Bookmark",t[t["Print"]=99]="Print",t[t["Camera"]=100]="Camera",t[t["Font"]=101]="Font",t[t["Bold"]=102]="Bold",t[t["Italic"]=103]="Italic",t[t["TextHeight"]=104]="TextHeight",t[t["TextWidth"]=105]="TextWidth",t[t["AlignLeft"]=106]="AlignLeft",t[t["AlignCenter"]=107]="AlignCenter",t[t["AlignRight"]=108]="AlignRight",t[t["AlignJustify"]=109]="AlignJustify",t[t["List"]=110]="List",t[t["Outdent"]=111]="Outdent",t[t["Indent"]=112]="Indent",t[t["VideoCamera"]=113]="VideoCamera",t[t["PictureO"]=114]="PictureO",t[t["Pencil"]=115]="Pencil",t[t["MapMarker"]=116]="MapMarker",t[t["Adjust"]=117]="Adjust",t[t["Tint"]=118]="Tint",t[t["PencilSquareO"]=119]="PencilSquareO",t[t["ShareSquareO"]=120]="ShareSquareO",t[t["CheckSquareO"]=121]="CheckSquareO",t[t["Arrows"]=122]="Arrows",t[t["StepBackward"]=123]="StepBackward",t[t["FastBackward"]=124]="FastBackward",t[t["Backward"]=125]="Backward",t[t["Play"]=126]="Play",t[t["Pause"]=127]="Pause",t[t["Stop"]=128]="Stop",t[t["Forward"]=129]="Forward",t[t["FastForward"]=130]="FastForward",t[t["StepForward"]=131]="StepForward",t[t["Eject"]=132]="Eject",t[t["ChevronLeft"]=133]="ChevronLeft",t[t["ChevronRight"]=134]="ChevronRight",t[t["PlusCircle"]=135]="PlusCircle",t[t["MinusCircle"]=136]="MinusCircle",t[t["TimesCircle"]=137]="TimesCircle",t[t["CheckCircle"]=138]="CheckCircle",t[t["QuestionCircle"]=139]="QuestionCircle",t[t["InfoCircle"]=140]="InfoCircle",t[t["Crosshairs"]=141]="Crosshairs",t[t["TimesCircleO"]=142]="TimesCircleO",t[t["CheckCircleO"]=143]="CheckCircleO",t[t["Ban"]=144]="Ban",t[t["FAArrowLeft"]=145]="FAArrowLeft",t[t["FAArrowRight"]=146]="FAArrowRight",t[t["FAArrowUp"]=147]="FAArrowUp",t[t["FAArrowDown"]=148]="FAArrowDown",t[t["Share"]=149]="Share",t[t["Expand"]=150]="Expand",t[t["Compress"]=151]="Compress",t[t["FAPlus"]=152]="FAPlus",t[t["FAMinus"]=153]="FAMinus",t[t["Asterisk"]=154]="Asterisk",t[t["ExclamationCircle"]=155]="ExclamationCircle",t[t["Gift"]=156]="Gift",t[t["Leaf"]=157]="Leaf",t[t["Fire"]=158]="Fire",t[t["Eye"]=159]="Eye",t[t["EyeSlash"]=160]="EyeSlash",t[t["ExclamationTriangle"]=161]="ExclamationTriangle",t[t["Plane"]=162]="Plane",t[t["Calendar"]=163]="Calendar",t[t["Random"]=164]="Random",t[t["Comment"]=165]="Comment",t[t["Magnet"]=166]="Magnet",t[t["ChevronUp"]=167]="ChevronUp",t[t["ChevronDown"]=168]="ChevronDown",t[t["Retweet"]=169]="Retweet",t[t["ShoppingCart"]=170]="ShoppingCart",t[t["Folder"]=171]="Folder",t[t["FolderOpen"]=172]="FolderOpen",t[t["ArrowsV"]=173]="ArrowsV",t[t["ArrowsH"]=174]="ArrowsH",t[t["BarChart"]=175]="BarChart",t[t["TwitterSquare"]=176]="TwitterSquare",t[t["FacebookSquare"]=177]="FacebookSquare",t[t["CameraRetro"]=178]="CameraRetro",t[t["Key"]=179]="Key",t[t["Cogs"]=180]="Cogs",t[t["Comments"]=181]="Comments",t[t["ThumbsOUp"]=182]="ThumbsOUp",t[t["ThumbsODown"]=183]="ThumbsODown",t[t["HeartO"]=184]="HeartO",t[t["SignOut"]=185]="SignOut",t[t["LinkedinSquare"]=186]="LinkedinSquare",t[t["ThumbTack"]=187]="ThumbTack",t[t["ExternalLink"]=188]="ExternalLink",t[t["SignIn"]=189]="SignIn",t[t["Trophy"]=190]="Trophy",t[t["GithubSquare"]=191]="GithubSquare",t[t["Upload"]=192]="Upload",t[t["LemonO"]=193]="LemonO",t[t["SquareO"]=194]="SquareO",t[t["BookmarkO"]=195]="BookmarkO",t[t["PhoneSquare"]=196]="PhoneSquare",t[t["Twitter"]=197]="Twitter",t[t["Facebook"]=198]="Facebook",t[t["Github"]=199]="Github",t[t["Unlock"]=200]="Unlock",t[t["CreditCard"]=201]="CreditCard",t[t["Rss"]=202]="Rss",t[t["HddO"]=203]="HddO",t[t["Bullhorn"]=204]="Bullhorn",t[t["Bell"]=205]="Bell",t[t["Certificate"]=206]="Certificate",t[t["HandORight"]=207]="HandORight",t[t["HandOLeft"]=208]="HandOLeft",t[t["HandOUp"]=209]="HandOUp",t[t["HandODown"]=210]="HandODown",t[t["ArrowCircleLeft"]=211]="ArrowCircleLeft",t[t["ArrowCircleRight"]=212]="ArrowCircleRight",t[t["ArrowCircleUp"]=213]="ArrowCircleUp",t[t["ArrowCircleDown"]=214]="ArrowCircleDown",t[t["Globe"]=215]="Globe",t[t["Wrench"]=216]="Wrench",t[t["Tasks"]=217]="Tasks",t[t["Filter"]=218]="Filter",t[t["Briefcase"]=219]="Briefcase",t[t["ArrowsAlt"]=220]="ArrowsAlt",t[t["Users"]=221]="Users",t[t["Link"]=222]="Link",t[t["Cloud"]=223]="Cloud",t[t["Flask"]=224]="Flask",t[t["Scissors"]=225]="Scissors",t[t["FilesO"]=226]="FilesO",t[t["Paperclip"]=227]="Paperclip",t[t["FloppyO"]=228]="FloppyO",t[t["Square"]=229]="Square",t[t["Bars"]=230]="Bars",t[t["ListUl"]=231]="ListUl",t[t["ListOl"]=232]="ListOl",t[t["Strikethrough"]=233]="Strikethrough",t[t["Underline"]=234]="Underline",t[t["Table"]=235]="Table",t[t["Magic"]=236]="Magic",t[t["Pinterest"]=237]="Pinterest",t[t["PinterestSquare"]=238]="PinterestSquare",t[t["GooglePlusSquare"]=239]="GooglePlusSquare",t[t["GooglePlus"]=240]="GooglePlus",t[t["Money"]=241]="Money",t[t["CaretDown"]=242]="CaretDown",t[t["CaretUp"]=243]="CaretUp",t[t["CaretLeft"]=244]="CaretLeft",t[t["CaretRight"]=245]="CaretRight",t[t["Columns"]=246]="Columns",t[t["Sort"]=247]="Sort",t[t["SortDesc"]=248]="SortDesc",t[t["SortAsc"]=249]="SortAsc",t[t["Envelope"]=250]="Envelope",t[t["Linkedin"]=251]="Linkedin",t[t["Undo"]=252]="Undo",t[t["Gavel"]=253]="Gavel",t[t["Tachometer"]=254]="Tachometer",t[t["CommentO"]=255]="CommentO",t[t["CommentsO"]=256]="CommentsO",t[t["Bolt"]=257]="Bolt",t[t["Sitemap"]=258]="Sitemap",t[t["Umbrella"]=259]="Umbrella",t[t["Clipboard"]=260]="Clipboard",t[t["LightbulbO"]=261]="LightbulbO",t[t["Exchange"]=262]="Exchange",t[t["CloudDownload"]=263]="CloudDownload",t[t["CloudUpload"]=264]="CloudUpload",t[t["UserMd"]=265]="UserMd",t[t["Stethoscope"]=266]="Stethoscope",t[t["Suitcase"]=267]="Suitcase",t[t["BellO"]=268]="BellO",t[t["Coffee"]=269]="Coffee",t[t["Cutlery"]=270]="Cutlery",t[t["FileTextO"]=271]="FileTextO",t[t["BuildingO"]=272]="BuildingO",t[t["HospitalO"]=273]="HospitalO",t[t["Ambulance"]=274]="Ambulance",t[t["Medkit"]=275]="Medkit",t[t["FighterJet"]=276]="FighterJet",t[t["Beer"]=277]="Beer",t[t["HSquare"]=278]="HSquare",t[t["PlusSquare"]=279]="PlusSquare",t[t["AngleDoubleLeft"]=280]="AngleDoubleLeft",t[t["AngleDoubleRight"]=281]="AngleDoubleRight",t[t["AngleDoubleUp"]=282]="AngleDoubleUp",t[t["AngleDoubleDown"]=283]="AngleDoubleDown",t[t["AngleLeft"]=284]="AngleLeft",t[t["AngleRight"]=285]="AngleRight",t[t["AngleUp"]=286]="AngleUp",t[t["AngleDown"]=287]="AngleDown",t[t["Desktop"]=288]="Desktop",t[t["Laptop"]=289]="Laptop",t[t["Tablet"]=290]="Tablet",t[t["CircleO"]=291]="CircleO",t[t["QuoteLeft"]=292]="QuoteLeft",t[t["QuoteRight"]=293]="QuoteRight",t[t["Spinner"]=294]="Spinner",t[t["Reply"]=295]="Reply",t[t["GithubAlt"]=296]="GithubAlt",t[t["FolderO"]=297]="FolderO",t[t["FolderOpenO"]=298]="FolderOpenO",t[t["SmileO"]=299]="SmileO",t[t["FrownO"]=300]="FrownO",t[t["MehO"]=301]="MehO",t[t["Gamepad"]=302]="Gamepad",t[t["KeyboardO"]=303]="KeyboardO",t[t["FlagO"]=304]="FlagO",t[t["FlagCheckered"]=305]="FlagCheckered",t[t["Terminal"]=306]="Terminal",t[t["Code"]=307]="Code",t[t["ReplyAll"]=308]="ReplyAll",t[t["StarHalfO"]=309]="StarHalfO",t[t["LocationArrow"]=310]="LocationArrow",t[t["Crop"]=311]="Crop",t[t["CodeFork"]=312]="CodeFork",t[t["ChainBroken"]=313]="ChainBroken",t[t["Question"]=314]="Question",t[t["Info"]=315]="Info",t[t["Superscript"]=316]="Superscript",t[t["Subscript"]=317]="Subscript",t[t["Eraser"]=318]="Eraser",t[t["PuzzlePiece"]=319]="PuzzlePiece",t[t["Microphone"]=320]="Microphone",t[t["MicrophoneSlash"]=321]="MicrophoneSlash",t[t["Shield"]=322]="Shield",t[t["CalendarO"]=323]="CalendarO",t[t["FireExtinguisher"]=324]="FireExtinguisher",t[t["Rocket"]=325]="Rocket",t[t["Maxcdn"]=326]="Maxcdn",t[t["ChevronCircleLeft"]=327]="ChevronCircleLeft",t[t["ChevronCircleRight"]=328]="ChevronCircleRight",t[t["ChevronCircleUp"]=329]="ChevronCircleUp",t[t["ChevronCircleDown"]=330]="ChevronCircleDown",t[t["Html5"]=331]="Html5",t[t["Css3"]=332]="Css3",t[t["Anchor"]=333]="Anchor",t[t["UnlockAlt"]=334]="UnlockAlt",t[t["Bullseye"]=335]="Bullseye",t[t["EllipsisH"]=336]="EllipsisH",t[t["EllipsisV"]=337]="EllipsisV",t[t["RssSquare"]=338]="RssSquare",t[t["PlayCircle"]=339]="PlayCircle",t[t["Ticket"]=340]="Ticket",t[t["MinusSquare"]=341]="MinusSquare",t[t["InusSquareO"]=342]="InusSquareO",t[t["LevelUp"]=343]="LevelUp",t[t["LevelDown"]=344]="LevelDown",t[t["CheckSquare"]=345]="CheckSquare",t[t["PencilSquare"]=346]="PencilSquare",t[t["ExternalLinkSquare"]=347]="ExternalLinkSquare",t[t["ShareSquare"]=348]="ShareSquare",t[t["Compass"]=349]="Compass",t[t["CaretSquareODown"]=350]="CaretSquareODown",t[t["CaretSquareOUp"]=351]="CaretSquareOUp",t[t["CaretSquareORight"]=352]="CaretSquareORight",t[t["Eur"]=353]="Eur",t[t["Gbp"]=354]="Gbp",t[t["Usd"]=355]="Usd",t[t["Inr"]=356]="Inr",t[t["Jpy"]=357]="Jpy",t[t["Rub"]=358]="Rub",t[t["Krw"]=359]="Krw",t[t["Btc"]=360]="Btc",t[t["File"]=361]="File",t[t["FileText"]=362]="FileText",t[t["SortAlphaAsc"]=363]="SortAlphaAsc",t[t["SortAlphaDesc"]=364]="SortAlphaDesc",t[t["SortAmountAsc"]=365]="SortAmountAsc",t[t["SortAmountDesc"]=366]="SortAmountDesc",t[t["SortNumericAsc"]=367]="SortNumericAsc",t[t["SortNumericDesc"]=368]="SortNumericDesc",t[t["ThumbsUp"]=369]="ThumbsUp",t[t["ThumbsDown"]=370]="ThumbsDown",t[t["YoutubeSquare"]=371]="YoutubeSquare",t[t["Youtube"]=372]="Youtube",t[t["Xing"]=373]="Xing",t[t["XingSquare"]=374]="XingSquare",t[t["YoutubePlay"]=375]="YoutubePlay",t[t["Dropbox"]=376]="Dropbox",t[t["StackOverflow"]=377]="StackOverflow",t[t["Instagram"]=378]="Instagram",t[t["Flickr"]=379]="Flickr",t[t["Adn"]=380]="Adn",t[t["Bitbucket"]=381]="Bitbucket",t[t["BitbucketSquare"]=382]="BitbucketSquare",t[t["Tumblr"]=383]="Tumblr",t[t["TumblrSquare"]=384]="TumblrSquare",t[t["LongArrowDown"]=385]="LongArrowDown",t[t["LongArrowUp"]=386]="LongArrowUp",t[t["LongArrowLeft"]=387]="LongArrowLeft",t[t["LongArrowRight"]=388]="LongArrowRight",t[t["Apple"]=389]="Apple",t[t["Windows"]=390]="Windows",t[t["Android"]=391]="Android",t[t["Linux"]=392]="Linux",t[t["Dribbble"]=393]="Dribbble",t[t["Skype"]=394]="Skype",t[t["Foursquare"]=395]="Foursquare",t[t["Trello"]=396]="Trello",t[t["Female"]=397]="Female",t[t["Male"]=398]="Male",t[t["Gratipay"]=399]="Gratipay",t[t["SunO"]=400]="SunO",t[t["MoonO"]=401]="MoonO",t[t["Archive"]=402]="Archive",t[t["Bug"]=403]="Bug",t[t["Vk"]=404]="Vk",t[t["Weibo"]=405]="Weibo",t[t["Renren"]=406]="Renren",t[t["Pagelines"]=407]="Pagelines",t[t["StackExchange"]=408]="StackExchange",t[t["ArrowCircleORight"]=409]="ArrowCircleORight",t[t["ArrowCircleOLeft"]=410]="ArrowCircleOLeft",t[t["CaretSquareOLeft"]=411]="CaretSquareOLeft",t[t["DotCircleO"]=412]="DotCircleO",t[t["Wheelchair"]=413]="Wheelchair",t[t["VimeoSquare"]=414]="VimeoSquare",t[t["Try"]=415]="Try",t[t["PlusSquareO"]=416]="PlusSquareO",t[t["SpaceShuttle"]=417]="SpaceShuttle",t[t["Slack"]=418]="Slack",t[t["EnvelopeSquare"]=419]="EnvelopeSquare",t[t["Wordpress"]=420]="Wordpress",t[t["Openid"]=421]="Openid",t[t["University"]=422]="University",t[t["GraduationCap"]=423]="GraduationCap",t[t["Yahoo"]=424]="Yahoo",t[t["Google"]=425]="Google",t[t["Reddit"]=426]="Reddit",t[t["RedditSquare"]=427]="RedditSquare",t[t["StumbleuponCircle"]=428]="StumbleuponCircle",t[t["Stumbleupon"]=429]="Stumbleupon",t[t["Delicious"]=430]="Delicious",t[t["Digg"]=431]="Digg",t[t["PiedPiper"]=432]="PiedPiper",t[t["PiedPiperAlt"]=433]="PiedPiperAlt",t[t["Drupal"]=434]="Drupal",t[t["Joomla"]=435]="Joomla",t[t["Language"]=436]="Language",t[t["Fax"]=437]="Fax",t[t["Building"]=438]="Building",t[t["Child"]=439]="Child",t[t["Paw"]=440]="Paw",t[t["Spoon"]=441]="Spoon",t[t["Cube"]=442]="Cube",t[t["Cubes"]=443]="Cubes",t[t["Behance"]=444]="Behance",t[t["BehanceSquare"]=445]="BehanceSquare",t[t["Steam"]=446]="Steam",t[t["SteamSquare"]=447]="SteamSquare",t[t["Recycle"]=448]="Recycle",t[t["Car"]=449]="Car",t[t["Taxi"]=450]="Taxi",t[t["Tree"]=451]="Tree",t[t["Spotify"]=452]="Spotify",t[t["Deviantart"]=453]="Deviantart",t[t["Soundcloud"]=454]="Soundcloud",t[t["Database"]=455]="Database",t[t["FilePdfO"]=456]="FilePdfO",t[t["FileWordO"]=457]="FileWordO",t[t["FileExcelO"]=458]="FileExcelO",t[t["FilePowerpointO"]=459]="FilePowerpointO",t[t["FileImageO"]=460]="FileImageO",t[t["FileArchiveO"]=461]="FileArchiveO",t[t["FileAudioO"]=462]="FileAudioO",t[t["FileVideoO"]=463]="FileVideoO",t[t["FileCodeO"]=464]="FileCodeO",t[t["Vine"]=465]="Vine",t[t["Codepen"]=466]="Codepen",t[t["Jsfiddle"]=467]="Jsfiddle",t[t["LifeRing"]=468]="LifeRing",t[t["CircleONotch"]=469]="CircleONotch",t[t["Rebel"]=470]="Rebel",t[t["Empire"]=471]="Empire",t[t["GitSquare"]=472]="GitSquare",t[t["Git"]=473]="Git",t[t["HackerNews"]=474]="HackerNews",t[t["TencentWeibo"]=475]="TencentWeibo",t[t["Qq"]=476]="Qq",t[t["Weixin"]=477]="Weixin",t[t["PaperPlane"]=478]="PaperPlane",t[t["PaperPlaneO"]=479]="PaperPlaneO",t[t["History"]=480]="History",t[t["CircleThin"]=481]="CircleThin",t[t["Header"]=482]="Header",t[t["Paragraph"]=483]="Paragraph",t[t["Sliders"]=484]="Sliders",t[t["ShareAlt"]=485]="ShareAlt",t[t["ShareAltSquare"]=486]="ShareAltSquare",t[t["Bomb"]=487]="Bomb",t[t["FutbolO"]=488]="FutbolO",t[t["Tty"]=489]="Tty",t[t["Binoculars"]=490]="Binoculars",t[t["Plug"]=491]="Plug",t[t["Slideshare"]=492]="Slideshare",t[t["Twitch"]=493]="Twitch",t[t["Yelp"]=494]="Yelp",t[t["NewspaperO"]=495]="NewspaperO",t[t["Wifi"]=496]="Wifi",t[t["Calculator"]=497]="Calculator",t[t["Paypal"]=498]="Paypal",t[t["GoogleWallet"]=499]="GoogleWallet",t[t["CcVisa"]=500]="CcVisa",t[t["CcMastercard"]=501]="CcMastercard",t[t["CcDiscover"]=502]="CcDiscover",t[t["CcAmex"]=503]="CcAmex",t[t["CcPaypal"]=504]="CcPaypal",t[t["CcStripe"]=505]="CcStripe",t[t["BellSlash"]=506]="BellSlash",t[t["BellSlashO"]=507]="BellSlashO",t[t["Trash"]=508]="Trash",t[t["Copyright"]=509]="Copyright",t[t["At"]=510]="At",t[t["Eyedropper"]=511]="Eyedropper",t[t["PaintBrush"]=512]="PaintBrush",t[t["BirthdayCake"]=513]="BirthdayCake",t[t["AreaChart"]=514]="AreaChart",t[t["PieChart"]=515]="PieChart",t[t["LineChart"]=516]="LineChart",t[t["Lastfm"]=517]="Lastfm",t[t["LastfmSquare"]=518]="LastfmSquare",t[t["ToggleOff"]=519]="ToggleOff",t[t["ToggleOn"]=520]="ToggleOn",t[t["Bicycle"]=521]="Bicycle",t[t["Bus"]=522]="Bus",t[t["Ioxhost"]=523]="Ioxhost",t[t["Angellist"]=524]="Angellist",t[t["Cc"]=525]="Cc",t[t["Ils"]=526]="Ils",t[t["Meanpath"]=527]="Meanpath",t[t["Buysellads"]=528]="Buysellads",t[t["Connectdevelop"]=529]="Connectdevelop",t[t["Dashcube"]=530]="Dashcube",t[t["Forumbee"]=531]="Forumbee",t[t["Leanpub"]=532]="Leanpub",t[t["Sellsy"]=533]="Sellsy",t[t["Shirtsinbulk"]=534]="Shirtsinbulk",t[t["Simplybuilt"]=535]="Simplybuilt",t[t["Skyatlas"]=536]="Skyatlas",t[t["CartPlus"]=537]="CartPlus",t[t["CartArrowDown"]=538]="CartArrowDown",t[t["Diamond"]=539]="Diamond",t[t["Ship"]=540]="Ship",t[t["UserSecret"]=541]="UserSecret",t[t["Motorcycle"]=542]="Motorcycle",t[t["StreetView"]=543]="StreetView",t[t["Heartbeat"]=544]="Heartbeat",t[t["Venus"]=545]="Venus",t[t["Mars"]=546]="Mars",t[t["Mercury"]=547]="Mercury",t[t["Transgender"]=548]="Transgender",t[t["TransgenderAlt"]=549]="TransgenderAlt",t[t["VenusDouble"]=550]="VenusDouble",t[t["MarsDouble"]=551]="MarsDouble",t[t["VenusMars"]=552]="VenusMars",t[t["MarsStroke"]=553]="MarsStroke",t[t["MarsStrokeV"]=554]="MarsStrokeV",t[t["MarsStrokeH"]=555]="MarsStrokeH",t[t["Neuter"]=556]="Neuter",t[t["Genderless"]=557]="Genderless",t[t["FacebookOfficial"]=558]="FacebookOfficial",t[t["PinterestP"]=559]="PinterestP",t[t["Whatsapp"]=560]="Whatsapp",t[t["Server"]=561]="Server",t[t["UserPlus"]=562]="UserPlus",t[t["UserTimes"]=563]="UserTimes",t[t["Bed"]=564]="Bed",t[t["Viacoin"]=565]="Viacoin",t[t["Train"]=566]="Train",t[t["Subway"]=567]="Subway",t[t["Medium"]=568]="Medium",t[t["YCombinator"]=569]="YCombinator",t[t["OptinMonster"]=570]="OptinMonster",t[t["Opencart"]=571]="Opencart",t[t["Expeditedssl"]=572]="Expeditedssl",t[t["BatteryFull"]=573]="BatteryFull",t[t["BatteryThreeQuarters"]=574]="BatteryThreeQuarters",t[t["BatteryHalf"]=575]="BatteryHalf",t[t["BatteryQuarter"]=576]="BatteryQuarter",t[t["BatteryEmpty"]=577]="BatteryEmpty",t[t["MousePointer"]=578]="MousePointer",t[t["ICursor"]=579]="ICursor",t[t["ObjectGroup"]=580]="ObjectGroup",t[t["ObjectUngroup"]=581]="ObjectUngroup",t[t["StickyNote"]=582]="StickyNote",t[t["StickyNoteO"]=583]="StickyNoteO",t[t["CcJcb"]=584]="CcJcb",t[t["CcDinersClub"]=585]="CcDinersClub",t[t["Clone"]=586]="Clone",t[t["BalanceScale"]=587]="BalanceScale",t[t["HourglassO"]=588]="HourglassO",t[t["HourglassStart"]=589]="HourglassStart",t[t["HourglassHalf"]=590]="HourglassHalf",t[t["HourglassEnd"]=591]="HourglassEnd",t[t["Hourglass"]=592]="Hourglass",t[t["HandRockO"]=593]="HandRockO",t[t["HandPaperO"]=594]="HandPaperO",t[t["HandScissorsO"]=595]="HandScissorsO",t[t["HandLizardO"]=596]="HandLizardO",t[t["HandSpockO"]=597]="HandSpockO",t[t["HandPointerO"]=598]="HandPointerO",t[t["HandPeaceO"]=599]="HandPeaceO",t[t["Trademark"]=600]="Trademark",t[t["Registered"]=601]="Registered",t[t["CreativeCommons"]=602]="CreativeCommons",t[t["Gg"]=603]="Gg",t[t["GgCircle"]=604]="GgCircle",t[t["Tripadvisor"]=605]="Tripadvisor",t[t["Odnoklassniki"]=606]="Odnoklassniki",t[t["OdnoklassnikiSquare"]=607]="OdnoklassnikiSquare",t[t["GetPocket"]=608]="GetPocket",t[t["WikipediaW"]=609]="WikipediaW",t[t["Safari"]=610]="Safari",t[t["Chrome"]=611]="Chrome",t[t["Firefox"]=612]="Firefox",t[t["Opera"]=613]="Opera",t[t["InternetExplorer"]=614]="InternetExplorer",t[t["Television"]=615]="Television",t[t["Contao"]=616]="Contao",t[t["Px500"]=617]="Px500",t[t["Amazon"]=618]="Amazon",t[t["CalendarPlusO"]=619]="CalendarPlusO",t[t["CalendarMinusO"]=620]="CalendarMinusO",t[t["CalendarTimesO"]=621]="CalendarTimesO",t[t["CalendarCheckO"]=622]="CalendarCheckO",t[t["Industry"]=623]="Industry",t[t["MapPin"]=624]="MapPin",t[t["MapSigns"]=625]="MapSigns",t[t["MapO"]=626]="MapO",t[t["Map"]=627]="Map",t[t["Commenting"]=628]="Commenting",t[t["CommentingO"]=629]="CommentingO",t[t["Houzz"]=630]="Houzz",t[t["Vimeo"]=631]="Vimeo",t[t["BlackTie"]=632]="BlackTie",t[t["Fonticons"]=633]="Fonticons"}(Stimulsoft=Stimulsoft||{}),function(o){var t,a,e,l,r,s,n,i,u,c,p,h,m,d,g,f,S,y,A,b,C,v,w,B,I,T,E,R;function D(){var t=null!==R&&R.apply(this,arguments)||this;return t.defaultClientRectangle=new B(0,0,100,100),t._imageRotation=l.StiImageRotation.None,t._image=null,t._file="",t._dataColumn="",t._imageURL="",t._imageData="",t.icon=null,t.iconColor=r.fromArgb(68,114,196),t}a=t=o.Report||(o.Report={}),l=e=a.Components||(a.Components={}),r=o.System.Drawing.Color,s=o.System.StiString,n=o.Base.JsonReportObject.IStiJsonReportObject,i=o.Base.Drawing.StiImageFromURL,u=o.Report.Helpers.StiHyperlinkProcessor,c=o.Report.Helpers.StiExpressionHelper,p=o.Report.Events.StiGetImageDataEventHandler,h=o.Report.Events.StiValueEventHandler,m=o.Report.Events.StiGetImageDataEventArgs,d=o.Report.Events.StiValueEventArgs,g=o.Report.Events.StiGetImageDataEvent,f=o.Report.Events.StiGetImageURLEvent,S=o.System.Enum,y=o.Base.StiJsonSaveMode,A=o.System.Drawing.Image,b=o.Report.Components.IStiBreakable,C=o.Base.Drawing.StiImageConverter,v=o.Report.Components.StiImageHelper,w=o.Report.Expressions.StiExpression,B=o.System.Drawing.Rectangle,I=o.Base.StiJsonReportObjectHelper,T=o.Report.Helpers.StiFontIcons,R=l.StiView,__extends(D,R),D.prototype.implements=function(){return D.ImplementsStiImage||(D.ImplementsStiImage=R.prototype.implements.call(this).concat([b,n])),D.ImplementsStiImage},D.prototype.saveToJsonObject=function(t){var e=R.prototype.saveToJsonObject.call(this,t);return e.addPropertyBool("CanBreak",this.canBreak),e.addPropertyJObject("GetImageURLEvent",this.getImageURLEvent.saveToJsonObject(t)),e.addPropertyJObject("GetImageDataEvent",this.getImageDataEvent.saveToJsonObject(t)),e.addPropertyEnum("ProcessingDuplicates",l.StiImageProcessingDuplicatesType,this.processingDuplicates,l.StiImageProcessingDuplicatesType.None),e.addPropertyEnum("ImageRotation",l.StiImageRotation,this.imageRotation,l.StiImageRotation.None),e.addPropertyStringNullOrEmpty("File",this.file),e.addPropertyStringNullOrEmpty("DataColumn",this.dataColumn),null!=this.icon&&e.addPropertyEnum("Icon",T,this.icon),e.addPropertyStringNullOrEmpty("IconColor",I.Serialize.jColor(this.iconColor,r.fromArgb(68,114,196))),t==y.Document?e.addPropertyStringNullOrEmpty("ImageURLValue",this.imageURLValue):(e.addPropertyJObject("ImageURL",new w(this.imageURL).saveToJsonObject(t)),e.addPropertyJObject("ImageData",new w(this.imageData).saveToJsonObject(t)),e.addPropertyString("ImageBytes",C.imageToString(this.image))),e},D.prototype.loadFromJsonObject=function(t){var e,r;R.prototype.loadFromJsonObject.call(this,t);try{for(var n=__values(t.properties()),i=n.next();!i.done;i=n.next()){var o=i.value,a,a,s,s;switch(o.name){case"GlobalizedName":break;case"CanBreak":this.canBreak=o.value.stimulsoft.toBoolean();break;case"ImageURLValue":this._imageURLValue=o.value;break;case"ImageURL":(a=new w).loadFromJsonObject(o.value),this.imageURL=a.value;break;case"ImageData":(a=new w).loadFromJsonObject(o.value),this.imageData=a.value;break;case"GetImageURLEvent":(s=new f).loadFromJsonObject(o.value),this.getImageURLEvent=s;break;case"GetImageDataEvent":(s=new g).loadFromJsonObject(o.value),this.getImageDataEvent=s;break;case"ProcessingDuplicates":this.processingDuplicates=S.parse(l.StiImageProcessingDuplicatesType,o.value);break;case"ImageRotation":this._imageRotation=S.parse(l.StiImageRotation,o.value);break;case"Image":case"ImageBytes":this.image=C.stringToImage(o.value);break;case"File":this._file=o.value;break;case"DataColumn":this._dataColumn=o.value;break;case"Icon":this.icon=S.parse(T,o.value.toString());break;case"IconColor":this.iconColor=I.Deserialize.color(o.value.toString());break}}}catch(t){e={error:t}}finally{try{i&&!i.done&&(r=n.return)&&r.call(n)}finally{if(e)throw e.error}}},D.prototype.loadFromXml=function(t,e){R.prototype.loadFromXml.call(this,t,e);for(var r=0;r<t.childNodes.length;r++){var n=t.childNodes[r],i,i;switch(n.nodeName){case"GlobalizedName":break;case"CanBreak":this.canBreak=n.textContent.stimulsoft.toBoolean();break;case"ImageURLValue":this._imageURLValue=n.textContent;break;case"ImageURL":(i=new w).loadFromXml(n),this.imageURL=i.value;break;case"ImageData":(i=new w).loadFromXml(n),this.imageData=i.value;break;case"GetImageURLEvent":break;case"GetImageDataEvent":break;case"ProcessingDuplicates":this.processingDuplicates=S.parse(l.StiImageProcessingDuplicatesType,n.textContent);break;case"ImageRotation":this._imageRotation=S.parse(l.StiImageRotation,n.textContent);break;case"Image":case"ImageBytes":this.image=C.stringToImage(n.textContent);break;case"File":this._file=n.textContent;break;case"DataColumn":this._dataColumn=n.textContent;break;case"Icon":this.icon=S.parse(T,n.textContent);break;case"IconColor":this.iconColor=I.Deserialize.color(n.textContent);break}}},D.prototype.getImage=function(t,e){return void 0===e&&(e=a.StiExportFormat.None),this.imageToDraw},D.prototype.getImageFromFile=function(){if(!s.isNullOrEmpty(this.file)){var t=c.parseText(this.page,this.file),e;return A.fromFile(t)}return null},D.prototype.getImageFromUrl=function(){var t=this.imageURLValue,e,r;try{if(!s.isNullOrEmpty(t)){if(null!=u.getResourceNameFromHyperlink(t))return u.getImage(this.report,t);if(null!=u.getVariableNameFromHyperlink(t))return u.getImage(this.report,t);return i.loadBitmap(t)}}catch(t){o.System.StiError.showError(t.message,!1);var n=s.format("Image can't be loaded from URL '{0}' in image component {1}!",this.imageURLValue,this.name);a.StiLogService.write(this.stimulsoft.getType(),n),a.StiLogService.write(this.stimulsoft.getType(),t)}return null},D.prototype.getImageFromDataColumn=function(){try{var t=o.Report.Dictionary.StiDataColumn.getDataFromDataColumn(this.report.dictionary,this.dataColumn);return v.getImageFromObject(t)}catch(t){o.System.StiError.showError(t.message,!1);var e=s.format("Image can't be loaded from data column '{0}' in image component {1}!",this.dataColumn,this.name);a.StiLogService.write(this.stimulsoft.getType(),e),a.StiLogService.write(this.stimulsoft.getType(),t)}return null},D.prototype.getImageFromIcon=function(){try{if(null==this.icon)return null;var t=this.getPaintRectangle(!0,!1);return a.StiFontIconsHelper.convertFontIconToImage(this.icon,this.iconColor,t.width,t.height)}catch(t){o.System.StiError.showError(t.message,!1);var e=s.format("Image can't be loaded from data column '{0}' in image component {1}!",this.dataColumn,this.name);a.StiLogService.write(this.stimulsoft.getType(),e),a.StiLogService.write(this.stimulsoft.getType(),t)}return null},D.prototype.getImageFromSource=function(){var t=this.getImageFromFile();if(null!=t)return t;if(null!=(t=this.getImageFromDataColumn()))return t;if(null!=(t=this.getImageFromIcon()))return t;return null},Object.defineProperty(D.prototype,"canBreak",{get:function(){return this.properties.getBool(D.propertyCanBreak,!1)},set:function(t){this.properties.setBool(D.propertyCanBreak,t,!1)},enumerable:!1,configurable:!0}),D.prototype.break=function(t,e,r){var r=!(r.ref=0);return this.imageToDraw,r},Object.defineProperty(D.prototype,"imageURLValue",{get:function(){return this._imageURLValue},set:function(t){this._imageURLValue!=t&&(this._imageURLValue=t,null==this._image&&(this.isDesigning||null!=this.report&&this.report.isRendering)&&null!=t&&(this.imageToDraw=this.getImageFromUrl()))},enumerable:!1,configurable:!0}),D.prototype.invokeEvents=function(){try{var t,t,e,e;R.prototype.invokeEvents.call(this),this.report.calculationMode==a.StiCalculationMode.Compilation?null!=this.events.get(D.eventGetImageURL)&&(null==this.imageURLValue||"string"==typeof this.imageURLValue&&0==this.imageURLValue.length)&&(t=new d,this.invokeGetImageURL(this,t),this.imageURLValue=t.value):null!=this.imageURLValue&&(this.imageURLValue,!1||0!=this.imageURLValue.length)||(t=new d,this.invokeGetImageURL(this,t),this.imageURLValue=t.value),this.report.calculationMode==a.StiCalculationMode.Compilation?null!=this.events.get(D.eventGetImageData)&&(e=new m,this.invokeGetImageData(this,e),null!=e.value&&(this.image=e.value)):s.isNullOrEmpty(this.imageData)||(e=new m,this.invokeGetImageData(this,e),null!=e.value&&(this.image=e.value))}catch(t){a.StiLogService.write(this.stimulsoft.getType(),"DoEvents...ERROR"),a.StiLogService.write(this.stimulsoft.getType(),t)}},D.prototype.onGetImageURL=function(t){},D.prototype.invokeGetImageURL=function(t,e){try{if(this.report.calculationMode==a.StiCalculationMode.Compilation){var r;if(this.onGetImageURL(e),null!=(r=this.events.get(D.eventGetImageURL)))try{r(t,e)}catch(e){}}else{this.onGetImageURL(e);var n=o.Report.Engine.StiParser.StiParser.parseTextValue(this.imageURL,this,t),r;if(null!=n&&(e.value=n.toString()),null!=(r=this.events.get(D.eventGetImageURL)))try{r(t,e)}catch(e){}}}catch(t){var i=s.format("Expression in ImageURL property of '{0}' can't be evaluated!",this.name);a.StiLogService.write(this.stimulsoft.getType(),i),a.StiLogService.write(this.stimulsoft.getType(),t)}},Object.defineProperty(D.prototype,"getImageURLEvent",{get:function(){return new f(this)},set:function(t){null!=t&&t.set(this,t.script),this.events.set(D.eventGetImageURL,h.create(t.script,this.report))},enumerable:!1,configurable:!0}),D.prototype.onGetImageData=function(t){},D.prototype.invokeGetImageData=function(t,e){try{if(this.report.calculationMode==a.StiCalculationMode.Compilation){var r;if(this.onGetImageData(e),null!=(r=this.events.get(D.eventGetImageData)))try{r(t,e)}catch(e){}}else{this.onGetImageData(e);var n=o.Report.Engine.StiParser.StiParser.parseTextValue(this.imageData,this,t),r;if(null!=n&&n.stimulsoft.is(A)&&(e.value=n),null!=(r=this.events.get(D.eventGetImageData)))try{r(t,e)}catch(e){}}}catch(t){var i=s.format("Expression in ImageData property of '{0}' can't be evaluated!",this.name);a.StiLogService.write(this.stimulsoft.getType(),i),a.StiLogService.write(this.stimulsoft.getType(),t)}},Object.defineProperty(D.prototype,"getImageDataEvent",{get:function(){return new g(this)},set:function(t){null!=t&&t.set(this,t.script),this.events.set(D.eventGetImageData,p.create(t.script,this.report))},enumerable:!1,configurable:!0}),Object.defineProperty(D.prototype,"processingDuplicates",{get:function(){return this.properties.get(D.propertyProcessingDuplicates,l.StiImageProcessingDuplicatesType.None)},set:function(t){this.properties.set(D.propertyProcessingDuplicates,t,l.StiImageProcessingDuplicatesType.None)},enumerable:!1,configurable:!0}),Object.defineProperty(D.prototype,"imageRotation",{get:function(){return this._imageRotation},set:function(t){this._imageRotation=t},enumerable:!1,configurable:!0}),Object.defineProperty(D.prototype,"image",{get:function(){return this._image},set:function(t){this._image!=t&&(this._image=t,this.imageToDraw=this._image)},enumerable:!1,configurable:!0}),Object.defineProperty(D.prototype,"margins",{get:function(){return this.properties.get(D.propertyMargins,l.StiMargins.empty)},set:function(t){this.properties.set(D.propertyMargins,t,l.StiMargins.empty)},enumerable:!1,configurable:!0}),Object.defineProperty(D.prototype,"file",{get:function(){return this._file},set:function(t){if(this._file!=t&&(this._file=t,null==this.image))try{var e=this.getImageFromFile();this.imageToDraw=e}catch(t){o.System.StiError.showError(t)}},enumerable:!1,configurable:!0}),Object.defineProperty(D.prototype,"dataColumn",{get:function(){return this._dataColumn},set:function(t){this._dataColumn=t,this.imageToDraw=null},enumerable:!1,configurable:!0}),Object.defineProperty(D.prototype,"imageURL",{get:function(){return this._imageURL},set:function(t){this._imageURL=t,this.imageToDraw=null},enumerable:!1,configurable:!0}),Object.defineProperty(D.prototype,"imageData",{get:function(){return this._imageData},set:function(t){this._imageData=t,this.imageToDraw=null},enumerable:!1,configurable:!0}),D.prototype.convertImageMargins=function(t,e){var r=this.margins;if(r.isEmpty)return t;var n=this.page.zoom;e||(n=1);var i=r.left,o=r.right,e=r.top,r=r.bottom;return 0!=i&&(t.x+=i*n,t.width-=i*n),0!=e&&(t.y+=e*n,t.height-=e*n),0!=o&&(t.width-=o*n),0!=r&&(t.height-=r*n),t},D.propertyCanBreak=Math.random().toString().substr(2),D.eventGetImageURL={},D.eventGetImageData={},D.propertyProcessingDuplicates=Math.random().toString().substr(2),D.propertyMargins=Math.random().toString().substr(2),__decorate([o.System.enumType(l.StiImageRotation)],D.prototype,"imageRotation",null),E=D,l.StiImage=E}(Stimulsoft=Stimulsoft||{}),function(t){var e,r,n,i,o,a,s,l,u,c;function p(t){void 0===t&&(t=u.empty);var t=c.call(this,t)||this;return t._border=null,t._topSide=!0,t._leftSide=!0,t._bottomSide=!0,t._rightSide=!0,t}r=e=t.Report||(t.Report={}),i=n=r.Components||(r.Components={}),o=t.Base.JsonReportObject.IStiJsonReportObject,a=t.Base.Drawing.StiBorder,s=t.Base.Drawing.StiBorderSides,l=t.System.Drawing.Point,u=t.System.Drawing.Rectangle,c=i.StiCrossLinePrimitive,__extends(p,c),p.prototype.implements=function(){return c.prototype.implements.call(this).concat([i.IStiBorder,o])},p.prototype.saveToJsonObject=function(t){var t=c.prototype.saveToJsonObject.call(this,t);return t.addPropertyBool("TopSide",this.topSide,!0),t.addPropertyBool("LeftSide",this.leftSide,!0),t.addPropertyBool("BottomSide",this.bottomSide,!0),t.addPropertyBool("RightSide",this.rightSide,!0),t},p.prototype.loadFromJsonObject=function(t){var e,r;c.prototype.loadFromJsonObject.call(this,t);try{for(var n=__values(t.properties()),i=n.next();!i.done;i=n.next()){var o=i.value;switch(o.name){case"TopSide":this._topSide=o.value.stimulsoft.toBoolean();break;case"LeftSide":this._leftSide=o.value.stimulsoft.toBoolean();break;case"BottomSide":this._bottomSide=o.value.stimulsoft.toBoolean();break;case"RightSide":this._rightSide=o.value.stimulsoft.toBoolean();break}}}catch(t){e={error:t}}finally{try{i&&!i.done&&(r=n.return)&&r.call(n)}finally{if(e)throw e.error}}},p.prototype.loadFromXml=function(t,e){c.prototype.loadFromXml.call(this,t,e);for(var r=0;r<t.childNodes.length;r++){var n=t.childNodes[r];switch(n.nodeName){case"TopSide":this._topSide=n.textContent.stimulsoft.toBoolean();break;case"LeftSide":this._leftSide=n.textContent.stimulsoft.toBoolean();break;case"BottomSide":this._bottomSide=n.textContent.stimulsoft.toBoolean();break;case"RightSide":this._rightSide=n.textContent.stimulsoft.toBoolean();break}}},Object.defineProperty(p.prototype,"border",{get:function(){return null==this._border&&(this._border=new a(s.All,this.color,this.size,this.style,!1,0,null)),this._border},set:function(t){},enumerable:!1,configurable:!0}),p.prototype.convert=function(t,e,r){void 0===r&&(r=!1),null==this.getStartPoint()&&null==this.getEndPoint()&&c.prototype.convert.call(this,t,e,r)},Object.defineProperty(p.prototype,"width",{get:function(){var t=this.getStartPoint(),e=this.getEndPoint();if(null==t||null==e)return c.prototype.getWidth.call(this);var r=new l(t.left,t.top),n=new l(e.left,e.top),r=t.componentToPage(r),n=e.componentToPage(n);return Math.round2(n.x-r.x,2)},set:function(t){c.prototype.setWidth.call(this,t);var e=this.getStartPoint(),r=this.getEndPoint(),n,n,n,n;null!=e&&null!=r&&(n=new l(e.left,e.top),n=e.componentToPage(n),n=new l(n.x+t,n.y),n=r.pageToComponent(n),r.left=n.x)},enumerable:!1,configurable:!0}),Object.defineProperty(p.prototype,"topSide",{get:function(){return this._topSide},set:function(t){this._topSide=t},enumerable:!1,configurable:!0}),Object.defineProperty(p.prototype,"leftSide",{get:function(){return this._leftSide},set:function(t){this._leftSide=t},enumerable:!1,configurable:!0}),Object.defineProperty(p.prototype,"bottomSide",{get:function(){return this._bottomSide},set:function(t){this._bottomSide=t},enumerable:!1,configurable:!0}),Object.defineProperty(p.prototype,"rightSide",{get:function(){return this._rightSide},set:function(t){this._rightSide=t},enumerable:!1,configurable:!0}),p.prototype.createNew=function(){return new p},r=p,i.StiRectanglePrimitive=r}(Stimulsoft=Stimulsoft||{}),function(t){var e,r,n,t,i;function o(){return null!==i&&i.apply(this,arguments)||this}r=e=t.Report||(t.Report={}),t=n=r.Events||(r.Events={}),i=t.StiEvent,__extends(o,i),o.prototype.toString=function(){return"GetDataUrl"},r=o,t.StiGetDataUrlEvent=r}(Stimulsoft=Stimulsoft||{}),function(t){var e,i,r,o,n,a,s,l,u,c,p,h,m,d,g,f,t,S;function y(){var t=null!==S&&S.apply(this,arguments)||this;return t._border=new h,t._margins=new o.StiMargins(0,0,0,0),t._defaultFont=null,t._defaultColor=m.empty,t._wordWrap=!0,t._detectUrls=!0,t._backColor=m.white,t._dataColumn="",t._wysiwyg=!1,t._rightToLeft=!1,t._dataUrl="",t}i=e=t.Report||(t.Report={}),o=r=i.Components||(i.Components={}),n=t.Base.IStiGetFonts,a=t.System.StiArray,s=t.System.StiString,l=t.Base.JsonReportObject.IStiJsonReportObject,u=t.Report.Events.StiGetDataUrlEventHandler,c=t.Report.Events.StiGetDataUrlEvent,p=t.Report.Components.IStiEditable,h=t.Base.Drawing.StiBorder,m=t.System.Drawing.Color,d=t.Base.StiJsonReportObjectHelper,g=t.Report.Expressions.StiExpression,f=t.System.Text.StiReportObjectStringConverter,S=o.StiSimpleText,__extends(y,S),y.prototype.implements=function(){return y.implementsStiRichText||(y.implementsStiRichText=S.prototype.implements.call(this).concat([p,o.IStiBreakable,o.IStiBorder,i.IStiGlobalizationProvider,o.IStiBackColor,l,n])),y.implementsStiRichText},y.prototype.saveToJsonObject=function(t){var e=S.prototype.saveToJsonObject.call(this,t);return e.removeProperty("GlobalizedName"),e.removeProperty("LinesOfUnderline"),e.removeProperty("HideZeros"),e.removeProperty("ProcessingDuplicates"),e.removeProperty("MaxNumberOfLines"),e.addPropertyBool("CanBreak",this.canBreak,!1),e.addPropertyStringNullOrEmpty("Border",d.Serialize.jBorder(this.border)),e.addPropertyJObject("GetDataUrlEvent",this.getDataUrlEvent.saveToJsonObject(t)),e.addPropertyJObject("Margins",this.margins.saveToJsonObject(t,0,0,0,0)),e.addPropertyBool("WordWrap",this.wordWrap,!0),e.addPropertyBool("DetectUrls",this.detectUrls,!0),e.addPropertyStringNullOrEmpty("BackColor",d.Serialize.jColor(this.backColor,m.white)),e.addPropertyStringNullOrEmpty("DataColumn",this.dataColumn),e.addPropertyJObject("DataUrl",new g(this.dataUrl).saveToJsonObject(t)),e.addPropertyBool("Wysiwyg",this.wysiwyg),e.addPropertyBool("RightToLeft",this.rightToLeft),e},y.prototype.loadFromJsonObject=function(t){var e,r;S.prototype.loadFromJsonObject.call(this,t);try{for(var n=__values(t.properties()),i=n.next();!i.done;i=n.next()){var o=i.value;switch(o.name){case"CanBreak":this.canBreak=o.value.stimulsoft.toBoolean();break;case"Border":this.border=d.Deserialize.border(o.value);break;case"GetDataUrlEvent":var a=new c;a.loadFromJsonObject(o.value),this.getDataUrlEvent=a;break;case"Margins":this.margins.loadFromJsonObject(o.value);break;case"WordWrap":this.wordWrap=o.value.stimulsoft.toBoolean();break;case"DetectUrls":this.detectUrls=o.value.stimulsoft.toBoolean();break;case"BackColor":this.backColor=d.Deserialize.color(o.value);break;case"DataColumn":this.dataColumn=o.value.toString();break;case"DataUrl":var a=new g;a.loadFromJsonObject(o.value),this.dataUrl=a.value;break;case"FullConvertExpression":break;case"Wysiwyg":this.wysiwyg=o.value.stimulsoft.toBoolean();break;case"RightToLeft":this.rightToLeft=o.value.stimulsoft.toBoolean();break}}}catch(t){e={error:t}}finally{try{i&&!i.done&&(r=n.return)&&r.call(n)}finally{if(e)throw e.error}}},y.prototype.loadFromXml=function(t,e){S.prototype.loadFromXml.call(this,t,e);for(var r=0;r<t.childNodes.length;r++){var n=t.childNodes[r];switch(n.nodeName){case"CanBreak":this.canBreak=n.textContent.stimulsoft.toBoolean();break;case"Border":case"br":this.border=h.loadFromXml(n.textContent);break;case"GetDataUrlEvent":break;case"Margins":this.margins=o.StiMargins.loadFromXml(n);break;case"WordWrap":this.wordWrap=n.textContent.stimulsoft.toBoolean();break;case"DetectUrls":this.detectUrls=n.textContent.stimulsoft.toBoolean();break;case"BackColor":this.backColor=f.convertStringToColor(n.textContent);break;case"DataColumn":this.dataColumn=n.textContent;break;case"DataUrl":var i=new g;i.loadFromXml(n),this.dataUrl=i.value;break;case"FullConvertExpression":break;case"Wysiwyg":this.wysiwyg=n.textContent.stimulsoft.toBoolean();break;case"RightToLeft":this.rightToLeft=n.textContent.stimulsoft.toBoolean();break}}},Object.defineProperty(y.prototype,"canBreak",{get:function(){return this.properties.getBool(y.propertyCanBreak,!1)},set:function(t){this.properties.setBool(y.propertyCanBreak,t,!1)},enumerable:!1,configurable:!0}),y.prototype.clone=function(t){var t=S.prototype.clone.call(this,t);return null!=this._border?t._border=this._border.clone():t._border=null,t},y.prototype.onGetDataUrl=function(t){},y.prototype.invokeGetDataUrl=function(t,e){try{this.onGetDataUrl(e);var r=this.events.get(y.eventGetDataUrl);if(null!=r)try{r(t,e)}catch(e){}}catch(t){var n=s.format("Expression in DataUrl property of '{0}' can't be evaluated!",this.name);i.StiLogService.write(this.stimulsoft.getType(),n),i.StiLogService.write(this.stimulsoft.getType(),t)}},Object.defineProperty(y.prototype,"getDataUrlEvent",{get:function(){return new c(this)},set:function(t){null!=t&&t.set(this,t.script),this.events.set(y.eventGetDataUrl,u.create(t.script,this.report))},enumerable:!1,configurable:!0}),y.prototype.setString=function(t,e){if("Text"==t)this.setTextInternal(e);else if("ToolTip"==t)this.toolTip=e;else if("Tag"==t)this.tag=e;else{if("Hyperlink"!=t)throw s.format("Property with name {0}",t);this.hyperlink=e}},y.prototype.getString=function(t){if("Text"==t)return this.getTextInternal();if("Tag"==t)return this.tag;if("ToolTip"==t)return this.toolTip;if("Hyperlink"==t)return this.hyperlink;throw s.format("Property with name {0}",t)},y.prototype.getAllStrings=function(){var t=[];return StiOptions.Engine.Globalization.allowUseText&&t.push("Text"),StiOptions.Engine.Globalization.allowUseTag&&t.push("Tag"),StiOptions.Engine.Globalization.allowUseToolTip&&t.push("ToolTip"),StiOptions.Engine.Globalization.allowUseHyperlink&&t.push("Hyperlink"),t},Object.defineProperty(y.prototype,"border",{get:function(){return this._border},set:function(t){this._border=t},enumerable:!1,configurable:!0}),y.prototype.getFonts=function(){var t=S.prototype.getFonts.call(this);return a.distinct(t)},Object.defineProperty(y.prototype,"margins",{get:function(){return this._margins},set:function(t){this._margins=t},enumerable:!1,configurable:!0}),Object.defineProperty(y.prototype,"defaultFont",{get:function(){return this._defaultFont},set:function(t){this._defaultFont=t},enumerable:!1,configurable:!0}),Object.defineProperty(y.prototype,"defaultColor",{get:function(){return this._defaultColor},set:function(t){this._defaultColor=t},enumerable:!1,configurable:!0}),Object.defineProperty(y.prototype,"wordWrap",{get:function(){return this._wordWrap},set:function(t){this._wordWrap=t},enumerable:!1,configurable:!0}),Object.defineProperty(y.prototype,"detectUrls",{get:function(){return this._detectUrls},set:function(t){this._detectUrls=t},enumerable:!1,configurable:!0}),Object.defineProperty(y.prototype,"backColor",{get:function(){return this._backColor},set:function(t){this._backColor=t},enumerable:!1,configurable:!0}),Object.defineProperty(y.prototype,"dataColumn",{get:function(){return this._dataColumn},set:function(t){this._dataColumn=t},enumerable:!1,configurable:!0}),Object.defineProperty(y.prototype,"wysiwyg",{get:function(){return this._wysiwyg},set:function(t){this._wysiwyg=t},enumerable:!1,configurable:!0}),Object.defineProperty(y.prototype,"rightToLeft",{get:function(){return this._rightToLeft},set:function(t){this._rightToLeft=t},enumerable:!1,configurable:!0}),Object.defineProperty(y.prototype,"dataUrl",{get:function(){return this._dataUrl},set:function(t){this._dataUrl=t},enumerable:!1,configurable:!0}),y.notSupportedText="RichText is not supported in the JS component",y.propertyCanBreak=Math.random().toString().substr(2),y.eventGetDataUrl={},t=y,o.StiRichText=t}(Stimulsoft=Stimulsoft||{}),function(t){var e,r,n,i,o,a;function s(t){void 0===t&&(t=o.empty);var t=a.call(this,t)||this;return t._round=.2,t}r=e=t.Report||(t.Report={}),i=n=r.Components||(r.Components={}),o=t.System.Drawing.Rectangle,a=i.StiRectanglePrimitive,__extends(s,a),s.prototype.saveToJsonObject=function(t){var t=a.prototype.saveToJsonObject.call(this,t);return t.addPropertyNumber("Round",this.round,.2),t},s.prototype.loadFromJsonObject=function(t){var e,r;a.prototype.loadFromJsonObject.call(this,t);try{for(var n=__values(t.properties()),i=n.next();!i.done;i=n.next()){var o=i.value;switch(o.name){case"Round":this._round=o.value.stimulsoft.toNumber();break}}}catch(t){e={error:t}}finally{try{i&&!i.done&&(r=n.return)&&r.call(n)}finally{if(e)throw e.error}}},s.prototype.loadFromXml=function(t,e){a.prototype.loadFromXml.call(this,t,e);for(var r=0;r<t.childNodes.length;r++){var n=t.childNodes[r];switch(n.nodeName){case"Round":this._round=n.textContent.stimulsoft.toNumber();break}}},Object.defineProperty(s.prototype,"round",{get:function(){return this._round},set:function(t){0<t&&t<=.5&&(this._round=t)},enumerable:!1,configurable:!0}),s.prototype.createNew=function(){return new s},r=s,i.StiRoundedRectanglePrimitive=r}(Stimulsoft=Stimulsoft||{}),function(o){var t,a,e,s,l,r,u,c,p,i,n,h,m,d,g,f,S,y,A,b,C,v;function w(t){void 0===t&&(t=m.empty);var t=v.call(this,t)||this;return t._brush=new h,t._borderColor=n.black,t.defaultClientRectangle=new m(0,0,64,64),t._style=d.Solid,t._size=1,t._shapeType=new s.StiRectangleShapeType,t}a=t=o.Report||(o.Report={}),s=e=a.Components||(a.Components={}),l=o.System.NodeJs,r=o.Base.JsonReportObject.IStiJsonReportObject,u=o.System.Drawing.Image,c=o.System.Enum,p=o.Base.StiJsonReportObjectHelper,i=o.Base.Drawing.StiBrush,n=o.System.Drawing.Color,h=o.Base.Drawing.StiSolidBrush,m=o.System.Drawing.Rectangle,d=o.Base.Drawing.StiPenStyle,g=o.Report.Components.IStiBorderColor,f=o.Report.Components.IStiShape,S=o.System.Xml.XmlTextWriter,y=o.System.Text.Encoding,A=o.System.Drawing.Imaging.ImageFormat,b=o.System.StiString,v=s.StiComponent,__extends(w,v),w.prototype.implements=function(){return this._implementsStiShape||(this._implementsStiShape=v.prototype.implements.call(this).concat([s.IStiBrush,g,s.IStiExportImageExtended,s.IStiExportImage,f,r])),this._implementsStiShape},w.prototype.saveToJsonObject=function(t){var e=v.prototype.saveToJsonObject.call(this,t);return e.removeProperty("CanShrink"),e.removeProperty("CanGrow"),e.addPropertyStringNullOrEmpty("Brush",p.Serialize.jBrush(this.brush)),e.addPropertyStringNullOrEmpty("BorderColor",p.Serialize.jColor(this.borderColor,n.black)),e.addPropertyEnum("Style",d,this.style,d.Solid),e.addPropertyNumber("Size",this.size,1),e.addPropertyJObject("ShapeType",this.shapeType.saveToJsonObject(t)),e},w.prototype.loadFromJsonObject=function(t){var e,r;v.prototype.loadFromJsonObject.call(this,t);try{for(var n=__values(t.properties()),i=n.next();!i.done;i=n.next()){var o=i.value;switch(o.name){case"Brush":this._brush=p.Deserialize.brush(o.value);break;case"BorderColor":this._borderColor=p.Deserialize.color(o.value);break;case"Style":this._style=c.parse(d,o.value);break;case"Size":this._size=o.value.stimulsoft.toNumber();break;case"ShapeType":this._shapeType=s.StiShapeTypeService.loadFromJsonObjectInternal(o.value);break}}}catch(t){e={error:t}}finally{try{i&&!i.done&&(r=n.return)&&r.call(n)}finally{if(e)throw e.error}}},w.prototype.loadFromXml=function(t,e){v.prototype.loadFromXml.call(this,t,e);for(var r=0;r<t.childNodes.length;r++){var n=t.childNodes[r];switch(n.nodeName){case"Brush":case"bh":this._brush=i.loadFromXml(n.textContent);break;case"BorderColor":this._borderColor=o.System.Text.StiReportObjectStringConverter.convertStringToColor(n.textContent);break;case"Style":this._style=c.parse(d,n.textContent);break;case"Size":this._size=n.textContent.stimulsoft.toNumber();break;case"ShapeType":this._shapeType=s.StiShapeTypeService.convertFromXml(n),this._shapeType.loadFromXml(n);break}}},w.prototype.clone=function(t){var t=v.prototype.clone.call(this,t);return null!=this._shapeType?t._shapeType=this.shapeType.clone():t._shapeType=null,t},w.prototype.convert=function(t,e,r){void 0===r&&(r=!1),v.prototype.convert.call(this,t,e,r),this.shapeType.is(s.StiOctagonShapeType)&&(this.shapeType.bevel=e.convertFromHInches(t.convertToHInches(this.shapeType.bevel)))},w.prototype.getImage=function(t,e){void 0===e&&(e=a.StiExportFormat.None);var r=new u;if(!l.useWebKit)return r;var n=new o.Report.Export.StiSvgData;n.x=0,n.y=0,n.width=this.report.unit.convertToHInches(this.width),n.height=this.report.unit.convertToHInches(this.height),n.component=this;var i=new S(y.UTF8);o.Report.Export.StiSvgHelper.writeShape(i,n),i.flush();var e=document.createElement("canvas");e.width=n.width+10,e.height=n.height+10;var i=b.format('<svg xmlns="http://www.w3.org/2000/svg" style="width: {0}; height: {1}"><rect x="0" y="0" width="{0}" height="{1}" style="fill: white;"/>{2}</svg>',n.width+10,n.height+10,i.textWriter.getStringBuilder().toString());canvgv2(e,i);var e=e.toDataURL(A.Jpeg.mimeType,1);return r.base64=e,r},w.prototype.getImageAsync=function(t,e){return void 0===e&&(e=a.StiExportFormat.None),__awaiter(this,void 0,void 0,function(){var e,r,n,i,n,i;return __generator(this,function(t){if(e=new u,!l.useWebKit)return[2,e];return(r=new o.Report.Export.StiSvgData).x=0,r.y=0,r.width=this.report.unit.convertToHInches(this.width),r.height=this.report.unit.convertToHInches(this.height),r.component=this,n=new S(y.UTF8),o.Report.Export.StiSvgHelper.writeShape(n,r),n.flush(),(i=document.createElement("canvas")).width=r.width+10,i.height=r.height+10,n=b.format('<svg xmlns="http://www.w3.org/2000/svg" style="width: {0}; height: {1}"><rect x="0" y="0" width="{0}" height="{1}" style="fill: white;"/>{2}</svg>',r.width+10,r.height+10,n.textWriter.getStringBuilder().toString()),canvgv2(i,n),i=i.toDataURL(A.Jpeg.mimeType,1),e.base64=i,[2,e]})})},w.prototype.isExportAsImage=function(t){return!0},Object.defineProperty(w.prototype,"brush",{get:function(){return this._brush},set:function(t){this._brush=t},enumerable:!1,configurable:!0}),Object.defineProperty(w.prototype,"borderColor",{get:function(){return this._borderColor},set:function(t){this._borderColor=t},enumerable:!1,configurable:!0}),Object.defineProperty(w.prototype,"style",{get:function(){return this._style},set:function(t){this._style=t},enumerable:!1,configurable:!0}),Object.defineProperty(w.prototype,"size",{get:function(){return this._size},set:function(t){t!=this._size&&(this._size=t<1?1:t)},enumerable:!1,configurable:!0}),Object.defineProperty(w.prototype,"shapeType",{get:function(){return this._shapeType},set:function(t){this._shapeType=t},enumerable:!1,configurable:!0}),C=w,s.StiShape=C}(Stimulsoft=Stimulsoft||{}),function(t){var e,r,n,t,i;function o(){}r=e=t.Report||(t.Report={}),t=n=r.Dictionary||(r.Dictionary={}),r=i=t.Design||(t.Design={}),o.convertTypeToString=function(t){if(null!=t)return t.stimulsoft.getType().stimulsoft.getNetTypeName();return""},t=o,r.StiDataColumnConverter=t}(Stimulsoft=Stimulsoft||{}),function(h){var t,m,e,d,g,a,r,n,i,o,s,l,u,c,p;function f(t,e,r,n,i){void 0===t&&(t="Column"),void 0===e&&(e="Column"),void 0===r&&(r=e),void 0===n&&(n=String),void 0===i&&(i=null),this.dataColumnsCollection=null,this._index=0,this._nameInSource="Column",this.nameInSource=t,this.name=e,this.alias=r,this.type=n,this.index=-1,this.key=i}m=t=h.Report||(h.Report={}),d=e=m.Dictionary||(m.Dictionary={}),g=h.System.StiString,a=h.Base.StiTypeFinder,r=h.Report.Dictionary.Design.StiDataColumnConverter,n=h.System.ICloneable,i=h.Base.StiJson,o=h.Base.JsonReportObject.IStiJsonReportObject,s=h.Base.IStiAppDataColumn,l=h.Base.StiKeyHelper,u=h.Base.IStiAppAlias,f.prototype.implements=function(){return[o,s,u,n,m.IStiName,m.IStiInherited]},f.prototype.is=function(t){if(t instanceof h.System.Interface)return-1!=this.implements().indexOf(t);if("function"==typeof t)return this instanceof t;if(null==t)throw new Error("Type for comparison is 'undefined'");return!1},f.prototype.is2=function(t){return this.is(t)},f.prototype.as=function(t){if(this.is(t))return this;return null},f.prototype.saveToJsonObject=function(t){var e=new i;return e.addPropertyStringNullOrEmpty("Name",this.name),e.addPropertyNumber("Index",this.index),e.addPropertyStringNullOrEmpty("NameInSource",this.nameInSource),e.addPropertyStringNullOrEmpty("Alias",this.alias),e.addPropertyStringNullOrEmpty("Type",r.convertTypeToString(this.type)),e.addPropertyStringNullOrEmpty("Key",this.key),e},f.prototype.loadFromJsonObject=function(t){var e,r;try{for(var n=__values(t.properties()),i=n.next();!i.done;i=n.next()){var o=i.value;switch(o.name){case"Name":this._name=o.value;break;case"Index":this._index=o.value.stimulsoft.toNumber();break;case"NameInSource":this._nameInSource=o.value;break;case"Alias":this._alias=o.value;break;case"Type":try{this._type=a.getStiType(o.value)}catch(t){h.System.StiError.showError(t,!1)}break;case"Key":this._key=o.value;break}}}catch(t){e={error:t}}finally{try{i&&!i.done&&(r=n.return)&&r.call(n)}finally{if(e)throw e.error}}},f.prototype.loadFromXml=function(t){var e,r;try{for(var n=__values(t.childNodes),i=n.next();!i.done;i=n.next()){var o=i.value;switch(o.nodeName){case"Name":this._name=o.textContent;break;case"Index":this._index=o.textContent.stimulsoft.toNumber();break;case"NameInSource":this._nameInSource=o.textContent;break;case"Alias":this._alias=o.textContent;break;case"Type":try{this._type=a.getStiType(o.textContent)}catch(t){h.System.StiError.showError(t,!1)}break;case"Key":this._key=o.textContent;break}}}catch(t){e={error:t}}finally{try{i&&!i.done&&(r=n.return)&&r.call(n)}finally{if(e)throw e.error}}},f.prototype.clone=function(){return this.stimulsoft.memberwiseClone()},f.prototype.memberwiseClone=function(){var t;return new(this.stimulsoft.getType())},f.prototype.getNameInSource=function(){return this.nameInSource},f.prototype.getDataType=function(){return this.type},f.prototype.getName=function(){return this.name},f.prototype.getAlias=function(){return this.alias},f.prototype.getKey=function(){return this.key=l.getOrGeneratedKey(this.key),this.key},f.prototype.setKey=function(t){this.key=t},Object.defineProperty(f.prototype,"name",{get:function(){return this._name},set:function(t){null!=this.dataSource&&null!=this.dataSource.dictionary&&null!=this.dataSource.dictionary.report&&this.dataSource.dictionary.report.isDesigning&&StiOptions.Designer.autoCorrectDataColumnName&&(t=m.StiNameValidator.correctName(t)),this._name!=t&&(this._name==this._nameInSource&&(this._nameInSource=t),this._name==this._alias&&(this._alias=t),this._name=t)},enumerable:!1,configurable:!0}),Object.defineProperty(f.prototype,"inherited",{get:function(){if(null!=this.dataSource)return this.dataSource.inherited;return!1},set:function(t){},enumerable:!1,configurable:!0}),Object.defineProperty(f.prototype,"dataSource",{get:function(){return this._dataSource},set:function(t){this._dataSource=t},enumerable:!1,configurable:!0}),Object.defineProperty(f.prototype,"businessObject",{get:function(){return this._businessObject},set:function(t){this._businessObject=t},enumerable:!1,configurable:!0}),Object.defineProperty(f.prototype,"index",{get:function(){return this._index},set:function(t){this._index=t},enumerable:!1,configurable:!0}),Object.defineProperty(f.prototype,"nameInSource",{get:function(){return this._nameInSource},set:function(t){this._nameInSource!=t&&(this._nameInSource=t)},enumerable:!1,configurable:!0}),Object.defineProperty(f.prototype,"alias",{get:function(){return this._alias},set:function(t){this._alias=t},enumerable:!1,configurable:!0}),Object.defineProperty(f.prototype,"type",{get:function(){return this._type},set:function(t){this._type=t},enumerable:!1,configurable:!0}),Object.defineProperty(f.prototype,"key",{get:function(){return this._key},set:function(t){this._key=t},enumerable:!1,configurable:!0}),f.prototype.getColumnPath=function(){return g.format("{0}.{1}",this.dataSource.name,this.name)},f.prototype.toString=function(){if(StiOptions.Dictionary.showOnlyAliasForDataColumn)return this.alias;return name==this._alias||g.isNullOrEmpty(this._alias)?this.name:g.format("{0} [{1}]",this.name,this.alias)},f.getDataColumnFromColumnName=function(t,e,r){if(void 0===r&&(r=!1),null==e)return null;if(0==(e=e.trim()).length)return null;var n=e.split("."),i=t.dataSources.getByName(n[0]);if(null==i)return null;var o=n.length-1,a=1;while(0<o){if(!(2<=o))return i.columns.contains(n[a])?i.columns.getByName(n[a]):null;i=i.getParentDataSource(n[a],r),a++,o--}return null},f.getRelationName=function(t,e,r){var n,i;try{for(var o=__values(t.relations.list),a=o.next();!a.done;a=o.next()){var s=a.value;if(s.childSource==e&&s.name==r)return s.nameInSource}}catch(t){n={error:t}}finally{try{a&&!a.done&&(i=o.return)&&i.call(o)}finally{if(n)throw n.error}}return r},f.getDataFromBusinessObject=function(t,e){var r=e.split("."),n=t.businessObjects.getByName(r[0]);if(null==n)return null;var i=1;while(i<r.length){if(i==r.length-1)return n.getByName(r[i]);n=n.businessObjects.getByName(r[i]),i++}return null},f.getBusinessObjectFromDataColumn=function(t,e){var r=e.split("."),n=t.businessObjects.getByName(r[0]);if(null==n)return null;var i=1;while(i<r.length){if(i==r.length-1)return n;n=n.businessObjects.getByName(r[i]),i++}return null},f.getDataFromDataColumn=function(t,e,r){if(void 0===r&&(r=!0),null==e)return null;var n=e.split("."),i=t.dataSources.getByName(n[0]);if(null==i)return this.getDataFromBusinessObject(t,e);var o=null,a=n.length-1,s=1;while(0<a){if(!(2<=a)){if(null!=i){var l=null!=i.columns.getByName(n[s])?i.columns.getByName(n[s]).as(d.StiCalcDataColumn):null,u;if(null!=l){if(null!=t&&null!=t.report&&t.report.isDesigning)return null;if(null!=t&&null!=t.report&&t.report.calculationMode==m.StiCalculationMode.Interpretation){var c=new h.Report.Components.StiText,p;return c.name="**StiCalcDataColumn**",c.page=t.report.pages.getByIndex(0),h.Report.Engine.StiParser.StiParser.parseTextValue("{"+l.expression+"}",c)}var c=g.format("Get{0}_{1}",m.StiNameValidator.correctName(l.dataSource.name),m.StiNameValidator.correctName(l.name));if(Object.prototype.hasOwnProperty.call(t.report,c))return t.report[c](t.report,[])}}if(null!=o)return o.getByColumnName(n[s]);if(null==i)return null;return i.getByColumnName(n[s])}var c=n[s];r||(c=this.getRelationName(t,i,c)),o=(null==o?i:o).getParentData(c),i=i.getParentDataSource(c),s++,a--}},f.getDataSourceFromDataColumn=function(t,e){var e=e.split(".");return t.dataSources.getByName(e[0])},f.getColumnNameFromDataColumn=function(t,e){var r=e.split(".");return e.substr(r[0].length+1)},f.getDataListFromDataColumn=function(t,e,r,n){void 0===r&&(r=null),void 0===n&&(n=!1);var n=this.getDatasFromDataColumn(t,e,r,n);return null!=n?n:null},f.getDatasFromDataColumn=function(t,e,r,n){void 0===r&&(r=null),void 0===n&&(n=!1);var i=[],o=f.getDataSourceFromDataColumn(t,e);if(null!=o){n&&o.first();var a=0,s;while(!o.isEof){if(null!=(s=f.getDataFromDataColumn(t,e))&&i.push(s),o.next(),a++,null!=r&&r==a)break}o.first()}var l=f.getBusinessObjectFromDataColumn(t,e);if(null!=l){l.saveState("Totals"),l.createEnumerator();var a=0,s;while(!l.isEof){if(null!=(s=f.getDataFromDataColumn(t,e))&&i.push(s),l.next(),a++,null!=r&&r==a)break}l.restoreState("Totals")}return i},c=f,d.StiDataColumn=c,(p=p=p||{})[p["NameInSource"]=100]="NameInSource",p[p["Name"]=200]="Name",p[p["Alias"]=300]="Alias",p[p["Expression"]=400]="Expression",p[p["Type"]=500]="Type"}(Stimulsoft=Stimulsoft||{}),function(r){var t,e,n,i;function o(){}e=t=r.Report||(r.Report={}),i=n=e.Engine||(e.Engine={}),e=r.System.Collections.Hashtable,o.getBuilder=function(t){var e=this.typeToBuilder.get(t);if(null==e){if(r.Report.Chart.StiChartAssembly.isAssemblyLoaded&&(t===r.Report.Components["StiChart"]||t.prototype instanceof r.Report.Components["StiChart"]))e=new i.StiChartBuilder;else if(r.Report.Components["StiGauge"]&&(t===r.Report.Components["StiGauge"]||t.prototype instanceof r.Report.Components["StiGauge"]))e=new i.StiGaugeBuilder;else if(t===r.Report.Components.StiSparkline||t.prototype instanceof r.Report.Components.StiSparkline)e=new i.StiSparklineBuilder;else if(t===r.Report.Maps.StiMap||t.prototype instanceof r.Report.Maps.StiMap)e=new i.StiMapBuilder;else{if(t===r.Report.Components.StiClone||t.prototype instanceof r.Report.Components.StiClone)return new i.StiCloneBuilder;t===r.Report.Components.StiColumnFooterBand||t.prototype instanceof r.Report.Components.StiColumnFooterBand?e=new i.StiColumnFooterBandBuilder:t===r.Report.Components.StiColumnHeaderBand||t.prototype instanceof r.Report.Components.StiColumnHeaderBand?e=new i.StiColumnHeaderBandBuilder:t===r.Report.CrossTab.StiCrossTab||t.prototype instanceof r.Report.CrossTab.StiCrossTab?e=new i.StiCrossTabBuilder:t===r.Report.Components.StiHierarchicalBand||t.prototype instanceof r.Report.Components.StiHierarchicalBand?e=new i.StiHierarchicalBandBuilder:t===r.Report.Components.StiDataBand||t.prototype instanceof r.Report.Components.StiDataBand||t===r.Report.Components.StiCrossDataBand||t.prototype instanceof r.Report.Components.StiCrossDataBand||t===r.Report.Components.Table.StiTable||t.prototype instanceof r.Report.Components.Table.StiTable?e=new i.StiDataBandBuilder:t===r.Report.Components.StiFooterBand||t.prototype instanceof r.Report.Components.StiFooterBand||t===r.Report.Components.StiCrossFooterBand||t.prototype instanceof r.Report.Components.StiCrossFooterBand?e=new i.StiFooterBandBuilder:t===r.Report.Components.StiGroupFooterBand||t.prototype instanceof r.Report.Components.StiGroupFooterBand||t===r.Report.Components.StiCrossGroupFooterBand||t.prototype instanceof r.Report.Components.StiCrossGroupFooterBand?e=new i.StiGroupFooterBandBuilder:t===r.Report.Components.StiGroupHeaderBand||t.prototype instanceof r.Report.Components.StiGroupHeaderBand||t===r.Report.Components.StiCrossGroupHeaderBand||t.prototype instanceof r.Report.Components.StiCrossGroupHeaderBand?e=new i.StiGroupHeaderBandBuilder:t===r.Report.Components.StiHeaderBand||t.prototype instanceof r.Report.Components.StiHeaderBand||t===r.Report.Components.StiCrossHeaderBand||t.prototype instanceof r.Report.Components.StiCrossHeaderBand?e=new i.StiHeaderBandBuilder:t===r.Report.Components.StiImage||t.prototype instanceof r.Report.Components.StiImage||t===r.Report.Components.Table.StiTableCellImage||t.prototype instanceof r.Report.Components.Table.StiTableCellImage?e=new i.StiImageBuilder:t===r.Report.Components.StiPage||t.prototype instanceof r.Report.Components.StiPage?e=new i.StiPageBuilder:t===r.Report.Components.StiPointPrimitive||t.prototype instanceof r.Report.Components.StiPointPrimitive||t===r.Report.Components.StiEndPointPrimitive||t.prototype instanceof r.Report.Components.StiEndPointPrimitive||t===r.Report.Components.StiStartPointPrimitive||t.prototype instanceof r.Report.Components.StiStartPointPrimitive?e=new i.StiPointPrimitiveBuilder:t===r.Report.Components.StiVerticalLinePrimitive||t.prototype instanceof r.Report.Components.StiVerticalLinePrimitive||t===r.Report.Components.StiRoundedRectanglePrimitive||t.prototype instanceof r.Report.Components.StiRoundedRectanglePrimitive||t===r.Report.Components.StiRectanglePrimitive||t.prototype instanceof r.Report.Components.StiRectanglePrimitive?e=new i.StiCrossLinePrimitiveBuilder:t===r.Report.Components.StiSubReport||t.prototype instanceof r.Report.Components.StiSubReport?e=new i.StiSubReportBuilder:t===r.Report.Components.StiTextInCells||t.prototype instanceof r.Report.Components.StiTextInCells?e=new i.StiTextInCellsBuilder:t===r.Report.Components.StiSimpleText||t.prototype instanceof r.Report.Components.StiSimpleText||t===r.Report.Components.Table.StiTableCell||t.prototype instanceof r.Report.Components.Table.StiTableCell?e=new i.StiSimpleTextBuilder:t===r.Report.Components.StiView||t.prototype instanceof r.Report.Components.StiView?e=new i.StiViewBuilder:t===r.Report.Components.StiBand||t.prototype instanceof r.Report.Components.StiBand?e=new i.StiBandBuilder:t===r.Report.Components.StiContainer||t.prototype instanceof r.Report.Components.StiContainer?e=new i.StiContainerBuilder:(t===r.Report.Components.StiComponent||t.prototype instanceof r.Report.Components.StiComponent)&&(e=new i.StiComponentBuilder)}this.typeToBuilder.set(t,e)}return e},o.prototype.setReportVariables=function(t){},o.prototype.prepare=function(t){},o.prototype.unPrepare=function(t){},o.prototype.internalRenderAsync=function(t){return __awaiter(this,void 0,void 0,function(){return __generator(this,function(t){return[2,null]})})},o.prototype.internalRender=function(t){return null},o.prototype.renderAsync=function(t){return __awaiter(this,void 0,void 0,function(){return __generator(this,function(t){return[2,null]})})},o.prototype.render=function(t){return null},o.typeToBuilder=new e,e=o,i.StiBuilder=e}(Stimulsoft=Stimulsoft||{}),function(t){var e,t,r,i;function n(){}t=e=t.Report||(t.Report={}),i=r=t.Components||(t.Components={}),n.fillComponentPlacement=function(t){var e=t.parent;while(null!=e&&!e.is(i.StiPage)&&(!e.is(i.StiBand)||e.isCross))e=e.parent;if(null==e)return;if(e.is(i.StiPage)&&(StiOptions.Export.optimizeDataOnlyMode&&t.is(i.StiBand)?e=t.as(i.StiContainer):t.componentPlacement="p"),e.is(i.StiBand)){if(e.is(i.StiChildBand)&&null!=e.parent){var r=e.parent,n=r.components.indexOf(e);if(0<n){while(0<n&&(r.components.getByIndex(n).is(i.StiChildBand)||!r.components.getByIndex(n).is(i.StiBand)))n--;r.components.getByIndex(n).is(i.StiBand)&&(e=r.components.getByIndex(n))}}e.is(i.StiReportTitleBand)&&(t.componentPlacement="rt"),e.is(i.StiReportSummaryBand)&&(t.componentPlacement="rs"),e.is(i.StiPageHeaderBand)&&(t.componentPlacement="ph"),e.is(i.StiPageFooterBand)&&(t.componentPlacement="pf"),e.is(i.StiHeaderBand)&&(e.printOnAllPages?t.componentPlacement="h.ap":t.componentPlacement="h"),e.is(i.StiFooterBand)&&(e.printOnAllPages?t.componentPlacement="f.ap":t.componentPlacement="f"),e.is(i.StiDataBand)&&(t.componentPlacement="d"),e.is(i.StiGroupHeaderBand)&&(t.componentPlacement="gh"),e.is(i.StiGroupFooterBand)&&(t.componentPlacement="gf"),e.is(i.StiEmptyBand)&&(t.componentPlacement="e")}0<t.componentPlacement.length&&(t.parent.isCross?t.componentPlacement+="."+e.name:t.componentPlacement+="."+t.parent.name)},t=n,i.StiComponentHelper=t}(Stimulsoft=Stimulsoft||{}),function(o){var t,e,r,n,s,i,a,l,u;function c(){return null!==u&&u.apply(this,arguments)||this}e=t=o.Report||(o.Report={}),e=r=e.Styles||(e.Styles={}),s=n=e.Conditions||(e.Conditions={}),i=o.System.ICloneable,e=o.System.Collections.CollectionBase,a=o.Base.JsonReportObject.IStiJsonReportObject,l=o.Base.StiJson,__extends(c,u=e),c.prototype.implements=function(){return[i,a]},c.prototype.saveToJsonObject=function(t){var e,r;if(0==this.list.length)return null;var n=new l,i=0;try{for(var o=__values(this.list),a=o.next();!a.done;a=o.next()){var s=a.value;n.addPropertyJObject(i.toString(),s.saveToJsonObject(t)),i++}}catch(t){e={error:t}}finally{try{a&&!a.done&&(r=o.return)&&r.call(o)}finally{if(e)throw e.error}}return n},c.prototype.loadFromJsonObject=function(t){var e,r;try{for(var n=__values(t.properties()),i=n.next();!i.done;i=n.next()){var o=i.value,a=new s.StiStyleCondition;a.loadFromJsonObject(o.value),this.list.push(a)}}catch(t){e={error:t}}finally{try{i&&!i.done&&(r=n.return)&&r.call(n)}finally{if(e)throw e.error}}},c.prototype.loadFromXml=function(t){for(var e=0;e<t.childNodes.length;e++){var r=t.childNodes[e],n,i;if(null==r.attributes)continue;null!=r.attributes.getNamedItem("type")&&((i=new o.Report.Styles.Conditions.StiStyleCondition).loadFromXml(r),this.list.push(i))}},c.prototype.clone=function(){var e,t,r=new c;try{for(var n=__values(this.list),i=n.next();!i.done;i=n.next()){var o=i.value;r.add(o.clone())}}catch(t){e={error:t}}finally{try{i&&!i.done&&(t=n.return)&&t.call(n)}finally{if(e)throw e.error}}return r},c.prototype.add=function(t){var e;t.stimulsoft.is(s.StiStyleCondition)?this.list.push(t):((e=new s.StiStyleCondition).fromElements(t),this.add(e))},c.prototype.addRange=function(t){var e,r,n=t.stimulsoft.is(c)?t.list:t;try{for(var i=__values(n),o=i.next();!o.done;o=i.next()){var a=o.value;this.add(a)}}catch(t){e={error:t}}finally{try{o&&!o.done&&(r=i.return)&&r.call(i)}finally{if(e)throw e.error}}},e=c,s.StiStyleConditionsCollection=e}(Stimulsoft=Stimulsoft||{}),function(o){var t,a,e,s,r,l,u,c,p,n,i,h,m,d,g;function f(t,e,r){void 0===t&&(t=""),void 0===e&&(e=""),void 0===r&&(r=null);var n=g.call(this)||this;return n._collectionName="",n._conditions=null,n._description="",n._name="",n.report=null,n._name=t,n._description=e,n.report=r,n}a=t=o.Report||(o.Report={}),s=e=a.Styles||(a.Styles={}),r=o.System.StiString,l=o.Report.Chart.IStiChartStyle,u=o.System.Type,c=o.Report.Chart.IStiCustomStyle,p=o.Report.Chart.IStiChart,n=o.System.ICloneable,i=o.Report.Styles.Conditions.StiStyleConditionsCollection,h=o.Base.JsonReportObject.IStiJsonReportObject,m=o.Base.StiJson,d=o.Base.Services.StiService,__extends(f,g=d),f.prototype.implements=function(){return[n,h]},f.prototype.saveToJsonObject=function(t){var e=new m;return e.addPropertyIdent("Ident",this.stimulsoft.getType().stimulsoft.getTypeName()),e.addPropertyStringNullOrEmpty("CollectionName",this.collectionName),e.addPropertyJObject("Conditions",this.conditions.saveToJsonObject(t)),e.addPropertyStringNullOrEmpty("Description",this.description),e.addPropertyStringNullOrEmpty("Name",this.name),e},f.prototype.loadFromJsonObject=function(t){var e,r;try{for(var n=__values(t.properties()),i=n.next();!i.done;i=n.next()){var o=i.value;switch(o.name){case"CollectionName":this._collectionName=o.value;break;case"Conditions":this.conditions.loadFromJsonObject(o.value);break;case"Description":this._description=o.value;break;case"Name":this._name=o.value;break}}}catch(t){e={error:t}}finally{try{i&&!i.done&&(r=n.return)&&r.call(n)}finally{if(e)throw e.error}}},f.prototype.loadFromXml=function(t){for(var e=0;e<t.childNodes.length;e++){var r=t.childNodes[e];switch(r.nodeName){case"CollectionName":this._collectionName=r.textContent;break;case"Description":this._description=r.textContent;break;case"Name":this._name=r.textContent;break;case"Conditions":this.conditions.loadFromXml(r);break}}},f.prototype.clone=function(){var t=this.stimulsoft.memberwiseClone();return null!=this.conditions?t.conditions=this.conditions.clone():t.conditions=null,t},f.prototype.equals=function(t,e,r){if(void 0===e&&(e=!0),void 0===r&&(r=!0),this.is(s.StiStyle)){var n;if(null==(n=t.stimulsoft.as(s.StiStyle)))return!1;var i=this;if(!n.border.equals(i.border))return!1;if(!n.brush.equals(i.brush))return!1;if(!n.font.stimulsoft.equals(i.font))return!1;if(null==n.image&&null!=n.image)return!1;if(null!=n.image&&null==n.image)return!1;if(null!=n.image&&null!=i.image&&!n.image.stimulsoft.equals(i.image))return!1;if(!n.textBrush.equals(i.textBrush))return!1;if(n.collectionName!=i.collectionName)return!1;if(n.conditions!=i.conditions)return!1;if(n.allowUseBorderFormatting!=i.allowUseBorderFormatting)return!1;if(n.allowUseBorderSides!=i.allowUseBorderSides)return!1;if(n.allowUseBorderSidesFromLocation!=i.allowUseBorderSidesFromLocation)return!1;if(n.allowUseBrush!=i.allowUseBrush)return!1;if(n.allowUseFont!=i.allowUseFont)return!1;if(n.allowUseHorAlignment!=i.allowUseHorAlignment)return!1;if(n.allowUseImage!=i.allowUseImage)return!1;if(n.allowUseTextBrush!=i.allowUseTextBrush)return!1;if(n.allowUseVertAlignment!=i.allowUseVertAlignment)return!1;if(n.horAlignment!=i.horAlignment)return!1;if(n.vertAlignment!=i.vertAlignment)return!1;if(e&&n.name!=i.name)return!1;if(r&&n.description!=i.description)return!1;return!0}if(this.is(s.StiChartStyle)){var n;if(null==(n=t.stimulsoft.as(s.StiChartStyle)))return!1;var i=this;if(!n.border.equals(i.border))return!1;if(!n.brush.equals(i.brush))return!1;if(!n.basicStyleColor.equals(i.basicStyleColor))return!1;if(n.brushType!=i.brushType)return!1;if(!n.styleColors.stimulsoft.equals(i.styleColors))return!1;if(n.allowUseBorderFormatting!=i.allowUseBorderFormatting)return!1;if(n.allowUseBorderSides!=i.allowUseBorderSides)return!1;if(n.allowUseBrush!=i.allowUseBrush)return!1;if(e&&n.name!=i.name)return!1;if(r&&n.description!=i.description)return!1;return!0}if(this.is(a.StiIndicatorStyle)){var n;if(null==(n=t.stimulsoft.as(a.StiIndicatorStyle)))return!1;var i=this;if(!n.backColor.equals(i.backColor))return!1;if(!n.glyphColor.equals(i.glyphColor))return!1;if(!n.foreColor.equals(i.foreColor))return!1;if(!n.hotBackColor.equals(i.hotBackColor))return!1;if(!n.positiveColor.equals(i.positiveColor))return!1;if(!n.negativeColor.equals(i.negativeColor))return!1;if(e&&n.name!=i.name)return!1;if(r&&n.description!=i.description)return!1;return!0}if(this.is(a.StiProgressStyle)){var n;if(null==(n=t.stimulsoft.as(a.StiProgressStyle)))return!1;var i=this;if(!n.trackColor.equals(i.trackColor))return!1;if(!n.bandColor.equals(i.bandColor))return!1;if(!n.seriesColors.stimulsoft.equals(i.seriesColors))return!1;if(!n.foreColor.equals(i.foreColor))return!1;if(!n.backColor.equals(i.backColor))return!1;if(e&&n.name!=i.name)return!1;if(r&&n.description!=i.description)return!1;return!0}if(this.is(l)){var n;if(null==(n=t.stimulsoft.as(l)))return!1;var i=this;if(n.stimulsoft.is(c)&&i.stimulsoft.is(c))return n.core.reportStyleName==i.core.reportStyleName;if(n.stimulsoft.is(c)||i.stimulsoft.is(c))return!1;return u.getType(n)==u.getType(i)}if(this.is(o.Report.Styles.StiCrossTabStyle)){var n;if(null==(n=t.stimulsoft.as(o.Report.Styles.StiCrossTabStyle)))return!1;var i=this;if(!n.color.equals(i.color))return!1;if(e&&n.name!=i.name)return!1;if(r&&n.description!=i.description)return!1;return!0}if(this.is(a.StiTableStyle)){var n;if(null==(n=t.stimulsoft.as(a.StiTableStyle)))return!1;var i=this;if(!n.headerColor.equals(i.headerColor))return!1;if(!n.headerForeground.equals(i.headerForeground))return!1;if(!n.footerForeground.equals(i.footerForeground))return!1;if(!n.dataColor.equals(i.dataColor))return!1;if(!n.dataForeground.equals(i.dataForeground))return!1;if(!n.gridColor.equals(i.gridColor))return!1;if(e&&n.name!=i.name)return!1;if(r&&n.description!=i.description)return!1;return!0}if(this.is(a.StiGaugeStyle)){var n;if(null==(n=t.stimulsoft.as(a.StiGaugeStyle)))return!1;var i=this;if(!n.brush.equals(i.brush))return!1;if(!n.borderColor.equals(i.borderColor))return!1;if(!n.foreColor.equals(i.foreColor))return!1;if(n.borderWidth!=i.borderWidth)return!1;if(e&&n.name!=i.name)return!1;if(r&&n.description!=i.description)return!1;return!0}if(this.is(s.StiMapStyle)){var n;if(null==(n=t.stimulsoft.as(s.StiMapStyle)))return!1;var i=this;if(!n.colors.stimulsoft.equals(i.colors))return!1;if(!n.heatmapColors.stimulsoft.equals(i.heatmapColors))return!1;if(!n.defaultColor.equals(i.defaultColor))return!1;if(!n.backColor.equals(i.backColor))return!1;if(!n.labelForeground.equals(i.labelForeground))return!1;if(!n.labelShadowForeground.equals(i.labelShadowForeground))return!1;if(n.borderSize!=i.borderSize)return!1;if(!n.borderColor.equals(i.borderColor))return!1;if(e&&n.name!=i.name)return!1;if(r&&n.description!=i.description)return!1;return!0}if(this.is(s.StiDialogStyle)){var n;if(null==(n=t.stimulsoft.as(s.StiDialogStyle)))return!1;var i=this;if(!n.foreColor.equals(i.foreColor))return!1;if(!n.backColor.equals(i.backColor))return!1;if(n.allowUseFont!=i.allowUseFont)return!1;if(n.allowUseBackColor!=i.allowUseBackColor)return!1;if(n.allowUseForeColor!=i.allowUseForeColor)return!1;if(e&&n.name!=i.name)return!1;if(r&&n.description!=i.description)return!1;return!0}return!1},f.getStyle=function(t,e,r){var n;if(void 0===r&&(r=null),t.is(p))return t.style;t.is(o.Report.CrossTab.StiCrossTab),e&&!e.stimulsoft.is(f)||(r=e,e=a.StiStyleElements.All);var i=new s.StiStyle;return i.getStyleFromComponent(t,e,r),i},f.prototype.getStyleFromComponent=function(t,e){},f.prototype.setStyleToComponent=function(t){},f.prototype.getStyleFromComponents=function(t,e){for(var r=t.count-1;0<=r;r--)this.getStyleFromComponent(t.getByIndex(r),e)},f.prototype.toString=function(){if(r.isNullOrEmpty(this.description))return this.name;return this.description},Object.defineProperty(f.prototype,"collectionName",{get:function(){return this._collectionName},set:function(t){this._collectionName=t},enumerable:!1,configurable:!0}),Object.defineProperty(f.prototype,"conditions",{get:function(){return null==this._conditions&&(this._conditions=new i),this._conditions},set:function(t){this._conditions=t},enumerable:!1,configurable:!0}),Object.defineProperty(f.prototype,"description",{get:function(){return this._description},set:function(t){this._description=t},enumerable:!1,configurable:!0}),Object.defineProperty(f.prototype,"name",{get:function(){return this._name},set:function(t){if(null!=this.report&&this.report.isDesigning&&r.isNullOrWhiteSpace(t))throw new Error("ArgumentException()");this._name!=t&&null!=this.report&&this.report.renameStyle(this._name,t),this._name=t},enumerable:!1,configurable:!0}),Object.defineProperty(f.prototype,"dashboardName",{get:function(){return null},enumerable:!1,configurable:!0}),d=f,s.StiBaseStyle=d}(Stimulsoft=Stimulsoft||{}),function(e){var t,r,n,s,i,o,a,l,u,c,p,h,m,d,g,f,S,y,A,b,C,v;function w(){var t=v.call(this,new h(0,0,1,1))||this;return t.processCellEvent=new s.StiProcessCellEvent,t._mergeHeaders=!0,t.conditionPermissions=i.None,t.newGuid(),t.border.side=p.All,t.vertAlignment=b.Center,t.horAlignment=A.Center,t.restrictions=e.Report.Components.StiRestrictions.None|e.Report.Components.StiRestrictions.AllowMove|e.Report.Components.StiRestrictions.AllowResize|e.Report.Components.StiRestrictions.AllowSelect|e.Report.Components.StiRestrictions.AllowChange,t}r=t=e.Report||(e.Report={}),s=n=r.CrossTab||(r.CrossTab={}),i=e.Report.Components.StiConditionPermissions,o=e.System.StiString,a=e.Base.JsonReportObject.IStiJsonReportObject,l=e.Report.Components.StiText,u=e.Report.Components.StiRestrictions,c=e.Base.Localization.StiLocalization,p=e.Base.Drawing.StiBorderSides,h=e.System.Drawing.Rectangle,m=e.Report.Components.IStiBorder,d=e.Report.Components.IStiBrush,g=e.Report.Components.IStiFont,f=e.Report.Components.IStiTextBrush,S=e.Report.Components.IStiTextHorAlignment,y=e.Report.Components.IStiVertAlignment,A=e.Base.Drawing.StiTextHorAlignment,b=e.Base.Drawing.StiVertAlignment,C=e.Report.Components.IStiCrossTabField,__extends(w,v=l),w.prototype.implements=function(){return w.ImplementsStiCrossField||(w.ImplementsStiCrossField=v.prototype.implements.call(this).concat([S,y,m,g,d,f,C,a])),w.ImplementsStiCrossField},w.prototype.saveToJsonObject=function(t){var e=v.prototype.saveToJsonObject.call(this,t);return e.addPropertyEnum("HorAlignment",A,this.horAlignment,A.Center),e.addPropertyEnum("VertAlignment",b,this.vertAlignment,b.Center),e.removeProperty("ExcelValue"),e.removeProperty("PrintOn"),e.removeProperty("ExportAsImage"),e.removeProperty("ShrinkFontToFit"),e.removeProperty("ShrinkFontToFitMinimumSize"),e.removeProperty("Locked"),e.removeProperty("Linked"),e.removeProperty("CanBreak"),e.removeProperty("WYSIWYG"),e.removeProperty("Editable"),e.removeProperty("GlobalizedName"),e.removeProperty("LinesOfUnderline"),e.removeProperty("ProcessingDuplicates"),e.removeProperty("OnlyText"),e.removeProperty("ProcessAtEnd"),e.removeProperty("ProcessAt"),e.removeProperty("MaxNumberOfLines"),e.removeProperty("DockStyle"),e.removeProperty("GrowToHeight"),e.removeProperty("ShiftMode"),e.removeProperty("Left"),e.removeProperty("Top"),e.removeProperty("Width"),e.removeProperty("Height"),e.removeProperty("CanShrink"),e.removeProperty("CanGrow"),e.removeProperty("AutoWidth"),e.removeProperty("Printable"),e.removeProperty("Bookmark"),e.removeProperty("GetBookmarkEvent"),e.addPropertyJObject("ProcessCellEvent",this.processCellEvent.saveToJsonObject(t)),e.addPropertyBool("MergeHeaders",this.mergeHeaders,!0),e},w.prototype.loadFromJsonObject=function(t){var e,r;v.prototype.loadFromJsonObject.call(this,t);try{for(var n=__values(t.properties()),i=n.next();!i.done;i=n.next()){var o=i.value;switch(o.name){case"ProcessCellEvent":var a=new s.StiProcessCellEvent;a.loadFromJsonObject(o.value),this.processCellEvent=a;break;case"MergeHeaders":this._mergeHeaders=o.value.stimulsoft.toBoolean();break}}}catch(t){e={error:t}}finally{try{i&&!i.done&&(r=n.return)&&r.call(n)}finally{if(e)throw e.error}}},w.prototype.loadFromXml=function(t,e){v.prototype.loadFromXml.call(this,t,e);var e=t.getAttribute("Ref");!o.isNullOrEmpty(e)&&this.report.jsonLoaderHelper&&(this.report.jsonLoaderHelper.refNames[e.stimulsoft.toNumber()]=t.nodeName);for(var r=0;r<t.childNodes.length;r++){var n=t.childNodes[r];switch(n.nodeName){case"ProcessCellEvent":break;case"MergeHeaders":this._mergeHeaders=n.textContent.stimulsoft.toBoolean();break}}},Object.defineProperty(w.prototype,"defaultHorAlignment",{get:function(){return A.Center},enumerable:!1,configurable:!0}),Object.defineProperty(w.prototype,"locked",{get:function(){return this.isDesigning&&!this.report.isPageDesigner},set:function(t){},enumerable:!1,configurable:!0}),Object.defineProperty(w.prototype,"linked",{get:function(){return this.isDesigning&&!this.report.isPageDesigner},set:function(t){},enumerable:!1,configurable:!0}),w.prototype.onProcessCell=function(t){},w.prototype.invokeProcessCell=function(t){this.onProcessCell(t)},Object.defineProperty(w.prototype,"helpUrl",{get:function(){return null},enumerable:!1,configurable:!0}),w.prototype.toString=function(){return this.name},Object.defineProperty(w.prototype,"localizedCategory",{get:function(){return c.get("Report","CrossBands")},enumerable:!1,configurable:!0}),w.prototype.getRestrictions=function(){return null!=this.report&&this.report.isPageDesigner?v.prototype.getRestrictions.call(this)^u.AllowDelete:v.prototype.getRestrictions.call(this)},w.prototype.setRestrictions=function(t){e.Report.Components.StiRestrictionsHelper.isAllowDelete2(t)&&(t^=u.AllowDelete),v.prototype.setRestrictions.call(this,t)},w.prototype.getTextBoxFromField=function(){var t=new l;return t.border=this.border.clone(),t.brush=this.brush.clone(),t.font=this.font.clone(),t.textFormat=this.textFormat.clone(),t.textBrush=this.textBrush.clone(),t.textOptions=this.textOptions.clone(),t.horAlignment=this.horAlignment,t.vertAlignment=this.vertAlignment,t},Object.defineProperty(w.prototype,"cellText",{get:function(){return this.alias},enumerable:!1,configurable:!0}),Object.defineProperty(w.prototype,"mergeHeaders",{get:function(){return this._mergeHeaders},set:function(t){this._mergeHeaders=t},enumerable:!1,configurable:!0}),r=w,s.StiCrossField=r}(Stimulsoft=Stimulsoft||{}),function(C){var t,e,r,n,v,w,B,I,T,E,R,D,P,x,F,i,o;function a(){return null!==o&&o.apply(this,arguments)||this}e=t=C.Report||(C.Report={}),n=r=e.Engine||(e.Engine={}),v=C.Report.CrossTab.StiCrossField,w=C.System.Collections.Hashtable,B=C.Report.Styles.StiBaseStyle,I=C.System.EventArgs,T=C.Report.Components.StiSubReport,E=C.Base.Drawing.StiBorderSides,R=C.Report.Components.StiEmptyBand,D=C.Report.Components.IStiTextBrush,P=C.Report.Components.IStiFont,x=C.Report.Components.IStiBrush,F=C.Report.Components.IStiBorder,i=C.Report.Components.StiComponentHelper,o=n.StiBuilder,__extends(a,o),a.prototype.setReportVariables=function(t){},a.prototype.prepare=function(t){i.fillComponentPlacement(t),StiOptions.Engine.allowResetValuesAtComponent&&(t.tagValue=null,t.toolTipValue=null,t.bookmarkValue=null,t.hyperlinkValue=null)},a.prototype.unPrepare=function(t){},a.prototype.internalRenderAsync=function(e){return __awaiter(this,void 0,void 0,function(){return __generator(this,function(t){return[2,e.clone(!1)]})})},a.prototype.internalRender=function(t){return t.clone(!1)},a.prototype.renderAsync=function(b){return __awaiter(this,void 0,void 0,function(){var e,r,n,i,o,a,s,l,u,c,p,h,m,d,g,f,g,p,S,p,y,p,A;return __generator(this,function(t){switch(t.label){case 0:if(e=null,r=b.as(D),n=b.as(x),i=b.as(P),o=b.as(F),a=b.as(C.Report.Components.IStiTextHorAlignment),u=l=s=null,c=E.None,null!=r&&(s=r.textBrush),null!=n&&(l=n.brush),null!=i&&(u=i.font),null!=o&&null!=o.border&&(c=o.border.side),h=b.enabled,null!=a&&(p=a.horAlignment),m=b.report,d=!1,g=null,b.useParentStyles&&null!=b.parent&&(null!=m&&null!=m.engine&&null!=m.engine.hashParentStyles&&0<m.engine.hashParentStyles.count&&(g=m.engine.hashParentStyles.get(b.parent).as(B)),null==g&&(g=B.getStyle(b.parent)),null!=g&&(g.setStyleToComponent(b),d=!0,null!=(f=b.getComponentStyle2())&&f.setStyleToComponent(b))),b.invokeBeforePrint(b,I.empty),null!=m&&null!=m.engine&&m.engine.hashUseParentStyles.containsKey(b)&&(g=B.getStyle(b,g),null==m.engine.hashParentStyles&&(m.engine.hashParentStyles=new w),m.engine.hashParentStyles.set(b,g),d=!0),!b.isEnabled)return[3,2];return b.is(R)||b.doBookmark(),[4,b.internalRenderAsync()];case 1:return null!=(e=t.sent())&&(null==e.page?(e.page=b.page,e.invokeEvents(),e.page=null):e.invokeEvents()),[3,3];case 2:b.is(v)&&(b.as(v).disabledByCondition=!0),t.label=3;case 3:return b.invokeAfterPrint(b,I.empty),d&&null!=m.engine.hashParentStyles&&m.engine.hashParentStyles.remove(b),null!=r&&(r.textBrush=s),null!=n&&(n.brush=l),null!=i&&(i.font=u),null!=o&&null!=o.border&&(o.border.side=c),b.is(T)||(b.enabled=h),null!=a&&(a.horAlignment=p),null!=(p=b.as(F))&&null!=(S=e?e.as(F):null)&&p.border!=S.border&&p.border.equals(S.border)&&(S.border=p.border),null!=(p=b.as(x))&&null!=(y=e?e.as(x):null)&&p.brush!=y.brush&&p.brush.equals(y.brush)&&(y.brush=p.brush),null!=(p=b.as(D))&&null!=(A=e?e.as(D):null)&&p.textBrush!=A.textBrush&&p.textBrush.equals(A.textBrush)&&(A.textBrush=p.textBrush),b.isRendered=!0,[2,e]}})})},a.prototype.render=function(t){var e=null,r=t.as(D),n=t.as(x),i=t.as(P),o=t.as(F),a=t.as(C.Report.Components.IStiTextHorAlignment),s=null,l=null,u=null,c=E.None,p;null!=r&&(s=r.textBrush),null!=n&&(l=n.brush),null!=i&&(u=i.font),null!=o&&null!=o.border&&(c=o.border.side);var h=t.enabled;null!=a&&(p=a.horAlignment);var m=t.report,d=!1,g=null,f,g;t.useParentStyles&&null!=t.parent&&(null!=m&&null!=m.engine&&null!=m.engine.hashParentStyles&&0<m.engine.hashParentStyles.count&&(g=m.engine.hashParentStyles.get(t.parent).as(B)),null==g&&(g=B.getStyle(t.parent)),null!=g&&(g.setStyleToComponent(t),d=!0,null!=(f=t.getComponentStyle2())&&f.setStyleToComponent(t))),t.invokeBeforePrint(t,I.empty),null!=m&&null!=m.engine&&m.engine.hashUseParentStyles.containsKey(t)&&(g=B.getStyle(t,g),null==m.engine.hashParentStyles&&(m.engine.hashParentStyles=new w),m.engine.hashParentStyles.set(t,g),d=!0),t.isEnabled?(t.is(R)||t.doBookmark(),null!=(e=t.internalRender())&&(null==e.page?(e.page=t.page,e.invokeEvents(),e.page=null):e.invokeEvents())):t.is(v)&&(t.as(v).disabledByCondition=!0),t.invokeAfterPrint(t,I.empty),d&&null!=m.engine.hashParentStyles&&m.engine.hashParentStyles.remove(t),null!=r&&(r.textBrush=s),null!=n&&(n.brush=l),null!=i&&(i.font=u),null!=o&&null!=o.border&&(o.border.side=c),t.is(T)||(t.enabled=h),null!=a&&(a.horAlignment=p);var a=t.as(F),p;null==a||null!=(p=e?e.as(F):null)&&a.border!=p.border&&a.border.equals(p.border)&&(p.border=a.border);var a=t.as(x),S;null==a||null!=(S=e?e.as(x):null)&&a.brush!=S.brush&&a.brush.equals(S.brush)&&(S.brush=a.brush);var S=t.as(D),a;return null==S||null!=(a=e?e.as(D):null)&&S.textBrush!=a.textBrush&&S.textBrush.equals(a.textBrush)&&(a.textBrush=S.textBrush),t.isRendered=!0,e},e=a,n.StiComponentBuilder=e}(Stimulsoft=Stimulsoft||{}),function(i){var t,e,r,n,l,u,c,p,h,o;function a(){return null!==o&&o.apply(this,arguments)||this}e=t=i.Report||(i.Report={}),n=r=e.Engine||(e.Engine={}),l=i.Data.Extensions.ListExt,u=i.Base.Helpers.StiValueHelper,c=i.System.StiArray,p=i.Report.Dictionary.StiDataColumn,h=i.System.StiString,o=n.StiComponentBuilder,__extends(a,o),a.prototype.prepare=function(t){o.prototype.prepare.call(this,t),(t.height>t.page.height||t.height>t.parent.height)&&(t.height=Math.min(t.page.height,t.parent.height))},a.prototype.internalRender=function(t){var e=t.as(i.Report.Components.StiSparkline),t=e.clone(!0);return t.values=a.getValuesFromValueDataColumn(e),t},a.prototype.internalRenderAsync=function(n){return __awaiter(this,void 0,void 0,function(){var e,r;return __generator(this,function(t){return e=n.as(i.Report.Components.StiSparkline),(r=e.clone(!0)).values=a.getValuesFromValueDataColumn(e),[2,r]})})},a.getValuesFromValueDataColumn=function(t,e){if(void 0===e&&(e=0),h.isNullOrWhiteSpace(t.valueDataColumn))return null;var r=t.getDataSource();if(null!=r){var n=p.getDataColumnFromColumnName(t.report.dictionary,t.valueDataColumn);if(null!=n&&Array.isArray(n))return l.toNumberArray(r[n.name]);r.saveState("SparklineRender_DataColumn"),h.isNullOrWhiteSpace(t.dataRelationName)||r.setDetails(t.dataRelationName);var i=c.create(Number,r.count);r.first();for(var o=0;o<r.count;o++){var a=p.getDataFromDataColumn(t.report.dictionary,t.valueDataColumn);if(i[o]=u.tryToNumber(a),0<e&&e<o)break;r.next()}return r.restoreState("SparklineRender_DataColumn"),i}var s=p.getBusinessObjectFromDataColumn(t.report.dictionary,t.valueDataColumn);if(null!=s){s.saveState("ChartRender_DataColumn");var i=c.create(Number,s.count);s.first();for(var o=0;o<s.count;o++){var a=p.getDataFromBusinessObject(t.report.dictionary,t.valueDataColumn);if(i[o]=u.tryToNumber(a),0<e&&e<o)break;s.next()}return s.restoreState("SparklineRender_DataColumn"),i}return null},e=a,n.StiSparklineBuilder=e}(Stimulsoft=Stimulsoft||{}),function(e){var t,r,n,a,i,o,s,l,u,c,p,h,m,d,g,f,S,y,A,b,C,v;function w(t){var t=v.call(this,t)||this;return t.dataRelationName="",t.brush=new b,t.border=new u,t.defaultClientRectangle=new d(0,0,100,30),t.toolboxCategory=function(){return a.StiToolboxCategory.Components},t.helpUrl=function(){return"user-manual/index.html?report_internals_sparkline.htm"},t.createNew=function(){return new w},t._valueDataColumn="",t.type=a.StiSparklineType.Area,t.showHighLowPoints=!1,t.showFirstLastPoints=!0,t.positiveColor=c.fromHtml("537eb6"),t.negativeColor=c.fromHtml("ff0000"),t.placeOnToolbox=!1,t}r=t=e.Report||(e.Report={}),a=n=r.Components||(r.Components={}),i=e.Report.Engine.StiSparklineBuilder,o=e.System.Text.StiReportObjectStringConverter,s=e.Base.Helpers.StiValueHelper,l=e.Report.Dictionary.StiDataColumn,u=e.Base.Drawing.StiBorder,c=e.System.Drawing.ColorTranslator,p=e.System.StiString,h=e.System.Enum,m=e.Base.StiJsonSaveMode,d=e.System.Drawing.Rectangle,g=e.Base.Drawing.StiBrush,f=e.Base.StiJsonReportObjectHelper,S=e.Report.StiComponentId,y=e.Report.Components.StiComponent,A=e.Base.Localization.StiLocalization,b=e.Base.Drawing.StiSolidBrush,C=e.Report.Components.StiComponentToolboxPosition,__extends(w,v=y),w.prototype.implements=function(){return w.implementsStiSparkline||(w.implementsStiSparkline=v.prototype.implements.call(this).concat([a.IStiExportImageExtended,a.IStiDataRelation,a.IStiBorder,a.IStiBrush])),w.implementsStiSparkline},w.prototype.saveToJsonObject=function(t){var e=v.prototype.saveToJsonObject.call(this,t);return e.removeProperty("CanShrink"),e.removeProperty("CanGrow"),e.addPropertyStringNullOrEmpty("DataRelationName",this.dataRelationName),e.addPropertyStringNullOrEmpty("Brush",f.Serialize.jBrush(this.brush)),e.addPropertyStringNullOrEmpty("Border",f.Serialize.jBorder(this.border)),e.addPropertyStringNullOrEmpty("ValueDataColumn",this.valueDataColumn),e.addPropertyEnum("Type",a.StiSparklineType,this.type,a.StiSparklineType.Area),e.addPropertyBool("ShowHighLowPoints",this.showHighLowPoints,!1),e.addPropertyBool("ShowFirstLastPoints",this.showFirstLastPoints,!0),e.addPropertyStringNullOrEmpty("PositiveColor",f.Serialize.jColor(this.positiveColor,c.fromHtml("537eb6"))),e.addPropertyStringNullOrEmpty("NegativeColor",f.Serialize.jColor(this.negativeColor,c.fromHtml("ff0000"))),t==m.Document&&e.addPropertyStringNullOrEmpty("ValuesContainer",this.valuesContainer),e},w.prototype.loadFromJsonObject=function(t){var e,r;v.prototype.loadFromJsonObject.call(this,t);try{for(var n=__values(t.properties()),i=n.next();!i.done;i=n.next()){var o=i.value;switch(o.name){case"DataRelationName":this.dataRelationName=o.value.toString();break;case"Brush":this.brush=f.Deserialize.brush(o.value);break;case"Border":this.border=f.Deserialize.border(o.value);break;case"ValueDataColumn":this.valueDataColumn=o.value.toString();break;case"Type":this.type=h.parse(a.StiSparklineType,o.value.toString());break;case"ShowHighLowPoints":this.showHighLowPoints=o.value.stimulsoft.toBoolean();break;case"ShowFirstLastPoints":this.showFirstLastPoints=o.value.stimulsoft.toBoolean();break;case"PositiveColor":this.positiveColor=f.Deserialize.color(o.value.toString());break;case"NegativeColor":this.negativeColor=f.Deserialize.color(o.value.toString());break;case"ValuesContainer":this.valuesContainer=o.value.toString();break}}}catch(t){e={error:t}}finally{try{i&&!i.done&&(r=n.return)&&r.call(n)}finally{if(e)throw e.error}}},w.prototype.loadFromXml=function(t,e){v.prototype.loadFromXml.call(this,t,e);for(var r=0;r<t.childNodes.length;r++){var n=t.childNodes[r];switch(n.nodeName){case"DataRelationName":this.dataRelationName=n.textContent;break;case"Brush":this.brush=g.loadFromXml(n.textContent);break;case"Border":case"br":this.border=u.loadFromXml(n.textContent);break;case"ValueDataColumn":this.valueDataColumn=n.textContent;break;case"Type":this.type=h.parse(a.StiSparklineType,n.textContent);break;case"ShowHighLowPoints":this.showHighLowPoints=n.textContent.stimulsoft.toBoolean();break;case"ShowFirstLastPoints":this.showFirstLastPoints=n.textContent.stimulsoft.toBoolean();break;case"PositiveColor":this.positiveColor=o.convertStringToColor(n.textContent);break;case"NegativeColor":this.negativeColor=o.convertStringToColor(n.textContent);break;case"ValuesContainer":this.valuesContainer=n.textContent;break}}},Object.defineProperty(w.prototype,"componentId",{get:function(){return S.StiSparkline},enumerable:!1,configurable:!0}),Object.defineProperty(w.prototype,"dataRelation",{get:function(){if(null==this.page||null==this.report||null==this.report.dictionary||null==this.report.dictionary.relations||null==this.dataRelationName||0==this.dataRelationName.length)return null;return this.report.dictionary.relations.getByName(this.dataRelationName)},enumerable:!1,configurable:!0}),w.prototype.getImage=function(t){return t.ref=1,this.getImage2()},w.prototype.getImage2=function(){var t=new r.Export.StiSvgData;return t.component=this,t.x=0,t.y=0,t.width=this.report.unit.convertToHInches(this.width),t.height=this.report.unit.convertToHInches(this.height),e.Report.Export.StiSparklineSvgHelper.getImage(t)},w.prototype.isExportAsImage=function(t){if(t==r.StiExportFormat.Html)return!1;if(t==r.StiExportFormat.ImageSvg)return!1;if(t==r.StiExportFormat.Pdf)return!1;return!0},w.prototype.clone=function(t){var t,t,e=v.prototype.clone.call(this,t);return e.border=null===(t=this.border)||void 0===t?void 0:t.clone(),e.brush=null===(t=this.brush)||void 0===t?void 0:t.clone(),e},Object.defineProperty(w.prototype,"priority",{get:function(){return a.StiComponentPriority.Component},enumerable:!1,configurable:!0}),Object.defineProperty(w.prototype,"localizedCategory",{get:function(){return A.get("Report","Components")},enumerable:!1,configurable:!0}),Object.defineProperty(w.prototype,"componentType",{get:function(){return a.StiComponentType.Simple},enumerable:!1,configurable:!0}),Object.defineProperty(w.prototype,"toolboxPosition",{get:function(){return C.Sparkline},enumerable:!1,configurable:!0}),Object.defineProperty(w.prototype,"localizedName",{get:function(){return A.get("Components","StiSparkline")},enumerable:!1,configurable:!0}),w.prototype.fetchValues=function(){var t,t;return null==this.values&&this.report.isDesigning&&(null!=(t=i.getValuesFromValueDataColumn(this,10))&&0<t.length?this.values=t:this.values=[1,2,3,6,3,2,7,4,2,-3,-5].stimulsoft.toList()),null===(t=this.values)||void 0===t?void 0:t.stimulsoft.toList()},w.prototype.getDataSource=function(){return l.getDataSourceFromDataColumn(this.report.dictionary,this.valueDataColumn)},Object.defineProperty(w.prototype,"valueDataColumn",{get:function(){return this._valueDataColumn},set:function(t){this._valueDataColumn=t,this.values=null},enumerable:!1,configurable:!0}),Object.defineProperty(w.prototype,"valuesContainer",{get:function(){return null!=this.values?p.join(";",this.values.stimulsoft.toList().select(function(t){return s.tryToString(t)}).stimulsoft.toArray()):null},set:function(t){var t;null==t||0==t.trim().length?this.values=null:(t=t.split(";"),this.values=t.stimulsoft.toList().select(function(t){return s.tryToNumber(t)}).stimulsoft.toArray())},enumerable:!1,configurable:!0}),y=w,a.StiSparkline=y}(Stimulsoft=Stimulsoft||{}),function(t){var e,r,n,i,o,t,a;function s(t){return void 0===t&&(t=o.empty),a.call(this,t)||this}r=e=t.Report||(t.Report={}),i=n=r.Components||(r.Components={}),o=t.System.Drawing.Rectangle,a=i.StiPointPrimitive,__extends(s,a),Object.defineProperty(s.prototype,"componentId",{get:function(){return r.StiComponentId.StiStartPointPrimitive},enumerable:!1,configurable:!0}),t=s,i.StiStartPointPrimitive=t}(Stimulsoft=Stimulsoft||{}),function(n){var t,H,e,Q,L,r,i,o,a,s,l,Y,U,J,W,u,c,p,V,z,h,m;function d(t,e){void 0===t&&(t=W.empty),void 0===e&&(e="");var t=m.call(this,t)||this;return t.textBrush=new o(a.black),t.brush=new o(a.white),t.border.side=u.All,t.border.color=a.black,t.border.size=2,t.setTextInternal(e),t.placeOnToolbox=!1,t.font=new c("Arial",14,p.Bold),t}H=t=n.Report||(n.Report={}),Q=e=H.Components||(H.Components={}),L=n.System.StiString,r=n.Base.JsonReportObject.IStiJsonReportObject,i=n.Report.Components.IStiEditable,o=n.Base.Drawing.StiSolidBrush,a=n.System.Drawing.Color,s=n.Base.StiJsonReportObjectHelper,l=n.System.Drawing.Size,Y=n.System.Drawing.Size,U=n.System.Collections.List,J=n.System.Char,W=n.System.Drawing.Rectangle,u=n.Base.Drawing.StiBorderSides,c=n.System.Drawing.Font,p=n.System.Drawing.FontStyle,V=n.Base.Drawing.StiTextHorAlignment,z=n.Base.Drawing.StiVertAlignment,m=Q.StiText,__extends(d,m),d.prototype.implements=function(){return d.ImplementsTextInCells||(d.ImplementsTextInCells=m.prototype.implements.call(this).concat([Q.IStiTextOptions,Q.IStiAutoWidth,Q.IStiTextHorAlignment,Q.IStiVertAlignment,Q.IStiBorder,Q.IStiFont,Q.IStiBrush,Q.IStiTextBrush,Q.IStiBreakable,H.IStiGlobalizationProvider,i,r])),d.ImplementsTextInCells},d.prototype.saveToJsonObject=function(t){var t=m.prototype.saveToJsonObject.call(this,t);return t.removeProperty("VertAlignment"),t.removeProperty("AutoWidth"),t.removeProperty("CanShrink"),t.removeProperty("AllowHtmlTags"),t.removeProperty("ShrinkFontToFit"),t.removeProperty("ShrinkFontToFitMinimumSize"),t.removeProperty("Angle"),t.removeProperty("LinesOfUnderline"),t.removeProperty("MaxNumberOfLines"),t.removeProperty("ProcessingDuplicates"),t.removeProperty("RenderTo"),t.removeProperty("TextQuality"),t.removeProperty("ExcelValue"),t.removeProperty("Font"),t.addPropertyStringNullOrEmpty("Font",s.Serialize.font(this.font,"Arial",14,p.Bold)),t.addPropertyNumber("CellWidth",this.cellWidth,0),t.addPropertyNumber("CellHeight",this.cellHeight,0),t.addPropertyNumber("HorSpacing",this.horSpacing,0),t.addPropertyNumber("VertSpacing",this.vertSpacing,0),t.addPropertyBool("WordWrap",this.wordWrap),t.addPropertyBool("RightToLeft",this.rightToLeft),t.addPropertyBool("ContinuousText",this.continuousText,!0),t},d.prototype.loadFromJsonObject=function(t){var e,r;m.prototype.loadFromJsonObject.call(this,t);try{for(var n=__values(t.properties()),i=n.next();!i.done;i=n.next()){var o=i.value;switch(o.name){case"CellWidth":this.cellWidth=o.value.value.stimulsoft.toNumber();break;case"CellHeight":this.cellHeight=o.value.value.stimulsoft.toNumber();break;case"HorSpacing":this.horSpacing=o.value.value.stimulsoft.toNumber();break;case"VertSpacing":this.vertSpacing=o.value.value.stimulsoft.toNumber();break;case"WordWrap":this.wordWrap=o.value.stimulsoft.toBoolean();break;case"RightToLeft":this.rightToLeft=o.value.stimulsoft.toBoolean();break;case"ContinuousText":this.continuousText=o.value.stimulsoft.toBoolean();break}}}catch(t){e={error:t}}finally{try{i&&!i.done&&(r=n.return)&&r.call(n)}finally{if(e)throw e.error}}},d.prototype.loadFromXml=function(t,e){m.prototype.loadFromXml.call(this,t,e);for(var r=0;r<t.childNodes.length;r++){var n=t.childNodes[r];switch(n.nodeName){case"CellWidth":this.cellWidth=n.textContent.stimulsoft.toNumber();break;case"CellHeight":this.cellHeight=n.textContent.stimulsoft.toNumber();break;case"HorSpacing":this.horSpacing=n.textContent.stimulsoft.toNumber();break;case"VertSpacing":this.vertSpacing=n.textContent.stimulsoft.toNumber();break;case"WordWrap":this.wordWrap=n.textContent.stimulsoft.toBoolean();break;case"RightToLeft":this.rightToLeft=n.textContent.stimulsoft.toBoolean();break;case"ContinuousText":this.continuousText=n.textContent.stimulsoft.toBoolean();break}}},d.prototype.getImage=function(t,e){var r;return void 0===e&&(e=H.StiExportFormat.None),n.Report.Painters.StiPainter.getPainter(this.stimulsoft.getType()).getImage(this,t,e)},d.prototype.convert=function(t,e,r){void 0===r&&(r=!1),m.prototype.convert.call(this,t,e,r),this.cellWidth=e.convertFromHInches(t.convertToHInches(this.cellWidth)),this.cellHeight=e.convertFromHInches(t.convertToHInches(this.cellHeight)),this.horSpacing=e.convertFromHInches(t.convertToHInches(this.horSpacing)),this.vertSpacing=e.convertFromHInches(t.convertToHInches(this.vertSpacing))},Object.defineProperty(d.prototype,"cellWidth",{get:function(){return this.properties.getNumber(d.propertyCellWidth,0)},set:function(t){this.properties.setNumber(d.propertyCellWidth,t,0)},enumerable:!1,configurable:!0}),Object.defineProperty(d.prototype,"cellHeight",{get:function(){return this.properties.getNumber(d.propertyCellHeight,0)},set:function(t){t<0?this.properties.setNumber(d.propertyCellHeight,0,0):this.properties.setNumber(d.propertyCellHeight,t,0)},enumerable:!1,configurable:!0}),Object.defineProperty(d.prototype,"horSpacing",{get:function(){return this.properties.getNumber(d.propertyHorSpacing,0)},set:function(t){t<0?this.properties.setNumber(d.propertyHorSpacing,0,0):this.properties.setNumber(d.propertyHorSpacing,t,0)},enumerable:!1,configurable:!0}),Object.defineProperty(d.prototype,"vertSpacing",{get:function(){return this.properties.getNumber(d.propertyVertSpacing,0)},set:function(t){t<0?this.properties.setNumber(d.propertyVertSpacing,0,0):this.properties.setNumber(d.propertyVertSpacing,t,0)},enumerable:!1,configurable:!0}),Object.defineProperty(d.prototype,"wordWrap",{get:function(){return this.textOptions.wordWrap},set:function(t){this.textOptions.wordWrap=t},enumerable:!1,configurable:!0}),Object.defineProperty(d.prototype,"rightToLeft",{get:function(){return this.textOptions.rightToLeft},set:function(t){this.textOptions.rightToLeft=t},enumerable:!1,configurable:!0}),Object.defineProperty(d.prototype,"continuousText",{get:function(){return this.properties.getBool(d.propertyContinuousText,!1)},set:function(t){this.properties.setBool(d.propertyContinuousText,t,!1)},enumerable:!1,configurable:!0}),d.prototype.getActualSize=function(){return new l(this.width,this.height)},d.splitByCells=function(t,e,r){return this.splitByCells2(t,e,r,!1)},d.splitByCells2=function(t,e,r,n){var i=new Q.StiContainer;i.clientRectangle=e.clientRectangle,i.name=e.name,i.canGrow=e.canGrow;var o=i.clientRectangle;o.x=0,o.y=0;var a=t.page.unit,s=a.convertFromHInches(t.border.size/2*t.page.zoom),l=t.horSpacing,u=t.vertSpacing,c=t.cellWidth,p=t.cellHeight,h=t.border.isLeftBorderSidePresent||t.border.isRightBorderSidePresent;if(0==t.cellWidth&&(c=a.convertFromHInches(2.4*t.font.getHeight()*H.StiDpiHelper.deviceCapsScale+(h?t.border.size:0))),0==t.cellHeight&&(p=a.convertFromHInches(2.4*t.font.getHeight()*H.StiDpiHelper.deviceCapsScale)),t.continuousText){var m=o.x+s,d=o.y+s,g=!0,f=0;while(1==1){var S=Math.round2(m,2),y=Math.round2(d,2),A=Math.round2(m+c,2)-S,b=Math.round2(d+p,2)-y,C,v;if((C=new W(S,y,A,b)).right+l<o.right||g){(v=e.clone()).clientRectangle=C,v.horAlignment=V.Center,v.vertAlignment=z.Center,v.wordWrap=!1,i.components.add(v);var w="";null!=r&&f<r.length&&(w=r[f]),v.setTextInternal(w),m+=c+l,f++,g=!1}else{if(d+=p+u,m=o.x+s,g=!0,!t.wordWrap)break;if(n&&t.canGrow){if(f>=r.length)break}else if(o.bottom<d+p+u)break}}}else{var B=new Y(1,1),m=o.x+s+c;while(m+l+c<o.right)m+=l+c,B.width++;var d=o.y+s+p;while(d+u+p<o.bottom)d+=u+p,B.height++;t.wordWrap||(B.height=1);var I=new U,T="";if(null!=r)for(var E=0;E<r.length;E++){var b=r[E];J.isControl(b)?"\n"==b&&(I.add(Q.StiTextInCellsHelper.trimEndWhiteSpace(T)),T=""):T+=b}if(""!=T&&I.add(Q.StiTextInCellsHelper.trimEndWhiteSpace(T)),0==I.length&&I.add(T),t.wordWrap)for(var R=0;R<I.length;R++){var D=I[R];if(D.length>B.width){var P=[],x=0,F=0;while(F<D.length&&J.isWhitespace(D[F]))P[F]=x,F++;for(var N=F;N<D.length;N++)J.isWhitespace(D[N])&&x++,P[N]=x;var f,k=(f=B.width)-1;if(0<P[f])if(P[f]!=P[k])while(J.isWhitespace(D[f]))f++;else{while(!J.isWhitespace(D[f]))f--;k=f++;while(J.isWhitespace(D[k]))k--}I.setByIndex(R,D.substring(0,k+1)),I.insert(R+1,D.substring(f,D.length-f))}}n&&t.canGrow&&(B.height=I.length),d=o.y+s;for(var M=0;M<B.height;M++){var O=M<I.length?I[M]:"",_=0;t.horAlignment==V.Center&&(_=(B.width-O.length)/2),t.horAlignment==V.Right&&(_=B.width-O.length),0<_&&(O=L.repeat(" ",_)+O),m=o.x+s;for(var j=0;j<B.width;j++){var S=Math.round2(m,2),y=Math.round2(d,2),A=Math.round2(m+c,2)-S,b=Math.round2(d+p,2)-y,C=new W(S,y,A,b),v;(v=e.clone()).clientRectangle=C,v.horAlignment=V.Center,v.vertAlignment=z.Center,v.wordWrap=!1,i.components.add(v);var w="",G=t.rightToLeft?B.width-j-1:j;G<O.length&&(w=O[G]),v.setTextInternal(w),m+=c+l}d+=p+u}}return i},d.replaceContainerWithContentCells=function(t,e){var r,n,i=t.parent.components.indexOf(t);t.parent.components.removeAt(i);try{for(var o=__values(e.components.toList()),a=o.next();!a.done;a=o.next()){var s=a.value;s.left+=e.left,s.top+=e.top,t.parent.components.insert(i++,s)}}catch(t){r={error:t}}finally{try{a&&!a.done&&(n=o.return)&&n.call(o)}finally{if(r)throw r.error}}},d.prototype.createNew=function(){return new d},d.propertyCellWidth=Math.random().toString().substr(2),d.propertyCellHeight=Math.random().toString().substr(2),d.propertyHorSpacing=Math.random().toString().substr(2),d.propertyVertSpacing=Math.random().toString().substr(2),d.propertyContinuousText=Math.random().toString().substr(2),h=d,Q.StiTextInCells=h}(Stimulsoft=Stimulsoft||{}),function(t){var e,r,n,i,o;function a(){}r=e=t.Report||(t.Report={}),i=n=r.Components||(r.Components={}),o=t.System.Char,a.trimEndWhiteSpace=function(t){if(StiOptions.Engine.measureTrailingSpaces)return t;var e="",r=t.length;while(0<r&&o.isWhitespace(t[r-1]))r--;return r==t.length?e=t:0<r&&(e=t.substring(0,r)),e},r=a,i.StiTextInCellsHelper=r}(Stimulsoft=Stimulsoft||{}),function(t){var e,r,n,i,o,a,s,l,u,c,p,h;function m(t){void 0===t&&(t=c.empty);var t=h.call(this,t)||this;return t._border=null,t._startCap=new u,t._endCap=new u,t}r=e=t.Report||(t.Report={}),i=n=r.Components||(r.Components={}),o=t.Base.JsonReportObject.IStiJsonReportObject,a=t.Base.StiJsonReportObjectHelper,s=t.Base.Drawing.StiBorder,l=t.Base.Drawing.StiBorderSides,u=t.Base.Drawing.StiCap,c=t.System.Drawing.Rectangle,p=t.System.Drawing.Point,h=i.StiCrossLinePrimitive,__extends(m,h),m.prototype.implements=function(){return h.prototype.implements.call(this).concat([i.IStiBorder,o])},m.prototype.saveToJsonObject=function(t){var t=h.prototype.saveToJsonObject.call(this,t);return t.addPropertyStringNullOrEmpty("StartCap",a.Serialize.jCap(this._startCap)),t.addPropertyStringNullOrEmpty("EndCap",a.Serialize.jCap(this._endCap)),t},m.prototype.loadFromJsonObject=function(t){var e,r;h.prototype.loadFromJsonObject.call(this,t);try{for(var n=__values(t.properties()),i=n.next();!i.done;i=n.next()){var o=i.value;switch(o.name){case"StartCap":this._startCap=a.Deserialize.jCap(o.value);break;case"EndCap":this._endCap=a.Deserialize.jCap(o.value);break}}}catch(t){e={error:t}}finally{try{i&&!i.done&&(r=n.return)&&r.call(n)}finally{if(e)throw e.error}}},m.prototype.loadFromXml=function(t,e){h.prototype.loadFromXml.call(this,t,e);for(var r=0;r<t.childNodes.length;r++){var n=t.childNodes[r];switch(n.nodeName){case"StartCap":this._startCap.loadFromXml(n);break;case"EndCap":this._endCap.loadFromXml(n);break}}},m.prototype.clone=function(t){var t=h.prototype.clone.call(this,t);return null!=this._startCap?t._startCap=this._startCap.clone():t._startCap=null,null!=this._endCap?t._endCap=this._endCap.clone():t._endCap=null,t},Object.defineProperty(m.prototype,"border",{get:function(){return null==this._border&&(this._border=new s(l.Left,this.color,this.size,this.style,!1,0,null)),this._border},set:function(t){},enumerable:!1,configurable:!0}),m.prototype.convert=function(t,e,r){void 0===r&&(r=!1),null==this.getStartPoint()&&null==this.getEndPoint()&&h.prototype.convert.call(this,t,e,r)},Object.defineProperty(m.prototype,"startCap",{get:function(){return this._startCap},set:function(t){this._startCap=t},enumerable:!1,configurable:!0}),Object.defineProperty(m.prototype,"endCap",{get:function(){return this._endCap},set:function(t){this._endCap=t},enumerable:!1,configurable:!0}),Object.defineProperty(m.prototype,"width",{get:function(){if(null!=this.page)return this.page.unit.convertFromHInches(1);return 0},set:function(t){var e,r,t,t,t,t;this.isDesigning&&(h.prototype.setWidth.call(this,t),e=this.getStartPoint(),r=this.getEndPoint(),null!=e&&null!=r&&(t=new p(e.left,e.top),t=e.componentToPage(t),t=new p(t.x,t.y),t=r.pageToComponent(t),r.left=t.x))},enumerable:!1,configurable:!0}),m.prototype.createNew=function(){return new m},r=m,i.StiVerticalLinePrimitive=r}(Stimulsoft=Stimulsoft||{}),function(t){var e,r,n,t,i,o,a,s,l;r=e=t.Report||(t.Report={}),t=n=r.Components||(r.Components={}),r=i=t.Table||(t.Table={}),(t=o=r.StiTableStyle||(r.StiTableStyle={}))[t["StyleNone"]=0]="StyleNone",t[t["Style11"]=11]="Style11",t[t["Style12"]=12]="Style12",t[t["Style13"]=13]="Style13",t[t["Style14"]=14]="Style14",t[t["Style15"]=15]="Style15",t[t["Style16"]=16]="Style16",t[t["Style17"]=17]="Style17",t[t["Style18"]=18]="Style18",t[t["Style19"]=19]="Style19",t[t["Style31"]=31]="Style31",t[t["Style32"]=32]="Style32",t[t["Style33"]=33]="Style33",t[t["Style34"]=34]="Style34",t[t["Style35"]=35]="Style35",t[t["Style36"]=36]="Style36",t[t["Style37"]=37]="Style37",t[t["Style38"]=38]="Style38",t[t["Style39"]=39]="Style39",t[t["Style41"]=41]="Style41",t[t["Style42"]=42]="Style42",t[t["Style43"]=43]="Style43",t[t["Style44"]=44]="Style44",t[t["Style45"]=45]="Style45",t[t["Style46"]=46]="Style46",t[t["Style47"]=47]="Style47",t[t["Style48"]=48]="Style48",t[t["Style49"]=49]="Style49",t[t["Style51"]=51]="Style51",t[t["Style52"]=52]="Style52",t[t["Style53"]=53]="Style53",t[t["Style54"]=54]="Style54",t[t["Style55"]=55]="Style55",t[t["Style56"]=56]="Style56",t[t["Style57"]=57]="Style57",t[t["Style58"]=58]="Style58",t[t["Style59"]=59]="Style59",(t=a=r.StiTablceCellType||(r.StiTablceCellType={}))[t["Text"]=0]="Text",t[t["Image"]=1]="Image",t[t["CheckBox"]=2]="CheckBox",t[t["RichText"]=3]="RichText",(t=s=r.StiTableAutoWidth||(r.StiTableAutoWidth={}))[t["None"]=0]="None",t[t["Page"]=1]="Page",t[t["Table"]=2]="Table",(r=l=r.StiTableAutoWidthType||(r.StiTableAutoWidthType={}))[r["None"]=0]="None",r[r["LastColumns"]=1]="LastColumns",r[r["FullTable"]=2]="FullTable"}(Stimulsoft=Stimulsoft||{}),function(t){var e,r,n,i,o;r=e=t.Report||(t.Report={}),r=n=r.Components||(r.Components={}),(o=i=r.Table||(r.Table={})).IStiTableCell=new t.System.Interface("IStiTableCell")}(Stimulsoft=Stimulsoft||{}),function(t){var e,r,n,i,o;r=e=t.Report||(t.Report={}),r=n=r.Components||(r.Components={}),(o=i=r.Table||(r.Table={})).IStiTableComponent=new t.System.Interface("IStiTableComponent")}(Stimulsoft=Stimulsoft||{}),function(t){var e,r,n,t,i;function o(t){this._widths=new Array(t),this._fixedColumn=new Array(t);for(var e=0;e<t;e++)this._widths[e]=0,this._fixedColumn[e]=!1}r=e=t.Report||(t.Report={}),t=n=r.Components||(r.Components={}),r=i=t.Table||(t.Table={}),o.prototype.setFixedColumn=function(t,e){this._fixedColumn[t]=!0,this._widths[t]<e&&(this._widths[t]=e)},o.prototype.add=function(t,e){this._fixedColumn[t]||(this._widths[t]+=e)},o.prototype.addLastNotFixed=function(t){for(var e=this._fixedColumn.length-1;0!=e;e--)if(!this._fixedColumn[e])return void(this._widths[e]+=t)},o.prototype.subtract=function(t,e){this._fixedColumn[t]||(this._widths[t]-=e)},o.prototype.setWidth=function(t,e){this._fixedColumn[t]||(this._widths[t]=e)},o.prototype.getFixed=function(t){return this._fixedColumn[t]},Object.defineProperty(o.prototype,"length",{get:function(){return this._widths.length},enumerable:!1,configurable:!0}),o.prototype.getCountNotFixedColumn=function(){for(var t=0,e=0;e<this._fixedColumn.length;e++)this._fixedColumn[e]||t++;return t},o.prototype.getWidth=function(t){return this._widths[t]},o.prototype.normalize=function(){for(var t=0,e=0,r=0;r<this._widths.length;r++){t+=+this._widths[r];var n=Math.round2(t-e,2);this._widths[r]=+n,e+=n}},t=o,r.StiColumnSize=t}(Stimulsoft=Stimulsoft||{}),function(c){var t,p,e,K,r;p=t=c.Report||(c.Report={}),K=e=p.Components||(p.Components={}),function(J){var A=c.System.StiString,t=c.Base.JsonReportObject.IStiJsonReportObject,e=c.Base.Localization.StiLocalization,W=c.System.Collections.Hashtable,V=c.System.Drawing.Rectangle,r=c.System.Drawing.Size,a=c.System.Enum,o=c.System.Drawing.Color,S=c.Base.Drawing.StiSolidBrush,y=c.Base.Drawing.StiBrush,b=c.Base.Drawing.StiBorder,C=c.Base.Drawing.StiBorderSides,v=c.Base.Drawing.StiPenStyle,n=c.System.Drawing.Font,z=c.Base.Drawing.StiEmptyBrush,i=(X=K.StiDataBand,__extends(s,X),s.prototype.implements=function(){return s.ImplementsStiTable||(s.ImplementsStiTable=X.prototype.implements.call(this).concat([J.IStiTableComponent,t])),s.ImplementsStiTable},s.prototype.saveToJsonObject=function(t){var t=X.prototype.saveToJsonObject.call(this,t);return t.removeProperty("Columns"),t.removeProperty("ColumnWidth"),t.removeProperty("ColumnGaps"),t.removeProperty("MinRowsInColumn"),t.addPropertyBool("DockableTable",this.dockableTable,!0),t.addPropertyEnum("AutoWidth",J.StiTableAutoWidth,this.autoWidth,J.StiTableAutoWidth.None),t.addPropertyEnum("AutoWidthType",J.StiTableAutoWidthType,this.autoWidthType,J.StiTableAutoWidthType.None),t.addPropertyNumber("RowCount",this.rowCount,5),t.addPropertyNumber("ColumnCount",this.columnCount,5),t.addPropertyNumber("FooterRowsCount",this.footerRowsCount),t.addPropertyNumber("HeaderRowsCount",this.headerRowsCount),t.addPropertyEnum("HeaderPrintOn",K.StiPrintOnType,this.headerPrintOn,K.StiPrintOnType.AllPages),t.addPropertyBool("HeaderCanGrow",this.headerCanGrow,!0),t.addPropertyBool("HeaderCanShrink",this.headerCanShrink),t.addPropertyBool("HeaderCanBreak",this.headerCanBreak),t.addPropertyBool("HeaderPrintAtBottom",this.headerPrintAtBottom),t.addPropertyBool("HeaderPrintIfEmpty",this.headerPrintIfEmpty,!0),t.addPropertyBool("HeaderPrintOnAllPages",this.headerPrintOnAllPages,!0),t.addPropertyEnum("HeaderPrintOnEvenOddPages",K.StiPrintOnEvenOddPagesType,this.headerPrintOnEvenOddPages,K.StiPrintOnEvenOddPagesType.Ignore),t.addPropertyEnum("FooterPrintOn",K.StiPrintOnType,this.footerPrintOn,K.StiPrintOnType.AllPages),t.addPropertyBool("FooterCanGrow",this.footerCanGrow,!0),t.addPropertyBool("FooterCanShrink",this.footerCanShrink),t.addPropertyBool("FooterCanBreak",this.footerCanBreak),t.addPropertyBool("FooterPrintAtBottom",this.footerPrintAtBottom),t.addPropertyBool("FooterPrintIfEmpty",this.footerPrintIfEmpty,!0),t.addPropertyBool("FooterPrintOnAllPages",this.footerPrintOnAllPages),t.addPropertyEnum("FooterPrintOnEvenOddPages",K.StiPrintOnEvenOddPagesType,this.footerPrintOnEvenOddPages,K.StiPrintOnEvenOddPagesType.Ignore),t.addPropertyNumber("NumberID",this.numberID),t.addPropertyEnum("TableStyle",J.StiTableStyle,this.tableStyle,J.StiTableStyle.StyleNone),t},s.prototype.loadFromJsonObject=function(t){var e,r;X.prototype.loadFromJsonObject.call(this,t);try{for(var n=__values(t.properties()),i=n.next();!i.done;i=n.next()){var o=i.value;switch(o.name){case"DockableTable":this._dockableTable=o.value.stimulsoft.toBoolean();break;case"AutoWidth":this._autoWidth=a.parse(J.StiTableAutoWidth,o.value);break;case"AutoWidthType":this._autoWidthType=a.parse(J.StiTableAutoWidthType,o.value);break;case"RowCount":this._rowCount=o.value.stimulsoft.toNumber();break;case"ColumnCount":this._columnCount=o.value.stimulsoft.toNumber();break;case"FooterRowsCount":this._footerRowsCount=o.value.stimulsoft.toNumber();break;case"HeaderRowsCount":this._headerRowsCount=o.value.stimulsoft.toNumber();break;case"HeaderPrintOn":this._headerPrintOn=a.parse(K.StiPrintOnType,o.value);break;case"HeaderCanGrow":this._headerCanGrow=o.value.stimulsoft.toBoolean();break;case"HeaderCanShrink":this._headerCanShrink=o.value.stimulsoft.toBoolean();break;case"HeaderCanBreak":this._headerCanBreak=o.value.stimulsoft.toBoolean();break;case"HeaderPrintAtBottom":this._headerPrintAtBottom=o.value.stimulsoft.toBoolean();break;case"HeaderPrintIfEmpty":this._headerPrintIfEmpty=o.value.stimulsoft.toBoolean();break;case"HeaderPrintOnAllPages":this._headerPrintOnAllPages=o.value.stimulsoft.toBoolean();break;case"HeaderPrintOnEvenOddPages":this._headerPrintOnEvenOddPages=a.parse(K.StiPrintOnEvenOddPagesType,o.value);break;case"FooterPrintOn":this._footerPrintOn=a.parse(K.StiPrintOnType,o.value);break;case"FooterCanGrow":this._footerCanGrow=o.value.stimulsoft.toBoolean();break;case"FooterCanShrink":this._footerCanShrink=o.value.stimulsoft.toBoolean();break;case"FooterCanBreak":this._footerCanBreak=o.value.stimulsoft.toBoolean();break;case"FooterPrintAtBottom":this._footerPrintAtBottom=o.value.stimulsoft.toBoolean();break;case"FooterPrintIfEmpty":this._footerPrintIfEmpty=o.value.stimulsoft.toBoolean();break;case"FooterPrintOnAllPages":this._footerPrintOnAllPages=o.value.stimulsoft.toBoolean();break;case"FooterPrintOnEvenOddPages":this._footerPrintOnEvenOddPages=a.parse(K.StiPrintOnEvenOddPagesType,o.value);break;case"NumberID":this._numberID=o.value.stimulsoft.toNumber();break;case"TableStyle":this._tableStyle=a.parse(J.StiTableStyle,o.value);break}}}catch(t){e={error:t}}finally{try{i&&!i.done&&(r=n.return)&&r.call(n)}finally{if(e)throw e.error}}},s.prototype.loadFromXml=function(t,e){X.prototype.loadFromXml.call(this,t,e);for(var r=0;r<t.childNodes.length;r++){var n=t.childNodes[r];switch(n.nodeName){case"DockableTable":this._dockableTable=n.textContent.stimulsoft.toBoolean();break;case"AutoWidth":this._autoWidth=a.parse(J.StiTableAutoWidth,n.textContent);break;case"AutoWidthType":this._autoWidthType=a.parse(J.StiTableAutoWidthType,n.textContent);break;case"RowCount":this._rowCount=n.textContent.stimulsoft.toNumber();break;case"ColumnCount":this._columnCount=n.textContent.stimulsoft.toNumber();break;case"FooterRowsCount":this._footerRowsCount=n.textContent.stimulsoft.toNumber();break;case"HeaderRowsCount":this._headerRowsCount=n.textContent.stimulsoft.toNumber();break;case"HeaderPrintOn":this._headerPrintOn=a.parse(K.StiPrintOnType,n.textContent);break;case"HeaderCanGrow":this._headerCanGrow=n.textContent.stimulsoft.toBoolean();break;case"HeaderCanShrink":this._headerCanShrink=n.textContent.stimulsoft.toBoolean();break;case"HeaderCanBreak":this._headerCanBreak=n.textContent.stimulsoft.toBoolean();break;case"HeaderPrintAtBottom":this._headerPrintAtBottom=n.textContent.stimulsoft.toBoolean();break;case"HeaderPrintIfEmpty":this._headerPrintIfEmpty=n.textContent.stimulsoft.toBoolean();break;case"HeaderPrintOnAllPages":this._headerPrintOnAllPages=n.textContent.stimulsoft.toBoolean();break;case"HeaderPrintOnEvenOddPages":this._headerPrintOnEvenOddPages=a.parse(K.StiPrintOnEvenOddPagesType,n.textContent);break;case"FooterPrintOn":this._footerPrintOn=a.parse(K.StiPrintOnType,n.textContent);break;case"FooterCanGrow":this._footerCanGrow=n.textContent.stimulsoft.toBoolean();break;case"FooterCanShrink":this._footerCanShrink=n.textContent.stimulsoft.toBoolean();break;case"FooterCanBreak":this._footerCanBreak=n.textContent.stimulsoft.toBoolean();break;case"FooterPrintAtBottom":this._footerPrintAtBottom=n.textContent.stimulsoft.toBoolean();break;case"FooterPrintIfEmpty":this._footerPrintIfEmpty=n.textContent.stimulsoft.toBoolean();break;case"FooterPrintOnAllPages":this._footerPrintOnAllPages=n.textContent.stimulsoft.toBoolean();break;case"FooterPrintOnEvenOddPages":this._footerPrintOnEvenOddPages=a.parse(K.StiPrintOnEvenOddPagesType,n.textContent);break;case"NumberID":this._numberID=n.textContent.stimulsoft.toNumber();break;case"TableStyle":this._tableStyle=a.parse(J.StiTableStyle,n.textContent);break}}},Object.defineProperty(s.prototype,"componentId",{get:function(){return p.StiComponentId.StiTable},enumerable:!1,configurable:!0}),s.prototype.clone=function(t,e){var r,n,i=X.prototype.clone.call(this,t,!1);if(i._numberID=this._numberID,i._rowCount=this._rowCount,i._columnCount=this._columnCount,i._footerRowsCount=this._footerRowsCount,i._headerRowsCount=this._headerRowsCount,i._tableStyle=this._tableStyle,i._dockableTable=this._dockableTable,i._headerPrintOn=this._headerPrintOn,i._headerCanGrow=this._headerCanGrow,i._headerCanShrink=this._headerCanShrink,i._headerCanBreak=this._headerCanBreak,i._headerPrintAtBottom=this._headerPrintAtBottom,i._headerPrintIfEmpty=this._headerPrintIfEmpty,i._headerPrintOnAllPages=this._headerPrintOnAllPages,i._headerPrintOnEvenOddPages=this._headerPrintOnEvenOddPages,i._footerPrintOn=this._footerPrintOn,i._footerCanGrow=this._footerCanGrow,i._footerCanShrink=this._footerCanShrink,i._footerCanBreak=this._footerCanBreak,i._footerPrintAtBottom=this._footerPrintAtBottom,i._footerPrintIfEmpty=this._footerPrintIfEmpty,i._footerPrintOnAllPages=this._footerPrintOnAllPages,i._footerPrintOnEvenOddPages=this._footerPrintOnEvenOddPages,i._autoWidth=this._autoWidth,i._autoWidthType=this._autoWidthType,i.components=new K.StiComponentsCollection(i),e)try{for(var o=__values(this.components.list),a=o.next();!a.done;a=o.next()){var s=a.value;switch(s.as(J.IStiTableCell).cellType){case J.StiTablceCellType.Text:var l=s.clone(!0);(l.parent=i).components.add(l);break;case J.StiTablceCellType.Image:var u=s.clone(!0);(u.parent=i).components.add(u);break;case J.StiTablceCellType.CheckBox:var u=s.clone(!0);(u.parent=i).components.add(u);break;case J.StiTablceCellType.RichText:var s=s.clone(!0);(s.parent=i).components.add(s);break}}}catch(t){r={error:t}}finally{try{a&&!a.done&&(n=o.return)&&n.call(o)}finally{if(r)throw r.error}}return i},s.prototype.convert=function(t,e,r){void 0===r&&(r=!1),X.prototype.convert.call(this,t,e,r),this.distributeRows(),this.distributeColumns()},Object.defineProperty(s.prototype,"canGrow",{get:function(){return X.prototype.getCanGrow.call(this)},set:function(t){X.prototype.setCanGrow.call(this,t)},enumerable:!1,configurable:!0}),Object.defineProperty(s.prototype,"localizedName",{get:function(){return e.get("Components","StiTable")},enumerable:!1,configurable:!0}),Object.defineProperty(s.prototype,"localizedCategory",{get:function(){return e.get("Report","Bands")},enumerable:!1,configurable:!0}),Object.defineProperty(s.prototype,"dockableTable",{get:function(){return this._dockableTable},set:function(t){this._dockableTable=t},enumerable:!1,configurable:!0}),Object.defineProperty(s.prototype,"autoWidth",{get:function(){return this._autoWidth},set:function(t){this._autoWidth=t},enumerable:!1,configurable:!0}),Object.defineProperty(s.prototype,"autoWidthType",{get:function(){return this._autoWidthType},set:function(t){this._autoWidthType=t},enumerable:!1,configurable:!0}),Object.defineProperty(s.prototype,"rowCount",{get:function(){return this._rowCount},set:function(t){var e;0<t&&(e=this._rowCount,this._rowCount=t,this.changeRowCount(e,t))},enumerable:!1,configurable:!0}),Object.defineProperty(s.prototype,"columnCount",{get:function(){return this._columnCount},set:function(t){var e;0<t&&(e=this._columnCount,this._columnCount=t,this.changeColumnCount(e,t))},enumerable:!1,configurable:!0}),Object.defineProperty(s.prototype,"footerRowsCount",{get:function(){return this._footerRowsCount},set:function(t){(!this.isDesigning||t<=this._rowCount-this._headerRowsCount)&&(this._footerRowsCount=t,this.refreshTableStyle())},enumerable:!1,configurable:!0}),Object.defineProperty(s.prototype,"headerRowsCount",{get:function(){return this._headerRowsCount},set:function(t){(!this.isDesigning||t<=this._rowCount-this._footerRowsCount)&&(this._headerRowsCount=t,this.refreshTableStyle())},enumerable:!1,configurable:!0}),Object.defineProperty(s.prototype,"defaultHeightCell",{get:function(){if(null!=this.page&&null!=this.page.report)switch(this.page.report.reportUnit){case p.StiReportUnitType.Centimeters:return.8;case p.StiReportUnitType.HundredthsOfInch:return 30;case p.StiReportUnitType.Inches:return.3;case p.StiReportUnitType.Millimeters:return 8}return 1},enumerable:!1,configurable:!0}),Object.defineProperty(s.prototype,"headerPrintOn",{get:function(){return this._headerPrintOn},set:function(t){this._headerPrintOn=t},enumerable:!1,configurable:!0}),Object.defineProperty(s.prototype,"headerCanGrow",{get:function(){return this._headerCanGrow},set:function(t){this._headerCanGrow=t},enumerable:!1,configurable:!0}),Object.defineProperty(s.prototype,"headerCanShrink",{get:function(){return this._headerCanShrink},set:function(t){this._headerCanShrink=t},enumerable:!1,configurable:!0}),Object.defineProperty(s.prototype,"headerCanBreak",{get:function(){return this._headerCanBreak},set:function(t){this._headerCanBreak=t},enumerable:!1,configurable:!0}),Object.defineProperty(s.prototype,"headerPrintAtBottom",{get:function(){return this._headerPrintAtBottom},set:function(t){this._headerPrintAtBottom=t},enumerable:!1,configurable:!0}),Object.defineProperty(s.prototype,"headerPrintIfEmpty",{get:function(){return this._headerPrintIfEmpty},set:function(t){this._headerPrintIfEmpty=t},enumerable:!1,configurable:!0}),Object.defineProperty(s.prototype,"headerPrintOnAllPages",{get:function(){return this._headerPrintOnAllPages},set:function(t){this._headerPrintOnAllPages=t},enumerable:!1,configurable:!0}),Object.defineProperty(s.prototype,"headerPrintOnEvenOddPages",{get:function(){return this._headerPrintOnEvenOddPages},set:function(t){this._headerPrintOnEvenOddPages=t},enumerable:!1,configurable:!0}),Object.defineProperty(s.prototype,"footerPrintOn",{get:function(){return this._footerPrintOn},set:function(t){this._footerPrintOn=t},enumerable:!1,configurable:!0}),Object.defineProperty(s.prototype,"footerCanGrow",{get:function(){return this._footerCanGrow},set:function(t){this._footerCanGrow=t},enumerable:!1,configurable:!0}),Object.defineProperty(s.prototype,"footerCanShrink",{get:function(){return this._footerCanShrink},set:function(t){this._footerCanShrink=t},enumerable:!1,configurable:!0}),Object.defineProperty(s.prototype,"footerCanBreak",{get:function(){return this._footerCanBreak},set:function(t){this._footerCanBreak=t},enumerable:!1,configurable:!0}),Object.defineProperty(s.prototype,"footerPrintAtBottom",{get:function(){return this._footerPrintAtBottom},set:function(t){this._footerPrintAtBottom=t},enumerable:!1,configurable:!0}),Object.defineProperty(s.prototype,"footerPrintIfEmpty",{get:function(){return this._footerPrintIfEmpty},set:function(t){this._footerPrintIfEmpty=t},enumerable:!1,configurable:!0}),Object.defineProperty(s.prototype,"footerPrintOnAllPages",{get:function(){return this._footerPrintOnAllPages},set:function(t){this._footerPrintOnAllPages=t},enumerable:!1,configurable:!0}),Object.defineProperty(s.prototype,"footerPrintOnEvenOddPages",{get:function(){return this._footerPrintOnEvenOddPages},set:function(t){this._footerPrintOnEvenOddPages=t},enumerable:!1,configurable:!0}),Object.defineProperty(s.prototype,"numberID",{get:function(){return this._numberID},set:function(t){this._numberID=t},enumerable:!1,configurable:!0}),Object.defineProperty(s.prototype,"columns",{get:function(){return 0},enumerable:!1,configurable:!0}),Object.defineProperty(s.prototype,"columnWidth",{get:function(){return 0},enumerable:!1,configurable:!0}),Object.defineProperty(s.prototype,"columnGaps",{get:function(){return 0},enumerable:!1,configurable:!0}),Object.defineProperty(s.prototype,"minRowsInColumn",{get:function(){return 0},enumerable:!1,configurable:!0}),Object.defineProperty(s.prototype,"minHeight",{get:function(){return X.prototype.getMinHeight.call(this)},set:function(t){X.prototype.setMinHeight.call(this,t)},enumerable:!1,configurable:!0}),Object.defineProperty(s.prototype,"maxHeight",{get:function(){return X.prototype.getMaxHeight.call(this)},set:function(t){X.prototype.setMaxHeight.call(this,t)},enumerable:!1,configurable:!0}),Object.defineProperty(s.prototype,"minSize",{get:function(){return new r(0,0)},set:function(t){X.prototype.setMinSize.call(this,t)},enumerable:!1,configurable:!0}),Object.defineProperty(s.prototype,"rightToLeft",{get:function(){return X.prototype.getRightToLeft.call(this)},set:function(t){X.prototype.setRightToLeft.call(this,t)},enumerable:!1,configurable:!0}),Object.defineProperty(s.prototype,"width",{get:function(){return X.prototype.getWidth.call(this)},set:function(t){var e=X.prototype.getWidth.call(this);if(t==X.prototype.getWidth.call(this))return;X.prototype.setWidth.call(this,t),0<t&&t!=e&&this.resizeWidthCell(e)},enumerable:!1,configurable:!0}),Object.defineProperty(s.prototype,"height",{get:function(){return X.prototype.getHeight.call(this)},set:function(t){if(X.prototype.setHeight.call(this,t),0==this.components.count&&null!=this.page)return this.selectAll(),void this.createCell()},enumerable:!1,configurable:!0}),Object.defineProperty(s.prototype,"dockable",{get:function(){return this.dockableTable},set:function(t){},enumerable:!1,configurable:!0}),Object.defineProperty(s.prototype,"headerStartColor",{get:function(){return o.fromArgb(144,192,241)},enumerable:!1,configurable:!0}),Object.defineProperty(s.prototype,"headerEndColor",{get:function(){return o.fromArgb(144,192,241)},enumerable:!1,configurable:!0}),s.prototype.changeGrowToHeightAtCell=function(t){var t=this.components.indexOf(t);if(-1==t)return;for(var e,r=Math.trunc(t/this.columnCount)*this.columnCount,n=!1,i=r,o;i<r+this.columnCount;i++){if((o=this.components.getByIndex(i)).canGrow){n=n||!0;break}}for(var i=r,o;i<r+this.columnCount;i++){(o=this.components.getByIndex(i)).growToHeight=n}},Object.defineProperty(s.prototype,"tableStyle",{get:function(){return this._tableStyle},set:function(t){this._tableStyle!=t&&(this._tableStyle=t,0!=+this._tableStyle&&this.refreshTableStyle())},enumerable:!1,configurable:!0}),s.prototype.refreshTableStyle=function(){switch(this._tableStyle){case J.StiTableStyle.StyleNone:break;case J.StiTableStyle.Style11:this.applyStyle1(l.getStyle(J.StiTableStyle.Style11));break;case J.StiTableStyle.Style12:this.applyStyle1(l.getStyle(J.StiTableStyle.Style12));break;case J.StiTableStyle.Style13:this.applyStyle1(l.getStyle(J.StiTableStyle.Style13));break;case J.StiTableStyle.Style14:this.applyStyle1(l.getStyle(J.StiTableStyle.Style14));break;case J.StiTableStyle.Style15:this.applyStyle1(l.getStyle(J.StiTableStyle.Style15));break;case J.StiTableStyle.Style16:this.applyStyle1(l.getStyle(J.StiTableStyle.Style16));break;case J.StiTableStyle.Style17:this.applyStyle1(l.getStyle(J.StiTableStyle.Style17));break;case J.StiTableStyle.Style18:this.applyStyle1(l.getStyle(J.StiTableStyle.Style18));break;case J.StiTableStyle.Style19:this.applyStyle1(l.getStyle(J.StiTableStyle.Style19));break;case J.StiTableStyle.Style31:this.applyStyle3(l.getStyle(J.StiTableStyle.Style31));break;case J.StiTableStyle.Style32:this.applyStyle3(l.getStyle(J.StiTableStyle.Style32));break;case J.StiTableStyle.Style33:this.applyStyle3(l.getStyle(J.StiTableStyle.Style33));break;case J.StiTableStyle.Style34:this.applyStyle3(l.getStyle(J.StiTableStyle.Style34));break;case J.StiTableStyle.Style35:this.applyStyle3(l.getStyle(J.StiTableStyle.Style35));break;case J.StiTableStyle.Style36:this.applyStyle3(l.getStyle(J.StiTableStyle.Style36));break;case J.StiTableStyle.Style37:this.applyStyle3(l.getStyle(J.StiTableStyle.Style37));break;case J.StiTableStyle.Style38:this.applyStyle3(l.getStyle(J.StiTableStyle.Style38));break;case J.StiTableStyle.Style39:this.applyStyle3(l.getStyle(J.StiTableStyle.Style39));break;case J.StiTableStyle.Style41:this.applyStyle4(l.getStyle(J.StiTableStyle.Style41));break;case J.StiTableStyle.Style42:this.applyStyle4(l.getStyle(J.StiTableStyle.Style42));break;case J.StiTableStyle.Style43:this.applyStyle4(l.getStyle(J.StiTableStyle.Style43));break;case J.StiTableStyle.Style44:this.applyStyle4(l.getStyle(J.StiTableStyle.Style44));break;case J.StiTableStyle.Style45:this.applyStyle4(l.getStyle(J.StiTableStyle.Style45));break;case J.StiTableStyle.Style46:this.applyStyle4(l.getStyle(J.StiTableStyle.Style46));break;case J.StiTableStyle.Style47:this.applyStyle4(l.getStyle(J.StiTableStyle.Style47));break;case J.StiTableStyle.Style48:this.applyStyle4(l.getStyle(J.StiTableStyle.Style48));break;case J.StiTableStyle.Style49:this.applyStyle4(l.getStyle(J.StiTableStyle.Style49));break;case J.StiTableStyle.Style51:this.applyStyle5(l.getStyle(J.StiTableStyle.Style51));break;case J.StiTableStyle.Style52:this.applyStyle5(l.getStyle(J.StiTableStyle.Style52));break;case J.StiTableStyle.Style53:this.applyStyle5(l.getStyle(J.StiTableStyle.Style53));break;case J.StiTableStyle.Style54:this.applyStyle5(l.getStyle(J.StiTableStyle.Style54));break;case J.StiTableStyle.Style55:this.applyStyle5(l.getStyle(J.StiTableStyle.Style55));break;case J.StiTableStyle.Style56:this.applyStyle5(l.getStyle(J.StiTableStyle.Style56));break;case J.StiTableStyle.Style57:this.applyStyle5(l.getStyle(J.StiTableStyle.Style57));break;case J.StiTableStyle.Style58:this.applyStyle5(l.getStyle(J.StiTableStyle.Style58));break;case J.StiTableStyle.Style59:this.applyStyle5(l.getStyle(J.StiTableStyle.Style59));break}},s.prototype.applyStyleNone=function(){var e,t;if(0==this.components.count)return;var r=l.getStyle(J.StiTableStyle.StyleNone);try{for(var n=__values(this.components.list),i=n.next();!i.done;i=n.next()){var o=i.value;switch(o.as(J.IStiTableCell).cellType){case J.StiTablceCellType.Text:o.border=new b(C.All,r.gridColor,1,v.Solid,!1,4,new S(r.gridColor)),o.brush=new S(c.System.Drawing.Color.transparent),o.textBrush=new S(r.dataTextColor);break;case J.StiTablceCellType.Image:o.border=new b(C.All,r.gridColor,1,v.Solid,!1,4,new S(r.gridColor)),o.brush=new S(c.System.Drawing.Color.transparent);break;case J.StiTablceCellType.CheckBox:o.border=new b(C.All,r.gridColor,1,v.Solid,!1,4,new S(r.gridColor)),o.brush=new S(c.System.Drawing.Color.transparent);break;case J.StiTablceCellType.RichText:o.border=new b(C.All,r.gridColor,1,v.Solid,!1,4,new S(r.gridColor)),o.backColor=S.toColor(new S(c.System.Drawing.Color.transparent));break}}}catch(t){e={error:t}}finally{try{i&&!i.done&&(t=n.return)&&t.call(n)}finally{if(e)throw e.error}}},s.prototype.applyStyleNoneForCell=function(t){var e=l.getStyle(J.StiTableStyle.StyleNone);switch(t.as(J.IStiTableCell).cellType){case J.StiTablceCellType.Text:t.border=new b(C.All,e.gridColor,1,v.Solid,!1,4,new S(e.gridColor)),t.brush=new S(c.System.Drawing.Color.transparent),t.textBrush=new S(e.dataTextColor);break;case J.StiTablceCellType.Image:t.border=new b(C.All,e.gridColor,1,v.Solid,!1,4,new S(e.gridColor)),t.brush=new S(c.System.Drawing.Color.transparent);break;case J.StiTablceCellType.CheckBox:t.border=new b(C.All,e.gridColor,1,v.Solid,!1,4,new S(e.gridColor)),t.brush=new S(c.System.Drawing.Color.transparent);break;case J.StiTablceCellType.RichText:t.border=new b(C.All,e.gridColor,1,v.Solid,!1,4,new S(e.gridColor)),t.backColor=S.toColor(new S(c.System.Drawing.Color.transparent));break}},s.prototype.applyStyle1=function(t){var e,r;if(0==this.components.count)return;try{for(var n=__values(this.components.list),i=n.next();!i.done;i=n.next()){var o=i.value;switch(o.as(J.IStiTableCell).cellType){case J.StiTablceCellType.Text:o.border=new b(C.All,t.gridColor,1,v.Solid,!1,4,new S(t.gridColor)),o.brush=new S(c.System.Drawing.Color.transparent),o.textBrush=new S(t.dataTextColor);break;case J.StiTablceCellType.Image:o.border=new b(C.All,t.gridColor,1,v.Solid,!1,4,new S(t.gridColor)),o.brush=new S(c.System.Drawing.Color.transparent);break;case J.StiTablceCellType.CheckBox:o.border=new b(C.All,t.gridColor,1,v.Solid,!1,4,new S(t.gridColor)),o.brush=new S(c.System.Drawing.Color.transparent);break;case J.StiTablceCellType.RichText:o.border=new b(C.All,t.gridColor,1,v.Solid,!1,4,new S(t.gridColor)),o.backColor=S.toColor(new S(c.System.Drawing.Color.transparent));break}}}catch(t){e={error:t}}finally{try{i&&!i.done&&(r=n.return)&&r.call(n)}finally{if(e)throw e.error}}},s.prototype.applyStyle3=function(t){if(0==this.components.count)return;var e=new b(C.All,t.headerColor,1,v.Solid,!1,4,new S(t.headerColor)),r=new S(t.headerColor),n=new S(t.headerFooterTextColor),i=new b(C.None|C.Top|C.Bottom,t.headerColor,1,v.Solid,!1,4,new S(t.headerColor)),o=new b(C.None|C.Top|C.Left|C.Bottom,t.headerColor,1,v.Solid,!1,4,new S(t.headerColor)),a=new b(C.None|C.Top|C.Right|C.Bottom,t.headerColor,1,v.Solid,!1,4,new S(t.headerColor)),s=new S(t.dataColor),l=new S(t.dataTextColor),t=0;if(0<this._headerRowsCount){for(var u=0,c=0;c<this._headerRowsCount;c++)for(var p=0;p<this._columnCount;p++){var h=this.components.getByIndex(u);if(null!=h)switch(h.as(J.IStiTableCell).cellType){case J.StiTablceCellType.Text:h.border=e.clone(),h.brush=r.clone(),h.textBrush=n.clone();break;case J.StiTablceCellType.Image:h.border=e.clone(),h.brush=r.clone();break;case J.StiTablceCellType.CheckBox:h.border=e.clone(),h.brush=r.clone();break;case J.StiTablceCellType.RichText:h.border=e.clone(),h.backColor=S.toColor(r.clone());break}u++}t=this._headerRowsCount}for(var m=this._rowCount-t,d=t*this._columnCount,c=t;c<this._rowCount;c++)for(var p=0;p<this._columnCount;p++){var g=this.components.getByIndex(d);if(null!=g)switch(g.as(J.IStiTableCell).cellType){case J.StiTablceCellType.Text:0==p?g.border=o.clone():p==this._columnCount-1?g.border=a.clone():g.border=i.clone(),g.brush=s.clone(),g.textBrush=l.clone();break;case J.StiTablceCellType.Image:0==p?g.border=o.clone():p==this._columnCount-1?g.border=a.clone():g.border=i.clone(),g.brush=s.clone();break;case J.StiTablceCellType.CheckBox:0==p?g.border=o.clone():p==this._columnCount-1?g.border=a.clone():g.border=i.clone(),g.brush=s.clone();break;case J.StiTablceCellType.RichText:0==p?g.border=o.clone():p==this._columnCount-1?g.border=a.clone():g.border=i.clone(),g.backColor=y.toColor(s.clone());break}d++}},s.prototype.applyStyle4=function(t){if(0==this.components.count)return;var e=new b(C.All,t.footerColor,1,v.Solid,!1,4,new S(t.footerColor)),r=new S(t.footerColor),n=new S(t.headerFooterTextColor),i=new b(C.None|C.Top|C.Bottom,t.footerColor,1,v.Solid,!1,4,new S(t.footerColor)),o=new b(C.None|C.Top|C.Left|C.Bottom,t.footerColor,1,v.Solid,!1,4,new S(t.footerColor)),a=new b(C.None|C.Top|C.Right|C.Bottom,t.footerColor,1,v.Solid,!1,4,new S(t.footerColor)),s=new S(t.dataColor),l=new S(t.dataTextColor);if(0<this._footerRowsCount)for(var t=this._rowCount-this._footerRowsCount,u=t*this._columnCount,c=t;c<this._rowCount;c++)for(var p=0;p<this._columnCount;p++){var h=this.components.getByIndex(u);if(null!=h)switch(h.as(J.IStiTableCell).cellType){case J.StiTablceCellType.Text:h.border=e.clone(),h.brush=r.clone(),h.textBrush=n.clone();break;case J.StiTablceCellType.Image:h.border=e.clone(),h.brush=r.clone();break;case J.StiTablceCellType.CheckBox:h.border=e.clone(),h.brush=r.clone();break;case J.StiTablceCellType.RichText:h.border=e.clone(),h.backColor=y.toColor(r.clone());break}u++}for(var m=0,c=0;c<this._rowCount-this._footerRowsCount;c++)for(var p=0;p<this._columnCount;p++){var d=this.components.getByIndex(m);if(null!=d)switch(d.as(J.IStiTableCell).cellType){case J.StiTablceCellType.Text:0==p?d.border=o.clone():p==this._columnCount-1?d.border=a.clone():d.border=i.clone(),d.brush=s.clone(),d.textBrush=l.clone();break;case J.StiTablceCellType.Image:0==p?d.border=o.clone():p==this._columnCount-1?d.border=a.clone():d.border=i.clone(),d.brush=s.clone();break;case J.StiTablceCellType.CheckBox:0==p?d.border=o.clone():p==this._columnCount-1?d.border=a.clone():d.border=i.clone(),d.brush=s.clone();break;case J.StiTablceCellType.RichText:0==p?d.border=o.clone():p==this._columnCount-1?d.border=a.clone():d.border=i.clone(),d.backColor=y.toColor(s.clone());break}m++}},s.prototype.applyStyle5=function(t){if(0==this.components.count)return;var e=new b(C.All,t.headerColor,1,v.Solid,!1,4,new S(t.headerColor)),r=new S(t.headerColor),n=new S(t.headerFooterTextColor),i=new b(C.None|C.Top|C.Bottom,t.headerColor,1,v.Solid,!1,4,new S(t.headerColor)),o=new b(C.None|C.Top|C.Left|C.Bottom,t.headerColor,1,v.Solid,!1,4,new S(t.headerColor)),a=new b(C.None|C.Top|C.Right|C.Bottom,t.headerColor,1,v.Solid,!1,4,new S(t.headerColor)),s=new S(t.dataColor),l=new S(t.dataTextColor),u=0;if(0<this._headerRowsCount){for(var c=0,p=0;p<this._headerRowsCount;p++)for(var h=0;h<this._columnCount;h++){var m=this.components.getByIndex(c);if(null!=m)switch(m.as(J.IStiTableCell).cellType){case J.StiTablceCellType.Text:m.border=e.clone(),m.brush=r.clone(),m.textBrush=n.clone();break;case J.StiTablceCellType.Image:m.border=e.clone(),m.brush=r.clone();break;case J.StiTablceCellType.CheckBox:m.border=e.clone(),m.brush=r.clone();break;case J.StiTablceCellType.RichText:m.border=e.clone(),m.backColor=y.toColor(r.clone());break}c++}u=this._headerRowsCount}if(0<this.footerRowsCount)for(var t=this._rowCount-this._footerRowsCount,c=t*this._columnCount,p=t;p<this._rowCount;p++)for(var h=0;h<this._columnCount;h++){var d=this.components.getByIndex(c);if(null!=d)switch(d.as(J.IStiTableCell).cellType){case J.StiTablceCellType.Text:d.border=e.clone(),d.brush=r.clone(),d.textBrush=n.clone();break;case J.StiTablceCellType.Image:d.border=e.clone(),d.brush=r.clone();break;case J.StiTablceCellType.CheckBox:d.border=e.clone(),d.brush=r.clone();break;case J.StiTablceCellType.RichText:d.border=e.clone(),d.backColor=y.toColor(r.clone());break}c++}for(var g=u*this._columnCount,p=u;p<this._rowCount-this._footerRowsCount;p++)for(var h=0;h<this._columnCount;h++){var f=this.components.getByIndex(g);if(null!=f)switch(f.as(J.IStiTableCell).cellType){case J.StiTablceCellType.Text:0==h?f.border=o.clone():h==this._columnCount-1?f.border=a.clone():f.border=i.clone(),f.brush=s.clone(),f.textBrush=l.clone();break;case J.StiTablceCellType.Image:0==h?f.border=o.clone():h==this._columnCount-1?f.border=a.clone():f.border=i.clone(),f.brush=s.clone();break;case J.StiTablceCellType.CheckBox:0==h?f.border=o.clone():h==this._columnCount-1?f.border=a.clone():f.border=i.clone(),f.brush=s.clone();break;case J.StiTablceCellType.RichText:0==h?f.border=o.clone():h==this._columnCount-1?f.border=a.clone():f.border=i.clone(),f.backColor=y.toColor(s.clone());break}g++}},s.prototype.changeRowCount=function(t,e){if(null==this.page||null==this.report)return;var e;0<e&&e!=t&&(e<this._headerRowsCount+this._footerRowsCount&&(this._headerRowsCount=0,this._footerRowsCount=0),X.prototype.setMinHeight.call(this,this.page.gridSize*e),0<(e=e-t)?this.addNewRows(e):this.deleteLastRows(Math.abs(e),t))},s.prototype.changeColumnCount=function(t,e){if(null==this.page||null==this.report)return;var e;0<e&&e!=t&&(0<(e=e-t)?this.addTableNewColumns(e,t):this.deleteTableColumns(Math.abs(e),t))},s.prototype.createJoin=function(t,e,r,n){var i,o,a=t.ref,s=e.ref,l=r.ref,u=n.ref,c=this.getCountSelectedCells();if(c<=1||null==this.page)return new Array;var p=new Array(c),h=new Array(c),m=0,d=0,g=0,f,S,y,A;try{for(var b=__values(this.components.list),C=b.next();!C.done;C=b.next()){var v=C.value;v.isSelected&&(p[g]=d,h[g]=m,g++,v.isSelected=!1),++d==this._columnCount&&(d=0,m++)}}catch(t){i={error:t}}finally{try{C&&!C.done&&(o=b.return)&&o.call(b)}finally{if(i)throw i.error}}var w={ref:f},B={ref:S},I={ref:y},c={ref:A};this.findLeftSelectedElement(p,w,I),this.findRightSelectedElement(h,B,c),f=w.ref,S=B.ref,y=I.ref,A=c.ref;for(var T=new Array((u=A-S+1)*(l=y-f+1)),E=0,R=S;R<=A;R++){for(var D=null,P=f;P<=y;P++){var x=R*this._columnCount+P,F,D;(D=this.components.getByIndex(x)).as(J.IStiTableCell).merged&&(D.as(J.IStiTableCell).getJoinComponentByGuid(D.as(J.IStiTableCell).parentJoin).as(J.IStiTableCell).join=!1),T[E]=D.as(J.IStiTableCell).id,R==S&&(a+=D.width),E++}s+=D.height}return t.ref=a,e.ref=s,r.ref=l,n.ref=u,T},s.prototype.getCountSelectedCells=function(){var e,t,r=0;try{for(var n=__values(this.components.list),i=n.next(),o;!i.done;i=n.next()){i.value.isSelected&&r++}}catch(t){e={error:t}}finally{try{i&&!i.done&&(t=n.return)&&t.call(n)}finally{if(e)throw e.error}}return r},s.prototype.getCountJoinSelectedCells=function(t){var e,r,n=t.ref,i=0,n=0;try{for(var o=__values(this.components.list),a=o.next();!a.done;a=o.next()){var s=a.value;s.isSelected&&(i++,s.as(J.IStiTableCell).merged&&n++)}}catch(t){e={error:t}}finally{try{a&&!a.done&&(r=o.return)&&r.call(o)}finally{if(e)throw e.error}}return t.ref=n,i},s.prototype.findLeftSelectedElement=function(t,e,r){for(var n=e.ref,i=r.ref,n=t[0],i=t[0],o=1;o<t.length;o++)n>t[o]&&(n=t[o]),i<t[o]&&(i=t[o]);e.ref=n,r.ref=i},s.prototype.findRightSelectedElement=function(t,e,r){for(var n=e.ref,i=r.ref,n=t[0],i=t[0],o=1;o<t.length;o++)n>t[o]&&(n=t[o]),i<t[o]&&(i=t[o]);e.ref=n,r.ref=i},s.prototype.changeTableCellContentInImage=function(t){if(t.is(J.StiTableCell)){var e=t,r,n;if(-1==(r=this.components.indexOf(e)))return;(n=new J.StiTableCellImage).clientRectangle=e.clientRectangle,n.name=e.name,n.border=e.border,n.brush=e.brush,n.id=e.id,n.restrictions=e.restrictions,n.page=e.page,n.parent=e.parent,n.canBreak=e.canBreak,n.canGrow=e.canGrow,n.canShrink=e.canShrink,n.enabled=e.enabled,n.growToHeight=e.growToHeight,n.printable=e.printable,0!=e.text.length&&(n.dataColumn=e.text.substring(1,e.text.length-2)),e.join&&(n._join=e._join,n._parentJoin=e._parentJoin,n._joinCells=e._joinCells),this.components.removeAt(r),this.components.insert(r,n),n.select(),e=null}else if(t.is(J.StiTableCellCheckBox)){var e=t,r,n;if(-1==(r=this.components.indexOf(e)))return;(n=new J.StiTableCellImage).clientRectangle=e.clientRectangle,n.name=e.name,n.border=e.border,n.brush=e.brush,n.id=e.id,n.restrictions=e.restrictions,n.page=e.page,n.parent=e.parent,n.canGrow=e.canGrow,n.canShrink=e.canShrink,n.enabled=e.enabled,n.growToHeight=e.growToHeight,n.printable=e.printable,null!=e.checkedValue&&0!=e.checkedValue.toString().length&&(n.dataColumn=e.checkedValue.toString().substring(1,e.checkedValue.toString().length-2)),e._join&&(n._join=e._join,n._parentJoin=e._parentJoin,n._joinCells=e._joinCells),this.components.removeAt(r),this.components.insert(r,n),n.select(),e=null}else if(t.is(J.StiTableCellRichText)){var t=t,r,n;if(-1==(r=this.components.indexOf(t)))return;(n=new J.StiTableCellImage).clientRectangle=t.clientRectangle,n.name=t.name,n.border=t.border,n.brush=new S(t.backColor),n.id=t.id,n.restrictions=t.restrictions,n.page=t.page,n.parent=t.parent,n.canGrow=t.canGrow,n.canShrink=t.canShrink,n.enabled=t.enabled,n.growToHeight=t.growToHeight,n.printable=t.printable,0!=t.dataColumn.length&&(n.dataColumn=t.dataColumn),t._join&&(n._join=t._join,n._parentJoin=t._parentJoin,n._joinCells=t._joinCells),this.components.removeAt(r),this.components.insert(r,n),n.select(),t=null}return},s.prototype.changeTableCellContentInText=function(t){if(t.is(J.StiTableCellImage)){var e=t,r,n;if(-1==(r=this.components.indexOf(e)))return;(n=new J.StiTableCell).clientRectangle=e.clientRectangle,n.name=e.name,n.border=e.border,n.brush=e.brush,n.id=e.id,n.restrictions=e.restrictions,n.page=e.page,n.parent=e.parent,n.canBreak=e.canBreak,n.canGrow=e.canGrow,n.canShrink=e.canShrink,n.enabled=e.enabled,n.growToHeight=e.growToHeight,n.printable=e.printable,0!=e.dataColumn.length&&(n.text="{"+e.dataColumn+"}"),e._join&&(n._join=e._join,n._parentJoin=e._parentJoin,n._joinCells=e._joinCells),this.components.removeAt(r),this.components.insert(r,n),n.select(),e=null}else if(t.is(J.StiTableCellCheckBox)){var e=t,r,n;if(-1==(r=this.components.indexOf(e)))return;(n=new J.StiTableCell).clientRectangle=e.clientRectangle,n.name=e.name,n.border=e.border,n.brush=e.brush,n.id=e.id,n.restrictions=e.restrictions,n.page=e.page,n.parent=e.parent,n.canGrow=e.canGrow,n.canShrink=e.canShrink,n.enabled=e.enabled,n.growToHeight=e.growToHeight,n.printable=e.printable,0!=e.checked.toString().length&&(n.text=e.checked.toString()),e.join&&(n._join=e._join,n._parentJoin=e._parentJoin,n._joinCells=e._joinCells),this.components.removeAt(r),this.components.insert(r,n),n.select(),e=null}else if(t.is(J.StiTableCellRichText)){var t=t,r,n;if(-1==(r=this.components.indexOf(t)))return;(n=new J.StiTableCell).clientRectangle=t.clientRectangle,n.name=t.name,n.border=t.border,n.brush=new S(t.backColor),n.id=t.id,n.restrictions=t.restrictions,n.page=t.page,n.parent=t.parent,n.canGrow=t.canGrow,n.canShrink=t.canShrink,n.enabled=t.enabled,n.growToHeight=t.growToHeight,n.printable=t.printable,0!=t.dataColumn.length&&(n.text=t.dataColumn),t._join&&(n._join=t._join,n._parentJoin=t._parentJoin,n._joinCells=t._joinCells),this.components.removeAt(r),this.components.insert(r,n),n.select(),t=null}},s.prototype.changeTableCellContentInCheckBox=function(t){if(t.is(J.StiTableCellImage)){var e=t,r,n;if(-1==(r=this.components.indexOf(e)))return;(n=new J.StiTableCellCheckBox).clientRectangle=e.clientRectangle,n.name=e.name,n.border=e.border,n.brush=e.brush,n.id=e.id,n.restrictions=e.restrictions,n.page=e.page,n.parent=e.parent,n.canGrow=e.canGrow,n.canShrink=e.canShrink,n.enabled=e.enabled,n.growToHeight=e.growToHeight,n.printable=e.printable,0!=e.dataColumn.length&&(n.checkedValue="{"+e.dataColumn+"}"),e._join&&(n._join=e._join,n._parentJoin=e._parentJoin,n._joinCells=e._joinCells),this.components.removeAt(r),this.components.insert(r,n),n.select(),e=null}else if(t.is(J.StiTableCellRichText)){var e=t,r,n;if(-1==(r=this.components.indexOf(e)))return;(n=new J.StiTableCellCheckBox).clientRectangle=e.clientRectangle,n.name=e.name,n.border=e.border,n.brush=new S(e.backColor),n.id=e.id,n.restrictions=e.restrictions,n.page=e.page,n.parent=e.parent,n.canGrow=e.canGrow,n.canShrink=e.canShrink,n.enabled=e.enabled,n.growToHeight=e.growToHeight,n.printable=e.printable,0!=e.dataColumn.length&&(n.checkedValue="{"+e.dataColumn+"}"),e._join&&(n._join=e._join,n._parentJoin=e._parentJoin,n._joinCells=e._joinCells),this.components.removeAt(r),this.components.insert(r,n),n.select(),e=null}else if(t.is(J.StiTableCell)){var t=t,r,n;if(-1==(r=this.components.indexOf(t)))return;(n=new J.StiTableCellCheckBox).clientRectangle=t.clientRectangle,n.name=t.name,n.border=t.border,n.brush=t.brush,n.id=t.id,n.restrictions=t.restrictions,n.page=t.page,n.parent=t.parent,n.canGrow=t.canGrow,n.canShrink=t.canShrink,n.enabled=t.enabled,n.growToHeight=t.growToHeight,n.printable=t.printable,0!=t.text.length&&(n.checkedValue=t.text),t._join&&(n._join=t._join,n._parentJoin=t._parentJoin,n._joinCells=t._joinCells),this.components.removeAt(r),this.components.insert(r,n),n.select(),t=null}},s.prototype.changeTableCellContentInRichText=function(t){if(t.is(J.StiTableCellImage)){var e=t,r,n;if(-1==(r=this.components.indexOf(e)))return;(n=new J.StiTableCellRichText).clientRectangle=e.clientRectangle,n.name=e.name,n.border=e.border,n.backColor=y.toColor(e.brush),n.id=e.id,n.restrictions=e.restrictions,n.page=e.page,n.parent=e.parent,n.canBreak=e.canBreak,n.canGrow=e.canGrow,n.canShrink=e.canShrink,n.enabled=e.enabled,n.growToHeight=e.growToHeight,n.printable=e.printable,0!=e.dataColumn.length&&(n.dataColumn=e.dataColumn),e._join&&(n._join=e._join,n._parentJoin=e._parentJoin,n._joinCells=e._joinCells),this.components.removeAt(r),this.components.insert(r,n),n.select(),e=null}else if(t.is(J.StiTableCellCheckBox)){var e=t,r,n;if(-1==(r=this.components.indexOf(e)))return;(n=new J.StiTableCellRichText).clientRectangle=e.clientRectangle,n.name=e.name,n.border=e.border,n.backColor=y.toColor(e.brush),n.id=e.id,n.restrictions=e.restrictions,n.page=e.page,n.parent=e.parent,n.canGrow=e.canGrow,n.canShrink=e.canShrink,n.enabled=e.enabled,n.growToHeight=e.growToHeight,n.printable=e.printable,0!=e.checkedValue.toString().length&&(n.dataColumn=e.checkedValue.toString().substring(1,e.checkedValue.toString().length-2)),e._join&&(n._join=e._join,n._parentJoin=e._parentJoin,n._joinCells=e._joinCells),this.components.removeAt(r),this.components.insert(r,n),n.select(),e=null}else if(t.is(J.StiTableCell)){var t=t,r,n;if(-1==(r=this.components.indexOf(t)))return;(n=new J.StiTableCellRichText).clientRectangle=t.clientRectangle,n.name=t.name,n.border=t.border,n.backColor=y.toColor(t.brush),n.id=t.id,n.restrictions=t.restrictions,n.page=t.page,n.parent=t.parent,n.canBreak=t.canBreak,n.canGrow=t.canGrow,n.canShrink=t.canShrink,n.enabled=t.enabled,n.growToHeight=t.growToHeight,n.printable=t.printable,0!=t.text.length&&(n.dataColumn=t.text.substring(1,t.text.length-2)),t._join&&(n._join=t._join,n._parentJoin=t._parentJoin,n._joinCells=t._joinCells),this.components.removeAt(r),this.components.insert(r,n),n.select(),t=null}},s.prototype.getColumnForCell=function(t){return 0},s.prototype.setCellID=function(t){t.id=this._numberID,this._numberID++},s.prototype.createCell=function(){if(null==this.page||null==this.parent||null==this.page.report)return;var t=this.clientRectangle;if(t.width<0)return;X.prototype.setHeight.call(this,this._rowCount*this.defaultHeightCell),t=this.clientRectangle,0!=this.components.count&&this.components.clear();for(var e,r=+(t.width/this._columnCount/this.page.gridSize),n,i=+(t.height/this._rowCount/this.page.gridSize),o=r*this.page.gridSize,a=t.width-o*(this._columnCount-1),s=i*this.page.gridSize,l=t.height-s*(this._rowCount-1),u=0,c=1,p=0;p<this._rowCount;p++){for(var h=0;h<this._columnCount;h++){var m=new J.StiTableCell;this.setCellID(m),m.name=A.format("{0}_Cell{1}",this.name,c);var d=h==this._columnCount-1?a:o,g=p==this._rowCount-1?l:s;m.clientRectangle=new V(u,s*p,d,g),this.setStyleForCell(m,!1),u=m.right,this.components.add(m),c++}u=0}this.resizeHeightCell(),this.applyStyleNone()},s.prototype.setStyleForCell=function(t,e){var r,r;t.is2(K.StiComponent)?((r=t).restrictions=c.Report.Components.StiRestrictions.None|c.Report.Components.StiRestrictions.AllowMove|c.Report.Components.StiRestrictions.AllowSelect|c.Report.Components.StiRestrictions.AllowChange,r.isSelected=e,r.canGrow=!1,r.growToHeight=!1,r.page=this.page,r.parent=this):t.is(J.StiTableCell)&&((r=t).restrictions=c.Report.Components.StiRestrictions.None|c.Report.Components.StiRestrictions.AllowMove|c.Report.Components.StiRestrictions.AllowSelect|c.Report.Components.StiRestrictions.AllowChange,r.brush=new S(o.white),r.font=new n("Arial",9),r.isSelected=e,r.canGrow=!1,r.growToHeight=!1,r.page=this.page,r.parent=this)},s.prototype.addNewRows=function(t){if(0==this.components.count)return;var e=this.components.count+1,r=this.clientRectangle;r.height+=this.defaultHeightCell*t,X.prototype.setClientRectangle.call(this,r);for(var n=0;n<t;n++)for(var i=0;i<this._columnCount;i++){var o=new J.StiTableCell,a=this.components.getByIndex(this.components.count-this._columnCount).as(K.StiComponent);o.name=A.format("{0}_Cell{1}",this.name,e),this.setCellID(o);var s=a.as(J.IStiTableCell).getRealLeft(),l=a.as(J.IStiTableCell).getRealWidth();o.clientRectangle=new V(s,a.bottom,l,this.defaultHeightCell),this.setStyleForCell(o,!0),this.tableStyle==J.StiTableStyle.StyleNone&&this.applyStyleNoneForCell(o),this.components.add(o),e++}this.refreshTableStyle()},s.prototype.deleteLastRows=function(t,e){if(0==this.components.count)return;for(var r=0,n=e-t;n<e;n++){if(n*this._columnCount>=this.components.count)break;for(var i=0;i<this._columnCount;i++){var o=this.components.getByIndex(n*this._columnCount+i).as(K.StiComponent),a;o.as(J.IStiTableCell).merged&&(o.as(J.IStiTableCell).getJoinComponentByGuid(o.as(J.IStiTableCell).parentJoin).as(J.IStiTableCell).join=!1)}r+=this.components.getByIndex(n*this._columnCount).height}var s=(e-t)*this._columnCount;while(this.components.count>s)this.components.removeAt(this.components.count-1);X.prototype.setHeight.call(this,X.prototype.getHeight.call(this)-r),this.refreshTableStyle()},s.prototype.addTableNewColumns=function(t,e){if(0==this.components.count)return;for(var r=this.clientRectangle,n=+(r.width/this.page.gridSize),i=this._columnCount,o=Math.trunc(n/i),a=n-o*i,s=new Array(i),l=0;l<i;l++)s[l]=o*this.page.gridSize,l<a&&(s[l]+=this.page.gridSize);s[i-1]+=r.width-n*this.page.gridSize;for(var u=0,c=0,p=0,l=0;l<this._rowCount;l++){for(var h=0;h<e;h++){var m=this.components.getByIndex(u).as(K.StiComponent);if(m.name=A.format("{0}_Cell{1}",this.name,u+1),m.clientRectangle=new V(p,m.top,s[c],m.height),p+=s[c],u++,c++,h==e-1)for(var d=m.as(J.IStiTableCell).getRealHeight(),g=m.as(J.IStiTableCell).getRealTop(),f=0;f<t;f++){var S=new J.StiTableCell;S.name=A.format("{0}_Cell{1}",this.name,u+1),this.setCellID(S.as(J.IStiTableCell)),S.clientRectangle=new V(p,g,s[c],d),this.setStyleForCell(S,!0),this._tableStyle==J.StiTableStyle.StyleNone&&this.applyStyleNoneForCell(S),this.components.insert(u,S),p+=s[c],u++,c++}}c=p=0}for(var l=0;l<this.components.count;l++){var y=this.components.getByIndex(l).as(K.StiComponent);null!=y&&y.as(J.IStiTableCell).join&&y.as(J.IStiTableCell).setJoinSize()}this.refreshTableStyle()},s.prototype.deleteTableColumns=function(t,e){if(0==this.components.count)return;for(var r=e-t,n=0,i=0;i<this._rowCount;i++){n+=r;for(var o=0;o<t;o++)this.components.removeAt(n)}for(var a,e=+(this.clientRectangle.width/this.page.gridSize),s=Math.trunc(e/r),l=e-s*r,u=new Array(r),i=0;i<r;i++)u[i]=s*this.page.gridSize,i<l&&(u[i]+=this.page.gridSize);for(var c=0,n=0,i=0;i<this._rowCount;i++){for(var o=0;o<r;o++){var p=this.components.getByIndex(n).as(K.StiComponent);p.name=A.format("{0}_Cell{1}",this.name,n+1),p.left=c,p.width=u[o],c+=u[o],n++}c=0}for(var i=0;i<this.components.count;i++){var h=this.components.getByIndex(i).as(K.StiComponent);null!=h&&h.as(J.IStiTableCell).join&&h.as(J.IStiTableCell).setJoinSize()}this.refreshTableStyle()},s.prototype.insertColumnToLeft=function(t){if(t<0)return;if(0!=t)for(var e=t,r=0;r<this._rowCount;r++){var n=this.components.getByIndex(e),i=this.components.getByIndex(e-1),o;n.as(J.IStiTableCell).merged&&i.as(J.IStiTableCell).merged&&((o=n.as(J.IStiTableCell).getJoinComponentByGuid(n.as(J.IStiTableCell).parentJoin)).as(J.IStiTableCell).containsGuid(i.as(J.IStiTableCell).id)&&(o.as(J.IStiTableCell).join=!1)),e+=this.columnCount}for(var a=t,s=0;s<this._rowCount;s++){var n=this.components.getByIndex(a),l=new J.StiTableCell;this.setCellID(l.as(J.IStiTableCell)),l.top=n.as(J.IStiTableCell).getRealTop(),l.height=n.as(J.IStiTableCell).getRealHeight(),this.setStyleForCell(l,!1),this._tableStyle==J.StiTableStyle.StyleNone&&this.applyStyleNoneForCell(l),this.components.insert(a,l),a++,a+=this._columnCount}this._columnCount++,this.resizeWidthCellsAfterChanges(),this.refreshTableStyle()},s.prototype.insertColumnToRight=function(t){if(t<0)return;if(t!=this._columnCount-1)for(var e=t,r=0;r<this._rowCount;r++){var n=this.components.getByIndex(e).as(J.IStiTableCell),i=this.components.getByIndex(e+1).as(J.IStiTableCell),o;n.merged&&i.merged&&((o=n.getJoinComponentByGuid(n.parentJoin).as(J.IStiTableCell)).containsGuid(i.id)&&(o.join=!1)),e+=this.columnCount}for(var a=t,s=0;s<this._rowCount;s++){var n=this.components.getByIndex(a),l=new J.StiTableCell;this.setCellID(l.as(J.IStiTableCell)),l.top=n.as(J.IStiTableCell).getRealTop(),l.height=n.as(J.IStiTableCell).getRealHeight(),this.setStyleForCell(l,!1),this._tableStyle==J.StiTableStyle.StyleNone&&this.applyStyleNoneForCell(l),this.components.insert(a+1,l),a++,a+=this._columnCount}this._columnCount++,this.resizeWidthCellsAfterChanges(),this.refreshTableStyle()},s.prototype.insertRowAbove=function(t){if(t<0)return;if(0!=t)for(var e=t*this._columnCount,r=0;r<this._columnCount;r++){var n=this.components.getByIndex(e),i=this.components.getByIndex(e-this._columnCount),o;n.as(J.IStiTableCell).merged&&i.as(J.IStiTableCell).merged&&((o=n.as(J.IStiTableCell).getJoinComponentByGuid(n.as(J.IStiTableCell).parentJoin)).as(J.IStiTableCell).containsGuid(i.as(J.IStiTableCell).id)&&(o.as(J.IStiTableCell).join=!1)),e++}for(var a=t*this._columnCount,s=0;s<this._columnCount;s++){var n=this.components.getByIndex(a+s),l=new J.StiTableCell;this.setCellID(l.as(J.IStiTableCell)),l.left=n.as(J.IStiTableCell).getRealLeft(),l.width=n.as(J.IStiTableCell).getRealWidth(),l.height=this.defaultHeightCell,this.setStyleForCell(l,!1),this._tableStyle==J.StiTableStyle.StyleNone&&this.applyStyleNoneForCell(l),this.components.insert(a,l),a++}this._rowCount++,this.resizeHeightCellsAfterChanges(this.defaultHeightCell),this.refreshTableStyle()},s.prototype.insertRowBelow=function(t){if(t<0)return;if(t!=this._rowCount)for(var e=t*this._columnCount,r=0;r<this._columnCount;r++){var n=this.components.getByIndex(e),i=this.components.getByIndex(e-this._columnCount),o;n.as(J.IStiTableCell).merged&&i.as(J.IStiTableCell).merged&&((o=n.as(J.IStiTableCell).getJoinComponentByGuid(n.as(J.IStiTableCell).parentJoin)).as(J.IStiTableCell).containsGuid(i.as(J.IStiTableCell).id)&&(o.as(J.IStiTableCell).join=!1)),e++}for(var a=t*this._columnCount,s=0;s<this._columnCount;s++){var n=void 0;n=t==this._rowCount?this.components.getByIndex(a-this._columnCount):this.components.getByIndex(a+s);var l=new J.StiTableCell;this.setCellID(l.as(J.IStiTableCell)),l.left=n.as(J.IStiTableCell).getRealLeft(),l.width=n.as(J.IStiTableCell).getRealWidth(),l.height=this.defaultHeightCell,this.setStyleForCell(l,!1),this._tableStyle==J.StiTableStyle.StyleNone&&this.applyStyleNoneForCell(l),this.components.insert(a,l),a++}this._rowCount++,this.resizeHeightCellsAfterChanges(this.defaultHeightCell),this.refreshTableStyle()},s.prototype.deleteRows=function(t,e){var r=e-t+1;if(r==this._rowCount)return null;for(var n=new Array,i=t*this._columnCount,o=0,a=t;a<=e;a++)for(var s=0;s<this._columnCount;s++){var l=this.components.getByIndex(i);null!=l&&(l.as(J.IStiTableCell).merged&&(l.as(J.IStiTableCell).getJoinComponentByGuid(l.as(J.IStiTableCell).parentJoin).as(J.IStiTableCell).join=!1),0==s&&(o+=l.as(J.IStiTableCell).getRealHeight()),this.components.removeAt(i),n.push(l))}return this._rowCount-=r,this.resizeHeightCellsAfterChanges(-1*o),this.refreshTableStyle(),n},s.prototype.deleteColumns=function(t,e){var r=e-t+1;if(r==this._columnCount)return null;for(var n=new Array,i=t,o=0;o<this._rowCount;o++){for(var a=t;a<=e;a++){var s=this.components.getByIndex(i);null!=s&&(s.as(J.IStiTableCell).merged&&(s.as(J.IStiTableCell).getJoinComponentByGuid(s.as(J.IStiTableCell).parentJoin).as(J.IStiTableCell).join=!1),this.components.removeAt(i),n.push(s))}i+=this._columnCount-r}return this._columnCount-=r,this.resizeWidthCellsAfterChanges(),this.refreshTableStyle(),n},s.prototype.distributeRows=function(){if(this.isConverted||null==this.page||null==this.parent||0==this.components.count)return;if(this._rowCount*this._columnCount!=this.components.count)return;for(var t=this.clientRectangle,e=+(t.height/this.page.gridSize),r=e/this._rowCount,n=e-r*this._rowCount,i=new Array(this._rowCount),o=0;o<this._rowCount;o++)i[o]=r*this.page.gridSize,o<n&&(i[o]+=this.page.gridSize);i[i.length-1]+=t.height-e*this.page.gridSize;for(var a=0,s=0,o=0;o<this._rowCount;o++){for(var l=0;l<this._columnCount;l++){var u=this.components.getByIndex(s).as(K.StiComponent);null!=u&&(u.clientRectangle=new V(u.as(J.IStiTableCell).getRealLeft(),a,u.as(J.IStiTableCell).getRealWidth(),i[o]),u.as(J.IStiTableCell).join&&u.as(J.IStiTableCell).setJoinSize(),s++)}a+=i[o]}},s.prototype.distributeColumns=function(){if(this.isConverted||null==this.page||null==this.parent||0==this.components.count)return;for(var t=this.clientRectangle,e=+(t.width/this.page.gridSize),r=e/this._columnCount,n=e-r*this._columnCount,i=new Array(this._columnCount),o=0;o<this._columnCount;o++)i[o]=r*this.page.gridSize,o<n&&(i[o]+=this.page.gridSize);i[i.length-1]+=t.width-e*this.page.gridSize;for(var a=0,s=0,l=0;l<this._rowCount;l++){for(var o=0;o<this._columnCount;o++){var u=this.components.getByIndex(s).as(K.StiComponent);null!=u&&(u.clientRectangle=new V(a,u.as(J.IStiTableCell).getRealTop(),i[o],u.as(J.IStiTableCell).getRealHeight()),a+=i[o],s++)}a=0}},s.prototype.autoSizeCells=function(){if(this.isConverted||0==this.components.count||null==this.page)return;for(var t=this.clientRectangle,e=+(t.width/this.page.gridSize),r=Math.trunc(e/this._columnCount),n=e-r*this._columnCount,i=new Array(this._columnCount),o=0;o<this._columnCount;o++)i[o]=r*this.page.gridSize,o<n&&(i[o]+=this.page.gridSize);i[i.length-1]+=t.width-e*this.page.gridSize;for(var e=+(t.height/this.page.gridSize),r,a=e-(r=Math.trunc(e/this._rowCount))*this._rowCount,s=new Array(this._rowCount),l=0;l<this._rowCount;l++)s[l]=r*this.page.gridSize,l<a&&(s[l]+=this.page.gridSize);s[s.length-1]+=t.height-e*this.page.gridSize;for(var u=0,c=0,p=0,l=0;l<this._rowCount;l++){for(var o=0,h;o<this._columnCount;o++){this.components.getByIndex(p).clientRectangle=new V(u,c,i[o],s[l]),u+=i[o],p++}u=0,c+=s[l]}},s.prototype.resizeWidthCellsAfterChanges=function(){if(this.isConverted)return;for(var t=this.clientRectangle,e=+(t.width/this.page.gridSize),r=Math.trunc(e/this._columnCount),n=e-r*this._columnCount,i=new Array(this._columnCount),o=0;o<this._columnCount;o++)i[o]=r*this.page.gridSize,o<n&&(i[o]+=this.page.gridSize);i[this._columnCount-1]+=t.width-e*this.page.gridSize;for(var a=0,s=0,l=0,o=0;o<this._rowCount;o++){for(var u=0;u<this._columnCount;u++){var c=this.components.getByIndex(a);c.name=A.format("{0}_Cell{1}",this.name,a+1),c.as(J.IStiTableCell).join?(c.left=l,c.width=i[s],c.as(J.IStiTableCell).setJoinSize()):c.clientRectangle=new V(l,c.top,i[s],c.height),l+=i[s],a++,s++}l=s=0}},s.prototype.resizeHeightCellsAfterChanges=function(t){if(this.isConverted)return;var e=this.clientRectangle;e.height+=t;for(var r=0,n=0,i=null,o=0;o<this._rowCount;o++){for(var a=0;a<this._columnCount;a++)(i=this.components.getByIndex(n)).name=A.format("{0}_Cell{1}",this.name,n+1),i.as(J.IStiTableCell).join?(i.height=i.as(J.IStiTableCell).getRealHeightAfterInsertRows(),i.top=r,i.as(J.IStiTableCell).setJoinSize()):i.top=r,n++;null!=i&&(r+=i.as(J.IStiTableCell).getRealHeight())}X.prototype.setClientRectangle.call(this,e)},s.prototype.resizeWidthCell=function(t){if(this.isConverted||0==this.components.count||null==this.page)return;if(this._columnCount*this._rowCount!=this.components.count)return;for(var e=X.prototype.getWidth.call(this)-t,r,t=+(e/this._columnCount/this.page.gridSize),n=this.page.gridSize*t,i=e-n*(this._columnCount-1),o=0;o<this._columnCount;o++)for(var a=0;a<this._rowCount;a++){var s=this.components.getByIndex(a*this._columnCount+o).as(K.StiComponent);o==this._columnCount-1?(s.left+=o*n,s.width+=i):(s.left+=o*n,s.width+=n)}},s.prototype.resizeHeightCell=function(){if(this.isConverted||null==this.page&&0==this.components.count)return;var t=this.clientRectangle;if(1==this._rowCount)for(var e=0,r;e<this._columnCount;e++){(r=this.components.getByIndex(e).as(K.StiComponent)).top=0,r.height=t.height}else{for(var n=new Array(this._rowCount),i=+(t.height/this.page.gridSize),o=Math.trunc(i/this._rowCount),a=i-o*this._rowCount,s=o*this.page.gridSize,e=0;e<this._rowCount;e++)n[e]=s,e<a&&(n[e]+=this.page.gridSize);n[this._rowCount-1]+=t.height-this.page.gridSize*i;for(var l=0,e=0;e<this._rowCount;e++){for(var u=0,r,c;u<this._columnCount;u++){(r=this.components.getByIndex(e*this._columnCount+u).as(K.StiComponent)).as(J.IStiTableCell).join?(c=r.as(J.IStiTableCell).getJoinComponentByIndex(0),r.left=c.left,r.top=c.top,r.height=l+n[e]-c.top):(r.top=l,r.height=n[e])}l+=n[e]}}},s.prototype.startRenderTableBand=function(t){var e=t.ref;if(!this.report.isInteractionRendering&&!this.enabled)return null;var r=this.parent.as(K.StiPage),n=this.parent.as(K.StiDataBand),i=this.parent.as(K.StiPanel),o,o;if(this._dockableTable){if(null!=n){(o=new K.StiPanel).name=this.name+"_Panel",o.canBreak=!0,o.clientRectangle=n.clientRectangle,o.dockStyle=K.StiDockStyle.Fill;var a=n.components.indexOf(this);return n.components.insert(a,o),this.startRenderTable(o,0,t)}if(null!=r){var s=this.page.components.indexOf(this);return this.startRenderTable(r,s,t)}if(null!=i){var s=i.components.indexOf(this);return this.startRenderTable(i,s,t)}}else{if(null!=n){(o=new K.StiPanel).name=this.name+"_Panel",o.canBreak=!0,o.canGrow=!0,o.clientRectangle=this.clientRectangle;var a=n.components.indexOf(this);return n.components.insert(a,o),this.startRenderTable(o,0,t)}if(null!=r){var s=this.page.components.indexOf(this),r=new K.StiDataBand,o;return r.name=this.name+"_Band",r.left=this.left,r.top=this.top,this.page.components.insert(s,r),(o=new K.StiPanel).name=this.name+"_Panel",o.canBreak=!0,o.canGrow=!0,o.clientRectangle=this.clientRectangle,o.top=0,r.components.add(o),this.startRenderTable(o,0,t)}if(null!=i){var s=i.parent.components.indexOf(i);return this.startRenderTable(i,s,t)}}return null},s.prototype.startRenderTable=function(t,e,r){var n=r.ref,r=this.page,i=null;n.containsKey(r)?i=n.get(r).stimulsoft.as(Array):(i=[],n.add(r,i)),X.prototype.setEnabled.call(this,!1);var o=0,a=null,s=this.clientRectangle,r=this.dockableTable?s.y:0,l=0,u=0,c=0,p=+this.components.count/this._columnCount;this.reverseCells(this.rightToLeft);for(var h=0;h<this._rowCount;h++)for(var m=0;m<this._columnCount;m++)this.components.getByIndex(this._columnCount*h+m).as(J.IStiTableCell).column=m,this.components.getByIndex(this._columnCount*h+m).as(J.IStiTableCell).tableTag=this;var d=!1,g=this.parent.components.indexOf(this)-1,f,f;while(0<=g){var S=this.parent.components.getByIndex(g);if(!S.is(K.StiHeaderBand)&&!S.is(K.StiChildBand)&&!S.is(K.StiEmptyBand)){if(S.is(K.StiGroupHeaderBand)){d=!0;break}break}g--}if(0<this._headerRowsCount){for(var y=0;y<this._headerRowsCount;y++)l+=this.components.getByIndex(y*this._columnCount).as(J.IStiTableCell).getRealHeight();var A=new W,b=new W,C=null;d?((C=new K.StiGroupHeaderBand).as(K.StiGroupHeaderBand).groupHeaderBandInfo.isTableGroupHeader=!0,C.name=this.name+"_GrHd",C.as(K.StiGroupHeaderBand).printOnAllPages=this._headerPrintOnAllPages):((C=new K.StiHeaderBand).name=this.name+"_Hd",C.as(K.StiHeaderBand).headerBandInfo.isTableHeader=!0,C.as(K.StiHeaderBand).printOnAllPages=this._headerPrintOnAllPages,C.as(K.StiHeaderBand).printIfEmpty=this._headerPrintIfEmpty,C.as(K.StiHeaderBand).printOnEvenOddPages=this._headerPrintOnEvenOddPages),C.height=l,C.clientRectangle=new V(s.x,r,s.width,l),C.border=this.border,C.brush=this.brush,C.page=this.page,C.parent=this.page,C.canGrow=this._headerCanGrow,C.canShrink=this._headerCanShrink,C.canBreak=this._headerCanBreak,C.printAtBottom=this._headerPrintAtBottom,C.printOn=this._headerPrintOn;for(var v=0,w=0;w<this._headerRowsCount;w++){var B=this.components.getByIndex(o).as(J.IStiTableCell).getRealHeight(),I;(I=new K.StiPanel).clientRectangle=new V(s.x,v,s.width,B),I.name=C.name+"_HPnl"+w.toString(),I.canGrow=!0,I.canShrink=!0,I.dockStyle=K.StiDockStyle.Top,C.components.add(I),v+=B,o+=this._columnCount;for(var T=this._columnCount*w;T<o;T++){var E,R=!1,D=null,P,x,F,N;if(-1!=(E=this.components.getByIndex(T)).as(J.IStiTableCell).parentJoin){var k,M={ref:k=0},O;if(D=this.getParentJoin(E.as(J.IStiTableCell).parentJoin,M),k=M.ref,A.containsKey(D)){if(w==+A.get(D))continue;(O=new K.StiText).page=E.page,O.conditions=E.conditions,O.setPaintRectangle(E.getPaintRectangle()),O.clientRectangle=new V(E.as(J.IStiTableCell).getRealLeft(),0,E.as(J.IStiTableCell).getRealHeight()),O.name=E.name+"_Emp",O.growToHeight=!0,O.brush=new z,O.dockStyle=E.as(J.IStiTableCell).cellDockStyle,I.components.add(O),i.push(O),E==D&&(b.get(D).as(J.IStiTableCell).parentJoinCell=O);continue}A.add(D,w),E=D,R=!0}switch(E.top=0,E.as(J.IStiTableCell).cellType){case J.StiTablceCellType.Image:(P=E.as(J.StiTableCellImage).clone(!0).as(K.StiImage)).restrictions=P.restrictions^K.StiRestrictions.AllowDelete,P.dockStyle=E.as(J.StiTableCellImage).cellDockStyle,this.setInteraction(E),I.components.add(P),i.push(P),R&&(P.canGrow=!0,this.isEqualRows(E,this.components.getByIndex(T))||(P.height=E.as(J.IStiTableCell).getRealHeight()),b.add(D,P));break;case J.StiTablceCellType.Text:(x=E.as(J.StiTableCell).clone(!0).as(K.StiText)).restrictions=x.restrictions^K.StiRestrictions.AllowDelete,x.dockStyle=E.as(J.StiTableCell).cellDockStyle,this.setInteraction(E),I.components.add(x),i.push(x),R&&(x.canGrow=!0,this.isEqualRows(E,this.components.getByIndex(T))||(x.height=E.as(J.IStiTableCell).getRealHeight()),b.add(D,x));break;case J.StiTablceCellType.CheckBox:(F=E.as(J.StiTableCellCheckBox).clone(!0).as(K.StiCheckBox)).restrictions=F.restrictions^K.StiRestrictions.AllowDelete,F.dockStyle=E.as(J.StiTableCellCheckBox).cellDockStyle,this.setInteraction(E),I.components.add(F),i.push(F),R&&(F.canGrow=!0,this.isEqualRows(E,this.components.getByIndex(T))||(F.height=E.as(J.IStiTableCell).getRealHeight()),b.add(D,F));break;case J.StiTablceCellType.RichText:(N=E.as(J.StiTableCellRichText).clone(!0).as(K.StiRichText)).restrictions=N.restrictions^K.StiRestrictions.AllowDelete,N.dockStyle=E.as(J.StiTableCellRichText).cellDockStyle,this.setInteraction(E),I.components.add(N),i.push(N),R&&(N.canGrow=!0,this.isEqualRows(E,this.components.getByIndex(T))||(N.height=E.as(J.IStiTableCell).getRealHeight()),b.add(D,N));break}}}t.components.insert(e,C),i.push(C),e++,r+=l+1}else{d&&0<this._footerRowsCount&&((f=new K.StiGroupHeaderBand).height=0,f.clientRectangle=new V(s.x,r,s.width,0),f.name=this.name+"_GrHdEmp",f.page=this.page,f.parent=this.page,f.printAtBottom=this._headerPrintAtBottom,t.components.insert(e,f),i.push(f),e++,r+=1)}if(0<this._rowCount-this._headerRowsCount-this._footerRowsCount){this.isConverted=!0,a=this.clone(!0,!1),this.isConverted=!1,a.components.clear(),this.setFilter(a);for(var y=this._headerRowsCount;y<p-this._footerRowsCount;y++)c+=this.components.getByIndex(y*this._columnCount).as(J.IStiTableCell).getRealHeight();a.parent=this.parent,a.page=this.page,a.enabled=!0,a.clientRectangle=new V(s.x,r,s.width,c),a.name=this.name+"_DB",a.masterComponent=this.masterComponent;for(var A=new W,b=new W,_=this._headerRowsCount*this._columnCount,j=0,G=0;G<this._rowCount-this._headerRowsCount-this._footerRowsCount;G++){var B=this.components.getByIndex(_).as(J.IStiTableCell).getRealHeight(),I;(I=new K.StiPanel).clientRectangle=new V(s.x,j,s.width,B),I.name=a.name+"_DPnl"+G.toString(),I.canGrow=!0,I.canBreak=!0,I.canShrink=!0,I.dockStyle=K.StiDockStyle.Top,a.components.add(I),j+=B;for(var T=_;T<_+this._columnCount;T++){var E,R=!1,D=null,P,x,F,N;if(-1!=(E=this.components.getByIndex(T)).as(J.IStiTableCell).parentJoin){var k,M={ref:k=0},O;if(D=this.getParentJoin(E.as(J.IStiTableCell).parentJoin,M),k=M.ref,A.containsKey(D)){if(G==+A.get(D))continue;(O=new K.StiText).page=E.page,O.conditions=E.conditions,O.setPaintRectangle(E.getPaintRectangle()),O.clientRectangle=new V(E.as(J.IStiTableCell).getRealLeft(),0,E.as(J.IStiTableCell).getRealHeight()),O.name=E.name+"_Emp",O.growToHeight=!0,O.brush=new z,O.dockStyle=E.as(J.IStiTableCell).cellDockStyle,I.components.add(O),i.push(O),E==D&&(b.get(D).as(J.IStiTableCell).parentJoinCell=O);continue}A.add(D,G),E=D,R=!0}switch(E.top=0,E.as(J.IStiTableCell).cellType){case J.StiTablceCellType.Image:(P=E.as(J.StiTableCellImage).as(K.StiImage).clone(!0)).restrictions=P.restrictions^K.StiRestrictions.AllowDelete,P.dockStyle=E.as(J.StiTableCellImage).cellDockStyle,this.setInteraction(E),I.components.add(P),i.push(P),R&&(P.canGrow=!0,this.isEqualRows(E,this.components.getByIndex(T))||(P.height=E.as(J.IStiTableCell).getRealHeight()),b.add(D,P));break;case J.StiTablceCellType.Text:(x=E.as(J.StiTableCell).clone(!0).as(K.StiText)).restrictions=x.restrictions^K.StiRestrictions.AllowDelete,x.dockStyle=E.as(J.StiTableCell).cellDockStyle,this.setInteraction(E),I.components.add(x),i.push(x),R&&(x.canGrow=!0,this.isEqualRows(E,this.components.getByIndex(T))||(I.canGrow=!1),b.add(D,x));break;case J.StiTablceCellType.CheckBox:(F=E.as(J.StiTableCellCheckBox).clone(!0).as(K.StiCheckBox)).restrictions=F.restrictions^K.StiRestrictions.AllowDelete,F.dockStyle=E.as(J.StiTableCellCheckBox).cellDockStyle,this.setInteraction(E),I.components.add(F),i.push(F),R&&(F.canGrow=!0,this.isEqualRows(E,this.components.getByIndex(T))||(F.height=E.as(J.IStiTableCell).getRealHeight()),b.add(D,F));break;case J.StiTablceCellType.RichText:(N=E.as(J.StiTableCellRichText).clone(!0).as(K.StiRichText)).restrictions=N.restrictions^K.StiRestrictions.AllowDelete,N.dockStyle=E.as(J.StiTableCellRichText).cellDockStyle,this.setInteraction(E),I.components.add(N),i.push(N),R&&(N.canGrow=!0,this.isEqualRows(E,this.components.getByIndex(T))||(N.height=E.as(J.IStiTableCell).getRealHeight()),b.add(D,N));break}}_+=this._columnCount}t.components.insert(e,a),i.push(a),r+=c+.8,e++}if(0<this._footerRowsCount){for(var H=new W,b=new W,Q=this.components.count-this._footerRowsCount*this._columnCount,y=p-this._footerRowsCount;y<p;y++)u+=this.components.getByIndex(y*this._columnCount).as(J.IStiTableCell).getRealHeight();var L=null;d?((L=new K.StiGroupFooterBand).as(K.StiGroupFooterBand).groupFooterBandInfo.isTableGroupFooter=!0,L.name=this.name+"_GrFt"):((L=new K.StiFooterBand).name=this.name+"_Ft",L.as(K.StiFooterBand).footerBandInfo.isTableFooter=!0,L.as(K.StiFooterBand).printOnAllPages=this._footerPrintOnAllPages,L.as(K.StiFooterBand).printIfEmpty=this._footerPrintIfEmpty,L.as(K.StiFooterBand).printOnEvenOddPages=this._footerPrintOnEvenOddPages),L.clientRectangle=new V(s.x,r,s.width,u),L.border=this.border,L.brush=this.brush,L.interaction=null,L.page=this.page,L.parent=this.page,L.canGrow=this._footerCanGrow,L.canShrink=this._footerCanShrink,L.canBreak=this._footerCanBreak,L.printAtBottom=this._footerPrintAtBottom,L.printOn=this._footerPrintOn;for(var Y=0,U=0;U<this._footerRowsCount;U++){var B=this.components.getByIndex(Q).as(J.IStiTableCell).getRealHeight(),I;(I=new K.StiPanel).clientRectangle=new V(s.x,Y,s.width,B),I.name=L.name+"_FPnl"+U.toString(),I.canGrow=!0,I.canShrink=!0,I.dockStyle=K.StiDockStyle.Top,L.components.add(I),Y+=B;for(var T=Q;T<Q+this._columnCount;T++){var E,R=!1,D=null,P,x,F,N;if(-1!=(E=this.components.getByIndex(T)).as(J.IStiTableCell).parentJoin){var k,M={ref:k=0},O;if(D=this.getParentJoin(E.as(J.IStiTableCell).parentJoin,M),k=M.ref,H.containsKey(D)){if(U==+H.get(D))continue;(O=new K.StiText).page=E.page,O.conditions=E.conditions,O.setPaintRectangle(E.getPaintRectangle()),O.clientRectangle=new V(E.as(J.IStiTableCell).getRealLeft(),0,E.as(J.IStiTableCell).getRealHeight()),O.name=E.name+"_Emp",O.growToHeight=!0,O.brush=new z,O.dockStyle=E.as(J.IStiTableCell).cellDockStyle,I.components.add(O),i.push(O),E==D&&(b.get(D).as(J.IStiTableCell).parentJoinCell=O);continue}H.add(D,U),E=D,R=!0}switch(E.top=0,E.as(J.IStiTableCell).cellType){case J.StiTablceCellType.Image:(P=E.as(J.StiTableCellImage).clone(!0).as(K.StiImage)).restrictions=P.restrictions^K.StiRestrictions.AllowDelete,P.dockStyle=E.as(J.StiTableCellImage).cellDockStyle,this.setInteraction(E),I.components.add(P),i.push(P),R&&(P.canGrow=!0,this.isEqualRows(E,this.components.getByIndex(T))||(P.height=E.as(J.IStiTableCell).getRealHeight()),b.add(D,P));break;case J.StiTablceCellType.Text:(x=E.as(J.StiTableCell).clone(!0).as(K.StiText)).restrictions=x.restrictions^K.StiRestrictions.AllowDelete,x.dockStyle=E.as(J.StiTableCell).cellDockStyle,this.setInteraction(E),I.components.add(x),i.push(x),R&&(x.canGrow=!0,this.isEqualRows(E,this.components.getByIndex(T))||(x.height=E.as(J.IStiTableCell).getRealHeight()),b.add(D,x));break;case J.StiTablceCellType.CheckBox:(F=E.as(J.StiTableCellCheckBox).clone(!0).as(K.StiCheckBox)).restrictions=F.restrictions^K.StiRestrictions.AllowDelete,F.dockStyle=E.as(J.StiTableCellCheckBox).cellDockStyle,this.setInteraction(E),I.components.add(F),i.push(F),R&&(F.canGrow=!0,this.isEqualRows(E,this.components.getByIndex(T))||(F.height=E.as(J.IStiTableCell).getRealHeight()),b.add(D,F));break;case J.StiTablceCellType.RichText:(N=E.as(J.StiTableCellRichText).clone(!0).as(K.StiRichText)).restrictions=N.restrictions^K.StiRestrictions.AllowDelete,N.dockStyle=E.as(J.StiTableCellRichText).cellDockStyle,this.setInteraction(E),I.components.add(N),i.push(N),R&&(N.canGrow=!0,this.isEqualRows(E,this.components.getByIndex(T))||(N.height=E.as(J.IStiTableCell).getRealHeight()),b.add(D,N));break}}Q+=this._columnCount}t.components.insert(e,L),e++,i.push(L)}else{d&&0<this._headerRowsCount&&((f=new K.StiGroupFooterBand).height=0,f.clientRectangle=new V(s.x,r,s.width,0),f.name=this.name+"_GrFtEmp",f.page=this.page,f.parent=this.page,f.printAtBottom=this._footerPrintAtBottom,t.components.insert(e,f),i.push(f),e++)}return this.reverseCells(this.rightToLeft),a},s.prototype.reverseCells=function(t){if(!t)return;for(var e=0;e<this.rowCount;e++)for(var r=e*this.columnCount,n=this.columnCount/2,i=0;i<n;i++){var o=this.components.getByIndex(r+i);this.components.setByIndex(r+i,this.components.getByIndex(r+this.columnCount-1-i)),this.components.setByIndex(r+this.columnCount-1-i,o)}for(var a=0;a<this.components.count;a++){var s=this.components.getByIndex(a);s.left=this.width-s.right}},s.prototype.setFilter=function(t){var e=t.as(c.Report.Dictionary.IStiEnumerator),r=t.as(K.IStiFilter),n=t.as(K.IStiDataSource)},s.prototype.setInteraction=function(t){if(null==t.interaction)return},s.prototype.getParentJoin=function(t,e){var r,n,i=e.ref,o=0;try{for(var a=__values(this.components.list),s=a.next();!s.done;s=a.next()){var l=s.value;if(l.as(J.IStiTableCell).id==t)return i=+(o/this._columnCount),l.as(K.StiComponent);o++}}catch(t){r={error:t}}finally{try{s&&!s.done&&(n=a.return)&&n.call(a)}finally{if(r)throw r.error}}return e.ref=i,null},s.prototype.isEqualRows=function(t,e){var r,n;return+(this.components.indexOf(t)/this._columnCount)==+(this.components.indexOf(e)/this._columnCount)},s.prototype.createNew=function(){return new s},s),X;function s(t){void 0===t&&(t=V.empty);var t=X.call(this,t)||this;return t.isConverted=!1,t._dockableTable=!0,t._autoWidth=J.StiTableAutoWidth.None,t._autoWidthType=J.StiTableAutoWidthType.None,t._rowCount=5,t._columnCount=5,t._footerRowsCount=0,t._headerRowsCount=0,t._headerPrintOn=K.StiPrintOnType.AllPages,t._headerCanGrow=!0,t._headerCanShrink=!1,t._headerCanBreak=!1,t._headerPrintAtBottom=!1,t._headerPrintIfEmpty=!0,t._headerPrintOnAllPages=!0,t._headerPrintOnEvenOddPages=K.StiPrintOnEvenOddPagesType.Ignore,t._footerPrintOn=K.StiPrintOnType.AllPages,t._footerCanGrow=!0,t._footerCanShrink=!1,t._footerCanBreak=!1,t._footerPrintAtBottom=!1,t._footerPrintIfEmpty=!0,t._footerPrintOnAllPages=!1,t._footerPrintOnEvenOddPages=K.StiPrintOnEvenOddPagesType.Ignore,t._numberID=0,t.defaultClientRectangle=new V(0,0,300,120),t._tableStyle=J.StiTableStyle.StyleNone,t._rowCount=t._columnCount=5,t.placeOnToolbox=!1,t}J.StiTable=i;var l=(u.getStyle=function(t){switch(t){case J.StiTableStyle.StyleNone:return new u(o.fromArgb(105,105,105),o.black);case J.StiTableStyle.Style11:return new u(o.fromArgb(0,0,0),o.black);case J.StiTableStyle.Style12:return new u(o.fromArgb(79,129,189),o.black);case J.StiTableStyle.Style13:return new u(o.fromArgb(192,80,77),o.black);case J.StiTableStyle.Style14:return new u(o.fromArgb(155,187,89),o.black);case J.StiTableStyle.Style15:return new u(o.fromArgb(128,100,162),o.black);case J.StiTableStyle.Style16:return new u(o.fromArgb(75,172,198),o.black);case J.StiTableStyle.Style17:return new u(o.fromArgb(247,150,70),o.black);case J.StiTableStyle.Style18:return new u(o.fromArgb(221,160,221),o.black);case J.StiTableStyle.Style19:return new u(o.fromArgb(32,178,170),o.black);case J.StiTableStyle.Style31:return new u(o.white,o.fromArgb(0,0,0),o.black,o.white,!0);case J.StiTableStyle.Style32:return new u(o.white,o.fromArgb(79,129,189),o.black,o.white,!0);case J.StiTableStyle.Style33:return new u(o.white,o.fromArgb(192,80,77),o.black,o.white,!0);case J.StiTableStyle.Style34:return new u(o.white,o.fromArgb(155,187,89),o.black,o.white,!0);case J.StiTableStyle.Style35:return new u(o.white,o.fromArgb(128,100,162),o.black,o.white,!0);case J.StiTableStyle.Style36:return new u(o.white,o.fromArgb(75,172,198),o.black,o.white,!0);case J.StiTableStyle.Style37:return new u(o.white,o.fromArgb(247,150,70),o.black,o.white,!0);case J.StiTableStyle.Style38:return new u(o.white,o.fromArgb(221,160,221),o.black,o.white,!0);case J.StiTableStyle.Style39:return new u(o.white,o.fromArgb(32,178,170),o.black,o.white,!0);case J.StiTableStyle.Style41:return new u(o.white,o.fromArgb(0,0,0),o.black,o.white,!1);case J.StiTableStyle.Style42:return new u(o.white,o.fromArgb(79,129,189),o.black,o.white,!1);case J.StiTableStyle.Style43:return new u(o.white,o.fromArgb(192,80,77),o.black,o.white,!1);case J.StiTableStyle.Style44:return new u(o.white,o.fromArgb(155,187,89),o.black,o.white,!1);case J.StiTableStyle.Style45:return new u(o.white,o.fromArgb(128,100,162),o.black,o.white,!1);case J.StiTableStyle.Style46:return new u(o.white,o.fromArgb(75,172,198),o.black,o.white,!1);case J.StiTableStyle.Style47:return new u(o.white,o.fromArgb(247,150,70),o.black,o.white,!1);case J.StiTableStyle.Style48:return new u(o.white,o.fromArgb(221,160,221),o.black,o.white,!1);case J.StiTableStyle.Style49:return new u(o.white,o.fromArgb(32,178,170),o.black,o.white,!1);case J.StiTableStyle.Style51:return new u(o.white,o.fromArgb(0,0,0),o.fromArgb(0,0,0),o.black,o.white);case J.StiTableStyle.Style52:return new u(o.white,o.fromArgb(79,129,189),o.fromArgb(79,129,189),o.black,o.white);case J.StiTableStyle.Style53:return new u(o.white,o.fromArgb(192,80,77),o.fromArgb(192,80,77),o.black,o.white);case J.StiTableStyle.Style54:return new u(o.white,o.fromArgb(155,187,89),o.fromArgb(155,187,89),o.black,o.white);case J.StiTableStyle.Style55:return new u(o.white,o.fromArgb(128,100,162),o.fromArgb(128,100,162),o.black,o.white);case J.StiTableStyle.Style56:return new u(o.white,o.fromArgb(75,172,198),o.fromArgb(75,172,198),o.black,o.white);case J.StiTableStyle.Style57:return new u(o.white,o.fromArgb(247,150,70),o.fromArgb(247,150,70),o.black,o.white);case J.StiTableStyle.Style58:return new u(o.white,o.fromArgb(221,160,221),o.fromArgb(221,160,221),o.black,o.white);case J.StiTableStyle.Style59:return new u(o.white,o.fromArgb(32,178,170),o.fromArgb(32,178,170),o.black,o.white)}return null},u);function u(t,e,r,n,i){void 0===r&&(r=null),void 0===n&&(n=null),void 0===i&&(i=null),null!=i?"boolean"==typeof i?(this.dataColor=t,this.dataTextColor=r,this.headerFooterTextColor=n,i?this.headerColor=e:this.footerColor=e):(this.dataColor=t,this.dataTextColor=n,this.headerFooterTextColor=i.stimulsoft.as(o),this.headerColor=e,this.footerColor=r):(this.gridColor=t,this.dataTextColor=e)}}(r=K.Table||(K.Table={}))}(Stimulsoft=Stimulsoft||{}),function(t){var e,r,n,a,i,p,o,s,h,l,u,t,c;function m(){var t=null!==c&&c.apply(this,arguments)||this;return t._cellDockStyle=a.StiDockStyle.None,t._parentJoinCell=null,t._joinCells=new Array(0),t._parentJoin=-1,t._join=!1,t._id=-1,t._joinWidth=0,t._joinHeight=0,t._tableTag=null,t._cellType=p.StiTablceCellType.Text,t._fixedWidth=!1,t._column=0,t}r=e=t.Report||(t.Report={}),a=n=r.Components||(r.Components={}),p=i=a.Table||(a.Table={}),o=t.Base.JsonReportObject.IStiJsonReportObject,s=t.Base.StiJsonReportObjectHelper,h=t.System.Drawing.Rectangle,l=t.System.Drawing.Size,u=t.System.Enum,c=a.StiText,__extends(m,c),m.prototype.implements=function(){return m.ImplementsStiTableCell||(m.ImplementsStiTableCell=c.prototype.implements.call(this).concat([p.IStiTableCell,p.IStiTableComponent,o])),m.ImplementsStiTableCell},m.prototype.saveToJsonObject=function(t){var t=c.prototype.saveToJsonObject.call(this,t);return t.removeProperty("Locked"),t.removeProperty("Linked"),t.addPropertyEnum("CellDockStyle",a.StiDockStyle,this.cellDockStyle,a.StiDockStyle.None),t.addPropertyJObject("JoinCells",s.Serialize.numberArray(this.joinCells)),t.addPropertyNumber("ParentJoin",this.parentJoin,-1),t.addPropertyBool("Join",this.join),t.addPropertyNumber("ID",this.id,-1),t.addPropertyNumber("JoinWidth",this.joinWidth),t.addPropertyNumber("JoinHeight",this.joinHeight),t.addPropertyEnum("CellType",p.StiTablceCellType,this.cellType,p.StiTablceCellType.Text),t.addPropertyBool("FixedWidth",this.fixedWidth),t},m.prototype.loadFromJsonObject=function(t){var e,r;c.prototype.loadFromJsonObject.call(this,t);try{for(var n=__values(t.properties()),i=n.next();!i.done;i=n.next()){var o=i.value;switch(o.name){case"CellDockStyle":this._cellDockStyle=u.parse(a.StiDockStyle,o.value);break;case"JoinCells":this._joinCells=s.Deserialize.numberArray(o.value);break;case"ParentJoin":this._parentJoin=o.value.stimulsoft.toNumber();break;case"Join":this._join=o.value.stimulsoft.toBoolean();break;case"ID":this._id=o.value.stimulsoft.toNumber();break;case"JoinWidth":this._joinWidth=o.value.stimulsoft.toNumber();break;case"JoinHeight":this._joinHeight=o.value.stimulsoft.toNumber();break;case"CellType":this._cellType=u.parse(p.StiTablceCellType,o.value);break;case"FixedWidth":this._fixedWidth=o.value.stimulsoft.toBoolean();break}}}catch(t){e={error:t}}finally{try{i&&!i.done&&(r=n.return)&&r.call(n)}finally{if(e)throw e.error}}},m.prototype.loadJoinCellsFromXml=function(t){for(var e=[],r=0,n=0;n<t.childNodes.length;n++){var i=t.childNodes[n];"value"==i.nodeName&&(e[r]=i.textContent.stimulsoft.toNumber(),r++)}return e},m.prototype.loadFromXml=function(t,e){c.prototype.loadFromXml.call(this,t,e);for(var r=0;r<t.childNodes.length;r++){var n=t.childNodes[r];switch(n.nodeName){case"CellDockStyle":this._cellDockStyle=u.parse(a.StiDockStyle,n.textContent);break;case"JoinCells":this._joinCells=this.loadJoinCellsFromXml(n);break;case"ParentJoin":this._parentJoin=n.textContent.stimulsoft.toNumber();break;case"Join":this._join=n.textContent.stimulsoft.toBoolean();break;case"ID":this._id=n.textContent.stimulsoft.toNumber();break;case"JoinWidth":this._joinWidth=n.textContent.stimulsoft.toNumber();break;case"JoinHeight":this._joinHeight=n.textContent.stimulsoft.toNumber();break;case"CellType":this._cellType=u.parse(p.StiTablceCellType,n.textContent);break;case"FixedWidth":this._fixedWidth=n.textContent.stimulsoft.toBoolean();break}}},Object.defineProperty(m.prototype,"componentId",{get:function(){return r.StiComponentId.StiTableCell},enumerable:!1,configurable:!0}),m.prototype.clone=function(t){var t=c.prototype.clone.call(this,t).as(m);return t._join=this._join,t.minSize=new l(0,0),t.maxSize=new l(0,0),t._cellDockStyle=this._cellDockStyle,t._joinWidth=this._joinWidth,t._joinHeight=this._joinHeight,t._cellType=this._cellType,t._column=this._column,t._fixedWidth=this._fixedWidth,t._id=this._id,t._joinCells=this._joinCells.stimulsoft.clone(),-1!=this._parentJoin?t._parentJoin=this._parentJoin:t._parentJoin=-1,t},Object.defineProperty(m.prototype,"locked",{get:function(){return this.isDesigning&&!this.report.isPageDesigner},enumerable:!1,configurable:!0}),Object.defineProperty(m.prototype,"linked",{get:function(){return this.isDesigning&&!this.report.isPageDesigner},enumerable:!1,configurable:!0}),Object.defineProperty(m.prototype,"canGrow",{get:function(){return c.prototype.getCanGrow.call(this)},set:function(t){c.prototype.getCanGrow.call(this)!=t&&(c.prototype.setCanGrow.call(this,t),this.parent.is(p.StiTable)&&this.parent.changeGrowToHeightAtCell(this))},enumerable:!1,configurable:!0}),Object.defineProperty(m.prototype,"autoWidth",{get:function(){return!1},enumerable:!1,configurable:!0}),Object.defineProperty(m.prototype,"cellDockStyle",{get:function(){return this._cellDockStyle},set:function(t){this._cellDockStyle=t},enumerable:!1,configurable:!0}),Object.defineProperty(m.prototype,"parentJoinCell",{get:function(){return this._parentJoinCell},set:function(t){this._parentJoinCell=t},enumerable:!1,configurable:!0}),Object.defineProperty(m.prototype,"joinCells",{get:function(){return this._joinCells},set:function(t){this._joinCells=t},enumerable:!1,configurable:!0}),Object.defineProperty(m.prototype,"parentJoin",{get:function(){return this._parentJoin},set:function(t){this._parentJoin=t},enumerable:!1,configurable:!0}),Object.defineProperty(m.prototype,"join",{get:function(){return this._join},set:function(t){this._join!=t&&(t?(this.createJoin(),this._join=!0):(this.deleteJoin(),this._join=!1))},enumerable:!1,configurable:!0}),Object.defineProperty(m.prototype,"id",{get:function(){return this._id},set:function(t){this._id=t},enumerable:!1,configurable:!0}),Object.defineProperty(m.prototype,"joinWidth",{get:function(){return this._joinWidth},set:function(t){this._joinWidth=t},enumerable:!1,configurable:!0}),Object.defineProperty(m.prototype,"joinHeight",{get:function(){return this._joinHeight},set:function(t){this._joinHeight=t},enumerable:!1,configurable:!0}),Object.defineProperty(m.prototype,"merged",{get:function(){return-1!=this._parentJoin},enumerable:!1,configurable:!0}),Object.defineProperty(m.prototype,"changeTopPosition",{get:function(){var t;if(this.parent.is(p.StiTable))return this.parent.components.indexOf(this)>=this.parent.columnCount;return!1},enumerable:!1,configurable:!0}),Object.defineProperty(m.prototype,"changeLeftPosition",{get:function(){if(this.parent.is(p.StiTable)){var t=this.parent.components.indexOf(this),e=0;while(e<this.parent.components.count){if(e==t)return!1;e+=this.parent.columnCount}return!0}return!1},enumerable:!1,configurable:!0}),Object.defineProperty(m.prototype,"changeRightPosition",{get:function(){if(this.parent.is(p.StiTable)){var t=this.parent.components.indexOf(this),e=this.parent.columnCount-1;while(e<this.parent.components.count){if(e==t)return!1;e+=this.parent.columnCount}}return!0},enumerable:!1,configurable:!0}),Object.defineProperty(m.prototype,"tableTag",{get:function(){return this._tableTag},set:function(t){this._tableTag=t},enumerable:!1,configurable:!0}),Object.defineProperty(m.prototype,"cellType",{get:function(){return this._cellType},set:function(t){this._cellType=t;var e=this.parent.stimulsoft.as(p.StiTable);if(null!=e)switch(t){case p.StiTablceCellType.Image:e.changeTableCellContentInImage(this);break;case p.StiTablceCellType.CheckBox:e.changeTableCellContentInCheckBox(this);break;case p.StiTablceCellType.RichText:e.changeTableCellContentInRichText(this);break}},enumerable:!1,configurable:!0}),Object.defineProperty(m.prototype,"fixedWidth",{get:function(){return this._fixedWidth},set:function(t){this._fixedWidth=t},enumerable:!1,configurable:!0}),Object.defineProperty(m.prototype,"column",{get:function(){return this._column},set:function(t){this._column=t},enumerable:!1,configurable:!0}),m.prototype.getJoinComponentByGuid=function(t){var e,r;if(null==this.parent&&0==this._joinCells.length)return null;try{for(var n=__values(this.parent.components.list),i=n.next();!i.done;i=n.next()){var o=i.value;if(o.as(p.IStiTableCell).id==t)return o}}catch(t){e={error:t}}finally{try{i&&!i.done&&(r=n.return)&&r.call(n)}finally{if(e)throw e.error}}return null},m.prototype.getJoinComponentByIndex=function(t){var e,r;if(t<0&&null==this.parent&&0==this._joinCells.length&&t>=this._joinCells.length)return null;try{for(var n=__values(this.parent.components.list),i=n.next();!i.done;i=n.next()){var o=i.value;if(o.as(p.IStiTableCell).id==this._joinCells[t])return o}}catch(t){e={error:t}}finally{try{i&&!i.done&&(r=n.return)&&r.call(n)}finally{if(e)throw e.error}}return null},m.prototype.containsGuid=function(t){if(0==this._joinCells.length)return!1;for(var e=0;e<this._joinCells.length;e++)if(this._joinCells[e]==t)return!0;return!1},m.prototype.createJoin=function(){var t=this.parent.stimulsoft.as(p.StiTable);if(null==t&&null==this.page)return;var e=0,r=0,n={ref:e},i={ref:r},o={ref:this._joinWidth},a={ref:this._joinHeight};if(this._joinCells=t.createJoin(n,i,o,a),0==this._joinCells.length)return;e=n.ref,r=i.ref,this._joinWidth=o.ref,this._joinHeight=a.ref;for(var s=0,l=0,u=0;u<this._joinCells.length-1;u++){var c=this.getJoinComponentByIndex(u);0==u&&(s=c.left,l=c.top),c.enabled=!1,c.as(p.IStiTableCell).parentJoin=this._id}this._parentJoin=this._id,this.clientRectangle=new h(s,l,e,r)},m.prototype.deleteJoin=function(){if(null==this.page&&0==this._joinCells.length)return;for(var t=0;t<this._joinCells.length-1;t++){var e=this.getJoinComponentByIndex(t);e.enabled=!0,e.as(p.IStiTableCell).parentJoin=-1}this.clientRectangle=this.getNewClientRectangle(),this._joinCells=new Array(0),this._parentJoin=-1,this._joinWidth=0,this._joinHeight=0},m.prototype.getNewClientRectangle=function(){var t=this.getJoinComponentByIndex(this._joinCells.length-2),e=this.parent.components.indexOf(t),r;return this.parent.components.indexOf(this)-e==1?new h(t.right,t.top,this.right-t.right,t.height):new h(t.left,t.bottom,t.width,this.bottom-t.bottom)},m.prototype.setJoinSize=function(){if(!this._join)return;var t=this.getJoinComponentByIndex(0),e=t.left,t=t.top;this.clientRectangle=new h(e,t,this.right-e,this.bottom-t)},m.prototype.getRealHeightAfterInsertRows=function(){if(this._join){if(1==this._joinHeight)return c.prototype.getHeight.call(this);for(var t=0,e=Math.trunc(this.parent.components.indexOf(this.getJoinComponentByIndex(0))/this.parent.columnCount),r=Math.trunc(this.parent.components.indexOf(this)/this.parent.columnCount),n=e;n<r;n++){var i=n*this.parent.columnCount;t+=this.parent.components.getByIndex(i).height}return c.prototype.getHeight.call(this)-t}return c.prototype.getHeight.call(this)},m.prototype.getRealHeight=function(){if(this._join){var t=this.getJoinComponentByIndex(this._joinCells.length-2),e=this.parent.components.indexOf(this),r=this.parent.components.indexOf(t);return 1<this.parent.columnCount?e-r==1?t.height:this.bottom-t.top-t.as(p.IStiTableCell).getRealHeight():c.prototype.getBottom.call(this)-t.bottom}return c.prototype.getHeight.call(this)},m.prototype.getRealTop=function(){if(this._join){var t=this.getJoinComponentByIndex(this._joinCells.length-2),e=this.parent.components.indexOf(this),r=this.parent.components.indexOf(t);return 1<this.parent.columnCount&&e-r==1?t.top:t.bottom}return c.prototype.getTop.call(this)},m.prototype.getRealWidth=function(){if(this._join){var t=this.getJoinComponentByIndex(this._joinCells.length-2),e=this.parent.components.indexOf(this),r=this.parent.components.indexOf(t);return!(1<this.parent.rowCount)||e-r==1?this.right-t.right:t.width}return c.prototype.getWidth.call(this)},m.prototype.getRealLeft=function(){if(this._join){var t=this.getJoinComponentByIndex(this._joinCells.length-2),e=this.parent.components.indexOf(this),r=this.parent.components.indexOf(t);return!(1<this.parent.rowCount)||e-r==1?t.right:t.left}return this.left},m.prototype.createNew=function(){return new m},t=m,p.StiTableCell=t}(Stimulsoft=Stimulsoft||{}),function(t){var e,r,n,a,i,p,o,s,h,l,u,t,c;function m(){var t=null!==c&&c.apply(this,arguments)||this;return t._cellDockStyle=a.StiDockStyle.None,t._parentJoinCell=null,t._joinCells=new Array(0),t._parentJoin=-1,t._join=!1,t._id=-1,t._joinWidth=0,t._joinHeight=0,t._tableTag=null,t._cellType=p.StiTablceCellType.CheckBox,t._fixedWidth=!1,t._column=0,t}r=e=t.Report||(t.Report={}),a=n=r.Components||(r.Components={}),p=i=a.Table||(a.Table={}),o=t.Base.JsonReportObject.IStiJsonReportObject,s=t.Base.StiJsonReportObjectHelper,h=t.System.Drawing.Rectangle,l=t.System.Drawing.Size,u=t.System.Enum,c=a.StiCheckBox,__extends(m,c),m.prototype.implements=function(){return m.ImplementsStiTableCellCheckBox||(m.ImplementsStiTableCellCheckBox=c.prototype.implements.call(this).concat([p.IStiTableCell,p.IStiTableComponent,o])),m.ImplementsStiTableCellCheckBox},m.prototype.saveToJsonObject=function(t){var t=c.prototype.saveToJsonObject.call(this,t);return t.removeProperty("Locked"),t.removeProperty("Linked"),t.addPropertyEnum("CellDockStyle",a.StiDockStyle,this.cellDockStyle,a.StiDockStyle.None),t.addPropertyJObject("JoinCells",s.Serialize.numberArray(this.joinCells)),t.addPropertyNumber("ParentJoin",this.parentJoin,-1),t.addPropertyBool("Join",this.join),t.addPropertyNumber("ID",this.id,-1),t.addPropertyNumber("JoinWidth",this.joinWidth),t.addPropertyNumber("JoinHeight",this.joinHeight),t.addPropertyEnum("CellType",p.StiTablceCellType,this.cellType,p.StiTablceCellType.CheckBox),t.addPropertyBool("FixedWidth",this.fixedWidth),t},m.prototype.loadFromJsonObject=function(t){var e,r;c.prototype.loadFromJsonObject.call(this,t);try{for(var n=__values(t.properties()),i=n.next();!i.done;i=n.next()){var o=i.value;switch(o.name){case"CellDockStyle":this._cellDockStyle=u.parse(a.StiDockStyle,o.value);break;case"JoinCells":this._joinCells=s.Deserialize.numberArray(o.value);break;case"ParentJoin":this._parentJoin=o.value.stimulsoft.toNumber();break;case"Join":this._join=o.value.stimulsoft.toBoolean();break;case"ID":this._id=o.value.stimulsoft.toNumber();break;case"JoinWidth":this._joinWidth=o.value.stimulsoft.toNumber();break;case"JoinHeight":this._joinHeight=o.value.stimulsoft.toNumber();break;case"CellType":this._cellType=u.parse(p.StiTablceCellType,o.value);break;case"FixedWidth":this._fixedWidth=o.value.stimulsoft.toBoolean();break}}}catch(t){e={error:t}}finally{try{i&&!i.done&&(r=n.return)&&r.call(n)}finally{if(e)throw e.error}}},m.prototype.loadJoinCellsFromXml=function(t){for(var e=[],r=0,n=0;n<t.childNodes.length;n++){var i=t.childNodes[n];"value"==i.nodeName&&(e[r]=i.textContent.stimulsoft.toNumber(),r++)}return e},m.prototype.loadFromXml=function(t,e){c.prototype.loadFromXml.call(this,t,e);for(var r=0;r<t.childNodes.length;r++){var n=t.childNodes[r];switch(n.nodeName){case"CellDockStyle":this._cellDockStyle=u.parse(a.StiDockStyle,n.textContent);break;case"JoinCells":this._joinCells=this.loadJoinCellsFromXml(n);break;case"ParentJoin":this._parentJoin=n.textContent.stimulsoft.toNumber();break;case"Join":this._join=n.textContent.stimulsoft.toBoolean();break;case"ID":this._id=n.textContent.stimulsoft.toNumber();break;case"JoinWidth":this._joinWidth=n.textContent.stimulsoft.toNumber();break;case"JoinHeight":this._joinHeight=n.textContent.stimulsoft.toNumber();break;case"CellType":this._cellType=u.parse(p.StiTablceCellType,n.textContent);break;case"FixedWidth":this._fixedWidth=n.textContent.stimulsoft.toBoolean();break}}},Object.defineProperty(m.prototype,"componentId",{get:function(){return r.StiComponentId.StiTableCellCheckBox},enumerable:!1,configurable:!0}),m.prototype.clone=function(t){var t=c.prototype.clone.call(this,t).as(m);return t._join=this._join,t.minSize=new l(0,0),t.maxSize=new l(0,0),t._cellDockStyle=this._cellDockStyle,t._joinWidth=this._joinWidth,t._joinHeight=this._joinHeight,t._cellType=this._cellType,t._column=this._column,t._fixedWidth=this._fixedWidth,t._id=this._id,t._joinCells=this._joinCells.stimulsoft.clone(),-1!=this._parentJoin?t._parentJoin=this._parentJoin:t._parentJoin=-1,t},Object.defineProperty(m.prototype,"locked",{get:function(){return this.isDesigning&&!this.report.isPageDesigner},enumerable:!1,configurable:!0}),Object.defineProperty(m.prototype,"linked",{get:function(){return this.isDesigning&&!this.report.isPageDesigner},enumerable:!1,configurable:!0}),Object.defineProperty(m.prototype,"canShrink",{get:function(){return!1},set:function(t){},enumerable:!1,configurable:!0}),Object.defineProperty(m.prototype,"canGrow",{get:function(){return c.prototype.getCanGrow.call(this)},set:function(t){c.prototype.getCanGrow.call(this)!=t&&(c.prototype.setCanGrow.call(this,t),this.parent.is(p.StiTable)&&this.parent.changeGrowToHeightAtCell(this))},enumerable:!1,configurable:!0}),Object.defineProperty(m.prototype,"cellDockStyle",{get:function(){return this._cellDockStyle},set:function(t){this._cellDockStyle=t},enumerable:!1,configurable:!0}),Object.defineProperty(m.prototype,"parentJoinCell",{get:function(){return this._parentJoinCell},set:function(t){this._parentJoinCell=t},enumerable:!1,configurable:!0}),Object.defineProperty(m.prototype,"joinCells",{get:function(){return this._joinCells},set:function(t){this._joinCells=t},enumerable:!1,configurable:!0}),Object.defineProperty(m.prototype,"parentJoin",{get:function(){return this._parentJoin},set:function(t){this._parentJoin=t},enumerable:!1,configurable:!0}),Object.defineProperty(m.prototype,"join",{get:function(){return this._join},set:function(t){this._join!=t&&(t?(this.createJoin(),this._join=!0):(this.deleteJoin(),this._join=!1))},enumerable:!1,configurable:!0}),Object.defineProperty(m.prototype,"id",{get:function(){return this._id},set:function(t){this._id=t},enumerable:!1,configurable:!0}),Object.defineProperty(m.prototype,"joinWidth",{get:function(){return this._joinWidth},set:function(t){this._joinWidth=t},enumerable:!1,configurable:!0}),Object.defineProperty(m.prototype,"joinHeight",{get:function(){return this._joinHeight},set:function(t){this._joinHeight=t},enumerable:!1,configurable:!0}),Object.defineProperty(m.prototype,"merged",{get:function(){return-1!=this._parentJoin},enumerable:!1,configurable:!0}),Object.defineProperty(m.prototype,"changeTopPosition",{get:function(){var t;if(this.parent.is(p.StiTable))return this.parent.components.indexOf(this)>=this.parent.columnCount;return!1},enumerable:!1,configurable:!0}),Object.defineProperty(m.prototype,"changeLeftPosition",{get:function(){if(this.parent.is(p.StiTable)){var t=this.parent.components.indexOf(this),e=0;while(e<this.parent.components.count){if(e==t)return!1;e+=this.parent.columnCount}return!0}return!1},enumerable:!1,configurable:!0}),Object.defineProperty(m.prototype,"changeRightPosition",{get:function(){if(this.parent.is(p.StiTable)){var t=this.parent.components.indexOf(this),e=this.parent.columnCount-1;while(e<this.parent.components.count){if(e==t)return!1;e+=this.parent.columnCount}}return!0},enumerable:!1,configurable:!0}),Object.defineProperty(m.prototype,"tableTag",{get:function(){return this._tableTag},set:function(t){this._tableTag=t},enumerable:!1,configurable:!0}),Object.defineProperty(m.prototype,"cellType",{get:function(){return this._cellType},set:function(t){this._cellType=t;var e=this.parent.stimulsoft.as(p.StiTable);if(null!=e)switch(t){case p.StiTablceCellType.Text:e.changeTableCellContentInText(this);break;case p.StiTablceCellType.Image:e.changeTableCellContentInImage(this);break;case p.StiTablceCellType.RichText:e.changeTableCellContentInRichText(this);break}},enumerable:!1,configurable:!0}),Object.defineProperty(m.prototype,"fixedWidth",{get:function(){return this._fixedWidth},set:function(t){this._fixedWidth=t},enumerable:!1,configurable:!0}),Object.defineProperty(m.prototype,"column",{get:function(){return this._column},set:function(t){this._column=t},enumerable:!1,configurable:!0}),m.prototype.getJoinComponentByGuid=function(t){var e,r;if(null==this.parent&&0==this._joinCells.length)return null;try{for(var n=__values(this.parent.components.list),i=n.next();!i.done;i=n.next()){var o=i.value;if(o.as(p.IStiTableCell).id==t)return o}}catch(t){e={error:t}}finally{try{i&&!i.done&&(r=n.return)&&r.call(n)}finally{if(e)throw e.error}}return null},m.prototype.getJoinComponentByIndex=function(t){var e,r;if(t<0&&null==this.parent&&0==this._joinCells.length&&t>=this._joinCells.length)return null;try{for(var n=__values(this.parent.components.list),i=n.next();!i.done;i=n.next()){var o=i.value;if(o.as(p.IStiTableCell).id==this._joinCells[t])return o}}catch(t){e={error:t}}finally{try{i&&!i.done&&(r=n.return)&&r.call(n)}finally{if(e)throw e.error}}return null},m.prototype.containsGuid=function(t){if(0==this._joinCells.length)return!1;for(var e=0;e<this._joinCells.length;e++)if(this._joinCells[e]==t)return!0;return!1},m.prototype.createJoin=function(){var t=this.parent.stimulsoft.as(p.StiTable);if(null==t&&null==this.page)return;var e=0,r=0,n={ref:e},i={ref:r},o={ref:this._joinWidth},a={ref:this._joinHeight};if(this._joinCells=t.createJoin(n,i,o,a),e=n.ref,r=i.ref,this._joinWidth=o.ref,this._joinHeight=a.ref,null==this._joinCells||0==this._joinCells.length)return;for(var s=0,l=0,u=0;u<this._joinCells.length-1;u++){var c=this.getJoinComponentByIndex(u);0==u&&(s=c.left,l=c.top),c.enabled=!1,c.as(p.IStiTableCell).parentJoin=this._id}this._parentJoin=this._id,this.clientRectangle=new h(s,l,e,r)},m.prototype.deleteJoin=function(){if(null==this.page&&0==this._joinCells.length)return;for(var t=0;t<this._joinCells.length-1;t++){var e=this.getJoinComponentByIndex(t);e.enabled=!0,e.as(p.IStiTableCell).parentJoin=-1}this.clientRectangle=this.getNewClientRectangle(),this._joinCells=new Array(0),this._parentJoin=-1,this._joinWidth=0,this._joinHeight=0},m.prototype.getNewClientRectangle=function(){var t=this.getJoinComponentByIndex(this._joinCells.length-2),e=this.parent.components.indexOf(t),r;return this.parent.components.indexOf(this)-e==1?new h(t.right,t.top,this.right-t.right,t.height):new h(t.left,t.bottom,t.width,this.bottom-t.bottom)},m.prototype.setJoinSize=function(){if(!this._join)return;var t=this.getJoinComponentByIndex(0),e=t.left,t=t.top;this.clientRectangle=new h(e,t,this.right-e,this.bottom-t)},m.prototype.getRealHeightAfterInsertRows=function(){if(this._join){if(1==this._joinHeight)return c.prototype.getHeight.call(this);for(var t=0,e=+(this.parent.components.indexOf(this.getJoinComponentByIndex(0))/this.parent.columnCount),r=+(this.parent.components.indexOf(this)/this.parent.columnCount),n=e;n<r;n++){var i=n*this.parent.columnCount;t+=this.parent.components.getByIndex(i).height}return c.prototype.getHeight.call(this)-t}return c.prototype.getHeight.call(this)},m.prototype.getRealHeight=function(){if(this._join){var t=this.getJoinComponentByIndex(this._joinCells.length-2),e=this.parent.components.indexOf(this),r=this.parent.components.indexOf(t);return 1<this.parent.columnCount&&e-r==1?t.height:c.prototype.getBottom.call(this)-t.bottom}return c.prototype.getHeight.call(this)},m.prototype.getRealTop=function(){if(this._join){var t=this.getJoinComponentByIndex(this._joinCells.length-2),e=this.parent.components.indexOf(this),r=this.parent.components.indexOf(t);return 1<this.parent.columnCount&&e-r==1?t.top:t.bottom}return c.prototype.getTop.call(this)},m.prototype.getRealWidth=function(){if(this._join){var t=this.getJoinComponentByIndex(this._joinCells.length-2),e=this.parent.components.indexOf(this),r=this.parent.components.indexOf(t);return!(1<this.parent.rowCount)||e-r==1?this.right-t.right:t.width}return c.prototype.getWidth.call(this)},m.prototype.getRealLeft=function(){if(this._join){var t=this.getJoinComponentByIndex(this._joinCells.length-2),e=this.parent.components.indexOf(this),r=this.parent.components.indexOf(t);return!(1<this.parent.rowCount)||e-r==1?t.right:t.left}return this.left},m.prototype.createNew=function(){return new m},t=m,p.StiTableCellCheckBox=t}(Stimulsoft=Stimulsoft||{}),function(t){var e,r,n,a,i,p,o,s,h,l,u,t,c;function m(){var t=null!==c&&c.apply(this,arguments)||this;return t._cellDockStyle=a.StiDockStyle.None,t._parentJoinCell=null,t._joinCells=new Array(0),t._parentJoin=-1,t._join=!1,t._id=-1,t._joinWidth=0,t._joinHeight=0,t._tableTag=null,t._cellType=p.StiTablceCellType.Image,t._fixedWidth=!1,t._column=0,t}r=e=t.Report||(t.Report={}),a=n=r.Components||(r.Components={}),p=i=a.Table||(a.Table={}),o=t.Base.JsonReportObject.IStiJsonReportObject,s=t.Base.StiJsonReportObjectHelper,h=t.System.Drawing.Rectangle,l=t.System.Drawing.Size,u=t.System.Enum,c=a.StiImage,__extends(m,c),m.prototype.implements=function(){return m.ImplementsStiTableCellImage||(m.ImplementsStiTableCellImage=c.prototype.implements.call(this).concat([p.IStiTableCell,p.IStiTableComponent,o])),m.ImplementsStiTableCellImage},m.prototype.saveToJsonObject=function(t){var t=c.prototype.saveToJsonObject.call(this,t);return t.removeProperty("Locked"),t.removeProperty("Linked"),t.addPropertyEnum("CellDockStyle",a.StiDockStyle,this.cellDockStyle,a.StiDockStyle.None),t.addPropertyJObject("JoinCells",s.Serialize.numberArray(this.joinCells)),t.addPropertyNumber("ParentJoin",this.parentJoin,-1),t.addPropertyBool("Join",this.join),t.addPropertyNumber("ID",this.id,-1),t.addPropertyNumber("JoinWidth",this.joinWidth),t.addPropertyNumber("JoinHeight",this.joinHeight),t.addPropertyEnum("CellType",p.StiTablceCellType,this.cellType,p.StiTablceCellType.Image),t.addPropertyBool("FixedWidth",this.fixedWidth),t},m.prototype.loadFromJsonObject=function(t){var e,r;c.prototype.loadFromJsonObject.call(this,t);try{for(var n=__values(t.properties()),i=n.next();!i.done;i=n.next()){var o=i.value;switch(o.name){case"CellDockStyle":this._cellDockStyle=u.parse(a.StiDockStyle,o.value);break;case"JoinCells":this._joinCells=s.Deserialize.numberArray(o.value);break;case"ParentJoin":this._parentJoin=o.value.stimulsoft.toNumber();break;case"Join":this._join=o.value.stimulsoft.toBoolean();break;case"ID":this._id=o.value.stimulsoft.toNumber();break;case"JoinWidth":this._joinWidth=o.value.stimulsoft.toNumber();break;case"JoinHeight":this._joinHeight=o.value.stimulsoft.toNumber();break;case"CellType":this._cellType=u.parse(p.StiTablceCellType,o.value);break;case"FixedWidth":this._fixedWidth=o.value.stimulsoft.toBoolean();break}}}catch(t){e={error:t}}finally{try{i&&!i.done&&(r=n.return)&&r.call(n)}finally{if(e)throw e.error}}},m.prototype.loadJoinCellsFromXml=function(t){for(var e=[],r=0,n=0;n<t.childNodes.length;n++){var i=t.childNodes[n];"value"==i.nodeName&&(e[r]=i.textContent.stimulsoft.toNumber(),r++)}return e},m.prototype.loadFromXml=function(t,e){c.prototype.loadFromXml.call(this,t,e);for(var r=0;r<t.childNodes.length;r++){var n=t.childNodes[r];switch(n.nodeName){case"CellDockStyle":this._cellDockStyle=u.parse(a.StiDockStyle,n.textContent);break;case"JoinCells":this._joinCells=this.loadJoinCellsFromXml(n);break;case"ParentJoin":this._parentJoin=n.textContent.stimulsoft.toNumber();break;case"Join":this._join=n.textContent.stimulsoft.toBoolean();break;case"ID":this._id=n.textContent.stimulsoft.toNumber();break;case"JoinWidth":this._joinWidth=n.textContent.stimulsoft.toNumber();break;case"JoinHeight":this._joinHeight=n.textContent.stimulsoft.toNumber();break;case"CellType":this._cellType=u.parse(p.StiTablceCellType,n.textContent);break;case"FixedWidth":this._fixedWidth=n.textContent.stimulsoft.toBoolean();break}}},Object.defineProperty(m.prototype,"componentId",{get:function(){return r.StiComponentId.StiTableCellImage},enumerable:!1,configurable:!0}),m.prototype.clone=function(t){var t=c.prototype.clone.call(this,t);return t._join=this._join,t.minSize=new l(0,0),t.maxSize=new l(0,0),t._cellDockStyle=this._cellDockStyle,t._joinWidth=this._joinWidth,t._joinHeight=this._joinHeight,t._cellType=this._cellType,t._column=this._column,t._fixedWidth=this._fixedWidth,t._id=this._id,t._joinCells=this._joinCells.stimulsoft.clone(),-1!=this._parentJoin?t._parentJoin=this._parentJoin:t._parentJoin=-1,t},Object.defineProperty(m.prototype,"locked",{get:function(){return this.isDesigning&&!this.report.isPageDesigner},enumerable:!1,configurable:!0}),Object.defineProperty(m.prototype,"linked",{get:function(){return this.isDesigning&&!this.report.isPageDesigner},enumerable:!1,configurable:!0}),Object.defineProperty(m.prototype,"canShrink",{get:function(){return!1},set:function(t){},enumerable:!1,configurable:!0}),Object.defineProperty(m.prototype,"canGrow",{get:function(){return c.prototype.getCanGrow.call(this)},set:function(t){c.prototype.getCanGrow.call(this)!=t&&(c.prototype.setCanGrow.call(this,t),this.parent.is(p.StiTable)&&this.parent.changeGrowToHeightAtCell(this))},enumerable:!1,configurable:!0}),Object.defineProperty(m.prototype,"cellDockStyle",{get:function(){return this._cellDockStyle},set:function(t){this._cellDockStyle=t},enumerable:!1,configurable:!0}),Object.defineProperty(m.prototype,"parentJoinCell",{get:function(){return this._parentJoinCell},set:function(t){this._parentJoinCell=t},enumerable:!1,configurable:!0}),Object.defineProperty(m.prototype,"joinCells",{get:function(){return this._joinCells},set:function(t){this._joinCells=t},enumerable:!1,configurable:!0}),Object.defineProperty(m.prototype,"parentJoin",{get:function(){return this._parentJoin},set:function(t){this._parentJoin=t},enumerable:!1,configurable:!0}),Object.defineProperty(m.prototype,"join",{get:function(){return this._join},set:function(t){this._join!=t&&(t?(this.createJoin(),this._join=!0):(this.deleteJoin(),this._join=!1))},enumerable:!1,configurable:!0}),Object.defineProperty(m.prototype,"id",{get:function(){return this._id},set:function(t){this._id=t},enumerable:!1,configurable:!0}),Object.defineProperty(m.prototype,"joinWidth",{get:function(){return this._joinWidth},set:function(t){this._joinWidth=t},enumerable:!1,configurable:!0}),Object.defineProperty(m.prototype,"joinHeight",{get:function(){return this._joinHeight},set:function(t){this._joinHeight=t},enumerable:!1,configurable:!0}),Object.defineProperty(m.prototype,"merged",{get:function(){return-1!=this._parentJoin},enumerable:!1,configurable:!0}),Object.defineProperty(m.prototype,"changeTopPosition",{get:function(){var t;if(this.parent.is(p.StiTable))return this.parent.components.indexOf(this)>=this.parent.columnCount;return!1},enumerable:!1,configurable:!0}),Object.defineProperty(m.prototype,"changeLeftPosition",{get:function(){if(this.parent.is(p.StiTable)){var t=this.parent.components.indexOf(this),e=0;while(e<this.parent.components.count){if(e==t)return!1;e+=this.parent.columnCount}return!0}return!1},enumerable:!1,configurable:!0}),Object.defineProperty(m.prototype,"changeRightPosition",{get:function(){if(this.parent.is(p.StiTable)){var t=this.parent.components.indexOf(this),e=this.parent.columnCount-1;while(e<this.parent.components.count){if(e==t)return!1;e+=this.parent.columnCount}}return!0},enumerable:!1,configurable:!0}),Object.defineProperty(m.prototype,"tableTag",{get:function(){return this._tableTag},set:function(t){this._tableTag=t},enumerable:!1,configurable:!0}),Object.defineProperty(m.prototype,"cellType",{get:function(){return this._cellType},set:function(t){this._cellType=t;var e=this.parent.stimulsoft.as(p.StiTable);if(null!=e)switch(t){case p.StiTablceCellType.Text:e.changeTableCellContentInText(this);break;case p.StiTablceCellType.CheckBox:e.changeTableCellContentInCheckBox(this);break;case p.StiTablceCellType.RichText:e.changeTableCellContentInRichText(this);break}},enumerable:!1,configurable:!0}),Object.defineProperty(m.prototype,"fixedWidth",{get:function(){return this._fixedWidth},set:function(t){this._fixedWidth=t},enumerable:!1,configurable:!0}),Object.defineProperty(m.prototype,"column",{get:function(){return this._column},set:function(t){this._column=t},enumerable:!1,configurable:!0}),m.prototype.getJoinComponentByGuid=function(t){var e,r;if(null==this.parent&&0==this._joinCells.length)return null;try{for(var n=__values(this.parent.components.list),i=n.next();!i.done;i=n.next()){var o=i.value;if(o.as(p.IStiTableCell).id==t)return o}}catch(t){e={error:t}}finally{try{i&&!i.done&&(r=n.return)&&r.call(n)}finally{if(e)throw e.error}}return null},m.prototype.getJoinComponentByIndex=function(t){var e,r;if(t<0&&null==this.parent&&0==this._joinCells.length&&t>=this._joinCells.length)return null;try{for(var n=__values(this.parent.components.list),i=n.next();!i.done;i=n.next()){var o=i.value;if(o.as(p.IStiTableCell).id==this._joinCells[t])return o}}catch(t){e={error:t}}finally{try{i&&!i.done&&(r=n.return)&&r.call(n)}finally{if(e)throw e.error}}return null},m.prototype.containsGuid=function(t){if(0==this._joinCells.length)return!1;for(var e=0;e<this._joinCells.length;e++)if(this._joinCells[e]==t)return!0;return!1},m.prototype.createJoin=function(){var t=this.parent.stimulsoft.as(p.StiTable);if(null==t&&null==this.page)return;var e=0,r=0,n={ref:e},i={ref:r},o={ref:this._joinWidth},a={ref:this._joinHeight};if(this._joinCells=t.createJoin(n,i,o,a),0==this._joinCells.length)return;e=n.ref,r=i.ref,this._joinWidth=o.ref,this._joinHeight=a.ref;for(var s=0,l=0,u=0;u<this._joinCells.length-1;u++){var c=this.getJoinComponentByIndex(u);0==u&&(s=c.left,l=c.top),c.enabled=!1,c.as(p.IStiTableCell).parentJoin=this._id}this._parentJoin=this._id,this.clientRectangle=new h(s,l,e,r)},m.prototype.deleteJoin=function(){if(null==this.page&&0==this._joinCells.length)return;for(var t=0;t<this._joinCells.length-1;t++){var e=this.getJoinComponentByIndex(t);e.enabled=!0,e.as(p.IStiTableCell).parentJoin=-1}this.clientRectangle=this.getNewClientRectangle(),this._joinCells=new Array(0),this._parentJoin=-1,this._joinWidth=0,this._joinHeight=0},m.prototype.getNewClientRectangle=function(){var t=this.getJoinComponentByIndex(this._joinCells.length-2),e=this.parent.components.indexOf(t),r;return this.parent.components.indexOf(this)-e==1?new h(t.right,t.top,this.right-t.right,t.height):new h(t.left,t.bottom,t.width,this.bottom-t.bottom)},m.prototype.setJoinSize=function(){if(!this._join)return;var t=this.getJoinComponentByIndex(0),e=t.left,t=t.top;this.clientRectangle=new h(e,t,this.right-e,this.bottom-t)},m.prototype.getRealHeightAfterInsertRows=function(){if(this._join){if(1==this._joinHeight)return c.prototype.getHeight.call(this);for(var t=0,e=+(this.parent.components.indexOf(this.getJoinComponentByIndex(0))/this.parent.columnCount),r=+(this.parent.components.indexOf(this)/this.parent.columnCount),n=e;n<r;n++){var i=n*this.parent.columnCount;t+=this.parent.components.getByIndex(i).height}return c.prototype.getHeight.call(this)-t}return c.prototype.getHeight.call(this)},m.prototype.getRealHeight=function(){if(this._join){var t=this.getJoinComponentByIndex(this._joinCells.length-2),e=this.parent.components.indexOf(this),r=this.parent.components.indexOf(t);return 1<this.parent.columnCount&&e-r==1?t.height:c.prototype.getBottom.call(this)-t.bottom}return c.prototype.getHeight.call(this)},m.prototype.getRealTop=function(){if(this._join){var t=this.getJoinComponentByIndex(this._joinCells.length-2),e=this.parent.components.indexOf(this),r=this.parent.components.indexOf(t);return 1<this.parent.columnCount&&e-r==1?t.top:t.bottom}return c.prototype.getTop.call(this)},m.prototype.getRealWidth=function(){if(this._join){var t=this.getJoinComponentByIndex(this._joinCells.length-2),e=this.parent.components.indexOf(this),r=this.parent.components.indexOf(t);return!(1<this.parent.rowCount)||e-r==1?this.right-t.right:t.width}return c.prototype.getWidth.call(this)},m.prototype.getRealLeft=function(){if(this._join){var t=this.getJoinComponentByIndex(this._joinCells.length-2),e=this.parent.components.indexOf(this),r=this.parent.components.indexOf(t);return!(1<this.parent.rowCount)||e-r==1?t.right:t.left}return this.left},m.prototype.createNew=function(){return new m},t=m,p.StiTableCellImage=t}(Stimulsoft=Stimulsoft||{}),function(t){var e,r,n,a,i,p,o,s,h,l,u,c,t,m;function d(){var t=m.call(this)||this;return t._cellDockStyle=a.StiDockStyle.None,t._parentJoinCell=null,t._joinCells=new Array(0),t._parentJoin=-1,t._join=!1,t._id=-1,t._joinWidth=0,t._joinHeight=0,t._tableTag=null,t._cellType=p.StiTablceCellType.RichText,t._fixedWidth=!1,t._column=0,t.backColor=c.white,t}r=e=t.Report||(t.Report={}),a=n=r.Components||(r.Components={}),p=i=a.Table||(a.Table={}),o=t.Base.JsonReportObject.IStiJsonReportObject,s=t.Base.StiJsonReportObjectHelper,h=t.System.Drawing.Rectangle,l=t.System.Drawing.Size,u=t.System.Enum,c=t.System.Drawing.Color,m=a.StiRichText,__extends(d,m),d.prototype.implements=function(){return d.ImplementsStiTableCellRichText||(d.ImplementsStiTableCellRichText=m.prototype.implements.call(this).concat([p.IStiTableCell,p.IStiTableComponent,o])),d.ImplementsStiTableCellRichText},d.prototype.saveToJsonObject=function(t){var t=m.prototype.saveToJsonObject.call(this,t);return t.removeProperty("Locked"),t.removeProperty("Linked"),t.addPropertyEnum("CellDockStyle",a.StiDockStyle,this.cellDockStyle,a.StiDockStyle.None),t.addPropertyJObject("JoinCells",s.Serialize.numberArray(this.joinCells)),t.addPropertyNumber("ParentJoin",this.parentJoin,-1),t.addPropertyBool("Join",this.join),t.addPropertyNumber("ID",this.id,-1),t.addPropertyNumber("JoinWidth",this.joinWidth),t.addPropertyNumber("JoinHeight",this.joinHeight),t.addPropertyEnum("CellType",p.StiTablceCellType,this.cellType,p.StiTablceCellType.RichText),t.addPropertyBool("FixedWidth",this.fixedWidth),t},d.prototype.loadFromJsonObject=function(t){var e,r;m.prototype.loadFromJsonObject.call(this,t);try{for(var n=__values(t.properties()),i=n.next();!i.done;i=n.next()){var o=i.value;switch(o.name){case"CellDockStyle":this._cellDockStyle=u.parse(a.StiDockStyle,o.value);break;case"JoinCells":this._joinCells=s.Deserialize.numberArray(o.value);break;case"ParentJoin":this._parentJoin=o.value.stimulsoft.toNumber();break;case"Join":this._join=o.value.stimulsoft.toBoolean();break;case"ID":this._id=o.value.stimulsoft.toNumber();break;case"JoinWidth":this._joinWidth=o.value.stimulsoft.toNumber();break;case"JoinHeight":this._joinHeight=o.value.stimulsoft.toNumber();break;case"CellType":this._cellType=u.parse(p.StiTablceCellType,o.value);break;case"FixedWidth":this._fixedWidth=o.value.stimulsoft.toBoolean();break}}}catch(t){e={error:t}}finally{try{i&&!i.done&&(r=n.return)&&r.call(n)}finally{if(e)throw e.error}}},d.prototype.loadJoinCellsFromXml=function(t){for(var e=[],r=0,n=0;n<t.childNodes.length;n++){var i=t.childNodes[n];"value"==i.nodeName&&(e[r]=i.textContent.stimulsoft.toNumber(),r++)}return e},d.prototype.loadFromXml=function(t,e){m.prototype.loadFromXml.call(this,t,e);for(var r=0;r<t.childNodes.length;r++){var n=t.childNodes[r];switch(n.nodeName){case"CellDockStyle":this._cellDockStyle=u.parse(a.StiDockStyle,n.textContent);break;case"JoinCells":this._joinCells=this.loadJoinCellsFromXml(n);break;case"ParentJoin":this._parentJoin=n.textContent.stimulsoft.toNumber();break;case"Join":this._join=n.textContent.stimulsoft.toBoolean();break;case"ID":this._id=n.textContent.stimulsoft.toNumber();break;case"JoinWidth":this._joinWidth=n.textContent.stimulsoft.toNumber();break;case"JoinHeight":this._joinHeight=n.textContent.stimulsoft.toNumber();break;case"CellType":this._cellType=u.parse(p.StiTablceCellType,n.textContent);break;case"FixedWidth":this._fixedWidth=n.textContent.stimulsoft.toBoolean();break}}},Object.defineProperty(d.prototype,"componentId",{get:function(){return r.StiComponentId.StiTableCellRichText},enumerable:!1,configurable:!0}),d.prototype.clone=function(t){var t=m.prototype.clone.call(this,t).stimulsoft.as(d);return t._join=this._join,t.minSize=new l(0,0),t.maxSize=new l(0,0),t._cellDockStyle=this._cellDockStyle,t._joinWidth=this._joinWidth,t._joinHeight=this._joinHeight,t._cellType=this._cellType,t._column=this._column,t._fixedWidth=this._fixedWidth,t._id=this._id,t._joinCells=this._joinCells.stimulsoft.clone(),-1!=this._parentJoin?t._parentJoin=this._parentJoin:t._parentJoin=-1,t},Object.defineProperty(d.prototype,"locked",{get:function(){return this.isDesigning&&!this.report.isPageDesigner},enumerable:!1,configurable:!0}),Object.defineProperty(d.prototype,"linked",{get:function(){return this.isDesigning&&!this.report.isPageDesigner},enumerable:!1,configurable:!0}),Object.defineProperty(d.prototype,"canShrink",{get:function(){return!1},set:function(t){},enumerable:!1,configurable:!0}),Object.defineProperty(d.prototype,"canGrow",{get:function(){return m.prototype.getCanGrow.call(this)},set:function(t){m.prototype.getCanGrow.call(this)!=t&&(m.prototype.setCanGrow.call(this,t),this.parent.is(p.StiTable)&&this.parent.changeGrowToHeightAtCell(this))},enumerable:!1,configurable:!0}),Object.defineProperty(d.prototype,"cellDockStyle",{get:function(){return this._cellDockStyle},set:function(t){this._cellDockStyle=t},enumerable:!1,configurable:!0}),Object.defineProperty(d.prototype,"parentJoinCell",{get:function(){return this._parentJoinCell},set:function(t){this._parentJoinCell=t},enumerable:!1,configurable:!0}),Object.defineProperty(d.prototype,"joinCells",{get:function(){return this._joinCells},set:function(t){this._joinCells=t},enumerable:!1,configurable:!0}),Object.defineProperty(d.prototype,"parentJoin",{get:function(){return this._parentJoin},set:function(t){this._parentJoin=t},enumerable:!1,configurable:!0}),Object.defineProperty(d.prototype,"join",{get:function(){return this._join},set:function(t){this._join!=t&&(t?(this.createJoin(),this._join=!0):(this.deleteJoin(),this._join=!1))},enumerable:!1,configurable:!0}),Object.defineProperty(d.prototype,"id",{get:function(){return this._id},set:function(t){this._id=t},enumerable:!1,configurable:!0}),Object.defineProperty(d.prototype,"joinWidth",{get:function(){return this._joinWidth},set:function(t){this._joinWidth=t},enumerable:!1,configurable:!0}),Object.defineProperty(d.prototype,"joinHeight",{get:function(){return this._joinHeight},set:function(t){this._joinHeight=t},enumerable:!1,configurable:!0}),Object.defineProperty(d.prototype,"merged",{get:function(){return-1!=this._parentJoin},enumerable:!1,configurable:!0}),Object.defineProperty(d.prototype,"changeTopPosition",{get:function(){var t;if(this.parent.is(p.StiTable))return this.parent.components.indexOf(this)>=this.parent.columnCount;return!1},enumerable:!1,configurable:!0}),Object.defineProperty(d.prototype,"changeLeftPosition",{get:function(){if(this.parent.is(p.StiTable)){var t=this.parent.components.indexOf(this),e=0;while(e<this.parent.components.count){if(e==t)return!1;e+=this.parent.columnCount}return!0}return!1},enumerable:!1,configurable:!0}),Object.defineProperty(d.prototype,"changeRightPosition",{get:function(){if(this.parent.is(p.StiTable)){var t=this.parent.components.indexOf(this),e=this.parent.columnCount-1;while(e<this.parent.components.count){if(e==t)return!1;e+=this.parent.columnCount}}return!0},enumerable:!1,configurable:!0}),Object.defineProperty(d.prototype,"tableTag",{get:function(){return this._tableTag},set:function(t){this._tableTag=t},enumerable:!1,configurable:!0}),Object.defineProperty(d.prototype,"cellType",{get:function(){return this._cellType},set:function(t){this._cellType=t;var e=this.parent.stimulsoft.as(p.StiTable);if(null!=e)switch(t){case p.StiTablceCellType.Text:e.changeTableCellContentInText(this);break;case p.StiTablceCellType.Image:e.changeTableCellContentInImage(this);break;case p.StiTablceCellType.CheckBox:e.changeTableCellContentInCheckBox(this);break}},enumerable:!1,configurable:!0}),Object.defineProperty(d.prototype,"fixedWidth",{get:function(){return this._fixedWidth},set:function(t){this._fixedWidth=t},enumerable:!1,configurable:!0}),Object.defineProperty(d.prototype,"column",{get:function(){return this._column},set:function(t){this._column=t},enumerable:!1,configurable:!0}),d.prototype.getJoinComponentByGuid=function(t){var e,r;if(null==this.parent&&0==this._joinCells.length)return null;try{for(var n=__values(this.parent.components.list),i=n.next();!i.done;i=n.next()){var o=i.value;if(o.stimulsoft.as(p.IStiTableCell).id==t)return o}}catch(t){e={error:t}}finally{try{i&&!i.done&&(r=n.return)&&r.call(n)}finally{if(e)throw e.error}}return null},d.prototype.getJoinComponentByIndex=function(t){var e,r;if(t<0&&null==this.parent&&0==this._joinCells.length&&t>=this._joinCells.length)return null;try{for(var n=__values(this.parent.components.list),i=n.next();!i.done;i=n.next()){var o=i.value;if(o.stimulsoft.as(p.IStiTableCell).id==this._joinCells[t])return o}}catch(t){e={error:t}}finally{try{i&&!i.done&&(r=n.return)&&r.call(n)}finally{if(e)throw e.error}}return null},d.prototype.containsGuid=function(t){if(0==this._joinCells.length)return!1;for(var e=0;e<this._joinCells.length;e++)if(this._joinCells[e]==t)return!0;return!1},d.prototype.createJoin=function(){var t=this.parent.stimulsoft.as(p.StiTable);if(null==t&&null==this.page)return;var e=0,r=0,n={ref:e},i={ref:r},o={ref:this._joinWidth},a={ref:this._joinHeight};if(this._joinCells=t.createJoin(n,i,o,a),0==this._joinCells.length)return;e=n.ref,r=i.ref,this._joinWidth=o.ref,this._joinHeight=a.ref;for(var s=0,l=0,u=0;u<this._joinCells.length-1;u++){var c=this.getJoinComponentByIndex(u);0==u&&(s=c.left,l=c.top),c.enabled=!1,c.stimulsoft.as(p.IStiTableCell).parentJoin=this._id}this._parentJoin=this._id,this.clientRectangle=new h(s,l,e,r)},d.prototype.deleteJoin=function(){if(null==this.page&&0==this._joinCells.length)return;for(var t=0;t<this._joinCells.length-1;t++){var e=this.getJoinComponentByIndex(t);e.enabled=!0,e.stimulsoft.as(p.IStiTableCell).parentJoin=-1}this.clientRectangle=this.getNewClientRectangle(),this._joinCells=new Array(0),this._parentJoin=-1,this._joinWidth=0,this._joinHeight=0},d.prototype.getNewClientRectangle=function(){var t=this.getJoinComponentByIndex(this._joinCells.length-2),e=this.parent.components.indexOf(t),r;return this.parent.components.indexOf(this)-e==1?new h(t.right,t.top,this.right-t.right,t.height):new h(t.left,t.bottom,t.width,this.bottom-t.bottom)},d.prototype.setJoinSize=function(){if(!this._join)return;var t=this.getJoinComponentByIndex(0),e=t.left,t=t.top;this.clientRectangle=new h(e,t,this.right-e,this.bottom-t)},d.prototype.getRealHeightAfterInsertRows=function(){if(this._join&&this.parent.is(p.StiTable)){if(1==this._joinHeight)return m.prototype.getHeight.call(this);for(var t=0,e=+(this.parent.components.indexOf(this.getJoinComponentByIndex(0))/this.parent.columnCount),r=+(this.parent.components.indexOf(this)/this.parent.columnCount),n=e;n<r;n++){var i=n*this.parent.columnCount;t+=this.parent.components.getByIndex(i).height}return m.prototype.getHeight.call(this)-t}return m.prototype.getHeight.call(this)},d.prototype.getRealHeight=function(){if(this._join){var t=this.getJoinComponentByIndex(this._joinCells.length-2),e=this.parent.components.indexOf(this),r=this.parent.components.indexOf(t);return 1<this.parent.columnCount&&e-r==1?t.height:m.prototype.getBottom.call(this)-t.bottom}return m.prototype.getHeight.call(this)},d.prototype.getRealTop=function(){if(this._join){var t=this.getJoinComponentByIndex(this._joinCells.length-2),e=this.parent.components.indexOf(this),r=this.parent.components.indexOf(t);return 1<this.parent.columnCount&&e-r==1?t.top:t.bottom}return m.prototype.getTop.call(this)},d.prototype.getRealWidth=function(){if(this._join){var t=this.getJoinComponentByIndex(this._joinCells.length-2),e=this.parent.components.indexOf(this),r=this.parent.components.indexOf(t);return!(1<this.parent.rowCount)||e-r==1?this.right-t.right:t.width}return m.prototype.getWidth.call(this)},d.prototype.getRealLeft=function(){if(this._join){var t=this.getJoinComponentByIndex(this._joinCells.length-2),e=this.parent.components.indexOf(this),r=this.parent.components.indexOf(t);return!(1<this.parent.rowCount)||e-r==1?t.right:t.left}return this.left},d.prototype.createNew=function(){return new d},t=d,p.StiTableCellRichText=t}(Stimulsoft=Stimulsoft||{}),function(t){var e,t,r,n,i,o;function a(){}t=e=t.Report||(t.Report={}),n=r=t.Components||(t.Components={}),o=i=n.TextFormats||(n.TextFormats={}),a.isNegativeInRed=function(t){if(null==t)return!1;if(t.is(o.StiNumberFormatService)&&0<(t.state&n.StiTextFormatState.NegativeInRed))return!0;if(t.is(o.StiCurrencyFormatService)&&0<(t.state&n.StiTextFormatState.NegativeInRed))return!0;if(t.is(o.StiPercentageFormatService)&&0<(t.state&n.StiTextFormatState.NegativeInRed))return!0;return!1},t=a,o.StiNegativeColorChecker=t}(Stimulsoft=Stimulsoft||{}),function(t){var e,r,n,i,o,a,s,l,u;function c(t,e,r,n,i){this.falseValue=t,this.trueValue=e,this.falseDisplay=r,this.trueDisplay=n,this.nullDisplay=i}function p(t,e,r,n,i){void 0===t&&(t="false"),void 0===e&&(e="true"),void 0===r&&(r=a.get("FormFormatEditor","nameFalse")),void 0===n&&(n=a.get("FormFormatEditor","nameTrue")),void 0===i&&(i=" ");var o=u.call(this)||this;return o.falseValue=t,o.trueValue=e,o.falseDisplay=r,o.trueDisplay=n,o.nullDisplay=i,o}r=e=t.Report||(t.Report={}),i=n=r.Components||(r.Components={}),r=o=i.TextFormats||(i.TextFormats={}),a=t.Base.Localization.StiLocalization,s=t.System.ICloneable,c.prototype.implements=function(){return[s]},c.prototype.clone=function(){return this.stimulsoft.memberwiseClone()},l=c,u=r.StiFormatService,__extends(p,u),p.prototype.saveToJsonObject=function(t){var t=u.prototype.saveToJsonObject.call(this,t);return null!=this.bits&&(t.addPropertyStringNullOrEmpty("FalseValue",this.bits.falseValue),t.addPropertyStringNullOrEmpty("TrueValue",this.bits.trueValue),t.addPropertyStringNullOrEmpty("FalseDisplay",this.bits.falseDisplay),t.addPropertyStringNullOrEmpty("TrueDisplay",this.bits.trueDisplay),t.addPropertyStringNullOrEmpty("NullDisplay",this.bits.nullDisplay)),t},p.prototype.loadFromJsonObject=function(t){var e,r;u.prototype.loadFromJsonObject.call(this,t);try{for(var n=__values(t.properties()),i=n.next();!i.done;i=n.next()){var o=i.value;switch(o.name){case"FalseValue":this.falseValue=o.value;break;case"TrueValue":this.trueValue=o.value;break;case"FalseDisplay":this.falseDisplay=o.value;break;case"TrueDisplay":this.trueDisplay=o.value;break;case"NullDisplay":this.nullDisplay=o.value;break}}}catch(t){e={error:t}}finally{try{i&&!i.done&&(r=n.return)&&r.call(n)}finally{if(e)throw e.error}}},p.prototype.loadFromXml=function(t){for(var e=0;e<t.childNodes.length;e++){var r=t.childNodes[e];switch(r.nodeName){case"FalseValue":this.falseValue=r.textContent;break;case"TrueValue":this.trueValue=r.textContent;break;case"FalseDisplay":this.falseDisplay=r.textContent;break;case"TrueDisplay":this.trueDisplay=r.textContent;break;case"NullDisplay":this.nullDisplay=r.textContent;break}}},p.prototype.clone=function(){var t=u.prototype.clone.call(this);return null!=this.bits&&(t.bits=this.bits.clone()),t},Object.defineProperty(p.prototype,"falseValue",{get:function(){return null==this.bits?"false":this.bits.falseValue},set:function(t){if("false"==t&&null==this.bits)return;null!=this.bits?this.bits.falseValue=t:this.bits=new l(t,this.trueValue,this.falseDisplay,this.trueDisplay,this.nullDisplay)},enumerable:!1,configurable:!0}),Object.defineProperty(p.prototype,"trueValue",{get:function(){return null==this.bits?"true":this.bits.trueValue},set:function(t){if("true"==t&&null==this.bits)return;null!=this.bits?this.bits.trueValue=t:this.bits=new l(this.falseValue,t,this.falseDisplay,this.trueDisplay,this.nullDisplay)},enumerable:!1,configurable:!0}),Object.defineProperty(p.prototype,"falseDisplay",{get:function(){return null==this.bits?"false":this.bits.falseDisplay},set:function(t){if("false"==t&&null==this.bits)return;null!=this.bits?this.bits.falseDisplay=t:this.bits=new l(this.falseValue,this.trueValue,t,this.trueDisplay,this.nullDisplay)},enumerable:!1,configurable:!0}),Object.defineProperty(p.prototype,"trueDisplay",{get:function(){return null==this.bits?"true":this.bits.trueDisplay},set:function(t){if("true"==t&&null==this.bits)return;null!=this.bits?this.bits.trueDisplay=t:this.bits=new l(this.falseValue,this.trueValue,this.falseDisplay,t,this.nullDisplay)},enumerable:!1,configurable:!0}),Object.defineProperty(p.prototype,"nullDisplay",{get:function(){return null==this.bits?" ":this.bits.nullDisplay},set:function(t){if(" "==t&&null==this.bits)return;null!=this.bits?this.bits.nullDisplay=t:this.bits=new l(this.falseValue,this.trueValue,this.falseDisplay,this.trueDisplay,t)},enumerable:!1,configurable:!0}),Object.defineProperty(p.prototype,"sample",{get:function(){return!1},enumerable:!1,configurable:!0}),p.prototype.equals=function(t){var e;if(null==t)return!1;if(this.falseValue!=t.falseValue)return!1;if(this.trueValue!=t.trueValue)return!1;if(this.falseDisplay!=t.falseDisplay)return!1;if(this.trueDisplay!=t.trueDisplay)return!1;if(this.nullDisplay!=t.nullDisplay)return!1;if(this.stringFormat!=t.stringFormat)return!1;return!0},p.prototype.format=function(t){return this.format2(this.stringFormat,t)},p.prototype.format2=function(t,e){if(null==e)return this.nullDisplay;var e=e.toString();if(null!=e&&null!=this.trueValue&&e.toLowerCase()==this.trueValue.toLowerCase())return this.trueDisplay;if(null!=e&&null!=this.trueValue&&e.toLowerCase()==this.falseValue.toLowerCase())return this.falseDisplay;return this.nullDisplay},p.prototype.createNew=function(){return new p},i=p,r.StiBooleanFormatService=i}(Stimulsoft=Stimulsoft||{}),function(n){var t,e,r,i,o,a,s,l,u,c,p,h;function m(){this._sortingEnabled=!0,this._sortingColumn="",this._sortingIndex=0,this._sortingDirection=u.None,this._drillDownEnabled=!1,this._drillDownReport="",this._drillDownMode=c.MultiPage,this._drillDownParameter1=null,this._drillDownParameter2=null,this._drillDownParameter3=null,this._drillDownParameter4=null,this._drillDownParameter5=null,this._drillDownParameter6=null,this._drillDownParameter7=null,this._drillDownParameter8=null,this._drillDownParameter9=null,this._drillDownParameter10=null,this._drillDownPageGuid=null,this.parentComponent=null,this.drillDownParameter1=new i.StiDrillDownParameter,this.drillDownParameter2=new i.StiDrillDownParameter,this.drillDownParameter3=new i.StiDrillDownParameter,this.drillDownParameter4=new i.StiDrillDownParameter,this.drillDownParameter5=new i.StiDrillDownParameter,this.drillDownParameter6=new i.StiDrillDownParameter,this.drillDownParameter7=new i.StiDrillDownParameter,this.drillDownParameter8=new i.StiDrillDownParameter,this.drillDownParameter9=new i.StiDrillDownParameter,this.drillDownParameter10=new i.StiDrillDownParameter}e=t=n.Report||(n.Report={}),i=r=e.Components||(e.Components={}),o=n.System.StiString,a=n.Base.StiJson,s=n.System.ICloneable,l=n.Base.JsonReportObject.IStiJsonReportObject,u=n.Report.Components.StiInteractionSortDirection,c=n.Report.Components.StiDrillDownMode,p=n.Base.StiGuidUtils,h=n.System.Enum,m.prototype.implements=function(){return[s,l]},m.prototype.is=function(t){if(t instanceof n.System.Interface)return-1!=this.implements().indexOf(t);if("function"==typeof t)return this instanceof t;if(null==t)throw new Error("Type for comparison is 'undefined'");return!1},m.prototype.is2=function(t){return this.is(t)},m.prototype.as=function(t){if(this.is(t))return this;return null},m.prototype.saveToJsonObject=function(t){var e=new a;return e.addPropertyIdent("Ident",this.stimulsoft.getType().stimulsoft.getTypeName()),e.addPropertyBool("SortingEnabled",this.sortingEnabled,!0),e.addPropertyStringNullOrEmpty("SortingColumn",this.sortingColumn),e.addPropertyBool("DrillDownEnabled",this.drillDownEnabled),e.addPropertyStringNullOrEmpty("DrillDownReport",this.drillDownReport),e.addPropertyEnum("DrillDownMode",c,this.drillDownMode,c.MultiPage),e.addPropertyStringNullOrEmpty("DrillDownPageGuid",this._drillDownPageGuid),e.addPropertyJObject("DrillDownParameter1",this.drillDownParameter1.saveToJsonObject(t)),e.addPropertyJObject("DrillDownParameter2",this.drillDownParameter2.saveToJsonObject(t)),e.addPropertyJObject("DrillDownParameter3",this.drillDownParameter3.saveToJsonObject(t)),e.addPropertyJObject("DrillDownParameter4",this.drillDownParameter4.saveToJsonObject(t)),e.addPropertyJObject("DrillDownParameter5",this.drillDownParameter5.saveToJsonObject(t)),e.addPropertyJObject("DrillDownParameter6",this.drillDownParameter6.saveToJsonObject(t)),e.addPropertyJObject("DrillDownParameter7",this.drillDownParameter7.saveToJsonObject(t)),e.addPropertyJObject("DrillDownParameter8",this.drillDownParameter8.saveToJsonObject(t)),e.addPropertyJObject("DrillDownParameter9",this.drillDownParameter9.saveToJsonObject(t)),e.addPropertyJObject("DrillDownParameter10",this.drillDownParameter10.saveToJsonObject(t)),e},m.prototype.loadFromJsonObject=function(t){var e,r;try{for(var n=__values(t.properties()),i=n.next();!i.done;i=n.next()){var o=i.value;switch(o.name){case"SortingEnabled":this._sortingEnabled=o.value.stimulsoft.toBoolean();break;case"SortingColumn":this._sortingColumn=o.value;break;case"DrillDownEnabled":this._drillDownEnabled=o.value.stimulsoft.toBoolean();break;case"DrillDownReport":this._drillDownReport=o.value;break;case"DrillDownMode":this._drillDownMode=h.parse(c,h.getName(c,o.value));break;case"DrillDownPageGuid":this._drillDownPageGuid=o.value;break;case"DrillDownParameter1":this._drillDownParameter1.loadFromJsonObject(o.value);break;case"DrillDownParameter2":this._drillDownParameter2.loadFromJsonObject(o.value);break;case"DrillDownParameter3":this._drillDownParameter3.loadFromJsonObject(o.value);break;case"DrillDownParameter4":this._drillDownParameter4.loadFromJsonObject(o.value);break;case"DrillDownParameter5":this._drillDownParameter5.loadFromJsonObject(o.value);break;case"DrillDownParameter6":this._drillDownParameter6.loadFromJsonObject(o.value);break;case"DrillDownParameter7":this._drillDownParameter7.loadFromJsonObject(o.value);break;case"DrillDownParameter8":this._drillDownParameter8.loadFromJsonObject(o.value);break;case"DrillDownParameter9":this._drillDownParameter9.loadFromJsonObject(o.value);break;case"DrillDownParameter10":this._drillDownParameter10.loadFromJsonObject(o.value);break}}}catch(t){e={error:t}}finally{try{i&&!i.done&&(r=n.return)&&r.call(n)}finally{if(e)throw e.error}}},m.loadInteractionFromJsonObject=function(t){var e,r=null;switch(t.properties().firstOrDefault(function(t){return"Ident"==t.name}).value){case"StiInteraction":r=new m;break;case"StiBandInteraction":r=new i.StiBandInteraction;break;case"StiCrossHeaderInteraction":r=new i.StiCrossHeaderInteraction;break}return r.loadFromJsonObject(t),r},m.loadInteractionFromXml=function(t){switch(t.attributes.getNamedItem("type").value){case"Stimulsoft.Report.Components.StiInteraction":var e=new n.Report.Components.StiInteraction;return e.loadFromXml(t),e;case"Stimulsoft.Report.Components.StiBandInteraction":var r=new n.Report.Components.StiBandInteraction;return r.loadFromXml(t),r;case"Stimulsoft.Report.Components.StiCrossHeaderInteraction":var r=new n.Report.Components.StiCrossHeaderInteraction;return r.loadFromXml(t),r}return null},m.prototype.loadFromXml=function(t){for(var e=0;e<t.childNodes.length;e++){var r=t.childNodes[e];switch(r.nodeName){case"SortingEnabled":this._sortingEnabled=r.textContent.stimulsoft.toBoolean();break;case"SortingColumn":this._sortingColumn=r.textContent;break;case"DrillDownEnabled":this._drillDownEnabled=r.textContent.stimulsoft.toBoolean();break;case"DrillDownReport":this._drillDownReport=r.textContent;break;case"DrillDownMode":this._drillDownMode=h.parse(c,r.textContent);break;case"DrillDownPageGuid":this._drillDownPageGuid=r.textContent;break;case"DrillDownParameter1":this._drillDownParameter1.loadFromXml(r);break;case"DrillDownParameter2":this._drillDownParameter2.loadFromXml(r);break;case"DrillDownParameter3":this._drillDownParameter3.loadFromXml(r);break;case"DrillDownParameter4":this._drillDownParameter4.loadFromXml(r);break;case"DrillDownParameter5":this._drillDownParameter5.loadFromXml(r);break;case"DrillDownParameter6":this._drillDownParameter6.loadFromXml(r);break;case"DrillDownParameter7":this._drillDownParameter7.loadFromXml(r);break;case"DrillDownParameter8":this._drillDownParameter8.loadFromXml(r);break;case"DrillDownParameter9":this._drillDownParameter9.loadFromXml(r);break;case"DrillDownParameter10":this._drillDownParameter10.loadFromXml(r);break}}},m.prototype.getReport=function(){if(null==this.parentComponent)return null;return this.parentComponent.report},m.prototype.clone=function(){var t;return this.stimulsoft.memberwiseClone()},m.prototype.isDefault=function(){return this.sortingEnabled&&o.isNullOrEmpty(this.sortingColumn)&&!this.drillDownEnabled&&o.isNullOrEmpty(this.drillDownReport)&&null==this.drillDownPageGuid&&this.drillDownParameter1.isDefault()&&this.drillDownParameter2.isDefault()&&this.drillDownParameter3.isDefault()&&this.drillDownParameter4.isDefault()&&this.drillDownParameter5.isDefault()&&this.drillDownParameter6.isDefault()&&this.drillDownParameter7.isDefault()&&this.drillDownParameter8.isDefault()&&this.drillDownParameter9.isDefault()&&this.drillDownParameter10.isDefault()},Object.defineProperty(m.prototype,"sortingEnabled",{get:function(){return this._sortingEnabled},set:function(t){this._sortingEnabled=t},enumerable:!1,configurable:!0}),Object.defineProperty(m.prototype,"sortingColumn",{get:function(){return this._sortingColumn},set:function(t){this._sortingColumn=t},enumerable:!1,configurable:!0}),Object.defineProperty(m.prototype,"sortingIndex",{get:function(){return this._sortingIndex},set:function(t){this._sortingIndex=t},enumerable:!1,configurable:!0}),Object.defineProperty(m.prototype,"sortingDirection",{get:function(){return this._sortingDirection},set:function(t){this._sortingDirection=t},enumerable:!1,configurable:!0}),Object.defineProperty(m.prototype,"drillDownEnabled",{get:function(){return this._drillDownEnabled},set:function(t){this._drillDownEnabled=t},enumerable:!1,configurable:!0}),Object.defineProperty(m.prototype,"drillDownReport",{get:function(){return this._drillDownReport},set:function(t){this._drillDownReport=t},enumerable:!1,configurable:!0}),Object.defineProperty(m.prototype,"drillDownMode",{get:function(){return this._drillDownMode},set:function(t){this._drillDownMode=t},enumerable:!1,configurable:!0}),Object.defineProperty(m.prototype,"drillDownParameter1",{get:function(){return this._drillDownParameter1},set:function(t){this._drillDownParameter1!=t&&null!=(this._drillDownParameter1=t)&&(t.interaction=this)},enumerable:!1,configurable:!0}),Object.defineProperty(m.prototype,"drillDownParameter2",{get:function(){return this._drillDownParameter2},set:function(t){this._drillDownParameter2!=t&&null!=(this._drillDownParameter2=t)&&(t.interaction=this)},enumerable:!1,configurable:!0}),Object.defineProperty(m.prototype,"drillDownParameter3",{get:function(){return this._drillDownParameter3},set:function(t){this._drillDownParameter3!=t&&null!=(this._drillDownParameter3=t)&&(t.interaction=this)},enumerable:!1,configurable:!0}),Object.defineProperty(m.prototype,"drillDownParameter4",{get:function(){return this._drillDownParameter4},set:function(t){this._drillDownParameter4!=t&&null!=(this._drillDownParameter4=t)&&(t.interaction=this)},enumerable:!1,configurable:!0}),Object.defineProperty(m.prototype,"drillDownParameter5"
,{get:function(){return this._drillDownParameter5},set:function(t){this._drillDownParameter5!=t&&null!=(this._drillDownParameter5=t)&&(t.interaction=this)},enumerable:!1,configurable:!0}),Object.defineProperty(m.prototype,"drillDownParameter6",{get:function(){return this._drillDownParameter6},set:function(t){this._drillDownParameter6!=t&&null!=(this._drillDownParameter6=t)&&(t.interaction=this)},enumerable:!1,configurable:!0}),Object.defineProperty(m.prototype,"drillDownParameter7",{get:function(){return this._drillDownParameter7},set:function(t){this._drillDownParameter7!=t&&null!=(this._drillDownParameter7=t)&&(t.interaction=this)},enumerable:!1,configurable:!0}),Object.defineProperty(m.prototype,"drillDownParameter8",{get:function(){return this._drillDownParameter8},set:function(t){this._drillDownParameter8!=t&&null!=(this._drillDownParameter8=t)&&(t.interaction=this)},enumerable:!1,configurable:!0}),Object.defineProperty(m.prototype,"drillDownParameter9",{get:function(){return this._drillDownParameter9},set:function(t){this._drillDownParameter9!=t&&null!=(this._drillDownParameter9=t)&&(t.interaction=this)},enumerable:!1,configurable:!0}),Object.defineProperty(m.prototype,"drillDownParameter10",{get:function(){return this._drillDownParameter10},set:function(t){this._drillDownParameter10!=t&&null!=(this._drillDownParameter10=t)&&(t.interaction=this)},enumerable:!1,configurable:!0}),Object.defineProperty(m.prototype,"drillDownPage",{get:function(){var e,t;if(null==this.parentComponent||null==this.parentComponent.report)return null;try{for(var r=__values(this.parentComponent.report.pages.list),n=r.next();!n.done;n=r.next()){var i=n.value;if(i.guid==this.drillDownPageGuid)return i}}catch(t){e={error:t}}finally{try{n&&!n.done&&(t=r.return)&&t.call(r)}finally{if(e)throw e.error}}return null},set:function(t){null==t?this._drillDownPageGuid=null:(null==t.guid&&(t.guid=p.newGuid()),this._drillDownPageGuid=t.guid)},enumerable:!1,configurable:!0}),Object.defineProperty(m.prototype,"drillDownPageGuid",{get:function(){return this._drillDownPageGuid},set:function(t){this._drillDownPageGuid=t},enumerable:!1,configurable:!0}),Object.defineProperty(m.prototype,"bookmark",{get:function(){return this.parentComponent.bookmark},set:function(t){this.parentComponent.bookmark=t},enumerable:!1,configurable:!0}),Object.defineProperty(m.prototype,"hyperlink",{get:function(){return this.parentComponent.hyperlink},set:function(t){this.parentComponent.hyperlink=t},enumerable:!1,configurable:!0}),Object.defineProperty(m.prototype,"tag",{get:function(){return this.parentComponent.tag},set:function(t){this.parentComponent.tag=t},enumerable:!1,configurable:!0}),Object.defineProperty(m.prototype,"toolTip",{get:function(){return this.parentComponent.toolTip},set:function(t){this.parentComponent.toolTip=t},enumerable:!1,configurable:!0}),m.prototype.getSortDataBandName=function(){if(o.isNullOrEmpty(this.sortingColumn)||!this.sortingEnabled)return"";var t=this.sortingColumn.indexOf(".");if(-1!=t)return this.sortingColumn.substr(0,t);return""},m.prototype.getSortColumns=function(){var t=this.getSortColumnsString(),e;if(0==t.length)return null;return t.split(".")},m.prototype.getSortColumnsString=function(){if(o.isNullOrEmpty(this.sortingColumn)||!this.sortingEnabled)return"";var t=this.sortingColumn.indexOf(".");if(-1!=t)return this.sortingColumn.substr(t+1);return""},e=m,i.StiInteraction=e}(Stimulsoft=Stimulsoft||{}),function(t){var e,t,r,n,a;function i(){var t=null!==a&&a.apply(this,arguments)||this;return t.collapsingEnabled=!1,t.selectionEnabled=!1,t.collapseGroupFooter=!1,t}t=e=t.Report||(t.Report={}),n=r=t.Components||(t.Components={}),a=n.StiInteraction,__extends(i,a),i.prototype.saveToJsonObject=function(t){var t=a.prototype.saveToJsonObject.call(this,t);return t.addPropertyBool("CollapsingEnabled",this.collapsingEnabled),t.addPropertyBool("SelectionEnabled",this.selectionEnabled),t.addPropertyBool("CollapseGroupFooter",this.collapseGroupFooter),t},i.prototype.loadFromJsonObject=function(t){var e,r;a.prototype.loadFromJsonObject.call(this,t);try{for(var n=__values(t.properties()),i=n.next();!i.done;i=n.next()){var o=i.value;switch(o.name){case"CollapsingEnabled":this.collapsingEnabled=o.value.stimulsoft.toBoolean();break;case"SelectionEnabled":this.selectionEnabled=o.value.stimulsoft.toBoolean();break;case"CollapseGroupFooter":this.collapseGroupFooter=o.value.stimulsoft.toBoolean();break}}}catch(t){e={error:t}}finally{try{i&&!i.done&&(r=n.return)&&r.call(n)}finally{if(e)throw e.error}}},i.prototype.loadFromXml=function(t){a.prototype.loadFromXml.call(this,t);for(var e=0;e<t.childNodes.length;e++){var r=t.childNodes[e];switch(r.nodeName){case"CollapsingEnabled":this.collapsingEnabled=r.textContent.stimulsoft.toBoolean();break;case"SelectionEnabled":this.selectionEnabled=r.textContent.stimulsoft.toBoolean();break;case"CollapseGroupFooter":this.collapseGroupFooter=r.textContent.stimulsoft.toBoolean();break}}},i.prototype.isDefault=function(){return a.prototype.isDefault.call(this)&&!this.collapsingEnabled&&!this.selectionEnabled},Object.defineProperty(i.prototype,"collapsed",{get:function(){return this.parentComponent.is(n.StiGroupHeaderBand),this.parentComponent.collapsed},set:function(t){this.parentComponent.is(n.StiGroupHeaderBand),this.parentComponent.collapsed=t},enumerable:!1,configurable:!0}),t=i,n.StiBandInteraction=t}(Stimulsoft=Stimulsoft||{}),function(t){var e,t,r,n;function i(t,e){void 0===t&&(t=""),void 0===e&&(e=null),this._bookmarks=null,this._text="",this._pageIndex=-1,this._text=t}t=e=t.Report||(t.Report={}),n=r=t.Components||(t.Components={}),i.prototype.add=function(t){-1==this.bookmarks.indexOf(t)&&this.bookmarks.add(new i(t))},Object.defineProperty(i.prototype,"bookmarks",{get:function(){return null==this._bookmarks&&(this._bookmarks=new n.StiBookmarksCollection),this._bookmarks},set:function(t){this._bookmarks=t},enumerable:!1,configurable:!0}),Object.defineProperty(i.prototype,"text",{get:function(){return this._text},set:function(t){this._text=t},enumerable:!1,configurable:!0}),Object.defineProperty(i.prototype,"componentGuid",{get:function(){return this._componentGuid},set:function(t){this._componentGuid=t},enumerable:!1,configurable:!0}),Object.defineProperty(i.prototype,"isManualBookmark",{get:function(){return this._isManualBookmark},set:function(t){this._isManualBookmark=t},enumerable:!1,configurable:!0}),Object.defineProperty(i.prototype,"pageIndex",{get:function(){return this._pageIndex},set:function(t){this._pageIndex=t},enumerable:!1,configurable:!0}),t=i,n.StiBookmark=t}(Stimulsoft=Stimulsoft||{}),function(t){var e,r,n,s,i;function o(){return null!==i&&i.apply(this,arguments)||this}r=e=t.Report||(t.Report={}),s=n=r.Components||(r.Components={}),r=t.System.Collections.CollectionBase,__extends(o,i=r),o.prototype.indexOf=function(t){var e,r;if(t.stimulsoft.is(s.StiBookmark))return this.list.indexOf(t);var n=0;try{for(var i=__values(this.list),o=i.next(),a;!o.done;o=i.next()){if(o.value.text==t)return n;n++}}catch(t){e={error:t}}finally{try{o&&!o.done&&(r=i.return)&&r.call(i)}finally{if(e)throw e.error}}return-1},o.prototype.getByName=function(t){var e=null,r=this.indexOf(t);return-1==r?(e=new s.StiBookmark(t,this),this.add(e)):e=this.getByIndex(r),e},r=o,s.StiBookmarksCollection=r}(Stimulsoft=Stimulsoft||{}),function(O){var t,e,r,_,j,G,v,n,i,w,o,a,s,l,H,u;function c(t){void 0===t&&(t=null);var e=u.call(this)||this;return e.parent=t,e}e=t=O.Report||(O.Report={}),_=r=e.Components||(e.Components={}),j=O.System.StiError,G=O.Base.StiChartNotSupportedException,v=O.System.StiArray,n=O.System.StiString,i=O.System.Collections.CollectionBase,w=O.System.Collections.Hashtable,o=O.Report.Components.StiBand,a=O.System.ICloneable,s=O.Base.JsonReportObject.IStiJsonReportObject,l=O.Base.StiJson,H=O.Base.StiActivator,__extends(c,u=i),c.prototype.implements=function(){return[a,s]},c.prototype.saveToJsonObject=function(t){var e,r;if(0==this.list.length)return null;var n=new l,i=0;try{for(var o=__values(this.list),a=o.next();!a.done;a=o.next()){var s=a.value;n.addPropertyJObject(i.toString(),s.saveToJsonObject(t)),i++}}catch(t){e={error:t}}finally{try{a&&!a.done&&(r=o.return)&&r.call(o)}finally{if(e)throw e.error}}return n},c.prototype.loadFromJsonObject=function(t){var e,r,n=function(t){var e,r=t.value.properties().firstOrDefault(function(t){return"Ident"==t.name}).value,n=StiOptions.Services.components.firstOrDefault(function(t){return t.stimulsoft.getType().stimulsoft.getTypeName()==r}),i=void 0;null==n?"StiChart"!=r&&"StiChartElement"!=r||(j.showError(new G,!0),i="StiChartElement"==r?O.Report.Dashboard.StiDashboardCreator.createDashboardElement("Stimulsoft.Dashboard.Components.Text.StiTextElement"):new _.StiText,t.value=G.getTextJson(t.value)):i=new n,o.add(i);try{i.loadFromJsonObject(t.value)}catch(t){o.list.pop()}},o=this;try{for(var i=__values(t.properties()),a=i.next(),s;!a.done;a=i.next()){n(a.value)}}catch(t){e={error:t}}finally{try{a&&!a.done&&(r=i.return)&&r.call(i)}finally{if(e)throw e.error}}},c.prototype.loadFromXml=function(t,e){for(var r=0;r<t.childNodes.length;r++){var n=t.childNodes[r],i;if(null==n.attributes)continue;if(null!=n.attributes.getNamedItem("type")){var o=n.attributes.getNamedItem("type").value,a,s;switch(o){case"Stimulsoft.Report.Components.StiReportTitleBand":case"ReportTitleBand":var l=new _.StiReportTitleBand;this.add(l),l.loadFromXml(n,e);break;case"Stimulsoft.Report.Components.StiReportSummaryBand":case"ReportSummaryBand":var u=new _.StiReportSummaryBand;this.add(u),u.loadFromXml(n,e);break;case"Stimulsoft.Report.Components.StiPageHeaderBand":case"PageHeaderBand":var u=new _.StiPageHeaderBand;this.add(u),u.loadFromXml(n,e);break;case"Stimulsoft.Report.Components.StiPageFooterBand":case"PageFooterBand":var c=new _.StiPageFooterBand;this.add(c),c.loadFromXml(n,e);break;case"Stimulsoft.Report.Components.StiGroupHeaderBand":case"GroupHeaderBand":var c=new _.StiGroupHeaderBand;this.add(c),c.loadFromXml(n,e);break;case"Stimulsoft.Report.Components.StiGroupFooterBand":case"GroupFooterBand":var p=new _.StiGroupFooterBand;this.add(p),p.loadFromXml(n,e);break;case"Stimulsoft.Report.Components.StiHeaderBand":case"HeaderBand":var p=new _.StiHeaderBand;this.add(p),p.loadFromXml(n,e);break;case"Stimulsoft.Report.Components.StiFooterBand":case"FooterBand":var h=new _.StiFooterBand;this.add(h),h.loadFromXml(n,e);break;case"Stimulsoft.Report.Components.StiColumnHeaderBand":case"ColumnHeaderBand":var h=new _.StiColumnHeaderBand;this.add(h),h.loadFromXml(n,e);break;case"Stimulsoft.Report.Components.StiColumnFooterBand":case"ColumnFooterBand":var m=new _.StiColumnFooterBand;this.add(m),m.loadFromXml(n,e);break;case"Stimulsoft.Report.Components.StiHierarchicalBand":case"HierarchicalBand":var m=new _.StiHierarchicalBand;this.add(m),m.loadFromXml(n,e);break;case"Stimulsoft.Report.Components.StiEmptyBand":case"EmptyBand":var d=new _.StiEmptyBand;this.add(d),d.loadFromXml(n,e);break;case"Stimulsoft.Report.Components.StiOverlayBand":case"OverlayBand":var d=new _.StiOverlayBand;this.add(d),d.loadFromXml(n,e);break;case"Stimulsoft.Report.Components.StiDataBand":case"DataBand":var g=new _.StiDataBand;this.add(g),g.loadFromXml(n,e);break;case"Stimulsoft.Report.Components.Table.StiTable":case"Table":var g=new O.Report.Components.Table.StiTable;this.add(g),g.loadFromXml(n,e);break;case"Stimulsoft.Report.Components.Table.StiTableCell":case"TableCell":var f=new O.Report.Components.Table.StiTableCell;this.add(f),f.loadFromXml(n,e);break;case"Stimulsoft.Report.Components.Table.StiTableCellCheckBox":case"TableCellCheckBox":var f=new O.Report.Components.Table.StiTableCellCheckBox;this.add(f),f.loadFromXml(n,e);break;case"Stimulsoft.Report.Components.Table.StiTableCellImage":case"TableCellImage":var S=new O.Report.Components.Table.StiTableCellImage;this.add(S),S.loadFromXml(n,e);break;case"Stimulsoft.Report.Components.Table.StiTableCellRichText":case"TableCellRichText":var S=new O.Report.Components.Table.StiTableCellRichText;this.add(S),S.loadFromXml(n,e);break;case"Stimulsoft.Report.Components.StiPage":case"Page":var y=new O.Report.Components.StiPage;this.add(y),y.loadFromXml(n,e);break;case"Stimulsoft.Report.Components.StiPanel":case"Panel":var y=new O.Report.Components.StiPanel;this.add(y),y.loadFromXml(n,e);break;case"Stimulsoft.Report.Components.StiContainer":case"Container":var A=new O.Report.Components.StiContainer;this.add(A),A.loadFromXml(n,e);break;case"Stimulsoft.Report.Components.StiCheckBox":case"CheckBox":var A=new O.Report.Components.StiCheckBox;this.add(A),A.loadFromXml(n,e);break;case"Stimulsoft.Report.Components.StiChildBand":case"ChildBand":var b=new O.Report.Components.StiChildBand;this.add(b),b.loadFromXml(n,e);break;case"Stimulsoft.Report.Components.StiText":case"Text":case"SystemText":var b=new O.Report.Components.StiText;this.add(b),b.loadFromXml(n,e);break;case"Clone":var C=new O.Report.Components.StiClone;this.add(C),C.loadFromXml(n,e);break;case"Stimulsoft.Report.Components.StiTextInCells":case"TextInCells":var C=new O.Report.Components.StiTextInCells;this.add(C),C.loadFromXml(n,e);break;case"Stimulsoft.Report.Components.StiImage":case"Image":var v=new O.Report.Components.StiImage;this.add(v),v.loadFromXml(n,e);break;case"Stimulsoft.Report.Components.StiRichText":case"RichText":var v=new O.Report.Components.StiRichText;this.add(v),v.loadFromXml(n,e);break;case"Stimulsoft.Report.Components.StiShape":case"Shape":var w=new O.Report.Components.StiShape;this.add(w),w.loadFromXml(n,e);break;case"Stimulsoft.Report.Components.StiSubReport":case"SubReport":var w=new O.Report.Components.StiSubReport;this.add(w),w.loadFromXml(n,e);break;case"Stimulsoft.Report.Components.StiHorizontalLinePrimitive":case"HorizontalLinePrimitive":var B=new O.Report.Components.StiHorizontalLinePrimitive;this.add(B),B.loadFromXml(n,e);break;case"Stimulsoft.Report.Components.StiVerticalLinePrimitive":case"VerticalLinePrimitive":var B=new O.Report.Components.StiVerticalLinePrimitive;this.add(B),B.loadFromXml(n,e);break;case"Stimulsoft.Report.Components.StiRectanglePrimitive":case"RectanglePrimitive":var I=new O.Report.Components.StiRectanglePrimitive;this.add(I),I.loadFromXml(n,e);break;case"Stimulsoft.Report.Components.StiRoundedRectanglePrimitive":case"RoundedRectanglePrimitive":var I=new O.Report.Components.StiRoundedRectanglePrimitive;this.add(I),I.loadFromXml(n,e);break;case"Stimulsoft.Report.Components.StiStartPointPrimitive":case"StartPointPrimitive":var T=new O.Report.Components.StiStartPointPrimitive;this.add(T),T.loadFromXml(n,e);break;case"Stimulsoft.Report.Components.StiEndPointPrimitive":case"EndPointPrimitive":var T=new O.Report.Components.StiEndPointPrimitive;this.add(T),T.loadFromXml(n,e);break;case"Stimulsoft.Report.Components.StiCrossDataBand":case"CrossDataBand":var E=new O.Report.Components.StiCrossDataBand;this.add(E),E.loadFromXml(n,e);break;case"Stimulsoft.Report.Components.StiCrossHeaderBand":case"CrossHeaderBand":var E=new O.Report.Components.StiCrossHeaderBand;this.add(E),E.loadFromXml(n,e);break;case"Stimulsoft.Report.Components.StiCrossFooterBand":case"CrossFooterBand":var R=new O.Report.Components.StiCrossFooterBand;this.add(R),R.loadFromXml(n,e);break;case"Stimulsoft.Report.Components.StiCrossGroupHeaderBand":case"CrossGroupHeaderBand":var R=new O.Report.Components.StiCrossGroupHeaderBand;this.add(R),R.loadFromXml(n,e);break;case"Stimulsoft.Report.Components.StiCrossGroupFooterBand":case"CrossGroupFooterBand":var D=new O.Report.Components.StiCrossGroupFooterBand;this.add(D),D.loadFromXml(n,e);break;case"Stimulsoft.Report.CrossTab.StiCrossTab":case"CrossTab":var D=new O.Report.CrossTab.StiCrossTab;this.add(D),D.loadFromXml(n,e);break;case"Stimulsoft.Report.CrossTab.StiCrossColumn":case"CrossColumn":var P=new O.Report.CrossTab.StiCrossColumn;this.add(P),P.loadFromXml(n,e);break;case"Stimulsoft.Report.CrossTab.StiCrossTotal":case"CrossTotal":var P=new O.Report.CrossTab.StiCrossTotal;this.add(P),P.loadFromXml(n,e);break;case"Stimulsoft.Report.CrossTab.StiCrossRowTotal":case"CrossRowTotal":var x=new O.Report.CrossTab.StiCrossRowTotal;this.add(x),x.loadFromXml(n,e);break;case"Stimulsoft.Report.CrossTab.StiCrossColumnTotal":case"CrossColumnTotal":var x=new O.Report.CrossTab.StiCrossColumnTotal;this.add(x),x.loadFromXml(n,e);break;case"Stimulsoft.Report.CrossTab.StiCrossRow":case"CrossRow":var F=new O.Report.CrossTab.StiCrossRow;this.add(F),F.loadFromXml(n,e);break;case"Stimulsoft.Report.CrossTab.StiCrossSummary":case"CrossSummary":var F=new O.Report.CrossTab.StiCrossSummary;this.add(F),F.loadFromXml(n,e);break;case"Stimulsoft.Report.CrossTab.StiCrossTitle":case"CrossTitle":var N=new O.Report.CrossTab.StiCrossTitle;this.add(N),N.loadFromXml(n,e);break;case"Stimulsoft.Report.CrossTab.StiCrossSummaryHeader":case"CrossSummaryHeader":var N=new O.Report.CrossTab.StiCrossSummaryHeader;this.add(N),N.loadFromXml(n,e);break;case"Stimulsoft.Report.Components.StiSparkline":case"Sparkline":var a=new O.Report.Components.StiSparkline;this.add(a),a.loadFromXml(n,e);break;case"Stimulsoft.Report.Chart.StiChart":case"Chart":O.Report.Chart.StiChartAssembly.isAssemblyLoaded?((a=H.createObject(O.Report.Components["StiChart"])).report=this.parent.report,this.add(a),a.loadFromXml(n,e)):(j.showError(new G,!0),(s=new _.StiText).loadFromXml(G.getTextXml(n),e),this.add(s));break;case"Stimulsoft.Report.Gauge.StiGauge":case"Gauge":var s=H.createObject(O.Report.Components["StiGauge"]);this.add(s),s.loadFromXml(n,e);break;case"Stimulsoft.Report.Maps.StiMap":case"Map":var k=new O.Report.Maps.StiMap;k.report=this.parent.report,this.add(k),k.loadFromXml(n,e);break;case"Stimulsoft.Report.BarCodes.StiBarCode":case"BarCode":var M=new O.Report.BarCodes.StiBarCode;M.report=this.parent.report,this.add(M);try{M.loadFromXml(n,e)}catch(t){this.list.pop()}break;case"Stimulsoft.Dashboard.Components.Chart.StiChartElement":if(!O.Report.Chart.StiChartAssembly.isAssemblyLoaded){j.showError(new G,!0);var k=O.Report.Dashboard.StiDashboardCreator.createDashboardElement("Stimulsoft.Dashboard.Components.Text.StiTextElement");k.loadFromXml(G.getTextXml(n),e),this.add(k);break}case"Stimulsoft.Dashboard.Components.Table.StiTableElement":case"Stimulsoft.Dashboard.Components.Gauge.StiGaugeElement":case"Stimulsoft.Dashboard.Components.PivotTable.StiPivotTableElement":case"Stimulsoft.Dashboard.Components.Indicator.StiIndicatorElement":case"Stimulsoft.Dashboard.Components.Progress.StiProgressElement":case"Stimulsoft.Dashboard.Components.RegionMap.StiRegionMapElement":case"Stimulsoft.Dashboard.Components.OnlineMap.StiOnlineMapElement":case"Stimulsoft.Dashboard.Components.Image.StiImageElement":case"Stimulsoft.Dashboard.Components.Text.StiTextElement":case"Stimulsoft.Dashboard.Components.Panel.StiPanelElement":case"Stimulsoft.Dashboard.Components.Shape.StiShapeElement":case"Stimulsoft.Dashboard.Components.ListBox.StiListBoxElement":case"Stimulsoft.Dashboard.Components.ComboBox.StiComboBoxElement":case"Stimulsoft.Dashboard.Components.TreeView.StiTreeViewElement":case"Stimulsoft.Dashboard.Components.TreeViewBox.StiTreeViewBoxElement":case"Stimulsoft.Dashboard.Components.DatePicker.StiDatePickerElement":var o=O.Report.Dashboard.StiDashboardCreator.createDashboardElement(o);null!=o&&(this.add(o),o.loadFromXml(n,e));break}}}},c.prototype.clone=function(){var e,t,r=new c;try{for(var n=__values(this.list),i=n.next();!i.done;i=n.next()){var o=i.value;r.add(o.clone())}}catch(t){e={error:t}}finally{try{i&&!i.done&&(t=n.return)&&t.call(n)}finally{if(e)throw e.error}}return r},c.prototype.memberwiseClone=function(){var t=new(this.stimulsoft.getType());return t.parent=this.parent,t},c.prototype.addCore=function(t){null!=this.parent&&(t.parent=this.parent,null!=this.parent.page&&(t.page=this.parent.page,n.isNullOrEmpty(t.name)&&(null!=t.report&&t.report.isDesigning?t.name=e.StiNameCreation.createName(this.parent.report,e.StiNameCreation.generateName(t)):t.name=e.StiNameCreation.createSimpleName(this.parent.report,e.StiNameCreation.generateName(t))))),this.list.push(t)},c.prototype.add=function(t){this.addCore(t)},c.prototype.indexOf=function(t){var e,r;if("string"==typeof t){var n=t.toLowerCase(),i=0;try{for(var o=__values(this.list),a=o.next(),s;!a.done;a=o.next()){if(a.value.name.toLowerCase()==n)return i;i++}}catch(t){e={error:t}}finally{try{a&&!a.done&&(r=o.return)&&r.call(o)}finally{if(e)throw e.error}}return-1}return this.list.indexOf(t)},c.prototype.insertRange=function(t,e){var r,n;try{for(var i=__values(e.list),o=i.next();!o.done;o=i.next()){var a=o.value;this.insert(t,a)}}catch(t){r={error:t}}finally{try{o&&!o.done&&(n=i.return)&&n.call(i)}finally{if(r)throw r.error}}},c.prototype.insert=function(t,e){null!=this.parent&&(e.parent=this.parent,null!=this.parent.page&&(e.page=this.parent.page)),this.list.splice(t,0,e)},c.prototype.remove=function(t,e){void 0===e&&(e=!0),e&&null!=t.page&&null!=t.report&&(t.parent=null),this.contains(t)&&u.prototype.remove.call(this,t)},c.prototype.getByName=function(t){var e,r;t=t.toLowerCase();try{for(var n=__values(this.list),i=n.next();!i.done;i=n.next()){var o=i.value;if(o.name.toLowerCase()==t)return o}}catch(t){e={error:t}}finally{try{i&&!i.done&&(r=n.return)&&r.call(n)}finally{if(e)throw e.error}}return null},c.prototype.setByName=function(t,e){t=t.toLowerCase();for(var r=0,n;r<this.list.length;r++){if(this.getByIndex(r).name.toLowerCase()==t)return void(this.list[r]=e)}this.addCore(e)},c.prototype.sortByPriority=function(){if(1<this.count){var t=1,e;while(t<this.count){this.list[t-1].priority>this.list[t].priority?(e=this.list[t-1],this.list[t-1]=this.list[t],this.list[t]=e,1!=t&&t--):t++}}},c.prototype.sortByTopPosition=function(){var e,t,r,n;if(1<this.count){var i=!0,o=null,a=this.count;if(100<a){i=!1;for(var s=this.list[0].top,o=new w,l=0;l<a;l++){var u=this.getByIndex(l).top;o.set(u,null),u<s&&(i=!0),s=u}var c=o.keys.length;if(o.clear(),i&&c<a/2){for(var l=0;l<this.count;l++){var p,u=(p=this.getByIndex(l)).top,h;null==(h=o.get(u))&&(h=[],o.set(u,h)),h.push(p)}var m=v.create(Object,o.keys.length);o.keys.copyTo(m,0),m=v.sort(m);var d=0;try{for(var g=__values(m),f=g.next();!f.done;f=g.next()){var S=f.value,h=o.get(S);try{for(var y=(r=void 0,__values(h)),A=y.next();!A.done;A=y.next()){var p=A.value;this.list[d++]=p}}catch(t){r={error:t}}finally{try{A&&!A.done&&(n=y.return)&&n.call(y)}finally{if(r)throw r.error}}}}catch(t){e={error:t}}finally{try{f&&!f.done&&(t=g.return)&&t.call(g)}finally{if(e)throw e.error}}o.clear(),i=!1}}if(i){var b=1,C;while(b<a){this.list[b-1].top>this.list[b].top?(C=this.list[b-1],this.list[b-1]=this.list[b],this.list[b]=C,1!=b&&b--):b++}}}},c.prototype.sortByBottomPosition=function(){if(1<this.count){var t=1,e;while(t<this.count){this.list[t-1].bottom>this.list[t].bottom?(e=this.list[t-1],this.list[t-1]=this.list[t],this.list[t]=e,1!=t&&t--):t++}}},c.prototype.sortByLeftPosition=function(){if(1<this.count){var t=1,e;while(t<this.count){this.list[t-1].left>this.list[t].left?(e=this.list[t-1],this.list[t-1]=this.list[t],this.list[t]=e,1!=t&&t--):t++}}},c.prototype.sortByRightPosition=function(){if(1<this.count){var t=1,e;while(t<this.count){this.list[t-1].right>this.list[t].right?(e=this.list[t-1],this.list[t-1]=this.list[t],this.list[t]=e,1!=t&&t--):t++}}},c.prototype.sortBandsByTopPosition=function(){if(1<this.count){var t=1,e;while(t<this.count){this.list[t-1].is(o)&&this.list[t].is(o)&&this.list[t-1].dockStyle==this.list[t].dockStyle&&(this.list[t-1].dockStyle==O.Report.Components.StiDockStyle.Top&&this.list[t-1].top>this.list[t].top||this.list[t-1].dockStyle==O.Report.Components.StiDockStyle.Bottom&&this.list[t-1].top<this.list[t].top)?(e=this.list[t-1],this.list[t-1]=this.list[t],this.list[t]=e,1!=t&&t--):t++}}},c.prototype.sortBandsByLeftPosition=function(){if(1<this.count){var t=1,e;while(t<this.count){this.list[t-1].is(o)&&this.list[t].is(o)&&this.list[t-1].left>this.list[t].left?(e=this.list[t-1],this.list[t-1]=this.list[t],this.list[t]=e,1!=t&&t--):t++}}},c.prototype.getComponentByName=function(t,e){var r,n;try{for(var i=__values(e.components.list),o=i.next();!o.done;o=i.next()){var a=o.value;if(a.name==t)return a;var a=a.as(_.StiContainer);if(null!=a){var a=this.getComponentByName(t,a);if(null!=a)return a}}}catch(t){r={error:t}}finally{try{o&&!o.done&&(n=i.return)&&n.call(i)}finally{if(r)throw r.error}}return null},c.prototype.getPageByAlias=function(t){var e,r;try{for(var n=__values(this.list),i=n.next();!i.done;i=n.next()){var o=i.value;if(o.alias==t)return o}}catch(t){e={error:t}}finally{try{i&&!i.done&&(r=n.return)&&r.call(n)}finally{if(e)throw e.error}}return null},c.prototype.setParent=function(t){var e,r;this.parent=t;try{for(var n=__values(this.list),i=n.next();!i.done;i=n.next()){var o=i.value;o.parent=t;var o=o.as(_.StiContainer);null!=o&&o.components.setParent(o)}}catch(t){e={error:t}}finally{try{i&&!i.done&&(r=n.return)&&r.call(n)}finally{if(e)throw e.error}}},i=c,_.StiComponentsCollection=i}(Stimulsoft=Stimulsoft||{}),function(t){var e,r,n,t,a;function i(){var t=null!==a&&a.apply(this,arguments)||this;return t._collapsingEnabled=!1,t}r=e=t.Report||(t.Report={}),t=n=r.Components||(r.Components={}),a=t.StiInteraction,__extends(i,a),i.prototype.saveToJsonObject=function(t){var t=a.prototype.saveToJsonObject.call(this,t);return t.addPropertyBool("CollapsingEnabled",this.collapsingEnabled),t},i.prototype.loadFromJsonObject=function(t){var e,r;a.prototype.loadFromJsonObject.call(this,t);try{for(var n=__values(t.properties()),i=n.next();!i.done;i=n.next()){var o=i.value;switch(o.name){case"CollapsingEnabled":this._collapsingEnabled=o.value.stimulsoft.toBoolean();break}}}catch(t){e={error:t}}finally{try{i&&!i.done&&(r=n.return)&&r.call(n)}finally{if(e)throw e.error}}},i.prototype.loadFromXml=function(t){a.prototype.loadFromXml.call(this,t);for(var e=0;e<t.childNodes.length;e++){var r=t.childNodes[e];switch(r.nodeName){case"CollapsingEnabled":this._collapsingEnabled=r.textContent.stimulsoft.toBoolean();break}}},i.prototype.isDefault=function(){return a.prototype.isDefault.call(this)&&!this.collapsingEnabled},Object.defineProperty(i.prototype,"collapsingEnabled",{get:function(){return this._collapsingEnabled},set:function(t){this._collapsingEnabled=t},enumerable:!1,configurable:!0}),r=i,t.StiCrossHeaderInteraction=r}(Stimulsoft=Stimulsoft||{}),function(t){var e,r,n,i;r=e=t.Report||(t.Report={}),(i=n=r.Dictionary||(r.Dictionary={})).IStiEnumerator=new t.System.Interface("IStiEnumerator")}(Stimulsoft=Stimulsoft||{}),function(w){var t,a,e;a=t=w.Report||(w.Report={}),function(b){var C=w.System.StiArray,t=w.System.StiString,m=w.Report.Dictionary.StiBusinessObjectsCollection,v=w.System.Collections.Hashtable,e=w.Base.JsonReportObject.IStiJsonReportObject,r=w.Base.StiJson,n=w.System.ICloneable,i,i;(i=i=i||{})[i["Name"]=100]="Name",i[i["Alias"]=200]="Alias",i[i["Category"]=300]="Category",i[i["Columns"]=400]="Columns";var i=(o.prototype.implements=function(){return[n,a.IStiStateSaveRestore,b.IStiEnumerator,a.IStiInherited,e]},o.prototype.is=function(t){if(t instanceof w.System.Interface)return-1!=this.implements().indexOf(t);if("function"==typeof t)return this instanceof t;if(null==t)throw new Error("Type for comparison is 'undefined'");return!1},o.prototype.is2=function(t){return this.is(t)},o.prototype.as=function(t){if(this.is(t))return this;return null},o.prototype.saveToJsonObject=function(t){var e=new r;return e.addPropertyBool("Inherited",this.inherited),e.addPropertyJObject("BusinessObjects",this.businessObjects.saveToJsonObject(t)),e.addPropertyJObject("Columns",this.columns.saveToJsonObject(t)),e.addPropertyStringNullOrEmpty("Guid",this.guid),e.addPropertyStringNullOrEmpty("Category",this.category),e.addPropertyStringNullOrEmpty("Name",this.name),e.addPropertyStringNullOrEmpty("Alias",this.alias),e.addPropertyStringNullOrEmpty("Key",this.key),e},o.prototype.loadFromJsonObject=function(t){var e,r;try{for(var n=__values(t.properties()),i=n.next();!i.done;i=n.next()){var o=i.value;switch(o.name){case"Inherited":this._inherited=o.value.stimulsoft.toBoolean();break;case"BusinessObjects":this._businessObjects.loadFromJsonObject(o.value);break;case"Columns":this._columns.loadFromJsonObject(o.value);break;case"Guid":this._guid=o.value;break;case"Category":this._category=o.value;break;case"Name":this._name=o.value;break;case"Alias":this._alias=o.value;break;case"Key":this._key=o.value;break}}}catch(t){e={error:t}}finally{try{i&&!i.done&&(r=n.return)&&r.call(n)}finally{if(e)throw e.error}}},o.prototype.loadFromXml=function(t){for(var e=0;e<t.childNodes.length;e++){var r=t.childNodes[e];switch(r.nodeName){case"Inherited":this._inherited=r.textContent.stimulsoft.toBoolean();break;case"Name":this._name=r.textContent;break;case"Guid":this._guid=r.textContent;break;case"Category":this._category=r.textContent;break;case"Alias":this._alias=r.textContent;break;case"Key":this._key=r.textContent;break;case"Columns":this._columns.loadFromXml(r);break;case"BusinessObjects":this._businessObjects.loadFromXml(r);break}}},Object.defineProperty(o.prototype,"states",{get:function(){return null==this._states&&(this._states=new a.StiStatesManager),this._states},enumerable:!1,configurable:!0}),o.prototype.saveState=function(t){this.states.pushInt(t,this,"positionValue",this.positionValue),this.states.pushBool(t,this,"isEofValue",this.isEofValue),this.states.pushBool(t,this,"isBofValue",this.isBofValue),this.states.pushBool(t,this,"isEmpty",this.isEmpty),this.states.push(t,this,"current",this.currentObject),this.states.push(t,this,"businessObjectValue",this.businessObjectValue),this.states.push(t,this,"specPrevValue",this.specPrevValue),this.states.push(t,this,"specNextValue",this.specNextValue),this.states.push(t,this,"specStoredCurrentValue",this.specStoredCurrentValue),this.states.push(t,this,"enumerator",this.enumerator),this.states.push(t,this,"countFiltered",this.countFiltered),this.states.pushBool(t,this,"isEnumeratorCreated",this.isEnumeratorCreated),this.states.pushBool(t,this,"specNextValueRead",this.specNextValueRead),this.states.pushBool(t,this,"specMoveNextResult",this.specMoveNextResult)},o.prototype.restoreState=function(t){this.states.isExist(t,this)&&(this.positionValue=this.states.popInt(t,this,"positionValue"),this.isBofValue=this.states.popBool(t,this,"isBofValue"),this.isEofValue=this.states.popBool(t,this,"isEofValue"),this._isEmpty=this.states.popBool(t,this,"isEmpty"),this.currentObject=this.states.pop(t,this,"current"),this.businessObjectValue=this.states.pop(t,this,"businessObjectValue"),this.specPrevValue=this.states.pop(t,this,"specPrevValue"),this.specNextValue=this.states.pop(t,this,"specNextValue"),this.specStoredCurrentValue=this.states.pop(t,this,"specStoredCurrentValue"),this.enumerator=this.states.pop(t,this,"enumerator"),this.countFiltered=this.states.pop(t,this,"countFiltered"),this.isEnumeratorCreated=this.states.popBool(t,this,"isEnumeratorCreated"),this.specNextValueRead=this.states.popBool(t,this,"specNextValueRead"),this.specMoveNextResult=this.states.popBool(t,this,"specMoveNextResult"))},o.prototype.clearAllStates=function(){this._states=null},Object.defineProperty(o.prototype,"inherited",{get:function(){return this._inherited},set:function(t){this._inherited=t},enumerable:!1,configurable:!0}),Object.defineProperty(o.prototype,"position",{get:function(){return this.positionValue},set:function(t){if(t!=this.positionValue){this.first();var e=t;while(0<e)e--,this.next()}},enumerable:!1,configurable:!0}),Object.defineProperty(o.prototype,"count",{get:function(){return null},enumerable:!1,configurable:!0}),Object.defineProperty(o.prototype,"isBof",{get:function(){return this.isBofValue},set:function(t){this.isBofValue=t},enumerable:!1,configurable:!0}),Object.defineProperty(o.prototype,"isEof",{get:function(){return this.isEofValue},set:function(t){this.isEofValue=t},enumerable:!1,configurable:!0}),Object.defineProperty(o.prototype,"isEmpty",{get:function(){return this._isEmpty},enumerable:!1,configurable:!0}),o.prototype.enumeratorReset=function(){},o.prototype.first=function(){var t;this.specNextValue=null,this.specNextValueRead=!1,this.specPrevValue=null,this.positionValue=0,this.isEofValue=!1,this.isBofValue=!0,null!=this.enumerator?(this.enumeratorReset(),this.enumerator.moveNext()?(this.currentObject=this.enumerator.current,this.specPrevValue=null,this._isEmpty=!1):(this._isEmpty=!0,this.isEofValue=!0,this.currentObject=null,this.specPrevValue=null)):(this.currentObject=null,this.specPrevValue=null,this._isEmpty=!0,this.isEofValue=!0)},o.prototype.prior=function(){throw new Error("StiBusinessObject does not support IStiEnumerator.Prior")},o.prototype.next=function(){var t,t;null!=this.enumerator&&(this.specNextValueRead?((t=this.specMoveNextResult)?(this.specPrevValue=this.current,this.currentObject=this.specNextValue,this.isBofValue=!1,this.isEofValue=!1,this.isEofValue||this.positionValue++):(this.isEofValue=!0,this.currentObject=null,this.specPrevValue=null),this.specNextValueRead=!1,this.specNextValue=null):(this.specNextValue=null,this.specNextValueRead=!1,(t=this.enumerator.moveNext())?(this.specPrevValue=this.currentObject,this.currentObject=this.enumerator.current,this.isBofValue=!1,this.isEofValue=!1,this.isEofValue||this.positionValue++):(this.isEofValue=!0,this.specPrevValue=this.currentObject,this.currentObject=null)))},o.prototype.last=function(){while(!this.isEof)this.next()},o.prototype.clone=function(){var e,t,r,n,i=this.stimulsoft.memberwiseClone();i.columns=new b.StiDataColumnsCollection(i),i.businessObjects=new m(this.dictionary,i);try{for(var o=__values(this.columns.list),a=o.next();!a.done;a=o.next()){var s,l=a.value.clone();(l.businessObject=i).columns.add(l)}}catch(t){e={error:t}}finally{try{a&&!a.done&&(t=o.return)&&t.call(o)}finally{if(e)throw e.error}}try{for(var u=__values(this.businessObjects.list),c=u.next();!c.done;c=u.next()){var p,h=c.value.clone();(h.parentBusinessObject=i).businessObjects.add(h)}}catch(t){r={error:t}}finally{try{c&&!c.done&&(n=u.return)&&n.call(u)}finally{if(r)throw r.error}}return i},Object.defineProperty(o.prototype,"current",{get:function(){if(this.checkEnumerator(),null==this.currentObject&&this.isEof)return this.specPrevValue;return this.currentObject},enumerable:!1,configurable:!0}),Object.defineProperty(o.prototype,"report",{get:function(){if(null==this.dictionary)return null;return this.dictionary.report},enumerable:!1,configurable:!0}),Object.defineProperty(o.prototype,"businessObjects",{get:function(){return this._businessObjects},set:function(t){this._businessObjects=t},enumerable:!1,configurable:!0}),Object.defineProperty(o.prototype,"columns",{get:function(){return this._columns},set:function(t){this._columns=t},enumerable:!1,configurable:!0}),Object.defineProperty(o.prototype,"guid",{get:function(){return this._guid},set:function(t){this._guid=t},enumerable:!1,configurable:!0}),Object.defineProperty(o.prototype,"category",{get:function(){return this._category},set:function(t){this._category=t},enumerable:!1,configurable:!0}),Object.defineProperty(o.prototype,"name",{get:function(){return this._name},set:function(t){this._name=t},enumerable:!1,configurable:!0}),Object.defineProperty(o.prototype,"alias",{get:function(){return this._alias},set:function(t){this._alias=t},enumerable:!1,configurable:!0}),Object.defineProperty(o.prototype,"businessObjectValue",{get:function(){return null!=this.parentBusinessObject&&this.parentBusinessObject.specTotalsCalculation&&(this._businessObjectValue=this.parentBusinessObject.getByName(this.name)),this._businessObjectValue},set:function(t){this._businessObjectValue=t},enumerable:!1,configurable:!0}),Object.defineProperty(o.prototype,"dictionary",{get:function(){return this._dictionary},set:function(t){var e,r;if(this._dictionary=t,this.businessObjects.dictionary=this._dictionary,null!=t)try{for(var n=__values(this.businessObjects.list),i=n.next(),o;!i.done;i=n.next()){i.value.dictionary=this._dictionary}}catch(t){e={error:t}}finally{try{i&&!i.done&&(r=n.return)&&r.call(n)}finally{if(e)throw e.error}}},enumerable:!1,configurable:!0}),Object.defineProperty(o.prototype,"parentBusinessObject",{get:function(){return this._parentBusinessObject},set:function(t){this._parentBusinessObject=t},enumerable:!1,configurable:!0}),Object.defineProperty(o.prototype,"ownerBand",{get:function(){return this._ownerBand},set:function(t){this._ownerBand=t},enumerable:!1,configurable:!0}),Object.defineProperty(o.prototype,"key",{get:function(){return this._key},set:function(t){this._key=t},enumerable:!1,configurable:!0}),Object.defineProperty(o,"fieldsIgnoreList",{get:function(){return o._fieldsIgnoreList},set:function(t){o._fieldsIgnoreList=t},enumerable:!1,configurable:!0}),o.prototype.getLevel=function(){if(null==this.rowToLevel)return 0;var t=this.rowToLevel.get(this.current);if("number"==typeof t)return t;return 0},o.prototype.checkEnumerator=function(){this.isEnumeratorCreated||this.setDetails()},o.prototype.setPrevValue=function(){this.specStoredCurrentValue=this.current,this.currentObject=this.specPrevValue,this.specSetPrevValue=!0},o.prototype.setNextValue=function(){this.specStoredCurrentValue=this.current,this.specNextValueRead?this.currentObject=this.specNextValue:(this.specMoveNextResult=this.enumerator.moveNext(),this.specMoveNextResult?(this.specNextValue=this.enumerator.current,this.currentObject=this.specNextValue):(this.specNextValue=null,this.currentObject=null),this.specNextValueRead=!0),this.specSetNextValue=!0},o.prototype.restoreCurrentValue=function(){this.currentObject=this.specStoredCurrentValue,this.specSetPrevValue=!1,this.specSetNextValue=!1},o.prototype.getTopParentBusinessObject=function(){var t=this;while(null!=t.parentBusinessObject)t=t.parentBusinessObject;return t},o.prototype.createEnumerator=function(){},o.prototype.sortData=function(){if(null!=this.ownerBand&&null!=this.ownerBand.sort&&0<this.ownerBand.sort.length&&null!=this.enumerator){var t=[],e,e;try{this.enumerator.reset()}catch(t){w.System.StiError.showError(t,!1)}while(this.enumerator.moveNext())t.push(this.enumerator.current);e=this.ownerBand.stimulsoft.is(w.Report.Components.StiHierarchicalBand)?new b.StiHierarchicalBusinessObjectSort(this,this.ownerBand,this.ownerBand.sort):new b.StiBusinessObjectSort(this.ownerBand.sort,this,null,null),t.sort()}},o.prototype.sortDataByGroups=function(){var e,t,r,n;if(null==this.ownerBand||null==this.enumerator)return;if(!w.Report.Components.StiDataHelper.needGroupSort(this.ownerBand))return;var i=null,i=this.ownerBand.dataBandInfo.groupHeaders,o=0;try{for(var a=__values(i.list),s=a.next(),l;!s.done;s=a.next()){(l=s.value).sortDirection!=w.Report.Components.StiGroupSortDirection.None&&o++}}catch(t){e={error:t}}finally{try{s&&!s.done&&(t=a.return)&&t.call(a)}finally{if(e)throw e.error}}var u=[];try{this.enumerator.reset()}catch(t){w.System.StiError.showError(t,!1)}var c=0;while(this.enumerator.moveNext())c++;var p=C.create3(Object,c,o+1,2),h=new v,m=0,d=this.currentObject;this.specSortGroup=!0;try{this.enumerator.reset()}catch(t){w.System.StiError.showError(t,!1)}while(this.enumerator.moveNext()){var g=this.enumerator.current;u.push(g),h.set(g,m),this.currentObject=g;var f=0;try{for(var S=(r=void 0,__values(i.list)),y=S.next(),l;!y.done;y=S.next()){(l=y.value).sortDirection!=w.Report.Components.StiGroupSortDirection.None&&(p[m][f][0]=w.Report.Engine.StiGroupHeaderBandBuilder.getCurrentConditionValue(l),p[m][f][1]=l.sortDirection,f++)}}catch(t){r={error:t}}finally{try{y&&!y.done&&(n=S.return)&&n.call(S)}finally{if(r)throw r.error}}p[m][o][0]=m,p[m][o][1]=w.Report.Components.StiGroupSortDirection.Ascending,m++}this.specSortGroup=!1,this.currentObject=d;var A=new b.StiBusinessObjectSort(this.ownerBand.sort,this,h,p);u.sort(),this.first()},o.prototype.filterData=function(){if(null!=this.enumerator){var t=w.Report.Components.StiDataHelper.getFilterEventHandler(this.ownerBand,this);if(null!=this.ownerBand&&null!=t){this.isEnumeratorCreated=!0;var e=this.position,r=this.dictionary.report.line,n=[];if(this.specFilterData=!0,t.stimulsoft.is(w.Report.Engine.StiParser.StiFilterParserData)){var i=t,o=0;try{this.enumerator.reset()}catch(t){w.System.StiError.showError(t,!1)}while(this.enumerator.moveNext()){0==(this.position=o)&&0==this.positionValue&&(this.currentObject=this.enumerator.current),this.dictionary.report.line=o+1;try{var a=w.Report.Engine.StiParser.StiParser.parseTextValue(i.expression,i.component);"boolean"==typeof a&&a&&n.push(this.enumerator.current)}catch(t){w.System.StiError.showError(t,!1)}o++}}this.specFilterData=!1,this.position=e,this.dictionary.report.line=r,this.isEnumeratorCreated=!1}}},o.prototype.destroyEnumerator=function(){this.isEnumeratorCreated=!1,this.countFiltered=null},o.prototype.setDetails=function(){this.updateChilds(),this.createEnumerator()},o.prototype.updateChilds=function(){var e,t;this.isEnumeratorCreated=!1;try{for(var r=__values(this.businessObjects.list),n=r.next(),i;!n.done;n=r.next()){n.value.updateChilds()}}catch(t){e={error:t}}finally{try{n&&!n.done&&(t=r.return)&&t.call(r)}finally{if(e)throw e.error}}},o.prototype.getBusinessObjectDataFromParent=function(t){var e,r;try{for(var n=__values(t.dictionary.report.businessObjectsStore),i=n.next();!i.done;i=n.next()){var o=i.value;if(o.name==t.name)return o.businessObjectValue}}catch(t){e={error:t}}finally{try{i&&!i.done&&(r=n.return)&&r.call(n)}finally{if(e)throw e.error}}return null},o.prototype.getColumnIndex=function(t){var e,r,n,i,o=0;try{for(var a=__values(this.columns.list),s=a.next(),l;!s.done;s=a.next()){if((l=s.value).nameInSource==t)return o;o++}}catch(t){e={error:t}}finally{try{s&&!s.done&&(r=a.return)&&r.call(a)}finally{if(e)throw e.error}}o=0;try{for(var u=__values(this.columns.list),c=u.next(),l;!c.done;c=u.next()){if((l=c.value).name==t||l.alias==t)return o;o++}}catch(t){n={error:t}}finally{try{c&&!c.done&&(i=u.return)&&i.call(u)}finally{if(n)throw n.error}}return-1},o.prototype.getBusinessObjectData=function(t){if(void 0===t&&(t=!1),null==this.parentBusinessObject)return this.getBusinessObjectDataFromParent(this);var e=new Array,r=this,n;while(null!=r.parentBusinessObject)e.stimulsoft.insert(0,r),r=r.parentBusinessObject;return this.getBusinessObjectDataFromParent(r)},o.prototype.getFullName=function(){return null},o.prototype.getCorrectFullName=function(){return null!=this.parentBusinessObject?this.parentBusinessObject.getCorrectFullName()+"."+w.Report.StiNameValidator.correctName(this.name):this.name},o.prototype.toString=function(){return name==this.alias?name:t.format("{0} [{1}]",this.name,this.alias)},o.prototype.connect=function(){this.createEnumerator()},o.prototype.disconnect=function(){this.destroyEnumerator(),this.businessObjectValue=null,this.rowToLevel=null},o.prototype.getByName=function(t){var e=this.isEnumeratorCreated;try{var r=this.current,n=this.parentBusinessObject,i;while(null!=n){if(n.specSetPrevValue||n.specSetNextValue||n.specFilterData||n.specSortGroup||n.specTotalsCalculation){r=this.parentBusinessObject.getByName(this.name);break}n=n.parentBusinessObject}if(null==r&&this.isEof&&(r=this.specPrevValue),null==r)return null;return null}finally{e||(this.businessObjectValue=null,this.enumerator=null,this.isEnumeratorCreated=!1)}},o._fieldsIgnoreList=new v,o);function o(t,e,r,n,i){void 0===t&&(t=""),void 0===e&&(e=""),void 0===r&&(r=""),void 0===n&&(n=null),void 0===i&&(i=null),this._states=null,this._inherited=!1,this.positionValue=0,this.countFiltered=null,this.isBofValue=!1,this.isEofValue=!1,this._isEmpty=!1,this._key=null,this.isEnumeratorCreated=!1,this.specPrevValue=null,this.specNextValue=null,this.specNextValueRead=!1,this.specMoveNextResult=!1,this.specStoredCurrentValue=null,this.enumerator=null,this.rowToLevel=null,this.specSetPrevValue=!1,this.specSetNextValue=!1,this.specFilterData=!1,this.specSortGroup=!1,this.specTotalsCalculation=!1,this.previousResetException=!1,this._category=t,this._name=e,this._alias=r,this._columns=new b.StiDataColumnsCollection(this),this._businessObjects=new m(null,this),null==this._guid&&(this._guid=w.System.Guid.newGuidString()),this._guid=n,this._key=i}b.StiBusinessObject=i}(e=a.Dictionary||(a.Dictionary={}))}(Stimulsoft=Stimulsoft||{}),function(u){var t,c,e,p,h,m,l,d,r;function g(){}c=t=u.Report||(u.Report={}),p=e=c.Components||(c.Components={}),h=u.System.StiString,m=u.Report.Dictionary.StiBusinessObject,l=u.Report.Dictionary.IStiEnumerator,d=u.Report.Components.IStiDataSource,g.setData=function(t,e,r){void 0===r&&(r=null);var n=t.as(d),i,o,a,i,a,r;null!=n&&null!=n.dataSource&&((o=null)!=(i=t.as(p.IStiDataRelation))&&null!=i.dataRelation&&(o=i.dataRelationName),null==r&&(null!=(a=t.as(p.IStiMasterComponent))&&null!=a.masterComponent||(o=null)),i=g.getFilterEventHandler(t,n),(r=null)!=(a=t.as(u.Report.Components.IStiSort))&&null!=a.sort&&0<a.sort.length&&(r=a.sort),n.dataSource.setData(t.as(p.StiDataBand),o,i,r,e,t));var e=t.as(l);null!=e&&e.first();var e=t.as(p.IStiBusinessObject),e=null!=e?e.businessObject:null,s;null!=e&&(s=t,e.setDetails())},g.needGroupSort=function(t){var e,r;if(null==t||null==t.report)return!1;var n=null,n;if(null==(n=t.dataBandInfo.groupHeaders)||0==n.count)return!1;var i=0;try{for(var o=__values(n.list),a=o.next(),s;!a.done;a=o.next()){a.value.sortDirection!=p.StiGroupSortDirection.None&&i++}}catch(t){e={error:t}}finally{try{a&&!a.done&&(r=o.return)&&r.call(o)}finally{if(e)throw e.error}}return 0<i},g.getFilterEventHandler=function(t,e){var r=t.as(u.Report.Components.IStiFilter),n=null;null!=r&&null!=r.filterMethodHandler&&(n=r.filterMethodHandler);var i=null;if(null!=t&&null!=t.report&&(i=t.report),null==i&&null!=e&&e.is(m)&&null!=e.dictionary&&(i=e.dictionary.report),null!=i&&(i.calculationMode==c.StiCalculationMode.Interpretation||i.isDesigning)&&null!=r&&r.filterOn&&0<r.filters.count){for(var o="{",a=0;a<r.filters.count;a++){var s=r.filters.getByIndex(a);o+="(",e.is(d)?o+=g.getFilterExpression(s,c.StiNameValidator.correctName(e.dataSourceName)+"."+s.column,i):o+=g.getFilterExpression(s,e.name+"."+s.column,i),o+=")",a<r.filters.count-1&&(o+=r.filterMode==p.StiFilterMode.And?" && ":" || ")}o+="}",n=new u.Report.Engine.StiParser.StiFilterParserData(t,o);var l=u.Report.Engine.StiParser.StiParser.checkExpression(o,t);null!=l&&i.writeToReportRenderingMessages(t.name+".Filters "+l.message)}return n},g.getFilterExpression=function(t,e,r){var n="",i,o,a,i,s,o,s,l,s,o,l,o;return t.item==p.StiFilterItem.Expression?null!=(i=t.expression)&&(i.stimulsoft.startsWith("{")&&i.stimulsoft.endsWith("}")?n+=i.substr(1,i.length-2):n+=i):t.item==p.StiFilterItem.Value&&(t.condition==p.StiFilterCondition.IsNull||t.condition==p.StiFilterCondition.IsNotNull?(o=null,o=(a=e.lastIndexOf("."))<0?e:(i=e.substr(0,a),s=e.substr(a+1),h.format('{0}["{1}"]',i,s)),t.condition==p.StiFilterCondition.IsNull?n+=h.format("{0} == null || {0} == DBNull.Value",o):n+=h.format("{0} != null && {0} != DBNull.Value",o)):t.dataType==p.StiFilterDataType.String?t.condition==p.StiFilterCondition.EqualTo?n+=h.format('{0}.ToString().ToLower() == ToString("{1}").ToLower()',e,t.value1):t.condition==p.StiFilterCondition.NotEqualTo?n+=h.format('{0}.ToString().ToLower() != ToString("{1}").ToLower()',e,t.value1):t.condition==p.StiFilterCondition.Containing?n+=h.format('ToString({0}).ToLower().IndexOf(ToString("{1}").ToLower()) != -1',e,t.value1):t.condition==p.StiFilterCondition.NotContaining?n+=h.format('ToString({0}).ToLower().IndexOf(ToString("{1}").ToLower()) == -1',e,t.value1):t.condition==p.StiFilterCondition.BeginningWith?n+=h.format('ToString({0}).ToLower().StartsWith(ToString("{1}").ToLower())',e,t.value1):t.condition==p.StiFilterCondition.EndingWith&&(n+=h.format('ToString({0}).ToLower().EndsWith(ToString("{1}").ToLower())',e,t.value1)):t.dataType==p.StiFilterDataType.Numeric?t.condition==p.StiFilterCondition.EqualTo?n+=h.format("(decimal){0} == (decimal){1}",e,t.value1):t.condition==p.StiFilterCondition.NotEqualTo?n+=h.format("(decimal){0} != (decimal){1}",e,t.value1):t.condition==p.StiFilterCondition.Between?n+=h.format("(decimal){0} >= (decimal){1} && (decimal){0} <= (decimal){2}",e,t.value1,t.value2):t.condition==p.StiFilterCondition.NotBetween?n+=h.format("(decimal){0} < (decimal){1} || (decimal){0} > (decimal){2}",e,t.value1,t.value2):t.condition==p.StiFilterCondition.GreaterThan?n+=h.format("(decimal){0} > (decimal){1}",e,t.value1):t.condition==p.StiFilterCondition.GreaterThanOrEqualTo?n+=h.format("(decimal){0} >= (decimal){1}",e,t.value1):t.condition==p.StiFilterCondition.LessThan?n+=h.format("(decimal){0} < (decimal){1}",e,t.value1):t.condition==p.StiFilterCondition.LessThanOrEqualTo&&(n+=h.format("(decimal){0} <= (decimal){1}",e,t.value1)):t.dataType==p.StiFilterDataType.DateTime?(s="",h.isNullOrEmpty(t.value1)||(l=t.value1.split("/"),s=h.format("DateSerial({0},{1},{2})",l[2],l[0],l[1])),o="",h.isNullOrEmpty(t.value2)||(l=t.value2.split("/"),o=h.format("DateSerial({0},{1},{2})",l[2],l[0],l[1])),t.condition==p.StiFilterCondition.EqualTo?n+=h.format("(DateTime){0} == {1}",e,s):t.condition==p.StiFilterCondition.NotEqualTo?n+=h.format("(DateTime){0} != {1}",e,s):t.condition==p.StiFilterCondition.Between?n+=h.format("(DateTime){0} >= {1} && (DateTime){0} <= {2}",e,s,o):t.condition==p.StiFilterCondition.NotBetween?n+=h.format("(DateTime){0} < {1} || (DateTime){0} > {2}",e,s,o):t.condition==p.StiFilterCondition.GreaterThan?n+=h.format("(DateTime){0} > {1}",e,s):t.condition==p.StiFilterCondition.GreaterThanOrEqualTo?n+=h.format("(DateTime){0} >= {1}",e,s):t.condition==p.StiFilterCondition.LessThan?n+=h.format("(DateTime){0} < {1}",e,s):t.condition==p.StiFilterCondition.LessThanOrEqualTo&&(n+=h.format("(DateTime){0} <= {1}",e,s))):t.dataType==p.StiFilterDataType.Boolean?t.condition==p.StiFilterCondition.EqualTo?n+=h.format("(bool){0} == {1}",e,t.value1):t.condition==p.StiFilterCondition.NotEqualTo&&(n+=h.format("(bool){0} != {1}",e,t.value1)):t.dataType==p.StiFilterDataType.Expression&&(t.condition==p.StiFilterCondition.EqualTo?n+=h.format("{0} == {1}",e,t.value1):t.condition==p.StiFilterCondition.NotEqualTo?n+=h.format("{0} != {1}",e,t.value1):t.condition==p.StiFilterCondition.Between?n+=h.format("{0} >= {1} && {0} <= {2}",e,t.value1,t.value2):t.condition==p.StiFilterCondition.NotBetween?n+=h.format("{0} < {1} || {0} > {2}",e,t.value1,t.value2):t.condition==p.StiFilterCondition.GreaterThan?n+=h.format("{0} > {1}",e,t.value1):t.condition==p.StiFilterCondition.GreaterThanOrEqualTo?n+=h.format("{0} >= {1}",e,t.value1):t.condition==p.StiFilterCondition.LessThan?n+=h.format("{0} < {1}",e,t.value1):t.condition==p.StiFilterCondition.LessThanOrEqualTo?n+=h.format("{0} <= {1}",e,t.value1):t.condition==p.StiFilterCondition.Containing?n+=h.format("ToString({0}).ToLower().IndexOf(ToString({1}).ToLower()) != -1",e,t.value1):t.condition==p.StiFilterCondition.NotContaining?n+=h.format("ToString({0}).ToLower().IndexOf(ToString({1}).ToLower()) == -1",e,t.value1):t.condition==p.StiFilterCondition.BeginningWith?n+=h.format("ToString({0}).ToLower().StartsWith(ToString({1}).ToLower())",e,t.value1):t.condition==p.StiFilterCondition.EndingWith&&(n+=h.format("ToString({0}).ToLower().EndsWith(ToString({1}).ToLower())",e,t.value1)))),n},r=g,p.StiDataHelper=r}(Stimulsoft=Stimulsoft||{}),function(t){var e,r,n,i,o,a,s,l;function u(){this._name="",this._expression=new l,this._interaction=null}r=e=t.Report||(t.Report={}),i=n=r.Components||(r.Components={}),o=t.System.StiString,a=t.Base.JsonReportObject.IStiJsonReportObject,s=t.Base.StiJson,l=t.Report.Expressions.StiExpression,u.prototype.implements=function(){return[a]},u.prototype.saveToJsonObject=function(t){var e=new s;if(e.addPropertyStringNullOrEmpty("Name",this.name),e.addPropertyJObject("Expression",this.expression.saveToJsonObject(t)),0==e.count)return null;return e},u.prototype.loadFromJsonObject=function(t){var e,r;try{for(var n=__values(t.properties()),i=n.next();!i.done;i=n.next()){var o=i.value;switch(o.name){case"Name":this._name=o.value;break;case"Expression":this._expression.loadFromJsonObject(o.value);break}}}catch(t){e={error:t}}finally{try{i&&!i.done&&(r=n.return)&&r.call(n)}finally{if(e)throw e.error}}},u.prototype.loadFromXml=function(t){for(var e=0;e<t.childNodes.length;e++){var r=t.childNodes[e];switch(r.nodeName){case"Name":this._name=r.textContent;break;case"Expression":this._expression.loadFromXml(r);break}}},u.prototype.isDefault=function(){return o.isNullOrEmpty(this.name)&&(null==this.expression||0==this.expression.value.length)},Object.defineProperty(u.prototype,"name",{get:function(){return this._name},set:function(t){this._name=t},enumerable:!1,configurable:!0}),Object.defineProperty(u.prototype,"expression",{get:function(){return this._expression},set:function(t){this._expression=t},enumerable:!1,configurable:!0}),Object.defineProperty(u.prototype,"interaction",{set:function(t){this._interaction=t},enumerable:!1,configurable:!0}),r=u,i.StiDrillDownParameter=r}(Stimulsoft=Stimulsoft||{}),function(t){var e,r,n,i,o;function a(){}r=e=t.Report||(t.Report={}),i=n=r.Components||(r.Components={}),o=t.Base.Localization.StiLocalization,a.convertStringToCondition=function(t){if(t==o.get("PropertyEnum","StiFilterConditionEqualTo"))return i.StiFilterCondition.EqualTo;if(t==o.get("PropertyEnum","StiFilterConditionNotEqualTo"))return i.StiFilterCondition.NotEqualTo;if(t==o.get("PropertyEnum","StiFilterConditionBetween"))return i.StiFilterCondition.Between;if(t==o.get("PropertyEnum","StiFilterConditionNotBetween"))return i.StiFilterCondition.NotBetween;if(t==o.get("PropertyEnum","StiFilterConditionGreaterThan"))return i.StiFilterCondition.GreaterThan;if(t==o.get("PropertyEnum","StiFilterConditionGreaterThanOrEqualTo"))return i.StiFilterCondition.GreaterThanOrEqualTo;if(t==o.get("PropertyEnum","StiFilterConditionLessThan"))return i.StiFilterCondition.LessThan;if(t==o.get("PropertyEnum","StiFilterConditionLessThanOrEqualTo"))return i.StiFilterCondition.LessThanOrEqualTo;if(t==o.get("PropertyEnum","StiFilterConditionContaining"))return i.StiFilterCondition.Containing;if(t==o.get("PropertyEnum","StiFilterConditionNotContaining"))return i.StiFilterCondition.NotContaining;if(t==o.get("PropertyEnum","StiFilterConditionBeginningWith"))return i.StiFilterCondition.BeginningWith;if(t==o.get("PropertyEnum","StiFilterConditionEndingWith"))return i.StiFilterCondition.EndingWith;if(t==o.get("PropertyEnum","StiFilterConditionIsNull"))return i.StiFilterCondition.IsNull;if(t==o.get("PropertyEnum","StiFilterConditionIsNotNull"))return i.StiFilterCondition.IsNotNull;return i.StiFilterCondition.EqualTo},a.convertConditionToString=function(t){switch(t){case i.StiFilterCondition.EqualTo:return o.get("PropertyEnum","StiFilterConditionEqualTo");case i.StiFilterCondition.NotEqualTo:return o.get("PropertyEnum","StiFilterConditionNotEqualTo");case i.StiFilterCondition.Between:return o.get("PropertyEnum","StiFilterConditionBetween");case i.StiFilterCondition.NotBetween:return o.get("PropertyEnum","StiFilterConditionNotBetween");case i.StiFilterCondition.GreaterThan:return o.get("PropertyEnum","StiFilterConditionGreaterThan");case i.StiFilterCondition.GreaterThanOrEqualTo:return o.get("PropertyEnum","StiFilterConditionGreaterThanOrEqualTo");case i.StiFilterCondition.LessThan:return o.get("PropertyEnum","StiFilterConditionLessThan");case i.StiFilterCondition.LessThanOrEqualTo:return o.get("PropertyEnum","StiFilterConditionLessThanOrEqualTo");case i.StiFilterCondition.Containing:return o.get("PropertyEnum","StiFilterConditionContaining");case i.StiFilterCondition.NotContaining:return o.get("PropertyEnum","StiFilterConditionNotContaining");case i.StiFilterCondition.BeginningWith:return o.get("PropertyEnum","StiFilterConditionBeginningWith");case i.StiFilterCondition.EndingWith:return o.get("PropertyEnum","StiFilterConditionEndingWith");case i.StiFilterCondition.IsNull:return o.get("PropertyEnum","StiFilterConditionIsNull");case i.StiFilterCondition.IsNotNull:return o.get("PropertyEnum","StiFilterConditionIsNotNull")}return""},a.convertStringToDataType=function(t){if(t==o.get("PropertyEnum","StiFilterDataTypeString"))return i.StiFilterDataType.String;if(t==o.get("PropertyEnum","StiFilterDataTypeNumeric"))return i.StiFilterDataType.Numeric;if(t==o.get("PropertyEnum","StiFilterDataTypeDateTime"))return i.StiFilterDataType.DateTime;if(t==o.get("PropertyEnum","StiFilterDataTypeBoolean"))return i.StiFilterDataType.Boolean;if(t==o.get("PropertyEnum","StiFilterDataTypeExpression"))return i.StiFilterDataType.Expression;return i.StiFilterDataType.String},a.convertDataTypeToString=function(t){switch(t){case i.StiFilterDataType.String:return o.get("PropertyEnum","StiFilterDataTypeString");case i.StiFilterDataType.Numeric:return o.get("PropertyEnum","StiFilterDataTypeNumeric");case i.StiFilterDataType.DateTime:return o.get("PropertyEnum","StiFilterDataTypeDateTime");case i.StiFilterDataType.Boolean:return o.get("PropertyEnum","StiFilterDataTypeBoolean");case i.StiFilterDataType.Expression:return o.get("PropertyEnum","StiFilterDataTypeExpression")}return""},a.setFilter=function(t){},r=a,i.StiFilterHelper=r}(Stimulsoft=Stimulsoft||{}),function(t){var e,r,n,u,i,o,l,a,s,c;function p(){return null!==c&&c.apply(this,arguments)||this}r=e=t.Report||(t.Report={}),u=n=r.Components||(r.Components={}),r=t.System.Collections.CollectionBase,i=t.System.ICloneable,o=t.Base.JsonReportObject.IStiJsonReportObject,l=t.Base.StiJson,a=t.System.Enum,s=t.System.Text.XMLConvert,__extends(p,c=r),p.prototype.implements=function(){return[i,o]},p.prototype.saveToJsonObject=function(t){var e,r;if(0==this.list.length)return null;var n=new l,i=0;try{for(var o=__values(this.list),a=o.next();!a.done;a=o.next()){var s=a.value;n.addPropertyJObject(i.toString(),s.saveToJsonObject(t)),i++}}catch(t){e={error:t}}finally{try{a&&!a.done&&(r=o.return)&&r.call(o)}finally{if(e)throw e.error}}return n},p.prototype.loadFromJsonObject=function(t){var e,r;try{for(var n=__values(t.properties()),i=n.next();!i.done;i=n.next()){var o=i.value,a=null,s,l;switch(o.value.properties().firstOrDefault(function(t){return"Ident"==t.name}).value){case"StiFilter":a=new u.StiFilter;break;case"StiBaseCondition":a=new u.StiBaseCondition;break;case"StiConditionHelper":a=new u.StiConditionHelper;break}a.loadFromJsonObject(o.value),this.list.push(a)}}catch(t){e={error:t}}finally{try{i&&!i.done&&(r=n.return)&&r.call(n)}finally{if(e)throw e.error}}},p.prototype.loadFromXml=function(t){for(var e=0;e<t.childNodes.length;e++){var r=t.childNodes[e],r,n,n;"value"==r.nodeName&&(n=void 0,n=1==(r=r.textContent.split(",")).length?new u.StiFilter(u.StiFilterItem.Expression,"",u.StiFilterCondition.EqualTo,"","",u.StiFilterDataType.String,s.decodeName(r[0])):new u.StiFilter(u.StiFilterItem.Value,s.decodeName(r[0]),a.parse(u.StiFilterCondition,r[1]),s.decodeName(r[2]),s.decodeName(r[3]),a.parse(u.StiFilterDataType,r[4])),this.list.push(n))}},p.prototype.clone=function(){var e,t,r=new p;try{for(var n=__values(this.list),i=n.next();!i.done;i=n.next()){var o=i.value;r.add(o.clone())}}catch(t){e={error:t}}finally{try{i&&!i.done&&(t=n.return)&&t.call(n)}finally{if(e)throw e.error}}return r},r=p,u.StiFiltersCollection=r}(Stimulsoft=Stimulsoft||{}),function(t){var e,r,n,i,o,a;function s(t,e,r,n){void 0===t&&(t=0),void 0===e&&(e=0),void 0===r&&(r=0),void 0===n&&(n=0),this._left=t,this._top=r,this._right=e,this._bottom=n}r=e=t.Report||(t.Report={}),i=n=r.Components||(r.Components={}),o=t.Base.JsonReportObject.IStiJsonReportObject,a=t.Base.StiJson,s.prototype.implements=function(){return[o]},s.prototype.saveToJsonObject=function(t,e,r,n,i){if(void 0===e&&(e=0),void 0===r&&(r=0),void 0===n&&(n=0),void 0===i&&(i=0),this._left==e&&this._right==r&&this._top==n&&this._bottom==i)return null;var i=new a;return i.addPropertyNumberNoDefaultValue("Left",this.left),i.addPropertyNumberNoDefaultValue("Right",this.right),i.addPropertyNumberNoDefaultValue("Top",this.top),i.addPropertyNumberNoDefaultValue("Bottom",this.bottom),i},s.prototype.loadFromJsonObject=function(t){var e,r;try{for(var n=__values(t.properties()),i=n.next();!i.done;i=n.next()){var o=i.value;switch(o.name){case"Left":this._left=o.value.stimulsoft.toNumber();break;case"Right":this._right=o.value.stimulsoft.toNumber();break;case"Top":this._top=o.value.stimulsoft.toNumber();break;case"Bottom":this._bottom=o.value.stimulsoft.toNumber();break}}}catch(t){e={error:t}}finally{try{i&&!i.done&&(r=n.return)&&r.call(n)}finally{if(e)throw e.error}}},s.loadFromText=function(t){var t=t.split(",");return new s(t[0].stimulsoft.toNumber(),t[1].stimulsoft.toNumber(),t[2].stimulsoft.toNumber(),t[3].stimulsoft.toNumber())},s.loadFromXml=function(t){var t=t.textContent.split(",");return new s(t[0].stimulsoft.toNumber(),t[1].stimulsoft.toNumber(),t[2].stimulsoft.toNumber(),t[3].stimulsoft.toNumber())},s.prototype.clone=function(){return this.stimulsoft.memberwiseClone()},s.prototype.equals=function(t){var e;return null!=t&&this._left==t.left&&this._right==t.right&&this._top==t.top&&this._bottom==t.bottom},Object.defineProperty(s.prototype,"left",{get:function(){return this._left},set:function(t){this._left=t},enumerable:!1,configurable:!0}),Object.defineProperty(s.prototype,"right",{get:function(){return this._right},set:function(t){this._right=t},enumerable:!1,configurable:!0}),Object.defineProperty(s.prototype,"top",{get:function(){return this._top},set:function(t){this._top=t},enumerable:!1,configurable:!0}),Object.defineProperty(s.prototype,"bottom",{get:function(){return this._bottom},set:function(t){this._bottom=t},enumerable:!1,configurable:!0}),Object.defineProperty(s.prototype,"isEmpty",{get:function(){return 0==this._left&&0==this._right&&0==this._top&&0==this._bottom},enumerable:!1,configurable:!0}),s.create=function(t){return void 0===t&&(t=0),new s(t,t,t,t)},s.empty=new s(0,0,0,0),r=s,i.StiMargins=r}(Stimulsoft=Stimulsoft||{}),function(t){var e,r,n,t,i;function o(){return null!==i&&i.apply(this,arguments)||this}r=e=t.Report||(t.Report={}),t=n=r.Events||(r.Events={}),i=t.StiEvent,__extends(o,i),o.prototype.toString=function(){return"GetExcelSheet"},r=o,t.StiGetExcelSheetEvent=r}(Stimulsoft=Stimulsoft||{}),function(t){var e,r,n,t,i;function o(){return null!==i&&i.apply(this,arguments)||this}r=e=t.Report||(t.Report={}),t=n=r.Events||(r.Events={}),i=t.StiEvent,__extends(o,i),o.prototype.toString=function(){return"ColumnEndRender"},r=o,t.StiColumnEndRenderEvent=r}(Stimulsoft=Stimulsoft||{}),function(t){var e,r,n,t,i;function o(){return null!==i&&i.apply(this,arguments)||this}r=e=t.Report||(t.Report={}),t=n=r.Events||(r.Events={}),i=t.StiEvent,__extends(o,i),o.prototype.toString=function(){return"ColumnBeginRender"},r=o,t.StiColumnBeginRenderEvent=r}(Stimulsoft=Stimulsoft||{}),function(i){var t,e,r,o,l,a,s,u,c;function n(){}e=t=i.Report||(i.Report={}),o=r=e.Components||(e.Components={}),l=i.System.Drawing.Printing.PaperKind,a=i.System.Drawing.Printing.PrinterUnitConvert,s=i.System.Drawing.Printing.PrinterUnit,u=i.System.Drawing.Printing.PrinterSettings.PrinterSettings,c=i.System.Drawing.Size,n.getPaperSizeFromPaperKind=function(t){var e,r;if(t==l.Custom||!StiOptions.Print.allowUsePaperSizesFromPrinterSettings)return null;var n=StiOptions.Print.customPaperSizes,i,n;null==n&&(n=(new u).paperSizes);try{for(var o=__values(n.list),a=o.next();!a.done;a=o.next()){var s=a.value;if(s.kind==t)return s}}catch(t){e={error:t}}finally{try{a&&!a.done&&(r=o.return)&&r.call(o)}finally{if(e)throw e.error}}return null},n.getPaperSize=function(t,e){var r=e.width,n=e.height;return t.unit.is2(i.Report.Units.StiCentimetersUnit)||t.unit.is2(i.Report.Units.StiMillimetersUnit)?(r=a.convert(e.width,s.ThousandthsOfAnInch,s.TenthsOfAMillimeter),n=a.convert(e.height,s.ThousandthsOfAnInch,s.TenthsOfAMillimeter),t.unit.is2(i.Report.Units.StiCentimetersUnit)&&(r/=10,n/=10)):(r=Math.round2(t.convertFromHInches(t.unit,r),2),n=Math.round2(t.convertFromHInches(t.unit,n),2)),t.orientation==o.StiPageOrientation.Landscape?new c(n,r):new c(r,n)},e=n,o.StiPageHelper=e}(Stimulsoft=Stimulsoft||{}),function(t){var e,r,n,i,o;function a(){}r=e=t.Report||(t.Report={}),i=n=r.Engine||(r.Engine={}),o=t.System.ICloneable,a.prototype.implements=function(){return[o]},a.prototype.clone=function(){return this.stimulsoft.memberwiseClone()},r=a,i.StiComponentInfo=r}(Stimulsoft=Stimulsoft||{}),function(t){var e,r,n,i,o;function a(){var t=null!==o&&o.apply(this,arguments)||this;return t.overlays=null,t.indexOfStartRenderedPages=-1,t.masterDataBand=null,t.isReportTitlesRendered=!1,t.renderedCount=0,t.positionFromTop=0,t.positionFromBottom=0,t}r=e=t.Report||(t.Report={}),i=n=r.Components||(r.Components={}),r=t.Report.Engine.StiComponentInfo,__extends(a,o=r),r=a,i.StiPageInfo=r}(Stimulsoft=Stimulsoft||{}),function(t){var e,r,n,i,o,a,s,t;function l(){}r=e=t.Report||(t.Report={}),i=n=r.Units||(r.Units={}),o=t.Base.StiJson,a=t.System.Drawing.Rectangle,s=t.System.Drawing.Size,l.prototype.is=function(t){if("function"==typeof t)return this instanceof t;if(null==t)throw new Error("Type for comparison is 'undefined'");return!1},l.prototype.is2=function(t){return this.is(t)},l.prototype.as=function(t){if(this.is(t))return this;return null},l.saveToJsonObject=function(t){var e=new o;return e.addPropertyIdent("Ident",t.stimulsoft.getType().stimulsoft.getTypeName()),e},l.loadFromJsonObject=function(t){var e;switch(t.properties().firstOrDefault(function(t){return"Ident"==t.name}).value){case"StiMillimetersUnit":return new i.StiMillimetersUnit;case"StiInchesUnit":return new i.StiInchesUnit;case"StiHundredthsOfInchUnit":return new i.StiHundredthsOfInchUnit;case"StiCentimetersUnit":return new i.StiCentimetersUnit}return null},l.loadFromXml=function(t){switch(t.textContent){case"Millimeters":return new i.StiMillimetersUnit;case"Inches":return new i.StiInchesUnit;case"HundredthsOfInch":return new i.StiHundredthsOfInchUnit;case"Centimeters":return new i.StiCentimetersUnit}return new i.StiHundredthsOfInchUnit},l.getUnitFromReportUnit=function(t){switch(t){case r.StiReportUnitType.HundredthsOfInch:return l.HundredthsOfInch;case r.StiReportUnitType.Inches:return l.Inches;case r.StiReportUnitType.Millimeters:return l.Millimeters;default:return l.Centimeters}},Object.defineProperty(l,"Centimeters",{get:function(){return null==this._centimeters&&i.StiCentimetersUnit&&(this._centimeters=new i.StiCentimetersUnit),this._centimeters},enumerable:!1,configurable:!0}),Object.defineProperty(l,"HundredthsOfInch",{get:function(){return null==this._hundredthsOfInch&&i.StiHundredthsOfInchUnit&&(this._hundredthsOfInch=new i.StiHundredthsOfInchUnit),this._hundredthsOfInch},enumerable:!1,configurable:!0}),Object.defineProperty(l,"Inches",{get:function(){return null==this._inches&&i.StiInchesUnit&&(this._inches=new i.StiInchesUnit),this._inches},enumerable:!1,configurable:!0}),Object.defineProperty(l,"Millimeters",{get:function(){return null==this._millimeters&&i.StiMillimetersUnit&&(this._millimeters=new i.StiMillimetersUnit),this._millimeters},enumerable:!1,configurable:!0}),Object.defineProperty(l.prototype,"rulerStep",{get:function(){return 0},enumerable:!1,configurable:!0}),Object.defineProperty(l.prototype,"factor",{get:function(){return 0},enumerable:!1,configurable:!0}),Object.defineProperty(l.prototype,"shortName",{get:function(){return""},enumerable:!1,configurable:!0}),Object.defineProperty(l.prototype,"name",{get:function(){return""},enumerable:!1,configurable:!0}),l.prototype.convertToHInches=function(t){return t},l.prototype.convertFromHInches=function(t){return t},l.prototype.convertRectangleToHInches=function(t){return new a(this.convertToHInches(t.left),this.convertToHInches(t.top),this.convertToHInches(t.width),this.convertToHInches(t.height))},l.prototype.convertRectangleFromHInches=function(t){return new a(this.convertFromHInches(t.left),this.convertFromHInches(t.top),this.convertFromHInches(t.width),this.convertFromHInches(t.height))},l.prototype.convertSizeToHInches=function(t){return new s(this.convertToHInches(t.width),this.convertToHInches(t.height))},l.prototype.convertSizeFromHInches=function(t){return new s(this.convertFromHInches(t.width),this.convertFromHInches(t.height))},t=l,i.StiUnit=t}(Stimulsoft=Stimulsoft||{}),function(n){var t,e,r,i,o,a,s,l,u,c,p,h,m,d,g,f,S;function y(t,e,r,n,i,o,a,s){void 0===t&&(t=null),void 0===e&&(e=""),void 0===r&&(r=45),void 0===n&&(n=null),void 0===i&&(i=!1),void 0===o&&(o=!0),void 0===a&&(a=!1),void 0===s&&(s=!1),this.font=new h("Arial",100),this.textBrush=new p(m.fromArgb(50,0,0,0)),this.text="",this.angle=45,this.enabled=!0,this.showImageBehind=!0,this.showBehind=!1,this.rightToLeft=!1,this.imageMultipleFactor=1,this._imageTransparency=0,this._image=null,this._imageHyperlink="",this.imageAlignment=l.MiddleCenter,this.imageTiling=!1,this.imageStretch=!1,this.aspectRatio=!1,this.enabledExpression="",this.imageHyperlink="",null!=t&&(this.textBrush=t),this.text=e,this.angle=r,null!=n&&(this.font=n),this.showBehind=i,this.enabled=o,this.aspectRatio=a,this.rightToLeft=s}e=t=n.Report||(n.Report={}),i=r=e.Components||(e.Components={}),o=n.System.StiString,a=n.Report.Helpers.StiHyperlinkProcessor,s=n.Base.Drawing.StiImageConverter,l=n.System.Drawing.ContentAlignment,u=n.System.Enum,c=n.Base.Drawing.StiBrush,p=n.Base.Drawing.StiSolidBrush,h=n.System.Drawing.Font,m=n.System.Drawing.Color,d=n.Base.StiJson,g=n.Base.StiJsonReportObjectHelper,f=n.System.ICloneable,S=n.Base.JsonReportObject.IStiJsonReportObject,y.prototype.implements=function(){return[f,S]},y.prototype.saveToJsonObject=function(t){var e=new d;if(e.addPropertyStringNullOrEmpty("Font",g.Serialize.font(this.font,"Arial",100)),e.addPropertyStringNullOrEmpty("TextBrush",g.Serialize.jBrush(this.textBrush)),e.addPropertyStringNullOrEmpty("Text",this.text),e.addPropertyStringNullOrEmpty("ImageHyperlink",this.imageHyperlink),e.addPropertyNumber("Angle",this.angle,45),e.addPropertyBool("Enabled",this.enabled,!0),e.addPropertyBool("ShowImageBehind",this.showImageBehind,!0),e.addPropertyBool("ShowBehind",this.showBehind),e.addPropertyBool("RightToLeft",this.rightToLeft),e.addPropertyNumber("ImageMultipleFactor",this.imageMultipleFactor,1),e.addPropertyNumber("ImageTransparency",this.imageTransparency,0),e.addPropertyStringNullOrEmpty("ImageBytes",s.imageToString(this.image)),e.addPropertyEnum("ImageAlignment",l,this.imageAlignment,l.MiddleCenter),e.addPropertyBool("ImageTiling",this.imageTiling),e.addPropertyBool("ImageStretch",this.imageStretch),e.addPropertyBool("AspectRatio",this.aspectRatio),e.addPropertyStringNullOrEmpty("EnabledExpression",this.enabledExpression),0==e.count)return null;return e},y.prototype.loadFromJsonObject=function(t){var e,r;try{for(var n=__values(t.properties()),i=n.next();!i.done;i=n.next()){var o=i.value;switch(o.name){case"Font":case"fn":this.font=g.Deserialize.font(o.value,this.font);break;case"TextBrush":case"tb":this.textBrush=g.Deserialize.brush(o.value);break;case"Text":case"text":this.text=o.value;break;case"Angle":this.angle=o.value.stimulsoft.toNumber();break;case"Enabled":this.enabled=o.value.stimulsoft.toBoolean();break;case"ShowImageBehind":this.showImageBehind=o.value.stimulsoft.toBoolean();break;case"ShowBehind":this.showBehind=o.value.stimulsoft.toBoolean();break;case"RightToLeft":this.rightToLeft=o.value.stimulsoft.toBoolean();break;case"ImageMultipleFactor":this.imageMultipleFactor=o.value.stimulsoft.toNumber();break;case"ImageTransparency":this._imageTransparency=o.value.stimulsoft.toNumber();break;case"Image":case"ImageBytes":this._image=s.stringToImage(o.value);break;case"ImageHyperlink":this.imageHyperlink=o.value.toString();break;case"ImageAlignment":this.imageAlignment=u.parse(l,o.value);break;case"ImageTiling":this.imageTiling=o.value.stimulsoft.toBoolean();break;case"ImageStretch":this.imageStretch=o.value.stimulsoft.toBoolean();break;case"AspectRatio":this.aspectRatio=o.value.stimulsoft.toBoolean();break;case"EnabledExpression":this.enabledExpression=o.value;break}}}catch(t){e={error:t}}finally{try{i&&!i.done&&(r=n.return)&&r.call(n)}finally{if(e)throw e.error}}},y.prototype.loadFromXml=function(t){for(var e=0;e<t.childNodes.length;e++){var r=t.childNodes[e];switch(r.nodeName){case"Font":this.font=n.System.Convert.toFont(r.textContent);break;case"TextBrush":this.textBrush=c.convertToBrush(r.textContent);break;case"Text":this.text=r.textContent;break;case"Angle":this.angle=r.textContent.stimulsoft.toNumber();break;case"Enabled":this.enabled=r.textContent.stimulsoft.toBoolean();break;case"ShowImageBehind":this.showImageBehind=r.textContent.stimulsoft.toBoolean();break;case"ShowBehind":this.showBehind=r.textContent.stimulsoft.toBoolean();break;case"RightToLeft":this.rightToLeft=r.textContent.stimulsoft.toBoolean();break;case"ImageMultipleFactor":this.imageMultipleFactor=r.textContent.stimulsoft.toNumber();break;case"ImageTransparency":this.imageTransparency=r.textContent.stimulsoft.toNumber();break;case"Image":case"ImageBytes":this.image=s.stringToImage(r.textContent);break;case"ImageAlignment":this.imageAlignment=u.parse(l,r.textContent);break;case"ImageTiling":this.imageTiling=r.textContent.stimulsoft.toBoolean();break;case"ImageStretch":this.imageStretch=r.textContent.stimulsoft.toBoolean();break;case"ImageHyperlink":this.imageHyperlink=r.textContent;break;case"AspectRatio":this.aspectRatio=r.textContent.stimulsoft.toBoolean();break;case"EnabledExpression":this.enabledExpression=r.textContent;break}}},y.prototype.clone=function(){var t=this.stimulsoft.memberwiseClone();return t.font=this.font.clone(),t.textBrush=this.textBrush.clone(),null!=this._image&&(t._image=this._image.clone()),null!=this.cachedImage&&(t.cachedImage=this.cachedImage.clone()),t},Object.defineProperty(y.prototype,"imageTransparency",{get:function(){return this._imageTransparency},set:function(t){(t=Math.max(0,Math.min(t,255)))!=this._imageTransparency&&(this._imageTransparency=t,this.disposeCachedImage())},enumerable:!1,configurable:!0}),Object.defineProperty(y.prototype,"image",{get:function(){return this._image},set:function(t){this._image!=t&&(this._image=t,this.disposeCachedImage())},enumerable:!1,configurable:!0}),Object.defineProperty(y.prototype,"imageHyperlink",{get:function(){return this._imageHyperlink},set:function(t){this._imageHyperlink!=t&&(this._imageHyperlink=t)},enumerable:!1,configurable:!0}),y.prototype.getImage=function(t){var t=o.isNullOrWhiteSpace(this.imageHyperlink)?this.image:a.getImage(t,this.imageHyperlink);if(0==this.imageTransparency)return t;return null==this.cachedImage&&(this.cachedImage=this.getTransparentedImage(t,1-this.imageTransparency/255)),this.cachedImage},y.prototype.getTransparentedImage=function(t,e){return t},y.prototype.disposeCachedImage=function(){null!=this.cachedImage&&(this.cachedImage.dispose(),this.cachedImage=null)},e=y,i.StiWatermark=e}(Stimulsoft=Stimulsoft||{}),function(o){var t,e,r;e=t=o.Report||(o.Report={}),function(t){var e=o.System.EventHandler,r=o.System.EventArgs;t.StiGetExcelSheetEventHandler=new e("sender: any, e: StiGetExcelSheetEventArgs");var r=(__extends(i,n=r),i),n;function i(){return null!==n&&n.apply(this,arguments)||this}t.StiGetExcelSheetEventArgs=r}(r=e.Events||(e.Events={}))}(Stimulsoft=Stimulsoft||{}),function(a){var t,i,e,A,o,s,r,n,l,u,c,p,h,m,d,g,f,b,C,S,y,v,w,B,I,T,E,R,D,P,x,F,N,k,M,O,_,j;function G(t,e){void 0===e&&(e=!1);var r=j.call(this,D.empty,!0)||this;return r._resetPageNumber=!1,r._excelSheetValue=null,r._excelSheet="",r._printOnPreviousPage=!1,r._printHeadersFootersFromPreviousPage=!1,r._paperSize=T.Custom,r._paperSourceOfFirstPage="",r._paperSourceOfOtherPages="",r._numberOfCopies=1,r._unlimitedBreakable=!0,r._largeHeight=!1,r._largeHeightFactor=4,r._largeHeightAutoFactor=1,r._stopBeforePrint=0,r._skip=!1,r._stretchToPrintArea=!1,r._titleBeforeHeader=!1,r._unlimitedHeight=!1,r._unlimitedWidth=!0,r._offsetRectangle=D.empty,r._orientation=B.Portrait,r._segmentPerWidth=1,r._segmentPerHeight=1,r.margins=new v(39,39,39,39),r._mirrorMargins=!1,r._reportUnit=null,r._drillDownActivated=!1,r._cacheGuid=null,e||r.construct(t),r}i=t=a.Report||(a.Report={}),A=e=i.Components||(i.Components={}),o=a.System.StiString,s=a.Base.StiActivator,r=a.Base.JsonReportObject.IStiJsonReportObject,n=a.System.EventHandler,l=a.Report.Events.StiGetExcelSheetEventHandler,u=a.Report.Events.StiGetExcelSheetEventArgs,c=a.Report.Events.StiBeginRenderEvent,p=a.Report.Events.StiRenderingEvent,h=a.Report.Events.StiEndRenderEvent,m=a.Report.Events.StiColumnBeginRenderEvent,d=a.Report.Events.StiColumnEndRenderEvent,g=a.Report.Events.StiGetExcelSheetEvent,f=a.Base.StiJsonSaveMode,b=a.Base.Drawing.StiAdvancedBorder,C=a.System.Drawing.Font,S=a.Report.Units.StiUnit,y=a.Report.Components.StiShiftMode,v=a.Report.Components.StiMargins,w=a.Report.Components.StiPageInfo,B=a.Report.Components.StiPageOrientation,I=a.Report.Components.StiWatermark,T=a.System.Drawing.Printing.PaperKind,E=a.Report.Components.StiPageHelper,R=a.Report.Components.IStiResetPageNumber,D=a.System.Drawing.Rectangle,P=a.System.Collections.Hashtable,x=a.Base.Drawing.StiBorderSides,F=a.Base.Drawing.StiSolidBrush,N=a.System.Drawing.Color,k=a.System.Enum,M=a.Base.IStiReportPage,O=a.Report.Expressions.StiExpression,j=A.StiPanel,__extends(G,j),G.prototype.implements=function(){return G.ImplementsStiPage||(G.ImplementsStiPage=j.prototype.implements.call(this).concat([R,M,r])),G.ImplementsStiPage},G.prototype.saveToJsonObject=function(t){var e=j.prototype.saveToJsonObject.call(this,t);return e.removeProperty("CanShrink"),e.removeProperty("CanGrow"),e.removeProperty("PrintOn"),e.removeProperty("CanBreak"),e.removeProperty("DockStyle"),e.removeProperty("MinSize"),e.removeProperty("MaxSize"),e.removeProperty("ClientRectangle"),e.removeProperty("DisplayRectangle"),e.removeProperty("UseParentStyles"),e.removeProperty("GrowToHeight"),e.removeProperty("ShiftMode"),e.removeProperty("Printable"),e.removeProperty("Page"),e.removeProperty("Parent"),e.removeProperty("Restrictions"),e.removeProperty("Locked"),e.removeProperty("Linked"),e.addPropertyBool("ResetPageNumber",this.resetPageNumber),e.addPropertyJObject("BeginRenderEvent",this.beginRenderEvent.saveToJsonObject(t)),e.addPropertyJObject("RenderingEvent",this.renderingEvent.saveToJsonObject(t)),e.addPropertyJObject("EndRenderEvent",this.endRenderEvent.saveToJsonObject(t)),e.addPropertyJObject("ColumnBeginRenderEvent",this.columnBeginRenderEvent.saveToJsonObject(t)),e.addPropertyJObject("ColumnEndRenderEvent",this.columnEndRenderEvent.saveToJsonObject(t)),e.addPropertyJObject("GetExcelSheetEvent",this.getExcelSheetEvent.saveToJsonObject(t)),e.addPropertyStringNullOrEmpty("ExcelSheetValue",this._excelSheetValue),t==f.Report&&e.addPropertyJObject("ExcelSheet",new O(this._excelSheet).saveToJsonObject(t)),e.addPropertyBool("PrintOnPreviousPage",this.printOnPreviousPage),e.addPropertyBool("PrintHeadersFootersFromPreviousPage",this.printHeadersFootersFromPreviousPage),e.addPropertyEnum("PaperSize",T,this.paperSize,T.Custom),e.addPropertyStringNullOrEmpty("PaperSourceOfFirstPage",this.paperSourceOfFirstPage),e.addPropertyStringNullOrEmpty("PaperSourceOfOtherPages",this.paperSourceOfOtherPages),e.addPropertyNumber("NumberOfCopies",this.numberOfCopies,1),e.addPropertyBool("UnlimitedBreakable",this.unlimitedBreakable,!0),e.addPropertyBool("LargeHeight",this.largeHeight),e.addPropertyNumber("LargeHeightFactor",this.largeHeightFactor,4),e.addPropertyNumber("StopBeforePrint",this.stopBeforePrint),e.addPropertyBool("StretchToPrintArea",this.stretchToPrintArea),e.addPropertyBool("TitleBeforeHeader",this.titleBeforeHeader),e.addPropertyBool("UnlimitedHeight",this.unlimitedHeight),e.addPropertyBool("UnlimitedWidth",this.unlimitedWidth,!0),e.addPropertyEnum("Orientation",B,this.orientation,B.Portrait),e.addPropertyNumber("PageWidth",this.pageWidth,827),e.addPropertyNumber("PageHeight",this.pageHeight,1169),e.addPropertyNumber("SegmentPerWidth",this.segmentPerWidth,1),e.addPropertyNumber("SegmentPerHeight",this.segmentPerHeight,1),e.addPropertyJObject("Watermark",this.watermark.saveToJsonObject(t)),e.addPropertyJObject("Margins",this.margins.saveToJsonObject(t,39,39,39,39)),e.addPropertyBool("MirrorMargins",this.mirrorMargins,!1),null!=this.reportUnit&&e.addPropertyJObject("ReportUnit",S.saveToJsonObject(this.reportUnit)),e},G.prototype.loadFromJsonObject=function(t){var e,r;j.prototype.loadFromJsonObject.call(this,t);try{for(var n=__values(t.properties()),i=n.next();!i.done;i=n.next()){var o=i.value,a,a,a,a,a,a;switch(o.name){case"ResetPageNumber":this._resetPageNumber=o.value.stimulsoft.toBoolean();break;case"BeginRenderEvent":(a=new c).loadFromJsonObject(o.value),this.beginRenderEvent=a;break;case"RenderingEvent":(a=new p).loadFromJsonObject(o.value),this.renderingEvent=a;break;case"EndRenderEvent":(a=new h).loadFromJsonObject(o.value),this.endRenderEvent=a;break;case"ColumnBeginRenderEvent":(a=new m).loadFromJsonObject(o.value),this.columnBeginRenderEvent=a;break;case"ColumnEndRenderEvent":(a=new d).loadFromJsonObject(o.value),this.columnEndRenderEvent=a;break;case"GetExcelSheetEvent":(a=new g).loadFromJsonObject(o.value),this.getExcelSheetEvent=a;break;case"ExcelSheetValue":this._excelSheetValue=o.value;break;case"ExcelSheet":var s=new O;s.loadFromJsonObject(o.value),this._excelSheet=s.value;break;case"PrintOnPreviousPage":this._printOnPreviousPage=o.value.stimulsoft.toBoolean();break;case"PrintHeadersFootersFromPreviousPage":this._printHeadersFootersFromPreviousPage=o.value.stimulsoft.toBoolean();break;case"PaperSize":this._paperSize=k.parse(T,o.value);break;case"PaperSourceOfFirstPage":this._paperSourceOfFirstPage=o.value;break;case"PaperSourceOfOtherPages":this._paperSourceOfOtherPages=o.value;break;case"NumberOfCopies":this._numberOfCopies=o.value.stimulsoft.toNumber();break;case"UnlimitedBreakable":this._unlimitedBreakable=o.value.stimulsoft.toBoolean();break;case"LargeHeight":this._largeHeight=o.value.stimulsoft.toBoolean();break;case"LargeHeightFactor":this._largeHeightFactor=o.value.stimulsoft.toNumber();break;case"StopBeforePrint":this._stopBeforePrint=o.value.stimulsoft.toNumber();break;case"StretchToPrintArea":this._stretchToPrintArea=o.value.stimulsoft.toBoolean();break;case"TitleBeforeHeader":this._titleBeforeHeader=o.value.stimulsoft.toBoolean();break;case"UnlimitedHeight":this._unlimitedHeight=o.value.stimulsoft.toBoolean();break;case"UnlimitedWidth":this._unlimitedWidth=o.value.stimulsoft.toBoolean();break;case"Orientation":this._orientation=k.parse(B,o.value);break;case"PageWidth":this._pageWidth=o.value.stimulsoft.toNumber();break;case"PageHeight":this._pageHeight=o.value.stimulsoft.toNumber();break;case"SegmentPerWidth":this._segmentPerWidth=o.value.stimulsoft.toNumber();break;case"SegmentPerHeight":this._segmentPerHeight=o.value.stimulsoft.toNumber();break;case"Watermark":this.watermark.loadFromJsonObject(o.value);break;case"Margins":this.margins.loadFromJsonObject(o.value);break;case"MirrorMargins":this._mirrorMargins=o.value.stimulsoft.toBoolean();break;case"ReportUnit":this._reportUnit=S.loadFromJsonObject(o.value);break}}}catch(t){e={error:t}}finally{try{i&&!i.done&&(r=n.return)&&r.call(n)}finally{if(e)throw e.error}}},G.prototype.loadFromXml=function(t,e){j.prototype.loadFromXml.call(this,t,e);for(var r=0;r<t.childNodes.length;r++){var n=t.childNodes[r],i,i,i,i,i,i,n;switch(n.nodeName){case"ResetPageNumber":this._resetPageNumber=n.textContent.stimulsoft.toBoolean();break;case"BeginRenderEvent":(i=new c).script=n.textContent,this.beginRenderEvent=i;break;case"RenderingEvent":(i=new p).script=n.textContent,this.renderingEvent=i;break;case"EndRenderEvent":(i=new h).script=n.textContent,this.endRenderEvent=i;break;case"ColumnBeginRenderEvent":(i=new m).script=n.textContent,this.columnBeginRenderEvent=i;break;case"ColumnEndRenderEvent":(i=new d).script=n.textContent,this.columnEndRenderEvent=i;break;case"GetExcelSheetEvent":(i=new g).script=n.textContent,this.getExcelSheetEvent=i;break;case"ExcelSheetValue":this._excelSheetValue=n.textContent;break;case"ExcelSheet":var o=new O;o.loadFromXml(n),this._excelSheet=o.value;break;case"PrintOnPreviousPage":this._printOnPreviousPage=n.textContent.stimulsoft.toBoolean();break;case"PrintHeadersFootersFromPreviousPage":this._printHeadersFootersFromPreviousPage=n.textContent.stimulsoft.toBoolean();break;case"PaperSize":this._paperSize=k.parse(T,n.textContent);break;case"PaperSourceOfFirstPage":this._paperSourceOfFirstPage=n.textContent;break;case"PaperSourceOfOtherPages":this._paperSourceOfOtherPages=n.textContent;break;case"NumberOfCopies":this._numberOfCopies=n.textContent.stimulsoft.toNumber();break;case"UnlimitedBreakable":this._unlimitedBreakable=n.textContent.stimulsoft.toBoolean();break;case"LargeHeight":this._largeHeight=n.textContent.stimulsoft.toBoolean();break;case"LargeHeightFactor":this._largeHeightFactor=n.textContent.stimulsoft.toNumber();break;case"StopBeforePrint":this._stopBeforePrint=n.textContent.stimulsoft.toNumber();break;case"StretchToPrintArea":this._stretchToPrintArea=n.textContent.stimulsoft.toBoolean();break;case"TitleBeforeHeader":this._titleBeforeHeader=n.textContent.stimulsoft.toBoolean();break;case"UnlimitedHeight":this._unlimitedHeight=n.textContent.stimulsoft.toBoolean();break;case"UnlimitedWidth":this._unlimitedWidth=n.textContent.stimulsoft.toBoolean();break;case"Orientation":this._orientation=k.parse(B,n.textContent);break;case"PageWidth":this._pageWidth=n.textContent.stimulsoft.toNumber();break;case"PageHeight":this._pageHeight=n.textContent.stimulsoft.toNumber();break;case"SegmentPerWidth":this._segmentPerWidth=n.textContent.stimulsoft.toNumber();break;case"SegmentPerHeight":this._segmentPerHeight=n.textContent.stimulsoft.toNumber();break;case"Watermark":this.watermark.loadFromXml(n);break;case"Margins":this.margins=v.loadFromXml(n);break;case"MirrorMargins":this._mirrorMargins=n.textContent.stimulsoft.toBoolean();break;case"ReportUnit":this._reportUnit=a.Report.Units.StiUnit.loadFromXml(n);break;case"Name":0<n.textContent.indexOf(":Unit:")&&(this.name=n.textContent.substring(0,n.textContent.indexOf(":Unit:")),n=n.textContent.substring(n.textContent.lastIndexOf(":")+1),this._reportUnit=s.createObject2(n));break}}},Object.defineProperty(G.prototype,"componentId",{get:function(){return i.StiComponentId.StiPage},enumerable:!1,configurable:!0}),Object.defineProperty(G.prototype,"resetPageNumber",{get:function(){return this._resetPageNumber},set:function(t){this._resetPageNumber=t},enumerable:!1,configurable:!0}),G.prototype.convertToHInches=function(t,e){if(t.is2(a.Report.Units.StiCentimetersUnit)){if(21==e)return 827;if(29.7==e)return 1169;if(1==e)return 39}else if(t.is2(a.Report.Units.StiMillimetersUnit)){if(210==e)return 827;if(297==e)return 1169;if(10==e)return 39}return t.convertToHInches(e)},G.prototype.convertFromHInchesRect=function(t,e){return new D(this.convertFromHInches(t,e.left),this.convertFromHInches(t,e.top),this.convertFromHInches(t,e.width),this.convertFromHInches(t,e.height))},G.prototype.convertFromHInches=function(t,e){if(t.is2(a.Report.Units.StiCentimetersUnit)){if(827==e)return 21;if(1169==e)return 29.7;if(39==e)return 1}else if(t.is2(a.Report.Units.StiMillimetersUnit)){if(827==e)return 210;if(1169==e)return 297;if(39==e)return 10}return t.convertFromHInches(e)},G.prototype.convert=function(t,e,r){var n,i;void 0===r&&(r=!1),this.pageWidth=this.convertFromHInches(e,this.convertToHInches(t,this.pageWidth)),this.pageHeight=this.convertFromHInches(e,this.convertToHInches(t,this.pageHeight)),this.margins=new v(this.convertFromHInches(e,this.convertToHInches(t,this.margins.left)),this.convertFromHInches(e,this.convertToHInches(t,this.margins.right)),this.convertFromHInches(e,this.convertToHInches(t,this.margins.top)),this.convertFromHInches(e,this.convertToHInches(t,this.margins.bottom))),this.columnWidth=this.convertFromHInches(e,this.convertToHInches(t,this.columnWidth)),this.columnGaps=this.convertFromHInches(e,this.convertToHInches(t,this.columnGaps));try{for(var o=__values(this.components.list),a=o.next(),s;!a.done;a=o.next()){a.value.convert(t,e,r)}}catch(t){n={error:t}}finally{try{a&&!a.done&&(i=o.return)&&i.call(o)}finally{if(n)throw n.error}}},G.prototype.clone=function(t,e){var r,n,i,o;void 0===t&&(t=!0),void 0===e&&(e=!0);var a=j.prototype.clone.call(this,t,e);if(a._pageInfo=this.pageInfo.clone(),a.margins=this.margins.clone(),a._orientation=this._orientation,null!=this._watermark?a._watermark=this._watermark.clone():a._watermark=null,a.components=new A.StiComponentsCollection(a),e){try{for(var s=__values(this.components.list),l=s.next();!l.done;l=s.next()){var u=l.value;a.components.add(u.clone(t,e))}}catch(t){r={error:t}}finally{try{l&&!l.done&&(n=s.return)&&n.call(s)}finally{if(r)throw r.error}}var c=a.getComponents();try{for(var p=__values(c.list),h=p.next(),u;!h.done;h=p.next()){(u=h.value).page=a}}catch(t){i={error:t}}finally{try{h&&!h.done&&(o=p.return)&&o.call(p)}finally{if(i)throw i.error}}}return a},G.prototype.parseExpression=function(t){return a.Report.Helpers.StiExpressionHelper.parseText(this,t)},Object.defineProperty(G.prototype,"pageInfo",{get:function(){return null==this._pageInfo&&(this._pageInfo=new w),this._pageInfo},enumerable:!1,configurable:!0}),Object.defineProperty(G.prototype,"isAutomaticDock",{get:function(){return!0},enumerable:!1,configurable:!0}),Object.defineProperty(G.prototype,"left",{get:function(){return 0},set:function(t){},enumerable:!1,configurable:!0}),Object.defineProperty(G.prototype,"top",{get:function(){return 0},set:function(t){},enumerable:!1,configurable:!0}),G.prototype.getWidth=function(){return(this.pageWidth-this.margins.left-this.margins.right)*this.segmentPerWidth},G.prototype.setWidth=function(t){this._pageWidth=t/this.segmentPerWidth+this.margins.left+this.margins.right},G.prototype.getHeight=function(){var t=(this._pageHeight-this.margins.top-this.margins.bottom)*this.segmentPerHeight;return this.isDesigning&&(this.largeHeight?t*=this.largeHeightAutoFactor:t+=(this._pageHeight-this.margins.top-this.margins.bottom)*(this.largeHeightAutoFactor-1)),t},G.prototype.setHeight=function(t){this._pageHeight=t/this.segmentPerHeight+this.margins.top+this.margins.bottom,this.page.largeHeight&&this.isDesigning&&(this._pageHeight/=this.largeHeightFactor)},Object.defineProperty(G.prototype,"right",{get:function(){return this.width},enumerable:!1,configurable:!0}),Object.defineProperty(G.prototype,"bottom",{get:function(){return this.height},enumerable:!1,configurable:!0}),Object.defineProperty(G.prototype,"clientRectangle",{get:function(){return new D(0,0,this.width,this.height)},set:function(t){this.width=t.width,this.height=t.height},enumerable:!1,configurable:!0}),G.prototype.getDisplayRectangle=function(){return new D(0,0,this.width+this.margins.left+this.margins.right,this.height+this.margins.top+this.margins.bottom)},Object.defineProperty(G.prototype,"shiftMode",{get:function(){return y.None},set:function(t){},enumerable:!1,configurable:!0}),Object.defineProperty(G.prototype,"printable",{get:function(){return!1},set:function(t){},enumerable:!1,configurable:!0}),Object.defineProperty(G.prototype,"page",{get:function(){return this},set:function(t){},enumerable:!1,configurable:!0}),Object.defineProperty(G.prototype,"parent",{get:function(){return null},set:function(t){},enumerable:!1,configurable:!0}),G.prototype.invokeEvents=function(){var t,t;j.prototype.invokeEvents.call(this),null==this.excelSheetValue&&0<this.excelSheet.length&&(null!=(t=a.Report.Engine.StiParser.StiParser.parseTextValue(this.excelSheet,this))&&(this.excelSheetValue=this.report.toString2(t))),null!=this.events.get(G.eventGetExcelSheet)&&null==this.excelSheetValue&&(t=new u,this.invokeGetExcelSheet(this,t),null!=t.value&&(this.excelSheetValue=t.value.toString())),this.printOnPreviousPage&&this.printHeadersFootersFromPreviousPage&&null!=this.report&&0<this.report.renderedPages.count&&(this.excelSheetValue=this.report.renderedPages.getByIndex(this.report.renderedPages.count-1).excelSheetValue)},G.prototype.onBeginRender=function(){},G.prototype.invokeBeginRender=function(){this.onBeginRender();var t=this.events.get(G.eventBeginRender);null!=t&&t(this)},Object.defineProperty(G.prototype,"beginRenderEvent",{get:function(){return new c(this)},set:function(t){null!=t&&t.set(this,t.script),this.events.set(G.eventBeginRender,n.create(t.script,this.report))},enumerable:!1,configurable:!0}),G.prototype.onRendering=function(){},G.prototype.invokeRendering=function(){this.onRendering();var t=this.events.get(G.eventRendering);null!=t&&t(this)},Object.defineProperty(G.prototype,"renderingEvent",{get:function(){return new p(this)},set:function(t){null!=t&&t.set(this,t.script),this.events.set(G.eventRendering,n.create(t.script,this.report))},enumerable:!1,configurable:!0}),G.prototype.onEndRender=function(){},G.prototype.invokeEndRender=function(){this.onEndRender();var t=this.events.get(G.eventEndRender);null!=t&&t(this)},Object.defineProperty(G.prototype,"endRenderEvent",{get:function(){return new h(this)},set:function(t){null!=t&&t.set(this,t.script),this.events.set(G.eventEndRender,n.create(t.script,this.report))},enumerable:!1,configurable:!0}),G.prototype.onColumnBeginRender=function(){},G.prototype.invokeColumnBeginRender=function(t){void 0===t&&(t=this),this.onColumnBeginRender();var e=this.events.get(G.eventColumnBeginRender);null!=e&&e(t)},Object.defineProperty(G.prototype,"columnBeginRenderEvent",{get:function(){return new m(this)},set:function(t){null!=t&&t.set(this,t.script),this.events.set(G.eventColumnBeginRender,n.create(t.script,this.report))},enumerable:!1,configurable:!0}),G.prototype.onColumnEndRender=function(){},G.prototype.invokeColumnEndRender=function(t){void 0===t&&(t=this),this.onColumnEndRender();var e=this.events.get(G.eventColumnEndRender);null!=e&&e(t)},Object.defineProperty(G.prototype,"columnEndRenderEvent",{get:function(){return new d(this)},set:function(t){null!=t&&t.set(this,t.script),this.events.set(G.eventColumnEndRender,n.create(t.script,this.report))},enumerable:!1,configurable:!0}),G.prototype.onGetExcelSheet=function(t){},G.prototype.invokeGetExcelSheet=function(t,e){try{this.onGetExcelSheet(e);var r=this.events.get(G.eventGetExcelSheet);if(null!=r)try{r(t,e)}catch(e){}}catch(t){var n=o.format("Expression in ExcelSheet property of '{0}' can't be evaluated!",this.name);i.StiLogService.write(this.stimulsoft.getType(),n),i.StiLogService.write(this.stimulsoft.getType(),t)}},Object.defineProperty(G.prototype,"getExcelSheetEvent",{get:function(){return new g(this)},set:function(t){null!=t&&t.set(this,t.script),this.events.set(G.eventGetExcelSheet,l.create(t.script,this.report))},enumerable:!1,configurable:!0}),Object.defineProperty(G.prototype,"excelSheetValue",{get:function(){return this._excelSheetValue},set:function(t){this._excelSheetValue=t},enumerable:!1,configurable:!0}),Object.defineProperty(G.prototype,"excelSheet",{get:function(){return this._excelSheet},set:function(t){this._excelSheet=t},enumerable:!1,configurable:!0}),Object.defineProperty(G.prototype,"zoom",{get:function(){if(null==this.report||null==this.report.info)return 1;return this.report.info.zoom},enumerable:!1,configurable:!0}),Object.defineProperty(G.prototype,"gridSize",{get:function(){if(this.isDashboard)return this.report.info.gridSizePoints;if(this.report.unit.is2(a.Report.Units.StiMillimetersUnit))return this.report.info.gridSizeMillimeters;if(this.report.unit.is2(a.Report.Units.StiCentimetersUnit))return this.report.info.gridSizeCentimetres;if(this.report.unit.is2(a.Report.Units.StiHundredthsOfInchUnit))return this.report.info.gridSizeHundredthsOfInch;return this.report.info.gridSizeInch},enumerable:!1,configurable:!0}),Object.defineProperty(G.prototype,"printOnPreviousPage",{get:function(){return this._printOnPreviousPage},set:function(t){this._printOnPreviousPage=t},enumerable:!1,configurable:!0}),Object.defineProperty(G.prototype,"printHeadersFootersFromPreviousPage",{get:function(){return this._printHeadersFootersFromPreviousPage},set:function(t){this._printHeadersFootersFromPreviousPage=t},enumerable:!1,configurable:!0}),Object.defineProperty(G.prototype,"paperSize",{get:function(){return this._paperSize},set:function(t){if(this._paperSize!=t){if((this._paperSize=t)==T.Custom||null==this._report)return;var t=a.Report.Components.StiPageHelper.getPaperSizeFromPaperKind(t);if(null==t)return;var t=E.getPaperSize(this,t);this.pageWidth=t.width,this.pageHeight=t.height}},enumerable:!1,configurable:!0}),Object.defineProperty(G.prototype,"paperSourceOfFirstPage",{get:function(){return this._paperSourceOfFirstPage},set:function(t){this._paperSourceOfFirstPage!=t&&(this._paperSourceOfFirstPage=t)},enumerable:!1,configurable:!0}),Object.defineProperty(G.prototype,"paperSourceOfOtherPages",{get:function(){return this._paperSourceOfOtherPages},set:function(t){this._paperSourceOfOtherPages!=t&&(this._paperSourceOfOtherPages=t)},enumerable:!1,configurable:!0}),Object.defineProperty(G.prototype,"numberOfCopies",{get:function(){return this._numberOfCopies},set:function(t){if(this._numberOfCopies!=t){if(t<1)throw new Error("Value of NumberOfCopies must be greater than or equal to 1.");this._numberOfCopies=t}},enumerable:!1,configurable:!0}),Object.defineProperty(G.prototype,"unlimitedBreakable",{get:function(){return this._unlimitedBreakable},set:function(t){this._unlimitedBreakable=t},enumerable:!1,configurable:!0}),Object.defineProperty(G.prototype,"largeHeight",{get:function(){return this._largeHeight},set:function(t){this._largeHeight=t},enumerable:!1,configurable:!0}),Object.defineProperty(G.prototype,"largeHeightFactor",{get:function(){return this._largeHeightFactor},set:function(t){1<=t&&t<=20&&(this._largeHeightFactor=t)},enumerable:!1,configurable:!0}),Object.defineProperty(G.prototype,"largeHeightAutoFactor",{get:function(){if(this.largeHeight)return this.largeHeightFactor;return this._largeHeightAutoFactor},set:function(t){t<1&&(this._largeHeightAutoFactor=1),1<=t&&t<=50&&(this._largeHeightAutoFactor=t)},enumerable:!1,configurable:!0}),Object.defineProperty(G.prototype,"currentWidthSegment",{get:function(){return this._currentWidthSegment},set:function(t){this._currentWidthSegment=t},enumerable:!1,configurable:!0}),Object.defineProperty(G.prototype,"currentHeightSegment",{get:function(){return this._currentHeightSegment},set:function(t){this._currentHeightSegment=t},enumerable:!1,configurable:!0}),Object.defineProperty(G.prototype,"stopBeforePrint",{get:function(){return this._stopBeforePrint},set:function(t){this._stopBeforePrint=t},enumerable:!1,configurable:!0}),Object.defineProperty(G.prototype,"skip",{get:function(){return this._skip},set:function(t){this._skip=t},enumerable:!1,configurable:!0}),Object.defineProperty(G.prototype,"stretchToPrintArea",{get:function(){return this._stretchToPrintArea},set:function(t){this._stretchToPrintArea=t},enumerable:!1,configurable:!0}),Object.defineProperty(G.prototype,"titleBeforeHeader",{get:function(){return this._titleBeforeHeader},set:function(t){this._titleBeforeHeader!=t&&(this._titleBeforeHeader=t,this.correct())},enumerable:!1,configurable:!0}),Object.defineProperty(G.prototype,"unlimitedHeight",{get:function(){return this._unlimitedHeight},set:function(t){this._unlimitedHeight=t},enumerable:!1,configurable:!0}),Object.defineProperty(G.prototype,"unlimitedWidth",{get:function(){return this._unlimitedWidth},set:function(t){this._unlimitedWidth=t},enumerable:!1,configurable:!0}),Object.defineProperty(G.prototype,"offsetRectangle",{get:function(){return this._offsetRectangle},set:function(t){this._offsetRectangle=t},enumerable:!1,configurable:!0}),Object.defineProperty(G.prototype,"orientation",{get:function(){return this._orientation},set:function(t){var e=this.margins.left,r=this.margins.right,n=this.margins.top,i=this.margins.bottom,o;this._orientation==t||null==this._report||this._report.isSerializing||(o=this.pageHeight,this.pageHeight=this.pageWidth,this.pageWidth=o,t==B.Landscape?this.margins=new v(n,i,r,e):this.margins=new v(i,n,e,r)),this._orientation=t},enumerable:!1,configurable:!0}),Object.defineProperty(G.prototype,"locked",{get:function(){return!1},set:function(t){},enumerable:!1,configurable:!0}),Object.defineProperty(G.prototype,"linked",{get:function(){return!1},set:function(t){},enumerable:!1,configurable:!0}),Object.defineProperty(G.prototype,"pageWidth",{get:function(){return this._pageWidth},set:function(t){this._pageWidth=Math.round2(t,2)},enumerable:!1,configurable:!0}),Object.defineProperty(G.prototype,"pageHeight",{get:function(){return this._pageHeight},set:function(t){this._pageHeight=Math.round2(t,2)},enumerable:!1,configurable:!0}),Object.defineProperty(G.prototype,"segmentPerWidth",{get:function(){return this._segmentPerWidth},set:function(t){0<t&&(this._segmentPerWidth=t)},enumerable:!1,configurable:!0}),Object.defineProperty(G.prototype,"segmentPerHeight",{get:function(){return this._segmentPerHeight},set:function(t){0<t&&(this._segmentPerHeight=t)},enumerable:!1,configurable:!0}),Object.defineProperty(G.prototype,"watermark",{get:function(){return null==this._watermark&&(this._watermark=new I),this._watermark},set:function(t){this._watermark=t},enumerable:!1,configurable:!0}),Object.defineProperty(G.prototype,"mirrorMargins",{get:function(){return this._mirrorMargins},set:function(t){this._mirrorMargins=t},enumerable:!1,configurable:!0}),Object.defineProperty(G.prototype,"report",{get:function(){return this._report},set:function(t){this._report=t},enumerable:!1,configurable:!0}),Object.defineProperty(G.prototype,"unit",{get:function(){if(null==this._report)return S.HundredthsOfInch;return this._report.unit},enumerable:!1,configurable:!0}),Object.defineProperty(G.prototype,"reportUnit",{get:function(){return this._reportUnit},set:function(t){this._reportUnit=t},enumerable:!1,configurable:!0}),Object.defineProperty(G.prototype,"drillDownActivated",{get:function(){return this._drillDownActivated},set:function(t){this._drillDownActivated=t},enumerable:!1,configurable:!0}),Object.defineProperty(G.prototype,"isDashboard",{get:function(){return this.is(a.Report.Dashboard.IStiDashboard)},enumerable:!1,configurable:!0}),Object.defineProperty(G.prototype,"isPage",{get:function(){return!this.isDashboard},enumerable:!1,configurable:!0}),Object.defineProperty(G.prototype,"cacheGuid",{get:function(){return null==this._cacheGuid&&this.newCacheGuid(),this._cacheGuid},set:function(t){this._cacheGuid=t},enumerable:!1,configurable:!0}),G.prototype.newCacheGuid=function(){this._cacheGuid=a.System.Guid.newGuidString()},G.prototype.getIsPageTotalDataBand=function(t){var e,r;if(null==this.report||null==this.report.dataBandsUsedInPageTotals)return!1;try{for(var n=__values(this.report.dataBandsUsedInPageTotals),i=n.next();!i.done;i=n.next()){var o=i.value;if(o==t||"Breaked_"+o==t||"Continued_"+o==t)return!0}}catch(t){e={error:t}}finally{try{i&&!i.done&&(r=n.return)&&r.call(n)}finally{if(e)throw e.error}}return!1},G.prototype.clearPage=function(){var t=new P,e={},r={};if(this.components.setParent(this),1e11==this.height)return;this.removeNewPageContainers(this),this.moveComponentsToPage();var n=new A.StiComponentsCollection(this),i=0;while(i<this.components.count){var o=this.components.getByIndex(i),a=o.as(A.StiContainer),s=!1,l;null!=a&&(null==t.get(a.name)?(s=this.getIsPageTotalDataBand(a.name))?t.set(a.name,e):t.set(a.name,r):s=t.get(a.name)==e),!s&&null!=a&&null==a.tagValue&&null==a.bookmarkValue&&null==a.toolTipValue&&null==a.hyperlinkValue&&null==a.guid&&(null==a.interaction||a.interaction.isDefault())&&(null==a.border||a.border.side==x.None&&0==a.border.dropShadow)&&(null==a.brush||a.brush.is(F)&&a.brush.color.equals(N.transparent))||n.add(o),i++}this.components.clear(),this.components.addRange(n),n.clear()},G.prototype.removeNewPageContainers=function(t){for(var e=!1,r=t.components.count-1;0<=r;r--){var n=t.components.getByIndex(r),n;n.is(a.Report.Engine.StiNewPageContainer)?(t.components.removeAt(r),e=!0):null!=(n=n.as(A.StiContainer))&&this.removeNewPageContainers(n)}e&&(t.canGrow&&(t.canShrink=!0),A.StiContainerHelper.checkSize(t))},G.prototype.getComponentsCount2=function(t){var e,r,n=t.components.count;try{for(var i=__values(t.components.list),o=i.next();!o.done;o=i.next()){var a,s=o.value.as(A.StiContainer);null!=s&&(n+=this.getComponentsCount2(s))}}catch(t){e={error:t}}finally{try{o&&!o.done&&(r=i.return)&&r.call(i)}finally{if(e)throw e.error}}return n},G.prototype.getComponentsCount=function(){return this.getComponentsCount2(this)},G.prototype.resizePage=function(t,e,r){var n,i,o,a,s,l;if(void 0===r&&(r=!0),r&&(this.margins=new v(Math.round2(this.margins.left*t,2),Math.round2(this.margins.right*t,2),Math.round2(this.margins.top*e,2),Math.round2(this.margins.bottom*e,2))),this.columnWidth*=t,this.columnGaps*=t,null!=this.conditions)try{for(var u=__values(this.conditions.toCast()),c=u.next(),p;!c.done;c=u.next()){(p=c.value).font=new C(p.font.name,p.font.size*t,p.font.style)}}catch(t){n={error:t}}finally{try{c&&!c.done&&(i=u.return)&&i.call(u)}finally{if(n)throw n.error}}var h=this.getComponents();try{for(var m=__values(h.list),d=m.next();!d.done;d=m.next()){var g=d.value;g.is(A.StiLinePrimitive)&&(g.size*=t),g.left*=t,g.top*=e,g.width*=t,g.height*=e;var f=g.as(A.IStiFont);null!=f&&(f.font=new C(f.font.name,f.font.size*t,f.font.style));var f=g.as(A.StiDataBand);null!=f&&(f.columnWidth*=t,f.columnGaps*=t);var f=g.as(A.StiPanel);if(null!=f&&(f.columnWidth*=t,f.columnGaps*=t),null!=g.conditions)try{for(var S=(s=void 0,__values(g.conditions.toCast())),y=S.next(),p;!y.done;y=S.next()){(p=y.value).font=new C(p.font.name,p.font.size*t,p.font.style)}}catch(t){s={error:t}}finally{try{y&&!y.done&&(l=S.return)&&l.call(S)}finally{if(s)throw s.error}}var f=g.as(A.IStiBorder);null!=f&&(f.stimulsoft.is(b)?(f.border=f.border.clone(),f.border.leftSide.size*=t,f.border.rightSide.size*=t,f.border.bottomSide.size*=e,f.border.topSide.size*=e):(f.border=f.border.clone(),f.border.size*=t))}}catch(t){o={error:t}}finally{try{d&&!d.done&&(a=m.return)&&a.call(m)}finally{if(o)throw o.error}}},G.prototype.toString=function(){return o.isNullOrEmpty(this.alias)?this.name:this.name+" ["+this.alias+"]"},G.prototype.construct=function(t){j.prototype.construct.call(this);try{this.newGuid(),this.border.size=2,this.parent=null,this.paperSize=T.Custom;var e=null,e;this.paperSize!=T.Custom&&(e=E.getPaperSizeFromPaperKind(this.paperSize)),null==e||this.paperSize==T.Custom?(this._pageWidth=827,this._pageHeight=1169):(e=E.getPaperSize(this,e),this.pageWidth=e.width,this.pageHeight=e.height),this._report=t,this._segmentPerWidth=1,this._segmentPerHeight=1,this.margins=new v(39,39,39,39),null==this._report||this._report.isSerializing||this.convert(S.HundredthsOfInch,this.unit)}catch(t){a.System.StiError.showError(t,!1)}},G.eventBeginRender={},G.eventRendering={},G.eventEndRender={},G.eventColumnBeginRender={},G.eventColumnEndRender={},G.eventGetExcelSheet={},_=G,A.StiPage=_}(Stimulsoft=Stimulsoft||{}),function(c){var t,s,e;s=t=c.Report||(c.Report={}),function(l){var e=c.System.StiString,t=c.System.Collections.CollectionBase,r=c.Base.JsonReportObject.IStiJsonReportObject,u=c.Base.StiJson,t=(__extends(a,n=t),a.prototype.implements=function(){return[s.IStiStateSaveRestore,r]},a.prototype.saveToJsonObject=function(t){var e,r;if(0==this.list.length)return null;var n=new u,i=0;try{for(var o=__values(this.list),a=o.next();!a.done;a=o.next()){var s=a.value;n.addPropertyJObject(i.toString(),s.saveToJsonObject(t)),i++}}catch(t){e={error:t}}finally{try{a&&!a.done&&(r=o.return)&&r.call(o)}finally{if(e)throw e.error}}return n},a.prototype.loadFromJsonObject=function(t){var e,r;try{for(var n=__values(t.properties()),i=n.next();!i.done;i=n.next()){var o=i.value,a=null,o=o.value,s;switch(o.properties().firstOrDefault(function(t){return"Ident"==t.name}).value){case"StiPage":a=new l.StiPage;break;case"StiDashboard":if(null==(a=c.Report.Dashboard.StiDashboardCreator.createDashboard(this.report)))return;break;case"StiForm":break}this.add(a),a.loadFromJsonObject(o)}}catch(t){e={error:t}}finally{try{i&&!i.done&&(r=n.return)&&r.call(n)}finally{if(e)throw e.error}}},a.prototype.loadFromXml=function(t,e){for(var r=0;r<t.childNodes.length;r++){var n=t.childNodes[r];if(null==n.attributes)continue;var i=n.attributes.getNamedItem("type");if(null!=i)switch(i.value){case"Page":var o=new l.StiPage;o.report=this.report,this.list.push(o),o.loadFromXml(n,e);break;case"Stimulsoft.Dashboard.Components.StiDashboard":var o=c.Report.Dashboard.StiDashboardCreator.createDashboard(this.report);if(null==o)return;o.report=this.report,this.list.push(o),o.loadFromXml(n,e);break;case"Form":break}}},a.prototype.add=function(t){null!=this.report&&(t.displayRectangle=t.convertFromHInchesRect(t.unit,t.displayRectangle)),null!=this.report&&this.report.isDesigning&&e.isNullOrEmpty(t.name)&&(t.name=s.StiNameCreation.createName(this.report,s.StiNameCreation.generateName(t))),e.isNullOrEmpty(t.name)&&(null!=this.report&&this.report.isDesigning?t.name=s.StiNameCreation.createName(this.report,s.StiNameCreation.generateName(t)):t.name=s.StiNameCreation.createSimpleName(this.report,s.StiNameCreation.generateName(t))),this.addV2Internal(t)},a.prototype.addV2Internal=function(t){null==t.report&&(t.report=this.report),this.list.push(t)},a.prototype.remove=function(t,e){if(t.stimulsoft.is(l.StiPage))return void this.list.stimulsoft.remove(t);while(0<e)this.removeAt(this.length-1),e--;while(0<t)this.removeAt(0),t--},a.prototype.getPageWithoutCache=function(t){return this.getByIndex(t)},a.prototype.getByName=function(t){var e,r;t=t.toLowerCase();try{for(var n=__values(this.list),i=n.next();!i.done;i=n.next()){var o=i.value;if(o.name.toLowerCase()==t)return o}}catch(t){e={error:t}}finally{try{i&&!i.done&&(r=n.return)&&r.call(n)}finally{if(e)throw e.error}}return null},a.prototype.setByName=function(t,e){t=t.toLowerCase();for(var r=0,n;r<this.list.length;r++){if(this.getByIndex(r).name.toLowerCase()==t)return void(this.list[r]=e)}this.add(e)},a.prototype.getComponentByName=function(t){var e,r;try{for(var n=__values(this.list),i=n.next();!i.done;i=n.next()){var o=i.value,o=o.components.getComponentByName(t,o);if(null!=o)return o}}catch(t){e={error:t}}finally{try{i&&!i.done&&(r=n.return)&&r.call(n)}finally{if(e)throw e.error}}return null},a.setParent=function(t){var e,r;try{for(var n=__values(t.components.list),i=n.next();!i.done;i=n.next()){var o=i.value;o.parent=t;var o=o.as(l.StiContainer);null!=o&&a.setParent(o)}}catch(t){e={error:t}}finally{try{i&&!i.done&&(r=n.return)&&r.call(n)}finally{if(e)throw e.error}}},a.prototype.saveState=function(t){var e,r;try{for(var n=__values(this.list),i=n.next(),o;!i.done;i=n.next()){i.value.saveState(t)}}catch(t){e={error:t}}finally{try{i&&!i.done&&(r=n.return)&&r.call(n)}finally{if(e)throw e.error}}},a.prototype.restoreState=function(t){var e,r;try{for(var n=__values(this.list),i=n.next(),o;!i.done;i=n.next()){i.value.restoreState(t)}}catch(t){e={error:t}}finally{try{i&&!i.done&&(r=n.return)&&r.call(n)}finally{if(e)throw e.error}}},a.prototype.clearAllStates=function(){var e,t;try{for(var r=__values(this.list),n=r.next(),i;!n.done;n=r.next()){n.value.clearAllStates()}}catch(t){e={error:t}}finally{try{n&&!n.done&&(t=r.return)&&t.call(r)}finally{if(e)throw e.error}}},Object.defineProperty(a.prototype,"containsDashboards",{get:function(){var e,t;try{for(var r=__values(this.list),n=r.next(),i;!n.done;n=r.next()){if(n.value.is(c.Report.Dashboard.IStiDashboard))return!0}}catch(t){e={error:t}}finally{try{n&&!n.done&&(t=r.return)&&t.call(r)}finally{if(e)throw e.error}}return!1},enumerable:!1,configurable:!0}),a.prototype.isNotSavedPage=function(t){return!1},a.prototype.markPageAsNotSaved=function(t){},a.prototype.getPage=function(t){return t},a.prototype.savePage=function(t){},a),n;function a(t,e){void 0===e&&(e=null);var e=n.call(this)||this;return e.canUseCacheMode=!1,e.cacheMode=!1,e.quickCachedPages=null,e.notCachedPages=null,e.report=t,e}l.StiPagesCollection=t;var i=(Object.defineProperty(o.prototype,"isNotSaved",{get:function(){return this.savePage},enumerable:!1,configurable:!0}),o);function o(t,e){this.page=t,this.savePage=e}}(e=s.Components||(s.Components={}))}(Stimulsoft=Stimulsoft||{}),function(t){var e,r,n,i,o,a,s;function l(){this._name="",this._expression=""}r=e=t.Report||(t.Report={}),i=n=r.Components||(r.Components={}),o=t.System.StiString,a=t.Base.StiJson,s=t.Report.Expressions.StiExpression,l.prototype.saveToJsonObject=function(t){var e=new a;return e.addPropertyStringNullOrEmpty("Name",this.name),e.addPropertyJObject("Expression",new s(this._expression).saveToJsonObject(t)),e},l.prototype.loadFromJsonObject=function(t){var e,r;try{for(var n=__values(t.properties()),i=n.next();!i.done;i=n.next()){var o=i.value;switch(o.name){case"Name":this._name=o.value.toString();break;case"Expression":var a=new s;a.loadFromJsonObject(o.value),this._expression=a.value;break}}}catch(t){e={error:t}}finally{try{i&&!i.done&&(r=n.return)&&r.call(n)}finally{if(e)throw e.error}}},l.prototype.loadFromXml=function(t){for(var e=0;e<t.childNodes.length;e++){var r=t.childNodes[e];switch(r.nodeName){case"Name":this.name=r.textContent;break;case"Expression":this._expression=r.textContent;break}}},l.prototype.isDefault=function(){return o.isNullOrEmpty(this.name)&&(null==this.expression||0==this.expression.length)},Object.defineProperty(l.prototype,"name",{get:function(){return this._name},set:function(t){this._name=t},enumerable:!1,configurable:!0}),Object.defineProperty(l.prototype,"expression",{get:function(){return this._expression},set:function(t){this._expression=t},enumerable:!1,configurable:!0}),r=l,i.StiParameter=r}(Stimulsoft=Stimulsoft||{}),function(t){var e,r,n,s,l,i;function u(){return i.call(this)||this}r=e=t.Report||(t.Report={}),s=n=r.Components||(r.Components={}),l=t.Base.StiJson,r=t.System.Collections.CollectionBase,__extends(u,i=r),u.prototype.saveToJsonObject=function(t){var e,r;if(0==this.list.length)return null;var n=new l,i=0;try{for(var o=__values(this.list),a=o.next();!a.done;a=o.next()){var s=a.value;n.addPropertyJObject(i.toString(),s.saveToJsonObject(t)),i++}}catch(t){e={error:t}}finally{try{a&&!a.done&&(r=o.return)&&r.call(o)}finally{if(e)throw e.error}}return n},u.prototype.loadFromJsonObject=function(t){var e,r;try{for(var n=__values(t.properties()),i=n.next();!i.done;i=n.next()){var o=i.value,a=new s.StiParameter;a.loadFromJsonObject(o.value),this.list.push(a)}}catch(t){e={error:t}}finally{try{i&&!i.done&&(r=n.return)&&r.call(n)}finally{if(e)throw e.error}}},u.prototype.loadFromXml=function(t){for(var e=0;e<t.childNodes.length;e++){var r=t.childNodes[e],n=new s.StiParameter;n.loadFromXml(r),this.list.push(n)}},u.prototype.clone=function(){var e,t,r=new u;try{for(var n=__values(this.list),i=n.next();!i.done;i=n.next()){var o=i.value,a=new s.StiParameter;a.name=o.name,a.expression=o.expression,r.add(a)}}catch(t){e={error:t}}finally{try{i&&!i.done&&(t=n.return)&&t.call(n)}finally{if(e)throw e.error}}return r},u.prototype.indexOf2=function(t){var e,r;t=t.toLowerCase();var n=0;try{for(var i=__values(this.list),o=i.next(),a;!o.done;o=i.next()){if(o.value.name.toLowerCase()==t)return n;n++}}catch(t){e={error:t}}finally{try{o&&!o.done&&(r=i.return)&&r.call(i)}finally{if(e)throw e.error}}return-1},u.prototype.insertRange=function(t,e){var r,n;try{for(var i=__values(e.list),o=i.next();!o.done;o=i.next()){var a=o.value;this.insert(t,a)}}catch(t){r={error:t}}finally{try{o&&!o.done&&(n=i.return)&&n.call(i)}finally{if(r)throw r.error}}},u.prototype.remove2=function(t){this.list.stimulsoft.contains(t)&&this.list.stimulsoft.remove(t)},u.prototype.getByName=function(t){var e,r;t=t.toLowerCase();try{for(var n=__values(this.list),i=n.next();!i.done;i=n.next()){var o=i.value;if(o.name.toLowerCase()==t)return o}}catch(t){e={error:t}}finally{try{i&&!i.done&&(r=n.return)&&r.call(n)}finally{if(e)throw e.error}}return null},u.prototype.setByName=function(t,e){t=t.toLowerCase();for(var r=0,n;r<this.list.length;r++){if(this.getByIndex(r).name.toLowerCase()==t)return void(this.list[r]=e)}this.add(e)},u.prototype.copyTo=function(t,e){this.list.stimulsoft.copyTo(t,e)},r=u,s.StiParametersCollection=r}(Stimulsoft=Stimulsoft||{}),function(t){var e,t,r,n;function i(){}t=e=t.Report||(t.Report={}),n=r=t.Components||(t.Components={}),i.isAllowChange=function(t){if(null==t)return!0;return 0<(t.restrictions&n.StiRestrictions.AllowChange)},i.isAllowDelete2=function(t){return 0<(t&n.StiRestrictions.AllowDelete)},i.isAllowDelete=function(t){if(null==t)return!0;return 0<(t.restrictions&n.StiRestrictions.AllowDelete)},i.isAllowMove=function(t){if(null==t)return!0;return 0<(t.restrictions&n.StiRestrictions.AllowMove)},i.isAllowSelect=function(t){if(null==t)return!0;return 0<(t.restrictions&n.StiRestrictions.AllowSelect)},i.isAllowResize=function(t){if(null==t)return!0;return 0<(t.restrictions&n.StiRestrictions.AllowResize)},i.isAllowChangePosition=function(t){return this.isAllowMove(t)||this.isAllowResize(t)},t=i,n.StiRestrictionsHelper=t}(Stimulsoft=Stimulsoft||{}),function(t){var e,r,n,l,a;function i(){}r=e=t.Report||(t.Report={}),l=n=r.Components||(r.Components={}),a=t.System.StiArray,i.getColumnIndexInSorting=function(t,e){var r,n,i=0,o="",a=0;try{for(var s=__values(t),l=s.next();!l.done;l=s.next()){var u=l.value;if("ASC"!=u&&"DESC"!=u&&(0==o.length?o=u:o+="."+u),("ASC"==u||"DESC"==u||a==t.length-1)&&0<o.length){if(e==o)return i;o="",i++}a++}}catch(t){r={error:t}}finally{try{l&&!l.done&&(n=s.return)&&n.call(s)}finally{if(r)throw r.error}}return-1},i.getColumnSortDirection=function(t,e){var r,n,i=this.getColumnIndexInSorting(t,e);if(-1==i)return l.StiInteractionSortDirection.None;try{for(var o=__values(t),a=o.next();!a.done;a=o.next()){var s=a.value;if("ASC"==s||"DESC"==s){if(0==i){if("ASC"==s)return l.StiInteractionSortDirection.Ascending;if("DESC"==s)return l.StiInteractionSortDirection.Descending}i--}}}catch(t){r={error:t}}finally{try{a&&!a.done&&(n=o.return)&&n.call(o)}finally{if(r)throw r.error}}return l.StiInteractionSortDirection.None},i.changeColumnSortDirection=function(t,e){var r,n,i=this.getColumnIndexInSorting(t,e);if(-1==i)return t;var o=0;try{for(var a=__values(t),s=a.next();!s.done;s=a.next()){var l=s.value;if("ASC"==l||"DESC"==l){if(0==i)return"ASC"==l&&(t[o]="DESC"),"DESC"==l&&(t[o]="ASC"),t;i--}o++}}catch(t){r={error:t}}finally{try{s&&!s.done&&(n=a.return)&&n.call(a)}finally{if(r)throw r.error}}return t},i.isColumnExistInSorting=function(t,e){return-1!=this.getColumnIndexInSorting(t,e)},i.addColumnToSorting=function(t,e,r){for(var n=e.split("."),i=a.create(String,t.length+n.length+1),o=0;o<t.length;o++)i[o]=t[o];i[t.length]=r?"ASC":"DESC";for(var o=0;o<n.length;o++)i[t.length+o+1]=n[o];return i},r=i,l.StiSortHelper=r}(Stimulsoft=Stimulsoft||{}),function(i){var t,o,e,r,a,n;function s(){}o=t=i.Report||(i.Report={}),r=e=o.Components||(o.Components={}),a=i.Base.Drawing.StiFontUtils,s.measureString=function(t,e,r){var n=e;o.StiDpiHelper.needDeviceCapsScale&&(n=a.changeFontSize(e,e.size));var e=i.Base.Drawing.StiTextDrawing.measureString(null,r.text,n,t,r.textOptions,r.horAlignment,r.vertAlignment,!1,r.allowHtmlTags),n=r.report,t,n,r;return null!=n&&n.reportUnit!=o.StiReportUnitType.HundredthsOfInch&&(t=n.unit,n=r.margins,r=e.width+n.left+n.right+r.border.size,t.convertToHInches(Math.round2(t.convertFromHInches(r),2))<r&&(e.width+=t.convertToHInches(.01))),e},n=s,r.StiStandardTextRenderer=n}(Stimulsoft=Stimulsoft||{}),function(t){var e,r,n,t,i,o,a,s,l,u,c,p,h,m;r=e=t.Report||(t.Report={}),t=n=r.CrossTab||(r.CrossTab={}),r=i=t.Core||(t.Core={}),(t=o=r.StiSortDirection||(r.StiSortDirection={}))[t["Asc"]=0]="Asc",t[t["Desc"]=1]="Desc",t[t["None"]=2]="None",(t=a=r.StiSummaryType||(r.StiSummaryType={}))[t["None"]=0]="None",t[t["Sum"]=1]="Sum",t[t["Average"]=2]="Average",t[t["Min"]=3]="Min",t[t["Max"]=4]="Max",t[t["Count"]=5]="Count",t[t["CountDistinct"]=6]="CountDistinct",t[t["Image"]=7]="Image",(t=s=r.StiSummaryValues||(r.StiSummaryValues={}))[t["AllValues"]=0]="AllValues",t[t["SkipZerosAndNulls"]=1]="SkipZerosAndNulls",t[t["SkipNulls"]=2]="SkipNulls",(t=l=r.StiSortType||(r.StiSortType={}))[t["ByValue"]=0]="ByValue",t[t["ByDisplayValue"]=1]="ByDisplayValue",(t=u=r.StiFieldType||(r.StiFieldType={}))[t["Column"]=0]="Column",t[t["Row"]=1]="Row",t[t["Cell"]=2]="Cell",(t=c=r.StiSummaryDirection||(r.StiSummaryDirection={}))[t["LeftToRight"]=0]="LeftToRight",t[t["UpToDown"]=1]="UpToDown",(t=p=r.StiEnumeratorType||(r.StiEnumeratorType={}))[t["None"]=0]="None",t[t["Arabic"]=1]="Arabic",t[t["Roman"]=2]="Roman",t[t["ABC"]=3]="ABC",(t=h=r.StiEnumeratorSeparator||(r.StiEnumeratorSeparator={}))[t["Dot"]=0]="Dot",t[t["Dash"]=1]="Dash",t[t["Colon"]=2]="Colon",t[t["RoundBrackets"]=3]="RoundBrackets",t[t["SquareBrackets"]=4]="SquareBrackets",(r=m=r.StiCellType||(r.StiCellType={}))[r["HeaderCol"]=0]="HeaderCol",r[r["HeaderColMain"]=1]="HeaderColMain",r[r["HeaderColTotal"]=2]="HeaderColTotal",r[r["HeaderColTotalMain"]=3]="HeaderColTotalMain",r[r["HeaderColSummary"]=4]="HeaderColSummary",r[r["HeaderColSummaryTotal"]=5]="HeaderColSummaryTotal",r[r["HeaderRow"]=6]="HeaderRow",r[r["HeaderRowMain"]=7]="HeaderRowMain",r[r["HeaderRowTotal"]=8]="HeaderRowTotal",r[r["HeaderRowTotalMain"]=9]="HeaderRowTotalMain",r[r["HeaderRowSummary"]=10]="HeaderRowSummary",r[r["HeaderRowSummaryTotal"]=11]="HeaderRowSummaryTotal",r[r["Cell"]=12]="Cell",r[r["CellTotal"]=13]="CellTotal",r[r["LeftTopLine"]=14]="LeftTopLine",r[r["LeftTopLineMain"]=15]="LeftTopLineMain",r[r["RightTopLine"]=16]="RightTopLine",r[r["RightTopLineMain"]=17]="RightTopLineMain",r[r["CornerCol"]=18]="CornerCol",r[r["CornerColMain"]=19]="CornerColMain",r[r["CornerRow"]=20]="CornerRow",r[r["CornerRowMain"]=21]="CornerRowMain"}(Stimulsoft=Stimulsoft||{}),function(t){var e,r,n,i,o,a;function s(t,e,r,n,i){void 0===t&&(t=""),void 0===e&&(e=0),void 0===r&&(r=NaN),void 0===n&&(n=NaN),void 0===i&&(i=null),this.size=a.empty,this.isChangeWidthForRightToLeft=!1,this.isNumeric=!1,this.isNegativeColor=!1,this.isImage=!1,this.field=null,this._text="",this.hyperlinkValue=null,this.toolTipValue=null,this.tagValue=null,this.width=1,this.height=1,this.summaryIndex=-1,this.level=-1,this.cellType=o.StiCellType.Cell,this._drillDownParameters=null,(isNaN(r)||isNaN(n))&&(this.isNumeric=!0,n=r=1),this._text=t,this.value=e,this.width=r,this.height=n,this.field=i}r=e=t.Report||(t.Report={}),r=n=r.CrossTab||(r.CrossTab={}),o=i=r.Core||(r.Core={}),a=t.System.Drawing.Size,s.prototype.clone=function(){var t=this.stimulsoft.memberwiseClone().stimulsoft.as(s);return t.parentCell=t},Object.defineProperty(s.prototype,"text",{get:function(){return this._text},set:function(t){this._text=t},enumerable:!1,configurable:!0}),Object.defineProperty(s.prototype,"drillDownParameters",{get:function(){return this._drillDownParameters},set:function(t){this._drillDownParameters!=t&&(this._drillDownParameters=t)},enumerable:!1,configurable:!0}),r=s,o.StiCell=r}(Stimulsoft=Stimulsoft||{}),function(t){var e,t,r,n,i,o;function a(t,e){this.hyperlinkValue=null,this.tagValue=null,this.toolTipValue=null,this.drillDownParameters=null,this.isTotal=!1,this.level=-1,this.value=t,this.displayValue=e,this.cols=new i.StiColumnCollection}t=e=t.Report||(t.Report={}),t=r=t.CrossTab||(t.CrossTab={}),(i=n=t.Core||(t.Core={})).StiColumn=a}(Stimulsoft=Stimulsoft||{}),function(t){var e,r,n,i,o,a,s;function l(){var t=null!==s&&s.apply(this,arguments)||this;return t.directionFactor=1,t.sortType=o.StiSortType.ByDisplayValue,t.items=new a,t}r=e=t.Report||(t.Report={}),r=n=r.CrossTab||(r.CrossTab={}),o=i=r.Core||(r.Core={}),r=t.System.Collections.CollectionBase,a=t.System.Collections.Hashtable,__extends(l,s=r),l.prototype.compare=function(t,e){var r=t.stimulsoft.as(o.StiColumn),n=e.stimulsoft.as(o.StiColumn),t=r.parentCollection.sortType,e=r.parentCollection.directionFactor;if(t==o.StiSortType.ByDisplayValue){if(null!=r.displayValue){if(null!=n.othersText)return-1;if(null!=r.othersText)return 1;return r.displayValue.stimulsoft.compareTo(n.displayValue)*e}return 1}if(null!=r.value){if(null!=n.othersText)return-1;if(null!=r.othersText)return 1;return r.value.stimulsoft.compareTo(n.value)*e}return 1},l.prototype.add2=function(t,e){var e=new o.StiColumn(t,e);this.add(e)},l.prototype.add=function(t){s.prototype.add.call(this,t),t.isTotal||this.items.add(t.value,t),t.parentCollection=this},l.prototype.sort=function(t,e){this.sortType=e,t==o.StiSortDirection.Asc?this.directionFactor=1:this.directionFactor=-1,this.list.sort(this.compare)},l.prototype.clear=function(){this.list.stimulsoft.clear(),this.items.clear()},l.prototype.getByValue=function(t){var e,r;try{for(var n=__values(this.list),i=n.next();!i.done;i=n.next()){var o=i.value;if(o.value==t)return o}}catch(t){e={error:t}}finally{try{i&&!i.done&&(r=n.return)&&r.call(n)}finally{if(e)throw e.error}}return null},r=l,o.StiColumnCollection=r}(Stimulsoft=Stimulsoft||{}),function(t){var e,r,n,I,i,T,o,g,a,f,E,R,S,s,y;function l(){this.fields=new s,this.designTime=!1,this.maxWidth=10,this.maxHeight=10}r=e=t.Report||(t.Report={}),I=n=r.CrossTab||(r.CrossTab={}),T=i=I.Core||(I.Core={}),o=t.System.StiArray,g=t.System.Drawing.ContentAlignment,a=t.System.Drawing.Rectangle,f=t.Base.Drawing.StiTextRenderer,E=t.System.Drawing.Point,R=t.Report.Events.StiValueEventArgs,S=t.System.Drawing.Size,s=t.System.Collections.Hashtable,y=t.Base.StiAlignValue,Object.defineProperty(l.prototype,"gridSize",{get:function(){return this.report.info.gridSize},enumerable:!1,configurable:!0}),Object.defineProperty(l.prototype,"rowCount",{get:function(){return this.heights.length},set:function(t){this.init(this.widths.length,t)},enumerable:!1,configurable:!0}),Object.defineProperty(l.prototype,"colCount",{get:function(){return this.widths.length},set:function(t){this.init(t,this.heights.length)},enumerable:!1,configurable:!0}),l.prototype.setTextOfCell=function(t,e,r){this.cells[t][e].text=r},l.prototype.align=function(t){return y.alignToMaxGrid(t,this.gridSize,!0)},l.prototype.getCellTotalWidth=function(t,e){for(var r=0,n=t;n<t+e;n++)n<this.widths.length&&(r+=this.widths[n]);return r},l.prototype.getCellTotalHeight=function(t,e){for(var r=0,n=t;n<t+e;n++)r+=this.heights[n];return r},l.prototype.doAutoSize=function(){for(var t=0;t<this.colCount;t++)for(var e=0,r,n,i,i,n;e<this.rowCount;e++){null!=(r=this.cells[t][e]).field&&r.parentCell==r?(n=1e4,0!=r.field.maxSize.width&&(n=this.getFieldWidth(r.field,r.field.report.unit.convertToHInches(r.field.maxSize.width))),0==r.field.maxSize.height||90!=r.field.angle&&270!=r.field.angle||(n=this.getFieldHeight(r.field,r.field.report.unit.convertToHInches(r.field.maxSize.height))),i=S.empty,(i=f.measureString(n,r.field.font,r.text,r.field.angle)).width+=r.field.margins.left+r.field.margins.right,i.height+=r.field.margins.top+r.field.margins.bottom,null!=(n=r.field.indicator)&&null!=n.customIcon&&null!=n.customIconSize&&(i.height=Math.max(i.height,n.customIconSize.height),n.alignment!=g.BottomCenter&&n.alignment!=g.MiddleCenter&&n.alignment!=g.TopCenter&&(i.width+=n.customIconSize.width)),i.width=this.report.unit.convertFromHInches(i.width),i.height=this.report.unit.convertFromHInches(i.height),0!=r.field.maxSize.width&&r.field.maxSize.width<i.width&&(i.width=r.field.maxSize.width),0!=r.field.minSize.width&&r.field.minSize.width>i.width&&(i.width=r.field.maxSize.width),r.size=i):(r.size=S.empty,0<t&&null==r.parentCell&&1==this.cells[t-1][e].width&&this.cells[t-1][e].width++)}for(var t=0;t<this.colCount;t++){for(var o=this.report.unit.convertFromHInches(StiOptions.Engine.CrossTab.defaultWidth),e=0,r;e<this.rowCount;e++){if(1<(r=this.cells[t][e]).width)continue;var a=r.size.width;null!=r.field&&(0!=r.field.minSize.width&&(a=Math.max(a,r.field.minSize.width)),0!=r.field.maxSize.width&&(a=Math.min(a,r.field.maxSize.width))),o=Math.max(o,a)}o=Math.min(o,this.maxWidth),o=this.align(o),this.widths[t]=o}for(var e=0;e<this.rowCount;e++){for(var s=this.report.unit.convertFromHInches(StiOptions.Engine.CrossTab.defaultHeight),t=0,r;t<this.colCount;t++){if(1<(r=this.cells[t][e]).height)continue;var l=r.size.height;null!=r.field&&(0!=r.field.minSize.height&&(l=Math.max(l,r.field.minSize.height)),0!=r.field.maxSize.height&&(l=Math.min(l,r.field.maxSize.height))),s=Math.max(s,l)}s=Math.min(s,this.maxHeight),s=this.align(s),this.heights[e]=s}for(var t=0;t<this.colCount;t++)for(var e=0,r;e<this.rowCount;e++){if(null!=(r=this.cells[t][e]).field&&r.parentCell==r&&(1<r.width||1<r.height)){var u=this.getCellTotalWidth(t,r.width),c=this.getCellTotalHeight(e,r.height);if(r.size.width>u&&0<u)for(var p=r.size.width/u,h=t;h<t+r.size.width;h++)h<this.widths.length&&(this.widths[h]*=p);if(r.size.height>c&&0<c)for(var p=r.size.height/c,h=e;h<e+r.size.height;h++)h<this.heights.length&&(this.heights[h]*=p)}}for(var t=0;t<this.colCount;t++)this.widths[t]=y.alignToMaxGrid(this.widths[t],this.report.info.gridSize,!0);for(var e=0;e<this.rowCount;e++)this.heights[e]=y.alignToMaxGrid(this.heights[e],this.report.info.gridSize,!0);for(var m=0,t=0;t<this.colCount;t++)this.coordX[t]=m,m+=this.widths[t];for(var d=0,e=0;e<this.rowCount;e++)this.coordY[e]=d,d+=this.heights[e]},l.prototype.getFieldWidth=function(t,e){var e=new a(0,0,e,t.height),e=t.convertTextMargins(e,!1);return(e=t.convertTextBorders(e,!1)).width},l.prototype.getFieldHeight=function(t,e){var e=new a(0,0,t.height,e),e=t.convertTextMargins(e,!1);return(e=t.convertTextBorders(e,!1)).height},l.prototype.setCell=function(t,e,r,n,i,o,a,s,l,u,c,p,h,m,d,g){void 0===h&&(h=-1),void 0===m&&(m=null),void 0===d&&(d=null),void 0===g&&(g=T.StiCellType.Cell);var f=this.cells[t][e];this.designTime||(a=a.clone(!0).stimulsoft.as(I.StiCrossField));var S=a.tagValue,y=a.toolTipValue,A=a.hyperlinkValue,b=a.textValue,C=new R(o);a.tagValue=c,a.toolTipValue=u,a.hyperlinkValue=l,a.originalValue=o;var v=a.stimulsoft.as(I.StiCrossSummary);null!=v&&(this.cellExists(0,e)&&(v.crossRowValue=this.cells[0][e].value),this.cellExists(t,1)&&(v.crossColumnValue=this.cells[t][1].value)),a.invokeTextProcess(a,C),a.tagValue=S,a.toolTipValue=y,a.hyperlinkValue=A,a.is(I.StiCrossSummary)&&(a.crossRowValue=null,a.crossColumnValue=null),a.textValue!=b&&(i=a.textValue);var b=g;switch(g){case T.StiCellType.HeaderCol:b=T.StiCellType.HeaderColMain;break;case T.StiCellType.HeaderColTotal:b=T.StiCellType.HeaderColTotalMain;break;case T.StiCellType.HeaderRow:b=T.StiCellType.HeaderRowMain;break;case T.StiCellType.HeaderRowTotal:b=T.StiCellType.HeaderRowTotalMain;break;case T.StiCellType.CornerCol:b=T.StiCellType.CornerColMain;break;case T.StiCellType.CornerRow:b=T.StiCellType.CornerRowMain;break;case T.StiCellType.LeftTopLine:b=T.StiCellType.LeftTopLineMain;break;case T.StiCellType.RightTopLine:b=T.StiCellType.RightTopLineMain;break}for(var w=t;w<t+r;w++)for(var B=e;B<e+n;B++)null!=i&&(this.cells[w][B].text=i.toString()),this.cells[w][B].parentCell=f,this.cells[w][B].value=o,this.cells[w][B].width=r-(w-t),this.cells[w][B].height=n-(B-e),this.cells[w][B].field=a,this.cells[w][B].isNumeric=s,this.cells[w][B].hyperlinkValue=l,this.cells[w][B].toolTipValue=u,this.cells[w][B].tagValue=c,this.cells[w][B].drillDownParameters=p,this.cells[w][B].level=h,this.cells[w][B].parentGuid=m,this.cells[w][B].guid=d,this.cells[w][B].cellType=g;return this.cells[t][e].cellType=b,this.designTime&&null==this.fields.get(a)&&this.fields.set(a,new E(t,e)),this.cells[t][e]},l.prototype.cellExists=function(t,e){return this.cells.stimulsoft.getLength(0)>t&&this.cells[t].stimulsoft.getLength(0)>e},l.prototype.setCellField=function(t,e,r){null!=this.cells[t][e]&&(this.cells[t][e].field=r)},l.prototype.init=function(t,e){this.widths=o.create(Number,t),this.heights=o.create(Number,e),this.coordX=o.create(Number,t),this.coordY=o.create(Number,e);for(var r=0;r<t;r++)this.widths[r]=10;for(var r=0;r<e;r++)this.heights[r]=10;this.cells=o.create(Array,t);for(var n=0;n<t;n++){this.cells[n]=o.create(T.StiCell,e);for(var i=0;i<e;i++)this.cells[n][i]=new T.StiCell}},r=l,T.StiGrid=r}(Stimulsoft=Stimulsoft||{}),function(v){var t,p,e,ct,r,pt,Q,L,U,J,w,i,ht,mt,o,n,B,h,l,W,dt,I,a,s,u,V;function m(){var t=null!==V&&V.apply(this,arguments)||this;return t.crossTab=null,t.strNull="",t.emptyField=m.emptyField,t.oneCellSize=0,t.oneCellWidth=0,t.oneCellHeight=0,t.summaryDirection=pt.StiSummaryDirection.LeftToRight,t.widthCorrection=0,t.heightCorrection=0,t.columnsCell=new dt,t.rowsCell=new dt,t.rows=new pt.StiRowCollection,t.cols=new pt.StiColumnCollection,t.summaryContainer=null,t.leftCrossTitle=null,t.rightCrossTitle=null,t.summaryCrossTitle=null,t}p=t=v.Report||(v.Report={}),ct=e=p.CrossTab||(p.CrossTab={}),pt=r=ct.Core||(ct.Core={}),Q=v.System.StiArray,L=v.System.StiString,U=v.Data.Engine.StiDataTopNMode,J=v.System.Collections.List,w=v.Report.Components.TextFormats.StiGeneralFormatService,i=v.System.EventArgs,ht=v.System.Data.DBNull,mt=v.System.DateTime,o=v.Report.Components.TextFormats.StiFormatService,n=v.Report.Components.StiComponentsCollection,B=v.System.Drawing.Rectangle,h=v.Report.Events.StiValueEventArgs,l=v.System.Char,W=v.Report.Events.StiGetValueEventArgs,dt=v.System.Collections.Hashtable,I=v.System.Guid,a=v.System.Type,s=v.Base.Helpers.StiValueHelper,V=pt.StiGrid,__extends(m,V),m.prototype.invokeEvents2=function(t,e){var r=!0,r,r,r,n,n,n;null!=this.report&&(r=this.report.calculationMode==p.StiCalculationMode.Compilation),r?((r=new h).displayValue=e,t.invokeGetHyperlink(t,r),t.hyperlinkValue=r.value,(r=new h).displayValue=e,t.invokeGetToolTip(t,r),t.toolTipValue=r.value,(r=new h).displayValue=e,t.invokeGetTag(t,r),t.tagValue=r.value):(0<t.hyperlink.length&&(n=v.Report.Engine.StiParser.StiParser.parseTextValue(t.hyperlink,t),t.hyperlinkValue=this.report.toString2(n)),0<t.toolTip.length&&(n=v.Report.Engine.StiParser.StiParser.parseTextValue(t.toolTip,t),t.toolTipValue=this.report.toString2(n)),0<t.tag.length&&(n=v.Report.Engine.StiParser.StiParser.parseTextValue(t.tag,t),t.tagValue=this.report.toString2(n))),t.invokeBeforePrint(t,i.empty),t.invokeAfterPrint(t,i.empty)},m.prototype.invokeEvents=function(t){var e=!0,e,e,e,r,r,r;null!=this.report&&(e=this.report.calculationMode==p.StiCalculationMode.Compilation),e?(e=new h,t.invokeGetHyperlink(t,e),t.hyperlinkValue=e.value,e=new h,t.invokeGetToolTip(t,e),t.toolTipValue=e.value,e=new h,t.invokeGetTag(t,e),t.tagValue=e.value):(0<t.hyperlink.length&&(r=v.Report.Engine.StiParser.StiParser.parseTextValue(t.hyperlink,t),t.hyperlinkValue=this.report.toString2(r)),0<t.toolTip.length&&(r=v.Report.Engine.StiParser.StiParser.parseTextValue(t.toolTip,t),t.toolTipValue=this.report.toString2(r)),0<t.tag.length&&(r=v.Report.Engine.StiParser.StiParser.parseTextValue(t.tag,t),t.tagValue=this.report.toString2(r))),t.invokeBeforePrint(t,i.empty),t.invokeAfterPrint(t,i.empty)},m.prototype.addRowTotal=function(t,e,r,n){while(1){var i=new pt.StiRow("","");i.isTotal=!0,i.level=n;var o=new W,a=this.rowFields.getByIndex(n).total;if(null!=a&&a.invokeGetValue(a,o),i.displayValue=o.value,t.add(i),r<=++e)return;t=t.getByIndex(t.count-1).rows}},m.prototype.addColTotal=function(t,e,r,n){while(1){var i=new pt.StiColumn("","");i.isTotal=!0,i.level=n;var o=new W,a=this.colFields.getByIndex(n).total;if(null!=a&&a.invokeGetValue(a,o),i.displayValue=o.value,t.add(i),r<=++e)return;t=t.getByIndex(t.count-1).cols}},m.prototype.sortRows=function(t,e,r){var n,i,o;void 0===t&&(t=this.rows),void 0===e&&(e=0),void 0===r&&(r=this.getRowsHeaderWidth());try{for(var a=__values(t.list),s=a.next();!s.done;s=a.next()){var l=s.value;this.sortRows(l.rows,e+1,r)}}catch(t){n={error:t}}finally{try{s&&!s.done&&(i=a.return)&&i.call(a)}finally{if(n)throw n.error}}e<r&&((o=this.rowFields.getByIndex(e).sortDirection)!=pt.StiSortDirection.None&&t.sort(o,this.rowFields.getByIndex(e).sortType))},m.prototype.sortCols=function(t,e,r){var n,i,o;void 0===t&&(t=this.cols),void 0===e&&(e=0),void 0===r&&(r=this.getColsHeaderHeight());try{for(var a=__values(t.list),s=a.next();!s.done;s=a.next()){var l=s.value;this.sortCols(l.cols,e+1,r)}}catch(t){n={error:t}}finally{try{s&&!s.done&&(i=a.return)&&i.call(a)}finally{if(n)throw n.error}}e<r&&((o=this.colFields.getByIndex(e).sortDirection)!=pt.StiSortDirection.None&&t.sort(o,this.colFields.getByIndex(e).sortType))},m.prototype.createRowTotals=function(){var t=this.getRowsHeaderWidth();0<t&&this.createRowTotals2(this.rows,0,t)},m.prototype.createRowTotals2=function(t,e,r){var n,i;if(0<t.count){try{for(var o=__values(t.list),a=o.next();!a.done;a=o.next()){var s=a.value;this.createRowTotals2(s.rows,e+1,r)}}catch(t){n={error:t}}finally{try{a&&!a.done&&(i=o.return)&&i.call(o)}finally{if(n)throw n.error}}var l=this.rowFields.getByIndex(e).stimulsoft.as(ct.StiCrossRow),u=0==e?null:this.rowFields.getByIndex(e-1).stimulsoft.as(ct.StiCrossRow);this.allowTotal(l,u)&&this.addRowTotal(t,e,r,e)}},m.prototype.createColTotals=function(){var t=this.getColsHeaderHeight();0<t&&this.createColTotals2(this.cols,0,t)},m.prototype.createColTotals2=function(t,e,r){var n,i;if(0<t.count){try{for(var o=__values(t.list),a=o.next();!a.done;a=o.next()){var s=a.value;this.createColTotals2(s.cols,e+1,r)}}catch(t){n={error:t}}finally{try{a&&!a.done&&(i=o.return)&&i.call(o)}finally{if(n)throw n.error}}var l=this.colFields.getByIndex(e).stimulsoft.as(ct.StiCrossColumn),u=0==e?null:this.colFields.getByIndex(e-1).stimulsoft.as(ct.StiCrossColumn);this.allowTotal(l,u)&&this.addColTotal(t,e,r,e)}},m.prototype.getDataFromDataRow=function(t,e){if(null==t)return this.strNull;return null!=t.gett(e)?t.gett(e):this.strNull},m.prototype.getValueFromDataRow=function(t,e){if(null==t)return null;try{var r=t.gett(e.name),n=e.summary,i;if(n==pt.StiSummaryType.Image)return r;if(n==pt.StiSummaryType.Count)return r;if(n==pt.StiSummaryType.CountDistinct)return r;if(n==pt.StiSummaryType.None){if(null!=r&&r instanceof mt)return r;if(e.hideZeros){if(null==r)return"";var o=0;try{if("string"==typeof r){for(var i=r,a=!1,s=0;s<i.length;s++)if(l.isDigit(i[s])){a=!0;break}if(!a)return r;o=(i=i.replace(".",",").replace(",",v.System.Globalization.CultureInfo.currentCulture.numberFormat.numberDecimalSeparator).stimulsoft.replaceAll(" ","")).stimulsoft.toNumber()}else o=v.System.Convert.changeType(r,Number);if(0==o)return""}catch(t){}return r}return r}if(null==r)return 0;if("string"==typeof r){if(0==(i=r).length)return null;var n=(i=i.replace(".",",").replace(",",v.System.Globalization.CultureInfo.currentCulture.numberFormat.numberDecimalSeparator)).stimulsoft.toNumber();return isNaN(n)?0:n}if(r instanceof mt)return r;if(null==r)return 0;if(r==ht)return 0;return v.System.Convert.changeType(r,Number)}catch(t){return 0}},m.prototype.allowTotal=function(t,e){if(null==t)return!1;if(null!=e){var e=null==e.interaction?null:e.interaction.stimulsoft.as(v.Report.Components.StiCrossHeaderInteraction);if(null!=e&&e.collapsingEnabled)return!1}return t.isTotalVisible},m.prototype.getRow=function(t){var e,r,n=!1,i=this.rows,o=null,a=0;try{for(var s=__values(this.rowFields.toCast()),l=s.next();!l.done;l=s.next()){var u=l.value,c=this.strNull,p=this.strNull,p,p,p;u.name!=this.emptyField&&(c=this.getDataFromDataRow(t,u.name),p=this.getDataFromDataRow(t,"Display__"+u.name)),n&&(p=c="all"),null==(o=i.getByValue(c))&&(o=new pt.StiRow(c,p),p=new h,u.invokeGetHyperlink(u,p),o.hyperlinkValue=p.value,p=new h,u.invokeGetToolTip(u,p),o.toolTipValue=p.value,p=new h,u.invokeGetTag(u,p),o.tagValue=p.value,i.add(o)),n=u.is(ct.StiCrossHeader)&&v.Report.Engine.StiCrossTabBuilder.isCollapsed2(u,a,c.toString()),i=o.rows,a++}}catch(t){e={error:t}}finally{try{l&&!l.done&&(r=s.return)&&r.call(s)}finally{if(e)throw e.error}}return o},m.prototype.getColumn=function(t){var e,r,n=!1,i=this.cols,o=null,a=0;try{for(var s=__values(this.colFields.toCast()),l=s.next();!l.done;l=s.next()){var u=l.value,c="",p="",p,p,p;u.name!=this.emptyField&&(c=this.getDataFromDataRow(t,u.name),p=this.getDataFromDataRow(t,"Display__"+u.name)),n&&(p=c="all"),null==(o=i.getByValue(c))&&(o=new pt.StiColumn(c,p),p=new h,u.invokeGetHyperlink(u,p),o.hyperlinkValue=p.value,p=new h,u.invokeGetToolTip(u,p),o.toolTipValue=p.value,p=new h,u.invokeGetTag(u,p),o.tagValue=p.value,i.add(o)),n=u.is(ct.StiCrossHeader)&&v.Report.Engine.StiCrossTabBuilder.isCollapsed2(u,a,c.toString()),i=o.cols,a++}}catch(t){e={error:t}}finally{try{l&&!l.done&&(r=s.return)&&r.call(s)}finally{if(e)throw e.error}}return o},m.prototype.calculateTopN=function(){for(var t=this.colFields.count-1;0<=t;t--){var e=this.colFields.getByIndex(t),r;0<=(r=this.getSumFiledIndex(e.topN))&&this.processTopNColumns(t,0,r,this.cols,e.topN)}for(var t=this.rowFields.count-1;0<=t;t--){var n=this.rowFields.getByIndex(t),r;0<=(r=this.getSumFiledIndex(n.topN))&&this.processTopNRows(t,0,r,this.rows,n.topN)}},m.prototype.processTopNRows=function(t,e,r,n,i){var o,a,s,l,u,c,p,h,m,d,g,f;if(e<t)try{for(var S=__values(n.list),y=S.next();!y.done;y=S.next()){var A=y.value;this.processTopNRows(t,e+1,r,A.rows,i)}}catch(t){o={error:t}}finally{try{y&&!y.done&&(a=S.return)&&a.call(S)}finally{if(o)throw o.error}}else{var b=new dt;try{for(var C=__values(n.list),v=C.next();!v.done;v=C.next()){var A=v.value,w=new J;this.getRowsArray2(A.rows,w),0==w.length&&w.add(A);var B=[];try{for(var I=(u=void 0,__values(w)),T=I.next();!T.done;T=I.next()){var E=T.value;try{for(var R=(p=void 0,__values(this.summaryContainer.getDataCol().keys)),D=R.next();!D.done;D=R.next()){var P=D.value,x=this.summaryContainer.getDataCol().get(P).get(E);if(null!=x&&(x=x.stimulsoft.as(pt.StiSummary)),null!=x)try{for(var F=(m=void 0,__values(x.sums[r])),N=F.next();!N.done;N=F.next()){var k=N.value;B.push(k)}}catch(t){m={error:t}}finally{try{N&&!N.done&&(d=F.return)&&d.call(F)}finally{if(m)throw m.error}}}}catch(t){p={error:t}}finally{try{D&&!D.done&&(h=R.return)&&h.call(R)}finally{if(p)throw p.error}}}}catch(t){u={error:t}}finally{try{T&&!T.done&&(c=I.return)&&c.call(I)}finally{if(u)throw u.error}}var M=this.getSummaryResult(B,r,!1);null==b.get(M)&&b.set(M,new J),b.get(M).add(A)}}catch(t){s={error:t}}finally{try{v&&!v.done&&(l=C.return)&&l.call(C)}finally{if(s)throw s.error}}var O=new J;try{for(var _=__values(b.keys),j=_.next();!j.done;j=_.next()){var M=j.value;O.addRange(b.get(M))}}catch(t){g={error:t}}finally{try{j&&!j.done&&(f=_.return)&&f.call(_)}finally{if(g)throw g.error}}for(var G=new J,H=i.mode==U.Top?Math.max(0,O.length-i.count):0;H<(i.mode==U.Top?O.length:Math.min(O.length,i.count));H++)G.add(O[H]);var Q=0,L=new J,Y;while(Q<n.count)G.contains(n.getByIndex(Q))?Q++:(L.add(n.getByIndex(Q)),n.removeAt(Q));i.showOthers&&0<L.length&&((Y=new pt.StiRow(i.othersText,i.othersText)).othersText=i.othersText,n.add(Y),this.fillOtherRows(Y,L))}},m.prototype.fillOtherRows=function(t,e){var r,n,i,o,a,s,l,u;try{for(var c=__values(e),p=c.next();!p.done;p=c.next()){var h=p.value;if(0==h.rows.count)try{for(var m=(i=void 0,__values(this.summaryContainer.getDataCol().keys)),d=m.next();!d.done;d=m.next()){var g=d.value,f=this.summaryContainer.getDataCol().get(g).get(h);if(null!=f&&(f=f.stimulsoft.as(pt.StiSummary)),null!=f){var S=this.summaryContainer.getSummary(g,t),y=0;try{for(var A=(a=void 0,__values(this.sumFields.list)),b=A.next(),C;!b.done;b=A.next()){b.value.name!=this.emptyField&&(0==S.sums[y].length&&(S.hyperlinkValues=f.hyperlinkValues,S.toolTipValues=f.toolTipValues,S.tagValues=f.tagValues,S.drillDownParameters=f.drillDownParameters),S.sums[y].stimulsoft.addRange(f.sums[y]),y++)}}catch(t){a={error:t}}finally{try{b&&!b.done&&(s=A.return)&&s.call(A)}finally{if(a)throw a.error}}}}}catch(t){i={error:t}}finally{try{d&&!d.done&&(o=m.return)&&o.call(m)}finally{if(i)throw i.error}}else try{for(var v=(l=void 0,__values(h.rows.list)),w=v.next();!w.done;w=v.next()){var B=w.value,I;null==t.rows.getByValue(B.value)?t.rows.add(B):((I=new J).add(B),this.fillOtherRows(t.rows.getByValue(B.value),I))}}catch(t){l={error:t}}finally{try{w&&!w.done&&(u=v.return)&&u.call(v)}finally{if(l)throw l.error}}}}catch(t){r={error:t}}finally{try{p&&!p.done&&(n=c.return)&&n.call(c)}finally{if(r)throw r.error}}},m.prototype.processTopNColumns=function(t,e,r,n,i){var o,a,s,l,u,c,p,h,m,d,g,f;if(e<t)try{for(var S=__values(n.list),y=S.next();!y.done;y=S.next()){var A=y.value;this.processTopNColumns(t,e+1,r,A.cols,i)}}catch(t){o={error:t}}finally{try{y&&!y.done&&(a=S.return)&&a.call(S)}finally{if(o)throw o.error}}else{var b=new dt;try{for(var C=__values(n.list),v=C.next();!v.done;v=C.next()){var A=v.value,w=new J;this.getColsArray2(A.cols,w),0==w.length&&w.add(A);var B=[];try{for(var I=(u=void 0,__values(w)),T=I.next();!T.done;T=I.next()){var E=T.value,R=this.summaryContainer.getDataCol().get(E).stimulsoft.as(dt);if(null!=R)try{for(var D=(p=void 0,__values(R.values)),P=D.next();!P.done;P=D.next()){var x=P.value;try{for(var F=(m=void 0,__values(x.sums[r])),N=F.next();!N.done;N=F.next()){var k=N.value;B.push(k)}}catch(t){m={error:t}}finally{try{N&&!N.done&&(d=F.return)&&d.call(F)}finally{if(m)throw m.error}}}}catch(t){p={error:t}}finally{try{P&&!P.done&&(h=D.return)&&h.call(D)}finally{if(p)throw p.error}}}}catch(t){u={error:t}}finally{try{T&&!T.done&&(c=I.return)&&c.call(I)}finally{if(u)throw u.error}}var M=this.getSummaryResult(B,r,!1);null==b.get(M)&&b.set(M,new J),b.get(M).add(A)}}catch(t){s={error:t}}finally{try{v&&!v.done&&(l=C.return)&&l.call(C)}finally{if(s)throw s.error}}var O=new J;try{for(var _=__values(b.keys),j=_.next();!j.done;j=_.next()){var M=j.value;O.addRange(b.get(M))}}catch(t){g={error:t}}finally{try{j&&!j.done&&(f=_.return)&&f.call(_)}finally{if(g)throw g.error}}for(var G=new J,H=i.mode==U.Top?Math.max(0,O.length-i.count):0;H<(i.mode==U.Top?O.length:Math.min(O.length,i.count));H++)G.add(O[H]);var Q=0,L=new J,Y;while(Q<n.count)G.contains(n.getByIndex(Q))?Q++:(L.add(n.getByIndex(Q)),n.removeAt(Q));i.showOthers&&0<L.length&&((Y=new pt.StiColumn(i.othersText,i.othersText)).othersText=i.othersText,n.add(Y),this.fillOtherColumns(Y,L))}},m.prototype.fillOtherColumns=function(t,e){var r,n,i,o,a,s,l,u;try{for(var c=__values(e),p=c.next();!p.done;p=c.next()){var h=p.value;if(0==h.cols.count){var m=this.summaryContainer.getDataCol().get(h).stimulsoft.as(dt);if(null!=m)try{for(var d=(i=void 0,__values(m.keys)),g=d.next();!g.done;g=d.next()){var f=g.value,S=this.summaryContainer.getSummary(t,f),y=m.get(f),A=0;try{for(var b=(a=void 0,__values(this.sumFields.list)),C=b.next(),v;!C.done;C=b.next()){C.value.name!=this.emptyField&&(0==S.sums[A].length&&(S.hyperlinkValues=y.hyperlinkValues,S.toolTipValues=y.toolTipValues,S.tagValues=y.tagValues,S.drillDownParameters=y.drillDownParameters),S.sums[A].stimulsoft.addRange(y.sums[A]),A++)}}catch(t){a={error:t}}finally{try{C&&!C.done&&(s=b.return)&&s.call(b)}finally{if(a)throw a.error}}}}catch(t){i={error:t}}finally{try{g&&!g.done&&(o=d.return)&&o.call(d)}finally{if(i)throw i.error}}}else try{for(var w=(l=void 0,__values(h.cols.list)),B=w.next();!B.done;B=w.next()){var I=B.value,T;null==t.cols.getByValue(I.value)?t.cols.add(I):((T=new J).add(I),this.fillOtherColumns(t.cols.getByValue(I.value),T))}}catch(t){l={error:t}}finally{try{B&&!B.done&&(u=w.return)&&u.call(w)}finally{if(l)throw l.error}}}}catch(t){r={error:t}}finally{try{p&&!p.done&&(n=c.return)&&n.call(c)}finally{if(r)throw r.error}}},m.prototype.getSumFiledIndex=function(t){if(null!=t&&t.mode!=U.None&&!L.isNullOrEmpty(t.measureField))for(var e=0;e<this.sumFields.count;e++)if(this.sumFields.getByIndex(e).alias.stimulsoft.endsWith(t.measureField+")"))return e;return-1},m.prototype.calculateDataTable=function(t){var e,r,n,i;if(null==t||0==t.rows.count)this.calculateDataRow(null);else if(null!=this.crossTab.dataSource){var o=this.crossTab.dataSource.position,a=0;try{for(var s=__values(t.rows.list),l=s.next();!l.done;l=s.next()){var u=l.value;this.crossTab.dataSource.position=a++,this.calculateDataRow(u)}}catch(t){e={error:t}}finally{try{l&&!l.done&&(r=s.return)&&r.call(s)}finally{if(e)throw e.error}}this.crossTab.dataSource.position=o}else if(null!=this.crossTab.businessObject){var o=this.crossTab.businessObject.position,a=0;try{for(var c=__values(t.rows.list),p=c.next();!p.done;p=c.next()){var u=p.value;this.crossTab.businessObject.position=a++,this.calculateDataRow(u)}}catch(t){n={error:t}}finally{try{p&&!p.done&&(i=c.return)&&i.call(c)}finally{if(n)throw n.error}}this.crossTab.businessObject.position=o}},m.prototype.calculateDataRow=function(t){var e,r,n,i,o,a,s=this.getRow(t),l=this.getColumn(t),u=this.summaryContainer.getSummary(l,s),c=0;try{for(var p=__values(this.sumFields.toCast()),h=p.next(),m,d;!h.done;h=p.next()){(m=h.value).name!=this.emptyField&&(d=this.getValueFromDataRow(t,m),u.sums[c].push(d),this.invokeEvents(m),u.hyperlinkValues[c]=m.hyperlinkValue,u.toolTipValues[c]=m.toolTipValue,u.tagValues[c]=m.tagValue,null!=m.drillDownParameters&&(null==u.drillDownParameters&&(u.drillDownParameters=Q.create(Object,u.tagValues.length)),u.drillDownParameters[c]=m.drillDownParameters),c++)}}catch(t){e={error:t}}finally{try{h&&!h.done&&(r=p.return)&&r.call(p)}finally{if(e)throw e.error}}try{for(var g=__values(this.rowFields.toCast()),f=g.next(),m;!f.done;f=g.next()){(m=f.value).name!=this.emptyField&&(this.invokeEvents(m),s.hyperlinkValue=m.hyperlinkValue,s.toolTipValue=m.toolTipValue,s.tagValue=m.tagValue,null!=m.drillDownParameters&&(null==s.drillDownParameters&&(s.drillDownParameters={}),s.drillDownParameters=m.drillDownParameters))}}catch(t){n={error:t}}finally{try{f&&!f.done&&(i=g.return)&&i.call(g)}finally{if(n)throw n.error}}try{for(var S=__values(this.colFields.toCast()),y=S.next(),m;!y.done;y=S.next()){(m=y.value).name!=this.emptyField&&(this.invokeEvents(m),l.hyperlinkValue=m.hyperlinkValue,l.toolTipValue=m.toolTipValue,l.tagValue=m.tagValue,null!=m.drillDownParameters&&(null==l.drillDownParameters&&(l.drillDownParameters={}),l.drillDownParameters=m.drillDownParameters))}}catch(t){o={error:t}}finally{try{y&&!y.done&&(a=S.return)&&a.call(S)}finally{if(o)throw o.error}}},m.prototype.copyRows=function(t,e,r,n,i,o,a){var s,l,u=0;a.ref=I.newGuid().toString();try{for(var c=__values(t.list),p=c.next();!p.done;p=c.next()){var h=p.value,m={ref:""},d=this.copyRows(h.rows,e+1,r,n+1,i,o,m),g=this.rowFields.getByIndex(n).stimulsoft.as(ct.StiCrossField);u+=d;var f=1;if(v.Report.Engine.StiCrossTabBuilder.isCollapsed2(g.stimulsoft.as(ct.StiCrossHeader),n,h.value.toString())){var S=h;while(1){if(0==S.rows.count)break;f++,S=S.rows.getByIndex(0)}}var y=new B(e,r,f,d);h.isTotal&&(y.width=this.rowsHeaderWidth+this.widthCorrection-y.x-(this.isSummarySubHeadersPresent&&this.summaryDirection==pt.StiSummaryDirection.UpToDown?1:0),g=g.total);var A=g.textFormat.format(h.displayValue);this.invokeEvents2(g,A);var b=null!=g&&g.is(v.Report.CrossTab.StiCrossRow)&&!g.textFormat.is(w);if(g.mergeHeaders||this.report.isDesigning)this.setCell(y.x,y.y,y.width,y.height,A,A,g,b,h.hyperlinkValue,h.toolTipValue,h.tagValue,h.drillDownParameters,n,a.ref,m.ref,h.isTotal?pt.StiCellType.HeaderRowTotal:pt.StiCellType.HeaderRow);else for(var C=0;C<y.height;C++)this.setCell(y.x,y.y+C,y.width,1,A,A,g,b,h.hyperlinkValue,h.toolTipValue,h.tagValue,h.drillDownParameters,n,a.ref,m.ref,h.isTotal?pt.StiCellType.HeaderRowTotal:pt.StiCellType.HeaderRow);r+=y.height}}catch(t){s={error:t}}finally{try{p&&!p.done&&(l=c.return)&&l.call(c)}finally{if(s)throw s.error}}return Math.max(u,this.oneCellHeight)},m.prototype.copyCols=function(t,e,r,n,i,o,a){var s,l,u=0;a.ref=I.newGuid().toString();try{for(var c=__values(t.list),p=c.next();!p.done;p=c.next()){var h=p.value,m={ref:""},d=this.copyCols(h.cols,e,r+1,n+1,i,o,m),g=this.colFields.getByIndex(n).stimulsoft.as(ct.StiCrossField);u+=d;var f=1;if(v.Report.Engine.StiCrossTabBuilder.isCollapsed2(g.stimulsoft.as(ct.StiCrossHeader),n,h.value.toString())){var S=h;while(1){if(0==S.cols.count)break;f++,S=S.cols.getByIndex(0)}}var y=new B(e,r,d,f);h.isTotal&&(y.height=this.colsHeaderHeight+this.heightCorrection-y.y-(this.isSummarySubHeadersPresent&&this.summaryDirection==pt.StiSummaryDirection.LeftToRight?1:0),g=g.total);var A=g.textFormat.format(h.displayValue);this.invokeEvents2(g,A);var b=null!=g&&g.is(v.Report.CrossTab.StiCrossColumn)&&!g.textFormat.is(w);if(g.mergeHeaders||this.report.isDesigning)this.setCell(y.x,y.y,y.width,y.height,A,A,g,b,h.hyperlinkValue,h.toolTipValue,h.tagValue,h.drillDownParameters,n,a.ref,m.ref,h.isTotal?pt.StiCellType.HeaderColTotal:pt.StiCellType.HeaderCol);else for(var C=0;C<y.width;C++)this.setCell(y.x+C,y.y,1,y.height,A,A,g,b,h.hyperlinkValue,h.toolTipValue,h.tagValue,h.drillDownParameters,n,a.ref,m.ref,h.isTotal?pt.StiCellType.HeaderColTotal:pt.StiCellType.HeaderCol);e+=y.width}}catch(t){s={error:t}}finally{try{p&&!p.done&&(l=c.return)&&l.call(c)}finally{if(s)throw s.error}}return Math.max(u,this.oneCellWidth)},m.prototype.convertToDecimal=function(t){try{if("string"==typeof t&&("-"==t||""==t))return 0;return t.stimulsoft.toNumber()}catch(t){return 0}},m.prototype.isAllowConvertToDecimal=function(t){if(null==t||ht.stimulsoft.equals(t))return!1;if("number"==typeof t)return!0;return!1},m.prototype.getSummary2=function(t,e,r,n){void 0===n&&(n=!1);var i=this.sumFields.getByIndex(e),n=this.getSummaryResult(t,e,r,n);return this.isHideZeros(n)&&i.hideZeros?this.crossTab.emptyValue:n},m.prototype.getSummaryResult=function(t,e,r,n){var i,o,a,s,l,u,c,p,h,m,d,g,f,S,y,A,b,C;void 0===n&&(n=!1);var v=this.sumFields.getByIndex(e).stimulsoft.as(ct.StiCrossSummary),w=v.summary,B=v.summaryValues;!r||w!=pt.StiSummaryType.Count&&w!=pt.StiSummaryType.CountDistinct||(w=pt.StiSummaryType.Sum),!n||w!=pt.StiSummaryType.Count&&w!=pt.StiSummaryType.CountDistinct||(w=pt.StiSummaryType.Sum);var I=0,T=!0;switch(w){case pt.StiSummaryType.None:case pt.StiSummaryType.Image:var E=0;if(0!=e)for(var R=e-1;0<=R;R--)if(-1!=this.sumFields.getByIndex(R).indexOfSelectValue){if((E=this.sumFields.getByIndex(R).indexOfSelectValue)<t.length)break;E=0}if(null==t||0==t.length)return"";return t[E];case pt.StiSummaryType.Sum:try{for(var D=__values(t),P=D.next(),x;!P.done;P=D.next()){if(null==(x=P.value)||ht.stimulsoft.equals(x))continue;T=!1,this.isAllowConvertToDecimal(I)&&(I+=this.convertToDecimal(x))}}catch(t){i={error:t}}finally{try{P&&!P.done&&(o=D.return)&&o.call(D)}finally{if(i)throw i.error}}if(T)return this.crossTab.emptyValue;return I;case pt.StiSummaryType.Max:if(null!=t&&0<t.length&&this.isDateTime(t)){var F=!1,N=null,k=-1,R=0;try{for(var M=__values(t),O=M.next(),x,_;!O.done;O=M.next()){if(null==(x=O.value)||ht.stimulsoft.equals(x))continue;T=!1,x instanceof mt&&(_=x,F?N<_&&(N=_,k=R):(N=_,F=!0,k=0)),R++}}catch(t){a={error:t}}finally{try{O&&!O.done&&(s=M.return)&&s.call(M)}finally{if(a)throw a.error}}if(v.indexOfSelectValue=k,T)return this.crossTab.emptyValue;return F?N:null}var k=-1,R=0;try{for(var j=__values(t),G=j.next(),x,H;!G.done;G=j.next()){if(null==(x=G.value)||ht.stimulsoft.equals(x))continue;T=!1,0==R?this.isAllowConvertToDecimal(x)&&(I=this.convertToDecimal(x),k=R):this.isAllowConvertToDecimal(x)&&I<(H=this.convertToDecimal(x))&&(I=H,k=R),R++}}catch(t){l={error:t}}finally{try{G&&!G.done&&(u=j.return)&&u.call(j)}finally{if(l)throw l.error}}if(v.indexOfSelectValue=k,T)return this.crossTab.emptyValue;return I;case pt.StiSummaryType.Min:if(null!=t&&0<t.length&&this.isDateTime(t)){var F=!1,Q=null,k=-1,R=0;try{for(var L=__values(t),Y=L.next(),x,_;!Y.done;Y=L.next()){if(null==(x=Y.value)||ht.stimulsoft.equals(x))continue;T=!1,x instanceof mt&&(_=x,F?_<Q&&(Q=_,k=R):(Q=_,F=!0,k=0)),R++}}catch(t){c={error:t}}finally{try{Y&&!Y.done&&(p=L.return)&&p.call(L)}finally{if(c)throw c.error}}if(v.indexOfSelectValue=k,T)return this.crossTab.emptyValue;return F?Q:null}var U=0,k=-1;try{for(var J=__values(t),W=J.next(),x,H;!W.done;W=J.next()){if(null==(x=W.value)||ht.stimulsoft.equals(x))continue;T=!1,0==U?this.isAllowConvertToDecimal(x)&&(I=this.convertToDecimal(x),k=0):this.isAllowConvertToDecimal(x)&&(H=this.convertToDecimal(x))<I&&(I=H,k=U),U++}}catch(t){h={error:t}}finally{try{W&&!W.done&&(m=J.return)&&m.call(J)}finally{if(h)throw h.error}}if(v.indexOfSelectValue=k,T)return this.crossTab.emptyValue;return I;case pt.StiSummaryType.Count:if(null==t||0==t.length)return 0;var V=0;try{for(var z=__values(t),X=z.next();!X.done;X=z.next()){var x=X.value,T=!1,K=0;this.isAllowConvertToDecimal(x)&&(K=this.convertToDecimal(x)),B==pt.StiSummaryValues.AllValues&&V++,B==pt.StiSummaryValues.SkipNulls&&null!=x&&V++,B==pt.StiSummaryValues.SkipZerosAndNulls&&null!=x&&0!=K&&V++}}catch(t){d={error:t}}finally{try{X&&!X.done&&(g=z.return)&&g.call(z)}finally{if(d)throw d.error}}if(T)return this.crossTab.emptyValue;return V;case pt.StiSummaryType.Average:if(null!=t&&0<t.length&&this.isDateTime(t)){var Z=0,q=0;try{for(var $=__values(t),tt=$.next(),x,_;!tt.done;tt=$.next()){if(null==(x=tt.value)||ht.stimulsoft.equals(x))continue;T=!1,x instanceof mt&&(Z+=(_=x).ticks,q++)}}catch(t){f={error:t}}finally{try{tt&&!tt.done&&(S=$.return)&&S.call($)}finally{if(f)throw f.error}}if(0==q)return null;if(T)return this.crossTab.emptyValue;return new mt(Z/q)}if(null==t||0==t.length)return 0;var et=0;try{for(var rt=__values(t),nt=rt.next(),x;!nt.done;nt=rt.next()){if(null==(x=nt.value)||ht.stimulsoft.equals(x))continue;T=!1;var K=0;this.isAllowConvertToDecimal(x)&&(I+=K=this.convertToDecimal(x)),B==pt.StiSummaryValues.AllValues&&et++,B==pt.StiSummaryValues.SkipNulls&&null!=x&&et++,B==pt.StiSummaryValues.SkipZerosAndNulls&&null!=x&&0!=K&&et++}}catch(t){y={error:t}}finally{try{nt&&!nt.done&&(A=rt.return)&&A.call(rt)}finally{if(y)throw y.error}}if(0==et)return 0;if(T)return this.crossTab.emptyValue;return Math.round2(I/et,4);case pt.StiSummaryType.CountDistinct:if(null==t||0==t.length)return 0;var it=new dt,ot=0,at=!1;try{for(var st=__values(t),lt=st.next();!lt.done;lt=st.next()){var x=lt.value,K=0,ut=T=!1;if(this.isAllowConvertToDecimal(x)&&(K=this.convertToDecimal(x),ut=!0),null==x)B==pt.StiSummaryValues.AllValues&&(at||(at=!0,ot++));else if(null==it.get(x)){if(0==K&&ut&&B==pt.StiSummaryValues.SkipZerosAndNulls)continue;it.set(x,x),ot++}}}catch(t){b={error:t}}finally{try{lt&&!lt.done&&(C=st.return)&&C.call(st)}finally{if(b)throw b.error}}if(T)return this.crossTab.emptyValue;return ot}return I},m.prototype.copySummaries=function(t,e,r){for(var n,i,o,a,s,l,u,c,p=this.getRowsArray(),h=this.getColsArray(),m=Q.create(Array,this.colsHeaderHeight*this.oneCellSize),d=0;d<m.length;d++)m[d]=[];var g=0,f=0;try{for(var S=__values(p),y=S.next();!y.done;y=S.next()){for(var A=y.value,d=0;d<m.length;d++)m[d].stimulsoft.clear();f=0;try{for(var b=(o=void 0,__values(h)),C=b.next(),v;!C.done;C=b.next()){if((v=C.value).isTotal)for(var w=0;w<this.oneCellSize;w++){var B=m[v.level*this.oneCellSize+w],I=this.getSummary2(B,w,!0);B.stimulsoft.clear();var T=0,E=0,R,D;E=this.summaryDirection==pt.StiSummaryDirection.UpToDown?(T=t+f,e+g*this.oneCellSize+w):(T=t+f*this.oneCellSize+w,e+g),(R=this.summaryContainer.getSummary(v,A,!0)).sums[w].push(I),this.invokeEvents(this.sumFields.getByIndex(w)),(D=this.setCellValue(T,E,I,w,v.level,pt.StiFieldType.Column,this.sumFields.getByIndex(w).hyperlinkValue,this.sumFields.getByIndex(w).toolTipValue,this.sumFields.getByIndex(w).tagValue,this.sumFields.getByIndex(w).drillDownParameters)).summaryIndex=w,D.isCrossSummary=!0,this.sumFields.getByIndex(w).summary!=pt.StiSummaryType.Image&&this.sumFields.getByIndex(w).summary!=pt.StiSummaryType.None||(D.value=null,D.text="");var P=0;D.isNumeric&&null!=D.value&&(P=D.value.stimulsoft.toNumber());for(var x=!1,F=T-1;0<=F;F--){var N=this.cells[F][E];if(null!=N.field&&!N.field.is(ct.StiCrossSummary))break;var k=0;N.isNumeric&&(k=N.value.stimulsoft.toNumber()),k=0!=P?Math.round2(k/P*100,2):0,N.isNumeric&&null!=N.field&&N.field.is(ct.StiCrossSummary)&&N.field.showPercents&&(N.value=k,N.text=L.format("{0}%",k),x=!0)}x&&null!=D.field&&D.field.is(ct.StiCrossTotal)&&(D.text="100%"),this.sumFields.getByIndex(w).useStyleOfSummaryInColumnTotal&&this.setCellField(T,E,this.sumFields.getByIndex(w).clone().stimulsoft.as(ct.StiCrossField))}else for(var R=this.summaryContainer.getSummary(v,A,!1),M=this.copySummary(R,t,e,f,g,!0,!1,r),d=0;d<this.colsHeaderHeight;d++)for(var w=0,B;w<this.oneCellSize;w++){(B=m[d*this.oneCellSize+w]).push(M[w])}f++}}catch(t){o={error:t}}finally{try{C&&!C.done&&(a=b.return)&&a.call(b)}finally{if(o)throw o.error}}g++}}catch(t){n={error:t}}finally{try{y&&!y.done&&(i=S.return)&&i.call(S)}finally{if(n)throw n.error}}m=Q.create(Array,this.rowsHeaderWidth*this.oneCellSize);for(var d=0;d<m.length;d++)m[d]=[];f=0;try{for(var O=__values(h),_=O.next();!_.done;_=O.next()){for(var v=_.value,d=0;d<this.rowsHeaderWidth*this.oneCellSize;d++)m[d].stimulsoft.clear();g=0;try{for(var j=(u=void 0,__values(p)),G=j.next(),A;!G.done;G=j.next()){if((A=G.value).isTotal)for(var w=0;w<this.oneCellSize;w++){var B=m[A.level*this.oneCellSize+w],H=f==h.length-1&&g==p.length-1,I=this.getSummary2(B,w,!0,H);B.stimulsoft.clear();var T=0,E=0,D;E=this.summaryDirection==pt.StiSummaryDirection.UpToDown?(T=t+f,e+g*this.oneCellSize+w):(T=t+f*this.oneCellSize+w,e+g),this.invokeEvents(this.sumFields.getByIndex(w)),(D=this.setCellValue(T,E,I,w,A.level,pt.StiFieldType.Row,this.sumFields.getByIndex(w).hyperlinkValue,this.sumFields.getByIndex(w).toolTipValue,this.sumFields.getByIndex(w).tagValue,this.sumFields.getByIndex(w).drillDownParameters)).summaryIndex=w,this.sumFields.getByIndex(w).summary!=pt.StiSummaryType.Image&&this.sumFields.getByIndex(w).summary!=pt.StiSummaryType.None||(D.value=null,D.text=""),this.sumFields.getByIndex(w).useStyleOfSummaryInRowTotal&&this.setCellField(T,E,this.sumFields.getByIndex(w).clone().stimulsoft.as(ct.StiCrossField))}else for(var R=this.summaryContainer.getSummary(v,A,!1),M=this.copySummary(R,t,e,f,g,!1,h.indexOf(v)==h.length-1,r),d=0;d<this.rowsHeaderWidth;d++)for(var w=0,B;w<this.oneCellSize;w++){(B=m[d*this.oneCellSize+w]).push(M[w])}g++}}catch(t){u={error:t}}finally{try{G&&!G.done&&(c=j.return)&&c.call(j)}finally{if(u)throw u.error}}f++}}catch(t){s={error:t}}finally{try{_&&!_.done&&(l=O.return)&&l.call(O)}finally{if(s)throw s.error}}},m.prototype.copySummary=function(t,e,r,n,i,o,a,s){for(var l=Q.create(Object,this.oneCellSize),u=0;u<this.oneCellSize;u++){var c=s;null!=t&&(c=this.getSummary(t,u,a),l[u]=c);var p=0,h=0,h=this.summaryDirection==pt.StiSummaryDirection.UpToDown?(p=e+n,r+i*this.oneCellSize+u):(p=e+n*this.oneCellSize+u,r+i),m=null!=t?t.hyperlinkValues[u]:null,d=null!=t?t.toolTipValues[u]:null,g=null!=t?t.tagValues[u]:null,f=null!=t&&null!=t.drillDownParameters?t.drillDownParameters[u]:null,S;if(!o||p>=this.widths.length||h>=this.heights.length)continue;this.setCellValue(p,h,c,u,0,pt.StiFieldType.Cell,m,d,g,f).summaryIndex=u}return l},m.prototype.getSummary=function(t,e,r){var n,i,o=[];try{for(var a=__values(t.sums[e]),s=a.next();!s.done;s=a.next()){var l=s.value;o.push(l)}}catch(t){n={error:t}}finally{try{s&&!s.done&&(i=a.return)&&i.call(a)}finally{if(n)throw n.error}}return this.getSummaryResult(o,e,r)},m.prototype.isHideZeros=function(t){return null!=t&&a.isNumericType(a.getType(t))&&0==s.tryToNumber(t)},m.prototype.isDateTime=function(t){var e,r;try{for(var n=__values(t),i=n.next();!i.done;i=n.next()){var o=i.value;if(null!=o&&o instanceof mt)return!0}}catch(t){e={error:t}}finally{try{i&&!i.done&&(r=n.return)&&r.call(n)}finally{if(e)throw e.error}}return!1},m.convertValueToString=function(t,e){if(null==t)return"";if("number"==typeof t&&0==t&&e.hideZeros)return"";if("number"==typeof t)return e.textFormat.format(t);if(t instanceof mt)return e.textFormat.format(t);return t.toString()},m.prototype.setCellValue=function(t,e,r,n,i,o,a,s,l,u){switch(o){case pt.StiFieldType.Column:var c=this.getColumnTotalCell(i,n),p=m.convertValueToString(r,c),h=this.setCell(t,e,1,1,p,r,c,null!=r&&"number"==typeof r,a,s,l,u);return m.checkNegativeColor(r,c,h),h;case pt.StiFieldType.Row:var c=this.getRowTotalCell(i,n),p=m.convertValueToString(r,c),h=this.setCell(t,e,1,1,p,r,c,null!=r&&"number"==typeof r,a,s,l,u);return m.checkNegativeColor(r,c,h),h;case pt.StiFieldType.Cell:var c=this.sumFields.getByIndex(n),p=m.convertValueToString(r,c),h=this.setCell(t,e,1,1,p,r,c,null!=r&&"number"==typeof r,a,s,l,u);return m.checkNegativeColor(r,c,h),h}return null},m.checkNegativeColor=function(t,e,r){var t;v.Report.Components.TextFormats.StiNegativeColorChecker.isNegativeInRed(e.textFormat)&&(t=s.tryToNullableNumber(t),r.isNegativeColor=null!=t&&t<0)},m.prototype.getColumnTotalCell=function(t,e){var r=this.columnsCell.get(t*this.oneCellSize+e),n,r;return null==r&&(r=this.colFields.getByIndex(t).stimulsoft.as(ct.StiCrossHeader).total.clone(!0).stimulsoft.as(ct.StiCrossField),this.columnsCell.set(t*this.oneCellSize+e,r),r.horAlignment=this.sumFields.getByIndex(e).horAlignment,r.vertAlignment=this.sumFields.getByIndex(e).vertAlignment,r.textFormat=this.sumFields.getByIndex(e).textFormat.clone().stimulsoft.as(o)),r},m.prototype.getRowTotalCell=function(t,e){var r=this.rowsCell.get(t*this.oneCellSize+e);return null==r&&(r=this.rowFields.getByIndex(t).total.clone(!0).stimulsoft.as(ct.StiCrossField),this.rowsCell.set(t*this.oneCellSize+e,r),r.horAlignment=this.sumFields.getByIndex(e).horAlignment,r.vertAlignment=this.sumFields.getByIndex(e).vertAlignment,r.textFormat=this.sumFields.getByIndex(e).textFormat.clone().stimulsoft.as(o)),r},m.prototype.getRowsArray=function(){var t=[];return this.getRowsArray2(this.rows,t),t},m.prototype.getRowsArray2=function(t,e){var r,n;try{for(var i=__values(t.list),o=i.next();!o.done;o=i.next()){var a=o.value;0==a.rows.count&&e.push(a),this.getRowsArray2(a.rows,e)}}catch(t){r={error:t}}finally{try{o&&!o.done&&(n=i.return)&&n.call(i)}finally{if(r)throw r.error}}},m.prototype.getColsArray=function(){var t=[];return this.getColsArray2(this.cols,t),t},m.prototype.getColsArray2=function(t,e){var r,n;try{for(var i=__values(t.list),o=i.next();!o.done;o=i.next()){var a=o.value;0==a.cols.count&&e.push(a),this.getColsArray2(a.cols,e)}}catch(t){r={error:t}}finally{try{o&&!o.done&&(n=i.return)&&n.call(i)}finally{if(r)throw r.error}}},m.prototype.getRowsHeaderWidth=function(){if(this.isRowsEmpty)return 0;return this.getRowsHeaderWidth2(this.rows)},m.prototype.getRowsHeaderWidth2=function(t){var e=0;while(0<t.count)e++,t=t.getByIndex(0).rows;return e},m.prototype.getColsHeaderHeight=function(){if(this.isColsEmpty)return 0;return this.getColsHeaderHeight2(this.cols)},m.prototype.getColsHeaderHeight2=function(t){var e=0;while(0<t.count)e++,t=t.getByIndex(0).cols;return e},m.prototype.getRowsHeight=function(t,e,r){var n,i;void 0===t&&(t=this.rows),void 0===e&&(e=this.getRowsHeaderWidth()),void 0===r&&(r=0);var o=0;try{for(var a=__values(t.list),s=a.next();!s.done;s=a.next()){var l=s.value;o+=this.getRowsHeight(l.rows,e,r+1),r==e-1&&(o+=this.oneCellHeight)}}catch(t){n={error:t}}finally{try{s&&!s.done&&(i=a.return)&&i.call(a)}finally{if(n)throw n.error}}return o},m.prototype.getColsWidth=function(t,e,r){var n,i;void 0===t&&(t=this.cols),void 0===e&&(e=this.getColsHeaderHeight()),void 0===r&&(r=0);var o=0;try{for(var a=__values(t.list),s=a.next();!s.done;s=a.next()){var l=s.value;o+=this.getColsWidth(l.cols,e,r+1),r==e-1&&(o+=this.oneCellWidth)}}catch(t){n={error:t}}finally{try{s&&!s.done&&(i=a.return)&&i.call(a)}finally{if(n)throw n.error}}return o},m.prototype.enumerateRows=function(t,e){var r,n,i=this.rowFields.getByIndex(e).stimulsoft.as(ct.StiCrossRow),o=i.enumeratorSeparator,a=0;try{for(var s=__values(t.list),l=s.next();!l.done;l=s.next()){var u=l.value,c,c;null!=u.rows&&0<u.rows.count&&this.enumerateRows(u.rows,e+1),i.enumeratorType!=pt.StiEnumeratorType.None&&(a++,c=null,c=i.enumeratorType==pt.StiEnumeratorType.Arabic?a.toString():i.enumeratorType==pt.StiEnumeratorType.ABC?p.Func.Convert.toABC(a):p.Func.Convert.toRoman(a),u.displayValue=L.format("{0}{1}{2}",c,o,u.displayValue))}}catch(t){r={error:t}}finally{try{l&&!l.done&&(n=s.return)&&n.call(s)}finally{if(r)throw r.error}}},m.prototype.enumerateColumns=function(t,e){var r,n,i=this.colFields.getByIndex(e).stimulsoft.as(ct.StiCrossColumn),o=i.enumeratorSeparator,a=0;try{for(var s=__values(t.list),l=s.next();!l.done;l=s.next()){var u=l.value,c,c;null!=u.cols&&0<u.cols.count&&this.enumerateColumns(u.cols,e+1),i.enumeratorType!=pt.StiEnumeratorType.None&&(a++,c=null,c=i.enumeratorType==pt.StiEnumeratorType.Arabic?a.toString():i.enumeratorType==pt.StiEnumeratorType.ABC?p.Func.Convert.toABC(a):p.Func.Convert.toRoman(a),u.displayValue=L.format("{0}{1}{2}",c,o,u.displayValue))}}catch(t){r={error:t}}finally{try{l&&!l.done&&(n=s.return)&&n.call(s)}finally{if(r)throw r.error}}},m.prototype.checkSeparators=function(){for(var t=0,e=new dt,r=new dt,n=!1,i=0;i<this.colCount;i++){for(var o=1,a=0;a<this.rowCount;a++){var s=this.cells[i][a];if(s.parentCell==s&&s.text.stimulsoft.contains("#|#")&&1==s.width){for(var l=1,u=0;u<s.text.length;u++)u<s.text.length-3&&"#"==s.text[u]&&"|"==s.text[u+1]&&"#"==s.text[u+2]&&(e.set(s,s),n=!0,l++);o=Math.max(o,l)}}r.set(i,o),t+=o}if(t>this.colCount||n){var c=this.colCount,p=this.cells;this.init(t,this.rowCount);for(var h=0,i=0;i<c;i++){for(var m=Math.trunc(r.get(i)),o=1,a=0;a<this.rowCount;a++){var d=p[i][a];if(null!=e.get(d)&&d.parentCell==d){var g=d.text.split("#|#");o=Math.max(o,g.length+1),d.text=g[0],this.cells[h][a]=d;for(var u=1;u<g.length;u++){var f=d.clone().stimulsoft.as(pt.StiCell);(this.cells[h+u][a]=f).text=g[u]}}else d.parentCell.width+=m-1,this.cells[h][a]=d}h+=m}}},m.prototype.create=function(t,e,r,n){var i,o,a,s,l,u,c,p;this.summaryDirection=r,this.report=e,this.oneCellSize=this.sumFields.count,this.oneCellWidth=this.summaryDirection==pt.StiSummaryDirection.LeftToRight?this.oneCellSize:1,this.oneCellHeight=this.summaryDirection==pt.StiSummaryDirection.UpToDown?this.oneCellSize:1,this.summaryContainer=new pt.StiSummaryContainer(this.oneCellSize),this.rows.clear(),this.cols.clear(),this.calculateDataTable(t),this.calculateTopN(),this.sortRows(),this.sortCols(),0<this.rows.count&&this.enumerateRows(this.rows,0),0<this.cols.count&&this.enumerateColumns(this.cols,0),this.createRowTotals(),this.createColTotals(),this.colsHeaderHeight=this.getColsHeaderHeight(),this.rowsHeaderWidth=this.getRowsHeaderWidth(),this.isSummarySubHeadersPresent&&(r==pt.StiSummaryDirection.LeftToRight?this.colsHeaderHeight++:this.rowsHeaderWidth++),this.colsWidth=this.getColsWidth(),this.rowsHeight=this.getRowsHeight();var h=this.colsWidth+this.rowsHeaderWidth,t=this.rowsHeight+this.colsHeaderHeight;if(this.isRowsEmpty&&(t+=this.oneCellHeight),this.isColsEmpty&&(h+=this.oneCellWidth),this.widthCorrection=0,this.heightCorrection=0,this.isColsEmpty&&this.isSummaryPresent&&(this.heightCorrection=1),this.isRowsEmpty&&this.isSummaryPresent&&(this.widthCorrection=1),this.isRowsEmpty&&!this.isColsEmpty&&this.isSummariesEmpty&&(this.widthCorrection=1),this.isTopLinePresent&&this.heightCorrection++,V.prototype.init.call(this,h+this.widthCorrection,t+this.heightCorrection),this.isRowsEmpty&&this.isColsEmpty)return;var m=0;try{for(var d=__values(this.colFields.toCast()),g=d.next();!g.done;g=d.next()){var f=g.value,S=null,y,A;try{for(var b=(a=void 0,__values(this.colTitleFields.toCast())),C=b.next(),v;!C.done;C=b.next()){if((v=C.value).typeOfComponent=="Col:"+f.name){S=v;break}}}catch(t){a={error:t}}finally{try{C&&!C.done&&(s=b.return)&&s.call(b)}finally{if(a)throw a.error}}null!=S&&S.isEnabled&&(y=1,A=Math.max(this.rowsHeaderWidth,1),this.invokeEvents(S),this.setCell(0,m++,A,y,null==S.textValue?S.getTextInternal():S.textValue,n,S,!1,S.hyperlinkValue,S.toolTipValue,S.tagValue,S.drillDownParameters,-1,null,null,pt.StiCellType.CornerCol))}}catch(t){i={error:t}}finally{try{g&&!g.done&&(o=d.return)&&o.call(d)}finally{if(i)throw i.error}}var w=this.isRowTitlePresent,h,B;m=0;try{for(var I=__values(this.rowFields.toCast()),T=I.next();!T.done;T=I.next()){var E=T.value,S=null,A,y,R;try{for(var D=(c=void 0,__values(this.rowTitleFields.toCast())),P=D.next(),v;!P.done;P=D.next()){if((v=P.value).typeOfComponent=="Row:"+E.name){S=v;break}}}catch(t){c={error:t}}finally{try{P&&!P.done&&(p=D.return)&&p.call(D)}finally{if(c)throw c.error}}null!=S&&w&&(A=1,y=Math.max(this.colsHeaderHeight,1),R=this.isTopLinePresent?1:0,this.invokeEvents(S),r==pt.StiSummaryDirection.LeftToRight&&this.isColsEmpty&&1<this.sumFields.count&&y++,this.setCell(m++,R,A,y,null==S.textValue?S.getTextInternal():S.textValue,n,S,!1,S.hyperlinkValue,S.toolTipValue,S.tagValue,S.drillDownParameters,-1,null,null,pt.StiCellType.CornerRow))}}catch(t){l={error:t}}finally{try{T&&!T.done&&(u=I.return)&&u.call(I)}finally{if(l)throw l.error}}if(this.isSummarySubHeadersPresent)if(r==pt.StiSummaryDirection.LeftToRight)for(var x=this.colsHeaderHeight+this.heightCorrection-1,m=this.rowsHeaderWidth+this.widthCorrection,F=0,N=0==this.colsWidth?this.sumFields.count:this.colsWidth,k=0;k<N;k++){var M=this.sumHeaderFields.getByIndex(F).stimulsoft.as(ct.StiCrossSummaryHeader),O;this.designTime||(null!=M.text&&(null==M.originalValue?M.originalValue=M.text:M.text=M.originalValue),O=new W,M.invokeGetValue(M,O),M.setTextInternal(O.value)),this.invokeEvents(M),this.setCell(m,x,1,1,null==M.textValue?M.getTextInternal():M.textValue,n,M,!1,M.hyperlinkValue,M.toolTipValue,M.tagValue,M.drillDownParameters,-1,null,null,pt.StiCellType.HeaderColSummaryTotal),m++,++F==this.sumHeaderFields.count&&(F=0)}else{var _=this.rowsHeaderWidth+this.widthCorrection-1;m=this.colsHeaderHeight+this.heightCorrection;for(var j=0,G=0,G=0==this.rowsHeight?this.sumHeaderFields.count:this.rowsHeight,k=0;k<G;k++){var M=this.sumHeaderFields.getByIndex(j).stimulsoft.as(ct.StiCrossSummaryHeader),O;this.designTime||(null!=M.text&&(null==M.originalValue?M.originalValue=M.text:M.text=M.originalValue),O=new W,M.invokeGetValue(M,O),M.setTextInternal(O.value)),this.invokeEvents(M),this.setCell(_,m,1,1,null==M.textValue?M.getTextInternal():M.textValue,n,M,!1,M.hyperlinkValue,M.toolTipValue,M.tagValue,M.drillDownParameters,-1,null,null,pt.StiCellType.HeaderRowSummaryTotal),m++,++j==this.sumHeaderFields.count&&(j=0)}}this.isTopLinePresent&&(this.isLeftTopLinePresent&&(this.invokeEvents(this.leftCrossTitle),this.setCell(0,0,this.rowsHeaderWidth,1,null==this.leftCrossTitle.textValue?this.leftCrossTitle.getTextInternal():this.leftCrossTitle.textValue,n,this.leftCrossTitle,!1,this.leftCrossTitle.hyperlinkValue,this.leftCrossTitle.toolTipValue,this.leftCrossTitle.tagValue,this.leftCrossTitle.drillDownParameters,-1,null,null,pt.StiCellType.LeftTopLine)),this.isRightTopLinePresent&&0<h-this.rowsHeaderWidth&&(this.invokeEvents(this.rightCrossTitle),this.setCell(this.rowsHeaderWidth,0,h-this.rowsHeaderWidth,1,null==this.rightCrossTitle.textValue?this.rightCrossTitle.getTextInternal():this.rightCrossTitle.textValue,n,this.rightCrossTitle,!1,this.rightCrossTitle.hyperlinkValue,this.rightCrossTitle.toolTipValue,this.rightCrossTitle.tagValue,this.rightCrossTitle.drillDownParameters,-1,null,null,pt.StiCellType.RightTopLine))),null!=this.summaryCrossTitle&&(this.isColsEmpty&&(this.invokeEvents(this.summaryCrossTitle),this.setCell(this.rowsHeaderWidth,0,this.oneCellWidth,1,null==this.summaryCrossTitle.textValue?this.summaryCrossTitle.getTextInternal():this.summaryCrossTitle.textValue,n,this.summaryCrossTitle,!1,this.summaryCrossTitle.hyperlinkValue,this.summaryCrossTitle.toolTipValue,this.summaryCrossTitle.tagValue,this.summaryCrossTitle.drillDownParameters,-1,null,null,pt.StiCellType.HeaderCol)),this.isRowsEmpty&&(this.invokeEvents(this.summaryCrossTitle),h=r==pt.StiSummaryDirection.LeftToRight?this.colsHeaderHeight-1:this.colsHeaderHeight,B=r==pt.StiSummaryDirection.LeftToRight?this.oneCellHeight+1:this.oneCellHeight,this.setCell(0,h,1,B,null==this.summaryCrossTitle.textValue?this.summaryCrossTitle.getTextInternal():this.summaryCrossTitle.textValue,n,this.summaryCrossTitle,!1,this.summaryCrossTitle.hyperlinkValue,this.summaryCrossTitle.toolTipValue,this.summaryCrossTitle.tagValue,this.summaryCrossTitle.drillDownParameters,-1,null,null,pt.StiCellType.HeaderRow)));var B={ref:""};this.isRowsEmpty||this.copyRows(this.rows,0,this.colsHeaderHeight+this.heightCorrection,0,n,this.colsWidth,B),this.isColsEmpty||this.copyCols(this.cols,this.rowsHeaderWidth+this.widthCorrection,this.heightCorrection,0,n,this.rowsHeight,B),this.copySummaries(this.rowsHeaderWidth+this.widthCorrection,this.colsHeaderHeight+this.heightCorrection,n),this.designTime||this.checkSeparators(),this.report.cells.clear();for(var H=0;H<this.colCount;H++)for(var Q=0,L;Q<this.rowCount;Q++){(L=this.cells[H][Q]).isNumeric&&null!=L.value&&"number"==typeof L.value?this.report.cells.setCell(H,Q,L.value.stimulsoft.toNumber()):this.report.cells.setCell(H,Q,0)}for(var H=0;H<this.colCount;H++)for(var Q=0,L;Q<this.rowCount;Q++){if((L=this.cells[H][Q]).parentCell==L){L.field.is(ct.StiCrossSummary)&&L.field.summary==pt.StiSummaryType.Image&&(L.isImage=!0);var Y=new ct.StiProcessCellEventArgs;Y.row=Q,Y.column=H;var U=0;if(null!=(Y.cell=L).value&&"number"==typeof L.value&&(U=L.value.stimulsoft.toNumber()),Y.text=L.text,Y.value=U,e.cells.distX=H,e.cells.distY=Q,L.field.is(ct.StiCrossTotal)&&(L.field=L.field),null!=L.field&&L.field.invokeProcessCell(Y),Y.value!=U?(this.report.cells.setCell(H,Q,Y.value),L.value=Y.value,L.text=L.field.textFormat.format(Y.value)):L.text=Y.text,L.isNumeric&&null!=L.field){if(L.field.hideZeros&&null!=L.value&&"number"==typeof L.value&&0==L.value.stimulsoft.toNumber())continue;null!=L.value&&(L.field.excelDataValue=L.value.toString())}}}if(this.isRowsEmpty&&!this.isColsEmpty&&this.isSummariesEmpty){this.heights.splice(this.heights.length-1,1);for(var J=0;J<this.cells.length;J++)this.cells[J].splice(this.cells[J].length-1,1)}},m.prototype.clear=function(){var t=!1,e;return null!=this.cells&&1<this.cells.length&&null!=this.cells[0]&&5e4<this.cells.length*this.cells[0].length&&(t=!0),this.cells=null,t},m.prototype.getCorrectedColumnsHeaderHeight=function(){return this.colsHeaderHeight+this.heightCorrection},Object.defineProperty(m.prototype,"isSummaryPresent",{get:function(){if(this.report.isDesigning)return!0;return null!=this.summaryCrossTitle&&this.summaryCrossTitle.isEnabled},enumerable:!1,configurable:!0}),Object.defineProperty(m.prototype,"isRowTitlePresent",{get:function(){var e,t;if(this.report.isDesigning)return!0;try{for(var r=__values(this.rowFields.toCast()),n=r.next(),i;!n.done;n=r.next()){if(!n.value.isEnabled)return!1}}catch(t){e={error:t}}finally{try{n&&!n.done&&(t=r.return)&&t.call(r)}finally{if(e)throw e.error}}return!0},enumerable:!1,configurable:!0}),Object.defineProperty(m.prototype,"isTopLinePresent",{get:function(){if(this.isColsEmpty)return!1;if(null==this.leftCrossTitle&&null==this.rightCrossTitle)return!1;if(this.report.isDesigning)return!0;if(this.leftCrossTitle.isEnabled&&this.rightCrossTitle.isEnabled)return!0;return!1},enumerable:!1,configurable:!0}),Object.defineProperty(m.prototype,"isTopCrossTitleVisible",{get:function(){return!this.isRowsEmpty&&this.isCrossTitleEnabled},enumerable:!1,configurable:!0}),Object.defineProperty(m.prototype,"isLeftCrossTitleVisible",{get:function(){return!this.isTopCrossTitleVisible&&this.isCrossTitleEnabled},enumerable:!1,configurable:!0}),Object.defineProperty(m.prototype,"isCrossTitleEnabled",{get:function(){return null!=this.leftCrossTitle&&this.leftCrossTitle.enabled&&null!=this.rightCrossTitle&&this.rightCrossTitle.enabled||null!=this.summaryCrossTitle&&this.summaryCrossTitle.enabled},enumerable:!1,configurable:!0}),Object.defineProperty(m.prototype,"isCrossTitlePrintOnAllPages",{get:function(){return null!=this.leftCrossTitle&&this.leftCrossTitle.printOnAllPages&&null!=this.rightCrossTitle&&this.rightCrossTitle.printOnAllPages||null!=this.summaryCrossTitle&&this.summaryCrossTitle.printOnAllPages},enumerable:!1,configurable:!0}),Object.defineProperty(m.prototype,"isShowSummarySubHeaders",{get:function(){var e,t;if(this.designTime)return!0;try{for(var r=__values(this.sumHeaderFields.toCast()),n=r.next(),i;!n.done;n=r.next()){if(n.value.enabled)return!0}}catch(t){e={error:t}}finally{try{n&&!n.done&&(t=r.return)&&t.call(r)}finally{if(e)throw e.error}}return!1},enumerable:!1,configurable:!0}),Object.defineProperty(m.prototype,"isSummarySubHeadersPresent",{get:function(){return 1<this.sumFields.count&&this.isShowSummarySubHeaders&&1<this.sumHeaderFields.count},enumerable:!1,configurable:!0}),Object.defineProperty(m.prototype,"isLeftTopLinePresent",{get:function(){if(!this.isTopLinePresent)return!1;if(null==this.leftCrossTitle)return!1;if(this.report.isDesigning)return!0;return this.leftCrossTitle.isEnabled},enumerable:!1,configurable:!0}),Object.defineProperty(m.prototype,"isRightTopLinePresent",{get:function(){if(!this.isTopLinePresent)return!1;if(null==this.rightCrossTitle)return!1;if(this.report.isDesigning)return!0;return this.rightCrossTitle.isEnabled},enumerable:!1,configurable:!0}),Object.defineProperty(m.prototype,"isRowsEmpty",{get:function(){return 1==this.rowFields.count&&this.rowFields.getByIndex(0).name==this.emptyField},enumerable:!1,configurable:!0}),Object.defineProperty(m.prototype,"isColsEmpty",{get:function(){return 1==this.colFields.count&&this.colFields.getByIndex(0).name==this.emptyField},enumerable:!1,configurable:!0}),Object.defineProperty(m.prototype,"isSummariesEmpty",{get:function(){return 1==this.sumFields.count&&this.sumFields.getByIndex(0).name==this.emptyField},enumerable:!1,configurable:!0}),Object.defineProperty(m.prototype,"rowFields",{get:function(){return this._rowFields},set:function(t){var e;null!=t&&0!=t.count||(null==t?t=new n:t.clear(),(e=new ct.StiCrossRow).name=this.emptyField,t.add(e)),this._rowFields=t},enumerable:!1,configurable:!0}),Object.defineProperty(m.prototype,"colFields",{get:function(){return this._colFields},set:function(t){var e;null!=t&&0!=t.count||(null==t?t=new n:t.clear(),(e=new ct.StiCrossColumn).name=this.emptyField,t.add(e)),this._colFields=t},enumerable:!1,configurable:!0}),Object.defineProperty(m.prototype,"sumFields",{get:function(){return this._sumFields},set:function(t){var e;null!=t&&0!=t.count||(null==t?t=new n:t.clear(),(e=new ct.StiCrossSummary).name=this.emptyField,t.add(e)),this._sumFields=t},enumerable:!1,configurable:!0}),Object.defineProperty(m.prototype,"sumHeaderFields",{get:function(){return this._sumHeaderFields},set:function(t){var e;null!=t&&0!=t.count||(null==t?t=new n:t.clear(),(e=new ct.StiCrossSummaryHeader).name=this.emptyField,t.add(e)),this._sumHeaderFields=t},enumerable:!1,configurable:!0}),m.emptyField="EMPTY_FIELD",u=m,pt.StiCross=u}(Stimulsoft=Stimulsoft||{}),function(t){var e,t,r,n,i,o;function a(t,e){this.hyperlinkValue=null,this.tagValue=null,this.toolTipValue=null,this.drillDownParameters=null,this.isTotal=!1,this.level=-1,this.value=t,this.displayValue=e,this.rows=new i.StiRowCollection}t=e=t.Report||(t.Report={}),t=r=t.CrossTab||(t.CrossTab={}),(i=n=t.Core||(t.Core={})).StiRow=a}(Stimulsoft=Stimulsoft||{}),function(t){var e,r,n,i,o,a,s,l;function u(){var t=null!==l&&l.apply(this,arguments)||this;return t.directionFactor=1,t.sortType=o.StiSortType.ByDisplayValue,t.items=new a,t}r=e=t.Report||(t.Report={}),r=n=r.CrossTab||(r.CrossTab={}),o=i=r.Core||(r.Core={}),r=t.System.Collections.CollectionBase,a=t.System.Collections.Hashtable,s=t.System.Data.DBNull,__extends(u,l=r),u.prototype.compare=function(t,e){var r=t.stimulsoft.as(o.StiRow),n=e.stimulsoft.as(o.StiRow),t=r.parentCollection.sortType,e=r.parentCollection.directionFactor;if(t==o.StiSortType.ByDisplayValue){if(null!=r.displayValue&&r.displayValue!=s.value){if(n.displayValue==s.value)return-1;if(null!=n.othersText)return-1;if(null!=r.othersText)return 1;return r.displayValue.stimulsoft.compareTo(n.displayValue)*e}return 1}if(null!=r.value&&r.value!=s.value){if(n.value==s.value)return-1;if(null!=n.othersText)return-1;if(null!=r.othersText)return 1;return r.value.stimulsoft.compareTo(n.value)*e}return 1},u.prototype.add2=function(t,e){var e=new o.StiRow(t,e);this.add(e)},u.prototype.add=function(t){l.prototype.add.call(this,t),t.parentCollection=this,t.isTotal||this.items.add(t.value,t)},u.prototype.clear=function(){this.list.stimulsoft.clear(),this.items.clear()},u.prototype.sort=function(t,e){this.sortType=e,t==o.StiSortDirection.Asc?this.directionFactor=1:this.directionFactor=-1,this.list.sort(this.compare)},u.prototype.getByValue=function(t){var e,r;try{for(var n=__values(this.list),i=n.next();!i.done;i=n.next()){var o=i.value;if(o.value==t)return o}}catch(t){e={error:t}}finally{try{i&&!i.done&&(r=n.return)&&r.call(n)}finally{if(e)throw e.error}}return null},r=u,o.StiRowCollection=r}(Stimulsoft=Stimulsoft||{}),function(t){var e,r,n,i,o,a;function s(t){this.sums=null,this.hyperlinkValues=null,this.tagValues=null,this.toolTipValues=null,this.drillDownParameters=null,this.sums=o.create(Array,t),this.hyperlinkValues=o.create(Object,t),this.tagValues=o.create(Object,t),this.toolTipValues=o.create(Object,t);for(var e=0;e<t;e++)this.sums[e]=[]}r=e=t.Report||(t.Report={}),r=n=r.CrossTab||(r.CrossTab={}),r=i=r.Core||(r.Core={}),o=t.System.StiArray,r.StiSummary=s}(Stimulsoft=Stimulsoft||{}),function(t){var e,r,n,i,o,a;function s(t){this.level=0,this.dataCol=new a,this.level=t}r=e=t.Report||(t.Report={}),r=n=r.CrossTab||(r.CrossTab={}),o=i=r.Core||(r.Core={}),a=t.System.Collections.Hashtable,s.prototype.getSummary=function(t,e,r){void 0===r&&(r=!0);var n=this.dataCol.get(t);if(null==n){if(!r)return null;this.dataCol.set(t,new a),n=this.dataCol.get(t)}var t=n.get(e);if(null==t){if(!r)return null;t=new o.StiSummary(this.level),n.set(e,t)}return t},s.prototype.getDataCol=function(){return this.dataCol},r=s,o.StiSummaryContainer=r}(Stimulsoft=Stimulsoft||{}),function(t){var e,r,n,i,o;function a(){return null!==o&&o.apply(this,arguments)||this}r=e=t.Report||(t.Report={}),i=n=r.CrossTab||(r.CrossTab={}),r=t.Report.Events.StiEvent,__extends(a,o=r),a.prototype.toString=function(){return"GetCrossValue"},r=a,i.StiGetCrossValueEvent=r}(Stimulsoft=Stimulsoft||{}),function(t){var e,r,n,i,o;function a(){return null!==o&&o.apply(this,arguments)||this}r=e=t.Report||(t.Report={}),i=n=r.CrossTab||(r.CrossTab={}),r=t.System.EventArgs,__extends(a,o=r),r=a,i.StiGetCrossValueEventArgs=r}(Stimulsoft=Stimulsoft||{}),function(t){var e,r,n,i,o;function a(){return null!==o&&o.apply(this,arguments)||this}r=e=t.Report||(t.Report={}),i=n=r.CrossTab||(r.CrossTab={}),r=t.Report.Events.StiEvent,__extends(a,o=r),a.prototype.toString=function(){return"GetDisplayCrossValue"},r=a,i.StiGetDisplayCrossValueEvent=r}(Stimulsoft=Stimulsoft||{}),function(t){var e,r,n,i,o;function a(){return null!==o&&o.apply(this,arguments)||this}r=e=t.Report||(t.Report={}),i=n=r.CrossTab||(r.CrossTab={}),r=t.Report.Events.StiEvent,__extends(a,o=r),a.prototype.toString=function(){return"ProcessCell"},r=a,i.StiProcessCellEvent=r}(Stimulsoft=Stimulsoft||{}),function(t){var e,r,n,i,o;function a(){return null!==o&&o.apply(this,arguments)||this}r=e=t.Report||(t.Report={}),i=n=r.CrossTab||(r.CrossTab={}),r=t.System.EventArgs,__extends(a,o=r),r=a,i.StiProcessCellEventArgs=r}(Stimulsoft=Stimulsoft||{}),function(t){var e,t,r,n;t=e=t.Report||(t.Report={}),t=r=t.CrossTab||(t.CrossTab={}),(t=n=t.StiCrossHorAlignment||(t.StiCrossHorAlignment={}))[t["Left"]=0]="Left",t[t["Center"]=1]="Center",t[t["Right"]=2]="Right",t[t["None"]=3]="None",t[t["Width"]=4]="Width"}(Stimulsoft=Stimulsoft||{}),function(r){var t,n,e,s,o,l,i,u;function a(){var t=null!==u&&u.apply(this,arguments)||this;return t.getCrossValueEvent=new s.StiGetCrossValueEvent,t.val="",t}n=t=r.Report||(r.Report={}),s=e=n.CrossTab||(n.CrossTab={}),o=r.System.StiString,l=r.Report.Expressions.StiExpression,u=s.StiCrossField,__extends(a,u),a.prototype.saveToJsonObject=function(t){var e=u.prototype.saveToJsonObject.call(this,t);return e.addPropertyJObject("GetCrossValueEvent",this.getCrossValueEvent.saveToJsonObject(t)),e.addPropertyJObject("Value",new l(this.value).saveToJsonObject(t)),e},a.prototype.loadFromJsonObject=function(t){var e,r;u.prototype.loadFromJsonObject.call(this,t);try{for(var n=__values(t.properties()),i=n.next();!i.done;i=n.next()){var o=i.value;switch(o.name){case"GetCrossValueEvent":var a=new s.StiGetCrossValueEvent;a.loadFromJsonObject(o.value),this.getCrossValueEvent=a;break;case"Value":var a=new l;a.loadFromJsonObject(o.value),this.val=a.value;break}}}catch(t){e={error:t}}finally{try{i&&!i.done&&(r=n.return)&&r.call(n)}finally{if(e)throw e.error}}},a.prototype.loadFromXml=function(t,e){u.prototype.loadFromXml.call(this,t,e);var e=t.getAttribute("Ref");!o.isNullOrEmpty(e)&&this.report.jsonLoaderHelper&&(this.report.jsonLoaderHelper.refNames[e.stimulsoft.toNumber()]=t.nodeName);for(var r=0;r<t.childNodes.length;r++){var n=t.childNodes[r];switch(n.nodeName){case"GetCrossValueEvent":break;case"Value":var i=new l;i.loadFromXml(n),this.val=i.value;break}}},a.prototype.paint=function(t){this.parent.is(s.StiCrossTab)&&this.setTextInternal(this.cellText)},a.prototype.onGetCrossValue=function(t){},a.prototype.invokeGetCrossValue=function(t){var e;this.report.calculationMode==n.StiCalculationMode.Compilation?this.onGetCrossValue(t):(this.onGetCrossValue(t),null!=(e=r.Report.Engine.StiParser.StiParser.parseTextValue(this.value,this))&&(t.value=e))},Object.defineProperty(a.prototype,"value",{get:function(){return this.getValue()},set:function(t){this.setValue(t)},enumerable:!1,configurable:!0}),a.prototype.getValue=function(){return this.val},a.prototype.setValue=function(t){this.val=t},i=a,s.StiCrossCell=i}(Stimulsoft=Stimulsoft||{}),function(r){var t,n,e,s,o,i,a,l,u,c,p,h,m;function d(){var t=m.call(this)||this;return t.getDisplayCrossValueEvent=new s.StiGetDisplayCrossValueEvent,t._displayValue="",t._headerLevel=-1,t._headerValue=null,t._totalGuid=null,t._showTotal=!0,t._sortDirection=u.Asc,t._sortType=l.ByDisplayValue,t._printOnAllPages=!0,t.brush=new i(a.lightGray),t}n=t=r.Report||(r.Report={}),s=e=n.CrossTab||(n.CrossTab={}),o=r.System.StiString,i=r.Base.Drawing.StiSolidBrush,a=r.System.Drawing.Color,l=r.Report.CrossTab.Core.StiSortType,u=r.Report.CrossTab.Core.StiSortDirection,c=r.Report.Expressions.StiExpression,p=r.System.Enum,m=s.StiCrossCell,__extends(d,m),d.prototype.saveToJsonObject=function(t){var e=m.prototype.saveToJsonObject.call(this,t);return e.removeProperty("HideZeros"),e.addPropertyJObject("GetDisplayCrossValueEvent",this.getDisplayCrossValueEvent.saveToJsonObject(t)),e.addPropertyJObject("DisplayValue",new c(this.displayValue).saveToJsonObject(t)),e.addPropertyStringNullOrEmpty("TotalGuid",this.totalGuid),e.addPropertyBool("ShowTotal",this.showTotal,!0),e.addPropertyEnum("SortDirection",u,this.sortDirection,u.Asc),e.addPropertyEnum("SortType",l,this.sortType,l.ByDisplayValue),e.addPropertyBool("PrintOnAllPages",this.printOnAllPages,!0),e},d.prototype.loadFromJsonObject=function(t){var e,r;m.prototype.loadFromJsonObject.call(this,t);try{for(var n=__values(t.properties()),i=n.next();!i.done;i=n.next()){var o=i.value;switch(o.name){case"GetDisplayCrossValueEvent":var a=new s.StiGetDisplayCrossValueEvent;a.loadFromJsonObject(o.value),this.getDisplayCrossValueEvent=a;break;case"DisplayValue":var a=new c;a.loadFromJsonObject(o.value),this.displayValue=a.value;break;case"TotalGuid":this.totalGuid=o.value.toString();break;case"ShowTotal":this.showTotal=o.value.stimulsoft.toBoolean();break;case"SortDirection":this.sortDirection=p.parse(u,o.value.toString());break;case"SortType":this.sortType=p.parse(l,o.value.toString());break;case"PrintOnAllPages":this.printOnAllPages=o.value.stimulsoft.toBoolean();break}}}catch(t){e={error:t}}finally{try{i&&!i.done&&(r=n.return)&&r.call(n)}finally{if(e)throw e.error}}},d.prototype.loadFromXml=function(t,e){m.prototype.loadFromXml.call(this,t,e);var e=t.getAttribute("Ref");!o.isNullOrEmpty(e)&&this.report.jsonLoaderHelper&&(this.report.jsonLoaderHelper.refNames[e.stimulsoft.toNumber()]=t.nodeName);for(var r=0;r<t.childNodes.length;r++){var n=t.childNodes[r];switch(n.nodeName){case"GetDisplayCrossValueEvent":break;case"DisplayValue":var i=new c;i.loadFromXml(n),this.displayValue=i.value;break;case"TotalGuid":this.totalGuid=n.textContent;break;case"ShowTotal":this.showTotal=n.textContent.stimulsoft.toBoolean();break;case"SortDirection":this.sortDirection=p.parse(u,n.textContent);break;case"SortType":this.sortType=p.parse(l,n.textContent);break;case"PrintOnAllPages":this.printOnAllPages=n.textContent.stimulsoft.toBoolean();break}}},d.prototype.onGetDisplayCrossValue=function(t){},d.prototype.invokeGetDisplayCrossValue=function(t){var e;this.report.calculationMode==n.StiCalculationMode.Compilation?this.onGetDisplayCrossValue(t):(this.onGetDisplayCrossValue(t),null!=(e=r.Report.Engine.StiParser.StiParser.parseTextValue(this.displayValue,this))&&(t.value=e))},d.prototype.setValue=function(t){m.prototype.getValue.call(this)==this.displayValue&&(this.displayValue=t),m.prototype.setValue.call(this,t)},Object.defineProperty(d.prototype,"displayValue",{get:function(){return this._displayValue},set:function(t){this._displayValue=t},enumerable:!1,configurable:!0}),Object.defineProperty(d.prototype,"total",{get:function(){var e,t;if(null==this.totalGuid||null==this.parent)return null;try{for(var r=__values(this.parent.components.list),n=r.next();!n.done;n=r.next()){var i,o=n.value.as(s.StiCrossTotal);if(null!=o&&o.guid==this.totalGuid)return o}}catch(t){e={error:t}}finally{try{n&&!n.done&&(t=r.return)&&t.call(r)}finally{if(e)throw e.error}}return null},set:function(t){this.totalGuid=null==t?null:t.guid},enumerable:!1,configurable:!0}),Object.defineProperty(d.prototype,"isTotalVisible",{get:function(){return this.showTotal&&null!=this.total&&this.total.enabled},enumerable:!1,configurable:!0}),Object.defineProperty(d.prototype,"headerLevel",{get:function(){return this._headerLevel},set:function(t){this._headerLevel=t},enumerable:!1,configurable:!0}),Object.defineProperty(d.prototype,"headerValue",{get:function(){return this._headerValue},set:function(t){this._headerValue=t},enumerable:!1,configurable:!0}),Object.defineProperty(d.prototype,"totalGuid",{get:function(){return this._totalGuid},set:function(t){this._totalGuid=t},enumerable:!1,configurable:!0}),Object.defineProperty(d.prototype,"showTotal",{get:function(){return this._showTotal},set:function(t){this._showTotal=t},enumerable:!1,configurable:!0}),Object.defineProperty(d.prototype,"sortDirection",{get:function(){return this._sortDirection},set:function(t){this._sortDirection=t},enumerable:!1,configurable:!0}),Object.defineProperty(d.prototype,"sortType",{get:function(){return this._sortType},set:function(t){this._sortType=t},enumerable:!1,configurable:!0}),Object.defineProperty(d.prototype,"printOnAllPages",{get:function(){return this._printOnAllPages},set:function(t){this._printOnAllPages=t},enumerable:!1,configurable:!0}),h=d,s.StiCrossHeader=h}(Stimulsoft=Stimulsoft||{}),function(t){var e,r,n,i,o,a,s,l,t,u;function c(){var t=null!==u&&u.apply(this,arguments)||this;return t._enumeratorType=l.None,t._enumeratorSeparator=".",t}r=e=t.Report||(t.Report={}),i=n=r.CrossTab||(r.CrossTab={}),o=t.System.StiString,a=t.Base.Localization.StiLocalization,s=t.System.Enum,l=t.Report.CrossTab.Core.StiEnumeratorType,u=i.StiCrossHeader,__extends(c,u),c.prototype.implements=function(){return c.ImplementsStiCrossColumn||(c.ImplementsStiCrossColumn=u.prototype.implements.call(this).concat(["StiCrossCell","StiCrossField","StiCrossHeader"])),c.ImplementsStiCrossColumn},c.prototype.saveToJsonObject=function(t){var t=u.prototype.saveToJsonObject.call(this,t);return t.addPropertyEnum("EnumeratorType",l,this.enumeratorType,l.None),t.addPropertyString("EnumeratorSeparator",this.enumeratorSeparator,"."),t},c.prototype.loadFromJsonObject=function(t){var e,r;u.prototype.loadFromJsonObject.call(this,t);try{for(var n=__values(t.properties()),i=n.next();!i.done;i=n.next()){var o=i.value;switch(o.name){case"EnumeratorType":this._enumeratorType=s.parse(l,o.value.toString());break;case"EnumeratorSeparator":this._enumeratorSeparator=o.value.toString();break}}}catch(t){e={error:t}}finally{try{i&&!i.done&&(r=n.return)&&r.call(n)}finally{if(e)throw e.error}}},c.prototype.loadFromXml=function(t,e){u.prototype.loadFromXml.call(this,t,e);var e=t.getAttribute("Ref");!o.isNullOrEmpty(e)&&this.report.jsonLoaderHelper&&(this.report.jsonLoaderHelper.refNames[e.stimulsoft.toNumber()]=t.nodeName);for(var r=0;r<t.childNodes.length;r++){var n=t.childNodes[r];switch(n.nodeName){case"EnumeratorType":this._enumeratorType=s.parse(l,n.textContent);break;case"EnumeratorSeparator":this._enumeratorSeparator=n.textContent;break}}},Object.defineProperty(c.prototype,"componentId",{get:function(){return r.StiComponentId.StiCrossColumn},enumerable:!1,configurable:!0}),Object.defineProperty(c.prototype,"localizedName",{get:function(){return a.get("Components","StiCrossColumn")},enumerable:!1,configurable:!0}),Object.defineProperty(c.prototype,"enumeratorType",{get:function(){return this._enumeratorType},set:function(t){this._enumeratorType=t},enumerable:!1,configurable:!0}),Object.defineProperty(c.prototype,"enumeratorSeparator",{get:function(){return this._enumeratorSeparator},set:function(t){this._enumeratorSeparator=t},enumerable:!1,configurable:!0}),c.prototype.createNew=function(){return new c},t=c,i.StiCrossColumn=t}(Stimulsoft=Stimulsoft||{}),function(t){var e,r,n,i,o,a,t,s;function l(){var t=s.call(this)||this;return t.brush=new o(a.whiteSmoke),t}r=e=t.Report||(t.Report={}),i=n=r.CrossTab||(r.CrossTab={}),o=t.Base.Drawing.StiSolidBrush,a=t.System.Drawing.Color,s=i.StiCrossField,__extends(l,s),l.prototype.implements=function(){return l.ImplementsStiCrossTotal||(l.ImplementsStiCrossTotal=s.prototype.implements.call(this).concat(["StiCrossField"])),l.ImplementsStiCrossTotal},l.prototype.saveToJsonObject=function(t){var t=s.prototype.saveToJsonObject.call(this,t);return t.removeProperty("TextFormat"),t.removeProperty("HideZeros"),t},Object.defineProperty(l.prototype,"cellText",{get:function(){return this.text},enumerable:!1,configurable:!0}),Object.defineProperty(l.prototype,"componentId",{get:function(){return r.StiComponentId.StiCrossTotal},enumerable:!1,configurable:!0}),l.prototype.createNew=function(){return new l},t=l,i.StiCrossTotal=t}(Stimulsoft=Stimulsoft||{}),function(t){var e,r,n,i,o,t,a;function s(){var t=a.call(this)||this;return t.text="Total",t}r=e=t.Report||(t.Report={}),i=n=r.CrossTab||(r.CrossTab={}),o=t.Base.Localization.StiLocalization,a=i.StiCrossTotal,__extends(s,a),Object.defineProperty(s.prototype,"componentId",{get:function(){return r.StiComponentId.StiCrossColumnTotal},enumerable:!1,configurable:!0}),Object.defineProperty(s.prototype,"localizedName",{get:function(){return o.get("Components","StiCrossColumnTotal")},enumerable:!1,configurable:!0}),s.prototype.createNew=function(){return new s},t=s,i.StiCrossColumnTotal=t}(Stimulsoft=Stimulsoft||{}),function(t){var e,r,n,i,o,a,s,l,t,u;function c(){var t=null!==u&&u.apply(this,arguments)||this;return t._enumeratorType=a.None,t._enumeratorSeparator=".",t}r=e=t.Report||(t.Report={}),i=n=r.CrossTab||(r.CrossTab={}),o=t.System.StiString,a=t.Report.CrossTab.Core.StiEnumeratorType,s=t.System.Enum,l=t.Base.Localization.StiLocalization,u=i.StiCrossHeader,__extends(c,u),c.prototype.implements=function(){return c.ImplementsStiCrossRow||(c.ImplementsStiCrossRow=u.prototype.implements.call(this).concat(["StiCrossCell","StiCrossField","StiCrossHeader"])),c.ImplementsStiCrossRow},c.prototype.saveToJsonObject=function(t){var t=u.prototype.saveToJsonObject.call(this,t);return t.addPropertyEnum("EnumeratorType",a,this.enumeratorType,a.None),t.addPropertyString("EnumeratorSeparator",this.enumeratorSeparator,"."),t},c.prototype.loadFromJsonObject=function(t){var e,r;u.prototype.loadFromJsonObject.call(this,t);try{for(var n=__values(t.properties()),i=n.next();!i.done;i=n.next()){var o=i.value;switch(o.name){case"EnumeratorType":this._enumeratorType=s.parse(a,o.value.toString());break;case"EnumeratorSeparator":this._enumeratorSeparator=o.value.toString();break}}}catch(t){e={error:t}}finally{try{i&&!i.done&&(r=n.return)&&r.call(n)}finally{if(e)throw e.error}}},c.prototype.loadFromXml=function(t,e){u.prototype.loadFromXml.call(this,t,e);var e=t.getAttribute("Ref");!o.isNullOrEmpty(e)&&this.report.jsonLoaderHelper&&(this.report.jsonLoaderHelper.refNames[e.stimulsoft.toNumber()]=t.nodeName);for(var r=0;r<t.childNodes.length;r++){var n=t.childNodes[r];switch(n.nodeName){case"EnumeratorType":this._enumeratorType=s.parse(a,n.textContent);break;case"EnumeratorSeparator":this._enumeratorSeparator=n.textContent;break}}},Object.defineProperty(c.prototype,"componentId",{get:function(){return r.StiComponentId.StiCrossRow},enumerable:!1,configurable:!0}),Object.defineProperty(c.prototype,"localizedName",{get:function(){return l.get("Components","StiCrossRow")},enumerable:!1,configurable:!0}),Object.defineProperty(c.prototype,"enumeratorType",{get:function(){return this._enumeratorType},set:function(t){this._enumeratorType=t},enumerable:!1,configurable:!0}),Object.defineProperty(c.prototype,"enumeratorSeparator",{get:function(){return this._enumeratorSeparator},set:function(t){this._enumeratorSeparator=t},enumerable:!1,configurable:!0}),c.prototype.getCrossRowTitle=function(){var t=this.parent.as(i.StiCrossTab);if(null==t)return null;var e=o.format("{0}_Title",this.name);return t.components.toList().firstOrDefault(function(t){return t.is(i.StiCrossTitle)&&t.name==e}).as(i.StiCrossTitle)},c.prototype.getCrossRowTotal=function(){var t=this.parent.as(i.StiCrossTab);if(null==t)return null;var e=this.name.stimulsoft.replaceAll("Row","RowTotal");return t.components.toList().firstOrDefault(function(t){return t.is(i.StiCrossRowTotal)&&t.name==e}).as(i.StiCrossRowTotal)},c.prototype.createNew=function(){return new c},t=c,i.StiCrossRow=t}(Stimulsoft=Stimulsoft||{}),function(t){var e,r,n,i,o,t,a;function s(){var t=a.call(this)||this;return t.text="Total",t}r=e=t.Report||(t.Report={}),i=n=r.CrossTab||(r.CrossTab={}),o=t.Base.Localization.StiLocalization,a=i.StiCrossTotal,__extends(s,a),Object.defineProperty(s.prototype,"componentId",{get:function(){return r.StiComponentId.StiCrossRowTotal},enumerable:!1,configurable:!0}),Object.defineProperty(s.prototype,"localizedName",{get:function(){return o.get("Components","StiCrossRowTotal")},enumerable:!1,configurable:!0}),s.prototype.createNew=function(){return new s},t=s,i.StiCrossRowTotal=t}(Stimulsoft=Stimulsoft||{}),function(t){var e,r,n,i,o,a,s,l,u,c,p,h,t,m;function d(){var t=m.call(this)||this;return t._aspectRatio=!1,t._stretch=!0,t._imageHorAlignment=s.Left,t._imageVertAlignment=l.Top,t._indexOfSelectValue=-1,t._summary=u.Sum,t._summaryValues=c.AllValues,t._useStyleOfSummaryInRowTotal=!1,t._useStyleOfSummaryInColumnTotal=!1,t._showPercents=!1,t.horAlignment=a.Right,t.hideZeros=!0,t}r=e=t.Report||(t.Report={}),i=n=r.CrossTab||(r.CrossTab={}),o=t.System.StiString,a=t.Base.Drawing.StiTextHorAlignment,s=t.Base.Drawing.StiHorAlignment,l=t.Base.Drawing.StiVertAlignment,u=t.Report.CrossTab.Core.StiSummaryType,c=t.Report.CrossTab.Core.StiSummaryValues,p=t.System.Enum,h=t.Base.Localization.StiLocalization,m=i.StiCrossCell,__extends(d,m),d.prototype.implements=function(){return d.ImplementsStiCrossSummary||(d.ImplementsStiCrossSummary=m.prototype.implements.call(this).concat(["StiCrossCell","StiCrossField"])),d.ImplementsStiCrossSummary},d.prototype.saveToJsonObject=function(t){var t=m.prototype.saveToJsonObject.call(this,t);return t.addPropertyEnum("HorAlignment",a,this.horAlignment,a.Right),t.addPropertyBool("HideZeros",this.hideZeros,!0),t.addPropertyBool("AspectRatio",this.aspectRatio),t.addPropertyBool("Stretch",this.stretch,!0),t.addPropertyEnum("Summary",u,this.summary,u.Sum),t.addPropertyEnum("SummaryValues",c,this.summaryValues,c.AllValues),t.addPropertyBool("UseStyleOfSummaryInRowTotal",this.useStyleOfSummaryInRowTotal),t.addPropertyBool("UseStyleOfSummaryInColumnTotal",this.useStyleOfSummaryInColumnTotal),t.addPropertyBool("ShowPercents",this.showPercents),t},d.prototype.loadFromJsonObject=function(t){var e,r;m.prototype.loadFromJsonObject.call(this,t);try{for(var n=__values(t.properties()),i=n.next();!i.done;i=n.next()){var o=i.value;switch(o.name){case"AspectRatio":this._aspectRatio=o.value.stimulsoft.toBoolean();break;case"Stretch":this._stretch=o.value.stimulsoft.toBoolean();break;case"Summary":this._summary=p.parse(u,o.value.toString());break;case"SummaryValues":this._summaryValues=p.parse(c,o.value.toString());break;case"UseStyleOfSummaryInRowTotal":this._useStyleOfSummaryInRowTotal=o.value.stimulsoft.toBoolean();break;case"UseStyleOfSummaryInColumnTotal":this._useStyleOfSummaryInColumnTotal=o.value.stimulsoft.toBoolean();break;case"ShowPercents":this._showPercents=o.value.stimulsoft.toBoolean();break}}}catch(t){e={error:t}}finally{try{i&&!i.done&&(r=n.return)&&r.call(n)}finally{if(e)throw e.error}}},d.prototype.loadFromXml=function(t,e){m.prototype.loadFromXml.call(this,t,e);var e=t.getAttribute("Ref");!o.isNullOrEmpty(e)&&this.report.jsonLoaderHelper&&(this.report.jsonLoaderHelper.refNames[e.stimulsoft.toNumber()]=t.nodeName);for(var r=0;r<t.childNodes.length;r++){var n=t.childNodes[r];switch(n.nodeName){case"AspectRatio":this._aspectRatio=n.textContent.stimulsoft.toBoolean();break;case"Stretch":this._stretch=n.textContent.stimulsoft.toBoolean();break;case"Summary":this._summary=p.parse(u,n.textContent);break;case"SummaryValues":this._summaryValues=p.parse(c,n.textContent);break;case"UseStyleOfSummaryInRowTotal":this._useStyleOfSummaryInRowTotal=n.textContent.stimulsoft.toBoolean();break;case"UseStyleOfSummaryInColumnTotal":this._useStyleOfSummaryInColumnTotal=n.textContent.stimulsoft.toBoolean();break;case"ShowPercents":this._showPercents=n.textContent.stimulsoft.toBoolean();break}}},Object.defineProperty(d.prototype,"componentId",{get:function(){return r.StiComponentId.StiCrossSummary},enumerable:!1,configurable:!0}),d.prototype.clone=function(t){var t=m.prototype.clone.call(this,t);return t.aspectRatio=this.aspectRatio,t.stretch=this.stretch,t.imageHorAlignment=this.imageHorAlignment,t.imageVertAlignment=this.imageVertAlignment,t.summary=this.summary,t.summaryValues=this.summaryValues,t.useStyleOfSummaryInRowTotal=this.useStyleOfSummaryInRowTotal,t.useStyleOfSummaryInColumnTotal=this.useStyleOfSummaryInColumnTotal,t},Object.defineProperty(d.prototype,"defaultHorAlignment",{get:function(){return a.Right},enumerable:!1,configurable:!0}),Object.defineProperty(d.prototype,"aspectRatio",{get:function(){return this._aspectRatio},set:function(t){this._aspectRatio=t},enumerable:!1,configurable:!0}),Object.defineProperty(d.prototype,"stretch",{get:function(){return this._stretch},set:function(t){this._stretch=t},enumerable:!1,configurable:!0}),Object.defineProperty(d.prototype,"imageHorAlignment",{get:function(){return this._imageHorAlignment},set:function(t){this._imageHorAlignment=t},enumerable:!1,configurable:!0}),Object.defineProperty(d.prototype,"imageVertAlignment",{get:function(){return this._imageVertAlignment},set:function(t){this._imageVertAlignment=t},enumerable:!1,configurable:!0}),Object.defineProperty(d.prototype,"crossColumnValue",{get:function(){return this._crossColumnValue},set:function(t){this._crossColumnValue=t},enumerable:!1,configurable:!0}),Object.defineProperty(d.prototype,"crossRowValue",{get:function(){return this._crossRowValue},set:function(t){this._crossRowValue=t},enumerable:!1,configurable:!0}),Object.defineProperty(d.prototype,"indexOfSelectValue",{get:function(){return this._indexOfSelectValue},set:function(t){this._indexOfSelectValue=t},enumerable:!1,configurable:!0}),Object.defineProperty(d.prototype,"cellText",{get:function(){return"0"},enumerable:!1,configurable:!0}),Object.defineProperty(d.prototype,"summary",{get:function(){return this._summary},set:function(t){this._summary=t},enumerable:!1,configurable:!0}),Object.defineProperty(d.prototype,"summaryValues",{get:function(){return this._summaryValues},set:function(t){this._summaryValues=t},enumerable:!1,configurable:!0}),Object.defineProperty(d.prototype,"useStyleOfSummaryInRowTotal",{get:function(){return this._useStyleOfSummaryInRowTotal},set:function(t){this._useStyleOfSummaryInRowTotal=t},enumerable:!1,configurable:!0}),Object.defineProperty(d.prototype,"useStyleOfSummaryInColumnTotal",{get:function(){return this._useStyleOfSummaryInColumnTotal},set:function(t){this._useStyleOfSummaryInColumnTotal=t},enumerable:!1,configurable:!0}),Object.defineProperty(d.prototype,"localizedName",{get:function(){return h.get("Components","StiCrossSummary")},enumerable:!1,configurable:!0}),Object.defineProperty(d.prototype,"showPercents",{get:function(){return this._showPercents},set:function(t){this._showPercents=t},enumerable:!1,configurable:!0}),d.prototype.createNew=function(){return new d},t=d,i.StiCrossSummary=t}(Stimulsoft=Stimulsoft||{}),function(t){var e,r,n,i,o,t,a;function s(){return null!==a&&a.apply(this,arguments)||this}r=e=t.Report||(t.Report={}),i=n=r.CrossTab||(r.CrossTab={}),o=t.Base.Localization.StiLocalization,a=i.StiCrossField,__extends(s,a),Object.defineProperty(s.prototype,"cellText",{get:function(){return this.getTextInternal()},enumerable:!1,configurable:!0}),Object.defineProperty(s.prototype,"localizedName",{get:function(){return o.get("Components","StiCrossSummaryHeader")},enumerable:!1,configurable:!0}),Object.defineProperty(s.prototype,"componentId",{get:function(){return r.StiComponentId.StiCrossSummaryHeader},enumerable:!1,configurable:!0}),s.prototype.createNew=function(){return new s},t=s,i.StiCrossSummaryHeader=t}(Stimulsoft=Stimulsoft||{}),function(o){var t,e,r;e=t=o.Report||(o.Report={}),function(t){var e=o.System.EventHandler,r=o.System.EventArgs;t.StiFillParametersEventHandler=new e("sender: any, e: StiFillParametersEventArgs");var r=(__extends(i,n=r),Object.defineProperty(i.prototype,"value",{get:function(){return this.val},set:function(t){this.val=t},enumerable:!1,configurable:!0}),i),n;function i(t){void 0===t&&(t=[]);var e=n.call(this)||this;return e.val=[],e.val=t,e}t.StiFillParametersEventArgs=r}(r=e.Events||(e.Events={}))}(Stimulsoft=Stimulsoft||{}),function(G){var t,e,r,H,_,M,Q,L,n,i,o,Y,a;function s(){}e=t=G.Report||(G.Report={}),H=r=e.Engine||(e.Engine={}),_=G.Report.Components.StiContainerHelper,M=G.Report.Events.StiFillParametersEventArgs,Q=G.Report.Components.IStiRenderMaster,L=G.Report.Components.StiComponentType,n=G.Report.Components.StiBand,i=G.Report.Components.StiDataBand,o=G.Report.Components.StiChildBand,Y=G.Report.Components.StiContainer,a=G.Report.Components.StiPage,s.getMasterDataBand=function(t){t=t.parent;while(1){if(t.stimulsoft.is(i))return t;if(t.stimulsoft.is(a))return null;if(null==t)return null;if(t.stimulsoft.is(o)){var e=t.getMaster();if(null!=e){t=e;continue}}t=t.parent}},s.getParentBand=function(t){t=t.parent;while(1&&t){if(t.stimulsoft.is(n))return t;if(t.stimulsoft.is(a))return null;if(null==t)return null;t=t.parent}return null},s.renderSubReportAsync=function(N,k){return __awaiter(this,void 0,void 0,function(){var e,r,n,i,o,a,s,l,u,c,p,h,m,m,d,g,f,S,y,A,b,C,v,a,w,B,I,T,E,R,D,P,x,F;return __generator(this,function(t){switch(t.label){case 0:e=k.subReportPage,r=null!=e?e.height:0,n=k.report.engine,null!=e&&(e.pageInfo.masterDataBand=this.getMasterDataBand(k));try{for(i=__values(k.report.dictionary.dataSources.list),o=i.next();!o.done;o=i.next())(a=o.value).initForSubreport=!0}catch(t){w={error:t}}finally{try{o&&!o.done&&(B=i.return)&&B.call(i)}finally{if(w)throw w.error}}if(null!=e&&(e.unlimitedBreakable=!1),s=k.getExternalSubReport(),l=new M,k.invokeFillParameters(k,l),null!=l.value&&0<l.value.length){u=s||k.report;try{for(c=__values(l.value),p=c.next();!p.done;p=c.next())h=p.value,u.setVariable(h.key,h.value)}catch(t){I={error:t}}finally{try{p&&!p.done&&(T=c.return)&&T.call(c)}finally{if(I)throw I.error}}}if(null==s)return[3,2];return[4,this.renderExternalSubReportAsync(k,s)];case 1:return m=t.sent(),N.components.addRange(m.components),[3,4];case 2:return[4,this.renderInternalSubReportAsync(k)];case 3:m=t.sent(),N.components.addRange(m.components),t.label=4;case 4:try{for(d=__values(N.components.list),g=d.next();!g.done;g=d.next())if((f=g.value).right>N.width&&(f.width=N.width-f.left),null!=(S=f.as(Y)))try{for(D=void 0,y=__values(S.components.list),A=y.next();!A.done;A=y.next())(b=A.value).left>N.width&&(b.left=N.width),b.right+f.left>N.width&&(b.width=N.width-(b.left+f.left))}catch(t){D={error:t}}finally{try{A&&!A.done&&(P=y.return)&&P.call(y)}finally{if(D)throw D.error}}}catch(t){E={error:t}}finally{try{g&&!g.done&&(R=d.return)&&R.call(d)}finally{if(E)throw E.error}}k.report.engine=n,null!=e&&(e.height=r,e.pageInfo.masterDataBand=null);try{for(C=__values(k.report.dictionary.dataSources.list),v=C.next();!v.done;v=C.next())(a=v.value).initForSubreport=!1}catch(t){x={error:t}}finally{try{v&&!v.done&&(F=C.return)&&F.call(C)}finally{if(x)throw x.error}}return[2]}})})},s.renderSubReport=function(t,e){var r,n,i,o,a,s,l,u,c,p,h=e.subReportPage,m=null!=h?h.height:0,d=e.report.engine;null!=h&&(h.pageInfo.masterDataBand=this.getMasterDataBand(e));try{for(var g=__values(e.report.dictionary.dataSources.list),f=g.next(),S;!f.done;f=g.next()){(S=f.value).initForSubreport=!0}}catch(t){r={error:t}}finally{try{f&&!f.done&&(n=g.return)&&n.call(g)}finally{if(r)throw r.error}}null!=h&&(h.unlimitedBreakable=!1);var y=e.getExternalSubReport(),A=new M,y,y;if(e.invokeFillParameters(e,A),null!=A.value&&0<A.value.length){var b=y||e.report;try{for(var C=__values(A.value),v=C.next();!v.done;v=C.next()){var w=v.value;b.setVariable(w.key,w.value)}}catch(t){i={error:t}}finally{try{v&&!v.done&&(o=C.return)&&o.call(C)}finally{if(i)throw i.error}}}y=null!=y?this.renderExternalSubReport(e,y):this.renderInternalSubReport(e),t.components.addRange(y.components);try{for(var B=__values(t.components.list),I=B.next();!I.done;I=B.next()){var T=I.value;T.right>t.width&&(T.width=t.width-T.left);var E=T.as(Y);if(null!=E)try{for(var R=(l=void 0,__values(E.components.list)),D=R.next();!D.done;D=R.next()){var P=D.value;P.left>t.width&&(P.left=t.width),P.right+T.left>t.width&&(P.width=t.width-(P.left+T.left))}}catch(t){l={error:t}}finally{try{D&&!D.done&&(u=R.return)&&u.call(R)}finally{if(l)throw l.error}}}}catch(t){a={error:t}}finally{try{I&&!I.done&&(s=B.return)&&s.call(B)}finally{if(a)throw a.error}}e.report.engine=d,null!=h&&(h.height=m,h.pageInfo.masterDataBand=null);try{for(var x=__values(e.report.dictionary.dataSources.list),F=x.next(),S;!F.done;F=x.next()){(S=F.value).initForSubreport=!1}}catch(t){c={error:t}}finally{try{F&&!F.done&&(p=x.return)&&p.call(x)}finally{if(c)throw c.error}}},s.renderInternalSubReportAsync=function(h){return __awaiter(this,void 0,void 0,function(){var e,r,n,i,o,a,s,l,u,c,p;return __generator(this,function(t){switch(t.label){case 0:if(e=h.subReportPage,r=new Y,null==e)return[2,r];return r.width=e.width,r.height=this.specialSubReportHeight,n=e.currentBookmark,i=e.parentBookmark,e.currentBookmark=h.currentBookmark,e.parentBookmark=h.parentBookmark,r.currentBookmark=h.parentBookmark,(o=new H.StiEngine(h.report)).parserConversionStore=h.report.engine.parserConversionStore.clone(),null!=h.report.engine.hashDataSourceReferencesCounter&&(o.hashDataSourceReferencesCounter=h.report.engine.hashDataSourceReferencesCounter.clone()),o.templatePage=e,o.templateContainer=h.subReportPage,o.containerForRender=r,(h.report.engine=o).setNewPageParameters(),o.freeSpace=this.specialSubReportHeight,o.positionBottomY=this.specialSubReportHeight,[4,o.newListAsync()];case 1:return t.sent(),[4,H.StiPageHelper.renderPageAsync(e)];case 2:return t.sent(),[4,o.finalClearAsync()];case 3:t.sent(),o.parserConversionStore=null,a=o.positionBottomY-o.positionY;try{for(s=__values(r.components.list),l=s.next();!l.done;l=s.next())(u=l.value).top>=o.positionY&&0<=u.top-a&&(u.top-=a)}catch(t){c={error:t}}finally{try{l&&!l.done&&(p=s.return)&&p.call(s)}finally{if(c)throw c.error}}return H.StiPostProcessProvider.postProcessPrimitivesInContainer(r),e.currentBookmark=n,e.parentBookmark=i,[2,r]}})})},s.renderInternalSubReport=function(t){var e,r,n=t.subReportPage,i=new Y;if(null==n)return i;i.width=n.width,i.height=this.specialSubReportHeight;var o=n.currentBookmark,a=n.parentBookmark;n.currentBookmark=t.currentBookmark,n.parentBookmark=t.parentBookmark,i.currentBookmark=t.parentBookmark;var s=new H.StiEngine(t.report);s.parserConversionStore=t.report.engine.parserConversionStore.clone(),null!=t.report.engine.hashDataSourceReferencesCounter&&(s.hashDataSourceReferencesCounter=t.report.engine.hashDataSourceReferencesCounter.clone()),s.templatePage=n,s.templateContainer=t.subReportPage,s.containerForRender=i,(t.report.engine=s).setNewPageParameters(),s.freeSpace=this.specialSubReportHeight,s.positionBottomY=this.specialSubReportHeight,s.newList(),H.StiPageHelper.renderPage(n),s.finalClear(),s.parserConversionStore=null;var l=s.positionBottomY-s.positionY;try{for(var u=__values(i.components.list),c=u.next();!c.done;c=u.next()){var p=c.value;p.top>=s.positionY&&0<=p.top-l&&(p.top-=l)}}catch(t){e={error:t}}finally{try{c&&!c.done&&(r=u.return)&&r.call(u)}finally{if(e)throw e.error}}return H.StiPostProcessProvider.postProcessPrimitivesInContainer(i),n.currentBookmark=o,n.parentBookmark=a,i},s.renderExternalSubReportAsync=function(M,O){return __awaiter(this,void 0,void 0,function(){var e,r,n,i,o,a,s,l,u,c,p,o,h,m,d,g,f,S,y,A,b,C,y,v,w,B,y,I,T,E,R,D,P,x,F,N,k;return __generator(this,function(t){switch(t.label){case 0:if(e=new Y,null==O)return[3,3];if(r=StiOptions.Engine.renderExternalSubReportsWithHelpOfUnlimitedHeightPages)try{for(n=__values(O.pages.list),i=n.next();!i.done;i=n.next())(o=i.value).unlimitedHeight=!0,o.unlimitedBreakable=!1,o.height=this.specialSubReportHeight}catch(t){I={error:t}}finally{try{i&&!i.done&&(T=n.return)&&T.call(n)}finally{if(I)throw I.error}}if(O.isDocument)return[3,2];return[4,O.renderAsync2()];case 1:t.sent(),t.label=2;case 2:a=.9*this.specialSubReportHeight,u=l=s=0;try{for(c=__values(O.renderedPages.list),p=c.next();!p.done;p=c.next()){o=p.value,h=0,m=this.specialSubReportHeight,g=d=0;try{for(D=void 0,f=__values(o.components.list),S=f.next();!S.done;S=f.next())(y=S.value).top>a?m=Math.min(y.top,m):h=Math.max(y.bottom,h),r||(y.right>d&&(d=y.right),y.bottom>g&&(g=y.bottom))}catch(t){D={error:t}}finally{try{S&&!S.done&&(P=f.return)&&P.call(f)}finally{if(D)throw D.error}}if(A=m-h,r||this.renderExternalSubReportsWithoutHelpOfUnlimitedHeightPagesOldMode||o.unlimitedHeight){try{for(x=void 0,b=__values(o.components.list),C=b.next();!C.done;C=b.next())(y=C.value).top+=l,y.left+=s,y.growToHeight=!1,y.canShrink=!1,y.top>=a&&(y.top-=A)}catch(t){x={error:t}}finally{try{C&&!C.done&&(F=b.return)&&F.call(b)}finally{if(x)throw x.error}}e.components.addRange(o.components)}else{(v=new Y).name="SubPage"+u++,v.width=d,v.height=g,v.top=l,v.left=s,v.components.addRange(o.components),v.page=M.page,v.tagValue=_.notCheckSizeMark;try{for(N=void 0,w=__values(o.components.list),B=w.next();!B.done;B=w.next())(y=B.value).growToHeight=!1,y.canShrink=!1,y.page=M.page,y.top>=a&&(y.top-=A)}catch(t){N={error:t}}finally{try{B&&!B.done&&(k=w.return)&&k.call(w)}finally{if(N)throw N.error}}e.components.add(v)}o.components.clear(),o.height>a?l+=h+(this.specialSubReportHeight-m):r||this.renderExternalSubReportsWithoutHelpOfUnlimitedHeightPagesOldMode?l+=o.height:l+=g}}catch(t){E={error:t}}finally{try{p&&!p.done&&(R=c.return)&&R.call(c)}finally{if(E)throw E.error}}t.label=3;case 3:return[2,e]}})})},s.renderExternalSubReport=function(t,e){var r,n,i,o,a,s,l,u,c,p,h=new Y;if(null!=e){var m=StiOptions.Engine.renderExternalSubReportsWithHelpOfUnlimitedHeightPages;if(m)try{for(var d=__values(e.pages.list),g=d.next(),f;!g.done;g=d.next()){(f=g.value).unlimitedHeight=!0,f.unlimitedBreakable=!1,f.height=this.specialSubReportHeight}}catch(t){r={error:t}}finally{try{g&&!g.done&&(n=d.return)&&n.call(d)}finally{if(r)throw r.error}}e.isDocument||e.render(!1);var S=.9*this.specialSubReportHeight,y=0,A=0,b=0;try{for(var C=__values(e.renderedPages.list),v=C.next();!v.done;v=C.next()){var f=v.value,w=0,B=this.specialSubReportHeight,I=0,T=0;try{for(var E=(a=void 0,__values(f.components.list)),R=E.next(),D;!R.done;R=E.next()){(D=R.value).top>S?B=Math.min(D.top,B):w=Math.max(D.bottom,w),m||(D.right>I&&(I=D.right),D.bottom>T&&(T=D.bottom))}}catch(t){a={error:t}}finally{try{R&&!R.done&&(s=E.return)&&s.call(E)}finally{if(a)throw a.error}}var P=B-w;if(m||this.renderExternalSubReportsWithoutHelpOfUnlimitedHeightPagesOldMode||f.unlimitedHeight){try{for(var x=(l=void 0,__values(f.components.list)),F=x.next(),D;!F.done;F=x.next()){(D=F.value).top+=A,D.left+=y,D.growToHeight=!1,D.canShrink=!1,D.top>=S&&(D.top-=P)}}catch(t){l={error:t}}finally{try{F&&!F.done&&(u=x.return)&&u.call(x)}finally{if(l)throw l.error}}h.components.addRange(f.components)}else{var N=new Y;N.name="SubPage"+b++,N.width=I,N.height=T,N.top=A,N.left=y,N.components.addRange(f.components),N.page=t.page,N.tagValue=_.notCheckSizeMark;try{for(var k=(c=void 0,__values(f.components.list)),M=k.next(),D;!M.done;M=k.next()){(D=M.value).growToHeight=!1,D.canShrink=!1,D.page=t.page,D.top>=S&&(D.top-=P)}}catch(t){c={error:t}}finally{try{M&&!M.done&&(p=k.return)&&p.call(k)}finally{if(c)throw c.error}}h.components.add(N)}f.components.clear(),f.height>S?A+=w+(this.specialSubReportHeight-B):m||this.renderExternalSubReportsWithoutHelpOfUnlimitedHeightPagesOldMode?A+=f.height:A+=T}}catch(t){i={error:t}}finally{try{v&&!v.done&&(o=C.return)&&o.call(C)}finally{if(i)throw i.error}}}return h},s.renderDataBandsInContainerAsync=function(O,_,j){return void 0===j&&(j=!1),__awaiter(this,void 0,void 0,function(){var e,r,n,i,o,a,s,l,u,c,l,l,p,h,m,d,g,f,S,y,g,A,b,C,v,g,w,B,I,T,p,E,R,D,P,x,F,N,k,M;return __generator(this,function(t){switch(t.label){case 0:O.canGrow=!0,e=_.report.engine,n=r=0,null!=_.report.engine.page&&(r=_.report.engine.page.pageInfo.positionFromTop,n=_.report.engine.page.pageInfo.positionFromBottom),t.label=1;case 1:return t.trys.push([1,,12,13]),o=!(i=1e11),(a=new Y).width=_.width,a.height=i,(s=new H.StiEngine(_.report)).denyChangeThread=!0,s.parserConversionStore=_.report.engine.parserConversionStore.clone(),null!=_.report.engine.hashDataSourceReferencesCounter&&(s.hashDataSourceReferencesCounter=_.report.engine.hashDataSourceReferencesCounter.clone()),null!=_.report.engine.hashParentStyles&&0<_.report.engine.hashParentStyles.count&&(s.hashParentStyles=_.report.engine.hashParentStyles.clone()),s.page=_.report.engine.page,s.templatePage=_.report.engine.templatePage,s.templateContainer=_,s.containerForRender=a,(_.report.engine=s).setNewPageParameters(),s.freeSpace=i,s.positionBottomY=i,[4,s.newListAsync(j)];case 2:t.sent(),a.components.clear(),l=a.getDockRegion(a,!1),s.crossFreeSpace=e.templatePage.width-(_.left+l.left),s.freeSpace=l.height,s.positionX=l.left,s.positionY=l.top,t.label=3;case 3:t.trys.push([3,8,9,10]),u=__values(_.components.list),c=u.next(),t.label=4;case 4:if(c.done)return[3,7];if((l=c.value).parentBookmark=_.currentBookmark,l.componentType!=L.Master)return[3,6];if(l.is(G.Report.Components.StiCrossDataBand)&&(o=!0),null==(l=l.as(Q)))return[3,6];return[4,l.renderMasterAsync()];case 5:t.sent(),t.label=6;case 6:return c=u.next(),[3,4];case 7:return[3,10];case 8:return p=t.sent(),p={error:p},[3,10];case 9:try{c&&!c.done&&(E=u.return)&&E.call(u)}finally{if(p)throw p.error}return[7];case 10:return[4,s.finalClearAsync()];case 11:if(t.sent(),s.parserConversionStore=null,s.hashParentStyles=null,o){f=0;try{for(S=__values(a.components.list),y=S.next();!y.done;y=S.next())g=y.value,f=Math.max(g.right,f)}catch(t){P={error:t}}finally{try{y&&!y.done&&(x=S.return)&&x.call(S)}finally{if(P)throw P.error}}A=1;do{if(b=e.templatePage.width*A,f+O.left<=b)break;A++}while(1==1);O.containerInfo.setSegmentPerWidth=A}else{h=s.positionBottomY-s.positionY,O.bottom-s.positionY>i-s.positionBottomY&&!_.canShrink&&(h=i-O.height);try{for(m=__values(a.components.list),d=m.next();!d.done;d=m.next())(g=d.value).top>=s.positionY&&0<=g.top-h&&(g.top-=h)}catch(t){R={error:t}}finally{try{d&&!d.done&&(D=m.return)&&D.call(m)}finally{if(R)throw R.error}}}if(O.components.addRange(a.components),!o)try{for(C=__values(O.components.list),v=C.next();!v.done;v=C.next())if((g=v.value).right>O.width&&(g.width=O.width-g.left),null!=(w=g.as(Y)))try{for(k=void 0,B=__values(w.components.list),I=B.next();!I.done;I=B.next())(T=I.value).left>O.width&&(T.left=O.width),T.right+g.left>O.width&&(T.width=O.width-(T.left+g.left))}catch(t){k={error:t}}finally{try{I&&!I.done&&(M=B.return)&&M.call(B)}finally{if(k)throw k.error}}}catch(t){F={error:t}}finally{try{v&&!v.done&&(N=C.return)&&N.call(C)}finally{if(F)throw F.error}}return[3,13];case 12:return _.report.engine=e,null!=_.report.engine.page&&(_.report.engine.page.pageInfo.positionFromTop=r,_.report.engine.page.pageInfo.positionFromBottom=n),[7];case 13:return[2]}})})},s.renderDataBandsInContainer=function(t,e,r){var n,i,o,a,s,l,u,c,p,h;void 0===r&&(r=!1),t.canGrow=!0;var m=e.report.engine,d=0,g=0;null!=e.report.engine.page&&(d=e.report.engine.page.pageInfo.positionFromTop,g=e.report.engine.page.pageInfo.positionFromBottom);try{var f=1e11,S=!1,y=new Y;y.width=e.width,y.height=f;var A=new H.StiEngine(e.report);A.denyChangeThread=!0,A.parserConversionStore=e.report.engine.parserConversionStore.clone(),null!=e.report.engine.hashDataSourceReferencesCounter&&(A.hashDataSourceReferencesCounter=e.report.engine.hashDataSourceReferencesCounter.clone()),null!=e.report.engine.hashParentStyles&&0<e.report.engine.hashParentStyles.count&&(A.hashParentStyles=e.report.engine.hashParentStyles.clone()),A.page=e.report.engine.page,A.templatePage=e.report.engine.templatePage,A.templateContainer=e,A.containerForRender=y,(e.report.engine=A).setNewPageParameters(),A.freeSpace=f,A.positionBottomY=f,A.newList(r),y.components.clear();var b=y.getDockRegion(y,!1);A.crossFreeSpace=m.templatePage.width-(e.left+b.left),A.freeSpace=b.height,A.positionX=b.left,A.positionY=b.top;try{for(var C=__values(e.components.list),v=C.next();!v.done;v=C.next()){var w=v.value,w;w.parentBookmark=e.currentBookmark,w.componentType==L.Master&&(w.is(G.Report.Components.StiCrossDataBand)&&(S=!0),null!=(w=w.as(Q))&&w.renderMaster())}}catch(t){n={error:t}}finally{try{v&&!v.done&&(i=C.return)&&i.call(C)}finally{if(n)throw n.error}}if(A.finalClear(),A.parserConversionStore=null,A.hashParentStyles=null,S){var B=0;try{for(var I=__values(y.components.list),T=I.next();!T.done;T=I.next())var E=T.value,B=Math.max(E.right,B)}catch(t){s={error:t}}finally{try{T&&!T.done&&(l=I.return)&&l.call(I)}finally{if(s)throw s.error}}var R=1;do{var D=m.templatePage.width*R;if(B+t.left<=D)break;R++}while(1==1);t.containerInfo.setSegmentPerWidth=R}else{var P=A.positionBottomY-A.positionY;t.bottom-A.positionY>f-A.positionBottomY&&!e.canShrink&&(P=f-t.height);try{for(var x=__values(y.components.list),F=x.next(),E;!F.done;F=x.next()){(E=F.value).top>=A.positionY&&0<=E.top-P&&(E.top-=P)}}catch(t){o={error:t}}finally{try{F&&!F.done&&(a=x.return)&&a.call(x)}finally{if(o)throw o.error}}}if(t.components.addRange(y.components),!S)try{for(var N=__values(t.components.list),k=N.next(),E;!k.done;k=N.next()){(E=k.value).right>t.width&&(E.width=t.width-E.left);var M=E.as(Y);if(null!=M)try{for(var O=(p=void 0,__values(M.components.list)),_=O.next();!_.done;_=O.next()){var j=_.value;j.left>t.width&&(j.left=t.width),j.right+E.left>t.width&&(j.width=t.width-(j.left+E.left))}}catch(t){p={error:t}}finally{try{_&&!_.done&&(h=O.return)&&h.call(O)}finally{if(p)throw p.error}}}}catch(t){u={error:t}}finally{try{k&&!k.done&&(c=N.return)&&c.call(N)}finally{if(u)throw u.error}}}finally{e.report.engine=m,null!=e.report.engine.page&&(e.report.engine.page.pageInfo.positionFromTop=d,e.report.engine.page.pageInfo.positionFromBottom=g)}},s.specialSubReportHeight=1e11,s.renderExternalSubReportsWithoutHelpOfUnlimitedHeightPagesOldMode=!1,e=s,H.StiSubReportsHelper=e}(Stimulsoft=Stimulsoft||{}),function(r){var t,n,e,i,o,a,s,l,u,c,p;function h(){var t=null!==p&&p.apply(this,arguments)||this;return t.backColor=l.transparent,t.cellBackColor=l.white,t.alternatingCellBackColor=s.fromHtml("#eee"),t.alternatingCellForeColor=s.fromHtml("#323a45"),t.selectedCellBackColor=a.light(s.fromHtml("#3498db"),30),t.selectedCellForeColor=l.white,t.columnHeaderBackColor=s.fromHtml("#3498db"),t.columnHeaderForeColor=s.fromHtml("#fff"),t.rowHeaderBackColor=s.fromHtml("#3498db"),t.rowHeaderForeColor=s.fromHtml("#eee"),t.hotColumnHeaderBackColor=a.dark(s.fromHtml("#3498db"),30),t.hotRowHeaderBackColor=a.dark(s.fromHtml("#3498db"),30),t.cellForeColor=s.fromHtml("#323a45"),t.lineColor=l.white,t}n=t=r.Report||(r.Report={}),i=e=n.Styles||(n.Styles={}),o=r.System.StiString,a=r.Base.Drawing.StiColorUtils,s=r.System.Drawing.ColorTranslator,l=r.System.Drawing.Color,u=r.Base.StiJsonReportObjectHelper,p=i.StiBaseStyle,__extends(h,p),h.prototype.saveToJsonObject=function(t){var t=p.prototype.saveToJsonObject.call(this,t);return t.addPropertyStringNullOrEmpty("BackColor",u.Serialize.jColor(this.backColor,l.transparent)),t.addPropertyStringNullOrEmpty("CellBackColor",u.Serialize.jColor(this.cellBackColor,l.white)),t.addPropertyStringNullOrEmpty("AlternatingCellBackColor",u.Serialize.jColor(this.alternatingCellBackColor,s.fromHtml("#eee"))),t.addPropertyStringNullOrEmpty("AlternatingCellForeColor",u.Serialize.jColor(this.alternatingCellForeColor,s.fromHtml("#323a45"))),t.addPropertyStringNullOrEmpty("SelectedCellBackColor",u.Serialize.jColor(this.selectedCellBackColor,a.light(s.fromHtml("#3498db"),30))),t.addPropertyStringNullOrEmpty("SelectedCellForeColor",u.Serialize.jColor(this.selectedCellForeColor,l.white)),t.addPropertyStringNullOrEmpty("ColumnHeaderBackColor",u.Serialize.jColor(this.columnHeaderBackColor,s.fromHtml("#3498db"))),t.addPropertyStringNullOrEmpty("ColumnHeaderForeColor",u.Serialize.jColor(this.columnHeaderForeColor,s.fromHtml("#fff"))),t.addPropertyStringNullOrEmpty("RowHeaderBackColor",u.Serialize.jColor(this.rowHeaderBackColor,s.fromHtml("#3498db"))),t.addPropertyStringNullOrEmpty("RowHeaderForeColor",u.Serialize.jColor(this.rowHeaderForeColor,s.fromHtml("#eee"))),t.addPropertyStringNullOrEmpty("HotColumnHeaderBackColor",u.Serialize.jColor(this.hotColumnHeaderBackColor,a.dark(s.fromHtml("#3498db"),30))),t.addPropertyStringNullOrEmpty("HotRowHeaderBackColor",u.Serialize.jColor(this.hotRowHeaderBackColor,a.dark(s.fromHtml("#3498db"),30))),t.addPropertyStringNullOrEmpty("CellForeColor",u.Serialize.jColor(this.cellForeColor,s.fromHtml("#323a45"))),t.addPropertyStringNullOrEmpty("LineColor",u.Serialize.jColor(this.lineColor,l.white)),t},h.prototype.loadFromJsonObject=function(t){var e,r;p.prototype.loadFromJsonObject.call(this,t);try{for(var n=__values(t.properties()),i=n.next();!i.done;i=n.next()){var o=i.value;switch(o.name){case"BackColor":this.backColor=u.Deserialize.color(o.value);break;case"CellBackColor":this.cellBackColor=u.Deserialize.color(o.value);break;case"AlternatingCellBackColor":this.alternatingCellBackColor=u.Deserialize.color(o.value);break;case"AlternatingCellForeColor":this.alternatingCellForeColor=u.Deserialize.color(o.value);break;case"SelectedCellBackColor":this.selectedCellBackColor=u.Deserialize.color(o.value);break;case"SelectedCellForeColor":this.selectedCellForeColor=u.Deserialize.color(o.value);break;case"ColumnHeaderBackColor":this.columnHeaderBackColor=u.Deserialize.color(o.value);break;case"ColumnHeaderForeColor":this.columnHeaderForeColor=u.Deserialize.color(o.value);break;case"RowHeaderBackColor":this.rowHeaderBackColor=u.Deserialize.color(o.value);break;case"RowHeaderForeColor":this.rowHeaderForeColor=u.Deserialize.color(o.value);break;case"HotColumnHeaderBackColor":this.hotColumnHeaderBackColor=u.Deserialize.color(o.value);break;case"HotRowHeaderBackColor":this.hotRowHeaderBackColor=u.Deserialize.color(o.value);break;case"CellForeColor":this.cellForeColor=u.Deserialize.color(o.value);break;case"LineColor":this.lineColor=u.Deserialize.color(o.value);break}}}catch(t){e={error:t}}finally{try{i&&!i.done&&(r=n.return)&&r.call(n)}finally{if(e)throw e.error}}},h.prototype.loadFromXml=function(t){p.prototype.loadFromXml.call(this,t);for(var e=0;e<t.childNodes.length;e++){var r=t.childNodes[e];switch(r.nodeName){case"BackColor":this.backColor=u.Deserialize.color(r.textContent);break;case"CellBackColor":this.cellBackColor=u.Deserialize.color(r.textContent);break;case"AlternatingCellBackColor":this.alternatingCellBackColor=u.Deserialize.color(r.textContent);break;case"AlternatingCellForeColor":this.alternatingCellForeColor=u.Deserialize.color(r.textContent);break;case"SelectedCellBackColor":this.selectedCellBackColor=u.Deserialize.color(r.textContent);break;case"SelectedCellForeColor":this.selectedCellForeColor=u.Deserialize.color(r.textContent);break;case"ColumnHeaderBackColor":this.columnHeaderBackColor=u.Deserialize.color(r.textContent);break;case"ColumnHeaderForeColor":this.columnHeaderForeColor=u.Deserialize.color(r.textContent);break;case"RowHeaderBackColor":this.rowHeaderBackColor=u.Deserialize.color(r.textContent);break;case"RowHeaderForeColor":this.rowHeaderForeColor=u.Deserialize.color(r.textContent);break;case"HotColumnHeaderBackColor":this.hotColumnHeaderBackColor=u.Deserialize.color(r.textContent);break;case"HotRowHeaderBackColor":this.hotRowHeaderBackColor=u.Deserialize.color(r.textContent);break;case"CellForeColor":this.cellForeColor=u.Deserialize.color(r.textContent);break;case"LineColor":this.lineColor=u.Deserialize.color(r.textContent);break}}},Object.defineProperty(h.prototype,"color",{get:function(){return this.columnHeaderBackColor},set:function(t){this.columnHeaderBackColor=t,this.rowHeaderBackColor=t},enumerable:!1,configurable:!0}),h.prototype.getStyleFromComponent=function(t,e){if(e!=n.StiStyleElements.All)throw new Error("StiCrossTabStyle support only StiStyleElements.All.");var e=t;if(null==e)return;var t=e.crossTabStyle;!o.isNullOrEmpty(t)&&null!=e.report&&e.report.styles.getByName(t).is(h)?this.color=e.report.styles.getByName(t).color:e.crossTabStyleIndex<StiOptions.Designer.CrossTab.styleColors.length&&0<=e.crossTabStyleIndex&&e.crossTabStyleIndex<StiOptions.Designer.CrossTab.styleColors.length-1&&(this.color=StiOptions.Designer.CrossTab.styleColors[e.crossTabStyleIndex])},h.prototype.setStyleToComponent=function(t){if(null!=t&&t.is(r.Report.CrossTab.StiCrossTab)){var e=t;if(!n.StiStyleConditionHelper.isAllowStyle(t,this))return;e.crossTabStyleColor=this.color,e.updateStyles()}},c=h,i.StiCrossTabStyle=c}(Stimulsoft=Stimulsoft||{}),function(u){var t,e,r,c,p,n,i,o,a,s,l,h,m,d,g,f,S,y,A,b,C,v,w,B,I,T,E,R,D,P,x,F,N,k;function M(t){void 0===t&&(t=S.empty);var t=k.call(this,t)||this;return t._printIfEmpty=!0,t._dataRelationName="",t._dataSourceName="",t._businessObjectGuid="",t._sort=[],t._crossTabInfo=new c.StiCrossTabInfo,t._filterEngine=b.ReportEngine,t._filterMode=A.And,t._filters=new u.Report.Components.StiFiltersCollection,t._filterOn=!0,t.defaultClientRectangle=new S(0,0,300,100),t._crossTabStyleIndex=0,t._crossTabStyleColor=null,t._horAlignment=c.StiCrossHorAlignment.None,t._printTitleOnAllPages=!0,t._summaryDirection=y.UpToDown,t._keepCrossTabTogether=!1,t._emptyValue="",t._wrap=!1,t._wrapGap=0,t._rightToLeft=!1,t.placeOnToolbox=!1,t.canGrow=!0,t}e=t=u.Report||(u.Report={}),c=r=e.CrossTab||(e.CrossTab={}),p=u.System.StiString,n=u.Base.JsonReportObject.IStiJsonReportObject,i=u.Report.Styles.StiCrossTabStyle,o=u.Report.Dictionary.StiBusinessObjectHelper,a=u.Report.Components.StiFilter,s=u.Report.Components.StiFilterItem,l=u.Report.Components.StiComponentPriority,h=u.Report.Components.StiBand,m=u.Report.Components.StiComponentType,d=u.System.Drawing.Color,g=u.Base.Drawing.StiSolidBrush,f=u.Base.Drawing.StiColorUtils,S=u.System.Drawing.Rectangle,y=u.Report.CrossTab.Core.StiSummaryDirection,A=u.Report.Components.StiFilterMode,b=u.Report.Components.StiFilterEngine,C=u.Base.Localization.StiLocalization,v=u.Report.Components.StiContainer,w=u.System.Enum,B=u.Report.Components.IStiDataSource,I=u.Report.Components.IStiFilter,T=u.Report.Components.IStiCrossTab,E=u.Report.Components.IStiSort,R=u.Report.Components.IStiDataRelation,D=u.Report.Components.IStiPrintIfEmpty,P=u.Report.Components.IStiBusinessObject,x=u.Base.StiJsonReportObjectHelper,F=u.Report.Engine.StiSubReportsHelper,__extends(M,k=v),M.prototype.implements=function(){return M.ImplementsStiCrossTab||(M.ImplementsStiCrossTab=k.prototype.implements.call(this).concat([B,I,T,E,R,D,P,n])),M.ImplementsStiCrossTab},M.prototype.saveToJsonObject=function(t){var e=k.prototype.saveToJsonObject.call(this,t);return e.addPropertyBool("CanGrow",this.canGrow,!0),e.addPropertyBool("PrintIfEmpty",this.printIfEmpty,!0),e.addPropertyStringNullOrEmpty("DataRelationName",this.dataRelationName),e.addPropertyStringNullOrEmpty("DataSourceName",this.dataSourceName),e.addPropertyStringNullOrEmpty("BusinessObjectGuid",this.businessObjectGuid),e.addPropertyJObject("Sort",x.Serialize.stringArray(this.sort)),e.addPropertyEnum("FilterEngine",b,this.filterEngine,b.ReportEngine),e.addPropertyEnum("FilterMode",A,this.filterMode,A.And),e.addPropertyJObject("Filters",this.filters.saveToJsonObject(t)),e.addPropertyBool("FilterOn",this.filterOn,!0),e.addPropertyNumber("CrossTabStyleIndex",this.crossTabStyleIndex),e.addPropertyEnum("HorAlignment",c.StiCrossHorAlignment,this.horAlignment,c.StiCrossHorAlignment.None),e.addPropertyBool("PrintTitleOnAllPages",this.printTitleOnAllPages,!0),e.addPropertyEnum("SummaryDirection",y,this.summaryDirection,y.UpToDown),e.addPropertyBool("KeepCrossTabTogether",this.keepCrossTabTogether),e.addPropertyStringNullOrEmpty("EmptyValue",this.emptyValue),e.addPropertyBool("Wrap",this.wrap),e.addPropertyNumber("WrapGap",this.wrapGap,0),e.addPropertyBool("RightToLeft",this.rightToLeft),e},M.prototype.loadFromJsonObject=function(t){var e,r;k.prototype.loadFromJsonObject.call(this,t);try{for(var n=__values(t.properties()),i=n.next();!i.done;i=n.next()){var o=i.value;switch(o.name){case"PrintIfEmpty":this.printIfEmpty=o.value.stimulsoft.toBoolean();break;case"DataRelationName":this.dataRelationName=o.value.toString();break;case"DataSourceName":this.dataSourceName=o.value.toString();break;case"BusinessObjectGuid":this.businessObjectGuid=o.value.toString();break;case"Sort":this.sort=x.Deserialize.stringArray(o.value);break;case"FilterEngine":this.filterEngine=w.parse(b,o.value.toString());break;case"FilterMode":this.filterMode=w.parse(A,o.value.toString());break;case"Filters":this.filters.loadFromJsonObject(o.value);break;case"FilterOn":this.filterOn=o.value.stimulsoft.toBoolean();break;case"CrossTabStyleIndex":this.crossTabStyleIndex=o.value.stimulsoft.toNumber();break;case"HorAlignment":this.horAlignment=w.parse(c.StiCrossHorAlignment,o.value.toString());break;case"PrintTitleOnAllPages":this.printTitleOnAllPages=o.value.stimulsoft.toBoolean();break;case"SummaryDirection":this.summaryDirection=w.parse(y,o.value.toString());break;case"KeepCrossTabTogether":this.keepCrossTabTogether=o.value.stimulsoft.toBoolean();break;case"EmptyValue":this.emptyValue=o.value.toString();break;case"Wrap":this.wrap=o.value.stimulsoft.toBoolean();break;case"WrapGap":this.wrapGap=o.value.stimulsoft.toNumber();break;case"RightToLeft":this.rightToLeft=o.value.stimulsoft.toBoolean();break}}}catch(t){e={error:t}}finally{try{i&&!i.done&&(r=n.return)&&r.call(n)}finally{if(e)throw e.error}}},M.prototype.loadFromXml=function(t,e){var r,n;k.prototype.loadFromXml.call(this,t,e);var e=t.getAttribute("Ref");!p.isNullOrEmpty(e)&&this.report.jsonLoaderHelper&&(this.report.jsonLoaderHelper.refNames[e.stimulsoft.toNumber()]=t.nodeName);for(var i=0;i<t.childNodes.length;i++){var o=t.childNodes[i];switch(o.nodeName){case"PrintIfEmpty":this.printIfEmpty=o.textContent.stimulsoft.toBoolean();break;case"DataRelationName":this.dataRelationName=o.textContent;break;case"DataSourceName":this.dataSourceName=o.textContent;break;case"BusinessObjectGuid":this.businessObjectGuid=o.textContent;break;case"Sort":this._sort=u.Report.Components.StiDataBand.loadXmlSort(o);break;case"FilterEngine":this.filterEngine=w.parse(b,o.textContent);break;case"FilterMode":this.filterMode=w.parse(A,o.textContent);break;case"Filters":null==this._filters&&(this._filters=new u.Report.Components.StiFiltersCollection),this._filters.loadFromXml(o);break;case"FilterOn":this.filterOn=o.textContent.stimulsoft.toBoolean();break;case"CrossTabStyleIndex":this.crossTabStyleIndex=o.textContent.stimulsoft.toNumber();break;case"HorAlignment":this.horAlignment=w.parse(c.StiCrossHorAlignment,o.textContent);break;case"PrintTitleOnAllPages":this.printTitleOnAllPages=o.textContent.stimulsoft.toBoolean();break;case"SummaryDirection":this.summaryDirection=w.parse(y,o.textContent);break;case"KeepCrossTabTogether":this.keepCrossTabTogether=o.textContent.stimulsoft.toBoolean();break;case"EmptyValue":this.emptyValue=o.textContent;break;case"Wrap":this.wrap=o.textContent.stimulsoft.toBoolean();break;case"WrapGap":this.wrapGap=o.textContent.stimulsoft.toNumber();break;case"RightToLeft":this.rightToLeft=o.textContent.stimulsoft.toBoolean();break}}try{for(var a=__values(this.components.list),s=a.next(),l;!s.done;s=a.next()){s.value.paint(null)}}catch(t){r={error:t}}finally{try{s&&!s.done&&(n=a.return)&&n.call(a)}finally{if(r)throw r.error}}},Object.defineProperty(M.prototype,"componentId",{get:function(){return e.StiComponentId.StiCrossTab},enumerable:!1,configurable:!0}),Object.defineProperty(M.prototype,"helpUrl",{get:function(){return"user-manual/report_internals_crosstable.htm"},enumerable:!1,configurable:!0}),M.prototype.convert=function(t,e,r){void 0===r&&(r=!1),k.prototype.convert.call(this,t,e,r),this.wrapGap=e.convertFromHInches(t.convertToHInches(this.wrapGap))},Object.defineProperty(M.prototype,"printIfEmpty",{get:function(){return this._printIfEmpty},set:function(t){this._printIfEmpty=t},enumerable:!1,configurable:!0}),Object.defineProperty(M.prototype,"dataRelation",{get:function(){if(null==this.page||null==this.report||null==this.report.dictionary||null==this.report.dictionary.relations||null==this.dataRelationName||0==this.dataRelationName.length)return null;return this.report.dictionary.relations.getByName(this.dataRelationName)},enumerable:!1,configurable:!0}),Object.defineProperty(M.prototype,"dataRelationName",{get:function(){return this._dataRelationName},set:function(t){this._dataRelationName=t},enumerable:!1,configurable:!0}),Object.defineProperty(M.prototype,"dataSource",{get:function(){if(null==this.page||null==this.report||null==this.report.dataSources||null==this.dataSourceName||0==this.dataSourceName.length)return null;return this.report.dataSources.getByName(this.dataSourceName)},enumerable:!1,configurable:!0}),Object.defineProperty(M.prototype,"dataSourceName",{get:function(){return this._dataSourceName},set:function(t){this._dataSourceName!=t&&(this._dataSourceName=t)},enumerable:!1,configurable:!0}),Object.defineProperty(M.prototype,"isDataSourceEmpty",{get:function(){return p.isNullOrEmpty(this.dataSourceName)||null==this.dataSource},enumerable:!1,configurable:!0}),Object.defineProperty(M.prototype,"isBusinessObjectEmpty",{get:function(){return p.isNullOrEmpty(this.businessObjectGuid)||null==this.businessObject},enumerable:!1,configurable:!0}),Object.defineProperty(M.prototype,"businessObject",{get:function(){if(null==this.page||null==this.report||null==this.businessObjectGuid||0==this.businessObjectGuid.length)return null;return o.getBusinessObjectFromGuid(this.report,this.businessObjectGuid)},enumerable:!1,configurable:!0}),Object.defineProperty(M.prototype,"businessObjectGuid",{get:function(){return this._businessObjectGuid},set:function(t){this._businessObjectGuid!=t&&(this._businessObjectGuid=t,p.isNullOrEmpty(t)||(this.dataSourceName=null))},enumerable:!1,configurable:!0}),Object.defineProperty(M.prototype,"sort",{get:function(){return this._sort},set:function(t){this._sort=t},enumerable:!1,configurable:!0}),Object.defineProperty(M.prototype,"canBreak",{get:function(){var t;return null!=F.getParentBand(this)||this.properties.getBool(v.propertyCanBreak,!1)},set:function(t){this.properties.setBool(v.propertyCanBreak,t,!1)},enumerable:!1,configurable:!0}),M.prototype.first=function(){null!=this.dataSource?this.dataSource.first():null!=this.businessObject&&this.businessObject.first()},M.prototype.prior=function(){null!=this.dataSource?this.dataSource.prior():null!=this.businessObject&&this.businessObject.prior()},M.prototype.next=function(){null!=this.dataSource?this.dataSource.next():null!=this.businessObject&&this.businessObject.next()},M.prototype.last=function(){null!=this.dataSource?this.dataSource.last():null!=this.businessObject&&this.businessObject.last()},Object.defineProperty(M.prototype,"isEof",{get:function(){return null!=this.dataSource?this.dataSource.isEof:null==this.businessObject||this.businessObject.isEof},set:function(t){null!=this.dataSource?this.dataSource.isEof=t:null!=this.businessObject&&(this.businessObject.isEof=t)},enumerable:!1,configurable:!0}),Object.defineProperty(M.prototype,"isBof",{get:function(){return null!=this.dataSource?this.dataSource.isBof:null==this.businessObject||this.businessObject.isBof},set:function(t){null!=this.dataSource?this.dataSource.isBof=t:null!=this.businessObject&&(this.businessObject.isBof=t)},enumerable:!1,configurable:!0}),Object.defineProperty(M.prototype,"isEmpty",{get:function(){return null!=this.dataSource?this.dataSource.isEmpty:null==this.businessObject||this.businessObject.isEmpty},enumerable:!1,configurable:!0}),Object.defineProperty(M.prototype,"position",{get:function(){return null!=this.dataSource?this.dataSource.position:null!=this.businessObject?this.businessObject.position:0},set:function(t){null!=this.dataSource?this.dataSource.position=t:null!=this.businessObject&&(this.businessObject.position=t)},enumerable:!1,configurable:!0}),Object.defineProperty(M.prototype,"count",{get:function(){return null!=this.dataSource?this.dataSource.count:null!=this.businessObject?this.businessObject.count:0},enumerable:!1,configurable:!0}),M.prototype.clone=function(){var t=k.prototype.clone.call(this);return t._crossTabInfo=this.crossTabInfo.clone().stimulsoft.as(c.StiCrossTabInfo),null!=this._filters?t._filters=this._filters.clone().stimulsoft.as(u.Report.Components.StiFiltersCollection):t._filters=null,t},M.prototype.packService=function(){this._filters=null},Object.defineProperty(M.prototype,"crossTabInfo",{get:function(){return this._crossTabInfo},enumerable:!1,configurable:!0}),Object.defineProperty(M.prototype,"filterEngine",{get:function(){return this._filterEngine},set:function(t){this._filterEngine=t},enumerable:!1,configurable:!0}),Object.defineProperty(M.prototype,"filterMode",{get:function(){return this._filterMode},set:function(t){this._filterMode=t},enumerable:!1,configurable:!0}),Object.defineProperty(M.prototype,"filters",{get:function(){return this._filters},set:function(t){this._filters=t},enumerable:!1,configurable:!0}),Object.defineProperty(M.prototype,"filter",{get:function(){return 0==this.filters.count&&this.filters.add(new a),this.filters.getByIndex(0).item=s.Expression,this.filters.getByIndex(0).expression},set:function(t){0==this.filters.count&&this.filters.add(new a),this.filters.getByIndex(0).item=s.Expression,this.filters.getByIndex(0).expression=t},enumerable:!1,configurable:!0}),Object.defineProperty(M.prototype,"filterOn",{get:function(){return this._filterOn},set:function(t){this._filterOn=t},enumerable:!1,configurable:!0}),M.prototype.canContainIn=function(t){if(t.is(M))return!1;if(t.is(v))return!0;return!1},Object.defineProperty(M.prototype,"localizedCategory",{get:function(){return C.get("Report","Components")},enumerable:!1,configurable:!0}),Object.defineProperty(M.prototype,"priority",{get:function(){return l.CrossTab},enumerable:!1,configurable:!0}),Object.defineProperty(M.prototype,"componentType",{get:function(){if(null!=this.report)return m.Simple;if(this.parent.is(h))return m.Simple;return m.Master},enumerable:!1,configurable:!0}),Object.defineProperty(M.prototype,"localizedName",{get:function(){return C.get("Components","StiCrossTab")},enumerable:!1,configurable:!0}),Object.defineProperty(M.prototype,"crossTabStyleIndex",{get:function(){return this._crossTabStyleIndex},set:function(t){t!=this._crossTabStyleIndex&&(-1!=t&&(k.prototype.setComponentStyle.call(this,""),this._crossTabStyleColor=null),t>=StiOptions.Designer.CrossTab.styleColors.length?this._crossTabStyleIndex=StiOptions.Designer.CrossTab.styleColors.length-1:this._crossTabStyleIndex=t,this.isDesigning&&null!=this.report&&!this.report.isSerializing&&this.updateStyles())},enumerable:!1,configurable:!0}),Object.defineProperty(M.prototype,"crossTabStyleColor",{get:function(){return this._crossTabStyleColor},set:function(t){this._crossTabStyleColor!=t&&(this._crossTabStyleColor=t)},enumerable:!1,configurable:!0}),Object.defineProperty(M.prototype,"crossTabStyle",{get:function(){return this.componentStyle},set:function(t){this.componentStyle=t},enumerable:!1,configurable:!0}),M.prototype.setComponentStyle=function(t){var e,r;if(null==t&&(t=""),k.prototype.getComponentStyle.call(this)!=t){k.prototype.setComponentStyle.call(this,t),this._crossTabStyleColor=null,this._crossTabStyleIndex=-1,this.updateStyles();try{for(var n=__values(this.components.list),i=n.next(),o;!i.done;i=n.next()){i.value.componentStyle=this.componentStyle}}catch(t){e={error:t}}finally{try{i&&!i.done&&(r=n.return)&&r.call(n)}finally{if(e)throw e.error}}}},M.prototype.updateStyles=function(){var e,t;try{for(var r=__values(this.components.toCast()),n=r.next();!n.done;n=r.next()){var i=n.value;this.applyFieldStyle(i)}}catch(t){e={error:t}}finally{try{n&&!n.done&&(t=r.return)&&t.call(r)}finally{if(e)throw e.error}}},M.prototype.getCellColor=function(){if(this.crossTabStyleColor instanceof d)return this.crossTabStyleColor;if(!p.isNullOrEmpty(this.crossTabStyle)&&null!=this.report){var t=this.report.styles.getByName(this.crossTabStyle).stimulsoft.as(i);if(null!=t)return t.color}if(-1!=this.crossTabStyleIndex)return StiOptions.Designer.CrossTab.styleColors[this.crossTabStyleIndex];return d.white},M.prototype.applyFieldStyle=function(t){null!=t&&(t.brush=new g(d.white),t.border.color=f.dark(this.getCellColor(),100),(t.is(c.StiCrossTitle)||t.is(c.StiCrossRow)||t.is(c.StiCrossColumn)||t.is(c.StiCrossSummaryHeader))&&(t.brush=new g(this.getCellColor()),t.textBrush=new g(f.dark(this.getCellColor(),150))),t.is(c.StiCrossTotal)&&(t.brush=new g(f.light(this.getCellColor(),50))),t.is(c.StiCrossSummary)&&(t.brush=new g(f.light(this.getCellColor(),100))))},Object.defineProperty(M.prototype,"horAlignment",{get:function(){return this._horAlignment},set:function(t){this._horAlignment=t},enumerable:!1,configurable:!0}),Object.defineProperty(M.prototype,"printTitleOnAllPages",{get:function(){return this._printTitleOnAllPages},set:function(t){this._printTitleOnAllPages=t},enumerable:!1,configurable:!0}),Object.defineProperty(M.prototype,"summaryDirection",{get:function(){return this._summaryDirection},set:function(t){this._summaryDirection=t},enumerable:!1,configurable:!0}),Object.defineProperty(M.prototype,"keepCrossTabTogether",{get:function(){return this._keepCrossTabTogether},set:function(t){this._keepCrossTabTogether=t},enumerable:!1,configurable:!0}),Object.defineProperty(M.prototype,"emptyValue",{get:function(){return this._emptyValue},set:function(t){this._emptyValue=t},enumerable:!1,configurable:!0}),Object.defineProperty(M.prototype,"wrap",{get:function(){return this._wrap},set:function(t){this._wrap=t},enumerable:!1,configurable:!0}),Object.defineProperty(M.prototype,"wrapGap",{get:function(){return this._wrapGap},set:function(t){this._wrapGap=t},enumerable:!1,configurable:!0}),Object.defineProperty(M.prototype,"rightToLeft",{get:function(){return this._rightToLeft},set:function(t){this._rightToLeft!=t&&(this._rightToLeft=t)},enumerable:!1,configurable:!0}),M.prototype.createNew=function(){return new M},N=M,c.StiCrossTab=N}(Stimulsoft=Stimulsoft||{}),function(t){var e,r,n,D,A,P,v,b,i,w,B,I,x,F,N,k,M,o,T,E,R,c,O,C,_,j;function a(){}r=e=t.Report||(t.Report={}),D=n=r.CrossTab||(r.CrossTab={}),A=t.System.StiArray,P=t.Base.Helpers.StiValueHelper,v=t.Base.Drawing.StiSolidBrush,b=t.Base.Drawing.StiFontUtils,i=t.Report.Components.StiDataHelper,w=t.Report.Components.StiImageHelper,B=t.Base.Drawing.StiBorder,I=t.Base.Drawing.StiBorderSides,x=t.Report.Events.StiGetValueEventArgs,F=t.Report.CrossTab.Core.StiCross,N=t.Report.Components.StiComponentsCollection,k=t.System.Data.DataColumn,M=t.System.Data.DataTable,o=t.Report.Components.StiDataBand,T=t.System.Drawing.Size,E=t.Report.Components.StiText,R=t.Report.Components.StiImage,c=t.Report.CrossTab.Core.StiCell,O=t.System.Drawing.Rectangle,C=t.Base.StiAlignValue,_=t.System.Collections.Hashtable,j=t.Base.StiGuidUtils,a.getCellRect=function(t,e,r){for(var n=0,i=0,o=t.crossTabInfo.cross.cells[e][r],a=e;a<e+o.width;a++)n+=t.crossTabInfo.cross.widths[a];for(var s=r;s<r+o.height;s++)i+=t.crossTabInfo.cross.heights[s];return new O(t.crossTabInfo.cross.coordX[e],t.crossTabInfo.cross.coordY[r],n,i)},a.getCellsRect=function(t,e,r,n,i){for(var o=0,a=0,s=e;s<n;s++)o+=t.crossTabInfo.cross.widths[s];for(var l=r;l<i;l++)a+=t.crossTabInfo.cross.heights[l];return new T(o,a)},a.renderCells=function(t,e,r,n,i,o,a){t.crossTabInfo.hidedCells.clear();for(var s=a.left-t.crossTabInfo.cross.coordX[r],l=a.top-t.crossTabInfo.cross.coordY[n],u=n;u<o;u++)for(var c=r;c<i;c++){var p=t.crossTabInfo.cross.cells[c][u];if(null==t.crossTabInfo.hidedCells.get(p)){var h=null,m,d,m;p.isImage?((m=null)!=p.field?(m=new R).border=p.field.border.clone().stimulsoft.as(B):(m=new R).border.side=I.All,null!=p.value&&(m.image=w.getImageFromObject(p.value)),p.field.is(D.StiCrossSummary)&&(m.stretch=p.field.stretch,m.aspectRatio=p.field.aspectRatio,m.horAlignment=p.field.imageHorAlignment,m.vertAlignment=p.field.imageVertAlignment),h=m):((d=null)!=p.field?(null!=(m=(d=1<p.width||1<p.height||!p.isNumeric||p.field.is(D.StiCrossHeader)?p.field.clone(!0):p.field).as(D.StiCrossHeader))&&(m.headerLevel=p.level,m.headerValue=null!=p.value?p.value.toString():null),d.border=p.field.border.clone().stimulsoft.as(B),d.maxSize=new T(0,0),d.minSize=new T(0,0),d.guid=j.newGuid(),1<p.height&&(d.canBreak=!0)):p.width<=1&&p.height<=1||((d=new E).border.side=I.All),p.isNegativeColor&&(d.textBrush=new v(StiOptions.Engine.negativeColor)),null!=d&&(d.setTextInternal(p.text),h=d)),null!=h&&(h.hyperlinkValue=p.hyperlinkValue,h.toolTipValue=p.toolTipValue,h.tagValue=p.tagValue,h.drillDownParameters=p.drillDownParameters,p.field.is(D.StiCrossColumn)||p.field.is(D.StiCrossHeader)?StiOptions.Export.optimizeDataOnlyMode?h.componentPlacement="d":h.componentPlacement="h":p.field.is(D.StiCrossTitle)?h.componentPlacement="h":h.componentPlacement="d",0<h.componentPlacement.length&&null!=p.field&&null!=p.field.parent&&(h.componentPlacement+="."+p.field.parent.name),e.components.add(h));var g=c+p.width,f=u+p.height;i<g&&(g=i),o<f&&(f=o);for(var S=c;S<g;S++)for(var y=u;y<f;y++){var A=t.crossTabInfo.cross.cells[S][y];t.crossTabInfo.hidedCells.set(A,A)}for(var b=0,C=0,S=c;S<g;S++)b+=t.crossTabInfo.cross.widths[S];for(var y=u;y<f;y++)C+=t.crossTabInfo.cross.heights[y];var p=new O(t.crossTabInfo.cross.coordX[c],t.crossTabInfo.cross.coordY[u],b,C);p.x+=s,p.y+=l,null!=h&&(h.clientRectangle=p.clone())}}},a.createCrossForCrossTabDataSource=function(t){return i.setData(t,!0,t.parent.stimulsoft.as(o)),this.buildCrossForCrossTabDataSource(t,!1)},a.buildCrossForCrossTabDataSource=function(t,e){var r,n,i,o,a=new N(null),s=new N(null),l=new N(null),u=new N(null),c=new N(null),p=new N(null),h=new M;try{for(var m=__values(t.components.list),d=m.next(),g;!d.done;d=m.next()){if((g=d.value).is(D.StiCrossCell)||g.is(D.StiCrossTitle)||g.is(D.StiCrossSummaryHeader)){var f=g.as(D.StiCrossRow),S=g.as(D.StiCrossColumn),y=g.as(D.StiCrossSummary),A=g.as(D.StiCrossSummaryHeader),b=g.as(D.StiCrossTitle);if(null!=b){b.typeOfComponent.stimulsoft.startsWith("Row:")&&c.add(b),b.typeOfComponent.stimulsoft.startsWith("Col:")&&p.add(b);continue}null!=f&&(s.add(f),f.isTotalVisible||(f.total.height=0)),null!=S&&(a.add(S),S.isTotalVisible||(S.total.width=0)),null!=y&&l.add(y),null!=A&&u.add(A);var A=new k(g.name,Object);h.columns.add(A),g.is(D.StiCrossHeader)&&(A=new k("Display__"+g.name,Object),h.columns.add(A))}}}catch(t){r={error:t}}finally{try{d&&!d.done&&(n=m.return)&&n.call(m)}finally{if(r)throw r.error}}if(!e){t.first();while(!t.isEof){var f=h.newRow();try{for(var C=(i=void 0,__values(t.components.list)),v=C.next(),g;!v.done;v=C.next()){if((g=v.value).is(D.StiCrossSummaryHeader))continue;var w=g.as(D.StiCrossCell),B,B;null!=w?(B=new D.StiGetCrossValueEventArgs,w.invokeGetCrossValue(B),f.sett(w.name,B.value),w.is(D.StiCrossHeader)&&(B=new D.StiGetCrossValueEventArgs,w.invokeGetDisplayCrossValue(B),f.sett("Display__"+g.name,B.value))):g.is(D.StiCrossTitle)&&(B=new x,g.invokeGetValue(g,B),g.textValue=B.value)}}catch(t){i={error:t}}finally{try{v&&!v.done&&(o=C.return)&&o.call(C)}finally{if(i)throw i.error}}h.rows.add(f),t.next()}}return h},a.buildCross=function(t,e){var r,n,i,o,a=new N(null),s=new N(null),l=new N(null),u=new N(null),c=new N(null),p=new N(null),h=null,m=null,d=null,g=new M;try{for(var f=__values(t.components.list),S=f.next(),y;!S.done;S=f.next()){if((y=S.value).is(D.StiCrossCell)||y.is(D.StiCrossTitle)||y.is(D.StiCrossSummaryHeader)){var A=y.as(D.StiCrossRow),b=y.as(D.StiCrossColumn),C=y.as(D.StiCrossSummary),v=y.as(D.StiCrossSummaryHeader),w=y.as(D.StiCrossTitle);if(null!=w){w.typeOfComponent.stimulsoft.startsWith("Row:")&&c.add(w),w.typeOfComponent.stimulsoft.startsWith("Col:")&&p.add(w),w.typeOfComponent.stimulsoft.startsWith("LeftTitle")&&(h=w),w.typeOfComponent.stimulsoft.startsWith("RightTitle")&&(m=w),w.typeOfComponent.stimulsoft.startsWith("SummaryTitle")&&(d=w);continue}null!=A&&(s.add(A),A.isTotalVisible||(A.total.height=0)),null!=b&&(a.add(b),b.isTotalVisible||(b.total.width=0)),null!=C&&l.add(C),null!=v&&u.add(v);var v=new k(y.name,Object);g.columns.add(v),y.is(D.StiCrossHeader)&&(v=new k("Display__"+y.name,Object),g.columns.add(v))}}}catch(t){r={error:t}}finally{try{S&&!S.done&&(n=f.return)&&n.call(f)}finally{if(r)throw r.error}}if(!e){t.first();while(!t.isEof){var A=g.newRow();try{for(var B=(i=void 0,__values(t.components.list)),I=B.next(),y;!I.done;I=B.next()){if((y=I.value).is(D.StiCrossSummaryHeader))continue;var T=y.as(D.StiCrossCell),E,R,E;null!=T?(E=new D.StiGetCrossValueEventArgs,T.invokeGetCrossValue(E),"string"!=typeof(R=E.value)&&null==(R=P.tryToNullableNumber(E.value))&&(R=E.value),A.sett(T.name,R),T.is(D.StiCrossHeader)&&(E=new D.StiGetCrossValueEventArgs,T.invokeGetDisplayCrossValue(E),A.sett("Display__"+y.name,E.value))):y.is(D.StiCrossTitle)&&(E=new x,y.invokeGetValue(y,E),y.textValue=E.value)}}catch(t){i={error:t}}finally{try{I&&!I.done&&(o=B.return)&&o.call(B)}finally{if(i)throw i.error}}g.rows.add(A),t.next()}}t.crossTabInfo.cross=new F,t.crossTabInfo.cross.designTime=e,t.crossTabInfo.cross.colFields=a,t.crossTabInfo.cross.rowFields=s,t.crossTabInfo.cross.sumFields=l,t.crossTabInfo.cross.sumHeaderFields=u,t.crossTabInfo.cross.colTitleFields=p,t.crossTabInfo.cross.rowTitleFields=c,t.crossTabInfo.cross.leftCrossTitle=h,t.crossTabInfo.cross.rightCrossTitle=m,t.crossTabInfo.cross.summaryCrossTitle=d,(t.crossTabInfo.cross.crossTab=t).crossTabInfo.cross.create(g,t.report,t.summaryDirection,t.emptyValue),t.crossTabInfo.cross.crossTab=null},a.getEndCol=function(t,e,r){var n=t.crossTabInfo.cross.colCount;if(t.horAlignment!=D.StiCrossHorAlignment.None&&t.horAlignment!=D.StiCrossHorAlignment.Left&&!t.wrap)return n;for(var i=e,o=0,a=e;a<t.crossTabInfo.cross.colCount;a++){if((o+=t.crossTabInfo.cross.widths[a])>r.width)break;i++}return i==e&&i+1<=n&&i++,i},a.getEndRow=function(t,e,r){for(var n=t.crossTabInfo.cross.rowCount,i=e,o=0,a=e;a<t.crossTabInfo.cross.rowCount;a++){if((o+=t.crossTabInfo.cross.heights[a])>r.height)break;i++}return i==e&&i+1<=n&&i++,i},a.getPageSegmentsRequired=function(t){if(t.horAlignment==D.StiCrossHorAlignment.Width||t.wrap)return 1;for(var e=t.crossTabInfo.cross,t=t.page,r=t.pageWidth-t.margins.left-t.margins.right,n=1,i=0,o=0;o<e.colCount;o++)r<i+e.widths[o]&&(n++,i=0),i+=e.widths[o];return n},a.checkMergedRowCells=function(t,e,r,n,i){for(var o=t.crossTabInfo.cross.cells,a=0,s=n;s<i;s++){var l=o[s][r-1],u=l.parentCell;null!=l.field&&1<l.height&&null!=u&&u.keepMergedCellsTogether&&(a=Math.max(a,u.height-l.height+1))}return Math.max(r-a,e+1)},a.isColFieldsEmpty=function(t){return 1==t.crossTabInfo.cross.colFields.count&&t.crossTabInfo.cross.colFields.getByIndex(0).name==F.emptyField},a.isRowFieldsEmpty=function(t){var e=t.crossTabInfo.cross;if(e.isRowsEmpty&&!e.isColsEmpty&&e.isSummariesEmpty)return!1;return 1==t.crossTabInfo.cross.rowFields.count&&t.crossTabInfo.cross.rowFields.getByIndex(0).name==F.emptyField},a.createCross=function(t){i.setData(t,!0,t.parent.stimulsoft.as(o)),this.buildCross(t,!1),t.crossTabInfo.cross.maxWidth=t.page.width,t.crossTabInfo.cross.maxHeight=t.page.height,t.rightToLeft&&this.makeRightToLeft(t),t.crossTabInfo.cross.doAutoSize()},a.makeRightToLeft=function(t){for(var e=t.crossTabInfo.cross,r=A.create(Array,e.colCount),n=0;n<e.colCount;n++){r[n]=A.create(c,e.rowCount);for(var i=0;i<e.rowCount;i++){var o=e.cells[e.colCount-n-1][i];r[n][i]=o}}for(var a=new _,n=0;n<e.colCount;n++)for(var i=0,o,s,l,o,l;i<e.rowCount;i++){i<2?null!=(o=r[e.colCount-n-1][i])&&1<o.width&&!o.isChangeWidthForRightToLeft&&(s=0,a.contains(o.text)?(s=Math.trunc(a.get(o.text)),2==o.width&&a.remove(o.text)):(s=n,a.set(o.text,n)),l=r[e.colCount-s-o.width][i],o.isChangeWidthForRightToLeft=!0,l.isChangeWidthForRightToLeft=!0,r[e.colCount-s-o.width][i]=o,r[e.colCount-n-1][i]=l):null!=(o=r[n][i])&&1<o.width&&(l=r[n-o.width+1][i],r[n-o.width+1][i]=o,r[n][i]=l)}a.clear(),e.cells=r;for(var u=new N,n=e.colFields.count-1;0<=n;n--)u.add(e.colFields.getByIndex(n))},a.calculateMaxAndMin=function(t,e,r,n){var i=e.ref,o=r.ref,i=0;o=0;for(var a=n;a<t.components.count;a++)var s=t.components.getByIndex(a),o=a==n?(i=s.left,s.right):(i=Math.min(i,s.left),Math.max(o,s.right));e.ref=i,r.ref=o},a.makeHorAlignmentByWidth=function(t,e){var r,n,i=0,o=0,a={ref:i},s={ref:o};this.calculateMaxAndMin(t,a,s,e),i=a.ref,o=s.ref;for(var l=new _,u=e;u<t.components.count;u++){var c=t.components.getByIndex(u);l.set(c.left,c.left),l.set(c.right,c.right)}var p=t.width/(o-i),h=A.create(Number,l.count);l.keys.copyTo(h,0);try{for(var m=__values(h),d=m.next();!d.done;d=m.next()){var g=d.value,f=g-i,f=C.alignToGrid(f*p,.01,!0);l.set(g,f)}}catch(t){r={error:t}}finally{try{d&&!d.done&&(n=m.return)&&n.call(m)}finally{if(r)throw r.error}}for(var u=e;u<t.components.count;u++){var c=t.components.getByIndex(u),S=0;l.containsKey(c.left)&&(S=l.get(c.left));var y=0,S;l.containsKey(c.right)&&(y=l.get(c.right)),c.left=S,c.width=y-S,p<1&&(null!=(S=c.stimulsoft.as(E))&&(S.font=b.changeFontSize(S.font,S.font.size*p)))}},a.clearCross=function(t){var e;null!=t&&null!=t.crossTabInfo&&null!=t.crossTabInfo.cross&&(e=t.crossTabInfo.cross.clear(),t.crossTabInfo.cross=null)},a.isCrossTabRendering=!1,r=a,D.StiCrossTabHelper=r}(Stimulsoft=Stimulsoft||{}),function(t){var e,r,n,i,o,a,s;function l(){var t=null!==s&&s.apply(this,arguments)||this;return t.defaultWidth=60,t.defaultHeight=14,t.hidedCells=new a,t.cross=null,t.renderRect=o.empty,t.finishRender=!1,t}r=e=t.Report||(t.Report={}),i=n=r.CrossTab||(r.CrossTab={}),r=t.Report.Engine.StiComponentInfo,o=t.System.Drawing.Rectangle,a=t.System.Collections.Hashtable,__extends(l,s=r),r=l,i.StiCrossTabInfo=r}(Stimulsoft=Stimulsoft||{}),function(t){var e,r,n,i,o;function a(){this._startRow=0,this._startColumn=0,this._renderingIsFinished=!1,this._allowRendering=!0,this._destinationRectangle=o.empty,this.shiftX=0}r=e=t.Report||(t.Report={}),i=n=r.CrossTab||(r.CrossTab={}),o=t.System.Drawing.Rectangle,Object.defineProperty(a.prototype,"startRow",{get:function(){return this._startRow},set:function(t){this._startRow=t},enumerable:!1,configurable:!0}),Object.defineProperty(a.prototype,"startColumn",{get:function(){return this._startColumn},set:function(t){this._startColumn=t},enumerable:!1,configurable:!0}),Object.defineProperty(a.prototype,"renderingIsFinished",{get:function(){return this._renderingIsFinished},set:function(t){this._renderingIsFinished=t},enumerable:!1,configurable:!0}),Object.defineProperty(a.prototype,"allowRendering",{get:function(){return this._allowRendering},set:function(t){this._allowRendering=t},enumerable:!1,configurable:!0}),Object.defineProperty(a.prototype,"destinationRectangle",{get:function(){return this._destinationRectangle},set:function(t){this._destinationRectangle=t},enumerable:!1,configurable:!0}),Object.defineProperty(a.prototype,"destinationContainer",{get:function(){return this._destinationContainer},set:function(t){this._destinationContainer=t},enumerable:!1,configurable:!0}),r=a,i.StiCrossTabParams=r}(Stimulsoft=Stimulsoft||{}),function(t){var e,r,n,i,o,a,s,l,t,u;function c(){var t=u.call(this)||this;return t._printOnAllPages=!0,t._typeOfComponent="",t.brush=new a(s.lightGray),t}r=e=t.Report||(t.Report={}),i=n=r.CrossTab||(r.CrossTab={}),o=t.System.StiString,a=t.Base.Drawing.StiSolidBrush,s=t.System.Drawing.Color,l=t.Base.Localization.StiLocalization,u=i.StiCrossField,__extends(c,u),c.prototype.saveToJsonObject=function(t){var t=u.prototype.saveToJsonObject.call(this,t);return t.removeProperty("TextFormat"),t.removeProperty("HideZeros"),t.removeProperty("Conditions"),t.addPropertyBool("PrintOnAllPages",this.printOnAllPages,!0),t.addPropertyStringNullOrEmpty("TypeOfComponent",this.typeOfComponent),t},c.prototype.loadFromJsonObject=function(t){var e,r;u.prototype.loadFromJsonObject.call(this,t);try{for(var n=__values(t.properties()),i=n.next();!i.done;i=n.next()){var o=i.value;switch(o.name){case"PrintOnAllPages":this.printOnAllPages=o.value.stimulsoft.toBoolean();break;case"TypeOfComponent":this.typeOfComponent=o.value.toString();break}}}catch(t){e={error:t}}finally{try{i&&!i.done&&(r=n.return)&&r.call(n)}finally{if(e)throw e.error}}},c.prototype.loadFromXml=function(t,e){u.prototype.loadFromXml.call(this,t,e);var e=t.getAttribute("Ref");!o.isNullOrEmpty(e)&&this.report.jsonLoaderHelper&&(this.report.jsonLoaderHelper.refNames[e.stimulsoft.toNumber()]=t.nodeName);for(var r=0;r<t.childNodes.length;r++){var n=t.childNodes[r];switch(n.nodeName){case"PrintOnAllPages":this.printOnAllPages=n.textContent.stimulsoft.toBoolean();break;case"TypeOfComponent":this.typeOfComponent=n.textContent;break}}},Object.defineProperty(c.prototype,"componentId",{get:function(){return r.StiComponentId.StiCrossTitle},enumerable:!1,configurable:!0}),Object.defineProperty(c.prototype,"localizedName",{get:function(){return l.get("Components","StiCrossTitle")},enumerable:!1,configurable:!0}),Object.defineProperty(c.prototype,"printOnAllPages",{get:function(){return this._printOnAllPages},set:function(t){this._printOnAllPages=t},enumerable:!1,configurable:!0}),Object.defineProperty(c.prototype,"typeOfComponent",{get:function(){return this._typeOfComponent},set:function(t){this._typeOfComponent=t},enumerable:!1,configurable:!0}),Object.defineProperty(c.prototype,"cellText",{get:function(){return this.getTextInternal()},enumerable:!1,configurable:!0}),c.prototype.createNew=function(){return new c},t=c,i.StiCrossTitle=t}(Stimulsoft=Stimulsoft||{}),function(t){var e,r,n,i,o;r=e=t.Report||(t.Report={}),r=n=r.Dashboard||(r.Dashboard={}),(o=i=r.Export||(r.Export={})).IStiDashboardExportSettings=new t.System.Interface("IStiDashboardExportSettings")}(Stimulsoft=Stimulsoft||{}),function(t){var e,r,n,i,o;r=e=t.Report||(t.Report={}),r=n=r.Dashboard||(r.Dashboard={}),(o=i=r.Export||(r.Export={})).IStiDataDashboardExportSettings=new t.System.Interface("IStiDataDashboardExportSettings")}(Stimulsoft=Stimulsoft||{}),function(t){var e,r,n,i,o;r=e=t.Report||(t.Report={}),r=n=r.Dashboard||(r.Dashboard={}),(o=i=r.Export||(r.Export={})).IStiExcelDashboardExportSettings=new t.System.Interface("IStiExcelDashboardExportSettings")}(Stimulsoft=Stimulsoft||{}),function(t){var e,r,n,i,o;r=e=t.Report||(t.Report={}),r=n=r.Dashboard||(r.Dashboard={}),(o=i=r.Export||(r.Export={})).IStiImageDashboardExportSettings=new t.System.Interface("IStiImageDashboardExportSettings")}(Stimulsoft=Stimulsoft||{}),function(t){var e,r,n,i,o;r=e=t.Report||(t.Report={}),r=n=r.Dashboard||(r.Dashboard={}),(o=i=r.Export||(r.Export={})).IStiPdfDashboardExportSettings=new t.System.Interface("IStiPdfDashboardExportSettings")}(Stimulsoft=Stimulsoft||{}),function(t){var e,r,n,i,o,a;function s(){}r=e=t.Report||(t.Report={}),r=n=r.Dashboard||(r.Dashboard={}),o=i=r.Helpers||(r.Helpers={}),a=t.Report.Components.IStiSimpleBorder,s.getBorderContentRect=function(t,e,r){void 0===r&&(r=!0);var n=e.as(a);if(null!=n&&null==n.border2)return t;return this.getBorderContentRect2(t,n.border2,o.StiElementScale.factor(e),r)},s.getBorderContentRect2=function(t,e,r,n){void 0===n&&(n=!0);var e=e.getSizeIncludingSide();return 1<=e&&(e-=n?1:0),t.inflate(Math.ceil(-e*r),Math.ceil(-e*r)),t},s.getBorderContentRect3=function(t,e,r,n){void 0===n&&(n=!0);var e=e.getSizeIncludingSide();return 1<=e&&(e-=n?1:0),t.inflate(Math.ceil(-e*r),Math.ceil(-e*r)),t},r=s,o.StiBorderElementHelper=r}(Stimulsoft=Stimulsoft||{}),function(t){var e,r,n,o,i,a,s,l,u;function c(){}r=e=t.Report||(t.Report={}),o=n=r.Dashboard||(r.Dashboard={}),a=i=o.Helpers||(o.Helpers={}),s=t.System.StiString,l=t.Report.Components.StiComponent,u=t.System.Collections.List,c.isCrossLinkedFilter=function(t){if(null==t)return!1;var r=t.as(l).page.getComponents().toList().where(function(t){return t.is(o.IStiFilterElement)});if(null==r)return!1;var n=new u,e=function(){var e=t.getParentKey();if(s.isNullOrWhiteSpace(e))return{value:!1};if(null==(t=r.cast().firstOrDefault(function(t){return null!=t&&t.getKey()==e})))return{value:!1};if(n.contains(t))return{value:!0};n.add(t)};while(1){var i=e();if("object"==typeof i)return i.value}},r=c,a.StiCrossLinkedFilterHelper=r}(Stimulsoft=Stimulsoft||{}),function(n){var t,e,r,i,o,a;function s(){}e=t=n.Report||(n.Report={}),i=r=e.Dashboard||(e.Dashboard={}),e=o=i.Helpers||(i.Helpers={}),a=n.Base.StiAppExpressionHelper,s.getBackColor=function(t,e){return this.getColor(t,e,"backColor")},s.getForeColor=function(t,e){return this.getColor(t,e,"foreColor")},s.getColor=function(t,e,r){var t=t;return a.isExpressionSpecified(t,r)?n.Report.Helpers.StiAppExpressionParser.parseColorExpression(t,r,!0):e},i=s,e.StiDashboardExpressionHelper=i}(Stimulsoft=Stimulsoft||{}),function(t){var e,r,n,i,o,a,s,l,u;function c(){}r=e=t.Report||(t.Report={}),i=n=r.Dashboard||(r.Dashboard={}),r=o=i.Helpers||(i.Helpers={}),a=t.System.StiString,s=t.System.Drawing.Image,l=t.Report.Helpers.StiHyperlinkProcessor,i=t.System.Collections.Dictionary,u=t.Base.StiKeyHelper,c.get=function(t,e){var r=this.getCacheKey(t,e),r=this.cache.contains(r)?this.getFromCache(r,e):null;if(null==r)return null==(r=l.getImage(e,t))&&(r=new s),this.addToCache(t,r,e),r;return r},c.getCacheKey=function(t,e){e.setKey(u.getOrGeneratedKey(e.getKey()));var e=e.getKey();return null==e&&(e=""),a.isNullOrWhiteSpace(t)?e+".0":e+"."+t},c.getFromCache=function(t,e){var e=this.getCacheKey(t,e);return this.cache.contains(e)?this.cache.get(e):null},c.addToCache=function(t,e,r){var r=this.getCacheKey(t,r);null==e&&(e=new s),this.cache.set(r,e)},c.clean=function(e){var r=this;null==e?this.cache.clear():this.cache.keys.where(function(t){return t.stimulsoft.startsWith(e)}).forEach(function(t){return r.cache.remove(t)},this)},c.cache=new i,i=c,r.StiDashboardImageHyperlinkCache=i}(Stimulsoft=Stimulsoft||{}),function(t){var e,r,n,i,o,a;function s(){}r=e=t.Report||(t.Report={}),i=n=r.Dashboard||(r.Dashboard={}),r=o=i.Helpers||(i.Helpers={}),a=t.System.Collections.List,s.getSettingsPath=function(){return""},s.getNewSettingsPath=function(){return""},s.save=function(){if(null==this.dbsFiles)return!1;try{}catch(t){return!0}return!0},s.load=function(){if(null!=this.dbsFiles)return;try{var t=this.getNewSettingsPath()}catch(t){}if(null==this.dbsFiles||null==this.reportFiles)try{var t=this.getSettingsPath()}catch(t){}null==this.dbsFiles&&(this.dbsFiles=new a),null==this.reportFiles&&(this.reportFiles=new a)},s.add=function(t,e,r){if(void 0===r&&(r=!0),null==t||null==e)return;this.load();var n=!1,e=e.toLowerCase();t.pages.containsDashboards?(this.dbsFiles.contains(e)||(this.dbsFiles.add(e),n=!0),this.reportFiles.contains(e)&&(this.reportFiles.remove(e),n=!0)):(this.reportFiles.contains(e)||(this.reportFiles.add(e),n=!0),this.dbsFiles.contains(e)&&(this.dbsFiles.remove(e),n=!0)),n&&r&&this.save()},s.add2=function(t,e,r){if(void 0===r&&(r=!0),null==e)return;this.load();var n=!1,e=e.toLowerCase();t?(this.dbsFiles.contains(e)||(this.dbsFiles.add(e),n=!0),this.reportFiles.contains(e)&&(this.reportFiles.remove(e),n=!0)):(this.reportFiles.contains(e)||(this.reportFiles.add(e),n=!0),this.dbsFiles.contains(e)&&(this.dbsFiles.remove(e),n=!0)),n&&r&&this.save()},s.remove=function(t){if(null==t)return;this.load();var e=t.toLowerCase(),t=!1;this.dbsFiles.contains(e)&&(this.dbsFiles.remove(e),t=!0),this.reportFiles.contains(e)&&(this.reportFiles.remove(e),t=!0),t&&this.save()},s.containsDbs=function(t){if(null==t)return!1;return this.load(),this.dbsFiles.contains(t.toLowerCase())},s.containsFile=function(t){if(null==t)return!1;this.load();var t=t.toLowerCase();if(this.dbsFiles.contains(t))return!0;if(this.reportFiles.contains(t))return!0;return!1},s.dbsFiles=null,s.reportFiles=null,i=s,r.StiDashboardRecentHelper=i}(Stimulsoft=Stimulsoft||{}),function(t){var e,r,n,t,i;function o(){}r=e=t.Report||(t.Report={}),t=n=r.Dashboard||(r.Dashboard={}),r=i=t.Helpers||(t.Helpers={}),o.factor=function(t){return 1},t=o,r.StiElementScale=t}(Stimulsoft=Stimulsoft||{}),function(t){var e,r,n,i,o,a;function s(){}r=e=t.Report||(t.Report={}),i=n=r.Dashboard||(r.Dashboard={}),r=o=i.Helpers||(i.Helpers={}),a=t.System.Drawing.Point,s.setMouseOverPoint=function(t,e){this.indicatorElement=t,this.mouseOverPoint=e},s.getMouseOverPoint=function(t,e){if(void 0===e&&(e=!1),null!=this.indicatorElement&&null!=t&&this.indicatorElement.getKey()==t.getKey()&&null!=this.mouseOverPoint)return e?new a(this.mouseOverPoint.x*t.zoom,this.mouseOverPoint.y*t.zoom):this.mouseOverPoint;return null},s.resetMouseOverPoint=function(t){null!=this.indicatorElement&&null!=t&&this.indicatorElement.getKey()==t.getKey()&&(this.indicatorElement=null,this.mouseOverPoint=null)},i=s,r.StiIndicatorElementMouseOverHelper=i}(Stimulsoft=Stimulsoft||{}),function(t){var e,t,r,n,i,o;function a(){}t=e=t.Report||(t.Report={}),n=r=t.Dashboard||(t.Dashboard={}),o=i=n.Helpers||(n.Helpers={}),a.applyMargin=function(t,e,r){null==r&&(r=o.StiElementScale.factor(t));var t=t.as(n.IStiMargin).margin;if(null==t)return e;return e.x+=t.left*r,e.y+=t.top*r,e.width-=t.left*r+t.right*r,e.height-=t.top*r+t.bottom*r,e},t=a,o.StiMarginHelper=t}(Stimulsoft=Stimulsoft||{}),function(t){var e,t,r,n,i,o;function a(){}t=e=t.Report||(t.Report={}),n=r=t.Dashboard||(t.Dashboard={}),o=i=n.Helpers||(n.Helpers={}),a.applyPadding=function(t,e,r){null==r&&(r=o.StiElementScale.factor(t));var t=t.as(n.IStiPadding).padding;if(null==t)return e;return e.x+=t.left*r,e.y+=t.top*r,e.width-=t.left*r+t.right*r,e.height-=t.top*r+t.bottom*r,e},t=a,o.StiPaddingHelper=t}(Stimulsoft=Stimulsoft||{}),function(t){var e,r,n,i,o,a,s,l;function u(){}r=e=t.Report||(t.Report={}),i=n=r.Dashboard||(r.Dashboard={}),a=o=i.Helpers||(i.Helpers={}),s=t.Data.Engine.StiDataTopNMode,l=t.Data.Engine.IStiDataTopN,u.isAllowUserSorting=function(t){var e=t.as(l);if(null!=e&&e.topN.mode!=s.None)return!1;var e=t.as(i.IStiElementInteraction);if(null!=e){var r=e.dashboardInteraction.as(i.IStiAllowUserSortingDashboardInteraction);if(null!=r&&!r.allowUserSorting)return!1}var r=t.as(i.IStiChartElement);if(null!=r)return r.isAxisAreaChart||r.isPieChart||r.isDoughnutChart;if(t.is(i.IStiChartElement))return!0;if(t.is(i.IStiGaugeElement)&&null!=(null==t?void 0:t.getSeries()))return!0;if(t.is(i.IStiProgressElement)&&null!=(null==t?void 0:t.getSeries()))return!0;if(t.is(i.IStiIndicatorElement)&&null!=(null==t?void 0:t.getSeries()))return!0;return!1},r=u,a.StiSortMenuHelper=r}(Stimulsoft=Stimulsoft||{}),function(t){var e,r,n,i,o,a;function s(){return null!==a&&a.apply(this,arguments)||this}r=e=t.Report||(t.Report={}),i=n=r.Dashboard||(r.Dashboard={}),r=o=i.Helpers||(i.Helpers={}),i=t.System.EventArgs,__extends(s,a=i),i=s,r.StiTableElementClickEventArgs=i}(Stimulsoft=Stimulsoft||{}),function(t){var e,t,r,n,i,o;function a(){}t=e=t.Report||(t.Report={}),t=r=t.Dashboard||(t.Dashboard={}),(i=n=t.Helpers||(t.Helpers={})).StiTableElementClickRightHelper=a}(Stimulsoft=Stimulsoft||{}),function(t){var e,t,r,n,i,o;function a(){}t=e=t.Report||(t.Report={}),t=r=t.Dashboard||(t.Dashboard={}),(i=n=t.Helpers||(t.Helpers={})).StiTableElementMouseOverHelper=a}(Stimulsoft=Stimulsoft||{}),function(t){var e,t,r,n,i,o;function a(){}t=e=t.Report||(t.Report={}),t=r=t.Dashboard||(t.Dashboard={}),(i=n=t.Helpers||(t.Helpers={})).StiTablePartDrawer=a}(Stimulsoft=Stimulsoft||{}),function(t){var e,t,r,n,i,o;function a(){}t=e=t.Report||(t.Report={}),t=r=t.Dashboard||(t.Dashboard={}),(i=n=t.Helpers||(t.Helpers={})).StiTableSizer=a}(Stimulsoft=Stimulsoft||{}),function(t){var e,r,n,i,o,a;function s(){return null!==a&&a.apply(this,arguments)||this}r=e=t.Report||(t.Report={}),i=n=r.Dashboard||(r.Dashboard={}),r=o=i.Styles||(i.Styles={}),i=t.Report.Styles.StiBaseStyle,__extends(s,a=i),s.prototype.drawBox=function(t,e,r,n){},s.prototype.drawStyle=function(t,e,r,n){},s.prototype.getStyleFromComponent=function(t,e){},s.prototype.setStyleToComponent=function(t){},i=s,r.StiElementStyle=i}(Stimulsoft=Stimulsoft||{}),function(t){var e,r,n,i,o,a,s,l,u,c,p;function h(){var t=null!==p&&p.apply(this,arguments)||this;return t.backColor=u.BackgroundColor,t.foreColor=u.ForegroundColor,t.glyphColor=l.dimGray,t.separatorColor=l.lightGray,t.selectedBackColor=c.fromHtml("#3498db"),t.selectedForeColor=l.white,t.selectedGlyphColor=l.white,t.hotBackColor=s.light(l.lightGray,15),t.hotForeColor=u.ForegroundColor,t.hotGlyphColor=u.ForegroundColor,t.hotSelectedBackColor=s.light(c.fromHtml("#3498db"),30),t.hotSelectedForeColor=l.white,t.hotSelectedGlyphColor=l.white,t.font=new a("Arial",8),t}r=e=t.Report||(t.Report={}),i=n=r.Dashboard||(r.Dashboard={}),r=o=i.Styles||(i.Styles={}),a=t.System.Drawing.Font,s=t.Base.Drawing.StiColorUtils,l=t.System.Drawing.Color,u=t.Base.Dashboard.StiElementConsts,c=t.System.Drawing.ColorTranslator,p=r.StiElementStyle,__extends(h,p),i=h,r.StiControlElementStyle=i}(Stimulsoft=Stimulsoft||{}),function(t){var e,r,n,i,o,a,s,l,t,u;function c(){var t=null!==u&&u.apply(this,arguments)||this;return t.ident=i.StiElementStyleIdent.AliceBlue,t.backColor=s.get("f2f5fc"),t.foreColor=s.get("1e1e1e"),t.glyphColor=s.get("1e1e1e"),t.separatorColor=s.get("c0cae9"),t.selectedBackColor=s.get("40568d"),t.selectedForeColor=s.get("e4ffff"),t.selectedGlyphColor=s.get("e4ffff"),t.hotBackColor=s.get("f5cc84"),t.hotForeColor=s.get("1e1e1e"),t.hotGlyphColor=s.get("1e1e1e"),t.hotSelectedBackColor=s.get("5d6b99"),t.hotSelectedForeColor=s.get("e4ffff"),t.hotSelectedGlyphColor=s.get("e4ffff"),t}r=e=t.Report||(t.Report={}),i=n=r.Dashboard||(r.Dashboard={}),a=o=i.Styles||(i.Styles={}),s=t.Base.Drawing.StiColor,l=t.Base.Localization.StiLocalization,u=a.StiControlElementStyle,__extends(c,u),Object.defineProperty(c.prototype,"componentId",{get:function(){return r.StiComponentId.StiAliceBlueDashboardControlStyle},enumerable:!1,configurable:!0}),Object.defineProperty(c.prototype,"localizedName",{get:function(){return l.get("PropertyColor","AliceBlue")},enumerable:!1,configurable:!0}),t=c,a.StiAliceBlueControlElementStyle=t}(Stimulsoft=Stimulsoft||{}),function(t){var e,r,n,i,o,a,s,t,l;function u(){var t=null!==l&&l.apply(this,arguments)||this;return t.ident=i.StiElementStyleIdent.Blue,t}r=e=t.Report||(t.Report={}),i=n=r.Dashboard||(r.Dashboard={}),a=o=i.Styles||(i.Styles={}),s=t.Base.Localization.StiLocalization,l=a.StiControlElementStyle,__extends(u,l),Object.defineProperty(u.prototype,"componentId",{get:function(){return r.StiComponentId.StiBlueDashboardControlStyle},enumerable:!1,configurable:!0}),Object.defineProperty(u.prototype,"localizedName",{get:function(){return s.get("PropertyColor","Blue")},enumerable:!1,configurable:!0}),t=u,a.StiBlueControlElementStyle=t}(Stimulsoft=Stimulsoft||{}),function(r){var t,e,n,i,o,a,s;function l(t){var e=s.call(this)||this;return e.ident=r.Report.Dashboard.StiElementStyleIdent.Custom,e.font=t.font,e.styleName=t.name,e.backColor=t.backColor,e.foreColor=t.foreColor,e.glyphColor=t.glyphColor,e.hotBackColor=t.hotBackColor,e.hotForeColor=t.hotForeColor,e.hotGlyphColor=t.hotGlyphColor,e.hotSelectedBackColor=t.hotSelectedBackColor,e.hotSelectedForeColor=t.hotSelectedForeColor,e.hotSelectedGlyphColor=t.hotSelectedGlyphColor,e.selectedBackColor=t.selectedBackColor,e.selectedForeColor=t.selectedForeColor,e.selectedGlyphColor=t.selectedGlyphColor,e.separatorColor=t.separatorColor,e}e=t=r.Report||(r.Report={}),i=n=e.Dashboard||(e.Dashboard={}),a=o=i.Styles||(i.Styles={}),s=a.StiControlElementStyle,__extends(l,s),Object.defineProperty(l.prototype,"componentId",{get:function(){return e.StiComponentId.StiCustomDashboardControlStyle},enumerable:!1,configurable:!0}),Object.defineProperty(l.prototype,"localizedName",{get:function(){return this.styleName},enumerable:!1,configurable:!0}),i=l,a.StiCustomControlElementStyle=i}(Stimulsoft=Stimulsoft||{}),function(t){var e,r,n,i,o,a,s,l,u,t,c;function p(){var t=null!==c&&c.apply(this,arguments)||this;return t.ident=i.StiElementStyleIdent.DarkBlue,t.separatorColor=u.fromHtml("#758696"),t.backColor=u.fromHtml("#0a325a"),t.foreColor=u.fromHtml("#ccc"),t.glyphColor=u.fromHtml("#eee"),t.selectedBackColor=s.light(u.fromHtml("#0a325a"),20),t.selectedForeColor=u.fromHtml("#eee"),t.selectedGlyphColor=u.fromHtml("#eee"),t.hotBackColor=s.dark(u.fromHtml("#0a325a"),10),t.hotForeColor=u.fromHtml("#eee"),t.hotGlyphColor=u.fromHtml("#eee"),t.hotSelectedBackColor=s.light(u.fromHtml("#0a325a"),40),t.hotSelectedForeColor=u.fromHtml("#eee"),t.hotSelectedGlyphColor=u.fromHtml("#ddd"),t}r=e=t.Report||(t.Report={}),i=n=r.Dashboard||(r.Dashboard={}),a=o=i.Styles||(i.Styles={}),s=t.Base.Drawing.StiColorUtils,l=t.Base.Localization.StiLocalization,u=t.System.Drawing.ColorTranslator,c=a.StiControlElementStyle,__extends(p,c),Object.defineProperty(p.prototype,"componentId",{get:function(){return r.StiComponentId.StiDarkBlueDashboardControlStyle},enumerable:!1,configurable:!0}),Object.defineProperty(p.prototype,"localizedName",{get:function(){return l.get("PropertyColor","DarkBlue")},enumerable:!1,configurable:!0}),t=p,a.StiDarkBlueControlElementStyle=t}(Stimulsoft=Stimulsoft||{}),function(t){var e,r,n,i,o,a,s,l,u,t,c;function p(){var t=null!==c&&c.apply(this,arguments)||this;return t.ident=i.StiElementStyleIdent.DarkGray,t.backColor=l.fromHtml("#595b65"),t.foreColor=l.fromHtml("#ddd"),t.selectedBackColor=l.fromHtml("#db7b46"),t.selectedForeColor=l.fromHtml("#eee"),t.glyphColor=l.fromHtml("#db7b46"),t.separatorColor=l.fromHtml("#66d3d3d5"),t.selectedGlyphColor=l.fromHtml("#eee"),t.hotBackColor=s.dark(l.fromHtml("#db7b46"),10),t.hotForeColor=l.fromHtml("#eee"),t.hotGlyphColor=l.fromHtml("#eee"),t.hotSelectedBackColor=s.light(l.fromHtml("#db7b46"),50),t.hotSelectedForeColor=l.fromHtml("#eee"),t.hotSelectedGlyphColor=l.fromHtml("#ddd"),t}r=e=t.Report||(t.Report={}),i=n=r.Dashboard||(r.Dashboard={}),a=o=i.Styles||(i.Styles={}),s=t.Base.Drawing.StiColorUtils,l=t.System.Drawing.ColorTranslator,u=t.Base.Localization.StiLocalization,c=a.StiControlElementStyle,__extends(p,c),Object.defineProperty(p.prototype,"componentId",{get:function(){return r.StiComponentId.StiDarkGrayDashboardControlStyle},enumerable:!1,configurable:!0}),Object.defineProperty(p.prototype,"localizedName",{get:function(){return u.get("PropertyColor","DarkGray")},enumerable:!1,configurable:!0}),t=p,a.StiDarkGrayControlElementStyle=t}(Stimulsoft=Stimulsoft||{}),function(t){var e,r,n,i,o,a,s,l,u,t,c;function p(){var t=null!==c&&c.apply(this,arguments)||this;return t.ident=i.StiElementStyleIdent.DarkGreen,t.backColor=l.fromHtml("#3f745e"),t.foreColor=l.fromHtml("#f6f7f7"),t.selectedBackColor=l.fromHtml("#cf822e"),t.selectedForeColor=l.fromHtml("#f6f7f7"),t.glyphColor=l.fromHtml("#e3ba41"),t.separatorColor=l.fromHtml("#66d3d3d5"),t.selectedGlyphColor=l.fromHtml("#f6f7f7"),t.hotBackColor=s.dark(l.fromHtml("#cf822e"),10),t.hotForeColor=l.fromHtml("#f6f7f7"),t.hotGlyphColor=l.fromHtml("#f6f7f7"),t.hotSelectedBackColor=l.fromHtml("#c76858"),t.hotSelectedForeColor=l.fromHtml("#eeecdd"),t.hotSelectedGlyphColor=l.fromHtml("#eeecdd"),t}r=e=t.Report||(t.Report={}),i=n=r.Dashboard||(r.Dashboard={}),a=o=i.Styles||(i.Styles={}),s=t.Base.Drawing.StiColorUtils,l=t.System.Drawing.ColorTranslator,u=t.Base.Localization.StiLocalization,c=a.StiControlElementStyle,__extends(p,c),Object.defineProperty(p.prototype,"componentId",{get:function(){return r.StiComponentId.StiDarkGreenDashboardControlStyle},enumerable:!1,configurable:!0}),Object.defineProperty(p.prototype,"localizedName",{get:function(){return u.get("PropertyColor","DarkGreen")},enumerable:!1,configurable:!0}),t=p,a.StiDarkGreenControlElementStyle=t}(Stimulsoft=Stimulsoft||{}),function(t){var e,r,n,i,o,a,s,l,u,t,c;function p(){var t=null!==c&&c.apply(this,arguments)||this;return t.ident=i.StiElementStyleIdent.DarkTurquoise,t.backColor=l.fromHtml("#235e6d"),t.foreColor=l.fromHtml("#fbffff"),t.selectedBackColor=l.fromHtml("#f0621e"),t.selectedForeColor=l.fromHtml("#eee"),t.glyphColor=l.fromHtml("#fbffff"),t.separatorColor=l.fromHtml("#aed2e5"),t.selectedGlyphColor=l.fromHtml("#fbffff"),t.hotBackColor=s.dark(l.fromHtml("#f0621e"),10),t.hotForeColor=l.fromHtml("#fbffff"),t.hotGlyphColor=l.fromHtml("#fbffff"),t.hotSelectedBackColor=s.light(l.fromHtml("#f0621e"),50),t.hotSelectedForeColor=l.fromHtml("#fbffff"),t.hotSelectedGlyphColor=l.fromHtml("#fbffff"),t}r=e=t.Report||(t.Report={}),i=n=r.Dashboard||(r.Dashboard={}),a=o=i.Styles||(i.Styles={}),s=t.Base.Drawing.StiColorUtils,l=t.System.Drawing.ColorTranslator,u=t.Base.Localization.StiLocalization,c=a.StiControlElementStyle,__extends(p,c),Object.defineProperty(p.prototype,"componentId",{get:function(){return r.StiComponentId.StiDarkTurquoiseDashboardControlStyle},enumerable:!1,configurable:!0}),Object.defineProperty(p.prototype,"localizedName",{get:function(){return u.get("PropertyColor","DarkTurquoise")},enumerable:!1,configurable:!0}),t=p,a.StiDarkTurquoiseControlElementStyle=t}(Stimulsoft=Stimulsoft||{}),function(t){var e,r,n,i,o,a,s,l,u,t,c;function p(){var t=null!==c&&c.apply(this,arguments)||this;return t.ident=i.StiElementStyleIdent.Green,t.selectedBackColor=u.fromHtml("#70ad47"),t.hotSelectedBackColor=s.light(u.fromHtml("#70ad47"),30),t}r=e=t.Report||(t.Report={}),i=n=r.Dashboard||(r.Dashboard={}),a=o=i.Styles||(i.Styles={}),s=t.Base.Drawing.StiColorUtils,l=t.Base.Localization.StiLocalization,u=t.System.Drawing.ColorTranslator,c=a.StiControlElementStyle,__extends(p,c),Object.defineProperty(p.prototype,"componentId",{get:function(){return r.StiComponentId.StiGreenDashboardControlStyle},enumerable:!1,configurable:!0}),Object.defineProperty(p.prototype,"localizedName",{get:function(){return l.get("PropertyColor","Green")},enumerable:!1,configurable:!0}),t=p,a.StiGreenControlElementStyle=t}(Stimulsoft=Stimulsoft||{}),function(t){var e,r,n,i,o,a,s,l,u,t,c;function p(){var t=null!==c&&c.apply(this,arguments)||this;return t.ident=i.StiElementStyleIdent.Orange,t.selectedBackColor=u.fromHtml("#ed7d31"),t.hotSelectedBackColor=s.light(u.fromHtml("#ed7d31"),30),t}r=e=t.Report||(t.Report={}),i=n=r.Dashboard||(r.Dashboard={}),a=o=i.Styles||(i.Styles={}),s=t.Base.Drawing.StiColorUtils,l=t.Base.Localization.StiLocalization,u=t.System.Drawing.ColorTranslator,c=a.StiControlElementStyle,__extends(p,c),Object.defineProperty(p.prototype,"componentId",{get:function(){return r.StiComponentId.StiOrangeDashboardControlStyle},enumerable:!1,configurable:!0}),Object.defineProperty(p.prototype,"localizedName",{get:function(){return l.get("PropertyColor","Orange")},enumerable:!1,configurable:!0}),t=p,a.StiOrangeControlElementStyle=t}(Stimulsoft=Stimulsoft||{}),function(t){var e,r,n,i,o,a,s,l,u,t,c;function p(){var t=null!==c&&c.apply(this,arguments)||this;return t.ident=i.StiElementStyleIdent.Silver,t.backColor=l.get("6d7e8b"),t.foreColor=l.get("e9f5fc"),t.glyphColor=l.get("e9f5fc"),t.separatorColor=l.get("e9f5fc"),t.selectedBackColor=l.get("3a5263"),t.selectedForeColor=l.get("e9f5fc"),t.selectedGlyphColor=l.get("e9f5fc"),t.hotBackColor=s.light(l.get("3a5263"),60),t.hotForeColor=l.get("e9f5fc"),t.hotGlyphColor=l.get("e9f5fc"),t.hotSelectedBackColor=s.light(l.get("3a5263"),30),t.hotSelectedForeColor=s.light(l.get("e9f5fc"),30),t.hotSelectedGlyphColor=s.light(l.get("e9f5fc"),30),t}r=e=t.Report||(t.Report={}),i=n=r.Dashboard||(r.Dashboard={}),a=o=i.Styles||(i.Styles={}),s=t.Base.Drawing.StiColorUtils,l=t.Base.Drawing.StiColor,u=t.Base.Localization.StiLocalization,c=a.StiControlElementStyle,__extends(p,c),Object.defineProperty(p.prototype,"componentId",{get:function(){return r.StiComponentId.StiSilverDashboardControlStyle},enumerable:!1,configurable:!0}),Object.defineProperty(p.prototype,"localizedName",{get:function(){return u.get("PropertyColor","Silver")},enumerable:!1,configurable:!0}),t=p,a.StiSilverControlElementStyle=t}(Stimulsoft=Stimulsoft||{}),function(t){var e,r,n,i,o,a,s,l,u,t,c;function p(){var t=null!==c&&c.apply(this,arguments)||this;return t.ident=i.StiElementStyleIdent.SlateGray,t.backColor=u.fromHtml("#33475b"),t.foreColor=u.fromHtml("#ddd"),t.selectedBackColor=s.light(u.fromHtml("#33475b"),20),t.selectedForeColor=u.fromHtml("#eee"),t.glyphColor=u.fromHtml("#ddd"),t.separatorColor=u.fromHtml("#c0c0c0"),t.selectedGlyphColor=u.fromHtml("#eee"),t.hotBackColor=s.dark(u.fromHtml("#33475b"),10),t.hotForeColor=u.fromHtml("#eee"),t.hotGlyphColor=u.fromHtml("#eee"),t.hotSelectedBackColor=s.light(u.fromHtml("#33475b"),50),t.hotSelectedForeColor=u.fromHtml("#eee"),t.hotSelectedGlyphColor=u.fromHtml("#ddd"),t}r=e=t.Report||(t.Report={}),i=n=r.Dashboard||(r.Dashboard={}),a=o=i.Styles||(i.Styles={}),s=t.Base.Drawing.StiColorUtils,l=t.Base.Localization.StiLocalization,u=t.System.Drawing.ColorTranslator,c=a.StiControlElementStyle,__extends(p,c),Object.defineProperty(p.prototype,"componentId",{get:function(){return r.StiComponentId.StiSlateGrayDashboardControlStyle},enumerable:!1,configurable:!0}),Object.defineProperty(p.prototype,"localizedName",{get:function(){return l.get("PropertyColor","SlateGray")},enumerable:!1,configurable:!0}),t=p,a.StiSlateGrayControlElementStyle=t}(Stimulsoft=Stimulsoft||{}),function(t){var e,r,n,i,o,a,s,l,u,t,c;function p(){var t=null!==c&&c.apply(this,arguments)||this;return t.ident=i.StiElementStyleIdent.Turquoise,t.selectedBackColor=u.fromHtml("#2ec6c8"),t.hotSelectedBackColor=s.light(u.fromHtml("#2ec6c8"),30),t}r=e=t.Report||(t.Report={}),i=n=r.Dashboard||(r.Dashboard={}),a=o=i.Styles||(i.Styles={}),s=t.Base.Drawing.StiColorUtils,l=t.Base.Localization.StiLocalization,u=t.System.Drawing.ColorTranslator,c=a.StiControlElementStyle,__extends(p,c),Object.defineProperty(p.prototype,"componentId",{get:function(){return r.StiComponentId.StiTurquoiseDashboardControlStyle},enumerable:!1,configurable:!0}),Object.defineProperty(p.prototype,"localizedName",{get:function(){return l.get("PropertyColor","Turquoise")},enumerable:!1,configurable:!0}),t=p,a.StiTurquoiseControlElementStyle=t}(Stimulsoft=Stimulsoft||{}),function(t){var e,r,n,i,o,a,s;function l(){var t=null!==s&&s.apply(this,arguments)||this;return t.backColor=a.white,t}r=e=t.Report||(t.Report={}),i=n=r.Dashboard||(r.Dashboard={}),r=o=i.Styles||(i.Styles={}),a=t.System.Drawing.Color,s=r.StiElementStyle,__extends(l,s),Object.defineProperty(l.prototype,"localizedName",{get:function(){return this.name},enumerable:!1,configurable:!0}),Object.defineProperty(l.prototype,"borderColor",{get:function(){return this.titleBackColor},enumerable:!1,configurable:!0}),l.prototype.drawStyleForGallery=function(t,e){},i=l,r.StiDashboardStyle=i}(Stimulsoft=Stimulsoft||{}),function(t){var e,r,n,i,o,a,s,l,t,u;function c(){var t=null!==u&&u.apply(this,arguments)||this;return t.ident=i.StiElementStyleIdent.AliceBlue,t.foreColor=l.get("3a3a3a"),t.backColor=l.get("f2f5fc"),t.titleBackColor=l.get("40568d"),t.titleForeColor=l.get("ffffff"),t}r=e=t.Report||(t.Report={}),i=n=r.Dashboard||(r.Dashboard={}),a=o=i.Styles||(i.Styles={}),s=t.Base.Localization.StiLocalization,l=t.Base.Drawing.StiColor,u=a.StiDashboardStyle,__extends(c,u),Object.defineProperty(c.prototype,"componentId",{get:function(){return r.StiComponentId.StiAliceBlueDashboardPageStyle},enumerable:!1,configurable:!0}),Object.defineProperty(c.prototype,"localizedName",{get:function(){return s.get("PropertyColor","AliceBlue")},enumerable:!1,configurable:!0}),Object.defineProperty(c.prototype,"borderColor",{get:function(){return l.get("40568d")},enumerable:!1,configurable:!0}),t=c,a.StiAliceBlueDashboardStyle=t}(Stimulsoft=Stimulsoft||{}),function(t){var e,r,n,i,o,a,s,l,u,t,c;function p(){var t=null!==c&&c.apply(this,arguments)||this;return t.ident=i.StiElementStyleIdent.Blue,t.foreColor=u.fromHtml("#3498db"),t.backColor=l.white,t.titleBackColor=u.fromHtml("#3498db"),t.titleForeColor=l.white,t}r=e=t.Report||(t.Report={}),i=n=r.Dashboard||(r.Dashboard={}),a=o=i.Styles||(i.Styles={}),s=t.Base.Localization.StiLocalization,l=t.System.Drawing.Color,u=t.System.Drawing.ColorTranslator,c=a.StiDashboardStyle,__extends(p,c),Object.defineProperty(p.prototype,"componentId",{get:function(){return r.StiComponentId.StiBlueDashboardPageStyle},enumerable:!1,configurable:!0}),Object.defineProperty(p.prototype,"localizedName",{get:function(){return s.get("PropertyColor","Blue")},enumerable:!1,configurable:!0}),t=p,a.StiBlueDashboardStyle=t}(Stimulsoft=Stimulsoft||{}),function(t){var e,r,n,i,o,a,s,l,t,u;function c(){var t=null!==u&&u.apply(this,arguments)||this;return t.ident=i.StiElementStyleIdent.DarkBlue,t.foreColor=l.fromHtml("#dddddd"),t.backColor=l.fromHtml("#1f4265"),t.titleBackColor=l.fromHtml("#0a325a"),t.titleForeColor=l.fromHtml("#dddddd"),t}r=e=t.Report||(t.Report={}),i=n=r.Dashboard||(r.Dashboard={}),a=o=i.Styles||(i.Styles={}),s=t.Base.Localization.StiLocalization,l=t.System.Drawing.ColorTranslator,u=a.StiDashboardStyle,__extends(c,u),Object.defineProperty(c.prototype,"componentId",{get:function(){return r.StiComponentId.StiDarkBlueDashboardPageStyle},enumerable:!1,configurable:!0}),Object.defineProperty(c.prototype,"localizedName",{get:function(){return s.get("PropertyColor","DarkBlue")},enumerable:!1,configurable:!0}),t=c,a.StiDarkBlueDashboardStyle=t}(Stimulsoft=Stimulsoft||{}),function(t){var e,r,n,i,o,a,s,l,u,t,c;function p(){var t=null!==c&&c.apply(this,arguments)||this;return t.ident=i.StiElementStyleIdent.DarkGray,t.foreColor=l.fromHtml("#f1f1f1"),t.backColor=l.fromHtml("#595b65"),t.titleForeColor=l.fromHtml("#4a4c55"),t.titleBackColor=l.fromHtml("#db7b46"),t}r=e=t.Report||(t.Report={}),i=n=r.Dashboard||(r.Dashboard={}),a=o=i.Styles||(i.Styles={}),s=t.System.Drawing.Color,l=t.System.Drawing.ColorTranslator,u=t.Base.Localization.StiLocalization,c=a.StiDashboardStyle,__extends(p,c),Object.defineProperty(p.prototype,"componentId",{get:function(){return r.StiComponentId.StiDarkGrayDashboardPageStyle},enumerable:!1,configurable:!0}),Object.defineProperty(p.prototype,"localizedName",{get:function(){return u.get("PropertyColor","DarkGray")},enumerable:!1,configurable:!0}),Object.defineProperty(p.prototype,"borderColor",{get:function(){return s.transparent},enumerable:!1,configurable:!0}),t=p,a.StiDarkGrayDashboardStyle=t}(Stimulsoft=Stimulsoft||{}),function(t){var e,r,n,i,o,a,s,l,u,t,c;function p(){var t=null!==c&&c.apply(this,arguments)||this;return t.ident=i.StiElementStyleIdent.DarkGreen,t.foreColor=l.fromHtml("#f3f7f7"),t.backColor=l.fromHtml("#144b45"),t.titleForeColor=l.fromHtml("#feedf6"),t.titleBackColor=l.fromHtml("#26775d"),t}r=e=t.Report||(t.Report={}),i=n=r.Dashboard||(r.Dashboard={}),a=o=i.Styles||(i.Styles={}),s=t.System.Drawing.Color,l=t.System.Drawing.ColorTranslator,u=t.Base.Localization.StiLocalization,c=a.StiDashboardStyle,__extends(p,c),Object.defineProperty(p.prototype,"componentId",{get:function(){return r.StiComponentId.StiDarkGreenDashboardPageStyle},enumerable:!1,configurable:!0}),Object.defineProperty(p.prototype,"localizedName",{get:function(){return u.get("PropertyColor","DarkGreen")},enumerable:!1,configurable:!0}),Object.defineProperty(p.prototype,"borderColor",{get:function(){return s.transparent},enumerable:!1,configurable:!0}),t=p,a.StiDarkGreenDashboardStyle=t}(Stimulsoft=Stimulsoft||{}),function(t){var e,r,n,i,o,a,s,l,t,u;function c(){var t=null!==u&&u.apply(this,arguments)||this;return t.ident=i.StiElementStyleIdent.DarkTurquoise,t.foreColor=s.fromHtml("#f4fcff"),t.backColor=s.fromHtml("#2c8590"),t.titleForeColor=s.fromHtml("#f4fcff"),t.titleBackColor=s.fromHtml("#216275"),t}r=e=t.Report||(t.Report={}),i=n=r.Dashboard||(r.Dashboard={}),a=o=i.Styles||(i.Styles={}),s=t.System.Drawing.ColorTranslator,l=t.Base.Localization.StiLocalization,u=a.StiDashboardStyle,__extends(c,u),Object.defineProperty(c.prototype,"componentId",{get:function(){return r.StiComponentId.StiDarkTurquoiseDashboardPageStyle},enumerable:!1,configurable:!0}),Object.defineProperty(c.prototype,"localizedName",{get:function(){return l.get("PropertyColor","DarkTurquoise")},enumerable:!1,configurable:!0}),Object.defineProperty(c.prototype,"borderColor",{get:function(){return s.fromHtml("#1c475c")},enumerable:!1,configurable:!0}),t=c,a.StiDarkTurquoiseDashboardStyle=t}(Stimulsoft=Stimulsoft||{}),function(t){var e,r,n,i,o,a,s,l,u,t,c;function p(){var t=null!==c&&c.apply(this,arguments)||this;return t.ident=i.StiElementStyleIdent.Green,t.foreColor=u.fromHtml("#70ad47"),t.backColor=l.white,t.titleBackColor=u.fromHtml("#70ad47"),t.titleForeColor=l.white,t}r=e=t.Report||(t.Report={}),i=n=r.Dashboard||(r.Dashboard={}),a=o=i.Styles||(i.Styles={}),s=t.Base.Localization.StiLocalization,l=t.System.Drawing.Color,u=t.System.Drawing.ColorTranslator,c=a.StiDashboardStyle,__extends(p,c),Object.defineProperty(p.prototype,"componentId",{get:function(){return r.StiComponentId.StiGreenDashboardPageStyle},enumerable:!1,configurable:!0}),Object.defineProperty(p.prototype,"localizedName",{get:function(){return s.get("PropertyColor","Green")},enumerable:!1,configurable:!0}),t=p,a.StiGreenDashboardStyle=t}(Stimulsoft=Stimulsoft||{}),function(t){var e,r,n,i,o,a,s,l,u,t,c;function p(){var t=null!==c&&c.apply(this,arguments)||this;return t.ident=i.StiElementStyleIdent.Orange,t.foreColor=u.fromHtml("#ed7d31"),t.backColor=l.white,t.titleBackColor=u.fromHtml("#ed7d31"),t.titleForeColor=l.white,t}r=e=t.Report||(t.Report={}),i=n=r.Dashboard||(r.Dashboard={}),a=o=i.Styles||(i.Styles={}),s=t.Base.Localization.StiLocalization,l=t.System.Drawing.Color,u=t.System.Drawing.ColorTranslator,c=a.StiDashboardStyle,__extends(p,c),Object.defineProperty(p.prototype,"componentId",{get:function(){return r.StiComponentId.StiOrangeDashboardPageStyle},enumerable:!1,configurable:!0}),Object.defineProperty(p.prototype,"localizedName",{get:function(){return s.get("PropertyColor","Orange")},enumerable:!1,configurable:!0}),t=p,a.StiOrangeDashboardStyle=t}(Stimulsoft=Stimulsoft||{}),function(t){var e,r,n,i,o,a,s,l,t,u;function c(){var t=null!==u&&u.apply(this,arguments)||this;return t.ident=i.StiElementStyleIdent.Silver,t.foreColor=l.get("3a5263"),t.backColor=l.get("e9f5fc"),t.titleBackColor=l.get("3a5263"),t.titleForeColor=l.get("e9f5fc"),t}
r=e=t.Report||(t.Report={}),i=n=r.Dashboard||(r.Dashboard={}),a=o=i.Styles||(i.Styles={}),s=t.Base.Localization.StiLocalization,l=t.Base.Drawing.StiColor,u=a.StiDashboardStyle,__extends(c,u),Object.defineProperty(c.prototype,"componentId",{get:function(){return r.StiComponentId.StiSilverDashboardPageStyle},enumerable:!1,configurable:!0}),Object.defineProperty(c.prototype,"localizedName",{get:function(){return s.get("PropertyColor","Silver")},enumerable:!1,configurable:!0}),Object.defineProperty(c.prototype,"borderColor",{get:function(){return l.get("3a5263")},enumerable:!1,configurable:!0}),t=c,a.StiSilverDashboardStyle=t}(Stimulsoft=Stimulsoft||{}),function(t){var e,r,n,i,o,a,s,l,u,t,c;function p(){var t=null!==c&&c.apply(this,arguments)||this;return t.ident=i.StiElementStyleIdent.SlateGray,t.foreColor=l.white,t.backColor=u.fromHtml("#708090"),t.titleBackColor=u.fromHtml("#475b6f"),t.titleForeColor=l.white,t}r=e=t.Report||(t.Report={}),i=n=r.Dashboard||(r.Dashboard={}),a=o=i.Styles||(i.Styles={}),s=t.Base.Localization.StiLocalization,l=t.System.Drawing.Color,u=t.System.Drawing.ColorTranslator,c=a.StiDashboardStyle,__extends(p,c),Object.defineProperty(p.prototype,"componentId",{get:function(){return r.StiComponentId.StiSlateGrayDashboardPageStyle},enumerable:!1,configurable:!0}),Object.defineProperty(p.prototype,"localizedName",{get:function(){return s.get("PropertyColor","SlateGray")},enumerable:!1,configurable:!0}),t=p,a.StiSlateGrayDashboardStyle=t}(Stimulsoft=Stimulsoft||{}),function(t){var e,r,n,i,o,a,s,l,u,t,c;function p(){var t=null!==c&&c.apply(this,arguments)||this;return t.ident=i.StiElementStyleIdent.Turquoise,t.foreColor=u.fromHtml("#2ec6c8"),t.backColor=l.white,t.titleBackColor=u.fromHtml("#2ec6c8"),t.titleForeColor=l.white,t}r=e=t.Report||(t.Report={}),i=n=r.Dashboard||(r.Dashboard={}),a=o=i.Styles||(i.Styles={}),s=t.Base.Localization.StiLocalization,l=t.System.Drawing.Color,u=t.System.Drawing.ColorTranslator,c=a.StiDashboardStyle,__extends(p,c),Object.defineProperty(p.prototype,"componentId",{get:function(){return r.StiComponentId.StiTurquoiseDashboardPageStyle},enumerable:!1,configurable:!0}),Object.defineProperty(p.prototype,"localizedName",{get:function(){return s.get("PropertyColor","Turquoise")},enumerable:!1,configurable:!0}),t=p,a.StiTurquoiseDashboardStyle=t}(Stimulsoft=Stimulsoft||{}),function(t){var e,r,n,i,o,a,s;function l(){var t=null!==s&&s.apply(this,arguments)||this;return t.backColor=a.white,t.foreColor=a.white,t.hotBackColor=a.white,t.positiveColor=a.green,t.negativeColor=a.red,t}r=e=t.Report||(t.Report={}),i=n=r.Dashboard||(r.Dashboard={}),r=o=i.Styles||(i.Styles={}),a=t.System.Drawing.Color,s=r.StiElementStyle,__extends(l,s),Object.defineProperty(l.prototype,"localizedName",{get:function(){return""},enumerable:!1,configurable:!0}),i=l,r.StiIndicatorElementStyle=i}(Stimulsoft=Stimulsoft||{}),function(t){var e,r,n,i,o,a,s,l,t,u;function c(){var t=null!==u&&u.apply(this,arguments)||this;return t.ident=i.StiElementStyleIdent.AliceBlue,t.glyphColor=l.get("40568d"),t}r=e=t.Report||(t.Report={}),i=n=r.Dashboard||(r.Dashboard={}),a=o=i.Styles||(i.Styles={}),s=t.Base.Localization.StiLocalization,l=t.Base.Drawing.StiColor,u=a.StiIndicatorElementStyle,__extends(c,u),Object.defineProperty(c.prototype,"componentId",{get:function(){return r.StiComponentId.StiAliceBlueDashboardIndicatorStyle},enumerable:!1,configurable:!0}),Object.defineProperty(c.prototype,"localizedName",{get:function(){return s.get("PropertyColor","AliceBlue")},enumerable:!1,configurable:!0}),t=c,a.StiAliceBlueIndicatorElementStyle=t}(Stimulsoft=Stimulsoft||{}),function(t){var e,r,n,i,o,a,s,l,t,u;function c(){var t=null!==u&&u.apply(this,arguments)||this;return t.ident=i.StiElementStyleIdent.Blue,t.glyphColor=l.fromHtml("#3498db"),t}r=e=t.Report||(t.Report={}),i=n=r.Dashboard||(r.Dashboard={}),a=o=i.Styles||(i.Styles={}),s=t.Base.Localization.StiLocalization,l=t.System.Drawing.ColorTranslator,u=a.StiIndicatorElementStyle,__extends(c,u),Object.defineProperty(c.prototype,"componentId",{get:function(){return r.StiComponentId.StiBlueDashboardIndicatorStyle},enumerable:!1,configurable:!0}),Object.defineProperty(c.prototype,"localizedName",{get:function(){return s.get("PropertyColor","Blue")},enumerable:!1,configurable:!0}),t=c,a.StiBlueIndicatorElementStyle=t}(Stimulsoft=Stimulsoft||{}),function(r){var t,e,n,i,o,a,s;function l(t){var e=s.call(this)||this;return e.ident=r.Report.Dashboard.StiElementStyleIdent.Custom,e.name=t.name,e.glyphColor=t.glyphColor,e.foreColor=t.foreColor,e.backColor=t.backColor,e.hotBackColor=t.hotBackColor,e.positiveColor=t.positiveColor,e.negativeColor=t.negativeColor,e}e=t=r.Report||(r.Report={}),i=n=e.Dashboard||(e.Dashboard={}),a=o=i.Styles||(i.Styles={}),s=a.StiIndicatorElementStyle,__extends(l,s),Object.defineProperty(l.prototype,"componentId",{get:function(){return e.StiComponentId.StiCustomDashboardIndicatorStyle},enumerable:!1,configurable:!0}),Object.defineProperty(l.prototype,"localizedName",{get:function(){return this.name},enumerable:!1,configurable:!0}),i=l,a.StiCustomIndicatorElementStyle=i}(Stimulsoft=Stimulsoft||{}),function(t){var e,r,n,i,o,a,s,l,t,u;function c(){var t=null!==u&&u.apply(this,arguments)||this;return t.ident=i.StiElementStyleIdent.DarkBlue,t.glyphColor=l.fromHtml("#165d9e"),t.backColor=l.fromHtml("#0a325a"),t}r=e=t.Report||(t.Report={}),i=n=r.Dashboard||(r.Dashboard={}),a=o=i.Styles||(i.Styles={}),s=t.Base.Localization.StiLocalization,l=t.System.Drawing.ColorTranslator,u=a.StiIndicatorElementStyle,__extends(c,u),Object.defineProperty(c.prototype,"componentId",{get:function(){return r.StiComponentId.StiDarkBlueDashboardIndicatorStyle},enumerable:!1,configurable:!0}),Object.defineProperty(c.prototype,"localizedName",{get:function(){return s.get("PropertyColor","DarkBlue")},enumerable:!1,configurable:!0}),t=c,a.StiDarkBlueIndicatorElementStyle=t}(Stimulsoft=Stimulsoft||{}),function(t){var e,r,n,i,o,a,s,l,u,c,t,p;function h(){var t=null!==p&&p.apply(this,arguments)||this;return t.ident=i.StiElementStyleIdent.DarkGray,t.glyphColor=c.fromHtml("#db7b46"),t.backColor=c.fromHtml("#595b65"),t.positiveColor=u.limeGreen,t.negativeColor=s.get("dd5555"),t}r=e=t.Report||(t.Report={}),i=n=r.Dashboard||(r.Dashboard={}),a=o=i.Styles||(i.Styles={}),s=t.Base.Drawing.StiColor,l=t.Base.Localization.StiLocalization,u=t.System.Drawing.Color,c=t.System.Drawing.ColorTranslator,p=a.StiIndicatorElementStyle,__extends(h,p),Object.defineProperty(h.prototype,"componentId",{get:function(){return r.StiComponentId.StiDarkGrayDashboardIndicatorStyle},enumerable:!1,configurable:!0}),Object.defineProperty(h.prototype,"localizedName",{get:function(){return l.get("PropertyColor","DarkGray")},enumerable:!1,configurable:!0}),t=h,a.StiDarkGrayIndicatorElementStyle=t}(Stimulsoft=Stimulsoft||{}),function(t){var e,r,n,i,o,a,s,l,t,u;function c(){var t=null!==u&&u.apply(this,arguments)||this;return t.ident=i.StiElementStyleIdent.DarkGreen,t.glyphColor=s.get("e1bb41"),t.backColor=s.get("3f745e"),t.positiveColor=s.get("e2ba41"),t.negativeColor=s.get("dd5555"),t}r=e=t.Report||(t.Report={}),i=n=r.Dashboard||(r.Dashboard={}),a=o=i.Styles||(i.Styles={}),s=t.Base.Drawing.StiColor,l=t.Base.Localization.StiLocalization,u=a.StiIndicatorElementStyle,__extends(c,u),Object.defineProperty(c.prototype,"componentId",{get:function(){return r.StiComponentId.StiDarkGreenDashboardIndicatorStyle},enumerable:!1,configurable:!0}),Object.defineProperty(c.prototype,"localizedName",{get:function(){return l.get("PropertyColor","DarkGreen")},enumerable:!1,configurable:!0}),t=c,a.StiDarkGreenIndicatorElementStyle=t}(Stimulsoft=Stimulsoft||{}),function(t){var e,r,n,i,o,a,s,l,u,c,t,p;function h(){var t=null!==p&&p.apply(this,arguments)||this;return t.ident=i.StiElementStyleIdent.DarkTurquoise,t.glyphColor=u.fromHtml("#f0621e"),t.backColor=u.fromHtml("#235e6d"),t.positiveColor=l.limeGreen,t.negativeColor=s.get("dd5555"),t}r=e=t.Report||(t.Report={}),i=n=r.Dashboard||(r.Dashboard={}),a=o=i.Styles||(i.Styles={}),s=t.Base.Drawing.StiColor,l=t.System.Drawing.Color,u=t.System.Drawing.ColorTranslator,c=t.Base.Localization.StiLocalization,p=a.StiIndicatorElementStyle,__extends(h,p),Object.defineProperty(h.prototype,"componentId",{get:function(){return r.StiComponentId.StiDarkTurquoiseDashboardIndicatorStyle},enumerable:!1,configurable:!0}),Object.defineProperty(h.prototype,"localizedName",{get:function(){return c.get("PropertyColor","DarkTurquoise")},enumerable:!1,configurable:!0}),t=h,a.StiDarkTurquoiseIndicatorElementStyle=t}(Stimulsoft=Stimulsoft||{}),function(t){var e,r,n,i,o,a,s,l,t,u;function c(){var t=null!==u&&u.apply(this,arguments)||this;return t.ident=i.StiElementStyleIdent.Green,t.glyphColor=l.fromHtml("#70ad47"),t}r=e=t.Report||(t.Report={}),i=n=r.Dashboard||(r.Dashboard={}),a=o=i.Styles||(i.Styles={}),s=t.Base.Localization.StiLocalization,l=t.System.Drawing.ColorTranslator,u=a.StiIndicatorElementStyle,__extends(c,u),Object.defineProperty(c.prototype,"componentId",{get:function(){return r.StiComponentId.StiGreenDashboardIndicatorStyle},enumerable:!1,configurable:!0}),Object.defineProperty(c.prototype,"localizedName",{get:function(){return s.get("PropertyColor","Green")},enumerable:!1,configurable:!0}),t=c,a.StiGreenIndicatorElementStyle=t}(Stimulsoft=Stimulsoft||{}),function(t){var e,r,n,i,o,a,s,l,t,u;function c(){var t=null!==u&&u.apply(this,arguments)||this;return t.ident=i.StiElementStyleIdent.Orange,t.glyphColor=l.fromHtml("#ed7d31"),t}r=e=t.Report||(t.Report={}),i=n=r.Dashboard||(r.Dashboard={}),a=o=i.Styles||(i.Styles={}),s=t.Base.Localization.StiLocalization,l=t.System.Drawing.ColorTranslator,u=a.StiIndicatorElementStyle,__extends(c,u),Object.defineProperty(c.prototype,"componentId",{get:function(){return r.StiComponentId.StiOrangeDashboardIndicatorStyle},enumerable:!1,configurable:!0}),Object.defineProperty(c.prototype,"localizedName",{get:function(){return s.get("PropertyColor","Orange")},enumerable:!1,configurable:!0}),t=c,a.StiOrangeIndicatorElementStyle=t}(Stimulsoft=Stimulsoft||{}),function(t){var e,r,n,i,o,a,s,l,t,u;function c(){var t=null!==u&&u.apply(this,arguments)||this;return t.ident=i.StiElementStyleIdent.Silver,t.glyphColor=l.get("3a5263"),t}r=e=t.Report||(t.Report={}),i=n=r.Dashboard||(r.Dashboard={}),a=o=i.Styles||(i.Styles={}),s=t.Base.Localization.StiLocalization,l=t.Base.Drawing.StiColor,u=a.StiIndicatorElementStyle,__extends(c,u),Object.defineProperty(c.prototype,"componentId",{get:function(){return r.StiComponentId.StiSilverDashboardIndicatorStyle},enumerable:!1,configurable:!0}),Object.defineProperty(c.prototype,"localizedName",{get:function(){return s.get("PropertyColor","Silver")},enumerable:!1,configurable:!0}),t=c,a.StiSilverIndicatorElementStyle=t}(Stimulsoft=Stimulsoft||{}),function(t){var e,r,n,i,o,a,s,l,t,u;function c(){var t=null!==u&&u.apply(this,arguments)||this;return t.ident=i.StiElementStyleIdent.SlateGray,t.glyphColor=l.fromHtml("#0bac45"),t.backColor=l.fromHtml("#33475b"),t}r=e=t.Report||(t.Report={}),i=n=r.Dashboard||(r.Dashboard={}),a=o=i.Styles||(i.Styles={}),s=t.Base.Localization.StiLocalization,l=t.System.Drawing.ColorTranslator,u=a.StiIndicatorElementStyle,__extends(c,u),Object.defineProperty(c.prototype,"componentId",{get:function(){return r.StiComponentId.StiSlateGrayDashboardIndicatorStyle},enumerable:!1,configurable:!0}),Object.defineProperty(c.prototype,"localizedName",{get:function(){return s.get("PropertyColor","SlateGray")},enumerable:!1,configurable:!0}),t=c,a.StiSlateGrayIndicatorElementStyle=t}(Stimulsoft=Stimulsoft||{}),function(t){var e,r,n,i,o,a,s,l,t,u;function c(){var t=null!==u&&u.apply(this,arguments)||this;return t.ident=i.StiElementStyleIdent.Turquoise,t.glyphColor=l.fromHtml("#2ec6c8"),t}r=e=t.Report||(t.Report={}),i=n=r.Dashboard||(r.Dashboard={}),a=o=i.Styles||(i.Styles={}),s=t.Base.Localization.StiLocalization,l=t.System.Drawing.ColorTranslator,u=a.StiIndicatorElementStyle,__extends(c,u),Object.defineProperty(c.prototype,"componentId",{get:function(){return r.StiComponentId.StiTurquoiseDashboardIndicatorStyle},enumerable:!1,configurable:!0}),Object.defineProperty(c.prototype,"localizedName",{get:function(){return s.get("PropertyColor","Turquoise")},enumerable:!1,configurable:!0}),t=c,a.StiTurquoiseIndicatorElementStyle=t}(Stimulsoft=Stimulsoft||{}),function(t){var e,r,n,i,o,a,s,l;function u(){var t=null!==l&&l.apply(this,arguments)||this;return t.cellForeColor=a.fromHtml("#222"),t.selectedCellForeColor=a.fromHtml("#222"),t.alternatingCellForeColor=a.fromHtml("#222"),t.columnHeaderForeColor=s.white,t.rowHeaderForeColor=s.white,t.lineColor=s.gainsboro,t.backColor=s.white,t}r=e=t.Report||(t.Report={}),i=n=r.Dashboard||(r.Dashboard={}),r=o=i.Styles||(i.Styles={}),a=t.System.Drawing.ColorTranslator,s=t.System.Drawing.Color,l=r.StiElementStyle,__extends(u,l),i=u,r.StiPivotElementStyle=i}(Stimulsoft=Stimulsoft||{}),function(t){var e,r,n,i,o,a,s,l,u,t,c;function p(){var t=null!==c&&c.apply(this,arguments)||this;return t.ident=i.StiElementStyleIdent.AliceBlue,t.cellBackColor=l.get("#f2f5fc"),t.cellForeColor=l.get("#1e1e1e"),t.alternatingCellBackColor=l.get("#ccd5f0"),t.alternatingCellForeColor=l.get("#1e1e1e"),t.selectedCellBackColor=l.get("f5cc84"),t.selectedCellForeColor=l.get("1e1e1e"),t.columnHeaderBackColor=l.get("#5d6b99"),t.columnHeaderForeColor=l.get("#e4ffff"),t.rowHeaderBackColor=l.get("#5d6b99"),t.rowHeaderForeColor=l.get("#e4ffff"),t.hotColumnHeaderBackColor=u.light(l.get("#5d6b99"),30),t.hotRowHeaderBackColor=u.light(l.get("#5d6b99"),30),t.lineColor=l.get("c0cae9"),t.backColor=l.get("#595b65"),t}r=e=t.Report||(t.Report={}),i=n=r.Dashboard||(r.Dashboard={}),a=o=i.Styles||(i.Styles={}),s=t.Base.Localization.StiLocalization,l=t.Base.Drawing.StiColor,u=t.Base.Drawing.StiColorUtils,c=a.StiPivotElementStyle,__extends(p,c),Object.defineProperty(p.prototype,"componentId",{get:function(){return r.StiComponentId.StiAliceBlueDashboardPivotStyle},enumerable:!1,configurable:!0}),Object.defineProperty(p.prototype,"localizedName",{get:function(){return s.get("PropertyColor","AliceBlue")},enumerable:!1,configurable:!0}),t=p,a.StiAliceBluePivotElementStyle=t}(Stimulsoft=Stimulsoft||{}),function(t){var e,r,n,i,o,a,s,l,u,c,t,p;function h(){var t=null!==p&&p.apply(this,arguments)||this;return t.ident=i.StiElementStyleIdent.Blue,t.cellBackColor=c.white,t.alternatingCellBackColor=l.fromHtml("#eee"),t.selectedCellBackColor=u.light(l.fromHtml("#3498db"),30),t.selectedCellForeColor=c.white,t.columnHeaderBackColor=l.fromHtml("#3498db"),t.columnHeaderForeColor=l.fromHtml("#fff"),t.rowHeaderBackColor=l.fromHtml("#3498db"),t.rowHeaderForeColor=l.fromHtml("#eee"),t.hotColumnHeaderBackColor=u.dark(l.fromHtml("#3498db"),30),t.hotRowHeaderBackColor=u.dark(l.fromHtml("#3498db"),30),t.cellForeColor=l.fromHtml("#323a45"),t}r=e=t.Report||(t.Report={}),i=n=r.Dashboard||(r.Dashboard={}),a=o=i.Styles||(i.Styles={}),s=t.Base.Localization.StiLocalization,l=t.System.Drawing.ColorTranslator,u=t.Base.Drawing.StiColorUtils,c=t.System.Drawing.Color,p=a.StiPivotElementStyle,__extends(h,p),Object.defineProperty(h.prototype,"componentId",{get:function(){return r.StiComponentId.StiBlueDashboardPivotStyle},enumerable:!1,configurable:!0}),Object.defineProperty(h.prototype,"localizedName",{get:function(){return s.get("PropertyColor","Blue")},enumerable:!1,configurable:!0}),t=h,a.StiBluePivotElementStyle=t}(Stimulsoft=Stimulsoft||{}),function(t){var e,r,n,i,o,a,t,s;function l(t){var e=s.call(this)||this;return e.ident=i.StiElementStyleIdent.Custom,e.name2=t.name,e.backColor=t.backColor,e.alternatingCellForeColor=t.alternatingCellForeColor,e.alternatingCellBackColor=t.alternatingCellBackColor,e.cellBackColor=t.cellBackColor,e.cellForeColor=t.cellForeColor,e.columnHeaderBackColor=t.columnHeaderBackColor,e.columnHeaderForeColor=t.columnHeaderForeColor,e.hotColumnHeaderBackColor=t.hotColumnHeaderBackColor,e.hotRowHeaderBackColor=t.hotRowHeaderBackColor,e.rowHeaderBackColor=t.rowHeaderBackColor,e.rowHeaderForeColor=t.rowHeaderForeColor,e.selectedCellBackColor=t.selectedCellBackColor,e.selectedCellForeColor=t.selectedCellForeColor,e.lineColor=t.lineColor,e}r=e=t.Report||(t.Report={}),i=n=r.Dashboard||(r.Dashboard={}),a=o=i.Styles||(i.Styles={}),s=a.StiPivotElementStyle,__extends(l,s),Object.defineProperty(l.prototype,"componentId",{get:function(){return r.StiComponentId.StiCustomDashboardPivotStyle},enumerable:!1,configurable:!0}),Object.defineProperty(l.prototype,"localizedName",{get:function(){return this.name2},enumerable:!1,configurable:!0}),t=l,a.StiCustomPivotElementStyle=t}(Stimulsoft=Stimulsoft||{}),function(t){var e,r,n,i,o,a,s,l,u,t,c;function p(){var t=null!==c&&c.apply(this,arguments)||this;return t.ident=i.StiElementStyleIdent.DarkBlue,t.cellBackColor=l.fromHtml("#1f4265"),t.cellForeColor=l.fromHtml("#ddd"),t.alternatingCellBackColor=l.fromHtml("#0a325a"),t.alternatingCellForeColor=l.fromHtml("#ddd"),t.selectedCellBackColor=u.light(l.fromHtml("#0a325a"),50),t.selectedCellForeColor=l.fromHtml("#eee"),t.columnHeaderBackColor=l.fromHtml("#0a325a"),t.columnHeaderForeColor=l.fromHtml("#ddd"),t.rowHeaderBackColor=l.fromHtml("#0a325a"),t.rowHeaderForeColor=l.fromHtml("#ddd"),t.hotColumnHeaderBackColor=u.light(l.fromHtml("#0a325a"),20),t.hotRowHeaderBackColor=u.light(l.fromHtml("#0a325a"),20),t.lineColor=l.fromHtml("#758696"),t.backColor=l.fromHtml("#0a325a"),t}r=e=t.Report||(t.Report={}),i=n=r.Dashboard||(r.Dashboard={}),a=o=i.Styles||(i.Styles={}),s=t.Base.Localization.StiLocalization,l=t.System.Drawing.ColorTranslator,u=t.Base.Drawing.StiColorUtils,c=a.StiPivotElementStyle,__extends(p,c),Object.defineProperty(p.prototype,"componentId",{get:function(){return r.StiComponentId.StiDarkBlueDashboardPivotStyle},enumerable:!1,configurable:!0}),Object.defineProperty(p.prototype,"localizedName",{get:function(){return s.get("PropertyColor","DarkBlue")},enumerable:!1,configurable:!0}),t=p,a.StiDarkBluePivotElementStyle=t}(Stimulsoft=Stimulsoft||{}),function(t){var e,r,n,i,o,a,s,l,u,t,c;function p(){var t=null!==c&&c.apply(this,arguments)||this;return t.ident=i.StiElementStyleIdent.DarkGray,t.cellBackColor=l.fromHtml("#595b65"),t.cellForeColor=l.fromHtml("#ddd"),t.alternatingCellBackColor=l.fromHtml("#6b6e75"),t.alternatingCellForeColor=l.fromHtml("#ddd"),t.selectedCellBackColor=l.fromHtml("#db7b46"),t.selectedCellForeColor=l.fromHtml("#eee"),t.columnHeaderBackColor=l.fromHtml("#6b6e75"),t.columnHeaderForeColor=l.fromHtml("#ddd"),t.rowHeaderBackColor=l.fromHtml("#6b6e75"),t.rowHeaderForeColor=l.fromHtml("#ddd"),t.hotColumnHeaderBackColor=s.light(l.fromHtml("#db7b46"),30),t.hotRowHeaderBackColor=s.light(l.fromHtml("#db7b46"),30),t.lineColor=l.fromHtml("#66d3d3d5"),t.backColor=l.fromHtml("#595b65"),t}r=e=t.Report||(t.Report={}),i=n=r.Dashboard||(r.Dashboard={}),a=o=i.Styles||(i.Styles={}),s=t.Base.Drawing.StiColorUtils,l=t.System.Drawing.ColorTranslator,u=t.Base.Localization.StiLocalization,c=a.StiPivotElementStyle,__extends(p,c),Object.defineProperty(p.prototype,"componentId",{get:function(){return r.StiComponentId.StiDarkGrayDashboardPivotStyle},enumerable:!1,configurable:!0}),Object.defineProperty(p.prototype,"localizedName",{get:function(){return u.get("PropertyColor","DarkGray")},enumerable:!1,configurable:!0}),t=p,a.StiDarkGrayPivotElementStyle=t}(Stimulsoft=Stimulsoft||{}),function(t){var e,r,n,i,o,a,s,l,u,t,c;function p(){var t=null!==c&&c.apply(this,arguments)||this;return t.ident=i.StiElementStyleIdent.DarkGreen,t.cellBackColor=l.fromHtml("#3f745e"),t.cellForeColor=l.fromHtml("#f6f3f5"),t.alternatingCellBackColor=l.fromHtml("#509190"),t.alternatingCellForeColor=l.fromHtml("#e3ba41"),t.selectedCellBackColor=l.fromHtml("#c87f2e"),t.selectedCellForeColor=l.fromHtml("#f5f0ea"),t.columnHeaderBackColor=l.fromHtml("#264945"),t.columnHeaderForeColor=l.fromHtml("#f2f6f6"),t.rowHeaderBackColor=l.fromHtml("#264945"),t.rowHeaderForeColor=l.fromHtml("#f2f6f6"),t.hotColumnHeaderBackColor=s.light(l.fromHtml("#264945"),30),t.hotRowHeaderBackColor=s.light(l.fromHtml("#264945"),30),t.lineColor=l.fromHtml("#66d3d3d5"),t.backColor=l.fromHtml("#595b65"),t}r=e=t.Report||(t.Report={}),i=n=r.Dashboard||(r.Dashboard={}),a=o=i.Styles||(i.Styles={}),s=t.Base.Drawing.StiColorUtils,l=t.System.Drawing.ColorTranslator,u=t.Base.Localization.StiLocalization,c=a.StiPivotElementStyle,__extends(p,c),Object.defineProperty(p.prototype,"componentId",{get:function(){return r.StiComponentId.StiDarkGreenDashboardPivotStyle},enumerable:!1,configurable:!0}),Object.defineProperty(p.prototype,"localizedName",{get:function(){return u.get("PropertyColor","DarkGreen")},enumerable:!1,configurable:!0}),t=p,a.StiDarkGreenPivotElementStyle=t}(Stimulsoft=Stimulsoft||{}),function(t){var e,r,n,i,o,a,s,l,t,u;function c(){var t=null!==u&&u.apply(this,arguments)||this;return t.ident=i.StiElementStyleIdent.DarkTurquoise,t.cellBackColor=s.fromHtml("#235e6d"),t.cellForeColor=s.fromHtml("#fefdff"),t.alternatingCellBackColor=s.fromHtml("#215667"),t.alternatingCellForeColor=s.fromHtml("#fefdff"),t.selectedCellBackColor=s.fromHtml("#f0621e"),t.selectedCellForeColor=s.fromHtml("#1c445b"),t.columnHeaderBackColor=s.fromHtml("#2a7f9e"),t.columnHeaderForeColor=s.fromHtml("#fefdff"),t.rowHeaderBackColor=s.fromHtml("#2a7f9e"),t.rowHeaderForeColor=s.fromHtml("#fefdff"),t.hotColumnHeaderBackColor=s.fromHtml("#f0621e"),t.hotRowHeaderBackColor=s.fromHtml("#f0621e"),t.lineColor=s.fromHtml("#5da0b7"),t.backColor=s.fromHtml("#235e6d"),t}r=e=t.Report||(t.Report={}),i=n=r.Dashboard||(r.Dashboard={}),a=o=i.Styles||(i.Styles={}),s=t.System.Drawing.ColorTranslator,l=t.Base.Localization.StiLocalization,u=a.StiPivotElementStyle,__extends(c,u),Object.defineProperty(c.prototype,"componentId",{get:function(){return r.StiComponentId.StiDarkTurquoiseDashboardPivotStyle},enumerable:!1,configurable:!0}),Object.defineProperty(c.prototype,"localizedName",{get:function(){return l.get("PropertyColor","DarkTurquoise")},enumerable:!1,configurable:!0}),t=c,a.StiDarkTurquoisePivotElementStyle=t}(Stimulsoft=Stimulsoft||{}),function(t){var e,r,n,i,o,a,s,l,u,c,t,p;function h(){var t=null!==p&&p.apply(this,arguments)||this;return t.ident=i.StiElementStyleIdent.Green,t.cellBackColor=c.white,t.alternatingCellBackColor=l.fromHtml("#eee"),t.selectedCellBackColor=u.light(l.fromHtml("#70ad47"),30),t.selectedCellForeColor=c.white,t.columnHeaderBackColor=l.fromHtml("#70ad47"),t.rowHeaderBackColor=l.fromHtml("#70ad47"),t.hotColumnHeaderBackColor=u.light(l.fromHtml("#70ad47"),20),t.hotRowHeaderBackColor=u.light(l.fromHtml("#70ad47"),20),t}r=e=t.Report||(t.Report={}),i=n=r.Dashboard||(r.Dashboard={}),a=o=i.Styles||(i.Styles={}),s=t.Base.Localization.StiLocalization,l=t.System.Drawing.ColorTranslator,u=t.Base.Drawing.StiColorUtils,c=t.System.Drawing.Color,p=a.StiPivotElementStyle,__extends(h,p),Object.defineProperty(h.prototype,"componentId",{get:function(){return r.StiComponentId.StiGreenDashboardPivotStyle},enumerable:!1,configurable:!0}),Object.defineProperty(h.prototype,"localizedName",{get:function(){return s.get("PropertyColor","Green")},enumerable:!1,configurable:!0}),t=h,a.StiGreenPivotElementStyle=t}(Stimulsoft=Stimulsoft||{}),function(t){var e,r,n,i,o,a,s,l,u,c,t,p;function h(){var t=null!==p&&p.apply(this,arguments)||this;return t.ident=i.StiElementStyleIdent.Orange,t.cellBackColor=c.white,t.alternatingCellBackColor=l.fromHtml("#eee"),t.selectedCellBackColor=u.light(l.fromHtml("#ed7d31"),30),t.selectedCellForeColor=c.white,t.columnHeaderBackColor=l.fromHtml("#ed7d31"),t.rowHeaderBackColor=l.fromHtml("#ed7d31"),t.hotColumnHeaderBackColor=u.light(l.fromHtml("#ed7d31"),20),t.hotRowHeaderBackColor=u.light(l.fromHtml("#ed7d31"),20),t}r=e=t.Report||(t.Report={}),i=n=r.Dashboard||(r.Dashboard={}),a=o=i.Styles||(i.Styles={}),s=t.Base.Localization.StiLocalization,l=t.System.Drawing.ColorTranslator,u=t.Base.Drawing.StiColorUtils,c=t.System.Drawing.Color,p=a.StiPivotElementStyle,__extends(h,p),Object.defineProperty(h.prototype,"componentId",{get:function(){return r.StiComponentId.StiOrangeDashboardPivotStyle},enumerable:!1,configurable:!0}),Object.defineProperty(h.prototype,"localizedName",{get:function(){return s.get("PropertyColor","Orange")},enumerable:!1,configurable:!0}),t=h,a.StiOrangePivotElementStyle=t}(Stimulsoft=Stimulsoft||{}),function(t){var e,r,n,i,o,a,s,l,u,t,c;function p(){var t=null!==c&&c.apply(this,arguments)||this;return t.ident=i.StiElementStyleIdent.Silver,t.cellBackColor=l.get("#6d7e8b"),t.cellForeColor=l.get("#e9f5fc"),t.alternatingCellBackColor=l.get("#3a5263"),t.alternatingCellForeColor=l.get("#e9f5fc"),t.selectedCellBackColor=l.get("e9f5fc"),t.selectedCellForeColor=l.get("3a5263"),t.columnHeaderBackColor=l.get("#3a5263"),t.columnHeaderForeColor=l.get("#e9f5fc"),t.rowHeaderBackColor=l.get("#3a5263"),t.rowHeaderForeColor=l.get("#e9f5fc"),t.hotColumnHeaderBackColor=u.light(l.get("#6d7e8b"),30),t.hotRowHeaderBackColor=u.light(l.get("#6d7e8b"),30),t.lineColor=l.get("66e9f5fc"),t.backColor=l.get("#595b65"),t}r=e=t.Report||(t.Report={}),i=n=r.Dashboard||(r.Dashboard={}),a=o=i.Styles||(i.Styles={}),s=t.Base.Localization.StiLocalization,l=t.Base.Drawing.StiColor,u=t.Base.Drawing.StiColorUtils,c=a.StiPivotElementStyle,__extends(p,c),Object.defineProperty(p.prototype,"componentId",{get:function(){return r.StiComponentId.StiSilverDashboardPivotStyle},enumerable:!1,configurable:!0}),Object.defineProperty(p.prototype,"localizedName",{get:function(){return s.get("PropertyColor","Silver")},enumerable:!1,configurable:!0}),t=p,a.StiSilverPivotElementStyle=t}(Stimulsoft=Stimulsoft||{}),function(t){var e,r,n,i,o,a,s,l,u,t,c;function p(){var t=null!==c&&c.apply(this,arguments)||this;return t.ident=i.StiElementStyleIdent.SlateGray,t.cellBackColor=l.fromHtml("#475b6f"),t.cellForeColor=l.fromHtml("#ddd"),t.alternatingCellBackColor=l.fromHtml("#33475b"),t.alternatingCellForeColor=l.fromHtml("#ddd"),t.selectedCellBackColor=u.light(l.fromHtml("#33475b"),50),t.selectedCellForeColor=l.fromHtml("#eee"),t.columnHeaderBackColor=l.fromHtml("#33475b"),t.columnHeaderForeColor=l.fromHtml("#ddd"),t.rowHeaderBackColor=l.fromHtml("#33475b"),t.rowHeaderForeColor=l.fromHtml("#ddd"),t.hotColumnHeaderBackColor=u.light(l.fromHtml("#33475b"),20),t.hotRowHeaderBackColor=u.light(l.fromHtml("#33475b"),20),t.lineColor=l.fromHtml("#c0c0c0"),t.backColor=l.fromHtml("#33475b"),t}r=e=t.Report||(t.Report={}),i=n=r.Dashboard||(r.Dashboard={}),a=o=i.Styles||(i.Styles={}),s=t.Base.Localization.StiLocalization,l=t.System.Drawing.ColorTranslator,u=t.Base.Drawing.StiColorUtils,c=a.StiPivotElementStyle,__extends(p,c),Object.defineProperty(p.prototype,"componentId",{get:function(){return r.StiComponentId.StiSlateGrayDashboardPivotStyle},enumerable:!1,configurable:!0}),Object.defineProperty(p.prototype,"localizedName",{get:function(){return s.get("PropertyColor","SlateGray")},enumerable:!1,configurable:!0}),t=p,a.StiSlateGrayPivotElementStyle=t}(Stimulsoft=Stimulsoft||{}),function(t){var e,r,n,i,o,a,s,l,u,c,t,p;function h(){var t=null!==p&&p.apply(this,arguments)||this;return t.ident=i.StiElementStyleIdent.Turquoise,t.cellBackColor=c.white,t.alternatingCellBackColor=l.fromHtml("#eee"),t.selectedCellBackColor=u.light(l.fromHtml("#2ec6c8"),30),t.selectedCellForeColor=c.white,t.columnHeaderBackColor=l.fromHtml("#2ec6c8"),t.rowHeaderBackColor=l.fromHtml("#2ec6c8"),t.hotColumnHeaderBackColor=u.light(l.fromHtml("#2ec6c8"),20),t.hotRowHeaderBackColor=u.light(l.fromHtml("#2ec6c8"),20),t}r=e=t.Report||(t.Report={}),i=n=r.Dashboard||(r.Dashboard={}),a=o=i.Styles||(i.Styles={}),s=t.Base.Localization.StiLocalization,l=t.System.Drawing.ColorTranslator,u=t.Base.Drawing.StiColorUtils,c=t.System.Drawing.Color,p=a.StiPivotElementStyle,__extends(h,p),Object.defineProperty(h.prototype,"componentId",{get:function(){return r.StiComponentId.StiTurquoiseDashboardPivotStyle},enumerable:!1,configurable:!0}),Object.defineProperty(h.prototype,"localizedName",{get:function(){return s.get("PropertyColor","Turquoise")},enumerable:!1,configurable:!0}),t=h,a.StiTurquoisePivotElementStyle=t}(Stimulsoft=Stimulsoft||{}),function(t){var e,r,n,i,o,a,s;function l(){var t=null!==s&&s.apply(this,arguments)||this;return t.foreColor=a.transparent,t.backColor=a.white,t}r=e=t.Report||(t.Report={}),i=n=r.Dashboard||(r.Dashboard={}),r=o=i.Styles||(i.Styles={}),a=t.System.Drawing.Color,s=r.StiElementStyle,__extends(l,s),i=l,r.StiProgressElementStyle=i}(Stimulsoft=Stimulsoft||{}),function(t){var e,r,n,i,o,a,s,l,t,u;function c(){var t=null!==u&&u.apply(this,arguments)||this;return t.ident=i.StiElementStyleIdent.AliceBlue,t.trackColor=l.get("3a5263"),t.bandColor=l.get("e9f5fc"),t.seriesColors=[l.get("4569bb"),l.get("e47334"),l.get("9d9c9c"),l.get("f8b92d"),l.get("5e93cc"),l.get("6ea548")],t}r=e=t.Report||(t.Report={}),i=n=r.Dashboard||(r.Dashboard={}),a=o=i.Styles||(i.Styles={}),s=t.Base.Localization.StiLocalization,l=t.Base.Drawing.StiColor,u=a.StiProgressElementStyle,__extends(c,u),Object.defineProperty(c.prototype,"componentId",{get:function(){return r.StiComponentId.StiAliceBlueDashboardProgressStyle},enumerable:!1,configurable:!0}),Object.defineProperty(c.prototype,"localizedName",{get:function(){return s.get("PropertyColor","AliceBlue")},enumerable:!1,configurable:!0}),t=c,a.StiAliceBlueProgressElementStyle=t}(Stimulsoft=Stimulsoft||{}),function(t){var e,r,n,i,o,a,s,l,t,u;function c(){var t=null!==u&&u.apply(this,arguments)||this;return t.ident=i.StiElementStyleIdent.Blue,t.trackColor=l.fromHtml("#e7ebec"),t.bandColor=l.fromHtml("#3498db"),t.seriesColors=[l.fromHtml("#3498db"),l.fromHtml("#ef717a"),l.fromHtml("#6dcbb3"),l.fromHtml("#f28161"),l.fromHtml("#fccd1b")],t}r=e=t.Report||(t.Report={}),i=n=r.Dashboard||(r.Dashboard={}),a=o=i.Styles||(i.Styles={}),s=t.Base.Localization.StiLocalization,l=t.System.Drawing.ColorTranslator,u=a.StiProgressElementStyle,__extends(c,u),Object.defineProperty(c.prototype,"componentId",{get:function(){return r.StiComponentId.StiBlueDashboardProgressStyle},enumerable:!1,configurable:!0}),Object.defineProperty(c.prototype,"localizedName",{get:function(){return s.get("PropertyColor","Blue")},enumerable:!1,configurable:!0}),t=c,a.StiBlueProgressElementStyle=t}(Stimulsoft=Stimulsoft||{}),function(r){var t,e,n,i,o,a,s;function l(t){var e=s.call(this)||this;return e.ident=r.Report.Dashboard.StiElementStyleIdent.Custom,e.name=t.name,e.trackColor=t.trackColor,e.bandColor=t.bandColor,e.seriesColors=t.seriesColors,e.foreColor=t.foreColor,e.backColor=t.backColor,e}e=t=r.Report||(r.Report={}),i=n=e.Dashboard||(e.Dashboard={}),a=o=i.Styles||(i.Styles={}),s=a.StiProgressElementStyle,__extends(l,s),Object.defineProperty(l.prototype,"componentId",{get:function(){return e.StiComponentId.StiCustomDashboardProgressStyle},enumerable:!1,configurable:!0}),Object.defineProperty(l.prototype,"localizedName",{get:function(){return this.name},enumerable:!1,configurable:!0}),i=l,a.StiCustomProgressElementStyle=i}(Stimulsoft=Stimulsoft||{}),function(t){var e,r,n,i,o,a,s,l,t,u;function c(){var t=null!==u&&u.apply(this,arguments)||this;return t.ident=i.StiElementStyleIdent.DarkBlue,t.trackColor=l.fromHtml("#1f4265"),t.bandColor=l.fromHtml("#165d9e"),t.seriesColors=[l.fromHtml("#165d9e"),l.fromHtml("#577eb6"),l.fromHtml("#569436"),l.fromHtml("#225056"),l.fromHtml("#d4dae0")],t.backColor=l.fromHtml("#0a325a"),t}r=e=t.Report||(t.Report={}),i=n=r.Dashboard||(r.Dashboard={}),a=o=i.Styles||(i.Styles={}),s=t.Base.Localization.StiLocalization,l=t.System.Drawing.ColorTranslator,u=a.StiProgressElementStyle,__extends(c,u),Object.defineProperty(c.prototype,"componentId",{get:function(){return r.StiComponentId.StiDarkBlueDashboardProgressStyle},enumerable:!1,configurable:!0}),Object.defineProperty(c.prototype,"localizedName",{get:function(){return s.get("PropertyColor","DarkBlue")},enumerable:!1,configurable:!0}),t=c,a.StiDarkBlueProgressElementStyle=t}(Stimulsoft=Stimulsoft||{}),function(t){var e,r,n,i,o,a,s,l,t,u;function c(){var t=null!==u&&u.apply(this,arguments)||this;return t.ident=i.StiElementStyleIdent.DarkGray,t.trackColor=s.fromHtml("#4a4c55"),t.bandColor=s.fromHtml("#6b6e75"),t.seriesColors=[s.fromHtml("#db7b46"),s.fromHtml("#d3d3d5"),s.fromHtml("#6b6e75"),s.fromHtml("#4a4c55")],t.backColor=s.fromHtml("#595b65"),t}r=e=t.Report||(t.Report={}),i=n=r.Dashboard||(r.Dashboard={}),a=o=i.Styles||(i.Styles={}),s=t.System.Drawing.ColorTranslator,l=t.Base.Localization.StiLocalization,u=a.StiProgressElementStyle,__extends(c,u),Object.defineProperty(c.prototype,"componentId",{get:function(){return r.StiComponentId.StiDarkGrayDashboardProgressStyle},enumerable:!1,configurable:!0}),Object.defineProperty(c.prototype,"localizedName",{get:function(){return l.get("PropertyColor","DarkGray")},enumerable:!1,configurable:!0}),t=c,a.StiDarkGrayProgressElementStyle=t}(Stimulsoft=Stimulsoft||{}),function(t){var e,r,n,i,o,a,s,l,u,t,c;function p(){var t=null!==c&&c.apply(this,arguments)||this;return t.ident=i.StiElementStyleIdent.DarkGreen,t.trackColor=s.fromHtml("#144b45"),t.bandColor=s.fromHtml("#3f745e"),t.seriesColors=[u.get("ecb92f"),u.get("d66153"),u.get("319491"),u.get("f7f7f7"),u.get("dd7c21")],t.backColor=s.fromHtml("#cf822e"),t}r=e=t.Report||(t.Report={}),i=n=r.Dashboard||(r.Dashboard={}),a=o=i.Styles||(i.Styles={}),s=t.System.Drawing.ColorTranslator,l=t.Base.Localization.StiLocalization,u=t.Base.Drawing.StiColor,c=a.StiProgressElementStyle,__extends(p,c),Object.defineProperty(p.prototype,"componentId",{get:function(){return r.StiComponentId.StiDarkGreenDashboardProgressStyle},enumerable:!1,configurable:!0}),Object.defineProperty(p.prototype,"localizedName",{get:function(){return l.get("PropertyColor","DarkGreen")},enumerable:!1,configurable:!0}),t=p,a.StiDarkGreenProgressElementStyle=t}(Stimulsoft=Stimulsoft||{}),function(t){var e,r,n,i,o,a,s,l,t,u;function c(){var t=null!==u&&u.apply(this,arguments)||this;return t.ident=i.StiElementStyleIdent.DarkTurquoise,t.trackColor=s.fromHtml("#1c445b"),t.bandColor=s.fromHtml("#f0621e"),t.seriesColors=[s.fromHtml("#99a8d7e2"),s.fromHtml("#995ea8bf"),s.fromHtml("#992b7f9e")],t.backColor=s.fromHtml("#235e6d"),t}r=e=t.Report||(t.Report={}),i=n=r.Dashboard||(r.Dashboard={}),a=o=i.Styles||(i.Styles={}),s=t.System.Drawing.ColorTranslator,l=t.Base.Localization.StiLocalization,u=a.StiProgressElementStyle,__extends(c,u),Object.defineProperty(c.prototype,"componentId",{get:function(){return r.StiComponentId.StiDarkTurquoiseDashboardProgressStyle},enumerable:!1,configurable:!0}),Object.defineProperty(c.prototype,"localizedName",{get:function(){return l.get("PropertyColor","DarkTurquoise")},enumerable:!1,configurable:!0}),t=c,a.StiDarkTurquoiseProgressElementStyle=t}(Stimulsoft=Stimulsoft||{}),function(t){var e,r,n,i,o,a,s,l,t,u;function c(){var t=null!==u&&u.apply(this,arguments)||this;return t.ident=i.StiElementStyleIdent.Green,t.trackColor=s.fromHtml("#e6e6e6"),t.bandColor=s.fromHtml("#70ad47"),t.seriesColors=[s.fromHtml("#70ad47"),s.fromHtml("#4472c4"),s.fromHtml("#ffc000"),s.fromHtml("#43682b"),s.fromHtml("#fd6a37"),s.fromHtml("#997300")],t}r=e=t.Report||(t.Report={}),i=n=r.Dashboard||(r.Dashboard={}),a=o=i.Styles||(i.Styles={}),s=t.System.Drawing.ColorTranslator,l=t.Base.Localization.StiLocalization,u=a.StiProgressElementStyle,__extends(c,u),Object.defineProperty(c.prototype,"componentId",{get:function(){return r.StiComponentId.StiGreenDashboardProgressStyle},enumerable:!1,configurable:!0}),Object.defineProperty(c.prototype,"localizedName",{get:function(){return l.get("PropertyColor","Green")},enumerable:!1,configurable:!0}),t=c,a.StiGreenProgressElementStyle=t}(Stimulsoft=Stimulsoft||{}),function(t){var e,r,n,i,o,a,s,l,t,u;function c(){var t=null!==u&&u.apply(this,arguments)||this;return t.ident=i.StiElementStyleIdent.Orange,t.trackColor=l.fromHtml("#e6e6e6"),t.bandColor=l.fromHtml("#ed7d31"),t.seriesColors=[l.fromHtml("#ed7d31"),l.fromHtml("#ffc000"),l.fromHtml("#70ad47"),l.fromHtml("#9e480e"),l.fromHtml("#997300"),l.fromHtml("#43682b")],t}r=e=t.Report||(t.Report={}),i=n=r.Dashboard||(r.Dashboard={}),a=o=i.Styles||(i.Styles={}),s=t.Base.Localization.StiLocalization,l=t.System.Drawing.ColorTranslator,u=a.StiProgressElementStyle,__extends(c,u),Object.defineProperty(c.prototype,"componentId",{get:function(){return r.StiComponentId.StiOrangeDashboardProgressStyle},enumerable:!1,configurable:!0}),Object.defineProperty(c.prototype,"localizedName",{get:function(){return s.get("PropertyColor","Orange")},enumerable:!1,configurable:!0}),t=c,a.StiOrangeProgressElementStyle=t}(Stimulsoft=Stimulsoft||{}),function(t){var e,r,n,i,o,a,s,l,t,u;function c(){var t=null!==u&&u.apply(this,arguments)||this;return t.ident=i.StiElementStyleIdent.Silver,t.trackColor=l.get("3a5263"),t.bandColor=l.get("e9f5fc"),t.seriesColors=[l.get("73829a"),l.get("343c49"),l.get("4f737a"),l.get("cfd3dd")],t}r=e=t.Report||(t.Report={}),i=n=r.Dashboard||(r.Dashboard={}),a=o=i.Styles||(i.Styles={}),s=t.Base.Localization.StiLocalization,l=t.Base.Drawing.StiColor,u=a.StiProgressElementStyle,__extends(c,u),Object.defineProperty(c.prototype,"componentId",{get:function(){return r.StiComponentId.StiSilverDashboardProgressStyle},enumerable:!1,configurable:!0}),Object.defineProperty(c.prototype,"localizedName",{get:function(){return s.get("PropertyColor","Silver")},enumerable:!1,configurable:!0}),t=c,a.StiSilverProgressElementStyle=t}(Stimulsoft=Stimulsoft||{}),function(t){var e,r,n,i,o,a,s,l,t,u;function c(){var t=null!==u&&u.apply(this,arguments)||this;return t.ident=i.StiElementStyleIdent.SlateGray,t.trackColor=l.fromHtml("#3b4d5f"),t.bandColor=l.fromHtml("#0BAC45"),t.seriesColors=[l.fromHtml("#0bac45"),l.fromHtml("#ec334d"),l.fromHtml("#a1ae94"),l.fromHtml("#ed7d31"),l.fromHtml("#5ab0ee"),l.fromHtml("#3dde77")],t.backColor=l.fromHtml("#33475b"),t}r=e=t.Report||(t.Report={}),i=n=r.Dashboard||(r.Dashboard={}),a=o=i.Styles||(i.Styles={}),s=t.Base.Localization.StiLocalization,l=t.System.Drawing.ColorTranslator,u=a.StiProgressElementStyle,__extends(c,u),Object.defineProperty(c.prototype,"componentId",{get:function(){return r.StiComponentId.StiSlateGrayDashboardProgressStyle},enumerable:!1,configurable:!0}),Object.defineProperty(c.prototype,"localizedName",{get:function(){return s.get("PropertyColor","SlateGray")},enumerable:!1,configurable:!0}),t=c,a.StiSlateGrayProgressElementStyle=t}(Stimulsoft=Stimulsoft||{}),function(t){var e,r,n,i,o,a,s,l,t,u;function c(){var t=null!==u&&u.apply(this,arguments)||this;return t.ident=i.StiElementStyleIdent.Turquoise,t.trackColor=l.fromHtml("#e6e6e6"),t.bandColor=l.fromHtml("#2ec6c8"),t.seriesColors=[l.fromHtml("#2ec6c8"),l.fromHtml("#b5a1dd"),l.fromHtml("#5ab0ee"),l.fromHtml("#f4984e"),l.fromHtml("#d77a80"),l.fromHtml("#d04456")],t}r=e=t.Report||(t.Report={}),i=n=r.Dashboard||(r.Dashboard={}),a=o=i.Styles||(i.Styles={}),s=t.Base.Localization.StiLocalization,l=t.System.Drawing.ColorTranslator,u=a.StiProgressElementStyle,__extends(c,u),Object.defineProperty(c.prototype,"componentId",{get:function(){return r.StiComponentId.StiTurquoiseDashboardProgressStyle},enumerable:!1,configurable:!0}),Object.defineProperty(c.prototype,"localizedName",{get:function(){return s.get("PropertyColor","Turquoise")},enumerable:!1,configurable:!0}),t=c,a.StiTurquoiseProgressElementStyle=t}(Stimulsoft=Stimulsoft||{}),function(t){var e,r,n,i,o,a,s,l;function u(){var t=null!==l&&l.apply(this,arguments)||this;return t.cellForeColor=a.fromHtml("#222"),t.selectedCellBackColor=a.fromHtml("#3498db"),t.selectedCellForeColor=s.white,t.alternatingCellForeColor=a.fromHtml("#222"),t.headerForeColor=s.white,t.lineColor=s.gainsboro,t.footerColor=s.white,t.footerForeground=s.black,t.backColor=s.white,t.cellDataBarsOverlapped=s.fromArgb(255,51,94,150),t.cellDataBarsPositive=s.fromArgb(255,99,142,198),t.cellDataBarsNegative=s.fromArgb(255,255,0,0),t.cellWinLossPositive=s.fromArgb(255,99,142,198),t.cellWinLossNegative=s.fromArgb(255,255,0,0),t.cellSparkline=s.fromArgb(255,83,126,182),t.cellIndicatorPositive=s.green,t.cellIndicatorNegative=s.red,t.cellIndicatorNeutral=s.lightGray,t}r=e=t.Report||(t.Report={}),i=n=r.Dashboard||(r.Dashboard={}),r=o=i.Styles||(i.Styles={}),a=t.System.Drawing.ColorTranslator,s=t.System.Drawing.Color,l=r.StiElementStyle,__extends(u,l),i=u,r.StiTableElementStyle=i}(Stimulsoft=Stimulsoft||{}),function(t){var e,r,n,i,o,a,s,l,u,c,t,p;function h(){var t=null!==p&&p.apply(this,arguments)||this;return t.ident=i.StiElementStyleIdent.AliceBlue,t.cellBackColor=l.get("#f2f5fc"),t.cellForeColor=l.get("#1e1e1e"),t.alternatingCellBackColor=l.get("#ccd5f0"),t.alternatingCellForeColor=l.get("#1e1e1e"),t.headerBackColor=l.get("#5d6b99"),t.headerForeColor=l.get("#e4ffff"),t.footerColor=l.get("#5d6b99"),t.footerForeground=l.get("#e4ffff"),t.selectedCellBackColor=l.get("f5cc84"),t.selectedCellForeColor=l.get("1e1e1e"),t.hotHeaderBackColor=u.light(l.get("#5d6b99"),30),t.lineColor=l.get("c0cae9"),t.backColor=l.get("#595b65"),t.cellDataBarsOverlapped=l.get("40568d"),t.cellDataBarsPositive=l.get("40568d"),t.cellDataBarsNegative=l.get("d43642"),t.cellWinLossPositive=l.get("40568d"),t.cellSparkline=l.get("273946"),t.cellIndicatorPositive=c.limeGreen,t.cellIndicatorNegative=l.get("dd5555"),t}r=e=t.Report||(t.Report={}),i=n=r.Dashboard||(r.Dashboard={}),a=o=i.Styles||(i.Styles={}),s=t.Base.Localization.StiLocalization,l=t.Base.Drawing.StiColor,u=t.Base.Drawing.StiColorUtils,c=t.System.Drawing.Color,p=a.StiTableElementStyle,__extends(h,p),Object.defineProperty(h.prototype,"componentId",{get:function(){return r.StiComponentId.StiAliceBlueDashboardTableStyle},enumerable:!1,configurable:!0}),Object.defineProperty(h.prototype,"localizedName",{get:function(){return s.get("PropertyColor","AliceBlue")},enumerable:!1,configurable:!0}),t=h,a.StiAliceBlueTableElementStyle=t}(Stimulsoft=Stimulsoft||{}),function(t){var e,r,n,i,o,a,s,l,u,c,t,p;function h(){var t=null!==p&&p.apply(this,arguments)||this;return t.ident=i.StiElementStyleIdent.Blue,t.cellBackColor=u.white,t.alternatingCellBackColor=l.fromHtml("#eee"),t.headerBackColor=l.fromHtml("#3498db"),t.headerForeColor=u.white,t.footerColor=l.fromHtml("#3498db"),t.footerForeground=u.white,t.cellForeColor=l.fromHtml("#323a45"),t.selectedCellBackColor=c.light(l.fromHtml("#3498db"),30),t.selectedCellForeColor=u.white,t.hotHeaderBackColor=c.dark(l.fromHtml("#3498db"),20),t}r=e=t.Report||(t.Report={}),i=n=r.Dashboard||(r.Dashboard={}),a=o=i.Styles||(i.Styles={}),s=t.Base.Localization.StiLocalization,l=t.System.Drawing.ColorTranslator,u=t.System.Drawing.Color,c=t.Base.Drawing.StiColorUtils,p=a.StiTableElementStyle,__extends(h,p),Object.defineProperty(h.prototype,"componentId",{get:function(){return r.StiComponentId.StiBlueDashboardTableStyle},enumerable:!1,configurable:!0}),Object.defineProperty(h.prototype,"localizedName",{get:function(){return s.get("PropertyColor","Blue")},enumerable:!1,configurable:!0}),t=h,a.StiBlueTableElementStyle=t}(Stimulsoft=Stimulsoft||{}),function(t){var e,r,n,i,o,a,t,s;function l(t){var e=s.call(this)||this;return e.ident=i.StiElementStyleIdent.Blue,e.name2=t.name,e.alternatingCellBackColor=t.alternatingDataColor,e.alternatingCellForeColor=t.alternatingDataForeground,e.cellBackColor=t.dataColor,e.cellForeColor=t.dataForeground,e.lineColor=t.gridColor,e.headerBackColor=t.headerColor,e.headerForeColor=t.headerForeground,e.hotHeaderBackColor=t.hotHeaderColor,e.selectedCellBackColor=t.selectedDataColor,e.selectedCellForeColor=t.selectedDataForeground,e.footerColor=t.footerColor,e.footerForeground=t.footerForeground,e}r=e=t.Report||(t.Report={}),i=n=r.Dashboard||(r.Dashboard={}),a=o=i.Styles||(i.Styles={}),s=a.StiTableElementStyle,__extends(l,s),Object.defineProperty(l.prototype,"componentId",{get:function(){return r.StiComponentId.StiBlueDashboardTableStyle},enumerable:!1,configurable:!0}),Object.defineProperty(l.prototype,"localizedName",{get:function(){return this.name2},enumerable:!1,configurable:!0}),t=l,a.StiCustomTableElementStyle=t}(Stimulsoft=Stimulsoft||{}),function(t){var e,r,n,i,o,a,s,l,u,t,c;function p(){var t=null!==c&&c.apply(this,arguments)||this;return t.ident=i.StiElementStyleIdent.DarkBlue,t.cellBackColor=l.fromHtml("#1f4265"),t.cellForeColor=l.fromHtml("#ddd"),t.alternatingCellBackColor=l.fromHtml("#0a325a"),t.alternatingCellForeColor=l.fromHtml("#ddd"),t.headerBackColor=l.fromHtml("#0a325a"),t.headerForeColor=l.fromHtml("#ddd"),t.footerColor=l.fromHtml("#0a325a"),t.footerForeground=l.fromHtml("#ddd"),t.selectedCellBackColor=u.light(l.fromHtml("#0a325a"),50),t.selectedCellForeColor=l.fromHtml("#eee"),t.hotHeaderBackColor=u.light(l.fromHtml("#0a325a"),30),t.lineColor=l.fromHtml("#758696"),t.backColor=l.fromHtml("#0a325a"),t}r=e=t.Report||(t.Report={}),i=n=r.Dashboard||(r.Dashboard={}),a=o=i.Styles||(i.Styles={}),s=t.Base.Localization.StiLocalization,l=t.System.Drawing.ColorTranslator,u=t.Base.Drawing.StiColorUtils,c=a.StiTableElementStyle,__extends(p,c),Object.defineProperty(p.prototype,"componentId",{get:function(){return r.StiComponentId.StiDarkBlueDashboardTableStyle},enumerable:!1,configurable:!0}),Object.defineProperty(p.prototype,"localizedName",{get:function(){return s.get("PropertyColor","DarkBlue")},enumerable:!1,configurable:!0}),t=p,a.StiDarkBlueTableElementStyle=t}(Stimulsoft=Stimulsoft||{}),function(t){var e,r,n,i,o,a,s,l,u,c,p,t,h;function m(){var t=null!==h&&h.apply(this,arguments)||this;return t.ident=i.StiElementStyleIdent.DarkGray,t.cellBackColor=l.fromHtml("#595b65"),t.cellForeColor=l.fromHtml("#ddd"),t.alternatingCellBackColor=l.fromHtml("#6b6e75"),t.alternatingCellForeColor=l.fromHtml("#ddd"),t.headerBackColor=l.fromHtml("#6b6e75"),t.headerForeColor=l.fromHtml("#ddd"),t.footerColor=l.fromHtml("#6b6e75"),t.footerForeground=l.fromHtml("#ddd"),t.selectedCellBackColor=l.fromHtml("#db7b46"),t.selectedCellForeColor=l.fromHtml("#eee"),t.hotHeaderBackColor=s.light(l.fromHtml("#db7b46"),30),t.lineColor=l.fromHtml("#66d3d3d5"),t.backColor=l.fromHtml("#595b65"),t.cellDataBarsOverlapped=c.get("db7b46"),t.cellDataBarsPositive=c.get("db7b46"),t.cellDataBarsNegative=c.get("dd5555"),t.cellWinLossPositive=c.get("db7b46"),t.cellSparkline=c.get("db7b46"),t.cellIndicatorPositive=u.limeGreen,t.cellIndicatorNegative=c.get("dd5555"),t}r=e=t.Report||(t.Report={}),i=n=r.Dashboard||(r.Dashboard={}),a=o=i.Styles||(i.Styles={}),s=t.Base.Drawing.StiColorUtils,l=t.System.Drawing.ColorTranslator,u=t.System.Drawing.Color,c=t.Base.Drawing.StiColor,p=t.Base.Localization.StiLocalization,h=a.StiTableElementStyle,__extends(m,h),Object.defineProperty(m.prototype,"componentId",{get:function(){return r.StiComponentId.StiDarkGrayDashboardTableStyle},enumerable:!1,configurable:!0}),Object.defineProperty(m.prototype,"localizedName",{get:function(){return p.get("PropertyColor","DarkGray")},enumerable:!1,configurable:!0}),t=m,a.StiDarkGrayTableElementStyle=t}(Stimulsoft=Stimulsoft||{}),function(t){var e,r,n,i,o,a,s,l,u,c,p,t,h;function m(){var t=null!==h&&h.apply(this,arguments)||this;return t.ident=i.StiElementStyleIdent.DarkGreen,t.cellBackColor=l.fromHtml("#3f745e"),t.cellForeColor=l.fromHtml("#f6f3f5"),t.alternatingCellBackColor=l.fromHtml("#509190"),t.alternatingCellForeColor=l.fromHtml("#e3ba41"),t.headerBackColor=l.fromHtml("#264945"),t.headerForeColor=l.fromHtml("#f2f6f6"),t.footerColor=l.fromHtml("#3f745e"),t.footerForeground=l.fromHtml("#f2f6f6"),t.selectedCellBackColor=l.fromHtml("#c87f2e"),t.selectedCellForeColor=l.fromHtml("#f5f0ea"),t.hotHeaderBackColor=s.light(l.fromHtml("#db7b46"),30),t.lineColor=l.fromHtml("#66d3d3d5"),t.backColor=l.fromHtml("#595b65"),t.cellDataBarsOverlapped=c.get("db7b46"),t.cellDataBarsPositive=c.get("db7b46"),t.cellDataBarsNegative=c.get("dd5555"),t.cellWinLossPositive=c.get("db7b46"),t.cellSparkline=c.get("db7b46"),t.cellIndicatorPositive=u.limeGreen,t.cellIndicatorNegative=c.get("dd5555"),t}r=e=t.Report||(t.Report={}),i=n=r.Dashboard||(r.Dashboard={}),a=o=i.Styles||(i.Styles={}),s=t.Base.Drawing.StiColorUtils,l=t.System.Drawing.ColorTranslator,u=t.System.Drawing.Color,c=t.Base.Drawing.StiColor,p=t.Base.Localization.StiLocalization,h=a.StiTableElementStyle,__extends(m,h),Object.defineProperty(m.prototype,"componentId",{get:function(){return r.StiComponentId.StiDarkGreenDashboardTableStyle},enumerable:!1,configurable:!0}),Object.defineProperty(m.prototype,"localizedName",{get:function(){return p.get("PropertyColor","DarkGreen")},enumerable:!1,configurable:!0}),t=m,a.StiDarkGreenTableElementStyle=t}(Stimulsoft=Stimulsoft||{}),function(t){var e,r,n,i,o,a,s,l,u,c,t,p;function h(){var t=null!==p&&p.apply(this,arguments)||this;return t.ident=i.StiElementStyleIdent.DarkTurquoise,t.cellBackColor=l.fromHtml("#235e6d"),t.cellForeColor=l.fromHtml("#fefdff"),t.alternatingCellBackColor=l.fromHtml("#215667"),t.alternatingCellForeColor=l.fromHtml("#fefdff"),t.headerBackColor=l.fromHtml("#2a7f9e"),t.headerForeColor=l.fromHtml("#fefdff"),t.footerColor=l.fromHtml("#2a7f9e"),t.footerForeground=l.fromHtml("#fefdff"),t.selectedCellBackColor=l.fromHtml("#f0621e"),t.selectedCellForeColor=l.fromHtml("#1c445b"),t.hotHeaderBackColor=l.fromHtml("#f0621e"),t.lineColor=l.fromHtml("#5da0b7"),t.backColor=l.fromHtml("#235e6d"),t.cellDataBarsOverlapped=c.get("db7b46"),t.cellDataBarsPositive=c.get("5daac1"),t.cellDataBarsNegative=c.get("dd5555"),t.cellWinLossPositive=c.get("db7b46"),t.cellSparkline=c.get("db7b46"),t.cellIndicatorPositive=u.limeGreen,t.cellIndicatorNegative=c.get("dd5555"),t}r=e=t.Report||(t.Report={}),i=n=r.Dashboard||(r.Dashboard={}),a=o=i.Styles||(i.Styles={}),s=t.Base.Localization.StiLocalization,l=t.System.Drawing.ColorTranslator,u=t.System.Drawing.Color,c=t.Base.Drawing.StiColor,p=a.StiTableElementStyle,__extends(h,p),Object.defineProperty(h.prototype,"componentId",{get:function(){return r.StiComponentId.StiDarkTurquoiseDashboardTableStyle},enumerable:!1,configurable:!0}),Object.defineProperty(h.prototype,"localizedName",{get:function(){return s.get("PropertyColor","DarkTurquoise")},enumerable:!1,configurable:!0}),t=h,a.StiDarkTurquoiseTableElementStyle=t}(Stimulsoft=Stimulsoft||{}),function(t){var e,r,n,i,o,a,s,l,u,c,t,p;function h(){var t=null!==p&&p.apply(this,arguments)||this;return t.ident=i.StiElementStyleIdent.Green,t.cellBackColor=c.white,t.alternatingCellBackColor=l.fromHtml("#eee"),t.selectedCellBackColor=u.light(l.fromHtml("#70ad47"),30),t.headerBackColor=l.fromHtml("#70ad47"),t.hotHeaderBackColor=u.light(l.fromHtml("#70ad47"),30),t.footerColor=l.fromHtml("#70ad47"),t.footerForeground=c.white,t}r=e=t.Report||(t.Report={}),i=n=r.Dashboard||(r.Dashboard={}),a=o=i.Styles||(i.Styles={}),s=t.Base.Localization.StiLocalization,l=t.System.Drawing.ColorTranslator,u=t.Base.Drawing.StiColorUtils,c=t.System.Drawing.Color,p=a.StiTableElementStyle,__extends(h,p),Object.defineProperty(h.prototype,"componentId",{get:function(){return r.StiComponentId.StiGreenDashboardTableStyle},enumerable:!1,configurable:!0}),Object.defineProperty(h.prototype,"localizedName",{get:function(){return s.get("PropertyColor","Green")},enumerable:!1,configurable:!0}),t=h,a.StiGreenTableElementStyle=t}(Stimulsoft=Stimulsoft||{}),function(t){var e,r,n,i,o,a,s,l,u,c,t,p;function h(){var t=null!==p&&p.apply(this,arguments)||this;return t.ident=i.StiElementStyleIdent.Orange,t.cellBackColor=c.white,t.alternatingCellBackColor=l.fromHtml("#eee"),t.selectedCellBackColor=u.light(l.fromHtml("#ed7d31"),30),t.headerBackColor=l.fromHtml("#ed7d31"),t.hotHeaderBackColor=u.light(l.fromHtml("#ed7d31"),30),t.footerColor=l.fromHtml("#ed7d31"),t.footerForeground=c.white,t}r=e=t.Report||(t.Report={}),i=n=r.Dashboard||(r.Dashboard={}),a=o=i.Styles||(i.Styles={}),s=t.Base.Localization.StiLocalization,l=t.System.Drawing.ColorTranslator,u=t.Base.Drawing.StiColorUtils,c=t.System.Drawing.Color,p=a.StiTableElementStyle,__extends(h,p),Object.defineProperty(h.prototype,"componentId",{get:function(){return r.StiComponentId.StiOrangeDashboardTableStyle},enumerable:!1,configurable:!0}),Object.defineProperty(h.prototype,"localizedName",{get:function(){return s.get("PropertyColor","Orange")},enumerable:!1,configurable:!0}),t=h,a.StiOrangeTableElementStyle=t}(Stimulsoft=Stimulsoft||{}),function(t){var e,r,n,i,o,a,s,l,u,c,t,p;function h(){var t=null!==p&&p.apply(this,arguments)||this;return t.ident=i.StiElementStyleIdent.Silver,t.cellBackColor=l.get("#6d7e8b"),t.cellForeColor=l.get("#e9f5fc"),t.alternatingCellBackColor=l.get("#3a5263"),t.alternatingCellForeColor=l.get("#e9f5fc"),t.headerBackColor=l.get("#3a5263"),t.headerForeColor=l.get("#e9f5fc"),t.footerColor=l.get("#3a5263"),t.footerForeground=l.get("#e9f5fc"),t.selectedCellBackColor=l.get("e9f5fc"),t.selectedCellForeColor=l.get("3a5263"),t.hotHeaderBackColor=u.light(l.get("#6d7e8b"),30),t.lineColor=l.get("66e9f5fc"),t.backColor=l.get("#595b65"),t.cellDataBarsOverlapped=l.get("273946"),t.cellDataBarsPositive=l.get("273946"),t.cellDataBarsNegative=l.get("d43642"),t.cellWinLossPositive=l.get("273946"),t.cellSparkline=l.get("273946"),t.cellIndicatorPositive=c.limeGreen,t.cellIndicatorNegative=l.get("dd5555"),t}r=e=t.Report||(t.Report={}),i=n=r.Dashboard||(r.Dashboard={}),a=o=i.Styles||(i.Styles={}),s=t.Base.Localization.StiLocalization,l=t.Base.Drawing.StiColor,u=t.Base.Drawing.StiColorUtils,c=t.System.Drawing.Color,p=a.StiTableElementStyle,__extends(h,p),Object.defineProperty(h.prototype,"componentId",{get:function(){return r.StiComponentId.StiSilverDashboardTableStyle},enumerable:!1,configurable:!0}),Object.defineProperty(h.prototype,"localizedName",{get:function(){return s.get("PropertyColor","Silver")},enumerable:!1,configurable:!0}),t=h,a.StiSilverTableElementStyle=t}(Stimulsoft=Stimulsoft||{}),function(t){var e,r,n,i,o,a,s,l,u,t,c;function p(){var t=null!==c&&c.apply(this,arguments)||this;return t.ident=i.StiElementStyleIdent.SlateGray,t.cellBackColor=l.fromHtml("#475b6f"),t.cellForeColor=l.fromHtml("#ddd"),t.alternatingCellBackColor=l.fromHtml("#33475b"),t.alternatingCellForeColor=l.fromHtml("#ddd"),t.headerBackColor=l.fromHtml("#33475b"),t.headerForeColor=l.fromHtml("#ddd"),t.footerColor=l.fromHtml("#33475b"),t.footerForeground=l.fromHtml("#ddd"),t.selectedCellBackColor=u.light(l.fromHtml("#33475b"),50),t.selectedCellForeColor=l.fromHtml("#eee"),t.hotHeaderBackColor=u.light(l.fromHtml("#33475b"),30),t.lineColor=l.fromHtml("#c0c0c0"),t.backColor=l.fromHtml("#33475b"),t}r=e=t.Report||(t.Report={}),i=n=r.Dashboard||(r.Dashboard={}),a=o=i.Styles||(i.Styles={}),s=t.Base.Localization.StiLocalization,l=t.System.Drawing.ColorTranslator,u=t.Base.Drawing.StiColorUtils,c=a.StiTableElementStyle,__extends(p,c),Object.defineProperty(p.prototype,"componentId",{get:function(){return r.StiComponentId.StiSlateGrayDashboardTableStyle},enumerable:!1,configurable:!0}),Object.defineProperty(p.prototype,"localizedName",{get:function(){return s.get("PropertyColor","SlateGray")},enumerable:!1,configurable:!0}),t=p,a.StiSlateGrayTableElementStyle=t}(Stimulsoft=Stimulsoft||{}),function(t){var e,r,n,i,o,a,s,l,u,c,t,p;function h(){var t=null!==p&&p.apply(this,arguments)||this;return t.ident=i.StiElementStyleIdent.Turquoise,t.cellBackColor=c.white,t.alternatingCellBackColor=l.fromHtml("#eee"),t.selectedCellBackColor=u.light(l.fromHtml("#2ec6c8"),30),t.headerBackColor=l.fromHtml("#2ec6c8"),t.hotHeaderBackColor=u.light(l.fromHtml("#2ec6c8"),30),t.footerColor=l.fromHtml("#2ec6c8"),t.footerForeground=c.white,t}r=e=t.Report||(t.Report={}),i=n=r.Dashboard||(r.Dashboard={}),a=o=i.Styles||(i.Styles={}),s=t.Base.Localization.StiLocalization,l=t.System.Drawing.ColorTranslator,u=t.Base.Drawing.StiColorUtils,c=t.System.Drawing.Color,p=a.StiTableElementStyle,__extends(h,p),Object.defineProperty(h.prototype,"componentId",{get:function(){return r.StiComponentId.StiTurquoiseDashboardTableStyle},enumerable:!1,configurable:!0}),Object.defineProperty(h.prototype,"localizedName",{get:function(){return s.get("PropertyColor","Turquoise")},enumerable:!1,configurable:!0}),t=h,a.StiTurquoiseTableElementStyle=t}(Stimulsoft=Stimulsoft||{}),function(t){var e,r,n,t,i,o,a,s,l,u;r=e=t.Report||(t.Report={}),t=n=r.Maps||(r.Maps={}),(r=i=t.StiMapSource||(t.StiMapSource={}))[r["Manual"]=0]="Manual",r[r["DataColumns"]=1]="DataColumns",(r=o=t.StiDisplayNameType||(t.StiDisplayNameType={}))[r["None"]=1]="None",r[r["Full"]=2]="Full",r[r["Short"]=3]="Short",(r=a=t.StiMapMode||(t.StiMapMode={}))[r["Choropleth"]=0]="Choropleth",r[r["Online"]=1]="Online",(r=s=t.StiMapID||(t.StiMapID={}))[r["World"]=1]="World",r[r["Australia"]=2]="Australia",r[r["Austria"]=3]="Austria",r[r["Brazil"]=4]="Brazil",r[r["Canada"]=5]="Canada",r[r["China"]=6]="China",r[r["ChinaWithHongKongAndMacau"]=7]="ChinaWithHongKongAndMacau",r[r["ChinaWithHongKongMacauAndTaiwan"]=8]="ChinaWithHongKongMacauAndTaiwan",r[r["Taiwan"]=9]="Taiwan",r[r["EU"]=10]="EU",r[r["Europe"]=11]="Europe",r[r["EuropeWithRussia"]=12]="EuropeWithRussia",r[r["France"]=13]="France",r[r["Germany"]=14]="Germany",r[r["Italy"]=15]="Italy",r[r["Netherlands"]=16]="Netherlands",r[r["Russia"]=17]="Russia",r[r["UK"]=18]="UK",r[r["UKCountries"]=19]="UKCountries",r[r["USAAndCanada"]=20]="USAAndCanada",r[r["NorthAmerica"]=21]="NorthAmerica",r[r["SouthAmerica"]=22]="SouthAmerica",r[r["USA"]=23]="USA",r[r["Albania"]=24]="Albania",r[r["Andorra"]=25]="Andorra",r[r["Argentina"]=26]="Argentina",r[r["ArgentinaFD"]=27]="ArgentinaFD",r[r["Armenia"]=28]="Armenia",r[r["Azerbaijan"]=29]="Azerbaijan",r[r["Belarus"]=30]="Belarus",r[r["Belgium"]=31]="Belgium",r[r["Bolivia"]=32]="Bolivia",r[r["BosniaAndHerzegovina"]=33]="BosniaAndHerzegovina",r[r["Bulgaria"]=34]="Bulgaria",r[r["Chile"]=35]="Chile",r[r["Colombia"]=36]="Colombia",r[r["Croatia"]=37]="Croatia",r[r["Cyprus"]=38]="Cyprus",r[r["CzechRepublic"]=39]="CzechRepublic",r[r["Denmark"]=40]="Denmark",r[r["Ecuador"]=41]="Ecuador",r[r["Estonia"]=42]="Estonia",r[r["FalklandIslands"]=43]="FalklandIslands",r[r["Finland"]=44]="Finland",r[r["Georgia"]=45]="Georgia",r[r["Greece"]=46]="Greece",r[r["Guyana"]=47]="Guyana",r[r["Hungary"]=48]="Hungary",r[r["Iceland"]=49]="Iceland",r[r["India"]=50]="India",r[r["Indonesia"]=51]="Indonesia",r[r["Ireland"]=52]="Ireland",r[r["Israel"]=53]="Israel",r[r["Japan"]=54]="Japan",r[r["Kazakhstan"]=55]="Kazakhstan",r[r["Latvia"]=56]="Latvia",r[r["Liechtenstein"]=57]="Liechtenstein",r[r["Lithuania"]=58]="Lithuania",r[r["Luxembourg"]=59]="Luxembourg",r[r["Macedonia"]=60]="Macedonia",r[r["Malaysia"]=61]="Malaysia",r[r["Malta"]=62]="Malta",r[r["Mexico"]=63]="Mexico",r[r["Moldova"]=64]="Moldova",r[r["Monaco"]=65]="Monaco",r[r["Montenegro"]=66]="Montenegro",r[r["NewZealand"]=67]="NewZealand",r[r["Norway"]=68]="Norway",r[r["Oceania"]=69]="Oceania",r[r["Paraguay"]=70]="Paraguay",r[r["Peru"]=71]="Peru",r[r["Philippines"]=72]="Philippines",r[r["Poland"]=73]="Poland",r[r["Portugal"]=74]="Portugal",r[r["Romania"]=75]="Romania",r[r["SanMarino"]=76]="SanMarino",r[r["SaudiArabia"]=77]="SaudiArabia",r[r["Serbia"]=78]="Serbia",r[r["Slovakia"]=79]="Slovakia",r[r["Slovenia"]=80]="Slovenia",r[r["SouthAfrica"]=81]="SouthAfrica",r[r["SouthKorea"]=82]="SouthKorea",r[r["Spain"]=83]="Spain",r[r["Suriname"]=84]="Suriname",r[r["Sweden"]=85]="Sweden",r[r["Switzerland"]=86]="Switzerland",r[r["Thailand"]=87]="Thailand",r[r["Turkey"]=88]="Turkey",r[r["Ukraine"]=89]="Ukraine",r[r["Uruguay"]=90]="Uruguay",r[r["Vatican"]=91]="Vatican",r[r["Venezuela"]=92]="Venezuela",r[r["Vietnam"]=93]="Vietnam",r[r["MiddleEast"]=94]="MiddleEast",r[r["Oman"]=95]="Oman",r[r["Qatar"]=96]="Qatar",r[r["Benelux"]=97]="Benelux",r[r["Scandinavia"]=98]="Scandinavia",r[r["FranceDepartments"]=99]="FranceDepartments",r[r["France18Regions"]=100]="France18Regions",r[r["CentralAfricanRepublic"]=101]="CentralAfricanRepublic",r[r["Asia"]=102]="Asia",r[r["SoutheastAsia"]=103]="SoutheastAsia",(r=l=t.StiMapStyleIdent||(t.StiMapStyleIdent={}))[r["Style21"]=0]="Style21",r[r["Style24"]=1]="Style24",r[r["Style25"]=2]="Style25",r[r["Style26"]=3]="Style26",r[r["Style27"]=4]="Style27",r[r["Style28"]=5]="Style28",r[r["Style29"]=6]="Style29",r[r["Style30"]=7]="Style30",r[r["Style31"]=8]="Style31",r[r["Style32"]=9]="Style32",r[r["Style33"]=10]="Style33",r[r["Style34"]=11]="Style34",(t=u=t.StiMapType||(t.StiMapType={}))[t["None"]=0]="None",t[t["Individual"]=4]="Individual",t[t["Group"]=1]="Group",t[t["Heatmap"]=2]="Heatmap",t[t["HeatmapWithGroup"]=3]="HeatmapWithGroup"}(Stimulsoft=Stimulsoft||{}),function(n){var t,r,e,i,o,a,s,l,u,c;function p(t,e,r){void 0===t&&(t=""),void 0===e&&(e=""),void 0===r&&(r=null);var r=c.call(this,t,e,r)||this;return r.defaultColors=[l.fromHtml("#70ad47"),l.fromHtml("#4472c4"),l.fromHtml("#ffc000"),l.fromHtml("#43682b"),l.fromHtml("#fd6a37"),l.fromHtml("#997300")],r.defaultHeatmapColors=[l.fromHtml("#70ad47"),l.fromHtml("#ffc000")],r._individualColor=l.fromHtml("#70ad47"),r._colors=[],r._heatmapColors=[],r._defaultColor=l.fromHtml("#4472c4"),r._backColor=s.white,r._foreColor=s.white,r._borderSize=.7,r._borderColor=s.white,r._labelShadowForeground=s.fromArgb(255,251,251,251),r._labelForeground=s.fromArgb(255,37,37,37),r.colors=r.defaultColors.stimulsoft.clone(),r.heatmapColors=r.defaultHeatmapColors.stimulsoft.clone(),r}r=t=n.Report||(n.Report={}),i=e=r.Styles||(r.Styles={}),o=n.System.Exception,a=n.Base.StiJsonReportObjectHelper,s=n.System.Drawing.Color,l=n.System.Drawing.ColorTranslator,c=i.StiBaseStyle,__extends(p,c),p.prototype.saveToJsonObject=function(t){var t=c.prototype.saveToJsonObject.call(this,t);return t.addPropertyStringNullOrEmpty("IndividualColor",a.Serialize.jColor(this.individualColor,l.fromHtml("#70ad47"))),t.addPropertyJObject("Colors",a.Serialize.colorArray(this.colors)),t.addPropertyJObject("HeatmapColors",a.Serialize.colorArray(this.heatmapColors)),t.addPropertyStringNullOrEmpty("DefaultColor",a.Serialize.jColor(this.defaultColor,l.fromHtml("#4472c4"))),t.addPropertyStringNullOrEmpty("BackColor",a.Serialize.jColor(this.backColor,s.white)),t.addPropertyNumber("BorderSize",this.borderSize,.7),t.addPropertyStringNullOrEmpty("BorderColor",a.Serialize.jColor(this.borderColor,s.white)),t.addPropertyStringNullOrEmpty("LabelShadowForeground",a.Serialize.jColor(this.labelShadowForeground,s.fromArgb(255,251,251,251))),t.addPropertyStringNullOrEmpty("LabelForeground",a.Serialize.jColor(this.labelForeground,s.fromArgb(255,37,37,37))),t},p.prototype.loadFromJsonObject=function(t){var e,r;c.prototype.loadFromJsonObject.call(this,t);try{for(var n=__values(t.properties()),i=n.next();!i.done;i=n.next()){var o=i.value;switch(o.name){case"IndividualColor":this.individualColor=a.Deserialize.color(o.value.toString());break;case"Colors":this.colors=a.Deserialize.colorArray(o.value);break;case"HeatmapColors":this.heatmapColors=a.Deserialize.colorArray(o.value);break;case"DefaultColor":this.defaultColor=a.Deserialize.color(o.value.toString());break;case"BackColor":this.backColor=a.Deserialize.color(o.value.toString());break;case"BorderSize":this.borderSize=o.value.stimulsoft.toNumber();break;case"BorderColor":this.borderColor=a.Deserialize.color(o.value.toString());break;case"LabelShadowForeground":this.labelShadowForeground=a.Deserialize.color(o.value.toString());break;case"LabelForeground":this.labelForeground=a.Deserialize.color(o.value.toString());break}}}catch(t){e={error:t}}finally{try{i&&!i.done&&(r=n.return)&&r.call(n)}finally{if(e)throw e.error}}},p.prototype.loadFromXml=function(t){c.prototype.loadFromXml.call(this,t);for(var e=0;e<t.childNodes.length;e++){var r=t.childNodes[e];switch(r.nodeName){case"IndividualColor":this.individualColor=a.Deserialize.color(r.textContent);break;case"Colors":this.colors=n.System.Text.StiReportObjectStringConverter.convertStringToColorArray(r.textContent);break;case"HeatmapColors":this.heatmapColors=n.System.Text.StiReportObjectStringConverter.convertStringToColorArray(r.textContent);break;case"DefaultColor":this.defaultColor=n.System.Text.StiReportObjectStringConverter.convertStringToColor(r.textContent);break;case"BackColor":this.backColor=n.System.Text.StiReportObjectStringConverter.convertStringToColor(r.textContent);break;case"BorderSize":this.borderSize=r.textContent.stimulsoft.toNumber();break;case"BorderColor":this.borderColor=n.System.Text.StiReportObjectStringConverter.convertStringToColor(r.textContent);break;case"LabelShadowForeground":this.labelShadowForeground=n.System.Text.StiReportObjectStringConverter.convertStringToColor(r.textContent);break;case"LabelForeground":this.labelForeground=n.System.Text.StiReportObjectStringConverter.convertStringToColor(r.textContent);break}}},Object.defineProperty(p.prototype,"componentId",{get:function(){return r.StiComponentId.StiMapStyle},enumerable:!1,configurable:!0}),Object.defineProperty(p.prototype,"individualColor",{get:function(){return this._individualColor},set:function(t){this._individualColor=t},enumerable:!1,configurable:!0}),Object.defineProperty(p.prototype,"colors",{get:function(){return this._colors},set:function(t){this._colors=t},enumerable:!1,configurable:!0}),Object.defineProperty(p.prototype,"heatmapColors",{get:function(){return this._heatmapColors},set:function(t){this._heatmapColors=t},enumerable:!1,configurable:!0}),Object.defineProperty(p.prototype,"defaultColor",{get:function(){return this._defaultColor},set:function(t){this._defaultColor=t},enumerable:!1,configurable:!0}),Object.defineProperty(p.prototype,"backColor",{get:function(){return this._backColor},set:function(t){this._backColor=t},enumerable:!1,configurable:!0}),Object.defineProperty(p.prototype,"foreColor",{get:function(){return this._foreColor},set:function(t){this._foreColor=t},enumerable:!1,configurable:!0}),Object.defineProperty(p.prototype,"borderSize",{get:function(){return this._borderSize},set:function(t){this._borderSize=t},enumerable:!1,configurable:!0}),Object.defineProperty(p.prototype,"borderColor",{get:function(){return this._borderColor},set:function(t){this._borderColor=t},enumerable:!1,configurable:!0}),Object.defineProperty(p.prototype,"labelShadowForeground",{get:function(){return this._labelShadowForeground},set:function(t){this._labelShadowForeground=t},enumerable:!1,configurable:!0}),Object.defineProperty(p.prototype,"labelForeground",{get:function(){return this._labelForeground},set:function(t){this._labelForeground=t},enumerable:!1,configurable:!0}),p.prototype.getStyleFromComponent=function(t,e){if(e!=r.StiStyleElements.All)throw new o("StiCrossTabStyle support only StiStyleElements.All.");var t=t.stimulsoft.as(r.Maps.StiMap);if(null==t)return;var t=t.getComponentStyle2().stimulsoft.as(p);if(null==t)return;this.individualColor=t.individualColor,null==t.colors?this.colors=null:this.colors=t.colors.stimulsoft.clone(),null==t.heatmapColors?this.heatmapColors=null:this.heatmapColors=t.heatmapColors.stimulsoft.clone(),this.defaultColor=t.defaultColor,this.backColor=t.backColor,this.borderSize=t.borderSize,this.borderColor=t.borderColor,this.labelShadowForeground=t.labelShadowForeground,this.labelForeground=t.labelForeground},p.prototype.setStyleToComponent=function(t){},u=p,i.StiMapStyle=u}(Stimulsoft=Stimulsoft||{}),function(t){var e,r,n,i,o;function a(){var t=null!==o&&o.apply(this,arguments)||this;return t.allowDashboard=!1,t}r=e=t.Report||(t.Report={}),i=n=r.Maps||(r.Maps={}),r=t.Report.Styles.StiMapStyle,__extends(a,o=r),Object.defineProperty(a.prototype,"localizeName",{get:function(){return null},enumerable:!1,configurable:!0}),r=a,i.StiMapStyleFX=r}(Stimulsoft=Stimulsoft||{}),function(t){var e,r,n,t,i,o,a,s,l,u,c,p,h,m,d,g,f,S,y,A,b,C,v,w,B,I,T,E,R,D,P,x,F,N,k,M,O;r=e=t.Report||(t.Report={}),t=n=r.Dashboard||(r.Dashboard={}),(r=i=t.StiElementStyleIdent||(t.StiElementStyleIdent={}))[r["Auto"]=1]="Auto",r[r["Blue"]=2]="Blue",r[r["Orange"]=3]="Orange",r[r["Green"]=4]="Green",r[r["Turquoise"]=5]="Turquoise",r[r["SlateGray"]=6]="SlateGray",r[r["DarkBlue"]=7]="DarkBlue",r[r["DarkGray"]=8]="DarkGray",r[r["DarkGreen"]=9]="DarkGreen",r[r["DarkTurquoise"]=10]="DarkTurquoise",r[r["Silver"]=11]="Silver",r[r["AliceBlue"]=12]="AliceBlue",r[r["Custom"]=13]="Custom",(r=o=t.StiItemSelectionMode||(t.StiItemSelectionMode={}))[r["One"]=0]="One",r[r["Multi"]=1]="Multi",(r=a=t.StiDateSelectionMode||(t.StiDateSelectionMode={}))[r["Single"]=0]="Single",r[r["Range"]=1]="Range",r[r["AutoRange"]=2]="AutoRange",(r=s=t.StiInitialDateRangeSelectionSource||(t.StiInitialDateRangeSelectionSource={}))[r["Selection"]=0]="Selection",r[r["Variable"]=1]="Variable",(r=l=t.StiInitialDateRangeSelection||(t.StiInitialDateRangeSelection={}))[r["DayTomorrow"]=0]="DayTomorrow",r[r["DayToday"]=1]="DayToday",r[r["DayYesterday"]=2]="DayYesterday",r[r["WeekNext"]=3]="WeekNext",r[r["WeekCurrent"]=4]="WeekCurrent",r[r["WeekPrevious"]=5]="WeekPrevious",r[r["MonthNext"]=6]="MonthNext",r[r["MonthCurrent"]=7]="MonthCurrent",r[r["MonthPrevious"]=8]="MonthPrevious",r[r["QuarterNext"]=9]="QuarterNext",r[r["QuarterCurrent"]=10]="QuarterCurrent",r[r["QuarterPrevious"]=11]="QuarterPrevious",r[r["QuarterFirst"]=12]="QuarterFirst",r[r["QuarterSecond"]=13]="QuarterSecond",r[r["QuarterThird"]=14]="QuarterThird",r[r["QuarterFourth"]=15]="QuarterFourth",r[r["YearNext"]=16]="YearNext",r[r["YearCurrent"]=17]="YearCurrent",r[r["YearPrevious"]=18]="YearPrevious",r[r["Last7Days"]=19]="Last7Days",r[r["Last14Days"]=20]="Last14Days",r[r["Last30Days"]=21]="Last30Days",r[r["DateToWeek"]=22]="DateToWeek",r[r["DateToMonth"]=23]="DateToMonth",r[r["DateToQuarter"]=24]="DateToQuarter",r[r["DateToYear"]=25]="DateToYear",(r=u=t.StiProgressElementMode||(t.StiProgressElementMode={}))[r["Pie"]=0]="Pie",r[r["Circle"]=1]="Circle",r[r["DataBars"]=2]="DataBars",(r=c=t.StiDateCondition||(t.StiDateCondition={}))[r["EqualTo"]=0]="EqualTo",r[r["NotEqualTo"]=1]="NotEqualTo",r[r["GreaterThan"]=2]="GreaterThan",r[r["GreaterThanOrEqualTo"]=3]="GreaterThanOrEqualTo",r[r["LessThan"]=4]="LessThan",r[r["LessThanOrEqualTo"]=5]="LessThanOrEqualTo",(r=p=t.StiTableSizeMode||(t.StiTableSizeMode={}))[r["AutoSize"]=0]="AutoSize",r[r["Fit"]=1]="Fit",(r=h=t.StiChartLabelsPosition||(t.StiChartLabelsPosition={}))[r["None"]=0]="None",r[r["Center"]=1]="Center",r[r["InsideBase"]=2]="InsideBase",r[r["InsideEnd"]=3]="InsideEnd",r[r["Left"]=4]="Left",r[r["Outside"]=5]="Outside",r[r["OutsideBase"]=6]="OutsideBase",r[r["OutsideEnd"]=7]="OutsideEnd",r[r["OutsideLeft"]=8]="OutsideLeft",r[r["OutsideRight"]=9]="OutsideRight",r[r["Right"]=10]="Right",r[r["TwoColumns"]=11]="TwoColumns",r[r["Value"]=12]="Value",r[r["Total"]=13]="Total",(r=m=t.StiInteractionIdent||(t.StiInteractionIdent={}))[r["Chart"]=1]="Chart",r[r["Gauge"]=2]="Gauge",r[r["Image"]=3]="Image",r[r["Indicator"]=4]="Indicator",r[r["OnlineMap"]=5]="OnlineMap",r[r["Page"]=6]="Page",r[r["PivotTable"]=7]="PivotTable",r[r["Progress"]=8]="Progress",r[r["RegionMap"]=9]="RegionMap",r[r["Table"]=10]="Table",r[r["TableColumn"]=11]="TableColumn",r[r["Text"]=12]="Text",(r=d=t.StiAvailableInteractionOnHover||(t.StiAvailableInteractionOnHover={}))[r["ShowToolTip"]=1]="ShowToolTip",r[r["ShowHyperlink"]=2]="ShowHyperlink",r[r["None"]=0]="None",r[r["All"]=3]="All",(r=g=t.StiAvailableInteractionOnClick||(t.StiAvailableInteractionOnClick={}))[r["ShowDashboard"]=1]="ShowDashboard",r[r["OpenHyperlink"]=2]="OpenHyperlink",r[r["ApplyFilter"]=4]="ApplyFilter",r[r["DrillDown"]=8]="DrillDown",r[r["None"]=0]="None",r[r["All"]=15]="All",(r=f=t.StiAvailableInteractionOnDataManipulation||(t.StiAvailableInteractionOnDataManipulation={}))[r["AllowSorting"]=1]="AllowSorting",r[r["AllowFiltering"]=2]="AllowFiltering",r[r["AllowDrillDown"]=4]="AllowDrillDown",r[r["All"]=7]="All",r[r["None"]=0]="None",(r=S=t.StiInteractionOnHover||(t.StiInteractionOnHover={}))[r["None"]=0]="None",r[r["ShowToolTip"]=1]="ShowToolTip",r[r["ShowHyperlink"]=2]="ShowHyperlink",(r=y=t.StiInteractionOnClick||(t.StiInteractionOnClick={}))[r["None"]=0]="None",r[r["ShowDashboard"]=1]="ShowDashboard",r[r["OpenHyperlink"]=2]="OpenHyperlink",r[r["ApplyFilter"]=3]="ApplyFilter",r[r["DrillDown"]=4]="DrillDown",(r=A=t.StiInteractionOpenHyperlinkDestination||(t.StiInteractionOpenHyperlinkDestination={}))[r["NewTab"]=0]="NewTab",r[r["CurrectTab"]=1]="CurrectTab",(r=b=t.StiElementMeterAction||(t.StiElementMeterAction={}))[r["None"]=0]="None",r[r["Rename"]=1]="Rename",r[r["Delete"]=2]="Delete",r[r["ClearAll"]=3]="ClearAll",(r=C=t.StiOnlineMapLocationType||(t.StiOnlineMapLocationType={}))[r["Auto"]=0]="Auto",r[r["AdminDivision1"]=1]="AdminDivision1",r[r["AdminDivision2"]=2]="AdminDivision2",r[r["CountryRegion"]=3]="CountryRegion",r[r["Neighborhood"]=4]="Neighborhood",r[r["PopulatedPlace"]=5]="PopulatedPlace",r[r["Postcode1"]=6]="Postcode1",r[r["Postcode2"]=7]="Postcode2",r[r["Postcode3"]=8]="Postcode3",r[r["Postcode4"]=9]="Postcode4",(r=v=t.StiOnlineMapLocationColorType||(t.StiOnlineMapLocationColorType={}))[r["Single"]=0]="Single",r[r["ColorEach"]=1]="ColorEach",r[r["Group"]=2]="Group",r[r["Value"]=3]="Value",(r=w=t.StiOnlineMapValueViewMode||(t.StiOnlineMapValueViewMode={}))[r["Bubble"]=0]="Bubble",r[r["Value"]=1]="Value",r[r["Icon"]=2]="Icon",r[r["Chart"]=3]="Chart",(r=B=t.StiOnlineMapCulture||(t.StiOnlineMapCulture={}))[r["ar_SA"]=0]="ar_SA",r[r["eu"]=1]="eu",r[r["bg"]=2]="bg",r[r["bg_BG"]=3]="bg_BG",r[r["ca"]=4]="ca",r[r["ku_Arab"]=5]="ku_Arab",r[r["zh_CN"]=6]="zh_CN",r[r["zh_HK"]=7]="zh_HK",r[r["zh_Hans"]=8]="zh_Hans",r[r["zh_TW"]=9]="zh_TW",r[r["zh_Hant"]=10]="zh_Hant",r[r["cs"]=11]="cs",r[r["cs_CZ"]=12]="cs_CZ",r[r["da"]=13]="da",r[r["da_DK"]=14]="da_DK",r[r["nl_BE"]=15]="nl_BE",r[r["nl"]=16]="nl",r[r["nl_NL"]=17]="nl_NL",r[r["en_AU"]=18]="en_AU",r[r["en_CA"]=19]="en_CA",r[r["en_IN"]=20]="en_IN",r[r["en_GB"]=21]="en_GB",r[r["en_US"]=22]="en_US",r[r["fi"]=23]="fi",r[r["fi_FI"]=24]="fi_FI",r[r["fr_BE"]=25]="fr_BE",r[r["fr_CA"]=26]="fr_CA",r[r["fr"]=27]="fr",r[r["fr_FR"]=28]="fr_FR",r[r["fr_CH"]=29]="fr_CH",r[r["gl"]=30]="gl",r[r["de"]=31]="de",r[r["de_DE"]=32]="de_DE",r[r["el"]=33]="el",r[r["he"]=34]="he",r[r["he_IL"]=35]="he_IL",r[r["hi"]=36]="hi",r[r["hi_IN"]=37]="hi_IN",r[r["hu"]=38]="hu",r[r["hu_HU"]=39]="hu_HU",r[r["is_IS"]=40]="is_IS",r[r["it"]=41]="it",r[r["it_IT"]=42]="it_IT",r[r["ja"]=43]="ja",r[r["ja_JP"]=44]="ja_JP",r[r["ko"]=45]="ko",r[r["Ko_KR"]=46]="Ko_KR",r[r["ky_Cyrl"]=47]="ky_Cyrl",r[r["lv"]=48]="lv",r[r["lv_LV"]=49]="lv_LV",r[r["lt"]=50]="lt",r[r["lt_LT"]=51]="lt_LT",r[r["nb"]=52]="nb",r[r["nb_NO"]=53]="nb_NO",r[r["nn"]=54]="nn",r[r["pl"]=55]="pl",r[r["pl_PL"]=56]="pl_PL",r[r["pt_BR"]=57]="pt_BR",r[r["pt_P"]=58]="pt_P",r[r["ru"]=59]="ru",r[r["ru_RU"]=60]="ru_RU",r[r["es_MX"]=61]="es_MX",r[r["es"]=62]="es",r[r["es_ES"]=63]="es_ES",r[r["es_US"]=64]="es_US",r[r["sv"]=65]="sv",r[r["sv_SE"]=66]="sv_SE",r[r["tt_Cyrl"]=67]="tt_Cyrl",r[r["th"]=68]="th",r[r["th_TH"]=69]="th_TH",r[r["tr"]=70]="tr",r[r["tr_TR"]=71]="tr_TR",r[r["uk"]=72]="uk",r[r["uk_UA"]=73]="uk_UA",r[r["ug_Arab"]=74]="ug_Arab",r[r["ca_ES_valencia"]=75]="ca_ES_valencia",r[r["vi"]=76]="vi",r[r["vi_VN"]=77]="vi_VN",(r=I=t.StiIconAlignment||(t.StiIconAlignment={}))[r["None"]=0]="None",r[r["Left"]=1]="Left",r[r["Right"]=2]="Right",r[r["Top"]=3]="Top",r[r["Bottom"]=4]="Bottom",(r=T=t.StiIndicatorFieldCondition||(t.StiIndicatorFieldCondition={}))[r["Value"]=0]="Value",r[r["Series"]=1]="Series",r[r["Target"]=2]="Target",r[r["Variation"]=3]="Variation",(r=E=t.StiProgressFieldCondition||(t.StiProgressFieldCondition={}))[r["Value"]=0]="Value",r[r["Series"]=1]="Series",r[r["Target"]=2]="Target",r[r["Percentage"]=3]="Percentage",(r=R=t.StiProgressConditionPermissions||(t.StiProgressConditionPermissions={}))[r["None"]=0]="None",r[r["Font"]=1]="Font",r[r["FontSize"]=2]="FontSize",r[r["FontStyleBold"]=4]="FontStyleBold",r[r["FontStyleItalic"]=8]="FontStyleItalic",r[r["FontStyleUnderline"]=16]="FontStyleUnderline",r[r["FontStyleStrikeout"]=32]="FontStyleStrikeout",r[r["TextColor"]=64]="TextColor",r[r["Color"]=128]="Color",r[r["TrackColor"]=256]="TrackColor",r[r["All"]=511]="All",(r=D=t.StiIndicatorConditionPermissions||(t.StiIndicatorConditionPermissions={}))[r["None"]=0]="None",r[r["Font"]=1]="Font",r[r["FontSize"]=2]="FontSize",r[r["FontStyleBold"]=4]="FontStyleBold",r[r["FontStyleItalic"]=8]="FontStyleItalic",r[r["FontStyleUnderline"]=16]="FontStyleUnderline",r[r["FontStyleStrikeout"]=32]="FontStyleStrikeout",r[r["TextColor"]=64]="TextColor",r[r["BackColor"]=128]="BackColor",r[r["Borders"]=256]="Borders",r[r["Icon"]=512]="Icon",r[r["TargetIcon"]=1024]="TargetIcon",r[r["All"]=2047]="All",(r=P=t.StiTableConditionPermissions||(t.StiTableConditionPermissions={}))[r["None"]=0]="None",r[r["Font"]=1]="Font",r[r["FontSize"]=2]="FontSize",r[r["FontStyleBold"]=4]="FontStyleBold",r[r["FontStyleItalic"]=8]="FontStyleItalic",r[r["FontStyleUnderline"]=16]="FontStyleUnderline",r[r["FontStyleStrikeout"]=32]="FontStyleStrikeout",r[r["ForeColor"]=64]="ForeColor",r[r["BackColor"]=128]="BackColor",r[r["All"]=255]="All",(r=x=t.StiTargetMode||(t.StiTargetMode={}))[r["Percentage"]=0]="Percentage",r[r["Variation"]=1]="Variation",(r=F=t.StiChartTrendLineType||(t.StiChartTrendLineType={}))[r["None"]=0]="None",r[r["Exponential"]=1]="Exponential",r[r["Linear"]=2]="Linear",r[r["Logarithmic"]=3]="Logarithmic",(r=N=t.StiEmptyCellsAs||(t.StiEmptyCellsAs={}))[r["Gap"]=0]="Gap",r[r["Zero"]=1]="Zero",r[r["ConnectPointsWithLine"]=2]="ConnectPointsWithLine",(r=k=t.StiFontSizeMode||(t.StiFontSizeMode={}))[r["Auto"]=0]="Auto",r[r["Value"]=1]="Value",r[r["Target"]=2]="Target",(r=M=t.StiLabelPlacement||(t.StiLabelPlacement={}))[r["Outside"]=0]="Outside",r[r["Inside"]=1]="Inside",(t=O=t.StiItemOrientation||(t.StiItemOrientation={}))[t["Vertical"]=0]="Vertical",t[t["Horizontal"]=1]="Horizontal"}(Stimulsoft=Stimulsoft||{}),function(t){var e,r,n,i,o,a,s,l;function u(){var t=null!==l&&l.apply(this,arguments)||this;return t.allowDashboard=!0,t}r=e=t.Report||(t.Report={}),i=n=r.Maps||(r.Maps={}),o=t.Base.Drawing.StiColor,a=t.Report.Dashboard.StiElementStyleIdent,s=t.Base.Localization.StiLocalization,l=i.StiMapStyleFX,__extends(u,l),Object.defineProperty(u.prototype,"styleIdent",{get:function(){return a.DarkGreen},enumerable:!1,configurable:!0}),Object.defineProperty(u.prototype,"dashboardName",{get:function(){return s.get("PropertyColor","DarkGreen")},enumerable:!1,configurable:!0}),Object.defineProperty(u.prototype,"styleId",{get:function(){return i.StiMapStyleIdent.Style34},enumerable:!1,configurable:!0}),Object.defineProperty(u.prototype,"localizeName",{get:function(){return s.get("Chart","Style")+"34"},enumerable:!1,configurable:!0}),Object.defineProperty(u.prototype,"borderColor",{get:function(){return o.get("e3911c")},set:function(t){},enumerable:!1,configurable:!0}),Object.defineProperty(u.prototype,"individualColor",{get:function(){return o.get("e3c08e")},set:function(t){},enumerable:!1,configurable:!0}),Object.defineProperty(u.prototype,"colors",{get:function(){return[o.get("144b45"),o.get("ecb92f"),o.get("d66153"),o.get("25775b"),o.get("319491"),o.get("f7f7f7"),o.get("dd7c21")]},set:function(t){},enumerable:!1,configurable:!0}),Object.defineProperty(u.prototype,"heatmapColors",{get:function(){return[o.get("#539790"),o.get("#264945")]},set:function(t){},enumerable:!1,configurable:!0}),Object.defineProperty(u.prototype,"defaultColor",{get:function(){return o.get("#e3c08e")},set:function(t){},enumerable:!1,configurable:!0}),Object.defineProperty(u.prototype,"backColor",{get:function(){return o.get("#3f745e")},set:function(t){},enumerable:!1,configurable:!0}),r=u,i.StiMap34StyleFX=r}(Stimulsoft=Stimulsoft||{}),function(t){var e,r,n,i,o,a,s,l;function u(){var t=null!==l&&l.apply(this,arguments)||this;return t.allowDashboard=!0,t}r=e=t.Report||(t.Report={}),i=n=r.Maps||(r.Maps={}),o=t.Base.Drawing.StiColor,a=t.Report.Dashboard.StiElementStyleIdent,s=t.Base.Localization.StiLocalization,l=i.StiMapStyleFX,__extends(u,l),Object.defineProperty(u.prototype,"styleIdent",{get:function(){return a.AliceBlue},enumerable:!1,configurable:!0}),Object.defineProperty(u.prototype,"dashboardName",{get:function(){return s.get("PropertyColor","AliceBlue")},enumerable:!1,configurable:!0}),Object.defineProperty(u.prototype,"styleId",{get:function(){return i.StiMapStyleIdent.Style33},enumerable:!1,configurable:!0}),Object.defineProperty(u.prototype,"localizeName",{get:function(){return s.get("Chart","Style")+"33"},enumerable:!1,configurable:!0}),Object.defineProperty(u.prototype,"borderColor",{get:function(){return o.get("647cb9")},set:function(t){},enumerable:!1,configurable:!0}),Object.defineProperty(u.prototype,"individualColor",{get:function(){return o.get("40568d")},set:function(t){},enumerable:!1,configurable:!0}),Object.defineProperty(u.prototype,"colors",{get:function(){return[o.get("40568d"),o.get("4569bb"),o.get("e47334"),o.get("9d9c9c"),o.get("f8b92d"),o.get("5e93cc"),o.get("6ea548")]},set:function(t){},enumerable:!1,configurable:!0}),Object.defineProperty(u.prototype,"heatmapColors",{get:function(){return[o.get("40568d"),o.get("ccd5f0")]},set:function(t){},enumerable:!1,configurable:!0}),Object.defineProperty(u.prototype,"defaultColor",{get:function(){return o.get("#40568d")},set:function(t){},enumerable:!1,configurable:!0}),Object.defineProperty(u.prototype,"backColor",{get:function(){return o.get("#ffffff")},set:function(t){},enumerable:!1,configurable:!0}),r=u,i.StiMap33StyleFX=r}(Stimulsoft=Stimulsoft||{}),function(t){var e,r,n,i,o,a,s,l;function u(){var t=null!==l&&l.apply(this,arguments)||this;return t.allowDashboard=!0,t}r=e=t.Report||(t.Report={}),i=n=r.Maps||(r.Maps={}),o=t.Base.Drawing.StiColor,a=t.Report.Dashboard.StiElementStyleIdent,s=t.Base.Localization.StiLocalization,l=i.StiMapStyleFX,__extends(u,l),Object.defineProperty(u.prototype,"styleIdent",{get:function(){return a.Silver},enumerable:!1,configurable:!0}),Object.defineProperty(u.prototype,"dashboardName",{get:function(){return s.get("PropertyColor","Silver")},enumerable:!1,configurable:!0}),Object.defineProperty(u.prototype,"styleId",{get:function(){return i.StiMapStyleIdent.Style32},enumerable:!1,configurable:!0}),Object.defineProperty(u.prototype,"localizeName",{get:function(){return s.get("Chart","Style")+"32"},enumerable:!1,configurable:!0}),Object.defineProperty(u.prototype,"borderColor",{get:function(){return o.get("bb8698a2")},set:function(t){},enumerable:!1,configurable:!0}),Object.defineProperty(u.prototype,"individualColor",{get:function(){return o.get("3a5263")},set:function(t){},enumerable:!1,configurable:!0}),Object.defineProperty(u.prototype,"colors",{get:function(){return[o.get("3a5263"),o.get("90a1ab"),o.get("c9d5dc")]},set:function(t){},enumerable:!1,configurable:!0}),Object.defineProperty(u.prototype,"heatmapColors",{get:function(){return[o.get("3a5263"),o.get("c9d5dc")]},set:function(t){},enumerable:!1,configurable:!0}),Object.defineProperty(u.prototype,"defaultColor",{get:function(){return o.get("#fefef9")},set:function(t){},enumerable:!1,configurable:!0}),Object.defineProperty(u.prototype,"backColor",{get:function(){return o.get("#6d7e8b")},set:function(t){},enumerable:!1,configurable:!0}),r=u,i.StiMap32StyleFX=r}(Stimulsoft=Stimulsoft||{}),function(t){var e,r,n,i,o,a,s,l,u;function c(){var t=null!==u&&u.apply(this,arguments)||this;return t.allowDashboard=!0,t}r=e=t.Report||(t.Report={}),i=n=r.Maps||(r.Maps={}),o=t.Base.Drawing.StiColor,a=t.Report.Dashboard.StiElementStyleIdent,s=t.Base.Localization.StiLocalization,l=t.System.Drawing.ColorTranslator,u=i.StiMapStyleFX,__extends(c,u),Object.defineProperty(c.prototype,"styleIdent",{get:function(){return a.DarkTurquoise},enumerable:!1,configurable:!0}),Object.defineProperty(c.prototype,"dashboardName",{get:function(){return s.get("PropertyColor","DarkTurquoise")},enumerable:!1,configurable:!0}),Object.defineProperty(c.prototype,"styleId",{get:function(){return i.StiMapStyleIdent.Style31},enumerable:!1,configurable:!0}),Object.defineProperty(c.prototype,"localizeName",{get:function(){return s.get("Chart","Style")+"31"},enumerable:!1,configurable:!0}),Object.defineProperty(c.prototype,"borderColor",{get:function(){return o.get("aa1c4458")},set:function(t){},enumerable:!1,configurable:!0}),Object.defineProperty(c.prototype,"individualColor",{get:function(){return o.get("#5ea8bf")},set:function(t){},enumerable:!1,configurable:!0}),Object.defineProperty(c.prototype,"colors",{get:function(){return[l.fromHtml("#fefef9"),l.fromHtml("#a8d7e2"),l.fromHtml("#5ea8bf"),l.fromHtml("#2b7f9e"),l.fromHtml("#1c4458")]},set:function(t){},enumerable:!1,configurable:!0}),Object.defineProperty(c.prototype,"heatmapColors",{get:function(){return[l.fromHtml("#a8d7e2"),l.fromHtml("#1c4458")]},set:function(t){},enumerable:!1,configurable:!0}),Object.defineProperty(c.prototype,"defaultColor",{get:function(){return o.get("#fefef9")},set:function(t){},enumerable:!1,configurable:!0}),Object.defineProperty(c.prototype,"backColor",{get:function(){return o.get("#235e6d")},set:function(t){},enumerable:!1,configurable:!0}),r=c,i.StiMap31StyleFX=r}(Stimulsoft=Stimulsoft||{}),function(t){var e,r,n,i,o,a,s,l;function u(){var t=null!==l&&l.apply(this,arguments)||this;return t.allowDashboard=!0,t}r=e=t.Report||(t.Report={}),i=n=r.Maps||(r.Maps={}),o=t.Base.Drawing.StiColor,a=t.Report.Dashboard.StiElementStyleIdent,s=t.Base.Localization.StiLocalization,l=i.StiMapStyleFX,__extends(u,l),Object.defineProperty(u.prototype,"styleIdent",{get:function(){return a.DarkGray},enumerable:!1,configurable:!0}),Object.defineProperty(u.prototype,"dashboardName",{get:function(){return s.get("PropertyColor","DarkGray")},enumerable:!1,configurable:!0}),Object.defineProperty(u.prototype,"styleId",{get:function(){return i.StiMapStyleIdent.Style30},enumerable:!1,configurable:!0}),Object.defineProperty(u.prototype,"localizeName",{get:function(){return s.get("Chart","Style")+"30"},enumerable:!1,configurable:!0}),Object.defineProperty(u.prototype,"borderColor",{get:function(){return o.get("aadb7b46")},set:function(t){},enumerable:!1,configurable:!0}),Object.defineProperty(u.prototype,"individualColor",{get:function(){return o.get("#4a4c55")},set:function(t){},enumerable:!1,configurable:!0}),Object.defineProperty(u.prototype,"colors",{get:function(){return[o.get("#db7b46"),o.get("#d3d3d5"),o.get("#6b6e75"),o.get("#4a4c55")]},set:function(t){},enumerable:!1,configurable:!0}),Object.defineProperty(u.prototype,"heatmapColors",{get:function(){return[o.get("#d3d3d5"),o.get("#4a4c55")]},set:function(t){},enumerable:!1,configurable:!0}),Object.defineProperty(u.prototype,"defaultColor",{get:function(){return o.get("#d0d0d0")},set:function(t){},enumerable:!1,configurable:!0}),Object.defineProperty(u.prototype,"backColor",{get:function(){return o.get("#595b65")},set:function(t){},enumerable:!1,configurable:!0}),r=u,i.StiMap30StyleFX=r}(Stimulsoft=Stimulsoft||{}),function(t){var e,r,n,i,o,a,s,l,u;function c(){var t=null!==u&&u.apply(this,arguments)||this;return t.allowDashboard=!0,t}r=e=t.Report||(t.Report={}),i=n=r.Maps||(r.Maps={}),o=t.Report.Dashboard.StiElementStyleIdent,a=t.Base.Localization.StiLocalization,s=t.System.Drawing.ColorTranslator,l=t.Base.Drawing.StiColor,u=i.StiMapStyleFX,__extends(c,u),Object.defineProperty(c.prototype,"styleIdent",{get:function(){return o.Blue},enumerable:!1,configurable:!0}),Object.defineProperty(c.prototype,"dashboardName",{get:function(){return a.get("PropertyColor","Blue")},enumerable:!1,configurable:!0}),Object.defineProperty(c.prototype,"styleId",{get:function(){return i.StiMapStyleIdent.Style29},enumerable:!1,configurable:!0}),Object.defineProperty(c.prototype,"localizeName",{get:function(){return a.get("Chart","Style")+"29"},enumerable:!1,configurable:!0}),Object.defineProperty(c.prototype,"colors",{get:function(){return[s.fromHtml("#3498db"),s.fromHtml("#ef717a"),s.fromHtml("#6dcbb3"),s.fromHtml("#f28161"),s.fromHtml("#fccd1b")]},set:function(t){},enumerable:!1,configurable:!0}),Object.defineProperty(c.prototype,"individualColor",{get:function(){return l.get("#3498db")},set:function(t){},enumerable:!1,configurable:!0}),Object.defineProperty(c.prototype,"heatmapColors",{get:function(){return[s.fromHtml("#3498db"),s.fromHtml("#ef717a")]},set:function(t){},enumerable:!1,configurable:!0}),Object.defineProperty(c.prototype,"defaultColor",{get:function(){return s.fromHtml("#d0d0d0")},set:function(t){},enumerable:!1,configurable:!0}),Object.defineProperty(c.prototype,"backColor",{get:function(){return s.fromHtml("#ffffff")},set:function(t){},enumerable:!1,configurable:!0}),Object.defineProperty(c.prototype,"borderColor",{get:function(){return s.fromHtml("#b4b4b5")},set:function(t){},enumerable:!1,configurable:!0}),r=c,i.StiMap29StyleFX=r}(Stimulsoft=Stimulsoft||{}),function(t){var e,r,n,i,o,a,s,l,u;function c(){var t=null!==u&&u.apply(this,arguments)||this;return t.allowDashboard=!0,t}r=e=t.Report||(t.Report={}),i=n=r.Maps||(r.Maps={}),o=t.Report.Dashboard.StiElementStyleIdent,a=t.Base.Localization.StiLocalization,s=t.System.Drawing.ColorTranslator,l=t.Base.Drawing.StiColor,u=i.StiMapStyleFX,__extends(c,u),Object.defineProperty(c.prototype,"styleIdent",{get:function(){return o.DarkBlue},enumerable:!1,configurable:!0}),Object.defineProperty(c.prototype,"dashboardName",{get:function(){return a.get("PropertyColor","DarkBlue")},enumerable:!1,configurable:!0}),Object.defineProperty(c.prototype,"styleId",{get:function(){return i.StiMapStyleIdent.Style28},enumerable:!1,configurable:!0}),Object.defineProperty(c.prototype,"localizeName",{get:function(){return a.get("Chart","Style")+"28"},enumerable:!1,configurable:!0}),Object.defineProperty(c.prototype,"colors",{get:function(){return[s.fromHtml("#165d9e"),s.fromHtml("#577eb6"),s.fromHtml("#569436"),s.fromHtml("#225056"),s.fromHtml("#d4dae0")]},set:function(t){},enumerable:!1,configurable:!0}),Object.defineProperty(c.prototype,"individualColor",{get:function(){return l.get("#165d9e")},set:function(t){},enumerable:!1,configurable:!0}),Object.defineProperty(c.prototype,"heatmapColors",{get:function(){return[s.fromHtml("#165d9e"),s.fromHtml("#569436")]},set:function(t){},enumerable:!1,configurable:!0}),Object.defineProperty(c.prototype,"defaultColor",{get:function(){return s.fromHtml("#ffffff")},set:function(t){},enumerable:!1,configurable:!0}),Object.defineProperty(c.prototype,"backColor",{get:function(){return s.fromHtml("#0a325a")},set:function(t){},enumerable:!1,configurable:!0}),Object.defineProperty(c.prototype,"borderColor",{get:function(){return s.fromHtml("#99bbbbbb")},set:function(t){},enumerable:!1,configurable:!0}),r=c,i.StiMap28StyleFX=r}(Stimulsoft=Stimulsoft||{}),function(t){var e,r,n,i,o,a,s,l;function u(){var t=null!==l&&l.apply(this,arguments)||this;return t.allowDashboard=!0,t}r=e=t.Report||(t.Report={}),i=n=r.Maps||(r.Maps={}),o=t.Report.Dashboard.StiElementStyleIdent,a=t.Base.Localization.StiLocalization,s=t.System.Drawing.ColorTranslator,l=i.StiMapStyleFX,__extends(u,l),Object.defineProperty(u.prototype,"styleIdent",{get:function(){return o.SlateGray},enumerable:!1,configurable:!0}),Object.defineProperty(u.prototype,"dashboardName",{get:function(){return a.get("PropertyColor","SlateGray")},enumerable:!1,configurable:!0}),Object.defineProperty(u.prototype,"styleId",{get:function(){return i.StiMapStyleIdent.Style27},enumerable:!1,configurable:!0}),Object.defineProperty(u.prototype,"localizeName",{get:function(){return a.get("Chart","Style")+"27"},enumerable:!1,configurable:!0}),Object.defineProperty(u.prototype,"individualColor",{get:function(){return s.fromHtml("#0bac45")},set:function(t){},enumerable:!1,configurable:!0}),Object.defineProperty(u.prototype,"borderColor",{get:function(){return s.fromHtml("#bb33475b")},set:function(t){},enumerable:!1,configurable:!0}),Object.defineProperty(u.prototype,"colors",{get:function(){return[s.fromHtml("#0bac45"),s.fromHtml("#585257"),s.fromHtml("#ec334d"),s.fromHtml("#a1ae94"),s.fromHtml("#ed7d31"),s.fromHtml("#5ab0ee")]},set:function(t){},enumerable:!1,configurable:!0}),Object.defineProperty(u.prototype,"heatmapColors",{get:function(){return[s.fromHtml("#0bac45"),s.fromHtml("#ec334d")]},set:function(t){},enumerable:!1,configurable:!0}),Object.defineProperty(u.prototype,"defaultColor",{get:function(){return s.fromHtml("#ffffff")},set:function(t){},enumerable:!1,configurable:!0}),Object.defineProperty(u.prototype,"backColor",{get:function(){return s.fromHtml("#33475B")},set:function(t){},enumerable:!1,configurable:!0}),r=u,i.StiMap27StyleFX=r}(Stimulsoft=Stimulsoft||{}),function(t){var e,r,n,i,o,a,s,l;function u(){var t=null!==l&&l.apply(this,arguments)||this;return t.allowDashboard=!0,t}r=e=t.Report||(t.Report={}),i=n=r.Maps||(r.Maps={}),o=t.Report.Dashboard.StiElementStyleIdent,a=t.Base.Localization.StiLocalization,s=t.System.Drawing.ColorTranslator,l=i.StiMapStyleFX,__extends(u,l),Object.defineProperty(u.prototype,"styleIdent",{get:function(){return o.Turquoise},enumerable:!1,configurable:!0}),Object.defineProperty(u.prototype,"dashboardName",{get:function(){return a.get("PropertyColor","Turquoise")},enumerable:!1,configurable:!0}),Object.defineProperty(u.prototype,"styleId",{get:function(){return i.StiMapStyleIdent.Style26},enumerable:!1,configurable:!0}),Object.defineProperty(u.prototype,"localizeName",{get:function(){return a.get("Chart","Style")+"26"},enumerable:!1,configurable:!0}),Object.defineProperty(u.prototype,"individualColor",{get:function(){return s.fromHtml("#2ec6c8")},set:function(t){},enumerable:!1,configurable:!0}),Object.defineProperty(u.prototype,"borderColor",{get:function(){return s.fromHtml("#b4b4b5")},set:function(t){},enumerable:!1,configurable:!0}),Object.defineProperty(u.prototype,"colors",{get:function(){return[s.fromHtml("#2ec6c8"),s.fromHtml("#b5a1dd"),s.fromHtml("#5ab0ee"),s.fromHtml("#f4984e"),s.fromHtml("#d77a80"),s.fromHtml("#d04456")]},set:function(t){},enumerable:!1,configurable:!0}),Object.defineProperty(u.prototype,"heatmapColors",{get:function(){return[s.fromHtml("#2ec6c8"),s.fromHtml("#f4984e")]},set:function(t){},enumerable:!1,configurable:!0}),Object.defineProperty(u.prototype,"defaultColor",{get:function(){return s.fromHtml("#d0d0d0")},set:function(t){},enumerable:!1,configurable:!0}),Object.defineProperty(u.prototype,"backColor",{get:function(){return s.fromHtml("#ffffff")},set:function(t){},enumerable:!1,configurable:!0}),r=u,i.StiMap26StyleFX=r}(Stimulsoft=Stimulsoft||{}),function(t){var e,r,n,i,o,a,s,l;function u(){var t=null!==l&&l.apply(this,arguments)||this;return t.allowDashboard=!0,t}r=e=t.Report||(t.Report={}),i=n=r.Maps||(r.Maps={}),o=t.Report.Dashboard.StiElementStyleIdent,a=t.Base.Localization.StiLocalization,s=t.System.Drawing.ColorTranslator,l=i.StiMapStyleFX,__extends(u,l),Object.defineProperty(u.prototype,"styleIdent",{get:function(){return o.Green},enumerable:!1,configurable:!0}),Object.defineProperty(u.prototype,"dashboardName",{get:function(){return a.get("PropertyColor","Green")},enumerable:!1,configurable:!0}),Object.defineProperty(u.prototype,"styleId",{get:function(){return i.StiMapStyleIdent.Style25},enumerable:!1,configurable:!0}),Object.defineProperty(u.prototype,"localizeName",{get:function(){return a.get("Chart","Style")+"25"},enumerable:!1,configurable:!0}),Object.defineProperty(u.prototype,"individualColor",{get:function(){return s.fromHtml("#70ad47")},set:function(t){},enumerable:!1,configurable:!0}),Object.defineProperty(u.prototype,"borderColor",{get:function(){return s.fromHtml("#b4b4b5")},set:function(t){},enumerable:!1,configurable:!0}),Object.defineProperty(u.prototype,"colors",{get:function(){return[s.fromHtml("#70ad47"),s.fromHtml("#4472c4"),s.fromHtml("#ffc000"),s.fromHtml("#43682b"),s.fromHtml("#fd6a37"),s.fromHtml("#997300")]},set:function(t){},enumerable:!1,configurable:!0}),Object.defineProperty(u.prototype,"heatmapColors",{get:function(){return[s.fromHtml("#70ad47"),s.fromHtml("#ffc000")]},set:function(t){},enumerable:!1,configurable:!0}),Object.defineProperty(u.prototype,"defaultColor",{get:function(){return s.fromHtml("#d0d0d0")},set:function(t){},enumerable:!1,configurable:!0}),Object.defineProperty(u.prototype,"backColor",{get:function(){return s.fromHtml("#ffffff")},set:function(t){},enumerable:!1,configurable:!0}),r=u,i.StiMap25StyleFX=r}(Stimulsoft=Stimulsoft||{}),function(t){var e,r,n,i,o,a,s,l;function u(){var t=null!==l&&l.apply(this,arguments)||this;return t.allowDashboard=!0,t}r=e=t.Report||(t.Report={}),i=n=r.Maps||(r.Maps={}),o=t.Report.Dashboard.StiElementStyleIdent,a=t.Base.Localization.StiLocalization,s=t.System.Drawing.ColorTranslator,l=i.StiMapStyleFX,__extends(u,l),Object.defineProperty(u.prototype,"styleIdent",{get:function(){return o.Orange},enumerable:!1,configurable:!0}),Object.defineProperty(u.prototype,"dashboardName",{get:function(){return a.get("PropertyColor","Blue")},enumerable:!1,configurable:!0}),Object.defineProperty(u.prototype,"styleId",{get:function(){return i.StiMapStyleIdent.Style24},enumerable:!1,configurable:!0}),Object.defineProperty(u.prototype,"localizeName",{get:function(){return a.get("Chart","Style")+"24"},enumerable:!1,configurable:!0}),Object.defineProperty(u.prototype,"individualColor",{get:function(){return s.fromHtml("#ed7d31")},set:function(t){},enumerable:!1,configurable:!0}),Object.defineProperty(u.prototype,"colors",{get:function(){return[s.fromHtml("#ed7d31"),s.fromHtml("#ffc000"),s.fromHtml("#70ad47"),s.fromHtml("#9e480e"),s.fromHtml("#997300"),s.fromHtml("#43682b")]},set:function(t){},enumerable:!1,configurable:!0}),Object.defineProperty(u.prototype,"heatmapColors",{get:function(){return[s.fromHtml("#ed7d31"),s.fromHtml("#70ad47")]},set:function(t){},enumerable:!1,configurable:!0}),Object.defineProperty(u.prototype,"defaultColor",{get:function(){return s.fromHtml("#d0d0d0")},set:function(t){},enumerable:!1,configurable:!0}),Object.defineProperty(u.prototype,"backColor",{get:function(){return s.fromHtml("#ffffff")},set:function(t){},enumerable:!1,configurable:!0}),Object.defineProperty(u.prototype,"borderColor",{get:function(){return s.fromHtml("#b4b4b5")},set:function(t){},enumerable:!1,configurable:!0}),r=u,i.StiMap24StyleFX=r}(Stimulsoft=Stimulsoft||{}),function(n){var t,e,r,i,o,a,s,l,u,c,p,h;function m(){var t=null!==h&&h.apply(this,arguments)||this;return t.font=new o("Arial",8),t.foreColor=c.black,t.backColor=c.white,t.glyphColor=c.dimGray,t.separatorColor=c.lightGray,t.selectedBackColor=u.fromHtml("#3498db"),t.selectedForeColor=c.white,t.selectedGlyphColor=c.white,t.hotBackColor=l.light(c.lightGray,15),t.hotForeColor=s.ForegroundColor,t.hotGlyphColor=s.ForegroundColor,t.hotSelectedBackColor=l.light(u.fromHtml("#3498db"),30),t.hotSelectedForeColor=c.white,t.hotSelectedGlyphColor=c.white,t.allowUseFont=!0,t.allowUseBackColor=!0,t.allowUseForeColor=!0,t}e=t=n.Report||(n.Report={}),i=r=e.Styles||(e.Styles={}),o=n.System.Drawing.Font,a=n.System.Drawing.FontStyle,s=n.Base.Dashboard.StiElementConsts,l=n.Base.Drawing.StiColorUtils,u=n.System.Drawing.ColorTranslator,c=n.System.Drawing.Color,p=n.Base.StiJsonReportObjectHelper,h=i.StiBaseStyle,__extends(m,h),m.prototype.saveToJsonObject=function(t){var t=h.prototype.saveToJsonObject.call(this,t);return t.addPropertyStringNullOrEmpty("ForeColor",p.Serialize.jColor(this.foreColor,c.black)),t.addPropertyStringNullOrEmpty("BackColor",p.Serialize.jColor(this.backColor,c.white)),t.addPropertyStringNullOrEmpty("GlyphColor",p.Serialize.jColor(this.glyphColor,c.dimGray)),t.addPropertyStringNullOrEmpty("SeparatorColor",p.Serialize.jColor(this.separatorColor,c.lightGray)),t.addPropertyStringNullOrEmpty("SelectedBackColor",p.Serialize.jColor(this.selectedBackColor,u.fromHtml("#3498db"))),t.addPropertyStringNullOrEmpty("SelectedForeColor",p.Serialize.jColor(this.selectedForeColor,c.white)),t.addPropertyStringNullOrEmpty("SelectedGlyphColor",p.Serialize.jColor(this.selectedGlyphColor,c.white)),t.addPropertyStringNullOrEmpty("HotBackColor",p.Serialize.jColor(this.hotBackColor,l.light(c.lightGray,15))),t.addPropertyStringNullOrEmpty("HotForeColor",p.Serialize.jColor(this.hotForeColor,s.ForegroundColor)),t.addPropertyStringNullOrEmpty("HotGlyphColor",p.Serialize.jColor(this.hotGlyphColor,s.ForegroundColor)),t.addPropertyStringNullOrEmpty("HotSelectedBackColor",p.Serialize.jColor(this.hotSelectedBackColor,l.light(u.fromHtml("#3498db"),30))),t.addPropertyStringNullOrEmpty("HotSelectedForeColor",p.Serialize.jColor(this.hotSelectedForeColor,c.white)),t.addPropertyStringNullOrEmpty("HotSelectedGlyphColor",p.Serialize.jColor(this.hotSelectedGlyphColor,c.white)),t.addPropertyBool("AllowUseFont",this.allowUseFont,!0),t.addPropertyBool("AllowUseBackColor",this.allowUseBackColor,!0),t.addPropertyBool("AllowUseForeColor",this.allowUseForeColor,!0),t.addPropertyStringNullOrEmpty("Font",p.Serialize.fontArial8(this.font)),t},m.prototype.loadFromJsonObject=function(t){var e,r;h.prototype.loadFromJsonObject.call(this,t);try{for(var n=__values(t.properties()),i=n.next();!i.done;i=n.next()){var o=i.value;switch(o.name){case"ForeColor":this.foreColor=p.Deserialize.color(o.value);break;case"BackColor":this.backColor=p.Deserialize.color(o.value);break;case"GlyphColor":this.glyphColor=p.Deserialize.color(o.value);break;case"SeparatorColor":this.separatorColor=p.Deserialize.color(o.value);break;case"SelectedBackColor":this.selectedBackColor=p.Deserialize.color(o.value);break;case"SelectedForeColor":this.selectedForeColor=p.Deserialize.color(o.value);break;case"SelectedGlyphColor":this.selectedGlyphColor=p.Deserialize.color(o.value);break;case"HotBackColor":this.hotBackColor=p.Deserialize.color(o.value);break;case"HotForeColor":this.hotForeColor=p.Deserialize.color(o.value);break;case"HotGlyphColor":this.hotGlyphColor=p.Deserialize.color(o.value);break;case"HotSelectedBackColor":this.hotSelectedBackColor=p.Deserialize.color(o.value);break;case"HotSelectedForeColor":this.hotSelectedForeColor=p.Deserialize.color(o.value);break;case"HotSelectedGlyphColor":this.hotSelectedGlyphColor=p.Deserialize.color(o.value);break;case"AllowUseFont":this.allowUseFont=o.value.stimulsoft.toBoolean();break;case"AllowUseBackColor":this.allowUseBackColor=o.value.stimulsoft.toBoolean();break;case"AllowUseForeColor":this.allowUseForeColor=o.value.stimulsoft.toBoolean();break;case"Font":this.font=p.Deserialize.font(o.value,this.font);break}}}catch(t){e={error:t}}finally{try{i&&!i.done&&(r=n.return)&&r.call(n)}finally{if(e)throw e.error}}},m.prototype.loadFromXml=function(t){h.prototype.loadFromXml.call(this,t);for(var e=0;e<t.childNodes.length;e++){var r=t.childNodes[e];switch(r.nodeName){case"ForeColor":this.foreColor=p.Deserialize.color(r.textContent);break;case"BackColor":this.backColor=p.Deserialize.color(r.textContent);break;case"GlyphColor":this.glyphColor=p.Deserialize.color(r.textContent);break;case"SeparatorColor":this.separatorColor=p.Deserialize.color(r.textContent);break;case"SelectedBackColor":this.selectedBackColor=p.Deserialize.color(r.textContent);break;case"SelectedForeColor":this.selectedForeColor=p.Deserialize.color(r.textContent);break;case"SelectedGlyphColor":this.selectedGlyphColor=p.Deserialize.color(r.textContent);break;case"HotBackColor":this.hotBackColor=p.Deserialize.color(r.textContent);break;case"HotForeColor":this.hotForeColor=p.Deserialize.color(r.textContent);break;case"HotGlyphColor":this.hotGlyphColor=p.Deserialize.color(r.textContent);break;case"HotSelectedBackColor":this.hotSelectedBackColor=p.Deserialize.color(r.textContent);break;case"HotSelectedForeColor":this.hotSelectedForeColor=p.Deserialize.color(r.textContent);break;case"HotSelectedGlyphColor":this.hotSelectedGlyphColor=p.Deserialize.color(r.textContent);break;case"AllowUseFont":this.allowUseFont=r.textContent.stimulsoft.toBoolean();break;case"AllowUseBackColor":this.allowUseBackColor=r.textContent.stimulsoft.toBoolean();break;case"AllowUseForeColor":this.allowUseForeColor=r.textContent.stimulsoft.toBoolean();break;case"Font":this.font=n.System.Convert.toFont(r.textContent);break}}},m.prototype.clone=function(){var t=h.prototype.clone.call(this);return t.font=this.font.clone(),t},m.prototype.stimulsofthouldSerializeFont=function(){return!(null!=this.font&&"Arial"==this.font.name&&8==this.font.size&&this.font.style==a.Regular)},m.prototype.shouldSerializeForeColor=function(){return!c.black.equals(this.foreColor)},m.prototype.shouldSerializeBackColor=function(){return!c.white.equals(this.backColor)},m.prototype.shouldSerializeGlyphColor=function(){return!c.dimGray.equals(this.glyphColor)},m.prototype.shouldSerializeSeparatorColor=function(){return!c.lightGray.equals(this.separatorColor)},m.prototype.shouldSerializeSelectedBackColor=function(){return!u.fromHtml("#3498db").equals(this.selectedBackColor)},m.prototype.shouldSerializeSelectedForeColor=function(){return!c.white.equals(this.selectedForeColor)},m.prototype.shouldSerializeSelectedGlyphColor=function(){return!c.white.equals(this.selectedGlyphColor)},m.prototype.shouldSerializeHotBackColor=function(){return this.hotBackColor!=l.light(c.lightGray,15)},m.prototype.shouldSerializeHotForeColor=function(){return this.hotForeColor!=s.ForegroundColor},m.prototype.shouldSerializeHotGlyphColor=function(){return this.hotGlyphColor!=s.ForegroundColor},m.prototype.shouldSerializeHotSelectedBackColor=function(){return this.hotSelectedBackColor!=l.light(u.fromHtml("#3498db"),30)},m.prototype.shouldSerializeHotSelectedForeColor=function(){return!c.white.equals(this.hotSelectedForeColor)},m.prototype.shouldSerializeHotSelectedGlyphColor=function(){return!c.white.equals(this.hotSelectedGlyphColor)},m.prototype.getStyleFromComponent=function(t,e,r){void 0===r&&(r=null)},m.prototype.setStyleToComponent=function(t){},e=m,i.StiDialogStyle=e}(Stimulsoft=Stimulsoft||{}),function(n){var t,e,a,r,i,o,s;function l(t,e,r){void 0===t&&(t=""),void 0===e&&(e="");var r=s.call(this,t,e,r)||this;return r.backColor=o.transparent,r.dataColor=o.white,r.dataForeground=i.fromHtml("#222"),r.selectedDataColor=i.fromHtml("#3498db"),r.selectedDataForeground=o.white,r.alternatingDataColor=i.fromHtml("#eee"),r.alternatingDataForeground=i.fromHtml("#222"),r.headerColor=i.fromHtml("#3498db"),r.headerForeground=o.white,r.hotHeaderColor=o.transparent,r.footerColor=o.white,r.footerForeground=o.black,r.gridColor=o.gainsboro,r}e=t=n.Report||(n.Report={}),a=n.Base.StiJsonReportObjectHelper,r=n.Report.Styles.StiBaseStyle,i=n.System.Drawing.ColorTranslator,o=n.System.Drawing.Color,__extends(l,s=r),l.prototype.saveToJsonObject=function(t){var t=s.prototype.saveToJsonObject.call(this,t);return t.addPropertyStringNullOrEmpty("BackColor",a.Serialize.jColor(this.backColor,o.transparent)),t.addPropertyStringNullOrEmpty("DataColor",a.Serialize.jColor(this.dataColor,o.white)),t.addPropertyStringNullOrEmpty("DataForeground",a.Serialize.jColor(this.dataForeground,i.fromHtml("#222"))),t.addPropertyStringNullOrEmpty("SelectedDataColor",a.Serialize.jColor(this.selectedDataColor,i.fromHtml("#3498db"))),t.addPropertyStringNullOrEmpty("SelectedDataForeground",a.Serialize.jColor(this.selectedDataForeground,o.white)),t.addPropertyStringNullOrEmpty("AlternatingDataColor",a.Serialize.jColor(this.alternatingDataColor,i.fromHtml("#eee"))),t.addPropertyStringNullOrEmpty("AlternatingDataForeground",a.Serialize.jColor(this.alternatingDataForeground,i.fromHtml("#222"))),t.addPropertyStringNullOrEmpty("HeaderColor",a.Serialize.jColor(this.headerColor,i.fromHtml("#3498db"))),t.addPropertyStringNullOrEmpty("HeaderForeground",a.Serialize.jColor(this.headerForeground,o.white)),t.addPropertyStringNullOrEmpty("HotHeaderColor",a.Serialize.jColor(this.hotHeaderColor,o.transparent)),t.addPropertyStringNullOrEmpty("FooterColor",a.Serialize.jColor(this.footerColor,o.white)),t.addPropertyStringNullOrEmpty("FooterForeground",a.Serialize.jColor(this.footerForeground,o.black)),t.addPropertyStringNullOrEmpty("GridColor",a.Serialize.jColor(this.gridColor,o.black)),t},l.prototype.loadFromJsonObject=function(t){var e,r;s.prototype.loadFromJsonObject.call(this,t);try{for(var n=__values(t.properties()),i=n.next();!i.done;i=n.next()){var o=i.value;switch(o.name){case"BackColor":this.backColor=a.Deserialize.color(o.value);break;case"DataColor":this.dataColor=a.Deserialize.color(o.value);break;case"DataForeground":this.dataForeground=a.Deserialize.color(o.value);break;case"SelectedDataColor":this.selectedDataColor=a.Deserialize.color(o.value);break;case"SelectedDataForeground":this.selectedDataForeground=a.Deserialize.color(o.value);break;case"AlternatingDataColor":this.alternatingDataColor=a.Deserialize.color(o.value);break;case"AlternatingDataForeground":this.alternatingDataForeground=a.Deserialize.color(o.value);break;case"HeaderColor":this.headerColor=a.Deserialize.color(o.value);break;case"HeaderForeground":this.headerForeground=a.Deserialize.color(o.value);break;case"HotHeaderColor":this.hotHeaderColor=a.Deserialize.color(o.value);break;case"FooterColor":this.footerColor=a.Deserialize.color(o.value);break;case"FooterForeground":this.footerForeground=a.Deserialize.color(o.value);break;case"GridColor":this.gridColor=a.Deserialize.color(o.value);break}}}catch(t){e={error:t}}finally{try{i&&!i.done&&(r=n.return)&&r.call(n)}finally{if(e)throw e.error}}},l.prototype.loadFromXml=function(t){s.prototype.loadFromXml.call(this,t);for(var e=0;e<t.childNodes.length;e++){var r=t.childNodes[e];switch(r.nodeName){case"BackColor":this.backColor=n.System.Text.StiReportObjectStringConverter.convertStringToColor(r.textContent);break;case"DataColor":this.dataColor=n.System.Text.StiReportObjectStringConverter.convertStringToColor(r.textContent);break;case"DataForeground":this.dataForeground=n.System.Text.StiReportObjectStringConverter.convertStringToColor(r.textContent);break;case"SelectedDataColor":this.selectedDataColor=n.System.Text.StiReportObjectStringConverter.convertStringToColor(r.textContent);break;case"SelectedDataForeground":this.selectedDataForeground=n.System.Text.StiReportObjectStringConverter.convertStringToColor(r.textContent);break;case"AlternatingDataColor":this.alternatingDataColor=n.System.Text.StiReportObjectStringConverter.convertStringToColor(r.textContent);break;case"AlternatingDataForeground":this.alternatingDataForeground=n.System.Text.StiReportObjectStringConverter.convertStringToColor(r.textContent);break;case"HeaderColor":this.headerColor=n.System.Text.StiReportObjectStringConverter.convertStringToColor(r.textContent);break;case"HeaderForeground":this.headerForeground=n.System.Text.StiReportObjectStringConverter.convertStringToColor(r.textContent);break;case"HotHeaderColor":this.hotHeaderColor=n.System.Text.StiReportObjectStringConverter.convertStringToColor(r.textContent);break;case"FooterColor":this.footerColor=n.System.Text.StiReportObjectStringConverter.convertStringToColor(r.textContent);break;case"FooterForeground":this.footerForeground=n.System.Text.StiReportObjectStringConverter.convertStringToColor(r.textContent);break;case"GridColor":this.gridColor=n.System.Text.StiReportObjectStringConverter.convertStringToColor(r.textContent);break}}},l.prototype.getColor=function(t){return o.white.equals(t)?o.fromArgb(180,255,255,255):t},l.prototype.getStyleFromComponent=function(t,e){},l.prototype.setStyleToComponent=function(t){},r=l,e.StiTableStyle=r}(Stimulsoft=Stimulsoft||{}),function(a){var t,s,e,l,u,c,n,i,r,p,h,m,d,g,f,o,S;function y(){var t=null!==S&&S.apply(this,arguments)||this;return t.border=new i,t.brush=new c(r.transparent),t.chartAreaBrush=new c(r.white),t.chartAreaBorderColor=r.fromArgb(171,172,173),t.chartAreaShowShadow=!1,t.seriesLighting=!1,t.seriesShowShadow=!1,t.seriesShowBorder=!1,t.seriesLabelsLineColor=r.fromArgb(140,140,140),t.trendLineColor=r.fromArgb(140,140,140),t.trendLineShowShadow=!1,t.seriesLabelsBrush=new c(r.white),t.seriesLabelsColor=r.fromArgb(90,90,90),t.seriesLabelsBorderColor=r.fromArgb(140,140,140),t.legendBrush=new c(r.white),t.legendLabelsColor=r.fromArgb(140,140,140),t.legendBorderColor=r.fromArgb(105,105,105),t.legendTitleColor=r.fromArgb(105,105,105),t.axisTitleColor=r.fromArgb(140,140,140),t.axisLineColor=r.fromArgb(140,140,140),t.axisLabelsColor=r.fromArgb(140,140,140),t.markerVisible=!0,t.interlacingHorBrush=new c(r.fromArgb(10,155,155,155)),t.interlacingVertBrush=new c(r.fromArgb(10,155,155,155)),t.gridLinesHorColor=r.fromArgb(100,105,105,105),t.gridLinesVertColor=r.fromArgb(100,105,105,105),t.brushType=m.Solid,t.styleColors=[r.fromArgb(112,173,71),r.fromArgb(68,114,196),r.fromArgb(255,192,0),r.fromArgb(67,104,43),r.fromArgb(253,106,55),r.fromArgb(153,115,0)],t.basicStyleColor=r.whiteSmoke,t.allowUseBorderFormatting=!0,t.allowUseBorderSides=!0,t.allowUseBrush=!0,t}s=t=a.Report||(a.Report={}),l=e=s.Styles||(s.Styles={}),u=a.System.StiString,c=a.Base.Drawing.StiSolidBrush,n=a.Base.Drawing.StiBrush,i=a.Base.Drawing.StiBorder,r=a.System.Drawing.Color,p=a.Base.StiJsonReportObjectHelper,h=a.System.Enum,m=a.Report.StiBrushType,d=a.Report.Components.IStiBorder,g=a.Report.Components.IStiBrush,f=a.Report.Components.IStiBackColor,S=l.StiBaseStyle,__extends(y,S),y.prototype.saveToJsonObject=function(t){var t=S.prototype.saveToJsonObject.call(this,t);return t.addPropertyStringNullOrEmpty("Border",p.Serialize.jBorder(this.border)),t.addPropertyStringNullOrEmpty("Brush",p.Serialize.jBrush(this.brush)),t.addPropertyEnum("BrushType",m,this.brushType,m.Glare),t.addPropertyJObject("StyleColors",p.Serialize.colorArray(this.styleColors)),t.addPropertyStringNullOrEmpty("BasicStyleColor",p.Serialize.jColor(this.basicStyleColor,r.whiteSmoke)),t.addPropertyBool("AllowUseBorderFormatting",this.allowUseBorderFormatting,!0),t.addPropertyBool("AllowUseBorderSides",this.allowUseBorderSides,!0),t.addPropertyBool("AllowUseBrush",this.allowUseBrush,!0),t.addPropertyStringNullOrEmpty("ChartAreaBrush",p.Serialize.jBrush(this.chartAreaBrush)),t.addPropertyStringNullOrEmpty("ChartAreaBorderColor",p.Serialize.jColor(this.chartAreaBorderColor,r.fromArgb(171,172,173))),t.addPropertyBool("ChartAreaShowShadow",this.chartAreaShowShadow),t.addPropertyStringNullOrEmpty("SeriesLabelsBrush",p.Serialize.jBrush(this.seriesLabelsBrush)),t.addPropertyStringNullOrEmpty("SeriesLabelsColor",p.Serialize.jColor(this.seriesLabelsColor,r.fromArgb(90,90,90))),t.addPropertyStringNullOrEmpty("SeriesLabelsLineColor",p.Serialize.jColor(this.seriesLabelsLineColor,r.fromArgb(140,140,140))),t.addPropertyStringNullOrEmpty("SeriesLabelsBorderColor",p.Serialize.jColor(this.seriesLabelsBorderColor,r.fromArgb(90,90,90))),t.addPropertyBool("SeriesShowShadow",this.seriesShowShadow),t.addPropertyBool("SeriesShowBorder",this.seriesShowBorder),t.addPropertyBool("SeriesLighting",this.seriesLighting),t.addPropertyStringNullOrEmpty("TrendLineColor",p.Serialize.jColor(this.trendLineColor,r.fromArgb(140,140,140))),t.addPropertyBool("TrendLineShowShadow",this.trendLineShowShadow),t.addPropertyStringNullOrEmpty("LegendBrush",p.Serialize.jBrush(this.legendBrush)),t.addPropertyStringNullOrEmpty("LegendLabelsColor",p.Serialize.jColor(this.legendLabelsColor,r.fromArgb(140,140,140))),t.addPropertyStringNullOrEmpty("LegendBorderColor",p.Serialize.jColor(this.legendBorderColor,r.fromArgb(105,105,105))),t.addPropertyStringNullOrEmpty("LegendTitleColor",p.Serialize.jColor(this.legendTitleColor,r.fromArgb(105,105,105))),t.addPropertyStringNullOrEmpty("AxisTitleColor",p.Serialize.jColor(this.axisTitleColor,r.fromArgb(140,140,140))),t.addPropertyStringNullOrEmpty("AxisLineColor",p.Serialize.jColor(this.axisLineColor,r.fromArgb(140,140,140))),t.addPropertyStringNullOrEmpty("AxisLabelsColor",p.Serialize.jColor(this.axisLabelsColor,r.fromArgb(140,140,140))),t.addPropertyBool("MarkerVisible",this.markerVisible,!0),t.addPropertyStringNullOrEmpty("InterlacingHorBrush",p.Serialize.jBrush(this.interlacingHorBrush)),t.addPropertyStringNullOrEmpty("InterlacingVertBrush",p.Serialize.jBrush(this.interlacingVertBrush)),t.addPropertyStringNullOrEmpty("GridLinesHorColor",p.Serialize.jColor(this.gridLinesHorColor,r.fromArgb(105,105,105))),t.addPropertyStringNullOrEmpty("GridLinesVertColor",p.Serialize.jColor(this.gridLinesVertColor,r.fromArgb(105,105,105))),t},y.prototype.loadFromJsonObject=function(t){var e,r;S.prototype.loadFromJsonObject.call(this,t);try{for(var n=__values(t.properties()),i=n.next();!i.done;i=n.next()){var o=i.value;switch(o.name){case"Border":this.border=p.Deserialize.border(o.value);break;case"Brush":this.brush=p.Deserialize.brush(o.value);break;case"BrushType":this.brushType=h.parse(m,o.value);break;case"StyleColors":this.styleColors=p.Deserialize.colorArray(o.value);break;case"BasicStyleColor":this.basicStyleColor=p.Deserialize.color(o.value);break;case"AllowUseBorderFormatting":this.allowUseBorderFormatting=o.value.stimulsoft.toBoolean();break;case"AllowUseBorderSides":this.allowUseBorderSides=o.value.stimulsoft.toBoolean();break;case"ChartAreaBrush":this.chartAreaBrush=p.Deserialize.brush(o.value);break;case"ChartAreaBorderColor":this.chartAreaBorderColor=p.Deserialize.color(o.value);break;case"SeriesLabelsBrush":this.seriesLabelsBrush=p.Deserialize.brush(o.value);break;case"SeriesLabelsColor":this.seriesLabelsColor=p.Deserialize.color(o.value);break;case"SeriesLabelsBorderColor":this.seriesLabelsBorderColor=p.Deserialize.color(o.value);break;case"SeriesShowShadow":this.seriesShowShadow=o.value.stimulsoft.toBoolean();break;case"SeriesShowBorder":this.seriesShowBorder=o.value.stimulsoft.toBoolean();break;case"SeriesLighting":this.seriesLighting=o.value.stimulsoft.toBoolean();break;case"SeriesLabelsLineColor":this.seriesLabelsLineColor=p.Deserialize.color(o.value);break;case"TrendLineColor":this.trendLineColor=p.Deserialize.color(o.value);break;case"TrendLineShowShadow":this.trendLineShowShadow=o.value.stimulsoft.toBoolean();break;case"LegendBrush":this.legendBrush=p.Deserialize.brush(o.value);break;case"LegendLabelsColor":this.legendLabelsColor=p.Deserialize.color(o.value);break;case"LegendBorderColor":this.legendBorderColor=p.Deserialize.color(o.value);break;case"LegendTitleColor":this.legendTitleColor=p.Deserialize.color(o.value);break;case"AxisTitleColor":this.axisTitleColor=p.Deserialize.color(o.value);break;case"AxisLineColor":this.axisLineColor=p.Deserialize.color(o.value);break;case"AxisLabelsColor":this.axisLabelsColor=p.Deserialize.color(o.value);break;case"MarkerVisible":this.markerVisible=o.value.stimulsoft.toBoolean();break;case"InterlacingHorBrush":this.interlacingHorBrush=p.Deserialize.brush(o.value);break;case"InterlacingVertBrush":this.interlacingVertBrush=p.Deserialize.brush(o.value);break;case"GridLinesHorColor":this.gridLinesHorColor=p.Deserialize.color(o.value);break;case"GridLinesVertColor":this.gridLinesVertColor=p.Deserialize.color(o.value);break}}}catch(t){e={error:t}}finally{try{i&&!i.done&&(r=n.return)&&r.call(n)}finally{if(e)throw e.error}}},y.prototype.loadFromXml=function(t){S.prototype.loadFromXml.call(this,t);for(var e=0;e<t.childNodes.length;e++){var r=t.childNodes[e];switch(r.nodeName){case"Border":case"br":this.border=i.loadFromXml(r.textContent);break;case"Brush":case"bh":this.brush=n.loadFromXml(r.textContent);break;case"BrushType":this.brushType=h.parse(m,r.textContent);break;case"StyleColors":this.styleColors=a.System.Text.StiReportObjectStringConverter.convertStringToColorArray(r.textContent);break;case"BasicStyleColor":this.basicStyleColor=a.System.Text.StiReportObjectStringConverter.convertStringToColor(r.textContent);break;case"AllowUseBorderFormatting":this.allowUseBorderFormatting=r.textContent.stimulsoft.toBoolean();break;case"AllowUseBorderSides":this.allowUseBorderSides=r.textContent.stimulsoft.toBoolean();break;case"ChartAreaBrush":this.chartAreaBrush=n.loadFromXml(r.textContent);break;case"ChartAreaBorderColor":this.chartAreaBorderColor=a.System.Text.StiReportObjectStringConverter.convertStringToColor(r.textContent);break;case"SeriesLabelsBrush":this.seriesLabelsBrush=n.loadFromXml(r.textContent);break;case"SeriesLabelsColor":this.seriesLabelsColor=a.System.Text.StiReportObjectStringConverter.convertStringToColor(r.textContent);break;case"SeriesLabelsBorderColor":this.seriesLabelsBorderColor=a.System.Text.StiReportObjectStringConverter.convertStringToColor(r.textContent);break;case"SeriesShowShadow":this.seriesShowShadow=r.textContent.stimulsoft.toBoolean();break;case"SeriesShowBorder":this.seriesShowBorder=r.textContent.stimulsoft.toBoolean();break;case"SeriesLighting":this.seriesLighting=r.textContent.stimulsoft.toBoolean();break;case"SeriesLabelsLineColor":this.seriesLabelsLineColor=a.System.Text.StiReportObjectStringConverter.convertStringToColor(r.textContent);break;case"TrendLineColor":this.trendLineColor=a.System.Text.StiReportObjectStringConverter.convertStringToColor(r.textContent);break;case"TrendLineShowShadow":this.trendLineShowShadow=r.textContent.stimulsoft.toBoolean();break;case"LegendBrush":this.legendBrush=n.loadFromXml(r.textContent);break;case"LegendLabelsColor":this.legendLabelsColor=a.System.Text.StiReportObjectStringConverter.convertStringToColor(r.textContent);break;case"LegendBorderColor":this.legendBorderColor=a.System.Text.StiReportObjectStringConverter.convertStringToColor(r.textContent);break;case"LegendTitleColor":this.legendTitleColor=a.System.Text.StiReportObjectStringConverter.convertStringToColor(r.textContent);break;case"AxisTitleColor":this.axisTitleColor=a.System.Text.StiReportObjectStringConverter.convertStringToColor(r.textContent);break;case"AxisLineColor":this.axisLineColor=a.System.Text.StiReportObjectStringConverter.convertStringToColor(r.textContent);break;case"AxisLabelsColor":this.axisLabelsColor=a.System.Text.StiReportObjectStringConverter.convertStringToColor(r.textContent);break;case"MarkerVisible":this.markerVisible=r.textContent.stimulsoft.toBoolean();break;case"InterlacingHorBrush":this.interlacingHorBrush=n.loadFromXml(r.textContent);break;case"InterlacingVertBrush":this.interlacingVertBrush=n.loadFromXml(r.textContent);break;case"GridLinesHorColor":this.gridLinesHorColor=a.System.Text.StiReportObjectStringConverter.convertStringToColor(r.textContent);break;case"GridLinesVertColor":this.gridLinesVertColor=a.System.Text.StiReportObjectStringConverter.convertStringToColor(r.textContent);break}}},y.prototype.getStyleFromComponent=function(t,e,r){void 0===r&&(r=null);var n=null==r?null:r.stimulsoft.as(l.StiStyle),i=t.as(a.Report.Chart.IStiChart),r,o,o,o;null!=i&&(i.style.stimulsoft.is(a.Report.Chart.IStiCustomStyle)?(r=i.customStyleName,!u.isNullOrEmpty(r)&&null!=i.report&&i.report.styles.getByName(r)&&i.report.styles.getByName(r).is(y)&&(this.basicStyleColor=i.report.styles.getByName(r).basicStyleColor,this.styleColors=i.report.styles.getByName(r).styleColors,this.axisLabelsColor=i.report.styles.getByName(r).axisLabelsColor)):(this.basicStyleColor=i.style.core.basicStyleColor,this.styleColors=i.style.core.styleColors,this.axisLabelsColor=i.style.core.axisLabelsColor),0<(e&s.StiStyleElements.Border)&&(o=t.stimulsoft.as(d),this.border=o.border.clone(),this.allowUseBorderFormatting=!0,this.allowUseBorderSides=!0),0<(e&s.StiStyleElements.Brush)&&(o=t.as(g),this.brush=o.brush.clone(),this.allowUseBrush=!0),t.is(f)&&0<(e&s.StiStyleElements.Brush)&&(o=t,this.brush=new c(o.backColor),this.allowUseBrush=!0))},o=y,l.StiChartStyle=o}(Stimulsoft=Stimulsoft||{}),function(s){var t,i,e,l,r,o,a,n,u,c,p,h,m,d,g,f,S,y,A,b,C,v,w,B,I,T,E,R,D,P,x,F,N,k,M,O,_,j;function G(){}i=t=s.Report||(s.Report={}),l=e=i.Dashboard||(i.Dashboard={}),o=r=l.Styles||(l.Styles={}),a=s.Report.Dashboard.Helpers.StiDashboardExpressionHelper,n=s.System.StiArray,u=s.System.StiString,c=s.Report.StiTableStyle,p=s.Base.Drawing.StiColor,h=s.Base.Drawing.StiEmptyBrush,m=s.Report.Maps.StiMap28StyleFX,d=s.Report.Maps.StiMap27StyleFX,g=s.Report.Maps.StiMap26StyleFX,f=s.Report.Maps.StiMap25StyleFX,S=s.Report.Maps.StiMap24StyleFX,y=s.Report.Maps.StiMap29StyleFX,A=s.Report.Maps.StiMap30StyleFX,b=s.Report.Maps.StiMap31StyleFX,C=s.Report.Maps.StiMap32StyleFX,v=s.Report.Maps.StiMap33StyleFX,w=s.Report.Maps.StiMap34StyleFX,B=s.Base.Drawing.StiBrush,I=s.Base.Drawing.StiColorUtils,T=s.Report.Styles.StiDialogStyle,E=s.Report.Styles.StiCrossTabStyle,R=s.Base.Drawing.StiSolidBrush,D=s.Report.Styles.StiMapStyle,P=s.Report.Maps.StiMapStyleIdent,x=s.System.Drawing.ColorTranslator,F=s.System.Drawing.Color,N=s.Report.Components.IStiBackColor,k=s.Report.Components.IStiForeColor,M=s.Base.Dashboard.StiElementConsts,O=s.System.Drawing.FontFamily,_=s.Report.Styles.StiChartStyle,G.cloneColors=function(t){if(null==t)return null;for(var e=n.create(F,t.length),r=0;r<t.length;r++)e[r]=t[r];return e},G.getCopyChartStyle=function(t,e){var r=t.core,t=new _;return t.brush=new R(this.getBackColor(e)),t.chartAreaBrush=r.chartAreaBrush.clone(),t.chartAreaBorderColor=r.chartAreaBorderColor,t.seriesLighting=r.seriesLighting,t.seriesShowShadow=r.seriesShowShadow,t.seriesShowBorder=r.seriesShowBorder,t.seriesLabelsBrush=r.seriesLabelsBrush.clone(),t.seriesLabelsColor=r.seriesLabelsColor,t.seriesLabelsBorderColor=r.seriesLabelsBorderColor,t.legendBrush=r.legendBrush,t.legendLabelsColor=r.legendLabelsColor,t.legendBorderColor=r.legendBorderColor,t.legendTitleColor=r.legendTitleColor,t.axisTitleColor=r.axisTitleColor,t.axisLineColor=r.axisLineColor,t.axisLabelsColor=r.axisLabelsColor,t.markerVisible=r.markerVisible,t.interlacingHorBrush=r.interlacingHorBrush.clone(),t.interlacingVertBrush=r.interlacingVertBrush.clone(),t.gridLinesHorColor=r.gridLinesHorColor,t.gridLinesVertColor=r.gridLinesVertColor,t.styleColors=this.cloneColors(r.styleColors),t.basicStyleColor=r.basicStyleColor,t},G.getCopyTableStyle=function(t){var e=new c;return e.backColor=t.backColor,e.alternatingDataColor=t.alternatingCellBackColor,e.alternatingDataForeground=t.alternatingCellForeColor,e.dataColor=t.cellBackColor,e.dataForeground=t.cellForeColor,e.gridColor=t.lineColor,e.headerColor=t.headerBackColor,e.headerForeground=t.headerForeColor,e.hotHeaderColor=t.hotHeaderBackColor,e.selectedDataColor=t.selectedCellBackColor,e.selectedDataForeground=t.selectedCellForeColor,e.footerColor=t.footerColor,e.footerForeground=t.footerForeground,e},G.convertToReportGaugeStyle=function(e){var t=null,r,t,n;e.style!=l.StiElementStyleIdent.Custom||u.isNullOrEmpty(e.customStyleName)?(r=(e.style==l.StiElementStyleIdent.Auto?e.page:e).style,t=this.getGaugeStyle2(r)):null!=(n=e.report.styles.toList().firstOrDefault(function(t){return t.name==e.customStyleName}))&&(t=new s.Report["Gauge"].StiCustomGaugeStyle(n)),null==t&&(t=new s.Report["Gauge"].StiGaugeStyleXF29);var n=t.core,t=new i.StiGaugeStyle;return t.brush=n.brush.clone(),t.borderColor=n.borderColor,t.foreColor=n.foreColor,t.targetColor=n.targetColor,t.borderWidth=n.borderWidth,t.tickMarkMajorBrush=new h,t.tickMarkMajorBorder=n.tickMarkMajorBorder.clone(),t.tickMarkMinorBrush=n.tickMarkMinorBrush.clone(),t.tickMarkMinorBorder=n.tickMarkMinorBorder.clone(),t.tickLabelMajorTextBrush=n.tickLabelMajorTextBrush.clone(),t.tickLabelMajorFont=n.tickLabelMajorFont.clone(),t.tickLabelMinorTextBrush=n.tickLabelMinorTextBrush.clone(),t.tickLabelMinorFont=n.tickLabelMinorFont.clone(),t.markerBrush=n.markerBrush.clone(),t.linearBarBrush=n.linearBarBrush.clone(),t.linearBarBorderBrush=n.linearBarBorderBrush.clone(),t.linearBarEmptyBrush=n.linearBarEmptyBrush.clone(),t.linearBarEmptyBorderBrush=n.linearBarEmptyBorderBrush.clone(),t.radialBarBrush=n.radialBarBrush.clone(),t.radialBarBorderBrush=n.radialBarBorderBrush.clone(),t.radialBarEmptyBrush=n.radialBarEmptyBrush.clone(),t.radialBarEmptyBorderBrush=n.radialBarEmptyBorderBrush.clone(),t.needleBrush=n.needleBrush.clone(),t.needleBorderBrush=n.needleBorderBrush.clone(),t.needleCapBrush=n.needleCapBrush.clone(),t.needleCapBorderBrush=n.needleCapBorderBrush.clone(),t},G.convertToReportPivotTableStyle=function(t){var e=this.getPivotTableStyle(t),t=new E;return t.backColor=e.backColor,t.alternatingCellForeColor=e.alternatingCellForeColor,t.alternatingCellBackColor=e.alternatingCellBackColor,t.cellBackColor=e.cellBackColor,t.cellForeColor=e.cellForeColor,t.lineColor=e.lineColor,t.columnHeaderBackColor=e.columnHeaderBackColor,t.columnHeaderForeColor=e.columnHeaderForeColor,t.hotColumnHeaderBackColor=e.hotColumnHeaderBackColor,t.hotRowHeaderBackColor=e.hotRowHeaderBackColor,t.rowHeaderBackColor=e.rowHeaderBackColor,t.rowHeaderForeColor=e.rowHeaderForeColor,t.selectedCellBackColor=e.selectedCellBackColor,t.selectedCellForeColor=e.selectedCellForeColor,t},G.convertToReportIndicatorStyle=function(t){var e=this.getIndicatorStyle(t),r=new i.StiIndicatorStyle;return r.backColor=this.getBackColor(t),r.foreColor=this.getForeColor(t),r.hotBackColor=this.getHotBackColor(t),r.glyphColor=e.glyphColor,r.positiveColor=e.positiveColor,r.negativeColor=e.negativeColor,r},G.convertToReportProgressStyle=function(t){var e=this.getProgressStyle(t),t=new i.StiProgressStyle;return t.backColor=e.backColor,t.trackColor=e.trackColor,t.bandColor=e.bandColor,t.seriesColors=e.seriesColors,t},G.convertToReportRegionMapStyle=function(e){var t,r,t;null==(t=e.style!=l.StiElementStyleIdent.Custom||u.isNullOrEmpty(e.customStyleName)?(r=(e.style==l.StiElementStyleIdent.Auto?e.page:e).style,this.getMapStyle2(r)):e.report.styles.toList().firstOrDefault(function(t){return t.name==e.customStyleName}))&&(t=new y);var r=new D;return r.backColor=t.backColor,r.borderColor=t.borderColor,r.borderSize=t.borderSize,r.colors=t.colors,r.defaultColor=t.defaultColor,r.heatmapColors=t.heatmapColors,r.individualColor=t.individualColor,r.labelForeground=t.labelForeground,r.labelShadowForeground=t.labelShadowForeground,r},G.convertToReportControlStyle=function(t){var e=this.getControlStyle(t),t=new T;return t.backColor=e.backColor,t.foreColor=e.foreColor,t.glyphColor=e.glyphColor,t.hotBackColor=e.hotBackColor,t.hotForeColor=e.hotForeColor,t.hotGlyphColor=e.hotGlyphColor,t.hotSelectedBackColor=e.hotSelectedBackColor,t.hotSelectedForeColor=e.hotSelectedForeColor,t.hotSelectedGlyphColor=e.hotSelectedGlyphColor,t.selectedBackColor=e.selectedBackColor,t.selectedForeColor=e.selectedForeColor,t.selectedGlyphColor=e.selectedGlyphColor,t.separatorColor=e.separatorColor,t},G.getDashboardBackColor=function(t,e){if(null==t)return F.white;var r=t.as(N),r=a.getBackColor(t,r.backColor);if(null!=r&&!r.equals(F.transparent))return r;switch(t.style){case l.StiElementStyleIdent.SlateGray:case l.StiElementStyleIdent.DarkBlue:case l.StiElementStyleIdent.DarkGray:return p.get("#333333");case l.StiElementStyleIdent.DarkGreen:return p.get("144b45");case l.StiElementStyleIdent.DarkTurquoise:return p.get("#1e4a61");case l.StiElementStyleIdent.Silver:return p.get("43545e");case l.StiElementStyleIdent.AliceBlue:return p.get("40508d");default:return e?p.get("#f3f3f3"):F.white}},G.isDarkStyle=function(t){if(null==t)return!1;return this.isDarkStyle2(t.style)},G.isDarkStyle3=function(t){var e=this.getStyle(t);if(e!=l.StiElementStyleIdent.Custom&&e!=l.StiElementStyleIdent.Auto||null==t.page||(e=this.getStyle(t.page.as(l.IStiDashboard))),e==l.StiElementStyleIdent.AliceBlue&&!t.is(l.IStiDashboard))return!1;return this.isDarkStyle2(e)},G.isDarkStyle2=function(t){switch(t){case l.StiElementStyleIdent.SlateGray:case l.StiElementStyleIdent.DarkBlue:case l.StiElementStyleIdent.DarkGray:case l.StiElementStyleIdent.DarkGreen:case l.StiElementStyleIdent.DarkTurquoise:case l.StiElementStyleIdent.Silver:case l.StiElementStyleIdent.AliceBlue:return!0;default:return!1}},G.getFont=function(t){var e;if(this.getStyle(t)==l.StiElementStyleIdent.Custom){var r=t.report.styles.getByName(t.customStyleName).as(T);if(null!=r&&r.allowUseFont&&null!=r.font)return r.font}return t.font},G.getForeColor=function(t,e){void 0===e&&(e=null);var r=t.as(k);if(null!=r){var n=a.getForeColor(t,r.foreColor);if(!n.equals(F.transparent))return n}var n=this.getStyleForeColor(t);if(!n.equals(F.transparent))return n;var n=t.as(l.IStiControlElement);if(null!=n&&!F.transparent.equals(this.getControlStyle(n).foreColor))return this.getControlStyle(n).foreColor;if(null!=e)return e;return this.getNativeForeColor(t)},G.getStyleForeColor=function(t){var e;if(this.getStyle(t)!=l.StiElementStyleIdent.Custom)return F.transparent;var r=t.as(l.IStiDashboardElementStyle),r=null!=r?r.customStyleName:null,n,n,n,n,n;if(t.is(l.IStiIndicatorElement))return null==(n=this.getIndicatorStyle(t).as(o.StiCustomIndicatorElementStyle))?F.transparent:n.foreColor;if(t.is(l.IStiProgressElement))return null==(n=this.getProgressStyle(t).as(o.StiCustomProgressElementStyle))?F.transparent:n.foreColor;if(t.is(l.IStiGaugeElement))return null!=(n=t.report.styles.getCustomGaugeStyle(r))&&null!=n.core&&null!=n.core.foreColor?n.core.foreColor:F.transparent;if(t.is(l.IStiRegionMapElement))return null==(n=t.report.styles.getByName(r).as(D))?F.transparent:n.labelForeground;if(t.is(l.IStiControlElement))return null==(n=t.report.styles.getByName(r).as(T))?F.transparent:n.foreColor;return F.transparent},G.getForeColor2=function(t){if(t==l.StiElementStyleIdent.Silver)return p.get("e9f4fc");if(t==l.StiElementStyleIdent.AliceBlue)return p.get("2e2e2e");return this.isDarkStyle2(t)?x.fromHtml("#dddddd"):M.ForegroundColor},G.getNativeForeColor=function(t){return void 0===t&&(t=null),this.getForeColor2(this.getStyle(t))},G.getSelectedForeColor=function(t){var e;if(this.getStyle(t)==l.StiElementStyleIdent.Custom){var r=t.report.styles.getByName(t.customStyleName).as(T);if(null!=r&&!F.transparent.equals(r.selectedForeColor))return r.selectedForeColor}return this.getControlStyle(t).foreColor},G.getSelectedBackColor=function(t){var e;if(this.getStyle(t)==l.StiElementStyleIdent.Custom){var r=t.report.styles.getByName(t.customStyleName).as(T);if(null!=r&&!F.transparent.equals(r.selectedBackColor))return r.selectedBackColor}return this.getControlStyle(t).backColor},G.getGlyphColor2=function(t){var e;if(this.getStyle(t)==l.StiElementStyleIdent.Custom){var r=t.report.styles.getByName(t.customStyleName).as(T);if(null!=r&&!F.transparent.equals(r.glyphColor))return r.glyphColor}return this.getControlStyle(t).glyphColor},G.getGlyphColor=function(t){if(!F.transparent.equals(t.glyphColor))return t.glyphColor;var e,r;if(this.getStyle(t)==l.StiElementStyleIdent.Custom){var n=t.report.styles.getByName(t.customStyleName).as(i.StiIndicatorStyle);if(null!=n&&!F.transparent.equals(n.glyphColor))return n.glyphColor}return this.getIndicatorStyle(t).glyphColor},G.getSeparatorColor=function(t){var e;if(this.getStyle(t)==l.StiElementStyleIdent.Custom){var r=t.report.styles.getByName(t.customStyleName).as(T);if(null!=r&&!F.transparent.equals(r.separatorColor))return r.separatorColor}return this.getControlStyle(t).separatorColor},G.getBackColor=function(t,e,r){void 0===e&&(e=null);var n=t.as(N);if(null!=n){var i=a.getBackColor(t,n.backColor);if(!i.equals(F.transparent))return 255==i.a||r?i:F.fromArgb(255,i)}var i=this.getStyleBackColor(t);if(r&&this.getStyle(t)==l.StiElementStyleIdent.Custom)return i;if(!i.equals(F.transparent))return i;var i=t.as(l.IStiControlElement);if(null!=i&&!F.transparent.equals(this.getControlStyle(i).backColor))return this.getControlStyle(i).backColor;if(null!=e)return e;return this.getBackColor2(this.getStyle(t))},G.getStyleBackColor=function(t){var e;if(this.getStyle(t)!=l.StiElementStyleIdent.Custom)return F.transparent;var r=t.as(l.IStiDashboardElementStyle),r=null!=r?r.customStyleName:null,n,n,n,n,n,n,n,n;if(t.is(l.IStiIndicatorElement))return null==(n=this.getIndicatorStyle(t).as(o.StiCustomIndicatorElementStyle))?F.transparent:n.backColor;if(t.is(l.IStiProgressElement))return null==(n=this.getProgressStyle(t).as(o.StiCustomProgressElementStyle))?F.transparent:n.backColor;if(t.is(l.IStiGaugeElement))return null!=(n=t.report.styles.getCustomGaugeStyle(r))&&null!=n.core&&null!=n.core.brush?B.toColor(n.core.brush):F.transparent;if(t.is(l.IStiChartElement))return null!=(n=t.report.styles.getByName(r).as(_))&&null!=n.brush?B.toColor(n.brush):F.transparent;if(t.is(l.IStiRegionMapElement))return null==(n=t.report.styles.getByName(r).as(D))?F.transparent:n.backColor;if(t.is(l.IStiTableElement))return null==(n=t.report.styles.getByName(r).as(c))?F.transparent:n.backColor;if(t.is(l.IStiPivotTableElement))return null==(n=t.report.styles.getByName(r).as(E))?F.transparent:n.backColor;if(t.is(l.IStiControlElement))return null==(n=t.report.styles.getByName(r).as(T))?F.transparent:n.backColor;return F.transparent},G.getStyleHotBackColor=function(t){var e;if(this.getStyle(t)!=l.StiElementStyleIdent.Custom)return F.transparent;var r=t.as(l.IStiDashboardElementStyle),r=null!=r?r.customStyleName:null,n,n;if(t.is(l.IStiIndicatorElement))return null==(n=this.getIndicatorStyle(t))?F.transparent:n.hotBackColor;if(t.is(l.IStiControlElement))return null==(n=t.report.styles.getByName(r))?F.transparent:n.hotBackColor;return F.transparent},G.getHotBackColor=function(t){var e=this.getStyle(t);if(e==l.StiElementStyleIdent.Custom)return this.getStyleHotBackColor(t);return this.isDarkStyle2(e)?I.light(this.getBackColor(t),15):I.dark(this.getBackColor(t),15)},G.getBackColor2=function(t){switch(t){case l.StiElementStyleIdent.DarkBlue:return x.fromHtml("#0a325a");case l.StiElementStyleIdent.SlateGray:return x.fromHtml("#33475b");case l.StiElementStyleIdent.DarkGray:return x.fromHtml("#595b65");case l.StiElementStyleIdent.DarkGreen:return p.get("3f745e");case l.StiElementStyleIdent.DarkTurquoise:return x.fromHtml("#235e6d");case l.StiElementStyleIdent.Silver:return p.get("6d7e8b");case l.StiElementStyleIdent.AliceBlue:return p.get("f2f5fc");default:return M.BackgroundColor}},G.getTitleForeColor=function(t){var e=this.getStyle(t);if(e==l.StiElementStyleIdent.Silver)return p.get("e9f4fc");if(e==l.StiElementStyleIdent.AliceBlue)return p.get("1f377f");return this.isDarkStyle2(this.getStyle(t))?x.fromHtml("#dddddd"):M.TitleFont.Color},G.getGaugeStyle=function(t){return this.getGaugeStyle2(this.getStyle(t))},G.getGaugeStyle2=function(t){switch(t){case l.StiElementStyleIdent.Orange:return new s.Report["Gauge"].StiGaugeStyleXF24;case l.StiElementStyleIdent.Green:return new s.Report["Gauge"].StiGaugeStyleXF25;case l.StiElementStyleIdent.Turquoise:return new s.Report["Gauge"].StiGaugeStyleXF26;case l.StiElementStyleIdent.SlateGray:return new s.Report["Gauge"].StiGaugeStyleXF27;case l.StiElementStyleIdent.DarkBlue:return new s.Report["Gauge"].StiGaugeStyleXF28;case l.StiElementStyleIdent.Blue:return new s.Report["Gauge"].StiGaugeStyleXF29;case l.StiElementStyleIdent.DarkGray:return new s.Report["Gauge"].StiGaugeStyleXF30;case l.StiElementStyleIdent.DarkTurquoise:return new s.Report["Gauge"].StiGaugeStyleXF31;case l.StiElementStyleIdent.Silver:return new s.Report["Gauge"].StiGaugeStyleXF32;case l.StiElementStyleIdent.AliceBlue:return new s.Report["Gauge"].StiGaugeStyleXF33;case l.StiElementStyleIdent.DarkGreen:return new s.Report["Gauge"].StiGaugeStyleXF34;default:return new s.Report["Gauge"].StiGaugeStyleXF29}},G.getChartStyle=function(t){return this.getChartStyle2(this.getStyle(t))},G.getChartStyle2=function(t){switch(t){case l.StiElementStyleIdent.Orange:var e=new s.Report.Chart["StiStyle24"];return e.core.markerVisible=!1,e;case l.StiElementStyleIdent.Green:var e=new s.Report.Chart["StiStyle25"];return e.core.markerVisible=!1,e;case l.StiElementStyleIdent.Turquoise:var r=new s.Report.Chart["StiStyle26"];return r.core.markerVisible=!1,r;case l.StiElementStyleIdent.SlateGray:var r=new s.Report.Chart["StiStyle27"];return r.core.markerVisible=!1,r;case l.StiElementStyleIdent.DarkBlue:var n=new s.Report.Chart["StiStyle28"];return n.core.markerVisible=!1,n;case l.StiElementStyleIdent.Blue:var n=new s.Report.Chart["StiStyle29"];return n.core.markerVisible=!1,n;case l.StiElementStyleIdent.DarkGray:var i=new s.Report.Chart["StiStyle30"];return i.core.markerVisible=!1,i;case l.StiElementStyleIdent.DarkTurquoise:var i=new s.Report.Chart["StiStyle31"];return i.core.markerVisible=!1,i;case l.StiElementStyleIdent.Silver:var o=new s.Report.Chart["StiStyle32"];return o.core.markerVisible=!1,o;case l.StiElementStyleIdent.AliceBlue:var o=new s.Report.Chart["StiStyle33"];return o.core.markerVisible=!1,o;case l.StiElementStyleIdent.DarkGreen:var a=new s.Report.Chart["StiStyle34"];return a.core.markerVisible=!1,a;default:var a=new s.Report.Chart["StiStyle29"];return a.core.markerVisible=!1,a}},G.getMapStyleIdent=function(t){switch(this.getStyle(t)){case l.StiElementStyleIdent.Orange:return P.Style24;case l.StiElementStyleIdent.Green:return P.Style25;case l.StiElementStyleIdent.Turquoise:return P.Style26;case l.StiElementStyleIdent.SlateGray:return P.Style27;case l.StiElementStyleIdent.DarkBlue:return P.Style28;case l.StiElementStyleIdent.Blue:return P.Style29;case l.StiElementStyleIdent.DarkGray:return P.Style30;case l.StiElementStyleIdent.DarkTurquoise:return P.Style31;case l.StiElementStyleIdent.Silver:return P.Style32;case l.StiElementStyleIdent.AliceBlue:return P.Style33;case l.StiElementStyleIdent.DarkGreen:return P.Style34;default:return P.Style29}},G.getMapStyle=function(t){return this.getMapStyle2(this.getStyle(t))},G.getMapStyle2=function(t){switch(t){case l.StiElementStyleIdent.Orange:return new S;case l.StiElementStyleIdent.Green:return new f;case l.StiElementStyleIdent.Turquoise:return new g;case l.StiElementStyleIdent.SlateGray:return new d;case l.StiElementStyleIdent.DarkBlue:return new m;case l.StiElementStyleIdent.Blue:return new y;case l.StiElementStyleIdent.DarkGray:return new A;case l.StiElementStyleIdent.DarkTurquoise:return new b;case l.StiElementStyleIdent.Silver:return new C;case l.StiElementStyleIdent.AliceBlue:return new v;case l.StiElementStyleIdent.DarkGreen:return new w;default:return new y}},G.getControlStyle=function(t){switch(this.getStyle(t)){case l.StiElementStyleIdent.Orange:return new o.StiOrangeControlElementStyle;case l.StiElementStyleIdent.Green:return new o.StiGreenControlElementStyle;case l.StiElementStyleIdent.Turquoise:return new o.StiTurquoiseControlElementStyle;case l.StiElementStyleIdent.SlateGray:return new o.StiSlateGrayControlElementStyle;case l.StiElementStyleIdent.DarkBlue:return new o.StiDarkBlueControlElementStyle;case l.StiElementStyleIdent.Blue:return new o.StiBlueControlElementStyle;case l.StiElementStyleIdent.DarkGray:return new o.StiDarkGrayControlElementStyle;case l.StiElementStyleIdent.DarkTurquoise:return new o.StiDarkTurquoiseControlElementStyle;case l.StiElementStyleIdent.Silver:return new o.StiSilverControlElementStyle;case l.StiElementStyleIdent.AliceBlue:return new o.StiAliceBlueControlElementStyle;case l.StiElementStyleIdent.DarkGreen:return new o.StiDarkGreenControlElementStyle;case l.StiElementStyleIdent.Custom:var e=t.as(l.IStiControlElement);if(null!=e&&!u.isNullOrWhiteSpace(e.customStyleName)){var r=e.customStyleName.toLowerCase(),t=t.report.styles.toList().where(function(t){return t.is(T)&&null!=t.name}).cast().firstOrDefault(function(t){return t.name.toLowerCase()==r});if(null!=t)return new o.StiCustomControlElementStyle(t)}break}return new o.StiDarkBlueControlElementStyle},G.getIndicatorStyle=function(t){switch(this.getStyle(t)){case l.StiElementStyleIdent.Orange:return new o.StiOrangeIndicatorElementStyle;case l.StiElementStyleIdent.Green:return new o.StiGreenIndicatorElementStyle;case l.StiElementStyleIdent.Turquoise:return new o.StiTurquoiseIndicatorElementStyle;case l.StiElementStyleIdent.SlateGray:return new o.StiSlateGrayIndicatorElementStyle;case l.StiElementStyleIdent.DarkBlue:return new o.StiDarkBlueIndicatorElementStyle;case l.StiElementStyleIdent.Blue:return new o.StiBlueIndicatorElementStyle;case l.StiElementStyleIdent.DarkGray:return new o.StiDarkGrayIndicatorElementStyle;case l.StiElementStyleIdent.DarkTurquoise:return new o.StiDarkTurquoiseIndicatorElementStyle;case l.StiElementStyleIdent.Silver:return new o.StiSilverIndicatorElementStyle;case l.StiElementStyleIdent.AliceBlue:return new o.StiAliceBlueIndicatorElementStyle;case l.StiElementStyleIdent.DarkGreen:return new o.StiDarkGreenIndicatorElementStyle;case l.StiElementStyleIdent.Custom:if(!u.isNullOrWhiteSpace(t.customStyleName)){var e=t.customStyleName.toLowerCase(),t=t.report.styles.toList().where(function(t){return t.is(i.StiIndicatorStyle)&&null!=t.name}).cast().firstOrDefault(function(t){return t.name.toLowerCase()==e});if(null!=t)return new o.StiCustomIndicatorElementStyle(t)}break}return new o.StiOrangeIndicatorElementStyle},G.getProgressStyle=function(t){switch(this.getStyle(t)){case l.StiElementStyleIdent.Blue:return new o.StiBlueProgressElementStyle;case l.StiElementStyleIdent.Orange:return new o.StiOrangeProgressElementStyle;case l.StiElementStyleIdent.Green:return new o.StiGreenProgressElementStyle;case l.StiElementStyleIdent.Turquoise:return new o.StiTurquoiseProgressElementStyle;case l.StiElementStyleIdent.SlateGray:return new o.StiSlateGrayProgressElementStyle;case l.StiElementStyleIdent.DarkBlue:return new o.StiDarkBlueProgressElementStyle;case l.StiElementStyleIdent.DarkGray:return new o.StiDarkGrayProgressElementStyle;case l.StiElementStyleIdent.DarkTurquoise:return new o.StiDarkTurquoiseProgressElementStyle;case l.StiElementStyleIdent.Silver:return new o.StiSilverProgressElementStyle;case l.StiElementStyleIdent.AliceBlue:return new o.StiAliceBlueProgressElementStyle;case l.StiElementStyleIdent.DarkGreen:return new o.StiDarkGreenProgressElementStyle;case l.StiElementStyleIdent.Custom:if(!u.isNullOrWhiteSpace(t.customStyleName)){var e=t.customStyleName.toLowerCase(),t=t.report.styles.toList().where(function(t){return t.is(i.StiProgressStyle)&&null!=t.name}).cast().firstOrDefault(function(t){return t.name.toLowerCase()==e});if(null!=t)return new o.StiCustomProgressElementStyle(t)}break}return new o.StiOrangeProgressElementStyle},G.getTableStyle=function(t){switch(this.getStyle(t)){case l.StiElementStyleIdent.Orange:return new o.StiOrangeTableElementStyle;case l.StiElementStyleIdent.Green:return new o.StiGreenTableElementStyle;case l.StiElementStyleIdent.Turquoise:return new o.StiTurquoiseTableElementStyle;case l.StiElementStyleIdent.SlateGray:return new o.StiSlateGrayTableElementStyle;case l.StiElementStyleIdent.DarkBlue:return new o.StiDarkBlueTableElementStyle;case l.StiElementStyleIdent.Blue:return new o.StiBlueTableElementStyle;case l.StiElementStyleIdent.DarkGray:return new o.StiDarkGrayTableElementStyle;case l.StiElementStyleIdent.DarkTurquoise:return new o.StiDarkTurquoiseTableElementStyle;case l.StiElementStyleIdent.Silver:return new o.StiSilverTableElementStyle;case l.StiElementStyleIdent.AliceBlue:return new o.StiAliceBlueTableElementStyle;case l.StiElementStyleIdent.DarkGreen:return new o.StiDarkGreenTableElementStyle;case l.StiElementStyleIdent.Custom:if(!u.isNullOrWhiteSpace(t.customStyleName)){var e=t.customStyleName.toLowerCase(),t=t.report.styles.toList().where(function(t){return t.is(c)&&null!=t.name}).cast().firstOrDefault(function(t){return t.name.toLowerCase()==e});if(null!=t)return new o.StiCustomTableElementStyle(t)}break}return new o.StiBlueTableElementStyle},G.getTableStyle2=function(t){switch(t){case l.StiElementStyleIdent.Orange:return new o.StiOrangeTableElementStyle;case l.StiElementStyleIdent.Green:return new o.StiGreenTableElementStyle;case l.StiElementStyleIdent.Turquoise:return new o.StiTurquoiseTableElementStyle;case l.StiElementStyleIdent.SlateGray:return new o.StiSlateGrayTableElementStyle;case l.StiElementStyleIdent.DarkBlue:return new o.StiDarkBlueTableElementStyle;case l.StiElementStyleIdent.Blue:return new o.StiBlueTableElementStyle;case l.StiElementStyleIdent.DarkGray:return new o.StiDarkGrayTableElementStyle;case l.StiElementStyleIdent.DarkTurquoise:return new o.StiDarkTurquoiseTableElementStyle;case l.StiElementStyleIdent.Silver:return new o.StiSilverTableElementStyle;case l.StiElementStyleIdent.AliceBlue:return new o.StiAliceBlueTableElementStyle;case l.StiElementStyleIdent.DarkGreen:return new o.StiDarkGreenTableElementStyle}return new o.StiBlueTableElementStyle},G.getPivotTableStyle=function(t){switch(this.getStyle(t)){case l.StiElementStyleIdent.Orange:return new o.StiOrangePivotElementStyle;case l.StiElementStyleIdent.Green:return new o.StiGreenPivotElementStyle;case l.StiElementStyleIdent.Turquoise:return new o.StiTurquoisePivotElementStyle;case l.StiElementStyleIdent.SlateGray:return new o.StiSlateGrayPivotElementStyle;case l.StiElementStyleIdent.DarkBlue:return new o.StiDarkBluePivotElementStyle;case l.StiElementStyleIdent.Blue:return new o.StiBluePivotElementStyle;case l.StiElementStyleIdent.DarkGray:return new o.StiDarkGrayPivotElementStyle;case l.StiElementStyleIdent.DarkTurquoise:return new o.StiDarkTurquoisePivotElementStyle;case l.StiElementStyleIdent.Silver:return new o.StiSilverPivotElementStyle;case l.StiElementStyleIdent.AliceBlue:return new o.StiAliceBluePivotElementStyle;case l.StiElementStyleIdent.DarkGreen:return new o.StiDarkGreenPivotElementStyle;case l.StiElementStyleIdent.Custom:if(!u.isNullOrWhiteSpace(t.customStyleName)){var e=t.customStyleName.toLowerCase(),t=t.report.styles.toList().where(function(t){return t.is(E)&&null!=t.name}).cast().firstOrDefault(function(t){return t.name.toLowerCase()==e});if(null!=t)return new o.StiCustomPivotElementStyle(t)}break}return new o.StiOrangePivotElementStyle},G.getStyle=function(t){var e=t.as(l.IStiDashboardElementStyle),t=null!=t.page?t.page.as(l.IStiDashboardElementStyle):null;if(null==e&&null==t)return l.StiElementStyleIdent.Blue;if(null==e)return t.style;if(null==t)return e.style;return(e.style==l.StiElementStyleIdent.Auto?t:e).style},G.getIconFontFamily=function(){var t,t;return null==this.iconFontFamily&&(null==(t=s["Dashboard"]["Helpers"]["StiFontIconsHelper"])||null!=(t=t["getFontFamaliIcons"])&&(this.iconFontFamily=t.apply())),null==this.iconFontFamily&&(this.iconFontFamily=new O("Arial")),this.iconFontFamily},j=G,o.StiDashboardStyleHelper=j}(Stimulsoft=Stimulsoft||{}),function(t){var e,r,n,i,o;r=e=t.Report||(t.Report={}),r=n=r.Dashboard||(r.Dashboard={}),(o=i=r.Visuals||(r.Visuals={})).IStiGaugeVisualSvgHelper=new t.System.Interface("IStiGaugeVisualSvgHelper")}(Stimulsoft=Stimulsoft||{}),function(t){var e,r,n,i,o;r=e=t.Report||(t.Report={}),r=n=r.Dashboard||(r.Dashboard={}),(o=i=r.Visuals||(r.Visuals={})).IStiIndicatorVisualSvgHelper=new t.System.Interface("IStiIndicatorVisualSvgHelper")}(Stimulsoft=Stimulsoft||{}),function(t){var e,r,n,i,o;r=e=t.Report||(t.Report={}),r=n=r.Dashboard||(r.Dashboard={}),(o=i=r.Visuals||(r.Visuals={})).IStiProgressVisualSvgHelper=new t.System.Interface("IStiProgressVisualSvgHelper")}(Stimulsoft=Stimulsoft||{}),function(t){var e,r,n,i;r=e=t.Report||(t.Report={}),(i=n=r.Dashboard||(r.Dashboard={})).IStiAllowUserDrillDownDashboardInteraction=new t.System.Interface("IStiAllowUserDrillDownDashboardInteraction")}(Stimulsoft=Stimulsoft||{}),function(t){var e,r,n,i;r=e=t.Report||(t.Report={}),(i=n=r.Dashboard||(r.Dashboard={})).IStiAllowUserFilteringDashboardInteraction=new t.System.Interface("IStiAllowUserFilteringDashboardInteraction")}(Stimulsoft=Stimulsoft||{}),function(t){var e,r,n,i;r=e=t.Report||(t.Report={}),(i=n=r.Dashboard||(r.Dashboard={})).IStiAllowUserSortingDashboardInteraction=new t.System.Interface("IStiAllowUserSortingDashboardInteraction")}(Stimulsoft=Stimulsoft||{}),function(t){var e,r,n;r=e=t.Report||(t.Report={}),(r=n=r.Dashboard||(r.Dashboard={})).IStiAltProperties=new t.System.Interface("IStiAltProperties"),r.ImplementsIStiAltProperties=[]}(Stimulsoft=Stimulsoft||{}),function(t){var e,r,n;r=e=t.Report||(t.Report={}),(r=n=r.Dashboard||(r.Dashboard={})).IStiChartArea=new t.System.Interface("IStiChartArea"),r.ImplementsIStiChartArea=[]}(Stimulsoft=Stimulsoft||{}),function(t){var e,r,n;r=e=t.Report||(t.Report={}),(r=n=r.Dashboard||(r.Dashboard={})).IStiChartConstantLines=new t.System.Interface("IStiChartConstantLines"),r.ImplementsIStiChartConstantLines=[]}(Stimulsoft=Stimulsoft||{}),function(t){var e,r,n,i,o,a;r=e=t.Report||(t.Report={}),i=n=r.Dashboard||(r.Dashboard={}),o=t.Base.IStiReportComponent,a=t.Data.Engine.IStiQueryObject,r=t.Data.Engine.ImplementsIStiQueryObject,i.IStiElement=new t.System.Interface("IStiElement"),i.ImplementsIStiElement=__spread([o,a],r)}(Stimulsoft=Stimulsoft||{}),function(t){var e,r,n;r=e=t.Report||(t.Report={}),(r=n=r.Dashboard||(r.Dashboard={})).IStiGroupElement=new t.System.Interface("IStiGroupElement"),r.ImplementsIStiGroupElement=[]}(Stimulsoft=Stimulsoft||{}),function(t){var e,r,n;r=e=t.Report||(t.Report={}),(r=n=r.Dashboard||(r.Dashboard={})).IStiDashboardElementStyle=new t.System.Interface("IStiDashboardElementStyle"),r.ImplementsIStiDashboardElementStyle=[]}(Stimulsoft=Stimulsoft||{}),function(t){var e,r,n;r=e=t.Report||(t.Report={}),(r=n=r.Dashboard||(r.Dashboard={})).IStiConvertibleElement=new t.System.Interface("IStiConvertibleElement"),r.ImplementsIStiConvertibleElement=[]}(Stimulsoft=Stimulsoft||{}),function(t){var e,r,n,i,o,a,s,l,u,c,p,h,m,d,g,f,S,y,A,b,C,v,w,B,I,T,E,R,D;r=e=t.Report||(t.Report={}),i=n=r.Dashboard||(r.Dashboard={}),o=t.Data.Engine.IStiCrossFiltering,a=t.Data.Engine.ImplementsIStiCrossFiltering,s=t.Data.Engine.IStiUserSorts,l=t.Report.Dashboard.ImplementsIStiConvertibleElement,u=t.Report.Dashboard.IStiConvertibleElement,c=t.Data.Engine.ImplementsIStiDataTransformationElement,p=t.Data.Engine.ImplementsIStiDataTopN,h=t.Data.Engine.IStiDataTransformationElement,m=t.Data.Engine.IStiDataTopN,d=t.Report.Dashboard.ImplementsIStiGroupElement,g=t.Report.Dashboard.IStiGroupElement,f=t.Report.Dashboard.ImplementsIStiDashboardElementStyle,S=t.Report.Dashboard.IStiDashboardElementStyle,y=t.Report.Dashboard.ImplementsIStiElement,A=t.Report.Dashboard.IStiElement,b=t.Data.Engine.IStiUserFilters,C=t.Data.Engine.ImplementsIStiUserFilters,v=t.Data.Engine.ImplementsIStiUserSorts,w=t.Data.Engine.IStiTransformActions,B=t.Data.Engine.ImplementsIStiTransformActions,I=t.Data.Engine.IStiTransformFilters,T=t.Data.Engine.ImplementsIStiTransformFilters,E=t.Data.Engine.IStiTransformSorts,R=t.Data.Engine.ImplementsIStiTransformSorts,D=t.Data.Engine.IStiDataFilters,r=t.Data.Engine.ImplementsIStiDataFilters,i.IStiChartElement=new t.System.Interface("IStiChartElement"),i.ImplementsIStiChartElement=__spread([A,b,s,S,w,I,E,m,h,g,o,D,u],y,C,v,f,B,T,R,p,c,d,a,r,l)}(Stimulsoft=Stimulsoft||{}),function(t){var e,r,n;r=e=t.Report||(t.Report={}),(r=n=r.Dashboard||(r.Dashboard={})).IStiChartElementCondition=new t.System.Interface("IStiChartElementCondition"),r.ImplementsIStiChartElementCondition=[]}(Stimulsoft=Stimulsoft||{}),function(t){var e,r,n;r=e=t.Report||(t.Report={}),(r=n=r.Dashboard||(r.Dashboard={})).IStiChartLabels=new t.System.Interface("IStiChartLabels"),r.ImplementsIStiChartLabels=[]}(Stimulsoft=Stimulsoft||{}),function(t){var e,r,n;r=e=t.Report||(t.Report={}),(r=n=r.Dashboard||(r.Dashboard={})).IStiItemElement=new t.System.Interface("IStiItemElement"),r.ImplementsIStiItemElement=[]}(Stimulsoft=Stimulsoft||{}),function(t){var e,r,n,i,o,a;r=e=t.Report||(t.Report={}),i=n=r.Dashboard||(r.Dashboard={}),o=t.Report.Dashboard.ImplementsIStiConvertibleElement,a=t.Report.Dashboard.IStiConvertibleElement,r=t.Base.IStiAppCell,i.IStiFilterElement=new t.System.Interface("IStiFilterElement"),i.ImplementsIStiFilterElement=__spread([r,a],o)}(Stimulsoft=Stimulsoft||{}),function(t){var e,r,n,i,o,a,s,l,u,c,p,h,m,d,g,f,S,y,A;r=e=t.Report||(t.Report={}),i=n=r.Dashboard||(r.Dashboard={}),o=t.Report.Dashboard.ImplementsIStiFilterElement,a=t.Report.Dashboard.ImplementsIStiDashboardElementStyle,s=t.Report.Dashboard.ImplementsIStiElement,l=t.Report.Dashboard.IStiElement,u=t.Report.Dashboard.IStiDashboardElementStyle,c=t.Report.Dashboard.IStiFilterElement,p=t.Data.Engine.IStiUserFilters,h=t.Data.Engine.ImplementsIStiUserFilters,m=t.Report.Components.IStiBackColor,d=t.Report.Components.ImplementsIStiBackColor,g=t.Report.Components.IStiForeColor,f=t.Report.Components.ImplementsIStiForeColor,S=t.Report.Components.IStiTextFormat,y=t.Report.Components.ImplementsIStiTextFormat,A=t.Report.Components.IStiFont,r=t.Report.Components.ImplementsIStiFont,i.IStiControlElement=new t.System.Interface("IStiControlElement"),i.ImplementsIStiControlElement=__spread([l,u,p,c,A,g,m,S],s,a,h,o,r,f,d,y)}(Stimulsoft=Stimulsoft||{}),function(t){var e,r,n,i,o,a,s,l,u,c,p,h,m,d,g,f,S,y,A;r=e=t.Report||(t.Report={}),i=n=r.Dashboard||(r.Dashboard={}),o=t.Data.Engine.ImplementsIStiDataTransformationElement,a=t.Data.Engine.IStiDataTransformationElement,s=t.Report.Dashboard.ImplementsIStiGroupElement,l=t.Report.Dashboard.ImplementsIStiItemElement,u=t.Report.Dashboard.ImplementsIStiControlElement,c=t.Report.Dashboard.IStiItemElement,p=t.Report.Dashboard.IStiGroupElement,h=t.Report.Dashboard.IStiControlElement,m=t.Data.Engine.IStiTransformActions,d=t.Data.Engine.ImplementsIStiTransformActions,g=t.Data.Engine.IStiTransformFilters,f=t.Data.Engine.ImplementsIStiTransformFilters,S=t.Data.Engine.IStiTransformSorts,y=t.Data.Engine.ImplementsIStiTransformSorts,A=t.Data.Engine.IStiDataFilters,r=t.Data.Engine.ImplementsIStiDataFilters,i.IStiComboBoxElement=new t.System.Interface("IStiComboBoxElement"),i.ImplementsIStiComboBoxElement=__spread([h,c,m,g,S,a,p,A],u,l,d,f,y,o,s,r)}(Stimulsoft=Stimulsoft||{}),function(t){var e,r,n,i,o;r=e=t.Report||(t.Report={}),i=n=r.Dashboard||(r.Dashboard={}),o=t.Report.Components.IStiBackColor,r=t.Report.Components.ImplementsIStiBackColor,i.IStiPanel=new t.System.Interface("IStiPanel"),i.ImplementsIStiPanel=__spread([i.IStiElement,o],i.ImplementsIStiElement,r)}(Stimulsoft=Stimulsoft||{}),function(t){var e,r,n,i,o,a,s,l,u;r=e=t.Report||(t.Report={}),i=n=r.Dashboard||(r.Dashboard={}),o=t.Report.Dashboard.IStiPanel,a=t.Report.Dashboard.ImplementsIStiPanel,s=t.Report.Dashboard.IStiDashboardElementStyle,l=t.Report.Dashboard.ImplementsIStiDashboardElementStyle,u=t.Data.Engine.IStiQueryObject,r=t.Data.Engine.ImplementsIStiQueryObject,i.IStiDashboard=new t.System.Interface("IStiDashboard"),i.ImplementsIStiDashboard=__spread([o,u,s],a,r,l)}(Stimulsoft=Stimulsoft||{}),function(t){var e,r,n;r=e=t.Report||(t.Report={}),(r=n=r.Dashboard||(r.Dashboard={})).IStiDashboardDrillDownParameter=new t.System.Interface("IStiDashboardDrillDownParameter"),r.ImplementsIStiDashboardDrillDownParameter=[]}(Stimulsoft=Stimulsoft||{}),function(t){var e,r,n,i,o;r=e=t.Report||(t.Report={}),i=n=r.Dashboard||(r.Dashboard={}),o=t.System.ICloneable,r=t.Base.Design.IStiDefault,i.IStiDashboardInteraction=new t.System.Interface("IStiDashboardInteraction"),i.ImplementsIStiDashboardInteraction=[o,r]}(Stimulsoft=Stimulsoft||{}),function(t){var e,r,n,i,o;r=e=t.Report||(t.Report={}),i=n=r.Dashboard||(r.Dashboard={}),o=t.Data.Engine.IStiDataFilters,r=t.Data.Engine.ImplementsIStiDataFilters,i.IStiDatePickerElement=new t.System.Interface("IStiDatePickerElement"),i.ImplementsIStiDatePickerElement=__spread([i.IStiControlElement,o],i.ImplementsIStiControlElement,r)}(Stimulsoft=Stimulsoft||{}),function(t){var e,r,n,i;r=e=t.Report||(t.Report={}),(i=n=r.Dashboard||(r.Dashboard={})).IStiElementInteraction=new t.System.Interface("IStiElementInteraction")}(Stimulsoft=Stimulsoft||{}),function(t){var e,r,n;r=e=t.Report||(t.Report={}),(r=n=r.Dashboard||(r.Dashboard={})).IStiElementLayout=new t.System.Interface("IStiElementLayout"),r.ImplementsIStiElementLayout=[]}(Stimulsoft=Stimulsoft||{}),function(t){var e,r,n;r=e=t.Report||(t.Report={}),(r=n=r.Dashboard||(r.Dashboard={})).IStiFixedHeightElement=new t.System.Interface("IStiFixedHeightElement"),r.ImplementsIStiFixedHeightElement=[]}(Stimulsoft=Stimulsoft||{}),function(t){var e,r,n,i,o,a,s,l,u,c,p,h,m,d,g,f,S,y,A;r=e=t.Report||(t.Report={}),i=n=r.Dashboard||(r.Dashboard={}),o=t.Data.Engine.IStiCrossFiltering,a=t.Data.Engine.ImplementsIStiCrossFiltering,s=t.Data.Engine.IStiUserSorts,l=t.Report.Dashboard.ImplementsIStiConvertibleElement,u=t.Report.Dashboard.IStiConvertibleElement,c=t.Data.Engine.ImplementsIStiDataTransformationElement,p=t.Data.Engine.IStiDataTransformationElement,h=t.Data.Engine.IStiTransformActions,m=t.Data.Engine.ImplementsIStiTransformActions,d=t.Data.Engine.IStiTransformFilters,g=t.Data.Engine.ImplementsIStiTransformFilters,f=t.Data.Engine.IStiTransformSorts,S=t.Data.Engine.ImplementsIStiTransformSorts,y=t.Data.Engine.IStiDataFilters,A=t.Data.Engine.ImplementsIStiDataFilters,r=t.Data.Engine.ImplementsIStiUserSorts,i.IStiGaugeElement=new t.System.Interface("IStiGaugeElement"),i.ImplementsIStiGaugeElement=__spread([i.IStiElement,s,i.IStiDashboardElementStyle,h,d,f,p,i.IStiGroupElement,o,y,u],i.ImplementsIStiElement,r,i.ImplementsIStiDashboardElementStyle,m,g,S,c,i.ImplementsIStiGroupElement,a,A,l)}(Stimulsoft=Stimulsoft||{}),function(t){var e,r,n;r=e=t.Report||(t.Report={}),(r=n=r.Dashboard||(r.Dashboard={})).IStiGaugeLabels=new t.System.Interface("IStiGaugeLabels"),r.ImplementsIStiGaugeLabels=[]}(Stimulsoft=Stimulsoft||{}),function(t){var e,r,n;r=e=t.Report||(t.Report={}),(r=n=r.Dashboard||(r.Dashboard={})).IStiGaugeRange=new t.System.Interface("IStiGaugeRange"),r.ImplementsIStiGaugeRange=[]}(Stimulsoft=Stimulsoft||{}),function(t){var e,r,n,i,o;r=e=t.Report||(t.Report={}),i=n=r.Dashboard||(r.Dashboard={}),o=t.Data.Engine.IStiCrossFiltering,r=t.Data.Engine.ImplementsIStiCrossFiltering,i.IStiImageElement=new t.System.Interface("IStiImageElement"),i.ImplementsIStiImageElement=__spread([i.IStiElement,i.IStiGroupElement,o],i.ImplementsIStiElement,i.ImplementsIStiGroupElement,r)}(Stimulsoft=Stimulsoft||{}),function(t){var e,r,n,i,o,a,s,l,u,c,p,h,m,d,g,f,S,y,A,b,C;r=e=t.Report||(t.Report={}),i=n=r.Dashboard||(r.Dashboard={}),o=t.Data.Engine.IStiCrossFiltering,a=t.Data.Engine.ImplementsIStiCrossFiltering,s=t.Data.Engine.IStiUserSorts,l=t.Report.Dashboard.ImplementsIStiConvertibleElement,u=t.Report.Dashboard.IStiConvertibleElement,c=t.Data.Engine.ImplementsIStiDataTransformationElement,p=t.Data.Engine.ImplementsIStiDataTopN,h=t.Data.Engine.IStiDataTransformationElement,m=t.Data.Engine.IStiDataTopN,d=t.Data.Engine.IStiTransformActions,g=t.Data.Engine.ImplementsIStiTransformActions,f=t.Data.Engine.IStiTransformFilters,S=t.Data.Engine.ImplementsIStiTransformFilters,y=t.Data.Engine.IStiTransformSorts,A=t.Data.Engine.ImplementsIStiTransformSorts,b=t.Data.Engine.IStiDataFilters,C=t.Data.Engine.ImplementsIStiDataFilters,r=t.Data.Engine.ImplementsIStiUserSorts,i.IStiIndicatorElement=new t.System.Interface("IStiIndicatorElement"),i.ImplementsIStiIndicatorElement=__spread([i.IStiElement,s,i.IStiDashboardElementStyle,d,f,y,m,h,i.IStiGroupElement,o,b,u],i.ImplementsIStiElement,r,i.ImplementsIStiDashboardElementStyle,g,S,A,p,c,i.ImplementsIStiGroupElement,a,C,l)}(Stimulsoft=Stimulsoft||{}),function(t){var e,r,n;r=e=t.Report||(t.Report={}),(r=n=r.Dashboard||(r.Dashboard={})).IStiIndicatorElementCondition=new t.System.Interface("IStiIndicatorElementCondition"),r.ImplementsIStiIndicatorElementCondition=[]}(Stimulsoft=Stimulsoft||{}),function(t){var e,r,n,i;r=e=t.Report||(t.Report={}),(i=n=r.Dashboard||(r.Dashboard={})).IStiInteractionLayout=new t.System.Interface("IStiInteractionLayout")}(Stimulsoft=Stimulsoft||{}),function(t){var e,r,n,i,o,a,s,l,u,c,p,h,m;r=e=t.Report||(t.Report={}),i=n=r.Dashboard||(r.Dashboard={}),o=t.Data.Engine.ImplementsIStiDataTransformationElement,a=t.Data.Engine.IStiDataTransformationElement,s=t.Data.Engine.IStiTransformActions,l=t.Data.Engine.ImplementsIStiTransformActions,u=t.Data.Engine.IStiTransformFilters,c=t.Data.Engine.ImplementsIStiTransformFilters,p=t.Data.Engine.IStiTransformSorts,h=t.Data.Engine.ImplementsIStiTransformSorts,m=t.Data.Engine.IStiDataFilters,r=t.Data.Engine.ImplementsIStiDataFilters,i.IStiListBoxElement=new t.System.Interface("IStiListBoxElement"),i.ImplementsIStiListBoxElement=__spread([i.IStiControlElement,i.IStiItemElement,s,u,p,a,i.IStiGroupElement,m],i.ImplementsIStiControlElement,i.ImplementsIStiItemElement,l,c,h,o,i.ImplementsIStiGroupElement,r)}(Stimulsoft=Stimulsoft||{}),function(t){var e,r,n;r=e=t.Report||(t.Report={}),(r=n=r.Dashboard||(r.Dashboard={})).IStiMargin=new t.System.Interface("IStiMargin"),r.ImplementsIStiMargin=[]}(Stimulsoft=Stimulsoft||{}),function(t){var e,r,n;r=e=t.Report||(t.Report={}),(r=n=r.Dashboard||(r.Dashboard={})).IStiNegativeSeriesColors=new t.System.Interface("IStiNegativeSeriesColors"),r.ImplementsIStiNegativeSeriesColors=[]}(Stimulsoft=Stimulsoft||{}),function(t){var e,r,n,i,o,a,s,l,u,c,p,h,m,d,g;r=e=t.Report||(t.Report={}),i=n=r.Dashboard||(r.Dashboard={}),o=t.Data.Engine.IStiCrossFiltering,a=t.Data.Engine.ImplementsIStiCrossFiltering,s=t.Data.Engine.ImplementsIStiDataTransformationElement,l=t.Data.Engine.IStiDataTransformationElement,u=t.Data.Engine.IStiTransformActions,c=t.Data.Engine.ImplementsIStiTransformActions,p=t.Data.Engine.IStiTransformFilters,h=t.Data.Engine.ImplementsIStiTransformFilters,m=t.Data.Engine.IStiTransformSorts,d=t.Data.Engine.ImplementsIStiTransformSorts,g=t.Data.Engine.IStiDataFilters,r=t.Data.Engine.ImplementsIStiDataFilters,i.IStiOnlineMapElement=new t.System.Interface("IStiOnlineMapElement"),i.ImplementsIStiOnlineMapElement=__spread([i.IStiElement,u,p,m,l,i.IStiGroupElement,o,g],i.ImplementsIStiElement,c,h,d,s,i.ImplementsIStiGroupElement,a,r)}(Stimulsoft=Stimulsoft||{}),function(t){var e,r,n;r=e=t.Report||(t.Report={}),(r=n=r.Dashboard||(r.Dashboard={})).IStiPadding=new t.System.Interface("IStiPadding"),r.ImplementsIStiPadding=[]}(Stimulsoft=Stimulsoft||{}),function(t){var e,r,n;r=e=t.Report||(t.Report={}),(r=n=r.Dashboard||(r.Dashboard={})).IStiParetoSeriesColors=new t.System.Interface("IStiParetoSeriesColors"),r.ImplementsIStiParetoSeriesColors=[]}(Stimulsoft=Stimulsoft||{}),function(t){var e,r,n;r=e=t.Report||(t.Report={}),(r=n=r.Dashboard||(r.Dashboard={})).IStiPivotTableCreator=new t.System.Interface("IStiPivotTableCreator"),r.ImplementsIStiPivotTableCreator=[]}(Stimulsoft=Stimulsoft||{}),function(t){var e,r,n;r=e=t.Report||(t.Report={}),(r=n=r.Dashboard||(r.Dashboard={})).IStiPivotGridContainer=new t.System.Interface("IStiPivotGridContainer"),r.ImplementsIStiPivotGridContainer=[]}(Stimulsoft=Stimulsoft||{}),function(t){var e,r,n,i,o,a,s,l,u,c,p,h,m,d,g,f,S;r=e=t.Report||(t.Report={}),i=n=r.Dashboard||(r.Dashboard={}),o=t.Data.Engine.IStiCrossFiltering,a=t.Data.Engine.ImplementsIStiCrossFiltering,s=t.Report.Dashboard.ImplementsIStiConvertibleElement,l=t.Report.Dashboard.IStiConvertibleElement,u=t.Data.Engine.ImplementsIStiDataTransformationElement,c=t.Data.Engine.IStiDataTransformationElement,p=t.Data.Engine.IStiTransformActions,h=t.Data.Engine.ImplementsIStiTransformActions,m=t.Data.Engine.IStiTransformFilters,d=t.Data.Engine.ImplementsIStiTransformFilters,g=t.Data.Engine.IStiTransformSorts,f=t.Data.Engine.ImplementsIStiTransformSorts,S=t.Data.Engine.IStiDataFilters,r=t.Data.Engine.ImplementsIStiDataFilters,i.IStiPivotTableElement=new t.System.Interface("IStiPivotTableElement"),i.ImplementsIStiPivotTableElement=__spread([i.IStiElement,i.IStiDashboardElementStyle,p,m,g,c,i.IStiGroupElement,o,S,l],i.ImplementsIStiElement,i.ImplementsIStiDashboardElementStyle,h,d,f,u,i.ImplementsIStiGroupElement,a,r,s)}(Stimulsoft=Stimulsoft||{}),function(t){var e,r,n,i;r=e=t.Report||(t.Report={}),i=n=r.Dashboard||(r.Dashboard={}),r=t.Base.JsonReportObject.IStiJsonReportObject,i.IStiPivotTableElementCondition=new t.System.Interface("IStiPivotTableElementCondition"),i.ImplementsIStiPivotTableElementCondition=[r]}(Stimulsoft=Stimulsoft||{}),function(t){var e,r,n,i,o,a,s,l,u,c,p,h,m,d,g,f,S,y,A,b,C;r=e=t.Report||(t.Report={}),i=n=r.Dashboard||(r.Dashboard={}),o=t.Data.Engine.IStiCrossFiltering,a=t.Data.Engine.ImplementsIStiCrossFiltering,s=t.Data.Engine.IStiUserSorts,l=t.Report.Dashboard.ImplementsIStiConvertibleElement,u=t.Report.Dashboard.IStiConvertibleElement,c=t.Data.Engine.ImplementsIStiDataTransformationElement,p=t.Data.Engine.ImplementsIStiDataTopN,h=t.Data.Engine.IStiDataTransformationElement,m=t.Data.Engine.IStiDataTopN,d=t.Data.Engine.IStiTransformActions,g=t.Data.Engine.ImplementsIStiTransformActions,f=t.Data.Engine.IStiTransformFilters,S=t.Data.Engine.ImplementsIStiTransformFilters,y=t.Data.Engine.IStiTransformSorts,A=t.Data.Engine.ImplementsIStiTransformSorts,b=t.Data.Engine.IStiDataFilters,C=t.Data.Engine.ImplementsIStiDataFilters,r=t.Data.Engine.ImplementsIStiUserSorts,i.IStiProgressElement=new t.System.Interface("IStiProgressElement"),i.ImplementsIStiProgressElement=__spread([i.IStiElement,s,i.IStiDashboardElementStyle,d,f,y,m,h,i.IStiGroupElement,o,b,u],i.ImplementsIStiElement,r,i.ImplementsIStiDashboardElementStyle,g,S,A,p,c,i.ImplementsIStiGroupElement,a,C,l)}(Stimulsoft=Stimulsoft||{}),function(t){var e,r,n;r=e=t.Report||(t.Report={}),(r=n=r.Dashboard||(r.Dashboard={})).IStiProgressElementCondition=new t.System.Interface("IStiProgressElementCondition"),r.ImplementsIStiProgressElementCondition=[]}(Stimulsoft=Stimulsoft||{}),function(t){var e,r,n,i,o,a,s,l,u,c,p,h,m,d,g,f,S;r=e=t.Report||(t.Report={}),i=n=r.Dashboard||(r.Dashboard={}),o=t.Data.Engine.IStiCrossFiltering,a=t.Data.Engine.ImplementsIStiCrossFiltering,s=t.Data.Engine.ImplementsIStiDataTransformationElement,l=t.Data.Engine.IStiDataTransformationElement,u=t.Data.Engine.IStiUserFilters,c=t.Data.Engine.ImplementsIStiUserFilters,p=t.Data.Engine.IStiTransformActions,h=t.Data.Engine.ImplementsIStiTransformActions,m=t.Data.Engine.IStiTransformFilters,d=t.Data.Engine.ImplementsIStiTransformFilters,g=t.Data.Engine.IStiTransformSorts,f=t.Data.Engine.ImplementsIStiTransformSorts,S=t.Data.Engine.IStiDataFilters,r=t.Data.Engine.ImplementsIStiDataFilters,i.IStiRegionMapElement=new t.System.Interface("IStiRegionMapElement"),i.ImplementsIStiRegionMapElement=__spread([i.IStiElement,i.IStiDashboardElementStyle,u,p,m,g,l,i.IStiGroupElement,o,S],i.ImplementsIStiElement,i.ImplementsIStiDashboardElementStyle,c,h,d,f,s,i.ImplementsIStiGroupElement,a,r)}(Stimulsoft=Stimulsoft||{}),function(t){var e,r,n;r=e=t.Report||(t.Report={}),(r=n=r.Dashboard||(r.Dashboard={})).IStiSeriesColors=new t.System.Interface("IStiSeriesColors"),r.ImplementsIStiSeriesColors=[]}(Stimulsoft=Stimulsoft||{}),function(t){var e,r,n;r=e=t.Report||(t.Report={}),(r=n=r.Dashboard||(r.Dashboard={})).IStiShapeElement=new t.System.Interface("IStiShapeElement"),r.ImplementsIStiShapeElement=__spread([r.IStiElement],r.ImplementsIStiElement)}(Stimulsoft=Stimulsoft||{}),function(t){var e,r,n;r=e=t.Report||(t.Report={}),(r=n=r.Dashboard||(r.Dashboard={})).IStiSkipOwnFilter=new t.System.Interface("IStiSkipOwnFilter"),r.ImplementsIStiSkipOwnFilter=[]}(Stimulsoft=Stimulsoft||{}),function(t){var e,r,n,i;r=e=t.Report||(t.Report={}),i=n=r.Dashboard||(r.Dashboard={}),r=t.Report.Dashboard.IStiDashboardInteraction,i.IStiTableDashboardInteraction=new t.System.Interface("IStiTableDashboardInteraction"),i.ImplementsIStiTableDashboardInteraction=[r]}(Stimulsoft=Stimulsoft||{}),function(t){var e,r,n,i,o,a,s,l,u,c,p,h,m,d,g,f,S,y,A,b,C,v,w;r=e=t.Report||(t.Report={}),i=n=r.Dashboard||(r.Dashboard={}),o=t.Data.Engine.IStiCrossFiltering,a=t.Data.Engine.ImplementsIStiCrossFiltering,s=t.Report.Dashboard.ImplementsIStiConvertibleElement,l=t.Report.Dashboard.IStiConvertibleElement,u=t.Data.Engine.ImplementsIStiDataTransformationElement,c=t.Data.Engine.IStiDataTransformationElement,p=t.Data.Engine.IStiUserFilters,h=t.Data.Engine.ImplementsIStiUserFilters,m=t.Data.Engine.IStiTransformActions,d=t.Data.Engine.ImplementsIStiTransformActions,g=t.Data.Engine.IStiTransformFilters,f=t.Data.Engine.ImplementsIStiTransformFilters,S=t.Data.Engine.IStiTransformSorts,y=t.Data.Engine.ImplementsIStiTransformSorts,A=t.Data.Engine.IStiDataFilters,b=t.Data.Engine.ImplementsIStiDataFilters,C=t.Data.Engine.IStiUserSorts,v=t.Data.Engine.ImplementsIStiUserSorts,w=t.Report.Components.IStiFont,r=t.Report.Components.ImplementsIStiFont,i.IStiTableElement=new t.System.Interface("IStiTableElement"),i.ImplementsIStiTableElement=__spread([i.IStiElement,C,p,i.IStiDashboardElementStyle,m,g,S,c,i.IStiGroupElement,o,A,w,l],i.ImplementsIStiElement,v,h,i.ImplementsIStiDashboardElementStyle,d,f,y,u,i.ImplementsIStiGroupElement,a,b,r,s)}(Stimulsoft=Stimulsoft||{}),function(t){var e,r,n;r=e=t.Report||(t.Report={}),(r=n=r.Dashboard||(r.Dashboard={})).IStiTableElementAutoSizer=new t.System.Interface("IStiTableElementAutoSizer"),r.ImplementsIStiTableElementAutoSizer=[]}(Stimulsoft=Stimulsoft||{}),function(t){var e,r,n;r=e=t.Report||(t.Report={}),(r=n=r.Dashboard||(r.Dashboard={})).IStiTableElementCondition=new t.System.Interface("IStiTableElementCondition"),r.ImplementsIStiTableElementCondition=[]}(Stimulsoft=Stimulsoft||{}),function(t){var e,r,n,i,o;r=e=t.Report||(t.Report={}),i=n=r.Dashboard||(r.Dashboard={}),o=t.Data.Engine.IStiCrossFiltering,r=t.Data.Engine.ImplementsIStiCrossFiltering,i.IStiTextElement=new t.System.Interface("IStiTextElement"),i.ImplementsIStiTextElement=__spread([i.IStiElement,i.IStiGroupElement,o],i.ImplementsIStiElement,i.ImplementsIStiGroupElement,r)}(Stimulsoft=Stimulsoft||{}),function(t){var e,r,n,i,o,a,s,l,u,c,p;r=e=t.Report||(t.Report={}),i=n=r.Dashboard||(r.Dashboard={}),o=t.Report.Components.IStiBackColor,a=t.Report.Components.ImplementsIStiBackColor,s=t.Report.Components.IStiForeColor,l=t.Report.Components.ImplementsIStiForeColor,u=t.Report.Components.IStiHorAlignment,c=t.Report.Components.ImplementsIStiHorAlignment,p=t.Report.Components.IStiFont,r=t.Report.Components.ImplementsIStiFont,i.IStiTitle=new t.System.Interface("IStiTitle"),i.ImplementsIStiTitle=__spread([p,u,s,o],r,c,l,a)}(Stimulsoft=Stimulsoft||{}),function(t){var e,r,n;r=e=t.Report||(t.Report={}),(r=n=r.Dashboard||(r.Dashboard={})).IStiTitleElement=new t.System.Interface("IStiTitleElement"),r.ImplementsIStiTitleElement=[]}(Stimulsoft=Stimulsoft||{}),function(t){var e,r,n,i,o,a,s,l,u,c,p,h,m;r=e=t.Report||(t.Report={}),i=n=r.Dashboard||(r.Dashboard={}),o=t.Data.Engine.ImplementsIStiDataTransformationElement,a=t.Data.Engine.IStiDataTransformationElement,s=t.Data.Engine.IStiTransformActions,l=t.Data.Engine.ImplementsIStiTransformActions,u=t.Data.Engine.IStiTransformFilters,c=t.Data.Engine.ImplementsIStiTransformFilters,p=t.Data.Engine.IStiTransformSorts,h=t.Data.Engine.ImplementsIStiTransformSorts,m=t.Data.Engine.IStiDataFilters,r=t.Data.Engine.ImplementsIStiDataFilters,i.IStiTreeViewBoxElement=new t.System.Interface("IStiTreeViewBoxElement"),i.ImplementsIStiTreeViewBoxElement=__spread([i.IStiControlElement,i.IStiItemElement,s,u,p,a,i.IStiGroupElement,m],i.ImplementsIStiControlElement,i.ImplementsIStiItemElement,l,c,h,o,i.ImplementsIStiGroupElement,r)}(Stimulsoft=Stimulsoft||{}),function(t){var e,r,n,i,o,a,s,l,u,c,p,h,m;r=e=t.Report||(t.Report={}),i=n=r.Dashboard||(r.Dashboard={}),o=t.Data.Engine.ImplementsIStiDataTransformationElement,a=t.Data.Engine.IStiDataTransformationElement,s=t.Data.Engine.IStiTransformActions,l=t.Data.Engine.ImplementsIStiTransformActions,u=t.Data.Engine.IStiTransformFilters,c=t.Data.Engine.ImplementsIStiTransformFilters,p=t.Data.Engine.IStiTransformSorts,h=t.Data.Engine.ImplementsIStiTransformSorts,m=t.Data.Engine.IStiDataFilters,r=t.Data.Engine.ImplementsIStiDataFilters,i.IStiTreeViewElement=new t.System.Interface("IStiTreeViewElement"),i.ImplementsIStiTreeViewElement=__spread([i.IStiControlElement,i.IStiItemElement,s,u,p,a,i.IStiGroupElement,m],i.ImplementsIStiControlElement,i.ImplementsIStiItemElement,l,c,h,o,i.ImplementsIStiGroupElement,r)}(Stimulsoft=Stimulsoft||{}),function(t){var e,r,n,i,o;function a(){}r=e=t.Report||(t.Report={}),i=n=r.Dashboard||(r.Dashboard={}),o=t.Base.StiAppKey,r=t.System.Collections.Dictionary,a.getKey=function(t){var e=o.getOrGeneratedKey(t);null==e&&(e="");var t=null!=t?t.getKey():"";return null==t&&(t=""),e+"."+t},a.getLastImage=function(t){var t=this.getKey(t);return this.cache.contains(t)?this.cache.get(t):null},a.existsLastImage=function(t){var t=this.getKey(t);return this.cache.contains(t)},a.storeLastImage=function(t,e){var t=this.getKey(t);this.cache.set(t,e)},a.clean=function(e){var r=this;null==e?this.cache.clear():this.cache.keys.toList().where(function(t){return t.stimulsoft.startsWith(e)},this).forEach(function(t){return r.cache.remove(t)})},a.cache=new r,r=a,i.StiOnlineMapLastImageCache=r}(Stimulsoft=Stimulsoft||{}),function(t){var e,r,n,i,o;function a(){}r=e=t.Report||(t.Report={}),i=n=r.Dashboard||(r.Dashboard={}),o=t.Base.StiAppKey,r=t.System.Collections.Dictionary,a.getIntKey=function(t){var e,r,n=t.getMeters();if(null==n||!n.any())return"0";var i=0,o=n.select(function(t){return(i++).toString()+t.getUniqueCode().toString()}).toList(),t=t.title.text;null==t&&(t=""),o.add(t.stimulsoft.getHashCode().toString());var a=0;try{for(var s=__values(o),l=s.next(),u;!l.done;l=s.next()){a+=l.value.stimulsoft.getHashCode()}}catch(t){e={error:t}}finally{try{l&&!l.done&&(r=s.return)&&r.call(s)}finally{if(e)throw e.error}}return""+a},a.getKey=function(t){var e=o.getOrGeneratedKey(t);null==e&&(e="");var r=null!=t?t.getKey():"";null==r&&(r="");var t=null!=t?this.getIntKey(t):"";return null==t&&(t=""),e+"."+r+"."+t},a.isConverted=function(t){var t=this.getKey(t);return this.cache.contains(t)&&this.cache.get(t)},a.putTrue=function(t){this.put(t,!0)},a.putFalse=function(t){this.put(t,!1)},a.put=function(t,e){var t=this.getKey(t);this.cache.set(t,e)},a.contains=function(t){var t=this.getKey(t);return this.cache.contains(t)},a.clean=function(e){var r=this;void 0===e&&(e=null),null==e?this.cache.clear():this.cache.keys.toList().where(function(t){return t.stimulsoft.startsWith(e)}).forEach(function(t){return r.cache.remove(t)})},a.cache=new r,r=a,i.StiPivotToConvertedStateCache=r}(Stimulsoft=Stimulsoft||{}),function(t){var e,r,n,i,o;function a(){}r=e=t.Report||(t.Report={}),i=n=r.Dashboard||(r.Dashboard={}),r=t.System.Collections.Dictionary,o=t.Base.StiAppKey,a.getKey=function(t){var e=o.getOrGeneratedKey(t);null==e&&(e="");var t=null!=t?t.getKey():"";return null==t&&(t=""),e+"."+t},a.get=function(t){var t=this.getKey(t);return this.cache.contains(t)?this.cache.get(t):null},a.put=function(t,e){var t=this.getKey(t);this.cache.set(t,e)},a.contains=function(t){var t=this.getKey(t);return this.cache.contains(t)},a.remove=function(t){var t=this.getKey(t);this.cache.contains(t)&&this.cache.remove(t)},a.clean=function(e){var r=this;null==e?this.cache.clear():this.cache.keys.toList().where(function(t){return t.stimulsoft.startsWith(e)}).forEach(function(t){return r.cache.remove(t)})},a.cache=new r,r=a,i.StiPivotTableToCrossTabCache=r}(Stimulsoft=Stimulsoft||{}),function(t){var e,r,n,i;function o(){}r=e=t.Report||(t.Report={}),i=n=r.Dashboard||(r.Dashboard={}),r=t.System.Collections.Dictionary,o.get=function(t){var t=i.StiElementDataCache.getKey(t);return this.cache.contains(t)?this.cache.get(t):null},o.put=function(t,e){var t=i.StiElementDataCache.getKey(t);this.cache.set(t,e)},o.remove=function(t){var t=i.StiElementDataCache.getKey(t);this.cache.contains(t)&&this.cache.remove(t)},o.contains=function(t){var t=i.StiElementDataCache.getKey(t);return this.cache.contains(t)},o.clean=function(e){var r=this;null==e?this.cache.clear():this.cache.keys.where(function(t){return t.stimulsoft.startsWith(e)}).forEach(function(t){return r.cache.remove(t)},this)},o.cache=new r,r=o,i.StiPivotToContainerCache=r}(Stimulsoft=Stimulsoft||{}),function(t){var e,r,n,p,C,l,h,u;function i(){}r=e=t.Report||(t.Report={}),p=n=r.Dictionary||(r.Dictionary={}),C=t.Base.StiAppFunctions,l=t.System.StiArray,h=t.System.StiString,u=t.System.Collections.Hashtable,i.removeFunction=function(t){null!=C.functionsToCompile.get(t)&&C.functionsToCompile.remove(t),null!=C.functionsToCompileLower.get(t.toLowerCase())&&C.functionsToCompileLower.remove(t.toLowerCase()),null!=C.functions.get(t)&&C.functions.remove(t),null!=C.functionsLower.get(t.toLowerCase())&&C.functionsLower.remove(t.toLowerCase())},i.getFunctionsList=function(t){return null!=C.functions.get(t)?C.functions.get(t):null},i.getFunctionsGrouppedInCategories=function(){var e,t,r=new u,n=this.getFunctions(!1);try{for(var i=__values(n),o=i.next();!o.done;o=i.next()){var a=o.value,s=r.get(a.category);null==s&&(s=[],r.set(a.category,s)),s.push(a)}}catch(t){e={error:t}}finally{try{o&&!o.done&&(t=i.return)&&t.call(i)}finally{if(e)throw e.error}}return r},i.getFunctions=function(t){var e,r,n,i,o,a;if("boolean"==typeof t){var s=t.stimulsoft.as(Boolean),l=[],u=s?C.functionsToCompile:C.functions;try{for(var c=__values(u.keys),p=c.next();!p.done;p=c.next()){var h=p.value,m=this.getFunctionsEx(null,h,s);try{for(var d=(n=void 0,__values(m)),g=d.next();!g.done;g=d.next()){var f=g.value;l.push(f)}}catch(t){n={error:t}}finally{try{g&&!g.done&&(i=d.return)&&i.call(d)}finally{if(n)throw n.error}}}}catch(t){e={error:t}}finally{try{p&&!p.done&&(r=c.return)&&r.call(c)}finally{if(e)throw e.error}}return l.stimulsoft.toArray()}if("string"==typeof t){var S=t,y=this.getFunctions(!1),l=[];try{for(var A=__values(y),b=A.next(),f;!b.done;b=A.next()){(f=b.value).category==S&&l.push(f)}}catch(t){o={error:t}}finally{try{b&&!b.done&&(a=A.return)&&a.call(A)}finally{if(o)throw o.error}}return l.stimulsoft.toArray()}return null},i.getFunctionsEx=function(t,e,r){if(r){var n=C.functionsToCompile.get(e);if(null==n&&null==(n=C.functionsToCompile.get(e)))return null;return n.stimulsoft.toArray()}var n=C.functions.get(e);if(null==n&&null==(n=C.functions.get(e)))return null;return n.stimulsoft.toArray()},i.getCategories=function(){var e,t,r=new u,n=this.getFunctions(!1),i=new Array;try{for(var o=__values(n),a=o.next();!a.done;a=o.next()){var s=a.value;null==r.get(s.category)&&(i.push(s.category),r.set(s.category,s.category))}}catch(t){e={error:t}}finally{try{a&&!a.done&&(t=o.return)&&t.call(o)}finally{if(e)throw e.error}}return i},i.getAssebliesOfFunctions=function(){var e,t,r=this.getFunctions(!0),n=new u,i;try{for(var o=__values(r),a=o.next();!a.done;a=o.next())var s=a.value}catch(t){e={error:t}}finally{try{a&&!a.done&&(t=o.return)&&t.call(o)}finally{if(e)throw e.error}}return l.create(String,n.count)},i.addFunction=function(t,e,r,n,i,o,a,s,l,u,c){void 0===a&&(a=""),void 0===s&&(s=null),void 0===l&&(l=null),void 0===u&&(u=null),void 0===c&&(c=null),h.isNullOrEmpty(e)&&(e=r);var l=new p.StiFunction(t,e,r,n,i,o,a,s,l,u),u=C.functions.get(e);return null==u&&(u=[],C.functions.set(e,u),C.functionsLower.set(e.toLowerCase(),u)),u.push(l),null==(u=C.functionsToCompile.get(r))&&(u=[],C.functionsToCompile.set(r,u),C.functionsToCompileLower.set(r.toLowerCase(),u)),u.push(l),l.jsFunction=c,l},i.StiFunctions=function(){},r=i,p.StiFunctions=r}(Stimulsoft=Stimulsoft||{}),function(t){var e,r,n,t,i,o,a,s,l,u,c;r=e=t.Report||(t.Report={}),t=n=r.Engine||(r.Engine={}),(r=i=t.StiTokenType||(t.StiTokenType={}))[r["Empty"]=0]="Empty",r[r["Delimiter"]=1]="Delimiter",r[r["Variable"]=2]="Variable",r[r["SystemVariable"]=3]="SystemVariable",r[r["DataSourceField"]=4]="DataSourceField",r[r["BusinessObjectField"]=5]="BusinessObjectField",r[r["Number"]=6]="Number",r[r["Function"]=7]="Function",r[r["Method"]=8]="Method",r[r["Property"]=9]="Property",r[r["Component"]=10]="Component",r[r["Cast"]=11]="Cast",r[r["String"]=12]="String",r[r["Dot"]=13]="Dot",r[r["Comma"]=14]="Comma",r[r["Colon"]=15]="Colon",r[r["SemiColon"]=16]="SemiColon",r[r["Shl"]=17]="Shl",r[r["Shr"]=18]="Shr",r[r["Assign"]=19]="Assign",r[r["Equal"]=20]="Equal",r[r["NotEqual"]=21]="NotEqual",r[r["LeftEqual"]=22]="LeftEqual",r[r["Left"]=23]="Left",r[r["RightEqual"]=24]="RightEqual",r[r["Right"]=25]="Right",r[r["Not"]=26]="Not",r[r["Or"]=27]="Or",r[r["And"]=28]="And",r[r["Xor"]=29]="Xor",r[r["DoubleOr"]=30]="DoubleOr",r[r["DoubleAnd"]=31]="DoubleAnd",r[r["Question"]=32]="Question",r[r["Plus"]=33]="Plus",r[r["Minus"]=34]="Minus",r[r["Mult"]=35]="Mult",r[r["Div"]=36]="Div",r[r["Percent"]=37]="Percent",r[r["LParenthesis"]=38]="LParenthesis",r[r["RParenthesis"]=39]="RParenthesis",r[r["LBracket"]=40]="LBracket",r[r["RBracket"]=41]="RBracket",r[r["Identifier"]=42]="Identifier",r[r["Unknown"]=43]="Unknown",(r=o=t.StiAsmCommandType||(t.StiAsmCommandType={}))[r["PushValue"]=2e3]="PushValue",r[r["PushVariable"]=2001]="PushVariable",r[r["PushSystemVariable"]=2002]="PushSystemVariable",r[r["PushDataSourceField"]=2003]="PushDataSourceField",r[r["PushBusinessObjectField"]=2004]="PushBusinessObjectField",r[r["PushFunction"]=2005]="PushFunction",r[r["PushMethod"]=2006]="PushMethod",r[r["PushProperty"]=2007]="PushProperty",r[r["PushComponent"]=2008]="PushComponent",r[r["PushArrayElement"]=2009]="PushArrayElement",r[r["CopyToVariable"]=2010]="CopyToVariable",r[r["Add"]=2020]="Add",r[r["Sub"]=2021]="Sub",r[r["Mult"]=2022]="Mult",r[r["Div"]=2023]="Div",r[r["Mod"]=2024]="Mod",r[r["Power"]=2025]="Power",r[r["Neg"]=2026]="Neg",r[r["Cast"]=2027]="Cast",r[r["Not"]=2028]="Not",r[r["CompareLeft"]=2029]="CompareLeft",r[r["CompareLeftEqual"]=2030]="CompareLeftEqual",r[r["CompareRight"]=2031]="CompareRight",r[r["CompareRightEqual"]=2032]="CompareRightEqual",r[r["CompareEqual"]=2033]="CompareEqual",r[r["CompareNotEqual"]=2034]="CompareNotEqual",r[r["Shl"]=2035]="Shl",r[r["Shr"]=2036]="Shr",r[r["And"]=2037]="And",r[r["And2"]=2038]="And2",r[r["Or"]=2039]="Or",r[r["Or2"]=2040]="Or2",r[r["Xor"]=2041]="Xor",r[r["Jump"]=2042]="Jump",r[r["JumpTrue"]=2043]="JumpTrue",r[r["JumpFalse"]=2044]="JumpFalse",(r=a=t.StiSystemVariableType||(t.StiSystemVariableType={}))[r["Column"]=0]="Column",r[r["Line"]=1]="Line",r[r["LineThrough"]=2]="LineThrough",r[r["LineABC"]=3]="LineABC",r[r["LineRoman"]=4]="LineRoman",r[r["GroupLine"]=5]="GroupLine",r[r["PageNumber"]=6]="PageNumber",r[r["PageNumberThrough"]=7]="PageNumberThrough",r[r["PageNofM"]=8]="PageNofM",r[r["PageNofMThrough"]=9]="PageNofMThrough",r[r["TotalPageCount"]=10]="TotalPageCount",r[r["TotalPageCountThrough"]=11]="TotalPageCountThrough",r[r["IsFirstPage"]=12]="IsFirstPage",r[r["IsFirstPageThrough"]=13]="IsFirstPageThrough",r[r["IsLastPage"]=14]="IsLastPage",r[r["IsLastPageThrough"]=15]="IsLastPageThrough",r[r["PageCopyNumber"]=16]="PageCopyNumber",r[r["ReportAlias"]=17]="ReportAlias",r[r["ReportAuthor"]=18]="ReportAuthor",r[r["ReportChanged"]=19]="ReportChanged",r[r["ReportCreated"]=20]="ReportCreated",r[r["ReportDescription"]=21]="ReportDescription",r[r["ReportName"]=22]="ReportName",r[r["Time"]=23]="Time",r[r["Today"]=24]="Today",r[r["ConditionValue"]=25]="ConditionValue",r[r["ConditionValue2"]=26]="ConditionValue2",r[r["ConditionTag"]=27]="ConditionTag",r[r["Sender"]=28]="Sender",r[r["DateTimeNow"]=29]="DateTimeNow",r[r["DateTimeToday"]=30]="DateTimeToday",(r=s=t.StiPropertyType||(t.StiPropertyType={}))[r["Year"]=0]="Year",r[r["Month"]=1]="Month",r[r["Day"]=2]="Day",r[r["Hour"]=3]="Hour",r[r["Minute"]=4]="Minute",r[r["Second"]=5]="Second",r[r["Date"]=6]="Date",r[r["Length"]=7]="Length",r[r["From"]=8]="From",r[r["To"]=9]="To",r[r["FromDate"]=10]="FromDate",r[r["ToDate"]=11]="ToDate",r[r["FromTime"]=12]="FromTime",r[r["ToTime"]=13]="ToTime",r[r["SelectedLine"]=14]="SelectedLine",r[r["Name"]=15]="Name",r[r["TagValue"]=16]="TagValue",r[r["Days"]=17]="Days",r[r["Hours"]=18]="Hours",r[r["Milliseconds"]=19]="Milliseconds",r[r["Minutes"]=20]="Minutes",r[r["Seconds"]=21]="Seconds",r[r["Ticks"]=22]="Ticks",r[r["TotalDays"]=23]="TotalDays",r[r["TotalHours"]=24]="TotalHours",r[r["TotalMinutes"]=25]="TotalMinutes",r[r["TotalSeconds"]=26]="TotalSeconds",r[r["TotalMilliseconds"]=27]="TotalMilliseconds",r[r["Count"]=28]="Count",r[r["BusinessObjectValue"]=29]="BusinessObjectValue",r[r["Position"]=30]="Position",r[r["Line"]=31]="Line",(r=l=t.StiFunctionType||(t.StiFunctionType={}))[r["NameSpace"]=0]="NameSpace",r[r["Count"]=1]="Count",r[r["CountDistinct"]=2]="CountDistinct",r[r["Avg"]=3]="Avg",r[r["AvgD"]=4]="AvgD",r[r["AvgDate"]=5]="AvgDate",r[r["AvgI"]=6]="AvgI",r[r["AvgTime"]=7]="AvgTime",r[r["Max"]=8]="Max",r[r["MaxD"]=9]="MaxD",r[r["MaxDate"]=10]="MaxDate",r[r["MaxI"]=11]="MaxI",r[r["MaxStr"]=12]="MaxStr",r[r["MaxTime"]=13]="MaxTime",r[r["Median"]=14]="Median",r[r["MedianD"]=15]="MedianD",r[r["MedianI"]=16]="MedianI",r[r["Min"]=17]="Min",r[r["MinD"]=18]="MinD",r[r["MinDate"]=19]="MinDate",r[r["MinI"]=20]="MinI",r[r["MinStr"]=21]="MinStr",r[r["MinTime"]=22]="MinTime",r[r["Mode"]=23]="Mode",r[r["ModeD"]=24]="ModeD",r[r["ModeI"]=25]="ModeI",r[r["Sum"]=26]="Sum",r[r["SumD"]=27]="SumD",r[r["SumDistinct"]=28]="SumDistinct",r[r["SumI"]=29]="SumI",r[r["SumTime"]=30]="SumTime",r[r["First"]=31]="First",r[r["Last"]=32]="Last",r[r["rCount"]=33]="rCount",r[r["rCountDistinct"]=34]="rCountDistinct",r[r["rAvg"]=35]="rAvg",r[r["rAvgD"]=36]="rAvgD",r[r["rAvgDate"]=37]="rAvgDate",r[r["rAvgI"]=38]="rAvgI",r[r["rAvgTime"]=39]="rAvgTime",r[r["rMax"]=40]="rMax",r[r["rMaxD"]=41]="rMaxD",r[r["rMaxDate"]=42]="rMaxDate",r[r["rMaxI"]=43]="rMaxI",r[r["rMaxStr"]=44]="rMaxStr",r[r["rMaxTime"]=45]="rMaxTime",r[r["rMedian"]=46]="rMedian",r[r["rMedianD"]=47]="rMedianD",r[r["rMedianI"]=48]="rMedianI",r[r["rMin"]=49]="rMin",r[r["rMinD"]=50]="rMinD",r[r["rMinDate"]=51]="rMinDate",r[r["rMinI"]=52]="rMinI",r[r["rMinStr"]=53]="rMinStr",r[r["rMinTime"]=54]="rMinTime",r[r["rMode"]=55]="rMode",r[r["rModeD"]=56]="rModeD",r[r["rModeI"]=57]="rModeI",r[r["rSum"]=58]="rSum",r[r["rSumD"]=59]="rSumD",r[r["rSumDistinct"]=60]="rSumDistinct",r[r["rSumI"]=61]="rSumI",r[r["rSumTime"]=62]="rSumTime",r[r["rFirst"]=63]="rFirst",r[r["rLast"]=64]="rLast",r[r["iCount"]=65]="iCount",r[r["iCountDistinct"]=66]="iCountDistinct",r[r["iAvg"]=67]="iAvg",r[r["iAvgD"]=68]="iAvgD",r[r["iAvgDate"]=69]="iAvgDate",r[r["iAvgI"]=70]="iAvgI",r[r["iAvgTime"]=71]="iAvgTime",r[r["iMax"]=72]="iMax",r[r["iMaxD"]=73]="iMaxD",r[r["iMaxDate"]=74]="iMaxDate",r[r["iMaxI"]=75]="iMaxI",r[r["iMaxStr"]=76]="iMaxStr",r[r["iMaxTime"]=77]="iMaxTime",r[r["iMedian"]=78]="iMedian",r[r["iMedianD"]=79]="iMedianD",r[r["iMedianI"]=80]="iMedianI",r[r["iMin"]=81]="iMin",r[r["iMinD"]=82]="iMinD",r[r["iMinDate"]=83]="iMinDate",r[r["iMinI"]=84]="iMinI",r[r["iMinStr"]=85]="iMinStr",r[r["iMinTime"]=86]="iMinTime",r[r["iMode"]=87]="iMode",r[r["iModeD"]=88]="iModeD",r[r["iModeI"]=89]="iModeI",r[r["iSum"]=90]="iSum",r[r["iSumD"]=91]="iSumD",r[r["iSumDistinct"]=92]="iSumDistinct",r[r["iSumI"]=93]="iSumI",r[r["iSumTime"]=94]="iSumTime",r[r["iFirst"]=95]="iFirst",r[r["iLast"]=96]="iLast",r[r["riCount"]=97]="riCount",r[r["riCountDistinct"]=98]="riCountDistinct",r[r["riAvg"]=99]="riAvg",r[r["riAvgD"]=100]="riAvgD",r[r["riAvgDate"]=101]="riAvgDate",r[r["riAvgI"]=102]="riAvgI",r[r["riAvgTime"]=103]="riAvgTime",r[r["riMax"]=104]="riMax",r[r["riMaxD"]=105]="riMaxD",r[r["riMaxDate"]=106]="riMaxDate",r[r["riMaxI"]=107]="riMaxI",r[r["riMaxStr"]=108]="riMaxStr",r[r["riMaxTime"]=109]="riMaxTime",r[r["riMedian"]=110]="riMedian",r[r["riMedianD"]=111]="riMedianD",r[r["riMedianI"]=112]="riMedianI",r[r["riMin"]=113]="riMin",r[r["riMinD"]=114]="riMinD",r[r["riMinDate"]=115]="riMinDate",r[r["riMinI"]=116]="riMinI",r[r["riMinStr"]=117]="riMinStr",r[r["riMinTime"]=118]="riMinTime",r[r["riMode"]=119]="riMode",r[r["riModeD"]=120]="riModeD",r[r["riModeI"]=121]="riModeI",r[r["riSum"]=122]="riSum",r[r["riSumD"]=123]="riSumD",r[r["riSumDistinct"]=124]="riSumDistinct",r[r["riSumI"]=125]="riSumI",r[r["riSumTime"]=126]="riSumTime",r[r["riFirst"]=127]="riFirst",r[r["riLast"]=128]="riLast",r[r["cCount"]=129]="cCount",r[r["cCountDistinct"]=130]="cCountDistinct",r[r["cAvg"]=131]="cAvg",r[r["cAvgD"]=132]="cAvgD",r[r["cAvgDate"]=133]="cAvgDate",r[r["cAvgI"]=134]="cAvgI",r[r["cAvgTime"]=135]="cAvgTime",r[r["cMax"]=136]="cMax",r[r["cMaxD"]=137]="cMaxD",r[r["cMaxDate"]=138]="cMaxDate",r[r["cMaxI"]=139]="cMaxI",r[r["cMaxStr"]=140]="cMaxStr",r[r["cMaxTime"]=141]="cMaxTime",r[r["cMedian"]=142]="cMedian",r[r["cMedianD"]=143]="cMedianD",r[r["cMedianI"]=144]="cMedianI",r[r["cMin"]=145]="cMin",r[r["cMinD"]=146]="cMinD",r[r["cMinDate"]=147]="cMinDate",r[r["cMinI"]=148]="cMinI",r[r["cMinStr"]=149]="cMinStr",r[r["cMinTime"]=150]="cMinTime",r[r["cMode"]=151]="cMode",r[r["cModeD"]=152]="cModeD",r[r["cModeI"]=153]="cModeI",r[r["cSum"]=154]="cSum",r[r["cSumD"]=155]="cSumD",r[r["cSumDistinct"]=156]="cSumDistinct",r[r["cSumI"]=157]="cSumI",r[r["cSumTime"]=158]="cSumTime",r[r["cFirst"]=159]="cFirst",r[r["cLast"]=160]="cLast",r[r["crCount"]=161]="crCount",r[r["crCountDistinct"]=162]="crCountDistinct",r[r["crAvg"]=163]="crAvg",r[r["crAvgD"]=164]="crAvgD",r[r["crAvgDate"]=165]="crAvgDate",r[r["crAvgI"]=166]="crAvgI",r[r["crAvgTime"]=167]="crAvgTime",r[r["crMax"]=168]="crMax",r[r["crMaxD"]=169]="crMaxD",r[r["crMaxDate"]=170]="crMaxDate",r[r["crMaxI"]=171]="crMaxI",r[r["crMaxStr"]=172]="crMaxStr",r[r["crMaxTime"]=173]="crMaxTime",r[r["crMedian"]=174]="crMedian",r[r["crMedianD"]=175]="crMedianD",r[r["crMedianI"]=176]="crMedianI",r[r["crMin"]=177]="crMin",r[r["crMinD"]=178]="crMinD",r[r["crMinDate"]=179]="crMinDate",r[r["crMinI"]=180]="crMinI",r[r["crMinStr"]=181]="crMinStr",r[r["crMinTime"]=182]="crMinTime",r[r["crMode"]=183]="crMode",r[r["crModeD"]=184]="crModeD",r[r["crModeI"]=185]="crModeI",r[r["crSum"]=186]="crSum",r[r["crSumD"]=187]="crSumD",r[r["crSumDistinct"]=188]="crSumDistinct",r[r["crSumI"]=189]="crSumI",r[r["crSumTime"]=190]="crSumTime",r[r["crFirst"]=191]="crFirst",r[r["crLast"]=192]="crLast",r[r["ciCount"]=193]="ciCount",r[r["ciCountDistinct"]=194]="ciCountDistinct",r[r["ciAvg"]=195]="ciAvg",r[r["ciAvgD"]=196]="ciAvgD",r[r["ciAvgDate"]=197]="ciAvgDate",r[r["ciAvgI"]=198]="ciAvgI",r[r["ciAvgTime"]=199]="ciAvgTime",r[r["ciMax"]=200]="ciMax",r[r["ciMaxD"]=201]="ciMaxD",r[r["ciMaxDate"]=202]="ciMaxDate",r[r["ciMaxI"]=203]="ciMaxI",r[r["ciMaxStr"]=204]="ciMaxStr",r[r["ciMaxTime"]=205]="ciMaxTime",r[r["ciMedian"]=206]="ciMedian",r[r["ciMedianD"]=207]="ciMedianD",r[r["ciMedianI"]=208]="ciMedianI",r[r["ciMin"]=209]="ciMin",r[r["ciMinD"]=210]="ciMinD",r[r["ciMinDate"]=211]="ciMinDate",r[r["ciMinI"]=212]="ciMinI",r[r["ciMinStr"]=213]="ciMinStr",r[r["ciMinTime"]=214]="ciMinTime",r[r["ciMode"]=215]="ciMode",r[r["ciModeD"]=216]="ciModeD",r[r["ciModeI"]=217]="ciModeI",r[r["ciSum"]=218]="ciSum",r[r["ciSumD"]=219]="ciSumD",r[r["ciSumDistinct"]=220]="ciSumDistinct",r[r["ciSumI"]=221]="ciSumI",r[r["ciSumTime"]=222]="ciSumTime",r[r["ciFirst"]=223]="ciFirst",r[r["ciLast"]=224]="ciLast",r[r["criCount"]=225]="criCount",r[r["criCountDistinct"]=226]="criCountDistinct",r[r["criAvg"]=227]="criAvg",r[r["criAvgD"]=228]="criAvgD",r[r["criAvgDate"]=229]="criAvgDate",r[r["criAvgI"]=230]="criAvgI",r[r["criAvgTime"]=231]="criAvgTime",r[r["criMax"]=232]="criMax",r[r["criMaxD"]=233]="criMaxD",r[r["criMaxDate"]=234]="criMaxDate",r[r["criMaxI"]=235]="criMaxI",r[r["criMaxStr"]=236]="criMaxStr",r[r["criMaxTime"]=237]="criMaxTime",r[r["criMedian"]=238]="criMedian",r[r["criMedianD"]=239]="criMedianD",r[r["criMedianI"]=240]="criMedianI",r[r["criMin"]=241]="criMin",r[r["criMinD"]=242]="criMinD",r[r["criMinDate"]=243]="criMinDate",r[r["criMinI"]=244]="criMinI",r[r["criMinStr"]=245]="criMinStr",r[r["criMinTime"]=246]="criMinTime",r[r["criMode"]=247]="criMode",r[r["criModeD"]=248]="criModeD",r[r["criModeI"]=249]="criModeI",r[r["criSum"]=250]="criSum",r[r["criSumD"]=251]="criSumD",r[r["criSumDistinct"]=252]="criSumDistinct",r[r["criSumI"]=253]="criSumI",r[r["criSumTime"]=254]="criSumTime",r[r["criFirst"]=255]="criFirst",r[r["criLast"]=256]="criLast",r[r["pCount"]=257]="pCount",r[r["pCountDistinct"]=258]="pCountDistinct",r[r["pAvg"]=259]="pAvg",r[r["pAvgD"]=260]="pAvgD",r[r["pAvgDate"]=261]="pAvgDate",r[r["pAvgI"]=262]="pAvgI",r[r["pAvgTime"]=263]="pAvgTime",r[r["pMax"]=264]="pMax",r[r["pMaxD"]=265]="pMaxD",r[r["pMaxDate"]=266]="pMaxDate",r[r["pMaxI"]=267]="pMaxI",r[r["pMaxStr"]=268]="pMaxStr",r[r["pMaxTime"]=269]="pMaxTime",r[r["pMedian"]=270]="pMedian",r[r["pMedianD"]=271]="pMedianD",r[r["pMedianI"]=272]="pMedianI",r[r["pMin"]=273]="pMin",r[r["pMinD"]=274]="pMinD",r[r["pMinDate"]=275]="pMinDate",r[r["pMinI"]=276]="pMinI",r[r["pMinStr"]=277]="pMinStr",r[r["pMinTime"]=278]="pMinTime",r[r["pMode"]=279]="pMode",r[r["pModeD"]=280]="pModeD",r[r["pModeI"]=281]="pModeI",r[r["pSum"]=282]="pSum",r[r["pSumD"]=283]="pSumD",r[r["pSumDistinct"]=284]="pSumDistinct",r[r["pSumI"]=285]="pSumI",r[r["pSumTime"]=286]="pSumTime",r[r["pFirst"]=287]="pFirst",r[r["pLast"]=288]="pLast",r[r["prCount"]=289]="prCount",r[r["prCountDistinct"]=290]="prCountDistinct",r[r["prAvg"]=291]="prAvg",r[r["prAvgD"]=292]="prAvgD",r[r["prAvgDate"]=293]="prAvgDate",r[r["prAvgI"]=294]="prAvgI",r[r["prAvgTime"]=295]="prAvgTime",r[r["prMax"]=296]="prMax",r[r["prMaxD"]=297]="prMaxD",r[r["prMaxDate"]=298]="prMaxDate",r[r["prMaxI"]=299]="prMaxI",r[r["prMaxStr"]=300]="prMaxStr",r[r["prMaxTime"]=301]="prMaxTime",r[r["prMedian"]=302]="prMedian",r[r["prMedianD"]=303]="prMedianD",r[r["prMedianI"]=304]="prMedianI",r[r["prMin"]=305]="prMin",r[r["prMinD"]=306]="prMinD",r[r["prMinDate"]=307]="prMinDate",r[r["prMinI"]=308]="prMinI",r[r["prMinStr"]=309]="prMinStr",r[r["prMinTime"]=310]="prMinTime",r[r["prMode"]=311]="prMode",r[r["prModeD"]=312]="prModeD",r[r["prModeI"]=313]="prModeI",r[r["prSum"]=314]="prSum",r[r["prSumD"]=315]="prSumD",r[r["prSumDistinct"]=316]="prSumDistinct",r[r["prSumI"]=317]="prSumI",r[r["prSumTime"]=318]="prSumTime",r[r["prFirst"]=319]="prFirst",r[r["prLast"]=320]="prLast",r[r["piCount"]=321]="piCount",r[r["piCountDistinct"]=322]="piCountDistinct",r[r["piAvg"]=323]="piAvg",r[r["piAvgD"]=324]="piAvgD",r[r["piAvgDate"]=325]="piAvgDate",r[r["piAvgI"]=326]="piAvgI",r[r["piAvgTime"]=327]="piAvgTime",r[r["piMax"]=328]="piMax",r[r["piMaxD"]=329]="piMaxD",r[r["piMaxDate"]=330]="piMaxDate",r[r["piMaxI"]=331]="piMaxI",r[r["piMaxStr"]=332]="piMaxStr",r[r["piMaxTime"]=333]="piMaxTime",r[r["piMedian"]=334]="piMedian",r[r["piMedianD"]=335]="piMedianD",r[r["piMedianI"]=336]="piMedianI",r[r["piMin"]=337]="piMin",r[r["piMinD"]=338]="piMinD",r[r["piMinDate"]=339]="piMinDate",r[r["piMinI"]=340]="piMinI",r[r["piMinStr"]=341]="piMinStr",r[r["piMinTime"]=342]="piMinTime",r[r["piMode"]=343]="piMode",r[r["piModeD"]=344]="piModeD",r[r["piModeI"]=345]="piModeI",r[r["piSum"]=346]="piSum",r[r["piSumD"]=347]="piSumD",r[r["piSumDistinct"]=348]="piSumDistinct",r[r["piSumI"]=349]="piSumI",r[r["piSumTime"]=350]="piSumTime",r[r["piFirst"]=351]="piFirst",r[r["piLast"]=352]="piLast",r[r["priCount"]=353]="priCount",r[r["priCountDistinct"]=354]="priCountDistinct",r[r["priAvg"]=355]="priAvg",r[r["priAvgD"]=356]="priAvgD",r[r["priAvgDate"]=357]="priAvgDate",r[r["priAvgI"]=358]="priAvgI",r[r["priAvgTime"]=359]="priAvgTime",r[r["priMax"]=360]="priMax",r[r["priMaxD"]=361]="priMaxD",r[r["priMaxDate"]=362]="priMaxDate",r[r["priMaxI"]=363]="priMaxI",r[r["priMaxStr"]=364]="priMaxStr",r[r["priMaxTime"]=365]="priMaxTime",r[r["priMedian"]=366]="priMedian",r[r["priMedianD"]=367]="priMedianD",r[r["priMedianI"]=368]="priMedianI",r[r["priMin"]=369]="priMin",r[r["priMinD"]=370]="priMinD",r[r["priMinDate"]=371]="priMinDate",r[r["priMinI"]=372]="priMinI",r[r["priMinStr"]=373]="priMinStr",r[r["priMinTime"]=374]="priMinTime",r[r["priMode"]=375]="priMode",r[r["priModeD"]=376]="priModeD",r[r["priModeI"]=377]="priModeI",r[r["priSum"]=378]="priSum",r[r["priSumD"]=379]="priSumD",r[r["priSumDistinct"]=380]="priSumDistinct",r[r["priSumI"]=381]="priSumI",r[r["priSumTime"]=382]="priSumTime",r[r["priFirst"]=383]="priFirst",r[r["priLast"]=384]="priLast",r[r["CountAllLevels"]=385]="CountAllLevels",r[r["CountAllLevelsOnlyChilds"]=386]="CountAllLevelsOnlyChilds",r[r["CountOnlyChilds"]=387]="CountOnlyChilds",r[r["Rank"]=388]="Rank",r[r["Abs"]=389]="Abs",r[r["Acos"]=390]="Acos",r[r["Asin"]=391]="Asin",r[r["Atan"]=392]="Atan",r[r["Ceiling"]=393]="Ceiling",r[r["Cos"]=394]="Cos",r[r["Div"]=395]="Div",r[r["Exp"]=396]="Exp",r[r["Floor"]=397]="Floor",r[r["Log"]=398]="Log",r[r["Maximum"]=399]="Maximum",r[r["Minimum"]=400]="Minimum",r[r["Round"]=401]="Round",r[r["Sign"]=402]="Sign",r[r["Sin"]=403]="Sin",r[r["Sqrt"]=404]="Sqrt",r[r["Tan"]=405]="Tan",r[r["Truncate"]=406]="Truncate",r[r["DateDiff"]=407]="DateDiff",r[r["DateSerial"]=408]="DateSerial",r[r["Day"]=409]="Day",r[r["DayOfWeek"]=410]="DayOfWeek",r[r["DayOfYear"]=411]="DayOfYear",r[r["DaysInMonth"]=412]="DaysInMonth",r[r["DaysInYear"]=413]="DaysInYear",r[r["Hour"]=414]="Hour",r[r["Minute"]=415]="Minute",r[r["Month"]=416]="Month",r[r["Second"]=417]="Second",r[r["TimeSerial"]=418]="TimeSerial",r[r["Year"]=419]="Year",r[r["MonthName"]=420]="MonthName",r[r["WeekOfYear"]=421]="WeekOfYear",r[r["WeekOfMonth"]=422]="WeekOfMonth",r[r["DateToStr"]=423]="DateToStr",r[r["DateToStrPl"]=424]="DateToStrPl",r[r["DateToStrRu"]=425]="DateToStrRu",r[r["DateToStrUa"]=426]="DateToStrUa",r[r["DateToStrPt"]=427]="DateToStrPt",r[r["DateToStrPtBr"]=428]="DateToStrPtBr",r[r["Insert"]=429]="Insert",r[r["Length"]=430]="Length",r[r["Remove"]=431]="Remove",r[r["Replace"]=432]="Replace",r[r["Roman"]=433]="Roman",r[r["Substring"]=434]="Substring",r[r["ToCurrencyWords"]=435]="ToCurrencyWords",r[r["ToCurrencyWordsAr"]=436]="ToCurrencyWordsAr",r[r["ToCurrencyWordsEnGb"]=437]="ToCurrencyWordsEnGb",r[r["ToCurrencyWordsEnIn"]=438]="ToCurrencyWordsEnIn",r[r["ToCurrencyWordsEs"]=439]="ToCurrencyWordsEs",r[r["ToCurrencyWordsFr"]=440]="ToCurrencyWordsFr",r[r["ToCurrencyWordsNl"]=441]="ToCurrencyWordsNl",r[r["ToCurrencyWordsPl"]=442]="ToCurrencyWordsPl",r[r["ToCurrencyWordsPt"]=443]="ToCurrencyWordsPt",r[r["ToCurrencyWordsPtBr"]=444]="ToCurrencyWordsPtBr",r[r["ToCurrencyWordsRu"]=445]="ToCurrencyWordsRu",r[r["ToCurrencyWordsThai"]=446]="ToCurrencyWordsThai",r[r["ToCurrencyWordsTr"]=447]="ToCurrencyWordsTr",r[r["ToCurrencyWordsUa"]=448]="ToCurrencyWordsUa",r[r["ToCurrencyWordsZh"]=449]="ToCurrencyWordsZh",r[r["ToLowerCase"]=450]="ToLowerCase",r[r["ToProperCase"]=451]="ToProperCase",r[r["ToUpperCase"]=452]="ToUpperCase",r[r["ToWords"]=453]="ToWords",r[r["ToWordsAr"]=454]="ToWordsAr",r[r["ToWordsEs"]=455]="ToWordsEs",r[r["ToWordsEnIn"]=456]="ToWordsEnIn",r[r["ToWordsFa"]=457]="ToWordsFa",r[r["ToWordsPl"]=458]="ToWordsPl",r[r["ToWordsPt"]=459]="ToWordsPt",r[r["ToWordsRu"]=460]="ToWordsRu",r[r["ToWordsTr"]=461]="ToWordsTr",r[r["ToWordsUa"]=462]="ToWordsUa",r[r["Trim"]=463]="Trim",r[r["TryParseDecimal"]=464]="TryParseDecimal",r[r["TryParseDouble"]=465]="TryParseDouble",r[r["TryParseLong"]=466]="TryParseLong",r[r["Arabic"]=467]="Arabic",r[r["Persian"]=468]="Persian",r[r["ToOrdinal"]=469]="ToOrdinal",r[r["Left"]=470]="Left",r[r["Mid"]=471]="Mid",r[r["Right"]=472]="Right",r[r["StrToNullableDateTime"]=473]="StrToNullableDateTime",r[r["IsNull"]=474]="IsNull",r[r["Next"]=475]="Next",r[r["NextIsNull"]=476]="NextIsNull",r[r["Previous"]=477]="Previous",r[r["PreviousIsNull"]=478]="PreviousIsNull",r[r["IIF"]=479]="IIF",r[r["Choose"]=480]="Choose",r[r["Switch"]=481]="Switch",r[r["ToString"]=482]="ToString",r[r["Format"]=483]="Format",r[r["SystemConvertToBoolean"]=484]="SystemConvertToBoolean",r[r["SystemConvertToByte"]=485]="SystemConvertToByte",r[r["SystemConvertToChar"]=486]="SystemConvertToChar",r[r["SystemConvertToDateTime"]=487]="SystemConvertToDateTime",r[r["SystemConvertToDecimal"]=488]="SystemConvertToDecimal",r[r["SystemConvertToDouble"]=489]="SystemConvertToDouble",r[r["SystemConvertToInt16"]=490]="SystemConvertToInt16",r[r["SystemConvertToInt32"]=491]="SystemConvertToInt32",r[r["SystemConvertToInt64"]=492]="SystemConvertToInt64",r[r["SystemConvertToSByte"]=493]="SystemConvertToSByte",r[r["SystemConvertToSingle"]=494]="SystemConvertToSingle",r[r["SystemConvertToString"]=495]="SystemConvertToString",r[r["SystemConvertToUInt16"]=496]="SystemConvertToUInt16",r[r["SystemConvertToUInt32"]=497]="SystemConvertToUInt32",r[r["SystemConvertToUInt64"]=498]="SystemConvertToUInt64",r[r["MathRound"]=499]="MathRound",r[r["MathPow"]=500]="MathPow",r[r["AddAnchor"]=501]="AddAnchor",r[r["GetAnchorPageNumber"]=502]="GetAnchorPageNumber",r[r["GetAnchorPageNumberThrough"]=503]="GetAnchorPageNumberThrough",r[r["ConvertRtf"]=504]="ConvertRtf",r[r["ParseInt"]=505]="ParseInt",r[r["ParseDouble"]=506]="ParseDouble",r[r["ParseDecimal"]=507]="ParseDecimal",r[r["ParseDateTime"]=508]="ParseDateTime",r[r["ParseTimeSpan"]=509]="ParseTimeSpan",r[r["StringIsNullOrEmpty"]=510]="StringIsNullOrEmpty",r[r["StringIsNullOrWhiteSpace"]=511]="StringIsNullOrWhiteSpace",r[r["EngineHelperJoinColumnContent"]=512]="EngineHelperJoinColumnContent",r[r["EngineHelperToQueryString"]=513]="EngineHelperToQueryString",r[r["m_Substring"]=1e3]="m_Substring",r[r["m_ToString"]=1001]="m_ToString",r[r["m_ToLower"]=1002]="m_ToLower",r[r["m_ToUpper"]=1003]="m_ToUpper",r[r["m_IndexOf"]=1004]="m_IndexOf",r[r["m_StartsWith"]=1005]="m_StartsWith",r[r["m_EndsWith"]=1006]="m_EndsWith",r[r["m_Replace"]=1007]="m_Replace",r[r["m_Parse"]=1008]="m_Parse",r[r["m_Contains"]=1009]="m_Contains",r[r["m_GetData"]=1010]="m_GetData",r[r["m_ToQueryString"]=1011]="m_ToQueryString",r[r["m_AddYears"]=1012]="m_AddYears",r[r["m_AddMonths"]=1013]="m_AddMonths",r[r["m_AddDays"]=1014]="m_AddDays",r[r["m_AddHours"]=1015]="m_AddHours",r[r["m_AddMinutes"]=1016]="m_AddMinutes",r[r["m_AddSeconds"]=1017]="m_AddSeconds",r[r["m_AddMilliseconds"]=1018]="m_AddMilliseconds",r[r["m_ToShortDateString"]=1019]="m_ToShortDateString",r[r["m_ToShortTimeString"]=1020]="m_ToShortTimeString",r[r["m_ToLongDateString"]=1021]="m_ToLongDateString",r[r["m_ToLongTimeString"]=1022]="m_ToLongTimeString",r[r["m_GetCurrentConditionValue"]=1023]="m_GetCurrentConditionValue",r[r["m_Add"]=1024]="m_Add",r[r["m_Subtract"]=1025]="m_Subtract",r[r["m_MethodNameSpace"]=1026]="m_MethodNameSpace",r[r["op_Add"]=2020]="op_Add",r[r["op_Sub"]=2021]="op_Sub",r[r["op_Mult"]=2022]="op_Mult",r[r["op_Div"]=2023]="op_Div",r[r["op_Mod"]=2024]="op_Mod",r[r["op_Power"]=2025]="op_Power",r[r["op_Neg"]=2026]="op_Neg",r[r["op_Cast"]=2027]="op_Cast",r[r["op_Not"]=2028]="op_Not",r[r["op_CompareLeft"]=2029]="op_CompareLeft",r[r["op_CompareLeftEqual"]=2030]="op_CompareLeftEqual",r[r["op_CompareRight"]=2031]="op_CompareRight",r[r["op_CompareRightEqual"]=2032]="op_CompareRightEqual",r[r["op_CompareEqual"]=2033]="op_CompareEqual",r[r["op_CompareNotEqual"]=2034]="op_CompareNotEqual",r[r["op_Shl"]=2035]="op_Shl",r[r["op_Shr"]=2036]="op_Shr",r[r["op_And"]=2037]="op_And",r[r["op_And2"]=2038]="op_And2",r[r["op_Or"]=2039]="op_Or",r[r["op_Or2"]=2040]="op_Or2",r[r["op_Xor"]=2041]="op_Xor",r[r["UserFunction"]=3e3]="UserFunction",(r=u=t.StiMethodType||(t.StiMethodType={}))[r["Substring"]=1e3]="Substring",r[r["ToString"]=1001]="ToString",r[r["ToLower"]=1002]="ToLower",r[r["ToUpper"]=1003]="ToUpper",r[r["IndexOf"]=1004]="IndexOf",r[r["StartsWith"]=1005]="StartsWith",r[r["EndsWith"]=1006]="EndsWith",r[r["Replace"]=1007]="Replace",r[r["Parse"]=1008]="Parse",r[r["Contains"]=1009]="Contains",r[r["GetData"]=1010]="GetData",r[r["ToQueryString"]=1011]="ToQueryString",r[r["AddYears"]=1012]="AddYears",r[r["AddMonths"]=1013]="AddMonths",r[r["AddDays"]=1014]="AddDays",r[r["AddHours"]=1015]="AddHours",r[r["AddMinutes"]=1016]="AddMinutes",r[r["AddSeconds"]=1017]="AddSeconds",r[r["AddMilliseconds"]=1018]="AddMilliseconds",r[r["ToShortDateString"]=1019]="ToShortDateString",r[r["ToShortTimeString"]=1020]="ToShortTimeString",r[r["ToLongDateString"]=1021]="ToLongDateString",r[r["ToLongTimeString"]=1022]="ToLongTimeString",r[r["GetCurrentConditionValue"]=1023]="GetCurrentConditionValue",r[r["Add"]=1024]="Add",r[r["Subtract"]=1025]="Subtract",r[r["MethodNameSpace"]=1026]="MethodNameSpace",(t=c=t.StiParameterNumber||(t.StiParameterNumber={}))[t["Param1"]=1]="Param1",t[t["Param2"]=2]="Param2",t[t["Param3"]=4]="Param3",t[t["Param4"]=8]="Param4"}(Stimulsoft=Stimulsoft||{}),function(B){var t,I,e,T,n,i,E,R,D,o,r,a;function P(){return null!==a&&a.apply(this,arguments)||this}I=t=B.Report||(B.Report={}),T=e=I.Engine||(I.Engine={}),n=B.Report.Components.StiBand,i=B.Report.Components.StiGroupHeaderBand,E=B.Report.Components.IStiComponentsOwnerRenderer,R=B.Report.Components.StiContainerHelper,D=B.Report.Components.StiContainer,o=B.Report.Components.StiPanel,a=T.StiComponentBuilder,__extends(P,a),P.getRenderContainer=function(t,e){void 0===e&&(e=null);var r=null;null!=e?(r=B.System.Activator.createInstance(e)).clientRectangle=t.clientRectangle.clone():t.is(o)?(r=new o(t.clientRectangle.clone())).columns=t.columns:r=new D(t.clientRectangle.clone()),r.minSize=t.minSize,r.maxSize=t.maxSize,r.dockStyle=t.dockStyle,r.name=t.name,r.parentComponentIsBand=t.is(n),r.parentComponentIsCrossBand=t.is(B.Report.Components.StiCrossDataBand),r.canBreak=t.canBreak,r.canGrow=t.canGrow,r.canShrink=t.canShrink,r.growToHeight=t.growToHeight,r.shiftMode=t.shiftMode,r.printable=t.printable,r.printOn=t.printOn,r.componentStyle=t.componentStyle,r.currentBookmark=t.currentBookmark,r.parentBookmark=t.parentBookmark,r.guid=t.guid,r.interaction=t.interaction,r.drillDownParameters=t.drillDownParameters,t.is(i)&&(r.collapsingIndex=t.collapsingIndex,r.collapsedValue=t.collapsedValue),t.is(B.Report.Components.StiDataBand)&&(r.collapsingIndex=t.collapsingIndex,r.collapsedValue=t.collapsedValue,r.collapsingTreePath=t.collapsingTreePath);var e=t.as(n);null!=e&&(e.bandInfo.forceCanBreak&&(r.canBreak=!0),e.bandInfo.forceCanGrow&&(r.canGrow=!0));var e=t.as(D);return null!=e&&(r.brush=e.brush.clone(),r.border=e.border.clone()),StiOptions.Export.optimizeDataOnlyMode&&(r.componentPlacement=t.componentPlacement),r},P.prototype.internalRenderAsync=function(w){return __awaiter(this,void 0,void 0,function(){var e,r,n,i,o,a,s,l,u,c,p,h,m,d,g,a,f,S,y,e,m,A,b,C,f,v;return __generator(this,function(t){switch(t.label){case 0:if(r=!1,n=P.getRenderContainer(e=w),e.report.calculationMode==I.StiCalculationMode.Interpretation&&(n.bookmark=e.bookmark,n.hyperlink=e.hyperlink,n.tag=e.tag),e.is2(E))return[3,8];t.label=1;case 1:t.trys.push([1,6,7,8]),i=__values(e.components.list),o=i.next(),t.label=2;case 2:if(o.done)return[3,5];if(null==(a=o.value).parentBookmark&&(a.parentBookmark=e.currentBookmark),a.componentType!=B.Report.Components.StiComponentType.Simple)return[3,4];return a.parentBookmark=e.currentBookmark,[4,a.renderAsync()];case 3:if(s=t.sent(),null!=s&&(l=s.as(D),null!=l&&-1!=l.containerInfo.setSegmentPerWidth&&(n.containerInfo.setSegmentPerWidth=l.containerInfo.setSegmentPerWidth),n.components.add(s),StiOptions.Engine.allowInteractionInChartWithComponents&&null!=(u=s.as(B.Report.Chart.IStiChart))&&null!=u.chartInfo.interactiveComps))try{for(b=void 0,c=__values(u.chartInfo.interactiveComps),p=c.next();!p.done;p=c.next())(h=p.value).left+=s.left,h.top+=s.top,n.components.add(h)}catch(t){b={error:t}}finally{try{p&&!p.done&&(C=c.return)&&C.call(c)}finally{if(b)throw b.error}}t.label=4;case 4:return o=i.next(),[3,2];case 5:return[3,8];case 6:return m=t.sent(),m={error:m},[3,8];case 7:try{o&&!o.done&&(A=i.return)&&A.call(i)}finally{if(m)throw m.error}return[7];case 8:if(e.report.engine.denyRenderMasterComponentsInContainer)return[3,16];if(e.is2(E))return[3,16];t.label=9;case 9:t.trys.push([9,14,15,16]),d=__values(e.components.list),g=d.next(),t.label=10;case 10:if(g.done)return[3,13];if((a=g.value).parentBookmark=e.currentBookmark,a.componentType!=B.Report.Components.StiComponentType.Master)return[3,12];return[4,a.renderAsync()];case 11:t.sent(),a.is(B.Report.Components.StiDataBand)&&(r=!0),t.label=12;case 12:return g=d.next(),[3,10];case 13:return[3,16];case 14:return f=t.sent(),f={error:f},[3,16];case 15:try{g&&!g.done&&(v=d.return)&&v.call(d)}finally{if(f)throw f.error}return[7];case 16:if(!r)return[3,18];S=!1,y=e;while(1){if(y.is(B.Report.Components.StiPageHeaderBand)||y.is(B.Report.Components.StiPageFooterBand)||y.is(B.Report.Components.StiReportTitleBand)||y.is(B.Report.Components.StiReportSummaryBand)){S=!0;break}if(null==y||y.is(B.Report.Components.StiPage))break;y=y.parent}return[4,T.StiSubReportsHelper.renderDataBandsInContainerAsync(n,e,S)];case 17:t.sent(),t.label=18;case 18:return e=n.width,R.checkSize(n),n.parentComponentIsCrossBand||(n.width=e),[2,n]}})})},P.prototype.internalRender=function(t){var e,r,n,i,o,a,s=t,l=!1,u=P.getRenderContainer(s);if(s.report.calculationMode==I.StiCalculationMode.Interpretation&&(u.bookmark=s.bookmark,u.hyperlink=s.hyperlink,u.tag=s.tag),!s.is2(E))try{for(var c=__values(s.components.list),p=c.next(),h;!p.done;p=c.next()){if(null==(h=p.value).parentBookmark&&(h.parentBookmark=s.currentBookmark),h.componentType==B.Report.Components.StiComponentType.Simple){h.parentBookmark=s.currentBookmark;var m=h.render();if(null!=m){var d=m.as(D);if(null!=d&&-1!=d.containerInfo.setSegmentPerWidth&&(u.containerInfo.setSegmentPerWidth=d.containerInfo.setSegmentPerWidth),u.components.add(m),StiOptions.Engine.allowInteractionInChartWithComponents){var g=m.as(B.Report.Chart.IStiChart);if(null!=g&&null!=g.chartInfo.interactiveComps)try{for(var f=(n=void 0,__values(g.chartInfo.interactiveComps)),S=f.next();!S.done;S=f.next()){var y=S.value;y.left+=m.left,y.top+=m.top,u.components.add(y)}}catch(t){n={error:t}}finally{try{S&&!S.done&&(i=f.return)&&i.call(f)}finally{if(n)throw n.error}}}}}}}catch(t){e={error:t}}finally{try{p&&!p.done&&(r=c.return)&&r.call(c)}finally{if(e)throw e.error}}if(!s.report.engine.denyRenderMasterComponentsInContainer&&!s.is2(E))try{for(var A=__values(s.components.list),b=A.next(),h;!b.done;b=A.next()){(h=b.value).parentBookmark=s.currentBookmark,h.componentType==B.Report.Components.StiComponentType.Master&&(h.render(),h.is(B.Report.Components.StiDataBand)&&(l=!0))}}catch(t){o={error:t}}finally{try{b&&!b.done&&(a=A.return)&&a.call(A)}finally{if(o)throw o.error}}if(l){var C=!1,v=s;while(1){if(v.is(B.Report.Components.StiPageHeaderBand)||v.is(B.Report.Components.StiPageFooterBand)||v.is(B.Report.Components.StiReportTitleBand)||v.is(B.Report.Components.StiReportSummaryBand)){C=!0;break}if(null==v||v.is(B.Report.Components.StiPage))break;v=v.parent}T.StiSubReportsHelper.renderDataBandsInContainer(u,s,C)}var t=u.width;return R.checkSize(u),u.parentComponentIsCrossBand||(u.width=t),u},r=P,T.StiContainerBuilder=r}(Stimulsoft=Stimulsoft||{}),function(t){var e,r,n,i,u,o,c,s,p;function a(){return null!==p&&p.apply(this,arguments)||this}r=e=t.Report||(t.Report={}),i=n=r.Engine||(r.Engine={}),u=t.Report.CrossTab.StiCrossTab,o=t.Report.Components.StiChildBand,c=t.Report.Components.StiSubReport,s=t.Report.Components.StiComponentsCollection,p=i.StiContainerBuilder,__extends(a,p),a.getChildBands=function(t){var e=new s,r=t.parent.components.indexOf(t)+1;while(r<t.parent.components.count){if(!t.parent.components.getByIndex(r).is(o))break;e.add(t.parent.components.getByIndex(r)),r++}return e},a.getSubReports=function(t){var e,r,n=new s;try{for(var i=__values(t.components.list),o=i.next();!o.done;o=i.next()){var a=o.value;a.is(c)&&n.add(a)}}catch(t){e={error:t}}finally{try{o&&!o.done&&(r=i.return)&&r.call(i)}finally{if(e)throw e.error}}return n},a.prototype.prepare=function(t){var e,r;p.prototype.prepare.call(this,t);var n=t,i=n.getComponents();try{for(var o=__values(i.list),a=o.next();!a.done;a=o.next()){var s=a.value,l=s.as(c);if(null!=l){l.keepSubReportTogether||(n.bandInfo.forceCanBreak=!0),n.bandInfo.forceCanGrow=!0;break}var s=s.as(u);if(null!=s){s.keepCrossTabTogether||(n.bandInfo.forceCanBreak=!0),n.bandInfo.forceCanGrow=!0;break}}}catch(t){e={error:t}}finally{try{a&&!a.done&&(r=o.return)&&r.call(o)}finally{if(e)throw e.error}}},r=a,i.StiBandBuilder=r}(Stimulsoft=Stimulsoft||{}),function(t){var e,r,n,i,o,a,s;function l(){return null!==s&&s.apply(this,arguments)||this}r=e=t.Report||(t.Report={}),i=n=r.Engine||(r.Engine={}),o=t.Report.Components.StiDataBand,a=t.Report.Events.StiValueEventArgs,s=i.StiBandBuilder,__extends(l,s),l.getMaster=function(t){var e=t.parent.components.indexOf(t)+1;while(e<t.parent.components.count){if(t.parent.components.getByIndex(e).is(o))return t.parent.components.getByIndex(e);e++}return null},l.getCurrentConditionValue=function(t){var e=new a(null);return t.invokeGetValue(e),e.value},l.getCurrentSummaryExpressionValue=function(t){var e=new a(null);return t.invokeGetSummaryExpression(e),e.value},l.prototype.setReportVariables=function(t){var e;t.report.groupLine=t.line},l.prototype.prepare=function(t){var t=t;s.prototype.prepare.call(this,t),t.line=1},r=l,i.StiGroupHeaderBandBuilder=r}(Stimulsoft=Stimulsoft||{}),function(yt){var t,At,e;At=t=yt.Report||(yt.Report={}),function(lt){var d=yt.System.Char,ut=yt.System.StiArray,A=yt.Base.StiConvert,ct=yt.System.StiString,o=yt.Data.Engine.StiDataPicker,S=yt.System.Data.DBNull,pt=yt.System.Data.DataRow,y=yt.System.Data.DataTable,b=yt.System.Data.DataColumn,t=yt.System.ICloneable,C=yt.System.Collections.List,e=yt.System.Collections.IEnumerator,r=yt.Base.JsonReportObject.IStiJsonReportObject,ht=yt.System.Collections.Hashtable,mt=yt.System.Convert,dt=yt.Report.Components.StiHierarchicalBand,v=yt.Report.Engine.StiGroupHeaderBandBuilder,gt=yt.Report.Components.StiGroupSummaryType,ft=yt.System.TimeSpan,St=yt.System.DateTime,n=yt.Base.StiJson,a=yt.System.StiPromise,i=yt.Base.IStiAppDataSource,s=yt.Base.StiKeyHelper,l,l;(l=l=l||{})[l["NameInSource"]=100]="NameInSource",l[l["Name"]=200]="Name",l[l["Alias"]=300]="Alias",l[l["AllowExpressions"]=400]="AllowExpressions",l[l["Columns"]=500]="Columns",l[l["CommandTimeout"]=600]="CommandTimeout",l[l["ConnectOnStart"]=700]="ConnectOnStart",l[l["Parameters"]=800]="Parameters",l[l["ReconnectOnEachRow"]=900]="ReconnectOnEachRow",l[l["SqlCommand"]=1e3]="SqlCommand",l[l["Type"]=1100]="Type";var l=(u.prototype.implements=function(){return[t,i,At.IStiStateSaveRestore,lt.IStiEnumerator,e,At.IStiName,At.IStiInherited,r]},u.prototype.is=function(t){if(t instanceof yt.System.Interface)return-1!=this.implements().indexOf(t);if("function"==typeof t)return this instanceof t;if(null==t)throw new Error("Type for comparison is 'undefined'");return!1},u.prototype.is2=function(t){return this.is(t)},u.prototype.as=function(t){if(this.is(t))return this;return null},u.prototype.saveToJsonObject=function(t){var e=new n;return e.addPropertyIdent("Ident",this.stimulsoft.getType().stimulsoft.getTypeName()),e.addPropertyBool("Inherited",this.inherited),e.addPropertyStringNullOrEmpty("Name",this.name),e.addPropertyBool("IsCloud",this.isCloud,!1),e.addPropertyStringNullOrEmpty("Alias",this.alias),e.addPropertyStringNullOrEmpty("Key",this.key),e.addPropertyJObject("Columns",this.columns.saveToJsonObject(t)),e},u.prototype.loadFromJsonObject=function(t){var e,r;try{for(var n=__values(t.properties()),i=n.next();!i.done;i=n.next()){var o=i.value;switch(o.name){case"Inherited":this.inherited=o.value.stimulsoft.toBoolean();break;case"Name":this._name=o.value;break;case"IsCloud":this._isCloud=o.value.stimulsoft.toBoolean();break;case"Alias":this._alias=o.value;break;case"Key":this._key=o.value;break;case"Columns":this._columns.loadFromJsonObject(o.value);break}}}catch(t){e={error:t}}finally{try{i&&!i.done&&(r=n.return)&&r.call(n)}finally{if(e)throw e.error}}},u.prototype.loadFromXml=function(t){for(var e=0;e<t.childNodes.length;e++){var r=t.childNodes[e];switch(r.nodeName){case"Inherited":this._inherited=r.textContent.stimulsoft.toBoolean();break;case"Name":this._name=r.textContent;break;case"IsCloud":this._isCloud=r.textContent.stimulsoft.toBoolean();break;case"Alias":this._alias=r.textContent;break;case"Key":this._key=r.textContent;break;case"Columns":this._columns.loadFromXml(r);break}}},u.prototype.getNameInSource=function(){var t=this.stimulsoft.as(lt.StiDataStoreSource);return null==t||ct.isNullOrEmpty(t.nameInSource)?"":t.nameInSource},u.prototype.getName=function(){return this.name},u.prototype.getDataTable2=function(p){return __awaiter(this,void 0,void 0,function(){var e,r,n,i,o,a,s,l,u,c;return __generator(this,function(t){switch(t.label){case 0:if(!p)return[2,this.dataTable];e=this.stimulsoft.as(lt.StiSqlSource),r=this.stimulsoft.as(lt.StiVirtualSource),n="",t.label=1;case 1:if(t.trys.push([1,8,,9]),null==e)return[3,3];n=e.sqlCommand,(i=new yt.Report.Components.StiText).name="**DataSourceParameter**",i.page=this.dictionary.report.pages.getByIndex(0);try{for(o=__values(this.parameters.list),a=o.next();!a.done;a=o.next())(s=a.value).parameterValue=yt.Report.Engine.StiParser.StiParser.parseTextValue("{"+s.value+"}",i)}catch(t){u={error:t}}finally{try{a&&!a.done&&(c=o.return)&&c.call(o)}finally{if(u)throw u.error}}return e.sqlCommand=mt.toString(yt.Report.Engine.StiParser.StiParser.parseTextValue(e.sqlCommand,i)),yt.Report.Dictionary.StiDataSourceParserHelper.connectSqlSource(e),[4,lt.StiDataLeader.connectAsync2(this,null)];case 2:return t.sent(),[3,7];case 3:if(null==r)return[3,5];return[4,r.connectToDataAsync2(!0)];case 4:return t.sent(),[3,7];case 5:return[4,lt.StiDataLeader.connectAsync2(this,null)];case 6:t.sent(),t.label=7;case 7:return[3,9];case 8:return l=t.sent(),this.dataTable=null,[3,9];case 9:return null!=e&&(e.sqlCommand=n),[2,this.dataTable]}})})},u.prototype.getDictionary=function(){return this.dictionary},u.prototype.fetchColumns=function(){return this.columns.toList().cast()},u.prototype.getConnection=function(){return lt.StiDataSourceHelper.getDatabaseFromDataSource(this)},u.prototype.fetchParentRelations=function(t){return this.parentRelationList(t)},u.prototype.fetchChildRelations=function(t){return this.childRelationList(t)},u.prototype.fetchColumnValues=function(t){var e,r,n,i,o=this,a=new C;if(null==t||0==t.length)return a;var s=t.select(function(t){return o.columns.getByName(t)});if(s.all(function(t){return null==t}))return a;var l=null==this.dataTable||0==this.dataTable.rows.count;if(null==this.dataTable||0==this.dataTable.rows.count)return a;this.first();try{for(var u=__values(this.dataTable.rows.list),c=u.next();!c.done;c=u.next()){var p=c.value,h=ut.create(Object,s.count2()),m=0;try{for(var d=(n=void 0,__values(s)),g=d.next();!g.done;g=d.next()){var f=g.value;if(f.is(lt.StiCalcDataColumn)){var S="{"+f.value+"}",y=yt.Report.Dashboard.StiReportParser.parse(S,this.dictionary.report.pages.getByIndex(0),!1);try{h[m]=A.changeType(y,f.type)}catch(t){}}else{var S=this.dataTable.columns.getIndexByName(f.nameInSource),y=p.gett(S);h[m]=y}m++}}catch(t){n={error:t}}finally{try{g&&!g.done&&(i=d.return)&&i.call(d)}finally{if(n)throw n.error}}a.add(h),this.next()}}catch(t){e={error:t}}finally{try{c&&!c.done&&(r=u.return)&&r.call(u)}finally{if(e)throw e.error}}return this.first(),a},u.prototype.getKey=function(){return this.key=s.getOrGeneratedKey(this.key),this.key},u.prototype.setKey=function(t){this.key=t},Object.defineProperty(u.prototype,"inherited",{get:function(){return this._inherited},set:function(t){this._inherited=t},enumerable:!1,configurable:!0}),Object.defineProperty(u.prototype,"current",{get:function(){return this},enumerable:!1,configurable:!0}),u.prototype.moveNext=function(){return this.next(),!this.isEof},u.prototype.reset=function(){this.first()},u.prototype.getEnumerator=function(){return this},Object.defineProperty(u.prototype,"name",{get:function(){return this._name},set:function(t){null!=this.dictionary&&null!=this.dictionary.report&&this.dictionary.report.isDesigning&&StiOptions.Designer.autoCorrectDataSourceName&&(t=At.StiNameValidator.correctName(t)),this._name=t},enumerable:!1,configurable:!0}),Object.defineProperty(u.prototype,"position",{get:function(){return this.positionValue},set:function(t){this.positionValue=t},enumerable:!1,configurable:!0}),Object.defineProperty(u.prototype,"realCount",{get:function(){if(null!=this.detailRows)return this.detailRows.length;return null==this.dataTable?0:this.dataTable.rows.count},enumerable:!1,configurable:!0}),Object.defineProperty(u.prototype,"count",{get:function(){if(0==this.realCount&&StiOptions.Engine.emulateData){if(null==this.dataTable)return 1;if(null!=this.dataTable&&0==this.dataTable.rows.count)return 1}return this.realCount},enumerable:!1,configurable:!0}),Object.defineProperty(u.prototype,"isBof",{get:function(){if(this.isEmpty)return!0;return this.isBofValue},set:function(t){this.isBofValue=t},enumerable:!1,configurable:!0}),Object.defineProperty(u.prototype,"isEof",{get:function(){if(this.isEmpty)return!0;return this.isEofValue},set:function(t){this.isEofValue=t},enumerable:!1,configurable:!0}),Object.defineProperty(u.prototype,"isEmpty",{get:function(){return 0==this.count},enumerable:!1,configurable:!0}),u.prototype.first=function(){this.positionValue=0,this.isEofValue=!1,this.isBofValue=!0},u.prototype.prior=function(){this.isBofValue=!1,this.isEofValue=!1,this.positionValue<=0?this.isBofValue=!0:this.positionValue--},u.prototype.next=function(){if(this.isBofValue=!1,this.isEofValue=!1,this.positionValue>=this.count-1)return void(this.isEofValue=!0);this.positionValue++},u.prototype.last=function(){this.positionValue=this.count-1,this.isEofValue=!0,this.isBofValue=!1},u.prototype.clone=function(){var e,t,r=this.stimulsoft.memberwiseClone();r.columns=new lt.StiDataColumnsCollection(r);try{for(var n=__values(this.columns.list),i=n.next();!i.done;i=n.next()){var o,a=i.value.clone();(a.dataSource=r).columns.add(a)}}catch(t){e={error:t}}finally{try{i&&!i.done&&(t=n.return)&&t.call(n)}finally{if(e)throw e.error}}return r},u.prototype.memberwiseClone=function(){var t;return new(this.stimulsoft.getType())},Object.defineProperty(u.prototype,"states",{get:function(){return null==this._states&&(this._states=new At.StiStatesManager),this._states},enumerable:!1,configurable:!0}),u.prototype.saveState=function(t){this.states.pushInt(t,this,"positionValue",this.positionValue),this.states.pushBool(t,this,"isEofValue",this.isEofValue),this.states.pushBool(t,this,"isBofValue",this.isBofValue),this.states.push(t,this,"detailRows",this.detailRows),this.states.push(t,this,"resFilterMethod",this.resFilterMethod)},u.prototype.restoreState=function(t){if(!this.states.isExist(t,this))return;this.isBofValue=this.states.popBool(t,this,"isBofValue"),this.isEofValue=this.states.popBool(t,this,"isEofValue"),this.positionValue=this.states.popInt(t,this,"positionValue"),this.detailRows=this.states.pop(t,this,"detailRows"),this.resFilterMethod=this.states.pop(t,this,"resFilterMethod"),this.states.clearState(t)},u.prototype.clearAllStates=function(){this._states=null},u.prototype.isEqualSort=function(t,e){var r,n;if(null==t&&null==e)return!0;if(null!=t&&null==e)return!1;if(null==t&&null!=e)return!1;if(t.length!=e.length)return!1;var i=0;try{for(var o=__values(t),a=o.next(),s;!a.done;a=o.next()){if(a.value!=e[i])return!1;i++}}catch(t){r={error:t}}finally{try{a&&!a.done&&(n=o.return)&&n.call(o)}finally{if(r)throw r.error}}return!0},u.prototype.setData=function(t,e,r,n,i,o){var a=!1,s;if(this.resFilterMethod!=r&&(this.isInited=!1),this.isEqualSort(n,this.resSortColumns)||(this.isInited=!1),null!=t&&(t.name!=this.nameOfDataBandWhichInitDataSource&&(this.isInited=!1),this.nameOfDataBandWhichInitDataSource=t.name),!a&&this.isInited&&!i&&!this.initForSubreport&&e==this.relationNameStored)return;null!=t&&(null==(s=t.report)&&null!=o&&(s=o.report),null!=s&&s.cacheTotals&&null!=s.cachedTotals&&!s.cachedTotalsLocked&&s.cachedTotals.set(t,null));var l=!1,u=r,c=n,i=null;null!=t&&(i=t.dataBandInfo.groupHeaders,t.dataBandInfo.groupHeaderCachedResults=null,t.dataBandInfo.groupFooterCachedResults=null),this.detailRows=null,this.setDetails(e),StiOptions.Engine.filterDataInDataSourceBeforeSorting&&this.setFilter(r);var s=this.getConditions(t);this.setSort(s,n,o,t,i),StiOptions.Engine.filterDataInDataSourceBeforeSorting||this.setFilter(r),this.isInited=!0,e=this.relationNameStored},u.prototype.getConditions=function(t){var e,r,n,i,o=null;if(null==t)return o;var a=null,a;if(null!=(a=t.dataBandInfo.groupHeaders)&&0<a.count){var s=t.isEof,l=t.isBof,u=0;try{for(var c=__values(a.toCast()),p=c.next(),h;!p.done;p=c.next()){(h=p.value).sortDirection!=yt.Report.Components.StiGroupSortDirection.None&&u++}}catch(t){e={error:t}}finally{try{p&&!p.done&&(r=c.return)&&r.call(c)}finally{if(e)throw e.error}}if(0==u)return o;o=ut.create3(Object,t.count,u,2);for(var m=0;m<t.count;m++){t.position=m;var d=0;try{for(var g=(n=void 0,__values(a.toCast())),f=g.next(),h;!f.done;f=g.next()){(h=f.value).sortDirection!=yt.Report.Components.StiGroupSortDirection.None&&(o[m][d][0]=v.getCurrentConditionValue(h),o[m][d][1]=h.sortDirection,d++)}}catch(t){n={error:t}}finally{try{f&&!f.done&&(i=g.return)&&i.call(g)}finally{if(n)throw n.error}}}t.isEof=s,t.isBof=l}return o},u.prototype.setDetails=function(t){var e=this.stimulsoft.as(lt.StiSqlSource),r,e,r;null!=e&&e.reconnectOnEachRow&&e.updateParameters(),ct.isNullOrEmpty(t)||null!=(r=this.dictionary.relations.getByName(t))&&(null==(e=r.parentSource)||null!=(r=e.dataTable)&&(null!=e.detailRows?0!=e.detailRows.length?e.position<e.detailRows.length?this.detailRows=e.detailRows[e.position].getChildRows(t):this.detailRows=[]:this.detailRows=e.detailRows:e.position<r.rows.count&&(this.detailRows=r.rows.getByIndex(e.position).getChildRows(t))))},u.prototype.setFilter=function(t){if(null!=t&&0<this.realCount){var e=this.position,r=this.dictionary.report.line,n=new Array;if(t.stimulsoft.is(yt.Report.Engine.StiParser.StiFilterParserData))for(var i=t,o=0;o<this.count;o++){this.position=o,this.dictionary.report.line=o+1;try{var a=yt.Report.Engine.StiParser.StiParser.parseTextValue(i.expression,i.component);"boolean"==typeof a&&a&&(null==this.detailRows?n.push(this.dataTable.rows.getByIndex(o)):n.push(this.detailRows[o]))}catch(t){yt.System.StiError.showError(t,!1)}}this.detailRows=n,this.position=e,this.dictionary.report.line=r}},u.prototype.setSort=function(t,e,r,n,i){var o,a,s,l,u,c,p,h,m,d,g,f,S,y,A,b,C,v;try{if(null!=r&&r.is(dt)){if(0==this.realCount)return;null==this.detailRows&&null!=this.dataTable&&(this.detailRows=ut.create(pt,this.dataTable.rows.count),this.dataTable.rows.copyTo(this.detailRows,0));var w=new ht,B=0,I;try{for(var T=__values(this.detailRows),E=T.next();!E.done;E=T.next()){var R=E.value;w.set(R.recordIndex,B++)}}catch(t){o={error:t}}finally{try{E&&!E.done&&(a=T.return)&&a.call(T)}finally{if(o)throw o.error}}return void new lt.StiHierarchicalDataSort(this,r.stimulsoft.as(dt),e).process(w)}if((null!=t||null!=e)&&0<this.realCount){var D=[];if(null==this.detailRows&&null!=this.dataTable)try{for(var P=__values(this.dataTable.rows.list),x=P.next();!x.done;x=P.next()){var R=x.value;D.push(R)}}catch(t){s={error:t}}finally{try{x&&!x.done&&(l=P.return)&&l.call(P)}finally{if(s)throw s.error}}if(null!=this.detailRows)try{for(var F=__values(this.detailRows),N=F.next();!N.done;N=F.next()){var R=N.value;D.push(R)}}catch(t){u={error:t}}finally{try{N&&!N.done&&(c=F.return)&&c.call(F)}finally{if(u)throw u.error}}var w=new ht,B=0;try{for(var k=__values(D),M=k.next();!M.done;M=k.next()){var R=M.value;w.set(R.recordIndex,B++)}}catch(t){p={error:t}}finally{try{M&&!M.done&&(h=k.return)&&h.call(k)}finally{if(p)throw p.error}}var O=new lt.StiDataSort(w,t,e,this);D.stimulsoft.sort2(O);var _=0;this.detailRows=[];try{for(var j=__values(D),G=j.next();!G.done;G=j.next()){var R=G.value;this.detailRows[_++]=R}}catch(t){m={error:t}}finally{try{G&&!G.done&&(d=j.return)&&d.call(j)}finally{if(m)throw m.error}}var H=!1;if(null!=i)try{for(var Q=__values(i.toCast()),L=Q.next(),Y;!L.done;L=Q.next()){if((Y=L.value).summarySortDirection!=yt.Report.Components.StiGroupSortDirection.None){H=!0;break}}}catch(t){g={error:t}}finally{try{L&&!L.done&&(f=Q.return)&&f.call(Q)}finally{if(g)throw g.error}}if(H){var U=new ht,J=new ht,W=ut.create(Number,i.count),V=new ht,z=0;try{for(var X=__values(D),K=X.next();!K.done;K=X.next()){var R=K.value;n.position=z,V.set(R,z),yt.Report.Engine.StiDataBandBuilder.prepareGroupResults(n);var Z=0;try{for(var q=(A=void 0,__values(i.toCast())),$=q.next();!$.done;$=q.next()){var Y=$.value,tt;!n.dataBandInfo.groupHeaderResults[Z]||null==Y.report||(tt=Y.report).cacheTotals&&null!=tt.cachedTotals&&tt.cachedTotals.set(Y,null);var et=null,rt=Y;if(Y.summaryType!=gt.Count)if(Y.report.calculationMode==At.StiCalculationMode.Compilation){if(et=Y.name+"__GetSummaryExpression",null==yt.Report.Totals.getMethod(Y.report,et))continue}else{if(ct.isNullOrEmpty(Y.summaryExpression))continue;var tt=!1,nt=new yt.Report.Engine.StiParser.StiParser,tt={ref:tt},tt=yt.Report.Engine.StiParser.StiParser.parseTextValue(Y.summaryExpression,Y,Y,tt,!1,!0,nt),rt=new yt.Report.Engine.StiParser.StiParserData(Y,tt,nt)}var it=null;switch(Y.summaryType){case gt.Avg:try{it=mt.changeType(yt.Report.Totals.avg(rt,Y.report,et),Number)}catch(t){yt.System.StiError.showError(t,!1)}break;case gt.AvgDate:try{it=yt.System.Convert.changeType(yt.Report.Totals.avgDate(rt,Y.report,et),St)}catch(t){yt.System.StiError.showError(t,!1)}break;case gt.AvgTime:try{it=yt.System.Convert.changeType(yt.Report.Totals.avgTime(rt,Y.report,et),ft)}catch(t){yt.System.StiError.showError(t,!1)}break;case gt.Count:try{it=yt.Report.Totals.count(Y)}catch(t){yt.System.StiError.showError(t,!1)}break;case gt.CountDistinct:try{it=yt.Report.Totals.countDistinct(Y,Y.report,et)}catch(t){yt.System.StiError.showError(t,!1)}break;case gt.Max:try{it=yt.System.Convert.changeType(yt.Report.Totals.max(rt,Y.report,et),Number)}catch(t){yt.System.StiError.showError(t,!1)}break;case gt.MaxDate:try{it=yt.System.Convert.changeType(yt.Report.Totals.maxDate(rt,Y.report,et),St)}catch(t){yt.System.StiError.showError(t,!1)}break;case gt.MaxTime:try{it=yt.System.Convert.changeType(yt.Report.Totals.maxTime(rt,Y.report,et),ft)}catch(t){yt.System.StiError.showError(t,!1)}break;case gt.Median:try{it=yt.System.Convert.changeType(yt.Report.Totals.median(rt,Y.report,et),Number)}catch(t){yt.System.StiError.showError(t,!1)}break;case gt.Min:try{it=yt.System.Convert.changeType(yt.Report.Totals.min(rt,Y.report,et),Number)}catch(t){yt.System.StiError.showError(t,!1)}break;case gt.MinDate:try{it=yt.System.Convert.changeType(yt.Report.Totals.minDate(rt,Y.report,et),St)}catch(t){yt.System.StiError.showError(t,!1)}break;case gt.MinTime:try{it=yt.System.Convert.changeType(yt.Report.Totals.minTime(rt,Y.report,et),ft)}catch(t){yt.System.StiError.showError(t,!1)}break;case gt.Mode:try{it=yt.System.Convert.changeType(yt.Report.Totals.mode(rt,Y.report,et),Number)}catch(t){yt.System.StiError.showError(t,!1)}break;case gt.Sum:try{it=yt.System.Convert.changeType(yt.Report.Totals.sum(rt,Y.report,et),Number)}catch(t){yt.System.StiError.showError(t,!1)}break;case gt.SumTime:try{it=yt.System.Convert.changeType(yt.Report.Totals.sumTime(rt,Y.report,et),ft)}catch(t){yt.System.StiError.showError(t,!1)}break}n.dataBandInfo.groupHeaderResults[Z]&&W[Z]++;var nt=U.get(Y);null==nt&&(nt=new ht,U.set(Y,nt)),nt.set(R,it),null==(nt=J.get(Y))&&(nt=new ht,J.set(Y,nt)),nt.set(R,W[Z]),Z++}}catch(t){A={error:t}}finally{try{$&&!$.done&&(b=q.return)&&b.call(q)}finally{if(A)throw A.error}}z++}}catch(t){S={error:t}}finally{try{K&&!K.done&&(y=X.return)&&y.call(X)}finally{if(S)throw S.error}}if(null!=U&&0<U.count){n.dataBandInfo.groupHeaderCachedResults=null,n.dataBandInfo.groupFooterCachedResults=null;var ot=new yt.Report.Dictionary.StiGroupSummaryDataSort(U,J,i,V);D.stimulsoft.sort2(ot),_=0,this.detailRows=[];try{for(var at=__values(D),st=at.next();!st.done;st=at.next()){var R=st.value;this.detailRows[_++]=R}}catch(t){C={error:t}}finally{try{st&&!st.done&&(v=at.return)&&v.call(at)}finally{if(C)throw C.error}}ot.clear()}}O.clear()}}catch(t){if(yt.System.StiError.showError("SetSort...ERROR:"+t.message,!1),At.StiLogService.write(this.stimulsoft.getType(),"SetSort...ERROR"),At.StiLogService.write(this.stimulsoft.getType(),t),!StiOptions.Engine.hideExceptions)throw t}},u.prototype.resetDetailsRows=function(){this.detailRows=null},u.prototype.resetData=function(){this.isInited=!1,this.relationNameStored=null,this.resFilterMethod=null,this.resSortColumns=null},u.prototype.getDataRow=function(t){if(null==this.detailRows){if(null!=this.dataTable&&t<this.dataTable.rows.count)return this.dataTable.rows.getByIndex(t);return null}if(t<this.detailRows.length)return this.detailRows[t];return null},u.prototype.getParentData=function(t){var t,e=this.getDataRow(this.position),r,r,e;return null!=e&&(null!=(r=this.dictionary.relations.getByName(t))&&(t=r.nameInSource),e=null!=(r=e.getParentRows(t))&&0<r.length?r[0]:null),new lt.StiDataRow(null===(t=this.dictionary.relations.getByName(t))||void 0===t?void 0:t.parentSource,e)},u.prototype.getParentRelations=function(){var e,t,r=new yt.Report.Dictionary.StiDataRelationsCollection(this.dictionary);if(null==this.dictionary)return r;try{for(var n=__values(this.dictionary.relations.list),i=n.next();!i.done;i=n.next()){var o=i.value;o.childSource==this&&r.add(o)}}catch(t){e={error:t}}finally{try{i&&!i.done&&(t=n.return)&&t.call(n)}finally{if(e)throw e.error}}return r},u.prototype.getChildRelations=function(){var e,t,r=new yt.Report.Dictionary.StiDataRelationsCollection(this.dictionary);try{for(var n=__values(r.list),i=n.next();!i.done;i=n.next()){var o=i.value;o.parentSource==this&&r.add(o)}}catch(t){e={error:t}}finally{try{i&&!i.done&&(t=n.return)&&t.call(n)}finally{if(e)throw e.error}}return r},u.prototype.getParentDataSource=function(t,e){var r,n,i,o;void 0===e&&(e=!1);try{for(var a=__values(this.dictionary.relations.list),s=a.next(),l;!s.done;s=a.next()){if((l=s.value).childSource==this&&l.nameInSource==t)return l.parentSource;if(l.childSource==this&&e&&l.name==t)return l.parentSource}}catch(t){r={error:t}}finally{try{s&&!s.done&&(n=a.return)&&n.call(a)}finally{if(r)throw r.error}}try{for(var u=__values(this.dictionary.relations.list),c=u.next(),l;!c.done;c=u.next()){if((l=c.value).childSource==this&&yt.Report.StiNameValidator.correctName(l.nameInSource)==t)return l.parentSource}}catch(t){i={error:t}}finally{try{c&&!c.done&&(o=u.return)&&o.call(u)}finally{if(i)throw i.error}}return null},u.prototype.getChildDataSource=function(t){var e,r;try{for(var n=__values(this.dictionary.relations.list),i=n.next();!i.done;i=n.next()){var o=i.value;if(o.parentSource==this&&o.nameInSource==t)return o.childSource}}catch(t){e={error:t}}finally{try{i&&!i.done&&(r=n.return)&&r.call(n)}finally{if(e)throw e.error}}return null},u.prototype.invokeConnecting=function(){var e,t;try{var r=!0;if(null!=this.dictionary&&null!=this.dictionary.report&&this.dictionary.report.calculationMode==At.StiCalculationMode.Interpretation&&(r=!1),!r){var n=new yt.Report.Components.StiText;n.name="**DataSourceParameter**",n.page=this.dictionary.report.pages.getByIndex(0);try{for(var i=__values(this.parameters.list),o=i.next(),a;!o.done;o=i.next()){(a=o.value).parameterValue=yt.Report.Engine.StiParser.StiParser.parseTextValue("{"+a.value+"}",n)}}catch(t){e={error:t}}finally{try{o&&!o.done&&(t=i.return)&&t.call(i)}finally{if(e)throw e.error}}var s=this.as(lt.StiSqlSource);if(null!=s){var l=null;if(null!=this.dictionary.report.variables&&null!=this.dictionary.report.variables.get("**StoredDataSourceSqlCommandForInterpretationMode**"+s.name)&&(l=this.dictionary.report.variables.get("**StoredDataSourceSqlCommandForInterpretationMode**"+s.name)),"string"==typeof l){n.name="**DataSourceSqlCommand**";var u="";while(0<=l.indexOf("{")){u+=l.substr(0,l.indexOf("{"));var c=(l=l.substr(l.indexOf("{"))).substr(0,l.indexOf("}")+1),p=yt.Report.Engine.StiParser.StiParser.parseTextValue(c,n),h=yt.System.Convert.toString(p);s.is(lt.StiODataSource)&&p instanceof St&&(h=p.toString("YYYY-MM-DDThh:mm:ss")),null!=p?!0===StiOptions.Engine.escapeQueryParameters?u+=h.replace(/\\/gi,"\\\\").replace(/\'/gi,"\\'").replace(/\"/gi,'\\"'):u+=h:u+=c,l=l.substr(l.indexOf("}")+1)}while(0<=l.indexOf("@")){u+=l.substr(0,l.indexOf("@")),l=l.substr(l.indexOf("@")+1);var m="",c="";while(0<l.length){if(m=l.charAt(0),!d.isLetterOrDigit(m)&&"_"!=m&&"-"!=m)break;c+=m,l=l.substr(1)}var a=this.parameters.getByName(c),p=void 0;"string"==typeof(p=null!=a?a.parameterValue:yt.Report.Engine.StiParser.StiParser.parseTextValue("{"+c+"}",n))&&(u+="'");var h=yt.System.Convert.toString(p);s.is(lt.StiODataSource)&&p instanceof St&&(h=p.toString("YYYY-MM-DDThh:mm:ss")),null!=p?(!0===StiOptions.Engine.escapeQueryParameters?u+=h.replace(/\\/gi,"\\\\").replace(/\'/gi,"\\'").replace(/\"/gi,'\\"'):u+=h,"string"==typeof p&&(u+="'")):u+=c,l=l.substr(l.indexOf("}")+1)}s.sqlCommand=u+l}}}}catch(t){if(At.StiLogService.write(this.stimulsoft.getType(),"Datasource '"+this.name+"' connecting...ERROR"),At.StiLogService.write(this.stimulsoft.getType(),t),!StiOptions.Engine.hideExceptions)throw t}},u.prototype.invokeDisconnecting=function(){try{}catch(t){if(At.StiLogService.write(this.stimulsoft.getType(),"Datasource '"+this.name+"' disconnecting...ERROR"),At.StiLogService.write(this.stimulsoft.getType(),t),!StiOptions.Engine.hideExceptions)throw t}},u.prototype.connectAsync=function(t,e){var r=new a;null==this.dictionary||this.dictionary.useInternalData||this.invokeConnecting();var n=this.getDataAdapter();return lt.StiDataLeader.connectDataSourceToDataAsync(n,this.dictionary,this,e).try(function(){r.callTry()}).catch(function(t){r.callCatch(t)}).abort(r),r},u.prototype.connect=function(t,e){var r,n,i,o;null==this.dictionary||this.dictionary.useInternalData||this.invokeConnecting();var a=this.getDataAdapter();if(lt.StiDataLeader.connectDataSourceToData(a,this.dictionary,this,e),(null==this.dataTable||0==this.realCount)&&StiOptions.Engine.emulateData&&this.dictionary.report.isRendering){var s=this.dataTable;if(null==s){s=new y;try{for(var l=__values(this.columns.list),u=l.next();!u.done;u=l.next()){var c=u.value,p=new b(c.nameInSource,c.type);s.columns.add(p)}}catch(t){r={error:t}}finally{try{u&&!u.done&&(n=l.return)&&n.call(l)}finally{if(r)throw r.error}}}try{var h=s.newRow();try{for(var m=__values(this.columns.list),d=m.next();!d.done;d=m.next()){var c,g=(c=d.value).type,f=S.value;g==String?f=null!=this.dataTable&&null!=this.dataTable.columns.getByName(c.nameInSource)&&this.dataTable.columns.getByName(c.nameInSource).stimulsoft.getType()==String?"Test":"":g==Boolean?f=!0:g==St?f=St.now:g==yt.System.Char&&(f=" "),f=0,h.setValue(c.nameInSource,f)}}catch(t){i={error:t}}finally{try{d&&!d.done&&(o=m.return)&&o.call(m)}finally{if(i)throw i.error}}s.rows.add(h)}catch(t){yt.System.StiError.showError(t,!1),this.dataTable=null,this.dataTable=s}}},u.prototype.getDataAdapterType=function(){return null},Object.defineProperty(u.prototype,"dataAdapterType",{get:function(){return this.getDataAdapterType().stimulsoft.getType().stimulsoft.getTypeName()},enumerable:!1,configurable:!0}),u.prototype.fillColumns=function(){try{var t;if(null==lt.StiDataAdapterService.getDataAdapter(this))return}catch(t){if(yt.System.StiError.showError(t,!1),At.StiLogService.write(this.stimulsoft.getType(),t),!StiOptions.Engine.hideExceptions)throw t}},u.prototype.getDataAdapter=function(){var t=StiOptions.Services.dataAdapters.where(function(t){return t.serviceEnabled}),e=this.dataAdapterType;return t.firstOrDefault(function(t){return t.stimulsoft.getType().stimulsoft.getTypeName()==e})},Object.defineProperty(u.prototype,"parameters",{get:function(){return this._parameters},set:function(t){this._parameters=t},enumerable:!1,configurable:!0}),u.prototype.getDataTable=function(t){void 0===t&&(t=null);try{if(null==t){if(null!=this.dataTable)return this.getDataTable(this.dataTable);return new y(this.name)}for(var e=t.clone(),r=new Array(e.columns.count),n=0;n<e.columns.count;n++){var i=e.columns.getByIndex(n);r[n]=t.columns.getIndexByName(i.columnName)}for(var n=0;n<t.rows.count;n++)for(var o=e.addNewRow(),a=0;a<e.columns.count;a++)try{o.sett(a,t.rows.getByIndex(n).gett(r[a]))}catch(t){yt.System.StiError.showError(t,!1)}return e}catch(t){if(!StiOptions.Engine.hideExceptions)throw t}return new y(this.name)},u.prototype.getByName=function(t){return this.getData(t)},u.prototype.GetData=function(t,e){return void 0===e&&(e=this.position),this.getData(t,e)},u.prototype.getData=function(t,e){void 0===e&&(e=this.position);try{if(this.isConnected){var r=this.calcColumns.get(t);if(null!=r){var n=new yt.Report.Components.StiText;return n.page=this.dictionary.report.pages.getByIndex(0),n.name=this.dictionary.report.reportGuid,yt.Report.Engine.StiParser.StiParser.parseTextValue("{"+r.expression+"}",n)}var r=this.getColumnIndex(t);if(r<0)return null;var n=this.getDataRow(e);if(null==n)return null;return n.getValue(r)}var r=o.getFromCache(this);if(null==r&&null!=this.dictionary.report&&this.dictionary.report.pages.toList().any(function(t){return t.isPage})&&(lt.StiDataLeader.connect(this,null),r=(r=this.getDataTable()).copy(),r=o.processCalculatedColumns(r,this),o.addToCache(this,{ref:r}),lt.StiDataLeader.disconnect(this)),null!=r)return r.columns.contains(t)&&0<=e&&e<r.rows.count?r.rows.getByIndex(e).gett(t):S.value;return yt.System.Data.DBNull}catch(t){if(yt.System.StiError.showError(t,!1),At.StiLogService.write(this.stimulsoft.getType(),t),!StiOptions.Engine.hideExceptions)throw t}return null},u.prototype.getDataAsync=function(t,e){var r=this;void 0===e&&(e=this.position);var n=new a;try{if(this.isConnected)return n.callTry(this.getData(t,e));var i=o.getFromCache(this);null==i&&null!=this.dictionary.report&&this.dictionary.report.pages.toList().any(function(t){return t.isPage})&<.StiDataLeader.connectAsync(this,null).try(function(){if(i=(i=r.getDataTable()).copy(),i=o.processCalculatedColumns(i,r),o.addToCache(r,{ref:i}),lt.StiDataLeader.disconnect(r),null!=i)return n.callTry(i.columns.contains(t)&&0<=e&&e<i.rows.count?i.rows.getByIndex(e).gett(t):S.value);return n.callTry(S)}),n.callTry(S)}catch(t){if(yt.System.StiError.showError(t,!1),At.StiLogService.write(this.stimulsoft.getType(),t),!StiOptions.Engine.hideExceptions)throw t}return n},u.prototype.getColumnIndex=function(t){var e,r,n,i,o,a;if(null!=this.columnsIndexs){if(null==(o=this.columnsIndexs.get(t))&&(o=this.columnsIndexs.get(t.toLowerCase())),null==o)return-1;return-1==+o&&(a=ct.format("Column '{0}' from data source '{1}' not found in table '{2}'",t,this.name,this.dataTable.tableName)),+o}var o=0;try{for(var s=__values(this.columns.list),l=s.next(),u;!l.done;l=s.next()){if((u=l.value).nameInSource==t)return o;o++}}catch(t){e={error:t}}finally{try{l&&!l.done&&(r=s.return)&&r.call(s)}finally{if(e)throw e.error}}o=0;try{for(var c=__values(this.columns.list),p=c.next(),u;!p.done;p=c.next()){if((u=p.value).name==t||u.alias==t)return o;o++}}catch(t){n={error:t}}finally{try{p&&!p.done&&(i=c.return)&&i.call(c)}finally{if(n)throw n.error}}return-1},Object.defineProperty(u.prototype,"rows",{get:function(){return this._rows},set:function(t){this._rows=t},enumerable:!1,configurable:!0}),u.prototype.synchronizeColumns=function(){var e,t,r=this.stimulsoft.as(lt.StiDataStoreSource);if(null==r)return;var n=null;try{for(var i=__values(this.dictionary.dataStore.list),o=i.next();!o.done;o=i.next()){var a=o.value;if(a.name.toLowerCase()==r.nameInSource.toLowerCase()){n=a;break}}}catch(t){e={error:t}}finally{try{o&&!o.done&&(t=i.return)&&t.call(i)}finally{if(e)throw e.error}}if(null==n)return;this.dictionary.synchronizeColumns(n,this)},u.prototype.checkColumnsIndexs=function(){var e,t;if((null==this.columnsIndexs||0==this.columnsIndexs.keys.length)&&null!=this.dataTable&&0<this.dataTable.columns.count){this.columnsIndexs=new ht;for(var r=new ht,n=0;n<this.dataTable.columns.count;n++)r.set(this.dataTable.columns.getByIndex(n).columnName.toLowerCase(),n);try{for(var i=__values(this.columns.list),o=i.next();!o.done;o=i.next()){var a=o.value;if(a.is(lt.StiCalcDataColumn)){this.calcColumns.set(a.nameInSource.toLowerCase(),a),this.calcColumns.set(a.nameInSource,a),this.calcColumns.set(a.name,a),this.calcColumns.set(a.alias,a),this.calcColumns.set(At.StiNameValidator.correctName(a.name),a);continue}var n=-1,s=r.get(a.nameInSource.toLowerCase());null!=s&&(n=Math.trunc(s.stimulsoft.toNumber())),this.columnsIndexs.set(a.nameInSource.toLowerCase(),n),this.columnsIndexs.set(a.nameInSource,n),this.columnsIndexs.set(a.name,n),this.columnsIndexs.set(a.alias,n),this.columnsIndexs.set(At.StiNameValidator.correctName(a.name),n)}}catch(t){e={error:t}}finally{try{o&&!o.done&&(t=i.return)&&t.call(i)}finally{if(e)throw e.error}}}},u.prototype.toString=function(){if(StiOptions.Dictionary.showOnlyAliasForDataSource)return this.alias;return name==this.alias||ct.isNullOrEmpty(this.alias)?name:ct.format("{0} [{1}]",this.name,this.alias)},u.prototype.getLevel=function(){if(null==this.rowToLevel)return 0;var t=null;if(null!=this.detailRows){if(this.detailRows.length<=this.position)return 0;t=this.detailRows[this.position]}else{if(null==this.dataTable||this.dataTable.rows.count<=this.position)return 0;t=this.dataTable.rows.getByIndex(this.position)}var t=this.rowToLevel.get(t);if("number"==typeof t)return t;return 0},u.prototype.getCategoryName=function(){var t=lt.StiDataAdapterService.getDataAdapter(this);if(null!=t)return t.serviceName;return""},u.prototype.createNew=function(){return null},Object.defineProperty(u.prototype,"isCloud",{get:function(){return!1},enumerable:!1,configurable:!0}),Object.defineProperty(u.prototype,"dictionary",{get:function(){return this._dictionary},set:function(t){this._dictionary=t},enumerable:!1,configurable:!0}),Object.defineProperty(u.prototype,"dataTable",{get:function(){return this._dataTable},set:function(t){if(this._dataTable=t,this.detailRows=null,null!=t&&(this.checkColumnsIndexs(),(this.is(lt.StiDataTableSource)&&this.dictionary.report.cacheAllData||null==this._dataTable.dataSet)&&null!=this.dictionary.cacheDataSet)){var e=0,r=this._dataTable.tableName;while(null!=this.dictionary.cacheDataSet.tables.getByName(r))e++,r=ct.format("{0}{1}",this.dataTable.tableName,e);this.dataTable.tableName!=r&&(this.dataTable.tableName=r),this.dictionary.cacheDataSet.tables.add(this.dataTable)}this.first()},enumerable:!1,configurable:!0}),Object.defineProperty(u.prototype,"isConnected",{get:function(){return null!=this._dataTable},enumerable:!1,configurable:!0}),Object.defineProperty(u.prototype,"columns",{get:function(){return this._columns},set:function(t){var e=this;null!=(this._columns=t)&&(t.dataSource=this,t.toList().forEach(function(t){return t.dataSource=e}))},enumerable:!1,configurable:!0}),u.prototype.disconnect=function(){if(null!=this.dataTable&&null!=this.dictionary&&null!=this.dictionary.cacheDataSet&&-1!=this.dictionary.cacheDataSet.tables.indexOf(this.dataTable)){var t=0;while(t<this.dictionary.cacheDataSet.relations.count){var e=this.dictionary.cacheDataSet.relations.getByIndex(t);e.parentTable==this.dataTable||e.childTable==this.dataTable?this.dictionary.cacheDataSet.relations.removeAt(t):t++}this.dictionary.cacheDataSet.tables.remove(this.dataTable),this.dataTable=null}this.rowToLevel=null,this.detailRows=null},u.prototype.getByColumnName=function(t){return this.getData(t)},Object.defineProperty(u.prototype,"alias",{get:function(){return this._alias},set:function(t){this._alias=t},enumerable:!1,configurable:!0}),Object.defineProperty(u.prototype,"key",{get:function(){return this._key},set:function(t){this._key=t},enumerable:!1,configurable:!0}),u.prototype.parentRelationList=function(t){void 0===t&&(t=!1);var e=this.getParentRelations().toList().cast();return t&&e.any(function(t){return t.active})?e.where(function(t){return t.active}):e},u.prototype.childRelationList=function(t){void 0===t&&(t=!1);var e=this.getChildRelations().toList().cast();return t&&e.any(function(t){return t.active})?e.where(function(t){return t.active}):e},u);function u(t,e,r){void 0===r&&(r=""),this._inherited=!1,this.positionValue=0,this.isBofValue=!1,this.isEofValue=!1,this._states=null,this.nameOfDataBandWhichInitDataSource=null,this.isInited=!1,this.initForSubreport=!1,this.xmlRefAttrValue=null,this.relationNameStored=null,this.resFilterMethod=null,this.resSortColumns=null,this.calcColumns=new ht,this.detailRows=null,this.rowToLevel=null,this._isCloud=!1,this.connectionOrder=yt.Report.Dictionary.StiConnectionOrder.Standard,this.connectOnStart=!0,this._key=null,this.name=t,this.alias=e,ct.isNullOrEmpty(this.alias)&&(this.alias=t),this.rows=new yt.Report.Dictionary.StiRowsCollection(this),this.columns=new lt.StiDataColumnsCollection(this),this.parameters=new yt.Report.Dictionary.StiDataParametersCollection(this),this.key=r}lt.StiDataSource=l}(e=At.Dictionary||(At.Dictionary={}))}(Stimulsoft=Stimulsoft||{}),function(m){var t,o,e,d,r;o=t=m.Report||(m.Report={}),d=e=o.Engine||(o.Engine={}),function(t){var l=m.Report.Dictionary.StiFunctions,u=m.System.Collections.Hashtable,s=m.System.DateTime,c=m.System.TimeSpan,e=m.System.TypeCode,p=m.Report.Dictionary.StiDataSource,h=r;function r(t,e,r,n){void 0===n&&(n=String),this.name=t,this.number=e,this.arguments=r,this.returnType=n}t.StiParserMethodInfo=h;var n=(i.prototype.get_category=function(t){if(null==t)return-1;var e=t.stimulsoft.getType(),t=0;return e==String?t=1:e==Number?t=4:e==m.System.DateTime?t=8:e==Boolean&&(t=9),t},Object.defineProperty(i,"typesList",{get:function(){return null==this._typesList&&(this._typesList=new u,this._typesList.set("bool",e.Boolean),this._typesList.set("Boolean",e.Boolean),this._typesList.set("byte",e.Byte),this._typesList.set("Byte",e.Byte),this._typesList.set("sbyte",e.SByte),this._typesList.set("Sbyte",e.SByte),this._typesList.set("char",e.Char),this._typesList.set("Char",e.Char),this._typesList.set("decimal",e.Decimal),this._typesList.set("Decimal",e.Decimal),this._typesList.set("double",e.Double),this._typesList.set("Double",e.Double),this._typesList.set("float",e.Single),this._typesList.set("Single",e.Single),this._typesList.set("int",e.Int32),this._typesList.set("uint",e.UInt32),this._typesList.set("long",e.Int64),this._typesList.set("ulong",e.UInt64),this._typesList.set("short",e.Int16),this._typesList.set("Int16",e.Int16),this._typesList.set("Int32",e.Int32),this._typesList.set("Int64",e.Int64),this._typesList.set("ushort",e.UInt16),this._typesList.set("UInt16",e.UInt16),this._typesList.set("UInt32",e.UInt32),this._typesList.set("UInt64",e.UInt64),this._typesList.set("object",e.Object),this._typesList.set("string",e.String),this._typesList.set("String",e.String),this._typesList.set("DateTime",e.DateTime),this._typesList.set("TimeSpan",c)),this._typesList},enumerable:!1,configurable:!0}),Object.defineProperty(i,"systemVariablesList",{get:function(){return null==this._systemVariablesList&&(this._systemVariablesList=new u,this._systemVariablesList.set("Column",d.StiSystemVariableType.Column),this._systemVariablesList.set("Line",d.StiSystemVariableType.Line),this._systemVariablesList.set("LineThrough",d.StiSystemVariableType.LineThrough),this._systemVariablesList.set("LineABC",d.StiSystemVariableType.LineABC),this._systemVariablesList.set("LineRoman",d.StiSystemVariableType.LineRoman),this._systemVariablesList.set("GroupLine",d.StiSystemVariableType.GroupLine),this._systemVariablesList.set("PageNumber",d.StiSystemVariableType.PageNumber),this._systemVariablesList.set("PageNumberThrough",d.StiSystemVariableType.PageNumberThrough),this._systemVariablesList.set("PageNofM",d.StiSystemVariableType.PageNofM),this._systemVariablesList.set("PageNofMThrough",d.StiSystemVariableType.PageNofMThrough),this._systemVariablesList.set("TotalPageCount",d.StiSystemVariableType.TotalPageCount),this._systemVariablesList.set("TotalPageCountThrough",d.StiSystemVariableType.TotalPageCountThrough),this._systemVariablesList.set("IsFirstPage",d.StiSystemVariableType.IsFirstPage),this._systemVariablesList.set("IsFirstPageThrough",d.StiSystemVariableType.IsFirstPageThrough),this._systemVariablesList.set("IsLastPage",d.StiSystemVariableType.IsLastPage),this._systemVariablesList.set("IsLastPageThrough",d.StiSystemVariableType.IsLastPageThrough),this._systemVariablesList.set("PageCopyNumber",d.StiSystemVariableType.PageCopyNumber),this._systemVariablesList.set("ReportAlias",d.StiSystemVariableType.ReportAlias),this._systemVariablesList.set("ReportAuthor",d.StiSystemVariableType.ReportAuthor),this._systemVariablesList.set("ReportChanged",d.StiSystemVariableType.ReportChanged),this._systemVariablesList.set("ReportCreated",d.StiSystemVariableType.ReportCreated),this._systemVariablesList.set("ReportDescription",d.StiSystemVariableType.ReportDescription),this._systemVariablesList.set("ReportName",d.StiSystemVariableType.ReportName),this._systemVariablesList.set("Time",d.StiSystemVariableType.Time),this._systemVariablesList.set("Today",d.StiSystemVariableType.Today),this._systemVariablesList.set("value",d.StiSystemVariableType.ConditionValue),this._systemVariablesList.set("value2",d.StiSystemVariableType.ConditionValue2),this._systemVariablesList.set("tag",d.StiSystemVariableType.ConditionTag),this._systemVariablesList.set("sender",d.StiSystemVariableType.Sender),this._systemVariablesList.set("DateTime.Now",d.StiSystemVariableType.DateTimeNow),this._systemVariablesList.set("DateTime.Today",d.StiSystemVariableType.DateTimeToday)),this._systemVariablesList},enumerable:!1,configurable:!0}),Object.defineProperty(i,"propertiesList",{get:function(){return null==this._propertiesList&&(this._propertiesList=new u,this._propertiesList.set("Year",d.StiPropertyType.Year),this._propertiesList.set("Month",d.StiPropertyType.Month),this._propertiesList.set("Day",d.StiPropertyType.Day),this._propertiesList.set("Hour",d.StiPropertyType.Hour),this._propertiesList.set("Minute",d.StiPropertyType.Minute),this._propertiesList.set("Second",d.StiPropertyType.Second),this._propertiesList.set("Date",d.StiPropertyType.Date),this._propertiesList.set("Length",d.StiPropertyType.Length),this._propertiesList.set("From",d.StiPropertyType.From),this._propertiesList.set("To",d.StiPropertyType.To),this._propertiesList.set("FromDate",d.StiPropertyType.FromDate),this._propertiesList.set("ToDate",d.StiPropertyType.ToDate),this._propertiesList.set("FromTime",d.StiPropertyType.FromTime),this._propertiesList.set("ToTime",d.StiPropertyType.ToTime),this._propertiesList.set("SelectedLine",d.StiPropertyType.SelectedLine),this._propertiesList.set("Name",d.StiPropertyType.Name),this._propertiesList.set("TagValue",d.StiPropertyType.TagValue),this._propertiesList.set("Days",d.StiPropertyType.Days),this._propertiesList.set("Hours",d.StiPropertyType.Hours),this._propertiesList.set("Milliseconds",d.StiPropertyType.Milliseconds),this._propertiesList.set("Minutes",d.StiPropertyType.Minutes),this._propertiesList.set("Seconds",d.StiPropertyType.Seconds),this._propertiesList.set("Ticks",d.StiPropertyType.Ticks),this._propertiesList.set("TotalDays",d.StiPropertyType.TotalDays),this._propertiesList.set("TotalHours",d.StiPropertyType.TotalHours),this._propertiesList.set("TotalMinutes",d.StiPropertyType.TotalMinutes),this._propertiesList.set("TotalSeconds",d.StiPropertyType.TotalSeconds),this._propertiesList.set("TotalMilliseconds",d.StiPropertyType.TotalMilliseconds),this._propertiesList.set("Count",d.StiPropertyType.Count),this._propertiesList.set("BusinessObjectValue",d.StiPropertyType.BusinessObjectValue),this._propertiesList.set("Position",d.StiPropertyType.Position),this._propertiesList.set("Line",d.StiPropertyType.Line)),this._propertiesList},enumerable:!1,configurable:!0}),Object.defineProperty(i,"functionsList",{get:function(){return null==this._functionsList&&(this._functionsList=new u,this._functionsList.set("Count",d.StiFunctionType.Count),this._functionsList.set("CountDistinct",d.StiFunctionType.CountDistinct),this._functionsList.set("Avg",d.StiFunctionType.Avg),this._functionsList.set("AvgD",d.StiFunctionType.AvgD),this._functionsList.set("AvgDate",d.StiFunctionType.AvgDate),this._functionsList.set("AvgI",d.StiFunctionType.AvgI),this._functionsList.set("AvgTime",d.StiFunctionType.AvgTime),this._functionsList.set("Max",d.StiFunctionType.Max),this._functionsList.set("MaxD",d.StiFunctionType.MaxD),this._functionsList.set("MaxDate",d.StiFunctionType.MaxDate),this._functionsList.set("MaxI",d.StiFunctionType.MaxI),this._functionsList.set("MaxStr",d.StiFunctionType.MaxStr),this._functionsList.set("MaxTime",d.StiFunctionType.MaxTime),this._functionsList.set("Median",d.StiFunctionType.Median),this._functionsList.set("MedianD",d.StiFunctionType.MedianD),this._functionsList.set("MedianI",d.StiFunctionType.MedianI),this._functionsList.set("Min",d.StiFunctionType.Min),this._functionsList.set("MinD",d.StiFunctionType.MinD),this._functionsList.set("MinDate",d.StiFunctionType.MinDate),this._functionsList.set("MinI",d.StiFunctionType.MinI),this._functionsList.set("MinStr",d.StiFunctionType.MinStr),this._functionsList.set("MinTime",d.StiFunctionType.MinTime),this._functionsList.set("Mode",d.StiFunctionType.Mode),this._functionsList.set("ModeD",d.StiFunctionType.ModeD),this._functionsList.set("ModeI",d.StiFunctionType.ModeI),this._functionsList.set("Sum",d.StiFunctionType.Sum),this._functionsList.set("SumD",d.StiFunctionType.SumD),this._functionsList.set("SumDistinct",d.StiFunctionType.SumDistinct),this._functionsList.set("SumI",d.StiFunctionType.SumI),this._functionsList.set("SumTime",d.StiFunctionType.SumTime),this._functionsList.set("First",d.StiFunctionType.First),this._functionsList.set("Last",d.StiFunctionType.Last),this._functionsList.set("CountRunning",d.StiFunctionType.rCount),this._functionsList.set("CountDistinctRunning",d.StiFunctionType.rCountDistinct),this._functionsList.set("AvgRunning",d.StiFunctionType.rAvg),this._functionsList.set("AvgDRunning",d.StiFunctionType.rAvgD),this._functionsList.set("AvgDateRunning",d.StiFunctionType.rAvgDate),this._functionsList.set("AvgIRunning",d.StiFunctionType.rAvgI),this._functionsList.set("AvgTimeRunning",d.StiFunctionType.rAvgTime),this._functionsList.set("MaxRunning",d.StiFunctionType.rMax),this._functionsList.set("MaxDRunning",d.StiFunctionType.rMaxD),this._functionsList.set("MaxDateRunning",d.StiFunctionType.rMaxDate),this._functionsList.set("MaxIRunning",d.StiFunctionType.rMaxI),this._functionsList.set("MaxStrRunning",d.StiFunctionType.rMaxStr),this._functionsList.set("MaxTimeRunning",d.StiFunctionType.rMaxTime),this._functionsList.set("MedianRunning",d.StiFunctionType.rMedian),this._functionsList.set("MedianDRunning",d.StiFunctionType.rMedianD),this._functionsList.set("MedianIRunning",d.StiFunctionType.rMedianI),this._functionsList.set("MinRunning",d.StiFunctionType.rMin),this._functionsList.set("MinDRunning",d.StiFunctionType.rMinD),this._functionsList.set("MinDateRunning",d.StiFunctionType.rMinDate),this._functionsList.set("MinIRunning",d.StiFunctionType.rMinI),this._functionsList.set("MinStrRunning",d.StiFunctionType.rMinStr),this._functionsList.set("MinTimeRunning",d.StiFunctionType.rMinTime),this._functionsList.set("ModeRunning",d.StiFunctionType.rMode),this._functionsList.set("ModeDRunning",d.StiFunctionType.rModeD),this._functionsList.set("ModeIRunning",d.StiFunctionType.rModeI),this._functionsList.set("SumRunning",d.StiFunctionType.rSum),this._functionsList.set("SumDRunning",d.StiFunctionType.rSumD),this._functionsList.set("SumDistinctRunning",d.StiFunctionType.rSumDistinct),this._functionsList.set("SumIRunning",d.StiFunctionType.rSumI),this._functionsList.set("SumTimeRunning",d.StiFunctionType.rSumTime),this._functionsList.set("FirstRunning",d.StiFunctionType.rFirst),this._functionsList.set("LastRunning",d.StiFunctionType.rLast),this._functionsList.set("CountIf",d.StiFunctionType.iCount),this._functionsList.set("CountDistinctIf",d.StiFunctionType.iCountDistinct),this._functionsList.set("AvgIf",d.StiFunctionType.iAvg),this._functionsList.set("AvgDIf",d.StiFunctionType.iAvgD),this._functionsList.set("AvgDateIf",d.StiFunctionType.iAvgDate),this._functionsList.set("AvgIIf",d.StiFunctionType.iAvgI),this._functionsList.set("AvgTimeIf",d.StiFunctionType.iAvgTime),this._functionsList.set("MaxIf",d.StiFunctionType.iMax),this._functionsList.set("MaxDIf",d.StiFunctionType.iMaxD),this._functionsList.set("MaxDateIf",d.StiFunctionType.iMaxDate),this._functionsList.set("MaxIIf",d.StiFunctionType.iMaxI),this._functionsList.set("MaxStrIf",d.StiFunctionType.iMaxStr),this._functionsList.set("MaxTimeIf",d.StiFunctionType.iMaxTime),this._functionsList.set("MedianIf",d.StiFunctionType.iMedian),this._functionsList.set("MedianDIf",d.StiFunctionType.iMedianD),this._functionsList.set("MedianIIf",d.StiFunctionType.iMedianI),this._functionsList.set("MinIf",d.StiFunctionType.iMin),this._functionsList.set("MinDIf",d.StiFunctionType.iMinD),this._functionsList.set("MinDateIf",d.StiFunctionType.iMinDate),this._functionsList.set("MinIIf",d.StiFunctionType.iMinI),this._functionsList.set("MinStrIf",d.StiFunctionType.iMinStr),this._functionsList.set("MinTimeIf",d.StiFunctionType.iMinTime),this._functionsList.set("ModeIf",d.StiFunctionType.iMode),this._functionsList.set("ModeDIf",d.StiFunctionType.iModeD),this._functionsList.set("ModeIIf",d.StiFunctionType.iModeI),this._functionsList.set("SumIf",d.StiFunctionType.iSum),this._functionsList.set("SumDIf",d.StiFunctionType.iSumD),this._functionsList.set("SumDistinctIf",d.StiFunctionType.iSumDistinct),this._functionsList.set("SumIIf",d.StiFunctionType.iSumI),this._functionsList.set("SumTimeIf",d.StiFunctionType.iSumTime),this._functionsList.set("FirstIf",d.StiFunctionType.iFirst),this._functionsList.set("LastIf",d.StiFunctionType.iLast),this._functionsList.set("CountIfRunning",d.StiFunctionType.riCount),this._functionsList.set("CountDistinctIfRunning",d.StiFunctionType.riCountDistinct),this._functionsList.set("AvgIfRunning",d.StiFunctionType.riAvg),this._functionsList.set("AvgDIfRunning",d.StiFunctionType.riAvgD),this._functionsList.set("AvgDateIfRunning",d.StiFunctionType.riAvgDate),this._functionsList.set("AvgIIfRunning",d.StiFunctionType.riAvgI),this._functionsList.set("AvgTimeIfRunning",d.StiFunctionType.riAvgTime),this._functionsList.set("MaxIfRunning",d.StiFunctionType.riMax),this._functionsList.set("MaxDIfRunning",d.StiFunctionType.riMaxD),this._functionsList.set("MaxDateIfRunning",d.StiFunctionType.riMaxDate),this._functionsList.set("MaxIIfRunning",d.StiFunctionType.riMaxI),this._functionsList.set("MaxStrIfRunning",d.StiFunctionType.riMaxStr),this._functionsList.set("MaxTimeIfRunning",d.StiFunctionType.riMaxTime),this._functionsList.set("MedianIfRunning",d.StiFunctionType.riMedian),this._functionsList.set("MedianDIfRunning",d.StiFunctionType.riMedianD),this._functionsList.set("MedianIIfRunning",d.StiFunctionType.riMedianI),this._functionsList.set("MinIfRunning",d.StiFunctionType.riMin),this._functionsList.set("MinDIfRunning",d.StiFunctionType.riMinD),this._functionsList.set("MinDateIfRunning",d.StiFunctionType.riMinDate),this._functionsList.set("MinIIfRunning",d.StiFunctionType.riMinI),this._functionsList.set("MinStrIfRunning",d.StiFunctionType.riMinStr),this._functionsList.set("MinTimeIfRunning",d.StiFunctionType.riMinTime),this._functionsList.set("ModeIfRunning",d.StiFunctionType.riMode),this._functionsList.set("ModeDIfRunning",d.StiFunctionType.riModeD),this._functionsList.set("ModeIIfRunning",d.StiFunctionType.riModeI),this._functionsList.set("SumIfRunning",d.StiFunctionType.riSum),this._functionsList.set("SumDIfRunning",d.StiFunctionType.riSumD),this._functionsList.set("SumDistinctIfRunning",d.StiFunctionType.riSumDistinct),this._functionsList.set("SumIIfRunning",d.StiFunctionType.riSumI),this._functionsList.set("SumTimeIfRunning",d.StiFunctionType.riSumTime),this._functionsList.set("FirstIfRunning",d.StiFunctionType.riFirst),this._functionsList.set("LastIfRunning",d.StiFunctionType.riLast),this._functionsList.set("colCount",d.StiFunctionType.cCount),this._functionsList.set("colCountDistinct",d.StiFunctionType.cCountDistinct),this._functionsList.set("colAvg",d.StiFunctionType.cAvg),this._functionsList.set("colAvgD",d.StiFunctionType.cAvgD),this._functionsList.set("colAvgDate",d.StiFunctionType.cAvgDate),this._functionsList.set("colAvgI",d.StiFunctionType.cAvgI),this._functionsList.set("colAvgTime",d.StiFunctionType.cAvgTime),this._functionsList.set("colMax",d.StiFunctionType.cMax),this._functionsList.set("colMaxD",d.StiFunctionType.cMaxD),this._functionsList.set("colMaxDate",d.StiFunctionType.cMaxDate),this._functionsList.set("colMaxI",d.StiFunctionType.cMaxI),this._functionsList.set("colMaxStr",d.StiFunctionType.cMaxStr),this._functionsList.set("colMaxTime",d.StiFunctionType.cMaxTime),this._functionsList.set("colMedian",d.StiFunctionType.cMedian),this._functionsList.set("colMedianD",d.StiFunctionType.cMedianD),this._functionsList.set("colMedianI",d.StiFunctionType.cMedianI),this._functionsList.set("colMin",d.StiFunctionType.cMin),this._functionsList.set("colMinD",d.StiFunctionType.cMinD),this._functionsList.set("colMinDate",d.StiFunctionType.cMinDate),this._functionsList.set("colMinI",d.StiFunctionType.cMinI),this._functionsList.set("colMinStr",d.StiFunctionType.cMinStr),this._functionsList.set("colMinTime",d.StiFunctionType.cMinTime),this._functionsList.set("colMode",d.StiFunctionType.cMode),this._functionsList.set("colModeD",d.StiFunctionType.cModeD),this._functionsList.set("colModeI",d.StiFunctionType.cModeI),this._functionsList.set("colSum",d.StiFunctionType.cSum),this._functionsList.set("colSumD",d.StiFunctionType.cSumD),this._functionsList.set("colSumDistinct",d.StiFunctionType.cSumDistinct),this._functionsList.set("colSumI",d.StiFunctionType.cSumI),this._functionsList.set("colSumTime",d.StiFunctionType.cSumTime),this._functionsList.set("colFirst",d.StiFunctionType.cFirst),this._functionsList.set("colLast",d.StiFunctionType.cLast),this._functionsList.set("colCountRunning",d.StiFunctionType.crCount),this._functionsList.set("colCountDistinctRunning",d.StiFunctionType.crCountDistinct),this._functionsList.set("colAvgRunning",d.StiFunctionType.crAvg),this._functionsList.set("colAvgDRunning",d.StiFunctionType.crAvgD),this._functionsList.set("colAvgDateRunning",d.StiFunctionType.crAvgDate),this._functionsList.set("colAvgIRunning",d.StiFunctionType.crAvgI),this._functionsList.set("colAvgTimeRunning",d.StiFunctionType.crAvgTime),this._functionsList.set("colMaxRunning",d.StiFunctionType.crMax),this._functionsList.set("colMaxDRunning",d.StiFunctionType.crMaxD),this._functionsList.set("colMaxDateRunning",d.StiFunctionType.crMaxDate),this._functionsList.set("colMaxIRunning",d.StiFunctionType.crMaxI),this._functionsList.set("colMaxStrRunning",d.StiFunctionType.crMaxStr),this._functionsList.set("colMaxTimeRunning",d.StiFunctionType.crMaxTime),this._functionsList.set("colMedianRunning",d.StiFunctionType.crMedian),this._functionsList.set("colMedianDRunning",d.StiFunctionType.crMedianD),this._functionsList.set("colMedianIRunning",d.StiFunctionType.crMedianI),this._functionsList.set("colMinRunning",d.StiFunctionType.crMin),this._functionsList.set("colMinDRunning",d.StiFunctionType.crMinD),this._functionsList.set("colMinDateRunning",d.StiFunctionType.crMinDate),this._functionsList.set("colMinIRunning",d.StiFunctionType.crMinI),this._functionsList.set("colMinStrRunning",d.StiFunctionType.crMinStr),this._functionsList.set("colMinTimeRunning",d.StiFunctionType.crMinTime),this._functionsList.set("colModeRunning",d.StiFunctionType.crMode),this._functionsList.set("colModeDRunning",d.StiFunctionType.crModeD),this._functionsList.set("colModeIRunning",d.StiFunctionType.crModeI),this._functionsList.set("colSumRunning",d.StiFunctionType.crSum),this._functionsList.set("colSumDRunning",d.StiFunctionType.crSumD),this._functionsList.set("colSumDistinctRunning",d.StiFunctionType.crSumDistinct),this._functionsList.set("colSumIRunning",d.StiFunctionType.crSumI),this._functionsList.set("colSumTimeRunning",d.StiFunctionType.crSumTime),this._functionsList.set("colFirstRunning",d.StiFunctionType.crFirst),this._functionsList.set("colLastRunning",d.StiFunctionType.crLast),this._functionsList.set("colCountIf",d.StiFunctionType.ciCount),this._functionsList.set("colCountDistinctIf",d.StiFunctionType.ciCountDistinct),this._functionsList.set("colAvgIf",d.StiFunctionType.ciAvg),this._functionsList.set("colAvgDIf",d.StiFunctionType.ciAvgD),this._functionsList.set("colAvgDateIf",d.StiFunctionType.ciAvgDate),this._functionsList.set("colAvgIIf",d.StiFunctionType.ciAvgI),this._functionsList.set("colAvgTimeIf",d.StiFunctionType.ciAvgTime),this._functionsList.set("colMaxIf",d.StiFunctionType.ciMax),this._functionsList.set("colMaxDIf",d.StiFunctionType.ciMaxD),this._functionsList.set("colMaxDateIf",d.StiFunctionType.ciMaxDate),this._functionsList.set("colMaxIIf",d.StiFunctionType.ciMaxI),this._functionsList.set("colMaxStrIf",d.StiFunctionType.ciMaxStr),this._functionsList.set("colMaxTimeIf",d.StiFunctionType.ciMaxTime),this._functionsList.set("colMedianIf",d.StiFunctionType.ciMedian),this._functionsList.set("colMedianDIf",d.StiFunctionType.ciMedianD),this._functionsList.set("colMedianIIf",d.StiFunctionType.ciMedianI),this._functionsList.set("colMinIf",d.StiFunctionType.ciMin),this._functionsList.set("colMinDIf",d.StiFunctionType.ciMinD),this._functionsList.set("colMinDateIf",d.StiFunctionType.ciMinDate),this._functionsList.set("colMinIIf",d.StiFunctionType.ciMinI),this._functionsList.set("colMinStrIf",d.StiFunctionType.ciMinStr),this._functionsList.set("colMinTimeIf",d.StiFunctionType.ciMinTime),this._functionsList.set("colModeIf",d.StiFunctionType.ciMode),this._functionsList.set("colModeDIf",d.StiFunctionType.ciModeD),this._functionsList.set("colModeIIf",d.StiFunctionType.ciModeI),this._functionsList.set("colSumIf",d.StiFunctionType.ciSum),this._functionsList.set("colSumDIf",d.StiFunctionType.ciSumD),this._functionsList.set("colSumDistinctIf",d.StiFunctionType.ciSumDistinct),this._functionsList.set("colSumIIf",d.StiFunctionType.ciSumI),this._functionsList.set("colSumTimeIf",d.StiFunctionType.ciSumTime),this._functionsList.set("colFirstIf",d.StiFunctionType.ciFirst),this._functionsList.set("colLastIf",d.StiFunctionType.ciLast),this._functionsList.set("colCountIfRunning",d.StiFunctionType.criCount),this._functionsList.set("colCountDistinctIfRunning",d.StiFunctionType.criCountDistinct),this._functionsList.set("colAvgIfRunning",d.StiFunctionType.criAvg),this._functionsList.set("colAvgDIfRunning",d.StiFunctionType.criAvgD),this._functionsList.set("colAvgDateIfRunning",d.StiFunctionType.criAvgDate),this._functionsList.set("colAvgIIfRunning",d.StiFunctionType.criAvgI),this._functionsList.set("colAvgTimeIfRunning",d.StiFunctionType.criAvgTime),this._functionsList.set("colMaxIfRunning",d.StiFunctionType.criMax),this._functionsList.set("colMaxDIfRunning",d.StiFunctionType.criMaxD),this._functionsList.set("colMaxDateIfRunning",d.StiFunctionType.criMaxDate),this._functionsList.set("colMaxIIfRunning",d.StiFunctionType.criMaxI),this._functionsList.set("colMaxStrIfRunning",d.StiFunctionType.criMaxStr),this._functionsList.set("colMaxTimeIfRunning",d.StiFunctionType.criMaxTime),this._functionsList.set("colMedianIfRunning",d.StiFunctionType.criMedian),this._functionsList.set("colMedianDIfRunning",d.StiFunctionType.criMedianD),this._functionsList.set("colMedianIIfRunning",d.StiFunctionType.criMedianI),this._functionsList.set("colMinIfRunning",d.StiFunctionType.criMin),this._functionsList.set("colMinDIfRunning",d.StiFunctionType.criMinD),this._functionsList.set("colMinDateIfRunning",d.StiFunctionType.criMinDate),this._functionsList.set("colMinIIfRunning",d.StiFunctionType.criMinI),this._functionsList.set("colMinStrIfRunning",d.StiFunctionType.criMinStr),this._functionsList.set("colMinTimeIfRunning",d.StiFunctionType.criMinTime),this._functionsList.set("colModeIfRunning",d.StiFunctionType.criMode),this._functionsList.set("colModeDIfRunning",d.StiFunctionType.criModeD),this._functionsList.set("colModeIIfRunning",d.StiFunctionType.criModeI),this._functionsList.set("colSumIfRunning",d.StiFunctionType.criSum),this._functionsList.set("colSumDIfRunning",d.StiFunctionType.criSumD),this._functionsList.set("colSumDistinctIfRunning",d.StiFunctionType.criSumDistinct),this._functionsList.set("colSumIIfRunning",d.StiFunctionType.criSumI),this._functionsList.set("colSumTimeIfRunning",d.StiFunctionType.criSumTime),this._functionsList.set("colFirstIfRunning",d.StiFunctionType.criFirst),this._functionsList.set("colLastIfRunning",d.StiFunctionType.criLast),this._functionsList.set("cCount",d.StiFunctionType.pCount),this._functionsList.set("cCountDistinct",d.StiFunctionType.pCountDistinct),this._functionsList.set("cAvg",d.StiFunctionType.pAvg),this._functionsList.set("cAvgD",d.StiFunctionType.pAvgD),this._functionsList.set("cAvgDate",d.StiFunctionType.pAvgDate),this._functionsList.set("cAvgI",d.StiFunctionType.pAvgI),this._functionsList.set("cAvgTime",d.StiFunctionType.pAvgTime),this._functionsList.set("cMax",d.StiFunctionType.pMax),this._functionsList.set("cMaxD",d.StiFunctionType.pMaxD),this._functionsList.set("cMaxDate",d.StiFunctionType.pMaxDate),this._functionsList.set("cMaxI",d.StiFunctionType.pMaxI),this._functionsList.set("cMaxStr",d.StiFunctionType.pMaxStr),this._functionsList.set("cMaxTime",d.StiFunctionType.pMaxTime),this._functionsList.set("cMedian",d.StiFunctionType.pMedian),this._functionsList.set("cMedianD",d.StiFunctionType.pMedianD),this._functionsList.set("cMedianI",d.StiFunctionType.pMedianI),this._functionsList.set("cMin",d.StiFunctionType.pMin),this._functionsList.set("cMinD",d.StiFunctionType.pMinD),this._functionsList.set("cMinDate",d.StiFunctionType.pMinDate),this._functionsList.set("cMinI",d.StiFunctionType.pMinI),this._functionsList.set("cMinStr",d.StiFunctionType.pMinStr),this._functionsList.set("cMinTime",d.StiFunctionType.pMinTime),this._functionsList.set("cMode",d.StiFunctionType.pMode),this._functionsList.set("cModeD",d.StiFunctionType.pModeD),this._functionsList.set("cModeI",d.StiFunctionType.pModeI),this._functionsList.set("cSum",d.StiFunctionType.pSum),this._functionsList.set("cSumD",d.StiFunctionType.pSumD),this._functionsList.set("cSumDistinct",d.StiFunctionType.pSumDistinct),this._functionsList.set("cSumI",d.StiFunctionType.pSumI),this._functionsList.set("cSumTime",d.StiFunctionType.pSumTime),this._functionsList.set("cFirst",d.StiFunctionType.pFirst),this._functionsList.set("cLast",d.StiFunctionType.pLast),this._functionsList.set("cCountRunning",d.StiFunctionType.prCount),this._functionsList.set("cCountDistinctRunning",d.StiFunctionType.prCountDistinct),this._functionsList.set("cAvgRunning",d.StiFunctionType.prAvg),this._functionsList.set("cAvgDRunning",d.StiFunctionType.prAvgD),this._functionsList.set("cAvgDateRunning",d.StiFunctionType.prAvgDate),this._functionsList.set("cAvgIRunning",d.StiFunctionType.prAvgI),this._functionsList.set("cAvgTimeRunning",d.StiFunctionType.prAvgTime),this._functionsList.set("cMaxRunning",d.StiFunctionType.prMax),this._functionsList.set("cMaxDRunning",d.StiFunctionType.prMaxD),this._functionsList.set("cMaxDateRunning",d.StiFunctionType.prMaxDate),this._functionsList.set("cMaxIRunning",d.StiFunctionType.prMaxI),this._functionsList.set("cMaxStrRunning",d.StiFunctionType.prMaxStr),this._functionsList.set("cMaxTimeRunning",d.StiFunctionType.prMaxTime),this._functionsList.set("cMedianRunning",d.StiFunctionType.prMedian),this._functionsList.set("cMedianDRunning",d.StiFunctionType.prMedianD),this._functionsList.set("cMedianIRunning",d.StiFunctionType.prMedianI),this._functionsList.set("cMinRunning",d.StiFunctionType.prMin),this._functionsList.set("cMinDRunning",d.StiFunctionType.prMinD),this._functionsList.set("cMinDateRunning",d.StiFunctionType.prMinDate),this._functionsList.set("cMinIRunning",d.StiFunctionType.prMinI),this._functionsList.set("cMinStrRunning",d.StiFunctionType.prMinStr),this._functionsList.set("cMinTimeRunning",d.StiFunctionType.prMinTime),this._functionsList.set("cModeRunning",d.StiFunctionType.prMode),this._functionsList.set("cModeDRunning",d.StiFunctionType.prModeD),this._functionsList.set("cModeIRunning",d.StiFunctionType.prModeI),this._functionsList.set("cSumRunning",d.StiFunctionType.prSum),this._functionsList.set("cSumDRunning",d.StiFunctionType.prSumD),this._functionsList.set("cSumDistinctRunning",d.StiFunctionType.prSumDistinct),this._functionsList.set("cSumIRunning",d.StiFunctionType.prSumI),this._functionsList.set("cSumTimeRunning",d.StiFunctionType.prSumTime),this._functionsList.set("cFirstRunning",d.StiFunctionType.prFirst),this._functionsList.set("cLastRunning",d.StiFunctionType.prLast),this._functionsList.set("cCountIf",d.StiFunctionType.piCount),this._functionsList.set("cCountDistinctIf",d.StiFunctionType.piCountDistinct),this._functionsList.set("cAvgIf",d.StiFunctionType.piAvg),this._functionsList.set("cAvgDIf",d.StiFunctionType.piAvgD),this._functionsList.set("cAvgDateIf",d.StiFunctionType.piAvgDate),this._functionsList.set("cAvgIIf",d.StiFunctionType.piAvgI),this._functionsList.set("cAvgTimeIf",d.StiFunctionType.piAvgTime),this._functionsList.set("cMaxIf",d.StiFunctionType.piMax),this._functionsList.set("cMaxDIf",d.StiFunctionType.piMaxD),this._functionsList.set("cMaxDateIf",d.StiFunctionType.piMaxDate),this._functionsList.set("cMaxIIf",d.StiFunctionType.piMaxI),this._functionsList.set("cMaxStrIf",d.StiFunctionType.piMaxStr),this._functionsList.set("cMaxTimeIf",d.StiFunctionType.piMaxTime),this._functionsList.set("cMedianIf",d.StiFunctionType.piMedian),this._functionsList.set("cMedianDIf",d.StiFunctionType.piMedianD),this._functionsList.set("cMedianIIf",d.StiFunctionType.piMedianI),this._functionsList.set("cMinIf",d.StiFunctionType.piMin),this._functionsList.set("cMinDIf",d.StiFunctionType.piMinD),this._functionsList.set("cMinDateIf",d.StiFunctionType.piMinDate),this._functionsList.set("cMinIIf",d.StiFunctionType.piMinI),this._functionsList.set("cMinStrIf",d.StiFunctionType.piMinStr),this._functionsList.set("cMinTimeIf",d.StiFunctionType.piMinTime),this._functionsList.set("cModeIf",d.StiFunctionType.piMode),this._functionsList.set("cModeDIf",d.StiFunctionType.piModeD),this._functionsList.set("cModeIIf",d.StiFunctionType.piModeI),this._functionsList.set("cSumIf",d.StiFunctionType.piSum),this._functionsList.set("cSumDIf",d.StiFunctionType.piSumD),this._functionsList.set("cSumDistinctIf",d.StiFunctionType.piSumDistinct),this._functionsList.set("cSumIIf",d.StiFunctionType.piSumI),this._functionsList.set("cSumTimeIf",d.StiFunctionType.piSumTime),this._functionsList.set("cFirstIf",d.StiFunctionType.piFirst),this._functionsList.set("cLastIf",d.StiFunctionType.piLast),this._functionsList.set("cCountIfRunning",d.StiFunctionType.priCount),this._functionsList.set("cCountDistinctIfRunning",d.StiFunctionType.priCountDistinct),this._functionsList.set("cAvgIfRunning",d.StiFunctionType.priAvg),this._functionsList.set("cAvgDIfRunning",d.StiFunctionType.priAvgD),this._functionsList.set("cAvgDateIfRunning",d.StiFunctionType.priAvgDate),this._functionsList.set("cAvgIIfRunning",d.StiFunctionType.priAvgI),this._functionsList.set("cAvgTimeIfRunning",d.StiFunctionType.priAvgTime),this._functionsList.set("cMaxIfRunning",d.StiFunctionType.priMax),this._functionsList.set("cMaxDIfRunning",d.StiFunctionType.priMaxD),this._functionsList.set("cMaxDateIfRunning",d.StiFunctionType.priMaxDate),this._functionsList.set("cMaxIIfRunning",d.StiFunctionType.priMaxI),this._functionsList.set("cMaxStrIfRunning",d.StiFunctionType.priMaxStr),this._functionsList.set("cMaxTimeIfRunning",d.StiFunctionType.priMaxTime),this._functionsList.set("cMedianIfRunning",d.StiFunctionType.priMedian),this._functionsList.set("cMedianDIfRunning",d.StiFunctionType.priMedianD),this._functionsList.set("cMedianIIfRunning",d.StiFunctionType.priMedianI),this._functionsList.set("cMinIfRunning",d.StiFunctionType.priMin),this._functionsList.set("cMinDIfRunning",d.StiFunctionType.priMinD),this._functionsList.set("cMinDateIfRunning",d.StiFunctionType.priMinDate),this._functionsList.set("cMinIIfRunning",d.StiFunctionType.priMinI),this._functionsList.set("cMinStrIfRunning",d.StiFunctionType.priMinStr),this._functionsList.set("cMinTimeIfRunning",d.StiFunctionType.priMinTime),this._functionsList.set("cModeIfRunning",d.StiFunctionType.priMode),this._functionsList.set("cModeDIfRunning",d.StiFunctionType.priModeD),this._functionsList.set("cModeIIfRunning",d.StiFunctionType.priModeI),this._functionsList.set("cSumIfRunning",d.StiFunctionType.priSum),this._functionsList.set("cSumDIfRunning",d.StiFunctionType.priSumD),this._functionsList.set("cSumDistinctIfRunning",d.StiFunctionType.priSumDistinct),this._functionsList.set("cSumIIfRunning",d.StiFunctionType.priSumI),this._functionsList.set("cSumTimeIfRunning",d.StiFunctionType.priSumTime),this._functionsList.set("cFirstIfRunning",d.StiFunctionType.priFirst),this._functionsList.set("cLastIfRunning",d.StiFunctionType.priLast),this._functionsList.set("Totals.Count",d.StiFunctionType.Count),this._functionsList.set("Totals.CountDistinct",d.StiFunctionType.CountDistinct),this._functionsList.set("Totals.Avg",d.StiFunctionType.Avg),this._functionsList.set("Totals.AvgD",d.StiFunctionType.AvgD),this._functionsList.set("Totals.AvgDate",d.StiFunctionType.AvgDate),this._functionsList.set("Totals.AvgI",d.StiFunctionType.AvgI),this._functionsList.set("Totals.AvgTime",d.StiFunctionType.AvgTime),this._functionsList.set("Totals.Max",d.StiFunctionType.Max),this._functionsList.set("Totals.MaxD",d.StiFunctionType.MaxD),this._functionsList.set("Totals.MaxDate",d.StiFunctionType.MaxDate),this._functionsList.set("Totals.MaxI",d.StiFunctionType.MaxI),this._functionsList.set("Totals.MaxStr",d.StiFunctionType.MaxStr),this._functionsList.set("Totals.MaxTime",d.StiFunctionType.MaxTime),this._functionsList.set("Totals.Median",d.StiFunctionType.Median),this._functionsList.set("Totals.MedianD",d.StiFunctionType.MedianD),this._functionsList.set("Totals.MedianI",d.StiFunctionType.MedianI),this._functionsList.set("Totals.Min",d.StiFunctionType.Min),this._functionsList.set("Totals.MinD",d.StiFunctionType.MinD),this._functionsList.set("Totals.MinDate",d.StiFunctionType.MinDate),this._functionsList.set("Totals.MinI",d.StiFunctionType.MinI),this._functionsList.set("Totals.MinStr",d.StiFunctionType.MinStr),this._functionsList.set("Totals.MinTime",d.StiFunctionType.MinTime),this._functionsList.set("Totals.Mode",d.StiFunctionType.Mode),this._functionsList.set("Totals.ModeD",d.StiFunctionType.ModeD),this._functionsList.set("Totals.ModeI",d.StiFunctionType.ModeI),this._functionsList.set("Totals.Sum",d.StiFunctionType.Sum),this._functionsList.set("Totals.SumD",d.StiFunctionType.SumD),this._functionsList.set("Totals.SumDistinct",d.StiFunctionType.SumDistinct),this._functionsList.set("Totals.SumI",d.StiFunctionType.SumI),this._functionsList.set("Totals.SumTime",d.StiFunctionType.SumTime),this._functionsList.set("Totals.First",d.StiFunctionType.First),this._functionsList.set("Totals.Last",d.StiFunctionType.Last),this._functionsList.set("Totals.cCount",d.StiFunctionType.pCount),this._functionsList.set("Totals.cCountDistinct",d.StiFunctionType.pCountDistinct),this._functionsList.set("Totals.cAvg",d.StiFunctionType.pAvg),this._functionsList.set("Totals.cAvgD",d.StiFunctionType.pAvgD),this._functionsList.set("Totals.cAvgDate",d.StiFunctionType.pAvgDate),this._functionsList.set("Totals.cAvgI",d.StiFunctionType.pAvgI),this._functionsList.set("Totals.cAvgTime",d.StiFunctionType.pAvgTime),this._functionsList.set("Totals.cMax",d.StiFunctionType.pMax),this._functionsList.set("Totals.cMaxD",d.StiFunctionType.pMaxD),this._functionsList.set("Totals.cMaxDate",d.StiFunctionType.pMaxDate),this._functionsList.set("Totals.cMaxI",d.StiFunctionType.pMaxI),this._functionsList.set("Totals.cMaxStr",d.StiFunctionType.pMaxStr),this._functionsList.set("Totals.cMaxTime",d.StiFunctionType.pMaxTime),this._functionsList.set("Totals.cMedian",d.StiFunctionType.pMedian),this._functionsList.set("Totals.cMedianD",d.StiFunctionType.pMedianD),this._functionsList.set("Totals.cMedianI",d.StiFunctionType.pMedianI),this._functionsList.set("Totals.cMin",d.StiFunctionType.pMin),this._functionsList.set("Totals.cMinD",d.StiFunctionType.pMinD),this._functionsList.set("Totals.cMinDate",d.StiFunctionType.pMinDate),this._functionsList.set("Totals.cMinI",d.StiFunctionType.pMinI),this._functionsList.set("Totals.cMinStr",d.StiFunctionType.pMinStr),this._functionsList.set("Totals.cMinTime",d.StiFunctionType.pMinTime),this._functionsList.set("Totals.cMode",d.StiFunctionType.pMode),this._functionsList.set("Totals.cModeD",d.StiFunctionType.pModeD),this._functionsList.set("Totals.cModeI",d.StiFunctionType.pModeI),this._functionsList.set("Totals.cSum",d.StiFunctionType.pSum),this._functionsList.set("Totals.cSumD",d.StiFunctionType.pSumD),this._functionsList.set("Totals.cSumDistinct",d.StiFunctionType.pSumDistinct),this._functionsList.set("Totals.cSumI",d.StiFunctionType.pSumI),this._functionsList.set("Totals.cSumTime",d.StiFunctionType.pSumTime),this._functionsList.set("Totals.cFirst",d.StiFunctionType.pFirst),this._functionsList.set("Totals.cLast",d.StiFunctionType.pLast),this._functionsList.set("Totals.cCountRunning",d.StiFunctionType.prCount),this._functionsList.set("Totals.cCountDistinctRunning",d.StiFunctionType.prCountDistinct),this._functionsList.set("Totals.cAvgRunning",d.StiFunctionType.prAvg),this._functionsList.set("Totals.cAvgDRunning",d.StiFunctionType.prAvgD),this._functionsList.set("Totals.cAvgDateRunning",d.StiFunctionType.prAvgDate),this._functionsList.set("Totals.cAvgIRunning",d.StiFunctionType.prAvgI),this._functionsList.set("Totals.cAvgTimeRunning",d.StiFunctionType.prAvgTime),this._functionsList.set("Totals.cMaxRunning",d.StiFunctionType.prMax),this._functionsList.set("Totals.cMaxDRunning",d.StiFunctionType.prMaxD),this._functionsList.set("Totals.cMaxDateRunning",d.StiFunctionType.prMaxDate),this._functionsList.set("Totals.cMaxIRunning",d.StiFunctionType.prMaxI),this._functionsList.set("Totals.cMaxStrRunning",d.StiFunctionType.prMaxStr),this._functionsList.set("Totals.cMaxTimeRunning",d.StiFunctionType.prMaxTime),this._functionsList.set("Totals.cMedianRunning",d.StiFunctionType.prMedian),this._functionsList.set("Totals.cMedianDRunning",d.StiFunctionType.prMedianD),this._functionsList.set("Totals.cMedianIRunning",d.StiFunctionType.prMedianI),this._functionsList.set("Totals.cMinRunning",d.StiFunctionType.prMin),this._functionsList.set("Totals.cMinDRunning",d.StiFunctionType.prMinD),this._functionsList.set("Totals.cMinDateRunning",d.StiFunctionType.prMinDate),this._functionsList.set("Totals.cMinIRunning",d.StiFunctionType.prMinI),this._functionsList.set("Totals.cMinStrRunning",d.StiFunctionType.prMinStr),this._functionsList.set("Totals.cMinTimeRunning",d.StiFunctionType.prMinTime),this._functionsList.set("Totals.cModeRunning",d.StiFunctionType.prMode),this._functionsList.set("Totals.cModeDRunning",d.StiFunctionType.prModeD),this._functionsList.set("Totals.cModeIRunning",d.StiFunctionType.prModeI),this._functionsList.set("Totals.cSumRunning",d.StiFunctionType.prSum),this._functionsList.set("Totals.cSumDRunning",d.StiFunctionType.prSumD),this._functionsList.set("Totals.cSumDistinctRunning",d.StiFunctionType.prSumDistinct),this._functionsList.set("Totals.cSumIRunning",d.StiFunctionType.prSumI),this._functionsList.set("Totals.cSumTimeRunning",d.StiFunctionType.prSumTime),this._functionsList.set("Totals.cFirstRunning",d.StiFunctionType.prFirst),this._functionsList.set("Totals.cLastRunning",d.StiFunctionType.prLast),this._functionsList.set("Totals.CountAllLevels",d.StiFunctionType.CountAllLevels),this._functionsList.set("Totals.CountAllLevelsOnlyChilds",d.StiFunctionType.CountAllLevelsOnlyChilds),this._functionsList.set("Totals.CountOnlyChilds",d.StiFunctionType.CountOnlyChilds),this._functionsList.set("Totals.Rank",d.StiFunctionType.Rank),this._functionsList.set("Abs",d.StiFunctionType.Abs),this._functionsList.set("Acos",d.StiFunctionType.Acos),this._functionsList.set("Asin",d.StiFunctionType.Asin),this._functionsList.set("Atan",d.StiFunctionType.Atan),this._functionsList.set("Ceiling",d.StiFunctionType.Ceiling),this._functionsList.set("Cos",d.StiFunctionType.Cos),this._functionsList.set("Div",d.StiFunctionType.Div),this._functionsList.set("Exp",d.StiFunctionType.Exp),this._functionsList.set("Floor",d.StiFunctionType.Floor),this._functionsList.set("Log",d.StiFunctionType.Log),this._functionsList.set("Maximum",d.StiFunctionType.Maximum),this._functionsList.set("Minimum",d.StiFunctionType.Minimum),this._functionsList.set("Round",d.StiFunctionType.Round),this._functionsList.set("Sign",d.StiFunctionType.Sign),this._functionsList.set("Sin",d.StiFunctionType.Sin),this._functionsList.set("Sqrt",d.StiFunctionType.Sqrt),this._functionsList.set("Tan",d.StiFunctionType.Tan),this._functionsList.set("Truncate",d.StiFunctionType.Truncate),this._functionsList.set("DateDiff",d.StiFunctionType.DateDiff),this._functionsList.set("DateSerial",d.StiFunctionType.DateSerial),this._functionsList.set("Day",d.StiFunctionType.Day),this._functionsList.set("DayOfWeek",d.StiFunctionType.DayOfWeek),this._functionsList.set("DayOfYear",d.StiFunctionType.DayOfYear),this._functionsList.set("DaysInMonth",d.StiFunctionType.DaysInMonth),this._functionsList.set("DaysInYear",d.StiFunctionType.DaysInYear),this._functionsList.set("Hour",d.StiFunctionType.Hour),this._functionsList.set("Minute",d.StiFunctionType.Minute),this._functionsList.set("Month",d.StiFunctionType.Month),this._functionsList.set("Second",d.StiFunctionType.Second),this._functionsList.set("TimeSerial",d.StiFunctionType.TimeSerial),this._functionsList.set("Year",d.StiFunctionType.Year),this._functionsList.set("MonthName",d.StiFunctionType.MonthName),this._functionsList.set("WeekOfYear",d.StiFunctionType.WeekOfYear),this._functionsList.set("WeekOfMonth",d.StiFunctionType.WeekOfMonth),this._functionsList.set("DateToStr",d.StiFunctionType.DateToStr),this._functionsList.set("DateToStrPl",d.StiFunctionType.DateToStrPl),this._functionsList.set("DateToStrRu",d.StiFunctionType.DateToStrRu),this._functionsList.set("DateToStrUa",d.StiFunctionType.DateToStrUa),this._functionsList.set("DateToStrPt",d.StiFunctionType.DateToStrPt),this._functionsList.set("DateToStrPtBr",d.StiFunctionType.DateToStrPtBr),this._functionsList.set("Insert",d.StiFunctionType.Insert),this._functionsList.set("Length",d.StiFunctionType.Length),this._functionsList.set("Remove",d.StiFunctionType.Remove),this._functionsList.set("Replace",d.StiFunctionType.Replace),this._functionsList.set("Roman",d.StiFunctionType.Roman),this._functionsList.set("Substring",d.StiFunctionType.Substring),this._functionsList.set("ToCurrencyWords",d.StiFunctionType.ToCurrencyWords),this._functionsList.set("ToCurrencyWordsAr",d.StiFunctionType.ToCurrencyWordsAr),this._functionsList.set("ToCurrencyWordsEnGb",d.StiFunctionType.ToCurrencyWordsEnGb),this._functionsList.set("ToCurrencyWordsEnIn",d.StiFunctionType.ToCurrencyWordsEnIn),this._functionsList.set("ToCurrencyWordsEs",d.StiFunctionType.ToCurrencyWordsEs),this._functionsList.set("ToCurrencyWordsFr",d.StiFunctionType.ToCurrencyWordsFr),this._functionsList.set("ToCurrencyWordsNl",d.StiFunctionType.ToCurrencyWordsNl),this._functionsList.set("ToCurrencyWordsPl",d.StiFunctionType.ToCurrencyWordsPl),this._functionsList.set("ToCurrencyWordsPt",d.StiFunctionType.ToCurrencyWordsPt),this._functionsList.set("ToCurrencyWordsPtBr",d.StiFunctionType.ToCurrencyWordsPtBr),this._functionsList.set("ToCurrencyWordsRu",d.StiFunctionType.ToCurrencyWordsRu),this._functionsList.set("ToCurrencyWordsThai",d.StiFunctionType.ToCurrencyWordsThai),this._functionsList.set("ToCurrencyWordsTr",d.StiFunctionType.ToCurrencyWordsTr),this._functionsList.set("ToCurrencyWordsUa",d.StiFunctionType.ToCurrencyWordsUa),this._functionsList.set("ToCurrencyWordsZh",d.StiFunctionType.ToCurrencyWordsZh),this._functionsList.set("ToLowerCase",d.StiFunctionType.ToLowerCase),this._functionsList.set("ToProperCase",d.StiFunctionType.ToProperCase),this._functionsList.set("ToUpperCase",d.StiFunctionType.ToUpperCase),this._functionsList.set("ToWords",d.StiFunctionType.ToWords),this._functionsList.set("ToWordsAr",d.StiFunctionType.ToWordsAr),this._functionsList.set("ToWordsEs",d.StiFunctionType.ToWordsEs),this._functionsList.set("ToWordsEnIn",d.StiFunctionType.ToWordsEnIn),this._functionsList.set("ToWordsFa",d.StiFunctionType.ToWordsFa),this._functionsList.set("ToWordsPl",d.StiFunctionType.ToWordsPl),this._functionsList.set("ToWordsPt",d.StiFunctionType.ToWordsPt),this._functionsList.set("ToWordsRu",d.StiFunctionType.ToWordsRu),this._functionsList.set("ToWordsTr",d.StiFunctionType.ToWordsTr),this._functionsList.set("ToWordsUa",d.StiFunctionType.ToWordsUa),this._functionsList.set("Trim",d.StiFunctionType.Trim),this._functionsList.set("TryParseDecimal",d.StiFunctionType.TryParseDecimal),this._functionsList.set("TryParseDouble",d.StiFunctionType.TryParseDouble),this._functionsList.set("TryParseLong",d.StiFunctionType.TryParseLong),this._functionsList.set("Arabic",d.StiFunctionType.Arabic),this._functionsList.set("Persian",d.StiFunctionType.Persian),this._functionsList.set("ToOrdinal",d.StiFunctionType.ToOrdinal),this._functionsList.set("Left",d.StiFunctionType.Left),this._functionsList.set("Mid",d.StiFunctionType.Mid),this._functionsList.set("Right",d.StiFunctionType.Right),this._functionsList.set("StrToNullableDateTime",d.StiFunctionType.StrToNullableDateTime),this._functionsList.set("IsNull",d.StiFunctionType.IsNull),this._functionsList.set("Next",d.StiFunctionType.Next),this._functionsList.set("NextIsNull",d.StiFunctionType.NextIsNull),this._functionsList.set("Previous",d.StiFunctionType.Previous),this._functionsList.set("PreviousIsNull",d.StiFunctionType.PreviousIsNull),this._functionsList.set("IIF",d.StiFunctionType.IIF),this._functionsList.set("Choose",d.StiFunctionType.Choose),this._functionsList.set("Switch",d.StiFunctionType.Switch),this._functionsList.set("ToString",d.StiFunctionType.ToString),this._functionsList.set("Format",d.StiFunctionType.Format),this._functionsList.set("System.Convert.ToBoolean",d.StiFunctionType.SystemConvertToBoolean),this._functionsList.set("System.Convert.ToByte",d.StiFunctionType.SystemConvertToByte),this._functionsList.set("System.Convert.ToChar",d.StiFunctionType.SystemConvertToChar),this._functionsList.set("System.Convert.ToDateTime",d.StiFunctionType.SystemConvertToDateTime),this._functionsList.set("System.Convert.ToDecimal",d.StiFunctionType.SystemConvertToDecimal),this._functionsList.set("System.Convert.ToDouble",d.StiFunctionType.SystemConvertToDouble),this._functionsList.set("System.Convert.ToInt16",d.StiFunctionType.SystemConvertToInt16),this._functionsList.set("System.Convert.ToInt32",d.StiFunctionType.SystemConvertToInt32),this._functionsList.set("System.Convert.ToInt64",d.StiFunctionType.SystemConvertToInt64),this._functionsList.set("System.Convert.ToSByte",d.StiFunctionType.SystemConvertToSByte),this._functionsList.set("System.Convert.ToSingle",d.StiFunctionType.SystemConvertToSingle),this._functionsList.set("System.Convert.ToString",d.StiFunctionType.SystemConvertToString),this._functionsList.set("System.Convert.ToUInt16",d.StiFunctionType.SystemConvertToUInt16),this._functionsList.set("System.Convert.ToUInt32",d.StiFunctionType.SystemConvertToUInt32),this._functionsList.set("System.Convert.ToUInt64",d.StiFunctionType.SystemConvertToUInt64),this._functionsList.set("Convert.ToBoolean",d.StiFunctionType.SystemConvertToBoolean),this._functionsList.set("Convert.ToByte",d.StiFunctionType.SystemConvertToByte),this._functionsList.set("Convert.ToChar",d.StiFunctionType.SystemConvertToChar),this._functionsList.set("Convert.ToDateTime",d.StiFunctionType.SystemConvertToDateTime),this._functionsList.set("Convert.ToDecimal",d.StiFunctionType.SystemConvertToDecimal),this._functionsList.set("Convert.ToDouble",d.StiFunctionType.SystemConvertToDouble),this._functionsList.set("Convert.ToInt16",d.StiFunctionType.SystemConvertToInt16),this._functionsList.set("Convert.ToInt32",d.StiFunctionType.SystemConvertToInt32),this._functionsList.set("Convert.ToInt64",d.StiFunctionType.SystemConvertToInt64),this._functionsList.set("Convert.ToSByte",d.StiFunctionType.SystemConvertToSByte),this._functionsList.set("Convert.ToSingle",d.StiFunctionType.SystemConvertToSingle),this._functionsList.set("Convert.ToString",d.StiFunctionType.SystemConvertToString),this._functionsList.set("Convert.ToUInt16",d.StiFunctionType.SystemConvertToUInt16),this._functionsList.set("Convert.ToUInt32",d.StiFunctionType.SystemConvertToUInt32),this._functionsList.set("Convert.ToUInt64",d.StiFunctionType.SystemConvertToUInt64),this._functionsList.set("Math.Round",d.StiFunctionType.MathRound),this._functionsList.set("Math.Pow",d.StiFunctionType.MathPow),this._functionsList.set("AddAnchor",d.StiFunctionType.AddAnchor),this._functionsList.set("GetAnchorPageNumber",d.StiFunctionType.GetAnchorPageNumber),this._functionsList.set("GetAnchorPageNumberThrough",d.StiFunctionType.GetAnchorPageNumberThrough),this._functionsList.set("ConvertRtf",d.StiFunctionType.ConvertRtf),this._functionsList.set("int.Parse",d.StiFunctionType.ParseInt),this._functionsList.set("double.Parse",d.StiFunctionType.ParseDouble),this._functionsList.set("Double.Parse",d.StiFunctionType.ParseDouble),this._functionsList.set("decimal.Parse",d.StiFunctionType.ParseDecimal),this._functionsList.set("Decimal.Parse",d.StiFunctionType.ParseDecimal),this._functionsList.set("DateTime.Parse",d.StiFunctionType.ParseDateTime),this._functionsList.set("TimeSpan.Parse",d.StiFunctionType.ParseTimeSpan),this._functionsList.set("string.IsNullOrEmpty",d.StiFunctionType.StringIsNullOrEmpty),this._functionsList.set("String.IsNullOrEmpty",d.StiFunctionType.StringIsNullOrEmpty),
this._functionsList.set("string.IsNullOrWhiteSpace",d.StiFunctionType.StringIsNullOrWhiteSpace),this._functionsList.set("String.IsNullOrWhiteSpace",d.StiFunctionType.StringIsNullOrWhiteSpace),this._functionsList.set("string.Format",d.StiFunctionType.Format),this._functionsList.set("String.Format",d.StiFunctionType.Format),this._functionsList.set("Func.EngineHelper.JoinColumnContent",d.StiFunctionType.EngineHelperJoinColumnContent),this._functionsList.set("Func.EngineHelper.ToQueryString",d.StiFunctionType.EngineHelperToQueryString)),this._functionsList},enumerable:!1,configurable:!0}),Object.defineProperty(i,"methodsList",{get:function(){return null==this._methodsList&&(this._methodsList=new u,this._methodsList.set("Substring",d.StiMethodType.Substring),this._methodsList.set("ToString",d.StiMethodType.ToString),this._methodsList.set("ToLower",d.StiMethodType.ToLower),this._methodsList.set("ToUpper",d.StiMethodType.ToUpper),this._methodsList.set("IndexOf",d.StiMethodType.IndexOf),this._methodsList.set("StartsWith",d.StiMethodType.StartsWith),this._methodsList.set("EndsWith",d.StiMethodType.EndsWith),this._methodsList.set("Replace",d.StiMethodType.Replace),this._methodsList.set("Parse",d.StiMethodType.Parse),this._methodsList.set("Contains",d.StiMethodType.Contains),this._methodsList.set("GetData",d.StiMethodType.GetData),this._methodsList.set("ToQueryString",d.StiMethodType.ToQueryString),this._methodsList.set("AddYears",d.StiMethodType.AddYears),this._methodsList.set("AddMonths",d.StiMethodType.AddMonths),this._methodsList.set("AddDays",d.StiMethodType.AddDays),this._methodsList.set("AddHours",d.StiMethodType.AddHours),this._methodsList.set("AddMinutes",d.StiMethodType.AddMinutes),this._methodsList.set("AddSeconds",d.StiMethodType.AddSeconds),this._methodsList.set("AddMilliseconds",d.StiMethodType.AddMilliseconds),this._methodsList.set("ToShortDateString",d.StiMethodType.ToShortDateString),this._methodsList.set("ToShortTimeString",d.StiMethodType.ToShortTimeString),this._methodsList.set("ToLongDateString",d.StiMethodType.ToLongDateString),this._methodsList.set("ToLongTimeString",d.StiMethodType.ToLongTimeString),this._methodsList.set("GetCurrentConditionValue",d.StiMethodType.GetCurrentConditionValue),this._methodsList.set("Add",d.StiMethodType.Add),this._methodsList.set("Subtract",d.StiMethodType.Subtract)),this._methodsList},enumerable:!1,configurable:!0}),Object.defineProperty(i,"parametersList",{get:function(){return null==this._parametersList&&(this._parametersList=new u,this._parametersList.set(d.StiFunctionType.CountDistinct,d.StiParameterNumber.Param2),this._parametersList.set(d.StiFunctionType.Avg,d.StiParameterNumber.Param2),this._parametersList.set(d.StiFunctionType.AvgD,d.StiParameterNumber.Param2),this._parametersList.set(d.StiFunctionType.AvgDate,d.StiParameterNumber.Param2),this._parametersList.set(d.StiFunctionType.AvgI,d.StiParameterNumber.Param2),this._parametersList.set(d.StiFunctionType.AvgTime,d.StiParameterNumber.Param2),this._parametersList.set(d.StiFunctionType.Max,d.StiParameterNumber.Param2),this._parametersList.set(d.StiFunctionType.MaxD,d.StiParameterNumber.Param2),this._parametersList.set(d.StiFunctionType.MaxDate,d.StiParameterNumber.Param2),this._parametersList.set(d.StiFunctionType.MaxI,d.StiParameterNumber.Param2),this._parametersList.set(d.StiFunctionType.MaxStr,d.StiParameterNumber.Param2),this._parametersList.set(d.StiFunctionType.MaxTime,d.StiParameterNumber.Param2),this._parametersList.set(d.StiFunctionType.Median,d.StiParameterNumber.Param2),this._parametersList.set(d.StiFunctionType.MedianD,d.StiParameterNumber.Param2),this._parametersList.set(d.StiFunctionType.MedianI,d.StiParameterNumber.Param2),this._parametersList.set(d.StiFunctionType.Min,d.StiParameterNumber.Param2),this._parametersList.set(d.StiFunctionType.MinD,d.StiParameterNumber.Param2),this._parametersList.set(d.StiFunctionType.MinDate,d.StiParameterNumber.Param2),this._parametersList.set(d.StiFunctionType.MinI,d.StiParameterNumber.Param2),this._parametersList.set(d.StiFunctionType.MinStr,d.StiParameterNumber.Param2),this._parametersList.set(d.StiFunctionType.MinTime,d.StiParameterNumber.Param2),this._parametersList.set(d.StiFunctionType.Mode,d.StiParameterNumber.Param2),this._parametersList.set(d.StiFunctionType.ModeD,d.StiParameterNumber.Param2),this._parametersList.set(d.StiFunctionType.ModeI,d.StiParameterNumber.Param2),this._parametersList.set(d.StiFunctionType.Sum,d.StiParameterNumber.Param2),this._parametersList.set(d.StiFunctionType.SumD,d.StiParameterNumber.Param2),this._parametersList.set(d.StiFunctionType.SumDistinct,d.StiParameterNumber.Param2|d.StiParameterNumber.Param3),this._parametersList.set(d.StiFunctionType.SumI,d.StiParameterNumber.Param2),this._parametersList.set(d.StiFunctionType.SumTime,d.StiParameterNumber.Param2),this._parametersList.set(d.StiFunctionType.First,d.StiParameterNumber.Param2),this._parametersList.set(d.StiFunctionType.Last,d.StiParameterNumber.Param2),this._parametersList.set(d.StiFunctionType.rCountDistinct,d.StiParameterNumber.Param2),this._parametersList.set(d.StiFunctionType.rAvg,d.StiParameterNumber.Param2),this._parametersList.set(d.StiFunctionType.rAvgD,d.StiParameterNumber.Param2),this._parametersList.set(d.StiFunctionType.rAvgDate,d.StiParameterNumber.Param2),this._parametersList.set(d.StiFunctionType.rAvgI,d.StiParameterNumber.Param2),this._parametersList.set(d.StiFunctionType.rAvgTime,d.StiParameterNumber.Param2),this._parametersList.set(d.StiFunctionType.rMax,d.StiParameterNumber.Param2),this._parametersList.set(d.StiFunctionType.rMaxD,d.StiParameterNumber.Param2),this._parametersList.set(d.StiFunctionType.rMaxDate,d.StiParameterNumber.Param2),this._parametersList.set(d.StiFunctionType.rMaxI,d.StiParameterNumber.Param2),this._parametersList.set(d.StiFunctionType.rMaxStr,d.StiParameterNumber.Param2),this._parametersList.set(d.StiFunctionType.rMaxTime,d.StiParameterNumber.Param2),this._parametersList.set(d.StiFunctionType.rMedian,d.StiParameterNumber.Param2),this._parametersList.set(d.StiFunctionType.rMedianD,d.StiParameterNumber.Param2),this._parametersList.set(d.StiFunctionType.rMedianI,d.StiParameterNumber.Param2),this._parametersList.set(d.StiFunctionType.rMin,d.StiParameterNumber.Param2),this._parametersList.set(d.StiFunctionType.rMinD,d.StiParameterNumber.Param2),this._parametersList.set(d.StiFunctionType.rMinDate,d.StiParameterNumber.Param2),this._parametersList.set(d.StiFunctionType.rMinI,d.StiParameterNumber.Param2),this._parametersList.set(d.StiFunctionType.rMinStr,d.StiParameterNumber.Param2),this._parametersList.set(d.StiFunctionType.rMinTime,d.StiParameterNumber.Param2),this._parametersList.set(d.StiFunctionType.rMode,d.StiParameterNumber.Param2),this._parametersList.set(d.StiFunctionType.rModeD,d.StiParameterNumber.Param2),this._parametersList.set(d.StiFunctionType.rModeI,d.StiParameterNumber.Param2),this._parametersList.set(d.StiFunctionType.rSum,d.StiParameterNumber.Param2),this._parametersList.set(d.StiFunctionType.rSumD,d.StiParameterNumber.Param2),this._parametersList.set(d.StiFunctionType.rSumDistinct,d.StiParameterNumber.Param2|d.StiParameterNumber.Param3),this._parametersList.set(d.StiFunctionType.rSumI,d.StiParameterNumber.Param2),this._parametersList.set(d.StiFunctionType.rSumTime,d.StiParameterNumber.Param2),this._parametersList.set(d.StiFunctionType.rFirst,d.StiParameterNumber.Param2),this._parametersList.set(d.StiFunctionType.rLast,d.StiParameterNumber.Param2),this._parametersList.set(d.StiFunctionType.iCount,d.StiParameterNumber.Param2),this._parametersList.set(d.StiFunctionType.iCountDistinct,d.StiParameterNumber.Param2|d.StiParameterNumber.Param3),this._parametersList.set(d.StiFunctionType.iAvg,d.StiParameterNumber.Param2|d.StiParameterNumber.Param3),this._parametersList.set(d.StiFunctionType.iAvgD,d.StiParameterNumber.Param2|d.StiParameterNumber.Param3),this._parametersList.set(d.StiFunctionType.iAvgDate,d.StiParameterNumber.Param2|d.StiParameterNumber.Param3),this._parametersList.set(d.StiFunctionType.iAvgI,d.StiParameterNumber.Param2|d.StiParameterNumber.Param3),this._parametersList.set(d.StiFunctionType.iAvgTime,d.StiParameterNumber.Param2|d.StiParameterNumber.Param3),this._parametersList.set(d.StiFunctionType.iMax,d.StiParameterNumber.Param2|d.StiParameterNumber.Param3),this._parametersList.set(d.StiFunctionType.iMaxD,d.StiParameterNumber.Param2|d.StiParameterNumber.Param3),this._parametersList.set(d.StiFunctionType.iMaxDate,d.StiParameterNumber.Param2|d.StiParameterNumber.Param3),this._parametersList.set(d.StiFunctionType.iMaxI,d.StiParameterNumber.Param2|d.StiParameterNumber.Param3),this._parametersList.set(d.StiFunctionType.iMaxStr,d.StiParameterNumber.Param2|d.StiParameterNumber.Param3),this._parametersList.set(d.StiFunctionType.iMaxTime,d.StiParameterNumber.Param2|d.StiParameterNumber.Param3),this._parametersList.set(d.StiFunctionType.iMedian,d.StiParameterNumber.Param2|d.StiParameterNumber.Param3),this._parametersList.set(d.StiFunctionType.iMedianD,d.StiParameterNumber.Param2|d.StiParameterNumber.Param3),this._parametersList.set(d.StiFunctionType.iMedianI,d.StiParameterNumber.Param2|d.StiParameterNumber.Param3),this._parametersList.set(d.StiFunctionType.iMin,d.StiParameterNumber.Param2|d.StiParameterNumber.Param3),this._parametersList.set(d.StiFunctionType.iMinD,d.StiParameterNumber.Param2|d.StiParameterNumber.Param3),this._parametersList.set(d.StiFunctionType.iMinDate,d.StiParameterNumber.Param2|d.StiParameterNumber.Param3),this._parametersList.set(d.StiFunctionType.iMinI,d.StiParameterNumber.Param2|d.StiParameterNumber.Param3),this._parametersList.set(d.StiFunctionType.iMinStr,d.StiParameterNumber.Param2|d.StiParameterNumber.Param3),this._parametersList.set(d.StiFunctionType.iMinTime,d.StiParameterNumber.Param2|d.StiParameterNumber.Param3),this._parametersList.set(d.StiFunctionType.iMode,d.StiParameterNumber.Param2|d.StiParameterNumber.Param3),this._parametersList.set(d.StiFunctionType.iModeD,d.StiParameterNumber.Param2|d.StiParameterNumber.Param3),this._parametersList.set(d.StiFunctionType.iModeI,d.StiParameterNumber.Param2|d.StiParameterNumber.Param3),this._parametersList.set(d.StiFunctionType.iSum,d.StiParameterNumber.Param2|d.StiParameterNumber.Param3),this._parametersList.set(d.StiFunctionType.iSumD,d.StiParameterNumber.Param2|d.StiParameterNumber.Param3),this._parametersList.set(d.StiFunctionType.iSumDistinct,d.StiParameterNumber.Param2|d.StiParameterNumber.Param3|d.StiParameterNumber.Param4),this._parametersList.set(d.StiFunctionType.iSumI,d.StiParameterNumber.Param2|d.StiParameterNumber.Param3),this._parametersList.set(d.StiFunctionType.iSumTime,d.StiParameterNumber.Param2|d.StiParameterNumber.Param3),this._parametersList.set(d.StiFunctionType.iFirst,d.StiParameterNumber.Param2|d.StiParameterNumber.Param3),this._parametersList.set(d.StiFunctionType.iLast,d.StiParameterNumber.Param2|d.StiParameterNumber.Param3),this._parametersList.set(d.StiFunctionType.riCount,d.StiParameterNumber.Param2),this._parametersList.set(d.StiFunctionType.riCountDistinct,d.StiParameterNumber.Param2|d.StiParameterNumber.Param3),this._parametersList.set(d.StiFunctionType.riAvg,d.StiParameterNumber.Param2|d.StiParameterNumber.Param3),this._parametersList.set(d.StiFunctionType.riAvgD,d.StiParameterNumber.Param2|d.StiParameterNumber.Param3),this._parametersList.set(d.StiFunctionType.riAvgDate,d.StiParameterNumber.Param2|d.StiParameterNumber.Param3),this._parametersList.set(d.StiFunctionType.riAvgI,d.StiParameterNumber.Param2|d.StiParameterNumber.Param3),this._parametersList.set(d.StiFunctionType.riAvgTime,d.StiParameterNumber.Param2|d.StiParameterNumber.Param3),this._parametersList.set(d.StiFunctionType.riMax,d.StiParameterNumber.Param2|d.StiParameterNumber.Param3),this._parametersList.set(d.StiFunctionType.riMaxD,d.StiParameterNumber.Param2|d.StiParameterNumber.Param3),this._parametersList.set(d.StiFunctionType.riMaxDate,d.StiParameterNumber.Param2|d.StiParameterNumber.Param3),this._parametersList.set(d.StiFunctionType.riMaxI,d.StiParameterNumber.Param2|d.StiParameterNumber.Param3),this._parametersList.set(d.StiFunctionType.riMaxStr,d.StiParameterNumber.Param2|d.StiParameterNumber.Param3),this._parametersList.set(d.StiFunctionType.riMaxTime,d.StiParameterNumber.Param2|d.StiParameterNumber.Param3),this._parametersList.set(d.StiFunctionType.riMedian,d.StiParameterNumber.Param2|d.StiParameterNumber.Param3),this._parametersList.set(d.StiFunctionType.riMedianD,d.StiParameterNumber.Param2|d.StiParameterNumber.Param3),this._parametersList.set(d.StiFunctionType.riMedianI,d.StiParameterNumber.Param2|d.StiParameterNumber.Param3),this._parametersList.set(d.StiFunctionType.riMin,d.StiParameterNumber.Param2|d.StiParameterNumber.Param3),this._parametersList.set(d.StiFunctionType.riMinD,d.StiParameterNumber.Param2|d.StiParameterNumber.Param3),this._parametersList.set(d.StiFunctionType.riMinDate,d.StiParameterNumber.Param2|d.StiParameterNumber.Param3),this._parametersList.set(d.StiFunctionType.riMinI,d.StiParameterNumber.Param2|d.StiParameterNumber.Param3),this._parametersList.set(d.StiFunctionType.riMinStr,d.StiParameterNumber.Param2|d.StiParameterNumber.Param3),this._parametersList.set(d.StiFunctionType.riMinTime,d.StiParameterNumber.Param2|d.StiParameterNumber.Param3),this._parametersList.set(d.StiFunctionType.riMode,d.StiParameterNumber.Param2|d.StiParameterNumber.Param3),this._parametersList.set(d.StiFunctionType.riModeD,d.StiParameterNumber.Param2|d.StiParameterNumber.Param3),this._parametersList.set(d.StiFunctionType.riModeI,d.StiParameterNumber.Param2|d.StiParameterNumber.Param3),this._parametersList.set(d.StiFunctionType.riSum,d.StiParameterNumber.Param2|d.StiParameterNumber.Param3),this._parametersList.set(d.StiFunctionType.riSumD,d.StiParameterNumber.Param2|d.StiParameterNumber.Param3),this._parametersList.set(d.StiFunctionType.riSumDistinct,d.StiParameterNumber.Param2|d.StiParameterNumber.Param3|d.StiParameterNumber.Param4),this._parametersList.set(d.StiFunctionType.riSumI,d.StiParameterNumber.Param2|d.StiParameterNumber.Param3),this._parametersList.set(d.StiFunctionType.riSumTime,d.StiParameterNumber.Param2|d.StiParameterNumber.Param3),this._parametersList.set(d.StiFunctionType.riFirst,d.StiParameterNumber.Param2|d.StiParameterNumber.Param3),this._parametersList.set(d.StiFunctionType.riLast,d.StiParameterNumber.Param2|d.StiParameterNumber.Param3),this._parametersList.set(d.StiFunctionType.cCountDistinct,d.StiParameterNumber.Param2),this._parametersList.set(d.StiFunctionType.cAvg,d.StiParameterNumber.Param2),this._parametersList.set(d.StiFunctionType.cAvgD,d.StiParameterNumber.Param2),this._parametersList.set(d.StiFunctionType.cAvgDate,d.StiParameterNumber.Param2),this._parametersList.set(d.StiFunctionType.cAvgI,d.StiParameterNumber.Param2),this._parametersList.set(d.StiFunctionType.cAvgTime,d.StiParameterNumber.Param2),this._parametersList.set(d.StiFunctionType.cMax,d.StiParameterNumber.Param2),this._parametersList.set(d.StiFunctionType.cMaxD,d.StiParameterNumber.Param2),this._parametersList.set(d.StiFunctionType.cMaxDate,d.StiParameterNumber.Param2),this._parametersList.set(d.StiFunctionType.cMaxI,d.StiParameterNumber.Param2),this._parametersList.set(d.StiFunctionType.cMaxStr,d.StiParameterNumber.Param2),this._parametersList.set(d.StiFunctionType.cMaxTime,d.StiParameterNumber.Param2),this._parametersList.set(d.StiFunctionType.cMedian,d.StiParameterNumber.Param2),this._parametersList.set(d.StiFunctionType.cMedianD,d.StiParameterNumber.Param2),this._parametersList.set(d.StiFunctionType.cMedianI,d.StiParameterNumber.Param2),this._parametersList.set(d.StiFunctionType.cMin,d.StiParameterNumber.Param2),this._parametersList.set(d.StiFunctionType.cMinD,d.StiParameterNumber.Param2),this._parametersList.set(d.StiFunctionType.cMinDate,d.StiParameterNumber.Param2),this._parametersList.set(d.StiFunctionType.cMinI,d.StiParameterNumber.Param2),this._parametersList.set(d.StiFunctionType.cMinStr,d.StiParameterNumber.Param2),this._parametersList.set(d.StiFunctionType.cMinTime,d.StiParameterNumber.Param2),this._parametersList.set(d.StiFunctionType.cMode,d.StiParameterNumber.Param2),this._parametersList.set(d.StiFunctionType.cModeD,d.StiParameterNumber.Param2),this._parametersList.set(d.StiFunctionType.cModeI,d.StiParameterNumber.Param2),this._parametersList.set(d.StiFunctionType.cSum,d.StiParameterNumber.Param2),this._parametersList.set(d.StiFunctionType.cSumD,d.StiParameterNumber.Param2),this._parametersList.set(d.StiFunctionType.cSumDistinct,d.StiParameterNumber.Param2|d.StiParameterNumber.Param3),this._parametersList.set(d.StiFunctionType.cSumI,d.StiParameterNumber.Param2),this._parametersList.set(d.StiFunctionType.cSumTime,d.StiParameterNumber.Param2),this._parametersList.set(d.StiFunctionType.cFirst,d.StiParameterNumber.Param2),this._parametersList.set(d.StiFunctionType.cLast,d.StiParameterNumber.Param2),this._parametersList.set(d.StiFunctionType.crCountDistinct,d.StiParameterNumber.Param2),this._parametersList.set(d.StiFunctionType.crAvg,d.StiParameterNumber.Param2),this._parametersList.set(d.StiFunctionType.crAvgD,d.StiParameterNumber.Param2),this._parametersList.set(d.StiFunctionType.crAvgDate,d.StiParameterNumber.Param2),this._parametersList.set(d.StiFunctionType.crAvgI,d.StiParameterNumber.Param2),this._parametersList.set(d.StiFunctionType.crAvgTime,d.StiParameterNumber.Param2),this._parametersList.set(d.StiFunctionType.crMax,d.StiParameterNumber.Param2),this._parametersList.set(d.StiFunctionType.crMaxD,d.StiParameterNumber.Param2),this._parametersList.set(d.StiFunctionType.crMaxDate,d.StiParameterNumber.Param2),this._parametersList.set(d.StiFunctionType.crMaxI,d.StiParameterNumber.Param2),this._parametersList.set(d.StiFunctionType.crMaxStr,d.StiParameterNumber.Param2),this._parametersList.set(d.StiFunctionType.crMaxTime,d.StiParameterNumber.Param2),this._parametersList.set(d.StiFunctionType.crMedian,d.StiParameterNumber.Param2),this._parametersList.set(d.StiFunctionType.crMedianD,d.StiParameterNumber.Param2),this._parametersList.set(d.StiFunctionType.crMedianI,d.StiParameterNumber.Param2),this._parametersList.set(d.StiFunctionType.crMin,d.StiParameterNumber.Param2),this._parametersList.set(d.StiFunctionType.crMinD,d.StiParameterNumber.Param2),this._parametersList.set(d.StiFunctionType.crMinDate,d.StiParameterNumber.Param2),this._parametersList.set(d.StiFunctionType.crMinI,d.StiParameterNumber.Param2),this._parametersList.set(d.StiFunctionType.crMinStr,d.StiParameterNumber.Param2),this._parametersList.set(d.StiFunctionType.crMinTime,d.StiParameterNumber.Param2),this._parametersList.set(d.StiFunctionType.crMode,d.StiParameterNumber.Param2),this._parametersList.set(d.StiFunctionType.crModeD,d.StiParameterNumber.Param2),this._parametersList.set(d.StiFunctionType.crModeI,d.StiParameterNumber.Param2),this._parametersList.set(d.StiFunctionType.crSum,d.StiParameterNumber.Param2),this._parametersList.set(d.StiFunctionType.crSumD,d.StiParameterNumber.Param2),this._parametersList.set(d.StiFunctionType.crSumDistinct,d.StiParameterNumber.Param2|d.StiParameterNumber.Param3),this._parametersList.set(d.StiFunctionType.crSumI,d.StiParameterNumber.Param2),this._parametersList.set(d.StiFunctionType.crSumTime,d.StiParameterNumber.Param2),this._parametersList.set(d.StiFunctionType.crFirst,d.StiParameterNumber.Param2),this._parametersList.set(d.StiFunctionType.crLast,d.StiParameterNumber.Param2),this._parametersList.set(d.StiFunctionType.ciCount,d.StiParameterNumber.Param2),this._parametersList.set(d.StiFunctionType.ciCountDistinct,d.StiParameterNumber.Param2|d.StiParameterNumber.Param3),this._parametersList.set(d.StiFunctionType.ciAvg,d.StiParameterNumber.Param2|d.StiParameterNumber.Param3),this._parametersList.set(d.StiFunctionType.ciAvgD,d.StiParameterNumber.Param2|d.StiParameterNumber.Param3),this._parametersList.set(d.StiFunctionType.ciAvgDate,d.StiParameterNumber.Param2|d.StiParameterNumber.Param3),this._parametersList.set(d.StiFunctionType.ciAvgI,d.StiParameterNumber.Param2|d.StiParameterNumber.Param3),this._parametersList.set(d.StiFunctionType.ciAvgTime,d.StiParameterNumber.Param2|d.StiParameterNumber.Param3),this._parametersList.set(d.StiFunctionType.ciMax,d.StiParameterNumber.Param2|d.StiParameterNumber.Param3),this._parametersList.set(d.StiFunctionType.ciMaxD,d.StiParameterNumber.Param2|d.StiParameterNumber.Param3),this._parametersList.set(d.StiFunctionType.ciMaxDate,d.StiParameterNumber.Param2|d.StiParameterNumber.Param3),this._parametersList.set(d.StiFunctionType.ciMaxI,d.StiParameterNumber.Param2|d.StiParameterNumber.Param3),this._parametersList.set(d.StiFunctionType.ciMaxStr,d.StiParameterNumber.Param2|d.StiParameterNumber.Param3),this._parametersList.set(d.StiFunctionType.ciMaxTime,d.StiParameterNumber.Param2|d.StiParameterNumber.Param3),this._parametersList.set(d.StiFunctionType.ciMedian,d.StiParameterNumber.Param2|d.StiParameterNumber.Param3),this._parametersList.set(d.StiFunctionType.ciMedianD,d.StiParameterNumber.Param2|d.StiParameterNumber.Param3),this._parametersList.set(d.StiFunctionType.ciMedianI,d.StiParameterNumber.Param2|d.StiParameterNumber.Param3),this._parametersList.set(d.StiFunctionType.ciMin,d.StiParameterNumber.Param2|d.StiParameterNumber.Param3),this._parametersList.set(d.StiFunctionType.ciMinD,d.StiParameterNumber.Param2|d.StiParameterNumber.Param3),this._parametersList.set(d.StiFunctionType.ciMinDate,d.StiParameterNumber.Param2|d.StiParameterNumber.Param3),this._parametersList.set(d.StiFunctionType.ciMinI,d.StiParameterNumber.Param2|d.StiParameterNumber.Param3),this._parametersList.set(d.StiFunctionType.ciMinStr,d.StiParameterNumber.Param2|d.StiParameterNumber.Param3),this._parametersList.set(d.StiFunctionType.ciMinTime,d.StiParameterNumber.Param2|d.StiParameterNumber.Param3),this._parametersList.set(d.StiFunctionType.ciMode,d.StiParameterNumber.Param2|d.StiParameterNumber.Param3),this._parametersList.set(d.StiFunctionType.ciModeD,d.StiParameterNumber.Param2|d.StiParameterNumber.Param3),this._parametersList.set(d.StiFunctionType.ciModeI,d.StiParameterNumber.Param2|d.StiParameterNumber.Param3),this._parametersList.set(d.StiFunctionType.ciSum,d.StiParameterNumber.Param2|d.StiParameterNumber.Param3),this._parametersList.set(d.StiFunctionType.ciSumD,d.StiParameterNumber.Param2|d.StiParameterNumber.Param3),this._parametersList.set(d.StiFunctionType.ciSumDistinct,d.StiParameterNumber.Param2|d.StiParameterNumber.Param3|d.StiParameterNumber.Param4),this._parametersList.set(d.StiFunctionType.ciSumI,d.StiParameterNumber.Param2|d.StiParameterNumber.Param3),this._parametersList.set(d.StiFunctionType.ciSumTime,d.StiParameterNumber.Param2|d.StiParameterNumber.Param3),this._parametersList.set(d.StiFunctionType.ciFirst,d.StiParameterNumber.Param2|d.StiParameterNumber.Param3),this._parametersList.set(d.StiFunctionType.ciLast,d.StiParameterNumber.Param2|d.StiParameterNumber.Param3),this._parametersList.set(d.StiFunctionType.criCount,d.StiParameterNumber.Param2),this._parametersList.set(d.StiFunctionType.criCountDistinct,d.StiParameterNumber.Param2|d.StiParameterNumber.Param3),this._parametersList.set(d.StiFunctionType.criAvg,d.StiParameterNumber.Param2|d.StiParameterNumber.Param3),this._parametersList.set(d.StiFunctionType.criAvgD,d.StiParameterNumber.Param2|d.StiParameterNumber.Param3),this._parametersList.set(d.StiFunctionType.criAvgDate,d.StiParameterNumber.Param2|d.StiParameterNumber.Param3),this._parametersList.set(d.StiFunctionType.criAvgI,d.StiParameterNumber.Param2|d.StiParameterNumber.Param3),this._parametersList.set(d.StiFunctionType.criAvgTime,d.StiParameterNumber.Param2|d.StiParameterNumber.Param3),this._parametersList.set(d.StiFunctionType.criMax,d.StiParameterNumber.Param2|d.StiParameterNumber.Param3),this._parametersList.set(d.StiFunctionType.criMaxD,d.StiParameterNumber.Param2|d.StiParameterNumber.Param3),this._parametersList.set(d.StiFunctionType.criMaxDate,d.StiParameterNumber.Param2|d.StiParameterNumber.Param3),this._parametersList.set(d.StiFunctionType.criMaxI,d.StiParameterNumber.Param2|d.StiParameterNumber.Param3),this._parametersList.set(d.StiFunctionType.criMaxStr,d.StiParameterNumber.Param2|d.StiParameterNumber.Param3),this._parametersList.set(d.StiFunctionType.criMaxTime,d.StiParameterNumber.Param2|d.StiParameterNumber.Param3),this._parametersList.set(d.StiFunctionType.criMedian,d.StiParameterNumber.Param2|d.StiParameterNumber.Param3),this._parametersList.set(d.StiFunctionType.criMedianD,d.StiParameterNumber.Param2|d.StiParameterNumber.Param3),this._parametersList.set(d.StiFunctionType.criMedianI,d.StiParameterNumber.Param2|d.StiParameterNumber.Param3),this._parametersList.set(d.StiFunctionType.criMin,d.StiParameterNumber.Param2|d.StiParameterNumber.Param3),this._parametersList.set(d.StiFunctionType.criMinD,d.StiParameterNumber.Param2|d.StiParameterNumber.Param3),this._parametersList.set(d.StiFunctionType.criMinDate,d.StiParameterNumber.Param2|d.StiParameterNumber.Param3),this._parametersList.set(d.StiFunctionType.criMinI,d.StiParameterNumber.Param2|d.StiParameterNumber.Param3),this._parametersList.set(d.StiFunctionType.criMinStr,d.StiParameterNumber.Param2|d.StiParameterNumber.Param3),this._parametersList.set(d.StiFunctionType.criMinTime,d.StiParameterNumber.Param2|d.StiParameterNumber.Param3),this._parametersList.set(d.StiFunctionType.criMode,d.StiParameterNumber.Param2|d.StiParameterNumber.Param3),this._parametersList.set(d.StiFunctionType.criModeD,d.StiParameterNumber.Param2|d.StiParameterNumber.Param3),this._parametersList.set(d.StiFunctionType.criModeI,d.StiParameterNumber.Param2|d.StiParameterNumber.Param3),this._parametersList.set(d.StiFunctionType.criSum,d.StiParameterNumber.Param2|d.StiParameterNumber.Param3),this._parametersList.set(d.StiFunctionType.criSumD,d.StiParameterNumber.Param2|d.StiParameterNumber.Param3),this._parametersList.set(d.StiFunctionType.criSumDistinct,d.StiParameterNumber.Param2|d.StiParameterNumber.Param3|d.StiParameterNumber.Param4),this._parametersList.set(d.StiFunctionType.criSumI,d.StiParameterNumber.Param2|d.StiParameterNumber.Param3),this._parametersList.set(d.StiFunctionType.criSumTime,d.StiParameterNumber.Param2|d.StiParameterNumber.Param3),this._parametersList.set(d.StiFunctionType.criFirst,d.StiParameterNumber.Param2|d.StiParameterNumber.Param3),this._parametersList.set(d.StiFunctionType.criLast,d.StiParameterNumber.Param2|d.StiParameterNumber.Param3),this._parametersList.set(d.StiFunctionType.pCountDistinct,d.StiParameterNumber.Param2),this._parametersList.set(d.StiFunctionType.pAvg,d.StiParameterNumber.Param2),this._parametersList.set(d.StiFunctionType.pAvgD,d.StiParameterNumber.Param2),this._parametersList.set(d.StiFunctionType.pAvgDate,d.StiParameterNumber.Param2),this._parametersList.set(d.StiFunctionType.pAvgI,d.StiParameterNumber.Param2),this._parametersList.set(d.StiFunctionType.pAvgTime,d.StiParameterNumber.Param2),this._parametersList.set(d.StiFunctionType.pMax,d.StiParameterNumber.Param2),this._parametersList.set(d.StiFunctionType.pMaxD,d.StiParameterNumber.Param2),this._parametersList.set(d.StiFunctionType.pMaxDate,d.StiParameterNumber.Param2),this._parametersList.set(d.StiFunctionType.pMaxI,d.StiParameterNumber.Param2),this._parametersList.set(d.StiFunctionType.pMaxStr,d.StiParameterNumber.Param2),this._parametersList.set(d.StiFunctionType.pMaxTime,d.StiParameterNumber.Param2),this._parametersList.set(d.StiFunctionType.pMedian,d.StiParameterNumber.Param2),this._parametersList.set(d.StiFunctionType.pMedianD,d.StiParameterNumber.Param2),this._parametersList.set(d.StiFunctionType.pMedianI,d.StiParameterNumber.Param2),this._parametersList.set(d.StiFunctionType.pMin,d.StiParameterNumber.Param2),this._parametersList.set(d.StiFunctionType.pMinD,d.StiParameterNumber.Param2),this._parametersList.set(d.StiFunctionType.pMinDate,d.StiParameterNumber.Param2),this._parametersList.set(d.StiFunctionType.pMinI,d.StiParameterNumber.Param2),this._parametersList.set(d.StiFunctionType.pMinStr,d.StiParameterNumber.Param2),this._parametersList.set(d.StiFunctionType.pMinTime,d.StiParameterNumber.Param2),this._parametersList.set(d.StiFunctionType.pMode,d.StiParameterNumber.Param2),this._parametersList.set(d.StiFunctionType.pModeD,d.StiParameterNumber.Param2),this._parametersList.set(d.StiFunctionType.pModeI,d.StiParameterNumber.Param2),this._parametersList.set(d.StiFunctionType.pSum,d.StiParameterNumber.Param2),this._parametersList.set(d.StiFunctionType.pSumD,d.StiParameterNumber.Param2),this._parametersList.set(d.StiFunctionType.pSumDistinct,d.StiParameterNumber.Param2|d.StiParameterNumber.Param3),this._parametersList.set(d.StiFunctionType.pSumI,d.StiParameterNumber.Param2),this._parametersList.set(d.StiFunctionType.pSumTime,d.StiParameterNumber.Param2),this._parametersList.set(d.StiFunctionType.pFirst,d.StiParameterNumber.Param2),this._parametersList.set(d.StiFunctionType.pLast,d.StiParameterNumber.Param2),this._parametersList.set(d.StiFunctionType.prCountDistinct,d.StiParameterNumber.Param2),this._parametersList.set(d.StiFunctionType.prAvg,d.StiParameterNumber.Param2),this._parametersList.set(d.StiFunctionType.prAvgD,d.StiParameterNumber.Param2),this._parametersList.set(d.StiFunctionType.prAvgDate,d.StiParameterNumber.Param2),this._parametersList.set(d.StiFunctionType.prAvgI,d.StiParameterNumber.Param2),this._parametersList.set(d.StiFunctionType.prAvgTime,d.StiParameterNumber.Param2),this._parametersList.set(d.StiFunctionType.prMax,d.StiParameterNumber.Param2),this._parametersList.set(d.StiFunctionType.prMaxD,d.StiParameterNumber.Param2),this._parametersList.set(d.StiFunctionType.prMaxDate,d.StiParameterNumber.Param2),this._parametersList.set(d.StiFunctionType.prMaxI,d.StiParameterNumber.Param2),this._parametersList.set(d.StiFunctionType.prMaxStr,d.StiParameterNumber.Param2),this._parametersList.set(d.StiFunctionType.prMaxTime,d.StiParameterNumber.Param2),this._parametersList.set(d.StiFunctionType.prMedian,d.StiParameterNumber.Param2),this._parametersList.set(d.StiFunctionType.prMedianD,d.StiParameterNumber.Param2),this._parametersList.set(d.StiFunctionType.prMedianI,d.StiParameterNumber.Param2),this._parametersList.set(d.StiFunctionType.prMin,d.StiParameterNumber.Param2),this._parametersList.set(d.StiFunctionType.prMinD,d.StiParameterNumber.Param2),this._parametersList.set(d.StiFunctionType.prMinDate,d.StiParameterNumber.Param2),this._parametersList.set(d.StiFunctionType.prMinI,d.StiParameterNumber.Param2),this._parametersList.set(d.StiFunctionType.prMinStr,d.StiParameterNumber.Param2),this._parametersList.set(d.StiFunctionType.prMinTime,d.StiParameterNumber.Param2),this._parametersList.set(d.StiFunctionType.prMode,d.StiParameterNumber.Param2),this._parametersList.set(d.StiFunctionType.prModeD,d.StiParameterNumber.Param2),this._parametersList.set(d.StiFunctionType.prModeI,d.StiParameterNumber.Param2),this._parametersList.set(d.StiFunctionType.prSum,d.StiParameterNumber.Param2),this._parametersList.set(d.StiFunctionType.prSumD,d.StiParameterNumber.Param2),this._parametersList.set(d.StiFunctionType.prSumDistinct,d.StiParameterNumber.Param2|d.StiParameterNumber.Param3),this._parametersList.set(d.StiFunctionType.prSumI,d.StiParameterNumber.Param2),this._parametersList.set(d.StiFunctionType.prSumTime,d.StiParameterNumber.Param2),this._parametersList.set(d.StiFunctionType.prFirst,d.StiParameterNumber.Param2),this._parametersList.set(d.StiFunctionType.prLast,d.StiParameterNumber.Param2),this._parametersList.set(d.StiFunctionType.piCount,d.StiParameterNumber.Param2),this._parametersList.set(d.StiFunctionType.piCountDistinct,d.StiParameterNumber.Param2|d.StiParameterNumber.Param3),this._parametersList.set(d.StiFunctionType.piAvg,d.StiParameterNumber.Param2|d.StiParameterNumber.Param3),this._parametersList.set(d.StiFunctionType.piAvgD,d.StiParameterNumber.Param2|d.StiParameterNumber.Param3),this._parametersList.set(d.StiFunctionType.piAvgDate,d.StiParameterNumber.Param2|d.StiParameterNumber.Param3),this._parametersList.set(d.StiFunctionType.piAvgI,d.StiParameterNumber.Param2|d.StiParameterNumber.Param3),this._parametersList.set(d.StiFunctionType.piAvgTime,d.StiParameterNumber.Param2|d.StiParameterNumber.Param3),this._parametersList.set(d.StiFunctionType.piMax,d.StiParameterNumber.Param2|d.StiParameterNumber.Param3),this._parametersList.set(d.StiFunctionType.piMaxD,d.StiParameterNumber.Param2|d.StiParameterNumber.Param3),this._parametersList.set(d.StiFunctionType.piMaxDate,d.StiParameterNumber.Param2|d.StiParameterNumber.Param3),this._parametersList.set(d.StiFunctionType.piMaxI,d.StiParameterNumber.Param2|d.StiParameterNumber.Param3),this._parametersList.set(d.StiFunctionType.piMaxStr,d.StiParameterNumber.Param2|d.StiParameterNumber.Param3),this._parametersList.set(d.StiFunctionType.piMaxTime,d.StiParameterNumber.Param2|d.StiParameterNumber.Param3),this._parametersList.set(d.StiFunctionType.piMedian,d.StiParameterNumber.Param2|d.StiParameterNumber.Param3),this._parametersList.set(d.StiFunctionType.piMedianD,d.StiParameterNumber.Param2|d.StiParameterNumber.Param3),this._parametersList.set(d.StiFunctionType.piMedianI,d.StiParameterNumber.Param2|d.StiParameterNumber.Param3),this._parametersList.set(d.StiFunctionType.piMin,d.StiParameterNumber.Param2|d.StiParameterNumber.Param3),this._parametersList.set(d.StiFunctionType.piMinD,d.StiParameterNumber.Param2|d.StiParameterNumber.Param3),this._parametersList.set(d.StiFunctionType.piMinDate,d.StiParameterNumber.Param2|d.StiParameterNumber.Param3),this._parametersList.set(d.StiFunctionType.piMinI,d.StiParameterNumber.Param2|d.StiParameterNumber.Param3),this._parametersList.set(d.StiFunctionType.piMinStr,d.StiParameterNumber.Param2|d.StiParameterNumber.Param3),this._parametersList.set(d.StiFunctionType.piMinTime,d.StiParameterNumber.Param2|d.StiParameterNumber.Param3),this._parametersList.set(d.StiFunctionType.piMode,d.StiParameterNumber.Param2|d.StiParameterNumber.Param3),this._parametersList.set(d.StiFunctionType.piModeD,d.StiParameterNumber.Param2|d.StiParameterNumber.Param3),this._parametersList.set(d.StiFunctionType.piModeI,d.StiParameterNumber.Param2|d.StiParameterNumber.Param3),this._parametersList.set(d.StiFunctionType.piSum,d.StiParameterNumber.Param2|d.StiParameterNumber.Param3),this._parametersList.set(d.StiFunctionType.piSumD,d.StiParameterNumber.Param2|d.StiParameterNumber.Param3),this._parametersList.set(d.StiFunctionType.piSumDistinct,d.StiParameterNumber.Param2|d.StiParameterNumber.Param3|d.StiParameterNumber.Param4),this._parametersList.set(d.StiFunctionType.piSumI,d.StiParameterNumber.Param2|d.StiParameterNumber.Param3),this._parametersList.set(d.StiFunctionType.piSumTime,d.StiParameterNumber.Param2|d.StiParameterNumber.Param3),this._parametersList.set(d.StiFunctionType.piFirst,d.StiParameterNumber.Param2|d.StiParameterNumber.Param3),this._parametersList.set(d.StiFunctionType.piLast,d.StiParameterNumber.Param2|d.StiParameterNumber.Param3),this._parametersList.set(d.StiFunctionType.priCount,d.StiParameterNumber.Param2),this._parametersList.set(d.StiFunctionType.priCountDistinct,d.StiParameterNumber.Param2|d.StiParameterNumber.Param3),this._parametersList.set(d.StiFunctionType.priAvg,d.StiParameterNumber.Param2|d.StiParameterNumber.Param3),this._parametersList.set(d.StiFunctionType.priAvgD,d.StiParameterNumber.Param2|d.StiParameterNumber.Param3),this._parametersList.set(d.StiFunctionType.priAvgDate,d.StiParameterNumber.Param2|d.StiParameterNumber.Param3),this._parametersList.set(d.StiFunctionType.priAvgI,d.StiParameterNumber.Param2|d.StiParameterNumber.Param3),this._parametersList.set(d.StiFunctionType.priAvgTime,d.StiParameterNumber.Param2|d.StiParameterNumber.Param3),this._parametersList.set(d.StiFunctionType.priMax,d.StiParameterNumber.Param2|d.StiParameterNumber.Param3),this._parametersList.set(d.StiFunctionType.priMaxD,d.StiParameterNumber.Param2|d.StiParameterNumber.Param3),this._parametersList.set(d.StiFunctionType.priMaxDate,d.StiParameterNumber.Param2|d.StiParameterNumber.Param3),this._parametersList.set(d.StiFunctionType.priMaxI,d.StiParameterNumber.Param2|d.StiParameterNumber.Param3),this._parametersList.set(d.StiFunctionType.priMaxStr,d.StiParameterNumber.Param2|d.StiParameterNumber.Param3),this._parametersList.set(d.StiFunctionType.priMaxTime,d.StiParameterNumber.Param2|d.StiParameterNumber.Param3),this._parametersList.set(d.StiFunctionType.priMedian,d.StiParameterNumber.Param2|d.StiParameterNumber.Param3),this._parametersList.set(d.StiFunctionType.priMedianD,d.StiParameterNumber.Param2|d.StiParameterNumber.Param3),this._parametersList.set(d.StiFunctionType.priMedianI,d.StiParameterNumber.Param2|d.StiParameterNumber.Param3),this._parametersList.set(d.StiFunctionType.priMin,d.StiParameterNumber.Param2|d.StiParameterNumber.Param3),this._parametersList.set(d.StiFunctionType.priMinD,d.StiParameterNumber.Param2|d.StiParameterNumber.Param3),this._parametersList.set(d.StiFunctionType.priMinDate,d.StiParameterNumber.Param2|d.StiParameterNumber.Param3),this._parametersList.set(d.StiFunctionType.priMinI,d.StiParameterNumber.Param2|d.StiParameterNumber.Param3),this._parametersList.set(d.StiFunctionType.priMinStr,d.StiParameterNumber.Param2|d.StiParameterNumber.Param3),this._parametersList.set(d.StiFunctionType.priMinTime,d.StiParameterNumber.Param2|d.StiParameterNumber.Param3),this._parametersList.set(d.StiFunctionType.priMode,d.StiParameterNumber.Param2|d.StiParameterNumber.Param3),this._parametersList.set(d.StiFunctionType.priModeD,d.StiParameterNumber.Param2|d.StiParameterNumber.Param3),this._parametersList.set(d.StiFunctionType.priModeI,d.StiParameterNumber.Param2|d.StiParameterNumber.Param3),this._parametersList.set(d.StiFunctionType.priSum,d.StiParameterNumber.Param2|d.StiParameterNumber.Param3),this._parametersList.set(d.StiFunctionType.priSumD,d.StiParameterNumber.Param2|d.StiParameterNumber.Param3),this._parametersList.set(d.StiFunctionType.priSumDistinct,d.StiParameterNumber.Param2|d.StiParameterNumber.Param3|d.StiParameterNumber.Param4),this._parametersList.set(d.StiFunctionType.priSumI,d.StiParameterNumber.Param2|d.StiParameterNumber.Param3),this._parametersList.set(d.StiFunctionType.priSumTime,d.StiParameterNumber.Param2|d.StiParameterNumber.Param3),this._parametersList.set(d.StiFunctionType.priFirst,d.StiParameterNumber.Param2|d.StiParameterNumber.Param3),this._parametersList.set(d.StiFunctionType.priLast,d.StiParameterNumber.Param2|d.StiParameterNumber.Param3),this._parametersList.set(d.StiFunctionType.Rank,d.StiParameterNumber.Param2)),this._parametersList},enumerable:!1,configurable:!0}),Object.defineProperty(i.prototype,"componentsList",{get:function(){var e,t;if(null==this._componentsList){this._componentsList=new u;var r=this.report.getComponents();try{for(var n=__values(r.list),i=n.next();!i.done;i=n.next()){var o=i.value;this._componentsList.set(o.name,o)}}catch(t){e={error:t}}finally{try{i&&!i.done&&(t=n.return)&&t.call(n)}finally{if(e)throw e.error}}this._componentsList.set("this",this.report)}return this._componentsList},enumerable:!1,configurable:!0}),Object.defineProperty(i,"methodsHash",{get:function(){var e,t;if(null==this._methodsHash){var r=[new h(d.StiFunctionType.DateDiff,1,[s.stimulsoft.getType(),s.stimulsoft.getType()],c.stimulsoft.getType()),new h(d.StiFunctionType.DateSerial,1,[Number.stimulsoft.getType()],s.stimulsoft.getType()),new h(d.StiFunctionType.DateSerial,2,[Number.stimulsoft.getType(),Number.stimulsoft.getType(),Number.stimulsoft.getType()],s.stimulsoft.getType()),new h(d.StiFunctionType.TimeSerial,1,[Number.stimulsoft.getType(),Number.stimulsoft.getType(),Number.stimulsoft.getType()],c.stimulsoft.getType()),new h(d.StiFunctionType.Year,1,[s.stimulsoft.getType()],Number.stimulsoft.getType()),new h(d.StiFunctionType.Month,1,[s.stimulsoft.getType()],Number.stimulsoft.getType()),new h(d.StiFunctionType.Day,1,[s.stimulsoft.getType()],Number.stimulsoft.getType()),new h(d.StiFunctionType.Hour,1,[s.stimulsoft.getType()],Number.stimulsoft.getType()),new h(d.StiFunctionType.Minute,1,[s.stimulsoft.getType()],Number.stimulsoft.getType()),new h(d.StiFunctionType.Second,1,[s.stimulsoft.getType()],Number.stimulsoft.getType()),new h(d.StiFunctionType.DayOfWeek,1,[s.stimulsoft.getType()]),new h(d.StiFunctionType.DayOfWeek,3,[s.stimulsoft.getType(),Boolean.stimulsoft.getType()]),new h(d.StiFunctionType.DayOfWeek,5,[s.stimulsoft.getType(),String.stimulsoft.getType()]),new h(d.StiFunctionType.DayOfWeek,7,[s.stimulsoft.getType(),String.stimulsoft.getType(),Boolean.stimulsoft.getType()]),new h(d.StiFunctionType.DayOfYear,1,[s.stimulsoft.getType()],Number.stimulsoft.getType()),new h(d.StiFunctionType.DaysInMonth,1,[s.stimulsoft.getType()],Number.stimulsoft.getType()),new h(d.StiFunctionType.DaysInMonth,3,[Number.stimulsoft.getType(),Number.stimulsoft.getType()],Number.stimulsoft.getType()),new h(d.StiFunctionType.DaysInYear,1,[s.stimulsoft.getType()],Number.stimulsoft.getType()),new h(d.StiFunctionType.DaysInYear,3,[Number.stimulsoft.getType()],Number.stimulsoft.getType()),new h(d.StiFunctionType.MonthName,1,[s.stimulsoft.getType()]),new h(d.StiFunctionType.MonthName,3,[s.stimulsoft.getType(),Boolean.stimulsoft.getType()]),new h(d.StiFunctionType.MonthName,5,[s.stimulsoft.getType(),String.stimulsoft.getType()]),new h(d.StiFunctionType.MonthName,7,[s.stimulsoft.getType(),String.stimulsoft.getType(),Boolean.stimulsoft.getType()]),new h(d.StiFunctionType.WeekOfYear,1,[s.stimulsoft.getType()],Number.stimulsoft.getType()),new h(d.StiFunctionType.WeekOfYear,3,[s.stimulsoft.getType(),Number.stimulsoft.getType()],Number.stimulsoft.getType()),new h(d.StiFunctionType.WeekOfYear,5,[s.stimulsoft.getType(),Number.stimulsoft.getType(),Number.stimulsoft.getType()],Number.stimulsoft.getType()),new h(d.StiFunctionType.WeekOfMonth,1,[s.stimulsoft.getType()],Number.stimulsoft.getType()),new h(d.StiFunctionType.WeekOfMonth,3,[s.stimulsoft.getType(),Number.stimulsoft.getType()],Number.stimulsoft.getType()),new h(d.StiFunctionType.WeekOfMonth,5,[s.stimulsoft.getType(),Number.stimulsoft.getType(),Number.stimulsoft.getType()],Number.stimulsoft.getType()),new h(d.StiFunctionType.Abs,1,[Number.stimulsoft.getType()],Number.stimulsoft.getType()),new h(d.StiFunctionType.Abs,2,[Number.stimulsoft.getType()],Number.stimulsoft.getType()),new h(d.StiFunctionType.Abs,3,[Number.stimulsoft.getType()],Number.stimulsoft.getType()),new h(d.StiFunctionType.Acos,1,[Number.stimulsoft.getType()],Number.stimulsoft.getType()),new h(d.StiFunctionType.Asin,1,[Number.stimulsoft.getType()],Number.stimulsoft.getType()),new h(d.StiFunctionType.Atan,1,[Number.stimulsoft.getType()],Number.stimulsoft.getType()),new h(d.StiFunctionType.Cos,1,[Number.stimulsoft.getType()],Number.stimulsoft.getType()),new h(d.StiFunctionType.Sin,1,[Number.stimulsoft.getType()],Number.stimulsoft.getType()),new h(d.StiFunctionType.Tan,1,[Number.stimulsoft.getType()],Number.stimulsoft.getType()),new h(d.StiFunctionType.Ceiling,1,[Number.stimulsoft.getType()],Number.stimulsoft.getType()),new h(d.StiFunctionType.Ceiling,2,[Number.stimulsoft.getType()],Number.stimulsoft.getType()),new h(d.StiFunctionType.Div,1,[Number.stimulsoft.getType(),Number.stimulsoft.getType()],Number.stimulsoft.getType()),new h(d.StiFunctionType.Div,2,[Number.stimulsoft.getType(),Number.stimulsoft.getType(),Number.stimulsoft.getType()],Number.stimulsoft.getType()),new h(d.StiFunctionType.Div,3,[Number.stimulsoft.getType(),Number.stimulsoft.getType()],Number.stimulsoft.getType()),new h(d.StiFunctionType.Div,4,[Number.stimulsoft.getType(),Number.stimulsoft.getType(),Number.stimulsoft.getType()],Number.stimulsoft.getType()),new h(d.StiFunctionType.Div,5,[Number.stimulsoft.getType(),Number.stimulsoft.getType()],Number.stimulsoft.getType()),new h(d.StiFunctionType.Div,6,[Number.stimulsoft.getType(),Number.stimulsoft.getType(),Number.stimulsoft.getType()],Number.stimulsoft.getType()),new h(d.StiFunctionType.Exp,1,[Number.stimulsoft.getType()],Number.stimulsoft.getType()),new h(d.StiFunctionType.Floor,1,[Number.stimulsoft.getType()],Number.stimulsoft.getType()),new h(d.StiFunctionType.Floor,2,[Number.stimulsoft.getType()],Number.stimulsoft.getType()),new h(d.StiFunctionType.Log,1,[Number.stimulsoft.getType()],Number.stimulsoft.getType()),new h(d.StiFunctionType.Maximum,1,[Number.stimulsoft.getType(),Number.stimulsoft.getType()],Number.stimulsoft.getType()),new h(d.StiFunctionType.Maximum,2,[Number.stimulsoft.getType(),Number.stimulsoft.getType()],Number.stimulsoft.getType()),new h(d.StiFunctionType.Maximum,3,[Number.stimulsoft.getType(),Number.stimulsoft.getType()],Number.stimulsoft.getType()),new h(d.StiFunctionType.Minimum,1,[Number.stimulsoft.getType(),Number.stimulsoft.getType()],Number.stimulsoft.getType()),new h(d.StiFunctionType.Minimum,2,[Number.stimulsoft.getType(),Number.stimulsoft.getType()],Number.stimulsoft.getType()),new h(d.StiFunctionType.Minimum,3,[Number.stimulsoft.getType(),Number.stimulsoft.getType()],Number.stimulsoft.getType()),new h(d.StiFunctionType.Round,1,[Number.stimulsoft.getType()],Number.stimulsoft.getType()),new h(d.StiFunctionType.Round,2,[Number.stimulsoft.getType(),Number.stimulsoft.getType()],Number.stimulsoft.getType()),new h(d.StiFunctionType.Round,3,[Number.stimulsoft.getType()],Number.stimulsoft.getType()),new h(d.StiFunctionType.Round,4,[Number.stimulsoft.getType(),Number.stimulsoft.getType()],Number.stimulsoft.getType()),new h(d.StiFunctionType.Sign,1,[Number.stimulsoft.getType()],Number.stimulsoft.getType()),new h(d.StiFunctionType.Sign,2,[Number.stimulsoft.getType()],Number.stimulsoft.getType()),new h(d.StiFunctionType.Sign,3,[Number.stimulsoft.getType()],Number.stimulsoft.getType()),new h(d.StiFunctionType.Truncate,1,[Number.stimulsoft.getType()],Number.stimulsoft.getType()),new h(d.StiFunctionType.Truncate,2,[Number.stimulsoft.getType()],Number.stimulsoft.getType()),new h(d.StiFunctionType.IsNull,1,[Object.stimulsoft.getType(),String.stimulsoft.getType()],Boolean.stimulsoft.getType()),new h(d.StiFunctionType.Next,1,[Object.stimulsoft.getType(),String.stimulsoft.getType()],Object.stimulsoft.getType()),new h(d.StiFunctionType.NextIsNull,1,[Object.stimulsoft.getType(),String.stimulsoft.getType()],Boolean.stimulsoft.getType()),new h(d.StiFunctionType.Previous,1,[Object.stimulsoft.getType(),String.stimulsoft.getType()],Object.stimulsoft.getType()),new h(d.StiFunctionType.PreviousIsNull,1,[Object.stimulsoft.getType(),String.stimulsoft.getType()],Boolean.stimulsoft.getType()),new h(d.StiFunctionType.DateToStr,1,[s.stimulsoft.getType()]),new h(d.StiFunctionType.DateToStr,3,[s.stimulsoft.getType(),Boolean.stimulsoft.getType()]),new h(d.StiFunctionType.DateToStrPl,1,[s.stimulsoft.getType(),Boolean.stimulsoft.getType()]),new h(d.StiFunctionType.DateToStrRu,1,[s.stimulsoft.getType()]),new h(d.StiFunctionType.DateToStrRu,2,[s.stimulsoft.getType(),Boolean.stimulsoft.getType()]),new h(d.StiFunctionType.DateToStrUa,1,[s.stimulsoft.getType()]),new h(d.StiFunctionType.DateToStrUa,2,[s.stimulsoft.getType(),Boolean.stimulsoft.getType()]),new h(d.StiFunctionType.DateToStrPt,1,[s.stimulsoft.getType()]),new h(d.StiFunctionType.DateToStrPtBr,1,[s.stimulsoft.getType()]),new h(d.StiFunctionType.Insert,1,[String.stimulsoft.getType(),Number.stimulsoft.getType(),String.stimulsoft.getType()]),new h(d.StiFunctionType.Left,1,[String.stimulsoft.getType(),Number.stimulsoft.getType()]),new h(d.StiFunctionType.Right,1,[String.stimulsoft.getType(),Number.stimulsoft.getType()]),new h(d.StiFunctionType.Mid,1,[String.stimulsoft.getType(),Number.stimulsoft.getType(),Number.stimulsoft.getType()]),new h(d.StiFunctionType.Length,1,[String.stimulsoft.getType()],Number.stimulsoft.getType()),new h(d.StiFunctionType.Remove,1,[String.stimulsoft.getType(),Number.stimulsoft.getType()]),new h(d.StiFunctionType.Remove,2,[String.stimulsoft.getType(),Number.stimulsoft.getType(),Number.stimulsoft.getType()]),new h(d.StiFunctionType.Replace,1,[String.stimulsoft.getType(),String.stimulsoft.getType(),String.stimulsoft.getType()]),new h(d.StiFunctionType.Substring,1,[String.stimulsoft.getType(),Number.stimulsoft.getType(),Number.stimulsoft.getType()]),new h(d.StiFunctionType.Trim,1,[String.stimulsoft.getType()]),new h(d.StiFunctionType.Roman,1,[Number.stimulsoft.getType()]),new h(d.StiFunctionType.ToOrdinal,1,[Number.stimulsoft.getType()]),new h(d.StiFunctionType.ToLowerCase,1,[String.stimulsoft.getType()]),new h(d.StiFunctionType.ToUpperCase,1,[String.stimulsoft.getType()]),new h(d.StiFunctionType.ToProperCase,1,[String.stimulsoft.getType()]),new h(d.StiFunctionType.ToCurrencyWords,1,[Number.stimulsoft.getType()]),new h(d.StiFunctionType.ToCurrencyWords,4,[Number.stimulsoft.getType(),Boolean.stimulsoft.getType()]),new h(d.StiFunctionType.ToCurrencyWords,7,[Number.stimulsoft.getType(),Boolean.stimulsoft.getType(),Boolean.stimulsoft.getType()]),new h(d.StiFunctionType.ToCurrencyWords,10,[Number.stimulsoft.getType(),Boolean.stimulsoft.getType(),Boolean.stimulsoft.getType(),String.stimulsoft.getType(),String.stimulsoft.getType()]),new h(d.StiFunctionType.ToCurrencyWordsAr,1,[Number.stimulsoft.getType(),String.stimulsoft.getType(),String.stimulsoft.getType()]),new h(d.StiFunctionType.ToCurrencyWordsEnGb,1,[Number.stimulsoft.getType(),String.stimulsoft.getType(),Number.stimulsoft.getType()]),new h(d.StiFunctionType.ToCurrencyWordsEnIn,1,[String.stimulsoft.getType(),String.stimulsoft.getType(),Number.stimulsoft.getType(),Number.stimulsoft.getType(),Boolean.stimulsoft.getType()]),new h(d.StiFunctionType.ToCurrencyWordsEs,1,[Number.stimulsoft.getType(),String.stimulsoft.getType(),Number.stimulsoft.getType()]),new h(d.StiFunctionType.ToCurrencyWordsFr,1,[Number.stimulsoft.getType(),String.stimulsoft.getType(),Number.stimulsoft.getType()]),new h(d.StiFunctionType.ToCurrencyWordsNl,1,[Number.stimulsoft.getType(),String.stimulsoft.getType(),Number.stimulsoft.getType()]),new h(d.StiFunctionType.ToCurrencyWordsPl,1,[Number.stimulsoft.getType(),String.stimulsoft.getType(),Boolean.stimulsoft.getType(),Boolean.stimulsoft.getType()]),new h(d.StiFunctionType.ToCurrencyWordsPt,1,[Number.stimulsoft.getType(),Boolean.stimulsoft.getType(),Boolean.stimulsoft.getType()]),new h(d.StiFunctionType.ToCurrencyWordsPtBr,1,[Number.stimulsoft.getType()]),new h(d.StiFunctionType.ToCurrencyWordsRu,1,[Number.stimulsoft.getType()]),new h(d.StiFunctionType.ToCurrencyWordsRu,4,[Number.stimulsoft.getType(),Boolean.stimulsoft.getType()]),new h(d.StiFunctionType.ToCurrencyWordsRu,7,[Number.stimulsoft.getType(),Boolean.stimulsoft.getType(),String.stimulsoft.getType()]),new h(d.StiFunctionType.ToCurrencyWordsRu,10,[Number.stimulsoft.getType(),String.stimulsoft.getType(),Boolean.stimulsoft.getType()]),new h(d.StiFunctionType.ToCurrencyWordsThai,1,[Number.stimulsoft.getType()]),new h(d.StiFunctionType.ToCurrencyWordsTr,1,[Number.stimulsoft.getType()]),new h(d.StiFunctionType.ToCurrencyWordsTr,2,[Number.stimulsoft.getType(),String.stimulsoft.getType(),Boolean.stimulsoft.getType()]),new h(d.StiFunctionType.ToCurrencyWordsUa,1,[Number.stimulsoft.getType()]),new h(d.StiFunctionType.ToCurrencyWordsUa,4,[Number.stimulsoft.getType(),Boolean.stimulsoft.getType()]),new h(d.StiFunctionType.ToCurrencyWordsUa,7,[Number.stimulsoft.getType(),Boolean.stimulsoft.getType(),String.stimulsoft.getType()]),new h(d.StiFunctionType.ToCurrencyWordsZh,1,[Number.stimulsoft.getType()]),new h(d.StiFunctionType.ToWords,1,[Number.stimulsoft.getType()]),new h(d.StiFunctionType.ToWords,4,[Number.stimulsoft.getType(),Boolean.stimulsoft.getType()]),new h(d.StiFunctionType.ToWordsAr,1,[Number.stimulsoft.getType()]),new h(d.StiFunctionType.ToWordsEs,1,[Number.stimulsoft.getType(),Boolean.stimulsoft.getType()]),new h(d.StiFunctionType.ToWordsEs,2,[Number.stimulsoft.getType(),Boolean.stimulsoft.getType(),Boolean.stimulsoft.getType()]),new h(d.StiFunctionType.ToWordsEnIn,1,[Number.stimulsoft.getType(),Boolean.stimulsoft.getType()]),new h(d.StiFunctionType.ToWordsFa,1,[Number.stimulsoft.getType()]),new h(d.StiFunctionType.ToWordsPl,1,[Number.stimulsoft.getType(),Boolean.stimulsoft.getType()]),new h(d.StiFunctionType.ToWordsPt,1,[Number.stimulsoft.getType(),Boolean.stimulsoft.getType()]),new h(d.StiFunctionType.ToWordsRu,1,[Number.stimulsoft.getType()]),new h(d.StiFunctionType.ToWordsRu,4,[Number.stimulsoft.getType(),Boolean.stimulsoft.getType()]),new h(d.StiFunctionType.ToWordsTr,1,[Number.stimulsoft.getType()]),new h(d.StiFunctionType.ToWordsUa,1,[Number.stimulsoft.getType()]),new h(d.StiFunctionType.ToWordsUa,4,[Number.stimulsoft.getType(),Boolean.stimulsoft.getType()]),new h(d.StiFunctionType.StrToNullableDateTime,1,[String.stimulsoft.getType()],s.stimulsoft.getType()),new h(d.StiFunctionType.CountAllLevels,1,[Object.stimulsoft.getType()],Number.stimulsoft.getType()),new h(d.StiFunctionType.CountAllLevelsOnlyChilds,1,[Object.stimulsoft.getType()],Number.stimulsoft.getType()),new h(d.StiFunctionType.CountOnlyChilds,1,[Object.stimulsoft.getType()],Number.stimulsoft.getType()),new h(d.StiFunctionType.Rank,1,[Object.stimulsoft.getType(),Object.stimulsoft.getType()]),new h(d.StiFunctionType.Rank,2,[Object.stimulsoft.getType(),Object.stimulsoft.getType(),Boolean.stimulsoft.getType(),Object.stimulsoft.getType()]),new h(d.StiFunctionType.MathRound,1,[Number.stimulsoft.getType()],Number.stimulsoft.getType()),new h(d.StiFunctionType.MathRound,2,[Number.stimulsoft.getType(),Number.stimulsoft.getType()],Number.stimulsoft.getType()),new h(d.StiFunctionType.MathRound,3,[Number.stimulsoft.getType(),Number.stimulsoft.getType()],Number.stimulsoft.getType()),new h(d.StiFunctionType.MathRound,4,[Number.stimulsoft.getType(),Number.stimulsoft.getType(),Number.stimulsoft.getType()],Number.stimulsoft.getType()),new h(d.StiFunctionType.MathRound,5,[Number.stimulsoft.getType()],Number.stimulsoft.getType()),new h(d.StiFunctionType.MathRound,6,[Number.stimulsoft.getType(),Number.stimulsoft.getType()],Number.stimulsoft.getType()),new h(d.StiFunctionType.MathRound,7,[Number.stimulsoft.getType(),Number.stimulsoft.getType()],Number.stimulsoft.getType()),new h(d.StiFunctionType.MathRound,8,[Number.stimulsoft.getType(),Number.stimulsoft.getType(),Number.stimulsoft.getType()],Number.stimulsoft.getType()),new h(d.StiFunctionType.MathPow,1,[Number.stimulsoft.getType(),Number.stimulsoft.getType()],Number.stimulsoft.getType()),new h(d.StiFunctionType.GetAnchorPageNumber,1,[Object.stimulsoft.getType()],Number.stimulsoft.getType()),new h(d.StiFunctionType.GetAnchorPageNumberThrough,1,[Object.stimulsoft.getType()],Number.stimulsoft.getType()),new h(d.StiFunctionType.ParseTimeSpan,1,[String.stimulsoft.getType()],c.stimulsoft.getType()),new h(d.StiFunctionType.ParseDateTime,1,[String.stimulsoft.getType()],s.stimulsoft.getType()),new h(d.StiFunctionType.ParseDecimal,1,[String.stimulsoft.getType()],Number.stimulsoft.getType()),new h(d.StiFunctionType.ParseDouble,1,[String.stimulsoft.getType()],Number.stimulsoft.getType()),new h(d.StiFunctionType.ParseInt,1,[String.stimulsoft.getType()],Number.stimulsoft.getType()),new h(d.StiFunctionType.ToString,1,[Object.stimulsoft.getType()]),new h(d.StiFunctionType.StringIsNullOrEmpty,1,[String.stimulsoft.getType()],Boolean.stimulsoft.getType()),new h(d.StiFunctionType.StringIsNullOrWhiteSpace,1,[String.stimulsoft.getType()],Boolean.stimulsoft.getType()),new h(d.StiFunctionType.EngineHelperJoinColumnContent,1,[p.stimulsoft.getType(),String.stimulsoft.getType(),String.stimulsoft.getType()]),new h(d.StiFunctionType.EngineHelperJoinColumnContent,2,[m.Report.Dictionary.StiBusinessObject.stimulsoft.getType(),String.stimulsoft.getType(),String.stimulsoft.getType()]),new h(d.StiFunctionType.EngineHelperJoinColumnContent,3,[m.Report.Dictionary.StiDataSource.stimulsoft.getType(),String.stimulsoft.getType(),String.stimulsoft.getType(),Boolean.stimulsoft.getType()]),new h(d.StiFunctionType.EngineHelperJoinColumnContent,4,[m.Report.Dictionary.StiBusinessObject.stimulsoft.getType(),String.stimulsoft.getType(),String.stimulsoft.getType(),Boolean.stimulsoft.getType()]),new h(d.StiFunctionType.EngineHelperToQueryString,1,[Object.stimulsoft.getType(),String.stimulsoft.getType(),String.stimulsoft.getType()]),new h(d.StiFunctionType.m_ToShortDateString,1,[s.stimulsoft.getType()]),new h(d.StiFunctionType.m_ToShortTimeString,1,[s.stimulsoft.getType()]),new h(d.StiFunctionType.m_ToLongDateString,1,[s.stimulsoft.getType()]),new h(d.StiFunctionType.m_ToLongTimeString,1,[s.stimulsoft.getType()]),new h(d.StiFunctionType.m_Substring,1,[String.stimulsoft.getType(),Number.stimulsoft.getType()]),new h(d.StiFunctionType.m_Substring,2,[String.stimulsoft.getType(),Number.stimulsoft.getType(),Number.stimulsoft.getType()]),new h(d.StiFunctionType.m_ToLower,1,[String.stimulsoft.getType()]),new h(d.StiFunctionType.m_ToUpper,1,[String.stimulsoft.getType()]),new h(d.StiFunctionType.m_IndexOf,1,[String.stimulsoft.getType(),String.stimulsoft.getType()],Number.stimulsoft.getType()),new h(d.StiFunctionType.m_StartsWith,1,[String.stimulsoft.getType(),String.stimulsoft.getType()],Boolean.stimulsoft.getType()),new h(d.StiFunctionType.m_EndsWith,1,[String.stimulsoft.getType(),String.stimulsoft.getType()],Boolean.stimulsoft.getType()),new h(d.StiFunctionType.m_Replace,1,[String.stimulsoft.getType(),String.stimulsoft.getType(),String.stimulsoft.getType()]),new h(d.StiFunctionType.m_Contains,1,[String.stimulsoft.getType(),String.stimulsoft.getType()],Boolean.stimulsoft.getType()),new h(d.StiFunctionType.m_Contains,21,[Object.stimulsoft.getType(),Object.stimulsoft.getType()],Boolean.stimulsoft.getType()),new h(d.StiFunctionType.m_ToString,1,[Object.stimulsoft.getType()]),new h(d.StiFunctionType.m_ToString,2,[Object.stimulsoft.getType(),String.stimulsoft.getType()])];this._methodsHash=new u;try{for(var n=__values(r),i=n.next();!i.done;i=n.next()){var o=i.value,a=this._methodsHash.get(o.name);null==a&&(a=[],this._methodsHash.set(o.name,a)),a.push(o)}}catch(t){e={error:t}}finally{try{i&&!i.done&&(t=n.return)&&t.call(n)}finally{if(e)throw e.error}}}return this._methodsHash},enumerable:!1,configurable:!0}),Object.defineProperty(i,"constantsList",{get:function(){return null==this._constantsList&&(this._constantsList=new u,this._constantsList.set("true",!0),this._constantsList.set("True",!0),this._constantsList.set("false",!1),this._constantsList.set("False",!1),this._constantsList.set("null",null),this._constantsList.set("DBNull",this.namespaceObj),this._constantsList.set("DBNull.Value",null),this._constantsList.set("MidpointRounding",this.namespaceObj),this._constantsList.set("MidpointRounding.ToEven",m.System.MidpointRounding.ToEven),this._constantsList.set("MidpointRounding.AwayFromZero",m.System.MidpointRounding.AwayFromZero),this._constantsList.set("StiRankOrder",this.namespaceObj),this._constantsList.set("StiRankOrder.Asc",o.StiRankOrder.Asc),this._constantsList.set("StiRankOrder.Desc",o.StiRankOrder.Desc),this._constantsList.set("DayOfWeek",this.namespaceObj),this._constantsList.set("DayOfWeek.Sunday",m.System.DayOfWeek.Sunday),this._constantsList.set("DayOfWeek.Monday",m.System.DayOfWeek.Monday),this._constantsList.set("DayOfWeek.Tuesday",m.System.DayOfWeek.Tuesday),this._constantsList.set("DayOfWeek.Wednesday",m.System.DayOfWeek.Wednesday),this._constantsList.set("DayOfWeek.Thursday",m.System.DayOfWeek.Thursday),this._constantsList.set("DayOfWeek.Friday",m.System.DayOfWeek.Friday),this._constantsList.set("DayOfWeek.Saturday",m.System.DayOfWeek.Saturday),this._constantsList.set("CalendarWeekRule",this.namespaceObj),this._constantsList.set("CalendarWeekRule.FirstDay",m.System.Globalization.CalendarWeekRule.FirstDay),this._constantsList.set("CalendarWeekRule.FirstFullWeek",m.System.Globalization.CalendarWeekRule.FirstFullWeek),this._constantsList.set("CalendarWeekRule.FirstFourDayWeek",m.System.Globalization.CalendarWeekRule.FirstFourDayWeek),this._constantsList.set("System.Globalization.CalendarWeekRule",this.namespaceObj),this._constantsList.set("System.Globalization.CalendarWeekRule.FirstDay",m.System.Globalization.CalendarWeekRule.FirstDay),this._constantsList.set("System.Globalization.CalendarWeekRule.FirstFullWeek",m.System.Globalization.CalendarWeekRule.FirstFullWeek),this._constantsList.set("System.Globalization.CalendarWeekRule.FirstFourDayWeek",m.System.Globalization.CalendarWeekRule.FirstFourDayWeek)),this._constantsList},enumerable:!1,configurable:!0}),Object.defineProperty(i,"namespacesList",{get:function(){return null==this._namespacesList&&(this._namespacesList=new u,this._namespacesList.set("Totals",this.namespaceObj),this._namespacesList.set("System",this.namespaceObj),this._namespacesList.set("System.Convert",this.namespaceObj),this._namespacesList.set("System.Globalization",this.namespaceObj),this._namespacesList.set("Convert",this.namespaceObj),this._namespacesList.set("Math",this.namespaceObj),this._namespacesList.set("Func",this.namespaceObj),this._namespacesList.set("Func.EngineHelper",this.namespaceObj)),this._namespacesList},enumerable:!1,configurable:!0}),Object.defineProperty(i.prototype,"userFunctionsList",{get:function(){var e,t;if(null==this._userFunctionsList){this._userFunctionsList=new u;var r=new u,n=l.getFunctions(!1);try{for(var i=__values(n),o=i.next();!o.done;o=i.next()){var a=o.value,s=r.get(a.functionName);null==s&&(s=[],r.set(a.functionName,s),this._userFunctionsList.set(a.functionName,d.StiFunctionType.UserFunction+this._userFunctionsList.count)),s.push(a)}}catch(t){e={error:t}}finally{try{o&&!o.done&&(t=i.return)&&t.call(i)}finally{if(e)throw e.error}}}return this._userFunctionsList},enumerable:!1,configurable:!0}),i._typesList=null,i._systemVariablesList=null,i._propertiesList=null,i._functionsList=null,i._methodsList=null,i._parametersList=null,i._methodsHash=null,i._constantsList=null,i.namespaceObj={},i._namespacesList=null,i);function i(){this.report=null,this.expressionPosition=0,this._componentsList=null,this.lockUserFunctionsList={},this._userFunctionsList=null}t.StiParser_Properties=n}(r=d.StiParser||(d.StiParser={}))}(Stimulsoft=Stimulsoft||{}),function(T){var t,e,r,E,n;e=t=T.Report||(T.Report={}),E=r=e.Engine||(e.Engine={}),function(g){var o=T.System.StiArray,u=T.System.StiString,a=T.System.Type,f=T.System.Enum,S=T.System.Text.StringBuilder,y,t;(t=y=g.ParserErrorCode||(g.ParserErrorCode={}))[t["SyntaxError"]=0]="SyntaxError",t[t["IntegralConstantIsTooLarge"]=1]="IntegralConstantIsTooLarge",t[t["ExpressionIsEmpty"]=2]="ExpressionIsEmpty",t[t["DivisionByZero"]=3]="DivisionByZero",t[t["UnexpectedEndOfExpression"]=4]="UnexpectedEndOfExpression",t[t["NameDoesNotExistInCurrentContext"]=5]="NameDoesNotExistInCurrentContext",t[t["UnprocessedLexemesRemain"]=6]="UnprocessedLexemesRemain",t[t["LeftParenthesisExpected"]=7]="LeftParenthesisExpected",t[t["RightParenthesisExpected"]=8]="RightParenthesisExpected",t[t["FieldMethodOrPropertyNotFound"]=9]="FieldMethodOrPropertyNotFound",t[t["OperatorCannotBeAppliedToOperands"]=10]="OperatorCannotBeAppliedToOperands",t[t["FunctionNotFound"]=11]="FunctionNotFound",t[t["NoOverloadForMethodTakesNArguments"]=12]="NoOverloadForMethodTakesNArguments",t[t["FunctionHasInvalidArgument"]=13]="FunctionHasInvalidArgument",t[t["FunctionNotYetImplemented"]=14]="FunctionNotYetImplemented",t[t["MethodHasInvalidArgument"]=15]="MethodHasInvalidArgument",t[t["ItemDoesNotContainDefinition"]=16]="ItemDoesNotContainDefinition",t[t["NoMatchingOverloadedMethod"]=17]="NoMatchingOverloadedMethod",t[t["TheTypeOrNamespaceNotExistInTheNamespace"]=18]="TheTypeOrNamespaceNotExistInTheNamespace";var I=(e.prototype.toString=function(){return u.format("{0}",this.typeCode)},e);function e(t,e,r){this.position=-1,this.length=-1,this.typeCode=t,this.position=e,this.length=r}var c=(r.prototype.toString=function(){return u.isNullOrWhiteSpace(this.baseMessage)?this.message:this.baseMessage},r);function r(t){this.message=null,this.baseMessage=null,this.position=-1,this.length=-1,this.message=t}g.StiParserException=c;var t=(n=g.StiParser_Properties,__extends(A,n),A.prototype.throwError=function(t,e,r,n,i,o){void 0===e&&(e=null),void 0===r&&(r=""),void 0===n&&(n=""),void 0===i&&(i=""),void 0===o&&(o="");var a="Unknown error",s;t<A.errorsList.length&&(a=u.format(A.errorsList[t],r,n,i,o));var l,o=new c("Parser error: "+a);throw o.baseMessage=a,null!=e&&(o.position=this.expressionPosition+e.position,o.length=e.length),o},A.prototype.checkTypes=function(t){var e,r;if(null==t||0==t.length)return;var n=new Array,i=null,o=null,a,s;try{for(var l=__values(t),u=l.next();!u.done;u=l.next()){var c=u.value,p=Object.stimulsoft.getType();switch(c.type){case E.StiAsmCommandType.PushValue:n.push(new I((null==c.parameter1?Object:c.parameter1).stimulsoft.getType(),c.position,c.length));break;case E.StiAsmCommandType.PushVariable:var h=c.parameter1,m=this.report.dictionary.variables.getByName(h),d;null!=m?p=m.type:null==this.report.variables||!this.report.variables.containsKey(h)||null!=(d=this.report.variables.get(h))&&(p=d.stimulsoft.getType()),n.push(new I(p,c.position,c.length));break;case E.StiAsmCommandType.PushSystemVariable:var d=this.get_systemVariable(c.parameter1);null!=d&&(p=d.stimulsoft.getType()),n.push(new I(p,c.position,c.length));break;case E.StiAsmCommandType.PushComponent:n.push(new I((null==c.parameter1?Object:c.parameter1).stimulsoft.getType(),c.position,c.length));break;case E.StiAsmCommandType.CopyToVariable:break;case E.StiAsmCommandType.PushFunction:i=new Array;for(var g=0;g<c.parameter2.stimulsoft.toNumber();g++)i.push(n.pop());i.reverse(),o=new Array(i.length);for(var g=0;g<i.length;g++)o[g]=i[g].typeCode;var f=this.getParserMethodInfo(c.parameter1,o),p=null!=f?f.returnType:Object.stimulsoft.getType();n.push(new I(p,c.position,c.length));break;case E.StiAsmCommandType.PushMethod:i=new Array;for(var g=0;g<c.parameter2.stimulsoft.toNumber();g++)i.push(n.pop());i.reverse(),o=new Array(i.length);for(var g=0;g<i.length;g++)o[g]=i[g].typeCode;p=this.getMethodResultType(c.parameter1,o),n.push(new I(p,c.position,c.length));break;case E.StiAsmCommandType.PushProperty:p=this.getPropertyType(c.parameter1,n.pop().typeCode),n.push(new I(p,c.position,c.length));break;case E.StiAsmCommandType.PushDataSourceField:var S=c.parameter1.split("."),y,f,A;if((y=this.report.dictionary.dataSources.getByName(S[0])).is(T.Report.Dictionary.StiVirtualSource)&&2<S.length&&!y.columns.contains(S[1])&&(f=S[1]+"."+S[2],y.columns.contains(f)?(S[1]=f,S.stimulsoft.removeAt(2)):3<S.length&&(f+="."+S[3],y.columns.contains(f)&&(S[1]=f,S.stimulsoft.removeAt(2),S.stimulsoft.removeAt(2)))),1<S.length)if(2==S.length){null!=(A=y.columns.getByName(S[1]))&&(p=A.type)}else{var b=S[1],y=y.getParentDataSource(b),C=2,A;while(C<S.length-1)b=S[C],y=y.getParentDataSource(b),C++;null!=(A=y.columns.getByName(S[C]))&&(p=A.type)}else p=y.stimulsoft.getType();n.push(new I(p,c.position,c.length));break;case E.StiAsmCommandType.PushBusinessObjectField:var v=c.parameter1.split("."),w=this.report.dictionary.businessObjects.getByName(v[0]);if(1<v.length){var B=null,C=1;while(C<v.length-1){if(B=v[C],w.columns.contains(B))break;w=w.businessObjects.getByName(B),C++}p=w.columns.contains(v[C])?w.columns.getByName(v[C]).type:w.businessObjects.getByName(v[C]).stimulsoft.getType()}else p=w.stimulsoft.getType();n.push(new I(p,c.position,c.length));break;case E.StiAsmCommandType.PushArrayElement:i=new Array;for(var g=0;g<c.parameter1.stimulsoft.toNumber();g++)i.push(n.pop());i.reverse(),o=new Array(i.length);for(var g=0;g<i.length;g++)o[g]=i[g].typeCode;p=this.getArrayElementType(o),n.push(new I(p,c.position,c.length));break;case E.StiAsmCommandType.Add:case E.StiAsmCommandType.Sub:case E.StiAsmCommandType.Mult:case E.StiAsmCommandType.Div:case E.StiAsmCommandType.Mod:case E.StiAsmCommandType.Shl:case E.StiAsmCommandType.Shr:case E.StiAsmCommandType.And:case E.StiAsmCommandType.Or:case E.StiAsmCommandType.Xor:case E.StiAsmCommandType.And2:case E.StiAsmCommandType.Or2:s=n.pop(),o=[(a=n.pop()).typeCode,s.typeCode],n.push(new I(a.typeCode,c.position,c.length));break;case E.StiAsmCommandType.Neg:case E.StiAsmCommandType.Not:o=[(a=n.pop()).typeCode];break;case E.StiAsmCommandType.CompareLeft:case E.StiAsmCommandType.CompareLeftEqual:case E.StiAsmCommandType.CompareRight:case E.StiAsmCommandType.CompareRightEqual:case E.StiAsmCommandType.CompareEqual:case E.StiAsmCommandType.CompareNotEqual:s=n.pop(),a=n.pop(),p=Boolean.stimulsoft.getType(),n.push(new I(p,c.position,c.length));break;case E.StiAsmCommandType.Cast:a=n.pop(),n.push(new I(p,c.position,c.length));break}}}catch(t){e={error:t}}finally{try{u&&!u.done&&(r=l.return)&&r.call(l)}finally{if(e)throw e.error}}},A.prototype.getMethodResultType=function(t,e){var e=this.getParserMethodInfo(t,e);if(null!=e)return e.returnType;return null},A.prototype.getPropertyType=function(t,e){return null},A.prototype.getArrayElementType=function(t){var e=t[0];return null},A.prototype.get_systemVariable=function(t){return null},A.isImplicitlyCastableTo=function(t,e){if(e==String&&null==t)return!0;if(null==t||null==e)return!1;if(e==Object.stimulsoft.getType())return!0;if(t==Number)return a.isNumericType(e);if(e==Number)return a.isNumericType(t);if(t.stimulsoft.is(e))return!0;return e==t},A.prototype.getTypeName=function(t){return null==t?"null":t.stimulsoft.getType().stimulsoft.getTypeName()},A.prototype.checkParserMethodInfo=function(t,e){for(var r=e.length,n=o.create(a,r),i=0;i<r;i++)null==e[i]?n[i]=Object:n[i]=e[i].stimulsoft.getType();var t=this.getParserMethodInfo(t,n);if(null!=t)return t.number;return 0},A.prototype.getParserMethodInfo=function(t,e){var r,n,i=g.StiParser_AsmFunctions.methodsHash.get(t);if(null==i)return null;var o=e.length,a=i,s=!1;try{for(var l=__values(a),u=l.next();!u.done;u=l.next()){var c=u.value;if(c.arguments.length!=o)continue;for(var p=s=!0,h=0;h<o;h++){if(A.isImplicitlyCastableTo(e[h],c.arguments[h]))continue;p=!1;break}if(p)return c}}catch(t){r={error:t}}finally{try{u&&!u.done&&(n=l.return)&&n.call(l)}finally{if(r)throw r.error}}s||this.throwError(y.NoOverloadForMethodTakesNArguments,null,f.getName(E.StiFunctionType,t.stimulsoft.toNumber()),o.toString());for(var m=new S,h=0;h<o;h++){var d=null==e[h]?"null":e[h].stimulsoft.getType().stimulsoft.getTypeName();"Decimal"==d&&(d="Number"),m.append(d),h<o-1&&m.append(",")}return this.throwError(y.NoMatchingOverloadedMethod,null,f.getName(E.StiFunctionType,t.stimulsoft.toNumber()),m.toString()),null},A.errorsList=["Syntax error","Integral constant is too large","The expression is empty","Division by zero","Unexpected end of expression","The name '{0}' does not exist in the current context","Syntax error - unprocessed lexemes remain","( expected",") expected","Field, method, or property is not found: '{0}'","Operator '{0}' cannot be applied to operands of type '{1}' and type '{2}'","The function is not found: '{0}'","No overload for method '{0}' takes '{1}' arguments","The '{0}' function has invalid argument '{1}': cannot convert from '{2}' to '{3}'","The '{0}' function is not yet implemented","The '{0}' method has invalid argument '{1}': cannot convert from '{2}' to '{3}'","'{0}' does not contain a definition for '{1}'","There is no matching overloaded method for '{0}({1})'","The type or namespace name '{0}' does not exist in the namespace '{1}'"],A),n;function A(){var t=null!==n&&n.apply(this,arguments)||this;return t.report=null,t}g.StiParser_Check=t}(n=E.StiParser||(E.StiParser={}))}(Stimulsoft=Stimulsoft||{}),function(d){var t,g,e,f,r,S,y,o,s,a,k,A,n,i;function M(){var t=null!==i&&i.apply(this,arguments)||this;return t.position=0,t.inputExpression="",t.hashAliases=null,t.tokenPos=0,t.tokensList=null,t.component=null,t.runtimeConstants=null,t.runtimeConstantsHash=null,t}g=t=d.Report||(d.Report={}),f=e=g.Engine||(g.Engine={}),S=r=f.StiParser||(f.StiParser={}),y=d.System.StiString,o=d.System.TypeCode,s=d.System.Text.StringBuilder,a=d.System.Char,k=d.System.Collections.Hashtable,A=d.Report.Components.StiComponent,i=S.StiParser_Check,__extends(M,i),M.prototype.getNextLexem=function(){while(this.position<this.inputExpression.length&&M.isWhiteSpace(this.inputExpression[this.position]))this.position++;if(this.position>=this.inputExpression.length)return null;var t=null,e=this.inputExpression[this.position],r;if(a.isLetter(e)||"_"==e){var r=this.position+1;while(r<this.inputExpression.length&&(a.isLetterOrDigit(this.inputExpression[r])||"_"==this.inputExpression[r]))r++;(t=new S.StiToken).value=this.inputExpression.substr(this.position,r-this.position),t.type=f.StiTokenType.Identifier,t.position=this.position,t.length=r-this.position,this.position=r;var n=t.value;return 0<t.position&&"."==this.inputExpression[t.position-1]&&(n="."+n),this.hashAliases.containsKey(n)&&(t.value=this.hashAliases.get(n)),t}if(a.isDigit(e))return(t=new S.StiToken).type=f.StiTokenType.Number,t.position=this.position,t.valueObject=this.scanNumber(),t.length=this.position-t.position,t;if('"'==e||"@"==e&&this.position<this.inputExpression.length-1&&'"'==this.inputExpression[this.position+1]){var i=!0;"@"==e&&(i=!1,this.position++),this.position++;var r=this.position;while(r<this.inputExpression.length){if('"'==this.inputExpression[r])break;"\\"==this.inputExpression[r]&&r++,r++}(t=new S.StiToken).type=f.StiTokenType.String;var o=this.inputExpression.substr(this.position,r-this.position);return t.valueObject=i?M.replaceBackslash(o):o,t.position=this.position-1,this.position=r+1,t.length=this.position-t.position,t}if("["==e&&-1!=(r=this.inputExpression.indexOf("]",this.position))){r++;var n=this.inputExpression.substr(this.position,r-this.position);if(0<this.position&&"."==this.inputExpression[this.position-1]&&(n="."+n),this.hashAliases.containsKey(n))return(t=new S.StiToken).value=this.hashAliases.get(n),t.type=f.StiTokenType.Identifier,t.position=this.position,t.length=r-this.position,this.position=r,t}var o=this.position;this.position++;var n=" ";switch(this.position<this.inputExpression.length&&(n=this.inputExpression[this.position]),e){case".":return new S.StiToken(f.StiTokenType.Dot,o,1);case"(":return new S.StiToken(f.StiTokenType.LParenthesis,o,1);case")":return new S.StiToken(f.StiTokenType.RParenthesis,o,1);case"[":return new S.StiToken(f.StiTokenType.LBracket,o,1);case"]":return new S.StiToken(f.StiTokenType.RBracket,o,1);case"+":return new S.StiToken(f.StiTokenType.Plus,o,1);case"-":return new S.StiToken(f.StiTokenType.Minus,o,1);case"*":return new S.StiToken(f.StiTokenType.Mult,o,1);case"/":return new S.StiToken(f.StiTokenType.Div,o,1);case"%":return new S.StiToken(f.StiTokenType.Percent,o,1);case"^":return new S.StiToken(f.StiTokenType.Xor,o,1);case",":return new S.StiToken(f.StiTokenType.Comma,o,1);case":":return new S.StiToken(f.StiTokenType.Colon,o,1);case";":return new S.StiToken(f.StiTokenType.SemiColon,o,1);case"?":return new S.StiToken(f.StiTokenType.Question,o,1);case"|":return"|"==n?(this.position++,new S.StiToken(f.StiTokenType.DoubleOr,o,2)):new S.StiToken(f.StiTokenType.Or,o,1);case"&":return"&"==n?(this.position++,new S.StiToken(f.StiTokenType.DoubleAnd,o,2)):new S.StiToken(f.StiTokenType.And,o,1);case"!":return"="==n?(this.position++,new S.StiToken(f.StiTokenType.NotEqual,o,2)):new S.StiToken(f.StiTokenType.Not,o,1);case"=":return"="==n?(this.position++,new S.StiToken(f.StiTokenType.Equal,o,2)):new S.StiToken(f.StiTokenType.Assign,o,1);case"<":return"<"==n?(this.position++,new S.StiToken(f.StiTokenType.Shl,o,2)):"="==n?(this.position++,new S.StiToken(f.StiTokenType.LeftEqual,o,2)):new S.StiToken(f.StiTokenType.Left,o,1);case">":return">"==n?(this.position++,new S.StiToken(f.StiTokenType.Shr,o,2)):"="==n?(this.position++,new S.StiToken(f.StiTokenType.RightEqual,o,2)):new S.StiToken(f.StiTokenType.Right,o,1);default:return(t=new S.StiToken(f.StiTokenType.Unknown)).valueObject=e,t.position=o,t.length=1,t}},M.isWhiteSpace=function(t){return a.isWhitespace(t)||t.charCodeAt(0)<32},M.prototype.buildAliases=function(){var e,t,r,n,i,o,a,s,l,u,c,p;if(null!=this.hashAliases)return;this.hashAliases=new k;try{for(var h=__values(this.report.dictionary.dataSources.list),m=h.next();!m.done;m=h.next()){var d,g=(d=m.value).name,f=M.getCorrectedAlias(d.alias);f!=g&&this.hashAliases.set(f,g);try{for(var S=(r=void 0,__values(d.columns.list)),y=S.next();!y.done;y=S.next()){var A=y.value,b=A.name,A=M.getCorrectedAlias(A.alias);A!=b&&this.hashAliases.set("."+A,b)}}catch(t){r={error:t}}finally{try{y&&!y.done&&(n=S.return)&&n.call(S)}finally{if(r)throw r.error}}}}catch(t){e={error:t}}finally{try{m&&!m.done&&(t=h.return)&&t.call(h)}finally{if(e)throw e.error}}try{for(var C=__values(this.report.dictionary.dataSources.list),v=C.next();!v.done;v=C.next()){var d,g=(d=v.value).name;this.hashAliases.containsKey(g)&&this.hashAliases.remove(g)}}catch(t){i={error:t}}finally{try{v&&!v.done&&(o=C.return)&&o.call(C)}finally{if(i)throw i.error}}try{for(var w=__values(this.report.dictionary.businessObjects.list),B=w.next();!B.done;B=w.next()){var I=B.value;this.buildBusinessObject(this.report,I)}}catch(t){a={error:t}}finally{try{B&&!B.done&&(s=w.return)&&s.call(w)}finally{if(a)throw a.error}}try{for(var T=__values(this.report.dictionary.relations.list),E=T.next();!E.done;E=T.next()){var R=E.value,D=R.name,R=M.getCorrectedAlias(R.alias);R!=D&&this.hashAliases.set("."+R,D)}}catch(t){l={error:t}}finally{try{E&&!E.done&&(u=T.return)&&u.call(T)}finally{if(l)throw l.error}}try{for(var P=__values(this.report.dictionary.variables.list),x=P.next();!x.done;x=P.next()){var F=x.value,N=F.name,F=M.getCorrectedAlias(F.alias);F!=N&&this.hashAliases.set(F,N)}}catch(t){c={error:t}}finally{try{x&&!x.done&&(p=P.return)&&p.call(P)}finally{if(c)throw c.error}}},M.prototype.buildBusinessObject=function(t,e){var r,n,i,o,a=e.name,s=M.getCorrectedAlias(e.alias);s!=a&&(this.hashAliases.set(s,a),this.hashAliases.set("."+s,a));try{for(var l=__values(e.columns.list),u=l.next();!u.done;u=l.next()){var c=u.value,p=c.name,c=M.getCorrectedAlias(c.alias);c!=p&&this.hashAliases.set("."+c,p)}}catch(t){r={error:t}}finally{try{u&&!u.done&&(n=l.return)&&n.call(l)}finally{if(r)throw r.error}}try{for(var h=__values(e.businessObjects.list),m=h.next();!m.done;m=h.next()){var d=m.value;this.buildBusinessObject(t,d)}}catch(t){i={error:t}}finally{try{m&&!m.done&&(o=h.return)&&o.call(h)}finally{if(i)throw i.error}}},M.isValidName=function(t){if(y.isNullOrEmpty(t)||!a.isLetter(t[0])&&"_"!=t[0])return!1;for(var e=0;e<t.length;e++)if(!a.isLetterOrDigit(t[e])&&"_"!=t[e])return!1;return!0},M.getCorrectedAlias=function(t){if(this.isValidName(t))return t;return y.format("[{0}]",t)},M.replaceBackslash=function(t){for(var e="",r=0;r<t.length;r++)if("\\"==t[r]&&r<t.length-1){var n=t[++r];switch(n){case"\\":e+="\\";break;case"'":e+="'";break;case'"':e+='"';break;case"0":e+="\0";break;case"n":e+="\n";break;case"r":e+="\r";break;case"t":e+="\t";break;case"x":var i=new s,o=0;while(r<t.length-1&&o<4&&-1!="0123456789abcdefABCDEF".indexOf(t[r+1]))i.append(t[r+1]),r++,o++;var a=parseFloat(i.toString());e+=String.fromCharCode(a);break;default:e+="\\"+n;break}}else e+=t[r];return e},M.prototype.scanNumber=function(){var e=o.Int32,t=this.position,r=this.position;while(this.position!=this.inputExpression.length&&a.isDigit(this.inputExpression[this.position]))this.position++;if(this.position!=this.inputExpression.length&&"."==this.inputExpression[this.position]&&this.position+1!=this.inputExpression.length&&a.isDigit(this.inputExpression[this.position+1])){this.position++;while(this.position!=this.inputExpression.length&&a.isDigit(this.inputExpression[this.position]))this.position++;e=o.Double}var n,n=(n=this.inputExpression.substr(t,this.position-t)).replace(",",".");if(this.position!=this.inputExpression.length&&a.isLetter(this.inputExpression[this.position])){t=this.position;while(this.position!=this.inputExpression.length&&a.isLetter(this.inputExpression[this.position]))this.position++;var t=this.inputExpression.substr(t,this.position-t).toLowerCase();"f"==t&&(e=o.Single),"d"==t&&(e=o.Double),"m"==t&&(e=o.Decimal),"l"==t&&(e=o.Int64),"u"!=t&&"ul"!=t&&"lu"!=t||(e=o.UInt64)}e==o.Int32&&9<n.length&&(e=o.Int64);var i=+n;try{i=d.System.Convert.changeType2(n,e)}catch(t){e!=o.Int32&&e!=o.Int64&&e!=o.UInt32&&e!=o.UInt64||this.throwError(S.ParserErrorCode.IntegralConstantIsTooLarge,new S.StiToken(f.StiTokenType.Number,r,this.position-r))}return i},M.prototype.postProcessTokensList=function(t){var e=new Array;this.tokenPos=0;while(this.tokenPos<t.length){var r=t[this.tokenPos];if(this.tokenPos++,r.type==f.StiTokenType.Identifier){var n=this.report.dictionary.dataSources.getByName(r.value),i=this.report.dictionary.businessObjects.getByName(r.value),o="",a,s;if(d.Report.Engine.StiParser.StiParser_Properties.namespacesList.contains(r.value)){this.tokenPos+1>=t.length&&this.throwError(S.ParserErrorCode.UnexpectedEndOfExpression),t[this.tokenPos].type!=f.StiTokenType.Dot&&this.throwError(S.ParserErrorCode.SyntaxError,r,r.value),o=r.value+".",r=t[this.tokenPos+1],this.tokenPos+=2;while(d.Report.Engine.StiParser.StiParser_Properties.namespacesList.contains(o+t[this.tokenPos-1].value))this.tokenPos+1>=t.length&&this.throwError(S.ParserErrorCode.UnexpectedEndOfExpression),t[this.tokenPos].type!=f.StiTokenType.Dot&&this.throwError(S.ParserErrorCode.SyntaxError,r,r.value),o+=r.value+".",r=t[this.tokenPos+1],this.tokenPos+=2}if(null!=n){var l=g.StiNameValidator.correctName(r.value),u=[];u.push(g.StiNameValidator.correctName(r.value));while(this.tokenPos+1<t.length&&t[this.tokenPos].type==f.StiTokenType.Dot){r=t[this.tokenPos+1];var c=g.StiNameValidator.correctName(r.value),p=this.getDataRelationByName(c,n);if(null!=p){n=p.parentSource,this.tokenPos+=2,l+=".",l+=p.nameInSource,u.push(p.nameInSource);continue}var p=this.getDataColumnByName(c,n);if(null!=p){this.tokenPos+=2,l+=".",l+=c,u.push(p.name);break}r=t[this.tokenPos-1];break}r.type=f.StiTokenType.DataSourceField,r.value=l,r.valueObject=u}else if(null!=i){var l=r.value;while(this.tokenPos+1<t.length&&t[this.tokenPos].type==f.StiTokenType.Dot){var c=(r=t[this.tokenPos+1]).value;if(i.columns.contains(c)){this.tokenPos+=2,l+=".",l+=c;break}if(null!=(i=i.businessObjects.getByName(c))){this.tokenPos+=2,l+=".",l+=i.name;continue}r=t[this.tokenPos-1];break}r.type=f.StiTokenType.BusinessObjectField,r.value=l}else if(0<e.length&&e[e.length-1].type==f.StiTokenType.Dot&&0==o.length){d.Report.Engine.StiParser.StiParser_Properties.methodsList.contains(r.value)?r.type=f.StiTokenType.Method:d.Report.Engine.StiParser.StiParser_Properties.propertiesList.contains(r.value)?r.type=f.StiTokenType.Property:(this.tokenPos<t.length&&t[this.tokenPos].type==f.StiTokenType.LParenthesis||1<e.length&&e[e.length-2].type==f.StiTokenType.DataSourceField&&(r.type=f.StiTokenType.Property),r.type==f.StiTokenType.Identifier&&this.throwError(S.ParserErrorCode.FieldMethodOrPropertyNotFound,r,r.value))}else if(d.Report.Engine.StiParser.StiParser_Properties.typesList.contains(r.value)){var h=d.Report.Engine.StiParser.StiParser_Properties.typesList.get(r.value),s;r.type=f.StiTokenType.Cast,r.valueObject=h,this.tokenPos+1<t.length&&t[this.tokenPos].type==f.StiTokenType.Dot&&(s=r.value+"."+t[this.tokenPos+1].value,d.Report.Engine.StiParser.StiParser_Properties.functionsList.contains(s)&&(r.type=f.StiTokenType.Function,r.value=s,this.tokenPos+=2),d.Report.Engine.StiParser.StiParser_Properties.systemVariablesList.contains(s)&&(r.type=f.StiTokenType.SystemVariable,r.value=s,this.tokenPos+=2))}else if(!this.componentsList.contains(r.value)||this.tokenPos<t.length&&t[this.tokenPos].type==f.StiTokenType.LParenthesis)if(d.Report.Engine.StiParser.StiParser_Properties.functionsList.contains(o+r.value)&&this.tokenPos<t.length&&t[this.tokenPos].type==f.StiTokenType.LParenthesis)r.value=o+r.value,r.type=f.StiTokenType.Function;else if(null!=this.runtimeConstants&&0<this.runtimeConstants.count&&this.runtimeConstantsHash.contains(r.value)){while(this.runtimeConstantsHash.get(r.value)==S.StiParser_Properties.namespaceObj){this.tokenPos+1>=t.length&&this.throwError(S.ParserErrorCode.UnexpectedEndOfExpression);var m=r.value;r.value+="."+t[this.tokenPos+1].value,this.runtimeConstantsHash.contains(r.value)||this.throwError(S.ParserErrorCode.ItemDoesNotContainDefinition,r,m,t[this.tokenPos+1].value),this.tokenPos+=2}r.type=f.StiTokenType.Variable}else if(d.Report.Engine.StiParser.StiParser_Properties.constantsList.contains(o+r.value)){while(d.Report.Engine.StiParser.StiParser_Properties.constantsList.get(o+r.value)==d.Report.Engine.StiParser.StiParser_Properties.namespaceObj){this.tokenPos+1>=t.length&&this.throwError(S.ParserErrorCode.UnexpectedEndOfExpression);var m=r.value;r.value+="."+t[this.tokenPos+1].value,this.tokenPos+=2,d.Report.Engine.StiParser.StiParser_Properties.constantsList.contains(o+r.value)||this.throwError(S.ParserErrorCode.ItemDoesNotContainDefinition,r,m,t[this.tokenPos+1].value)}r.value=o+r.value,r.valueObject=d.Report.Engine.StiParser.StiParser_Properties.constantsList.get(r.value),r.type=f.StiTokenType.Number}else this.report.dictionary.variables.contains(r.value)?r.type=f.StiTokenType.Variable:d.Report.Engine.StiParser.StiParser_Properties.systemVariablesList.contains(r.value)&&("value"!=r.value||this.component.is(d.Report.CrossTab.StiCrossCell))?r.type=f.StiTokenType.SystemVariable:this.userFunctionsList.contains(r.value)?r.type=f.StiTokenType.Function:y.isNullOrEmpty(o)?this.throwError(S.ParserErrorCode.NameDoesNotExistInCurrentContext,r,r.value):this.throwError(S.ParserErrorCode.TheTypeOrNamespaceNotExistInTheNamespace,r,r.value,o.substring(0,o.length-1));else{r.type=f.StiTokenType.Component,this.tokenPos+1<t.length&&t[this.tokenPos].type==f.StiTokenType.Colon&&this.componentsList.contains(t[this.tokenPos+1].value)&&(null!=(s=this.componentsList.get(t[this.tokenPos+1].value).stimulsoft.as(A))&&s.is(d.Report.Components.StiDataBand)&&(r.value=s.dataSourceName,r.type=f.StiTokenType.DataSourceField,this.tokenPos+=2))}}e.push(r)}return e},M.prototype.createRuntimeConstantsHash=function(){var e,t;null!=this.runtimeConstantsHash?this.runtimeConstantsHash.clear():this.runtimeConstantsHash=new k;try{for(var r=__values(this.runtimeConstants.keys),n=r.next();!n.done;n=r.next()){var i=n.value,o=i.toString();if(o.stimulsoft.contains(".")){var a=o.split("."),s=0,l=a[0];while(s<a.length-1)this.runtimeConstantsHash.set(l,S.StiParser_Properties.namespaceObj),l+="."+a[++s]}this.runtimeConstantsHash.set(o,this.runtimeConstants.get(i))}}catch(t){e={error:t}}finally{try{n&&!n.done&&(t=r.return)&&t.call(r)}finally{if(e)throw e.error}}},M.prototype.getDataRelationByName=function(t,e){var r,n,i,o;try{for(var a=__values(this.report.dictionary.relations.list),s=a.next(),l;!s.done;s=a.next()){if((l=s.value).childSource==e&&(l.name==t||l.nameInSource==t))return l}}catch(t){r={error:t}}finally{try{s&&!s.done&&(n=a.return)&&n.call(a)}finally{if(r)throw r.error}}try{for(var u=__values(this.report.dictionary.relations.list),c=u.next(),l;!c.done;c=u.next()){if((l=c.value).childSource==e&&(g.StiNameValidator.correctName(l.name)==t||g.StiNameValidator.correctName(l.nameInSource)==t))return l}}catch(t){i={error:t}}finally{try{c&&!c.done&&(o=u.return)&&o.call(u)}finally{if(i)throw i.error}}return null},M.prototype.getDataColumnByName=function(t,e){var r,n;if(null!=e.dataTable){var i=e.getColumnIndex(t);if(0<=i){var i=e.dataTable.columns.getByIndex(i),o=i?i.columnName:"";try{for(var a=__values(e.columns.list),s=a.next();!s.done;s=a.next()){var l=s.value;if(l.nameInSource==o)return l}}catch(t){r={error:t}}finally{try{s&&!s.done&&(n=a.return)&&n.call(a)}finally{if(r)throw r.error}}}}return e.columns.getByName(t)},M.prototype.makeTokensList=function(){this.buildAliases(),this.tokensList=new Array,this.position=0;while(1){var t=this.getNextLexem();if(null==t)break;this.tokensList.push(t)}this.tokensList=this.postProcessTokensList(this.tokensList)},n=M,S.StiParser_Lexer=n}(Stimulsoft=Stimulsoft||{}),function(i){var t,e,r,n,a,s,o,l,u,c;function p(){return null!==c&&c.apply(this,arguments)||this}e=t=i.Report||(i.Report={}),e=r=e.Engine||(e.Engine={}),a=n=e.StiParser||(e.StiParser={}),s=i.System.Convert,o=i.System.Type,l=i.System.DateTime,u=i.System.IComparable,c=a.StiParser_Lexer,__extends(p,c),p.prototype.op_Add=function(t,e){var r=this.get_category(t),n=this.get_category(e);if(r<=1||n<=1)return s.toString(t)+s.toString(e);if(4==r||4==n)return t.stimulsoft.toNumber()+e.stimulsoft.toNumber();if(8==r&&e.stimulsoft.getType()==i.System.TimeSpan)return new l(s.toDateTime(t).ticks+e.ticks);if(8==n&&t.stimulsoft.getType()==i.System.TimeSpan)return new l(s.toDateTime(e).ticks+t.ticks);return this.throwError(a.ParserErrorCode.OperatorCannotBeAppliedToOperands,null,"+",this.getTypeName(t),this.getTypeName(e)),null},p.prototype.op_Sub=function(t,e){var r=this.get_category(t),n=this.get_category(e);if(r<=1||n<=1)this.throwError(a.ParserErrorCode.OperatorCannotBeAppliedToOperands,null,"-",this.getTypeName(t),this.getTypeName(e));else{if(4==r||4==n)return t.stimulsoft.toNumber()-e.stimulsoft.toNumber();if(8==r&&(8==n||e.stimulsoft.getType()==i.System.TimeSpan))return 8==n?s.toDateTime(t).subtract(s.toDateTime(e)):new l(s.toDateTime(t).ticks-e.ticks);this.throwError(a.ParserErrorCode.OperatorCannotBeAppliedToOperands,null,"-",this.getTypeName(t),this.getTypeName(e))}return null},p.prototype.op_Mult=function(t,e){var r=this.get_category(t),n=this.get_category(e);if(r<=1||n<=1)this.throwError(a.ParserErrorCode.OperatorCannotBeAppliedToOperands,null,"*",this.getTypeName(t),this.getTypeName(e));else{if(4==r||4==n)return t.stimulsoft.toNumber()*e.stimulsoft.toNumber();this.throwError(a.ParserErrorCode.OperatorCannotBeAppliedToOperands,null,"*",this.getTypeName(t),this.getTypeName(e))}return null},p.prototype.op_Div=function(t,e){var r=this.get_category(t),n=this.get_category(e);if(r<=1||n<=1)this.throwError(a.ParserErrorCode.OperatorCannotBeAppliedToOperands,null,"/",this.getTypeName(t),this.getTypeName(e));else{if(4==r||4==n)return 0==(null==e?void 0:e.stimulsoft.toNumber())&&this.throwError(a.ParserErrorCode.DivisionByZero),t.stimulsoft.toNumber()/e.stimulsoft.toNumber();this.throwError(a.ParserErrorCode.OperatorCannotBeAppliedToOperands,null,"/",this.getTypeName(t),this.getTypeName(e))}return null},p.prototype.op_Mod=function(t,e){var r=this.get_category(t),n=this.get_category(e);if(r<=1||n<=1)this.throwError(a.ParserErrorCode.OperatorCannotBeAppliedToOperands,null,"%",this.getTypeName(t),this.getTypeName(e));else{if(4==r||4==n)return t.stimulsoft.toNumber()%e.stimulsoft.toNumber();this.throwError(a.ParserErrorCode.OperatorCannotBeAppliedToOperands,null,"%",this.getTypeName(t),this.getTypeName(e))}return null},p.prototype.op_Pow=function(t,e){var r=this.get_category(t),n=this.get_category(e);if(2<=r&&2<=n&&r<=7&&n<=7)return Math.pow(t.stimulsoft.toNumber(),e.stimulsoft.toNumber());return this.throwError(a.ParserErrorCode.OperatorCannotBeAppliedToOperands,null,"^",this.getTypeName(t),this.getTypeName(e)),null},p.prototype.op_Neg=function(t){var e=this.get_category(t);return(e<=1||8<=e)&&this.throwError(a.ParserErrorCode.OperatorCannotBeAppliedToOperands,null,"Negative",this.getTypeName(t)),this.op_Mult(t,-1)},p.prototype.op_Not=function(t){var e;return 9!=this.get_category(t)&&this.throwError(a.ParserErrorCode.OperatorCannotBeAppliedToOperands,null,"Not",this.getTypeName(t)),!t},p.prototype.op_Cast=function(e,t){var r=t.stimulsoft.as(o);if(null!=r)try{return s.changeType(e,r)}catch(t){return e}var n;switch(t){case i.System.TypeCode.Boolean:return s.toBoolean(e);case i.System.TypeCode.Char:return String.fromCharCode(s.toNumber(e));case i.System.TypeCode.DateTime:return i.System.Convert.toDateTime(e);case i.System.TypeCode.Decimal:return s.toNumber(e);case i.System.TypeCode.Double:return s.toNumber(e);case i.System.TypeCode.UInt16:case i.System.TypeCode.UInt32:case i.System.TypeCode.UInt64:case i.System.TypeCode.Int16:case i.System.TypeCode.Int32:case i.System.TypeCode.Int64:case i.System.TypeCode.SByte:case i.System.TypeCode.Byte:return this.toIntegerCheckChar(e);case i.System.TypeCode.Single:return s.toNumber(e);case i.System.TypeCode.String:return s.toString(e)}return e},p.prototype.toIntegerCheckChar=function(t){if("string"==typeof t&&1==t.length)return t.charCodeAt(0);return 0|s.toNumber(t)},p.prototype.op_CompareLeft=function(t,e){var r=this.get_category(t),n=this.get_category(e);if(0==r||0==n){var i=t.stimulsoft.as(u),o=e.stimulsoft.as(u);if(null!=i&&null!=o)return i.compareTo(o)<0;this.throwError(a.ParserErrorCode.OperatorCannotBeAppliedToOperands,null,"<",this.getTypeName(t),this.getTypeName(e))}if(1==r||1==n)this.throwError(a.ParserErrorCode.OperatorCannotBeAppliedToOperands,null,"<",this.getTypeName(t),this.getTypeName(e));else{if(4==r||4==n)return(null==t?void 0:t.stimulsoft.toNumber())<(null==e?void 0:e.stimulsoft.toNumber());if(8==r||8==n)return s.toDateTime(t).ticks<s.toDateTime(e).ticks;this.throwError(a.ParserErrorCode.OperatorCannotBeAppliedToOperands,null,"<",this.getTypeName(t),this.getTypeName(e))}return null},p.prototype.op_CompareLeftEqual=function(t,e){var r=this.get_category(t),n=this.get_category(e);if(0==r||0==n){var i=t.stimulsoft.as(u),o=e.stimulsoft.as(u);if(null!=i&&null!=o)return i.compareTo(o)<=0;this.throwError(a.ParserErrorCode.OperatorCannotBeAppliedToOperands,null,"<=",this.getTypeName(t),this.getTypeName(e))}if(1==r||1==n)this.throwError(a.ParserErrorCode.OperatorCannotBeAppliedToOperands,null,"<=",this.getTypeName(t),this.getTypeName(e));else{if(4==r||4==n)return(null==t?void 0:t.stimulsoft.toNumber())<=(null==e?void 0:e.stimulsoft.toNumber());if(8==r||8==n)return s.toDateTime(t).ticks<=s.toDateTime(e).ticks;this.throwError(a.ParserErrorCode.OperatorCannotBeAppliedToOperands,null,"<=",this.getTypeName(t),this.getTypeName(e))}return null},p.prototype.op_CompareRight=function(t,e){var r=this.get_category(t),n=this.get_category(e);if(0==r||0==n){var i=t.stimulsoft.as(u),o=e.stimulsoft.as(u);if(null!=i&&null!=o)return 0<i.compareTo(o);this.throwError(a.ParserErrorCode.OperatorCannotBeAppliedToOperands,null,">",this.getTypeName(t),this.getTypeName(e))}if(1==r||1==n)this.throwError(a.ParserErrorCode.OperatorCannotBeAppliedToOperands,null,">",this.getTypeName(t),this.getTypeName(e));else{if(4==r||4==n)return t.stimulsoft.toNumber()>e.stimulsoft.toNumber();if(8==r||8==n)return s.toDateTime(t).ticks>s.toDateTime(e).ticks;this.throwError(a.ParserErrorCode.OperatorCannotBeAppliedToOperands,null,">",this.getTypeName(t),this.getTypeName(e))}return null},p.prototype.op_CompareRightEqual=function(t,e){var r=this.get_category(t),n=this.get_category(e);if(0==r||0==n){var i=t.stimulsoft.as(u),o=e.stimulsoft.as(u);if(null!=i&&null!=o)return 0<=i.compareTo(o);this.throwError(a.ParserErrorCode.OperatorCannotBeAppliedToOperands,null,">=",this.getTypeName(t),this.getTypeName(e))}if(1==r||1==n)this.throwError(a.ParserErrorCode.OperatorCannotBeAppliedToOperands,null,">=",this.getTypeName(t),this.getTypeName(e));else{if(4==r||4==n)return t.stimulsoft.toNumber()>=e.stimulsoft.toNumber();if(8==r||8==n)return s.toDateTime(t).ticks>=s.toDateTime(e).ticks;this.throwError(a.ParserErrorCode.OperatorCannotBeAppliedToOperands,null,">=",this.getTypeName(t),this.getTypeName(e))}return null},p.prototype.op_CompareEqual=function(t,e){var r=this.get_category(t),n=this.get_category(e);if(-1==r||-1==n)return r==n;if(0==r||0==n){var i=t.stimulsoft.as(u),o=e.stimulsoft.as(u);return null!=i&&null!=o?0==i.compareTo(o):t.stimulsoft.equals(e)}if(1==r||1==n)return t==e;if(4==r||4==n)return t.stimulsoft.toNumber()==e.stimulsoft.toNumber();if(8==r||8==n)return s.toDateTime(t).ticks==s.toDateTime(e).ticks;return t==e},p.prototype.op_CompareNotEqual=function(t,e){var r=this.get_category(t),n=this.get_category(e);if(-1==r||-1==n)return r!=n;if(0==r||0==n){var i=t.stimulsoft.as(u),o=e.stimulsoft.as(u);return null!=i&&null!=o?0!=i.compareTo(o):!t.stimulsoft.equals(e)}if(1==r||1==n)return t!=e;if(4==r||4==n)return t.stimulsoft.toNumber()!=e.stimulsoft.toNumber();if(8==r||8==n)return s.toDateTime(t).ticks!=s.toDateTime(e).ticks;return t!=e},p.prototype.op_Shl=function(t,e){var r=this.get_category(t),n=this.get_category(e);if(!(r<4||8<=r||4!=n))return t.stimulsoft.toNumber()<<e.stimulsoft.toNumber();return this.throwError(a.ParserErrorCode.OperatorCannotBeAppliedToOperands,null,"<<",this.getTypeName(t),this.getTypeName(e)),null},p.prototype.op_Shr=function(t,e){var r=this.get_category(t),n=this.get_category(e);if(!(r<4||8<=r||4!=n))return t.stimulsoft.toNumber()>>e.stimulsoft.toNumber();return this.throwError(a.ParserErrorCode.OperatorCannotBeAppliedToOperands,null,">>",this.getTypeName(t),this.getTypeName(e)),null},p.prototype.op_And=function(t,e){var r=this.get_category(t),n=this.get_category(e);if(!(r<4||8==r||n<4||8==n))return 9==r||9==n?t.stimulsoft.toBoolean()&&e.stimulsoft.toBoolean():t.stimulsoft.toNumber()&e.stimulsoft.toNumber();return this.throwError(a.ParserErrorCode.OperatorCannotBeAppliedToOperands,null,"&",this.getTypeName(t),this.getTypeName(e)),null},p.prototype.op_Or=function(t,e){var r=this.get_category(t),n=this.get_category(e);if(!(r<4||8==r||n<4||8==n))return 9==r||9==n?t.stimulsoft.toBoolean()||e.stimulsoft.toBoolean():t.stimulsoft.toNumber()|e.stimulsoft.toNumber();return this.throwError(a.ParserErrorCode.OperatorCannotBeAppliedToOperands,null,"|",this.getTypeName(t),this.getTypeName(e)),null},p.prototype.op_Xor=function(t,e){var r=this.get_category(t),n=this.get_category(e);if(!(r<4||8==r||n<4||8==n))return 9==r||9==n?t.stimulsoft.toBoolean()!==e.stimulsoft.toBoolean():t.stimulsoft.toNumber()^e.stimulsoft.toNumber();return this.throwError(a.ParserErrorCode.OperatorCannotBeAppliedToOperands,null,"^",this.getTypeName(t),this.getTypeName(e)),null},p.prototype.op_And2=function(t,e){var r=this.get_category(t),n=this.get_category(e);if(9==r&&9==n)return t&&e;return this.throwError(a.ParserErrorCode.OperatorCannotBeAppliedToOperands,null,"&&",this.getTypeName(t),this.getTypeName(e)),null},p.prototype.op_Or2=function(t,e){var r=this.get_category(t),n=this.get_category(e);if(9==r&&9==n)return t||e;return this.throwError(a.ParserErrorCode.OperatorCannotBeAppliedToOperands,null,"||",this.getTypeName(t),this.getTypeName(e)),null},e=p,a.StiParser_AsmOperations=e}(Stimulsoft=Stimulsoft||{}),function(i){var t,e,r,o,n,a,s,l,u,c,p;function h(){return null!==p&&p.apply(this,arguments)||this}e=t=i.Report||(i.Report={}),o=r=e.Engine||(e.Engine={}),a=n=o.StiParser||(o.StiParser={}),s=i.System.Enum,l=i.System.DateTime,u=i.System.TimeSpan,c=i.System.Convert,p=a.StiParser_AsmOperations,__extends(h,p),h.prototype.call_property=function(t,e){var r=e[0],n;if("string"==typeof t)return r[t];if(r instanceof l){switch(t.stimulsoft.toNumber()){case o.StiPropertyType.Year:return r.year;case o.StiPropertyType.Month:return r.month;case o.StiPropertyType.Day:return r.day;case o.StiPropertyType.Hour:return r.hour;case o.StiPropertyType.Minute:return r.minute;case o.StiPropertyType.Second:return r.second;case o.StiPropertyType.Date:return new l(r.year,r.month,r.day,0,0,0,0)}this.throwError(a.ParserErrorCode.ItemDoesNotContainDefinition,null,this.getTypeName(e[0]),s.getName(o.StiPropertyType,t.stimulsoft.toNumber()))}if(r instanceof u){switch(t.stimulsoft.toNumber()){case o.StiPropertyType.Days:return r.days;case o.StiPropertyType.Hours:return r.hours;case o.StiPropertyType.Milliseconds:return r.milliseconds;case o.StiPropertyType.Minutes:return r.minutes;case o.StiPropertyType.Seconds:return r.seconds;case o.StiPropertyType.Ticks:return r.ticks;case o.StiPropertyType.TotalDays:return r.totalDays;case o.StiPropertyType.TotalHours:return r.totalHours;case o.StiPropertyType.TotalMinutes:return r.totalMinutes;case o.StiPropertyType.TotalSeconds:return r.totalSeconds;case o.StiPropertyType.TotalMilliseconds:return r.totalMilliseconds}this.throwError(a.ParserErrorCode.ItemDoesNotContainDefinition,null,this.getTypeName(e[0]),s.getName(o.StiPropertyType,t.stimulsoft.toNumber()))}if("string"==typeof r){switch(t.stimulsoft.toNumber()){case o.StiPropertyType.Length:return c.toString(r).length}this.throwError(a.ParserErrorCode.ItemDoesNotContainDefinition,null,this.getTypeName(e[0]),s.getName(o.StiPropertyType,t.stimulsoft.toNumber()))}if(null==r)switch(t.stimulsoft.toNumber()){case o.StiPropertyType.Length:return 0}if(r.stimulsoft.is(i.Report.Range)){switch(t.stimulsoft.toNumber()){case o.StiPropertyType.From:return r.fromObject;case o.StiPropertyType.To:return r.toObject;case o.StiPropertyType.FromDate:return r.fromObject;case o.StiPropertyType.ToDate:return r.toObject;case o.StiPropertyType.FromTime:return r.fromObject;case o.StiPropertyType.ToTime:return r.toObject}this.throwError(a.ParserErrorCode.ItemDoesNotContainDefinition,null,this.getTypeName(e[0]),s.getName(o.StiPropertyType,t.stimulsoft.toNumber()))}if(r instanceof Array){switch(t.stimulsoft.toNumber()){case o.StiPropertyType.Count:return r.length}this.throwError(a.ParserErrorCode.ItemDoesNotContainDefinition,null,this.getTypeName(e[0]),s.getName(o.StiPropertyType,t.stimulsoft.toNumber()))}if(r.stimulsoft.is(i.Report.Components.StiDataBand)){switch(t.stimulsoft.toNumber()){case o.StiPropertyType.Count:return r.count;case o.StiPropertyType.SelectedLine:return r.selectedLine;case o.StiPropertyType.Position:return r.position;case o.StiPropertyType.Line:return r.line}this.throwError(a.ParserErrorCode.ItemDoesNotContainDefinition,null,this.getTypeName(e[0]),s.getName(o.StiPropertyType,t.stimulsoft.toNumber()))}if(r.stimulsoft.is(i.Report.Dictionary.StiDataSource)){switch(t.stimulsoft.toNumber()){case o.StiPropertyType.Count:return r.count;case o.StiPropertyType.Position:return r.position}this.throwError(a.ParserErrorCode.ItemDoesNotContainDefinition,null,this.getTypeName(e[0]),s.getName(o.StiPropertyType,t.stimulsoft.toNumber()))}if(r.stimulsoft.is(i.Report.Dictionary.StiBusinessObject)){switch(t.stimulsoft.toNumber()){case o.StiPropertyType.BusinessObjectValue:return r.businessObjectValue;case o.StiPropertyType.Position:return r.position}this.throwError(a.ParserErrorCode.ItemDoesNotContainDefinition,null,this.getTypeName(e[0]),s.getName(o.StiPropertyType,t.stimulsoft.toNumber()))}if(r.stimulsoft.is(i.Report.Components.StiComponent))switch(t.stimulsoft.toNumber()){case o.StiPropertyType.Name:return r.name;case o.StiPropertyType.TagValue:return r.tagValue}return null},e=h,a.StiParser_AsmProperties=e}(Stimulsoft=Stimulsoft||{}),function(c){var t,p,e,h,r,m,d,g,f,S,y,A,n,i;function o(){return null!==i&&i.apply(this,arguments)||this}p=t=c.Report||(c.Report={}),h=e=p.Engine||(p.Engine={}),m=r=h.StiParser||(h.StiParser={}),d=c.System.StiString,g=c.System.Convert,f=c.System.Enum,S=c.System.DateTime,y=c.System.TimeSpan,A=c.Report.Components.StiGroupHeaderBand,i=m.StiParser_AsmProperties,__extends(o,i),o.prototype.call_method=function(t,e){var r,n=e[0],i=this.checkParserMethodInfo(t,e),o=t,a,s,l;switch(o){case h.StiMethodType.ToString:if(1==(r=this.get_category(e[0])))return g.toString(e[0]);if(4==r||6==r){var u=g.toNumber(e[0]);return 1==e.length?u.toString():d.customFormat(u,g.toString(e[1]))}if(8==r){var u=g.toDateTime(e[0]);return 1==e.length?u.toString():u.toString(g.toString(e[1]))}return 9==r?g.toBoolean(e[0]).toString():null==n?"":e[0].toString()}if("string"==typeof n)switch(o){case h.StiMethodType.Substring:if(1==i)return(""+e[0]).substr(+e[1]);if(2==i)return(""+e[0]).substr(+e[1],+e[2]);break;case h.StiMethodType.ToLower:if(1==i)return(""+e[0]).toLowerCase();break;case h.StiMethodType.ToUpper:if(1==i)return(""+e[0]).toUpperCase();break;case h.StiMethodType.IndexOf:if(1==i)return(""+e[0]).indexOf(""+e[1]);break;case h.StiMethodType.StartsWith:if(1==i)return(""+e[0]).stimulsoft.startsWith(""+e[1]);break;case h.StiMethodType.EndsWith:if(1==i)return(""+e[0]).stimulsoft.endsWith(""+e[1]);break;case h.StiMethodType.Replace:if(1==i)return(""+e[0]).stimulsoft.replaceAll(""+e[1],""+e[2]);break;case h.StiMethodType.Contains:if(1==i)return(""+e[0]).stimulsoft.contains(""+e[1]);break}if(1&&n instanceof Array)switch(o){case h.StiMethodType.Contains:if(2==e.length)return e[0].stimulsoft.contains(e[1]);break;case h.StiMethodType.ToQueryString:if(1==e.length){if(n instanceof Array)return p.Func.EngineHelper.toQueryString(e[0],"","")}else if(2==e.length){if(n instanceof Array)return p.Func.EngineHelper.toQueryString(e[0],g.toString(e[1]),"")}else if(3==e.length){if(n instanceof Array)return p.Func.EngineHelper.toQueryString(e[0],g.toString(e[1]),g.toString(e[2]))}else this.throwError(m.ParserErrorCode.NoOverloadForMethodTakesNArguments,null,"ToQueryString",(e.length-1).toString());break}if(null!=n&&n.stimulsoft.is(c.Report.Dictionary.StiDataSource))switch(f.parse(h.StiMethodType,t.toString())){case h.StiMethodType.GetData:if(1!=(r=this.get_category(e[1]))&&this.throwError(m.ParserErrorCode.MethodHasInvalidArgument,null,"GetData","1",this.getTypeName(e[0]),"string"),3==e.length)return((r=this.get_category(e[2]))<4||7<r)&&this.throwError(m.ParserErrorCode.MethodHasInvalidArgument,null,"GetData","2",this.getTypeName(e[0]),"int"),e[0].getData(g.toString(e[1]),g.toNumber(e[2]));if(2==e.length)return e[0].getData(g.toString(e[1]));this.throwError(m.ParserErrorCode.NoOverloadForMethodTakesNArguments,null,"GetData",(e.length-1).toString());break}if(null!=n&&n instanceof S)switch(f.parse(h.StiMethodType,t.toString())){case h.StiMethodType.AddDays:if(((r=this.get_category(e[1]))<2||7<r)&&this.throwError(m.ParserErrorCode.FunctionHasInvalidArgument,null,"AddDays","1",this.getTypeName(e[1]),"double"),2==e.length)return e[0].addDays(g.toNumber(e[1]));this.throwError(m.ParserErrorCode.NoOverloadForMethodTakesNArguments,null,"AddDays",(e.length-1).toString());break;case h.StiMethodType.AddHours:if(((r=this.get_category(e[1]))<2||7<r)&&this.throwError(m.ParserErrorCode.FunctionHasInvalidArgument,null,"AddHours","1",this.getTypeName(e[1]),"double"),2==e.length)return e[0].addHours(g.toNumber(e[1]));this.throwError(m.ParserErrorCode.NoOverloadForMethodTakesNArguments,null,"AddHours",(e.length-1).toString());break;case h.StiMethodType.AddMilliseconds:if(((r=this.get_category(e[1]))<2||7<r)&&this.throwError(m.ParserErrorCode.FunctionHasInvalidArgument,null,"AddMilliseconds","1",this.getTypeName(e[1]),"double"),2==e.length)return e[0].addMilliseconds(g.toNumber(e[1]));this.throwError(m.ParserErrorCode.NoOverloadForMethodTakesNArguments,null,"AddMilliseconds",(e.length-1).toString());break;case h.StiMethodType.AddMinutes:if(((r=this.get_category(e[1]))<2||7<r)&&this.throwError(m.ParserErrorCode.FunctionHasInvalidArgument,null,"AddMinutes","1",this.getTypeName(e[1]),"double"),2==e.length)return e[0].addMinutes(g.toNumber(e[1]));this.throwError(m.ParserErrorCode.NoOverloadForMethodTakesNArguments,null,"AddMinutes",(e.length-1).toString());break;case h.StiMethodType.AddMonths:if(((r=this.get_category(e[1]))<4||7<r)&&this.throwError(m.ParserErrorCode.FunctionHasInvalidArgument,null,"AddMonths","1",this.getTypeName(e[1]),"int"),2==e.length)return e[0].addMonths(g.toNumber(e[1]));this.throwError(m.ParserErrorCode.NoOverloadForMethodTakesNArguments,null,"AddMonths",(e.length-1).toString());break;case h.StiMethodType.AddSeconds:if(((r=this.get_category(e[1]))<2||7<r)&&this.throwError(m.ParserErrorCode.FunctionHasInvalidArgument,null,"AddSeconds","1",this.getTypeName(e[1]),"double"),2==e.length)return e[0].addSeconds(g.toNumber(e[1]));this.throwError(m.ParserErrorCode.NoOverloadForMethodTakesNArguments,null,"AddSeconds",(e.length-1).toString());break;case h.StiMethodType.AddYears:if(((r=this.get_category(e[1]))<4||7<r)&&this.throwError(m.ParserErrorCode.FunctionHasInvalidArgument,null,"AddYears","1",this.getTypeName(e[1]),"int"),2==e.length)return e[0].addYears(g.toNumber(e[1]));this.throwError(m.ParserErrorCode.NoOverloadForMethodTakesNArguments,null,"AddYears",(e.length-1).toString());break;case h.StiMethodType.ToShortDateString:if(1==i)return e[0].toShortDateString();break}if(n instanceof y)switch(o){case h.StiMethodType.Add:if(e[1]instanceof y||this.throwError(m.ParserErrorCode.FunctionHasInvalidArgument,null,"Add","1",this.getTypeName(e[1]),"TimeSpan"),2==e.length)return e[0].add2(e[1]);this.throwError(m.ParserErrorCode.NoOverloadForMethodTakesNArguments,null,"Add",(e.length-1).toString());break}if(null!=n&&n.stimulsoft.is(A))switch(f.parse(h.StiMethodType,t.toString())){case h.StiMethodType.GetCurrentConditionValue:return e[0].getCurrentConditionValue()}var e=null==n?"null":e[0].stimulsoft.getType().fullName;return this.throwError(m.ParserErrorCode.ItemDoesNotContainDefinition,null,e,f.getName(h.StiMethodType,t.stimulsoft.toNumber())),null},n=o,m.StiParser_AsmMethods=n}(Stimulsoft=Stimulsoft||{}),function(n){var t,i,e,r,o,a,s,l,u;function c(){}i=t=n.Report||(n.Report={}),r=e=i.Dictionary||(i.Dictionary={}),o=n.System.DateTime,a=n.System.TimeSpan,s=n.System.Globalization.CalendarWeekRule,l=n.System.DayOfWeek,c.create=function(){0==c.isCreated&&(r.StiFunctions.addFunction("Date","","DateDiff","Returns a number of time intervals between two specified dates.","Stimulsoft.Report.Dictionary.StiFunctionsDate",n.System.TimeSpan,"A TimeSpan value.",[n.System.DateTime,n.System.DateTime],["date1","date2"],["date1 is the first DateTime value used in calculating the difference.","date2 is the first DateTime value used in calculating the difference."]),r.StiFunctions.addFunction("Date","","Year","Returns a year from a date and returns it as a integer value.","Stimulsoft.Report.Dictionary.StiFunctionsDate",n.System.Int64,"An integer value.",[n.System.DateTime],["date"],["date is a DateTime value."]),r.StiFunctions.addFunction("Date","","Month","Returns a month from a date and returns it as an integer value.","Stimulsoft.Report.Dictionary.StiFunctionsDate",n.System.Int64,"An integer value.",[n.System.DateTime],["date"],["date is a DateTime value."]),r.StiFunctions.addFunction("Date","","Day","Returns a day from a date and returns it as an integer value.","Stimulsoft.Report.Dictionary.StiFunctionsDate",n.System.Int64,"An integer value.",[n.System.DateTime],["date"],["date is a DateTime value."]),r.StiFunctions.addFunction("Date","","Hour","Returns an hour portion from a date and returns it as an integer value.","Stimulsoft.Report.Dictionary.StiFunctionsDate",n.System.Int64,"An integer value.",[n.System.DateTime],["date"],["date is a DateTime value."]),r.StiFunctions.addFunction("Date","","Minute","Returns the minutes portion from a date and returns it as an integer value.","Stimulsoft.Report.Dictionary.StiFunctionsDate",n.System.Int64,"An integer value.",[n.System.DateTime],["date"],["date is a DateTime value."]),r.StiFunctions.addFunction("Date","","Second","Returns a seconds portion from a date and returns it as an integer value.","Stimulsoft.Report.Dictionary.StiFunctionsDate",n.System.Int64,"A integer value.",[n.System.DateTime],["date"],["date is a DateTime value."]),r.StiFunctions.addFunction("Date","","DayOfWeek","Returns a day of the week.","Stimulsoft.Report.Dictionary.StiFunctionsDate",String,"A day of the week.",[n.System.DateTime],["date"],["date is a DateTime value."]),r.StiFunctions.addFunction("Date","","DayOfWeek","Returns a day of the week.","Stimulsoft.Report.Dictionary.StiFunctionsDate",String,"A day of the week.",[n.System.DateTime,Boolean],["date","localized"],["date is a DateTime value.","if true return localized name of day."]),r.StiFunctions.addFunction("Date","","DayOfWeek","Returns a day of the week.","Stimulsoft.Report.Dictionary.StiFunctionsDate",String,"A day of the week.",[n.System.DateTime,String],["date","culture"],["date is a DateTime value.","culture of the day name."]),r.StiFunctions.addFunction("Date","","DayOfWeek","Returns a day of the week.","Stimulsoft.Report.Dictionary.StiFunctionsDate",String,"A day of the week.",[n.System.DateTime,String,Boolean],["date","culture","upperCase"],["date is a DateTime value.","culture of the day name.","if true then return the name of the day with the first letter in uppercase."]),r.StiFunctions.addFunction("Date","","MonthName","Returns the name of the month.","Stimulsoft.Report.Dictionary.StiFunctionsDate",String,"A name of the month.",[n.System.DateTime],["date"],["date is a DateTime value."]),r.StiFunctions.addFunction("Date","","MonthName","Returns the name of the month.","Stimulsoft.Report.Dictionary.StiFunctionsDate",String,"A name of the month.",[n.System.DateTime,Boolean],["date","localized"],["date is a DateTime value.","if true return localized name of month."]),r.StiFunctions.addFunction("Date","","MonthName","Returns the name of the month.","Stimulsoft.Report.Dictionary.StiFunctionsDate",String,"A name of the month.",[n.System.DateTime,String],["date","culture"],["date is a DateTime value.","culture of the month name."]),r.StiFunctions.addFunction("Date","","MonthName","Returns the name of the month.","Stimulsoft.Report.Dictionary.StiFunctionsDate",String,"A name of the month.",[n.System.DateTime,String,Boolean],["date","culture","upperCase"],["date is a DateTime value.","culture of the month name.","if true then return the name of the month with the first letter in uppercase."]),r.StiFunctions.addFunction("Date","","DayOfYear","Returns a day of the year.","Stimulsoft.Report.Dictionary.StiFunctionsDate",n.System.Int64,"A day of the year.",[n.System.DateTime],["date"],["date is a DateTime value."]),r.StiFunctions.addFunction("Date","","DaysInMonth","Returns the number of days in the specified month and year.","Stimulsoft.Report.Dictionary.StiFunctionsDate",n.System.Int64,"The number of days in the specified month and year.",[n.System.Int64,n.System.Int64],["year","month"],["Year (1 through 9999).","Month (1 through 12)."]),r.StiFunctions.addFunction("Date","","DaysInMonth","Returns the number of days in the specified month and year.","Stimulsoft.Report.Dictionary.StiFunctionsDate",n.System.Int64,"The number of days in the specified month.",[n.System.DateTime],["date"],["date is a DateTime value."]),r.StiFunctions.addFunction("Date","","DaysInYear","Returns the number of days in the specified year.","Stimulsoft.Report.Dictionary.StiFunctionsDate",n.System.Int64,"The number of days in the specified year.",[n.System.Int64],["year"],["Year (1 through 9999)."]),r.StiFunctions.addFunction("Date","","DaysInYear","Returns the number of days in the specified year.","Stimulsoft.Report.Dictionary.StiFunctionsDate",n.System.Int64,"The number of days in the specified year.",[n.System.DateTime],["date"],["date is a DateTime value."]),r.StiFunctions.addFunction("Date","","DateSerial","Returns the DateTime value for the specified year, month, and day.","Stimulsoft.Report.Dictionary.StiFunctionsDate",n.System.DateTime,"DateTime value.",[n.System.Int64,n.System.Int64,n.System.Int64],["year","month","day"],["Year (1 through 9999).","Month (1 through 12).","Day (1 through the number of days in a month."]),r.StiFunctions.addFunction("Date","","TimeSerial","Returns the TimeValue value for a specified number of hours, minutes, and seconds.","Stimulsoft.Report.Dictionary.StiFunctionsDate",n.System.TimeSpan,"TimeSpan value.",[n.System.Int64,n.System.Int64,n.System.Int64],["year","month","day"],["Number of hours.","Number of minutes.","Number of seconds."]),r.StiFunctions.addFunction("Date","","WeekOfYear","Returns the week of the year that includes the date in the specified DateTime value.","Stimulsoft.Report.Dictionary.StiFunctionsDate",n.System.Int64,"The week of the year.",[n.System.DateTime],["date"],["date is a DateTime value."]),r.StiFunctions.addFunction("Date","","WeekOfYear","Returns the week of the year that includes the date in the specified DateTime value.","Stimulsoft.Report.Dictionary.StiFunctionsDate",n.System.Int64,"The week of the year.",[n.System.DateTime,n.System.Int],["date","firstDayOfWeek"],["date is a DateTime value.","an enumeration value that represents the first day of the week."]),r.StiFunctions.addFunction("Date","","WeekOfYear","Returns the week of the year that includes the date in the specified DateTime value.","Stimulsoft.Report.Dictionary.StiFunctionsDate",n.System.Int64,"The week of the year.",[n.System.DateTime,n.System.Int,n.System.Int],["date","firstDayOfWeek","calendarWeekRule"],["date is a DateTime value.","an enumeration value that represents the first day of the week.","an enumeration value that define the rules for determining the first week of the year."]),r.StiFunctions.addFunction("Date","","WeekOfMonth","Returns the week of the month that includes the date in the specified DateTime value.","Stimulsoft.Report.Dictionary.StiFunctionsDate",n.System.Int64,"The week of the month.",[n.System.DateTime],["date"],["date is a DateTime value."]),r.StiFunctions.addFunction("Date","","WeekOfMonth","Returns the week of the month that includes the date in the specified DateTime value.","Stimulsoft.Report.Dictionary.StiFunctionsDate",n.System.Int64,"The week of the month.",[n.System.DateTime,n.System.Int],["date","firstDayOfWeek"],["date is a DateTime value.","an enumeration value that represents the first day of the week."]),r.StiFunctions.addFunction("Date","","WeekOfMonth","Returns the week of the month that includes the date in the specified DateTime value.","Stimulsoft.Report.Dictionary.StiFunctionsDate",n.System.Int64,"The week of the month.",[n.System.DateTime,n.System.Int,n.System.Int],["date","firstDayOfWeek","calendarWeekRule"],["date is a DateTime value.","an enumeration value that represents the first day of the week.","an enumeration value that define the rules for determining the first week of the year."]),c.isCreated=!0)},c.dateDiff=function(t,e){return t.subtract(e)},c.year=function(t){return null!=t?t.year:0},c.month=function(t){return null!=t?t.month:0},c.hour=function(t){return null!=t?t.hour:0},c.minute=function(t){return null!=t?t.minute:0},c.second=function(t){return null!=t?t.second:0},c.day=function(t){return null!=t?t.day:0},c.dayOfWeek=function(t,e,r){return void 0===e&&(e=null),void 0===r&&(r=null),"boolean"==typeof e?i.Func.DayOfWeekToStr.dayOfWeek(t,e):i.Func.DayOfWeekToStr.dayOfWeek(t,e,r)},c.monthName=function(t,e,r){return void 0===e&&(e=null),void 0===r&&(r=null),"boolean"==typeof e?i.Func.MonthToStr.monthName(t,e):i.Func.MonthToStr.monthName(t,e,r)},c.dayOfYear=function(t){return+t.dayOfYear},c.dateSerial=function(t,e,r){return new o(new Date(t,e,r))},c.timeSerial=function(t,e,r){return new a(t,e,r)},c.daysInMonth=function(t,e){var r;if(t instanceof o)return+o.daysInMonth(t.year,t.month);return+o.daysInMonth(+t,e)},c.daysInYear=function(t){var t,e,t;return t=t instanceof o?t.year:+t,+(o.isLeapYear(t)?366:365)},c.weekOfYear=function(t,e,r){return void 0===e&&(e=l.Monday),void 0===r&&(r=s.FirstDay),n.System.Globalization.Calendar.getWeekOfYear(t,r,e)},c.weekOfMonth=function(t,e,r){return void 0===e&&(e=l.Monday),void 0===r&&(r=s.FirstDay),n.System.Globalization.Calendar.getWeekOfMonth(t,r,e)},c.isCreated=!1,u=c,r.StiFunctionsDate=u}(Stimulsoft=Stimulsoft||{}),function(k){var t,M,e,O,r,_,j,G,H,Q,L,Y,U,J,W,V,n,i;function o(){return null!==i&&i.apply(this,arguments)||this}M=t=k.Report||(k.Report={}),O=e=M.Engine||(M.Engine={}),_=r=O.StiParser||(O.StiParser={}),j=k.System.StiArray,G=k.System.StiString,H=k.Report.Dictionary.StiFunctions,Q=k.System.Type,L=k.System.Convert,Y=k.System.DateTime,U=k.System.TimeSpan,J=k.System.Data.DBNull,W=k.System.Collections.List,V=k.Report.Dictionary.StiFunctionsDate,i=_.StiParser_AsmMethods,__extends(o,i),o.prototype.call_func=function(t,e){var r,n,i,o,a,s,l,u,c=t,p=this.checkParserMethodInfo(c,e);switch(c){case O.StiFunctionType.Count:return k.Report.Totals.count(e[0],this.report,null);case O.StiFunctionType.CountDistinct:return k.Report.Totals.countDistinct(new _.StiParserData(e[0],e[1],this),this.report,null);case O.StiFunctionType.Avg:case O.StiFunctionType.AvgD:case O.StiFunctionType.AvgI:return k.Report.Totals.avg(new _.StiParserData(e[0],e[1],this),this.report,null);case O.StiFunctionType.AvgDate:return k.Report.Totals.avgDate(new _.StiParserData(e[0],e[1],this),this.report,null);case O.StiFunctionType.AvgTime:return k.Report.Totals.avgTime(new _.StiParserData(e[0],e[1],this),this.report,null);case O.StiFunctionType.Max:case O.StiFunctionType.MaxD:case O.StiFunctionType.MaxI:return k.Report.Totals.max(new _.StiParserData(e[0],e[1],this),this.report,null);case O.StiFunctionType.MaxDate:return k.Report.Totals.maxDate(new _.StiParserData(e[0],e[1],this),this.report,null);case O.StiFunctionType.MaxStr:return k.Report.Totals.maxStr(new _.StiParserData(e[0],e[1],this),this.report,null);case O.StiFunctionType.MaxTime:return k.Report.Totals.maxTime(new _.StiParserData(e[0],e[1],this),this.report,null);case O.StiFunctionType.Median:case O.StiFunctionType.MedianD:return k.Report.Totals.median(new _.StiParserData(e[0],e[1],this),this.report,null);case O.StiFunctionType.Min:case O.StiFunctionType.MinD:case O.StiFunctionType.MinI:return k.Report.Totals.min(new _.StiParserData(e[0],e[1],this),this.report,null);case O.StiFunctionType.MinDate:return k.Report.Totals.minDate(new _.StiParserData(e[0],e[1],this),this.report,null);case O.StiFunctionType.MinStr:return k.Report.Totals.minStr(new _.StiParserData(e[0],e[1],this),this.report,null);case O.StiFunctionType.MinTime:return k.Report.Totals.minTime(new _.StiParserData(e[0],e[1],this),this.report,null);case O.StiFunctionType.Mode:case O.StiFunctionType.ModeD:case O.StiFunctionType.ModeI:return k.Report.Totals.mode(new _.StiParserData(e[0],e[1],this),this.report,null);case O.StiFunctionType.Sum:case O.StiFunctionType.SumD:case O.StiFunctionType.SumI:return k.Report.Totals.sum(new _.StiParserData(e[0],e[1],this),this.report,null);case O.StiFunctionType.SumDistinct:var t=new _.StiParserData(e[0],e[1],this);return k.Report.Totals.sumDistinct(t,this.report,null);case O.StiFunctionType.SumTime:return k.Report.Totals.sumTime(new _.StiParserData(e[0],e[1],this),this.report,null);case O.StiFunctionType.First:return k.Report.Totals.first(new _.StiParserData(e[0],e[1],this),this.report,null);case O.StiFunctionType.Last:return k.Report.Totals.last(new _.StiParserData(e[0],e[1],this),this.report,null);case O.StiFunctionType.pCount:return k.Report.Totals.cCount(e[0],this.report,null);case O.StiFunctionType.pCountDistinct:return k.Report.Totals.cCountDistinct(new _.StiParserData(e[0],e[1],this),this.report,null);case O.StiFunctionType.pAvg:case O.StiFunctionType.pAvgD:case O.StiFunctionType.pAvgI:return k.Report.Totals.cAvg(new _.StiParserData(e[0],e[1],this),this.report,null);case O.StiFunctionType.pAvgDate:return k.Report.Totals.cAvgDate(new _.StiParserData(e[0],e[1],this),this.report,null);case O.StiFunctionType.pAvgTime:return k.Report.Totals.cAvgTime(new _.StiParserData(e[0],e[1],this),this.report,null);case O.StiFunctionType.pMax:case O.StiFunctionType.pMaxD:case O.StiFunctionType.pMaxI:return k.Report.Totals.cMax(new _.StiParserData(e[0],e[1],this),this.report,null);case O.StiFunctionType.pMaxDate:return k.Report.Totals.cMaxDate(new _.StiParserData(e[0],e[1],this),this.report,null);case O.StiFunctionType.pMaxStr:return k.Report.Totals.cMaxStr(new _.StiParserData(e[0],e[1],this),this.report,null);case O.StiFunctionType.pMaxTime:return k.Report.Totals.cMaxTime(new _.StiParserData(e[0],e[1],this),this.report,null);case O.StiFunctionType.pMedian:case O.StiFunctionType.pMedianD:case O.StiFunctionType.pMedianI:return k.Report.Totals.cMedian(new _.StiParserData(e[0],e[1],this),this.report,null);case O.StiFunctionType.pMin:case O.StiFunctionType.pMinD:case O.StiFunctionType.pMinI:return k.Report.Totals.cMin(new _.StiParserData(e[0],e[1],this),this.report,null);case O.StiFunctionType.pMinDate:return k.Report.Totals.cMinDate(new _.StiParserData(e[0],e[1],this),this.report,null);case O.StiFunctionType.pMinStr:return k.Report.Totals.cMinStr(new _.StiParserData(e[0],e[1],this),this.report,null);case O.StiFunctionType.pMinTime:return k.Report.Totals.cMinTime(new _.StiParserData(e[0],e[1],this),this.report,null);case O.StiFunctionType.pMode:case O.StiFunctionType.pModeD:case O.StiFunctionType.pModeI:return k.Report.Totals.cMode(new _.StiParserData(e[0],e[1],this),this.report,null);case O.StiFunctionType.pSum:case O.StiFunctionType.pSumD:case O.StiFunctionType.pSumI:return k.Report.Totals.cSum(new _.StiParserData(e[0],e[1],this),this.report,null);case O.StiFunctionType.pSumDistinct:return k.Report.Totals.cSum(new _.StiParserData(e[0],e[1],this),this.report,null);case O.StiFunctionType.pSumTime:return k.Report.Totals.cSumTime(new _.StiParserData(e[0],e[1],this),this.report,null);case O.StiFunctionType.pFirst:return k.Report.Totals.cFirst(new _.StiParserData(e[0],e[1],this),this.report,null);case O.StiFunctionType.pLast:return k.Report.Totals.cLast(new _.StiParserData(e[0],e[1],this),this.report,null);case O.StiFunctionType.prCount:return k.Report.Totals.cCountRunning(e[0],this.report,null);case O.StiFunctionType.prCountDistinct:return k.Report.Totals.cCountDistinctRunning(new _.StiParserData(e[0],e[1],this),this.report,null);case O.StiFunctionType.prAvg:case O.StiFunctionType.prAvgD:case O.StiFunctionType.prAvgI:return k.Report.Totals.cAvgRunning(new _.StiParserData(e[0],e[1],this),this.report,null);case O.StiFunctionType.prAvgDate:return k.Report.Totals.cAvgDate(new _.StiParserData(e[0],e[1],this),this.report,null);case O.StiFunctionType.prAvgTime:return k.Report.Totals.cAvgTime(new _.StiParserData(e[0],e[1],this),this.report,null);case O.StiFunctionType.prMax:case O.StiFunctionType.prMaxD:case O.StiFunctionType.prMaxI:return k.Report.Totals.cMaxRunning(new _.StiParserData(e[0],e[1],this),this.report,null);case O.StiFunctionType.prMaxDate:return k.Report.Totals.cMaxDate(new _.StiParserData(e[0],e[1],this),this.report,null);case O.StiFunctionType.prMaxStr:return k.Report.Totals.cMaxStr(new _.StiParserData(e[0],e[1],this),this.report,null);case O.StiFunctionType.prMaxTime:return k.Report.Totals.cMaxTime(new _.StiParserData(e[0],e[1],this),this.report,null);case O.StiFunctionType.prMedian:case O.StiFunctionType.prMedianD:case O.StiFunctionType.prMedianI:return k.Report.Totals.cMedianRunning(new _.StiParserData(e[0],e[1],this),this.report,null);case O.StiFunctionType.prMin:case O.StiFunctionType.prMinD:case O.StiFunctionType.prMinI:return k.Report.Totals.cMinRunning(new _.StiParserData(e[0],e[1],this),this.report,null);case O.StiFunctionType.prMinDate:return k.Report.Totals.cMinDate(new _.StiParserData(e[0],e[1],this),this.report,null);case O.StiFunctionType.prMinStr:return k.Report.Totals.cMinStr(new _.StiParserData(e[0],e[1],this),this.report,null);case O.StiFunctionType.prMinTime:return k.Report.Totals.cMinTime(new _.StiParserData(e[0],e[1],this),this.report,null);case O.StiFunctionType.prMode:case O.StiFunctionType.prModeD:case O.StiFunctionType.prModeI:return k.Report.Totals.cModeRunning(new _.StiParserData(e[0],e[1],this),this.report,null);case O.StiFunctionType.prSum:case O.StiFunctionType.prSumD:case O.StiFunctionType.prSumI:return k.Report.Totals.cSumRunning(new _.StiParserData(e[0],e[1],this),this.report,null);case O.StiFunctionType.prSumDistinct:return k.Report.Totals.cSum(new _.StiParserData(e[0],e[1],this),this.report,null);case O.StiFunctionType.prSumTime:return k.Report.Totals.cSumTime(new _.StiParserData(e[0],e[1],this),this.report,null);case O.StiFunctionType.prFirst:return k.Report.Totals.cFirstRunning(new _.StiParserData(e[0],e[1],this),this.report,null);case O.StiFunctionType.prLast:return k.Report.Totals.cLastRunning(new _.StiParserData(e[0],e[1],this),this.report,null);case O.StiFunctionType.iCount:return k.Report.Totals.count(new _.StiParserData(e[0],null,this,e[1]),this.report,null);case O.StiFunctionType.iCountDistinct:return k.Report.Totals.countDistinct(new _.StiParserData(e[0],e[1],this,e[2]),this.report,null);case O.StiFunctionType.iAvg:case O.StiFunctionType.iAvgD:case O.StiFunctionType.iAvgI:return k.Report.Totals.avg(new _.StiParserData(e[0],e[1],this,e[2]),this.report,null);case O.StiFunctionType.iAvgDate:return k.Report.Totals.avgDate(new _.StiParserData(e[0],e[1],this,e[2]),this.report,null);case O.StiFunctionType.iAvgTime:return k.Report.Totals.avgTime(new _.StiParserData(e[0],e[1],this,e[2]),this.report,null);case O.StiFunctionType.iMax:case O.StiFunctionType.iMaxD:case O.StiFunctionType.iMaxI:return k.Report.Totals.max(new _.StiParserData(e[0],e[1],this,e[2]),this.report,null);case O.StiFunctionType.iMaxDate:return k.Report.Totals.maxDate(new _.StiParserData(e[0],e[1],this,e[2]),this.report,null);case O.StiFunctionType.iMaxStr:return k.Report.Totals.maxStr(new _.StiParserData(e[0],e[1],this,e[2]),this.report,null);case O.StiFunctionType.iMaxTime:return k.Report.Totals.maxTime(new _.StiParserData(e[0],e[1],this,e[2]),this.report,null);case O.StiFunctionType.iMedian:case O.StiFunctionType.iMedianD:case O.StiFunctionType.iMedianI:return k.Report.Totals.median(new _.StiParserData(e[0],e[1],this,e[2]),this.report,null);case O.StiFunctionType.iMin:case O.StiFunctionType.iMinD:case O.StiFunctionType.iMinI:return k.Report.Totals.min(new _.StiParserData(e[0],e[1],this,e[2]),this.report,null);case O.StiFunctionType.iMinDate:return k.Report.Totals.minDate(new _.StiParserData(e[0],e[1],this,e[2]),this.report,null);case O.StiFunctionType.iMinStr:return k.Report.Totals.minStr(new _.StiParserData(e[0],e[1],this,e[2]),this.report,null);case O.StiFunctionType.iMinTime:return k.Report.Totals.minTime(new _.StiParserData(e[0],e[1],this,e[2]),this.report,null);case O.StiFunctionType.iMode:case O.StiFunctionType.iModeD:case O.StiFunctionType.iModeI:return k.Report.Totals.mode(new _.StiParserData(e[0],e[1],this,e[2]),this.report,null);case O.StiFunctionType.iSum:case O.StiFunctionType.iSumD:case O.StiFunctionType.iSumI:return k.Report.Totals.sum(new _.StiParserData(e[0],e[1],this,e[2]),this.report,null);case O.StiFunctionType.iSumDistinct:return k.Report.Totals.sumDistinct(new _.StiParserData(e[0],e[1],this,e[2]),this.report,null);case O.StiFunctionType.iSumTime:return k.Report.Totals.sumTime(new _.StiParserData(e[0],e[1],this,e[2]),this.report,null);case O.StiFunctionType.iFirst:return k.Report.Totals.first(new _.StiParserData(e[0],e[1],this,e[2]),this.report,null);case O.StiFunctionType.iLast:return k.Report.Totals.last(new _.StiParserData(e[0],e[1],this,e[2]),this.report,null);case O.StiFunctionType.piCount:return k.Report.Totals.cCount(new _.StiParserData(e[0],null,this,e[1]),this.report,null);case O.StiFunctionType.piCountDistinct:return k.Report.Totals.cCountDistinct(new _.StiParserData(e[0],e[1],this,e[2]),this.report,null);case O.StiFunctionType.piAvg:case O.StiFunctionType.piAvgD:case O.StiFunctionType.piAvgI:return k.Report.Totals.cAvg(new _.StiParserData(e[0],e[1],this,e[2]),this.report,null);case O.StiFunctionType.piAvgDate:return k.Report.Totals.cAvgDate(new _.StiParserData(e[0],e[1],this,e[2]),this.report,null);case O.StiFunctionType.piAvgTime:return k.Report.Totals.cAvgTime(new _.StiParserData(e[0],e[1],this,e[2]),this.report,null);case O.StiFunctionType.piMax:case O.StiFunctionType.piMaxD:case O.StiFunctionType.piMaxI:return k.Report.Totals.cMax(new _.StiParserData(e[0],e[1],this,e[2]),this.report,null);case O.StiFunctionType.piMaxDate:return k.Report.Totals.cMaxDate(new _.StiParserData(e[0],e[1],this,e[2]),this.report,null);case O.StiFunctionType.piMaxStr:return k.Report.Totals.cMaxStr(new _.StiParserData(e[0],e[1],this,e[2]),this.report,null);case O.StiFunctionType.piMaxTime:return k.Report.Totals.cMaxTime(new _.StiParserData(e[0],e[1],this,e[2]),this.report,null);case O.StiFunctionType.piMedian:case O.StiFunctionType.piMedianD:case O.StiFunctionType.piMedianI:return k.Report.Totals.cMedian(new _.StiParserData(e[0],e[1],this,e[2]),this.report,null);case O.StiFunctionType.piMin:case O.StiFunctionType.piMinD:case O.StiFunctionType.piMinI:return k.Report.Totals.cMin(new _.StiParserData(e[0],e[1],this,e[2]),this.report,null);case O.StiFunctionType.piMinDate:return k.Report.Totals.cMinDate(new _.StiParserData(e[0],e[1],this,e[2]),this.report,null);case O.StiFunctionType.piMinStr:return k.Report.Totals.cMinStr(new _.StiParserData(e[0],e[1],this,e[2]),this.report,null);case O.StiFunctionType.piMinTime:return k.Report.Totals.cMinTime(new _.StiParserData(e[0],e[1],this,e[2]),this.report,null);case O.StiFunctionType.piMode:case O.StiFunctionType.piModeD:case O.StiFunctionType.piModeI:return k.Report.Totals.cMode(new _.StiParserData(e[0],e[1],this,e[2]),this.report,null);case O.StiFunctionType.piSum:case O.StiFunctionType.piSumD:case O.StiFunctionType.piSumI:return k.Report.Totals.cSum(new _.StiParserData(e[0],e[1],this,e[2]),this.report,null);case O.StiFunctionType.piSumDistinct:return k.Report.Totals.cSum(new _.StiParserData(e[0],e[1],this,e[2]),this.report,null);case O.StiFunctionType.piSumTime:return k.Report.Totals.cSumTime(new _.StiParserData(e[0],e[1],this,e[2]),this.report,null);case O.StiFunctionType.piFirst:return k.Report.Totals.cFirst(new _.StiParserData(e[0],e[1],this,e[2]),this.report,null);case O.StiFunctionType.piLast:return k.Report.Totals.cLast(new _.StiParserData(e[0],e[1],this,e[2]),this.report,null);case O.StiFunctionType.priCount:return k.Report.Totals.cCountRunning(new _.StiParserData(e[0],null,this,e[1]),this.report,null);case O.StiFunctionType.priCountDistinct:return k.Report.Totals.cCountDistinctRunning(new _.StiParserData(e[0],e[1],this,e[2]),this.report,null);case O.StiFunctionType.priAvg:case O.StiFunctionType.priAvgD:case O.StiFunctionType.priAvgI:return k.Report.Totals.cAvgRunning(new _.StiParserData(e[0],e[1],this,e[2]),this.report,null);case O.StiFunctionType.priAvgDate:return k.Report.Totals.cAvgDate(new _.StiParserData(e[0],e[1],this,e[2]),this.report,null);case O.StiFunctionType.priAvgTime:return k.Report.Totals.cAvgTime(new _.StiParserData(e[0],e[1],this,e[2]),this.report,null);case O.StiFunctionType.priMax:case O.StiFunctionType.priMaxD:case O.StiFunctionType.priMaxI:return k.Report.Totals.cMaxRunning(new _.StiParserData(e[0],e[1],this,e[2]),this.report,null);case O.StiFunctionType.priMaxDate:return k.Report.Totals.cMaxDate(new _.StiParserData(e[0],e[1],this,e[2]),this.report,null);case O.StiFunctionType.priMaxStr:return k.Report.Totals.cMaxStr(new _.StiParserData(e[0],e[1],this,e[2]),this.report,null);case O.StiFunctionType.priMaxTime:return k.Report.Totals.cMaxTime(new _.StiParserData(e[0],e[1],this,e[2]),this.report,null);case O.StiFunctionType.priMedian:case O.StiFunctionType.priMedianD:case O.StiFunctionType.priMedianI:return k.Report.Totals.cMedianRunning(new _.StiParserData(e[0],e[1],this,e[2]),this.report,null);case O.StiFunctionType.priMin:case O.StiFunctionType.priMinD:case O.StiFunctionType.priMinI:return k.Report.Totals.cMinRunning(new _.StiParserData(e[0],e[1],this,e[2]),this.report,null);case O.StiFunctionType.priMinDate:return k.Report.Totals.cMinDate(new _.StiParserData(e[0],e[1],this,e[2]),this.report,null);case O.StiFunctionType.priMinStr:return k.Report.Totals.cMinStr(new _.StiParserData(e[0],e[1],this,e[2]),this.report,null);case O.StiFunctionType.priMinTime:return k.Report.Totals.cMinTime(new _.StiParserData(e[0],e[1],this,e[2]),this.report,null);case O.StiFunctionType.priMode:case O.StiFunctionType.priModeD:case O.StiFunctionType.priModeI:return k.Report.Totals.cModeRunning(new _.StiParserData(e[0],e[1],this,e[2]),this.report,null);case O.StiFunctionType.priSum:case O.StiFunctionType.priSumD:case O.StiFunctionType.priSumI:return k.Report.Totals.cSumRunning(new _.StiParserData(e[0],e[1],this,e[2]),this.report,null);case O.StiFunctionType.priSumDistinct:return k.Report.Totals.cSum(new _.StiParserData(e[0],e[1],this,e[2]),this.report,null);case O.StiFunctionType.priSumTime:return k.Report.Totals.cSumTime(new _.StiParserData(e[0],e[1],this,e[2]),this.report,null);case O.StiFunctionType.priFirst:return k.Report.Totals.cFirstRunning(new _.StiParserData(e[0],e[1],this,e[2]),this.report,null);case O.StiFunctionType.priLast:return k.Report.Totals.cLastRunning(new _.StiParserData(e[0],e[1],this,e[2]),this.report,null);case O.StiFunctionType.Rank:switch(p){case 1:return M.Totals.rank(new _.StiParserData(e[0],e[1],this),this.report,null);case 2:return M.Totals.rank(new _.StiParserData(e[0],e[1],this),this.report,null,!!e[2],+e[3])}break;case O.StiFunctionType.CountAllLevels:return k.Report.Totals.countAllLevels(e[0]);case O.StiFunctionType.CountAllLevelsOnlyChilds:return k.Report.Totals.countAllLevelsOnlyChilds(e[0]);case O.StiFunctionType.CountOnlyChilds:return k.Report.Totals.countOnlyChilds(e[0]);case O.StiFunctionType.Abs:if((l=this.get_category(e[0]))<=1||8<=l)this.throwError(_.ParserErrorCode.FunctionHasInvalidArgument,null,"Abs","1",this.getTypeName(e[0]),"double");else if(2==l||3==l)return Math.abs(+e[0]);return Math.abs(+e[0]);case O.StiFunctionType.Acos:return((l=this.get_category(e[0]))<=1||8<=l)&&this.throwError(_.ParserErrorCode.FunctionHasInvalidArgument,null,"Acos","1",this.getTypeName(e[0]),"double"),Math.acos(+e[0]);case O.StiFunctionType.Asin:return((l=this.get_category(e[0]))<=1||8<=l)&&this.throwError(_.ParserErrorCode.FunctionHasInvalidArgument,null,"Asin","1",this.getTypeName(e[0]),"double"),Math.asin(+e[0]);case O.StiFunctionType.Atan:return((l=this.get_category(e[0]))<=1||8<=l)&&this.throwError(_.ParserErrorCode.FunctionHasInvalidArgument,null,"Atan","1",this.getTypeName(e[0]),"double"),Math.atan(+e[0]);case O.StiFunctionType.Ceiling:if((l=this.get_category(e[0]))<=1||8<=l)this.throwError(_.ParserErrorCode.FunctionHasInvalidArgument,null,"Ceiling","1",this.getTypeName(e[0]),"double");else if(2==l)return Math.ceil(+e[0]);return Math.ceil(+e[0]);case O.StiFunctionType.Cos:return((l=this.get_category(e[0]))<=1||8<=l)&&this.throwError(_.ParserErrorCode.FunctionHasInvalidArgument,null,"Cos","1",this.getTypeName(e[0]),"double"),Math.cos(+e[0]);case O.StiFunctionType.Div:if(l=this.get_category(e[0]),u=this.get_category(e[1]),l<=1||8<=l)this.throwError(_.ParserErrorCode.FunctionHasInvalidArgument,null,"Div","1",this.getTypeName(e[0]),"double");else if(u<=1||8<=u)this.throwError(_.ParserErrorCode.FunctionHasInvalidArgument,null,"Div","2",this.getTypeName(e[1]),"double");else{if(3==e.length){if(2==l){if(0==+e[1])return+e[2];return+e[0]/+e[1]}if(0==+e[1])return+e[2];return+e[0]/+e[1]}if(2==e.length){if(0==e[1].stimulsoft.toNumber())throw new Error("DivideByZeroException: Attempt to divide by zero.");return+e[0]/+e[1]}}this.throwError(_.ParserErrorCode.NoOverloadForMethodTakesNArguments,null,"Div",e.length.toString());break;case O.StiFunctionType.Exp:return((l=this.get_category(e[0]))<=1||8<=l)&&this.throwError(_.ParserErrorCode.FunctionHasInvalidArgument,null,"Exp","1",this.getTypeName(e[0]),"double"),Math.exp(+e[0]);case O.StiFunctionType.Floor:if(((l=this.get_category(e[0]))<=1||4<l)&&this.throwError(_.ParserErrorCode.FunctionHasInvalidArgument,null,"Floor","1",this.getTypeName(e[0]),"double"),2==l)return Math.floor(+e[0]);return Math.floor(+e[0]);case O.StiFunctionType.Log:return((l=this.get_category(e[0]))<=1||8<=l)&&this.throwError(_.ParserErrorCode.FunctionHasInvalidArgument,null,"Log","1",this.getTypeName(e[0]),"double"),Math.log(+e[0]);case O.StiFunctionType.Maximum:if(2!=e.length&&this.throwError(_.ParserErrorCode.NoOverloadForMethodTakesNArguments,null,"Maximum",e.length.toString()),l=this.get_category(e[0]),u=this.get_category(e[1]),l<=1||8<=l)this.throwError(_.ParserErrorCode.FunctionHasInvalidArgument,null,"Maximum","1",this.getTypeName(e[0]),"double");else if(u<=1||8<=u)this.throwError(_.ParserErrorCode.FunctionHasInvalidArgument,null,"Maximum","2",this.getTypeName(e[1]),"double");else{if(2==l)return Math.max(+e[0],+e[1]);if(3==l)return Math.max(+e[0],+e[1])}return Math.max(+e[0],+e[1]);case O.StiFunctionType.Minimum:if(2!=e.length&&this.throwError(_.ParserErrorCode.NoOverloadForMethodTakesNArguments,null,"Minimum",e.length.toString()),l=this.get_category(e[0]),u=this.get_category(e[1]),l<=1||8<=l)this.throwError(_.ParserErrorCode.FunctionHasInvalidArgument,null,"Minimum","1",this.getTypeName(e[0]),"double");else if(u<=1||8<=u)this.throwError(_.ParserErrorCode.FunctionHasInvalidArgument,null,"Minimum","2",this.getTypeName(e[1]),"double");else{if(2==l)return Math.min(+e[0],+e[1]);if(3==l)return Math.min(+e[0],+e[1])}return Math.min(+e[0],+e[1]);case O.StiFunctionType.Round:if((l=this.get_category(e[0]))<=1||4<l)this.throwError(_.ParserErrorCode.FunctionHasInvalidArgument,null,"Round","1",this.getTypeName(e[0]),"double");else{if(1==e.length)return Math.round2(+e[0]);if(2==e.length)return((u=this.get_category(e[1]))<4||7<u)&&this.throwError(_.ParserErrorCode.FunctionHasInvalidArgument,null,"Round","2",this.getTypeName(e[1]),"int"),Math.round2(+e[0],+e[1])}this.throwError(_.ParserErrorCode.NoOverloadForMethodTakesNArguments,null,"Round",e.length.toString());break;case O.StiFunctionType.Sign:if((l=this.get_category(e[0]))<=1||8<=l)this.throwError(_.ParserErrorCode.FunctionHasInvalidArgument,null,"Sign","1",this.getTypeName(e[0]),"double");else{if(2==l)return Math.sign(+e[0]);if(3==l)return Math.sign(+e[0])}return Math.sign(e[0]);case O.StiFunctionType.Sin:return((l=this.get_category(+e[0]))<=1||8<=l)&&this.throwError(_.ParserErrorCode.FunctionHasInvalidArgument,null,"Sin","1",this.getTypeName(e[0]),"double"),Math.sin(+e[0]);case O.StiFunctionType.Sqrt:return((l=this.get_category(+e[0]))<=1||8<=l)&&this.throwError(_.ParserErrorCode.FunctionHasInvalidArgument,null,"Sqrt","1",this.getTypeName(e[0]),"double"),Math.sqrt(+e[0]);case O.StiFunctionType.Tan:return((l=this.get_category(+e[0]))<=1||8<=l)&&this.throwError(_.ParserErrorCode.FunctionHasInvalidArgument,null,"Tan","1",this.getTypeName(e[0]),"double"),Math.tan(+e[0]);case O.StiFunctionType.Truncate:if((l=this.get_category(+e[0]))<=1||4<l)this.throwError(_.ParserErrorCode.FunctionHasInvalidArgument,null,"Truncate","1",this.getTypeName(e[0]),"double");else if(2==l)return Math.trunc(+e[0]);return Math.trunc(+e[0]);case O.StiFunctionType.DateDiff:if(1==p||2==p)return L.toDateTime(e[0]).subtract(L.toDateTime(e[1]));break;case O.StiFunctionType.DateSerial:if(1==p)return new Y(Y.ticksNetToTicksJs(e[0].stimulsoft.toNumber()));if(2==p)return new Y(e[0].stimulsoft.toNumber(),e[1].stimulsoft.toNumber(),e[2].stimulsoft.toNumber(),0,0,0,0);break;case O.StiFunctionType.TimeSerial:if(1==p)return new U(L.toInt32(e[0]),L.toInt32(e[1]),L.toInt32(e[2]));break;case O.StiFunctionType.Year:if(1==p||2==p)return L.toDateTime(e[0]).year;break;case O.StiFunctionType.Month:if(1==p||2==p)return L.toDateTime(e[0]).month;break;case O.StiFunctionType.Day:if(1==p||2==p)return L.toDateTime(e[0]).day;break;case O.StiFunctionType.Hour:if(1==p||2==p)return L.toDateTime(e[0]).hour;break;case O.StiFunctionType.Minute:if(1==p||2==p)return L.toDateTime(e[0]).minute;break;case O.StiFunctionType.Second:if(1==p||2==p)return L.toDateTime(e[0]).second;break;case O.StiFunctionType.DayOfWeek:switch(p){case 1:return V.dayOfWeek(L.toDateTime(e[0]));case 3:return V.dayOfWeek(L.toDateTime(e[0]),e[1].stimulsoft.toBoolean());case 5:return V.dayOfWeek(L.toDateTime(e[0]),e[1]);case 7:return V.dayOfWeek(L.toDateTime(e[0]),e[1],e[2].stimulsoft.toBoolean())}break;case O.StiFunctionType.DayOfYear:if(1==p||2==p)return L.toDateTime(e[0]).dayOfYear.toString();break;case O.StiFunctionType.DaysInMonth:switch(p){case 1:return Y.daysInMonth(L.toDateTime(e[0]).year,L.toDateTime(e[0]).month);case 3:return Y.daysInMonth(L.toInt32(e[0]),L.toInt32(e[1]))}break;case O.StiFunctionType.DaysInYear:switch(p){case 1:return Y.isLeapYear(L.toDateTime(e[0]).year)?366:365;case 3:return Y.isLeapYear(L.toInt32(e[0]))?366:365}break;case O.StiFunctionType.MonthName:switch(p){case 1:return V.monthName(L.toDateTime(e[0]));case 3:return V.monthName(L.toDateTime(e[0]),e[1]);case 5:return V.monthName(L.toDateTime(e[0]),e[1]);case 7:return V.monthName(L.toDateTime(e[0]),e[1],e[2])}break;case O.StiFunctionType.WeekOfYear:switch(p){case 1:return V.weekOfYear(L.toDateTime(e[0]));case 3:return V.weekOfYear(L.toDateTime(e[0]),e[1]);case 5:return V.weekOfYear(L.toDateTime(e[0]),e[1],e[2])}break;case O.StiFunctionType.WeekOfMonth:switch(p){case 1:return V.weekOfMonth(L.toDateTime(e[0]));case 3:return V.weekOfMonth(L.toDateTime(e[0]),e[1]);case 5:return V.weekOfMonth(L.toDateTime(e[0]),e[1],e[2])}break;case O.StiFunctionType.Insert:return l=this.get_category(e[0]),l=this.get_category(e[1]),l=this.get_category(e[2]),L.toString(e[0]).stimulsoft.insert(L.toNumber(e[1]),L.toString(e[2]),0);case O.StiFunctionType.Length:return l=this.get_category(e[0]),L.toString(e[0]).length;case O.StiFunctionType.Remove:return l=this.get_category(e[0]),l=this.get_category(e[1]),l=this.get_category(e[2]),L.toString(e[0]).stimulsoft.remove(L.toNumber(e[1]),L.toNumber(e[2]));case O.StiFunctionType.Replace:return l=this.get_category(e[0]),l=this.get_category(e[1]),l=this.get_category(e[2]),L.toString(e[0]).stimulsoft.replaceAll(L.toString(e[1]),L.toString(e[2]));case O.StiFunctionType.Roman:if(4<=(l=this.get_category(e[0]))&&l<=7)return M.Dictionary.StiFunctionsStrings.roman(L.toNumber(e[0]));break;case O.StiFunctionType.Substring:return l=this.get_category(e[0]),l=this.get_category(e[1]),l=this.get_category(e[2]),L.toString(e[0]).substr(L.toNumber(e[1]),L.toNumber(e[2]));case O.StiFunctionType.ToLowerCase:return l=this.get_category(e[0]),L.toString(e[0]).toLowerCase();case O.StiFunctionType.ToProperCase:return 1!=e.length&&this.throwError(_.ParserErrorCode.NoOverloadForMethodTakesNArguments,null,"ToProperCase",e.length.toString()),1!=(l=this.get_category(e[0]))&&this.throwError(_.ParserErrorCode.FunctionHasInvalidArgument,null,"ToProperCase","1",this.getTypeName(e[0]),"string"),k.System.Globalization.CultureInfo.InvariantCulture.textInfo.toTitleCase(L.toString(e[0]).toLowerCase());case O.StiFunctionType.ToUpperCase:return l=this.get_category(e[0]),L.toString(e[0]).toUpperCase();case O.StiFunctionType.Trim:return l=this.get_category(e[0]),L.toString(e[0]).trim();case O.StiFunctionType.TryParseDecimal:return l=this.get_category(e[0]),!isNaN(L.toNumber(e[0]));case O.StiFunctionType.TryParseDouble:return l=this.get_category(e[0]),!isNaN(L.toNumber(e[0]));case O.StiFunctionType.TryParseLong:return l=this.get_category(e[0]),!isNaN(L.toNumber(e[0]));case O.StiFunctionType.Arabic:if(1==(l=this.get_category(e[0])))return M.Dictionary.StiFunctionsStrings.arabic(L.toString(e[0]));if(4<=l&&l<=7)return M.Dictionary.StiFunctionsStrings.arabic(L.toNumber(e[0]));break;case O.StiFunctionType.Persian:if(1==(l=this.get_category(e[0])))return M.Dictionary.StiFunctionsStrings.persian(L.toString(e[0]));if(4<=l&&l<=7)return M.Dictionary.StiFunctionsStrings.persian(L.toNumber(e[0]));break;case O.StiFunctionType.ToOrdinal:if(4<=(l=this.get_category(e[0]))&&l<=7)return M.Dictionary.StiFunctionsStrings.toOrdinal(L.toNumber(e[0]));break;case O.StiFunctionType.Left:if(1==p)return M.Dictionary.StiFunctionsStrings.left(L.toString(e[0]),L.toNumber(e[1]));break;case O.StiFunctionType.Right:if(1==p)return M.Dictionary.StiFunctionsStrings.right(L.toString(e[0]),L.toNumber(e[1]));break;case O.StiFunctionType.Mid:if(1==p)return M.Dictionary.StiFunctionsStrings.mid(L.toString(e[0]),L.toNumber(e[1]),L.toNumber(e[2]));break;case O.StiFunctionType.ToWords:switch(p){case 1:return M.Dictionary.StiFunctionsStrings.toWords(L.toNumber(e[0]));case 4:return M.Dictionary.StiFunctionsStrings.toWords(L.toNumber(e[0]),L.toBoolean(e[1]))}break;case O.StiFunctionType.ToWordsAr:switch(p){case 1:return M.Dictionary.StiFunctionsStrings.toWordsAr(L.toNumber(e[0]))}break;case O.StiFunctionType.ToWordsEs:switch(p){case 1:return M.Dictionary.StiFunctionsStrings.toWordsEs(L.toNumber(e[0]),L.toBoolean(e[1]));case 2:return M.Dictionary.StiFunctionsStrings.toWordsEs2(L.toNumber(e[0]),L.toBoolean(e[1]),L.toBoolean(e[2]))}break;case O.StiFunctionType.ToWordsEnIn:return M.Dictionary.StiFunctionsStrings.toWordsEnIn(L.toNumber(e[0]),L.toBoolean(e[1]));case O.StiFunctionType.ToWordsFa:return M.Dictionary.StiFunctionsStrings.toWordsFa(L.toNumber(e[0]));case O.StiFunctionType.ToWordsPl:return M.Dictionary.StiFunctionsStrings.toWordsPl(L.toNumber(e[0]),L.toBoolean(e[1]));case O.StiFunctionType.ToWordsPt:return M.Dictionary.StiFunctionsStrings.toWordsPt(L.toNumber(e[0]),L.toBoolean(e[1]));case O.StiFunctionType.ToWordsRu:switch(p){case 1:return M.Dictionary.StiFunctionsStrings.toWordsRu(L.toNumber(e[0]));case 4:return M.Dictionary.StiFunctionsStrings.toWordsRu(L.toNumber(e[0]),L.toBoolean(e[1]))}break;case O.StiFunctionType.ToWordsTr:return M.Dictionary.StiFunctionsStrings.toWordsTr(L.toNumber(e[0]));case O.StiFunctionType.ToWordsUa:switch(p){case 1:return M.Dictionary.StiFunctionsStrings.toWordsUa(L.toNumber(e[0]));case 4:return M.Dictionary.StiFunctionsStrings.toWordsUa(L.toNumber(e[0]),L.toBoolean(e[1]))}break;case O.StiFunctionType.ToCurrencyWords:switch(p){case 1:return M.Dictionary.StiFunctionsStrings.toCurrencyWords(L.toNumber(e[0]),!0,!0);case 4:return M.Dictionary.StiFunctionsStrings.toCurrencyWords(L.toNumber(e[0]),!0,L.toBoolean(e[1]));case 7:return M.Dictionary.StiFunctionsStrings.toCurrencyWords(L.toNumber(e[0]),L.toBoolean(e[1]),L.toBoolean(e[2]));case 10:return M.Dictionary.StiFunctionsStrings.toCurrencyWords(L.toNumber(e[0]),L.toBoolean(e[1]),L.toBoolean(e[2]),L.toString(e[3]),L.toString(e[4]))}break;case O.StiFunctionType.ToCurrencyWordsAr:switch(p){case 1:return M.Dictionary.StiFunctionsStrings.toCurrencyWordsAr(L.toNumber(e[0]),L.toString(e[1]),L.toString(e[2]))}break;case O.StiFunctionType.ToCurrencyWordsEnGb:return M.Dictionary.StiFunctionsStrings.toCurrencyWordsEnGb(L.toNumber(e[0]),L.toString(e[1]),L.toNumber(e[2]));case O.StiFunctionType.ToCurrencyWordsEnIn:return M.Dictionary.StiFunctionsStrings.toCurrencyWordsEnIn(L.toString(e[0]),L.toString(e[1]),L.toNumber(e[2]),L.toNumber(e[3]),L.toBoolean(e[4]));case O.StiFunctionType.ToCurrencyWordsEs:return M.Dictionary.StiFunctionsStrings.toCurrencyWordsEs(L.toNumber(e[0]),L.toString(e[1]),L.toNumber(e[2]));case O.StiFunctionType.ToCurrencyWordsFr:return M.Dictionary.StiFunctionsStrings.toCurrencyWordsFr(L.toNumber(e[0]),L.toString(e[1]),L.toNumber(e[2]));case O.StiFunctionType.ToCurrencyWordsNl:return M.Dictionary.StiFunctionsStrings.toCurrencyWordsNl(L.toNumber(e[0]),L.toString(e[1]),L.toNumber(e[2]));case O.StiFunctionType.ToCurrencyWordsPl:return M.Dictionary.StiFunctionsStrings.toCurrencyWordsPl(L.toNumber(e[0]),L.toString(e[1]),L.toBoolean(e[2]),L.toBoolean(e[3]));case O.StiFunctionType.ToCurrencyWordsPt:return M.Dictionary.StiFunctionsStrings.toCurrencyWordsPt(L.toNumber(e[0]),L.toBoolean(e[1]),L.toBoolean(e[2]));case O.StiFunctionType.ToCurrencyWordsPtBr:return M.Dictionary.StiFunctionsStrings.toCurrencyWordsPtBr(L.toNumber(e[0]));case O.StiFunctionType.ToCurrencyWordsRu:switch(p){case 1:return M.Dictionary.StiFunctionsStrings.toCurrencyWordsRu(L.toNumber(e[0]));case 4:return M.Dictionary.StiFunctionsStrings.toCurrencyWordsRu(L.toNumber(e[0]),!0,"RUR",L.toBoolean(e[1]));case 7:return M.Dictionary.StiFunctionsStrings.toCurrencyWordsRu(L.toNumber(e[0]),!0,L.toString(e[2]),L.toBoolean(e[1]));case 10:return M.Dictionary.StiFunctionsStrings.toCurrencyWordsRu(L.toNumber(e[0]),L.toBoolean(e[2]),L.toString(e[1]),!0)}break;case O.StiFunctionType.ToCurrencyWordsThai:switch(p){case 1:return M.Dictionary.StiFunctionsStrings.toCurrencyWordsThai(L.toNumber(e[0]))}break;case O.StiFunctionType.ToCurrencyWordsTr:switch(p){case 1:return M.Dictionary.StiFunctionsStrings.toCurrencyWordsTr(L.toNumber(e[0]));case 2:return M.Dictionary.StiFunctionsStrings.toCurrencyWordsTr2(L.toNumber(e[0]),L.toString(e[1]),L.toBoolean(e[2]))}break;case O.StiFunctionType.ToCurrencyWordsUa:switch(p){case 1:return M.Dictionary.StiFunctionsStrings.toCurrencyWordsUa(L.toNumber(e[0]));case 4:return M.Dictionary.StiFunctionsStrings.toCurrencyWordsUa(L.toNumber(e[0]),!0,"UAH",L.toBoolean(e[1]));case 7:return M.Dictionary.StiFunctionsStrings.toCurrencyWordsUa(L.toNumber(e[0]),!0,L.toString(e[2]),L.toBoolean(e[1]))}break;case O.StiFunctionType.ToCurrencyWordsZh:switch(p){case 1:return M.Dictionary.StiFunctionsStrings.toCurrencyWordsZh(L.toNumber(e[0]))}break;case O.StiFunctionType.DateToStr:switch(p){case 1:return M.Dictionary.StiFunctionsStrings.dateToStr(L.toDateTime(e[0]));case 3:return M.Dictionary.StiFunctionsStrings.dateToStr(L.toDateTime(e[0]),L.toBoolean(e[1]))}break;case O.StiFunctionType.DateToStrPl:return M.Dictionary.StiFunctionsStrings.dateToStrPl(L.toDateTime(e[0]),L.toBoolean(e[1]));case O.StiFunctionType.DateToStrRu:switch(p){case 1:return M.Dictionary.StiFunctionsStrings.dateToStrRu(L.toDateTime(e[0]));case 2:return M.Dictionary.StiFunctionsStrings.dateToStrRu(L.toDateTime(e[0]),L.toBoolean(e[1]))}break;case O.StiFunctionType.DateToStrUa:switch(p){case 1:return M.Dictionary.StiFunctionsStrings.dateToStrUa(L.toDateTime(e[0]));case 2:return M.Dictionary.StiFunctionsStrings.dateToStrUa(L.toDateTime(e[0]),L.toBoolean(e[1]))}break;case O.StiFunctionType.DateToStrPt:return M.Dictionary.StiFunctionsStrings.DateToStrPt(L.toDateTime(e[0]));case O.StiFunctionType.DateToStrPtBr:return M.Dictionary.StiFunctionsStrings.dateToStrPtBr(L.toDateTime(e[0]));case O.StiFunctionType.StringIsNullOrEmpty:if(1==p)return G.isNullOrEmpty(L.toString(e[0]));break;case O.StiFunctionType.StringIsNullOrWhiteSpace:if(1==p)return G.isNullOrWhiteSpace(L.toString(e[0]));break;case O.StiFunctionType.StrToNullableDateTime:if(1==p){var h={ref:null};return k.Base.StringExt.tryParseDateTime(L.toString(e[0]),h)?h.ref:null}break;case O.StiFunctionType.IsNull:if(1==p)return M.Dictionary.StiFunctionsPrintState.isNull(e[0],L.toString(e[1]));break;case O.StiFunctionType.Next:if(1==p)return M.Dictionary.StiFunctionsPrintState.next(e[0],L.toString(e[1]));break;case O.StiFunctionType.NextIsNull:if(1==p)return M.Dictionary.StiFunctionsPrintState.nextIsNull(e[0],L.toString(e[1]));break;case O.StiFunctionType.Previous:if(1==p)return M.Dictionary.StiFunctionsPrintState.previous(e[0],L.toString(e[1]));break;case O.StiFunctionType.PreviousIsNull:if(1==p)return M.Dictionary.StiFunctionsPrintState.previousIsNull(e[0],L.toString(e[1]));break;case O.StiFunctionType.IIF:return L.toBoolean(e[0])?e[1]:e[2];case O.StiFunctionType.Choose:l=this.get_category(e[0]);var h=L.toNumber(e[0]);if(0<h&&h<e.length)return e[h];return null;case O.StiFunctionType.Switch:var m=0;while(m+1<e.length){if(L.toBoolean(e[m]))return e[m+1];m+=2}return null;case O.StiFunctionType.ToString:if(null==e[0]||e[0]==J.value)return"";if(1==(l=this.get_category(e[0])))return L.toString(e[0]);if(2==l||3==l){var d=L.toNumber(e[0]);return 1==e.length?d.toString():G.customFormat(d,L.toString(e[1]))}if(4==l||6==l){var d=L.toNumber(e[0]);return 1==e.length?d.toString():G.customFormat(d,L.toString(e[1]))}if(5==l||7==l){var g=L.toNumber(e[0]);return 1==e.length?g.toString():G.customFormat(g,L.toString(e[1]))}if(8==l){var g=L.toDateTime(e[0]);return 1==e.length?g.toString():G.format(L.toString(e[1]),g.toString)}return(9==l?L.toBoolean(e[0]):e[0]).toString();case O.StiFunctionType.Format:return l=this.get_category(e[0]),G.format(L.toString(e[0]),e[1]);case O.StiFunctionType.SystemConvertToBoolean:return k.System.Convert.toBoolean(e[0]);case O.StiFunctionType.SystemConvertToByte:return k.System.Convert.toNumber(e[0]);case O.StiFunctionType.SystemConvertToChar:return k.System.Convert.toString(e[0]);case O.StiFunctionType.SystemConvertToDateTime:return k.System.Convert.toDateTime(e[0]);case O.StiFunctionType.SystemConvertToDecimal:return k.System.Convert.toNumber(e[0]);case O.StiFunctionType.SystemConvertToDouble:return k.System.Convert.toNumber(e[0]);case O.StiFunctionType.SystemConvertToInt16:return k.System.Convert.toNumber(e[0]);case O.StiFunctionType.SystemConvertToInt32:return k.System.Convert.toNumber(e[0]);case O.StiFunctionType.SystemConvertToInt64:return k.System.Convert.toNumber(e[0]);case O.StiFunctionType.SystemConvertToSByte:return k.System.Convert.toNumber(e[0]);case O.StiFunctionType.SystemConvertToSingle:return k.System.Convert.toNumber(e[0]);case O.StiFunctionType.SystemConvertToString:return k.System.Convert.toString(e[0]);case O.StiFunctionType.SystemConvertToUInt16:return k.System.Convert.toNumber(e[0]);case O.StiFunctionType.SystemConvertToUInt32:return k.System.Convert.toNumber(e[0]);case O.StiFunctionType.SystemConvertToUInt64:return k.System.Convert.toNumber(e[0]);case O.StiFunctionType.MathRound:switch(p){case 1:return Math.round2(L.toNumber(e[0]));case 2:return Math.round2(L.toNumber(e[0]),L.toNumber(e[1]));case 3:return Math.round2(L.toNumber(e[0]),L.toNumber(e[1]));case 4:return Math.round2(L.toNumber(e[0]),L.toNumber(e[1]));case 5:return Math.round2(L.toNumber(e[0]));case 6:return Math.round2(L.toNumber(e[0]),L.toNumber(e[1]));case 7:return Math.round2(L.toNumber(e[0]),L.toNumber(e[1]));case 8:return Math.round2(L.toNumber(e[0]),L.toNumber(e[1]))}break;case O.StiFunctionType.MathPow:switch(p){case 1:return Math.pow(L.toNumber(e[0]),L.toNumber(e[1]))}break;case O.StiFunctionType.ConvertRtf:var l=j.create(Object,e.length);return e.stimulsoft.copyTo(l),null;case O.StiFunctionType.GetAnchorPageNumber:switch(p){case 1:return this.report.getAnchorPageNumber(e[0])}break;case O.StiFunctionType.GetAnchorPageNumberThrough:switch(p){case 1:return this.report.getAnchorPageNumberThrough(e[0])}break;case O.StiFunctionType.ParseTimeSpan:switch(p){case 1:return U.fromString(L.toString(e[0]))}break;case O.StiFunctionType.ParseDateTime:switch(p){case 1:return L.toDateTime(L.toString(e[0]))}break;case O.StiFunctionType.ParseDecimal:switch(p){case 1:return L.toNumber(L.toString(e[0]))}break;case O.StiFunctionType.ParseDouble:switch(p){case 1:return L.toNumber(L.toString(e[0]))}break;case O.StiFunctionType.ParseInt:switch(p){case 1:return L.toNumber(L.toString(e[0]))}break;case O.StiFunctionType.EngineHelperJoinColumnContent:switch(p){case 1:return M.Func.EngineHelper.joinColumnContent(e[0],L.toString(e[1]),L.toString(e[2]));case 2:return M.Func.EngineHelper.joinColumnContent(e[0],L.toString(e[1]),L.toString(e[2]));case 3:return M.Func.EngineHelper.joinColumnContent(e[0],L.toString(e[1]),L.toString(e[2]),L.toBoolean(e[3]));case 4:return M.Func.EngineHelper.joinColumnContent(e[0],L.toString(e[1]),L.toString(e[2]),L.toBoolean(e[3]))}break;case O.StiFunctionType.EngineHelperToQueryString:switch(p){case 1:if(e[0].stimulsoft.is(W)||e[0]instanceof Array)try{var f=[],S=e[0];try{for(var y=__values(S),A=y.next();!A.done;A=y.next()){var b=A.value;f.push(b)}}catch(t){r={error:t}}finally{try{A&&!A.done&&(n=y.return)&&n.call(y)}finally{if(r)throw r.error}}return M.Func.EngineHelper.toQueryString(f,L.toString(e[1]),L.toString(e[2]))}catch(t){k.System.StiError.showError(t,!1)}break}break}if(c>=O.StiFunctionType.rCount&&c<=O.StiFunctionType.rLast||c>=O.StiFunctionType.riCount&&c<=O.StiFunctionType.riLast||c>=O.StiFunctionType.cCount&&c<=O.StiFunctionType.cLast||c>=O.StiFunctionType.crCount&&c<=O.StiFunctionType.crLast||c>=O.StiFunctionType.ciCount&&c<=O.StiFunctionType.ciLast||c>=O.StiFunctionType.criCount&&O.StiFunctionType.criLast,c>=O.StiFunctionType.UserFunction){var C=null;try{for(var v=__values(this.userFunctionsList.keys),w=v.next();!w.done;w=v.next()){var B=w.value;if(this.userFunctionsList.get(B)==c){C=B;break}}}catch(t){i={error:t}}finally{try{w&&!w.done&&(o=v.return)&&o.call(v)}finally{if(i)throw i.error}}if(null!=C){for(var I=e.length,T=j.create(Q,I),E=j.create(Object,I),R=0;R<I;R++)null==e[R]?T[R]=Object:T[R]=e[R].stimulsoft.getType(),E[R]=e[R];var D=H.getFunctions(!1);try{for(var P=__values(D),x=P.next();!x.done;x=P.next()){var F=x.value;if(F.functionName!=C)continue;if((null!=F.argumentTypes?F.argumentTypes.length:0)!=I)continue;for(var N=!0,R=0;R<I;R++){if(_.StiParser_Check.isImplicitlyCastableTo(T[R],F.argumentTypes[R]))continue;N=!1;break}if(N&&null!=F.jsFunction)return F.jsFunction.apply(null,E)}}catch(t){a={error:t}}finally{try{x&&!x.done&&(s=P.return)&&s.call(P)}finally{if(a)throw a.error}}}}return null},n=o,_.StiParser_AsmFunctions=n}(Stimulsoft=Stimulsoft||{}),function(I){var t,e,r,T,n,E,i;function o(){var t=null!==i&&i.apply(this,arguments)||this;return t.currentToken=null,t.asmList=null,t}e=t=I.Report||(I.Report={}),T=r=e.Engine||(e.Engine={}),E=n=T.StiParser||(T.StiParser={}),i=E.StiParser_AsmFunctions,__extends(o,i),o.prototype.eval_exp=function(){if((this.tokenPos=0)==this.tokensList.length)return void this.throwError(E.ParserErrorCode.ExpressionIsEmpty);this.eval_exp0(),this.tokenPos<=this.tokensList.length&&this.throwError(E.ParserErrorCode.UnprocessedLexemesRemain)},o.prototype.eval_exp0=function(){this.get_token(),this.eval_exp01()},o.prototype.eval_exp01=function(){if(this.currentToken.type==T.StiTokenType.Variable){var t=this.currentToken;if(this.get_token(),this.currentToken.type==T.StiTokenType.Assign)return this.get_token(),this.eval_exp1(),void this.asmList.push(new E.StiAsmCommand(T.StiAsmCommandType.CopyToVariable,t.value));this.tokenPos--,this.currentToken=this.tokensList[this.tokenPos-1]}this.eval_exp1()},o.prototype.eval_exp1=function(){var t,e,r,n;this.eval_exp10(),this.currentToken.type==T.StiTokenType.Question&&(this.get_token(),t=new E.StiAsmCommand(T.StiAsmCommandType.JumpFalse,0,null),this.asmList.push(t),e=this.asmList.length,this.eval_exp10(),this.currentToken.type!=T.StiTokenType.Colon&&this.throwError(E.ParserErrorCode.SyntaxError,this.currentToken),r=new E.StiAsmCommand(T.StiAsmCommandType.Jump,0,null),this.asmList.push(r),n=this.asmList.length,this.get_token(),this.eval_exp10(),t.parameter1=n-e,r.parameter1=this.asmList.length-n)},o.prototype.eval_exp10=function(){this.eval_exp11();while(this.currentToken.type==T.StiTokenType.DoubleOr)this.get_token(),this.eval_exp11(),this.asmList.push(new E.StiAsmCommand(T.StiAsmCommandType.Or2))},o.prototype.eval_exp11=function(){this.eval_exp12();while(this.currentToken.type==T.StiTokenType.DoubleAnd)this.get_token(),this.eval_exp12(),this.asmList.push(new E.StiAsmCommand(T.StiAsmCommandType.And2))},o.prototype.eval_exp12=function(){this.eval_exp14();while(this.currentToken.type==T.StiTokenType.Or)this.get_token(),this.eval_exp14(),this.asmList.push(new E.StiAsmCommand(T.StiAsmCommandType.Or))},o.prototype.eval_exp14=function(){this.eval_exp15(),this.currentToken.type==T.StiTokenType.Xor&&(this.get_token(),this.eval_exp15(),this.asmList.push(new E.StiAsmCommand(T.StiAsmCommandType.Xor)))},o.prototype.eval_exp15=function(){this.eval_exp16();while(this.currentToken.type==T.StiTokenType.And)this.get_token(),this.eval_exp16(),this.asmList.push(new E.StiAsmCommand(T.StiAsmCommandType.And))},o.prototype.eval_exp16=function(){var t;this.eval_exp17(),this.currentToken.type!=T.StiTokenType.Equal&&this.currentToken.type!=T.StiTokenType.NotEqual||(t=new E.StiAsmCommand(T.StiAsmCommandType.CompareEqual),this.currentToken.type==T.StiTokenType.NotEqual&&(t.type=T.StiAsmCommandType.CompareNotEqual),this.get_token(),this.eval_exp17(),this.asmList.push(t))},o.prototype.eval_exp17=function(){var t;this.eval_exp18(),this.currentToken.type!=T.StiTokenType.Left&&this.currentToken.type!=T.StiTokenType.LeftEqual&&this.currentToken.type!=T.StiTokenType.Right&&this.currentToken.type!=T.StiTokenType.RightEqual||(t=null,this.currentToken.type==T.StiTokenType.Left&&(t=new E.StiAsmCommand(T.StiAsmCommandType.CompareLeft)),this.currentToken.type==T.StiTokenType.LeftEqual&&(t=new E.StiAsmCommand(T.StiAsmCommandType.CompareLeftEqual)),this.currentToken.type==T.StiTokenType.Right&&(t=new E.StiAsmCommand(T.StiAsmCommandType.CompareRight)),this.currentToken.type==T.StiTokenType.RightEqual&&(t=new E.StiAsmCommand(T.StiAsmCommandType.CompareRightEqual)),this.get_token(),this.eval_exp18(),this.asmList.push(t))},o.prototype.eval_exp18=function(){var t;this.eval_exp2(),this.currentToken.type!=T.StiTokenType.Shl&&this.currentToken.type!=T.StiTokenType.Shr||(t=new E.StiAsmCommand(T.StiAsmCommandType.Shl),this.currentToken.type==T.StiTokenType.Shr&&(t.type=T.StiAsmCommandType.Shr),this.get_token(),this.eval_exp2(),this.asmList.push(t))},o.prototype.eval_exp2=function(){this.eval_exp3();while(this.currentToken.type==T.StiTokenType.Plus||this.currentToken.type==T.StiTokenType.Minus){var t=this.currentToken;this.get_token(),this.eval_exp3(),t.type==T.StiTokenType.Minus?this.asmList.push(new E.StiAsmCommand(T.StiAsmCommandType.Sub)):t.type==T.StiTokenType.Plus&&this.asmList.push(new E.StiAsmCommand(T.StiAsmCommandType.Add))}},o.prototype.eval_exp3=function(){this.eval_exp4();while(this.currentToken.type==T.StiTokenType.Mult||this.currentToken.type==T.StiTokenType.Div||this.currentToken.type==T.StiTokenType.Percent){var t=this.currentToken;this.get_token(),this.eval_exp4(),t.type==T.StiTokenType.Mult?this.asmList.push(new E.StiAsmCommand(T.StiAsmCommandType.Mult)):t.type==T.StiTokenType.Div&&this.asmList.push(new E.StiAsmCommand(T.StiAsmCommandType.Div)),t.type==T.StiTokenType.Percent&&this.asmList.push(new E.StiAsmCommand(T.StiAsmCommandType.Mod))}},o.prototype.eval_exp4=function(){this.eval_exp5()},o.prototype.eval_exp5=function(){var t=null;this.currentToken.type!=T.StiTokenType.Plus&&this.currentToken.type!=T.StiTokenType.Minus&&this.currentToken.type!=T.StiTokenType.Not||(this.currentToken.type==T.StiTokenType.Minus&&(t=new E.StiAsmCommand(T.StiAsmCommandType.Neg)),this.currentToken.type==T.StiTokenType.Not&&(t=new E.StiAsmCommand(T.StiAsmCommandType.Not)),this.get_token()),this.eval_exp6(),null!=t&&this.asmList.push(t)},o.prototype.eval_exp6=function(){var t;this.currentToken.type==T.StiTokenType.LParenthesis?(this.get_token(),this.currentToken.type==T.StiTokenType.Cast?(t=this.currentToken.valueObject,this.get_token(),this.currentToken.type!=T.StiTokenType.RParenthesis&&this.throwError(E.ParserErrorCode.RightParenthesisExpected),this.get_token(),this.eval_exp5(),this.asmList.push(new E.StiAsmCommand(T.StiAsmCommandType.Cast,t))):(this.eval_exp1(),this.currentToken.type!=T.StiTokenType.RParenthesis&&this.throwError(E.ParserErrorCode.RightParenthesisExpected),this.get_token(),this.currentToken.type==T.StiTokenType.Dot&&(this.get_token(),this.eval_exp7()),this.currentToken.type==T.StiTokenType.LBracket&&this.eval_exp62())):this.eval_exp62()},o.prototype.eval_exp62=function(){if(this.currentToken.type==T.StiTokenType.LBracket){var t=0;while(0==t||this.currentToken.type==T.StiTokenType.Comma)this.get_token(),this.eval_exp1(),t++;this.currentToken.type!=T.StiTokenType.RBracket&&this.throwError(E.ParserErrorCode.SyntaxError,this.currentToken),this.asmList.push(new E.StiAsmCommand(T.StiAsmCommandType.PushArrayElement,t+1)),this.get_token(),this.currentToken.type==T.StiTokenType.LBracket&&this.eval_exp62(),this.currentToken.type==T.StiTokenType.Dot&&(this.get_token(),this.eval_exp7())}else this.eval_exp7()},o.prototype.eval_exp7=function(){this.atom(),this.currentToken.type==T.StiTokenType.Dot&&(this.get_token(),this.eval_exp7()),this.currentToken.type==T.StiTokenType.LBracket&&this.eval_exp62()},o.prototype.atom=function(){if(this.currentToken.type==T.StiTokenType.Variable)return this.asmList.push(new E.StiAsmCommand(T.StiAsmCommandType.PushVariable,this.currentToken.value)),void this.get_token();if(this.currentToken.type==T.StiTokenType.SystemVariable)return this.asmList.push(new E.StiAsmCommand(T.StiAsmCommandType.PushSystemVariable,E.StiParser_Properties.systemVariablesList.get(this.currentToken.value))),void this.get_token();if(this.currentToken.type==T.StiTokenType.Function){var t=this.currentToken,e=void 0,r=E.StiParser_Properties.functionsList.get(t.value),e=null!=r?r:this.userFunctionsList.get(t.value),e;return(e=new E.StiAsmCommand(T.StiAsmCommandType.PushFunction,e,this.get_args_count(e))).position=this.expressionPosition+t.position,e.length=t.length,this.asmList.push(e),void this.get_token()}if(this.currentToken.type==T.StiTokenType.Method){var n=this.currentToken,i=E.StiParser_Properties.methodsList.get(n.value);return this.asmList.push(new E.StiAsmCommand(T.StiAsmCommandType.PushMethod,i,this.get_args_count(i)+1)),void this.get_token()}if(this.currentToken.type==T.StiTokenType.Property){var n=this.currentToken,i=E.StiParser_Properties.propertiesList.get(n.value);return null==i&&(i=n.value),this.asmList.push(new E.StiAsmCommand(T.StiAsmCommandType.PushProperty,i)),void this.get_token()}if(this.currentToken.type==T.StiTokenType.DataSourceField)return this.asmList.push(new E.StiAsmCommand(T.StiAsmCommandType.PushDataSourceField,this.currentToken.value,this.currentToken.valueObject)),void this.get_token();var e;if(this.currentToken.type==T.StiTokenType.BusinessObjectField)return(e=new E.StiAsmCommand(T.StiAsmCommandType.PushBusinessObjectField,this.currentToken.value)).position=this.expressionPosition+this.currentToken.position,e.length=this.currentToken.length,this.asmList.push(e),void this.get_token();if(this.currentToken.type==T.StiTokenType.Component)return this.asmList.push(new E.StiAsmCommand(T.StiAsmCommandType.PushComponent,this.componentsList.get(this.currentToken.value))),void this.get_token();if(this.currentToken.type==T.StiTokenType.Number)return this.asmList.push(new E.StiAsmCommand(T.StiAsmCommandType.PushValue,this.currentToken.valueObject)),void this.get_token();if(this.currentToken.type==T.StiTokenType.String)return this.asmList.push(new E.StiAsmCommand(T.StiAsmCommandType.PushValue,this.currentToken.valueObject)),void this.get_token();this.currentToken.type==T.StiTokenType.Empty&&this.throwError(E.ParserErrorCode.UnexpectedEndOfExpression),this.throwError(E.ParserErrorCode.SyntaxError,this.currentToken)},o.prototype.get_args_count=function(t){var e,r,n,i,o=-1,a=!1;null!=this.currentToken&&(o=this.currentToken.position,a=this.currentToken.value.stimulsoft.startsWith("Totals."));var s=this.get_args(),l=t,u,c,p,h,u,c;if(((l==T.StiFunctionType.Count||l==T.StiFunctionType.rCount||l==T.StiFunctionType.cCount||l==T.StiFunctionType.crCount||l==T.StiFunctionType.pCount||l==T.StiFunctionType.prCount)&&0==s.length||(l>=T.StiFunctionType.CountDistinct&&l<=T.StiFunctionType.Last||l>=T.StiFunctionType.rCountDistinct&&l<=T.StiFunctionType.rLast||l>=T.StiFunctionType.cCountDistinct&&l<=T.StiFunctionType.cLast||l>=T.StiFunctionType.crCountDistinct&&l<=T.StiFunctionType.crLast||l>=T.StiFunctionType.pCountDistinct&&l<=T.StiFunctionType.pLast||l>=T.StiFunctionType.prCountDistinct&&l<=T.StiFunctionType.prLast)&&1==s.length||(l==T.StiFunctionType.iCount||l==T.StiFunctionType.riCount||l==T.StiFunctionType.ciCount||l==T.StiFunctionType.criCount||l==T.StiFunctionType.piCount||l==T.StiFunctionType.priCount)&&1==s.length||(l>=T.StiFunctionType.iCountDistinct&&l<=T.StiFunctionType.iLast||l>=T.StiFunctionType.riCountDistinct&&l<=T.StiFunctionType.riLast||l>=T.StiFunctionType.ciCountDistinct&&l<=T.StiFunctionType.ciLast||l>=T.StiFunctionType.criCountDistinct&&l<=T.StiFunctionType.criLast||l>=T.StiFunctionType.piCountDistinct&&l<=T.StiFunctionType.piLast||l>=T.StiFunctionType.priCountDistinct&&l<=T.StiFunctionType.priLast)&&2==s.length)&&(null==(u=this.component.getGroupHeaderBand())&&(u=this.component.getDataBand()),c=[],(p=new E.StiAsmCommand(T.StiAsmCommandType.PushComponent,u)).position=this.expressionPosition+o,c.push(p),s.stimulsoft.insert(0,c)),0<s.length&&0<s[0].length&&s[0][0].type==T.StiAsmCommandType.PushComponent&&null!=s[0][0].parameter1&&s[0][0].parameter1.stimulsoft.is(I.Report.Components.StiGroupHeaderBand)||a||!(l>=T.StiFunctionType.Count&&l<=T.StiFunctionType.Last||l>=T.StiFunctionType.rCount&&l<=T.StiFunctionType.rLast||l>=T.StiFunctionType.iCount&&l<=T.StiFunctionType.iLast||l>=T.StiFunctionType.riCount&&l<=T.StiFunctionType.riLast||l>=T.StiFunctionType.cCount&&l<=T.StiFunctionType.cLast||l>=T.StiFunctionType.crCount&&l<=T.StiFunctionType.crLast||l>=T.StiFunctionType.ciCount&&l<=T.StiFunctionType.ciLast||l>=T.StiFunctionType.criCount&&l<=T.StiFunctionType.criLast||l>=T.StiFunctionType.pCount&&l<=T.StiFunctionType.pLast||l>=T.StiFunctionType.prCount&&l<=T.StiFunctionType.prLast||l>=T.StiFunctionType.piCount&&l<=T.StiFunctionType.piLast||l>=T.StiFunctionType.priCount&&l<=T.StiFunctionType.priLast)||null!=(u=this.component.getGroupHeaderBand())&&((c=[]).push(new E.StiAsmCommand(T.StiAsmCommandType.PushComponent,u)),s[0]=c),(l>=T.StiFunctionType.pCount&&l<=T.StiFunctionType.pLast||l>=T.StiFunctionType.prCount&&l<=T.StiFunctionType.prLast||l>=T.StiFunctionType.piCount&&l<=T.StiFunctionType.piLast||l>=T.StiFunctionType.priCount&&l<=T.StiFunctionType.priLast)&&0<s.length){var l=s[0];if(null!=l&&0<l.length&&l[0].type==T.StiAsmCommandType.PushComponent&&l[0].parameter1.stimulsoft.is(I.Report.Components.StiBand)){var m=l[0].parameter1.name;if(null==this.report.dataBandsUsedInPageTotals)this.report.dataBandsUsedInPageTotals=[],this.report.dataBandsUsedInPageTotals[0]=m;else{var d=!1;try{for(var g=__values(this.report.dataBandsUsedInPageTotals),f=g.next(),S;!f.done;f=g.next()){if(f.value==m){d=!0;break}}}catch(t){e={error:t}}finally{try{f&&!f.done&&(r=g.return)&&r.call(g)}finally{if(e)throw e.error}}if(!d){for(var y=[],A=0;A<this.report.dataBandsUsedInPageTotals.length;A++)y[A]=this.report.dataBandsUsedInPageTotals[A];y[this.report.dataBandsUsedInPageTotals.length]=m,this.report.dataBandsUsedInPageTotals=y}}}}var b=0;E.StiParser_Properties.parametersList.contains(t)&&(b=E.StiParser_Properties.parametersList.get(t));var C=1;try{for(var v=__values(s),w=v.next();!w.done;w=v.next()){var B=w.value;0<(b&C)?this.asmList.push(new E.StiAsmCommand(T.StiAsmCommandType.PushValue,B)):this.asmList.stimulsoft.addRange(B),C<<=1}}catch(t){n={error:t}}finally{try{w&&!w.done&&(i=v.return)&&i.call(v)}finally{if(n)throw n.error}}return s.length},o.prototype.get_args=function(){var t=[];if(this.get_token(),this.currentToken.type!=T.StiTokenType.LParenthesis&&this.throwError(E.ParserErrorCode.LeftParenthesisExpected),this.get_token(),this.currentToken.type==T.StiTokenType.RParenthesis)return t;this.tokenPos--,this.currentToken=this.tokensList[this.tokenPos-1];var e=this.asmList;do{this.asmList=new Array,this.eval_exp0(),t.push(this.asmList)}while(this.currentToken.type==T.StiTokenType.Comma);return this.asmList=e,this.currentToken.type!=T.StiTokenType.RParenthesis&&this.throwError(E.ParserErrorCode.RightParenthesisExpected),t},o.prototype.get_token=function(){this.tokenPos<this.tokensList.length?this.currentToken=this.tokensList[this.tokenPos]:this.currentToken=new E.StiToken,this.tokenPos++},e=o,E.StiParser_Parser=e}(Stimulsoft=Stimulsoft||{}),function(t){var e,t,r,n,i;function o(){this.executeIfStoreToPrint=!0,this.globalizedNameExt=""}t=e=t.Report||(t.Report={}),(n=r=t.Engine||(t.Engine={})).StiParserParameters=o}(Stimulsoft=Stimulsoft||{}),function(b){var t,C,e,v,r;C=t=b.Report||(b.Report={}),v=e=C.Engine||(C.Engine={}),function(o){var m=b.System.Collections.List,l=b.Report.Engine.StiParserParameters,d=b.System.StiString,h=b.Base.StiActivator,g=b.System.Collections.Hashtable,f=b.Report.Components.StiText,e=b.System.DateTime,t,r;function n(t,e,r,n){void 0===n&&(n=null),this.data=null,this.asmList=null,this.asmList2=null,this.conditionAsmList=null,this.parser=null,this.data=t,this.asmList=e,this.parser=r,this.conditionAsmList=n}function i(t,e){this.component=t,this.expression=e}o.StiParserData=n,o.StiFilterParserData=i;var a=(s.prototype.toString=function(){return d.format("TokenType={0}{1}",this.type.stimulsoft.getType().stimulsoft.getNetTypeName(),null!=this.value?d.format(', value="{0}"',this.value):"")},s);function s(t,e,r){void 0===t&&(t=v.StiTokenType.Empty),void 0===e&&(e=-1),void 0===r&&(r=-1),this.type=v.StiTokenType.Empty,this.position=-1,this.length=-1,this.type=t,this.position=e,this.length=r}o.StiToken=a;var S=(c.prototype.toString=function(){return d.format("{0}({1},{2})",b.System.Enum.getName(v.StiAsmCommandType,this.type),null!=this.parameter1?this.parameter1.toString():"null",null!=this.parameter2?this.parameter2.toString():"null")},c),u;function c(t,e,r){void 0===e&&(e=null),void 0===r&&(r=null),this.position=-1,this.length=-1,this.type=t,this.parameter1=e,this.parameter2=r}function p(t,e){this.dataSourceName=t,this.dataColumnName=e}o.StiAsmCommand=S,o.StiParserGetDataFieldValueEventArgs=p;var a=(y=o.StiParser_Parser,__extends(A,y),A.prototype.executeAsm=function(t){var e=t;if(null==e||0==e.length)return null;for(var r=[],n=null,i=0,o=0,a=0;a<e.length;a++){var s=e[a];switch(s.type){case v.StiAsmCommandType.PushValue:r.push(s.parameter1);break;case v.StiAsmCommandType.PushVariable:r.push(this.getVariableValue(s.parameter1));break;case v.StiAsmCommandType.PushSystemVariable:r.push(this.get_systemVariable(s.parameter1));break;case v.StiAsmCommandType.PushComponent:r.push(s.parameter1);break;case v.StiAsmCommandType.CopyToVariable:this.report.setVariable(s.parameter1,r[r.length-1]);break;case v.StiAsmCommandType.PushFunction:n=[];for(var l=0;l<s.parameter2;l++)n.push(r.pop());n.reverse(),r.push(this.call_func(s.parameter1,n));break;case v.StiAsmCommandType.PushMethod:n=[];for(var l=0;l<s.parameter2;l++)n.push(r.pop());n.reverse(),r.push(this.call_method(s.parameter1,n));break;case v.StiAsmCommandType.PushProperty:(n=[]).push(r.pop()),r.push(this.call_property(s.parameter1,n));break;case v.StiAsmCommandType.PushDataSourceField:var u=null,u=s.parameter2 instanceof Array?s.parameter2:s.parameter1.split("."),c,p,h;if((c=this.report.dictionary.dataSources.getByName(u[0])).is(b.Report.Dictionary.StiVirtualSource)&&2<u.length&&!c.columns.contains(u[1])&&(p=u[1]+"."+u[2],c.columns.contains(p)?(u[1]=p,u.stimulsoft.removeAt(2)):3<u.length&&(p+="."+u[3],c.columns.contains(p)&&(u[1]=p,u.stimulsoft.removeAt(2),u.stimulsoft.removeAt(2)))),1<u.length)if(2==u.length){null!=(h=c.columns.getByName(u[1]))&&h.is(b.Report.Dictionary.StiCalcDataColumn)?r.push(A.parseTextValue("{"+h.expression+"}",this.component)):r.push(C.StiReport.changeType(c.getData(u[1]),h.type,this.report.convertNulls))}else{var m=u[1],d=c.getParentData(m),c=c.getParentDataSource(m),g=2,h,p;while(g<u.length-1)m=u[g],d=d.getParentData(m),c=c.getParentDataSource(m),g++;null!=(h=c.columns.getByName(u[g]))&&h.is(b.Report.Dictionary.StiCalcDataColumn)?r.push(A.parseTextValue("{"+h.expression+"}",this.component)):((p=null)!=d&&(p=d.getByColumnName(u[g])),r.push(C.StiReport.changeType(p,h.type,this.report.convertNulls)))}else r.push(c);break;case v.StiAsmCommandType.PushBusinessObjectField:break;case v.StiAsmCommandType.PushArrayElement:n=[];for(var l=0;l<s.parameter1.stimulsoft.toNumber();l++)n.push(r.pop());n.reverse(),r.push(this.call_arrayElement(n));break;case v.StiAsmCommandType.Jump:a+=s.parameter1.stimulsoft.toNumber();break;case v.StiAsmCommandType.JumpTrue:r.pop()&&(a+=s.parameter1.stimulsoft.toNumber());break;case v.StiAsmCommandType.JumpFalse:r.pop()||(a+=s.parameter1.stimulsoft.toNumber());break;case v.StiAsmCommandType.Add:o=r.pop(),i=r.pop(),r.push(this.op_Add(i,o));break;case v.StiAsmCommandType.Sub:o=r.pop(),i=r.pop(),r.push(this.op_Sub(i,o));break;case v.StiAsmCommandType.Mult:o=r.pop(),i=r.pop(),r.push(this.op_Mult(i,o));break;case v.StiAsmCommandType.Div:o=r.pop(),i=r.pop(),r.push(this.op_Div(i,o));break;case v.StiAsmCommandType.Mod:o=r.pop(),i=r.pop(),r.push(this.op_Mod(i,o));break;case v.StiAsmCommandType.Power:o=r.pop(),i=r.pop(),r.push(this.op_Pow(i,o));break;case v.StiAsmCommandType.Neg:i=r.pop(),r.push(this.op_Neg(i));break;case v.StiAsmCommandType.Cast:i=r.pop(),o=s.parameter1,r.push(this.op_Cast(i,o));break;case v.StiAsmCommandType.Not:i=r.pop(),r.push(this.op_Not(i));break;case v.StiAsmCommandType.CompareLeft:o=r.pop(),i=r.pop(),r.push(this.op_CompareLeft(i,o));break;case v.StiAsmCommandType.CompareLeftEqual:o=r.pop(),i=r.pop(),r.push(this.op_CompareLeftEqual(i,o));break;case v.StiAsmCommandType.CompareRight:o=r.pop(),i=r.pop(),r.push(this.op_CompareRight(i,o));break;case v.StiAsmCommandType.CompareRightEqual:o=r.pop(),i=r.pop(),r.push(this.op_CompareRightEqual(i,o));break;case v.StiAsmCommandType.CompareEqual:o=r.pop(),i=r.pop(),r.push(this.op_CompareEqual(i,o));break;case v.StiAsmCommandType.CompareNotEqual:o=r.pop(),i=r.pop(),r.push(this.op_CompareNotEqual(i,o));break;case v.StiAsmCommandType.Shl:o=r.pop(),i=r.pop(),r.push(this.op_Shl(i,o));break;case v.StiAsmCommandType.Shr:o=r.pop(),i=r.pop(),r.push(this.op_Shr(i,o));break;case v.StiAsmCommandType.And:o=r.pop(),i=r.pop(),r.push(this.op_And(i,o));break;case v.StiAsmCommandType.Or:o=r.pop(),i=r.pop(),r.push(this.op_Or(i,o));break;case v.StiAsmCommandType.Xor:o=r.pop(),i=r.pop(),r.push(this.op_Xor(i,o));break;case v.StiAsmCommandType.And2:o=r.pop(),i=r.pop(),r.push(this.op_And2(i,o));break;case v.StiAsmCommandType.Or2:o=r.pop(),i=r.pop(),r.push(this.op_Or2(i,o));break}}return r.pop()},A.prototype.getVariableValue=function(t){if(null!=this.runtimeConstants&&0<this.runtimeConstants.count&&this.runtimeConstantsHash.containsKey(t))return this.runtimeConstantsHash.get(t);var e=null==this.report.compiledReport?this.report:this.report.compiledReport,r=e.dictionary.variables.getByName(t);if(null!=r&&r.readOnly&&r.initBy==b.Report.Dictionary.StiVariableInitBy.Expression){var n=new f;return n.name="**ReportVariables**",n.page=this.report.pages.getByIndex(0),this.op_Cast(A.parseTextValue("{"+r.value+"}",n),r.type)}if(null!=e.variables&&e.variables.containsKey(t))return e.variables.get(t);if(null!=r){if(r.initBy==b.Report.Dictionary.StiVariableInitBy.Expression)return this.op_Cast(A.prepareVariableValue(r,e),r.type);return r.valueObject}return null},A.prototype.call_arrayElement=function(t){var e=t[0],r;if(t.length<2&&this.throwError(o.ParserErrorCode.NoOverloadForMethodTakesNArguments,null,"get_ArrayElement",(t.length-1).toString()),"string"==typeof e)return 2!=t.length&&this.throwError(o.ParserErrorCode.NoOverloadForMethodTakesNArguments,null,"string.get_Item",(t.length-1).toString()),e[r=t[1].stimulsoft.toNumber()];if(e.stimulsoft.is(C.StiReport)){var n=t[1].toString();return e.getVariable(n)}if(e.stimulsoft.is(b.Report.Dictionary.StiDataSource)){var n=t[1].toString();return e.getData(n)}if(e instanceof Array){for(var i=[],r=0;r<t.length-1;r++)i.push(e[t[r+1].stimulsoft.toNumber()]);return i}return null},A.prototype.get_systemVariable=function(t){switch(t){case v.StiSystemVariableType.Column:return this.report.column;case v.StiSystemVariableType.Line:return this.report.line;case v.StiSystemVariableType.LineThrough:return this.report.lineThrough;case v.StiSystemVariableType.LineABC:return this.report.lineABC;case v.StiSystemVariableType.LineRoman:return this.report.lineRoman;case v.StiSystemVariableType.GroupLine:return this.report.groupLine;case v.StiSystemVariableType.PageNumber:return this.report.pageNumber;case v.StiSystemVariableType.PageNumberThrough:return this.report.pageNumberThrough;case v.StiSystemVariableType.PageNofM:return this.report.pageNofM;case v.StiSystemVariableType.PageNofMThrough:return this.report.pageNofMThrough;case v.StiSystemVariableType.TotalPageCount:return this.report.totalPageCount;case v.StiSystemVariableType.TotalPageCountThrough:return this.report.totalPageCountThrough;case v.StiSystemVariableType.IsFirstPage:return this.report.isFirstPage;case v.StiSystemVariableType.IsFirstPageThrough:return this.report.isFirstPageThrough;case v.StiSystemVariableType.IsLastPage:return this.report.isLastPage;case v.StiSystemVariableType.IsLastPageThrough:return this.report.isLastPageThrough;case v.StiSystemVariableType.PageCopyNumber:return this.report.pageCopyNumber;case v.StiSystemVariableType.ReportAlias:return this.report.reportAlias;case v.StiSystemVariableType.ReportAuthor:return this.report.reportAuthor;case v.StiSystemVariableType.ReportChanged:return this.report.reportChanged;case v.StiSystemVariableType.ReportCreated:return this.report.reportCreated;case v.StiSystemVariableType.ReportDescription:return this.report.reportDescription;case v.StiSystemVariableType.ReportName:return this.report.reportName;case v.StiSystemVariableType.Time:return this.report.time;case v.StiSystemVariableType.Today:return this.report.today;case v.StiSystemVariableType.ConditionValue:return"number"==typeof this.report.engine.lastInvokeTextProcessValueEventArgsValue?this.report.engine.lastInvokeTextProcessValueEventArgsValue:0;case v.StiSystemVariableType.ConditionValue2:return this.report.engine.lastInvokeTextProcessValueEventArgsValue;case v.StiSystemVariableType.ConditionTag:return this.component.is(f)?this.component.tagValue:null;case v.StiSystemVariableType.Sender:return this.sender;case v.StiSystemVariableType.DateTimeNow:return e.now;case v.StiSystemVariableType.DateTimeToday:return e.today}return null},A.parseTextValue2=function(t,e,r,n){if(void 0===r&&(r=e),void 0===n&&(n=null),d.isNullOrEmpty(t))return null;null==n.parser&&(n.parser=new A),n.parser.report=e.report,n.parser.component=e,n.parser.sender=r,n.parser.runtimeConstants=n.constants,null!=n.constants&&n.parser.createRuntimeConstantsHash();var i=null,o=t+e.name+n.globalizedNameExt,a=n.conversionStore,r,a;if(null==a&&(a=null!=(r=e.report.engine)?(null==r.parserConversionStore&&(r.parserConversionStore=new g),r.parserConversionStore):new g),a.contains(o)&&(i=a.get(o)),null==i){try{}catch(t){}if(e.is(f)&&e.onlyText)(i=new m).add(new S(v.StiAsmCommandType.PushValue,t));else try{i=new m;var s=0,l=0;while(l<t.length){var u=l;while(l<t.length&&"{"!=t[l])l++;if(l!=u&&(1==s&&i.add(new S(v.StiAsmCommandType.Cast,b.System.TypeCode.String)),i.add(new S(v.StiAsmCommandType.PushValue,t.substr(u,l-u))),1<++s&&i.add(new S(v.StiAsmCommandType.Add))),l<t.length&&"{"==t[l]){u=++l;var c=!1;while(l<t.length){if('"'==t[l]){var p=++l;while(p<t.length){if('"'==t[p])break;"\\"==t[p]&&p++,p++}l=p+1;continue}if("}"==t[l]){var h=t.substr(u,l-u);null!=h&&0<h.length&&(n.parser.expressionPosition=u,i.addRange(n.parser.parseToAsm(h)),1<++s&&(i.add(new S(v.StiAsmCommandType.Cast,b.System.TypeCode.String)),i.add(new S(v.StiAsmCommandType.Add)))),c=!0,l++;break}l++}c||(n.parser.expressionPosition=u,i.add(new S(v.StiAsmCommandType.PushValue,t.substr(u))),1<++s&&i.add(new S(v.StiAsmCommandType.Add)))}}}catch(t){throw b.System.StiError.showError(t,!1),a.set(o,new m),t}a.set(o,i)}if(n.returnAsmList)return i;if(0<i.length){if(n.storeToPrint=A.checkForStoreToPrint(i),n.storeToPrint&&!n.executeIfStoreToPrint)return t;return n.parser.executeAsm(i)}return null},A.parseTextValue=function(t,e,r,n,i,o,a){void 0===r&&(r=null),void 0===n&&(n={ref:!1}),void 0===i&&(i=!0),void 0===o&&(o=!1),void 0===a&&(a=null);var s=new l;s.storeToPrint=n.ref,s.executeIfStoreToPrint=i,s.returnAsmList=o,s.parser=a;var r=this.parseTextValue2(t,e,r,s);return n.ref=s.storeToPrint,r},A.prototype.parseToAsm=function(t){return this.inputExpression=t,this.makeTokensList(),this.asmList=new Array,this.eval_exp(),this.asmList},A.checkForStoreToPrint=function(t){var e,r,n=!1,i=t;if(null!=i)try{for(var o=__values(i),a=o.next();!a.done;a=o.next()){var s=a.value,l,l;if(s.type==v.StiAsmCommandType.PushSystemVariable)if((l=s.parameter1)==v.StiSystemVariableType.PageNumber||l==v.StiSystemVariableType.PageNumberThrough||l==v.StiSystemVariableType.TotalPageCount||l==v.StiSystemVariableType.TotalPageCountThrough||l==v.StiSystemVariableType.PageNofM||l==v.StiSystemVariableType.PageNofMThrough||l==v.StiSystemVariableType.IsFirstPage||l==v.StiSystemVariableType.IsFirstPageThrough||l==v.StiSystemVariableType.IsLastPage||l==v.StiSystemVariableType.IsLastPageThrough){n=!0;break}if(s.type==v.StiAsmCommandType.PushFunction)if((l=s.parameter1)>=v.StiFunctionType.pCount&&l<=v.StiFunctionType.pLast||l>=v.StiFunctionType.prCount&&l<=v.StiFunctionType.prLast||l>=v.StiFunctionType.piCount&&l<=v.StiFunctionType.piLast||l>=v.StiFunctionType.priCount&&l<=v.StiFunctionType.priLast||l==v.StiFunctionType.GetAnchorPageNumber||l==v.StiFunctionType.GetAnchorPageNumberThrough){n=!0;break}}}catch(t){e={error:t}}finally{try{a&&!a.done&&(r=o.return)&&r.call(o)}finally{if(e)throw e.error}}return n},A.checkExpression=function(t,e){try{var r=new A,n,i,o=A.parseTextValue(t,e,e,{ref:!1},!1,!0,r),a;null!=o&&r.checkTypes(o)}catch(t){return t}return null},A.checkForDataBandsUsedInPageTotals=function(e){try{var t=e.report,r,n={ref:!1},i=A.parseTextValue(e.text,e,null,n,!1,!0)}catch(t){var o=d.format("Expression in Text property of '{0}' can't be evaluated! {1}",e.name,t);b.System.StiError.showError(o,!1),e.report.writeToReportRenderingMessages(o)}},A.prepareReportVariables=function(t){var e,r;if(t.variables=new g,t.calculationMode==C.StiCalculationMode.Compilation)return;var n=new f;n.name="**ReportVariables**",n.page=t.pages.getByIndex(0);try{for(var i=__values(t.dictionary.variables.list),o=i.next();!o.done;o=i.next()){var a=o.value;try{this.prepareVariableValue(a,t,n)}catch(t){}}}catch(t){e={error:t}}finally{try{o&&!o.done&&(r=i.return)&&r.call(i)}finally{if(e)throw e.error}}t.modifiedVariables.clear()},A.prepareVariableValue=function(t,e,r,n){var i,o;void 0===r&&(r=null),void 0===n&&(n=!1),null==r&&((r=new f).name="**ReportVariables**",r.page=e.pages.getByIndex(0));var a=null;n&&(a=new g);var s=null,l,l;if(b.System.TypeHelper.isValueType(t.type)?s=t.initBy==b.Report.Dictionary.StiVariableInitBy.Value?t.valueObject:this.getExpressionValue("{"+t.value+"}",r,a,e):(s=h.createObject(t.type),l={ref:b.Report.Dictionary.StiTypeMode.Value},b.Report.Dictionary.StiType.getTypeModeFromType(t.type,l),(l=l.ref)==b.Report.Dictionary.StiTypeMode.Range?t.initBy==b.Report.Dictionary.StiVariableInitBy.Value?(t.valueObject["fromObject"]?s.fromObject=t.valueObject["fromObject"]:t.valueObject["from"]?s.fromObject=t.valueObject["from"]:t.valueObject["fromDate"]?s.fromObject=t.valueObject["fromDate"]:t.valueObject["fromTime"]&&(s.fromObject=t.valueObject["fromTime"]),t.valueObject["toObject"]?s.toObject=t.valueObject["toObject"]:t.valueObject["to"]?s.toObject=t.valueObject["to"]:t.valueObject["toDate"]?s.toObject=t.valueObject["toDate"]:t.valueObject["toTime"]&&(s.toObject=t.valueObject["toTime"])):(s.fromObject=this.getExpressionValue("{"+t.initByExpressionFrom+"}",r,a,e),s.toObject=this.getExpressionValue("{"+t.initByExpressionTo+"}",r,a,e)):l==b.Report.Dictionary.StiTypeMode.List&&(s=(s=e.getVariable(t.name,!0))||[]),n&&v.StiVariableHelper.fillItemsOfVariables2(t,e,{ref:!1})),n)try{for(var u=__values(a.keys),c=u.next();!c.done;c=u.next()){var p=c.value,p=e.dictionary.dataSources.getByName(p);b.Report.Dictionary.StiDataLeader.disconnect(p)}}catch(t){i={error:t}}finally{try{c&&!c.done&&(o=u.return)&&o.call(u)}finally{if(i)throw i.error}}return e.setVariable(t.name,s,!0),s},A.getExpressionValue=function(t,e,r,n){var i,o;if(null!=r){var a=new g;b.Report.Dictionary.StiDataSourceHelper.checkExpression(t,e,a);try{for(var s=__values(a.keys),l=s.next();!l.done;l=s.next()){var u=l.value,c,u;null==r.get(u)&&(r.set(u,!0),u=n.dictionary.dataSources.getByName(u),b.Report.Dictionary.StiDataLeader.connect(u,null,!1))}}catch(t){i={error:t}}finally{try{l&&!l.done&&(o=s.return)&&o.call(s)}finally{if(i)throw i.error}}}return A.parseTextValue(t,e)},A),y;function A(){var t=null!==y&&y.apply(this,arguments)||this;return t.sender=null,t}o.StiParser=a}(r=v.StiParser||(v.StiParser={}))}(Stimulsoft=Stimulsoft||{}),function(g){var t,e,r,n,a,i,f,S,o,y,s;function l(){}e=t=g.Report||(g.Report={}),n=r=e.Dashboard||(e.Dashboard={}),a=g.Report.Engine.StiParserParameters,i=g.System.StiString,f=g.Report.Engine.StiAsmCommandType,S=g.Report.Engine.StiParser.StiParserGetDataFieldValueEventArgs,o=g.Data.Engine.StiDataPicker,y=g.Report.Engine.StiParser.StiParser,s=g.Base.StiAppKey,e=g.System.Collections.Dictionary,l.parse=function(t,e,r,n,i,o){if(void 0===r&&(r=!0),void 0===n&&(n=null),void 0===i&&(i=!0),void 0===o&&(o=!1),o&&null!=t&&((t=t.trim()).stimulsoft.contains("{")||(t="{"+t),t.stimulsoft.contains("}")||(t+="}")),null!=t&&!t.stimulsoft.contains("{"))return t;var o=this.getFromWrongCache(t,e);if(null!=o)return o;if(null!=(o=r&&null!=n?this.getFromCache(t,e):null))return o;if((o=this.parseOrDefault(t,e,n,i))==t&&null!=t&&t.stimulsoft.contains("{"))return this.addToWrongCache(t,o,e),o;return r&&null!=n&&this.addToCache(t,o,e),o},l.parseAsync=function(r,n,i){return void 0===i&&(i=!0),__awaiter(this,void 0,void 0,function(){var e,e;return __generator(this,function(t){switch(t.label){case 0:if(null!=r&&!r.stimulsoft.contains("{"))return[2,r];if(null!=(e=i?this.getFromCache(r,n):null))return[2,e];return[4,this.parseOrDefaultAsync(r,n)];case 1:return e=t.sent(),i&&this.addToCache(r,e,n),[2,e]}})})},l.parseOrDefault=function(t,e,r,n){void 0===r&&(r=null),void 0===n&&(n=!0);var i={ref:null};return this.tryParse(t,i,e,r,n)?i.ref:t},l.parseOrDefaultAsync=function(n,i){return __awaiter(this,void 0,void 0,function(){var e,r;return __generator(this,function(t){switch(t.label){case 0:return e={ref:null},[4,this.tryParseAsync(n,e,i)];case 1:return[2,1==(r=t.sent())?e.ref:n]}})})},l.tryParse=function(t,e,r,n,i){void 0===n&&(n=null),void 0===i&&(i=!0);try{if(null==t||!t.stimulsoft.contains("{"))return e.ref=t,!0;var o=new a;o.syntaxCaseSensitive=!1,o.constants=n;var o=g.Report.Engine.StiParser.StiParser.parseTextValue2(t,r,r,o);return e.ref=null!=o?o.toString():"",!0}catch(t){return!(e.ref="")}},l.tryParseAsync=function(p,h,m,t,d){return void 0===t&&(t=null),void 0===d&&(d=!0),__awaiter(this,void 0,void 0,function(){var e,r,n,i,o,a,s,s,l,r,u,l,c;return __generator(this,function(t){switch(t.label){case 0:if(t.trys.push([0,10,,11]),null==p||!p.stimulsoft.contains("{"))return h.ref=p,[2,!0];if(e=new y,r=g.Report.Engine.StiParser.StiParser.parseTextValue(p,m,null,{ref:!1},!0,!0,e),!d)return[3,9];if(!(r&&0<r.length))return[3,9];t.label=1;case 1:t.trys.push([1,7,8,9]),n=__values(r),i=n.next(),t.label=2;case 2:if(i.done)return[3,6];switch(o=i.value,a=o.type){case f.PushDataSourceField:return[3,3]}return[3,5];case 3:return s=null,s=o.parameter2 instanceof Array?o.parameter2:o.parameter1.split("."),(s=new S(s[0],s[1])).asmCommand=o,[4,this.getDataFieldValueProcessorAsync(m.report,s)];case 4:t.sent(),s.asmCommand.type=f.PushValue,s.asmCommand.parameter1=s.value,t.label=5;case 5:return i=n.next(),[3,2];case 6:return[3,9];case 7:return l=t.sent(),l={error:l},[3,9];case 8:try{i&&!i.done&&(c=n.return)&&c.call(n)}finally{if(l)throw l.error}return[7];case 9:return r=e.executeAsm(r),h.ref=null!=r?r.toString():"",[2,!0];case 10:return u=t.sent(),[2,!(h.ref="")];case 11:return[2]}})})},l.getDataFieldValueProcessorAsync=function(n,i){return __awaiter(this,void 0,void 0,function(){var t,e,r,e;return __generator(this,function(t){switch(t.label){case 0:return[4,o.fetch2(n,i.dataSourceName)];case 1:if(null==(e=t.sent()))return[2];if(r=i.dataSourceName+"."+i.dataColumnName,null==(e=e.rows.toList().cast().firstOrDefault()))return[2];return i.value=e.gett(r),i.processed=!0,[2]}})})},l.getCacheKey=function(t,e){var e=s.getOrGeneratedKey(e),r;return null==e&&(e=""),e+"."+(null!=t?t:"")},l.addToCache=function(t,e,r){null==e&&(e="");var r=this.getCacheKey(t,r);this.cache.set(r,e)},l.addToWrongCache=function(t,e,r){null==e&&(e="");var r=this.getCacheKey(t,r);this.wrongCache.set(r,e)},l.getFromCache=function(t,e){if(i.isNullOrEmpty(t))return"";if(i.isNullOrWhiteSpace(t))return t;var e=this.getCacheKey(t,e);return this.cache.contains(e)?this.cache.get(e):null},l.getFromWrongCache=function(t,e){if(i.isNullOrEmpty(t))return"";if(i.isNullOrWhiteSpace(t))return t;var e=this.getCacheKey(t,e);return this.wrongCache.contains(e)?this.wrongCache.get(e):null},l.cleanCache=function(e){var r=this;null==e?this.cache.clear():this.cache.keys.toList().where(function(t){return t.stimulsoft.startsWith(e)}).forEach(function(t){return r.cache.remove(t)}),null==e?this.wrongCache.clear():this.wrongCache.keys.toList().where(function(t){return t.stimulsoft.startsWith(e)}).forEach(function(t){return r.wrongCache.remove(t)})},l.cache=new e,l.wrongCache=new e,e=l,n.StiReportParser=e}(Stimulsoft=Stimulsoft||{}),function(t){var e,r,n,i,o,a,s,l,u,c,p,h,m,d,g,f,S;function y(){}r=e=t.Report||(t.Report={}),i=n=r.Dashboard||(r.Dashboard={}),o=t.Base.Helpers.StiOnlineMapRepaintHelper,a=t.Base.IStiAppDictionary,s=t.Base.IStiApp,l=t.Report.Dashboard.Helpers.StiDashboardImageHyperlinkCache,u=t.Report.Dashboard.StiPivotToConvertedStateCache,c=t.Report.Dashboard.StiPivotTableToCrossTabCache,p=t.Report.Dashboard.StiPivotToContainerCache,h=t.Report.Dashboard.StiReportParser,m=t.Data.Engine.StiDataActionOperator,d=t.Data.Engine.StiDataSorter,g=t.Data.Engine.StiDataFiltrator,f=t.Data.Engine.StiDataJoiner,S=t.Data.Engine.StiDataPicker,y.clean=function(t){if(void 0===t&&(t=null),null!=t){if(t.stimulsoft.is2(i.IStiElement))return this.clean1(t);if(t.stimulsoft.is2(a))return this.clean2(t);if(t.stimulsoft.is2(s))return this.clean3(t)}else this.clean4(t)},y.clean1=function(t){this.clean4(t.getApp().getKey())},y.clean2=function(t){this.clean4(t.getApp().getKey())},y.clean3=function(t){this.clean4(t.getKey())},y.clean4=function(t){void 0===t&&(t=null),i.StiElementDataCache.cleanCache(t),S.cleanCache(t),f.cleanCache(t),g.cleanCache(t),d.cleanCache(t),m.cleanCache(t),h.cleanCache(t),o.clean(t),p.clean(t),c.clean(t),u.clean(t),l.clean(t)},r=y,i.StiCacheCleaner=r}(Stimulsoft=Stimulsoft||{}),function(t){var e,r,n,i;function o(){}r=e=t.Report||(t.Report={}),i=n=r.Dashboard||(r.Dashboard={}),Object.defineProperty(o,"isAssemblyLoaded",{get:function(){return null!=t["Dashboard"]},enumerable:!1,configurable:!0}),r=o,i.StiDashboardAssembly=r}(Stimulsoft=Stimulsoft||{}),function(r){var t,e,n,i,o,a,s,l,u,c;function p(){}e=t=r.Report||(r.Report={}),i=n=e.Dashboard||(e.Dashboard={}),o=r.System.StiError,a=r.Base.StiDashboardNotSupportedException,s=r.Report.Components.StiComponent,l=r.System.Activator,u=r.Report.Dashboard.IStiDashboard,c=r.Base.StiActivator,p.createDashboard=function(t){if(!i.StiDashboardAssembly.isAssemblyLoaded){var e=new a;return o.showError(e,!0),null}var e=StiOptions.Services.components.toList().firstOrDefault(function(t){return t==r["Dashboard"].Components.StiDashboard}),e=l.createInstance(e).stimulsoft.as(s);return null!=e&&(e.report=t),e.as(u)},p.createDashboardElement=function(t){var e=null;switch(t){case"StiTableElement":case"Stimulsoft.Dashboard.Components.Table.StiTableElement":e=c.createObject2("Stimulsoft.Dashboard.Components.Table.StiTableElement");break;case"StiChartElement":case"Stimulsoft.Dashboard.Components.Chart.StiChartElement":e=c.createObject2("Stimulsoft.Dashboard.Components.Chart.StiChartElement");break;case"StiGaugeElement":case"Stimulsoft.Dashboard.Components.Gauge.StiGaugeElement":e=c.createObject2("Stimulsoft.Dashboard.Components.Gauge.StiGaugeElement");break;case"StiPivotTableElement":case"Stimulsoft.Dashboard.Components.PivotTable.StiPivotTableElement":e=c.createObject2("Stimulsoft.Dashboard.Components.PivotTable.StiPivotTableElement");break;case"StiIndicatorElement":case"Stimulsoft.Dashboard.Components.Indicator.StiIndicatorElement":e=c.createObject2("Stimulsoft.Dashboard.Components.Indicator.StiIndicatorElement");break;case"StiProgressElement":case"Stimulsoft.Dashboard.Components.Progress.StiProgressElement":e=c.createObject2("Stimulsoft.Dashboard.Components.Progress.StiProgressElement");break;case"StiRegionMapElement":case"Stimulsoft.Dashboard.Components.RegionMap.StiRegionMapElement":e=c.createObject2("Stimulsoft.Dashboard.Components.RegionMap.StiRegionMapElement");break;case"StiOnlineMapElement":case"Stimulsoft.Dashboard.Components.OnlineMap.StiOnlineMapElement":e=c.createObject2("Stimulsoft.Dashboard.Components.OnlineMap.StiOnlineMapElement");break;case"StiImageElement":case"Stimulsoft.Dashboard.Components.Image.StiImageElement":e=c.createObject2("Stimulsoft.Dashboard.Components.Image.StiImageElement");break;case"StiTextElement":case"Stimulsoft.Dashboard.Components.Text.StiTextElement":e=c.createObject2("Stimulsoft.Dashboard.Components.Text.StiTextElement");break;case"StiPanelElement":case"Stimulsoft.Dashboard.Components.Panel.StiPanelElement":e=c.createObject2("Stimulsoft.Dashboard.Components.Panel.StiPanelElement");break;case"StiShapeElement":case"Stimulsoft.Dashboard.Components.Shape.StiShapeElement":e=c.createObject2("Stimulsoft.Dashboard.Components.Shape.StiShapeElement");break;case"StiListBoxElement":case"Stimulsoft.Dashboard.Components.ListBox.StiListBoxElement":e=c.createObject2("Stimulsoft.Dashboard.Components.ListBox.StiListBoxElement");break;case"StiComboBoxElement":case"Stimulsoft.Dashboard.Components.ComboBox.StiComboBoxElement":e=c.createObject2("Stimulsoft.Dashboard.Components.ComboBox.StiComboBoxElement");break;case"StiTreeViewElement":case"Stimulsoft.Dashboard.Components.TreeView.StiTreeViewElement":e=c.createObject2("Stimulsoft.Dashboard.Components.TreeView.StiTreeViewElement");break;case"StiTreeViewBoxElement":case"Stimulsoft.Dashboard.Components.TreeViewBox.StiTreeViewBoxElement":e=c.createObject2("Stimulsoft.Dashboard.Components.TreeViewBox.StiTreeViewBoxElement");break;case"StiDatePickerElement":case"Stimulsoft.Dashboard.Components.DatePicker.StiDatePickerElement":e=c.createObject2("Stimulsoft.Dashboard.Components.DatePicker.StiDatePickerElement");break}return e},e=p,i.StiDashboardCreator=e}(Stimulsoft=Stimulsoft||{}),function(t){var e,r,n,i,o;function a(){}r=e=t.Report||(t.Report={}),i=n=r.Dashboard||(r.Dashboard={}),o=t.Base.StiActivator,a.getHtmlTextHelper=function(){try{return o.createObject2("Stimulsoft.Dashboard.Design.Helpers.StiHtmlTextHelper")}catch(t){}return null},r=a,i.StiDashboardDesignAssembly=r}(Stimulsoft=Stimulsoft||{}),function(t){var e,r,n,t,i,o,a,s,l,u,c,p,h,m,d,g,f,S,y,A,b,C,v,w,B,I,T,E,R,D,P,x,F;r=e=t.Report||(t.Report={}),t=n=r.Export||(r.Export={}),(r=i=t.StiTiffCompressionScheme||(t.StiTiffCompressionScheme={}))[r["Default"]=20]="Default",r[r["LZW"]=2]="LZW",r[r["CCITT3"]=3]="CCITT3",r[r["CCITT4"]=4]="CCITT4",r[r["Rle"]=5]="Rle",r[r["None"]=6]="None",(r=o=t.StiHtmlExportMode||(t.StiHtmlExportMode={}))[r["Span"]=1]="Span",r[r["Div"]=2]="Div",r[r["Table"]=3]="Table",(r=a=t.StiHtmlExportQuality||(t.StiHtmlExportQuality={}))[r["High"]=1]="High",r[r["Low"]=2]="Low",(r=s=t.StiUserAccessPrivileges||(t.StiUserAccessPrivileges={}))[r["None"]=0]="None",r[r["PrintDocument"]=1]="PrintDocument",r[r["ModifyContents"]=2]="ModifyContents",r[r["CopyTextAndGraphics"]=4]="CopyTextAndGraphics",r[r["AddOrModifyTextAnnotations"]=8]="AddOrModifyTextAnnotations",r[r["All"]=15]="All",(r=l=t.StiPdfEncryptionKeyLength||(t.StiPdfEncryptionKeyLength={}))[r["Bit40"]=1]="Bit40",r[r["Bit128"]=2]="Bit128",r[r["Bit128_r4"]=3]="Bit128_r4",r[r["Bit256_r5"]=4]="Bit256_r5",r[r["Bit256_r6"]=5]="Bit256_r6",(r=u=t.StiPdfImageCompressionMethod||(t.StiPdfImageCompressionMethod={}))[r["Jpeg"]=1]="Jpeg",r[r["Flate"]=2]="Flate",r[r["Indexed"]=3]="Indexed",(r=c=t.StiPdfAutoPrintMode||(t.StiPdfAutoPrintMode={}))[r["None"]=1]="None",r[r["Dialog"]=2]="Dialog",r[r["Silent"]=3]="Silent",(r=p=t.StiTxtBorderType||(t.StiTxtBorderType={}))[r["Simple"]=1]="Simple",r[r["UnicodeSingle"]=2]="UnicodeSingle",r[r["UnicodeDouble"]=3]="UnicodeDouble",(r=h=t.StiPcxPaletteType||(t.StiPcxPaletteType={}))[r["Monochrome"]=1]="Monochrome",r[r["Color"]=2]="Color",(r=m=t.StiMonochromeDitheringType||(t.StiMonochromeDitheringType={}))[r["None"]=1]="None",r[r["FloydSteinberg"]=2]="FloydSteinberg",r[r["Ordered"]=3]="Ordered",(r=d=t.StiImageType||(t.StiImageType={}))[r["Bmp"]=1]="Bmp",r[r["Gif"]=2]="Gif",r[r["Jpeg"]=3]="Jpeg",r[r["Pcx"]=4]="Pcx",r[r["Png"]=5]="Png",r[r["Tiff"]=6]="Tiff",r[r["Emf"]=7]="Emf",r[r["Svg"]=8]="Svg",r[r["Svgz"]=9]="Svgz",(r=g=t.StiHtmlType||(t.StiHtmlType={}))[r["Html"]=1]="Html",r[r["Html5"]=2]="Html5",r[r["Mht"]=3]="Mht",(r=f=t.StiHtmlChartType||(t.StiHtmlChartType={}))[r["Image"]=1]="Image",r[r["Vector"]=2]="Vector",r[r["AnimatedVector"]=3]="AnimatedVector",(r=S=t.StiExcelType||(t.StiExcelType={}))[r["ExcelBinary"]=1]="ExcelBinary",r[r["ExcelXml"]=2]="ExcelXml",r[r["Excel2007"]=3]="Excel2007",(r=y=t.StiDataType||(t.StiDataType={}))[r["Csv"]=1]="Csv",r[r["Dbf"]=2]="Dbf",r[r["Dif"]=3]="Dif",r[r["Sylk"]=4]="Sylk",r[r["Xml"]=5]="Xml",r[r["Json"]=6]="Json",(r=A=t.StiExportPosition||(t.StiExportPosition={}))[r["Pdf"]=0]="Pdf",r[r["Xps"]=1]="Xps",r[r["Ppt2007"]=2]="Ppt2007",r[r["Html"]=10]="Html",r[r["Html5"]=11]="Html5",r[r["Mht"]=12]="Mht",r[r["Txt"]=20]="Txt",r[r["Rtf"]=21]="Rtf",r[r["Word2007"]=22]="Word2007",r[r["Odt"]=23]="Odt",r[r["Excel"]=30]="Excel",r[r["ExcelXml"]=31]="ExcelXml",r[r["Excel2007"]=32]="Excel2007",r[r["Ods"]=33]="Ods",r[r["Data"]=40]="Data",r[r["Dbf"]=41]="Dbf",r[r["Xml"]=42]="Xml",r[r["Dif"]=43]="Dif",r[r["Sylk"]=44]="Sylk",r[r["Image"]=50]="Image",r[r["Bmp"]=50]="Bmp",r[r["Gif"]=51]="Gif",r[r["Jpeg"]=52]="Jpeg",r[r["Pcx"]=53]="Pcx",r[r["Png"]=54]="Png",r[r["Tiff"]=55]="Tiff",r[r["Emf"]=60]="Emf",r[r["Svg"]=61]="Svg",r[r["Svgz"]=62]="Svgz",(r=b=t.StiHtmlExportBookmarksMode||(t.StiHtmlExportBookmarksMode={}))[r["BookmarksOnly"]=1]="BookmarksOnly",r[r["ReportOnly"]=2]="ReportOnly",r[r["All"]=3]="All",(r=C=t.StiDbfCodePages||(t.StiDbfCodePages={}))[r["Default"]=0]="Default",r[r["USDOS"]=437]="USDOS",r[r["MazoviaDOS"]=620]="MazoviaDOS",r[r["GreekDOS"]=737]="GreekDOS",r[r["InternationalDOS"]=850]="InternationalDOS",r[r["EasternEuropeanDOS"]=852]="EasternEuropeanDOS",r[r["IcelandicDOS"]=861]="IcelandicDOS",r[r["NordicDOS"]=865]="NordicDOS",r[r["RussianDOS"]=866]="RussianDOS",r[r["KamenickyDOS"]=895]="KamenickyDOS",r[r["TurkishDOS"]=857]="TurkishDOS",r[r["EasternEuropeanWindows"]=1250]="EasternEuropeanWindows",r[r["RussianWindows"]=1251]="RussianWindows",r[r["WindowsANSI"]=1252]="WindowsANSI",r[r["GreekWindows"]=1253]="GreekWindows",r[r["TurkishWindows"]=1254]="TurkishWindows",r[r["StandardMacintosh"]=1e4]="StandardMacintosh",r[r["GreekMacintosh"]=10006]="GreekMacintosh",r[r["RussianMacintosh"]=10007]="RussianMacintosh",r[r["EasternEuropeanMacintosh"]=10029]="EasternEuropeanMacintosh",(r=v=t.StiExportDataType||(t.StiExportDataType={}))[r["String"]=0]="String",r[r["Int"]=1]="Int",r[r["Long"]=2]="Long",r[r["Float"]=3]="Float",r[r["Double"]=4]="Double",r[r["Date"]=5]="Date",r[r["Bool"]=6]="Bool",(r=w=t.StiImageFormat||(t.StiImageFormat={}))[r["Color"]=1]="Color",r[r["Grayscale"]=2]="Grayscale",r[r["Monochrome"]=3]="Monochrome",(r=B=t.StiRtfExportMode||(t.StiRtfExportMode={}))[r["Table"]=4]="Table",r[r["Frame"]=1]="Frame",r[r["WinWord"]=2]="WinWord",r[r["TabbedText"]=3]="TabbedText",(r=I=t.StiDataExportMode||(t.StiDataExportMode={}))[r["Data"]=1]="Data",r[r["Headers"]=2]="Headers",r[r["DataAndHeaders"]=3]="DataAndHeaders",r[r["Footers"]=4]="Footers",r[r["HeadersFooters"]=6]="HeadersFooters",r[r["DataAndHeadersFooters"]=7]="DataAndHeadersFooters",r[r["AllBands"]=15]="AllBands",(r=T=t.StiWord2007RestrictEditing||(t.StiWord2007RestrictEditing={}))[r["No"]=1]="No",r[r["ExceptEditableFields"]=2]="ExceptEditableFields",r[r["Yes"]=3]="Yes",(r=E=t.StiExcel2007RestrictEditing||(t.StiExcel2007RestrictEditing={}))[r["No"]=1]="No",r[r["ExceptEditableFields"]=2]="ExceptEditableFields",r[r["Yes"]=3]="Yes",(r=R=t.StiPdfAllowEditable||(t.StiPdfAllowEditable={}))[r["No"]=1]="No",r[r["Yes"]=2]="Yes",(r=D=t.StiImageResolutionMode||(t.StiImageResolutionMode={}))[r["Exactly"]=1]="Exactly",r[r["NoMoreThan"]=2]="NoMoreThan",r[r["Auto"]=3]="Auto",(r=P=t.StiPdfComplianceMode||(t.StiPdfComplianceMode={}))[r["None"]=0]="None",r[r["A1"]=1]="A1",r[r["A2"]=2]="A2",r[r["A3"]=3]="A3",(r=x=t.StiExcelSheetViewMode||(t.StiExcelSheetViewMode={}))[r["Normal"]=1]="Normal",r[r["PageLayout"]=2]="PageLayout",r[r["PageBreakPreview"]=3]="PageBreakPreview",(t=F=t.StiPdfZUGFeRDComplianceMode||(t.StiPdfZUGFeRDComplianceMode={}))[t["None"]=0]="None",t[t["V1"]=1]="V1",t[t["V2"]=2]="V2",t[t["V2_1"]=3]="V2_1"}(Stimulsoft=Stimulsoft||{}),function(t){var e,o,r,a,s,l,u,c,t;function n(){}o=e=t.Report||(t.Report={}),a=r=o.Dashboard||(o.Dashboard={}),s=t.System.StiPromise,l=t.System.IO.MemoryStream,u=t.Base.StiDashboardNotSupportedException,c=t.Report.Export.StiPdfAutoPrintMode,n.exportAsync=function(t,e,r){var n=new s;if(!a.StiDashboardAssembly.isAssemblyLoaded)throw new u;var i=a.StiInvokeMethodsHelper.invokeStaticMethod("Stimulsoft.Dashboard.Export","Helpers.StiExportSettingsHelper","getDashboardExportSettings",[r]);return r.getExportFormat()==o.StiExportFormat.Pdf&&r.autoPrintMode==c.Dialog&&a.StiInvokeMethodsHelper.setPropertyValue(i,"autoPrint",!0),a.StiInvokeMethodsHelper.invokeStaticMethod("Stimulsoft.Dashboard.Export","StiDashboardExportTools","exportToStreamAsync",[t,i]).try(function(t){var t=new l(t);null!=t&&t.copyTo(e),n.callTry()}),n},t=n,a.StiDashboardExport=t}(Stimulsoft=Stimulsoft||{}),function(t){var e,r,n,i,o;function a(){}r=e=t.Report||(t.Report={}),i=n=r.Dashboards||(r.Dashboards={}),o=t.Base.StiActivator,a.createTableElementAutoSizer=function(){try{return o.createObject2("Stimulsoft.Dashboard.Drawing.Helpers.StiTableElementAutoSizer")}catch(t){}return null},a.createProgressVisualSvgHelper=function(){try{return o.createObject2("Stimulsoft.Dashboard.Helpers.StiProgressVisualSvgHelper")}catch(t){}return null},a.createIndicatorVisualSvgHelper=function(){try{return o.createObject2("Stimulsoft.Dashboard.Helpers.StiIndicatorVisualSvgHelper")}catch(t){}return null},a.createGaugeVisualSvgHelper=function(){try{return o.createObject2("Stimulsoft.Dashboard.Helpers.StiGaugeVisualSvgHelper")}catch(t){}return null},r=a,i.StiDashboardHelperCreator=r}(Stimulsoft=Stimulsoft||{}),function(i){var t,e,r,n,o,a,s,l;function u(){}e=t=i.Report||(i.Report={}),n=r=e.Dashboard||(e.Dashboard={}),o=i.System.Data.DBNull,a=i.Data.Engine.StiDataFilterCondition,s=i.System.StiString,l=i.Data.Engine.StiDataFilterRule,u.createEqualBasedOnValue=function(t,e,r){var r=i.Report.Dictionary.StiDataColumn.getDataColumnFromColumnName(r.report.dictionary,e),n;return(null==r?void 0:r.type)==String&&("string"==typeof t&&s.isNullOrEmpty(t)||null==t||t==o.value)?new l(null,e,a.IsBlankOrNull,t.toString()):null==t||t==o.value?new l(null,e,a.IsNull):new l(null,e,a.EqualTo,t.toString())},e=u,n.StiDataFilterCreator=e}(Stimulsoft=Stimulsoft||{}),function(t){var e,r,n,i,o;function a(){this.action=o.None}r=e=t.Report||(t.Report={}),i=n=r.Dashboard||(r.Dashboard={}),o=t.Report.StiElementMeterAction,a.createEmptyArgs=function(){return new a},a.createRenamingArgs=function(t,e){var r=new a;return r.action=o.Rename,r.oldName=t,r.newName=e,r},a.createDeletingArgs=function(t){var e=new a;return e.action=o.Delete,e.oldName=t,e},a.createClearingAllArgs=function(){var t=new a;return t.action=o.ClearAll,t},r=a,i.StiElementChangedArgs=r}(Stimulsoft=Stimulsoft||{}),function(t){var e,r,n,i,o,a;function s(){}r=e=t.Report||(t.Report={}),i=n=r.Dashboard||(r.Dashboard={}),o=t.Data.Engine.IStiTransformActions,a=t.Data.Engine.IStiTransformFilters,s.processElementChanging=function(t,e){switch(e.action){case i.StiElementMeterAction.Rename:this.processElementRenaming(t,e);break;case i.StiElementMeterAction.ClearAll:this.processElementClearing(t);break;case i.StiElementMeterAction.Delete:this.processElementDeleting(t,e);break}},s.processElementRenaming=function(t,e){var r=t.stimulsoft.as(o);null!=r&&null!=r.transformActions&&r.transformActions.where(function(t){return t.path==e.oldName}).toList().forEach(function(t){return t.path=e.newName});var t=t.stimulsoft.as(a);null!=t&&null!=t.transformFilters&&t.transformFilters.where(function(t){return t.path==e.oldName}).toList().forEach(function(t){return t.path=e.newName})},s.processElementClearing=function(t){var e=t.stimulsoft.as(o);null!=e&&null!=e.transformActions&&e.transformActions.clear();var t=t.stimulsoft.as(a);null!=t&&null!=t.transformFilters&&t.transformFilters.clear()},s.processElementDeleting=function(t,e){var r=t.stimulsoft.as(o);null!=r&&null!=r.transformActions&&r.transformActions.where(function(t){return t.path==e.oldName}).toList().forEach(function(t){return r.transformActions.remove(t)});var n=t.stimulsoft.as(a);null!=n&&null!=n.transformFilters&&n.transformFilters.where(function(t){return t.path==e.oldName}).toList().forEach(function(t){return n.transformFilters.remove(t)})},r=s,i.StiElementChangedProcessor=r}(Stimulsoft=Stimulsoft||{}),function(t){var e,r,n,S,g,f,y,i,A,b,C,o,v,a,s,l,u,w,B,c;function p(){}r=e=t.Report||(t.Report={}),S=n=r.Dashboard||(r.Dashboard={}),g=t.Data.Engine.IStiCrossFiltering,f=t.Data.Engine.StiDataJoinEngine,y=t.Data.Engine.StiDataJoiner,i=t.Data.Engine.IStiDrillDownElement,A=t.Data.Engine.StiDataFilterRuleHelper,b=t.Data.Engine.StiDataRequestOption,C=t.Data.Engine.StiDataTable,o=t.System.Collections.List,r=t.System.Collections.Dictionary,v=t.Data.Engine.IStiUserSorts,a=t.Data.Engine.IStiDataFilters,s=t.Data.Engine.IStiTransformActions,l=t.Data.Engine.IStiTransformFilters,u=t.Data.Engine.IStiTransformSorts,w=t.Base.StiAppKey,B=t.Data.Engine.StiDataAnalyzer,c=t.Base.Helpers.StiComponentProgressHelper,p.tryToGetOrCreate=function(r,n){return void 0===n&&(n=b.All),__awaiter(this,void 0,void 0,function(){var e;return __generator(this,function(t){switch(t.label){case 0:return t.trys.push([0,2,,3]),[4,this.getOrCreate(r,n)];case 1:return[2,t.sent()];case 2:return e=t.sent(),[2,null];case 3:return[2]}})})},p.getOrCreate=function(r,n){return void 0===n&&(n=b.All),__awaiter(this,void 0,void 0,function(){var e;return __generator(this,function(t){switch(t.label){case 0:if(null!=(e=this.get(r)))return[2,e];return[4,this.create(r,n)];case 1:return e=t.sent(),this.add(r,e),[2,e]}})})},p.getOrCreatePivot=function(n,i,o){return void 0===o&&(o=b.All),__awaiter(this,void 0,void 0,function(){var e,r;return __generator(this,function(t){switch(t.label){case 0:if(S.StiPivotToContainerCache.contains(n)&&null!=this.get(n))return[2,S.StiPivotToContainerCache.get(n)];if(null!=(e=this.get(n)))return[3,2];return[4,this.create(n,o)];case 1:r=t.sent(),this.add(n,r),S.StiPivotToContainerCache.remove(n),i.create(n,r),t.label=2;case 2:return[2,e]}})})},p.getOrCreateWithProgress=function(r,n){return void 0===n&&(n=b.All),__awaiter(this,void 0,void 0,function(){var e;return __generator(this,function(t){switch(t.label){case 0:if(null!=(e=this.get(r)))return[2,e];if(this.elements.contains(r))return[2,null];return c.add(r),this.elements.add(r),[4,this.initWorker(n)];case 1:return t.sent(),[2,null]}})})},p.getOrCreatePivotWithProgress=function(e,r,n){return void 0===n&&(n=b.All),__awaiter(this,void 0,void 0,function(){return __generator(this,function(t){switch(t.label){case 0:if(S.StiPivotToContainerCache.contains(e)&&null!=this.get(e))return[2,S.StiPivotToContainerCache.get(e)];if(this.elements.contains(e))return[2,null];return this.pivotCreator=r,c.add(e),this.elements.add(e),[4,this.initWorker(n)];case 1:return t.sent(),[2,null]}})})},p.get=function(t){var t=this.getKey(t);return this.cache.contains(t)?this.cache.get(t):null},p.create=function(m,d){return __awaiter(this,void 0,void 0,function(){var e,r,n,i,o,a,s,l,u,c,p,e,r,h;return __generator(this,function(t){switch(t.label){case 0:if(e=0<(d&b.DisallowTransform),r=m.page.as(S.IStiDashboard),null==(n=m.getMeters())||!n.any())return[2,C.nullTable];return i=S.StiGroupElementHelper.getGroup(m),o=this.getUserFilters(m,r),a=this.getUserSorts(m,d),s=this.getDataFilters(m),l=e?null:this.getTransformActions(m),u=e?null:this.getTransformFilters(m),c=e?null:this.getTransformSorts(m),p=this.getDrillDownFilters(m),e=y.joinEngine==f.V4?m:r,null==(r=m.as(g))||r.crossFiltering||(i="",o=null),[4,B.analyze(e,i,n,d,a,o,s,null,c,u,l,p)];case 1:return[2,h=t.sent()]}})})},p.add=function(t,e){var t=this.getKey(t);this.cache.set(t,e)},p.initWorker=function(o){return void 0===o&&(o=b.All),__awaiter(this,void 0,void 0,function(){var e,r,n,i;return __generator(this,function(t){switch(t.label){case 0:if(null!=this.worker)return[2];this.worker={},t.label=1;case 1:if(!1)return[3,8];if(0==this.elements.length)return[3,1];e=void 0,e=this.elements.firstOrDefault(),this.elements.remove(e),t.label=2;case 2:if(t.trys.push([2,5,6,7]),null!=(r=this.get(e)))return[3,4];return[4,this.create(e,o)];case 3:n=t.sent(),this.add(e,n),e.is(S.IStiPivotTableElement)&&S.StiPivotToContainerCache.remove(e),t.label=4;case 4:return e.is(S.IStiPivotTableElement)&&this.pivotCreator.create(e,r),[3,7];case 5:return i=t.sent(),this.add(e,C.nullTable),[3,7];case 6:return[7];case 7:return[3,1];case 8:return[2]}})})},p.getKey=function(t){var e,r,n=w.getOrGeneratedKey(t);null==n&&(n="");var i=null!=t?t.getMeters():null;if(null==i||!i.any())return n+".0";var o=t.page.as(S.IStiDashboard),a=0,s=i.select(function(t){return(a++).toString()+t.getUniqueCode().toString()}),l,i,u;null!=o&&(null==(i=o.getUserFilters(t))||null!=(u=i.select(function(t){return(a++).toString()+t.getUniqueCode().toString()}))&&s.addRange(u));var u=this.getDataFilters(t),c;null==u||null!=(c=u.select(function(t){return(a++).toString()+t.getUniqueCode().toString()}))&&s.addRange(c);var c=this.getDrillDownFilters(t),c,p,p;null==c||null!=(c=c.select(function(t){return(a++).toString()+t.getUniqueCode().toString()}))&&s.addRange(c),!t.is(v)||null!=(p=t.userSorts.select(function(t){return(a++).toString()+t.getUniqueCode().toString()}))&&s.addRange(p),t.is(S.IStiPivotTableElement)&&t.is(S.IStiTitleElement)&&(null==(p=t.title.text)&&(p=""),s.add(p.stimulsoft.getHashCode().toString()),s.addRange(t.pivotTableConditions.select(function(t){return t.getUniqueCode().toString()}).toList()),s.add(t.summaryDirection.toString()));var h=0,m;try{for(var d=__values(s),g=d.next(),f;!g.done;g=d.next()){h+=g.value.stimulsoft.getHashCode()}}catch(t){e={error:t}}finally{try{g&&!g.done&&(r=d.return)&&r.call(d)}finally{if(e)throw e.error}}return n+"."+(h+=A.getFilterRulesHash(o.getApp(),l))},p.cleanCache=function(e){var r=this;null==e?this.cache.clear():this.cache.keys.where(function(t){return t.stimulsoft.startsWith(e)}).forEach(function(t){return r.cache.remove(t)})},p.getUserFilters=function(t,e){if(null==e)return null;return e.getUserFilters(t)},p.getUserSorts=function(t,e){if(!t.is(v))return null;return 0<(e&b.AllowDataSort)?t.userSorts:null},p.getDataFilters=function(t){return t.is(a)?t.dataFilters:null},p.getTransformActions=function(t){return t.is(s)?t.transformActions:null},p.getTransformFilters=function(t){return t.is(l)?t.transformFilters:null},p.getTransformSorts=function(t){return t.is(u)?t.transformSorts:null},p.getDrillDownFilters=function(t){return t.is(i)?t.drillDownFilters:null},p.elements=new o,p.cache=new r,r=p,S.StiElementDataCache=r}(Stimulsoft=Stimulsoft||{}),function(t){var e,r,n,i,o;function a(t,e){this.fullScreenButton=!0,this.saveButton=!0,null!=t&&(this.saveButton=t),null!=e&&(this.fullScreenButton=e)}r=e=t.Report||(t.Report={}),i=n=r.Dashboard||(r.Dashboard={}),o=t.Base.StiJson,a.prototype.saveToJsonObject=function(t){var e=new o;return e.addPropertyBool("FullScreenButton",this.fullScreenButton,!0),e.addPropertyBool("SaveButton",this.saveButton,!0),e},a.prototype.loadFromJsonObject=function(t){var e,r;try{for(var n=__values(t.properties()),i=n.next();!i.done;i=n.next()){var o=i.value;switch(o.name){case"FullScreenButton":this.fullScreenButton=o.value.stimulsoft.toBoolean();break;case"SaveButton":this.saveButton=o.value.stimulsoft.toBoolean();break}}}catch(t){e={error:t}}finally{try{i&&!i.done&&(r=n.return)&&r.call(n)}finally{if(e)throw e.error}}},a.prototype.loadFromXml=function(t){for(var e=0;e<t.childNodes.length;e++){var r=t.childNodes[e];switch(r.nodeName){case"FullScreenButton":this.fullScreenButton=r.textContent.stimulsoft.toBoolean();break;case"SaveButton":this.saveButton=r.textContent.stimulsoft.toBoolean();break}}},a.createFromJsonObject=function(t){var e=new a;return e.loadFromJsonObject(t),e},a.createFromXml=function(t){var e=new a;return e.loadFromXml(t),e},a.prototype.clone=function(){return this.stimulsoft.memberwiseClone()},a.prototype.isDefault=function(){return this.fullScreenButton&&this.saveButton},a.prototype.StiElementLayout=function(){},r=a,i.StiElementLayout=r}(Stimulsoft=Stimulsoft||{}),function(t){var e,r,n,i,o;function a(){}r=e=t.Report||(t.Report={}),i=n=r.Dashboard||(r.Dashboard={}),o=t.Data.Engine.IStiCrossFiltering,a.getGroup=function(t){if(null==t)return null;if(t.is(i.IStiGroupElement)){var e=t.group;if(null==e)return null;var t=t.as(o);if(null!=t&&!t.crossFiltering)return null;return e.toLowerCase().trim()}return null},r=a,i.StiGroupElementHelper=r}(Stimulsoft=Stimulsoft||{}),function(l){var t,e,r,n;function i(){}e=t=l.Report||(l.Report={}),n=r=e.Dashboard||(e.Dashboard={}),i.invokeStaticMethod=function(t,e,r,n,i){var t,o=(t=t.split(".")).concat.apply(t,__spread(e.split(".")));if("Stimulsoft"!=o.splice(0,1)[0])return null;var a=l;while(0<o.length)var s,a=a[o.splice(0,1)[0]];if(a==l)return null;var r=a[r];if(null!=r)return r.apply(a,n);return null},i.setPropertyValue=function(t,e,r){null!=t&&(t[e]=r)},i.getPropertyValue=function(t,e){if(null!=t)return t[e];return null},e=i,n.StiInvokeMethodsHelper=e}(Stimulsoft=Stimulsoft||{}),function(t){var e,r,n,i,o;function a(t,e,r,n){this.left=3,this.top=3,this.right=3,this.bottom=3,this.left=t,this.right=r,this.top=e,this.bottom=n}r=e=t.Report||(t.Report={}),i=n=r.Dashboard||(r.Dashboard={}),o=t.Base.StiJson,a.prototype.saveToJsonObject=function(t,e,r,n,i){if(void 0===e&&(e=3),void 0===r&&(r=3),void 0===n&&(n=3),void 0===i&&(i=3),this.left==e&&this.top==r&&this.right==n&&this.bottom==i)return null;var i=new o;return i.addPropertyNumber("Left",this.left),i.addPropertyNumber("Top",this.top),i.addPropertyNumber("Right",this.right),i.addPropertyNumber("Bottom",this.bottom),i},a.prototype.loadFromJsonObject=function(t){var e,r;try{for(var n=__values(t.properties()),i=n.next();!i.done;i=n.next()){var o=i.value;switch(o.name){case"Left":this.left=o.value.stimulsoft.toNumber();break;case"Top":this.top=o.value.stimulsoft.toNumber();break;case"Right":this.right=o.value.stimulsoft.toNumber();break;case"Bottom":this.bottom=o.value.stimulsoft.toNumber();break}}}catch(t){e={error:t}}finally{try{i&&!i.done&&(r=n.return)&&r.call(n)}finally{if(e)throw e.error}}},a.prototype.loadFromXml=function(t){var t=t.textContent.split(",");this.left=t[0].stimulsoft.toNumber(),this.top=t[1].stimulsoft.toNumber(),this.right=t[2].stimulsoft.toNumber(),this.bottom=t[3].stimulsoft.toNumber()},a.prototype.clone=function(){return this.stimulsoft.memberwiseClone()},Object.defineProperty(a.prototype,"isEmpty",{get:function(){return 0==this.left&&0==this.top&&0==this.right&&0==this.bottom},enumerable:!1,configurable:!0}),a.prototype.equals=function(t){var e;return null!=t&&t.left==this.left&&t.top==this.top&&t.right==this.right&&t.bottom==this.bottom},a.empty=(a.create=function(t){return void 0===t&&(t=3),new a(t,t,t,t)})(),r=a,i.StiMargin=r}(Stimulsoft=Stimulsoft||{}),function(t){var e,r,n,i,a;function o(t,e,r,n){this.left=5,this.top=5,this.right=5,this.bottom=5,this.left=t,this.right=r,this.top=e,this.bottom=n}r=e=t.Report||(t.Report={}),i=n=r.Dashboard||(r.Dashboard={}),a=t.Base.StiJson,o.prototype.saveToJsonObject=function(t,e,r,n,i){if(void 0===e&&(e=5),void 0===r&&(r=5),void 0===n&&(n=5),void 0===i&&(i=5),this.left==e&&this.top==r&&this.right==n&&this.bottom==i)return null;var o=new a;return o.addPropertyNumber("Left",this.left,e),o.addPropertyNumber("Top",this.top,r),o.addPropertyNumber("Right",this.right,n),o.addPropertyNumber("Bottom",this.bottom,i),o},o.prototype.loadFromJsonObject=function(t){var e,r;try{for(var n=__values(t.properties()),i=n.next();!i.done;i=n.next()){var o=i.value;switch(o.name){case"Left":this.left=o.value.stimulsoft.toNumber();break;case"Top":this.top=o.value.stimulsoft.toNumber();break;case"Right":this.right=o.value.stimulsoft.toNumber();break;case"Bottom":this.bottom=o.value.stimulsoft.toNumber();break}}}catch(t){e={error:t}}finally{try{i&&!i.done&&(r=n.return)&&r.call(n)}finally{if(e)throw e.error}}},o.prototype.loadFromXml=function(t){var t=t.textContent.split(",");this.left=t[0].stimulsoft.toNumber(),this.top=t[1].stimulsoft.toNumber(),this.right=t[2].stimulsoft.toNumber(),this.bottom=t[3].stimulsoft.toNumber()},o.prototype.clone=function(){return this.stimulsoft.memberwiseClone()},Object.defineProperty(o.prototype,"isEmpty",{get:function(){return 0==this.left&&0==this.top&&0==this.right&&0==this.bottom},enumerable:!1,configurable:!0}),o.prototype.equals=function(t){var e;return null!=t&&t.left==this.left&&t.top==this.top&&t.right==this.right&&t.bottom==this.bottom},o.empty=(o.create=function(t){return void 0===t&&(t=5),new o(t,t,t,t)})(),r=o,i.StiPadding=r}(Stimulsoft=Stimulsoft||{}),function(t){var e,r,n,i,o;function a(){}r=e=t.Report||(t.Report={}),i=n=r.Dashboard||(r.Dashboard={}),o=t.Base.Drawing.StiColor,r=t.System.Collections.List,a.sets=new r([o.get2("2f528f","3960a7","406dbb","6d89cb","9eadd8","c0c9e4"),o.get2("ae5a21","ca6a28","e2772e","ef9164","f3b29a","f6ccbe"),o.get2("787878","8c8c8c","9d9d9d","b1b1b1","c6c6c6","d8d8d8"),o.get2("bc8c00","daa400","f3b700","ffc859","ffd695","ffe2bc"),o.get2("41719c","4c84b6","5694cb","7aa9da","a4c0e3","c4d5eb"),o.get2("507e32","5f933b","6ba543","88b76e","acca9e","c9dbc1"),o.get2("5f5f5f","b3b3b3","898989","212121","dadada","aaaaaa"),o.get2("c0c9e4","9eadd8","6d89cb","406dbb","3960a7","2f528f"),o.get2("f6ccbe","f3b29a","ef9164","e2772e","ca6a28","ae5a21"),o.get2("d8d8d8","c6c6c6","b1b1b1","9d9d9d","8c8c8c","787878"),o.get2("ffe2bc","ffd695","ffc859","f3b700","daa400","bc8c00"),o.get2("c4d5eb","a4c0e3","7aa9da","5694cb","4c84b6","41719c"),o.get2("c9dbc1","acca9e","88b76e","6ba543","5f933b","507e32")]),a.negativeSets=new r([o.get2("ee0e1b","d20213","b3030f","9d040c","7f0005","6b0004"),o.get2("f36642","f24e29","e64926","d74222","c93c1e","af3017"),o.get2("de3a70","c81a57","c81a57","b21852","9c144e","780d46"),o.get2("718792","5b7481","4f6570","41525b","344047","252e32")]),o=a,i.StiPredefinedColors=o}(Stimulsoft=Stimulsoft||{}),function(t){var e,r,n,i;function o(){}r=e=t.Report||(t.Report={}),i=n=r.Dashboard||(r.Dashboard={}),r=t.System.Collections.Hashtable,o.getSize=function(t,e){if(null==e)return null;var e=this.stimulsoft.getHashCode(t,e);return null!=this.stringToSize.get(e)?this.stringToSize.get(e):null},o.putSize=function(t,e,r){if(null==e)return;var e=this.stimulsoft.getHashCode(t,e);this.stringToSize.set(e,r)},o.getHashCode=function(t,e){return t.stimulsoft.getHashCode().toString()+e},o.stringToSize=new r,r=o,i.StiStringMeasureCache=r}(Stimulsoft=Stimulsoft||{}),function(m){var t,d,g,f,e;function r(){}d=t=m.Report||(m.Report={}),g=m.System.StiString,f=m.System.Text.XMLConvert,Object.defineProperty(r.prototype,"getPropertiesSupported",{get:function(){return!1},enumerable:!1,configurable:!0}),r.rangeToString=function(t){var e;return(new r).convertTo(null,null,t,String)},r.stringToRange=function(t){var e;return(new r).convertFrom(null,null,t)},r.prototype.convertTo=function(t,e,r,n){if(n==String){var n=r.stimulsoft.as(d.CharRange);if(null!=n)return g.format("Char,{0},{1}",f.encodeName(n.from.toString()),f.encodeName(n.to.toString()));var i=null,o=null,a=r.stimulsoft.as(d.DateTimeRange);if(null!=a){try{i=a.from?a.from.toString():"",o=a.to?a.to.toString():""}finally{}return g.format("DateTime,{0},{1}",f.encodeName(i),f.encodeName(o))}var s=r.stimulsoft.as(d.TimeSpanRange);if(null!=s){try{i=s.from?s.from.toString():"",o=s.to?s.to.toString():""}finally{}return g.format("TimeSpan,{0},{1}",f.encodeName(i),f.encodeName(o))}var n=r.stimulsoft.as(d.DecimalRange);if(null!=n)return g.format("Decimal,{0},{1}",f.encodeName(n.from.toString().stimulsoft.replaceAll(",",".")),f.encodeName(n.to.toString().stimulsoft.replaceAll(",",".")));var n=r.stimulsoft.as(d.FloatRange);if(null!=n)return g.format("Float,{0},{1}",f.encodeName(n.from.toString().stimulsoft.replaceAll(",",".")),f.encodeName(n.to.toString().stimulsoft.replaceAll(",",".")));var n=r.stimulsoft.as(d.DoubleRange);if(null!=n)return g.format("Double,{0},{1}",f.encodeName(n.from.toString().stimulsoft.replaceAll(",",".")),f.encodeName(n.to.toString().stimulsoft.replaceAll(",",".")));var n=r.stimulsoft.as(d.ByteRange);if(null!=n)return g.format("Byte,{0},{1}",n.from,n.to);var n=r.stimulsoft.as(d.ShortRange);if(null!=n)return g.format("Short,{0},{1}",n.from,n.to);var n=r.stimulsoft.as(d.IntRange);if(null!=n)return g.format("Int,{0},{1}",n.from,n.to);var n=r.stimulsoft.as(d.LongRange);if(null!=n)return g.format("Long,{0},{1}",n.from,n.to);var n=r.stimulsoft.as(d.GuidRange);if(null!=n)return g.format("Guid,{0},{1}",f.encodeName(n.from.toString()),f.encodeName(n.to.toString()));var r=r.stimulsoft.as(d.StringRange);if(null!=r)return g.format("String,{0},{1}",f.encodeName(r.from.toString()),f.encodeName(r.to.toString()))}return!1},r.prototype.canConvertFrom=function(t,e){if("string"==typeof e)return!0;return!1},r.prototype.canConvertTo=function(t,e){if("object"==typeof e)return!0;if("string"==typeof e)return!0;return!1},r.prototype.convertFrom=function(t,e,r){if("string"==typeof r){var n,i=r.stimulsoft.as(String).split(",");if("Char"==i[0])return new d.CharRange(f.decodeName(i[1])[0],f.decodeName(i[2])[0]);if("DateTime"==i[0]){var o=void 0,a=void 0;try{var s=f.decodeName(i[1]),l=f.decodeName(i[2]),o=g.isNullOrEmpty(s.trim())?null:m.System.DateTime.fromString(s),a=g.isNullOrEmpty(l.trim())?null:m.System.DateTime.fromString(l)}finally{}return new d.DateTimeRange(o,a)}if("TimeSpan"==i[0]){var u=void 0,c=void 0;try{var s=f.decodeName(i[1]),l=f.decodeName(i[2]),u=g.isNullOrEmpty(s.trim())?null:m.System.TimeSpan.fromString(s),c=g.isNullOrEmpty(l.trim())?null:m.System.TimeSpan.fromString(l)}finally{}return new d.TimeSpanRange(u,c)}if("Decimal"==i[0]){var p=f.decodeName(i[1]).stimulsoft.toNumber(),h=f.decodeName(i[2]).stimulsoft.toNumber();return new d.DecimalRange(p,h)}if("Float"==i[0]){var p=f.decodeName(i[1]).stimulsoft.toNumber(),h=f.decodeName(i[2]).stimulsoft.toNumber();return new d.FloatRange(p,h)}if("Double"==i[0]){var p=f.decodeName(i[1]).stimulsoft.toNumber(),h=f.decodeName(i[2]).stimulsoft.toNumber();return new d.DoubleRange(p,h)}if("Byte"==i[0]){var p=i[1].stimulsoft.toNumber(!1),h=i[2].stimulsoft.toNumber(!1);return new d.ByteRange(p,h)}if("Short"==i[0]){var p=i[1].stimulsoft.toNumber(!1),h=i[2].stimulsoft.toNumber(!1);return new d.ShortRange(p,h)}if("Int"==i[0]){var p=i[1].stimulsoft.toNumber(!1),h=i[2].stimulsoft.toNumber(!1);return new d.IntRange(p,h)}if("Long"==i[0]){var p=i[1].stimulsoft.toNumber(!1),h=i[2].stimulsoft.toNumber(!1);return new d.LongRange(p,h)}if("Guid"==i[0]){var s=f.decodeName(i[1]),l=f.decodeName(i[2]),p=void 0,h=void 0,p=g.isNullOrEmpty(s)?m.System.Guid.empty:new m.System.Guid(s),h=g.isNullOrEmpty(l)?m.System.Guid.empty:new m.System.Guid(l);return new d.GuidRange(p,h)}if("String"==i[0]){var s=f.decodeName(i[1]),l=f.decodeName(i[2]);return new d.StringRange(s,l)}}return!1},e=r,d.RangeConverter=e}(Stimulsoft=Stimulsoft||{}),function(t){var e,r,n,t,i;function o(){return null!==i&&i.apply(this,arguments)||this}r=e=t.Report||(t.Report={}),t=n=r.Units||(r.Units={}),i=t.StiUnit,__extends(o,i),Object.defineProperty(o.prototype,"rulerStep",{get:function(){return 100},enumerable:!1,configurable:!0}),Object.defineProperty(o.prototype,"factor",{get:function(){return 100},enumerable:!1,configurable:!0}),Object.defineProperty(o.prototype,"shortName",{get:function(){return"hi"},enumerable:!1,configurable:!0}),Object.defineProperty(o.prototype,"name",{get:function(){return"HundredthsOfInch"},enumerable:!1,configurable:!0}),o.prototype.convertToHInches=function(t){return t},o.prototype.convertFromHInches=function(t){return t},r=o,t.StiHundredthsOfInchUnit=r}(Stimulsoft=Stimulsoft||{}),function(t){var e,r,n,t,i;function o(){return null!==i&&i.apply(this,arguments)||this}r=e=t.Report||(t.Report={}),t=n=r.Units||(r.Units={}),i=t.StiUnit,__extends(o,i),Object.defineProperty(o.prototype,"rulerStep",{get:function(){return 1},enumerable:!1,configurable:!0}),Object.defineProperty(o.prototype,"factor",{get:function(){return 100/2.54},enumerable:!1,configurable:!0}),Object.defineProperty(o.prototype,"shortName",{get:function(){return"cm"},enumerable:!1,configurable:!0}),Object.defineProperty(o.prototype,"name",{get:function(){return"Centimeters"},enumerable:!1,configurable:!0}),o.prototype.convertToHInches=function(t){return 100*t/2.54},o.prototype.convertFromHInches=function(t){return 2.54*t/100},r=o,t.StiCentimetersUnit=r}(Stimulsoft=Stimulsoft||{}),function(t){var e,r,n,i,o;function a(){return null!==o&&o.apply(this,arguments)||this}r=e=t.Report||(t.Report={}),i=n=r.Units||(r.Units={}),o=t.Report.Units.StiUnit,__extends(a,o),Object.defineProperty(a.prototype,"rulerStep",{get:function(){return 1},enumerable:!1,configurable:!0}),Object.defineProperty(a.prototype,"factor",{get:function(){return 100/2.54},enumerable:!1,configurable:!0}),Object.defineProperty(a.prototype,"shortName",{get:function(){return"mm"},enumerable:!1,configurable:!0}),Object.defineProperty(a.prototype,"name",{get:function(){return"Millimeters"},enumerable:!1,configurable:!0}),a.prototype.convertToHInches=function(t){return 10*t/2.54},a.prototype.convertFromHInches=function(t){return 2.54*t/10},r=a,i.StiMillimetersUnit=r}(Stimulsoft=Stimulsoft||{}),function(t){var e,r,n,i,o,a,s,l,u,c,p,t;function h(t){void 0===t&&(t=null),this._forceDesigningMode=!1,this._quickInfoType=p.None,this._generateLocalizedName=!1,this._showDimensionLines=!0,this._quickInfoOverlay=!0,this._isComponentsMoving=!1,this._currentAction=o.None,this._isTableMode=!1,this._drawEventMarkers=!0,this._drawMarkersWhenMoving=!0,this._runDesignerAfterInsert=!0,this._useLastFormat=!1,this._autoSaveInterval=15,this._enableAutoSaveMode=!1,this._showOrder=!1,this._alignToGrid=!0,this._autoSaveReportToReportClass=!1,this._showHeaders=!0,this._showGrid=!0,this._showInteractive=!0,this._zoom=.75,this._showRulers=!0,this._gridSizePoints=20,this._gridSizePixels=8,this._gridSizeCentimetres=.2,this._gridSizeHundredthsOfInch=10,this._gridSizeInch=.1,this._gridSizeMillimeters=2,this._fillBands=!0,this._fillCrossBands=!0,this._fillContainer=!0,this._fillComponent=!0,this._useComponentColor=!0,this._gridMode=r.StiGridMode.Lines,this._report=t}r=e=t.Report||(t.Report={}),i=n=r.Design||(r.Design={}),o=t.Base.Drawing.StiAction,a=t.Report.Units.StiMillimetersUnit,s=t.Report.Units.StiCentimetersUnit,l=t.Report.Units.StiHundredthsOfInchUnit,u=t.System.Drawing.Color,c=t.Base.Drawing.StiColorUtils,p=t.Report.Components.StiQuickInfoType,h.prototype.clone=function(t){var t=new h(t);return t._forceDesigningMode=this._forceDesigningMode,t._quickInfoType=this._quickInfoType,t._generateLocalizedName=this._generateLocalizedName,t._showDimensionLines=this._showDimensionLines,t._quickInfoOverlay=this._quickInfoOverlay,t._isComponentsMoving=this._isComponentsMoving,t._currentAction=this._currentAction,t._isTableMode=this._isTableMode,t._drawMarkersWhenMoving=this._drawMarkersWhenMoving,t._runDesignerAfterInsert=this._runDesignerAfterInsert,t._useLastFormat=this._useLastFormat,t._autoSaveInterval=this._autoSaveInterval,t._enableAutoSaveMode=this._enableAutoSaveMode,t._showOrder=this._showOrder,t._alignToGrid=this._alignToGrid,t._autoSaveReportToReportClass=this._autoSaveReportToReportClass,t._showGrid=this._showGrid,t._showInteractive=this._showInteractive,t._zoom=this._zoom,t._showRulers=this._showRulers,t._gridSizePixels=this._gridSizePixels,t._gridSizeCentimetres=this._gridSizeCentimetres,t._gridSizeHundredthsOfInch=this._gridSizeHundredthsOfInch,t._gridSizeInch=this._gridSizeInch,t._gridSizeMillimeters=this._gridSizeMillimeters,t._fillBands=this._fillBands,t._fillCrossBands=this._fillCrossBands,t._fillContainer=this._fillContainer,t._fillComponent=this._fillComponent,t._useComponentColor=this._useComponentColor,t._gridMode=this._gridMode,t._forceDesigningMode=this._forceDesigningMode,t._quickInfoType=this._quickInfoType,t._generateLocalizedName=this._generateLocalizedName,t._showDimensionLines=this._showDimensionLines,t._quickInfoOverlay=this._quickInfoOverlay,t._isComponentsMoving=this._isComponentsMoving,t._currentAction=this._currentAction,t._isTableMode=this._isTableMode,t._drawEventMarkers=this._drawEventMarkers,t._drawMarkersWhenMoving=this._drawMarkersWhenMoving,t._runDesignerAfterInsert=this._runDesignerAfterInsert,t._useLastFormat=this._useLastFormat,t._autoSaveInterval=this._autoSaveInterval,t._enableAutoSaveMode=this._enableAutoSaveMode,t._showOrder=this._showOrder,t._alignToGrid=this._alignToGrid,t._autoSaveReportToReportClass=this._autoSaveReportToReportClass,t._showHeaders=this._showHeaders,t._showGrid=this._showGrid,t._showInteractive=this._showInteractive,t._zoom=this._zoom,t._showRulers=this._showRulers,t._gridSizePixels=this._gridSizePixels,t._gridSizeCentimetres=this._gridSizeCentimetres,t._gridSizeHundredthsOfInch=this._gridSizeHundredthsOfInch,t._gridSizeInch=this._gridSizeInch,t._gridSizeMillimeters=this._gridSizeMillimeters,t._fillBands=this._fillBands,t._fillCrossBands=this._fillCrossBands,t._fillContainer=this._fillContainer,t._fillComponent=this._fillComponent,t._useComponentColor=this._useComponentColor,t._gridMode=this._gridMode,t},Object.defineProperty(h.prototype,"forceDesigningMode",{get:function(){return this._forceDesigningMode},set:function(t){this._forceDesigningMode=t},enumerable:!1,configurable:!0}),Object.defineProperty(h.prototype,"quickInfoType",{get:function(){return this._quickInfoType},set:function(t){this._quickInfoType=t},enumerable:!1,configurable:!0}),Object.defineProperty(h.prototype,"generateLocalizedName",{get:function(){return this._generateLocalizedName},set:function(t){this._generateLocalizedName=t},enumerable:!1,configurable:!0}),Object.defineProperty(h.prototype,"showDimensionLines",{get:function(){return this._showDimensionLines},set:function(t){this._showDimensionLines=t},enumerable:!1,configurable:!0}),Object.defineProperty(h.prototype,"quickInfoOverlay",{get:function(){return this._quickInfoOverlay},set:function(t){this._quickInfoOverlay=t},enumerable:!1,configurable:!0}),Object.defineProperty(h.prototype,"isComponentsMoving",{get:function(){return this._isComponentsMoving},set:function(t){this._isComponentsMoving=t},enumerable:!1,configurable:!0}),Object.defineProperty(h.prototype,"currentAction",{get:function(){return this._currentAction},set:function(t){this._currentAction=t},enumerable:!1,configurable:!0}),Object.defineProperty(h.prototype,"isTableMode",{get:function(){return this._isTableMode},set:function(t){this._isTableMode=t},enumerable:!1,configurable:!0}),Object.defineProperty(h.prototype,"drawEventMarkers",{get:function(){return this._drawEventMarkers},set:function(t){this._drawEventMarkers=t},enumerable:!1,configurable:!0}),Object.defineProperty(h.prototype,"drawMarkersWhenMoving",{get:function(){return this._drawMarkersWhenMoving},set:function(t){this._drawMarkersWhenMoving=t},enumerable:!1,configurable:!0}),Object.defineProperty(h.prototype,"runDesignerAfterInsert",{get:function(){return this._runDesignerAfterInsert},set:function(t){this._runDesignerAfterInsert=t},enumerable:!1,configurable:!0}),Object.defineProperty(h.prototype,"useLastFormat",{get:function(){return this._useLastFormat},set:function(t){this._useLastFormat=t},enumerable:!1,configurable:!0}),Object.defineProperty(h.prototype,"autoSaveInterval",{get:function(){return this._autoSaveInterval},set:function(t){this._autoSaveInterval=t},enumerable:!1,configurable:!0}),Object.defineProperty(h.prototype,"enableAutoSaveMode",{get:function(){return this._enableAutoSaveMode},set:function(t){this._enableAutoSaveMode=t},enumerable:!1,configurable:!0}),Object.defineProperty(h.prototype,"showOrder",{get:function(){return this._showOrder},set:function(t){this._showOrder=t},enumerable:!1,configurable:!0}),Object.defineProperty(h.prototype,"alignToGrid",{get:function(){return this._alignToGrid},set:function(t){this._alignToGrid=t},enumerable:!1,configurable:!0}),Object.defineProperty(h.prototype,"autoSaveReportToReportClass",{get:function(){return this._autoSaveReportToReportClass},set:function(t){this._autoSaveReportToReportClass=t},enumerable:!1,configurable:!0}),Object.defineProperty(h.prototype,"showHeaders",{get:function(){return this._showHeaders},set:function(t){this._showHeaders=t},enumerable:!1,configurable:!0}),Object.defineProperty(h.prototype,"showGrid",{get:function(){return this._showGrid},set:function(t){this._showGrid=t},enumerable:!1,configurable:!0}),Object.defineProperty(h.prototype,"showInteractive",{get:function(){return this._showInteractive},set:function(t){this._showInteractive=t},enumerable:!1,configurable:!0}),Object.defineProperty(h.prototype,"zoom",{get:function(){return this._zoom},set:function(t){this._zoom=t},enumerable:!1,configurable:!0}),Object.defineProperty(h.prototype,"showRulers",{get:function(){return this._showRulers},set:function(t){this._showRulers=t},enumerable:!1,configurable:!0}),Object.defineProperty(h.prototype,"gridSizePoints",{get:function(){return this._gridSizePoints},set:function(t){this._gridSizePoints=t},enumerable:!1,configurable:!0}),Object.defineProperty(h.prototype,"gridSizePixels",{get:function(){return this._gridSizePixels},set:function(t){this._gridSizePixels=t},enumerable:!1,configurable:!0}),Object.defineProperty(h.prototype,"gridSizeCentimetres",{get:function(){return this._gridSizeCentimetres},set:function(t){this._gridSizeCentimetres=t},enumerable:!1,configurable:!0}),Object.defineProperty(h.prototype,"gridSizeHundredthsOfInch",{get:function(){return this._gridSizeHundredthsOfInch},set:function(t){this._gridSizeHundredthsOfInch=t},enumerable:!1,configurable:!0}),Object.defineProperty(h.prototype,"gridSizeInch",{get:function(){return this._gridSizeInch},set:function(t){this._gridSizeInch=t},enumerable:!1,configurable:!0}),Object.defineProperty(h.prototype,"gridSizeMillimeters",{get:function(){return this._gridSizeMillimeters},set:function(t){this._gridSizeMillimeters=t},enumerable:!1,configurable:!0}),Object.defineProperty(h.prototype,"gridSize",{get:function(){if(this.report.unit.is2(a))return this.report.info.gridSizeMillimeters;if(this.report.unit.is2(s))return this.report.info.gridSizeCentimetres;if(this.report.unit.is2(l))return this.report.info.gridSizeHundredthsOfInch;return this.report.info.gridSizeInch},enumerable:!1,configurable:!0}),Object.defineProperty(h.prototype,"fillBands",{get:function(){return this._fillBands},set:function(t){this._fillBands=t},enumerable:!1,configurable:!0}),Object.defineProperty(h.prototype,"fillCrossBands",{get:function(){return this._fillCrossBands},set:function(t){this._fillCrossBands=t},enumerable:!1,configurable:!0}),Object.defineProperty(h.prototype,"fillContainer",{get:function(){return this._fillContainer},set:function(t){this._fillContainer=t},enumerable:!1,configurable:!0}),Object.defineProperty(h.prototype,"fillComponent",{get:function(){return this._fillComponent},set:function(t){this._fillComponent=t},enumerable:!1,configurable:!0}),Object.defineProperty(h.prototype,"useComponentColor",{get:function(){return this._useComponentColor},set:function(t){this._useComponentColor=t},enumerable:!1,configurable:!0}),Object.defineProperty(h.prototype,"gridMode",{get:function(){return this._gridMode},set:function(t){this._gridMode=t},enumerable:!1,configurable:!0}),Object.defineProperty(h.prototype,"report",{get:function(){return this._report},set:function(t){this._report=t},enumerable:!1,configurable:!0}),h.prototype.getFillColor=function(t){var e=u.empty,e;return e=this.useComponentColor?u.fromArgb(40,t):(e=c.dark(u.white,40),u.fromArgb(100,e))},t=h,i.StiDesignerInfo=t}(Stimulsoft=Stimulsoft||{}),function(t){var e,H,r,n,i,o,T,E,Q,L,t;function a(t,e){this.first=t,this.second=e}function s(){}H=e=t.Report||(t.Report={}),n=r=H.Design||(H.Design={}),i=t.System.StiString,o=t.System.Char,T=t.Base.StiLexer,E=t.Base.StiTokenType,Q=t.System.Collections.Hashtable,L=a,s.packExpression=function(t,e,r){var n,i,o={ref:new Q},a={ref:new Q};this.buildDictionary(e,o,a,!0);var s=0,l=new T(t),u=null,c=null,p=t,h=0;do{var m=l.getToken();if(m.type==E.EOF)break;if(r&&m.type==E.LBrace)h++;else if(r&&m.type==E.RBrace)h--;else if(m.type==E.Ident&&(!r||r&&0<h)){var d=m.data.stimulsoft.replaceAll(" ","").toLowerCase(),g=null,d,p;if(null!=u&&u.type==E.Dot){var f=Array.isArray(a.ref.get(d))?a.ref.get(d):null;if(null!=f)try{for(var S=(n=void 0,__values(f)),y=S.next();!y.done;y=S.next()){var A,b=y.value.stimulsoft.as(L);null!=b&&(null==c||c.type==E.Ident&&c.data.toLowerCase()==b.first.toLowerCase())&&(g=b.second)}}catch(t){n={error:t}}finally{try{y&&!y.done&&(i=S.return)&&i.call(S)}finally{if(n)throw n.error}}}else g=o.ref.get(d);null!=g&&(d=g.length-m.length,p=(p=p.stimulsoft.remove(m.index+s,m.length)).stimulsoft.insert(m.index+s,g,0),s+=d)}c=u,u=m}while(1==1);return p},s.unPackExpression=function(t,e,r){var n,i,o={ref:new Q},a={ref:new Q};this.buildDictionary(e,o,a,!1);var s=0,l=new T(t),u=null,c=null,p=t,h=0,m=null;do{var d=l.getToken();if(d.type==E.EOF)break;if(r&&d.type==E.LBrace)h++;else if(r&&d.type==E.RBrace)h--;else if((!r||r&&0<h)&&(d.type==E.LBracket||d.type==E.Ident)){var g=-1,f=-1,S=null;if(d.type==E.LBracket){f=g=d.index+s;do{var y=l.getToken();if(null==d&&(d=y),y.type==E.EOF){g=-1;break}if(y.type==E.RBracket)break;f=y.index+y.length+s}while(1==1);if(-1==g)break;g-=s,f-=s,S=t.substr(g,f-g+1)}else g=d.index,f=d.index+d.length,S=d.data;var A=S.length,S=S.stimulsoft.replaceAll(" ","").toLowerCase(),b=null,S,p;if(null!=u&&u.type==E.Dot){var C=a.ref.get(S);if(null!=C)try{for(var v=(n=void 0,__values(C)),w=v.next();!w.done;w=v.next()){var B,I=w.value;null!=I&&(null==c||null!=m&&m.toLowerCase()==I.first.toLowerCase())&&(b=I.second)}}catch(t){n={error:t}}finally{try{w&&!w.done&&(i=v.return)&&i.call(v)}finally{if(n)throw n.error}}}else b=o.ref.get(S);null!=b&&(S=b.length-A,p=(p=p.stimulsoft.remove(d.index+s,A)).stimulsoft.insert(d.index+s,b,0),s+=S),m=b}c=u,u=d}while(1==1);return p},s.isValidName=function(t){if(i.isNullOrEmpty(t)||!o.isLetter(t[0])&&"_"!=t[0])return!1;for(var e=0;e<t.length;e++)if(!o.isLetterOrDigit(t[e])&&"_"!=t[e])return!1;return!0},s.getCorrectedAlias=function(t,e){if(this.isValidName(e))return e;return i.format("[{0}]",e)},s.addWord=function(t,e,r){var n,n;t.containsKey(e)?(n=t.get(e)).push(r):((n=[]).push(r),t.set(e,n))},s.buildDictionary=function(t,e,r,n){var i,o,a,s,l,u,c,p,h,m;if(e.ref=new Q,r.ref=new Q,null!=t){try{for(var d=__values(t.dictionary.dataSources.list),g=d.next();!g.done;g=d.next()){var f=g.value,S=f.name,y=this.getCorrectedAlias(t,f.alias);n?(S=S.stimulsoft.replaceAll(" ","").toLowerCase(),f.name!=f.alias&&e.ref.set(S,y),H.StiNameValidator.correctName(f.name,!0,t)!=f.alias&&(e.ref.set(H.StiNameValidator.correctName(S,!0,t),y),e.ref.set(H.StiNameValidator.correctName(f.name,!0,t).toLowerCase(),y))):(y=y.stimulsoft.replaceAll(" ","").toLowerCase(),e.ref.set(y,H.StiNameValidator.correctName(S,!0,t)));try{for(var A=(a=void 0,__values(f.columns.list)),b=A.next();!b.done;b=A.next()){var C=b.value,v=C.name,w=this.getCorrectedAlias(t,C.alias),B;n?(v=v.stimulsoft.replaceAll(" ","").toLowerCase(),B=H.StiNameValidator.correctName(v,!0,t),C.name!=C.alias&&this.addWord(r.ref,v,new L(S,w)),H.StiNameValidator.correctName(C.name,!0,t)!=C.alias&&(this.addWord(r.ref,H.StiNameValidator.correctName(v,!0,t),new L(S,w)),this.addWord(r.ref,H.StiNameValidator.correctName(C.name,!0,t).toLowerCase(),new L(S,w)))):(w=w.stimulsoft.replaceAll(" ","").toLowerCase(),this.addWord(r.ref,w,new L(S,H.StiNameValidator.correctName(v,!0,t))))}}catch(t){a={error:t}}finally{try{b&&!b.done&&(s=A.return)&&s.call(A)}finally{if(a)throw a.error}}}}catch(t){i={error:t}}finally{try{g&&!g.done&&(o=d.return)&&o.call(d)}finally{if(i)throw i.error}}try{for(var I=__values(t.dictionary.businessObjects.list),T=I.next();!T.done;T=I.next()){var E=T.value;this.buildBusinessObject(t,E,e,r,n)}}catch(t){l={error:t}}finally{try{T&&!T.done&&(u=I.return)&&u.call(I)}finally{if(l)throw l.error}}}if(null!=t)try{for(var R=__values(t.dictionary.relations.list),D=R.next();!D.done;D=R.next()){var P=D.value,x=P.name,F=this.getCorrectedAlias(t,P.alias),N;n?(x=x.stimulsoft.replaceAll(" ","").toLowerCase(),N=H.StiNameValidator.correctName(x,!0,t),P.name!=P.alias&&this.addWord(r.ref,x,F),H.StiNameValidator.correctName(P.name,!0,t)!=P.alias&&(this.addWord(r.ref,H.StiNameValidator.correctName(x,!0,t),F),this.addWord(r.ref,H.StiNameValidator.correctName(P.name,!0,t).toLowerCase(),F))):(F=F.stimulsoft.replaceAll(" ","").toLowerCase(),this.addWord(r.ref,F,H.StiNameValidator.correctName(x,!0,t)))}}catch(t){c={error:t}}finally{try{D&&!D.done&&(p=R.return)&&p.call(R)}finally{if(c)throw c.error}}if(null!=t)try{for(var k=__values(t.dictionary.variables.list),M=k.next();!M.done;M=k.next()){var O=M.value,_=O.name,j=this.getCorrectedAlias(t,O.alias),G;n?(_=_.stimulsoft.replaceAll(" ","").toLowerCase(),G=H.StiNameValidator.correctName(_,!0,t),O.name!=O.alias&&e.ref.set(_,j),H.StiNameValidator.correctName(O.name,!0,t)!=O.alias&&(e.ref.set(H.StiNameValidator.correctName(_,!0,t),j),e.ref.set(H.StiNameValidator.correctName(O.name,!0,t).toLowerCase(),j))):(j=j.stimulsoft.replaceAll(" ","").toLowerCase(),e.ref.set(j,H.StiNameValidator.correctName(_,!0,t)))}}catch(t){h={error:t}}finally{try{M&&!M.done&&(m=k.return)&&m.call(k)}finally{if(h)throw h.error}}},s.buildBusinessObject=function(t,e,r,n,i){var o,a,s,l,u=e.name,c=this.getCorrectedAlias(t,e.alias);i?(u=u.stimulsoft.replaceAll(" ","").toLowerCase(),e.name!=e.alias&&r.ref.set(u,c),H.StiNameValidator.correctName(e.name,!0,t)!=e.alias&&(r.ref.set(H.StiNameValidator.correctName(u,!0,t),c),r.ref.set(H.StiNameValidator.correctName(e.name,!0,t).toLowerCase(),c))):(c=c.stimulsoft.replaceAll(" ","").toLowerCase(),r.ref.set(c,H.StiNameValidator.correctName(u,!0,t)));try{for(var p=__values(e.columns.list),h=p.next();!h.done;h=p.next()){var m=h.value,d=m.name,g=this.getCorrectedAlias(t,m.alias),f;i?(d=d.stimulsoft.replaceAll(" ","").toLowerCase(),f=H.StiNameValidator.correctName(d,!0,t),m.name!=m.alias&&this.addWord(n.ref,d,new L(u,g)),H.StiNameValidator.correctName(m.name,!0,t)!=m.alias&&(this.addWord(n.ref,H.StiNameValidator.correctName(d,!0,t),new L(u,g)),this.addWord(n.ref,H.StiNameValidator.correctName(m.name,!0,t).toLowerCase(),new L(u,g)))):(g=g.stimulsoft.replaceAll(" ","").toLowerCase(),this.addWord(n.ref,g,new L(u,H.StiNameValidator.correctName(d,!0,t))))}}catch(t){o={error:t}}finally{try{h&&!h.done&&(a=p.return)&&a.call(p)}finally{if(o)throw o.error}}try{for(var S=__values(e.businessObjects.list),y=S.next();!y.done;y=S.next()){var A=y.value;this.buildBusinessObject(t,A,r,n,i)}}catch(t){s={error:t}}finally{try{y&&!y.done&&(l=S.return)&&l.call(S)}finally{if(s)throw s.error}}},t=s,n.StiExpressionPacker=t}(Stimulsoft=Stimulsoft||{});!function(t){var e,r,n,i,o,a;function s(){return null!==a&&a.apply(this,arguments)||this}r=e=t.Report||(t.Report={}),i=n=r.Dictionary||(r.Dictionary={}),o=t.Base.Localization.StiLocalization,r=t.Base.Services.StiService,__extends(s,a=r),Object.defineProperty(s.prototype,"serviceCategory",{get:function(){return o.get("Services","categoryDictionary")},enumerable:!1,configurable:!0}),Object.defineProperty(s.prototype,"serviceType",{get:function(){return s.stimulsoft.getType()},enumerable:!1,configurable:!0}),Object.defineProperty(s.prototype,"isObjectAdapter",{get:function(){return!1},enumerable:!1,configurable:!0}),s.prototype.getDatabaseSpecificName=function(t){return t},s.prototype.getDataCategoryName=function(t){return null},s.getDataAdapter=function(e){var t=StiOptions.Services.dataAdapters.where(function(t){return t.serviceEnabled}),r=null;if(null!=r)return r;return t.firstOrDefault(function(t){return t.getDataSourceType()==e.stimulsoft.getType()})},s.getDataAdapter2=function(t){var e,r;if(null==t||null==t.data)return null;var n=t.data.stimulsoft.getType();try{for(var i=__values(StiOptions.Services.dataAdapters.where(function(t){return t.serviceEnabled})),o=i.next();!o.done;o=i.next()){var a=o.value;if(null!=a&&a.isAdapterDataType(n))return a}}catch(t){e={error:t}}finally{try{o&&!o.done&&(r=i.return)&&r.call(i)}finally{if(e)throw e.error}}return null},s.prototype.create=function(t,e){return void 0===e&&(e=!0),null},s.prototype.getDataSourceType=function(){return null},s.prototype.getDataTypes=function(){return null},s.prototype.isAdapterDataType=function(t){var e,r;if(null==t)return!1;var n=this.getDataTypes();if(null==n)return!1;try{for(var i=__values(n),o=i.next(),a;!o.done;o=i.next()){if(o.value==t)return!0}}catch(t){e={error:t}}finally{try{o&&!o.done&&(r=i.return)&&r.call(i)}finally{if(e)throw e.error}}return!1},s.prototype.getColumnsFromDataAsync=function(t,e,r){return null},s.prototype.getColumnsFromData=function(t,e,r){return null},s.prototype.getParametersFromData=function(t,e){return},s.prototype.setDataSourceNames=function(t,e){},s.prototype.connectDataSourceToDataAsync=function(t,e,r){return null},s.prototype.connectDataSourceToData=function(t,e,r){},s.prototype.toString=function(){return this.serviceName},r=s,i.StiDataAdapterService=r}(Stimulsoft=Stimulsoft||{}),function(t){var e,n,r,i,o,a,t,s;function l(){return null!==s&&s.apply(this,arguments)||this}n=e=t.Report||(t.Report={}),i=r=n.Dictionary||(n.Dictionary={}),o=t.System.Activator,a=t.Base.Localization.StiLocalization,s=i.StiDataAdapterService,__extends(l,s),l.prototype.setDataSourceNames=function(t,e){e.stimulsoft.as(i.StiDataStoreSource).nameInSource=t.name},l.prototype.create=function(t,e){void 0===e&&(e=!0);var r=o.createInstance(this.getDataSourceType());return null!=r&&e&&(r.name=r.alias=n.StiNameCreation.createName(t.report,a.get("PropertyMain","DataSource")),t.dataSources.add(r)),r},t=l,i.StiDataStoreAdapterService=t}(Stimulsoft=Stimulsoft||{}),function(t){var e,r,n,i,o,a,s;function l(){return null!==s&&s.apply(this,arguments)||this}r=e=t.Report||(t.Report={}),i=n=r.Dictionary||(r.Dictionary={}),o=t.Base.Localization.StiLocalization,a=t.System.StiString,s=i.StiDataStoreAdapterService,__extends(l,s),Object.defineProperty(l.prototype,"serviceName",{get:function(){return a.format(o.get("Adapters","AdapterConnection"))},enumerable:!1,configurable:!0}),l.prototype.getDataCategoryName=function(t){return t.name},r=l,i.StiFileAdapterService=r}(Stimulsoft=Stimulsoft||{}),function(t){var e,r,n,h,m,d,g;function i(){}r=e=t.Report||(t.Report={}),h=n=r.Dictionary||(r.Dictionary={}),m=t.System.StiPromise,d=t.Base.StiBIDataCacheHelper,g=t.Base.StiBIDataCacheOptions,i.fetchAll=function(e,t){return t.dataSources.toList().where(function(t){return t.getCategoryName().toLowerCase()==e.name.toLowerCase()}).toList()},i.regData=function(t,e,r){if(this.existsInCache(t,e))return;t&&t.regData(e,r),this.regDataAfter(t,e,r)},i.regDataAsync=function(t,e,r){var n=this,i=new m;if(this.existsInCache(t,e))return i.callTry();return t?t.regDataAsync(e,r).try(function(){n.regDataAfterAsync(t,e,r).try(function(){i.callTry()})}):this.regDataAfterAsync(t,e,r).try(function(){i.callTry()}),i},i.regDataAfter=function(t,e,r){var n,i;if(!g.enabled)return;if(t&&t.is(h.StiFileDatabase)&&(r=!0),!r)return;var o=this.fetchAll(t,e);try{for(var a=__values(o),s=a.next();!s.done;s=a.next()){var l=s.value;if(d.exists(l.key))continue;l.connect(null,r),null!=l.dataTable&&0<l.dataTable.columns.count&&d.add(e.report,l.key,l.dataTable),l.disconnect()}}catch(t){n={error:t}}finally{try{s&&!s.done&&(i=a.return)&&i.call(a)}finally{if(n)throw n.error}}},i.regDataAfterAsync=function(t,e,r){var n,i,o=new m;if(!g.enabled)return o.callTry();if(t&&t.is(h.StiFileDatabase)&&(r=!0),!r)return o.callTry();var a=this.fetchAll(t,e),s=a.length,l=function(t){if(d.exists(t.key))return"continue";t.connectAsync(null,r).try(function(){null!=t.dataTable&&0<t.dataTable.columns.count&&d.add(e.report,t.key,t.dataTable),t.disconnect(),0==s&&o.callTry()})};try{for(var u=__values(a),c=u.next(),p;!c.done;c=u.next()){l(c.value)}}catch(t){n={error:t}}finally{try{c&&!c.done&&(i=u.return)&&i.call(u)}finally{if(n)throw n.error}}return 0==s&&o.callTry(),o},i.existsInCache=function(t,e){if(!g.enabled)return!1;var e=this.fetchAll(t,e);if(null==e)return!1;return e.all(function(t){return d.exists(t.key)})},i.getColumnsFromData=function(t,e,r){return t.getColumnsFromData(e,r,"")},i.getColumnsFromDataAsync=function(t,e,r){return t.getColumnsFromDataAsync(e,r,"")},i.connectDataSourceToData=function(t,e,r,n){if(g.enabled&&d.exists(r.key))return void(r.dataTable=d.get(r.key,n));t.connectDataSourceToData(e,r,n),g.enabled&&null!=r.dataTable&&0<r.dataTable.columns.count&&n&&d.add(e.report,r.key,r.dataTable)},i.connectDataSourceToDataAsync=function(t,e,r,n){var i=new m;if(g.enabled&&d.exists(r.key))return r.dataTable=d.get(r.key,n),i.callTry();var o=function(){g.enabled&&null!=r.dataTable&&0<r.dataTable.columns.count&&n&&d.add(e.report,r.key,r.dataTable)};return t.connectDataSourceToDataAsync(e,r,n).try(function(){o(),i.callTry()}).catch(function(t){o(),i.callCatch(t)}),i},i.retrieveDataAsync=function(t,e){return void 0===e&&(e=!1),t.retrieveDataAsync(e)},i.connect=function(t,e,r){void 0===r&&(r=!0),t.connect(e,r)},i.connectAsync=function(t,e,r){return void 0===r&&(r=!0),t.connectAsync(e,r)},i.connectAsync2=function(r,n,i){return void 0===i&&(i=!0),__awaiter(this,void 0,void 0,function(){return __generator(this,function(t){return[2,new Promise(function(t,e){r.connectAsync(n,i).try(function(){return t()}).catch(function(t){return e(t)})})]})})},i.disconnect=function(t){t.disconnect()},r=i,h.StiDataLeader=r}(Stimulsoft=Stimulsoft||{}),function(t){var e,p,r,h,m,o,d,t,n;function i(){return null!==n&&n.apply(this,arguments)||this}p=e=t.Report||(t.Report={}),h=r=p.Dictionary||(p.Dictionary={}),m=t.System.StiArray,o=t.Report.Dictionary.StiDataLeader,d=t.Base.StiCsvHelper,n=h.StiFileAdapterService,__extends(i,n),Object.defineProperty(i.prototype,"name",{get:function(){return"CSV"},enumerable:!1,configurable:!0}),i.prototype.getColumnsFromData=function(t,e){var r,n,i=new h.StiDataColumnsCollection,o=e.stimulsoft.as(h.StiCsvSource);if(null==o)return i;try{var a=d.getTable(o.path,o.codePage,o.separator);try{for(var s=__values(a.columns.list),l=s.next();!l.done;l=s.next()){var u=l.value,c=p.StiNameValidator.correctName(u.columnName);i.add(new h.StiDataColumn(c,u.caption,"",u.dataType))}}catch(t){r={error:t}}finally{try{l&&!l.done&&(n=s.return)&&n.call(s)}finally{if(r)throw r.error}}}catch(t){if(p.StiLogService.write(this.stimulsoft.getType(),t),!StiOptions.Engine.hideExceptions)throw t}return i},i.prototype.getParametersFromData=function(t,e){return new h.StiDataParametersCollection},i.prototype.setDataSourceNames=function(t,e){n.prototype.setDataSourceNames.call(this,t,e);var t,t=null==(t=e.path)||0==t.trim().length?"Csv":t.substr(t.lastIndexOf("."));e.name=t,e.alias=t},i.prototype.getDataSourceType=function(){return h.StiCsvSource},i.prototype.getDataTypes=function(){return[h.StiCsvSource]},i.prototype.connectDataSourceToData=function(t,e,r){try{o.disconnect(e);var n=e,i=d.getTable(n.path,n.codePage,n.separator);r||i.rows.clear(),i.tableName=n.name,e.dataTable=i,this.checkConvertNulls(n)}catch(t){if(p.StiLogService.write(this.stimulsoft.getType(),t),!StiOptions.Engine.hideExceptions)throw t}},i.prototype.checkConvertNulls=function(t){var e,r;if(null==t.dictionary||null==t.dictionary.report)return;if(!t.convertEmptyStringToNull)return;for(var n=t.dataTable,i=m.create(Boolean,n.columns.count),o=0;o<n.columns.count;o++){var a=n.columns.getByIndex(o),a=t.columns.getByName(a.columnName);null!=a&&a.type!=String&&(i[o]=!0)}try{for(var s=__values(n.rows.list),l=s.next();!l.done;l=s.next())for(var u=l.value,o=0,c;o<n.columns.count;o++){!i[o]||"string"==typeof(c=u.getValueByIndex(o))&&""==c&&u.setValueByIndex(o,null)}}catch(t){e={error:t}}finally{try{l&&!l.done&&(r=s.return)&&r.call(s)}finally{if(e)throw e.error}}},t=i,h.StiCsvAdapterService=t}(Stimulsoft=Stimulsoft||{}),function(e){var t,r,n,i,o,a;function s(){return null!==a&&a.apply(this,arguments)||this}r=t=e.Report||(e.Report={}),i=n=r.Dictionary||(r.Dictionary={}),o=e.Base.Localization.StiLocalization,a=i.StiDataStoreAdapterService,__extends(s,a),s.prototype.getDataCategoryName=function(t){return t.name},s.prototype.testConnection=function(t){try{return""}catch(t){return e.System.StiError.showError(t,!1),o.get("DesignerFx","ConnectionError")+": "+t.message}},r=s,i.StiNoSqlAdapterService=r}(Stimulsoft=Stimulsoft||{}),function(t){var e,r,n,i,o,a;function s(){return null!==a&&a.apply(this,arguments)||this}r=e=t.Report||(t.Report={}),i=n=r.Dictionary||(r.Dictionary={}),o=t.Report.Dictionary.StiDataLeader,a=i.StiNoSqlAdapterService,__extends(s,a),Object.defineProperty(s.prototype,"name",{get:function(){return"MongoDB"},enumerable:!1,configurable:!0}),s.prototype.getDataSourceType=function(){return i.StiMongoDbSource},s.prototype.getColumnsFromData=function(t,e){var r,n=e;return new i.StiDataColumnsCollection},s.prototype.connectDataSourceToData=function(t,e,r){if(o.disconnect(e),!r)return},r=s,i.StiMongoDbAdapterService=r}(Stimulsoft=Stimulsoft||{}),function(t){var e,r,n,i,o,a,s,l;function u(){var t=null!==l&&l.apply(this,arguments)||this;return t.serviceName=o.format(s.get("Adapters","AdapterConnection"),s.get("PropertyMain","DataTransformation")),t.isObjectAdapter=!0,t}r=e=t.Report||(t.Report={}),i=n=r.Dictionary||(r.Dictionary={}),o=t.System.StiString,a=t.Report.Dictionary.StiDataLeader,s=t.Base.Localization.StiLocalization,l=i.StiDataStoreAdapterService,__extends(u,l),u.prototype.edit=function(t,e){throw new Error("NotImplementedException")},u.prototype.new=function(t,e){throw new Error("NotImplementedException")},u.prototype.getDataTypes=function(){return null},u.prototype.getColumnsFromData=function(t,e){return new i.StiDataColumnsCollection},u.prototype.getParametersFromData=function(t,e){return new i.StiDataParametersCollection},u.prototype.getDataCategoryName=function(t){return this.serviceName},u.prototype.getDataSourceType=function(){return i.StiDataTransformation},u.prototype.connectDataSourceToData=function(t,e,r){a.disconnect(e)},r=u,i.StiDataTransformationAdapterService=r}(Stimulsoft=Stimulsoft||{}),function(t){var e,r,n,i,o,a,s,l;function u(){return null!==l&&l.apply(this,arguments)||this}r=e=t.Report||(t.Report={}),i=n=r.Dictionary||(r.Dictionary={}),o=t.Report.Dictionary.StiDataLeader,a=t.Base.Localization.StiLocalization,s=t.System.StiPromise,l=i.StiDataStoreAdapterService,__extends(u,l),Object.defineProperty(u.prototype,"serviceName",{get:function(){return a.get("Adapters","AdapterVirtualSource")},enumerable:!1,configurable:!0}),Object.defineProperty(u.prototype,"isObjectAdapter",{get:function(){return!0},enumerable:!1,configurable:!0}),u.prototype.getDataTypes=function(){return null},u.prototype.getColumnsFromDataAsync=function(t,e,r){var n=new s;return n.callTry(new i.StiDataColumnsCollection),n},u.prototype.getColumnsFromData=function(t,e,r){return new i.StiDataColumnsCollection},u.prototype.getParametersFromData=function(t,e){return new i.StiDataParametersCollection},u.prototype.getDataCategoryName=function(t){return this.serviceName},u.prototype.getDataSourceType=function(){return i.StiVirtualSource},u.prototype.connectDataSourceToDataAsync=function(t,e,r){var n=new s;return o.disconnect(e),n.callTry(),n},u.prototype.connectDataSourceToData=function(t,e,r){o.disconnect(e)},r=u,i.StiVirtualAdapterService=r}(Stimulsoft=Stimulsoft||{}),function(s){var t,e,r,d,n,u,c,l,p,h,m,o,i;function a(){return null!==i&&i.apply(this,arguments)||this}e=t=s.Report||(s.Report={}),d=r=e.Dictionary||(e.Dictionary={}),n=s.Base.StiDataWorldConnector,u=s.Report.Dictionary.StiDataLeader,c=s.System.Data.DataTable,l=s.System.StiPromise,p=s.Base.StiDataSchema,h=s.System.StiString,m=s.Base.StiDataWorldHelper,o=s.Base.Localization.StiLocalization,i=d.StiNoSqlAdapterService,__extends(a,i),a.prototype.getDataSourceType=function(){return d.StiDataWorldSource},a.prototype.createConnector=function(t){return n.get(t)},a.prototype.getColumnsFromData=function(t,e){for(var r,n,i=new d.StiDataColumnsCollection,o=e,a,s=0;s<e.dictionary.databases.count;s++){var l=e.dictionary.databases.getByIndex(s).stimulsoft.as(d.StiDatabase);if(null!=l&&l.name==o.nameInSource){a=l.stimulsoft.as(d.StiDataWorldDatabase);break}}if(null==a)return i;var u,c=this.createConnector(a.connectionString).getColumns(o.name);try{for(var p=__values(c),h=p.next();!h.done;h=p.next()){var m=h.value;i.add(new d.StiDataColumn(m.name,m.name,"",m.type))}}catch(t){r={error:t}}finally{try{h&&!h.done&&(n=p.return)&&n.call(p)}finally{if(r)throw r.error}}return i},a.prototype.getParametersFromData=function(t,e){return new d.StiDataParametersCollection},a.prototype.connectDataSourceToDataAsync=function(t,e,r){var n=new l,i=this;return setTimeout(function(){try{i.connectDataSourceToData(t,e,r),n.callTry()}catch(t){s.System.StiError.showError(t,!1),n.callCatch(t.message)}}),n},a.prototype.connectDataSourceToData=function(t,e,r){if(u.disconnect(e),!r)return void(e.dataTable=new c);for(var n=e.stimulsoft.as(d.StiDataWorldSource),i,o=0;o<t.databases.count;o++){var a=t.databases.getByIndex(o).as(d.StiDataWorldDatabase);if(null!=a&&a.name==n.nameInSource){i=a;break}}var s=this.createConnector(i.connectionString);if(null==s)return;var r=n.query,l=t.report;e.dataTable=s.getDataTable(n.name,r)},a.prototype.testConnectionAsync=function(t,e){var r=new l;try{var n,i=new m(e).testConnection();1==i.success?r.callTry(o.get("DesignerFx","ConnectionSuccessfull")):r.callCatch(o.get("DesignerFx","ConnectionError")+": "+i.notice)}catch(t){s.System.StiError.showError(t,!1),r.callCatch(o.get("DesignerFx","ConnectionError")+": "+t.message)}return r},a.prototype.retrieveSchemaAsync=function(t,e,r,n){void 0===n&&(n=null);var i=new l;if(h.isNullOrEmpty(r))return i.callCatch("The connection string is empty."),i;var o=new p;try{var a,o=new m(r).retrieveSchema();i.callTry(o)}catch(t){s.System.StiError.showError(t,!1),i.callCatch(t.message)}return i},e=a,d.StiDataWorldAdapterService=e}(Stimulsoft=Stimulsoft||{}),function(f){var t,a,e,u,S,s,g,y,A,b,n,C,v,w,r,i;function h(){return i.call(this)||this}a=t=f.Report||(f.Report={}),u=e=a.Dictionary||(a.Dictionary={}),S=f.System.StiString,s=f.Report.Dictionary.StiDataLeader,g=f.System.Data.DataColumn,y=f.Base.StiDataColumnSchema,A=f.Base.StiDataTableSchema,b=f.System.Collections.Hashtable,n=f.Base.StiDataSchema,C=f.System.Data.DataTable,v=f.Base.Localization.StiLocalization,w=f.System.StiPromise,i=u.StiDataStoreAdapterService,__extends(h,i),Object.defineProperty(h.prototype,"url",{get:function(){return StiOptions.WebServer.url},enumerable:!1,configurable:!0}),Object.defineProperty(h.prototype,"serviceName",{get:function(){return S.format(v.get("Adapters","AdapterConnection"),this.name)},enumerable:!1,configurable:!0}),Object.defineProperty(h.prototype,"name",{get:function(){return"MS SQL"},enumerable:!1,configurable:!0}),h.prototype.getDatabaseSpecificName=function(t){return S.format("[{0}]",t)},h.prototype.getDataCategoryName=function(t){return t.name},h.prototype.getColumnsFromDataAsync=function(t,e,r){var s=new w,l=new u.StiDataColumnsCollection,n=e,i;try{S.isNullOrEmpty(n.sqlCommand)?s.callCatch():(i=n.type==u.StiSqlSourceType.StoredProcedure)||1&&this.retrieveDataAsync(n.dictionary.report,n,r,n.sqlCommand).try(function(t){var e,r;try{for(var n=__values(t.columns.list),i=n.next();!i.done;i=n.next()){var o=i.value,a=o.dataType;l.add(new u.StiDataColumn(o.columnName,o.columnName,o.columnName,a))}}catch(t){e={error:t}}finally{try{i&&!i.done&&(r=n.return)&&r.call(n)}finally{if(e)throw e.error}}s.callTry(l)}).catch(function(t){s.callCatch(t)}).abort(s)}catch(t){f.System.StiError.showError(t,!1),a.StiLogService.write(this.stimulsoft.getType(),t)}return s},h.prototype.getParametersFromData=function(t,e){var r=new u.StiDataParametersCollection,n=e;if(n.type==u.StiSqlSourceType.StoredProcedure)try{S.isNullOrEmpty(n.sqlCommand)}catch(t){}return r},h.prototype.getDataSourceType=function(){return u.StiSqlSource},h.prototype.connectDataSourceToDataAsync=function(t,e,r){var n=new w;if(s.disconnect(e),!r)return e.dataTable=new C,n.callTry(),n;var i=e,o=i.nameInSource.toLowerCase();try{s.retrieveDataAsync(i,!r).try(function(){n.callTry()}).catch(function(t){n.callCatch(t)}).abort(n)}catch(t){f.System.StiError.showError(t,!1),n.callCatch(t),a.StiLogService.write(this.stimulsoft.getType(),t)}return n},h.getStringCommand=function(t){var t=JSON.stringify(t);if(!StiOptions.WebServer.encryptData)return t;return f.System.Convert.toBase64String(t).replace(/[A-Za-z]/g,function(t){return String.fromCharCode(t.charCodeAt(0)+(t.toUpperCase()<="M"?13:-13))})},h.prototype.callRemoteApi=function(t,e){var r,n,i=new w;t.rnd=Math.random();try{if(S.isNullOrEmpty(this.url))i.callCatch('An URL to the data adapter should be specified to get data from SQL database.</br>Please, read the <a href="https://www.stimulsoft.com/en/documentation/online/programming-manual/reports_js_engine_connecting_sql_data_bases.htm">manual</a> for additional information.');else{var o=new XMLHttpRequest;if(o.open("post",this.url,!0),o.timeout=e,t.headers)try{for(var a=__values(t.headers),s=a.next();!s.done;s=a.next()){var l=s.value;o.setRequestHeader(l.key,l.value)}}catch(t){r={error:t}}finally{try{s&&!s.done&&(n=a.return)&&n.call(a)}finally{if(r)throw r.error}}delete t.headers,o.onload=function(){var t;200==o.status&&(t=o.responseText,o.abort(),i.callTry(t))},o.onerror=function(t){i.callCatch(v.get("DesignerFx","ConnectionError"))};var u=h.getStringCommand(t);o.send(u)}}catch(t){f.System.StiError.showError(t,!1),i.callCatch(t.message)}return i.catch(function(t){o&&o.abort()}),i.onAbort(function(){o&&o.abort()}),i},h.prototype.process=function(c,t){var r=this,n=new w;h.callTurn.stimulsoft.insert(0,{command:t,timeout:t.timeout,promise:n});var p=function(){var u,e;0<h.callTurn.length&&(u=h.callTurn.stimulsoft.peek(),e=function(t){var e,r,n=t;try{if("string"==typeof t&&(n=JSON.parse(t)),Object.prototype.hasOwnProperty.call(n,"types")&&null!=n.types&&n.types instanceof Array)for(var i in n.types)if("array"==n.types[i])try{for(var o=(e=void 0,__values(n.rows)),a=o.next();!a.done;a=o.next()){var s=a.value;s[i]=f.System.Convert.fromBase64String(s[i])}}catch(t){e={error:t}}finally{try{a&&!a.done&&(r=o.return)&&r.call(o)}finally{if(e)throw e.error}}}catch(t){n={success:!1,notice:"Error Parse."}}var l={result:n};c.invokeEndProcessData(l),l.result.success?u.promise.callTry(l.result):u.promise.callCatch(l.result),h.callTurn.pop(),p()},u.command.preventDefault=!1,c.invokeBeginProcessData(u.command,e),0==u.command.preventDefault&&(delete u.command.preventDefault,r.callRemoteApi(u.command,u.timeout).timeout(u.timeout).try(function(t){try{e(t)}catch(t){f.System.StiError.showError(t,!1),u.promise.callCatch({success:!1,notice:t.message}),h.callTurn.pop(),p()}}).catch(function(t){u.promise.callCatch({success:!1,notice:t}),h.callTurn.pop(),p()}).abort(n)))};return 1==h.callTurn.length&&p(),n.onAbort(function(){for(var t=0;t<h.callTurn.length;t++)if(h.callTurn[t].promise==n)return void h.callTurn.splice(t,1)}),n},h.prototype.testConnectionAsync=function(t,e){var r=new w;if(S.isNullOrEmpty(e))return r.callCatch(v.get("DesignerFx","ConnectionError")+": Connection string empty"),r;var e={command:"TestConnection",connectionString:e,database:this.name,headers:[],timeout:1e4};return this.process(t,e).try(function(t){r.callTry(v.get("DesignerFx","ConnectionSuccessfull"))}).catch(function(t){r.callCatch(v.get("DesignerFx","ConnectionError")+": "+t.notice)}).abort(r),r},h.prototype.createConnectionInDataStore=function(t,e){try{if(null==e.name)return;var r=t.dataStore.toList().firstOrDefault(function(t){return null!=t.name&&t.name.toLowerCase()==e.name.toLowerCase()});null!=r&&t.dataStore.remove(r),(r=new u.StiData(e.name,null)).isReportData=!0,t.dataStore.add(r)}catch(t){f.System.StiError.showError(t,!1),a.StiLogService.write(this.stimulsoft.getType(),t)}},h.prototype.retrieveSchemaAsync=function(c,t,e,r){void 0===r&&(r=null);var p=new w;if(S.isNullOrEmpty(e))return p.callCatch(v.get("DesignerFx","ConnectionError")+": Connection string empty"),p;var h={command:"ExecuteQuery",connectionString:e,queryString:(r=r||"SELECT TABLE_NAME, TABLE_TYPE FROM INFORMATION_SCHEMA.TABLES").stimulsoft.replaceAll("\t"," ").stimulsoft.replaceAll("\\t"," ").stimulsoft.replaceAll("\r"," ").stimulsoft.replaceAll("\n"," "),database:this.name,headers:[],timeout:t?1e3*t.commandTimeout:30*1e3},r,r;t&&(-1==(r=t.nameInSource.indexOf("."))&&(r=t.nameInSource.length),r=t.nameInSource.substring(0,r),h.dataSource=t.name,h.connection=r);var m=this,d=new n;m.process(c,h).try(function(t){var e,r,u=new b,n="";try{for(var i=__values(t.rows),o=i.next();!o.done;o=i.next()){var a=o.value,s=a[t.columns.indexOf("TABLE_NAME")],l=a[t.columns.indexOf("TABLE_TYPE")],a=A.newTableOrView(s);u.set(s,a),S.isNullOrEmpty(n)?n=" WHERE ":n+=" OR ",n+="TABLE_NAME='"+s+"'","BASE TABLE"==l&&d.tables.add(a),"VIEW"==l&&d.views.add(a)}}catch(t){e={error:t}}finally{try{o&&!o.done&&(r=i.return)&&r.call(i)}finally{if(e)throw e.error}}if(n.length<=0)return void g(d);h.queryString="SELECT TABLE_NAME, COLUMN_NAME, DATA_TYPE FROM INFORMATION_SCHEMA.COLUMNS"+n,m.process(c,h).try(function(t){var e,r;try{for(var n=__values(t.rows),i=n.next();!i.done;i=n.next()){var o=i.value,a=o[t.columns.indexOf("TABLE_NAME")],s=o[t.columns.indexOf("COLUMN_NAME")],l=o[t.columns.indexOf("DATA_TYPE")],o=String;switch(l.toLowerCase()){case"bigint":o=f.System.Int64;break;case"numeric":case"bit":o=f.System.Int16;break;case"smallint":o=f.System.Int16;break;case"decimal":o=f.System.Decimal;break;case"smallmoney":o=f.System.Decimal;break;case"int":o=f.System.Int32;break;case"tinyint":o=f.System.Int16;break;case"money":o=f.System.Decimal;break;case"float":case"real":o=f.System.Float;break;case"date":case"datetimeoffset":case"datetime2":case"smalldatetime":case"datetime":case"time":o=f.System.DateTime;break;case"char":case"varchar":case"text":case"nchar":case"nvarchar":case"ntext":case"binary strings":o=String;break;case"binary":case"varbinary":case"image":o=f.System.ByteArray;break;case"cursor":case"timestamp":case"hierarchyid":case"uniqueidentifier":case"sql_variant":case"xml":case"table":case"spatial types":}var o=new y(s,o),a=u.get(a).stimulsoft.as(A);null!=a&&a.columns.push(o)}}catch(t){e={error:t}}finally{try{i&&!i.done&&(r=n.return)&&r.call(n)}finally{if(e)throw e.error}}}).catch(function(t){f.System.StiError.showError(t.notice)}).finally(function(t){g(d)}).abort(p)}).catch(function(t){p.callCatch(t.notice)}).abort(p);var g=function(s){h.queryString="SELECT ROUTINE_NAME FROM INFORMATION_SCHEMA.ROUTINES WHERE ROUTINE_TYPE='PROCEDURE'",m.process(c,h).try(function(t){var e,r;try{for(var n=__values(t.rows),i=n.next();!i.done;i=n.next()){var o,a=i.value[t.columns.indexOf("ROUTINE_NAME")],a=A.newProcedure(a);s.storedProcedures.add(a)}}catch(t){e={error:t}}finally{try{i&&!i.done&&(r=n.return)&&r.call(n)}finally{if(e)throw e.error}}p.callTry(s)}).catch(function(t){p.callCatch(t.notice)}).abort(p)};return p},h.prototype.retrieveDataAsync=function(t,e,r,n){var h=new w;S.isNullOrEmpty(r)&&(r=""),S.isNullOrEmpty(n)&&(n="");var m={command:"ExecuteQuery",connectionString:r,queryString:n.stimulsoft.replaceAll("\t"," ").stimulsoft.replaceAll("\\t"," ").stimulsoft.replaceAll("\r"," ").stimulsoft.replaceAll("\n"," "),database:this.name,headers:[],timeout:e?1e3*e.commandTimeout:30*1e3},n,n,d;return e&&(-1==(n=e.nameInSource.indexOf("."))&&(n=e.nameInSource.length),n=e.nameInSource.substring(0,n),m.dataSource=e.name,m.connection=n),this.process(t,m).try(function(t){var e,r;try{for(var n in d=new C(S.isNullOrEmpty(m.dataSource)?"table1":m.dataSource),t.columns){var i=t.columns[n],o=String;if(Object.prototype.hasOwnProperty.call(t,"types")&&null!=t.types)switch(t.types[n]){case"boolean":o=Boolean;break;case"int":o=f.System.Int32;break;case"number":o=f.System.Decimal;break;case"string":o=String;break;case"array":o=f.System.ByteArray;break;case"datetime":o=f.System.DateTime;break}var a=new g(i,o);d.columns.add(a)}try{for(var s=__values(t.rows),l=s.next();!l.done;l=s.next()){var u=l.value,c=d.addNewRow(),n;for(n in u){var a=d.columns.getByIndex(n.stimulsoft.toNumber()),p=u[n];c.setValue(a,p)}}}catch(t){e={error:t}}finally{try{l&&!l.done&&(r=s.return)&&r.call(s)}finally{if(e)throw e.error}}h.callTry(d)}catch(t){f.System.StiError.showError(t,!1),h.callCatch(t.message)}}).catch(function(t){h.callCatch(t.notice)}).abort(h),h},h.callTurn=[],r=h,u.StiSqlAdapterService=r}(Stimulsoft=Stimulsoft||{}),function(t){var e,p,r,h,o,a,m,n,t,i;function s(){return null!==i&&i.apply(this,arguments)||this}p=e=t.Report||(t.Report={}),h=r=p.Dictionary||(p.Dictionary={}),o=t.System.Data.DataColumn,a=t.System.Data.DataTable,m=t.System.StiString,n=t.Base.StiQuickBooksConnector,t=t.Report.Dictionary.StiSqlAdapterService,__extends(s,i=t),s.prototype.getDataSourceType=function(){return h.StiQuickBooksSource},s.prototype.createConnector=function(t){return void 0===t&&(t=null),new n(t)},s.prototype.getColumnsFromData=function(t,e){var r,n,i=new h.StiDataColumnsCollection,o=e;try{if(!m.isNullOrEmpty(o.sqlCommand)){var a,s=t.viewData.getDataTable(null,o.sqlCommand);try{for(var l=__values(s.columns.list),u=l.next();!u.done;u=l.next()){var c=u.value;i.add(new h.StiDataColumn(c.columnName,c.columnName,c.columnName,c.dataType))}}catch(t){r={error:t}}finally{try{u&&!u.done&&(n=l.return)&&n.call(l)}finally{if(r)throw r.error}}}}catch(t){if(p.StiLogService.write(this.stimulsoft.getType(),t),!StiOptions.Engine.hideExceptions)throw t}return i},s.prototype.getParametersFromData=function(t,e){return new h.StiDataParametersCollection},s.prototype.connectDataSourceToData=function(t,e,r){if(!r)return;h.StiDataLeader.disconnect(e);var n=e,e=t.databases.toList().firstOrDefault(function(t){return t.name==n.nameInSource});if(null==e)return;var t=this.createConnector(e.connectionString),i=new a(n.name);n.columns.toList().forEach(function(t){return i.columns.add(new o(t.name,t.type))}),t.fillDataTable(i,n.sqlCommand),e.connectionString=t.connectionString,n.dataTable=i},s.prototype.createConnectionInDataStore=function(t,e){try{if(null==e.name)return;var r=t.dataStore.toList().firstOrDefault(function(t){return null!=t.name&&t.name.toLowerCase()==e.name.toLowerCase()});null!=r&&t.dataStore.remove(r);var r=this.createConnector(e.connectionString),r=new h.StiData(e.name,r);r.isReportData=!0,t.dataStore.add(r)}catch(t){if(p.StiLogService.write(this.stimulsoft.getType(),t),!StiOptions.Engine.hideExceptions)throw t}},t=s,h.StiQuickBooksAdapterService=t}(Stimulsoft=Stimulsoft||{}),function(l){var t,e,r,u,c,p,o,h,m,d,g,f,n;function i(){return null!==n&&n.apply(this,arguments)||this}e=t=l.Report||(l.Report={}),u=r=e.Dictionary||(e.Dictionary={}),c=l.System.StiString,p=l.Report.Dictionary.StiDataLeader,o=l.Base.Localization.StiLocalization,h=l.System.Data.DataTable,m=l.System.Data.DataColumn,d=l.Base.StiODataHelper,g=l.Base.StiDataSchema,f=l.System.StiPromise,n=u.StiSqlAdapterService,__extends(i,n),Object.defineProperty(i.prototype,"serviceName",{get:function(){return o.get("Adapters","AdapterDataTables")},enumerable:!1,configurable:!0}),Object.defineProperty(i.prototype,"name",{get:function(){return"QuickBooks"},enumerable:!1,configurable:!0}),i.prototype.getDataSourceType=function(){return u.StiODataSource},i.prototype.connectDataSourceToDataAsync=function(t,e,r){var n=new f,i=this;return setTimeout(function(){try{i.connectDataSourceToData(t,e,r),n.callTry()}catch(t){l.System.StiError.showError(t,!1),n.callCatch(t.message)}}),n},i.prototype.connectDataSourceToData=function(t,e,r){if(!r)return;p.disconnect(e);for(var n=e.stimulsoft.as(u.StiODataSource),i,o=0;o<t.databases.count;o++){var a=t.databases.getByIndex(o).stimulsoft.as(u.StiODataDatabase);if(null!=a&&a.name==n.nameInSource){i=a;break}}if(null==i)return;for(var s=new h(n.name),o=0;o<n.columns.count;o++){var l=n.columns.getByIndex(o);s.columns.add(new m(l.name,l.type))}var r={database:this.serviceName,command:"ExecuteQuery",connectionString:u.StiFileDatabase.parsePathExpression(t,i.connectionString),preventDefault:!1,headers:[]},e=function(t){var e=new d(t.connectionString);e.headers=t.headers,e.fillDataTable(s,n.sqlCommand),n.dataTable=s};t.report.invokeBeginProcessData(r,e),0==r.preventDefault&&e(r)},i.prototype.testConnectionAsync=function(t,e){var r=new f;try{var n,i=new d(u.StiFileDatabase.parsePathExpression(t.dictionary,e)).testConnection();1==i.success?r.callTry(o.get("DesignerFx","ConnectionSuccessfull")):r.callCatch(o.get("DesignerFx","ConnectionError")+": "+i.notice)}catch(t){l.System.StiError.showError(t,!1),r.callCatch(o.get("DesignerFx","ConnectionError")+": "+t.message)}return r},i.prototype.retrieveSchemaAsync=function(t,e,r,n){void 0===n&&(n=null);var i=new f;if(c.isNullOrEmpty(r))return i.callCatch("The connection string is empty."),i;var o=new g;try{var a={database:this.serviceName,command:"ExecuteQuery",connectionString:u.StiFileDatabase.parsePathExpression(t.dictionary,r),preventDefault:!1,headers:[]},s=function(t){var e=new d(t.connectionString);e.headers=t.headers,o=e.retrieveSchema(),i.callTry(o)};t.invokeBeginProcessData(a,s),0==a.preventDefault&&s(a)}catch(t){l.System.StiError.showError(t,!1),i.callCatch(t.message)}return i},e=i,u.StiODataAdapterService=e}(Stimulsoft=Stimulsoft||{}),function(f){var t,e,r,n,S,y,A,b,C,i,o,a;function s(){return null!==a&&a.apply(this,arguments)||this}e=t=f.Report||(f.Report={}),n=r=e.Dictionary||(e.Dictionary={}),S=f.System.StiString,y=f.Base.StiDataSchema,A=f.Base.StiDataColumnSchema,b=f.Base.StiDataTableSchema,C=f.System.Collections.Hashtable,i=f.Base.Localization.StiLocalization,o=f.System.StiPromise,a=n.StiSqlAdapterService,__extends(s,a),Object.defineProperty(s.prototype,"name",{get:function(){return"Firebird"},enumerable:!1,configurable:!0}),s.prototype.getDataSourceType=function(){return n.StiFirebirdSource},s.prototype.retrieveSchemaAsync=function(h,t,e,r){void 0===r&&(r=null);var m=new o;if(S.isNullOrEmpty(e))return m.callCatch(i.get("DesignerFx","ConnectionError")+": Connection string empty"),m;var d={command:"ExecuteQuery",connectionString:e,queryString:r=r||"SELECT RDB$RELATION_NAME, RDB$VIEW_BLR FROM RDB$RELATIONS WHERE (RDB$SYSTEM_FLAG IS NULL OR RDB$SYSTEM_FLAG = 0)",database:this.name,headers:[],timeout:t?1e3*t.commandTimeout:30*1e3},r,r;t&&(-1==(r=t.nameInSource.indexOf("."))&&(r=t.nameInSource.length),r=t.nameInSource.substring(0,r),d.dataSource=t.name,d.connection=r);var g=this;return g.process(h,d).try(function(t){for(var e,r,n=new y,c=new C,i="",o=0;o<t.columns.length;o++)t.columns[o]=t.columns[o].toLowerCase();try{for(var a=__values(t.rows),s=a.next();!s.done;s=a.next()){var l=s.value,u=l[t.columns.indexOf("rdb$relation_name")].trim(),p=l[t.columns.indexOf("rdb$view_blr")],l=b.newTableOrView(u);c.set(u,l),S.isNullOrEmpty(i)?i=" AND (":i+=" OR ",i+="b.RDB$RELATION_NAME='"+u+"'",(null==p?n.tables:n.views).add(l)}}catch(t){e={error:t}}finally{try{s&&!s.done&&(r=a.return)&&r.call(a)}finally{if(e)throw e.error}}S.isNullOrEmpty(i)||(i+=") "),d.queryString="SELECT b.RDB$FIELD_NAME, d.RDB$TYPE_NAME, b.RDB$RELATION_NAME "+"FROM RDB$RELATIONS a "+"INNER JOIN RDB$RELATION_FIELDS b "+"ON a.RDB$RELATION_NAME = b.RDB$RELATION_NAME "+"INNER JOIN RDB$FIELDS c "+"ON b.RDB$FIELD_SOURCE = c.RDB$FIELD_NAME "+"INNER JOIN RDB$TYPES d "+"ON c.RDB$FIELD_TYPE = d.RDB$TYPE "+"WHERE a.RDB$SYSTEM_FLAG = 0 "+"AND d.RDB$FIELD_NAME = 'RDB$FIELD_TYPE'"+i+"ORDER BY a.RDB$RELATION_NAME, b.RDB$FIELD_ID",g.process(h,d).try(function(t){for(var e,r,n=0;n<t.columns.length;n++)t.columns[n]=t.columns[n].toLowerCase();try{for(var i=__values(t.rows),o=i.next();!o.done;o=i.next()){var a=o.value,s=a[t.columns.indexOf("rdb$relation_name")].trim(),l=a[t.columns.indexOf("rdb$field_name")].trim(),u=a[t.columns.indexOf("rdb$type_name")].trim(),a=String;switch(u){case"BLOB":a=f.System.ByteArray;break;case"CHAR":case"CHARACTER":case"VARCHAR":case"VARYING":case"CHAR VARYING":case"CHARACTER VARYING":case"NCHAR":case"NATIONAL CHAR":case"NATIONAL CHARACTER":a=String;break;case"DATE":case"TIME":case"TIMESTAMP":a=f.System.DateTime;break;case"DECIMAL":a=f.System.Decimal;break;case"LONG":a=f.System.Long;break;case"SHORT":a=f.System.Short;break;case"DOUBLE PRECISION":a=f.System.Double;break;case"FLOAT":a=f.System.Float;break;case"INT64":a=f.System.Int64;break;case"INTEGER":a=f.System.Int32;break;case"NUMERIC":a=f.System.Int64;break;case"SMALLINT":a=f.System.Int16;break}var a=new A(l,a),s=c.get(s).stimulsoft.as(b);null!=s&&s.columns.push(a)}}catch(t){e={error:t}}finally{try{o&&!o.done&&(r=i.return)&&r.call(i)}finally{if(e)throw e.error}}}).catch(function(t){f.System.StiError.showError(t.notice)}).finally(function(t){m.callTry(n)})}).catch(function(t){m.callCatch(t.notice)}).abort(m),m},e=s,n.StiFirebirdAdapterService=e}(Stimulsoft=Stimulsoft||{}),function(f){var t,e,r,n,S,y,A,b,C,u,c,i;function o(){return null!==i&&i.apply(this,arguments)||this}e=t=f.Report||(f.Report={}),n=r=e.Dictionary||(e.Dictionary={}),S=f.System.StiString,y=f.Base.StiDataSchema,A=f.Base.StiDataColumnSchema,b=f.Base.StiDataTableSchema,C=f.System.Collections.Hashtable,u=f.Base.Localization.StiLocalization,c=f.System.StiPromise,i=n.StiSqlAdapterService,__extends(o,i),Object.defineProperty(o.prototype,"name",{get:function(){return"MySQL"},enumerable:!1,configurable:!0}),o.prototype.getDatabaseSpecificName=function(t){return S.format("`{0}`",t)},o.prototype.getDataSourceType=function(){return n.StiMySqlSource},o.prototype.retrieveSchemaAsync=function(p,t,e,r){var n,i;void 0===r&&(r=null);var h=new c;if(S.isNullOrEmpty(e))return h.callCatch(u.get("DesignerFx","ConnectionError")+": Connection string empty"),h;var m={command:"ExecuteQuery",connectionString:e,queryString:r,database:this.name,headers:[],timeout:t?1e3*t.commandTimeout:30*1e3},r,r;t&&(-1==(r=t.nameInSource.indexOf("."))&&(r=t.nameInSource.length),r=t.nameInSource.substring(0,r),m.dataSource=t.name,m.connection=r);var o="";try{for(var a=__values(e.split(";")),s=a.next();!s.done;s=a.next()){var l=s.value;if(l){var l=l.split("=");if(l&&2<=l.length)switch(l[0]=l[0].trim().toLowerCase(),l[1]=l[1].trim(),l[0]){case"database":case"data source":o=l[1];break}}}}catch(t){n={error:t}}finally{try{s&&!s.done&&(i=a.return)&&i.call(a)}finally{if(n)throw n.error}}null==m.queryString&&(m.queryString="SELECT TABLE_NAME, TABLE_TYPE FROM INFORMATION_SCHEMA.TABLES WHERE TABLE_SCHEMA = '"+o+"'");var d=this;d.process(p,m).try(function(t){var e,r,n=new y,u=new C,i="";try{for(var o=__values(t.rows),a=o.next();!a.done;a=o.next()){var s=a.value,l=s[t.columns.indexOf("TABLE_NAME")],c=s[t.columns.indexOf("TABLE_TYPE")],s=b.newTableOrView(l);u.set(l,s),S.isNullOrEmpty(i)?i=" WHERE ":i+=" OR ",i+="TABLE_NAME='"+l+"'","BASE TABLE"==c&&n.tables.add(s),"VIEW"==c&&n.views.add(s)}}catch(t){e={error:t}}finally{try{a&&!a.done&&(r=o.return)&&r.call(o)}finally{if(e)throw e.error}}if(i.length<=0)return void g(n);m.queryString="SELECT TABLE_NAME, COLUMN_NAME, COLUMN_TYPE FROM INFORMATION_SCHEMA.COLUMNS"+i,d.process(p,m).try(function(t){var e,r;try{for(var n=__values(t.rows),i=n.next();!i.done;i=n.next()){var o=i.value,a=o[t.columns.indexOf("TABLE_NAME")],s=o[t.columns.indexOf("COLUMN_NAME")],l=o[t.columns.indexOf("COLUMN_TYPE")],o=String;switch(0<l.indexOf("(")&&(l=l.substr(0,l.indexOf("("))),0<l.indexOf(" ")&&(l=l.substr(0,l.indexOf(" "))),l.toUpperCase()){case"CHAR":case"VARCHAR":case"TINYTEXT":case"TEXT":case"MEDIUMTEXT":case"LONGTEXT":o=String;break;case"BLOB":case"MEDIUMBLOB":case"LONGBLOB":o=f.System.ByteArray;break;case"ENUM":case"SET":o=String;break;case"TINYINT":o=f.System.Int16;break;case"SMALLINT":o=f.System.Int16;break;case"MEDIUMINT":o=f.System.Int32;break;case"INT":o=f.System.Int16;break;case"BIGINT":o=f.System.Int64;break;case"FLOAT":o=f.System.Float;break;case"DOUBLE":o=f.System.Double;break;case"DECIMAL":o=f.System.Decimal;break;case"DATE":case"DATETIME":case"TIMESTAMP":case"TIME":case"YEAR":o=f.System.DateTime;break}var o=new A(s,o),a=u.get(a);null!=a&&a.columns.push(o)}}catch(t){e={error:t}}finally{try{i&&!i.done&&(r=n.return)&&r.call(n)}finally{if(e)throw e.error}}}).catch(function(t){f.System.StiError.showError(t.notice)}).finally(function(t){g(n)}).abort(h)}).catch(function(t){h.callCatch(t.notice)}).abort(h);var g=function(s){m.queryString="SELECT ROUTINE_NAME FROM INFORMATION_SCHEMA.ROUTINES WHERE ROUTINE_TYPE='PROCEDURE' AND ROUTINE_SCHEMA = '"+o+"'",d.process(p,m).try(function(t){var e,r;try{for(var n=__values(t.rows),i=n.next();!i.done;i=n.next()){var o,a=i.value[t.columns.indexOf("ROUTINE_NAME")],a=b.newProcedure(a);s.storedProcedures.add(a)}}catch(t){e={error:t}}finally{try{i&&!i.done&&(r=n.return)&&r.call(n)}finally{if(e)throw e.error}}h.callTry(s)}).catch(function(t){h.callCatch(t.notice)}).abort(h)};return h},e=o,n.StiMySqlAdapterService=e}(Stimulsoft=Stimulsoft||{}),function(d){var t,e,r,n,g,i,f,S,y,o,a,s;function l(){return null!==s&&s.apply(this,arguments)||this}e=t=d.Report||(d.Report={}),n=r=e.Dictionary||(e.Dictionary={}),g=d.System.StiString,i=d.Base.StiDataSchema,f=d.Base.StiDataColumnSchema,S=d.Base.StiDataTableSchema,y=d.System.Collections.Hashtable,o=d.Base.Localization.StiLocalization,a=d.System.StiPromise,s=n.StiSqlAdapterService,__extends(l,s),Object.defineProperty(l.prototype,"name",{get:function(){return"Oracle"},enumerable:!1,configurable:!0}),l.prototype.getDataSourceType=function(){return n.StiOracleSource},l.prototype.retrieveSchemaAsync=function(u,t,e,r){void 0===r&&(r=null);var c=new a;if(g.isNullOrEmpty(e))return c.callCatch(o.get("DesignerFx","ConnectionError")+": Connection string empty"),c;var p={command:"ExecuteQuery",connectionString:e,queryString:r=r||"SELECT OWNER, TABLE_NAME FROM ALL_TABLES WHERE OWNER NOT IN ('SYS','SYSTEM','OUTLN','WMSYS','CTXSYS','ORDSYS','XDB','MDSYS','TSMSYS','LBACSYS')",database:this.name,headers:[],timeout:t?1e3*t.commandTimeout:30*1e3},r,r;t&&(-1==(r=t.nameInSource.indexOf("."))&&(r=t.nameInSource.length),r=t.nameInSource.substring(0,r),p.dataSource=t.name,p.connection=r);var h=this,m=new i;return h.process(u,p).try(function(t){var e,r,s=new y,n="";try{for(var i=__values(t.rows),o=i.next();!o.done;o=i.next()){var a=o.value,l=a[t.columns.indexOf("OWNER")],a=a[t.columns.indexOf("TABLE_NAME")],l=S.newTableOrView(l+"."+a);s.set(a,l),g.isNullOrEmpty(n)?n=" WHERE ":n+=" OR ",n+="TABLE_NAME='"+a+"'",m.tables.add(l)}}catch(t){e={error:t}}finally{try{o&&!o.done&&(r=i.return)&&r.call(i)}finally{if(e)throw e.error}}if(n.length<=0)return void c.callTry(m);p.queryString="SELECT TABLE_NAME, COLUMN_NAME FROM ALL_TAB_COLS"+n,h.process(u,p).try(function(t){var e,r;try{for(var n=__values(t.rows),i=n.next();!i.done;i=n.next()){var o=i.value,a=o[t.columns.indexOf("TABLE_NAME")],o=o[t.columns.indexOf("COLUMN_NAME")],o=new f(o),a=s.get(a).stimulsoft.as(S);null!=a&&a.columns.push(o)}}catch(t){e={error:t}}finally{try{i&&!i.done&&(r=n.return)&&r.call(n)}finally{if(e)throw e.error}}}).catch(function(t){d.System.StiError.showError(t.notice)}).finally(function(t){c.callTry(m)}).abort(c)}).catch(function(t){c.callCatch(t.notice)}).abort(c),c},e=l,n.StiOracleAdapterService=e}(Stimulsoft=Stimulsoft||{}),function(f){var t,e,r,n,S,y,A,b,i,o,a,s;function l(){return null!==s&&s.apply(this,arguments)||this}e=t=f.Report||(f.Report={}),n=r=e.Dictionary||(e.Dictionary={}),S=f.System.StiString,y=f.Base.StiDataColumnSchema,A=f.Base.StiDataTableSchema,b=f.System.Collections.Hashtable,i=f.Base.StiDataSchema,o=f.Base.Localization.StiLocalization,a=f.System.StiPromise,s=n.StiSqlAdapterService,__extends(l,s),Object.defineProperty(l.prototype,"name",{get:function(){return"PostgreSQL"},enumerable:!1,configurable:!0}),l.prototype.getDatabaseSpecificName=function(t){return S.format('public."{0}"',t)},l.prototype.getDataSourceType=function(){return n.StiPostgreSQLSource},l.prototype.retrieveSchemaAsync=function(c,t,e,r){void 0===r&&(r=null);var p=new a;if(S.isNullOrEmpty(e))return p.callCatch(o.get("DesignerFx","ConnectionError")+": Connection string empty"),p;var h={command:"ExecuteQuery",connectionString:e,queryString:r=r||"SELECT TABLE_NAME, TABLE_TYPE FROM INFORMATION_SCHEMA.TABLES WHERE TABLE_SCHEMA = '"+StiOptions.Engine.retrieveSchemaNamePostgreSql+"'",database:this.name,headers:[],timeout:t?1e3*t.commandTimeout:30*1e3},r,r;t&&(-1==(r=t.nameInSource.indexOf("."))&&(r=t.nameInSource.length),r=t.nameInSource.substring(0,r),h.dataSource=t.name,h.connection=r);var m=this,d=new i;m.process(c,h).try(function(t){var e,r,u=new b,n="";try{for(var i=__values(t.rows),o=i.next();!o.done;o=i.next()){var a=o.value,s=a[t.columns.indexOf(t.columns.stimulsoft.toList().firstOrDefault(function(t){return"TABLE_TYPE"==t.toUpperCase()}))],l=a[t.columns.indexOf(t.columns.stimulsoft.toList().firstOrDefault(function(t){return"TABLE_NAME"==t.toUpperCase()}))],a=A.newTableOrView(l);u.set(l,a),S.isNullOrEmpty(n)?n=" WHERE ":n+=" OR ",n+="TABLE_NAME='"+l+"'","BASE TABLE"==s&&d.tables.add(a),"VIEW"==s&&d.views.add(a)}}catch(t){e={error:t}}finally{try{o&&!o.done&&(r=i.return)&&r.call(i)}finally{if(e)throw e.error}}if(n.length<=0)return void g(d);h.queryString="SELECT TABLE_NAME, COLUMN_NAME, DATA_TYPE FROM INFORMATION_SCHEMA.COLUMNS"+n,m.process(c,h).try(function(t){var e,r;try{for(var n=__values(t.rows),i=n.next();!i.done;i=n.next()){var o=i.value,a=o[t.columns.indexOf(t.columns.stimulsoft.toList().firstOrDefault(function(t){return"TABLE_NAME"==t.toUpperCase()}))],s=o[t.columns.indexOf(t.columns.stimulsoft.toList().firstOrDefault(function(t){return"COLUMN_NAME"==t.toUpperCase()}))],l=o[t.columns.indexOf(t.columns.stimulsoft.toList().firstOrDefault(function(t){return"DATA_TYPE"==t.toUpperCase()}))],o=String;switch(l){case"boolean":case"bool":o=Boolean;break;case"bytea":o=f.System.ByteArray;break;case"serial":case"smallserial":case"smallint":case"integer":case"int":case"int4":case"double":o=f.System.Int64;break;case"numeric":o=f.System.Decimal;break;case"date":case"time":o=f.System.DateTime;break;case"timestamp":case"interval":o=f.System.TimeSpan;break}var o=new y(s,o),a=u.get(a).stimulsoft.as(A);null!=a&&a.columns.push(o)}}catch(t){e={error:t}}finally{try{i&&!i.done&&(r=n.return)&&r.call(n)}finally{if(e)throw e.error}}}).catch(function(t){f.System.StiError.showError(t.notice)}).finally(function(t){g(d)}).abort(p)}).catch(function(t){p.callCatch(t.notice)}).abort(p);var g=function(s){h.queryString="SELECT ROUTINE_NAME FROM INFORMATION_SCHEMA.ROUTINES WHERE ROUTINE_TYPE='PROCEDURE'",m.process(c,h).try(function(t){var e,r;try{for(var n=__values(t.rows),i=n.next();!i.done;i=n.next()){var o,a=i.value[t.columns.indexOf("ROUTINE_NAME")],a=A.newProcedure(a);s.storedProcedures.add(a)}}catch(t){e={error:t}}finally{try{i&&!i.done&&(r=n.return)&&r.call(n)}finally{if(e)throw e.error}}p.callTry(s)}).catch(function(t){p.callCatch(t.notice)}).abort(p)};return p},e=l,n.StiPostgreSQLAdapterService=e}(Stimulsoft=Stimulsoft||{}),function(F){var t,e,r,n,o,i,a,N,A,b,C,k,M,s;function l(){var t=s.call(this)||this;return t._name="Custom",t}e=t=F.Report||(F.Report={}),n=r=e.Dictionary||(e.Dictionary={}),o=F.System.StiString,i=F.Base.Localization.StiLocalization,a=F.System.StiPromise,N=F.System.Data.DataTable,A=F.Base.StiDataSchema,b=F.Base.StiDataColumnSchema,C=F.Base.StiDataTableSchema,k=F.System.Data.DataSet,M=F.System.Data.DataColumn,s=n.StiSqlAdapterService,__extends(l,s),l.registerCustomAdapterService=function(t){var e=new l;return e._name=t.name,e.processUserFunction=t.process,StiOptions.Services.dataAdapters.add(e),e},Object.defineProperty(l.prototype,"name",{get:function(){return this._name},enumerable:!1,configurable:!0}),l.prototype.getDataSourceType=function(){return n.StiCustomSource},l.prototype.callRemoteApi=function(t,e){var r=this,n=new a,i,o;try{i=setTimeout(function(){null!=o&&clearTimeout(o),delete t.event,r.processUserFunction(t,function(t){return n.callTry(t)})}),o=setTimeout(function(){n.catch(function(t){null!=i&&clearTimeout(i)})},e)}catch(t){F.System.StiError.showError(t,!1),n.callCatch(t.message)}return n},l.prototype.retrieveDataAsync=function(t,e,r,n){var P=new a;o.isNullOrEmpty(r)&&(r=""),o.isNullOrEmpty(n)&&(n="");var n={command:"RetrieveData",connectionString:r,queryString:n.stimulsoft.replaceAll("\t"," ").stimulsoft.replaceAll("\\t"," ").stimulsoft.replaceAll("\r"," ").stimulsoft.replaceAll("\n"," "),database:this.name,headers:[],timeout:e?1e3*e.commandTimeout:30*1e3},x=e.name,i;return this.process(t,n).try(function(t){var e,r,n,i,o,a,s,l,u;try{var c=new k;c.readJson({root:t.data});var p=null;if(1==c.tables.count)p=c.tables.getByIndex(0);else if(0<c.tables.count){try{for(var h=__values(c.tables.list),m=h.next();!m.done;m=h.next()){var d=m.value;if(d.tableName==x){p=d;break}}}catch(t){e={error:t}}finally{try{m&&!m.done&&(r=h.return)&&r.call(h)}finally{if(e)throw e.error}}if(null==p)try{for(var g=__values(c.tables.list),f=g.next();!f.done;f=g.next()){var S=f.value;if(0==x.indexOf(S.tableName)){p=S;break}}}catch(t){n={error:t}}finally{try{f&&!f.done&&(i=g.return)&&i.call(g)}finally{if(n)throw n.error}}}null==p&&(p=new N);var y=new N(p.tableName);try{for(var A=__values(p.columns.list),b=A.next();!b.done;b=A.next()){var u=b.value,C=u.columnName,v=u.dataType;if(Object.prototype.hasOwnProperty.call(t,"types")&&null!=t.types){var u=null===(u=t.types[C])||void 0===u?void 0:u.replace("Stimulsoft.System.","");switch(t.types[C]){case"boolean":v=Boolean;break;case"number":v=F.System.Decimal;break;case"string":v=String;break;case"array":v=F.System.ByteArray;break;case"datetime":v=F.System.DateTime;break;default:F.System[u]&&(v=F.System[u])}}var w=new M(C,v);y.columns.add(w)}}catch(t){o={error:t}}finally{try{b&&!b.done&&(a=A.return)&&a.call(A)}finally{if(o)throw o.error}}try{for(var B=__values(p.rows.list),I=B.next();!I.done;I=B.next()){var T=I.value,E=y.addNewRow(),R;for(R in T.columns.list){var w=y.columns.getByIndex(R.stimulsoft.toNumber()),D=T[R];E.setValue(w,D)}}}catch(t){s={error:t}}finally{try{I&&!I.done&&(l=B.return)&&l.call(B)}finally{if(s)throw s.error}}P.callTry(p||c.tables.getByIndex(0))}catch(t){F.System.StiError.showError(t,!1),P.callCatch(t.message)}}).catch(function(t){P.callCatch(t.notice)}).abort(P),P},l.prototype.retrieveSchemaAsync=function(t,e,r,n){void 0===n&&(n=null);var y=new a;if(o.isNullOrEmpty(r))return y.callCatch(i.get("DesignerFx","ConnectionError")+": Connection string empty"),y;var e={command:"RetrieveSchema",connectionString:r,database:this.name,headers:[],timeout:e?1e3*e.commandTimeout:30*1e3};return this.process(t,e).try(function(t){var e,r,n,i,o,a=new k;if(a.readJson(t.data),0==a.tables.count&&Object.prototype.hasOwnProperty.call(t,"types")&&null!=t.types)for(var s in t.types){var l=new N(s),u;for(u in a.tables.add(l),t.types[s])l.columns.add(new M(u,String))}var c=new A;try{for(var p=__values(a.tables.list),h=p.next();!h.done;h=p.next()){var l=h.value,m=C.newTableOrView(l.tableName);try{for(var d=(n=void 0,__values(l.columns.list)),g=d.next();!g.done;g=d.next()){var f=g.value,S=f.dataType;if(Object.prototype.hasOwnProperty.call(t,"types")&&null!=t.types){var o=null===(o=t.types[l.tableName][f.columnName])||void 0===o?void 0:o.replace("Stimulsoft.System.","");switch(o.toLowerCase()){case"boolean":S=Boolean;break;case"number":S=F.System.Decimal;break;case"string":S=String;break;case"array":S=F.System.ByteArray;break;case"datetime":S=F.System.DateTime;break;default:F.System[o]&&(S=F.System[o])}}var S=new b(f.columnName,S);m.columns.push(S)}}catch(t){n={error:t}}finally{try{g&&!g.done&&(i=d.return)&&i.call(d)}finally{if(n)throw n.error}}c.tables.add(m)}}catch(t){e={error:t}}finally{try{h&&!h.done&&(r=p.return)&&r.call(p)}finally{if(e)throw e.error}}y.callTry(c)}).catch(function(t){y.callCatch(t.notice)}).abort(y),y},e=l,n.StiCustomAdapterService=e}(Stimulsoft=Stimulsoft||{}),function(t){var e,r,n,i,o,a;function s(t,e,r,n){void 0===t&&(t=""),void 0===e&&(e=""),void 0===r&&(r=e),void 0===n&&(n="");var n=a.call(this,e,r,n)||this;return n.nameInSource=t,n}r=e=t.Report||(t.Report={}),i=n=r.Dictionary||(r.Dictionary={}),o=t.System.StiString,a=i.StiDataSource,__extends(s,a),s.prototype.saveToJsonObject=function(t){var t=a.prototype.saveToJsonObject.call(this,t);return t.addPropertyStringNullOrEmpty("NameInSource",this.nameInSource),t},s.prototype.loadFromJsonObject=function(t){var e,r;a.prototype.loadFromJsonObject.call(this,t);try{for(var n=__values(t.properties()),i=n.next();!i.done;i=n.next()){var o=i.value;switch(o.name){case"NameInSource":this._nameInSource=o.value;break}}}catch(t){e={error:t}}finally{try{i&&!i.done&&(r=n.return)&&r.call(n)}finally{if(e)throw e.error}}},s.prototype.loadFromXml=function(t){a.prototype.loadFromXml.call(this,t);for(var e=0;e<t.childNodes.length;e++){var r=t.childNodes[e];switch(r.nodeName){case"NameInSource":
case"DataName":this._nameInSource=r.textContent;break}}},s.prototype.getCategoryName=function(){var t=i.StiDataAdapterService.getDataAdapter(this),e=this.dictionary.dataStore.getByName(this.nameInSource);if(null!=e&&null!=t)return t.getDataCategoryName(e);if(this.nameInSource.stimulsoft.endsWith("."+this.name)&&this.nameInSource.length>this.name.length+1)return this.nameInSource.substr(0,this.nameInSource.length-(this.name.length+1));var e=this.nameInSource.lastIndexOf(".");if(-1!=e)return this.nameInSource.substr(0,e);if(!o.isNullOrEmpty(this.nameInSource))return this.nameInSource;return a.prototype.getCategoryName.call(this)},Object.defineProperty(s.prototype,"dataName",{get:function(){return this.nameInSource},set:function(t){this.nameInSource=t},enumerable:!1,configurable:!0}),Object.defineProperty(s.prototype,"nameInSource",{get:function(){return this._nameInSource},set:function(t){this._nameInSource=t},enumerable:!1,configurable:!0}),r=s,i.StiDataStoreSource=r}(Stimulsoft=Stimulsoft||{}),function(t){var e,r,n,i,o,t,a;function s(t,e,r,n){return void 0===t&&(t=""),void 0===e&&(e=""),void 0===r&&(r=e),void 0===n&&(n=""),a.call(this,t,e,r,n)||this}r=e=t.Report||(t.Report={}),i=n=r.Dictionary||(r.Dictionary={}),o=t.System.StiString,a=i.StiDataStoreSource,__extends(s,a),s.prototype.saveToJsonObject=function(t){var t=a.prototype.saveToJsonObject.call(this,t);return t.addPropertyStringNullOrEmpty("NameInSource",this.nameInSource),t},s.prototype.loadFromJsonObject=function(t){a.prototype.loadFromJsonObject.call(this,t)},s.prototype.getCategoryName=function(){var e=this.nameInSource;if(o.isNullOrEmpty(e))return a.prototype.getCategoryName.call(this);if(e=e.toLowerCase(),null!=this.dictionary){var t=this.dictionary.databases.toList().firstOrDefault(function(t){return t.name.toLowerCase()==e});if(null!=t)return t.name}var r=i.StiDataAdapterService.getDataAdapter(this);if(null!=r&&null!=r.stimulsoft.as(i.StiDataTableAdapterService)){var t=r.getDataFromDataSource(this.dictionary,this);if(null==t)return a.prototype.getCategoryName.call(this);return r.getDataCategoryName(t)}return a.prototype.getCategoryName.call(this)},s.prototype.getDataAdapterType=function(){return i.StiDataTableAdapterService},Object.defineProperty(s.prototype,"componentId",{get:function(){return r.StiComponentId.StiDataTableSource},enumerable:!1,configurable:!0}),s.prototype.createNew=function(){return new s},t=s,i.StiDataTableSource=t}(Stimulsoft=Stimulsoft||{}),function(o){var t,m,e,d,a,r,E,s,n,i;function R(){return null!==i&&i.apply(this,arguments)||this}m=t=o.Report||(o.Report={}),d=e=m.Dictionary||(m.Dictionary={}),a=o.System.StiString,r=o.Base.Localization.StiLocalization,E=o.System.Data.DataTable,s=o.System.StiPromise,i=d.StiDataStoreAdapterService,__extends(R,i),Object.defineProperty(R.prototype,"serviceName",{get:function(){return r.get("Adapters","AdapterDataTables")},enumerable:!1,configurable:!0}),Object.defineProperty(R.prototype,"isObjectAdapter",{get:function(){return!0},enumerable:!1,configurable:!0}),R.prototype.getDataCategoryName=function(t){var e=t.name,r=t.viewData.stimulsoft.as(E);if(null==r&&t.viewData.stimulsoft.is(E)&&(r=t.viewData),null!=r)if(null!=t.name&&t.data.stimulsoft.is(E)){var n=e.lastIndexOf("."),i;-1!=r.tableName.indexOf(".")?e.length>r.tableName.length&&(e=e.substr(0,e.length-r.tableName.length-1)):-1!=n&&-1!=e.indexOf(r.tableName)&&(e=e.substr(0,n))}else if(null!=r.dataSet)return r.dataSet.dataSetName;if(t.alias!=e&&!a.isNullOrEmpty(t.alias)){if(StiOptions.Dictionary.showOnlyAliasForData)return t.alias;e=a.format("{0} [{1}]",e,t.alias)}return e},R.prototype.getColumnsFromDataAsync=function(t,e){var r=new s;return r.callTry(this.getColumnsFromData(t,e)),r},R.prototype.getColumnsFromData=function(t,e){var r,n,i=new d.StiDataColumnsCollection,o=t.viewData.stimulsoft.as(E);null==o&&t.viewData.stimulsoft.is(E)&&(o=t.viewData.stimulsoft.as(E));try{for(var a=__values(o.columns.list),s=a.next();!s.done;s=a.next()){var l=s.value;i.add(new d.StiDataColumn(l.columnName,l.caption,l.caption,l.dataType))}}catch(t){r={error:t}}finally{try{s&&!s.done&&(n=a.return)&&n.call(a)}finally{if(r)throw r.error}}for(var u=0;u<i.count;u++){var l,c=(l=i.getByIndex(u).stimulsoft.as(d.StiDataColumn)).name,p=l.alias,h=l.name;StiOptions.Designer.autoCorrectDataColumnName&&(l.name=m.StiNameValidator.correctName(l.name)),l.nameInSource=h,l.alias=h,p!=c&&(l.alias=p)}return i},R.prototype.getParametersFromData=function(t,e){return new d.StiDataParametersCollection},R.prototype.setDataSourceNames=function(t,e){i.prototype.setDataSourceNames.call(this,t,e);var r=t.viewData;null==r&&t.viewData.stimulsoft.is(E)&&(r=t.viewData),e.name=r.tableName,e.alias=r.tableName;var r=r.tableName;a.isNullOrEmpty(r)||(r=r.trim()).stimulsoft.startsWith("'")&&r.stimulsoft.endsWith("'")&&(e.alias=r.substr(1,r.length-2))},R.prototype.create=function(t,e){return void 0===e&&(e=!0),i.prototype.create.call(this,t,e)},R.prototype.getDataSourceType=function(){return o.Report.Dictionary.StiDataTableSource},R.prototype.getDataTypes=function(){return[E.stimulsoft.getType()]},R.prototype.getDataFromDataSource=function(t,e){var r,n,i,o,a,s,l,u,c,p=e.nameInSource.toLowerCase();try{for(var h=__values(e.dictionary.dataStore.list),m=h.next(),d;!m.done;m=h.next()){if((d=m.value).name.toLowerCase()==p&&d.viewData.stimulsoft.is(E))return d}}catch(t){r={error:t}}finally{try{m&&!m.done&&(n=h.return)&&n.call(h)}finally{if(r)throw r.error}}if(!StiOptions.Dictionary.useAdvancedDataSearch)return null;if(null!=e.dictionary&&null!=e.dictionary.report&&e.dictionary.report.isDesigning)return null;var g=null;-1!=p.indexOf(".")&&(g=p.substr(p.indexOf(".")+1));try{for(var f=__values(e.dictionary.dataStore.list),S=f.next(),d;!S.done;S=f.next()){if(null!=(d=S.value).viewData&&!d.viewData.stimulsoft.is(E))continue;var y=d.name.toLowerCase();if(y==p||y==g)return d;if(-1!=y.indexOf(".")&&(y=y.substr(y.indexOf(".")+1)),y==p||y==g)return d}}catch(t){i={error:t}}finally{try{S&&!S.done&&(o=f.return)&&o.call(f)}finally{if(i)throw i.error}}if(!StiOptions.Dictionary.allowConnectToFirstTableForEmptyDataSource)return null;var A=0,b=null;try{for(var C=__values(e.dictionary.dataStore.list),v=C.next(),d;!v.done;v=C.next()){if(null!=(d=v.value).viewData&&d.viewData.stimulsoft.is(E)){if(1<++A)return null;b=d}}}catch(t){a={error:t}}finally{try{v&&!v.done&&(s=C.return)&&s.call(C)}finally{if(a)throw a.error}}if(1==A&&1<e.dictionary.dataSources.count){var w=0;try{for(var B=__values(e.dictionary.dataSources.list),I=B.next(),T;!I.done;I=B.next()){I.value.getDataAdapter().is(R)&&w++}}catch(t){l={error:t}}finally{try{I&&!I.done&&(u=B.return)&&u.call(B)}finally{if(l)throw l.error}}if(1<w)return null}return b},R.prototype.connectDataSourceToDataAsync=function(t,e,r){var n=new s,i=this;return setTimeout(function(){try{i.connectDataSourceToData(t,e,r),n.callTry()}catch(t){o.System.StiError.showError(t,!1),n.callCatch(t.message)}}),n},R.prototype.connectDataSourceToData=function(t,e,r){d.StiDataLeader.disconnect(e);var n=this.getDataFromDataSource(t,e);if(null==n)return;var t=n.viewData.stimulsoft.as(E);if(null==t&&n.viewData.stimulsoft.is(E)&&(t=n.viewData),null==t)return;e.dictionary.report.cacheAllData&&r?e.dataTable=e.getDataTable(t):e.dictionary.report.cacheAllData?(e.dictionary.report.cacheAllData=!1,e.dataTable=t,e.dictionary.report.cacheAllData=!0):e.dataTable=t},n=R,d.StiDataTableAdapterService=n}(Stimulsoft=Stimulsoft||{}),function(t){var e,r,n,t;function i(t){void 0===t&&(t=!1),this.isFirstInit=!1,this._runningTotal=!1,this._runningTotal=t}r=e=t.Report||(t.Report={}),t=n=r.Dictionary||(r.Dictionary={}),Object.defineProperty(i.prototype,"serviceName",{get:function(){return null},enumerable:!1,configurable:!0}),i.prototype.init=function(){},i.prototype.reset=function(){var t=this.runningTotal;this._runningTotal=!1,this.init(),this._runningTotal=t},i.prototype.calcItem=function(t){},i.prototype.getValue=function(){},i.prototype.setValue=function(t){},Object.defineProperty(i.prototype,"recureParam",{get:function(){return null},enumerable:!1,configurable:!0}),Object.defineProperty(i.prototype,"runningTotal",{get:function(){return this._runningTotal},set:function(t){this._runningTotal=t},enumerable:!1,configurable:!0}),r=i,t.StiAggregateFunctionService=r}(Stimulsoft=Stimulsoft||{}),function(t){var e,r,n,i,o,a;function s(){var t=null!==a&&a.apply(this,arguments)||this;return t.avgValue=0,t.count=0,t}r=e=t.Report||(t.Report={}),i=n=r.Dictionary||(r.Dictionary={}),o=t.System.DateTime,a=i.StiAggregateFunctionService,__extends(s,a),Object.defineProperty(s.prototype,"serviceName",{get:function(){return"AvgDate"},enumerable:!1,configurable:!0}),s.prototype.init=function(){this.runningTotal&&!this.isFirstInit||(this.avgValue=0,this.count=0)},s.prototype.calcItem=function(t){var e;t instanceof o&&(e=t,this.count++)},s.prototype.getValue=function(){if(0==this.count)return null},s.prototype.setValue=function(t){},Object.defineProperty(s.prototype,"recureParam",{get:function(){return!0},enumerable:!1,configurable:!0}),r=s,i.StiAvgDateFunctionService=r}(Stimulsoft=Stimulsoft||{}),function(t){var e,r,n,i,o,a;function s(){return null!==a&&a.apply(this,arguments)||this}r=e=t.Report||(t.Report={}),i=n=r.Dictionary||(r.Dictionary={}),o=t.Base.StiObjectConverter,a=i.StiAggregateFunctionService,__extends(s,a),Object.defineProperty(s.prototype,"serviceName",{get:function(){return"Avg"},enumerable:!1,configurable:!0}),s.prototype.init=function(){this.runningTotal&&!this.isFirstInit||(this.summary=0,this.count=0)},s.prototype.calcItem=function(t){if(null==t)return;this.summary+=o.convertToNumber(t),this.count++},s.prototype.getValue=function(){if(0==this.count)return 0;return this.summary/this.count},s.prototype.setValue=function(t){},Object.defineProperty(s.prototype,"recureParam",{get:function(){return!0},enumerable:!1,configurable:!0}),r=s,i.StiAvgFunctionService=r}(Stimulsoft=Stimulsoft||{}),function(t){var e,r,n,i,o,a;function s(){var t=null!==a&&a.apply(this,arguments)||this;return t.avgValue=0,t.count=0,t}r=e=t.Report||(t.Report={}),i=n=r.Dictionary||(r.Dictionary={}),o=t.System.TimeSpan,a=i.StiAggregateFunctionService,__extends(s,a),Object.defineProperty(s.prototype,"serviceName",{get:function(){return"AvgTime"},enumerable:!1,configurable:!0}),s.prototype.init=function(){this.runningTotal&&!this.isFirstInit||(this.avgValue=0,this.count=0)},s.prototype.calcItem=function(t){var e;t instanceof o&&(this.avgValue+=t.ticks,this.count++)},s.prototype.getValue=function(){if(0==this.count)return null;return new o(this.avgValue/this.count)},s.prototype.setValue=function(t){},Object.defineProperty(s.prototype,"recureParam",{get:function(){return!0},enumerable:!1,configurable:!0}),r=s,i.StiAvgTimeFunctionService=r}(Stimulsoft=Stimulsoft||{}),function(t){var e,r,n,i,o,a;function s(){return null!==a&&a.apply(this,arguments)||this}r=e=t.Report||(t.Report={}),i=n=r.Dictionary||(r.Dictionary={}),o=t.System.Collections.Hashtable,a=i.StiAggregateFunctionService,__extends(s,a),Object.defineProperty(s.prototype,"serviceName",{get:function(){return"CountDistinct"},enumerable:!1,configurable:!0}),s.prototype.init=function(){this.runningTotal&&!this.isFirstInit||(this.counter=0,this.values=new o)},s.prototype.calcItem=function(t){null==this.values&&(this.values=new o),null==this.values.get(t)&&(this.values.set(t,t),this.counter++)},s.prototype.getValue=function(){return this.counter},s.prototype.setValue=function(t){this.counter=t},Object.defineProperty(s.prototype,"recureParam",{get:function(){return!0},enumerable:!1,configurable:!0}),r=s,i.StiCountDistinctFunctionService=r}(Stimulsoft=Stimulsoft||{}),function(t){var e,r,n,t,i;function o(){return null!==i&&i.apply(this,arguments)||this}r=e=t.Report||(t.Report={}),t=n=r.Dictionary||(r.Dictionary={}),i=t.StiAggregateFunctionService,__extends(o,i),Object.defineProperty(o.prototype,"serviceName",{get:function(){return"Count"},enumerable:!1,configurable:!0}),o.prototype.init=function(){this.runningTotal&&!this.isFirstInit||(this.counter=0)},o.prototype.calcItem=function(t){this.counter++},o.prototype.getValue=function(){return this.counter},o.prototype.setValue=function(t){this.counter=t},Object.defineProperty(o.prototype,"recureParam",{get:function(){return!0},enumerable:!1,configurable:!0}),r=o,t.StiCountFunctionService=r}(Stimulsoft=Stimulsoft||{}),function(t){var e,r,n,t,i;function o(){var t=null!==i&&i.apply(this,arguments)||this;return t.first=!0,t}r=e=t.Report||(t.Report={}),t=n=r.Dictionary||(r.Dictionary={}),i=t.StiAggregateFunctionService,__extends(o,i),Object.defineProperty(o.prototype,"serviceName",{get:function(){return"First"},enumerable:!1,configurable:!0}),o.prototype.init=function(){this.runningTotal&&!this.isFirstInit||(this.first=!0,this.value=null)},o.prototype.calcItem=function(t){this.first&&(this.first=!1,this.value=t)},o.prototype.getValue=function(){return this.value},o.prototype.setValue=function(t){this.value=t},Object.defineProperty(o.prototype,"recureParam",{get:function(){return!0},enumerable:!1,configurable:!0}),r=o,t.StiFirstFunctionService=r}(Stimulsoft=Stimulsoft||{}),function(t){var e,r,n,t,i;function o(){return null!==i&&i.apply(this,arguments)||this}r=e=t.Report||(t.Report={}),t=n=r.Dictionary||(r.Dictionary={}),i=t.StiAggregateFunctionService,__extends(o,i),Object.defineProperty(o.prototype,"serviceName",{get:function(){return"Last"},enumerable:!1,configurable:!0}),o.prototype.init=function(){this.runningTotal&&!this.isFirstInit||(this.value=null)},o.prototype.calcItem=function(t){this.value=t},o.prototype.getValue=function(){return this.value},o.prototype.setValue=function(t){this.value=t},Object.defineProperty(o.prototype,"recureParam",{get:function(){return!0},enumerable:!1,configurable:!0}),r=o,t.StiLastFunctionService=r}(Stimulsoft=Stimulsoft||{}),function(t){var e,r,n,i,o,a;function s(){var t=null!==a&&a.apply(this,arguments)||this;return t.valueProcessed=!1,t}r=e=t.Report||(t.Report={}),i=n=r.Dictionary||(r.Dictionary={}),o=t.System.DateTime,a=i.StiAggregateFunctionService,__extends(s,a),Object.defineProperty(s.prototype,"serviceName",{get:function(){return"MaxDate"},enumerable:!1,configurable:!0}),s.prototype.init=function(){this.runningTotal&&!this.isFirstInit||(this.valueProcessed=!1)},s.prototype.calcItem=function(t){var t;t instanceof o&&(t=t,this.valueProcessed?this.maximum.ticks<t.ticks&&(this.maximum=t):(this.maximum=t,this.valueProcessed=!0))},s.prototype.getValue=function(){if(this.valueProcessed)return this.maximum;return null},s.prototype.setValue=function(t){this.maximum=t},Object.defineProperty(s.prototype,"recureParam",{get:function(){return!0},enumerable:!1,configurable:!0}),r=s,i.StiMaxDateFunctionService=r}(Stimulsoft=Stimulsoft||{}),function(t){var e,r,n,i,o,a;function s(){return null!==a&&a.apply(this,arguments)||this}r=e=t.Report||(t.Report={}),i=n=r.Dictionary||(r.Dictionary={}),o=t.Base.StiObjectConverter,a=i.StiAggregateFunctionService,__extends(s,a),Object.defineProperty(s.prototype,"serviceName",{get:function(){return"Max"},enumerable:!1,configurable:!0}),s.prototype.init=function(){this.runningTotal&&!this.isFirstInit||(this.maximum=Number.MIN_VALUE)},s.prototype.calcItem=function(t){if(null==t)return;var t=o.convertToNumber(t);this.maximum<t&&(this.maximum=t)},s.prototype.getValue=function(){return this.maximum},s.prototype.setValue=function(t){this.maximum=t},Object.defineProperty(s.prototype,"recureParam",{get:function(){return!0},enumerable:!1,configurable:!0}),r=s,i.StiMaxFunctionService=r}(Stimulsoft=Stimulsoft||{}),function(t){var e,r,n,t,i;function o(){return null!==i&&i.apply(this,arguments)||this}r=e=t.Report||(t.Report={}),t=n=r.Dictionary||(r.Dictionary={}),i=t.StiAggregateFunctionService,__extends(o,i),o.ascComparison=function(t,e){return t.stimulsoft.compareTo(e)},Object.defineProperty(o.prototype,"serviceName",{get:function(){return"MaxStr"},enumerable:!1,configurable:!0}),o.prototype.init=function(){this.runningTotal&&!this.isFirstInit||(this.values=new Array)},o.prototype.calcItem=function(t){var t=null!=t?t.toString():"";this.values.push(t)},o.prototype.getValue=function(){if(null==this.values||0==this.values.length)return"";return this.values.sort(o.ascComparison),this.values[this.values.length-1]},o.prototype.setValue=function(t){},Object.defineProperty(o.prototype,"recureParam",{get:function(){return!0},enumerable:!1,configurable:!0}),r=o,t.StiMaxStrFunctionService=r}(Stimulsoft=Stimulsoft||{}),function(t){var e,r,n,i,o,a;function s(){var t=null!==a&&a.apply(this,arguments)||this;return t.valueProcessed=!1,t}r=e=t.Report||(t.Report={}),i=n=r.Dictionary||(r.Dictionary={}),o=t.System.TimeSpan,a=i.StiAggregateFunctionService,__extends(s,a),Object.defineProperty(s.prototype,"serviceName",{get:function(){return"MaxTime"},enumerable:!1,configurable:!0}),s.prototype.init=function(){this.runningTotal&&!this.isFirstInit||(this.valueProcessed=!1)},s.prototype.calcItem=function(t){var t;t instanceof o&&(t=t,this.valueProcessed?this.maximum.ticks<t.ticks&&(this.maximum=t):(this.maximum=t,this.valueProcessed=!0))},s.prototype.getValue=function(){return this.maximum},s.prototype.setValue=function(t){this.maximum=t},Object.defineProperty(s.prototype,"recureParam",{get:function(){return!0},enumerable:!1,configurable:!0}),r=s,i.StiMaxTimeFunctionService=r}(Stimulsoft=Stimulsoft||{}),function(t){var e,r,n,i,o,a;function s(){return null!==a&&a.apply(this,arguments)||this}r=e=t.Report||(t.Report={}),i=n=r.Dictionary||(r.Dictionary={}),o=t.Base.StiObjectConverter,a=i.StiAggregateFunctionService,__extends(s,a),Object.defineProperty(s.prototype,"serviceName",{get:function(){return"Median"},enumerable:!1,configurable:!0}),s.prototype.init=function(){this.runningTotal&&!this.isFirstInit||(this.values=new Array)},s.prototype.calcItem=function(t){if(null==t)return;var t=o.convertToNumber(t);this.values.push(t)},s.prototype.getValue=function(){if(null==this.values||this.values.length<1)return null;if(1==this.values.length)return this.values[0];this.values.sort(function(t,e){return t-e});var t=this.values.length/2|0,e,r;if(this.values.length%2==1)return this.values[t];return(this.values[t-1]+this.values[t])/2},s.prototype.setValue=function(t){},Object.defineProperty(s.prototype,"recureParam",{get:function(){return!0},enumerable:!1,configurable:!0}),r=s,i.StiMedianFunctionService=r}(Stimulsoft=Stimulsoft||{}),function(t){var e,r,n,i,o,a;function s(){var t=null!==a&&a.apply(this,arguments)||this;return t.valueProcessed=!1,t}r=e=t.Report||(t.Report={}),i=n=r.Dictionary||(r.Dictionary={}),o=t.System.DateTime,a=i.StiAggregateFunctionService,__extends(s,a),Object.defineProperty(s.prototype,"serviceName",{get:function(){return"MinDate"},enumerable:!1,configurable:!0}),s.prototype.init=function(){this.runningTotal&&!this.isFirstInit||(this.valueProcessed=!1)},s.prototype.calcItem=function(t){var t;t instanceof o&&(t=t,this.valueProcessed?this.minimum.ticks>t.ticks&&(this.minimum=t):(this.minimum=t,this.valueProcessed=!0))},s.prototype.getValue=function(){if(this.valueProcessed)return this.minimum;return null},s.prototype.setValue=function(t){this.minimum=t},Object.defineProperty(s.prototype,"recureParam",{get:function(){return!0},enumerable:!1,configurable:!0}),r=s,i.StiMinDateFunctionService=r}(Stimulsoft=Stimulsoft||{}),function(t){var e,r,n,i,o,a;function s(){return null!==a&&a.apply(this,arguments)||this}r=e=t.Report||(t.Report={}),i=n=r.Dictionary||(r.Dictionary={}),o=t.Base.StiObjectConverter,a=i.StiAggregateFunctionService,__extends(s,a),Object.defineProperty(s.prototype,"serviceName",{get:function(){return"Min"},enumerable:!1,configurable:!0}),s.prototype.init=function(){this.runningTotal&&!this.isFirstInit||(this.minimum=Number.MAX_VALUE)},s.prototype.calcItem=function(t){if(null==t)return;var t=o.convertToNumber(t);this.minimum>t&&(this.minimum=t)},s.prototype.getValue=function(){return this.minimum},s.prototype.setValue=function(t){this.minimum=t},Object.defineProperty(s.prototype,"recureParam",{get:function(){return!0},enumerable:!1,configurable:!0}),r=s,i.StiMinFunctionService=r}(Stimulsoft=Stimulsoft||{}),function(t){var e,r,n,t,i;function o(){return null!==i&&i.apply(this,arguments)||this}r=e=t.Report||(t.Report={}),t=n=r.Dictionary||(r.Dictionary={}),i=t.StiAggregateFunctionService,__extends(o,i),o.ascComparison=function(t,e){return t.stimulsoft.compareTo(e)},Object.defineProperty(o.prototype,"serviceName",{get:function(){return"MinStr"},enumerable:!1,configurable:!0}),o.prototype.init=function(){this.runningTotal&&!this.isFirstInit||(this.values=new Array)},o.prototype.calcItem=function(t){var t=null!=t?t.toString():"";this.values.push(t)},o.prototype.getValue=function(){if(null==this.values||0==this.values.length)return"";return this.values.sort(o.ascComparison),this.values[0]},o.prototype.setValue=function(t){},Object.defineProperty(o.prototype,"recureParam",{get:function(){return!0},enumerable:!1,configurable:!0}),r=o,t.StiMinStrFunctionService=r}(Stimulsoft=Stimulsoft||{}),function(t){var e,r,n,i,o,a;function s(){var t=null!==a&&a.apply(this,arguments)||this;return t.valueProcessed=!1,t}r=e=t.Report||(t.Report={}),i=n=r.Dictionary||(r.Dictionary={}),o=t.System.TimeSpan,a=i.StiAggregateFunctionService,__extends(s,a),Object.defineProperty(s.prototype,"serviceName",{get:function(){return"MinTime"},enumerable:!1,configurable:!0}),s.prototype.init=function(){this.runningTotal&&!this.isFirstInit||(this.valueProcessed=!1)},s.prototype.calcItem=function(t){var t;t instanceof o&&(t=t,this.valueProcessed?this.minimum.ticks>t.ticks&&(this.minimum=t):(this.minimum=t,this.valueProcessed=!0))},s.prototype.getValue=function(){return this.minimum},s.prototype.setValue=function(t){this.minimum=t},Object.defineProperty(s.prototype,"recureParam",{get:function(){return!0},enumerable:!1,configurable:!0}),r=s,i.StiMinTimeFunctionService=r}(Stimulsoft=Stimulsoft||{}),function(t){var e,r,n,i,o,a,s;function l(){return null!==s&&s.apply(this,arguments)||this}r=e=t.Report||(t.Report={}),i=n=r.Dictionary||(r.Dictionary={}),o=t.System.Collections.Hashtable,a=t.Base.StiObjectConverter,s=i.StiAggregateFunctionService,__extends(l,s),Object.defineProperty(l.prototype,"serviceName",{get:function(){return"Mode"},enumerable:!1,configurable:!0}),l.prototype.init=function(){this.runningTotal&&!this.isFirstInit||(this.values=new o)},l.prototype.calcItem=function(t){if(null==t)return;var e=a.convertToNumber(t),t=this.values.get(e);null==t&&(t=0),t+=1,this.values.set(e,t)},l.prototype.getValue=function(){var e,t;if(null==this.values||0==this.values.count)return null;var r=0,n=0;try{for(var i=__values(this.values.keys),o=i.next();!o.done;o=i.next()){var a=o.value,s=this.values.get(a);n<s&&(n=s,r=a)}}catch(t){e={error:t}}finally{try{o&&!o.done&&(t=i.return)&&t.call(i)}finally{if(e)throw e.error}}return r},l.prototype.setValue=function(t){},Object.defineProperty(l.prototype,"recureParam",{get:function(){return!0},enumerable:!1,configurable:!0}),r=l,i.StiModeFunctionService=r}(Stimulsoft=Stimulsoft||{}),function(t){var e,r,n,i,o,l,a;function s(t,e,r){void 0===e&&(e=!0),void 0===r&&(r=l.Asc);var t=a.call(this,t)||this;return t.hash=new o,t.sortOrder=l.Asc,t.dense=!0,t.dense=e,t.sortOrder=r,t}r=e=t.Report||(t.Report={}),i=n=r.Dictionary||(r.Dictionary={}),o=t.System.Collections.Hashtable,l=t.Report.StiRankOrder,a=i.StiAggregateFunctionService,__extends(s,a),Object.defineProperty(s.prototype,"serviceName",{get:function(){return"Rank"},enumerable:!1,configurable:!0}),s.prototype.init=function(){this.isFirstInit&&this.hash.clear()},s.prototype.calcItem=function(t){if(null==t)return;var e;this.hash.containsKey(t)?(e=this.hash.get(t),this.hash.set(t,e+1)):this.hash.set(t,1)},s.prototype.getValue=function(){var e,t,r=new Array(this.hash.keys.length);this.hash.keys.copyTo(r),r.sort(function(t,e){return t-e}),this.sortOrder==l.Desc&&r.reverse();var n=1;try{for(var i=__values(r),o=i.next();!o.done;o=i.next()){var a=o.value,s=this.hash.get(a);this.hash.set(a,n),n+=this.dense?1:s}}catch(t){e={error:t}}finally{try{o&&!o.done&&(t=i.return)&&t.call(i)}finally{if(e)throw e.error}}return this.hash},s.prototype.setValue=function(t){this.hash=t},Object.defineProperty(s.prototype,"recureParam",{get:function(){return!0},enumerable:!1,configurable:!0}),r=s,i.StiRankFunctionService=r}(Stimulsoft=Stimulsoft||{}),function(t){var e,r,n,i,o,a,s;function l(){return null!==s&&s.apply(this,arguments)||this}r=e=t.Report||(t.Report={}),i=n=r.Dictionary||(r.Dictionary={}),o=t.System.Collections.Hashtable,a=t.Base.StiObjectConverter,s=i.StiAggregateFunctionService,__extends(l,s),Object.defineProperty(l.prototype,"serviceName",{get:function(){return"SumDistinct"},enumerable:!1,configurable:!0}),l.prototype.init=function(){this.runningTotal&&!this.isFirstInit||(this.summary=0,this.values=new o)},l.prototype.calcItem=function(t,e){if(void 0===e&&(e=t),null==this.values&&(this.values=new o),null==t)return;null==this.values.get(t)&&(this.values.set(t,t),this.summary+=a.convertToNumber(t))},l.prototype.getValue=function(){return this.summary},l.prototype.setValue=function(t){this.summary=t},Object.defineProperty(l.prototype,"recureParam",{get:function(){return!0},enumerable:!1,configurable:!0}),r=l,i.StiSumDistinctFunctionService=r}(Stimulsoft=Stimulsoft||{}),function(t){var e,r,n,i,o,a;function s(){return null!==a&&a.apply(this,arguments)||this}r=e=t.Report||(t.Report={}),i=n=r.Dictionary||(r.Dictionary={}),o=t.Base.StiObjectConverter,a=i.StiAggregateFunctionService,__extends(s,a),Object.defineProperty(s.prototype,"serviceName",{get:function(){return"Sum"},enumerable:!1,configurable:!0}),s.prototype.init=function(){this.runningTotal&&!this.isFirstInit||(this.summary=0)},s.prototype.calcItem=function(t){if(null==t)return;this.summary+=o.convertToNumber(t)},s.prototype.getValue=function(){return this.summary},s.prototype.setValue=function(t){this.summary=o.convertToNumber(t)},Object.defineProperty(s.prototype,"recureParam",{get:function(){return!0},enumerable:!1,configurable:!0}),r=s,i.StiSumFunctionService=r}(Stimulsoft=Stimulsoft||{}),function(t){var e,r,n,i,o,a;function s(){return null!==a&&a.apply(this,arguments)||this}r=e=t.Report||(t.Report={}),i=n=r.Dictionary||(r.Dictionary={}),o=t.Base.StiObjectConverter,a=i.StiAggregateFunctionService,__extends(s,a),Object.defineProperty(s.prototype,"serviceName",{get:function(){return"SumNullable"},enumerable:!1,configurable:!0}),s.prototype.init=function(){this.runningTotal&&!this.isFirstInit||(this.summary=0,this.hasValues=!1)},s.prototype.calcItem=function(t){if(null==t)return;this.summary+=o.convertToNumber(t),this.hasValues=!0},s.prototype.getValue=function(){if(this.hasValues)return this.summary;return null},s.prototype.setValue=function(t){this.summary=t,this.hasValues=null!=t},Object.defineProperty(s.prototype,"recureParam",{get:function(){return!0},enumerable:!1,configurable:!0}),r=s,i.StiSumNullableFunctionService=r}(Stimulsoft=Stimulsoft||{}),function(t){var e,r,n,i,o,a;function s(){var t=null!==a&&a.apply(this,arguments)||this;return t.sumValue=0,t}r=e=t.Report||(t.Report={}),i=n=r.Dictionary||(r.Dictionary={}),o=t.System.TimeSpan,a=i.StiAggregateFunctionService,__extends(s,a),Object.defineProperty(s.prototype,"serviceName",{get:function(){return"SumTime"},enumerable:!1,configurable:!0}),s.prototype.init=function(){this.runningTotal&&!this.isFirstInit||(this.sumValue=0)},s.prototype.calcItem=function(t){var e;t instanceof o&&(this.sumValue+=t.ticks)},s.prototype.getValue=function(){return new o(this.sumValue)},s.prototype.setValue=function(t){this.sumValue=t},Object.defineProperty(s.prototype,"recureParam",{get:function(){return!0},enumerable:!1,configurable:!0}),r=s,i.StiSumTimeFunctionService=r}(Stimulsoft=Stimulsoft||{}),function(t){var e,r,n,t;function i(t){this._category=t}r=e=t.Report||(t.Report={}),t=n=r.Dictionary||(r.Dictionary={}),Object.defineProperty(i.prototype,"category",{get:function(){return this._category},set:function(t){this._category=t},enumerable:!1,configurable:!0}),r=i,t.StiBusinessObjectCategory=r}(Stimulsoft=Stimulsoft||{}),function(t){var e,r,n,t;function i(t,e,r,n){this.category=t,this.name=e,this.alias=r,this.businessObjectValue=n}r=e=t.Report||(t.Report={}),t=n=r.Dictionary||(r.Dictionary={}),Object.defineProperty(i.prototype,"category",{get:function(){return this._category},set:function(t){this._category=t},enumerable:!1,configurable:!0}),Object.defineProperty(i.prototype,"name",{get:function(){return this._name},set:function(t){this._name=t},enumerable:!1,configurable:!0}),Object.defineProperty(i.prototype,"alias",{get:function(){return this._alias},set:function(t){this._alias=t},enumerable:!1,configurable:!0}),Object.defineProperty(i.prototype,"businessObjectValue",{get:function(){return this._businessObjectValue},set:function(t){this._businessObjectValue=t},enumerable:!1,configurable:!0}),r=i,t.StiBusinessObjectData=r}(Stimulsoft=Stimulsoft||{}),function(t){var e,r,n,i,t,o;function a(t,e,r,n,i){void 0===t&&(t=""),void 0===e&&(e=""),void 0===r&&(r=""),void 0===n&&(n=0),void 0===i&&(i=null);var i=o.call(this,e,e,r,i)||this;return i.path=t,i.codePage=n,i}r=e=t.Report||(t.Report={}),i=n=r.Dictionary||(r.Dictionary={}),o=i.StiDataStoreSource,__extends(a,o),Object.defineProperty(a.prototype,"componentId",{get:function(){return r.StiComponentId.StiFileDataSource},enumerable:!1,configurable:!0}),Object.defineProperty(a.prototype,"path",{get:function(){return this.nameInSource},set:function(t){this.nameInSource=t},enumerable:!1,configurable:!0}),t=a,i.StiFileDataSource=t}(Stimulsoft=Stimulsoft||{}),function(t){var e,r,n,i,t,a;function o(t,e,r,n,i,o){void 0===t&&(t=""),void 0===e&&(e=""),void 0===r&&(r=""),void 0===n&&(n=0),void 0===i&&(i=null),void 0===o&&(o="");var o=a.call(this,t,e,r,n,o)||this;return o.convertEmptyStringToNull=!0,o.separator=i,o}r=e=t.Report||(t.Report={}),i=n=r.Dictionary||(r.Dictionary={}),a=i.StiFileDataSource,__extends(o,a),o.prototype.saveToJsonObject=function(t){var t=a.prototype.saveToJsonObject.call(this,t);return t.addPropertyStringNullOrEmpty("Path",this.path),t.addPropertyNumber("CodePage",this.codePage),t.addPropertyStringNullOrEmpty("Separator",this.separator),t.addPropertyBool("ConvertEmptyStringToNull",this.convertEmptyStringToNull,!0),t},o.prototype.loadFromJsonObject=function(t){var e,r;a.prototype.loadFromJsonObject.call(this,t);try{for(var n=__values(t.properties()),i=n.next();!i.done;i=n.next()){var o=i.value;switch(o.name){case"Path":this.path=o.toString();break;case"CodePage":this.codePage=o.stimulsoft.toNumber();break;case"Separator":this.separator=o.toString();break;case"ConvertEmptyStringToNull":this.convertEmptyStringToNull=o.stimulsoft.toBoolean();break}}}catch(t){e={error:t}}finally{try{i&&!i.done&&(r=n.return)&&r.call(n)}finally{if(e)throw e.error}}},o.prototype.loadFromXml=function(t){a.prototype.loadFromXml.call(this,t);for(var e=0;e<t.childNodes.length;e++){var r=t.childNodes[e];switch(r.nodeName){case"Path":this.path=r.textContent;break;case"CodePage":this.codePage=r.textContent.stimulsoft.toNumber();break;case"Separator":this.separator=r.textContent;break;case"ConvertEmptyStringToNull":this.convertEmptyStringToNull=r.textContent.stimulsoft.toBoolean();break}}},Object.defineProperty(o.prototype,"componentId",{get:function(){return r.StiComponentId.StiCsvSource},enumerable:!1,configurable:!0}),o.prototype.getDataAdapterType=function(){return i.StiCsvAdapterService},o.prototype.createNew=function(){return new o},t=o,i.StiCsvSource=t}(Stimulsoft=Stimulsoft||{}),function(m){var t,e,r,l,d,a,g,n,u;function i(t,e,r,n,i,o,a,s){void 0===t&&(t=""),void 0===e&&(e=""),void 0===r&&(r=e),void 0===n&&(n=""),void 0===i&&(i=!0),void 0===o&&(o=!1),void 0===a&&(a=30),void 0===s&&(s="");var s=u.call(this,t,e,r,s)||this;return s._allowExpressions=!0,s._type=l.StiSqlSourceType.Table,s._commandTimeout=30,s._reconnectOnEachRow=!1,s._sqlCommand="",s._sqlCommand=n,s.connectOnStart=i,s._reconnectOnEachRow=o,s._commandTimeout=a,s.connectionOrder=l.StiConnectionOrder.Sql,s}e=t=m.Report||(m.Report={}),l=r=e.Dictionary||(e.Dictionary={}),d=m.System.Data.DataColumn,a=m.System.Enum,g=m.System.StiPromise,u=l.StiDataTableSource,__extends(i,u),i.prototype.saveToJsonObject=function(t){var e=u.prototype.saveToJsonObject.call(this,t);return e.addPropertyBool("ConnectOnStart",this.connectOnStart,!0),e.addPropertyBool("AllowExpressions",this.allowExpressions,!0),e.addPropertyEnum("Type",l.StiSqlSourceType,this.type,l.StiSqlSourceType.Table),e.addPropertyNumber("CommandTimeout",this.commandTimeout,30),e.addPropertyBool("ReconnectOnEachRow",this.reconnectOnEachRow),e.addPropertyStringNullOrEmpty("SqlCommand",this.sqlCommand),e.addPropertyJObject("Parameters",this.parameters.saveToJsonObject(t)),e},i.prototype.loadFromJsonObject=function(t){var e,r;u.prototype.loadFromJsonObject.call(this,t);try{for(var n=__values(t.properties()),i=n.next();!i.done;i=n.next()){var o=i.value;switch(o.name){case"ConnectOnStart":this.connectOnStart=o.value.stimulsoft.toBoolean();break;case"AllowExpressions":this._allowExpressions=o.value.stimulsoft.toBoolean();break;case"Type":this._type=a.parse(m.Report.Dictionary.StiSqlSourceType,o.value.toString());break;case"CommandTimeout":this._commandTimeout=o.value.stimulsoft.toNumber();break;case"ReconnectOnEachRow":this._reconnectOnEachRow=o.value.stimulsoft.toBoolean();break;case"SqlCommand":this._sqlCommand=o.value.toString();break;case"Parameters":this.parameters.loadFromJsonObject(o.value);break}}}catch(t){e={error:t}}finally{try{i&&!i.done&&(r=n.return)&&r.call(n)}finally{if(e)throw e.error}}},i.prototype.loadFromXml=function(t){u.prototype.loadFromXml.call(this,t);for(var e=0;e<t.childNodes.length;e++){var r=t.childNodes[e];switch(r.nodeName){case"ConnectOnStart":this.connectOnStart=r.textContent.stimulsoft.toBoolean();break;case"AllowExpressions":this._allowExpressions=r.textContent.stimulsoft.toBoolean();break;case"Type":this._type=a.parse(l.StiSqlSourceType,r.textContent);break;case"CommandTimeout":this._commandTimeout=r.textContent.stimulsoft.toNumber();break;case"ReconnectOnEachRow":this._reconnectOnEachRow=r.textContent.stimulsoft.toBoolean();break;case"SqlCommand":this._sqlCommand=r.textContent;break;case"Parameters":this.parameters.loadFromXml(r);break}}},Object.defineProperty(i.prototype,"allowExpressions",{get:function(){return this._allowExpressions},set:function(t){this._allowExpressions=t},enumerable:!1,configurable:!0}),Object.defineProperty(i.prototype,"type",{get:function(){return this._type},set:function(t){this._type=t},enumerable:!1,configurable:!0}),Object.defineProperty(i.prototype,"commandTimeout",{get:function(){return this._commandTimeout},set:function(t){this._commandTimeout=t},enumerable:!1,configurable:!0}),Object.defineProperty(i.prototype,"reconnectOnEachRow",{get:function(){return this._reconnectOnEachRow},set:function(t){this._reconnectOnEachRow=t},enumerable:!1,configurable:!0}),Object.defineProperty(i.prototype,"sqlCommand",{get:function(){return this._sqlCommand},set:function(t){this._sqlCommand=t},enumerable:!1,configurable:!0}),i.prototype.getDataAdapterType=function(){return l.StiSqlAdapterService},i.prototype.updateParameters=function(){if(null==this.dataTable||0==this.parameters.count)return;this.invokeConnecting()},i.prototype.retrieveDataAsync=function(t){var e,r,a=this;void 0===t&&(t=!1);var s=new g;if(0<this.parameters.count){this.invokeConnecting();try{for(var n=__values(this.parameters.list),i=n.next();!i.done;i=n.next())var o,l=i.value.getParameterValue()}catch(t){e={error:t}}finally{try{i&&!i.done&&(r=n.return)&&r.call(n)}finally{if(e)throw e.error}}}var u=this.getDataAdapter(),c=this.nameInSource.indexOf(".");-1==c&&(c=this.nameInSource.length);var p=this.nameInSource.substring(0,c),c=this.dictionary.databases.toList().firstOrDefault(function(t){return t.name==p}),h=this;if(null==c)return s.callTry(),s;return(t?u.retrieveSchemaAsync(h.dictionary.report,h,c.connectionString,this.sqlCommand).try(function(t){var e,r;try{try{for(var n=__values(t.tables),i=n.next();!i.done;i=n.next()){var o=i.value;o.name==h.name&&o.columns.forEach(function(t){null==h.dataTable.columns.getByName(t.name)&&h.dataTable.columns.add(new d(t.name,t.type))})}}catch(t){e={error:t}}finally{try{i&&!i.done&&(r=n.return)&&r.call(n)}finally{if(e)throw e.error}}a.checkColumnsIndexs(),s.callTry()}catch(t){m.System.StiError.showError(t,!1),s.callCatch(t.message)}}).catch(function(t){s.callCatch(t)}):u.retrieveDataAsync(this.dictionary.report,this,c.connectionString,this.sqlCommand).try(function(t){h.dataTable=t,h.checkColumnsIndexs(),s.callTry()}).catch(function(t){s.callCatch(t)})).abort(s),s},i.prototype.getFinalSqlCommand=function(){return null},Object.defineProperty(i.prototype,"componentId",{get:function(){return e.StiComponentId.StiSqlSource},enumerable:!1,configurable:!0}),i.prototype.createNew=function(){return new i},n=i,l.StiSqlSource=n}(Stimulsoft=Stimulsoft||{}),function(t){var e,r,n,t,l;function i(t,e,r,n,i,o,a,s){return void 0===t&&(t=""),void 0===e&&(e=""),void 0===r&&(r=e),void 0===n&&(n=""),void 0===i&&(i=!0),void 0===o&&(o=!1),void 0===a&&(a=30),void 0===s&&(s=""),l.call(this,t,e,r,n,i,o,a,s)||this}r=e=t.Report||(t.Report={}),t=n=r.Dictionary||(r.Dictionary={}),l=t.StiSqlSource,__extends(i,l),Object.defineProperty(i.prototype,"query",{get:function(){return this.sqlCommand},set:function(t){this.sqlCommand=t},enumerable:!1,configurable:!0}),r=i,t.StiNoSqlSource=r}(Stimulsoft=Stimulsoft||{}),function(t){var e,r,n,i,t,l;function o(t,e,r,n,i,o,a,s){return void 0===t&&(t=""),void 0===e&&(e=""),void 0===r&&(r=e),void 0===n&&(n=""),void 0===i&&(i=!0),void 0===o&&(o=!1),void 0===a&&(a=30),void 0===s&&(s=""),l.call(this,t,e,r,n,i,o,a,s)||this}r=e=t.Report||(t.Report={}),i=n=r.Dictionary||(r.Dictionary={}),l=i.StiNoSqlSource,__extends(o,l),o.prototype.getDataAdapterType=function(){return i.StiMongoDbAdapterService},Object.defineProperty(o.prototype,"componentId",{get:function(){return r.StiComponentId.StiMongoDbSource},enumerable:!1,configurable:!0}),o.prototype.createNew=function(){return new o},t=o,i.StiMongoDbSource=t}(Stimulsoft=Stimulsoft||{}),function(n){var t,yt,e,At,bt,Ct,l,i,o,vt,wt,Bt,It,Tt,Et,Rt,a,s,u,r,c;function p(t,e,r){void 0===t&&(t=""),void 0===e&&(e=""),void 0===r&&(r="");var r=c.call(this,t,e,e,r)||this;return r._filterOn=!0,r._filterMode=s.And,r._filters=new n.Report.Components.StiFiltersCollection,r._groupColumns=[],r._results=[],r._sort=[],r.connectionOrder=At.StiConnectionOrder.None,r}yt=t=n.Report||(n.Report={}),At=e=yt.Dictionary||(yt.Dictionary={}),bt=n.System.StiArray,Ct=n.System.StiString,l=n.System.StiObject,i=n.System.StiPromise,o=n.Data.Engine.StiDataPicker,vt=n.System.StiError,wt=n.System.Data.DBNull,Bt=n.System.Collections.Hashtable,It=n.System.Data.DataColumn,Tt=n.System.Data.DataTable,Et=n.Report.Components.StiDataHelper,Rt=n.Report.Components.StiDataBand,a=n.Base.StiJsonReportObjectHelper,s=n.Report.Components.StiFilterMode,u=n.System.Enum,c=At.StiDataStoreSource,__extends(p,c),p.prototype.saveToJsonObject=function(t){var e=c.prototype.saveToJsonObject.call(this,t);return e.addPropertyEnum("FilterMode",s,this.filterMode,s.And),e.addPropertyJObject("Filters",this.filters.saveToJsonObject(t)),e.addPropertyJObject("GroupColumns",a.Serialize.stringArray(this.groupColumns)),e.addPropertyJObject("Results",a.Serialize.stringArray(this.results)),e.addPropertyJObject("Sort",a.Serialize.stringArray(this.sort)),e},p.prototype.loadFromJsonObject=function(t){var e,r;c.prototype.loadFromJsonObject.call(this,t);try{for(var n=__values(t.properties()),i=n.next();!i.done;i=n.next()){var o=i.value;switch(o.name){case"FilterMode":this._filterMode=u.parse(s,o.value.toString());break;case"Filters":this._filters.loadFromJsonObject(o.value);break;case"GroupColumns":this._groupColumns=a.Deserialize.stringArray(o.value);break;case"Results":this._results=a.Deserialize.stringArray(o.value);break;case"Sort":this._sort=a.Deserialize.stringArray(o.value);break}}}catch(t){e={error:t}}finally{try{i&&!i.done&&(r=n.return)&&r.call(n)}finally{if(e)throw e.error}}},p.prototype.loadFromXml=function(t){c.prototype.loadFromXml.call(this,t);for(var e=0;e<t.childNodes.length;e++){var r=t.childNodes[e];switch(r.nodeName){case"FilterMode":this._filterMode=u.parse(s,r.textContent);break;case"Filters":this._filters.loadFromXml(r);break;case"GroupColumns":for(var n=0;n<r.childNodes.length;n++)"value"==r.childNodes[n].nodeName&&this._groupColumns.push(r.childNodes[n].textContent);break;case"Results":for(var i=0;i<r.childNodes.length;i++)"value"==r.childNodes[i].nodeName&&this._results.push(r.childNodes[i].textContent);break;case"Sort":for(var o=0;o<r.childNodes.length;o++)"value"==r.childNodes[o].nodeName&&this._sort.push(r.childNodes[o].textContent);break}}},Object.defineProperty(p.prototype,"filterMethodHandler",{get:function(){return this._filterMethodHandler},set:function(t){this._filterMethodHandler=t},enumerable:!1,configurable:!0}),Object.defineProperty(p.prototype,"filterOn",{get:function(){return this._filterOn},set:function(t){this._filterOn=t},enumerable:!1,configurable:!0}),Object.defineProperty(p.prototype,"filterMode",{get:function(){return this._filterMode},set:function(t){this._filterMode=t},enumerable:!1,configurable:!0}),Object.defineProperty(p.prototype,"filters",{get:function(){return this._filters},set:function(t){this._filters=t},enumerable:!1,configurable:!0}),p.prototype.getDataAdapterType=function(){return At.StiVirtualAdapterService},Object.defineProperty(p.prototype,"groupColumns",{get:function(){return this._groupColumns},set:function(t){this._groupColumns=t},enumerable:!1,configurable:!0}),Object.defineProperty(p.prototype,"results",{get:function(){return this._results},set:function(t){this._results=t},enumerable:!1,configurable:!0}),Object.defineProperty(p.prototype,"sort",{get:function(){return this._sort},set:function(t){this._sort=t},enumerable:!1,configurable:!0}),p.prototype.connectToDataAsync=function(t){var e=this;void 0===t&&(t=!1);var r=new i;if(!t)return this.connectToDataInternal(),r.callTry();var n=this.dictionary.dataSources.getByName(this.nameInSource);if(null!=n.dataTable)return this.connectToDataInternal(),r.callTry();if(o.existsInCache(n))return n.dataTable=o.getFromCache(n).copy(),this.connectToDataInternal(),r.callTry();return setTimeout(function(){return __awaiter(e,void 0,void 0,function(){var e;return __generator(this,function(t){switch(t.label){case 0:return[4,o.getDataTable(this.dictionary.report,n)];case 1:return(e=t.sent())&&(n.dataTable=e.copy(),this.connectToDataInternal()),[2,r.callTry()]}})})},0),r},p.prototype.connectToDataAsync2=function(n){return void 0===n&&(n=!1),__awaiter(this,void 0,void 0,function(){var e,r;return __generator(this,function(t){switch(t.label){case 0:if(!n)return[3,3];if(null!=(e=this.dictionary.dataSources.getByName(this.nameInSource)).dataTable)return[3,3];if(!o.existsInCache(e))return[3,1];return e.dataTable=o.getFromCache(e).copy(),[3,3];case 1:return[4,o.getDataTable(this.dictionary.report,e)];case 2:(r=t.sent())&&(e.dataTable=r.copy()),t.label=3;case 3:return this.connectToDataInternal(),[2]}})})},p.prototype.connectToDataInternal=function(){var e,t,r,n,i,o,a,s,l,u,c,p,h,m,d=null,g=yt.StiNameValidator.correctName(this.name),f;(null==d&&this.dictionary.report.calculationMode==yt.StiCalculationMode.Interpretation||this.dictionary.report.isDesigning)&&((f=new Rt).name="VirtualSourceBand",f.page=this.dictionary.report.pages.getByIndex(0),f.dataSourceName=this.nameInSource,f.filters=this.filters,d=Et.getFilterEventHandler(f,f));var S=this.dictionary.dataSources.getByName(this.nameInSource);if(null==S)throw Ct.format("'{0}' filter. Datasource '{1}' is not found.",this.name,this.nameInSource);var y=[];try{for(var A=__values(this.groupColumns),b=A.next(),C,v;!b.done;b=A.next()){if((v=C=b.value).stimulsoft.startsWith("DESC"))null!=S.columns.getByName(v)&&null==S.columns.getByName(v.substr(4))?y.push("ASC"):(y.push("DESC"),v=v.substr(4));else{if(v.stimulsoft.startsWith("NONE"))continue;y.push("ASC")}var w=v.split("."),B=0;try{for(var I=(r=void 0,__values(w)),T=I.next();!T.done;T=I.next()){var E=T.value,R=E;(0==B&&1<w.length||B<w.length-1)&&(R=At.StiDataColumn.getRelationName(this.dictionary,S,E)),y.push(R)}}catch(t){r={error:t}}finally{try{T&&!T.done&&(n=I.return)&&n.call(I)}finally{if(r)throw r.error}}}}catch(t){e={error:t}}finally{try{b&&!b.done&&(t=A.return)&&t.call(A)}finally{if(e)throw e.error}}try{for(var D=__values(this.sort),P=D.next();!P.done;P=D.next()){var x=P.value;y.push(x)}}catch(t){i={error:t}}finally{try{P&&!P.done&&(o=D.return)&&o.call(D)}finally{if(i)throw i.error}}var f=y.stimulsoft.toArray();0==f.length&&(f=null),S.resetDetailsRows(),S.first(),S.setSort(null,f,null,null,null),S.setFilter(d);var F=new Tt;try{for(var N=__values(this.columns.list),k=N.next();!k.done;k=N.next()){var M=k.value,O=new It(M.name,M.type);F.columns.add(O)}}catch(t){a={error:t}}finally{try{k&&!k.done&&(s=N.return)&&s.call(N)}finally{if(a)throw a.error}}var _=!1,j=new Bt,G=[];try{for(var H=__values(this.groupColumns),Q=H.next(),C,v;!Q.done;Q=H.next()){(v=C=Q.value).stimulsoft.startsWith("DESC")?null!=S.columns.getByName(v)&&null==S.columns.getByName(v.substr(4))||(v=v.substr(4)):v.stimulsoft.startsWith("NONE")&&(v=v.substr(4));var L=new At.StiFirstFunctionService;j.set(v,L),G.push(L)}}catch(t){l={error:t}}finally{try{Q&&!Q.done&&(u=H.return)&&u.call(H)}finally{if(l)throw l.error}}var Y=0;while(Y<this.results.length){var M=this.results[Y++],U=this.results[Y++],J=this.results[Y++];switch(U){case"Sum":var W=new At.StiSumFunctionService;j.set(J,W),G.push(W),_=!0;break;case"SumDistinct":var W=new At.StiSumDistinctFunctionService;j.set(J,W),G.push(W),_=!0;break;case"Count":var V=new At.StiCountFunctionService;j.set(J,V),G.push(V),_=!0;break;case"CountDistinct":var V=new At.StiCountDistinctFunctionService;j.set(J,V),G.push(V),_=!0;break;case"Min":var z=new At.StiMinFunctionService;j.set(J,z),G.push(z),_=!0;break;case"Max":var z=new At.StiMaxFunctionService;j.set(J,z),G.push(z),_=!0;break;case"Avg":var X=new At.StiAvgFunctionService;j.set(J,X),G.push(X),_=!0;break;case"First":var X=new At.StiFirstFunctionService;j.set(J,X),G.push(X),_=!0;break;case"Last":var K=new At.StiLastFunctionService;j.set(J,K),G.push(K),_=!0;break;case"MinDate":var K=new At.StiMinDateFunctionService;j.set(J,K),G.push(K),_=!0;break;case"MaxDate":var Z=new At.StiMaxDateFunctionService;j.set(J,Z),G.push(Z),_=!0;break;case"MinTime":var Z=new At.StiMinTimeFunctionService;j.set(J,Z),G.push(Z),_=!0;break;case"MaxTime":var q=new At.StiMaxTimeFunctionService;j.set(J,q),G.push(q),_=!0;break;case"MinStr":var q=new At.StiMinStrFunctionService;j.set(J,q),G.push(q),_=!0;break;case"MaxStr":var $=new At.StiMaxStrFunctionService;j.set(J,$),G.push($),_=!0;break;case"Mode":var $=new At.StiModeFunctionService;j.set(J,$),G.push($),_=!0;break;case"Median":var tt=new At.StiMedianFunctionService;j.set(J,tt),G.push(tt),_=!0;break;default:var tt=new At.StiFirstFunctionService;j.set(J,tt),G.push(tt);break}}var et=0<this.groupColumns.length,rt=bt.create(Object,this.groupColumns.length),nt=!0,it=0;!et&&_&&this.initTotals(G);var ot=!_&&!et;S.first(),this.dictionary.report.line=1,this.dictionary.report.lineThrough=1;while(!S.isEof){if(et){var at=bt.create(Object,this.groupColumns.length),st=0;try{for(var lt=(c=void 0,__values(this.groupColumns)),ut=lt.next(),C,v;!ut.done;ut=lt.next()){(v=C=ut.value).stimulsoft.startsWith("DESC")?null!=S.columns.getByName(v)&&null==S.columns.getByName(v.substr(4))||(v=v.substr(4)):v.stimulsoft.startsWith("NONE")&&(v=v.substr(4)),at[st++]=At.StiDataColumn.getDataFromDataColumn(this.dictionary,yt.StiNameValidator.correctName(S.name)+"."+v,!1)}}catch(t){c={error:t}}finally{try{ut&&!ut.done&&(p=lt.return)&&p.call(lt)}finally{if(c)throw c.error}}var ct=!1;nt?this.initTotals(G):ct=this.compare(rt,at),ct&&(this.addRow(F,j),this.initTotals(G),it=0),rt=at,nt=!1}var pt=null;ot&&(pt=F.newRow());try{try{for(var ht=(h=void 0,__values(this.groupColumns)),mt=ht.next(),C,v,dt,gt;!mt.done;mt=ht.next()){(v=C=mt.value).stimulsoft.startsWith("DESC")?null!=S.columns.getByName(v)&&null==S.columns.getByName(v.substr(4))||(v=v.substr(4)):v.stimulsoft.startsWith("NONE")&&(v=v.substr(4)),null==(dt=At.StiDataColumn.getDataFromDataColumn(this.dictionary,yt.StiNameValidator.correctName(S.name)+"."+v,!1))&&(dt=wt.value),ot?pt.sett(C,dt):null!=(gt=j.get(v).stimulsoft.as(At.StiAggregateFunctionService))&>.calcItem(dt)}}catch(t){h={error:t}}finally{try{mt&&!mt.done&&(m=ht.return)&&m.call(ht)}finally{if(h)throw h.error}}}catch(t){vt.showError(t,!1)}var ft=0;while(ft<this.results.length)try{var M=this.results[ft++],U=this.results[ft++],St=this.results[ft++],dt=wt.value,gt;Ct.isNullOrEmpty(M)||null==(dt=At.StiDataColumn.getDataFromDataColumn(this.dictionary,yt.StiNameValidator.correctName(S.name)+"."+M,!1))&&(dt=wt.value),ot?pt.sett(St,dt):null!=(gt=j.get(St).stimulsoft.as(At.StiAggregateFunctionService))&>.calcItem(dt)}catch(t){vt.showError(t,!1)}it++,ot&&F.rows.add(pt),S.next(),this.dictionary.report.line++,this.dictionary.report.lineThrough++}0<it&&(_||et)&&this.addRow(F,j),this.dataTable=F,S.resetData(),S.first()},p.prototype.compare=function(t,e){var r,n,i=0;try{for(var o=__values(t),a=o.next();!a.done;a=o.next()){var s=a.value;if(null==s){if(null==e[i]){i++;continue}return!0}if(!l.stimulsoft.equals(s,e[i++]))return!0}}catch(t){r={error:t}}finally{try{a&&!a.done&&(n=o.return)&&n.call(o)}finally{if(r)throw r.error}}return!1},p.prototype.initTotals=function(t){var e,r;try{for(var n=__values(t),i=n.next(),o;!i.done;i=n.next()){i.value.init()}}catch(t){e={error:t}}finally{try{i&&!i.done&&(r=n.return)&&r.call(n)}finally{if(e)throw e.error}}},p.prototype.addRow=function(t,e){var r,n,i=t.newRow();try{for(var o=__values(this.columns.list),a=o.next();!a.done;a=o.next()){var s=a.value,l=null!=e.get(s.name)?e.get(s.name).stimulsoft.as(At.StiAggregateFunctionService):null,l;null!=l&&(null==(l=l.getValue())&&(l=wt.value),i.sett(s.name,l))}}catch(t){r={error:t}}finally{try{a&&!a.done&&(n=o.return)&&n.call(o)}finally{if(r)throw r.error}}t.rows.add(i)},Object.defineProperty(p.prototype,"componentId",{get:function(){return yt.StiComponentId.StiVirtualSource},enumerable:!1,configurable:!0}),p.prototype.createNew=function(){return new p},r=p,At.StiVirtualSource=r}(Stimulsoft=Stimulsoft||{}),function(t){var e,r,n,i,t,l;function o(t,e,r,n,i,o,a,s){return void 0===t&&(t=""),void 0===e&&(e=""),void 0===r&&(r=""),void 0===n&&(n=""),void 0===i&&(i=!0),void 0===o&&(o=!1),void 0===a&&(a=30),void 0===s&&(s=""),l.call(this,t,e,r,n,i,o,a,s)||this}r=e=t.Report||(t.Report={}),i=n=r.Dictionary||(r.Dictionary={}),l=i.StiNoSqlSource,__extends(o,l),o.prototype.getDataAdapterType=function(){return i.StiDataWorldAdapterService},Object.defineProperty(o.prototype,"componentId",{get:function(){return r.StiComponentId.StiDataWorldSource},enumerable:!1,configurable:!0}),o.prototype.createNew=function(){return new o},t=o,i.StiDataWorldSource=t}(Stimulsoft=Stimulsoft||{}),function(t){var e,r,n,i,t,l;function o(t,e,r,n,i,o,a,s){return void 0===t&&(t=""),void 0===e&&(e=""),void 0===r&&(r=""),void 0===n&&(n=""),void 0===i&&(i=!0),void 0===o&&(o=!1),void 0===a&&(a=30),void 0===s&&(s=""),l.call(this,t,e,r,n,i,o,a,s)||this}r=e=t.Report||(t.Report={}),i=n=r.Dictionary||(r.Dictionary={}),l=i.StiSqlSource,__extends(o,l),o.prototype.getDataAdapterType=function(){return i.StiQuickBooksAdapterService},o.prototype.createNew=function(){return new o},Object.defineProperty(o.prototype,"componentId",{get:function(){return r.StiComponentId.StiQuickBooksSource},enumerable:!1,configurable:!0}),t=o,i.StiQuickBooksSource=t}(Stimulsoft=Stimulsoft||{}),function(t){var e,t,r,n,l;function i(t,e,r,n,i,o,a,s){return void 0===t&&(t=""),void 0===e&&(e=""),void 0===r&&(r=e),void 0===n&&(n=""),void 0===i&&(i=!0),void 0===o&&(o=!1),void 0===a&&(a=30),void 0===s&&(s=""),l.call(this,t,e,r,n,i,o,a,s)||this}t=e=t.Report||(t.Report={}),n=r=t.Dictionary||(t.Dictionary={}),l=n.StiSqlSource,__extends(i,l),i.prototype.getDataAdapterType=function(){return n.StiODataAdapterService},i.prototype.createNew=function(){return new i},t=i,n.StiODataSource=t}(Stimulsoft=Stimulsoft||{}),function(t){var e,r,n,i,t,l;function o(t,e,r,n,i,o,a,s){return void 0===t&&(t=""),void 0===e&&(e=""),void 0===r&&(r=e),void 0===n&&(n=""),void 0===i&&(i=!0),void 0===o&&(o=!1),void 0===a&&(a=30),void 0===s&&(s=""),l.call(this,t,e,r,n,i,o,a,s)||this}r=e=t.Report||(t.Report={}),i=n=r.Dictionary||(r.Dictionary={}),l=i.StiSqlSource,__extends(o,l),o.prototype.getDataAdapterType=function(){return i.StiFirebirdAdapterService},Object.defineProperty(o.prototype,"componentId",{get:function(){return r.StiComponentId.StiFirebirdSource},enumerable:!1,configurable:!0}),o.prototype.createNew=function(){return new o},t=o,i.StiFirebirdSource=t}(Stimulsoft=Stimulsoft||{}),function(t){var e,r,n,i,t,l;function o(t,e,r,n,i,o,a,s){return void 0===t&&(t=""),void 0===e&&(e=""),void 0===r&&(r=e),void 0===n&&(n=""),void 0===i&&(i=!0),void 0===o&&(o=!1),void 0===a&&(a=30),void 0===s&&(s=""),l.call(this,t,e,r,n,i,o,a,s)||this}r=e=t.Report||(t.Report={}),i=n=r.Dictionary||(r.Dictionary={}),l=i.StiSqlSource,__extends(o,l),o.prototype.getDataAdapterType=function(){return i.StiMySqlAdapterService},Object.defineProperty(o.prototype,"componentId",{get:function(){return r.StiComponentId.StiMySqlSource},enumerable:!1,configurable:!0}),o.prototype.createNew=function(){return new o},t=o,i.StiMySqlSource=t}(Stimulsoft=Stimulsoft||{}),function(t){var e,r,n,i,t,l;function o(t,e,r,n,i,o,a,s){return void 0===t&&(t=""),void 0===e&&(e=""),void 0===r&&(r=e),void 0===n&&(n=""),void 0===i&&(i=!0),void 0===o&&(o=!1),void 0===a&&(a=100),void 0===s&&(s=""),l.call(this,t,e,r,n,i,o,a,s)||this}r=e=t.Report||(t.Report={}),i=n=r.Dictionary||(r.Dictionary={}),l=i.StiSqlSource,__extends(o,l),o.prototype.getDataAdapterType=function(){return i.StiOracleAdapterService},Object.defineProperty(o.prototype,"componentId",{get:function(){return r.StiComponentId.StiOracleSource},enumerable:!1,configurable:!0}),o.prototype.createNew=function(){return new o},t=o,i.StiOracleSource=t}(Stimulsoft=Stimulsoft||{}),function(t){var e,r,n,i,t,l;function o(t,e,r,n,i,o,a,s){return void 0===t&&(t=""),void 0===e&&(e=""),void 0===r&&(r=e),void 0===n&&(n=""),void 0===i&&(i=!0),void 0===o&&(o=!1),void 0===a&&(a=30),void 0===s&&(s=""),l.call(this,t,e,r,n,i,o,a,s)||this}r=e=t.Report||(t.Report={}),i=n=r.Dictionary||(r.Dictionary={}),l=i.StiSqlSource,__extends(o,l),o.prototype.getDataAdapterType=function(){return i.StiPostgreSQLAdapterService},Object.defineProperty(o.prototype,"componentId",{get:function(){return r.StiComponentId.StiPostgreSQLSource},enumerable:!1,configurable:!0}),o.prototype.createNew=function(){return new o},t=o,i.StiPostgreSQLSource=t}(Stimulsoft=Stimulsoft||{}),function(t){var e,r,n,i,t,l;function o(t,e,r,n,i,o,a,s){return void 0===t&&(t=""),void 0===e&&(e=""),void 0===r&&(r=e),void 0===n&&(n=""),void 0===i&&(i=!0),void 0===o&&(o=!1),void 0===a&&(a=30),void 0===s&&(s=""),l.call(this,t,e,r,n,i,o,a,s)||this}r=e=t.Report||(t.Report={}),i=n=r.Dictionary||(r.Dictionary={}),l=i.StiSqlSource,__extends(o,l),o.registerCustomSource=function(){var t=new o;StiOptions.Services.dataSource.add(t)},o.prototype.getDataAdapterType=function(){return i.StiCustomAdapterService},Object.defineProperty(o.prototype,"componentId",{get:function(){return r.StiComponentId.StiSqlSource},enumerable:!1,configurable:!0}),o.prototype.createNew=function(){return new o},t=o,i.StiCustomSource=t}(Stimulsoft=Stimulsoft||{}),function(ut){var t,l,e,ct,pt,ht,mt,dt,gt,ft,St,yt,At,bt,Ct,vt,wt,Bt,It,Tt,Et,Rt,Dt,m,d,g,r;function Pt(){}l=t=ut.Report||(ut.Report={}),ct=e=l.Dictionary||(l.Dictionary={}),pt=ut.System.StiString,ht=ut.Report.CrossTab.StiCrossHeader,mt=ut.Report.CrossTab.StiCrossCell,dt=ut.Report.Components.StiFilterMode,gt=ut.Report.Components.StiCondition,ft=ut.Report.Components.StiRichText,St=ut.Report.Components.StiDataHelper,yt=ut.System.Text.StringBuilder,At=ut.Report.Components.StiMultiCondition,bt=ut.Report.BarCodes.StiBarCode,Ct=ut.Report.Components.IStiConditions,vt=ut.Report.CrossTab.StiCrossTab,wt=ut.Report.Components.StiCheckBox,Bt=ut.Report.Components.StiImage,It=ut.System.Collections.Hashtable,Tt=ut.Report.Components.StiDataBand,Et=ut.Report.Components.StiGroupHeaderBand,Rt=ut.Report.Components.StiSimpleText,Dt=ut.Report.Components.StiText,m=ut.Report.Engine.StiParser.StiParser,d=ut.Report.Engine.StiAsmCommandType,g=ut.Report.Engine.StiParser.StiAsmCommand,Pt.getDatabaseFromDataSource=function(t){if(null==t||null==t.dictionary)return null;var e=t.getCategoryName();if(pt.isNullOrWhiteSpace(e))return null;return e=e.toLowerCase(),t.dictionary.databases.toList().firstOrDefault(function(t){return null!=t.name&&t.name.toLowerCase()==e})},Pt.getDataSourcesFromDatabase=function(t,e){if(null==e||null==e.name)return null;return t.dictionary.dataSources.toList().where(function(t){return null!=t.getCategoryName()}).where(function(t){return e.name.toLowerCase()==t.getCategoryName().toLowerCase()})},Pt.getUsedDataSourcesNamesList=function(t){var e,r,n=Pt.getUsedDataSourcesNames(t),i=new Array;try{for(var o=__values(n.keys),a=o.next();!a.done;a=o.next()){var s=a.value;i.push(s)}}catch(t){e={error:t}}finally{try{a&&!a.done&&(r=o.return)&&r.call(o)}finally{if(e)throw e.error}}return i},Pt.getUsedDataSourcesNames=function(t){var e,r,n,i,o,a,s,l,u,c,p,h,m,d,g,f,S=new It,y=0<t.renderedPages.count?t.renderedPages.getByIndex(0):new ut.Report.Components.StiPage;y.report=t;var A=new Dt;A.page=y,A.name="*GetUsedDataSourcesNames*";for(var b=t.getComponents(),C=0;C<b.count;C++){var v=b.getByIndex(C);try{var w=v.stimulsoft.as(Tt);null!=w&&null!=w.dataSourceName&&0<w.dataSourceName.length&&(this.addDataSourceName(S,w.dataSourceName),this.addRelation(S,w.dataRelation),this.addSort(S,A,w.sort,w.dataSourceName));var w=v.stimulsoft.as(vt);null!=w&&null!=w.dataSourceName&&0<w.dataSourceName.length&&(this.addDataSourceName(S,w.dataSourceName),this.addSort(S,A,w.sort,w.dataSourceName));var w=v.stimulsoft.as(Et);null!=w&&Pt.checkExpression(w.condition,v,S);var w=v.stimulsoft.as(mt);null!=w&&Pt.checkExpression(w.value,v,S);var w=v.stimulsoft.as(ht);null!=w&&Pt.checkExpression(w.displayValue,v,S);var w=v.stimulsoft.as(Rt);null!=w&&Pt.checkExpression(w.text,v,S);var w=v.stimulsoft.as(Dt);null!=w&&Pt.checkExpression(w.excelValue,v,S);var B=v.stimulsoft.as(ft),w=v.stimulsoft.as(Bt);null!=w&&(this.checkExpression(w.imageData,v,S),this.checkExpression("{"+w.dataColumn+"}",v,S));var w=v.stimulsoft.as(bt);null!=w&&this.checkExpression(w.code,v,S);var w=v.stimulsoft.as(wt);null!=w&&this.checkExpression(w.checked,v,S);var I=v.stimulsoft.as(ut.Report.Chart.IStiChart);if(null!=I){pt.isNullOrEmpty(I.dataSourceName)||this.addDataSourceName(S,I.dataSourceName);try{for(var T=(e=void 0,__values(I.series.toCast())),E=T.next();!E.done;E=T.next()){var R=E.value;this.checkExpression(R.argument,v,S),this.checkExpression("{"+R.argumentDataColumn+"}",v,S)}}catch(t){e={error:t}}finally{try{E&&!E.done&&(r=T.return)&&r.call(T)}finally{if(e)throw e.error}}}var D=v.stimulsoft.as(ut.Report.Components.StiPage),P=v.stimulsoft.as(Ct);if(null!=P&&0<P.conditions.count){var x=[];try{for(var F=(n=void 0,__values(P.conditions.list)),N=F.next();!N.done;N=F.next()){var k=N.value,M=k.stimulsoft.as(gt),O=null,_;if(k.stimulsoft.is(At)){var j=k.stimulsoft.as(At);if(j.filterOn&&0<j.filters.count){for(var G=new yt("{"),H=0;H<j.filters.count;H++){var Q=j.filters.getByIndex(H);G.append("("),G.append(St.getFilterExpression(Q,Q.column,t)),G.append(")"),H<j.filters.count-1&&G.append(j.filterMode==dt.And?" && ":" || ")}G.append("}");var _={condition:j,expression:G.toString()};x.push(_)}}else{null!=M&&(_={condition:M,expression:O="{"+St.getFilterExpression(M,M.column,t)+"}"},x.push(_))}}}catch(t){n={error:t}}finally{try{N&&!N.done&&(i=F.return)&&i.call(F)}finally{if(n)throw n.error}}if(0<x.length)try{for(var L=(o=void 0,__values(x)),Y=L.next();!Y.done;Y=L.next()){var _=Y.value;this.checkExpression(_.condition,v,S)}}catch(t){o={error:t}}finally{try{Y&&!Y.done&&(a=L.return)&&a.call(L)}finally{if(o)throw o.error}}}}catch(t){ut.System.StiError.showError(t,!1)}}var U=new Array;try{for(var J=__values(S.keys),W=J.next();!W.done;W=J.next()){var V,z=W.value,X,K;null!=(X=t.dictionary.dataSources.getByName(z))&&(null==(K=X.stimulsoft.as(ct.StiVirtualSource))||pt.isNullOrEmpty(K.nameInSource)||U.push(z))}}catch(t){s={error:t}}finally{try{W&&!W.done&&(l=J.return)&&l.call(J)}finally{if(s)throw s.error}}try{for(var Z=__values(U),q=Z.next();!q.done;q=Z.next()){var $=q.value,tt=t.dictionary.dataSources.getByName($).stimulsoft.as(ct.StiVirtualSource),X=t.dictionary.dataSources.getByName(tt.nameInSource);this.addDataSourceName(S,X.name);try{for(var et=(p=void 0,__values(tt.groupColumns)),rt=et.next();!rt.done;rt=et.next()){var nt=rt.value;this.addDataSourceColumn(S,X.name,nt)}}catch(t){p={error:t}}finally{try{rt&&!rt.done&&(h=et.return)&&h.call(et)}finally{if(p)throw p.error}}var H=0;while(H<tt.results.length)this.addDataSourceColumn(S,X.name,tt.results[H]),H+=3;this.addSort(S,A,tt.sort,X.name)}}catch(t){u={error:t}}finally{try{q&&!q.done&&(c=Z.return)&&c.call(Z)}finally{if(u)throw u.error}}try{for(var it=__values(t.dictionary.variables.list),ot=it.next();!ot.done;ot=it.next()){var at=ot.value;at.initBy==ct.StiVariableInitBy.Expression&&(this.checkExpression("{"+at.value+"}",A,S),at.type==ut.Report.Range&&(this.checkExpression("{"+at.initByExpressionFrom+"}",A,S),this.checkExpression("{"+at.initByExpressionTo+"}",A,S))),at.requestFromUser&&at.dialogInfo.itemsInitializationType==ct.StiItemsInitializationType.Columns&&this.checkExpression("{"+at.dialogInfo.keysColumn+"}",A,S)}}catch(t){m={error:t}}finally{try{ot&&!ot.done&&(d=it.return)&&d.call(it)}finally{if(m)throw m.error}}if(null!=t.listOfUsedData)try{for(var st=__values(t.listOfUsedData),lt=st.next();!lt.done;lt=st.next()){var $=lt.value;this.addDataSourceName(S,$)}}catch(t){g={error:t}}finally{try{lt&&!lt.done&&(f=st.return)&&f.call(st)}finally{if(g)throw g.error}}return S},Pt.checkExpression=function(t,o,a){var e,r;try{var n,i={ref:!1},s=m.parseTextValue(t,o,o,i,!1,!0),n=i.ref;if(s instanceof Array&&0<s.length&&s[0].stimulsoft.is(g)){var l=function(t){if(t.type==d.PushDataSourceField){var e=t.parameter1.split("."),r=o.report.dictionary.dataSources.getByName(e[0]),t;if(r.is(ct.StiVirtualSource)&&2<e.length&&(t=e[1]+"."+e[2],r.columns.contains(t)?(e[1]=t,e.stimulsoft.removeAt(2)):3<e.length&&(t+="."+e[3],r.columns.contains(t)&&(e[1]=t,e.stimulsoft.removeAt(2),e.stimulsoft.removeAt(2)))),u.addDataSourceName(a,r.name),2<e.length){var n=e[1];u.addRelation(a,r.getParentRelations().toList().where(function(t){return t.nameInSource==n}).first()),r=r.getParentDataSource(n),u.addDataSourceName(a,r.name);var i=2;while(i<e.length-1)n=e[i],u.addRelation(a,r.getParentRelations().toList().where(function(t){return t.nameInSource==n}).first()),r=r.getParentDataSource(n),u.addDataSourceName(a,r.name),i++}1<e.length&&u.addDataSourceColumn(a,r.name,e[e.length-1])}},u=this;try{for(var c=__values(s),p=c.next(),h;!p.done;p=c.next()){l(p.value)}}catch(t){e={error:t}}finally{try{p&&!p.done&&(r=c.return)&&r.call(c)}finally{if(e)throw e.error}}}}catch(t){ut.System.StiError.showError(t,!1)}},Pt.addDataSourceName=function(t,e){t.containsKey(e)||t.set(e,new It)},Pt.addDataSourceColumn=function(t,e,r){var n=t.get(e).stimulsoft.as(It);null==n&&(n=new It,t.set(e,n)),n.set(r,r)},Pt.addRelation=function(t,e){var r,n,i,o;if(null!=e){if(null!=e.childSource){this.addDataSourceName(t,e.childSource.name);try{for(var a=__values(e.childColumns),s=a.next();!s.done;s=a.next()){var l=s.value;this.addDataSourceColumn(t,e.childSource.name,l)}}catch(t){r={error:t}}finally{try{s&&!s.done&&(n=a.return)&&n.call(a)}finally{if(r)throw r.error}}}if(null!=e.parentSource){this.addDataSourceName(t,e.parentSource.name);try{for(var u=__values(e.parentColumns),c=u.next();!c.done;c=u.next()){var l=c.value;this.addDataSourceColumn(t,e.parentSource.name,l)}}catch(t){i={error:t}}finally{try{c&&!c.done&&(o=u.return)&&o.call(u)}finally{if(i)throw i.error}}}}},Pt.addSort=function(t,e,r,n){var i=1;while(i<r.length){var o=r[i];o.stimulsoft.startsWith("{")?this.checkExpression(o,e,t):this.addDataSourceColumn(t,n,o),i+=2}},Pt.getDataSourcesUsedInRequestFromUsersVariables=function(t){var e,r,n=new It,i=new Dt;i.name="*RequestFromUserVariable*",i.page=new ut.Report.Components.StiPage(t);try{for(var o=__values(t.dictionary.variables.list),a=o.next();!a.done;a=o.next()){var s=a.value;s.requestFromUser&&(s.dialogInfo.itemsInitializationType==ct.StiItemsInitializationType.Columns&&this.checkExpression("{"+s.dialogInfo.keysColumn+"}",i,n),s.initBy==ct.StiVariableInitBy.Expression&&(this.checkExpression("{"+s.value+"}",i,n),s.type==l.Range&&(this.checkExpression("{"+s.initByExpressionFrom+"}",i,n),this.checkExpression("{"+s.initByExpressionTo+"}",i,n))))}}catch(t){e={error:t}}finally{try{a&&!a.done&&(r=o.return)&&r.call(o)}finally{if(e)throw e.error}}return n},r=Pt,ct.StiDataSourceHelper=r}(Stimulsoft=Stimulsoft||{}),function(t){var e,r,n,i,s,l;function o(){}r=e=t.Report||(t.Report={}),i=n=r.Dictionary||(r.Dictionary={}),s=t.Report.Engine.StiParser.StiParser,l=t.Report.Components.StiText,o.connectSqlSource=function(t){var e,r,n=new l;n.name="**DataSourceParameter**",n.page=t.dictionary.report.pages.getByIndex(0);try{for(var i=__values(t.parameters.list),o=i.next();!o.done;o=i.next()){var a=o.value;a.parameterValue=s.parseTextValue("{"+a.value+"}",n)}}catch(t){e={error:t}}finally{try{o&&!o.done&&(r=i.return)&&r.call(i)}finally{if(e)throw e.error}}t.sqlCommand=s.parseTextValue(t.sqlCommand,n)},r=o,i.StiDataSourceParserHelper=r}(Stimulsoft=Stimulsoft||{}),function(t){var e,r,n,t,i,o,a,s,l,u,c,p,h,m,d,g,f,S,y,A;r=e=t.Report||(t.Report={}),t=n=r.Dictionary||(r.Dictionary={}),(r=i=t.StiVariableInitBy||(t.StiVariableInitBy={}))[r["Value"]=0]="Value",r[r["Expression"]=1]="Expression",(r=o=t.StiDateTimeType||(t.StiDateTimeType={}))[r["Date"]=0]="Date",r[r["DateAndTime"]=1]="DateAndTime",r[r["Time"]=2]="Time",(r=a=t.StiItemsInitializationType||(t.StiItemsInitializationType={}))[r["Items"]=0]="Items",r[r["Columns"]=1]="Columns",(r=s=t.StiTypeMode||(t.StiTypeMode={}))[r["Value"]=0]="Value",r[r["NullableValue"]=1]="NullableValue",r[r["List"]=2]="List",r[r["Range"]=3]="Range",(r=l=t.StiSortOrder||(t.StiSortOrder={}))[r["Asc"]=0]="Asc",r[r["Desc"]=1]="Desc",(r=u=t.StiAutoSynchronizeMode||(t.StiAutoSynchronizeMode={}))[r["None"]=0]="None",r[r["IfDictionaryEmpty"]=1]="IfDictionaryEmpty",r[r["Always"]=2]="Always",(r=c=t.StiRestrictionTypes||(t.StiRestrictionTypes={}))[r["None"]=0]="None",r[r["DenyEdit"]=1]="DenyEdit",r[r["DenyDelete"]=2]="DenyDelete",r[r["DenyMove"]=4]="DenyMove",r[r["DenyShow"]=8]="DenyShow",(r=p=t.StiDataType||(t.StiDataType={}))[r["BusinessObject"]=0]="BusinessObject",r[r["DataSource"]=1]="DataSource",r[r["DataRelation"]=2]="DataRelation",r[r["DataColumn"]=3]="DataColumn",r[r["Database"]=4]="Database",r[r["Resource"]=5]="Resource",r[r["Variable"]=6]="Variable",r[r["Total"]=7]="Total",(r=h=t.StiTotalEvent||(t.StiTotalEvent={}))[r["Never"]=0]="Never",r[r["OnEachRecord"]=1]="OnEachRecord",r[r["OnGroupChanged"]=2]="OnGroupChanged",r[r["OnPageChanged"]=3]="OnPageChanged",r[r["OnColumnChanged"]=4]="OnColumnChanged",r[r["OnEachNewBand"]=5]="OnEachNewBand",r[r["OnExpressionChanged"]=6]="OnExpressionChanged",(r=m=t.StiResourceType||(t.StiResourceType={}))[r["Image"]=0]="Image",r[r["Csv"]=1]="Csv",r[r["Dbf"]=2]="Dbf",r[r["Json"]=3]="Json",r[r["Xml"]=4]="Xml",r[r["Xsd"]=5]="Xsd",r[r["Excel"]=6]="Excel",r[r["Rtf"]=7]="Rtf",r[r["Txt"]=8]="Txt",r[r["Report"]=9]="Report",r[r["ReportSnapshot"]=10]="ReportSnapshot",r[r["FontTtc"]=11]="FontTtc",r[r["FontTtf"]=12]="FontTtf",r[r["FontOtf"]=13]="FontOtf",r[r["FontEot"]=14]="FontEot",r[r["FontWoff"]=15]="FontWoff",r[r["Pdf"]=16]="Pdf",r[r["Word"]=17]="Word",r[r["Map"]=18]="Map",(r=d=t.StiPropertiesProcessingType||(t.StiPropertiesProcessingType={}))[r["All"]=0]="All",r[r["Browsable"]=1]="Browsable",(r=g=t.StiFieldsProcessingType||(t.StiFieldsProcessingType={}))[r["All"]=0]="All",r[r["Browsable"]=1]="Browsable",(r=f=t.StiConnectionOrder||(t.StiConnectionOrder={}))[r["None"]=0]="None",r[r["Standard"]=1]="Standard",r[r["Sql"]=2]="Sql",(r=S=t.StiSqlSourceType||(t.StiSqlSourceType={}))[r["Table"]=0]="Table",r[r["StoredProcedure"]=1]="StoredProcedure",(r=y=t.StiColumnsSynchronizationMode||(t.StiColumnsSynchronizationMode={}))[r["KeepAbsentColumns"]=0]="KeepAbsentColumns",r[r["RemoveAbsentColumns"]=1]="RemoveAbsentColumns",(t=A=t.StiSelectionMode||(t.StiSelectionMode={}))[t["FromVariable"]=0]="FromVariable",t[t["Nothing"]=1]="Nothing",t[t["First"]=2]="First"}(Stimulsoft=Stimulsoft||{}),function(t){var e,r,n,t,i;function o(){return null!==i&&i.apply(this,arguments)||this}r=e=t.Report||(t.Report={}),t=n=r.Dictionary||(r.Dictionary={}),i=t.StiDataTableSource,__extends(o,i),r=o,t.StiUndefinedDataSource=r}(Stimulsoft=Stimulsoft||{}),function(m){var t,d,e;d=t=m.Report||(m.Report={}),function(p){var t=m.System.Collections.CollectionBase,e=m.System.ICloneable,r=m.System.Collections.IComparer,n=m.System.Collections.Hashtable,i=m.Base.JsonReportObject.IStiJsonReportObject,l=m.Base.StiJson,h=m.Report.Dictionary.StiUndefinedDataSource,c=m.System.StiPromise,t=(__extends(a,o=t),a.prototype.implements=function(){return[i,e,r]},a.prototype.saveToJsonObject=function(t){var e,r;if(0==this.list.length)return null;var n=new l,i=0;try{for(var o=__values(this.list),a=o.next();!a.done;a=o.next()){var s=a.value;n.addPropertyJObject(i.toString(),s.saveToJsonObject(t)),i++}}catch(t){e={error:t}}finally{try{a&&!a.done&&(r=o.return)&&r.call(o)}finally{if(e)throw e.error}}return n},a.prototype.loadFromJsonObject=function(t){var e,r,i=StiOptions.Services.dataSource,n=function(t){var e=t.value,r,n=e.properties().firstOrDefault(function(t){return"Ident"==t.name}).value,t=null,t;if(null==(t="StiCustomSource"==n?new p.StiCustomSource:i.firstOrDefault(function(t){return t.stimulsoft.getType().stimulsoft.getTypeName()==n})))return"continue";var t=t.createNew();if(null==t)return"continue";t.dictionary=o.dictionary,t.loadFromJsonObject(e),o.list.push(t)},o=this;try{for(var a=__values(t.properties()),s=a.next(),l;!s.done;s=a.next()){n(s.value)}}catch(t){e={error:t}}finally{try{s&&!s.done&&(r=a.return)&&r.call(a)}finally{if(e)throw e.error}}},a.prototype.loadFromXml=function(t){for(var e=0;e<t.childNodes.length;e++){var r=t.childNodes[e],n;if(null==r.attributes)continue;if(null!=r.attributes.getNamedItem("type")){var i=r.attributes.getNamedItem("Ref").value,o=r.attributes.getNamedItem("type").value.split(".").pop();switch(0==o.indexOf("Sti")&&(o=o.substr(3)),o){case"DataTableSource":var o=new p.StiDataTableSource;o.xmlRefAttrValue=i,o.dictionary=this.dictionary,o.loadFromXml(r),this.list.push(o);break;case"MySqlSource":var a=new p.StiMySqlSource;a.xmlRefAttrValue=i,a.dictionary=this.dictionary,a.loadFromXml(r),this.list.push(a);break;case"SqlSource":var a=new p.StiSqlSource;a.xmlRefAttrValue=i,a.dictionary=this.dictionary,a.loadFromXml(r),this.list.push(a);break;case"VirtualSource":var s=new p.StiVirtualSource;s.xmlRefAttrValue=i,s.dictionary=this.dictionary,s.loadFromXml(r),this.list.push(s);break;case"FirebirdSource":var s=new p.StiFirebirdSource;s.xmlRefAttrValue=i,s.dictionary=this.dictionary,s.loadFromXml(r),this.list.push(s);break;case"OracleSource":var l=new p.StiOracleSource;l.xmlRefAttrValue=i,l.dictionary=this.dictionary,l.loadFromXml(r),this.list.push(l);break;case"PostgreSQLSource":var l=new p.StiPostgreSQLSource;l.xmlRefAttrValue=i,l.dictionary=this.dictionary,l.loadFromXml(r),this.list.push(l);break;case"ODataSource":var u=new p.StiODataSource;u.xmlRefAttrValue=i,u.dictionary=this.dictionary,u.loadFromXml(r),this.list.push(u);break;case"DataTransformation":var u=new p.StiDataTransformation;u.xmlRefAttrValue=i,u.dictionary=this.dictionary,u.loadFromXml(r),this.list.push(u);break;case"DataWorldSource":var c=new p.StiDataWorldSource;c.xmlRefAttrValue=i,c.dictionary=this.dictionary,c.loadFromXml(r),this.list.push(c);break;default:var c=new h;c.xmlRefAttrValue=i,c.dictionary=this.dictionary,c.loadFromXml(r),this.list.push(c);break}}}},a.prototype.compare=function(t,e){var t=t.stimulsoft.as(p.StiDataSource),e=e.stimulsoft.as(p.StiDataSource);return t.name.stimulsoft.compareTo(e.name)*this.directionFactor},Object.defineProperty(a.prototype,"cachedDataSources",{get:function(){return null==this._cachedDataSources&&(this._cachedDataSources=new n),this._cachedDataSources},enumerable:!1,configurable:!0}),a.prototype.fetchAllDataTransformations=function(){return this.toList().where(function(t){return t.is(p.StiDataTransformation)}).cast()},a.prototype.fetchAllVirtualDataSources=function(){return this.toList().where(function(t){return t.is(p.StiVirtualSource)}).cast()},a.prototype.add=function(t){null!=this.dictionary&&(t.dictionary=this.dictionary),o.prototype.add.call(this,t)},a.prototype.contains=function(t){return"string"==typeof t?null!=this.getByName(t):this.list.stimulsoft.contains(t);return!1},a.prototype.remove=function(t){if(this.list.stimulsoft.remove(t),null!=this.dictionary){var e=0;while(e<this.dictionary.relations.length){var r=this.dictionary.relations.getByIndex(e);r.parentSource==t||r.childSource==t?this.dictionary.relations.remove(r):e++}}var n=t.name.toLowerCase();null!=this.cachedDataSources.get(n)&&this.cachedDataSources.remove(n)},a.prototype.getByName=function(t){var e,r;t=t.toLowerCase();var n=this.cachedDataSources.get(t);if(null!=n)return n;try{for(var i=__values(this.list),o=i.next();!o.done;o=i.next()){var a=o.value;if(a.name.toLowerCase()==t)return this.cachedDataSources.set(t,a),a;if(d.StiNameValidator.correctName(a.name.toLowerCase())==d.StiNameValidator.correctName(t))return this.cachedDataSources.set(t,a),a}}catch(t){e={error:t}}finally{try{o&&!o.done&&(r=i.return)&&r.call(i)}finally{if(e)throw e.error}}return null},a.prototype.getByXmlRef=function(t){var e,r;try{for(var n=__values(this.list),i=n.next();!i.done;i=n.next()){var o=i.value;if(o.xmlRefAttrValue==t)return o}}catch(t){e={error:t}}finally{try{i&&!i.done&&(r=n.return)&&r.call(n)}finally{if(e)throw e.error}}return null},a.prototype.setByName=function(t,e){t=t.toLowerCase();for(var r=0,n;r<this.list.length;r++){if(this.getByIndex(r).stimulsoft.as(p.StiDataSource).name.toLowerCase()==t)return void(this.list[r]=e)}this.add(e)},a.prototype.clone=function(){var e,t,r=new a(this.dictionary);try{for(var n=__values(this.list),i=n.next();!i.done;i=n.next()){var o=i.value;r.add(o.clone().stimulsoft.as(p.StiDataSource))}}catch(t){e={error:t}}finally{try{i&&!i.done&&(t=n.return)&&t.call(n)}finally{if(e)throw e.error}}return r},a.prototype.sort=function(t,e){var r,n;if(void 0===t&&(t=p.StiSortOrder.Asc),void 0===e&&(e=!0),t==p.StiSortOrder.Asc?this.directionFactor=1:this.directionFactor=-1,this.list.sort(),e)try{for(var i=__values(this.list),o=i.next(),a;!o.done;o=i.next()){o.value.columns.sort(t)}}catch(t){r={error:t}}finally{try{o&&!o.done&&(n=i.return)&&n.call(i)}finally{if(r)throw r.error}}},a.prototype.clearParametersExpression=function(){var e,t,r,n;try{for(var i=__values(this.list),o=i.next();!o.done;o=i.next()){var a,s=o.value;if(null!=s)try{for(var l=(r=void 0,__values(s.parameters.list)),u=l.next(),c;!u.done;u=l.next()){u.value.expression=""}}catch(t){r={error:t}}finally{try{u&&!u.done&&(n=l.return)&&n.call(l)}finally{if(r)throw r.error}}}}catch(t){e={error:t}}finally{try{o&&!o.done&&(t=i.return)&&t.call(i)}finally{if(e)throw e.error}}},a.prototype.connectAsync=function(t,e){var r,n;void 0===e&&(e=null);var i=new c,o=[];this.list.stimulsoft.copyTo(o),o.sort();var a=0;try{for(var s=__values(o),l=s.next();!l.done;l=s.next()){var u=l.value;if(u.connectionOrder==p.StiConnectionOrder.None)continue;u.connectOnStart&&(t||u.is(p.StiDataTableSource))&&(a++,p.StiDataLeader.connectAsync(u,e,t).try(function(){0==--a&&i.callTry()}).catch(function(t){i.callCatch(t)}).abort(i))}}catch(t){r={error:t}}finally{try{l&&!l.done&&(n=s.return)&&n.call(s)}finally{if(r)throw r.error}}return 0==a&&i.callTry(),i},a.prototype.connect=function(t,e){var r,n;void 0===e&&(e=null);var i=[];this.list.stimulsoft.copyTo(i),i.sort();try{for(var o=__values(i),a=o.next();!a.done;a=o.next()){var s=a.value;if(s.connectionOrder==p.StiConnectionOrder.None)continue;s.connectOnStart&&(t||s.is(p.StiDataTableSource))&&p.StiDataLeader.connect(s,e,t)}}catch(t){r={error:t}}finally{try{a&&!a.done&&(n=o.return)&&n.call(o)}finally{if(r)throw r.error}}},a.prototype.disconnect=function(){var e,t;try{for(var r=__values(this.list),n=r.next();!n.done;n=r.next()){var i=n.value;p.StiDataLeader.disconnect(i)}}catch(t){e={error:t}}finally{try{n&&!n.done&&(t=r.return)&&t.call(r)}finally{if(e)throw e.error}}},a),o;function a(t){var e=o.call(this)||this;return e.directionFactor=1,e.dictionary=t,e}p.StiDataSourcesCollection=t;var s=(u.prototype.compare=function(t,e){return t.connectionOrder.stimulsoft.compareTo(e.connectionOrder)},u);function u(){}}(e=d.Dictionary||(d.Dictionary={}))}(Stimulsoft=Stimulsoft||{}),function(t){var e,t,r,n;t=e=t.Report||(t.Report={}),t=r=t.Dictionary||(t.Dictionary={}),(t=n=t.StiDataTransformationMode||(t.StiDataTransformationMode={}))[t["Dimension"]=0]="Dimension",t[t["Measure"]=1]="Measure"}(Stimulsoft=Stimulsoft||{}),function(t){var e,r,n,i,o,a,s,l,u,c,p,h,m,d,g,f,S,y,A,b,t,C;function v(t,e,r){var e=C.call(this,t,e,e,null!=r?r:u.generateKey())||this;return e.sorts=new s,e.filters=new s,e.actions=new s,e.connectionOrder=i.StiConnectionOrder.None,e.key=u.getOrGeneratedKey(r),e}r=e=t.Report||(t.Report={}),i=n=r.Dictionary||(r.Dictionary={}),o=t.System.StiPromise,a=t.Base.JsonReportObject.IStiJsonReportObject,s=t.System.Collections.List,l=t.System.Data.DataTable,u=t.Base.StiKeyHelper,c=t.Data.Engine.IStiQueryObject,p=t.Data.Helpers.StiUsedDataHelper,h=t.Data.Engine.StiDataSourcePicker,m=t.Data.Engine.StiDataRequestOption,d=t.Data.Engine.StiDataSortRule,g=t.Data.Engine.StiDataFilterRule,f=t.Data.Engine.StiDataActionRule,S=t.Data.Engine.StiDataAnalyzer,y=t.Data.Helpers.StiDataTableConverter,A=t.Data.Exceptions.StiTypeNotRecognizedException,b=t.Base.StiJsonReportObjectHelper,C=i.StiDataStoreSource,__extends(v,C),v.prototype.implements=function(){return v.ImplementsStiDataTransformation||(v.ImplementsStiDataTransformation=C.prototype.implements.call(this).concat([c,a])),v.ImplementsStiDataTransformation},v.prototype.saveToJsonObject=function(t){var e=C.prototype.saveToJsonObject.call(this,t);return e.addPropertyJObject("Sorts",b.Serialize.objectArray(this.sorts,t)),e.addPropertyJObject("Filters",b.Serialize.objectArray(this.filters,t)),e.addPropertyJObject("Actions",b.Serialize.objectArray(this.actions,t)),e},v.prototype.loadFromJsonObject=function(t){var e,r;C.prototype.loadFromJsonObject.call(this,t);try{for(var n=__values(t.properties()),i=n.next();!i.done;i=n.next()){var o=i.value;switch(o.name){case"Sorts":this.sorts.addRange(o.value.properties().toList().select(function(t){return d.loadFromJson(t.value)}));break;case"Filters":this.filters.addRange(o.value.properties().toList().select(function(t){return g.loadFromJson(t.value)}));break;case"Actions":this.actions.addRange(o.value.properties().toList().select(function(t){return f.loadFromJson(t.value)}));break}}}catch(t){e={error:t}}finally{try{i&&!i.done&&(r=n.return)&&r.call(n)}finally{if(e)throw e.error}}},v.prototype.loadFromXml=function(t){var e,r;C.prototype.loadFromXml.call(this,t);try{for(var n=__values(t.childNodes),i=n.next();!i.done;i=n.next()){var o=i.value;switch(o.nodeName){case"Sorts":this.sorts.addRange(o.childNodes.toList().select(function(t){return d.loadFromXml(t)}));break;case"Filters":this.filters.addRange(o.childNodes.toList().select(function(t){return g.loadFromXml(t)}));break;case"Actions":this.actions.addRange(o.childNodes.toList().select(function(t){return f.loadFromXml(t)}));break}}}catch(t){e={error:t}}finally{try{i&&!i.done&&(r=n.return)&&r.call(n)}finally{if(e)throw e.error}}},v.prototype.retrieveUsedDataNames=function(t){return p.getMany2(this.getMeters())},v.prototype.getDataSources=function(t){var e=this,r=this.getDictionary();if(null==r)return null;var r=r.fetchDataSources().where(function(t){return!t.is(v)&&(t.getKey()!=e.getKey()||null==e.getKey())},this);return h.fetch(this,null,t,r)},v.prototype.getKey=function(){return this.key},v.prototype.getDataTable2=function(n){return __awaiter(this,void 0,void 0,function(){var r=this;return __generator(this,function(t){return[2,new Promise(function(e){r.retrieveDataTableAsync(n?m.AllowOpenConnections:m.None).try(function(t){return e(t)})})]})})},v.prototype.getDataAdapterType=function(){return i.StiDataTransformationAdapterService},v.prototype.retrieveDataTableAsync=function(n){var t=this,i=new o;if(0==this.columns.count)return i.callTry(new l(this.name));return setTimeout(function(){return __awaiter(t,void 0,void 0,function(){var e,r,r;return __generator(this,function(t){switch(t.label){case 0:return[4,S.analyze(this,null,this.getMeters(),n,this.sorts,this.filters,null,this.actions)];case 1:return e=t.sent(),r=this.columns.toList().select(function(t){return t.type}),(r=y.toNetTable(e,r)).tableName=this.name,i.callTry(r),[2]}})})},0),i},v.prototype.connectToDataAsync=function(){var e=this,r=new o;return this.retrieveDataTableAsync(m.None).try(function(t){e.dataTable=t,r.callTry()},this),r},v.prototype.getMeters=function(t){return this.columns.toList().where(function(t){return t.is(i.StiDataTransformationColumn)}).cast().select(this.getMeter)},v.prototype.getMeter=function(t){switch(t.mode){case i.StiDataTransformationMode.Dimension:return new i.StiDimensionTransformationMeter(t.expression,t.name,t.key);case i.StiDataTransformationMode.Measure:return new i.StiMeasureTransformationMeter(t.expression,t.name,t.key);default:throw new A(t.mode)}},Object.defineProperty(v.prototype,"componentId",{get:function(){return r.StiComponentId.StiDataTransformation},enumerable:!1,configurable:!0}),v.prototype.createNew=function(){return new v},t=v,i.StiDataTransformation=t}(Stimulsoft=Stimulsoft||{}),function(t){var e,r,n,s,i,o,a,l;function u(t,e,r,n,i,o){void 0===t&&(t="DataTransformationColumn"),void 0===e&&(e="DataTransformationColumn"),void 0===n&&(n=""),void 0===i&&(i="");var a=this;return null==r&&(r=Number),null==o&&(o=s.StiDataTransformationMode.Dimension),(a=l.call(this,t,t,e,r)||this).expression=n,a.key=i,a.mode=o,a}r=e=t.Report||(t.Report={}),s=n=r.Dictionary||(r.Dictionary={}),i=t.Data.Helpers.StiExpressionHelper,o=t.System.Collections.List,a=t.System.Enum,l=s.StiDataColumn,__extends(u,l),u.prototype.saveToJsonObject=function(t){var t=l.prototype.saveToJsonObject.call(this,t);return t.addPropertyIdent("Ident","Transform"),t.addPropertyString("Expression",this.expression),t.addPropertyEnum("Mode",s.StiDataTransformationMode,this.mode,s.StiDataTransformationMode.Dimension),t},u.prototype.loadFromJsonObject=function(t){var e,r;l.prototype.loadFromJsonObject.call(this,t);try{for(var n=__values(t.properties()),i=n.next();!i.done;i=n.next()){var o=i.value;switch(o.name){case"Expression":this.expression=o.value;break;case"Mode":this.mode=a.parse(s.StiDataTransformationMode,o.value);break}}}catch(t){e={error:t}}finally{try{i&&!i.done&&(r=n.return)&&r.call(n)}finally{if(e)throw e.error}}},u.prototype.loadFromXml=function(t){var e,r;l.prototype.loadFromXml.call(this,t);try{for(var n=__values(t.childNodes),i=n.next();!i.done;i=n.next()){var o=i.value;switch(o.nodeName){case"Expression":this.expression=o.textContent;break;case"Mode":this.mode=a.parse(s.StiDataTransformationMode,o.textContent);break}}}catch(t){e={error:t}}finally{try{i&&!i.done&&(r=n.return)&&r.call(n)}finally{if(e)throw e.error}}},u.prototype.getDictionaryColumn=function(){var t=this.dataSource;if(null!=t){var e=i.removeFunction(this.expression),t=t.getDataSources(new o([e])).firstOrDefault().stimulsoft.as(s.StiDataSource);if(null!=t)return t.columns.toList().firstOrDefault(function(t){return t.getColumnPath().toLowerCase()==e.toLowerCase()})}return null},r=u,s.StiDataTransformationColumn=r}(Stimulsoft=Stimulsoft||{}),function(e){var t,r,n,i,o;function a(t,e){this.expression=t,this.label=e}r=t=e.Report||(e.Report={}),i=n=r.Dictionary||(r.Dictionary={}),o=e.System.Type,a.prototype.is=function(t){if(t instanceof e.System.Interface)return-1!=this.implements().indexOf(t);if("function"==typeof t)return this instanceof t;if(null==t)throw new Error("Type for comparison is 'undefined'");return!1},a.prototype.is2=function(t){return this.is(t)},a.prototype.as=function(t){if(this.is(t))return this;return null},a.prototype.implements=function(){return[]},a.prototype.clone=function(){return this.stimulsoft.memberwiseClone(!0)},a.prototype.getUniqueCode=function(){var t=null!=this.expression?this.expression.stimulsoft.getHashCode():0,t;return t=397*(t=397*t^o.stimulsoft.getHashCode(this))^(null!=this.label?this.label.stimulsoft.getHashCode():0),Math.abs(t)},r=a,i.StiDataTransformationMeter=r}(Stimulsoft=Stimulsoft||{}),function(t){var e,r,n,i,o,a,s;function l(t,e,r){var e=s.call(this,t,e)||this;return e.key=r,e}r=e=t.Report||(t.Report={}),i=n=r.Dictionary||(r.Dictionary={}),o=t.System.Type,a=t.Base.Meters.IStiDimensionMeter,s=i.StiDataTransformationMeter,__extends(l,s),l.prototype.implements=function(){return l.ImplementsStiDimensionTransformationMeter||(l.ImplementsStiDimensionTransformationMeter=[a]),l.ImplementsStiDimensionTransformationMeter},l.prototype.getUniqueCode=function(){var t=null!=this.expression?this.expression.stimulsoft.getHashCode():0,t;return t=397*(t=397*(t=397*t^o.stimulsoft.getHashCode(this))^(null!=this.label?this.label.stimulsoft.getHashCode():0))^(null!=this.key?this.key.stimulsoft.getHashCode():0),Math.abs(t)},r=l,i.StiDimensionTransformationMeter=r}(Stimulsoft=Stimulsoft||{}),function(t){var e,r,n,i,o,a,s;function l(t,e,r){var e=s.call(this,t,e)||this;return e.key=r,e}r=e=t.Report||(t.Report={}),i=n=r.Dictionary||(r.Dictionary={}),o=t.System.Type,a=t.Base.Meters.IStiMeasureMeter,s=i.StiDataTransformationMeter,__extends(l,s),l.prototype.implements=function(){return l.ImplementsStiMeasureTransformationMeter||(l.ImplementsStiMeasureTransformationMeter=[a]),l.ImplementsStiMeasureTransformationMeter},l.prototype.getUniqueCode=function(){var t=null!=this.expression?this.expression.stimulsoft.getHashCode():0,t;return t=397*(t=397*(t=397*t^o.stimulsoft.getHashCode(this))^(null!=this.label?this.label.stimulsoft.getHashCode():0))^(null!=this.key?this.key.stimulsoft.getHashCode():0),Math.abs(t)},r=l,i.StiMeasureTransformationMeter=r}(Stimulsoft=Stimulsoft||{}),function(t){var e,r,n,o,a,s,l;function i(){}r=e=t.Report||(t.Report={}),o=n=r.Helpers||(r.Helpers={}),a=t.System.StiString,s=t.Base.StiDataLoaderHelper,l=t.Base.StiDataLoaderHelperData,i.loadMutiple=function(t,e,r,n,i){if(a.isNullOrEmpty(e))return null;if(o.StiHyperlinkProcessor.isResourceHyperlink(e))return new l(o.StiHyperlinkProcessor.getResourceNameFromHyperlink(e),o.StiHyperlinkProcessor.getBytes(t,e)).toList();return s.loadMultiple(e,r,n,i)},i.loadSingle=function(t,e,r,n){if(a.isNullOrEmpty(e))return null;if(o.StiHyperlinkProcessor.isResourceHyperlink(e))return new l(o.StiHyperlinkProcessor.getResourceNameFromHyperlink(e),o.StiHyperlinkProcessor.getBytes(t,e));return s.loadSingle(e,r,n)},r=i,o.StiUniversalDataLoader=r}(Stimulsoft=Stimulsoft||{}),function(t){var e,r,n,t,i;function o(){return null!==i&&i.apply(this,arguments)||this}r=e=t.Report||(t.Report={}),t=n=r.Events||(r.Events={}),i=t.StiEvent,__extends(o,i),o.prototype.toString=function(){return"Disconnected"},r=o,t.StiDisconnectedEvent=r}(Stimulsoft=Stimulsoft||{}),function(t){var e,r,n,t,i;function o(){return null!==i&&i.apply(this,arguments)||this}r=e=t.Report||(t.Report={}),t=n=r.Events||(r.Events={}),i=t.StiEvent,__extends(o,i),o.prototype.toString=function(){return"Disconnecting"},r=o,t.StiDisconnectingEvent=r}(Stimulsoft=Stimulsoft||{}),function(t){var e,r,n,t,i;function o(){return null!==i&&i.apply(this,arguments)||this}r=e=t.Report||(t.Report={}),t=n=r.Events||(r.Events={}),i=t.StiEvent,__extends(o,i),o.prototype.toString=function(){return"Connected"},r=o,t.StiConnectedEvent=r}(Stimulsoft=Stimulsoft||{}),function(t){var e,r,n,t,i;function o(){return null!==i&&i.apply(this,arguments)||this}r=e=t.Report||(t.Report={}),t=n=r.Events||(r.Events={}),i=t.StiEvent,__extends(o,i),o.prototype.toString=function(){return"Connecting"},r=o,t.StiConnectingEvent=r}(Stimulsoft=Stimulsoft||{}),function(y){var t,A,e;A=t=y.Report||(y.Report={}),function(d){var t=y.System.StiString,i=y.Report.Events.StiDisconnectedEvent,o=y.Report.Events.StiDisconnectingEvent,a=y.Report.Events.StiConnectedEvent,s=y.Report.Events.StiConnectingEvent,e=y.System.EventArgs,r=y.Base.Services.StiService,n=y.Base.Localization.StiLocalization,l=y.Base.JsonReportObject.IStiJsonReportObject,u=y.Base.StiJson,c=y.System.StiPromise,p=y.Base.IStiAppConnection,h=y.Base.StiKeyHelper,m,g;(g=m=d.Order||(d.Order={}))[g["Name"]=100]="Name",g[g["Alias"]=200]="Alias",g[g["ConnectionString"]=300]="ConnectionString",g[g["FirstRowIsHeader"]=350]="FirstRowIsHeader",g[g["PathSchema"]=400]="PathSchema",g[g["PathData"]=500]="PathData",g[g["XmlType"]=600]="XmlType",g[g["PromptUserNameAndPassword"]=700]="PromptUserNameAndPassword",g[g["SaveDataInReportResources"]=800]="SaveDataInReportResources";var r=(__extends(S,f=r),S.prototype.implements=function(){return[A.IStiInherited,p,l]},S.prototype.saveToJsonObject=function(t){var e=new u;return e.addPropertyIdent("Ident",this.stimulsoft.getType().stimulsoft.getTypeName()),e.addPropertyBool("Inherited",this.inherited),e.addPropertyJObject("ConnectingEvent",this.connectingEvent.saveToJsonObject(t)),e.addPropertyJObject("ConnectedEvent",this.connectedEvent.saveToJsonObject(t)),e.addPropertyJObject("DisconnectingEvent",this.disconnectingEvent.saveToJsonObject(t)),e.addPropertyJObject("DisconnectedEvent",this.disconnectedEvent.saveToJsonObject(t)),e.addPropertyStringNullOrEmpty("Name",this.name),e.addPropertyStringNullOrEmpty("Alias",this.alias),e.addPropertyStringNullOrEmpty("Key",this.key),e},S.prototype.loadFromJsonObject=function(t){var e,r;try{for(var n=__values(t.properties()),i=n.next();!i.done;i=n.next()){var o=i.value;switch(o.name){case"Inherited":this._inherited=o.value.stimulsoft.toBoolean();break;case"ConnectingEvent":this.connectingEvent.loadFromJsonObject(o.value);break;case"ConnectedEvent":this.connectedEvent.loadFromJsonObject(o.value);break;case"DisconnectingEvent":this.disconnectingEvent.loadFromJsonObject(o.value);break;case"DisconnectedEvent":this.disconnectedEvent.loadFromJsonObject(o.value);break;case"Name":this._name=o.value;break;case"Alias":this._alias=o.value;break;case"Key":this._key=o.value;break}}}catch(t){e={error:t}}finally{try{i&&!i.done&&(r=n.return)&&r.call(n)}finally{if(e)throw e.error}}},S.prototype.loadFromXml=function(t){for(var e=0;e<t.childNodes.length;e++){var r=t.childNodes[e];switch(r.nodeName){case"Inherited":this._inherited=r.textContent.stimulsoft.toBoolean();break;case"Name":this._name=r.textContent;break;case"Alias":this._alias=r.textContent;break;case"Key":this._key=r.textContent;break}}},Object.defineProperty(S.prototype,"inherited",{get:function(){return this._inherited},set:function(t){this._inherited=t},enumerable:!1,configurable:!0}),S.prototype.getName=function(){return this.name},S.prototype.getKey=function(){return this.key=h.getOrGeneratedKey(this.key),this.key},S.prototype.setKey=function(t){this.key=t},Object.defineProperty(S.prototype,"serviceCategory",{get:function(){return n.get("PropertyMain","CategoryConnections")},enumerable:!1,configurable:!0}),Object.defineProperty(S.prototype,"serviceType",{get:function(){return S.stimulsoft.getType()},enumerable:!1,configurable:!0}),S.prototype.onConnecting=function(t){},S.prototype.invokeConnecting=function(){this.onConnecting(e.empty)},S.prototype.onConnected=function(t){},S.prototype.invokeConnected=function(){this.onConnected(e.empty)},S.prototype.onDisconnecting=function(t){},S.prototype.invokeDisconnecting=function(){this.onDisconnecting(e.empty)},S.prototype.onDisconnected=function(t){},S.prototype.invokeDisconnected=function(){this.onDisconnected(e.empty)},Object.defineProperty(S.prototype,"serviceName",{get:function(){return this.name},enumerable:!1,configurable:!0}),Object.defineProperty(S.prototype,"name",{get:function(){return this._name},set:function(t){this._name=t},enumerable:!1,configurable:!0}),Object.defineProperty(S.prototype,"alias",{get:function(){return this._alias},set:function(t){this._alias=t},enumerable:!1,configurable:!0}),Object.defineProperty(S.prototype,"key",{get:function(){return this._key},set:function(t){this._key=t},enumerable:!1,configurable:!0}),Object.defineProperty(S.prototype,"connectionType",{get:function(){return d.StiConnectionType.Other},enumerable:!1,configurable:!0}),S.prototype.applyDatabaseInformation=function(t,e,r){var n,i,o,a;void 0===r&&(r=null);try{for(var s=__values(t.tables),l=s.next();!l.done;l=s.next()){var u=l.value,c=new d.StiDataTableSource(this.name+"."+u.tableName,A.StiNameCreation.createName(e,u.tableName,!1,!1,!0));try{for(var p=(o=void 0,__values(u.columns.list)),h=p.next();!h.done;h=p.next()){var m=h.value,m=new d.StiDataColumn(m.columnName,m.columnName,m.columnName,m.dataType);c.columns.add(m)}}catch(t){o={error:t}}finally{try{h&&!h.done&&(a=p.return)&&a.call(p)}finally{if(o)throw o.error}}e.dictionary.dataSources.add(c)}}catch(t){n={error:t}}finally{try{l&&!l.done&&(i=s.return)&&i.call(s)}finally{if(n)throw n.error}}},S.prototype.getDatabaseInformationAsync=function(e){var r=new c,n=this;return setTimeout(function(){try{var t=n.getDatabaseInformation(e);r.callTry(t)}catch(t){r.callCatch(t.message)}}),r},S.prototype.getDatabaseInformation=function(t){return null},S.prototype.toString=function(){if(!StiOptions.Dictionary.showOnlyAliasForDatabase){if(this.name==this.alias||0==this.alias.length)return t.format("{0} [{1}] ",this.name,this.serviceName);return t.format("{0} [{1}] ",this.name,this.alias)}if(!t.isNullOrEmpty(this.alias))return this.alias;return this.name},S.prototype.regData=function(t,e){},S.prototype.regDataAsync=function(t,e){var r=new c,n=this;return setTimeout(function(){try{n.regData(t,e),r.callTry()}catch(t){r.callTry()}}),r},S.prototype.createNew=function(){return null},S),f;function S(t,e,r){void 0===t&&(t=""),void 0===e&&(e=null),void 0===r&&(r=null);var n=f.call(this)||this;return n._inherited=!1,n.connectingEvent=new s,n.connectedEvent=new a,n.disconnectingEvent=new o,n.disconnectedEvent=new i,n._key=null,n._name=t,n._alias=e||t,n._key=r,n}d.StiDatabase=r}(e=A.Dictionary||(A.Dictionary={}))}(Stimulsoft=Stimulsoft||{}),function(e){var t,r,n,l,i,o,a,s,u,c,p,h,m,d;function g(t,e,r,n,i,o){void 0===t&&(t=""),void 0===e&&(e=""),void 0===r&&(r=!1),void 0===n&&(n=l.StiResourceType.Image),void 0===i&&(i=null),void 0===o&&(o=!1),this.availableInTheViewer=!1,this.name=t,this.alias=e,this.inherited=r,this.type=n,this.content=i,this.availableInTheViewer=o}r=t=e.Report||(e.Report={}),l=n=r.Dictionary||(r.Dictionary={}),i=e.System.Convert,o=e.System.StiString,a=e.System.Drawing.Image,s=e.Base.StiJson,u=e.Base.JsonReportObject.IStiJsonReportObject,c=e.System.Enum,p=e.Base.StiPacker,h=e.System.Text.XMLConvert,m=e.Base.IStiAppCell,g.prototype.implements=function(){return[r.IStiName,m,r.IStiInherited,u]},g.prototype.is=function(t){if(t instanceof e.System.Interface)return-1!=this.implements().indexOf(t);if("function"==typeof t)return this instanceof t;if(null==t)throw new Error("Type for comparison is 'undefined'");return!1},g.prototype.is2=function(t){return this.is(t)},g.prototype.as=function(t){if(this.is(t))return this;return null},g.prototype.clone=function(){var t=new g;return t._name=this._name,t.alias=this.alias,t.availableInTheViewer=this.availableInTheViewer,t.key=this.key,t.inherited=this.inherited,t.type=this.type,null!=this._packAndEncryptContent?t._packAndEncryptContent=this._packAndEncryptContent:t._content=this._content,t.dataSet=this.dataSet,t},g.prototype.getKey=function(){return this.key},g.prototype.setKey=function(t){this.key=t},g.prototype.saveToJsonObject=function(t){var e=new s;return e.addPropertyStringNullOrEmpty("Name",this.name),e.addPropertyStringNullOrEmpty("Alias",this.alias),e.addPropertyStringNullOrEmpty("Key",this.key),e.addPropertyBool("Inherited",this.inherited),e.addPropertyEnum("Type",l.StiResourceType,this.type,l.StiResourceType.Image),null==this.packAndEncryptContent&&(this.packAndEncryptContent=p.packAndEncryptToString(this.content)),e.addPropertyString("Image",this.packAndEncryptContent),e.addPropertyBool("AvailableInTheViewer",this.availableInTheViewer),e},g.prototype.loadFromJsonObject=function(t){var e,r;try{for(var n=__values(t.properties()),i=n.next();!i.done;i=n.next()){var o=i.value;switch(o.name){case"Name":this.name=o.value.toString();break;case"Alias":this.alias=o.value.toString();break;case"Key":this.key=o.value.toString();break;case"Inherited":this.inherited=o.value.stimulsoft.toBoolean();break;case"Type":this.type=c.parse(l.StiResourceType,o.value);break;case"Image":this.packAndEncryptContent=o.value;break;case"AvailableInTheViewer":this.availableInTheViewer=o.value.stimulsoft.toBoolean();break}}}catch(t){e={error:t}}finally{try{i&&!i.done&&(r=n.return)&&r.call(n)}finally{if(e)throw e.error}}},g.prototype.loadFromXml=function(t){var e,r,n=t.textContent.split(",");this.type=l.StiResourceType.Image;try{for(var i=__values(n),o=i.next();!o.done;o=i.next()){var a=o.value,s,a=(s=h.decodeName(a).trim()).split("=")[0],s=s.substr(a.length+1);switch(a){case"Name":this.name=s;break;case"Alias":this.alias=s;break;case"Inherited":this.inherited=s.stimulsoft.toBoolean();break;case"Type":this.type=c.parse(l.StiResourceType,s);break;case"Content":this.packAndEncryptContent=s;break;case"AvailableInTheViewer":this.availableInTheViewer=s.stimulsoft.toBoolean();break}}}catch(t){e={error:t}}finally{try{o&&!o.done&&(r=i.return)&&r.call(i)}finally{if(e)throw e.error}}},Object.defineProperty(g.prototype,"componentId",{get:function(){return r.StiComponentId.StiResource},enumerable:!1,configurable:!0}),Object.defineProperty(g.prototype,"propName",{get:function(){return this.name},enumerable:!1,configurable:!0}),Object.defineProperty(g.prototype,"name",{get:function(){return this._name},set:function(t){this._name!=t&&(this._name==this.alias&&(this.alias=t),this._name=t)},enumerable:!1,configurable:!0}),Object.defineProperty(g.prototype,"content",{get:function(){if(null==this._content&&!o.isNullOrEmpty(this._packAndEncryptContent)&&(this._content=p.unpackAndDecrypt2(this._packAndEncryptContent),i.isUTF16LE(this._content)))return i.fromUTF16LE(this._content);return this._content},set:function(t){this._content!=t&&(this._content=t,this._packAndEncryptContent=null,this.dataSet=null)},enumerable:!1,configurable:!0}),Object.defineProperty(g.prototype,"packAndEncryptContent",{get:function(){return o.isNullOrEmpty(this._packAndEncryptContent)&&null!=this._content&&(this._packAndEncryptContent=p.packAndEncryptToString(this._content)),this._packAndEncryptContent},set:function(t){this._packAndEncryptContent!=t&&(this._packAndEncryptContent=t,this.content=null)},enumerable:!1,configurable:!0}),g.prototype.getResourceAsImage=function(){if(null==this.content||this.type!=l.StiResourceType.Image)return null;try{return a.fromBytes(this.content)}catch(t){}return null},g.prototype.toString=function(){if(StiOptions.Dictionary.showOnlyAliasForResource)return this.alias;return this.alias==this.name?this.name:this.name+" ["+this.alias+"]"},g.prototype.getContentType=function(){switch(this.type){case l.StiResourceType.ReportSnapshot:case l.StiResourceType.Report:return"application/octet-stream";case l.StiResourceType.Pdf:return"application/pdf";case l.StiResourceType.Txt:return"text/plain";case l.StiResourceType.Json:return"text/plain";case l.StiResourceType.Rtf:return"application/rtf";case l.StiResourceType.Word:return"application/vnd.openxmlformats-officedocument.wordprocessingml.document";case l.StiResourceType.Excel:return"application/vnd.ms-excel";case l.StiResourceType.Csv:return"text/csv";case l.StiResourceType.Dbf:return"application/dbf";case l.StiResourceType.Image:if(e.Report.Components.StiImageHelper.isPng(this.content))return"image/png";if(e.Report.Components.StiImageHelper.isBmp(this.content))return"image/bmp";if(e.Report.Components.StiImageHelper.isJpeg(this.content))return"image/jpeg";if(e.Report.Components.StiImageHelper.isGif(this.content))return"image/gif";if(e.Report.Components.StiImageHelper.isTiff(this.content))return"image/tiff";if(e.Report.Components.StiImageHelper.isEmf(this.content))return"image/x-emf";return"image/png"}return"text/plain"},g.prototype.getFileExt=function(){switch(this.type){case l.StiResourceType.ReportSnapshot:return".mdc";case l.StiResourceType.Report:return".mrt";case l.StiResourceType.Pdf:return".pdf";case l.StiResourceType.Txt:return".txt";case l.StiResourceType.Rtf:return".rtf";case l.StiResourceType.Word:return".docx";case l.StiResourceType.Excel:return".xlsx";case l.StiResourceType.Csv:return".csv";case l.StiResourceType.Dbf:return".dbf";case l.StiResourceType.Json:return".json";case l.StiResourceType.Image:if(e.Report.Components.StiImageHelper.isPng(this.content))return".png";if(e.Report.Components.StiImageHelper.isBmp(this.content))return".bmp";if(e.Report.Components.StiImageHelper.isJpeg(this.content))return".jpg";if(e.Report.Components.StiImageHelper.isGif(this.content))return".gif";if(e.Report.Components.StiImageHelper.isTiff(this.content))return".tiff";if(e.Report.Components.StiImageHelper.isEmf(this.content))return".emf";return".png"}return""},d=g,l.StiResource=d}(Stimulsoft=Stimulsoft||{}),function(Bt){var t,It,e;It=t=Bt.Report||(Bt.Report={}),function(s){var u=Bt.System.StiArray,d=Bt.System.StiString,l=Bt.Base.StiJsonReportObjectHelper,c=Bt.System.Enum,e=Bt.Base.StiJson,p=Bt.Base.Localization.StiLocalization,g=Bt.Base.StiTypeFinder,f=Bt.Base.Drawing.StiImageConverter,h=Bt.System.Collections.List,t=(r.prototype.saveToJsonObject=function(){var t=new e;return t.addPropertyEnum("DateTimeType",s.StiDateTimeType,this.dateTimeType,s.StiDateTimeType.Date),t.addPropertyEnum("ItemsInitializationType",s.StiItemsInitializationType,this.itemsInitializationType,s.StiItemsInitializationType.Items),t.addPropertyStringNullOrEmpty("KeysColumn",this.keysColumn),t.addPropertyStringNullOrEmpty("ValuesColumn",this.valuesColumn),t.addPropertyStringNullOrEmpty("BindingValuesColumn",this.bindingValuesColumn),t.addPropertyStringNullOrEmpty("Mask",this.mask),t.addPropertyBool("AllowUserValues",this.allowUserValues,!0),t.addPropertyBool("BindingValue",this.bindingValue),t.addPropertyJObject("Keys",l.Serialize.stringArray(this.keys)),t.addPropertyJObject("Values",l.Serialize.stringArray(this.values)),null!=this.bindingVariable&&t.addPropertyStringNullOrEmpty("BindingVariable",this.bindingVariable.name),t},r.prototype.loadFromJsonObject=function(t,e){var r,n;try{for(var i=__values(t.properties()),o=i.next();!o.done;o=i.next()){var a=o.value;switch(a.name){case"DateTimeType":this._dateTimeType=c.parse(s.StiDateTimeType,a.value);break;case"ItemsInitializationType":this._itemsInitializationType=c.parse(s.StiItemsInitializationType,a.value);break;case"KeysColumn":this._keysColumn=a.value;break;case"ValuesColumn":this._valuesColumn=a.value;break;case"BindingValuesColumn":this._bindingValuesColumn=a.value;break;case"Mask":this._mask=a.value;break;case"AllowUserValues":this._allowUserValues=a.value.stimulsoft.toBoolean();break;case"BindingValue":this._bindingValue=a.value.stimulsoft.toBoolean();break;case"Keys":this._keys=l.Deserialize.stringArray(a.value);break;case"Values":this._values=l.Deserialize.stringArray(a.value);break;case"BindingVariable":this.jsonLoadedBindingVariableName=a.value,e.jsonLoaderHelper.dialogInfo.push(this);break}}}catch(t){r={error:t}}finally{try{o&&!o.done&&(n=i.return)&&n.call(i)}finally{if(r)throw r.error}}},Object.defineProperty(r.prototype,"dateTimeType",{get:function(){return this._dateTimeType},set:function(t){this._dateTimeType=t},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"itemsInitializationType",{get:function(){return this._itemsInitializationType},set:function(t){this._itemsInitializationType=t},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"keysColumn",{get:function(){return this._keysColumn},set:function(t){this._keysColumn=t},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"valuesColumn",{get:function(){return this._valuesColumn},set:function(t){this._valuesColumn=t},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"bindingVariable",{get:function(){return this._bindingVariable},set:function(t){this._bindingVariable=t},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"bindingValuesColumn",{get:function(){return this._bindingValuesColumn},set:function(t){this._bindingValuesColumn=t},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"mask",{get:function(){return this._mask},set:function(t){this._mask=t},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"allowUserValues",{get:function(){return this._allowUserValues},set:function(t){this._allowUserValues=t},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"bindingValue",{get:function(){return this._bindingValue},set:function(t){this._bindingValue=t},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"keys",{get:function(){return this._keys},set:function(t){this._keys=t},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"values",{get:function(){return this._values},set:function(t){this._values=t},enumerable:!1,configurable:!0}),r.prototype.isDefault=function(){return this.allowUserValues&&this.dateTimeType==s.StiDateTimeType.Date&&null==this.bindingVariable&&(null==this.keys||0==this.keys.length)&&(null==this.values||0==this.values.length)&&d.isNullOrEmpty(this.mask)&&d.isNullOrEmpty(this.keysColumn)&&d.isNullOrEmpty(this.valuesColumn)&&d.isNullOrEmpty(this.bindingValuesColumn)},r.convert=function(t){return t.toString()},r.prototype.getDialogInfoItems=function(t){var e,r;try{var n=[];if(null==this.keys)return n;var i=0;try{for(var o=__values(this.keys),a=o.next();!a.done;a=o.next()){var s=a.value,l=null,u=null,c=null,p,h,l,m,m,m,m,m,m,m,m;try{null!=s&&s.stimulsoft.startsWith("{")&&s.stimulsoft.endsWith("}")?l=g.findType(t,It.Range)?(s.stimulsoft.contains("<<|>>")&&2==(h=s.substr(1,s.length-2).split("<<|>>")).length?(u=h[0],c=h[0]):u=s.substr(1,s.length-2),new Ct):(u=s.substr(1,s.length-2),new W):t==Bt.System.SByte||t==Bt.System.Byte||t==Bt.System.Short||t==Bt.System.Int16||t==Bt.System.UInt16||t==Bt.System.Int||t==Bt.System.Int32||t==Bt.System.UInt||t==Bt.System.UInt32||t==Bt.System.Long||t==Bt.System.Int64||t==Bt.System.ULong||t==Bt.System.UInt64||t==Bt.System.NullableSByte||t==Bt.System.NullableByte||t==Bt.System.NullableShort||t==Bt.System.NullableInt16||t==Bt.System.NullableUInt16||t==Bt.System.NullableInt||t==Bt.System.NullableInt32||t==Bt.System.NullableUInt32||t==Bt.System.NullableLong||t==Bt.System.NullableInt64||t==Bt.System.NullableULong||t==Bt.System.NullableUInt64||t==Bt.System.StimulsoftByteList||t==Bt.System.StimulsoftShortList||t==Bt.System.StimulsoftIntList||t==Bt.System.StimulsoftLongList?(u=null!=s?s.stimulsoft.toNumber(!1):null,isNaN(u)&&(u=null),l=new Y):t==String||t==Bt.System.StimulsoftStringList?(u=s,l=new S):t==Bt.System.Double||t==Bt.System.Single||t==Bt.System.NullableDouble||t==Bt.System.NullableSingle||t==Bt.System.StimulsoftDoubleList||t==Bt.System.StimulsoftFloatList?(u=null!=s?s.stimulsoft.toNumber():null,isNaN(u)&&(u=null),l=new _):t==Bt.System.Decimal||t==Bt.System.NullableDecimal||t==Bt.System.StimulsoftDecimalList?(u=null!=s?s.stimulsoft.toNumber():null,isNaN(u)&&(u=null),l=new H):t==Bt.System.DateTime||t==Bt.System.NullableDateTime||t==Bt.System.StimulsoftDateTimeList?(u=new Bt.System.DateTime(Date.parse(s)),l=new x):t==Bt.System.TimeSpan||t==Bt.System.NullableTimeSpan||t==Bt.System.StimulsoftTimeSpanList?(u=Bt.System.TimeSpan.fromString(s),l=new k):t==Boolean||t==Bt.System.NullableBoolean||t==Bt.System.StimulsoftBoolList?(u=null!=s&&"true"==s.toLowerCase(),l=new I):t==Bt.System.Char||t==Bt.System.NullableChar||t==Bt.System.StimulsoftCharList?(u=""==s?" ":null!=s?s.toString():null,l=new v):t==Bt.System.Guid||t==Bt.System.NullableGuid||t==Bt.System.StimulsoftGuidList?(u=new Bt.System.Guid(s),l=new A):t==Bt.System.Drawing.Image?(u=f.stringToImage(s),l=new R):t==Bt.System.StimulsoftByteRange||t==Bt.System.StimulsoftShortRange||t==Bt.System.StimulsoftIntRange||t==Bt.System.StimulsoftLongRange?(m=It.RangeConverter.stringToRange(s),l=new yt,u=m.fromObject,c=m.toObject):t==Bt.System.StimulsoftStringRange?(m=It.RangeConverter.stringToRange(s),l=new X,u=m.fromObject.toString(),c=m.toObject.toString()):t==Bt.System.StimulsoftDoubleRange||t==Bt.System.StimulsoftFloatRange?(m=It.RangeConverter.stringToRange(s),l=new ht,u=m.fromObject,c=m.toObject):t==Bt.System.StimulsoftDecimalRange?(m=It.RangeConverter.stringToRange(s),l=new gt,u=m.fromObject,c=m.toObject):t==Bt.System.StimulsoftDateTimeRange?(m=It.RangeConverter.stringToRange(s),l=new at,u=m.fromObject,c=m.toObject):t==Bt.System.StimulsoftTimeSpanRange?(m=It.RangeConverter.stringToRange(s),l=new ut,u=m.fromObject,c=m.toObject):t==Bt.System.StimulsoftCharRange?(m=It.RangeConverter.stringToRange(s),l=new nt,u=m.fromObject,c=m.toObject):t==Bt.System.StimulsoftGuidRange&&(m=It.RangeConverter.stringToRange(s),l=new q,u=m.fromObject,c=m.toObject),l.keyObject=u,l.keyObjectTo=c}catch(t){Bt.System.StiError.showError(t,!1)}l.value=this.values.length>i&&!d.isNullOrEmpty(this.values[i])?this.values[i]:"",l.valueBinding=this.valuesBinding.length>i?this.valuesBinding[i]:null,n.push(l),i++}}catch(t){e={error:t}}finally{try{a&&!a.done&&(r=o.return)&&r.call(o)}finally{if(e)throw e.error}}return n}finally{}},r.prototype.setDialogInfoItems=function(t,e){var r,n;if(null==t||0==t.length)return this.keys=null,void(this.values=null);try{this.keys=u.create(Object,t.length),this.values=u.create(Object,t.length),this.valuesBinding=u.create(h,t.length);var i=0;try{for(var o=__values(t),a=o.next();!a.done;a=o.next()){var s=a.value,l=null;try{s.stimulsoft.is(W)?l=d.format("{{{0}}}",s.keyObject):s.stimulsoft.is(Ct)?l=d.format("{{{0}<<|>>{1}}}",s.keyObject,s.keyObjectTo):s.stimulsoft.is(Y)||s.stimulsoft.is(_)||s.stimulsoft.is(H)||s.stimulsoft.is(x)||s.stimulsoft.is(k)||s.stimulsoft.is(I)||s.stimulsoft.is(v)||s.stimulsoft.is(A)||s.stimulsoft.is(S)?l=s.keyObject.toString():s.stimulsoft.is(R)?l=f.imageToString(s.keyObject):s.stimulsoft.is(yt)||s.stimulsoft.is(ht)||s.stimulsoft.is(gt)||s.stimulsoft.is(at)||s.stimulsoft.is(ut)||s.stimulsoft.is(nt)||s.stimulsoft.is(q)||s.stimulsoft.is(X)}catch(t){Bt.System.StiError.showError(t,!1)}this.keys[i]=null==l?"":l.toString(),this.values[i]=s.value,this.valuesBinding[i]=s.valueBinding,i++}}catch(t){r={error:t}}finally{try{a&&!a.done&&(n=o.return)&&n.call(o)}finally{if(r)throw r.error}}}finally{}},r);function r(){this._dateTimeType=s.StiDateTimeType.Date,this._itemsInitializationType=s.StiItemsInitializationType.Items,this._keysColumn="",this._valuesColumn="",this._bindingVariable=null,this._bindingValuesColumn="",this._mask="",this._allowUserValues=!0,this._bindingValue=!1,this._keys=[],this._values=[],this.valuesBinding=[]}s.StiDialogInfo=t;var n=(Object.defineProperty(i.prototype,"componentId",{get:function(){return It.StiComponentId.StiDialogInfoItem},enumerable:!1,configurable:!0}),Object.defineProperty(i.prototype,"propName",{get:function(){return""},enumerable:!1,configurable:!0}),Object.defineProperty(i.prototype,"keyObject",{get:function(){return this._keyObject},set:function(t){this._keyObject=t},enumerable:!1,configurable:!0}),Object.defineProperty(i.prototype,"keyObjectTo",{get:function(){return this._keyObjectTo},set:function(t){this._keyObjectTo=t},enumerable:!1,configurable:!0}),Object.defineProperty(i.prototype,"value",{get:function(){return this._value},set:function(t){this._value=t},enumerable:!1,configurable:!0}),i.prototype.toString=function(t){if(this.stimulsoft.is(X)||this.stimulsoft.is(q)||this.stimulsoft.is(nt)||this.stimulsoft.is(ut)||this.stimulsoft.is(ht)||this.stimulsoft.is(gt)||this.stimulsoft.is(yt)||this.stimulsoft.is(Ct)){var e=null==this.keyObject?p.get("Report","NotAssigned"):this.keyObject.toString(),r=null==this.keyObjectTo?p.get("Report","NotAssigned"):this.keyObjectTo.toString(),n=d.isNullOrEmpty(e)&&d.isNullOrEmpty(r)?"":d.format("{0}-{1}",e,r);return this.stimulsoft.is(Ct)?d.format("{{{0}}}",d.isNullOrEmpty(this.value)?n:this.value):d.isNullOrEmpty(this.value)?n:this.value}if(this.stimulsoft.is(at)){var i=this.stimulsoft.as(at),e=null,r=null;t!=s.StiDateTimeType.DateAndTime&&t!=s.StiDateTimeType.Date&&t!=s.StiDateTimeType.Time||(e=i.from.toString(),r=i.to.toString());var n=d.format("{0}-{1}",e,r);return d.isNullOrEmpty(this.value)?n:this.value}var o;if(this.stimulsoft.is(R))return null==this.stimulsoft.as(R).key?p.get("Report","NotAssigned"):p.get("Components","StiImage");if(this.stimulsoft.is(x)){var n=this.stimulsoft.as(x),a=null;return t!=s.StiDateTimeType.DateAndTime&&t!=s.StiDateTimeType.Date&&t!=s.StiDateTimeType.Time||(a=n.key.toString()),d.isNullOrEmpty(this.value)?a:this.value}var a=null==this.keyObject?p.get("Report","NotAssigned"):this.keyObject.toString();return this.stimulsoft.is(W)?d.format("{{{0}}}",d.isNullOrEmpty(this.value)?a:this.value):d.isNullOrEmpty(this.value)?a:this.value},i);function i(){this._keyObject=null,this._keyObjectTo=null,this.valueBinding=new h,this._value=""}s.StiDialogInfoItem=n;var t=(__extends(a,o=n),a),o;function a(){return null!==o&&o.apply(this,arguments)||this}s.StiRangeDialogInfoItem=t;var S=(__extends(y,m=n),Object.defineProperty(y.prototype,"componentId",{get:function(){return It.StiComponentId.StiStringDialogInfoItem},enumerable:!1,configurable:!0}),Object.defineProperty(y.prototype,"key",{get:function(){return this.keyObject},set:function(t){this.keyObject=t},enumerable:!1,configurable:!0}),y),m;function y(){return null!==m&&m.apply(this,arguments)||this}s.StiStringDialogInfoItem=S;var A=(__extends(C,b=n),Object.defineProperty(C.prototype,"componentId",{get:function(){return It.StiComponentId.StiGuidDialogInfoItem},enumerable:!1,configurable:!0}),Object.defineProperty(C.prototype,"key",{get:function(){return this.keyObject},set:function(t){this.keyObject=t},enumerable:!1,configurable:!0}),C),b;function C(){var t=b.call(this)||this;return t.keyObject=Bt.System.Guid.newGuid(),t}s.StiGuidDialogInfoItem=A;var v=(__extends(B,w=n),Object.defineProperty(B.prototype,"componentId",{get:function(){return It.StiComponentId.StiCharDialogInfoItem},enumerable:!1,configurable:!0}),Object.defineProperty(B.prototype,"key",{get:function(){return this.keyObject},set:function(t){this.keyObject=t},enumerable:!1,configurable:!0}),B),w;function B(){var t=w.call(this)||this;return t.keyObject=" ",t}s.StiCharDialogInfoItem=v;var I=(__extends(E,T=n),Object.defineProperty(E.prototype,"componentId",{get:function(){return It.StiComponentId.StiBoolDialogInfoItem},enumerable:!1,configurable:!0}),Object.defineProperty(E.prototype,"key",{get:function(){return this.keyObject},set:function(t){this.keyObject=t},enumerable:!1,configurable:!0}),E),T;function E(){var t=T.call(this)||this;return t.keyObject=!1,t}s.StiBoolDialogInfoItem=I;var R=(__extends(P,D=n),Object.defineProperty(P.prototype,"componentId",{get:function(){return It.StiComponentId.StiImageDialogInfoItem},enumerable:!1,configurable:!0}),Object.defineProperty(P.prototype,"key",{get:function(){return this.keyObject},set:function(t){this.keyObject=t},enumerable:!1,configurable:!0}),P),D;function P(){var t=D.call(this)||this;return t.keyObject=null,t}s.StiImageDialogInfoItem=R;var x=(__extends(N,F=n),Object.defineProperty(N.prototype,"componentId",{get:function(){return It.StiComponentId.StiDateTimeDialogInfoItem},enumerable:!1,configurable:!0}),Object.defineProperty(N.prototype,"key",{get:function(){return this.keyObject},set:function(t){this.keyObject=t},enumerable:!1,configurable:!0}),N),F;function N(){var t=F.call(this)||this;return t.keyObject=Bt.System.DateTime.now,t}s.StiDateTimeDialogInfoItem=x;var k=(__extends(O,M=n),Object.defineProperty(O.prototype,"componentId",{get:function(){return It.StiComponentId.StiTimeSpanDialogInfoItem},enumerable:!1,configurable:!0}),Object.defineProperty(O.prototype,"key",{get:function(){return this.keyObject},set:function(t){this.keyObject=t},enumerable:!1,configurable:!0}),O),M;function O(){var t=M.call(this)||this;return t.keyObject=0,t}s.StiTimeSpanDialogInfoItem=k;var _=(__extends(G,j=n),Object.defineProperty(G.prototype,"componentId",{get:function(){return It.StiComponentId.StiDoubleDialogInfoItem},enumerable:!1,configurable:!0}),Object.defineProperty(G.prototype,"key",{get:function(){return this.keyObject},set:function(t){this.keyObject=t},enumerable:!1,configurable:!0}),G),j;function G(){var t=j.call(this)||this;return t.keyObject=0,t}s.StiDoubleDialogInfoItem=_;var H=(__extends(L,Q=n),Object.defineProperty(L.prototype,"componentId",{get:function(){return It.StiComponentId.StiDecimalDialogInfoItem},enumerable:!1,configurable:!0}),Object.defineProperty(L.prototype,"key",{get:function(){return this.keyObject},set:function(t){this.keyObject=t},enumerable:!1,configurable:!0}),L),Q;function L(){var t=Q.call(this)||this;return t.keyObject=0,t}s.StiDecimalDialogInfoItem=H;var Y=(__extends(J,U=n),Object.defineProperty(J.prototype,"componentId",{get:function(){return It.StiComponentId.StiLongDialogInfoItem},enumerable:!1,configurable:!0}),Object.defineProperty(J.prototype,"key",{get:function(){return this.keyObject},set:function(t){this.keyObject=t},enumerable:!1,configurable:!0}),J),U;function J(){var t=U.call(this)||this;return t.keyObject=0,t}s.StiLongDialogInfoItem=Y;var W=(__extends(z,V=n),Object.defineProperty(z.prototype,"componentId",{get:function(){return It.StiComponentId.StiExpressionDialogInfoItem},enumerable:!1,configurable:!0}),Object.defineProperty(z.prototype,"key",{get:function(){return this.keyObject},set:function(t){this.keyObject=t},enumerable:!1,configurable:!0}),z),V;function z(){var t=V.call(this)||this;return t.keyObject="",t}s.StiExpressionDialogInfoItem=W;var X=(__extends(Z,K=t),Object.defineProperty(Z.prototype,"componentId",{get:function(){return It.StiComponentId.StiStringRangeDialogInfoItem},enumerable:!1,configurable:!0}),Object.defineProperty(Z.prototype,"from",{get:function(){return this.keyObject},set:function(t){this.keyObject=t},enumerable:!1,configurable:!0}),Object.defineProperty(Z.prototype,"to",{get:function(){return this.keyObjectTo},set:function(t){this.keyObjectTo=t},enumerable:!1,configurable:!0}),Z),K;function Z(){var t=K.call(this)||this;return t.keyObject="",t.keyObjectTo="",t}s.StiStringRangeDialogInfoItem=X;var q=(__extends(tt,$=t),Object.defineProperty(tt.prototype,"componentId",{get:function(){return It.StiComponentId.StiGuidRangeDialogInfoItem},enumerable:!1,configurable:!0}),Object.defineProperty(tt.prototype,"from",{get:function(){return this.keyObject},set:function(t){this.keyObject=t},enumerable:!1,configurable:!0}),Object.defineProperty(tt.prototype,"to",{get:function(){return this.keyObjectTo},set:function(t){this.keyObjectTo=t},enumerable:!1,configurable:!0}),tt),$;function tt(){var t=$.call(this)||this;return t.keyObject=Bt.System.Guid.newGuid(),t.keyObjectTo=Bt.System.Guid.newGuid(),t}s.StiGuidRangeDialogInfoItem=q;var n=(__extends(rt,et=t),Object.defineProperty(rt.prototype,"componentId",{get:function(){return It.StiComponentId.StiByteArrayRangeDialogInfoItem},enumerable:!1,configurable:!0}),Object.defineProperty(rt.prototype,"from",{get:function(){return this.keyObject},enumerable:!1,configurable:!0}),Object.defineProperty(rt.prototype,"form",{set:function(t){this.keyObject=t},enumerable:!1,configurable:!0}),Object.defineProperty(rt.prototype,"to",{get:function(){return this.keyObjectTo},set:function(t){this.keyObjectTo=t},enumerable:!1,configurable:!0}),rt),et;function rt(){return null!==et&&et.apply(this,arguments)||this}s.StiByteArrayRangeDialogInfoItem=n;var nt=(__extends(ot,it=t),Object.defineProperty(ot.prototype,"componentId",{get:function(){return It.StiComponentId.StiCharRangeDialogInfoItem},enumerable:!1,configurable:!0}),Object.defineProperty(ot.prototype,"from",{get:function(){return this.keyObject},set:function(t){this.keyObject=t},enumerable:!1,configurable:!0}),Object.defineProperty(ot.prototype,"to",{get:function(){return this.keyObjectTo},set:function(t){this.keyObjectTo=t},enumerable:!1,configurable:!0}),ot),it;function ot(){var t=it.call(this)||this;return t.keyObject="A",t.keyObjectTo="Z",t}s.StiCharRangeDialogInfoItem=nt;var at=(__extends(lt,st=t),Object.defineProperty(lt.prototype,"componentId",{get:function(){return It.StiComponentId.StiDateTimeRangeDialogInfoItem},enumerable:!1,configurable:!0}),Object.defineProperty(lt.prototype,"from",{get:function(){return this.keyObject},set:function(t){this.keyObject=t},enumerable:!1,configurable:!0}),Object.defineProperty(lt.prototype,"to",{get:function(){return this.keyObjectTo},set:function(t){this.keyObjectTo=t},enumerable:!1,configurable:!0}),lt),st;function lt(){var t=st.call(this)||this;return t.keyObject=Bt.System.DateTime.now,t.keyObjectTo=Bt.System.DateTime.now,t}s.StiDateTimeRangeDialogInfoItem=at;var ut=(__extends(pt,ct=t),Object.defineProperty(pt.prototype,"componentId",{get:function(){return It.StiComponentId.StiTimeSpanRangeDialogInfoItem},enumerable:!1,configurable:!0}),Object.defineProperty(pt.prototype,"from",{get:function(){return this.keyObject},set:function(t){this.keyObject=t},enumerable:!1,configurable:!0}),Object.defineProperty(pt.prototype,"to",{get:function(){return this.keyObjectTo},set:function(t){this.keyObjectTo=t},enumerable:!1,configurable:!0}),pt),ct;function pt(){var t=ct.call(this)||this;return t.keyObject=0,t.keyObjectTo=0,t}s.StiTimeSpanRangeDialogInfoItem=ut;var ht=(__extends(dt,mt=t),Object.defineProperty(dt.prototype,"componentId",{get:function(){return It.StiComponentId.StiDoubleRangeDialogInfoItem},enumerable:!1,configurable:!0}),Object.defineProperty(dt.prototype,"from",{get:function(){return this.keyObject},set:function(t){this.keyObject=t},enumerable:!1,configurable:!0}),Object.defineProperty(dt.prototype,"to",{get:function(){return this.keyObjectTo},set:function(t){this.keyObjectTo=t},enumerable:!1,configurable:!0}),dt),mt;function dt(){var t=mt.call(this)||this;return t.keyObject=0,t.keyObjectTo=0,t}s.StiDoubleRangeDialogInfoItem=ht;var gt=(__extends(St,ft=t),Object.defineProperty(St.prototype,"componentId",{get:function(){return It.StiComponentId.StiDecimalRangeDialogInfoItem},enumerable:!1,configurable:!0}),Object.defineProperty(St.prototype,"from",{get:function(){return this.keyObject},set:function(t){this.keyObject=t},enumerable:!1,configurable:!0}),Object.defineProperty(St.prototype,"to",{get:function(){return this.keyObjectTo},set:function(t){this.keyObjectTo=t},enumerable:!1,configurable:!0}),St),ft;function St(){var t=ft.call(this)||this;return t.keyObject=0,t.keyObjectTo=0,t}s.StiDecimalRangeDialogInfoItem=gt;var yt=(__extends(bt,At=t),Object.defineProperty(bt.prototype,"componentId",{get:function(){return It.StiComponentId.StiLongRangeDialogInfoItem},enumerable:!1,configurable:!0}),Object.defineProperty(bt.prototype,"from",{get:function(){return this.keyObject},set:function(t){this.keyObject=t},enumerable:!1,configurable:!0}),Object.defineProperty(bt.prototype,"to",{get:function(){return this.keyObjectTo},set:function(t){this.keyObjectTo=t},enumerable:!1,configurable:!0}),bt),At;function bt(){var t=At.call(this)||this;return t.keyObject=0,t.keyObjectTo=0,t}s.StiLongRangeDialogInfoItem=yt;var Ct=(__extends(wt,vt=t),Object.defineProperty(wt.prototype,"componentId",{get:function(){return It.StiComponentId.StiExpressionRangeDialogInfoItem},enumerable:!1,configurable:!0}),Object.defineProperty(wt.prototype,"from",{get:function(){return this.keyObject},set:function(t){this.keyObject=t},enumerable:!1,configurable:!0}),Object.defineProperty(wt.prototype,"to",{get:function(){return this.keyObjectTo},set:function(t){this.keyObjectTo=t},enumerable:!1,configurable:!0}),wt),vt;function wt(){var t=vt.call(this)||this;return t.keyObject="",t.keyObjectTo="",t}s.StiExpressionRangeDialogInfoItem=Ct}(e=It.Dictionary||(It.Dictionary={}))}(Stimulsoft=Stimulsoft||{}),function(A){var t,e,r;e=t=A.Report||(A.Report={}),function(d){var r=A.System.Collections.List,n=A.System.Convert,a=A.System.StiString,i=A.System.Globalization.CultureInfo,o=A.System.DateTime,s=A.System.Enum,l=A.Base.StiTypeFinder,t=A.Report.Expressions.StiExpression,e=A.Base.StiJson,u=A.System.Text.XMLConvert,g=A.Report.Dictionary.StiDialogInfo,c=A.Report.Range,p=A.Base.Drawing.StiImageConverter,h=A.Report.RangeConverter,m=A.Base.StiKeyHelper,f,f;(f=f=f||{})[f["Name"]=100]="Name",f[f["Alias"]=200]="Alias",f[f["Category"]=300]="Category";var t=(__extends(y,S=t),y.prototype.convertTypeToJsonString=function(t){var e=t.stimulsoft.getNetTypeName(),t;return!e.stimulsoft.startsWith("System.Nullable`1")||-1!=(t=e.indexOf(","))&&(e=e.substr(0,t).stimulsoft.replaceAll("[[","[")+"]"),e},y.prototype.convertJsonStringToType=function(t){return t.stimulsoft.startsWith("System.Nullable`1")&&!t.stimulsoft.contains(", mscorlib,")&&(t=(t=t.substr(0,t.length-1)+", mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089]]").stimulsoft.replaceAll("[","[[")),l.getStiType(t)},y.prototype.saveToJsonObject=function(){var t=new e;if(t.addPropertyStringNullOrEmpty("Value",this.value),t.addPropertyStringNullOrEmpty("Name",this.name),t.addPropertyJObject("DialogInfo",this.dialogInfo.saveToJsonObject()),t.addPropertyStringNullOrEmpty("Alias",this.alias),t.addPropertyStringNullOrEmpty("Type",this.convertTypeToJsonString(this.type)),t.addPropertyBool("ReadOnly",this.readOnly),t.addPropertyBool("RequestFromUser",this.requestFromUser),t.addPropertyStringNullOrEmpty("Category",this.category),t.addPropertyStringNullOrEmpty("Description",this.description),t.addPropertyEnum("InitBy",d.StiVariableInitBy,this.initBy,d.StiVariableInitBy.Value),t.addPropertyStringNullOrEmpty("Key",this.key),t.addPropertyBool("AllowUseAsSqlParameter",this.allowUseAsSqlParameter),t.addPropertyEnum("SelectionMode",d.StiSelectionMode,this._selection,d.StiSelectionMode.FromVariable),0==t.count)return null;return t},y.prototype.loadFromJsonObject=function(t,e){var r,n;S.prototype.loadFromJsonObject.call(this,t);try{for(var i=__values(t.properties()),o=i.next();!o.done;o=i.next()){var a=o.value;switch(a.name){case"Name":this._name=a.value;break;case"DialogInfo":this._dialogInfo.loadFromJsonObject(a.value,e);break;case"Alias":this._alias=a.value;break;case"Type":this._type=this.convertJsonStringToType(a.value);break;case"ReadOnly":this._readOnly=a.value.stimulsoft.toBoolean();break;case"RequestFromUser":this._requestFromUser=a.value.stimulsoft.toBoolean();break;case"Category":this._category=a.value;break;case"Description":this._description=a.value;break;case"InitBy":this._initBy=s.parse(d.StiVariableInitBy,a.value);break;case"Key":this._key=a.value;break;case"AllowUseAsSqlParameter":this.allowUseAsSqlParameter=a.value.stimulsoft.toBoolean();break;case"SelectionMode":this._selection=s.parse(d.StiSelectionMode,a.value);break}}}catch(t){r={error:t}}finally{try{o&&!o.done&&(n=i.return)&&n.call(i)}finally{if(r)throw r.error}}},y.loadFromXml=function(t,e){var t=t.textContent.split(","),r,r,r,r,r,r,r;if(1==t.length)return new y(t[0]);if(2==t.length)return(r=new y(t[0])).inherited=!0,r;if(5==t.length){var n=d.StiVariableInitBy.Expression,i=u.decodeName(t[3]),o="null"==t[2]?null:l.getStiType(t[2]);try{y.getValue(i,o),n=d.StiVariableInitBy.Value}catch(t){A.System.StiError.showError(t,!1),n=d.StiVariableInitBy.Expression}return new y(u.decodeName(t[0]),u.decodeName(t[1]),u.decodeName(t[1]),"",o,i,"True"==t[4],n)}if(6==t.length){var n=d.StiVariableInitBy.Value,i=u.decodeName(t[4]),o=l.getStiType(t[3]);try{y.getValue(i,o),n=d.StiVariableInitBy.Value}catch(t){A.System.StiError.showError(t,!1),n=d.StiVariableInitBy.Expression}return new y(u.decodeName(t[0]),u.decodeName(t[1]),u.decodeName(t[2]),"",o,i,"True"==t[5],n)}if(7==t.length)return new y(u.decodeName(t[0]),u.decodeName(t[1]),u.decodeName(t[2]),"",l.getStiType(t[3]),u.decodeName(t[4]),"True"==t[5],"True"==t[6]?d.StiVariableInitBy.Expression:d.StiVariableInitBy.Value);if(8==t.length)return(r=new y(u.decodeName(t[0]),u.decodeName(t[1]),u.decodeName(t[2]),"",l.getStiType(t[3]),u.decodeName(t[4]),"True"==t[5],"True"==t[6]?d.StiVariableInitBy.Expression:d.StiVariableInitBy.Value)).inherited=!0,r;if(9==t.length)return new y(u.decodeName(t[0]),u.decodeName(t[1]),u.decodeName(t[2]),u.decodeName(t[3]),l.getStiType(t[4]),u.decodeName(t[5]),"True"==t[6],"True"==t[7]?d.StiVariableInitBy.Expression:d.StiVariableInitBy.Value,"True"==t[8]);if(10==t.length)return(r=new y(u.decodeName(t[0]),u.decodeName(t[1]),u.decodeName(t[2]),u.decodeName(t[3]),l.getStiType(t[4]),u.decodeName(t[5]),"True"==t[6],"True"==t[7]?d.StiVariableInitBy.Expression:d.StiVariableInitBy.Value,"True"==t[8])).inherited="True"==t[9],r;if(11==t.length)return(r=new y(u.decodeName(t[0]),u.decodeName(t[1]),u.decodeName(t[2]),u.decodeName(t[3]),l.getStiType(t[4]),u.decodeName(t[5]),"True"==t[6],"True"==t[7]?d.StiVariableInitBy.Expression:d.StiVariableInitBy.Value,"True"==t[8],this.convertFromStringToDialogInfo(u.decodeName(t[10]),e))).inherited="True"==t[9],r;if(12==t.length)return(r=new y(u.decodeName(t[0]),u.decodeName(t[1]),u.decodeName(t[2]),u.decodeName(t[3]),l.getStiType(t[4]),u.decodeName(t[5]),"True"==t[6],"True"==t[7]?d.StiVariableInitBy.Expression:d.StiVariableInitBy.Value,"True"==t[8],this.convertFromStringToDialogInfo(u.decodeName(t[10]),e),t[11])).inherited="True"==t[9],r;if(13==t.length)return(r=new y(u.decodeName(t[0]),u.decodeName(t[1]),u.decodeName(t[2]),u.decodeName(t[3]),l.getStiType(t[4]),u.decodeName(t[5]),"True"==t[6],"True"==t[7]?d.StiVariableInitBy.Expression:d.StiVariableInitBy.Value,"True"==t[8],this.convertFromStringToDialogInfo(u.decodeName(t[10]),e),a.isNullOrWhiteSpace(t[11])?null:u.decodeName(t[11]),"True"==t[12])).inherited="True"==t[9],r;if(14==t.length)return(r=new y(u.decodeName(t[0]),u.decodeName(t[1]),u.decodeName(t[2]),u.decodeName(t[3]),l.getStiType(t[4]),u.decodeName(t[5]),"True"==t[6],"True"==t[7]?d.StiVariableInitBy.Expression:d.StiVariableInitBy.Value,"True"==t[8],this.convertFromStringToDialogInfo(u.decodeName(t[10]),e),a.isNullOrWhiteSpace(t[11])?null:u.decodeName(t[11]),"True"==t[12],s.parse(d.StiSelectionMode,t[13]))).inherited="True"==t[9],r;return null},y.convertFromStringToDialogInfo=function(t,e){if(""==t||"null"==t)return new g;for(var r=new g,n=A.System.Xml.XmlConverter.toXml(t).childNodes[0],i=0;i<n.childNodes.length;i++){var o=n.childNodes[i];switch(o.nodeName){case"DateTimeType":r.dateTimeType=s.parse(d.StiDateTimeType,o.textContent);break;case"ItemsInitializationType":r.itemsInitializationType=s.parse(d.StiItemsInitializationType,o.textContent);break;case"KeysColumn":r.keysColumn=o.textContent;break;case"ValuesColumn":r.valuesColumn=o.textContent;break;case"BindingValuesColumn":r.bindingValuesColumn=o.textContent;break;case"Mask":r.mask=o.textContent;break;case"AllowUserValues":r.allowUserValues=o.textContent.stimulsoft.toBoolean();break;case"BindingValue":r.bindingValue=o.textContent.stimulsoft.toBoolean();break;case"Keys":r.keys=y.parseStringArray(o);break;case"Values":r.values=y.parseStringArray(o);break;case"BindingVariable":r.xmlLoadedBindingVariable=""!=o.textContent?o:null,e.jsonLoaderHelper.dialogInfo.push(r);break}}return r},y.parseStringArray=function(t){for(var e=[],r=0,n=0;n<t.childNodes.length;n++){var i=t.childNodes[n];"value"==i.nodeName&&(e[n]=i.textContent,r++)}return e},y.prototype.getValue=function(){return this.valueObject},y.prototype.getName=function(){return this.name},y.prototype.getKey=function(){return this.key=m.getOrGeneratedKey(this.key),this.key},y.prototype.setKey=function(t){this.key=t},y.prototype.getAlias=function(){return this.alias},Object.defineProperty(y.prototype,"inherited",{get:function(){return this._inherited},set:function(t){this._inherited=t},enumerable:!1,configurable:!0}),Object.defineProperty(y.prototype,"name",{get:function(){return this._name},set:function(t){this._name=t.stimulsoft.replaceAll(" ","_")},enumerable:!1,configurable:!0}),Object.defineProperty(y.prototype,"applyFormat",{get:function(){return!1},enumerable:!1,configurable:!0}),Object.defineProperty(y.prototype,"dialogInfo",{get:function(){return this._dialogInfo},set:function(t){this._dialogInfo=t},enumerable:!1,configurable:!0}),Object.defineProperty(y.prototype,"alias",{get:function(){return this._alias},set:function(t){this._alias=t},enumerable:!1,configurable:!0}),Object.defineProperty(y.prototype,"type",{get:function(){return this._type},set:function(t){this._type=t},enumerable:!1,configurable:!0}),Object.defineProperty(y.prototype,"readOnly",{get:function(){return this._readOnly},set:function(t){(this._readOnly=t)&&(this._requestFromUser=!1)},enumerable:!1,configurable:!0}),Object.defineProperty(y.prototype,"requestFromUser",{get:function(){return this._requestFromUser},set:function(t){this._requestFromUser=t},enumerable:!1,configurable:!0}),Object.defineProperty(y.prototype,"allowUseAsSqlParameter",{get:function(){return this._allowUseAsSqlParameter},set:function(t){this._allowUseAsSqlParameter=t},enumerable:!1,configurable:!0}),Object.defineProperty(y.prototype,"category",{get:function(){return this._category},set:function(t){this._category=t},enumerable:!1,configurable:!0}),Object.defineProperty(y.prototype,"description",{get:function(){return this._description},set:function(t){this._description=t},enumerable:!1,configurable:!0}),Object.defineProperty(y.prototype,"isCategory",{get:function(){return a.isNullOrEmpty(this.name)},enumerable:!1,configurable:!0}),Object.defineProperty(y.prototype,"valueObject",{get:function(){var t=this.value;if(this.initBy==d.StiVariableInitBy.Expression)return this.value;return y.getValue(t,this.type)},set:function(t){this.initBy==d.StiVariableInitBy.Expression&&(this.value=t),null==t?this.value="":this.setValue(t)},enumerable:!1,configurable:!0}),Object.defineProperty(y.prototype,"initByExpressionFrom",{get:function(){if(!l.findType(this.type,c.stimulsoft.getType()))return null;var t=this.getRangeValues();if(null==t)return"";return t[0]},set:function(t){if(!l.findType(this.type,c.stimulsoft.getType()))return;var e=this.getRangeValues(),r="";null!=e&&(r=e[1]),this.value=a.format("{0}<<|>>{1}",t,r)},enumerable:!1,configurable:!0}),Object.defineProperty(y.prototype,"initByExpressionTo",{get:function(){if(!l.findType(this.type,c.stimulsoft.getType()))return null;var t=this.getRangeValues();if(null==t)return"";return t[1]},set:function(t){if(!l.findType(this.type,c.stimulsoft.getType()))return;var e=this.getRangeValues(),r="";null!=e&&(r=e[0]),this.value=a.format("{0}<<|>>{1}",r,t)},enumerable:!1,configurable:!0}),y.prototype.getValueProp=function(){if(this.initBy==d.StiVariableInitBy.Expression)return S.prototype.getValueProp.call(this);if(!a.isNullOrEmpty(S.prototype.getValueProp.call(this))&&(this.type==A.System.DateTime||this.type==A.System.NullableDateTime)){var t=y.getDateTimeFromValue(S.prototype.getValueProp.call(this)),e=A.System.Globalization.CultureInfo.currentCulture;try{return A.System.Globalization.CultureInfo.currentCulture=A.System.Globalization.CultureInfo.getCultureInfo("en-US"),t.toString()}finally{A.System.Globalization.CultureInfo.currentCulture=e}}if(this.type==A.System.DateTime||this.type==A.System.NullableDateTime)return null;return S.prototype.getValueProp.call(this)},y.prototype.setValueProp=function(e){if(this.initBy==d.StiVariableInitBy.Expression)S.prototype.setValueProp.call(this,e);else{if(null!=e&&"null"!=e&&0<e.length&&(this.type==A.System.DateTime||this.type==A.System.NullableDateTime))try{var t=A.System.Globalization.CultureInfo.currentCulture;try{A.System.Globalization.CultureInfo.currentCulture=A.System.Globalization.CultureInfo.getCultureInfo("en-US");var r=A.System.DateTime.fromString(e);null==r&&(r=new o(Date.parse(e))),null==r&&(r=o.now),S.prototype.setValueProp.call(this,y.getValueFromDateTime(r))}finally{A.System.Globalization.CultureInfo.currentCulture=t}}catch(t){throw A.System.StiError.showError(t,!1),new Error(a.format("Variable value '{0}' is wrong DateTime value",e))}S.prototype.setValueProp.call(this,e)}},Object.defineProperty(y.prototype,"function",{get:function(){return this.initBy==d.StiVariableInitBy.Expression},set:function(t){this.initBy=t?d.StiVariableInitBy.Expression:d.StiVariableInitBy.Value},enumerable:!1,configurable:!0}),Object.defineProperty(y.prototype,"initBy",{get:function(){return this._initBy},set:function(t){this._initBy=t},enumerable:!1,configurable:!0}),Object.defineProperty(y.prototype,"selection",{get:function(){return this._selection},set:function(t){this._selection=t},enumerable:!1,configurable:!0}),Object.defineProperty(y.prototype,"key",{get:function(){return this._key},set:function(t){this._key=t},enumerable:!1,configurable:!0}),y.prototype.getRangeValues=function(){var t=this.value;if(a.isNullOrEmpty(t))return null;if(-1==t.indexOf("<<|>>"))return null;var t=t.split("<<|>>");if(2!=t.length)return null;return t},y.getValue=function(t,e){if(a.isNullOrEmpty(t)){if(e==A.System.Int32||e==A.System.UInt32||e==A.System.Int64||e==A.System.UInt64||e==A.System.Byte||e==A.System.SByte||e==A.System.Int16||e==A.System.UInt16)return 0;if(e==String)return"";if(e==Boolean)return!1;if(e==A.System.Char)return" ";if(e==A.System.Double)return 0;if(e==A.System.Single)return 0;if(e==A.System.Decimal)return 0;if(e==A.System.DateTime)return null;if(e==A.System.TimeSpan)return null;if(l.findType(e,c))return A.System.Activator.createInstance(e);if(l.findType(e,A.System.Drawing.Image))return null;if(e==A.System.NullableInt32||e==A.System.NullableUInt32||e==A.System.NullableInt64||e==A.System.NullableUInt64||e==A.System.NullableByte||e==A.System.NullableSByte||e==A.System.NullableInt16||e==A.System.NullableUInt16)return 0;if(e==A.System.NullableBoolean)return!1;if(e==A.System.NullableChar)return" ";if(e==A.System.NullableDouble)return 0;if(e==A.System.NullableSingle)return 0;if(e==A.System.NullableDecimal)return 0;if(e==A.System.NullableDateTime)return null;if(e==A.System.NullableTimeSpan)return null}if(e==A.System.Int32||e==A.System.UInt32||e==A.System.Int64||e==A.System.UInt64||e==A.System.Byte||e==A.System.SByte||e==A.System.Int16||e==A.System.UInt16)return t.stimulsoft.toNumber(!1);if(e==String)return t;if(e==Boolean)return"true"==t.toLowerCase();if(e==A.System.Char)return t.substring(0,1);if(e==A.System.Double||e==A.System.Single||e==A.System.Decimal)return t.stimulsoft.toNumber();if(e==A.System.Guid)return a.isNullOrEmpty(t)?A.System.Guid.empty:new A.System.Guid(t);if(e==A.System.DateTime)try{return new o(Date.parse(t))}finally{}else if(e==A.System.TimeSpan)try{return A.System.TimeSpan.fromString(t)}finally{}else{if(e==A.System.NullableInt32||e==A.System.NullableUInt32||e==A.System.NullableInt64||e==A.System.NullableUInt64||e==A.System.NullableByte||e==A.System.NullableSByte||e==A.System.NullableInt16||e==A.System.NullableUInt16)return t.stimulsoft.toNumber(!1);if(e==A.System.NullableBoolean)return"true"==t.toLowerCase();if(e==A.System.NullableChar)return t.substring(0,1);if(e==A.System.NullableDouble||e==A.System.NullableSingle||e==A.System.NullableDecimal)return t.stimulsoft.toNumber();if(e==A.System.NullableDateTime)try{return new o(Date.parse(t))}finally{}else if(e==A.System.NullableTimeSpan)try{return A.System.TimeSpan.fromString(t)}finally{}else{if(l.findType(e,A.System.Drawing.Image))return p.stringToImage(t);if(l.findType(e,c))return h.stringToRange(t)}}return null},y.prototype.setValue=function(t){if(null==t)this.value=null;else if("string"==typeof t)this.value=t;else if(t.stimulsoft.is(A.System.Char))this.value=t.toString();else if(t.stimulsoft.is(A.System.Guid))this.value=t.toString();else if(t.stimulsoft.is(A.System.NullableChar))this.value=t.toString();else if("boolean"==typeof t)this.value=t.toString().toLowerCase();else if(t.stimulsoft.is(A.System.NullableBoolean))this.value=t.toString().toLowerCase();else if(t.stimulsoft.is(A.System.Drawing.Image))this.value=p.imageToString(t);else if(t.stimulsoft.is(A.Report.Range))this.value=h.rangeToString(t);else if(t instanceof Array||t instanceof r||t instanceof Uint8Array)this.value=n.toBase64String(t);else if(t instanceof A.System.TimeSpan){var e=i.currentCulture;try{i.currentCulture=i.cultures["en-US"],this.value=t.toString()}finally{i.currentCulture=e}}else if(t instanceof A.System.DateTime){var e=i.currentCulture;try{i.currentCulture=i.cultures["en-US"],this.value=t.toString()}finally{i.currentCulture=e}}else if(t.stimulsoft.is(A.System.NullableTimeSpan)){var e=i.currentCulture;try{i.currentCulture=i.cultures["en-US"],this.value=t.toString()}finally{i.currentCulture=e}}else if(t.stimulsoft.is(A.System.NullableDateTime)){var e=i.currentCulture;try{i.currentCulture=i.cultures["en-US"],this.value=t.toString()}finally{i.currentCulture=e}}else if(this.type==A.System.Int||this.type==A.System.Int32||this.type==A.System.UInt32||this.type==A.System.Long||this.type==A.System.Int64||this.type==A.System.ULong||this.type==A.System.UInt64||this.type==A.System.Byte||this.type==A.System.SByte||this.type==A.System.Short||this.type==A.System.Int16||this.type==A.System.UShort||this.type==A.System.UInt16||this.type==A.System.Double||this.type==A.System.Single||this.type==A.System.Decimal||this.type==A.System.NullableInt||this.type==A.System.NullableInt32||this.type==A.System.NullableUInt||this.type==A.System.NullableUInt32||this.type==A.System.NullableLong||this.type==A.System.NullableInt64||this.type==A.System.NullableULong||this.type==A.System.NullableUInt64||this.type==A.System.NullableByte||this.type==A.System.NullableSByte||this.type==A.System.NullableShort||this.type==A.System.NullableInt16||this.type==A.System.NullableUShort||this.type==A.System.NullableUInt16||this.type==A.System.NullableDouble||this.type==A.System.NullableSingle||this.type==A.System.NullableDecimal){var e=i.currentCulture;try{i.currentCulture=i.cultures["en-US"],this.value=t.toString().replace(".",i.currentCulture.numberFormat.numberDecimalSeparator)}finally{i.currentCulture=e}}},y.prototype.getNativeValue=function(){return S.prototype.getValueProp.call(this)},y.getDateTimeFromValue=function(t){if("null"==t)return o.now;var e=A.System.Globalization.CultureInfo.currentCulture;try{A.System.Globalization.CultureInfo.currentCulture=A.System.Globalization.CultureInfo.getCultureInfo("en-US");var r=o.fromString(t);if(null==r&&(r=new o(Date.parse(t))),null!=r)return r;return o.now}catch(t){A.System.StiError.showError(t,!1)}finally{A.System.Globalization.CultureInfo.currentCulture=e}return o.now},y.getValueFromDateTime=function(t){var e=A.System.Globalization.CultureInfo.currentCulture;try{return A.System.Globalization.CultureInfo.currentCulture=A.System.Globalization.CultureInfo.getCultureInfo("en-US"),t.toString()}finally{A.System.Globalization.CultureInfo.currentCulture=e}},y.prototype.eval=function(t){return A.Report.Engine.StiParser.StiParser.prepareVariableValue(this,t,null,!0)},y.prototype.toString=function(){return this.isCategory?this.category:this.alias==this.name?this.name:this.name+" ["+this.alias+"]"},y),S;function y(t,e,r,n,i,o,a,s,l,u,c,p,h){void 0===t&&(t=""),void 0===e&&(e=""),void 0===r&&(r=""),void 0===n&&(n=""),void 0===i&&(i=String.stimulsoft.getType()),void 0===o&&(o=""),void 0===a&&(a=!1),void 0===s&&(s=d.StiVariableInitBy.Value),void 0===l&&(l=!1),void 0===u&&(u=new g),void 0===c&&(c=null),void 0===p&&(p=!1),void 0===h&&(h=d.StiSelectionMode.FromVariable);var m=S.call(this)||this;return m._inherited=!1,m._name="",m._dialogInfo=new g,m._alias="",m._readOnly=!1,m._requestFromUser=!1,m._category="",m._description="",m._initBy=d.StiVariableInitBy.Value,m._selection=d.StiSelectionMode.First,m._key=null,m._category=t,m.name=e,m._alias=r,m._description=n,m._type=null!=i?i:String.stimulsoft.getType(),m._readOnly=a,m._initBy=s,m.value=o,m._requestFromUser=l,m._dialogInfo=u,m._key=c,m._allowUseAsSqlParameter=p,m._selection=h,m}d.StiVariable=t}(r=e.Dictionary||(e.Dictionary={}))}(Stimulsoft=Stimulsoft||{}),function(s){var t;!function(t){var u=s.System.StiString,e=s.Base.Localization.StiLocalization,c=s.System.Char,p,r;(r=p=t.StiNamingRule||(t.StiNamingRule={}))[r["Simple"]=0]="Simple",r[r["Advanced"]=1]="Advanced";var r=(Object.defineProperty(h,"namingRule",{get:function(){return StiOptions.Engine.namingRule},set:function(t){StiOptions.Engine.namingRule=t},enumerable:!1,configurable:!0}),h.removeSpacesFromName=function(t,e,r){if(void 0===r&&(r=null),e){for(var n=t,i=0,o=t.length,a=0;a<o;a++)" "==t.charAt(a)?(n.stimulsoft.remove(i,1),i<n.length&&c.isLetter(n.charAt(i))&&n.stimulsoft.insert(i,c.toUpper(n.charAt(i)),1)):i++;return t=n.toString(),s.Report.StiNameValidator.correctName(t,!0,r)}return t},h.createSimpleName=function(t,e){return(e=this.removeSpacesFromName(e,!0))+(t.indexName++).toString()},h.createName=function(t,e,r,n,i){if(void 0===r&&(r=!0),void 0===n&&(n=!0),void 0===i&&(i=!1),e=h.removeSpacesFromName(e,n),!(i||t.isDesigning&&h.namingRule!=p.Simple))return e+(t.indexName++).toString();var o=t.getComponents(),a=1;if(0==o.count&&0==t.dataSources.count&&0==t.dictionary.dataSources.count&&0==t.dictionary.relations.count&&0==t.dictionary.variables.count){if(r)return e+"1";return e}while(1){var s=e+a.toString(),l=void 0,l;if(null==h.getObjectWithName(null,t,o,l=r||1!=a?s:e)){if(!r&&1==a)return e;return s}a++}},h.createResourceName=function(t,e){e=this.removeSpacesFromName(e,!1);var r=1;while(1){var n=1==r?e:e+r.toString();if(!this.isResourceNameExists(t,n))return n;r++}},h.createConnectionName=function(t,e){e=this.removeSpacesFromName(e,!1);var r=1;while(1){var n=1==r?e:e+r.toString();if(!this.isConnectionNameExists(t,n))return n;r++}},h.createDataSourcesName=function(t,e){e=this.removeSpacesFromName(e,!1);var r=1;while(1){var n=1==r?e:e+r.toString();if(!this.isTableDataSourcesExists(t,n))return n;r++}},h.isTableDataSourcesExists=function(t,e){if(null==t)return!1;return e=e.toLowerCase().trim(),t.dictionary.dataSources.toList().any(function(t){return t.name.toLowerCase().trim()==e})},h.isResourceNameExists=function(t,e){if(null==t)return!1;return e=e.toLowerCase().trim(),t.dictionary.resources.toList().any(function(t){return t.name.toLowerCase().trim()==e})},h.isConnectionNameExists=function(t,e){return e=e.toLowerCase().trim(),t.dictionary.databases.toList().any(function(t){return t.name.toLowerCase().trim()==e})},h.createColumnName=function(t,e){var r=null!=t&&null!=t.dictionary?t.dictionary.report:null;e=this.removeSpacesFromName(e,!1,r);var n=1;while(1){var i=1==n?e:e+n.toString();if(!this.isColumnNameExists(t,i))return i;n++}},h.isColumnNameExists=function(t,e){return e=e.toLowerCase().trim(),t.columns.toList().any(function(t){return t.name.toLowerCase().trim()==e})},h.isValidName=function(t,e){var r,n;if(u.isNullOrEmpty(e)||!c.isLetter(e.charAt(0))&&"_"!=e.charAt(0))return!1;for(var i=0;i<e.length;i++)if(!c.isLetterOrDigit(e.charAt(i))&&"_"!=e.charAt(i))return!1;var o=t.getComponents();try{for(var a=__values(o.list),s=a.next(),l;!s.done;s=a.next()){if(e==s.value.name)return!1}}catch(t){r={error:t}}finally{try{s&&!s.done&&(n=a.return)&&n.call(a)}finally{if(r)throw r.error}}return!0},h.exists=function(t,e,r){if(null==e)return null;return null!=h.getObjectWithName(t,e,e.getComponents(),r)},h.checkName=function(t,e,r,n,i){if(void 0===i&&(i=!0),null!=e&&e.isDesigning){if(h.exists(t,e,r))return!1;if(i&&!h.isValidName(e,r))return!1}return!0},h.getObjectWithName=function(t,e,r,n){if(null==e)return null;for(var i=0;i<r.count;i++){var o=r.getByIndex(i);if(n==o.name&&t!=o)return o}for(var i=0;i<e.dictionary.dataSources.count;i++){var a=e.dictionary.dataSources.getByIndex(i);if(n==a.name&&t!=a)return a}for(var i=0;i<e.dictionary.businessObjects.count;i++){var s=e.dictionary.businessObjects.getByIndex(i);if(n==s.name&&t!=s)return s}for(var i=0;i<e.dictionary.variables.count;i++){var l=e.dictionary.variables.getByIndex(i);if(n==l.name&&t!=l)return l}return null},h.generateName1=function(t,e,r){var r=r;return 1<r.length&&"Sti"==r.substr(0,3)&&(r=r.substr(3)),r},h.generateName2=function(t,e,r){return h.generateName1(t,e,r.stimulsoft.getType().stimulsoft.getTypeName())},h.generateName=function(t){return h.generateName2(t.report,t.localizedName,t.stimulsoft.getType())},h.generateName4=function(t){return h.generateName2(t.dictionary.report,e.get("PropertyMain","DataRelation"),t.stimulsoft.getType())},h.generateName5=function(t){return h.generateName2(t.dictionary.report,e.get("PropertyMain","DataSource"),t.stimulsoft.getType())},h);function h(){}t.StiNameCreation=r}(t=s.Report||(s.Report={}))}(Stimulsoft=Stimulsoft||{}),function(c){var t,p,e,o,a,h,m,r,s;function n(t,e,r){void 0===t&&(t=""),void 0===e&&(e=""),void 0===r&&(r="");var r=s.call(this,t,t,r)||this;return r.pathData=e,r}p=t=c.Report||(c.Report={}),o=e=p.Dictionary||(p.Dictionary={}),a=c.System.StiString,h=c.System.DateTime,m=c.Report.Components.StiText,s=o.StiDatabase,__extends(n,s),n.prototype.saveToJsonObject=function(t){var t=s.prototype.saveToJsonObject.call(this,t);return t.addPropertyStringNullOrEmpty("PathData",this.pathData),t},n.prototype.loadFromJsonObject=function(t){var e,r;s.prototype.loadFromJsonObject.call(this,t);try{for(var n=__values(t.properties()),i=n.next();!i.done;i=n.next()){var o=i.value;switch(o.name){case"PathData":this.pathData=o.value;break}}}catch(t){e={error:t}}finally{try{i&&!i.done&&(r=n.return)&&r.call(n)}finally{if(e)throw e.error}}},n.prototype.loadFromXml=function(t){s.prototype.loadFromXml.call(this,t);for(var e=0;e<t.childNodes.length;e++){var r=t.childNodes[e];switch(r.nodeName){case"PathData":this.pathData=r.textContent;break}}},n.prototype.createDataSources=function(n){var t=this.getDatabaseInformation(n),i=this;t.tables.select(function(t){var e=p.StiNameCreation.createDataSourcesName(n.report,t.tableName),r=new o.StiDataTableSource;return r.dictionary=n,r.nameInSource=a.format("{0}.{1}",i.name,t.tableName),r.name=e,r.alias=e,r.columns=new o.StiDataColumnsCollection(t.columns.toList()),n.dataSources.add(r),r})},n.parsePathExpression=function(t,e){if(!StiOptions.Dictionary.allowRestConnections)return e;var r=new m;if(r.name="**RestConnection**",r.page=t.report.pages.getByIndex(0),e.match(/(ftp|http|https):\/\/(\w+:{0,1}\w*@)?(\S+)(:[0-9]+)?(\/|\/([\w#!:.?+=&%@!\-\/]))?/gi)){var n="",i=0;while(i<e.length){var o=i;while(i<e.length&&"{"!=e[i])i++;if(i!=o&&(n+=e.substr(o,i-o)),i<e.length&&"{"==e[i]){o=++i;var a=!1;while(i<e.length){if('"'==e[i]){var s=++i;while(s<e.length){if('"'==e[s])break;"\\"==e[s]&&s++,s++}i=s+1;continue}if("}"==e[i]){var l=e.substr(o,i-o),l=c.Report.Engine.StiParser.StiParser.parseTextValue("{"+l+"}",r);null!=l&&l instanceof h&&(l=l.toString("YYYY-MM-DDThh:mm:ss")),null!=l&&(n+=c.Report.Export.StiExportUtils.stringToUrl(l.toString())),a=!0,i++;break}i++}a||(n+=e.substr(o))}}return n}var u=null;try{u=p.Engine.StiParser.StiParser.parseTextValue(e,r)}catch(t){}if(null==u)return"";return u.toString()},r=n,o.StiFileDatabase=r}(Stimulsoft=Stimulsoft||{}),function(d){var t,e,r,g,f,S,y,n,a;function i(t,e,r,n,i){void 0===t&&(t=""),void 0===e&&(e=""),void 0===r&&(r=0),void 0===n&&(n=null),void 0===i&&(i="");var i=a.call(this,t,e,i)||this;return i.codePage=r,i.separator=n,i}e=t=d.Report||(d.Report={}),g=r=e.Dictionary||(e.Dictionary={}),f=d.Report.Helpers.StiHyperlinkProcessor,S=d.Report.Helpers.StiUniversalDataLoader,y=d.System.Data.DataSet,a=g.StiFileDatabase,__extends(i,a),i.prototype.saveToJsonObject=function(t){var t=a.prototype.saveToJsonObject.call(this,t);return t.addPropertyStringNullOrEmpty("Separator",this.separator),t.addPropertyNumberNoDefaultValue("CodePage",this.codePage),t},i.prototype.loadFromJsonObject=function(t){var e,r;a.prototype.loadFromJsonObject.call(this,t);try{for(var n=__values(t.properties()),i=n.next();!i.done;i=n.next()){var o=i.value;switch(o.name){case"Separator":this.separator=o.value;break;case"CodePage":this.codePage=o.value.stimulsoft.toNumber();break}}}catch(t){e={error:t}}finally{try{i&&!i.done&&(r=n.return)&&r.call(n)}finally{if(e)throw e.error}}},i.prototype.loadFromXml=function(t){a.prototype.loadFromXml.call(this,t);for(var e=0;e<t.childNodes.length;e++){var r=t.childNodes[e];switch(r.nodeName){case"Separator":this.separator=r.textContent;break;case"CodePage":this.codePage=r.textContent.stimulsoft.toNumber();break}}},Object.defineProperty(i.prototype,"serviceName",{get:function(){return"CSV"},enumerable:!1,configurable:!0}),i.prototype.createNew=function(){return new i},Object.defineProperty(i.prototype,"componentId",{get:function(){return e.StiComponentId.StiCsvDatabase},enumerable:!1,configurable:!0}),i.prototype.getDataSet=function(l,u){var c=g.StiFileDatabase.parsePathExpression(l,this.pathData),p={pathData:c,database:this.serviceName,command:"GetData",preventDefault:!1,headers:[]},h=new y,m=this,t=function(t){var e,r;if(null==t){if(null==(t=S.loadMutiple(l.report,p.pathData,".csv",!0,p.headers)))return;try{for(var n=__values(t),i=n.next();!i.done;i=n.next()){var o=i.value,a=o.array,s,o;null==a||null!=(s=d.Base.StiCsvHelper.getTable2(a,m.codePage,m.separator,u))&&(f.isResourceHyperlink(p.pathData)?s.tableName=f.getResourceNameFromHyperlink(p.pathData):o.name?s.tableName=o.name:(o=p.pathData.substring(c.lastIndexOf("/")),p.pathData!=o?o=o.substr(1):(o=p.pathData.substring(p.pathData.lastIndexOf("\\")),p.pathData!=o&&(o=o.substr(1))),s.tableName=0<=o.lastIndexOf(".")?o.substring(0,o.lastIndexOf(".")):o),null==h&&((h=new y).enforceConstraints=!1),h.tables.add(s)),a=null}}catch(t){e={error:t}}finally{try{i&&!i.done&&(r=n.return)&&r.call(n)}finally{if(e)throw e.error}}}};return l.report.invokeBeginProcessData(p,t),0==p.preventDefault&&t(null),l.report.invokeEndProcessData({dataSet:h}),h},i.prototype.getDatabaseInformation=function(t){var e,r;try{var n=this.getDataSet(t,!1),i=new g.StiDatabaseInformation;try{for(var o=__values(n.tables.list),a=o.next();!a.done;a=o.next()){var s=a.value;i.tables.add(s)}}catch(t){e={error:t}}finally{try{a&&!a.done&&(r=o.return)&&r.call(o)}finally{if(e)throw e.error}}return i}catch(t){throw d.System.StiError.showError(t,!1),t}},i.prototype.regData=function(t,e){var r,n,i=this.getDataSet(t,e);if(null!=i){i.dataSetName=this.name;try{for(var o=__values(i.tables.list),a=o.next();!a.done;a=o.next()){var s=a.value,s=new g.StiData(this.name+"."+s.tableName,s);s.isReportData=!0,t.dataStore.setByName(s.name,s)}}catch(t){r={error:t}}finally{try{a&&!a.done&&(n=o.return)&&n.call(o)}finally{if(r)throw r.error}}}},n=i,g.StiCsvDatabase=n}(Stimulsoft=Stimulsoft||{}),function(B){var t,e,r,l,s,o,I,T,n,a;function i(t,e,r,n){void 0===t&&(t=""),void 0===e&&(e=""),void 0===r&&(r=null),void 0===n&&(n=!0);var r=a.call(this,t,e,r)||this;return r._firstRowIsHeader=!0,r.pathData=e,r.firstRowIsHeader=n,r}e=t=B.Report||(B.Report={}),l=r=e.Dictionary||(e.Dictionary={}),s=B.System.DateTime,o=B.Report.Helpers.StiUniversalDataLoader,I=B.System.Data.DataColumn,T=B.System.Data.DataSet,a=l.StiFileDatabase,__extends(i,a),i.prototype.saveToJsonObject=function(t){var t=a.prototype.saveToJsonObject.call(this,t);return t.addPropertyBool("FirstRowIsHeader",this.firstRowIsHeader,!0),t},i.prototype.loadFromJsonObject=function(t){var e,r;a.prototype.loadFromJsonObject.call(this,t);try{for(var n=__values(t.properties()),i=n.next();!i.done;i=n.next()){var o=i.value;switch(o.name){case"FirstRowIsHeader":this.firstRowIsHeader=o.value.stimulsoft.toBoolean();break}}}catch(t){e={error:t}}finally{try{i&&!i.done&&(r=n.return)&&r.call(n)}finally{if(e)throw e.error}}},i.prototype.loadFromXml=function(t){a.prototype.loadFromXml.call(this,t);for(var e=0;e<t.childNodes.length;e++){var r=t.childNodes[e];switch(r.nodeName){case"FirstRowIsHeader":this.firstRowIsHeader=r.textContent.stimulsoft.toBoolean();break}}},i.prototype.createNew=function(){return new i},Object.defineProperty(i.prototype,"serviceName",{get:function(){return"Excel"},enumerable:!1,configurable:!0}),Object.defineProperty(i.prototype,"componentId",{get:function(){return e.StiComponentId.StiExcelDatabase},enumerable:!1,configurable:!0}),Object.defineProperty(i.prototype,"firstRowIsHeader",{get:function(){return this._firstRowIsHeader},set:function(t){this._firstRowIsHeader=t},enumerable:!1,configurable:!0}),i.prototype.getDatabaseInformation=function(t){var e,r;try{var n=this.getDataSet(t),i=new l.StiDatabaseInformation;try{for(var o=__values(n.tables.list),a=o.next();!a.done;a=o.next()){var s=a.value;i.tables.add(s)}}catch(t){e={error:t}}finally{try{a&&!a.done&&(r=o.return)&&r.call(o)}finally{if(e)throw e.error}}return i}catch(t){throw 0==t.message.indexOf("Unsupported file")&&(t.message="Unsupported file."),B.System.StiError.showError(t,!1),t}},i.prototype.regData=function(t,e){var r,n;try{var i=this.getDataSet(t);if(null!=i){i.dataSetName=this.name;try{for(var o=__values(i.tables.list),a=o.next();!a.done;a=o.next()){var s=a.value,s=new l.StiData(this.name+"."+s.tableName,s);s.isReportData=!0,t.dataStore.setByName(s.name,s)}}catch(t){r={error:t}}finally{try{a&&!a.done&&(n=o.return)&&n.call(o)}finally{if(r)throw r.error}}}}catch(t){throw 0==t.message.indexOf("Unsupported file")&&(t.message="Unsupported file."),B.System.StiError.showError(t,!1),t}},i.prototype.getDataSet=function(r){var t,n={pathData:l.StiFileDatabase.parsePathExpression(r,this.pathData),database:this.serviceName,command:"GetData",preventDefault:!1,headers:[]},i=new T,e=function(t){var e;null!=t||null!=(e=o.loadSingle(r.report,n.pathData,!0,n.headers))&&(t=e.array),i=B.Report.Helpers.StiResourceArrayToDataSet.get(B.Report.Dictionary.StiResourceType.Excel,t,r.report,n.pathData)};return r.report.invokeBeginProcessData(n,e),0==n.preventDefault&&e(null),r.report.invokeEndProcessData({dataSet:i}),i},i.prototype.getDataSetPrivate=function(t){var e,r,n,i;if(null==t)return null;var o=new T;try{for(var a=__values(t.SheetNames),s=a.next();!s.done;s=a.next()){var l=s.value,u=t.Sheets[l],c=[],p;for(p in u){if("!range"==p||"!ref"==p||"!merges"==p||"!margins"==p||"!autofilter"==p)continue;var h=u[p],m=p.match(/(\w+?)(\d+)/),d=m[1],m=+m[2],g;(g=c[m])?g[d]=h:((g={})[d]=h,c[m]=g)}var f=new B.System.Data.DataTable(l);o.tables.add(f),c.splice(0,1);var S={},y=0,A=c[0];this.firstRowIsHeader&&(A=c.splice(0,1)[0]);try{for(var d in A){var b=this.getType1(d,c);S[d]=y++,f.columns.add(new I(A[d].w,b))}try{for(var C=(n=void 0,__values(c)),v=C.next();!v.done;v=C.next()){var g=v.value,w=f.addNewRow(),d;for(d in g)w.sett(S[d],g[d].v)}}catch(t){n={error:t}}finally{try{v&&!v.done&&(i=C.return)&&i.call(C)}finally{if(n)throw n.error}}}catch(t){}}}catch(t){e={error:t}}finally{try{s&&!s.done&&(r=a.return)&&r.call(a)}finally{if(e)throw e.error}}return o},i.prototype.getType1=function(t,e){var r,n;try{for(var i=__values(e),o=i.next();!o.done;o=i.next()){var a=o.value;if(null!=a[t])switch(a[t].t){case"b":return Boolean;case"n":return Number;case"d":return s}}}catch(t){r={error:t}}finally{try{o&&!o.done&&(n=i.return)&&n.call(i)}finally{if(r)throw r.error}}return String},n=i,l.StiExcelDatabase=n}(Stimulsoft=Stimulsoft||{}),function(l){var t,e,r,u,a,c,s,n;function i(t,e,r){void 0===t&&(t=""),void 0===e&&(e=""),void 0===r&&(r=null);var r=n.call(this,t,t,r)||this;return r.pathData=e,r}e=t=l.Report||(l.Report={}),u=r=e.Dictionary||(e.Dictionary={}),a=l.Report.Helpers.StiUniversalDataLoader,c=l.System.StiPromise,s=l.System.Data.DataSet,n=u.StiFileDatabase,__extends(i,n),i.prototype.createNew=function(){return new i},Object.defineProperty(i.prototype,"serviceName",{get:function(){return"JSON"},enumerable:!1,configurable:!0}),i.prototype.getDataSet=function(r){var t,n={pathData:u.StiFileDatabase.parsePathExpression(r,this.pathData),database:this.serviceName,command:"GetData",preventDefault:!1,tryParseDateTime:!0,headers:[]},i=new s,e=function(t){var e;null!=t||null!=(e=a.loadSingle(r.report,n.pathData,!1,n.headers))&&(t=e.array),i=l.Report.Helpers.StiResourceArrayToDataSet.get(l.Report.Dictionary.StiResourceType.Json,t,r.report,n.pathData,n.tryParseDateTime)};return r.report.invokeBeginProcessData(n,e),0==n.preventDefault&&e(null),r.report.invokeEndProcessData({dataSet:i}),i},i.prototype.getDataSetAsync=function(r){var n=new c,t,i={pathData:u.StiFileDatabase.parsePathExpression(r,this.pathData),database:this.serviceName,command:"GetData",preventDefault:!1,tryParseDateTime:!0,headers:[]},o=new s,e=function(t){var e;null!=t||null!=(e=a.loadSingle(r.report,i.pathData,!1,i.headers))&&(t=e.array),o=l.Report.Helpers.StiResourceArrayToDataSet.get(l.Report.Dictionary.StiResourceType.Json,t,r.report,i.pathData,i.tryParseDateTime),n.callTry(o)};return r.report.invokeBeginProcessData(i,e),0==i.preventDefault&&e(null),r.report.invokeEndProcessData({dataSet:o}),n},i.prototype.getDatabaseInformation=function(t){var e,r;try{var n=this.getDataSet(t),i=new u.StiDatabaseInformation;try{for(var o=__values(n.tables.list),a=o.next();!a.done;a=o.next()){var s=a.value;i.tables.add(s)}}catch(t){e={error:t}}finally{try{a&&!a.done&&(r=o.return)&&r.call(o)}finally{if(e)throw e.error}}return i}catch(t){throw l.System.StiError.showError(t,!1),t}},i.prototype.getDatabaseInformationAsync=function(t){var s=new c;try{this.getDataSetAsync(t).try(function(t){var e,r,n=new u.StiDatabaseInformation;try{for(var i=__values(t.tables.list),o=i.next();!o.done;o=i.next()){var a=o.value;n.tables.add(a)}}catch(t){e={error:t}}finally{try{o&&!o.done&&(r=i.return)&&r.call(i)}finally{if(e)throw e.error}}s.callTry(n)}).abort(s)}catch(t){l.System.StiError.showError(t,!1);var e=t;null!=t&&null!=t["message"]&&(e=t.message),s.callCatch(e)}return s},i.prototype.regData=function(t,e){var r,n,i=this.getDataSet(t);if(null!=i){i.dataSetName=this.name;try{for(var o=__values(i.tables.list),a=o.next();!a.done;a=o.next()){var s=a.value,s=new u.StiData(this.name+"."+s.tableName,s);s.isReportData=!0,t.dataStore.setByName(s.name,s)}}catch(t){r={error:t}}finally{try{a&&!a.done&&(n=o.return)&&n.call(o)}finally{if(r)throw r.error}}}},i.prototype.regDataAsync=function(a,t){var s=new c,l=this;return l.getDataSetAsync(a).try(function(t){var e,r;if(null!=t){t.dataSetName=l.name;try{for(var n=__values(t.tables.list),i=n.next();!i.done;i=n.next()){var o=i.value,o=new u.StiData(l.name+"."+o.tableName,o);o.isReportData=!0,a.dataStore.setByName(o.name,o)}}catch(t){e={error:t}}finally{try{i&&!i.done&&(r=n.return)&&r.call(n)}finally{if(e)throw e.error}}}s.callTry()}).abort(s),s},e=i,u.StiJsonDatabase=e}(Stimulsoft=Stimulsoft||{}),function(l){var t,a,e,u,c,p,h,s,m,r,d;function n(t,e,r,n,i){void 0===t&&(t=""),void 0===e&&(e=""),void 0===r&&(r=""),void 0===n&&(n=null),void 0===i&&(i=a.StiXmlType.AdoNetXml);var n=d.call(this,t,t,n)||this;return n._xmlType=a.StiXmlType.AdoNetXml,n.pathSchema=e,n.pathData=r,n.xmlType=i,n}a=t=l.Report||(l.Report={}),u=e=a.Dictionary||(a.Dictionary={}),c=l.System.StiString,p=l.Report.Helpers.StiUniversalDataLoader,h=l.System.StiPromise,s=l.System.Enum,m=l.System.Data.DataSet,d=u.StiFileDatabase,__extends(n,d),n.prototype.createNew=function(){return new n},n.prototype.saveToJsonObject=function(t){var t=d.prototype.saveToJsonObject.call(this,t);return t.addPropertyStringNullOrEmpty("PathSchema",this.pathSchema),t.addPropertyStringNullOrEmpty("PathData",this.pathData),t.addPropertyEnum("XmlType",a.StiXmlType,this.xmlType,a.StiXmlType.AdoNetXml),t},n.prototype.loadFromJsonObject=function(t){var e,r;d.prototype.loadFromJsonObject.call(this,t);try{for(var n=__values(t.properties()),i=n.next();!i.done;i=n.next()){var o=i.value;switch(o.name){case"PathSchema":this._pathSchema=o.value;break;case"PathData":this.pathData=o.value;break;case"XmlType":this._xmlType=s.parse(a.StiXmlType,o.value);break}}}catch(t){e={error:t}}finally{try{i&&!i.done&&(r=n.return)&&r.call(n)}finally{if(e)throw e.error}}},n.prototype.loadFromXml=function(t){d.prototype.loadFromXml.call(this,t);for(var e=0;e<t.childNodes.length;e++){var r=t.childNodes[e];switch(r.nodeName){case"PathSchema":this._pathSchema=r.textContent;break;case"PathData":this.pathData=r.textContent;break;case"XmlType":this._xmlType=s.parse(a.StiXmlType,r.textContent);break}}},Object.defineProperty(n.prototype,"serviceName",{get:function(){return"XML"},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"pathSchema",{get:function(){return this._pathSchema},set:function(t){this._pathSchema=t},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"xmlType",{get:function(){return this._xmlType},set:function(t){this._xmlType=t},enumerable:!1,configurable:!0}),n.prototype.getDataSet=function(r){var t=u.StiFileDatabase.parsePathExpression(r,this.pathSchema),e=u.StiFileDatabase.parsePathExpression(r,this.pathData),n={pathSchema:t,database:this.serviceName,command:"GetSchema",preventDefault:!1,headers:[]},i={pathData:e,database:this.serviceName,command:"GetData",preventDefault:!1,headers:[]},o=new m,t=function(t){var e;null!=t||c.isNullOrEmpty(n.pathSchema)||null!=(e=p.loadSingle(r.report,n.pathSchema,!1,n.headers))&&(t=e.array),o.readXmlSchema(t)},e=function(t){var e;null!=t||c.isNullOrEmpty(i.pathData)||null!=(e=p.loadSingle(r.report,i.pathData,!1,i.headers))&&(t=e.array),o.readXml(t)};return r.report.invokeBeginProcessData(n,t),r.report.invokeBeginProcessData(i,e),0==n.preventDefault&&t(null),0==i.preventDefault&&e(null),r.report.invokeEndProcessData({dataSet:o}),o},n.prototype.getDataSetAsync=function(e){var r=new h,t=u.StiFileDatabase.parsePathExpression(e,this.pathSchema),n=u.StiFileDatabase.parsePathExpression(e,this.pathData),i={pathSchema:t,database:this.serviceName,command:"GetSchema",preventDefault:!1,headers:[]},o={pathData:n,database:this.serviceName,command:"GetData",preventDefault:!1,headers:[]},a=new m,s=!1,l=!1,t=function(t){s=!0,null!=t||c.isNullOrEmpty(i.pathSchema)||(t=p.loadSingle(e.report,i.pathSchema,!1,i.headers).array),a.readXmlSchema(t),l&&r.callTry(a)},n=function(t){l=!0,null!=t||c.isNullOrEmpty(o.pathData)||(t=p.loadSingle(e.report,o.pathData,!1,o.headers).array),a.readXml(t),s&&r.callTry(a)};return e.report.invokeBeginProcessData(i,t),e.report.invokeBeginProcessData(o,n),0==i.preventDefault&&t(null),0==o.preventDefault&&n(null),s&&l&&r.callTry(a),e.report.invokeEndProcessData({dataSet:a}),r},n.prototype.regData=function(t,e){var r,n,i=this.getDataSet(t);if(null!=i){i.dataSetName=this.name;try{for(var o=__values(i.tables.list),a=o.next();!a.done;a=o.next()){var s=a.value,s=new u.StiData(this.name+"."+s.tableName,s);s.isReportData=!0,t.dataStore.setByName(s.name,s)}}catch(t){r={error:t}}finally{try{a&&!a.done&&(n=o.return)&&n.call(o)}finally{if(r)throw r.error}}}},n.prototype.regDataAsync=function(a,t){var s=this,l=new h;return this.getDataSetAsync(a).try(function(t){var e,r;if(null!=t){t.dataSetName=s.name;try{for(var n=__values(t.tables.list),i=n.next();!i.done;i=n.next()){var o=i.value,o=new u.StiData(s.name+"."+o.tableName,o);o.isReportData=!0,a.dataStore.setByName(o.name,o)}}catch(t){e={error:t}}finally{try{i&&!i.done&&(r=n.return)&&r.call(n)}finally{if(e)throw e.error}}}l.callTry()}).abort(l),l},n.prototype.getDatabaseInformation=function(t){var e,r;try{var n=this.getDataSet(t),i=new u.StiDatabaseInformation;try{for(var o=__values(n.tables.list),a=o.next();!a.done;a=o.next()){var s=a.value;i.tables.add(s)}}catch(t){e={error:t}}finally{try{a&&!a.done&&(r=o.return)&&r.call(o)}finally{if(e)throw e.error}}return i}catch(t){throw l.System.StiError.showError(t,!1),t}},n.prototype.getDatabaseInformationAsync=function(t){var s=new h;try{this.getDataSetAsync(t).try(function(t){var e,r,n=new u.StiDatabaseInformation;try{for(var i=__values(t.tables.list),o=i.next();!o.done;o=i.next()){var a=o.value;n.tables.add(a)}}catch(t){e={error:t}}finally{try{o&&!o.done&&(r=i.return)&&r.call(i)}finally{if(e)throw e.error}}s.callTry(n)}).abort(s)}catch(t){l.System.StiError.showError(t,!1),s.callCatch(t.message)}return s},r=n,u.StiXmlDatabase=r}(Stimulsoft=Stimulsoft||{}),function(m){var t,p,e,h,d,r,g,f,n,a;function i(t,e,r,n,i){void 0===t&&(t=""),void 0===e&&(e=null),void 0===r&&(r=""),void 0===n&&(n=!1),void 0===i&&(i=null);var i=a.call(this,t,e,i)||this;return i.connectionString=r,i.promptUserNameAndPassword=n,i}p=t=m.Report||(m.Report={}),h=e=p.Dictionary||(p.Dictionary={}),d=m.System.StiString,r=m.Base.StiEncryption,g=m.System.Data.DataColumn,f=m.System.Data.DataTable,a=h.StiDatabase,__extends(i,a),i.prototype.saveToJsonObject=function(t){var t=a.prototype.saveToJsonObject.call(this,t);return t.addPropertyStringNullOrEmpty("ConnectionStringEncrypted",this.connectionStringEncrypted),t.addPropertyBool("PromptUserNameAndPassword",this.promptUserNameAndPassword),t},i.prototype.loadFromJsonObject=function(t){var e,r;a.prototype.loadFromJsonObject.call(this,t);try{for(var n=__values(t.properties()),i=n.next();!i.done;i=n.next()){var o=i.value;switch(o.name){case"ConnectionString":this.connectionString=o.value.toString();break;case"ConnectionStringEncrypted":this.connectionStringEncrypted=o.value.toString();break;case"PromptUserNameAndPassword":this.promptUserNameAndPassword=o.value.stimulsoft.toBoolean();break}}}catch(t){e={error:t}}finally{try{i&&!i.done&&(r=n.return)&&r.call(n)}finally{if(e)throw e.error}}},i.prototype.loadFromXml=function(t){a.prototype.loadFromXml.call(this,t);for(var e=0;e<t.childNodes.length;e++){var r=t.childNodes[e];switch(r.nodeName){case"ConnectionString":this.connectionString=r.textContent;break;case"ConnectionStringEncrypted":this.connectionStringEncrypted=r.textContent;break;case"PromptUserNameAndPassword":this.promptUserNameAndPassword=r.textContent.stimulsoft.toBoolean();break}}},Object.defineProperty(i.prototype,"connectionType",{get:function(){return h.StiConnectionType.NoSql},enumerable:!1,configurable:!0}),Object.defineProperty(i.prototype,"connectionStringEncrypted",{get:function(){return r.encryptS(this.connectionString,"8pTP5X15uKADcSw7")},set:function(t){this.connectionString=r.decryptS(t,"8pTP5X15uKADcSw7")},enumerable:!1,configurable:!0}),Object.defineProperty(i.prototype,"canEditConnectionString",{get:function(){return!0},enumerable:!1,configurable:!0}),Object.defineProperty(i.prototype,"dataAdapterType",{get:function(){return this.getDataAdapterType().stimulsoft.getTypeName()},enumerable:!1,configurable:!0}),i.prototype.regData=function(t,e){var r;if(null==this.getDataAdapter())throw d.format("A data adapter for the database {0} not found",this.stimulsoft.getTypeName())},i.prototype.getDataAdapterType=function(){return null},i.prototype.getDataAdapter=function(){var t=this.getDataAdapterType(),e=this.dataAdapterType,r=StiOptions.Services.dataAdapters.where(function(t){return t.serviceEnabled}).firstOrDefault(function(t){return t.stimulsoft.getType().stimulsoft.getTypeName()==e});if(null!=r)return r;throw d.format("Data adapter for the {0} database is not found!",this)},i.prototype.applyDatabaseInformation=function(t,e,r){var n,i;void 0===r&&(r=null);try{for(var o=__values(t.tables),a=o.next();!a.done;a=o.next()){var s=a.value;this.applyDatabaseInformationSource(t,e,r,s)}}catch(t){n={error:t}}finally{try{a&&!a.done&&(i=o.return)&&i.call(o)}finally{if(n)throw n.error}}},i.prototype.applyDatabaseInformationSource=function(t,e,r,n,i){var o,a;void 0===i&&(i=h.StiSqlSourceType.Table);var s=this.createDataSource(this.name,p.StiNameCreation.createName(e,n.tableName,!1,!1,!0));s.alias=n.tableName;try{for(var l=__values(n.columns.list),u=l.next();!u.done;u=l.next()){var c=u.value;s.columns.add(new h.StiDataColumn(c.columnName,c.columnName,c.columnName,c.dataType))}}catch(t){o={error:t}}finally{try{u&&!u.done&&(a=l.return)&&a.call(l)}finally{if(o)throw o.error}}e.dictionary.dataSources.add(s)},i.prototype.getDatabaseInformation=function(){try{var t=new h.StiDatabaseInformation,e,r=this.createConnector(this.connectionString).retrieveSchema();if(null==r)return t;return t.tables.addRange(this.getDatabaseInformationTables(r)),t}catch(t){return m.System.StiError.showError(t,!1),null}},i.prototype.getDatabaseInformationTables=function(t){var e,r,n,i,o=[];try{for(var a=__values(t.tables),s=a.next();!s.done;s=a.next()){var l=s.value;try{var u=new f(l.name);try{for(var c=(n=void 0,__values(l.columns)),p=c.next();!p.done;p=c.next()){var h=p.value;null==u.columns.getByName(h.name)&&u.columns.add(new g(h.name,h.type))}}catch(t){n={error:t}}finally{try{p&&!p.done&&(i=c.return)&&i.call(c)}finally{if(n)throw n.error}}d.isNullOrWhiteSpace(l.query)||(u.extendedProperties["Query"]=l.query),o.push(u)}catch(t){m.System.StiError.showError(t,!1)}}}catch(t){e={error:t}}finally{try{s&&!s.done&&(r=a.return)&&r.call(a)}finally{if(e)throw e.error}}return o},i.prototype.createDataSource=function(t,e){return null},i.prototype.getConnectionStringHelper=function(){return null},i.prototype.createConnector=function(t){return void 0===t&&(t=null),null},i.prototype.getSampleConnectionString=function(){return""},n=i,h.StiNoSqlDatabase=n}(Stimulsoft=Stimulsoft||{}),function(t){var e,r,n,i,t,o;function a(t,e,r,n,i){return void 0===t&&(t=""),void 0===e&&(e=null),void 0===r&&(r=""),void 0===n&&(n=!1),void 0===i&&(i=null),o.call(this,t,e,r,n,i)||this}r=e=t.Report||(t.Report={}),i=n=r.Dictionary||(r.Dictionary={}),o=i.StiNoSqlDatabase,__extends(a,o),a.prototype.createNew=function(){return new a},Object.defineProperty(a.prototype,"componentId",{get:function(){return r.StiComponentId.StiMongoDbDatabase},enumerable:!1,configurable:!0}),a.prototype.getDataAdapterType=function(){return i.StiMongoDbAdapterService},a.prototype.createDataSource=function(t,e){return new i.StiMongoDbSource(t,e)},a.prototype.getSampleConnectionString=function(){return"mongodb://<user>:<password>@localhost/test"},t=a,i.StiMongoDbDatabase=t}(Stimulsoft=Stimulsoft||{}),function(t){var e,r,n,i,o,a,t,s;function l(t,e,r,n,i){return void 0===t&&(t=""),void 0===e&&(e=""),void 0===r&&(r=null),void 0===n&&(n=!1),void 0===i&&(i=null),s.call(this,t,e,r,n,i)||this}r=e=t.Report||(t.Report={}),i=n=r.Dictionary||(r.Dictionary={}),o=t.Base.StiDataWorldConnector,a=t.Base.StiDataWorldHelper,s=i.StiNoSqlDatabase,__extends(l,s),Object.defineProperty(l.prototype,"serviceName",{get:function(){return"Data.World"},enumerable:!1,configurable:!0}),Object.defineProperty(l.prototype,"connectionType",{get:function(){return i.StiConnectionType.OnlineServices},enumerable:!1,configurable:!0}),Object.defineProperty(l.prototype,"owner",{get:function(){return new a(this.connectionString).owner},enumerable:!1,configurable:!0}),Object.defineProperty(l.prototype,"token",{get:function(){return new a(this.connectionString).token},enumerable:!1,configurable:!0}),Object.defineProperty(l.prototype,"database",{get:function(){return new a(this.connectionString).database},enumerable:!1,configurable:!0}),l.prototype.createNew=function(){return new l},Object.defineProperty(l.prototype,"componentId",{get:function(){return r.StiComponentId.StiDataWorldDatabase},enumerable:!1,configurable:!0}),l.prototype.getSampleConnectionString=function(){return"Owner=<owner>;Database=<id>;Token=<token>"},l.prototype.createConnector=function(t){return void 0===t&&(t=null),o.get(t)},l.prototype.getDataAdapterType=function(){return i.StiDataWorldAdapterService},l.prototype.createDataSource=function(t,e){return new i.StiDataWorldSource(t,e)},t=l,i.StiDataWorldDatabase=t}(Stimulsoft=Stimulsoft||{}),function(l){var t,m,e,d,g,f,u,c,r,i,n,a;function o(t,e,r,n,i){void 0===t&&(t=""),void 0===e&&(e=""),void 0===r&&(r=""),void 0===n&&(n=!1),void 0===i&&(i=null);var i=a.call(this,t,e,i)||this;return i._promptUserNameAndPassword=!1,i._connectionString=r,i._promptUserNameAndPassword=n,i}m=t=l.Report||(l.Report={}),d=e=m.Dictionary||(m.Dictionary={}),g=l.System.StiString,f=l.System.Text.StringBuilder,u=l.System.Data.DataColumn,c=l.System.Data.DataTable,r=l.Base.StiEncryption,i=l.System.StiPromise,a=d.StiDatabase,__extends(o,a),o.prototype.createNew=function(){return new o},Object.defineProperty(o.prototype,"serviceName",{get:function(){return"MS SQL"},enumerable:!1,configurable:!0}),Object.defineProperty(o.prototype,"componentId",{get:function(){return m.StiComponentId.StiSqlDatabase},enumerable:!1,configurable:!0}),o.prototype.saveToJsonObject=function(t){var t=a.prototype.saveToJsonObject.call(this,t);return t.addPropertyStringNullOrEmpty("ConnectionStringEncrypted",this.connectionStringEncrypted),t.addPropertyBool("PromptUserNameAndPassword",this.promptUserNameAndPassword),t},o.prototype.loadFromJsonObject=function(t){var e,r;a.prototype.loadFromJsonObject.call(this,t);try{for(var n=__values(t.properties()),i=n.next();!i.done;i=n.next()){var o=i.value;switch(o.name){case"ConnectionString":this.connectionString=o.value.toString();break;case"ConnectionStringEncrypted":this.connectionStringEncrypted=o.value.toString();break;case"PromptUserNameAndPassword":this._promptUserNameAndPassword=o.value.stimulsoft.toBoolean();break}}}catch(t){e={error:t}}finally{try{i&&!i.done&&(r=n.return)&&r.call(n)}finally{if(e)throw e.error}}},o.prototype.loadFromXml=function(t){a.prototype.loadFromXml.call(this,t);for(var e=0;e<t.childNodes.length;e++){var r=t.childNodes[e];switch(r.nodeName){case"ConnectionString":this.connectionString=r.textContent;break;case"ConnectionStringEncrypted":this.connectionStringEncrypted=r.textContent;break;case"PromptUserNameAndPassword":this._promptUserNameAndPassword=r.textContent.stimulsoft.toBoolean();break}}},Object.defineProperty(o.prototype,"dataAdapterType",{get:function(){return this.getDataAdapterType().stimulsoft.getTypeName()},enumerable:!1,configurable:!0}),Object.defineProperty(o.prototype,"connectionType",{get:function(){return d.StiConnectionType.Sql},enumerable:!1,configurable:!0}),Object.defineProperty(o.prototype,"connectionString",{get:function(){return this._connectionString},set:function(t){this._connectionString=t},enumerable:!1,configurable:!0}),Object.defineProperty(o.prototype,"connectionStringEncrypted",{get:function(){return r.encryptS(this._connectionString,o.encryptedId)},set:function(t){this._connectionString=r.decryptS(t,o.encryptedId)},enumerable:!1,configurable:!0}),Object.defineProperty(o.prototype,"promptUserNameAndPassword",{get:function(){return this._promptUserNameAndPassword},set:function(t){this._promptUserNameAndPassword=t},enumerable:!1,configurable:!0}),o.prototype.createDataSource=function(t,e){return new d.StiSqlSource(t,e)},o.prototype.getDataAdapter=function(){var e=this.dataAdapterType,t=StiOptions.Services.dataAdapters.firstOrDefault(function(t){return t.stimulsoft.getType().stimulsoft.getTypeName()==e});if(null!=t)return t;throw g.format("Data adapter for the {0} database is not found!",this)},o.prototype.getDataAdapterType=function(){return d.StiSqlAdapterService},o.prototype.regData=function(t,e){var r=this.getDataAdapter();if(null==r)throw new Error("Database "+this.stimulsoft.getType()+" not found");r.createConnectionInDataStore(t,this)},o.prototype.applyDatabaseInformation=function(t,e,r){void 0===r&&(r=null),this.applyDatabaseInformationTables(t,e,r),this.applyDatabaseInformationViews(t,e,r),this.applyDatabaseInformationProcedures(t,e,r)},o.prototype.applyDatabaseInformationTables=function(t,e,r){var n,i;try{for(var o=__values(t.tables),a=o.next();!a.done;a=o.next()){var s=a.value;this.applyDatabaseInformationSource(t,e,r,s)}}catch(t){n={error:t}}finally{try{a&&!a.done&&(i=o.return)&&i.call(o)}finally{if(n)throw n.error}}},o.prototype.applyDatabaseInformationViews=function(t,e,r){var n,i;try{for(var o=__values(t.views),a=o.next();!a.done;a=o.next()){var s=a.value;this.applyDatabaseInformationSource(t,e,r,s)}}catch(t){n={error:t}}finally{try{a&&!a.done&&(i=o.return)&&i.call(o)}finally{if(n)throw n.error}}},o.prototype.applyDatabaseInformationProcedures=function(t,e,r){var n,i;try{for(var o=__values(t.storedProcedures),a=o.next();!a.done;a=o.next()){var s=a.value;this.applyDatabaseInformationSource(t,e,r,s,d.StiSqlSourceType.StoredProcedure)}}catch(t){n={error:t}}finally{try{a&&!a.done&&(i=o.return)&&i.call(o)}finally{if(n)throw n.error}}},o.prototype.applyDatabaseInformationSource=function(t,e,r,n,i){var o,a;void 0===i&&(i=d.StiSqlSourceType.Table);var s=this.createDataSource(this.name,m.StiNameCreation.createName(e,n.tableName,!1,!1,!0)),l=s.getDataAdapter();s.sqlCommand=null!=n.extendedProperties["Query"]?s.sqlCommand=n.extendedProperties["Query"]:g.format("select * from {0}",null!=l?l.getDatabaseSpecificName(n.tableName):n.tableName);var u=new f;try{for(var c=__values(n.columns.list),p=c.next();!p.done;p=c.next()){var h=p.value,u=0==u.length?u.append(h.columnName):u.appendFormat(", {0}",h.columnName);s.columns.add(new d.StiDataColumn(h.columnName,h.columnName,h.columnName,h.dataType))}}catch(t){o={error:t}}finally{try{p&&!p.done&&(a=c.return)&&a.call(c)}finally{if(o)throw o.error}}s.type=i;var r=null!=r?r.tables.firstOrDefault(function(t){return t.tableName==n.tableName}):null;null!=r&&n.columns.count!=r.columns.count&&s.sqlCommand.stimulsoft.contains("*")&&0<u.length&&(s.sqlCommand=s.sqlCommand.stimulsoft.replaceAll("*",u.toString())),e.dictionary.dataSources.add(s)},o.prototype.getDatabaseInformationAsync=function(t){var e=new i,r=new d.StiDatabaseInformation,n;return this.getDataAdapter().retrieveSchemaAsync(t.report,null,this.connectionString).try(function(t){r.tables.addRange(o.getDatabaseInformationTables(t)),r.views.addRange(o.getDatabaseInformationViews(t)),r.storedProcedures.addRange(o.getDatabaseInformationProcedures(t))}).catch(function(t){l.System.StiError.showError(t)}).finally(function(){e.callTry(r)}).abort(e),e},o.getDatabaseInformationTables=function(t){var e,r,n=[],i=function(t){try{var e=new c(t.name);t.columns.forEach(function(t){null==e.columns.getByName(t.name)&&e.columns.add(new u(t.name,t.type))}),g.isNullOrWhiteSpace(t.query)||(e.extendedProperties["Query"]=t.query),n.push(e)}catch(t){throw l.System.StiError.showError(t,!1),t}};try{for(var o=__values(t.tables),a=o.next(),s;!a.done;a=o.next()){i(a.value)}}catch(t){e={error:t}}finally{try{a&&!a.done&&(r=o.return)&&r.call(o)}finally{if(e)throw e.error}}return n},o.getDatabaseInformationViews=function(t){var e,r,n=[],i=function(t){try{var e=new c(t.name);t.columns.forEach(function(t){null==e.columns.getByName(t.name)&&e.columns.add(new u(t.name,t.type))}),g.isNullOrWhiteSpace(t.query)||(e.extendedProperties["Query"]=t.query),n.push(e)}catch(t){throw l.System.StiError.showError(t,!1),t}};try{for(var o=__values(t.views),a=o.next(),s;!a.done;a=o.next()){i(a.value)}}catch(t){e={error:t}}finally{try{a&&!a.done&&(r=o.return)&&r.call(o)}finally{if(e)throw e.error}}return n},o.getDatabaseInformationProcedures=function(t){var e,r,n=[],i=function(t){try{var e=new c(t.name);t.columns.forEach(function(t){var t;null==e.columns.getByName(t.name)&&((t=new u(t.name,t.type)).caption="Columns",e.columns.add(t))}),t.parameters.forEach(function(t){var t;null==e.columns.getByName(t.name)&&((t=new u(t.name,t.type)).caption="Parameters",e.columns.add(t))}),g.isNullOrWhiteSpace(t.query)||(e.extendedProperties["Query"]=t.query),n.push(e)}catch(t){throw l.System.StiError.showError(t,!1),t}};try{for(var o=__values(t.storedProcedures),a=o.next(),s;!a.done;a=o.next()){i(a.value)}}catch(t){e={error:t}}finally{try{a&&!a.done&&(r=o.return)&&r.call(o)}finally{if(e)throw e.error}}return n},o.prototype.getSampleConnectionString=function(){return"Integrated Security=False; Data Source=myServerAddress;"+"\r\n"+"Initial Catalog=myDataBase; User ID=myUsername; Password=myPassword;"},o.encryptedId="8pTP5X15uKADcSw7",n=o,d.StiSqlDatabase=n}(Stimulsoft=Stimulsoft||{}),function(t){var e,r,n,i,o,t,a;function s(t,e,r,n,i){return void 0===t&&(t=""),void 0===e&&(e=""),void 0===r&&(r=""),void 0===n&&(n=!1),void 0===i&&(i=null),a.call(this,t,e,r,n,i)||this}r=e=t.Report||(t.Report={}),i=n=r.Dictionary||(r.Dictionary={}),o=t.Report.Dictionary.StiQuickBooksSource,t=t.Report.Dictionary.StiSqlDatabase,__extends(s,a=t),Object.defineProperty(s.prototype,"serviceName",{get:function(){return"Quickbooks"},enumerable:!1,configurable:!0}),Object.defineProperty(s.prototype,"connectionType",{get:function(){return i.StiConnectionType.OnlineServices},enumerable:!1,configurable:!0}),s.prototype.createNew=function(){return new s},Object.defineProperty(s.prototype,"componentId",{get:function(){return r.StiComponentId.StiQuickBooksDatabase},enumerable:!1,configurable:!0}),s.prototype.getDataAdapterType=function(){return i.StiQuickBooksAdapterService},s.prototype.createDataSource=function(t,e){return new o(t,e)},s.prototype.regData=function(t,e){var r=this.getDataAdapter();if(null==r)throw new Error("Database not found");r.createConnectionInDataStore(t,this)},t=s,i.StiQuickBooksDatabase=t}(Stimulsoft=Stimulsoft||{}),function(t){var e,r,n,i,o,t,a;function s(t,e,r,n,i){return void 0===t&&(t=""),void 0===e&&(e=""),void 0===r&&(r=null),void 0===n&&(n=!1),void 0===i&&(i=null),a.call(this,t,e,r,n,i)||this}r=e=t.Report||(t.Report={}),i=n=r.Dictionary||(r.Dictionary={}),o=t.System.StiString,a=i.StiSqlDatabase,__extends(s,a),s.prototype.createNew=function(){return new s},Object.defineProperty(s.prototype,"serviceName",{get:function(){return"OData"},enumerable:!1,configurable:!0}),Object.defineProperty(s.prototype,"componentId",{get:function(){return r.StiComponentId.StiODataDatabase},enumerable:!1,configurable:!0}),s.prototype.createDataSource=function(t,e){return new i.StiODataSource(t,e)},s.prototype.getDataAdapterType=function(){return i.StiODataAdapterService},s.prototype.getConnectionStringHelper=function(){return"StiODataConnectionHelper"},s.prototype.mapUserNameAndPassword=function(t,e){return o.format("UserName = {0}; Password = {1}",t,e)},Object.defineProperty(s.prototype,"connectionType",{get:function(){return i.StiConnectionType.Rest},enumerable:!1,configurable:!0}),s.prototype.getSampleConnectionString=function(){return"https://services.odata.org/v3/odata/OData.svc/"},t=s,i.StiODataDatabase=t}(Stimulsoft=Stimulsoft||{}),function(t){var e,r,n,i,t,o;function a(t,e,r,n,i){return void 0===t&&(t=""),void 0===e&&(e=""),void 0===r&&(r=null),void 0===n&&(n=!1),void 0===i&&(i=null),o.call(this,t,e,r,n,i)||this}r=e=t.Report||(t.Report={}),i=n=r.Dictionary||(r.Dictionary={}),o=i.StiSqlDatabase,__extends(a,o),Object.defineProperty(a.prototype,"componentId",{get:function(){return r.StiComponentId.StiFirebirdDatabase},enumerable:!1,configurable:!0}),Object.defineProperty(a.prototype,"serviceName",{get:function(){return"Firebird"},enumerable:!1,configurable:!0}),a.prototype.createNew=function(){return new a},a.prototype.createDataSource=function(t,e){return new i.StiFirebirdSource(t,e)},a.prototype.getDataAdapterType=function(){return i.StiFirebirdAdapterService},a.prototype.getSampleConnectionString=function(){return"User=SYSDBA; Password=masterkey; Database=SampleDatabase.fdb;"+"\r\n"+"DataSource=myServerAddress; Port=3050; Dialect=3; Charset=NONE;"+"\r\n"+"Role=; Connection lifetime=15; Pooling=true; MinPoolSize=0;"+"\r\n"+"MaxPoolSize=50; Packet Size=8192; ServerType=0;"},t=a,i.StiFirebirdDatabase=t}(Stimulsoft=Stimulsoft||{}),function(t){var e,r,n,i,t,o;function a(t,e,r,n,i){return void 0===t&&(t=""),void 0===e&&(e=""),void 0===r&&(r=null),void 0===n&&(n=!1),void 0===i&&(i=null),o.call(this,t,e,r,n,i)||this}r=e=t.Report||(t.Report={}),i=n=r.Dictionary||(r.Dictionary={}),o=i.StiSqlDatabase,__extends(a,o),Object.defineProperty(a.prototype,"componentId",{get:function(){return r.StiComponentId.StiMySqlDatabase},enumerable:!1,configurable:!0}),a.prototype.createNew=function(){return new a},Object.defineProperty(a.prototype,"serviceName",{get:function(){return"MySQL"},enumerable:!1,configurable:!0}),a.prototype.createDataSource=function(t,e){return new i.StiMySqlSource(t,e)},a.prototype.getDataAdapterType=function(){return i.StiMySqlAdapterService},a.prototype.getSampleConnectionString=function(){return"Server=myServerAddress; Database=myDataBase;"+"\r\n"+"UserId=myUsername; Pwd=myPassword;"},t=a,i.StiMySqlDatabase=t}(Stimulsoft=Stimulsoft||{}),function(t){var e,r,n,i,t,o;function a(t,e,r,n,i){return void 0===t&&(t=""),void 0===e&&(e=""),void 0===r&&(r=null),void 0===n&&(n=!1),void 0===i&&(i=null),o.call(this,t,e,r,n,i)||this}r=e=t.Report||(t.Report={}),i=n=r.Dictionary||(r.Dictionary={}),o=i.StiSqlDatabase,__extends(a,o),Object.defineProperty(a.prototype,"componentId",{get:function(){return r.StiComponentId.StiOracleDatabase},enumerable:!1,configurable:!0}),Object.defineProperty(a.prototype,"serviceName",{get:function(){return"Oracle"},enumerable:!1,configurable:!0}),a.prototype.createNew=function(){return new a},a.prototype.createDataSource=function(t,e){return new i.StiOracleSource(t,e)},a.prototype.getDataAdapterType=function(){return i.StiOracleAdapterService},a.prototype.getSampleConnectionString=function(){return"Data Source=TORCL;User Id=myUsername;Password=myPassword;"},t=a,i.StiOracleDatabase=t}(Stimulsoft=Stimulsoft||{}),function(t){var e,r,n,i,t,o;function a(t,e,r,n,i){return void 0===t&&(t=""),void 0===e&&(e=""),void 0===r&&(r=null),void 0===n&&(n=!1),void 0===i&&(i=null),o.call(this,t,e,r,n,i)||this}r=e=t.Report||(t.Report={}),i=n=r.Dictionary||(r.Dictionary={}),o=i.StiSqlDatabase,__extends(a,o),Object.defineProperty(a.prototype,"componentId",{get:function(){return r.StiComponentId.StiPostgreSQLDatabase},enumerable:!1,configurable:!0}),Object.defineProperty(a.prototype,"serviceName",{get:function(){return"PostgreSQL"},enumerable:!1,configurable:!0}),a.prototype.createNew=function(){return new a},a.prototype.createDataSource=function(t,e){return new i.StiPostgreSQLSource(t,e)},a.prototype.getDataAdapterType=function(){return i.StiPostgreSQLAdapterService},a.prototype.getSampleConnectionString=function(){return"Server=myServerAddress; Port=5432; Database=myDataBase;"+"\r\n"+"User Id=myUsername; Password=myPassword;"},t=a,i.StiPostgreSQLDatabase=t}(Stimulsoft=Stimulsoft||{}),function(t){var e,r,n,o,i,a;function s(t,e,r){void 0===t&&(t=""),void 0===e&&(e=""),void 0===r&&(r="");var r=a.call(this,t,e,r)||this;return r._serviceName="Custom",r._sampleConnectionString="Sample ConnectionString",r}r=e=t.Report||(t.Report={}),o=n=r.Dictionary||(r.Dictionary={}),i=t.System.StiString,a=o.StiSqlDatabase,__extends(s,a),s.prototype.saveToJsonObject=function(t){var t=a.prototype.saveToJsonObject.call(this,t);return t.addPropertyString("ServiceName",this.serviceName,"Custom"),t},s.prototype.loadFromJsonObject=function(t){var e,r;a.prototype.loadFromJsonObject.call(this,t);try{for(var n=__values(t.properties()),i=n.next();!i.done;i=n.next()){var o=i.value;switch(o.name){case"ServiceName":this._serviceName=o.value.toString();break}}}catch(t){e={error:t}}finally{try{i&&!i.done&&(r=n.return)&&r.call(n)}finally{if(e)throw e.error}}},s.registerCustomDatabase=function(t){var e=new s;e._serviceName=t.serviceName,"sampleConnectionString"in t&&(e._sampleConnectionString=t.sampleConnectionString),StiOptions.Services.databases.add(e),e.dataAdapter=o.StiCustomAdapterService.registerCustomAdapterService({name:t.serviceName,process:t.process}),o.StiCustomSource.registerCustomSource()},s.prototype.createNew=function(){return new s},Object.defineProperty(s.prototype,"serviceName",{get:function(){return this._serviceName},enumerable:!1,configurable:!0}),s.prototype.createDataSource=function(t,e){return new o.StiCustomSource(t,e)},s.prototype.getDataAdapter=function(){if(null==this.dataAdapter&&(this.dataAdapter=StiOptions.Services.dataAdapters.firstOrDefault(function(t){return t.is(o.StiCustomAdapterService)})),this.dataAdapter)return this.dataAdapter;throw i.format("Data adapter for the {0} database is not found!",this)},s.prototype.getDataAdapterType=function(){return o.StiCustomAdapterService},s.prototype.applyDatabaseInformationSource=function(t,e,r,n,i){void 0===i&&(i=o.StiSqlSourceType.Table),n.extendedProperties["Query"]=n.tableName,a.prototype.applyDatabaseInformationSource.call(this,t,e,r,n,i)},s.prototype.getSampleConnectionString=function(){return this._sampleConnectionString},r=s,o.StiCustomDatabase=r}(Stimulsoft=Stimulsoft||{}),function(c){var t,e,r,n,i,o,l,a;function s(t){var e=a.call(this)||this;return e.dictionary=t,e}e=t=c.Report||(c.Report={}),n=r=e.Dictionary||(e.Dictionary={}),e=c.System.Collections.CollectionBase,i=c.System.ICloneable,o=c.Base.JsonReportObject.IStiJsonReportObject,l=c.Base.StiJson,__extends(s,a=e),s.prototype.implements=function(){return[i,o]},s.prototype.saveToJsonObject=function(t){var e,r;if(0==this.list.length)return null;var n=new l,i=0;try{for(var o=__values(this.list),a=o.next();!a.done;a=o.next()){var s=a.value;n.addPropertyJObject(i.toString(),s.saveToJsonObject(t)),i++}}catch(t){e={error:t}}finally{try{a&&!a.done&&(r=o.return)&&r.call(o)}finally{if(e)throw e.error}}return n},s.prototype.loadFromJsonObject=function(t){var e,r,n=function(t){var e,r=t.value.properties().firstOrDefault(function(t){return"Ident"==t.name}).value,n=StiOptions.Services.databases.firstOrDefault(function(t){return t.stimulsoft.getType().stimulsoft.getTypeName()==r}),n;null!=n&&((n=n.createNew()).loadFromJsonObject(t.value),i.list.push(n))},i=this;try{for(var o=__values(t.properties()),a=o.next(),s;!a.done;a=o.next()){n(a.value)}}catch(t){e={error:t}}finally{try{a&&!a.done&&(r=o.return)&&r.call(o)}finally{if(e)throw e.error}}},s.prototype.loadFromXml=function(t){for(var e=0;e<t.childNodes.length;e++){var r=t.childNodes[e],n;if(null==r.attributes)continue;if(null!=r.attributes.getNamedItem("type"))switch(r.attributes.getNamedItem("type").value){case"Stimulsoft.Report.Dictionary.StiXmlDatabase":var i=new c.Report.Dictionary.StiXmlDatabase;i.loadFromXml(r),this.list.push(i);break;case"Stimulsoft.Report.Dictionary.StiJsonDatabase":var i=new c.Report.Dictionary.StiJsonDatabase;i.loadFromXml(r),this.list.push(i);break;case"Stimulsoft.Report.Dictionary.StiSqlDatabase":var o=new c.Report.Dictionary.StiSqlDatabase;o.loadFromXml(r),this.list.push(o);break;case"Stimulsoft.Report.Dictionary.StiMySqlDatabase":var o=new c.Report.Dictionary.StiMySqlDatabase;o.loadFromXml(r),this.list.push(o);break;case"Stimulsoft.Report.Dictionary.StiExcelDatabase":var a=new c.Report.Dictionary.StiExcelDatabase;a.loadFromXml(r),this.list.push(a);break;case"Stimulsoft.Report.Dictionary.StiCsvDatabase":var a=new c.Report.Dictionary.StiCsvDatabase;a.loadFromXml(r),this.list.push(a);break;case"Stimulsoft.Report.Dictionary.StiODataDatabase":var s=new c.Report.Dictionary.StiODataDatabase;s.loadFromXml(r),this.list.push(s);break;case"Stimulsoft.Report.Dictionary.StiPostgreSQLDatabase":var s=new c.Report.Dictionary.StiPostgreSQLDatabase;s.loadFromXml(r),this.list.push(s);break;case"Stimulsoft.Report.Dictionary.StiOracleDatabase":var l=new c.Report.Dictionary.StiOracleDatabase;l.loadFromXml(r),this.list.push(l);break;case"Stimulsoft.Report.Dictionary.StiDataWorldDatabase":var l=new c.Report.Dictionary.StiDataWorldDatabase;l.loadFromXml(r),this.list.push(l);break;case"Stimulsoft.Report.Dictionary.StiFirebirdDatabase":var u=new c.Report.Dictionary.StiFirebirdDatabase;u.loadFromXml(r),this.list.push(u);break;default:var u=new c.Report.Dictionary.StiUndefinedDatabase;u.loadFromXml(r),this.list.push(u);break}}},s.prototype.indexOf=function(t){var e,r;if("string"!=typeof t)return this.list.indexOf(t);var n=0;try{for(var i=__values(this.list),o=i.next(),a;!o.done;o=i.next()){if(t==o.value.name)return n;n++}}catch(t){e={error:t}}finally{try{o&&!o.done&&(r=i.return)&&r.call(i)}finally{if(e)throw e.error}}return-1},s.prototype.remove=function(t){if("string"!=typeof t)this.list.stimulsoft.remove(t);else{var e=this.indexOf(t);if(-1==e)throw new Error("Database '"+t+"' is not found");this.list.splice(e,1)}},s.prototype.getByName=function(t){var e,r;t=t.toLowerCase();try{for(var n=__values(this.list),i=n.next();!i.done;i=n.next()){var o=i.value;if(o.name.toLowerCase()==t)return o}}catch(t){e={error:t}}finally{try{i&&!i.done&&(r=n.return)&&r.call(n)}finally{if(e)throw e.error}}return null},s.prototype.setByName=function(t,e){t=t.toLowerCase();for(var r=0,n;r<this.list.length;r++){if(this.getByIndex(r).name.toLowerCase()==t)return void(this.list[r]=e)}this.add(e)},s.prototype.clone=function(){return this.stimulsoft.memberwiseClone()},s.prototype.memberwiseClone=function(){var t;return new(this.stimulsoft.getType())},e=s,n.StiDatabaseCollection=e}(Stimulsoft=Stimulsoft||{}),function(t){var e,r,n,t,o;function i(t,e,r,n,i){return void 0===t&&(t=""),void 0===e&&(e=""),void 0===r&&(r=""),void 0===n&&(n=!1),void 0===i&&(i=""),o.call(this,t,e,i)||this}r=e=t.Report||(t.Report={}),t=n=r.Dictionary||(r.Dictionary={}),o=t.StiDatabase,__extends(i,o),r=i,t.StiUndefinedDatabase=r}(Stimulsoft=Stimulsoft||{}),function(t){var e,t,r,n;t=e=t.Report||(t.Report={}),t=r=t.Dictionary||(t.Dictionary={}),(t=n=t.StiConnectionType||(t.StiConnectionType={}))[t["Sql"]=0]="Sql",t[t["NoSql"]=1]="NoSql",t[t["Other"]=2]="Other",t[t["Rest"]=3]="Rest",t[t["Custom"]=4]="Custom",t[t["OnlineServices"]=5]="OnlineServices"}(Stimulsoft=Stimulsoft||{}),function(r){var t,m,e,n,c,i,d,o;function a(t,e,r,n,i,o,a,s,l,u){void 0===a&&(a=""),void 0===s&&(s=null),void 0===l&&(l=null),void 0===u&&(u=null),this.key=c.generateKey(),this._useFullPath=!0,this._category="",this._groupFunctionName="",this._functionName="",this._description="",this._typeOfFunction=null,this._returnType=null,this._returnDescription="",this._argumentTypes=null,this._argumentNames=null,this._argumentDescriptions=null,this.category=t,this.description=n,this.returnDescription=a,this.groupFunctionName=e,this.functionName=r,this.typeOfFunction=i,this.returnType=o,this.argumentTypes=s,this.argumentNames=l,this.argumentDescriptions=u}m=t=r.Report||(r.Report={}),n=e=m.Dictionary||(m.Dictionary={}),c=r.Base.StiKeyHelper,i=r.System.IComparable,d=r.System.Text.StringBuilder,a.prototype.implements=function(){return[i]},a.prototype.is=function(t){if(t instanceof r.System.Interface)return-1!=this.implements().indexOf(t);if("function"==typeof t)return this instanceof t;if(null==t)throw new Error("Type for comparison is 'undefined'");return!1},a.prototype.is2=function(t){return this.is(t)},a.prototype.as=function(t){if(this.is(t))return this;return null},a.prototype.compareTo=function(t){var t=t.stimulsoft.as(a);return this.functionName.stimulsoft.compareTo(t.functionName)},a.prototype.getKey=function(){return this.key},a.prototype.setKey=function(t){this.key=t},a.prototype.getName=function(){return this.functionName},a.prototype.invoke=function(t){var e;return null===(e=this.jsFunction)||void 0===e?void 0:e.apply(null,t)},Object.defineProperty(a.prototype,"useFullPath",{get:function(){return this._useFullPath},set:function(t){this._useFullPath=t},enumerable:!1,configurable:!0}),Object.defineProperty(a.prototype,"category",{get:function(){return this._category},set:function(t){this._category=t},enumerable:!1,configurable:!0}),Object.defineProperty(a.prototype,"groupFunctionName",{get:function(){return this._groupFunctionName},set:function(t){this._groupFunctionName=t},enumerable:!1,configurable:!0}),Object.defineProperty(a.prototype,"functionName",{get:function(){return this._functionName},set:function(t){this._functionName=t},enumerable:!1,configurable:!0}),Object.defineProperty(a.prototype,"description",{get:function(){return this._description},set:function(t){this._description=t},enumerable:!1,configurable:!0}),Object.defineProperty(a.prototype,"typeOfFunction",{get:function(){return this._typeOfFunction},set:function(t){this._typeOfFunction=t},enumerable:!1,configurable:!0}),Object.defineProperty(a.prototype,"returnType",{get:function(){return this._returnType},set:function(t){this._returnType=t},enumerable:!1,configurable:!0}),Object.defineProperty(a.prototype,"returnDescription",{get:function(){return this._returnDescription},set:function(t){this._returnDescription=t},enumerable:!1,configurable:!0}),Object.defineProperty(a.prototype,"argumentTypes",{get:function(){return this._argumentTypes},set:function(t){this._argumentTypes=t},enumerable:!1,configurable:!0}),Object.defineProperty(a.prototype,"argumentNames",{get:function(){return this._argumentNames},set:function(t){this._argumentNames=t},enumerable:!1,configurable:!0}),Object.defineProperty(a.prototype,"argumentDescriptions",{get:function(){return this._argumentDescriptions},set:function(t){this._argumentDescriptions=t},enumerable:!1,configurable:!0}),a.prototype.toString=function(){return this.functionName},a.prototype.getLongFunctionString=function(t){var e,r,n,i,o,o;if(t==m.StiReportLanguageType.CSharp){(o=new d).append(this.convertTypeToString(this.returnType,t)),o.append(" "),o.append(this.functionName),o.append(" (");var a=0;if(null!=this.argumentTypes)try{for(var s=__values(this.argumentTypes),l=s.next();!l.done;l=s.next()){var u=l.value,c=this.argumentNames[a];u.stimulsoft.is(Array)||(o.append(this.convertTypeToString(u,t)),o.append(" ")),o.append(c),++a!=this.argumentTypes.length&&o.append(", ")}}catch(t){e={error:t}}finally{try{l&&!l.done&&(r=s.return)&&r.call(s)}finally{if(e)throw e.error}}return o.append(")"),o.toString()}(o=new d).append(this.functionName),o.append("(");var a=0;if(null!=this.argumentTypes)try{for(var p=__values(this.argumentTypes),h=p.next();!h.done;h=p.next()){var u=h.value,c=this.argumentNames[a];o.append(c),o.append(" As "),o.append(this.convertTypeToString(u,t)),++a!=this.argumentTypes.length&&o.append(", ")}}catch(t){n={error:t}}finally{try{h&&!h.done&&(i=p.return)&&i.call(p)}finally{if(n)throw n.error}}return o.append(")"),"void"!=this.returnType.toString()&&o.append(" As "+this.convertTypeToString(this.returnType,t)),o.toString()},a.prototype.getFunctionString=function(t,e){var r,n;void 0===e&&(e=!0);var i=new d;e&&i.append(this.functionName),i.append(" (");var o=0;if(null!=this.argumentTypes)try{for(var a=__values(this.argumentTypes),s=a.next();!s.done;s=a.next()){var l=s.value,u=this.argumentNames[o];l.stimulsoft.is(Array)?i.append(u):i.append(this.convertTypeToString(l,t)),++o!=this.argumentTypes.length&&i.append(", ")}}catch(t){r={error:t}}finally{try{s&&!s.done&&(n=a.return)&&n.call(a)}finally{if(r)throw r.error}}return i.append(")"),"void"!=this.returnType.toString()&&i.append(" : "+this.convertTypeToString(this.returnType,t)),i.toString()},a.prototype.convertTypeToString=function(t,e){if(t==r.System.Int32)return"int";if(t==r.System.UInt32)return"uint";if(t==r.System.Int64)return"long";if(t==r.System.UInt64)return"ulong";if(t==String)return"string";if(t==Boolean)return"bool";if(t==r.System.Byte)return"byte";if(t==r.System.SByte)return"sbyte";if(t==r.System.Int16)return"short";if(t==r.System.UInt16)return"ushort";if(t==r.System.Char)return"char";if(t==r.System.Double)return"double";if(t==r.System.Single)return"float";if(t==r.System.Decimal)return"decimal";if(t==r.System.DateTime)return"DateTime";if(t==r.System.TimeSpan)return"TimeSpan";if(t==r.System.Guid)return"Guid";if(t==r.System.NullableByte)return"byte?";if(t==r.System.NullableSByte)return"sbyte?";if(t==r.System.NullableBoolean)return"bool?";if(t==r.System.NullableByte)return"char?";if(t==r.System.NullableInt16)return"short?";if(t==r.System.NullableUInt16)return"ushort?";if(t==r.System.NullableInt32)return"int?";if(t==r.System.NullableUInt32)return"uint?";if(t==r.System.NullableInt64)return"long?";if(t==r.System.NullableUInt64)return"ulong?";if(t==r.System.NullableDouble)return"double?";if(t==r.System.NullableSingle)return"float?";if(t==r.System.NullableDecimal)return"decimal?";if(t==r.System.NullableDateTime)return"DateTime?";if(t==r.System.NullableTimeSpan)return"TimeSpan?";if(t==r.System.NullableGuid)return"Guid?";if(t==Object)return"object";return t.stimulsoft.getType().stimulsoft.getTypeName()},o=a,n.StiFunction=o}(Stimulsoft=Stimulsoft||{}),function(t){var e,r,n,i;function o(){}r=e=t.Report||(t.Report={}),i=n=r.Dictionary||(r.Dictionary={}),o.create=function(){0==o.isCreated&&(i.StiFunctions.addFunction("Math","","Abs","Returns the absolute value of an integer.","System.Math",t.System.Int64,"An integer.",[t.System.Int64],["value"],["integer."]),i.StiFunctions.addFunction("Math","","Abs","Returns the absolute value of a decimal number.","System.Math",t.System.Decimal,"A decimal number.",[t.System.Decimal],["value"],["A decimal number."]),i.StiFunctions.addFunction("Math","","Abs","Returns the absolute value of a floating-point number.","System.Math",t.System.Double,"A floating-point number.",[t.System.Double],["value"],["A floating-point number."]),i.StiFunctions.addFunction("Math","","Div","Returns result of dividing a value1 and a value2. If the value2 is zero, then the result is 0.","Stimulsoft.Report.Dictionary.StiFunctionsMath",t.System.Int64,"Result of checking.",[t.System.Int64,t.System.Int64],["value1","value2"],["Divisible","Divisor"]),i.StiFunctions.addFunction("Math","","Div","Returns the result of dividing a value1 and a value2. If the value2 is zero, then the result is zeroResult (third argument).","Stimulsoft.Report.Dictionary.StiFunctionsMath",t.System.Int64,"The result of checking.",[t.System.Int64,t.System.Int64,t.System.Int64],["value1","value2","zeroResult"],["Divisible","Divisor"]),i.StiFunctions.addFunction("Math","","Div","Returns the result of dividing a value1 and a value2. If the value2 is zero, then the result is equal to 0.","Stimulsoft.Report.Dictionary.StiFunctionsMath",t.System.Double,"Result of checking.",[t.System.Double,t.System.Double],["value1","value2"],["Divisible","Divisor"]),i.StiFunctions.addFunction("Math","","Div","Returns the result of dividing a value1 and a value2. If the value2 is zero, then the result is zeroResult (third argument).","Stimulsoft.Report.Dictionary.StiFunctionsMath",t.System.Double,"Result of checking.",[t.System.Double,t.System.Double,t.System.Double],["value1","value2","zeroResult"],["Divisible","Divisor","A value for zero result."]),i.StiFunctions.addFunction("Math","","Div","Returns the result of dividing a value1 and a value2. If the value2 is zero, then the result is 0.","Stimulsoft.Report.Dictionary.StiFunctionsMath",t.System.Decimal,"Result of checking.",[t.System.Decimal,t.System.Decimal],["value1","value2"],["Divisible","Divisor"]),i.StiFunctions.addFunction("Math","","Div","Returns result of dividing value1 and value2. If value2 is zero, then result is zeroResult (third argument).","Stimulsoft.Report.Dictionary.StiFunctionsMath",t.System.Decimal,"Result of checking.",[t.System.Decimal,t.System.Decimal,t.System.Decimal],["value1","value2","zeroResult"],["Divisible","Divisor","A value for zero result."]),i.StiFunctions.addFunction("Math","","Sign","Returns a value indicating the sign of an integer.","System.Math",t.System.Int64,"A number indicating the sign of a value. -1 value is less than zero. 0 value is equal to zero. 1 value is greater than zero. ",[t.System.Int64],["value"],["integer."]),i.StiFunctions.addFunction("Math","","Sign","Returns a value indicating the sign of a decimal number.","System.Math",t.System.Int64,"A number indicating the sign of a value. -1 value is less than zero. 0 value is equal to zero. 1 value is greater than zero. ",[t.System.Decimal],["value"],["A decimal number."]),i.StiFunctions.addFunction("Math","","Sign","Returns a value indicating the sign of a floating-point number.","System.Math",t.System.Int64,"A number indicating the sign of a value. -1 value is less than zero. 0 value is equal to zero. 1 value is greater than zero. ",[t.System.Double],["value"],["A floating-point number."]),i.StiFunctions.addFunction("Math","","Round","Rounds a decimal value to the nearest integer.","System.Math",t.System.Decimal,"The nearest integer parameter value. If the value is halfway between two integers, one of which is even and the other is odd, then the even number is returned.",[t.System.Decimal],["value"],["A decimal number to be rounded."]),i.StiFunctions.addFunction("Math","","Round","Rounds a decimal value to the nearest integer.","System.Math",t.System.Decimal,"The number nearest to a value with a precision equal to decimals. If the value is halfway between two numbers, one of which is even and the other odd, then the even number is returned. If the precision of value is less than decimals, then value is returned unchanged.",[t.System.Decimal,t.System.Int32],["value","decimals"],["A decimal number to be rounded.","The number of significant decimal places (precision) in the return value."]),i.StiFunctions.addFunction("Math","","Round","Rounds a floating-point value to the nearest integer.","System.Math",t.System.Double,"The nearest integer parameter value. If the value is halfway between two integers, one of which is even and the other odd, then the even number is returned.",[t.System.Double],["value"],["A floating-point number to be rounded."]),i.StiFunctions.addFunction("Math","","Round","Rounds a floating-point value to the nearest integer.","System.Math",t.System.Double,"The number nearest value with a precision equal to decimals. If the value is halfway between two numbers, one of which is even and the other odd, then the even number is returned. If the precision of a value is less than decimals, then the value is returned unchanged.",[t.System.Double,t.System.Int32],["value","decimals"],["A floating-point number to be rounded.","The number of significant decimal places (precision) in the return value."]),i.StiFunctions.addFunction("Math","","Truncate","Calculates an integral part of the specified decimal number.","System.Math",t.System.Decimal,"The integral part of a value; that is, the number that remains after any fractional digits have been discarded.",[t.System.Decimal],["value"],["A number to truncate."]),i.StiFunctions.addFunction("Math","","Truncate","Calculates the integral part of a specified floating-point number.","System.Math",t.System.Double,"An integral part of a value; that is, the number that remains after any fractional digits were discarded.",[t.System.Double],["value"],["A number to truncate."]),i.StiFunctions.addFunction("Math","","Sin","Returns the sine of the specified angle.","System.Math",t.System.Double,"The sine of an angle.",[t.System.Double],["angle"],["angle, measured in radians."]),i.StiFunctions.addFunction("Math","","Cos","Returns the cosine of the specified angle.","System.Math",t.System.Double,"The cosine of an angle.",[t.System.Double],["angle"],["angle, measured in radians."]),i.StiFunctions.addFunction("Math","","Tan","Returns the tangent of the specified angle.","System.Math",t.System.Double,"The tangent of an angle.",[t.System.Double],["angle"],["angle, measured in radians."]),i.StiFunctions.addFunction("Math","","Acos","Returns an angle which cosine is the specified number.","System.Math",t.System.Double,"An angle, measured in radians.",[t.System.Double],["value"],["A number representing a cosine."]),i.StiFunctions.addFunction("Math","","Asin","Returns the angle which sine is the specified number.","System.Math",t.System.Double,"An angle, measured in radians.",[t.System.Double],["value"],["A number representing a sine."]),i.StiFunctions.addFunction("Math","","Atan","Returns the angle which tangent is the specified number.","System.Math",t.System.Double,"An angle, measured in radians.",[t.System.Double],["value"],["A number representing a tangent."]),i.StiFunctions.addFunction("Math","","Sqrt","Returns the square root of a specified number.","System.Math",t.System.Double,"Return the positive square root of value.",[t.System.Double],["value"],["A number."]),i.StiFunctions.addFunction("Math","","Exp","Returns e raised to the specified power.","System.Math",t.System.Double,"The number e raised to the power value.",[t.System.Int64],["value"],["A number specifying a power."]),i.StiFunctions.addFunction("Math","","Log","Returns the natural (base e) logarithm of a specified number.","System.Math",t.System.Double,"Returns the natural logarithm of a value.",[t.System.Double],["value"],["A number which logarithm is to be found."]),i.StiFunctions.addFunction("Math","","Maximum","Returns the larger of two floating-point numbers.","Stimulsoft.Report.Dictionary.StiFunctionsMath",t.System.Double,"Parameter val1 or val2, whichever is larger.",[t.System.Double,t.System.Double],["value1","value2"],["The first of two floating-point numbers to compare.","The second of two floating-point numbers to compare."]),i.StiFunctions.addFunction("Math","","Maximum","Returns the larger of two decimal numbers.","Stimulsoft.Report.Dictionary.StiFunctionsMath",t.System.Decimal,"Parameter val1 or val2, whichever is larger.",[t.System.Decimal,t.System.Decimal],["value1","value2"],["The first of two decimal numbers to compare.","The second of two decimal numbers to compare."]),i.StiFunctions.addFunction("Math","","Maximum","Returns the larger of two integers numbers.","Stimulsoft.Report.Dictionary.StiFunctionsMath",t.System.Int64,"Parameter val1 or val2, whichever is larger.",[t.System.Int64,t.System.Int64],["value1","value2"],["The first of two integer numbers to compare.","The second of two integer numbers to compare."]),i.StiFunctions.addFunction("Math","","Minimum","Returns the smaller of two floating-point numbers.","Stimulsoft.Report.Dictionary.StiFunctionsMath",t.System.Double,"Parameter val1 or val2, whichever is smaller.",[t.System.Double,t.System.Double],["value1","value2"],["The first of two floating-point numbers to compare.","The second of two floating-point numbers to compare."]),i.StiFunctions.addFunction("Math","","Minimum","Returns the smaller of two decimal numbers.","Stimulsoft.Report.Dictionary.StiFunctionsMath",t.System.Decimal,"Parameter val1 or val2, whichever is smaller.",[t.System.Decimal,t.System.Decimal],["value1","value2"],["The first of two decimal numbers to compare.","The second of two decimal numbers to compare."]),i.StiFunctions.addFunction("Math","","Minimum","Returns the smaller of two integer numbers.","Stimulsoft.Report.Dictionary.StiFunctionsMath",t.System.Int64,"Parameter val1 or val2, whichever is smaller.",[t.System.Int64,t.System.Int64],["value1","value2"],["The first of two integer numbers to compare.","The second of two integer numbers to compare."]),i.StiFunctions.addFunction("Math","","Ceiling","Returns the smallest integer greater than or equal to the specified floating-point number.","Stimulsoft.Report.Dictionary.StiFunctionsMath",t.System.Double,"The smallest integer greater or equal to value.",[t.System.Double],["value"],["A floating-point number. "]),i.StiFunctions.addFunction("Math","","Ceiling","Returns the smallest integer greater or equal to the specified decimal number.","System.Math",t.System.Decimal,"The smallest integer greater or equal to value.",[t.System.Decimal],["value"],["A decimal number."]),i.StiFunctions.addFunction("Math","","Floor","Returns the largest integer less or equal to the specified floating-point number.","System.Math",t.System.Double,"The largest integer less or equal to value.",[t.System.Double],["value"],["A floating-point number. "]),i.StiFunctions.addFunction("Math","","Floor","Returns the largest integer less or equal to the specified decimal number.","System.Math",t.System.Decimal,"The largest integer less or equal to d.",[t.System.Decimal],["value"],["A decimal number."]),o.isCreated=!0)},o.isCreated=!1,r=o,i.StiFunctionsMath=r}(Stimulsoft=Stimulsoft||{}),function(t){var e,t,r,n;function i(){}t=e=t.Report||(t.Report={}),n=r=t.Dictionary||(t.Dictionary={}),i.create=function(){0==i.isCreated&&(n.StiFunctions.addFunction("Print State","","IsNull","Returns true if the specified row value is equal to null or DBNull.Value.","Stimulsoft.Report.Dictionary.StiFunctionsPrintState",Boolean,"Boolean value.",[Object,String],["dataSource","dataColumn"],["Data Source for processing.","Name of Data Column."]),n.StiFunctions.addFunction("Print State","","NextIsNull","Returns true if the next row value is equal to null or DBNull.Value. If the next row does not exist then the function returns true.","Stimulsoft.Report.Dictionary.StiFunctionsPrintState",Boolean,"Boolean value.",[Object,String],["dataSource","dataColumn"],["The Data Source for processing.","Name of the Data Column."]),n.StiFunctions.addFunction("Print State","","PreviousIsNull","Returns true if the previous row value is equal to null or DBNull.Value. If the previous row does not exist then the function returns true.","Stimulsoft.Report.Dictionary.StiFunctionsPrintState",Boolean,"Boolean value.",[Object,String],["dataSource","dataColumn"],["The Data Source for processing.","A name of the Data Column."]),n.StiFunctions.addFunction("Print State","","Previous","Returns a value of the specified field in the previous entry. If the previous row does not exist then the function returns null.","Stimulsoft.Report.Dictionary.StiFunctionsPrintState",Object,"A value of the specified field in the previous entry.",[Object,String],["dataSource","dataColumn"],["The Data Source for processing.","A name of the Data Column."]),n.StiFunctions.addFunction("Print State","","Next","Returns a value of the specified field in the previous entry. If the next row does not exist then the function returns null.","Stimulsoft.Report.Dictionary.StiFunctionsPrintState",Object,"A value of the specified field in the previous entry.",[Object,String],["dataSource","dataColumn"],["The Data Source for processing.","A name of the Data Column."]),i.isCreated=!0)},i.isNull=function(t,e){var t=t,r;if(null!=t)return null==t.getData(e);return!0},i.next=function(t,e){var r=t,t="*nextFunction*";null!=r&&r.saveState(t);var n=null;try{if(null!=r){if(r.next(),r.isEof)return null;n=r.getData(e)}}finally{null!=r&&r.restoreState(t)}return n},i.nextIsNull=function(t,e){var r;return null==this.next(t,e)},i.previous=function(t,e){var r=t,t="*prevFunction*";null!=r&&r.saveState(t);var n=null;try{if(null!=r){if(r.prior(),r.isBof)return null;n=r.getData(e)}}finally{null!=r&&r.restoreState(t)}return n},i.previousIsNull=function(t,e){var r;return null==this.previous(t,e)},i.isCreated=!1,t=i,n.StiFunctionsPrintState=t}(Stimulsoft=Stimulsoft||{}),function(t){var e,t,r,n;function i(){}t=e=t.Report||(t.Report={}),n=r=t.Dictionary||(t.Dictionary={}),i.create=function(){0==i.isCreated&&(n.StiFunctions.addFunction("Programming Shortcut","","Choose","Choose returns a value from the list of choices based on the value of index.","Stimulsoft.Report.Dictionary.StiFunctionsProgrammingShortcut",Object,"A value from the given list of choices.",[Object],["index, choice1, choice2, ..."],["The index is a number that specifies the index of the choice. It should be between 1 and the number of available choices. If it is out of bounds, Choose returns null."]),n.StiFunctions.addFunction("Programming Shortcut","","Switch","The Switch evaluates the expressions from left to right, and returns the value associated with the first expression to evaluate to True. If all of the expressions are False, then Switch returns null.","Stimulsoft.Report.Dictionary.StiFunctionsProgrammingShortcut",Object,"One of the values in the value list value1, value2, and so on.",[Object],["condition1, value1, condition2, value2, ..."],["Condition1, condition2, and so on are Boolean expressions. value1, value2, and so on are the possible values that may be returned."]),n.StiFunctions.addFunction("Programming Shortcut","","IIF","Returns one of two parts, depending on the evaluation of the expression.","IsNull",Object,"truePart if an expression is True and falsePart if an expression is False.",[Boolean,Object,Object],["condition","truePart","falsePart"],["A Boolean expression.","A value is returned if an expression is True.","A value is returned if an expression is False."]),i.isCreated=!0)},i.isCreated=!1,t=i,n.StiFunctionsProgrammingShortcut=t}(Stimulsoft=Stimulsoft||{}),function(n){var t,o,e,r,i,l,a,s;function u(){}o=t=n.Report||(n.Report={}),r=e=o.Dictionary||(o.Dictionary={}),i=n.System.StiArray,l=n.System.StiString,a=n.System.Data.DBNull,u.create=function(){0==u.isCreated&&(r.StiFunctions.addFunction("Strings","","Length","Returns the number of characters of the specified String.","Stimulsoft.Report.Dictionary.StiFunctionsStrings",n.System.Int32,"A number of characters.",[String],["str"],["The Text String."]),r.StiFunctions.addFunction("Strings","","Trim","Removes all occurrences of white space characters from the beginning and end of the specified String.","Stimulsoft.Report.Dictionary.StiFunctionsStrings",String,"String after white space characters are removed.",[String],["str"],["The Text String."]),r.StiFunctions.addFunction("Strings","","ToLowerCase","Returns a string converted to lowercase.","Stimulsoft.Report.Dictionary.StiFunctionsStrings",String,"String in the lowercase.",[String],["str"],["The Text String."]),r.StiFunctions.addFunction("Strings","","ToUpperCase","Returns a string converted to uppercase.","Stimulsoft.Report.Dictionary.StiFunctionsStrings",String,"String in the uppercase.",[String],["str"],["The Text String."]),r.StiFunctions.addFunction("Strings","","ToProperCase","Capitalizes the first letter of each word in the string and converts all other letters to lower case.","Stimulsoft.Report.Dictionary.StiFunctionsStrings",String,"A converted String.",[String],["str"],["The Text String."]),r.StiFunctions.addFunction("Strings","","Substring","Retrieves a substring from the specified String. The substring starts at a specified character position and has a specified length.","Stimulsoft.Report.Dictionary.StiFunctionsStrings",String,"A String equivalent to the substring of length length that begins at startIndex in this instance, or Empty if startIndex is equal to the length of this instance and length is zero.",[String,n.System.Int32,n.System.Int32],["str","startIndex","length"],["Text String.","The index of the start of the subString.","The number of characters in the subString."]),r.StiFunctions.addFunction("Strings","","Mid","Retrieves a substring from the specified String. The substring starts at a specified character position and has a specified length.","Stimulsoft.Report.Dictionary.StiFunctionsStrings",String,"A String equivalent to the substring of length length that begins at startIndex in this instance, or Empty if startIndex is equal to the length of this instance and length is zero.",[String,n.System.Int32,n.System.Int32],["str","startIndex","length"],["Text String.","The index of the start of the subString.","The number of characters in the subString."]),r.StiFunctions.addFunction("Strings","","Left","Returns a string containing a specified number of characters from the left side of a String.","Stimulsoft.Report.Dictionary.StiFunctionsStrings",String,"A String equivalent to the specified number of characters from the left side of a string, or Empty if length is zero.",[String,n.System.Int32],["str","length"],["Text String.","The number of characters in the subString."]),r.StiFunctions.addFunction("Strings","","Right","Returns a string containing a specified number of characters from the right side of a String.","Stimulsoft.Report.Dictionary.StiFunctionsStrings",String,"A String equivalent to the specified number of characters from the right side of a string, or Empty if length is zero.",[String,n.System.Int32],["str","length"],["Text String.","The number of characters in the subString."]),r.StiFunctions.addFunction("Strings","","Roman","Converts an Arabic numeral to a Roman numeral, as text.","Stimulsoft.Report.Dictionary.StiFunctionsStrings",String,"A string which is the roman numeral representation of value.",[n.System.Int32],["value"],["Arabic numeral to be converted."]),r.StiFunctions.addFunction("Strings","","Arabic","Converts Number to Arabic numerals, as text.","Stimulsoft.Report.Dictionary.StiFunctionsStrings",String,"A string which is the arabic numeral representation of value.",[n.System.Int32],["value"],["Number to be converted."]),r.StiFunctions.addFunction("Strings","","Arabic","Converts all digits in string to Arabic digits.","Stimulsoft.Report.Dictionary.StiFunctionsStrings",String,"A string with arabic digits.",[String],["value"],["String to be converted."]),r.StiFunctions.addFunction("Strings","","Persian","Converts Number to Persian numerals, as text.","Stimulsoft.Report.Dictionary.StiFunctionsStrings",String,"A string which is the persian numeral representation of value.",[n.System.Int32],["value"],["Number to be converted."]),r.StiFunctions.addFunction("Strings","","Persian","Converts all digits in string to Persian digits.","Stimulsoft.Report.Dictionary.StiFunctionsStrings",String,"A string with persian digits.",[String],["value"],["String to be converted."]),r.StiFunctions.addFunction("Strings","","Replace","Replaces all occurrences of a specified string in the specified instance, with another specified String.","Stimulsoft.Report.Dictionary.StiFunctionsStrings",String,"A string equivalent to specified string but with all instances of an oldValue replaced with a newValue.",[String,String,String],["str","oldValue","newValue"],["A string to be processed.","A string to be replaced.","A string to replace all occurrences of oldValue."]),r.StiFunctions.addFunction("Strings","","Remove","Deletes a specified number of characters from this instance beginning at a specified position.","Stimulsoft.Report.Dictionary.StiFunctionsStrings",String,"A new string that is equivalent to the specified string less count number of characters.",[String,n.System.Int32,n.System.Int32],["str","startIndex","count"],["A string to be processed.","The position to begin deleting characters. ","The number of characters to delete."]),r.StiFunctions.addFunction("Strings","","Insert","Inserts a specified instance of a string to the specified index position in the specified String.","Stimulsoft.Report.Dictionary.StiFunctionsStrings",String,"A new string equivalent to the specified string but with value inserted at the startIndex position.",[String,n.System.Int32,String],["str","startIndex","value"],["A string to be processed.","The index position of the insertion.","The String to insert."]),r.StiFunctions.addFunction("Strings","","ToWords","Converts the specified value to its equivalent string representation.","Stimulsoft.Report.Dictionary.StiFunctionsStrings",String,"Returns or does not return the string representation of the integer value with the first symbol in the uppercase.",[n.System.Int64],["value"],["A value containing a number to convert."]),r.StiFunctions.addFunction("Strings","","ToWords","Converts the specified value to its equivalent string representation.","Stimulsoft.Report.Dictionary.StiFunctionsStrings",String,"Returns or does not return the string representation of the float-point value with the first symbol in the uppercase.",[n.System.Double],["value"],["A value containing a number to convert."]),r.StiFunctions.addFunction("Strings","","ToWords","Converts the specified value to its equivalent string representation.","Stimulsoft.Report.Dictionary.StiFunctionsStrings",String,"Returns or does not return the string representation of the decimal value with the first symbol in the uppercase.",[n.System.Decimal],["value"],["A value containing a number to convert."]),r.StiFunctions.addFunction("Strings","","ToWords","Converts the specified value to its equivalent string representation.","Stimulsoft.Report.Dictionary.StiFunctionsStrings",String,"Returns or does not return the string representation of the integer value with the first symbol in the uppercase.",[n.System.Int64,Boolean],["value","upperCase"],["A value containing a number to convert.","If this parameter is true then the first symbol of the resulting string will be in the uppercase."]),r.StiFunctions.addFunction("Strings","","ToWords","Converts the specified value to its equivalent string representation.","Stimulsoft.Report.Dictionary.StiFunctionsStrings",String,"Returns or does not return the string representation of the float-point value with the first symbol in the uppercase.",[n.System.Double,Boolean],["value","upperCase"],["A value containing a number to convert.","If this parameter is true then the first symbol of the resulting string will be in the uppercase."]),r.StiFunctions.addFunction("Strings","","ToWords","Converts the specified value to its equivalent string representation.","Stimulsoft.Report.Dictionary.StiFunctionsStrings",String,"Returns or does not return the string representation of the decimal value with the first symbol in the uppercase.",[n.System.Decimal,Boolean],["value","upperCase"],["A value containing a number to convert.","If this parameter is true then the first symbol of the resulting string will be in the uppercase."]),r.StiFunctions.addFunction("Strings","","DateToStr","Converts the specified value: DateTime to its equivalent string representation.","Stimulsoft.Report.Dictionary.StiFunctionsStrings",String,"Returns the string representation of the value: DateTime with the first symbol in the uppercase.",[n.System.DateTime,Boolean],["value","upperCase"],["A value containing a datetime to convert.","If this parameter is true then the first symbol of the resulting string will be in the uppercase."]),r.StiFunctions.addFunction("Strings","","DateToStr","Converts the specified value: DateTime to its equivalent string representation.","Stimulsoft.Report.Dictionary.StiFunctionsStrings",String,"Returns the string representation of the value: DateTime.",[n.System.DateTime],["value"],["A value containing a datetime to convert."]),r.StiFunctions.addFunction("Strings","","ToCurrencyWords","Converts the specified value to its equivalent string representation.","Stimulsoft.Report.Dictionary.StiFunctionsStrings",String,"Returns the string representation of the integer value with cents.",[n.System.Int64],["value"],["A value containing a currency to convert."]),r.StiFunctions.addFunction("Strings","","ToCurrencyWords","Converts the specified value to its equivalent string representation.","Stimulsoft.Report.Dictionary.StiFunctionsStrings",String,"Returns or does not return the string representation of the integer value with the first symbol in the uppercase.",[n.System.Int64,Boolean],["value","upperCase"],["A value containing a currency to convert.","If this parameter is true then the first symbol of the resulting string will be in the uppercase."]),r.StiFunctions.addFunction("Strings","","ToCurrencyWords","Converts the specified value to its equivalent string representation.","Stimulsoft.Report.Dictionary.StiFunctionsStrings",String,"Returns or does not return the string representation of the integer value with or without cents with the first symbol in the uppercase.",[n.System.Int64,Boolean,Boolean],["value","upperCase","showCents"],["A value containing a currency to convert.","If this parameter is true then the first symbol of the resulting string will be in the uppercase.","If this parameter is true then cents of the value will be added to the resulting String."]),r.StiFunctions.addFunction("Strings","","ToCurrencyWords","Converts the specified value to its equivalent string representation.","Stimulsoft.Report.Dictionary.StiFunctionsStrings",String,"Returns the string representation of the decimal value with cents.",[n.System.Decimal],["value"],["A value containing a currency to convert."]),r.StiFunctions.addFunction("Strings","","ToCurrencyWords","Converts the specified value to its equivalent string representation.","Stimulsoft.Report.Dictionary.StiFunctionsStrings",String,"Returns or does not return the string representation of the decimal value with the first symbol in the uppercase.",[n.System.Decimal,Boolean],["value","upperCase"],["A value containing a currency to convert.","If this parameter is true then the first symbol of the resulting string will be in the uppercase."]),r.StiFunctions.addFunction("Strings","","ToCurrencyWords","Converts the specified value to its equivalent string representation.","Stimulsoft.Report.Dictionary.StiFunctionsStrings",String,"Returns or does not return the string representation of the decimal value with or without cents with the first symbol in the uppercase.",[n.System.Decimal,Boolean,Boolean],["value","upperCase","showCents"],["A value containing a currency to convert.","If this parameter is true then the first symbol of the resulting string will be in the uppercase.","If this parameter is true then cents of the value will be added to the resulting String."]),r.StiFunctions.addFunction("Strings","","ToCurrencyWords","Converts the specified value to its equivalent string representation.","Stimulsoft.Report.Dictionary.StiFunctionsStrings",String,"Returns the string representation of the float-point value with cents.",[n.System.Double],["value"],["A value containing a currency to convert."]),r.StiFunctions.addFunction("Strings","","ToCurrencyWords","Converts the specified value to its equivalent string representation.","Stimulsoft.Report.Dictionary.StiFunctionsStrings",String,"Returns or does not return the string representation of the float-point value with the first symbol in the uppercase.",[n.System.Double,Boolean],["value","upperCase"],["A value containing a currency to convert.","If this parameter is true then the first symbol of the resulting string will be in the uppercase."]),r.StiFunctions.addFunction("Strings","","ToCurrencyWords","Converts the specified value to its equivalent string representation.","Stimulsoft.Report.Dictionary.StiFunctionsStrings",String,"Returns or does not return the string representation of the float-point value with or without cents with the first symbol in the uppercase.",[n.System.Double,Boolean,Boolean],["value","upperCase","showCents"],["A value containing a currency to convert.","If this parameter is true then the first symbol of the resulting string will be in the uppercase.","If this parameter is true then cents of the value will be added to the resulting String."]),r.StiFunctions.addFunction("Strings","","ToCurrencyWords","Converts the specified value to its equivalent string representation.","Stimulsoft.Report.Dictionary.StiFunctionsStrings",String,"Returns or does not return the string representation of the float-point value with or without cents with the first symbol in the uppercase. Names of cents and dollars of the currency is to be specified in the dollars and cents parameters.",[n.System.Double,Boolean,Boolean,String,String],["value","upperCase","showCents","dollars","cents"],["A value containing a currency to convert.","If this parameter is true then the first symbol of the resulting string will be in the uppercase.","If this parameter is true then cents of the value will be added to the resulting String.",'A string in format "dollar/ dollars" ("pound/ pounds"), etc.','A string in format "cent/ cents" ("penny/ pence"), etc.']),r.StiFunctions.addFunction("Strings","ToWords","ToWordsRu","Converts the specified value to its equivalent string representation in Russian language.","Stimulsoft.Report.Dictionary.StiFunctionsStrings",String,"Returns or does not return the string representation of the integer value with the first symbol in the uppercase.",[n.System.Int64],["value"],["A value containing a number to convert."]),r.StiFunctions.addFunction("Strings","ToWords","ToWordsRu","Converts the specified value to its equivalent string representation in Russian language.","Stimulsoft.Report.Dictionary.StiFunctionsStrings",String,"Returns or does not return the string representation of the float-point value with the first symbol in the uppercase.",[n.System.Double],["value"],["A value containing a number to convert."]),r.StiFunctions.addFunction("Strings","ToWords","ToWordsRu","Converts the specified value to its equivalent string representation in Russian language.","Stimulsoft.Report.Dictionary.StiFunctionsStrings",String,"Returns or does not return the string representation of the decimal value with the first symbol in the uppercase.",[n.System.Decimal],["value"],["A value containing a number to convert."]),r.StiFunctions.addFunction("Strings","ToWords","ToWordsRu","Converts the specified value to its equivalent string representation in Russian language.","Stimulsoft.Report.Dictionary.StiFunctionsStrings",String,"Returns or does not return the string representation of the integer value with the first symbol in the uppercase.",[n.System.Int64,Boolean],["value","upperCase"],["A value containing a number to convert.","If this parameter is true then the first symbol of the resulting string will be in the uppercase."]),r.StiFunctions.addFunction("Strings","ToWords","ToWordsRu","Converts the specified value to its equivalent string representation in Russian language.","Stimulsoft.Report.Dictionary.StiFunctionsStrings",String,"Returns or does not return the string representation of the float-point value with the first symbol in the uppercase.",[n.System.Double,Boolean],["value","upperCase"],["A value containing a number to convert.","If this parameter is true then the first symbol of the resulting string will be in the uppercase."]),r.StiFunctions.addFunction("Strings","ToWords","ToWordsRu","Converts the specified value to its equivalent string representation in Russian language.","Stimulsoft.Report.Dictionary.StiFunctionsStrings",String,"Returns or does not return the string representation of the decimal value with the first symbol in the uppercase.",[n.System.Decimal,Boolean],["value","upperCase"],["A value containing a number to convert.","If this parameter is true then the first symbol of the resulting string will be in the uppercase."]),r.StiFunctions.addFunction("Strings","DateToStr","DateToStrRu","Converts the specified value: DateTime to its equivalent string representation in Russian language.","Stimulsoft.Report.Dictionary.StiFunctionsStrings",String,"Returns the string representation of the value: DateTime with the first symbol in the uppercase.",[n.System.DateTime,Boolean],["value","upperCase"],["A value containing a datetime to convert.","If this parameter is true then the first symbol of the resulting string will be in the uppercase."]),r.StiFunctions.addFunction("Strings","DateToStr","DateToStrRu","Converts the specified value: DateTime to its equivalent string representation in Russian language.","Stimulsoft.Report.Dictionary.StiFunctionsStrings",String,"Returns the string representation of the value: DateTime.",[n.System.DateTime],["value"],["A value containing a datetime to convert."]),r.StiFunctions.addFunction("Strings","ToCurrencyWords","ToCurrencyWordsRu","Converts the specified value to its equivalent string representation in Russian language.","Stimulsoft.Report.Dictionary.StiFunctionsStrings",String,"Returns the string representation of the integer value with kopecks.",[n.System.Int64],["value"],["A value containing a currency to convert."]),r.StiFunctions.addFunction("Strings","ToCurrencyWords","ToCurrencyWordsRu","Converts the specified value to its equivalent string representation in Russian language.","Stimulsoft.Report.Dictionary.StiFunctionsStrings",String,"Returns the string representation of the decimal value with kopecks.",[n.System.Decimal],["value"],["A value containing a currency to convert."]),r.StiFunctions.addFunction("Strings","ToCurrencyWords","ToCurrencyWordsRu","Converts the specified value to its equivalent string representation in Russian language.","Stimulsoft.Report.Dictionary.StiFunctionsStrings",String,"Returns the string representation of the float-point value with kopecks.",[n.System.Double],["value"],["A value containing a currency to convert."]),r.StiFunctions.addFunction("Strings","ToCurrencyWords","ToCurrencyWordsRu","Converts the specified value to its equivalent string representation in Russian language.","Stimulsoft.Report.Dictionary.StiFunctionsStrings",String,"Returns or does not return the string representation of the integer value with the first symbol in the uppercase.",[n.System.Int64,Boolean],["value","upperCase"],["A value containing a currency to convert.","If this parameter is true then the first symbol of the resulting string will be in the uppercase."]),r.StiFunctions.addFunction("Strings","ToCurrencyWords","ToCurrencyWordsRu","Converts the specified value to its equivalent string representation in Russian language.","Stimulsoft.Report.Dictionary.StiFunctionsStrings",String,"Returns or does not return the string representation of the decimal value with the first symbol in the uppercase.",[n.System.Decimal,Boolean],["value","upperCase"],["A value containing a currency to convert.","If this parameter is true then the first symbol of the resulting string will be in the uppercase."]),r.StiFunctions.addFunction("Strings","ToCurrencyWords","ToCurrencyWordsRu","Converts the specified value to its equivalent string representation in Russian language.","Stimulsoft.Report.Dictionary.StiFunctionsStrings",String,"Returns or does not return the string representation of the float-point value with the first symbol in the uppercase.",[n.System.Double,Boolean],["value","upperCase"],["A value containing a currency to convert.","If this parameter is true then the first symbol of the resulting string will be in the uppercase."]),r.StiFunctions.addFunction("Strings","ToCurrencyWords","ToCurrencyWordsRu","Converts the specified value to its equivalent string representation with using specified currency in Russian language.","Stimulsoft.Report.Dictionary.StiFunctionsStrings",String,"Returns or does not return the string representation of the integer value with the first symbol in the uppercase.",[n.System.Int64,Boolean,String],["value","showCents","currency"],["A value containing a currency to convert.","If this parameter is true then cents of the value will be added to the resulting String.",'Designation currency, which will be used to transform numbers. "RUR", "USD", "EUR", "UAH", "KZT".']),r.StiFunctions.addFunction("Strings","ToCurrencyWords","ToCurrencyWordsRu","Converts the specified value to its equivalent string representation with using specified currency in Russian language.","Stimulsoft.Report.Dictionary.StiFunctionsStrings",String,"Returns or does not return the string representation of the decimal value with the first symbol in the uppercase.",[n.System.Decimal,Boolean,String],["value","showCents","currency"],["A value containing a currency to convert.","If this parameter is true then cents of the value will be added to the resulting String.",'Designation currency, which will be used to transform numbers. "RUR", "USD", "EUR", "UAH", "KZT".']),r.StiFunctions.addFunction("Strings","ToCurrencyWords","ToCurrencyWordsRu","Converts the specified value to its equivalent string representation with using specified currency in Russian language.","Stimulsoft.Report.Dictionary.StiFunctionsStrings",String,"Returns or does not return the string representation of the float-point value with the first symbol in the uppercase.",[n.System.Double,Boolean,String],["value","showCents","currency"],["A value containing a currency to convert.","If this parameter is true then cents of the value will be added to the resulting String.",'Designation currency, which will be used to transform numbers. "RUR", "USD", "EUR", "UAH", "KZT".']),r.StiFunctions.addFunction("Strings","ToCurrencyWords","ToCurrencyWordsRu","Converts the specified value to its equivalent string representation with using specified currency in Russian language.","Stimulsoft.Report.Dictionary.StiFunctionsStrings",String,"Returns or does not return the string representation of the integer value with the first symbol in the uppercase.",[n.System.Int64,String,Boolean],["value","currency","upperCase"],["A value containing a currency to convert.",'Designation currency, which will be used to transform numbers. "RUR", "USD", "EUR", "UAH", "KZT".',"If this parameter is true then the first symbol of the resulting string will be in the uppercase."]),r.StiFunctions.addFunction("Strings","ToCurrencyWords","ToCurrencyWordsRu","Converts the specified value to its equivalent string representation with using specified currency in Russian language.","Stimulsoft.Report.Dictionary.StiFunctionsStrings",String,"Returns or does not return the string representation of the decimal value with the first symbol in the uppercase.",[n.System.Decimal,String,Boolean],["value","currency","upperCase"],["A value containing a currency to convert.",'Designation currency, which will be used to transform numbers."RUR", "USD", "EUR", "UAH", "KZT".',"If this parameter is true then the first symbol of the resulting string will be in the uppercase."]),r.StiFunctions.addFunction("Strings","ToCurrencyWords","ToCurrencyWordsRu","Converts the specified value to its equivalent string representation with using specified currency in Russian language.","Stimulsoft.Report.Dictionary.StiFunctionsStrings",String,"Returns or does not return the string representation of the float- point value with the first symbol in the uppercase.",[n.System.Double,String,Boolean],["value","currency","upperCase"],["A value containing a currency to convert.",'Designation currency, which will be used to transform numbers."RUR", "USD", "EUR", "UAH", "KZT".',"If this parameter is true then the first symbol of the resulting string will be in the uppercase."]),r.StiFunctions.addFunction("Strings","ToCurrencyWords","ToCurrencyWordsThai","Converts the specified value to its equivalent string representation with using specified currency in Thai language.","Stimulsoft.Report.Dictionary.StiFunctionsStrings",String,"Returns or does not return the string representation of the integer value.",[n.System.Int64],["value"],["A value containing a currency to convert."]),r.StiFunctions.addFunction("Strings","ToCurrencyWords","ToCurrencyWordsThai","Converts the specified value to its equivalent string representation with using specified currency in Thai language.","Stimulsoft.Report.Dictionary.StiFunctionsStrings",String,"Returns or does not return the string representation of the float-point value.",[n.System.Double],["value"],["A value containing a currency to convert."]),r.StiFunctions.addFunction("Strings","ToCurrencyWords","ToCurrencyWordsThai","Converts the specified value to its equivalent string representation with using specified currency in Thai language.","Stimulsoft.Report.Dictionary.StiFunctionsStrings",String,"Returns or does not return the string representation of the decimal value.",[n.System.Decimal],["value"],["A value containing a currency to convert."]),r.StiFunctions.addFunction("Strings","ToWords","ToWordsUa","Converts the specified value to its equivalent string representation in Ukrainian language.","Stimulsoft.Report.Dictionary.StiFunctionsStrings",String,"Returns or does not return the string representation of the integer value with the first symbol in the uppercase.",[n.System.Int64],["value"],["A value containing a number to convert."]),r.StiFunctions.addFunction("Strings","ToWords","ToWordsUa","Converts the specified value to its equivalent string representation in Ukrainian language.","Stimulsoft.Report.Dictionary.StiFunctionsStrings",String,"Returns or does not return the string representation of the float-point value with the first symbol in the uppercase.",[n.System.Double],["value"],["A value containing a number to convert."]),r.StiFunctions.addFunction("Strings","ToWords","ToWordsUa","Converts the specified value to its equivalent string representation in Ukrainian language.","Stimulsoft.Report.Dictionary.StiFunctionsStrings",String,"Returns or does not return the string representation of the decimal value with the first symbol in the uppercase.",[n.System.Decimal],["value"],["A value containing a number to convert."]),r.StiFunctions.addFunction("Strings","ToWords","ToWordsUa","Converts the specified value to its equivalent string representation in Ukrainian language.","Stimulsoft.Report.Dictionary.StiFunctionsStrings",String,"Returns or does not return the string representation of the integer value with the first symbol in the uppercase.",[n.System.Int64,Boolean],["value","upperCase"],["A value containing a number to convert.","If this parameter is true then the first symbol of the resulting string will be in the uppercase."]),r.StiFunctions.addFunction("Strings","ToWords","ToWordsUa","Converts the specified value to its equivalent string representation in Ukrainian language.","Stimulsoft.Report.Dictionary.StiFunctionsStrings",String,"Returns or does not return the string representation of the float-point value with the first symbol in the uppercase.",[n.System.Double,Boolean],["value","upperCase"],["A value containing a number to convert.","If this parameter is true then the first symbol of the resulting string will be in the uppercase."]),r.StiFunctions.addFunction("Strings","ToWords","ToWordsUa","Converts the specified value to its equivalent string representation in Ukrainian language.","Stimulsoft.Report.Dictionary.StiFunctionsStrings",String,"Returns or does not return the string representation of the decimal value with the first symbol in the uppercase.",[n.System.Decimal,Boolean],["value","upperCase"],["A value containing a number to convert.","If this parameter is true then the first symbol of the resulting string will be in the uppercase."]),r.StiFunctions.addFunction("Strings","DateToStr","DateToStrUa","Converts the specified value: DateTime to its equivalent string representation in Ukrainian language.","Stimulsoft.Report.Dictionary.StiFunctionsStrings",String,"Returns the string representation of the value: DateTime with the first symbol in the uppercase.",[n.System.DateTime,Boolean],["value","upperCase"],["A value containing a datetime to convert.","If this parameter is true then the first symbol of the resulting string will be in the uppercase."]),r.StiFunctions.addFunction("Strings","DateToStr","DateToStrUa","Converts the specified value: DateTime to its equivalent string representation in Ukrainian language.","Stimulsoft.Report.Dictionary.StiFunctionsStrings",String,"Returns the string representation of the value: DateTime.",[n.System.DateTime],["value"],["A value containing a datetime to convert."]),r.StiFunctions.addFunction("Strings","ToCurrencyWords","ToCurrencyWordsUa","Converts the specified value to its equivalent string representation in Ukrainian language.","Stimulsoft.Report.Dictionary.StiFunctionsStrings",String,"Returns the string representation of the integer value with kopecks.",[n.System.Int64],["value"],["A value containing a currency to convert."]),r.StiFunctions.addFunction("Strings","ToCurrencyWords","ToCurrencyWordsUa","Converts the specified value to its equivalent string representation in Ukrainian language.","Stimulsoft.Report.Dictionary.StiFunctionsStrings",String,"Returns or does not return the string representation of the integer value with the first symbol in the uppercase.",[n.System.Int64,Boolean],["value","upperCase"],["A value containing a currency to convert.","If this parameter is true then the first symbol of the resulting string will be in the uppercase."]),r.StiFunctions.addFunction("Strings","ToCurrencyWords","ToCurrencyWordsUa","Converts the specified value to its equivalent string representation in Ukrainian language.","Stimulsoft.Report.Dictionary.StiFunctionsStrings",String,"Returns the string representation of the decimal value with kopecks.",[n.System.Decimal],["value"],["A value containing a currency to convert."]),r.StiFunctions.addFunction("Strings","ToCurrencyWords","ToCurrencyWordsUa","Converts the specified value to its equivalent string representation in Ukrainian language.","Stimulsoft.Report.Dictionary.StiFunctionsStrings",String,"Returns or does not return the string representation of the decimal value with the first symbol in the uppercase.",[n.System.Decimal,Boolean],["value","upperCase"],["A value containing a currency to convert.","If this parameter is true then the first symbol of the resulting string will be in the uppercase."]),r.StiFunctions.addFunction("Strings","ToCurrencyWords","ToCurrencyWordsUa","Converts the specified value to its equivalent string representation in Ukrainian language.","Stimulsoft.Report.Dictionary.StiFunctionsStrings",String,"Returns the string representation of the float-point value with kopecks.",[n.System.Double],["value"],["A value containing a currency to convert."]),r.StiFunctions.addFunction("Strings","ToCurrencyWords","ToCurrencyWordsUa","Converts the specified value to its equivalent string representation in Ukrainian language.","Stimulsoft.Report.Dictionary.StiFunctionsStrings",String,"Returns or does not return the string representation of the float-point value with the first symbol in the uppercase.",[n.System.Double,Boolean],["value","upperCase"],["A value containing a currency to convert.","If this parameter is true then the first symbol of the resulting string will be in the uppercase."]),r.StiFunctions.addFunction("Strings","ToCurrencyWords","ToCurrencyWordsUa","Converts the specified value to its equivalent string representation with using specified currency in Ukrainian language.","Stimulsoft.Report.Dictionary.StiFunctionsStrings",String,"Returns or does not return the string representation of the decimal value with the first symbol in the uppercase.",[n.System.Decimal,Boolean,String],["value","upperCase","currency"],["A value containing a currency to convert.","If this parameter is true then the first symbol of the resulting string will be in the uppercase.",'Designation currency, which will be used to transform numbers. "UAH", "USD", "EUR", "RUR".']),r.StiFunctions.addFunction("Strings","ToCurrencyWords","ToCurrencyWordsUa","Converts the specified value to its equivalent string representation with using specified currency in Ukrainian language.","Stimulsoft.Report.Dictionary.StiFunctionsStrings",String,"Returns or does not return the string representation of the float-point value with the first symbol in the uppercase.",[n.System.Double,Boolean,String],["value","upperCase","currency"],["A value containing a currency to convert.","If this parameter is true then the first symbol of the resulting string will be in the uppercase.",'Designation currency, which will be used to transform numbers. "UAH", "USD", "EUR", "RUR".']),r.StiFunctions.addFunction("Strings","ToCurrencyWords","ToCurrencyWordsUa","Converts the specified value to its equivalent string representation with using specified currency in Ukrainian language.","Stimulsoft.Report.Dictionary.StiFunctionsStrings",String,"Returns or does not return the string representation of the integer value with the first symbol in the uppercase.",[n.System.Int64,Boolean,String],["value","upperCase","currency"],["A value containing a currency to convert.","If this parameter is true then the first symbol of the resulting string will be in the uppercase.",'Designation currency, which will be used to transform numbers. "UAH", "USD", "EUR", "RUR".']),r.StiFunctions.addFunction("Strings","ToWords","ToWordsPt","Converts the specified value to its equivalent string representation in Portuguese language.","Stimulsoft.Report.Dictionary.StiFunctionsStrings",String,"Returns or does not return the string representation of the integer value with the first symbol in the uppercase.",[n.System.Int64,Boolean],["value","upperCase"],["A value containing a number to convert.","If this parameter is true then the first symbol of the resulting string will be in the uppercase."]),r.StiFunctions.addFunction("Strings","ToCurrencyWords","ToCurrencyWordsPt","Converts the specified value to its equivalent string representation in Portuguese language.","Stimulsoft.Report.Dictionary.StiFunctionsStrings",String,"Returns or does not return the string representation of the decimal value with or without cents with the first symbol in the uppercase.",[n.System.Decimal,Boolean,Boolean],["value","upperCase","showCents"],["A value containing a currency to convert.","If this parameter is true then the first symbol of the resulting string will be in the uppercase.","If this parameter is true then cents of the value will be added to the resulting String."]),r.StiFunctions.addFunction("Strings","ToCurrencyWords","ToCurrencyWordsPtBr","Converts the specified value to its equivalent string representation in Portuguese (Brazil) language.","Stimulsoft.Report.Dictionary.StiFunctionsStrings",String,"Returns or does not return the string representation of the float-point value with the first symbol in the uppercase.",[n.System.Decimal],["value"],["A value containing a number to convert."]),r.StiFunctions.addFunction("Strings","DateToStr","DateToStrPt","Converts the specified value: DateTime to its equivalent string representation in Portuguese language.","Stimulsoft.Report.Dictionary.StiFunctionsStrings",String,"Returns the string representation of the value: DateTime.",[n.System.DateTime],["value"],["A value containing a datetime to convert."]),r.StiFunctions.addFunction("Strings","DateToStr","DateToStrPtBr","Converts the specified value: DateTime to its equivalent string representation in Portuguese (Brazil) language.","Stimulsoft.Report.Dictionary.StiFunctionsStrings",String,"Returns the string representation of the value: DateTime.",[n.System.DateTime],["value"],["A value containing a datetime to convert."]),r.StiFunctions.addFunction("Strings","ToCurrencyWords","ToCurrencyWordsFr","Converts the specified value to its equivalent string representation in French (Standard) language.","Stimulsoft.Report.Dictionary.StiFunctionsStrings",String,"Returns or does not return the string representation of the float-point value with the first symbol in the uppercase.",[n.System.Decimal,String,n.System.Int32],["number","currencyISO","decimals"],["A value containing a number to convert.",'A value containing a currency ISO code ("EUR", "GBP", "MXN" or "DHS").',"A value containing a decimals."]),r.StiFunctions.addFunction("Strings","ToCurrencyWords","ToCurrencyWordsEs","Converts the specified value to its equivalent string representation in Spanish (Spain Traditional) language.","Stimulsoft.Report.Dictionary.StiFunctionsStrings",String,"Returns or does not return the string representation of the float-point value with the first symbol in the uppercase.",[n.System.Decimal,String,n.System.Int32],["number","currencyISO","decimals"],["A value containing a number to convert.",'A value containing a currency ISO code ("USD", "EUR", "GBP", "MXN" or "DHS").',"A value containing a decimals."]),r.StiFunctions.addFunction("Strings","ToWords","ToWordsEs","Converts the specified value to its equivalent string representation in Spanish (Spain Traditional) language.","Stimulsoft.Report.Dictionary.StiFunctionsStrings",String,"Returns or does not return the string representation of the decimal value with the first symbol in the uppercase.",[n.System.Int64,Boolean],["value","upperCase"],["A value containing a number to convert.","If this parameter is true then the first symbol of the resulting string will be in the uppercase."]),r.StiFunctions.addFunction("Strings","ToWords","ToWordsEs","Converts the specified value to its equivalent string representation in Spanish (Spain Traditional) language.","Stimulsoft.Report.Dictionary.StiFunctionsStrings",String,"Returns or does not return the string representation of the decimal value with the first symbol in the uppercase.",[n.System.Int64,Boolean,Boolean],["value","upperCase","female"],["A value containing a number to convert.","If this parameter is true then the first symbol of the resulting string will be in the uppercase.","If this parameter is true then the female form will be used."]),r.StiFunctions.addFunction("Strings","ToCurrencyWords","ToCurrencyWordsNl","Converts the specified value to its equivalent string representation in Dutch (Standard) language.","Stimulsoft.Report.Dictionary.StiFunctionsStrings",String,"Returns or does not return the string representation of the float-point value with the first symbol in the uppercase.",[n.System.Decimal,String,n.System.Int32],["number","currencyISO","decimals"],["A value containing a number to convert.",'A value containing a currency ISO code ("EUR", "GBP", "MXN" or "DHS").',"A value containing a decimals."]),r.StiFunctions.addFunction("Strings","ToCurrencyWords","ToCurrencyWordsEnGb","Converts the specified value to its equivalent string representation in English (United Kingdom) language.","Stimulsoft.Report.Dictionary.StiFunctionsStrings",String,"Returns or does not return the string representation of the float-point value with the first symbol in the uppercase.",[n.System.Decimal,String,n.System.Int32],["number","currencyISO","decimals"],["A value containing a number to convert.",'A value containing a currency ISO code ("EUR", "GBP", "MXN" or "DHS").',"A value containing a decimals."]),r.StiFunctions.addFunction("Strings","ToWords","ToWordsFa","Converts the specified value to its equivalent string representation in Persian (Farsi) language.","Stimulsoft.Report.Dictionary.StiFunctionsStrings",String,"Returns or does not return the string representation of the value: number.",[n.System.Int64],["value"],["A value containing a number to convert."]),r.StiFunctions.addFunction("Strings","ToWords","ToWordsPl","Converts the specified value to its equivalent string representation in Polish language.","Stimulsoft.Report.Dictionary.StiFunctionsStrings",String,"Returns or does not return the string representation of the decimal value with the first symbol in the uppercase.",[n.System.Int64,Boolean],["value","upperCase"],["A value containing a number to convert.","If this parameter is true then the first symbol of the resulting string will be in the uppercase."]),r.StiFunctions.addFunction("Strings","DateToStr","DateToStrPl","Converts the specified value: DateTime to its equivalent string representation in Polish language.","Stimulsoft.Report.Dictionary.StiFunctionsStrings",String,"Returns the string representation of the value: DateTime with the first symbol in the uppercase.",[n.System.DateTime,Boolean],["value","upperCase"],["A value containing a datetime to convert.","If this parameter is true then the first symbol of the resulting string will be in the uppercase."]),r.StiFunctions.addFunction("Strings","ToCurrencyWords","ToCurrencyWordsPl","Converts the specified value to its equivalent string representation with using specified currency in Polish language.","Stimulsoft.Report.Dictionary.StiFunctionsStrings",String,"Returns or does not return the string representation of the decimal value with the first symbol in the uppercase.",[n.System.Decimal,String,Boolean,Boolean],["value","currencyISO","showCents","upperCase"],["A value containing a currency to convert.",'Designation currency, which will be used to transform numbers. "USD", "EUR", "PLN".',"If this parameter is true then cents of the value will be added to the resulting String.","If this parameter is true then the first symbol of the resulting string will be in the uppercase."]),r.StiFunctions.addFunction("Strings","ToWords","ToWordsEnIn","Converts the specified value to its equivalent string representation in English(Indian) language.","Stimulsoft.Report.Dictionary.StiFunctionsStrings",String,"Returns the string representation of the value.",[n.System.Int64,Boolean],["value","blankIfZero"],["A value containing a number to convert.","If this parameter is true and the value to convert is zero then return a empty String."]),r.StiFunctions.addFunction("Strings","ToCurrencyWords","ToCurrencyWordsEnIn","Converts the specified value to its equivalent string representation with using specified currency in English(Indian) language.","Stimulsoft.Report.Dictionary.StiFunctionsStrings",String,"Returns the string representation of the decimal value.",[String,String,n.System.Decimal,n.System.Int32,Boolean],["currencyBasicUnit","currencyFractionalUnit","value","decimalPlaces","blankIfZero"],['The basic unit of the currency ("Rupees").','The fractional unit of the currency ("paisa").',"A value containing a currency to convert.","The number of decimal places to use while converting.","If this parameter is true then the first symbol of the resulting string will be in the uppercase."]),r.StiFunctions.addFunction("Strings","","TryParseDecimal","Converts the object representation of a number to its Decimal equivalent.","Stimulsoft.Report.Dictionary.StiFunctionsStrings",Boolean,"True, if value was converted successfully; otherwise, false.",[String],["value"],["An object containing the value to convert."]),r.StiFunctions.addFunction("Strings","","TryParseDouble","Converts the object representation of a number to its double-precision floating-point number equivalent.","Stimulsoft.Report.Dictionary.StiFunctionsStrings",Boolean,"True, if value was converted successfully; otherwise, false.",[String],["value"],["An object containing a number to convert."]),r.StiFunctions.addFunction("Strings","","TryParseLong","Converts the object representation of a number to its 64-bit signed integer equivalent","Stimulsoft.Report.Dictionary.StiFunctionsStrings",Boolean,"True, if value was converted successfully; otherwise, false.",[String],["value"],["An object containing a number to convert."]),r.StiFunctions.addFunction("Strings","","ToOrdinal","Converts the specified value to its ordinal representation.","Stimulsoft.Report.Dictionary.StiFunctionsStrings",String,"A value containing an ordinal representation of the number.",[n.System.Int64],["value"],["An object containing a number to convert."]),r.StiFunctions.addFunction("Strings","ToCurrencyWords","ToCurrencyWordsZh","Converts the specified value to its equivalent string representation in Chinese language.","Stimulsoft.Report.Dictionary.StiFunctionsStrings",String,"Returns or does not return the string representation of the decimal value.",[n.System.Int64],["value"],["A value containing a number to convert."]),r.StiFunctions.addFunction("Strings","ToCurrencyWords","ToCurrencyWordsAr","Converts the specified value to its equivalent string representation in Arabic language.","Stimulsoft.Report.Dictionary.StiFunctionsStrings",String,"Returns or does not return the string representation of the decimal value.",[n.System.Int64],["value"],["A value containing a number to convert."]),u.isCreated=!0)},u.toProperCase=function(t){if(null==t||t==a.value)return"";return t.toLowerCase().replace(/(^|[\s\xA0])[^\s\xA0]/g,function(t){return t.toUpperCase()})},u.substring=function(t,e,r){if(null==t||t==a.value)return"";var t=t.toString();if(e+r>=t.length)return t.substr(e);return t.substr(e,r)},u.left=function(t,e){if(null==t||t==a.value)return"";var t=t.toString();if(e>=t.length)return t;return t.substr(0,e)},u.right=function(t,e){if(null==t||t==a.value)return"";var t=t.toString();if(e>=t.length)return t;return t.substr(t.length-e,e)},u.mid=function(t,e,r){return this.substring(t,e,r)},u.roman=function(t){return o.Func.Convert.toRoman(t)},u.abc=function(t){return o.Func.Convert.toABC(+t)},u.arabic=function(t){return o.Func.Convert.toArabic(t,!1)},u.persian=function(t){return o.Func.Convert.toArabic(t,!0)},u.toWords=function(t,e,r){return void 0===e&&(e=null),void 0===r&&(r=null),o.Func.En.numToStr(t,e)},u.dateToStr=function(t,e){return void 0===e&&(e=null),o.Func.En.dateToStr(t,e)},u.toCurrencyWords=function(t,e,r,n,i){return void 0===n&&(n="dollar/dollars"),void 0===i&&(i="cent/cents"),o.Func.En.currToStr(t,e,r,n,i)},u.toCurrencyWords2=function(t,e,r,n,i){return void 0===e&&(e=null),void 0===r&&(r=null),void 0===n&&(n=null),void 0===i&&(i=null),"EN only implemented"},u.toOrdinal=function(t){var e=t.toString();if(t<1)return e;if(11<=(t%=100)&&t<=13)return e+"th";switch(t%10){case 1:return e+"st";case 2:return e+"nd";case 3:return e+"rd";default:return e+"th"}},u.toWordsRu=function(t,e){return void 0===e&&(e=!0),o.Func.Ru.numToStr(t,e)},u.dateToStrRu=function(t,e){return void 0===e&&(e=!1),o.Func.Ru.dateToStr(t,e)},u.toCurrencyWordsRu=function(t,e,r,n){return void 0===e&&(e=!0),void 0===r&&(r="RUR"),void 0===n&&(n=!0),o.Func.Ru.currToStr(t,e,r,n)},u.toCurrencyWordsThai=function(t){return this.SP_STRtNumToMny(t)},u.SP_STRtNumToMny=function(t){var e="",r="",n=null,i="",o="",a="",s="",s,n;if(1<(n=Math.round2(t,2).toString().split(".")).length-1)return"";if(r=n[0],0<n.length-1&&2<(e=n[1]).length)return"";if(i=l.isNullOrEmpty(r)?this.tC_0:this.SP_XCGtNumToMny(r),l.isNullOrEmpty(e))o=this.tC_0;else{switch(e.length){case 1:e+="0";break;case 2:break;default:e=e.stimulsoft.remove(2);break}o=this.SP_XCGtNumToMny(e)}return i==this.tC_0&&o==this.tC_0?a=i+this.tC_Baht+this.tC_Complete:i==this.tC_0&&o!=this.tC_0?a=o+this.tC_Satang:i!=this.tC_0&&o==this.tC_0?a=i+this.tC_Baht+this.tC_Complete:i!=this.tC_0&&o!=this.tC_0&&(a=i+this.tC_Baht+o+this.tC_Satang),a},u.SP_XCGtNumToMny=function(t){var e=t;if(l.isNullOrEmpty(t))return"";while("0"==e[0]&&1<e.length)e=e.stimulsoft.remove(1,1);for(var r=0,n="",i=e=this.reverseString(e),r=0;r<=i.length-1;r++){var o="",a="",s=0,s=r%6;switch(i[r]){case"0":a="";break;case"1":switch(s){case 0:a=i.length%6==0&&r==i.length-1?this.tC_1:this.tC_01;break;case 1:a=this.tC_10;break;default:a=this.tC_1;break}break;case"2":switch(s){case 1:a=this.tC_20;break;default:a=this.tC_2;break}break;case"3":a=this.tC_3;break;case"4":a=this.tC_4;break;case"5":a=this.tC_5;break;case"6":a=this.tC_6;break;case"7":a=this.tC_7;break;case"8":a=this.tC_8;break;case"9":a=this.tC_9;break}if(!l.isNullOrEmpty(a)||r%6==0)switch(s){case 0:o=r/6<=0?"":this.tC_1000000;break;case 1:o=a==this.tC_10?"":this.tC_10;break;case 2:o=this.tC_100;break;case 3:o=this.tC_1000;break;case 4:o=this.tC_10000;break;case 5:o=this.tC_100000;break}n=a+o+n}return l.isNullOrEmpty(n)&&(n=this.tC_0),n},u.reverseString=function(t){var t=t.split("");return i.reverse(t),t.join("")},u.toWordsUa=function(t,e,r){return void 0===e&&(e=!0),void 0===r&&(r=n.Report.Func.Gender.Masculine),o.Func.Ua.numToStr(t,e,r)},u.dateToStrUa=function(t,e){return void 0===e&&(e=!1),o.Func.Ua.dateToStr(t,e)},u.toCurrencyWordsUa=function(t,e,r,n){return void 0===e&&(e=!0),void 0===r&&(r="UAH"),void 0===n&&(n=!0),o.Func.Ua.currToStr(t,e,r,n)},u.toWordsPt=function(t,e){return o.Func.Pt.numToStr(t,e)},u.toCurrencyWordsPt=function(t,e,r){return o.Func.Pt.currToStr(t,e,r)},u.toCurrencyWordsPtBr=function(t){return o.Func.PtBr.numToStr(t)},u.DateToStrPt=function(t){return o.Func.Pt.dateToStr(t)},u.dateToStrPtBr=function(t){return o.Func.Pt.dateToStr(t).toLowerCase()},u.toCurrencyWordsFr=function(t,e,r){return o.Func.Fr.convertToWord(t,e,r)},u.toCurrencyWordsEs=function(t,e,r){return o.Func.Es.convertToWord(t,e,r)},u.toWordsEs=function(t,e){return o.Func.Es.numToStr(t,e)},u.toWordsEs2=function(t,e,r){return o.Func.Es.numToStr2(t,e,r)},u.toCurrencyWordsNl=function(t,e,r){return o.Func.Nl.convertToWord(t,e,r)},u.toCurrencyWordsEnGb=function(t,e,r){return o.Func.EnGb.convertToWord(t,e,r)},u.toWordsPl=function(t,e){return o.Func.Pl.numToStr(t,e)},u.dateToStrPl=function(t,e){return o.Func.Pl.dateToStr(t,e)},u.toCurrencyWordsPl=function(t,e,r,n){return o.Func.Pl.currToStr(t,e,r,n)},u.toWordsEnIn=function(t,e){return o.Func.EnIn.numberToStr(t,e)},u.toCurrencyWordsEnIn=function(t,e,r,n,i){return void 0===i&&(i=!1),o.Func.EnIn.currencyToStr(t,e,r,n,i)},u.toWordsFa=function(t){return o.Func.Fa.convertToWord(t)},u.toWordsZh=function(t){return o.Func.Zh.toWordsZh(t)},u.toCurrencyWordsZh=function(t){return o.Func.Zh.toCurrencyWordsZh(t)},u.toWordsTr=function(t){return o.Func.Tr.numToStr(t)},u.toCurrencyWordsTr=function(t){return o.Func.Tr.currToStr(t)},u.toCurrencyWordsTr2=function(t,e,r){return o.Func.Tr.currToStr(t,e,r)},u.toWordsAr=function(t){return o.Func.Ar.numToStr(t,"","").trim()},u.toCurrencyWordsAr=function(t,e,r){return o.Func.Ar.numToStr(t,e,r)},u.isCreated=!1,u.tC_0="ศูนย์",u.tC_1="หนึ่ง",u.tC_2="สอง",u.tC_3="สาม",u.tC_4="สี่",u.tC_5="ห้า",u.tC_6="หก",u.tC_7="เจ็ด",u.tC_8="แปด",u.tC_9="เก้า",u.tC_01="เอ็ด",u.tC_10="สิบ",u.tC_20="ยี่",u.tC_100="ร้อย",u.tC_1000="พัน",u.tC_10000="หมื่น",u.tC_100000="แสน",u.tC_1000000="ล้าน",u.tC_Baht="บาท",u.tC_Satang="สตางค์",u.tC_Complete="ถ้วน",s=u,r.StiFunctionsStrings=s}(Stimulsoft=Stimulsoft||{}),function(t){var e,r,n,i;function o(){}r=e=t.Report||(t.Report={}),i=n=r.Dictionary||(r.Dictionary={}),o.create=function(){0==o.isCreated&&(i.StiFunctions.addFunction("Totals","Max","Max","Function returns the largest value in the specified column or expression.","IsNull",t.System.Decimal,"A decimal number.",[Object],["expression"],["Expression - can be a decimal field in the data souce or formula which returns decimal number."]),i.StiFunctions.addFunction("Totals","Max","Max","A function returns the largest value in the specified column or expression.","IsNull",t.System.Decimal,"A decimal number.",[Object,Object],["dataSource","expression"],["The Data Source for processing.","An expression on what to perform the aggregation."]),i.StiFunctions.addFunction("Totals","Max","MaxD","Function returns the largest value in the specified column or expression.","IsNull",t.System.Double,"A floating-point number.",[Object],["expression"],["An expression on what to perform the aggregation."]),i.StiFunctions.addFunction("Totals","Max","MaxD","A function returns the largest value in the specified column or expression.","IsNull",t.System.Double,"A floating-point number.",[Object,Object],["dataSource","expression"],["The Data Source for processing.","An expression on what to perform the aggregation."]),i.StiFunctions.addFunction("Totals","Max","MaxI","A function returns the largest value in the specified column or expression.","IsNull",t.System.Int64,"An integer number.",[Object],["expression"],["An expression on what to perform the aggregation."]),i.StiFunctions.addFunction("Totals","Max","MaxI","A function returns the largest value in the specified column or expression.","IsNull",t.System.Int64,"An integer number.",[Object,Object],["dataSource","expression"],["The Data Source for processing.","An expression on what to perform the aggregation."]),i.StiFunctions.addFunction("Totals","Max","MaxDate","A function returns the largest value in the specified column or expression.","IsNull",t.System.DateTime,"A DateTime value.",[Object],["expression"],["An expression on what to perform the aggregation."]),i.StiFunctions.addFunction("Totals","Max","MaxDate","A function returns the largest value in the specified column or expression.","IsNull",t.System.DateTime,"A DateTime value.",[Object,Object],["dataSource","expression"],["The Data Source for processing.","An expression on what to perform the aggregation."]),i.StiFunctions.addFunction("Totals","Max","MaxTime","A function returns the largest value in the specified column or expression.","IsNull",t.System.TimeSpan,"A TimeSpan value.",[Object],["expression"],["An expression on what to perform the aggregation."]),i.StiFunctions.addFunction("Totals","Max","MaxTime","A function returns the largest value in the specified column or expression.","IsNull",t.System.TimeSpan,"A TimeSpan value.",[Object,Object],["dataSource","expression"],["The Data Source for processing.","An expression on what to perform the aggregation."]),i.StiFunctions.addFunction("Totals","Max","MaxStr","The function adds string values and sorts them alphabetically. Then returns the bottom value from the sorted list.","IsNull",String,"A string.",[Object],["expression"],["An expression on what to perform the aggregation."]),i.StiFunctions.addFunction("Totals","Max","MaxStr","The function adds string values and sorts them alphabetically. Then returns the bottom value from the sorted list.","IsNull",String,"A string.",[Object,Object],["dataSource","expression"],["The Data Source for processing.","An expression on what to perform the aggregation."]),i.StiFunctions.addFunction("Totals","Min","Min","A function returns the lowest value in the column or expression.","IsNull",t.System.Decimal,"A decimal number.",[Object],["expression"],["An expression on what to perform the aggregation."]),i.StiFunctions.addFunction("Totals","Min","Min","A function returns the lowest value in the column or expression.","IsNull",t.System.Decimal,"A decimal number.",[Object,Object],["dataSource","expression"],["The Data Source for processing.","An expression on what to perform the aggregation."]),i.StiFunctions.addFunction("Totals","Min","MinD","A function returns the lowest value in the column or expression.","IsNull",t.System.Double,"A floating-point number.",[Object],["expression"],["An expression on what to perform the aggregation."]),i.StiFunctions.addFunction("Totals","Min","MinD","A function returns the lowest value in the column or expression.","IsNull",t.System.Double,"A floating-point number.",[Object,Object],["The DataSource","expression"],["The Data Source for processing.","An expression on what to perform the aggregation."]),i.StiFunctions.addFunction("Totals","Min","MinI","Function returns the lowest value in the column or expression.","IsNull",t.System.Int64,"An integer number.",[Object],["expression"],["An expression on what to perform the aggregation."]),i.StiFunctions.addFunction("Totals","Min","MinI","A function returns the lowest value in the column or expression.","IsNull",t.System.Int64,"An integer number.",[Object,Object],["dataSource","expression"],["The Data Source for processing.","An expression on what to perform the aggregation."]),i.StiFunctions.addFunction("Totals","Min","MinDate","A function returns the lowest value in the column or expression.","IsNull",t.System.DateTime,"The DateTime value.",[Object],["expression"],["An expression on what to perform the aggregation."]),i.StiFunctions.addFunction("Totals","Min","MinDate","A function returns the lowest value in the column or expression.","IsNull",t.System.DateTime,"The DateTime value.",[Object,Object],["dataSource","expression"],["The Data Source for processing.","An expression on what to perform the aggregation."]),i.StiFunctions.addFunction("Totals","Min","MinTime","A function returns the lowest value in the column or expression.","IsNull",t.System.TimeSpan,"The TimeSpan value.",[Object],["expression"],["An expression on what to perform the aggregation."]),i.StiFunctions.addFunction("Totals","Min","MinTime","A function returns the lowest value in the column or expression.","IsNull",t.System.TimeSpan,"The TimeSpan value.",[Object,Object],["dataSource","expression"],["The Data Source for processing.","An expression on what to perform the aggregation."]),i.StiFunctions.addFunction("Totals","Min","MinStr","A function adds string values and sorts them alphabetically. Then returns the top value from the sorted list.","IsNull",String,"The string.",[Object],["expression"],["An expression on what to perform the aggregation."]),i.StiFunctions.addFunction("Totals","Min","MinStr","A function adds string values and sorts them alphabetically. Then returns the top value from the sorted list.","IsNull",String,"The string.",[Object,Object],["dataSource","expression"],["The Data Source for processing.","An expression on what to perform the aggregation."]),i.StiFunctions.addFunction("Totals","Avg","Avg","A function returns the average of all values in the specified column or expression.","IsNull",t.System.Decimal,"A decimal number.",[Object],["expression"],["An expression on what to perform the aggregation."]),i.StiFunctions.addFunction("Totals","Avg","Avg","A function returns the average of all values in the specified column or expression.","IsNull",t.System.Decimal,"A decimal number.",[Object,Object],["dataSource","expression"],["The Data Source for processing.","An expression on which to perform the aggregation."]),i.StiFunctions.addFunction("Totals","Avg","AvgD","A function returns the average of all values in the specified column or expression.","IsNull",t.System.Double,"A floating-point number.",[Object],["expression"],["An expression on what to perform the aggregation."]),i.StiFunctions.addFunction("Totals","Avg","AvgD","A function returns the average of all values in the specified column or expression.","IsNull",t.System.Double,"A floating-point number.",[Object,Object],["dataSource","expression"],["The Data Source for processing.","An expression on what to perform the aggregation."]),i.StiFunctions.addFunction("Totals","Avg","AvgI","A function returns the average of all values in the specified column or expression.","IsNull",t.System.Int64,"A integer number.",[Object],["expression"],["An expression on what to perform the aggregation."]),i.StiFunctions.addFunction("Totals","Avg","AvgI","A function returns the average of all values in the specified column or expression.","IsNull",t.System.Int64,"A integer number.",[Object,Object],["dataSource","expression"],["The Data Source for processing.","An expression on which to perform the aggregation."]),i.StiFunctions.addFunction("Totals","Avg","AvgDate","A function returns the average of all values in the specified column or expression.","IsNull",t.System.DateTime,"A DateTime value.",[Object],["expression"],["An expression on what to perform the aggregation."]),i.StiFunctions.addFunction("Totals","Avg","AvgDate","A function returns the average of all values in the specified column or expression.","IsNull",t.System.DateTime,"The DateTime value.",[Object,Object],["dataSource","expression"],["The Data Source for processing.","An expression on what to perform the aggregation."]),i.StiFunctions.addFunction("Totals","Avg","AvgTime","A function returns the average of all values in the specified column or expression.","IsNull",t.System.TimeSpan,"A TimeSpan value.",[Object],["expression"],["An expression on what to perform the aggregation."]),i.StiFunctions.addFunction("Totals","Avg","AvgTime","A function returns the average of all values in the specified column or expression.","IsNull",t.System.TimeSpan,"The TimeSpan value.",[Object,Object],["dataSource","expression"],["The Data Source for processing.","An expression on what to perform the aggregation."]),i.StiFunctions.addFunction("Totals","Sum","Sum","A function returns the sum of all the values in the specified column or expression.","IsNull",t.System.Decimal,"A decimal number.",[Object],["expression"],["An expression on what to perform the aggregation."]),i.StiFunctions.addFunction("Totals","Sum","Sum","A function returns the sum of all the values in the specified column or expression.","IsNull",t.System.Decimal,"A decimal number.",[Object,Object],["dataSource","expression"],["The Data Source for processing.","An expression on what to perform the aggregation."]),i.StiFunctions.addFunction("Totals","Sum","SumD","A function returns the sum of all the values in the specified column or expression.","IsNull",t.System.Double,"A floating-point number.",[Object],["expression"],["An expression on what to perform the aggregation."]),i.StiFunctions.addFunction("Totals","Sum","SumD","A function returns the sum of all the values in the specified column or expression.","IsNull",t.System.Double,"A floating-point number.",[Object,Object],["dataSource","expression"],["The Data Source for processing.","An expression on what to perform the aggregation."]),i.StiFunctions.addFunction("Totals","Sum","SumI","A function returns the sum of all the values in the specified column or expression.","IsNull",t.System.Int64,"A integer number.",[Object],["expression"],["An expression on what to perform the aggregation."]),i.StiFunctions.addFunction("Totals","Sum","SumI","A function returns the sum of all the values in the specified column or expression.","IsNull",t.System.Int64,"A integer number.",[Object,Object],["dataSource","expression"],["The Data Source for processing.","An expression on what to perform the aggregation."]),i.StiFunctions.addFunction("Totals","Sum","SumDistinct","A function returns the sum of all unique values in the specified column or expression.","IsNull",t.System.Decimal,"A decimal number.",[Object],["expression"],["An expression on what to perform the aggregation."]),i.StiFunctions.addFunction("Totals","Sum","SumDistinct","A function returns the sum of all unique values in the specified column or expression.","IsNull",t.System.Decimal,"A decimal number.",[Object,Object],["dataSource","expression"],["The Data Source for processing.","An expression on what to perform the aggregation."]),i.StiFunctions.addFunction("Totals","Sum","SumDistinct","A function returns the sum of all unique values in the specified column or expression.","IsNull",t.System.Decimal,"A decimal number.",[Object,Object,Object],["dataSource","conditionExpression","sumExpression"],["The Data Source for processing.","A condition expression to perform summing on.","An expression to sum up."]),i.StiFunctions.addFunction("Totals","Sum","SumTime","A function returns the sum of all the values in the specified column or expression.","IsNull",t.System.TimeSpan,"A TimeSpan value.",[Object],["expression"],["An expression on what to perform the aggregation."]),i.StiFunctions.addFunction("Totals","Sum","SumTime","A function returns the sum of all the values in the specified column or expression.","IsNull",t.System.TimeSpan,"The TimeSpan value.",[Object,Object],["dataSource","expression"],["The Data Source for processing.","An expression on what to perform the aggregation."]),i.StiFunctions.addFunction("Totals","Mode","Mode","A function returns the most common value of all the values in the specified column or expression.","IsNull",t.System.Decimal,"A decimal number.",[Object],["expression"],["An expression on what to perform the aggregation."]),i.StiFunctions.addFunction("Totals","Mode","Mode","A function returns the most common value of all the values in the specified column or expression.","IsNull",t.System.Decimal,"A decimal number.",[Object,Object],["dataSource","expression"],["The Data Source for processing.","An expression on what to perform the aggregation."]),i.StiFunctions.addFunction("Totals","Mode","ModeD","A Function returns the most common value of all the values in the specified column or expression.","IsNull",t.System.Double,"A floating-point number.",[Object],["expression"],["An expression on what to perform the aggregation."]),i.StiFunctions.addFunction("Totals","Mode","ModeD","A function returns the most common value of all the values in the specified column or expression.","IsNull",t.System.Double,"A floating-point number.",[Object,Object],["dataSource","expression"],["The Data Source for processing.","An expression on what to perform the aggregation."]),i.StiFunctions.addFunction("Totals","Mode","ModeI","A function returns the most common value of all the values in the specified column or expression.","IsNull",t.System.Int64,"A integer number.",[Object],["expression"],["An expression on what to perform the aggregation."]),i.StiFunctions.addFunction("Totals","Mode","ModeI","A function returns the most common value of all the values in the specified column or expression.","IsNull",t.System.Int64,"A integer number.",[Object,Object],["dataSource","expression"],["The Data Source for processing.","An expression on what to perform the aggregation."]),i.StiFunctions.addFunction("Totals","Median","Median","A function returns the median of the given numbers in the specified column or expression.","IsNull",t.System.Decimal,"A decimal number.",[Object],["expression"],["An expression on what to perform the aggregation."]),i.StiFunctions.addFunction("Totals","Median","Median","A function returns the median of the given numbers in the specified column or expression.","IsNull",t.System.Decimal,"A decimal number.",[Object,Object],["dataSource","expression"],["The Data Source for processing.","An expression on what to perform the aggregation."]),i.StiFunctions.addFunction("Totals","Median","MedianD","A function returns the median of the given numbers in the specified column or expression.","IsNull",t.System.Double,"A floating-point number.",[Object],["expression"],["An expression on what to perform the aggregation."]),i.StiFunctions.addFunction("Totals","Median","MedianD","A function returns the median of the given numbers in the specified column or expression.","IsNull",t.System.Double,"A floating-point number.",[Object,Object],["dataSource","expression"],["The Data Source for processing.","An expression on what to perform the aggregation."]),i.StiFunctions.addFunction("Totals","Median","MedianI","A function returns the median of the given numbers in the specified column or expression.","IsNull",t.System.Int64,"An integer number.",[Object],["expression"],["An expression on what to perform the aggregation."]),i.StiFunctions.addFunction("Totals","Median","MedianI","A function returns the median of the given numbers in the specified column or expression.","IsNull",t.System.Int64,"A integer number.",[Object,Object],["dataSource","expression"],["The Data Source for processing.","An expression on what to perform the aggregation."]),i.StiFunctions.addFunction("Totals","First","First","A function returns the first value in a set of the given values in the specified column or expression.","IsNull",Object,"A first value in a set of the given values.",[Object],["expression"],["An expression on what to perform the aggregation."]),i.StiFunctions.addFunction("Totals","First","First","A function returns the first value in a set of the given values in the specified column or expression.","IsNull",Object,"The first value in a set of given values.",[Object,Object],["dataSource","expression"],["The Data Source for processing.","An expression on what to perform the aggregation."]),i.StiFunctions.addFunction("Totals","Last","Last","A function returns the last value in a set of given values in the specified column or expression.","IsNull",Object,"A first value in a set of the given values.",[Object],["expression"],["An expression on what to perform the aggregation."]),i.StiFunctions.addFunction("Totals","Last","Last","A function returns the last value in a set of given values in the specified column or expression.","IsNull",Object,"The first value in a set of given values.",[Object,Object],["dataSource","expression"],["The Data Source for processing.","An expression on what to perform the aggregation."]),i.StiFunctions.addFunction("Totals","Count","Count","A function counts how many values are in the specified data source.","IsNull",t.System.Int64,"An integer number.",[Object],["dataSource"],["The Data Source for processing."]),i.StiFunctions.addFunction("Totals","Count","Count","A function counts how many values are in the specified data source.","IsNull",t.System.Int64,"An integer number."),i.StiFunctions.addFunction("Totals","Count","CountDistinct","A function counts how many unique values are in the specified data source.","IsNull",t.System.Int64,"An integer number.",[Object,Object],["dataSource","expression"],["The Data Source for processing.","An expression on what to perform the aggregation."]),i.StiFunctions.addFunction("Totals","Count","CountDistinct","A function counts how many unique values are in the specified data source.","IsNull",t.System.Int64,"An integer number.",[Object],["expression"],["An expression on what to perform the aggregation."]),i.StiFunctions.addFunction("Totals","Rank","Rank","A function returns a rank of the number in the list of numbers from the specified data source. Works only with 'Totals' prefix.","IsNull",t.System.Int64,"An integer number.",[Object,Object],["dataSource","expression"],["The Data Source for processing.","An expression on what to perform the calculation."]),i.StiFunctions.addFunction("Totals","Rank","Rank","A function returns a rank of the number in the list of numbers from the specified data source. Works only with 'Totals' prefix.","IsNull",t.System.Int64,"An integer number.",[Object,Object,Boolean,Object],["dataSource","expression","dense","sortOrder"],["The Data Source for processing.","An expression on what to perform the calculation.","Use dense rank mode.","Sorting order."]),o.isCreated=!0)},o.isCreated=!1,r=o,i.StiFunctionsTotals=r}(Stimulsoft=Stimulsoft||{}),function(t){var e,r,n,t;function i(t){this._alias=t}r=e=t.Report||(t.Report={}),t=n=r.Dictionary||(r.Dictionary={}),Object.defineProperty(i.prototype,"alias",{get:function(){return this._alias},set:function(t){this._alias=t},enumerable:!1,configurable:!0}),r=i,t.StiAliasAttribute=r}(Stimulsoft=Stimulsoft||{}),function(S){var t,e,r,n,a,y;function i(t,e,r,n){this.businessObject=null,this.businessObject=e,this.sortColumns=t,this.conditions=n,this.rowToConditions=r}e=t=S.Report||(S.Report={}),n=r=e.Dictionary||(e.Dictionary={}),a=S.System.Data.DBNull,y=S.Report.Components.StiGroupSortDirection,i.prototype.compare=function(t,e){try{if(t==e)return 0;if(null!=this.rowToConditions&&null!=this.conditions)for(var r=this.rowToConditions.get(t),n=this.rowToConditions.get(e),i=this.conditions.length,o=0;o<i;o++){var a=this.conditions[r][o][0],s=this.conditions[n][o][0],l=+this.conditions[r][o][1],l=this.compareValues(a,s,l==y.Ascending);if(0==l)continue;return l}if(null==this.sortColumns||0==this.sortColumns.length)return 0;var u=0,c=0;while(c<this.sortColumns.length){var p=!1;"ASC"==this.sortColumns[c++]&&(p=!0);var h=c;while(c<this.sortColumns.length&&"ASC"!=this.sortColumns[c]&&"DESC"!=this.sortColumns[c])c++;var m=t,d=e,g;1<c-h&&(g=h);var f=this.sortColumns[c-1];u++}return 0}catch(t){return S.System.StiError.showError(t,!1),0}},i.prototype.compareValues=function(t,e,r){void 0===r&&(r=!0);var n=r?1:-1,i,o;if(t==a.value&&e==a.value)return 0;if(t==a.value)return-1*n;if(e==a.value)return 1*n;if(null==t&&null==e)return 0;if(null==t)return-1*n;if(null==e)return 1*n;if(t!=e){var e=t.compareTo(e);if(r||(e=-e),0!=e)return e}return 0},i.prototype.clear=function(){this.sortColumns=null},e=i,n.StiBusinessObjectSort=e}(Stimulsoft=Stimulsoft||{}),function(t){var e,r,n,i,o,a;function s(t,e,r,n,i){this.name=t,this.parentTableName=e,this.childTableName=r,this.parentColumnName=n,this.childColumnName=i}function l(){this.dataSet=null,this.relations=null,this.uniques=null,this.level=0}r=e=t.Report||(t.Report={}),i=n=r.Dictionary||(r.Dictionary={}),o=t.System.Data.DataSet,a=s,l.prototype.convertBusinessObjectToDataSet=function(t,e){var r;return new o(t)},r=l,i.StiBusinessObjectToDataSet=r}(Stimulsoft=Stimulsoft||{}),function(t){var e,r,n,i,o,a,s;function l(t,e,r,n,i){void 0===t&&(t="CalcColumn"),void 0===e&&(e="CalcColumn"),void 0===r&&(r=new a),void 0===n&&(n=""),void 0===i&&(i="");var r=s.call(this,t,t,e,r)||this;return r._value=n,""!=i&&(r.key=i),r}r=e=t.Report||(t.Report={}),i=n=r.Dictionary||(r.Dictionary={}),o=t.Base.IStiAppCalcDataColumn,a=t.System.Type,s=i.StiDataColumn,__extends(l,s),l.prototype.implements=function(){return l.ImplementsStiCalcDataColumn||(l.ImplementsStiCalcDataColumn=s.prototype.implements.call(this).concat([o])),l.ImplementsStiCalcDataColumn},l.prototype.saveToJsonObject=function(t){var t=s.prototype.saveToJsonObject.call(this,t);return t.addPropertyIdent("Ident","Calc"),t.addPropertyString("Expression",this.expression),t},l.prototype.loadFromJsonObject=function(t){var e,r;s.prototype.loadFromJsonObject.call(this,t);try{for(var n=__values(t.properties()),i=n.next();!i.done;i=n.next()){var o=i.value;switch(o.name){case"Expression":this.expression=o.value;break}}}catch(t){e={error:t}}finally{try{i&&!i.done&&(r=n.return)&&r.call(n)}finally{if(e)throw e.error}}},Object.defineProperty(l.prototype,"value",{get:function(){return this._value},set:function(t){this._value=t},enumerable:!1,configurable:!0}),Object.defineProperty(l.prototype,"expression",{get:function(){return this.value},set:function(t){this.value=t},enumerable:!1,configurable:!0}),r=l,i.StiCalcDataColumn=r}(Stimulsoft=Stimulsoft||{}),function(t){var e,r,n,t;function i(t,e,r){this.OriginalConnectionState=null,this._name=t,this._data=e,(this._viewData=r)||(this._viewData=e)}r=e=t.Report||(t.Report={}),t=n=r.Dictionary||(r.Dictionary={}),Object.defineProperty(i.prototype,"viewData",{get:function(){return this._viewData},set:function(t){this._viewData=t},enumerable:!1,configurable:!0}),Object.defineProperty(i.prototype,"data",{get:function(){return this._data},set:function(t){this._data=t},enumerable:!1,configurable:!0}),Object.defineProperty(i.prototype,"name",{get:function(){return this._name},set:function(t){this._name!=t&&(this._alias==name&&(this._alias=t),this._name=t)},enumerable:!1,configurable:!0}),Object.defineProperty(i.prototype,"alias",{get:function(){return this._alias},set:function(t){this._alias=t},enumerable:!1,configurable:!0}),Object.defineProperty(i.prototype,"isReportData",{get:function(){return this._isReportData},set:function(t){this._isReportData=t},enumerable:!1,configurable:!0}),Object.defineProperty(i.prototype,"isBusinessObjectData",{get:function(){return this._isReportData},set:function(t){this._isBusinessObjectData=t},enumerable:!1,configurable:!0}),i.prototype.toString=function(){return this.name==this.alias?this.name+"("+this.viewData.stimulsoft.getTypeName()+")":this.name+"("+this.alias+")"},r=i,t.StiData=r}(Stimulsoft=Stimulsoft||{}),function(t){var e,r,n,s,i,o;function l(){}r=e=t.Report||(t.Report={}),n=t.System.StiString,s=t.System.Char,i=t.System.Collections.Hashtable,o=t.Report.CodeDom.StiCodeGenerator,l.correctName=function(t,e,r){if(void 0===e&&(e=!0),void 0===r&&(r=null),null==t||0==t.length)return"";var n="_"+t;if(l.cache.contains(n)){var i=l.cache.get(n);if("boolean"==typeof i)return t;return i}for(var o=t,a=0;a<o.length;a++)s.isLetterOrDigit(o.charAt(a))||(o=o.substr(0,a)+"_"+o.substr(a+1));return 0<o.length&&s.isDigit(o.charAt(0))&&(o="n"+o),e&&(t=this.checkKeyword(t,r)),t==o?l.cache.add(n,!0):l.cache.add(n,o),o},l.checkKeyword=function(t,e){if(o.isKeywordExist(t)){if("date"==t)return t;return t+"_"}return t},l.correctBusinessObjectName=function(t){if(n.isNullOrEmpty(t))return"";for(var e=t.split("."),r=0;r<e.length;r++)t+=l.correctName(e[r]),r<e.length-1&&(t+=".");return t},l.cache=new i,i=l,r.StiNameValidator=i}(Stimulsoft=Stimulsoft||{}),function(t){var e,r,n,i,S;function o(){}r=e=t.Report||(t.Report={}),i=n=r.Dictionary||(r.Dictionary={}),S=t.Report.StiNameValidator,o.getColumnFromPath=function(t,e){var r,n,i,o=t.split(".")[0];try{for(var a=__values(e.dataSources.list),s=a.next();!s.done;s=a.next()){var l=s.value;if(S.correctName(l.name)==o&&t.length>l.name.length+1){var u=t.substring(l.name.length+1);return this.getColumnFromPath2(u,l)}}}catch(t){r={error:t}}finally{try{s&&!s.done&&(n=a.return)&&n.call(a)}finally{if(r)throw r.error}}return null},o.getColumnFromPath2=function(t,e){var r,n,i,o,a=t.split("."),s=0,l=a[s];while(1==1){try{for(var u=(r=void 0,__values(e.columns.list)),c=u.next();!c.done;c=u.next()){var p=c.value;if(S.correctName(p.name)==l&&s==a.length-1)return p}}catch(t){r={error:t}}finally{try{c&&!c.done&&(n=u.return)&&n.call(u)}finally{if(r)throw r.error}}var h=e.getParentRelations();try{for(var m=(i=void 0,__values(h.list)),d=m.next();!d.done;d=m.next()){var g=d.value;if(S.correctName(g.name)==l){var f=t.substring(g.name.length+1);return this.getColumnFromPath2(f,g.parentSource)}}}catch(t){i={error:t}}finally{try{d&&!d.done&&(o=m.return)&&o.call(m)}finally{if(i)throw i.error}}if(s==a.length-1)return null;l+="."+a[++s]}return null},r=o,i.StiDataBuilder=r}(Stimulsoft=Stimulsoft||{}),function(m){var t,e,r,d,g,f,S,y,n;function A(){return null!==n&&n.apply(this,arguments)||this}e=t=m.Report||(m.Report={}),d=r=e.Dictionary||(e.Dictionary={}),g=m.System.StiString,e=m.System.Collections.CollectionBase,f=m.System.Data.DataTable,S=m.System.Data.DataSet,
y=m.System.Data.JsonRelationDirection,__extends(A,n=e),A.prototype.getByName=function(t){var e,r;t=t.toLowerCase();try{for(var n=__values(this.list),i=n.next();!i.done;i=n.next()){var o=i.value;if(o.name.toLowerCase()==t)return o}}catch(t){e={error:t}}finally{try{i&&!i.done&&(r=n.return)&&r.call(n)}finally{if(e)throw e.error}}return null},A.prototype.setByName=function(t,e){for(var r=t.toLowerCase(),n=0,i;n<this.list.length;n++){if(this.getByIndex(n).name.toLowerCase()==r)return void(this.list[n]=e)}this.add(e)},A.prototype.regData=function(t,e,r,n){var i,o;if(void 0===n&&(n=y.ParentToChild),null!=r){if(g.isNullOrEmpty(e)&&!g.isNullOrEmpty(t)&&(e=t),r.stimulsoft.is(f))return void(g.isNullOrEmpty(e)?this.regDataDataTable2(r):this.regDataDataTable(t,e,r));if(r.stimulsoft.is(S))return g.isNullOrEmpty(e)&&this.regDataDataSet2(r),void this.regDataDataSet(t,e,r);if("string"==typeof r)try{var a=new S(t);return r.trim().stimulsoft.startsWith("<?xml")?a.readXml(r):a.readJson(r,n),void this.regDataDataSet(t,e,a)}catch(t){m.System.StiError.showError(t,!1)}if(r.stimulsoft.is(A))return void this.regDataStiDataCollection(r);if(r.stimulsoft.is(Object))try{var s=new S(t);return void 0!==r["firstChild"]&&void 0!==r["lastChild"]?s.readXml(r):s.readJson(r,n),void this.regDataDataSet(t,e,s)}catch(t){m.System.StiError.showError(t,!1)}var l,u=(new d.StiBusinessObjectToDataSet).convertBusinessObjectToDataSet(t,r);if(null!=u)try{for(var c=__values(u.tables.list),p=c.next();!p.done;p=c.next()){var h=p.value;this.regDataDataTable(h.tableName,e,h),this.getByIndex(this.length-1).data=r,this.getByIndex(this.length-1).isBusinessObjectData=!0}}catch(t){i={error:t}}finally{try{p&&!p.done&&(o=c.return)&&o.call(c)}finally{if(i)throw i.error}}else this.add(new d.StiData(t,r)),this.getByIndex(this.length-1).alias=e,this.getByIndex(this.length-1).isBusinessObjectData=!0}},A.prototype.regDataDataTable=function(t,e,r){null!=r&&(null==this.getByName(t)?(this.add(new d.StiData(t,r,r)),this.getByIndex(this.length-1).alias=e):(this.getByName(t).data=r,this.getByName(t).viewData=r,this.getByName(t).alias=e))},A.prototype.regDataDataSet=function(t,e,r){var n,i;if(null!=r)try{for(var o=__values(r.tables.list),a=o.next();!a.done;a=o.next()){var s=a.value;this.regDataDataTable(t+"."+s.tableName,e,s)}}catch(t){n={error:t}}finally{try{a&&!a.done&&(i=o.return)&&i.call(o)}finally{if(n)throw n.error}}},A.prototype.regDataDataTable2=function(t){var e=t.tableName;g.isNullOrEmpty(e)&&(e="Table"),this.regData(e,"",t)},A.prototype.regDataDataSet2=function(t){var e=t.dataSetName;g.isNullOrEmpty(t.dataSetName)&&(e="DataSet"),this.regData(e,"",t)},A.prototype.regDataStiDataCollection=function(t){var e,r;if(t==this)return;try{for(var n=__values(t.list),i=n.next();!i.done;i=n.next()){var o=i.value;this.add(o)}}catch(t){e={error:t}}finally{try{i&&!i.done&&(r=n.return)&&r.call(n)}finally{if(e)throw e.error}}},A.prototype.clearReportDatabase=function(){var t=0;while(t<this.length)this.getByIndex(t).isReportData?this.removeAt(t):t++},A.prototype.contains=function(t){if(t.stimulsoft.is(d.StiData))return this.list.stimulsoft.contains(t.stimulsoft.as(d.StiData));if("string"==typeof t)return null!=this.getByName(t);return!1},A.prototype.getData=function(t){var e,r,n=new A;try{for(var i=__values(this.list),o=i.next();!o.done;o=i.next()){var a=o.value;a.viewData.stimulsoft.getType()==t&&n.add(a)}}catch(t){e={error:t}}finally{try{o&&!o.done&&(r=i.return)&&r.call(i)}finally{if(e)throw e.error}}return n},e=A,d.StiDataCollection=e}(Stimulsoft=Stimulsoft||{}),function(s){var t,e,r,u,l,n,i,o,c,a,p,h,m;function d(t){var e=m.call(this)||this,r;return e.cachedDataColumns=new o,e.directionFactor=1,null!=t&&(Array.isArray(t)?(r=void 0,0<t.length&&(t[0].stimulsoft.is(u.StiDataColumn)?r=t:t[0].stimulsoft.is(n)&&(r=t.stimulsoft.toList().select(function(t){return new u.StiDataColumn(t.columnName,t.columnName,t.columnName,t.dataType)})),e.addRange(r))):t.is(u.StiDataSource)?e.dataSource=t:t.is(u.StiBusinessObject)&&(e.businessObject=t)),e}e=t=s.Report||(s.Report={}),u=r=e.Dictionary||(e.Dictionary={}),l=s.System.Enum,n=s.System.Data.DataColumn,e=s.System.Collections.CollectionBase,i=s.System.Type,o=s.System.Collections.Hashtable,c=s.Base.StiJson,a=s.Base.JsonReportObject.IStiJsonReportObject,p=s.System.Text.XMLConvert,h=s.Base.StiTypeFinder,__extends(d,m=e),d.prototype.implements=function(){return[a]},d.prototype.saveToJsonObject=function(t){var e,r;if(0==this.list.length)return null;var n=new c,i=0;try{for(var o=__values(this.list),a=o.next();!a.done;a=o.next()){var s=a.value;n.addPropertyJObject(i.toString(),s.saveToJsonObject(t)),i++}}catch(t){e={error:t}}finally{try{a&&!a.done&&(r=o.return)&&r.call(o)}finally{if(e)throw e.error}}return n},d.prototype.loadFromJsonObject=function(t){var e,r;try{for(var n=__values(t.properties()),i=n.next();!i.done;i=n.next()){var o=i.value,a=null,s,l=o.value.properties().firstOrDefault(function(t){return"Ident"==t.name}),a;(a=new(null!=l&&"Calc"==l.value?u.StiCalcDataColumn:null!=l&&"Transform"==l.value?u.StiDataTransformationColumn:u.StiDataColumn)).loadFromJsonObject(o.value),this.add(a)}}catch(t){e={error:t}}finally{try{i&&!i.done&&(r=n.return)&&r.call(n)}finally{if(e)throw e.error}}},d.prototype.decodeTypeName=function(t){return t.stimulsoft.replaceAll("_x002c_",",")},d.prototype.loadFromXml=function(t){for(var e=0;e<t.childNodes.length;e++){var r=t.childNodes[e];if("value"==r.nodeName){var n=r.textContent.split(",");if(7==n.length||6==n.length)if("CALC"==n[0]){var i=String;try{i=h.getStiType(this.decodeTypeName(n[3]))}catch(t){s.System.StiError.showError(t,!1)}var o=new u.StiCalcDataColumn(p.decodeName(n[1]),p.decodeName(n[2]),i,p.decodeName(n[4]),p.decodeName(n[5]));this.add(o)}else if("TRANSFORM"==n[0]){var i=h.getStiType(this.decodeTypeName(n[3]));i=d.checkType(this.decodeTypeName(n[2]),i);var a=6==n.length?u.StiDataTransformationMode.Dimension:l.parse(u.StiDataTransformationMode,p.decodeName(n[6])),a=new u.StiDataTransformationColumn(p.decodeName(n[1]),p.decodeName(n[2]),i,p.decodeName(n[4]),p.decodeName(n[5]),a);this.add(a)}else{var i=String;try{i=h.getStiType(this.decodeTypeName(n[4]))}catch(t){s.System.StiError.showError(t,!1)}var a=new u.StiDataColumn(p.decodeName(n[1]),p.decodeName(n[2]),p.decodeName(n[3]),i,p.decodeName(n[5]));this.add(a)}else if(5==n.length)if("ORIGINAL"==n[0]){var i=String;try{i=h.getStiType(this.decodeTypeName(n[4]))}catch(t){s.System.StiError.showError(t,!1)}var a=new u.StiDataColumn(p.decodeName(n[1]),p.decodeName(n[2]),p.decodeName(n[3]),i);this.add(a)}else{var i=String;try{i=h.getStiType(this.decodeTypeName(n[2]))}catch(t){s.System.StiError.showError(t,!1)}var o=new u.StiCalcDataColumn(p.decodeName(n[0]),p.decodeName(n[1]),i,p.decodeName(n[4]));this.add(o)}else if(4==n.length){var i=String;try{i=h.getStiType(this.decodeTypeName(n[2]))}catch(t){s.System.StiError.showError(t,!1)}var o=new u.StiCalcDataColumn(p.decodeName(n[0]),p.decodeName(n[1]),i,p.decodeName(n[3]));this.add(o)}else if(3==n.length){var i=String;try{i=h.getStiType(this.decodeTypeName(n[2]))}catch(t){s.System.StiError.showError(t,!1)}var a=new u.StiDataColumn(p.decodeName(n[0]),p.decodeName(n[0]),p.decodeName(n[1]),i);this.add(a)}else{var i=String;try{i=h.getStiType(this.decodeTypeName(n[1]))}catch(t){s.System.StiError.showError(t,!1)}var a=new u.StiDataColumn(p.decodeName(n[0]),p.decodeName(n[0]),p.decodeName(n[0]),i);this.add(a)}}}},d.checkType=function(t,e){return null==e&&(e=Object),e},d.prototype.onInsert=function(t){var t=t;null!=t&&(null==t.dataSource&&(t.dataSource=this.dataSource),null==t.businessObject&&(t.businessObject=this.businessObject),null==t.dataColumnsCollection&&(t.dataColumnsCollection=this))},d.prototype.add=function(t,e,r){var r;t.stimulsoft.is(u.StiDataColumn)&&(this.list.push(t.stimulsoft.as(u.StiDataColumn)),this.onInsert(t)),"string"==typeof t&&null!=e&&e.stimulsoft.is(i)&&this.add(t,t,e),"string"==typeof t&&null!=e&&"string"==typeof e&&null!=r&&(r=new u.StiDataColumn("",t,e,r),this.add(r),this.onInsert(r))},d.prototype.contains=function(t){var e,r;if("string"==typeof t)try{for(var n=__values(this.list),i=n.next(),o;!i.done;i=n.next()){if(i.value.name==t)return!0}}catch(t){e={error:t}}finally{try{i&&!i.done&&(r=n.return)&&r.call(n)}finally{if(e)throw e.error}}else if(t.is(u.StiDataColumn))return this.list.stimulsoft.contains(t);return!1},d.prototype.insert=function(t,e){this.list.stimulsoft.insert(t,e),this.onInsert(e)},d.prototype.remove=function(t){this.list.stimulsoft.remove(t);var t=t.name.toLowerCase();this.cachedDataColumns.contains(t)&&this.cachedDataColumns.remove(t)},d.prototype.getByName=function(t){var e,r;t=t.toLowerCase();var n=this.cachedDataColumns.get(t);if(null!=n)return n;try{for(var i=__values(this.list),o=i.next();!o.done;o=i.next()){var a=o.value;if(a.name.toLowerCase()==t)return this.cachedDataColumns.set(t,a),a}}catch(t){e={error:t}}finally{try{o&&!o.done&&(r=i.return)&&r.call(i)}finally{if(e)throw e.error}}return null},d.prototype.setByName=function(t,e){t=t.toLowerCase();for(var r=0,n;r<this.list.length;r++){if(this.getByIndex(r).name.toLowerCase()==t)return void(this.list[r]=e)}this.add(e)},d.prototype.sort=function(t){t==u.StiSortOrder.Asc?this.directionFactor=1:this.directionFactor=-1,this.list.sort()},e=d,u.StiDataColumnsCollection=e}(Stimulsoft=Stimulsoft||{}),function(t){var e,r,n,i,o,a,s,l;function u(t,e,r,n,i){var o=s.call(this)||this;return o.dataParametersCollection=null,o._inherited=!1,o._type=0,o._size=0,(o._key=null)==t&&(t="Parameter"),null==e&&(t=""),null==r&&(r=0),null==n&&(n=0),o._type=r,o._name=t,o.value=e,o._size=n,null!=i&&(o._key=i),o}r=e=t.Report||(t.Report={}),i=n=r.Dictionary||(r.Dictionary={}),o=t.Report.Expressions.StiExpression,a=t.Base.JsonReportObject.IStiJsonReportObject,__extends(u,s=o),u.prototype.implements=function(){return[r.IStiName,a]},u.prototype.saveToJsonObject=function(t){var t=s.prototype.saveToJsonObject.call(this,t);return t.removeProperty("Value"),t.addPropertyString("Name",this.name),t.addPropertyStringNullOrEmpty("Expression",this.expression),t.addPropertyNumber("Type",this.type),t.addPropertyNumber("Size",this.size),t.addPropertyStringNullOrEmpty("Key",this.key),t},u.prototype.loadFromJsonObject=function(t){var e,r;s.prototype.loadFromJsonObject.call(this,t);try{for(var n=__values(t.properties()),i=n.next();!i.done;i=n.next()){var o=i.value;switch(o.name){case"Name":this._name=o.value;break;case"Expression":this.expression=o.value;break;case"Type":this._type=o.value.stimulsoft.toNumber();break;case"Size":this._size=o.value.stimulsoft.toNumber();break;case"Key":this._key=o.value;break}}}catch(t){e={error:t}}finally{try{i&&!i.done&&(r=n.return)&&r.call(n)}finally{if(e)throw e.error}}},Object.defineProperty(u.prototype,"inherited",{get:function(){if(null!=this.dataSource)return this.dataSource.inherited;return!1},set:function(t){this._inherited=t},enumerable:!1,configurable:!0}),Object.defineProperty(u.prototype,"name",{get:function(){return this._name},set:function(t){this._name=t},enumerable:!1,configurable:!0}),Object.defineProperty(u.prototype,"applyFormat",{get:function(){return!1},enumerable:!1,configurable:!0}),Object.defineProperty(u.prototype,"expression",{get:function(){return this.value},set:function(t){this.value=t},enumerable:!1,configurable:!0}),u.prototype.getParameterValue=function(){var t=null;null!=this.dataSource&&null!=this.dataSource.dictionary&&null!=this.dataSource.dictionary.report&&(t=this.dataSource.dictionary.report.variables);var e=null;return null!=t&&t.containsKey(this.name)?"string"==typeof(e=t.get(this.name))&&"#null#"==e&&(e=null):e=this.parameterValue,e},Object.defineProperty(u.prototype,"parameterValue",{get:function(){return this._parameterValue},set:function(t){this._parameterValue=t},enumerable:!1,configurable:!0}),Object.defineProperty(u.prototype,"dataSource",{get:function(){return this._dataSource},set:function(t){this._dataSource=t},enumerable:!1,configurable:!0}),Object.defineProperty(u.prototype,"type",{get:function(){return this._type},set:function(t){this._type=t},enumerable:!1,configurable:!0}),Object.defineProperty(u.prototype,"size",{get:function(){return this._size},set:function(t){this._size=t},enumerable:!1,configurable:!0}),Object.defineProperty(u.prototype,"key",{get:function(){return this._key},set:function(t){this._key=t},enumerable:!1,configurable:!0}),u.prototype.toString=function(){return this.name},o=u,i.StiDataParameter=o,(l=l=l||{})[l["Name"]=100]="Name",l[l["Expression"]=200]="Expression",l[l["Size"]=300]="Size",l[l["Type"]=400]="Type"}(Stimulsoft=Stimulsoft||{}),function(n){var t,e,r,s,i,o,l,a;function u(t){void 0===t&&(t=null);var e=a.call(this)||this;return e.cachedDataParameters=new i,e.dataSource=t,e}e=t=n.Report||(n.Report={}),s=r=e.Dictionary||(e.Dictionary={}),e=n.System.Collections.CollectionBase,i=n.System.Collections.Hashtable,o=n.Base.JsonReportObject.IStiJsonReportObject,l=n.Base.StiJson,__extends(u,a=e),u.prototype.implements=function(){return[o]},u.prototype.saveToJsonObject=function(t){var e,r;if(0==this.list.length)return null;var n=new l,i=0;try{for(var o=__values(this.list),a=o.next();!a.done;a=o.next()){var s=a.value;n.addPropertyJObject(i.toString(),s.saveToJsonObject(t)),i++}}catch(t){e={error:t}}finally{try{a&&!a.done&&(r=o.return)&&r.call(o)}finally{if(e)throw e.error}}return n},u.prototype.loadFromJsonObject=function(t){var e,r;try{for(var n=__values(t.properties()),i=n.next();!i.done;i=n.next()){var o=i.value,a=new s.StiDataParameter;a.loadFromJsonObject(o.value),this.list.push(a)}}catch(t){e={error:t}}finally{try{i&&!i.done&&(r=n.return)&&r.call(n)}finally{if(e)throw e.error}}},u.prototype.loadFromXml=function(t){for(var e=0;e<t.childNodes.length;e++){var r=t.childNodes[e],r,r,r;"value"==r.nodeName&&(r=4==(r=r.textContent.split(",")).length?new s.StiDataParameter(n.System.Text.XMLConvert.decodeName(r[0]),n.System.Text.XMLConvert.decodeName(r[1]),r[2].stimulsoft.toNumber(),r[3].stimulsoft.toNumber()):new s.StiDataParameter(n.System.Text.XMLConvert.decodeName(r[0]),n.System.Text.XMLConvert.decodeName(r[1]),r[2].stimulsoft.toNumber(),r[3].stimulsoft.toNumber(),r[4]),this.list.push(r))}},u.prototype.onInsert=function(t,e){null==e.dataSource&&(e.dataSource=this.dataSource),null==e.dataParametersCollection&&(e.dataParametersCollection=this)},u.prototype.contains=function(t){var e,r;if(t.stimulsoft.is(s.StiDataParameter))return this.list.stimulsoft.contains(t);if("string"==typeof t)try{for(var n=__values(this.list),i=n.next(),o;!i.done;i=n.next()){if(i.value.name==t)return!0}}catch(t){e={error:t}}finally{try{i&&!i.done&&(r=n.return)&&r.call(n)}finally{if(e)throw e.error}}return!1},u.prototype.getByName=function(t){var e,r;t=t.toLowerCase();var n=this.cachedDataParameters.get(t);if(null!=n)return n;try{for(var i=__values(this.list),o=i.next();!o.done;o=i.next()){var a=o.value;if(a.name.toLowerCase()==t)return this.cachedDataParameters.set(t,a),a}}catch(t){e={error:t}}finally{try{o&&!o.done&&(r=i.return)&&r.call(i)}finally{if(e)throw e.error}}return null},u.prototype.setByName=function(t,e){t=t.toLowerCase();for(var r=0,n;r<this.list.length;r++){if(this.getByIndex(r).name.toLowerCase()==t)return void(this.list[r]=e)}this.add(e)},e=u,s.StiDataParametersCollection=e}(Stimulsoft=Stimulsoft||{}),function(e){var t,r,n,i,o,a,s,l,u,c,p,h;function m(t,e,r,n,i,o,a,s){void 0===t&&(t=""),void 0===e&&(e=t),void 0===r&&(r=t),void 0===n&&(n=null),void 0===i&&(i=null),void 0===o&&(o=[]),void 0===a&&(a=[]),void 0===s&&(s=null),this._inherited=!1,this.isCloud=!1,this.active=!1,this.nameInSource=t,this.name=e,this.alias=r,this.parentSource=n,this.childSource=i,this.parentColumns=o,this.childColumns=a,this.key=s}r=t=e.Report||(e.Report={}),i=n=r.Dictionary||(r.Dictionary={}),o=e.System.ICloneable,a=e.Base.StiJsonReportObjectHelper,s=e.Base.JsonReportObject.IStiJsonReportObject,l=e.Base.StiJson,u=e.Base.IStiAppDataRelation,c=e.Base.StiKeyHelper,m.prototype.implements=function(){return[r.IStiName,r.IStiInherited,o,u,s]},m.prototype.is=function(t){if(t instanceof e.System.Interface)return-1!=this.implements().indexOf(t);if("function"==typeof t)return this instanceof t;if(null==t)throw new Error("Type for comparison is 'undefined'");return!1},m.prototype.is2=function(t){return this.is(t)},m.prototype.as=function(t){if(this.is(t))return this;return null},m.prototype.saveToJsonObject=function(t){var e=new l;return e.addPropertyBool("Inherited",this.inherited),e.addPropertyStringNullOrEmpty("Name",this.name),e.addPropertyJObject("ChildColumns",a.Serialize.stringArray(this.childColumns)),e.addPropertyJObject("ParentColumns",a.Serialize.stringArray(this.parentColumns)),e.addPropertyStringNullOrEmpty("NameInSource",this.nameInSource),e.addPropertyStringNullOrEmpty("Alias",this.alias),e.addPropertyBool("IsCloud",this.isCloud,!1),e.addPropertyBool("Active",this.active),e.addPropertyStringNullOrEmpty("Key",this.key),null!=this.parentSource&&e.addPropertyStringNullOrEmpty("ParentSource",this.parentSource.name),null!=this.childSource&&e.addPropertyStringNullOrEmpty("ChildSource",this.childSource.name),e},m.prototype.loadFromJsonObject=function(t){var e,r;try{for(var n=__values(t.properties()),i=n.next();!i.done;i=n.next()){var o=i.value;switch(o.name){case"Inherited":this._inherited=o.value.stimulsoft.toBoolean();break;case"Active":this.active=o.value.stimulsoft.toBoolean();break;case"Name":this._name=o.value;break;case"NameInSource":this._nameInSource=o.value;break;case"Alias":this._alias=o.value;break;case"IsCloud":break;case"Key":this._key=o.value;break;case"ParentSource":this.parentSource=this.dictionary.dataSources.getByName(o.value);break;case"ChildSource":this.childSource=this.dictionary.dataSources.getByName(o.value);break;case"ChildColumns":this._childColumns=a.Deserialize.stringArray(o.value);break;case"ParentColumns":this._parentColumns=a.Deserialize.stringArray(o.value);break}}}catch(t){e={error:t}}finally{try{i&&!i.done&&(r=n.return)&&r.call(n)}finally{if(e)throw e.error}}},m.prototype.loadFromXml=function(t){for(var e=0;e<t.childNodes.length;e++){var r=t.childNodes[e];switch(r.nodeName){case"Inherited":this._inherited=r.textContent.stimulsoft.toBoolean();break;case"Active":this.active=r.textContent.stimulsoft.toBoolean();break;case"Name":this._name=r.textContent;break;case"RelationName":case"NameInSource":this._nameInSource=r.textContent;break;case"Alias":this._alias=r.textContent;break;case"Key":this._key=r.textContent;break;case"ParentSource":r.attributes.getNamedItem("isRef")&&(this.parentSource=this.dictionary.dataSources.getByXmlRef(r.attributes.getNamedItem("isRef").value));break;case"ChildSource":r.attributes.getNamedItem("isRef")&&(this.childSource=this.dictionary.dataSources.getByXmlRef(r.attributes.getNamedItem("isRef").value));break;case"ChildColumns":this._childColumns=this.parseStringArray(r);break;case"ParentColumns":this._parentColumns=this.parseStringArray(r);break}}},m.prototype.parseStringArray=function(t){for(var e=[],r=0,n=0;n<t.childNodes.length;n++){var i=t.childNodes[n];"value"==i.nodeName&&(e[n]=i.textContent,r++)}return e},Object.defineProperty(m.prototype,"inherited",{get:function(){return this._inherited},set:function(t){this._inherited=t},enumerable:!1,configurable:!0}),Object.defineProperty(m.prototype,"name",{get:function(){return this._name},set:function(t){null!=this.dictionary&&null!=this.dictionary.report&&this.dictionary.report.isDesigning&&StiOptions.Designer.autoCorrectDataRelationName&&(t=r.StiNameValidator.correctName(t)),this._name=t},enumerable:!1,configurable:!0}),m.prototype.getName=function(){return this.name},m.prototype.getDictionary=function(){return this.dictionary},m.prototype.getParentDataSource=function(){return this.parentSource},m.prototype.getChildDataSource=function(){return this.childSource},m.prototype.fetchParentColumns=function(){return this.parentColumns.stimulsoft.toList()},m.prototype.fetchChildColumns=function(){return this.childColumns.stimulsoft.toList()},m.prototype.getActiveState=function(){return this.active},m.prototype.getKey=function(){return this.key=c.getOrGeneratedKey(this.key),this.key},m.prototype.setKey=function(t){this.key=t},m.prototype.clone=function(){return this.stimulsoft.memberwiseClone()},Object.defineProperty(m.prototype,"dictionary",{get:function(){return this._dictionary},set:function(t){this._dictionary=t},enumerable:!1,configurable:!0}),Object.defineProperty(m.prototype,"parentSource",{get:function(){return this._parentSource},set:function(t){this._parentSource=t},enumerable:!1,configurable:!0}),Object.defineProperty(m.prototype,"childSource",{get:function(){return this._childSource},set:function(t){this._childSource=t},enumerable:!1,configurable:!0}),Object.defineProperty(m.prototype,"parentColumns",{get:function(){return this._parentColumns},set:function(t){this._parentColumns=t},enumerable:!1,configurable:!0}),Object.defineProperty(m.prototype,"childColumns",{get:function(){return this._childColumns},set:function(t){this._childColumns=t},enumerable:!1,configurable:!0}),Object.defineProperty(m.prototype,"relationName",{get:function(){return this._nameInSource},set:function(t){this._nameInSource=t},enumerable:!1,configurable:!0}),Object.defineProperty(m.prototype,"nameInSource",{get:function(){return this._nameInSource},set:function(t){this._nameInSource=t},enumerable:!1,configurable:!0}),Object.defineProperty(m.prototype,"alias",{get:function(){return this._alias},set:function(t){this._alias=t},enumerable:!1,configurable:!0}),Object.defineProperty(m.prototype,"key",{get:function(){return this._key},set:function(t){this._key=t},enumerable:!1,configurable:!0}),m.prototype.toString=function(){if(StiOptions.Dictionary.showOnlyAliasForDataRelation)return this.alias;return this.alias==this.name?this._name:this.name+" ["+this.alias+"]"},p=m,i.StiDataRelation=p,(h=h=h||{})[h["NameInSource"]=100]="NameInSource",h[h["Name"]=200]="Name",h[h["Alias"]=300]="Alias",h[h["ParentSource"]=400]="ParentSource",h[h["ChildSource"]=500]="ChildSource",h[h["ParentColumns"]=600]="ParentColumns",h[h["ChildColumns"]=700]="ChildColumns"}(Stimulsoft=Stimulsoft||{}),function(t){var e,r,n,i,o;function a(){}r=e=t.Report||(t.Report={}),i=n=r.Dictionary||(r.Dictionary={}),o=t.System.StiString,a.setName=function(t,e,r,n){t.nameInSource=n,null!=t.parentSource&&(o.isNullOrEmpty(t.name)&&(t.name=t.parentSource.name),o.isNullOrEmpty(t.alias)&&(t.alias=t.parentSource.name))},r=a,i.StiDataRelationSetName=r}(Stimulsoft=Stimulsoft||{}),function(t){var e,s,r,l,n,i,o,u,a,c;function p(t){var e=c.call(this)||this;return e.cachedDataRelations=new i,e.dictionary=t,e}s=e=t.Report||(t.Report={}),l=r=s.Dictionary||(s.Dictionary={}),n=t.System.Collections.CollectionBase,i=t.System.Collections.Hashtable,o=t.Base.JsonReportObject.IStiJsonReportObject,u=t.Base.StiJson,a=t.System.ICloneable,__extends(p,c=n),p.prototype.implements=function(){return[a,o]},p.prototype.saveToJsonObject=function(t){var e,r;if(0==this.list.length)return null;var n=new u,i=0;try{for(var o=__values(this.list),a=o.next();!a.done;a=o.next()){var s=a.value;n.addPropertyJObject(i.toString(),s.saveToJsonObject(t)),i++}}catch(t){e={error:t}}finally{try{a&&!a.done&&(r=o.return)&&r.call(o)}finally{if(e)throw e.error}}return n},p.prototype.loadFromJsonObject=function(t){var e,r;try{for(var n=__values(t.properties()),i=n.next();!i.done;i=n.next()){var o=i.value,a=new l.StiDataRelation;a.dictionary=this.dictionary,a.loadFromJsonObject(o.value),this.list.push(a)}}catch(t){e={error:t}}finally{try{i&&!i.done&&(r=n.return)&&r.call(n)}finally{if(e)throw e.error}}},p.prototype.loadFromXml=function(t){for(var e=0;e<t.childNodes.length;e++){var r=t.childNodes[e],n;if(null==r.attributes)continue;if(null!=r.attributes.getNamedItem("type"))switch(r.attributes.getNamedItem("type").value){case"DataRelation":var i=new l.StiDataRelation;i.dictionary=this.dictionary,i.loadFromXml(r),this.list.push(i);break}}},p.prototype.clone=function(){var e,t,r=new p(this.dictionary);try{for(var n=__values(this.list),i=n.next();!i.done;i=n.next()){var o=i.value;r.add(o.clone())}}catch(t){e={error:t}}finally{try{i&&!i.done&&(t=n.return)&&t.call(n)}finally{if(e)throw e.error}}return r},p.prototype.add=function(t){null!=this.dictionary&&(t.dictionary=this.dictionary),c.prototype.add.call(this,t)},p.prototype.contains=function(t){var e,r;if("string"==typeof t)try{for(var n=__values(this.list),i=n.next(),o;!i.done;i=n.next()){if(i.value.name==t)return!0}}catch(t){e={error:t}}finally{try{i&&!i.done&&(r=n.return)&&r.call(n)}finally{if(e)throw e.error}}else if(t.is(l.StiDataRelation))return this.list.stimulsoft.contains(t);return!1},p.prototype.remove=function(t){c.prototype.remove.call(this,t),this.cachedDataRelations.clear()},p.prototype.setByIndex=function(t,e){this.list[t]=e,this.cachedDataRelations.clear()},p.prototype.getByName=function(t){var e,r,n=this.cachedDataRelations.get(t);if(null!=n)return n;try{for(var i=__values(this.list),o=i.next();!o.done;o=i.next()){var a=o.value;if(a.nameInSource==t)return this.cachedDataRelations.set(t,a),a;if(s.StiNameValidator.correctName(a.nameInSource)==t)return this.cachedDataRelations.set(t,a),a}}catch(t){e={error:t}}finally{try{o&&!o.done&&(r=i.return)&&r.call(i)}finally{if(e)throw e.error}}return null},p.prototype.setByName=function(t,e){for(var r=0,n;r<this.list.length;r++){if(this.getByIndex(r).name==t)return this.list[r]=e,void this.cachedDataRelations.clear()}this.add(e)},n=p,l.StiDataRelationsCollection=n}(Stimulsoft=Stimulsoft||{}),function(n){var t,yt,e;yt=t=n.Report||(n.Report={}),function(ht){var mt=n.System.Collections.Hashtable,l=n.System.Char,dt=n.Report.Components.IStiDataSource,gt=n.Report.Components.IStiDataRelation,ft=n.Report.Components.IStiSort,t=(e.prototype.dispose=function(){this._usedColumns.clear(),this._usedColumns=null,this._usedRelations.clear(),this._usedRelations=null,this._usedDataSources.clear(),this._usedDataSources=null},e.prototype.buildTokens=function(t){var e=new mt,r=0,n=u.Find,i="";while(r<t.length){var o=t[r],a,s;if(n==u.Find)!l.isLetter(o)&&"_"!=o||(n=u.Lexem,i+=o),'"'!=o||-1!=(a=t.indexOf('"',r+1))&&(s=t.substr(r+1,a-r-1),e.set(s,s),r=a+1);else if(n==u.Lexem)if(l.isLetterOrDigit(o)||"_"==o||"."==o)n=u.Lexem,i+=o;else if(""!=i){while(r<t.length){if("."==t[r]||" "!=t[r])break;r++}if(r<t.length&&"."==t[r]){i+=".";while(r<t.length){if(" "!=t[r])break;r++}}else r--,e.set(i,i),i="",n=u.Find}r++}return n==u.Lexem&&e.set(i,i),e},Object.defineProperty(e.prototype,"usedColumns",{get:function(){return this._usedColumns},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"usedRelations",{get:function(){return this._usedRelations},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"usedDataSources",{get:function(){return this._usedDataSources},enumerable:!1,configurable:!0}),e.prototype.retrieval=function(t){var e,r,n,i,o,a,s,l,u,c,p,h,m,d,g,f,S,y,A,b,C,v;if(null!=t){var w=t.script,B=this.buildTokens(t.script);t.script=w;var w=new St,I=new mt;w.build(I,t.dictionary);try{for(var T=__values(I.keys),E=T.next();!E.done;E=T.next()){var R=E.value;if(null!=B.get(R)){var D=I.get(R);D.stimulsoft.is(ht.StiDataSource)&&null==this.usedDataSources.get(D)?this.usedDataSources.set(D,D):D.stimulsoft.is(ht.StiDataColumn)&&null==this.usedColumns.get(D)?this.usedColumns.set(D,D):D.stimulsoft.is(ht.StiDataRelation)&&null==this.usedRelations.get(D)&&this.usedRelations.set(D,D);var P=R.split(".");if(0<P.length)try{for(var x=(n=void 0,__values(P)),F=x.next();!F.done;F=x.next()){var N=F.value,k;null!=(k=I.get(N))&&(k.stimulsoft.is(ht.StiDataSource)&&null==this.usedDataSources.get(k)?this.usedDataSources.set(k,k):k.stimulsoft.is(ht.StiDataColumn)&&null==this.usedColumns.get(k)?this.usedColumns.set(k,k):k.stimulsoft.is(ht.StiDataRelation)&&null==this.usedRelations.get(k)&&this.usedRelations.set(k,k))}}catch(t){n={error:t}}finally{try{F&&!F.done&&(i=x.return)&&i.call(x)}finally{if(n)throw n.error}}}}}catch(t){e={error:t}}finally{try{E&&!E.done&&(r=T.return)&&r.call(T)}finally{if(e)throw e.error}}var M=t.getComponents();try{for(var O=__values(M.list),_=O.next();!_.done;_=O.next()){var j=_.value,G,H;null!=(G=j.as(dt))&&null!=G.dataSource&&this.usedDataSources.set(G.dataSource,G.dataSource),null!=(H=j.as(gt))&&null!=H.dataRelation&&this.usedRelations.set(H.dataRelation,H.dataRelation);var Q=j.as(ft);if(null!=Q&&null!=Q.sort){var k="",j=j.as(dt);null!=j&&null!=j.dataSource&&(k=yt.StiNameValidator.correctName(j.dataSource.name)+".");var L=1;while(L<Q.sort.length){var Y="",U;while(L<Q.sort.length&&"ASC"!=Q.sort[L]&&"DESC"!=Q.sort[L])0==Y.length?Y=Q.sort[L]:Y+="."+Q.sort[L],L++;L++,Y=yt.StiNameValidator.correctName(Y),null!=(U=I.get(k+Y))&&this.usedColumns.set(U,U)}}}}catch(t){o={error:t}}finally{try{_&&!_.done&&(a=O.return)&&a.call(O)}finally{if(o)throw o.error}}var J=this.usedColumns.values;try{for(var W=__values(J),V=W.next(),U;!V.done;V=W.next()){null!=(U=V.value).dataSource&&(this.usedDataSources.contains(U.dataSource)||this.usedDataSources.set(U.dataSource,U.dataSource))}}catch(t){s={error:t}}finally{try{V&&!V.done&&(l=W.return)&&l.call(W)}finally{if(s)throw s.error}}var z=this.usedRelations.values;try{for(var X=__values(z),K=X.next();!K.done;K=X.next()){var H=K.value;this.usedDataSources.set(H.parentSource,H.parentSource),this.usedDataSources.set(H.childSource,H.childSource)}}catch(t){u={error:t}}finally{try{K&&!K.done&&(c=X.return)&&c.call(X)}finally{if(u)throw u.error}}var Z=this.usedDataSources.values;try{for(var q=__values(Z),$=q.next();!$.done;$=q.next()){var G,tt=(G=$.value).getParentRelations();try{for(var et=(m=void 0,__values(tt.list)),rt=et.next();!rt.done;rt=et.next()){var nt=rt.value;null!=this.usedDataSources.get(nt.parentSource)&&this.usedRelations.set(nt,nt)}}catch(t){m={error:t}}finally{try{rt&&!rt.done&&(d=et.return)&&d.call(et)}finally{if(m)throw m.error}}tt=G.getChildRelations();try{for(var it=(g=void 0,__values(tt.list)),ot=it.next();!ot.done;ot=it.next()){var nt=ot.value;null!=this.usedDataSources.get(nt.childSource)&&this.usedRelations.set(nt,nt)}}catch(t){g={error:t}}finally{try{ot&&!ot.done&&(f=it.return)&&f.call(it)}finally{if(g)throw g.error}}}}catch(t){p={error:t}}finally{try{$&&!$.done&&(h=q.return)&&h.call(q)}finally{if(p)throw p.error}}z=this.usedRelations.values;try{for(var at=__values(z),st=at.next(),H;!st.done;st=at.next()){if(null!=(H=st.value).parentSource)try{for(var lt=(A=void 0,__values(H.parentColumns)),ut=lt.next();!ut.done;ut=lt.next()){var Y=ut.value,U;null!=(U=H.parentSource.columns.getByName(Y))&&this.usedColumns.set(U,U)}}catch(t){A={error:t}}finally{try{ut&&!ut.done&&(b=lt.return)&&b.call(lt)}finally{if(A)throw A.error}}if(null!=H.childSource)try{for(var ct=(C=void 0,__values(H.childColumns)),pt=ct.next();!pt.done;pt=ct.next()){var Y=pt.value,U;null!=(U=H.childSource.columns.getByName(Y))&&this.usedColumns.set(U,U)}}catch(t){C={error:t}}finally{try{pt&&!pt.done&&(v=ct.return)&&v.call(ct)}finally{if(C)throw C.error}}}}catch(t){S={error:t}}finally{try{st&&!st.done&&(y=at.return)&&y.call(at)}finally{if(S)throw S.error}}}},e),u,t;function e(){this._usedColumns=new mt,this._usedRelations=new mt,this._usedDataSources=new mt}ht.StiDataRetrieval=t,(t=u=u||{})[t["Lexem"]=0]="Lexem",t[t["Find"]=1]="Find";var St=(r.prototype.buildColumns=function(t,e,r){var n,i;try{for(var o=__values(e.list),a=o.next();!a.done;a=o.next()){var s=a.value,l=r+"."+yt.StiNameValidator.correctName(s.name);t.set(l,s)}}catch(t){n={error:t}}finally{try{a&&!a.done&&(i=o.return)&&i.call(o)}finally{if(n)throw n.error}}},r.prototype.buildRelations=function(t,e,r,n){var i,o;if(0<e.count)try{for(var a=__values(e.list),s=a.next();!s.done;s=a.next()){var l=s.value,u=n+"."+yt.StiNameValidator.correctName(l.name);t.set(u,l),this.buildData(t,l.parentSource,r,u,!0),l.name!=l.nameInSource&&(u=n+"."+yt.StiNameValidator.correctName(l.nameInSource),t.set(u,l),t.set(yt.StiNameValidator.correctName(l.nameInSource),l),this.buildData(t,l.parentSource,r,u,!0))}}catch(t){i={error:t}}finally{try{s&&!s.done&&(o=a.return)&&o.call(a)}finally{if(i)throw i.error}}},r.prototype.buildData=function(t,e,r,n,i){var o="";""!=n?o=n+"."+yt.StiNameValidator.correctName(e.name):""==n&&(o=yt.StiNameValidator.correctName(e.name)),this.level++,r.contains(e)||(r.add(e),i?this.buildRelations(t,e.getParentRelations(),r,n):this.buildRelations(t,e.getParentRelations(),r,o),r.remove(e)),i?this.buildColumns(t,e.columns,n):this.buildColumns(t,e.columns,o),this.level--},r.prototype.build=function(t,e){var r,n,i=e.dataSources,o=new ht.StiDataSourcesCollection(null);try{for(var a=__values(i.list),s=a.next();!s.done;s=a.next()){var l=s.value,u=yt.StiNameValidator.correctName(l.name);t.set(u,l),this.buildData(t,l,o,"",!1)}}catch(t){r={error:t}}finally{try{s&&!s.done&&(n=a.return)&&n.call(a)}finally{if(r)throw r.error}}},r);function r(){}}(e=yt.Dictionary||(yt.Dictionary={}))}(Stimulsoft=Stimulsoft||{}),function(t){var e,r,n,t;function i(t,e){this.dataSource=t,this._row=e}r=e=t.Report||(t.Report={}),t=n=r.Dictionary||(r.Dictionary={}),i.prototype.createDataRow=function(t){return new i(null!=t?t.dataSource:null,null!=t?t.row:null)},Object.defineProperty(i.prototype,"row",{get:function(){return this._row},set:function(t){this._row=t},enumerable:!1,configurable:!0}),Object.defineProperty(i.prototype,"dictionary",{get:function(){return this.dataSource.dictionary},enumerable:!1,configurable:!0}),i.prototype.getByColumnName=function(t){if(null==this._row)return null;return this._row.getValueByIndex(this.dataSource.getColumnIndex(t))},i.prototype.getParentData=function(t){if(null==this.row)return null;var e=this.row.getParentRows(t);if(null==e||0==e.length)return null;return new i(this.dataSource.getParentDataSource(t),e[0])},r=i,t.StiDataRow=r}(Stimulsoft=Stimulsoft||{}),function(t){var e,r,n,I,T,s,l,i,E;function o(t,e,r,n){if(this.rowToConditions=null,this.dataSource=null,this.textComp=null,this.dataSource=n,this.sortColumns=r,this.conditions=e,this.rowToConditions=t,null!=this.sortColumns){var i=0,o=0;while(i<this.sortColumns.length)"ASC"==this.sortColumns[i]&&o++,"DESC"==this.sortColumns[i]&&o++,i++;this.hashValues=[];for(var a=0;a<o;a++)this.hashValues[a]=new s}var t;null==this.dataSource.dictionary||null!=(t=this.dataSource.dictionary.report)&&(this.textComp=new l,this.textComp.name="**StiDataSort**",this.textComp.page=t.pages.getByIndex(0))}r=e=t.Report||(t.Report={}),I=n=r.Dictionary||(r.Dictionary={}),T=t.Report.Engine.StiParser.StiParser,s=t.System.Collections.Hashtable,l=t.Report.Components.StiText,i=t.System.Data.DBNull,E=t.Report.Components.StiGroupSortDirection,o.prototype.compare=function(t,e){return this.compareRows(t,e)},o.prototype.compareRows=function(t,e){if(t==e)return 0;var r,n=e;if(null!=this.rowToConditions&&null!=this.conditions)for(var i=this.rowToConditions.get(t.recordIndex),o=this.rowToConditions.get(n.recordIndex),a=this.conditions.stimulsoft.getLength(1),s=0;s<a;s++){var l=this.conditions[i][s][0],u=this.conditions[o][s][0],c=this.conditions[i][s][1],c=this.compareValues(l,u,c==E.Ascending);if(0==c)continue;return c}if(null==this.sortColumns||0==this.sortColumns.length)return 0;var p=0,h=0;while(h<this.sortColumns.length){var m="ASC"==this.sortColumns[h++],d=h;while(h<this.sortColumns.length&&"ASC"!=this.sortColumns[h]&&"DESC"!=this.sortColumns[h])h++;var l=this.hashValues[p].get(t),u=this.hashValues[p].get(e);if(null==l||null==u){var g=this.dataSource,f=t,S=e,y=this.sortColumns[d];if(y.stimulsoft.startsWith("{")&&y.stimulsoft.endsWith("}")){var A=this.rowToConditions.get(f.recordIndex),b=this.rowToConditions.get(S.recordIndex),C=g.position;g.position=A,l=T.parseTextValue(y,this.textComp),g.position=b,u=T.parseTextValue(y,this.textComp),g.position=C}else{if(1<h-d){var v=d,w,f,w,S;while(v<h-1){if(null==(g=g.getParentDataSource(this.sortColumns[v])))return null;null==l&&(f=null!=(w=null!=f?f.getParentRows(this.sortColumns[v]):null)&&0<w.length?w[0]:null),null==u&&(S=null!=(w=null!=S?S.getParentRows(this.sortColumns[v]):null)&&0<w.length?w[0]:null),v++}}var d=g.getColumnIndex(this.sortColumns[h-1]),d,d,i,B,o,B;-1!=d?(null==l&&(l=null!=f?f.gett(d):null,null==this.hashValues[p].get(t)&&this.hashValues[p].set(t,l)),null==u&&(u=null!=S?S.gett(d):null,null==this.hashValues[p].get(e)&&this.hashValues[p].set(e,u))):null!=(d=null!=(d=g.columns.getByName(this.sortColumns[h-1]))?d.as(I.StiCalcDataColumn):null)&&null!=this.rowToConditions&&(null==l&&(null!=f?(i=this.rowToConditions.get(f.recordIndex),B=g.position,g.position=i,l=T.parseTextValue("{"+d.expression+"}",this.textComp),g.position=B):l=null,null==this.hashValues[p].get(t)&&this.hashValues[p].set(t,l)),null==u&&(null!=S?(o=this.rowToConditions.get(S.recordIndex),B=g.position,g.position=o,u=T.parseTextValue("{"+d.expression+"}",this.textComp),g.position=B):u=null,null==this.hashValues[p].get(e)&&this.hashValues[p].set(e,u)))}}p++;var m=this.compareValues(l,u,m);if(0==m)continue;return m}return 0},o.prototype.compareValues=function(t,e,r){null==r&&(r=!0);var n=r?1:-1;if(t==i.value&&e==i.value)return 0;if(t==i.value)return-1*n;if(e==i.value)return 1*n;var t=t,e=e;if(void 0===t.stimulsoft.compareTo&&(t=null),void 0===e.stimulsoft.compareTo&&(e=null),null==t&&null==e)return 0;if(null==t)return-1*n;if(null==e)return 1*n;if(t!=e){var e=t.stimulsoft.compareTo(e);if(r||(e=-e),0!=e)return e}return 0},o.prototype.clear=function(){(this.sortColumns=null)!=this.rowToConditions&&(this.rowToConditions.clear(),this.rowToConditions=null),this.conditions=null,this.hashValues=null,this.dataSource=null,this.textComp=null},o.nullObject=new Object,r=o,I.StiDataSort=r}(Stimulsoft=Stimulsoft||{}),function(t){var e,r,n,i,o,a;function s(){return null!==a&&a.apply(this,arguments)||this}r=e=t.Report||(t.Report={}),i=n=r.Dictionary||(r.Dictionary={}),r=t.Base.Services.StiService,o=t.Base.Localization.StiLocalization,__extends(s,a=r),Object.defineProperty(s.prototype,"serviceCategory",{get:function(){return o.get("Services","categoryDictionary")},enumerable:!1,configurable:!0}),Object.defineProperty(s.prototype,"serviceType",{get:function(){return s.stimulsoft.getType()},enumerable:!1,configurable:!0}),s.prototype.setName=function(t,e,r,n){t.nameInSource=r.dataSetName+"."+n,t.name=n,t.alias=n},r=s,i.StiDataTableSetNameService=r}(Stimulsoft=Stimulsoft||{}),function(t){var e,r,n,i,o;function a(){this.tables=new i,this.views=new i,this.storedProcedures=new i}r=e=t.Report||(t.Report={}),r=n=r.Dictionary||(r.Dictionary={}),i=t.System.Collections.List,r.StiDatabaseInformation=a}(Stimulsoft=Stimulsoft||{}),function(D){var t,P,e,x,w,F,s,y,A,r,n,N,o,i,a,l,S,f,u,c,p;function h(t){void 0===t&&(t=null),this._cachedUserNamesAndPasswords=null,this._useInternalData=!1,this._restrictions=new x.StiRestrictions,this._dataStore=new x.StiDataCollection,this._variables=new x.StiVariablesCollection,this._resources=new x.StiResourcesCollection,this._report=t,this._dataSources=new x.StiDataSourcesCollection(this),this._relations=new x.StiDataRelationsCollection(this),this._databases=new r(this),this._businessObjects=new n(this,null)}P=t=D.Report||(D.Report={}),x=e=P.Dictionary||(P.Dictionary={}),w=D.Report.Dictionary.StiDataSource,F=D.System.StiString,s=D.Data.Engine.StiDataConnections,y=D.System.DateTime,A=D.System.TimeSpan,r=D.Report.Dictionary.StiDatabaseCollection,n=D.Report.Dictionary.StiBusinessObjectsCollection,N=D.System.Collections.Hashtable,o=D.System.Data.DataSet,i=D.Base.JsonReportObject.IStiJsonReportObject,a=D.Base.StiJson,l=D.System.ICloneable,S=D.System.Data.DataRelation,f=D.System.StiPromise,u=D.Base.IStiAppDictionary,c=D.Data.Exceptions.StiSystemVariableNotRecognizedException,h.prototype.implements=function(){return[l,u,i]},h.prototype.saveToJsonObject=function(t){var e=new a;if(e.addPropertyJObject("Resources",this.resources.saveToJsonObject(t)),e.addPropertyJObject("Variables",this.variables.saveToJsonObject(t)),e.addPropertyJObject("DataSources",this.dataSources.saveToJsonObject(t)),e.addPropertyJObject("Databases",this.databases.saveToJsonObject(t)),e.addPropertyJObject("BusinessObjects",this.businessObjects.saveToJsonObject(t)),e.addPropertyJObject("Relations",this.relations.saveToJsonObject(t)),0==e.count)return null;return e},h.prototype.loadFromJsonObject=function(t){var e,r;try{for(var n=__values(t.properties()),i=n.next();!i.done;i=n.next()){var o=i.value;switch(o.name){case"Resources":this._resources.loadFromJsonObject(o.value);break;case"Variables":this._variables.loadFromJsonObject(o.value,this.report);break;case"DataSources":this._dataSources.loadFromJsonObject(o.value);break;case"Databases":this._databases.loadFromJsonObject(o.value);break;case"BusinessObjects":this._businessObjects.loadFromJsonObject(o.value);break;case"Relations":this._relations.loadFromJsonObject(o.value);break}}}catch(t){e={error:t}}finally{try{i&&!i.done&&(r=n.return)&&r.call(n)}finally{if(e)throw e.error}}},h.prototype.loadFromXml=function(t){for(var e=0;e<t.childNodes.length;e++){var r=t.childNodes[e];switch(r.nodeName){case"BusinessObjects":this._businessObjects.loadFromXml(r);break;case"DataSources":this._dataSources.loadFromXml(r);break;case"Databases":this._databases.loadFromXml(r);break;case"Relations":this._relations.loadFromXml(r);break;case"Variables":this._variables.loadFromXml(r,this.report);break;case"Resources":this._resources.loadFromXml(r);break}}},h.prototype.clone=function(){var t;return new h},h.prototype.fetchDataSources=function(){return this.dataSources.toList().cast()},h.prototype.fetchDataRelations=function(){return this.relations.toList().cast()},h.prototype.fetchVariables=function(){return this.variables.toList().cast()},h.prototype.getDataSourceByName=function(t){if(F.isNullOrWhiteSpace(t))return null;return this.dataSources.getByName(t)},h.prototype.getColumnByName=function(t){return x.StiDataColumn.getDataColumnFromColumnName(this,t,!0)},h.prototype.getVariableByName=function(e){if(e=P.StiVariableExpressionHelper.getSimpleName(e),F.isNullOrWhiteSpace(e))return null;var t=this.variables.toList().cast().where(function(t){return!F.isNullOrWhiteSpace(t.name)}).firstOrDefault(function(t){return t.name.trim().toLowerCase()==e});if(null!=t)return t;if(e.stimulsoft.endsWith(".from"))return e=e.substr(0,e.length-".from".length),this.variables.toList().cast().where(function(t){return!F.isNullOrWhiteSpace(t.name)}).firstOrDefault(function(t){return t.name.trim().toLowerCase()==e});if(e.stimulsoft.endsWith(".to"))return e=e.substr(0,e.length-".to".length),this.variables.toList().cast().where(function(t){return!F.isNullOrWhiteSpace(t.name)}).firstOrDefault(function(t){return t.name.trim().toLowerCase()==e});return null},h.prototype.getVariableValueByName=function(t){if(t=P.StiVariableExpressionHelper.getSimpleName(t),F.isNullOrWhiteSpace(t))return null;var e=this.getVariableByName(t),r,r;if(P.Range.isRangeType(null==e?void 0:e.type)){if(t.stimulsoft.endsWith(".from"))return t=t.substr(0,t.length-".from".length),null!=(r=this.getVariableValueInternal(t).as(P.Range))?r.fromObject:null;if(t.stimulsoft.endsWith(".to"))return t=t.substr(0,t.length-".to".length),null!=(r=this.getVariableValueInternal(t).as(P.Range))?r.toObject:null}return this.getVariableValueInternal(t)},h.prototype.getVariableValueInternal=function(t){var t;if(null!=this.report&&null!=this.report.getVariable(t))return this.report.getVariable(t);return null===(t=this.getVariableByName(t))||void 0===t?void 0:t.getValue()},h.prototype.isSystemVariable=function(t){return["reportname","reportalias","reportauthor","reportdescription","reportcreated","reportchanged","time","today"].stimulsoft.contains(t.toLowerCase())},h.prototype.getSystemVariableValue=function(t){var e;switch(t.toLowerCase()){case"reportname":return this.report.reportName;case"reportalias":return this.report.reportAlias;case"reportauthor":return this.report.reportAuthor;case"reportdescription":return this.report.reportDescription;case"reportcreated":return this.report.reportCreated;case"reportchanged":return this.report.reportChanged;case"time":return y.now;case"today":return y.today;default:throw new c(t)}},h.prototype.getApp=function(){return this.report},h.prototype.openConnections=function(t){var e,r;null==t&&(t=this.databases.toList()),t=t.where(function(t){return!s.isConnectionActive(t)});try{for(var n=__values(t),i=n.next();!i.done;i=n.next()){var o=i.value,a=this.dataStore.toList();o&&o.invokeConnecting(),x.StiDataLeader.regData(o,this,!0),o&&o.invokeConnected();var a=this.dataStore.toList().except(a).cast().toList();s.registerConnection(o,a)}}catch(t){e={error:t}}finally{try{i&&!i.done&&(r=n.return)&&r.call(n)}finally{if(e)throw e.error}}return t},h.prototype.closeConnections=function(t){var e,r,n=this;null==t&&(t=this.databases.toList());try{for(var i=__values(t),o=i.next();!o.done;o=i.next()){var a=o.value;a&&a.invokeDisconnecting();var a=s.unRegisterConnection(a).cast();if(null==a)continue;this.disconnectingConnectionInDataStore(a),a.forEach(function(t){n.dataStore.contains(t)&&n.dataStore.remove(t)},this)}}catch(t){e={error:t}}finally{try{o&&!o.done&&(r=i.return)&&r.call(i)}finally{if(e)throw e.error}}},Object.defineProperty(h.prototype,"cachedUserNamesAndPasswords",{get:function(){return this._cachedUserNamesAndPasswords},set:function(t){this._cachedUserNamesAndPasswords=t},enumerable:!1,configurable:!0}),Object.defineProperty(h.prototype,"useInternalData",{get:function(){return this._useInternalData},set:function(t){this._useInternalData=t},enumerable:!1,configurable:!0}),Object.defineProperty(h.prototype,"restrictions",{get:function(){return this._restrictions},set:function(t){this._restrictions=t},enumerable:!1,configurable:!0}),Object.defineProperty(h,"autoSynchronize",{get:function(){return StiOptions.Dictionary.autoSynchronize},set:function(t){StiOptions.Dictionary.autoSynchronize=t},enumerable:!1,configurable:!0}),h.doAutoSynchronize=function(t){if(null==t)return;(h.autoSynchronize==x.StiAutoSynchronizeMode.Always||h.autoSynchronize==x.StiAutoSynchronizeMode.IfDictionaryEmpty&&0==t.dictionary.dataSources.count)&&t.dictionary.synchronize()},Object.defineProperty(h.prototype,"cacheDataSet",{get:function(){return this._cacheDataSet},set:function(t){this._cacheDataSet=t},enumerable:!1,configurable:!0}),Object.defineProperty(h.prototype,"report",{get:function(){return this._report},set:function(t){this._report=t},enumerable:!1,configurable:!0}),Object.defineProperty(h.prototype,"dataStore",{get:function(){return this._dataStore},set:function(t){this._dataStore=t},enumerable:!1,configurable:!0}),Object.defineProperty(h.prototype,"variables",{get:function(){return this._variables},set:function(t){this._variables=t},enumerable:!1,configurable:!0}),Object.defineProperty(h.prototype,"resources",{get:function(){return this._resources},set:function(t){this._resources=t},enumerable:!1,configurable:!0}),Object.defineProperty(h.prototype,"dataSources",{get:function(){return this._dataSources},set:function(t){this._dataSources=t},enumerable:!1,configurable:!0}),Object.defineProperty(h.prototype,"databases",{get:function(){return this._databases},set:function(t){this._databases=t},enumerable:!1,configurable:!0}),Object.defineProperty(h.prototype,"businessObjects",{get:function(){return this._businessObjects},set:function(t){this._businessObjects=t},enumerable:!1,configurable:!0}),Object.defineProperty(h.prototype,"relations",{get:function(){return this._relations},set:function(t){this._relations=t},enumerable:!1,configurable:!0}),Object.defineProperty(h.prototype,"isRequestFromUserVariablesPresent",{get:function(){var e,t;if(null==this.variables)return!1;try{for(var r=__values(this.variables.list),n=r.next(),i;!n.done;n=r.next()){if(n.value.requestFromUser)return!0}}catch(t){e={error:t}}finally{try{n&&!n.done&&(t=r.return)&&t.call(r)}finally{if(e)throw e.error}}return!1},enumerable:!1,configurable:!0}),h.prototype.equalsColumns=function(t,e){var r,n,i,o;try{for(var a=__values(t),s=a.next();!s.done;s=a.next()){var l=s.value,u=!1;try{for(var c=(i=void 0,__values(e)),p=c.next();!p.done;p=c.next()){var h=p.value;if(h.columnName==l.columnName&&h.table==l.table){u=!0;break}}}catch(t){i={error:t}}finally{try{p&&!p.done&&(o=c.return)&&o.call(c)}finally{if(i)throw i.error}}if(!u)return!1}}catch(t){r={error:t}}finally{try{s&&!s.done&&(n=a.return)&&n.call(a)}finally{if(r)throw r.error}}return!0},h.prototype.createDatabases=function(t){var e,r;this.dataStore.clearReportDatabase();try{for(var n=__values(this.databases.list),i=n.next();!i.done;i=n.next()){var o=i.value;o.invokeConnecting(),o.regData(this,t),o.invokeConnected()}}catch(t){e={error:t}}finally{try{i&&!i.done&&(r=n.return)&&r.call(n)}finally{if(e)throw e.error}}},h.prototype.createDatabasesAsync=function(s){var l=new f,u=this;return setTimeout(function(){var e,t;u.dataStore.clearReportDatabase();var r=u.databases.count,n=function(t){t.invokeConnecting(),t.regDataAsync(u,s).try(function(){t.invokeConnected(),0==--r&&l.callTry()}).abort(l)};try{for(var i=__values(u.databases.list),o=i.next(),a;!o.done;o=i.next()){n(o.value)}}catch(t){e={error:t}}finally{try{o&&!o.done&&(t=i.return)&&t.call(i)}finally{if(e)throw e.error}}0==u.databases.count&&l.callTry()}),l},h.prototype.removeUnusedData=function(){var e,t,r=new x.StiDataRetrieval;r.retrieval(this.report);var n=0;while(n<this.relations.count)null==r.usedRelations.get(this.relations.getByIndex(n))?this.relations.remove(this.relations.getByIndex(n)):n++;try{for(var i=__values(this.dataSources.list),o=i.next();!o.done;o=i.next()){var a=o.value,n=0;while(n<a.columns.count)null==r.usedColumns.get(a.columns.getByIndex(n))?a.columns.remove(a.columns.getByIndex(n)):n++}}catch(t){e={error:t}}finally{try{o&&!o.done&&(t=i.return)&&t.call(i)}finally{if(e)throw e.error}}n=0;while(n<this.dataSources.count)null==r.usedDataSources.get(this.dataSources.getByIndex(n))?this.dataSources.remove(this.dataSources.getByIndex(n)):n++;r.dispose()},h.prototype.removeUnusedDataSourcesV2=function(){var t=x.StiDataSourceHelper.getUsedDataSourcesNames(this.report),e=0;while(e<this.dataSources.count)t.containsKey(this.dataSources.getByIndex(e).name)?e++:this.dataSources.remove(this.dataSources.getByIndex(e))},h.prototype.retrievalData=function(t,e,r){var n=t.ref,i=e.ref,o=r.ref,a=new x.StiDataRetrieval;a.retrieval(this.report),n=a.usedRelations,i=a.usedDataSources,o=a.usedColumns,t.ref=n,e.ref=i,r.ref=o},h.prototype.getUnusedRelationsFromDataStore=function(){var e,t,r,n,i,o,a,s,l=new x.StiDataRelationsCollection(this),u=this.dataSources.toList().where(function(t){return null!=t.is(x.StiDataTableSource)}).where(function(t){return null!=t.dataTable});try{for(var c=__values(u),p=c.next();!p.done;p=c.next()){var h=p.value;try{for(var m=(r=void 0,__values(h.dataTable.parentRelations.list)),d=m.next();!d.done;d=m.next()){var g=d.value;try{for(var f=(i=void 0,__values(u)),S=f.next();!S.done;S=f.next()){var y=S.value;if(y.dataTable!=g.parentTable)continue;var A=0;try{for(var b=(a=void 0,__values(this.relations.list)),C=b.next();!C.done;C=b.next()){var v=C.value;if(x.StiStrFix.Del_(v.nameInSource)==x.StiStrFix.Del_(g.relationName))break;A++}}catch(t){a={error:t}}finally{try{C&&!C.done&&(s=b.return)&&s.call(b)}finally{if(a)throw a.error}}if(A==this.relations.count){var y=new x.StiDataRelation(g.relationName,"","",y,h,g.parentColumns.map(function(t){return t.columnName}),g.childColumns.map(function(t){return t.columnName}));x.StiDataRelationSetName.setName(y,this.report,g.dataSet,g.relationName),l.add(y);break}}}catch(t){i={error:t}}finally{try{S&&!S.done&&(o=f.return)&&o.call(f)}finally{if(i)throw i.error}}}}catch(t){r={error:t}}finally{try{d&&!d.done&&(n=m.return)&&n.call(m)}finally{if(r)throw r.error}}}}catch(t){e={error:t}}finally{try{p&&!p.done&&(t=c.return)&&t.call(c)}finally{if(e)throw e.error}}return l},h.prototype.synchronize2=function(t){var e,r;try{for(var n=__values(t.list),i=n.next();!i.done;i=n.next()){var o=i.value,a=o.getBusinessObjectData();null!=a&&this.synchronizeColumns2(a,o),this.synchronize2(o.businessObjects)}}catch(t){e={error:t}}finally{try{i&&!i.done&&(r=n.return)&&r.call(n)}finally{if(e)throw e.error}}},h.prototype.synchronize=function(){var e,t,r,n,i,o;try{for(var a=__values(this.dataSources.list),s=a.next(),l;!s.done;s=a.next()){(l=s.value).columns.cachedDataColumns.clear()}}catch(t){e={error:t}}finally{try{s&&!s.done&&(t=a.return)&&t.call(a)}finally{if(e)throw e.error}}this.dataSources.cachedDataSources.clear(),this.connect(!1);for(var u=0;u<this.dataStore.count;u++){var c=this.dataStore.getByIndex(u).stimulsoft.as(x.StiData);if(null!=c.viewData){var p=null,h,l;try{for(var m=(r=void 0,__values(this.dataSources.list)),d=m.next();!d.done;d=m.next()){var l=d.value;if(l.is(x.StiDataStoreSource)&&!l.is(x.StiSqlSource)&&l.nameInSource.toLowerCase()==c.name.toLowerCase()){p=l;break}}}catch(t){r={error:t}}finally{try{d&&!d.done&&(n=m.return)&&n.call(m)}finally{if(r)throw r.error}}null==p?null!=(h=x.StiDataAdapterService.getDataAdapter2(c))&&((l=h.create(this,!1)).columns.addRange(x.StiDataLeader.getColumnsFromData(h,c,l)),h.setDataSourceNames(c,l),l.name=P.StiNameCreation.createName(this.report,l.name,!1,!1,!0),this.dataSources.add(l),this.synchronizeColumns(c,l)):this.synchronizeColumns(c,p)}}this.connect(!1);var g=this.getUnusedRelationsFromDataStore(),f=function(e){if(S.relations.toList().firstOrDefault(function(t){return x.StiStrFix.Del_(e.nameInSource)==x.StiStrFix.Del_(t.nameInSource)}))return"continue";e.name=S.getRelationName(e),S.relations.add(e)},S=this;try{for(var y=__values(g.list),A=y.next(),b;!A.done;A=y.next()){f(A.value)}}catch(t){i={error:t}}finally{try{A&&!A.done&&(o=y.return)&&o.call(y)}finally{if(i)throw i.error}}this.connect(!1)},h.prototype.synchronizeBusinessObjects=function(){var e,t,r,n;try{for(var i=__values(this.report.businessObjectsStore),o=i.next();!o.done;o=i.next()){var a=o.value,s=!1,l;try{for(var u=(r=void 0,__values(this.businessObjects.list)),c=u.next();!c.done;c=u.next()){var p=c.value;if(p.name==a.name){s=!0,p.alias=a.alias,p.category=a.category,this.synchronizeColumns3(a,p),this.synchronize2(p.businessObjects);break}}}catch(t){r={error:t}}finally{try{c&&!c.done&&(n=u.return)&&n.call(u)}finally{if(r)throw r.error}}s||(l=new x.StiBusinessObject(a.category,a.name,a.alias,null),this.businessObjects.add(l),this.synchronizeColumns3(a,l))}}catch(t){e={error:t}}finally{try{o&&!o.done&&(t=i.return)&&t.call(i)}finally{if(e)throw e.error}}},h.prototype.synchronizeColumns=function(t,e){var r,n,i,o,a,s,l,u,c=null,c;if(null!=(c=x.StiDataAdapterService.getDataAdapter2(t))){var p=void 0,p=x.StiDataLeader.getColumnsFromData(c,t,e);try{for(var h=__values(e.columns.list),m=h.next();!m.done;m=h.next()){var d=m.value,g=!1;try{for(var f=(i=void 0,__values(p.list)),S=f.next();!S.done;S=f.next()){var y=S.value;d.nameInSource==y.nameInSource&&(y.name=d.name,StiOptions.Designer.autoCorrectDataColumnName&&(y.name=P.StiNameValidator.correctName(y.name)),y.alias=d.alias,y.nameInSource=d.nameInSource,d.type!=D.System.DateTime&&d.type!=D.System.NullableDateTime||!StiOptions.Dictionary.useNullableDateTime?d.type!=D.System.TimeSpan&&d.type!=D.System.NullableTimeSpan||!StiOptions.Dictionary.useNullableTimeSpan||(y.type=D.System.NullableTimeSpan):y.type=D.System.NullableDateTime,g=!0)}}catch(t){i={error:t}}finally{try{S&&!S.done&&(o=f.return)&&o.call(f)}finally{if(i)throw i.error}}(!g&&StiOptions.Dictionary.columnsSynchronizationMode==x.StiColumnsSynchronizationMode.KeepAbsentColumns||d.is(x.StiCalcDataColumn))&&p.add(d)}}catch(t){r={error:t}}finally{try{m&&!m.done&&(n=h.return)&&n.call(h)}finally{if(r)throw r.error}}for(var A=new N,b=p.count-1;0<=b;b--){var y=p.getByIndex(b),C=1,v=null;while(1){if(v=1!=C?F.format("{0}{1}",y.name,C):y.name,null==A.get(v)){A.set(v,v);break}C++}y.name=v}var w=new x.StiDataColumnsCollection;try{for(var B=__values(e.columns.list),I=B.next();!I.done;I=B.next()){var T=I.value;try{for(var E=(l=void 0,__values(p.list)),R=E.next();!R.done;R=E.next()){var y=R.value;if(T.nameInSource==y.nameInSource){w.add(y),p.remove(y);break}}}catch(t){l={error:t}}finally{try{R&&!R.done&&(u=E.return)&&u.call(E)}finally{if(l)throw l.error}}}}catch(t){a={error:t}}finally{try{I&&!I.done&&(s=B.return)&&s.call(B)}finally{if(a)throw a.error}}w.addRange(p),e.columns.clear(),e.columns.addRange(w)}},h.prototype.synchronizeColumnsAsync=function(t,T){var E=new f,e=null,r,e;return null!=(e=x.StiDataAdapterService.getDataAdapter2(t))&&(r=void 0,e.getColumnsFromDataAsync(t,T,"").try(function(t){var e,r,n,i,o,a,s,l;try{for(var u=__values(T.columns.list),c=u.next();!c.done;c=u.next()){var p=c.value,h=!1;try{for(var m=(n=void 0,__values(t.list)),d=m.next();!d.done;d=m.next()){var g=d.value;p.nameInSource==g.nameInSource&&(g.name=p.name,StiOptions.Designer.autoCorrectDataColumnName&&(g.name=P.StiNameValidator.correctName(g.name)),g.alias=p.alias,g.nameInSource=p.nameInSource,p.type!=D.System.DateTime&&p.type!=D.System.NullableDateTime||!StiOptions.Dictionary.useNullableDateTime?p.type!=D.System.TimeSpan&&p.type!=D.System.NullableTimeSpan||!StiOptions.Dictionary.useNullableTimeSpan||(g.type=D.System.NullableTimeSpan):g.type=D.System.NullableDateTime,h=!0)}}catch(t){n={error:t}}finally{try{d&&!d.done&&(i=m.return)&&i.call(m)}finally{if(n)throw n.error}}(!h&&StiOptions.Dictionary.columnsSynchronizationMode==x.StiColumnsSynchronizationMode.KeepAbsentColumns||p.is(x.StiCalcDataColumn))&&t.add(p)}}catch(t){e={error:t}}finally{try{c&&!c.done&&(r=u.return)&&r.call(u)}finally{if(e)throw e.error}}for(var f=new N,S=t.count-1;0<=S;S--){var g=t.getByIndex(S),y=1,A=null;while(1){if(A=1!=y?F.format("{0}{1}",g.name,y):g.name,null==f.get(A)){f.set(A,A);break}y++}g.name=A}var b=new x.StiDataColumnsCollection;try{for(var C=__values(T.columns.list),v=C.next();!v.done;v=C.next()){var w=v.value;try{for(var B=(s=void 0,__values(t.list)),I=B.next();!I.done;I=B.next()){var g=I.value;if(w.nameInSource==g.nameInSource){b.add(g),t.remove(g);break}}}catch(t){s={error:t}}finally{try{I&&!I.done&&(l=B.return)&&l.call(B)}finally{if(s)throw s.error}}}}catch(t){o={error:t}}finally{try{v&&!v.done&&(a=C.return)&&a.call(C)}finally{if(o)throw o.error}}b.addRange(t),T.columns.clear(),T.columns.addRange(b),E.callTry()}).abort(E)),E},h.prototype.synchronizeColumns3=function(t,e){this.synchronizeColumns2(t.businessObjectValue,e)},h.prototype.synchronizeColumns2=function(t,e){var r,n,i,o,a=x.StiBusinessObjectHelper.getColumnsFromData(t);try{for(var s=__values(e.columns.list),l=s.next();!l.done;l=s.next()){var u=l.value,c=!1;try{for(var p=(i=void 0,__values(a.list)),h=p.next();!h.done;h=p.next()){var m=h.value;if(u.nameInSource==m.nameInSource){m.name=u.name,StiOptions.Designer.autoCorrectDataColumnName&&(m.name=P.StiNameValidator.correctName(m.name)),m.alias=u.alias,m.nameInSource=u.nameInSource,u.type==y&&StiOptions.Dictionary.useNullableDateTime?m.type=y:u.type==A&&StiOptions.Dictionary.useNullableTimeSpan&&(m.type=A),c=!0;break}}}catch(t){i={error:t}}finally{try{h&&!h.done&&(o=p.return)&&o.call(p)}finally{if(i)throw i.error}}c||StiOptions.Dictionary.BusinessObjects.columnsSynchronizationMode!=x.StiColumnsSynchronizationMode.KeepAbsentColumns||a.add(u)}}catch(t){r={error:t}}finally{try{l&&!l.done&&(n=s.return)&&n.call(s)}finally{if(r)throw r.error}}for(var d=new N,g=a.count-1;0<=g;g--){var m=a.getByIndex(g),f=1,S=null;while(1){if(S=1!=f?F.format("{0}{1}",m.name,f):m.name,null==d.get(S)){d.set(S,S);break}f++}m.name=S}e.columns.clear(),e.columns.addRange(a)},h.prototype.clear=function(){this._variables.clear(),this._databases.clear(),this._dataSources.clear(),this._relations.clear(),this._dataStore.clearReportDatabase(),this._resources.clear(),this._restrictions.clear()},h.prototype.disposeCacheDataSet=function(){var e,t;if(null!=this.cacheDataSet){this.cacheDataSet.relations.clear();try{for(var r=__values(this.cacheDataSet.tables.list),n=r.next();!n.done;n=r.next())var i=n.value}catch(t){e={error:t}}finally{try{n&&!n.done&&(t=r.return)&&t.call(r)}finally{if(e)throw e.error}}this.cacheDataSet.tables.clear(),this.cacheDataSet.dispose(),this.cacheDataSet=null}},h.prototype.renameDatabase=function(t,e){if(t.name==e)return;for(var r=t.name+".",n=e+".",i=0;i<this.dataSources.count;i++){var o=this.dataSources.getByIndex(i).as(x.StiDataTableSource);null!=o&&(o.nameInSource.stimulsoft.startsWith(r)?o.nameInSource=o.nameInSource.stimulsoft.replaceAll(r,n):o.nameInSource==t.name&&(o.nameInSource=e))}t.name=e},h.prototype.connectToDatabasesAsync=function(t,e){var r,n;void 0===t&&(t=null),void 0===e&&(e=!0);var i=new f;null==t&&(t=this.databases.toList()),this.dataStore.clearReportDatabase();var o=t.length,a=function(t){t.invokeConnecting(),x.StiDataLeader.regDataAsync(t,s,e).try(function(){o--,t.invokeConnected()}),0==o&&i.callTry()},s=this;try{for(var l=__values(t),u=l.next(),c;!u.done;u=l.next()){a(u.value)}}catch(t){r={error:t}}finally{try{u&&!u.done&&(n=l.return)&&n.call(l)}finally{if(r)throw r.error}}return 0==o&&i.callTry(),i},h.prototype.connectAsync=function(p,h){void 0===p&&(p=!0),void 0===h&&(h=null);var m=new f,d=this;try{var g=function(){d.businessObjects.connect(),p&&d.regRelations2(),m.callTry()};null!=d.cacheDataSet&&d.cacheDataSet.dispose(),d.cacheDataSet=new o("CacheDataSet"),d.createDatabasesAsync(p).try(function(){var e,t;if(null!=h&&0<h.length){var r=0;try{for(var n=__values(h),i=n.next();!i.done;i=n.next()){var o=i.value;r++,x.StiDataLeader.connectAsync(o,null,p).try(function(){0==--r&&g()}).catch(function(t){m.callCatch(t)}).abort(m)}}catch(t){e={error:t}}finally{try{i&&!i.done&&(t=n.return)&&t.call(n)}finally{if(e)throw e.error}}}else if(d.report.retrieveOnlyUsedData&&p){for(var a=x.StiDataSourceHelper.getUsedDataSourcesNames(d.report),s=!1,l=d.dataSources.count,u=0;u<d.dataSources.count;u++){var c=d.dataSources.getByIndex(u);a.containsKey(c.name)?(s=!0,x.StiDataLeader.connectAsync(c,null,!0).try(function(){try{0==--l&&g()}catch(t){D.System.StiError.showError(t,!1),m.callCatch(t)}}).catch(function(t){m.callCatch(t)}).abort(m)):l--}s||0!=l||g()}else d.dataSources.connectAsync(p).try(function(){try{g()}catch(t){D.System.StiError.showError(t,!1),m.callCatch(t)}}).catch(function(t){m.callCatch(t)}).abort(m)}).abort(m)}catch(t){m.callCatch(t.message)}return m},h.prototype.connect=function(e,t){if(void 0===e&&(e=!0),void 0===t&&(t=null),null!=this.cacheDataSet&&this.cacheDataSet.dispose(),this.cacheDataSet=new o("CacheDataSet"),this.createDatabases(e),null!=t)t.forEach(function(t){return x.StiDataLeader.connect(t,null,e)});else if(this.report.retrieveOnlyUsedData&&e)for(var r=x.StiDataSourceHelper.getUsedDataSourcesNames(this.report),n=0;n<this.dataSources.count;n++){var i=this.dataSources.getByIndex(n);r.containsKey(i.name)&&x.StiDataLeader.connect(i,null,!0)}else this.dataSources.connect(e);this.businessObjects.connect(),e&&this.regRelations2()},h.prototype.connectVirtualDataSourcesAsync=function(){var e,t,r=new f,n=new N,i=0,o=!0;while(o){o=!1;try{for(var a=(e=void 0,__values(this.dataSources.fetchAllVirtualDataSources())),s=a.next();!s.done;s=a.next()){var l=s.value,u=this.report.dictionary.dataSources.getByName(l.nameInSource);if(null==u||u.name==l.name){n.set(l,l);continue}if(u.is(x.StiVirtualSource)&&null==n.get(u)){o=!0;continue}n.set(l,l),i++,l.connectToDataAsync().try(function(){0==--i&&r.callTry()})}}catch(t){e={error:t}}finally{try{s&&!s.done&&(t=a.return)&&t.call(a)}finally{if(e)throw e.error}}}return 0==i&&r.callTry(),r},h.prototype.connectDataTransformationsAsync=function(){var e=new f,r=0;return this.dataSources.fetchAllDataTransformations().forEach(function(t){r++,t.connectToDataAsync().try(function(){0==--r&&e.callTry()})}),0==r&&e.callTry(),e},h.prototype.connectCrossTabDataSources=function(){},h.prototype.disconnect=function(){this.disconnectingDatabases(this.databases.toList()),this.disconnectingConnectionInDataStore(),this.disposeCacheDataSet(),this.businessObjects.disconnect(),this.dataSources.disconnect(),this.dataStore.clearReportDatabase(),this.disconnectedDatabases(this.databases.toList()),s.unRegisterConnections(this.databases.toList().cast())},h.prototype.disconnectingDatabases=function(t){var e,r;try{for(var n=__values(t),i=n.next(),o;!i.done;i=n.next()){i.value.invokeDisconnecting()}}catch(t){e={error:t}}finally{try{i&&!i.done&&(r=n.return)&&r.call(n)}finally{if(e)throw e.error}}},h.prototype.disconnectedDatabases=function(t){var e,r;try{for(var n=__values(t),i=n.next(),o;!i.done;i=n.next()){i.value.invokeDisconnected()}}catch(t){e={error:t}}finally{try{i&&!i.done&&(r=n.return)&&r.call(n)}finally{if(e)throw e.error}}},h.prototype.disconnectingConnectionInDataStore=function(t){var e,r;void 0===t&&(t=null),null==t&&(t=this.dataStore.toList().where(function(t){return null!=t.data}));try{for(var n=__values(t),i=n.next();!i.done;i=n.next())var o=i.value}catch(t){e={error:t}}finally{try{i&&!i.done&&(r=n.return)&&r.call(n)}finally{if(e)throw e.error}}},h.prototype.checkRelation=function(t,e,r,n){var i=t.relations.getByName(e)?t.relations.getByName(e):t.relations.getByName(e.trim());if(null!=i){if(this.equalsRelationColumns(r,i.parentColumns)&&this.equalsRelationColumns(n,i.childColumns))return!0;t.relations.remove(i)}var o=0;while(o<t.relations.count)i=t.relations.getByIndex(o),this.equalsRelationColumns(i.parentColumns,r)&&this.equalsRelationColumns(i.childColumns,n)?t.relations.removeAt(o):o++;return!1},h.prototype.equalsRelationColumns=function(t,e){var r,n,i,o;try{for(var a=__values(t),s=a.next();!s.done;s=a.next()){var l=s.value;try{for(var u=(i=void 0,__values(e)),c=u.next();!c.done;c=u.next()){var p=c.value,p=p.columnName==l.columnName&&p.table==l.table;if(p)return p}}catch(t){i={error:t}}finally{try{c&&!c.done&&(o=u.return)&&o.call(u)}finally{if(i)throw i.error}}}}catch(t){r={error:t}}finally{try{s&&!s.done&&(n=a.return)&&n.call(a)}finally{if(r)throw r.error}}return!1},h.prototype.getRelationName=function(t){var e,r,n,i,o,a,s=!0,l=2,u=t.name,c=u;try{for(var p=__values(t.childSource.columns.list),h=p.next(),m;!h.done;h=p.next()){if(h.value.name==c){u=c="Parent"+c;break}}}catch(t){e={error:t}}finally{try{h&&!h.done&&(r=p.return)&&r.call(p)}finally{if(e)throw e.error}}while(s){s=!1;try{for(var d=(n=void 0,__values(this.relations.list)),g=d.next();!g.done;g=d.next()){var f,S=g.value.stimulsoft.as(x.StiDataRelation);if(S.childSource==t.childSource&&S!=t&&S.name==c){var y,c=u+"_"+(y=l++).toString(),s=!0;break}}}catch(t){n={error:t}}finally{try{g&&!g.done&&(i=d.return)&&i.call(d)}finally{if(n)throw n.error}}}s=!0;while(s){s=!1;try{for(var A=(o=void 0,__values(this.dataSources.list)),b=A.next(),C,v,y;!b.done;b=A.next()){if("Parent"+b.value.as(w).name==c){c=u+"_"+(y=l++).toString(),s=!0;break}}}catch(t){o={error:t}}finally{try{b&&!b.done&&(a=A.return)&&a.call(A)}finally{if(o)throw o.error}}}return c},h.prototype.regRelations2=function(t){var e,r;void 0===t&&(t=!1);try{for(var n=__values(this.relations.list),i=n.next();!i.done;i=n.next()){var o=i.value;this.regRelation(o,t)}}catch(t){e={error:t}}finally{try{i&&!i.done&&(r=n.return)&&r.call(n)}finally{if(e)throw e.error}}},h.prototype.regRelation=function(e,t){var r,n,i,o;try{var a=null,s=null;null!=e.parentSource&&(a=e.parentSource),null!=e.childSource&&(s=e.childSource);var l=null!=a&&a.is(x.StiVirtualSource)||null!=s&&s.is(x.StiVirtualSource);if(!t&&l)return;if(t&&!l)return;if(!this.report.isDesigning&&null==a)throw F.format("Please, check relation '{0}'. "+"Report engine can't find parent Data Source!",e.name);if(null==s)throw F.format("Please, check relation '{0}'. "+"Report engine can't find child Data Source!",e.name);if(null==a.dataTable)return;if(null==s.dataTable)return;if(!this.report.isDesigning&&null==a.dataTable.dataSet)throw F.format("Parent Data Source '{0}' is not located"+" in DataSet and can't be used in relation '{1}'!"+" You can use property CacheAllData of report to cache this Data Source"+" to one DataSet.",a.name,e.name);if(null==s.dataTable.dataSet)throw F.format("Child Data Source '{0}' is not located"+" in DataSet and can't be used in relation '{1}'!"+" You can use property CacheAllData of report to cache this Data Source"+" to one DataSet.",s.name,e.name);if(!this.report.isDesigning&&a.dataTable.dataSet!=s.dataTable.dataSet)throw F.format("Parent Data Source '{0}' and "+"Child Data Source '{1}' is not located"+" in one DataSet and can't be used in relation '{2}'!"+" You can use property CacheAllData of report to cache this Data Source"+" to one DataSet.",a.name,s.name,e.name);if(!this.report.isDesigning&&0==e.parentColumns.length)throw F.format("Parent columns is specified in "+"in relation '{0}'! Relation can't be created!",e.name);if(0==e.childColumns.length)throw F.format("Child columns is specified in "+"in relation '{0}'! Relation can't be created!",e.name);if(!this.report.isDesigning&&e.parentColumns.length!=e.childColumns.length)throw F.format("Count of parent columns is not equal to "+"count of child columns in relation '{0}'! Relation can't be created!",e.name);var u=[],c=0;try{for(var p=__values(e.parentColumns),h=p.next();!h.done;h=p.next()){var m=h.value;if(null==a.dataTable.columns.getByName(m))throw F.format("Column '{0}' does not exist in "+"Data Source '{1}' and relation '{2}' can't be created!",m,a.name,e.name);u[c]=a.dataTable.columns.getByName(m),c++}}catch(t){r={error:t}}finally{try{h&&!h.done&&(n=p.return)&&n.call(p)}finally{if(r)throw r.error}}var d=[],c=0;try{for(var g=__values(e.childColumns),f=g.next();!f.done;f=g.next()){var m=f.value;if(null==s.dataTable.columns.getByName(m))throw F.format("Column '{0}' does not exist in "+"Data Source '{1}' and relation '{2}' can't be created!",m,s.name,e.name);d[c]=s.dataTable.columns.getByName(m),c++}}catch(t){i={error:t}}finally{try{f&&!f.done&&(o=g.return)&&o.call(g)}finally{if(i)throw i.error}}var l=a.dataTable.dataSet;0<u.length&&0<d.length&&(this.checkRelation(l,e.nameInSource,u,d)||(l.enforceConstraints=!1,l.relations.add(new S(e.nameInSource,u,d))))}catch(t){if(D.System.StiError.showError(t,!1),P.StiLogService.write(this.stimulsoft.getType(),"Creating relation '"+e.nameInSource+"'...ERROR"),P.StiLogService.write(this.stimulsoft.getType(),t),!StiOptions.Dictionary.hideRelationExceptions&&!this.report.isDesigning)throw t}},p=h,x.StiDictionary=p}(Stimulsoft=Stimulsoft||{}),function(t){var e,r,n,i,h,o,a;function s(t,e,r,n){this.groupHeaders=null,this.groupSummaries=t,this.groupLines=e,this.groupHeaders=r,this.baseRowOrder=n}r=e=t.Report||(t.Report={}),i=n=r.Dictionary||(r.Dictionary={}),h=t.Report.Components.StiGroupSortDirection,o=t.System.DateTime,a=t.System.TimeSpan,s.prototype.compare=function(t,e){var r,n;if(t==e)return 0;try{for(var i=__values(this.groupHeaders.toCast()),o=i.next();!o.done;o=i.next()){var a=o.value;if(a.summarySortDirection==h.None)continue;var s=a.summarySortDirection==h.Ascending?1:-1,l=this.groupSummaries.get(a),u=this.groupLines.get(a),a=l.get(t),l=l.get(e),a=this.compareValues(a,l);if(0!=a)return a*s;var l=u.get(t),u=u.get(e),a;if(0!=(a=l.stimulsoft.compareTo(u)))return a*s}}catch(t){r={error:t}}finally{try{o&&!o.done&&(n=i.return)&&n.call(i)}finally{if(r)throw r.error}}var c=this.baseRowOrder.get(t),p=this.baseRowOrder.get(e);return c.stimulsoft.compareTo(p)},s.prototype.compareValues=function(t,e){if("number"==typeof t||"number"==typeof e)return(+t).stimulsoft.compareTo(+e);if(t instanceof o||e instanceof o)return t.compareTo(e);if(t instanceof a||e instanceof a)return t.compareTo(e);return 0},s.prototype.clear=function(){this.groupSummaries.clear(),this.groupSummaries=null,this.groupLines.clear(),this.groupLines=null,this.groupHeaders=null,this.baseRowOrder.clear(),this.baseRowOrder=null},r=s,i.StiGroupSummaryDataSort=r}(Stimulsoft=Stimulsoft||{}),function(t){var e,r,n,i,o,a,s;function l(t,e,r){if(this.businessObject=null,this.businessObject=t,this.keyColumn=e.keyDataColumn,this.masterKeyColumn=e.masterKeyDataColumn,this.parentValue=e.parentValue,this.sortColumns=r,null==this.keyColumn||0==this.keyColumn.trim().length)throw new Error("Property 'KeyDataColumn' of '"+e.name+"'is not filled!");if(null==this.masterKeyColumn||0==this.masterKeyColumn.trim().length)throw new Error("Property 'MasterKeyDataColumn' of '"+e.name+"'is not filled!");if(!t.columns.contains(this.keyColumn))throw new Error("Column '"+this.keyColumn+"' does not present in '"+t.name+"'");if(!t.columns.contains(this.masterKeyColumn))throw new Error("Column '"+this.masterKeyColumn+"' does not present in '"+t.name+"'");null==this.parentValue&&(this.parentValue="")}r=e=t.Report||(t.Report={}),i=n=r.Dictionary||(r.Dictionary={}),o=t.System.Collections.Hashtable,a=t.System.Type,s=t.System.Data.DBNull,l.prototype.compare=function(t,e){return 0},l.prototype.getParentValue=function(t){if(t.stimulsoft.is(a)&&(t=null),null==t)return"";if(t==s.value)return"";var t=t.toString();if(0==t.trim().length)return"";return t},l.prototype.process=function(){var t=new o;this.createTree(t),this.setLevelAndSort(t,this.parentValue,0);var e=[];this.createRowList(t,e,this.parentValue),this.businessObject.enumerator=null},l.prototype.createTree=function(t){this.businessObject.enumerator.reset()},l.prototype.setLevelAndSort=function(t,e,r){var t=t.get(this.getParentValue(e)).stimulsoft.as(Array),e;null!=t&&(e=new i.StiBusinessObjectSort(this.businessObject.ownerBand.sort,this.businessObject,null,null),t.Sort(e),e.clear())},l.prototype.createRowList=function(t,e,r){var n,i,o=t.get(this.getParentValue(r)).stimulsoft.as(Array);if(null!=o)try{for(var a=__values(o),s=a.next();!s.done;s=a.next()){var l=s.value;e.push(l)}}catch(t){n={error:t}}finally{try{s&&!s.done&&(i=a.return)&&i.call(a)}finally{if(n)throw n.error}}},r=l,i.StiHierarchicalBusinessObjectSort=r}(Stimulsoft=Stimulsoft||{}),function(o){var t,e,r,b,n,i,a,s;function l(t,e,r){if(this.dataSource=null,this.keyColumn=null,this.masterKeyColumn=null,this.parentValue=null,this.sortColumns=null,this.dataSource=t,this.keyColumn=e.keyDataColumn,this.masterKeyColumn=e.masterKeyDataColumn,this.parentValue=e.parentValue,this.sortColumns=r,null==this.keyColumn||0==this.keyColumn.trim().length)throw new Error("Property 'KeyDataColumn' of '"+e.name+"'is not filled!");if(null==this.masterKeyColumn||0==this.masterKeyColumn.trim().length)throw new Error("Property 'MasterKeyDataColumn' of '"+e.name+"'is not filled!");if(!this.dataSource.columns.contains(this.keyColumn))throw new Error("Column '"+this.keyColumn+"' does not present in '"+t.name+"'");if(!this.dataSource.columns.contains(this.masterKeyColumn))throw new Error("Column '"+this.masterKeyColumn+"' does not present in '"+t.name+"'");null==this.parentValue&&(this.parentValue="")}e=t=o.Report||(o.Report={}),b=r=e.Dictionary||(e.Dictionary={}),n=o.System.StiArray,i=o.System.Collections.Hashtable,a=o.System.Data.DBNull,s=o.System.Data.DataRow,l.prototype.compare=function(t,e){try{if(t==e)return 0;var r=t.stimulsoft.as(s),n=e.stimulsoft.as(s),r=r.gett(this.keyColumn),n=n.gett(this.keyColumn),i;return new b.StiDataSort(null,null,null,null).compareValues(r,n)}catch(t){return o.System.StiError.showError(t.message,!1),0}},l.prototype.getParentValue=function(t){if(null==t)return"";if(t==a)return"";var t=t.toString();if(0==t.trim().length)return"";return t},l.prototype.process=function(t){if(null==this.dataSource.detailRows)return;var e=new i;this.createTree(e),this.dataSource.rowToLevel=new i,this.setLevelAndSort(t,e,this.parentValue,0);var t=[];this.createRowList(e,t,this.parentValue),this.dataSource.detailRows=n.create(s,t.length),t.stimulsoft.copyTo(this.dataSource.detailRows)},l.prototype.createTree=function(t){var e,r;try{for(var n=__values(this.dataSource.detailRows),i=n.next();!i.done;i=n.next()){var o=i.value,a=o.gett(this.masterKeyColumn),a=this.getParentValue(a),s=t.get(a);null==s&&(s=[],t.set(a,s)),s.push(o)}}catch(t){e={error:t}}finally{try{i&&!i.done&&(r=n.return)&&r.call(n)}finally{if(e)throw e.error}}},l.prototype.setLevelAndSort=function(t,e,r,n){var i,o,a,s,l,u,c=e.get(this.getParentValue(r));if(null!=c){try{for(var p=__values(c),h=p.next();!h.done;h=p.next()){var m=h.value;this.dataSource.rowToLevel.set(m,n);var d=m.gett(this.keyColumn);this.setLevelAndSort(t.clone(),e,d,n+1)}}catch(t){i={error:t}}finally{try{h&&!h.done&&(o=p.return)&&o.call(p)}finally{if(i)throw i.error}}var r=new b.StiDataSort(t,null,this.sortColumns,this.dataSource),g=[];try{for(var f=__values(c),S=f.next();!S.done;S=f.next()){var m=S.value;g.push(m)}}catch(t){a={error:t}}finally{try{S&&!S.done&&(s=f.return)&&s.call(f)}finally{if(a)throw a.error}}g.stimulsoft.sort2(r),c.stimulsoft.clear();try{for(var y=__values(g),A=y.next();!A.done;A=y.next()){var m=A.value;c.push(m)}}catch(t){l={error:t}}finally{try{A&&!A.done&&(u=y.return)&&u.call(y)}finally{if(l)throw l.error}}r.clear()}},l.prototype.createRowList=function(t,e,r){var n,i,o=t.get(this.getParentValue(r));if(null!=o)try{for(var a=__values(o),s=a.next();!s.done;s=a.next()){var l=s.value;e.push(l);var l=l.gett(this.keyColumn);this.createRowList(t,e,l)}}catch(t){n={error:t}}finally{try{s&&!s.done&&(i=a.return)&&i.call(a)}finally{if(n)throw n.error}}},e=l,b.StiHierarchicalDataSort=e}(Stimulsoft=Stimulsoft||{}),function(t){var e,r,n,l,i,u,o,c,a;function s(){var t=null!==a&&a.apply(this,arguments)||this;return t.directionFactor=1,t}r=e=t.Report||(t.Report={}),l=n=r.Dictionary||(r.Dictionary={}),i=t.Base.JsonReportObject.IStiJsonReportObject,u=t.Base.StiJsonSaveMode,r=t.System.Collections.CollectionBase,o=t.System.Collections.IComparer,c=t.Base.StiJson,__extends(s,a=r),s.prototype.implements=function(){return[o,i]},s.prototype.clone=function(){var e,t,r=new s;try{for(var n=__values(this.list),i=n.next();!i.done;i=n.next()){var o=i.value;r.add(o.clone())}}catch(t){e={error:t}}finally{try{i&&!i.done&&(t=n.return)&&t.call(n)}finally{if(e)throw e.error}}return r},s.prototype.saveToJsonObject=function(t){var e,r;if(0==this.list.length)return null;var n=new c,i=0;try{for(var o=__values(this.list),a=o.next();!a.done;a=o.next()){var s=a.value;n.addPropertyJObject(i.toString(),s.saveToJsonObject(u.Report)),i++}}catch(t){e={error:t}}finally{try{a&&!a.done&&(r=o.return)&&r.call(o)}finally{if(e)throw e.error}}return n},s.prototype.loadFromJsonObject=function(t,e){var r,n;try{for(var i=__values(t.properties()),o=i.next();!o.done;o=i.next()){var a=o.value,s=new l.StiResource;s.loadFromJsonObject(a.value),this.list.push(s)}}catch(t){r={error:t}}finally{try{o&&!o.done&&(n=i.return)&&n.call(i)}finally{if(r)throw r.error}}},s.prototype.loadFromXml=function(t){for(var e=0;e<t.childNodes.length;e++){var r=t.childNodes[e],n;"value"==r.nodeName&&((n=new l.StiResource).loadFromXml(r),this.list.push(n))}},s.prototype.compare=function(t,e){var t=t,e=e;return StiOptions.Designer.sortDictionaryByAliases?t.alias.stimulsoft.compareTo(e.alias)*this.directionFactor:t.name.stimulsoft.compareTo(e.name)*this.directionFactor},s.prototype.sort=function(t){void 0===t&&(t=l.StiSortOrder.Asc),t==l.StiSortOrder.Asc?this.directionFactor=1:this.directionFactor=-1,this.list.stimulsoft.sort2(this)},s.prototype.getByName=function(t){var e,r;t=t.toLowerCase();try{for(var n=__values(this.list),i=n.next();!i.done;i=n.next()){var o=i.value;if(o.name.toLowerCase()==t)return o}}catch(t){e={error:t}}finally{try{i&&!i.done&&(r=n.return)&&r.call(n)}finally{if(e)throw e.error}}return null},s.prototype.getByAlias=function(t){var e,r;t=t.toLowerCase();try{for(var n=__values(this.list),i=n.next();!i.done;i=n.next()){var o=i.value;if(o.alias.toLowerCase()==t)return o}}catch(t){e={error:t}}finally{try{i&&!i.done&&(r=n.return)&&r.call(n)}finally{if(e)throw e.error}}return null},s.prototype.setByName=function(t,e){t=t.toLowerCase();for(var r=0,n;r<this.list.length;r++){if(this.getByIndex(r).name.toLowerCase()==t)return void(this.list[r]=e)}this.add(e)},r=s,l.StiResourcesCollection=r}(Stimulsoft=Stimulsoft||{}),function(t){var e,r,n,l,i;function o(){}r=e=t.Report||(t.Report={}),l=n=r.Dictionary||(r.Dictionary={}),i=t.System.Collections.Hashtable,o.prototype.clear=function(){null!=this.restrictionsDataSource&&(this.restrictionsDataSource.clear(),this.restrictionsDataSource=null),null!=this.restrictionsDataRelation&&(this.restrictionsDataRelation.clear(),this.restrictionsDataRelation=null),null!=this.restrictionsDataColumn&&(this.restrictionsDataColumn.clear(),this.restrictionsDataColumn=null),null!=this.restrictionsDatabase&&(this.restrictionsDatabase.clear(),this.restrictionsDatabase=null),null!=this.restrictionsVariable&&(this.restrictionsVariable.clear(),this.restrictionsVariable=null),null!=this.restrictionsTotal&&(this.restrictionsTotal.clear(),this.restrictionsTotal=null),null!=this.restrictionsBusinessObject&&(this.restrictionsBusinessObject.clear(),this.restrictionsBusinessObject=null)},o.prototype.getHashtable=function(t,e){switch(t){case l.StiDataType.Database:return null==this.restrictionsDatabase&&e&&(this.restrictionsDatabase=new i),this.restrictionsDatabase;case l.StiDataType.DataColumn:return null==this.restrictionsDataColumn&&e&&(this.restrictionsDataColumn=new i),this.restrictionsDataColumn;case l.StiDataType.DataRelation:return null==this.restrictionsDataRelation&&e&&(this.restrictionsDataRelation=new i),this.restrictionsDataRelation;case l.StiDataType.DataSource:return null==this.restrictionsDataSource&&e&&(this.restrictionsDataSource=new i),this.restrictionsDataSource;case l.StiDataType.BusinessObject:return null==this.restrictionsBusinessObject&&e&&(this.restrictionsBusinessObject=new i),this.restrictionsBusinessObject;case l.StiDataType.Total:return null==this.restrictionsTotal&&e&&(this.restrictionsTotal=new i),this.restrictionsTotal;default:return null==this.restrictionsVariable&&e&&(this.restrictionsVariable=new i),this.restrictionsVariable}},o.prototype.add=function(t,e,r){var n=this.getHashtable(e,!0),e=n.get(t).stimulsoft.as(Array);null==e&&(e=new Array,n.set(t,e)),e.push(r)},o.prototype.isAllowEdit=function(t,e){var r,n,e=this.getHashtable(e,!1);if(null==e||null==e.get(t))return!0;var i=e.get(t).stimulsoft.as(Array);if(null!=i)try{for(var o=__values(i),a=o.next(),s;!a.done;a=o.next()){if(0!=(a.value&l.StiRestrictionTypes.DenyEdit))return!1}}catch(t){r={error:t}}finally{try{a&&!a.done&&(n=o.return)&&n.call(o)}finally{if(r)throw r.error}}return!0},o.prototype.isAllowDelete=function(t,e){var r,n,e=this.getHashtable(e,!1);if(null==e||null==e.get(t))return!0;var i=e.get(t).stimulsoft.as(Array);if(null!=i)try{for(var o=__values(i),a=o.next(),s;!a.done;a=o.next()){if(0!=(a.value&l.StiRestrictionTypes.DenyDelete))return!1}}catch(t){r={error:t}}finally{try{a&&!a.done&&(n=o.return)&&n.call(o)}finally{if(r)throw r.error}}return!0},o.prototype.isAllowShow=function(t,e){var r,n,e=this.getHashtable(e,!1);if(null==e||null==e.get(t))return!0;var i=e.get(t).stimulsoft.as(Array);if(null!=i)try{for(var o=__values(i),a=o.next(),s;!a.done;a=o.next()){if(0!=(a.value&l.StiRestrictionTypes.DenyShow))return!1}}catch(t){r={error:t}}finally{try{a&&!a.done&&(n=o.return)&&n.call(o)}finally{if(r)throw r.error}}return!0},o.prototype.isAllowMove=function(t,e){var r,n,e=this.getHashtable(e,!1);if(null==e||null==e.get(t))return!0;var i=e.get(t).stimulsoft.as(Array);if(null!=i)try{for(var o=__values(i),a=o.next(),s;!a.done;a=o.next()){if(0!=(a.value&l.StiRestrictionTypes.DenyMove))return!1}}catch(t){r={error:t}}finally{try{a&&!a.done&&(n=o.return)&&n.call(o)}finally{if(r)throw r.error}}return!0},r=o,l.StiRestrictions=r}(Stimulsoft=Stimulsoft||{}),function(t){var e,r,n,t;function i(t,e){this.dataSource=t,this.rowIndex=e}r=e=t.Report||(t.Report={}),t=n=r.Dictionary||(r.Dictionary={}),i.prototype.getByName=function(t){return this.dataSource.getData(t,this.rowIndex)},r=i,t.StiRow=r}(Stimulsoft=Stimulsoft||{}),function(t){var e,t,r,n;function i(t){this.dataSource=null,this.dataSource=t}t=e=t.Report||(t.Report={}),n=r=t.Dictionary||(t.Dictionary={}),i.prototype.getEnumerator=function(){return this},Object.defineProperty(i.prototype,"current",{get:function(){return new n.StiRow(this.dataSource,this.dataSource.position)},enumerable:!1,configurable:!0}),i.prototype.moveNext=function(){return this.dataSource.next(),!this.dataSource.isEof},i.prototype.reset=function(){this.dataSource.first()},i.prototype.getbyIndex=function(t){return new n.StiRow(this.dataSource,t)},Object.defineProperty(i.prototype,"count",{get:function(){return this.dataSource.count},enumerable:!1,configurable:!0}),t=i,n.StiRowsCollection=t}(Stimulsoft=Stimulsoft||{}),function(t){var e,r,n,i,o;function a(){}r=e=t.Report||(t.Report={}),i=n=r.Dictionary||(r.Dictionary={}),o=t.System.StiString,a.Del_=function(t){return o.isNullOrWhiteSpace(t)?t:t.stimulsoft.replaceAll("_","")},r=a,i.StiStrFix=r}(Stimulsoft=Stimulsoft||{}),function(t){var e,r,n,i,o;function a(){}r=e=t.Report||(t.Report={}),i=n=r.Dictionary||(r.Dictionary={}),o=t.Base.Localization.StiLocalization,a.getSystemVariableInfo=function(t){return o.get("SystemVariables",t)},a.getSystemVariables=function(t){if(null!=t)return this.getSystemVariablesV2();return[]},a.getSystemVariablesV2=function(){return null==a.systemVariablesV2&&(a.systemVariablesV2=["Column","Line","LineThrough","LineABC","LineRoman","GroupLine","PageNumber","PageNumberThrough","PageNofM","PageNofMThrough","TotalPageCount","TotalPageCountThrough","IsFirstPage","IsFirstPageThrough","IsLastPage","IsLastPageThrough","PageCopyNumber","ReportAlias","ReportAuthor","ReportChanged","ReportCreated","ReportDescription","ReportName","Time","Today"]),a.systemVariablesV2},r=a,i.StiSystemVariablesHelper=r}(Stimulsoft=Stimulsoft||{}),function(r){var t,e,n,a,s;function l(t,e){this._name="",this._name=t,this._type=e}e=t=r.Report||(r.Report={}),a=n=e.Dictionary||(e.Dictionary={}),s=r.Base.StiTypeWrapper,Object.defineProperty(l.prototype,"name",{get:function(){return this._name},set:function(t){this._name=t},enumerable:!1,configurable:!0}),Object.defineProperty(l.prototype,"type",{get:function(){return this._type},set:function(t){this._type=t},enumerable:!1,configurable:!0}),l.getTypes=function(){var e,t,r=new a.StiTypesCollection;try{for(var n=__values(s.simpleTypes),i=n.next();!i.done;i=n.next()){var o=i.value;r.add(new l(s.toString(o),o))}}catch(t){e={error:t}}finally{try{i&&!i.done&&(t=n.return)&&t.call(n)}finally{if(e)throw e.error}}return r},l.getBaseTypes=function(){var e,t,r=new a.StiTypesCollection;try{for(var n=__values(s.simpleBaseTypes),i=n.next();!i.done;i=n.next()){var o=i.value;r.add(new l(s.toString(o),o))}}catch(t){e={error:t}}finally{try{i&&!i.done&&(t=n.return)&&t.call(n)}finally{if(e)throw e.error}}return r},l.getTypeModeFromType=function(t,e){if(e.ref=a.StiTypeMode.Value,null==t)return t;if(t==String)return t;if(t==Boolean)return t;if(t==r.System.Byte)return t;if(t==r.System.SByte)return t;if(t==r.System.UInt16)return t;if(t==r.System.UShort)return t;if(t==r.System.Int16)return t;if(t==r.System.Short)return t;if(t==r.System.UInt)return t;if(t==r.System.Int)return t;if(t==r.System.Int32)return t;if(t==r.System.UInt64)return t;if(t==r.System.ULong)return t;if(t==r.System.Int64)return t;if(t==r.System.Long)return t;if(t==r.System.Single)return t;if(t==r.System.Double)return t;if(t==r.System.Decimal)return t;if(t==r.System.Char)return t;if(t==r.System.TimeSpan)return t;if(t==r.System.DateTime)return t;if(t==r.System.Guid)return t;if(t==r.System.Drawing.Image)return t;if(t==Object)return t;if(e.ref=a.StiTypeMode.NullableValue,t==r.System.NullableBoolean)return Boolean;if(t==r.System.NullableByte)return r.System.Byte;if(t==r.System.NullableSByte)return r.System.SByte;if(t==r.System.NullableUInt16)return r.System.UInt16;if(t==r.System.NullableUShort)return r.System.UShort;if(t==r.System.NullableInt16)return r.System.Int16;if(t==r.System.NullableShort)return r.System.Short;if(t==r.System.NullableUInt)return r.System.UInt;if(t==r.System.NullableInt)return r.System.Int;if(t==r.System.NullableInt32)return r.System.Int32;if(t==r.System.NullableUInt32)return r.System.UInt32;if(t==r.System.NullableUInt64)return r.System.UInt64;if(t==r.System.NullableULong)return r.System.ULong;if(t==r.System.NullableInt64)return r.System.Int64;if(t==r.System.NullableLong)return r.System.Long;if(t==r.System.NullableSingle)return r.System.Single;if(t==r.System.NullableDouble)return r.System.Double;if(t==r.System.NullableDecimal)return r.System.Decimal;if(t==r.System.NullableChar)return r.System.Char;if(t==r.System.NullableTimeSpan)return r.System.TimeSpan;if(t==r.System.NullableDateTime)return r.System.DateTime;if(t==r.System.NullableGuid)return r.System.Guid;if(e.ref=a.StiTypeMode.List,t==r.System.StimulsoftStringList)return String;if(t==r.System.StimulsoftBoolList)return Boolean;if(t==r.System.StimulsoftByteList)return r.System.Byte;if(t==r.System.StimulsoftShortList)return r.System.Short;if(t==r.System.StimulsoftIntList)return r.System.Int;if(t==r.System.StimulsoftLongList)return r.System.Long;if(t==r.System.StimulsoftFloatList)return r.System.Single;if(t==r.System.StimulsoftDoubleList)return r.System.Double;if(t==r.System.StimulsoftDecimalList)return r.System.Decimal;if(t==r.System.StimulsoftCharList)return r.System.Char;if(t==r.System.StimulsoftTimeSpanList)return r.System.TimeSpan;if(t==r.System.StimulsoftDateTimeList)return r.System.DateTime;if(t==r.System.StimulsoftGuidList)return r.System.Guid;if(e.ref=a.StiTypeMode.Range,t==r.System.StimulsoftStringRange)return String;if(t==r.System.StimulsoftByteRange)return r.System.Byte;if(t==r.System.StimulsoftShortRange)return r.System.Short;if(t==r.System.StimulsoftIntRange)return r.System.Int;if(t==r.System.StimulsoftLongRange)return r.System.Long;if(t==r.System.StimulsoftFloatRange)return r.System.Single;if(t==r.System.StimulsoftDoubleRange)return r.System.Double;if(t==r.System.StimulsoftDecimalRange)return r.System.Decimal;if(t==r.System.StimulsoftCharRange)return r.System.Char;if(t==r.System.StimulsoftTimeSpanRange)return r.System.TimeSpan;if(t==r.System.StimulsoftDateTimeRange)return r.System.DateTime;if(t==r.System.StimulsoftGuidRange)return r.System.Guid;if(t==r.Report.StringRange)return String;if(t==r.Report.ByteRange)return r.System.Byte;if(t==r.Report.ShortRange)return r.System.Short;if(t==r.Report.IntRange)return r.System.Int;if(t==r.Report.LongRange)return r.System.Long;if(t==r.Report.FloatRange)return r.System.Single;if(t==r.Report.DoubleRange)return r.System.Double;if(t==r.Report.DecimalRange)return r.System.Decimal;if(t==r.Report.CharRange)return r.System.Char;if(t==r.Report.TimeSpanRange)return r.System.TimeSpan;if(t==r.Report.DateTimeRange)return r.System.DateTime;if(t==r.Report.GuidRange)return r.System.Guid;return e.ref=a.StiTypeMode.Value,t},l.getTypeFromTypeMode=function(t,e){if(null==t)return null;switch(e){case a.StiTypeMode.Value:return t;case a.StiTypeMode.NullableValue:if(t==Boolean)return r.System.NullableBoolean;if(t==r.System.Byte)return r.System.NullableByte;if(t==r.System.SByte)return r.System.NullableSByte;if(t==r.System.UInt16)return r.System.NullableUInt16;if(t==r.System.Int16)return r.System.NullableInt16;if(t==r.System.UInt32)return r.System.NullableUInt32;if(t==r.System.Int32)return r.System.NullableInt32;if(t==r.System.UInt64)return r.System.NullableUInt64;if(t==r.System.Int64)return r.System.NullableInt64;if(t==r.System.Single)return r.System.NullableSingle;if(t==r.System.Double)return r.System.NullableDouble;if(t==r.System.Decimal)return r.System.NullableDecimal;if(t==r.System.Char)return r.System.NullableChar;if(t==r.System.TimeSpan)return r.System.NullableTimeSpan;if(t==r.System.DateTime)return r.System.NullableDateTime;if(t==r.System.Guid)return r.System.NullableGuid;break;case a.StiTypeMode.List:if(t==String)return r.System.StimulsoftStringList;if(t==Boolean)return r.System.StimulsoftBoolList;if(t==r.System.Byte)return r.System.StimulsoftByteList;if(t==r.System.Int16)return r.System.StimulsoftShortList;if(t==r.System.Int32)return r.System.StimulsoftIntList;if(t==r.System.Int64)return r.System.StimulsoftLongList;if(t==r.System.Single)return r.System.StimulsoftFloatList;if(t==r.System.Double)return r.System.StimulsoftDoubleList;if(t==r.System.Decimal)return r.System.StimulsoftDecimalList;if(t==r.System.Char)return r.System.StimulsoftCharList;if(t==r.System.TimeSpan)return r.System.StimulsoftTimeSpanList;if(t==r.System.DateTime)return r.System.StimulsoftDateTimeList;if(t==r.System.Guid)return r.System.StimulsoftGuidList;break;case a.StiTypeMode.Range:if(t==String)return r.System.StimulsoftStringRange;if(t==r.System.Byte)return r.System.StimulsoftByteRange;if(t==r.System.Int16)return r.System.StimulsoftShortRange;if(t==r.System.Int32)return r.System.StimulsoftIntRange;if(t==r.System.Int64)return r.System.StimulsoftLongRange;if(t==r.System.Single)return r.System.StimulsoftFloatRange;if(t==r.System.Double)return r.System.StimulsoftDoubleRange;if(t==r.System.Decimal)return r.System.StimulsoftDecimalRange;if(t==r.System.Char)return r.System.StimulsoftCharRange;if(t==r.System.TimeSpan)return r.System.StimulsoftTimeSpanRange;if(t==r.System.DateTime)return r.System.StimulsoftDateTimeRange;if(t==r.System.Guid)return r.System.StimulsoftGuidRange;break}return t},l.prototype.toString=function(){return this._name},e=l,a.StiType=e}(Stimulsoft=Stimulsoft||{}),function(t){var e,r,n,i,o;function a(){return null!==o&&o.apply(this,arguments)||this}r=e=t.Report||(t.Report={}),i=n=r.Dictionary||(r.Dictionary={}),r=t.System.Collections.CollectionBase,__extends(a,o=r),a.prototype.getByName=function(t){var e,r;try{for(var n=__values(this.list),i=n.next();!i.done;i=n.next()){var o=i.value;if(o.name==t)return o}}catch(t){e={error:t}}finally{try{i&&!i.done&&(r=n.return)&&r.call(n)}finally{if(e)throw e.error}}return null},a.prototype.setByName=function(t,e){for(var r=0,n;r<this.list.length;r++){if(this.getByIndex(r).name==t)return void(this.list[r]=e)}this.add(e)},a.prototype.get=function(t){var e,r;try{for(var n=__values(this.list),i=n.next();!i.done;i=n.next()){var o=i.value;if(o.type==t)return o}}catch(t){e={error:t}}finally{try{i&&!i.done&&(r=n.return)&&r.call(n)}finally{if(e)throw e.error}}return null},a.prototype.set=function(t,e){var r,n,i=0;try{for(var o=__values(this.list),a=o.next(),s;!a.done;a=o.next()){a.value.type==t&&(this.list[i]=e),i++}}catch(t){r={error:t}}finally{try{a&&!a.done&&(n=o.return)&&n.call(o)}finally{if(r)throw r.error}}},a.prototype.regType=function(t,e){this.add(new i.StiType(t,e))},r=a,i.StiTypesCollection=r}(Stimulsoft=Stimulsoft||{}),function(t){var e,r,n,t;function i(t,e){this._userName=t,this._password=e}r=e=t.Report||(t.Report={}),t=n=r.Dictionary||(r.Dictionary={}),Object.defineProperty(i.prototype,"userName",{get:function(){return this._userName},enumerable:!1,configurable:!0}),Object.defineProperty(i.prototype,"password",{get:function(){return this._password},enumerable:!1,configurable:!0}),r=i,t.StiUserNameAndPassword=r}(Stimulsoft=Stimulsoft||{}),function(t){var e,t,r,n,i;function o(){}t=e=t.Report||(t.Report={}),(n=r=t.Dictionary||(t.Dictionary={})).StiVariableAsParameterHelper=o}(Stimulsoft=Stimulsoft||{}),function(t){var e,r,n,t;function i(){}r=e=t.Report||(t.Report={}),n=t.System.StiString,i.getVariableSpecifiedAsExpression=function(t,e){var t,t;return e=this.getSimpleName(e),null===(t=null===(t=null==t?void 0:t.getReport())||void 0===t?void 0:t.getDictionary())||void 0===t?void 0:t.getVariableByName(e)},i.isVariableSpecifiedAsExpression=function(t,e){return null!=this.getVariableSpecifiedAsExpression(t,e)},i.extractVariableName=function(t){if(n.isNullOrWhiteSpace(t))return t;return(t=t.trim()).stimulsoft.startsWith("[")&&(t=t.substr(1)),t.stimulsoft.endsWith("]")&&(t=t.substr(0,t.length-1)),t.trim()},i.getSimpleName=function(t){if(n.isNullOrWhiteSpace(t))return t;return t=t.toLowerCase().trim(),(t=this.extractVariableName(t)).trim()},t=i,r.StiVariableExpressionHelper=t}(Stimulsoft=Stimulsoft||{}),function(t){var e,r,n,l,i,o,a,u,s;function c(){var t=null!==s&&s.apply(this,arguments)||this;return t.directionFactor=1,t}r=e=t.Report||(t.Report={}),l=n=r.Dictionary||(r.Dictionary={}),i=t.Base.JsonReportObject.IStiJsonReportObject,r=t.System.Collections.CollectionBase,o=t.System.ICloneable,a=t.System.Collections.IComparer,u=t.Base.StiJson,__extends(c,s=r),c.prototype.implements=function(){return[a,o,i]},c.prototype.saveToJsonObject=function(t){var e,r;if(0==this.list.length)return null;var n=new u,i=0;try{for(var o=__values(this.list),a=o.next();!a.done;a=o.next()){var s=a.value;n.addPropertyJObject(i.toString(),s.saveToJsonObject()),i++}}catch(t){e={error:t}}finally{try{a&&!a.done&&(r=o.return)&&r.call(o)}finally{if(e)throw e.error}}return n},c.prototype.loadFromJsonObject=function(t,e){var r,n;try{for(var i=__values(t.properties()),o=i.next();!o.done;o=i.next()){var a=o.value,s=new l.StiVariable;s.loadFromJsonObject(a.value,e),this.list.push(s)}}catch(t){r={error:t}}finally{try{o&&!o.done&&(n=i.return)&&n.call(i)}finally{if(r)throw r.error}}},c.prototype.loadFromXml=function(t,e){for(var r=0;r<t.childNodes.length;r++){var n=t.childNodes[r],n;"value"==n.nodeName&&(n=l.StiVariable.loadFromXml(n,e),this.list.push(n))}},c.prototype.compare=function(t,e){var r=t,t=e,e=r.category.stimulsoft.compareTo(t.category)*this.directionFactor;return 0==e?r.name.stimulsoft.compareTo(t.name)*this.directionFactor:e},c.prototype.sort=function(t){void 0===t&&(t=l.StiSortOrder.Asc),t==l.StiSortOrder.Asc?this.directionFactor=1:this.directionFactor=-1,this.list.sort()},c.prototype.add=function(t){0<t.name.length&&this.contains(t.name)&&this.remove(t.name),this.list.push(t)},c.prototype.addRange=function(t){var e,r;try{for(var n=__values(t.list),i=n.next();!i.done;i=n.next()){var o=i.value;this.add(o)}}catch(t){e={error:t}}finally{try{i&&!i.done&&(r=n.return)&&r.call(n)}finally{if(e)throw e.error}}},c.prototype.contains=function(t){var e,r;t=t.toLowerCase();try{for(var n=__values(this.list),i=n.next(),o;!i.done;i=n.next()){if(i.value.name.toLowerCase()==t)return!0}}catch(t){e={error:t}}finally{try{i&&!i.done&&(r=n.return)&&r.call(n)}finally{if(e)throw e.error}}return!1},c.prototype.containsCategory=function(t){var e,r;t=t.toLowerCase();try{for(var n=__values(this.list),i=n.next(),o;!i.done;i=n.next()){if(i.value.category.toLowerCase()==t)return!0}}catch(t){e={error:t}}finally{try{i&&!i.done&&(r=n.return)&&r.call(n)}finally{if(e)throw e.error}}return!1},c.prototype.indexOf=function(t){var e,r;if("string"==typeof t){var n,n=(n=t).toLowerCase(),i=0;try{for(var o=__values(this.list),a=o.next(),s;!a.done;a=o.next()){if(a.value.name.toLowerCase()==n)return i;i++}}catch(t){e={error:t}}finally{try{a&&!a.done&&(r=o.return)&&r.call(o)}finally{if(e)throw e.error}}return-1}return this.list.indexOf(t)},c.prototype.remove=function(t){if("string"==typeof t){var e,e=(e=t).toLowerCase(),r=0,n;while(r<this.list.length){(n=this.getByIndex(r)).name.toLowerCase()==e?this.list.stimulsoft.removeAt(r):r++}}else{var n;0<(n=t).category.length&&1==this.getVariablesCount(n.category)?n.name="":this.list.stimulsoft.remove(n)}},c.prototype.getByName=function(t){var e,r;t=t.toLowerCase();try{for(var n=__values(this.list),i=n.next();!i.done;i=n.next()){var o=i.value;if(o.name.toLowerCase()==t)return o}}catch(t){e={error:t}}finally{try{i&&!i.done&&(r=n.return)&&r.call(n)}finally{if(e)throw e.error}}return null},c.prototype.setByName=function(t,e){t=t.toLowerCase();for(var r=0,n;r<this.list.length;r++){if(this.getByIndex(r).name.toLowerCase()==t)return void(this.list[r]=e)}this.add(e)},c.prototype.clone=function(){var e,t,r=new c;try{for(var n=__values(this.list),i=n.next();!i.done;i=n.next()){var o=i.value;r.add(o.clone())}}catch(t){e={error:t}}finally{try{i&&!i.done&&(t=n.return)&&t.call(n)}finally{if(e)throw e.error}}return r},c.prototype.moveCategoryTo=function(t,e){var r,n,i,o;if(t==e)return;var a=this.getFirstCategoryIndex(t),s=this.getFirstCategoryIndex(e);if(a==s)return;var l=new Array;try{for(var u=__values(this.list),c=u.next(),p;!c.done;c=u.next()){(p=c.value).category==t&&l.push(p)}}catch(t){r={error:t}}finally{try{c&&!c.done&&(n=u.return)&&n.call(u)}finally{if(r)throw r.error}}this.removeCategory(t);var h=s<a?this.getFirstCategoryIndex(e):this.getLastCategoryIndex(e)+1;try{for(var m=__values(l),d=m.next();!d.done;d=m.next()){var p=d.value;this.insert(h,p),h++}}catch(t){i={error:t}}finally{try{d&&!d.done&&(o=m.return)&&o.call(m)}finally{if(i)throw i.error}}},c.prototype.getFirstCategoryIndex=function(t){var e,r,n=0;try{for(var i=__values(this.list),o=i.next(),a;!o.done;o=i.next()){if(t==o.value.category)return n;n++}}catch(t){e={error:t}}finally{try{o&&!o.done&&(r=i.return)&&r.call(i)}finally{if(e)throw e.error}}return-1},c.prototype.getLastCategoryIndex=function(t){var e,r,n=-1,i=0,o=!1;try{for(var a=__values(this.list),s=a.next(),l;!s.done;s=a.next()){if(t==s.value.category)n=i,o=!0;else if(o)break;i++}}catch(t){e={error:t}}finally{try{s&&!s.done&&(r=a.return)&&r.call(a)}finally{if(e)throw e.error}}return n},c.prototype.renameCategory=function(t,e){var r,n;t=t.toLowerCase();try{for(var i=__values(this.list),o=i.next();!o.done;o=i.next()){var a=o.value;a.category.toLowerCase()==t&&(a.category=e)}}catch(t){r={error:t}}finally{try{o&&!o.done&&(n=i.return)&&n.call(i)}finally{if(r)throw r.error}}},c.prototype.removeCategory=function(t){var e=0;while(e<this.length)this.list[e].category==t?this.removeAt(e):e++},c.prototype.getVariablesCount=function(t){var e,r,n=0;try{for(var i=__values(this.list),o=i.next(),a;!o.done;o=i.next()){o.value.category==t&&n++}}catch(t){e={error:t}}finally{try{o&&!o.done&&(r=i.return)&&r.call(i)}finally{if(e)throw e.error}}return n},r=c,l.StiVariablesCollection=r}(Stimulsoft=Stimulsoft||{}),function(r){var t,e,n,i,o,a,s;function l(){return null!==s&&s.apply(this,arguments)||this}e=t=r.Report||(r.Report={}),i=n=e.Engine||(e.Engine={}),o=r.Report.Components.StiFilterHelper,a=r.Report.Components.StiDataHelper,s=i.StiComponentBuilder,__extends(l,s),l.renderAtEnd=function(t){null!=t.chartInfo.storedForProcessAtEndChart&&l.renderChart(t),t.chartInfo.storedForProcessAtEndChart=null},l.renderChart=function(t){var e=null;if(null!=t.chartInfo.storedForProcessAtEndChart)e=t.chartInfo.storedForProcessAtEndChart;else if(e=t.clone(),t.processAtEnd)return e;return StiOptions.Engine.dontSaveDataSourceBeforeChartRendering||t.saveState("ChartRender"),null==t.masterComponent&&a.setData(t,!0,t.parent),r.Report.Chart["StiChartHelper"].createChart(t,e),StiOptions.Engine.dontSaveDataSourceBeforeChartRendering||t.restoreState("ChartRender"),e},l.prototype.prepare=function(t){s.prototype.prepare.call(this,t),o.setFilter(t),(t.height>t.page.height||t.height>t.parent.height)&&(t.height=Math.min(t.page.height,t.parent.height))},l.prototype.internalRenderAsync=function(i){return __awaiter(this,void 0,void 0,function(){var e,r,n;return __generator(this,function(t){return r=l.renderChart(e=i),n=r,e.processAtEnd&&(e.chartInfo.storedForProcessAtEndChart=r),[2,r]})})},l.prototype.internalRender=function(t){var e=t,t=l.renderChart(e),r=t;return e.processAtEnd&&(e.chartInfo.storedForProcessAtEndChart=t),t},e=l,i.StiChartBuilder=e}(Stimulsoft=Stimulsoft||{}),function(t){var e,r,n,i,o,a;function s(){return null!==a&&a.apply(this,arguments)||this}r=e=t.Report||(t.Report={}),i=n=r.Engine||(r.Engine={}),o=t.Report.Components.StiClone,a=i.StiContainerBuilder,__extends(s,a),s.prototype.internalRenderAsync=function(i){return __awaiter(this,void 0,void 0,function(){var e,r,n;return __generator(this,function(t){switch(t.label){case 0:e=i.as(o),r=e.container;while(null!=r&&r.is(o))r=r.container;if(null!=r)return[3,2];return[4,a.prototype.internalRenderAsync.call(this,e)];case 1:return[2,t.sent()];case 2:return[4,r.renderAsync()];case 3:return(n=t.sent()).border=e.border.clone(),n.brush=e.brush.clone(),n.clientRectangle=e.clientRectangle,[2,n]}})})},s.prototype.internalRender=function(t){var e=t.as(o),r=e.container;while(null!=r&&r.is(o))r=r.container;if(null==r)return a.prototype.internalRender.call(this,e);var t=r.render();return t.border=e.border.clone(),t.brush=e.brush.clone(),t.clientRectangle=e.clientRectangle,t},r=s,i.StiCloneBuilder=r}(Stimulsoft=Stimulsoft||{}),function(t){var e,r,n,i,o,a;function s(){return null!==a&&a.apply(this,arguments)||this}r=e=t.Report||(t.Report={}),i=n=r.Engine||(r.Engine={}),o=t.Report.Components.StiDataBand,a=i.StiBandBuilder,__extends(s,a),s.getMaster=function(t){var e=t.parent.components.indexOf(t)-1;while(0<=e){if(t.parent.components.getByIndex(e).is(o))return t.parent.components.getByIndex(e);e--}return null},r=s,i.StiFooterBandBuilder=r}(Stimulsoft=Stimulsoft||{}),function(t){var e,r,n,s,l,u,c;function i(){return null!==c&&c.apply(this,arguments)||this}r=e=t.Report||(t.Report={}),s=n=r.Engine||(r.Engine={}),l=t.Report.Components.StiDockStyle,u=t.Report.Components.StiContainer,c=s.StiFooterBandBuilder,__extends(i,c),i.prototype.internalRenderAsync=function(a){return __awaiter(this,void 0,void 0,function(){var e,r,n,i,o,e;return __generator(this,function(t){switch(t.label){case 0:if(e=a,!(null==(r=s.StiFooterBandBuilder.getMaster(e))||r.columns<2))return[3,2];return[4,c.prototype.internalRenderAsync.call(this,e)];case 1:return[2,t.sent()];case 2:(n=new u).name=e.name,n.width=e.width,n.height=e.height,i=r.getColumnWidth()+r.columnGaps,o=0,t.label=3;case 3:if(!(o<r.columns))return[3,7];if(e.report.column=o+1,!(r.position+o<r.count&&!e.printIfEmpty||e.printIfEmpty))return[3,5];return[4,c.prototype.internalRenderAsync.call(this,e)];case 4:return(e=t.sent()).dockStyle=l.None,e.width=i,n.components.add(e),r.rightToLeft?e.left=n.width-i*(o+1)+r.columnGaps:e.left=i*o,e.top=0,[3,6];case 5:return[3,7];case 6:return o++,[3,3];case 7:return[2,n]}})})},i.prototype.internalRender=function(t){var e=t,r=s.StiFooterBandBuilder.getMaster(e);if(null==r||r.columns<2)return c.prototype.internalRender.call(this,e);var n=new u;n.name=e.name,n.width=e.width,n.height=e.height;for(var i=r.getColumnWidth()+r.columnGaps,o=0;o<r.columns;o++){if(e.report.column=o+1,!(r.position+o<r.count&&!e.printIfEmpty||e.printIfEmpty))break;var a=c.prototype.internalRender.call(this,e);a.dockStyle=l.None,a.width=i,n.components.add(a),r.rightToLeft?a.left=n.width-i*(o+1)+r.columnGaps:a.left=i*o,a.top=0}return n},r=i,s.StiColumnFooterBandBuilder=r}(Stimulsoft=Stimulsoft||{}),function(t){var e,r,n,i,o,a;function s(){return null!==a&&a.apply(this,arguments)||this}r=e=t.Report||(t.Report={}),i=n=r.Engine||(r.Engine={}),o=t.Report.Components.StiDataBand,a=i.StiBandBuilder,__extends(s,a),s.getMaster=function(t){var e=t.parent.components.indexOf(t)+1;while(e<t.parent.components.count){if(t.parent.components.getByIndex(e).is(o))return t.parent.components.getByIndex(e);e++}return null},r=s,i.StiHeaderBandBuilder=r}(Stimulsoft=Stimulsoft||{}),function(t){var e,r,n,i,l,u,c,p;function h(){return null!==p&&p.apply(this,arguments)||this}r=e=t.Report||(t.Report={}),i=n=r.Engine||(r.Engine={}),l=t.Report.Components.StiDockStyle,u=t.Report.Components.StiContainerHelper,c=t.Report.Components.StiContainer,p=i.StiHeaderBandBuilder,__extends(h,p),h.prototype.internalRenderAsync=function(a){return __awaiter(this,void 0,void 0,function(){var e,r,n,i,o,e,o;return __generator(this,function(t){switch(t.label){case 0:if(!(null==(r=h.getMaster(e=a))||r.columns<2))return[3,2];return[4,p.prototype.internalRenderAsync.call(this,e)];case 1:return[2,t.sent()];case 2:(n=new c).name=e.name,n.width=e.width,n.height=e.height,n.canGrow=e.canGrow,n.canShrink=e.canShrink,n.parentComponentIsBand=!0,i=r.getColumnWidth()+r.columnGaps,o=0,t.label=3;case 3:if(!(o<r.columns))return[3,7];if(e.report.column=o+1,!(r.position+o<r.count&&!e.printIfEmpty||e.printIfEmpty))return[3,5];return[4,p.prototype.internalRenderAsync.call(this,a)];case 4:return(e=t.sent()).dockStyle=l.None,e.width=i,n.components.add(e),r.rightToLeft?e.left=n.width-i*(o+1)+r.columnGaps:e.left=i*o,e.top=0,[3,6];case 5:return[3,7];case 6:return o++,[3,3];case 7:return o=n.width,u.checkSize(n),n.parentComponentIsCrossBand||(n.width=o),[2,n]}})})},h.prototype.internalRender=function(t){var e=t,r=h.getMaster(e);if(null==r||r.columns<2)return p.prototype.internalRender.call(this,e);var n=new c;n.name=e.name,n.width=e.width,n.height=e.height,n.canGrow=e.canGrow,n.canShrink=e.canShrink,n.parentComponentIsBand=!0;for(var i=r.getColumnWidth()+r.columnGaps,o=0;o<r.columns;o++){if(e.report.column=o+1,!(r.position+o<r.count&&!e.printIfEmpty||e.printIfEmpty))break;var a=p.prototype.internalRender.call(this,t);a.dockStyle=l.None,a.width=i,n.components.add(a),r.rightToLeft?a.left=n.width-i*(o+1)+r.columnGaps:a.left=i*o,a.top=0}var s=n.width;return u.checkSize(n),n.parentComponentIsCrossBand||(n.width=s),n},r=h,i.StiColumnHeaderBandBuilder=r}(Stimulsoft=Stimulsoft||{}),function(t){var e,r,n,i,o,a;function s(){return null!==a&&a.apply(this,arguments)||this}r=e=t.Report||(t.Report={}),i=n=r.Engine||(r.Engine={}),o=t.Report.Components.StiPrintOnType,a=i.StiComponentBuilder,__extends(s,a),s.prototype.prepare=function(t){var e,e;a.prototype.prepare.call(this,t),t.printOn!=o.AllPages&&(null!=(e=t.getStartPoint())&&(e.printOn=t.printOn),null!=(e=t.getEndPoint())&&(e.printOn=t.printOn))},r=s,i.StiCrossLinePrimitiveBuilder=r}(Stimulsoft=Stimulsoft||{}),function(t){var e,r,n,F,g,i,l,u,c,o,a,N,P,s,p,k,M,h,m,d,O;function _(){return null!==O&&O.apply(this,arguments)||this}r=e=t.Report||(t.Report={}),F=n=r.Engine||(r.Engine={}),g=t.System.Drawing.Rectangle,i=t.System.StiString,l=t.Report.CrossTab.Core.StiSummaryDirection,u=t.Report.CrossTab.StiCrossColumn,c=t.Report.CrossTab.StiCrossSummary,o=t.Report.Components.StiFilterHelper,a=t.Report.Components.StiDataBand,N=t.Report.Components.StiDockStyle,P=t.System.Drawing.Rectangle,s=t.Report.CrossTab.StiCrossTab,p=t.Report.CrossTab.StiCrossTabParams,k=t.Report.CrossTab.StiCrossTabHelper,M=t.Report.Components.StiContainer,h=t.Report.CrossTab.StiCrossHorAlignment,m=t.Report.Components.StiCrossHeaderInteraction,d=t.System.Collections.Hashtable,O=F.StiContainerBuilder,__extends(_,O),_.getCollapsingName=function(t){return this.getCollapsingName2(t.name,t.headerLevel,t.headerValue)},_.getCollapsingName2=function(t,e,r){return i.format("{0}.{1}.{2}",t,e,r)},_.isCollapsed=function(t){return this.isCollapsed2(t,t.headerLevel,t.headerValue)},_.isCollapsed2=function(t,e,r){if(null==t.interaction||t.interaction.is(m)&&!t.interaction.collapsingEnabled)return!1;var n=!0;if(null==t.report.interactionCollapsingStates)return n;var r=t.report.interactionCollapsingStates[this.getCollapsingName2(t.name,e,r)];if("boolean"==typeof r)return r;return!0},_.setCollapsed=function(t,e){if(null==t.interaction||t.interaction.is(m)&&!t.interaction.collapsingEnabled)return;null==t.report.interactionCollapsingStates&&(t.report.interactionCollapsingStates=new d),t.report.interactionCollapsingStates[this.getCollapsingName(t)]=e},_.makeHorAlignment=function(t,e,r,n,i){if(t.wrap)return;if(t.horAlignment==h.Width)e.left=0,e.width=n,k.makeHorAlignmentByWidth(e,r);else if(t.horAlignment!=h.None){e.left=0,e.width=n*i;var o=0,a=0,n={ref:o},i={ref:a};k.calculateMaxAndMin(e,n,i,r),o=n.ref,a=i.ref;for(var s=r;s<e.components.count;s++){var l=e.components.getByIndex(s),u;t.horAlignment==h.Left?l.left-=o:t.horAlignment==h.Right?l.left+=e.width-a:t.horAlignment==h.Center&&(u=(e.width-(a-o))/2,l.left-=o-u)}}},_.prototype.renderCrossTabOnPage=function(t,e,r,n,i,o){this.renderCrossTabSegment(t,e,r,n,i,o),this.makeHorAlignment(e,r,0,(null!=t.destinationContainer?t.destinationContainer:e.parent).width,1),this.finalizeCross(r)},_.prototype.makeHorAlignment=function(t,e,r,n,i){if(t.wrap)return;if(t.horAlignment==h.Width)e.left=0,e.width=n,k.makeHorAlignmentByWidth(e,r);else if(t.horAlignment!=h.None){e.left=0,e.width=n*(1<i?i:1);var o={ref:0},a={ref:0};k.calculateMaxAndMin(e,o,a,r);for(var s=r;s<e.components.count;s++){var l=e.components.getByIndex(s);switch(t.horAlignment){case h.Left:l.left-=o.ref;break;case h.Right:l.left+=e.width-a.ref;break;case h.Center:var u=(e.width-(a.ref-o.ref))/2;l.left-=o.ref-u;break}}}},_.prototype.finalizeCross=function(t){t.canGrow=!1,t.canShrink=!0;var e=t.getActualSize();t.width=e.width,t.height=e.height,t.canGrow=!0},_.prototype.renderCrossTabSegment=function(t,e,r,n,i,o){var a=e.crossTabInfo.cross,s={ref:n};this.renderRowHeaders(t,e,r,s),this.renderColHeaders(t,e,r,s),n=s.ref,o.ref=k.getEndRow(e,t.startRow,n),i.ref=k.getEndCol(e,t.startColumn,n),o.ref=k.checkMergedRowCells(e,t.startRow,o.ref,t.startColumn,i.ref),t.startRow<o.ref&&k.renderCells(e,r,t.startColumn,t.startRow,i.ref,o.ref,n),t.renderingIsFinished=i.ref==a.colCount&&o.ref==a.rowCount,t.startColumn=i.ref,i.ref==a.colCount&&(t.startColumn=0,t.startRow=o.ref)},_.prototype.renderColHeaders=function(t,e,r,n,i,o){var a,s;if(void 0===i&&(i=!1),void 0===o&&(o=!1),0==t.startRow&&!o)return 0;if(!i){var l=n.ref.clone(),u;if(l.height=1e5,(u=this.renderColHeaders(t,e,r,{ref:l},!0,o))>n.ref.height)return 0}var c=e.crossTabInfo.cross,p=this.getEndColumn(t,n.ref,c,e);if(!i){var o=n.ref.clone();if(this.renderColHeaders(t,e,r,{ref:o},!0)>n.ref.height)return 0}var h=0,m=0;if(c.isTopCrossTitleVisible&&(c.isCrossTitlePrintOnAllPages&&(i||k.renderCells(e,r,t.startColumn,0,p,1,n.ref),n.ref.y+=c.heights[0],n.ref.height-=c.heights[0],h+=c.heights[0]),m++),k.isColFieldsEmpty(e))return h;!i&&this.allColFieldsPresentOnAllPages(c)&&k.renderCells(e,r,t.startColumn,m,p,m+c.colFields.count,n.ref);try{for(var d=__values(c.colFields.toCast()),g=d.next(),f,u;!g.done;g=d.next()){g.value.printOnAllPages&&(i||this.allColFieldsPresentOnAllPages(c)||k.renderCells(e,r,t.startColumn,m,p,m+1,n.ref),u=c.heights.length>m?c.heights[m]:0,n.ref.y+=u,n.ref.height-=u,h+=u),m++}}catch(t){a={error:t}}finally{try{g&&!g.done&&(s=d.return)&&s.call(d)}finally{if(a)throw a.error}}return h},_.prototype.allColFieldsPresentOnAllPages=function(t){return t.colFields.toList().count2(function(t){return t.printOnAllPages})==t.colFields.count},_.prototype.getEndColumn=function(t,e,r,n){var i=e.width,o=t.startColumn;while(o<r.colCount){if((i-=r.widths[o])<0&&n.horAlignment!=h.Width)break;o++}return o==t.startColumn&&o+1<=r.colCount&&o++,o},_.prototype.getEndRow=function(t,e,r){var n=e.height,i=t.startRow;while(i<r.rowCount){if((n-=r.heights[i])<0)break;i++}return i==t.startRow&&i+1<=r.rowCount&&i++,i},_.prototype.renderRowHeaders=function(t,e,r,n,i){var o,a;void 0===i&&(i=!1);var s=e.crossTabInfo.cross,l;if(!e.rightToLeft&&0==t.startColumn)return 0;if(e.rightToLeft&&!i&&(l=k.getEndCol(e,t.startColumn,n.ref))==s.cells.length){if(e.rightToLeft&&n.ref.width!=1e5-t.shiftX-r.left){for(var u=0,c=t.startColumn;c<l;c++)u+=s.widths[c];n.ref.x+=n.ref.width-u}return 0}var p=0,h;if(!i){(h=n.ref.clone()).width=1e5;var m={ref:h},p=this.renderRowHeaders(t,e,r,m,!0),h=m.ref;if(p>n.ref.width)return 0;if(e.rightToLeft){(h=n.ref.clone()).width-=p;for(var l=k.getEndCol(e,t.startColumn,h),d=0,c=t.startColumn;c<l;c++)d+=s.widths[c];1e5!=n.ref.width&&(n.ref.x+=n.ref.width-(d+p)),n.ref.width=d+p}}var m=n.ref.height,h=n.ref.y,g=n.ref.x;if(this.renderCorner(t,e,r,n,s,i),!i){var p=n.ref.clone();if(this.renderRowHeaders(t,e,r,{ref:p},!0)>n.ref.width)return 0}var f=0,S=this.getEndRow(t,n.ref,s),y=0;if((s.isLeftCrossTitleVisible||s.isTopCrossTitleVisible&&s.isColsEmpty)&&(s.isCrossTitlePrintOnAllPages&&(i||k.renderCells(e,r,0,t.startRow,1,S,n.ref),n.ref.x+=s.widths[0],n.ref.width-=s.widths[0],f+=s.widths[0]),y++),k.isRowFieldsEmpty(e))return f;var A=1;e.rightToLeft&&(y=s.cells.length-1-y,A=-1);var b=y,C=0;try{for(var v=__values(s.rowFields.toCast()),w=v.next();!w.done;w=v.next()){var B=w.value,I=s.widths.length>y?s.widths[y]:0;B.printOnAllPages&&(C+=I,f+=I),(!B.printOnAllPages||B==s.rowFields.getByIndex(s.rowFields.count-1))&&0<C&&(e.rightToLeft&&(n.ref.x=g+n.ref.width-C),i||k.renderCells(e,r,b,t.startRow,y+1,S,n.ref),e.rightToLeft||(n.ref.x+=C),n.ref.width-=C,C=0,b=y+A),e.rightToLeft?b--:y++}}catch(t){o={error:t}}finally{try{w&&!w.done&&(a=v.return)&&a.call(v)}finally{if(o)throw o.error}}return e.rightToLeft&&(n.ref.x=g),n.ref.y=h,n.ref.height=m,f},_.prototype.renderCorner=function(t,e,r,n,i,o){var a,s;if(void 0===o&&(o=!1),0==t.startRow||k.isColFieldsEmpty(e))return 0;if(!o){var l=n.ref.clone();if(this.renderCorner(t,e,r,{ref:l},i,!0)>n.ref.height)return 0}var u=0,c=0,p=i.rowFields.toList().count2(function(t){return t.printOnAllPages});i.isTopCrossTitleVisible&&(i.isCrossTitlePrintOnAllPages&&(o||k.renderCells(e,r,0,0,p,1,n.ref),n.ref.y+=i.heights[0],n.ref.height-=i.heights[0],u+=i.heights[0]),c++),!o&&this.allColFieldsPresentOnAllPages(i)&&k.renderCells(e,r,0,c,p,c+i.colFields.count,n.ref);try{for(var h=__values(i.colFields.toCast()),m=h.next(),d,g;!m.done;m=h.next()){m.value.printOnAllPages&&(o||this.allColFieldsPresentOnAllPages(i)||k.renderCells(e,r,0,c,p,c+1,n.ref),g=i.heights.length>c?i.heights[c]:0,n.ref.y+=g,n.ref.height-=g,u+=g),c++}}catch(t){a={error:t}}finally{try{m&&!m.done&&(s=h.return)&&s.call(h)}finally{if(a)throw a.error}}return u},_.prototype.renderCrossTabOnDataBand=function(t,e,r){var n=t.destinationRectangle.clone();n.x=0,n.y=0,n.width=e.parent.width-n.left,n.height=Number.MAX_VALUE;var i=t.startRow,o=t.startColumn;t.startColumn=0;var a=e.page,s=a.pageWidth-a.margins.left-a.margins.right,l=s;a.unlimitedBreakable||(s=l=n.width=1e9);var u=r.components.count,c=null!=e.crossTabInfo.cross.leftCrossTitle&&e.crossTabInfo.cross.leftCrossTitle.enabled&&null!=e.crossTabInfo.cross.rightCrossTitle&&e.crossTabInfo.cross.rightCrossTitle.enabled,p=null!=e.crossTabInfo.cross.leftCrossTitle&&e.crossTabInfo.cross.leftCrossTitle.printOnAllPages&&null!=e.crossTabInfo.cross.rightCrossTitle&&e.crossTabInfo.cross.rightCrossTitle.printOnAllPages,c=c||null!=e.crossTabInfo.cross.rowTitleFields&&0<e.crossTabInfo.cross.rowTitleFields.count&&e.crossTabInfo.cross.rowTitleFields.toList().any(function(t){return t.enabled}),p=p||null!=e.crossTabInfo.cross.rowTitleFields&&0<e.crossTabInfo.cross.rowTitleFields.count&&null!=e.crossTabInfo.cross.summaryCrossTitle&&e.crossTabInfo.cross.summaryCrossTitle.printOnAllPages,h=0,m=0;while(h<e.crossTabInfo.cross.rowCount){var d=new P;d.height=1e9;while(t.startColumn<e.crossTabInfo.cross.colCount){var g=0,f=0;d.width=s;var S=0,y=this.getActualHeaderRowCount(e);if(e.wrap&&e.rightToLeft){for(var A=e.crossTabInfo.cross.widths.length-1;A>e.crossTabInfo.cross.widths.length-y-1;A--)S+=e.crossTabInfo.cross.widths[A];d.width-=S}if(o=k.getEndCol(e,t.startColumn,d),0!=h&&e.printTitleOnAllPages){c&&p&&(1==h&&(n.y+=.7*e.crossTabInfo.cross.heights[0]),k.renderCells(e,r,t.startColumn,0,o,1,n),n.y+=e.crossTabInfo.cross.heights[0],g+=e.crossTabInfo.cross.heights[0],d.height-=e.crossTabInfo.cross.heights[0]);var b=this.getActualHeaderRowCount(e);if(0!=b&&1!=h&&e.crossTabInfo.cross.isTopCrossTitleVisible&&e.crossTabInfo.cross.isCrossTitlePrintOnAllPages){k.renderCells(e,r,t.startColumn,1,o,b+1,n);for(var C=1;C<=b;C++)n.y+=e.crossTabInfo.cross.heights[C],g+=e.crossTabInfo.cross.heights[C],d.height-=e.crossTabInfo.cross.heights[C]}o=k.getEndCol(e,t.startColumn,d)}if(i=k.getEndRow(e,h,d),k.renderCells(e,r,t.startColumn,h,o,i,n),e.wrap){if(e.rightToLeft&&o<e.crossTabInfo.cross.colCount-1){for(var v=0,A=t.startColumn;A<o;A++)v+=e.crossTabInfo.cross.widths[A];n.x+=v,k.renderCells(e,r,e.crossTabInfo.cross.widths.length-y,h,e.crossTabInfo.cross.widths.length,i,n),n.x-=v}var w=k.getCellsRect(e,t.startColumn,t.startRow,o,i);d.height-w.height<w.height+e.wrapGap?(m++,n.y=e.page.height*m,n.x=0,d.height=0==h?e.report.engine.freeSpace-e.top:e.report.engine.staticBands.reservedFreeSpace):(n.y+=w.height+e.wrapGap,d.height-=w.height+e.wrapGap,n.x=0),t.startColumn=o}else n.x+=l-f,n.width=s,t.startColumn=o,0!=h&&(n.y-=g,d.height+=g)}e.wrap||(n.y+=d.height,n.x=0),h=i,t.startColumn=0}var B=r.containerInfo.setSegmentPerWidth=k.getPageSegmentsRequired(e);if(_.makeHorAlignment(e,r,u,e.parent.width,B),!a.unlimitedBreakable){for(var I=0,T=u;T<r.components.count;T++)var E=r.components.getByIndex(T),I=Math.max(E.right,I);var R=a.width,D=a.segmentPerWidth;while(R<I)D++,r.containerInfo.setSegmentPerWidth=D,R+=a.width}return r},_.prototype.renderCrossTabAsync=function(P,x){return __awaiter(this,void 0,void 0,function(){var e,r,n,i,o,a,s,l,u,c,p,h,m,n,i,d,g,f,S,y,A,d,b,C,v,w,B,f,I,T,E,R,D;return __generator(this,function(t){switch(t.label){case 0:if(e=null!=F.StiSubReportsHelper.getParentBand(x),null!=(r=P.destinationContainer))return[3,2];return[4,O.prototype.internalRenderAsync.call(this,x)];case 1:(r=t.sent().as(M)).components.clear(),t.label=2;case 2:if(r.dockStyle=N.None,x.page.unlimitedHeight&&!x.page.unlimitedBreakable||(r.canBreak=!0),!P.allowRendering)return[2,r];if((null==x.dataSource||x.dataSource.isEmpty)&&!x.printIfEmpty)return P.renderingIsFinished=!0,[2,r];if(e)return n=new F.StiCrossTabV2Builder,(i=P.destinationRectangle.clone()).x=0,i.y=0,[2,n.renderCrossTabOnDataBand(P,x,r,i)];if(o=P.destinationRectangle.clone(),x.page.unlimitedHeight&&(o.height=1e8),o.x=0,o.y=0,a=P.startRow,s=P.startColumn,x.wrap){l=r.as(M);while(P.startColumn<x.crossTabInfo.cross.colCount){if(a=k.getEndRow(x,P.startRow,o),s=k.getEndCol(x,P.startColumn,o),k.renderCells(x,r,P.startColumn,P.startRow,s,a,o),u=k.getCellsRect(x,P.startColumn,P.startRow,s,a),s==x.crossTabInfo.cross.colCount&&a==x.crossTabInfo.cross.rowCount)return P.renderingIsFinished=!0,[2,r];if(s==x.crossTabInfo.cross.colCount?(P.startRow=a,P.startColumn=0):P.startColumn=s,!(o.height-x.wrapGap-u.height>u.height))return P.renderingIsFinished=!1,[2,r];o.y=u.height+x.wrapGap,o.height-=u.height+x.wrapGap}return P.renderingIsFinished=!0,[2,r]}if(o.x=0,o.y=0,s=k.getEndCol(x,P.startColumn,o),a=k.getEndRow(x,P.startRow,o),c=null!=x.crossTabInfo.cross.leftCrossTitle&&x.crossTabInfo.cross.leftCrossTitle.enabled&&null!=x.crossTabInfo.cross.rightCrossTitle&&x.crossTabInfo.cross.rightCrossTitle.enabled,p=null!=x.crossTabInfo.cross.leftCrossTitle&&x.crossTabInfo.cross.leftCrossTitle.printOnAllPages&&null!=x.crossTabInfo.cross.rightCrossTitle&&x.crossTabInfo.cross.rightCrossTitle.printOnAllPages,h=o.x,m=o.y,n=o.x,i=o.y,0!=P.startColumn)for(d=0;d<x.crossTabInfo.cross.rowFields.count;d++)x.crossTabInfo.cross.rowFields.getByIndex(d).printOnAllPages&&!x.rightToLeft&&(g=x.crossTabInfo.cross.widths[d],h+=g,o.width-=g);if(0!=P.startRow)for(f=0;f<x.crossTabInfo.cross.colFields.count;f++)x.crossTabInfo.cross.colFields.getByIndex(f).printOnAllPages&&(m+=x.crossTabInfo.cross.heights[f],o.height-=x.crossTabInfo.cross.heights[f]);if(c&&p&&0!=P.startRow&&(m+=x.crossTabInfo.cross.heights[x.crossTabInfo.cross.colFields.count],o.height-=x.crossTabInfo.cross.heights[x.crossTabInfo.cross.colFields.count]),0!=P.startColumn&&!k.isRowFieldsEmpty(x)){for(o.x=n,o.y=m,S=o.height,y=P.startRow,A=P.startRow;A<a;A++){if((S-=x.crossTabInfo.cross.heights[A])<0)break;y++}a=y,d=0;while(d<x.crossTabInfo.cross.rowFields.count){b=d;while(b<x.crossTabInfo.cross.rowFields.count&&x.crossTabInfo.cross.rowFields.getByIndex(b).printOnAllPages&&!x.rightToLeft)b++;d!=b&&(0<P.startRow&&((C=o.clone()).y=0,C.height-=o.y,k.renderCells(x,r,0,0,b,x.crossTabInfo.cross.getCorrectedColumnsHeaderHeight(),C)),k.renderCells(x,r,d,P.startRow,b,a,o),o.x+=x.crossTabInfo.cross.widths[d]),d=b+1}}if(0!=P.startRow){for(o.x=h,o.y=i,v=o.width,w=P.startColumn,B=P.startColumn;B<s;B++){if((v-=x.crossTabInfo.cross.widths[B])<0)break;w++}s=w,c&&p&&(k.renderCells(x,r.as(M),P.startColumn,0,s,1,o),o.y+=x.crossTabInfo.cross.heights[0]),f=0;while(f<x.crossTabInfo.cross.colFields.count){I=f;while(I<x.crossTabInfo.cross.colFields.count&&x.crossTabInfo.cross.colFields.getByIndex(I).printOnAllPages)I++;f!=I&&(c?(k.renderCells(x,r,P.startColumn,f+1,s,I+1,o),o.y+=x.crossTabInfo.cross.heights[f+1]):(k.renderCells(x,r,P.startColumn,f,s,I,o),o.y+=x.crossTabInfo.cross.heights[f])),f=I+1}}o.x=h,o.y=m,T=!0;while(T)if(T=!1,s=k.getEndCol(x,P.startColumn,o),a=k.getEndRow(x,P.startRow,o),P.startRow<a&&k.renderCells(x,r,P.startColumn,P.startRow,s,a,o),P.renderingIsFinished=s==x.crossTabInfo.cross.colCount&&a==x.crossTabInfo.cross.rowCount,(P.startColumn=s)==x.crossTabInfo.cross.colCount&&(P.startColumn=0,P.startRow=a),e||_.makeHorAlignment(x,r,0,(null!=P.destinationContainer?P.destinationContainer:x.parent).width,1),x.canGrow&&(r.canGrow=!1,r.canShrink=!0,E=r.getActualSize(),r.width=E.width,r.height=E.height,r.canGrow=!0),x.page.unlimitedHeight){D=R=0;while(R<x.crossTabInfo.cross.rowCount)D+=x.crossTabInfo.cross.heights[R],R++;o.y+=D,P.renderingIsFinished?P.destinationContainer.containerInfo.setSegmentPerWidth=Math.trunc(o.y/P.destinationRectangle.height):T=!0}return[2,r]}})})},_.prototype.renderCrossTab=function(t,e){var r=null!=F.StiSubReportsHelper.getParentBand(e),n=t.destinationContainer;if(null==n&&(n=O.prototype.internalRender.call(this,e).as(M)).components.clear(),n.dockStyle=N.None,e.page.unlimitedHeight&&!e.page.unlimitedBreakable||(n.canBreak=!0),!t.allowRendering)return n;if((null==e.dataSource||e.dataSource.isEmpty)&&!e.printIfEmpty)return t.renderingIsFinished=!0,n;if(r){var i=new F.StiCrossTabV2Builder,o=t.destinationRectangle.clone();return o.x=0,o.y=0,i.renderCrossTabOnDataBand(t,e,n,o)}var a=t.destinationRectangle.clone();e.page.unlimitedHeight&&(a.height=1e8),a.x=0,a.y=0;var s=t.startRow,l=t.startColumn;if(e.wrap){var u=n.as(M);while(t.startColumn<e.crossTabInfo.cross.colCount){s=k.getEndRow(e,t.startRow,a),l=k.getEndCol(e,t.startColumn,a),k.renderCells(e,n,t.startColumn,t.startRow,l,s,a);var c=k.getCellsRect(e,t.startColumn,t.startRow,l,s);if(l==e.crossTabInfo.cross.colCount&&s==e.crossTabInfo.cross.rowCount)return t.renderingIsFinished=!0,n;if(l==e.crossTabInfo.cross.colCount?(t.startRow=s,t.startColumn=0):t.startColumn=l,!(a.height-e.wrapGap-c.height>c.height))return t.renderingIsFinished=!1,n;a.y=c.height+e.wrapGap,a.height-=c.height+e.wrapGap}return t.renderingIsFinished=!0,n}a.x=0,a.y=0,l=k.getEndCol(e,t.startColumn,a),s=k.getEndRow(e,t.startRow,a);var p=null!=e.crossTabInfo.cross.leftCrossTitle&&e.crossTabInfo.cross.leftCrossTitle.enabled&&null!=e.crossTabInfo.cross.rightCrossTitle&&e.crossTabInfo.cross.rightCrossTitle.enabled,h=null!=e.crossTabInfo.cross.leftCrossTitle&&e.crossTabInfo.cross.leftCrossTitle.printOnAllPages&&null!=e.crossTabInfo.cross.rightCrossTitle&&e.crossTabInfo.cross.rightCrossTitle.printOnAllPages,m=a.x,d=a.y,i=a.x,o=a.y;if(0!=t.startColumn)for(var g=0,f;g<e.crossTabInfo.cross.rowFields.count;g++){e.crossTabInfo.cross.rowFields.getByIndex(g).printOnAllPages&&!e.rightToLeft&&(m+=f=e.crossTabInfo.cross.widths[g],a.width-=f)}if(0!=t.startRow)for(var S=0;S<e.crossTabInfo.cross.colFields.count;S++)e.crossTabInfo.cross.colFields.getByIndex(S).printOnAllPages&&(d+=e.crossTabInfo.cross.heights[S],a.height-=e.crossTabInfo.cross.heights[S]);if(p&&h&&0!=t.startRow&&(d+=e.crossTabInfo.cross.heights[e.crossTabInfo.cross.colFields.count],a.height-=e.crossTabInfo.cross.heights[e.crossTabInfo.cross.colFields.count]),0!=t.startColumn&&!k.isRowFieldsEmpty(e)){a.x=i,a.y=d;for(var y=a.height,A=t.startRow,b=t.startRow;b<s;b++){if((y-=e.crossTabInfo.cross.heights[b])<0)break;A++}s=A;var g=0;while(g<e.crossTabInfo.cross.rowFields.count){var C=g,v;while(C<e.crossTabInfo.cross.rowFields.count&&e.crossTabInfo.cross.rowFields.getByIndex(C).printOnAllPages&&!e.rightToLeft)C++;g!=C&&(0<t.startRow&&((v=a.clone()).y=0,v.height-=a.y,k.renderCells(e,n,0,0,C,e.crossTabInfo.cross.getCorrectedColumnsHeaderHeight(),v)),k.renderCells(e,n,g,t.startRow,C,s,a),a.x+=e.crossTabInfo.cross.widths[g]),g=C+1}}if(0!=t.startRow){a.x=m,a.y=o;for(var w=a.width,B=t.startColumn,I=t.startColumn;I<l;I++){if((w-=e.crossTabInfo.cross.widths[I])<0)break;B++}l=B,p&&h&&(k.renderCells(e,n.as(M),t.startColumn,0,l,1,a),a.y+=e.crossTabInfo.cross.heights[0]);var S=0;while(S<e.crossTabInfo.cross.colFields.count){var T=S;while(T<e.crossTabInfo.cross.colFields.count&&e.crossTabInfo.cross.colFields.getByIndex(T).printOnAllPages)T++;S!=T&&(p?(k.renderCells(e,n,t.startColumn,S+1,l,T+1,a),a.y+=e.crossTabInfo.cross.heights[S+1]):(k.renderCells(e,n,t.startColumn,S,l,T,a),a.y+=e.crossTabInfo.cross.heights[S])),S=T+1}}a.x=m,a.y=d;var E=!0;while(E){var R,E=!1,l=k.getEndCol(e,t.startColumn,a),s=k.getEndRow(e,t.startRow,a);if(t.startRow<s&&k.renderCells(e,n,t.startColumn,t.startRow,l,s,a),t.renderingIsFinished=l==e.crossTabInfo.cross.colCount&&s==e.crossTabInfo.cross.rowCount,(t.startColumn=l)==e.crossTabInfo.cross.colCount&&(t.startColumn=0,t.startRow=s),r||_.makeHorAlignment(e,n,0,(null!=t.destinationContainer?t.destinationContainer:e.parent).width,1),e.canGrow&&(n.canGrow=!1,n.canShrink=!0,R=n.getActualSize(),n.width=R.width,n.height=R.height,n.canGrow=!0),e.page.unlimitedHeight){var D=0,P=0;while(D<e.crossTabInfo.cross.rowCount)P+=e.crossTabInfo.cross.heights[D],D++;a.y+=P,t.renderingIsFinished?t.destinationContainer.containerInfo.setSegmentPerWidth=Math.trunc(a.y/t.destinationRectangle.height):E=!0}}return n},_.prototype.renderCrossTabUnlimitedBreakable=function(t,e,r,n){var i=this.getPageForCrossTab(r);null==i&&(i=e.report.renderedPages.toList().lastOrDefault());var o=k.getEndCol(e,t.startColumn,n),a=k.getEndRow(e,t.startRow,n),s=i.width,l=i.height,u=0,c=0;while(c<a){i.segmentPerHeight=Math.max(i.segmentPerHeight,u+1);var p=0,h={ref:0},m={ref:0};while(h.ref<o){i.segmentPerWidth=Math.max(i.segmentPerWidth,p+1);var d=new g(n.left+p*s,n.top+u*l,t.destinationRectangle.width,t.destinationRectangle.height);t.startColumn=h.ref,t.startRow=c,this.renderCrossTabOnPage(t,e,r,d,h,m),p++}c=m.ref,u++}},_.prototype.getPageForCrossTab=function(t){var e=null,r=t;while(null==e&&null!=r)e=r.page,r=r.parent;return e},_.prototype.getActualHeaderRowCount=function(t){var e,r,n=0,i=0;try{for(var o=__values(t.components.list),a=o.next();!a.done;a=o.next()){var s=a.value;s.is(c)&&s.enabled&&i++,s.is(u)&&s.enabled&&n++}}catch(t){e={error:t}}finally{try{a&&!a.done&&(r=o.return)&&r.call(o)}finally{if(e)throw e.error}}return 1<i&&t.summaryDirection==l.LeftToRight&&n++,n},_.prototype.prepare=function(t){O.prototype.prepare.call(this,t),o.setFilter(t)},_.prototype.unPrepare=function(t){O.prototype.unPrepare.call(this,t),k.clearCross(t.as(s))},_.prototype.internalRenderAsync=function(o){return __awaiter(this,void 0,void 0,function(){var e,r,n,i,e;return __generator(this,function(t){switch(t.label){case 0:if(e=o.as(s),r=new p,n=null!=F.StiSubReportsHelper.getParentBand(e),r.allowRendering=n,i=o.parent.as(a),r.destinationRectangle=(null!=i?i.parent:e).clientRectangle.clone(),!n)return[3,2];return k.createCross(e),[4,this.renderCrossTabAsync(r,e)];case 1:return[2,t.sent()];case 2:return[4,O.prototype.internalRenderAsync.call(this,o)];case 3:return null!=(e=t.sent().as(M))&&(e.width=o.width,e.height=o.height,e.components.clear()),[2,e]}})})},_.prototype.internalRender=function(t){var e=t.as(s),r=new p,n=null!=F.StiSubReportsHelper.getParentBand(e);r.allowRendering=n;var i=t.parent.as(a);if(r.destinationRectangle=(null!=i?i.parent:e).clientRectangle.clone(),n)return k.createCross(e),this.renderCrossTab(r,e);var e=O.prototype.internalRender.call(this,t).as(M);return null!=e&&(e.width=t.width,e.height=t.height,e.components.clear()),e},r=_,F.StiCrossTabBuilder=r}(Stimulsoft=Stimulsoft||{}),function(t){var e,r,n,i,g,B,T,I,f,E,o;function R(){return null!==o&&o.apply(this,arguments)||this}r=e=t.Report||(t.Report={}),i=n=r.Engine||(r.Engine={}),g=t.Report.CrossTab.Core.StiSummaryDirection,B=t.System.Drawing.Rectangle,T=t.Report.CrossTab.StiCrossTabHelper,I=t.Report.CrossTab.StiCrossHorAlignment,f=t.Report.CrossTab.StiCrossHeader,E=t.Report.Components.IStiBreakable,o=i.StiContainerBuilder,__extends(R,o),R.prototype.renderCrossTabOnDataBand=function(t,e,r,n){var i=e.page,o=e.crossTabInfo.cross,a=e.report.engine,s=i.pageWidth-i.margins.left-i.margins.right,l=s;i.unlimitedBreakable||(l=1e5);var u=r.components.count,c=!(t.startRow=0),p=!0,h=0,m=0;while(t.startRow<o.rowCount){t.startColumn=p?0:t.startColumn;var d=e.keepCrossTabTogether&&null!=e.parent&&!e.parent.canBreak,g=0!=t.startRow||c||d?a.staticBands.reservedFreeSpace:a.freeSpace-e.top;if(i.unlimitedHeight&&!i.unlimitedBreakable&&(g=1e8),g<0&&(g=a.staticBands.reservedFreeSpace),0==t.startRow||!p){var d={ref:n};if(this.renderColHeaders(t,e,r,d,!0,!0)>g){if(!c){h+=m=g,c=!0;continue}h-=m,g=m}else null!=e.parent&&e.parent.is(E)&&!e.parent.canBreak&&(h-=m)}var f=t.shiftX,S=0,y=!0;while(t.startColumn<o.colCount){var A=new B(f,h,l-r.left-(y?t.shiftX:0),g),b=void 0,C={ref:b},v={ref:S};if(this.renderCrossTabSegment(t,e,r,A,C,v),b=C.ref,S=v.ref,t.startColumn=b,e.wrap){p=t.startColumn>=o.colCount;break}y&&(f-=t.shiftX),f+=l,y=!1}p&&(h+=g,t.startRow=S),0<r.components.count&&(h=Math.max(h,r.components.toList().max(function(t){return t.bottom}))),p||(h+=e.wrapGap)}if(0<r.components.count&&!e.wrap&&e.horAlignment!=I.Width){var w=r.components.toList().max(function(t){return t.right})/s;if(1<w)while(w>r.containerInfo.setSegmentPerWidth)r.containerInfo.setSegmentPerWidth++}return R.makeHorAlignment(e,r,u,e.parent.width,r.containerInfo.setSegmentPerWidth),this.finalizeCross(r),r},R.prototype.finalizeCross=function(t){t.canGrow=!1,t.canShrink=!0;var e=t.getActualSize();t.width=e.width,t.height=e.height,t.canGrow=!0},R.makeHorAlignment=function(t,e,r,n,i){if(t.wrap)return;if(t.horAlignment==I.Width)e.left=0,e.width=n,T.makeHorAlignmentByWidth(e,r);else if(t.horAlignment!=I.None){e.left=0,e.width=n*i;var o=0,a=0,n={ref:o},i={ref:a};T.calculateMaxAndMin(e,n,i,r),o=n.ref,a=i.ref;for(var s=r;s<e.components.count;s++){var l=e.components.getByIndex(s),u;t.horAlignment==I.Left?l.left-=o:t.horAlignment==I.Right?l.left+=e.width-a:t.horAlignment==I.Center&&(u=(e.width-(a-o))/2,l.left-=o-u)}}},R.prototype.getEndColumn=function(t,e,r,n){var i=e.width,o=t.startColumn;while(o<r.colCount){if((i-=r.widths[o])<0&&n.horAlignment!=I.Width)break;o++}return o==t.startColumn&&o+1<=r.colCount&&o++,o},R.prototype.getEndRow=function(t,e,r){var n=e.height,i=t.startRow;while(i<r.rowCount){if((n-=r.heights[i])<0)break;i++}return i==t.startRow&&i+1<=r.rowCount&&i++,i},R.prototype.allColFieldsPresentOnAllPages=function(t){return t.colFields.toList().count2(function(t){return t.printOnAllPages})==t.colFields.count},R.prototype.renderColHeaders=function(t,e,r,n,i,o){if(void 0===i&&(i=!1),void 0===o&&(o=!1),0==t.startRow&&!o)return 0;if(!i){var a=n.ref.clone();a.height=1e5;var a={ref:a},s;if((s=this.renderColHeaders(t,e,r,a,!0,o))>n.ref.height)return 0}var l=e.crossTabInfo.cross,u=this.getEndColumn(t,n.ref,l,e);if(!i){var o=n.ref.clone();if(this.renderColHeaders(t,e,r,{ref:o},!0)>n.ref.height)return 0}var c=0,p=0,h=T.isColFieldsEmpty(e)&&e.summaryDirection==g.LeftToRight&&1<l.sumFields.count?1:0;if(l.isTopCrossTitleVisible){if(l.isCrossTitlePrintOnAllPages){i||T.renderCells(e,r,t.startColumn,0,u,1+h,n.ref);for(var m=0;m<1+h;m++)n.ref.y+=l.heights[m],n.ref.height-=l.heights[m],c+=l.heights[m]}p++}if(T.isColFieldsEmpty(e))return c;var d=e.summaryDirection==g.LeftToRight&&1<l.sumFields.count?1:0;!i&&this.allColFieldsPresentOnAllPages(l)&&T.renderCells(e,r,t.startColumn,p,u,p+l.colFields.count+d,n.ref);for(var m=0,s;m<l.colFields.count+d;m++){(m<l.colFields.count&&l.colFields.getByIndex(m).as(f).printOnAllPages||m>=l.colFields.count)&&(i||this.allColFieldsPresentOnAllPages(l)||T.renderCells(e,r,t.startColumn,p,u,p+1,n.ref),s=l.heights.length>p?l.heights[p]:0,n.ref.y+=s,n.ref.height-=s,c+=s),p++}return c},R.prototype.renderCrossTabSegment=function(t,e,r,n,i,o){var a=e.crossTabInfo.cross,s={ref:n};this.renderRowHeaders(t,e,r,s),this.renderColHeaders(t,e,r,s),n=s.ref,o.ref=T.getEndRow(e,t.startRow,n),i.ref=T.getEndCol(e,t.startColumn,n),o.ref=T.checkMergedRowCells(e,t.startRow,o.ref,t.startColumn,i.ref),t.startRow<o.ref&&T.renderCells(e,r,t.startColumn,t.startRow,i.ref,o.ref,n),t.renderingIsFinished=i.ref==a.colCount&&o.ref==a.rowCount,t.startColumn=i.ref,i.ref==a.colCount&&(t.startColumn=0,t.startRow=o.ref)},R.prototype.renderRowHeaders=function(t,e,r,n,i){var o,a;void 0===i&&(i=!1);var s=e.crossTabInfo.cross,l;if(!e.rightToLeft&&0==t.startColumn)return 0;if(e.rightToLeft&&!i&&(l=T.getEndCol(e,t.startColumn,n.ref))==s.cells.length){if(e.rightToLeft&&n.ref.width!=1e5-t.shiftX-r.left){for(var u=0,c=t.startColumn;c<l;c++)u+=s.widths[c];n.ref.x+=n.ref.width-u}return 0}var p=0,h;if(!i){(h=n.ref.clone()).width=1e5;var m={ref:h},p=this.renderRowHeaders(t,e,r,m,!0),h=m.ref;if(p>n.ref.width)return 0;if(e.rightToLeft){(h=n.ref.clone()).width-=p;for(var l=T.getEndCol(e,t.startColumn,h),d=0,c=t.startColumn;c<l;c++)d+=s.widths[c];1e5!=n.ref.width&&(n.ref.x+=n.ref.width-(d+p)),n.ref.width=d+p}}var m=n.ref.height,h=n.ref.y,g=n.ref.x;if(this.renderCorner(t,e,r,n,s,i),!i){var p=n.ref.clone();if(this.renderRowHeaders(t,e,r,{ref:p},!0)>n.ref.width)return 0}var f=0,S=this.getEndRow(t,n.ref,s),y=0;if((s.isLeftCrossTitleVisible||s.isTopCrossTitleVisible&&s.isColsEmpty)&&(s.isCrossTitlePrintOnAllPages&&(i||T.renderCells(e,r,0,t.startRow,1,S,n.ref),n.ref.x+=s.widths[0],n.ref.width-=s.widths[0],f+=s.widths[0]),y++),T.isRowFieldsEmpty(e))return f;var A=1;e.rightToLeft&&(y=s.cells.length-1-y,A=-1);var b=y,C=0;try{for(var v=__values(s.rowFields.toCast()),w=v.next();!w.done;w=v.next()){var B=w.value,I=s.widths.length>y?s.widths[y]:0;B.printOnAllPages&&(C+=I,f+=I),(!B.printOnAllPages||B==s.rowFields.getByIndex(s.rowFields.count-1))&&0<C&&(e.rightToLeft&&(n.ref.x=g+n.ref.width-C),i||T.renderCells(e,r,b,t.startRow,y+1,S,n.ref),e.rightToLeft||(n.ref.x+=C),n.ref.width-=C,C=0,b=y+A),e.rightToLeft?b--:y++}}catch(t){o={error:t}}finally{try{w&&!w.done&&(a=v.return)&&a.call(v)}finally{if(o)throw o.error}}return e.rightToLeft&&(n.ref.x=g),n.ref.y=h,n.ref.height=m,f},R.prototype.renderCorner=function(t,e,r,n,i,o){var a,s;if(void 0===o&&(o=!1),0==t.startRow||T.isColFieldsEmpty(e))return 0;if(!o){var l=n.ref.clone();if(this.renderCorner(t,e,r,{ref:l},i,!0)>n.ref.height)return 0}var u=0,c=0,p=i.rowFields.toList().count2(function(t){return t.printOnAllPages});i.isTopCrossTitleVisible&&(i.isCrossTitlePrintOnAllPages&&(o||T.renderCells(e,r,0,0,p,1,n.ref),n.ref.y+=i.heights[0],n.ref.height-=i.heights[0],u+=i.heights[0]),c++),!o&&this.allColFieldsPresentOnAllPages(i)&&T.renderCells(e,r,0,c,p,c+i.colFields.count,n.ref);try{for(var h=__values(i.colFields.toCast()),m=h.next(),d,g;!m.done;m=h.next()){m.value.printOnAllPages&&(o||this.allColFieldsPresentOnAllPages(i)||T.renderCells(e,r,0,c,p,c+1,n.ref),g=i.heights.length>c?i.heights[c]:0,n.ref.y+=g,n.ref.height-=g,u+=g),c++}}catch(t){a={error:t}}finally{try{m&&!m.done&&(s=h.return)&&s.call(h)}finally{if(a)throw a.error}}return u},r=R,i.StiCrossTabV2Builder=r}(Stimulsoft=Stimulsoft||{}),function(O){var t,e,r,S,y,A,b,o,_,a,s,j,d,G,n,i,H,l,Q,u,P,p,x,c,h,m,L,Y,g,C,f;function F(){return null!==f&&f.apply(this,arguments)||this}e=t=O.Report||(O.Report={}),S=r=e.Engine||(e.Engine={}),y=O.System.StiArray,A=O.System.StiString,b=O.System.DateTime,o=O.Report.Events.StiValueEventArgs,_=O.Report.Components.StiDataBand,a=O.Report.Components.StiGroupHeaderBand,s=O.Report.Components.StiHeaderBand,j=O.Report.Components.StiEmptyBand,d=O.Report.Components.StiChildBand,G=O.System.Collections.Hashtable,n=O.Report.Components.StiGroupFooterBand,i=O.Report.Components.StiFooterBand,H=O.Report.Components.StiSubReport,l=O.Report.Components.StiKeepDetails,Q=O.Report.Components.IStiMasterComponent,u=O.Report.Components.IStiPrintOnAllPages,P=O.Report.Components.StiDataHelper,p=O.Report.Components.StiComponentType,x=O.Report.Components.IStiPageBreak,c=O.Report.Components.IStiRenderMaster,h=O.Report.Components.IStiDataSource,m=O.Report.Components.IStiBusinessObject,L=O.Report.Components.StiPage,Y=O.Report.Components.StiComponentsCollection,g=O.Report.Components.StiContainer,C=O.Report.Components.StiBandInteraction,f=S.StiBandBuilder,__extends(F,f),F.prototype.getGroupHeaders=function(t){var e=new Y,r=t.parent.components.indexOf(t)-1;if(t.is(O.Report.Components.Table.StiTable)&&!t.enabled){var n=t.name+"_";while(0<=r&&t.parent.components.getByIndex(r).name.stimulsoft.startsWith(n))r--}while(0<=r){if(!t.parent.components.getByIndex(r).is(s)&&!t.parent.components.getByIndex(r).is(d)&&!t.parent.components.getByIndex(r).is(j)){if(!t.parent.components.getByIndex(r).is(a))break;e.insert(0,t.parent.components.getByIndex(r))}r--}return e},F.prototype.getGroupFooters=function(t){var e=new Y,r=t.parent.components.indexOf(t)+1;while(r<t.parent.components.count){if(!t.parent.components.getByIndex(r).is(i)&&!t.parent.components.getByIndex(r).is(d)&&!t.parent.components.getByIndex(r).is(j)){if(!t.parent.components.getByIndex(r).is(n))break;e.add(t.parent.components.getByIndex(r))}r++}return e},F.prototype.groupsComparison=function(t){var e,r;try{for(var n=__values(t.dataBandInfo.groupHeaderComponents.toCast()),i=n.next(),o;!i.done;i=n.next()){i.value.groupHeaderBandInfo.groupFooter=null}}catch(t){e={error:t}}finally{try{i&&!i.done&&(r=n.return)&&r.call(n)}finally{if(e)throw e.error}}for(var a=0;a<t.dataBandInfo.groupFooterComponents.count;a++){var s=t.dataBandInfo.groupHeaderComponents.count-a-1;0<=s?(t.dataBandInfo.groupFooterComponents.getByIndex(a).groupFooterBandInfo.groupHeader=t.dataBandInfo.groupHeaderComponents.getByIndex(s),t.dataBandInfo.groupHeaderComponents.getByIndex(s).groupHeaderBandInfo.groupFooter=t.dataBandInfo.groupFooterComponents.getByIndex(a)):t.dataBandInfo.groupFooterComponents.getByIndex(a).groupFooterBandInfo.groupHeader=null}},F.prototype.findHeaders=function(t){if(null==t)return;if(null==t.parent)return;if(null==t.dataBandInfo)return;t.dataBandInfo.headers=new Y;var e=t.parent.components.indexOf(t)-1;while(0<=e){var r=t.parent.components.getByIndex(e);if(!r.is(a)&&!r.is(d)&&!r.is(j)){if(!r.is(s))break;t.dataBandInfo.headers.insert(0,r)}e--}},F.prototype.findHierarchicalHeaders=function(t){var e,r,n,i,o,a;if(null==t)return;if(null==t.parent)return;if(null==t.dataBandInfo)return;var s=t.as(O.Report.Components.StiHierarchicalBand);if(null!=s&&0<s.headers.trim().length){t.dataBandInfo.hierarchicalHeaders=new Y;var l=s.headers.split(";"),u=new G;try{for(var c=__values(l),p=c.next();!p.done;p=c.next()){var h,m=p.value.trim();u.set(m,m)}}catch(t){e={error:t}}finally{try{p&&!p.done&&(r=c.return)&&r.call(c)}finally{if(e)throw e.error}}try{for(var d=__values(t.dataBandInfo.headers.list),g=d.next();!g.done;g=d.next()){var f=g.value;null!=u.get(f.name)&&t.dataBandInfo.hierarchicalHeaders.add(f)}}catch(t){n={error:t}}finally{try{g&&!g.done&&(i=d.return)&&i.call(d)}finally{if(n)throw n.error}}try{for(var S=__values(t.dataBandInfo.hierarchicalHeaders.list),y=S.next();!y.done;y=S.next()){var f=y.value;t.dataBandInfo.headers.contains(f)&&t.dataBandInfo.headers.remove(f,!1)}}catch(t){o={error:t}}finally{try{y&&!y.done&&(a=S.return)&&a.call(S)}finally{if(o)throw o.error}}}},F.prototype.findFooters=function(t){if(null==t)return;if(null==t.parent)return;if(null==t.dataBandInfo)return;t.dataBandInfo.footersOnAllPages=new Y,t.dataBandInfo.footersOnLastPage=new Y;var e=t.parent.components.indexOf(t)+1;while(e<t.parent.components.count){var r=t.parent.components.getByIndex(e);if(!r.is(O.Report.Components.StiGroupFooterBand)&&!r.is(d)&&!r.is(j)&&(!r.is(O.Report.Components.Table.StiTable)||r.isConverted)){if(!r.is(i))break;(r.printOnAllPages?t.dataBandInfo.footersOnAllPages:t.dataBandInfo.footersOnLastPage).add(r)}e++}},F.prototype.findHierarchicalFooters=function(t){var e,r,n,i,o,a,s,l;if(null==t)return;if(null==t.parent)return;if(null==t.dataBandInfo)return;var u=t.as(O.Report.Components.StiHierarchicalBand);if(null!=u&&0<u.footers.trim().length){t.dataBandInfo.hierarchicalFooters=new Y;var c=u.footers.split(";"),p=new G;try{for(var h=__values(c),m=h.next();!m.done;m=h.next()){var d,g=m.value.trim();p.set(g,g)}}catch(t){e={error:t}}finally{try{m&&!m.done&&(r=h.return)&&r.call(h)}finally{if(e)throw e.error}}try{for(var f=__values(t.dataBandInfo.footersOnAllPages.list),S=f.next();!S.done;S=f.next()){var y=S.value;null!=p.get(y.name)&&t.dataBandInfo.hierarchicalFooters.add(y)}}catch(t){n={error:t}}finally{try{S&&!S.done&&(i=f.return)&&i.call(f)}finally{if(n)throw n.error}}try{for(var A=__values(t.dataBandInfo.footersOnLastPage.list),b=A.next();!b.done;b=A.next()){var y=b.value;null!=p.get(y.name)&&t.dataBandInfo.hierarchicalFooters.add(y)}}catch(t){o={error:t}}finally{try{b&&!b.done&&(a=A.return)&&a.call(A)}finally{if(o)throw o.error}}try{for(var C=__values(t.dataBandInfo.hierarchicalFooters.list),v=C.next();!v.done;v=C.next()){var y=v.value;t.dataBandInfo.footersOnAllPages.contains(y)&&t.dataBandInfo.footersOnAllPages.remove(y,!1),t.dataBandInfo.footersOnLastPage.contains(y)&&t.dataBandInfo.footersOnLastPage.remove(y,!1)}}catch(t){s={error:t}}finally{try{v&&!v.done&&(l=C.return)&&l.call(C)}finally{if(s)throw s.error}}}},F.prototype.findEmptyBands=function(t){if(null==t)return;if(null==t.parent)return;if(null==t.dataBandInfo)return;t.dataBandInfo.emptyBands=new Y;var e=t.parent.components.indexOf(t)+1;while(e<t.parent.components.count){var r=t.parent.components.getByIndex(e);if(r.is(j)&&r.enabled&&t.dataBandInfo.emptyBands.add(r),(!r.is(O.Report.Components.Table.StiTable)||r.isConverted)&&(r.is(i)||r.is(O.Report.Components.StiGroupFooterBand)||r.is(s)||r.is(a)||r.is(O.Report.Components.StiDataBand)))break;e++}},F.prototype.findGroupHeaders=function(t){if(null==t)return;if(null==t.parent)return;if(null==t.dataBandInfo)return;t.dataBandInfo.groupHeaders=new Y;var e=t.parent.components.indexOf(t)-1;while(0<=e){var r=t.parent.components.getByIndex(e);if(!r.is(s)&&!r.is(d)&&!r.is(j)){if(!r.is(a))break;t.dataBandInfo.groupHeaders.insert(0,r)}e--}},F.prototype.findGroupFooters=function(t){if(null==t)return;if(null==t.parent)return;if(null==t.dataBandInfo)return;t.dataBandInfo.groupFooters=new Y;var e=t.parent.components.indexOf(t)+1;while(e<t.parent.components.count){var r=t.parent.components.getByIndex(e);if(!r.is(i)&&!r.is(d)&&!r.is(j)&&(!r.is(O.Report.Components.Table.StiTable)||r.isConverted)){if(!r.is(O.Report.Components.StiGroupFooterBand))break;t.dataBandInfo.groupFooters.add(r)}e++}},F.prototype.findDetailDataBands=function(t){var e,r,n,i,o,a,s,l,u,c;if(null==t)return;if(null==t.parent)return;if(null==t.dataBandInfo)return;t.dataBandInfo.detailDataBands=new Y;var p=t.page.getComponents(),h=t;if(t.isBusinessObjectEmpty)try{for(var m=__values(p.list),d=m.next(),g;!d.done;d=m.next()){if((g=d.value).is(j))continue;if(g==t)continue;g.is(O.Report.Components.Table.StiTable)&&!g.isConverted&&t.name==g.name+"_DB"&&(h=g);var f=g.as(Q),S;if(null!=f&&f.is(_)&&(f.masterComponent==t||f.masterComponent==h)&&(f.dataSource!=h.dataSource||null==f.dataSource&&null==h.dataSource)){var y=g.parent;while(null!=y&&!y.is(L)){if(y==t)break;y=y.parent}y!=t&&t.dataBandInfo.detailDataBands.add(g)}if(null!=(S=g.as(H))&&null!=S.subReportPage)try{for(var A=(n=void 0,__values(S.subReportPage.getComponents().list)),b=A.next();!b.done;b=A.next()){var C=b.value,v=C.as(Q);null==v||!v.is(O.Report.Components.StiDataBand)||v.masterComponent!=t&&v.masterComponent!=h||v.dataSource==h.dataSource&&(null!=v.dataSource||null!=h.dataSource)||(null==t.dataBandInfo.detailDataBandsFromSubReports&&(t.dataBandInfo.detailDataBandsFromSubReports=new G),t.dataBandInfo.detailDataBandsFromSubReports.set(C,null))}}catch(t){n={error:t}}finally{try{b&&!b.done&&(i=A.return)&&i.call(A)}finally{if(n)throw n.error}}}}catch(t){e={error:t}}finally{try{d&&!d.done&&(r=m.return)&&r.call(m)}finally{if(e)throw e.error}}else{var w=new Y,B=new Y;try{for(var I=__values(p.list),T=I.next(),g,S;!T.done;T=I.next()){null!=(S=(g=T.value).as(H))&&null!=S.subReportPage?(w.addRange(S.subReportPage.getComponents()),B.addRange(S.subReportPage.getComponents())):w.add(g)}}catch(t){o={error:t}}finally{try{T&&!T.done&&(a=I.return)&&a.call(I)}finally{if(o)throw o.error}}p=w;var E=!1,R=new G;try{for(var D=__values(p.list),P=D.next(),g;!P.done;P=D.next()){if((g=P.value).is(j))continue;if(g==t)continue;if(R.containsKey(g))continue;var x=g.as(_);if(null!=x&&!x.isBusinessObjectEmpty){if(t.businessObject==x.businessObject.parentBusinessObject){var F=g.parent;while(null!=F&&!F.is(L)){if(F==t)break;F=F.parent}F!=t&&t.dataBandInfo.detailDataBands.add(g),-1!=B.indexOf(g)&&(null==t.dataBandInfo.detailDataBandsFromSubReports&&(t.dataBandInfo.detailDataBandsFromSubReports=new G),t.dataBandInfo.detailDataBandsFromSubReports.set(g,!0)),E=!0}if(E&&this.isParentOrCurrentBO(x.businessObject.parentBusinessObject,t.businessObject))break;if(null!=x.dataBandInfo.detailDataBands)try{for(var N=(u=void 0,__values(x.dataBandInfo.detailDataBands.list)),k=N.next();!k.done;k=N.next()){var M=k.value;R.set(M,null)}}catch(t){u={error:t}}finally{try{k&&!k.done&&(c=N.return)&&c.call(N)}finally{if(u)throw u.error}}}}}catch(t){s={error:t}}finally{try{P&&!P.done&&(l=D.return)&&l.call(D)}finally{if(s)throw s.error}}}},F.prototype.isParentOrCurrentBO=function(t,e){while(null!=t){if(t==e)return!1;t=t.parentBusinessObject}return!0},F.prototype.findSubReports=function(t){var e,r,n,i;if(null==t)return;if(null==t.parent)return;if(null==t.dataBandInfo)return;t.dataBandInfo.subReports=new Y;var o=t.getComponents();try{for(var a=__values(o.list),s=a.next(),l;!s.done;s=a.next()){(l=s.value).is(H)&&t.dataBandInfo.subReports.add(l)}}catch(t){e={error:t}}finally{try{s&&!s.done&&(r=a.return)&&r.call(a)}finally{if(e)throw e.error}}var u=t.parent.components.indexOf(t)+1;while(u<t.parent.components.count&&t.parent.components.getByIndex(u).is(d)){var c,p=t.parent.components.getByIndex(u).getComponents();try{for(var h=(n=void 0,__values(p.list)),m=h.next(),l;!m.done;m=h.next()){(l=m.value).is(H)&&t.dataBandInfo.subReports.add(l)}}catch(t){n={error:t}}finally{try{m&&!m.done&&(i=h.return)&&i.call(h)}finally{if(n)throw n.error}}u++}},F.prototype.findDetails=function(t){var e,r;if(null==t)return;if(null==t.parent)return;if(null==t.dataBandInfo)return;t.dataBandInfo.details=new Y;var n=t.getComponents();try{for(var i=__values(n.list),o=i.next();!o.done;o=i.next()){var a=o.value,s,l;if(null!=a.as(Q)&&!a.is(H)){if(!!(a.is(_)&&a.dataSource==t.dataSource&&null!=t.dataSource))continue;t.dataBandInfo.details.add(a)}}}catch(t){e={error:t}}finally{try{o&&!o.done&&(r=i.return)&&r.call(i)}finally{if(e)throw e.error}}},F.prototype.resetHeaders=function(t){t.dataBandInfo.headers=null},F.prototype.resetHierarchicalHeaders=function(t){t.dataBandInfo.hierarchicalHeaders=null},F.prototype.resetFooters=function(t){t.dataBandInfo.footersOnAllPages=null,t.dataBandInfo.footersOnLastPage=null},F.prototype.resetHierarchicalFooters=function(t){t.dataBandInfo.hierarchicalFooters=null},F.prototype.resetEmptyBands=function(t){t.dataBandInfo.emptyBands=null},F.prototype.resetGroupHeaders=function(t){t.dataBandInfo.groupHeaders=null},F.prototype.resetGroupFooters=function(t){t.dataBandInfo.groupFooters=null},F.prototype.resetDetailDataBands=function(t){t.dataBandInfo.detailDataBands=null},F.prototype.resetDetails=function(t){t.dataBandInfo.details=null},F.prototype.addKeepLevelAtLatestDataBandAsync=function(e){return __awaiter(this,void 0,void 0,function(){return __generator(this,function(t){switch(t.label){case 0:return[4,e.report.engine.threads.selectThreadFromContainerAsync(e)];case 1:return t.sent(),null!=e.report.engine.containerForRender&&e.report.engine.addKeepLevelAtLatestDataBand(),[2]}})})},F.prototype.addKeepLevelAtLatestDataBand=function(t){t.report.engine.threads.selectThreadFromContainer(t),null!=t.report.engine.containerForRender&&t.report.engine.addKeepLevelAtLatestDataBand()},F.prototype.addKeepLevelAsync=function(e){return __awaiter(this,void 0,void 0,function(){return __generator(this,function(t){switch(t.label){case 0:return[4,e.report.engine.threads.selectThreadFromContainerAsync(e)];case 1:return t.sent(),null!=e.report.engine.containerForRender&&e.report.engine.addLevel(),[2]}})})},F.prototype.addKeepLevel=function(t){t.report.engine.threads.selectThreadFromContainer(t),null!=t.report.engine.containerForRender&&t.report.engine.addLevel()},F.prototype.removeKeepLevelAsync=function(e){return __awaiter(this,void 0,void 0,function(){return __generator(this,function(t){switch(t.label){case 0:return[4,e.report.engine.threads.selectThreadFromContainerAsync(e)];case 1:return t.sent(),null!=e.report.engine.containerForRender&&e.report.engine.removeLevel(),[2]}})})},F.prototype.removeKeepLevel=function(t){t.report.engine.threads.selectThreadFromContainer(t),null!=t.report.engine.containerForRender&&t.report.engine.removeLevel()},F.prototype.removeKeepGroupHeadersAsync=function(s){return __awaiter(this,void 0,void 0,function(){var e,r,n,i,o,o,a;return __generator(this,function(t){switch(t.label){case 0:e=0,t.label=1;case 1:t.trys.push([1,7,8,9]),r=__values(s.dataBandInfo.groupHeaders.list),n=r.next(),t.label=2;case 2:if(n.done)return[3,6];if(i=n.value,!s.dataBandInfo.groupHeaderResults[e])return[3,4];if(!i.keepGroupHeaderTogether)return[3,4];return[4,this.removeKeepLevelAsync(s)];case 3:t.sent(),t.label=4;case 4:e++,t.label=5;case 5:return n=r.next(),[3,2];case 6:return[3,9];case 7:return o=t.sent(),o={error:o},[3,9];case 8:try{n&&!n.done&&(a=r.return)&&a.call(r)}finally{if(o)throw o.error}return[7];case 9:return[2]}})})},F.prototype.removeKeepGroupHeaders=function(t){var e,r,n=0;try{for(var i=__values(t.dataBandInfo.groupHeaders.list),o=i.next();!o.done;o=i.next()){var a=o.value;t.dataBandInfo.groupHeaderResults[n]&&a.keepGroupHeaderTogether&&this.removeKeepLevel(t),n++}}catch(t){e={error:t}}finally{try{o&&!o.done&&(r=i.return)&&r.call(i)}finally{if(e)throw e.error}}},F.prototype.removeKeepHeadersAsync=function(n,i){return __awaiter(this,void 0,void 0,function(){var e,r;return __generator(this,function(t){switch(t.label){case 0:e=0,t.label=1;case 1:if(!(e<n.dataBandInfo.headers.count))return[3,4];if(!(r=n.dataBandInfo.headers.getByIndex(e).as(s)).keepHeaderTogether||0!=n.position&&!i[e])return[3,3];return[4,this.removeKeepLevelAsync(n)];case 2:t.sent(),i[e]=!1,t.label=3;case 3:return e++,[3,1];case 4:return[2]}})})},F.prototype.removeKeepHeaders=function(t,e){for(var r=0,n;r<t.dataBandInfo.headers.count;r++){t.dataBandInfo.headers.getByIndex(r).as(s).keepHeaderTogether&&(0==t.position||e[r])&&(this.removeKeepLevel(t),e[r]=!1)}},F.prototype.allowKeepDetails=function(t){var e,r;if(!this.allowDetailDataBands(t))return!1;if(t.keepDetails==l.None)return!1;try{for(var n=__values(t.dataBandInfo.detailDataBands.list),i=n.next(),o;!i.done;i=n.next()){if(i.value.parent.name!=t.parent.name)return!1}}catch(t){e={error:t}}finally{try{i&&!i.done&&(r=n.return)&&r.call(n)}finally{if(e)throw e.error}}return!0},F.prototype.addKeepDetailsAsync=function(r){return __awaiter(this,void 0,void 0,function(){var e,e;return __generator(this,function(t){switch(t.label){case 0:if(!this.allowKeepDetails(r))return[2];return r.keepDetails!=l.KeepFirstDetailTogether&&r.keepDetails!=l.KeepFirstRowTogether||(e=r.report.engine.keepFirstDetailTogetherTablesList.get(r),null==(e=null!=e?e.as(_):null)&&(e=r),r.report.engine.keepFirstDetailTogetherList.set(e,r)),[4,this.addKeepLevelAsync(r)];case 1:return t.sent(),[2]}})})},F.prototype.addKeepDetails=function(t){if(!this.allowKeepDetails(t))return;var e,e;t.keepDetails!=l.KeepFirstDetailTogether&&t.keepDetails!=l.KeepFirstRowTogether||(null==(e=null!=(e=t.report.engine.keepFirstDetailTogetherTablesList.get(t))?e.as(_):null)&&(e=t),t.report.engine.keepFirstDetailTogetherList.set(e,t)),this.addKeepLevel(t)},F.prototype.removeKeepDetailsAsync=function(e){return __awaiter(this,void 0,void 0,function(){return __generator(this,function(t){switch(t.label){case 0:if(!this.allowKeepDetails(e)||e.keepDetails!=l.KeepDetailsTogether)return[3,2];return[4,this.removeKeepLevelAsync(e)];case 1:t.sent(),t.label=2;case 2:if(null==e.masterComponent||null==e.report.engine.keepFirstDetailTogetherList.get(e.masterComponent))return[3,4];return[4,this.removeKeepLevelAsync(e)];case 3:t.sent(),e.report.engine.keepFirstDetailTogetherList.set(e.masterComponent,null),t.label=4;case 4:if(null==e.report.engine.keepFirstDetailTogetherList.get(e))return[3,6];return[4,this.removeKeepLevelAsync(e)];case 5:t.sent(),e.report.engine.keepFirstDetailTogetherList.set(e,null),t.label=6;case 6:return[2]}})})},F.prototype.removeKeepDetails=function(t){this.allowKeepDetails(t)&&t.keepDetails==l.KeepDetailsTogether&&this.removeKeepLevel(t),null!=t.masterComponent&&null!=t.report.engine.keepFirstDetailTogetherList.get(t.masterComponent)&&(this.removeKeepLevel(t),t.report.engine.keepFirstDetailTogetherList.set(t.masterComponent,null)),null!=t.report.engine.keepFirstDetailTogetherList.get(t)&&(this.removeKeepLevel(t),t.report.engine.keepFirstDetailTogetherList.set(t,null))},F.prototype.removeKeepDetailsRowAsync=function(r){return __awaiter(this,void 0,void 0,function(){var e;return __generator(this,function(t){switch(t.label){case 0:if(0==r.dataBandInfo.detailDataBands.count)return[2];e=r,t.label=1;case 1:if(null==e||null==e.masterComponent)return[3,4];if(null==(e=e.masterComponent.as(O.Report.Components.StiDataBand))||e.keepDetails!=l.KeepFirstRowTogether||null==r.report.engine.keepFirstDetailTogetherList.get(e))return[3,3];return[4,this.removeKeepLevelAsync(e)];case 2:t.sent(),r.report.engine.keepFirstDetailTogetherList.set(e,null),t.label=3;case 3:return[3,1];case 4:return[2]}})})},F.prototype.removeKeepDetailsRow=function(t){if(0==t.dataBandInfo.detailDataBands.count)return;var e=t;while(null!=e&&null!=e.masterComponent)null!=(e=e.masterComponent.as(O.Report.Components.StiDataBand))&&e.keepDetails==l.KeepFirstRowTogether&&null!=t.report.engine.keepFirstDetailTogetherList.get(e)&&(this.removeKeepLevel(e),t.report.engine.keepFirstDetailTogetherList.set(e,null))},F.prototype.startBands=function(t,e){var r,n;try{for(var i=__values(e.list),o=i.next();!o.done;o=i.next()){var a=o.value;this.startBand(t,a)}}catch(t){r={error:t}}finally{try{o&&!o.done&&(n=i.return)&&n.call(i)}finally{if(r)throw r.error}}},F.prototype.startBand=function(t,e){var r=e.as(u);null!=r&&r.printOnAllPages&&t.report.engine.bandsOnAllPages.add(t,e)},F.prototype.endBands=function(t){t.report.engine.bandsOnAllPages.remove(t)},F.prototype.getGroupHeaderResult=function(t,e){var r,n,i=0;try{for(var o=__values(t.dataBandInfo.groupHeaders.list),a=o.next(),s;!a.done;a=o.next()){if(a.value==e)return t.dataBandInfo.groupHeaderResults[i];i++}}catch(t){r={error:t}}finally{try{a&&!a.done&&(n=o.return)&&n.call(o)}finally{if(r)throw r.error}}return!1},F.prototype.getGroupFooterResult=function(t,e){var r,n,i=0;try{for(var o=__values(t.dataBandInfo.groupHeaders.list),a=o.next(),s;!a.done;a=o.next()){if(a.value==e)return t.dataBandInfo.groupFooterResults[i];i++}}catch(t){r={error:t}}finally{try{a&&!a.done&&(n=o.return)&&n.call(o)}finally{if(r)throw r.error}}return!1},F.prototype.linkGroupHeadersAndGroupFooters=function(t){var e,r;try{for(var n=__values(t.dataBandInfo.groupHeaders.list),i=n.next(),o;!i.done;i=n.next()){i.value.groupHeaderBandInfo.groupFooter=null}}catch(t){e={error:t}}finally{try{i&&!i.done&&(r=n.return)&&r.call(n)}finally{if(e)throw e.error}}for(var a=0;a<t.dataBandInfo.groupFooters.count;a++){var s=t.dataBandInfo.groupHeaders.count-a-1;0<=s?(t.dataBandInfo.groupFooters.getByIndex(a).groupFooterBandInfo.groupHeader=t.dataBandInfo.groupHeaders.getByIndex(s),t.dataBandInfo.groupHeaders.getByIndex(s).groupHeaderBandInfo.groupFooter=t.dataBandInfo.groupFooters.getByIndex(a)):t.dataBandInfo.groupFooters.getByIndex(a).groupFooterBandInfo.groupHeader=null}},F.prototype.resetLinkGroupHeadersAndGroupFooters=function(t){var e,r,n,i;if(null!=t.dataBandInfo.groupHeaders)try{for(var o=__values(t.dataBandInfo.groupHeaders.list),a=o.next(),s;!a.done;a=o.next()){(s=a.value).groupHeaderBandInfo.groupFooter=null}}catch(t){e={error:t}}finally{try{a&&!a.done&&(r=o.return)&&r.call(o)}finally{if(e)throw e.error}}if(null!=t.dataBandInfo.groupFooters)try{for(var l=__values(t.dataBandInfo.groupFooters.list),u=l.next(),s;!u.done;u=l.next()){(s=u.value).groupFooterBandInfo.groupHeader=null}}catch(t){n={error:t}}finally{try{u&&!u.done&&(i=l.return)&&i.call(l)}finally{if(n)throw n.error}}},F.prepareGroupResults=function(t){var e,r,n=0,i=t.position,o=t.count;null==t.dataBandInfo.groupHeaderCachedResults&&(t.dataBandInfo.groupHeaderCachedResults=[],t.dataBandInfo.groupFooterCachedResults=[]);var a=!1;null==t.dataBandInfo.groupHeaderCachedResults[i]&&(t.dataBandInfo.groupHeaderCachedResults[i]=[],t.dataBandInfo.groupFooterCachedResults[i]=[],a=!a);try{for(var s=__values(t.dataBandInfo.groupHeaders.list),l=s.next();!l.done;l=s.next()){var u=l.value,c,p,h,c,p,m,p,h,m,p;0<i?a?(p=(t.isBusinessObjectEmpty?(t.position=i-1,c=S.StiGroupHeaderBandBuilder.getCurrentConditionValue(u),t.position=i):((h=t.businessObject).setPrevValue(),c=S.StiGroupHeaderBandBuilder.getCurrentConditionValue(u),h.restoreCurrentValue()),S.StiGroupHeaderBandBuilder.getCurrentConditionValue(u)),t.dataBandInfo.groupHeaderResults[n]=c&&c instanceof b&&p&&p instanceof b?0!=b.compare(c,p):c!=p,t.dataBandInfo.groupHeaderCachedResults[i][n]=t.dataBandInfo.groupHeaderResults[n]):t.dataBandInfo.groupHeaderResults[n]=t.dataBandInfo.groupHeaderCachedResults[i][n]:t.dataBandInfo.groupHeaderResults[n]=!0,i<o-1?a?(p=(t.isBusinessObjectEmpty?(t.position=i+1,m=S.StiGroupHeaderBandBuilder.getCurrentConditionValue(u),t.position=i):((h=t.businessObject).setNextValue(),m=S.StiGroupHeaderBandBuilder.getCurrentConditionValue(u),h.restoreCurrentValue()),S.StiGroupHeaderBandBuilder.getCurrentConditionValue(u)),t.dataBandInfo.groupFooterResults[n]=m&&m instanceof b&&p&&p instanceof b?0!=b.compare(m,p):m!=p,t.dataBandInfo.groupFooterCachedResults[i][n]=t.dataBandInfo.groupFooterResults[n]):t.dataBandInfo.groupFooterResults[n]=t.dataBandInfo.groupFooterCachedResults[i][n]:t.dataBandInfo.groupFooterResults[n]=!0,n++}}catch(t){e={error:t}}finally{try{l&&!l.done&&(r=s.return)&&r.call(s)}finally{if(e)throw e.error}}for(var d=0;d<t.dataBandInfo.groupHeaderResults.length;d++)if(t.dataBandInfo.groupHeaderResults[d]){for(var g=d+1;g<t.dataBandInfo.groupHeaderResults.length;g++)t.dataBandInfo.groupHeaderResults[g]=!0;break}for(var f=0;f<t.dataBandInfo.groupFooterResults.length;f++)if(t.dataBandInfo.groupFooterResults[f]){for(var g=f+1;g<t.dataBandInfo.groupFooterResults.length;g++)t.dataBandInfo.groupFooterResults[g]=!0;break}},F.prototype.renderGroupHeadersAsync=function(c){return __awaiter(this,void 0,void 0,function(){var e,r,n,i,o,o,a,s,l,l,u;return __generator(this,function(t){switch(t.label){case 0:c.parentBookmark=c.dataBandInfo.storedParentBookmark,e=!1,r=0,t.label=1;case 1:t.trys.push([1,11,12,13]),n=__values(c.dataBandInfo.groupHeaders.toCast()),i=n.next(),t.label=2;case 2:if(i.done)return[3,10];if(o=i.value,(o=o).parentBookmark=c.parentBookmark,o.doBookmark(),o.parentBookmark!=o.currentBookmark&&(c.parentBookmark=o.currentBookmark),!c.dataBandInfo.groupHeaderResults[r])return[3,8];for(a=r+1;a<c.dataBandInfo.groupHeaders.count;a++)c.report.engine.removeBandFromPageBreakSkipList(c.dataBandInfo.groupHeaders.getByIndex(a).as(x));if(null!=c.report&&(s=c.report).cacheTotals&&null!=s.cachedTotals&&s.cachedTotals.set(o,null),o.groupHeaderBandInfo.skipKeepGroups=c.report.engine.isFirstDataBandOnPage&&c.componentType==p.Master&&1==o.line,o.groupHeaderBandInfo.skipKeepGroups||!o.keepGroupTogether)return[3,4];return[4,this.addKeepLevelAsync(c)];case 3:t.sent(),t.label=4;case 4:if(!o.keepGroupHeaderTogether)return[3,6];return[4,this.addKeepLevelAsync(c)];case 5:t.sent(),t.label=6;case 6:return c.line=1,o.invokeBeginRender(),o.collapsingIndex=o.line,o.report.groupLine=o.line,F.invokeCollapsedEvent(o),[4,this.renderBandAsync(c,o)];case 7:t.sent(),F.isCollapsed(o,e=!0)&&(o.groupHeaderBandInfo.oldSilentMode=c.report.engine.silentMode,c.report.engine.silentMode=!0,o.groupHeaderBandInfo.silentModeEnabled=!0),t.label=8;case 8:r++,t.label=9;case 9:return i=n.next(),[3,2];case 10:return[3,13];case 11:return l=t.sent(),l={error:l},[3,13];case 12:try{i&&!i.done&&(u=n.return)&&u.call(n)}finally{if(l)throw l.error}return[7];case 13:if(!e)return[3,15];return[4,this.renderColumnsAsync(c)];case 14:t.sent(),t.label=15;case 15:return[2]}})})},F.prototype.renderGroupHeaders=function(t){var e,r;t.parentBookmark=t.dataBandInfo.storedParentBookmark;var n=!1,i=0;try{for(var o=__values(t.dataBandInfo.groupHeaders.toCast()),a=o.next();!a.done;a=o.next()){var s,l=a.value;if(l.parentBookmark=t.parentBookmark,l.doBookmark(),l.parentBookmark!=l.currentBookmark&&(t.parentBookmark=l.currentBookmark),t.dataBandInfo.groupHeaderResults[i]){for(var u=i+1,c;u<t.dataBandInfo.groupHeaders.count;u++)t.report.engine.removeBandFromPageBreakSkipList(t.dataBandInfo.groupHeaders.getByIndex(u).as(x));null==t.report||(c=t.report).cacheTotals&&null!=c.cachedTotals&&c.cachedTotals.set(l,null),l.groupHeaderBandInfo.skipKeepGroups=t.report.engine.isFirstDataBandOnPage&&t.componentType==p.Master&&1==l.line,!l.groupHeaderBandInfo.skipKeepGroups&&l.keepGroupTogether&&this.addKeepLevel(t),l.keepGroupHeaderTogether&&this.addKeepLevel(t),t.line=1,l.invokeBeginRender(),l.collapsingIndex=l.line,l.report.groupLine=l.line,F.invokeCollapsedEvent(l),this.renderBand(t,l),F.isCollapsed(l,n=!0)&&(l.groupHeaderBandInfo.oldSilentMode=t.report.engine.silentMode,t.report.engine.silentMode=!0,l.groupHeaderBandInfo.silentModeEnabled=!0)}i++}}catch(t){e={error:t}}finally{try{a&&!a.done&&(r=o.return)&&r.call(o)}finally{if(e)throw e.error}}n&&this.renderColumns(t)},F.prototype.renderGroupFootersAsync=function(o){return __awaiter(this,void 0,void 0,function(){var e,r,n,i;return __generator(this,function(t){switch(t.label){case 0:e=o.dataBandInfo.groupHeaders.count-1,t.label=1;case 1:if(!(0<=e))return[3,10];if(!o.dataBandInfo.groupFooterResults[e])return[3,9];if((r=o.dataBandInfo.groupHeaders.getByIndex(e)).invokeEndRender(),null==(n=r.groupHeaderBandInfo.groupFooter))return[3,6];if(!(i=n.keepGroupFooterTogether))return[3,3];return[4,this.addKeepLevelAtLatestDataBandAsync(o)];case 2:t.sent(),t.label=3;case 3:return r.groupHeaderBandInfo.silentModeEnabled&&r.interaction.is(C)&&!r.interaction.collapseGroupFooter&&(o.report.engine.silentMode=r.groupHeaderBandInfo.oldSilentMode,r.groupHeaderBandInfo.silentModeEnabled=!1),[4,this.renderBandAsync(o,n)];case 4:if(t.sent(),r.groupHeaderBandInfo.silentModeEnabled&&(o.report.engine.silentMode=r.groupHeaderBandInfo.oldSilentMode,r.groupHeaderBandInfo.silentModeEnabled=!1),!i)return[3,6];return[4,this.removeKeepLevelAsync(o)];case 5:t.sent(),t.label=6;case 6:if(r.invokeEndRender(),r.groupHeaderBandInfo.skipKeepGroups||!r.keepGroupTogether)return[3,8];return[4,this.removeKeepLevelAsync(o)];case 7:t.sent(),t.label=8;case 8:o.report.engine.printOnAllPagesIgnoreList.remove(r),r.line++,t.label=9;case 9:return e--,[3,1];case 10:return[2]}})})},F.prototype.renderGroupFooters=function(t){for(var e=t.dataBandInfo.groupHeaders.count-1,r,n,i;0<=e;e--){t.dataBandInfo.groupFooterResults[e]&&((r=t.dataBandInfo.groupHeaders.getByIndex(e)).invokeEndRender(),null!=(n=r.groupHeaderBandInfo.groupFooter)&&((i=n.keepGroupFooterTogether)&&this.addKeepLevelAtLatestDataBand(t),r.groupHeaderBandInfo.silentModeEnabled&&r.interaction.is(C)&&!r.interaction.collapseGroupFooter&&(t.report.engine.silentMode=r.groupHeaderBandInfo.oldSilentMode,r.groupHeaderBandInfo.silentModeEnabled=!1),this.renderBand(t,n),r.groupHeaderBandInfo.silentModeEnabled&&(t.report.engine.silentMode=r.groupHeaderBandInfo.oldSilentMode,r.groupHeaderBandInfo.silentModeEnabled=!1),i&&this.removeKeepLevel(t)),r.invokeEndRender(),!r.groupHeaderBandInfo.skipKeepGroups&&r.keepGroupTogether&&this.removeKeepLevel(t),t.report.engine.printOnAllPagesIgnoreList.remove(r),r.line++)}},F.setDetails=function(t){var e,r,n,i,o,a,s,l,u,c;if(!t.isDataSourceEmpty||!t.isBusinessObjectEmpty){var p=new G;if(null!=t.dataBandInfo.detailDataBands)try{for(var h=__values(t.dataBandInfo.detailDataBands.list),m=h.next();!m.done;m=h.next()){var d=m.value,g;t.report.engine.removeBandFromPageBreakSkipList(d.as(x)),P.setData(d,!1),d.is(O.Report.Components.StiDataBand)&&!d.isBusinessObjectEmpty&&(g=d.businessObject,p.set(g,g))}}catch(t){e={error:t}}finally{try{m&&!m.done&&(r=h.return)&&r.call(h)}finally{if(e)throw e.error}}if(!t.isBusinessObjectEmpty){var g=t.businessObject;try{for(var f=__values(g.businessObjects.list),S=f.next();!S.done;S=f.next()){var y=S.value;null==p.get(y)&&y.setDetails()}}catch(t){n={error:t}}finally{try{S&&!S.done&&(i=f.return)&&i.call(f)}finally{if(n)throw n.error}}}if(null!=t.dataBandInfo.subReports)try{for(var A=__values(t.dataBandInfo.subReports.list),b=A.next();!b.done;b=A.next()){var C=b.value;if(null!=C.subReportPage){var v=C.subReportPage.getComponents();try{for(var w=(s=void 0,__values(v.list)),B=w.next(),d,I,T;!B.done;B=w.next()){null!=(d=B.value)&&d.dataSource==t.dataSource||P.setData(d,!1)}}catch(t){s={error:t}}finally{try{B&&!B.done&&(l=w.return)&&l.call(w)}finally{if(s)throw s.error}}}}}catch(t){o={error:t}}finally{try{b&&!b.done&&(a=A.return)&&a.call(A)}finally{if(o)throw o.error}}if(null!=t.dataBandInfo.details)try{for(var E=__values(t.dataBandInfo.details.list),R=E.next();!R.done;R=E.next()){var D=R.value;P.setData(D,!1)}}catch(t){u={error:t}}finally{try{R&&!R.done&&(c=E.return)&&c.call(E)}finally{if(u)throw u.error}}}F.prepareGroupResults(t)},F.prototype.renderDetailDataBandsAsync=function(s){return __awaiter(this,void 0,void 0,function(){var e,r,n,i,o,o,a;return __generator(this,function(t){switch(t.label){case 0:if(!this.allowDetailDataBands(s))return[3,10];t.label=1;case 1:t.trys.push([1,8,9,10]),e=__values(s.dataBandInfo.detailDataBands.list),r=e.next(),t.label=2;case 2:if(r.done)return[3,7];if(!(n=r.value).enabled||!this.isAllow(s,n))return[3,6];if(n.parentBookmark=s.currentBookmark,null==(i=n.as(c)))return[3,4];return[4,i.renderMasterAsync()];case 3:return t.sent(),[3,6];case 4:return[4,n.renderAsync()];case 5:t.sent(),t.label=6;case 6:return r=e.next(),[3,2];case 7:return[3,10];case 8:return o=t.sent(),o={error:o},[3,10];case 9:try{r&&!r.done&&(a=e.return)&&a.call(e)}finally{if(o)throw o.error}return[7];case 10:return[2]}})})},F.prototype.renderDetailDataBands=function(t){var e,r;if(this.allowDetailDataBands(t))try{for(var n=__values(t.dataBandInfo.detailDataBands.list),i=n.next();!i.done;i=n.next()){var o=i.value,a;o.enabled&&this.isAllow(t,o)&&(o.parentBookmark=t.currentBookmark,null!=(a=o.as(c))?a.renderMaster():o.render())}}catch(t){e={error:t}}finally{try{i&&!i.done&&(r=n.return)&&r.call(n)}finally{if(e)throw e.error}}},F.prototype.getParentDataBand=function(t){var e=t.parent;while(null!=e&&!e.is(L)){if(e.is(O.Report.Components.StiDataBand))return e;if(e.is(O.Report.Components.StiChildBand)){var r=e.getMaster();if(r.is(_))return r}e=e.parent}return null},F.prototype.isAllow=function(t,e){if(null!=t.dataBandInfo.detailDataBandsFromSubReports&&null!=t.dataBandInfo.detailDataBandsFromSubReports.get(e))return!1;if(t.parent==e.parent)return!0;var t=this.getParentDataBand(t),r;return t!=this.getParentDataBand(e)||null==t},F.prototype.allowDetailDataBands=function(t){return 0<t.dataBandInfo.detailDataBands.count&&t.columns<2},F.prototype.isDenyDetailsOnFirstPage=function(t){return t.report.engine.isFirstDataBandOnPage&&t.componentType==p.Master&&1==t.line},F.isDetailDataSourcesEmpty=function(t){var e,r;if(null==t.dataBandInfo.detailDataBands||0==t.dataBandInfo.detailDataBands.count)return!1;try{for(var n=__values(t.dataBandInfo.detailDataBands.list),i=n.next();!i.done;i=n.next()){var o=i.value;if(o.is(h)&&!o.isEmpty)return!1;if(o.is(m)&&!o.isEmpty)return!1}}catch(t){e={error:t}}finally{try{i&&!i.done&&(r=n.return)&&r.call(n)}finally{if(e)throw e.error}}return!0},F.isPrintIfDetailEmpty=function(t){var e,r;if(t.printIfDetailEmpty)return!0;if(this.isDetailDataSourcesEmpty(t))return!1;var n=!1,i=!0;try{for(var o=__values(t.dataBandInfo.detailDataBands.toCast()),a=o.next();!a.done;a=o.next()){var s=a.value,i=!1;if(StiOptions.Engine.printIfDetailEmptyNesting){s.saveState("CheckPrintIfDetailEmpty"),s.first();while(!s.isEof){if(this.isPrintIfDetailEmpty(s)){n=!0;break}s.next()}s.restoreState("CheckPrintIfDetailEmpty")}else this.isPrintIfDetailEmpty(s)&&(n=!0);if(n)break}}catch(t){e={error:t}}finally{try{a&&!a.done&&(r=o.return)&&r.call(o)}finally{if(e)throw e.error}}return i||n},F.prototype.renderHeadersAsync=function(n,i){return __awaiter(this,void 0,void 0,function(){var e,r;return __generator(this,function(t){switch(t.label){case 0:e=0,t.label=1;case 1:if(!(e<n.dataBandInfo.headers.count))return[3,6];if(r=n.dataBandInfo.headers.getByIndex(e).as(s),n.isEmpty&&!r.printIfEmpty)return[3,5];if(n.isEmpty||!r.keepHeaderTogether)return[3,3];return[4,this.addKeepLevelAsync(n)];case 2:t.sent(),i[e]=!0,t.label=3;case 3:return[4,this.renderBandAsync(n,r)];case 4:t.sent(),t.label=5;case 5:return e++,[3,1];case 6:return[2]}})})},F.prototype.renderHeaders=function(t,e){for(var r=0;r<t.dataBandInfo.headers.count;r++){var n=t.dataBandInfo.headers.getByIndex(r).as(s);t.isEmpty&&!n.printIfEmpty||(!t.isEmpty&&n.keepHeaderTogether&&(this.addKeepLevel(t),e[r]=!0),this.renderBand(t,n))}},F.prototype.renderHierarchicalHeadersAsync=function(a,s,l){return __awaiter(this,void 0,void 0,function(){var e,r,n,i,i,o;return __generator(this,function(t){switch(t.label){case 0:if(null==a.dataBandInfo.hierarchicalHeaders)return[2];t.label=1;case 1:t.trys.push([1,8,9,10]),e=__values(a.dataBandInfo.hierarchicalHeaders.list),r=e.next(),t.label=2;case 2:if(r.done)return[3,7];if(n=r.value,a.isEmpty&&!n.printIfEmpty)return[3,6];if(a.isEmpty||!n.keepHeaderTogether)return[3,4];return[4,this.addKeepLevelAsync(a)];case 3:t.sent(),t.label=4;case 4:return s&&S.StiHierarchicalBandBuilder.createIndention(a,n,l),[4,this.renderBandAsync(a,n)];case 5:t.sent(),s&&S.StiHierarchicalBandBuilder.createIndention(a,n,-l),t.label=6;case 6:return r=e.next(),[3,2];case 7:return[3,10];case 8:return i=t.sent(),i={error:i},[3,10];case 9:try{r&&!r.done&&(o=e.return)&&o.call(e)}finally{if(i)throw i.error}return[7];case 10:return[2]}})})},F.prototype.renderHierarchicalHeaders=function(t,e,r){var n,i;if(null==t.dataBandInfo.hierarchicalHeaders)return;try{for(var o=__values(t.dataBandInfo.hierarchicalHeaders.list),a=o.next();!a.done;a=o.next()){var s=a.value;t.isEmpty&&!s.printIfEmpty||(!t.isEmpty&&s.keepHeaderTogether&&this.addKeepLevel(t),e&&S.StiHierarchicalBandBuilder.createIndention(t,s,r),this.renderBand(t,s),e&&S.StiHierarchicalBandBuilder.createIndention(t,s,-r))}}catch(t){n={error:t}}finally{try{a&&!a.done&&(i=o.return)&&i.call(o)}finally{if(n)throw n.error}}},F.prototype.addFooterMarkerAsync=function(e,r){return __awaiter(this,void 0,void 0,function(){return __generator(this,function(t){switch(t.label){case 0:return[4,e.report.engine.threads.selectThreadFromContainerAsync(e)];case 1:return t.sent(),e.report.engine.addFooterMarker(r),[2]}})})},F.prototype.addFooterMarker=function(t,e){t.report.engine.threads.selectThreadFromContainer(t),t.report.engine.addFooterMarker(e)},F.prototype.renderMarkerFootersOnAllPagesAsync=function(a){return __awaiter(this,void 0,void 0,function(){var e,r,n,i,i,o;return __generator(this,function(t){switch(t.label){case 0:t.trys.push([0,5,6,7]),e=__values(a.dataBandInfo.footersOnAllPages.list),r=e.next(),t.label=1;case 1:if(r.done)return[3,4];if(n=r.value,a.isEmpty&&!n.printIfEmpty)return[3,3];return[4,this.addFooterMarkerAsync(a,n)];case 2:t.sent(),t.label=3;case 3:return r=e.next(),[3,1];case 4:return[3,7];case 5:return i=t.sent(),i={error:i},[3,7];case 6:try{r&&!r.done&&(o=e.return)&&o.call(e)}finally{if(i)throw i.error}return[7];case 7:return[2]}})})},F.prototype.renderMarkerFootersOnAllPages=function(t){var e,r;try{for(var n=__values(t.dataBandInfo.footersOnAllPages.list),i=n.next();!i.done;i=n.next()){var o=i.value;t.isEmpty&&!o.printIfEmpty||this.addFooterMarker(t,o)}}catch(t){e={error:t}}finally{try{i&&!i.done&&(r=n.return)&&r.call(n)}finally{if(e)throw e.error}}},F.prototype.renderFootersOnLastPageAsync=function(s){return __awaiter(this,void 0,void 0,function(){var e,r,n,i,o,o,a;return __generator(this,function(t){switch(t.label){case 0:s.is(O.Report.Components.StiHierarchicalBand)&&(s.hierarchicalBandInfo.finalFooterCalculation=!0),t.label=1;case 1:t.trys.push([1,9,10,11]),e=__values(s.dataBandInfo.footersOnLastPage.list),r=e.next(),t.label=2;case 2:if(r.done)return[3,8];if(n=r.value,s.isEmpty&&!n.printIfEmpty)return[3,7];if(!(i=!s.isEmpty&&n.keepFooterTogether))return[3,4];return[4,this.addKeepLevelAtLatestDataBandAsync(s)];case 3:t.sent(),t.label=4;case 4:return[4,this.renderBandAsync(s,n)];case 5:if(t.sent(),!i)return[3,7];return[4,this.removeKeepLevelAsync(s)];case 6:t.sent(),t.label=7;case 7:return r=e.next(),[3,2];case 8:return[3,11];case 9:return o=t.sent(),o={error:o},[3,11];case 10:try{r&&!r.done&&(a=e.return)&&a.call(e)}finally{if(o)throw o.error}return[7];case 11:return s.is(O.Report.Components.StiHierarchicalBand)&&(s.hierarchicalBandInfo.finalFooterCalculation=!1),[2]}})})},F.prototype.renderFootersOnLastPage=function(t){var e,r;t.is(O.Report.Components.StiHierarchicalBand)&&(t.hierarchicalBandInfo.finalFooterCalculation=!0);try{for(var n=__values(t.dataBandInfo.footersOnLastPage.list),i=n.next();!i.done;i=n.next()){var o=i.value,a;t.isEmpty&&!o.printIfEmpty||((a=!t.isEmpty&&o.keepFooterTogether)&&this.addKeepLevelAtLatestDataBand(t),this.renderBand(t,o),a&&this.removeKeepLevel(t))}}catch(t){e={error:t}}finally{try{i&&!i.done&&(r=n.return)&&r.call(n)}finally{if(e)throw e.error}}t.is(O.Report.Components.StiHierarchicalBand)&&(t.hierarchicalBandInfo.finalFooterCalculation=!1)},F.prototype.renderFootersOnAllPagesAsync=function(a){return __awaiter(this,void 0,void 0,function(){var e,r,n,i,i,o;return __generator(this,function(t){switch(t.label){case 0:t.trys.push([0,5,6,7]),e=__values(a.dataBandInfo.footersOnAllPages.list),r=e.next(),t.label=1;case 1:if(r.done)return[3,4];if(n=r.value,a.isEmpty&&!n.printIfEmpty)return[3,3];return[4,this.renderBandAsync(a,n)];case 2:t.sent(),t.label=3;case 3:return r=e.next(),[3,1];case 4:return[3,7];case 5:return i=t.sent(),i={error:i},[3,7];case 6:try{r&&!r.done&&(o=e.return)&&o.call(e)}finally{if(i)throw i.error}return[7];case 7:return[2]}})})},F.prototype.renderFootersOnAllPages=function(t){var e,r;try{for(var n=__values(t.dataBandInfo.footersOnAllPages.list),i=n.next();!i.done;i=n.next()){var o=i.value;t.isEmpty&&!o.printIfEmpty||this.renderBand(t,o)}}catch(t){e={error:t}}finally{try{i&&!i.done&&(r=n.return)&&r.call(n)}finally{if(e)throw e.error}}},F.prototype.renderHierarchicalFootersAsync=function(s,l,u){return __awaiter(this,void 0,void 0,function(){var e,r,n,i,o,o,a;return __generator(this,function(t){switch(t.label){case 0:if(null==s.dataBandInfo.hierarchicalFooters)return[2];t.label=1;case 1:t.trys.push([1,9,10,11]),e=__values(s.dataBandInfo.hierarchicalFooters.list),r=e.next(),t.label=2;case 2:if(r.done)return[3,8];if(n=r.value,s.isEmpty&&!n.printIfEmpty)return[3,7];if(!(i=!s.isEmpty&&n.keepFooterTogether))return[3,4];return[4,this.addKeepLevelAtLatestDataBandAsync(s)];case 3:t.sent(),t.label=4;case 4:return l&&S.StiHierarchicalBandBuilder.createIndention(s,n,u),[4,this.renderBandAsync(s,n)];case 5:if(t.sent(),l&&S.StiHierarchicalBandBuilder.createIndention(s,n,-u),!i)return[3,7];return[4,this.removeKeepLevelAsync(s)];case 6:t.sent(),t.label=7;case 7:return r=e.next(),[3,2];case 8:return[3,11];case 9:return o=t.sent(),o={error:o},[3,11];case 10:try{r&&!r.done&&(a=e.return)&&a.call(e)}finally{if(o)throw o.error}return[7];case 11:return[2]}})})},F.prototype.renderHierarchicalFooters=function(t,e,r){var n,i;if(null==t.dataBandInfo.hierarchicalFooters)return;try{for(var o=__values(t.dataBandInfo.hierarchicalFooters.list),a=o.next();!a.done;a=o.next()){var s=a.value,l;t.isEmpty&&!s.printIfEmpty||((l=!t.isEmpty&&s.keepFooterTogether)&&this.addKeepLevelAtLatestDataBand(t),e&&S.StiHierarchicalBandBuilder.createIndention(t,s,r),this.renderBand(t,s),e&&S.StiHierarchicalBandBuilder.createIndention(t,s,-r),l&&this.removeKeepLevel(t))}}catch(t){n={error:t}}finally{try{a&&!a.done&&(i=o.return)&&i.call(o)}finally{if(n)throw n.error}}},F.prototype.renderReportTitlesAsync=function(a){return __awaiter(this,void 0,void 0,function(){var e,r,n,i,i,o;return __generator(this,function(t){switch(t.label){case 0:if(null==a.dataBandInfo.reportTitles)return[2];t.label=1;case 1:t.trys.push([1,6,7,8]),e=__values(a.dataBandInfo.reportTitles),r=e.next(),t.label=2;case 2:if(r.done)return[3,5];if(n=r.value,a.isEmpty&&!n.printIfEmpty)return[3,4];return[4,this.renderBandAsync(a,n)];case 3:t.sent(),t.label=4;case 4:return r=e.next(),[3,2];case 5:return[3,8];case 6:return i=t.sent(),i={error:i},[3,8];case 7:try{r&&!r.done&&(o=e.return)&&o.call(e)}finally{if(i)throw i.error}return[7];case 8:return[2]}})})},F.prototype.renderReportTitles=function(t){var e,r;if(null==t.dataBandInfo.reportTitles)return;try{for(var n=__values(t.dataBandInfo.reportTitles),i=n.next();!i.done;i=n.next()){var o=i.value;t.isEmpty&&!o.printIfEmpty||this.renderBand(t,o)}}catch(t){e={error:t}}finally{try{i&&!i.done&&(r=n.return)&&r.call(n)}finally{if(e)throw e.error}}},F.prototype.renderReportSummariesAsync=function(s){return __awaiter(this,void 0,void 0,function(){var e,r,n,i,o,o,a;return __generator(this,function(t){switch(t.label){case 0:if(null==s.dataBandInfo.reportSummaries)return[2];t.label=1;case 1:t.trys.push([1,9,10,11]),e=__values(s.dataBandInfo.reportSummaries),r=e.next(),t.label=2;case 2:if(r.done)return[3,8];if(n=r.value,s.isEmpty&&!n.printIfEmpty)return[3,7];if(!(i=!s.isEmpty&&n.keepReportSummaryTogether))return[3,4];return[4,this.addKeepLevelAtLatestDataBandAsync(s)];case 3:t.sent(),t.label=4;case 4:return[4,this.renderBandAsync(s,n)];case 5:if(t.sent(),!i)return[3,7];return[4,this.removeKeepLevelAsync(s)];case 6:t.sent(),t.label=7;case 7:return r=e.next(),[3,2];case 8:return[3,11];case 9:return o=t.sent(),o={error:o},[3,11];case 10:try{r&&!r.done&&(a=e.return)&&a.call(e)}finally{if(o)throw o.error}return[7];case 11:return[2]}})})},F.prototype.renderReportSummaries=function(t){var e,r;if(null==t.dataBandInfo.reportSummaries)return;try{for(var n=__values(t.dataBandInfo.reportSummaries),i=n.next();!i.done;i=n.next()){var o=i.value,a;t.isEmpty&&!o.printIfEmpty||((a=!t.isEmpty&&o.keepReportSummaryTogether)&&this.addKeepLevelAtLatestDataBand(t),this.renderBand(t,o),a&&this.removeKeepLevel(t))}}catch(t){e={error:t}}finally{try{i&&!i.done&&(r=n.return)&&r.call(n)}finally{if(e)throw e.error}}},F.prototype.checkKeepReportSummaryTogether=function(t){var e,r;if(null==t.dataBandInfo.reportSummaries)return!1;var n=!1;try{for(var i=__values(t.dataBandInfo.reportSummaries),o=i.next();!o.done;o=i.next()){var a=o.value;!t.isEmpty&&a.keepReportSummaryTogether&&(n=!0)}}catch(t){e={error:t}}finally{try{o&&!o.done&&(r=i.return)&&r.call(i)}finally{if(e)throw e.error}}return n},F.prototype.block=function(t){var e,r,n,i,o,a,s,l,u,c,p,h;try{for(var m=__values(t.dataBandInfo.groupHeaders.list),d=m.next(),g;!d.done;d=m.next()){(g=d.value).blocked=!0}}catch(t){e={error:t}}finally{try{d&&!d.done&&(r=m.return)&&r.call(m)}finally{if(e)throw e.error}}try{for(var f=__values(t.dataBandInfo.groupFooters.list),S=f.next(),g;!S.done;S=f.next()){(g=S.value).blocked=!0}}catch(t){n={error:t}}finally{try{S&&!S.done&&(i=f.return)&&i.call(f)}finally{if(n)throw n.error}}try{for(var y=__values(t.dataBandInfo.headers.list),A=y.next(),g;!A.done;A=y.next()){(g=A.value).blocked=!0}}catch(t){o={error:t}}finally{try{A&&!A.done&&(a=y.return)&&a.call(y)}finally{if(o)throw o.error}}try{for(var b=__values(t.dataBandInfo.footersOnAllPages.list),C=b.next(),g;!C.done;C=b.next()){(g=C.value).blocked=!0}}catch(t){s={error:t}}finally{try{C&&!C.done&&(l=b.return)&&l.call(b)}finally{if(s)throw s.error}}try{for(var v=__values(t.dataBandInfo.footersOnLastPage.list),w=v.next(),g;!w.done;w=v.next()){(g=w.value).blocked=!0}}catch(t){u={error:t}}finally{try{w&&!w.done&&(c=v.return)&&c.call(v)}finally{if(u)throw u.error}}if(null!=t.dataBandInfo.reportSummaries)try{for(var B=__values(t.dataBandInfo.reportSummaries),I=B.next(),g;!I.done;I=B.next()){(g=I.value).blocked=!0}}catch(t){p={error:t}}finally{try{I&&!I.done&&(h=B.return)&&h.call(B)}finally{if(p)throw p.error}}t.blocked=!0},F.prototype.unBlock=function(t){var e,r,n,i,o,a,s,l,u,c;try{for(var p=__values(t.dataBandInfo.groupHeaders.list),h=p.next(),m;!h.done;h=p.next()){(m=h.value).blocked=!1}}catch(t){e={error:t}}finally{try{h&&!h.done&&(r=p.return)&&r.call(p)}finally{if(e)throw e.error}}try{for(var d=__values(t.dataBandInfo.groupFooters.list),g=d.next(),m;!g.done;g=d.next()){(m=g.value).blocked=!1}}catch(t){n={error:t}}finally{try{g&&!g.done&&(i=d.return)&&i.call(d)}finally{if(n)throw n.error}}try{for(var f=__values(t.dataBandInfo.headers.list),S=f.next(),m;!S.done;S=f.next()){(m=S.value).blocked=!1}}catch(t){o={error:t}}finally{try{S&&!S.done&&(a=f.return)&&a.call(f)}finally{if(o)throw o.error}}try{for(var y=__values(t.dataBandInfo.footersOnAllPages.list),A=y.next(),m;!A.done;A=y.next()){(m=A.value).blocked=!1}}catch(t){s={error:t}}finally{try{A&&!A.done&&(l=y.return)&&l.call(y)}finally{if(s)throw s.error}}try{for(var b=__values(t.dataBandInfo.footersOnLastPage.list),C=b.next(),m;!C.done;C=b.next()){(m=C.value).blocked=!1}}catch(t){u={error:t}}finally{try{C&&!C.done&&(c=b.return)&&c.call(b)}finally{if(u)throw u.error}}t.blocked=!1},F.prototype.checkHierarchicalHeadersAsync=function(i){return __awaiter(this,void 0,void 0,function(){var e,r,r,n,r;return __generator(this,function(t){switch(t.label){case 0:if(!i.is(O.Report.Components.StiHierarchicalBand))return[3,10];if(r=e=0,i.isDataSourceEmpty||(e=i.dataSource.getLevel(),r=i.dataSource.position),i.isBusinessObjectEmpty||(e=i.businessObject.getLevel(),r=i.businessObject.position),0!=r)return[3,5];r=0,t.label=1;case 1:if(!(r<=e))return[3,4];return r!=e&&(i.hierarchicalBandInfo.specifiedLevel=r),[4,this.renderHierarchicalHeadersAsync(i,!0,r)];case 2:t.sent(),i.hierarchicalBandInfo.specifiedLevel=-1,t.label=3;case 3:return r++,[3,1];case 4:return[3,10];case 5:if(n=0,i.isDataSourceEmpty||(i.dataSource.position--,n=i.dataSource.getLevel(),i.dataSource.position++),i.isBusinessObjectEmpty||(i.businessObject.setPrevValue(),n=i.businessObject.getLevel(),i.businessObject.restoreCurrentValue()),!(n<e))return[3,10];r=e,t.label=6;case 6:if(!(n<r))return[3,9];return r!=e&&(i.hierarchicalBandInfo.specifiedLevel=r),[4,this.renderHierarchicalHeadersAsync(i,!0,r)];case 7:t.sent(),i.hierarchicalBandInfo.specifiedLevel=-1,t.label=8;case 8:return r--,[3,6];case 9:i.hierarchicalBandInfo.specifiedLevel=-1,t.label=10;case 10:return[2]}})})},F.prototype.checkHierarchicalHeaders=function(t){if(t.is(O.Report.Components.StiHierarchicalBand)){var e=0,r=0;if(t.isDataSourceEmpty||(e=t.dataSource.getLevel(),r=t.dataSource.position),t.isBusinessObjectEmpty||(e=t.businessObject.getLevel(),r=t.businessObject.position),0==r)for(var n=0;n<=e;n++)n!=e&&(t.hierarchicalBandInfo.specifiedLevel=n),this.renderHierarchicalHeaders(t,!0,n),t.hierarchicalBandInfo.specifiedLevel=-1;else{var i=0;if(t.isDataSourceEmpty||(t.dataSource.position--,i=t.dataSource.getLevel(),t.dataSource.position++),t.isBusinessObjectEmpty||(t.businessObject.setPrevValue(),i=t.businessObject.getLevel(),t.businessObject.restoreCurrentValue()),i<e){for(var n=e;i<n;n--)n!=e&&(t.hierarchicalBandInfo.specifiedLevel=n),this.renderHierarchicalHeaders(t,!0,n),t.hierarchicalBandInfo.specifiedLevel=-1;t.hierarchicalBandInfo.specifiedLevel=-1}}}},F.prototype.checkHierarchicalFootersAsync=function(o){return __awaiter(this,void 0,void 0,function(){var e,r,n,r,i,r;return __generator(this,function(t){switch(t.label){case 0:if(!o.is(O.Report.Components.StiHierarchicalBand))return[3,10];if(n=r=e=0,o.isDataSourceEmpty||(e=o.dataSource.position,r=o.dataSource.count,n=o.dataSource.getLevel()),o.isBusinessObjectEmpty||(e=o.businessObject.position,r=o.businessObject.count,n=o.businessObject.getLevel()),e!=r-1)return[3,5];r=n,t.label=1;case 1:if(!(0<=r))return[3,4];return r!=n&&(o.hierarchicalBandInfo.specifiedLevel=r),[4,this.renderHierarchicalFootersAsync(o,!0,r)];case 2:t.sent(),t.label=3;case 3:return r--,[3,1];case 4:return o.hierarchicalBandInfo.specifiedLevel=-1,[3,10];case 5:if(i=0,o.isDataSourceEmpty||(o.dataSource.position++,i=o.dataSource.getLevel(),o.dataSource.position--),o.isBusinessObjectEmpty||(o.businessObject.setNextValue(),i=o.businessObject.getLevel(),o.businessObject.restoreCurrentValue()),!(i<n))return[3,10];r=n,t.label=6;case 6:if(!(i<r))return[3,9];return r!=n&&(o.hierarchicalBandInfo.specifiedLevel=r),[4,this.renderHierarchicalFootersAsync(o,!0,r)];case 7:t.sent(),t.label=8;case 8:return r--,[3,6];case 9:o.hierarchicalBandInfo.specifiedLevel=-1,t.label=10;case 10:return[2]}})})},F.prototype.checkHierarchicalFooters=function(t){if(t.is(O.Report.Components.StiHierarchicalBand)){var e=0,r=0,n=0;if(t.isDataSourceEmpty||(e=t.dataSource.position,r=t.dataSource.count,n=t.dataSource.getLevel()),t.isBusinessObjectEmpty||(e=t.businessObject.position,r=t.businessObject.count,n=t.businessObject.getLevel()),e==r-1){for(var i=n;0<=i;i--)i!=n&&(t.hierarchicalBandInfo.specifiedLevel=i),this.renderHierarchicalFooters(t,!0,i);t.hierarchicalBandInfo.specifiedLevel=-1}else{var o=0;if(t.isDataSourceEmpty||(t.dataSource.position++,o=t.dataSource.getLevel(),t.dataSource.position--),t.isBusinessObjectEmpty||(t.businessObject.setNextValue(),o=t.businessObject.getLevel(),t.businessObject.restoreCurrentValue()),o<n){for(var i=n;o<i;i--)i!=n&&(t.hierarchicalBandInfo.specifiedLevel=i),this.renderHierarchicalFooters(t,!0,i);t.hierarchicalBandInfo.specifiedLevel=-1}}}},F.prototype.renderBandAsync=function(e,r,n,i){return void 0===n&&(n=!1),void 0===i&&(i=!1),__awaiter(this,void 0,void 0,function(){return __generator(this,function(t){switch(t.label){case 0:return this.registerEmptyBands(e),r.is(a)||(r!=e&&(r.parentBookmark=e.parentBookmark),r.doBookmark()),[4,e.report.engine.threads.selectThreadFromContainerAsync(r)];case 1:if(t.sent(),null==e.report.engine.containerForRender)return[3,3];return[4,e.report.engine.renderBandAsync(r,n,i)];case 2:t.sent(),t.label=3;case 3:return[2]}})})},F.prototype.renderBand=function(t,e,r,n){void 0===r&&(r=!1),void 0===n&&(n=!1),this.registerEmptyBands(t),e.is(a)||(e!=t&&(e.parentBookmark=t.parentBookmark),e.doBookmark()),t.report.engine.threads.selectThreadFromContainer(e),null!=t.report.engine.containerForRender&&t.report.engine.renderBand(e,r,n)},F.prototype.renderColumnsAsync=function(e){return __awaiter(this,void 0,void 0,function(){return __generator(this,function(t){switch(t.label){case 0:return[4,e.report.engine.threads.selectThreadFromContainerAsync(e)];case 1:return t.sent(),[4,e.report.engine.columnsOnDataBand.renderColumnsAsync(e)];case 2:return t.sent(),[2]}})})},F.prototype.renderColumns=function(t){t.report.engine.threads.selectThreadFromContainer(t),t.report.engine.columnsOnDataBand.renderColumns(t)},F.prototype.registerEmptyBands=function(t){t.report.engine.emptyBands.register(t.dataBandInfo.emptyBands)},F.isCollapsed=function(t,e){if(null==t.interaction||t.interaction.is(C)&&!t.interaction.collapsingEnabled)return!1;var r="boolean"==typeof t.collapsedValue&&t.collapsedValue;if(null==t.report.interactionCollapsingStates)return r;var n=null;if(null!=t.collapsingTreePath&&(n=t.report.interactionCollapsingStates[t.collapsingTreePath+t.name]),null==n&&(n=t.report.interactionCollapsingStates[t.name]),null==n)return r;if(null==n[t.collapsingIndex])return r;if("boolean"!=typeof n[t.collapsingIndex])return r;return n[t.collapsingIndex].stimulsoft.toBoolean()},F.prototype.setReportVariables=function(t){var t=t;t.report.line=t.line,t.report.lineThrough=t.lineThrough},F.prototype.prepare=function(t){f.prototype.prepare.call(this,t);var t=t;this.findHeaders(t),this.findHierarchicalHeaders(t),this.findFooters(t),this.findHierarchicalFooters(t),this.findEmptyBands(t),this.findDetailDataBands(t),this.findDetails(t),this.findSubReports(t),this.findGroupHeaders(t),this.findGroupFooters(t),t.dataBandInfo.groupHeaderResults=new Array(t.dataBandInfo.groupHeaders.count),t.dataBandInfo.groupFooterResults=new Array(t.dataBandInfo.groupHeaders.count)},F.prototype.unPrepare=function(t){f.prototype.unPrepare.call(this,t);var t=t;t.dataBandInfo.headers=null,t.dataBandInfo.hierarchicalHeaders=null,t.dataBandInfo.footersOnAllPages=null,t.dataBandInfo.footersOnLastPage=null,t.dataBandInfo.hierarchicalFooters=null,t.dataBandInfo.emptyBands=null,t.dataBandInfo.footersOnLastPage=null,t.dataBandInfo.detailDataBands=null,t.dataBandInfo.subReports=null,t.dataBandInfo.reportTitles=null,t.dataBandInfo.reportSummaries=null,t.dataBandInfo.headers=null,t.dataBandInfo.groupHeaders=null,t.dataBandInfo.groupFooters=null},F.invokeCollapsedEvent=function(t){var e=new o,r,n,i;(t.is(a)||t.is(O.Report.Components.StiDataBand))&&(t.invokeGetCollapsed(e),t.collapsedValue=e.value),null!=e.value&&null==t.report.interactionCollapsingStates&&(t.report.interactionCollapsingStates={},r=new G,n=t.name,null!=(i=t.as(g))&&null!=i.collapsingTreePath&&(n=i.collapsingTreePath+t.name),(t.report.interactionCollapsingStates[n]=r).set(t.collapsingIndex,e.value))},F.prototype.renderAsync=function(t){return __awaiter(this,void 0,void 0,function(){return __generator(this,function(t){return[2,null]})})},F.prototype.render=function(t){return null},F.prototype.renderMasterAsync=function(f){return __awaiter(this,void 0,void 0,function(){var e,r,n,r,i,i,o,a,s,l,u,u,n,c,p,h,m,d,g;return __generator(this,function(t){switch(t.label){case 0:return e=f.report.engine.isCrossBandsMode,r=f.is(O.Report.Components.StiCrossDataBand),[4,f.report.engine.threads.selectThreadFromContainerAsync(f)];case 1:t.sent(),f.report.engine.isCrossBandsMode=r,f.dataBandInfo.storedParentBookmark=f.parentBookmark,f.report.engine.isDynamicBookmarksMode=!0,f.invokeBeginRender(),this.block(f),this.linkGroupHeadersAndGroupFooters(f),t.label=2;case 2:return t.trys.push([2,,36,37]),f.line=1,null==f.masterComponent&&(f.lineThrough=1),n=null==f.masterComponent||!StiOptions.Engine.optimizeDetailDataFiltering,null!=(r=null!=f.masterComponent?f.masterComponent.as(O.Report.Components.StiDataBand):null)&&r.isDataSourceEmpty&&r.isBusinessObjectEmpty&&(n=!0),n||(null==f.report.engine.hashDataSourceReferencesCounter?n=!0:(f.isDataSourceEmpty||null!=(i=f.report.engine.hashDataSourceReferencesCounter.get(f.dataSourceName))&&1<Math.trunc(i.stimulsoft.toNumber())&&(n=!0),f.isBusinessObjectEmpty||null!=(i=f.report.engine.hashDataSourceReferencesCounter.get(f.businessObject.name))&&1<Math.trunc(i.stimulsoft.toNumber())&&(n=!0))),n&&P.setData(f,!1),f.first(),f.report.engine.columnsOnDataBand.enabled=!1,[4,this.renderReportTitlesAsync(f)];case 3:return t.sent(),o=y.create(Boolean,f.dataBandInfo.headers.count),[4,this.renderHeadersAsync(f,o)];case 4:return t.sent(),[4,this.renderFootersOnAllPagesAsync(f)];case 5:if(t.sent(),this.startBands(f,f.dataBandInfo.headers),this.startBands(f,f.dataBandInfo.footersOnAllPages),this.startBands(f,f.dataBandInfo.groupHeaders),this.startBand(f,f),0!=f.dataBandInfo.groupHeaders.count)return[3,7];return[4,this.renderColumnsAsync(f)];case 6:t.sent(),t.label=7;case 7:null!=f.interaction&&f.interaction.is(C)&&0==f.dataBandInfo.detailDataBands.count&&!f.is(O.Report.Components.StiHierarchicalBand)&&(f.interaction.collapsingEnabled=!1),f.first(),a=0,s=f.report.engine.containerForRender,l=0;try{!A.isNullOrWhiteSpace(f.limitRows)&&f.columns<2&&(u={ref:!1},u=S.StiParser.StiParser.parseTextValue("{"+f.limitRows+"}",f,f,u,!0),l=O.System.Convert.toInt32(u))}catch(t){n=A.format("Expression in LimitRows property of '{0}' can't be evaluated! {1}",f.name,t.message),f.report.writeToReportRenderingMessages(n)}t.label=8;case 8:if(f.isEof)return[3,28];if(!(0<l))return[3,10];if(s!=f.report.engine.containerForRender&&(s=f.report.engine.containerForRender,a=1),!(l<++a))return[3,10];return[4,f.report.engine.newDestinationAsync()];case 9:t.sent(),a=1,t.label=10;case 10:if(f.collapsingIndex=f.position,null!=f.interaction&&f.interaction.collapsingEnabled){c=null,p=f;while(null!=p.masterComponent&&p.masterComponent.is(_))p=p.masterComponent,c=p.position.toString()+":"+c;null!=c&&(f.collapsingTreePath=c)}return f.columns<2&&(f.report.engine.columnsOnDataBand.enabled=!1),[4,this.renderGroupHeadersAsync(f)];case 11:if(t.sent(),h=this.isDenyDetailsOnFirstPage(f),m=this.isDenyDetailsOnFirstPage(f))return[3,13];return[4,this.addKeepDetailsAsync(f)];case 12:t.sent(),t.label=13;case 13:if(f.setReportVariables(),d=!1,!F.isPrintIfDetailEmpty(f))return[3,16];return F.invokeCollapsedEvent(f),[4,this.checkHierarchicalHeadersAsync(f)];case 14:return t.sent(),[4,this.renderBandAsync(f,f,!1,!0)];case 15:t.sent(),d=!0,t.label=16;case 16:if(!d)return[3,18];return[4,this.removeKeepHeadersAsync(f,o)];case 17:t.sent(),t.label=18;case 18:if(g=f.report.engine.silentMode,F.isCollapsed(f,!0)&&(f.report.engine.silentMode=!0),m)return[3,20];return[4,this.removeKeepDetailsRowAsync(f)];case 19:t.sent(),t.label=20;case 20:return[4,this.renderDetailDataBandsAsync(f)];case 21:if(t.sent(),f.report.engine.silentMode=g,!d)return[3,23];return[4,this.checkHierarchicalFootersAsync(f)];case 22:t.sent(),t.label=23;case 23:if(m)return[3,25];return[4,this.removeKeepDetailsAsync(f)];case 24:t.sent(),t.label=25;case 25:return[4,this.removeKeepGroupHeadersAsync(f)];case 26:return t.sent(),[4,this.renderGroupFootersAsync(f)];case 27:return t.sent(),f.line++,f.lineThrough++,f.next(),[3,8];case 28:return[4,f.report.engine.threads.selectThreadFromContainerAsync(f)];case 29:return t.sent(),[4,this.renderMarkerFootersOnAllPagesAsync(f)];case 30:return t.sent(),[4,this.renderFootersOnLastPageAsync(f)];case 31:if(t.sent(),!this.checkKeepReportSummaryTogether(f))return[3,33];return[4,this.renderReportSummariesAsync(f)];case 32:return t.sent(),this.endBands(f),[3,35];case 33:return this.endBands(f),[4,this.renderReportSummariesAsync(f)];case 34:t.sent(),t.label=35;case 35:return[3,37];case 36:return this.resetLinkGroupHeadersAndGroupFooters(f),this.unBlock(f),f.report.engine.isCrossBandsMode=e,f.report.engine.isDynamicBookmarksMode=!1,[7];case 37:return f.invokeEndRender(),[2]}})})},F.prototype.renderMaster=function(e){var t=e.report.engine.isCrossBandsMode,r=e.is(O.Report.Components.StiCrossDataBand);e.report.engine.threads.selectThreadFromContainer(e),e.report.engine.isCrossBandsMode=r,e.dataBandInfo.storedParentBookmark=e.parentBookmark,e.report.engine.isDynamicBookmarksMode=!0,e.invokeBeginRender(),this.block(e),this.linkGroupHeadersAndGroupFooters(e);try{e.line=1,null==e.masterComponent&&(e.lineThrough=1);var n=null==e.masterComponent||!StiOptions.Engine.optimizeDetailDataFiltering,i=null!=e.masterComponent?e.masterComponent.as(O.Report.Components.StiDataBand):null,o,o;null!=i&&i.isDataSourceEmpty&&i.isBusinessObjectEmpty&&(n=!0),n||(null==e.report.engine.hashDataSourceReferencesCounter?n=!0:(e.isDataSourceEmpty||null!=(o=e.report.engine.hashDataSourceReferencesCounter.get(e.dataSourceName))&&1<Math.trunc(o.stimulsoft.toNumber())&&(n=!0),e.isBusinessObjectEmpty||null!=(o=e.report.engine.hashDataSourceReferencesCounter.get(e.businessObject.name))&&1<Math.trunc(o.stimulsoft.toNumber())&&(n=!0))),n&&P.setData(e,!1),e.first(),e.report.engine.columnsOnDataBand.enabled=!1,this.renderReportTitles(e);var a=y.create(Boolean,e.dataBandInfo.headers.count);this.renderHeaders(e,a),this.renderFootersOnAllPages(e),this.startBands(e,e.dataBandInfo.headers),this.startBands(e,e.dataBandInfo.footersOnAllPages),this.startBands(e,e.dataBandInfo.groupHeaders),this.startBand(e,e),0==e.dataBandInfo.groupHeaders.count&&this.renderColumns(e),null!=e.interaction&&e.interaction.is(C)&&0==e.dataBandInfo.detailDataBands.count&&!e.is(O.Report.Components.StiHierarchicalBand)&&(e.interaction.collapsingEnabled=!1),e.first();var s=0,l=e.report.engine.containerForRender,u=0,c,c,u;try{!A.isNullOrWhiteSpace(e.limitRows)&&e.columns<2&&(c={ref:!1},c=S.StiParser.StiParser.parseTextValue("{"+e.limitRows+"}",e,e,c,!0),u=O.System.Convert.toInt32(c))}catch(t){var n=A.format("Expression in LimitRows property of '{0}' can't be evaluated! {1}",e.name,t.message);e.report.writeToReportRenderingMessages(n)}while(!e.isEof){if(0<u&&(l!=e.report.engine.containerForRender&&(l=e.report.engine.containerForRender,s=1),u<++s&&(e.report.engine.newDestination(),s=1)),e.collapsingIndex=e.position,null!=e.interaction&&e.interaction.collapsingEnabled){var p=null,h=e;while(null!=h.masterComponent&&h.masterComponent.is(_))p=(h=h.masterComponent).position.toString()+":"+p;null!=p&&(e.collapsingTreePath=p)}e.columns<2&&(e.report.engine.columnsOnDataBand.enabled=!1),this.renderGroupHeaders(e);var m=this.isDenyDetailsOnFirstPage(e),d=this.isDenyDetailsOnFirstPage(e);d||this.addKeepDetails(e),e.setReportVariables();var g=!1;F.isPrintIfDetailEmpty(e)&&(F.invokeCollapsedEvent(e),this.checkHierarchicalHeaders(e),this.renderBand(e,e,!1,!0),g=!0),g&&this.removeKeepHeaders(e,a);var f=e.report.engine.silentMode;F.isCollapsed(e,!0)&&(e.report.engine.silentMode=!0),d||this.removeKeepDetailsRow(e),this.renderDetailDataBands(e),e.report.engine.silentMode=f,g&&this.checkHierarchicalFooters(e),d||this.removeKeepDetails(e),this.removeKeepGroupHeaders(e),this.renderGroupFooters(e),e.line++,e.lineThrough++,e.next()}e.report.engine.threads.selectThreadFromContainer(e),this.renderMarkerFootersOnAllPages(e),this.renderFootersOnLastPage(e),this.checkKeepReportSummaryTogether(e)?(this.renderReportSummaries(e),this.endBands(e)):(this.endBands(e),this.renderReportSummaries(e))}finally{this.resetLinkGroupHeadersAndGroupFooters(e),this.unBlock(e),e.report.engine.isCrossBandsMode=t,e.report.engine.isDynamicBookmarksMode=!1}e.invokeEndRender()},e=F,S.StiDataBandBuilder=e}(Stimulsoft=Stimulsoft||{}),function(t){var e,r,n,t,i;function o(){return null!==i&&i.apply(this,arguments)||this}r=e=t.Report||(t.Report={}),t=n=r.Engine||(r.Engine={}),i=t.StiComponentBuilder,__extends(o,i),o.prototype.internalRenderAsync=function(s){return __awaiter(this,void 0,void 0,function(){var e,r,n,i,o,a;return __generator(this,function(t){e=s.clone();try{for(r=__values(e.scales.list),n=r.next();!n.done;n=r.next())(i=n.value).prepare(e)}catch(t){o={error:t}}finally{try{n&&!n.done&&(a=r.return)&&a.call(r)}finally{if(o)throw o.error}}return[2,e]})})},o.prototype.internalRender=function(t){var e,r,n=t.clone();try{for(var i=__values(n.scales.list),o=i.next(),a;!o.done;o=i.next()){o.value.prepare(n)}}catch(t){e={error:t}}finally{try{o&&!o.done&&(r=i.return)&&r.call(i)}finally{if(e)throw e.error}}return n},r=o,t.StiGaugeBuilder=r}(Stimulsoft=Stimulsoft||{}),function(t){var e,r,n,i,o,a;function s(){return null!==a&&a.apply(this,arguments)||this}r=e=t.Report||(t.Report={}),i=n=r.Engine||(r.Engine={}),o=t.Report.Components.StiDataBand,a=i.StiBandBuilder,__extends(s,a),s.getMaster=function(t){var e=t.parent.components.indexOf(t)-1;while(0<=e){if(t.parent.components.getByIndex(e).is(o))return t.parent.components.getByIndex(e);e--}return null},s.prototype.setReportVariables=function(t){var e;t.report.groupLine=t.line},r=s,i.StiGroupFooterBandBuilder=r}(Stimulsoft=Stimulsoft||{}),function(t){var e,r,n,i,o,a;function s(){return null!==a&&a.apply(this,arguments)||this}r=e=t.Report||(t.Report={}),i=n=r.Engine||(r.Engine={}),o=t.Report.Components.StiContainer,a=i.StiDataBandBuilder,__extends(s,a),s.prototype.internalRenderAsync=function(i){return __awaiter(this,void 0,void 0,function(){var e,r,n,n;return __generator(this,function(t){switch(t.label){case 0:if(e=i,this.isCollapsed(e))return[2,new o];return[4,a.prototype.internalRenderAsync.call(this,e)];case 1:return null!=(r=t.sent().as(o))&&(e.isDataSourceEmpty||e.dataSource.isEmpty||0<(n=e.dataSource.getLevel())&&s.createIndention(e,r,n),e.isBusinessObjectEmpty||e.businessObject.isEmpty||0<(n=e.businessObject.getLevel())&&s.createIndention(e,r,n)),[2,r]}})})},s.prototype.internalRender=function(t){var e=t;if(this.isCollapsed(e))return new o;var t=a.prototype.internalRender.call(this,e).as(o),r,r;return null!=t&&(e.isDataSourceEmpty||e.dataSource.isEmpty||0<(r=e.dataSource.getLevel())&&s.createIndention(e,t,r),e.isBusinessObjectEmpty||e.businessObject.isEmpty||0<(r=e.businessObject.getLevel())&&s.createIndention(e,t,r)),t},s.prototype.isCollapsed=function(t,e){void 0===e&&(e=!1);var r=t;if(0==r.collapsingIndex||0==r.position)return!1;var e=r.collapsingIndex,t=r.position,n=0,i=!r.isBusinessObjectEmpty,o=null;r.isDataSourceEmpty||(n=r.dataSource.getLevel()),i&&(n=r.businessObject.getLevel());try{if(i){var a=r.position,o=r.businessObject.current;r.position=0;var s=[];while(s.length<a&&!r.isEof)s.push(r.businessObject.current),r.next();while(1){if(0==r.collapsingIndex||0==a)return!1;if(r.collapsingIndex--,a--,r.businessObject.currentObject=s[a],n<=r.businessObject.getLevel())continue;if(this.isCollapsed(r,!1))return!0}}if(!r.isDataSourceEmpty)while(1){if(0==r.collapsingIndex||0==r.position)return!1;if(r.collapsingIndex--,r.position--,n<=r.dataSource.getLevel())continue;if(this.isCollapsed(r,!1))return!0}return!1}finally{i&&(r.businessObject.currentObject=o),r.collapsingIndex=e,r.position=t}},s.createIndention=function(t,e,r){var n,i,o=r*t.report.unit.convertFromHInches(t.indent);try{for(var a=__values(e.components.list),s=a.next();!s.done;s=a.next()){var l=s.value;if(l.locked)continue;l.left+=o}}catch(t){n={error:t}}finally{try{s&&!s.done&&(i=a.return)&&i.call(a)}finally{if(n)throw n.error}}},r=s,i.StiHierarchicalBandBuilder=r}(Stimulsoft=Stimulsoft||{}),function(t){var e,r,n,i,t,o;function a(){return null!==o&&o.apply(this,arguments)||this}r=e=t.Report||(t.Report={}),i=n=r.Engine||(r.Engine={}),o=i.StiComponentBuilder,__extends(a,o),a.prototype.internalRenderAsync=function(n){return __awaiter(this,void 0,void 0,function(){var e,r,e;return __generator(this,function(t){return(r=(e=n).clone(!1)).guid,null==r.image&&(r.guid=null),null==r.imageToDraw&&(e=e.getImageFromSource(),r.imageToDraw=e),r.invokeEvents(),[2,r]})})},a.prototype.internalRender=function(t){var e=t,t=e.clone(!1),e;return t.guid&&r.StiFileImageCache.remove(r.StiFileImageCache.getImageCacheName(e.report.imageCachePath,t.guid)),null==t.image&&(t.guid=null),null==t.imageToDraw&&(e=e.getImageFromSource(),t.imageToDraw=e),t.invokeEvents(),t},t=a,i.StiViewBuilder=t}(Stimulsoft=Stimulsoft||{}),function(t){var e,r,n,i,o,a;function s(){return null!==a&&a.apply(this,arguments)||this}r=e=t.Report||(t.Report={}),i=n=r.Engine||(r.Engine={}),o=t.Report.Components.StiImage,a=i.StiViewBuilder,__extends(s,a),s.prototype.internalRenderAsync=function(n){return __awaiter(this,void 0,void 0,function(){var e,e,r;return __generator(this,function(t){switch(t.label){case 0:return e=null!=n?n.as(o):null,[4,a.prototype.internalRenderAsync.call(this,e)];case 1:return e=t.sent(),[2,r=null!=e?e.as(o):null]}})})},s.prototype.internalRender=function(t){var t=null!=t?t.as(o):null,t=a.prototype.internalRender.call(this,t),e;return null!=t?t.as(o):null},r=s,i.StiImageBuilder=r}(Stimulsoft=Stimulsoft||{}),function(S){var t,e,r,n,y,i;function o(){return null!==i&&i.apply(this,arguments)||this}e=t=S.Report||(S.Report={}),n=r=e.Engine||(e.Engine={}),y=S.System.StiString,i=n.StiComponentBuilder,__extends(o,i),o.renderMap=function(t){var e,r,n=t.clone(),i=null;if(null!=t.dataSource?i=t.dataSourceName:null!=t.businessObject&&(i=t.businessObjectGuid),null!=i&&!y.isNullOrEmpty(t.keyDataColumn)){var o=S.Report.Dictionary.StiDataColumn.getDatasFromDataColumn(n.report.dictionary,i+"."+t.keyDataColumn);if(null==o)return n;var a=null,s=null,l=null,u=null;if(y.isNullOrEmpty(t.nameDataColumn)||(a=S.Report.Dictionary.StiDataColumn.getDatasFromDataColumn(n.report.dictionary,i+"."+t.nameDataColumn)),y.isNullOrEmpty(t.valueDataColumn)||(s=S.Report.Dictionary.StiDataColumn.getDatasFromDataColumn(n.report.dictionary,i+"."+t.valueDataColumn)),y.isNullOrEmpty(t.groupDataColumn)||(l=S.Report.Dictionary.StiDataColumn.getDatasFromDataColumn(n.report.dictionary,i+"."+t.groupDataColumn)),y.isNullOrEmpty(t.colorDataColumn)||(u=S.Report.Dictionary.StiDataColumn.getDatasFromDataColumn(n.report.dictionary,i+"."+t.colorDataColumn)),null==a&&null==s&&null==l&&null==u)return n;for(var c=n.getMapData(),p=function(t){var e=o[t].toString(),r=null,n,n,t;if(y.isNullOrEmpty(e)||(r=c.firstOrDefault(function(t){return t.key==e})),null==r)return"continue";null!=a&&0<a.length&&(n=a[t].toString(),y.isNullOrEmpty(n)?r.name=null:r.name=n),null!=s&&0<s.length&&(r.value=s[t]),null!=l&&0<l.length&&(n=l[t].toString(),y.isNullOrEmpty(n)?r.group=null:r.group=n),null!=u&&0<u.length&&(t=u[t].toString(),y.isNullOrEmpty(t)?r.color=null:r.color=t)},h=0;h<o.length;h++)p(h);var m=[];try{for(var d=__values(c),g=d.next();!g.done;g=d.next()){var f=g.value;m.push({Key:f.key,Value:f.value,Group:f.group,Color:f.color,Name:f.name})}}catch(t){e={error:t}}finally{try{g&&!g.done&&(r=d.return)&&r.call(d)}finally{if(e)throw e.error}}n.mapData=JSON.stringify(m)}return n},o.prototype.prepare=function(t){i.prototype.prepare.call(this,t),(t.height>t.page.height||t.height>t.parent.height)&&(t.height=Math.min(t.page.height,t.parent.height))},o.prototype.internalRenderAsync=function(e){return __awaiter(this,void 0,void 0,function(){var t;return __generator(this,function(t){return[2,o.renderMap(e)]})})},o.prototype.internalRender=function(t){var e;return o.renderMap(t)},e=o,n.StiMapBuilder=e}(Stimulsoft=Stimulsoft||{}),function(t){var e,r,n,i,l,u,c;function o(){return null!==c&&c.apply(this,arguments)||this}r=e=t.Report||(t.Report={}),i=n=r.Engine||(r.Engine={}),l=t.Report.Components.StiComponentsCollection,u=t.Report.Components.StiOverlayBand,c=i.StiContainerBuilder,__extends(o,c),o.prototype.prepare=function(t){var e,r,n=t;c.prototype.prepare.call(this,n),n.pageInfo.isReportTitlesRendered=!1,n.pageInfo.renderedCount=0,n.pageInfo.overlays=new l;try{for(var i=__values(n.components.list),o=i.next();!o.done;o=i.next()){var a,s=o.value.as(u);null!=s&&n.pageInfo.overlays.add(s)}}catch(t){e={error:t}}finally{try{o&&!o.done&&(r=i.return)&&r.call(i)}finally{if(e)throw e.error}}},o.prototype.unPrepare=function(t){c.prototype.unPrepare.call(this,t);var e;t.pageInfo.overlays=null},r=o,i.StiPageBuilder=r}(Stimulsoft=Stimulsoft||{}),function(t){var e,r,n,t,i;function o(){return null!==i&&i.apply(this,arguments)||this}r=e=t.Report||(t.Report={}),t=n=r.Engine||(r.Engine={}),i=t.StiComponentBuilder,__extends(o,i),o.prototype.internalRenderAsync=function(n){return __awaiter(this,void 0,void 0,function(){var e,r;return __generator(this,function(t){switch(t.label){case 0:return e=n,[4,i.prototype.internalRenderAsync.call(this,e)];case 1:return(r=t.sent()).storedColumn=e.report.column,[2,r]}})})},o.prototype.internalRender=function(t){var e=t,t=i.prototype.internalRender.call(this,e);return t.storedColumn=e.report.column,t},r=o,t.StiPointPrimitiveBuilder=r}(Stimulsoft=Stimulsoft||{}),function(t){var e,a,r,at,st,lt,t;function n(){}a=e=t.Report||(t.Report={}),at=r=a.Engine||(a.Engine={}),st=t.System.StiArray,lt=t.System.Collections.Hashtable,n.renderSingleReportAsync=function(i,o){return __awaiter(this,void 0,void 0,function(){var e,r,n;return __generator(this,function(t){switch(t.label){case 0:e=i.engine,(r=null)!=e&&(r=i.engine.report),t.label=1;case 1:return t.trys.push([1,3,4,5]),i.indexName=1,a.StiLogService.write(i.stimulsoft.getType(),"Rendering report"),null!=e?(i.engine=e,i.engine.report=i):i.engine=new at.StiEngine(i),i.isRendering=!0,[4,at.StiRenderProvider.renderAsync(i,o)];case 2:return t.sent(),[3,5];case 3:if(n=t.sent(),a.StiLogService.write(i.stimulsoft.getType(),"Rendering report...ERROR"),a.StiLogService.write(i.stimulsoft.getType(),n),!StiOptions.Engine.hideExceptions)throw n;return[3,5];case 4:return i.isRendering=!1,null==e?i.engine=null:e.report=r,[7];case 5:return[2]}})})},n.renderSingleReport=function(e,t){var r=e.engine,n=null;null!=r&&(n=e.engine.report);try{e.indexName=1,a.StiLogService.write(e.stimulsoft.getType(),"Rendering report"),null!=r?(e.engine=r,e.engine.report=e):e.engine=new at.StiEngine(e),e.isRendering=!0,at.StiRenderProvider.render(e,t)}catch(t){if(a.StiLogService.write(e.stimulsoft.getType(),"Rendering report...ERROR"),a.StiLogService.write(e.stimulsoft.getType(),t),!StiOptions.Engine.hideExceptions)throw t}finally{e.isRendering=!1,null==r?e.engine=null:r.report=n}},n.renderSubReportsAsync=function(it,ot){return __awaiter(this,void 0,void 0,function(){var e,r,n,i,o,n,a,s,n,l,u,c,p,h,m,d,g,n,f,S,y,A,b,C,v,w,B,I,T,E,R,D,P,x,F,n,y,N,k,n,M,O,D,_,j,D,G,H,Q,L,Y,U,P,J,W,V,z,X,K,Z,q,$,tt,et,rt,nt;return __generator(this,function(t){switch(t.label){case 0:it.renderedPages.clear();try{for(e=__values(it.subReports.list),r=e.next();!r.done;r=e.next())n=r.value}catch(t){G={error:t}}finally{try{r&&!r.done&&(H=e.return)&&H.call(e)}finally{if(G)throw G.error}}try{for(i=__values(it.subReports.list),o=i.next();!o.done;o=i.next())n=o.value}catch(t){Q={error:t}}finally{try{o&&!o.done&&(L=i.return)&&L.call(i)}finally{if(Q)throw Q.error}}try{for(a=__values(it.subReports.list),s=a.next();!s.done;s=a.next())(n=s.value).renderedPages=it.renderedPages}catch(t){Y={error:t}}finally{try{s&&!s.done&&(U=a.return)&&U.call(a)}finally{if(Y)throw Y.error}}if(l=new lt,it.isStopped=!1,it.invokeBeginRender(),c=u=null,!(0<it.pages.getByIndex(0).getComponents().count))return[3,2];return u=new at.StiEngine(it),it.engine=u,it.currentPrintPage=0,it.subReportsMasterReport=it,null!=(c=it).compiledReport&&(c=it.compiledReport,(it.compiledReport.subReportsMasterReport=it).compiledReport.renderedPages.clear()),p=it.subReports,it.subReports=null,ot.isSubReportMode=!0,[4,it.renderAsync2()];case 1:return t.sent(),it.subReports=p,it.subReportsMasterReport=null,[3,3];case 2:u=new at.StiEngine(it),it.currentPrintPage=0,it.engine=u,null!=it.compiledReport&&(it.compiledReport.engine=u),t.label=3;case 3:null!=it.compiledReport&&(it.currentPrintPage=it.compiledReport.currentPrintPage),h=0,m=null,t.label=4;case 4:t.trys.push([4,12,13,14]),d=__values(it.subReports.list),g=d.next(),t.label=5;case 5:if(g.done)return[3,11];n=g.value,t.label=6;case 6:return t.trys.push([6,,8,9]),n.subReportsMasterReport=it,null!=n.compiledReport?(n.compiledReport.subReportsMasterReport=it,n.engine=u,n.compiledReport.engine=u,n.compiledReport.currentPrintPage=it.currentPrintPage):(n.engine=u,n.currentPrintPage=it.currentPrintPage),null!=m&&(n.pages.getByIndex(0).printOnPreviousPage=n.subReportsPrintOnPreviousPage,null!=n.compiledReport&&(n.compiledReport.pages.getByIndex(0).printOnPreviousPage=n.subReportsPrintOnPreviousPage)),null!=m&&(n.pages.getByIndex(0).resetPageNumber=n.subReportsResetPageNumber,null!=n.compiledReport&&(n.compiledReport.pages.getByIndex(0).resetPageNumber=n.subReportsResetPageNumber)),f=it.renderedPages.count,0<u.pageNumbers.pageNumbers.count&&(u.pageNumbers.pageNumbers.getByIndex(u.pageNumbers.pageNumbers.count-1).fixedPosition=!0),n.totals=new lt,[4,n.renderAsync2()];case 7:t.sent(),null!=n.compiledReport?it.currentPrintPage=n.compiledReport.currentPrintPage:it.currentPrintPage=n.currentPrintPage,S=new lt,null!=(y=n).compiledReport&&(y=n.compiledReport),A=st.create(Object,y.totals.keys.length),y.totals.keys.copyTo(A,0);try{for(W=void 0,b=__values(A),C=b.next();!C.done;C=b.next())if(v=C.value,null!=(w=y.totals.get(v))){B=[],S.set(v,B);try{for(z=void 0,I=__values(w),T=I.next();!T.done;T=I.next())E=T.value,B.push(E.clone())}catch(t){z={error:t}}finally{try{T&&!T.done&&(X=I.return)&&X.call(I)}finally{if(z)throw z.error}}}}catch(t){W={error:t}}finally{try{C&&!C.done&&(V=b.return)&&V.call(b)}finally{if(W)throw W.error}}if(l.set(h++,S),n.reportUnit!=it.reportUnit)for(R=f;R<it.renderedPages.count;R++)(D=it.renderedPages.getByIndex(R)).convert(n.unit,it.unit);return[3,9];case 8:return(n.subReportsMasterReport=null)!=n.compiledReport&&(n.compiledReport.subReportsMasterReport=null),[7];case 9:if(n.isStopped)return it.isStopped=n.isStopped,[3,11];it.bookmark.bookmarks.addRange(n.bookmark.bookmarks),m=n,t.label=10;case 10:return g=d.next(),[3,5];case 11:return[3,14];case 12:return P=t.sent(),P={error:P},[3,14];case 13:try{g&&!g.done&&(J=d.return)&&J.call(d)}finally{if(P)throw P.error}return[7];case 14:u.pageNumbers.processPageNumbers(),h=0;try{for(x=__values(it.subReports.list),F=x.next();!F.done;F=x.next())n=F.value,null!=(y=n).compiledReport&&(y=y.compiledReport),y.totals=l.get(h++),y.invokeEndRender()}catch(t){K={error:t}}finally{try{F&&!F.done&&(Z=x.return)&&Z.call(x)}finally{if(K)throw K.error}}try{for(N=__values(it.subReports.list),k=N.next();!k.done;k=N.next())(n=k.value).totals=null}catch(t){q={error:t}}finally{try{k&&!k.done&&($=N.return)&&$.call(N)}finally{if(q)throw q.error}}null!=c&&(c.engine=u,c.invokeEndRender(),c.engine=null),null!=c&&c==it||it.invokeEndRender();try{for(M=__values(it.renderedPages.list),O=M.next();!O.done;O=M.next())(D=O.value).report=null!=it.compiledReport?it.compiledReport:it}catch(t){tt={error:t}}finally{try{O&&!O.done&&(et=M.return)&&et.call(M)}finally{if(tt)throw tt.error}}if(it.engine=null,it.isRendered=!0,null!=it.compiledReport&&(it.compiledReport.engine=null,it.compiledReport.isRendered=!0),null!=it.parentReport&&(it.parentReport.engine=null,it.parentReport.isRendered=!0),at.StiPostProcessProvider.postProcessPages(it.renderedPages),null!=it&&null!=it.renderedPages)try{for(_=__values(it.renderedPages.list),j=_.next();!j.done;j=_.next())(D=j.value).report=it}catch(t){rt={error:t}}finally{try{j&&!j.done&&(nt=_.return)&&nt.call(_)}finally{if(rt)throw rt.error}}return ot.isSubReportMode=!1,it.invokeRefreshViewer(),[2]}})})},n.renderSubReports=function(t,e){var r,n,i,o,a,s,l,u,c,p,h,m,d,g,f,S,y,A,b,C;t.renderedPages.clear();try{for(var v=__values(t.subReports.list),w=v.next();!w.done;w=v.next())var B=w.value}catch(t){r={error:t}}finally{try{w&&!w.done&&(n=v.return)&&n.call(v)}finally{if(r)throw r.error}}try{for(var I=__values(t.subReports.list),T=I.next();!T.done;T=I.next())var B=T.value}catch(t){i={error:t}}finally{try{T&&!T.done&&(o=I.return)&&o.call(I)}finally{if(i)throw i.error}}try{for(var E=__values(t.subReports.list),R=E.next(),B;!R.done;R=E.next()){(B=R.value).renderedPages=t.renderedPages}}catch(t){a={error:t}}finally{try{R&&!R.done&&(s=E.return)&&s.call(E)}finally{if(a)throw a.error}}var D=new lt;t.isStopped=!1,t.invokeBeginRender();var P=null,x=null,F;0<t.pages.getByIndex(0).getComponents().count?(P=new at.StiEngine(t),t.engine=P,t.currentPrintPage=0,null!=(x=t.subReportsMasterReport=t).compiledReport&&(x=t.compiledReport,(t.compiledReport.subReportsMasterReport=t).compiledReport.renderedPages.clear()),F=t.subReports,t.subReports=null,e.isSubReportMode=!0,t.render(),t.subReports=F,t.subReportsMasterReport=null):(P=new at.StiEngine(t),t.currentPrintPage=0,t.engine=P,null!=t.compiledReport&&(t.compiledReport.engine=P)),null!=t.compiledReport&&(t.currentPrintPage=t.compiledReport.currentPrintPage);var N=0,k=null;try{for(var M=__values(t.subReports.list),O=M.next();!O.done;O=M.next()){var B=O.value;try{B.subReportsMasterReport=t,null!=B.compiledReport?(B.compiledReport.subReportsMasterReport=t,B.engine=P,B.compiledReport.engine=P,B.compiledReport.currentPrintPage=t.currentPrintPage):(B.engine=P,B.currentPrintPage=t.currentPrintPage),null!=k&&(B.pages.getByIndex(0).printOnPreviousPage=B.subReportsPrintOnPreviousPage,null!=B.compiledReport&&(B.compiledReport.pages.getByIndex(0).printOnPreviousPage=B.subReportsPrintOnPreviousPage)),null!=k&&(B.pages.getByIndex(0).resetPageNumber=B.subReportsResetPageNumber,null!=B.compiledReport&&(B.compiledReport.pages.getByIndex(0).resetPageNumber=B.subReportsResetPageNumber));var _=t.renderedPages.count;0<P.pageNumbers.pageNumbers.count&&(P.pageNumbers.pageNumbers.getByIndex(P.pageNumbers.pageNumbers.count-1).fixedPosition=!0),B.totals=new lt,B.render(),null!=B.compiledReport?t.currentPrintPage=B.compiledReport.currentPrintPage:t.currentPrintPage=B.currentPrintPage;var j=new lt,G;null!=(G=B).compiledReport&&(G=B.compiledReport);var H=st.create(Object,G.totals.keys.length);G.totals.keys.copyTo(H,0);try{for(var Q=(c=void 0,__values(H)),L=Q.next();!L.done;L=Q.next()){var Y=L.value,U=G.totals.get(Y);if(null!=U){var J=[];j.set(Y,J);try{for(var W=(h=void 0,__values(U)),V=W.next();!V.done;V=W.next()){var z=V.value;J.push(z.clone())}}catch(t){h={error:t}}finally{try{V&&!V.done&&(m=W.return)&&m.call(W)}finally{if(h)throw h.error}}}}}catch(t){c={error:t}}finally{try{L&&!L.done&&(p=Q.return)&&p.call(Q)}finally{if(c)throw c.error}}if(D.set(N++,j),B.reportUnit!=t.reportUnit)for(var X=_,K;X<t.renderedPages.count;X++){(K=t.renderedPages.getByIndex(X)).convert(B.unit,t.unit)}}finally{(B.subReportsMasterReport=null)!=B.compiledReport&&(B.compiledReport.subReportsMasterReport=null)}if(B.isStopped){t.isStopped=B.isStopped;break}t.bookmark.bookmarks.addRange(B.bookmark.bookmarks),k=B}}catch(t){l={error:t}}finally{try{O&&!O.done&&(u=M.return)&&u.call(M)}finally{if(l)throw l.error}}P.pageNumbers.processPageNumbers(),N=0;try{for(var Z=__values(t.subReports.list),q=Z.next(),B,G;!q.done;q=Z.next()){null!=(G=B=q.value).compiledReport&&(G=G.compiledReport),G.totals=D.get(N++),G.invokeEndRender()}}catch(t){d={error:t}}finally{try{q&&!q.done&&(g=Z.return)&&g.call(Z)}finally{if(d)throw d.error}}try{for(var $=__values(t.subReports.list),tt=$.next(),B;!tt.done;tt=$.next()){(B=tt.value).totals=null}}catch(t){f={error:t}}finally{try{tt&&!tt.done&&(S=$.return)&&S.call($)}finally{if(f)throw f.error}}null!=x&&(x.engine=P,x.invokeEndRender(),x.engine=null),null!=x&&x==t||t.invokeEndRender();try{for(var et=__values(t.renderedPages.list),rt=et.next(),K;!rt.done;rt=et.next()){(K=rt.value).report=null!=t.compiledReport?t.compiledReport:t}}catch(t){y={error:t}}finally{try{rt&&!rt.done&&(A=et.return)&&A.call(et)}finally{if(y)throw y.error}}if(t.engine=null,t.isRendered=!0,null!=t.compiledReport&&(t.compiledReport.engine=null,t.compiledReport.isRendered=!0),null!=t.parentReport&&(t.parentReport.engine=null,t.parentReport.isRendered=!0),at.StiPostProcessProvider.postProcessPages(t.renderedPages),null!=t&&null!=t.renderedPages)try{for(var nt=__values(t.renderedPages.list),it=nt.next(),K;!it.done;it=nt.next()){(K=it.value).report=t}}catch(t){b={error:t}}finally{try{it&&!it.done&&(C=nt.return)&&C.call(nt)}finally{if(b)throw b.error}}e.isSubReportMode=!1,t.invokeRefreshViewer()},t=n,at.StiReportBuilder=t}(Stimulsoft=Stimulsoft||{}),function(f){var t,S,e,r,y,A,b,C,v,w,B,I,T,E,R,n,i;function o(){return null!==i&&i.apply(this,arguments)||this}S=t=f.Report||(f.Report={}),r=e=S.Engine||(S.Engine={}),y=f.System.StiString,A=f.Report.Helpers.StiHyperlinkProcessor,b=f.Report.Components.StiColorScaleCondition,C=f.Report.Components.IStiIndicatorCondition,v=f.Report.Components.StiSimpleText,w=f.Report.Components.StiText,B=f.Report.Events.StiGetValueEventArgs,I=f.Report.Components.StiOverlayBand,T=f.Report.Events.StiGetExcelValueEventArgs,E=f.Report.Events.StiValueEventArgs,R=f.Report.Components.StiPage,i=r.StiComponentBuilder,__extends(o,i),o.prototype.prepare=function(t){i.prototype.prepare.call(this,t),StiOptions.Engine.allowResetValuesAtComponent&&(t.textValue=null)},o.prototype.internalRenderAsync=function(g){return __awaiter(this,void 0,void 0,function(){var e,r,n,i,o,a,o,a,s,l,u,l,c,p,h,s,c,p,h,m,d;return __generator(this,function(t){if(e=g.as(v),r=e.clone(!1,!0,!1),null!=e.conditions&&0<e.conditions.count&&r.is(w))try{for(n=__values(e.conditions.list),i=n.next();!i.done;i=n.next())if(o=i.value,null!=(a=o.stimulsoft.as(C))){if(o=null,a.stimulsoft.is(b)&&(o=e.brush),null!=(a=a.createIndicator(e.as(w)))){r.indicator=a;break}e.brush!=o&&(r.brush=e.brush,e.brush=o)}}catch(t){m={error:t}}finally{try{i&&!i.done&&(d=n.return)&&d.call(n)}finally{if(m)throw m.error}}if(s=new B,y.isNullOrEmpty(e.textValue)?(e.invokeGetValue(r,s),g.is(f.Report.Components.StiRichText)&&!y.isNullOrEmpty(s.value)&&A.isServerHyperlink(s.value)&&(s.value=f.Report.Components.StiRichText.notSupportedText),r.invokeEvents(),e.checkDuplicates(r,s),l=new E(s.value),r.invokeTextProcess(r,l),u=s.value,y.isNullOrEmpty(r.textValue)||(u=r.textValue),r.setTextInternal(e.processText(e.getTextWithoutZero(u))),e.invokeRenderTo(r)):(r.invokeEvents(),l=new E(e.textValue),r.invokeTextProcess(r,l),r.setTextInternal(e.getTextWithoutZero(l.value))),s.storeToPrinted){null==(c=e.report.totals.get(e.name))&&(c=[],e.report.totals.set(e.name,c)),(p=new S.StiRuntimeVariables(e.report)).pageIndex=e.report.renderedPages.count,p.textBox=r,c.push(p),e.report.totals.set("#%#"+e.name,e.text),h=g.parent;while(null!=h&&!h.is(R)&&!h.is(I))h=h.parent;null!=h&&h.is(I)&&(p.pageIndex++,p.currentPrintPage++)}if(e.is(w))if(y.isNullOrEmpty(e.excelDataValue)||"-"==e.excelDataValue){if(s=new T,e.invokeGetExcelValue(r,s),s.storeToPrinted){null==(c=e.report.totals.get(e.name+"Excel"))&&(c=[],e.report.totals.set(e.name+"Excel",c)),(p=new S.StiRuntimeVariables(e.report)).pageIndex=e.report.renderedPages.count,p.textBox=r,c.push(p),h=g.parent;while(null!=h&&!h.is(R)&&!h.is(I))h=h.parent;null!=h&&h.is(I)&&(p.pageIndex++,p.currentPrintPage++)}}else e.excelDataValue=e.excelDataValue;return[2,r]})})},o.prototype.internalRender=function(t){var e,r,n=t.as(v),i=n.clone(!1,!0,!1);if(null!=n.conditions&&0<n.conditions.count&&i.is(w))try{for(var o=__values(n.conditions.list),a=o.next();!a.done;a=o.next()){var s,l=a.value.stimulsoft.as(C);if(null!=l){var u=null;l.stimulsoft.is(b)&&(u=n.brush);var l=l.createIndicator(n.as(w));if(null!=l){i.indicator=l;break}n.brush!=u&&(i.brush=n.brush,n.brush=u)}}}catch(t){e={error:t}}finally{try{a&&!a.done&&(r=o.return)&&r.call(o)}finally{if(e)throw e.error}}var c=new B,p,h,p,m,d;if(y.isNullOrEmpty(n.textValue)?(n.invokeGetValue(i,c),t.is(f.Report.Components.StiRichText)&&!y.isNullOrEmpty(c.value)&&A.isServerHyperlink(c.value)&&(c.value=f.Report.Components.StiRichText.notSupportedText),i.invokeEvents(),n.checkDuplicates(i,c),p=new E(c.value),i.invokeTextProcess(i,p),h=c.value,y.isNullOrEmpty(i.textValue)||(h=i.textValue),i.setTextInternal(n.processText(n.getTextWithoutZero(h))),n.invokeRenderTo(i)):(i.invokeEvents(),p=new E(n.textValue),i.invokeTextProcess(i,p),i.setTextInternal(n.getTextWithoutZero(p.value))),c.storeToPrinted){null==(m=n.report.totals.get(n.name))&&(m=[],n.report.totals.set(n.name,m)),(d=new S.StiRuntimeVariables(n.report)).pageIndex=n.report.renderedPages.count,d.textBox=i,m.push(d),n.report.totals.set("#%#"+n.name,n.text);var g=t.parent;while(null!=g&&!g.is(R)&&!g.is(I))g=g.parent;null!=g&&g.is(I)&&(d.pageIndex++,d.currentPrintPage++)}if(n.is(w))if(y.isNullOrEmpty(n.excelDataValue)||"-"==n.excelDataValue){var c=new T,m,d;if(n.invokeGetExcelValue(i,c),c.storeToPrinted){null==(m=n.report.totals.get(n.name+"Excel"))&&(m=[],n.report.totals.set(n.name+"Excel",m)),(d=new S.StiRuntimeVariables(n.report)).pageIndex=n.report.renderedPages.count,d.textBox=i,m.push(d);var g=t.parent;while(null!=g&&!g.is(R)&&!g.is(I))g=g.parent;null!=g&&g.is(I)&&(d.pageIndex++,d.currentPrintPage++)}}else n.excelDataValue=n.excelDataValue;return i},n=o,r.StiSimpleTextBuilder=n}(Stimulsoft=Stimulsoft||{}),function(t){var e,r,n,o,a,s,l,u,c,p;function i(){return null!==p&&p.apply(this,arguments)||this}r=e=t.Report||(t.Report={}),o=n=r.Engine||(r.Engine={}),a=t.Report.Components.StiPage,s=t.System.EventArgs,l=t.Report.Components.StiSubReport,u=t.Report.Components.StiContainerHelper,c=t.Report.Components.StiContainer,p=o.StiContainerBuilder,__extends(i,p),i.prototype.internalRenderAsync=function(i){return __awaiter(this,void 0,void 0,function(){var e,r,n;return __generator(this,function(t){switch(t.label){case 0:return null!=(e=i.as(l)).subReportPage&&e.subReportPage.invokeBeforePrint(e.subReportPage,s.empty),[4,p.prototype.internalRenderAsync.call(this,e)];case 1:if((r=t.sent().as(c)).canBreak=!0,r.canGrow=!0,r.canShrink=!0,e.parent.is(a)&&(r.canGrow=!1),!(n=null!=o.StiSubReportsHelper.getParentBand(e)))return[3,3];return[4,o.StiSubReportsHelper.renderSubReportAsync(r,e)];case 2:return t.sent(),u.checkSize(r),[3,4];case 3:r.canShrink=!1,t.label=4;case 4:return null!=e.subReportPage&&e.subReportPage.invokeAfterPrint(e.subReportPage,s.empty),[2,r]}})})},i.prototype.internalRender=function(t){var e=t.as(l);null!=e.subReportPage&&e.subReportPage.invokeBeforePrint(e.subReportPage,s.empty);var t=p.prototype.internalRender.call(this,e).as(c),r;return t.canBreak=!0,t.canGrow=!0,t.canShrink=!0,e.parent.is(a)&&(t.canGrow=!1),null!=o.StiSubReportsHelper.getParentBand(e)?(o.StiSubReportsHelper.renderSubReport(t,e),u.checkSize(t)):t.canShrink=!1,null!=e.subReportPage&&e.subReportPage.invokeAfterPrint(e.subReportPage,s.empty),t},r=i,o.StiSubReportBuilder=r}(Stimulsoft=Stimulsoft||{}),function(t){var e,r,n,i,o,a;function s(){return null!==a&&a.apply(this,arguments)||this}r=e=t.Report||(t.Report={}),i=n=r.Engine||(r.Engine={}),o=t.Report.Components.StiTextInCells,a=i.StiSimpleTextBuilder,__extends(s,a),s.prototype.internalRenderAsync=function(i){return __awaiter(this,void 0,void 0,function(){var e,r,n;return __generator(this,function(t){switch(t.label){case 0:return e=i,[4,a.prototype.internalRenderAsync.call(this,i)];case 1:return r=t.sent(),[2,null!=(n=r.getTextInternal())&&n.stimulsoft.startsWith("#%#")?r:o.splitByCells2(e,r,n,!0)]}})})},s.prototype.internalRender=function(t){var e=t,r=a.prototype.internalRender.call(this,t),t=r.getTextInternal();return null!=t&&t.stimulsoft.startsWith("#%#")?r:o.splitByCells2(e,r,t,!0)},r=s,i.StiTextInCellsBuilder=r}(Stimulsoft=Stimulsoft||{}),function(t){var e,r,n,i,o;function a(){return null!==o&&o.apply(this,arguments)||this}r=e=t.Report||(t.Report={}),i=n=r.Components||(r.Components={}),r=t.Report.Engine.StiComponentInfo,__extends(a,o=r),r=a,i.StiBandInfo=r}(Stimulsoft=Stimulsoft||{}),function(t){var e,r,n,i,o;function a(){var t=null!==o&&o.apply(this,arguments)||this;return t.dataBandPosition=-1,t.dataSourceRow=null,t.businessObjectCurrent=null,t.isAutoRendered=!1,t.ignoreResetPageNumber=!1,t.isColumns=!1,t.renderStep=-1,t.setSegmentPerWidth=-1,t.parentBand=null,t}r=e=t.Report||(t.Report={}),i=n=r.Components||(r.Components={}),r=t.Report.Engine.StiComponentInfo,__extends(a,o=r),r=a,i.StiContainerInfo=r}(Stimulsoft=Stimulsoft||{}),function(t){var e,r,n,i,o;function a(){var t=null!==o&&o.apply(this,arguments)||this;return t.groupHeaders=null,t.groupFooters=null,t.groupHeaderComponents=null,t.groupFooterComponents=null,t.detailDataBands=null,t.details=null,t.subReports=null,t.emptyBands=null,t.headers=null,t.hierarchicalHeaders=null,t.footersOnAllPages=null,t.footersOnLastPage=null,t.hierarchicalFooters=null,t.groupHeaderResults=null,t.groupFooterResults=null,t.groupHeaderCachedResults=null,t.groupFooterCachedResults=null,t.reportTitles=null,t.reportSummaries=null,t.detailDataBandsFromSubReports=null,t}r=e=t.Report||(t.Report={}),i=n=r.Components||(r.Components={}),r=t.Report.Engine.StiComponentInfo,__extends(a,o=r),r=a,i.StiDataBandInfo=r}(Stimulsoft=Stimulsoft||{}),function(t){var e,r,n,i,o;function a(){var t=null!==o&&o.apply(this,arguments)||this;return t.isTableFooter=!1,t}r=e=t.Report||(t.Report={}),i=n=r.Components||(r.Components={}),r=t.Report.Engine.StiComponentInfo,__extends(a,o=r),r=a,i.StiFooterBandInfo=r}(Stimulsoft=Stimulsoft||{}),function(t){var e,r,n,i,o;function a(){var t=null!==o&&o.apply(this,arguments)||this;return t.printAtBottomComponent=null,t.groupHeader=null,t.isTableGroupFooter=!1,t}r=e=t.Report||(t.Report={}),i=n=r.Components||(r.Components={}),r=t.Report.Engine.StiComponentInfo,__extends(a,o=r),r=a,i.StiGroupFooterBandInfo=r}(Stimulsoft=Stimulsoft||{}),function(t){var e,r,n,i,o;function a(){var t=null!==o&&o.apply(this,arguments)||this;return t.skipKeepGroups=!1,t.groupFooter=null,t.silentModeEnabled=!1,t.oldSilentMode=!1,t.isTableGroupHeader=!1,t}r=e=t.Report||(t.Report={}),i=n=r.Components||(r.Components={}),r=t.Report.Engine.StiComponentInfo,__extends(a,o=r),r=a,i.StiGroupHeaderBandInfo=r}(Stimulsoft=Stimulsoft||{}),function(t){var e,r,n,i,o;function a(){var t=null!==o&&o.apply(this,arguments)||this;return t.isTableHeader=!1,t}r=e=t.Report||(t.Report={}),i=n=r.Components||(r.Components={}),r=t.Report.Engine.StiComponentInfo,__extends(a,o=r),r=a,i.StiHeaderBandInfo=r}(Stimulsoft=Stimulsoft||{}),function(t){var e,r,n,i,o;function a(){var t=null!==o&&o.apply(this,arguments)||this;return t.specifiedLevel=-1,t.finalFooterCalculation=!1,t}r=e=t.Report||(t.Report={}),i=n=r.Components||(r.Components={}),r=t.Report.Engine.StiComponentInfo,__extends(a,o=r),r=a,i.StiHierarchicalBandInfo=r}(Stimulsoft=Stimulsoft||{}),function(t){var e,r,n,i;r=e=t.Report||(t.Report={}),(i=n=r.Engine||(r.Engine={})).IStiReportProperty=new t.System.Interface("IStiReportProperty")}(Stimulsoft=Stimulsoft||{}),function(t){var e,r,n,i,g,S,o,y,A,b,a;function s(t,e){this.dataBand=t,this.band=e}function l(t){this.bands=[],this.engine=null,this._denyRendering=!1,this.engine=t}r=e=t.Report||(t.Report={}),i=n=r.Engine||(r.Engine={}),g=t.Report.Components.StiDataBand,S=t.Report.Components.StiHierarchicalBand,o=t.Report.Components.StiGroupHeaderBand,y=t.Base.Drawing.StiSolidBrush,A=t.System.Drawing.Color,b=t.Report.Components.StiComponentsCollection,a=s,Object.defineProperty(l.prototype,"denyRendering",{get:function(){return this._denyRendering},set:function(t){this._denyRendering=t},enumerable:!1,configurable:!0}),l.prototype.add=function(t,e){this.bands.push(new a(t,e))},l.prototype.remove=function(t){var e=0,r;while(e<this.bands.length){this.bands[e].dataBand==t?this.bands.stimulsoft.removeAt(e):e++}},l.prototype.allowRenderBand=function(t){if(0==this.engine.bandsInProgress.length)return!0;var e=this.engine.bandsInProgress[this.engine.bandsInProgress.length-1];if(t==e&&!t.is(S))return!1;if(e.is(o)&&t.is(o)){if(e.getDataBand()!=t.getDataBand())return!0;var r=t.parent.components.indexOf(t),n;if(t.parent.components.indexOf(e)<r)return!1}return!0},l.prototype.renderAsync=function(){return __awaiter(this,void 0,void 0,function(){var e,r,n,i,o,a,s,l,u,c,p,p,h,m,d;return __generator(this,function(t){switch(t.label){case 0:if(this.denyRendering)return[2];e=this.denyRendering,this.denyRendering=!0,this.engine.denyClearPrintOnAllPagesIgnoreList=!0,t.label=1;case 1:t.trys.push([1,6,7,8]),r=__values(this.bands),n=r.next(),t.label=2;case 2:if(n.done)return[3,5];if(i=n.value,o=i.band,!this.allowRenderBand(o))return[3,4];return[4,this.renderBandAsync(o,!0,!1)];case 3:if(null!=(a=t.sent()))try{for(m=void 0,s=__values(a.toCast()),l=s.next();!l.done;l=s.next())null!=(u=l.value).containerInfo.parentBand&&(u.containerInfo.isAutoRendered=!0,c=!o.is(S)||!o.printOnAllPages,o.is(g)&&(c=!1),c&&this.engine.printOnAllPagesIgnoreList.set(u.containerInfo.parentBand,u.containerInfo.parentBand))}catch(t){m={error:t}}finally{try{l&&!l.done&&(d=s.return)&&d.call(s)}finally{if(m)throw m.error}}t.label=4;case 4:return n=r.next(),[3,2];case 5:return[3,8];case 6:return p=t.sent(),p={error:p},[3,8];case 7:try{n&&!n.done&&(h=r.return)&&h.call(r)}finally{if(p)throw p.error}return[7];case 8:return this.engine.denyClearPrintOnAllPagesIgnoreList=!1,this.denyRendering=e,[2]}})})},l.prototype.render=function(){var e,t,r,n;if(this.denyRendering)return;var i=this.denyRendering;this.denyRendering=!0,this.engine.denyClearPrintOnAllPagesIgnoreList=!0;try{for(var o=__values(this.bands),a=o.next();!a.done;a=o.next()){var s,l=a.value.band;if(!this.allowRenderBand(l))continue;var u=this.renderBand(l,!0,!1);if(null!=u)try{for(var c=(r=void 0,__values(u.toCast())),p=c.next();!p.done;p=c.next()){var h=p.value,m;null!=h.containerInfo.parentBand&&(h.containerInfo.isAutoRendered=!0,m=!l.is(S)||!l.printOnAllPages,l.is(g)&&(m=!1),m&&this.engine.printOnAllPagesIgnoreList.set(h.containerInfo.parentBand,h.containerInfo.parentBand))}}catch(t){r={error:t}}finally{try{p&&!p.done&&(n=c.return)&&n.call(c)}finally{if(r)throw r.error}}}}catch(t){e={error:t}}finally{try{a&&!a.done&&(t=o.return)&&t.call(o)}finally{if(e)throw e.error}}this.engine.denyClearPrintOnAllPagesIgnoreList=!1,this.denyRendering=i},l.prototype.renderBandAsync=function(d,g,f){return __awaiter(this,void 0,void 0,function(){var e,r,n,i,o,a,s,l,u,c,p,h,m;return __generator(this,function(t){switch(t.label){case 0:if(d.is(S))return[3,2];return[4,this.engine.renderBandAsync(d,g,f)];case 1:return[2,t.sent()];case 2:e=new b,(r=d).saveState("TreeBandPrintOnAllPages"),n=r.printOnAllPages,r.printOnAllPages=!1,t.label=3;case 3:t.trys.push([3,,8,9]),i=[],r.brush=new y(A.green),o=r.dataSource.getLevel(),r.prior();while(0<=o&&!r.isBof)(a=r.dataSource.getLevel())<o&&(i.push(r.position),o=a),r.prior();s=i.length-1,t.label=4;case 4:if(!(0<=s))return[3,7];return r.position=i[s],[4,this.engine.renderBandAsync(r,g,f)];case 5:l=t.sent();try{for(h=void 0,u=__values(l.list),c=u.next();!c.done;c=u.next())p=c.value,e.add(p)}catch(t){h={error:t}}finally{try{c&&!c.done&&(m=u.return)&&m.call(u)}finally{if(h)throw h.error}}t.label=6;case 6:return s--,[3,4];case 7:return r.brush=new y(A.transparent),r.restoreState("TreeBandPrintOnAllPages"),[2,e];case 8:return r.printOnAllPages=n,[7];case 9:return[2]}})})},l.prototype.renderBand=function(t,e,r){var n,i;if(!t.is(S))return this.engine.renderBand(t,e,r);var o=new b,a=t;a.saveState("TreeBandPrintOnAllPages");var t=a.printOnAllPages;a.printOnAllPages=!1;try{var s=[];a.brush=new y(A.green);var l=a.dataSource.getLevel();a.prior();while(0<=l&&!a.isBof){var u=a.dataSource.getLevel();u<l&&(s.push(a.position),l=u),a.prior()}for(var c=s.length-1;0<=c;c--){a.position=s[c];var p=this.engine.renderBand(a,e,r);try{for(var h=(n=void 0,__values(p.list)),m=h.next();!m.done;m=h.next()){var d=m.value;o.add(d)}}catch(t){n={error:t}}finally{try{m&&!m.done&&(i=h.return)&&i.call(h)}finally{if(n)throw n.error}}}return a.brush=new y(A.transparent),a.restoreState("TreeBandPrintOnAllPages"),o}finally{a.printOnAllPages=t}},l.prototype.isBandInBandsList=function(t){var e,r;if(null!=t)try{for(var n=__values(this.bands),i=n.next(),o;!i.done;i=n.next()){if(i.value.band==t)return!0}}catch(t){e={error:t}}finally{try{i&&!i.done&&(r=n.return)&&r.call(n)}finally{if(e)throw e.error}}return!1},r=l,i.StiBandsOnAllPages=r}(Stimulsoft=Stimulsoft||{}),function(t){var e,r,n,i,o;function p(){}r=e=t.Report||(t.Report={}),i=n=r.Engine||(r.Engine={}),o=t.Report.Components.StiBookmark,p.getBookmark=function(t,e){var r=null,n=t.bookmarks.indexOf(e);return-1==n?(r=p.createBookmark(e),t.bookmarks.add(r)):r=t.bookmarks.getByIndex(n),r},p.prepareBookmark=function(t){var e,r,n=0;while(n<t.bookmarks.count-1)t.bookmarks.getByIndex(n).text==t.bookmarks.getByIndex(n+1).text?(t.bookmarks.getByIndex(n).bookmarks.addRange(t.bookmarks.getByIndex(n+1).bookmarks),t.bookmarks.remove(t.bookmarks.getByIndex(n+1))):n++;var i=0;while(i<t.bookmarks.count){var o=t.bookmarks.getByIndex(i),a=i+1;while(a<t.bookmarks.count){var s=t.bookmarks.getByIndex(a);o.text==s.text?(o.bookmarks.addRange(s.bookmarks),t.bookmarks.removeAt(a)):a++}i++}try{for(var l=__values(t.bookmarks.list),u=l.next();!u.done;u=l.next()){var c=u.value;p.prepareBookmark(c)}}catch(t){e={error:t}}finally{try{u&&!u.done&&(r=l.return)&&r.call(l)}finally{if(e)throw e.error}}},p.createBookmark=function(t,e){void 0===e&&(e=null);var r=new o;return r.text=t,r.componentGuid=e,r},r=p,i.StiBookmarksHelper=r}(Stimulsoft=Stimulsoft||{}),function(o){var t,e,r,n,i,a,c,p,s,l;function u(t){this.engine=null,this.engine=t}e=t=o.Report||(o.Report={}),n=r=e.Engine||(e.Engine={}),i=o.Report.Components.IStiCrossTab,a=o.Report.Components.StiComponent,c=o.Report.Components.StiContainerHelper,p=o.Report.Components.StiComponentDivider,s=o.Report.Components.StiPage,l=o.Report.Components.StiContainer,u.prototype.isCanBreak=function(t){var e=null==t.containerInfo.parentBand?null:t.containerInfo.parentBand.as(o.Report.Components.IStiBreakable);if(null!=e&&e.canBreak)return!0;if(null!=(e=t.as(o.Report.Components.IStiBreakable))&&e.canBreak)return!0;return!1},u.prototype.isNeedBreak=function(t){var e=this.engine.containerForRender?this.engine.containerForRender.as(s):null;if(!(null==e||e.unlimitedBreakable||null!=t.containerInfo&&null!=t.containerInfo.parentBand&&t.containerInfo.parentBand.components.toList().exists(function(t){return t.is(i)})))return!1;if(t.height>this.engine.freeSpace&&this.isCanBreak(t))return!0;return!1},u.prototype.breakAsync=function(u){return __awaiter(this,void 0,void 0,function(){var e,r,n,i,o,a,o,s,l;return __generator(this,function(t){switch(t.label){case 0:e=u.height;try{for(r=__values(u.components.list),n=r.next();!n.done;n=r.next())i=n.value,e=Math.min(e,i.top)}catch(t){s={error:t}}finally{try{n&&!n.done&&(l=r.return)&&l.call(r)}finally{if(s)throw s.error}}if(o=u.components.count,(a=p.breakContainer(this.engine.freeSpace,u)).containerInfo.ignoreResetPageNumber=!0,!(o=0==e&&0<o&&0==u.components.count)||null==u.containerInfo||null==u.containerInfo.dataSourceRow&&null==u.containerInfo.businessObjectCurrent?a.name="Continued":a.name="Continued_"+u.name,a.height-=u.height,o||null==u.containerInfo||null==u.containerInfo.dataSourceRow&&null==u.containerInfo.businessObjectCurrent?u.name="Breaked":u.name="Breaked_"+u.name,u.height=this.engine.freeSpace,o)return[3,2];return this.engine.freeSpace+=u.height,[4,this.engine.renderContainerAsync(u)];case 1:t.sent(),this.engine.freeSpace-=u.height,t.label=2;case 2:return[4,this.engine.newDestinationAsync(!o)];case 3:return t.sent(),a.canGrow=!0,c.checkSize(a),[2,a]}})})},u.prototype.break=function(t){var e,r,n=t.height;try{for(var i=__values(t.components.list),o=i.next();!o.done;o=i.next())var a=o.value,n=Math.min(n,a.top)}catch(t){e={error:t}}finally{try{o&&!o.done&&(r=i.return)&&r.call(i)}finally{if(e)throw e.error}}var s=t.components.count,l=p.breakContainer(this.engine.freeSpace,t);l.containerInfo.ignoreResetPageNumber=!0;var s=0==n&&0<s&&0==t.components.count;return!s||null==t.containerInfo||null==t.containerInfo.dataSourceRow&&null==t.containerInfo.businessObjectCurrent?l.name="Continued":l.name="Continued_"+t.name,l.height-=t.height,s||null==t.containerInfo||null==t.containerInfo.dataSourceRow&&null==t.containerInfo.businessObjectCurrent?t.name="Breaked":t.name="Breaked_"+t.name,t.height=this.engine.freeSpace,s||(this.engine.freeSpace+=t.height,this.engine.renderContainer(t),this.engine.freeSpace-=t.height),this.engine.newDestination(!s),l.canGrow=!0,c.checkSize(l),l},u.prototype.setCanBreak=function(t){t.canBreak=!0;var e=0;while(e<t.components.count){var r=t.components.getByIndex(e),n=r.as(o.Report.Components.IStiBreakable),i,i;null!=n&&(n.canBreak||null==this.engine||null==this.engine.report||null!=(i=null!=(i=this.engine.report.getComponents().getByName(r.name))?i.as(a):null)&&i.properties==r.properties&&null!=r.properties&&(r.properties=r.properties.clone()),n.canBreak=!0);var r=null!=r?r.as(l):null;null!=r&&this.setCanBreak(r),e++}},u.prototype.processBreakableAsync=function(n){return __awaiter(this,void 0,void 0,function(){var e,r,r;return __generator(this,function(t){switch(t.label){case 0:if(this.engine.isCrossBandsMode)return[2,n];e=!1,t.label=1;case 1:if(!this.isNeedBreak(n))return[3,3];return r=n.height,[4,this.breakAsync(n)];case 2:if(n=t.sent(),r==n.height&&(r=p.breakContainer(this.engine.freeSpace,n.clone()),c.checkSize(r),n.height==r.height)){if(e)return[3,3];this.setCanBreak(n),e=!0}return[3,1];case 3:return[2,n]}})})},u.prototype.processBreakable=function(t){if(this.engine.isCrossBandsMode)return t;var e=!1,r;while(this.isNeedBreak(t)){if(t.height==(t=this.break(t)).height){var n=p.breakContainer(this.engine.freeSpace,t.clone());if(c.checkSize(n),t.height==n.height){if(e)break;this.setCanBreak(t),e=!0}}}return t},e=u,n.StiBreakableHelper=e}(Stimulsoft=Stimulsoft||{}),function(t){var e,r,n,$,tt,et,i;function o(t){void 0===t&&(t=null);var e=i.call(this)||this;return e.countOfItems=0,e.columns=0,e.columnWidth=0,e.columnGaps=0,e.columnDirection=tt.AcrossThenDown,e.rightToLeft=!1,e.minRowsInColumn=0,e.engine=null,e.engine=t,e}r=e=t.Report||(t.Report={}),$=n=r.Engine||(r.Engine={}),tt=t.Report.Components.StiColumnDirection,et=t.System.Collections.Hashtable,r=t.Report.Components.StiContainer,__extends(o,i=r),o.prototype.addContainer=function(t){if(this.components.add(t),t.is($.StiLevelContainer))return;this.countOfItems++},o.prototype.howMuchAdditionalSpaceNeeded=function(t,e){this.countOfItems++,this.components.add(e);var r=this.finishColumns(!0);return this.components.remove(e),this.countOfItems--,Math.max(r-t,0)},o.prototype.finishColumns=function(t){var e,r,n,i,o,a,s,l,u,c;void 0===t&&(t=!1);var p=0,h=1,m=this.columns,d=this.columnWidth,g=this.columnGaps,f=d+g;if(this.columnDirection==tt.AcrossThenDown){var S=0,y=0,A=0;try{for(var b=__values(this.components.list),C=b.next(),v,w,B;!C.done;C=b.next()){if((v=C.value).is($.StiLevelContainer)?(S++,A++):(null!=this.page&&this.page.unlimitedHeight&&this.page.unlimitedBreakable&&(w=this.page.pageHeight-this.page.margins.top-this.page.margins.bottom,(this.top+p)/w!=(this.top+p+v.height)/w&&(p+=w-(this.top+p)%w)),B=0,B=this.rightToLeft?v.parent.width-f*h+g:f*(h-1),v.left=B,v.width=B-v.left+d,v.top=p,S++,A++,h++),m<h||S==this.components.count){for(var I=0,T=y,E;T<A;T++){if((E=this.components.getByIndex(T)).is2($.StiLevelContainer))continue;I=Math.max(E.height,I)}if(!t)for(var T=y,E;T<A;T++){if((E=this.components.getByIndex(T)).is2($.StiLevelContainer))continue;try{for(var R=(n=void 0,__values(E.components.list)),D=R.next(),P;!D.done;D=R.next()){(P=D.value).bottom==E.height&&(P.height=I-P.top)}}catch(t){n={error:t}}finally{try{D&&!D.done&&(i=R.return)&&i.call(R)}finally{if(n)throw n.error}}E.height=I}p+=I,h=1,A=y=S}}}catch(t){e={error:t}}finally{try{C&&!C.done&&(r=b.return)&&r.call(b)}finally{if(e)throw e.error}}}else{var x=new Array(m),F=Math.trunc(this.countOfItems/m),N=Math.min(this.minRowsInColumn,this.countOfItems);0<N&&(F=Math.max(N,F));for(var T=0,k;T<m;T++)x[T]=F;if(0<this.minRowsInColumn){if(N<=F){F=this.countOfItems-F*m;for(var T=0;T<F;T++)x[T]++}}else if(0<this.countOfItems-F*m){F++;for(var T=0;T<m;T++)x[T]=F}for(var M=0,O=0,_=new Array(m),T=0;T<m;T++)_[T]=[];var j=-1,G=!1;try{for(var H=__values(this.components.list),Q=H.next(),v,w;!Q.done;Q=H.next()){if((v=Q.value).is($.StiLevelContainer))continue;G||(-1==j?j=v.height:j!=v.height&&(G=!0)),++M>x[h-1]&&(M=1,h++,O=0),null!=this.page&&this.page.unlimitedHeight&&this.page.unlimitedBreakable&&(w=this.page.pageHeight-this.page.margins.top-this.page.margins.bottom,(this.top+O)/w!=(this.top+O+v.height)/w&&(O+=w-(this.top+O)%w));var B=0;B=this.rightToLeft?v.parent.width-f*h+g:f*(h-1),v.left=B,v.width=B-v.left+d,v.top=O,O+=v.height,p=Math.max(p,O),_[h-1].push(v)}}catch(t){o={error:t}}finally{try{Q&&!Q.done&&(a=H.return)&&a.call(H)}finally{if(o)throw o.error}}if(G){for(var L=0,Y=0;Y<m;Y++)var U=_[Y],L=Math.max(U.length,L);for(var J=new et,W=0;W<L;W++){for(var I=0,Y=0,V;Y<m;Y++)if(_[Y].length>W){if((V=_[Y][W]).is2($.StiLevelContainer))continue;I=Math.max(I,V.height)}for(var Y=0,V;Y<m;Y++)if(_[Y].length>W){if((V=_[Y][W]).is2($.StiLevelContainer))continue;if(V.height!=I&&!t)try{for(var z=(s=void 0,__values(V.components.list)),X=z.next(),P;!X.done;X=z.next()){(P=X.value).bottom==V.height&&(P.height=I-P.top)}}catch(t){s={error:t}}finally{try{X&&!X.done&&(l=z.return)&&l.call(z)}finally{if(s)throw s.error}}t?J.set(V,I):V.height=I}}for(var Y=p=0;Y<m;Y++){O=0;try{for(var K=(u=void 0,__values(_[Y])),Z=K.next(),E,q;!Z.done;Z=K.next()){if((E=Z.value).is2($.StiLevelContainer))continue;E.top=O,O+=t?J.get(E):E.height}}catch(t){u={error:t}}finally{try{Z&&!Z.done&&(c=K.return)&&c.call(K)}finally{if(u)throw u.error}}p=Math.max(p,O)}}}return p},o.prototype.getCurrentColumn=function(){if(this.columnDirection==tt.DownThenAcross)return 1;var t=Math.trunc(this.countOfItems/this.columns),e;return Math.trunc(this.countOfItems-t*this.columns+1)},o.prototype.getLengthOfLastRow=function(){var t=this.countOfItems,e,r=t/this.columns*this.columns;return t==r?this.columns:t-r},r=o,$.StiColumnsContainer=r}(Stimulsoft=Stimulsoft||{}),function(t){var e,t,r,n;function i(t){this.engine=null,this._enabled=!1,this.engine=t}t=e=t.Report||(t.Report={}),n=r=t.Engine||(t.Engine={}),Object.defineProperty(i.prototype,"enabled",{get:function(){return this._enabled},set:function(t){this._enabled=t},enumerable:!1,configurable:!0}),i.prototype.renderColumnsAsync=function(r){return __awaiter(this,void 0,void 0,function(){var e;return __generator(this,function(t){switch(t.label){case 0:if(!(1<r.columns))return[3,2];return e=this.createColumns(r),[4,this.engine.renderContainerAsync(e)];case 1:return t.sent(),this.enabled=!0,[2,e];case 2:return[2,null]}})})},i.prototype.renderColumns=function(t){if(1<t.columns){var t=this.createColumns(t);return this.engine.renderContainer(t),this.enabled=!0,t}return null},i.prototype.getColumns=function(){var t=this.engine.containerForRender.components.count;if(0<t)for(var e=t-1;0<=e;e--){var r=this.engine.containerForRender.components.getByIndex(e);if(r.is(n.StiColumnsContainer))return r;if(r.is(n.StiLevelContainer))continue}return null},i.prototype.createColumns=function(t){var e=new n.StiColumnsContainer(this.engine);return e.name="Columns"+t.name,e.width=t.parent.width,e.height=0,e.columns=t.columns,e.columnDirection=t.columnDirection,e.columnGaps=t.columnGaps,e.columnWidth=t.getColumnWidth(),e.minRowsInColumn=t.minRowsInColumn,e.rightToLeft=t.rightToLeft,e},t=i,n.StiColumnsOnDataBand=t}(Stimulsoft=Stimulsoft||{}),function(t){var e,r,n,i,o;function a(t){this.engine=null,this._currentColumn=1,this.engine=t}r=e=t.Report||(t.Report={}),i=n=r.Engine||(r.Engine={}),o=t.Report.Components.StiPanel,Object.defineProperty(a.prototype,"count",{get:function(){var t=this.engine.templateContainer.as(o);if(null!=t)return t.columns;return 0},enumerable:!1,configurable:!0}),Object.defineProperty(a.prototype,"rightToLeft",{get:function(){var t=this.engine.templateContainer.as(o);if(null!=t)return t.rightToLeft;return!1},enumerable:!1,configurable:!0}),Object.defineProperty(a.prototype,"columnGaps",{get:function(){var t=this.engine.templateContainer.as(o);if(null!=t)return t.columnGaps;return 0},enumerable:!1,configurable:!0}),Object.defineProperty(a.prototype,"currentColumn",{get:function(){return this._currentColumn},set:function(t){this._currentColumn=t},enumerable:!1,configurable:!0}),a.prototype.getColumnWidth=function(){var t=this.engine.templateContainer.as(o);if(null!=t)return t.getColumnWidth();return 0},r=a,i.StiColumnsOnPanel=r}(Stimulsoft=Stimulsoft||{}),function(p){var t,e,r,n,i,o,h,a;function s(t){this.engine=null,this.engine=t}e=t=p.Report||(p.Report={}),n=r=e.Engine||(e.Engine={}),i=p.Report.Components.IStiOddEvenStyles,o=p.Report.Components.StiDockStyle,h=p.Report.Components.StiEmptySizeMode,a=p.Report.Components.StiContainer,s.prototype.register=function(t){null!=t&&0<t.count&&(this.emptyBand=t.getByIndex(0))},s.prototype.clear=function(){this.emptyBand=null},s.prototype.createEmptyBandContainerAsync=function(r){return __awaiter(this,void 0,void 0,function(){var e;return __generator(this,function(t){switch(t.label){case 0:return this.engine.report.line++,this.engine.report.lineThrough++,this.emptyBand.invokeRendering(),this.emptyBand.parentBookmark=r.currentBookmark,[4,this.emptyBand.renderAsync()];case 1:return null!=(e=t.sent())&&(n.StiOddEvenStylesHelper.applyOddEvenStyles(this.engine.report,this.emptyBand.as(i),e.as(a)),e.dockStyle=o.None,e.left=this.engine.positionX,e.top=this.engine.positionY),[2,e]}})})},s.prototype.createEmptyBandContainer=function(t){this.engine.report.line++,this.engine.report.lineThrough++,this.emptyBand.invokeRendering(),this.emptyBand.parentBookmark=t.currentBookmark;var t=this.emptyBand.render();return null!=t&&(n.StiOddEvenStylesHelper.applyOddEvenStyles(this.engine.report,this.emptyBand.as(i),t.as(a)),t.dockStyle=o.None,t.left=this.engine.positionX,t.top=this.engine.positionY),t},s.prototype.renderAsync=function(u,c){return __awaiter(this,void 0,void 0,function(){var e,r,n,i,o,a,s,l;return __generator(this,function(t){switch(t.label){case 0:if(null==this.emptyBand)return[2];this.engine.isDynamicBookmarksMode=!0,this.emptyBand.invokeBeginRender(),e=-1,null!=u&&(e=u.components.indexOf(c)),-1==e&&(e=u.components.count),n=r=null,t.label=1;case 1:if(1!=1)return[3,3];return[4,this.createEmptyBandContainerAsync(u)];case 2:if(null==(r=t.sent()))return[3,3];if(0==r.height&&(r.height=this.engine.report.unit.convertFromHInches(10)),!(r.height<=this.engine.freeSpace))return[3,3];if(this.engine.positionY+=r.height,this.engine.freeSpace-=r.height,u.components.insert(e,r),e++,(n=r).doBookmark(),999999999<this.engine.freeSpace)return[3,3];return[3,1];case 3:if(this.emptyBand.sizeMode!=h.DecreaseLastRow)return[3,4];return r.height=this.engine.freeSpace,this.engine.positionY+=r.height,this.engine.freeSpace-=r.height,u.components.insert(e,r),r.doBookmark(),[3,10];case 4:if(this.emptyBand.sizeMode!=h.IncreaseLastRow)return[3,9];if(null!=n)return[3,7];if(!(0<this.engine.freeSpace))return[3,6];return[4,this.createEmptyBandContainerAsync(u)];case 5:(r=t.sent()).top=this.engine.positionY,r.height=this.engine.freeSpace,t.label=6;case 6:return[3,8];case 7:n.height+=this.engine.freeSpace,t.label=8;case 8:return[3,10];case 9:if(this.emptyBand.sizeMode==h.AlignFooterToTop)try{for(i=__values(u.components.list),o=i.next();!o.done;o=i.next())(a=o.value).top>this.engine.positionY&&!a.is(p.Report.Components.StiCrossLinePrimitive)&&(a.top-=this.engine.freeSpace)}catch(t){s={error:t}}finally{try{o&&!o.done&&(l=i.return)&&l.call(i)}finally{if(s)throw s.error}}t.label=10;case 10:return this.emptyBand.invokeEndRender(),this.engine.isDynamicBookmarksMode=!1,[2]}})})},s.prototype.render=function(t,e){var r,n;if(null==this.emptyBand)return;this.engine.isDynamicBookmarksMode=!0,this.emptyBand.invokeBeginRender();var i=-1;null!=t&&(i=t.components.indexOf(e)),-1==i&&(i=t.components.count);var o=null,a=null;while(1==1){if(null==(o=this.createEmptyBandContainer(t)))break;if(0==o.height&&(o.height=this.engine.report.unit.convertFromHInches(10)),!(o.height<=this.engine.freeSpace))break;if(this.engine.positionY+=o.height,this.engine.freeSpace-=o.height,t.components.insert(i,o),i++,(a=o).doBookmark(),999999999<this.engine.freeSpace)break}if(this.emptyBand.sizeMode==h.DecreaseLastRow)o.height=this.engine.freeSpace,this.engine.positionY+=o.height,this.engine.freeSpace-=o.height,t.components.insert(i,o),o.doBookmark();else if(this.emptyBand.sizeMode==h.IncreaseLastRow)null==a?0<this.engine.freeSpace&&((o=this.createEmptyBandContainer(t)).top=this.engine.positionY,o.height=this.engine.freeSpace):a.height+=this.engine.freeSpace;else if(this.emptyBand.sizeMode==h.AlignFooterToTop)try{for(var s=__values(t.components.list),l=s.next();!l.done;l=s.next()){var u=l.value;u.top>this.engine.positionY&&!u.is(p.Report.Components.StiCrossLinePrimitive)&&(u.top-=this.engine.freeSpace)}}catch(t){r={error:t}}finally{try{l&&!l.done&&(n=s.return)&&n.call(s)}finally{if(r)throw r.error}}this.emptyBand.invokeEndRender(),this.engine.isDynamicBookmarksMode=!1},e=s,n.StiEmptyBandsHelper=e}(Stimulsoft=Stimulsoft||{}),function(S){var t,l,e,D,P,I,T,E,R,x,C,F,n,N,k,M,p,o,v,w,B,r,O,_,h,a,i,m,d,g,j,G,H,Q,s;function u(t){this.isDynamicBookmarksMode=!1,this.isCrossBandsMode=!1,this.isFirstDataBandOnPage=!1,this.isLastDataBandOnPage=!1,this.printOnAllPagesIgnoreList=new F,this.printOnAllPagesIgnoreList2=new F,this.bandsOnAllPages=null,this.denyRenderMasterComponentsInContainer=!1,this.printAtBottom=null,this.footersOnAllPages=null,this.staticBands=null,this.threads=null,this.breakable=null,this.denyChangeThread=!1,this.slaveEngines=new F,this.masterEngine=null,this.emptyBands=null,this.pageNumbers=null,this.columnsOnDataBand=null,this.columnsOnPanel=null,this.freeSpace=0,this.crossFreeSpace=0,this.positionX=0,this.positionY=0,this.positionBottomY=0,this.containerForRender=null,this.page=null,this.templatePage=null,this.templateContainer=null,this.report=null,this.masterReport=null,this.ignoreUnlimitedHeightForNewPage=!1,this.keepFirstDetailTogetherList=new F,this.keepFirstDetailTogetherTablesList=new F,this.specialContainerHeight=1e11,this.specialContainerHeight2=1e11-100,this.startIndexPageForPageTotal=-1,this.indexPageForPageTotal=-1,this.childsBandHash=null,this.silentMode=!1,this.renderState=null,this.indexOfLatestDataBand=null,this.generateNewPageBeforeBand=!1,this.ignoreSkipFirst=!1,this.generateNewColumnBeforeBand=!1,this.pageBreakSkipFirstCollection=new F,this.indexOfStartList=0,this.skipFirstPageBeforePrintEvent=!1,this.firstCallNewPage=!1,this.denyClearPrintOnAllPagesIgnoreList=!1,this.duplilcatesLastValues=null,this.anchorsArguments=null,this.needResetPageNumberForNewPage=!1,this._parserConversionStore=null,this.hashParentStyles=null,this._hashUseParentStyles=null,this.lastInvokeTextProcessValueEventArgsValue=null,this.atLeastOneDatabandRenderedOnPage=!1,this.lastFreeSpaceOnPageAfterNewList=0,this.bandsInProgress=[],this.allowEndOfPageProcessing=!1,this.flagRenderColumnsOnDataBandOnNewPage=!1,this.componentPlacementRemakeTable=null,this.hashCheckSize=null,this.hashDataSourceReferencesCounter=null,this.offsetNewColumnY=0,this.latestProgressValue=0,this.newPageTime=Date.now(),this.pageNumbers=new D.StiPageNumberHelper(this),this.emptyBands=new D.StiEmptyBandsHelper(this),this.bandsOnAllPages=new D.StiBandsOnAllPages(this),this.printAtBottom=new D.StiPrintAtBottom(this),this.footersOnAllPages=new D.StiFootersOnAllPages(this),this.columnsOnDataBand=new D.StiColumnsOnDataBand(this),this.columnsOnPanel=new D.StiColumnsOnPanel(this),this.staticBands=new D.StiStaticBandsHelper(this),this.breakable=new D.StiBreakableHelper(this),this.threads=new D.StiThreads(this),this.report=t;var e=S.Base[["St","iL","ic","en","se"].join("")]._key,t=S.Base[["St","iL","ic","en","se"].join("")][["li","ce","ns","eK","ey"].join("")];S.Base[["St","iL","ic","en","se"].join("")]._key="1",S.Base[["St","iL","ic","en","se"].join("")][["li","ce","ns","eK","ey"].join("")]="2",(S.Base.vEIvF.JlKzR.NYOrDOn(S.Base.vEIvF.plmbu.Ultimate)||S.Base.vEIvF.JlKzR.KqUvN()||S.Base.vEIvF.JlKzR.UPtPa()||S.Base.vEIvF.JlKzR.RNAxU()||S.Base.vEIvF.JlKzR.LuQMU()||S.Base.vEIvF.JlKzR.sODCX()||S.Base.vEIvF.JlKzR.ZHIhL())&&(S.Base.vEIvF.JlKzR.NYOrDOn=function(t){return!1},S.Base.vEIvF.JlKzR.KqUvN=function(){return!1},S.Base.vEIvF.JlKzR.UPtPa=function(){return!1},S.Base.vEIvF.JlKzR.RNAxU=function(){return!1},S.Base.vEIvF.JlKzR.LuQMU=function(){return!1},S.Base.vEIvF.JlKzR.sODCX=function(){return!1},S.Base.vEIvF.JlKzR.ZHIhL=function(){return!1}),S.Base[["St","iL","ic","en","se"].join("")]._key=e,S.Base[["St","iL","ic","en","se"].join("")][["li","ce","ns","eK","ey"].join("")]=t}l=t=S.Report||(S.Report={}),D=e=l.Engine||(l.Engine={}),P=S.System.StiString,I=S.Report.Components.StiGroupFooterBand,T=S.Report.Components.Table.StiTable,E=S.Report.Components.StiGroupHeaderBand,R=S.System.Drawing.Size,x=S.Report.Components.Table.IStiTableCell,C=S.System.EventArgs,F=S.System.Collections.Hashtable,n=S.Report.Components.StiColumnDirection,N=S.Report.Components.StiHeaderBand,k=S.Report.Components.StiFooterBand,M=S.Report.Components.StiDataBand,p=S.Report.Components.StiChildBand,o=S.Report.Components.IStiPageBreak,v=S.Report.Components.IStiBrush,w=S.Report.Components.IStiBorder,B=S.Base.Drawing.StiBorderSides,r=S.Report.Components.StiPrintOnEvenOddPagesType,O=S.Report.Components.StiDockStyle,_=S.Report.Components.StiComponentType,h=S.Report.Components.StiText,a=S.Report.Components.StiComponent,i=S.Report.Components.StiMargins,m=S.Report.Components.StiSimpleText,d=S.Report.Components.StiProcessAt,g=S.Report.Events.StiGetValueEventArgs,j=S.Report.Styles.StiBaseStyle,G=S.Report.Components.StiContainer,H=S.Report.Components.StiComponentsCollection,Q=S.Report.Components.StiPage,Object.defineProperty(u.prototype,"parserConversionStore",{get:function(){return null==this._parserConversionStore&&(this._parserConversionStore=new F),this._parserConversionStore},set:function(t){this._parserConversionStore=t},enumerable:!1,configurable:!0}),Object.defineProperty(u.prototype,"hashUseParentStyles",{get:function(){var e,t,r,n;if(null==this._hashUseParentStyles){this._hashUseParentStyles=new F;try{for(var i=__values(this.report.getComponents().list),o=i.next();!o.done;o=i.next()){var a=o.value,s=a.as(G);if(null!=s)try{for(var l=(r=void 0,__values(s.components.list)),u=l.next(),c;!u.done;u=l.next()){if(u.value.useParentStyles){this._hashUseParentStyles.set(a,null);break}}}catch(t){r={error:t}}finally{try{u&&!u.done&&(n=l.return)&&n.call(l)}finally{if(r)throw r.error}}}}catch(t){e={error:t}}finally{try{o&&!o.done&&(t=i.return)&&t.call(i)}finally{if(e)throw e.error}}}return this._hashUseParentStyles},set:function(t){this._hashUseParentStyles=t},enumerable:!1,configurable:!0}),u.prototype.newListAsync=function(e){return void 0===e&&(e=!1),__awaiter(this,void 0,void 0,function(){return __generator(this,function(t){switch(t.label){case 0:if(null==this.containerForRender)return[2];if(e||!(1==this.columnsOnPanel.currentColumn||this.columnsOnPanel.count<2))return[3,2];return[4,this.staticBands.renderAsync()];case 1:t.sent(),t.label=2;case 2:return this.indexOfLatestDataBand=null,[4,this.bandsOnAllPages.renderAsync()];case 3:return t.sent(),[2]}})})},u.prototype.newList=function(t){if(void 0===t&&(t=!1),null==this.containerForRender)return;!t&&(1==this.columnsOnPanel.currentColumn||this.columnsOnPanel.count<2)&&this.staticBands.render(),this.indexOfLatestDataBand=null,this.bandsOnAllPages.render()},u.prototype.newColumnAsync=function(p){return void 0===p&&(p=!0),__awaiter(this,void 0,void 0,function(){var e,r,n,i,o,a,s,l,u,c;return __generator(this,function(t){switch(t.label){case 0:if(this.columnsOnPanel.currentColumn++,null==(e=this.page)&&(e=this.report.renderedPages.getByIndex(0)),!(this.columnsOnPanel.currentColumn>this.columnsOnPanel.count&&StiOptions.Engine.forceNewPageForExtraColumns||this.isCrossBandsMode))return[3,2];return this.isCrossBandsMode||(e.invokeColumnEndRender(),this.columnsOnPanel.currentColumn=1,this.positionX=0),[4,this.newPageAsync(p)];case 1:return t.sent(),[3,6];case 2:return r=this.containerForRender,e.invokeColumnEndRender(),this.finishColumns(r),n=this.searchStartOfKeepContainer(r,this.indexOfStartList),p&&(n=null),null!=r&&null!=n&&0==r.components.indexOf(n)&&(n=null),this.changeEngineParamsByKeep(r,n),i={ref:n},this.renderFootersOnAllPages(this.containerForRender,this.indexOfStartList,i),n=i.ref,this.renderPrintAtBottom(this.containerForRender,this.indexOfStartList,n),[4,this.renderEmptyBandsAsync(r,n)];case 3:if(t.sent(),this.setNewColumnParameters(),this.columnsOnPanel.currentColumn>this.columnsOnPanel.count&&!StiOptions.Engine.forceNewPageForExtraColumns&&this.containerForRender==r){this.columnsOnPanel.currentColumn=1,this.columnsOnPanel.rightToLeft?this.positionX=this.templateContainer.width-this.columnsOnPanel.getColumnWidth():this.positionX=0,o=0;try{for(a=__values(r.components.list),s=a.next();!s.done;s=a.next())(l=s.value).bottom>o&&(o=l.bottom)}catch(t){u={error:t}}finally{try{s&&!s.done&&(c=a.return)&&c.call(a)}finally{if(u)throw u.error}}this.offsetNewColumnY=o-this.staticBands.reservedPositionY,this.positionY=o}return[4,this.newListAsync()];case 4:return t.sent(),[4,this.moveKeepComponentsOnNextContainerAsync(r,n)];case 5:t.sent(),this.indexOfStartList=0<this.containerForRender.components.count?this.containerForRender.components.count-1:0,this.finishResetPageNumberContainer(r,!1),this.finishContainer(r),e.invokeColumnBeginRender(),t.label=6;case 6:return[2]}})})},u.prototype.newColumn=function(t){var e,r;void 0===t&&(t=!0),this.columnsOnPanel.currentColumn++;var n=this.page;if(null==n&&(n=this.report.renderedPages.getByIndex(0)),this.columnsOnPanel.currentColumn>this.columnsOnPanel.count&&StiOptions.Engine.forceNewPageForExtraColumns||this.isCrossBandsMode)this.isCrossBandsMode||(n.invokeColumnEndRender(),this.columnsOnPanel.currentColumn=1,this.positionX=0),this.newPage(t);else{var i=this.containerForRender;n.invokeColumnEndRender(),this.finishColumns(i);var o=this.searchStartOfKeepContainer(i,this.indexOfStartList);t&&(o=null),null!=i&&null!=o&&0==i.components.indexOf(o)&&(o=null),this.changeEngineParamsByKeep(i,o);var t={ref:o};if(this.renderFootersOnAllPages(this.containerForRender,this.indexOfStartList,t),o=t.ref,this.renderPrintAtBottom(this.containerForRender,this.indexOfStartList,o),this.renderEmptyBands(i,o),this.setNewColumnParameters(),this.columnsOnPanel.currentColumn>this.columnsOnPanel.count&&!StiOptions.Engine.forceNewPageForExtraColumns&&this.containerForRender==i){this.columnsOnPanel.currentColumn=1,this.columnsOnPanel.rightToLeft?this.positionX=this.templateContainer.width-this.columnsOnPanel.getColumnWidth():this.positionX=0;var a=0;try{for(var s=__values(i.components.list),l=s.next();!l.done;l=s.next()){var u=l.value;u.bottom>a&&(a=u.bottom)}}catch(t){e={error:t}}finally{try{l&&!l.done&&(r=s.return)&&r.call(s)}finally{if(e)throw e.error}}this.offsetNewColumnY=a-this.staticBands.reservedPositionY,this.positionY=a}this.newList(),this.moveKeepComponentsOnNextContainer(i,o),this.indexOfStartList=0<this.containerForRender.components.count?this.containerForRender.components.count-1:0,this.finishResetPageNumberContainer(i,!1),this.finishContainer(i),n.invokeColumnBeginRender()}},u.prototype.newPageAsync=function(i){return void 0===i&&(i=!0),__awaiter(this,void 0,void 0,function(){var e=this;return __generator(this,function(t){switch(t.label){case 0:if(!(100<Date.now()-this.newPageTime))return[3,2];return[4,new Promise(function(r,n){return setTimeout(function(){return __awaiter(e,void 0,void 0,function(){var e;return __generator(this,function(t){switch(t.label){case 0:return t.trys.push([0,2,,3]),this.newPageTime=Date.now(),[4,this.newPageAsync2(i)];case 1:return t.sent(),r(),[3,3];case 2:return e=t.sent(),n(e),[3,3];case 3:return[2]}})})},0)})];case 1:return t.sent(),[3,4];case 2:return[4,this.newPageAsync2(i)];case 3:t.sent(),t.label=4;case 4:return[2]}})})},u.prototype.newPageAsync2=function(s){return void 0===s&&(s=!0),__awaiter(this,void 0,void 0,function(){var e,e,r,n,i,o,a,o;return __generator(this,function(t){switch(t.label){case 0:if(!this.isCrossBandsMode&&null!=this.containerForRender&&this.containerForRender.height>this.specialContainerHeight2&&!StiOptions.Engine.forceNewPageInSubReports)return e=P.format("The NewPage feature is not supported in subreports and containers!"),l.StiLogService.write1(e),(e=new D.StiNewPageContainer).top=this.positionY,e.height=this.templatePage.height<this.specialContainerHeight2?this.templatePage.height:this.templatePage.unit.convertFromHInches(1170),this.positionY+=e.height,this.freeSpace-=e.height,this.containerForRender.components.add(e),this.offsetNewColumnY=this.positionY-this.staticBands.reservedPositionY,[2];if(!this.threads.isActive)return[3,2];return[4,this.newContainerAsync(s)];case 1:return t.sent(),[3,7];case 2:if(this.isCrossBandsMode&&null!=this.page)return this.templatePage.unlimitedBreakable?(this.positionX+=this.crossFreeSpace,this.crossFreeSpace=this.templatePage.width):this.crossFreeSpace+=this.templatePage.width,[2];if(null!=this.page&&this.templatePage.unlimitedHeight&&!this.firstCallNewPage&&!this.ignoreUnlimitedHeightForNewPage){while(this.positionY/this.templatePage.height+1>this.page.segmentPerHeight)this.page.segmentPerHeight++,this.templatePage.unlimitedBreakable||(this.freeSpace+=this.templatePage.height);if(this.templatePage.unlimitedBreakable){0<this.freeSpace?this.positionY+=this.templatePage.height-this.positionY%this.templatePage.height:this.positionY+=this.freeSpace,this.freeSpace=this.positionBottomY;while(this.positionY/this.templatePage.height+1>this.page.segmentPerHeight)this.page.segmentPerHeight++}return[2]}return this.lastFreeSpaceOnPageAfterNewList=0,this.firstCallNewPage=!1,!this.atLeastOneDatabandRenderedOnPage&&0<this.printOnAllPagesIgnoreList.count&&this.printOnAllPagesIgnoreList.clear(),this.columnsOnPanel.currentColumn=1,r=this.containerForRender,StiOptions.Engine.fixPageNumberInEvents||this.templatePage.invokeRendering(),n=this.page,i=this.report.renderedPages.cacheMode,null!=this.page&&this.processPageAfterRendering(this.page,!1),o=this,[4,D.StiPageHelper.getPageFromTemplateAsync(this.templatePage)];case 3:return o.page=t.sent(),this.pageNumbers.addPageNumber(this.report.currentPrintPage,this.page.segmentPerWidth,this.page.segmentPerHeight),this.page.resetPageNumber&&(null!=this.page.pageInfo&&-1!=this.page.pageInfo.indexOfStartRenderedPages?this.page.report.engine.pageNumbers.resetPageNumber(this.page.pageInfo.indexOfStartRenderedPages):this.page.report.engine.pageNumbers.resetPageNumber()),this.needResetPageNumberForNewPage&&this.page.report.engine.pageNumbers.resetPageNumber(this.report.currentPrintPage),StiOptions.Engine.fixPageNumberInEvents||this.processRendering(),this.addPageToRenderedPages(this.page),this.finishColumns(r),D.StiPageHelper.prepareBookmark(this.page),this.page.invokeColumnBeginRender(),a=this.searchStartOfKeepContainer(r,this.indexOfStartList),s&&(a=null),null!=r&&null!=a&&0==r.components.indexOf(a)&&(a=null),this.changeEngineParamsByKeep(r,a),o={ref:a},this.renderFootersOnAllPages(r,this.indexOfStartList,o),a=o.ref,this.renderPrintAtBottom(r,this.indexOfStartList,a),[4,this.renderEmptyBandsAsync(r,a)];case 4:return t.sent(),this.offsetNewColumnY=0,this.setNewPageParameters(),this.containerForRender=this.page,this.correctPrintOnAllPagesIgnoreListBeforeNewList(r,a,!1),[4,this.newListAsync()];case 5:return t.sent(),this.correctPrintOnAllPagesIgnoreListBeforeNewList(r,a,!0),this.atLeastOneDatabandRenderedOnPage=!1,this.lastFreeSpaceOnPageAfterNewList=this.freeSpace,[4,this.moveKeepComponentsOnNextContainerAsync(r,a)];case 6:t.sent(),this.indexOfStartList=0,this.finishResetPageNumberContainer(r,!1),this.finishContainer(r),t.label=7;case 7:return[2]}})})},u.prototype.newPage=function(t){if(void 0===t&&(t=!0),!this.isCrossBandsMode&&null!=this.containerForRender&&this.containerForRender.height>this.specialContainerHeight2&&!StiOptions.Engine.forceNewPageInSubReports){var e=P.format("The NewPage feature is not supported in subreports and containers!");l.StiLogService.write1(e);var r=new D.StiNewPageContainer;return r.top=this.positionY,r.height=this.templatePage.height<this.specialContainerHeight2?this.templatePage.height:this.templatePage.unit.convertFromHInches(1170),this.positionY+=r.height,this.freeSpace-=r.height,this.containerForRender.components.add(r),void(this.offsetNewColumnY=this.positionY-this.staticBands.reservedPositionY)}if(this.threads.isActive)this.newContainer(t);else{if(this.isCrossBandsMode&&null!=this.page)return void(this.templatePage.unlimitedBreakable?(this.positionX+=this.crossFreeSpace,this.crossFreeSpace=this.templatePage.width):this.crossFreeSpace+=this.templatePage.width);if(null!=this.page&&this.templatePage.unlimitedHeight&&!this.firstCallNewPage&&!this.ignoreUnlimitedHeightForNewPage){while(this.positionY/this.templatePage.height+1>this.page.segmentPerHeight)this.page.segmentPerHeight++,this.templatePage.unlimitedBreakable||(this.freeSpace+=this.templatePage.height);if(this.templatePage.unlimitedBreakable){0<this.freeSpace?this.positionY+=this.templatePage.height-this.positionY%this.templatePage.height:this.positionY+=this.freeSpace,this.freeSpace=this.positionBottomY;while(this.positionY/this.templatePage.height+1>this.page.segmentPerHeight)this.page.segmentPerHeight++}return}this.lastFreeSpaceOnPageAfterNewList=0,this.firstCallNewPage=!1,!this.atLeastOneDatabandRenderedOnPage&&0<this.printOnAllPagesIgnoreList.count&&this.printOnAllPagesIgnoreList.clear(),this.columnsOnPanel.currentColumn=1;var e=this.containerForRender;StiOptions.Engine.fixPageNumberInEvents||this.templatePage.invokeRendering();var n=this.page,i=this.report.renderedPages.cacheMode;null!=this.page&&this.processPageAfterRendering(this.page,!1),this.page=D.StiPageHelper.getPageFromTemplate(this.templatePage),this.pageNumbers.addPageNumber(this.report.currentPrintPage,this.page.segmentPerWidth,this.page.segmentPerHeight),this.page.resetPageNumber&&(null!=this.page.pageInfo&&-1!=this.page.pageInfo.indexOfStartRenderedPages?this.page.report.engine.pageNumbers.resetPageNumber(this.page.pageInfo.indexOfStartRenderedPages):this.page.report.engine.pageNumbers.resetPageNumber()),this.needResetPageNumberForNewPage&&this.page.report.engine.pageNumbers.resetPageNumber(this.report.currentPrintPage),StiOptions.Engine.fixPageNumberInEvents||this.processRendering(),this.addPageToRenderedPages(this.page),this.finishColumns(e),D.StiPageHelper.prepareBookmark(this.page),this.page.invokeColumnBeginRender();var r=this.searchStartOfKeepContainer(e,this.indexOfStartList);t&&(r=null),null!=e&&null!=r&&0==e.components.indexOf(r)&&(r=null),this.changeEngineParamsByKeep(e,r);var t={ref:r};this.renderFootersOnAllPages(e,this.indexOfStartList,t),r=t.ref,this.renderPrintAtBottom(e,this.indexOfStartList,r),this.renderEmptyBands(e,r),this.offsetNewColumnY=0,this.setNewPageParameters(),this.containerForRender=this.page,this.correctPrintOnAllPagesIgnoreListBeforeNewList(e,r,!1),this.newList(),this.correctPrintOnAllPagesIgnoreListBeforeNewList(e,r,!0),this.atLeastOneDatabandRenderedOnPage=!1,this.lastFreeSpaceOnPageAfterNewList=this.freeSpace,this.moveKeepComponentsOnNextContainer(e,r),this.indexOfStartList=0,this.finishResetPageNumberContainer(e,!1),this.finishContainer(e)}},u.prototype.newContainerAsync=function(i){return __awaiter(this,void 0,void 0,function(){var e,r,n;return __generator(this,function(t){switch(t.label){case 0:return!this.atLeastOneDatabandRenderedOnPage&&0<this.printOnAllPagesIgnoreList.count&&this.printOnAllPagesIgnoreList.clear(),this.columnsOnPanel.currentColumn=1,e=this.containerForRender,this.finishColumns(e),r=this.searchStartOfKeepContainer(e,this.indexOfStartList),i&&(r=null),null!=e&&null!=r&&0==e.components.indexOf(r)&&(r=null),this.changeEngineParamsByKeep(e,r),n={ref:r},this.renderFootersOnAllPages(e,this.indexOfStartList,n),r=n.ref,this.renderPrintAtBottom(e,this.indexOfStartList,r),[4,this.renderEmptyBandsAsync(e,r)];case 1:return t.sent(),[4,this.threads.newPageAsync()];case 2:return t.sent(),[4,this.newListAsync()];case 3:return t.sent(),this.atLeastOneDatabandRenderedOnPage=!1,[4,this.moveKeepComponentsOnNextContainerAsync(e,r)];case 4:return t.sent(),this.indexOfStartList=0,this.finishResetPageNumberContainer(e,!1),this.finishContainer(e),null!=this.containerForRender&&this.containerForRender.parent.is(Q)&&this.containerForRender.canGrow&&null!=this.masterEngine&&this.freeSpace<1e11/2&&(this.freeSpace=this.masterEngine.positionBottomY-this.containerForRender.top,this.containerForRender.height=this.freeSpace),[2]}})})},u.prototype.newContainer=function(t){!this.atLeastOneDatabandRenderedOnPage&&0<this.printOnAllPagesIgnoreList.count&&this.printOnAllPagesIgnoreList.clear(),this.columnsOnPanel.currentColumn=1;var e=this.containerForRender;this.finishColumns(e);var r=this.searchStartOfKeepContainer(e,this.indexOfStartList);t&&(r=null),null!=e&&null!=r&&0==e.components.indexOf(r)&&(r=null),this.changeEngineParamsByKeep(e,r);var t={ref:r};this.renderFootersOnAllPages(e,this.indexOfStartList,t),r=t.ref,this.renderPrintAtBottom(e,this.indexOfStartList,r),this.renderEmptyBands(e,r),this.threads.newPage(),this.newList(),this.atLeastOneDatabandRenderedOnPage=!1,this.moveKeepComponentsOnNextContainer(e,r),this.indexOfStartList=0,this.finishResetPageNumberContainer(e,!1),this.finishContainer(e),null!=this.containerForRender&&this.containerForRender.parent.is(Q)&&this.containerForRender.canGrow&&null!=this.masterEngine&&this.freeSpace<1e11/2&&(this.freeSpace=this.masterEngine.positionBottomY-this.containerForRender.top,this.containerForRender.height=this.freeSpace)},u.prototype.newDestinationAsync=function(e){return void 0===e&&(e=!1),__awaiter(this,void 0,void 0,function(){return __generator(this,function(t){switch(t.label){case 0:if(!(1<this.columnsOnPanel.count))return[3,2];return[4,this.newColumnAsync(e)];case 1:return t.sent(),[3,4];case 2:return[4,this.newPageAsync(e)];case 3:t.sent(),t.label=4;case 4:return[2]}})})},u.prototype.newDestination=function(t){void 0===t&&(t=!1),1<this.columnsOnPanel.count?this.newColumn(t):this.newPage(t)},u.prototype.addFooterMarker=function(t){var e=new D.StiFooterMarkerContainer;e.top=this.positionY,e.left=this.positionX,e.width=e.width,e.height=0,e.name=t.name,this.addContainerToDestination(e)},u.prototype.addKeepLevelAtLatestDataBand=function(){var t,e,r;null!=this.indexOfLatestDataBand&&(t=this.containerForRender,e=this.indexOfLatestDataBand.index,-1!=this.indexOfLatestDataBand.indexInColumnContainer&&t.components.count>this.indexOfLatestDataBand.indexInColumnContainer&&(t=t.components.getByIndex(this.indexOfLatestDataBand.indexInColumnContainer)).columnDirection==n.AcrossThenDown&&(e-=t.getLengthOfLastRow()-1),e<t.components.count&&0<=e&&t.components.insert(e,new D.StiLevelStartContainer))},u.prototype.addLevel=function(){var t;this.columnsOnDataBand.enabled?this.columnsOnDataBand.getColumns().addContainer(new D.StiLevelStartContainer):this.addContainerToDestination(new D.StiLevelStartContainer)},u.prototype.removeLevel=function(){var t;this.columnsOnDataBand.enabled?this.columnsOnDataBand.getColumns().addContainer(new D.StiLevelEndContainer):this.addContainerToDestination(new D.StiLevelEndContainer)},u.prototype.getChildBands=function(t){null==this.childsBandHash&&(this.childsBandHash=new F);var e=this.childsBandHash.get(t);if(null!=e)return e;return e=D.StiBandBuilder.getChildBands(t),this.childsBandHash.set(t,e),e},u.prototype.clearPageBreakSkipFirst=function(){this.pageBreakSkipFirstCollection.clear()},u.prototype.canGenerateNewContainer=function(t){if(null==t)return!0;if(!t.skipFirst)return!0;if(null!=this.pageBreakSkipFirstCollection.get(t))return!0;return this.pageBreakSkipFirstCollection.set(t,t),!1},u.prototype.removeBandFromPageBreakSkipList=function(t){if(null==t)return;null!=this.pageBreakSkipFirstCollection.get(t)&&this.pageBreakSkipFirstCollection.remove(t)},u.prototype.processPageAfterRendering=function(t,e){var r,n;if(this.allowEndOfPageProcessing){var i=t.getComponents();try{for(var o=__values(i.list),a=o.next();!a.done;a=o.next()){var s=a.value,l=s.as(h),u;null!=l&&l.processAt==d.EndOfPage&&(u=new g,l.invokeGetValue(s,u),l.text=u.value)}}catch(t){r={error:t}}finally{try{a&&!a.done&&(n=o.return)&&n.call(o)}finally{if(r)throw r.error}}}var c=this.renderState;null!=this.masterEngine&&(c=this.masterEngine.renderState),D.StiRenderProvider.processPageToCache(this.report,t,e),null!=c&&D.StiRenderProvider.clearPagesWhichLessThenFromPageAndGreaterThenToPage(this.report,c),D.StiRenderProvider.clearPagesForFirstPass(this.report)},u.prototype.processLastPageAfterRendering=function(){var t=this.report.renderedPages.getByIndex(this.report.renderedPages.count-1);this.processPageAfterRendering(t,!1)},u.prototype.processRendering=function(){if(this.report.isStopped)throw new Error("StiReportRenderingStopException");if(this.report.invokeRendering(),null!=this.masterReport&&(this.masterReport.invokeRendering(),this.masterReport.isStopped))throw new Error("StiReportRenderingStopException")},u.prototype.reprocessRuntimeVariables=function(t){var e,r,n,i,o=t.getComponents();try{for(var a=__values(o.list),s=a.next();!s.done;s=a.next()){var l=s.value;if(!l.is(m))continue;var u=this.report.totals.get(l.name);if(null==u||0==u.length)continue;try{for(var c=(n=void 0,__values(u)),p=c.next();!p.done;p=c.next()){var h=p.value;h.textBox==l&&(h.pageIndex=this.report.renderedPages.count,h.currentPrintPage=this.report.renderedPages.count)}}catch(t){n={error:t}}finally{try{p&&!p.done&&(i=c.return)&&i.call(c)}finally{if(n)throw n.error}}}}catch(t){e={error:t}}finally{try{s&&!s.done&&(r=a.return)&&r.call(a)}finally{if(e)throw e.error}}},u.prototype.finalClearAsync=function(){return __awaiter(this,void 0,void 0,function(){return __generator(this,function(t){switch(t.label){case 0:return this.changeEngineParamsByKeep(this.containerForRender,null),this.renderFootersOnAllPages(null,0,{ref:null}),this.renderPrintAtBottom(null,0,null),[4,this.renderEmptyBandsAsync(this.containerForRender,null)];case 1:return t.sent(),this.finishColumns(this.containerForRender),this.finishResetPageNumberContainer(this.containerForRender,!0),this.finishContainer(null),this.emptyBands.clear(),null!=this.childsBandHash&&(this.childsBandHash.clear(),this.childsBandHash=null),null!=this.duplilcatesLastValues&&(this.duplilcatesLastValues.clear(),this.duplilcatesLastValues=null),(this.indexOfLatestDataBand=null)!=this.hashCheckSize&&(this.hashCheckSize.clear(),this.hashCheckSize=null),null!=this.hashParentStyles&&(this.hashParentStyles.clear(),this.hashParentStyles=null),this.clearPageBreakSkipFirst(),[2]}})})},u.prototype.finalClear=function(){this.changeEngineParamsByKeep(this.containerForRender,null),this.renderFootersOnAllPages(null,0,{ref:null}),this.renderPrintAtBottom(null,0,null),this.renderEmptyBands(this.containerForRender,null),this.finishColumns(this.containerForRender),this.finishResetPageNumberContainer(this.containerForRender,!0),this.finishContainer(null),this.emptyBands.clear(),null!=this.childsBandHash&&(this.childsBandHash.clear(),this.childsBandHash=null),null!=this.duplilcatesLastValues&&(this.duplilcatesLastValues.clear(),this.duplilcatesLastValues=null),(this.indexOfLatestDataBand=null)!=this.hashCheckSize&&(this.hashCheckSize.clear(),this.hashCheckSize=null),null!=this.hashParentStyles&&(this.hashParentStyles.clear(),this.hashParentStyles=null),this.clearPageBreakSkipFirst()},u.prototype.isPrintAtBottomOrFooterOnAllPages=function(t){if(null==t)return!1;if(null==t.containerInfo.parentBand)return!1;var e=t.containerInfo.parentBand.as(S.Report.Components.IStiPrintAtBottom);if(null!=e&&e.printAtBottom)return!0;var t=t.containerInfo.parentBand.as(k);return null!=t&&t.printOnAllPages},u.prototype.changeEngineParamsByKeep=function(t,e){if(null==e)return;for(var r,n=t.components.indexOf(e);n<t.components.count;n++){var i=t.components.getByIndex(n).as(a);i.is(G)&&!this.isPrintAtBottomOrFooterOnAllPages(i.as(G))&&(this.positionY-=i.height),this.freeSpace+=i.height}},u.prototype.setNewColumnParameters=function(){this.isCrossBandsMode?(this.crossFreeSpace=this.staticBands.reservedCrossFreeSpace,this.positionX=this.staticBands.reservedPositionX,this.positionY=this.staticBands.reservedPositionY):(this.freeSpace=this.staticBands.reservedFreeSpace,this.columnsOnPanel.rightToLeft?this.positionX-=this.columnsOnPanel.getColumnWidth()+this.columnsOnPanel.columnGaps:this.positionX+=this.columnsOnPanel.getColumnWidth()+this.columnsOnPanel.columnGaps,this.positionY=this.staticBands.reservedPositionY+this.offsetNewColumnY,this.positionBottomY=this.staticBands.reservedPositionBottomY)},u.prototype.setNewPageParameters=function(){this.isCrossBandsMode?(this.crossFreeSpace=this.templateContainer.width,this.positionX=0,this.positionY=0):(this.freeSpace=this.templateContainer.height,this.columnsOnPanel.rightToLeft?this.positionX=this.templateContainer.width-this.columnsOnPanel.getColumnWidth():this.positionX=0,this.positionY=0,this.positionBottomY=this.templateContainer.height),this.columnsOnPanel.currentColumn=1},u.prototype.processNewContainerBeforeAsync=function(i){return __awaiter(this,void 0,void 0,function(){var e,r,e,n,r;return __generator(this,function(t){switch(t.label){case 0:if(this.needResetPageNumberForNewPage=i.resetPageNumber,!this.generateNewPageBeforeBand)return[3,7];if(this.generateNewPageBeforeBand=!1,e=this.canGenerateNewContainer(i.as(o)),r=!1,!this.ignoreSkipFirst)return[3,2];return this.ignoreSkipFirst=!1,[4,this.newPageAsync()];case 1:return t.sent(),r=!0,[3,4];case 2:if(!this.canGenerateNewContainer)return[3,4];return[4,this.newPageAsync()];case 3:t.sent(),r=!0,t.label=4;case 4:if(!(r&&i.is(M)&&1<i.columns&&null==this.columnsOnDataBand.getColumns()))return[3,6];return[4,this.columnsOnDataBand.renderColumnsAsync(i.as(M))];case 5:t.sent(),t.label=6;case 6:return[3,18];case 7:if(!this.generateNewColumnBeforeBand)return[3,12];if(this.generateNewColumnBeforeBand=!1,e=this.canGenerateNewContainer(i.as(o)),!this.ignoreSkipFirst)return[3,9];return this.ignoreSkipFirst=!1,[4,this.newColumnAsync()];case 8:return t.sent(),[3,11];case 9:if(!this.canGenerateNewContainer)return[3,11];return[4,this.newColumnAsync()];case 10:t.sent(),t.label=11;case 11:return[3,18];case 12:if(null==(n=i.as(o)))return[2];if(!n.newPageBefore&&!n.newColumnBefore)return[3,18];if(r=100*this.freeSpace/this.containerForRender.height,!(n.breakIfLessThan>r||100==n.breakIfLessThan))return[3,18];if(!n.newPageBefore||!this.canGenerateNewContainer(i.as(o)))return[3,15];return[4,this.newPageAsync()];case 13:return t.sent(),[4,this.processNewContainerInDetailBandsAsync(i,!0,!1)];case 14:return t.sent(),[3,18];case 15:if(!n.newColumnBefore||!this.canGenerateNewContainer(i.as(o)))return[3,18];return[4,this.newColumnAsync()];case 16:return t.sent(),[4,this.processNewContainerInDetailBandsAsync(i,!1,!0)];case 17:t.sent(),t.label=18;case 18:return this.needResetPageNumberForNewPage=!1,[2]}})})},u.prototype.processNewContainerBefore=function(t){if(this.needResetPageNumberForNewPage=t.resetPageNumber,this.generateNewPageBeforeBand){this.generateNewPageBeforeBand=!1;var e=this.canGenerateNewContainer(t.as(o)),r=!1;this.ignoreSkipFirst?(this.ignoreSkipFirst=!1,this.newPage(),r=!0):this.canGenerateNewContainer&&(this.newPage(),r=!0),r&&t.is(M)&&1<t.columns&&null==this.columnsOnDataBand.getColumns()&&this.columnsOnDataBand.renderColumns(t.as(M))}else if(this.generateNewColumnBeforeBand){this.generateNewColumnBeforeBand=!1;var e=this.canGenerateNewContainer(t.as(o));this.ignoreSkipFirst?(this.ignoreSkipFirst=!1,this.newColumn()):this.canGenerateNewContainer&&this.newColumn()}else{var n=t.as(o),r;if(null==n)return;(n.newPageBefore||n.newColumnBefore)&&(r=100*this.freeSpace/this.containerForRender.height,(n.breakIfLessThan>r||100==n.breakIfLessThan)&&(n.newPageBefore&&this.canGenerateNewContainer(t.as(o))?(this.newPage(),this.processNewContainerInDetailBands(t,!0,!1)):n.newColumnBefore&&this.canGenerateNewContainer(t.as(o))&&(this.newColumn(),this.processNewContainerInDetailBands(t,!1,!0))))}this.needResetPageNumberForNewPage=!1},u.prototype.processNewContainerAfter=function(t){var e=t.as(o),t;if(null==e)return;(e.newPageAfter||e.newColumnAfter)&&(t=100*this.freeSpace/this.containerForRender.height,(e.breakIfLessThan>t||100==e.breakIfLessThan)&&(e.newPageAfter?(this.generateNewPageBeforeBand=!0,this.ignoreSkipFirst=!0):e.newColumnAfter&&(this.generateNewColumnBeforeBand=!0,this.ignoreSkipFirst=!0)))},u.prototype.processNewContainerInDetailBandsAsync=function(s,l,u){return __awaiter(this,void 0,void 0,function(){var e,r,n,i,e,i,o,o,a;return __generator(this,function(t){switch(t.label){case 0:if(null==(e=s.as(M)))return[3,12];t.label=1;case 1:t.trys.push([1,10,11,12]),r=__values(e.dataBandInfo.detailDataBands.list),n=r.next(),t.label=2;case 2:if(n.done)return[3,9];if((i=n.value).parent==e.parent)return[3,8];if(e=null!=this.masterEngine?this.masterEngine:this,null==(i=e.slaveEngines.get(i.parent.name)))return[3,8];if(!l)return[3,4];return[4,i.newPageAsync()];case 3:return t.sent(),[3,8];case 4:if(!u)return[3,8];if(!(null!=s.page&&s.page.columns<2))return[3,6];return[4,i.newPageAsync()];case 5:return t.sent(),[3,8];case 6:return[4,i.newColumnAsync()];case 7:t.sent(),t.label=8;case 8:return n=r.next(),[3,2];case 9:return[3,12];case 10:return o=t.sent(),o={error:o},[3,12];case 11:try{n&&!n.done&&(a=r.return)&&a.call(r)}finally{if(o)throw o.error}return[7];case 12:return[2]}})})},u.prototype.processNewContainerInDetailBands=function(t,e,r){var n,i,o=t.as(M);if(null!=o)try{for(var a=__values(o.dataBandInfo.detailDataBands.list),s=a.next();!s.done;s=a.next()){var l=s.value,u,l;l.parent==o.parent||null!=(l=(null!=this.masterEngine?this.masterEngine:this).slaveEngines.get(l.parent.name))&&(e?l.newPage():r&&(null!=t.page&&t.page.columns<2?l.newPage():l.newColumn()))}}catch(t){n={error:t}}finally{try{s&&!s.done&&(i=a.return)&&i.call(a)}finally{if(n)throw n.error}}},u.prototype.searchStartOfKeepContainer=function(t,e){if(null==t)return null;var r=e,n=-1,i=-1,o=null;while(r<t.components.count){var a=t.components.getByIndex(r).as(D.StiLevelStartContainer);null!=a&&(-1==n&&(o=a,i=r),n++);var s=t.components.getByIndex(r).as(D.StiLevelEndContainer);null!=s&&--n<0&&(o=null,i=n=-1),null!=a||null!=s?t.components.removeAt(r):r++}return null!=o&&(o=i>=t.components.count?null:t.components.getByIndex(i).as(G)),o},u.prototype.moveKeepComponentsOnNextContainerAsync=function(d,g){var f;return __awaiter(this,void 0,void 0,function(){var e,r,n,i,o,a,s,l,l,u,c,e,p,h,h,p,m;return __generator(this,function(t){switch(t.label){case 0:if(null==d)return[2];if(null==g)return[3,9];for(e=d.components.indexOf(g),r=[],n=e;n<d.components.count;n++){if(null==(i=d.components.getByIndex(n).as(G)))continue;if(i.is2(D.StiFooterMarkerContainer))continue;if(!i.containerInfo.isAutoRendered)for(r.push(i),o=n+1;o<d.components.count;o++){if(a=d.components.getByIndex(o).as(G),s=!1,null!=a&&(null!=a.containerInfo.parentBand&&a.containerInfo.parentBand.is(S.Report.Components.StiColumnHeaderBand)&&(s=!0),null!=(l=null!=a.containerInfo.parentBand?a.containerInfo.parentBand.as(S.Report.Components.IStiPrintAtBottom):null)&&l.printAtBottom))break;l=d.components.getByIndex(o).top>i.top,!s&&l&&(d.components.getByIndex(o).top-=i.height)}}t.label=1;case 1:t.trys.push([1,6,7,8]),u=__values(r),c=u.next(),t.label=2;case 2:if(c.done)return[3,5];if(e=c.value,this.breakable.setCanBreak(e),d.components.remove(e),e.parent=null,this.isNeedToSkip(e.containerInfo.parentBand))return[3,4];return[4,this.renderContainerAsync(e,this.printAtBottom.canProcess(e.containerInfo.parentBand),this.footersOnAllPages.canProcess(e.containerInfo.parentBand))];case 3:t.sent(),t.label=4;case 4:return c=u.next(),[3,2];case 5:return[3,8];case 6:return p=t.sent(),p={error:p},[3,8];case 7:try{c&&!c.done&&(m=u.return)&&m.call(u)}finally{if(p)throw p.error}return[7];case 8:null!=this.containerForRender&&0<(h=this.containerForRender.components.count)&&(h=this.containerForRender.components.getByIndex(h-1).as(G),null!==(f=null==h?void 0:h.containerInfo.parentBand)&&void 0!==f&&f.is(M)&&(this.printOnAllPagesIgnoreList.clear(),this.atLeastOneDatabandRenderedOnPage=!0)),t.label=9;case 9:return[2]}})})},u.prototype.moveKeepComponentsOnNextContainer=function(t,e){var r,n,e;if(null==t)return;if(null!=e){for(var i,o=[],a=t.components.indexOf(e),e,e;a<t.components.count;a++){var s=t.components.getByIndex(a).as(G);if(null==s)continue;if(s.is2(D.StiFooterMarkerContainer))continue;if(!s.containerInfo.isAutoRendered){o.push(s);for(var l=a+1;l<t.components.count;l++){var u=t.components.getByIndex(l).as(G),c=!1;if(null!=u){null!=u.containerInfo.parentBand&&u.containerInfo.parentBand.is(S.Report.Components.StiColumnHeaderBand)&&(c=!0);var p=null!=u.containerInfo.parentBand?u.containerInfo.parentBand.as(S.Report.Components.IStiPrintAtBottom):null;if(null!=p&&p.printAtBottom)break}var p=t.components.getByIndex(l).top>s.top;!c&&p&&(t.components.getByIndex(l).top-=s.height)}}}try{for(var h=__values(o),m=h.next();!m.done;m=h.next()){var d=m.value;this.breakable.setCanBreak(d),t.components.remove(d),d.parent=null,this.isNeedToSkip(d.containerInfo.parentBand)||this.renderContainer(d,this.printAtBottom.canProcess(d.containerInfo.parentBand),this.footersOnAllPages.canProcess(d.containerInfo.parentBand))}}catch(t){r={error:t}}finally{try{m&&!m.done&&(n=h.return)&&n.call(h)}finally{if(r)throw r.error}}null==this.containerForRender||0<(e=this.containerForRender.components.count)&&(null!==(e=null==(e=this.containerForRender.components.getByIndex(e-1).as(G))?void 0:e.containerInfo.parentBand)&&void 0!==e&&e.is(M)&&(this.printOnAllPagesIgnoreList.clear(),this.atLeastOneDatabandRenderedOnPage=!0))}},u.prototype.correctPrintOnAllPagesIgnoreListBeforeNewList=function(t,e,r){var n,i;if(r){try{for(var o=__values(this.printOnAllPagesIgnoreList2.keys),a=o.next();!a.done;a=o.next()){var s=a.value;this.printOnAllPagesIgnoreList.remove(s)}}catch(t){n={error:t}}finally{try{a&&!a.done&&(i=o.return)&&i.call(o)}finally{if(n)throw n.error}}this.printOnAllPagesIgnoreList2.clear()}else{if(null==t||null==e)return;this.printOnAllPagesIgnoreList2.clear();for(var l,u=t.components.indexOf(e);u<t.components.count;u++){var c=t.components.getByIndex(u).as(G);null==c||c.containerInfo.isAutoRendered||(this.bandsOnAllPages.isBandInBandsList(c.containerInfo.parentBand)||null!=c.containerInfo.parentBand&&c.containerInfo.parentBand.is(p)&&this.bandsOnAllPages.isBandInBandsList(c.containerInfo.parentBand.getMaster()))&&(this.printOnAllPagesIgnoreList.containsKey(c.containerInfo.parentBand)||this.printOnAllPagesIgnoreList2.set(c.containerInfo.parentBand,c.containerInfo.parentBand),this.printOnAllPagesIgnoreList.set(c.containerInfo.parentBand,c.containerInfo.parentBand))}}},u.prototype.isNeedToPrintOddEven=function(t){var e=t.as(S.Report.Components.IStiPrintOnEvenOddPages);if(null==e)return!0;if(e.printOnEvenOddPages==r.Ignore)return!0;var t=1&this.report.pageNumber;if(e.printOnEvenOddPages==r.PrintOnEvenPages&&0==t)return!0;if(e.printOnEvenOddPages==r.PrintOnOddPages&&1==t)return!0;return!1},u.prototype.isNeedToSkip=function(t){if(null==t)return!1;if(null!=this.printOnAllPagesIgnoreList.get(t))return!0;if(t.is(M)&&null!=this.containerForRender){var e=this.containerForRender.components;if(0<e.count){var e=e.getByIndex(e.count-1).as(G);if(null!=e&&e.containerInfo.parentBand==t&&e.containerInfo.isAutoRendered)return!0}}return!1},u.prototype.renderFootersOnAllPages=function(t,e,r){void 0===e&&(e=this.indexOfStartList),void 0===r&&(r={ref:null}),null!=t?this.footersOnAllPages.render(t,e,r):this.footersOnAllPages.render(this.containerForRender,e,r)},u.prototype.renderEmptyBandsAsync=function(e,r){return __awaiter(this,void 0,void 0,function(){return __generator(this,function(t){switch(t.label){case 0:if(null==e)return[3,2];return[4,this.emptyBands.renderAsync(e,r)];case 1:t.sent(),t.label=2;case 2:return[2]}})})},u.prototype.renderEmptyBands=function(t,e){null!=t&&this.emptyBands.render(t,e)},u.prototype.renderPrintAtBottom=function(t,e,r){null!=t?this.printAtBottom.render(t,e,r):this.printAtBottom.render(this.containerForRender,e,r)},u.prototype.finishContainer=function(t){var e,r;if(null==t)return;try{for(var n=__values(t.components.list),i=n.next();!i.done;i=n.next()){var o,a=i.value.as(G);null!=a&&(a.componentType==_.Static&&null!=a.page&&1<a.page.columns||(a.containerInfo.parentBand=null))}}catch(t){e={error:t}}finally{try{i&&!i.done&&(r=n.return)&&r.call(n)}finally{if(e)throw e.error}}},u.prototype.finishResetPageNumberContainer=function(t,e){var r,n;if(null==t)return;try{for(var i=__values(t.components.list),o=i.next();!o.done;o=i.next()){var a,s=o.value.as(G),s;null!=s&&(null==s.containerInfo.parentBand||!s.containerInfo.parentBand.resetPageNumber||s.containerInfo.ignoreResetPageNumber||s.containerInfo.isAutoRendered||(s=this.report.renderedPages.count-2,e&&s++,this.pageNumbers.resetPageNumber(s)))}}catch(t){r={error:t}}finally{try{o&&!o.done&&(n=i.return)&&n.call(i)}finally{if(r)throw r.error}}},u.prototype.finishColumns=function(t){var e,r;if(null==t)return;var n=0;while(n<t.components.count){var i=t.components.getByIndex(n).as(D.StiColumnsContainer);if(null!=i){i.finishColumns(),t.components.remove(i);try{for(var o=(e=void 0,__values(i.components.list)),a=o.next();!a.done;a=o.next()){var s=a.value;s.left+=i.left,s.top+=i.top,(s.parent=t).components.insert(n,s),n++}}catch(t){e={error:t}}finally{try{a&&!a.done&&(r=o.return)&&r.call(o)}finally{if(e)throw e.error}}}else n++}},u.prototype.addContainerToDestination=function(t){if(null==this.containerForRender)return;-1!=t.containerInfo.setSegmentPerWidth&&null!=this.page&&t.containerInfo.setSegmentPerWidth>this.page.segmentPerWidth&&(this.page.segmentPerWidth=t.containerInfo.setSegmentPerWidth),this.containerForRender.components.add(t)},u.prototype.invokePageAfterPrint=function(){if(null!=this.templatePage&&null!=this.templatePage.report&&0!=this.templatePage.report.renderedPages.count){var t=this.report.renderedPages.toList().lastOrDefault();if(null==t)return;StiOptions.Engine.useTemplateForPagePrintEvents?t.invokeAfterPrint(this.templatePage,C.empty):t.invokeAfterPrint(t,C.empty)}},u.prototype.addPageToRenderedPages=function(t){if(this.invokePageAfterPrint(),0!=this.templatePage.stopBeforePrint&&this.templatePage.pageInfo.renderedCount-1==this.templatePage.stopBeforePrint)throw new Error("StiStopBeforePrintException");if(0!=this.report.stopBeforePage&&this.report.stopBeforePage<=this.report.currentPrintPage)throw new Error("StiStopBeforePageException");StiOptions.Engine.fixPageNumberInEvents?(this.report.currentPrintPage++,this.report.renderedPages.add(t),this.processRendering(),this.templatePage.invokeRendering()):(this.report.renderedPages.add(t),this.report.currentPrintPage++),0!=this.page.report.renderedPages.count&&(this.skipFirstPageBeforePrintEvent||(StiOptions.Engine.useTemplateForPagePrintEvents?this.page.invokeBeforePrint(this.templatePage,C.empty):this.page.invokeBeforePrint(this.page,C.empty)),this.skipFirstPageBeforePrintEvent=!1,this.page.paperSize=this.templatePage.paperSize,this.page.orientation=this.templatePage.orientation,this.page.pageWidth=this.templatePage.pageWidth,this.page.pageHeight=this.templatePage.pageHeight,this.page.margins=new i(this.templatePage.margins.left,this.templatePage.margins.right,this.templatePage.margins.top,this.templatePage.margins.bottom))},u.prototype.checkFreeSpace1Async=function(r){return __awaiter(this,void 0,void 0,function(){var e;return __generator(this,function(t){switch(t.label){case 0:if(!this.isCrossBandsMode)return[3,2];return[4,this.checkFreeSpace2Async(r.width)];case 1:return[2,t.sent()];case 2:return[4,this.checkFreeSpace2Async(r.height)];case 3:if(e=t.sent())return this.breakable.setCanBreak(r),[2,!1];return[2,e]}})})},u.prototype.checkFreeSpace1=function(t){if(this.isCrossBandsMode)return this.checkFreeSpace2(t.width);var e=this.checkFreeSpace2(t.height);if(e)return this.breakable.setCanBreak(t),!1;return e},u.prototype.checkFreeSpace2Async=function(r){return __awaiter(this,void 0,void 0,function(){var e;return __generator(this,function(t){switch(t.label){case 0:if(!this.isCrossBandsMode)return[3,3];if(!(r>this.crossFreeSpace))return[3,2];return[4,this.newDestinationAsync()];case 1:if(t.sent(),r>this.crossFreeSpace)return[2,!1];return[2,!0];case 2:return[3,10];case 3:if(!(r>this.freeSpace))return[3,10];if(!(this.templatePage.unlimitedHeight&&this.templatePage.columns<2))return[3,8];if(null==this.page)return this.freeSpace+=this.templatePage.pageHeight-this.templatePage.margins.top-this.templatePage.margins.bottom,[2,!1];while((this.positionY+r)/this.templatePage.height+1>this.page.segmentPerHeight)this.page.segmentPerHeight++,this.templatePage.unlimitedBreakable||(this.freeSpace+=this.templatePage.height);if(!(r>this.freeSpace+(this.templatePage.height-this.positionBottomY)))return[3,7];if(!this.templatePage.unlimitedBreakable)return[3,6];if(!(0<this.positionY))return[3,5];return this.freeSpace+=this.templatePage.height-this.positionBottomY,e=this.ignoreUnlimitedHeightForNewPage,this.ignoreUnlimitedHeightForNewPage=!1,[4,this.newDestinationAsync()];case 4:t.sent(),this.ignoreUnlimitedHeightForNewPage=e,t.label=5;case 5:if(r>this.templatePage.height)return[2,!0];t.label=6;case 6:return[2,!1];case 7:return[3,10];case 8:return[4,this.newDestinationAsync()];case 9:return t.sent(),[2,!0];case 10:return[2,!1]}})})},u.prototype.checkFreeSpace2=function(t){if(this.isCrossBandsMode){if(t>this.crossFreeSpace){if(this.newDestination(),t>this.crossFreeSpace)return!1;return!0}}else if(t>this.freeSpace){if(!(this.templatePage.unlimitedHeight&&this.templatePage.columns<2))return this.newDestination(),!0;if(null==this.page)return this.freeSpace+=this.templatePage.pageHeight-this.templatePage.margins.top-this.templatePage.margins.bottom,!1;while((this.positionY+t)/this.templatePage.height+1>this.page.segmentPerHeight)this.page.segmentPerHeight++,this.templatePage.unlimitedBreakable||(this.freeSpace+=this.templatePage.height);if(
t>this.freeSpace+(this.templatePage.height-this.positionBottomY)){var e;if(this.templatePage.unlimitedBreakable)if(0<this.positionY&&(this.freeSpace+=this.templatePage.height-this.positionBottomY,e=this.ignoreUnlimitedHeightForNewPage,this.ignoreUnlimitedHeightForNewPage=!1,this.newDestination(),this.ignoreUnlimitedHeightForNewPage=e),t>this.templatePage.height)return!0;return!1}}return!1},u.prototype.storeLatestDataBand=function(t){var e,t;t.is(M)&&(this.columnsOnDataBand.enabled?null==(e=this.columnsOnDataBand.getColumns())?this.indexOfLatestDataBand=new D.StiIndex(0,this.containerForRender.components.count):(t=this.containerForRender.components.indexOf(e),this.indexOfLatestDataBand=new D.StiIndex(e.components.count,t)):this.indexOfLatestDataBand=new D.StiIndex(this.containerForRender.components.count))},u.prototype.setReportVariables=function(t){var t;t.setReportVariables(),this.columnsOnDataBand.enabled&&t.is(M)?null!=(t=this.columnsOnDataBand.getColumns())&&(this.report.column=t.getCurrentColumn()):this.report.column=this.columnsOnPanel.currentColumn},u.prototype.checkForDuplicate=function(t,e,r){if(null==this.duplilcatesLastValues&&(this.duplilcatesLastValues=new F),this.duplilcatesLastValues.containsKey(t)&&e==this.duplilcatesLastValues.get(t)&&r==this.duplilcatesLastValues.get(t+"_tag"))return!0;return this.duplilcatesLastValues.set(t,e),this.duplilcatesLastValues.set(t+"_tag",r),!1},u.prototype.resetProcessingDuplicates1=function(t){null!=this.duplilcatesLastValues&&this.duplilcatesLastValues.containsKey(t)&&this.duplilcatesLastValues.set(t,null)},u.prototype.resetProcessingDuplicates2=function(t){var t=P.format("{0}_{1}",t.left,t.width);null!=this.duplilcatesLastValues&&this.duplilcatesLastValues.containsKey(t)&&this.duplilcatesLastValues.set(t,null)},u.prototype.getSumTagsOnPage=function(t,e){var r;return 0},u.prototype.getComponentByNameFromRenderedPage=function(t,e){var r,n;try{for(var i=__values(t.getComponents().list),o=i.next();!o.done;o=i.next()){var a=o.value;if(a.name==e)return a}}catch(t){r={error:t}}finally{try{o&&!o.done&&(n=i.return)&&n.call(i)}finally{if(r)throw r.error}}return null},u.prototype.renderBandAsync=function(T,E,R){return void 0===E&&(E=!1),void 0===R&&(R=!1),__awaiter(this,void 0,void 0,function(){var e,r,n,i,o,a,s,l,u,c,p,a,h,m,d,s,g,f,g,f,S,y,A,b,C,v,g,w,B,I;return __generator(this,function(t){switch(t.label){case 0:this.bandsInProgress.push(T),t.label=1;case 1:if(t.trys.push([1,,11,12]),e=new H,r=!0,T.is(M)&&1<T.columns&&(r=!1),n=null,r){n=this.getChildBands(T);try{for(i=__values(n.list),o=i.next();!o.done;o=i.next())(a=o.value).keepChildTogether&&this.addLevel()}catch(t){C={error:t}}finally{try{o&&!o.done&&(v=i.return)&&v.call(i)}finally{if(C)throw C.error}}}return l={ref:s=!0},[4,this.internalRenderBandAsync(T,E,R,l)];case 2:if(u=t.sent(),s=l.ref,null!=u&&e.add(u),!r)return[3,10];t.label=3;case 3:t.trys.push([3,8,9,10]),c=__values(n.list),p=c.next(),t.label=4;case 4:if(p.done)return[3,7];return a=p.value,h=a.enabled,s||a.printIfParentDisabled||(a.enabled=!1),m=!(!s&&!a.printIfParentDisabled),d={ref:m},[4,this.internalRenderBandAsync(a,E,R,d)];case 5:s=t.sent(),m=d.ref,null!=s&&e.add(s),a.keepChildTogether&&this.removeLevel(),a.enabled=h,t.label=6;case 6:return p=c.next(),[3,4];case 7:return[3,10];case 8:return g=t.sent(),g={error:g},[3,10];case 9:try{p&&!p.done&&(w=c.return)&&w.call(c)}finally{if(g)throw g.error}return[7];case 10:if((T.is(N)&&T.printOnAllPages||T.is(k)&&T.printOnAllPages)&&null!=u&&0<u.components.count&&(f=this,null!=this.report&&null!=this.report.engine&&(f=this.report.engine),null==f.componentPlacementRemakeTable&&(f.componentPlacementRemakeTable=new F),f.componentPlacementRemakeTable.containsKey(T)||(f.componentPlacementRemakeTable.set(T,null),g=null,T.is(N)&&(g=D.StiHeaderBandBuilder.getMaster(T)),T.is(k)&&(g=D.StiFooterBandBuilder.getMaster(T)),null!=g&&null!=g.masterComponent&&g.masterComponent.is(M)&&f.componentPlacementRemakeTable.set(T,g.masterComponent)),f=f.componentPlacementRemakeTable.get(T),null!=f&&f.is(M)&&(S=u.components.getByIndex(0).componentPlacement,!P.isNullOrEmpty(S)))){S+="_r"+f.position.toString();try{for(y=__values(u.components.list),A=y.next();!A.done;A=y.next())(b=A.value).componentPlacement=S}catch(t){B={error:t}}finally{try{A&&!A.done&&(I=y.return)&&I.call(y)}finally{if(B)throw B.error}}}return[2,e];case 11:return this.bandsInProgress.stimulsoft.removeAt(this.bandsInProgress.length-1),[7];case 12:return[2]}})})},u.prototype.renderBand=function(t,e,r){var n,i,o,a,s,l;void 0===e&&(e=!1),void 0===r&&(r=!1),this.bandsInProgress.push(t);try{var u=new H,c=!0;t.is(M)&&1<t.columns&&(c=!1);var p=null;if(c){p=this.getChildBands(t);try{for(var h=__values(p.list),m=h.next(),d;!m.done;m=h.next()){(d=m.value).keepChildTogether&&this.addLevel()}}catch(t){n={error:t}}finally{try{m&&!m.done&&(i=h.return)&&i.call(h)}finally{if(n)throw n.error}}}var g,f={ref:g=!0},S=this.internalRenderBand(t,e,r,f),g=f.ref;if(null!=S&&u.add(S),c)try{for(var y=__values(p.list),A=y.next();!A.done;A=y.next()){var d,b=(d=A.value).enabled;g||d.printIfParentDisabled||(d.enabled=!1);var C,v={ref:!(!g&&!d.printIfParentDisabled)},w=this.internalRenderBand(d,e,r,v),C=v.ref;null!=w&&u.add(w),d.keepChildTogether&&this.removeLevel(),d.enabled=b}}catch(t){o={error:t}}finally{try{A&&!A.done&&(a=y.return)&&a.call(y)}finally{if(o)throw o.error}}if((t.is(N)&&t.printOnAllPages||t.is(k)&&t.printOnAllPages)&&null!=S&&0<S.components.count){var f=this,c;null!=this.report&&null!=this.report.engine&&(f=this.report.engine),null==f.componentPlacementRemakeTable&&(f.componentPlacementRemakeTable=new F),f.componentPlacementRemakeTable.containsKey(t)||(f.componentPlacementRemakeTable.set(t,null),c=null,t.is(N)&&(c=D.StiHeaderBandBuilder.getMaster(t)),t.is(k)&&(c=D.StiFooterBandBuilder.getMaster(t)),null!=c&&null!=c.masterComponent&&c.masterComponent.is(M)&&f.componentPlacementRemakeTable.set(t,c.masterComponent));var f=f.componentPlacementRemakeTable.get(t);if(null!=f&&f.is(M)){var B=S.components.getByIndex(0).componentPlacement;if(!P.isNullOrEmpty(B)){B+="_r"+f.position.toString();try{for(var I=__values(S.components.list),T=I.next(),E;!T.done;T=I.next()){T.value.componentPlacement=B}}catch(t){s={error:t}}finally{try{T&&!T.done&&(l=I.return)&&l.call(I)}finally{if(s)throw s.error}}}}}return u}finally{this.bandsInProgress.stimulsoft.removeAt(this.bandsInProgress.length-1)}},u.prototype.internalRenderBandAsync=function(f,S,y,A){var b;return void 0===S&&(S=!1),void 0===y&&(y=!1),void 0===A&&(A={ref:!0}),__awaiter(this,void 0,void 0,function(){var e,r,n,i,o,a,s,l,u,c,p,p,h,l,h,m,h,m,d,g;return __generator(this,function(t){switch(t.label){case 0:if(e=null,this.storeLatestDataBand(f),r=f.as(v),n=f.as(w),i=null,o=B.None,null!=r&&(i=r.brush),null!=n&&null!=n.border&&(o=n.border.side),a=f.enabled,s=f.report,u=!(l=null),f.useParentStyles&&null!=f.parent&&(null!=s&&null!=s.engine&&null!=s.engine.hashParentStyles&&0<s.engine.hashParentStyles.count&&(l=s.engine.hashParentStyles.get(f.parent).as(j)),null==l&&(l=j.getStyle(f.parent)),null!=l&&(l.setStyleToComponent(f),u=!0,null!=(c=f.getComponentStyle2())&&c.setStyleToComponent(f))),StiOptions.Engine.useParentStylesOldMode||null!=(p=D.StiOddEvenStylesHelper.applyOddEvenStyles(this.report,f.as(M),f))&&(l=p),f.invokeBeforePrint(f,C.empty),null!=s&&null!=s.engine&&s.engine.hashUseParentStyles.containsKey(f)&&(null!=l||P.isNullOrWhiteSpace(f.componentStyle)||(l=s.styles.getByName(f.componentStyle)),null!=s.engine.hashParentStyles&&0<s.engine.hashParentStyles.count&&null!=(p=null===(b=s.engine.hashParentStyles.get(f))||void 0===b?void 0:b.as(j))&&(l=p),h=j.getStyle(f,l),null==s.engine.hashParentStyles&&(s.engine.hashParentStyles=new F),s.engine.hashParentStyles.set(f,h),u=!0),l=null,f.is(M)&&(l=f),!f.is(M)||this.isNeedToSkip(f)||this.denyClearPrintOnAllPagesIgnoreList||(this.printOnAllPagesIgnoreList.clear(),this.atLeastOneDatabandRenderedOnPage=!0),(h=A.ref)||(f.enabled=!1),h=f.enabled,A.ref=h,!this.isNeedToPrintOddEven(f)||this.isNeedToSkip(f)||!f.isEnabled)return[3,6];if(this.setReportVariables(f),S)return[3,2];return[4,this.processNewContainerBeforeAsync(f)];case 1:t.sent(),t.label=2;case 2:return[4,f.internalRenderAsync()];case 3:if(e=t.sent().as(G),f.is(M)&&(m=f,e.containerInfo.dataBandPosition=m.position,(h=null!=m.filterMethodHandler||null!=m.sort&&0<m.sort.length||null!=s.dataBandsUsedInPageTotals&&-1!=s.dataBandsUsedInPageTotals.indexOf(f.name))&&null!=m.dataSource&&(e.containerInfo.dataSourceRow=m.dataSource.getDataRow(m.dataSource.position)),null==m.businessObject||null==m.masterComponent&&!h||(e.containerInfo.businessObjectCurrent=m.businessObject.current)),null!=f.parent&&(f.parent.is(Q)?f.componentType==_.Static?e.width=f.parent.width:e.width=f.parent.getColumnWidth():f.isCross||(e.width=f.parent.width)),m=e.page,e.page=f.page,e.invokeEvents(),e.page=m,(e.containerInfo.parentBand=f).componentType!=_.Static&&(e.dockStyle=O.None),StiOptions.Engine.useParentStylesOldMode&&D.StiOddEvenStylesHelper.applyOddEvenStyles(this.report,f.as(M),e),this.silentMode)return[3,5];return[4,this.renderContainerAsync(e,this.printAtBottom.canProcess(f),this.footersOnAllPages.canProcess(f))];case 4:t.sent(),t.label=5;case 5:S||this.processNewContainerAfter(f),t.label=6;case 6:return null!=l&&y&&(f.enabled||l.calcInvisible)&&(l.invokeRendering(),l.invokeGroupRendering()),f.invokeAfterPrint(f,C.empty),u&&null!=s.engine.hashParentStyles&&s.engine.hashParentStyles.remove(f),null!=r&&(r.brush=i),null!=n&&null!=n.border&&(n.border.side=o),f.enabled=a,null!=(d=f.as(w))&&(g=null==e?null:e.as(w)),this.checkContainerOnTable(e),[2,e]}})})},u.prototype.internalRenderBand=function(t,e,r,n){void 0===e&&(e=!1),void 0===r&&(r=!1),void 0===n&&(n={ref:!0});var i=null;this.storeLatestDataBand(t);var o=t.as(v),a=t.as(w),s=null,l=B.None;null!=o&&(s=o.brush),null!=a&&null!=a.border&&(l=a.border.side);var u=t.enabled,c=t.report,p=null,h=!1,m,d,d,g;t.useParentStyles&&null!=t.parent&&(null!=c&&null!=c.engine&&null!=c.engine.hashParentStyles&&0<c.engine.hashParentStyles.count&&(p=c.engine.hashParentStyles.get(t.parent).as(j)),null==p&&(p=j.getStyle(t.parent)),null!=p&&(p.setStyleToComponent(t),h=!0,null!=(m=t.getComponentStyle2())&&m.setStyleToComponent(t))),StiOptions.Engine.useParentStylesOldMode||null!=(d=D.StiOddEvenStylesHelper.applyOddEvenStyles(this.report,t.as(M),t))&&(p=d),t.invokeBeforePrint(t,C.empty),null!=c&&null!=c.engine&&c.engine.hashUseParentStyles.containsKey(t)&&(null!=p||P.isNullOrWhiteSpace(t.componentStyle)||(p=c.styles.getByName(t.componentStyle)),null!=c.engine.hashParentStyles&&0<c.engine.hashParentStyles.count&&null!=(d=c.engine.hashParentStyles.get(t).as(j))&&(p=d),g=j.getStyle(t,p),null==c.engine.hashParentStyles&&(c.engine.hashParentStyles=new F),c.engine.hashParentStyles.set(t,g),h=!0);var p=null;t.is(M)&&(p=t),!t.is(M)||this.isNeedToSkip(t)||this.denyClearPrintOnAllPagesIgnoreList||(this.printOnAllPagesIgnoreList.clear(),this.atLeastOneDatabandRenderedOnPage=!0);var g=n.ref,f,g,f,S,y;return g||(t.enabled=!1),g=t.enabled,n.ref=g,this.isNeedToPrintOddEven(t)&&!this.isNeedToSkip(t)&&t.isEnabled&&(this.setReportVariables(t),e||this.processNewContainerBefore(t),i=t.internalRender().as(G),t.is(M)&&(f=t,i.containerInfo.dataBandPosition=f.position,(g=null!=f.filterMethodHandler||null!=f.sort&&0<f.sort.length||null!=c.dataBandsUsedInPageTotals&&-1!=c.dataBandsUsedInPageTotals.indexOf(t.name))&&null!=f.dataSource&&(i.containerInfo.dataSourceRow=f.dataSource.getDataRow(f.dataSource.position)),null==f.businessObject||null==f.masterComponent&&!g||(i.containerInfo.businessObjectCurrent=f.businessObject.current)),null!=t.parent&&(t.parent.is(Q)?t.componentType==_.Static?i.width=t.parent.width:i.width=t.parent.getColumnWidth():t.isCross||(i.width=t.parent.width)),f=i.page,i.page=t.page,i.invokeEvents(),i.page=f,(i.containerInfo.parentBand=t).componentType!=_.Static&&(i.dockStyle=O.None),StiOptions.Engine.useParentStylesOldMode&&D.StiOddEvenStylesHelper.applyOddEvenStyles(this.report,t.as(M),i),this.silentMode||this.renderContainer(i,this.printAtBottom.canProcess(t),this.footersOnAllPages.canProcess(t)),e||this.processNewContainerAfter(t)),null!=p&&r&&(t.enabled||p.calcInvisible)&&(p.invokeRendering(),p.invokeGroupRendering()),t.invokeAfterPrint(t,C.empty),h&&null!=c.engine.hashParentStyles&&c.engine.hashParentStyles.remove(t),null!=o&&(o.brush=s),null!=a&&null!=a.border&&(a.border.side=l),t.enabled=u,null!=t.as(w)&&(y=null==i?null:i.as(w)),this.checkContainerOnTable(i),i},u.prototype.checkContainerOnTable=function(t){var e,r,n,i,o,a,s,l,u,c;if(null==t||null==t.containerInfo.parentBand)return;if(t.containerInfo.parentBand.is(N)){if(!t.containerInfo.parentBand.headerBandInfo.isTableHeader)return;var p=t.getComponents();try{for(var h=__values(p.list),m=h.next(),d,g,f;!m.done;m=h.next()){if(null!=(g=(d=m.value).as(x))&&g.join&&null!=g.parentJoinCell){null!=d.parent&&(d.parent.minSize=d.parent.maxSize=new R(d.parent.width,d.parent.height)),null!=(f=p.getByName(g.parentJoinCell.name))&&(d.height=f.parent.bottom-d.parent.top,g.cellDockStyle!=O.None&&(d.maxSize=d.minSize=new R(d.width,d.height)));continue}}}catch(t){e={error:t}}finally{try{m&&!m.done&&(r=h.return)&&r.call(h)}finally{if(e)throw e.error}}return}if(t.containerInfo.parentBand.is(E)){if(!t.containerInfo.parentBand.groupHeaderBandInfo.isTableGroupHeader)return;var p=t.getComponents();try{for(var S=__values(p.list),y=S.next(),d,g,f;!y.done;y=S.next()){if(null!=(g=(d=y.value).as(x))&&g.join&&null!=g.parentJoinCell){null!=d.parent&&(d.parent.minSize=d.parent.maxSize=new R(d.parent.width,d.parent.height)),null!=(f=p.getByName(g.parentJoinCell.name))&&(d.height=f.parent.bottom-d.parent.top,g.cellDockStyle!=O.None&&(d.maxSize=d.minSize=new R(d.width,d.height)));continue}}}catch(t){n={error:t}}finally{try{y&&!y.done&&(i=S.return)&&i.call(S)}finally{if(n)throw n.error}}return}if(t.containerInfo.parentBand.is(T)){var p=t.getComponents();try{for(var A=__values(p.list),b=A.next(),d,g,f;!b.done;b=A.next()){if(null!=(g=(d=b.value).as(x))&&g.join&&null!=g.parentJoinCell){null!=d.parent&&(d.parent.minSize=d.parent.maxSize=new R(d.parent.width,d.parent.height)),null!=(f=p.getByName(g.parentJoinCell.name))&&(d.height=f.parent.bottom-d.parent.top,g.cellDockStyle!=O.None&&(d.maxSize=d.minSize=new R(d.width,d.height)));continue}}}catch(t){o={error:t}}finally{try{b&&!b.done&&(a=A.return)&&a.call(A)}finally{if(o)throw o.error}}return}if(t.containerInfo.parentBand.is(k)){if(!t.containerInfo.parentBand.footerBandInfo.isTableFooter)return;var p=t.getComponents();try{for(var C=__values(p.list),v=C.next(),d,g,f;!v.done;v=C.next()){if(null!=(g=(d=v.value).as(x))&&g.join&&null!=g.parentJoinCell){null!=d.parent&&(d.parent.minSize=d.parent.maxSize=new R(d.parent.width,d.parent.height)),null!=(f=p.getByName(g.parentJoinCell.name))&&(d.height=f.parent.bottom-d.parent.top,g.cellDockStyle!=O.None&&(d.maxSize=d.minSize=new R(d.width,d.height)));continue}}}catch(t){s={error:t}}finally{try{v&&!v.done&&(l=C.return)&&l.call(C)}finally{if(s)throw s.error}}return}if(t.containerInfo.parentBand.is(I)){if(!t.containerInfo.parentBand.groupFooterBandInfo.isTableGroupFooter)return;var p=t.getComponents();try{for(var w=__values(p.list),B=w.next(),d,g,f;!B.done;B=w.next()){if(null!=(g=(d=B.value).as(x))&&g.join&&null!=g.parentJoinCell){null!=d.parent&&(d.parent.minSize=d.parent.maxSize=new R(d.parent.width,d.parent.height)),null!=(f=p.getByName(g.parentJoinCell.name))&&(d.height=f.parent.bottom-d.parent.top,g.cellDockStyle!=O.None&&(d.maxSize=d.minSize=new R(d.width,d.height)));continue}}}catch(t){u={error:t}}finally{try{B&&!B.done&&(c=w.return)&&c.call(w)}finally{if(u)throw u.error}}return}},u.prototype.renderContainerAsync=function(r,n,i){return void 0===n&&(n=!1),void 0===i&&(i=!1),__awaiter(this,void 0,void 0,function(){var e;return __generator(this,function(t){switch(t.label){case 0:if(r.is(D.StiColumnsContainer))return[2,this.internalRenderColumnsContainer(r)];if(!r.containerInfo.isColumns||null!=this.columnsOnDataBand.getColumns())return[3,2];return[4,this.columnsOnDataBand.renderColumnsAsync(r.containerInfo.parentBand)];case 1:t.sent(),t.label=2;case 2:if(!(null!=(e=null!=r.containerInfo.parentBand?r.containerInfo.parentBand.as(M):null)&&1<e.columns&&this.columnsOnDataBand.enabled))return[3,4];return[4,this.internalRenderContainerToColumnsAsync(r,n,i)];case 3:return[2,t.sent()];case 4:return[4,this.internalRenderContainerAsync(r,n,i)];case 5:return[2,t.sent()]}})})},u.prototype.renderContainer=function(t,e,r){if(void 0===e&&(e=!1),void 0===r&&(r=!1),t.is(D.StiColumnsContainer))return this.internalRenderColumnsContainer(t);t.containerInfo.isColumns&&null==this.columnsOnDataBand.getColumns()&&this.columnsOnDataBand.renderColumns(t.containerInfo.parentBand);var n=null!=t.containerInfo.parentBand?t.containerInfo.parentBand.as(M):null;if(null!=n&&1<n.columns&&this.columnsOnDataBand.enabled)return this.internalRenderContainerToColumns(t,e,r);return this.internalRenderContainer(t,e,r)},u.prototype.internalRenderColumnsContainer=function(t){return this.isCrossBandsMode?(t.top=this.positionY,t.left=this.positionX,this.addContainerToDestination(t),this.crossFreeSpace-=t.width,this.positionX+=t.width):(t.left=this.positionX,t.top=this.positionY,this.addContainerToDestination(t),this.freeSpace-=t.height,this.positionY+=t.height),t},u.prototype.internalRenderContainerToColumnsAsync=function(a,s,l){return __awaiter(this,void 0,void 0,function(){var e,r,n,i,i,o;return __generator(this,function(t){switch(t.label){case 0:if(a.containerInfo.isColumns=!0,null==(e=this.columnsOnDataBand.getColumns()))return[2,null];if(!(0<(r=e.howMuchAdditionalSpaceNeeded(e.height,a))))return[3,7];if(n=0,null!=e.page&&e.page.unlimitedHeight&&e.page.unlimitedBreakable&&(i=e.page.pageHeight-e.page.margins.top-e.page.margins.bottom,(e.top+e.height)/i!=(e.top+e.height+r)/i&&(n+=i-(e.top+e.height)%i,r-=n)),!(this.freeSpace<r)||this.flagRenderColumnsOnDataBandOnNewPage||0==this.positionY)return[3,6];return null==(i=null!=e.containerInfo.parentBand?e.containerInfo.parentBand.as(M):null)&&(i=a.containerInfo.parentBand.as(M)),[4,this.newDestinationAsync()];case 1:if(t.sent(),null!=(o=this.columnsOnDataBand.getColumns()))return[3,3];return[4,this.columnsOnDataBand.renderColumnsAsync(i)];case 2:return o=t.sent(),[3,4];case 3:this.columnsOnDataBand.enabled=!0,t.label=4;case 4:return this.flagRenderColumnsOnDataBandOnNewPage=!0,[4,this.renderContainerAsync(a,s,l)];case 5:return t.sent(),[2,a];case 6:this.flagRenderColumnsOnDataBandOnNewPage=!1,e.height+=r+n,this.positionY+=r,this.freeSpace-=r,t.label=7;case 7:return e.addContainer(a),[2,a]}})})},u.prototype.internalRenderContainerToColumns=function(t,e,r){t.containerInfo.isColumns=!0;var n=this.columnsOnDataBand.getColumns();if(null==n)return null;var i=n.howMuchAdditionalSpaceNeeded(n.height,t);if(0<i){var o=0,a;if(null!=n.page&&n.page.unlimitedHeight&&n.page.unlimitedBreakable&&(a=n.page.pageHeight-n.page.margins.top-n.page.margins.bottom,(n.top+n.height)/a!=(n.top+n.height+i)/a&&(i-=o+=a-(n.top+n.height)%a)),this.freeSpace<i&&!this.flagRenderColumnsOnDataBandOnNewPage&&0!=this.positionY){var a=null!=n.containerInfo.parentBand?n.containerInfo.parentBand.as(M):null,s;return null==a&&(a=t.containerInfo.parentBand.as(M)),this.newDestination(),null==(s=this.columnsOnDataBand.getColumns())?s=this.columnsOnDataBand.renderColumns(a):this.columnsOnDataBand.enabled=!0,this.flagRenderColumnsOnDataBandOnNewPage=!0,this.renderContainer(t,e,r),t}this.flagRenderColumnsOnDataBandOnNewPage=!1,n.height+=i+o,this.positionY+=i,this.freeSpace-=i}return n.addContainer(t),t},u.prototype.internalRenderContainerAsync=function(a,s,l){return __awaiter(this,void 0,void 0,function(){var e,r,r,n,i,o;return __generator(this,function(t){switch(t.label){case 0:if(this.columnsOnDataBand.enabled=!1,0<this.columnsOnPanel.count&&(null!=a.containerInfo&&null!=a.containerInfo.parentBand&&a.containerInfo.parentBand.parent.is(Q)&&a.containerInfo.parentBand.componentType==_.Static?a.width=a.containerInfo.parentBand.parent.width:a.width=this.columnsOnPanel.getColumnWidth()),this.isNeedToSkip(a.containerInfo.parentBand))return[2,null];return null!=a.containerInfo.parentBand&&a.containerInfo.parentBand.is(p)&&(e=a.containerInfo.parentBand.getMaster()).componentType==_.Static&&this.breakable.setCanBreak(a),r=null!=a.containerInfo.parentBand&&null!=a.containerInfo.parentBand.page&&a.containerInfo.parentBand.page.unlimitedHeight,0<this.lastFreeSpaceOnPageAfterNewList&&a.height>this.lastFreeSpaceOnPageAfterNewList&&!a.canBreak&&!r&&(this.breakable.setCanBreak(a),r=-1,a.containerInfo.parentBand.is(M)&&(r=a.containerInfo.parentBand.position),n=P.format("Whilst the Can Break property was set to False the component {0}{1} was split because it couldn't be placed on the page entirely.",a.name,0<=r?P.format(" (position {0})",r):"")),[4,this.breakable.processBreakableAsync(a)];case 1:a=t.sent(),i=a.canBreak,o=this.report.renderedPages.count,t.label=2;case 2:return[4,this.checkFreeSpace1Async(a)];case 3:if(!t.sent())return[3,4];return[3,2];case 4:if(o!=this.report.renderedPages.count&&this.reprocessRuntimeVariables(a),i==a.canBreak)return[3,6];return[4,this.breakable.processBreakableAsync(a)];case 5:a=t.sent(),t.label=6;case 6:return this.isCrossBandsMode?(a.top=this.positionY,this.crossFreeSpace-=a.width):(a.left=this.positionX,this.freeSpace=this.freeSpace-a.height),null!=a.containerInfo.parentBand&&a.containerInfo.parentBand.is(S.Report.Components.StiPageFooterBand)?(a.top=this.positionBottomY-a.height,this.positionBottomY-=a.height):(this.isCrossBandsMode?a.left=this.positionX:a.top=this.positionY,l||s?(l&&this.footersOnAllPages.add(a),s&&this.printAtBottom.add(a)):this.isCrossBandsMode?this.positionX+=a.width:this.positionY+=a.height),this.addContainerToDestination(a),null!=a.containerInfo.parentBand&&a.containerInfo.parentBand.is(M)&&!this.denyClearPrintOnAllPagesIgnoreList&&(this.printOnAllPagesIgnoreList.clear(),this.atLeastOneDatabandRenderedOnPage=!0),[2,a]}})})},u.prototype.internalRenderContainer=function(t,e,r){if(this.columnsOnDataBand.enabled=!1,0<this.columnsOnPanel.count&&(null!=t.containerInfo&&null!=t.containerInfo.parentBand&&t.containerInfo.parentBand.parent.is(Q)&&t.containerInfo.parentBand.componentType==_.Static?t.width=t.containerInfo.parentBand.parent.width:t.width=this.columnsOnPanel.getColumnWidth()),this.isNeedToSkip(t.containerInfo.parentBand))return null;var n;null!=t.containerInfo.parentBand&&t.containerInfo.parentBand.is(p)&&t.containerInfo.parentBand.getMaster().componentType==_.Static&&this.breakable.setCanBreak(t);var i=null!=t.containerInfo.parentBand&&null!=t.containerInfo.parentBand.page&&t.containerInfo.parentBand.page.unlimitedHeight,o,a;0<this.lastFreeSpaceOnPageAfterNewList&&t.height>this.lastFreeSpaceOnPageAfterNewList&&!t.canBreak&&!i&&(this.breakable.setCanBreak(t),o=-1,t.containerInfo.parentBand.is(M)&&(o=t.containerInfo.parentBand.position),a=P.format("Whilst the Can Break property was set to False the component {0}{1} was split because it couldn't be placed on the page entirely.",t.name,0<=o?P.format(" (position {0})",o):""));var i=(t=this.breakable.processBreakable(t)).canBreak,o=this.report.renderedPages.count;while(this.checkFreeSpace1(t));return o!=this.report.renderedPages.count&&this.reprocessRuntimeVariables(t),i!=t.canBreak&&(t=this.breakable.processBreakable(t)),this.isCrossBandsMode?(t.top=this.positionY,this.crossFreeSpace-=t.width):(t.left=this.positionX,this.freeSpace=this.freeSpace-t.height),null!=t.containerInfo.parentBand&&t.containerInfo.parentBand.is(S.Report.Components.StiPageFooterBand)?(t.top=this.positionBottomY-t.height,this.positionBottomY-=t.height):(this.isCrossBandsMode?t.left=this.positionX:t.top=this.positionY,r||e?(r&&this.footersOnAllPages.add(t),e&&this.printAtBottom.add(t)):this.isCrossBandsMode?this.positionX+=t.width:this.positionY+=t.height),this.addContainerToDestination(t),null!=t.containerInfo.parentBand&&t.containerInfo.parentBand.is(M)&&!this.denyClearPrintOnAllPagesIgnoreList&&(this.printOnAllPagesIgnoreList.clear(),this.atLeastOneDatabandRenderedOnPage=!0),t},u.specialContainerHeight2=1e11-100,s=u,D.StiEngine=s}(Stimulsoft=Stimulsoft||{}),function(t){var e,r,n,i,o;function a(){return null!==o&&o.apply(this,arguments)||this}r=e=t.Report||(t.Report={}),i=n=r.Engine||(r.Engine={}),r=t.Report.Components.StiContainer,__extends(a,o=r),r=a,i.StiFooterMarkerContainer=r}(Stimulsoft=Stimulsoft||{}),function(j){var t,e,r,G,H,Q,L,Y;function n(t){this.bands=new H,this.engine=null,this.engine=t}e=t=j.Report||(j.Report={}),G=r=e.Engine||(e.Engine={}),H=j.System.Collections.Hashtable,Q=j.Report.Components.StiFooterBand,L=j.Report.Components.StiContainer,Y=j.Report.Components.StiDataBand,n.prototype.add=function(t){this.bands.set(t,t)},n.prototype.canProcess=function(t){var t=t.as(Q);return null!=t&&t.printOnAllPages},n.prototype.render=function(t,e,r){var n,i,o,a,s,l,u,c;if(null==t||0==this.bands.count)return;for(var p=r.ref,h=new H,m=[],d=null,g=!0,f=e,S,y,y;f<t.components.count;f++){if(null==(S=t.components.getByIndex(f).as(L)))continue;if(null!=S.containerInfo.parentBand&&S.containerInfo.parentBand.is(Y)&&(d=S.containerInfo.parentBand.as(Y)),S==p&&(g=!1),g&&null!=this.bands.get(S)&&(null!=S.containerInfo.parentBand&&S.containerInfo.parentBand.is(Q)&&S.containerInfo.parentBand.invokeMoveFooterToBottom(),null==(y=h.get(S.name))&&(y=[],h.set(S.name,y)),y.push(S),m.push(S)),S.is(G.StiFooterMarkerContainer))if(null!=(y=h.get(S.name))&&0<y.length){var A=y[y.length-1].as(L),b=t.components.indexOf(A);y.stimulsoft.removeAt(y.length-1),t.components.removeAt(f),t.components.insert(f,A),t.components.removeAt(b),f--,m.stimulsoft.remove(A);var C=A.height;A.top=S.top,this.engine.positionY+=A.height;for(var v=f+1;v<t.components.count;v++){var w=t.components.getByIndex(v).as(L);if(null==w)continue;if(w==p)break;w.top+=C}A.containerInfo.isAutoRendered=!0,S==p&&(p=A)}}try{for(var B=__values(m),I=B.next();!I.done;I=B.next()){var S=I.value,T=null;if(null!=S.containerInfo.parentBand&&S.containerInfo.parentBand.is(Q))try{for(var E=(o=void 0,__values(t.components.list)),R=E.next();!R.done;R=E.next()){var D=R.value;if(D!=S&&D.is(L)&&!h.containsKey(D.name)){var P=D.as(L);if(null!=P.containerInfo&&null!=P.containerInfo.parentBand&&(P.containerInfo.parentBand.is(Q)||P.containerInfo.parentBand.is(j.Report.Components.StiReportSummaryBand))){if(P.containerInfo.parentBand.is(j.Report.Components.StiReportSummaryBand)){T=D;break}if(null==d){T=D;break}try{for(var x=(s=void 0,__values(d.dataBandInfo.footersOnAllPages.list)),F=x.next(),N;!F.done;F=x.next()){if((N=F.value).name==D.name){T=D;break}}}catch(t){s={error:t}}finally{try{F&&!F.done&&(l=x.return)&&l.call(x)}finally{if(s)throw s.error}}try{for(var k=(u=void 0,__values(d.dataBandInfo.footersOnLastPage.list)),M=k.next(),N;!M.done;M=k.next()){if((N=M.value).name==D.name){T=D;break}}}catch(t){u={error:t}}finally{try{M&&!M.done&&(c=k.return)&&c.call(k)}finally{if(u)throw u.error}}}}}}catch(t){o={error:t}}finally{try{R&&!R.done&&(a=E.return)&&a.call(E)}finally{if(o)throw o.error}}if(null!=T){t.components.remove(S);var O=t.components.indexOf(T);t.components.insert(O,S),S.top=T.top;for(var _=O+1;_<t.components.count;_++)t.components.getByIndex(_).top+=S.height;this.engine.positionY+=S.height}else t.components.remove(S),t.components.add(S),S.top=this.engine.positionY,this.engine.positionY+=S.height;S.containerInfo.isAutoRendered=!0}}catch(t){n={error:t}}finally{try{I&&!I.done&&(i=B.return)&&i.call(B)}finally{if(n)throw n.error}}return this.bands.clear(),void(r.ref=p)},e=n,G.StiFootersOnAllPages=e}(Stimulsoft=Stimulsoft||{}),function(t){var e,t,r,n,i;function o(t,e){void 0===e&&(e=-1),this.index=-1,this.indexInColumnContainer=-1,this.index=t,this.indexInColumnContainer=e}t=e=t.Report||(t.Report={}),(n=r=t.Engine||(t.Engine={})).StiIndex=o}(Stimulsoft=Stimulsoft||{}),function(t){var e,r,n,i,o;function a(){return null!==o&&o.apply(this,arguments)||this}r=e=t.Report||(t.Report={}),i=n=r.Engine||(r.Engine={}),r=t.Report.Components.StiContainer,__extends(a,o=r),r=a,i.StiLevelContainer=r}(Stimulsoft=Stimulsoft||{}),function(t){var e,r,n,t,i;function o(){var t=i.call(this)||this;return t.name="LevelEnd",t.height=0,t.interaction=null,t}r=e=t.Report||(t.Report={}),t=n=r.Engine||(r.Engine={}),i=t.StiLevelContainer,__extends(o,i),r=o,t.StiLevelEndContainer=r}(Stimulsoft=Stimulsoft||{}),function(t){var e,r,n,t,i;function o(){var t=i.call(this)||this;return t.name="LevelStart",t.height=0,t.interaction=null,t}r=e=t.Report||(t.Report={}),t=n=r.Engine||(r.Engine={}),i=t.StiLevelContainer,__extends(o,i),r=o,t.StiLevelStartContainer=r}(Stimulsoft=Stimulsoft||{}),function(t){var e,r,n,i,o;function a(){var t=o.call(this)||this;return t.name="NewPageContainer",t.height=0,t.interaction=null,t}r=e=t.Report||(t.Report={}),i=n=r.Engine||(r.Engine={}),r=t.Report.Components.StiContainer,__extends(a,o=r),r=a,i.StiNewPageContainer=r}(Stimulsoft=Stimulsoft||{}),function(t){var e,r,n,i,u,c,p;function o(){}r=e=t.Report||(t.Report={}),i=n=r.Engine||(r.Engine={}),u=t.System.StiString,c=t.Report.Components.StiDataBand,p=t.Report.Components.StiComponent,o.applyOddEvenStyles=function(t,e,r){var n=null,i,o,a,s,l,a,e,l;return null!=t&&0<t.styles.count&&null!=e&&(o=!0,(i=e.stimulsoft.as(p)).isPropertyPresent(c.propertyEvenStyle)&&(a=!1,(a=e.stimulsoft.is(c)?1==(1&e.position):0==(1&t.lineThrough))&&(s=e.evenStyle,u.isNullOrEmpty(s)||null!=(l=t.styles.getByName(s))&&(l.setStyleToComponent(r),n=l,o=!1))),o&&i.isPropertyPresent(c.propertyOddStyle)&&(a=!1,(a=e.stimulsoft.is(c)?1==(1&e.position):0==(1&t.lineThrough))||(e=e.oddStyle,u.isNullOrEmpty(e)||null!=(l=t.styles.getByName(e))&&(l.setStyleToComponent(r),n=l)))),n},r=o,i.StiOddEvenStylesHelper=r}(Stimulsoft=Stimulsoft||{}),function(U){var t,l,e,gt,a,ft,St,yt,At,bt,s,u,b,C,J,W,c,V,F,N,Ct,vt,z,r;function wt(){}l=t=U.Report||(U.Report={}),gt=e=l.Engine||(l.Engine={}),a=U.System.StiString,ft=U.Report.Components.Table.StiTable,St=U.Report.CrossTab.StiCrossHorAlignment,yt=U.Report.CrossTab.StiCrossTabHelper,At=U.Report.CrossTab.StiCrossTabParams,bt=U.Report.CrossTab.StiCrossTab,s=U.Report.Engine.StiParser.StiParser,u=U.Report.Components.StiText,b=U.Report.Components.StiDataBand,C=U.Report.Components.StiSubReport,J=U.System.Collections.Hashtable,W=U.Report.Components.StiContainerHelper,c=U.Base.StiGuidUtils,V=U.Report.Components.StiComponentType,F=U.Base.Drawing.StiVertAlignment,N=U.Report.Components.StiDockStyle,Ct=U.Report.Components.StiContainer,vt=U.Report.Components.StiPage,z=U.Report.Components.StiPanel,wt.createListOfDataBands=function(t,e,r,n,i){var o,a,s=null,l=t.getComponents();try{for(var u=__values(l.list),c=u.next();!c.done;c=u.next()){var p=c.value,h;if(null!=(h=p.as(b))&&(null==h.masterComponent||h.masterComponent==t.pageInfo.masterDataBand)){if(h.is(ft)&&!h.enabled)continue;var m=!1,d;h.isBusinessObjectEmpty||(null!=h.businessObject.parentBusinessObject&&(d=null,h.parent.is(vt)&&0<e.length?d=e[e.length-1]:0<r.length&&(d=r[r.length-1]),null==d||(d.isBusinessObjectEmpty||d.businessObjectGuid!=h.businessObject.parentBusinessObject.guid)&&h.businessObject.parentBusinessObject.guid!=s||(m=!0)),s=h.businessObjectGuid),m||(h.parent.is(vt)?e.push(h):null==gt.StiSubReportsHelper.getParentBand(h)&&r.push(h),s=null)}var m=p.as(C);null!=m&&m.enabled&&(null!=gt.StiSubReportsHelper.getParentBand(m)||t.printOnPreviousPage||n.push(m));var m=p.as(bt);null!=m&&p.enabled&&null==gt.StiSubReportsHelper.getParentBand(p.as(bt))&&i.push(m)}}catch(t){o={error:t}}finally{try{c&&!c.done&&(a=u.return)&&a.call(u)}finally{if(o)throw o.error}}var g=!0;while(g){g=!1;var f=new J,S=0,h,y,A;while(S<e.length){(h=e[S]).isBusinessObjectEmpty||(null!=(y=h.businessObject).parentBusinessObject&&null==f.get(y.parentBusinessObject)&&null==h.masterComponent?((A=new b).businessObjectGuid=y.parentBusinessObject.guid,A.height=0,A.page=t,A.parent=h.parent,A.prepare(),A.dataBandInfo.detailDataBands.contains(h)||A.dataBandInfo.detailDataBands.add(h),e[S]=A,g=!0):f.set(y,y)),S++}}},wt.getReportTitles=function(t){var e,r,n=[];if(t.titleBeforeHeader)return n;try{for(var i=__values(t.components.list),o=i.next();!o.done;o=i.next()){var a,s=o.value.as(U.Report.Components.StiReportTitleBand);null!=s&&n.push(s)}}catch(t){e={error:t}}finally{try{o&&!o.done&&(r=i.return)&&r.call(i)}finally{if(e)throw e.error}}return n},wt.getReportSummaries=function(t){var e,r,n=[];try{for(var i=__values(t.components.list),o=i.next();!o.done;o=i.next()){var a,s=o.value.as(U.Report.Components.StiReportSummaryBand);null!=s&&n.push(s)}}catch(t){e={error:t}}finally{try{o&&!o.done&&(r=i.return)&&r.call(i)}finally{if(e)throw e.error}}return n},wt.renderSimpleComponentsAsync=function(L,Y){return __awaiter(this,void 0,void 0,function(){var e,r,n,i,o,a,s,l,u,c,p,h,m,d,g,f,S,c,r,y,A,b,C,c,v,w,B,I,w,i,T,E,v,R,D,P,x,F,N,k,M,O,_,j,G,H,Q;return __generator(this,function(t){switch(t.label){case 0:r=e=0,null!=(n=L.as(z))&&(e=n.columns<2?1:n.columns,r=n.getColumnWidth()+n.columnGaps),i=0,t.label=1;case 1:if(!(i<e))return[3,13];L.report.column=i+1,t.label=2;case 2:t.trys.push([2,10,11,12]),R=void 0,o=__values(L.components.list),a=o.next(),t.label=3;case 3:if(a.done)return[3,9];if((s=a.value).componentType!=V.Simple)return[3,8];if(s.parentBookmark=Y.currentBookmark,l=null,u=new J,!(this.checkContainerForBandsAndOtherContainers(s,u)&&0<u.count))return[3,5];c=void 0;try{for(P=void 0,p=__values(u.keys),h=p.next();!h.done;h=p.next())(c=h.value).canShrink=!1}catch(t){P={error:t}}finally{try{h&&!h.done&&(x=p.return)&&x.call(p)}finally{if(P)throw P.error}}return[4,s.renderAsync()];case 4:l=t.sent();try{for(F=void 0,m=__values(u.keys),d=m.next();!d.done;d=m.next())(c=d.value).canShrink=!0}catch(t){F={error:t}}finally{try{d&&!d.done&&(N=m.return)&&N.call(m)}finally{if(F)throw F.error}}return u.clear(),[3,7];case 5:return[4,s.renderAsync()];case 6:l=t.sent(),t.label=7;case 7:if(null==l)return[3,8];if(null!=n&&1<n.columns&&!l.is(U.Report.Components.StiCrossLinePrimitive)&&(n.rightToLeft?l.left+=L.width-r*(i+1)+n.columnGaps:l.left+=r*i),Y.components.add(l),StiOptions.Engine.allowInteractionInChartWithComponents&&null!=(g=l)&&null!=g.chartInfo.interactiveComps)try{for(k=void 0,f=__values(g.chartInfo.interactiveComps),S=f.next();!S.done;S=f.next())(c=S.value).left+=l.left,c.top+=l.top,Y.components.add(c)}catch(t){k={error:t}}finally{try{S&&!S.done&&(M=f.return)&&M.call(f)}finally{if(k)throw k.error}}t.label=8;case 8:return a=o.next(),[3,3];case 9:return[3,12];case 10:return r=t.sent(),R={error:r},[3,12];case 11:try{a&&!a.done&&(D=o.return)&&D.call(o)}finally{if(R)throw R.error}return[7];case 12:return i++,[3,1];case 13:W.checkSize(L.report.engine.containerForRender),y=new J,A=Y.getComponents();try{for(b=__values(A.list),C=b.next();!C.done;C=b.next())c=C.value,null!=(v=c.as(Ct))&&(null==(w=y.get(v.name))&&(w=[],y.set(v.name,w)),w.push(v))}catch(t){O={error:t}}finally{try{C&&!C.done&&(_=b.return)&&_.call(b)}finally{if(O)throw O.error}}try{for(B=__values(y.values),I=B.next();!I.done;I=B.next()){w=I.value,i=1;try{for(H=void 0,T=__values(w),E=T.next();!E.done;E=T.next())(v=E.value).containerInfo.renderStep=i,i++}catch(t){H={error:t}}finally{try{E&&!E.done&&(Q=T.return)&&Q.call(T)}finally{if(H)throw H.error}}}}catch(t){j={error:t}}finally{try{I&&!I.done&&(G=B.return)&&G.call(B)}finally{if(j)throw j.error}}return L.report.column=1,Y.dockToContainer(),[2]}})})},wt.renderSimpleComponents=function(t,e){var r,n,i,o,a,s,l,u,c,p,h=0,m=0,d=t.as(z);null!=d&&(h=d.columns<2?1:d.columns,m=d.getColumnWidth()+d.columnGaps);for(var g=0;g<h;g++){t.report.column=g+1;try{for(var f=(r=void 0,__values(t.components.list)),S=f.next();!S.done;S=f.next()){var y=S.value;if(y.componentType==V.Simple){y.parentBookmark=e.currentBookmark;var A=y.render();if(null==A)continue;if(null!=d&&1<d.columns&&!A.is(U.Report.Components.StiCrossLinePrimitive)&&(d.rightToLeft?A.left+=t.width-m*(g+1)+d.columnGaps:A.left+=m*g),e.components.add(A),StiOptions.Engine.allowInteractionInChartWithComponents){var b=A;if(null!=b&&null!=b.chartInfo.interactiveComps)try{for(var C=(i=void 0,__values(b.chartInfo.interactiveComps)),v=C.next(),w;!v.done;v=C.next()){(w=v.value).left+=A.left,w.top+=A.top,e.components.add(w)}}catch(t){i={error:t}}finally{try{v&&!v.done&&(o=C.return)&&o.call(C)}finally{if(i)throw i.error}}}}}}catch(t){r={error:t}}finally{try{S&&!S.done&&(n=f.return)&&n.call(f)}finally{if(r)throw r.error}}}W.checkSize(t.report.engine.containerForRender);var B=new J,I=e.getComponents();try{for(var T=__values(I.list),E=T.next(),w,R,D;!E.done;E=T.next()){null!=(R=(w=E.value).as(Ct))&&(null==(D=B.get(R.name))&&(D=[],B.set(R.name,D)),D.add(R))}}catch(t){a={error:t}}finally{try{E&&!E.done&&(s=T.return)&&s.call(T)}finally{if(a)throw a.error}}try{for(var P=__values(B.values),x=P.next();!x.done;x=P.next()){var D=x.value,g=1;try{for(var F=(c=void 0,__values(D)),N=F.next(),R;!N.done;N=F.next()){(R=N.value).containerInfo.renderStep=g,g++}}catch(t){c={error:t}}finally{try{N&&!N.done&&(p=F.return)&&p.call(F)}finally{if(c)throw c.error}}}}catch(t){l={error:t}}finally{try{x&&!x.done&&(u=P.return)&&u.call(P)}finally{if(l)throw l.error}}t.report.column=1,e.dockToContainer()},wt.checkContainerForBandsAndOtherContainers=function(t,e){var r,n;if(null==t)return!1;var i=t.as(Ct);if(null!=i&&0<i.components.count){i.canShrink&&e.set(i,null);var o=void 0;try{for(var a=__values(i.components.list),s=a.next();!s.done;s=a.next()){if((o=s.value).is(l.Components.StiBand))return!0;if(this.checkContainerForBandsAndOtherContainers(o,e))return!0;break}}catch(t){r={error:t}}finally{try{s&&!s.done&&(n=a.return)&&n.call(a)}finally{if(r)throw r.error}}}return!1},wt.prepareBookmark=function(t){t.parentBookmark=t.report.bookmark,t.doBookmark()},wt.renderPageAsync=function(ht){return __awaiter(this,void 0,void 0,function(){var e,r,n,i,o,a,s,l,u,c,p,h,m,d,g,p,f,S,y,A,p,b,C,v,w,c,B,I,T,e,E,R,D,r,P,x,F,c,p,N,k,M,O,g,p,_,j,G,H,Q,L,Y,U,A,p,J,W,V,A,z,V,J,J,X,K,Z,q,$,h,tt,f,et,b,rt,B,nt,E,it,P,ot,k,at,L,st,lt,ut,X,ct,$,pt;return __generator(this,function(t){switch(t.label){case 0:ht.invokeBeginRender(),ht.resetPageNumber&&(null!=ht.pageInfo&&-1!=ht.pageInfo.indexOfStartRenderedPages?ht.report.engine.pageNumbers.resetPageNumber(ht.pageInfo.indexOfStartRenderedPages):ht.report.engine.pageNumbers.resetPageNumber()),e=wt.getReportTitles(ht),r=wt.getReportSummaries(ht),wt.createListOfDataBands(ht,n=[],i=[],o=[],a=[]),s=ht.report.engine,t.label=1;case 1:t.trys.push([1,6,7,8]),l=__values(i),u=l.next(),t.label=2;case 2:if(u.done)return[3,5];return c=u.value,[4,s.threads.createContainerEngineAsync(c.parent.name,ht.report,s,ht.pageInfo.indexOfStartRenderedPages)];case 3:p=t.sent(),ht.report.engine.slaveEngines.set(c.parent.name,p),p.printOnAllPagesIgnoreList=s.printOnAllPagesIgnoreList,t.label=4;case 4:return u=l.next(),[3,2];case 5:return[3,8];case 6:return h=t.sent(),h={error:h},[3,8];case 7:try{u&&!u.done&&(tt=l.return)&&tt.call(l)}finally{if(h)throw h.error}return[7];case 8:t.trys.push([8,13,14,15]),m=__values(o),d=m.next(),t.label=9;case 9:if(d.done)return[3,12];return g=d.value,[4,s.threads.createContainerEngineAsync(g.name,ht.report,s,ht.pageInfo.indexOfStartRenderedPages)];case 10:p=t.sent(),ht.report.engine.slaveEngines.set(g.name,p),t.label=11;case 11:return d=m.next(),[3,9];case 12:return[3,15];case 13:return f=t.sent(),f={error:f},[3,15];case 14:try{d&&!d.done&&(et=m.return)&&et.call(m)}finally{if(f)throw f.error}return[7];case 15:t.trys.push([15,20,21,22]),S=__values(a),y=S.next(),t.label=16;case 16:if(y.done)return[3,19];return A=y.value,[4,s.threads.createContainerEngineAsync(A.name,ht.report,s,ht.pageInfo.indexOfStartRenderedPages)];case 17:p=t.sent(),ht.report.engine.slaveEngines.set(A.name,p),t.label=18;case 18:return y=S.next(),[3,16];case 19:return[3,22];case 20:return b=t.sent(),b={error:b},[3,22];case 21:try{y&&!y.done&&(rt=S.return)&&rt.call(S)}finally{if(b)throw b.error}return[7];case 22:if(!(0<n.length))return[3,31];C=1,t.label=23;case 23:t.trys.push([23,28,29,30]),v=__values(n),w=v.next(),t.label=24;case 24:if(w.done)return[3,27];if((c=w.value).is(ft)&&!c.enabled)return[3,26];return 1==C&&(ht.report.engine.isFirstDataBandOnPage=!0,c.dataBandInfo.reportTitles=e),C==n.length&&(ht.report.engine.isLastDataBandOnPage=!0,c.dataBandInfo.reportSummaries=r),c.parentBookmark=(null!=ht.report.engine.page?ht.report.engine.page:ht).currentBookmark,[4,c.renderMasterAsync()];case 25:t.sent(),c.dataBandInfo.reportTitles=null,c.dataBandInfo.reportSummaries=null,ht.report.engine.isFirstDataBandOnPage=!1,ht.report.engine.isLastDataBandOnPage=!1,C++,t.label=26;case 26:return w=v.next(),[3,24];case 27:return[3,30];case 28:return B=t.sent(),B={error:B},[3,30];case 29:try{w&&!w.done&&(nt=v.return)&&nt.call(v)}finally{if(B)throw B.error}return[7];case 30:return[3,47];case 31:if(null==e)return[3,39];t.label=32;case 32:t.trys.push([32,37,38,39]),I=__values(e),T=I.next(),t.label=33;case 33:if(T.done)return[3,36];if(!(e=T.value).printIfEmpty)return[3,35];return e.parentBookmark=(null!=ht.report.engine.page?ht.report.engine.page:ht).currentBookmark,e.doBookmark(),[4,ht.report.engine.renderBandAsync(e)];case 34:t.sent(),t.label=35;case 35:return T=I.next(),[3,33];case 36:return[3,39];case 37:return E=t.sent(),E={error:E},[3,39];case 38:try{T&&!T.done&&(it=I.return)&&it.call(I)}finally{if(E)throw E.error}return[7];case 39:if(null==r)return[3,47];t.label=40;case 40:t.trys.push([40,45,46,47]),R=__values(r),D=R.next(),t.label=41;case 41:if(D.done)return[3,44];if(!(r=D.value).printIfEmpty)return[3,43];return r.parentBookmark=(null!=ht.report.engine.page?ht.report.engine.page:ht).currentBookmark,r.doBookmark(),[4,ht.report.engine.renderBandAsync(r)];case 42:t.sent(),t.label=43;case 43:return D=R.next(),[3,41];case 44:return[3,47];case 45:return P=t.sent(),P={error:P},[3,47];case 46:try{D&&!D.done&&(ot=R.return)&&ot.call(R)}finally{if(P)throw P.error}return[7];case 47:t.trys.push([47,,56,57]),t.label=48;case 48:t.trys.push([48,53,54,55]),x=__values(i),F=x.next(),t.label=49;case 49:if(F.done)return[3,52];return c=F.value,0==(p=s.slaveEngines.get(c.parent.name)).freeSpace&&(p.freeSpace=c.parent.height),N=c.parent.height,null!=c.parent&&c.parent.canGrow&&c.parent.parent.is(vt)&&p.freeSpace<1e11/2&&(p.freeSpace=s.positionBottomY-c.parent.top,null!=p.containerForRender&&(p.containerForRender.height=p.freeSpace)),null!=(ht.report.engine=p).containerForRender&&(c.parentBookmark=p.containerForRender.currentBookmark),[4,c.renderMasterAsync()];case 50:t.sent(),t.label=51;case 51:return F=x.next(),[3,49];case 52:return[3,55];case 53:return k=t.sent(),k={error:k},[3,55];case 54:try{F&&!F.done&&(at=x.return)&&at.call(x)}finally{if(k)throw k.error}return[7];case 55:return[3,57];case 56:return ht.report.engine=s,[7];case 57:t.trys.push([57,,67,68]),t.label=58;case 58:t.trys.push([58,64,65,66]),M=__values(o),O=M.next(),t.label=59;case 59:if(O.done)return[3,63];return g=O.value,p=s.slaveEngines.get(g.name),ht.report.engine=p,(_=new Ct(g.clientRectangle)).name="Temp Container",_.canBreak=!0,[4,gt.StiSubReportsHelper.renderSubReportAsync(_,g)];case 60:t.sent(),j=0;try{for(lt=void 0,G=__values(_.components.list),H=G.next();!H.done;H=G.next())Q=H.value,j=Math.max(Q.bottom,j)}catch(t){lt={error:t}}finally{try{H&&!H.done&&(ut=G.return)&&ut.call(G)}finally{if(lt)throw lt.error}}if(_.height=j,null==p.containerForRender)return[3,62];return[4,p.renderContainerAsync(_)];case 61:t.sent(),t.label=62;case 62:return O=M.next(),[3,59];case 63:return[3,66];case 64:return L=t.sent(),L={error:L},[3,66];case 65:try{O&&!O.done&&(st=M.return)&&st.call(M)}finally{if(L)throw L.error}return[7];case 66:return[3,68];case 67:return ht.report.engine=s,[7];case 68:t.trys.push([68,,82,83]),t.label=69;case 69:t.trys.push([69,79,80,81]),Y=__values(a),U=Y.next(),t.label=70;case 70:if(U.done)return[3,78];A=U.value,p=s.slaveEngines.get(A.name),ht.report.engine=p,J=new At,W=A,yt.createCross(W),t.label=71;case 71:if(J.renderingIsFinished||null==p.containerForRender)return[3,76];return W.horAlignment==St.None?p.containerForRender.width=p.containerForRender.parent.width-p.containerForRender.left:p.containerForRender.width=p.containerForRender.parent.width,V=!1,p.containerForRender.parent.canShrink&&0==p.containerForRender.parent.height?(A=ht.getComponents().getByName(p.containerForRender.parent.name),V=!0,p.containerForRender.parent.width=A.width,p.containerForRender.parent.height=A.height,p.containerForRender.width=A.width,p.containerForRender.height=A.height):p.containerForRender.height=p.containerForRender.parent.height-p.containerForRender.top,J.destinationRectangle=p.containerForRender.clientRectangle.clone(),J.destinationContainer=p.containerForRender,[4,(z=gt.StiBuilder.getBuilder(bt).stimulsoft.as(gt.StiCrossTabBuilder)).renderCrossTabAsync(J,W)];case 72:if(t.sent(),V&&(V=p.containerForRender.parent.getActualSize(),p.containerForRender.parent.width=V.width,p.containerForRender.parent.height=V.height),J.renderingIsFinished)return[3,75];if(!(p.containerForRender.parent.height>gt.StiEngine.specialContainerHeight2))return[3,73];return(J=new gt.StiNewPageContainer).top=p.positionY,J.height=p.templatePage.height<gt.StiEngine.specialContainerHeight2?p.templatePage.height:p.templatePage.unit.convertFromHInches(1170),p.positionY+=J.height,p.freeSpace-=J.height,p.offsetNewColumnY=p.positionY-p.staticBands.reservedPositionY,p.containerForRender.parent.components.add(J),(J=p.containerForRender.clone(!0,!1).as(Ct)).top=p.positionY,p.containerForRender.parent.components.add(J),p.containerForRender=J,[3,75];case 73:return[4,p.newDestinationAsync()];case 74:t.sent(),t.label=75;case 75:return[3,71];case 76:yt.clearCross(W),t.label=77;case 77:return U=Y.next(),[3,70];case 78:return[3,81];case 79:return X=t.sent(),X={error:X},[3,81];case 80:try{U&&!U.done&&(ct=Y.return)&&ct.call(Y)}finally{if(X)throw X.error}return[7];case 81:return[3,83];case 82:return ht.report.engine=s,[7];case 83:ht.invokeEndRender(),ht.invokeColumnEndRender(),ht.isRendered=!0,t.label=84;case 84:t.trys.push([84,89,90,91]),K=__values(s.slaveEngines.values),Z=K.next(),t.label=85;case 85:if(Z.done)return[3,88];return[4,(q=Z.value).finalClearAsync()];case 86:t.sent(),t.label=87;case 87:return Z=K.next(),[3,85];case 88:return[3,91];case 89:return $=t.sent(),$={error:$},[3,91];case 90:try{Z&&!Z.done&&(pt=K.return)&&pt.call(K)}finally{if($)throw $.error}return[7];case 91:return ht.report.engine.slaveEngines.clear(),[2]}})})},wt.renderPage=function(t){var e,r,n,i,o,a,s,l,u,c,p,h,m,d,g,f,S,y,A,b,C,v;t.invokeBeginRender(),t.resetPageNumber&&(null!=t.pageInfo&&-1!=t.pageInfo.indexOfStartRenderedPages?t.report.engine.pageNumbers.resetPageNumber(t.pageInfo.indexOfStartRenderedPages):t.report.engine.pageNumbers.resetPageNumber());var w=wt.getReportTitles(t),B=wt.getReportSummaries(t),I=[],T=[],E=[],R=[];wt.createListOfDataBands(t,I,T,E,R);var D=t.report.engine;try{for(var P=__values(T),x=P.next();!x.done;x=P.next()){var F=x.value,N=D.threads.createContainerEngine(F.parent.name,t.report,D,t.pageInfo.indexOfStartRenderedPages);t.report.engine.slaveEngines.set(F.parent.name,N),N.printOnAllPagesIgnoreList=D.printOnAllPagesIgnoreList}}catch(t){e={error:t}}finally{try{x&&!x.done&&(r=P.return)&&r.call(P)}finally{if(e)throw e.error}}try{for(var k=__values(E),M=k.next();!M.done;M=k.next()){var O=M.value,N=D.threads.createContainerEngine(O.name,t.report,D,t.pageInfo.indexOfStartRenderedPages);t.report.engine.slaveEngines.set(O.name,N)}}catch(t){n={error:t}}finally{try{M&&!M.done&&(i=k.return)&&i.call(k)}finally{if(n)throw n.error}}try{for(var _=__values(R),j=_.next();!j.done;j=_.next()){var G=j.value,N=D.threads.createContainerEngine(G.name,t.report,D,t.pageInfo.indexOfStartRenderedPages);t.report.engine.slaveEngines.set(G.name,N)}}catch(t){o={error:t}}finally{try{j&&!j.done&&(a=_.return)&&a.call(_)}finally{if(o)throw o.error}}if(0<I.length){var H=1;try{for(var Q=__values(I),L=Q.next(),F;!L.done;L=Q.next()){if((F=L.value).is(ft)&&!F.enabled)continue;1==H&&(t.report.engine.isFirstDataBandOnPage=!0,F.dataBandInfo.reportTitles=w),H==I.length&&(t.report.engine.isLastDataBandOnPage=!0,F.dataBandInfo.reportSummaries=B),F.parentBookmark=(null!=t.report.engine.page?t.report.engine.page:t).currentBookmark,F.renderMaster(),F.dataBandInfo.reportTitles=null,F.dataBandInfo.reportSummaries=null,t.report.engine.isFirstDataBandOnPage=!1,t.report.engine.isLastDataBandOnPage=!1,H++}}catch(t){s={error:t}}finally{try{L&&!L.done&&(l=Q.return)&&l.call(Q)}finally{if(s)throw s.error}}}else{if(null!=w)try{for(var Y=__values(w),U=Y.next();!U.done;U=Y.next()){var J=U.value;J.printIfEmpty&&(J.parentBookmark=(null!=t.report.engine.page?t.report.engine.page:t).currentBookmark,J.doBookmark(),t.report.engine.renderBand(J))}}catch(t){u={error:t}}finally{try{U&&!U.done&&(c=Y.return)&&c.call(Y)}finally{if(u)throw u.error}}if(null!=B)try{for(var W=__values(B),V=W.next();!V.done;V=W.next()){var z=V.value;z.printIfEmpty&&(z.parentBookmark=(null!=t.report.engine.page?t.report.engine.page:t).currentBookmark,z.doBookmark(),t.report.engine.renderBand(z))}}catch(t){p={error:t}}finally{try{V&&!V.done&&(h=W.return)&&h.call(W)}finally{if(p)throw p.error}}}try{try{for(var X=__values(T),K=X.next();!K.done;K=X.next()){var F=K.value,N;0==(N=D.slaveEngines.get(F.parent.name)).freeSpace&&(N.freeSpace=F.parent.height),null!=F.parent&&F.parent.canGrow&&F.parent.parent.is(vt)&&N.freeSpace<gt.StiEngine.specialContainerHeight2/2&&D.freeSpace<gt.StiEngine.specialContainerHeight2/2&&(N.freeSpace=D.positionBottomY-F.parent.top,null!=N.containerForRender&&(N.containerForRender.height=N.freeSpace),t.unlimitedHeight&&(N.freeSpace=gt.StiEngine.specialContainerHeight2)),null!=(t.report.engine=N).containerForRender&&(F.parentBookmark=N.containerForRender.currentBookmark),F.renderMaster()}}catch(t){m={error:t}}finally{try{K&&!K.done&&(d=X.return)&&d.call(X)}finally{if(m)throw m.error}}}finally{t.report.engine=D}try{try{for(var Z=__values(E),q=Z.next();!q.done;q=Z.next()){var O=q.value,N=D.slaveEngines.get(O.name);t.report.engine=N;var $=new Ct(O.clientRectangle);$.name="Temp Container",$.canBreak=!0,gt.StiSubReportsHelper.renderSubReport($,O);var tt=0;try{for(var et=(S=void 0,__values($.components.list)),rt=et.next();!rt.done;rt=et.next())var nt=rt.value,tt=Math.max(nt.bottom,tt)}catch(t){S={error:t}}finally{try{rt&&!rt.done&&(y=et.return)&&y.call(et)}finally{if(S)throw S.error}}$.height=tt,null!=N.containerForRender&&N.renderContainer($)}}catch(t){g={error:t}}finally{try{q&&!q.done&&(f=Z.return)&&f.call(Z)}finally{if(g)throw g.error}}}finally{t.report.engine=D}try{try{for(var it=__values(R),ot=it.next();!ot.done;ot=it.next()){var G=ot.value,N=D.slaveEngines.get(G.name);t.report.engine=N;var at=new At,st=G;yt.createCross(st);while(!at.renderingIsFinished&&null!=N.containerForRender){st.horAlignment==St.None?N.containerForRender.width=N.containerForRender.parent.width-N.containerForRender.left:N.containerForRender.width=N.containerForRender.parent.width;var lt=!1,ut,lt,ct,pt,pt,pt;N.containerForRender.parent.canShrink&&0==N.containerForRender.parent.height?(ut=t.getComponents().getByName(N.containerForRender.parent.name),lt=!0,N.containerForRender.parent.width=ut.width,N.containerForRender.parent.height=ut.height,N.containerForRender.width=ut.width,N.containerForRender.height=ut.height):N.containerForRender.height=N.containerForRender.parent.height-N.containerForRender.top,at.destinationRectangle=N.containerForRender.clientRectangle.clone(),at.destinationContainer=N.containerForRender,gt.StiBuilder.getBuilder(bt).stimulsoft.as(gt.StiCrossTabBuilder).renderCrossTab(at,st),lt&&(pt=N.containerForRender.parent.getActualSize(),N.containerForRender.parent.width=pt.width,N.containerForRender.parent.height=pt.height),at.renderingIsFinished||(N.containerForRender.parent.height>gt.StiEngine.specialContainerHeight2?((pt=new gt.StiNewPageContainer).top=N.positionY,pt.height=N.templatePage.height<gt.StiEngine.specialContainerHeight2?N.templatePage.height:N.templatePage.unit.convertFromHInches(1170),N.positionY+=pt.height,N.freeSpace-=pt.height,N.offsetNewColumnY=N.positionY-N.staticBands.reservedPositionY,N.containerForRender.parent.components.add(pt),(pt=N.containerForRender.clone(!0,!1).as(Ct)).top=N.positionY,N.containerForRender.parent.components.add(pt),N.containerForRender=pt):N.newDestination())}yt.clearCross(st)}}catch(t){A={error:t}}finally{try{ot&&!ot.done&&(b=it.return)&&b.call(it)}finally{if(A)throw A.error}}}finally{t.report.engine=D}t.invokeEndRender(),t.invokeColumnEndRender(),t.isRendered=!0;try{for(var ht=__values(D.slaveEngines.values),mt=ht.next(),dt;!mt.done;mt=ht.next()){mt.value.finalClear()}}catch(t){C={error:t}}finally{try{mt&&!mt.done&&(v=ht.return)&&v.call(ht)}finally{if(C)throw C.error}}t.report.engine.slaveEngines.clear()},wt.renderOverlaysAsync=function(P,x){return __awaiter(this,void 0,void 0,function(){var e,r,n,i,o,a,s,e,l,u,c,p,h,m,d,g,h,f,S,y,h,A,b,h,l,C,v,w,B,I,T,E,R,D;return __generator(this,function(t){switch(t.label){case 0:if(null==(e=P.pageInfo.overlays))return[3,9];r=[],n=[],i=[],t.label=1;case 1:t.trys.push([1,6,7,8]),o=__values(e.list),a=o.next(),t.label=2;case 2:if(a.done)return[3,5];return[4,(s=a.value).renderAsync()];case 3:null!=(e=t.sent())&&(e.dockStyle=N.None,x.components.add(e),s.vertAlignment==F.Top?r.push(e):s.vertAlignment==F.Center?n.push(e):s.vertAlignment==F.Bottom&&i.push(e),e=null),t.label=4;case 4:return a=o.next(),[3,2];case 5:return[3,8];case 6:return l=t.sent(),l={error:l},[3,8];case 7:try{a&&!a.done&&(C=o.return)&&C.call(o)}finally{if(l)throw l.error}return[7];case 8:u=-P.margins.top;try{for(c=__values(r),p=c.next();!p.done;p=c.next())(h=p.value).top=u,u+=h.height}catch(t){v={error:t}}finally{try{p&&!p.done&&(w=c.return)&&w.call(c)}finally{if(v)throw v.error}}m=P.height+P.margins.bottom;try{for(d=__values(i),g=d.next();!g.done;g=d.next())(h=g.value).top=m-h.height,m-=h.height}catch(t){B={error:t}}finally{try{g&&!g.done&&(I=d.return)&&I.call(d)}finally{if(B)throw B.error}}f=0;try{for(S=__values(n),y=S.next();!y.done;y=S.next())h=y.value,f+=h.height}catch(t){T={error:t}}finally{try{y&&!y.done&&(E=S.return)&&E.call(S)}finally{if(T)throw T.error}}u=(P.height-f)/2;try{for(A=__values(n),b=A.next();!b.done;b=A.next())(h=b.value).top=u,u+=h.height}catch(t){R={error:t}}finally{try{b&&!b.done&&(D=A.return)&&D.call(A)}finally{if(R)throw R.error}}t.label=9;case 9:return[2]}})})},wt.renderOverlays=function(t,e){var r,n,i,o,a,s,l,u,c,p,h=t.pageInfo.overlays;if(null!=h){var m=[],d=[],g=[];try{for(var f=__values(h.list),S=f.next();!S.done;S=f.next()){var y=S.value,A=y.render();null!=A&&(A.dockStyle=N.None,e.components.add(A),y.vertAlignment==F.Top?m.push(A):y.vertAlignment==F.Center?d.push(A):y.vertAlignment==F.Bottom&&g.push(A),A=null)}}catch(t){r={error:t}}finally{try{S&&!S.done&&(n=f.return)&&n.call(f)}finally{if(r)throw r.error}}var b=-t.margins.top;try{for(var C=__values(m),v=C.next(),w;!v.done;v=C.next()){(w=v.value).top=b,b+=w.height}}catch(t){i={error:t}}finally{try{v&&!v.done&&(o=C.return)&&o.call(C)}finally{if(i)throw i.error}}var B=t.height+t.margins.bottom;try{for(var I=__values(g),T=I.next(),w;!T.done;T=I.next()){(w=T.value).top=B-w.height,B-=w.height}}catch(t){a={error:t}}finally{try{T&&!T.done&&(s=I.return)&&s.call(I)}finally{if(a)throw a.error}}var E=0;try{for(var R=__values(d),D=R.next(),w;!D.done;D=R.next()){E+=(w=D.value).height}}catch(t){l={error:t}}finally{try{D&&!D.done&&(u=R.return)&&u.call(R)}finally{if(l)throw l.error}}b=(t.height-E)/2;try{for(var P=__values(d),x=P.next(),w;!x.done;x=P.next()){(w=x.value).top=b,b+=w.height}}catch(t){c={error:t}}finally{try{x&&!x.done&&(p=P.return)&&p.call(P)}finally{if(c)throw c.error}}}},wt.getPageFromTemplateAsync=function(o){return __awaiter(this,void 0,void 0,function(){var e,r,n,r,i,i;return __generator(this,function(t){switch(t.label){case 0:if(e=o.clone(!1,!1),StiOptions.Engine.Watermark.allowExpression&&null!=e.watermark&&null!=e.watermark.text&&0<e.watermark.text.length&&e.watermark.text.stimulsoft.contains("{")&&e.watermark.text.stimulsoft.contains("}")&&!e.watermark.text.stimulsoft.contains("{{")&&!e.watermark.text.stimulsoft.contains("}}"))try{(r=new U.Report.Components.StiText).page=e,n=gt.StiParser.StiParser.parseTextValue(e.watermark.text,r),e.watermark.text=n.toString()}catch(t){}if(null!=e.watermark&&!a.isNullOrEmpty(e.watermark.enabledExpression))try{(r=new u).page=e,(i=e.watermark.enabledExpression.trim()).stimulsoft.startsWith("{")||(i="{"+i),i.stimulsoft.endsWith("}")||(i+="}"),i=s.parseTextValue(i,r),e.watermark.enabled=i.stimulsoft.toBoolean()}catch(t){}return 0<o.pageInfo.renderedCount&&(e.guid=c.newGuid()),e.invokeEvents(),[4,this.renderOverlaysAsync(o,e)];case 1:return t.sent(),o.pageInfo.renderedCount++,[2,e]}})})},wt.getPageFromTemplate=function(t){var e=t.clone(!1,!1),r;if(StiOptions.Engine.Watermark.allowExpression&&null!=e.watermark&&null!=e.watermark.text&&0<e.watermark.text.length&&e.watermark.text.stimulsoft.contains("{")&&e.watermark.text.stimulsoft.contains("}")&&!e.watermark.text.stimulsoft.contains("{{")&&!e.watermark.text.stimulsoft.contains("}}"))try{(r=new U.Report.Components.StiText).page=e;var n=gt.StiParser.StiParser.parseTextValue(e.watermark.text,r);e.watermark.text=n.toString()}catch(t){}if(null!=e.watermark&&!a.isNullOrEmpty(e.watermark.enabledExpression))try{var r,i=((r=new u).page=e).watermark.enabledExpression.trim();i.stimulsoft.startsWith("{")||(i="{"+i),i.stimulsoft.endsWith("}")||(i+="}");var i=s.parseTextValue(i,r);e.watermark.enabled=i.toBoolean()}catch(t){}return 0<t.pageInfo.renderedCount&&(e.guid=c.newGuid()),e.invokeEvents(),this.renderOverlays(t,e),t.pageInfo.renderedCount++,e},r=wt,gt.StiPageHelper=r}(Stimulsoft=Stimulsoft||{}),function(t){var e,r,n,t;function i(){this.resetPageNumber=!1,this.pageNumber=-1,this.totalPageCount=-1,this.pageNumberThrough=-1,this.totalPageCountThrough=-1,this.segmentPerWidth=1,this.segmentPerHeight=1,this.fixedPosition=!1}r=e=t.Report||(t.Report={}),t=n=r.Engine||(r.Engine={}),Object.defineProperty(i.prototype,"step",{get:function(){return this.segmentPerWidth*this.segmentPerHeight},enumerable:!1,configurable:!0}),r=i,t.StiPageNumber=r}(Stimulsoft=Stimulsoft||{}),function(t){var e,r,n,i,o;function a(){return null!==o&&o.apply(this,arguments)||this}r=e=t.Report||(t.Report={}),i=n=r.Engine||(r.Engine={}),r=t.System.Collections.CollectionBase,__extends(a,o=r),r=a,i.StiPageNumberCollection=r}(Stimulsoft=Stimulsoft||{}),function(t){var e,r,n,i,o;function a(t){this.engine=null,this.finished=!1,this._clearPageNumbersOnFinish=!0,this._pageNumbers=new i.StiPageNumberCollection,this.engine=t}r=e=t.Report||(t.Report={}),i=n=r.Engine||(r.Engine={}),o=t.Report.Components.StiPage,Object.defineProperty(a.prototype,"clearPageNumbersOnFinish",{get:function(){return this._clearPageNumbersOnFinish},set:function(t){this._clearPageNumbersOnFinish=t},enumerable:!1,configurable:!0}),Object.defineProperty(a.prototype,"pageNumbers",{get:function(){return this._pageNumbers},set:function(t){this._pageNumbers=t},enumerable:!1,configurable:!0}),a.prototype.resetPageNumber=function(t){void 0===t&&(t=this.pageNumbers.count-1),t<this.pageNumbers.count&&(this.pageNumbers.getByIndex(t).resetPageNumber=!0)},a.prototype.addPageNumber=function(t,e,r){var t;t>=this.pageNumbers.count&&((t=new i.StiPageNumber).segmentPerWidth=e,t.segmentPerHeight=r,this.pageNumbers.add(t))},a.prototype.getPageNumber=function(t){var t,t=t.stimulsoft.is(o)?this.engine.report.renderedPages.indexOf(t):t;if(!this.finished){if(0==this.engine.report.renderedPages.count)return 1;if(null!=this.pageNumbers&&0<=t&&t<this.pageNumbers.count&&this.pageNumbers.getByIndex(t).resetPageNumber)return 1;return this.engine.report.renderedPages.count}if(0==this.pageNumbers.count)return t+1;return t=Math.max(t,0),t=Math.min(t,this.pageNumbers.count-1),this.pageNumbers.getByIndex(t).pageNumber},a.prototype.getTotalPageCount=function(t){var t,t=t.stimulsoft.is(o)?this.engine.report.renderedPages.indexOf(t):t;if(!this.finished){if(0==this.engine.report.renderedPages.count)return 1;return this.engine.report.renderedPages.count}if(0==this.pageNumbers.count)return 1;return t=Math.max(t,0),t=Math.min(t,this.pageNumbers.count-1),this.pageNumbers.getByIndex(t).totalPageCount},a.prototype.getPageNumberThrough=function(t){var t,t=t.stimulsoft.is(o)?this.engine.report.renderedPages.indexOf(t):t;if(!this.finished){if(0==this.engine.report.renderedPages.count)return 1;return this.engine.report.renderedPages.count}if(0==this.pageNumbers.count)return 1;return t=Math.max(t,0),t=Math.min(t,this.pageNumbers.count-1),this.pageNumbers.getByIndex(t).pageNumberThrough},a.prototype.getTotalPageCountThrough=function(t){if(0==this.pageNumbers.count)return 1;return t=Math.max(t,0),t=Math.min(t,this.pageNumbers.count-1),this.pageNumbers.getByIndex(t).totalPageCountThrough},a.prototype.setSystemVariables=function(t,e){if(t==e)return;for(var r=0,n=t;n<e;n++)r+=this.pageNumbers.getByIndex(n).step;for(var i=1,n=t;n<e;n++)this.pageNumbers.getByIndex(n).pageNumber=i,this.pageNumbers.getByIndex(n).totalPageCount=r,i+=this.pageNumbers.getByIndex(n).step},a.prototype.processPageNumbers=function(){var e,t,r,n;if(null!=this.engine&&null!=this.engine.report&&null!=this.engine.report.renderedPages)while(this.pageNumbers.count>this.engine.report.renderedPages.count)this.pageNumbers.removeAt(this.engine.report.renderedPages.count);var i=0,o=0;try{for(var a=__values(this.pageNumbers.list),s=a.next();!s.done;s=a.next()){var l=s.value,u;null!=this.engine&&null!=this.engine.report&&null!=this.engine.report.renderedPages&&o<this.engine.report.renderedPages.count&&(u=this.engine.report.renderedPages.getPageWithoutCache(o),l.segmentPerWidth=u.segmentPerWidth,l.segmentPerHeight=u.segmentPerHeight),i+=l.step,o++}}catch(t){e={error:t}}finally{try{s&&!s.done&&(t=a.return)&&t.call(a)}finally{if(e)throw e.error}}var c=1,p=0,h=0;try{for(var m=__values(this.pageNumbers.list),d=m.next(),l;!d.done;d=m.next()){(l=d.value).resetPageNumber&&(this.setSystemVariables(p,h),p=h),l.pageNumberThrough=c++,l.totalPageCountThrough=i,h++}}catch(t){r={error:t}}finally{try{d&&!d.done&&(n=m.return)&&n.call(m)}finally{if(r)throw r.error}}this.setSystemVariables(p,h),this.finished=!0},a.prototype.clear=function(){this.clearPageNumbersOnFinish&&this.pageNumbers.clear()},a.prototype.clearNotFixed=function(){if(this.clearPageNumbersOnFinish&&0<this.pageNumbers.count){var t=this.pageNumbers.count-1;while(0<=t&&!this.pageNumbers.getByIndex(t).fixedPosition)this.pageNumbers.removeAt(t),t--}},r=a,i.StiPageNumberHelper=r}(Stimulsoft=Stimulsoft||{}),function(n){var t,e,r;e=t=n.Report||(n.Report={}),function(t){var I=n.Report.Components.StiImageProcessingDuplicatesType,T=n.Report.Components.StiProcessingDuplicatesType,E=n.Report.Components.StiImage,R=n.Report.Components.IStiText,D=n.Report.Components.StiComponentsCollection,P,e;(e=P=t.TypeOfDuplicates||(t.TypeOfDuplicates={}))[e["Text"]=0]="Text",e[e["Image"]=1]="Image";var x=(r.prototype.compare=function(t,e){return t.top.stimulsoft.compareTo(e.top)},r);function r(){}t.StiMergeComparer=x;var e=(F.isImageEqual=function(t,e){return!1},F.postProcessDuplicates=function(t,e,r){var n,i;if(void 0===r&&(r=null),null==r)return F.postProcessDuplicates(t,e,P.Text),void F.postProcessDuplicates(t,e,P.Image);var o=[],a=!1,s=new D,l,u,c,p;try{for(var h=__values(t.list),m=h.next();!m.done;m=h.next()){var d=m.value,u,p,a;(d.is(R)&&d.processingDuplicates!=T.None&&r==P.Text||d.is(E)&&d.processingDuplicates!=I.None&&r==P.Image)&&(a=!0,s.add(d),null==(u=o[d.width])&&(u=[],o[d.width]=u),null==(p=u[d.left])&&(p=[],u[d.left]=p),p.push(d))}}catch(t){n={error:t}}finally{try{m&&!m.done&&(i=h.return)&&i.call(h)}finally{if(n)throw n.error}}if(!a)return;for(l in o){for(c in u=o[l]){(p=u[c]).stimulsoft.sort2(new x);var g=0;while(g<p.stimulsoft.countItems){var f=p[g],S=e.get(f),y=f.bottom,A=g+1;while(A<p.stimulsoft.countItems){var b=p[A],C=e.get(b),v=T.None,w=!1;if(r==P.Text?((v=f.processingDuplicates)==T.BasedOnValueRemoveText&&(v=T.RemoveText),v==T.BasedOnValueAndTagHide&&(v=T.BasedOnTagHide),v==T.BasedOnValueAndTagMerge&&(v=T.BasedOnTagMerge),w=v==T.GlobalHide||v==T.GlobalMerge||v==T.GlobalRemoveText||v==T.GlobalBasedOnValueRemoveText||v==T.GlobalBasedOnValueAndTagHide||v==T.GlobalBasedOnValueAndTagMerge,v==T.GlobalBasedOnValueRemoveText&&(v=T.BasedOnTagRemoveText),v==T.GlobalBasedOnValueAndTagHide&&(v=T.BasedOnTagHide),v==T.GlobalBasedOnValueAndTagMerge&&(v=T.BasedOnTagMerge)):w=f.processingDuplicates==I.GlobalHide||f.processingDuplicates==I.GlobalMerge||f.processingDuplicates==I.GlobalRemoveImage,b.name==f.name||w){if(Math.round2(S.bottom,2)!=Math.round2(C.top,2)||!(S.name==C.name||w||"Continued"==S.name||null!=S.name&&S.name.stimulsoft.startsWith("Continued_")||"Breaked"==C.name||null!=C.name&&C.name.stimulsoft.startsWith("Breaked_")))break;if(r==P.Text){var B=b.getTextInternal(),w=f.getTextInternal();if(v!=T.BasedOnTagHide&&v!=T.BasedOnTagMerge&&v!=T.BasedOnTagRemoveText||(B=null==b.tagValue?"":b.tagValue.toString(),w=null==f.tagValue?"":f.tagValue.toString()),!(Math.round2(b.top,2)>=Math.round2(y,2)&&w==B))break;v!=T.Merge&&v!=T.GlobalMerge&&v!=T.BasedOnTagMerge||(f.height+=b.bottom-f.bottom),v==T.RemoveText||v==T.GlobalRemoveText||v==T.BasedOnTagRemoveText?(b.setTextInternal(""),g++,A++):(y+=b.height,b.parent.components.remove(b),p.stimulsoft.removeAt(A))}else if(r==P.Image){if(!(Math.round2(b.top,2)>=Math.round2(y,2)&&F.isImageEqual(b.imageToDraw,f.imageToDraw)))break;f.processingDuplicates!=I.Merge&&f.processingDuplicates!=I.GlobalMerge||(f.height+=b.bottom-f.bottom),f.processingDuplicates==I.RemoveImage||f.processingDuplicates==I.GlobalRemoveImage?(b.imageToDraw=null,g++,A++):(y+=b.height,b.parent.components.remove(b),p.stimulsoft.removeAt(A))}}else A++;S=C}g++}}}},F);function F(){}t.StiPostProcessDuplicatesHelper=e}(r=e.Engine||(e.Engine={}))}(Stimulsoft=Stimulsoft||{}),function(f){var t,y,e,S,A,b,C,v,w,B,n,I,D,P,x,F,T,a,s,E,R,N,k,i,l,u,o,M,O,r;function _(){}y=t=f.Report||(f.Report={}),S=e=y.Engine||(y.Engine={}),A=f.System.Drawing.Rectangle,b=f.Base.StiGuidUtils,C=f.System.StiArray,v=f.Report.Components.StiImage,w=f.Report.Components.StiImageProcessingDuplicatesType,B=f.Report.Components.StiPagesCollection,n=f.Report.Components.StiPointPrimitive,I=f.System.Collections.Hashtable,D=f.Report.Components.StiEndPointPrimitive,P=f.Report.Components.StiCrossLinePrimitive,x=f.Report.Components.StiPrimitive,F=f.Report.Components.StiStartPointPrimitive,T=f.System.Drawing.Point,a=f.Report.Components.StiRoundedRectanglePrimitive,s=f.Report.Components.StiRectanglePrimitive,E=f.Report.Components.StiDockStyle,R=f.Report.Components.StiText,N=f.Report.Components.IStiText,k=f.Report.Components.StiProcessingDuplicatesType,i=f.Report.Components.StiPrintOnType,l=f.Report.Components.StiVerticalLinePrimitive,u=f.Report.Components.StiHorizontalLinePrimitive,o=f.Report.Components.StiContainer,M=f.Report.Components.StiComponentsCollection,O=f.Report.Components.StiPanel,_.postProcessPages=function(t){var e,r,n,i,o=0,a=0;try{for(var s=__values(t.list),l=s.next(),u;!l.done;l=s.next()){a+=(u=l.value).segmentPerWidth*u.segmentPerHeight}}catch(t){e={error:t}}finally{try{l&&!l.done&&(r=s.return)&&r.call(s)}finally{if(e)throw e.error}}var c=C.create(Boolean,a+1),p=C.create(Boolean,a+1);0<a&&(c[1]=!0),p[a]=!0;var h=null;if(null!=t.report&&null!=t.report.engine&&null!=t.report.engine.pageNumbers){t.report.reportPass==y.StiReportPass.Second&&(h=t.report.engine.pageNumbers);for(var m=t.report.engine.pageNumbers,o=1,d=Math.min(t.count,m.pageNumbers.count),g=0;g<d;g++)m.pageNumbers.getByIndex(g).resetPageNumber&&(c[o]=!0,p[o-1]=!0),o+=m.pageNumbers.getByIndex(g).segmentPerWidth*m.pageNumbers.getByIndex(g).segmentPerHeight}o=1;try{for(var f=__values(t.list),S=f.next();!S.done;S=f.next()){var u=S.value;null!=h?(o=h.getPageNumber(u),a=h.getTotalPageCount(u),_.postProcessPage(u,1==o,o==a)):_.postProcessPage(u,c[o],p[o]),o+=u.segmentPerWidth*u.segmentPerHeight}}catch(t){n={error:t}}finally{try{S&&!S.done&&(i=f.return)&&i.call(f)}finally{if(n)throw n.error}}_.postProcessPrimitives(t)},_.removeAllPointPrimitives=function(t){var e=0,r;while(e<t.components.count){t.components.getByIndex(e).is(n)?t.components.removeAt(e):(null!=(r=t.components.getByIndex(e).as(o))&&_.removeAllPointPrimitives(r),e++)}},_.postProcessPrimitives=function(t){var e,r,n,i,o=t;t.stimulsoft.is(f.Report.Components.StiPage)&&(o=new B(null)).add(t);var a={ref:new I},s={ref:new I},l={ref:new I},u={ref:new Array};try{for(var c=__values(o.list),p=c.next();!p.done;p=c.next()){var h=p.value;_.postProcessPrimitivesInContainer2(h,o,a,s,l,u)}}catch(t){e={error:t}}finally{try{p&&!p.done&&(r=c.return)&&r.call(c)}finally{if(e)throw e.error}}try{for(var m=__values(o.list),d=m.next();!d.done;d=m.next()){var g=d.value;_.removeAllPointPrimitives(g)}}catch(t){n={error:t}}finally{try{d&&!d.done&&(i=m.return)&&i.call(m)}finally{if(n)throw n.error}}},_.postProcessPrimitivesInContainer=function(t){var e={ref:new I},r={ref:new I},n={ref:new I},i={ref:new Array};_.postProcessPrimitivesInContainer2(t,null,e,r,n,i),_.removeAllPointPrimitives(t)},_.postProcessPrimitivesInContainer2=function(t,e,r,n,i,o){var a,s,l,u,c,p,h=r.ref,m=n.ref,d=i.ref,g=o.ref,f=new M;f.addRange(t.components);try{for(var S=__values(f.list),y=S.next();!y.done;y=S.next()){var A,b=(A=y.value).as(P);null!=b&&null!=b.guid&&b.guid!=_.nullGuid&&(d.set(b.guid,b),b.parent.components.remove(A))}}catch(t){a={error:t}}finally{try{y&&!y.done&&(s=S.return)&&s.call(S)}finally{if(a)throw a.error}}if(0<d.count){f=t.getComponents(),g.stimulsoft.clear();try{for(var C=__values(f.list),v=C.next(),A;!v.done;v=C.next()){if(!(A=v.value).is(x))continue;var w=A.as(F),B;if(null!=w){if(null==w.referenceToGuid)continue;var I=t.as(O),T=h.get(w.referenceToGuid);null==T&&(T=new Array,h.set(w.referenceToGuid,T),null!=I&&1<I.columns&&T.push(w)),(null!=I&&I.columns<2||null==I)&&T.push(w);continue}if(null==(B=A.as(D)))continue;_.processOneEndPoint(h,d,t,e,B)||g.push(B)}}catch(t){l={error:t}}finally{try{v&&!v.done&&(u=C.return)&&u.call(C)}finally{if(l)throw l.error}}try{for(var E=__values(g),R=E.next();!R.done;R=E.next()){var B=R.value;_.processOneEndPoint(h,d,t,e,B)}}catch(t){c={error:t}}finally{try{R&&!R.done&&(p=E.return)&&p.call(E)}finally{if(c)throw c.error}}}r.ref=h,n.ref=m,i.ref=d,o.ref=g},_.processOneEndPoint=function(t,e,r,n,i){if(null==i.referenceToGuid)return!1;var o=t.get(i.referenceToGuid);if(null==o||0==o.length)return!1;t.set(i.referenceToGuid,null);var t=o[0],t=e.get(t.referenceToGuid);if(null==t)return!0;var o=o[0],a;return _.processOnePrimitive(n,r,t,o,null,i),!0},_.processOnePrimitive=function(t,e,r,n,i,o){var a=n.componentToPage(new T(n.left,n.top)),s=o.componentToPage(new T(o.left,o.top)),l=n.storedColumn,u=o.storedColumn,l=Math.max(1,l),u=Math.max(1,u),c=-1;if(null!=i&&(c=i.storedColumn,c=Math.max(1,c)),n.page!=o.page||l!=u){var p=null==t?1:t.indexOf(n.page),h=null==t?1:t.indexOf(o.page),m=-1;null!=i&&null!=t&&(m=t.indexOf(i.page));for(var d=p;d<=h;d++){if(p!=h&&null!=i&&m==h&&d==h)continue;var g=t.getByIndex(d);g!=n.page&&(l=1),g!=o.page&&(u=Math.max(g.columns,u));for(var f=0,S=l;S<=u;S++){var y=g.pageInfo.positionFromTop,A=g.pageInfo.positionFromBottom,b=g.getColumnWidth()+g.columnGaps,C=a.x,v=a.y,w=s.x,B=s.y;if(l!=u){w-=b*Math.min(u-l,g.columns);while(w<C&&0<b)w+=b}d==p&&l==S?_.addPrimitive(r,new T(f+C,v),new T(f+w,A),g):_.addPrimitive(r,new T(f+C,y),new T(f+w,d==h&&u==S?B:A),g),f+=b}}}else _.addPrimitive(r,a,s,e)},_.addPrimitive=function(t,e,r,n){var t,i,i,o,o,t;!t.is(a)&&t.is(s)?(t.leftSide&&((i=new l).name=t.name+"_Left",i.guid=_.nullGuid,i.page=t.page,i.left=e.x,i.top=e.y,i.height=r.y-e.y,i.color=t.color,i.style=t.style,i.size=t.size,n.components.add(i)),t.rightSide&&((i=new l).name=t.name+"_Right",i.guid=_.nullGuid,i.page=t.page,i.left=r.x,i.top=e.y,i.height=r.y-e.y,i.color=t.color,i.style=t.style,i.size=t.size,n.components.add(i)),t.topSide&&((o=new u).name=t.name+"_Top",o.page=t.page,o.left=e.x,o.top=e.y,o.height=t.page.unit.convertFromHInches(1),o.width=r.x-e.x,o.color=t.color,o.style=t.style,o.size=t.size,n.components.add(o)),t.bottomSide&&((o=new u).name=t.name+"_Bottom",o.page=t.page,o.left=e.x,o.top=r.y,o.height=t.page.unit.convertFromHInches(1),o.width=r.x-e.x,o.color=t.color,o.style=t.style,o.size=t.size,n.components.add(o))):((t=t.clone()).guid=_.nullGuid,t.left=e.x,t.top=e.y,t.width=r.x-e.x,t.height=r.y-e.y,n.components.add(t))},_.copyStyles=function(t,e){t.style=e.style,t.color=e.color,t.size=e.size},_.postProcessPage=function(t,e,r,n){var i,o,a,s;void 0===n&&(n=!0),_.postProcessPrintOn(t.components,e,r);var l=t.getComponents();t.dockToContainer();try{for(var u=__values(l.list),c=u.next(),p;!c.done;c=u.next()){(p=c.value).dockStyle=E.None,p.page=t;var h=p.as(R);null!=h&&h.shrinkFontToFit&&(h.font=h.getActualFont(h.text,h.shrinkFontToFitMinimumSize))}}catch(t){i={error:t}}finally{try{c&&!c.done&&(o=u.return)&&o.call(u)}finally{if(i)throw i.error}}var m=new I,e,r,r,r;try{for(var d=__values(l.list),g=d.next(),p;!g.done;g=d.next()){(p=g.value).is(N)&&p.processingDuplicates!=k.None&&m.set(p,p.parent),p.is(v)&&p.processingDuplicates!=w.None&&m.set(p,p.parent)}}catch(t){a={error:t}}finally{try{g&&!g.done&&(s=d.return)&&s.call(d)}finally{if(a)throw a.error}}n&&(t.clearPage(),!e&&!r||f.Base.vEIvF.JlKzR.LuQMU()||null==t.report||(e=t.report.unit.convertFromHInches(200),r=t.report.unit.convertFromHInches(52),r=new A((t.width-e)/2,t.height-r,e,r),(r=new v(r)).stretch=!0,r.printable=!1,r.image=f.Report.Export.StiExportUtils.getAdditionalData2(192),r.name=y.StiNameValidator.correctName(b.newGuid().substr(0,8)),t.components.add(r))),S.StiPostProcessDuplicatesHelper.postProcessDuplicates(l,m),m.clear(),m=null},_.postProcessPrintOn=function(t,e,r){var n=0;while(n<t.count){var i=t.getByIndex(n),i;_.allowPrintOn(i,e,r)?(null!=(i=i.as(o))&&_.postProcessPrintOn(i.components,e,r),n++):t.removeAt(n)}},_.allowPrintOn=function(t,e,r){if(t.printOn==i.AllPages)return!0;if(0<(t.printOn&i.ExceptFirstPage)&&e)return!1;if(t.printOn==i.OnlyFirstAndLastPage)return!(!e&&!r);if(0<(t.printOn&i.OnlyFirstPage)&&!e)return!1;if(0<(t.printOn&i.OnlyLastPage)&&!r)return!1;if(0<(t.printOn&i.ExceptLastPage)&&r)return!1;return!0},_.nullGuid="nullGuid",r=_,S.StiPostProcessProvider=r}(Stimulsoft=Stimulsoft||{}),function(e){var t,r,n,g,i,f,S;function o(t){this.bands=new i,this.engine=null,this.engine=t}r=t=e.Report||(e.Report={}),g=n=r.Engine||(r.Engine={}),i=e.System.Collections.Hashtable,f=e.Report.Components.StiFooterBand,S=e.Report.Components.StiContainer,o.prototype.canProcess=function(t){var t=t.as(e.Report.Components.IStiPrintAtBottom);return null!=t&&t.printAtBottom},o.prototype.add=function(t){this.bands.set(t,t)},o.prototype.render=function(t,e,r){var n,i;if(null==t||0==this.bands.count)return;for(var o=[],a=-1,s=!1,l=e,u;l<t.components.count;l++){if(null==(u=t.components.getByIndex(l).as(S)))continue;if(u.is2(g.StiLevelContainer))continue;if(u==r&&(s=!0),(null==u.containerInfo.parentBand||!u.containerInfo.parentBand.is(f)||!u.containerInfo.parentBand.printOnAllPages)&&s)continue;if(null!=this.bands.get(u))o.stimulsoft.insert(0,u),-1==a&&(a=l);else if(-1!=a&&!u.is(g.StiFooterMarkerContainer)){o.stimulsoft.clear();for(var c=0,p=a;p<t.components.count;p++){var h=t.components.getByIndex(p).as(S);if(h==r)break;h.top+=c,null!=this.bands.get(h)&&p<l&&(h.containerInfo.parentBand.is(f)&&h.containerInfo.parentBand.printOnAllPages||(c+=h.height,this.engine.positionY+=h.height))}a=-1}}try{for(var m=__values(o),d=m.next(),u;!d.done;d=m.next()){(u=d.value).top=this.engine.positionBottomY-u.height,null!=this.engine.page&&1<this.engine.page.segmentPerHeight&&(u.top+=(this.engine.page.pageHeight-this.engine.page.margins.top-this.engine.page.margins.bottom)*(this.engine.page.segmentPerHeight-1)),this.engine.positionBottomY-=u.height,u.containerInfo.parentBand.is(f)&&u.containerInfo.parentBand.printOnAllPages&&(this.engine.positionY-=u.height)}}catch(t){n={error:t}}finally{try{d&&!d.done&&(i=m.return)&&i.call(m)}finally{if(n)throw n.error}}this.bands.clear()},r=o,g.StiPrintAtBottom=r}(Stimulsoft=Stimulsoft||{}),function(te){var t,ee,e,re,ne,ie,oe,Nt,kt,Mt,Ot,ae,_t,se,C,le,v,ue,ce,n,pe,he,me,de,ge,p,l,fe,Se,r,ye,Ae,i,o;function be(){}ee=t=te.Report||(te.Report={}),re=e=ee.Engine||(ee.Engine={}),ne=te.System.StiString,ie=te.Report.Components.StiRichText,oe=te.System.Drawing.Printing.PaperKind,Nt=te.Report.Components.Table.StiTableAutoWidthType,kt=te.Report.Components.Table.StiTableCellImage,Mt=te.Report.Components.Table.StiTablceCellType,Ot=te.Report.Components.Table.StiColumnSize,ae=te.Report.Components.Table.StiTableAutoWidth,_t=te.Report.Components.Table.IStiTableCell,se=te.Report.Components.Table.StiTable,C=te.System.EventArgs,le=te.Report.Components.StiDataBand,v=te.Report.Components.StiSubReport,ue=te.Report.Components.StiCondition,ce=te.Report.Components.StiMultiCondition,n=te.Report.Components.StiMargins,pe=te.Report.Components.StiText,he=te.Report.Components.StiProcessAt,me=te.System.Collections.Hashtable,de=te.Report.Components.StiDataHelper,ge=te.Report.Components.StiFilterMode,p=te.Report.Components.StiPagesCollection,l=te.Report.Components.StiPrintOnType,fe=te.Report.Dictionary.StiDataSourceHelper,Se=te.Report.Engine.StiParser.StiParser,r=te.Report.StiReportCacheMode,ye=te.Report.Components.StiContainer,Ae=te.Report.Components.StiPage,i=te.System.StiPromise,be.renderAsync=function(qt,$t){return __awaiter(this,void 0,void 0,function(){var e,r,n,i,o,a,s,l,u,c,p,h,c,m,d,m,g,f,S,y,A,b,C,c,v,w,B,I,T,E,R,D,P,x,R,F,N,k,M,O,_,j,G,i,H,Q,L,Y,U,J,W,V,z,X,K,Z,q,$,tt,K,tt,et,rt,rt,nt,it,nt,it,ot,at,st,lt,ut,i,ct,pt,R,v,ht,mt,dt,gt,ft,dt,St,yt,At,bt,E,Ct,vt,wt,i,Bt,It,Tt,Et,Rt,Dt,Pt,xt,Ft,Nt,kt,Mt,Ot,_t,jt,Gt,Ht,Qt,Lt,Yt,Ut,Jt,Wt,Vt,zt,Xt,Kt,Zt;return __generator(this,function(t){switch(t.label){case 0:e=qt.getComponents();try{for(r=__values(e.list),n=r.next();!n.done;n=r.next())if(i=n.value,null!=(o=i.as(pe))&&o.processAt==he.EndOfPage){qt.engine.allowEndOfPageProcessing=!0;break}}catch(t){Bt={error:t}}finally{try{n&&!n.done&&(It=r.return)&&It.call(r)}finally{if(Bt)throw Bt.error}}if(be.initReport(qt),be.checkDialogsInPreview(qt))return[3,2];a=fe.getDataSourcesUsedInRequestFromUsersVariables(qt),s=new me;try{for(l=__values(qt.dictionary.dataSources.list),u=l.next();!u.done;u=l.next())c=u.value,a.containsKey(c.name)||(s.set(c.name,c.connectOnStart),c.connectOnStart=!1)}catch(t){Tt={error:t}}finally{try{u&&!u.done&&(Et=l.return)&&Et.call(l)}finally{if(Tt)throw Tt.error}}return[4,be.connectToDataAsync(qt)];case 1:t.sent();try{for(p=__values(qt.dictionary.dataSources.list),h=p.next();!h.done;h=p.next())c=h.value,s.containsKey(c.name)&&(c.connectOnStart=s.get(c.name))}catch(t){Rt={error:t}}finally{try{h&&!h.done&&(Dt=p.return)&&Dt.call(p)}finally{if(Rt)throw Rt.error}}return re.StiVariableHelper.fillItemsOfVariables(qt.compiledReport?null:qt),0<qt.pages.count&&1==qt.renderedPages.count&&(m=qt.pages.getByIndex(0),(d=qt.renderedPages.getByIndex(0)).paperSize=m.paperSize,d.orientation=m.orientation,m.paperSize==oe.Custom&&(d.width=m.width,d.height=m.height)),[2];case 2:if(null==qt.subReportsMasterReport&&qt.renderedPages.clear(),m=be.getNumberOfPass(qt),g=be.isDialogsOnStartExist(qt))return[3,4];return[4,be.renderFirstPassAsync(qt,m)];case 3:t.sent(),t.label=4;case 4:f=qt.subReportsMasterReport,S=new me,y=null,t.label=5;case 5:t.trys.push([5,9,10,11]),A=be.prepareSubReportsAndDrillDownPages(qt),null==f&&qt.renderedPages.clear(),qt.invokeBeginRender(),be.clearTotals(qt);try{for(b=__values(qt.dictionary.dataSources.list),C=b.next();!C.done;C=b.next())c=C.value}catch(t){Pt={error:t}}finally{try{C&&!C.done&&(xt=b.return)&&xt.call(b)}finally{if(Pt)throw Pt.error}}return[4,be.connectToDataAsync(qt)];case 6:return t.sent(),v=re.StiVariableHelper.fillItemsOfVariables(qt.compiledReport||qt),[4,re.StiVariableHelper.setDefaultValueForRequestFromUserVariablesAsync(qt.compiledReport||qt,v)];case 7:t.sent(),qt.bookmark.bookmarks.clear(),qt.bookmark.text=qt.reportAlias,qt.reportPass!=ee.StiReportPass.First&&qt.reportPass!=ee.StiReportPass.None||be.initCacheMode(qt),w=qt.getComponents(),B=[];try{for(I=__values(w.list),T=I.next();!T.done;T=I.next())if(E=T.value,null!=(R=E.as(se))&&R.enabled){B.push(R);continue}}catch(t){Ft={error:t}}finally{try{T&&!T.done&&(Nt=I.return)&&Nt.call(I)}finally{if(Ft)throw Ft.error}}if(qt.containsTables=0!=B.length,0<B.length){for(D=new me,P=!1,x=0;x<B.length;x++)(R=B[x]).autoWidth!=ae.None&&(P=!0),F={ref:S},N=R.startRenderTableBand(F),S=F.ref,null!=N&&(D.add(N.name,N),qt.engine.keepFirstDetailTogetherTablesList.set(N,R));if(0!=D.count)try{for(k=__values(D.values),M=k.next();!M.done;M=k.next())null!=(O=M.value).masterComponent&&O.masterComponent.is(se)&&(O.masterComponent=D.get(O.masterComponent.name+"_DB").as(le))}catch(t){kt={error:t}}finally{try{M&&!M.done&&(Mt=k.return)&&Mt.call(k)}finally{if(kt)throw kt.error}}D=null,w.clear(),w=qt.getComponents(),qt.containsTables=P}qt.engine.parserConversionStore=new me,qt.engine.anchorsArguments=new me,qt.engine.hashDataSourceReferencesCounter=new me,y=new me,_=qt.calculationMode==ee.StiCalculationMode.Compilation;try{for(j=__values(w.list),G=j.next();!G.done;G=j.next()){if((i=G.value).prepare(),!_){if(!_&&0<i.conditions.count){H=[];try{for(jt=void 0,Q=__values(i.conditions.list),L=Q.next();!L.done;L=Q.next())if(Y=L.value,U=Y.stimulsoft.as(ue),J=null,Y.stimulsoft.is(ce)){if((W=Y.stimulsoft.as(ce)).filterOn&&0<W.filters.count){for(V="{",z=0;z<W.filters.count;z++)X=W.filters.getByIndex(z),V+="(",V+=de.getFilterExpression(X,X.column,qt),V+=")",z<W.filters.count-1&&(V+=W.filterMode==ge.And?" && ":" || ");V+="}",H.push({key:W,value:V.toString()})}}else null!=U&&(J="{"+de.getFilterExpression(U,U.column,qt)+"}",H.push({key:U,value:J}))}catch(t){jt={error:t}}finally{try{L&&!L.done&&(Gt=Q.return)&&Gt.call(Q)}finally{if(jt)throw jt.error}}0<H.length&&qt.engine.parserConversionStore.set("*StiConditionExpression*"+i.name,H)}if(null!=(K=i.as(pe))&&Se.checkForDataBandsUsedInPageTotals(K),i.is(ie)&&StiOptions.Engine.fullTrust){Z=i.as(ie),q="";try{0<($=ie.notSupportedText).length&&qt.engine.parserConversionStore.set("*StiRichTextExpression*"+i.name,$)}catch(t){tt=ne.format("Expression in Text property of '{0}' can't be evaluated! {1}",i.name,t.message),te.System.StiError.showError(tt,!1),ee.StiLogService.write(i.stimulsoft.getType(),tt),ee.StiLogService.write(i.stimulsoft.getType(),t),qt.writeToReportRenderingMessages(tt)}}i.is(le)&&null!=i.renderingEvent&&!ne.isNullOrEmpty(i.renderingEvent.script)&&(K=i.renderingEvent.script,-1!=(tt=K.indexOf("AddAnchor("))&&-1!=(et=K.indexOf(")",tt))&&(tt+=10,rt=K.substr(tt,et-tt),qt.engine.anchorsArguments.set(i.name,rt)))}null!=(rt=i.as(le))&&(rt.isDataSourceEmpty||(nt=qt.engine.hashDataSourceReferencesCounter.get(rt.dataSourceName),it=null==nt?1:Math.trunc(nt.stimulsoft.toNumber())+1,qt.engine.hashDataSourceReferencesCounter.set(rt.dataSourceName,it)),rt.isBusinessObjectEmpty||(nt=qt.engine.hashDataSourceReferencesCounter.get(rt.businessObject.name),it=null==nt?1:Math.trunc(nt.stimulsoft.toNumber())+1,qt.engine.hashDataSourceReferencesCounter.set(rt.businessObject.name,it)))}}catch(t){Ot={error:t}}finally{try{G&&!G.done&&(_t=j.return)&&_t.call(j)}finally{if(Ot)throw Ot.error}}return qt.engine.newPageTime=Date.now(),[4,be.renderReportAsync(qt,f,$t)];case 8:if(t.sent(),qt.isStopped||(be.renderFormsOnEnd(qt),qt.isRendered=!0),0<S.count)try{for(ot=__values(S.keys),at=ot.next();!at.done;at=ot.next())for(st=at.value,lt=S.get(st),ut=0;ut<lt.length;ut++)null!=(i=lt[ut]).parent&&i.parent.components.remove(i)}catch(t){Ht={error:t}}finally{try{at&&!at.done&&(Qt=ot.return)&&Qt.call(ot)}finally{if(Ht)throw Ht.error}}try{for(ct=__values(B),pt=ct.next();!pt.done;pt=ct.next())(R=pt.value).enabled=!0}catch(t){Lt={error:t}}finally{try{pt&&!pt.done&&(Yt=ct.return)&&Yt.call(ct)}finally{if(Lt)throw Lt.error}}return[3,11];case 9:if(v=t.sent(),qt.isStopped=!0,ee.StiLogService.write(be,v),!StiOptions.Engine.hideExceptions)throw v;return[3,11];case 10:if(qt.currentPage=0,null==f&&(qt.currentPrintPage=0),null==f&&qt.reportPass!=ee.StiReportPass.First)if(qt.renderedPages.cacheMode){if(null!=qt.renderedPages.notCachedPages)try{for(ht=__values(qt.renderedPages.notCachedPages),mt=ht.next();!mt.done;mt=ht.next())dt=mt.value,re.StiPostProcessProvider.postProcessPage(dt,be.isFirstPage(qt,dt),be.isLastPage(qt,dt)),re.StiPostProcessProvider.postProcessPrimitives(dt)}catch(t){Ut={error:t}}finally{try{mt&&!mt.done&&(Jt=ht.return)&&Jt.call(ht)}finally{if(Ut)throw Ut.error}}}else re.StiPostProcessProvider.postProcessPages(qt.renderedPages);if(be.finishAllPagesInNotCachedPagesArray(qt),be.removeAllPagesLessThenFromPageAndGreaterThenToPage(qt,$t),be.madeCollate(qt),be.madeMirrorMargins(qt),re.StiBookmarksHelper.prepareBookmark(qt.bookmark),be.disconnectFromData(qt),null==f&&(0==qt.renderedPages.count&&qt.renderedPages.add(new Ae(qt)),qt.engine.pageNumbers.processPageNumbers(),qt.invokeEndRender(),qt.engine.pageNumbers.clear(),!qt.renderedPages.cacheMode))try{for(gt=__values(qt.renderedPages.list),ft=gt.next();!ft.done;ft=gt.next()){dt=ft.value,St=dt.getComponents();try{for(zt=void 0,yt=__values(St.list),At=yt.next();!At.done;At=yt.next())bt=At.value,null!=(E=bt.as(ye))&&null!=E.containerInfo&&(E.containerInfo.dataSourceRow=null,E.containerInfo.businessObjectCurrent=null)}catch(t){zt={error:t}}finally{try{At&&!At.done&&(Xt=yt.return)&&Xt.call(yt)}finally{if(zt)throw zt.error}}}}catch(t){Wt={error:t}}finally{try{ft&&!ft.done&&(Vt=gt.return)&&Vt.call(gt)}finally{if(Wt)throw Wt.error}}S=null,be.finishProgressForm(qt),qt.reportPass==ee.StiReportPass.Second&&(qt.reportPass=ee.StiReportPass.None),null==f&&(be.clearTotals(qt),qt.reportPass!=ee.StiReportPass.First&&(qt.parentReport=null)),null!=qt.engine.parserConversionStore&&(qt.engine.parserConversionStore.clear(),qt.engine.parserConversionStore=null),Ct=qt.getComponents();try{for(vt=__values(Ct.list),wt=vt.next();!wt.done;wt=vt.next())(i=wt.value).unPrepare()}catch(t){Kt={error:t}}finally{try{wt&&!wt.done&&(Zt=vt.return)&&Zt.call(vt)}finally{if(Kt)throw Kt.error}}return qt.engine.keepFirstDetailTogetherTablesList.clear(),[7];case 11:return[2]}})})},be.render=function(e,t){var r,n,i,o,a,s,l,u,c,p,h,m,d,g,f,S,y,A,b,C,v,w,B,I,T,E,R,D,P=e.getComponents();try{for(var x=__values(P.list),F=x.next();!F.done;F=x.next()){var N,k=(N=F.value).as(pe);if(null!=k&&k.processAt==he.EndOfPage){e.engine.allowEndOfPageProcessing=!0;break}}}catch(t){r={error:t}}finally{try{F&&!F.done&&(n=x.return)&&n.call(x)}finally{if(r)throw r.error}}if(be.initReport(e),!be.checkDialogsInPreview(e)){var M=fe.getDataSourcesUsedInRequestFromUsersVariables(e),O=new me,_,j;try{for(var G=__values(e.dictionary.dataSources.list),H=G.next();!H.done;H=G.next()){var Q=H.value;M.containsKey(Q.name)||(O.set(Q.name,Q.connectOnStart),Q.connectOnStart=!1)}}catch(t){i={error:t}}finally{try{H&&!H.done&&(o=G.return)&&o.call(G)}finally{if(i)throw i.error}}be.connectToData(e);try{for(var L=__values(e.dictionary.dataSources.list),Y=L.next();!Y.done;Y=L.next()){var Q=Y.value;O.containsKey(Q.name)&&(Q.connectOnStart=O.get(Q.name))}}catch(t){a={error:t}}finally{try{Y&&!Y.done&&(s=L.return)&&s.call(L)}finally{if(a)throw a.error}}return re.StiVariableHelper.fillItemsOfVariables(e.compiledReport?null:e),void(0<e.pages.count&&1==e.renderedPages.count&&(_=e.pages.getByIndex(0),(j=e.renderedPages.getByIndex(0)).paperSize=_.paperSize,j.orientation=_.orientation,_.paperSize==oe.Custom&&(j.width=_.width,j.height=_.height)))}null==e.subReportsMasterReport&&e.renderedPages.clear();var _=be.getNumberOfPass(e),U;be.isDialogsOnStartExist(e)||be.renderFirstPass(e,_);var J=e.subReportsMasterReport,W=new me,V=null;try{var z=be.prepareSubReportsAndDrillDownPages(e);null==J&&e.renderedPages.clear(),e.invokeBeginRender(),be.clearTotals(e);try{for(var X=__values(e.dictionary.dataSources.list),K=X.next();!K.done;K=X.next())var Q=K.value}catch(t){l={error:t}}finally{try{K&&!K.done&&(u=X.return)&&u.call(X)}finally{if(l)throw l.error}}be.connectToData(e);var Z=re.StiVariableHelper.fillItemsOfVariables(e.compiledReport||e);re.StiVariableHelper.setDefaultValueForRequestFromUserVariables(e.compiledReport||e,Z),e.bookmark.bookmarks.clear(),e.bookmark.text=e.reportAlias,e.reportPass!=ee.StiReportPass.First&&e.reportPass!=ee.StiReportPass.None||be.initCacheMode(e);var q=e.getComponents(),$=[];try{for(var tt=__values(q.list),et=tt.next(),rt,nt;!et.done;et=tt.next()){if(null!=(nt=(rt=et.value).as(se))&&nt.enabled){$.push(nt);continue}}}catch(t){c={error:t}}finally{try{et&&!et.done&&(p=tt.return)&&p.call(tt)}finally{if(c)throw c.error}}if(e.containsTables=0!=$.length,0<$.length){for(var it=new me,ot=!1,at=0,nt;at<$.length;at++){(nt=$[at]).autoWidth!=ae.None&&(ot=!0);var st={ref:W},lt=nt.startRenderTableBand(st),W=st.ref;null!=lt&&(it.add(lt.name,lt),e.engine.keepFirstDetailTogetherTablesList.set(lt,nt))}if(0!=it.count)try{for(var ut=__values(it.values),ct=ut.next();!ct.done;ct=ut.next()){var pt=ct.value;null!=pt.masterComponent&&pt.masterComponent.is(se)&&(pt.masterComponent=it.get(pt.masterComponent.name+"_DB").as(le))}}catch(t){h={error:t}}finally{try{ct&&!ct.done&&(m=ut.return)&&m.call(ut)}finally{if(h)throw h.error}}it=null,q.clear(),q=e.getComponents(),e.containsTables=ot}e.engine.parserConversionStore=new me,e.engine.anchorsArguments=new me,e.engine.hashDataSourceReferencesCounter=new me,V=new me;var ht=e.calculationMode==ee.StiCalculationMode.Compilation;try{for(var mt=__values(q.list),dt=mt.next(),N;!dt.done;dt=mt.next()){if((N=dt.value).prepare(),!ht){if(!ht&&0<N.conditions.count){var gt=[];try{for(var ft=(f=void 0,__values(N.conditions.list)),St=ft.next();!St.done;St=ft.next()){var yt=St.value,At=yt.stimulsoft.as(ue),bt=null;if(yt.stimulsoft.is(ce)){var Ct=yt.stimulsoft.as(ce);if(Ct.filterOn&&0<Ct.filters.count){for(var vt="{",wt=0;wt<Ct.filters.count;wt++){var Bt=Ct.filters.getByIndex(wt);vt+="(",vt+=de.getFilterExpression(Bt,Bt.column,e),vt+=")",wt<Ct.filters.count-1&&(vt+=Ct.filterMode==ge.And?" && ":" || ")}vt+="}",gt.push({key:Ct,value:vt.toString()})}}else null!=At&&(bt="{"+de.getFilterExpression(At,At.column,e)+"}",gt.push({key:At,value:bt}))}}catch(t){f={error:t}}finally{try{St&&!St.done&&(S=ft.return)&&S.call(ft)}finally{if(f)throw f.error}}0<gt.length&&e.engine.parserConversionStore.set("*StiConditionExpression*"+N.name,gt)}var It=N.as(pe),Tt,It,Et,Rt;if(null!=It&&Se.checkForDataBandsUsedInPageTotals(It),N.is(ie)&&StiOptions.Engine.fullTrust){var Dt=N.as(ie),Pt="";try{var xt=ie.notSupportedText;0<xt.length&&e.engine.parserConversionStore.set("*StiRichTextExpression*"+N.name,xt)}catch(t){var Et=ne.format("Expression in Text property of '{0}' can't be evaluated! {1}",N.name,t.message);te.System.StiError.showError(Et,!1),ee.StiLogService.write(N.stimulsoft.getType(),Et),ee.StiLogService.write(N.stimulsoft.getType(),t),e.writeToReportRenderingMessages(Et)}}N.is(le)&&null!=N.renderingEvent&&!ne.isNullOrEmpty(N.renderingEvent.script)&&(-1==(It=(Tt=N.renderingEvent.script).indexOf("AddAnchor("))||-1!=(Et=Tt.indexOf(")",It))&&(It+=10,Rt=Tt.substr(It,Et-It),e.engine.anchorsArguments.set(N.name,Rt)))}var Rt=N.as(le),Ft,Nt,Ft,Nt;null!=Rt&&(Rt.isDataSourceEmpty||(Nt=null==(Ft=e.engine.hashDataSourceReferencesCounter.get(Rt.dataSourceName))?1:Math.trunc(Ft.stimulsoft.toNumber())+1,e.engine.hashDataSourceReferencesCounter.set(Rt.dataSourceName,Nt)),Rt.isBusinessObjectEmpty||(Nt=null==(Ft=e.engine.hashDataSourceReferencesCounter.get(Rt.businessObject.name))?1:Math.trunc(Ft.stimulsoft.toNumber())+1,e.engine.hashDataSourceReferencesCounter.set(Rt.businessObject.name,Nt)))}}catch(t){d={error:t}}finally{try{dt&&!dt.done&&(g=mt.return)&&g.call(mt)}finally{if(d)throw d.error}}if(be.renderReport(e,J,t),e.isStopped||(be.renderFormsOnEnd(e),e.isRendered=!0),0<W.count)try{for(var kt=__values(W.keys),Mt=kt.next();!Mt.done;Mt=kt.next())for(var Ot=Mt.value,_t=W.get(Ot),jt=0,N;jt<_t.length;jt++){null!=(N=_t[jt]).parent&&N.parent.components.remove(N)}}catch(t){y={error:t}}finally{try{Mt&&!Mt.done&&(A=kt.return)&&A.call(kt)}finally{if(y)throw y.error}}try{for(var Gt=__values($),Ht=Gt.next(),nt;!Ht.done;Ht=Gt.next()){(nt=Ht.value).enabled=!0}}catch(t){b={error:t}}finally{try{Ht&&!Ht.done&&(C=Gt.return)&&C.call(Gt)}finally{if(b)throw b.error}}}catch(t){if(e.isStopped=!0,ee.StiLogService.write(be,t),!StiOptions.Engine.hideExceptions)throw t}finally{if(e.currentPage=0,null==J&&(e.currentPrintPage=0),null==J&&e.reportPass!=ee.StiReportPass.First)if(e.renderedPages.cacheMode){if(null!=e.renderedPages.notCachedPages)try{for(var Qt=__values(e.renderedPages.notCachedPages),Lt=Qt.next();!Lt.done;Lt=Qt.next()){var Yt=Lt.value;re.StiPostProcessProvider.postProcessPage(Yt,be.isFirstPage(e,Yt),be.isLastPage(e,Yt)),re.StiPostProcessProvider.postProcessPrimitives(Yt)}}catch(t){v={error:t}}finally{try{Lt&&!Lt.done&&(w=Qt.return)&&w.call(Qt)}finally{if(v)throw v.error}}}else re.StiPostProcessProvider.postProcessPages(e.renderedPages);if(be.finishAllPagesInNotCachedPagesArray(e),be.removeAllPagesLessThenFromPageAndGreaterThenToPage(e,t),be.madeCollate(e),be.madeMirrorMargins(e),re.StiBookmarksHelper.prepareBookmark(e.bookmark),be.disconnectFromData(e),null==J&&(0==e.renderedPages.count&&e.renderedPages.add(new Ae(e)),e.engine.pageNumbers.processPageNumbers(),e.invokeEndRender(),e.engine.pageNumbers.clear(),!e.renderedPages.cacheMode))try{for(var Ut=__values(e.renderedPages.list),Jt=Ut.next();!Jt.done;Jt=Ut.next()){var Yt,Wt=(Yt=Jt.value).getComponents();try{for(var Vt=(T=void 0,__values(Wt.list)),zt=Vt.next(),Xt,rt;!zt.done;zt=Vt.next()){null!=(rt=zt.value.as(ye))&&null!=rt.containerInfo&&(rt.containerInfo.dataSourceRow=null,rt.containerInfo.businessObjectCurrent=null)}}catch(t){T={error:t}}finally{try{zt&&!zt.done&&(E=Vt.return)&&E.call(Vt)}finally{if(T)throw T.error}}}}catch(t){B={error:t}}finally{try{Jt&&!Jt.done&&(I=Ut.return)&&I.call(Ut)}finally{if(B)throw B.error}}W=null,be.finishProgressForm(e),e.reportPass==ee.StiReportPass.Second&&(e.reportPass=ee.StiReportPass.None),null==J&&(be.clearTotals(e),e.reportPass!=ee.StiReportPass.First&&(e.parentReport=null)),null!=e.engine.parserConversionStore&&(e.engine.parserConversionStore.clear(),e.engine.parserConversionStore=null);var Kt=e.getComponents();try{for(var Zt=__values(Kt.list),qt=Zt.next(),N;!qt.done;qt=Zt.next()){(N=qt.value).unPrepare()}}catch(t){R={error:t}}finally{try{qt&&!qt.done&&(D=Zt.return)&&D.call(Zt)}finally{if(R)throw R.error}}e.engine.keepFirstDetailTogetherTablesList.clear()}},be.StiRenderProviderV2_AddAnchor_Rendering=function(t,e){try{var r=t,n,i,i;null!=r&&null!=r.report&&null!=r.report.engine&&0<r.report.engine.anchorsArguments.count&&(n=r.report.engine.anchorsArguments.get(r.name),ne.isNullOrEmpty(n)||((i=new pe).name="**AddAnchor**",i.page=r.report.pages.getByIndex(0),i=Se.parseTextValue("{"+n+"}",i),r.report.addAnchor(i)))}catch(e){}},be.connectToDataAsync=function(a){return __awaiter(this,void 0,void 0,function(){return __generator(this,function(t){return[2,new Promise(function(t,e){var o=new i;o.try(function(){t()}).catch(function(){e()}),a.dictionary.connectAsync().try(function(){var e,t;try{try{for(var r=__values(a.dictionary.dataSources.list),n=r.next();!n.done;n=r.next()){var i=n.value;i.resetData(),i.resetDetailsRows()}}catch(t){e={error:t}}finally{try{n&&!n.done&&(t=r.return)&&t.call(r)}finally{if(e)throw e.error}}a.dictionary.connectVirtualDataSourcesAsync().try(function(){a.dictionary.connectCrossTabDataSources(),a.dictionary.connectDataTransformationsAsync().try(function(){a.dictionary.regRelations2(!0),o.callTry()})})}catch(t){te.System.StiError.showError(t,!1),o.callCatch("string"==typeof t?t:t.message)}}).catch(function(t){o.callCatch(t)}).abort(o)})]})})},be.connectToData=function(t){var e,r;t.dictionary.connect();try{for(var n=__values(t.dictionary.dataSources.list),i=n.next();!i.done;i=n.next()){var o=i.value;o.resetData(),o.resetDetailsRows()}}catch(t){e={error:t}}finally{try{i&&!i.done&&(r=n.return)&&r.call(n)}finally{if(e)throw e.error}}t.dictionary.connectVirtualDataSourcesAsync(),t.dictionary.connectCrossTabDataSources(),t.dictionary.connectDataTransformationsAsync(),t.dictionary.regRelations2(!0)},be.disconnectFromData=function(t){t.dictionary.disconnect()},be.isDialogsOnStartExist=function(t){var e,r;try{for(var n=__values(t.pages.list),i=n.next();!i.done;i=n.next())var o=i.value}catch(t){e={error:t}}finally{try{i&&!i.done&&(r=n.return)&&r.call(n)}finally{if(e)throw e.error}}return!1},be.renderFormsOnStart=function(t){if(t.isInteractionRendering)return!0;return!0},be.renderFormsOnEnd=function(t){if(t.isInteractionRendering)return!0;return!0},be.checkDialogsInPreview=function(t){var e,r,n,i;try{for(var o=__values(t.dictionary.variables.list),a=o.next();!a.done;a=o.next()){var s=a.value;if(s.requestFromUser&&!t.isPreviewDialogs&&t.requestParameters)return t.isStopped=!1,t.isRendered=!0,null!=t.parentReport&&(t.parentReport.isRendered=!0),!1}}catch(t){e={error:t}}finally{try{a&&!a.done&&(r=o.return)&&r.call(o)}finally{if(e)throw e.error}}try{for(var l=__values(t.pages.list),u=l.next();!u.done;u=l.next())var c=u.value}catch(t){n={error:t}}finally{try{u&&!u.done&&(i=l.return)&&i.call(l)}finally{if(n)throw n.error}}return!0},be.clearPagesWhichLessThenFromPageAndGreaterThenToPage=function(t,e){var r;1<t.renderedPages.count&&t.reportPass!=ee.StiReportPass.First&&(r=t.renderedPages.count-2,(0<e.fromPage&&e.fromPage>r||0<e.toPage&&e.toPage<r)&&t.renderedPages.getByIndex(r).components.clear(),0<e.toPage&&e.toPage<r&&e.renderOnlyPagesFromRange&&(t.isStopped=!0))},be.initCacheMode=function(t){t.reportCacheMode!=r.Off&&(t.reportCacheMode==r.On&&(t.renderedPages.cacheMode=!0),t.renderedPages.canUseCacheMode=!0)},be.removeAllPagesLessThenFromPageAndGreaterThenToPage=function(t,e){if(e.destroyPagesWhichNotInRange&&t.reportPass!=ee.StiReportPass.First){if(0<e.toPage)while(e.toPage<t.renderedPages.count-1)t.renderedPages.removeAt(t.renderedPages.count-1);var r=e.fromPage;while(0<r&&0<t.renderedPages.count)t.renderedPages.removeAt(0),r--}},be.finishAllPagesInNotCachedPagesArray=function(t){t.renderedPages.cacheMode&&null!=t.renderedPages.notCachedPages&&t.reportPass!=ee.StiReportPass.First&&(t.renderedPages.notCachedPages.stimulsoft.clear(),t.renderedPages.notCachedPages=null)},be.processPageToCache=function(t,e,r){t.renderedPages.cacheMode&&t.reportPass!=ee.StiReportPass.First&&(r?null!=t.engine&&null!=t.engine.pageNumbers&&0<t.engine.pageNumbers.pageNumbers.count&&(re.StiPostProcessProvider.postProcessPage(e,be.isFirstPage(t,e),be.isLastPage(t,e),r),re.StiPostProcessProvider.postProcessPrimitives(e)):(null==t.renderedPages.notCachedPages&&(t.renderedPages.notCachedPages=new Array),-1==t.renderedPages.notCachedPages.indexOf(e)&&t.renderedPages.notCachedPages.push(e)))},be.isFirstPage=function(t,e){if(null!=t.engine.pageNumbers){var r=t.renderedPages.indexOf(e),r=Math.max(r,0),n;return r=Math.min(r,t.engine.pageNumbers.pageNumbers.count-1),-1==(n=t.engine.pageNumbers.pageNumbers.getByIndex(r)).totalPageCount||-1==n.pageNumber?0==r||n.resetPageNumber:1==n.pageNumber}var n;return(n=t.renderedPages.indexOf(e))<1},be.isLastPage=function(t,e){if(null!=t.engine.pageNumbers){var r=t.renderedPages.indexOf(e),r=Math.max(r,0),n;return r=Math.min(r,t.engine.pageNumbers.pageNumbers.count-1),-1==(n=t.engine.pageNumbers.pageNumbers.getByIndex(r)).totalPageCount||-1==n.pageNumber?r==t.renderedPages.count-1||r+1<t.engine.pageNumbers.pageNumbers.count&&t.engine.pageNumbers.pageNumbers.getByIndex(r+1).resetPageNumber:n.pageNumber==n.totalPageCount}var n;return(n=t.renderedPages.indexOf(e))==t.renderedPages.count-1},be.renderFirstPassAsync=function(u,c){return __awaiter(this,void 0,void 0,function(){var e,r,n,i,o,a,s,l;return __generator(this,function(t){switch(t.label){case 0:if(c!=ee.StiNumberOfPass.DoublePass||u.reportPass!=ee.StiReportPass.None)return[3,5];if(u.reportPass!=ee.StiReportPass.None)return[3,5];if(u.reportPass=ee.StiReportPass.First,e=u.engine,u.engine=null,r=u.renderedPages.count,n=null,0<r)for((n=new p(u)).addRange(u.renderedPages),i=new Ae(u),o=0;o<u.renderedPages.count;o++)u.renderedPages.setByIndex(o,i);a=u.currentPrintPage,(s=new re.StiEngine(u)).pageNumbers.clearPageNumbersOnFinish=!1,s.pageNumbers.pageNumbers=e.pageNumbers.pageNumbers,s.parserConversionStore=e.parserConversionStore.clone(),null!=e.hashDataSourceReferencesCounter&&(s.hashDataSourceReferencesCounter=e.hashDataSourceReferencesCounter.clone()),u.engine=s,t.label=1;case 1:return t.trys.push([1,3,,4]),[4,u.renderAsync2()];case 2:return t.sent(),[3,4];case 3:throw l=t.sent(),te.System.StiError.showError(l,!1),u.reportPass=ee.StiReportPass.None,l;case 4:e.latestProgressValue=u.engine.latestProgressValue,u.engine=e,s.parserConversionStore=null,u.engine.pageNumbers.processPageNumbers(),u.reportPass=ee.StiReportPass.Second,u.isRendering=!0,u.isRendered=!1,u.renderedPages.clear(),0<r&&(u.renderedPages.addRange(n),n.clear()),u.currentPrintPage=a,t.label=5;case 5:return u.resetAggregateFunctions(),[2]}})})},be.renderFirstPass=function(e,t){if(t==ee.StiNumberOfPass.DoublePass&&e.reportPass==ee.StiReportPass.None&&e.reportPass==ee.StiReportPass.None){e.reportPass=ee.StiReportPass.First;var r=e.engine;e.engine=null;var n=e.renderedPages.count,i=null;if(0<n){(i=new p(e)).addRange(e.renderedPages);for(var o=new Ae(e),a=0;a<e.renderedPages.count;a++)e.renderedPages.setByIndex(a,o)}var s=e.currentPrintPage,t=new re.StiEngine(e);t.pageNumbers.clearPageNumbersOnFinish=!1,t.pageNumbers.pageNumbers=r.pageNumbers.pageNumbers,t.parserConversionStore=r.parserConversionStore.clone(),null!=r.hashDataSourceReferencesCounter&&(t.hashDataSourceReferencesCounter=r.hashDataSourceReferencesCounter.clone()),e.engine=t;try{e.render()}catch(t){throw te.System.StiError.showError(t,!1),e.reportPass=ee.StiReportPass.None,t}r.latestProgressValue=e.engine.latestProgressValue,e.engine=r,t.parserConversionStore=null,e.engine.pageNumbers.processPageNumbers(),e.reportPass=ee.StiReportPass.Second,e.isRendering=!0,e.isRendered=!1,e.renderedPages.clear(),0<n&&(e.renderedPages.addRange(i),i.clear()),e.currentPrintPage=s}e.resetAggregateFunctions()},be.clearPagesForFirstPass=function(t){t.reportPass==ee.StiReportPass.First&&2<=t.renderedPages.count&&t.renderedPages.getByIndex(t.renderedPages.count-2).components.clear()},be.getNumberOfPass=function(t){var e,r,n=t.numberOfPass;if(t.reportPass==ee.StiReportPass.None&&n==ee.StiNumberOfPass.SinglePass){if(!StiOptions.Engine.useAdvancedPrintOnEngine)return ee.StiNumberOfPass.SinglePass;var i=t.getComponents();try{for(var o=__values(i.list),a=o.next();!a.done;a=o.next()){var s=a.value;if(s.printOn!=l.AllPages&&s.printOn!=l.OnlyFirstPage&&s.printOn!=l.ExceptFirstPage)return ee.StiNumberOfPass.DoublePass}}catch(t){e={error:t}}finally{try{a&&!a.done&&(r=o.return)&&r.call(o)}finally{if(e)throw e.error}}}return n},be.madeCollate=function(t){var e,r;if(t.renderedPages.count<3||t.collate<2)return;var n=new Array;if(StiOptions.Engine.useCollateOldMode)for(var i=0;i<t.collate;i++)for(var o=i;o<t.renderedPages.count;o+=t.collate)n.push(t.renderedPages.getByIndex(o));else{var a=Math.trunc(t.renderedPages.count/t.collate);a*t.collate<t.renderedPages.count&&a++;for(var i=0;i<a;i++)for(var o=i;o<t.renderedPages.count;o+=a)n.push(t.renderedPages.getByIndex(o))}t.renderedPages.clear();try{for(var s=__values(n),l=s.next();!l.done;l=s.next()){var u=l.value;t.renderedPages.addV2Internal(u)}}catch(t){e={error:t}}finally{try{l&&!l.done&&(r=s.return)&&r.call(s)}finally{if(e)throw e.error}}},be.madeMirrorMargins=function(t){if(t.renderedPages.count<2)return;for(var e=1;e<t.renderedPages.count;e+=2){var r=t.renderedPages.getPageWithoutCache(e);r.mirrorMargins&&(r.margins=new n(r.margins.right,r.margins.left,r.margins.top,r.margins.bottom))}},be.initReport=function(t){t.currentPage=0,null==t.subReportsMasterReport&&(t.currentPrintPage=0),t.isStopped=!1,t.resetAggregateFunctions()},be.clearTotals=function(t){t.totals.clear(),null!=t.parentReport&&t.parentReport.totals.clear()},be.prepareSubReportsAndDrillDownPages=function(t){var e,r,n,i,o,a,s=new me,l=t.getComponents();try{for(var u=__values(t.pages.list),c=u.next();!c.done;c=u.next()){var p=c.value;p.skip=!1,s.set(p.guid,p)}}catch(t){e={error:t}}finally{try{c&&!c.done&&(r=u.return)&&r.call(u)}finally{if(e)throw e.error}}try{for(var h=__values(l.list),m=h.next();!m.done;m=h.next()){var d=m.value,g=d.as(v),f,S,f;if(null!=g&&null!=g.subReportPageGuid&&null!=(f=s.get(g.subReportPageGuid))&&(f.skip=!0),null!=d.interaction&&d.interaction.drillDownEnabled&&null!=d.interaction.drillDownPageGuid&&(null==(f=null!=(S=s.get(d.interaction.drillDownPageGuid))?S.as(Ae):null)||f.drillDownActivated||(f.skip=!0)),d.is(te.Report.Chart.IStiChart))try{for(var y=(o=void 0,__values(d.series.list)),A=y.next();!A.done;A=y.next()){var b=A.value,S,f;if(null!=b.interaction&&null!=b.interaction.drillDownPageGuid){null!=(f=null!=(S=s.get(b.interaction.drillDownPageGuid))?S.as(Ae):null)&&(f.skip=!0);break}}}catch(t){o={error:t}}finally{try{A&&!A.done&&(a=y.return)&&a.call(y)}finally{if(o)throw o.error}}}}catch(t){n={error:t}}finally{try{m&&!m.done&&(i=h.return)&&i.call(h)}finally{if(n)throw n.error}}return s},be.renderReportAsync=function(A,t,e){return __awaiter(this,void 0,void 0,function(){var e,r,n,i,o,a,s,l,u,c,p,h,m,m,d,o,g,g,g,f,S,y;return __generator(this,function(t){switch(t.label){case 0:t.trys.push([0,20,,21]),e=0,t.label=1;case 1:t.trys.push([1,16,17,18]),r=__values(A.pages.list),n=r.next(),t.label=2;case 2:if(n.done)return[3,15];i=n.value,o=i.enabled,t.label=3;case 3:if(t.trys.push([3,,11,12]),A.engine.templatePage=i,A.engine.templateContainer=i,A.currentPrintPage++,i.skip||(i.invokeBeforePrint(i,C.empty),A.engine.skipFirstPageBeforePrintEvent=!0),A.currentPrintPage--,!i.enabled||i.skip)return i.skip||(A.engine.skipFirstPageBeforePrintEvent=!1,i.invokeAfterPrint(i,C.empty)),[3,14];null!=A.engine.masterEngine&&(A.engine.masterEngine.templatePage=i,A.engine.masterEngine.templateContainer=i),a=0,t.label=4;case 4:if(!(a<i.numberOfCopies))return[3,10];if(A.pageCopyNumber=a+1,0<a&&(i.pageInfo.renderedCount=0),i.pageInfo.indexOfStartRenderedPages=A.renderedPages.count,i.parentBookmark=i.report.bookmark,i.currentBookmark=i.parentBookmark,0!=A.renderedPages.count&&i.printOnPreviousPage)return[3,6];return A.engine.firstCallNewPage=!0,[4,A.engine.newPageAsync()];case 5:return t.sent(),[3,7];case 6:if(i.printOnPreviousPage&&0!=e){s=A.renderedPages.getByIndex(A.renderedPages.count-1),l=null,u="TAG##"+A.engine.columnsOnPanel.currentColumn.toString();try{for(S=void 0,c=__values(s.components.list),p=c.next();!p.done;p=c.next())(h=p.value).name==u&&(l=h.as(ye))}catch(t){S={error:t}}finally{try{p&&!p.done&&(y=c.return)&&y.call(c)}finally{if(S)throw S.error}}null!=l?l.height=A.engine.positionY-l.top:((m=new ye).name="TAG##"+A.engine.columnsOnPanel.currentColumn.toString(),m.top=0,m.height=A.engine.positionY,m.left=(A.engine.columnsOnPanel.currentColumn-1)*s.getColumnWidth(),m.width=0<s.columns?s.getColumnWidth():s.width,m.tagValue=s.tagValue,m.bookmarkValue=s.bookmarkValue,m.hyperlinkValue=s.hyperlinkValue,m.toolTipValue=s.toolTipValue,m.guid=s.guid,s.tagValue=null,s.bookmarkValue=null,s.hyperlinkValue=null,s.toolTipValue=null,s.guid=null,A.engine.addContainerToDestination(m)),(m=new ye).name="TAG##"+A.engine.columnsOnPanel.currentColumn.toString(),m.top=A.engine.positionY,m.height=A.engine.positionBottomY-A.engine.positionY,m.left=(A.engine.columnsOnPanel.currentColumn-1)*i.getColumnWidth(),m.width=0<i.columns?i.getColumnWidth():i.width,m.tagValue=i.tagValue,m.bookmarkValue=i.bookmarkValue,m.hyperlinkValue=i.hyperlinkValue,m.toolTipValue=i.toolTipValue,m.guid=i.guid,i.tagValue=null,i.bookmarkValue=null,i.hyperlinkValue=null,i.toolTipValue=null,A.engine.addContainerToDestination(m)}t.label=7;case 7:return[4,re.StiPageHelper.renderPageAsync(i)];case 8:t.sent(),t.label=9;case 9:return a++,[3,4];case 10:return[3,12];case 11:return i.enabled=o,[7];case 12:return A.engine.processLastPageAfterRendering(),o={ref:d=null},A.engine.renderFootersOnAllPages(null,0,o),d=o.ref,A.engine.renderPrintAtBottom(null,0,null),[4,A.engine.renderEmptyBandsAsync(A.engine.containerForRender,null)];case 13:t.sent(),A.engine.emptyBands.clear(),e++,t.label=14;case 14:return n=r.next(),[3,2];case 15:return[3,18];case 16:return g=t.sent(),g={error:g},[3,18];case 17:try{n&&!n.done&&(f=r.return)&&f.call(r)}finally{if(g)throw g.error}return[7];case 18:return A.engine.invokePageAfterPrint(),be.renderTable(A),[4,A.engine.finalClearAsync()];case 19:return t.sent(),[3,21];case 20:return g=t.sent(),te.System.StiError.showError(g,!1),A.engine.pageNumbers.pageNumbers.removeAt(A.engine.pageNumbers.pageNumbers.count-1),[3,21];case 21:return[2]}})})},be.renderReport=function(e,t,r){var n,i,o,a;try{var s=0;try{for(var l=__values(e.pages.list),u=l.next();!u.done;u=l.next()){var c=u.value,p=c.enabled;try{if(e.engine.templatePage=c,e.engine.templateContainer=c,e.currentPrintPage++,c.skip||(c.invokeBeforePrint(c,C.empty),e.engine.skipFirstPageBeforePrintEvent=!0),e.currentPrintPage--,!c.enabled||c.skip){c.skip||(e.engine.skipFirstPageBeforePrintEvent=!1,c.invokeAfterPrint(c,C.empty));continue}null!=e.engine.masterEngine&&(e.engine.masterEngine.templatePage=c,e.engine.masterEngine.templateContainer=c);for(var h=0;h<c.numberOfCopies;h++){if(e.pageCopyNumber=h+1,0<h&&(c.pageInfo.renderedCount=0),c.pageInfo.indexOfStartRenderedPages=e.renderedPages.count,c.parentBookmark=c.report.bookmark,c.currentBookmark=c.parentBookmark,0!=e.renderedPages.count&&c.printOnPreviousPage){if(c.printOnPreviousPage&&0!=s){var m=e.renderedPages.getByIndex(e.renderedPages.count-1),d=null,g="TAG##"+e.engine.columnsOnPanel.currentColumn.toString(),f;try{for(var S=(o=void 0,__values(m.components.list)),y=S.next();!y.done;y=S.next()){var A=y.value;A.name==g&&(d=A.as(ye))}}catch(t){o={error:t}}finally{try{y&&!y.done&&(a=S.return)&&a.call(S)}finally{if(o)throw o.error}}null!=d?d.height=e.engine.positionY-d.top:((f=new ye).name="TAG##"+e.engine.columnsOnPanel.currentColumn.toString(),f.top=0,f.height=e.engine.positionY,f.left=(e.engine.columnsOnPanel.currentColumn-1)*m.getColumnWidth(),f.width=0<m.columns?m.getColumnWidth():m.width,f.tagValue=m.tagValue,f.bookmarkValue=m.bookmarkValue,f.hyperlinkValue=m.hyperlinkValue,f.toolTipValue=m.toolTipValue,f.guid=m.guid,m.tagValue=null,m.bookmarkValue=null,m.hyperlinkValue=null,m.toolTipValue=null,m.guid=null,e.engine.addContainerToDestination(f));var f=new ye;f.name="TAG##"+e.engine.columnsOnPanel.currentColumn.toString(),f.top=e.engine.positionY,f.height=e.engine.positionBottomY-e.engine.positionY,f.left=(e.engine.columnsOnPanel.currentColumn-1)*c.getColumnWidth(),f.width=0<c.columns?c.getColumnWidth():c.width,f.tagValue=c.tagValue,f.bookmarkValue=c.bookmarkValue,f.hyperlinkValue=c.hyperlinkValue,f.toolTipValue=c.toolTipValue,f.guid=c.guid,c.tagValue=null,c.bookmarkValue=null,c.hyperlinkValue=null,c.toolTipValue=null,e.engine.addContainerToDestination(f)}}else e.engine.firstCallNewPage=!0,e.engine.newPage();re.StiPageHelper.renderPage(c)}}finally{c.enabled=p}e.engine.processLastPageAfterRendering();var b,p={ref:b=null};e.engine.renderFootersOnAllPages(null,0,p),b=p.ref,e.engine.renderPrintAtBottom(null,0,null),e.engine.renderEmptyBands(e.engine.containerForRender,null),e.engine.emptyBands.clear(),s++}}catch(t){n={error:t}}finally{try{u&&!u.done&&(i=l.return)&&i.call(l)}finally{if(n)throw n.error}}e.engine.invokePageAfterPrint(),be.renderTable(e),e.engine.finalClear()}catch(t){te.System.StiError.showError(t,!1),e.engine.pageNumbers.pageNumbers.removeAt(e.engine.pageNumbers.pageNumbers.count-1)}},be.renderTable=function(t){var e,r,n,i,o,a,s,l,u,c,p,h,m,d,g,f,S,y,A,b;if(!t.containsTables)return;var C=new me,v=new me,w=new me,B=[],I=.2;try{for(var T=__values(t.renderedPages.list),E=T.next();!E.done;E=T.next()){for(var R=E.value,I=R.gridSize,D=new me,P=new me,x=[],F=R.getComponents(),N=0;N<F.count;N++){var k=F.getByIndex(N).as(_t);if(null!=k){var M=null,O,_,_;if((O=k.tableTag).autoWidth==ae.None)continue;O.autoWidth==ae.Table?(C.containsKey(O)?M=C.get(O):(M=new me,C.add(O,M),B.push(O)),w.containsKey(O.name)?w.get(O.name).stimulsoft.contains(R)||w.get(O.name).push(R):((_=[]).push(R),w.add(O.name,_))):D.containsKey(O)?M=D.get(O):(M=new me,D.add(O,M),x.push(O)),M.containsKey(k.column)||(_=[],M.add(k.column,_)),M.get(k.column).push(k)}}try{for(var j=(n=void 0,__values(D.values)),G=j.next();!G.done;G=j.next()){for(var H=G.value,Q=new Ot(H.count),L=0,Y;L<H.count;L++){if(null==(Y=H.get(L)))continue;var U=0;try{for(var J=(o=void 0,__values(Y)),W=J.next(),V,z,X,K,Z;!W.done;W=J.next()){if((V=W.value).fixedWidth){Q.setFixedColumn(L,V.width),U=-1;break}switch(V.cellType){case Mt.CheckBox:case Mt.RichText:V.width>U&&(U=V.width);break;case Mt.Image:var q,$=(q=V.as(kt)).canShrink;q.canShrink=!0;var tt=q.getRealSize().width;q.canShrink=$,U<tt&&(U=tt);break;case Mt.Text:(z=V).wordWrap?z.width>U&&(U=z.width):ne.isNullOrEmpty(z.text)||(X=te.System.Drawing.Graphics.measureString(z.text,z.font),K=z.margins.left+z.margins.right,U<(Z=t.unit.convertFromHInches(X.width+K))&&(U=Z));break}}}catch(t){o={error:t}}finally{try{W&&!W.done&&(a=J.return)&&a.call(J)}finally{if(o)throw o.error}}-1!=U&&Q.setWidth(L,U)}var et=H.get(0);P.add(et[0].tableTag,Q)}}catch(t){n={error:t}}finally{try{G&&!G.done&&(i=j.return)&&i.call(j)}finally{if(n)throw n.error}}for(var rt=0,O;rt<x.length;rt++){if(null==(O=x[rt].as(se)))continue;for(var nt=P.get(O),it=0,ot=0,at;ot<nt.length;ot++)it+=nt.getWidth(ot);switch(O.autoWidthType){case Nt.None:R.width<it&&(at=Math.trunc(it/R.width+1),R.segmentPerWidth=at);break;case Nt.FullTable:if(it<O.width){var st=O.width-it;st/=nt.getCountNotFixedColumn();for(var lt=0;lt<nt.length;lt++)nt.add(lt,st)}if(it>O.width){var ut=it-O.width;ut/=nt.getCountNotFixedColumn();for(var lt=0;lt<nt.length;lt++)nt.subtract(lt,ut)}break;case Nt.LastColumns:var ct=Math.abs(O.width-it),pt=nt.length-1,ht=!1,mt=3*I,dt;if(it>O.width)while(!ht){nt.getFixed(pt)?0==pt?ht=!0:pt--:nt.getWidth(pt)-mt<ct?(dt=nt.getWidth(pt)-mt,nt.subtract(pt,dt),ct-=dt,0==pt?ht=!0:pt--):(nt.subtract(pt,ct),ht=!0)}else nt.addLastNotFixed(ct);break}}try{for(var gt=(s=void 0,__values(D.keys)),ft=gt.next();!ft.done;ft=gt.next()){var St=ft.value,H=D.get(St),Q;(Q=P.get(St)).normalize();for(var yt=0,L=0,Y;L<H.count;L++){if(null==(Y=H.get(L)))return;try{for(var At=(u=void 0,__values(Y)),bt=At.next(),V;!bt.done;bt=At.next()){(V=bt.value).width=Q.getWidth(L),V.left=yt}}catch(t){u={error:t}}finally{try{bt&&!bt.done&&(c=At.return)&&c.call(At)}finally{if(u)throw u.error}}yt+=Q.getWidth(L)}}}catch(t){s={error:t}}finally{try{ft&&!ft.done&&(l=gt.return)&&l.call(gt)}finally{if(s)throw s.error}}}}catch(t){e={error:t}}finally{try{E&&!E.done&&(r=T.return)&&r.call(T)}finally{if(e)throw e.error}}if(0<B.length){try{for(var Ct=__values(C.values),vt=Ct.next();!vt.done;vt=Ct.next()){for(var H=vt.value,Q=new Ot(H.count),L=0,Y;L<H.count;L++){if(null==(Y=H.get(L)))continue;var U=0;try{for(var wt=(m=void 0,__values(Y)),Bt=wt.next(),V,z,X,K,Z;!Bt.done;Bt=wt.next()){if((V=Bt.value).fixedWidth){Q.setFixedColumn(L,V.width),U=-1;break}switch(V.cellType){case Mt.CheckBox:case Mt.RichText:V.width>U&&(U=V.width);break;case Mt.Image:var q,$=(q=V.as(kt)).canShrink;q.canShrink=!0;var tt=q.getRealSize().width;q.canShrink=$,U<tt&&(U=tt);break;case Mt.Text:(z=V).wordWrap?z.width>U&&(U=z.width):ne.isNullOrEmpty(z.text)||(X=te.System.Drawing.Graphics.measureString(z.text,z.font),K=z.margins.left+z.margins.right,U<(Z=t.unit.convertFromHInches(X.width+K))&&(U=Z));break}}}catch(t){m={error:t}}finally{try{Bt&&!Bt.done&&(d=wt.return)&&d.call(wt)}finally{if(m)throw m.error}}-1!=U&&Q.setWidth(L,U)}var et=H.get(0);v.add(et[0].tableTag,Q)}}catch(t){p={error:t}}finally{try{vt&&!vt.done&&(h=Ct.return)&&h.call(Ct)}finally{if(p)throw p.error}}for(var rt=0,O;rt<B.length;rt++){if(null==(O=B[rt].as(se)))continue;for(var nt=v.get(O),it=0,ot=0;ot<nt.length;ot++)it+=nt.getWidth(ot);switch(O.autoWidthType){case Nt.None:var It=w.get(O.name);if(null!=It&&It[0].width<it){var at=Math.trunc(it/It[0].width)+1;try{for(var Tt=(g=void 0,__values(It)),Et=Tt.next(),Rt;!Et.done;Et=Tt.next()){Et.value.segmentPerWidth=at}}catch(t){g={error:t}}finally{try{Et&&!Et.done&&(f=Tt.return)&&f.call(Tt)}finally{if(g)throw g.error}}}break;case Nt.FullTable:if(it<O.width){var st=O.width-it;st/=nt.getCountNotFixedColumn();for(var lt=0;lt<nt.length;lt++)nt.add(lt,st)}if(it>O.width){var ut=it-O.width;ut/=nt.getCountNotFixedColumn();for(var lt=0;lt<nt.length;lt++)nt.subtract(lt,ut)}break;case Nt.LastColumns:var ct=Math.abs(O.width-it),pt=nt.length-1,ht=!1,mt=3*I,dt;if(it>O.width)while(!ht){nt.getFixed(pt)?0==pt?ht=!0:pt--:nt.getWidth(pt)-mt<ct?(dt=nt.getWidth(pt)-mt,nt.subtract(pt,dt),ct-=dt,0==pt?ht=!0:pt--):(nt.subtract(pt,ct),ht=!0)}else nt.addLastNotFixed(ct);break}}try{for(var Dt=__values(C.keys),Pt=Dt.next();!Pt.done;Pt=Dt.next()){var St=Pt.value,H=C.get(St),Q;(Q=v.get(St)).normalize();for(var yt=0,L=0,Y;L<H.count;L++){if(null==(Y=H.get(L)))return;try{for(var xt=(A=void 0,__values(Y)),Ft=xt.next(),V;!Ft.done;Ft=xt.next()){(V=Ft.value).width=Q.getWidth(L),V.left=yt}}catch(t){A={error:t}}finally{try{Ft&&!Ft.done&&(b=xt.return)&&b.call(xt)}finally{if(A)throw A.error}}yt+=Q.getWidth(L)}}}catch(t){S={error:t}}finally{try{Pt&&!Pt.done&&(y=Dt.return)&&y.call(Dt)}finally{if(S)throw S.error}}}},be.finishProgressForm=function(t){t.reportPass,ee.StiReportPass.First},o=be,re.StiRenderProvider=o}(Stimulsoft=Stimulsoft||{}),function(t){var e,r,n,t;function i(t,e,r,n,i){void 0===t&&(t=-1),void 0===e&&(e=1),void 0===r&&(r=!0),void 0===n&&(n=!0),void 0===i&&(i=!1),this.latestProgressValue=0,this._fromPage=-1,this._toPage=-1,this._showProgress=!0,this._isSubReportMode=!1,this._destroyPagesWhichNotInRange=!0,this._renderOnlyPagesFromRange=!1,this._fromPage=t,this._toPage=e,-1==t&&-1==e&&(n=!1),this._showProgress=r,this._destroyPagesWhichNotInRange=n,this._renderOnlyPagesFromRange=i}r=e=t.Report||(t.Report={}),t=n=r.Engine||(r.Engine={}),Object.defineProperty(i.prototype,"fromPage",{get:function(){return this._fromPage},enumerable:!1,configurable:!0}),Object.defineProperty(i.prototype,"toPage",{get:function(){return this._toPage},enumerable:!1,configurable:!0}),Object.defineProperty(i.prototype,"showProgress",{get:function(){return this._showProgress},set:function(t){this._showProgress=t},enumerable:!1,configurable:!0}),Object.defineProperty(i.prototype,"isSubReportMode",{get:function(){return this._isSubReportMode},set:function(t){this._isSubReportMode=t},enumerable:!1,configurable:!0}),Object.defineProperty(i.prototype,"destroyPagesWhichNotInRange",{get:function(){return this._destroyPagesWhichNotInRange},enumerable:!1,configurable:!0}),Object.defineProperty(i.prototype,"renderOnlyPagesFromRange",{get:function(){return this._renderOnlyPagesFromRange},enumerable:!1,configurable:!0}),r=i,t.StiRenderState=r}(Stimulsoft=Stimulsoft||{}),function(l){var t,e,r,n,u;function i(t){this.denyReportBands=!1,this.denyPageBands=!1,this.engine=null,this._reservedFreeSpace=0,this._reservedCrossFreeSpace=0,this._reservedPositionX=0,this._reservedPositionY=0,this._reservedPositionBottomY=0,this.engine=t}e=t=l.Report||(l.Report={}),n=r=e.Engine||(e.Engine={}),u=l.Report.Components.StiComponentsCollection,Object.defineProperty(i.prototype,"reservedFreeSpace",{get:function(){return this._reservedFreeSpace},enumerable:!1,configurable:!0}),Object.defineProperty(i.prototype,"reservedCrossFreeSpace",{get:function(){return this._reservedCrossFreeSpace},enumerable:!1,configurable:!0}),Object.defineProperty(i.prototype,"reservedPositionX",{get:function(){return this._reservedPositionX},enumerable:!1,configurable:!0}),Object.defineProperty(i.prototype,"reservedPositionY",{get:function(){return this._reservedPositionY},enumerable:!1,configurable:!0}),Object.defineProperty(i.prototype,"reservedPositionBottomY",{get:function(){return this._reservedPositionBottomY},enumerable:!1,configurable:!0}),i.prototype.renderAsync=function(){return __awaiter(this,void 0,void 0,function(){var e;return __generator(this,function(t){switch(t.label){case 0:if(this.engine.threads.isActive||this.engine.denyChangeThread)return[3,6];if(!this.engine.templatePage.titleBeforeHeader)return[3,2];return[4,this.renderTitleBeforeHeaderAsync()];case 1:return t.sent(),[3,4];case 2:return[4,this.renderHeaderBeforeTitleAsync()];case 3:t.sent(),t.label=4;case 4:return this.engine.denyRenderMasterComponentsInContainer=!0,[4,n.StiPageHelper.renderSimpleComponentsAsync(this.engine.templatePage,this.engine.containerForRender)];case 5:t.sent(),this.engine.denyRenderMasterComponentsInContainer=!1,t.label=6;case 6:return null!=this.engine.page&&(this.engine.page.pageInfo.positionFromTop=this.engine.positionY,this.engine.page.pageInfo.positionFromBottom=this.engine.positionBottomY),e=this.engine.containerForRender.getDockRegion(this.engine.containerForRender,!1),this.engine.crossFreeSpace=e.width,this.engine.freeSpace=e.height,1<this.engine.columnsOnPanel.count&&this.engine.columnsOnPanel.rightToLeft&&!this.engine.isCrossBandsMode?this.engine.positionX=e.right-this.engine.columnsOnPanel.getColumnWidth():this.engine.positionX=e.left,this.engine.positionY=e.y,this.engine.positionBottomY=e.bottom,this._reservedCrossFreeSpace=this.engine.crossFreeSpace,this._reservedFreeSpace=this.engine.freeSpace,this._reservedPositionX=this.engine.positionX,this._reservedPositionY=this.engine.positionY,this._reservedPositionBottomY=this.engine.positionBottomY,StiOptions.Engine.forceNewPageForExtraColumns||(this.engine.positionY=this.engine.offsetNewColumnY+this.reservedPositionY),[2]}})})},i.prototype.render=function(){this.engine.threads.isActive||this.engine.denyChangeThread||(this.engine.templatePage.titleBeforeHeader?this.renderTitleBeforeHeader():this.renderHeaderBeforeTitle(),this.engine.denyRenderMasterComponentsInContainer=!0,n.StiPageHelper.renderSimpleComponents(this.engine.templatePage,this.engine.containerForRender),this.engine.denyRenderMasterComponentsInContainer=!1),null!=this.engine.page&&(this.engine.page.pageInfo.positionFromTop=this.engine.positionY,this.engine.page.pageInfo.positionFromBottom=this.engine.positionBottomY);var t=this.engine.containerForRender.getDockRegion(this.engine.containerForRender,!1);this.engine.crossFreeSpace=t.width,this.engine.freeSpace=t.height,1<this.engine.columnsOnPanel.count&&this.engine.columnsOnPanel.rightToLeft&&!this.engine.isCrossBandsMode?this.engine.positionX=t.right-this.engine.columnsOnPanel.getColumnWidth():this.engine.positionX=t.left,this.engine.positionY=t.y,this.engine.positionBottomY=t.bottom,this._reservedCrossFreeSpace=this.engine.crossFreeSpace,this._reservedFreeSpace=this.engine.freeSpace,this._reservedPositionX=this.engine.positionX,this._reservedPositionY=this.engine.positionY,this._reservedPositionBottomY=this.engine.positionBottomY,StiOptions.Engine.forceNewPageForExtraColumns||(this.engine.positionY=this.engine.offsetNewColumnY+this.reservedPositionY)},i.prototype.renderTitleBeforeHeaderAsync=function(){return __awaiter(this,void 0,void 0,function(){var e,r,n,e;return __generator(this,function(t){switch(t.label){case 0:if(this.denyReportBands)return[3,2];return e=this.denyReportBands,r=this.denyPageBands,this.denyPageBands=!0,this.denyReportBands=!0,[4,this.renderReportTitleBandsAsync()];case 1:t.sent(),this.denyPageBands=r,this.denyReportBands=e,t.label=2;case 2:if(this.denyPageBands)return[3,5];return n=this.denyPageBands,e=this.denyReportBands,this.denyPageBands=!0,this.denyReportBands=!0,[4,this.renderPageHeaderBandsAsync()];case 3:return t.sent(),[4,this.renderPageFooterBandsAsync()];case 4:t.sent(),this.denyPageBands=n,this.denyReportBands=e,t.label=5;case 5:return[2]}})})},i.prototype.renderTitleBeforeHeader=function(){var t,e,e,t;this.denyReportBands||(t=this.denyReportBands,e=this.denyPageBands,this.denyPageBands=!0,this.denyReportBands=!0,this.renderReportTitleBands(),this.denyPageBands=e,this.denyReportBands=t),this.denyPageBands||(e=this.denyPageBands,t=this.denyReportBands,this.denyPageBands=!0,this.denyReportBands=!0,this.renderPageHeaderBands(),this.renderPageFooterBands(),this.denyPageBands=e,this.denyReportBands=t)},i.prototype.renderHeaderBeforeTitleAsync=function(){return __awaiter(this,void 0,void 0,function(){var e,r;return __generator(this,function(t){switch(t.label){case 0:if(this.denyPageBands)return[3,3];return e=this.denyPageBands,r=this.denyReportBands,this.denyPageBands=!0,[4,this.renderPageHeaderBandsAsync()];case 1:return t.sent(),[4,this.renderPageFooterBandsAsync()];case 2:t.sent(),this.denyPageBands=e,t.label=3;case 3:return[2]}})})},i.prototype.renderHeaderBeforeTitle=function(){var t,e;this.denyPageBands||(t=this.denyPageBands,e=this.denyReportBands,this.denyPageBands=!0,this.renderPageHeaderBands(),this.renderPageFooterBands(),this.denyPageBands=t)},i.prototype.renderReportTitleBandsAsync=function(){return __awaiter(this,void 0,void 0,function(){var e,r,n,n,i,i,o;return __generator(this,function(t){switch(t.label){case 0:if(this.engine.templatePage.pageInfo.isReportTitlesRendered)return[2];t.label=1;case 1:t.trys.push([1,6,7,8]),e=__values(this.engine.templatePage.components.list),r=e.next(),t.label=2;case 2:if(r.done)return[3,5];if(n=r.value,null==(n=n.as(l.Report.Components.StiReportTitleBand)))return[3,4];return n.parentBookmark=this.engine.containerForRender.currentBookmark,n.doBookmark(),[4,this.engine.renderBandAsync(n)];case 3:t.sent(),t.label=4;case 4:return r=e.next(),[3,2];case 5:return[3,8];case 6:return i=t.sent(),i={error:i},[3,8];case 7:try{r&&!r.done&&(o=e.return)&&o.call(e)}finally{if(i)throw i.error}return[7];case 8:return this.engine.templatePage.pageInfo.isReportTitlesRendered=!0,[2]}})})},i.prototype.renderReportTitleBands=function(){var e,t;if(this.engine.templatePage.pageInfo.isReportTitlesRendered)return;try{for(var r=__values(this.engine.templatePage.components.list),n=r.next();!n.done;n=r.next()){var i,o=n.value.as(l.Report.Components.StiReportTitleBand);null!=o&&(o.parentBookmark=this.engine.containerForRender.currentBookmark,o.doBookmark(),this.engine.renderBand(o))}}catch(t){e={error:t}}finally{try{n&&!n.done&&(t=r.return)&&t.call(r)}finally{if(e)throw e.error}}this.engine.templatePage.pageInfo.isReportTitlesRendered=!0},i.prototype.renderPageHeaderBandsAsync=function(){return __awaiter(this,void 0,void 0,function(){var e,r,n,e,e,i,i,o;return __generator(this,function(t){switch(t.label){case 0:e=this.getPageHeaders(),t.label=1;case 1:t.trys.push([1,6,7,8]),r=__values(e.list),n=r.next(),t.label=2;case 2:if(n.done)return[3,5];if(e=n.value,null==(e=e.as(l.Report.Components.StiPageHeaderBand)))return[3,4];return e.parentBookmark=this.engine.containerForRender.currentBookmark,e.doBookmark(),[4,this.engine.renderBandAsync(e)];case 3:t.sent(),t.label=4;case 4:return n=r.next(),[3,2];case 5:return[3,8];case 6:return i=t.sent(),i={error:i},[3,8];case 7:try{n&&!n.done&&(o=r.return)&&o.call(r)}finally{if(i)throw i.error}return[7];case 8:return[2]}})})},i.prototype.renderPageHeaderBands=function(){var e,t,r=this.getPageHeaders();try{for(var n=__values(r.list),i=n.next();!i.done;i=n.next()){var o,a=i.value.as(l.Report.Components.StiPageHeaderBand);null!=a&&(a.parentBookmark=this.engine.containerForRender.currentBookmark,a.doBookmark(),this.engine.renderBand(a))}}catch(t){e={error:t}}finally{try{i&&!i.done&&(t=n.return)&&t.call(n)}finally{if(e)throw e.error}}},i.prototype.renderPageFooterBandsAsync=function(){return __awaiter(this,void 0,void 0,function(){var e,r,n,e,e,i,i,o;return __generator(this,function(t){switch(t.label){case 0:e=this.getPageFooters(),t.label=1;case 1:t.trys.push([1,6,7,8]),r=__values(e.list),n=r.next(),t.label=2;case 2:if(n.done)return[3,5];if(e=n.value,null==(e=e.as(l.Report.Components.StiPageFooterBand)))return[3,4];return e.parentBookmark=this.engine.containerForRender.currentBookmark,e.doBookmark(),[4,this.engine.renderBandAsync(e)];case 3:t.sent(),t.label=4;case 4:return n=r.next(),[3,2];case 5:return[3,8];case 6:return i=t.sent(),i={error:i},[3,8];case 7:try{n&&!n.done&&(o=r.return)&&o.call(r)}finally{if(i)throw i.error}return[7];case 8:return[2]}})})},i.prototype.renderPageFooterBands=function(){var e,t,r=this.getPageFooters();try{for(var n=__values(r.list),i=n.next();!i.done;i=n.next()){var o,a=i.value.as(l.Report.Components.StiPageFooterBand);null!=a&&(a.parentBookmark=this.engine.containerForRender.currentBookmark,a.doBookmark(),this.engine.renderBand(a))}}catch(t){e={error:t}}finally{try{i&&!i.done&&(t=n.return)&&t.call(n)}finally{if(e)throw e.error}}},i.prototype.getPageHeaders=function(){var t=new u,e=this.engine.report.pages.indexOf(this.engine.templatePage),r=e,n;while(0<=r){if(!(n=this.engine.report.pages.getByIndex(r)).printHeadersFootersFromPreviousPage)break;r--}r<=-1&&(r=0);for(var i=r;i<=e;i++){var n=this.engine.report.pages.getByIndex(i);t.addRange(this.getPageHeadersFromPage(n))}return t},i.prototype.getPageFooters=function(){var t=new u,e=this.engine.report.pages.indexOf(this.engine.templatePage),r=e,n;while(0<=r){if(!(n=this.engine.report.pages.getByIndex(r)).printHeadersFootersFromPreviousPage)break;r--}r<=-1&&(r=0);for(var i=r;i<=e;i++){var n=this.engine.report.pages.getByIndex(i);t.addRange(this.getPageFootersFromPage(n))}return t},i.prototype.getPageHeadersFromPage=function(t){var e,r,n=new u;try{for(var i=__values(t.components.list),o=i.next();!o.done;o=i.next()){var a,s=o.value.as(l.Report.Components.StiPageHeaderBand);null!=s&&n.add(s)}}catch(t){e={error:t}}finally{try{o&&!o.done&&(r=i.return)&&r.call(i)}finally{if(e)throw e.error}}return n},i.prototype.getPageFootersFromPage=function(t){var e,r,n=new u;try{for(var i=__values(t.components.list),o=i.next();!o.done;o=i.next()){var a,s=o.value.as(l.Report.Components.StiPageFooterBand);null!=s&&n.add(s)}}catch(t){e={error:t}}finally{try{o&&!o.done&&(r=i.return)&&r.call(i)}finally{if(e)throw e.error}}return n},e=i,n.StiStaticBandsHelper=e}(Stimulsoft=Stimulsoft||{}),function(t){var e,r,n,a,u,o;function i(t){this.isActive=!1,this.currentPage=-1,this.currentColumn=-1,this.destinationName=null,this.engine=null,this.engine=t}r=e=t.Report||(t.Report={}),a=n=r.Engine||(r.Engine={}),u=t.Report.Components.StiContainer,o=t.Report.Components.StiPage,i.prototype.newPageAsync=function(){return __awaiter(this,void 0,void 0,function(){return __generator(this,function(t){switch(t.label){case 0:if(this.engine.containerForRender=null,this.currentColumn++,this.engine.containerForRender=this.getDestinationContainer(),null!=this.engine.containerForRender)return[3,3];if(this.currentColumn=1,this.currentPage++,!(this.currentPage>=this.engine.report.renderedPages.count))return[3,2];return this.engine.report.engine=this.engine.masterEngine,[4,this.engine.report.engine.newPageAsync()];case 1:t.sent(),this.engine.report.engine=this.engine,t.label=2;case 2:this.engine.containerForRender=this.getDestinationContainer(),t.label=3;case 3:return[2]}})})},i.prototype.newPage=function(){this.engine.containerForRender=null,this.currentColumn++,this.engine.containerForRender=this.getDestinationContainer(),null==this.engine.containerForRender&&(this.currentColumn=1,this.currentPage++,this.currentPage>=this.engine.report.renderedPages.count&&(this.engine.report.engine=this.engine.masterEngine,this.engine.report.engine.newPage(),this.engine.report.engine=this.engine),this.engine.containerForRender=this.getDestinationContainer())},i.prototype.selectThreadFromContainerAsync=function(i){return __awaiter(this,void 0,void 0,function(){var e,r,n,r;return __generator(this,function(t){switch(t.label){case 0:if(this.engine.denyChangeThread)return[2];if(e=(r=((r=e=null)!=i.containerInfo.parentBand?i.containerInfo.parentBand:i).parent).name,r.is(o))return null!=this.engine.masterEngine&&(this.engine.report.engine=this.engine.masterEngine),[2];if(n=null==this.engine.masterEngine?this.engine:this.engine.masterEngine,null!=(r=n.slaveEngines.get(e)))return[3,2];return[4,n.threads.createContainerEngineAsync(e,this.engine.report,n,null!=n.page?n.page.pageInfo.indexOfStartRenderedPages:0)];case 1:r=t.sent(),n.slaveEngines.set(e,r),r.printOnAllPagesIgnoreList=n.printOnAllPagesIgnoreList,t.label=2;case 2:return this.engine.report.engine=r,[2]}})})},i.prototype.selectThreadFromContainer=function(t){if(this.engine.denyChangeThread)return;var e=null,r=null,r,e=(r=(null!=t.containerInfo.parentBand?t.containerInfo.parentBand:t).parent).name;if(r.is(o))return void(null!=this.engine.masterEngine&&(this.engine.report.engine=this.engine.masterEngine));var t=null==this.engine.masterEngine?this.engine:this.engine.masterEngine,r=t.slaveEngines.get(e);null==r&&(r=t.threads.createContainerEngine(e,this.engine.report,t,null!=t.page?t.page.pageInfo.indexOfStartRenderedPages:0),t.slaveEngines.set(e,r),r.printOnAllPagesIgnoreList=t.printOnAllPagesIgnoreList),this.engine.report.engine=r},i.prototype.createContainerEngineAsync=function(r,n,i,o){return __awaiter(this,void 0,void 0,function(){var e;return __generator(this,function(t){switch(t.label){case 0:return(e=new a.StiEngine(n)).masterEngine=i,e.threads.isActive=!0,e.threads.currentPage=o,e.threads.currentColumn=1,e.threads.destinationName=r,e.templatePage=n.engine.templatePage,e.templateContainer=e.threads.getTemplateContainer(),e.parserConversionStore=n.engine.parserConversionStore.clone(),-1!=o&&(e.containerForRender=e.threads.getDestinationContainer()),[4,e.newListAsync()];case 1:return t.sent(),-1==o&&(e.freeSpace=1e11),[2,e]}})})},i.prototype.createContainerEngine=function(t,e,r,n){var i=new a.StiEngine(e);return i.masterEngine=r,i.threads.isActive=!0,i.threads.currentPage=n,i.threads.currentColumn=1,i.threads.destinationName=t,i.templatePage=e.engine.templatePage,i.templateContainer=i.threads.getTemplateContainer(),i.parserConversionStore=e.engine.parserConversionStore.clone(),-1!=n&&(i.containerForRender=i.threads.getDestinationContainer()),i.newList(),-1==n&&(i.freeSpace=1e11),i},i.prototype.getTemplateContainer=function(t,e){var r,n;void 0===t&&(t=this.engine.templatePage),void 0===e&&(e=this.destinationName);try{for(var i=__values(t.components.list),o=i.next();!o.done;o=i.next()){var a,s=o.value.as(u);if(null==s)continue;if(s.name==e)return s;var s=this.getTemplateContainer(s,e);if(null!=s)return s}}catch(t){r={error:t}}finally{try{o&&!o.done&&(n=i.return)&&n.call(i)}finally{if(r)throw r.error}}return null},i.prototype.getDestinationContainer=function(){var t=null,t=this.engine.report.renderedPages.count<=this.currentPage?this.engine.report.renderedPages.getByIndex(this.engine.report.renderedPages.count-1):this.engine.report.renderedPages.getByIndex(this.currentPage);return this.getDestinationContainer2(t,this.destinationName,this.currentColumn)},i.prototype.getDestinationContainer2=function(t,e,r){var n,i;try{for(var o=__values(t.components.list),a=o.next();!a.done;a=o.next()){var s,l=a.value.as(u);if(null==l)continue;if(l.name==e&&l.containerInfo.renderStep==r)return l;var l=this.getDestinationContainer2(l,e,r);if(null!=l)return l}}catch(t){n={error:t}}finally{try{a&&!a.done&&(i=o.return)&&i.call(o)}finally{if(n)throw n.error}}return null},r=i,a.StiThreads=r}(Stimulsoft=Stimulsoft||{}),function(_){var t,C,e,r,v,w,B,I,j,u,G,H,Q,L,Y,U,J,W,V,z,X,T,K,n;function E(){}C=t=_.Report||(_.Report={}),r=e=C.Engine||(C.Engine={}),v=_.Data.Engine.StiDataPicker,w=_.Report.Dictionary.StiDataSourceParserHelper,B=_.Report.Dictionary.StiDataLeader,I=_.Report.Dictionary.StiSqlSource,j=_.System.StiString,u=_.Report.Engine.StiAsmCommandType,G=_.System.Collections.Hashtable,H=_.Report.Dictionary.StiRangeDialogInfoItem,Q=_.Report.Dictionary.StiLongDialogInfoItem,L=_.Report.Dictionary.StiLongDialogInfoItem,Y=_.Report.Dictionary.StiDoubleDialogInfoItem,U=_.Report.Dictionary.StiDecimalDialogInfoItem,J=_.Report.Dictionary.StiDateTimeDialogInfoItem,W=_.Report.Dictionary.StiTimeSpanDialogInfoItem,V=_.Report.Dictionary.StiBoolDialogInfoItem,z=_.Report.Dictionary.StiCharDialogInfoItem,X=_.Report.Dictionary.StiGuidDialogInfoItem,T=_.Report.Components.StiText,K=_.System.Collections.List,E.fillItemsOfVariables=function(t){var e,r,n=!1;try{for(var i=__values(t.dictionary.variables.list),o=i.next();!o.done;o=i.next()){var a=o.value,s={ref:n};if(this.fillItemsOfVariables2(a,t,s))break;n=s.ref}}catch(t){e={error:t}}finally{try{o&&!o.done&&(r=i.return)&&r.call(i)}finally{if(e)throw e.error}}return n},E.fillItemsOfVariables2=function(t,e,r){var n,i,o,a,s,l,u,c,p;if(null==t.dialogInfo)return!1;if(t.dialogInfo.itemsInitializationType==_.Report.Dictionary.StiItemsInitializationType.Items){if(e.isPreviewDialogs)return!1;if(null!=(p=t.dialogInfo.getDialogInfoItems(t.type))&&0<p.length){var h=e.getVariable(t.name,!0),m;if(null==h)return!1;if(null==(m=h.stimulsoft.as(Array)))return!1;if(0<m.length)return!0;m.stimulsoft.clear(),r.ref=!0;try{for(var d=__values(p),g=d.next();!g.done;g=d.next()){var f=g.value;try{m.push(f.keyObject)}catch(t){}}}catch(t){n={error:t}}finally{try{g&&!g.done&&(i=d.return)&&i.call(d)}finally{if(n)throw n.error}}}}else{if(null!=t.dialogInfo.keys&&0<t.dialogInfo.keys.length||null!=t.dialogInfo.values&&0<t.dialogInfo.values.length)return!1;var S=j.isNullOrEmpty(t.dialogInfo.keysColumn)?null:_.Report.Dictionary.StiDataColumn.getDatasFromDataColumn(e.dictionary,t.dialogInfo.keysColumn),y=j.isNullOrEmpty(t.dialogInfo.valuesColumn)?null:_.Report.Dictionary.StiDataColumn.getDatasFromDataColumn(e.dictionary,t.dialogInfo.valuesColumn),A=j.isNullOrEmpty(t.dialogInfo.bindingValuesColumn)?null:_.Report.Dictionary.StiDataColumn.getDatasFromDataColumn(e.dictionary,t.dialogInfo.bindingValuesColumn);null==S&&(S=[]),null==y&&(y=[]),null==A&&(A=[]);var b=Math.max(S.length,y.length),C=new G,m;if(0<S.length){for(var v=[],w=[],B=[],I=0;I<b;I++){var T=S.length>I?S[I]:null,E=y.length>I?y[I].toString():"",R=A.length>I?A[I]:null,D,m;C.containsKey(T)?(null===(u=C.get(T))||void 0===u?void 0:u.stimulsoft.as(K)).push(R):(v.push(T),w.push(E),B.push(R),(m=new K).add(R),C.set(T,m))}S=v,y=w,A=B,b=Math.max(S.length,y.length)}if(("BoolList"==t.type.stimulsoft.getTypeName()||"ByteList"==t.type.stimulsoft.getTypeName()||"CharList"==t.type.stimulsoft.getTypeName()||"DateTimeList"==t.type.stimulsoft.getTypeName()||"DecimalList"==t.type.stimulsoft.getTypeName()||"DoubleList"==t.type.stimulsoft.getTypeName()||"FloatList"==t.type.stimulsoft.getTypeName()||"GuidList"==t.type.stimulsoft.getTypeName()||"IntList"==t.type.stimulsoft.getTypeName()||"LongList"==t.type.stimulsoft.getTypeName()||"ShortList"==t.type.stimulsoft.getTypeName()||"StringList"==t.type.stimulsoft.getTypeName()||"TimeSpanList"==t.type.stimulsoft.getTypeName())&&null!=S&&0<S.length){null==(m=e.getVariable(t.name))&&(m=[],e.setVariable(t.name,m)),m.stimulsoft.clear(),r.ref=!0;try{for(var P=__values(S),x=P.next();!x.done;x=P.next()){var T=x.value;try{m.push(T)}catch(t){}}}catch(t){o={error:t}}finally{try{x&&!x.done&&(a=P.return)&&a.call(P)}finally{if(o)throw o.error}}}for(var p=[],F=t.type,I=0;I<b;I++){var T=S.length>I?S[I]:null,E=y.length>I?y[I].toString():"",R=A.length>I?A[I]:null,f=null;F==_.System.StimulsoftByteList||F==_.System.StimulsoftShortList||F==_.System.StimulsoftIntList||F==_.System.StimulsoftLongList||F==_.System.Byte||F==_.System.Short||F==_.System.Int||F==_.System.Int16||F==_.System.Int32||F==_.System.Int64||F==_.System.Long||F==_.System.NullableByte||F==_.System.NullableShort||F==_.System.NullableInt||F==_.System.NullableLong?f=new Q:F==_.System.StimulsoftStringList||F==String?f=new L:F==_.System.StimulsoftDoubleList||F==_.System.StimulsoftFloatList||F==_.System.Double||F==_.System.Float||F==_.System.NullableDouble||F==_.System.NullableFloat?f=new Y:F==_.System.StimulsoftDecimalList||F==_.System.Decimal||F==_.System.NullableDecimal?f=new U:F==_.System.StimulsoftDateTimeList||F==_.System.DateTime||F==_.System.NullableDateTime?f=new J:F==_.System.StimulsoftTimeSpanList||F==_.System.TimeSpan||F==_.System.NullableTimeSpan?f=new W:F==_.System.StimulsoftBoolList||F==Boolean||F==_.System.NullableBoolean?f=new V:F==_.System.StimulsoftCharList||F==_.System.Char||F==_.System.NullableChar?f=new z:F!=_.System.StimulsoftGuidList&&F!=_.System.Guid||(f=new X),null!=T&&(f.keyObject=T),f.value=E,f.valueBinding=null===(c=C.get(T))||void 0===c?void 0:c.stimulsoft.as(K),p.push(f)}var N=[],k=new G;try{for(var M=__values(p),O=M.next();!O.done;O=M.next()){var f=O.value;null!=k.get(f.keyObject)&&!f.stimulsoft.is(H)||(k.set(f.keyObject,f.keyObject),N.push(f))}}catch(t){s={error:t}}finally{try{O&&!O.done&&(l=M.return)&&l.call(M)}finally{if(s)throw s.error}}var r=t.dialogInfo.bindingValue?p:N;t.dialogInfo.setDialogInfoItems(r,t.type)}return!1},E.setDefaultValueForRequestFromUserVariables=function(t,e){var r,n,i=new T;i.name="**VariableRequestFromUser**",0<t.pages.count&&(i.page=t.pages.getByIndex(0));try{for(var o=__values(t.dictionary.variables.list),a=o.next();!a.done;a=o.next()){var s=a.value,l=s.type.stimulsoft.getTypeName(),l="ByteRange"==l||"CharRange"==l||"DateTimeRange"==l||"DecimalRange"==l||"DoubleRange"==l||"FloatRange"==l||"GuidRange"==l||"IntRange"==l||"LongRange"==l||"ShortRange"==l||"StringRange"==l||"TimeSpanRange"==l||"BoolList"==l||"ByteList"==l||"CharList"==l||"DateTimeList"==l||"DecimalList"==l||"DoubleList"==l||"FloatList"==l||"GuidList"==l||"IntList"==l||"LongList"==l||"ShortList"==l||"StringList"==l||"TimeSpanList"==l;if(s.requestFromUser&&!l&&!t.modifiedVariables.containsKey(s.name))try{s.selection==_.Report.Dictionary.StiSelectionMode.FromVariable&&s.initBy==_.Report.Dictionary.StiVariableInitBy.Expression&&(t.setVariable(s.name,_.Report.Engine.StiParser.StiParser.parseTextValue("{"+s.value+"}",i)),e=!0),s.selection==_.Report.Dictionary.StiSelectionMode.First&&null!=s.dialogInfo.keys&&0<s.dialogInfo.keys.length&&(t.setVariable(s.name,C.StiReport.changeType(s.dialogInfo.keys[0],s.type)),e=!0)}catch(t){}}}catch(t){r={error:t}}finally{try{a&&!a.done&&(n=o.return)&&n.call(o)}finally{if(r)throw r.error}}if(!e)return},E.setDefaultValueForRequestFromUserVariablesAsync=function(y,A,b){return void 0===b&&(b=!1),__awaiter(this,void 0,void 0,function(){var e,r,n,i,o,o,a,s,l,u,c,p,h,m,c,d,g,f,d,S;return __generator(this,function(t){switch(t.label){case 0:(e=new T).name="**VariableRequestFromUser**",0<y.pages.count&&(e.page=y.pages.getByIndex(0));try{for(r=__values(y.dictionary.variables.list),n=r.next();!n.done;n=r.next())if(i=n.value,o=i.type.stimulsoft.getTypeName(),o="ByteRange"==o||"CharRange"==o||"DateTimeRange"==o||"DecimalRange"==o||"DoubleRange"==o||"FloatRange"==o||"GuidRange"==o||"IntRange"==o||"LongRange"==o||"ShortRange"==o||"StringRange"==o||"TimeSpanRange"==o||"BoolList"==o||"ByteList"==o||"CharList"==o||"DateTimeList"==o||"DecimalList"==o||"DoubleList"==o||"FloatList"==o||"GuidList"==o||"IntList"==o||"LongList"==o||"ShortList"==o||"StringList"==o||"TimeSpanList"==o,i.requestFromUser&&!o&&!y.modifiedVariables.containsKey(i.name))try{i.selection==_.Report.Dictionary.StiSelectionMode.FromVariable&&i.initBy==_.Report.Dictionary.StiVariableInitBy.Expression&&(y.setVariable(i.name,_.Report.Engine.StiParser.StiParser.parseTextValue("{"+i.value+"}",e)),A=!0),i.selection==_.Report.Dictionary.StiSelectionMode.First&&null!=i.dialogInfo.keys&&0<i.dialogInfo.keys.length&&(y.setVariable(i.name,C.StiReport.changeType(i.dialogInfo.keys[0],i.type)),A=!0)}catch(t){}}catch(t){g={error:t}}finally{try{n&&!n.done&&(f=r.return)&&f.call(r)}finally{if(g)throw g.error}}if(!A)return[2];if(a=y.dictionary,null==(s=a.reconnectListForRequestFromUserVariables)&&(s=this.getDataSourcesWithRequestFromUserVariablesInCommand(y)),s.length<=0)return[2];t.label=1;case 1:t.trys.push([1,8,9,10]),l=__values(s),u=l.next(),t.label=2;case 2:if(u.done)return[3,7];c=u.value,p=a.dataSources.getByName(c),h=p.as(I),m=null!=h?h.sqlCommand:null,t.label=3;case 3:return t.trys.push([3,,5,6]),b&&w.connectSqlSource(h),B.disconnect(p),[4,B.connectAsync2(p,null)];case 4:return t.sent(),c=p.dataTable.copy(),v.addTableNameToColumnNames(c,p),v.addToCache(p,{ref:c}),[3,6];case 5:return null!=m&&(h.sqlCommand=m),[7];case 6:return u=l.next(),[3,2];case 7:return[3,10];case 8:return d=t.sent(),d={error:d},[3,10];case 9:try{u&&!u.done&&(S=l.return)&&S.call(l)}finally{if(d)throw d.error}return[7];case 10:return a.regRelations2(),a.regRelations2(!0),[2]}})})},E.getDataSourcesWithRequestFromUserVariablesInCommand=function(t){var e,r,n,i,o,a,s=[],l=new G,u=new T;u.name="**VariableRequestFromUser**",u.page=t.pages.getByIndex(0);try{for(var c=__values(t.dictionary.variables.list),p=c.next();!p.done;p=c.next()){var h=p.value;h.requestFromUser&&l.set(h.name,null)}}catch(t){e={error:t}}finally{try{p&&!p.done&&(r=c.return)&&r.call(c)}finally{if(e)throw e.error}}try{for(var m=__values(t.dictionary.dataSources.list),d=m.next();!d.done;d=m.next()){var g=d.value,f=g.stimulsoft.as(_.Report.Dictionary.StiSqlSource);if(null==f)continue;try{var S=null,y;null==t.variables||null!=(y=t.variables.get("**StoredDataSourceSqlCommandForInterpretationMode**"+g.name))&&(S=y),j.isNullOrWhiteSpace(S)&&(S=f.sqlCommand);var A=E.checkExpressionForVariables(S,u,l);if(!A)try{for(var b=(o=void 0,__values(f.parameters.list)),C=b.next();!C.done;C=b.next()){var v=C.value;if(!j.isNullOrWhiteSpace(v.expression)&&E.checkExpressionForVariables(v.expression,u,l)){A=!0;break}}}catch(t){o={error:t}}finally{try{C&&!C.done&&(a=b.return)&&a.call(b)}finally{if(o)throw o.error}}A&&s.push(g.name)}catch(t){}}}catch(t){n={error:t}}finally{try{d&&!d.done&&(i=m.return)&&i.call(m)}finally{if(n)throw n.error}}return s},E.checkExpressionForVariables=function(t,e,r){var n,i;try{var o=_.Report.Engine.StiParser.StiParser.parseTextValue(t,e,e,{ref:!1},!1,!0);if(o instanceof Array)try{for(var a=__values(o),s=a.next();!s.done;s=a.next()){var l=s.value;if(l.type==u.PushVariable){var l=l.parameter1.toString();if(r.containsKey(l))return!0}}}catch(t){n={error:t}}finally{try{s&&!s.done&&(i=a.return)&&i.call(a)}finally{if(n)throw n.error}}}catch(t){}return!1},E.setVariableValue=function(t,e,r){t.setVariable(e.name,r)},n=E,r.StiVariableHelper=n}(Stimulsoft=Stimulsoft||{}),function(t){var e,r,n,t,i;function o(){return null!==i&&i.apply(this,arguments)||this}r=e=t.Report||(t.Report={}),t=n=r.Events||(r.Events={}),i=t.StiEvent,__extends(o,i),o.prototype.toString=function(){return"AfterSelect"},r=o,t.StiAfterSelectEvent=r}(Stimulsoft=Stimulsoft||{}),function(t){var e,r,n,t,i;function o(){return null!==i&&i.apply(this,arguments)||this}r=e=t.Report||(t.Report={}),t=n=r.Events||(r.Events={}),i=t.StiEvent,__extends(o,i),o.prototype.toString=function(){return"CheckedChanged"},r=o,t.StiCheckedChangedEvent=r}(Stimulsoft=Stimulsoft||{}),function(t){var e,r,n,t,i;function o(){return null!==i&&i.apply(this,arguments)||this}r=e=t.Report||(t.Report={}),t=n=r.Events||(r.Events={}),i=t.StiEvent,__extends(o,i),o.prototype.toString=function(){return"ClosedForm"},r=o,t.StiClosedFormEvent=r}(Stimulsoft=Stimulsoft||{}),function(t){var e,r,n,t,i;function o(){return null!==i&&i.apply(this,arguments)||this}r=e=t.Report||(t.Report={}),t=n=r.Events||(r.Events={}),i=t.StiEvent,__extends(o,i),o.prototype.toString=function(){return"ClosingForm"},r=o,t.StiClosingFormEvent=r}(Stimulsoft=Stimulsoft||{}),function(t){var e,r,n,t,i;function o(){return null!==i&&i.apply(this,arguments)||this}r=e=t.Report||(t.Report={}),t=n=r.Events||(r.Events={}),i=t.StiEvent,__extends(o,i),o.prototype.toString=function(){return"Enter"},r=o,t.StiEnterEvent=r}(Stimulsoft=Stimulsoft||{}),function(o){var t,e,r;e=t=o.Report||(o.Report={}),function(t){var e=o.System.EventHandler,r=o.System.EventArgs;t.StiExportEventHandler=new e("sender: any, e: StiExportEventArgs");var r=(__extends(i,n=r),i),n;function i(t){var e=n.call(this)||this;return e.exportFormat=t,e}t.StiExportEventArgs=r}(r=e.Events||(e.Events={}))}(Stimulsoft=Stimulsoft||{}),function(t){var e,r,n,t,i;function o(){return null!==i&&i.apply(this,arguments)||this}r=e=t.Report||(t.Report={}),t=n=r.Events||(r.Events={}),i=t.StiEvent,__extends(o,i),o.prototype.toString=function(){return"Exported"},r=o,t.StiExportedEvent=r}(Stimulsoft=Stimulsoft||{}),function(t){var e,r,n,t,i;function o(){return null!==i&&i.apply(this,arguments)||this}r=e=t.Report||(t.Report={}),t=n=r.Events||(r.Events={}),i=t.StiEvent,__extends(o,i),o.prototype.toString=function(){return"Exporting"},r=o,t.StiExportingEvent=r}(Stimulsoft=Stimulsoft||{}),function(t){var e,r,n,t,i;function o(){return null!==i&&i.apply(this,arguments)||this}r=e=t.Report||(t.Report={}),t=n=r.Events||(r.Events={}),i=t.StiEvent,__extends(o,i),o.prototype.toString=function(){return"FillData"},r=o,t.StiFillDataEvent=r}(Stimulsoft=Stimulsoft||{}),function(t){var e,r,n,t,i;function o(){return null!==i&&i.apply(this,arguments)||this}r=e=t.Report||(t.Report={}),t=n=r.Events||(r.Events={}),i=t.StiEvent,__extends(o,i),o.prototype.toString=function(){return"GetArgument"},r=o,t.StiGetArgumentEvent=r}(Stimulsoft=Stimulsoft||{}),function(t){var e,r,n,t,i;function o(){return null!==i&&i.apply(this,arguments)||this}r=e=t.Report||(t.Report={}),t=n=r.Events||(r.Events={}),i=t.StiEvent,__extends(o,i),o.prototype.toString=function(){return"GetBarCode"},r=o,t.StiGetBarCodeEvent=r}(Stimulsoft=Stimulsoft||{}),function(o){var t,e,r;e=t=o.Report||(o.Report={}),function(t){var e=o.System.EventHandler,r=o.System.EventArgs;t.StiGetDataUrlEventHandler=new e("sender: any, e: StiGetDataUrlEventArgs");var r=(__extends(i,n=r),i),n;function i(){return null!==n&&n.apply(this,arguments)||this}t.StiGetDataUrlEventArgs=r}(r=e.Events||(e.Events={}))}(Stimulsoft=Stimulsoft||{}),function(o){var t,e,r;e=t=o.Report||(o.Report={}),function(t){var e=o.System.EventHandler,r=o.System.EventArgs;t.StiGetDrillDownReportEventHandler=new e("sender: any, e: StiGetDrillDownReportEventArgs");var r=(__extends(i,n=r),i),n;function i(){var t=null!==n&&n.apply(this,arguments)||this;return t.cancel=!1,t}t.StiGetDrillDownReportEventArgs=r}(r=e.Events||(e.Events={}))}(Stimulsoft=Stimulsoft||{}),function(t){var e,r,n,t,i;function o(){return null!==i&&i.apply(this,arguments)||this}r=e=t.Report||(t.Report={}),t=n=r.Events||(r.Events={}),i=t.StiEvent,__extends(o,i),o.prototype.toString=function(){return"GetFilter"},r=o,t.StiGetFilterEvent=r}(Stimulsoft=Stimulsoft||{}),function(t){var e,r,n,t,i;function o(){return null!==i&&i.apply(this,arguments)||this}r=e=t.Report||(t.Report={}),t=n=r.Events||(r.Events={}),i=t.StiEvent,__extends(o,i),o.prototype.toString=function(){return"GetZipCode"},r=o,t.StiGetZipCodeEvent=r}(Stimulsoft=Stimulsoft||{}),function(o){var t;!function(t){var e=o.System.EventHandler,r=o.System.EventArgs;t.StiGotoCompEventHandler=new e("sender: any, e: StiGotoCompEventArgs");var r=(__extends(i,n=r),i),n;function i(t){var e=n.call(this)||this;return e.component=t,e}t.StiGotoCompEventArgs=r}(t=o.Report||(o.Report={}))}(Stimulsoft=Stimulsoft||{}),function(t){var e,r,n,t,i;function o(){return null!==i&&i.apply(this,arguments)||this}r=e=t.Report||(t.Report={}),t=n=r.Events||(r.Events={}),i=t.StiEvent,__extends(o,i),o.prototype.toString=function(){return"LoadForm"},r=o,t.StiLoadFormEvent=r}(Stimulsoft=Stimulsoft||{}),function(t){var e,r,n,t,i;function o(){return null!==i&&i.apply(this,arguments)||this}r=e=t.Report||(t.Report={}),t=n=r.Events||(r.Events={}),i=t.StiEvent,__extends(o,i),o.prototype.toString=function(){return"MouseDown"},r=o,t.StiMouseDownEvent=r}(Stimulsoft=Stimulsoft||{}),function(t){var e,r,n,t,i;function o(){return null!==i&&i.apply(this,arguments)||this}r=e=t.Report||(t.Report={}),t=n=r.Events||(r.Events={}),i=t.StiEvent,__extends(o,i),o.prototype.toString=function(){return"MouseMove"},r=o,t.StiMouseMoveEvent=r}(Stimulsoft=Stimulsoft||{}),function(t){var e,r,n,t,i;function o(){return null!==i&&i.apply(this,arguments)||this}r=e=t.Report||(t.Report={}),t=n=r.Events||(r.Events={}),i=t.StiEvent,__extends(o,i),o.prototype.toString=function(){return"MouseUp"},r=o,t.StiMouseUpEvent=r}(Stimulsoft=Stimulsoft||{}),function(t){var e,r,n,t,i;function o(){return null!==i&&i.apply(this,arguments)||this}r=e=t.Report||(t.Report={}),t=n=r.Events||(r.Events={}),i=t.StiEvent,__extends(o,i),o.prototype.toString=function(){return"MoveFooterToBottom"},r=o,t.StiMoveFooterToBottomEvent=r}(Stimulsoft=Stimulsoft||{}),function(o){var t,e,r;e=t=o.Report||(o.Report={}),function(t){var e=o.System.EventHandler,r=o.System.EventArgs;t.StiPaintEventHandler=new e("sender: any, e: StiPaintEventArgs");var r=(__extends(i,n=r),i.prototype.clone=function(){return this.stimulsoft.memberwiseClone()},Object.defineProperty(i.prototype,"graphics",{get:function(){return this.context},enumerable:!1,configurable:!0}),i),n;function i(t,e){var r=n.call(this)||this;return r.drawChilds=!0,r.cancel=!1,r.drawBorderFormatting=!0,r.drawTopmostBorderSides=!0,r.context=t,r.clipRectangle=e,r}t.StiPaintEventArgs=r}(r=e.Events||(e.Events={}))}(Stimulsoft=Stimulsoft||{}),function(t){var e,r,n,t,i;function o(){return null!==i&&i.apply(this,arguments)||this}r=e=t.Report||(t.Report={}),t=n=r.Events||(r.Events={}),i=t.StiEvent,__extends(o,i),o.prototype.toString=function(){return"PositionChanged"},r=o,t.StiPositionChangedEvent=r}(Stimulsoft=Stimulsoft||{}),function(t){var e,r,n,t,i;function o(){return null!==i&&i.apply(this,arguments)||this}r=e=t.Report||(t.Report={}),t=n=r.Events||(r.Events={}),i=t.StiEvent,__extends(o,i),o.prototype.toString=function(){return"Printed"},r=o,t.StiPrintedEvent=r}(Stimulsoft=Stimulsoft||{}),function(t){var e,r,n,t,i;function o(){return null!==i&&i.apply(this,arguments)||this}r=e=t.Report||(t.Report={}),t=n=r.Events||(r.Events={}),i=t.StiEvent,__extends(o,i),o.prototype.toString=function(){return"Printing"},r=o,t.StiPrintingEvent=r}(Stimulsoft=Stimulsoft||{}),function(n){var t,e,r;e=t=n.Report||(n.Report={}),function(t){var e=n.System.EventHandler;t.StiProcessExportEventHandler=new e("sender: any, e: StiProcessExportEventArgs");var e=(i=t.StiExportEventArgs,__extends(r,i),r),i;function r(t,e,r,n){var t=i.call(this,t)||this;return t.processed=!1,t.exportService=e,t.stream=r,t.exportSettings=n,t}t.StiProcessExportEventArgs=e}(r=e.Events||(e.Events={}))}(Stimulsoft=Stimulsoft||{}),function(t){var e,r,n,t,i;function o(){return null!==i&&i.apply(this,arguments)||this}r=e=t.Report||(t.Report={}),t=n=r.Events||(r.Events={}),i=t.StiEvent,__extends(o,i),o.prototype.toString=function(){return"Refreshing"},r=o,t.StiRefreshingEvent=r}(Stimulsoft=Stimulsoft||{}),function(t){var e,r,n,t,i;function o(){return null!==i&&i.apply(this,arguments)||this}r=e=t.Report||(t.Report={}),t=n=r.Events||(r.Events={}),i=t.StiEvent,__extends(o,i),o.prototype.toString=function(){return"ReportCacheProcessing"},r=o,t.StiReportCacheProcessingEvent=r}(Stimulsoft=Stimulsoft||{}),function(t){var e,r,n,t,i;function o(){return null!==i&&i.apply(this,arguments)||this}r=e=t.Report||(t.Report={}),t=n=r.Events||(r.Events={}),i=t.StiEvent,__extends(o,i),o.prototype.toString=function(){return"SelectedIndexChanged"},r=o,t.StiSelectedIndexChangedEvent=r}(Stimulsoft=Stimulsoft||{}),function(t){var e,r,n,t,i;function o(){return null!==i&&i.apply(this,arguments)||this}r=e=t.Report||(t.Report={}),t=n=r.Events||(r.Events={}),i=t.StiEvent,__extends(o,i),o.prototype.toString=function(){return"StateRestore"},r=o,t.StiStateRestoreEvent=r}(Stimulsoft=Stimulsoft||{}),function(t){var e,r,n,t,i;function o(){return null!==i&&i.apply(this,arguments)||this}r=e=t.Report||(t.Report={}),t=n=r.Events||(r.Events={}),i=t.StiEvent,__extends(o,i),o.prototype.toString=function(){return"StateSave"},r=o,t.StiStateSaveEvent=r}(Stimulsoft=Stimulsoft||{}),function(t){var e,r,n,t,i;function o(){return null!==i&&i.apply(this,arguments)||this}r=e=t.Report||(t.Report={}),t=n=r.Events||(r.Events={}),i=t.StiEvent,__extends(o,i),o.prototype.toString=function(){return"ValueChanged"},r=o,t.StiValueChangedEvent=r}(Stimulsoft=Stimulsoft||{}),function(t){var e,r,n,i;r=e=t.Report||(t.Report={}),(i=n=r.Export||(r.Export={})).IStiExportService=new t.System.Interface("IStiExportService")}(Stimulsoft=Stimulsoft||{}),function(t){var e,r,n,i;r=e=t.Report||(t.Report={}),(i=n=r.Export||(r.Export={})).IStiCsvExportService=new t.System.Interface("IStiCsvExportService")}(Stimulsoft=Stimulsoft||{}),function(t){var e,r,n,i;r=e=t.Report||(t.Report={}),(i=n=r.Export||(r.Export={})).IStiDataExportService=new t.System.Interface("IStiDataExportService")}(Stimulsoft=Stimulsoft||{}),function(t){var e,r,n,o,a,s,l,u,c,p,h;function i(){}r=e=t.Report||(t.Report={}),o=n=r.Export||(r.Export={}),a=t.System.Collections.Hashtable,s=t.System.NodeJs,l=t.System.Xml.XmlTextWriter,u=t.System.Text.Encoding,c=t.System.Drawing.Image,p=t.System.Drawing.Imaging.ImageFormat,h=t.System.StiString,i.getImage=function(t,e){void 0===e&&(e=p.Jpeg);var r=new c;if(!s.useWebKit)return r;var n=document.createElement("canvas");n.width=t.width,n.height=t.height;var i=new l(u.UTF8);o.StiSvgHelper.writeBarCode(i,t),i.flush();var i=h.format('<svg xmlns="http://www.w3.org/2000/svg" style="width: {0}; height: {1}"><rect x="0" y="0" width="{0}" height="{1}" style="fill: white;"/>{2}</svg>',t.width,t.height,i.textWriter.getStringBuilder().toString());canvgv2(n,i);var e=n.toDataURL(e.mimeType);return r.base64=e,r},i.getImageAsync=function(i){return __awaiter(this,void 0,void 0,function(){var e,r,n,n,r,r;return __generator(this,function(t){if(e=new c,!s.useWebKit)return[2,e];return(r=document.createElement("canvas")).width=i.width,r.height=i.height,n=new l(u.UTF8),o.StiSvgHelper.writeBarCode(n,i),n.flush(),n=h.format('<svg xmlns="http://www.w3.org/2000/svg" style="width: {0}; height: {1}"><rect x="0" y="0" width="{0}" height="{1}" style="fill: white;"/>{2}</svg>',i.width,i.height,n.textWriter.getStringBuilder().toString()),canvgv2(r,n),r=r.toDataURL(p.Jpeg.mimeType),e.base64=r,null==(r=i.component.report).preparedExportImages&&(r.preparedExportImages=new a),r.preparedExportImages.set(i.component,e),[2,e]})})},r=i,o.StiBarCodeSvgHelper=r}(Stimulsoft=Stimulsoft||{}),function(t){var e,r,n,i,p,u,h,m,d,c,s;function o(){}r=e=t.Report||(t.Report={}),i=n=r.Export||(r.Export={}),p=t.System.StiString,u=t.Base.Drawing.StiGlareBrush,h=t.Base.Drawing.StiHatchBrush,m=t.Base.StiGuidUtils,d=t.System.Text.StringBuilder,c=t.Base.Drawing.StiGradientBrush,s=t.Base.Drawing.StiGlassBrush,o.writeHatchBrush=function(t,e){var r=e.as(h),n=r.foreColor,i=r.backColor,e=r.style;53<e&&(e=53);var r=p.format("hatch{0}",m.newGuid());t.writeStartElement("pattern"),t.writeAttributeString("id",r),t.writeAttributeString("x","0"),t.writeAttributeString("y","0"),t.writeAttributeString("width","8"),t.writeAttributeString("height","8"),t.writeAttributeString("patternUnits","userSpaceOnUse");for(var o=new d,a=this.hatchData[e],s=0;s<16;s++)o.append(this.hexToByteString(a.substr(s,1)));t.writeStartElement("rect"),t.writeAttributeString("x","0"),t.writeAttributeString("y","0"),t.writeAttributeString("width","8"),t.writeAttributeString("height","8"),t.writeAttributeString("fill",p.format("#{0:X2}{1:X2}{2:X2}",i.r,i.g,i.b)),t.writeEndElement();for(var l=0;l<8;l++)for(var u=0,c;u<8;u++){"1"==o.toString().charAt(8*l+u)&&(t.writeStartElement("rect"),t.writeAttributeString("x",u.toString()),t.writeAttributeString("y",l.toString()),t.writeAttributeString("width","1"),t.writeAttributeString("height","1"),t.writeAttributeString("fill",p.format("#{0:X2}{1:X2}{2:X2}",n.r,n.g,n.b)),t.writeEndElement())}return t.writeEndElement(),r},o.hexToByteString=function(t){var e="0000";switch(t){case"1":e="0001";break;case"2":e="0010";break;case"3":e="0011";break;case"4":e="0100";break;case"5":e="0101";break;case"6":e="0110";break;case"7":e="0111";break;case"8":e="1000";break;case"9":e="1001";break;case"A":e="1010";break;case"B":e="1011";break;case"C":e="1100";break;case"D":e="1101";break;case"E":e="1110";break;case"F":e="1111";break}return e},o.writeGlareBrush=function(t,e,r){var n=e.as(u),i=1,o=1,a=n.angle;a<0&&(a+=360),270<=a&&a<360&&(a=360-a,o=-1),180<=a&&a<270&&(a-=180,i=o=-1),90<=a&&a<180&&(a=180-a,i=-1),a=a*Math.PI/180;var s=r.x+r.width/2,l=r.y+r.height/2,e=Math.sqrt(r.width*r.width+r.height*r.height)/2,r=Math.atan2(r.height,r.width),r=Math.PI/2-a+r,r=e*Math.sin(r),i=r*Math.cos(a)*i,a=r*Math.sin(a)*-o,o=s-i,s=s+i,i=l+a,l=l-a,a=p.format("gradient{0}",m.newGuid());return t.writeStartElement("linearGradient"),t.writeAttributeString("id",a),t.writeAttributeString("gradientUnits","userSpaceOnUse"),t.writeAttributeString("x1",o.toString()),t.writeAttributeString("y1",i.toString()),t.writeAttributeString("x2",s.toString()),t.writeAttributeString("y2",l.toString()),t.writeStartElement("stop"),t.writeAttributeString("offset","0%"),t.writeAttributeString("stop-color",p.format("#{0:X2}{1:X2}{2:X2}",n.startColor.r,n.startColor.g,n.startColor.b)),255!=n.startColor.a&&t.writeAttributeString("stop-opacity",Math.round2(n.startColor.a/255,3).toString().split(",").join(".")),t.writeEndElement(),t.writeStartElement("stop"),t.writeAttributeString("offset","50%"),t.writeAttributeString("stop-color",p.format("#{0:X2}{1:X2}{2:X2}",n.endColor.r,n.endColor.g,n.endColor.b)),255!=n.endColor.a&&t.writeAttributeString("stop-opacity",Math.round2(n.endColor.a/255,3).toString().split(",").join(".")),t.writeEndElement(),t.writeStartElement("stop"),t.writeAttributeString("offset","100%"),t.writeAttributeString("stop-color",p.format("#{0:X2}{1:X2}{2:X2}",n.startColor.r,n.startColor.g,n.startColor.b)),255!=n.startColor.a&&t.writeAttributeString("stop-opacity",Math.round2(n.startColor.a/255,3).toString().split(",").join(".")),t.writeEndElement(),t.writeFullEndElement(),a},o.writeGradientBrush=function(t,e,r){var n=e.stimulsoft.as(c),i=1,o=1,a=n.angle;a<0&&(a+=360),270<=a&&a<360&&(a=360-a,o=-1),180<=a&&a<270&&(a-=180,i=o=-1),90<=a&&a<180&&(a=180-a,i=-1),a=a*Math.PI/180;var s=r.x+r.width/2,l=r.y+r.height/2,e=Math.sqrt(r.width*r.width+r.height*r.height)/2,r=Math.atan2(r.height,r.width),r=Math.PI/2-a+r,r=e*Math.sin(r),i=r*Math.cos(a)*i,a=r*Math.sin(a)*-o,o=s-i,s=s+i,i=l+a,l=l-a,a=p.format("gradient{0}",m.newGuid());return t.writeStartElement("linearGradient"),t.writeAttributeString("id",a),t.writeAttributeString("gradientUnits","userSpaceOnUse"),t.writeAttributeString("x1",o.toString()),t.writeAttributeString("y1",i.toString()),t.writeAttributeString("x2",s.toString()),t.writeAttributeString("y2",l.toString()),t.writeStartElement("stop"),t.writeAttributeString("offset","0%"),t.writeAttributeString("stop-color",p.format("#{0:X2}{1:X2}{2:X2}",n.startColor.r,n.startColor.g,n.startColor.b)),255!=n.startColor.a&&t.writeAttributeString("stop-opacity",Math.round2(n.startColor.a/255,3).toString().split(",").join(".")),t.writeEndElement(),t.writeStartElement("stop"),t.writeAttributeString("offset","100%"),t.writeAttributeString("stop-color",p.format("#{0:X2}{1:X2}{2:X2}",n.endColor.r,n.endColor.g,n.endColor.b)),255!=n.endColor.a&&t.writeAttributeString("stop-opacity",Math.round2(n.endColor.a/255,3).toString().split(",").join(".")),t.writeEndElement(),t.writeFullEndElement(),a},o.writeGlassBrush=function(t,e,r){var n=e.stimulsoft.as(s),i=n.getTopColor(),o=n.getTopRectangle(r),e=n.getBottomColor(),a=n.getBottomRectangle(r),n=p.format("glass{0}",m.newGuid());return t.writeStartElement("pattern"),t.writeAttributeString("id",n),t.writeAttributeString("x",r.x.toString().split(",").join(".")),t.writeAttributeString("y",r.y.toString().split(",").join(".")),t.writeAttributeString("width",r.width.toString().split(",").join(".")),t.writeAttributeString("height",r.height.toString().split(",").join(".")),t.writeAttributeString("patternUnits","userSpaceOnUse"),t.writeStartElement("rect"),t.writeAttributeString("x","0"),t.writeAttributeString("y","0"),t.writeAttributeString("width",r.width.toString().split(",").join(".")),t.writeAttributeString("height",r.height.toString().split(",").join(".")),t.writeAttributeString("style",p.format("fill:rgb({0},{1},{2});fill-opacity:{3};",e.r,e.g,e.b,Math.round2(e.a/255,3).toString().split(",").join("."))),t.writeEndElement(),t.writeStartElement("rect"),t.writeAttributeString("x","0"),t.writeAttributeString("y","0"),t.writeAttributeString("width",o.width.toString().split(",").join(".")),t.writeAttributeString("height",o.height.toString().split(",").join(".")),t.writeAttributeString("style",p.format("fill:rgb({0},{1},{2});fill-opacity:{3};",i.r,i.g,i.b,Math.round2(i.a/255,3).toString().split(",").join("."))),t.writeEndElement(),t.writeEndElement(),n},o.hatchData=["000000FF00000000","1010101010101010","8040201008040201","0102040810204080","101010FF10101010","8142241818244281","8000000008000000","0010000100100001","2200880022008800","2288228822882288","2255885522558855","AA558A55AA55A855","AA55AA55AA55AA55","BB55EE55BB55EE55","DD77DD77DD77DD77","FFDDFF77FFDDFF77","FF7FFFF7FF7FFFF7","FF7FFFFFFFF7FFFF","8844221188442211","1122448811224488","CC663399CC663399","993366CC993366CC","E070381C0E0783C1","C183070E1C3870E0","4040404040404040","00FF000000FF0000","AAAAAAAAAAAAAAAA","FF00FF00FF00FF00","CCCCCCCCCCCCCCCC","FFFF0000FFFF0000","8844221100000000","1122448800000000","F00000000F000000","8080808008080808","0240088004200110","0C8DB130031BD8C0","8403304884033048","00304A8100304A81","0102040818244281","202020FF020202FF","1422518854224588","F0F0F0F0AA55AA55","0100201020000102","AA00800080008000","0020008800020088","8448300C02010103","33FFCCFF33FFCCFF","98F8F877898F8F77","111111FF111111FF","3333CCCC3333CCCC","0F0F0F0FF0F0F0F0","0502058850205088","10387CFE7C381000","0000000000000000"],r=o,i.StiBrushSvgHelper=r}(Stimulsoft=Stimulsoft||{}),function(t){var e,r,c,p,t;function n(){}r=e=t.Report||(t.Report={}),c=t.System.StiArray,p=t.System.Drawing.Point,n.cardinalSpline=function(t,e){for(var r=0,n=0,i=new p,o=new p,a=.5*(1/3),n=e?3*(t.length+1)-2:3*t.length-2,s=c.create(p,n,!0),r=0,l,i,l,u,l;r<n;r++)s[r]=new p;for(e||(l=new p(t[0].x,t[0].y),i=this.calcCurveEnd(l,new p(t[1].x,t[1].y),a),s[0]=l,s[1]=i),r=0;r<t.length-(e?1:2);r++){var l=new p(t[r+1].x,t[r+1].y),u;i=(u=this.calcCurve([new p(t[r].x,t[r].y),l,new p(t[(r+2)%t.length].x,t[(r+2)%t.length].y)],a))[0],o=u[1],s[3*r+2]=i,s[3*r+3]=l,s[3*r+4]=o}return e?(l=new p(t[0].x,t[0].y),i=(u=this.calcCurve([new p(t[t.length-1].x,t[t.length-1].y),l,new p(t[1].x,t[1].y)],a))[0],o=u[1],s[n-2]=i,s[0]=l,s[1]=o,s[n-1]=s[0]):(l=new p(t[t.length-1].x,t[t.length-1].y),i=this.calcCurveEnd(l,new p(t[t.length-2].x,t[t.length-2].y),a),s[n-2]=i,s[n-1]=l),s},n.calcCurveEnd=function(t,e,r){return new p(r*(e.x-t.x)+t.x,r*(e.y-t.y)+t.y)},n.calcCurve=function(t,e){var r=t[2].x-t[0].x,n=t[2].y-t[0].y,i,o,a;return[new p(t[1].x-e*r,t[1].y-e*n),new p(t[1].x+e*r,t[1].y+e*n)]},t=n,r.StiCurveHelper=t}(Stimulsoft=Stimulsoft||{}),function(e){var t,i,r,n,o,a,s,l,u,c,p;function h(){}i=t=e.Base||(e.Base={}),n=r=i.Context||(i.Context={}),o=e.System.StiArray,a=e.System.StiString,s=e.Base.Drawing.StiBrush,l=e.System.Enum,u=e.System.Drawing.Color,c=e.Base.JsonReportObject.IStiJsonReportObject,h.prototype.implements=function(){return h.implementsStiGeom||(h.implementsStiGeom=[c]),h.implementsStiGeom},h.prototype.is=function(t){if(t instanceof e.System.Interface)return-1!=this.implements().indexOf(t);if("function"==typeof t)return this instanceof t;if(null==t)throw new Error("Type for comparison is 'undefined'");return!1},h.prototype.is2=function(t){return this.is(t)},h.prototype.as=function(t){if(this.is(t))return this;return null},h.prototype.saveToJsonObject=function(t){var e=new i.StiJson;return e.addPropertyString("Ident",this.stimulsoft.getType().stimulsoft.getTypeName()),e.addPropertyString("Type",l.getName(n.StiGeomType,this.type)),e},h.prototype.saveGeomListToJsonObject=function(t,e){if(null!=t){for(var r=o.create(i.StiJson,t.length),n=0;n<t.length;n++)r[n]=t[n].saveToJsonObject(e);return r}return null},h.prototype.savePointDArrayToJsonObject=function(t){if(null!=t){for(var e=o.create(i.StiJson,t.length),r=0;r<t.length;r++)e[r]=h.savePointDToJsonObject(t[r]);return e}return null},h.prototype.saveBrushToJsonObject=function(t,e){var r;if(t instanceof u)return a.format("Color,{0},{1},{2},{3}",t.a,t.r,t.g,t.b);if(t.is(s))return i.StiJsonReportObjectHelper.Serialize.jBrush(t);return null},h.prototype.saveRectToJsonObject=function(t){if(null!=t)return h.saveRectangleToJsonObject(t);return null},h.savePointDToJsonObject=function(t){var e=new i.StiJson;return e.addPropertyNumberNoDefaultValue("X",t.x),e.addPropertyNumberNoDefaultValue("Y",t.y),e},h.saveRectangleToJsonObject=function(t){var e=new i.StiJson;return e.addPropertyNumberNoDefaultValue("X",t.x),e.addPropertyNumberNoDefaultValue("Y",t.y),e.addPropertyNumberNoDefaultValue("Width",t.width),e.addPropertyNumberNoDefaultValue("Height",t.height),e},h.saveRectangleDToJsonObject=function(t){var e=new i.StiJson;return e.addPropertyNumberNoDefaultValue("X",t.x),e.addPropertyNumberNoDefaultValue("Y",t.y),e.addPropertyNumberNoDefaultValue("Width",t.width),e.addPropertyNumberNoDefaultValue("Height",t.height),e},h.prototype.loadFromJsonObject=function(t){},h.prototype.loadFromXml=function(t){},Object.defineProperty(h.prototype,"type",{get:function(){return null},enumerable:!1,configurable:!0}),p=h,n.StiGeom=p}(Stimulsoft=Stimulsoft||{}),function(t){var e,t,r,n,i;function o(t,e){var r=i.call(this)||this;return r.x=t,r.y=e,r}t=e=t.Base||(t.Base={}),n=r=t.Context||(t.Context={}),i=n.StiGeom,__extends(o,i),o.prototype.saveToJsonObject=function(t){var t=i.prototype.saveToJsonObject.call(this,t);return t.addPropertyNumberNoDefaultValue("X",this.x),t.addPropertyNumberNoDefaultValue("Y",this.y),t},Object.defineProperty(o.prototype,"type",{get:function(){return n.StiGeomType.PushTranslateTransform},enumerable:!1,configurable:!0}),t=o,n.StiPushTranslateTransformGeom=t}(Stimulsoft=Stimulsoft||{}),function(t){var e,t,r,n,i;function o(t){var e=i.call(this)||this;return e.angle=t,e}t=e=t.Base||(t.Base={}),n=r=t.Context||(t.Context={}),i=n.StiGeom,__extends(o,i),o.prototype.saveToJsonObject=function(t){var t=i.prototype.saveToJsonObject.call(this,t);return t.addPropertyNumberNoDefaultValue("Angle",this.angle),t},Object.defineProperty(o.prototype,"type",{get:function(){return n.StiGeomType.PushRotateTransform},enumerable:!1,configurable:!0}),t=o,n.StiPushRotateTransformGeom=t}(Stimulsoft=Stimulsoft||{}),function(t){var e,r,n,t,i;function o(t,e){var r=i.call(this)||this;return r._animation=t,r.interaction=e,r}r=e=t.Base||(t.Base={}),t=n=r.Context||(r.Context={}),i=t.StiGeom,__extends(o,i),o.prototype.saveToJsonObject=function(t){var e;return i.prototype.saveToJsonObject.call(this,t)},Object.defineProperty(o.prototype,"animation",{get:function(){return this._animation},enumerable:!1,configurable:!0}),r=o,t.StiAnimationGeom=r}(Stimulsoft=Stimulsoft||{}),function(t){var e,t,r,n,l;function i(t,e,r,n,i,o,a,s){var s=l.call(this,a,s)||this;return s.value=n,s.background=t,s.borderPen=e,s.columnRect=r,s.tag=o,s.toolTip=i,s}t=e=t.Base||(t.Base={}),n=r=t.Context||(t.Context={}),l=n.StiAnimationGeom,__extends(i,l),i.prototype.saveToJsonObject=function(t){var e=l.prototype.saveToJsonObject.call(this,t);return null!=this.background&&e.addPropertyString("Background",this.saveBrushToJsonObject(this.background,t)),null!=this.borderPen&&e.addPropertyJObject("BorderPen",this.borderPen.saveToJsonObject(t)),e.addPropertyJObject("ColumnRect",this.saveRectToJsonObject(this.columnRect)),e.addPropertyBool("UpMove",this.upMove),"string"==typeof this.tag&&e.addPropertyString("Tag",this.tag),e},Object.defineProperty(i.prototype,"type",{get:function(){return n.StiGeomType.AnimationBar},enumerable:!1,configurable:!0}),t=i,n.StiClusteredBarSeriesAnimationGeom=t}(Stimulsoft=Stimulsoft||{}),function(t){var e,t,r,n,i;function o(){return null!==i&&i.apply(this,arguments)||this}t=e=t.Base||(t.Base={}),n=r=t.Context||(t.Context={}),i=n.StiGeom,__extends(o,i),Object.defineProperty(o.prototype,"type",{get:function(){return n.StiGeomType.PopTransform},enumerable:!1,configurable:!0}),t=o,n.StiPopTransformGeom=t}(Stimulsoft=Stimulsoft||{}),function(t){var e,t,r,n,s;function i(t,e,r,n,i,o,a){var o=s.call(this,i,o)||this;return o.background=t,o.borderPen=e,o.rect=r,o.tag=n,o.toolTip=a,o}t=e=t.Base||(t.Base={}),n=r=t.Context||(t.Context={}),s=n.StiAnimationGeom,__extends(i,s),i.prototype.saveToJsonObject=function(t){var e=s.prototype.saveToJsonObject.call(this,t);return null!=this.background&&e.addPropertyString("Background",this.saveBrushToJsonObject(this.background,t)),null!=this.borderPen&&e.addPropertyJObject("BorderPen",this.borderPen.saveToJsonObject(t)),e.addPropertyJObject("Rect",this.saveRectToJsonObject(this.rect)),e},Object.defineProperty(i.prototype,"type",{get:function(){return n.StiGeomType.AnimationBorder},enumerable:!1,configurable:!0}),t=i,n.StiBorderAnimationGeom=t}(Stimulsoft=Stimulsoft||{}),function(t){var e,t,r,n,a;function i(t,e,r,n,i){var o=a.call(this)||this;return o.backgroundMouseOver=e,o.background=t,o.borderPen=r,o.rect=n,o.interaction=i,o}t=e=t.Base||(t.Base={}),n=r=t.Context||(t.Context={}),a=n.StiGeom,__extends(i,a),i.prototype.saveToJsonObject=function(t){var e=a.prototype.saveToJsonObject.call(this,t);return null!=this.background&&e.addPropertyString("Background",this.saveBrushToJsonObject(this.background,t)),null!=this.borderPen&&e.addPropertyJObject("BorderPen",this.borderPen.saveToJsonObject(t)),e.addPropertyJObject("Rect",this.saveRectToJsonObject(this.rect)),e},Object.defineProperty(i.prototype,"type",{get:function(){return n.StiGeomType.Border},enumerable:!1,configurable:!0}),t=i,n.StiBorderGeom=t}(Stimulsoft=Stimulsoft||{}),function(t){var e,r,n,t,i;function o(t,e){this.duration=t,this.beginTime=e}r=e=t.Base||(t.Base={}),t=n=r.Context||(r.Context={}),r=i=t.Animation||(t.Animation={}),Object.defineProperty(o.prototype,"type",{get:function(){return null},enumerable:!1,configurable:!0}),t=o,r.StiAnimation=t}(Stimulsoft=Stimulsoft||{}),function(t){var e,r,n,i,o,t,a;function s(t,e){return a.call(this,t,e)||this}r=e=t.Base||(t.Base={}),i=n=r.Context||(r.Context={}),t=o=i.Animation||(i.Animation={}),a=t.StiAnimation,__extends(s,a),Object.defineProperty(s.prototype,"type",{get:function(){return r.StiAnimationType.Opacity},enumerable:!1,configurable:!0}),i=s,t.StiOpacityAnimation=i}(Stimulsoft=Stimulsoft||{}),function(t){var e,t,r,n,i;function o(t){var e=i.call(this)||this;return e.clipRectangle=t,e}t=e=t.Base||(t.Base={}),n=r=t.Context||(t.Context={}),i=n.StiGeom,__extends(o,i),o.prototype.saveToJsonObject=function(t){var t=i.prototype.saveToJsonObject.call(this,t);return t.addPropertyJObject("ClipRectangle",n.StiGeom.saveRectangleDToJsonObject(this.clipRectangle)),t},Object.defineProperty(o.prototype,"type",{get:function(){return n.StiGeomType.PushClip},enumerable:!1,configurable:!0}),t=o,n.StiPushClipGeom=t}(Stimulsoft=Stimulsoft||{}),function(t){var e,t,r,n,i;function o(){return null!==i&&i.apply(this,arguments)||this}t=e=t.Base||(t.Base={}),n=r=t.Context||(t.Context={}),i=n.StiGeom,__extends(o,i),Object.defineProperty(o.prototype,"type",{get:function(){return n.StiGeomType.PopClip},enumerable:!1,configurable:!0}),t=o,n.StiPopClipGeom=t}(Stimulsoft=Stimulsoft||{}),function(t){var e,t,r,n,i;function o(t,e,r){var n=i.call(this)||this;return n.pen=t,n.tension=r,n.points=e,n}t=e=t.Base||(t.Base={}),n=r=t.Context||(t.Context={}),i=n.StiGeom,__extends(o,i),o.prototype.saveToJsonObject=function(t){var e=i.prototype.saveToJsonObject.call(this,t);return null!=this.pen&&e.addPropertyJObject("Pen",this.pen.saveToJsonObject(t)),e.addPropertyNumberNoDefaultValue("Tension",this.tension),e.addPropertyJObjectArray("Points",this.savePointDArrayToJsonObject(this.points)),e},Object.defineProperty(o.prototype,"type",{get:function(){return n.StiGeomType.Curve},enumerable:!1,configurable:!0}),t=o,n.StiCurveGeom=t}(Stimulsoft=Stimulsoft||{}),function(t){var e,t,r,n,a;function i(t,e,r,n,i){var o=a.call(this)||this;return o.background=t,o.borderPen=e,o.rect=r,o.interaction=n,o.toolTip=i,o}t=e=t.Base||(t.Base={}),n=r=t.Context||(t.Context={}),a=n.StiGeom,__extends(i,a),i.prototype.saveToJsonObject=function(t){var e=a.prototype.saveToJsonObject.call(this,t);return null!=this.background&&e.addPropertyString("Background",this.saveBrushToJsonObject(this.background,t)),null!=this.borderPen&&e.addPropertyJObject("BorderPen",this.borderPen.saveToJsonObject(t)),e.addPropertyJObject("Rect",this.saveRectToJsonObject(this.rect)),e},Object.defineProperty(i.prototype,"type",{get:function(){return n.StiGeomType.Ellipse},enumerable:!1,configurable:!0}),t=i,n.StiEllipseGeom=t}(Stimulsoft=Stimulsoft||{}),function(e){var t,r,n,i,o,a;function s(t,e,r){var n=a.call(this)||this;return n.rect=t,n.sides=e,n.isPrinting=r,n}r=t=e.Base||(e.Base={}),i=n=r.Context||(r.Context={}),o=e.System.Enum,a=i.StiGeom,__extends(s,a),s.prototype.saveToJsonObject=function(t){var t=a.prototype.saveToJsonObject.call(this,t);return t.addPropertyJObject("Rect",i.StiGeom.saveRectangleDToJsonObject(this.rect)),t.addPropertyString("Sides",o.getName(e.Base.Drawing.StiShadowSides,this.sides)),t.addPropertyBool("IsPrinting",this.isPrinting),t},Object.defineProperty(s.prototype,"type",{get:function(){return i.StiGeomType.CachedShadow},enumerable:!1,configurable:!0}),r=s,i.StiCachedShadowGeom=r}(Stimulsoft=Stimulsoft||{}),function(t){var e,t,r,n,i;function o(t,e,r){var n=i.call(this)||this;return n.shadowContext=t,n.rect=e,n.radius=r,n}t=e=t.Base||(t.Base={}),n=r=t.Context||(t.Context={}),i=n.StiGeom,__extends(o,i),o.prototype.saveToJsonObject=function(t){var t=i.prototype.saveToJsonObject.call(this,t);return t.addPropertyJObject("Rect",n.StiGeom.saveRectangleDToJsonObject(this.rect)),t.addPropertyNumberNoDefaultValue("Radius",this.radius),t},Object.defineProperty(o.prototype,"type",{get:function(){return n.StiGeomType.Shadow},enumerable:!1,configurable:!0}),t=o,n.StiShadowGeom=t}(Stimulsoft=Stimulsoft||{}),function(r){var t,e,n,i,o,a,s,h;function l(t,e,r,n,i,o,a,s,l,u,c){var p=h.call(this)||this;return p.isRounded=!1,p.isRotatedText=!1,p.isRotatedText=u,p.text=t,p.font=e,p.brush=r,p.location=n,p.stringFormat=i,p.angle=o,p.antialiasing=a,p.maximalWidth=s,p.rotationMode=l,p.toolTip=c,p}e=t=r.Base||(r.Base={}),i=n=e.Context||(e.Context={}),o=r.System.Drawing.Rectangle,a=r.System.Enum,s=r.System.Drawing.Point,h=i.StiGeom,__extends(l,h),l.prototype.saveToJsonObject=function(t){var e=h.prototype.saveToJsonObject.call(this,t);return e.addPropertyString("Text",this.text),e.addPropertyJObject("Font",this.font.saveToJsonObject(t)),e.addPropertyBool("IsRounded",this.isRounded),e.addPropertyBool("IsRotatedText",this.isRotatedText),e.addPropertyNumberNoDefaultValue("Angle",this.angle),e.addPropertyBool("Antialiasing",this.antialiasing),e.addPropertyNumberNoDefaultValue("MaximalWidth",this.maximalWidth),null!=this.brush&&e.addPropertyString("Brush",this.saveBrushToJsonObject(this.brush,t)),null!=this.stringFormat&&e.addPropertyJObject("StringFormat",this.stringFormat.saveToJsonObject(t)),null!=this.rotationMode&&e.addPropertyString("RotationMode",a.getName(r.Base.Drawing.StiRotationMode,this.rotationMode)),this.location instanceof s&&e.addPropertyJObject("Location",i.StiGeom.savePointDToJsonObject(this.location)),this.location instanceof o&&e.addPropertyJObject("Location",i.StiGeom.saveRectangleToJsonObject(this.location)),e},Object.defineProperty(l.prototype,"type",{get:function(){return i.StiGeomType.Text},enumerable:!1,configurable:!0}),e=l,i.StiTextGeom=e}(Stimulsoft=Stimulsoft||{}),function(t){var e,t,r,n,s;function i(t,e,r,n,i,o){var a=s.call(this)||this;return a.background=t,a.pen=e,a.geoms=r,a.rect=n,a.interaction=i,a.toolTip=o,a}t=e=t.Base||(t.Base={}),n=r=t.Context||(t.Context={}),s=n.StiGeom,__extends(i,s),i.prototype.saveToJsonObject=function(t){var e=s.prototype.saveToJsonObject.call(this,t);return e.addPropertyJObject("Rect",this.saveRectToJsonObject(this.rect)),null!=this.background&&e.addPropertyString("Background",this.saveBrushToJsonObject(this.background,t)),null!=this.pen&&e.addPropertyJObject("Pen",this.pen.saveToJsonObject(t)),null!=this.geoms&&e.addPropertyJObjectArray("Geoms",this.saveGeomListToJsonObject(this.geoms,t)),e},Object.defineProperty(i.prototype,"type",{get:function(){return n.StiGeomType.Path},enumerable:!1,configurable:!0}),i.getBoundsState={},t=i,n.StiPathGeom=t}(Stimulsoft=Stimulsoft||{}),function(t){var e,r,n,i,o,a;function s(t){var e=a.call(this)||this;return e.geoms=t,e}r=e=t.Base||(t.Base={}),i=n=r.Context||(r.Context={}),o=t.Base.Context.StiGeomType,a=i.StiGeom,__extends(s,a),Object.defineProperty(s.prototype,"type",{get:function(){return o.PushClipPath},enumerable:!1,configurable:!0}),r=s,i.StiPushClipPathGeom=r}(Stimulsoft=Stimulsoft||{}),function(t){var e,t,r,n,i;function o(){return null!==i&&i.apply(this,arguments)||this}t=e=t.Base||(t.Base={}),n=r=t.Context||(t.Context={}),i=n.StiGeom,__extends(o,i),Object.defineProperty(o.prototype,"type",{get:function(){return n.StiGeomType.Segment},enumerable:!1,configurable:!0}),t=o,n.StiSegmentGeom=t}(Stimulsoft=Stimulsoft||{}),function(t){var e,t,r,n,o;function i(t,e,r,n){var i=o.call(this)||this;return i.rect=t,i.startAngle=e,i.sweepAngle=r,i}t=e=t.Base||(t.Base={}),n=r=t.Context||(t.Context={}),o=n.StiSegmentGeom,__extends(i,o),i.prototype.saveToJsonObject=function(t){var t=o.prototype.saveToJsonObject.call(this,t);return t.addPropertyJObject("Rect",n.StiGeom.saveRectangleDToJsonObject(this.rect)),t.addPropertyNumberNoDefaultValue("StartAngle",this.startAngle),t.addPropertyNumberNoDefaultValue("SweepAngle",this.sweepAngle),t},t=i,n.StiPieSegmentGeom=t}(Stimulsoft=Stimulsoft||{}),function(t){var e,t,r,n,i;function o(t,e,r){var n=i.call(this)||this;return n.rect=t,n.startAngle=e,n.sweepAngle=r,n}t=e=t.Base||(t.Base={}),n=r=t.Context||(t.Context={}),i=n.StiSegmentGeom,__extends(o,i),o.prototype.saveToJsonObject=function(t){var t=i.prototype.saveToJsonObject.call(this,t);return t.addPropertyJObject("Rect",n.StiGeom.saveRectangleDToJsonObject(this.rect)),t.addPropertyNumberNoDefaultValue("StartAngle",this.startAngle),t.addPropertyNumberNoDefaultValue("SweepAngle",this.sweepAngle),t},t=o,n.StiArcSegmentGeom=t}(Stimulsoft=Stimulsoft||{}),function(t){var e,r,n,t,a;function i(t,e,r,n,i){void 0===r&&(r=null),void 0===n&&(n=null),void 0===i&&(i=null);var o=a.call(this)||this;return null==r&&null==n?(o.x1=t.x,o.y1=t.y,o.x2=e.x,o.y2=e.y):(o.x1=t,o.y1=e,o.x2=r,o.y2=n),o.animation=i,o}r=e=t.Base||(t.Base={}),t=n=r.Context||(r.Context={}),a=t.StiSegmentGeom,__extends(i,a),i.prototype.saveToJsonObject=function(t){var t=a.prototype.saveToJsonObject.call(this,t);return t.addPropertyNumberNoDefaultValue("X1",this.x1),t.addPropertyNumberNoDefaultValue("Y1",this.y1),t.addPropertyNumberNoDefaultValue("X2",this.x2),t.addPropertyNumberNoDefaultValue("Y2",this.y2),t},r=i,t.StiLineSegmentGeom=r}(Stimulsoft=Stimulsoft||{}),function(t){var e,r,n,t,i;function o(t,e){void 0===e&&(e=null);var r=i.call(this)||this;return r.points=t,r.animation=e,r}r=e=t.Base||(t.Base={}),t=n=r.Context||(r.Context={}),i=t.StiSegmentGeom,__extends(o,i),o.prototype.saveToJsonObject=function(t){var t=i.prototype.saveToJsonObject.call(this,t);return t.addPropertyJObjectArray("Points",this.savePointDArrayToJsonObject(this.points)),t},r=o,t.StiLinesSegmentGeom=r}(Stimulsoft=Stimulsoft||{}),function(t){var e,r,n,t,i;function o(t,e,r){void 0===r&&(r=null);var n=i.call(this)||this;return n.tension=.55,n.points=null,n.points=t,n.tension=e,n.animation=r,n}r=e=t.Base||(t.Base={}),t=n=r.Context||(r.Context={}),i=t.StiSegmentGeom,__extends(o,i),o.prototype.saveToJsonObject=function(t){var t=i.prototype.saveToJsonObject.call(this,t);return t.addPropertyNumberNoDefaultValue("Tension",this.tension),t.addPropertyJObjectArray("Points",this.savePointDArrayToJsonObject(this.points)),t},r=o,t.StiCurveSegmentGeom=r}(Stimulsoft=Stimulsoft||{}),function(t){var e,r,n,t,i;function o(){return null!==i&&i.apply(this,arguments)||this}r=e=t.Base||(t.Base={}),t=n=r.Context||(r.Context={}),i=t.StiSegmentGeom,__extends(o,i),r=o,t.StiCloseFigureSegmentGeom=r}(Stimulsoft=Stimulsoft||{}),function(t){var e,r,n,i,o,t,a;function s(t,e,r,n){var n=a.call(this,r,n)||this;return n.valueFrom=t,n.rectFrom=e,n}r=e=t.Base||(t.Base={}),i=n=r.Context||(r.Context={}),t=o=i.Animation||(i.Animation={}),a=t.StiAnimation,__extends(s,a),Object.defineProperty(s.prototype,"type",{get:function(){return r.StiAnimationType.Column},enumerable:!1,configurable:!0}),i=s,t.StiColumnAnimation=i}(Stimulsoft=Stimulsoft||{}),function(r){var t,e,n,i,o,p;function a(t,e,r,n,i,o,a,s,l,u,c){var c=p.call(this,c,null)||this;return c.text=t,c.font=e,c.textBrush=r,c.labelBrush=n,c.penBorder=i,c.rectangle=o,c.stringFormat=a,c.rotationMode=s,c.angle=l,c.drawBorder=u,c}e=t=r.Base||(r.Base={}),i=n=e.Context||(e.Context={}),o=r.System.Enum,p=i.StiAnimationGeom,__extends(a,p),a.prototype.saveToJsonObject=function(t){var e=p.prototype.saveToJsonObject.call(this,t);return e.addPropertyString("Text",this.text),e.addPropertyJObject("Font",this.font.saveToJsonObject(t)),e.addPropertyJObject("Rectangle",i.StiGeom.saveRectangleToJsonObject(this.rectangle)),e.addPropertyNumberNoDefaultValue("Angle",this.angle),e.addPropertyBool("DrawBorder",this.drawBorder),null!=this.textBrush&&e.addPropertyString("TextBrush",this.saveBrushToJsonObject(this.textBrush,t)),null!=this.labelBrush&&e.addPropertyString("LabelBrush",this.saveBrushToJsonObject(this.labelBrush,t)),null!=this.penBorder&&e.addPropertyJObject("PenBorder",this.penBorder.saveToJsonObject(t)),null!=this.stringFormat&&e.addPropertyJObject("StringFormat",this.stringFormat.saveToJsonObject(t)),null!=this.rotationMode&&e.addPropertyString("RotationMode",o.getName(r.Base.Drawing.StiRotationMode,this.rotationMode)),e},Object.defineProperty(a.prototype,"type",{get:function(){return i.StiGeomType.AnimationLabel},enumerable:!1,configurable:!0}),e=a,i.StiLabelAnimationGeom=e}(Stimulsoft=Stimulsoft||{}),function(t){var e,t,r,n,o;function i(t,e,r,n,i){var i=o.call(this,i,null)||this;return i.rect=t,i.radiusX=e,i.radiusY=r,i.shadowWidth=n,i}t=e=t.Base||(t.Base={}),n=r=t.Context||(t.Context={}),o=n.StiAnimationGeom,__extends(i,o),i.prototype.saveToJsonObject=function(t){var t=o.prototype.saveToJsonObject.call(this,t);return t.addPropertyJObject("Rect",n.StiGeom.saveRectangleDToJsonObject(this.rect)),t.addPropertyNumberNoDefaultValue("RadiusX",this.radiusX),t.addPropertyNumberNoDefaultValue("RadiusY",this.radiusY),t.addPropertyNumberNoDefaultValue("ShadowWidth",this.shadowWidth),t},Object.defineProperty(i.prototype,"type",{get:function(){return n.StiGeomType.AnimationShadow},enumerable:!1,configurable:!0}),t=i,n.StiShadowAnimationGeom=t}(Stimulsoft=Stimulsoft||{}),function(t){var e,t,r,n,s;function i(t,e,r,n,i,o,a){var a=s.call(this,o,a)||this;return a.background=t,a.pen=e,a.geoms=r,a.rect=n,a.tag=i,a}t=e=t.Base||(t.Base={}),n=r=t.Context||(t.Context={}),s=n.StiAnimationGeom,__extends(i,s),i.prototype.saveToJsonObject=function(t){var e=s.prototype.saveToJsonObject.call(this,t);return e.addPropertyJObject("Rect",this.saveRectToJsonObject(this.rect)),null!=this.background&&e.addPropertyString("Background",this.saveBrushToJsonObject(this.background,t)),null!=this.pen&&e.addPropertyJObject("Pen",this.pen.saveToJsonObject(t)),null!=this.geoms&&e.addPropertyJObjectArray("Geoms",this.saveGeomListToJsonObject(this.geoms,t)),"string"==typeof this.tag&&e.addPropertyString("Tag",this.tag),e},Object.defineProperty(i.prototype,"type",{get:function(){return n.StiGeomType.AnimationPath},enumerable:!1,configurable:!0}),i.getBoundsState={},t=i,n.StiPathAnimationGeom=t}(Stimulsoft=Stimulsoft||{}),function(t){var e,t,r,n,i;function o(t,e,r,n){var n=i.call(this,n,null)||this;return n.pen=t,n.points=e,n.tension=r,n}t=e=t.Base||(t.Base={}),n=r=t.Context||(t.Context={}),i=n.StiAnimationGeom,__extends(o,i),o.prototype.saveToJsonObject=function(t){var e=i.prototype.saveToJsonObject.call(this,t);return null!=this.pen&&e.addPropertyJObject("Pen",this.pen.saveToJsonObject(t)),e.addPropertyNumberNoDefaultValue("Tension",this.tension),e.addPropertyJObjectArray("Points",this.savePointDArrayToJsonObject(this.points)),e},Object.defineProperty(o.prototype,"type",{get:function(){return n.StiGeomType.AnimationCurve},enumerable:!1,configurable:!0}),t=o,n.StiCurveAnimationGeom=t}(Stimulsoft=Stimulsoft||{}),function(t){var e,t,r,n,l;function i(t,e,r,n,i,o,a,s){var s=l.call(this,a,s)||this;return s.value=n,s.background=t,s.borderPen=e,s.columnRect=r,s.tag=o,s.toolTip=i,s}t=e=t.Base||(t.Base={}),n=r=t.Context||(t.Context={}),l=n.StiAnimationGeom,__extends(i,l),i.prototype.saveToJsonObject=function(t){var e=l.prototype.saveToJsonObject.call(this,t);return null!=this.background&&e.addPropertyString("Background",this.saveBrushToJsonObject(this.background,t)),null!=this.borderPen&&e.addPropertyJObject("BorderPen",this.borderPen.saveToJsonObject(t)),e.addPropertyJObject("ColumnRect",this.saveRectToJsonObject(this.columnRect)),"string"==typeof this.tag&&e.addPropertyString("Tag",this.tag),e},Object.defineProperty(i.prototype,"type",{get:function(){return n.StiGeomType.AnimationColumn},enumerable:!1,configurable:!0}),t=i,n.StiClusteredColumnSeriesAnimationGeom=t}(Stimulsoft=Stimulsoft||{}),function(t){var e,t,r,n,s;function i(t,e,r,n,i,o,a){var a=s.call(this,o,a)||this;return a.background=t,a.borderPen=e,a.rect=r,a.tag=i,a.toolTip=n,a}t=e=t.Base||(t.Base={}),n=r=t.Context||(t.Context={}),s=n.StiAnimationGeom,__extends(i,s),i.prototype.saveToJsonObject=function(t){var e=s.prototype.saveToJsonObject.call(this,t);return null!=this.background&&e.addPropertyString("Background",this.saveBrushToJsonObject(this.background,t)),null!=this.borderPen&&e.addPropertyJObject("BorderPen",this.borderPen.saveToJsonObject(t)),e.addPropertyJObject("Rect",this.saveRectToJsonObject(this.rect)),"string"==typeof this.tag&&e.addPropertyString("Tag",this.tag),e},Object.defineProperty(i.prototype,"type",{get:function(){return n.StiGeomType.AnimationEllipse},enumerable:!1,configurable:!0}),t=i,n.StiEllipseAnimationGeom=t}(Stimulsoft=Stimulsoft||{}),function(t){var e,t,r,n,i;function o(t,e,r){var r=i.call(this,r,null)||this;return r.pen=t,r.points=e,r}t=e=t.Base||(t.Base={}),n=r=t.Context||(t.Context={}),i=n.StiAnimationGeom,__extends(o,i),o.prototype.saveToJsonObject=function(t){var e=i.prototype.saveToJsonObject.call(this,t);return null!=this.pen&&e.addPropertyJObject("Pen",this.pen.saveToJsonObject(t)),e.addPropertyJObjectArray("Points",this.savePointDArrayToJsonObject(this.points)),e},Object.defineProperty(o.prototype,"type",{get:function(){return n.StiGeomType.AnimationLines},enumerable:!1,configurable:!0}),t=o,n.StiLinesAnimationGeom=t}(Stimulsoft=Stimulsoft||{}),function(t){var e,t,r,n,l;function i(t,e,r,n,i,o,a,s){var s=l.call(this,a,s)||this;return s.background=t,s.borderPen=e,s.rect=n,s.pathGeoms=r,s.toolTip=i,s.tag=o,s}t=e=t.Base||(t.Base={}),n=r=t.Context||(t.Context={}),l=n.StiAnimationGeom,__extends(i,l),i.prototype.saveToJsonObject=function(t){var e=l.prototype.saveToJsonObject.call(this,t);return e.addPropertyJObject("Rect",this.saveRectToJsonObject(this.rect)),null!=this.background&&e.addPropertyString("Background",this.saveBrushToJsonObject(this.background,t)),null!=this.borderPen&&e.addPropertyJObject("BorderPen",this.borderPen.saveToJsonObject(t)),null!=this.pathGeoms&&e.addPropertyJObjectArray("Geoms",this.saveGeomListToJsonObject(this.pathGeoms,t)),"string"==typeof this.tag&&e.addPropertyString("Tag",this.tag),e},Object.defineProperty(i.prototype,"type",{get:function(){return n.StiGeomType.AnimationPathElement},enumerable:!1,configurable:!0}),t=i,n.StiPathElementAnimationGeom=t}(Stimulsoft=Stimulsoft||{}),function(t){var e,r,n,i,o,t,a;function s(t,e,r,n,i,o){var o=a.call(this,i,o)||this;return o.pointFrom=r,o.point=n,o.valueFrom=t,o.value=e,o}r=e=t.Base||(t.Base={}),i=n=r.Context||(r.Context={}),t=o=i.Animation||(i.Animation={}),a=t.StiAnimation,__extends(s,a),Object.defineProperty(s.prototype,"type",{get:function(){return r.StiAnimationType.Translation},enumerable:!1,configurable:!0}),i=s,t.StiLabelAnimation=i}(Stimulsoft=Stimulsoft||{}),function(t){var e,r,n,i,o,t,a;function s(t,e,r){var r=a.call(this,e,r)||this;return r.pointsFrom=t,r}r=e=t.Base||(t.Base={}),i=n=r.Context||(r.Context={}),t=o=i.Animation||(i.Animation={}),a=t.StiAnimation,__extends(s,a),Object.defineProperty(s.prototype,"type",{get:function(){return r.StiAnimationType.Points},enumerable:!1,configurable:!0}),i=s,t.StiPointsAnimation=i}(Stimulsoft=Stimulsoft||{}),function(t){var e,r,n,i,o,t,u;function a(t,e,r,n,i,o,a,s,l){var l=u.call(this,s,l)||this;return l.valueFrom=t,l.value=e,l.clientRect=i,l.rectLabelFrom=o,l.rectLabel=a,l.angleFrom=r,l.angle=n,l}r=e=t.Base||(t.Base={}),i=n=r.Context||(r.Context={}),t=o=i.Animation||(i.Animation={}),u=t.StiAnimation,__extends(a,u),Object.defineProperty(a.prototype,"type",{get:function(){return r.StiAnimationType.Translation},enumerable:!1,configurable:!0}),i=a,t.StiPieLabelAnimation=i}(Stimulsoft=Stimulsoft||{}),function(t){var e,r,n,i,o,t,a;function s(t,e,r,n,i){var i=a.call(this,n,i)||this;return i.rectFrom=t,i.startAngleFrom=e,i.sweepAngleFrom=r,i}r=e=t.Base||(t.Base={}),i=n=r.Context||(r.Context={}),t=o=i.Animation||(i.Animation={}),a=t.StiAnimation,__extends(s,a),Object.defineProperty(s.prototype,"type",{get:function(){return r.StiAnimationType.PieSegment},enumerable:!1,configurable:!0}),i=s,t.StiPieSegmentAnimation=i}(Stimulsoft=Stimulsoft||{}),function(t){var e,t,r,n,a;function i(t,e,r,n,i){var o=a.call(this)||this;return o.pen=t,o.x1=e,o.y1=r,o.x2=n,o.y2=i,o}t=e=t.Base||(t.Base={}),n=r=t.Context||(t.Context={}),a=n.StiGeom,__extends(i,a),i.prototype.saveToJsonObject=function(t){var e=a.prototype.saveToJsonObject.call(this,t);return e.addPropertyJObject("Pen",this.pen.saveToJsonObject(t)),e.addPropertyNumberNoDefaultValue("X1",this.x1),e.addPropertyNumberNoDefaultValue("Y1",this.y1),e.addPropertyNumberNoDefaultValue("X2",this.x2),e.addPropertyNumberNoDefaultValue("Y2",this.y2),e},Object.defineProperty(i.prototype,"type",{get:function(){return n.StiGeomType.Line},enumerable:!1,configurable:!0}),t=i,n.StiLineGeom=t}(Stimulsoft=Stimulsoft||{}),function(t){var e,t,r,n,i;function o(t,e){var r=i.call(this)||this;return r.pen=t,r.points=e,r}t=e=t.Base||(t.Base={}),n=r=t.Context||(t.Context={}),i=n.StiGeom,__extends(o,i),o.prototype.saveToJsonObject=function(t){var e=i.prototype.saveToJsonObject.call(this,t);return null!=this.pen&&e.addPropertyJObject("Pen",this.pen.saveToJsonObject(t)),e.addPropertyJObjectArray("Points",this.savePointDArrayToJsonObject(this.points)),e},Object.defineProperty(o.prototype,"type",{get:function(){return n.StiGeomType.Lines},enumerable:!1,configurable:!0}),t=o,n.StiLinesGeom=t}(Stimulsoft=Stimulsoft||{}),function(t){var e,r,n,i,o,a;function s(t,e){var r=a.call(this)||this;return r.rect=t,r.image=e,r}r=e=t.Base||(t.Base={}),i=n=r.Context||(r.Context={}),o=t.System.Convert,a=i.StiGeom,__extends(s,a),s.prototype.saveToJsonObject=function(t){var t=a.prototype.saveToJsonObject.call(this,t);return null!=this.image&&t.addPropertyString("CustomIcon",o.toBase64String(this.image)),t.addPropertyJObject("Rect",this.saveRectToJsonObject(this.rect)),t},Object.defineProperty(s.prototype,"type",{get:function(){return i.StiGeomType.Image},enumerable:!1,configurable:!0}),r=s,i.StiImageGeom=r}(Stimulsoft=Stimulsoft||{}),function(t){var e,r,n,i,o;function a(){this.isElements=!0,this.tag=null,this.tooltip=null,this.hyperlink=null,this.argument=null,this.originalArgument=null,this.value=0}r=e=t.Base||(t.Base={}),i=n=r.Context||(r.Context={}),o=t.Report.Chart.IStiAxisArea,a.prototype.fill=function(t,e,r){t.is(o)&&t.reverseHor?(this.pointIndex=e.values.length-r-1,this.series=e,0<=r&&r<e.arguments.length&&(this.argument=e.arguments[e.arguments.length-r-1]),null!=e.originalArguments&&0<=r&&r<e.originalArguments.length&&(this.originalArgument=e.originalArguments[e.originalArguments.length-r-1]),0<=r&&r<e.values.length&&(this.value=e.values[e.values.length-r-1]),0<=r&&r<e.tags.length&&(this.tag=e.tags[e.tags.length-r-1]),0<=r&&r<e.hyperlinks.length&&(this.hyperlink=e.hyperlinks[e.hyperlinks.length-r-1]),0<=r&&r<e.toolTips.length&&(this.tooltip=e.toolTips[e.toolTips.length-r-1])):(this.pointIndex=r,null!=(this.series=e).originalArguments&&0<=r&&r<e.originalArguments.length&&(this.originalArgument=e.originalArguments[r]),0<=r&&r<e.arguments.length&&(this.argument=e.arguments[r]),0<=r&&r<e.values.length&&(this.value=e.values[r]),0<=r&&r<e.tags.length&&(this.tag=e.tags[r]),0<=r&&r<e.hyperlinks.length&&(this.hyperlink=e.hyperlinks[r]),0<=r&&r<e.toolTips.length&&(this.tooltip=e.toolTips[r]))},r=a,i.StiSeriesInteractionData=r}(Stimulsoft=Stimulsoft||{}),function(t){var e,t,r,n,i;function o(){}t=e=t.Base||(t.Base={}),(n=r=t.Context||(t.Context={})).StiInteractionData=o}(Stimulsoft=Stimulsoft||{}),function(t){var e,r,n,t,i;function o(){return null!==i&&i.apply(this,arguments)||this}r=e=t.Base||(t.Base={}),t=n=r.Context||(r.Context={}),i=t.StiInteractionData,__extends(o,i),r=o,t.StiIndicatorInteractionData=r}(Stimulsoft=Stimulsoft||{}),function(C){var t,e,r,dt,n,i,o,a,gt,m,s,ft,St,yt,v,At,bt,Ct,vt,wt,Bt,It,Tt,Et,Rt,Dt,Pt,xt,Ft,Nt,kt,Mt,Ot,_t,jt,Gt,Ht,Qt,w,B,I,T,E,Lt,l,u,c,p,Yt,R,Ut,Jt,Wt,Vt,zt,Xt,Kt,Zt,qt,$t,te,ee,re,ne,ie,oe,ae,D,se,le,ue,h,ce,d,g;function f(){}e=t=C.Report||(C.Report={}),dt=r=e.Export||(e.Export={}),i=n=dt.Services||(dt.Services={}),e=o=i.Helpers||(i.Helpers={}),a=C.Base.Drawing.StiSolidBrush,gt=C.Base.Context.StiPushClipPathGeom,m=C.System.StiArray,s=C.Data.Extensions.ListExt,ft=C.System.Convert,St=C.Base.Context.StiImageGeom,yt=C.System.StiString,v=C.System.Text.Encoding,At=C.System.Drawing.Color,bt=C.System.Text.StringBuilder,Ct=C.System.Drawing.StringFormat,vt=C.Base.Drawing.StiRotationMode,wt=C.Base.Context.StiPushTranslateTransformGeom,Bt=C.Base.Context.StiPushRotateTransformGeom,It=C.Base.Context.StiClusteredBarSeriesAnimationGeom,Tt=C.Base.Context.StiPopTransformGeom,Et=C.Base.Context.StiBorderAnimationGeom,Rt=C.Base.Context.StiAnimationGeom,Dt=C.Base.Context.StiBorderGeom,Pt=C.Base.Context.StiLineGeom,xt=C.Base.Context.StiLinesGeom,Ft=C.Base.Context.Animation.StiOpacityAnimation,Nt=C.Base.Context.StiPushClipGeom,kt=C.Base.Context.StiPopClipGeom,Mt=C.Base.Context.StiCurveGeom,Ot=C.Base.Context.StiEllipseGeom,_t=C.Base.Context.StiCachedShadowGeom,jt=C.Base.Context.StiShadowGeom,Gt=C.Base.Context.StiTextGeom,Ht=C.Base.Context.StiPathGeom,Qt=C.Base.Context.StiPieSegmentGeom,w=C.Base.Context.StiArcSegmentGeom,B=C.Base.Context.StiLineSegmentGeom,I=C.Base.Context.StiLinesSegmentGeom,T=C.Base.Context.StiCurveSegmentGeom,E=C.Base.Context.StiCloseFigureSegmentGeom,Lt=C.Base.Drawing.StiPenStyle,l=C.Base.Drawing.StiGradientBrush,u=C.Base.Drawing.StiGlareBrush,c=C.Base.Drawing.StiHatchBrush,p=C.Base.Drawing.StiGlassBrush,Yt=C.Base.Drawing.StiBrush,R=C.Report.StiCurveHelper,Ut=C.System.Drawing.Font,Jt=C.Base.StiGuidUtils,Wt=C.System.Drawing.Size,Vt=C.System.TimeSpan,zt=C.System.Drawing.FontStyle,Xt=C.Base.Context.Animation.StiColumnAnimation,Kt=C.Base.Context.StiLabelAnimationGeom,Zt=C.Base.Context.StiShadowAnimationGeom,qt=C.Base.Context.StiPathAnimationGeom,$t=C.Base.Context.StiCurveAnimationGeom,te=C.Base.Context.StiClusteredColumnSeriesAnimationGeom,ee=C.Base.Context.StiEllipseAnimationGeom,re=C.Base.Context.StiLinesAnimationGeom,ne=C.Base.Context.StiPathElementAnimationGeom,ie=C.Base.Context.Animation.StiLabelAnimation,oe=C.Base.Context.Animation.StiPointsAnimation,ae=C.Base.Context.Animation.StiPieLabelAnimation,D=C.Base.Context.Animation.StiPieSegmentAnimation,se=C.System.Drawing.Rectangle,le=C.Base.StiAnimationType,ue=C.System.Drawing.Point,h=C.Base.Localization.StiLocalization,ce=C.System.Drawing.StringAlignment,d=C.Base.Context.StiSeriesInteractionData,g=C.Base.Context.StiIndicatorInteractionData,f.writeGeoms=function(t,e,r){var n,i,o,a,s,l,u="",c=0,p=!0;try{for(var h=__values(e.geoms),m=h.next();!m.done;m=h.next()){var d,g=(d=m.value).as(Rt);null!=g&&g.animation.duration.totalMilliseconds+(null!=g.animation.beginTime?g.animation.beginTime.totalMilliseconds:0)>c&&(c=g.animation.duration.totalMilliseconds+(null!=g.animation.beginTime?g.animation.beginTime.totalMilliseconds:0)),d.is(Zt)&&(p=!1)}}catch(t){n={error:t}}finally{try{m&&!m.done&&(i=h.return)&&i.call(h)}finally{if(n)throw n.error}}try{for(var f=__values(e.geoms),S=f.next(),d,y,A,b,C,v,w,B,I;!S.done;S=f.next()){if((d=S.value).is(wt)){this.listTransformGeom.push(d);var T=d.as(wt);t.writeStartElement("g"),isNaN(T.x)||(this.dx+=d.x),isNaN(T.y)||(this.dy+=d.y)}else if(d.is(Bt)){this.listTransformGeom.push(d);var E=d.as(Bt);t.writeStartElement("g"),t.writeAttributeString("transform",yt.format("rotate({0} {1} {2})",E.angle,this.dx,this.dy))}else if(d.is(Tt)){var T=this.listTransformGeom[this.listTransformGeom.length-1],E;T.is(wt)&&(E=T.as(wt),isNaN(E.x)||(this.dx-=E.x),isNaN(E.y)||(this.dy-=E.y)),this.listTransformGeom.stimulsoft.remove(T),t.writeEndElement()}else if(d.is(It)){var R,A=(R=d).columnRect.stimulsoft.as(se),D,P=null!=(D=null==R.animation?R.animation.stimulsoft.as(Xt):null)?D.rectFrom:se.empty,v=new bt,B;null!=R.background?v.append(this.writeFillBrush(t,R.background,A)):v.append("fill:none;"),this.checkPenGeom(R.borderPen)&&(B=yt.format("{0}",this.writeBorderStroke(t,R.borderPen.brush,A)),v.append(yt.format("{0};stroke-width:{1};",B,R.borderPen.thickness)));var x=A.width.toString().split(",").join(".");t.writeStartElement("rect"),yt.isNullOrEmpty(u)||t.writeAttributeString("clip-path",yt.format("url(#{0})",u)),t.writeAttributeString("y",(A.y+this.dy).toString().split(",").join(".")),t.writeAttributeString("height",A.height.toString().split(",").join(".")),t.writeAttributeString("shape-rendering","crispEdges"),r?R.value<0?0==P.width?(t.writeAttributeString("x",this.p(A.x+this.dx)),t.writeAttributeString("width","0"),this.addAnimation(t,'[["width", 0, '+x+',""]]',R.animation.beginTime,R.animation.duration)):(t.writeAttributeString("width",this.p(P.width)),D.valueFrom<=0?(t.writeAttributeString("x",this.p(P.x+this.dx)),this.addAnimation(t,'[["width", '+this.p(P.width)+", "+x+',""]]',R.animation.beginTime,R.animation.duration)):(t.writeAttributeString("x",this.p(P.x+this.dx)),this.addAnimation(t,'[["width", '+this.p(P.width)+', 0, ""], ["x",'+this.p(P.x+this.dx)+", "+this.p(P.width+P.x+this.dx)+', ""]]',R.animation.beginTime,R.animation.duration.add(-Vt.fromMilliseconds(R.animation.duration.totalMilliseconds/2))),this.addAnimation(t,'[["width", 0, '+x+', ""]]',R.animation.beginTime.add2(Vt.fromMilliseconds(R.animation.duration.totalMilliseconds/2)),R.animation.duration.add(-Vt.fromMilliseconds(R.animation.duration.totalMilliseconds/2)),"1"))):0==P.width?(t.writeAttributeString("x",this.p(A.width+A.x+this.dx)),t.writeAttributeString("width","0"),this.addAnimation(t,'[["width", 0, '+x+', ""], ["x",'+this.p(A.width+A.x+this.dx)+", "+this.p(A.x+this.dx)+', ""]]',R.animation.beginTime,R.animation.duration)):(t.writeAttributeString("x",this.p(P.x+this.dx)),t.writeAttributeString("width",this.p(P.width)),D.valueFrom<=0?(this.addAnimation(t,'[["width",'+this.p(P.width)+', 0,""]]',R.animation.beginTime,R.animation.duration.add(-Vt.fromMilliseconds(R.animation.duration.totalMilliseconds/2))),this.addAnimation(t,'[["width", 0, '+this.p(A.width)+', ""], ["x",'+this.p(A.width+A.x+this.dx)+", "+this.p(A.x+this.dx)+', ""]]',R.animation.beginTime.add2(Vt.fromMilliseconds(R.animation.duration.totalMilliseconds/2)),R.animation.duration.add(-Vt.fromMilliseconds(R.animation.duration.totalMilliseconds/2)),"1")):this.addAnimation(t,'[["width", '+this.p(P.width)+", "+x+', ""], ["x",'+this.p(P.x+this.dx)+", "+this.p(A.x+this.dx)+', ""]]',R.animation.beginTime,R.animation.duration)):(t.writeAttributeString("width",x),t.writeAttributeString("x",this.p(A.x+this.dx))),this.writeInteraction(t,R.interaction),t.writeAttributeString("style",v.toString()),null==R.toolTip||yt.isNullOrEmpty(R.toolTip.toString())||this.writeTooltip(t,R.toolTip.toString()),t.writeEndElement()}else if(d.is(Kt)){var b,x=null!=(b=d).animation?b.animation.stimulsoft.as(ie):null,F=null!=b.animation?b.animation.stimulsoft.as(ae):null,A=b.rectangle.clone();A=this.correctRectLabel(b.rotationMode,A);var v=new bt,B;null!=b.labelBrush?v.append(this.writeFillBrush(t,b.labelBrush,A)):v.append("fill:none;"),b.drawBorder&&this.checkPenGeom(b.penBorder)&&(B=yt.format("{0}",this.writeBorderStroke(t,b.penBorder.brush,A)),v.append(yt.format("{0};stroke-width:{1};",B,b.penBorder.thickness))),t.writeStartElement("rect"),t.writeAttributeString("transform",yt.format("translate({0}, {1}) rotate({2} {3},{4})",null!=x?this.p(x.LabelRect.x+this.dx):null!=F?this.p(F.rectLabelFrom.x+this.dx):this.p(A.x+this.dx),null!=x?this.p(x.LabelRect.y+this.dy):null!=F?this.p(F.rectLabelFrom.y+this.dy):this.p(A.y+this.dy),this.p(b.angle),this.p(A.width/2),this.p(A.height/2))),t.writeAttributeString("width",A.width.toString().split(",").join(".")),t.writeAttributeString("height",A.height.toString().split(",").join(".")),t.writeAttributeString("style",v.toString()),t.writeAttributeString("shape-rendering","crispEdges"),t.writeAttributeString("opacity",null!=x||null!=F?"1":"0"),t.writeAttributeString("fill","rgba(0,0,0,0)"),null!=x?this.addAnimation(t,'[["x", '+this.p(x.LabelRect.x+this.dx)+", "+this.p(A.x+this.dx)+', ""],'+'["y", '+this.p(x.LabelRect.y+this.dy)+", "+this.p(A.y+this.dy)+', ""]]',x.beginTime,x.duration):null!=F?this.addAnimation(t,'[["x", '+this.p(F.rectLabelFrom.x+this.dx)+", "+this.p(A.x+this.dx)+', ""],'+'["y", '+this.p(F.rectLabelFrom.y+this.dy)+", "+this.p(A.y+this.dy)+', ""]]',F.beginTime,F.duration):this.addAnimation(t,'[["opacity", 0, 1, ""]]',Vt.fromMilliseconds(c),Vt.fromMilliseconds(500)),t.writeEndElement();var N=new Ut(b.font.fontName,b.font.fontSize,b.font.fontStyle,b.font.unit),k;(k=new Ct).alignment=b.stringFormat.alignment,k.formatFlags=b.stringFormat.formatFlags,k.hotkeyPrefix=b.stringFormat.hotkeyPrefix,k.lineAlignment=b.stringFormat.lineAlignment,k.trimming=b.stringFormat.trimming,v=new bt;var M=4*N.size/3;switch(t.writeStartElement("text"),b.rotationMode){case vt.LeftCenter:t.writeAttributeString("dy","0.35em");break;case vt.LeftBottom:break;case vt.CenterTop:v.appendFormat("text-anchor:{0};","middle"),t.writeAttributeString("dy","1em");break;case vt.CenterCenter:v.appendFormat("text-anchor:{0};","middle"),t.writeAttributeString("dy","0.35em");break;case vt.CenterBottom:v.appendFormat("text-anchor:{0};","middle");break;case vt.RightTop:v.appendFormat("text-anchor:{0};","end"),t.writeAttributeString("dy","1em");break;case vt.RightCenter:v.appendFormat("text-anchor:{0};","end"),t.writeAttributeString("dy","0.35em");break;case vt.RightBottom:v.appendFormat("text-anchor:{0};","end");break;default:t.writeAttributeString("dy","1em");break}t.writeAttributeString("transform",yt.format("translate({0}, {1}) rotate({2} 0,0)",null!=x?this.p(this.rectToCenterPoint(x.LabelRect).x+this.dx):null!=F?this.p(this.rectToCenterPoint(F.rectLabelFrom).x+this.dx):this.p(this.rectToCenterPoint(A).x+this.dx),null!=x?this.p(this.rectToCenterPoint(x.LabelRect).y+this.dy):null!=F?this.p(this.rectToCenterPoint(F.rectLabelFrom).y+this.dy):this.p(this.rectToCenterPoint(A).y+this.dy),this.p(b.angle))),t.writeAttributeString("font-size",M.toString().split(",").join(".")),t.writeAttributeString("font-family",N.fontFamily.name);var O=Yt.toColor(b.textBrush.as(Yt)),_,j,_,j;v.append(yt.format("fill:#{0:X2}{1:X2}{2:X2};",O.r,O.g,O.b)),255!=O.a&&v.append(yt.format("fill-opacity:{0}",Math.round2(O.a/255,3).toString().split(",").join("."))),t.writeAttributeString("style",v.toString()),t.writeAttributeString("opacity",null!=x||null!=F?"1":"0"),null!=x?(this.addAnimation(t,yt.format('[["translate","'+this.p(x.LabelRect.x+this.dx)+":"+this.p(x.LabelRect.y+this.dy)+'","'+this.p(A.x+this.dx)+":"+this.p(A.y+this.dy)+'"," rotate({0} 0, 0)"]]',this.p(b.angle)),x.beginTime,x.duration),null!=x.valueFrom&&null!=x.value&&(j=_=x.valueFrom-x.value,this.addAnimation(t,'[["value", '+this.p(x.valueFrom)+", "+this.p(x.value)+', "'+j.toString()+'"]]',x.beginTime,x.duration,"a1"))):null!=F?(this.addAnimation(t,yt.format('[["translate","'+this.p(F.rectLabelFrom.x+this.dx)+":"+this.p(F.rectLabelFrom.y+this.dy)+'","'+this.p(A.x+this.dx)+":"+this.p(A.y+this.dy)+'"," rotate({0} 0, 0)"]]',this.p(b.angle)),F.beginTime,F.duration),null!=F.valueFrom&&null!=F.value&&(j=_=F.valueFrom-F.value,this.addAnimation(t,'[["value", '+this.p(F.valueFrom)+", "+this.p(F.value)+', "'+j.toString()+'"]]',F.beginTime,F.duration,"a1"))):this.addAnimation(t,'[["opacity", 0, 1, ""]]',Vt.fromMilliseconds(c),Vt.fromMilliseconds(500)),null!=x&&null!=x.valueFrom?t.writeString(this.p(x.valueFrom)):null!=F&&null!=F.valueFrom?t.writeString(this.p(F.valueFrom)):t.writeString(b.text),t.writeEndElement()}else if(d.is(Nt)){var G,A=(G=d).clipRectangle,H="s"+Jt.newGuid();t.writeStartElement("defs"),t.writeStartElement("clipPath"),t.writeAttributeString("id",H),t.writeStartElement("rect"),t.writeAttributeString("x",(A.x+this.dx).toString().split(",").join(".")),t.writeAttributeString("y",(A.y+this.dy).toString().split(",").join(".")),t.writeAttributeString("width",A.width.toString().split(",").join(".")),t.writeAttributeString("height",A.height.toString().split(",").join(".")),t.writeEndElement(),t.writeEndElement(),t.writeEndElement(),u=H}else if(d.is(gt)){var G=d,Q={ref:null},L={ref:null},I=this.getPathData(G.geoms,this.dx,this.dy,Q,L),H="s"+Jt.newGuid();t.writeStartElement("defs"),t.writeStartElement("clipPath"),t.writeAttributeString("id",H),t.writeStartElement("path"),t.writeAttributeString("d",I),t.writeEndElement(),t.writeEndElement(),t.writeEndElement(),u=H}else if(d.is(kt))u="";else if(d.is(Zt)){var y,A=(y=d.as(Zt)).rect,H="s"+Jt.newGuid();t.writeStartElement("defs"),t.writeStartElement("filter"),t.writeAttributeString("id",H),t.writeAttributeString("x","0"),t.writeAttributeString("y","0"),t.writeAttributeString("width","200%"),t.writeAttributeString("height","200%"),t.writeStartElement("feOffset"),t.writeAttributeString("result","offOut"),t.writeAttributeString("in","SourceGraphic"),t.writeAttributeString("dx","1.111111111111111"),t.writeAttributeString("dy","1.111111111111111"),t.writeEndElement(),t.writeStartElement("feColorMatrix"),t.writeAttributeString("result","matrixOut"),t.writeAttributeString("in","offOut"),t.writeAttributeString("type","matrix"),t.writeAttributeString("values","0.58 0 0 0 0 0 0.58 0 0 0 0 0 0.58 0 0 0 0 0 1 0"),t.writeEndElement(),t.writeStartElement("feGaussianBlur"),t.writeAttributeString("result","blurOut"),t.writeAttributeString("in","matrixOut"),t.writeAttributeString("stdDeviation","1.111111111111111"),t.writeEndElement(),t.writeStartElement("feBlend"),t.writeAttributeString("mode","normal"),t.writeAttributeString("in","SourceGraphic"),t.writeAttributeString("in2","blurOut"),t.writeEndElement(),t.writeEndElement(),t.writeEndElement(),t.writeStartElement("rect"),yt.isNullOrEmpty(u)||t.writeAttributeString("clip-path",yt.format("url(#{0})",u)),t.writeAttributeString("x",(A.x+this.dx).toString().split(",").join(".")),t.writeAttributeString("y",(A.y+this.dy).toString().split(",").join(".")),t.writeAttributeString("height",A.height.toString().split(",").join(".")),t.writeAttributeString("width",A.width.toString().split(",").join(".")),t.writeAttributeString("fill","rgb(150,150,150)"),t.writeAttributeString("filter",yt.format("url(#{0})",H)),t.writeAttributeString("rx",y.radiusX.toString().split(",").join(".")),t.writeAttributeString("ry",y.radiusY.toString().split(",").join(".")),r&&(t.writeAttributeString("opacity","0"),this.addAnimation(t,'[["opacity", 0, 1, ""]]',y.animation.beginTime,y.animation.duration)),t.writeEndElement()}else if(d.is(Et)){var R,A=(R=d).rect.stimulsoft.as(se),F=new Ft(R.animation.duration,R.animation.beginTime),v=new bt,B;null!=R.background?v.append(this.writeFillBrush(t,R.background,A)):v.append("fill:none;"),this.checkPenGeom(R.borderPen)&&(B=yt.format("{0}",this.writeBorderStroke(t,R.borderPen.brush,A)),v.append(yt.format("{0};stroke-width:{1};",B,R.borderPen.thickness))),t.writeStartElement("rect"),yt.isNullOrEmpty(u)||t.writeAttributeString("clip-path",yt.format("url(#{0})",u)),t.writeAttributeString("x",(A.x+this.dx).toString().replace(",",".")),t.writeAttributeString("y",(A.y+this.dy).toString().replace(",",".")),t.writeAttributeString("width",A.width.toString().replace(",",".")),t.writeAttributeString("height",A.height.toString().replace(",",".")),t.writeAttributeString("style",v.toString()),t.writeAttributeString("shape-rendering","crispEdges"),null!=F&&(t.writeAttributeString("opacity","0"),this.addAnimation(t,'[["opacity", 0 , 1,""]]',F.beginTime,F.duration)),this.writeInteraction(t,R.interaction),null==R.toolTip||yt.isNullOrEmpty(R.toolTip.toString())||this.writeTooltip(t,R.toolTip.toString()),t.writeEndElement()}else if(d.is(te)){var R,A=(R=d.as(te)).columnRect.stimulsoft.as(se),D,P=null!=(D=null!=R.animation?R.animation.stimulsoft.as(Xt):null)?D.rectFrom:se.empty,v=new bt,B;null!=R.background?v.append(this.writeFillBrush(t,R.background,A)):v.append("fill:none;"),this.checkPenGeom(R.borderPen)&&(B=yt.format("{0}",this.writeBorderStroke(t,R.borderPen.brush,A)),v.append(yt.format("{0};stroke-width:{1};",B,R.borderPen.thickness)));var Y=A.height.toString().split(",").join(".");t.writeStartElement("rect"),yt.isNullOrEmpty(u)||t.writeAttributeString("clip-path",yt.format("url(#{0})",u)),t.writeAttributeString("shape-rendering","crispEdges"),t.writeAttributeString("width",this.p(A.width)),t.writeAttributeString("x",this.p(A.x+this.dx)),r?0<R.value?0==P.height?(t.writeAttributeString("y",this.p(A.height+A.y+this.dy)),t.writeAttributeString("y","0"),this.addAnimation(t,'[["height", 0, '+Y+', ""], ["y",'+this.p(A.height+A.y+this.dy)+", "+this.p(A.y+this.dy)+', ""]]',R.animation.beginTime,R.animation.duration)):(t.writeAttributeString("y",this.p(P.y+this.dy)),t.writeAttributeString("height",this.p(P.height)),0<=D.valueFrom?this.addAnimation(t,'[["height", '+this.p(P.height)+", "+Y+', ""], ["y",'+this.p(P.y+this.dy)+", "+this.p(A.y+this.dy)+', ""]]',R.animation.beginTime,R.animation.duration):(this.addAnimation(t,'[["height",'+this.p(P.height)+', 0,""]]',R.animation.beginTime,R.animation.duration.add(-Vt.fromMilliseconds(R.animation.duration.totalMilliseconds/2))),this.addAnimation(t,'[["height", 0, '+this.p(A.height)+', ""], ["y",'+this.p(A.height+A.y+this.dy)+", "+this.p(A.y+this.dy)+', ""]]',R.animation.beginTime.add2(Vt.fromMilliseconds(R.animation.duration.totalMilliseconds/2)),R.animation.duration.add(-Vt.fromMilliseconds(R.animation.duration.totalMilliseconds/2)),"1"))):0==P.height?(t.writeAttributeString("y",this.p(A.y+this.dy)),t.writeAttributeString("y","0"),this.addAnimation(t,'[["height", 0, '+Y+',""]]',R.animation.beginTime,R.animation.duration)):(t.writeAttributeString("height",this.p(P.height)),0<=D.valueFrom?(t.writeAttributeString("y",this.p(P.y+this.dy)),this.addAnimation(t,'[["height", '+this.p(P.height)+', 0, ""], ["y",'+this.p(P.y+this.dy)+", "+this.p(P.height+P.y+this.dy)+', ""]]',R.animation.beginTime,R.animation.duration.add(-Vt.fromMilliseconds(R.animation.duration.totalMilliseconds/2))),this.addAnimation(t,'[["height", 0, '+Y+', ""]]',R.animation.beginTime.add2(Vt.fromMilliseconds(R.animation.duration.totalMilliseconds/2)),R.animation.duration.add(-Vt.fromMilliseconds(R.animation.duration.totalMilliseconds/2)),"1")):(t.writeAttributeString("y",this.p(P.y+this.dy)),this.addAnimation(t,'[["height", '+this.p(P.height)+", "+Y+',""]]',R.animation.beginTime,R.animation.duration))):(t.writeAttributeString("height",this.p(A.height)),t.writeAttributeString("y",this.p(A.y+this.dy))),this.writeInteraction(t,R.interaction),t.writeAttributeString("style",v.toString()),null==R.toolTip||yt.isNullOrEmpty(R.toolTip.toString())||this.writeTooltip(t,R.toolTip.toString()),t.writeEndElement()}else if(d.is(re)){var U=d.as(re);if(this.checkPenGeom(U.pen)){var H="g"+Jt.newGuid(),J;U.animation.type==le.Translation&&(J=U.pen.brush.stimulsoft.as(At),t.writeStartElement("g"),t.writeStartElement("defs"),t.writeStartElement("linearGradient"),t.writeAttributeString("id",H),t.writeAttributeString("x1","0%"),t.writeAttributeString("y1","0%"),t.writeAttributeString("x2","100%"),t.writeAttributeString("y2","0%"),t.writeStartElement("stop"),t.writeAttributeString("offset","0%"),t.writeAttributeString("stop-color",yt.format("rgba({0},{1},{2},{3})",J.r,J.g,J.b,Math.round2(J.a/255,3).toString().split(",").join("."))),t.writeAttributeString("stop-opacity","1"),t.writeAttributeString("style","x: 0px;"),this.addAnimation(t,'[["offset", 0 , 100,"%"]]',U.animation.beginTime,U.animation.duration),t.writeEndElement(),t.writeStartElement("stop"),t.writeAttributeString("offset","0%"),t.writeAttributeString("stop-color","transparent"),t.writeAttributeString("stop-opacity","0"),t.writeAttributeString("style","x: 00px;"),t.writeEndElement(),t.writeEndElement(),t.writeEndElement(),t.writeEndElement());var W=null!=U.animation?U.animation.stimulsoft.as(oe):null;t.writeStartElement("polyline"),yt.isNullOrEmpty(u)||t.writeAttributeString("clip-path",yt.format("url(#{0})",u));for(var V=new bt,z=new bt,X=0,B,v;U.points.length>X;X++){var K=U.points[X],Z=0;X==U.points.length-1&&(Z=1e-4*X),null==W?V.appendFormat("{0},{1} ",this.p(K.x+this.dx),this.p(K.y+this.dy+Z)):(V.appendFormat("{0},{1} ",this.p(W.pointsFrom[X].x+this.dx),this.p(W.pointsFrom[X].y+this.dy+Z)),z.appendFormat("{0},{1} ",this.p(K.x+this.dx),this.p(K.y+this.dy+Z)))}t.writeAttributeString("fill","none"),t.writeAttributeString("points",V.toString()),U.animation.type==le.Opacity||null!=W?(B=yt.format("{0}",this.writeBorderStroke(t,U.pen.brush,new se)),(v=new bt).appendFormat("{0};stroke-width:{1};",B,this.p(U.pen.thickness)),t.writeAttributeString("style",v.toString()),null==W?(t.writeAttributeString("opacity","0"),this.addAnimation(t,'[["opacity", 0 , 1,""]]',U.animation.beginTime,U.animation.duration)):this.addAnimation(t,'[["points", "'+V.toString()+'", "'+z.toString()+'",""]]',U.animation.beginTime,U.animation.duration)):U.animation.type==le.Translation&&(t.writeAttributeString("stroke-width",U.pen.thickness.toString().split(",").join(".")),t.writeAttributeString("stroke",yt.format("url(#{0})",H))),U.pen.penStyle!=Lt.Solid&&t.writeAttributeString("stroke-dasharray",dt.StiSvgHelper.getLineStyleDash(U.pen.penStyle,U.pen.thickness)),t.writeEndElement()}}else if(d.is(ee)){var q,A=(q=d.as(ee)).rect.stimulsoft.as(se),v="",w="",B;v=null!=q.background?this.writeFillBrush(t,q.background,A):"fill:none;",this.checkPenGeom(q.borderPen)&&(B=yt.format("{0}",this.writeBorderStroke(t,q.borderPen.brush,A)),v+=yt.format("{0};stroke-width:{1};",B,q.borderPen.thickness.toString().split(",").join("."))),t.writeStartElement("ellipse"),t.writeAttributeString("rx",(A.width/2).toString().split(",").join(".")),t.writeAttributeString("ry",(A.height/2).toString().split(",").join(".")),q.animation.type!=le.Scale&&(t.writeAttributeString("cx",(A.x+this.dx+A.width/2).toString().split(",").join(".")),t.writeAttributeString("cy",(A.y+this.dy+A.height/2).toString().split(",").join("."))),t.writeAttributeString("style",v),q.animation.type==le.Opacity?(t.writeAttributeString("opacity","0"),this.addAnimation(t,'[["opacity", 0 , 1,""]]',q.animation.beginTime,q.animation.duration)):q.animation.type==le.Scale&&(t.writeAttributeString("transform","scale(0)"),this.addAnimation(t,yt.format('[["transform", 0 , 1,")","translate({0},{1}) scale("]]',(A.x+this.dx+A.width/2).toString().split(",").join("."),(A.y+this.dy+A.height/2).toString().split(",").join(".")),q.animation.beginTime,q.animation.duration)),this.writeInteraction(t,q.interaction),null==q.toolTip||yt.isNullOrEmpty(q.toolTip.toString())||this.writeTooltip(t,q.toolTip.toString()),t.writeEndElement()}else if(d.is(ne)){var C,A=(C=d.as(ne)).rect,v="",w="",B;v=null!=C.background?this.writeFillBrush(t,C.background,A):"fill:none;",this.checkPenGeom(C.borderPen)&&(B=yt.format("{0}",this.writeBorderStroke(t,C.borderPen.brush,A)),v+=yt.format("{0};stroke-width:{1};",B,C.borderPen.thickness.toString().split(",").join(".")));var Q={ref:null},L={ref:null},I=this.getPathData(C.pathGeoms,this.dx,this.dy,Q,L);t.writeStartElement("path"),yt.isNullOrEmpty(u)||t.writeAttributeString("clip-path",yt.format("url(#{0})",u)),t.writeAttributeString("d",I),t.writeAttributeString("style",v),0==Q.ref.length?null!=C.animation&&(t.writeAttributeString("opacity","0"),this.addAnimation(t,'[["opacity", 0 , 1,""]]',C.animation.beginTime,C.animation.duration)):1==C.pathGeoms.length&&C.pathGeoms[0].is(Qt)?this.addAnimation(t,'[["pie", "'+Q.ref.toString()+'", 1,""]]',Vt.fromMilliseconds(0),L.ref):this.addAnimation(t,'[["path", "'+Q.ref.toString()+'", 1,""]]',Vt.fromMilliseconds(0),L.ref),this.writeInteraction(t,C.interaction),null==C.toolTip||yt.isNullOrEmpty(C.toolTip.toString())||this.writeTooltip(t,C.toolTip.toString()),t.writeEndElement()}else if(d.is(qt)){var C,A=(C=d.as(qt)).rect,v="",w="",B;v=null!=C.background?this.writeFillBrush(t,C.background,A):"fill:none;",this.checkPenGeom(C.pen)&&(B=yt.format("{0}",this.writeBorderStroke(t,C.pen.brush,A)),v+=yt.format("{0};stroke-width:{1};",B,C.pen.thickness.toString().split(",").join(".")));var Q={ref:null},L={ref:null},I=this.getPathData(C.geoms,this.dx,this.dy,Q,L);t.writeStartElement("path"),yt.isNullOrEmpty(u)||t.writeAttributeString("clip-path",yt.format("url(#{0})",u)),t.writeAttributeString("d",I),t.writeAttributeString("style",v),null!=C.animation?(t.writeAttributeString("opacity","0"),this.addAnimation(t,'[["opacity", 0 , 1,""]]',C.animation.beginTime,C.animation.duration)):0!=Q.ref.length&&this.addAnimation(t,'[["path", "'+Q.ref.toString()+'", 1,""]]',Vt.fromMilliseconds(0),L.ref),this.writeInteraction(t,C.interaction),t.writeEndElement()}else if(d.is($t)){var $,W=null!=($=d.as($t)).animation?$.animation.stimulsoft.as(oe):null;if(this.checkPenGeom($.pen)){var H="g"+Jt.newGuid(),J=$.pen.brush.stimulsoft.as(At);t.writeStartElement("g"),t.writeStartElement("defs"),t.writeStartElement("linearGradient"),t.writeAttributeString("id",H),t.writeAttributeString("x1","0%"),t.writeAttributeString("y1","0%"),t.writeAttributeString("x2","100%"),t.writeAttributeString("y2","0%"),t.writeStartElement("stop"),t.writeAttributeString("offset","0%"),t.writeAttributeString("stop-color",yt.format("rgba({0},{1},{2},{3})",J.r,J.g,J.b,Math.round2(J.a/255,3).toString().split(",").join("."))),t.writeAttributeString("stop-opacity","1"),t.writeAttributeString("style","x: 0px;"),null==W&&this.addAnimation(t,'[["offset", 0 , 100,"%"]]',$.animation.beginTime,$.animation.duration),t.writeEndElement(),null==W&&(t.writeStartElement("stop"),t.writeAttributeString("offset","0%"),t.writeAttributeString("stop-color","transparent"),t.writeAttributeString("stop-opacity","0"),t.writeAttributeString("style","x: 0px;"),t.writeEndElement()),t.writeEndElement(),t.writeEndElement(),t.writeEndElement(),t.writeStartElement("path"),yt.isNullOrEmpty(u)||t.writeAttributeString("clip-path",yt.format("url(#{0})",u));var tt=this.convertSplineToCubicBezier($.points,$.tension),et;if(null!=W){var Q=new bt,rt=this.convertSplineToCubicBezier(W.pointsFrom,$.tension);Q.appendFormat("M{0}:{1},{2}:{3} C",this.p(rt[0].x+this.dx),this.p(tt[0].x+this.dx),this.p(rt[0].y+this.dy),this.p(tt[0].y+this.dy));for(var nt=1,et;nt<tt.length;nt++)Q.appendFormat("{0}:{1},{2}:{3} ",this.p(rt[nt].x+this.dx),this.p(tt[nt].x+this.dx),this.p(rt[nt].y+this.dy),this.p(tt[nt].y+this.dy+1e-4*nt));this.addAnimation(t,'[["path", "'+Q.toString()+'", 1,""]]',Vt.fromMilliseconds(0),Vt.fromSeconds(1)),(et=new bt).appendFormat("M{0},{1} C",(rt[0].x+this.dx).toString().split(",").join("."),(rt[0].y+this.dy).toString().split(",").join("."));for(var nt=1;nt<rt.length;nt++)et.appendFormat("{0},{1} ",(rt[nt].x+this.dx).toString().split(",").join("."),(rt[nt].y+this.dy+1e-4*nt).toString().split(",").join("."));t.writeAttributeString("d",et.toString())}else{(et=new bt).appendFormat("M{0},{1} C",(tt[0].x+this.dx).toString().split(",").join("."),(tt[0].y+this.dy).toString().split(",").join("."));for(var nt=1;nt<tt.length;nt++)et.appendFormat("{0},{1} ",(tt[nt].x+this.dx).toString().split(",").join("."),(tt[nt].y+this.dy+1e-4*nt).toString().split(",").join("."));t.writeAttributeString("d",et.toString())}t.writeAttributeString("fill","none"),t.writeAttributeString("stroke-width",$.pen.thickness.toString().split(",").join(".")),t.writeAttributeString("stroke",yt.format("url(#{0})",H)),$.pen.penStyle!=Lt.Solid&&t.writeAttributeString("stroke-dasharray",dt.StiSvgHelper.getLineStyleDash($.pen.penStyle,$.pen.thickness)),t.writeEndElement()}}else if(d.is(St)){var Y=d.as(St);null!=Y.image&&(t.writeStartElement("image"),t.writeAttributeString("x",Y.rect.x.toString().split(",").join(".")),t.writeAttributeString("y",Y.rect.y.toString().split(",").join(".")),t.writeAttributeString("width",Y.rect.width.toString().split(",").join(".")),t.writeAttributeString("height",Y.rect.height.toString().split(",").join(".")),t.writeStartAttribute(null,"xlink:href",null),t.writeString("data:image/jpg;base64,"),t.writeRaw("\r\n"),t.writeString(ft.toBase64String(Y.image)),t.writeEndAttribute(),t.writeEndElement())}else if(d.is(Dt)){var R,A=(R=d.as(Dt)).rect.stimulsoft.as(se),v,B;(v=new bt).append(this.writeFillBrush(t,R.background,A)),this.checkPenGeom(R.borderPen)&&v.append("fill:none;"),this.checkPenGeom(R.borderPen)&&(B=yt.format("{0}",this.writeBorderStroke(t,R.borderPen.brush,A)),v.append(yt.format("{0}stroke-width:{1};",B,R.borderPen.thickness))),t.writeStartElement("rect"),null!=R.backgroundMouseOver&&this.writeFillBrushMouserOver(t,R.background,R.backgroundMouseOver,A),yt.isNullOrEmpty(u)||t.writeAttributeString("clip-path",yt.format("url(#{0})",u)),t.writeAttributeString("x",(A.x+this.dx).toString()),t.writeAttributeString("y",(A.y+this.dy).toString()),t.writeAttributeString("width",A.width.toString()),t.writeAttributeString("height",A.height.toString()),t.writeAttributeString("style",v.toString()),t.writeAttributeString("shape-rendering","crispEdges"),this.writeInteraction(t,R.interaction),t.writeEndElement()}else if(d.is(Pt)){var it=d.as(Pt),B,v;this.checkPenGeom(it.pen)&&(t.writeStartElement("line"),yt.isNullOrEmpty(u)||t.writeAttributeString("clip-path",yt.format("url(#{0})",u)),t.writeAttributeString("x1",(it.x1+this.dx).toString()),t.writeAttributeString("y1",(it.y1+this.dy).toString()),t.writeAttributeString("x2",(it.x2+this.dx).toString()),t.writeAttributeString("y2",(it.y2+this.dy).toString()),B=yt.format("{0}",this.writeBorderStroke(t,it.pen.brush,new se)),v=yt.format("{0}stroke-width:{1};",B,it.pen.thickness),t.writeAttributeString("style",v),it.pen.penStyle!=Lt.Solid&&t.writeAttributeString("stroke-dasharray",dt.StiSvgHelper.getLineStyleDash(it.pen.penStyle,it.pen.thickness)),t.writeEndElement())}else if(d.is(xt)){var U=d.as(xt);if(this.checkPenGeom(U.pen)){t.writeStartElement("polyline"),yt.isNullOrEmpty(u)||t.writeAttributeString("clip-path",yt.format("url(#{0})",u));for(var V=new bt,ot=0;ot<U.points.length;ot++){var K=U.points[ot];V.appendFormat("{0},{1} ",(K.x+this.dx).toString(),(K.y+this.dy+1e-4*ot).toString())}t.writeAttributeString("fill","none"),t.writeAttributeString("points",V.toString());var B=yt.format("{0}",this.writeBorderStroke(t,U.pen.brush,new se)),v;(v=new bt).appendFormat("{0}stroke-width:{1};",B,U.pen.thickness),t.writeAttributeString("style",v.toString()),U.pen.penStyle!=Lt.Solid&&t.writeAttributeString("stroke-dasharray",dt.StiSvgHelper.getLineStyleDash(U.pen.penStyle,U.pen.thickness)),t.writeEndElement()}}else if(d.is(Mt)){var $=d.as(Mt);if(this.checkPenGeom($.pen)){t.writeStartElement("path"),yt.isNullOrEmpty(u)||t.writeAttributeString("clip-path",yt.format("url(#{0})",u));var tt=this.convertSplineToCubicBezier($.points,$.tension),et;(et=new bt).appendFormat("M{0},{1} C",tt[0].x+this.dx,tt[0].y+this.dy);for(var nt=1;nt<tt.length;nt++)et.appendFormat("{0},{1} ",tt[nt].x+this.dx,tt[nt].y+this.dy);t.writeAttributeString("d",et.toString()),t.writeAttributeString("fill","none");var B=yt.format("{0}",this.writeBorderStroke(t,$.pen.brush,new se)),v=yt.format("{0}stroke-width:{1};",B,$.pen.thickness);t.writeAttributeString("style",v),$.pen.penStyle!=Lt.Solid&&t.writeAttributeString("stroke-dasharray",dt.StiSvgHelper.getLineStyleDash($.pen.penStyle,$.pen.thickness)),t.writeEndElement()}}else if(d.is(Ot)){var q,A=(q=d.as(Ot)).rect.stimulsoft.as(se),v="",B;v=null!=q.background?this.writeFillBrush(t,q.background,A):"fill-opacity:0;",this.checkPenGeom(q.borderPen)&&(B=yt.format("{0}",this.writeBorderStroke(t,q.borderPen.brush,A)),v+=yt.format("{0}stroke-width:{1};",B,q.borderPen.thickness)),t.writeStartElement("ellipse"),yt.isNullOrEmpty(u)||t.writeAttributeString("clip-path",yt.format("url(#{0})",u)),t.writeAttributeString("cx",(A.x+this.dx+A.width/2).toString()),t.writeAttributeString("cy",(A.y+this.dy+A.height/2).toString()),t.writeAttributeString("rx",(A.width/2).toString()),t.writeAttributeString("ry",(A.height/2).toString()),t.writeAttributeString("style",v),this.writeInteraction(t,q.interaction),this.writeTooltip(t,q.toolTip),t.writeEndElement()}else if(d.is(_t)&&p){(A=(y=d.as(_t)).rect).x+=2,A.y+=2;var H="s"+Jt.newGuid();t.writeStartElement("defs"),t.writeStartElement("filter"),t.writeAttributeString("id",H),t.writeStartElement("feGaussianBlur"),t.writeAttributeString("in","SourceGraphic"),t.writeAttributeString("stdDeviation","2"),t.writeEndElement(),t.writeEndElement(),t.writeEndElement(),t.writeStartElement("rect"),t.writeAttributeString("x",(A.x+this.dx).toString().split(",").join(".")),t.writeAttributeString("y",(A.y+this.dy).toString().split(",").join(".")),t.writeAttributeString("width",A.width.toString().split(",").join(".")),t.writeAttributeString("height",A.height.toString().split(",").join(".")),t.writeAttributeString("fill","rgba(190,190,190,10)"),t.writeAttributeString("filter","url(#"+H+")"),t.writeEndElement()}else if(d.is(jt)){var y=d.as(jt),H="s"+Jt.newGuid();t.writeStartElement("defs"),t.writeStartElement("filter"),t.writeAttributeString("id",H),t.writeAttributeString("x","0"),t.writeAttributeString("y","0"),t.writeAttributeString("width","200%"),t.writeAttributeString("height","200%"),t.writeStartElement("feOffset"),t.writeAttributeString("result","offOut"),t.writeAttributeString("in","SourceGraphic"),t.writeAttributeString("dx","1.111111111111111"),t.writeAttributeString("dy","1.111111111111111"),t.writeEndElement(),t.writeStartElement("feColorMatrix"),t.writeAttributeString("result","matrixOut"),t.writeAttributeString("in","offOut"),t.writeAttributeString("type","matrix"),t.writeAttributeString("values","0.58 0 0 0 0 0 0.58 0 0 0 0 0 0.58 0 0 0 0 0 1 0"),t.writeEndElement(),t.writeStartElement("feGaussianBlur"),t.writeAttributeString("result","blurOut"),t.writeAttributeString("in","matrixOut"),t.writeAttributeString("stdDeviation","1.111111111111111"),t.writeEndElement(),t.writeStartElement("feBlend"),t.writeAttributeString("mode","normal"),t.writeAttributeString("in","SourceGraphic"),t.writeAttributeString("in2","blurOut"),t.writeEndElement(),t.writeEndElement(),t.writeEndElement();try{for(var at=(s=void 0,__values(y.shadowContext.geoms)),st=at.next();!st.done;st=at.next()){var lt=st.value,Q={ref:null},L={ref:null},lt=lt.as(Ht),I;null!=lt&&(I=this.getPathData(lt.geoms,this.dx,this.dy,Q,L),t.writeStartElement("path"),yt.isNullOrEmpty(u)||t.writeAttributeString("clip-path",yt.format("url(#{0})",u)),t.writeAttributeString("d",I),t.writeAttributeString("fill","rgb(150,150,150)"),t.writeAttributeString("filter",yt.format("url(#{0})",H)),t.writeEndElement())}}catch(t){s={error:t}}finally{try{st&&!st.done&&(l=at.return)&&l.call(at)}finally{if(s)throw s.error}}}else if(d.is(Gt)){"Stimulsoft"==(b=d.as(Gt)).font.fontName&&this.writeStimulsoftIconFont();var N=new Ut(b.font.fontName,b.font.fontSize,b.font.fontStyle,b.font.unit),k;(k=new Ct).alignment=b.stringFormat.alignment,k.formatFlags=b.stringFormat.formatFlags,k.hotkeyPrefix=b.stringFormat.hotkeyPrefix,k.lineAlignment=b.stringFormat.lineAlignment,k.trimming=b.stringFormat.trimming;var K=new ue,A;if(0!=b.angle||b.location instanceof ue||b.isRotatedText){K=b.location instanceof ue?b.location.stimulsoft.as(ue):(A=b.location,new ue(A.x+A.width/2,A.y+A.height/2))}else{var ut=b.location;switch(k.lineAlignment){case ce.Near:K=new ue(ut.x,ut.y);break;case ce.Center:K=new ue(ut.x,ut.y+ut.height/2);break;case ce.Far:K=new ue(ut.x,ut.y+ut.height);break}b.rotationMode=vt.LeftCenter}var v=new bt,M=4*N.size/3;switch(t.writeStartElement("text"),b.rotationMode){case vt.LeftCenter:t.writeAttributeString("dy","0.35em");break;case vt.LeftBottom:break;case vt.CenterTop:v.appendFormat("text-anchor:{0};","middle"),t.writeAttributeString("dy","1em");break;case vt.CenterCenter:v.appendFormat("text-anchor:{0};","middle"),t.writeAttributeString("dy","0.35em");break;case vt.CenterBottom:v.appendFormat("text-anchor:{0};","middle");break;case vt.RightTop:v.appendFormat("text-anchor:{0};","end"),t.writeAttributeString("dy","1em");break;case vt.RightCenter:v.appendFormat("text-anchor:{0};","end"),t.writeAttributeString("dy","0.35em");break;case vt.RightBottom:v.appendFormat("text-anchor:{0};","end");break;default:t.writeAttributeString("dy","1em");break}0!=b.angle||0!=b.maximalWidth&&null!=b.maximalWidth?t.writeAttributeString("transform",yt.format("translate({0}, {1}) rotate({2} 0,0)",(K.x+this.dx).toString(),(K.y+this.dy).toString(),b.angle)):(yt.isNullOrEmpty(u)||t.writeAttributeString("clip-path",yt.format("url(#{0})",u)),t.writeAttributeString("x",(K.x+this.dx).toString()),t.writeAttributeString("y",(K.y+this.dy).toString())),t.writeAttributeString("font-size",M.toString()),t.writeAttributeString("font-family",N.fontFamily.name),0<(N.style&zt.Bold)&&t.writeAttributeString("font-weight","bold"),0<(N.style&zt.Italic)&&t.writeAttributeString("font-style","italic");var it="";0<(N.style&zt.Underline)&&(it+="underline"),0<(N.style&zt.Strikeout)&&(it+=" line-through"),yt.isNullOrEmpty(it)||t.writeAttributeString("text-decoration",it);var O=b.brush instanceof At?b.brush:Yt.toColor(b.brush);if(v.append(yt.format("fill:#{0:X2}{1:X2}{2:X2};",O.r,O.g,O.b)),255!=O.a&&v.append(yt.format("fill-opacity:{0}",Math.round2(O.a/255,3).toString().split(",").join("."))),yt.isNullOrEmpty(b.toolTip)&&v.append("pointer-events: none"),t.writeAttributeString("style",v.toString()),this.writeTooltip(t,b.toolTip),0!=b.maximalWidth&&null!=b.maximalWidth){for(var ct=b.text.length,pt=ct,ut=new Wt(0,0),nt=0;nt<ct;nt++)if((ut=e.measureString(b.text.substring(0,nt),b.font)).width>b.maximalWidth&&0!=nt){pt=nt-1;break}var it=Math.ceil(ct/pt),ht=0;switch(b.rotationMode){case vt.LeftCenter:case vt.CenterCenter:case vt.RightCenter:ht=-it*ut.height/2+ut.height/2;break;default:ht=0;break}if(0<pt){var mt=0,nt=0;while(mt<ct)t.writeStartElement("tspan"),t.writeAttributeString("x","0"),0==nt?t.writeAttributeString("y",ht.toString()):t.writeAttributeString("dy",ut.height.toString()),t.writeString(b.text.substr(mt,pt)),t.writeEndElement(),mt+=pt,nt++}}else t.writeString(b.text);t.writeEndElement()}else{d.is(Ht)&&(C=d.as(Ht),w=v="",v=null!=C.background?this.writeFillBrush(t,C.background,C.rect):"fill-opacity:0;",this.checkPenGeom(C.pen)&&(B=yt.format("{0}",this.writeBorderStroke(t,C.pen.brush,C.rect)),v+=yt.format("{0}stroke-width:{1};",B,C.pen.thickness)),I=this.getPathData(C.geoms,this.dx,this.dy,{ref:null},{ref:null}),t.writeStartElement("path"),yt.isNullOrEmpty(u)||t.writeAttributeString("clip-path",yt.format("url(#{0})",u)),t.writeAttributeString("d",I),t.writeAttributeString("style",v),this.writeInteraction(t,C.interaction),this.writeTooltip(t,C.toolTip),t.writeEndElement())}}}catch(t){o={error:t}}finally{try{S&&!S.done&&(a=f.return)&&a.call(f)}finally{if(o)throw o.error}}},f.addAnimation=function(t,e,r,n,i){void 0===i&&(i="");var n="{"+yt.format('"actions":{0}, "begin":{1}, "duration":{2}',e,Math.round2(r.totalMilliseconds),Math.round2(n.totalMilliseconds))+"}";t.writeAttributeString("_animation"+i,n)},f.rectToCenterPoint=function(t){return new ue(t.x+t.width/2,t.y+t.height/2)},f.writeInteraction=function(t,e){var r,r,n,i,e,i,n,n,n,e;null!=e&&(null!=e.componentName&&t.writeAttributeString("interaction",e.componentName.toString()),null!=e.pageGuid&&t.writeAttributeString("pageguid",e.pageGuid.toString()),null!=e.componentIndex&&t.writeAttributeString("compindex",e.componentIndex.toString()),null!=e.pageIndex&&t.writeAttributeString("pageindex",e.pageIndex.toString()),null!=e.elementIndex&&t.writeAttributeString("elementindex",e.elementIndex.toString()),null!=e.interactionHyperlink&&t.writeAttributeString("interactionhyperlink",e.interactionHyperlink),null!=e.interactionToolTip&&t.writeAttributeString("interactiontooltip",e.interactionToolTip),null!=(i=null===(r=e.interactionData)||void 0===r?void 0:r.stimulsoft.as(d))&&(n=null!=(n=null!=i.originalArgument?i.originalArgument:i.argument)&&s.isList(n)?null===(r=s.toList(n))||void 0===r?void 0:r.firstOrDefault():n,t.writeAttributeString("elementargument",null==n?"sti_IsNullValue":n.toString()),null!=i.value&&t.writeAttributeString("elementvalue",i.value.toString()),n=null===(n=i.series)||void 0===n?void 0:n.coreTitle,yt.isNullOrEmpty(n)&&(n=null===(i=i.series)||void 0===i?void 0:i.titleValue),yt.isNullOrEmpty(n)||t.writeAttributeString("elementseries",n)),null!=(e=null===(e=e.interactionData)||void 0===e?void 0:e.stimulsoft.as(g))&&(t.writeAttributeString("elementvalue",null!=e.value?e.value.toString():null),t.writeAttributeString("elementseries",e.seriesText),t.writeAttributeString("elementtarget",null!=e.target?e.target.toString():null)))},f.getPathData=function(t,e,r,n,i){var o,a,s="",l=new bt,u=Vt.fromMilliseconds(0),c=0;try{for(var p=__values(t),h=p.next();!h.done;h=p.next()){var m=h.value,d;if(m.is(w)){var g=m.as(w);s+=this.addArcPath(g,s,e,r)}else if(m.is(T)){for(var g=m.as(T),f=null!=g.animation?g.animation.stimulsoft.as(oe):null,S=R.cardinalSpline(g.points,!1),y=null!=f?R.cardinalSpline(f.pointsFrom,!1):null,A=new bt,b=1;b<S.length;b+=3)null!=f?(1==b?A.appendFormat("C{0},{1},{2},{3},{4},{5}",(y[b].x+e).toString().split(",").join("."),(y[b].y+r).toString().split(",").join("."),(y[b+1].x+e).toString().split(",").join("."),(y[b+1].y+r).toString().split(",").join("."),(y[b+2].x+e).toString().split(",").join("."),(y[b+2].y+r).toString().split(",").join(".")):A.appendFormat(",{0},{1},{2},{3},{4},{5}",(y[b].x+e).toString().split(",").join("."),(y[b].y+r).toString().split(",").join("."),(y[b+1].x+e).toString().split(",").join("."),(y[b+1].y+r).toString().split(",").join("."),(y[b+2].x+e).toString().split(",").join("."),(y[b+2].y+r+1e-4*b).toString().split(",").join(".")),1==b?l.appendFormat("C{0}:{1},{2}:{3},{4}:{5},{6}:{7},{8}:{9},{10}:{11}",this.p(y[b].x+e),this.p(S[b].x+e),this.p(y[b].y+r),this.p(S[b].y+r),this.p(y[b+1].x+e),this.p(S[b+1].x+e),this.p(y[b+1].y+r),this.p(S[b+1].y+r),this.p(y[b+2].x+e),this.p(S[b+2].x+e),this.p(y[b+2].y+r),this.p(S[b+2].y+r)):l.appendFormat(",{0}:{1},{2}:{3},{4}:{5},{6}:{7},{8}:{9},{10}:{11}",this.p(y[b].x+e),this.p(S[b].x+e),this.p(y[b].y+r),this.p(S[b].y+r),this.p(y[b+1].x+e),this.p(S[b+1].x+e),this.p(y[b+1].y+r),this.p(S[b+1].y+r),this.p(y[b+2].x+e),this.p(S[b+2].x+e),this.p(y[b+2].y+r),this.p(S[b+2].y+r+1e-4*b)),u=Vt.fromSeconds(1)):1==b?A.appendFormat("C{0},{1},{2},{3},{4},{5}",(S[b].x+e).toString().split(",").join("."),(S[b].y+r).toString().split(",").join("."),(S[b+1].x+e).toString().split(",").join("."),(S[b+1].y+r).toString().split(",").join("."),(S[b+2].x+e).toString().split(",").join("."),(S[b+2].y+r).toString().split(",").join(".")):A.appendFormat(",{0},{1},{2},{3},{4},{5}",(S[b].x+e).toString().split(",").join("."),(S[b].y+r).toString().split(",").join("."),(S[b+1].x+e).toString().split(",").join("."),(S[b+1].y+r).toString().split(",").join("."),(S[b+2].x+e).toString().split(",").join("."),(S[b+2].y+r+1e-4*b).toString().split(",").join("."));s+=A}else if(m.is(B)){var d=m.as(B),f=null!=d.animation?d.animation.stimulsoft.as(oe):null,A=new bt;s.stimulsoft.startsWith("M")||(null!=f?(A.appendFormat("M{0},{1}",this.p(f.pointsFrom[0].x+e),this.p(f.pointsFrom[0].y+r)),l.appendFormat("M{0}:{1},{2}:{3}",this.p(f.pointsFrom[0].x+e),this.p(d.x1+e),this.p(f.pointsFrom[0].y+r),this.p(d.y1+r))):A.appendFormat("M{0},{1}",(d.x1+e).toString().split(",").join("."),(d.y1+r).toString().split(",").join("."))),null!=f?(A.appendFormat("L{0},{1}",this.p(f.pointsFrom[1].x+e),this.p(f.pointsFrom[1].y+r)),l.appendFormat("L{0}:{1},{2}:{3}",this.p(f.pointsFrom[1].x+e),this.p(d.x2+e),this.p(f.pointsFrom[1].y+r),this.p(d.y2+r+1e-4)),u=f.duration):A.appendFormat("L{0},{1}",(d.x2+e).toString().split(",").join("."),(d.y2+r+1e-4).toString().split(",").join(".")),s+=A}else if(m.is(I)){var C=m.as(I),f=null!=C.animation?C.animation.stimulsoft.as(oe):null,A=new bt;s.stimulsoft.startsWith("M")||(null!=f?(A.appendFormat("M{0},{1}",this.p(f.pointsFrom[0].x+e),this.p(f.pointsFrom[0].y+r)),l.appendFormat("M{0}:{1},{2}:{3}",this.p(f.pointsFrom[0].x+e),this.p(f.pointsFrom[1].x+e),this.p(f.pointsFrom[0].y+r),this.p(f.pointsFrom[1].y+r+1e-4))):A.appendFormat("M{0},{1}",this.p(C.points[0].x+e),this.p(C.points[0].y+r+1e-4)));for(var b=0;b<C.points.length;b++)null!=f?(A.appendFormat("{0}{1},{2}",0==b?"L":",",this.p(f.pointsFrom[b].x+e),this.p(f.pointsFrom[b].y+r)),l.appendFormat("{0}{1}:{2},{3}:{4}",0==b?"L":",",this.p(f.pointsFrom[b].x+e),this.p(C.points[b].x+e),this.p(f.pointsFrom[b].y+r),this.p(C.points[b].y+r)),u=f.duration):A.appendFormat("{0}{1},{2}",0==b?"L":",",this.p(C.points[b].x+e),this.p(C.points[b].y+r+1e-4*b));s+=A}else{m.is(Qt)?(d=m.as(Qt),s+=this.addPiePath(d,s,e,r,l,{ref:null})):m.is(E)}c++}}catch(t){o={error:t}}finally{try{h&&!h.done&&(a=p.return)&&a.call(p)}finally{if(o)throw o.error}}return n.ref=l,i.ref=u,s},f.addArcPath=function(t,e,r,n){var i=new bt,o=t.rect.x+r+t.rect.width/2,a=t.rect.y+n+t.rect.height/2,s=t.rect.width/2,l=t.startAngle*Math.PI/180,o=o+s*Math.cos(l),s=a+s*Math.sin(l);e.stimulsoft.startsWith("M")&&t.sweepAngle%360!=0||i.appendFormat("M{0},{1}",o.toString().split(",").join("."),s.toString().split(",").join("."));for(var u=this.round(Math.abs(t.sweepAngle/90)),c=t.sweepAngle/u,l=t.startAngle,p=0;p<u;p++){var h=this.convertArcToCubicBezier(t.rect,l,c);0==p?i.appendFormat("C{0},{1},{2},{3},{4},{5}",(h[1].x+r).toString().split(",").join("."),(h[1].y+n).toString().split(",").join("."),(h[2].x+r).toString().split(",").join("."),(h[2].y+n).toString().split(",").join("."),(h[3].x+r).toString().split(",").join("."),(h[3].y+n).toString().split(",").join(".")):i.appendFormat(",{0},{1},{2},{3},{4},{5}",(h[1].x+r).toString().split(",").join("."),(h[1].y+n).toString().split(",").join("."),(h[2].x+r).toString().split(",").join("."),(h[2].y+n).toString().split(",").join("."),(h[3].x+r).toString().split(",").join("."),(h[3].y+n).toString().split(",").join(".")),l+=c}return i.toString()},f.round=function(t){var e=Math.round2(t),r;return 0<t-e?e+1:e},f.addPiePath=function(t,e,r,n,i,o){var a=new Vt,s=new bt,l=null!=t.animation?t.animation.stimulsoft.as(D):null,u=t.rect.x+r+t.rect.width/2,c=t.rect.y+n+t.rect.height/2,p=t.rect.width/2,h=null==l?t.startAngle:l.startAngleFrom,m=null==l?t.sweepAngle:l.sweepAngleFrom,d=h*Math.PI/180,g=u+p*Math.cos(d),p=c+p*Math.sin(d);s.appendFormat("M{0},{1}",this.p(u),this.p(c)),s.appendFormat("L{0},{1}",this.p(g),this.p(p));for(var f=this.round(Math.abs(m/90)),S=m/f,d=h,y=0;y<f;y++){for(var A=this.convertArcToCubicBezier(t.rect,d,S),b=1;b<A.length-1;b+=3)1==b?s.appendFormat("C{0},{1},{2},{3},{4},{5}",(A[b].x+r).toString().split(",").join("."),(A[b].y+n).toString().split(",").join("."),(A[b+1].x+r).toString().split(",").join("."),(A[b+1].y+n).toString().split(",").join("."),(A[b+2].x+r).toString().split(",").join("."),(A[b+2].y+n).toString().split(",").join(".")):s.appendFormat(",{0},{1},{2},{3},{4},{5}",(A[b].x+r).toString().split(",").join("."),(A[b].y+n).toString().split(",").join("."),(A[b+1].x+r).toString().split(",").join("."),(A[b+1].y+n).toString().split(",").join("."),(A[b+2].x+r).toString().split(",").join("."),(A[b+2].y+n).toString().split(",").join("."));d+=S}return s.appendFormat("L{0},{1}",u.toString().split(",").join("."),c.toString().split(",").join(".")),null!=l?(a=l.duration,i.append(C.System.Convert.toBase64String(v.UTF8.getBytes(yt.format('{{"startAngle":{0}, "startAngleFrom": {1}, "sweepAngle": {2}, "sweepAngleFrom": {3}, "x": {4}, "y": {5},'+'"width": {6}, "height": {7}, "dx": {8}, "dy": {9}}}',this.p(t.startAngle),this.p(l.startAngleFrom),this.p(t.sweepAngle),this.p(l.sweepAngleFrom),this.p(t.rect.x),this.p(t.rect.y),this.p(t.rect.width),this.p(t.rect.height),this.p(r),this.p(n)))))):a=Vt.fromSeconds(1),o.ref=a,s.toString()},f.correctRectLabel=function(t,e){switch(t){case vt.LeftCenter:return new se(e.x+e.width/2,e.y,e.width,e.height);case vt.LeftBottom:return new se(e.x+e.width/2,e.y-e.height/2,e.width,e.height);case vt.LeftTop:return new se(e.x+e.width/2,e.y+e.height/2,e.width,e.height);case vt.CenterTop:return new se(e.x,e.y+e.height/2,e.width,e.height);case vt.CenterCenter:return e;case vt.CenterBottom:return new se(e.x,e.y-e.height/2,e.width,e.height);case vt.RightTop:return new se(e.x-e.width/2,e.y+e.height/2,e.width,e.height);case vt.RightCenter:return new se(e.x-e.width/2,e.y,e.width,e.height);case vt.RightBottom:return new se(e.x-e.width/2,e.y-e.height/2,e.width,e.height);default:return e}},f.convertArcToCubicBezier=function(t,e,r){var n=t.x+t.width/2,i=t.y+t.height/2,o=Math.min(t.width/2,t.height/2),a=e*Math.PI/180,s=r*Math.PI/180,l=(e+r)*Math.PI/180,u=n+o*Math.cos(a),c=i+o*Math.sin(a),p=n+o*Math.cos(l),h=i+o*Math.sin(l),t=4*o/3*Math.tan(.25*s),e=Math.atan(t/o),r=o/Math.cos(e);e+=a;var s=n+r*Math.cos(e),a=i+r*Math.sin(e),e=Math.atan(-t/o);e+=l;var n=n+r*Math.cos(e),r=i+r*Math.sin(e),e=m.create(ue,4);return e[0]=new ue(u,c),e[1]=new ue(s,a),e[2]=new ue(n,r),e[3]=new ue(p,h),e},f.writeTooltip=function(t,e){if(yt.isNullOrEmpty(e))return;var r,n,i,o,r,n;C.Base.StiJsonChecker.isValidJson(e)?(n=(r=JSON.parse(e))["StiColor"],i=r["StiValue"],o=r["StiArgument"],null!=(r=r["StiWeight"])?(t.writeAttributeString("_text1",i.toString()),t.writeAttributeString("_text2",h.get("PropertyMain","Argument")+": "+o.toString()),t.writeAttributeString("_text3",h.get("PropertyMain","Weight")+": "+r.toString())):(null!=i&&t.writeAttributeString("_text1",i.toString()),null!=o&&t.writeAttributeString("_text2",o.toString())),null!=n&&((n=C.System.Drawing.ColorTranslator.fromHtml(n.toString())).a=255,t.writeAttributeString("_color",C.System.Drawing.ColorTranslator.toHtml(n))),t.writeAttributeString("_ismap","true")):(t.writeStartElement("title"),t.writeString(e),t.writeEndElement())},f.getFillBrush=function(t,e,r){if(e&&null!=e){if(e instanceof At){var n=e;return yt.format("rgba({0},{1},{2},{3})",n.r,n.g,n.b,Math.round2(n.a/255,3))}if(e.is(l)||e.is(u)||e.is(c)||e.is(p)){var r=r.clone();r.x+=this.dx,r.y+=this.dy;var r=this.writeBrush(t,e,r);return yt.format("url(#{0})",r)}var n=e.is(a)?e.color:Yt.toColor(e);return yt.format("rgba({0},{1},{2},{3})",n.r,n.g,n.b,Math.round2(n.a/255,3))}return"none";return"none"},f.writeFillBrush=function(t,e,r){return"fill:"+this.getFillBrush(t,e,r)+";"},f.writeFillBrushMouserOver=function(t,e,r,n){t.writeAttributeString("_brushOver",this.getFillBrush(t,r,n))},f.writeBorderStroke=function(t,e,r){if(e instanceof At){var n=e,i=yt.format("stroke:rgb({0},{1},{2});",n.r,n.g,n.b),o;return 1!=(o=Math.round2(n.a/255,3))&&(i+=yt.format("stroke-opacity:{0};",o)),i}if(e.is(l)){var r=this.writeBrush(t,e,r);return yt.format("stroke:url(#{0})",r)}var n,i,o;return e.is(Yt)&&(n=Yt.toColor(e.stimulsoft.as(Yt)),i=yt.format("stroke:rgb({0},{1},{2})",n.r,n.g,n.b),1!=(o=Math.round2(n.a/255,3))&&(i+=yt.format(";stroke-opacity:{0}",o))),"stroke-opacity:0"},f.convertSplineToCubicBezier=function(t,e){var r=t.length,n=3*r-2,i=[];e*=.3,i[0]=t[0],i[1]=this.calculateCurveBezierEndPoints(t[0],t[1],e);for(var o=0;o<r-2;o++){var a=this.calculateCurveBezier(t,o,e);i[3*o+2]=a[0],i[3*o+3]=t[o+1],i[3*o+4]=a[1]}return i[n-2]=this.calculateCurveBezierEndPoints(t[r-1],t[r-2],e),i[n-1]=t[r-1],i},f.calculateCurveBezier=function(t,e,r){var n=t[e+2].x-t[e+0].x,i=t[e+2].y-t[e+0].y,o=[];return o[0]=new ue(t[e+1].x-r*n,t[e+1].y-r*i),o[1]=new ue(t[e+1].x+r*n,t[e+1].y+r*i),o},f.calculateCurveBezierEndPoints=function(t,e,r){return new ue(r*(e.x-t.x)+t.x,r*(e.y-t.y)+t.y)},f.writeBrush=function(t,e,r){var n="";return e.is(u)?n=dt.StiBrushSvgHelper.writeGlareBrush(t,e,r):e.is(l)?n=dt.StiBrushSvgHelper.writeGradientBrush(t,e,r):e.is(c)?n=dt.StiBrushSvgHelper.writeHatchBrush(t,e):e.is(p)&&(n=dt.StiBrushSvgHelper.writeGlassBrush(t,e,r)),n},f.checkPenGeom=function(t){return!(null==t||null==t.brush||t.penStyle==Lt.None)},f.p=function(t){return t.toString().split(",").join(".")},f.writeStimulsoftIconFont=function(){var t,e;f.isAddStimulsoftIconFont||(f.isAddStimulsoftIconFont=!0,t=document.createElement("style"),e=C.Report.Resources.StimulsoftFont.getBase64Content(),t.appendChild(document.createTextNode("@font-face {font-family: 'Stimulsoft';src: url(data:font/ttf;base64,"+e+") format('truetype');font-weight: normal;font-style: normal;}")),document.head.appendChild(t))},f.isAddStimulsoftIconFont=!1,f.dx=0,f.dy=0,f.listTransformGeom=[],i=f,e.StiContextSvgHelper=i}(Stimulsoft=Stimulsoft||{}),function(t){var e,r,n,p,c;function i(t,e,r,n,i){this.geoms=[],this._contextPainter=t,this._options=new p.StiContextOptions(e,r,n,i)}r=e=t.Base||(t.Base={}),p=n=r.Context||(r.Context={}),c=t.System.Drawing.Rectangle,i.prototype.render=function(t){this.contextPainter.render(t,this.geoms)},i.prototype.getDefaultStringFormat=function(){return this.contextPainter.getDefaultStringFormat()},i.prototype.getGenericStringFormat=function(){return this.contextPainter.getGenericStringFormat()},i.prototype.drawImage=function(t,e){this.geoms.push(new p.StiImageGeom(e,t))},i.prototype.drawString3=function(t,e,r,n,i,o){var o=new p.StiTextGeom(t,e,r,n,i,0,!1,null,null,!1,o);return this.geoms.push(o),o},i.prototype.drawString2=function(t,e,r,n,i){var i=new p.StiTextGeom(t,e,r,n,i,0,!1,null,null,!1,null);return this.geoms.push(i),i},i.prototype.drawString=function(t,e,r,n,i){var i=new p.StiTextGeom(t,e,r,n,i,0,!1,null,null,!1,null);return this.geoms.push(i),i},i.prototype.drawRotatedString2=function(t,e,r,n,i,o,a){var a=new p.StiTextGeom(t,e,r,new c(n.x,n.y,n.width,n.height),i,o,a,null,null,!0,null);return this.geoms.push(a),a},i.prototype.drawRotatedString3=function(t,e,r,n,i,o,a){var a=new p.StiTextGeom(t,e,r,n,i,o,a,null,null,!0,null);return this.geoms.push(a),a},i.prototype.drawRotatedString4=function(t,e,r,n,i,o,a,s){var o=new p.StiTextGeom(t,e,r,n,i,a,s,null,o,!0,null);return this.geoms.push(o),o},i.prototype.drawRotatedString5=function(t,e,r,n,i,o,a,s){var o=new p.StiTextGeom(t,e,r,n,i,a,s,null,o,!0,null);return this.geoms.push(o),o},i.prototype.drawRotatedString6=function(t,e,r,n,i,o,a,s,l,u){void 0===u&&(u=!0);var u=new p.StiTextGeom(t,e,r,n,i,a,s,l,o,u,null);return this.geoms.push(u),u},i.prototype.drawRotatedString7=function(t,e,r,n,i,o,a,s,l){var o=new p.StiTextGeom(t,e,r,n,i,a,s,l,o,!0,null);return this.geoms.push(o),o},i.prototype.drawRotatedString8=function(t,e,r,n,i,o,a,s){var o=new p.StiTextGeom(t,e,r,n,i,a,s,null,o,!0,null);return this.geoms.push(o),o},i.prototype.drawRotatedString9=function(t,e,r,n,i,o,a,s,l){var o=new p.StiTextGeom(t,e,r,n,i,a,s,l,o,!0,null);return this.geoms.push(o),o},i.prototype.measureString=function(t,e){return this.contextPainter.measureString(t,e)},i.prototype.measureString2=function(t,e,r,n){return this.contextPainter.measureString(t,e,r,n)},i.prototype.measureRotatedString=function(t,e,r,n,i){return this.contextPainter.measureRotatedString1(t,e,r,n,i)},i.prototype.measureRotatedString2=function(t,e,r,n,i,o,a){return void 0===a&&(a=null),this.contextPainter.measureRotatedString2(t,e,r,n,i,o,a)},i.prototype.measureRotatedString3=function(t,e,r,n,i,o,a){return this.contextPainter.measureRotatedString3(t,e,r,n,i,o,a)},i.prototype.measureRotatedString4=function(t,e,r,n,i,o){return this.contextPainter.measureRotatedString4(t,e,r,n,i,o)},i.prototype.drawShadow=function(t,e,r){this.geoms.push(new p.StiShadowGeom(t,e,r))},i.prototype.drawCachedShadow=function(t,e,r){this.geoms.push(new p.StiCachedShadowGeom(t,e,r))},i.prototype.createShadowGraphics=function(){return this.contextPainter.createShadowGraphics(this.options.isPrinting,this.options.zoom)},i.prototype.pushTranslateTransform=function(t,e){this.geoms.push(new p.StiPushTranslateTransformGeom(t,e))},i.prototype.pushRotateTransform=function(t){this.geoms.push(new p.StiPushRotateTransformGeom(t))},i.prototype.popTransform=function(){this.geoms.push(new p.StiPopTransformGeom)},i.prototype.pushClipPath=function(t){this.geoms.push(new p.StiPushClipPathGeom(t))},i.prototype.pushClip=function(t){this.geoms.push(new p.StiPushClipGeom(t))},i.prototype.popClip=function(){this.geoms.push(new p.StiPopClipGeom)},i.prototype.drawAnimationColumn=function(t,e,r,n,i,o,a,s){this.geoms.push(new p.StiClusteredColumnSeriesAnimationGeom(t,e,r,n,i,o,a,s))},i.prototype.drawAnimationBar=function(t,e,r,n,i,o,a,s){this.geoms.push(new p.StiClusteredBarSeriesAnimationGeom(t,e,r,n,i,o,a,s))},i.prototype.drawAnimationRectangle=function(t,e,r,n,i,o,a){this.geoms.push(new p.StiBorderAnimationGeom(t,e,r,n,i,o,a))},i.prototype.drawAnimationPathElement=function(t,e,r,n,i,o,a,s){this.geoms.push(new p.StiPathElementAnimationGeom(t,e,r,n,i,o,a,s))},i.prototype.drawAnimationLabel=function(t,e,r,n,i,o,a,s,l,u,c){this.geoms.push(new p.StiLabelAnimationGeom(t,e,r,n,i,o,a,s,l,u,c))},i.prototype.drawAnimationLines=function(t,e,r){this.geoms.push(new p.StiLinesAnimationGeom(t,e,r))},i.prototype.drawAnimationCurve=function(t,e,r,n){this.geoms.push(new p.StiCurveAnimationGeom(t,e,r,n))},i.prototype.fillDrawAnimationPath=function(t,e,r,n,i,o,a){this.geoms.push(new p.StiPathAnimationGeom(t,e,r,n,i,o,a))},i.prototype.fillDrawAnimationEllipse=function(t,e,r,n,i,o,a,s,l,u){this.geoms.push(new p.StiEllipseAnimationGeom(t,e,new c(r,n,i,o),a,s,l,u))},i.prototype.drawLine=function(t,e,r,n,i){this.geoms.push(new p.StiLineGeom(t,e,r,n,i))},i.prototype.drawLines=function(t,e){for(var r=0;r<e.length;r++){var n=e[r];isNaN(n.x)&&(n.x=0),isNaN(n.y)&&(n.y=0),e[r]=n}this.geoms.push(new p.StiLinesGeom(t,e))},i.prototype.drawRectangle=function(t,e){this.geoms.push(new p.StiBorderGeom(null,null,t,e,null))},i.prototype.drawRectangle2=function(t,e,r,n,i){this.geoms.push(new p.StiBorderGeom(null,null,t,new c(e,r,n,i),null))},i.prototype.drawEllipse=function(t,e,r,n,i){this.geoms.push(new p.StiEllipseGeom(null,t,new c(e,r,n,i),null,null))},i.prototype.drawEllipse2=function(t,e){this.geoms.push(new p.StiEllipseGeom(null,t,e,null,null))},i.prototype.fillEllipse=function(t,e,r,n,i,o){this.geoms.push(new p.StiEllipseGeom(t,null,new c(e,r,n,i),o,null))},i.prototype.fillEllipse2=function(t,e,r){this.geoms.push(new p.StiEllipseGeom(t,null,e,r,null))},i.prototype.fillEllipse3=function(t,e,r,n,i,o,a){this.geoms.push(new p.StiEllipseGeom(t,null,new c(e,r,n,i),a,o))},i.prototype.drawPath=function(t,e,r){this.geoms.push(new p.StiPathGeom(null,t,e,r,null,null))},i.prototype.fillPath=function(t,e,r,n){this.geoms.push(new p.StiPathGeom(t,null,e,r,n,null))},i.prototype.fillPath2=function(t,e,r,n,i){this.geoms.push(new p.StiPathGeom(t,null,e,r,n,i))},i.prototype.drawCurve=function(t,e,r){this.geoms.push(new p.StiCurveGeom(t,e,r))},i.prototype.fillRectangle=function(t,e,r){this.geoms.push(new p.StiBorderGeom(t,null,null,e,r))},i.prototype.fillRectangle2=function(t,e,r,n,i,o){this.geoms.push(new p.StiBorderGeom(t,null,null,new c(e,r,n,i),o))},i.prototype.fillRectangle3=function(t,e,r,n){this.geoms.push(new p.StiBorderGeom(t,e,null,r,n))},i.prototype.pushSmoothingModeToAntiAlias=function(){this.geoms.push(new p.StiPushSmothingModeToAntiAliasGeom)},i.prototype.popSmoothingMode=function(){this.geoms.push(new p.StiPopSmothingModeGeom)},i.prototype.pushTextRenderingHintToAntiAlias=function(){this.geoms.push(new p.StiPushTextRenderingHintToAntiAliasGeom)},i.prototype.popTextRenderingHint=function(){this.geoms.push(new p.StiPopTextRenderingHintGeom)},i.prototype.getPathBounds=function(t){return this.contextPainter.getPathBounds(t)},Object.defineProperty(i.prototype,"contextPainter",{get:function(){return this._contextPainter},enumerable:!1,configurable:!0}),Object.defineProperty(i.prototype,"options",{get:function(){return this._options},enumerable:!1,configurable:!0}),i.prototype.drawShadowRect=function(t,e,r){this.geoms.push(new p.StiShadowAnimationGeom(t,0,0,e,r))},i.prototype.drawShadowRect2=function(t,e,r,n,i){this.geoms.push(new p.StiShadowAnimationGeom(t,e,r,n,i))},r=i,p.StiContext=r}(Stimulsoft=Stimulsoft||{}),function(p){var t,e,r,N,h,n,i,m,d,s,k,o;function a(){}e=t=p.Base||(p.Base={}),N=r=e.Context||(e.Context={}),h=p.System.StiString,n=p.System.Drawing.StringFormat,i=p.System.Drawing.Size,m=p.System.Drawing.Font,d=p.System.Drawing.Graphics,s=p.System.Drawing.Point,k=p.System.Drawing.Rectangle,o=p.Base.Drawing.StiRotationMode,Object.defineProperty(a.prototype,"svgRect",{get:function(){return null==this._svgRect&&(this.svgObj=document.createElementNS("http://www.w3.org/2000/svg","svg"),this.svgObj.setAttribute("xlink","http://www.w3.org/1999/xlink"),this._svgRect=document.createElementNS("http://www.w3.org/2000/svg","rect"),this.svgObj.appendChild(this._svgRect),this.svgObj.style.visibility="hidden",document.body.appendChild(this.svgObj)),this._svgRect},enumerable:!1,configurable:!0}),a.prototype.getDefaultStringFormat=function(){var t=new n;return new N.StiStringFormatGeom(t)},a.prototype.getGenericStringFormat=function(){var t=new n;return new N.StiStringFormatGeom(t)},a.prototype.createShadowGraphics=function(t,e){return new N.StiContext(this,!1,!1,!1,1)},a.prototype.getPathBounds=function(t){var e,r,n,i,o,a,s,l,u,c,p=[],h=[];try{for(var m=__values(t),d=m.next();!d.done;d=m.next()){var g=d.value,g;if(g.is(N.StiArcSegmentGeom)){var f=g;p.push(f.rect.left),p.push(f.rect.right),h.push(f.rect.top),h.push(f.rect.bottom)}else if(!g.is2(N.StiCloseFigureSegmentGeom))if(g.is(N.StiCurveSegmentGeom)){var S=g;try{for(var y=(n=void 0,__values(S.points)),A=y.next();!A.done;A=y.next()){var b=A.value;p.push(b.x),h.push(b.y)}}catch(t){n={error:t}}finally{try{A&&!A.done&&(i=y.return)&&i.call(y)}finally{if(n)throw n.error}}}else if(g.is(N.StiLineSegmentGeom)){var f=g;p.push(f.x1),p.push(f.x2),h.push(f.y1),h.push(f.y2)}else if(g.is(N.StiLinesSegmentGeom)){var C=g;try{for(var v=(o=void 0,__values(C.points)),w=v.next();!w.done;w=v.next()){var b=w.value;p.push(b.x),h.push(b.y)}}catch(t){o={error:t}}finally{try{w&&!w.done&&(a=v.return)&&a.call(v)}finally{if(o)throw o.error}}}else{g.is(N.StiPieSegmentGeom)&&(g=g,p.push(g.rect.left),p.push(g.rect.right),h.push(g.rect.top),h.push(g.rect.bottom))}var B=null,I=null,T=null,E=null;try{for(var R=(s=void 0,__values(p)),D=R.next();!D.done;D=R.next())var P=D.value,B=null==B?P:Math.min(B,P),I=null==I?P:Math.max(I,P)}catch(t){s={error:t}}finally{try{D&&!D.done&&(l=R.return)&&l.call(R)}finally{if(s)throw s.error}}try{for(var x=(u=void 0,__values(h)),F=x.next();!F.done;F=x.next())var P=F.value,T=null==T?P:Math.min(T,P),E=null==E?P:Math.max(E,P)}catch(t){u={error:t}}finally{try{F&&!F.done&&(c=x.return)&&c.call(x)}finally{if(u)throw u.error}}return new k(B,T,I-B,E-T)}}catch(t){e={error:t}}finally{try{d&&!d.done&&(r=m.return)&&r.call(m)}finally{if(e)throw e.error}}return k.empty},a.prototype.measureString=function(t,e,r,n){void 0===r&&(r=null),void 0===n&&(n=null);var r=d.measureString(t,new m(e.fontName,e.fontSize,e.fontStyle,e.unit),r);return new i(r.width,r.height)},a.prototype.measureRotatedString1=function(t,e,r,n,i){var i=d.measureString(t,new m(e.fontName,e.fontSize,e.fontStyle,e.unit),r.width,!0,1,i);return new k(r.x,r.y,i.width,i.height)},a.prototype.measureRotatedString2=function(t,e,r,n,i,o,a){void 0===a&&(a=null);var r=new s(r.x+r.width/2,r.y+r.height/2);return this.measureRotatedString3(t,e,r,n,i,o,a)},a.prototype.measureRotatedString3=function(t,e,r,n,i,o,a){var e=new m(e.fontName,e.fontSize,e.fontStyle,e.unit);if(0==a&&(a=null),p.System.NodeJs.isNodeJs()){var s=d.measureString(t,e,a,!0,1,o),l=new k(0,0,s.width,s.height),u=this.getStartPoint(i,l);return l.x-=u.x,l.y-=u.y,new k(l.x+r.x-1,l.y+r.y-1,l.width+1,l.height+1)}var s=d.measureString(t,e,a,!0,1,0),l=new k(0,0,s.width,s.height),u=this.getStartPoint(i,l);l.x-=u.x,l.y-=u.y,0==l.x&&(l.x=1e-6),0==l.y&&(l.y=1e-6),0==l.width&&(l.width=1e-6),0==l.height&&(l.height=1e-6),this.svgRect.setAttribute("x",l.x),this.svgRect.setAttribute("y",l.y),this.svgRect.setAttribute("width",l.width),this.svgRect.setAttribute("height",l.height),this.svgRect.setAttribute("transform",h.format("translate({0}, {1}) rotate({2})",r.x,r.y,o));var c=new k(l.x+r.x,l.y+r.y,l.width,l.height),r=this.svgRect.getBoundingClientRect(),l=this.svgObj.getBoundingClientRect();return document.body.removeChild(this.svgObj),this.svgObj=null,this._svgRect=null,new k(r.left-l.left,r.top-l.top,r.width+1,r.height+1)},a.prototype.measureRotatedString4=function(t,e,r,n,i,o){var o=d.measureString(t,new m(e.fontName,e.fontSize,e.fontStyle,e.unit),null,!0,1,o);return new k(r.x,r.y,o.width,o.height)},a.prototype.getStartPoint=function(t,e){var r=new s(e.x+e.width/2,e.y+e.height/2);switch(t){case o.LeftCenter:return new s(e.x,r.y);case o.LeftBottom:return new s(e.x,e.bottom);case o.CenterTop:return new s(r.x,e.top);case o.CenterCenter:return r;case o.CenterBottom:return new s(r.x,e.bottom);case o.RightTop:return new s(e.right,e.top);case o.RightCenter:return new s(e.right,r.y);case o.RightBottom:return new s(e.right,e.bottom);default:return e.location}},a.prototype.render=function(t,e){},e=a,N.StiContextPainter=e}(Stimulsoft=Stimulsoft||{}),function(t){var e,r,n,i,s,l,u,c,p,h,m,d,g,f,S,y,A;function b(){}r=e=t.Report||(t.Report={}),i=n=r.Export||(r.Export={}),s=t.System.NodeJs,l=t.System.Xml.XmlTextWriter,u=t.System.Text.Encoding,c=t.Report.Chart.IStiChart,p=t.Base.Context.StiContext,h=t.Base.Context.StiContextPainter,m=t.System.Drawing.Rectangle,d=t.System.Drawing.Image,g=t.System.Drawing.Imaging.ImageFormat,f=t.Report.Components.StiImageRotation,S=t.Report.Export.Services.Helpers.StiContextSvgHelper,y=t.System.Text.StringBuilder,A=t.System.StiString,b.getImage=function(t){var e=new d;if(!s.useWebKit)return e;var r=document.createElement("canvas");r.width=t.width,r.height=t.height;var n=new l(u.UTF8),i=t.component.as(c),o;null!=i&&null!=i.brush&&((o=new y).append(S.writeFillBrush(n,i.brush,new m(0,0,t.width,t.height))),n.writeStartElement("rect"),n.writeAttributeString("x",t.x.toString().split(",").join(".")),n.writeAttributeString("y",t.y.toString().split(",").join(".")),n.writeAttributeString("height",t.height.toString().split(",").join(".")),n.writeAttributeString("width",t.width.toString().split(",").join(".")),n.writeAttributeString("style",o.toString()),n.writeEndElement()),b.writeChart(n,t,1,!1),n.flush();var n=A.format('<svg xmlns="http://www.w3.org/2000/svg" style="width: {0}; height: {1}"><rect x="0" y="0" width="{0}" height="{1}" style="fill: white;"/>{2}</svg>',t.width,t.height,n.textWriter.getStringBuilder().toString());canvgv2(r,n);var r=r.toDataURL(g.Jpeg.mimeType);return e.base64=r,e},b.getImageAsync=function(a){return __awaiter(this,void 0,void 0,function(){var e,r,n,i,o,n,r;return __generator(this,function(t){if(e=new d,!s.useWebKit)return[2,e];return(r=document.createElement("canvas")).width=a.width,r.height=a.height,n=new l(u.UTF8),null!=(i=a.component.as(c))&&null!=i.brush&&((o=new y).append(S.writeFillBrush(n,i.brush,new m(0,0,a.width,a.height))),n.writeStartElement("rect"),n.writeAttributeString("x",a.x.toString().split(",").join(".")),n.writeAttributeString("y",a.y.toString().split(",").join(".")),n.writeAttributeString("height",a.height.toString().split(",").join(".")),n.writeAttributeString("width",a.width.toString().split(",").join(".")),n.writeAttributeString("style",o.toString()),n.writeEndElement()),b.writeChart(n,a,1,!1),n.flush(),n=A.format('<svg xmlns="http://www.w3.org/2000/svg" style="width: {0}; height: {1}"><rect x="0" y="0" width="{0}" height="{1}" style="fill: white;"/>{2}</svg>',a.width,a.height,n.textWriter.getStringBuilder().toString()),canvgv2(r,n),r=r.toDataURL(g.Jpeg.mimeType),e.base64=r,[2,e]})})},b.writeChart=function(t,e,r,n){var i=e.component.as(c),o=new h,a=new p(o,!0,!1,!1,r);i.isAnimation=n;var s=e.width,l=e.height,u;i.rotation!=f.Rotate90CCW&&i.rotation!=f.Rotate90CW||(s=e.height,l=e.width),i.core.render(a,new m(0,0,s,l),!0).drawGeom(a),t.writeStartElement("g");var o=e.x+.5,r=e.y+.5,e="";switch(i.rotation){case f.Rotate90CW:e=" rotate(90)",o+=l;break;case f.Rotate90CCW:e=" rotate(-90)",r+=s;break;case f.Rotate180:e=" rotate(180)",r+=l,o+=s;break;case f.FlipHorizontal:e=" scale(-1, 1)",o+=s;break;case f.FlipVertical:e=" scale(1, -1)",r+=l;break}t.writeAttributeString("transform",A.format("translate({0},{1}){2}",o,r,e)),S.writeGeoms(t,a,n),t.writeEndElement()},r=b,i.StiChartSvgHelper=r}(Stimulsoft=Stimulsoft||{}),function(t){var e,r,n,t,i;function o(){}r=e=t.Report||(t.Report={}),t=n=r.Gauge||(r.Gauge={}),r=i=t.GaugeGeoms||(t.GaugeGeoms={}),Object.defineProperty(o.prototype,"type",{get:function(){return null},enumerable:!1,configurable:!0}),Object.defineProperty(o.prototype,"animation",{get:function(){return null},set:function(t){},enumerable:!1,configurable:!0}),t=o,r.StiGaugeGeom=t}(Stimulsoft=Stimulsoft||{}),function(t){var e,r,n,i,o,t,s;function a(t,e,r,n,i,o){var a=s.call(this)||this;return a.rect=t,a.background=e,a.borderBrush=r,a.borderWidth=n,a.startAngle=i,a.sweepAngle=o,a}r=e=t.Report||(t.Report={}),i=n=r.Gauge||(r.Gauge={}),t=o=i.GaugeGeoms||(i.GaugeGeoms={}),s=t.StiGaugeGeom,__extends(a,s),Object.defineProperty(a.prototype,"type",{get:function(){return i.StiGaugeGeomType.Pie},enumerable:!1,configurable:!0}),r=a,t.StiPieGaugeGeom=r}(Stimulsoft=Stimulsoft||{}),function(t){var e,r,n,i,o,t,a;function s(t,e,r,n){var i=a.call(this)||this;return i.rect=t,i.background=e,i.borderBrush=r,i.borderWidth=n,i}r=e=t.Report||(t.Report={}),i=n=r.Gauge||(r.Gauge={}),t=o=i.GaugeGeoms||(i.GaugeGeoms={}),a=t.StiGaugeGeom,__extends(s,a),Object.defineProperty(s.prototype,"type",{get:function(){return i.StiGaugeGeomType.Ellipse},enumerable:!1,configurable:!0}),r=s,t.StiEllipseGaugeGeom=r}(Stimulsoft=Stimulsoft||{}),function(t){var e,r,n,i,o,t,u;function a(t,e,r,n,i,o,a,s){var l=u.call(this)||this;return l.rect=t,l.background=e,l.borderBrush=r,l.borderWidth=n,l.startAngle=i,l.sweepAngle=o,l.startWidth=a,l.endWidth=s,l}r=e=t.Report||(t.Report={}),i=n=r.Gauge||(r.Gauge={}),t=o=i.GaugeGeoms||(i.GaugeGeoms={}),u=t.StiGaugeGeom,__extends(a,u),Object.defineProperty(a.prototype,"type",{get:function(){return i.StiGaugeGeomType.GraphicsArcGeometry},enumerable:!1,configurable:!0}),r=a,t.StiGraphicsArcGeometryGaugeGeom=r}(Stimulsoft=Stimulsoft||{}),function(t){var e,r,n,i,o,t,a;function s(){return null!==a&&a.apply(this,arguments)||this}r=e=t.Report||(t.Report={}),i=n=r.Gauge||(r.Gauge={}),t=o=i.GaugeGeoms||(i.GaugeGeoms={}),a=t.StiGaugeGeom,__extends(s,a),Object.defineProperty(s.prototype,"type",{get:function(){return i.StiGaugeGeomType.PopTranform},enumerable:!1,configurable:!0}),r=s,t.StiPopTranformGaugeGeom=r}(Stimulsoft=Stimulsoft||{}),function(t){var e,r,n,i,o,t,a;function s(t,e){var r=a.call(this)||this;return r.angle=t,r.centerPoint=e,r}r=e=t.Report||(t.Report={}),i=n=r.Gauge||(r.Gauge={}),t=o=i.GaugeGeoms||(i.GaugeGeoms={}),a=t.StiGaugeGeom,__extends(s,a),Object.defineProperty(s.prototype,"type",{get:function(){return i.StiGaugeGeomType.PushMatrix},enumerable:!1,configurable:!0}),r=s,t.StiPushMatrixGaugeGeom=r}(Stimulsoft=Stimulsoft||{}),function(t){var e,r,n,i,o,t,h;function a(t,e,r,n,i,o,a,s,l,u,c){var p=h.call(this)||this;return p.rect=t,p.background=e,p.borderBrush=r,p.borderWidth=n,p.centerPoint=i,p.startAngle=o,p.sweepAngle=a,p.radius1=s,p.radius2=l,p.radius3=u,p.radius4=c,p}r=e=t.Report||(t.Report={}),i=n=r.Gauge||(r.Gauge={}),t=o=i.GaugeGeoms||(i.GaugeGeoms={}),h=t.StiGaugeGeom,__extends(a,h),Object.defineProperty(a.prototype,"type",{get:function(){return i.StiGaugeGeomType.RadialRange},enumerable:!1,configurable:!0}),r=a,t.StiRadialRangeGaugeGeom=r}(Stimulsoft=Stimulsoft||{}),function(t){var e,r,n,i,o,t,a;function s(t,e,r,n){var i=a.call(this)||this;return i.rect=t,i.background=e,i.borderBrush=r,i.borderWidth=n,i}r=e=t.Report||(t.Report={}),i=n=r.Gauge||(r.Gauge={}),t=o=i.GaugeGeoms||(i.GaugeGeoms={}),a=t.StiGaugeGeom,__extends(s,a),Object.defineProperty(s.prototype,"type",{get:function(){return i.StiGaugeGeomType.Rectangle},enumerable:!1,configurable:!0}),r=s,t.StiRectangleGaugeGeom=r}(Stimulsoft=Stimulsoft||{}),function(t){var e,r,n,i,o,t,u;function a(t,e,r,n,i,o,a,s){var l=u.call(this)||this;return l.rect=t,l.background=e,l.borderBrush=r,l.borderWidth=n,l.leftTop=i,l.rightTop=o,l.rightBottom=a,l.leftBottom=s,l}r=e=t.Report||(t.Report={}),i=n=r.Gauge||(r.Gauge={}),t=o=i.GaugeGeoms||(i.GaugeGeoms={}),u=t.StiGaugeGeom,__extends(a,u),Object.defineProperty(a.prototype,"type",{get:function(){return i.StiGaugeGeomType.RoundedRectangle},enumerable:!1,configurable:!0}),r=a,t.StiRoundedRectangleGaugeGeom=r}(Stimulsoft=Stimulsoft||{}),function(t){var e,r,n,i,o,a,s,l,u,c;function p(t,e,r,n,i){var o=c.call(this)||this;return o.text=t,o.font=e,o.foreground=r,o.rect=n,null==i&&((i=new s).alignment=l.Center,i.lineAlignment=l.Center,i.formatFlags=u.NoWrap),o.stringFormat=i,o}r=e=t.Report||(t.Report={}),i=n=r.Gauge||(r.Gauge={}),a=o=i.GaugeGeoms||(i.GaugeGeoms={}),s=t.System.Drawing.StringFormat,l=t.System.Drawing.StringAlignment,u=t.System.Drawing.StringFormatFlags,c=a.StiGaugeGeom,__extends(p,c),Object.defineProperty(p.prototype,"type",{get:function(){return i.StiGaugeGeomType.Text},enumerable:!1,configurable:!0}),r=p,a.StiTextGaugeGeom=r}(Stimulsoft=Stimulsoft||{}),function(t){var e,r,n,i,a,o,l,s,u,p,c,h,m,d,g;function f(t,e,r){this.geoms=[],this.gauge=t,this.rect=e,this.zoom=r}r=e=t.Report||(t.Report={}),i=n=r.Painters||(r.Painters={}),a=t.Report.Gauge.GaugeGeoms.StiPieGaugeGeom,o=t.Report.Gauge.GaugeGeoms.StiEllipseGaugeGeom,l=t.Report.Gauge.GaugeGeoms.StiGraphicsArcGeometryGaugeGeom,s=t.Report.Gauge.GaugeGeoms.StiPopTranformGaugeGeom,u=t.Report.Gauge.GaugeGeoms.StiPushMatrixGaugeGeom,p=t.Report.Gauge.GaugeGeoms.StiRadialRangeGaugeGeom,c=t.Report.Gauge.GaugeGeoms.StiRectangleGaugeGeom,h=t.Report.Gauge.GaugeGeoms.StiRoundedRectangleGaugeGeom,m=t.Report.Gauge.GaugeGeoms.StiTextGaugeGeom,d=t.System.Drawing.Font,g=t.System.Drawing.Graphics,f.changeFontSize=function(t,e){var e=t.size*e;return e<1&&(e=1),new d(t.fontFamily.name,e,t.style,t.unit)},f.prototype.measureString=function(t,e){return g.measureString(t,e)},f.prototype.addPieGaugeGeom=function(t,e,r,n,i,o){0<t.width&&0<t.height&&this.geoms.push(new a(t,e,r,n,i,o))},f.prototype.addEllipseGaugeGeom=function(t,e,r,n){0<t.width&&0<t.height&&this.geoms.push(new o(t,e,r,n))},f.prototype.addGraphicsArcGeometryGaugeGeom=function(t,e,r,n,i,o,a,s){0<t.width&&0<t.height&&this.geoms.push(new l(t,e,r,n,i,o,a,s))},f.prototype.addPopTranformGaugeGeom=function(){this.geoms.push(new s)},f.prototype.addPushMatrixGaugeGeom=function(t,e){this.geoms.push(new u(t,e))},f.prototype.addRadialRangeGaugeGeom=function(t,e,r,n,i,o,a,s,l,u,c){0<t.width&&0<t.height&&this.geoms.push(new p(t,e,r,n,i,o,a,s,l,u,c))},f.prototype.addRectangleGaugeGeom=function(t,e,r,n){0<t.width&&0<t.height&&this.geoms.push(new c(t,e,r,n))},f.prototype.addRoundedRectangleGaugeGeom=function(t,e,r,n,i,o,a,s){0<t.width&&0<t.height&&this.geoms.push(new h(t,e,r,n,i,o,a,s))},f.prototype.addTextGaugeGeom=function(t,e,r,n,i){0<n.width&&0<n.height&&this.geoms.push(new m(t,e,r,n,i))},f.prototype.addGraphicsPathGaugeGeom=function(t){0<t.rect.width&&0<t.rect.height&&this.geoms.push(t)},f.prototype.render=function(){},r=f,i.StiGaugeContextPainter=r}(Stimulsoft=Stimulsoft||{}),function(t){var e,r,n,i,o,t,l;function a(t,e,r,n,i,o,a,s){var s=l.call(this,a,s)||this;return s.centerX=i,s.centerY=o,s.startScaleX=t,s.startScaleY=r,s.endScaleX=e,s.endScaleY=n,s}r=e=t.Base||(t.Base={}),i=n=r.Context||(r.Context={}),t=o=i.Animation||(i.Animation={}),l=t.StiAnimation,__extends(a,l),Object.defineProperty(a.prototype,"type",{get:function(){return r.StiAnimationType.Scale},enumerable:!1,configurable:!0}),i=a,t.StiScaleAnimation=i}(Stimulsoft=Stimulsoft||{}),function(t){var e,r,n,i,o,t,a;function s(t,e,r,n,i){var i=a.call(this,n,i)||this;return i.startAngle=t,i.endAngle=e,i.centerPoint=r,i}r=e=t.Base||(t.Base={}),i=n=r.Context||(r.Context={}),t=o=i.Animation||(i.Animation={}),a=t.StiAnimation,__extends(s,a),Object.defineProperty(s.prototype,"type",{get:function(){return r.StiAnimationType.Rotation},enumerable:!1,configurable:!0}),i=s,t.StiRotationAnimation=i}(Stimulsoft=Stimulsoft||{}),function(t){var e,r,n,i,o,t,a;function s(t,e,r,n){var n=a.call(this,r,n)||this;return n.startPoint=t,n.endPoint=e,n}r=e=t.Base||(t.Base={}),i=n=r.Context||(r.Context={}),t=o=i.Animation||(i.Animation={}),a=t.StiAnimation,__extends(s,a),Object.defineProperty(s.prototype,"type",{get:function(){return r.StiAnimationType.Translation},enumerable:!1,configurable:!0}),i=s,t.StiTranslationAnimation=i}(Stimulsoft=Stimulsoft||{}),function(t){var e,r,n,i,o,t,s;function a(t,e,r,n,i,o){var a=s.call(this)||this;return a.x=t,a.y=e,a.width=r,a.height=n,a.startAngle=i,a.sweepAngle=o,a}r=e=t.Report||(t.Report={}),i=n=r.Gauge||(r.Gauge={}),t=o=i.GaugeGeoms||(i.GaugeGeoms={}),s=t.StiGaugeGeom,__extends(a,s),Object.defineProperty(a.prototype,"type",{get:function(){return i.StiGaugeGeomType.GraphicsPathArc},enumerable:!1,configurable:!0}),r=a,t.StiGraphicsPathArcGaugeGeom=r}(Stimulsoft=Stimulsoft||{}),function(t){var e,t,r,n;t=e=t.Report||(t.Report={}),t=r=t.Gauge||(t.Gauge={}),(t=n=t.StiGaugeGeomType||(t.StiGaugeGeomType={}))[t["GraphicsPath"]=0]="GraphicsPath",t[t["GraphicsPathArc"]=1]="GraphicsPathArc",t[t["GraphicsPathCloseFigure"]=2]="GraphicsPathCloseFigure",t[t["RoundedRectangle"]=3]="RoundedRectangle",t[t["Rectangle"]=4]="Rectangle",t[t["Pie"]=5]="Pie",t[t["Ellipse"]=6]="Ellipse",t[t["GraphicsArcGeometry"]=7]="GraphicsArcGeometry",t[t["PushMatrix"]=8]="PushMatrix",t[t["PopTranform"]=9]="PopTranform",t[t["GraphicsPathLines"]=10]="GraphicsPathLines",t[t["GraphicsPathLine"]=11]="GraphicsPathLine",t[t["Text"]=12]="Text",t[t["RadialRange"]=13]="RadialRange"}(Stimulsoft=Stimulsoft||{}),function(t){var e,r,n,l,j,o,a,s,u,c,G,H,Q,L,p,h,m,d,g,T,Y,f,U,J,E,W,V,z,X,K,Z,q,S;function y(){}r=e=t.Report||(t.Report={}),l=n=r.Export||(r.Export={}),j=t.System.StiString,o=t.System.NodeJs,a=t.System.Drawing.Imaging.ImageFormat,s=t.System.Text.Encoding,u=t.System.Drawing.Image,c=t.System.Drawing.ColorTranslator,G=t.System.Text.StringBuilder,H=t.Base.Context.Animation.StiScaleAnimation,Q=t.Base.Context.Animation.StiRotationAnimation,L=t.Base.Context.Animation.StiTranslationAnimation,p=t.Base.Drawing.StiSolidBrush,h=t.Base.Drawing.StiGradientBrush,m=t.Base.Drawing.StiGlassBrush,d=t.Base.Drawing.StiGlareBrush,g=t.Base.Drawing.StiHatchBrush,T=t.Report.Gauge.GaugeGeoms.StiGraphicsPathArcGaugeGeom,Y=t.Base.Drawing.StiBrush,f=t.System.Drawing.Color,U=t.System.Drawing.Font,J=t.Report.Gauge.GaugeGeoms.StiTextGaugeGeom,E=t.Report.Gauge.GaugeGeoms.StiGraphicsArcGeometryGaugeGeom,W=t.Report.Gauge.GaugeGeoms.StiRectangleGaugeGeom,V=t.Report.Gauge.StiGaugeGeomType,z=t.Report.Gauge.GaugeGeoms.StiPopTranformGaugeGeom,X=t.Report.Gauge.GaugeGeoms.StiPushMatrixGaugeGeom,K=t.System.Drawing.Point,Z=t.Report.Painters.StiGaugeContextPainter,q=t.System.Drawing.Rectangle,S=t.System.Xml.XmlTextWriter,y.getImage=function(t){var e=new u;if(!o.useWebKit)return e;var r=document.createElement("canvas");r.width=t.width,r.height=t.height;var n=new S(s.UTF8);y.writeGauge(n,t,1,!1),n.flush();var n=j.format('<svg xmlns="http://www.w3.org/2000/svg" style="width: {0}; height: {1}"><rect x="0" y="0" width="{0}" height="{1}" style="fill: white;"/>{2}</svg>',t.width,t.height,n.textWriter.getStringBuilder().toString());canvgv2(r,n);var r=r.toDataURL(a.Jpeg.mimeType);return e.base64=r,e},y.getImageAsync=function(i){return __awaiter(this,void 0,void 0,function(){var e,r,n,n,r;return __generator(this,function(t){if(e=new u,!o.useWebKit)return[2,e];return(r=document.createElement("canvas")).width=i.width,r.height=i.height,n=new S(s.UTF8),y.writeGauge(n,i,1,!1),n.flush(),n=j.format('<svg xmlns="http://www.w3.org/2000/svg" style="width: {0}; height: {1}"><rect x="0" y="0" width="{0}" height="{1}" style="fill: white;"/>{2}</svg>',i.width,i.height,n.textWriter.getStringBuilder().toString()),canvgv2(r,n),r=r.toDataURL(a.Jpeg.mimeType),e.base64=r,[2,e]})})},y.addAnimation=function(t,e,r,n,i){void 0===i&&(i="");var n=j.format('{{"actions":{0}, "begin":{1}, "duration":{2}}}',e,null!=r?r.totalMilliseconds:0,n.totalMilliseconds);t.writeAttributeString("_animation"+i,n)},y.writeGauge=function(t,e,r,n,i){var o,a;void 0===r&&(r=1),void 0===n&&(n=!1),void 0===i&&(i=!1);var n=e.component;n.isDesigning&&n.prepareInit();var s=new Z(n,new q(0,0,e.width,e.height),r);if(s.gauge=n,s.rect=new q(e.x,e.y,e.width,e.height),s.zoom=r,s.geoms.stimulsoft.clear(),n.drawGauge(s),i)for(var l=s.geoms.length-1,u;0<=l;l--){((u=s.geoms[l]).stimulsoft.is(J)||u.stimulsoft.is(W))&&s.geoms.stimulsoft.remove(u)}s.render();var c=0;t.writeStartElement("g"),t.writeAttributeString("transform",j.format("translate({0},{1})",(e.x+.5).toString().split(",").join("."),(e.y+.5).toString().split(",").join(".")));try{for(var p=__values(s.geoms),h=p.next();!h.done;h=p.next()){var m=h.value;if(m.stimulsoft.is(X)){var d=m;t.writeStartElement("g"),t.writeAttributeString("transform",j.format("rotate({2}, {0}, {1})",d.centerPoint.x.toString().split(",").join("."),d.centerPoint.y.toString().split(",").join("."),d.angle.toString().split(",").join(".")))}else if(m.stimulsoft.is(z))t.writeEndElement();else if(m.type==V.RoundedRectangle){var u=m,g=this.rectToRectangle(u.rect),f="";null!=u.background?f+=this.writeFillBrush(t,u.background,g):f+="fill-opacity:0;";var S=j.format("{0}",this.writeBorderStroke(t,u.borderBrush,g));f+=j.format("{0};stroke-width:{1};",S,u.borderWidth),t.writeStartElement("rect"),t.writeAttributeString("x",g.x.toString().split(",").join(".")),t.writeAttributeString("y",g.y.toString().split(",").join(".")),t.writeAttributeString("ry",u.leftTop.toString().split(",").join(".")),t.writeAttributeString("rx",u.leftTop.toString().split(",").join(".")),t.writeAttributeString("height",g.height.toString().split(",").join(".")),t.writeAttributeString("width",g.width.toString().split(",").join(".")),t.writeAttributeString("shape-rendering","crispEdges"),t.writeAttributeString("style",f),t.writeEndElement()}else if(m.type==V.Rectangle){var u=m,g=this.rectToRectangle(u.rect),f="";null!=u.background?f+=this.writeFillBrush(t,u.background,g):f+="fill-opacity:0;";var S=j.format("{0}",this.writeBorderStroke(t,u.borderBrush,g));f+=j.format("{0};stroke-width:{1};",S,u.borderWidth),t.writeStartElement("rect"),t.writeAttributeString("x",g.x.toString().split(",").join(".")),t.writeAttributeString("y",g.y.toString().split(",").join(".")),t.writeAttributeString("height",(g.height+1).toString().split(",").join(".")),t.writeAttributeString("width",(g.width+1).toString().split(",").join(".")),t.writeAttributeString("shape-rendering","crispEdges"),t.writeAttributeString("style",f.toString()),t.writeEndElement()}else if(m.type==V.GraphicsPath){var u=m,g=this.rectToRectangle(u.rect),f="",y="";f=null!=u.background?this.writeFillBrush(t,u.background,g):"fill-opacity:0;";var S=j.format("{0}",this.writeBorderStroke(t,u.borderBrush,g));f+=j.format("{0};stroke-width:{1};",S,u.borderWidth.toString().split(",").join("."));var A=this.getPathData(u.geoms,u.startPoint),d,b,b,C,v;t.writeStartElement("path"),t.writeAttributeString("d",A),t.writeAttributeString("style",f),null!=u.animation&&(u.animation.stimulsoft.is(L)?(d=u.animation).startPoint.x!=d.endPoint.x?(b=(d.startPoint.x-d.endPoint.x).toString().split(",").join("."),this.addAnimation(t,j.format('[["transform", {0}, 0,",0)", "translate("]]',b),d.beginTime,d.duration),t.writeAttributeString("transform",j.format("translate({0}, 0)",b))):(b=(d.startPoint.y-d.endPoint.y).toString().split(",").join("."),this.addAnimation(t,j.format('[["transform", {0}, 0,")", "translate(0,"]]',b),d.beginTime,d.duration),t.writeAttributeString("transform",j.format("translate(0, {0})",b))):u.animation.stimulsoft.is(Q)?(C=u.animation,t.writeAttributeString("transform",j.format("rotate({0}, {1}, {2})",C.startAngle.toString().split(",").join("."),C.centerPoint.x.toString().split(",").join("."),C.centerPoint.y.toString().split(",").join("."))),this.addAnimation(t,j.format('[["transform", {0}, {1},", {2}, {3})", "rotate("]]',C.startAngle.toString().split(",").join("."),C.endAngle.toString().split(",").join("."),C.centerPoint.x.toString().split(",").join("."),C.centerPoint.y.toString().split(",").join(".")),C.beginTime,C.duration)):u.animation.stimulsoft.is(H)&&(t.writeAttributeString("opacity","0"),v=u.animation,this.addAnimation(t,j.format('[["scaleCenter", {0}, {1}, {2}, {3}, {4}, {5}]]',v.startScaleX.toString().split(",").join("."),v.endScaleX.toString().split(",").join("."),v.startScaleY.toString().split(",").join("."),v.endScaleY.toString().split(",").join("."),(Math.abs(v.centerX-u.startPoint.x)>Math.abs(.15*v.centerX)).toString().toLowerCase(),(Math.abs(v.centerY-u.startPoint.y)>Math.abs(.15*v.centerY)).toString().toLowerCase()),v.beginTime,v.duration))),t.writeEndElement()}else if(m.type==V.Pie){var u=m,g=this.rectToRectangle(u.rect),f="",y="";f=null!=u.background?this.writeFillBrush(t,u.background,g):"fill-opacity:0;";var S=j.format("{0}",this.writeBorderStroke(t,u.borderBrush,g));f+=j.format("{0};stroke-width:{1};",S,u.borderWidth.toString().split(",").join("."));var A=this.addPiePath(u,"");t.writeStartElement("path"),t.writeAttributeString("d",A),t.writeAttributeString("style",f),t.writeEndElement()}else if(m.type==V.Ellipse){var w=m,g=this.rectToRectangle(w.rect),f="",y="";f=null!=w.background?this.writeFillBrush(t,w.background,g):"fill-opacity:0;";var S=j.format("{0}",this.writeBorderStroke(t,w.borderBrush,g));f+=j.format("{0};stroke-width:{1};",S,w.borderWidth.toString().split(",").join(".")),t.writeStartElement("ellipse"),t.writeAttributeString("cx",(g.x+g.width/2).toString().split(",").join(".")),t.writeAttributeString("cy",(g.y+g.height/2).toString().split(",").join(".")),t.writeAttributeString("rx",(g.width/2).toString().split(",").join(".")),t.writeAttributeString("ry",(g.height/2).toString().split(",").join(".")),t.writeAttributeString("style",f),t.writeEndElement()}else if(m.type==V.GraphicsArcGeometry){var u=m,f="",y="",g=this.rectToRectangle(u.rect);f=null!=u.background?this.writeFillBrush(t,u.background,g):"fill-opacity:0;";var S=j.format("{0}",this.writeBorderStroke(t,u.borderBrush,g));f+=j.format("{0};stroke-width:{1};",S,u.borderWidth.toString().split(",").join("."));var A=this.addArcPath(u,"");t.writeStartElement("path"),t.writeAttributeString("d",A),t.writeAttributeString("style",f),t.writeEndElement()}else if(m.type==V.Text){var B=m,C=new U(B.font.name,B.font.size,B.font.style,B.font.unit),v=new K,g=this.rectToRectangle(B.rect),v=new K(g.x,g.y),f=new G,w=4*C.size/3;t.writeStartElement("text"),f.appendFormat("text-anchor:{0};","middle"),t.writeAttributeString("dy","0.9em"),t.writeAttributeString("dx",j.format("{0}em",(.3*B.text.length).toString().split(",").join("."))),t.writeAttributeString("transform",j.format("translate({0}, {1}) ",v.x.toString().split(",").join("."),v.y.toString().split(",").join("."))),t.writeAttributeString("font-size",w.toString().split(",").join(".")),t.writeAttributeString("font-family",C.fontFamily.name);var C=Y.toColor(B.foreground);f.append(j.format("fill:#{0:X2}{1:X2}{2:X2};",C.r,C.g,C.b)),255!=C.a&&f.append(j.format("fill-opacity:{0}",Math.round2(C.a/255,3).toString().split(",").join("."))),t.writeAttributeString("style",f.toString()),t.writeString(B.text),t.writeEndElement()}else if(m.type==V.RadialRange){var u,I=(u=m).startAngle*this.PiDiv180,T=new G,E=u.centerPoint,B=E.x+u.radius1*Math.cos(I),m=E.y+u.radius1*Math.sin(I),R=new K(B,m),D=Math.round2(Math.abs(u.sweepAngle/10)),P=u.sweepAngle/D,I=u.startAngle,x=u.radius1-u.radius2,F=1/D,N=0;T.appendFormat("M{0},{1}",B.toString().split(",").join("."),m.toString().split(",").join(".")),I=u.startAngle;var k=-1;while(++k<D){var M=u.radius1-x*N,O=u.radius1-x*(N+F),_=this.convertArcToCubicBezier3(new K(E.x,E.y),M,O,I,P);0==k?T.appendFormat(" C{0},{1},{2},{3},{4},{5}",_[1].x.toString().split(",").join("."),_[1].y.toString().split(",").join("."),_[2].x.toString().split(",").join("."),_[2].y.toString().split(",").join("."),_[3].x.toString().split(",").join("."),_[3].y.toString().split(",").join(".")):T.appendFormat(",{0},{1},{2},{3},{4},{5}",_[1].x.toString().split(",").join("."),_[1].y.toString().split(",").join("."),_[2].x.toString().split(",").join("."),_[2].y.toString().split(",").join("."),_[3].x.toString().split(",").join("."),_[3].y.toString().split(",").join(".")),I+=P,N+=F,k==D-1&&(R=_[3])}for(P=u.sweepAngle/D,x=u.radius3-u.radius4,F=1/D,N=D,I=u.startAngle+u.sweepAngle,k=0;k<D;k++){var M=u.radius3-x*N,O=u.radius3-x*(N+F),_=this.convertArcToCubicBezier3(E,M,O,I,-P);0==k?(T.appendFormat(" L{0},{1}",_[0].x.toString().split(",").join("."),_[0].y.toString().split(",").join(".")),T.appendFormat(" C{0},{1},{2},{3},{4},{5}",_[1].x.toString().split(",").join("."),_[1].y.toString().split(",").join("."),_[2].x.toString().split(",").join("."),_[2].y.toString().split(",").join("."),_[3].x.toString().split(",").join("."),_[3].y.toString().split(",").join("."))):T.appendFormat(",{0},{1},{2},{3},{4},{5}",_[1].x.toString().split(",").join("."),_[1].y.toString().split(",").join("."),_[2].x.toString().split(",").join("."),_[2].y.toString().split(",").join("."),_[3].x.toString().split(",").join("."),_[3].y.toString().split(",").join(".")),I-=P,N-=F}T.appendFormat("z");var f="",y="",g=this.rectToRectangle(u.rect);f=null!=u.background?this.writeFillBrush(t,u.background,g):"fill-opacity:0;";var S=j.format("{0}",this.writeBorderStroke(t,u.borderBrush,g));f+=j.format("{0};stroke-width:{1};",S,u.borderWidth.toString().split(",").join(".")),t.writeStartElement("path"),t.writeAttributeString("d",T.toString()),t.writeAttributeString("style",f),t.writeEndElement()}}}catch(t){o={error:t}}finally{try{h&&!h.done&&(a=p.return)&&a.call(p)}finally{if(o)throw o.error}}t.writeEndElement()},y.getPathData=function(t,e){var r,n,i=j.format("M{0},{1}",e.x.toString().split(",").join("."),e.y.toString().split(",").join(".")),o=0;try{for(var a=__values(t),s=a.next();!s.done;s=a.next()){var l=s.value;if(l.type==V.GraphicsPathArc){var u=l;i+=this.getArcPath(new q(u.x,u.y,u.width,u.height),i,u.startAngle,u.sweepAngle,0==o)}else if(l.type==V.GraphicsPathLine){var u=l,c=new G;i.stimulsoft.startsWith("M")||c.appendFormat("M{0},{1}",u.p2.x.toString().split(",").join("."),u.p2.y.toString().split(",").join(".")),c.appendFormat("L{0},{1}",u.p2.x.toString().split(",").join("."),u.p2.y.toString().split(",").join(".")),i+=c}else if(l.type==V.GraphicsPathLines){var p=l,c=new G;i.stimulsoft.startsWith("M")||c.appendFormat("M{0},{1}",p.points[0].x.toString().split(",").join("."),p.points[0].y.toString().split(",").join("."));for(var h=0;h<p.points.length;h++)0==h?c.appendFormat("L{0},{1}",p.points[h].x.toString().split(",").join("."),p.points[h].y.toString().split(",").join(".")):c.appendFormat(",{0},{1}",p.points[h].x.toString().split(",").join("."),p.points[h].y.toString().split(",").join("."));i+=c}else l.type==V.GraphicsPathCloseFigure&&(i+="z");o++}}catch(t){r={error:t}}finally{try{s&&!s.done&&(n=a.return)&&n.call(a)}finally{if(r)throw r.error}}return i},y.getArcPath=function(t,e,r,n,i){var o=!1,a=new G(e),s=new K(t.left+t.width/2,t.top+t.height/2),l=new K(s.x-t.width/2,s.y-t.height/2),u=new K(s.x,s.y-t.height/2),c=new K(s.x+t.width/2,s.y-t.height/2),p=new K(s.x+t.width/2,s.y),h=new K(s.x+t.width/2,s.y+t.height/2),m=new K(s.x,s.y+t.height/2),d=new K(s.x-t.width/2,s.y+t.height/2),e=new K(s.x-t.width/2,s.y);if(0==r?90==n?(i&&a.appendFormat("M{0},{1}",p.x.toString().split(",").join("."),p.y.toString().split(",").join(".")),a.appendFormat("Q{0},{1},{2},{3}",h.x.toString().split(",").join("."),h.y.toString().split(",").join("."),m.x.toString().split(",").join("."),m.y.toString().split(",").join(".")),o=!0):180==n&&(i&&a.appendFormat("M{0},{1}",p.x.toString().split(",").join("."),p.y.toString().split(",").join(".")),a.appendFormat("A{0},{1},90,1,1,{2},{3}",(t.height/2).toString().split(",").join("."),(t.width/2).toString().split(",").join("."),e.x.toString().split(",").join("."),e.y.toString().split(",").join(".")),o=!0):90==r?90==n?(i&&a.appendFormat("M{0},{1}",m.x.toString().split(",").join("."),m.y.toString().split(",").join(".")),a.appendFormat("Q{0},{1},{2},{3}",d.x.toString().split(",").join("."),d.y.toString().split(",").join("."),e.x.toString().split(",").join("."),e.y.toString().split(",").join(".")),o=!0):180==n&&(i&&a.appendFormat("M{0}, {1}",m.x.toString().split(",").join("."),m.y.toString().split(",").join(".")),a.appendFormat("A{0},{1},90,1,1,{2},{3}",(t.height/2).toString().split(",").join("."),(t.width/2).toString().split(",").join("."),u.x.toString().split(",").join("."),u.y.toString().split(",").join(".")),o=!0):180==r?90==n?(i&&a.appendFormat("M{0},{1}",e.x.toString().split(",").join("."),e.y.toString().split(",").join(".")),a.appendFormat("Q{0},{1},{2},{3}",l.x.toString().split(",").join("."),l.y.toString().split(",").join("."),u.x.toString().split(",").join("."),u.y.toString().split(",").join(".")),o=!0):180==n&&(i&&a.appendFormat("M{0},{1}",e.x.toString().split(",").join("."),e.y.toString().split(",").join(".")),a.appendFormat("A{0},{1},90,1,1,{2},{3}",(t.height/2).toString().split(",").join("."),(t.width/2).toString().split(",").join("."),p.x.toString().split(",").join("."),p.y.toString().split(",").join(".")),o=!0):270==r&&(90==n?(a.appendFormat("M{0},{1}",u.x.toString().split(",").join("."),u.y.toString().split(",").join(".")),a.appendFormat("Q{0},{1},{2},{3}",c.x.toString().split(",").join("."),c.y.toString().split(",").join("."),p.x.toString().split(",").join("."),p.y.toString().split(",").join(".")),o=!0):180==n&&(i&&a.appendFormat("M{0},{1}",u.x.toString().split(",").join("."),u.y.toString().split(",").join(".")),a.appendFormat("A{0},{1},90,1,1,{2},{3}",(t.height/2).toString().split(",").join("."),(t.width/2).toString().split(",").join("."),m.x.toString().split(",").join("."),m.y.toString().split(",").join(".")),o=!0)),!o){var g=Math.min(t.width/2,t.height/2),f=r*this.PiDiv180,o=s.x+g*Math.cos(f),t=s.y+g*Math.sin(f),S=new K(o,t),y=!1;0==a.length?a.appendFormat("M{0},{1}",S.x.toString().split(",").join("."),S.y.toString().split(",").join(".")):y=!0;var A=this.round(Math.abs(n/90)),b=n/A,f=r,C=-1;while(++C<A){var v=this.convertArcToCubicBezier(s,g,f,b);y&&(a.appendFormat("M{0},{1}",v[0].x.toString().split(",").join("."),v[0].y.toString().split(",").join(".")),y=!1),a.appendFormat(" C{0},{1},{2},{3},{4},{5}",v[1].x.toString().split(",").join("."),v[1].y.toString().split(",").join("."),v[2].x.toString().split(",").join("."),v[2].y.toString().split(",").join("."),v[3].x.toString().split(",").join("."),v[3].y.toString().split(",").join(".")),S=v[3],f+=b}}return a.toString()},y.convertArcToCubicBezier=function(t,e,r,n){var i=r*this.PiDiv180,o=n*this.PiDiv180,a=i+o,s=t.x+e*Math.cos(i),l=t.y+e*Math.sin(i),u=t.x+e*Math.cos(a),c=t.y+e*Math.sin(a),p=e*this.FourDivThree*Math.tan(.25*o),r=Math.atan(p/e),n=e/Math.cos(r);r+=i;var o=t.x+n*Math.cos(r),i=t.y+n*Math.sin(r),r=Math.atan(-p/e);r+=a;var a=t.x+n*Math.cos(r),r=t.y+n*Math.sin(r);return[new K(s,l),new K(o,i),new K(a,r),new K(u,c)]},y.addArcPath=function(t,e){var r=(t.stimulsoft.is(T)?t:t.rect).x,n=(t.stimulsoft.is(T)?t:t.rect).y,i=(t.stimulsoft.is(T)?t:t.rect).width,o=(t.stimulsoft.is(T)?t:t.rect).height,a=(t.stimulsoft.is(T),t.startAngle),s=(t.stimulsoft.is(T),t.sweepAngle),l=new G,u=r+i/2,c=n+o/2,p=i/2,h=a*Math.PI/180,m=u+p*Math.cos(h),d=c+p*Math.sin(h);e.stimulsoft.startsWith("M")||l.appendFormat("M{0},{1}",m.toString().split(",").join("."),d.toString().split(",").join("."));var g,f=s/(g=this.round(Math.abs(s/10)));h=a;for(var S=new K(0,0),y=0;y<g;y++){var A=this.convertArcToCubicBezier2(new q(r,n,i,o),h,f);0==y?l.appendFormat(" C{0},{1},{2},{3},{4},{5}",A[1].x.toString().split(",").join("."),A[1].y.toString().split(",").join("."),A[2].x.toString().split(",").join("."),A[2].y.toString().split(",").join("."),A[3].x.toString().split(",").join("."),A[3].y.toString().split(",").join(".")):l.appendFormat(",{0},{1},{2},{3},{4},{5}",A[1].x.toString().split(",").join("."),A[1].y.toString().split(",").join("."),A[2].x.toString().split(",").join("."),A[2].y.toString().split(",").join("."),A[3].x.toString().split(",").join("."),A[3].y.toString().split(",").join(".")),h+=f,S=A[3]}if(t.stimulsoft.is(E)){var t=t,g,f=s/(g=this.round(Math.abs(s/10))),b=p-i*t.startWidth,t=p-i*t.endWidth;if(b<=0||t<=0)return null;for(var C=b-t,v=1/g,w=g,h=a+s,y=0;y<g;y++){var B=b-C*w,I=b-C*(w+v),A=this.convertArcToCubicBezier3(new K(u,c),B,I,h,-f);0==y?(l.appendFormat(" L{0},{1}",A[0].x.toString().split(",").join("."),A[0].y.toString().split(",").join(".")),l.appendFormat(" C{0},{1},{2},{3},{4},{5}",A[1].x.toString().split(",").join("."),A[1].y.toString().split(",").join("."),A[2].x.toString().split(",").join("."),A[2].y.toString().split(",").join("."),A[3].x.toString().split(",").join("."),A[3].y.toString().split(",").join("."))):l.appendFormat(",{0},{1},{2},{3},{4},{5}",A[1].x.toString().split(",").join("."),A[1].y.toString().split(",").join("."),A[2].x.toString().split(",").join("."),A[2].y.toString().split(",").join("."),A[3].x.toString().split(",").join("."),A[3].y.toString().split(",").join(".")),h-=f,w-=v}l.appendFormat("z")}return l.toString()},y.addPiePath=function(t,e){var r=new G,n=t.rect.x+t.rect.width/2,i=t.rect.y+t.rect.height/2,o=t.rect.width/2,a=t.startAngle*Math.PI/180,s=n+o*Math.cos(a),o=i+o*Math.sin(a);r.appendFormat("M{0},{1}",n.toString().split(",").join("."),i.toString().split(",").join(".")),r.appendFormat("L{0},{1}",s.toString().split(",").join("."),o.toString().split(",").join("."));for(var l=this.round(Math.abs(t.sweepAngle/90)),u=t.sweepAngle/l,a=t.startAngle,c=0;c<l;c++){for(var p=this.convertArcToCubicBezier2(t.rect,a,u),h=1;h<p.length-1;h+=3)1==h?r.appendFormat("C{0},{1},{2},{3},{4},{5}",p[h].x.toString().split(",").join("."),p[h].y.toString().split(",").join("."),p[h+1].x.toString().split(",").join("."),p[h+1].y.toString().split(",").join("."),p[h+2].x.toString().split(",").join("."),p[h+2].y.toString().split(",").join(".")):r.appendFormat(",{0},{1},{2},{3},{4},{5}",p[h].x.toString().split(",").join("."),p[h].y.toString().split(",").join("."),p[h+1].x.toString().split(",").join("."),p[h+1].y.toString().split(",").join("."),p[h+2].x.toString().split(",").join("."),p[h+2].y.toString().split(",").join("."));a+=u}return r.appendFormat("L{0},{1}",n.toString().split(",").join("."),i.toString().split(",").join(".")),r.toString()},y.convertArcToCubicBezier2=function(t,e,r){var n=t.x+t.width/2,i=t.y+t.height/2,o=Math.min(t.width/2,t.height/2),a=e*Math.PI/180,s=r*Math.PI/180,l=(e+r)*Math.PI/180,u=n+o*Math.cos(a),c=i+o*Math.sin(a),p=n+o*Math.cos(l),h=i+o*Math.sin(l),t=4*o/3*Math.tan(.25*s),e=Math.atan(t/o),r=o/Math.cos(e);e+=a;var s=n+r*Math.cos(e),a=i+r*Math.sin(e),e=Math.atan(-t/o);e+=l;var n=n+r*Math.cos(e),e=i+r*Math.sin(e);return[new K(u,c),new K(s,a),new K(n,e),new K(p,h)]},y.convertArcToCubicBezier3=function(t,e,r,n,i){var o=n*this.PiDiv180,a=i*this.PiDiv180,s=o+a,l=t.x+e*Math.cos(o),u=t.y+e*Math.sin(o),c=t.x+r*Math.cos(s),p=t.y+r*Math.sin(s),n=(e-r)/3;r+=n;var i=(e-=n)*this.FourDivThree*Math.tan(.25*a),r=Math.atan(i/e),n=e/Math.cos(r);r+=o;var a=t.x+n*Math.cos(r),o=t.y+n*Math.sin(r),r=Math.atan(-i/e);r+=s;var s=t.x+n*Math.cos(r),r=t.y+n*Math.sin(r);return[new K(l,u),new K(a,o),new K(s,r),new K(c,p)]},y.round=function(t){var e=Math.trunc(t),r;return 0<t-e?e+1:e},y.writeText=function(t,e,r,n,i,o){var a=new G;t.writeStartElement("text"),a.appendFormat("text-anchor:{0};","middle"),t.writeAttributeString("dy","0.9em"),t.writeAttributeString("dx",(.3*e.length).toString().stimulsoft.replaceAll(", ",".")+"em"),t.writeAttributeString("transform","translate("+i.x.toString().stimulsoft.replaceAll(", ",".")+", "+i.y.toString().stimulsoft.replaceAll(", ",".")+") "),t.writeAttributeString("font-size",o.toString().split(",").join(".")),t.writeAttributeString("font-family",r.fontFamily.name);var n=Y.toColor(n);a.append("fill:"+c.toHtml(n)+";"),255!=n.a&&a.append("fill-opacity:"+Math.round2(n.a/255,3).toString().stimulsoft.replaceAll(", ",".")),t.writeAttributeString("style",a.toString()),t.writeRaw(e),t.writeEndElement()},y.calculateCurveBezier=function(t,e,r){var n=t[e+2].x-t[e+0].x,i=t[e+2].y-t[e+0].y;return[new K(t[e+1].x-r*n,t[e+1].y-r*i),new K(t[e+1].x+r*n,t[e+1].y+r*i)]},y.calculateCurveBezierEndPoints=function(t,e,r){return new K(r*(e.x-t.x)+t.x,r*(e.y-t.y)+t.y)},y.writeFillBrush=function(t,e,r){if(e instanceof f){var n=e;return j.format("fill:rgb({0},{1},{2});fill-opacity:{3};",n.r,n.g,n.b,Math.round2(n.a/255,3).toString().split(",").join("."))}if(e.is(h)){var i=l.StiBrushSvgHelper.writeGradientBrush(t,e,r);return j.format("fill:url(#{0});",i)}if(e.is(d)){var i=l.StiBrushSvgHelper.writeGlareBrush(t,e,r);return j.format("fill:url(#{0});",i)}if(e.is(m)){var i=l.StiBrushSvgHelper.writeGlassBrush(t,e,r);return j.format("fill:url(#{0});",i)}if(e.is(g)){var i=l.StiBrushSvgHelper.writeHatchBrush(t,e);return j.format("fill:url(#{0});",i)}if(e.is(Y)){var n=Y.toColor(e);return j.format("fill:rgb({0},{1},{2});fill-opacity:{3};",n.r,n.g,n.b,Math.round2(n.a/255,3).toString().split(",").join("."))}return"fill-opacity:0;"},y.writeBorderStroke=function(t,e,r){if(e instanceof f){var n=e,i=j.format("stroke:rgb({0},{1},{2});",n.r,n.g,n.b),o;return 1!=(o=Math.round2(n.a/255,3))&&(i+=j.format("stroke-opacity:{0};",o.toString().split(",").join("."))),i}if(null!=e&&e.is(p)){var a=e,i=j.format("stroke:rgb({0},{1},{2});",a.color.r,a.color.g,a.color.b),o;return 1!=(o=Math.round2(a.color.a/255,3))&&(i+=j.format("stroke-opacity:{0};",o.toString().split(",").join("."))),i}if(null!=e&&e.is(h)){var s=l.StiBrushSvgHelper.writeGradientBrush(t,e,r);return j.format("fill:url(#{0});",s)}if(null!=e&&e.is(d)){var s=l.StiBrushSvgHelper.writeGlareBrush(t,e,r);return j.format("fill:url(#{0});",s)}if(null!=e&&e.is(m)){var s=l.StiBrushSvgHelper.writeGlassBrush(t,e,r);return j.format("fill:url(#{0});",s)}if(null!=e&&e.is(g)){var s=l.StiBrushSvgHelper.writeHatchBrush(t,e);return j.format("fill:url(#{0});",s)}var n,i,o;return null!=e&&e.is(Y)&&(n=Y.toColor(e),i=j.format("stroke:rgb({0},{1},{2})",n.r,n.g,n.b),1!=(o=Math.round2(n.a/255,3))&&(i+=j.format(";stroke-opacity:{0}",o.toString().split(",").join(".")))),"stroke-opacity:0"},y.rectToRectangle=function(t){if(t instanceof q)return t;return new q},y.PiDiv180=Math.PI/180,y.FourDivThree=4/3,r=y,l.StiGaugeSvgHelper=r}(Stimulsoft=Stimulsoft||{}),function(t){var e,r,n,i,h,m,d,g,f;function o(){this.useBackground=!1}r=e=t.Report||(t.Report={}),i=n=r.Painters||(r.Painters={}),h=t.System.StiString,m=t.System.Collections.List,d=t.Report.Dictionary.StiDataColumn,g=t.Base.Helpers.StiBingMapHelper,f=t.System.StiPromise,o.prototype.getImageAsync=function(t,e,r,n){void 0===r&&(r=null),void 0===n&&(n=null);var i=new f,o=t.report.info.zoom;this.useBackground&&(e*=2),t.report.info.zoom=e;var e=t.getPaintRectangle();e.x=0,e.y=0,e.width=null!=r?r:e.width,e.height=null!=n?n:e.height
;var a=Math.trunc(e.width)+2,s=Math.trunc(e.height)+2;return this.paintOnlineMapAsync(e,t).try(function(t){i.callTry(t)}),t.report.info.zoom=o,i},o.prototype.paintOnlineMapAsync=function(t,e){var r=new f,n=t.size;try{var i=new m,o;if(!h.isNullOrEmpty(e.latitude)&&!h.isNullOrEmpty(e.longitude)){e.report.isDesigning&&this.useBackground||e.report.dictionary.connect();var a=d.getDataListFromDataColumn(e.report.dictionary,e.latitude),s=d.getDataListFromDataColumn(e.report.dictionary,e.longitude);if(e.report.isDesigning&&this.useBackground||e.report.dictionary.disconnect(),null!=a&&null!=s){var l=Math.max(a.length,s.length);100<l&&(l=100);for(var u=0;u<l;u++){var c=a[u],p=s[u];if(null==c||null==p)continue;var c=this.tryToDecimal(c).toString(),p=this.tryToDecimal(p).toString();i.add("pp="+c+","+p+";60")}}}if(e.isDesigning)if(this.useBackground)r.callTry("");else try{g.getImageAsync(n,e,i).try(function(t){r.callTry(t)})}catch(t){r.callTry("")}else!e.isDesigning&&null!=e.mapImage&&0<e.mapImage.length&&(o='<image x="0" y="0" width="'+n.width+'" height="'+n.height+'" xlink:href="data:image/png;base64,'+e.mapImage+'" />',r.callTry(o)),g.getImageAsync(n,e,i).try(function(t){r.callTry(t)})}catch(t){r.callTry("")}return r},o.prototype.tryToDecimal=function(t){var t=parseFloat(t);return t||0},r=o,i.StiMapGdiPainter=r}(Stimulsoft=Stimulsoft||{}),function(t){var e,r,n,i,a,o,s,l,u,c,p;function h(){}r=e=t.Report||(t.Report={}),i=n=r.Maps||(r.Maps={}),a=t.System.StiObject,o=t.System.StiString,s=t.System.Enum,l=t.System.Guid,u=t.System.StiPromise,c=t.Report.Painters.StiMapGdiPainter,h.addToCahe=function(t,e,r){var n=l.newGuid().toString();return this.cache[n]={map:t,width:e,height:r},n},h.renderOnlineMap=function(n){var i=new u;if(0==a.keys(h.cache).length)i.callTry();else{var t=function(e){var t=o.cache[e],r=new c;r.key=e,r.getImageAsync(t.map,1,t.width,t.height).try(function(t){delete h.cache[e],n.getStream().getStringBuilder().replace(e,t),n.getStream().getStringBuilder().replace("&(*","&(*"),0==a.keys(h.cache).length&&i.callTry()})},o=this,e;for(e in this.cache)t(e)}return i},h.isWorld=function(t){return t==i.StiMapID.World},h.isAfrica=function(t){return t==i.StiMapID.SouthAfrica},h.isNorthAmerica=function(t){switch(t){case i.StiMapID.USA:case i.StiMapID.Canada:case i.StiMapID.Mexico:return!0}return!1},h.isSouthAmerica=function(t){switch(t){case i.StiMapID.Argentina:case i.StiMapID.Bolivia:case i.StiMapID.Brazil:case i.StiMapID.Chile:case i.StiMapID.Colombia:case i.StiMapID.Ecuador:case i.StiMapID.FalklandIslands:case i.StiMapID.Guyana:case i.StiMapID.Paraguay:case i.StiMapID.Peru:case i.StiMapID.Suriname:case i.StiMapID.Uruguay:case i.StiMapID.Venezuela:return!0}return!1},h.isEU=function(t){switch(t){case i.StiMapID.Albania:case i.StiMapID.Andorra:case i.StiMapID.Austria:case i.StiMapID.Belarus:case i.StiMapID.Belgium:case i.StiMapID.BosniaAndHerzegovina:case i.StiMapID.Bulgaria:case i.StiMapID.Croatia:case i.StiMapID.CzechRepublic:case i.StiMapID.Denmark:case i.StiMapID.Estonia:case i.StiMapID.EU:case i.StiMapID.Finland:case i.StiMapID.France:case i.StiMapID.Georgia:case i.StiMapID.Germany:case i.StiMapID.Greece:case i.StiMapID.Hungary:case i.StiMapID.Iceland:case i.StiMapID.Ireland:case i.StiMapID.Italy:case i.StiMapID.Latvia:case i.StiMapID.Liechtenstein:case i.StiMapID.Lithuania:case i.StiMapID.Luxembourg:case i.StiMapID.Macedonia:case i.StiMapID.Malta:case i.StiMapID.Moldova:case i.StiMapID.Monaco:case i.StiMapID.Montenegro:case i.StiMapID.Netherlands:case i.StiMapID.Norway:case i.StiMapID.Poland:case i.StiMapID.Portugal:case i.StiMapID.Romania:case i.StiMapID.Russia:case i.StiMapID.SanMarino:case i.StiMapID.Serbia:case i.StiMapID.Slovakia:case i.StiMapID.Slovenia:case i.StiMapID.Spain:case i.StiMapID.Sweden:case i.StiMapID.Switzerland:case i.StiMapID.Turkey:case i.StiMapID.UK:case i.StiMapID.UKCountries:case i.StiMapID.Ukraine:case i.StiMapID.Vatican:return!0}return!1},h.isOceania=function(t){switch(t){case i.StiMapID.Australia:case i.StiMapID.Indonesia:case i.StiMapID.NewZealand:return!0}return!1},h.isAsia=function(t){switch(t){case i.StiMapID.Armenia:case i.StiMapID.Azerbaijan:case i.StiMapID.China:case i.StiMapID.Cyprus:case i.StiMapID.India:case i.StiMapID.Israel:case i.StiMapID.Japan:case i.StiMapID.Kazakhstan:case i.StiMapID.Malaysia:case i.StiMapID.Philippines:case i.StiMapID.SaudiArabia:case i.StiMapID.SouthKorea:case i.StiMapID.Thailand:case i.StiMapID.Vietnam:case i.StiMapID.MiddleEast:case i.StiMapID.Oman:case i.StiMapID.Qatar:return!0}return!1},h.getStates=function(t,e){var e=i.StiMapLoader.loadResource(t,s.getName(i.StiMapID,e));if(null==e)return[];return e.hashPaths.keys.stimulsoft.toArray()},h.getMapSample=function(){return null==h.globalReport&&(h.globalReport=new r.StiReport),null==h.globalMap&&((h.globalMap=new i.StiMap).mapData='[{"Key":"Alabama","Group":"3"},{"Key":"Alaska","Group":"1"},{"Key":"Arizona","Group":"1"},{"Key":"Arkansas","Group":"2"},{"Key":"California","Group":"1"},{"Key":"Colorado","Group":"1"},{"Key":"Connecticut","Group":"3"},{"Key":"Delaware","Group":"3"},{"Key":"Florida","Group":"3"},{"Key":"Georgia","Group":"3"},{"Key":"Hawaii","Group":"2"},{"Key":"Idaho","Group":"1"},{"Key":"Illinois","Group":"3"},{"Key":"Indiana","Group":"3"},{"Key":"Iowa","Group":"2"},{"Key":"Kansas","Group":"2"},{"Key":"Kentucky","Group":"3"},{"Key":"Louisiana","Group":"2"},{"Key":"Maine","Group":"3"},{"Key":"Maryland","Group":"3"},{"Key":"Massachusetts","Group":"3"},{"Key":"Michigan","Group":"3"},{"Key":"Minnesota","Group":"2"},{"Key":"Mississippi","Group":"3"},{"Key":"Missouri","Group":"2"},{"Key":"Montana","Group":"1"},{"Key":"Nebraska","Group":"2"},{"Key":"Nevada","Group":"1"},{"Key":"NewHampshire","Group":"3"},{"Key":"NewJersey","Group":"3"},{"Key":"NewMexico","Group":"1"},{"Key":"NewYork","Group":"3"},{"Key":"NorthCarolina","Group":"3"},{"Key":"NorthDakota","Group":"2"},{"Key":"Ohio","Group":"3"},{"Key":"Oklahoma","Group":"2"},{"Key":"Oregon","Group":"1"},{"Key":"Pennsylvania","Group":"3"},{"Key":"RhodeIsland","Group":"3"},{"Key":"SouthCarolina","Group":"3"},{"Key":"SouthDakota","Group":"2"},{"Key":"Tennessee","Group":"3"},{"Key":"Texas","Group":"2"},{"Key":"Utah","Group":"1"},{"Key":"Vermont","Group":"3"},{"Key":"Virginia","Group":"3"},{"Key":"Washington","Group":"1"},{"Key":"WestVirginia","Group":"3"},{"Key":"Wisconsin","Group":"3"},{"Key":"Wyoming","Group":"1"}]',h.globalReport.pages.getByIndex(0).components.add(h.globalMap)),h.globalMap.stretch=!0,h.globalMap.mapType=i.StiMapType.Individual,h.globalMap.displayNameType=i.StiDisplayNameType.None,h.globalMap.mapIdent="USA",h.globalMap.showValue=!1,h.globalMap.stretch=!0,h.globalMap},h.getColors=function(){return[t.System.Drawing.ColorTranslator.fromHtml("#90c2a8"),t.System.Drawing.ColorTranslator.fromHtml("#da5459"),t.System.Drawing.ColorTranslator.fromHtml("#efca70"),t.System.Drawing.ColorTranslator.fromHtml("#63b8e3"),t.System.Drawing.ColorTranslator.fromHtml("#ab92c4"),t.System.Drawing.ColorTranslator.fromHtml("#6d58d9"),t.System.Drawing.ColorTranslator.fromHtml("#fb6b40"),t.System.Drawing.ColorTranslator.fromHtml("#e34e2e")]},h.prepareIsoCode=function(t){if(o.isNullOrEmpty(t))return"";var e=t.indexOf("-");if(-1!=e)return t.substring(e+1);return t},h.cache={},p=h,i.StiMapHelper=p}(Stimulsoft=Stimulsoft||{}),function(t){var e,r,n,i,o;function a(t){this._color=null,this.key=t}r=e=t.Report||(t.Report={}),i=n=r.Maps||(r.Maps={}),o=t.System.StiString,Object.defineProperty(a.prototype,"value",{get:function(){return this._value},set:function(t){this._value!=t&&(this._value=t,this.invokeValueChanged())},enumerable:!1,configurable:!0}),Object.defineProperty(a.prototype,"group",{get:function(){return this._group},set:function(t){this._group!=t&&(this._group=t,this.invokeValueChanged())},enumerable:!1,configurable:!0}),Object.defineProperty(a.prototype,"color",{get:function(){return this._color},set:function(t){this._color!=t&&(this._color=t,this.invokeValueChanged())},enumerable:!1,configurable:!0}),a.prototype.toString=function(){return o.format("{0}, {1}",this.key,this.group)},a.prototype.invokeValueChanged=function(){},r=a,i.StiMapData=r}(Stimulsoft=Stimulsoft||{}),function(t){var e,r,n,i,o,a,s,l;function u(){this.rect=o.empty,this.horAlignment=a.Center,this.vertAlignment=s.Center,this.rectIso=o.empty,this.horAlignmentIso=a.Center,this.vertAlignmentIso=s.Center}r=e=t.Report||(t.Report={}),i=n=r.Maps||(r.Maps={}),o=t.System.Drawing.Rectangle,a=t.Base.Drawing.StiTextHorAlignment,s=t.Base.Drawing.StiVertAlignment,l=t.System.StiString,u.prototype.toString=function(){return l.format("{0} {1}",this.key,this.iSOCode)},r=u,i.StiMapSvg=r}(Stimulsoft=Stimulsoft||{}),function(L){var t,n,e,Y,U,R,J,r,i,o,a,s,l,u,c,p,h,m,d,g,f,S,y,A,b,W,C;function v(t){void 0===t&&(t=o.empty);var t=C.call(this,t)||this;return t._dataSourceName="",t._businessObjectGuid="",t._countData=0,t.isEofValue=!1,t.isBofValue=!1,t.isCacheValues=!1,t.cachedCount=0,t.cachedIsBusinessObjectEmpty=!1,t.cachedIsDataSourceEmpty=!1,t.cachedDataSource=null,t.cachedBusinessObject=null,t._border=new c,t._brush=new l(s.transparent),t.defaultClientRectangle=new o(0,0,240,240),t._mapStyle=Y.StiMapStyleIdent.Style25,t._dataFrom=Y.StiMapSource.Manual,t._colorEach=!1,t._stretch=!0,t._showValue=!0,t._shortValue=!0,t._displayNameType=Y.StiDisplayNameType.Full,t._mapIdent="USA",t._mapType=Y.StiMapType.Individual,t.isMapDataChanged=!1,t._mapData=null,t._keyDataColumn=null,t._nameDataColumn=null,t._valueDataColumn=null,t._groupDataColumn=null,t._colorDataColumn=null,t._latitude=null,t._longitude=null,t._mapMode=Y.StiMapMode.Choropleth,t._isHashDataEmpty=!0,t}n=t=L.Report||(L.Report={}),Y=e=n.Maps||(n.Maps={}),U=L.System.StiString,R=L.System.Drawing.ColorTranslator,J=L.System.Collections.List,r=L.Base.JsonReportObject.IStiJsonReportObject,i=L.Report.Styles.StiMapStyle,o=L.System.Drawing.Rectangle,a=L.Base.Localization.StiLocalization,s=L.System.Drawing.Color,l=L.Base.Drawing.StiSolidBrush,u=L.Base.Drawing.StiBrush,c=L.Base.Drawing.StiBorder,p=L.Report.Dictionary.StiBusinessObjectHelper,h=L.Report.Components.StiComponent,m=L.Report.Components.IStiExportImageExtended,d=L.Report.Components.IStiBorder,g=L.Report.Components.IStiBrush,f=L.Report.Components.IStiDataSource,S=L.Report.Components.IStiBusinessObject,y=L.Base.StiJsonSaveMode,A=L.Base.StiJsonReportObjectHelper,b=L.System.Enum,W=L.Base.Drawing.StiColorUtils,__extends(v,C=h),v.prototype.implements=function(){return v.implementsStiMap||(v.implementsStiMap=C.prototype.implements.call(this).concat([m,d,g,f,S,r])),v.implementsStiMap},v.prototype.saveToJsonObject=function(t){var e=C.prototype.saveToJsonObject.call(this,t);return e.removeProperty("UseParentStyles"),e.removeProperty("CanGrow"),e.removeProperty("CanShrink"),e.removeProperty("GrowToHeight"),e.removeProperty("Interaction"),e.addPropertyStringNullOrEmpty("Border",A.Serialize.jBorder(this.border)),e.addPropertyStringNullOrEmpty("Brush",A.Serialize.jBrush(this.brush)),e.addPropertyStringNullOrEmpty("DataSourceName",this.dataSourceName),e.addPropertyStringNullOrEmpty("BusinessObjectGuid",this.businessObjectGuid),e.addPropertyEnum("MapStyle",Y.StiMapStyleIdent,this.mapStyle,Y.StiMapStyleIdent.Style25),e.addPropertyEnum("DataFrom",Y.StiMapSource,this.dataFrom,Y.StiMapSource.Manual),e.addPropertyBool("ColorEach",this.colorEach,!1),e.addPropertyBool("Stretch",this.stretch,!0),e.addPropertyBool("ShowValue",this.showValue,!0),e.addPropertyBool("ShortValue",this.shortValue,!0),e.addPropertyEnum("ShowName",Y.StiDisplayNameType,this.displayNameType,Y.StiDisplayNameType.Full),e.addPropertyEnum("MapMode",Y.StiMapMode,this.mapMode,Y.StiMapMode.Choropleth),e.addPropertyEnum("MapType",Y.StiMapType,this.mapType,Y.StiMapType.Individual),e.addPropertyStringNullOrEmpty("MapData",this.mapData),e.addPropertyStringNullOrEmpty("KeyDataColumn",this.keyDataColumn),e.addPropertyStringNullOrEmpty("NameDataColumn",this.nameDataColumn),e.addPropertyStringNullOrEmpty("ValueDataColumn",this.valueDataColumn),e.addPropertyStringNullOrEmpty("GroupDataColumn",this.groupDataColumn),e.addPropertyStringNullOrEmpty("ColorDataColumn",this.colorDataColumn),e.addPropertyStringNullOrEmpty("Latitude",this.latitude),e.addPropertyStringNullOrEmpty("Longitude",this.longitude),e.addPropertyStringNullOrEmpty("MapIdent",this.mapIdent),t==y.Document&&e.addPropertyStringNullOrEmpty("MapImage",this.mapImage),e},v.prototype.loadFromJsonObject=function(t){var e,r;C.prototype.loadFromJsonObject.call(this,t);try{for(var n=__values(t.properties()),i=n.next();!i.done;i=n.next()){var o=i.value;switch(o.name){case"Border":this._border=A.Deserialize.border(o.value.toString());break;case"Brush":this._brush=A.Deserialize.brush(o.value.toString());break;case"DataSourceName":this._dataSourceName=o.value.toString();break;case"BusinessObjectGuid":this._businessObjectGuid=o.value.toString();break;case"CountData":this._countData=o.value.stimulsoft.toNumber();break;case"MapStyle":this._mapStyle=b.parse(Y.StiMapStyleIdent,o.value.toString());break;case"Stretch":this._stretch=o.value.stimulsoft.toBoolean();break;case"ColorEach":this._colorEach=o.value.stimulsoft.toBoolean();break;case"ShowValue":this._showValue=o.value.stimulsoft.toBoolean();break;case"ShowName":case"DisplayNameType":this._displayNameType=b.parse(Y.StiDisplayNameType,o.value.toString());break;case"MapID":case"MapIdent":this._mapIdent=o.value.toString(),"ChinaWithHongKongAndMacau"!=this._mapIdent&&"ChinaWithHongKongMacauAndTaiwan"!=this._mapIdent||(this._mapIdent="China");break;case"MapType":this._mapType=b.parse(Y.StiMapType,o.value.toString());break;case"MapMode":this._mapMode=b.parse(Y.StiMapMode,o.value.toString());break;case"MapData":this._mapData=o.value.toString();break;case"DataFrom":this.dataFrom=b.parse(Y.StiMapSource,o.value.toString());break;case"KeyDataColumn":case"DataColumnKey":this._keyDataColumn=o.value.toString();break;case"NameDataColumn":case"DataColumnName":this._nameDataColumn=o.value.toString();break;case"ValueDataColumn":case"DataColumnValue":this._valueDataColumn=o.value.toString();break;case"GroupDataColumn":case"DataColumnGroup":this._groupDataColumn=o.value.toString();break;case"ColorDataColumn":case"DataColumnColor":this._colorDataColumn=o.value.toString();break;case"Latitude":this._latitude=o.value.toString();break;case"Longitude":this._longitude=o.value.toString();break;case"MapImage":this.mapImage=o.value.toString();break}}}catch(t){e={error:t}}finally{try{i&&!i.done&&(r=n.return)&&r.call(n)}finally{if(e)throw e.error}}},v.prototype.loadFromXml=function(t,e){C.prototype.loadFromXml.call(this,t,e);var r=t.getAttribute("Ref");!U.isNullOrEmpty(r)&&this.report.jsonLoaderHelper&&(this.report.jsonLoaderHelper.refNames[r.stimulsoft.toNumber()]=t.nodeName);for(var n=0;n<t.childNodes.length;n++){var i=t.childNodes[n];switch(i.nodeName){case"Border":this._border=c.loadFromXml(i.textContent);break;case"Brush":this._brush=u.loadFromXml(i.textContent);break;case"DataSourceName":this._dataSourceName=i.textContent;break;case"BusinessObjectGuid":this._businessObjectGuid=i.textContent;break;case"CountData":this._countData=i.textContent.stimulsoft.toNumber();break;case"MapStyle":this._mapStyle=b.parse(Y.StiMapStyleIdent,i.textContent);break;case"Stretch":this._stretch=i.textContent.stimulsoft.toBoolean();break;case"ColorEach":this._colorEach=i.textContent.stimulsoft.toBoolean();break;case"ShowValue":this._showValue=i.textContent.stimulsoft.toBoolean();break;case"ShowName":case"DisplayNameType":this._displayNameType=b.parse(Y.StiDisplayNameType,i.textContent);break;case"MapIdent":case"MapID":this._mapIdent=i.textContent,"ChinaWithHongKongAndMacau"!=this._mapIdent&&"ChinaWithHongKongMacauAndTaiwan"!=this._mapIdent||(this._mapIdent="China");break;case"MapMode":this._mapMode=b.parse(Y.StiMapMode,i.textContent);break;case"MapType":this._mapType=b.parse(Y.StiMapType,i.textContent);break;case"DataFrom":this.dataFrom=b.parse(Y.StiMapSource,i.textContent);break;case"MapData":this._mapData=i.textContent;break;case"KeyDataColumn":case"DataColumnKey":this._keyDataColumn=i.textContent;break;case"NameDataColumn":case"DataColumnName":this._nameDataColumn=i.textContent;break;case"ValueDataColumn":case"DataColumnValue":this._valueDataColumn=i.textContent;break;case"GroupDataColumn":case"DataColumnGroup":this._groupDataColumn=i.textContent;break;case"ColorDataColumn":case"DataColumnColor":this._colorDataColumn=i.textContent;break;case"Latitude":this._latitude=i.textContent;break;case"Longitude":this._longitude=i.textContent;break;case"MapImage":e&&(this.mapImage=i.textContent);break}}},v.prototype.clone=function(t){var e;return C.prototype.clone.call(this,t)},v.prototype.getImage=function(t,e){void 0===e&&(e=n.StiExportFormat.None);var r=new n.Export.StiSvgData;r.component=this,r.x=0,r.y=0,r.width=this.report.unit.convertToHInches(this.width),r.height=this.report.unit.convertToHInches(this.height);var e=1;return t.ref&&(e=t.ref),L.Report.Export.StiMapSvgHelper.getImage(r,e)},v.prototype.isExportAsImage=function(t){return!0},Object.defineProperty(v.prototype,"isDataSourceEmpty",{get:function(){return U.isNullOrEmpty(this.dataSourceName)||null==this.dataSource},enumerable:!1,configurable:!0}),Object.defineProperty(v.prototype,"dataSource",{get:function(){if(null==this.page||null==this.report||null==this.report.dataSources||null==this.dataSourceName||0==this.dataSourceName.length)return null;return this.report.dataSources.getByName(this.dataSourceName)},enumerable:!1,configurable:!0}),Object.defineProperty(v.prototype,"dataSourceName",{get:function(){return this._dataSourceName},set:function(t){this._dataSourceName!=t&&(this._dataSourceName=t,U.isNullOrEmpty(t)||(this.businessObjectGuid=null))},enumerable:!1,configurable:!0}),Object.defineProperty(v.prototype,"isBusinessObjectEmpty",{get:function(){return U.isNullOrEmpty(this.businessObjectGuid)||null==this.businessObject},enumerable:!1,configurable:!0}),Object.defineProperty(v.prototype,"businessObject",{get:function(){if(null==this.page||null==this.report||null==this.businessObjectGuid||0==this.businessObjectGuid.length)return null;return p.getBusinessObjectFromGuid(this.report,this.businessObjectGuid)},enumerable:!1,configurable:!0}),Object.defineProperty(v.prototype,"businessObjectGuid",{get:function(){return this._businessObjectGuid},set:function(t){this._businessObjectGuid!=t&&(this._businessObjectGuid=t,U.isNullOrEmpty(t)||(this.dataSourceName=null))},enumerable:!1,configurable:!0}),Object.defineProperty(v.prototype,"countData",{get:function(){return this._countData},set:function(t){this._countData=t},enumerable:!1,configurable:!0}),v.prototype.first=function(){this.isBusinessObjectEmpty?this.isDataSourceEmpty?(this.isEofValue=!1,this.isBofValue=!0,this.positionValue=0):this.dataSource.first():this.businessObject.first()},v.prototype.prior=function(){this.isBusinessObjectEmpty?this.isDataSourceEmpty?(this.isBofValue=!1,this.isEofValue=!1,this.positionValue<=0?this.isBofValue=!0:this.positionValue--):this.dataSource.prior():this.businessObject.prior()},v.prototype.next=function(){this.isBusinessObjectEmpty?this.isDataSourceEmpty?(this.isBofValue=!1,this.isEofValue=!1,this.positionValue>=this._countData-1?this.isEofValue=!0:this.positionValue++):this.dataSource.next():this.businessObject.next()},v.prototype.last=function(){this.isBusinessObjectEmpty?this.isDataSourceEmpty?(this.isEofValue=!0,this.isBofValue=!1,this.positionValue=this._countData-1):this.dataSource.last():this.businessObject.last()},Object.defineProperty(v.prototype,"isEof",{get:function(){return this.isBusinessObjectEmpty?this.isDataSourceEmpty?this.isEofValue:this.dataSource.isEof:this.businessObject.isEof},set:function(t){this.isBusinessObjectEmpty?this.isDataSourceEmpty?this.isEofValue=t:this.dataSource.isEof=t:this.businessObject.isEof=t},enumerable:!1,configurable:!0}),Object.defineProperty(v.prototype,"isBof",{get:function(){return this.isBusinessObjectEmpty?this.isDataSourceEmpty?this.isBofValue:this.dataSource.isBof:this.businessObject.isBof},set:function(t){this.isBusinessObjectEmpty?this.isDataSourceEmpty?this.isBofValue=t:this.dataSource.isBof=t:this.businessObject.isBof=t},enumerable:!1,configurable:!0}),Object.defineProperty(v.prototype,"isEmpty",{get:function(){return this.isBusinessObjectEmpty?this.isDataSourceEmpty?0==this.countData:this.dataSource.isEmpty:this.businessObject.isEmpty},enumerable:!1,configurable:!0}),Object.defineProperty(v.prototype,"position",{get:function(){if(!this.isBusinessObjectEmpty)return this.businessObject.position;if(!this.isDataSourceEmpty)return this.dataSource.position;return this.positionValue},set:function(t){this.isBusinessObjectEmpty?this.isDataSourceEmpty?this.positionValue=t:this.dataSource.position=t:this.businessObject.position=t},enumerable:!1,configurable:!0}),Object.defineProperty(v.prototype,"count",{get:function(){if(this.isCacheValues)return this.cachedCount;return this.isBusinessObjectEmpty?this.isDataSourceEmpty?this._countData:this.dataSource.count:this.businessObject.count},enumerable:!1,configurable:!0}),v.prototype.cacheValues=function(t){t?(this.cachedCount=this.count,this.cachedIsBusinessObjectEmpty=this.isBusinessObjectEmpty,this.cachedIsDataSourceEmpty=this.isDataSourceEmpty,this.cachedDataSource=this.dataSource,this.cachedBusinessObject=this.businessObject):(this.cachedDataSource=null,this.cachedBusinessObject=null),this.isCacheValues=t},Object.defineProperty(v.prototype,"border",{get:function(){return this._border},set:function(t){this._border=t},enumerable:!1,configurable:!0}),Object.defineProperty(v.prototype,"brush",{get:function(){return this._brush},set:function(t){this._brush=t},enumerable:!1,configurable:!0}),Object.defineProperty(v.prototype,"componentId",{get:function(){return n.StiComponentId.StiMap},enumerable:!1,configurable:!0}),Object.defineProperty(v.prototype,"localizedCategory",{get:function(){return a.get("Report","Infographics")},enumerable:!1,configurable:!0}),Object.defineProperty(v.prototype,"localizedName",{get:function(){return a.get("Components","StiMap")},enumerable:!1,configurable:!0}),Object.defineProperty(v.prototype,"mapStyle",{get:function(){return this._mapStyle},set:function(t){this._mapStyle=t},enumerable:!1,configurable:!0}),Object.defineProperty(v.prototype,"dataFrom",{get:function(){return this._dataFrom},set:function(t){this._dataFrom=t},enumerable:!1,configurable:!0}),Object.defineProperty(v.prototype,"colorEach",{get:function(){return this._colorEach},set:function(t){this._colorEach=t},enumerable:!1,configurable:!0}),Object.defineProperty(v.prototype,"stretch",{get:function(){return this._stretch},set:function(t){this._stretch=t},enumerable:!1,configurable:!0}),Object.defineProperty(v.prototype,"showValue",{get:function(){return this._showValue},set:function(t){this._showValue=t},enumerable:!1,configurable:!0}),Object.defineProperty(v.prototype,"shortValue",{get:function(){return this._shortValue},set:function(t){this._shortValue=t},enumerable:!1,configurable:!0}),Object.defineProperty(v.prototype,"displayNameType",{get:function(){return this._displayNameType},set:function(t){this._displayNameType=t},enumerable:!1,configurable:!0}),Object.defineProperty(v.prototype,"mapIdent",{get:function(){return this._mapIdent},set:function(t){this._mapIdent=t},enumerable:!1,configurable:!0}),Object.defineProperty(v.prototype,"mapType",{get:function(){return this._mapType},set:function(t){this._mapType=t},enumerable:!1,configurable:!0}),Object.defineProperty(v.prototype,"mapData",{get:function(){return this._mapData},set:function(t){this._mapData!=t&&(this._mapData=t,this._isHashDataEmpty=!0,this.isMapDataChanged=!0)},enumerable:!1,configurable:!0}),Object.defineProperty(v.prototype,"keyDataColumn",{get:function(){return this._keyDataColumn},set:function(t){this._keyDataColumn=t},enumerable:!1,configurable:!0}),Object.defineProperty(v.prototype,"nameDataColumn",{get:function(){return this._nameDataColumn},set:function(t){this._nameDataColumn=t},enumerable:!1,configurable:!0}),Object.defineProperty(v.prototype,"valueDataColumn",{get:function(){return this._valueDataColumn},set:function(t){this._valueDataColumn=t},enumerable:!1,configurable:!0}),Object.defineProperty(v.prototype,"groupDataColumn",{get:function(){return this._groupDataColumn},set:function(t){this._groupDataColumn=t},enumerable:!1,configurable:!0}),Object.defineProperty(v.prototype,"colorDataColumn",{get:function(){return this._colorDataColumn},set:function(t){this._colorDataColumn=t},enumerable:!1,configurable:!0}),Object.defineProperty(v.prototype,"latitude",{get:function(){return this._latitude},set:function(t){this._latitude=t},enumerable:!1,configurable:!0}),Object.defineProperty(v.prototype,"longitude",{get:function(){return this._longitude},set:function(t){this._longitude=t},enumerable:!1,configurable:!0}),Object.defineProperty(v.prototype,"mapMode",{get:function(){return this._mapMode},set:function(t){this._mapMode=t},enumerable:!1,configurable:!0}),Object.defineProperty(v.prototype,"isHashDataEmpty",{get:function(){return this._isHashDataEmpty},enumerable:!1,configurable:!0}),v.prototype.createNew=function(){return new v},v.getDefaultMapData=function(t,e){var r,n,i,o,a,s,l,u,c=new J,p=10,h=!0,m=0,d=Y.StiMapHelper.getColors(),g=new J;try{for(var f=__values(d),S=f.next();!S.done;S=f.next()){var y=S.value;g.add(y)}}catch(t){r={error:t}}finally{try{S&&!S.done&&(n=f.return)&&n.call(f)}finally{if(r)throw r.error}}var A=L.Report.Maps.StiMapLoader.loadResource(t,e);try{for(var b=__values(A.hashPaths.keys),C=b.next();!C.done;C=b.next()){var v=C.value,w=new Y.StiMapData(v);w.color=R.toHtml(g[m]);var v=A.hashPaths.get(v);if(null!=v&&(w.name=v.englishName),c.add(w),++m>=g.length){if(m=0,h)try{for(var B=(a=void 0,__values(d)),I=B.next();!I.done;I=B.next()){var y=I.value;g.add(W.dark(y,p))}}catch(t){a={error:t}}finally{try{I&&!I.done&&(s=B.return)&&s.call(B)}finally{if(a)throw a.error}}else{try{for(var T=(l=void 0,__values(d)),E=T.next();!E.done;E=T.next()){var y=E.value;g.add(W.light(y,p))}}catch(t){l={error:t}}finally{try{E&&!E.done&&(u=T.return)&&u.call(T)}finally{if(l)throw l.error}}p+=10}h=!h}}}catch(t){i={error:t}}finally{try{C&&!C.done&&(o=b.return)&&o.call(b)}finally{if(i)throw i.error}}return c},v.prototype.getMapData=function(){var e,t,r,n,i,o,a,s,l,u,c,p,h,m;if(null!=this._hashData&&0<this._hashData.length&&this.isMapDataChanged)return this._hashData;this._isHashDataEmpty=!0;var d=new J;if(!U.isNullOrEmpty(this._mapData)){var g=JSON.parse(this._mapData);try{for(var f=__values(g),S=f.next();!S.done;S=f.next()){var y=S.value,A=new Y.StiMapData(y["key"]||y["Key"]||y["_key"]);A.value=y["value"]||y["Value"]||y["_value"],A.color=y["color"]||y["Color"]||y["_color"],A.group=y["group"]||y["Group"]||y["_group"],A.name=y["name"]||y["Name"]||y["_name"],d.push(A)}}catch(t){e={error:t}}finally{try{S&&!S.done&&(t=f.return)&&t.call(f)}finally{if(e)throw e.error}}}var b=Y.StiMapLoader.loadResource(this.report,this.mapIdent);if(0<d.length){var C=0;while(C<d.length){var y=d[C];if(U.isNullOrEmpty(y.key)||!b.hashPaths.containsKey(y.key)){d.removeAt(C);continue}C++}if(b.hashPaths.count!=d.length){var v=function(e){var t;null==d.firstOrDefault(function(t){return t.key==e})&&(t=new Y.StiMapData(e),d.add(t))};try{for(var w=__values(b.hashPaths.keys),B=w.next(),I;!B.done;B=w.next()){v(I=B.value)}}catch(t){r={error:t}}finally{try{B&&!B.done&&(n=w.return)&&n.call(w)}finally{if(r)throw r.error}}}try{for(var T=__values(d),E=T.next();!E.done;E=T.next()){var y=E.value;if(!U.isNullOrEmpty(y.color)||!U.isNullOrEmpty(y.group)||!U.isNullOrEmpty(y.value)){this._isHashDataEmpty=!1;break}}}catch(t){i={error:t}}finally{try{E&&!E.done&&(o=T.return)&&o.call(T)}finally{if(i)throw i.error}}}else{var R=10,D=!0,C=0,P=Y.StiMapHelper.getColors(),x=[];try{for(var F=__values(P),N=F.next();!N.done;N=F.next()){var k=N.value;x.push(k)}}catch(t){a={error:t}}finally{try{N&&!N.done&&(s=F.return)&&s.call(F)}finally{if(a)throw a.error}}if(null!=b.hashPaths)try{for(var M=__values(b.hashPaths.keys),O=M.next();!O.done;O=M.next()){var I=O.value,y;(y=new Y.StiMapData(I)).color=L.System.Drawing.ColorTranslator.toHtml(x[C]);var _=b.hashPaths.get(I);if(null!=_&&(y.name=_.englishName),d.add(y),++C>=x.length){if(C=0,D)try{for(var j=(c=void 0,__values(P)),G=j.next();!G.done;G=j.next()){var k=G.value;x.push(W.dark(k,R))}}catch(t){c={error:t}}finally{try{G&&!G.done&&(p=j.return)&&p.call(j)}finally{if(c)throw c.error}}else{try{for(var H=(h=void 0,__values(P)),Q=H.next();!Q.done;Q=H.next()){var k=Q.value;x.push(W.light(k,R))}}catch(t){h={error:t}}finally{try{Q&&!Q.done&&(m=H.return)&&m.call(H)}finally{if(h)throw h.error}}R+=10}D=!D}}}catch(t){l={error:t}}finally{try{O&&!O.done&&(u=M.return)&&u.call(M)}finally{if(l)throw l.error}}}return this.isMapDataChanged=!0,this._hashData=d},v.prototype.getCurrentStyleColors=function(){if(!U.isNullOrEmpty(this.componentStyle)){var t=null!=this.report.styles.getByName(this.componentStyle)?this.report.styles.getByName(this.componentStyle).stimulsoft.as(i):null;if(null!=t)return t.colors}return v.getStyleColors(this.mapStyle)},v.getStyleColors=function(t){return v.getMapStyle(t).colors},v.prototype.getStyleBackground=function(){if(!U.isNullOrEmpty(this.componentStyle)){var t=this.report.styles.getByName(this.componentStyle),t;if(null!=(t=null!=t?t.stimulsoft.as(i):null))return new l(t.backColor)}return new l(v.getMapStyle(this.mapStyle).backColor)},v.getMapStyle2=function(t){var e=null;return U.isNullOrEmpty(t.componentStyle)||(e=null!=(e=t.report.styles.getByName(t.componentStyle))?e.stimulsoft.as(i):null),null==e&&(e=v.getMapStyle(t.mapStyle)),e},v.getMapStyle=function(t){switch(t){case Y.StiMapStyleIdent.Style21:return new Y.StiMap21StyleFX;case Y.StiMapStyleIdent.Style24:return new Y.StiMap24StyleFX;case Y.StiMapStyleIdent.Style25:return new Y.StiMap25StyleFX;case Y.StiMapStyleIdent.Style26:return new Y.StiMap26StyleFX;case Y.StiMapStyleIdent.Style27:return new Y.StiMap27StyleFX;case Y.StiMapStyleIdent.Style28:return new Y.StiMap28StyleFX;case Y.StiMapStyleIdent.Style29:return new Y.StiMap29StyleFX;case Y.StiMapStyleIdent.Style30:return new Y.StiMap30StyleFX;case Y.StiMapStyleIdent.Style31:return new Y.StiMap31StyleFX;case Y.StiMapStyleIdent.Style32:return new Y.StiMap32StyleFX;case Y.StiMapStyleIdent.Style33:return new Y.StiMap33StyleFX;case Y.StiMapStyleIdent.Style34:return new Y.StiMap34StyleFX;default:throw new Error("Style is not supported!")}},h=v,Y.StiMap=h}(Stimulsoft=Stimulsoft||{}),function(g){var t,e,r,f,n,i,m,S,d,y,A,b,C;function v(){}e=t=g.Report||(g.Report={}),f=r=e.Maps||(e.Maps={}),i=n=f.Helpers||(f.Helpers={}),m=g.System.Drawing.Rectangle,e=g.System.Collections.Hashtable,S=g.System.Collections.List,d=g.System.Enum,y=g.Report.Dictionary.StiResourceType,A=g.System.StiObject,b=g.Base.Drawing.StiTextHorAlignment,C=g.Base.Drawing.StiVertAlignment,v.clear=function(){v.lastReport=null,v.customMaps.clear()},v.init=function(t){var e,r,n,i;if(0==v.defaultMaps.countItems&&v.StiCustomMapFinder(),null==t)return v.lastReport=null,void v.customMaps.clear();v.lastReport=t;var o=v.customMaps.clone(),a=t.dictionary.resources.toCast().stimulsoft.toList().where(function(t){return t.type==y.Map&&null!=t.content}).toList();try{for(var s=__values(a),l=s.next();!l.done;l=s.next()){var u=l.value,c;if(v.defaultMaps.contains(u.name.toLowerCase()))continue;if(o.containsKey(u.name)){o.remove(u.name);continue}try{var p=JSON.parse(g.System.Text.Encoding.UTF8.getString(u.content)),c=new f.StiMapSvgContainer;v.stiPopulateObject(p,c),null==c.paths&&(c.paths=new S),0==c.paths.stimulsoft.countItems&&(c.isNotCorrect=!0),c.prepare(),c.isCustom=!0,v.customMaps.add(u.name,c)}catch(t){(c=new f.StiMapSvgContainer).prepare(),c.isNotCorrect=!0,c.isCustom=!0,v.customMaps.add(u.name,c)}}}catch(t){e={error:t}}finally{try{l&&!l.done&&(r=s.return)&&r.call(s)}finally{if(e)throw e.error}}if(0<o.count)try{for(var h=__values(o.keys),m=h.next();!m.done;m=h.next()){var d=m.value;v.customMaps.remove(d)}}catch(t){n={error:t}}finally{try{m&&!m.done&&(i=h.return)&&i.call(h)}finally{if(n)throw n.error}}},v.isCustom=function(t){return 0==v.defaultMaps.countItems&&v.StiCustomMapFinder(),!v.defaultMaps.contains(t.toLowerCase())},v.getContainer=function(t,e){var r;return v.init(t),v.customMaps.get(e)},v.stiPopulateObject=function(t,e){var r,n,i=typeof t,o=typeof e;if(A.isNullOrUndefined(t)||"string"==i||"number"==i||"boolean"==i||"function"==i)return;if(A.isNullOrUndefined(e)||"string"==o||"number"==o||"boolean"==o||"function"==o)return;var a=A.getOwnPropertyNames(t);try{for(var s=__values(a),l=s.next();!l.done;l=s.next()){var u=l.value,c=t[u],u,p=typeof e[u=u.substr(0,1).toLowerCase()+u.substr(1)],h,p,h;A.isNullOrUndefined(e[u])||"string"==p||"number"==p||"boolean"==p?e instanceof Array?(h=new f.StiMapSvg,this.stiPopulateObject(c,h),e[u]=h):("rect"==u||"rectIso"==u?(p=new m,h=c.split(","),p.x=parseFloat(h[0].trim()),p.y=parseFloat(h[1].trim()),p.width=parseFloat(h[2].trim()),p.height=parseFloat(h[3].trim()),c=p):"horAlignment"==u||"horAlignmentIso"==u?c=d.parse(b,c):"vertAlignment"!=u&&"vertAlignmentIso"!=u||(c=d.parse(C,c)),e[u]=c):this.stiPopulateObject(c,e[u])}}catch(t){r={error:t}}finally{try{l&&!l.done&&(n=s.return)&&n.call(s)}finally{if(r)throw r.error}}},v.StiCustomMapFinder=function(){var e,t,r=d.getNames(f.StiMapID);try{for(var n=__values(r),i=n.next();!i.done;i=n.next()){var o=i.value;v.defaultMaps.add(o.toString().toLowerCase())}}catch(t){e={error:t}}finally{try{i&&!i.done&&(t=n.return)&&t.call(n)}finally{if(e)throw e.error}}},v.defaultMaps=new S,v.customMaps=new e,e=v,i.StiCustomMapFinder=e}(Stimulsoft=Stimulsoft||{}),function(V){var t,c,e,r,z,X,p,K,Z,q,$,tt,et,rt,h,m,nt,it,ot,d,g,f,S,y,A,b,C,at,v,st,lt,ut,n;function w(){}c=t=V.Report||(V.Report={}),r=e=c.Export||(c.Export={}),z=V.System.Drawing.GraphicsUnit,X=V.System.StiString,p=V.System.NodeJs,K=V.Report.Styles.StiMapStyle,Z=V.System.Text.StringBuilder,q=V.Base.Drawing.StiSolidBrush,$=V.System.Drawing.SolidBrush,tt=V.System.Drawing.Color,et=V.Report.Maps.StiMap,rt=V.Report.Maps.StiMapData,h=V.System.Xml.XmlTextWriter,m=V.Report.Maps.StiMapHelper,nt=V.Report.Maps.StiDisplayNameType,it=V.System.Drawing.Font,ot=V.System.Drawing.Graphics,d=V.System.Drawing.Image,g=V.System.Text.Encoding,f=V.System.Drawing.Imaging.ImageFormat,S=V.Report.Export.Services.Helpers.StiContextSvgHelper,y=V.System.Drawing.Rectangle,A=V.Report.Maps.StiMapMode,b=V.System.StiNumber,C=V.Report.Maps.StiMapType,at=V.Base.Localization.StiLocalization,v=V.Report.Maps.Helpers.StiCustomMapFinder,st=V.System.StiObject,lt=V.Base.Drawing.StiTextHorAlignment,ut=V.Base.Drawing.StiVertAlignment,w.getImage=function(t,e){void 0===e&&(e=1);var r=new d;if(!p.useWebKit)return r;var n=t.width*e,i=t.height*e,o=document.createElement("canvas");o.width=n,o.height=i;var a=new h(g.UTF8),s=t.component.stimulsoft.as(et),e;null!=s&&null!=s.brush&&((e=new Z).append(S.writeFillBrush(a,s.brush,new y(0,0,n,i))),a.writeStartElement("rect"),a.writeAttributeString("x",t.x.toString().split(",").join(".")),a.writeAttributeString("y",t.y.toString().split(",").join(".")),a.writeAttributeString("height",i.toString().split(",").join(".")),a.writeAttributeString("width",n.toString().split(",").join(".")),a.writeAttributeString("style",e.toString()),a.writeEndElement()),w.drawMap(a,t.component,t.x,t.y,n,i,!1),a.flush();var a=X.format('<svg xmlns="http://www.w3.org/2000/svg" style="width: {0}; height: {1}"><rect x="0" y="0" width="{0}" height="{1}" style="fill: white;"/>{2}</svg>',n,i,a.textWriter.getStringBuilder().toString());canvgv2(o,a);var o=o.toDataURL(f.Jpeg.mimeType);return r.base64=o,r},w.getImageAsync=function(l,u){return void 0===u&&(u=1),__awaiter(this,void 0,void 0,function(){var e,r,n,i,o,a,s,o,i;return __generator(this,function(t){if(e=new d,!p.useWebKit)return[2,e];return r=l.width*u,n=l.height*u,(i=document.createElement("canvas")).width=r,i.height=n,o=new h(g.UTF8),null!=(a=l.component.stimulsoft.as(et))&&null!=a.brush&&((s=new Z).append(S.writeFillBrush(o,a.brush,new y(0,0,r,n))),o.writeStartElement("rect"),o.writeAttributeString("x",l.x.toString().split(",").join(".")),o.writeAttributeString("y",l.y.toString().split(",").join(".")),o.writeAttributeString("height",n.toString().split(",").join(".")),o.writeAttributeString("width",r.toString().split(",").join(".")),o.writeAttributeString("style",s.toString()),o.writeEndElement()),w.drawMap(o,l.component,l.x,l.y,r,n,!1),o.flush(),o=X.format('<svg xmlns="http://www.w3.org/2000/svg" style="width: {0}; height: {1}"><rect x="0" y="0" width="{0}" height="{1}" style="fill: white;"/>{2}</svg>',r,n,o.textWriter.getStringBuilder().toString()),canvgv2(i,o),i=i.toDataURL(f.Jpeg.mimeType),e.base64=i,[2,e]})})},w.drawMap=function(t,e,r,n,i,o,a){var s,l,u;e.mapMode==A.Online?t.writeString(m.addToCahe(e,i,o)):(V.Report.Maps.StiMapLoader.deleteAllCustomMaps(),v.clear(),l=i/(s=V.Report.Maps.StiMapLoader.loadResource(e.report,e.mapIdent)).width<o/s.height?i/s.width:o/s.height,t.writeStartElement("rect"),0!=r&&t.writeAttributeString("x",this.normalizeDecimal(r)),0!=n&&t.writeAttributeString("y",this.normalizeDecimal(n)),t.writeAttributeString("width",this.normalizeDecimal(i)),t.writeAttributeString("height",this.normalizeDecimal(o)),u=e.getStyleBackground().color,t.writeAttributeString("style",X.format("fill:rgb({0},{1},{2});fill-opacity:{3};",u.r,u.g,u.b,Math.round2(u.a/255,3).toString().split(",").join("."))),t.writeEndElement(),t.writeStartElement("g"),t.writeAttributeString("transform",X.format("translate({0},{1})",this.normalizeDecimal((i-s.width*l)/2+r),this.normalizeDecimal((o-s.height*l)/2+n))),this.render(e,t,a,l),t.writeEndElement())},w.render=function(t,e,r,n){var i,o,a,s,l=new V.Report.Painters.StiGdiMapContextPainter(t);l.mapStyle=et.getMapStyle2(t),l.dataTable=t.dataTable,l.prepareDataColumns(),l.updateGroupedData(),l.updateHeatmapWithGroup();var u=l.mapData,c=null;X.isNullOrEmpty(t.componentStyle)||(c=null!=(c=t.report.styles.getByName(t.componentStyle))?c.stimulsoft.as(K):null),null==c&&(c=et.getMapStyle(t.mapStyle)),l.defaultBrush=new $(c.defaultColor),l.defaultBrush1=new q(c.defaultColor);var p=V.Report.Maps.StiMapLoader.loadResource(t.report,t.mapIdent);if(null==p.hashPaths)return;var h={},m=0,d=p.hashPaths.keys.length,g=!((t.showValue||t.displayNameType!=nt.None)&&.2<=n),f=.5/d;l.individualStep=f,p.hashPaths.keys&&p.hashPaths.keys.sort();try{for(var S=__values(p.hashPaths.keys),y=S.next();!y.done;y=S.next()){var A=y.value,b=u[0];try{for(var C=(a=void 0,__values(u)),v=C.next();!v.done;v=C.next()){var w=v.value;w.key==A&&(b=w)}}catch(t){a={error:t}}finally{try{v&&!v.done&&(s=C.return)&&s.call(C)}finally{if(a)throw a.error}}var B=l.getGeomBrush(b);l.individualStep+=f,e.writeStartElement("path"),e.writeAttributeString("d",p.hashPaths.get(A).data);var I=new Z;I.append(this.getFillBrush(B));var T=X.format("{0}",this.getBorderStroke(c.borderColor));I.append(X.format("{0};stroke-width:{1};",T,c.borderSize)),e.writeAttributeString("style",I.toString()),e.writeAttributeString("transform",X.format("scale({0})",n)),e.writeAttributeString("_ismap","true"),e.writeAttributeString("_text1",this.getToolTipIdent(b));var T=this.getToolTipValueText(t,b.value),I=this.getToolTipTotalText(t,u,b);X.isNullOrEmpty(I)||(T=at.get("FormFormatEditor","BooleanValue").replace(":","")+" = "+T+"<div style='margin-top: 5px;'>"+I+"<div>"),e.writeAttributeString("_text2",T),e.writeAttributeString("elementargument",A),e.writeAttributeString("elementident",A),e.writeAttributeString("elementvalue",b.value?b.value.toString():"");var B=B.color;e.writeAttributeString("_color",X.format("#{0:X2}{1:X2}{2:X2}",B.r,B.g,B.b)),r&&(e.writeAttributeString("opacity","0"),e.writeAttributeString("_animation","{"+X.format('"actions":[["opacity", 0, 1, ""], ["scale", {2}, {2},""]], "begin":{0}, "duration":{1}',200/d*m,"100",n)+"}")),e.writeEndElement(),g||(h[A]=b),m++}}catch(t){i={error:t}}finally{try{y&&!y.done&&(o=S.return)&&o.call(S)}finally{if(i)throw i.error}}if(0<st.keys(h).length){var E=19;null!=p.textScale&&(E*=p.textScale,g=!1);var R=new it("Calibri",E,null,z.Pixel),D=[tt.fromArgb(180,251,251,251),tt.fromArgb(255,37,37,37)],A;for(A in h){var P=p.hashPaths.get(A),x=!1,x;if(x=t.displayNameType!=nt.Short||null==P.skipTextIso?P.skipText:P.skipTextIso)continue;var F=h[A].stimulsoft.as(rt),N=this.getPathText(t,F,P,A);if(!X.isNullOrEmpty(N)){var k=this.getPathRect(t,P),M=t.displayNameType==nt.Full&&P.setMaxWidth?ot.measureString(N,R,k.width):ot.measureString(N,R),O=0,_=0;switch(this.getPathHorAlignment(t,P)){case lt.Left:case lt.Width:O=k.x;break;case lt.Right:O=k.right-M.width;break;case lt.Center:O=k.x+(k.width-M.width)/2;break}switch(this.getPathVertAlignment(t,P)){case ut.Top:_=k.y;break;case ut.Bottom:_=k.bottom-M.height;break;case ut.Center:_=k.y+(k.height-M.height)/2;break}_+=30,t.showValue&&!X.isNullOrEmpty(null==F?void 0:F.value)&&N.stimulsoft.contains("\r\n")&&(_+=8);for(var j=0;j<2;j++){e.writeStartElement("text"),e.writeAttributeString("font-size",this.normalizeDecimal(E*n)),e.writeAttributeString("font-family","Calibri"),r&&(e.writeAttributeString("opacity","0"),e.writeAttributeString("_animation","{"+X.format('"actions":[["opacity", 0, 1, ""], ["scale", {2}, {2},""]], "begin":{0}, "duration":{1}',this.normalizeDecimal(200/d*m),"100",this.normalizeDecimal(n))+"}"));var G="",H,G;if(1==j&&(H=X.format("#{0:X2}{1:X2}{2:X2}",D[0].r,D[0].g,D[0].b),G=X.format("text-shadow: -1px -1px 1px {0},-1px 1px 1px {0},1px -1px 1px {0}, 1px 1px 1px {0};",H)),e.writeAttributeString("transform",X.format("translate({0}, {1})",this.normalizeDecimal(O*n-j),this.normalizeDecimal(_*n-j))),e.writeAttributeString("style",X.format("fill:#{0:X2}{1:X2}{2:X2};pointer-events:none;{3}",D[j].r,D[j].g,D[j].b,G)),e.writeAttributeString("font-weight","bold"),P.setMaxWidth)for(var Q=N.split(/[ ]|\r\n/),L=0,Y="",U=0,J;U<Q.length;U++){Y+=""!=Y?" "+Q[U]:Q[U],(ot.measureString(U<Q.length-1?Y+(" "+Q[U+1]):Y,R).width>M.width-5||U==Q.length-1||Y.stimulsoft.endsWith("\r"))&&(e.writeStartElement("tspan"),e.writeAttributeString("x","0"),0==L?e.writeAttributeString("y","0"):e.writeAttributeString("y",this.normalizeDecimal(L*R.size*n)),e.writeString(Y),e.writeEndElement(),L++,Y="")}else for(var W=N.split("\r\n"),U=0;U<W.length;U++)e.writeStartElement("tspan"),e.writeAttributeString("x","0"),0==U?e.writeAttributeString("y","0"):e.writeAttributeString("y",this.normalizeDecimal(U*R.size*n)),e.writeString(W[U]),e.writeEndElement();e.writeEndElement()}}}}null!=u&&(u.clear(),u=null)},w.getPathText=function(t,e,r,n){var i=null,r;switch(t.displayNameType){case nt.Full:i=null!=e?e.name:r.englishName;break;case nt.Short:i=m.prepareIsoCode(r.iSOCode);break}return t.showValue&&null!=e&&null!=e.value&&(r=null,t.shortValue&&!isNaN(parseFloat(e.value))&&(r=c.StiAbbreviationNumberFormatHelper.format(parseFloat(e.value))),null==r&&(r=e.value),null==i?i=r:(i+="\r\n",i+=r)),i},w.getPathRect=function(t,e){var e,e=t.displayNameType!=nt.Short||null==e.rectIso||e.rectIso.isEmpty?e.rect:e.rectIso;return e},w.getPathHorAlignment=function(t,e){if(t.displayNameType==nt.Short)return null!=e.horAlignmentIso?e.horAlignmentIso:e.horAlignment;return e.horAlignment},w.getPathVertAlignment=function(t,e){if(t.displayNameType==nt.Short)return null!=e.vertAlignmentIso?e.vertAlignmentIso:e.vertAlignment;return e.vertAlignment},w.getToolTipIdent=function(t){return X.isNullOrEmpty(t.name)?t.key:t.name},w.getToolTipValueText=function(t,e){var r="",t;return t.showValue&&!X.isNullOrEmpty(e)&&(!t.shortValue||(t=b.tryParse(e)).successfully&&(r=c.StiAbbreviationNumberFormatHelper.format(t.result)),X.isNullOrEmpty(r)&&(r=e)),r},w.getToolTipTotalText=function(t,e,r){var n,i;if(t.mapType==C.Group||t.mapType==C.HeatmapWithGroup){var o=e.where(function(t){return t.group==r.group&&null!=t.value}),a=0;try{for(var s=__values(o),l=s.next();!l.done;l=s.next()){var u=l.value,u=b.tryParse(u.value);u.successfully&&(a+=u.result)}}catch(t){n={error:t}}finally{try{l&&!l.done&&(i=s.return)&&i.call(s)}finally{if(n)throw n.error}}var e=c.StiAbbreviationNumberFormatHelper.format(a);return at.get("PropertyMain","Total")+" = "+e}return null},w.normalizeDecimal=function(t){return t.toString().split(",").join(".")},w.getBorderStroke=function(t){var e=X.format("stroke:rgb({0},{1},{2});",t.r,t.g,t.b),t=Math.round2(t.a/255,3);return 1!=t&&(e+=X.format("stroke-opacity:{0};",t.toString().split(",").join("."))),e},w.getFillBrush=function(t){var t=t.color;return X.format("fill:rgb({0},{1},{2});fill-opacity:{3};",t.r,t.g,t.b,Math.round2(t.a/255,3).toString().split(",").join("."))},n=w,r.StiMapSvgHelper=n}(Stimulsoft=Stimulsoft||{}),function(t){var e,r,n,i,m,d;function o(){}r=e=t.Report||(t.Report={}),i=n=r.Painters||(r.Painters={}),m=t.System.Drawing.Rectangle,d=t.Base.Helpers.StiValueHelper,o.draw=function(n,i,t,o,a){if(null==t||0==t.length)return;i.inflate(-2,-2);var t=t.select(d.tryToNumber).toList(),e=t.min(),r=t.max(),s=e;0<e&&(t=t.select(function(t){return t-e}).toList(),r-=e,e=0),r<0&&(t=t.select(function(t){return t+-r}).toList(),e+=-r,r=0);var l=i.width/t.length,u=r+Math.abs(e),c=0!=u?i.height*r/u:0,p=i.x,h=l;h<1&&(h=1),t.toList().forEach(function(t){var e=o;t<0&&(e=a);var r=i.height*Math.abs(t)/u,r=new m(p,i.y+(0<t?c-r:c),h,r);0==t&&(0<s&&--r.y,r.height=1),5<r.width&&r.inflate(-1,0),p+=l,n.fillRectangle(e,r,null)})},r=o,i.StiColumnSparklinesCellPainter=r}(Stimulsoft=Stimulsoft||{}),function(i){var t,e,r,n,o,a,u,s,m,d;function l(){}e=t=i.Report||(i.Report={}),n=r=e.Painters||(e.Painters={}),o=i.Base.Context.StiLinesSegmentGeom,a=i.System.Collections.List,u=i.System.Drawing.Color,s=i.System.Drawing.Rectangle,m=i.System.Drawing.Point,d=i.Base.Helpers.StiValueHelper,l.draw=function(t,n,e,r,i,o,a){if(void 0===o&&(o=!0),void 0===a&&(a=!1),null==e||e.length<2)return;n.inflate(-4,-n.height/4);var e=e.select(d.tryToNumber).toList();if(e.all(function(t){return 0==t}))return;var s=e.min(function(t){return t}),l=e.max(function(t){return t});if(0==s&&0==l)return;0<s&&(e=e.select(function(t){return t-s}).toList(),l-=s,s=0),l<0&&(e=e.select(function(t){return t+-l}).toList(),s+=-l,l=0);var u=n.width/(e.length-1),c=l+Math.abs(s);if(0==c)return;var p=n.height*l/c,h=n.x,e=e.select(function(t){var e=n.height*Math.abs(t)/c,r=n.y+(0<t?p-e:p),e=new m(h,0<t?r:r+e);return h+=u,e}).toList();1<e.length&&(e=this.simplifyPoints(e),i&&this.drawArea(t,n,e,r),this.drawLines(t,e,r),o&&this.drawFirstLastMarkers(t,e),a&&this.drawHighLowMarkers(t,e))},l.drawArea=function(t,e,r,n){var i=r.toList();i.insert(0,new m(r.first().x,e.bottom+2)),i.add(new m(r.lastOrDefault().x,e.bottom+2));var r=new a;r.add(new o(i.stimulsoft.toArray())),t.fillPath(u.fromArgb(60,n),r,e,null)},l.drawLines=function(t,e,r){var n=2,n=new i.Base.Context.StiPenGeom(r,n);t.drawLines(n,e)},l.drawFirstLastMarkers=function(t,e){this.drawMarker(t,e.first(),u.dimGray),this.drawMarker(t,e.lastOrDefault(),u.dimGray)},l.drawHighLowMarkers=function(t,e){var r,n;if(e.length<2)return;var i=e.first(),o=e.first();try{for(var a=__values(e),s=a.next();!s.done;s=a.next()){var l=s.value;l.y>o.y&&(o=l),l.y<i.y&&(i=l)}}catch(t){r={error:t}}finally{try{s&&!s.done&&(n=a.return)&&n.call(a)}finally{if(r)throw r.error}}this.drawMarker(t,i,u.green),this.drawMarker(t,o,u.red)},l.drawMarker=function(t,e,r){var n=3.5;t.fillEllipse2(u.white,new s(e.x-n,e.y-n,2*n,2*n),null),n--,t.fillEllipse2(r,new s(e.x-n,e.y-n,2*n,2*n),null)},l.simplifyPoints=function(t){if(t.length<=30)return t;var e;return i.Report.Chart["StiSimplifyHelper"].simplify(t,10,!1).stimulsoft.toList()},e=l,n.StiLineSparklinesCellPainter=e}(Stimulsoft=Stimulsoft||{}),function(t){var e,r,n,i,p,h;function o(){}r=e=t.Report||(t.Report={}),i=n=r.Painters||(r.Painters={}),p=t.System.Drawing.Rectangle,h=t.Base.Helpers.StiValueHelper,o.draw=function(r,n,t,i,o){if(null==t||0==t.length)return;n.inflate(-2,-2);var a,a=(a=t.select(h.tryToNumber).toList()).select(function(t){if(0==t)return 0;return 0<t?1:-1}).toList(),s=n.width/a.length,l=n.height/2,u=n.x,t=a.select(function(t){var e=n.height*Math.abs(t)/2,e=new p(u,n.y+(0<t?l-e:l),s,e);return 4<e.width&&e.inflate(-1,0),u+=s,e}).toList(),c=0;t.forEach(function(t){var e=0<a[c]?i:o;r.fillRectangle(e,t,null),c++})},r=o,i.StiWinLossSparklinesCellPainter=r}(Stimulsoft=Stimulsoft||{}),function(r){var t,e,n,i;function o(){}e=t=r.Report||(r.Report={}),i=n=e.Painters||(e.Painters={}),e=r.System.Collections.Hashtable,o.getPainter=function(t){var e=this.typePainter.get(t);return null==e&&(t===r.Report.Components.StiImage||t.prototype instanceof r.Report.Components.StiImage?e=new i.StiImagePainter:t===r.Report.Components.StiPage||t.prototype instanceof r.Report.Components.StiPage?e=new i.StiPagePainter:t===r.Report.Components.StiText||t.prototype instanceof r.Report.Components.StiText?e=new i.StiTextPainter:t===r.Report.Components.StiView||t.prototype instanceof r.Report.Components.StiView?e=new i.StiViewPainter:t===r.Report.Components.StiContainer||t.prototype instanceof r.Report.Components.StiContainer?e=new i.StiContainerPainter:(t===r.Report.Components.StiComponent||t.prototype instanceof r.Report.Components.StiComponent)&&(e=new i.StiComponentPainter),this.typePainter.set(t,e)),e},o.prototype.getImage=function(t,e,r){return null},o.prototype.paint=function(t,e){},o.typePainter=new e,e=o,i.StiPainter=e}(Stimulsoft=Stimulsoft||{}),function(t){var e,r,n,i,l,u,c,p,h,o;function a(){return null!==o&&o.apply(this,arguments)||this}r=e=t.Report||(t.Report={}),i=n=r.Painters||(r.Painters={}),l=t.Report.Components.IStiBorder,u=t.System.Drawing.Color,c=t.Base.Drawing.StiPenStyle,p=t.Report.Components.IStiBrush,h=t.Base.Drawing.StiBrush,o=i.StiPainter,__extends(a,o),a.prototype.paintBorder=function(t,e,r,n,i,o){var a=t.stimulsoft.as(l),s,t;null!=a&&null!=a.border&&(a.border.style==c.Double?(s=u.white,null!=(t=t.stimulsoft.as(p))&&null!=t.brush&&(s=h.toColor(t.brush)),s.equals(u.transparent)&&(s=u.white),a.border.draw(e,r,n,s,i,o)):a.border.draw(e,r,n,u.white,i,o))},r=a,i.StiComponentPainter=r}(Stimulsoft=Stimulsoft||{}),function(t){var e,l,r,n,u,c,p,h,m,d,t,i;function o(){return null!==i&&i.apply(this,arguments)||this}l=e=t.Report||(t.Report={}),n=r=l.Painters||(l.Painters={}),u=t.System.StiString,c=t.Report.Components.StiSparklineType,p=t.Data.Exceptions.StiTypeNotRecognizedException,h=t.Report.Painters.StiWinLossSparklinesCellPainter,m=t.Report.Painters.StiLineSparklinesCellPainter,d=t.Report.Painters.StiColumnSparklinesCellPainter,i=n.StiComponentPainter,__extends(o,i),o.prototype.getImage=function(t,e,r){return null},o.prototype.paint=function(t,e){},o.prototype.paintBackground=function(t,e,r){},o.drawSparkline=function(t,e,r,n){},o.renderSparkline=function(t,e,r,n){var i,o=r.fetchValues(),a=r.positiveColor,s=r.negativeColor,i;switch(u.isNullOrEmpty(r.componentStyle)||null!=(i=null===(i=r.report.styles.toList().firstOrDefault(function(t){return t.name==r.componentStyle}))||void 0===i?void 0:i.stimulsoft.as(l.StiIndicatorStyle))&&(a=i.positiveColor,s=i.negativeColor),r.type){case c.Column:d.draw(t,e,o,a,s);break;case c.Line:m.draw(t,e,o,a,!1,r.showFirstLastPoints,r.showHighLowPoints);break;case c.Area:m.draw(t,e,o,a,!0,r.showFirstLastPoints,r.showHighLowPoints);break;case c.WinLoss:h.draw(t,e,o,a,s);break;default:throw new p(r.type)}},t=o,n.StiSparklinePainter=t}(Stimulsoft=Stimulsoft||{}),function(t){var e,r,n,i,o,a,s,l,u,c,p,h,m,d,g,f,S;function y(){}r=e=t.Report||(t.Report={}),i=n=r.Export||(r.Export={}),o=t.Report.Export.Services.Helpers.StiContextSvgHelper,a=t.Base.Drawing.StiBrush,s=t.Base.Drawing.RectangleD,l=t.Report.Painters.StiSparklinePainter,u=t.Base.Context.StiContextPainter,c=t.Report.Components.StiSparkline,p=t.System.StiString,h=t.System.NodeJs,m=t.System.Drawing.Imaging.ImageFormat,d=t.System.Text.Encoding,g=t.System.Drawing.Image,f=t.System.Xml.XmlTextWriter,S=t.Base.Context.StiContext,y.getImage=function(t){var e=new g;if(!h.useWebKit)return e;var r=document.createElement("canvas");r.width=t.width,r.height=t.height;var n=new f(d.UTF8);y.writeSparkline(n,t),n.flush();var i="white",o=t.component.as(c),o=a.toColor(o.brush);0<o.a&&(i=p.format("rgb({0},{1},{2});",o.r,o.g,o.b));var i=p.format('<svg xmlns="http://www.w3.org/2000/svg" style="width: {0}; height: {1}"><rect x="0" y="0" width="{0}" height="{1}" style="fill: {3};"/>{2}</svg>',t.width,t.height,n.textWriter.getStringBuilder().toString(),i);canvgv2(r,i);var r=r.toDataURL(m.Jpeg.mimeType);return e.base64=r,e},y.writeSparkline=function(t,e){var r=e.component.as(c),n=new u,n=new S(n,!0,!1,!1,1);l.renderSparkline(n,new s(e.x,e.y,e.width,e.height),r,1),o.writeGeoms(t,n,!1)},r=y,i.StiSparklineSvgHelper=r}(Stimulsoft=Stimulsoft||{}),function(t){var e,r,n,t;function i(){}r=e=t.Report||(t.Report={}),t=n=r.Export||(r.Export={}),Object.defineProperty(i.prototype,"x",{get:function(){return this._x},set:function(t){this._x=t,this._right=this._x+this._width},enumerable:!1,configurable:!0}),Object.defineProperty(i.prototype,"y",{get:function(){return this._y},set:function(t){this._y=t,this._bottom=this._y+this._height},enumerable:!1,configurable:!0}),Object.defineProperty(i.prototype,"width",{get:function(){return this._width},set:function(t){this._width=t,this._right=this._x+this._width},enumerable:!1,configurable:!0}),Object.defineProperty(i.prototype,"height",{get:function(){return this._height},set:function(t){this._height=t,this._bottom=this._y+this._height},enumerable:!1,configurable:!0}),Object.defineProperty(i.prototype,"right",{get:function(){return this._right},enumerable:!1,configurable:!0}),Object.defineProperty(i.prototype,"bottom",{get:function(){return this._bottom},enumerable:!1,configurable:!0}),r=i,t.StiSvgData=r}(Stimulsoft=Stimulsoft||{}),function(t){var e,r,n,i,a,s,l,u,c,p,o,h;function m(t){this.writer=null,this.writer=t}r=e=t.Report||(t.Report={}),i=n=r.Export||(r.Export={}),a=t.System.StiString,s=t.System.Drawing.StringAlignment,l=t.System.Drawing.Point,u=t.System.Drawing.Rectangle,c=t.System.Drawing.StringFormat,p=t.System.Text.StringBuilder,o=t.System.Drawing.Size,h=t.Report.Export.Services.Helpers.StiContextSvgHelper,m.prototype.beginPath=function(){},m.prototype.closeFigure=function(){},m.prototype.endPath=function(){},m.prototype.fillPath=function(t){},m.prototype.strokePath=function(t){},m.prototype.moveTo=function(t){},m.prototype.drawLine=function(t,e,r){},m.prototype.drawLineTo=function(t,e){},m.prototype.drawRectangle=function(t,e){},m.prototype.drawPolyline=function(t,e){for(var r="",n=0;n<t.length;n++){var i=t[n];r+=0==n?a.format("M {0},{1} ",i.x.toString().split(",").join("."),i.y.toString().split(",").join(".")):a.format("L {0},{1} ",i.x.toString().split(",").join("."),i.y.toString().split(",").join("."))}this.writer.writeStartElement("path"),this.writer.writeAttributeString("d",r),this.writer.writeAttributeString("stroke",a.format("rgb({0},{1},{2})",e.color.r,e.color.g,e.color.b)),this.writer.writeAttributeString("stroke-opacity",a.format("{0}",Math.round2(e.color.a/255,3))),e.lineJoin&&this.writer.writeAttributeString("stroke-linejoin",e.lineJoin),this.writer.writeAttributeString("stroke-width",e.width.toString().split(",").join(".")),this.writer.writeAttributeString("fill","none"),this.writer.writeEndElement()},m.prototype.drawPolylineTo=function(t,e){},m.prototype.drawPolygon=function(t,e){},m.prototype.fillPolygon=function(t,e){var r=new p;r.append(h.writeFillBrush(this.writer,e,new u));for(var n="",i=0;i<t.length;i++){var o=t[i];n+=a.format("{0},{1} ",o.x.toString().split(",").join("."),o.y.toString().split(",").join("."))}this.writer.writeStartElement("polygon"),this.writer.writeAttributeString("points",n),this.writer.writeAttributeString("style",r.toString()),this.writer.writeEndElement()},m.prototype.drawBezier=function(t,e,r,n,i){},m.prototype.drawBezierTo=function(t,e,r,n){},m.prototype.drawArc2=function(t,e,r,n){},m.prototype.setPixel=function(t,e){},m.prototype.drawImage=function(t,e){null==t||a.isNullOrWhiteSpace(t.base64)||(this.writer.writeStartElement("image"),this.writer.writeAttributeString("x",e.x.toString().split(",").join(".")),this.writer.writeAttributeString("y",e.y.toString().split(",").join(".")),this.writer.writeAttributeString("width",e.width.toString().split(",").join(".")),this.writer.writeAttributeString("height",e.height.toString().split(",").join(".")),this.writer.writeStartAttribute(null,"xlink:href",null),this.writer.writeRaw(t.base64),this.writer.writeEndAttribute(),this.writer.writeEndElement())},m.prototype.drawText=function(t,e,r,n,i,o,a){},m.prototype.drawString=function(t,e,r,n,i){this.writer.writeStartElement("text");var o=new l;switch((i=i||new c).alignment){case s.Near:o.x=n.x;break;case s.Center:o.x=n.x+n.width/2;break;case s.Far:o.x=n.x+n.width;break}switch(i.lineAlignment){case s.Near:o.y=n.y;break;case s.Center:o.y=n.y+n.height/2;break;case s.Far:o.y=n.y+n.height;break}this.writer.writeAttributeString("transform",a.format("translate({0}, {1})",o.x.toString().split(",").join("."),o.y.toString().split(",").join("."))),this.writer.writeAttributeString("width",n.width.toString().split(",").join(".")),this.writer.writeAttributeString("height",n.height.toString().split(",").join("."));var o=new p,e;switch(o.append(a.format("font-size:{0}pt;",e.sizeInPoints)),o.append(a.format("font-family:'{0}';",e.name)),e.bold&&o.append("font-weight:bold;"),e.italic&&o.append("font-style:italic;"),(e.underline||e.strikeout)&&(e=e.underline?e.strikeout?"underline line-through":"underline":e.strikeout?"line-through":null,o.append(a.format("text-decoration:{0};",e))),o.append(h.writeFillBrush(this.writer,r,n)),i.alignment){case s.Near:o.appendFormat("text-anchor:{0};","start");break;case s.Center:o.appendFormat("text-anchor:{0};","middle");break;case s.Far:o.appendFormat("text-anchor:{0};","end");break}switch(i.lineAlignment){case s.Near:this.writer.writeAttributeString("dy","1em");break;case s.Center:this.writer.writeAttributeString("dy","0.5em");break;case s.Far:break}this.writer.writeAttributeString("style",o.toString()),this.writer.writeString(t),this.writer.writeEndElement()},m.prototype.saveState=function(){},m.prototype.restoreState=function(){},m.prototype.fillRectangle=function(t,e){var r=new p;r.append(h.writeFillBrush(this.writer,e,t)),this.writer.writeStartElement("rect"),this.writer.writeAttributeString("x",t.x.toString().split(",").join(".")),this.writer.writeAttributeString("y",t.y.toString().split(",").join(".")),this.writer.writeAttributeString("width",t.width.toString().split(",").join(".")),this.writer.writeAttributeString("height",t.height.toString().split(",").join(".")),this.writer.writeAttributeString("style",r.toString()),this.writer.writeAttributeString("shape-rendering","crispEdges"),this.writer.writeEndElement()},m.prototype.fillRectangle2=function(t,e){this.fillRectangle(t,e)},m.prototype.rotateTransform=function(t){this.writer.writeStartElement("g"),this.writer.writeAttributeString("transform",a.format("rotate({0})",t.toString().split(",").join(".")))},m.prototype.translateTransform=function(t,e){this.writer.writeStartElement("g"),this.writer.writeAttributeString("transform",a.format("translate({0},{1})",t.toString().split(",").join("."),e.toString().split(",").join(".")))},m.prototype.endTransform=function(){this.writer.writeEndElement()},m.prototype.measureString=function(t,e){return new o(0,0)},m.prototype.drawEllipse=function(t,e){},m.prototype.fillEllipse=function(t,e){var r=new p;r.append(h.writeFillBrush(this.writer,e,t)),this.writer.writeStartElement("ellipse"),this.writer.writeAttributeString("cx",(t.x+t.width/2).toString().split(",").join(".")),this.writer.writeAttributeString("cy",(t.y+t.height/2).toString().split(",").join(".")),this.writer.writeAttributeString("rx",(t.width/2).toString().split(",").join(".")),this.writer.writeAttributeString("ry",(t.height/2).toString().split(",").join(".")),this.writer.writeAttributeString("style",r.toString()),this.writer.writeEndElement()},r=m,i.StiSvgGeomWriter=r}(Stimulsoft=Stimulsoft||{}),function(G){var t,H,e,X,Q,K,h,d,Z,q,$,L,s,l,u,c,p,m,g,y,a,tt,et,Y,U,J,rt,E,f,R,W,nt,V,D,P,z,it,ot,S,O,A,at,b,st,lt,x,F,N,k,M,_,j,ut,ct,pt,ht,mt,dt,gt,ft,St,yt,At,bt,Ct,vt,wt,Bt,It,Tt,Et,Rt,Dt,Pt,xt,Ft,Nt,kt,Mt,C,v,Ot,w,_t,B,jt,Gt,Ht,Qt,Lt,Yt,Ut,Jt,r;function Wt(){}H=t=G.Report||(G.Report={}),X=e=H.Export||(H.Export={}),Q=G.Report.Components.StiSparkline,K=G.System.StiString,h=G.Report.Maps.StiMap,d=G.Report.Maps.StiMapMode,Z=G.Report.Design.StiExpressionPacker,q=G.System.Collections.List,$=G.Base.Drawing.StiTextDrawing,L=G.Report.Components.StiImage,s=G.Report.Components.StiIconSetHelper,l=G.Report.Components.StiIcon,u=G.Report.Components.StiIconSetIndicator,c=G.Base.Drawing.StiColorUtils,p=G.Report.Components.StiDataBarDirection,m=G.Report.Components.StiDataBarIndicator,g=G.Report.Components.IStiExportImageExtended,y=G.System.Drawing.ContentAlignment,a=G.Base.Drawing.StiGlassBrush,tt=G.System.Xml.Formatting,et=G.Base.Drawing.StiTextRenderer,Y=G.Base.Drawing.StiImageCodecInfo,U=G.System.Xml.XmlTextWriter,J=G.System.Drawing.Color,rt=G.Report.Components.StiTextQuality,E=G.Report.Components.StiShapeDirection,f=G.Base.Drawing.StiPenStyle,R=G.System.Drawing.Rectangle,W=G.Report.Components.StiContainer,nt=G.Base.Drawing.StiBrush,V=G.Base.Drawing.StiSolidBrush,D=G.Report.Components.IStiBrush,P=G.Report.Components.StiShape,z=G.Base.Drawing.StiEmptyBrush,it=G.Report.Components.StiText,ot=G.System.Text.Encoding,S=G.Base.Drawing.StiBorderSides,O=G.System.Text.StringBuilder,A=G.Report.Components.IStiBorder,at=G.Base.Drawing.StiTextOptions,b=G.Base.Drawing.StiGradientBrush,st=G.Base.Drawing.StiVertAlignment,lt=G.Base.Drawing.StiTextHorAlignment,x=G.Report.Components.StiVerticalLineShapeType,F=G.Report.Components.StiHorizontalLineShapeType,N=G.Report.Components.StiTopAndBottomLineShapeType,k=G.Report.Components.StiLeftAndRightLineShapeType,M=G.Report.Components.StiRectangleShapeType,_=G.Report.Components.StiRoundedRectangleShapeType,j=G.Report.Components.StiDiagonalDownLineShapeType,ut=G.Report.Components.StiDiagonalUpLineShapeType,ct=G.Report.Components.StiTriangleShapeType,pt=G.Report.Components.StiOvalShapeType,ht=G.Report.Components.StiArrowShapeType,mt=G.Report.Components.StiOctagonShapeType,dt=G.Report.Components.StiComplexArrowShapeType,gt=G.Report.Components.StiBentArrowShapeType,ft=G.Report.Components.StiChevronShapeType,St=G.Report.Components.StiDivisionShapeType,yt=G.Report.Components.StiEqualShapeType,At=G.Report.Components.StiFlowchartCardShapeType,bt=G.Report.Components.StiFlowchartCollateShapeType,Ct=G.Report.Components.StiFlowchartDecisionShapeType,vt=G.Report.Components.StiFlowchartManualInputShapeType,wt=G.Report.Components.StiFlowchartOffPageConnectorShapeType,Bt=G.Report.Components.StiFlowchartPreparationShapeType,It=G.Report.Components.StiFlowchartSortShapeType,Tt=G.Report.Components.StiFrameShapeType,Et=G.Report.Components.StiMinusShapeType,Rt=G.Report.Components.StiMultiplyShapeType,Dt=G.Report.Components.StiParallelogramShapeType,Pt=G.Report.Components.StiPlusShapeType,xt=G.Report.Components.StiRegularPentagonShapeType,Ft=G.Report.Components.StiTrapezoidShapeType,Nt=G.Report.Components.StiSnipSameSideCornerRectangleShapeType,kt=G.Report.Components.StiSnipDiagonalSideCornerRectangleShapeType,Mt=G.Report.Components.StiRectanglePrimitive,C=G.Base.Drawing.StiGlareBrush,v=G.Base.Drawing.StiHatchBrush,Ot=G.Report.Components.StiCheckBox,w=G.Report.Components.StiCheckStyle,_t=G.Report.BarCodes.StiBarCode,B=G.System.Drawing.Font,jt=G.Report.Export.Services.Helpers.StiContextSvgHelper,Gt=G.Report.Components.StiTextInCells,Ht=G.System.Drawing.StringFormat,Qt=G.Base.Drawing.StiFontUtils,Lt=G.System.Drawing.Size,Yt=G.System.Char,Ut=G.Report.Components.StiTextInCellsHelper,Jt=G.System.Drawing.Rectangle,Wt.getLineStyleDash=function(t,e){var r=Math.round2(1.2*e,1).toString().split(",").join("."),n=Math.round2(3*e,1).toString().split(",").join("."),e="";switch(t){case f.Dot:e=K.format("{0},{0}",r);break;case f.Dash:e=K.format("{0},{1}",n,r);break;case f.DashDot:e=K.format("{0},{1},{1},{1}",n,r);break;case f.DashDotDot:e=K.format("{0},{1},{1},{1},{1},{1}",n,r);break}return e},Wt.toUnits=function(t){var e=2,r;return Math.round2(t,e).toString().split(",").join(".")},Wt.writeCoordinates=function(t,e){t.writeAttributeString("x",Wt.toUnits(e.x)),t.writeAttributeString("y",Wt.toUnits(e.y)),t.writeAttributeString("width",Wt.toUnits(e.width)),t.writeAttributeString("height",Wt.toUnits(e.height))},Wt.writeStrokeInfo=function(t,e,r,n){n==f.None?t.writeAttributeString("stroke","none"):(t.writeAttributeString("stroke",K.format("#{0:X2}{1:X2}{2:X2}",e.r,e.g,e.b)),255!=e.a&&t.writeAttributeString("stroke-opacity",Math.round2(e.a/255,3).toString().split(",").join(".")),t.writeAttributeString("stroke-width",Wt.toUnits(r)),n!=f.Solid&&t.writeAttributeString("stroke-dasharray",Wt.getLineStyleDash(n,r)))},Wt.writeFillInfo=function(t,e){t.writeAttributeString("fill",K.format("#{0:X2}{1:X2}{2:X2}",e.r,e.g,e.b)),255!=e.a&&t.writeAttributeString("fill-opacity",Math.round2(e.a/255,3).toString().split(",").join("."))},Wt.checkShape=function(t){if(!t.is(P))return!1;var e=t.as(P);if(null==e)return!1;var r=t.as(D);if(e.shapeType.is2(x)||e.shapeType.is2(F)||e.shapeType.is2(N)||e.shapeType.is2(k)||e.shapeType.is2(M)||e.shapeType.is2(_)||e.shapeType.is2(j)||e.shapeType.is2(ut)||e.shapeType.is2(ct)||e.shapeType.is2(pt)||e.shapeType.is2(ht)||e.shapeType.is2(mt)||e.shapeType.is2(dt)||e.shapeType.is2(gt)||e.shapeType.is2(ft)||e.shapeType.is2(St)||e.shapeType.is2(yt)||e.shapeType.is2(At)||e.shapeType.is2(bt)||e.shapeType.is2(Ct)||e.shapeType.is2(vt)||e.shapeType.is2(wt)||e.shapeType.is2(Bt)||e.shapeType.is2(It)||e.shapeType.is2(Tt)||e.shapeType.is2(Et)||e.shapeType.is2(Rt)||e.shapeType.is2(Dt)||e.shapeType.is2(Pt)||e.shapeType.is2(xt)||e.shapeType.is2(Ft)||e.shapeType.is2(Nt)||e.shapeType.is2(kt))return!0;return!1},Wt.writeDocument=function(t,e,r,n,i,o){var a,s,l,u,c,p,h=new U(ot.UTF8),m=-1;h.indentation=0,h.formatting=tt.None;var d=Y.getImageCodec("image/jpeg");o/=100,r&&h.writeStartDocument(),h.writeStartElement("svg"),h.writeAttributeString("version","1.1"),h.writeAttributeString("baseProfile","full"),r||h.writeAttributeString("style","margin:5px; border:1px solid DarkGrey;"),h.writeAttributeString("xmlns","http://www.w3.org/2000/svg"),h.writeAttributeString("xmlns:xlink","http://www.w3.org/1999/xlink"),h.writeAttributeString("xmlns:ev","http://www.w3.org/2001/xml-events");var g=1,f=g*t.unit.convertToHInches(e.pageHeight*e.segmentPerHeight),S=g*t.unit.convertToHInches(e.pageWidth*e.segmentPerWidth),y=g*t.unit.convertToHInches(e.margins.left),A=g*t.unit.convertToHInches(e.margins.right),b=g*t.unit.convertToHInches(e.margins.top),C=g*t.unit.convertToHInches(e.margins.bottom);h.writeAttributeString("height",Wt.toUnits(f)),h.writeAttributeString("width",Wt.toUnits(S)),h.writeStartElement("defs");try{for(var v=__values(e.components.list),w=v.next(),B,I,T,E,R,D,P,p,x;!w.done;w=v.next()){(B=w.value).enabled&&(I=g*t.unit.convertToHInches(B.left),T=g*t.unit.convertToHInches(B.top),E=g*t.unit.convertToHInches(B.right),R=g*t.unit.convertToHInches(B.bottom),(D=new X.StiSvgData).x=I+y,D.y=T+b,D.width=E-I,D.height=R-T,P=(D.component=B).isExportAsImage(H.StiExportFormat.ImageSvg),p=B.as(it),x=B.as(L),(null!=p&&!P&&null!=(null===(c=p.text)||void 0===c?void 0:c.toString())&&0<(null===(p=p.text)||void 0===p?void 0:p.toString().trim().length)||null!=x||B.is(G.Report.Components.Gauge.IStiGauge))&&(h.writeStartElement("clipPath"),h.writeAttributeString("id",this.getClipPathName(B)),h.writeStartElement("rect"),Wt.writeCoordinates(h,D),h.writeEndElement(),h.writeEndElement()))}}catch(t){a={error:t}}finally{try{w&&!w.done&&(s=v.return)&&s.call(v)}finally{if(a)throw a.error}}h.writeEndElement();var F=1,N=new W;N.border=e.border.clone(),N.brush=e.brush.clone(),N.brush.is(z)?N.brush=new V(J.transparent):0==nt.toColor(N.brush).a&&(N.brush=new V(J.white));var k=new X.StiSvgData;k.x=0,k.y=0,k.width=S,k.height=f,k.component=N;var N={ref:F};Wt.writeBorder1(h,k,N),F=N.ref,Wt.writeWatermark(h,m,e,!0,S,f,o);var N=e.bookmarkValue;K.isNullOrEmpty(N)||(h.writeStartElement("view"),h.writeAttributeString("id",N),h.writeAttributeString("viewBox","0 0 1 1"),h.writeEndElement());try{for(var M=__values(e.components.list),O=M.next(),B,I,T,E,R,D,_,P,j,j,_;!O.done;O=M.next()){(B=O.value).enabled&&(I=g*t.unit.convertToHInches(B.left),T=g*t.unit.convertToHInches(B.top),E=g*t.unit.convertToHInches(B.right),R=g*t.unit.convertToHInches(B.bottom),(D=new X.StiSvgData).x=I+y,D.y=T+b,D.width=E-I,D.height=R-T,D.component=B,_=Wt.checkShape(B),P=B.isExportAsImage(H.StiExportFormat.ImageSvg),_||P||(Wt.writeBorder1(h,D,j={ref:F}),F=j.ref),j=B.hyperlinkValue,K.isNullOrEmpty(j)||(h.writeStartElement("a"),h.writeAttributeString("xlink:href",j)),B.is(it)&&!P?(Wt.writeIndicator(h,D),Wt.writeText(h,D,m,!0)):_?Wt.writeShape(h,D):B.is(_t)?Wt.writeBarCode(h,D):B.is(Q)?X.StiSparklineSvgHelper.writeSparkline(h,D):B.is(G.Report.Chart.IStiChart)?X.StiChartSvgHelper.writeChart(h,D,1,!1):B.is(G.Report.Maps.StiMap)?X.StiMapSvgHelper.drawMap(h,B,D.x,D.y,D.width,D.height,!1):P?Wt.writeImage(h,D,o,n,i,d):B.is(Ot)?Wt.writeCheckBox(h,D,B.checkedValue):(_=D.component.bookmarkValue,K.isNullOrEmpty(_)||(h.writeStartElement("view"),h.writeAttributeString("id",_),h.writeAttributeString("viewBox",K.format("{0} {1} {2} {3}",Wt.toUnits(D.x),Wt.toUnits(D.y),Wt.toUnits(D.width),Wt.toUnits(D.height))),h.writeEndElement())),K.isNullOrEmpty(j)||h.writeEndElement(),r||(D.x=Math.round2(D.x-.5)+.5,D.y=Math.round2(D.y-.5)+.5,D.width=Math.round2(E+y-.5)+.5-D.x,D.height=Math.round2(R+b-.5)+.5-D.y),B.is(Mt)?Wt.writeRoundedRectanglePrimitive(h,D):Wt.writeBorder2(h,D))}}catch(t){l={error:t}}finally{try{O&&!O.done&&(u=M.return)&&u.call(M)}finally{if(l)throw l.error}}return k.x=y,k.y=b,k.width-=y+A,k.height-=b+C,Wt.writeBorder2(h,k),Wt.writeWatermark(h,m,e,!1,S,f,o),h.writeFullEndElement(),r&&h.writeEndDocument(),h.flush(),h.textWriter},Wt.writeWatermark=function(t,e,r,n,i,o,a,s){void 0===s&&(s=1);var l=r.watermark,u,o;if(null!=l&&l.enabled){if(null!=l.image){var c=l.image.width*l.imageMultipleFactor,p=l.image.height*l.imageMultipleFactor,h=0,m=0,d=1,g=1,u=l.imageAlignment,f=l.imageTiling,S,c,p,f,u;switch(l.imageStretch&&(S=p/c,c=i,p=o,f=!1,l.aspectRatio&&(S<o/i?p=c*S:c=p/S)),l.imageStretch||l.imageMultipleFactor,f&&(u=y.TopLeft,d=Math.trunc(i/c)+1,g=Math.trunc(o/p)+1),u){case y.TopCenter:case y.MiddleCenter:case y.BottomCenter:h=(i-c)/2;break;case y.TopRight:case y.MiddleRight:case y.BottomRight:h=i-c;break}switch(u){case y.TopLeft:case y.TopCenter:case y.TopRight:m=o-p;break;case y.MiddleLeft:case y.MiddleCenter:case y.MiddleRight:m=(o-p)/2;break}(u=new X.StiSvgData).x=h,u.y=m,u.width=c,u.height=p}K.isNullOrEmpty(l.text)||((u=new X.StiSvgData).x=0,u.y=0,u.width=i,u.height=o,(o=new it(new R(u.x,u.y,u.width,u.height))).text=l.text,o.textBrush=l.textBrush,o.font=new B(l.font.fontFamily.name,l.font.size*s,l.font.style,l.font.unit),o.textOptions=new at,o.textOptions.angle=l.angle,o.horAlignment=lt.Center,o.vertAlignment=st.Center,o.page=r,o.textQuality=rt.Standard,u.component=o,Wt.writeText(t,u,e,!1))}},Wt.writeBorder1=function(t,e,r){var n=r.ref,i=e.component.as(D),o,o,o,o,i;null!=i&&null!=i.brush&&(i.brush.is(b)?(o=X.StiBrushSvgHelper.writeGradientBrush(t,i.brush,new R(e.x,e.y,e.width,e.height)),t.writeStartElement("rect"),Wt.writeCoordinates(t,e),t.writeAttributeString("fill",K.format("url(#{0})",o)),t.writeEndElement()):i.brush.is(C)?(o=X.StiBrushSvgHelper.writeGlareBrush(t,i.brush,new R(e.x,e.y,e.width,e.height)),t.writeStartElement("rect"),Wt.writeCoordinates(t,e),t.writeAttributeString("fill",K.format("url(#{0})",o)),t.writeEndElement()):i.brush.is(v)?(o=X.StiBrushSvgHelper.writeHatchBrush(t,i.brush),t.writeStartElement("rect"),Wt.writeCoordinates(t,e),t.writeAttributeString("fill",K.format("url(#{0})",o)),t.writeEndElement()):i.brush.is(a)?(o=X.StiBrushSvgHelper.writeGlassBrush(t,i.brush,new R(e.x,e.y,e.width,e.height)),t.writeStartElement("rect"),Wt.writeCoordinates(t,e),t.writeAttributeString("fill",K.format("url(#{0})",o)),t.writeEndElement()):(i=nt.toColor(i.brush)).equals(J.transparent)||(t.writeStartElement("rect"),Wt.writeCoordinates(t,e),Wt.writeFillInfo(t,i),t.writeEndElement())),r.ref=n},Wt.writeBorder2=function(t,e){var r=e.component.as(A),n,i,o,a,s,r,e,e;null!=r&&null!=r.border&&r.border.side!=S.None&&r.border.style!=f.None&&((n=r.border).side==S.All?(t.writeStartElement("rect"),Wt.writeCoordinates(t,e)):(t.writeStartElement("path"),i=Wt.toUnits(e.x),o=Wt.toUnits(e.x+e.width),a=Wt.toUnits(e.y+e.height),s=Wt.toUnits(e.y),r=new O,e=!1,e=0!=(n.side&S.Left)&&(r.append(K.format("M {0} {1} ",i,a)),r.append(K.format("L {0} {1} ",i,s)),!0),e=0!=(n.side&S.Top)&&(e||r.append(K.format("M {0} {1} ",i,s)),r.append(K.format("L {0} {1} ",o,s)),!0),e=0!=(n.side&S.Right)&&(e||r.append(K.format("M {0} {1} ",o,s)),r.append(K.format("L {0} {1} ",o,a)),!0),0!=(n.side&S.Bottom)&&(e||r.append(K.format("M {0} {1} ",o,a)),r.append(K.format("L {0} {1} ",i,a))),t.writeAttributeString("d",r.toString())),t.writeAttributeString("fill","none"),Wt.writeStrokeInfo(t,n.color,n.size,n.style),t.writeEndElement())},Wt.writeText2=function(t,e,r,n){var i,o,a=e.component.as(it),s=null!=a.textOptions?a.textOptions:new at,l,u=[],c=[],p={ref:l=a.text},h={ref:u},m={ref:c};et.getTextLinesAndWidths(null,p,a.font,a.page.unit.convertRectangleToHInches(e.component.componentToPage(e.component.clientRectangle)),1,s.wordWrap,s.rightToLeft,1,s.angle,s.trimming,a.allowHtmlTags,h,m),l=p.ref,c=m.ref;var p=0<(u=h.ref).length;if(1==u.length&&0==u[0].length&&(p=!1),p){var d=0;null!=a.textOptions&&(d=a.textOptions.angle);while(360<=d)d-=360;var m=n&&null!=a.text&&0<a.text.trim().length,g=0;try{for(var f=__values(c),S=f.next(),y;!S.done;S=f.next()){g+=(y=S.value).lineHeight}}catch(t){i={error:t}}finally{try{S&&!S.done&&(o=f.return)&&o.call(f)}finally{if(i)throw i.error}}var A=0;null!=a.border&&(A=a.border.size/2);var h=new O;m&&0==d&&h.append(K.format("clip-path: url(#clipPath{0});",this.getClipPathName(a)));var b=e.x,p=e.y+.9*a.font.sizeInPoints*Wt.correctFontSize;d%90==0?(a.horAlignment==lt.Left&&(b+=2.5+A),a.horAlignment==lt.Center&&(h.append(K.format("text-anchor:{0};","middle")),b+=90==d||270==d?e.height/2:e.width/2),a.horAlignment==lt.Right&&(h.append(K.format("text-anchor:{0};","end")),b+=90==d||270==d?e.height-2-A:e.width-2-A),a.horAlignment==lt.Width&&(b+=2+A),a.vertAlignment==st.Top&&(p+=A),a.vertAlignment==st.Center&&(p+=90==d||270==d?(e.width-g)/2:(e.height-g)/2),a.vertAlignment==st.Bottom&&(p+=90==d||270==d?e.width-g-A:e.height-g-A)):(h.append(K.format("text-anchor:{0};","middle")),b+=e.width/2,p+=(e.height-g)/2);var n=G.System.Drawing.Graphics.getCustomFontName(a.font.name,a.font.style),C;G.System.Drawing.Graphics.allowStyle(a.font.name,a.font.style)&&(a.font.bold&&h.append("font-weight:bold;"),a.font.italic&&h.append("font-style:italic;")),h.append(K.format("font-size:{0}pt;",a.font.sizeInPoints.toString().split(",").join("."))),h.append(K.format("font-family:'{0}';",n)),(a.font.underline||a.font.strikeout)&&(C=a.font.underline?a.font.strikeout?"underline line-through":"underline":a.font.strikeout?"line-through":null,h.append(K.format("text-decoration:{0};",C)));var C=nt.toColor(a.textBrush);h.append(K.format("fill:#{0:X2}{1:X2}{2:X2};",C.r,C.g,C.b)),255!=C.a&&h.append(K.format("fill-opacity:{0}",Math.round2(C.a/255,3).toString().split(",").join("."))),0!=d&&(m&&(t.writeStartElement("g"),t.writeAttributeString("clip-path",K.format("url(#clipPath{0})",this.getClipPathName(a)))),t.writeStartElement("g"),t.writeAttributeString("transform",K.format("translate({0},{1})",Wt.toUnits(e.x+e.width/2),Wt.toUnits(e.y+e.height/2))),t.writeStartElement("g"),t.writeAttributeString("transform",K.format("rotate({0})",Wt.toUnits(-d))),90==d||270==d?(b-=e.x+e.height/2,p-=e.y+e.width/2):(b-=e.x+e.width/2,p-=e.y+e.height/2)),t.writeStartElement("text"),t.writeAttributeString("x",Wt.toUnits(b)),t.writeAttributeString("y",Wt.toUnits(p)),t.writeAttributeString("style",h.toString());var a=a.bookmarkValue;K.isNullOrEmpty(a)||t.writeAttributeString("id",a);for(var v=0;v<u.length;v++){var y=c[v];if(1<u.length&&(t.writeStartElement("tspan"),0<v&&(t.writeAttributeString("x",Wt.toUnits(b)),t.writeAttributeString("dy",Wt.toUnits(y.lineHeight)))),y.needWidthAlign){var w=d;while(w<0)w+=360;var B=e.width;(45<w&&w<135||225<w&&w<315)&&(B=e.height);var B=B-4-2*A;t.writeAttributeString("textLength",Wt.toUnits(0<B?B:1))}var B=u[v];null!=B&&(0==B.trim().length&&(B=" "),B.stimulsoft.endsWith("\n")&&(B=B.substr(0,B.length-1)),B.stimulsoft.endsWith("\r")&&(B=B.substr(0,B.length-1))),t.writeString(B),1<u.length&&t.writeEndElement()}t.writeFullEndElement(),0!=d&&(t.writeFullEndElement(),t.writeFullEndElement(),m&&t.writeFullEndElement())}},Wt.writeText=function(t,e,r,n){var i,o,a,s,l,u,c=e.component,p=c.horAlignment==lt.Width,h=c.textOptions;null==h&&(h=new at),p&&((h=h.clone()).wordWrap=!0);var m,d=null!=c.report&&c.report.info.forceDesigningMode?Z.packExpression(c.getTextInternal(),c.report,!0):c.text;if(K.isNullOrWhiteSpace(d))return;var g=c.getPaintRectangle(!0,!1),f=c.convertTextMargins(g,!1),f;if(f=(f=c.convertTextBorders(f,!1)).normalize(),c.checkAllowHtmlTags()){var S=e.x,y=e.y,A=e.width,b=e.height,C=h.angle,g,A,b;while(360<=C)C-=360;0!=C&&((45<C&&C<135||225<C&&C<315)&&(g=A,A=b,b=g),S=-A/2,y=-b/2,n&&(t.writeStartElement("g"),t.writeAttributeString("clip-path",K.format("url(#{0})",this.getClipPathName(c)))),t.writeStartElement("g"),t.writeAttributeString("transform",K.format("translate({0},{1})",this.toUnits(e.x+e.width/2),this.toUnits(e.y+e.height/2))),t.writeStartElement("g"),t.writeAttributeString("transform",K.format("rotate({0})",this.toUnits(-C))));var v=new q,w=new q,A=h.wordWrap||p,B=c.font.name,I=nt.toColor(c.textBrush),b=nt.toColor(c.brush);et.drawTextForOutput(null,d,c.font,f,I,b,c.lineSpacing,c.horAlignment,c.vertAlignment,A,h.rightToLeft,1,C,h.trimming,h.lineLimit,c.checkAllowHtmlTags(),v,w,h),t.writeStartElement("text"),t.writeAttributeString("x",this.toUnits(S)),t.writeAttributeString("y",this.toUnits(y));var b=c.bookmarkValue;K.isNullOrEmpty(b)||t.writeAttributeString("id",b);var A="";n&&0==C&&(A+=K.format("clip-path: url(#{0});",this.getClipPathName(c))),A+=this.getStyleString(c.font,I),A+="white-space:pre;",t.writeStartAttribute(null,"style",null),t.writeRaw(A),t.writeEndAttribute();try{for(var T=__values(v),E=T.next();!E.done;E=T.next()){var R=E.value,D=w[R.fontIndex],P=S+R.xPos+.5,x=y+R.yPos+D.ascend+.5,F="",D,N;B!=D.fontNameReal&&(F+=K.format("font-family:'{0}';",D.fontNameReal)),c.font.sizeInPoints!=D.fontBase.sizeInPoints&&(F+=K.format("font-size:{0}pt;",D.fontBase.sizeInPoints.toString().split(",").join("."))),c.font.bold!=D.fontBase.bold&&(F+="font-weight:"+(D.fontBase.bold?"bold":"normal")+";"),c.font.italic!=D.fontBase.italic&&(F+="font-style:"+(D.fontBase.italic?"italic":"normal")+";"),c.font.underline==D.fontBase.underline&&c.font.strikeout==D.fontBase.strikeout||(D=D.fontBase.underline?D.fontBase.strikeout?"underline line-through":"underline":D.fontBase.strikeout?"line-through":"none",F+=K.format("text-decoration:{0};",D)),I.toArgb()!=R.textColor.toArgb()&&(F+=K.format("fill:#{0:X2}{1:X2}{2:X2};",R.textColor.r,R.textColor.g,R.textColor.b),255!=R.textColor.a&&(F+=K.format("fill-opacity:{0}",Math.round2(R.textColor.a/255,3).toString().split(",").join(".")))),t.writeStartElement("tspan"),t.writeAttributeString("x",this.toUnits(P)),t.writeAttributeString("y",this.toUnits(x)),0<F.length&&t.writeAttributeString("style",F),K.isNullOrWhiteSpace(R.href)||(t.writeStartElement("a"),t.writeAttributeString("href",R.href),t.writeAttributeString("target","_blank")),null!=(N=R.text)&&(0==N.trim().length&&(N=" "),N.stimulsoft.endsWith("\n")&&(N=N.substr(0,N.length-1)),N.stimulsoft.endsWith("\r")&&(N=N.substr(0,N.length-1))),t.writeString(N),K.isNullOrWhiteSpace(R.href)||t.writeEndElement(),t.writeEndElement()}}catch(t){i={error:t}}finally{try{E&&!E.done&&(o=T.return)&&o.call(T)}finally{if(i)throw i.error}}t.writeFullEndElement(),0!=C&&(t.writeFullEndElement(),t.writeFullEndElement(),n&&t.writeFullEndElement())}else{var A=f.clone(),f;90!=c.angle&&270!=c.angle&&-90!=c.angle||(f=A.height,A.height=A.width,A.width=f);var k=$.splitTextWordwrap(d,null,c.font,A,h,c.horAlignment,c.textQuality==rt.Typographic);try{for(var M=__values(k),O=M.next(),_;!O.done;O=M.next()){(_=O.value).lineHeight*=c.lineSpacing}}catch(t){a={error:t}}finally{try{O&&!O.done&&(s=M.return)&&s.call(M)}finally{if(a)throw a.error}}var A=0<k.length;if(1==k.length&&0==k[0].text.length&&(A=!1),A){var j=0,j=h.angle;while(360<=j)j-=360;var G=0;try{for(var H=__values(k),Q=H.next(),_;!Q.done;Q=H.next()){G+=(_=Q.value).lineHeight}}catch(t){l={error:t}}finally{try{Q&&!Q.done&&(u=H.return)&&u.call(H)}finally{if(l)throw l.error}}var L=0;null!=c.border&&(L=c.border.size/2);var F="";F+="white-space:pre;",n&&0==j&&(F+=K.format("clip-path: url(#{0});",this.getClipPathName(c)));var Y=e.x,U=e.y+.9*c.font.sizeInPoints*this.correctFontSize;j%90==0?((!h.rightToLeft&&c.horAlignment==lt.Left||h.rightToLeft&&c.horAlignment==lt.Right)&&(h.rightToLeft&&(F+=K.format("text-anchor:{0};","end")),Y+=2.5+L),c.horAlignment==lt.Center&&(F+=K.format("text-anchor:{0};","middle"),Y+=90==j||270==j?e.height/2:e.width/2),(h.rightToLeft&&c.horAlignment==lt.Left||!h.rightToLeft&&c.horAlignment==lt.Right)&&(F+=K.format("text-anchor:{0};",h.rightToLeft?"start":"end"),Y+=90==j||270==j?e.height-2-L:e.width-2-L),c.horAlignment==lt.Width&&(Y+=2+L),c.vertAlignment==st.Top&&(U+=L),c.vertAlignment==st.Center&&(U+=90==j||270==j?(e.width-G)/2:(e.height-G)/2),c.vertAlignment==st.Bottom&&(U+=90==j||270==j?e.width-G-L:e.height-G-L)):(F+=K.format("text-anchor:{0};","middle"),Y+=e.width/2,U+=(e.height-G)/2),F+=this.getStyleString(c.font,nt.toColor(c.textBrush)),0!=j&&(n&&(t.writeStartElement("g"),t.writeAttributeString("clip-path",K.format("url(#{0})",this.getClipPathName(c)))),t.writeStartElement("g"),t.writeAttributeString("transform",K.format("translate({0},{1})",this.toUnits(e.x+e.width/2),this.toUnits(e.y+e.height/2))),t.writeStartElement("g"),t.writeAttributeString("transform",K.format("rotate({0})",this.toUnits(-j))),90==j||270==j?(Y-=e.x+e.height/2,U-=e.y+e.width/2):(Y-=e.x+e.width/2,U-=e.y+e.height/2));var J=X.StiBidirectionalConvert.stringContainArabicOrHebrew(d);t.writeStartElement("text"),t.writeAttributeString("x",this.toUnits(Y)),t.writeAttributeString("y",this.toUnits(U)),t.writeAttributeString("style",F.toString()),h.rightToLeft&&(t.writeAttributeString("direction","rtl"),t.writeAttributeString("unicode-bidi","embed"));var b=c.bookmarkValue;K.isNullOrEmpty(b)||t.writeAttributeString("id",b),t.indentation=0,t.formatting=tt.None;for(var W=0;W<k.length;W++){var _=k[W],N;if(1<k.length&&(J?0<W&&(t.writeEndElement(),t.writeStartElement("text"),t.writeAttributeString("x",this.toUnits(Y)),t.writeAttributeString("y",this.toUnits(U+W*_.lineHeight)),t.writeAttributeString("style",F.toString()),h.rightToLeft&&X.StiBidirectionalConvert.stringContainArabicOrHebrew(k[W].text)&&(t.writeAttributeString("direction","rtl"),t.writeAttributeString("unicode-bidi","embed"))):(t.writeStartElement("tspan"),0<W&&(t.writeAttributeString("x",this.toUnits(Y)),t.writeAttributeString("dy",this.toUnits(_.lineHeight))))),_.needWidthAlign){var V=j;while(V<0)V+=360;var z=e.width;(45<V&&V<135||225<V&&V<315)&&(z=e.height);var z=z-4-2*L;t.writeAttributeString("textLength",this.toUnits(0<z?z:1))}null!=(N=k[W].text)&&(0==N.trim().length&&(N=" "),N.stimulsoft.endsWith("\n")&&(N=N.substr(0,N.length-1)),N.stimulsoft.endsWith("\r")&&(N=N.substr(0,N.length-1))),t.writeString(N),!J&&1<k.length&&t.writeEndElement()}t.writeFullEndElement(),t.indentation=r<0?0:r,t.formatting=r<0?tt.None:tt.Indented,0!=j&&(t.writeFullEndElement(),t.writeFullEndElement(),n&&t.writeFullEndElement())}}},Wt.getStyleString=function(t,e){var r="",t;return r+=K.format("font-size:{0}pt;",t.sizeInPoints.toString().split(",").join(".")),r+=K.format("font-family:'{0}';",t.name),t.bold&&(r+="font-weight:bold;"),t.italic&&(r+="font-style:italic;"),(t.underline||t.strikeout)&&(t=t.underline?t.strikeout?"underline line-through":"underline":t.strikeout?"line-through":null,r+=K.format("text-decoration:{0};",t)),r+=K.format("fill:#{0:X2}{1:X2}{2:X2};",e.r,e.g,e.b),255!=e.a&&(r+=K.format("fill-opacity:{0}",Math.round2(e.a/255,3).toString().split(",").join("."))),r},Wt.writeImage=function(t,e,r,n,i,o){var a=0,s=e.component.as(g),l,u,c,p,r,u,u;null!=s&&e.component.isExportAsImage(H.StiExportFormat.ImagePng)&&(u={ref:l=r},c=s.getImage(u,H.StiExportFormat.ImagePng),null!=(p=e.component.as(L))&&null!=p.icon?(r=p.getPaintRectangle(!0,!1),H.StiFontIconsHelper.writeFontIconImage(t,p.iconColor,p.icon,r.width,r.height)):null==c&&null!=p&&(c=e.component.as(L).getImageFromSource()),l=u.ref,null!=c?(t.writeStartElement("image"),u=e.component.bookmarkValue?e.component.bookmarkValue.toString():null,K.isNullOrEmpty(u)||t.writeAttributeString("id",u),t.writeAttributeString("style",K.format("clip-path: url(#clipPath{0});",a++)),(u=new X.StiSvgData).x=e.x,u.y=e.y,s.stretch?(u.width=e.width,u.height=e.height):(u.width=c.width,u.height=c.height),e.component.is(h)?(t.writeAttributeString("x",this.toUnits(e.x)),t.writeAttributeString("y",this.toUnits(e.y)),t.writeAttributeString("width",this.toUnits(c.width)),t.writeAttributeString("height",this.toUnits(c.height))):this.writeCoordinates(t,u),t.writeStartAttribute(null,"xlink:href",null),K.isNullOrEmpty(c.base64)&&!K.isNullOrEmpty(c.url)?t.writeRaw(c.url):t.writeRaw(c.base64),t.writeEndAttribute(),t.writeEndElement()):a++)},Wt.writeBarCode=function(t,e){var r=e.component.as(_t),t=new X.StiSvgGeomWriter(t),t=new X.StiBarCodeExportPainter(t);!r.isDesigning&&K.isNullOrEmpty(r.codeValue)||r.barCodeType.draw(t,r,new R(e.x,e.y,e.width,e.height),1)},Wt.writeShape=function(t,e){var r=e.component.as(P),n=e.component.as(D),i=J.transparent;null!=n&&(i=nt.toColor(n.brush));var o=new O,a=new O,s=Math.trunc(1+r.size/2),l,u,c,p,h,m,d,g,s,u,g,g,u,p,h,m,d,f,S,y,l,d,f,y,S,A,b,C,A,A,C,A,C,A,C,A,v,w,B,C,A,C,A,A;if(e.x+=s,e.y+=s,e.width-=2*s,e.height-=2*s,r.shapeType.is(x)&&(o.append(K.format("M {0},{1} V {3} H {2} V {1} Z",Wt.toUnits(e.x),Wt.toUnits(e.y),Wt.toUnits(e.x+e.width),Wt.toUnits(e.y+e.height))),a.append(K.format("M {0},{1} V {2} Z",Wt.toUnits(e.x+e.width/2),Wt.toUnits(e.y),Wt.toUnits(e.y+e.height)))),r.shapeType.is(F)&&(o.append(K.format("M {0},{1} V {3} H {2} V {1} Z",Wt.toUnits(e.x),Wt.toUnits(e.y),Wt.toUnits(e.x+e.width),Wt.toUnits(e.y+e.height))),a.append(K.format("M {0},{1} H {2} Z",Wt.toUnits(e.x),Wt.toUnits(e.y+e.height/2),Wt.toUnits(e.x+e.width)))),r.shapeType.is(N)&&(o.append(K.format("M {0},{1} V {3} H {2} V {1} Z",Wt.toUnits(e.x),Wt.toUnits(e.y),Wt.toUnits(e.x+e.width),Wt.toUnits(e.y+e.height))),a.append(K.format("M {0},{1} H {2} M {0},{3} H {2} Z",Wt.toUnits(e.x),Wt.toUnits(e.y),Wt.toUnits(e.x+e.width),Wt.toUnits(e.y+e.height)))),r.shapeType.is(k)&&(o.append(K.format("M {0},{1} V {3} H {2} V {1} Z",Wt.toUnits(e.x),Wt.toUnits(e.y),Wt.toUnits(e.x+e.width),Wt.toUnits(e.y+e.height))),a.append(K.format("M {0},{1} V {3} M {2},{1} V {3} Z",Wt.toUnits(e.x),Wt.toUnits(e.y),Wt.toUnits(e.x+e.width),Wt.toUnits(e.y+e.height)))),r.shapeType.is(M)&&(o.append(K.format("M {0},{1} V {3} H {2} V {1} Z",Wt.toUnits(e.x),Wt.toUnits(e.y),Wt.toUnits(e.x+e.width-.5),Wt.toUnits(e.y+e.height-.5))),a=o),r.shapeType.is(j)&&(o.append(K.format("M {0},{1} V {3} H {2} V {1} Z",Wt.toUnits(e.x),Wt.toUnits(e.y),Wt.toUnits(e.x+e.width),Wt.toUnits(e.y+e.height))),a.append(K.format("M {0},{1} L {2},{3} Z",Wt.toUnits(e.x),Wt.toUnits(e.y),Wt.toUnits(e.x+e.width),Wt.toUnits(e.y+e.height)))),r.shapeType.is(ut)&&(o.append(K.format("M {0},{1} V {3} H {2} V {1} Z",Wt.toUnits(e.x),Wt.toUnits(e.y),Wt.toUnits(e.x+e.width),Wt.toUnits(e.y+e.height))),a.append(K.format("M {0},{3} L {2},{1}",Wt.toUnits(e.x),Wt.toUnits(e.y),Wt.toUnits(e.x+e.width),Wt.toUnits(e.y+e.height)))),r.shapeType.is(ct)&&((l=r.shapeType.direction)==E.Up&&o.append(K.format("M {0},{3} L {4},{1} {2},{3} Z",Wt.toUnits(e.x),Wt.toUnits(e.y),Wt.toUnits(e.x+e.width),Wt.toUnits(e.y+e.height),Wt.toUnits(e.x+e.width/2))),l==E.Down&&o.append(K.format("M {0},{1} L {4},{3} {2},{1} Z",Wt.toUnits(e.x),Wt.toUnits(e.y),Wt.toUnits(e.x+e.width),Wt.toUnits(e.y+e.height),Wt.toUnits(e.x+e.width/2))),l==E.Left&&o.append(K.format("M {2},{3} L {0},{4} {2},{1} Z",Wt.toUnits(e.x),Wt.toUnits(e.y),Wt.toUnits(e.x+e.width),Wt.toUnits(e.y+e.height),Wt.toUnits(e.y+e.height/2))),l==E.Right&&o.append(K.format("M {0},{3} L {2},{4} {0},{1} Z",Wt.toUnits(e.x),Wt.toUnits(e.y),Wt.toUnits(e.x+e.width),Wt.toUnits(e.y+e.height),Wt.toUnits(e.y+e.height/2))),a=o),r.shapeType.is(pt)&&(u=e.width/2*(1-Wt.pdfCKT),c=e.height/2*(1-Wt.pdfCKT),p=e.x,h=e.y,m=e.right,d=e.bottom,g=e.x+e.width/2,s=e.y+e.height/2,o.append(K.format("M {0},{1} ",Wt.toUnits(g),Wt.toUnits(d))),o.append(K.format("C {0},{1} {2},{3} {4},{5} ",Wt.toUnits(p+u),Wt.toUnits(d),Wt.toUnits(p),Wt.toUnits(d-c),Wt.toUnits(p),Wt.toUnits(s))),o.append(K.format("C {0},{1} {2},{3} {4},{5} ",Wt.toUnits(p),Wt.toUnits(h+c),Wt.toUnits(p+u),Wt.toUnits(h),Wt.toUnits(g),Wt.toUnits(h))),o.append(K.format("C {0},{1} {2},{3} {4},{5} ",Wt.toUnits(m-u),Wt.toUnits(h),Wt.toUnits(m),Wt.toUnits(h+c),Wt.toUnits(m),Wt.toUnits(s))),o.append(K.format("C {0},{1} {2},{3} {4},{5} Z",Wt.toUnits(m),Wt.toUnits(d-c),Wt.toUnits(m-u),Wt.toUnits(d),Wt.toUnits(g),Wt.toUnits(d))),a=o),r.shapeType.is(_)&&(u=r.shapeType.round,(g=e.width-.5)>e.height&&(g=e.height-.5),u=(g=Math.min(g,100*r.page.zoom)*u)*(1-Wt.pdfCKT),p=e.x,h=e.y,m=e.right-.5,d=e.bottom-.5,o.append(K.format("M {0},{1} ",Wt.toUnits(p+g),Wt.toUnits(d))),o.append(K.format("C {0},{1} {2},{3} {4},{5} ",Wt.toUnits(p+u),Wt.toUnits(d),Wt.toUnits(p),Wt.toUnits(d-u),Wt.toUnits(p),Wt.toUnits(d-g))),o.append(K.format("V {0} ",Wt.toUnits(h+g))),o.append(K.format("C {0},{1} {2},{3} {4},{5} ",Wt.toUnits(p),Wt.toUnits(h+u),Wt.toUnits(p+u),Wt.toUnits(h),Wt.toUnits(p+g),Wt.toUnits(h))),o.append(K.format("H {0} ",Wt.toUnits(m-g))),o.append(K.format("C {0},{1} {2},{3} {4},{5} ",Wt.toUnits(m-u),Wt.toUnits(h),Wt.toUnits(m),Wt.toUnits(h+u),Wt.toUnits(m),Wt.toUnits(h+g))),o.append(K.format("V {0} ",Wt.toUnits(d-g))),o.append(K.format("C {0},{1} {2},{3} {4},{5} Z",Wt.toUnits(m),Wt.toUnits(d-u),Wt.toUnits(m-u),Wt.toUnits(d),Wt.toUnits(m-g),Wt.toUnits(d))),a=o),r.shapeType.is(mt)&&(f=r.shapeType.as(mt),y=S=(null!=r.report?r.report.unit.convertToHInches(f.bevel):f.bevel)*r.page.zoom,f.autoSize&&(S=e.width/(2.414*1.414),y=e.height/(2.414*1.414)),S>e.width/2&&(S=e.width/2),y>e.height/2&&(y=e.height/2),o.append(K.format("M {0},{1} ",this.toUnits(e.x+S),this.toUnits(e.y))),o.append(K.format("L {0},{1} {2},{3} ",this.toUnits(e.right-S),this.toUnits(e.y),this.toUnits(e.right),this.toUnits(e.y+y))),o.append(K.format("{0},{1} {2},{3} ",this.toUnits(e.right),this.toUnits(e.bottom-y),this.toUnits(e.right-S),this.toUnits(e.bottom))),o.append(K.format("{0},{1} {2},{3} ",this.toUnits(e.x+S),this.toUnits(e.bottom),this.toUnits(e.x),this.toUnits(e.bottom-y))),o.append(K.format("{0},{1} {2},{3} ",this.toUnits(e.x+S),this.toUnits(e.bottom),this.toUnits(e.x),this.toUnits(e.bottom-y))),o.append(K.format("{0},{1} {2},{3} Z",this.toUnits(e.x),this.toUnits(e.y+y),this.toUnits(e.x+S),this.toUnits(e.y))),a=o),r.shapeType.is(ht)&&(l=r.shapeType.direction,d=r.shapeType.arrowWidth,f=r.shapeType.arrowHeight,y=e.width*d,S=e.height*f,l!=E.Left&&l!=E.Right||(y=e.height*d,S=e.width*f),l==E.Up&&(o.append(K.format("M {0},{1} ",Wt.toUnits(e.x+e.width-y),Wt.toUnits(e.y+e.height))),o.append(K.format("L {0},{1} ",Wt.toUnits(e.x+e.width-y),Wt.toUnits(e.y+S))),o.append(K.format("{0},{1} ",Wt.toUnits(e.x+e.width),Wt.toUnits(e.y+S))),o.append(K.format("{0},{1} ",Wt.toUnits(e.x+e.width/2),Wt.toUnits(e.y))),o.append(K.format("{0},{1} ",Wt.toUnits(e.x),Wt.toUnits(e.y+S))),o.append(K.format("{0},{1} ",Wt.toUnits(e.x+y),Wt.toUnits(e.y+S))),o.append(K.format("{0},{1} ",Wt.toUnits(e.x+y),Wt.toUnits(e.y+e.height))),o.append(K.format("{0},{1} Z",Wt.toUnits(e.x+e.width-y),Wt.toUnits(e.y+e.height)))),l==E.Down&&(o.append(K.format("M {0},{1} ",Wt.toUnits(e.x+y),Wt.toUnits(e.y))),o.append(K.format("L {0},{1} ",Wt.toUnits(e.x+y),Wt.toUnits(e.y+e.height-S))),o.append(K.format("{0},{1} ",Wt.toUnits(e.x),Wt.toUnits(e.y+e.height-S))),o.append(K.format("{0},{1} ",Wt.toUnits(e.x+e.width/2),Wt.toUnits(e.y+e.height))),o.append(K.format("{0},{1} ",Wt.toUnits(e.x+e.width),Wt.toUnits(e.y+e.height-S))),o.append(K.format("{0},{1} ",Wt.toUnits(e.x+e.width-y),Wt.toUnits(e.y+e.height-S))),o.append(K.format("{0},{1} ",Wt.toUnits(e.x+e.width-y),Wt.toUnits(e.y))),o.append(K.format("{0},{1} Z",Wt.toUnits(e.x+y),Wt.toUnits(e.y)))),l==E.Left&&(o.append(K.format("M {0},{1} ",Wt.toUnits(e.x+e.width),Wt.toUnits(e.y+y))),o.append(K.format("L {0},{1} ",Wt.toUnits(e.x+S),Wt.toUnits(e.y+y))),o.append(K.format("{0},{1} ",Wt.toUnits(e.x+S),Wt.toUnits(e.y))),o.append(K.format("{0},{1} ",Wt.toUnits(e.x),Wt.toUnits(e.y+e.height/2))),o.append(K.format("{0},{1} ",Wt.toUnits(e.x+S),Wt.toUnits(e.y+e.height))),o.append(K.format("{0},{1} ",Wt.toUnits(e.x+S),Wt.toUnits(e.y+e.height-y))),o.append(K.format("{0},{1} ",Wt.toUnits(e.x+e.width),Wt.toUnits(e.y+e.height-y))),o.append(K.format("{0},{1} Z",Wt.toUnits(e.x+e.width),Wt.toUnits(e.y+y)))),l==E.Right&&(o.append(K.format("M {0},{1} ",Wt.toUnits(e.x),Wt.toUnits(e.y+e.height-y))),o.append(K.format("L {0},{1} ",Wt.toUnits(e.x+e.width-S),Wt.toUnits(e.y+e.height-y))),o.append(K.format("{0},{1} ",Wt.toUnits(e.x+e.width-S),Wt.toUnits(e.y+e.height))),o.append(K.format("{0},{1} ",Wt.toUnits(e.x+e.width),Wt.toUnits(e.y+e.height/2))),o.append(K.format("{0},{1} ",Wt.toUnits(e.x+e.width-S),Wt.toUnits(e.y))),o.append(K.format("{0},{1} ",Wt.toUnits(e.x+e.width-S),Wt.toUnits(e.y+y))),o.append(K.format("{0},{1} ",Wt.toUnits(e.x),Wt.toUnits(e.y+y))),o.append(K.format("{0},{1} Z",Wt.toUnits(e.x),Wt.toUnits(e.y+e.height-y)))),a=o),r.shapeType.is(dt)){var A=e.width<e.height?e.width/2:e.height/2,I=e.height/3.8,T=e.width/3.8,C=e.height<e.width?e.height/2:e.width/2;switch(r.shapeType.as(dt).direction){case E.Left:case E.Right:o.append(K.format("M {0},{1} ",this.toUnits(e.x),this.toUnits(e.y+e.height/2))),o.append(K.format("L {0},{1} ",this.toUnits(e.x+A),this.toUnits(e.y))),o.append(K.format("{0},{1} ",this.toUnits(e.x+A),this.toUnits(e.y+I))),o.append(K.format("{0},{1} ",this.toUnits(e.right-A),this.toUnits(e.y+I))),o.append(K.format("{0},{1} ",this.toUnits(e.right-A),this.toUnits(e.y))),o.append(K.format("{0},{1} ",this.toUnits(e.right),this.toUnits(e.y+e.height/2))),o.append(K.format("{0},{1} ",this.toUnits(e.right-A),this.toUnits(e.bottom))),o.append(K.format("{0},{1} ",this.toUnits(e.right-A),this.toUnits(e.bottom-I))),o.append(K.format("{0},{1} ",this.toUnits(e.x+A),this.toUnits(e.bottom-I))),o.append(K.format("{0},{1} ",this.toUnits(e.x+A),this.toUnits(e.bottom))),o.append(K.format("{0},{1} Z",this.toUnits(e.x),this.toUnits(e.y+e.height/2)));break;case E.Down:case E.Up:o.append(K.format("M {0},{1} ",this.toUnits(e.x),this.toUnits(e.y+C))),o.append(K.format("L {0},{1} ",this.toUnits(e.x+e.width/2),this.toUnits(e.y))),o.append(K.format("{0},{1} ",this.toUnits(e.right),this.toUnits(e.y+C))),o.append(K.format("{0},{1} ",this.toUnits(e.right-T),this.toUnits(e.y+C))),o.append(K.format("{0},{1} ",this.toUnits(e.right-T),this.toUnits(e.bottom-C))),o.append(K.format("{0},{1} ",this.toUnits(e.right),this.toUnits(e.bottom-C))),o.append(K.format("{0},{1} ",this.toUnits(e.x+e.width/2),this.toUnits(e.bottom))),o.append(K.format("{0},{1} ",this.toUnits(e.x),this.toUnits(e.bottom-C))),o.append(K.format("{0},{1} ",this.toUnits(e.x+T),this.toUnits(e.bottom-C))),o.append(K.format("{0},{1} ",this.toUnits(e.x+T),this.toUnits(e.y+C))),o.append(K.format("{0},{1} Z",this.toUnits(e.x),this.toUnits(e.y+C)));break}a=o}if(r.shapeType.is(gt)){var b=0,I=0,T=0,T=e.height>e.width?(b=I=e.width/4)/2:(I=b=e.height/4)/2;switch(r.shapeType.as(gt).direction){case E.Up:o.append(K.format("M {0},{1} ",this.toUnits(e.x),this.toUnits(e.bottom))),o.append(K.format("L {0},{1} ",this.toUnits(e.x),this.toUnits(e.bottom-b))),o.append(K.format("{0},{1} ",this.toUnits(e.right-(T+b)),this.toUnits(e.bottom-b))),o.append(K.format("{0},{1} ",this.toUnits(e.right-(T+b)),this.toUnits(e.y+I))),o.append(K.format("{0},{1} ",this.toUnits(e.right-2*I),this.toUnits(e.y+I))),o.append(K.format("{0},{1} ",this.toUnits(e.right-I),this.toUnits(e.y))),o.append(K.format("{0},{1} ",this.toUnits(e.right),this.toUnits(e.y+I))),o.append(K.format("{0},{1} ",this.toUnits(e.right-T),this.toUnits(e.y+I))),o.append(K.format("{0},{1} ",this.toUnits(e.right-T),this.toUnits(e.bottom))),o.append(K.format("{0},{1} Z",this.toUnits(e.x),this.toUnits(e.bottom)));break;case E.Left:o.append(K.format("M {0},{1} ",this.toUnits(e.right),this.toUnits(e.bottom))),o.append(K.format("L {0},{1} ",this.toUnits(e.right),this.toUnits(e.y+T))),o.append(K.format("{0},{1} ",this.toUnits(e.x+I),this.toUnits(e.y+T))),o.append(K.format("{0},{1} ",this.toUnits(e.x+I),this.toUnits(e.y))),o.append(K.format("{0},{1} ",this.toUnits(e.x),this.toUnits(e.y+I))),o.append(K.format("{0},{1} ",this.toUnits(e.x+I),this.toUnits(e.y+2*I))),o.append(K.format("{0},{1} ",this.toUnits(e.x+I),this.toUnits(e.y+I+T))),o.append(K.format("{0},{1} ",this.toUnits(e.right-b),this.toUnits(e.y+I+T))),o.append(K.format("{0},{1} ",this.toUnits(e.right-b),this.toUnits(e.bottom))),o.append(K.format("{0},{1} Z",this.toUnits(e.right),this.toUnits(e.bottom)));break;case E.Down:o.append(K.format("M {0},{1} ",this.toUnits(e.right),this.toUnits(e.y))),o.append(K.format("L {0},{1} ",this.toUnits(e.x+T),this.toUnits(e.y))),o.append(K.format("{0},{1} ",this.toUnits(e.x+T),this.toUnits(e.bottom-I))),o.append(K.format("{0},{1} ",this.toUnits(e.x),this.toUnits(e.bottom-I))),o.append(K.format("{0},{1} ",this.toUnits(e.x+I),this.toUnits(e.bottom))),o.append(K.format("{0},{1} ",this.toUnits(e.x+2*I),this.toUnits(e.bottom-I))),o.append(K.format("{0},{1} ",this.toUnits(e.x+I+T),this.toUnits(e.bottom-I))),o.append(K.format("{0},{1} ",this.toUnits(e.x+I+T),this.toUnits(e.y+b))),o.append(K.format("{0},{1} ",this.toUnits(e.right),this.toUnits(e.y+b))),o.append(K.format("{0},{1} Z",this.toUnits(e.right),this.toUnits(e.y)));break;case E.Right:o.append(K.format("M {0},{1} ",this.toUnits(e.x),this.toUnits(e.y))),o.append(K.format("L {0},{1} ",this.toUnits(e.x),this.toUnits(e.bottom-T))),o.append(K.format("{0},{1} ",this.toUnits(e.right-I),this.toUnits(e.bottom-T))),o.append(K.format("{0},{1} ",this.toUnits(e.right-I),this.toUnits(e.bottom))),o.append(K.format("{0},{1} ",this.toUnits(e.right),this.toUnits(e.bottom-I))),o.append(K.format("{0},{1} ",this.toUnits(e.right-I),this.toUnits(e.bottom-2*I))),o.append(K.format("{0},{1} ",this.toUnits(e.right-I),this.toUnits(e.bottom-I-T))),o.append(K.format("{0},{1} ",this.toUnits(e.x+b),this.toUnits(e.bottom-I-T))),o.append(K.format("{0},{1} ",this.toUnits(e.x+b),this.toUnits(e.y))),o.append(K.format("{0},{1} Z",this.toUnits(e.x),this.toUnits(e.y)));break}a=o}if(r.shapeType.is(ft)){var B=e.width>e.height?e.height/2:e.width/2;switch(r.shapeType.as(ft).direction){case E.Right:o.append(K.format("M {0},{1} ",this.toUnits(e.x),this.toUnits(e.y))),o.append(K.format("L {0},{1} ",this.toUnits(e.x+B),this.toUnits(e.y+e.height/2))),o.append(K.format("{0},{1} ",this.toUnits(e.x),this.toUnits(e.bottom))),o.append(K.format("{0},{1} ",this.toUnits(e.right-B),this.toUnits(e.bottom))),o.append(K.format("{0},{1} ",this.toUnits(e.right),this.toUnits(e.y+e.height/2))),o.append(K.format("{0},{1} ",this.toUnits(e.right-B),this.toUnits(e.y))),o.append(K.format("{0},{1} Z",this.toUnits(e.x),this.toUnits(e.y)));break;case E.Left:o.append(K.format("M {0},{1} ",this.toUnits(e.right),this.toUnits(e.y))),o.append(K.format("L {0},{1} ",this.toUnits(e.x+B),this.toUnits(e.y))),o.append(K.format("{0},{1} ",this.toUnits(e.x),this.toUnits(e.y+e.height/2))),o.append(K.format("{0},{1} ",this.toUnits(e.x+B),this.toUnits(e.bottom))),o.append(K.format("{0},{1} ",this.toUnits(e.right),this.toUnits(e.bottom))),o.append(K.format("{0},{1} ",this.toUnits(e.right-B),this.toUnits(e.y+e.height/2))),o.append(K.format("{0},{1} Z",this.toUnits(e.right),this.toUnits(e.y)));break;case E.Up:o.append(K.format("M {0},{1} ",this.toUnits(e.x),this.toUnits(e.y+B))),o.append(K.format("L {0},{1} ",this.toUnits(e.x+e.width/2),this.toUnits(e.y))),o.append(K.format("{0},{1} ",this.toUnits(e.right),this.toUnits(e.y+B))),o.append(K.format("{0},{1} ",this.toUnits(e.right),this.toUnits(e.bottom))),o.append(K.format("{0},{1} ",this.toUnits(e.x+e.width/2),this.toUnits(e.bottom-B))),o.append(K.format("{0},{1} ",this.toUnits(e.x),this.toUnits(e.bottom))),o.append(K.format("{0},{1} Z",this.toUnits(e.x),this.toUnits(e.y+B)));break;case E.Down:o.append(K.format("M {0},{1} ",this.toUnits(e.x),this.toUnits(e.y))),o.append(K.format("L {0},{1} ",this.toUnits(e.x+e.width/2),this.toUnits(e.y+B))),o.append(K.format("{0},{1} ",this.toUnits(e.right),this.toUnits(e.y))),o.append(K.format("{0},{1} ",this.toUnits(e.right),this.toUnits(e.bottom-B))),o.append(K.format("{0},{1} ",this.toUnits(e.x+e.width/2),this.toUnits(e.bottom))),o.append(K.format("{0},{1} ",this.toUnits(e.x),this.toUnits(e.bottom-B))),o.append(K.format("{0},{1} Z",this.toUnits(e.x),this.toUnits(e.y)));break}a=o}if(r.shapeType.is(St)&&(A=e.height/3,A+=4,o.append(K.format("M {0},{1} ",this.toUnits(e.x),this.toUnits(e.y+A))),o.append(K.format("L {0},{1} {2},{3} {4},{5} {6},{7} ",this.toUnits(e.right),this.toUnits(e.y+A),this.toUnits(e.right),this.toUnits(e.bottom-A),this.toUnits(e.x),this.toUnits(e.bottom-A),this.toUnits(e.x),this.toUnits(e.y+A))),A-=4,o.append(K.format("M {0},{1} ",this.toUnits(e.width/2-A/2+e.x),this.toUnits(e.y+1+A/2))),o.append(K.format("a {0},{0} 0 1,0 {1},0 a {0},{0} 0 1,0 -{1},0 ",A/2,A)),o.append(K.format("M {0},{1} ",this.toUnits(e.width/2-A/2+e.x),this.toUnits(e.bottom-2-A/2))),o.append(K.format("a {0},{0} 0 1,0 {1},0 a {0},{0} 0 1,0 -{1},0 Z",A/2,A)),a=o),r.shapeType.is(yt)&&(b=(e.height-e.height/6)/2,o.append(K.format("M {0},{1} h {2} v {3} H {0} V {1} ",this.toUnits(e.x),this.toUnits(e.bottom-b),this.toUnits(e.width),this.toUnits(b))),o.append(K.format("M {0},{1} h {2} v {3} H {0} V {1} Z",this.toUnits(e.x),this.toUnits(e.y),this.toUnits(e.width),this.toUnits(b))),a=o),r.shapeType.is(At)&&(o.append(K.format("M {0},{1} L {2},{3} ",this.toUnits(e.right),this.toUnits(e.y),this.toUnits(e.right),this.toUnits(e.bottom))),o.append(K.format("{0},{1} {2},{3} {4},{5} {6},{7} Z",this.toUnits(e.x),this.toUnits(e.bottom),this.toUnits(e.x),this.toUnits(e.y+e.height/5),this.toUnits(e.x+e.width/5),this.toUnits(e.y),this.toUnits(e.right),this.toUnits(e.y))),a=o),r.shapeType.is(bt)){switch(r.shapeType.as(bt).direction){case E.Down:case E.Up:o.append(K.format("M {0},{1} ",this.toUnits(e.x),this.toUnits(e.y))),o.append(K.format("L {0},{1} {2},{3} {4},{5} {6},{7} Z",this.toUnits(e.right),this.toUnits(e.bottom),this.toUnits(e.x),this.toUnits(e.bottom),this.toUnits(e.right),this.toUnits(e.y),this.toUnits(e.x),this.toUnits(e.y)));break;case E.Left:case E.Right:o.append(K.format("M {0},{1} ",this.toUnits(e.x),this.toUnits(e.y))),o.append(K.format("L {0},{1} {2},{3} {4},{5} {6},{7} Z",this.toUnits(e.right),this.toUnits(e.bottom),this.toUnits(e.right),this.toUnits(e.y),this.toUnits(e.x),this.toUnits(e.bottom),this.toUnits(e.x),this.toUnits(e.y)));break}a=o}if(r.shapeType.is(Ct)&&(o.append(K.format("M {0},{1} ",this.toUnits(e.x),this.toUnits(e.y+e.height/2))),o.append(K.format("L {0},{1} {2},{3} {4},{5} {6},{7} Z",this.toUnits(e.x+e.width/2),this.toUnits(e.y),this.toUnits(e.right),this.toUnits(e.y+e.height/2),this.toUnits(e.x+e.width/2),this.toUnits(e.bottom),this.toUnits(e.x),this.toUnits(e.y+e.height/2))),a=o),r.shapeType.is(vt)&&(o.append(K.format("M {0},{1} ",this.toUnits(e.x),this.toUnits(e.y+e.height/5))),o.append(K.format("L {0},{1} {2},{3} {4},{5} {6},{7} Z",this.toUnits(e.right),this.toUnits(e.y),this.toUnits(e.right),this.toUnits(e.bottom),this.toUnits(e.x),this.toUnits(e.bottom),this.toUnits(e.x),this.toUnits(e.y+e.height/5))),a=o),r.shapeType.is(wt)){var A=e.height/5,C=e.width/5;switch(r.shapeType.as(wt).direction){case E.Down:o.append(K.format("M {0},{1} L {2},{3} ",this.toUnits(e.x),this.toUnits(e.y),this.toUnits(e.right),this.toUnits(e.y))),o.append(K.format("{0},{1} {2},{3} {4},{5} {6},{7} Z",this.toUnits(e.right),this.toUnits(e.bottom-A),this.toUnits(e.x+e.width/2),this.toUnits(e.bottom),this.toUnits(e.x),this.toUnits(e.bottom-A),this.toUnits(e.x),this.toUnits(e.y)));break;case E.Up:o.append(K.format("M {0},{1} L {2},{3} ",this.toUnits(e.x),this.toUnits(e.bottom),this.toUnits(e.x),this.toUnits(e.y+A))),o.append(K.format("{0},{1} {2},{3} {4},{5} {6},{7} Z",this.toUnits(e.x+e.width/2),this.toUnits(e.y),this.toUnits(e.right),this.toUnits(e.y+A),this.toUnits(e.right),this.toUnits(e.bottom),this.toUnits(e.x),this.toUnits(e.bottom)));break;case E.Left:o.append(K.format("M {0},{1} L {2},{3} ",this.toUnits(e.x+C),this.toUnits(e.y),this.toUnits(e.right),this.toUnits(e.y))),o.append(K.format("{0},{1} {2},{3} {4},{5} {6},{7} Z",this.toUnits(e.right),this.toUnits(e.bottom),this.toUnits(e.x+C),this.toUnits(e.bottom),this.toUnits(e.x),this.toUnits(e.y+e.height/2),this.toUnits(e.x+C),this.toUnits(e.y)));break;case E.Right:o.append(K.format("M {0},{1} L {2},{3} ",this.toUnits(e.x),this.toUnits(e.y),this.toUnits(e.right-C),this.toUnits(e.y))),o.append(K.format("{0},{1} {2},{3} {4},{5} {6},{7} Z",this.toUnits(e.right),this.toUnits(e.y+e.height/2),this.toUnits(e.right-C),this.toUnits(e.bottom),this.toUnits(e.x),this.toUnits(e.bottom),this.toUnits(e.x),this.toUnits(e.y)));break}a=o}if(r.shapeType.is(Bt)){var C=e.width/5,A=e.height/5,w=e.width/2,v=e.height/2;switch(r.shapeType.as(Bt).direction){case E.Left:case E.Right:o.append(K.format("M {0},{1} L {2},{3} {4},{5} ",this.toUnits(e.x),this.toUnits(e.y+v),this.toUnits(e.x+C),this.toUnits(e.y),this.toUnits(e.right-C),this.toUnits(e.y))),o.append(K.format("{0},{1} {2},{3} {4},{5} {6},{7} Z",this.toUnits(e.right),this.toUnits(e.y+v),this.toUnits(e.right-C),this.toUnits(e.bottom),this.toUnits(e.x+C),this.toUnits(e.bottom),this.toUnits(e.x),this.toUnits(e.y+v)));break;case E.Down:case E.Up:o.append(K.format("M {0},{1} L {2},{3} {4},{5} ",this.toUnits(e.x+w),this.toUnits(e.y),this.toUnits(e.right),this.toUnits(e.y+A),this.toUnits(e.right),this.toUnits(e.bottom-A))),o.append(K.format("{0},{1} {2},{3} {4},{5} {6},{7} Z",this.toUnits(e.x+w),this.toUnits(e.bottom),this.toUnits(e.x),this.toUnits(e.bottom-A),this.toUnits(e.x),this.toUnits(e.y+A),this.toUnits(e.x+w),this.toUnits(e.y)));break}a=o}r.shapeType.is(It)&&(o.append(K.format("M {0},{1} L {2},{3} ",this.toUnits(e.x),this.toUnits(e.y+e.height/2),this.toUnits(e.x+e.width/2),this.toUnits(e.y))),o.append(K.format("{0},{1} {2},{3} {4},{5} {6},{7} Z",this.toUnits(e.right),this.toUnits(e.y+e.height/2),this.toUnits(e.x+e.width/2),this.toUnits(e.bottom),this.toUnits(e.x),this.toUnits(e.y+e.height/2),this.toUnits(e.right),this.toUnits(e.y+e.height/2))),a=o),r.shapeType.is(Tt)&&(C=e.width/7,A=e.height/7,o.append(K.format("M {0},{1} L {2},{3} {4},{5} {6},{7} {8},{9} ",this.toUnits(e.x),this.toUnits(e.y),this.toUnits(e.right),this.toUnits(e.y),this.toUnits(e.right),this.toUnits(e.bottom),this.toUnits(e.x),this.toUnits(e.bottom),this.toUnits(e.x),this.toUnits(e.y))),o.append(K.format("M {0},{1} L {2},{3} {4},{5} {6},{7} {8},{9} Z",this.toUnits(e.x+C),this.toUnits(e.y+A),this.toUnits(e.x+C),this.toUnits(e.bottom-A),this.toUnits(e.right-C),this.toUnits(e.bottom-A),this.toUnits(e.right-C),this.toUnits(e.y+A),this.toUnits(e.x+C),this.toUnits(e.y+A))),a=o),r.shapeType.is(Et)&&(A=e.height/3,o.append(K.format("M {0},{1} ",this.toUnits(e.x),this.toUnits(e.y+A))),o.append(K.format("L {0},{1} {2},{3} {4},{5} {6},{7} Z",this.toUnits(e.right),this.toUnits(e.y+A),this.toUnits(e.right),this.toUnits(e.bottom-A),this.toUnits(e.x),this.toUnits(e.bottom-A),this.toUnits(e.x),this.toUnits(e.y+A))),a=o),r.shapeType.is(Rt)&&(C=e.width/4,A=e.height/4,o.append(K.format("M {0},{1} ",this.toUnits(e.x),this.toUnits(e.y+A))),o.append(K.format("L {0},{1} {2},{3} {4},{5} {6},{7} ",this.toUnits(e.x+C),this.toUnits(e.y),this.toUnits(e.x+e.width/2),this.toUnits(e.y+A),this.toUnits(e.right-C),this.toUnits(e.y),this.toUnits(e.right),this.toUnits(e.y+A))),o.append(K.format("{0},{1} {2},{3} {4},{5} {6},{7} ",this.toUnits(e.right-C),this.toUnits(e.y+e.height/2),this.toUnits(e.right),this.toUnits(e.bottom-A),this.toUnits(e.right-C),this.toUnits(e.bottom),this.toUnits(e.x+e.width/2),this.toUnits(e.bottom-A))),o.append(K.format("{0},{1} {2},{3} {4},{5} {6},{7} Z",this.toUnits(e.x+C),this.toUnits(e.bottom),this.toUnits(e.x),this.toUnits(e.bottom-A),this.toUnits(e.x+C),this.toUnits(e.y+e.height/2),this.toUnits(e.x),this.toUnits(e.y+A))),a=o),r.shapeType.is(Dt)&&(C=e.width/7,A=e.height/7,o.append(K.format("M {0},{1} L {2},{3} {4},{5} {6},{7} {8},{9} Z",this.toUnits(e.x),this.toUnits(e.bottom),this.toUnits(e.x+e.width/5),this.toUnits(e.y),this.toUnits(e.right),this.toUnits(e.y),this.toUnits(e.right-e.width/5),this.toUnits(e.bottom),this.toUnits(e.x),this.toUnits(e.bottom))),a=o),r.shapeType.is(Pt)&&(C=e.width/3,A=e.height/3,o.append(K.format("M {0},{1} ",this.toUnits(e.x+C),this.toUnits(e.y))),o.append(K.format("L {0},{1} {2},{3} {4},{5} {6},{7} ",this.toUnits(e.right-C),this.toUnits(e.y),this.toUnits(e.right-C),this.toUnits(e.y+A),this.toUnits(e.right),this.toUnits(e.y+A),this.toUnits(e.right),this.toUnits(e.bottom-A))),o.append(K.format("{0},{1} {2},{3} {4},{5} {6},{7} ",this.toUnits(e.right-C),this.toUnits(e.bottom-A),this.toUnits(e.right-C),this.toUnits(e.bottom),this.toUnits(e.x+C),this.toUnits(e.bottom),this.toUnits(e.x+C),this.toUnits(e.bottom-A))),o.append(K.format("{0},{1} {2},{3} {4},{5} {6},{7} Z",this.toUnits(e.x),this.toUnits(e.bottom-A),this.toUnits(e.x),this.toUnits(e.y+A),this.toUnits(e.x+C),this.toUnits(e.y+A),this.toUnits(e.x+C),this.toUnits(e.y))),a=o),r.shapeType.is(xt)&&(v=e.height/2.6,w=e.width/5.5,o.append(K.format("M {0},{1} L {2},{3} ",this.toUnits(e.x),this.toUnits(e.y+v),this.toUnits(e.x+e.width/2),this.toUnits(e.y))),o.append(K.format("{0},{1} {2},{3} {4},{5} {6},{7} Z",this.toUnits(e.right),this.toUnits(e.y+v),this.toUnits(e.right-w),this.toUnits(e.bottom),this.toUnits(e.x+w),this.toUnits(e.bottom),this.toUnits(e.x),this.toUnits(e.y+v))),a=o),r.shapeType.is(Ft)&&(B=e.width/4.75,o.append(K.format("M {0},{1} L {2},{3} {4},{5} {6},{7} {8},{9} Z",this.toUnits(e.x),this.toUnits(e.bottom),this.toUnits(e.x+B),this.toUnits(e.y),this.toUnits(e.right-B),this.toUnits(e.y),this.toUnits(e.right),this.toUnits(e.bottom),this.toUnits(e.x),this.toUnits(e.bottom))),a=o),r.shapeType.is(Nt)&&(C=e.width/7.2,A=e.height/4.6,o.append(K.format("M {0},{1} L {2},{3} {4},{5} ",this.toUnits(e.x),this.toUnits(e.y+A),this.toUnits(e.x+C),this.toUnits(e.y),this.toUnits(e.right-C),this.toUnits(e.y))),o.append(K.format("{0},{1} {2},{3} {4},{5} {6},{7} Z",this.toUnits(e.right),this.toUnits(e.y+A),this.toUnits(e.right),this.toUnits(e.bottom),this.toUnits(e.x),this.toUnits(e.bottom),this.toUnits(e.x),this.toUnits(e.y+A))),a=o),r.shapeType.is(kt)&&(C=e.width/7.2,A=e.height/4.6,o.append(K.format("M {0},{1} L {2},{3} {4},{5} ",this.toUnits(e.x),this.toUnits(e.y),this.toUnits(e.right-C),this.toUnits(e.y),this.toUnits(e.right),this.toUnits(e.y+A))),o.append(K.format("{0},{1} {2},{3} {4},{5} {6},{7} Z",this.toUnits(e.right),this.toUnits(e.bottom),this.toUnits(e.x+C),this.toUnits(e.bottom),this.toUnits(e.x),this.toUnits(e.bottom-A),this.toUnits(e.x),this.toUnits(e.y))),a=o),(0<o.length||0<a.length)&&(o==a?(A=new O,null!=n.brush?A.append(this.writeFillBrush(t,n.brush,new R(e.x,e.y,e.width,e.height))):A.append("fill:none;"),t.writeStartElement("path"),t.writeAttributeString("style",A.toString()),r.borderColor.equals(J.transparent)?t.writeAttributeString("stroke","none"):Wt.writeStrokeInfo(t,r.borderColor,r.size,r.style),t.writeAttributeString("transform","translate(0, 0)"),t.writeAttributeString("d",o.toString()),t.writeEndElement()):(0<o.length&&!i.equals(J.transparent)&&(t.writeStartElement("path"),Wt.writeFillInfo(t,i),t.writeAttributeString("stroke","none"),t.writeAttributeString("d",o.toString()),t.writeEndElement()),0<a.length&&!r.borderColor.equals(J.transparent)&&(t.writeStartElement("path"),t.writeAttributeString("fill","none"),Wt.writeStrokeInfo(t,r.borderColor,r.size,r.style),t.writeAttributeString("d",a.toString()),t.writeEndElement())))},Wt.writeFillBrush=function(t,e,r){if(e instanceof J){var n=e;return K.format("fill:rgb({0},{1},{2});fill-opacity:{3};",n.r,n.g,n.b,Math.round2(n.a/255,3))}if(e.is(b)||e.is(C)||e.is(v)||e.is(a)){var r=r.clone(),r=this.writeBrush(t,e,r);return K.format("fill:url(#{0});",r)}if(e.is(nt)){var n=nt.toColor(e);return K.format("fill:rgb({0},{1},{2});fill-opacity:{3};",n.r,n.g,n.b,Math.round2(n.a/255,3))}return"fill-opacity:0;"},Wt.writeBrush=function(t,e,r){var n="";return e.is(C)?n=X.StiBrushSvgHelper.writeGlareBrush(t,e,r):e.is(b)?n=X.StiBrushSvgHelper.writeGradientBrush(t,e,r):e.is(v)?n=X.StiBrushSvgHelper.writeHatchBrush(t,e):e.is(a)&&(n=X.StiBrushSvgHelper.writeGlassBrush(t,e,r)),n},Wt.writeRoundedRectanglePrimitive=function(t,e){var r=e.component,n,i,o,a,s,l,o,i,e;r.color.equals(J.transparent)||(n=new O,i=r.round,(o=e.width)>e.height&&(o=e.height),s=(a=Math.min(o,100*r.page.zoom)*i)*(1-Wt.pdfCKT),l=e.x,o=e.y,i=e.x+e.width,e=e.y+e.height,n.append(K.format("M {0} {1} ",Wt.toUnits(l+a),Wt.toUnits(e))),n.append(K.format("C {0} {1} {2} {3} {4} {5} ",Wt.toUnits(l+s),Wt.toUnits(e),Wt.toUnits(l),Wt.toUnits(e-s),Wt.toUnits(l),Wt.toUnits(e-a))),n.append(K.format("V {0} ",Wt.toUnits(o+a))),n.append(K.format("C {0} {1} {2} {3} {4} {5} ",Wt.toUnits(l),Wt.toUnits(o+s),Wt.toUnits(l+s),Wt.toUnits(o),Wt.toUnits(l+a),Wt.toUnits(o))),n.append(K.format("H {0} ",Wt.toUnits(i-a))),n.append(K.format("C {0} {1} {2} {3} {4} {5} ",Wt.toUnits(i-s),Wt.toUnits(o),Wt.toUnits(i),Wt.toUnits(o+s),Wt.toUnits(i),Wt.toUnits(o+a))),n.append(K.format("V {0} ",Wt.toUnits(e-a))),n.append(K.format("C {0} {1} {2} {3} {4} {5} Z",Wt.toUnits(i),Wt.toUnits(e-s),Wt.toUnits(i-s),Wt.toUnits(e),Wt.toUnits(i-a),Wt.toUnits(e))),t.writeStartElement("path"),t.writeAttributeString("fill","none"),Wt.writeStrokeInfo(t,r.color,r.size,r.style),t.writeAttributeString("d",n.toString()),t.writeEndElement())},Wt.getClipPathName=function(t){return null==t.guid&&t.newGuid(),K.format("clipPath_{0}",t.guid)},Wt.writeIndicator=function(t,e){var r=new R(e.x,e.y,e.width,e.height),n=e.component.as(it);null!=n&&null!=n.indicator&&(n.indicator.stimulsoft.is(u)&&this.writeIconSetIndicatorTypePainter(t,n,r),n.indicator.stimulsoft.is(m)&&this.writeDataBarIndicator(t,n,r)),e.x=r.x,e.y=r.y,e.width=r.width,e.height=r.height},Wt.writeIconSetIndicatorTypePainter=function(t,e,r){var n=r.clone();n.inflate(-1,-1);var i=e.indicator.stimulsoft.as(u);if(null!=i&&(i.icon!=l.None||null!=i.customIcon)){var o=s.getIcon(i),a=null!=i.customIcon?i.customIconSize.width:18,e=null!=i.customIcon?i.customIconSize.height:18,n=n.clone();switch(i.alignment){case y.TopLeft:n=new R(n.x,n.y,a,e),r.x+=n.width+1,r.width-=n.width+1;break;case y.TopCenter:n=new R(n.x+(n.width-a)/2,n.y,a,e);break;case y.TopRight:n=new R(n.right-a,n.y,a,e),r.width-=n.width+1;break;case y.MiddleLeft:n=new R(n.x,n.y+(n.height-e)/2,a,e),r.x+=n.width+1,r.width-=n.width+1;break;case y.MiddleCenter:n=new R(n.x+(n.width-a)/2,n.y+(n.height-e)/2,a,e);break;case y.MiddleRight:n=new R(n.right-a,n.y+(n.height-e)/2,a,e),r.width-=n.width+1;break;case y.BottomLeft:n=new R(n.x,n.bottom-e,a,e),r.x+=n.width+1,r.width-=n.width+1;break;case y.BottomCenter:n=new R(n.x+(n.width-a)/2,n.bottom-e,a,e);break;case y.BottomRight:n=new R(n.right-a,n.bottom-e,a,e),r.width-=n.width+1;break}t.writeStartElement("image"),Wt.writeCoordinates(t,n),t.writeAttributeString("xlink:href",o.base64),t.writeEndElement()}},Wt.writeDataBarIndicator=function(t,e,r){var n=r.clone();n.inflate(-2,-2);var i=e.indicator.stimulsoft.as(m),o,a,s,l,n,o,e,n,l,r,n,n,u,u;null!=i&&0!=i.value&&(o=i.maximum+Math.abs(i.minimum),s=(a=n.clone()).width*Math.abs(i.minimum)/o,l=a.width*i.maximum/o,n=a.width*Math.abs(i.value)/o,(o=i.direction)==p.Default&&(o=null!=e.textOptions&&e.textOptions.rightToLeft?p.RighToLeft:p.LeftToRight),e=0,o==p.LeftToRight?i.value<0?a.x+=s-n:a.x+=s:(e=180,i.value<0?a.x=a.right-s:a.x=a.right-s-n),a.width=n,i.value<0&&(e+=180),0<a.width&&0<a.height&&(i.brushType==G.Report.Components.StiBrushType.Gradient?(n=void 0,n=o==p.LeftToRight?0<i.value?new R(r.left+s,r.top,l,r.height):new R(r.left,r.top,s,r.height):i.value<0?new R(r.left+l,r.top,s,r.height):new R(r.left,r.top,l,r.height),0<a.width&&a.width<1&&(a.width=1),0<n.width&&n.width<1&&(n.width=1),0<n.width&&0<a.width&&(l=i.value<0?i.negativeColor:i.positiveColor,r=c.light(l,200),n.x-=.1*n.width,n.width+=.2*n.width,n=X.StiBrushSvgHelper.writeGradientBrush(t,new b(l,r,e),n),t.writeStartElement("rect"),Wt.writeCoordinates(t,a),t.writeAttributeString("fill",K.format("url(#{0})",n)),t.writeEndElement())):(u=i.value<0?i.negativeColor:i.positiveColor,t.writeStartElement("rect"),Wt.writeCoordinates(t,a),t.writeAttributeString("fill",K.format("#{0:X2}{1:X2}{2:X2}",u.r,u.g,u.b)),t.writeEndElement())),i.showBorder&&(u=i.value<0?i.negativeBorderColor:i.positiveBorderColor,t.writeStartElement("rect"),Wt.writeCoordinates(t,a),t.writeAttributeString("fill","none"),t.writeAttributeString("stroke",K.format("#{0:X2}{1:X2}{2:X2}",u.r,u.g,u.b)),t.writeAttributeString("stroke-width","1"),t.writeEndElement()))},Wt.saveComponentToString=function(t,e,r,n,i){void 0===e&&(e=H.ImageFormat.Jpeg),void 0===r&&(r=.75),void 0===n&&(n=100),void 0===i&&(i=!0);var o=new U(ot.UTF8),a=-1;o.indentation=a<0?0:a,o.formatting=a<0?tt.None:tt.Indented;var s=Y.getImageCodec("image/jpeg");n/=100;var l=t.report,u=X.StiMatrix.htmlScaleX,c=X.StiMatrix.htmlScaleY;i&&(c=u=1);var p=u*l.unit.convertToHInches(t.left),h=c*l.unit.convertToHInches(t.top),u=u*l.unit.convertToHInches(t.right),c=c*l.unit.convertToHInches(t.bottom),l=new X.StiSvgData;l.x=0,l.y=0,l.width=Math.floor(u-p),l.height=Math.floor(c-h);var u=(l.component=t).isExportAsImage(H.StiExportFormat.ImageSvg),p=Wt.checkShape(t),c=1,h=t.as(it),h,m;return null!=h&&!u&&null!=h.text&&0<h.text.trim().length&&(o.writeStartElement("defs"),o.writeStartElement("clipPath"),o.writeStartElement("rect"),Wt.writeCoordinates(o,l),o.writeEndElement(),o.writeEndElement(),o.writeEndElement()),p||u||t.is(Gt)||(Wt.writeBorder1(o,l,h={ref:c}),c=h.ref),t.is(it)&&!u&&(Wt.writeIndicator(o,l),t.is(Gt)||Wt.writeText(o,l,a,!0)),p?Wt.writeShape(o,l):t.is(_t)?Wt.writeBarCode(o,l):t.is(Q)?X.StiSparklineSvgHelper.writeSparkline(o,l):t.is(G.Report.Chart.IStiChart)?X.StiChartSvgHelper.writeChart(o,l,1,!1):t.is(G.Report.Components.Gauge.IStiGauge)?X.StiGaugeSvgHelper.writeGauge(o,l):t.is(G.Report.Maps.StiMap)&&t.mapMode==d.Choropleth?X.StiMapSvgHelper.drawMap(o,t,l.x,l.y,l.width,l.height,!1):t.is(Ot)?Wt.writeCheckBox(o,l,!!i||t.checkedValue):t.is(Gt)?Wt.writeTextInCells(o,l):u&&Wt.writeImage(o,l,n,e,r,s),o.flush(),o.textWriter.getStringBuilder().toString()},Wt.saveToString=function(t,e,r,n,i,o,a,s){return void 0===n&&(n=!0),void 0===i&&(i={ref:0}),void 0===o&&(o=H.ImageFormat.Png),void 0===a&&(a=.75),void 0===s&&(s=100),Wt.writeDocument(t,e,n,o,a,s).getStringBuilder().toString()},Wt.writeCheckBox=function(t,e,r){var n=e.component.as(Ot);if(null==n||null==r)return;var i=jt.writeFillBrush(t,n.textBrush,new R(e.x,e.y,e.width,e.height));t.writeStartElement("g");var o=200,a=1/(o/Math.min(e.width,e.height)),s=0,l=0;e.width>e.height?s=Math.abs(e.width/2-o*a/2):e.width<e.height&&(l=Math.abs(e.height/2-o*a/2)),t.writeAttributeString("transform",K.format("translate({0},{1})",(e.x+s).toString().split(",").join("."),(e.y+l).toString().split(",").join("."))),t.writeStartElement("path"),t.writeAttributeString("d",this.getCheckBoxData(n,r)),t.writeAttributeString("stroke",K.format("#{0:X2}{1:X2}{2:X2}",n.contourColor.r,n.contourColor.g,n.contourColor.b)),t.writeAttributeString("stroke-width",n.size.toString()),t.writeAttributeString("stroke-linecap","round"),t.writeAttributeString("stroke-linejoin","round"),t.writeAttributeString("transform",K.format("scale({0})",a)),t.writeAttributeString("style",i),t.writeEndElement(),t.writeEndElement()},Wt.getCheckBoxData=function(t,e){var r=t.checkStyle,n=!1,i=e.toString().trim().toLowerCase(),o=t.values.split("/");1==o.length&&(o=t.values.split(";")),1==o.length&&(o=t.values.split(","));var a,n,r,e=null;switch(i==o[0].trim().toLowerCase()?t.checkStyleForTrue:t.checkStyleForFalse){case w.Cross:e="m 62.567796,147.97593 c -0.55,-0.14223 -2.162828,-0.5128 -3.584062,-0.82348 -3.647667,-0.79738 -9.670499,-5.83775 -14.242817,-11.91949 l "+"-3.902341,-5.19058 5.080199,-1.13481 c 7.353071,-1.64253 13.640456,-5.71752 21.826811,-14.14646 l 7.208128,-7.42171 "+"-6.410736,-7.513354 c -11.773129,-13.79803 -14.346726,-23.01954 -8.627769,-30.91434 2.894109,-3.9952 11.818482,-12.369333 "+"13.182086,-12.369333 0.411356,0 1.063049,1.6875 1.448207,3.750003 0.980474,5.25038 6.456187,16.76587 10.936694,23 2.075266,2.8875 "+"3.991125,5.25 4.257464,5.25 0.266339,0 3.775242,-3.4875 7.797566,-7.75 16.397034,-17.37615 29.674184,-19.76481 38.280564,-6.88699 "+"4.15523,6.21753 4.18631,8.07093 0.14012,8.3552 -5.84833,0.41088 -17.16241,8.5342 -25.51465,18.319104 l -4.63153,5.42599 "+"4.87803,4.31529 c 6.55108,5.79533 18.8991,11.89272 25.84076,12.76002 3.0455,0.38051 5.53727,1.10582 5.53727,1.6118 0,2.7809 "+"-9.26611,14.41872 -13.03,16.36511 -7.96116,4.11687 -16.36991,0.71207 -32.764584,-13.26677 l -4.985957,-4.25125 -7.086791,8.97188 c "+"-3.897736,4.93454 -8.82141,10.1198 -10.9415,11.52281 -3.906121,2.58495 -8.86588,4.41339 -10.691162,3.94136 z";break;case w.Check:e="M 60.972125,162.49704 C 51.172676,136.72254 43.561975,123.37669 35.370344,117.6027 l -4.45827,-3.14248 2.75159,-2.89559 c 3.875121,-4.07793 "+"10.034743,-7.49924 14.902472,-8.27747 3.859874,-0.61709 4.458306,-0.38024 8.535897,3.37835 2.660692,2.45254 6.265525,7.60856 9.167226,13.11196 "+"2.630218,4.98849 4.910542,9.06999 5.067388,9.06999 0.156846,0 2.31372,-3.0375 4.793052,-6.75 C 96.259164,91.956015 129.68299,58.786374 157.56485,41.281603 l "+"8.84913,-5.555656 2.2633,2.631238 2.26329,2.631237 -7.76266,6.294183 C 139.859,66.19023 108.01682,105.51363 89.042715,138.83563 c -6.680477,11.73214 "+"-7.172359,12.31296 -15.090788,17.81963 -4.501873,3.13071 -9.044031,6.30443 -10.093684,7.05271 -1.708923,1.21826 -2.010678,1.09165 -2.886118,-1.21093 z";break;case w.CrossRectangle:e="m 24.152542,102.04237 0,-72.499996 74.5,0 74.499998,0 0,72.499996 0,72.5 -74.499998,0 -74.5,0 0,-72.5 z m 133.758188,0.25 -0.25819,-57.249996 "+"-58.999998,0 -59,0 -0.259695,55.999996 c -0.142833,30.8 -0.04446,56.5625 0.218615,57.25 0.375181,0.98048 13.207991,1.25 59.517885,1.25 l "+"59.039573,0 -0.25819,-57.25 z m -90.574091,43.18692 c -1.823747,-0.3912 -4.926397,-1.85716 -6.894778,-3.25768 -3.319254,-2.36169 -12.289319,-12.40741 "+"-12.289319,-13.76302 0,-0.32888 2.417494,-1.13897 5.372209,-1.80021 7.185193,-1.60797 13.747505,-5.93496 21.803114,-14.3763 l 6.675323,-6.99496 "+"-6.379078,-7.31436 C 64.931387,85.71231 61.643682,76.29465 65.471903,68.89169 67.054097,65.83207 78.56175,54.542374 80.098251,54.542374 c 0.45744,0 "+"1.146839,1.6875 1.531997,3.75 0.980474,5.250386 6.456187,16.765876 10.936694,22.999996 2.075266,2.8875 3.991125,5.25 4.257464,5.25 0.266339,0 "+"3.775244,-3.4875 7.797564,-7.75 16.39704,-17.376139 29.67419,-19.764806 38.28057,-6.88698 4.15523,6.21752 4.18631,8.07092 0.14012,8.35519 -5.82996,0.40959 "+"-18.23707,9.34942 -25.91566,18.67328 -3.90068,4.73647 -3.97203,4.95414 -2.2514,6.86861 3.19054,3.54997 13.7039,10.54321 18.97191,12.61967 2.83427,1.11716 "+"7.43737,2.33421 10.22912,2.70455 2.79175,0.37034 5.07591,0.9956 5.07591,1.38947 0,2.11419 -8.37504,13.20895 -11.6517,15.4355 -8.39423,5.70403 "+"-16.63203,2.77 -34.14289,-12.16054 l -4.985955,-4.25125 -7.086791,8.97188 c -9.722344,12.3085 -16.524852,16.55998 -23.948565,14.96754 z";break;case w.CheckRectangle:e="m 19.915254,103.5 0,-72.5 71.942245,0 71.942241,0 6.55727,-4.11139 6.55726,-4.11139 1.96722,2.36139 c 1.08197,1.298765 1.98219,2.644166 2.00049,2.98978 "+"0.0183,0.345615 -2.44173,2.53784 -5.46673,4.87161 l -5.5,4.243219 0,69.378391 0,69.37839 -74.999991,0 -75.000005,0 0,-72.5 z m 133.999996,3.87756 c "+"0,-49.33933 -0.12953,-53.514947 -1.62169,-52.276568 -2.78014,2.307312 -15.68408,17.90053 -24.32871,29.399008 -10.4919,13.955575 -23.47926,33.53736 "+"-29.514025,44.5 -4.457326,8.09707 -5.134776,8.80812 -14.291256,15 -5.28667,3.575 -9.903486,6.62471 -10.259592,6.77712 -0.356107,0.15242 -1.912439,-2.99758 "+"-3.458515,-7 -1.546077,-4.00241 -5.258394,-12.41205 -8.249593,-18.68809 -4.285436,-8.99155 -6.676569,-12.64898 -11.27758,-17.25 C 47.70282,104.62757 "+"44.364254,102 43.495254,102 c -2.798369,0 -1.704872,-1.66044 3.983717,-6.049158 5.593548,-4.31539 13.183139,-7.091307 16.801313,-6.145133 3.559412,0.930807 "+"9.408491,8.154973 13.919775,17.192241 l 4.46286,8.94025 4.54378,-6.83321 C 95.518219,96.605618 108.21371,81.688517 125.80695,63.75 L 143.21531,46 l "+"-53.650021,0 -53.650035,0 0,57.5 0,57.5 59.000005,0 58.999991,0 0,-53.62244 z";break;case w.CrossCircle:e="M 83.347458,173.13597 C 61.069754,168.04956 42.193415,152.8724 32.202285,132.01368 23.4014,113.63986 23.679644,89.965903 32.91889,71.042373 "+"41.881579,52.685283 60.867647,37.139882 80.847458,31.799452 c 10.235111,-2.735756 31.264662,-2.427393 40.964762,0.600679 26.18668,8.174684 "+"46.06876,28.926852 51.62012,53.879155 2.43666,10.952327 1.56754,28.058524 -1.98036,38.977594 -6.65679,20.48707 -25.64801,38.95163 -47.32647,46.01402 "+"-6.3909,2.08202 -10.18566,2.59644 -21.27805,2.88446 -9.033911,0.23456 -15.484931,-0.10267 -19.500002,-1.01939 z M 112.4138,158.45825 c 17.13137,-3.13002 "+"33.71724,-15.96081 41.41353,-32.03742 14.8975,-31.119027 -1.10807,-67.659584 -34.40232,-78.540141 -6.71328,-2.193899 -9.93541,-2.643501 "+"-19.07755,-2.661999 -9.354252,-0.01893 -12.16228,0.37753 -18.768532,2.649866 -17.155451,5.900919 -29.669426,17.531424 -36.438658,33.866137 "+"-2.152301,5.193678 -2.694658,8.35455 -3.070923,17.89744 -0.518057,13.139047 0.741843,19.201887 6.111644,29.410237 4.106815,7.80733 15.431893,19.09359 "+"23.36818,23.28808 12.061362,6.37467 27.138828,8.6356 40.864629,6.1278 z M 69.097458,133.41654 c -2.8875,-2.75881 -5.25,-5.35869 -5.25,-5.77751 "+"0,-0.41882 5.658529,-6.30954 12.57451,-13.0905 l 12.57451,-12.329 L 76.198053,89.392633 63.399628,76.565738 68.335951,71.554056 c 2.714978,-2.756426 "+"5.304859,-5.011683 5.75529,-5.011683 0.450432,0 6.574351,5.611554 13.608709,12.470121 l 12.78974,12.470119 4.42889,-4.553471 c 2.43588,-2.50441 "+"8.39186,-8.187924 13.23551,-12.630032 l 8.80663,-8.076559 5.34744,5.281006 5.34743,5.281007 -12.96155,12.557899 -12.96154,12.557897 13.13318,13.16027 "+"13.13319,13.16027 -5.18386,4.66074 c -2.85112,2.5634 -5.70472,4.66073 -6.34134,4.66073 -0.63661,0 -6.5434,-5.4 -13.12621,-12 -6.58281,-6.6 -12.3871,-12 "+"-12.89844,-12 -0.511329,0 -6.593363,5.60029 -13.515627,12.44509 l -12.585935,12.44508 -5.25,-5.016 z";break;case w.DotCircle:e="M 81.652542,170.5936 C 59.374838,165.50719 40.498499,150.33003 30.507369,129.47131 21.706484,111.09749 21.984728,87.42353 31.223974,68.5 "+"40.186663,50.14291 59.172731,34.597509 79.152542,29.257079 89.387653,26.521323 110.4172,26.829686 120.1173,29.857758 c 26.18668,8.174684 "+"46.06876,28.926852 51.62012,53.879152 2.43666,10.95233 1.56754,28.05853 -1.98036,38.9776 -6.65679,20.48707 -25.64801,38.95163 -47.32647,46.01402 "+"-6.3909,2.08202 -10.18566,2.59644 -21.27805,2.88446 -9.033907,0.23456 -15.484927,-0.10267 -19.499998,-1.01939 z m 29.999998,-15.098 c 20.68862,-4.34363 "+"38.01874,-20.45437 44.09844,-40.9956 2.36228,-7.9813 2.36228,-22.0187 0,-30 C 150.08927,65.371023 134.63549,50.297336 114.65254,44.412396 "+"106.5531,42.027127 90.741304,42.026386 82.695253,44.4109 62.460276,50.407701 46.686742,66.039241 41.6053,85.13096 c -1.948821,7.32201 -1.86506,23.11641 "+"0.158766,29.93754 8.730326,29.42481 38.97193,46.91812 69.888474,40.4271 z M 90.004747,122.6703 C 76.550209,117.63801 69.825047,101.82445 "+"75.898143,89.5 c 2.136718,-4.33615 7.147144,-9.356192 11.754399,-11.776953 5.578622,-2.931141 16.413098,-2.927504 22.052908,0.0074 18.03,9.382663 "+"19.07573,32.784373 1.91442,42.841563 -5.57282,3.26589 -15.830952,4.2617 -21.615123,2.09829 z";break;case w.DotRectangle:e="m 23.847458,101.19491 0,-72.499995 74.5,0 74.499992,0 0,72.499995 0,72.5 -74.499992,0 -74.5,0 0,-72.5 z m 133.999992,-0.008 0,-57.507925 "+"-59.249992,0.25793 -59.25,0.25793 -0.25819,57.249995 -0.258189,57.25 59.508189,0 59.508182,0 0,-57.50793 z m -94.320573,33.85402 c -0.37368,-0.37368 "+"-0.679419,-15.67942 -0.679419,-34.01275 l 0,-33.333335 35.513302,0 35.51329,0 -0.2633,33.749995 -0.2633,33.75 -34.570573,0.26275 c -19.013819,0.14452 "+"-34.876319,-0.043 -35.25,-0.41666 z";break;case w.NoneCircle:e="M 83.5,170.5936 C 61.222296,165.50719 42.345957,150.33003 32.354827,129.47131 23.553942,111.09749 23.832186,87.423523 33.071432,68.5 "+"42.034121,50.14291 61.020189,34.597509 81,29.257079 c 10.235111,-2.735756 31.26466,-2.427393 40.96476,0.600679 26.18668,8.174684 46.06876,28.926852 "+"51.62012,53.879155 2.43666,10.95232 1.56754,28.058527 -1.98036,38.977597 -6.65679,20.48707 -25.64801,38.95163 -47.32647,46.01402 -6.3909,2.08202 "+"-10.18566,2.59644 -21.27805,2.88446 -9.033909,0.23456 -15.484929,-0.10267 -19.5,-1.01939 z m 30,-15.098 c 20.68862,-4.34363 38.01874,-20.45437 "+"44.09844,-40.9956 2.36228,-7.9813 2.36228,-22.018707 0,-29.999997 C 151.93673,65.371023 136.48295,50.297336 116.5,44.412396 108.40056,42.027127 "+"92.588762,42.026386 84.542711,44.410896 64.307734,50.407697 48.5342,66.039237 43.452758,85.130959 c -1.948821,7.322 -1.86506,23.116411 "+"0.158766,29.937541 8.730326,29.42481 38.97193,46.91812 69.888476,40.4271 z";break;case w.NoneRectangle:e="m 24.152542,102.04237 0,-72.499997 74.5,0 74.500008,0 0,72.499997 0,72.5 -74.500008,0 -74.5,0 0,-72.5 z m 133.758198,0.25 "+"-0.25819,-57.249997 -59.000008,0 -59,0 -0.259695,55.999997 c -0.142833,30.8 -0.04446,56.5625 0.218615,57.25 0.375181,0.98048 "+"13.207991,1.25 59.517885,1.25 l 59.039583,0 -0.25819,-57.25 z";break}return e},Wt.writeTextInCells=function(t,e){var r=e.component.as(Gt),n=r.border.size/2*r.page.zoom,i=r.getTextForPaint(),o=r.page.unit,a=o.convertToHInches(r.horSpacing*r.page.zoom),s=o.convertToHInches(r.vertSpacing*r.page.zoom),l=o.convertToHInches(r.cellWidth*r.page.zoom),u=o.convertToHInches(r.cellHeight*r.page.zoom);0==r.cellWidth&&(l=2.4*r.font.getHeight()*r.page.zoom*H.StiDpiHelper.deviceCapsScale),0==r.cellHeight&&(u=2.4*r.font.getHeight()*r.page.zoom*H.StiDpiHelper.deviceCapsScale);var o=r.font.size*r.page.zoom*H.StiDpiHelper.deviceCapsScale,c=new Ht,p=Qt.changeFontSize(r.font,o);if(r.continuousText){var h=e.x+n,m=e.y+n,d=!0,g=0;while(1==1){var f=new Jt(h,m,l,u),S,y;if(f.right+a<e.right||d)(S=new O).append(jt.writeFillBrush(t,r.brush,f)),t.writeStartElement("rect"),t.writeAttributeString("x",Wt.toUnits(f.x)),t.writeAttributeString("y",Wt.toUnits(f.y)),t.writeAttributeString("width",Wt.toUnits(f.width)),t.writeAttributeString("height",Wt.toUnits(f.height)),t.writeAttributeString("style",S.toString()),t.writeAttributeString("shape-rendering","crispEdges"),t.writeEndElement(),null!=i&&g<i.length&&(t.writeStartElement("text"),t.writeAttributeString("x",this.toUnits(f.x+f.width/2-p.getHeight()/2)),t.writeAttributeString("y",this.toUnits(f.y+f.height/2+p.getHeight()/2)),t.writeAttributeString("style",this.getStyleString(p,nt.toColor(r.textBrush))),t.writeString(i[g]),t.writeEndElement()),(y=new X.StiSvgData).component=r,y.x=f.x,y.y=f.y,y.width=f.width,y.height=f.height,Wt.writeBorder2(t,y),h+=l+a,g++,d=!1;else if(m+=u+s,h=e.x+n,d=!0,!r.wordWrap||e.bottom<m+u+s)break}}else{var A=new Lt(1,1),h=e.x+n+l;while(h+a+l<e.right)h+=a+l,A.width++;var m=e.y+n+u;while(m+s+u<e.bottom)m+=s+u,A.height++;r.wordWrap||(A.height=1);var b=new q,C="";null==i&&(i="");for(var v=0;v<i.length;v++){var w=i[v];Yt.isControl(w)?"\n"!=w&&"\r"!=w||(b.add(Ut.trimEndWhiteSpace(C)),C=""):C+=w}if(""!=C&&b.add(Ut.trimEndWhiteSpace(C)),0==b.length&&b.add(C),r.wordWrap)for(var B=0;B<b.length;B++){var I=b[B];if(I.length>A.width){var T=[],E=0,R=0;while(R<I.length&&Yt.isWhitespace(I[R]))T[R]=E,R++;for(var D=R;D<I.length;D++)Yt.isWhitespace(I[D])&&E++,T[D]=E;var g,P=(g=A.width)-1;if(0<T[g])if(T[g]!=T[P])while(Yt.isWhitespace(I[g]))g++;else{while(!Yt.isWhitespace(I[g]))g--;P=g++;while(Yt.isWhitespace(I[P]))P--}b.setByIndex(B,I.substring(0,P+1)),b.insert(B+1,I.substring(g,I.length-g))}}m=e.y+n;for(var x=0;x<A.height;x++){var F=x<b.length?b[x]:"",N=0;r.horAlignment==lt.Center&&(N=(A.width-F.length)/2),r.horAlignment==lt.Right&&(N=A.width-F.length),0<N&&(F=K.repeat(" ",N)+F),h=e.x+n;for(var k=0;k<A.width;k++){var f=new Jt(h,m,l,u),S;(S=new O).append(jt.writeFillBrush(t,r.brush,f)),t.writeStartElement("rect"),t.writeAttributeString("x",Wt.toUnits(f.x)),t.writeAttributeString("y",Wt.toUnits(f.y)),t.writeAttributeString("width",Wt.toUnits(f.width)),t.writeAttributeString("height",Wt.toUnits(f.height)),t.writeAttributeString("style",S.toString()),t.writeAttributeString("shape-rendering","crispEdges"),t.writeEndElement();var M=r.rightToLeft?A.width-k-1:k,y;M<F.length&&(t.writeStartElement("text"),t.writeAttributeString("x",this.toUnits(f.x+f.width/2-p.getHeight()/2)),t.writeAttributeString("y",this.toUnits(f.y+f.height/2+p.getHeight()/2)),t.writeAttributeString("style",this.getStyleString(p,nt.toColor(r.textBrush))),t.writeString(F[M]),t.writeEndElement()),(y=new X.StiSvgData).component=r,y.x=f.x,y.y=f.y,y.width=f.width,y.height=f.height,Wt.writeBorder2(t,y),h+=l+a}m+=u+s}}},Wt.correctFontSize=1.35,Wt.pdfCKT=.56,r=Wt,X.StiSvgHelper=r}(Stimulsoft=Stimulsoft||{}),function(t){var e,r,n,t,i,o;function a(){}r=e=t.Report||(t.Report={}),t=n=r.Export||(r.Export={}),r=i=t.Htmls||(t.Htmls={}),t=o=r.ChartScripts||(r.ChartScripts={}),a.getBase64Content=function(){return"YW5pbWF0ZVN0aSA9IGZ1bmN0aW9uIChjaGFydElkKSB7CiAgICB2YXIgcmVxdWVzdEFuaW1hdGlvbkZyYW1lID0gd2luZG93LnJlcXVlc3RBbmltYXRpb25GcmFtZSB8fCB3aW5kb3cubW96UmVxdWVzdEFuaW1hdGlvbkZyYW1lIHx8CiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgd2luZG93LndlYmtpdFJlcXVlc3RBbmltYXRpb25GcmFtZSB8fCB3aW5kb3cubXNSZXF1ZXN0QW5pbWF0aW9uRnJhbWU7CiAgICB3aW5kb3cucmVxdWVzdEFuaW1hdGlvbkZyYW1lID0gcmVxdWVzdEFuaW1hdGlvbkZyYW1lOwogICAgdmFyIGFuaW1hdGlvbnMgPSBbXTsKICAgIHZhciBjaGFydF8gPSBkb2N1bWVudC5nZXRF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9IGRvY3VtZW50LmNyZWF0ZUVsZW1lbnQoInRyIik7CiAgICAgICAgdHIuc3R5bGUuZGlzcGxheSA9ICJub25lIjsKICAgICAgICB0YWJsZS5hcHBlbmRDaGlsZCh0cik7CiAgICAgICAgdGFibGUuX3RleHQ0ID0gZG9jdW1lbnQuY3JlYXRlRWxlbWVudCgidGQiKTsKICAgICAgICB0ci5hcHBlbmRDaGlsZCh0YWJsZS5fdGV4dDQpOwoKICAgICAgICB0ciA9IGRvY3VtZW50LmNyZWF0ZUVsZW1lbnQoInRyIik7CiAgICAgICAgdHIuc3R5bGUuZGlzcGxheSA9ICJub25lIjsKICAgICAgICB0YWJsZS5hcHBlbmRDaGlsZCh0cik7CiAgICAgICAgdGFibGUuX3RleHQ1ID0gZG9jdW1lbnQuY3JlYXRlRWxlbWVudCgidGQiKTsKICAgICAgICB0ci5hcHBlbmRDaGlsZCh0YWJsZS5fdGV4dDUpOwogICAgICAgIHNldEludGVydmFsKGZ1bmN0aW9uICgpIHsKICAgICAgICAgICAgdmFyIHQgPSBkb2N1bWVudC5fc3RpVG9vbHRpcDsKICAgICAgICAgICAgdmFyIG9wID0gcGFyc2VGbG9hdCh0LnN0eWxlLm9wYWNpdHkpOwogICAgICAgICAgICBpZiAoKHQuY3ggPiAwICYmIG9wIDwgMSkgfHwgKHQuY3ggPCAwICYmIG9wID4gMCkpIHsKICAgICAgICAgICAgICAgIG9wICs9IHQuY3g7CiAgICAgICAgICAgICAgICBvcCA9IE1hdGgubWluKDEsIE1hdGgubWF4KDAsIG9wKSk7CiAgICAgICAgICAgICAgICB0LnN0eWxlLm9wYWNpdHkgPSBvcDsKICAgICAgICAgICAgfQogICAgICAgIH0sIDUwKTsKICAgIH0KCiAgICB2YXIgY3JlYXRlQ2hhcnRUb29sdGlwID0gZnVuY3Rpb24gKCkgewogICAgICAgIHZhciB0YWJsZSA9IGRvY3VtZW50LmNyZWF0ZUVsZW1lbnQoInRhYmxlIik7CiAgICAgICAgdGFibGUuc3R5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cHBlbmRDaGlsZCh0cik7CiAgICAgICAgdGFibGUuX3RleHQ1ID0gZG9jdW1lbnQuY3JlYXRlRWxlbWVudCgidGQiKTsKICAgICAgICB0ci5hcHBlbmRDaGlsZCh0YWJsZS5fdGV4dDUpOwoKICAgICAgICB0YWJsZS5lbGVtZW50cyA9IG5ldyBPYmplY3QoKTsKICAgICAgICBzZXRJbnRlcnZhbChmdW5jdGlvbiAoKSB7CiAgICAgICAgICAgIHZhciB0ID0gZG9jdW1lbnQuX3N0aUNoYXJ0VG9vbHRpcDsKICAgICAgICAgICAgdmFyIG9wID0gcGFyc2VGbG9hdCh0LnN0eWxlLm9wYWNpdHkpOwogICAgICAgICAgICBpZiAoKHQuY3ggPiAwICYmIG9wIDwgMSkgfHwgKHQuY3ggPCAwICYmIG9wID4gMCkpIHsKICAgICAgICAgICAgICAgIG9wICs9IHQuY3g7CiAgICAgICAgICAgICAgICBvcCA9IE1hdGgubWluKDEsIE1hdGgubWF4KDAsIG9wKSk7CiAgICAgICAgICAgICAgICB0LnN0eWxlLm9wYWNpdHkgPSBvcDsKICAgICAgICAgICAgfQogICAgICAgIH0sIDUwKTsKICAgIH0KCiAgICB2YXIgbGlnaHRlbkRhcmtlbkNvbG9yID0gZnVuY3Rpb24gKGNvbCwgYW10KSB7CiAgICAgICAgdmFyIHVzZVBvdW5kID0gZmFsc2U7CiAgICAgICAgaWYgKGNvbFswXSA9PSAiIyIpIHsKICAgICAgICAgICAgY29sID0gY29sLnNsaWNlKDEpOwogICAgICAgICAgICB1c2VQb3VuZCA9IHRydWU7CiAgICAgICAgfQogICAgICAgIHZhciBudW0gPSBwYXJzZUludChjb2wsIDE2KTsKICAgICAgICB2YXIgciA9IChudW0gPj4gMTYpICsgYW10OwogICAgICAgIGlmIChyID4gMjU1KSByID0gMjU1OwogICAgICAgIGVsc2UgaWYgKHIgPCAwKSByID0gMDsKICAgICAgICB2YXIgYiA9ICgobnVtID4+IDgpICYgMHgwMEZGKSArIGFtdDsKICAgIC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FdmVudHMgPSAiYXV0byI7CiAgICAgICAgICAgICAgICB0ZXh0MSA9IHRleHQxLnJlcGxhY2UoLzxhIC9nLCAiPGEgdGFyZ2V0PSdfYmxhbmsnICIpOwogICAgICAgICAgICB9CgogICAgICAgICAgICB0LmN4ID0gMC4xOwogICAgICAgICAgICBpZiAodC5fdGV4dDEpIHQuX3RleHQxLmlubmVySFRNTCA9IHRleHQxOwogICAgICAgICAgICBpZiAodC5fdGV4dDIpIHsKICAgICAgICAgICAgICAgIHQuX3RleHQyLmlubmVySFRNTCA9ICFpc0N1c3RvbVRvb2x0aXAgPyBldmVudC50YXJnZXQuZ2V0QXR0cmlidXRlKCJfdGV4dDIiKSA6ICIiOwogICAgICAgICAgICAgICAgdC5fdGV4dDIucGFyZW50RWxlbWVudC5zdHlsZS5kaXNwbGF5ID0gaXNDdXN0b21Ub29sdGlwID8gIm5vbmUiIDogIiI7CiAgICAgICAgICAgIH0KICAgICAgICAgICAgaWYgKHQuX3JvdW5kKSB0Ll9yb3VuZC5wYXJlbnRFbGVtZW50LnN0eWxlLmRpc3BsYXkgPSBpc0N1c3RvbVRvb2x0aXAgPyAibm9uZSIgOiAiIjsKCiAgICAgICAgICAgIGlmICghaXNDdXN0b21Ub29sdGlwKSB7CiAgICAgICAgICAgICAgICBmb3IgKHZhciBpID0gMzsgaSA8IDY7IGkrKykgewogICAgICAgICAgICAgICAgICAgIHZhciBhdCA9ICJfdGV4dCIgKyBpOwogICAgICAgICAgICAgICAgICAgIHZhciB0ZXh0ID0gZXZlbnQudGFyZ2V0LmdldEF0dHJpYnV0ZShhdCk7CiAgICAgICAgICAgICAgICAgICAgaWYgKHRleHQgJiYgdGV4dC5sZW5ndGggPiAwKSB7CiAgICAgICAgICAgICAgICAgICAgICAgIHRbYXRdLnBhcmVudE5vZGUuc3R5bGUuZGlzcGxheSA9ICIiOwogICAgICAgICAgICAgICAgICAgICAgICB0W2F0XS5pbm5lckhUTUwgPSB0ZXh0OwogICAgICAgICAgICAgICAgICAgIH0gZWxzZSB7CiAgICAgICAgICAgICAgICAgICAgICAgIHRbYXRdLnBhcmVudE5vZGUuc3R5bGUuZGlzcGxheSA9ICJub25lIjsKICAgICAgICAgICAgICAgICAgICB9CiAgICAgICAgICAgICAgICB9CiAgICAgICAgICAgICAgICB0Ll9yb3VuZC5zdHlsZS5iYWNrZ3JvdW5kID0gZXZlbnQudGFyZ2V0LmdldEF0dHJpYnV0ZSgiX2NvbG9yIik7CiAgICAgICAgICAgIH0KICAgICAgICAgICAgZWxzZSB7CiAgICAgICAgICAgICAgICBjbGVhclRpbWVvdXQodC5oaWRkZW5UaW1lcik7CgogICAgICAgICAgICAgICAgZWwub25tb3VzZW91dCA9IGZ1bmN0aW9uIChldmVudCkgewogICAgICAgICAgICAgICAgICAgIHZhciB0YXJnZXQgPSBldmVudCAmJiBldmVudC50YXJnZXQgPyBldmVudC50YXJnZXQgOiBlbDsKICAgICAgICAgICAgICAgICAgICB0YXJnZXQuc3R5bGUuZmlsbCA9IHRhcmdldC5nZXRBdHRyaWJ1dGUoIl9jb2xvciIpOwoKICAgICAgICAgICAgICAgICAgICB0LmhpZGRlblRpbWVyID0gc2V0VGltZW91dChmdW5jdGlvbiAoKSB7CiAgICAgICAgICAgICAgICAgICAgICAgIGlmICghdC5pc092ZXIpIHQuY3ggPSAtMC4yOwogICAgICAgICAgICAgICAgICAgIH0sIDUwMCk7CiAgICAgICAgICAgICAgICB9CgogICAgICAgICAgICAgICAgdC5vbm1vdXNlb3ZlciA9IGZ1bmN0aW9uICgpIHsKICAgICAgICAgICAgICAgICAgICB0aGlzLmlzT3ZlciA9IHRydWU7CiAgICAgICAgICAgICAgICAgICAgY2xlYXJUaW1lb3V0KHQuaGlkZGVuVGltZXIpOwogICAgICAgICAgICAgICAgfQoKICAgICAgICAgICAgICAgIHQub25tb3VzZW91dCA9IGZ1bmN0aW9uICgpIHsKICAgICAgICAgICAgICAgICAgICB0aGlzLmlzT3ZlciA9IGZhbHNlOwogICAgICAgIC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ldmVudCkgewogICAgICAgICAgICB0LmN4ID0gLTAuMjsKICAgICAgICAgICAgZXZlbnQudGFyZ2V0LnN0eWxlLmZpbGwgPSBldmVudC50YXJnZXQuZ2V0QXR0cmlidXRlKCJfY29sb3IiKTsKICAgICAgICB9CiAgICB9CgogICAgdmFyIGdldENvbG9yID0gZnVuY3Rpb24gKGNvbG9yU3R5bGUpIHsKICAgICAgICBpZiAoY29sb3JTdHlsZS5pbmRleE9mKCJyZ2IiKSA9PSAwKSB7CiAgICAgICAgICAgIHZhciBjb2xvcnMgPSBjb2xvclN0eWxlLnJlcGxhY2UoInJnYigiLCAiIikucmVwbGFjZSgiKSIsICIiKS5zcGxpdCgiLCIpOwogICAgICAgICAgICB2YXIgciA9IHBhcnNlSW50KGNvbG9yc1swXSk7CiAgICAgICAgICAgIHZhciBnID0gcGFyc2VJbnQoY29sb3JzWzFdKTsKICAgICAgICAgICAgdmFyIGIgPSBwYXJzZUludChjb2xvcnNbMl0pOwogICAgICAgICAgICByZXR1cm4gIiMiICsgKCgxIDw8IDI0KSArIChyIDw8IDE2KSArIChnIDw8IDgpICsgYikudG9TdHJpbmcoMTYpLnNsaWNlKDEpOwogICAgICAgIH0gICAKICAgICAgICByZXR1cm4gY29sb3JTdHlsZTsKICAgIH0KCiAgICB2YXIgY3JlYXRlU2VsZWN0aW9uSGF0Y2ggPSBmdW5jdGlvbiAoZWxlbWVudCwgY29sb3IpIHsKICAgICAgICB2YXIgaWQgPSAiaGF0Y2giICsgTWF0aC5yb3VuZChNYXRoLnJhbmRvbSgpICogMTAwMDAwMDAwKS50b1N0cmluZygpOwogICAgICAgIHZhciBwYXR0ZXJuID0gZG9jdW1lbnQuY3JlYXRlRWxlbWVudE5TKCJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIsICJwYXR0ZXJuIik7CiAgICAgICAgcGF0dGVybi5zZXRBdHRyaWJ1dGUoImlkIiwgaWQpOwogICAgICAgIHBhdHRlcm4uc2V0QXR0cmlidXRlK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50LnBhZ2VYICsgMSArICJweCI7CiAgICAgICAgICAgICAgICB0LnN0eWxlLnRvcCA9IGV2ZW50LnBhZ2VZICsgMSArICJweCI7CiAgICAgICAgICAgICAgICB2YXIgdG9vbHRpcCA9IEpTT04ucGFyc2UoZXZlbnQudGFyZ2V0LmdldEF0dHJpYnV0ZSgiaW50ZXJhY3Rpb250b29sdGlwIikpOwogICAgICAgICAgICAgICAgdC5fdGV4dDEuaW5uZXJIVE1MID0gdG9vbHRpcC5TdGlWYWx1ZTsKICAgICAgICAgICAgICAgIHQuX3RleHQyLmlubmVySFRNTCA9IHRvb2x0aXAuU3RpQXJndW1lbnQ7CiAgICAgICAgICAgICAgICBmb3IgKHZhciBpID0gMzsgaSA8IDY7IGkrKykgewogICAgICAgICAgICAgICAgICAgIHZhciBhdCA9ICJfdGV4dCIgKyBpOwogICAgICAgICAgICAgICAgICAgIHZhciB0ZXh0ID0gZXZlbnQudGFyZ2V0LmdldEF0dHJpYnV0ZShhdCk7CiAgICAgICAgICAgICAgICAgICAgaWYgKHRleHQgJiYgdGV4dC5sZW5ndGggPiAwKSB7CiAgICAgICAgICAgICAgICAgICAgICAgIHRbYXRdLnBhcmVudE5vZGUuc3R5bGUuZGlzcGxheSA9ICIiOwogICAgICAgICAgICAgICAgICAgICAgICB0W2F0XS5pbm5lckhUTUwgPSB0ZXh0OwogICAgICAgICAgICAgICAgICAgIH0gZWxzZSB7CiAgICAgICAgICAgICAgICAgICAgICAgIHRbYXRdLnBhcmVudE5vZGUuc3R5bGUuZGlzcGxheSA9ICJub25lIjsKICAgICAgICAgICAgICAgICAgICB9CiAgICAgICAgICAgICAgICB9CiAgICAgICAgICAgICAgICB0Ll9yb3VuZC5zdHlsZS5iYWNrZ3JvdW5kID0gdG9vbHRpcC5TdGlDb2xvcjsKICAgICAgICAgICAgfQoKICAgICAgICAgICAgdmFyIGVsZW1lbnRzID0gdC5lbGVtZW50c1tldmVudC50YXJnZXQuZWxlbWVudHNJZF1bZXZlbnQudGFyZ2V0LmdldEF0dHJpYnV0ZSgiZWxlbWVudGluZGV4IildOwogICAgICAgICAgICBmb3IgKHZhciBpIGluIGVsZW1lbnRzKSB7CiAgICAgICAgICAgICAgICBpZiAoZWxlbWVudHNbaV0uc2VsZWN0ZWQpIHsKICAgICAgICAgICAgICAgICAgICBlbGVtZW50c1tpXS5zdHlsZS5maWxsID0gInVybCgjIiArIGVsZW1lbnRzW2ldLnNlbGVjdE92ZXJIYXRjaElkICsgIikiOwogICAgICAgICAgICAgICAgfSBlbHNlIHsKICAgICAgICAgICAgICAgICAgICBlbGVtZW50c1tpXS5zdHlsZS5maWxsID0gbGlnaHRlbkRhcmtlbkNvbG9yKGdldENvbG9yKGVsZW1lbnRzW2ldLnN0eWxlLmZpbGwpLCAzNSk7CiAgICAgICAgICAgICAgICB9ICAgICAgICAgICAgICAgIAogICAgICAgICAgICB9CiAgICAgICAgfQogICAgICAgIGVsLm9ubW91c2VvdXQgPSBmdW5jdGlvbiAoZXZlbnQpIHsgICAgICAgICAgICAKICAgICAgICAgICAgaWYgKGV2ZW50LnRhcmdldC5zaG93VG9vbHRpcCkgewogICAgICAgICAgICAgICAgdC5jeCA9IC0wLjI7CiAgICAgICAgICAgIH0KICAgICAgICAgICAgdmFyIGVsZW1lbnRzID0gdC5lbGVtZW50c1tldmVudC50YXJnZXQuZWxlbWVudHNJZF1bZXZlbnQudGFyZ2V0LmdldEF0dHJpYnV0ZSgiZWxlbWVudGluZGV4IildOwogICAgICAgICAgICBmb3IgKHZhciBpIGluIGVsZW1lbnRzKSB7CiAgICAgICAgICAgICAgICBpZiAoZWxlbWVudHNbaV0uc2VsZWN0ZWQpIHsKICAgICAgICAgICAgICAgICAgICBlbGVtZW50c1tpXS5zdHlsZS5maWxsID0gInVybCgjIiArIGVsZW1lbnRzW2ldLnNlbGVjdEhhdGNoSWQgKyAiKSI7CiAgICAgICAgICAgICAgICB9IGVsc2UgewogICAgICAgICAgICAgICAgICAgIGVsZW1lbnRzW2ldLnN0eWxlLmZpbGwgPSBlbGVtZW50c1tpXS5nZXRBdHRyaWJ1dGUoIl9jb2xvciIpOwogICAgICAgICAgICAgICAgfSAgICAgICAgICAgICAgICAKICAgICAgICAgICAgfQogICAgICAgIH0KCiAgICAgICAgaWYgKHNob3dUb29sdGlwKSB7CiAgICAgICAgICAgIGVsLm9ubW91c2Vkb3duID0gZnVuY3Rpb24gKGV2ZW50KSB7CiAgICAgICAgICAgICAgICB2YXIgZWxDb2xvciA9IGdldENvbG9yKGV2ZW50LnRhcmdldC5nZXRBdHRyaWJ1dGUoIl9jb2xvciIpKTsKICAgICAgICAgICAgICAgIGlmIChldmVudC50YXJnZXQuc2VsZWN0ZWQpIHsKICAgICAgICAgICAgICAgICAgICBldmVudC50YXJnZXQuc3R5bGUuZmlsbCA9IGxpZ2h0ZW5EYXJrZW5Db2xvcihlbENvbG9yLCAzNSk7CiAgICAgICAgICAgICAgICB9IGVsc2UgewogICAgICAgICAgICAgICAgICAgIGlmICghZXZlbnQudGFyZ2V0LnNlbGVjdEhhdGNoSWQpIHsKICAgICAgICAgICAgICAgICAgICAgICAgZXZlbnQudGFyZ2V0LnNlbGVjdEhhdGNoSWQgPSBjcmVhdGVTZWxlY3Rpb25IYXRjaChldmVudC50YXJnZXQsIGVsQ29sb3IpOwogICAgICAgICAgICAgICAgICAgICAgICBldmVudC50YXJnZXQuc2VsZWN0T3ZlckhhdGNoSWQgPSBjcmVhdGVTZWxlY3Rpb25IYXRjaChldmVudC50YXJnZXQsIGxpZ2h0ZW5EYXJrZW5Db2xvcihlbENvbG9yLCAzNSkpOwogICAgICAgICAgICAgICAgICAgIH0KICAgICAgICAgICAgICAgICAgICBldmVudC50YXJnZXQuc3R5bGUuZmlsbCA9ICJ1cmwoIyIgKyBldmVudC50YXJnZXQuc2VsZWN0T3ZlckhhdGNoSWQgKyAiKSI7CiAgICAgICAgICAgICAgICB9CiAgICAgICAgICAgICAgICBldmVudC50YXJnZXQuc2VsZWN0ZWQgPSAhZXZlbnQudGFyZ2V0LnNlbGVjdGVkOwogICAgICAgICAgICB9CiAgICAgICAgfSAgICAgICAgCiAgICB9CgogICAgdmFyIGluc3BlY3QgPSBmdW5jdGlvbiAoZWxlbWVudCwgYW5pbWF0aW9ucykgewoKICAgICAgICBpZiAoIWVsZW1lbnQpIHJldHVybjsKICAgICAgICBpZiAoIWRvY3VtZW50Ll9zdGlDaGFydFRvb2x0aXApIHsKICAgICAgICAgICAgY3JlYXRlQ2hhcnRUb29sdGlwKCk7CiAgICAgICAgfQoKICAgICAgICBmb3IgKHZhciBpIGluIGVsZW1lbnQuY2hpbGROb2RlcykgewogICAgICAgICAgICB2YXIgZWwgPSBlbGVtZW50LmNoaWxkTm9kZXNbaV07CiAgICAgICAgICAgIGlmIChlbC5hdHRyaWJ1dGVzKSB7CiAgICAgICAgICAgICAgICBmb3IgKHZhciBqIGluIGVsLmF0dHJpYnV0ZXMpIHsKICAgICAgICAgICAgICAgICAgICBpZiAoZWwuYXR0cmlidXRlc1tqXSAmJiBlbC5hdHRyaWJ1dGVzW2pdLm5hbWUpIHsgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgaWYgKGVsLmF0dHJpYnV0ZXNbal0ubmFtZS5pbmRleE9mKCdfYW5pbWF0aW9uJykgPj0gMCkgewogICAgICAgICAgICAgICAgICAgICAgICAgICAgaWYgKCFlbC5fYW5pbWF0aW9ucykgewogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIGVsLl9hbmltYXRpb25zID0gW107CiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgZWwuX2FuaW1hdGlvbnMucHVzaChKU09OLnBhcnNlKGVsLmdldEF0dHJpYnV0ZShlbC5hdHRyaWJ1dGVzW2pdLm5hbWUpKSk7CiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgYW5pbWF0aW9ucy5wdXNoKGVsKTsKICAgICAgICAgICAgICAgICAgICAgICAgICAgIH0gZWxzZSB7CiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgZWwuX2FuaW1hdGlvbnMucHVzaChKU09OLnBhcnNlKGVsLmdldEF0dHJpYnV0ZShlbC5hdHRyaWJ1dGVzW2pdLm5hbWUpKSk7CiAgICAgICAgICAgICAgICAgICAgICAgICAgICB9ICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICB9CiAgICAgICAgICAgICAgICAgICAgICAgIGlmIChlbC5nZXRBdHRyaWJ1dGUoIl9pc21hcCIpKSB7CiAgICAgICAgICAgICAgICAgICAgICAgICAgICBpZiAoIWRvY3VtZW50Ll9zdGlUb29sdGlwKSB7CiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgY3JlYXRlVG9vbHRpcCgpOwogICAgICAgICAgICAgICAgICAgICAgICAgICAgfQogICAgICAgICAgICAgICAgICAgICAgICAgICAgYWRkVG9vbHRpcChlbCk7CiAgICAgICAgICAgICAgICAgICAgICAgIH0KCiAgICAgICAgICAgICAgICAgICAgICAgIC8qaWYgKGVsLmF0dHJpYnV0ZXNbal0ubmFtZS5pbmRleE9mKCdpbnRlcmFjdGlvbnRvb2x0aXAnKSA+PSAwKSB7ICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgYWRkQ2hhcnRUb29sdGlwKGVsLCBlbGVtZW50LmlkLCB0cnVlKTsKICAgICAgICAgICAgICAgICAgICAgICAgfQoKICAgICAgICAgICAgICAgICAgICAgICAgaWYgKGVsLmF0dHJpYnV0ZXNbal0ubmFtZS5pbmRleE9mKCdlbGVtZW50aW5kZXgnKSA+PSAwICYmIHBhcnNlSW50KGVsLmF0dHJpYnV0ZXNbal0udmFsdWUpID49IDAgJiYgIWVsLmVsZW1lbnRzSWQpIHsvL2xlZ2VuZAogICAgICAgICAgICAgICAgICAgICAgICAgICAgYWRkQ2hhcnRUb29sdGlwKGVsLCBlbGVtZW50LmlkLCBmYWxzZSk7CiAgICAgICAgICA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IHZhciBzdGVwID0gUm91bmQoTWF0aC5hYnMoc3dlZXBBbmdsZUZyb20gLyA5MCkpOwogICAgICAgIHZhciBzdGVwQW5nbGUgPSBzd2VlcEFuZ2xlRnJvbSAvIHN0ZXA7CiAgICAgICAgc3RhcnRBbmdsZSA9IHN0YXJ0QW5nbGVGcm9tOwoKICAgICAgICBmb3IgKHZhciBpbmRleFN0ZXAgPSAwOyBpbmRleFN0ZXAgPCBzdGVwOyBpbmRleFN0ZXArKykgewogICAgICAgICAgICB2YXIgcG9pbnRzID0gY29udmVydEFyY1RvQ3ViaWNCZXppZXIoZGF0YSwgc3RhcnRBbmdsZSwgc3RlcEFuZ2xlKTsKCiAgICAgICAgICAgIGZvciAodmFyIGluZGV4ID0gMTsgaW5kZXggPCBwb2ludHMubGVuZ3RoIC0gMTsgaW5kZXggKz0gMykgewogICAgICAgICAgICAgICAgaWYgKGluZGV4ID09IDEpCiAgICAgICAgICAgICAgICAgICAgcmVzdWx0ICs9ICJDIiArIChwb2ludHNbaW5kZXhdLnggKyBkYXRhLmR4KSArICIsIiArIChwb2ludHNbaW5kZXhdLnkgKyBkYXRhLmR5KSArICIsIiArCiAgICAgICAgICAgICAgICAgICAgICAgIChwb2ludHNbaW5kZXggKyAxXS54ICsgZGF0YS5keCkgKyAiLCIgKyAocG9pbnRzW2luZGV4ICsgMV0ueSArIGRhdGEuZHkpICsgIiwiICsKICAgICAgICAgICAgICAgICAgICAgICAgKHBvaW50c1tpbmRleCArIDJdLnggKyBkYXRhLmR4KSArICIsIiArIChwb2ludHNbaW5kZXggKyAyXS55ICsgZGF0YS5keSk7CiAgICAgICAgICAgICAgICBlbHNlCiAgICAgICAgICAgICAgICAgICAgcmVzdWx0ICs9ICIsIiArIChwb2ludHNbaW5kZXhdLnggKyBkYXRhLmR4KSArICIsIiArIChwb2ludHNbaW5kZXhdLnkgKyBkYXRhLmR5KSArICIsIiArCiAgICAgICAgICAgICAgICAgICAgICAgIChwb2ludHNbaW5kZXggKyAxXS54ICsgZGF0YS5keCkgKyAiLCIgKyAocG9pbnRzW2luZGV4ICsgMV0ueSArIGRhdGEuZHkpICsgIiwiICsKICAgICAgICAgICAgICAgICAgICAgICAgKHBvaW50c1tpbmRleCArIDJdLnggKyBkYXRhLmR4KSArICIsIiArIChwb2ludHNbaW5kZXggKyAyXS55ICsgZGF0YS5keSk7CiAgICAgICAgICAgIH0KICAgICAgICAgICAgc3RhcnRBbmdsZSArPSBzdGVwQW5nbGU7CiAgICAgICAgfQogICAgICAgIHJlc3VsdCArPSAiTCIgKyBjZW50ZXJYICsgIiwiICsgY2VudGVyWTsKICAgICAgICByZXR1cm4gcmVzdWx0OwogICAgfQoKICAgIHZhciBhbmltYXRlUGF0aCA9IGZ1bmN0aW9uIChkYXRhLCBwZXJjZW50KSB7CiAgICAgICAgdmFyIHJlc3VsdCA9ICIiOwogICAgICAgIHdoaWxlIChkYXRhLmxlbmd0aCA+IDApIHsKICAgICAgICAgICAgcmVzdWx0ICs9IGRhdGFbMF07CiAgICAgICAgICAgIHZhciBlbmRJbmRleCA9IGRhdGEuc3Vic3RyaW5nKDEpLnNlYXJjaCgvW01MQ10vKSArIDE7CiAgICAgICAgICAgIHZhciBlbHMgPSBkYXRhLnN1YnN0cmluZygxLCBlbmRJbmRleCA+IDAgPyBlbmRJbmRleCA6IGRhdGEubGVuZ3RoKS5zcGxpdCgvWywgXS8pOwogICAgICAgICAgICBmb3IgKHZhciBpID0gMDsgaSA8IGVscy5sZW5ndGg7IGkrKykgewogICAgICAgICAgICAgICAgaWYgKGVsc1tpXSAhPSAiIikgewogICAgICAgICAgICAgICAgICAgIHZhciBzZSA9IGVsc1tpXS5zcGxpdCgiOiIpOwogICAgICAgICAgICAgICAgICAgIHJlc3VsdCArPSAocGFyc2VGbG9hdChzZVswXSkgKyAocGFyc2VGbG9hdChzZVsxXSkgLSBwYXJzZUZsb2F0KHNlWzBdKSkgKiBwZXJjZW50KTsKICAgICAgICAgICAgICAgICAgICBpZiAoaSAhPSBlbHMubGVuZ3RoIC0gMSkgewogICAgICAgICAgICAgICAgICAgICAgICByZXN1bHQgKz0gIiAiOwogICAgICAgICAgICAgICAgICAgIH0KICAgICAgICAgICAgICAgIH0KICAgICAgICAgICAgfQogICAgICAgICAgICBkYXRhID0gZW5kSW5kZXggPiAwID8gZGF0YS5zdWJzdHJpbmcoZW5kSW5kZXgpIDogIiI7CiAgICAgICAgfQogICAgICAgIHJldHVybiByZXN1bHQ7CiAgICB9CgogICAgdmFyIGJlZ2luID0gbmV3IERhdGUoKS5nZXRUaW1lKCk7CiAgICB2YXIgc3RlcCA9IGZ1bmN0aW9uICh0aW1lc3RhbXApIHsKICAgICAgICB2YXIgZmluaXNoZWQgPSB0cnVlOwogICAgICAgIHZhciBub3cgPSBuZXcgRGF0ZSgpLmdldFRpbWUoKSAtIGJlZ2luOwogICAgICAgIGZvciAodmFyIGkgaW4gYW5pbWF0aW9ucykgewogICAgICAgICAgICB2YXIgYW4gPSBhbmltYXRpb25zW2ldOwogICAgICAgICAgICBmb3IgKHZhciBrIGluIGFuLl9hbmltYXRpb25zKSB7CiAgICAgICAgICAgICAgICB2YXIgYW5pbSA9IGFuLl9hbmltYXRpb25zW2tdOwogICAgICAgICAgICAgICAgaWYgKGFuaW0uYmVnaW4gPD0gbm93ICYmIGFuaW0uYmVnaW4gKyBhbmltLmR1cmF0aW9uID49IG5vdykgewogICAgICAgICAgICAgICAgICAgIHZhciBwZXJjZW50ID0gZWFzZUluT3V0UXVhZCgobm93IC0gYW5pbS5iZWdpbikgLyBhbmltLmR1cmF0aW9uKTsKICAgICAgICAgICAgICAgICAgICBmb3IgKHZhciBqIGluIGFuaW0uYWN0aW9ucykgewogICAgICAgICAgICAgICAgICAgICAgICB2YXIgYWMgPSBhbmltLmFjdGlvbnNbal07CiAgICAgICAgICAgICAgICAgICAgICAgIHZhciBwcmVmaXggPSBhYy5sZW5ndGggPT0gNSA/IGFjWzRdIDogIiI7CiAgICAgICAgICAgICAgICAgICAgICAgIGlmIChhY1swXSA9PSAic2NhbGVDZW50ZXIiKSB7CiAgICAgICAgICAgICAgICAgICAgICAgICAgICBhbi5iYm94ID0gYW4uZ2V0QkJveCgpOwogICAgICAgICAgICAgICAgICAgICAgICAgICAgc2V0U2NhbGUoYW4sIChhY1sxXSArIChhY1syXSAtIGFjWzFdKSAqIHBlcmNlbnQpLCAoYWNbM10gKyAoYWNbNF0gLSBhY1szXSkgKiBwZXJjZW50KSwgYWNbNV0sIGFjWzZdKTsKICAgICAgICAgICAgICAgICAgICAgICAgfSBlbHNlIGlmIChhY1swXSA9PSAicG9pbnRzIikgewogICAgICAgICAgICAgICAgICAgICAgICAgICAgdmFyIHBvaW50c0Zyb20gPSBleHRyYWN0UG9pbnRzKGFjWzFdKTsKICAgICAgICAgICAgICAgICAgICAgICAgICAgIHZhciBwb2ludHNUbyA9IGV4dHJhY3RQb2ludHMoYWNbMl0pOwogICAgICAgICAgICAgICAgICAgICAgICAgICAgdmFyIHBvaW50cyA9ICIiOwogICAgICAgICAgICAgICAgICAgICAgICAgICAgZm9yICh2YXIgbCBpbiBwb2ludHNGcm9tKSB7CiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgcG9pbnRzICs9IChwb2ludHNGcm9tW2xdLnggKyAocG9pbnRzVG9bbF0ueCAtIHBvaW50c0Zyb21bbF0ueCkgKiBwZXJjZW50KSArICIsIiArCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIChwb2ludHNGcm9tW2xdLnkgKyAocG9pbnRzVG9bbF0ueSAtIHBvaW50c0Zyb21bbF0ueSkgKiBwZXJjZW50KSArICIgIjsKICAgICAgICAgICAgICAgICAgICAgICAgICAgIH0KICAgICAgICAgICAgICAgICAgICAgICAgICAgIGFuLnNldEF0dHJpYnV0ZShhY1swXSwgcG9pbnRzKTsKICAgICAgICAgICAgICAgICAgICAgICAgfSBlbHNlIGlmIChhY1swXSA9PSAidmFsdWUiKSB7CiAgICAgICAgICAgICAgICAgICAgICAgICAgICB2YXIgdmFsdWUgPSBhY1sxXSArIChhY1syXSAtIGFjWzFdKSAqIHBlcmNlbnQ7CiAgICAgICAgICAgICAgICAgICAgICAgICAgICB2YWx1ZSA9IE1hdGgucm91bmQodmFsdWUgKiBNYXRoLnBvdygxMCwgYWNbM10pKSAvIE1hdGgucG93KDEwLCBhY1szXSk7CiAgICAgICAgICAgICAgICAgICAgICAgICAgICBhbi50ZXh0Q29udGVudCA9IHZhbHVlOwogICAgICAgICAgICAgICAgICAgICAgICB9IGVsc2UgaWYgKGFjWzBdID09ICJ0cmFuc2xhdGUiKSB7CiAgICAgICAgICAgICAgICAgICAgICAgICAgICB2YXIgZnJvbSA9IGFjWzFdLnNwbGl0KCI6Iik7CiAgICAgICAgICAgICAgICAgICAgICAgICAgICB2YXIgdG8gPSBhY1syXS5zcGxpdCgiOiIpOwogICAgICAgICAgICAgICAgICAgICAgICAgICAgYW4uc2V0QXR0cmlidXRlKCJ0cmFuc2Zvcm0iLCAidHJhbnNsYXRlKCIgKyAocGFyc2VGbG9hdChmcm9tWzBdKSArIChwYXJzZUZsb2F0KHRvWzBdKSAtIHBhcnNlRmxvYXQoZnJvbVswXSkpICogcGVyY2VudCkgKyAiICIgKwogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAocGFyc2VGbG9hdChmcm9tWzFdKSArIChwYXJzZUZsb2F0KHRvWzFdKSAtIHBhcnNlRmxvYXQoZnJvbVsxXSkpICogcGVyY2VudCkgKyAiKSIgKyBhY1szXSk7CiAgICAgICAgICAgICAgICAgICAgICAgIH0gZWxzZSBpZiAoYWNbMF0gPT0gInBhdGgiKSB7CiAgICAgICAgICAgICAgICAgICAgICAgICAgICBhbi5zZXRBdHRyaWJ1dGUoImQiLCBhbmltYXRlUGF0aChhY1sxXSwgcGVyY2VudCkpOwogICAgICAgICAgICAgICAgICAgICAgICB9IGVsc2UgaWYgKGFjWzBdID09ICJwaWUiKSB7CiAgICAgICAgICAgICAgICAgICAgICAgICAgICBhbi5zZXRBdHRyaWJ1dGUoImQiLCBhbmltYXRlUGllKGFjWzFdLCBwZXJjZW50KSk7CiAgICAgICAgICAgICAgICAgICAgICAgIH0gZWxzZSB7CiAgICAgICAgICAgICAgICAgICAgICAgICAgICBhbi5zZXRBdHRyaWJ1dGUoYWNbMF0sIHByZWZpeCArIChhY1sxXSArIChhY1syXSAtIGFjWzFdKSAqIHBlcmNlbnQpICsgYWNbM10pOwogICAgICAgICAgICAgICAgICAgICAgICB9CiAgICAgICAgICAgICAgICAgICAgfQogICAgICAgICAgICAgICAgICAgIGZpbmlzaGVkID0gZmFsc2U7CiAgICAgICAgICAgICAgICB9IGVsc2UgaWYgKGFuaW0uYmVnaW4gKyBhbmltLmR1cmF0aW9uIDwgbm93KSB7CiAgICAgICAgICAgICAgICAgICAgZm9yICh2YXIgaiBpbiBhbmltLmFjdGlvbnMpIHsKICAgICAgICAgICAgICAgICAgICAgICAgdmFyIGFjID0gYW5pbS5hY3Rpb25zW2pdOwogICAgICAgICAgICAgICAgICAgICAgICB2YXIgcHJlZml4ID0gYWMubGVuZ3RoID09IDUgPyBhY1s0XSA6ICIiOwogICAgICAgICAgICAgICAgICAgICAgICBpZiAoYWNbMF0gPT0gInNjYWxlQ2VudGVyIikgewogICAgICAgICAgICAgICAgICAgICAgICAgICAgc2V0U2NhbGUoYW4sIGFjWzJdLCBhY1s0XSwgYWNbNV0sIGFjWzZdKTsKICAgICAgICAgICAgICAgICAgICAgICAgfSBpZiAoYWNbMF0gPT0gInBvaW50cyIpIHsKICAgICAgICAgICAgICAgICAgICAgICAgICAgIHZhciBwb2ludHNUbyA9IGV4dHJhY3RQb2ludHMoYWNbMl0pOwogICAgICAgICAgICAgICAgICAgICAgICAgICAgdmFyIHBvaW50cyA9ICIiOwogICAgICAgICAgICAgICAgICAgICAgICAgICAgZm9yICh2YXIgbCBpbiBwb2ludHNUbykgewogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIHBvaW50cyArPSBwb2ludHNUb1tsXS54ICsgIiwiICsgcG9pbnRzVG9bbF0ueSArICIgIjsKICAgICAgICAgICAgICAgICAgICAgICAgICAgIH0KICAgICAgICAgICAgICAgICAgICAgICAgICAgIGFuLnNldEF0dHJpYnV0ZShhY1swXSwgcG9pbnRzKTsKICAgICAgICAgICAgICAgICAgICAgICAgfSBlbHNlIGlmIChhY1swXSA9PSAidmFsdWUiKSB7CiAgICAgICAgICAgICAgICAgICAgICAgICAgICBhbi50ZXh0Q29udGVudCA9IGFjWzJdOwogICAgICAgICAgICAgICAgICAgICAgICB9IGVsc2UgaWYgKGFjWzBdID09ICJ0cmFuc2xhdGUiKSB7CiAgICAgICAgICAgICAgICAgICAgICAgICAgICB2YXIgdG8gPSBhY1syXS5zcGxpdCgiOiIpOwogICAgICAgICAgICAgICAgICAgICAgICAgICAgYW4uc2V0QXR0cmlidXRlKCJ0cmFuc2Zvcm0iLCAidHJhbnNsYXRlKCIgKyB0b1swXSArICIgIiArIHRvWzFdICsgIikiICsgYWNbM10pOwogICAgICAgICAgICAgICAgICAgICAgICB9IGVsc2UgaWYgKGFjWzBdID09ICJwYXRoIikgewogICAgICAgICAgICAgICAgICAgICAgICAgICAgYW4uc2V0QXR0cmlidXRlKCJkIiwgYW5pbWF0ZVBhdGgoYWNbMV0sIDEpKTsKICAgICAgICAgICAgICAgICAgICAgICAgfSBlbHNlIGlmIChhY1swXSA9PSAicGllIikgewogICAgICAgICAgICAgICAgICAgICAgICAgICAgYW4uc2V0QXR0cmlidXRlKCJkIiwgYW5pbWF0ZVBpZShhY1sxXSwgMSkpOwogICAgICAgICAgICAgICAgICAgICAgICB9IGVsc2UgewogICAgICAgICAgICAgICAgICAgICAgICAgICAgYW4uc2V0QXR0cmlidXRlKGFjWzBdLCBwcmVmaXggKyBhY1syXSArIGFjWzNdKTsKICAgICAgICAgICAgICAgICAgICAgICAgfQogICAgICAgICAgICAgICAgICAgIH0KICAgICAgICAgICAgICAgIH0gZWxzZSBpZiAoYW5pbS5iZWdpbiA+IG5vdykgewogICAgICAgICAgICAgICAgICAgIGZpbmlzaGVkID0gZmFsc2U7CiAgICAgICAgICAgICAgICB9CiAgICAgICAgICAgIH0KICAgICAgICB9CiAgICAgICAgaWYgKCFmaW5pc2hlZCkgewogICAgICAgICAgICByZXF1ZXN0QW5pbWF0aW9uRnJhbWUoc3RlcCk7CiAgICAgICAgfQogICAgfQogICAgcmVxdWVzdEFuaW1hdGlvbkZyYW1lKHN0ZXApOwp9"},r=a,t.StiChartAnimation=r}(Stimulsoft=Stimulsoft||{}),function(t){var e,r,n,t;function i(){this.isStopped=!1,this.multipleFiles=!1,this.renderedPagesCount=0,this.currentPassNumber=0,this.maximumPassNumber=0,this.exportServiceId=""}r=e=t.Report||(t.Report={}),t=n=r.Export||(r.Export={}),Object.defineProperty(i.prototype,"exportFormat",{get:function(){return null},enumerable:!1,configurable:!0}),i.prototype.invokeExporting=function(t,e,r,n){},i.prototype.invokeExporting2=function(t,e,r,n){},r=i,t.StiExportService=r}(Stimulsoft=Stimulsoft||{}),function(t){var e,r,n,i;r=e=t.Report||(t.Report={}),(i=n=r.Export||(r.Export={})).IStiHtml5ExportService=new t.System.Interface("IStiHtml5ExportService")}(Stimulsoft=Stimulsoft||{}),function(Fe){var t,Ne,e;Ne=t=Fe.Report||(Fe.Report={}),function(qt){var $t=Fe.System.Collections.List,te=Fe.System.StiArray,o=Fe.System.Drawing.Graphics,ee=Fe.System.StiString,re=Fe.Report.Chart.IStiPictorialSeries,p=Fe.Report.Helpers.StiHyperlinkProcessor,a=Fe.System.Drawing.StringTrimming,ne=Fe.Base.Drawing.StiHatchBrush,ie=Fe.Base.Drawing.StiGlassBrush,oe=Fe.Base.Drawing.StiGlareBrush,ae=Fe.Base.Drawing.StiGradientBrush,se=Fe.Report.Components.StiCheckBox,le=Fe.Report.Components.IStiEditable,ue=Fe.Report.Engine.StiDataBandBuilder,ce=Fe.Report.Components.StiDataBand,pe=Fe.Report.Components.StiBandInteraction,h=Fe.System.Drawing.ContentAlignment,he=Fe.Report.Components.StiContainer,c=Fe.System.Xml.XmlTextWriter,m=Fe.System.IO.TextWriter,d=Fe.Base.Context.StiContextPainter,g=Fe.Base.Context.StiContext,me=Fe.System.Collections.Hashtable,de=Fe.System.Drawing.Color,ge=Fe.Report.Components.StiPagesCollection,s=Fe.System.Drawing.Font,l=Fe.Report.Components.IStiFont,u=Fe.Report.Components.IStiBorder,f=Fe.Report.Components.IStiTextBrush,fe=Fe.Base.Drawing.StiHorAlignment,S=Fe.Base.Drawing.StiBorderSides,Se=Fe.Report.Components.StiImage,y=Fe.Base.Drawing.StiTextHorAlignment,A=Fe.Base.Drawing.StiPenStyle,ye=Fe.Base.Drawing.StiVertAlignment,Ae=Fe.Report.Components.StiText,b=Fe.Base.Drawing.StiBrush,be=Fe.Report.Components.StiPointPrimitive,Ce=Fe.Base.Drawing.StiSolidBrush,ve=Fe.Base.Drawing.StiEmptyBrush,we=Fe.Report.Components.IStiTextOptions,C=Fe.Base.Drawing.StiBorderSide,Be=Fe.System.Text.StringBuilder,v=Fe.Base.Drawing.StiAdvancedBorder,r=Fe.Report.Components.IStiIgnoreBorderWhenExport,n=Fe.Report.Components.IStiExportImage,w=Fe.Report.Components.IStiExportImageExtended,B=Fe.System.Text.Encoding,Ie=Fe.Base.Drawing.StiTextRenderer,Te=Fe.Report.Components.IStiText,Ee=Fe.Report.Components.StiRichText,Re=Fe.Report.Components.StiTextQuality,e=Fe.System.Drawing.ColorTranslator,I=Fe.System.IO.MemoryStream,T=Fe.Base.Drawing.StiHtmlState,E=Fe.Base.Drawing.StiHtmlTagsState,R=Fe.System.Guid,De=Fe.Report.Chart.IStiChart,D=Fe.Report.Maps.StiMapHelper,P=Fe.Report.Components.StiImageRotation,Pe=Fe.Report.Chart.IStiFontIconsSeries,t=(i=qt.StiExportService,__extends(xe,i),Object.defineProperty(xe.prototype,"exportFormat",{get:function(){if(this.exportSettings.stimulsoft.is(qt.StiHtmlExportSettings)){var t=this.exportSettings.htmlType;if(t==qt.StiHtmlType.Html5)return Ne.StiExportFormat.Html5;if(t==qt.StiHtmlType.Mht)return Ne.StiExportFormat.Mht}return Ne.StiExportFormat.Html},enumerable:!1,configurable:!0}),xe.prototype.exportTo=function(t,e,r){var r=(this.exportSettings=r).stimulsoft.as(qt.StiHtmlExportSettings),n,i;((null!=r?r.htmlType:qt.StiHtmlType.Html)==qt.StiHtmlType.Html5?new Fe.Report.Export["StiHtml5ExportService"]:this).exportHtml(t,e,r)},xe.prototype.exportToAsync=function(t,e,r,n){var i=this;Fe.Report.Export.StiExportImageHelper.convertAllImages(e,Fe.System.Drawing.Imaging.ImageFormat.Png).try(function(){setTimeout(function(){i.exportTo(e,r,n),null!=e&&null!=e.preparedExportImages&&(e.preparedExportImages.clear(),e.preparedExportImages=null),D.renderOnlineMap(r).try(function(){return t()})})})},xe.prototype.exportToAsync2=function(n,i,o){return __awaiter(this,void 0,void 0,function(){var r=this;return __generator(this,function(t){return[2,new Promise(function(t){var e=r;Fe.Report.Export.StiExportImageHelper.convertAllImages(n,Fe.System.Drawing.Imaging.ImageFormat.Png).try(function(){setTimeout(function(){e.exportTo(n,i,o),null!=n&&null!=n.preparedExportImages&&(n.preparedExportImages.clear(),n.preparedExportImages=null),D.renderOnlineMap(i).try(function(){return t()})})})})]})})},xe.getFontScale=function(t,e){var r=t+"*"+e.toString(),n=this.fontScale.get(r),t,i,n;return null==n&&(t=new s(t,e),n=o.measureString("H",t).height/e*.75*.97,this.fontScale.set(r,n)),n},xe.prototype.addCoord=function(t){this.coordX[t.left]=t.left,this.coordY[t.top]=t.top,this.coordX[t.right]=t.right,this.coordY[t.bottom]=t.bottom},xe.prototype.formatCoords=function(t){var e,r,n,i,o=new $t;try{for(var a=__values(this.coordX.getKeys()),s=a.next(),l;!s.done;s=a.next()){null!=(l=s.value)&&(o[l]=Math.round2(t.unit.convertToHInches(this.coordX[l])*this.zoom*.75,2))}}catch(t){e={error:t}}finally{try{s&&!s.done&&(r=a.return)&&r.call(a)}finally{if(e)throw e.error}}this.coordX=o;var u=new $t;try{for(var c=__values(this.coordY.getKeys()),p=c.next(),l;!p.done;p=c.next()){null!=(l=p.value)&&(u[l]=Math.round2(t.unit.convertToHInches(this.coordY[l])*this.zoom*.75,2))}}catch(t){n={error:t}}finally{try{p&&!p.done&&(i=c.return)&&i.call(c)}finally{if(n)throw n.error}}this.coordY=u},xe.prototype.formatCoord=function(t){return Math.round2(t,2).toString()+"pt"},xe.prototype.formatColor=function(t){if(t.a<255&&0<t.a)return ee.format("rgba({0},{1},{2},{3})",t.r,t.g,t.b,Math.round2(t.a/255,3));return e.toHtml(t)},xe.prototype.formatColorRgba=function(t){return ee.format("rgba({0}, {1}, {2}, {3})",t.r,t.g,t.b,t.a/255)},xe.prototype.getBorderStyle=function(t){switch(t){case A.Dot:return" dotted";case A.Dash:case A.DashDot:case A.DashDotDot:return" dashed";case A.Double:return" double";default:return" solid"}},xe.prototype.setCurrentCulture=function(){},xe.prototype.restoreCulture=function(){},xe.prototype.renderFont=function(t,e){var r="";Fe.System.Drawing.Graphics.allowStyle(e.fontFamily.name,e.style)&&(e.bold&&(r+="bold "),e.italic&&(r+="italic ")),r+=Math.trunc(e.size*this.zoom).toString().split(",").join(".")+"pt ";var n=Fe.System.Drawing.Graphics.getCustomFontName(e.fontFamily.name,e.style);n.stimulsoft.contains(" ")&&(n="'"+n+"'"),r+=n;var n=e.underline?e.strikeout?"underline line-through":"underline":e.strikeout?"line-through":"";null==t?(this.htmlWriter.writeStyleAttribute("Font",r),(e.underline||e.strikeout)&&this.htmlWriter.writeStyleAttribute("text-decoration",n)):(t.style.set("Font",r),(e.underline||e.strikeout)&&t.style.set("text-decoration",n))},xe.prototype.renderTextHorAlignment=function(t,e,r){var n=null!=e&&e.rightToLeft,e="";r==y.Left&&(e=n?"right":"left"),r==y.Right&&(e=n?"left":"right"),r==y.Center&&(e="center"),r==y.Width&&(e="justify"),""!=e&&(null==t?(this.htmlWriter.writeStyleAttribute("text-align",e),this.exportSettings.exportMode!=qt.StiHtmlExportMode.Table&&("left"==e&&this.htmlWriter.writeStyleAttribute("justify-content","flex-start"),"right"==e&&this.htmlWriter.writeStyleAttribute("justify-content","flex-end"),"center"==e&&this.htmlWriter.writeStyleAttribute("justify-content","center"),"justify"==e&&this.htmlWriter.writeStyleAttribute("justify-content","space-between"))):t.style.set("text-align",e))},xe.prototype.renderVertAlignment=function(t,e,r,n){void 0===r&&(r=null),void 0===n&&(n=!1);var i="",r=null!=r&&r.trimming!=a.None;e==ye.Top&&(i="top"),e==ye.Center&&(i="middle"),e==ye.Bottom&&(i="bottom"),""!=i&&(null==t?this.exportSettings.exportMode==qt.StiHtmlExportMode.Table||n?this.htmlWriter.writeStyleAttribute("vertical-align",i):(e==ye.Top&&(i="flex-start"),e==ye.Center&&(i="center"),e==ye.Bottom&&(i="flex-end"),r?(this.htmlWriter.writeStyleAttribute("display","block"),this.htmlWriter.writeStyleAttribute("white-space","nowrap"),this.htmlWriter.writeStyleAttribute("text-overflow","ellipsis")):this.htmlWriter.writeStyleAttribute("display","flex"),this.htmlWriter.writeStyleAttribute("align-items",i)):t.style.set("vertical-align",i))},xe.prototype.renderTextAngle=function(t){null==t||90!=t.angle&&270!=t.angle||this.htmlWriter.writeStyleAttribute("writing-mode","tb-rl")},xe.prototype.renderTextDirection=function(t,e){null!=e&&e.rightToLeft&&(null==t?this.htmlWriter.writeStyleAttribute("direction","rtl"):t.style.set("direction","rtl"))},xe.prototype.renderBackColor=function(t,e){255==e.a?null==t?this.htmlWriter.writeStyleAttribute("background-color",this.formatColor(e)):t.style.set("background-color",this.formatColor(e)):0<e.a&&(null==t?this.htmlWriter.writeStyleAttribute("background",this.formatColorRgba(e)):t.style.set("background",this.formatColorRgba(e)))},xe.prototype.renderTextColor=function(t,e,r){void 0===r&&(r=!1),e.equals(de.black)&&!r||(null==t?this.htmlWriter.writeStyleAttribute("color",this.formatColor(e)):t.style.set("color",this.formatColor(e)))},xe.prototype.renderBorder=function(t){var e;null!=t&&t.is(u)&&!t.is(r)&&this.renderBorder2(t.border)},xe.prototype.renderBorder2=function(t){var e,r,n,i,o;null!=t&&((i=n=r=e=null)!=(o=t.stimulsoft.as(v))?(e=o.leftSide,r=o.rightSide,n=o.topSide,i=o.bottomSide):(e=new C(t.color,t.size,t.style),t.isRightBorderSidePresent&&(r=e),t.isTopBorderSidePresent&&(n=e),t.isBottomBorderSidePresent&&(i=e),t.isLeftBorderSidePresent||(e=null)),this.renderBorder3(null,e,"left"),this.renderBorder3(null,r,"right"),this.renderBorder3(null,n,"top"),this.renderBorder3(null,i,"bottom"))},xe.prototype.renderBorder3=function(t,e,r,n){void 0===n&&(n=0);var i=(100*n).toString()+"px",o,a,s,s;null!=e&&e.style!=A.None?(o=this.formatColor(e.color),a=this.getBorderStyle(e.style),0<(s=e.size)&&s<1&&(s=1),s<1&&(e.style==A.Dash||e.style==A.DashDot||e.style==A.DashDotDot||e.style==A.Dot)&&(s=1),e.style==A.Double&&(s=2.5),s=Math.round2(s).toString()+"px",null==t?(this.htmlWriter.writeStyleAttribute(ee.format("border-{0}-color",r),o),this.htmlWriter.writeStyleAttribute(ee.format("border-{0}-style",r),a),this.htmlWriter.writeStyleAttribute(ee.format("border-{0}-width",r),s),0!=n&&this.htmlWriter.writeStyleAttribute("border-radius",i)):(t.style.set(ee.format("border-{0}-color",r),o),t.style.set(ee.format("border-{0}-style",r),a),t.style.set(ee.format("border-{0}-width",r),s),0!=n&&t.style.set("border-radius",i))):StiOptions.Export.Html.useStrictTableCellSize&&null==t&&(this.htmlWriter.writeStyleAttribute(ee.format("border-{0}-color",r),"transparent"),this.htmlWriter.writeStyleAttribute(ee.format("border-{0}-style",r),"solid"),this.htmlWriter.writeStyleAttribute(ee.format("border-{0}-width",r),"1px"),0!=n&&this.htmlWriter.writeStyleAttribute("border-radius",i))},xe.prototype.renderPosition=function(t,e){void 0===e&&(e=!1);var r=t.componentToPage(t.clientRectangle),n=this.formatCoord(this.coordX[r.left]),i=this.formatCoord(this.coordY[r.top]+this.startPage*this.zoom*.75),o=this.coordX[r.right]-this.coordX[r.left],a=this.coordY[r.bottom]-this.coordY[r.top],r=t.as(u);null!=r&&null!=r.border&&(r.border.stimulsoft.is(v)||r.border.style!=A.None&&0<r.border.size&&r.border.side!=S.None&&(0<(r.border.side&S.Left)&&(o-=.375*r.border.size),0<(r.border.side&S.Right)&&(o-=.375*r.border.size),0<(r.border.side&S.Top)&&(a-=.375*r.border.size),0<(r.border.side&S.Bottom)&&(a-=.375*r.border.size)));var t=t.as(Ae);null==t||t.margins.isEmpty||(o-=.75*(Math.trunc(t.margins.left*this.zoom)+Math.trunc(t.margins.right*this.zoom)),a-=.75*(Math.trunc(t.margins.top*this.zoom)+Math.trunc(t.margins.bottom*this.zoom))),o<0&&(o=0),a<0&&(a=0);var o=this.formatCoord(o),a=this.formatCoord(a);if(this.htmlWriter.writeStyleAttribute("left",n),this.htmlWriter.writeStyleAttribute("top",i),this.htmlWriter.writeStyleAttribute("width",o),this.htmlWriter.writeStyleAttribute("height",a),null==t||t.margins.isEmpty||this.htmlWriter.writeStyleAttribute("padding",ee.format("{0} {1} {2} {3}",qt.StiHtmlUnit.newUnit(Math.trunc(t.margins.top*this.zoom)).toString(),qt.StiHtmlUnit.newUnit(Math.trunc(t.margins.right*this.zoom)).toString(),qt.StiHtmlUnit.newUnit(Math.trunc(t.margins.bottom*this.zoom)).toString(),qt.StiHtmlUnit.newUnit(Math.trunc(t.margins.left*this.zoom)).toString())),e)return o+";"+a;return null},xe.prototype.getHeight=function(t){var e=t.componentToPage(t.clientRectangle),r=this.coordY[e.bottom]-this.coordY[e.top],n=t.page.unit,e=t.as(u);null!=e&&null!=e.border&&(e.border.stimulsoft.is(v)||e.border.style!=A.None&&0<e.border.size&&e.border.side!=S.None&&(0<(e.border.side&S.Left)&&(r-=.375*e.border.size),0<(e.border.side&S.Right)&&(r-=.375*e.border.size)));var t=t.as(Ae),i;return null==t||t.margins.isEmpty||(r-=.75*(Math.trunc(t.margins.top)+Math.trunc(t.margins.bottom))),r<0&&(r=0),this.formatCoord(r)},xe.prototype.getWidth=function(t){var e=t.componentToPage(t.clientRectangle),r=this.coordX[e.right]-this.coordX[e.left],n=t.page.unit,e=t.as(u);null!=e&&null!=e.border&&(e.border.stimulsoft.is(v)||e.border.style!=A.None&&0<e.border.size&&e.border.side!=S.None&&(0<(e.border.side&S.Left)&&(r-=.375*e.border.size),0<(e.border.side&S.Right)&&(r-=.375*e.border.size)));var t=t.as(Ae),i;return null==t||t.margins.isEmpty||(r-=.75*(Math.trunc(t.margins.left)+Math.trunc(t.margins.right))),r<0&&(r=0),this.formatCoord(r)},xe.prototype.renderImage=function(t){var e=null,r=t.as(Se);null!=r&&(e=r.imageURLValue,ee.isNullOrEmpty(e)&&null!=r.image&&(e=r.image.base64)),this.setCurrentCulture(),this.renderImage2(r,t.as(n),e),this.restoreCulture()},xe.prototype.renderImage2=function(t,e,r){var n,i,o,a,a,o,a,i;null!=e&&(n=e.stimulsoft.as(w),i=this.zoom,o=this.imageResolution,StiOptions.Export.Html.useImageResolution&&e.stimulsoft.is(Se)&&null!=e.imageToDraw&&(50<=(a=e.imageToDraw.horizontalResolution)&&a<=1250&&(o=a)),100!=o&&(i*=o/100),a=null,o={ref:i},a=n.imageToDraw,i=o.ref,this.restoreCulture(),this.renderImage3(t,a,r,i))},xe.prototype.renderImage3=function(t,e,r,n){if(null!=e){ee.isNullOrEmpty(r)||r.stimulsoft.startsWith("http")||r.stimulsoft.startsWith("ftp")||(r=null);var i=r;if(ee.isNullOrEmpty(r)&&(null!=this.htmlImageHost&&(i=this.htmlImageHost.getImageString(e)),null==i&&(i="")),t.aspectRatio&&t.stretch||t.imageRotation!=P.None){var o=this.getWidth(t),a=this.getHeight(t);this.htmlWriter.write('<div style="'),this.htmlWriter.writeStyleAttribute("width",o),this.htmlWriter.writeStyleAttribute("height",a);var r=t.horAlignment,e=t.vertAlignment,a,o,s,o;switch(t.imageRotation){case P.Rotate90CW:e=t.horAlignment==fe.Left?ye.Bottom:t.horAlignment==fe.Right?ye.Top:ye.Center,r=t.vertAlignment==ye.Top?fe.Left:t.vertAlignment==ye.Bottom?fe.Right:fe.Center;break;case P.Rotate90CCW:e=t.horAlignment==fe.Left?ye.Top:t.horAlignment==fe.Right?ye.Bottom:ye.Center,r=t.vertAlignment==ye.Top?fe.Right:t.vertAlignment==ye.Bottom?fe.Left:fe.Center;break;case P.Rotate180:t.horAlignment==fe.Left?r=fe.Right:t.horAlignment==fe.Right&&(r=fe.Left),t.vertAlignment==ye.Top?e=ye.Bottom:t.vertAlignment==ye.Bottom&&(e=ye.Top);break;case P.FlipHorizontal:t.horAlignment==fe.Left?r=fe.Right:t.horAlignment==fe.Right&&(r=fe.Left);break;case P.FlipVertical:t.vertAlignment==ye.Top?e=ye.Bottom:t.vertAlignment==ye.Bottom&&(e=ye.Top);break}t.imageRotation!=P.Rotate90CCW&&t.imageRotation!=P.Rotate90CW||(this.htmlWriter.write('"><div style="'),this.htmlWriter.writeStyleAttribute("width",a),this.htmlWriter.writeStyleAttribute("height",o),a=t.componentToPage(t.clientRectangle),o=this.coordY[a.bottom]-this.coordY[a.top],o=(this.coordX[a.right]-this.coordX[a.left]-o)/2,this.htmlWriter.writeStyleAttribute("position","relative"),this.htmlWriter.writeStyleAttribute("left",this.formatCoord(o)),this.htmlWriter.writeStyleAttribute("top",this.formatCoord(-o)),this.htmlWriter.writeStyleAttribute("transform","rotate("+(t.imageRotation==P.Rotate90CCW?"-":"")+"90deg)")),this.htmlWriter.writeStyleAttribute("background-repeat","no-repeat"),this.htmlWriter.writeStyleAttribute("background-size",t.aspectRatio?"contain":"100% 100%"),this.htmlWriter.writeStyleAttribute("background-position",fe[r].toLowerCase()+" "+ye[e].toLowerCase()),this.htmlWriter.writeStyleAttribute("background-image","url("+qt.StiHtmlTable.stringToUrl(i)+")"),t.imageRotation==P.FlipHorizontal?this.htmlWriter.writeStyleAttribute("transform","scaleX(-1)"):t.imageRotation==P.FlipVertical?this.htmlWriter.writeStyleAttribute("transform","scaleY(-1)"):t.imageRotation==P.Rotate180&&this.htmlWriter.writeStyleAttribute("transform","scale(-1)"),t.imageRotation==P.Rotate90CCW||t.imageRotation==P.Rotate90CW?this.htmlWriter.write('"></div>'):this.htmlWriter.write('">'),this.htmlWriter.write("</div>")}else this.htmlWriter.writeBeginTag('div style="'),this.htmlWriter.writeStyleAttribute("display","table-cell"),this.htmlWriter.writeStyleAttribute("max-width",this.getWidth(t)),this.renderVertAlignment(null,t.vertAlignment),this.htmlWriter.write('">'),this.htmlWriter.writeBeginTag('img style="'),t.stretch&&(this.htmlWriter.writeStyleAttribute("height",this.getHeight(t)),this.htmlWriter.writeStyleAttribute("width",this.getWidth(t))),this.htmlWriter.write('"'),this.htmlWriter.writeAttribute("src",i),this.htmlWriter.write(">"),this.htmlWriter.writeEndTag("img"),this.htmlWriter.writeEndTag("div")}},xe.prototype.renderHyperlink=function(t){var e=t.hyperlinkValue;!ee.isNullOrWhiteSpace(e)&&e.stimulsoft.startsWith("##")&&(e=e.substr(1));var r=t.bookmarkValue,n=t.tagValue;null==r&&!ee.isNullOrEmpty(n)&&this.hyperlinksToTag.containsKey(n)&&(r=n);var i=null;if(!ee.isNullOrWhiteSpace(t.guid)&&this.hashBookmarkGuid.containsKey(t.guid)&&(i=t.guid),!ee.isNullOrWhiteSpace(e)){var o=t.componentToPage(t.clientRectangle),n=this.formatCoord(this.coordY[o.bottom]-this.coordY[o.top]),o=new Be,a,n,s;return o.append("display:block;height:"+n+";text-decoration:none;"),t.is(f)&&(n=b.toColor(t.textBrush),o.append("color:"+this.formatColor(n)+";")),t.is(l)&&(t.font.underline?o.append("text-decoration:underline;"):o.append("text-decoration:none;")),this.htmlWriter.writeBeginTag("a"),ee.isNullOrWhiteSpace(r)||this.htmlWriter.writeAttribute("name",r.split("'").join("")),ee.isNullOrWhiteSpace(i)||this.htmlWriter.writeAttribute("guid",i),this.htmlWriter.writeAttribute("style",o.toString()),this.htmlWriter.writeAttribute("href",e),this.htmlWriter.write(">"),!0}if(!ee.isNullOrWhiteSpace(r)||!ee.isNullOrWhiteSpace(i))return this.htmlWriter.writeBeginTag("a"),ee.isNullOrWhiteSpace(r)||this.htmlWriter.writeAttribute("name",r.split("'").join("")),ee.isNullOrWhiteSpace(i)||this.htmlWriter.writeAttribute("guid",i),StiOptions.Export.Html.useExtendedStyle&&this.htmlWriter.writeAttribute("class","sBaseStyleFix"),this.htmlWriter.write(">"),!0;return!1},xe.prototype.renderPage=function(t,e,r){var r;this.pageHorAlignment!=fe.Left&&(this.htmlWriter.writeBeginTag(this.strSpanDiv+' style="'),this.htmlWriter.writeStyleAttribute("text-align",this.pageHorAlignment==fe.Center?"center":"right"),e&&this.htmlWriter.writeStyleAttribute("margin-left",ee.format("{0}px",r+4)),this.htmlWriter.write('">'),this.htmlWriter.indent++,this.htmlWriter.writeLine()),this.htmlWriter.writeBeginTag(this.strSpanDiv+' class="StiPageContainer" style="'),this.renderAsDocument&&(this.pageHorAlignment!=fe.Left?this.htmlWriter.writeStyleAttribute("display","inline-block"):e&&this.htmlWriter.writeStyleAttribute("left",ee.format("{0}px",r+4)),this.htmlWriter.writeStyleAttribute("width",this.formatCoord(this.totalPageWidth*this.zoom*.75)),this.htmlWriter.writeStyleAttribute("height",this.formatCoord(this.totalPageHeight*this.zoom*.75)),this.htmlWriter.writeStyleAttribute("position","relative"),r=de.transparent,null!=t&&0<t.count&&(null!=t.getByIndex(0).brush&&(r=b.toColor(t.getByIndex(0).brush)),0==r.a&&(r=de.white),null!=t.getByIndex(0).border&&this.renderBorder(t.getByIndex(0)))),this.htmlWriter.write('">'),this.htmlWriter.indent++,this.htmlWriter.writeLine()},xe.prototype.renderEndPage=function(){this.htmlWriter.indent--,this.htmlWriter.writeEndTag(this.strSpanDiv),this.htmlWriter.writeLine(),this.pageHorAlignment!=fe.Left&&(this.htmlWriter.indent--,this.htmlWriter.writeEndTag(this.strSpanDiv),this.htmlWriter.writeLine())},xe.prototype.renderStartDoc=function(t,e,r,n,i,o,a,s){var i,a;this.htmlWriter.writeLine('<!DOCTYPE HTML "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">'),this.htmlWriter.writeLine("\x3c!-- "+Fe.StiVersion.platform()+" --\x3e"),this.htmlWriter.writeLine('<html xmlns="http://www.w3.org/1999/xhtml">'),this.htmlWriter.indent++,this.htmlWriter.writeFullBeginTag("head"),this.htmlWriter.writeLine(),this.htmlWriter.indent++,this.htmlWriter.writeFullBeginTag("title"),this.htmlWriter.write(this.report.reportAlias),this.htmlWriter.writeEndTag("title"),this.htmlWriter.writeLine(),this.htmlWriter.writeBeginTag("meta"),this.htmlWriter.writeAttribute("http-equiv","Content-Type"),this.htmlWriter.writeAttribute("content",ee.format("text/html; charset={0}",s.webName)),this.htmlWriter.writeEndTag("meta"),this.htmlWriter.writeLine(),i&&(i=Fe.Report.Resources.StimulsoftFont.getBase64Content(),this.htmlWriter.writeLine("<style>"),this.htmlWriter.writeLine("@font-face {font-family: 'Stimulsoft';src: url(data:font/ttf;base64,"+i+") format('truetype');font-weight: normal;font-style: normal;}"),this.htmlWriter.writeLine("</style>"),this.htmlWriter.writeLine()),null!=t&&(e?t.renderStylesTable(r,n,o):t.renderStyles(r,n,o)),r&&this.renderBookmarkScript(),this.htmlWriter.indent--,this.htmlWriter.writeLine(),this.htmlWriter.writeEndTag("head"),this.htmlWriter.writeLine(),this.htmlWriter.writeBeginTag("body"),null!=a&&0<a.count&&null!=a.getByIndex(0).brush&&(0<(a=b.toColor(a.getByIndex(0).brush)).a&&this.htmlWriter.writeAttribute("bgcolor",this.formatColor(a))),StiOptions.Export.Html.useExtendedStyle&&this.htmlWriter.writeAttribute("class","sBaseStyleFix"),StiOptions.Export.Html.printLayoutOptimization&&this.htmlWriter.writeAttribute("style","margin:0;"),this.htmlWriter.write(">"),this.htmlWriter.indent++,this.htmlWriter.writeLine()},xe.prototype.fillBitmapBackground=function(t,e){var r=de.lightGray},xe.prototype.renderBookmarkScript=function(){},xe.prototype.renderChartScripts=function(t){var e,r;if(void 0===t&&(t=!0),0==this.chartData.count)return;t&&(this.htmlWriter.writeBeginTag("script"),this.htmlWriter.writeAttribute("type","text/javascript"),this.htmlWriter.writeLine(">"));var n=R.newGuidString(),i=Fe.Report.Export.Htmls.ChartScripts.StiChartAnimation.getBase64Content(),i=Fe.System.Convert.fromBase64StringText(i);this.htmlWriter.writeLine(i.stimulsoft.replaceAll("animateSti","animateSti"+n)+";"),this.htmlWriter.writeLine("setTimeout(function() {");try{for(var o=__values(this.chartData.keys),a=o.next();!a.done;a=o.next()){var s=a.value;this.htmlWriter.writeLine(ee.format('animateSti{0}("{1}");',n,this.chartData.get(s)))}}catch(t){e={error:t}}finally{try{a&&!a.done&&(r=o.return)&&r.call(o)}finally{if(e)throw e.error}}this.htmlWriter.writeLine("}, 300);"),t&&(this.htmlWriter.writeEndTag("script"),this.htmlWriter.writeLine())},xe.prototype.renderMapsScripts=function(t){void 0===t&&(t=!0),t&&(this.htmlWriter.writeBeginTag("script"),this.htmlWriter.writeAttribute("type","text/javascript"),this.htmlWriter.writeLine(">")),t&&this.htmlWriter.writeEndTag("script")},xe.prototype.renderGaugeScripts=function(t){void 0===t&&(t=!0),t&&(this.htmlWriter.writeBeginTag("script"),this.htmlWriter.writeAttribute("type","text/javascript"),this.htmlWriter.writeLine(">")),t&&this.htmlWriter.writeEndTag("script")},xe.prototype.getGuid=function(t){return this.chartData.containsKey(t)||this.chartData.add(t,R.newGuidString()),this.chartData.get(t)},xe.prototype.renderEndDoc=function(){this.htmlWriter.indent--,this.htmlWriter.writeEndTag("body"),this.htmlWriter.indent--,this.htmlWriter.writeLine(),this.htmlWriter.writeEndTag("html")},xe.prototype.renderBookmarkTree=function(t,e,r){var n=[];this.addBookmarkNode(t,-1,n),this.htmlWriter.writeStyleAttribute("width",ee.format("{0}px",e)),this.htmlWriter.writeStyleAttribute("background-color","#f0f0f0"),this.htmlWriter.write('">'),this.htmlWriter.indent++,this.htmlWriter.writeLine(),this.htmlWriter.indent++,this.htmlWriter.writeFullBeginTag("frame"),this.htmlWriter.writeLine(),this.htmlWriter.writeBeginTag("script"),this.htmlWriter.writeAttribute("type","text/javascript"),this.htmlWriter.writeLine(">"),this.htmlWriter.indent++,this.htmlWriter.writeLine("\x3c!--"),this.htmlWriter.writeLine("bmrk = new dTree('bmrk');");for(var i=0;i<n.length;i++){var o=n[i],a="",a=r.containsKey(o.title)?ee.format("Page {0}",r.get(o.title)+1):"Page 0";this.htmlWriter.writeLine(ee.format("bmrk.add({0}, {1}, '{2}', '{3}', '{4}');",i,o.parent,o.title,o.url,a))}this.htmlWriter.writeLine("document.write(bmrk);"),this.htmlWriter.writeLine("//--\x3e"),this.htmlWriter.indent--,this.htmlWriter.writeEndTag("script"),this.htmlWriter.indent--,this.htmlWriter.writeLine(),this.htmlWriter.indent--},xe.prototype.addBookmarkNode=function(t,e,r){var n=new x;n.parent=e;var e=t.text.stimulsoft.replaceAll("'","\\'").stimulsoft.replaceAll("\r","").stimulsoft.replaceAll("\n","");n.title=e,n.url="#"+e,n.used=!0,r.push(n);var i=r.length-1;if(0!=t.bookmarks.count)for(var o=0;o<t.bookmarks.count;o++)this.addBookmarkNode(t.bookmarks.getByIndex(o),i,r)},xe.prototype.prepareTextForHtml=function(t,e){if(void 0===e&&(e=!0),null==t)return null;var r=new Be;if(e)for(var n=t.split("\n"),i=0;i<n.length;i++){var o=n[i],a=0;while(a<o.length&&" "==o.charAt(a))a++;if(0<a){for(var s=0;s<a;s++)r.append(" ");r.append(o.substr(a))}else r.append(o);i<n.length-1&&r.append("<br>")}else t=(t=t.stimulsoft.replaceAll("\r","")).stimulsoft.replaceAll("\n","<br>"),r.append(t);return r.toString()},xe.convertTextWithHtmlTagsToHtmlText=function(t,e,r){if(!ee.isNullOrEmpty(e)&&e.stimulsoft.startsWith("<StiHtmlJs>"))return e.substring("<StiHtmlJs>".length);for(var n=e,i=new E(t.font.bold,t.font.italic,t.font.underline,t.font.strikeout,t.font.size,t.font.name,b.toColor(t.textBrush),b.toColor(t.brush),!1,!1,0,0,t.lineSpacing,t.horAlignment),e=new T(i,0),o=Ie.parseHtmlToStates(n,e),a=new Be,s=y.Left,l=t.lineSpacing,u=!0,c=!1,p=new Be,h=i,m=0;m<o.length;m++){var d=o[m],g=d.ts,f;g.bold!=h.bold&&p.append(g.bold?"<b>":"</b>"),g.italic!=h.italic&&p.append(g.italic?"<i>":"</i>"),g.underline!=h.underline&&p.append(g.underline?"<u>":"</u>"),g.strikeout!=h.strikeout&&p.append(g.strikeout?"<s>":"</s>"),g.superscript!=h.superscript&&p.append(g.superscript?"<sup>":"</sup>"),g.subsript!=h.subsript&&p.append(g.subsript?"<sub>":"</sub>"),g.fontColor==h.fontColor&&g.backColor==h.backColor&&g.fontName==h.fontName&&g.fontSize==h.fontSize&&g.letterSpacing==h.letterSpacing&&g.wordSpacing==h.wordSpacing&&g.htmlStyle==h.htmlStyle||(f="",g.htmlStyle!=h.htmlStyle&&(f+=g.htmlStyle+";"),g.fontColor!=i.fontColor&&!f.stimulsoft.contains("color:")&&0<g.fontColor.a&&(f+=ee.format("color:#{0:X6};",16777215&g.fontColor.toArgb())),g.backColor!=i.backColor&&!f.stimulsoft.contains("background-color:")&&0<g.backColor.a&&(f+=ee.format("background-color:#{0:X6};",16777215&g.backColor.toArgb())),g.fontName!=i.fontName&&(f.stimulsoft.contains("font-family:")||(f+=ee.format("font-family:{0};",g.fontName))),g.fontSize!=i.fontSize&&(f.stimulsoft.contains("font-size:")||(f+=ee.format("font-size:{0}pt;",g.fontSize*r).split(",").join("."),f+=ee.format("line-height:{0}em;",Math.round2(g.lineHeight*this.getFontScale(g.fontName,g.fontSize),2)).split(",").join("."))),g.letterSpacing!=i.letterSpacing&&(f.stimulsoft.contains("letter-spacing:")||(f+=ee.format("letter-spacing:{0}em;",g.letterSpacing).split(",").join("."))),g.wordSpacing!=i.wordSpacing&&(f.stimulsoft.contains("word-spacing:")||(f+=ee.format("word-spacing:{0}em;",g.wordSpacing).split(",").join("."))),c&&p.append("</font>"),c=!1,0<f.length&&(c=!0,p.append(ee.format('<font style="{0}">',f)))),s=g.textAlign,l=g.lineHeight,"\n"==d.text.toString()?(u&&p.append(" "),a.append(this.getParagraphString(p,s,l,t.lineSpacing,t.rightToLeft,t.font)),p=new Be,u=!0):(p.append(d.text),0<d.text.toString().trim().length&&(u=!1)),h=g.clone()}return 0<p.length&&a.append(this.getParagraphString(p,s,l,t.lineSpacing,t.rightToLeft,t.font)),c&&p.append("</font>"),h.bold!=i.bold&&p.append(i.bold?"<b>":"</b>"),h.italic!=i.italic&&p.append(i.italic?"<i>":"</i>"),h.underline!=i.underline&&p.append(i.underline?"<u>":"</u>"),h.strikeout!=i.strikeout&&p.append(i.strikeout?"<s>":"</s>"),h.superscript!=i.superscript&&p.append(i.superscript?"<sup>":"</sup>"),h.subsript!=i.subsript&&p.append(i.subsript?"<sub>":"</sub>"),a.toString()},xe.getParagraphString=function(t,e,r,n,i,o){var a=new Be;a.append("<p "),a.append('style="margin:0px;');var s=i?"right":"left";return e==y.Center&&(s="center"),e==y.Right&&(s=i?"left":"right"),e==y.Width&&(s="justify"),a.append(ee.format("text-align:{0};",s)),r!=n&&a.append(ee.format("line-height:{0}em;",Math.round2(r*this.getFontScale(o.name,o.size),2))),a.append('">'),a.append(t),a.append("</p>"),a.toString()},xe.prototype.renderWatermarkText=function(t,e,r){var n,i,o,a,s,i,a;void 0===r&&(r=0),null!=e&&!ee.isNullOrEmpty(e.watermark.text)&&e.watermark.enabled&&(n=e.unit.convertRectangleToHInches(e.displayRectangle),i=Math.trunc(e.watermark.font.size*this.zoom),o=ee.format(" font-size: {0}pt; font-family: {1};",i,e.watermark.font.name),e.watermark.font.bold&&(o+="font-weight:bold;"),e.watermark.font.italic&&(o+="font-style:italic;"),e.watermark.font.underline&&(o+="text-decoration:underline"+(e.watermark.font.strikeout?" ":";")),e.watermark.font.strikeout&&(o+=e.watermark.font.underline?"line-through;":"text-decoration:line-through;"),a=b.toColor(e.watermark.textBrush),s=ee.format("rgb({0},{1},{2})",a.r,a.g,a.b),i=a.a/255,a=e.watermark.showBehind?0:1,t.writeLine(ee.format("<div class='stiWatermarkText' style=\"{0} position: absolute; pointer-events: none; filter: alpha(Opacity={2}); opacity: {1}; -moz-opacity: {1}; -khtml-opacity: {1}; color: {5}; min-width: 100%; text-align: center; z-index: {8}; margin-left: {3}; margin-top: {4}; transform: translate(-50%,-50%) rotate(-{6}deg); top:{9}px;\">{7}</div>",o,i,10*i,qt.StiHtmlUnit.newUnit(Math.trunc((-e.unit.convertToHInches(e.margins.left)+n.width/2)*this.zoom),StiOptions.Export.Html.printLayoutOptimization),qt.StiHtmlUnit.newUnit(Math.trunc((-e.unit.convertToHInches(e.margins.top)+n.height/2)*this.zoom),StiOptions.Export.Html.printLayoutOptimization),s,e.watermark.angle,e.watermark.text,a,Math.trunc(r))))},xe.prototype.renderWatermarkImage=function(t,e,r){if(void 0===r&&(r=0),null!=e&&null!=e.watermark&&e.watermark.enabled&&(null!=e.watermark.image||!ee.isNullOrWhiteSpace(e.watermark.imageHyperlink))){var n="",i=0,o,a,s,a;null!=e.watermark.image?(n=e.watermark.image.base64,i=e.watermark.image.width):ee.isNullOrEmpty(e.watermark.imageHyperlink)||(p.isResourceHyperlink(e.watermark.imageHyperlink)?null!=(o=e.report.dictionary.resources.getByName(p.getResourceNameFromHyperlink(e.watermark.imageHyperlink)))&&null!=(a=Fe.System.Drawing.Image.fromBytes(o.content))&&(n=a.base64,i=a.width):!p.isVariableHyperlink(e.watermark.imageHyperlink)||null!=(s=e.report.dictionary.variables.getByName(p.getVariableNameFromHyperlink(e.watermark.imageHyperlink)))&&null!=s.valueObject&&null!=(a=s.valueObject.stimulsoft.as(Fe.System.Drawing.Image))&&(n=a.base64,i=a.width));var l=e.unit.convertRectangleToHInches(e.clientRectangle),u=l.width*this.zoom,c=l.height*this.zoom,o=i*e.watermark.imageMultipleFactor*this.zoom,s=e.watermark.showImageBehind?0:1,a="",l="center",i="center";switch(e.watermark.imageAlignment){case h.TopLeft:l="left",i="top";break;case h.TopCenter:l="center",i="top";break;case h.TopRight:l="right",i="top";break;case h.MiddleLeft:l="left",i="center";break;case h.MiddleCenter:i=l="center";break;case h.MiddleRight:l="right",i="center";break;case h.BottomLeft:l="left",i="bottom";break;case h.BottomCenter:l="center",i="bottom";break;case h.BottomRight:l="right",i="bottom";break}a+=ee.format("background-position-x: {0};",l),a+=ee.format("background-position-y: {0};",i),e.watermark.imageStretch?(a+="background-size: 100% 100%;",a+="background-repeat: no-repeat;"):(a+=ee.format("background-size: {0}%;",Math.trunc(o/u*100)),a+=ee.format("background-repeat: {0};",e.watermark.imageTiling?"repeat":"no-repeat")),t.writeLine(ee.format("<div class='stiWatermarkImage' style=\"position: absolute; pointer-events: none; width: {0}px; height: {1}px; left: 0px; top: {5}px; right: 0px; bottom: 0px; z-index: {2}; background-image: url({3}); {4};\"></div>",Math.trunc(u),Math.trunc(c),s,n,a,Math.trunc(r)))}},xe.getImage=function(t,e,r){return null},xe.getFile=function(t,e){return null},xe.prototype.assembleGuidUsedInBookmark=function(t,e){var r,n;if(ee.isNullOrWhiteSpace(t.componentGuid)||e.set(t.componentGuid,t.text),null!=t.bookmarks&&0<t.bookmarks.count)try{for(var i=__values(t.bookmarks.list),o=i.next();!o.done;o=i.next()){var a=o.value;this.assembleGuidUsedInBookmark(a,e)}}catch(t){r={error:t}}finally{try{o&&!o.done&&(n=i.return)&&n.call(i)}finally{if(r)throw r.error}}},xe.prepareSvg=function(t,e,r){t.writeBeginTag("svg"),t.writeAttribute("version","1.1"),t.writeAttribute("baseProfile","full"),t.writeAttribute("xmlns","http://www.w3.org/2000/svg"),t.writeAttribute("xmlns:xlink","http://www.w3.org/1999/xlink"),t.writeAttribute("xmlns:ev","http://www.w3.org/2001/xml-events"),t.writeAttribute("height",e.toString().split(",").join(".")),t.writeAttribute("width",r.toString().split(",").join(".")),t.write(">")},xe.prototype.prepareChartData=function(t,e,r,n){var i=new d,o=new g(i,!1,!1,!1,this.zoom),a=new Be,s=null,l=null,s=null==t?(l=new m,new qt.StiHtmlTextWriter(l)):t,u=.96;xe.prepareSvg(s,Math.round2(n*u,2),Math.round2(r*u,2));var i=new qt.StiSvgData;i.x=0,i.y=0,i.width=r*u,i.height=n*u,i.component=e;var n=new I,u=new c(B.UTF8,n);return qt.StiChartSvgHelper.writeChart(u,i,this.zoom,this.chartType==Fe.Report.Export.StiHtmlChartType.AnimatedVector),u.flush(),s.write(B.UTF8.getString(n.toArray())),s.writeEndTag("svg"),this.getGuid(e),null==t?l.getStringBuilder().toString():null},xe.prototype.prepareSparklineData=function(t,e,r,n){return xe.getSparklineData(t,e,r,n)},xe.getSparklineData=function(t,e,r,n){var i=new d,o=null,a=null,o=null==t?(a=new m,new qt.StiHtmlTextWriter(a)):t,s=.96;xe.prepareSvg(o,Math.round2(n*s,2),Math.round2(r*s,2));var l=new qt.StiSvgData;l.x=0,l.y=0,l.width=r*s,l.height=n*s,l.component=e;var s=new I,e=new c(B.UTF8,s);return qt.StiSparklineSvgHelper.writeSparkline(e,l),e.flush(),o.write(B.UTF8.getString(s.toArray())),o.writeEndTag("svg"),null==t?a.getStringBuilder().toString():null},xe.prototype.prepareGaugeData=function(t,e,r,n){var i,o=null,o=null==t?(i=new m,new qt.StiHtmlTextWriter(i)):t,a=1;xe.prepareSvg(o,Math.round2(n*a,2),Math.round2(r*a,2));var s=new qt.StiSvgData;s.x=0,s.y=0,s.width=r*a,s.height=n*a,s.component=e;var a=new I,e=new c(B.UTF8,a);return qt.StiGaugeSvgHelper.writeGauge(e,s,this.zoom,this.chartType==qt.StiHtmlChartType.AnimatedVector),e.flush(),o.write(Fe.System.Text.Encoding.UTF8.getString(a.toArray())),o.writeEndTag("svg"),null==t?i.getStringBuilder().toString():null},xe.prototype.prepareMapData=function(t,e,r,n){var i,o=null,o=null==t?(i=new m,new qt.StiHtmlTextWriter(i)):t,a=1;xe.prepareSvg(o,Math.round2(n*a,2),Math.round2(r*a,2));var s=new I,a=new c(B.UTF8,s);return qt.StiMapSvgHelper.drawMap(a,e,0,0,r,n,this.chartType==qt.StiHtmlChartType.AnimatedVector),a.flush(),o.write(Fe.System.Text.Encoding.UTF8.getString(s.toArray())),o.writeEndTag("svg"),null==t?i.getStringBuilder().toString():null},xe.prototype.getChartScript=function(){var t=this.htmlWriter,e=new m;return this.htmlWriter=new qt.StiHtmlTextWriter(e),this.renderChartScripts(!1),this.renderGaugeScripts(!1),this.renderMapsScripts(!1),this.htmlWriter=t,e.getStringBuilder().toString()},xe.prototype.clear=function(){null!=this.tableRender&&null!=this.tableRender.matrix&&(this.tableRender.matrix.clear(),this.tableRender.matrix=null),this.tableRender=null,this.coordX=null,this.coordY=null,this.styles=null,this.chartData.clear()},xe.prototype.isComponentHasInteraction=function(t){if(this.insertInteractionParameters&&null!=t.interaction){if(t.interaction.sortingEnabled&&!ee.isNullOrWhiteSpace(t.interaction.sortingColumn))return!0;if(t.interaction.drillDownEnabled&&(null!=t.interaction.drillDownPage||!ee.isNullOrEmpty(t.interaction.drillDownReport)))return!0;if(t.interaction.stimulsoft.is(pe)&&t.interaction.collapsingEnabled)return!0}return!1},xe.prototype.exportHtml=function(t,e,r,n){var i,o,a,s,l,u,c,p,h,m,d,g,f,S,y,A,b,C,v,w,B,I;if(void 0===n&&(n=null),null==n&&(n=r.pageRange.getSelectedPages(t.renderedPages)),null==r)throw new Error("The 'settings' argument cannot be equal in null.");var T=(this.exportSettings=r).pageRange;this.zoom=r.zoom,this.imageFormat=r.imageFormat,this.exportQuality=r.exportQuality;var E=r.exportMode,R=r.exportBookmarksMode!=qt.StiHtmlExportBookmarksMode.ReportOnly,D=r.bookmarksTreeWidth,P=r.exportBookmarksMode==qt.StiHtmlExportBookmarksMode.BookmarksOnly;this.useStylesTable=r.useStylesTable,this.imageResolution=r.imageResolution,this.imageQuality=r.imageQuality,this.removeEmptySpaceAtBottom=r.removeEmptySpaceAtBottom,this.pageHorAlignment=r.pageHorAlignment,this.compressToArchive=r.compressToArchive,this.useEmbeddedImages=r.useEmbeddedImages,this.openLinksTarget=r.openLinksTarget,this.chartType=r.chartType;var x=!0,R=R&&null!=t.bookmark&&0!=t.bookmark.bookmarks.count;E==qt.StiHtmlExportMode.Span?this.strSpanDiv="span":E==qt.StiHtmlExportMode.Div&&(this.strSpanDiv="div"),this.isFileStreamMode=!ee.isNullOrEmpty(this.fileName),this.useEmbeddedImages&&(this.isFileStreamMode=!1);try{null==this.htmlImageHost&&(this.htmlImageHost=new qt.StiHtmlImageHost(this)),this.hashBookmarkGuid=new me,this.assembleGuidUsedInBookmark(t.bookmark,this.hashBookmarkGuid),this.htmlWriter=e,this.report=t,this.totalPageWidth=0,this.totalPageHeight=0,this.startPage=0,this.imageNumber=1;var F=new me;if(R){var N=0;try{for(var k=__values(n.list),M=k.next(),O,_;!M.done;M=k.next()){(_=(O=M.value).getComponents()).add(O);try{for(var j=(a=void 0,__values(_.list)),G=j.next(),H,Q;!G.done;G=j.next()){(H=G.value).enabled&&(Q=H.bookmarkValue,ee.isNullOrWhiteSpace(Q)||0<(Q=Q.split("'").join("")).length&&(F.containsKey(Q)||F.add(Q,N)))}}catch(t){a={error:t}}finally{try{G&&!G.done&&(s=j.return)&&s.call(j)}finally{if(a)throw a.error}}N++}}catch(t){i={error:t}}finally{try{M&&!M.done&&(o=k.return)&&o.call(k)}finally{if(i)throw i.error}}}var L=!1;try{for(var Y=__values(n.list),U=Y.next();!U.done;U=Y.next()){var O,_=(O=U.value).getComponents();try{for(var J=(c=void 0,__values(_.list)),W=J.next(),V,H,z;!W.done;W=J.next()){(H=V=W.value).enabled&&H.is(De)&&null!=(z=H)&&0<z.series.count&&(z.series.getByIndex(0).is2(re)||z.series.getByIndex(0).is2(Pe))&&(L=!0)}}catch(t){c={error:t}}finally{try{W&&!W.done&&(p=J.return)&&p.call(J)}finally{if(c)throw c.error}}}}catch(t){l={error:t}}finally{try{U&&!U.done&&(u=Y.return)&&u.call(Y)}finally{if(l)throw l.error}}if(E==qt.StiHtmlExportMode.Span||E==qt.StiHtmlExportMode.Div){var X=new qt.StiHtmlTableRender(this,r,new ge(t,n));if(this.isStopped)return;this.coordX=new $t,this.coordY=new $t,this.hyperlinksToTag=new me;try{for(var K=__values(n.list),Z=K.next();!Z.done;Z=K.next()){var O=Z.value;this.totalPageWidth=Math.max(this.totalPageWidth,O.unit.convertToHInches(O.width)),this.totalPageHeight+=O.unit.convertToHInches(O.height)}}catch(t){h={error:t}}finally{try{Z&&!Z.done&&(m=K.return)&&m.call(K)}finally{if(h)throw h.error}}try{for(var q=__values(n.list),$=q.next();!$.done;$=q.next()){var O,_=(O=$.value).getComponents(),tt=O.unit.convertRectangleToHInches(O.clientRectangle);try{for(var et=(f=void 0,__values(_.list)),rt=et.next();!rt.done;rt=et.next()){var H=rt.value,nt=O.unit.convertRectangleToHInches(H.displayRectangle),it=!0,ot;H.is(be)&&(it=!1),(nt.right<tt.left||nt.left>tt.right||nt.bottom<tt.top||nt.top>tt.bottom)&&(it=!1),H.enabled&&it&&(this.addCoord(H.displayRectangle),null!=H.hyperlinkValue&&(ot=H.hyperlinkValue,!ee.isNullOrEmpty(ot)&&2<ot.length&&ot.stimulsoft.startsWith("##")&&this.hyperlinksToTag.set(ot.substr(2),null)))}}catch(t){f={error:t}}finally{try{rt&&!rt.done&&(S=et.return)&&S.call(et)}finally{if(f)throw f.error}}}}catch(t){d={error:t}}finally{try{$&&!$.done&&(g=q.return)&&g.call(q)}finally{if(d)throw d.error}}this.formatCoords(t);var at=new me,st=new me;try{for(var lt=__values(n.list),ut=lt.next();!ut.done;ut=lt.next()){var O,_=(O=ut.value).getComponents();try{for(var ct=(b=void 0,__values(_.list)),pt=ct.next(),V,H,ht,mt;!pt.done;pt=ct.next()){if((H=V=pt.value).enabled){x&&(null==(ht=H)||null==ht.brush||ht.brush.is(Ce)||ht.brush.is(ve)||((H=V.clone()).brush=new Ce(de.transparent))),(mt=X.matrix.getStyleFromComponent(H,-1,-1,this.exportServiceId)).absolutePosition=!0,n.cacheMode||at.set(V,mt);var dt=H.tagValue;if(!ee.isNullOrEmpty(dt))for(var gt=qt.StiMatrix.splitTag(dt),ft=0,St;ft<gt.length;ft++){if(gt[ft].toLowerCase().stimulsoft.startsWith("css"))if(1<(St=qt.StiMatrix.getStringsFromTag(gt[ft],3)).length){var yt=St[0].trim();st.set(yt,St[1].trim()+";position:absolute;"),at.set(V,yt);break}}}}}catch(t){b={error:t}}finally{try{pt&&!pt.done&&(C=ct.return)&&C.call(ct)}finally{if(b)throw b.error}}}}catch(t){y={error:t}}finally{try{ut&&!ut.done&&(A=lt.return)&&A.call(lt)}finally{if(y)throw y.error}}X.matrix.checkStylesNames(),this.renderAsDocument&&this.renderStartDoc(X,!1,R,P,L,st,n,r.encoding),!this.renderAsDocument&&R&&this.renderBookmarkScript();for(var At=0,bt=0,Ct,vt,wt;bt<n.count;bt++){var O=n.getByIndex(bt);this.renderWatermarkImage(this.htmlWriter,O,At),this.renderWatermarkText(this.htmlWriter,O,At),At+=O.unit.convertRectangleToHInches(O.clientRectangle).height}if(R&&(this.htmlWriter.writeBeginTag(this.strSpanDiv+' class="dtreeframe" style="'),this.htmlWriter.writeStyleAttribute("position","absolute"),P||this.htmlWriter.writeStyleAttribute("height",this.formatCoord(this.totalPageHeight*this.zoom*.75)),this.renderBookmarkTree(t.bookmark,D,F),this.htmlWriter.writeEndTag(this.strSpanDiv),this.htmlWriter.writeLine()),P||this.renderPage(n,R,D),this.renderAsDocument||X.renderStyles(R,P,st),!P)try{for(var Bt=__values(n.list),It=Bt.next();!It.done;It=Bt.next()){var O=It.value;if(this.isStopped)return;var _=O.getComponents(),tt=O.unit.convertRectangleToHInches(O.clientRectangle),Tt=0;try{for(var Et=(B=void 0,__values(_.list)),Rt=Et.next();!Rt.done;Rt=Et.next()){var V,H=V=Rt.value,nt,Dt=(nt=O.unit.convertRectangleToHInches(H.displayRectangle)).multiply(this.zoom),it=!0;if(H.is(be)&&(it=!1),(nt.right<tt.left||nt.left>tt.right||nt.bottom<tt.top||nt.top>tt.bottom)&&(it=!1),H.enabled&&it){var Pt=null,mt;null==(mt=null==at.get(V)?null:at.get(V).stimulsoft.as(qt.StiCellStyle))&&n.cacheMode&&((mt=X.matrix.getStyleFromComponent(V,-1,-1,this.exportServiceId)).absolutePosition=!0);var xt=X.matrix.styles.indexOf(mt);-1!=xt&&this.useStylesTable&&(Pt="s"+mt.styleName);var yt=null==at.get(V)?null:at.get(V).stimulsoft.as(String),ht,Ft;!ee.isNullOrEmpty(yt)&&this.useStylesTable&&(Pt=yt),x&&(null==(ht=H)||null==ht.brush||ht.brush.is(Ce)||ht.brush.is(ve)||(e.writeBeginTag(this.strSpanDiv),ee.isNullOrEmpty(Pt)||e.writeAttribute("class",Pt),e.write(' style="'),e.write(""),this.renderPosition(H),e.write('position:absolute;">'),(Ft=new Ae).page=O,Ft.clientRectangle=H.clientRectangle,Ft.brush=H.brush,this.renderImage(Ft),e.writeEndTag(this.strSpanDiv),e.writeLine(""),(H=V.clone()).brush=new Ce(de.transparent)));var Nt=H.isExportAsImage(Ne.StiExportFormat.Html),kt=!1,Mt,Ot,Ot,_t,jt,Gt;if(e.writeBeginTag(this.strSpanDiv),ee.isNullOrEmpty(Pt)||e.writeAttribute("class",Pt),E==qt.StiHtmlExportMode.Div&&null!=H.toolTipValue&&e.writeAttribute("title",H.toolTipValue.toString()),this.insertInteractionParameters){if(null!=V.report&&!V.report.isDocument&&this.isComponentHasInteraction(V)){if(e.write(ee.format(' interaction="{0}"',H.name)),H.interaction.sortingEnabled){var Ht=H.interaction.getSortDataBandName(),Qt=null!=H.report.getComponentByName(Ht)?H.report.getComponentByName(Ht).as(ce):null;if(null!=Qt){e.write(ee.format(' databandsort="{0};{1}"',Ht,ee.join(";",Qt.sort)));for(var Lt=0;Lt<Qt.sort.length;Lt+=2)Qt.sort[Lt+1]==H.interaction.getSortColumnsString()&&e.write(ee.format(' sort="{0}"',Qt.sort[Lt].toLowerCase()))}}!H.interaction.drillDownEnabled||null==H.interaction.drillDownPage&&ee.isNullOrEmpty(H.interaction.drillDownReport)||(null!=H.interaction.drillDownPage&&e.write(ee.format(' pageguid="{0}"',H.interaction.drillDownPage.guid)),ee.isNullOrEmpty(H.interaction.drillDownReport)||e.write(ee.format(' reportfile="{0}"',H.interaction.drillDownReport)),e.write(ee.format(' pageindex="{0}"',H.page.report.renderedPages.indexOf(H.page).toString())),e.write(ee.format(' compindex="{0}"',H.page.components.indexOf(H).toString())));var Ht=H.interaction.stimulsoft.as(pe),Ft;null!=Ht&&Ht.collapsingEnabled&&H.is(he)&&(Ft=H,e.write(ee.format(' collapsed="{0}"',ue.isCollapsed(Ft,!1).toString().toLowerCase())),e.write(ee.format(' compindex="{0}"',Ft.collapsingIndex.toString())))}null!=V.page&&V.is(le)&&V.editable&&(Mt=new Be,Ot=V.page.components.indexOf(V),Mt.appendFormat("{0};",Ot),null!=(Ot=V.as(se))&&(_t=de.transparent,Ot.textBrush.is(Ce)?_t=Ot.textBrush.color:Ot.textBrush.is(ae)||Ot.textBrush.is(oe)?_t=Ot.textBrush.startColor:Ot.textBrush.is(ie)?_t=Ot.textBrush.color:Ot.textBrush.is(ne)&&(_t=Ot.textBrush.foreColor),Mt.appendFormat("CheckBox;{0};{1};{2};#{3:X2}{4:X2}{5:X2};{6};#{7:X2}{8:X2}{9:X2}",Ot.checkedValue,Fe.Report.Components.StiCheckStyle[Ot.checkStyleForFalse],Fe.Report.Components.StiCheckStyle[Ot.checkStyleForTrue],Ot.contourColor.r,Ot.contourColor.g,Ot.contourColor.b,Ot.size,_t.r,_t.g,_t.b)),null!=V.as(Ae)&&Mt.appendFormat("Text"),null!=V.as(Ee)&&Mt.appendFormat("RichText"),e.write(ee.format(' editable="{0}"',Mt.toString())))}e.write(' style="'),H.is(Ae)&&H.vertAlignment!=ye.Top&&this.exportSettings.exportMode==qt.StiHtmlExportMode.Table&&(e.writeStyleAttribute("display","table"),e.writeStyleAttribute("border-spacing","0px")),H.is(Se)&&H.vertAlignment!=ye.Top&&this.exportSettings.exportMode==qt.StiHtmlExportMode.Table&&(e.writeStyleAttribute("display","table"),e.writeStyleAttribute("border-spacing","0px")),e.write("");var Ot=this.renderPosition(H,!0);this.useStylesTable||(-1!=xt&&X.renderStyle(mt),ee.isNullOrEmpty(yt)||e.writeLine(st.get(yt)+";overflow:hidden;"));var z=H.as(De),_t=H.as(Fe.Report.Components.Gauge.IStiGauge),Mt=H.as(Fe.Report.Maps.StiMap),Yt,Ut,xt,Yt,Ut,_t,Mt,Dt,Nt,xt,Ot,Jt,Jt;null!=z&&this.chartType!=qt.StiHtmlChartType.Image?(e.write('" '),e.writeAttribute("id",this.getGuid(z)),kt=this.renderHyperlink(H),this.prepareChartData(e,z,Dt.width,Dt.height),kt&&e.writeEndTag("a")):null!=_t?(e.write('" '),e.writeAttribute("id",this.getGuid(_t)),e.write(">"),this.prepareGaugeData(e,_t,Dt.width,Dt.height),(kt=this.renderHyperlink(H))&&e.writeEndTag("a")):null!=Mt?(e.write('" '),e.writeAttribute("id",this.getGuid(Mt)),e.writeAttribute("isRegionMap","true"),e.write(">"),this.prepareMapData(e,Mt,Dt.width,Dt.height),(kt=this.renderHyperlink(H))&&e.writeEndTag("a")):H.is(Fe.Report.BarCodes.StiBarCode)||H.is(Fe.Report.Components.StiCheckBox)||H.is(Fe.Report.Components.StiShape)?(e.write('">'),Yt=qt.StiSvgHelper.saveComponentToString(H,Ne.ImageFormat.Jpeg,.75,100,!1),Ut=ee.format('<svg width="{0}" height="{1}"><g transform="scale({2})">{3}</g></svg>',Math.ceil(nt.width),Math.ceil(nt.height),this.zoom,Yt),e.write(Ut)):Nt?(e.write('">'),kt=this.renderHyperlink(H),this.renderImage(H),kt&&e.writeEndTag("a")):null!=(xt=H.as(Ae))&&(null!=xt.angle&&0!=xt.angle||null!=xt.indicator)?(Yt=qt.StiSvgHelper.saveComponentToString(H,Ne.ImageFormat.Jpeg,.75,100,!1),Ut=ee.format('<svg width="{0}" height="{1}"><g transform="scale({2})">{3}</g></svg>',Math.ceil(nt.width),Math.ceil(nt.height),this.zoom,Yt),e.write('">'),e.write(Ut)):(null!=(_t=H.as(we))&&this.renderTextDirection(null,_t.textOptions),Mt=H.is(Te)&&!H.is(Ee),Nt=!(Dt=null),xt=null!=mt&&null!=mt.textOptions&&mt.textOptions.wordWrap,Mt&&(Dt=H.text,Nt&&!xt&&e.write("white-space:nowrap")),H.is(Fe.Report.BarCodes.StiBarCode)||H.is(Fe.Report.Components.StiCheckBox)||H.is(Fe.Report.Components.StiShape)||e.write('">'),xt&&StiOptions.Export.Html.useWordWrapBreakWordMode&&(e.writeBeginTag(this.strSpanDiv),e.write(' style="word-wrap:break-word;width:'+Ot.substr(0,Ot.indexOf(";"))+';">')),kt=this.renderHyperlink(H),Ot=!0,null==_t||_t.textOptions.wordWrap?Mt&&(null!=Dt&&(null!=(Jt=H)&&Jt.textQuality==Re.Wysiwyg&&!ee.isNullOrEmpty(Dt)&&Dt.stimulsoft.endsWith(Ie.StiForceWidthAlignTag)&&(Dt=Dt.substr(0,Dt.length-Ie.StiForceWidthAlignTag.length)),null!=Jt&&Jt.checkAllowHtmlTags()?Dt=xe.convertTextWithHtmlTagsToHtmlText(Jt,Dt,this.zoom):(null!=Jt&&StiOptions.Export.Html.forceWysiwygWordwrap&&!Jt.checkAllowHtmlTags()&&Jt.textQuality==Re.Wysiwyg&&null!=_t&&_t.textOptions.wordWrap,StiOptions.Export.Html.replaceSpecialCharacters&&(Dt=Dt.stimulsoft.replaceAll("&","&").stimulsoft.replaceAll('"',""").stimulsoft.replaceAll("<","<").stimulsoft.replaceAll(">",">").stimulsoft.replaceAll(" "," "))),Jt.vertAlignment==ye.Top?e.write(this.prepareTextForHtml(Dt)):(e.writeBeginTag(this.strSpanDiv+' style="'),e.writeStyleAttribute("overflow","hidden"),Jt.vertAlignment==ye.Center?e.writeStyleAttribute("align-items","center"):e.writeStyleAttribute("align-items","baseline"),e.writeStyleAttribute("max-width",this.getWidth(Jt)),e.writeStyleAttribute("height",this.getHeight(Jt)),this.renderTextHorAlignment(null,_t,Jt.horAlignment),this.renderVertAlignment(null,Jt.vertAlignment,_t,Jt.allowHtmlTags),e.write('">'),e.write(this.prepareTextForHtml(Dt)),e.writeEndTag(this.strSpanDiv))),Ot=!1):Mt&&(null!=Dt&&(null!=(Jt=H)&&Jt.textQuality==Re.Wysiwyg&&!ee.isNullOrEmpty(Dt)&&Dt.stimulsoft.endsWith(Ie.StiForceWidthAlignTag)&&(Dt=Dt.substr(0,Dt.length-Ie.StiForceWidthAlignTag.length)),null!=Jt&&Jt.checkAllowHtmlTags()?Dt=xe.convertTextWithHtmlTagsToHtmlText(Jt,Dt,this.zoom):StiOptions.Export.Html.replaceSpecialCharacters&&(Dt=Dt.stimulsoft.replaceAll("&","&").stimulsoft.replaceAll('"',""").stimulsoft.replaceAll("<","<").stimulsoft.replaceAll(">",">").stimulsoft.replaceAll(" "," ")),StiOptions.Export.Html.convertDigitsToArabic&&_t.textOptions.rightToLeft&&(Dt=qt.StiExportUtils.convertDigitsToArabic(Dt,StiOptions.Export.Html.arabicDigitsType)),Jt.vertAlignment==ye.Top?e.write(this.prepareTextForHtml(Dt)):(e.writeBeginTag(this.strSpanDiv+' style="'),e.writeStyleAttribute("display","table-cell"),e.writeStyleAttribute("max-width",this.getWidth(Jt)),_t.textOptions.trimming!=Fe.System.Drawing.StringTrimming.None&&(e.writeStyleAttribute("text-overflow","ellipsis"),e.writeStyleAttribute("overflow","hidden"),e.writeStyleAttribute("white-space","nowrap")),this.renderTextHorAlignment(null,_t,Jt.horAlignment),this.renderVertAlignment(null,Jt.vertAlignment),e.write('">'),e.write(this.prepareTextForHtml(Dt)),e.writeEndTag(this.strSpanDiv))),Ot=!1),kt&&(Ot&&e.write("<br>"),e.writeEndTag("a")),xt&&StiOptions.Export.Html.useWordWrapBreakWordMode&&e.writeEndTag(this.strSpanDiv)),e.writeEndTag(this.strSpanDiv),e.writeLine(""),Tt++}}}catch(t){B={error:t}}finally{try{Rt&&!Rt.done&&(I=Et.return)&&I.call(Et)}finally{if(B)throw B.error}}e.writeLine("\x3c!-- end page --\x3e"),this.startPage+=O.unit.convertToHInches(O.height)}}catch(t){v={error:t}}finally{try{It&&!It.done&&(w=Bt.return)&&w.call(Bt)}finally{if(v)throw v.error}}Fe.Base.vEIvF.JlKzR.RNAxU()||(Fe.Base.vEIvF.JlKzR.ZHIhL()||Fe.Base.vEIvF.JlKzR.LuQMU())&&Fe.System.NodeJs.isStandaloneVersion||!(0<n.count)||(Ct=ee.format("{3}{0}{2}{4}{1}",String.fromCharCode(114),String.fromCharCode(108),String.fromCharCode(105),String.fromCharCode(84),String.fromCharCode(97)),vt=n.getByIndex(0).unit.convertRectangleToHInches(n.getByIndex(0).clientRectangle),wt=Math.trunc(100*this.zoom),e.writeLine(ee.format('<div style="position: absolute; pointer-events: none; filter: alpha(Opacity=30); opacity: 0.3; -moz-opacity: 0.3; -khtml-opacity: 0.3; font-size: {1}px; font-weight: bold; width: {2}; margin-top: {3}; text-align: center; font-family: Arial; color: black; z-index: 9999; transform: rotate(-45deg); ">{4}</div>',this.strSpanDiv,wt,qt.StiHtmlUnit.newUnit(vt.width*this.zoom,StiOptions.Export.Html.printLayoutOptimization),qt.StiHtmlUnit.newUnit(vt.height*this.zoom/2-wt,StiOptions.Export.Html.printLayoutOptimization),Ct))),this.renderEndPage(),this.renderAsDocument&&this.renderChartScripts(),this.renderAsDocument&&this.renderGaugeScripts(),this.renderAsDocument&&this.renderMapsScripts(),this.renderAsDocument&&this.renderEndDoc()}if(E==qt.StiHtmlExportMode.Table){if(this.currentPassNumber=0,this.maximumPassNumber=3,this.tableRender=new qt.StiHtmlTableRender(this,r,n),this.isStopped)return;for(var st=new me,Wt=te.create2(Boolean,this.tableRender.matrix.coordY.countItems,this.tableRender.matrix.coordX.countItems),Vt=1;Vt<this.tableRender.matrix.coordY.countItems;Vt++)for(var zt=1;zt<this.tableRender.matrix.coordX.countItems;zt++)if(!Wt[Vt-1][zt-1]){var Xt=this.tableRender.matrix.cells[Vt-1][zt-1];if(null!=Xt){for(var Kt=0;Kt<=Xt.height;Kt++)for(var Zt=0;Zt<=Xt.width;Zt++)Wt[Vt-1+Kt][zt-1+Zt]=!0;if(null!=Xt.component){var dt=Xt.component.tagValue;if(!ee.isNullOrEmpty(dt))for(var gt=qt.StiMatrix.splitTag(dt),ft=0,St;ft<gt.length;ft++){if(gt[ft].toLowerCase().stimulsoft.startsWith("css"))if(1<(St=qt.StiMatrix.getStringsFromTag(gt[ft],3)).length){var yt=St[0].trim();st.set(yt,St[1].trim());break}}}}}for(var At=0,bt=0,Ct,vt,wt,O,Ct;bt<n.count;bt++){var O=n.getByIndex(bt);this.renderWatermarkImage(e,O,At),this.renderWatermarkText(e,O,At),At+=O.unit.convertRectangleToHInches(O.clientRectangle).height}this.renderAsDocument&&this.renderStartDoc(this.tableRender,!0,R,P,L,st,n,r.encoding),!this.renderAsDocument&&R&&this.renderBookmarkScript(),R&&(this.htmlWriter.writeBeginTag("table"),this.pageHorAlignment!=fe.Left&&this.htmlWriter.writeAttribute("width","100%"),StiOptions.Export.Html.useExtendedStyle&&this.htmlWriter.writeAttribute("class","sBaseStyleFix"),this.htmlWriter.write(">"),StiOptions.Export.Html.useExtendedStyle&&(e.writeBeginTag("tbody"),e.writeAttribute("class","sBaseStyleFix"),e.writeLine(">")),this.htmlWriter.writeBeginTag("tr"),StiOptions.Export.Html.useExtendedStyle&&this.htmlWriter.writeAttribute("class","sBaseStyleFix"),this.htmlWriter.write(">"),this.htmlWriter.writeBeginTag('td class="dtreeframe" style="'),this.htmlWriter.writeStyleAttribute("vertical-align","top"),this.renderBookmarkTree(t.bookmark,D,F),this.htmlWriter.writeEndTag("td"),this.htmlWriter.writeLine(),this.htmlWriter.writeBeginTag("td"),StiOptions.Export.Html.useExtendedStyle&&this.htmlWriter.writeAttribute("class","sBaseStyleFix"),this.htmlWriter.writeLine(">"),this.htmlWriter.indent++),Fe.Base.vEIvF.JlKzR.RNAxU()||(Fe.Base.vEIvF.JlKzR.ZHIhL()||Fe.Base.vEIvF.JlKzR.LuQMU())&&Fe.System.NodeJs.isStandaloneVersion||!(0<n.count)||(Ct=ee.format("{3}{0}{2}{4}{1}",String.fromCharCode(114),String.fromCharCode(108),String.fromCharCode(105),String.fromCharCode(84),String.fromCharCode(97)),vt=n.getByIndex(0).unit.convertRectangleToHInches(n.getByIndex(0).clientRectangle),wt=Math.trunc(100*this.zoom),e.writeLine(ee.format('<div style="position: absolute; pointer-events: none; filter: alpha(Opacity=30); opacity: 0.3; -moz-opacity: 0.3; -khtml-opacity: 0.3; font-size: {1}px; font-weight: bold; width: {2}; margin-top: {3}; text-align: center; font-family: Arial; color: black; z-index: 9999; transform: rotate(-45deg);">{4}</div>',this.strSpanDiv,wt,qt.StiHtmlUnit.newUnit(vt.width*this.zoom,StiOptions.Export.Html.printLayoutOptimization),qt.StiHtmlUnit.newUnit(vt.height*this.zoom/2-wt,StiOptions.Export.Html.printLayoutOptimization),Ct))),P||(Ct=null!=(O=0<n.count?n.getByIndex(0):null)&&null!=O.watermark&&((null!=O.watermark.image||!ee.isNullOrEmpty(O.watermark.imageHyperlink))&&O.watermark.showImageBehind||!ee.isNullOrEmpty(O.watermark.text)&&O.watermark.showBehind),this.tableRender.renderTable(!this.renderAsDocument&&this.renderStyles,null,R,P,st,Ct,O.border)),R&&(this.htmlWriter.indent--,this.htmlWriter.writeEndTag("td"),this.htmlWriter.writeEndTag("tr"),this.htmlWriter.writeEndTag("tbody"),this.htmlWriter.writeEndTag("table"),this.htmlWriter.writeLine()),this.renderAsDocument&&this.renderChartScripts(),this.renderAsDocument&&this.renderGaugeScripts(),this.renderAsDocument&&this.renderMapsScripts(),this.renderAsDocument&&this.renderEndDoc()}e.flush()}finally{t=null,this.clearOnFinish&&this.clear()}},xe.fontScale=new me,xe),i;function xe(){var t=i.call(this)||this;return t.renderedPagesCount=0,t.currentPassNumber=0,t.maximumPassNumber=0,t.multipleFiles=!1,t.clearOnFinish=!0,t.tableRender=null,t.htmlWriter=null,t.zip=null,t.fileName="",t.startPage=0,t.imageNumber=1,t.zoom=.75,t.useStylesTable=!0,t.isFileStreamMode=!0,t.imageQuality=.75,t.imageResolution=96,t.compressToArchive=!1,t.useEmbeddedImages=!1,t.openLinksTarget=null,t.chartType=qt.StiHtmlChartType.Image,t.strSpanDiv="span",t.hyperlinksToTag=null,t.chartData=new me,t.hashBookmarkGuid=null,t.renderStyles=!0,t.styles=null,t.insertInteractionParameters=!1,t.totalPageWidth=0,t.totalPageHeight=0,t.renderAsDocument=!0,t.removeEmptySpaceAtBottom=StiOptions.Export.Html.removeEmptySpaceAtBottom,t.pageHorAlignment=fe.Center,t}qt.StiHtmlExportService=t;var x=F;function F(){}qt.StiBookmarkTreeNode=x}(e=Ne.Export||(Ne.Export={}))}(Stimulsoft=Stimulsoft||{}),function(t){var e,A,r,b,C,v,n,i,o,t,a;function s(){var t=a.call(this)||this;return t.exportNameInMenu=o.get("Export","ExportTypeImageFile"),t.position=b.StiExportPosition.Image,t.multipleFiles=!0,t}A=e=t.Report||(t.Report={}),b=r=A.Export||(A.Export={}),C=t.System.StiString,v=t.System.Enum,n=t.Report.Dashboard.IStiDashboard,i=t.System.Type,o=t.Base.Localization.StiLocalization,a=b.StiExportService,__extends(s,a),Object.defineProperty(s.prototype,"defaultExtension",{get:function(){if(this.imageSettings.stimulsoft.is(b.StiSvgExportSettings)||this.imageSettings.imageType==b.StiImageType.Svg)return"svg";return"jpeg"},enumerable:!1,configurable:!0}),Object.defineProperty(s.prototype,"exportFormat",{get:function(){if(null!=this.imageSettings&&i.getType(this.imageSettings)==b.StiImageExportSettings)return A.StiExportFormat.Image;if(this.imageSettings.stimulsoft.is(b.StiSvgExportSettings)||this.imageSettings.imageType==b.StiImageType.Svg)return A.StiExportFormat.ImageSvg;return A.StiExportFormat.Image},enumerable:!1,configurable:!0}),Object.defineProperty(s.prototype,"groupCategory",{get:function(){return this.stimulsoft.is(b.StiSvgExportService)?"Meta":"Image"},enumerable:!1,configurable:!0}),s.prototype.getFilter=function(){if(this.imageSettings.stimulsoft.is(b.StiSvgExportSettings)||this.imageSettings.imageType==b.StiImageType.Svg)return o.get("FileFilters","SvgFiles");return o.get("FileFilters","JpegFiles")},s.prototype.exportTo=function(t,e,r){this.exportImage(t,e,r)},s.prototype.exportImage=function(t,e,r){if(null==r&&(r=this.getSettings()),r.getExportFormat()==A.StiExportFormat.ImagePng&&!t.isDocument&&t.getCurrentPage().stimulsoft.is(n))return;try{this.exportImage1(t,e,r)}finally{}},s.prototype.getSettings=function(){if(this.stimulsoft.is(b.StiSvgExportService))return new b.StiImageExportSettings(b.StiImageType.Svg);return new b.StiImageExportSettings(b.StiImageType.Jpeg)},s.prototype.exportImage1=function(t,e,r){var n,i;if(A.StiLogService.write(this.stimulsoft.getType(),C.format("Export report to {0} format ",v.getName(b.StiImageType,r.imageType))),null==r)throw new Error("The 'settings' argument cannot be equal in null.");var o=(this.imageSettings=r).pageRange,a=r.imageZoom,s=r.imageResolution,l=r.cutEdges,u=r.imageFormat,c=r.ditheringType,p=r.tiffCompressionScheme;this.multipleFiles=r.multipleFiles;var h=o.getSelectedPages(t.renderedPages),m="",d=1,g=r.imageType;g!=b.StiImageType.Emf||StiOptions.Engine.fullTrust||(g=b.StiImageType.Png);try{for(var f=__values(h.list),S=f.next();!S.done;S=f.next()){var y=S.value;if(h.getPage(y),this.invokeExporting(y,h,0,1),this.isStopped)return;g==b.StiImageType.Tiff&&!this.multipleFiles||g==b.StiImageType.Emf||g==b.StiImageType.Pcx||g==b.StiImageType.Bmp&&u==b.StiImageFormat.Monochrome||(g==b.StiImageType.Svg||g==b.StiImageType.Svgz?e.ref+=b.StiSvgHelper.saveToString(t,y,g==b.StiImageType.Svgz):g==b.StiImageType.Tiff&&b.StiTiffCompressionScheme.Default)}}catch(t){n={error:t}}finally{try{S&&!S.done&&(i=f.return)&&i.call(f)}finally{if(n)throw n.error}}},t=s,b.StiImageExportService=t}(Stimulsoft=Stimulsoft||{}),function(t){var e,r,n,i,o,a;function s(){var t=null!==a&&a.apply(this,arguments)||this;return t.exportNameInMenu=o.get("Export","ExportTypeSvgFile"),t}r=e=t.Report||(t.Report={}),i=n=r.Export||(r.Export={}),o=t.Base.Localization.StiLocalization,a=i.StiImageExportService,__extends(s,a),s.prototype.getFilter=function(){return o.get("FileFilters","SvgFiles")},r=s,i.StiSvgExportService=r}(Stimulsoft=Stimulsoft||{}),function(t){var e,r,n,i;r=e=t.Report||(t.Report={}),(i=n=r.Export||(r.Export={})).IStiExcel2007ExportService=new t.System.Interface("IStiExcel2007ExportService")}(Stimulsoft=Stimulsoft||{}),function(t){var e,r,n,i;r=e=t.Report||(t.Report={}),(i=n=r.Export||(r.Export={})).IStiExcelXmlExportService=new t.System.Interface("IStiExcelXmlExportService")}(Stimulsoft=Stimulsoft||{}),function(t){var e,r,n,i;r=e=t.Report||(t.Report={}),(i=n=r.Export||(r.Export={})).IStiPpt2007ExportService=new t.System.Interface("IStiPpt2007ExportService")}(Stimulsoft=Stimulsoft||{}),function(t){var e,r,n,i;r=e=t.Report||(t.Report={}),(i=n=r.Export||(r.Export={})).IStiWord2007ExportService=new t.System.Interface("IStiWord2007ExportService")}(Stimulsoft=Stimulsoft||{}),function(t){var e,r,n,i;r=e=t.Report||(t.Report={}),(i=n=r.Export||(r.Export={})).IStiPdfExportService=new t.System.Interface("IStiPdfExportService")}(Stimulsoft=Stimulsoft||{}),function(t){var e,r,n,i,o;function a(t,e,r,n){void 0===n&&(n=null),this.mimeType=null,this.name=t,this.description=e,this.data=r,o.isNullOrWhiteSpace(n)||(this.MIMEType=n)}r=e=t.Report||(t.Report={}),i=n=r.Export||(r.Export={}),o=t.System.StiString,Object.defineProperty(a.prototype,"MIMEType",{get:function(){if(!o.isNullOrWhiteSpace(this.mimeType))return this.mimeType;var t="text/plain",e=this.name.lastIndexOf("."),r;if(-1!=e)switch(this.name.substring(e+1)){case"xml":t="text/xml";break;case"htm":t="text/html";break;case"html":t="text/html";break;default:t="text/plain";break}return t.stimulsoft.replaceAll("/","#2F")},set:function(t){this.mimeType=t},enumerable:!1,configurable:!0}),r=a,i.StiPdfEmbeddedFileData=r}(Stimulsoft=Stimulsoft||{}),function(t){var e,r,n,i;r=e=t.Report||(t.Report={}),(i=n=r.Export||(r.Export={})).IStiOdsExportService=new t.System.Interface("IStiOdsExportService")}(Stimulsoft=Stimulsoft||{}),function(t){var e,r,n,i;r=e=t.Report||(t.Report={}),(i=n=r.Export||(r.Export={})).IStiOdtExportService=new t.System.Interface("IStiOdtExportService")}(Stimulsoft=Stimulsoft||{}),function(t){var e,r,n,i;r=e=t.Report||(t.Report={}),(i=n=r.Export||(r.Export={})).IStiTxtExportService=new t.System.Interface("IStiTxtExportService")}(Stimulsoft=Stimulsoft||{}),function(t){var e,r,n,i,t;function o(){}r=e=t.Report||(t.Report={}),i=n=r.Export||(r.Export={}),o.prototype.is=function(t){if("function"==typeof t)return this instanceof t;if(null==t)throw new Error("Type for comparison is 'undefined'");return!1},o.prototype.is2=function(t){return this.is(t)},o.prototype.as=function(t){if(this.is(t))return this;return null},o.prototype.getExportFormat=function(){return r.StiExportFormat.None},t=o,i.StiExportSettings=t}(Stimulsoft=Stimulsoft||{}),function(t){var e,r,n,i,t,o;function a(){var t=null!==o&&o.apply(this,arguments)||this;return t.pageRange=new r.StiPagesRange,t}r=e=t.Report||(t.Report={}),i=n=r.Export||(r.Export={}),o=i.StiExportSettings,__extends(a,o),t=a,i.StiPageRangeExportSettings=t}(Stimulsoft=Stimulsoft||{}),function(t){var e,r,n,i,o,t,a;function s(t){void 0===t&&(t=i.StiDataType.Csv);var e=a.call(this)||this;return e.dataType=i.StiDataType.Csv,e.dataExportMode=i.StiDataExportMode.Data,e.exportDataOnly=!1,e.codePage=i.StiDbfCodePages.Default,e.skipColumnHeaders=!1,e.useDefaultSystemEncoding=!0,e.dataType=t,e.encoding=o.UTF8,e.separator=";",e}r=e=t.Report||(t.Report={}),i=n=r.Export||(r.Export={}),o=t.System.Text.Encoding,a=i.StiPageRangeExportSettings,__extends(s,a),s.prototype.getExportFormat=function(){if(this.dataType==i.StiDataType.Dbf)return r.StiExportFormat.Dbf;if(this.dataType==i.StiDataType.Dif)return r.StiExportFormat.Dif;if(this.dataType==i.StiDataType.Sylk)return r.StiExportFormat.Sylk;if(this.dataType==i.StiDataType.Xml)return r.StiExportFormat.Xml;return r.StiExportFormat.Csv},t=s,i.StiDataExportSettings=t}(Stimulsoft=Stimulsoft||{}),function(t){var e,t,r,n,i;function o(){return i.call(this,n.StiDataType.Csv)||this}t=e=t.Report||(t.Report={}),n=r=t.Export||(t.Export={}),i=n.StiDataExportSettings,__extends(o,i),t=o,n.StiCsvExportSettings=t}(Stimulsoft=Stimulsoft||{}),function(t){var e,r,n,i,o,a,t,s;function l(t){void 0===t&&(t=i.StiHtmlType.Html);var e=s.call(this)||this;return e.htmlType=i.StiHtmlType.Html,e.imageQuality=.75,e.imageResolution=100,e.encoding=o.Default,e.zoom=1,e.exportMode=i.StiHtmlExportMode.Table,e.exportQuality=i.StiHtmlExportQuality.High,e.addPageBreaks=!0,e.bookmarksTreeWidth=150,e.exportBookmarksMode=i.StiHtmlExportBookmarksMode.All,e.useStylesTable=!0,e.removeEmptySpaceAtBottom=StiOptions.Export.Html.removeEmptySpaceAtBottom,e.pageHorAlignment=a.Left,e.compressToArchive=!1,e.useEmbeddedImages=!1,e.continuousPages=!0,e.chartType=i.StiHtmlChartType.AnimatedVector,e.openLinksTarget=null,e.useWatermarkMargins=!1,e.htmlType=t,e.encoding=o.UTF8,e.imageFormat=r.ImageFormat.Png,e}r=e=t.Report||(t.Report={}),i=n=r.Export||(r.Export={}),o=t.System.Text.Encoding,a=t.Base.Drawing.StiHorAlignment,s=i.StiPageRangeExportSettings,__extends(l,s),l.prototype.getExportFormat=function(){if(this.htmlType==i.StiHtmlType.Html5)return r.StiExportFormat.Html5;if(this.htmlType==i.StiHtmlType.Mht)return r.StiExportFormat.Mht;return r.StiExportFormat.Html},t=l,i.StiHtmlExportSettings=t}(Stimulsoft=Stimulsoft||{}),function(t){var e,t,r,n,i;function o(){return i.call(this,n.StiHtmlType.Html5)||this}t=e=t.Report||(t.Report={}),n=r=t.Export||(t.Export={}),i=n.StiHtmlExportSettings,__extends(o,i),t=o,n.StiHtml5ExportSettings=t}(Stimulsoft=Stimulsoft||{}),function(t){var e,r,n,i,o,a,s,l,u,c;function p(t){void 0===t&&(t=u.Jpeg);var e=c.call(this)||this;return e.imageZoom=1,e.imageResolution=100,e.cutEdges=!1,e.imageFormat=s.Color,e.multipleFiles=!1,e.ditheringType=l.FloydSteinberg,e.tiffCompressionScheme=o.Default,e.imageType=t,e}r=e=t.Report||(t.Report={}),i=n=r.Export||(r.Export={}),o=t.Report.Export.StiTiffCompressionScheme,r=t.Report.Export.StiPageRangeExportSettings,a=t.Report.StiExportFormat,s=t.Report.Export.StiImageFormat,l=t.Report.Export.StiMonochromeDitheringType,u=t.Report.Export.StiImageType,__extends(p,c=r),p.prototype.getExportFormat=function(){switch(this.imageType){case u.Bmp:return a.ImageBmp;case u.Emf:return a.ImageEmf;case u.Gif:return a.ImageGif;case u.Jpeg:return a.ImageJpeg;case u.Pcx:return a.ImagePcx;case u.Png:return a.ImagePng;case u.Svg:return a.ImageSvg;case u.Svgz:return a.ImageSvgz;default:return a.ImageTiff}},r=p,i.StiImageExportSettings=r}(Stimulsoft=Stimulsoft||{}),function(t){var e,t,r,n,i;function o(){return i.call(this,n.StiImageType.Svg)||this}t=e=t.Report||(t.Report={}),n=r=t.Export||(t.Export={}),i=n.StiImageExportSettings,__extends(o,i),t=o,n.StiSvgExportSettings=t}(Stimulsoft=Stimulsoft||{}),function(t){var e,r,n,i,t,o;function a(t){void 0===t&&(t=i.StiExcelType.ExcelBinary);var e=o.call(this)||this;return e.excelType=i.StiExcelType.ExcelBinary,e.useOnePageHeaderAndFooter=!1,e.exportDataOnly=!1,e.exportPageBreaks=!1,e.exportObjectFormatting=!0,e.exportEachPageToSheet=!1,e.imageQuality=.75,e.imageResolution=100,e.companyString=i.StiExportUtils.getReportVersion(),e.lastModifiedString=i.StiExportUtils.getReportVersion(),e.restrictEditing=i.StiExcel2007RestrictEditing.No,e.excelType=t,e}r=e=t.Report||(t.Report={}),i=n=r.Export||(r.Export={}),o=i.StiPageRangeExportSettings,__extends(a,o),a.prototype.getExportFormat=function(){if(this.excelType==i.StiExcelType.ExcelXml)return r.StiExportFormat.ExcelXml;if(this.excelType==i.StiExcelType.Excel2007)return r.StiExportFormat.Excel2007;return r.StiExportFormat.Excel},t=a,i.StiExcelExportSettings=t}(Stimulsoft=Stimulsoft||{}),function(t){var e,t,r,n,i;function o(){return i.call(this,n.StiExcelType.Excel2007)||this}t=e=t.Report||(t.Report={}),n=r=t.Export||(t.Export={}),i=n.StiExcelExportSettings,__extends(o,i),t=o,n.StiExcel2007ExportSettings=t}(Stimulsoft=Stimulsoft||{}),function(t){var e,r,n,i,t,o;function a(){var t=null!==o&&o.apply(this,arguments)||this;return t.imageQuality=.75,t.imageResolution=100,t}r=e=t.Report||(t.Report={}),i=n=r.Export||(r.Export={}),o=i.StiPageRangeExportSettings,__extends(a,o),a.prototype.getExportFormat=function(){return r.StiExportFormat.Ppt2007},t=a,i.StiPpt2007ExportSettings=t}(Stimulsoft=Stimulsoft||{}),function(e){var t,r,n,i,o,a;function s(){var t=null!==a&&a.apply(this,arguments)||this;return t.usePageHeadersAndFooters=!1,t.imageQuality=.75,t.imageResolution=100,t.removeEmptySpaceAtBottom=StiOptions.Export.Word.removeEmptySpaceAtBottom,t.companyString=e.Report.Export.StiExportUtils.getReportVersion(),t.lastModifiedString=e.Report.Export.StiExportUtils.getReportVersion(),t.restrictEditing=i.StiWord2007RestrictEditing.No,t}r=t=e.Report||(e.Report={}),i=n=r.Export||(r.Export={}),a=i.StiPageRangeExportSettings,__extends(s,a),s.prototype.getExportFormat=function(){return r.StiExportFormat.Word2007},o=s,i.StiWord2007ExportSettings=o}(Stimulsoft=Stimulsoft||{}),function(t){var e,r,n,i,t,o;function a(){var t=null!==o&&o.apply(this,arguments)||this;return t.imageQuality=.75,t.imageResolution=100,t}r=e=t.Report||(t.Report={}),i=n=r.Export||(r.Export={}),o=i.StiPageRangeExportSettings,__extends(a,o),a.prototype.getExportFormat=function(){return r.StiExportFormat.Ods},t=a,i.StiOdsExportSettings=t}(Stimulsoft=Stimulsoft||{}),function(t){var e,r,n,i,t,o;function a(){var t=null!==o&&o.apply(this,arguments)||this;return t.usePageHeadersAndFooters=!1,t.imageQuality=.75,t.imageResolution=100,t.removeEmptySpaceAtBottom=StiOptions.Export.OpenDocumentWriter.removeEmptySpaceAtBottom,t}r=e=t.Report||(t.Report={}),i=n=r.Export||(r.Export={}),o=i.StiPageRangeExportSettings,__extends(a,o),a.prototype.getExportFormat=function(){return r.StiExportFormat.Odt},t=a,i.StiOdtExportSettings=t}(Stimulsoft=Stimulsoft||{}),function(t){var e,r,n,i,o,t,a;function s(){var t=null!==a&&a.apply(this,arguments)||this;return t.imageQuality=0,t.imageResolution=1,t.imageResolutionMode=i.StiImageResolutionMode.Auto,t.embeddedFonts=!0,t.standardPdfFonts=!1,t.compressed=!0,t.useUnicode=!1,t.useDigitalSignature=!1,t.getCertificateFromCryptoUI=!0,t.exportRtfTextAsImage=!1,t.passwordInputUser="",t.passwordInputOwner="",t.userAccessPrivileges=i.StiUserAccessPrivileges.All,t.keyLength=i.StiPdfEncryptionKeyLength.Bit40,t.creatorString="",t.keywordsString="",t.imageCompressionMethod=i.StiPdfImageCompressionMethod.Jpeg,t.imageIndexedColorPaletteSize=96,t.imageFormat=i.StiImageFormat.Color,t.ditheringType=i.StiMonochromeDitheringType.FloydSteinberg,t.pdfComplianceMode=i.StiPdfComplianceMode.None,t.autoPrintMode=StiOptions.Export.Pdf.defaultAutoPrintMode,t.allowEditable=i.StiPdfAllowEditable.No,t.embeddedFiles=new o,t.ZUGFeRDComplianceMode=i.StiPdfZUGFeRDComplianceMode.None,t.ZUGFeRDConformanceLevel="BASIC",t.ZUGFeRDInvoiceData=null,t}r=e=t.Report||(t.Report={}),i=n=r.Export||(r.Export={}),o=t.System.Collections.List,a=i.StiPageRangeExportSettings,__extends(s,a),s.prototype.getExportFormat=function(){return r.StiExportFormat.Pdf},Object.defineProperty(s.prototype,"pdfACompliance",{get:function(){return this.pdfComplianceMode!=i.StiPdfComplianceMode.None},set:function(t){this.pdfComplianceMode=t?i.StiPdfComplianceMode.A1:i.StiPdfComplianceMode.None},enumerable:!1,configurable:!0}),t=s,i.StiPdfExportSettings=t}(Stimulsoft=Stimulsoft||{}),function(t){var e,r,n,i,o,t,a;function s(){var t=null!==a&&a.apply(this,arguments)||this;return t.encoding=o.UTF8,t.drawBorder=!0,t.borderType=i.StiTxtBorderType.UnicodeSingle,t.killSpaceLines=!0,t.killSpaceGraphLines=!0,t.putFeedPageCode=!0,t.cutLongLines=!0,t.zoomX=1,t.zoomY=1,t.useEscapeCodes=!1,t.escapeCodesCollectionName="",t}r=e=t.Report||(t.Report={}),i=n=r.Export||(r.Export={}),o=t.System.Text.Encoding,a=i.StiPageRangeExportSettings,__extends(s,a),s.prototype.getExportFormat=function(){return r.StiExportFormat.Text},t=s,i.StiTxtExportSettings=t}(Stimulsoft=Stimulsoft||{}),function(t){var e,r,n,i,s,l,u;function o(t){this.geomWriter=null,this.geomWriter=t}r=e=t.Report||(t.Report={}),i=n=r.Export||(r.Export={}),s=t.Base.Drawing.StiBrush,l=t.System.Drawing.Rectangle,u=t.System.Drawing.Pen,o.prototype.baseTransform=function(t,e,r,n,i,o){this.geomWriter.translateTransform(e,r),this.geomWriter.rotateTransform(n),this.geomWriter.translateTransform(i,o)},o.prototype.baseRollbackTransform=function(t){var e;this.geomWriter.stimulsoft.is(i.StiSvgGeomWriter)&&((e=this.geomWriter.stimulsoft.as(i.StiSvgGeomWriter)).endTransform(),e.endTransform(),e.endTransform())},o.prototype.baseFillRectangle=function(t,e,r,n,i,o){var o=new l(r,n,i,o);this.geomWriter.fillRectangle(o,e)},o.prototype.baseFillRectangle2D=function(t,e,r,n,i,o){var o=new l(r,n,i,o);this.geomWriter.fillRectangle(o,e)},o.prototype.baseFillPolygon=function(t,e,r){this.geomWriter.fillPolygon(r,e)},o.prototype.baseFillEllipse=function(t,e,r,n,i,o){this.geomWriter.fillEllipse(new l(r,n,i,o),e)},o.prototype.baseDrawRectangle=function(t,e,r,n,i,o,a){var a=new l(n,i,o,a);this.geomWriter.drawRectangle(a,new u(e))},o.prototype.baseDrawImage=function(t,e,r,n,i,o,a){var a;null!=e&&(a=new l(n,i,o,a),this.geomWriter.drawImage(e,a))},o.prototype.baseDrawString=function(t,e,r,n,i,o){var a=s.getBrush(n,i);this.geomWriter.drawString(e,r,n,i,o)},o.prototype.baseMeasureString=function(t,e,r){return this.geomWriter.measureString(e,r)},o.createNew=function(t){var e=new o(null);return e.geomWriter=t,e},r=o,i.StiBarCodeExportPainter=r}(Stimulsoft=Stimulsoft||{}),function(f){var t,e,r,S,o,a,y;function A(t){var e,e;if(void 0===t&&(t=!0),this.arabicTableSize=76+21,this.ligaturesTableSize=8+32,this.stSeparator="./:\\,-",this.modePdf=!0,this.modePdf=t,null==A.arabicTable&&(e=[[1569,1,65152,0,0,0],[1570,2,65153,65154,0,0],[1571,2,65155,65156,0,0],[1572,2,65157,65158,0,0],[1573,2,65159,65160,0,0],[1574,3,65161,65162,65163,65164],[1575,2,65165,65166,0,0],[1576,3,65167,65168,65169,65170],[1577,2,65171,65172,0,0],[1578,3,65173,65174,65175,65176],[1579,3,65177,65178,65179,65180],[1580,3,65181,65182,65183,65184],[1581,3,65185,65186,65187,65188],[1582,3,65189,65190,65191,65192],[1583,2,65193,65194,0,0],[1584,2,65195,65196,0,0],[1585,2,65197,65198,0,0],[1586,2,65199,65200,0,0],[1587,3,65201,65202,65203,65204],[1588,3,65205,65206,65207,65208],[1589,3,65209,65210,65211,65212],[1590,3,65213,65214,65215,65216],[1591,3,65217,65218,65219,65220],[1592,3,65221,65222,65223,65224],[1593,3,65225,65226,65227,65228],[1594,3,65229,65230,65231,65232],[1601,3,65233,65234,65235,65236],[1602,3,65237,65238,65239,65240],[1603,3,65241,65242,65243,65244],[1604,3,65245,65246,65247,65248],[1605,3,65249,65250,65251,65252],[1606,3,65253,65254,65255,65256],[1607,3,65257,65258,65259,65260],[1608,2,65261,65262,0,0],[1609,3,65263,65264,64488,64489],[1610,3,65265,65266,65267,65268],[1649,2,64336,64337,0,0],[1655,2,64477,1655,0,0],[1657,3,64358,64359,64360,64361],[1658,3,64350,64351,64352,64353],[1659,3,64338,64339,64340,64341],[1662,3,64342,64343,64344,64345],[1663,3,64354,64355,64356,64357],[1664,3,64346,64347,64348,64349],[1667,3,64374,64375,64376,64377],[1668,3,64370,64371,64372,64373],[1670,3,64378,64379,64380,64381],[1671,3,64382,64383,64384,64385],[1672,2,64392,64393,0,0],[1676,2,64388,64389,0,0],[1677,2,64386,64387,0,0],[1678,2,64390,64391,0,0],[1681,2,64396,64397,0,0],[1688,2,64394,64395,0,0],[1700,3,64362,64363,64364,64365],[1702,3,64366,64367,64368,64369],[1705,3,64398,64399,64400,64401],[1709,3,64467,64468,64469,64470],[1711,3,64402,64403,64404,64405],[1713,3,64410,64411,64412,64413],[1715,3,64406,64407,64408,64409],[1722,2,64414,64415,0,0],[1723,3,64416,64417,64418,64419],[1726,3,64426,64427,64428,64429],[1728,2,64420,64421,0,0],[1729,3,64422,64423,64424,64425],[1733,2,64480,64481,0,0],[1734,2,64473,64474,0,0],[1735,2,64471,64472,0,0],[1736,2,64475,64476,0,0],[1737,2,64482,64483,0,0],[1739,2,64478,64479,0,0],[1740,3,64508,64509,64510,64511],[1744,3,64484,64485,64486,64487],[1746,2,64430,64431,0,0],[1747,2,64432,64433,0,0],[1611,3,1611,1611,1611,1611],[1612,3,1612,1612,1612,1612],[1613,3,1613,1613,1613,1613],[1614,3,1614,1614,1614,1614],[1615,3,1615,1615,1615,1615],[1616,3,1616,1616,1616,1616],[1617,3,1617,1617,1617,1617],[1618,3,1618,1618,1618,1618],[1619,3,1619,1619,1619,1619],[1620,3,1620,1620,1620,1620],[1621,3,1621,1621,1621,1621],[1622,3,1622,1622,1622,1622],[1623,3,1623,1623,1623,1623],[1624,3,1624,1624,1624,1624],[1625,3,1625,1625,1625,1625],[1626,3,1626,1626,1626,1626],[1627,3,1627,1627,1627,1627],[1628,3,1628,1628,1628,1628],[1629,3,1629,1629,1629,1629],[1630,3,1630,1630,1630,1630],[1631,3,1631,1631,1631,1631]],A.arabicTable=e),null==A.ligaturesTable&&(e=[["ﻟﺂ","ﻵ"],["ﻠﺂ","ﻶ"],["ﻟﺄ","ﻷ"],["ﻠﺄ","ﻸ"],["ﻟﺈ","ﻹ"],["ﻠﺈ","ﻺ"],["ﻟﺎ","ﻻ"],["ﻠﺎ","ﻼ"],["שׁ","שׁ"],["שׂ","שׂ"],["שּׁ","שּׁ"],["שּׂ","שּׂ"],["אַ","אַ"],["אָ","אָ"],["אּ","אּ"],["בּ","בּ"],["גּ","גּ"],["דּ","דּ"],["הּ","הּ"],["וּ","וּ"],["זּ","זּ"],["טּ","טּ"],["יּ","יּ"],["ךּ","ךּ"],["כּ","כּ"],["לּ","לּ"],["מּ","מּ"],["נּ","נּ"],["סּ","סּ"],["ףּ","ףּ"],["פּ","פּ"],["צּ","צּ"],["קּ","קּ"],["רּ","רּ"],["שּ","שּ"],["תּ","תּ"],["וֹ","וֹ"],["בֿ","בֿ"],["כֿ","כֿ"],["פֿ","פֿ"],["אל","ﭏ"]],A.ligaturesTable=e),null==A.arabicTableArray){for(var r=o.create2(Number,65536,5),n=0;n<this.arabicTableSize;n++){var i=A.arabicTable[n][0];r[i][0]=A.arabicTable[n][1],r[i][1]=A.arabicTable[n][2],r[i][2]=A.arabicTable[n][3],r[i][3]=A.arabicTable[n][4],r[i][4]=A.arabicTable[n][5]}for(var n=1424;n<=1535;n++)r[n][0]=1,r[n][1]=n;for(var n=64285;n<=64335;n++)r[n][0]=1,r[n][1]=n;A.arabicTableArray=r}}e=t=f.Report||(f.Report={}),S=r=e.Export||(e.Export={}),o=f.System.StiArray,a=f.System.StiString,y=f.System.Text.StringBuilder,A.prototype.convert=function(t,e){var r=new y;if(0<t.length){if(e){var n=0,i=new y;if(f.System.Char.isDigit(t.charAt(0))){var o=new y,a=0;while(a<t.length&&(f.System.Char.isDigit(t.charAt(a))||-1!=this.stSeparator.indexOf(t.charAt(a))))o.append(t.charAt(a)),a++;"."==t.charAt(a-1)&&(o.length--,o.insert(0,"."));while(a<t.length&&(32==t.charCodeAt(a)||160==t.charCodeAt(a)))a++,r.insert(0," ");r.append(o),n=a}while(n<t.length){var s=t.charCodeAt(n);if(A.symbolIsArabicOrHebrew(s)||this.symbolIsRTLMark(s)){if(!this.symbolIsRTLMark(s)){var l=i.length,u=-1,c=-1;while(0<n&&0<l&&(32<=t.charCodeAt(n-1)&&t.charCodeAt(n-1)<=64||91<=t.charCodeAt(n-1)&&t.charCodeAt(n-1)<=96||123<=t.charCodeAt(n-1)&&t.charCodeAt(n-1)<=126||160==t.charCodeAt(n-1)))n--,l--,32!=t.charCodeAt(n)&&160!=t.charCodeAt(n)||(u=n,c=l);-1!=u&&(n=u,l=c),i.length=l}var p=n,h=p,m=p;s=t.charCodeAt(n);while(!this.symbolIsLTRMark(s)&&(A.symbolIsArabicOrHebrew(s)||32<=s&&s<=64||91<=s&&s<=96||123<=s&&s<=126||160==s||8192<=s&&s<=8303))A.symbolIsArabicOrHebrew(s)&&(m=n),f.System.Char.isWhitespace(String.fromCharCode(s))&&(h=n),s=++n<t.length?t.charCodeAt(n):0;var d=n;m<h&&(d=h+1);var g=new y;for(n=p;n<d;n++)s=t.charCodeAt(n),this.symbolIsBidiMark(s)||g.append(t.charAt(n));n--,r.insert(0,i.toString()),r.insert(0,this.convertArabic(g)),i=new y}else this.symbolIsBidiMark(s)||i.append(String.fromCharCode(s));n++}r.insert(0,i.toString())}else{var n=0;while(n<t.length){var s=t.charCodeAt(n);if(A.symbolIsArabicOrHebrew(s)&&!f.System.Char.isDigit(String.fromCharCode(s))){var g=new y;while(A.symbolIsArabicOrHebrew(s)||32<=s&&s<=64||91<=s&&s<=96||123<=s&&s<=126||160==s||8192<=s&&s<=8303)this.symbolIsBidiMark(s)||g.append(t.charAt(n)),s=++n<t.length?t.charCodeAt(n):0;n--;while(32==t.charCodeAt(n)||160==t.charCodeAt(n))n--,g.length--;r.append(this.convertArabic(g))}else this.symbolIsBidiMark(s)||r.append(String.fromCharCode(s));n++}}if(this.modePdf&&StiOptions.Export.Pdf.convertDigitsToArabic&&e)return new y(S.StiExportUtils.convertDigitsToArabic(r.toString(),StiOptions.Export.Pdf.arabicDigitsType));this.modePdf}return r},A.prototype.convertArabic=function(t){var e=new y,r=0,n;while(r<t.length){switch(A.arabicTableArray[t.charCodeAt(r)][0]){case 3:var i=new y;i.append(t.charAt(r));while(r+1<t.length&&3==A.arabicTableArray[t.charCodeAt(r+1)][0])r++,i.append(t.charAt(r));if(r+1<t.length&&2==A.arabicTableArray[t.charCodeAt(r+1)][0]&&(r++,i.append(t.charAt(r))),1==i.length)e.append(String.fromCharCode(A.arabicTableArray[i.charCodeAt(0)][1]));else{if(e.append(String.fromCharCode(A.arabicTableArray[i.charCodeAt(0)][3])),2<i.length)for(var o=1;o<i.length-1;o++)e.append(String.fromCharCode(A.arabicTableArray[i.charCodeAt(o)][4]));e.append(String.fromCharCode(A.arabicTableArray[i.charCodeAt(i.length-1)][2]))}break;case 2:case 1:e.append(String.fromCharCode(A.arabicTableArray[t.charCodeAt(r)][1]));break;default:e.append(t.charAt(r));break}r++}for(var a=new y,a=e,s=0;s<this.ligaturesTableSize;s++)a=a.replace(A.ligaturesTable[s][0],A.ligaturesTable[s][1]);var l=new y,u=a.length-1;while(0<=u){var c=a.charAt(u);switch(c){case"(":c=")";break;case")":c="(";break;case"[":c="]";break;case"]":c="[";break;case"{":c="}";break;case"}":c="{";break}if(f.System.Char.isDigit(c)){var p=u;while(0<p&&this.symbolIsDigitOrDelimiter(a.charCodeAt(p-1)))p--;for(var h=p;h<=u;h++)l.append(a.charAt(h));u=p}else l.append(c);u--}return l.toString()},A.prototype.symbolIsDigitOrDelimiter=function(t){return f.System.Char.isDigit(String.fromCharCode(t))||46==t||47==t||58==t||92==t||44==t||45==t},A.symbolIsArabicOrHebrew=function(t){return 1536<=t&&t<=1791||1424<=t&&t<=1535||64285<=t&&t<=64335||64336<=t&&t<=65023||65136<=t&&t<=65279},A.stringContainArabicOrHebrew=function(t){var e,r;if(a.isNullOrWhiteSpace(t))return!1;try{for(var n=__values(t.split("")),i=n.next();!i.done;i=n.next()){var o=i.value;if(this.symbolIsArabicOrHebrew(o.charCodeAt(0)))return!0}}catch(t){e={error:t}}finally{try{i&&!i.done&&(r=n.return)&&r.call(n)}finally{if(e)throw e.error}}return!1},A.prototype.symbolIsBidiMark=function(t){return 8206==t||8207==t||8234<=t&&t<=8238},A.prototype.symbolIsLTRMark=function(t){return 8206==t||8234==t||8237==t},A.prototype.symbolIsRTLMark=function(t){return 8207==t||8235==t||8238==t},A.prototype.clear=function(){A.arabicTable=null,A.ligaturesTable=null,A.arabicTableArray=null},A.ligaturesTable=null,A.arabicTable=null,A.arabicTableArray=null,e=A,S.StiBidirectionalConvert=e}(Stimulsoft=Stimulsoft||{}),function(t){var e,r,n,i,o,a,s,t;function l(t){void 0===t&&(t=r.StiExportFormat.None),this._exportFormat=r.StiExportFormat.None,this._exportImage=null,this.left=0,this.top=0,this.width=0,this._height=0,this.text="",this._exportFormat=t}r=e=t.Report||(t.Report={}),i=n=r.Export||(r.Export={}),o=t.Report.Components.IStiTextOptions,a=t.Report.Components.IStiExportImage,s=t.Report.Components.IStiExportImageExtended,l.prototype.clone=function(){var t;return this.stimulsoft.memberwiseClone()},l.prototype.forceExportAsImage=function(t){var t=t.stimulsoft.as(o);return null!=t&&0!=t.textOptions.angle},Object.defineProperty(l.prototype,"exportFormat",{get:function(){return this._exportFormat},set:function(t){this._exportFormat=t},enumerable:!1,configurable:!0}),Object.defineProperty(l.prototype,"component",{get:function(){return this._component},set:function(t){this._component=t,this._exportImage=t.stimulsoft.as(a),null!=this._exportImage&&this._exportImage.stimulsoft.is(s)&&(this._exportImage.isExportAsImage(this._exportFormat)||this.forceExportAsImage(t)||(this._exportImage=null))},enumerable:!1,configurable:!0}),Object.defineProperty(l.prototype,"exportImage",{get:function(){return this._exportImage},set:function(t){this._exportImage=t},enumerable:!1,configurable:!0}),Object.defineProperty(l.prototype,"height",{get:function(){return this._height},set:function(t){this._height=Math.max(t,0)},enumerable:!1,configurable:!0}),t=l,i.StiCell=t}(Stimulsoft=Stimulsoft||{}),function(t){var e,r,n,i,o,t;function w(t,e,r,n,i,o,a,s,l,u,c,p,h,m,d,g){void 0===d&&(d=!0),void 0===g&&(g=0),this.absolutePosition=!1,this.overflow=!0,this.borderRadius=0,this.lineSpacing=1,this._internalStyleName=null,this._styleName=null,this.color=t,this.textColor=e,this.font=r,this.horAlignment=n,this.vertAlignment=i,this.border=o,this.borderL=a,this.borderR=s,this.borderB=l,this.textOptions=u,this.wordWrap=c,this.internalStyleName=m,this.format=p,this.overflow=d,this.borderRadius=g,this.lineSpacing=h}r=e=t.Report||(t.Report={}),i=n=r.Export||(r.Export={}),o=t.System.Guid,w.prototype.clone=function(){var t=this.stimulsoft.memberwiseClone();return t.horAlignment=this.horAlignment,t.vertAlignment=this.vertAlignment,null!=this.border&&(t.border=this.border.clone()),null!=this.borderL&&(t.borderL=this.borderL.clone()),null!=this.borderR&&(t.borderR=this.borderR.clone()),null!=this.borderB&&(t.borderB=this.borderB.clone()),null!=this.font&&(t.font=this.font.clone()),null!=this.textOptions&&(t.textOptions=this.textOptions.clone()),t.horAlignment=this.horAlignment,t.lineSpacing=this.lineSpacing,t.overflow=this.overflow,t.borderRadius=this.borderRadius,t},w.prototype.getHashCode=function(){var t=null!=this.border?this.border.stimulsoft.getHashCode():0,t;return t=397*(t=397*(t=397*(t=397*(t=397*(t=397*(t=397*(t=397*(t=397*(t=397*(t=397*(t=397*(t=397*(t=397*t^(null!=this.borderL?this.borderL.stimulsoft.getHashCode():0))^(null!=this.borderR?this.borderR.stimulsoft.getHashCode():0))^(null!=this.borderB?this.borderB.stimulsoft.getHashCode():0))^this.color.stimulsoft.getHashCode())^(null!=this.font?this.font.stimulsoft.getHashCode():0))^this.horAlignment)^this.vertAlignment)^(null!=this.textOptions?this.textOptions.stimulsoft.getHashCode():0))^this.textColor.stimulsoft.getHashCode())^this.wordWrap.stimulsoft.getHashCode())^(null!=this.format?this.format.stimulsoft.getHashCode():0))^(null!=this._internalStyleName?this._internalStyleName.stimulsoft.getHashCode():0))^this.format.stimulsoft.getHashCode())^this.lineSpacing.stimulsoft.getHashCode(),Math.abs(t)},w.prototype.equals=function(t){var t=t.stimulsoft.as(w);if(!this.color.equals(t.color))return!1;if(this.horAlignment!=t.horAlignment)return!1;if(this.vertAlignment!=t.vertAlignment)return!1;if(!this.textColor.equals(t.textColor))return!1;if(this.wordWrap!=t.wordWrap)return!1;if(this.font.bold!=t.font.bold)return!1;if(this.font.italic!=t.font.italic)return!1;if(this.font.strikeout!=t.font.strikeout)return!1;if(this.font.underline!=t.font.underline)return!1;if(this.font.size!=t.font.size)return!1;if(this.font.name!=t.font.name)return!1;if(null==this.textOptions){if(null!=t.textOptions)return!1}else{if(null==t.textOptions)return!1;if(this.textOptions.angle!=t.textOptions.angle)return!1;if(this.textOptions.wordWrap!=t.textOptions.wordWrap)return!1;if(this.textOptions.rightToLeft!=t.textOptions.rightToLeft)return!1}if(null==this.border){if(null!=t.border)return!1}else{if(null==t.border)return!1;if(this.border.color.equals(t.border.color))return!1;if(this.border.size!=t.border.size)return!1;if(this.border.style!=t.border.style)return!1}if(null==this.borderL){if(null!=t.borderL)return!1}else{if(null==t.borderL)return!1;if(!this.borderL.color.equals(t.borderL.color))return!1;if(this.borderL.size!=t.borderL.size)return!1;if(this.borderL.style!=t.borderL.style)return!1}if(null==this.borderR){if(null!=t.borderR)return!1}else{if(null==t.borderR)return!1;if(!this.borderR.color.equals(t.borderR.color))return!1;if(this.borderR.size!=t.borderR.size)return!1;if(this.borderR.style!=t.borderR.style)return!1}if(null==this.borderB){if(null!=t.borderB)return!1}else{if(null==t.borderB)return!1;if(!this.borderB.color.equals(t.borderB.color))return!1;if(this.borderB.size!=t.borderB.size)return!1;if(this.borderB.style!=t.borderB.style)return!1}if(this.format!=t.format)return!1;if(this.internalStyleName!=t.internalStyleName)return!1;if(this.lineSpacing!=t.lineSpacing)return!1;if(this.overflow!=t.overflow)return!1;if(this.borderRadius!=t.borderRadius)return!1;return!0},w.getStyleFromCache=function(t,e,r,n,i,o,a,s,l,u,c,p,h,m,d,g,f,S,y,A,b){var C=0,v;if(null!=r&&(null==(v=f.get(r))?(C=397*(C=397*(C=397*(C=397*(C=397*(C=r.bold?1231:1237)^(r.italic?1231:1237))^(r.strikeout?1231:1237))^(r.underline?1231:1237))^r.size.stimulsoft.getHashCode())^r.name.stimulsoft.getHashCode(),f.add(r,C)):C=v.stimulsoft.as(Number)),C=397*(C=397*(C=397*(C=397*(C=397*(C=397*(C=397*(C=397*(C=397*(C=397*(C=397*(C=397*(C=397*(C=397*(C=397*C^(null!=o?o.stimulsoft.getHashCode():0))^(null!=a?a.stimulsoft.getHashCode():0))^(null!=s?s.stimulsoft.getHashCode():0))^(null!=l?l.stimulsoft.getHashCode():0))^t.stimulsoft.getHashCode())^n)^i)^(null!=u?u.stimulsoft.getHashCode():0))^e.stimulsoft.getHashCode())^(c?1:0))^(null!=p?p.stimulsoft.getHashCode():0))^(null!=h?h.stimulsoft.getHashCode():0))^(A?1:0))^b)^m.stimulsoft.getHashCode(),y&&null!=S)return d.set(C,S),S;var y=d.get(C);if(null==y){var b=new w(t,e,r,n,i,o,a,s,l,u,c,p,m,h,A,b);return null!=S&&(b.styleName=S.styleName),d.set(C,b),g.push(b),b}return y.stimulsoft.as(w)},Object.defineProperty(w.prototype,"internalStyleName",{get:function(){return this._internalStyleName},set:function(t){null!=t&&(this._internalStyleName=r.StiNameValidator.correctName(t.trim()))},enumerable:!1,configurable:!0}),Object.defineProperty(w.prototype,"styleName",{get:function(){return null==this._styleName&&(this._styleName=this._internalStyleName,null==this._styleName&&(this._styleName=o.newGuidString().substr(0,8))),this._styleName},set:function(t){this._styleName=t},enumerable:!1,configurable:!0}),t=w,i.StiCellStyle=t}(Stimulsoft=Stimulsoft||{}),function(b){var t,e,r,C,d,v,w,B,I,T,E,R,D,P,x;function n(){}e=t=b.Report||(b.Report={}),C=r=e.Export||(e.Export={}),d=b.System.Collections.Hashtable,v=b.Report.BarCodes.StiQRCodeBarCodeType,w=b.Report.BarCodes.StiBarCode,B=b.Report.Components.StiIconSetHelper,I=b.Report.Components.StiIcon,T=b.Report.Components.StiIconSetIndicator,E=b.Report.Components.StiText,R=b.System.StiString,D=b.Report.Helpers.StiHyperlinkProcessor,P=b.Report.Components.StiImage,x=b.System.StiPromise,n.convertAllImages=function(t,e,r){var n,i,o,a;void 0===r&&(r=!1);var s=new x,l=0,u=!1;try{for(var c=__values(t.renderedPages.list),p=c.next();!p.done;p=c.next()){var h=p.value,m,m;try{for(var d=(o=void 0,__values(h.getComponentsList())),g=d.next();!g.done;g=d.next()){var f=g.value,S=f.stimulsoft.as(P);null!=S&&null!=S.imageToDraw&&null!=S.imageToDraw&&(l++,S.imageToDraw.convert(e,r,S.getPaintRectangle().multiply(StiOptions.Export.Html.printLayoutOptimization?C.StiMatrix.htmlScaleX:1)).try(function(){}).finally(function(){l--,u&&0==l&&s.callTry()}));var S=f.stimulsoft.as(E),S,y;null!=S&&null!=S.indicator&&(null==(S=S.indicator.stimulsoft.as(T))||S.icon==I.None&&null==S.customIcon||null!=(y=B.getIcon(S))&&(l++,y.convert(e,r).try(function(){}).finally(function(){l--,u&&0==l&&s.callTry()})));var y=f.stimulsoft.as(w),y,A;null==y||null==y.barCodeType||null!=(y=y.barCodeType.stimulsoft.as(v))&&null!=y.image&&(l++,y.image.convert(e,r).try(function(){}).finally(function(){l--,u&&0==l&&s.callTry()}),l++,A=this.convert(f,e).try(function(){}).finally(function(){l--,u&&0==l&&s.callTry()}))}}catch(t){o={error:t}}finally{try{g&&!g.done&&(a=d.return)&&a.call(d)}finally{if(o)throw o.error}}null!=h.watermark&&(null!=h.watermark.image?(l++,h.watermark.image.convert(e,r).try(function(){}).finally(function(){l--,u&&0==l&&s.callTry()})):R.isNullOrEmpty(h.watermark.imageHyperlink)||(D.isResourceHyperlink(h.watermark.imageHyperlink)?null!=(m=h.report.dictionary.resources.getByName(D.getResourceNameFromHyperlink(h.watermark.imageHyperlink)))&&(l++,h.watermark.image=b.System.Drawing.Image.fromBytes(m.content),h.watermark.image.convert(e,r).try(function(){}).finally(function(){l--,u&&0==l&&s.callTry()})):!D.isVariableHyperlink(h.watermark.imageHyperlink)||null!=(m=h.report.dictionary.variables.getByName(D.getVariableNameFromHyperlink(h.watermark.imageHyperlink)))&&null!=m.valueObject&&(l++,h.watermark.image=m.valueObject.stimulsoft.as(b.System.Drawing.Image),h.watermark.image.convert(e,r).try(function(){}).finally(function(){l--,u&&0==l&&s.callTry()}))))}}catch(t){n={error:t}}finally{try{p&&!p.done&&(i=c.return)&&i.call(c)}finally{if(n)throw n.error}}return u=!0,0==l&&s.callTry(),s},n.convert=function(o,a){var s=new x,t=o.report,l=o.stimulsoft.as(w).barCodeType.stimulsoft.as(v),e=new C.StiSvgData;e.component=o,e.x=0,e.y=0,e.width=t.unit.convertToHInches(o.width),e.height=t.unit.convertToHInches(o.height);var u=l.image;l.image=null;var c=b.Report.Export.StiBarCodeSvgHelper.getImage(e,a);try{var r=c.base64,n=u.base64,p=document.createElement("canvas");p.width=c.width,p.height=c.height;var h=p.getContext("2d");h.fillStyle="#fff",h.fillRect(0,0,p.width,p.height);var m=new window.Image;m.onload=function(){var i=new window.Image;i.onload=function(){try{h.drawImage(m,0,0,p.width,p.height);var t=l.barCodeData.mainWidth,e=l.barCodeData.mainHeight,r=u.width*l.imageMultipleFactor,n=u.width*l.imageMultipleFactor;h.drawImage(i,0,0,u.width,u.height,(t-r)/2,(e-n)/2,r,n);var n=p.toDataURL(a.mimeType);c.base64=n,l.image=u;var n=o.report;null==n.preparedExportImages&&(n.preparedExportImages=new d),n.preparedExportImages.set(o,c),s.callTry(c)}catch(t){s.callCatch(t.message)}},i.src=n},m.src=r}catch(t){return s.callCatch(t.message),s}return s},e=n,C.StiExportImageHelper=e}(Stimulsoft=Stimulsoft||{}),function(l){var t,a,e,r,u,n,s,o,i;function c(){}a=t=l.Report||(l.Report={}),r=e=a.Export||(a.Export={}),u=l.System.StiString,n=l.System.Drawing.Image,s=l.System.Char,o=l.System.Text.StringBuilder,c.convertDigitsToArabic=function(t,e){for(var r=new o,n=0;n<t.length;n++){var i=t.charCodeAt(n);48<=i&&i<=57?(i+=1632-48,e==a.StiArabicDigitsType.Eastern&&(i+=1776-1632),r.append(String.fromCharCode(i))):r.append(t.charAt(n))}return r.toString()},c.getReportVersion=function(){return null==this.reportVersion&&(this.reportVersion="Stimulsoft Report.JS "+l.StiVersion.version),this.reportVersion},c.saveComponentToString=function(t,e,r,n){void 0===e&&(e=a.ImageFormat.Png),void 0===r&&(r=.75),void 0===n&&(n=100);var i,o=n/100;if(null==null)return"";return""},c.trimEndWhiteSpace=function(t){return this.trimEndWhiteSpace2(t,!0)},c.trimEndWhiteSpace2=function(t,e){var r="",n=t.length;while(0<n&&s.isWhitespace(t[n-1])&&(e||32<=t.charCodeAt(n-1)))n--;return n==t.length?r=t:0<n&&(r=t.substring(0,n)),r},c.splitString=function(t,e){for(var r=new Array,n="",i=0;i<t.length;i++){var o=t.charCodeAt(i);10==o?(r.push(this.trimEndWhiteSpace2(n,e)),n=""):e&&s.isControl(t,i)&&9!=o||(n+=t.charAt(i))}return 0<n.length&&r.push(this.trimEndWhiteSpace2(n,e)),0==r.length&&r.push(""),r},c.stringToUrl=function(t){var e,r,n=l.System.Text.Encoding.UTF8.getBytes(t),i="";try{for(var o=__values(n),a=o.next();!a.done;a=o.next()){var s=a.value;s<32||127<s||-1!=c.wrongUrlSymbols.indexOf(String.fromCharCode(s))?i+=u.format("%{0:x2}",s):i+=String.fromCharCode(s)}}catch(t){e={error:t}}finally{try{a&&!a.done&&(r=o.return)&&r.call(o)}finally{if(e)throw e.error}}return i},c.getAdditionalData2=function(t){var e;return null==this.cachedAdditionalData2&&((e=new n).base64=this.additionalData2,this.cachedAdditionalData2=e),this.cachedAdditionalData2},c.getPositivePattern=function(t){return this.positivePatterns[t]},c.getNegativePattern=function(t){return this.negativePatterns[t]},c.makePdfDeflateStream=function(t){var e=l.ExternalLibrary.JSZip.compressions.DEFLATE.compress(t,{level:5}),t=new l.System.IO.MemoryStream;return t.writeByte(120),t.writeByte(156),t.writeBytes(e),t},c.toHex=function(t){var e="0123456789ABCDEF".charAt(t>>4&15);return e+="0123456789ABCDEF".charAt(15&t)},c.reportVersion=null,c.wrongUrlSymbols=" \"'*,;<>[^`{|}",c.additionalData="iVBORw0KGgoAAAANSUhEUgAAAd8AAAGNCAYAAABQRnukAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAAAJcEhZcwAADsMAAA7DAcdvqGQAAAAhdEVYdENyZWF0aW9uIFRpbWUAMjAxNzowMjowNSAwMjoyODo0OXhS4H0AABHRSURBVHhe7d0LktvIsYbRkZcy+1/TbEVuWA1Pq0USIFC"+"PzKxzIhzWDYct4hH/10Xp2j9+fvgLABjmP5//DAAMIr4AMJj4AsBg4gsAg4kvAAwmvgAwmPgCwGDiCwCDiS8ADCa+ADCY+ALAYOILAIOJLwAMJr4AMJj4AsBg4gsAg4kvAAwmvgAwmPgCfPPPP//87x/Qi/gCfPE1ugJML+IL8OlRbAWYHsQX4MOryAowrYkvsLwzcRVgWhJfYGnvRFWAaUV8gW"+"VdiakA04L4Aku6E1EB5i7xBZbTIp4CzB3iCyylZTQFmKvEF1hGj1gKMFeIL7CEnpEUYN4lvkB5I+IowLxDfIHSRkZRgDlLfIGyZsRQgDlDfIGSZkZQgDkivkA5EeInwLwivkApkaInwDwjvkAZEWMnw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coK3M9KAxGQKWNnJtRoT5/625cfhjEw7CQS7cG7CLWnT7"+"/t2kPv6OxC5a3iPGc+5tHjkr0TfYk4NKM3bxDZl3HzyHrLQSABYrQ1Gy3PxpbJqGnCsDE9IpPhlCYFgVp5x3+rqrTv2Blp6PDz2sKfPyF9bOcaNFgwKOKpMZQaP6UdOPkainS5u9Ya6ezK6gBRLOiQTJ7ZYAXmhlRjD4fRdOhEX8b5I9S5jULFJnVeFbWZwFeP8qtWM"+"ZLYWgveBFXe6vRkn8faUlVwxXxr8sLZWdCad1UskFpwSEh0A5WPm6AYuQAIAKQlItawh/eXe7EJymZ/ubkgoUePTVAZAKSV1EqsZ8in/eWUlHVwLIPWACCtpFYJQXB4Q63wJiigVgCQgIrYj2wGZBOUHj2KoDJvBX4f5HH0wMDAvVb27TMbj3bp0UNz/SZK65rgJii8"+"Ur4CWvNeoMzrFEgffDOAmvuCOTdkHqIHUKwggmNHAMDxCMABAAmqDPt8ffglKABIYKMHbgXv8vk2nGyCAgGAtJRaDfh8G6z95SAAkMBQKz/nym5/OQgAxLfo0RMAapUFagUACSI4wgFIzPH+8jXQBgAkiDIUAGoF7SQ+yv8CDAAQoXsgf0PrrgAAAABJRU5ErkJggg==",c.cachedAdditionalData2=null,c.positivePatterns=["$n","n$","$ n","n $"],c.negativePatterns=["($n)","-$n","$-n","$n-","(n$)","-n$","n-$","n$-","-n $","-$ n","n $-","$ n-","$ -n","n- $","($ n)","(n $)"],i=c,r.StiExportUtils=i}(Stimulsoft=Stimulsoft||{}),function(t){var e,r,n,i,o;function a(t){this.htmlExport=null,this.isMhtExport=!1,this.forcePng=!1,this.htmlExport=t,this.isMhtExport=!1,this.forcePng=!1}r=e=t.Report||(t.Report={}),i=n=r.Export||(r.Export={}),o=t.System.StiString,a.prototype.getImageString=function(t){var e=t.base64;if(!o.isNullOrEmpty(e))return e;if(!o.isNullOrEmpty(t.url))return t.url.stimulsoft.replaceAll("\\","/");return""},r=a,i.StiHtmlImageHost=r}(Stimulsoft=Stimulsoft||{}),function(we){var t,Be,e;Be=t=we.Report||(we.Report={}),function(Mt){var Ot=we.Report.Components.StiDrillDownMode,_t=we.System.Enum,jt=we.System.StiArray,Gt=we.System.StiString,Ht=we.Report.Components.StiRichText,Qt=we.Base.Drawing.StiSolidBrush,Lt=we.Base.Drawing.StiHatchBrush,Yt=we.Base.Drawing.StiGlassBrush,Ut=we.Base.Drawing.StiGlareBrush,Jt=we.Base.Drawing.StiGradientBrush,Wt=we.Report.Components.StiDataBand,Vt=we.Report.Components.IStiEditable,zt=we.Report.Components.StiCheckBox,Xt=we.System.Text.StringBuilder,Kt=we.System.Collections.Hashtable,Zt=we.Report.Components.StiComponent,qt=we.Report.Components.IStiTextOptions,$t=we.Report.Components.StiText,te=we.Base.Drawing.StiVertAlignment,ee=we.Base.Drawing.StiTextHorAlignment,re=we.Base.Drawing.StiPenStyle,ne=we.Report.Components.IStiTextBrush,ie=we.System.Drawing.Color,oe=we.Report.Components.IStiFont,ae=we.Base.Drawing.StiBrush,G=we.Base.Drawing.StiHorAlignment,se=we.Report.Components.StiTextQuality,le=we.Report.Components.StiBandInteraction,ue=we.Report.Components.StiContainer,ce=we.Report.Components.IStiExportImage,pe=we.Report.Engine.StiDataBandBuilder,he=we.Report.Components.IStiExportImageExtended,me=we.Report.Components.StiImage,de=we.Report.Components.StiImageRotation,ge=we.Report.Chart.IStiChart,r,t;(t=r=Mt.StiHtmlUnitType||(Mt.StiHtmlUnitType={}))[t["Pixel"]=0]="Pixel",t[t["Point"]=1]="Point";var fe=(n.prototype.toString=function(){return Math.trunc(this.value).toString()+"px"},n.toPixelString=function(t){return Math.trunc(t).toString()+"px"},n.newUnit2=function(t,e){var r=new n;return r.unitType=e,r.value=t,r},n.newUnit=function(t,e){return e?this.newUnit2(t,e?r.Point:r.Pixel):this.newUnit2(t,r.Pixel)},n.isNullOrZero=function(t){return null==t||0==t.value},n.hiToPt=.748,n);function n(){this.value=0,this.unitType=r.Pixel}Mt.StiHtmlUnit=fe;var Se=e;function e(){}Mt.StiHtmlSvg=Se;var ye=i;function i(){this.attributes=new Kt,this.style=new Kt}Mt.StiHtmlHyperlink=ye;var Ae=o;function o(){}Mt.StiHtmlImage=Ae;var be=a;function a(){this.controls=[],this.style=new Kt,this.controls=[]}Mt.StiHtmlTableCell=be;var Ce=s;function s(){this.style=new Kt,this.cells=[]}Mt.StiHtmlTableRow=Ce;var ve=(H.stringToUrl=function(t){var e,r,n="",i=t.split("");try{for(var o=__values(i),a=o.next();!a.done;a=o.next()){var s=a.value,l=s.charCodeAt(0);l<=32||127<l||-1!=this.wrongUrlSymbols.indexOf(s)?((l<=32||127<l)&&(n+=Gt.format("%{0:x2}",l)),34==l&&(n+="""),38==l&&(n+="&"),60==l&&(n+="<")):n+=s}}catch(t){e={error:t}}finally{try{a&&!a.done&&(r=o.return)&&r.call(o)}finally{if(e)throw e.error}}return n},H.prototype.renderControl=function(t){var e,r,n,i,o,a,s,l,u,c;this.writeTableBegin(t,!1);try{for(var p=__values(this.rows),h=p.next();!h.done;h=p.next()){var m=h.value;if(m.style.containsKey(H.pageBreakBeforeKey)&&(m.style.remove(H.pageBreakBeforeKey),this.writeTableEnd(t),t.writeLine(),this.writeTableBegin(t,!0)),t.writeBeginTag("tr"),StiOptions.Export.Html.useExtendedStyle&&t.writeAttribute("class","sBaseStyleFix"),fe.isNullOrZero(m.height)||m.style.set("height",m.height.toString()),0<m.style.count){t.write(' style="');try{for(var d=(n=void 0,__values(m.style.keys)),g=d.next();!g.done;g=d.next()){var f=g.value;t.writeStyleAttribute(f,m.style.get(f))}}catch(t){n={error:t}}finally{try{g&&!g.done&&(i=d.return)&&i.call(d)}finally{if(n)throw n.error}}t.write('"')}t.writeLine(">"),t.indent++;try{for(var S=(o=void 0,__values(m.cells)),y=S.next();!y.done;y=S.next()){var A=y.value;t.writeBeginTag("td"),Gt.isNullOrEmpty(A.toolTip)||t.writeAttribute("title",A.toolTip),Gt.isNullOrEmpty(A.cssClass)||t.writeAttribute("class",A.cssClass),Gt.isNullOrEmpty(A.id)||t.writeAttribute("id",A.id),Gt.isNullOrEmpty(A.editable)||t.writeAttribute("editable",A.editable),0<A.columnSpan&&t.writeAttribute("colspan",A.columnSpan.toString()),0<A.rowSpan&&t.writeAttribute("rowspan",A.rowSpan.toString()),Gt.isNullOrEmpty(A.interaction)||t.writeAttribute("interaction",A.interaction),Gt.isNullOrEmpty(A.collapsed)||t.writeAttribute("collapsed",A.collapsed),Gt.isNullOrEmpty(A.sortDirection)||t.writeAttribute("sort",A.sortDirection),Gt.isNullOrEmpty(A.dataBandSort)||t.writeAttribute("databandsort",A.dataBandSort),Gt.isNullOrEmpty(A.pageGuid)||t.writeAttribute("pageguid",A.pageGuid),Gt.isNullOrEmpty(A.pageIndex)||t.writeAttribute("pageindex",A.pageIndex),Gt.isNullOrEmpty(A.reportFile)||t.writeAttribute("reportfile",A.reportFile),Gt.isNullOrEmpty(A.componentIndex)||t.writeAttribute("compindex",A.componentIndex),Gt.isNullOrEmpty(A.drillDownMode)||t.writeAttribute("drilldownmode",A.drillDownMode),fe.isNullOrZero(A.height)||A.style.set("height",A.height.toString()),fe.isNullOrZero(A.width)||A.style.set("width",A.width.toString()),Gt.isNullOrEmpty(A.text)||(A.style.containsKey("height")&&A.style.set("max-height",A.height.toString()),A.style.containsKey("width")&&A.style.set("max-width",A.width.toString()),(A.style.containsKey("height")||A.style.containsKey("width"))&&(A.style.set("overflow","hidden"),A.style.containsKey("text-overflow")||A.style.set("text-overflow","clip"),A.style.set("box-sizing","border-box")));var b=null,C=null,v=null;StiOptions.Export.Html.useStrictTableCellSize&&0<A.style.count&&(A.style.containsKey(H.marginsKey)&&(b=A.style.get(H.marginsKey),A.style.remove(H.marginsKey)),A.style.containsKey(H.vertAlignKey)&&A.style.containsKey("height")&&(C=A.style.get(H.vertAlignKey),A.style.remove(H.vertAlignKey)),A.style.containsKey(H.horAlignKey)&&A.style.containsKey("width")&&(v=A.style.get(H.horAlignKey),A.style.remove(H.horAlignKey)));var w=!1;A.style.containsKey(H.wordwrapKey)&&A.style.containsKey("width")&&(w=!0,A.style.remove(H.wordwrapKey),A.style.remove("white-space"));var B=null,I=null,T=null;if(0<A.controls.length&&(B=A.controls[0].stimulsoft.as(ye),I=A.controls[0].stimulsoft.as(Ae),T=A.controls[0].stimulsoft.as(Se)),null==I||StiOptions.Export.Html.useStrictTableCellSize||A.style.set("line-height","0"),0<A.style.count){t.write(' style="');try{for(var E=(s=void 0,__values(A.style.keys)),R=E.next();!R.done;R=E.next()){var f=R.value;t.writeStyleAttribute(f,A.style.get(f))}}catch(t){s={error:t}}finally{try{R&&!R.done&&(l=E.return)&&l.call(E)}finally{if(s)throw s.error}}t.write('"')}t.write(">");var D=null,P=0<A.controls.length||!Gt.isNullOrEmpty(A.text),x,F,N;if(P&&StiOptions.Export.Html.useStrictTableCellSize&&(t.write("<div"),StiOptions.Export.Html.useExtendedStyle&&(t.writeAttribute("class","sBaseStyleFix"),x=A.style.get("Font"),F=A.style.get("text-decoration"),N=A.style.get("color"),Gt.isNullOrEmpty(x)||(D="Font:"+x+";"),Gt.isNullOrEmpty(F)||(D+="text-decoration:"+F+";"),Gt.isNullOrEmpty(N)||(D+="color:"+N+";")),(A.style.containsKey("width")||A.style.containsKey("height")||null!=D)&&(t.write(' style="'),A.style.containsKey("width")&&t.writeStyleAttribute("width",A.style.get("width")),A.style.containsKey("height")&&t.writeStyleAttribute("height",A.style.get("height")),Gt.isNullOrEmpty(D)||t.write(D),t.write('"')),t.write(">"),null==C&&null==v||(t.write("<div "),StiOptions.Export.Html.useExtendedStyle&&t.write('class="sBaseStyleFix" '),t.write('style="'),t.writeStyleAttribute("display","table-cell"),null!=C&&(t.writeStyleAttribute("height",A.style.get("height")),t.writeStyleAttribute("vertical-align",C)),null!=v&&(t.writeStyleAttribute("width",A.style.get("width")),t.writeStyleAttribute("text-align",v)),Gt.isNullOrEmpty(D)||t.write(D),t.write('">')),null==b&&!w||(t.write("<div "),StiOptions.Export.Html.useExtendedStyle&&t.write('class="sBaseStyleFix" '),t.write('style="'),null!=b&&t.writeStyleAttribute("margin",b),w&&t.writeStyleAttribute("width",A.style.get("width")),Gt.isNullOrEmpty(D)||t.write(D),t.write('">'))),null!=I)if(I.stretch||I.imageRotation!=de.None)if(I.aspectRatio||I.imageRotation!=de.None){t.write('<div style="'),t.writeStyleAttribute("width",A.width.toString()),t.writeStyleAttribute("height",A.height.toString());var k=I.horAlignment,M=I.vertAlignment,O;switch(I.imageRotation){case de.Rotate90CW:M=I.horAlignment==G.Left?te.Bottom:I.horAlignment==G.Right?te.Top:te.Center,k=I.vertAlignment==te.Top?G.Left:I.vertAlignment==te.Bottom?G.Right:G.Center;break;case de.Rotate90CCW:M=I.horAlignment==G.Left?te.Top:I.horAlignment==G.Right?te.Bottom:te.Center,k=I.vertAlignment==te.Top?G.Right:I.vertAlignment==te.Bottom?G.Left:G.Center;break;case de.Rotate180:I.horAlignment==G.Left?k=G.Right:I.horAlignment==G.Right&&(k=G.Left),I.vertAlignment==te.Top?M=te.Bottom:I.vertAlignment==te.Bottom&&(M=te.Top);break;case de.FlipHorizontal:I.horAlignment==G.Left?k=G.Right:I.horAlignment==G.Right&&(k=G.Left);break;case de.FlipVertical:I.vertAlignment==te.Top?M=te.Bottom:I.vertAlignment==te.Bottom&&(M=te.Top);break}I.imageRotation!=de.Rotate90CCW&&I.imageRotation!=de.Rotate90CW||(t.write('"><div style="'),t.writeStyleAttribute("width",A.height.toString()),t.writeStyleAttribute("height",A.width.toString()),O=(A.width.value-A.height.value)/2,t.writeStyleAttribute("position","relative"),t.writeStyleAttribute("left",fe.newUnit(O).toString()),t.writeStyleAttribute("top",fe.newUnit(-O).toString()),t.writeStyleAttribute("transform","rotate("+(I.imageRotation==de.Rotate90CCW?"-":"")+"90deg)")),t.writeStyleAttribute("background-repeat","no-repeat"),t.writeStyleAttribute("background-size",I.aspectRatio?"contain":"100% 100%"),t.writeStyleAttribute("background-position",G[k].toLowerCase()+" "+te[M].toLowerCase()),t.writeStyleAttribute("background-image","url("+H.stringToUrl(I.imageUrl)+")"),I.imageRotation==de.FlipHorizontal?t.writeStyleAttribute("transform","scaleX(-1)"):I.imageRotation==de.FlipVertical?t.writeStyleAttribute("transform","scaleY(-1)"):I.imageRotation==de.Rotate180&&t.writeStyleAttribute("transform","scale(-1)"),I.imageRotation==de.Rotate90CCW||I.imageRotation==de.Rotate90CW?t.write('"></div>'):t.write('">'),t.write("</div>")}else t.writeBeginTag("img"),Gt.isNullOrEmpty(I.toolTip)||t.writeAttribute("title",I.toolTip),Gt.isNullOrEmpty(I.base64)?Gt.isNullOrEmpty(I.imageUrl)||t.writeAttribute("src",H.stringToUrl(I.imageUrl)):t.writeAttribute("src",I.base64),t.write(' style="'),t.writeStyleAttribute("width",A.width.toString()),t.writeStyleAttribute("height",A.height.toString()),t.writeStyleAttribute("border-width",fe.toPixelString(0)),t.write('" />');else{t.write('<div style="'),t.writeStyleAttribute("height",A.height.toString()),t.writeStyleAttribute("width",A.width.toString()),t.writeStyleAttribute("display","table-cell"),t.writeStyleAttribute("text-align",G[I.horAlignment].toLowerCase()),t.writeStyleAttribute("vertical-align",te[I.vertAlignment].toLowerCase().stimulsoft.replaceAll("center","middle")),t.write('">'),t.write('<div style="'),t.writeStyleAttribute("max-height",A.height.toString()),t.writeStyleAttribute("max-width",A.width.toString()),t.writeStyleAttribute("overflow","hidden"),t.write('">'),t.writeBeginTag("img"),Gt.isNullOrEmpty(I.toolTip)||t.writeAttribute("title",I.toolTip),Gt.isNullOrEmpty(I.base64)?Gt.isNullOrEmpty(I.imageUrl)||t.writeAttribute("src",H.stringToUrl(I.imageUrl)):t.writeAttribute("src",I.base64);var N=0,O=0,k=I.width.value,M=I.height.value;if(k>A.width.value)switch(I.horAlignment){case G.Center:N=A.width.value/2-k/2;break;case G.Right:N=A.width.value-k;break}if(M>A.height.value)switch(I.vertAlignment){case te.Center:O=A.height.value/2-M/2;break;case te.Bottom:O=A.height.value-M;break}t.writeAttribute("height",(I.height.value*I.zoom).toString()+"px"),t.writeAttribute("width",(I.width.value*I.zoom).toString()+"px"),t.write(' style="'),t.writeStyleAttribute("border-width",fe.toPixelString(0)),t.writeStyleAttribute("margin-top",fe.toPixelString(O)),t.writeStyleAttribute("margin-left",fe.toPixelString(N)),t.write('" /></div></div>')}else if(null!=B){if(t.writeBeginTag("a"),Gt.isNullOrEmpty(B.openLinksTarget)||t.writeAttribute("target",B.openLinksTarget),Gt.isNullOrEmpty(B.toolTip)||t.writeAttribute("title",B.toolTip),Gt.isNullOrEmpty(B.cssClass)||t.writeAttribute("class",B.cssClass),B.attributes.containsKey("name")&&t.writeAttribute("name",B.attributes.get("name")),B.attributes.containsKey("guid")&&t.writeAttribute("guid",B.attributes.get("guid")),Gt.isNullOrEmpty(B.navigateUrl)||t.writeAttribute("href",H.stringToUrl(B.navigateUrl)),Gt.isNullOrEmpty(B.imageUrl)||(B.style.set("display","inline-block"),B.style.set("height",B.height.toString()),B.style.set("width",B.width.toString())),StiOptions.Export.Html.useExtendedStyle&&B.style.set("border","0"),0<B.style.count){t.write(' style="');try{for(var _=(u=void 0,__values(B.style.keys)),j=_.next();!j.done;j=_.next()){var f=j.value;t.writeStyleAttribute(f,B.style.get(f))}}catch(t){u={error:t}}finally{try{j&&!j.done&&(c=_.return)&&c.call(_)}finally{if(u)throw u.error}}Gt.isNullOrEmpty(D)||t.write(D),t.write('"')}t.write(">"),Gt.isNullOrEmpty(B.imageUrl)||(t.writeBeginTag("img"),Gt.isNullOrEmpty(B.toolTip)||t.writeAttribute("title",B.toolTip),t.writeAttribute("src",H.stringToUrl(B.imageUrl)),t.write(' style="'),t.writeStyleAttribute("height",B.height.toString()),t.writeStyleAttribute("width",B.width.toString()),t.writeStyleAttribute("border","0"),t.write('" />')),B.attributes.containsKey("id")?(t.writeBeginTag("div"),t.writeAttribute("id",B.attributes.get("id")),t.write('style="'),fe.isNullOrZero(A.height)||t.writeStyleAttribute("height",A.height.toString()),fe.isNullOrZero(A.width)||t.writeStyleAttribute("width",A.width.toString()),t.write('">'),t.write(B.text),t.write("</div>")):t.write(B.text),t.writeFullEndTag("a")}else null!=T?t.write(T.text):t.write(A.text);P&&StiOptions.Export.Html.useStrictTableCellSize&&(null==b&&!w||t.write("</div>"),null==C&&null==v||t.write("</div>"),t.write("</div>")),t.writeFullEndTag("td")}}catch(t){o={error:t}}finally{try{y&&!y.done&&(a=S.return)&&a.call(S)}finally{if(o)throw o.error}}t.writeLine(),t.indent--,t.writeFullEndTag("tr")}}catch(t){e={error:t}}finally{try{h&&!h.done&&(r=p.return)&&r.call(p)}finally{if(e)throw e.error}}this.writeTableEnd(t)},H.prototype.writeTableBegin=function(t,e){var r;t.writeBeginTag("table"),t.writeAttribute("cellspacing",this.cellSpacing.toString()),t.writeAttribute("cellpadding",this.cellPadding.toString()),t.writeAttribute("border","0"),this.align!=G.Left&&t.writeAttribute("align",this.align==G.Center?"center":"right"),StiOptions.Export.Html.useExtendedStyle&&t.writeAttribute("class","sBaseStyleFix"),t.write(' style="'),t.writeStyleAttribute("border-width",fe.toPixelString(this.borderWidth)),t.writeStyleAttribute("width",this.width.toString()),null!=this.border&&this.border.dropShadow&&(r=ae.toColor(this.border.shadowBrush),t.writeStyleAttribute("box-shadow",this.border.shadowSize+"px "+this.border.shadowSize+"px 1px rgb("+r.r+","+r.g+","+r.b+")")),Gt.isNullOrEmpty(this.position)||t.writeStyleAttribute("position",this.position),Gt.isNullOrEmpty(this.backImageUrl)||t.writeStyleAttribute("background-image",Gt.format("url('{0}')",H.stringToUrl(this.backImageUrl))),Gt.isNullOrEmpty(this.backgroundPosition)||t.writeStyleAttribute("background-position",this.backgroundPosition),Gt.isNullOrEmpty(this.backgroundRepeat)||t.writeStyleAttribute("background-repeat",this.backgroundRepeat),t.writeStyleAttribute("border-collapse","collapse"),e&&t.writeStyleAttribute(H.pageBreakBeforeKey,"always"),t.write('">'),t.writeLine(),t.indent++,StiOptions.Export.Html.useExtendedStyle&&(t.writeBeginTag("tbody"),t.writeAttribute("class","sBaseStyleFix"),t.writeLine(">"),t.indent++)},H.prototype.writeTableEnd=function(t){StiOptions.Export.Html.useExtendedStyle&&(t.writeLine(),t.indent--,t.writeFullEndTag("tbody")),t.writeLine(),t.indent--,t.writeFullEndTag("table")},H.marginsKey="padding",H.pageBreakBeforeKey="page-break-before",H.vertAlignKey="div:vertical-align",H.horAlignKey="div:text-align",H.wordwrapKey="div:wordwrap",H.wrongUrlSymbols='"&<',H),l,t;function H(){this.border=null,this.align=G.Left,this.position=null,this.htmlExportSettings=null,this.rows=[]}Mt.StiHtmlTable=ve,(t=l=Mt.WriterMode||(Mt.WriterMode={}))[t["None"]=0]="None",t[t["BeginTag"]=1]="BeginTag",t[t["Attribute"]=2]="Attribute",t[t["Data"]=3]="Data";var t=(u.prototype.write=function(t){this.checkIndent(),this.stream.write(t),this.mode=l.Data},u.prototype.writeLine=function(t){!t||Gt.isNullOrEmpty(t)?this.stream.writeLine():(this.checkIndent(),this.stream.writeLine(t)),this.mode=l.None},u.prototype.writeBeginTag=function(t){this.closeTag(),this.checkIndent(),this.stream.write("<"+t),this.mode=l.BeginTag},u.prototype.writeFullBeginTag=function(t){this.closeTag(),this.checkIndent(),this.stream.write("<"+t+">"),this.mode=l.Data},u.prototype.writeEndTag=function(t){this.mode==l.BeginTag?this.stream.write("/>"):(this.closeTag(),this.checkIndent(),this.stream.write("</"+t+">")),this.mode=l.Data},u.prototype.writeFullEndTag=function(t){this.closeTag(),this.checkIndent(),this.stream.write("</"+t+">"),this.mode=l.Data},u.prototype.writeAttribute=function(t,e){this.stream.write(" "+t),null!=e&&this.stream.write('="'+e+'"'),this.mode=l.Attribute},u.prototype.writeStyleAttribute=function(t,e){this.stream.write(t+":"+e+";"),this.mode=l.Attribute},u.prototype.flush=function(){this.stream.flush()},u.prototype.getStream=function(){return this.stream},u.prototype.closeTag=function(){this.mode!=l.Attribute&&this.mode!=l.BeginTag||this.stream.write(">")},u.prototype.checkIndent=function(){if(this.mode==l.None)for(var t=0;t<this.indent;t++)this.stream.write("\t")},u);function u(t){this.stream=null,this.mode=l.None,this.indent=0,this.stream=t,this.mode=l.None,this.indent=0}Mt.StiHtmlTextWriter=t;var t=(c.prototype.renderStyle=function(t){this.htmlExport.renderBackColor(null,t.color),this.htmlExport.renderTextColor(null,t.textColor),this.htmlExport.renderFont(null,t.font),this.htmlExport.renderBorder3(null,t.border,"top"),this.htmlExport.renderBorder3(null,t.borderL,"left"),this.htmlExport.renderBorder3(null,t.borderR,"right"),this.htmlExport.renderBorder3(null,t.borderB,"bottom",t.borderRadius),this.htmlExport.renderTextDirection(null,t.textOptions),this.htmlExport.renderTextHorAlignment(null,t.textOptions,t.horAlignment),this.htmlExportSettings.exportMode==Mt.StiHtmlExportMode.Table&&this.htmlExport.renderVertAlignment(null,t.vertAlignment),t.absolutePosition&&this.htmlExport.htmlWriter.writeStyleAttribute("position","absolute"),t.overflow&&this.htmlExport.htmlWriter.write("overflow:hidden;"),null!=t.textOptions&&t.textOptions.trimming!=we.System.Drawing.StringTrimming.None&&this.htmlExport.htmlWriter.write("text-overflow:ellipsis;"),1!=t.lineSpacing&&this.htmlExport.htmlWriter.write(Gt.format("line-height:{0}em;",Math.round2(Mt.StiHtmlExportService.getFontScale(t.font.name,t.font.size)*t.lineSpacing,2)))},c.prototype.renderStyleTable=function(t,e){this.htmlExport.renderBackColor(t,e.color),this.htmlExport.renderTextColor(t,e.textColor),this.htmlExport.renderFont(t,e.font),null==t&&this.htmlExport.htmlWriter.write("border:0px;"),this.htmlExport.renderBorder3(t,e.border,"top"),this.htmlExport.renderBorder3(t,e.borderL,"left"),this.htmlExport.renderBorder3(t,e.borderR,"right"),this.htmlExport.renderBorder3(t,e.borderB,"bottom"),this.htmlExport.renderTextDirection(t,e.textOptions),this.htmlExport.renderTextHorAlignment(t,e.textOptions,e.horAlignment),this.htmlExport.renderVertAlignment(t,e.vertAlignment,e.textOptions),null==t?(e.absolutePosition&&this.htmlExport.htmlWriter.writeStyleAttribute("position","absolute"),1!=e.lineSpacing&&this.htmlExport.htmlWriter.write(Gt.format("line-height:{0}em;",Math.round2(Mt.StiHtmlExportService.getFontScale(e.font.name,e.font.size)*e.lineSpacing,2))),StiOptions.Export.Html.useStrictTableCellSize?(e.wordWrap?this.htmlExport.htmlWriter.write("word-wrap:break-word;"):this.htmlExport.htmlWriter.write("white-space:nowrap;"),this.htmlExport.htmlWriter.write("overflow:hidden;"),null!=e.textOptions&&e.textOptions.trimming!=we.System.Drawing.StringTrimming.None&&this.htmlExport.htmlWriter.write("text-overflow:ellipsis;")):!e.wordWrap&&StiOptions.Export.Html.useWordWrapBreakWordMode&&this.htmlExport.htmlWriter.write("word-wrap:break-word;")):(e.absolutePosition&&(t.style["position"]="absolute"),1!=e.lineSpacing&&t.style.set("line-height",Gt.format("line-height:{0}em;",Math.round2(Mt.StiHtmlExportService.getFontScale(e.font.name,e.font.size)*e.lineSpacing,2))),StiOptions.Export.Html.useStrictTableCellSize?(e.wordWrap?t.style.set("word-wrap","break-word"):t.style.set("white-space","nowrap"),t.style.set("overflow","hidden"),null!=e.textOptions&&e.textOptions.trimming!=we.System.Drawing.StringTrimming.None&&t.style.set("text-overflow","ellipsis;")):!e.wordWrap&&StiOptions.Export.Html.useWordWrapBreakWordMode&&t.style.set("word-wrap","break-word"))},c.prototype.renderStyles=function(t,e,r){var n,i,o,a;this.htmlExport.htmlWriter.writeLine('<style type="text/css">');try{for(var s=__values(we.Base.StiFontCollection.getBinFonts()),l=s.next();!l.done;l=s.next()){var u=l.value;this.htmlExport.htmlWriter.writeLine("@font-face {font-family: "+u+';src: url("'+we.Base.StiFontCollection.getBinFont(u).filePath+'");}')}}catch(t){n={error:t}}finally{try{l&&!l.done&&(i=s.return)&&i.call(s)}finally{if(n)throw n.error}}if(StiOptions.Export.Html.useExtendedStyle&&this.htmlExport.htmlWriter.writeLine(".sBaseStyleFix { border: 0; }"),!e&&this.htmlExport.useStylesTable)for(var c=0;c<this.matrix.styles.length;c++){var p=this.matrix.styles[c];this.htmlExport.htmlWriter.write(".s"+p.styleName),this.htmlExport.htmlWriter.write("{"),this.renderStyle(p),this.htmlExport.htmlWriter.writeLine("}")}if(null!=r&&0<r.count)try{for(var h=__values(r.keys),m=h.next();!m.done;m=h.next()){var d=m.value;this.htmlExport.htmlWriter.writeLine("."+d+" {"+r.get(d)+";overflow:hidden;}")}}catch(t){o={error:t}}finally{try{m&&!m.done&&(a=h.return)&&a.call(h)}finally{if(o)throw o.error}}t&&(StiOptions.Export.Html.useExtendedStyle?(this.htmlExport.htmlWriter.writeLine(".dtree {border:0; font-family: Verdana, Geneva, Arial, Helvetica, sans-serif;font-size:11px;color:#666;white-space:nowrap;}"),this.htmlExport.htmlWriter.writeLine(".dTreeNode {border:0;}"),this.htmlExport.htmlWriter.writeLine(".dtreeStyleFix {border:0;}"),this.htmlExport.htmlWriter.writeLine(".dtree img {border:0; vertical-align: middle;}"),this.htmlExport.htmlWriter.writeLine(".dtree a {border:0;line-height:0; color:#333;text-decoration:none;}"),this.htmlExport.htmlWriter.writeLine(".dtree a.node, .dtree a.nodeSel {border:0; white-space: nowrap;padding: 1px 2px 1px 2px;font-family: Verdana, Geneva, Arial, Helvetica, sans-serif;font-size:11px;color:#666;text-decoration: none;font-weight:normal;}"),this.htmlExport.htmlWriter.writeLine(".dtree a.node:hover, .dtree a.nodeSel:hover {border:0; color: #333;text-decoration: underline;}"),this.htmlExport.htmlWriter.writeLine(".dtree a.nodeSel {border:0; background-color: #c0d2ec;}"),this.htmlExport.htmlWriter.writeLine(".dtree .clip {border:0; overflow: hidden;}"),this.htmlExport.htmlWriter.writeLine(".dtreeframe {border:0; border-right:1px;border-right-style:solid;border-right-color:Gray;}")):(this.htmlExport.htmlWriter.writeLine(".dtree {font-family: Verdana, Geneva, Arial, Helvetica, sans-serif;font-size:11px;color:#666;white-space:nowrap;}"),this.htmlExport.htmlWriter.writeLine(".dtree img {border: 0px;vertical-align: middle;}"),this.htmlExport.htmlWriter.writeLine(".dtree a {color: #333;text-decoration: none;}"),this.htmlExport.htmlWriter.writeLine(".dtree a.node, .dtree a.nodeSel {white-space: nowrap;padding: 1px 2px 1px 2px;}"),this.htmlExport.htmlWriter.writeLine(".dtree a.node:hover, .dtree a.nodeSel:hover {color: #333;text-decoration: underline;}"),this.htmlExport.htmlWriter.writeLine(".dtree a.nodeSel {background-color: #c0d2ec;}"),this.htmlExport.htmlWriter.writeLine(".dtree .clip {overflow: hidden;}"),this.htmlExport.htmlWriter.writeLine(".dtreeframe {border-right:1px;border-right-style:solid;border-right-color:Gray;}"))),this.htmlExport.htmlWriter.writeLine("</style>")},c.prototype.renderStylesTable=function(t,e,r){void 0===r&&(r=null),this.renderStylesTable2(t,e,!0,r)},c.prototype.renderStylesTable2=function(t,e,r,n){var i,o;if(void 0===n&&(n=null),r&&this.htmlExport.htmlWriter.writeLine('<style type="text/css">'),
this.htmlExport.htmlWriter.writeLine(we.System.Drawing.Graphics.getCustomFontsCss()),StiOptions.Export.Html.useExtendedStyle&&this.htmlExport.htmlWriter.writeLine(".sBaseStyleFix { border: 0; }"),!e&&this.htmlExport.useStylesTable)for(var a=0;a<this.matrix.styles.length;a++){var s=this.matrix.styles[a];this.htmlExport.htmlWriter.write(".s"+s.styleName),this.htmlExport.htmlWriter.write("{"),this.renderStyleTable(null,s),this.htmlExport.htmlWriter.writeLine("}")}if(null!=n&&0<n.count)try{for(var l=__values(n.keys),u=l.next();!u.done;u=l.next()){var c=u.value;this.htmlExport.htmlWriter.writeLine("."+c+" {"+n.get(c)+";}")}}catch(t){i={error:t}}finally{try{u&&!u.done&&(o=l.return)&&o.call(l)}finally{if(i)throw i.error}}t&&(StiOptions.Export.Html.useExtendedStyle?(this.htmlExport.htmlWriter.writeLine(".dtree {border:0; font-family: Verdana, Geneva, Arial, Helvetica, sans-serif;font-size:11px;color:#666;white-space:nowrap;}"),this.htmlExport.htmlWriter.writeLine(".dTreeNode {border:0;}"),this.htmlExport.htmlWriter.writeLine(".dtreeStyleFix {border:0;}"),this.htmlExport.htmlWriter.writeLine(".dtree img {border:0; vertical-align: middle;}"),this.htmlExport.htmlWriter.writeLine(".dtree a {border:0;line-height:0; color:#333;text-decoration:none;}"),this.htmlExport.htmlWriter.writeLine(".dtree a.node, .dtree a.nodeSel {border:0; white-space: nowrap;padding: 1px 2px 1px 2px;font-family: Verdana, Geneva, Arial, Helvetica, sans-serif;font-size:11px;color:#666;text-decoration: none;font-weight:normal;}"),this.htmlExport.htmlWriter.writeLine(".dtree a.node:hover, .dtree a.nodeSel:hover {border:0; color: #333;text-decoration: underline;}"),this.htmlExport.htmlWriter.writeLine(".dtree a.nodeSel {border:0; background-color: #c0d2ec;}"),this.htmlExport.htmlWriter.writeLine(".dtree .clip {border:0; overflow: hidden;}"),this.htmlExport.htmlWriter.writeLine(".dtreeframe {border:0; border-right:1px;border-right-style:solid;border-right-color:Gray;}")):(this.htmlExport.htmlWriter.writeLine(".dtree {font-family: Verdana, Geneva, Arial, Helvetica, sans-serif;font-size:11px;color:#666;white-space:nowrap;}"),this.htmlExport.htmlWriter.writeLine(".dtree img {border: 0px;vertical-align: middle;}"),this.htmlExport.htmlWriter.writeLine(".dtree a {color: #333;text-decoration: none;}"),this.htmlExport.htmlWriter.writeLine(".dtree a.node, .dtree a.nodeSel {white-space: nowrap;padding: 1px 2px 1px 2px;}"),this.htmlExport.htmlWriter.writeLine(".dtree a.node:hover, .dtree a.nodeSel:hover {color: #333;text-decoration: underline;}"),this.htmlExport.htmlWriter.writeLine(".dtree a.nodeSel {background-color: #c0d2ec;}"),this.htmlExport.htmlWriter.writeLine(".dtree .clip {overflow: hidden;}"),this.htmlExport.htmlWriter.writeLine(".dtreeframe {border-right:1px;border-right-style:solid;border-right-color:Gray;}"))),r&&this.htmlExport.htmlWriter.writeLine("</style>")},c.prototype.getWidth=function(t,e,r,n){return(t.stimulsoft.getByIndex(r+1,e)-t.stimulsoft.getByIndex(r,e))*n},c.prototype.getHeight=function(t,e,r,n){return(t.stimulsoft.getByIndex(r+1,e)-t.stimulsoft.getByIndex(r,e))*n},c.prototype.renderTable=function(t,e,r,n,i,o,a){var s,l;void 0===o&&(o=!1),void 0===a&&(a=null),t&&this.renderStylesTable(r,n,i);var u=new ve;u.htmlExportSettings=this.htmlExportSettings,u.align=this.htmlExport.pageHorAlignment,u.backImageUrl=e,o&&(u.position="relative"),u.width=fe.newUnit(Math.round2(this.matrix.totalWidth*this.htmlExport.zoom,0),StiOptions.Export.Html.printLayoutOptimization),u.border=a,u.borderWidth=0,u.cellPadding=0,u.cellSpacing=0;var c=this.matrix.coordX,p=this.matrix.coordY,h=c.getKeys(),m=p.getKeys(),d=jt.create2(Boolean,this.matrix.coordX.countItems,this.matrix.coordY.countItems),g=new Kt;try{for(var f=__values(this.matrix.styles),S=f.next();!S.done;S=f.next()){var y=S.value;g.set(y,this.matrix.styles.indexOf(y))}}catch(t){s={error:t}}finally{try{S&&!S.done&&(l=f.return)&&l.call(f)}finally{if(s)throw s.error}}for(var A=null,b=0;b<this.matrix.coordY.countItems-1;b++){if(this.htmlExport.invokeExporting2(b,this.matrix.coordY.countItems,2,3),this.htmlExport.isStopped)return;var C=this.getHeight(p,m,b,this.htmlExport.zoom),v=new Ce;v.height=fe.newUnit(C,StiOptions.Export.Html.printLayoutOptimization),u.rows.push(v);for(var w=[ie.transparent],B=0;B<this.matrix.coordX.countItems-1;B++){if(!d[B][b]){var I=new be;v.cells.push(I);var T=this.getWidth(c,h,B,this.htmlExport.zoom),E=C,R=this.matrix.cells[b][B],D,P;if(null!=R){this.htmlExportSettings.addPageBreaks&&(null!=R.component&&R.component.page!=A&&null!=A&&v.style.set(ve.pageBreakBeforeKey,"always"),A=R.component.page);var x=null!=R.text?R.text:"",F=R.component.as(qt);null!=F&&StiOptions.Export.Html.convertDigitsToArabic&&F.textOptions.rightToLeft;var N=!0,k;null!=R.component&&(null!=(k=R.component.as($t))&&k.checkAllowHtmlTags()&&(x=Mt.StiHtmlExportService.convertTextWithHtmlTagsToHtmlText(k,x,this.htmlExport.zoom),N=!1),StiOptions.Export.Html.forceWysiwygWordwrap&&null!=k&&!k.checkAllowHtmlTags()&&k.textQuality==se.Wysiwyg&&null!=F&&F.textOptions.wordWrap),StiOptions.Export.Html.replaceSpecialCharacters&&N&&(x=x.stimulsoft.replaceAll("&","&").stimulsoft.replaceAll('"',""").stimulsoft.replaceAll("<","<").stimulsoft.replaceAll(">",">").stimulsoft.replaceAll(" "," "));var M=!1;StiOptions.Export.Html.preserveWhiteSpaces&&!Gt.isNullOrWhiteSpace(x)&&x.stimulsoft.contains(" ")?(x=this.htmlExport.prepareTextForHtml(x,!1),M=!0):x=this.htmlExport.prepareTextForHtml(x);for(var O=R.width+1,_=R.height+1,j=B;j<B+O;j++)for(var G=b;G<b+_;G++)d[j][G]=!0;1<O&&(I.columnSpan=O),1<_&&(I.rowSpan=_);var D=this.matrix.cellStyles[b][B],P;if(null==D&&(D=R.cellStyle),null!=D)if(null!=(P=g.get(D))&&this.htmlExport.useStylesTable&&(I.cssClass="s"+D.styleName),StiOptions.Export.Html.useStrictTableCellSize){D.vertAlignment!=te.Top&&I.style.set(ve.vertAlignKey,D.vertAlignment==te.Center?"middle":"bottom");var H=null!=D.textOptions&&D.textOptions.rightToLeft,Q=null;D.horAlignment==ee.Left&&(Q=H?"right":null),D.horAlignment==ee.Right&&(Q=H?null:"right"),D.horAlignment==ee.Center&&(Q="center"),D.horAlignment==ee.Width&&(Q="justify"),null!=Q&&I.style.set(ve.horAlignKey,Q);for(var L=0;L<O;L++)w[B+L]=D.color}if(null!=R.component){var Y=R.component.tagValue;if(!Gt.isNullOrEmpty(Y))for(var U=this.matrix.splitTagWithCache(Y),J=0;J<U.length;J++)if(U[J].toLowerCase().stimulsoft.startsWith("css")){var W=Mt.StiMatrix.getStringsFromTag(U[J],3);if(1<W.length&&this.htmlExport.useStylesTable){I.cssClass=W[0].trim();break}}}if(this.htmlExport.useStylesTable?StiOptions.Export.Html.useExtendedStyle&&(this.htmlExport.renderTextColor(I,D.textColor,!0),this.htmlExport.renderFont(I,D.font)):this.renderStyleTable(I,D),StiOptions.Export.Html.printLayoutOptimization&&null!=D&&null!=D.border&&D.border.style!=re.None&&((E-=D.border.size)<0&&(E=0),(T-=D.border.size)<0&&(T=0)),this.htmlExport.exportQuality==Mt.StiHtmlExportQuality.High)if(StiOptions.Export.Html.forceIE6Compatibility)1==O&&(I.width=fe.newUnit(T,StiOptions.Export.Html.printLayoutOptimization)),1==_&&(I.height=fe.newUnit(E,StiOptions.Export.Html.printLayoutOptimization));else{if(1<O)for(var V=1;V<O;V++)T+=this.getWidth(c,h,B+V,this.htmlExport.zoom);if(1<_)for(var z=1;z<_;z++)E+=this.getHeight(p,m,b+z,this.htmlExport.zoom);I.width=fe.newUnit(T,StiOptions.Export.Html.printLayoutOptimization),I.height=fe.newUnit(E,StiOptions.Export.Html.printLayoutOptimization)}if(this.htmlExport.insertInteractionParameters&&null!=R.component&&!R.component.report.isDocument&&(this.matrix.isComponentHasInteraction(R.component)||0<this.matrix.interactions[b][B][1])){var X=R.component,K;if(this.matrix.isComponentHasInteraction(X)||(K=this.htmlExport.report.renderedPages.getByIndex(this.matrix.interactions[b][B][0]-1),this.htmlExport.report.renderedPages.getPage(K),X=K.components.getByIndex(this.matrix.interactions[b][B][1]-1)),I.interaction=X.name,X.interaction.sortingEnabled){var Z=X.interaction.getSortDataBandName(),q=X.report.getComponentByName(Z),q;if(null!=(q=null!=q?q.as(Wt):null)){I.dataBandSort=Z+";"+Gt.join(";",q.sort);for(var $=0;$<q.sort.length;$+=2)q.sort[$+1]==X.interaction.getSortColumnsString()&&(I.sortDirection=q.sort[$].toLowerCase())}}!X.interaction.drillDownEnabled||null==X.interaction.drillDownPage&&Gt.isNullOrEmpty(X.interaction.drillDownReport)||(null!=X.interaction.drillDownPage&&(I.pageGuid=X.interaction.drillDownPage.guid),Gt.isNullOrEmpty(X.interaction.drillDownReport)||(I.reportFile=X.interaction.drillDownReport),I.pageIndex=X.page.report.renderedPages.indexOf(X.page).toString(),I.componentIndex=X.page.components.indexOf(X).toString(),I.drillDownMode=_t.getName(Ot,X.interaction.drillDownMode));var tt=X.interaction.stimulsoft.as(le),et;null!=tt&&tt.collapsingEnabled&&X.is(ue)&&(et=X,I.collapsed=pe.isCollapsed(et,!1).toString().toLowerCase(),I.componentIndex=et.collapsingIndex.toString())}var k=null,H=null,rt=null,Q=null,Y=!1,K=!1,Z=!1,tt=!1,et=R.exportImage,nt,it,ot,at,st;if(null!=R.component){if(k=R.component.hyperlinkValue,H=R.component.toolTipValue,rt=R.component.bookmarkValue,!Gt.isNullOrWhiteSpace(k)&&k.stimulsoft.startsWith("##")&&(k=k.substr(1)),Gt.isNullOrEmpty(rt))for(var lt=0;lt<=R.height;lt++){for(var ut=!1,ct=0;ct<=R.width;ct++){var pt=this.matrix.bookmarks[b+lt][B+ct];if(!Gt.isNullOrEmpty(pt)){rt=pt,ut=!0;break}}if(ut)break}!Gt.isNullOrWhiteSpace(R.component.guid)&&this.htmlExport.hashBookmarkGuid.containsKey(R.component.guid)&&(Q=R.component.guid),!StiOptions.Export.Html.allowStrippedImages||null!=et||null!=(nt=R.component.as(ce))&&nt.stimulsoft.is(he)&&(!nt.isExportAsImage(Be.StiExportFormat.HtmlTable)||null!=F&&0!=F.textOptions.angle||(et=nt)),null!=R.component.as(we.Report.Chart.IStiChart)&&this.htmlExport.chartType!=Mt.StiHtmlChartType.Image&&(Y=!0),null!=R.component.as(we.Report.Components.StiSparkline)&&this.htmlExport.chartType!=Mt.StiHtmlChartType.Image&&(K=!0),null!=R.component.as(we.Report.Components.Gauge.IStiGauge)&&this.htmlExport.chartType!=Mt.StiHtmlChartType.Image&&(Z=!0),null!=R.component.as(we.Report.Maps.StiMap)&&this.htmlExport.chartType!=Mt.StiHtmlChartType.Image&&(tt=!0);var nt=R.component.as(Vt),ht,nt,nt,mt,dt,gt;null!=nt&&nt.editable&&(ht=new Xt,nt=R.component.page.components.indexOf(R.component),ht.appendFormat("{0};",nt),null!=(nt=R.component.as(zt))&&(mt=ie.transparent,nt.textBrush.is(Qt)?mt=nt.textBrush.color:nt.textBrush.is(Jt)||nt.textBrush.is(Ut)?mt=nt.textBrush.startColor:nt.textBrush.is(Yt)?mt=nt.textBrush.color:nt.textBrush.is(Lt)&&(mt=nt.textBrush.foreColor),ht.appendFormat("CheckBox;{0};{1};{2};#{3:X2}{4:X2}{5:X2};{6};#{7:X2}{8:X2}{9:X2}",nt.checkedValue,we.Report.Components.StiCheckStyle[nt.checkStyleForFalse],we.Report.Components.StiCheckStyle[nt.checkStyleForTrue],nt.contourColor.r,nt.contourColor.g,nt.contourColor.b,nt.size,mt.r,mt.g,mt.b)),null!=R.component.as($t)&&ht.appendFormat("Text"),null!=R.component.as(Ht)&&ht.appendFormat("RichText"),I.editable=ht.toString())}var mt=!0,ft,X,St,yt,At,ft,bt,Ct,vt,ht,yt,At,wt,Bt,It,Tt,Et,Rt,Dt,ft,Pt,xt,Ft,Nt,X,St,yt,At,wt,Bt,It,Tt,Et,Rt,Dt,ft,Pt,xt,Ft,bt,Ct,vt;Gt.isNullOrEmpty(rt)&&Gt.isNullOrEmpty(Q)?Y&&this.htmlExportSettings.chartType==Mt.StiHtmlChartType.AnimatedVector?(Gt.isNullOrEmpty(k)?I.toolTip=H:((ft=new ye).toolTip=H,ft.navigateUrl=k,ft.openLinksTarget=this.htmlExport.openLinksTarget,ft.style.set("display","block"),I.controls.push(ft)),I.id=this.htmlExport.getGuid(R.component),I.text=this.htmlExport.prepareChartData(null,R.component.as(ge),T,E)):K?(I.id=this.htmlExport.getGuid(R.component),I.text=this.htmlExport.prepareSparklineData(null,R.component,T,E)):Z?(I.id=this.htmlExport.getGuid(R.component),I.text=this.htmlExport.prepareGaugeData(null,R.component,T,E)):tt?(I.id=this.htmlExport.getGuid(R.component),I.text=this.htmlExport.prepareMapData(null,R.component,T,E)):R.component.is(we.Report.BarCodes.StiBarCode)||R.component.is(we.Report.Components.StiCheckBox)||R.component.is(we.Report.Components.StiShape)||Y&&this.htmlExportSettings.chartType!=Mt.StiHtmlChartType.AnimatedVector?(X=R.component.as(Zt),St=new Se,yt=Mt.StiSvgHelper.saveComponentToString(X,Be.ImageFormat.Jpeg,.75,100,!1),At=Gt.format('<svg width="{0}" height="{1}"><g transform="scale({2})">{3}</g></svg>',T,E,this.htmlExport.zoom,yt),St.text=At,I.controls.push(St)):null==et?null!=k&&0<k.length?((ft=new ye).text=x,ft.toolTip=H,ft.navigateUrl=k,ft.openLinksTarget=this.htmlExport.openLinksTarget,ft.style.set("display","block"),null!=R.component&&R.component.is(ne)&&(bt=R.component.as(ne),Ct=ae.toColor(bt.textBrush),ft.style.set("color",this.htmlExport.formatColor(Ct))),null!=R.component&&R.component.is(oe)&&((vt=R.component.as(oe)).font.underline?ft.style.set("text-decoration","underline"):ft.style.set("text-decoration","none")),I.controls.push(ft)):(null==(ht=R.component.as($t))||0==ht.angle&&null==ht.indicator?I.text=x:(yt=Mt.StiSvgHelper.saveComponentToString(ht,Be.ImageFormat.Jpeg,.75,100,!1),At=Gt.format('<svg width="{0}" height="{1}"><g transform="scale({2})">{3}</g></svg>',T,E,this.htmlExport.zoom,yt),I.text=At),I.toolTip=H):(wt=this.htmlExport.zoom,Bt=this.htmlExport.imageResolution,StiOptions.Export.Html.useImageResolution&&et.is(me)&&null!=et.imageToDraw&&50<=(It=et.imageToDraw.horizontalResolution)&&It<=1250&&(Bt=It),100!=Bt&&(wt*=Bt/100),Tt=null,this.htmlExport.setCurrentCulture(),Rt={ref:wt},Tt=(Et=et.as(he)).imageToDraw,wt=Rt.ref,this.htmlExport.restoreCulture(),null!=Tt&&(Tt.zoom=Rt.ref,R.exportImage&&(Tt.aspectRatio=R.exportImage.aspectRatio,Tt.multipleFactor=R.exportImage.multipleFactor,Tt.margins=R.exportImage.margins,Tt.horAlignment=R.exportImage.horAlignment,Tt.vertAlignment=R.exportImage.vertAlignment,Tt.imageRotation=R.exportImage.imageRotation,Tt.stretch=R.exportImage.stretch),null!=(Dt=this.matrix.getRealImageData(R,Tt))&&(Tt=Dt),null!=k&&0<k.length?((ft=new ye).navigateUrl=k,ft.toolTip=H,null!=this.htmlExport.htmlImageHost&&(ft.imageUrl=this.htmlExport.htmlImageHost.getImageString(Tt)),ft.cssClass=I.cssClass,ft.width=fe.newUnit(Tt.width/wt*this.htmlExport.zoom,StiOptions.Export.Html.printLayoutOptimization),ft.height=fe.newUnit(Tt.height/wt*this.htmlExport.zoom,StiOptions.Export.Html.printLayoutOptimization),ft.openLinksTarget=this.htmlExport.openLinksTarget,I.controls.push(ft)):((Pt=null)!=R.component&&R.component.is(me)&&(xt=R.component.as(me)).stretch&&1!=xt.aspectRatio&&xt.imageRotation==de.None&&(Pt=xt.imageURLValue?xt.imageURLValue.stimulsoft.as(String):null),(Ft=new Ae).aspectRatio=Tt.aspectRatio,Ft.horAlignment=Tt.horAlignment,Ft.vertAlignment=Tt.vertAlignment,Ft.imageRotation=Tt.imageRotation,Ft.margins=Tt.margins,Ft.multipleFactor=Tt.multipleFactor,Ft.stretch=Tt.stretch,Ft.zoom=Tt.zoom,Ft.base64=Tt.base64,null!=Pt&&0!=Pt.length?Ft.imageUrl=Pt:null!=this.htmlExport.htmlImageHost&&(Ft.imageUrl=this.htmlExport.htmlImageHost.getImageString(Tt)),Ft.toolTip=H,Ft.width=fe.newUnit(Tt.width/wt*this.htmlExport.zoom,!1),Ft.height=fe.newUnit(Tt.height/wt*this.htmlExport.zoom,!1),I.controls.push(Ft)),mt=!1)):(Nt=new ye,Gt.isNullOrWhiteSpace(rt)||Nt.attributes.set("name",rt),Gt.isNullOrEmpty(Q)||Nt.attributes.set("guid",Q),Nt.toolTip=H,Nt.navigateUrl=k,I.toolTip=H,Y?(I.id=this.htmlExport.getGuid(R.component),I.text=this.htmlExport.prepareChartData(null,R.component,T,E)):K?(I.id=this.htmlExport.getGuid(R.component),I.text=this.htmlExport.prepareSparklineData(null,R.component,T,E)):Z||tt?(I.id=this.htmlExport.getGuid(R.component),I.text=this.htmlExport.prepareMapData(null,R.component,T,E)):R.component.is(we.Report.BarCodes.StiBarCode)||R.component.is(we.Report.Components.StiCheckBox)||R.component.is(we.Report.Components.StiShape)||Y&&this.htmlExportSettings.chartType!=Mt.StiHtmlChartType.AnimatedVector?(X=R.component.as(Zt),St=new Se,yt=Mt.StiSvgHelper.saveComponentToString(X,Be.ImageFormat.Jpeg,.75,100,!1),At=Gt.format('<svg width="{0}" height="{1}"><g transform="scale({2})">{3}</g></svg>',T,E,this.htmlExport.zoom,yt),St.text=At,I.controls.push(St)):null!=et&&(wt=this.htmlExport.zoom,Bt=this.htmlExport.imageResolution,StiOptions.Export.Html.useImageResolution&&et.is(me)&&null!=et.imageToDraw&&50<=(It=et.imageToDraw.horizontalResolution)&&It<=1250&&(Bt=It),100!=Bt&&(wt*=Bt/100),Tt=null,this.htmlExport.setCurrentCulture(),Rt={ref:wt},Tt=(Et=et.stimulsoft.as(he)).imageToDraw,wt=Rt.ref,this.htmlExport.restoreCulture(),null!=Tt&&(null!=(Dt=this.matrix.getRealImageData(R,Tt))&&(Tt=Dt),null!=k&&0<k.length?((ft=new ye).navigateUrl=k,ft.toolTip=H,null!=this.htmlExport.htmlImageHost&&(ft.imageUrl=this.htmlExport.htmlImageHost.getImageString(Tt)),ft.cssClass=I.cssClass,ft.width=fe.newUnit(Tt.width/wt*this.htmlExport.zoom,StiOptions.Export.Html.printLayoutOptimization),ft.height=fe.newUnit(Tt.height/wt*this.htmlExport.zoom,StiOptions.Export.Html.printLayoutOptimization),ft.openLinksTarget=this.htmlExport.openLinksTarget,I.controls.push(ft)):((Pt=null)!=R.component&&R.component.is(me)&&(xt=R.component.as(me)).stretch&&1!=xt.aspectRatio&&xt.imageRotation==de.None&&(Pt=xt.imageURLValue?xt.imageURLValue.stimulsoft.as(String):null),(Ft=new Ae).aspectRatio=Tt.aspectRatio,Ft.horAlignment=Tt.horAlignment,Ft.vertAlignment=Tt.vertAlignment,Ft.imageRotation=Tt.imageRotation,Ft.margins=Tt.margins,Ft.multipleFactor=Tt.multipleFactor,Ft.stretch=Tt.stretch,Ft.zoom=Tt.zoom,Ft.base64=Tt.base64,null!=Pt&&0!=Pt.length?Ft.imageUrl=Pt:null!=this.htmlExport.htmlImageHost&&(Ft.imageUrl=this.htmlExport.htmlImageHost.getImageString(Tt)),Ft.toolTip=H,Ft.width=fe.newUnit(Tt.width/wt*this.htmlExport.zoom,!1),Ft.height=fe.newUnit(Tt.height/wt*this.htmlExport.zoom,!1),I.controls.push(Ft)),mt=!1)),mt&&!Y&&(Nt.text=x,null!=R.component&&R.component.is(ne)&&(bt=R.component.as(ne),Ct=ae.toColor(bt.textBrush),Nt.style.set("color",this.htmlExport.formatColor(Ct))),null!=R.component&&R.component.is(oe)&&((vt=R.component.as(oe)).font.underline?Nt.style.set("text-decoration","underline"):Nt.style.set("text-decoration","none"))),I.controls.push(Nt));var Nt=R.component.as($t);null!=Nt&&!Nt.margins.isEmpty&&mt&&(I.style.set(ve.marginsKey,Gt.format("{0} {1} {2} {3}",fe.newUnit(Math.trunc(Nt.margins.top*this.htmlExport.zoom)),fe.newUnit(Math.trunc(Nt.margins.right*this.htmlExport.zoom)),fe.newUnit(Math.trunc(Nt.margins.bottom*this.htmlExport.zoom)),fe.newUnit(Math.trunc(Nt.margins.left*this.htmlExport.zoom)))),null!=I.width&&0<Nt.margins.left+Nt.margins.right&&(I.width.value-=Math.trunc(Nt.margins.left*this.htmlExport.zoom)+Math.trunc(Nt.margins.right*this.htmlExport.zoom)),null!=I.height&&0<Nt.margins.top+Nt.margins.bottom&&(I.height.value-=Math.trunc(Nt.margins.top*this.htmlExport.zoom)+Math.trunc(Nt.margins.bottom*this.htmlExport.zoom))),null!=F&&F.textOptions.wordWrap?(I.style.set("word-wrap","break-word"),M?I.style.set("white-space","pre-wrap"):I.style.remove("white-space")):M?I.style.set("white-space","pre"):I.style.set("white-space","nowrap"),null!=F&&F.textOptions.trimming!=we.System.Drawing.StringTrimming.None&&I.style.set("text-overflow","ellipsis")}else{this.htmlExport.exportQuality==Mt.StiHtmlExportQuality.High&&(I.width=fe.newUnit(T,StiOptions.Export.Html.printLayoutOptimization),I.height=fe.newUnit(E,StiOptions.Export.Html.printLayoutOptimization)),null!=(D=this.matrix.cellStyles[b][B])&&null!=(P=g.get(D))&&this.htmlExport.useStylesTable&&(I.cssClass="s"+D.styleName),Gt.isNullOrEmpty(I.cssClass)&&I.style.set("border","0px")}}null==w[B]&&(w[B]=ie.transparent)}if(StiOptions.Export.Html.useStrictTableCellSize&&0!=w[0].a){for(var N=!0,kt=0;kt<w.length-1;kt++)if(!w[kt].equals(w[kt+1])){N=!1;break}N&&v.style.set("background-color",this.htmlExport.formatColor(w[0]))}}u.renderControl(this.htmlExport.htmlWriter)},c);function c(t,e,r){this.htmlExport=null,this.htmlExportSettings=null,this.matrix=new Mt.StiMatrix(r,!1,t,t.styles),this.htmlExport=t,this.htmlExportSettings=e}Mt.StiHtmlTableRender=t}(e=Be.Export||(Be.Export={}))}(Stimulsoft=Stimulsoft||{}),function(P){var t,Jt,e;Jt=t=P.Report||(P.Report={}),function(Dt){var Pt=P.System.Collections.List,xt=P.System.StiArray,y=P.System.StiObject,Ft=P.System.StiString,M=P.Report.Components.StiRoundedRectanglePrimitive,u=P.System.Drawing.Rectangle,Nt=P.System.Collections.Hashtable,kt=P.System.Drawing.Font,O=P.Report.Components.IStiFont,_=P.Report.Components.IStiBorder,j=P.Report.Components.IStiBrush,G=P.Report.Components.IStiTextBrush,H=P.Report.Components.IStiTextHorAlignment,Q=P.Report.Components.IStiHorAlignment,L=P.Report.Components.IStiVertAlignment,Mt=P.Report.Components.StiLinePrimitive,Ot=P.Base.Drawing.StiBorderSides,x=P.System.Drawing.Rectangle,_t=P.Base.Drawing.StiTextHorAlignment,F=P.Base.Drawing.StiPenStyle,jt=P.Base.Drawing.StiVertAlignment,Y=P.Report.Components.StiText,U=P.Base.Drawing.StiBrush,Gt=P.Report.Components.StiPointPrimitive,J=P.Report.Components.IStiTextOptions,Ht=P.Base.Drawing.StiBorderSide,Qt=P.Report.Components.StiRectanglePrimitive,W=P.Report.Components.StiRichText,N=P.Report.Components.StiVerticalLinePrimitive,k=P.Report.Components.StiHorizontalLinePrimitive,T=P.Report.Export.StiExportDataType,Lt=P.System.Drawing.Color,V=P.System.Text.StringBuilder,z=P.Base.Drawing.StiAdvancedBorder,X=P.Report.Components.IStiText,K=P.Report.Components.StiShape,Z=P.Report.Components.StiPrimitive,q=P.Report.Components.StiCheckBox,E=P.Report.Components.StiSimpleText,Yt=P.Report.Components.StiContainer,$=P.System.Char,e=P.Report.Components.StiBandInteraction,tt=P.Base.Drawing.StiTextRenderer,et=P.Report.Components.StiCheckStyle,rt=P.System.Drawing.FontStyle,nt=P.Report.BarCodes.StiBarCode,R,t;(t=R=Dt.StiTableLineInfo||(Dt.StiTableLineInfo={}))[t["Empty"]=0]="Empty",t[t["Unknown"]=1]="Unknown",t[t["PageHeader"]=2]="PageHeader",t[t["PageFooter"]=3]="PageFooter",t[t["HeaderAP"]=4]="HeaderAP",t[t["FooterAP"]=5]="FooterAP",t[t["HeaderD"]=6]="HeaderD",t[t["FooterD"]=7]="FooterD",t[t["Data"]=8]="Data",t[t["Trash"]=9]="Trash";var t=(Ut.prototype.setBookmarkValue=function(t,e,r){if(null==this.bookmarksTable||null==r)return;var n;(!this.bookmarksTable.containsKey(r)||t<(n=this.bookmarksTable.get(r)).height||t==n.height&&e<n.width)&&this.bookmarksTable.set(r,new P.System.Drawing.Size(e,t))},Ut.sortForMatrix=function(t){var e,r,n,i,o,a,s=new Pt;try{for(var l=__values(t.sort(xt.numberSortFunction)),u=l.next(),c;!u.done;u=l.next()){null!=(c=u.value)&&(s[c]=c)}}catch(t){e={error:t}}finally{try{u&&!u.done&&(r=l.return)&&r.call(l)}finally{if(e)throw e.error}}var p=[];try{for(var h=__values(y.getOwnPropertyNames(t)),m=h.next();!m.done;m=h.next()){var d=m.value,g=d.stimulsoft.toNumber();g<0&&(p[0-g]=t[d])}}catch(t){n={error:t}}finally{try{m&&!m.done&&(i=h.return)&&i.call(h)}finally{if(n)throw n.error}}try{for(var f=__values(p.sort(xt.numberSortFunction)),S=f.next(),c;!S.done;S=f.next()){null!=(c=S.value)&&(s[c]=c)}}catch(t){o={error:t}}finally{try{S&&!S.done&&(a=f.return)&&a.call(f)}finally{if(o)throw o.error}}return s},Ut.prototype.round=function(t){return Math.round(t)},Ut.prototype.addCoord=function(t){this.addCoord2(t.left,t.top+this.totalHeight),this.addCoord2(t.right,t.bottom+this.totalHeight)},Ut.prototype.addCoord2=function(t,e,r){void 0===r&&(r=!0),e>this.maxCoordY&&(this.maxCoordY=e),e=r&&this.isHtmlService&&StiOptions.Export.Html.printLayoutOptimization?(t=this.round(t*Ut.htmlScaleX),this.round(e*Ut.htmlScaleY)):(t=this.round(t),this.round(e)),this.xcHash.containsKey(t)||(this.coordX[t]=t,this.xcHash.set(t,t)),this.ycHash.containsKey(e)||(this.coordY[e]=e,this.ycHash.set(e,e))},Ut.prototype.prepareTable=function(){for(var t=this.coordY.getKeys(),e=1;e<t.length;e++){var r=this.coordY.getByIndex(e,t)-this.coordY.getByIndex(e-1,t),r=this.round(r),n=this.maxRowHeight,n;n<r&&(r<2*n&&(n=this.round(r/2)),n=this.coordY.getByIndex(e-1,t)+n,this.addCoord2(0,n,!1),t=this.coordY.getKeys())}for(var i=this.coordX.getKeys(),o=1;o<this.coordX.countItems;o++){var a=this.coordX.getByIndex(o,i)-this.coordX.getByIndex(o-1,i),a,s=1900,s;s<(a=this.round(a))&&(a<2*s&&(s=this.round(a/2)),s=this.coordX.getByIndex(o-1,i)+s,this.addCoord2(s,0,!1),i=this.coordX.getKeys())}},Ut.prototype.getRange=function(t){var e=this.isHtmlService&&StiOptions.Export.Html.printLayoutOptimization?Ut.htmlScaleX:1,r=this.isHtmlService&&StiOptions.Export.Html.printLayoutOptimization?Ut.htmlScaleY:1,n=this.round(t.left*e),i=this.round((t.top+this.totalHeight)*r),o=this.round(t.right*e),a=this.round((t.bottom+this.totalHeight)*r),s=0,l=0,e=0,t=0,r=this.leftCached.get(n);return null==r?(s=this.coordX.indexOf(n),this.leftCached.set(n,s)):s=r,null==(r=this.topCached.get(i))?(l=this.coordY.indexOf(i),this.topCached.set(i,l)):l=r,null==(r=this.leftCached.get(o))?(e=this.coordX.indexOf(o),this.leftCached.set(o,e)):e=r,null==(r=this.topCached.get(a))?(t=this.coordY.indexOf(a),this.topCached.set(a,t)):t=r,new u(s,l,e-s,t-l)},Ut.prototype.getStyleFromComponent=function(t,e,r,n){var i=Lt.white,o=t.as(j);null==o||t.is(K)||(i=U.toColor(o.brush)),t.is(K)&&this.isHtmlPngMode&&(i=Lt.transparent);var a=t.as(W),s,i;null!=a&&(i=a.backColor),(t.is(Z)||t.is(nt))&&(i=Lt.transparent),-1!=e&&-1!=r&&i.equals(Lt.transparent)&&null!=this.cellsMap[r][e]&&(i=this.cellsMap[r][e].cellStyle.color);var l=Lt.black,u=t.as(G);null!=u&&(l=U.toColor(u.textBrush));var c=null,p=t.as(O),c=null!=p?p.font:new kt("Arial",8),h=_t.Left,m=t.as(H);null!=m&&(h=m.horAlignment);var d=t.as(Q);null!=d&&(h=d.horAlignment-1);var g=jt.Top,f=t.as(L);null!=f&&(g=f.vertAlignment);var S=null,y=null,A=null,b=null,C=t.as(_),v;null!=C&&(null!=(v=C.border.stimulsoft.as(z))?(S=v.leftSide,y=v.rightSide,A=v.topSide,b=v.bottomSide):(S=new Ht(C.border.color,C.border.size,C.border.style),C.border.isRightBorderSidePresent&&(y=S),C.border.isTopBorderSidePresent&&(A=S),C.border.isBottomBorderSidePresent&&(b=S),C.border.isLeftBorderSidePresent||(S=null)));var w=null,B=t.as(J);null!=B&&(w=B.textOptions);var I=!1,T=t.as(X);null!=T&&null!=T.getTextInternal()&&(I=-1!=T.getTextInternal().indexOf("\n")),this.isHtmlOrExcelXmlService&&null!=w&&(I=w.wordWrap);var E=null,o=t.as(Y);if(this.exportFormat==Jt.StiExportFormat.ExcelXml&&null!=o){var R=o.format,a=!1,r=!1,e=!1,D="",u=2,p=0,m="$",d=!1,f=!1,v=null!=o&&o.hideZeros,C=null,B=null,T=R.indexOf("|"),P,x,F,x,D,P,x;if(-1!=T&&(C=Dt.StiExportUtils.getPositivePattern(R[T+1].charCodeAt(0)-"A".charCodeAt(0)),B=Dt.StiExportUtils.getNegativePattern(R[T+2].charCodeAt(0)-"A".charCodeAt(0)),R=R.substr(0,T)),!Ft.isNullOrEmpty(R)&&("C"==R[0]&&(a=!0),"N"==R[0]&&(r=!0),"P"==R[0]&&(e=!0),(a||r||e)&&1<R.length)){var N=1;if($.isDigit(R[N])){var k=new V;while(N<R.length&&$.isDigit(R[N]))k.append(R[N]),N++;u=parseInt(k.toString())}N<R.length&&"G"==R[N]&&(N++,p=3),N<R.length&&"("==R[N]&&(N++,f=!0),N<R.length&&("."==R[N]||","==R[N])&&N++,N<R.length&&("+"==R[N]||"-"==R[N])&&("+"==R[N]&&(d=!0),++N<R.length&&(m=R[N]))}(a||r||e)&&(-1!=T?(P=new V,1<p&&(P.append("#,"),P.append("#",p-1)),P.append("0"),0<u&&(P.append("."),P.append("0",u)),x=P.toString(),D=C.stimulsoft.replaceAll("n",x).stimulsoft.replaceAll("$",'"'+m+'"')+";"+(x=B.stimulsoft.replaceAll("n",x).stimulsoft.replaceAll("$",'"'+m+'"'))+(v?";":"")):(P=new V,a&&1==d&&(P.append('"'),P.append(m),P.append('"')),1<p&&(P.append("#,"),P.append("#",p-1)),P.append("0"),0<u&&(P.append("."),P.append("0",u)),a&&0==d&&(P.append('"'),P.append(m),P.append('"')),e&&P.append("%"),x=(f?"(":"-")+(D=P.toString())+(f?")":""),v?D=D+";"+x+";":f&&(D=D+";"+x))),E=D}var D=null;Ft.isNullOrEmpty(t.componentStyle)||(D=n+t.componentStyle),this.isHtmlOrExcelXmlService&&!StiOptions.Export.Html.useComponentStyleName&&(D=null);var o=null!=o?o.lineSpacing:1;return Dt.StiCellStyle.getStyleFromCache(i,l,c,h,g,A,S,y,b,w,I,E,D,o,this.stylesCache,this.styles,this.fontsCache,null,!1,!t.is(K),t.is(M)?t.round:0)},Ut.prototype.getStyle=function(t){var e,r;try{for(var n=__values(this.styles),i=n.next();!i.done;i=n.next()){var o=i.value;if(o.stimulsoft.equals(t))return o}}catch(t){e={error:t}}finally{try{i&&!i.done&&(r=n.return)&&r.call(n)}finally{if(e)throw e.error}}return this.styles.push(t),t},Ut.prototype.renderComponent=function(t,e,r,n){var i=t.as(q),o=null!=i;if(this.replaceCheckboxes&&o){var a=new Y;a.page=i.page,a.clientRectangle=i.clientRectangle,a.brush=i.brush,a.textBrush=i.textBrush,a.border=i.border,a.horAlignment=_t.Center,a.vertAlignment=jt.Center;var s=t.report.unit.convertToHInches(Math.min(i.width,i.height));if(null!=i.checkedValue){var l=!1,u=i.checkedValue.toString().trim().toLowerCase(),c=i.values.split(new RegExp(";|,|/")),p,l;null!=c&&0<c.length&&(l=u==c[0].trim().toLowerCase());var h=" ",m=null;switch(l?i.checkStyleForTrue:i.checkStyleForFalse){case et.Cross:h=String.fromCharCode(61691),m="Wingdings";break;case et.Check:h=String.fromCharCode(61692),m="Wingdings";break;case et.CrossRectangle:h=String.fromCharCode(61693),m="Wingdings";break;case et.CheckRectangle:h=String.fromCharCode(61694),m="Wingdings";break;case et.CrossCircle:h=String.fromCharCode(61526),m="Wingdings 2";break;case et.DotCircle:h=String.fromCharCode(61604),m="Wingdings";break;case et.DotRectangle:h=String.fromCharCode(61609),m="Wingdings 2";break;case et.NoneCircle:h=String.fromCharCode(61601),m="Wingdings";break;case et.NoneRectangle:h=String.fromCharCode(61608),m="Wingdings";break}" "!=h&&(a.font=new kt(m,.72*s,rt.Regular),a.text=h)}t=a}var o=t.page.unit.convertRectangleToHInches(t.displayRectangle);if(o.height<0&&(o.y+=o.height,o.height=Math.abs(o.height)),!t.is(Mt)&&(0==o.width||0==o.height))return;t.is(Mt)&&(t.is(Qt)?(o.y-=this.defaultLinePrimitiveWidth,o.x-=this.defaultLinePrimitiveWidth):(o.height<1.5&&(o.height=this.defaultLinePrimitiveWidth,o.y-=o.height),o.width<1.5&&(o.width=this.defaultLinePrimitiveWidth,o.x-=o.width)));var d=this.getRange(o);if(-1!=d.left){var u=!0,g=t.bookmarkValue,c=t.tagValue;null==g&&!Ft.isNullOrEmpty(c)&&this.hyperlinksToTag.containsKey(c)&&(g=c);var l=t.as(_),i=null!=l?l.border:null,f=!Ft.isNullOrEmpty(g),m=null!=i&&i.side!=Ot.None,s=!1,h=!1,a=!1,c=!1,l=t.as(Y);null!=l&&(s=null!=l.text&&null!=l.getTextInternal()&&(0<l.getTextInternal().length||e),h=null!=l.brush&&0!=U.toColor(l.brush).a,a=null!=l.excelDataValue,c=null!=l.indicator,u=s||h||a||m||c||l.editable);var c=t.as(Yt);null!=c&&(u=(h=null!=c.brush&&0!=U.toColor(c.brush).a)||m&&!r&&!this.isHtmlOrExcelXmlService),f&&(u=!0);var S=d.left,y=d.right,A=d.top,b=d.bottom;t.is(Qt)&&(u=!1,0==this.coordXPrim[S]&&(this.coordXPrim[S]=1),0==this.coordXPrim[y]&&(this.coordXPrim[y]=1),0==this.coordYPrim[A]&&(this.coordYPrim[A]=1),0==this.coordYPrim[b]&&(this.coordYPrim[b]=1));var C=this.isComponentHasInteraction(t),v=0,w=0;if(C&&(u=!0,v=t.report.renderedPages.indexOf(t.page)+1,w=t.page.components.indexOf(t)+1),u){var B=new Dt.StiCell(this.exportFormat);this.createdCells.push(B),this.exportFormat!=Jt.StiExportFormat.Csv&&this.exportFormat!=Jt.StiExportFormat.Dbf&&this.exportFormat!=Jt.StiExportFormat.Xml&&(B.cellStyle=this.getStyleFromComponent(t,S,A,n));var I=!0;this.exportFormat==Jt.StiExportFormat.ExcelXml&&(I=!1,t.is(W)&&(I=!0),t.is(q)&&(I=!0),null!=l&&null!=l.excelDataValue&&(I=!0),(t.locked||null!=t.tagValue&&0<=t.tagValue.toString().indexOf("excelfreezepanes"))&&(I=!0)),I&&(B.component=t),I&&null!=B.exportImage&&this.imagesBaseRect.set(t,new x(o.x,o.y+this.totalHeight,o.width,o.height)),(this.cells[A][S]=B).left=S,B.top=A;var I=t.as(X);null!=I?(B.text=I.text,null!=t.as(Y)&&!Ft.isNullOrEmpty(B.text)&&B.text.stimulsoft.endsWith(tt.StiForceWidthAlignTag)&&(B.text=B.text.substr(0,B.text.length-tt.StiForceWidthAlignTag.length))):B.text="",B.width=d.width-1,B.height=d.height-1;for(var T=d.x;T<y;T++)for(var E=d.y;E<b;E++)this.cellsMap[E][T]=B,f&&(this.bookmarks[E][T]=g,this.setBookmarkValue(E,T,g)),C&&(this.interactions[E][T][0]=v,this.interactions[E][T][1]=w);t.is(N)?0==this.coordXPrim[B.left]&&(this.coordXPrim[B.left]=1):this.coordXPrim[B.left]=-1,t.is(k)?0==this.coordYPrim[B.top]&&(this.coordYPrim[B.top]=1):this.coordYPrim[B.top]=-1}if(m){var R=i.size,D=new Ht(i.color,R,i.style),I=i.stimulsoft.as(z),m=Ut.staticRectanglePrimitive;if(t.is(N)&&(d.x+=1),t.is(k)&&(d.y+=1),t.is(Qt)&&(d.x+=1,d.y+=1,m=t.as(Qt)),S=d.left,y=d.right,A=d.top,b=d.bottom,null!=I&&(D=I.topSide),i.isTopBorderSidePresent&&D.style!=F.None&&m.topSide)for(var P=S;P<y;P++)(null==this.bordersX[A][P]||this.bordersX[A][P].size<=R)&&(this.bordersX[A][P]=D);if(null!=I&&(D=I.bottomSide),i.isBottomBorderSidePresent&&D.style!=F.None&&m.bottomSide)for(var P=S;P<y;P++)(null==this.bordersX[b][P]||this.bordersX[b][P].size<=R)&&(this.bordersX[b][P]=D);if(null!=I&&(D=I.leftSide),i.isLeftBorderSidePresent&&D.style!=F.None&&m.leftSide)for(var P=A;P<b;P++)(null==this.bordersY[P][S]||this.bordersY[P][S].size<=R)&&(this.bordersY[P][S]=D);if(null!=I&&(D=I.rightSide),i.isRightBorderSidePresent&&D.style!=F.None&&m.rightSide)for(var P=A;P<b;P++)(null==this.bordersY[P][y]||this.bordersY[P][y].size<=R)&&(this.bordersY[P][y]=D)}}},Ut.prototype.getCellRectangle=function(t,e,r){var n=t,i=e,o=t,a=e;while(n<=r.width&&this.cellsMap[i+r.top][n+r.left]!=r)n++;if(n>r.width)return u.empty;o=n;while(o<=r.width&&this.cellsMap[i+r.top][o+r.left]==r)o++;if(n==o)return u.empty;var s=!1,a=i+1;while(a<=r.height&&0==s){if(0<n&&this.cellsMap[r.top+a][r.left+n-1]==r){s=!0;break}if(o<=r.width&&this.cellsMap[a+r.top][r.left+o]==r){s=!0;break}for(var l=n;l<o;l++)if(this.cellsMap[a+r.top][l+r.left]!=r){s=!0;break}s||a++}return new u(n,i,o-n,a-i)},Ut.prototype.cutRectangleFromCellsMap=function(t,e){for(var r=t.left;r<t.right;r++)for(var n=t.top;n<t.bottom;n++)this.cellsMap[e.top+n][e.left+r]=null},Ut.prototype.isComponentHasInteraction=function(t){if(this.addComponentWithInteractions&&null!=t.interaction){if(t.interaction.sortingEnabled&&!Ft.isNullOrWhiteSpace(t.interaction.sortingColumn))return!0;if(t.interaction.drillDownEnabled&&(null!=t.interaction.drillDownPage||!Ft.isNullOrEmpty(t.interaction.drillDownReport)))return!0;if(t.interaction.stimulsoft.is(e)&&t.interaction.collapsingEnabled)return!0}return!1},Ut.prototype.scanComponentsPlacement=function(t,e){void 0===e&&(e=!1);var r=this.coordY.countItems,n=this.coordX.countItems;this.linePlacement=xt.create(Number,r),this.parentBandName=xt.create(String,r);for(var i=0;i<r-1;i++){for(var o=this.linePlacement[i],a=new V,s=!1,l=0,u=1;u<n;u++){var c=this.cells[i][u-1];if(null!=c&&!c.component.is(P.Report.CrossTab.StiCrossColumnTotal)){var p=c.component.componentPlacement;null==p&&(p="");var h=p.indexOf("Hd_HPnl");-1!=h&&(p=p.substr(0,h+7)),s||(p.stimulsoft.startsWith("d")?o=R.Data:p.stimulsoft.startsWith("h.ap")?o=R.HeaderAP:p.stimulsoft.startsWith("f.ap")?o=R.FooterAP:p.stimulsoft.startsWith("h")?o=R.HeaderD:p.stimulsoft.startsWith("f")?o=R.FooterD:p.stimulsoft.startsWith("gh")?o=R.HeaderD:p.stimulsoft.startsWith("gf")?o=R.FooterD:p.stimulsoft.startsWith("ph")?(o=R.PageHeader,s=!0):p.stimulsoft.startsWith("pf")&&(o=R.PageFooter,s=!0)),""!=p&&o==R.Empty&&(o=R.Unknown),0==a.length&&a.append(p+String.fromCharCode(31)),1==a.length&&a.toString()[0]==String.fromCharCode(31)&&""!=p&&a.insert(0,p),o!=R.HeaderD&&o!=R.HeaderAP||null==c.text||a.append(c.text);var m=c.height;e||(m=0);for(var d=0;d<=m;d++)this.linePlacement[i+d]=o,this.parentBandName[i+d]=a.toString();l<m&&(l=m)}}this.linePlacement[i]=o}if(t){for(var g=new Nt,f=null,S=0;S<r-1;S++)if(this.linePlacement[S]==R.HeaderAP){var y=this.parentBandName[S],A,b;if(-1!=(A=y.indexOf(""))&&(b=y.substr(0,A))!=f&&(f=b,g.clear()),g.containsKey(y)){this.linePlacement[S]=R.Trash;while(S+1<r-1&&this.linePlacement[S+1]==R.HeaderAP&&this.parentBandName[S+1]==y)S++,this.linePlacement[S]=R.Trash}else{g.add(y,y);while(S+1<r-1&&this.linePlacement[S+1]==R.HeaderAP&&this.parentBandName[S+1]==y)S++}}for(var C=new Nt,f=null,S=r-1-1;0<=S;S--)if(this.linePlacement[S]==R.FooterAP){var v=this.parentBandName[S],A,b;if(-1!=(A=v.indexOf(""))&&(b=v.substr(0,A))!=f&&(f=b,C.clear()),C.containsKey(v)){this.linePlacement[S]=R.Trash;while(0<=S-1&&this.linePlacement[S-1]==R.FooterAP&&this.parentBandName[S-1]==v)S--,this.linePlacement[S]=R.Trash}else{C.add(v,v);while(0<=S-1&&this.linePlacement[S-1]==R.FooterAP&&this.parentBandName[S-1]==v)S--}}for(var i=0;i<r-1;i++)if(this.linePlacement[i]==R.PageHeader||this.linePlacement[i]==R.PageFooter||this.linePlacement[i]==R.Trash){var w=0;while(0<i+w&&this.linePlacement[i+w-1]==R.Empty)w--,this.linePlacement[i+w]=this.linePlacement[i];w=0;while(i+w<r-1&&this.linePlacement[i+w+1]==R.Empty)w++,this.linePlacement[i+w]=this.linePlacement[i]}}},Ut.prototype.processIntersectedCells=function(t){var e,r,n,i,o,a;if(null==t)return;var s=this.coordX,l=this.coordY,u=s.getKeys(),c=l.getKeys();try{for(var p=__values(t),h=p.next();!h.done;h=p.next()){var m=h.value;if(0!=m.width||0!=m.height){var d=0,g=0,f=this.getCellRectangle(d,g,m);if(f.width==m.width+1&&f.height==m.height+1){this.cutRectangleFromCellsMap(f,m);continue}for(var S=[],y=0;y<=m.height;y++){if(1==this.coordYPrim[m.top+y])continue;for(var A=0;A<=m.width;){if(1==this.coordXPrim[m.left+A]){A++;continue}if(0==(f=this.getCellRectangle(A,y,m)).width){A=m.width+1;continue}this.cutRectangleFromCellsMap(f,m);var b=m.clone();b.left=m.left+f.x,b.top=m.top+f.y,b.width=f.width-1,b.height=f.height-1,this.cells[b.top][b.left]=b,S.push(b),A+=f.width}}if(0<S.length){var C=0,v=null;try{for(var w=(n=void 0,__values(S)),B=w.next();!B.done;B=w.next()){var I=B.value,T=s.getByIndex(I.left+I.width+1,u)-s.getByIndex(I.left,u),E=l.getByIndex(I.top+I.height+1,c)-l.getByIndex(I.top,c);C<T*E&&(C=T*E,v=I)}}catch(t){n={error:t}}finally{try{B&&!B.done&&(i=w.return)&&i.call(w)}finally{if(n)throw n.error}}try{for(var R=(o=void 0,__values(S)),D=R.next();!D.done;D=R.next()){var P=D.value;P!=v&&(P.text="",P.exportImage=null)}}catch(t){o={error:t}}finally{try{D&&!D.done&&(a=R.return)&&a.call(R)}finally{if(o)throw o.error}}}}}}catch(t){e={error:t}}finally{try{h&&!h.done&&(r=p.return)&&r.call(p)}finally{if(e)throw e.error}}t.stimulsoft.clear()},Ut.prototype.splitTagWithCache=function(t){var e=this.tagSplitCache.get(t);if(null!=e)return e;var e=Ut.splitTag(t);return this.tagSplitCache.set(t,e),e},Ut.splitTag=function(t){var e=t;e.stimulsoft.endsWith(";")||(e+=";");var r=[],n=new V,i=0,o=!1;while(i<e.length){var a=e.charAt(i);if(i++,'"'==a&&(o&&'"'==e.charAt(i)?(n.append(a),i++):o=!o),";"==a&&!o||i>=e.length){var s=n.toString().trim();0<s.length&&r.push(s),n=new V;continue}n.append(a)}var t=[];return r.stimulsoft.copyTo(t),t},Ut.getStringsFromTag=function(t,e){var r=[],n=e;while(n<t.length&&'"'!=t.charAt(n))n++;var i=new V,o=!1;while(n<t.length){var a=t.charAt(n);if(n++,'"'==a){if(o){if(n<t.length&&'"'==t.charAt(n)){i.append(a),n++;continue}r.push(i.toString()),i=new V,o=!1;continue}o=!0;continue}o&&i.append(a)}0<i.length&&r.push(i.toString());var e=[];return r.stimulsoft.copyTo(e),e},Ut.prototype.copyFieldsListToFields=function(){this.fields=[];for(var t=0;t<this.fieldsList.length;t++)this.fields[t]=this.fieldsList[t]},Ut.prototype.prepareDocument=function(t,e){this.sizeX=this.coordX.countItems-1,this.sizeY=this.coordY.countItems-1;for(var r=0,n=0;n<this.sizeY;n++)(0<(e&Dt.StiDataExportMode.Data)&&this.linePlacement[n]==R.Data||0<(e&Dt.StiDataExportMode.Headers)&&(this.linePlacement[n]==R.HeaderD||this.linePlacement[n]==R.HeaderAP)||0<(e&Dt.StiDataExportMode.Footers)&&(this.linePlacement[n]==R.FooterD||this.linePlacement[n]==R.FooterAP)||e==Dt.StiDataExportMode.AllBands)&&r++;this.fieldsList=[];for(var n=0;n<this.sizeX;n++)this.fieldsList.push(new D(r));this.copyFieldsListToFields();for(var i=0;i<this.sizeX;i++)this.fields[i].name="FIELD"+i.stimulsoft.toStringFormat("D4");var o="",a=!1;switch(t.exportFormat){case Jt.StiExportFormat.Csv:o="csv";break;case Jt.StiExportFormat.Dbf:o="dbf";break;case Jt.StiExportFormat.Xml:o="xml";break}var s=0;this.htName=new Nt;for(var l=0,u;l<this.sizeY;l++){if(0<(e&Dt.StiDataExportMode.Data)&&this.linePlacement[l]==R.Data||0<(e&Dt.StiDataExportMode.Headers)&&(this.linePlacement[l]==R.HeaderD||this.linePlacement[l]==R.HeaderAP)||0<(e&Dt.StiDataExportMode.Footers)&&(this.linePlacement[l]==R.FooterD||this.linePlacement[l]==R.FooterAP)||e==Dt.StiDataExportMode.AllBands){for(var i=0;i<this.sizeX;i++){var c=this.cells[l][i];if(null!=c){var p=null==c.component.tagValue?"":c.component.tagValue.toString(),h=null;if(Ft.isNullOrEmpty(p)||(h=this.splitTagWithCache(p)),null!=h)for(var n=0,m,d,d;n<h.length;n++){!h[n].toLowerCase().stimulsoft.startsWith("column")||1<(m=Ut.getStringsFromTag(h[n],6)).length&&(this.htName.containsKey(m[0])||(d=this.fields.length,this.fieldsList.push(new D(r)),this.copyFieldsListToFields(),this.fields[d].name=m[0],this.fields[d].readyName=!0,this.fields[d].readyType=!0,this.htName.set(m[0],d)),d=this.htName.get(m[0]),this.fields[d].dataArray[s]=m[1])}if(null!=c.component&&(c.component.is(E)||c.component.is(q))){if(!this.fields[i].readyName){var g=c.component.name;if(a&&!Ft.isNullOrEmpty(c.component.alias)&&(g=c.component.alias),null!=h)for(var f=0;f<h.length;f++){var S=h[f].trim();if(S.toLowerCase().stimulsoft.startsWith(o)||S.toLowerCase().stimulsoft.startsWith("default")){var y=S.indexOf('"');if(-1==y)throw new Error("Name of DataColumn not found in property: "+g);y++;var A=S.indexOf('"',y)-y;if(!(0<A))throw new Error("Name of DataColumn not found in property: "+g);if(g=S.substr(y,A),!S.toLowerCase().stimulsoft.startsWith("default"))break}}t.exportFormat==Jt.StiExportFormat.Dbf&&10<g.length&&(g=g.substr(0,10)),this.fields[i].name=g,this.fields[i].readyName=!0}if(!this.fields[i].readyType&&null!=h&&(t.exportFormat==Jt.StiExportFormat.Xml||t.exportFormat==Jt.StiExportFormat.Dbf)){var b=h[0].split(":",3);b[0]=b[0].trim().toLowerCase();var C=b[0].ss;if(C.startsWith("int")&&(this.fields[i].info[0]=T.Int,this.fields[i].info[1]=15),C.startsWith("long")&&(this.fields[i].info[0]=T.Long,this.fields[i].info[1]=25),C.startsWith("float")&&(this.fields[i].info[0]=T.Float,this.fields[i].info[1]=15,this.fields[i].info[2]=5),C.startsWith("double")&&(this.fields[i].info[0]=T.Double,this.fields[i].info[1]=20,this.fields[i].info[2]=10),C.startsWith("date")&&(this.fields[i].info[0]=T.Date,this.fields[i].info[1]=8,this.fields[i].info[2]=0),C.startsWith("bool")&&(this.fields[i].info[0]=T.Bool,this.fields[i].info[1]=1,this.fields[i].info[2]=0),1<b.length){b[1]=b[1].trim();var v=0;try{0<(v=parseInt(b[1]))&&(this.fields[i].info[1]=v)}catch(t){P.System.StiError.showError(t,!1),v=0}if(2<b.length){b[2]=b[2].trim();var w=0;try{0<(w=parseInt(b[2]))&&w<v&&(this.fields[i].info[2]=w)}catch(t){P.System.StiError.showError(t,!1),w=0}}}this.fields[i].readyType=!0}}var B=c.component.as(W),p=c.component.as(q),C=c.text,I,c,I;Ft.isNullOrWhiteSpace(C)||(null==(I=c.component.as(Y))||Ft.isNullOrWhiteSpace(I.format)||"g"==I.format||-1==C.indexOf(" ")||(C=C.stimulsoft.replaceAll(" "," "))),null==C&&(C=""),null!=p&&null!=p.checkedValue&&(I=c=!1,"boolean"==typeof p.checkedValue&&(p.checkedValue?c=!0:I=!0),"string"==typeof p.checkedValue&&("True"==p.checkedValue?c=!0:I=!0),c&&(C=StiOptions.Export.checkBoxTextForTrue),I&&(C=StiOptions.Export.checkBoxTextForFalse)),Ft.isNullOrEmpty(C)||(C=(t.exportFormat==Jt.StiExportFormat.Xml?C:C=C.stimulsoft.replaceAll("\n"," ")).stimulsoft.replaceAll("\r",""),t.exportFormat==Jt.StiExportFormat.Dbf&&254<C.length&&(C=C.substr(0,254))),this.fields[i].dataArray[s]=C}else this.fields[i].dataArray[s]=""}s++}}this.fields=[];for(var i=0;i<this.fieldsList.length;i++)this.fieldsList[i].readyName&&this.fields.push(this.fieldsList[i]);this.dataArrayLength=r},Ut.prototype.checkStylesNames=function(){for(var t=new Nt,e=0;e<this.styles.length;e++){var r=this.styles[e],n=r.styleName,i="",o=0;while(1){if(!t.contains(n+i))break;i=(++o).toString()}""!=i&&(n+=i,r.styleName=n),t.add(n,n)}},Ut.prototype.getRealImageData=function(t,e){if(null==t||null==t.component||null==e)return null;var r=null,r;if(null==(r=this.imagesBaseRect.get(t.component))||!r.stimulsoft.is(x))return null;var n=r,i=this.isHtmlService&&StiOptions.Export.Html.printLayoutOptimization?Ut.htmlScaleX:1,o=this.isHtmlService&&StiOptions.Export.Html.printLayoutOptimization?Ut.htmlScaleY:1,a=this.round(n.left*i),s=this.round(n.top*o),l=this.round(n.right*i),u=this.round(n.bottom*o),r=0,i=0,n=0,o=0;if(null==this.leftCached.get(a)?(r=this.coordX.indexOf(a),this.leftCached.set(a,r)):r=this.leftCached.get(a),null==this.topCached.get(s)?(i=this.coordY.indexOf(s),this.topCached.set(s,i)):i=this.topCached.get(s),null==this.leftCached.get(l)?(n=this.coordX.indexOf(l),this.leftCached.set(l,n)):n=this.leftCached.get(l),null==this.topCached.get(u)?(o=this.coordY.indexOf(u),this.topCached.set(u,o)):o=this.topCached.get(u),-1==r||-1==n||-1==i||-1==o)return null;if(r==t.left&&n==t.left+t.width+1&&i==t.top&&o==t.top+t.height+1)return null;var r=this.coordY.getKeys(),n=this.coordX.getKeys(),i=Math.trunc(this.coordX.getByIndex(t.left,n)),o=Math.trunc(this.coordY.getByIndex(t.top,r)),n=Math.trunc(this.coordX.getByIndex(t.left+t.width+1,n)),t=t.top+t.height+1;t>r.length-1&&(t=r.length-1);var c,i=(i-a)/(l-a),a=(n-a)/(l-a),o=(o-s)/(u-s),s=(Math.trunc(this.coordY.getByIndex(t,r))-s)/(u-s),p=Math.trunc(e.width*i),h=Math.round(e.width*a+.5),m=Math.trunc(e.height*o),d=Math.round(e.height*s+.5);return null},Ut.prototype.checkComponentPlacement=function(t,e){if(e==Dt.StiDataExportMode.AllBands)return!0;var r=t.componentPlacement;null==r&&(r="");var t=r.indexOf("Hd_HPnl");-1!=t&&(r=r.substring(0,t+7));var t=R.Unknown;if(r.stimulsoft.startsWith("d")?t=R.Data:r.stimulsoft.startsWith("h.ap")?t=R.HeaderD:r.stimulsoft.startsWith("f.ap")?t=R.FooterD:r.stimulsoft.startsWith("h")?t=R.HeaderD:r.stimulsoft.startsWith("f")?t=R.FooterD:r.stimulsoft.startsWith("gh")?t=R.HeaderD:r.stimulsoft.startsWith("gf")&&(t=R.FooterD),0<(e&Dt.StiDataExportMode.Data)&&t==R.Data||0<(e&Dt.StiDataExportMode.Headers)&&t==R.HeaderD||0<(e&Dt.StiDataExportMode.Footers)&&t==R.FooterD)return!0;return!1},Ut.prototype.getBorderSideIndex=function(t){if(null==t)return 0;if(0<this.borderSides.length)for(var e=0;e<this.borderSides.length;e++)if(this.borderSides[e].equals(t))return e+1;return this.borderSides.push(t),this.borderSides.length},Ut.GCCollect=function(){},Ut.prototype.clear=function(){this.cells=null,this.bordersX=null,this.bordersY=null,this.bookmarks=null,this.cellStyles=null,this.cellsMap=null,this.styles=null,this.coordX=null,this.coordY=null,this.linePlacement=null,this.parentBandName=null,this.horizontalPageBreaks=null,this.xcHash.clear(),this.xcHash=null,this.ycHash.clear(),this.ycHash=null,this.coordXCheck=null,this.coordYCheck=null,this.coordXNew=null,this.coordYNew=null,this.coordXPrim=null,this.coordYPrim=null,this.leftCached=null,this.topCached=null,this.tagSplitCache.clear(),this.tagSplitCache=null,this.stylesCache.clear(),this.stylesCache=null,this.fontsCache.clear(),this.fontsCache=null,this.fields=null,this.fieldsList=null,this.htName=null,this.report=null,(this.lastPage=null)!=this.lastComps&&this.lastComps.clear(),null!=this.borderSides&&this.borderSides.stimulsoft.clear(),this.borderSides=null},Ut.staticRectanglePrimitive=new Qt,Ut.htmlScaleX=.96,Ut.htmlScaleY=.956,Ut);function Ut(t,e,r,n,i,o){var a,s,l,u,c,p,h,m,d,g;void 0===i&&(i=Dt.StiDataExportMode.AllBands),void 0===o&&(o=!1),this.totalHeight=0,this.totalWidth=0,this.styles=[],this.coordX=new Pt,this.coordY=new Pt,this.linePlacement=null,this.parentBandName=null,this.bordersX=null,this.bordersY=null,this.horizontalPageBreaks=[],this.cellStyles=null,this.bookmarks=null,this.interactions=null,this.maxRowHeight=200,this._defaultLinePrimitiveWidth=1,this.coordXCheck=null,this.coordYCheck=null,this.coordXNew=null,this.coordYNew=null,this.coordXPrim=null,this.coordYPrim=null,this.imagesBaseRect=null,this.leftCached=new Nt,this.topCached=new Nt,this.xcHash=new Nt,this.ycHash=new Nt,this.tagSplitCache=new Nt,this.stylesCache=new Nt,this.fontsCache=new Nt,this.createdCells=[],this.borderSides=[],this.exportFormat=Jt.StiExportFormat.Excel,this.isHtmlService=!1,this.isHtmlOrExcelXmlService=!1,this.isHtmlPngMode=!1,this.report=null,this.pages=null,this.addComponentWithInteractions=!1,this.replaceCheckboxes=!1,this.hyperlinksToTag=null,this.maxCoordY=0,this.defaultLinePrimitiveWidth=0,this.fields=null,this.dataArrayLength=0,this.fieldsList=null,this.sizeX=0,this.sizeY=0,this.htName=null,this.lastPage=null,this.lastPageId=-1,this.lastComps=null,this.report=t.report,this.pages=t,this.exportFormat=r.exportFormat;var f=this.exportFormat==Jt.StiExportFormat.Dbf||this.exportFormat==Jt.StiExportFormat.Csv||this.exportFormat==Jt.StiExportFormat.Xml;this.isHtmlService=r.stimulsoft.is(Dt.StiHtmlExportService),this.isHtmlOrExcelXmlService=this.isHtmlService||r.stimulsoft.is(Dt.IStiExcelXmlExportService),this.isHtmlPngMode=this.isHtmlService&&r.stimulsoft.as(Dt.StiHtmlExportService).imageFormat==Jt.ImageFormat.Png,this.isHtmlService&&(this.addComponentWithInteractions=r.insertInteractionParameters),r.stimulsoft.is(Dt.IStiExcel2007ExportService)&&(this.replaceCheckboxes=!0),r.stimulsoft.is(Dt.IStiWord2007ExportService)&&(this.replaceCheckboxes=!0);var S=-1;null!=n&&(S=(this.styles=n).length);var y=xt.create(Number,t.count+1),A=xt.create(Number,t.count+1),b=0,C=0,v=!(this.maxCoordY=0);this.defaultLinePrimitiveWidth=this._defaultLinePrimitiveWidth/(this.isHtmlService&&StiOptions.Export.Html.printLayoutOptimization?Ut.htmlScaleY:1),r.stimulsoft.is(Dt.IStiExcel2007ExportService)&&(this.bookmarksTable=new Nt);var w=!0;r.stimulsoft.is(Dt.IStiWord2007ExportService)&&(w=r.removeEmptySpaceAtBottom),r.stimulsoft.is(Dt.IStiExcel2007ExportService)&&(w=StiOptions.Export.Excel.RemoveEmptySpaceAtBottom),r.stimulsoft.is(Dt.StiHtmlExportService)&&(w=r.removeEmptySpaceAtBottom),this.hyperlinksToTag=new Nt;var B=0,I=0;try{for(var T=__values(t.list),E=T.next();!E.done;E=T.next()){var R=E.value;if(t.getPage(R),r.invokeExporting(R,t,r.currentPassNumber,r.maximumPassNumber),r.isStopped)return;var D=this.coordY.countItems;y[b]=this.totalHeight,A[b]=C,b++;var P=R.unit.convertRectangleToHInches(R.clientRectangle),x;null!=R.border&&R.border.side!=Ot.None&&((x=new Yt).displayRectangle=R.clientRectangle,this.addCoord(R.unit.convertRectangleToHInches(x.displayRectangle))),(w||B==t.count-1&&!this.isHtmlService)&&(P.height=0),this.addCoord(P),P=R.unit.convertRectangleToHInches(R.clientRectangle);try{for(var F=(l=void 0,__values(R.components.list)),N=F.next(),k,M,O,_;!N.done;N=F.next()){!(k=N.value).enabled||v&&!k.printable||((M=R.unit.convertRectangleToHInches(k.displayRectangle)).height<0&&(M.y+=M.height,M.height=Math.abs(M.height)),O=!0,k.is(Gt)&&(O=!1),(M.right<P.left||M.left>P.right||M.bottom<P.top||M.top>P.bottom)&&(O=!1),StiOptions.Engine.allowInteractionInChartWithComponents&&k.name.stimulsoft.endsWith("Interaction#FX%")&&(O=!1),this.checkComponentPlacement(k,i)||(O=!1),O&&(k.is(Mt)&&(k.is(Qt)?(this.addCoord(M),M.y-=this.defaultLinePrimitiveWidth,M.x-=this.defaultLinePrimitiveWidth):(M.height<1.5&&(M.height=this.defaultLinePrimitiveWidth,M.y-=M.height),M.width<1.5&&(M.width=this.defaultLinePrimitiveWidth,M.x-=M.width))),this.addCoord(M),null!=k.hyperlinkValue&&(_=k.hyperlinkValue,!Ft.isNullOrEmpty(_)&&2<_.length&&_.stimulsoft.startsWith("##")&&this.hyperlinksToTag.set(_.substr(2),null))))}}catch(t){l={error:t}}finally{try{N&&!N.done&&(u=F.return)&&u.call(F)}finally{if(l)throw l.error}}0==B&&(this.coordY=Ut.sortForMatrix(this.coordY)),o&&this.maxCoordY>P.height&&(this.maxCoordY=P.height),this.totalHeight=this.maxCoordY,C=Math.round(this.maxCoordY*(this.isHtmlService&&StiOptions.Export.Html.printLayoutOptimization?Ut.htmlScaleY:1)),this.totalWidth=Math.max(this.totalWidth,R.unit.convertToHInches(R.width)*(this.isHtmlService&&StiOptions.Export.Html.printLayoutOptimization?Ut.htmlScaleX:1)),B++;var j=this.coordY.countItems;I<j-D&&(I=j-D)}}catch(t){a={error:t}}finally{try{E&&!E.done&&(s=T.return)&&s.call(T)}finally{if(a)throw a.error}}this.coordX=Ut.sortForMatrix(this.coordX),y[b]=this.totalHeight,e&&this.prepareTable(),this.isHtmlOrExcelXmlService&&this.addCoord2(0,C+1,!1);for(var G=this.coordY.getKeys(),H=this.coordX.getKeys(),Q=0;Q<G.length;Q++)this.topCached.set(this.coordY.getByIndex(Q,G),Q);for(var L=0;L<H.length;L++)this.leftCached.set(this.coordX.getByIndex(L,H),L);this.cells=xt.create2(Dt.StiCell,G.length,H.length),this.bordersX=xt.create2(Ht,G.length,H.length),this.bordersY=xt.create2(Ht,G.length,H.length),this.bookmarks=xt.create2(String,G.length,H.length),this.cellsMap=xt.create2(Dt.StiCell,G.length,H.length),this.coordXCheck=xt.create(Boolean,H.length),this.coordYCheck=xt.create(Boolean,G.length),this.coordXNew=xt.create(Number,H.length),this.coordYNew=xt.create(Number,G.length),this.coordXPrim=xt.create(Number,H.length),this.coordYPrim=xt.create(Number,G.length),this.imagesBaseRect=new Nt,b=0,this.addComponentWithInteractions&&(this.interactions=xt.create3(Number,G.length,H.length,2));var Y=null,B=0,U=this.coordY.countItems;try{for(var J=__values(t.list),W=J.next();!W.done;W=J.next()){var R=W.value,x;if(t.getPage(R),r.invokeExporting(R,t,r.currentPassNumber+1,r.maximumPassNumber),r.isStopped)return;this.totalHeight=y[b++],null!=R.border&&R.border.side!=Ot.None&&((x=new Yt).displayRectangle=R.clientRectangle,x.border=R.border,x.brush=R.brush,x.page=R,this.renderComponent(x,f,!0,r.exportServiceId));var P=R.unit.convertRectangleToHInches(R.clientRectangle);try{for(var V=(h=void 0,__values(R.components.list)),z=V.next(),k,M,O;!z.done;z=V.next()){!(k=z.value).enabled||v&&!k.printable||((M=R.unit.convertRectangleToHInches(k.displayRectangle)).height<0&&(M.y+=M.height,M.height=Math.abs(M.height)),O=!0,k.is(Gt)&&(O=!1),(M.right<P.left||M.left>P.right||M.bottom<P.top||M.top>P.bottom)&&(O=!1),this.checkComponentPlacement(k,i)||(O=!1),O&&this.renderComponent(k,f,!1,r.exportServiceId))}}catch(t){h={error:t}}finally{try{z&&!z.done&&(m=V.return)&&m.call(V)}finally{if(h)throw h.error}}if(null!=R.bookmarkValue){var X=R.bookmarkValue,M;if(!Ft.isNullOrEmpty(X))if(-1!=(M=this.getRange(R.unit.convertRectangleToHInches(R.clientRectangle))).left){-1==M.bottom&&(M.height=U-1-M.top);for(var Q=M.y;Q<M.bottom;Q++){for(var K=!1,L=M.x;L<M.right;L++)if(null!=this.cellsMap[Q][L]&&null==this.bookmarks[Q][L]){this.bookmarks[Q][L]=X,this.setBookmarkValue(Q,L,X),K=!0;break}if(!K)for(var L=M.x;L<M.right;L++)if(null!=this.cellsMap[Q][L]){this.bookmarks[Q][L]=X,this.setBookmarkValue(Q,L,X);break}}}}B++}}catch(t){c={error:t}}finally{try{W&&!W.done&&(p=J.return)&&p.call(J)}finally{if(c)throw c.error}}this.processIntersectedCells(this.createdCells),H=this.coordX.getKeys();for(var Z=0,q=0;q<H.length;q++)this.coordXNew[q]=Z,q<H.length-1&&this.coordX.getByIndex(q+1,H)-this.coordX.getByIndex(q,H)<1.1&&1==this.coordXPrim[q]&&(this.coordXCheck[q]=!0,Z++);G=this.coordY.getKeys();for(var $=0,q=0,tt;q<G.length;q++)this.coordYNew[q]=$,q<G.length-1&&this.coordY.getByIndex(q+1,G)-this.coordY.getByIndex(q,G)<1.1&&1==this.coordYPrim[q]&&(this.coordYCheck[q]=!0,$++);if(!0&&(0<$||0<Z)){for(var et=xt.create2(Boolean,G.length,H.length),Q=0;Q<G.length-1;Q++)for(var L=0;L<H.length-1;L++){var rt=this.coordXNew[L],nt=this.coordYNew[Q],it=this.cells[Q][L];this.bordersX[Q-nt][L-rt]=this.bordersX[Q][L],this.bordersY[Q-nt][L-rt]=this.bordersY[Q][L];var ot=this.bookmarks[Q][L];if(this.bookmarks[Q-nt][L-rt]=ot,this.setBookmarkValue(Q-nt,L-rt,ot),this.addComponentWithInteractions&&(this.interactions[Q-nt][L-rt][0]=this.interactions[Q][L][0],this.interactions[Q-nt][L-rt][1]=this.interactions[Q][L][1]),null!=it&&0==et[Q][L]){for(var at=0;at<=it.height;at++)for(var st=0;st<=it.width;st++)et[Q+at][L+st]=!0,0==at&&0==st||(this.cells[Q+at][L+st]=null);1==this.coordXCheck[L]||1==this.coordYCheck[Q]?it=this.cells[Q][L]=null:(it.width-=this.coordXNew[L+it.width+1]-rt,it.height-=this.coordYNew[Q+it.height+1]-nt,it.left-=rt,it.top-=nt),(0<rt||0<nt)&&(this.cells[Q-nt][L-rt]=it,it=this.cells[Q][L]=null)}}for(var q=0;q<H.length-1;q++){var rt=this.coordXNew[q];this.bordersX[G.length-1-$][q-rt]=this.bordersX[G.length-1][q]}for(var q=0;q<G.length-1;q++){var nt=this.coordYNew[q];this.bordersY[q-nt][H.length-1-Z]=this.bordersY[q][H.length-1]}for(var q=this.coordX.countItems-1-1;0<=q;q--)1==this.coordXCheck[q]&&this.coordX.removeByIndex(q);for(var q=this.coordY.countItems-1-1;0<=q;q--)1==this.coordYCheck[q]&&this.coordY.removeByIndex(q)}if(this.isHtmlOrExcelXmlService){var lt=this.coordX.countItems,ut=this.coordY.countItems;this.cellStyles=xt.create2(Dt.StiCellStyle,ut,lt);var et=xt.create2(Boolean,ut,lt),ct=new kt("Arial",8),pt=this.styles,ht=[];ht.stimulsoft.addRange(this.styles),-1==S?this.styles.stimulsoft.clear():this.styles.stimulsoft.removeRange(S,this.styles.length-S),this.stylesCache.clear();var mt=[];try{for(var dt=__values(this.styles),gt=dt.next();!gt.done;gt=dt.next()){var ft=gt.value;Dt.StiCellStyle.getStyleFromCache(ft.color,ft.textColor,ft.font,ft.horAlignment,ft.vertAlignment,ft.border,ft.borderL,ft.borderR,ft.borderB,ft.textOptions,ft.wordWrap,ft.format,ft.internalStyleName,ft.lineSpacing,this.stylesCache,mt,this.fontsCache,ft,!0,ft.overflow,ft.borderRadius)}}catch(t){d={error:t}}finally{try{gt&&!gt.done&&(g=dt.return)&&g.call(dt)}finally{if(d)throw d.error}}for(var St=1;St<ut-1;St++)for(var yt=1;yt<lt;yt++)if(0==et[St-1][yt-1]){var At=this.cells[St-1][yt-1];if(null!=At){for(var at=0;at<=At.height;at++)for(var st=0;st<=At.width;st++)et[St-1+at][yt-1+st]=!0;for(var bt=!0,Ct=!0,q=0;q<At.height+1;q++)null==this.bordersY[At.top+q][At.left]&&(bt=!1),null==this.bordersY[At.top+q][At.left+At.width+1]&&(Ct=!1);for(var vt=!0,wt=!0,q=0;q<At.width+1;q++)null==this.bordersX[At.top][At.left+q]&&(vt=!1),null==this.bordersX[At.top+At.height+1][At.left+q]&&(wt=!1);this.styles=ht;var ft=At.cellStyle;this.styles=pt;var Bt=Dt.StiCellStyle.getStyleFromCache(ft.color,ft.textColor,ft.font,ft.horAlignment,ft.vertAlignment,vt?this.bordersX[At.top][At.left]:null,bt?this.bordersY[At.top][At.left]:null,Ct?this.bordersY[At.top][At.left+At.width+1]:null,wt?this.bordersX[At.top+At.height+1][At.left]:null,ft.textOptions,ft.wordWrap,ft.format,ft.internalStyleName,ft.lineSpacing,this.stylesCache,this.styles,this.fontsCache,ft,!1,ft.overflow,ft.borderRadius);this.cellStyles[St-1][yt-1]=Bt}else{var bt=!0,Ct=!0;null==this.bordersY[St-1][yt-1]&&(bt=!1),null==this.bordersY[St-1][yt-0]&&(Ct=!1);var vt=!0,wt=!0,Bt;null==this.bordersX[St-1][yt-1]&&(vt=!1),null==this.bordersX[St-0][yt-1]&&(wt=!1),(bt||Ct||vt||wt)&&(Bt=Dt.StiCellStyle.getStyleFromCache(Lt.transparent,Lt.black,ct,_t.Center,jt.Center,vt?this.bordersX[St-1][yt-1]:null,bt?this.bordersY[St-1][yt-1]:null,Ct?this.bordersY[St-1][yt-0]:null,wt?this.bordersX[St-0][yt-1]:null,null,!1,null,null,1,this.stylesCache,this.styles,this.fontsCache,null,!1,!0,0),this.cellStyles[St-1][yt-1]=Bt)}}this.checkStylesNames()}U=this.coordY.countItems,G=this.coordY.getKeys();var It=t.count;if(1<It)for(var Tt=1,Q=0;Q<U;Q++)for(var Et=this.coordY.getByIndex(Q,G),Rt=Tt;Rt<It;Rt++)if(A[Rt]==Et){this.horizontalPageBreaks.push(Q),Tt=Rt+1;break}}Dt.StiMatrix=t;var D=r;function r(t){this.name="",this.info=[],this.formatString="",this.dataArray=[],this.readyName=!1,this.readyType=!1}Dt.DataField=D}(e=Jt.Export||(Jt.Export={}))}(Stimulsoft=Stimulsoft||{}),function(t){var e,t,r,n;t=e=t.Report||(t.Report={}),t=r=t.Export||(t.Export={}),(t=n=t.EmfTextAlignmentMode||(t.EmfTextAlignmentMode={}))[t["TA_LEFT"]=0]="TA_LEFT",t[t["TA_RIGHT"]=2]="TA_RIGHT",t[t["TA_CENTER"]=6]="TA_CENTER",t[t["TA_TOP"]=0]="TA_TOP",t[t["TA_BOTTOM"]=8]="TA_BOTTOM",t[t["TA_BASELINE"]=24]="TA_BASELINE",t[t["TA_NOUPDATECP"]=0]="TA_NOUPDATECP",t[t["TA_UPDATECP"]=1]="TA_UPDATECP",t[t["TA_RTLREADING"]=256]="TA_RTLREADING",t[t["TA_MASK"]=287]="TA_MASK"}(Stimulsoft=Stimulsoft||{}),function(E){var t,e,r,n,R,D,P,x,F,N,k,M,O,_,j;function i(){}e=t=E.Report||(E.Report={}),n=r=e.Export||(e.Export={}),R=E.Report.Components.IStiBorder,D=E.Base.Drawing.StiBorder,P=E.Report.Components.StiHorizontalLinePrimitive,x=E.Report.Components.StiCrossLinePrimitive,F=E.Report.Components.StiImage,N=E.Report.Components.StiText,k=E.Report.Components.StiContainer,M=E.Base.Drawing.StiBorderSides,O=E.System.Drawing.Rectangle,_=E.Base.StiGuidUtils,j=E.Report.Components.StiPagesCollection,i.divide=function(t,e){var r,n,i,o,a,s;void 0===e&&(e=null);var l=!1;try{for(var u=__values(t.list),c=u.next(),p;!c.done;c=u.next()){if(1<(p=c.value).segmentPerWidth||1<p.segmentPerHeight){l=!0;break}}}catch(t){r={error:t}}finally{try{c&&!c.done&&(n=u.return)&&n.call(u)}finally{if(r)throw r.error}}if(!l)return t;var h=new j(t.report,t);h.cacheMode=t.cacheMode,1==h.cacheMode&&(h.canUseCacheMode=!0);try{for(var m=__values(t.list),d=m.next();!d.done;d=m.next()){var p=d.value;if(t.getPage(p),null!=e&&e.invokeExporting(p,t,e.currentPassNumber,e.maximumPassNumber),1<p.segmentPerWidth||1<p.segmentPerHeight)for(var g=0;g<p.segmentPerHeight;g++)for(var f=0;f<p.segmentPerWidth;f++){var S=p.clone(!1,!1),y;S.cacheGuid=_.newGuid(),S.segmentPerWidth=1,S.segmentPerHeight=1,e.stimulsoft.is(E.Report.Export.IStiPdfExportService)&&(y=M.None,0<f&&(y|=M.Left),f<p.segmentPerWidth-1&&(y|=M.Right),0<g&&(y|=M.Top),g<p.segmentPerHeight-1&&(y|=M.Bottom),S.tagValue="Segments:"+y.toString());var A=new O(f*S.width,g*S.height,S.width,S.height);try{for(var b=(a=void 0,__values(p.components.list)),C=b.next();!C.done;C=b.next()){var v=C.value,w,B,I,T,T;if(v.enabled){if(A.left<=v.left&&v.left<A.right&&A.top<=v.top&&v.top<A.bottom){var w=v.right>(f+1.5)*S.width,B;0!=f||0!=g||w?((B=v.clone()).left-=A.left,B.top-=A.top,w&&(B.width=1.5*S.width-B.left),S.components.add(B)):S.components.add(v);continue}v.left<A.right&&v.right>A.left&&v.top<A.bottom&&v.bottom>A.top&&(w=!e.stimulsoft.is(E.Report.Export.IStiPdfExportService),B=null,v.is(k)&&(B=v.clone()),v.is(N)&&(I=v.clone(),w&&(I.text=""),B=I),v.is(F)&&((T=new k).border=v.stimulsoft.as(F).border,T.brush=v.stimulsoft.as(F).brush,B=T),(v.is(x)||v.is(P))&&(B=v.clone()),null!=B&&(T=new D,B.is(R)&&(T=B.border),v.left<A.left&&w?(B.left=0,T.side&=M.All^M.Left):B.left-=A.left,v.right>A.right&&w?(B.width=S.width-B.left,T.side&=M.All^M.Right):B.width=v.right-(A.left+B.left),v.top<A.top&&w?(B.top=0,T.side&=M.All^M.Top):B.top-=A.top,v.bottom>A.bottom&&w?(B.height=S.height-B.top,T.side&=M.All^M.Bottom):B.height=v.bottom-(A.top+B.top),S.components.add(B)))}}}catch(t){a={error:t}}finally{try{C&&!C.done&&(s=b.return)&&s.call(b)}finally{if(a)throw a.error}}h.addV2Internal(S)}else h.canUseCacheMode=!1,h.addV2Internal(p),h.canUseCacheMode=h.cacheMode}}catch(t){i={error:t}}finally{try{d&&!d.done&&(o=m.return)&&o.call(m)}finally{if(i)throw i.error}}return h.canUseCacheMode=!1,h},e=i,n.StiSegmentPagesDivider=e}(Stimulsoft=Stimulsoft||{}),function(t){var e,r,n,i;function o(){}r=e=t.Report||(t.Report={}),i=n=r.Chart||(r.Chart={}),Object.defineProperty(o,"isAssemblyLoaded",{get:function(){return null!=t.Report.Export["StiPdfExportService"]},enumerable:!1,configurable:!0}),r=o,i.StiExportAssembly=r}(Stimulsoft=Stimulsoft||{}),function(y){var t,A,b,C,e;function r(t,e,r){void 0===t&&(t=A.StiRangeType.All),void 0===e&&(e=""),void 0===r&&(r=0),this.rangeType=A.StiRangeType.All,this.pageRanges="",this.currentPage=0,this.rangeType=t,this.pageRanges=e,this.currentPage=r}A=t=y.Report||(y.Report={}),b=y.System.StiString,C=y.Report.Components.StiPagesCollection,r.prototype.equals=function(t){if(null==t)return!1;var e;if(this.rangeType!=t.rangeType||this.pageRanges!=t.pageRanges||this.currentPage!=t.currentPage)return!1;return!0},r.prototype.getSelectedPages=function(t){var e,r,n,i,o=new C(t.report,t);if(o.cacheMode=t.cacheMode,"All"==this.pageRanges&&(this.rangeType=A.StiRangeType.All),this.rangeType==A.StiRangeType.Pages){if(!b.isNullOrEmpty(this.pageRanges)){var a=this.pageRanges.split(",");try{for(var s=__values(a),l=s.next();!l.done;l=s.next()){var u=l.value;if(-1==u.indexOf("-"))try{var c=parseInt(u.trim());1<=c&&c<=t.count&&o.addV2Internal(t.getByIndex(c-1))}catch(t){y.System.StiError.showError(t,!1)}else{var p=u.split("-");try{var h=parseInt(p[0].trim()),m=parseInt(p[1].trim()),m=Math.min(m,t.count);if(1<=h&&h<=t.count&&1<=m&&m<=t.count)if(h<=m)for(var d=h;d<=m;d++)o.addV2Internal(t.getByIndex(d-1));else for(var d=h;m<=d;d--)o.addV2Internal(t.getByIndex(d-1))}catch(t){y.System.StiError.showError(t,!1)}}}}catch(t){e={error:t}}finally{try{l&&!l.done&&(r=s.return)&&r.call(s)}finally{if(e)throw e.error}}}if(0!=o.count)return o}else if(this.rangeType==A.StiRangeType.CurrentPage&&(0<=this.currentPage&&this.currentPage<t.count&&o.addV2Internal(t.getByIndex(this.currentPage)),0!=o.count))return o;try{for(var g=__values(t.list),f=g.next();!f.done;f=g.next()){var S=f.value;o.addV2Internal(S)}}catch(t){n={error:t}}finally{try{f&&!f.done&&(i=g.return)&&i.call(g)}finally{if(n)throw n.error}}return o},r.All=new r,e=r,A.StiPagesRange=e}(Stimulsoft=Stimulsoft||{}),function(C){var t,e,r;e=t=C.Report||(C.Report={}),function(t){function e(t,e){return t+" : "+e.toString()}var p=C.System.StiString,S=C.Report.Dictionary.StiBusinessObject,y=C.Report.Dictionary.StiDataSource,A=C.System.Collections.Hashtable,l=C.System.Globalization.CultureInfo,r=C.System.ResourceManager,b=C.System.Text.StringBuilder,n,i;(i=n=t.Gender||(t.Gender={}))[i["Masculine"]=0]="Masculine",i[i["Feminine"]=1]="Feminine",i[i["Neutral"]=2]="Neutral";var i=(Object.defineProperty(o.prototype,"gender",{get:function(){return null},enumerable:!1,configurable:!0}),Object.defineProperty(o.prototype,"centsGender",{get:function(){return null},enumerable:!1,configurable:!0}),o);function o(){}t.BaseCurrency=i;var i=(__extends(s,a=i),Object.defineProperty(s.prototype,"dollars",{get:function(){return null},enumerable:!1,configurable:!0}),Object.defineProperty(s.prototype,"cents",{get:function(){return null},enumerable:!1,configurable:!0}),Object.defineProperty(s.prototype,"dollarOne",{get:function(){return this.dollars[0]},enumerable:!1,configurable:!0}),Object.defineProperty(s.prototype,"dollarTwo",{get:function(){return this.dollars[1]},enumerable:!1,configurable:!0}),Object.defineProperty(s.prototype,"dollarFive",{get:function(){return this.dollars[2]},enumerable:!1,configurable:!0}),Object.defineProperty(s.prototype,"centOne",{get:function(){return this.cents[0]},enumerable:!1,configurable:!0}),Object.defineProperty(s.prototype,"centTwo",{get:function(){return this.cents[1]},enumerable:!1,configurable:!0}),Object.defineProperty(s.prototype,"centFive",{get:function(){return this.cents[2]},enumerable:!1,configurable:!0}),s),a;function s(){return null!==a&&a.apply(this,arguments)||this}t.Currency=i;var i=(u.addWord=function(t,e,r){var n=t.ref;p.isNullOrEmpty(e)||(n=n+r+e),t.ref=n},u.addWords=function(t,e,r,n,i){var o="",a={ref:o};return this.addWord(a,t," "),this.addWord(a,r," "),this.addWord(a,i," "),this.addWord(a,e," "),this.addWord(a,n," "),o=a.ref},u.determinateCurrencies=function(t,e,r,n,i,o){var a=i.ref,s=o.ref,a=0<r/1e6&&r%1e6==0?c.resourceManager.getString(e+"BigSeparator",t):1<r?c.resourceManager.getString(e+"Plural",t):c.resourceManager.getString(e+"Single",t),s=1<n?c.resourceManager.getString(e+"CentPlural",t):c.resourceManager.getString(e+"CentSingle",t);i.ref=a,o.ref=s},u.maxValue=1e15,u);function u(){}t.NumToWordHelper=i,t.NumToWordException=e;var c=(Object.defineProperty(h,"resourceManager",{get:function(){return null==this.resourceMan&&(this.resourceMan=new r),this.resourceMan},enumerable:!1,configurable:!0}),Object.defineProperty(h,"culture",{get:function(){return this.resourceCulture},set:function(t){this.resourceCulture=t},enumerable:!1,configurable:!0}),Object.defineProperty(h,"eurBigSeparator",{get:function(){return this.resourceManager.getString("EURBigSeparator",this.resourceCulture)},enumerable:!1,configurable:!0}),Object.defineProperty(h,"eurCentGender",{get:function(){return this.resourceManager.getString("EURCentGender",this.resourceCulture)},enumerable:!1,configurable:!0}),Object.defineProperty(h,"eurCentPlural",{get:function(){return this.resourceManager.getString("EURCentPlural",this.resourceCulture)},enumerable:!1,configurable:!0}),Object.defineProperty(h,"EURCentSingle",{get:function(){return this.resourceManager.getString("EURCentSingle",this.resourceCulture)},enumerable:!1,configurable:!0}),Object.defineProperty(h,"EURGender",{get:function(){return this.resourceManager.getString("EURGender",this.resourceCulture)},enumerable:!1,configurable:!0}),Object.defineProperty(h,"EURPlural",{get:function(){return this.resourceManager.getString("EURPlural",this.resourceCulture)},enumerable:!1,configurable:!0}),Object.defineProperty(h,"EURSingle",{get:function(){return this.resourceManager.getString("EURSingle",this.resourceCulture)},enumerable:!1,configurable:!0}),Object.defineProperty(h,"GBPBigSeparator",{get:function(){return this.resourceManager.getString("GBPBigSeparator",this.resourceCulture)},enumerable:!1,configurable:!0}),Object.defineProperty(h,"GBPCentGender",{get:function(){return this.resourceManager.getString("GBPCentGender",this.resourceCulture)},enumerable:!1,configurable:!0}),Object.defineProperty(h,"GBPCentPlural",{get:function(){return this.resourceManager.getString("GBPCentPlural",this.resourceCulture)},enumerable:!1,configurable:!0}),Object.defineProperty(h,"GBPCentSingle",{get:function(){return this.resourceManager.getString("GBPCentSingle",this.resourceCulture)},enumerable:!1,configurable:!0}),Object.defineProperty(h,"GBPGender",{get:function(){return this.resourceManager.getString("GBPGender",this.resourceCulture)},enumerable:!1,configurable:!0}),Object.defineProperty(h,"GBPPlural",{get:function(){return this.resourceManager.getString("GBPPlural",this.resourceCulture)},enumerable:!1,configurable:!0}),Object.defineProperty(h,"GBPSingle",{get:function(){return this.resourceManager.getString("GBPSingle",this.resourceCulture)},enumerable:!1,configurable:!0}),Object.defineProperty(h,"TooLongError",{get:function(){return this.resourceManager.getString("TooLongError",this.resourceCulture)},enumerable:!1,configurable:!0}),h);function h(){}t.Resource=c;var i=(m.toRoman=function(t){return C.Data.Functions.Funcs.toRoman(t)},m.toABC=function(t){return C.Data.Functions.Funcs.toABC(t)},m.toABCNumeric=function(t){return C.Data.Functions.Funcs.toABCNumeric(t)},m.toABCRu=function(t){return C.Data.Functions.Funcs.toABCRu(t)},m.toArabic=function(t,e){return C.Data.Functions.Funcs.toArabic(t,e)},m);function m(){}t.Convert=i;var i=(d.joinColumnContent=function(t,e,r,n){if(void 0===n&&(n=!1),t.is(y)){var i=t,o=new Array,a=new A;if(!i.isEmpty){i.saveState("JoinColumnContent"),i.first();while(!i.isEof){var s=i.getByName(e).toString(),l=!0;n&&(a.containsKey(s)?l=!1:a.set(s,null)),l&&o.push(s),i.next()}i.restoreState("JoinColumnContent")}for(var u=new b,c=0;c<o.length;c++)u.append(o[c]),c<o.length-1&&u.append(r);return u.toString()}if(t.is(S)){var p=t,o=new Array,a=new A;if(!p.isEmpty&&0<p.count){p.saveState("JoinColumnContent"),p.first();var h=e.split(".");while(!p.isEof){var m=p,d=null,g=0;while(g<h.length-1){if(d=h[g],m.columns.contains(d))break;m=m.businessObjects.getByName(d),g++}var f,s=m.getByName(h[g]).toString(),l=!0;n&&(a.containsKey(s)?l=!1:a.set(s,null)),l&&o.push(s),p.next()}p.restoreState("JoinColumnContent")}for(var u=new b,c=0;c<o.length;c++)u.append(o[c]),c<o.length-1&&u.append(r);return u.toString()}return""},d.toQueryString=function(t,e,r){var n,i,o=new b,a=0;try{for(var s=__values(t),l=s.next();!l.done;l=s.next()){var u=l.value;0<a&&o.append(", ");var c=void 0,c=p.isNullOrEmpty(r)?u.toString():p.format(r,C.System.Convert.toDateTime(u).toString());p.isNullOrEmpty(e)||(c=c.stimulsoft.replaceAll(e,e+e)),o.append(e+c+e),a++}}catch(t){n={error:t}}finally{try{l&&!l.done&&(i=s.return)&&i.call(s)}finally{if(n)throw n.error}}return o.toString()},d);function d(){}t.EngineHelper=i;var i=(g.monthName=function(e,t,r){if(void 0===t&&(t=null),void 0===r&&(r=null),null==t)return this.monthName(e,l.currentCulture.name.toString());if("boolean"==typeof t){var n;if(t)switch(e.month){case 1:return C.Base.Localization.StiLocalization.get("A_WebViewer","MonthJanuary");case 2:return C.Base.Localization.StiLocalization.get("A_WebViewer","MonthFebruary");case 3:return C.Base.Localization.StiLocalization.get("A_WebViewer","MonthMarch");case 4:return C.Base.Localization.StiLocalization.get("A_WebViewer","MonthApril");case 5:return C.Base.Localization.StiLocalization.get("A_WebViewer","MonthMay");case 6:return C.Base.Localization.StiLocalization.get("A_WebViewer","MonthJune");case 7:return C.Base.Localization.StiLocalization.get("A_WebViewer","MonthJuly");case 8:return C.Base.Localization.StiLocalization.get("A_WebViewer","MonthAugust");case 9:return C.Base.Localization.StiLocalization.get("A_WebViewer","MonthSeptember");case 10:return C.Base.Localization.StiLocalization.get("A_WebViewer","MonthOctober");case 11:return C.Base.Localization.StiLocalization.get("A_WebViewer","MonthNovember");case 12:return C.Base.Localization.StiLocalization.get("A_WebViewer","MonthDecember")}return this.monthName(e)}if("string"==typeof t){var i=t.toString(),o=e.month,a="";try{var s,a=l.cultures[i].dateTimeFormat.monthNames[o-1]}catch(t){C.System.StiError.showError(t,!1);var e=i.toLowerCase(),e=+this.cultureIndexes.get(e);o<this.months[e].length&&(a=this.months[e][o-1]),this.defaultUpperCaseList[e]&&(a=a.substr(0,1).toUpperCase()+a.substr(1))}if(null!=r){if(r)return a.substr(0,1).toUpperCase()+a.substr(1);return a.substr(0,1).toLowerCase()+a.substr(1)}return a}return""},g.addCulture=function(t,e,r){var n,i,o=this.months.length;this.months.push(t),this.defaultUpperCaseList.push(r);try{for(var a=__values(e),s=a.next();!s.done;s=a.next()){var l=s.value;this.cultureIndexes.set(l.toLowerCase(),o)}}catch(t){n={error:t}}finally{try{s&&!s.done&&(i=a.return)&&i.call(a)}finally{if(n)throw n.error}}},g.MonthToStr=function(){var t=new Array,e=new Array,r=new A;this.addCulture(["January","February","March","April","May","June","July","August","September","October","November","December"],["en"],!1),this.addCulture(["Январь","Февраль","Март","Апрель","Май","Июнь","Июль","Август","Сентябрь","Октябрь","Ноябрь","Декабрь"],["ru"],!1),this.addCulture(["enero","febrero","marzo","abril","mayo","junio","julio","agosto","septiembre","octubre","noviembre","diciembre"],["es"],!1),this.addCulture(["gennaio","febbraio","marzo","aprile","maggio","giugno","luglio","agosto","settembre","ottobre","novembre","dicembre"],["it"],!1),this.addCulture(["ianuarie","februarie","martie","aprilie","mai","iunie","iulie","august","septembrie","octombrie","noiembrie","decembrie"],["ro"],!1),this.addCulture(["Janeiro","Fevereiro","Março","Abril","Maio","Junho","Julho","Agosto","Setembro","Outubro","Novembro","Dezembro"],["pt"],!1),this.addCulture(["Jannar","Frar","Marzu","April","Mejju","Ġunju","Lulju","Awissu","Settembru","Ottubru","Novembru","Diċembru"],["mt"],!1),this.addCulture(["január","február","március","április","május","június","július","augusztus","szeptember","október","november","december"],["hu"],!1),this.addCulture(["január","február","marec","apríl","máj","jún","júl","august","september","október","november","december"],["sk"],!1),this.addCulture(["janúar","febrúar","mars","apríl","maí","júní","júlí","ágúst","september","október","nóvember","desember"],["is"],!1),this.addCulture(["januar","februar","mars","apríl","mai","juni","juli","august","september","oktober","november","desember"],["fo"],!1),this.addCulture(["Januar","Februar","März","April","Mai","Juni","Juli","August","September","Oktober","November","Dezember"],["de"],!1),this.addCulture(["januari","februari","maart","april","mei","juni","juli","augustus","september","oktober","november","december"],["nl"],!1),this.addCulture(["Januari","Februari","Maret","April","Mei","Juni","Juli","Agustus","September","Oktober","Nopember","Desember"],["id"],!1),this.addCulture(["janvāris","februāris","marts","aprīlis","maijs","jūnijs","jūlijs","augusts","septembris","oktobris","novembris","decembris"],["lv"],!1),this.addCulture(["janvier","février","mars","avril","mai","juin","juillet","août","septembre","octobre","novembre","décembre"],["fr"],!1),this.addCulture(["leden","únor","březen","duben","květen","červen","červenec","srpen","září","říjen","listopad","prosinec"],["cs"],!1),this.addCulture(["Mutarama","Gashyantare","Werurwe","Mata","Gicurasi","Kamena","Nyakanga","Kanama","Nzeli","Ukwakira","Ugushyingo","Ukuboza"],["rw"],!1),this.addCulture(["Ocak","Şubat","Mart","Nisan","Mayıs","Haziran","Temmuz","Ağustos","Eylül","Ekim","Kasım","Aralık"],["tr"],!1),this.addCulture(["ođđajagemánnu","guovvamánnu","njukčamánnu","cuoŋománnu","miessemánnu","geassemánnu","suoidnemánnu","borgemánnu","čakčamánnu","golggotmánnu","skábmamánnu","juovlamánnu"],["se"],!1),this.addCulture(["sausis","vasaris","kovas","balandis","gegužė","birželis","liepa","rugpjūtis","rugsėjis","spalis","lapkritis","gruodis"],["lt"],!1),this.addCulture(["siječanj","veljača","ožujak","travanj","svibanj","lipanj","srpanj","kolovoz","rujan","listopad","studeni","prosinac"],["hr"],!1),this.addCulture(["styczeń","luty","marzec","kwiecień","maj","czerwiec","lipiec","sierpień","wrzesień","październik","listopad","grudzień"],["pl"],!1),this.addCulture(["tammikuu","helmikuu","maaliskuu","huhtikuu","toukokuu","kesäkuu","heinäkuu","elokuu","syyskuu","lokakuu","marraskuu","joulukuu"],["fi"],!1),this.addCulture(["јануари","февруари","март","април","мај","јуни","јули","август","септември","октомври","ноември","декември"],["mk"],!1),this.addCulture(["Януари","Февруари","Март","Април","Май","Юни","Юли","Август","Септември","Октомври","Ноември","Декември"],["bg"],!1),this.addCulture(["มกราคม","กุมภาพันธ์","มีนาคม","เมษายน","พฤษภาคม","มิถุนายน","กรกฎาคม","สิงหาคม","กันยายน","ตุลาคม","พฤศจิกายน","ธันวาคม"],["th"],!1)},g.months=null,g.defaultUpperCaseList=null,g.cultureIndexes=null,g);function g(){}t.MonthToStr=i;var i=(f.dayOfWeek=function(e,r,t){if(void 0===r&&(r=null),void 0===t&&(t=null),null==r)return this.dayOfWeek(e,l.currentCulture.name.toString());if("boolean"==typeof r){var n;if(r)switch(e.dayOfWeek){case C.System.DayOfWeek.Sunday:return C.Base.Localization.StiLocalization.get("A_WebViewer","DaySunday");case C.System.DayOfWeek.Monday:return C.Base.Localization.StiLocalization.get("A_WebViewer","DayMonday");case C.System.DayOfWeek.Tuesday:return C.Base.Localization.StiLocalization.get("A_WebViewer","DayTuesday");case C.System.DayOfWeek.Wednesday:return C.Base.Localization.StiLocalization.get("A_WebViewer","DayWednesday");case C.System.DayOfWeek.Thursday:return C.Base.Localization.StiLocalization.get("A_WebViewer","DayThursday");case C.System.DayOfWeek.Friday:return C.Base.Localization.StiLocalization.get("A_WebViewer","DayFriday");case C.System.DayOfWeek.Saturday:return C.Base.Localization.StiLocalization.get("A_WebViewer","DaySaturday")}return this.dayOfWeek(e,l.currentCulture.name.toString())}if("string"==typeof r){var i=r.toString(),o="";try{var a,o=l.cultures[i].dateTimeFormat.dayNames[e.dayOfWeek]}catch(t){C.System.StiError.showError(t,!1);var s=+e.dayOfWeek,r=i.toLowerCase(),r=+this.cultureIndexes.get(r);s<this.days[r].length&&(o=this.days[r][s]),this.defaultUpperCaseList[r]&&(o=o.substr(0,1).toUpperCase()+o.substr(1))}if(null!=t){if(t)return o.substr(0,1).toUpperCase()+o.substr(1);return o.substr(0,1).toLowerCase()+o.substr(1)}return o}return""},f.addCulture=function(t,e,r){var n,i,o=this.days.length;this.days.push(t),this.defaultUpperCaseList.push(r);try{for(var a=__values(e),s=a.next();!s.done;s=a.next()){var l=s.value;this.cultureIndexes.set(l.toLowerCase(),o)}}catch(t){n={error:t}}finally{try{s&&!s.done&&(i=a.return)&&i.call(a)}finally{if(n)throw n.error}}},f.DayOfWeekToStr=function(){var t=[],e=[],r=new A;this.addCulture(["dimanche","lundi","mardi","mercredi","jeudi","vendredi","samedi"],["fr"],!1),this.addCulture(["domenica","lunedì","martedì","mercoledì","giovedì","venerdì","sabato"],["it"],!1),this.addCulture(["domingo","lunes","martes","miércoles","jueves","viernes","sábado"],["es"],!1),this.addCulture(["domingo","segunda-feira","terça-feira","quarta-feira","quinta-feira","sexta-feira","sábado"],["pt"],!1),this.addCulture(["duminică","luni","marţi","miercuri","joi","vineri","sâmbătă"],["ro"],!1),this.addCulture(["Il-Ħadd","It-Tnejn","It-Tlieta","L-Erbgħa","Il-Ħamis","Il-Ġimgħa","Is-Sibt"],["mt"],!1),this.addCulture(["Ku wa mbere","Ku wa kabiri","Ku wa gatatu","Ku wa kane","Ku wa gatanu","Ku wa gatandatu","Ku cyumweru"],["rw"],!1),this.addCulture(["Minggu","Senin","Selasa","Rabu","Kamis","Jumat","Sabtu"],["id"],!1),this.addCulture(["nedeľa","pondelok","utorok","streda","štvrtok","piatok","sobota"],["sk"],!1),this.addCulture(["nedjelja","ponedjeljak","utorak","srijeda","četvrtak","petak","subota"],["hr"],!1),this.addCulture(["niedziela","poniedziałek","wtorek","środa","czwartek","piątek","sobota"],["pl"],!1),this.addCulture(["Pazar","Pazartesi","Salı","Çarşamba","Perşembe","Cuma","Cumartesi"],["tr"],!1),this.addCulture(["sekmadienis","pirmadienis","antradienis","trečiadienis","ketvirtadienis","penktadienis","šeštadienis"],["lt"],!1),this.addCulture(["Sonntag","Montag","Dienstag","Mittwoch","Donnerstag","Freitag","Samstag"],["de"],!1),this.addCulture(["sotnabeaivi","mánnodat","disdat","gaskavahkku","duorastat","bearjadat","lávvardat"],["se"],!1),this.addCulture(["sunnudagur","mánadagur","týsdagur","mikudagur","hósdagur","fríggjadagur","leygardagur"],["fo"],!1),this.addCulture(["sunnudagur","mánudagur","þriðjudagur","miðvikudagur","fimmtudagur","föstudagur","laugardagur"],["is"],!1),this.addCulture(["sunnuntai","maanantai","tiistai","keskiviikko","torstai","perjantai","lauantai"],["fi"],!1),this.addCulture(["svētdiena","pirmdiena","otrdiena","trešdiena","ceturtdiena","piektdiena","sestdiena"],["lv"],!1),this.addCulture(["vasárnap","hétfő","kedd","szerda","csütörtök","péntek","szombat"],["hu"],!1),this.addCulture(["zondag","maandag","dinsdag","woensdag","donderdag","vrijdag","zaterdag"],["nl"],!1),this.addCulture(["воскресенье","понедельник","вторник","среда","четверг","пятница","суббота"],["ru"],!1),this.addCulture(["недела","понеделник","вторник","среда","четврток","петок","сабота"],["mk"],!1),this.addCulture(["неделя","понеделник","вторник","сряда","четвъртък","петък","събота"],["bg"],!1),this.addCulture(["Ням","Даваа","Мягмар","Лхагва","Пүрэв","Баасан","Бямба"],["mn"],!1),this.addCulture(["อาทิตย์","จันทร์","อังคาร","พุธ","พฤหัสบดี","ศุกร์","เสาร์"],["th"],!1)},f.days=null,f.defaultUpperCaseList=null,f.cultureIndexes=null,f);function f(){}t.DayOfWeekToStr=i}(r=e.Func||(e.Func={}))}(Stimulsoft=Stimulsoft||{}),function(t){var e,r,n,i,C;function o(){}r=e=t.Report||(t.Report={}),i=n=r.Func||(r.Func={}),C=t.System.StiString,o.numToStr=function(t,e,r){var n="",i="",o="",a="",s="";if(999999999999.99<t)return"";if(0==t)return"صفر";var l=C.customFormat(t,"000000000000.00"),u=0;while(u<15){var c=u<12?l.substr(u,3):"0"+l.substr(u+1,2),p=parseInt(c.substr(0,1)),h=parseInt(c.substr(1,1)),m=parseInt(c.substr(2,1)),d=parseInt(c.substr(1,2)),g=parseInt(c.substr(0,3)),f,S,y,A,c,S;0<g&&(f=this.MyArry1[p],S=this.MyArry2[h],y=this.MyArry3[m],c=A="",11==d&&(A="إحدى عشر"),12==d&&(c="إثنى عشر"),10==d&&(S="عشرة"),0<p&&0<d&&(f+=this.MyAnd),0<m&&1<h&&(y+=this.MyAnd),S=2==m&&1==h?0==p?c:f+c:1==m&&1==h?0==p?A:f+A:f+y+S,0!=u||C.isNullOrWhiteSpace(S)||(n=10<g?S+" مليار":2==g?" ملياران":1==g?" مليار":S+" مليارات"),3!=u||C.isNullOrWhiteSpace(S)||(i=10<g?S+" مليون":2==g?" مليونان":1==g?" مليون":S+" ملايين"),6!=u||C.isNullOrWhiteSpace(S)||(o=10<g?S+" ألف":2==m?" ألفان":1==m?" ألف":S+" آلاف"),9!=u||C.isNullOrWhiteSpace(S)||(a=S),12!=u||C.isNullOrWhiteSpace(S)||(s=S)),u+=3}C.isNullOrWhiteSpace(n)||(0<i.length||0<o.length||0<a.length)&&(n+=this.MyAnd),C.isNullOrWhiteSpace(i)||(0<o.length||0<a.length)&&(i+=this.MyAnd),C.isNullOrWhiteSpace(o)||0<a.length&&(o+=this.MyAnd);var b="",b;return b=C.isNullOrWhiteSpace(s)?n+i+o+a+" "+e:0<n.length||0<i.length||0<o.length||0<a.length?n+i+o+a+" "+e+this.MyAnd+s+" "+r:s+" "+r},o.MyAnd=" و",r=o,(i.Ar=r).MyArry1=[],r.MyArry2=[],r.MyArry3=[],r.MyArry1[0]="",r.MyArry1[1]="مائة",r.MyArry1[2]="مائتان",r.MyArry1[3]="ثلاثمائة",r.MyArry1[4]="أربعمائة",r.MyArry1[5]="خمسمائة",r.MyArry1[6]="ستمائة",r.MyArry1[7]="سبعمائة",r.MyArry1[8]="ثمانمائة",r.MyArry1[9]="تسعمائة",r.MyArry2[0]="",r.MyArry2[1]=" عشر",r.MyArry2[2]="عشرون",r.MyArry2[3]="ثلاثون",r.MyArry2[4]="أربعون",r.MyArry2[5]="خمسون",r.MyArry2[6]="ستون",r.MyArry2[7]="سبعون",r.MyArry2[8]="ثمانون",r.MyArry2[9]="تسعون",r.MyArry3[0]="",r.MyArry3[1]="واحد",r.MyArry3[2]="اثنان",r.MyArry3[3]="ثلاثة",r.MyArry3[4]="أربعة",r.MyArry3[5]="خمسة",r.MyArry3[6]="ستة",r.MyArry3[7]="سبعة",r.MyArry3[8]="ثمانية",r.MyArry3[9]="تسعة"}(Stimulsoft=Stimulsoft||{}),function(t){var e,r,n,i,s,l;function o(){}r=e=t.Report||(t.Report={}),i=n=r.Func||(r.Func={}),s=t.System.StiString,l=t.System.Text.StringBuilder,o.addUnits=function(t,e){0!=e&&t.append(this.units[e-1])},o.addTens=function(t,e){0!=e&&t.append(this.tens[e-1])},o.addRank=function(t,e,r,n){var i=e.ref,o=r.ref,a=o/i|0,s,l,u;0<a&&(s=a/100|0,u=a%10,1==(l=(a/10|0)%10)&&(l=0,u=a%100),0<t.length&&(0<s?t.append(" "):0<l+u&&t.append(" and ")),0<s&&(this.addUnits(t,s),t.append(" hundred"),0<l+u&&t.append(" and ")),0<l&&(this.addTens(t,l),0<u&&t.append("-")),0<u&&this.addUnits(t,u),t.append(" "),t.append(n),o%=i),i=Math.floor(i/1e3),e.ref=i,r.ref=o},o.decline=function(t,e,r,n){if(void 0===n&&(n=null),"string"==typeof e&&null==n){var i,o,a;if(1==t%100)return""+e;return r}if("boolean"==typeof e&&null!=n){var s,r=r;if(!!e){var n=n.split("/");return this.decline(t,n[0],n[1])}var r=r.split("/");return this.decline(t,r[0],r[1])}return null},o.numToStr=function(t,e){void 0===e&&(e=!0);var r=new l,n,i,o,a;0==t?r.append("zero"):(n=!1,t<0&&(n=!0,t=Math.abs(t)),o={ref:i=1e18},a={ref:t},this.addRank(r,o,a,"quintillion"),this.addRank(r,o,a,"quadrillion"),this.addRank(r,o,a,"trillion"),this.addRank(r,o,a,"billion"),this.addRank(r,o,a,"million"),this.addRank(r,o,a,"thousand"),this.addRank(r,o,a,""),i=o.ref,t=a.ref,n&&r.insert(0,"minus "));var r=r.toString();return e&&(r=r.charAt(0).toUpperCase()+r.substr(1)),r},o.currToStr3=function(t,e){return this.currToStr(t,!0,e,"dollar/dollars","cent/cents")},o.currToStr=function(t,e,r,n,i){void 0===e&&(e=!0),void 0===r&&(r=!0),void 0===n&&(n="dollar/dollars"),void 0===i&&(i="cent/cents");var o=Math.trunc(t),a=0;StiOptions.Engine.useRoundForToCurrencyWordsFunctions?99<(a=Math.round(100*(t-o)))&&(a=0,o++):a=100*(t-o);var e=this.numToStr(o,e);return 0==t&&(e+=" "),e.stimulsoft.endsWith(" ")||(e+=" "),e=s.format("{0}{1}",e,this.decline(o,!1,n,i)),r&&(e+=" and ",e+=s.format("{0}",this.numToStr(a,!1)),0==a&&(e+=" "),e+=s.format("{0}",this.decline(a,!0,n,i))),e},o.dateToStr=function(t,e){if(void 0===e&&(e=!1),null==t)return"";var t=s.format("{0} {1} {2}",t.day,this.months[t.month-1],t.year);return e&&(t=t.charAt(0).toUpperCase()+t.substr(1)),t},o.months=["January","February","March","April","May","June","July","August","September","October","November","December"],o.units=["one","two","three","four","five","six","seven","eight","nine","ten","eleven","twelve","thirteen","fourteen","fifteen","sixteen","seventeen","eighteen","nineteen"],o.tens=["ten","twenty","thirty","forty","fifty","sixty","seventy","eighty","ninety"],r=o,i.En=r}(Stimulsoft=Stimulsoft||{}),function(t){var e,r,n,h,i,m;function o(){}r=e=t.Report||(t.Report={}),h=n=r.Func||(r.Func={}),i=t.System.StiArray,m=t.System.Globalization.CultureInfo,o.convertToWord=function(t,e,r){var n=new m("en-GB");if(t>h.NumToWordHelper.maxValue)throw h.NumToWordException(h.Resource.resourceManager.getString("TooLongError",n),t);var i=Math.trunc(t),o=Math.round(Math.abs((t-i)*Math.pow(10,r)));if(o>h.NumToWordHelper.maxValue)throw h.NumToWordException(h.Resource.resourceManager.getString("TooLongError",n),o);var a=this.convertToWord2(i,h.Resource.resourceManager.getString(e+"Gender",n).stimulsoft.toNumber(),0),s=this.convertToWord2(o,h.Resource.resourceManager.getString(e+"CentGender",n).stimulsoft.toNumber(),0),l="",u="",c="and",t={ref:l},r={ref:u},p;return h.NumToWordHelper.determinateCurrencies(n,e,i,o,t,r),u=r.ref,l=t.ref,h.NumToWordHelper.addWords(a,s,l,u,c).trim()},o.convertToWord2=function(t,e,r){var n="",i=(t=Math.floor(t))<0;return i&&(t=Math.abs(t)),0==t?n=this.zeroWord:t<20?n=this.lessTwenty[t]:t<100?n=t%10==0?this.tens[Math.floor(t/10)]:this.tens[Math.floor(t/10)]+"-"+this.convertToWord2(t%10,e,0):t<1e3?(n=this.convertToWord2(Math.floor(t/100),e,0)+" hundred",0<t%100&&(n=n+" and "+this.convertToWord2(t%100,e,0))):n=this.calculateOver(t,e),i&&(n=this.lessWord+" "+n),n.trim()},o.calculateOver=function(t,e){var r="",n="",i=(t.toString().length-1)/3|0,o=Math.pow(10,3*i);0<t%o&&(n=this.convertToWord2(t%o,e,i));var o=Math.floor(t/o);switch(o){case 0:break;default:r=this.convertToWord2(o,e,i)+this.triplets[i][0]+" "+n;break}return r},o.zeroWord="zero",o.lessWord="minus",r=o,(h.EnGb=r).triplets=i.create2(String,7,2),r.lessTwenty=[],r.tens=[],r.triplets[0][0]="",r.triplets[1][0]=" thousand",r.triplets[2][0]=" million",r.triplets[3][0]=" billion",r.triplets[4][0]=" trillion",r.triplets[5][0]=" quadrillion",r.triplets[6][0]=" qunintillion",r.triplets[0][1]="",r.triplets[1][1]=" thousands",r.triplets[2][1]=" millions",r.triplets[3][1]=" milliards",r.triplets[4][1]=" trillions",r.triplets[5][1]=" quadrillions",r.triplets[6][1]=" qunintillions",r.lessTwenty[0]="",r.lessTwenty[1]="one",r.lessTwenty[2]="two",r.lessTwenty[3]="three",r.lessTwenty[4]="four",r.lessTwenty[5]="five",r.lessTwenty[6]="six",r.lessTwenty[7]="seven",r.lessTwenty[8]="eight",r.lessTwenty[9]="nine",r.lessTwenty[10]="ten",r.lessTwenty[11]="eleven",r.lessTwenty[12]="twelve",r.lessTwenty[13]="thirteen",r.lessTwenty[14]="fourteen",r.lessTwenty[15]="fifteen",r.lessTwenty[16]="sixteen",r.lessTwenty[17]="seventeen",r.lessTwenty[18]="eighteen",r.lessTwenty[19]="nineteen",r.tens[2]="twenty",r.tens[3]="thirty",r.tens[4]="fourty",r.tens[5]="fifty",r.tens[6]="sixty",r.tens[7]="seventy",r.tens[8]="eighty",r.tens[9]="ninety"}(Stimulsoft=Stimulsoft||{}),function(t){var e,r,n,t;function i(){}r=e=t.Report||(t.Report={}),t=n=r.Func||(r.Func={}),i.numberToStr=function(t,e){var r;return void 0===e&&(e=!1),this.numberToWords(t,e).replace(/([^\W_]+[^\s-]*) */g,function(t){return t.charAt(0).toUpperCase()+t.substr(1).toLowerCase()})},i.currencyToStr=function(t,e,r,n,i){if(void 0===i&&(i=!1),r<0)throw new Error("Cannot convert negative numbers.");var o=0,a=r,s=r.toString().stimulsoft.replaceAll(",",".").lastIndexOf(".");if(0<s){for(var l=r.toString().substr(s+1),u=l.length;u<n;u++)l+="0";o=l.stimulsoft.toNumber()}var i=this.numberToWords(a,i).trim(),o=this.numberToWords(o,!0).trim();return 0<i.length&&0<o.length?i=i+" and "+e+" "+o:0==i.length&&0<o.length&&(i=(i=this.wordsDictionary["K_0"])+" and "+e.toLowerCase()+" "+o),(t+" "+i+" Only").replace(/([^\W_]+[^\s-]*) */g,function(t){return t.charAt(0).toUpperCase()+t.substr(1).toLowerCase()})},i.numberToWords=function(t,e){var r="",n="",i=0,o=0;if(0==(t=Math.floor(t)))r=this.wordsDictionary["K_"+t.toString()],e&&(r="");else if(1<=t&&t<20)r=this.wordsDictionary["K_"+t.toString()];else if(20<=t&&t<100)i=10*Math.floor(t/10),o=t%10,r=(r=this.wordsDictionary["K_"+i.toString()])+" "+this.numberToWords(o,!0);else if(100<=t&&t<1e3)i=Math.floor(t/100),o=t%100,r=(r=this.numberToWords(i,!0))+" "+(n=this.wordsDictionary["K_100"])+" "+this.numberToWords(o,!0);else if(1e3<=t&&t<1e5)i=Math.floor(t/1e3),o=t%1e3,r=(r=this.numberToWords(i,!0))+" "+(n=this.wordsDictionary["K_1000"])+" "+this.numberToWords(o,!0);else if(1e5<=t&&t<1e7)i=Math.floor(t/1e5),o=t%1e5,r=(r=this.numberToWords(i,!0))+" "+(n=this.wordsDictionary["K_100000"])+" "+this.numberToWords(o,!0);else if(1e7<=t&&t<1e9)i=Math.floor(t/1e7),o=t%1e7,r=(r=this.numberToWords(i,!0))+" "+(n=this.wordsDictionary["K_10000000"])+" "+this.numberToWords(o,!0);else{if(!(1e9<=t&&t<1e15))throw new Error("number to big to convert.");i=Math.floor(t/1e7),r=(r=this.numberToWords(i,!0))+" "+(n=this.wordsDictionary["K_10000000"]),n="",o=t%1e7,r=r+" "+this.numberToWords(o,!0)}return r},Object.defineProperty(i,"wordsDictionary",{get:function(){return null==this._wordsDictionary&&(this._wordsDictionary={},this._wordsDictionary["K_0"]="Zero",this._wordsDictionary["K_1"]="One",this._wordsDictionary["K_2"]="Two",this._wordsDictionary["K_3"]="Three",this._wordsDictionary["K_4"]="Four",this._wordsDictionary["K_5"]="Five",this._wordsDictionary["K_6"]="Six",this._wordsDictionary["K_7"]="Seven",this._wordsDictionary["K_8"]="Eight",this._wordsDictionary["K_9"]="Nine",this._wordsDictionary["K_10"]="Ten",this._wordsDictionary["K_11"]="Eleven",this._wordsDictionary["K_12"]="Twelve",this._wordsDictionary["K_13"]="Thirteen",this._wordsDictionary["K_14"]="Fourteen",this._wordsDictionary["K_15"]="Fifteen",this._wordsDictionary["K_16"]="Sixteen",this._wordsDictionary["K_17"]="Seventeen",this._wordsDictionary["K_18"]="Eighteen",this._wordsDictionary["K_19"]="Nineteen",this._wordsDictionary["K_20"]="Twenty",this._wordsDictionary["K_30"]="Thirty",this._wordsDictionary["K_40"]="Forty",this._wordsDictionary["K_50"]="Fifty",this._wordsDictionary["K_60"]="Sixty",this._wordsDictionary["K_70"]="Seventy",this._wordsDictionary["K_80"]="Eighty",this._wordsDictionary["K_90"]="Ninety",this._wordsDictionary["K_100"]="Hundred",this._wordsDictionary["K_1000"]="Thousand",this._wordsDictionary["K_100000"]="Lac",this._wordsDictionary["K_10000000"]="Crore"),this._wordsDictionary},enumerable:!1,configurable:!0}),i._wordsDictionary=null,r=i,t.EnIn=r}(Stimulsoft=Stimulsoft||{}),function(t){var e,r,n,h,i,m;function o(){}r=e=t.Report||(t.Report={}),h=n=r.Func||(r.Func={}),i=t.System.StiArray,m=t.System.Globalization.CultureInfo,o.convertToWord=function(t,e,r){var n=new m("es-ES");if(t>h.NumToWordHelper.maxValue)throw h.NumToWordException(h.Resource.resourceManager.getString("TooLongError",n),t);var i=Math.trunc(t),o=Math.abs((t-i)*Math.pow(10,r));if(o>h.NumToWordHelper.maxValue)throw h.NumToWordException(h.Resource.resourceManager.getString("TooLongError",n),o);var a=this.convertToWord2(i,h.Resource.resourceManager.getString(e+"Gender",n).stimulsoft.toNumber(),0),s=this.convertToWord2(o,h.Resource.resourceManager.getString(e+"CentGender",n).stimulsoft.toNumber(),0),l="",u="",c="y",t={ref:l},r={ref:u},p;return h.NumToWordHelper.determinateCurrencies(n,e,i,o,t,r),this.determinateCurrenciesEurUsd(n,e,i,o,t,r),u=r.ref,l=t.ref,h.NumToWordHelper.addWords(a,s,l,u,c).trim()},o.determinateCurrenciesEurUsd=function(t,e,r,n,i,o){var a=i.ref,s=o.ref,e="EUR"==e?1:"USD"==e?0:-1;-1!=e&&(a=0<Math.floor(r/1e6)&&r%1e6==0||1<r?this.currencies[e][1]:this.currencies[e][0],s=1<n?this.currencies[e][3]:this.currencies[e][2]),i.ref=a,o.ref=s},o.numToStr=function(t,e){var r=new m("es-ES");if(t>h.NumToWordHelper.maxValue)throw h.NumToWordException(h.Resource.resourceManager.getString("TooLongError",r),t);var t=this.convertToWord2(t,1,0,!0);return e&&1<t.length&&(t=t[0].toUpperCase()+t.substr(1)),t.trim()},o.numToStr2=function(t,e,r){var n=new m("es-ES");if(t>h.NumToWordHelper.maxValue)throw h.NumToWordException(h.Resource.resourceManager.getString("TooLongError",n),t);var r=this.convertToWord2(t,r?2:1,0,!0);return e&&1<r.length&&(r=r[0].toUpperCase()+r.substr(1)),r.trim()},o.convertToWord2=function(t,e,r,n){void 0===n&&(n=!1);var i="",o=(t=Math.floor(t))<0;if(o&&(t=Math.abs(t)),0==t)i=this.zeroWord;else if(t<20)i=1==t&&2==e?"una":1!=t||1!=e||n?this.lessTwenty[t]:"un";else if(t<100)i=t%10==0?this.tens[t/10|0]:2==(t/10|0)?"veinti"+this.convertToWord2(t%10,e,0,n):this.tens[t/10|0]+" y "+this.convertToWord2(t%10,e,0,n);else if(t<1e3){switch(t/100|0){case 1:i=100==t?"cien":"ciento";break;case 5:i=1==e?"quinientos":"quinientas";break;case 7:i=1==e?"setecientos":"setecientas";break;case 9:i=1==e?"novecientos":"novecientas";break;default:i=this.convertToWord2(t/100|0,e,0,n)+(1==e?"cientos":"cientas");break}0<t%100&&(i=i+" "+this.convertToWord2(t%100,e,0,n))}else i=t<1e6?1==Math.floor(t/1e3)?this.triplets[1][0]+(t%1e3==0?"":" "+this.convertToWord2(t%1e3,e,0,n)):this.convertToWord2(Math.floor(t/1e3),e,1,n)+this.triplets[1][1]+(t%1e3==0?"":" "+this.convertToWord2(t%1e3,e,0,n)):t<1e12?1==Math.floor(t/1e6)?this.convertToWord2(Math.floor(t/1e6),e,2,n)+this.triplets[2][0]+(t%1e6==0?"":" "+this.convertToWord2(t%1e6,e,0,n)):this.convertToWord2(Math.floor(t/1e6),e,2,n)+this.triplets[2][1]+(t%1e6==0?"":" "+this.convertToWord2(t%1e6,e,0,n)):t<1e18?1==Math.floor(t/1e12)?this.convertToWord2(Math.floor(t/1e12),e,2,n)+this.triplets[4][0]+(t%1e12==0?"":" "+this.convertToWord2(t%1e12,e,0,n)):this.convertToWord2(Math.floor(t/1e12),e,2,n)+this.triplets[4][1]+(t%1e12==0?"":" "+this.convertToWord2(t%1e12,e,0,n)):1==Math.floor(t/1e18)?this.convertToWord2(Math.floor(t/1e18),e,2,n)+this.triplets[6][0]+(t%1e18==0?"":" "+this.convertToWord2(t%1e18,e,0,n)):this.convertToWord2(Math.floor(t/1e18),e,2,n)+this.triplets[6][1]+(t%1e18==0?"":" "+this.convertToWord2(t%1e18,e,0,n));return o&&(i=this.lessWord+" "+i),i.trim()},o.zeroWord="cero",o.lessWord="menos",o.currencies=[["dólar","dólares","centavo","centavos"],["euro","euros","céntimo","céntimos"]],r=o,(h.Es=r).triplets=i.create2(String,7,2),r.lessTwenty=[],r.tens=[],r.triplets[0][0]="",r.triplets[1][0]=" mil",r.triplets[2][0]=" millón",r.triplets[3][0]=" mil milliones",r.triplets[4][0]=" billón",r.triplets[5][0]=" mil billón",r.triplets[6][0]=" trillón",r.triplets[0][1]="",r.triplets[1][1]=" mil",r.triplets[2][1]=" millones",r.triplets[3][1]=" mil milliones",r.triplets[4][1]=" billónes",r.triplets[5][1]=" mil billónes",r.triplets[6][1]=" trillónes",r.lessTwenty[0]="",r.lessTwenty[1]="uno",r.lessTwenty[2]="dos",r.lessTwenty[3]="tres",r.lessTwenty[4]="cuatro",r.lessTwenty[5]="cinco",r.lessTwenty[6]="seis",r.lessTwenty[7]="siete",r.lessTwenty[8]="ocho",r.lessTwenty[9]="nueve",r.lessTwenty[10]="diez",r.lessTwenty[11]="once",r.lessTwenty[12]="doce",r.lessTwenty[13]="trece",r.lessTwenty[14]="catorce",r.lessTwenty[15]="quince",r.lessTwenty[16]="dieciséis",r.lessTwenty[17]="diecisiete",r.lessTwenty[18]="dieciocho",r.lessTwenty[19]="diecinueve",r.tens[2]="veinte",r.tens[3]="treinta",r.tens[4]="cuarenta",r.tens[5]="cincuenta",r.tens[6]="sesenta",r.tens[7]="setenta",r.tens[8]="ochenta",r.tens[9]="noventa"}(Stimulsoft=Stimulsoft||{}),function(t){var e,r,n,i,l;function o(){}r=e=t.Report||(t.Report={}),i=n=r.Func||(r.Func={}),l=t.System.StiString,o.convertToWord=function(t){t=Math.floor(t);var e=[],r=[],n="";if(0==(t=Math.abs(t)))return"صفر";while(1){var i=0,o=0,i=Math.floor(t/1e3),o=t%1e3;if(e.push(o),!(1e3<=i)){0!=i&&e.push(i);break}t=i}for(var a=0;a<=e.length-1;a++)r.push(this.changingNum(e[a]));for(var s=r.length-1;0<=s;s+=-1)if(5==s){if(!l.isNullOrEmpty(r[5])){if(l.isNullOrEmpty(r[4])&&l.isNullOrEmpty(r[3])&&l.isNullOrEmpty(r[2])&&l.isNullOrEmpty(r[1])&&l.isNullOrEmpty(r[0])){n+=r[5]+" بيليارد";break}n+=r[5]+" بيليارد و "}}else if(4==s){if(!l.isNullOrEmpty(r[4])){if(l.isNullOrEmpty(r[3])&&l.isNullOrEmpty(r[2])&&l.isNullOrEmpty(r[1])&&l.isNullOrEmpty(r[0])){n+=r[4]+" بيليون";break}n+=r[4]+" بيليون و "}}else if(3==s){if(!l.isNullOrEmpty(r[3])){if(l.isNullOrEmpty(r[2])&&l.isNullOrEmpty(r[1])&&l.isNullOrEmpty(r[0])){n+=r[3]+" ميليارد";break}n+=r[3]+" ميليارد و "}}else if(2==s){if(!l.isNullOrEmpty(r[2])){if(l.isNullOrEmpty(r[1])&&l.isNullOrEmpty(r[0])){n+=r[2]+" ميليون";break}n+=r[2]+" ميليون و "}}else if(1==s){if(!l.isNullOrEmpty(r[1])){if(l.isNullOrEmpty(r[0])){n+=r[1]+" هزار";break}n+=r[1]+" هزار و "}}else n+=r[0];return n},o.changingNum=function(t){var e=[],r="",n="",i="",o="";while(1){var a=0,s=0,a=Math.trunc(t/10),s=Math.trunc(t%10);if(e.push(s.toString()),!(10<=a)){e.push(a.toString());break}t=a}if(3==e.length)switch(e[2]){case"0":i="";break;case"1":i="صد";break;case"2":i="دويست";break;case"3":i="سيصد";break;case"4":i="چهارصد";break;case"5":i="پانصد";break;case"6":i="ششصد";break;case"7":i="هفتصد";break;case"8":i="هشتصد";break;case"9":i="نهصد";break}switch(e[0]){case"0":r="";break;case"1":r="يک";break;case"2":r="دو";break;case"3":r="سه";break;case"4":r="چهار";break;case"5":r="پنج";break;case"6":r="شش";break;case"7":r="هفت";break;case"8":r="هشت";break;case"9":r="نه";break}switch(e[1]){case"0":n="";break;case"1":switch(e[0]){case"0":r="ده";break;case"1":r="يازده";break;case"2":r="دوازده";break;case"3":r="سيزده";break;case"4":r="چهارده";break;case"5":r="پانزده";break;case"6":r="شانزده";break;case"7":r="هفده";break;case"8":r="هيجده";break;case"9":r="نوزده";break}break;case"2":n="بيست";break;case"3":n="سي";break;case"4":n="چهل";break;case"5":n="پنجاه";break;case"6":n="شصت";break;case"7":n="هفتاد";break;case"8":n="هشتاد";break;case"9":n="نود";break}return l.isNullOrEmpty(i)?l.isNullOrEmpty(n)?o+=r:(o+=n,l.isNullOrEmpty(r)||(o+=" و "+r)):(o+=i,l.isNullOrEmpty(n)||(o+=" و "+n),l.isNullOrEmpty(r)||(o+=" و "+r)),o},r=o,i.Fa=r}(Stimulsoft=Stimulsoft||{}),function(t){var e,r,n,h,i,m;function o(){}r=e=t.Report||(t.Report={}),h=n=r.Func||(r.Func={}),i=t.System.StiArray,m=t.System.Globalization.CultureInfo,o.convertToWord=function(t,e,r){var n=new m("fr-FR");if(t>h.NumToWordHelper.maxValue)throw h.NumToWordException(h.Resource.resourceManager.getString("TooLongError",n),t);var i=Math.trunc(t),o=Math.abs((t-i)*Math.pow(10,r));if(o>h.NumToWordHelper.maxValue)throw h.NumToWordException(h.Resource.resourceManager.getString("TooLongError",n),o);var a=this.convertToWord2(i,h.Resource.resourceManager.getString(e+"Gender",n).stimulsoft.toNumber(),0),s=this.convertToWord2(o,h.Resource.resourceManager.getString(e+"CentGender",n).stimulsoft.toNumber(),0),l="",u="",c="et",t={ref:l},r={ref:u},p;return h.NumToWordHelper.determinateCurrencies(n,e,i,o,t,r),l=t.ref,u=r.ref,h.NumToWordHelper.addWords(a,s,l,u,c).trim()},o.convertToWord2=function(t,e,r){var n="",i=(t=Math.floor(t))<0;if(i&&(t=Math.abs(t)),0==t)n=this.zeroWord;else if(t<20)n=1==t&&2==e?this.lessTwentys[t]+"e":this.lessTwentys[t];else if(t<100){var o="";switch(t%10){case 0:switch(t/10|0){case 7:o="-";break;case 8:1!=r&&(o="s");break;case 9:o="-";break;default:o="";break}break;case 1:switch(t/10|0){case 8:o=" ";break;case 9:o=" ";break;default:o="-et-";break}break;default:o="-";break}n=this.tens[t/10|0]+o,7==(t/10|0)||9==(t/10|0)?(""==o&&(o=" "),n+=this.convertToWord2(t%10+10,e,0)):t%10!=0&&(n+=this.convertToWord2(t%10,e,0))}else if(t<1e3){switch(t/100|0){case 1:n="cent";break;default:n=this.convertToWord2(t/100|0,e,0)+" cent",t%100==0&&1!=r&&(n+="s");break}0<t%100&&(n=n+" "+this.convertToWord2(t%100,e,0))}else n=this.calculateOver(t,e);return i&&(n=this.lessWord+" "+n),n.trim()},o.calculateOver=function(t,e){var r="",n="",i=(t.toString().length-1)/3|0,o=Math.pow(10,3*i);0<t%o&&(n=this.convertToWord2(t%o,e,i));var o=Math.floor(t/o);switch(o){case 0:break;case 1:r=1==i?this.triplets[i][0]+" "+n:this.convertToWord2(o,e,i)+this.triplets[i][0]+" "+n;break;default:r=this.convertToWord2(o,e,i)+this.triplets[i][1]+" "+n;break}return r},o.zeroWord="zéro",o.lessWord="moins",r=o,(h.Fr=r).triplets=i.create2(String,7,2),r.lessTwentys=[],r.tens=[],r.triplets[0][0]="",r.triplets[1][0]=" mille",r.triplets[2][0]=" million",r.triplets[3][0]=" milliard",r.triplets[4][0]=" trillion",r.triplets[5][0]=" quadrillion",r.triplets[6][0]=" qunintillion",r.triplets[0][1]="",r.triplets[1][1]=" mille",r.triplets[2][1]=" millions",r.triplets[3][1]=" milliards",r.triplets[4][1]=" trillions",r.triplets[5][1]=" quadrillions",r.triplets[6][1]=" qunintillions",r.lessTwentys[0]="",r.lessTwentys[1]="un",r.lessTwentys[2]="deux",r.lessTwentys[3]="trois",r.lessTwentys[4]="quatre",r.lessTwentys[5]="cinq",r.lessTwentys[6]="six",r.lessTwentys[7]="sept",r.lessTwentys[8]="huit",r.lessTwentys[9]="neuf",r.lessTwentys[10]="dix",r.lessTwentys[11]="onze",r.lessTwentys[12]="douze",r.lessTwentys[13]="treize",r.lessTwentys[14]="quatorze",r.lessTwentys[15]="quinze",r.lessTwentys[16]="seize",r.lessTwentys[17]="dix-sept",r.lessTwentys[18]="dix-huit",r.lessTwentys[19]="dix-neuf",r.tens[2]="vingt",r.tens[3]="trente",r.tens[4]="quarante",r.tens[5]="cinquante",r.tens[6]="soixante",r.tens[7]="soixante",r.tens[8]="quatre-vingt",r.tens[9]="quatre-vingt"}(Stimulsoft=Stimulsoft||{}),function(t){var e,r,n,h,i,m,d;function o(){}r=e=t.Report||(t.Report={}),h=n=r.Func||(r.Func={}),i=t.System.StiArray,m=t.System.Globalization.CultureInfo,d=t.Report.Func.Resource,o.convertToWord=function(t,e,r){var n=new m("nl-NL");if(t>h.NumToWordHelper.maxValue)throw h.NumToWordException(d.resourceManager.getString("TooLongError",n),t);var i=Math.trunc(t),o=Math.abs((t-i)*Math.pow(10,r));if(o>h.NumToWordHelper.maxValue)throw h.NumToWordException(d.resourceManager.getString("TooLongError",n),o);var a=this.convertToWord2(i,d.resourceManager.getString(e+"Gender",n).stimulsoft.toNumber(),0),s=this.convertToWord2(o,d.resourceManager.getString(e+"CentGender",n).stimulsoft.toNumber(),0),l="",u="",c="en",t={ref:l},r={ref:u},p;return h.NumToWordHelper.determinateCurrencies(n,e,i,o,t,r),u=r.ref,l=t.ref,h.NumToWordHelper.addWords(a,s,l,u,c).trim()},o.convertToWord2=function(t,e,r){var n="",i=(t=Math.floor(t))<0;return i&&(t=Math.abs(t)),0==t?n=this.zeroWord:t<20?n=this.lessTwenty[t]:t<100?n=t%10==0?this.tens[t/10|0]:this.convertToWord2(t%10,e,0)+" en "+this.tens[t/10|0]:t<1e3?(n=this.convertToWord2(t/100|0,e,0)+" Honderd",0<t%100&&(n=n+", "+this.convertToWord2(t%100,e,0))):n=this.calculateOver(t,e),i&&(n=this.lessWord+" "+n),n.trim()},o.calculateOver=function(t,e){var r="",n="",i=(t.toString().length-1)/3|0,o=Math.pow(10,3*i);0<t%o&&(n=this.convertToWord2(t%o,e,i));var o=Math.floor(t/o);switch(o){case 0:break;default:r=this.convertToWord2(o,e,i)+this.triplets[i][0]+" "+n;break}return r},o.zeroWord="nul",o.lessWord="minus",r=o,(h.Nl=r).triplets=i.create2(String,7,2),r.lessTwenty=[],r.tens=[],r.triplets[0][0]="",r.triplets[1][0]=" duizend",r.triplets[2][0]=" miljoen",r.triplets[3][0]=" miljard",r.triplets[4][0]=" biljoen",r.triplets[5][0]=" biljard",r.triplets[6][0]=" triljoen",r.triplets[0][1]="",r.triplets[1][1]=" duizend",r.triplets[2][1]=" miljoen",r.triplets[3][1]=" miljard",r.triplets[4][1]=" biljoen",r.triplets[5][1]=" biljard",r.triplets[6][1]=" triljoen",r.lessTwenty[0]="",r.lessTwenty[1]="een",r.lessTwenty[2]="twee",r.lessTwenty[3]="drie",r.lessTwenty[4]="vier",r.lessTwenty[5]="vijf",r.lessTwenty[6]="zes",r.lessTwenty[7]="zeven",r.lessTwenty[8]="acht",r.lessTwenty[9]="negen",r.lessTwenty[10]="tien",r.lessTwenty[11]="elf",r.lessTwenty[12]="twaalf",r.lessTwenty[13]="dertien",r.lessTwenty[14]="veertien",r.lessTwenty[15]="vijftien",r.lessTwenty[16]="zestien",r.lessTwenty[17]="zeventien",r.lessTwenty[18]="achtien",r.lessTwenty[19]="negentien",r.tens[2]="twintig",r.tens[3]="dertig",r.tens[4]="veertig",r.tens[5]="vijftig",r.tens[6]="zestig",r.tens[7]="zeventig",r.tens[8]="tachtig",r.tens[9]="negentig"}(Stimulsoft=Stimulsoft||{}),function(t){var e,r,n,i,o,s;function a(){}r=e=t.Report||(t.Report={}),i=n=r.Func||(r.Func={}),o=t.System.StiString,s=t.System.Text.StringBuilder,a.numToStr=function(t,e){var r,n,i,o,a;return 0==(t=Math.floor(t))?r="zero ":(n=new s,i=!1,t<0&&(i=!0,t=Math.abs(t)),a={refRank:o=1e18,refValue:t},this.addRank(n,a,this.quintillion),this.addRank(n,a,this.quadrillion),this.addRank(n,a,this.trillion),this.addRank(n,a,this.billion),this.addRank(n,a,this.million),this.addRank(n,a,this.thousends),this.addRank(n,a,null),o=a.refRank,t=a.refValue,r=n.toString(),i&&(r="minus "+r)),e&&(r=r.charAt(0).toUpperCase()+r.substr(1)),r.trim()},a.addUnits=function(t,e){0!=e&&t.append(this.units[e-1])},a.addTens=function(t,e){0!=e&&t.append(this.tens[e-1])},a.addHundreds=function(t,e){0!=e&&t.append(this.hundreds[e-1])},a.addRank=function(t,e,r){var n=e.refRank,i=e.refValue,o=Math.floor(i/n);if(0<o){var a=Math.floor(o/100),s=Math.floor(o/10)%10,l=o%10;if(1==s&&(s=0,l=o%100),0<t.length&&(0<a||0<s+l)&&t.append(" "),0<a&&(this.addHundreds(t,a),0<s+l&&t.append(" ")),0<s&&(this.addTens(t,s),0<l&&t.append(" ")),0<l&&this.addUnits(t,l),t.append(" "),null!=r)switch(l){case 0:case 1:0==s&&0==a?t.append(r[0]):t.append(r[2]);break;case 2:case 3:case 4:t.append(r[1]);break;default:t.append(r[2]);break}i%=n}n=Math.floor(n/1e3),e.refRank=n,e.refValue=i},a.decline2=function(t,e){var r=t%10,t=Math.floor(t/10);switch(r){case 1:return 1==t?e[2]:e[0];case 2:case 3:case 4:return 1==t?e[2]:e[1];default:return e[2]}},a.decline=function(t,e,r,n){return e?this.decline2(t,n):this.decline2(t,r)},a.currToStr2=function(t,e,r,n,i){var o=Math.floor(t),a=0;StiOptions.Engine.useRoundForToCurrencyWordsFunctions?99<(a=Math.round(100*(t-o)))&&(a=0,o++):a=100*(t-o);var o=this.numToStr(o,e)+" "+this.decline(o,!1,n,i);return r&&(o+=" i "+this.numToStr(a,!1)+" "+this.decline(a,!0,n,i)),o},a.currToStr=function(t,e,r,n){switch(e){case"USD":return this.currToStr2(t,n,r,this.dollar,this.cent);case"EUR":return this.currToStr2(t,n,r,this.euro,this.cent);default:return this.currToStr2(t,n,r,this.zloty,this.grosz)}},a.dateToStr=function(t,e){var t=o.format("{0} {1} {2}",t.day,this.months[t.month-1],t.year);return e&&(t=t[0].toUpperCase()+t.substr(1)),t},a.units=["jeden","dwa","trzy","cztery","pięć","sześć","siedem","osiem","dziewięć","dziesięć","jedenaście","dwanaście","trzynaście","czternaście","piętnaście","szesnaście","siedemnaście","osiemnaście","dziewiętnaście"],a.tens=["dziesięć","dwadzieścia","trzydzieści","czterdzieści","pięćdziesiąt","sześćdziesiąt","siedemdziesiąt","osiemdziesiąt","dziewięćdziesiąt"],a.hundreds=["sto","dwieście","trzysta","czterysta","pięćset","sześćset","siedemset","osiemset","dziewięćset"],a.thousends=["tysiąc","tysiące","tysięcy"],a.million=["milion","miliony","milionów"],a.billion=["miliard","miliardy","miliardów"],a.trillion=["bilion","biliony","bilionów"],a.quadrillion=["biliard","biliardy","biliardów"],a.quintillion=["trylion","tryliony","trylionów"],a.zloty=["złoty","złote","złotych"],a.grosz=["grosz","grosze","groszy"],a.dollar=["dolar","dolary","dolarów"],a.cent=["cent","centy","centów"],a.euro=["euro","euro","euro"],a.months=["Styczeń","Luty","Marzec","Kwiecień","Maj","Czerwiec","Lipiec","Sierpień","Wrzesień","Październik","Listopad","Grudzień"],r=a,i.Pl=r}(Stimulsoft=Stimulsoft||{}),function(t){var e,r,n,i,o,u;function a(){}r=e=t.Report||(t.Report={}),i=n=r.Func||(r.Func={}),o=t.System.StiString,u=t.System.Text.StringBuilder,a.numToStr=function(t,e){var r=1e3<=(t=Math.floor(t)),n,i,o,a,s,l;return 0==t?n="zero":(i=new u,o=!1,t<0&&(o=!0,t=Math.abs(t)),s={ref:a=1e18},l={ref:t},this.addRank(i,s,l,l.ref.toString().stimulsoft.startsWith("1")?"quintilião":"quintiliões",r),this.addRank(i,s,l,l.ref.toString().stimulsoft.startsWith("1")?"quadrilião":"quadriliões",r),this.addRank(i,s,l,l.ref.toString().stimulsoft.startsWith("1")?"trilião":"triliões",r),this.addRank(i,s,l,l.ref.toString().stimulsoft.startsWith("1")?"bilião":"biliões",r),this.addRank(i,s,l,l.ref.toString().stimulsoft.startsWith("1")?"milhão":"milhões",r),this.addRank(i,s,l,"mil",r),this.addRank(i,s,l,"",r),a=s.ref,t=l.ref,n=i.toString(),o&&(n="menos "+n)),e&&(n=n.charAt(0).toUpperCase()+n.substr(1)),n},a.addRank=function(t,e,r,n,i){var o=e.ref,a=r.ref,s=a/o|0;if(0<s){var l=s/100|0,u=(s/10|0)%10,c=s%10;if(1==u&&(u=0,c=s%100),0<t.length&&(0<l?i&&u+c==0?t.append(" e "):t.append(" "):0<u+c&&t.append(" e ")),0<l){switch(l){case 1:0<u+c?t.append("cento"):t.append("cem");break;case 2:t.append("duzentos");break;case 3:t.append("trezentos");break;case 4:t.append("quatrocentos");break;case 5:t.append("quinhentos");break;case 6:t.append("seiscentos");break;case 7:t.append("setecentos");break;case 8:t.append("oitocentos");break;case 9:t.append("novecentos");break}0<u+c&&t.append(" e ")}0<u&&(this.addTens(t,u),""!=n&&0==c&&t.append(" "),0<c&&t.append(" e ")),(i&&1<c||0<c&&""==n)&&this.addUnits(t,c),0!=t.length&&" "!=t.toString()[t.length-1]&&t.append(" "),t.append(n),a%=o}o=Math.floor(o/1e3),e.ref=o,r.ref=a},a.addUnits=function(t,e){0!=e&&t.append(this.units[e-1])},a.addTens=function(t,e){0!=e&&t.append(this.tens[e-1])},a.decline=function(t,e,r,n){if(e){var n=n.split("/");return this.decline2(t,n[0],n[1])}var r=r.split("/");return this.decline2(t,r[0],r[1])},a.decline2=function(t,e,r){var n;if(1==t%100)return e;return r},a.currToStr=function(t,e,r){var n="euro/euros",i="cêntimo/cêntimos",e=this.numToStr(t,e),r,r;return 0==t&&(e+=" "),e.stimulsoft.endsWith(" ")||(e+=" "),e=o.format("{0}{1}",e,this.decline(t,!1,n,i)),r&&(e+=" e ",r=0,r=StiOptions.Engine.useRoundForToCurrencyWordsFunctions?Math.round(100*(t-t)):100*(t-t),e+=o.format("{0}",this.numToStr(r,!1)),0==r&&(e+=" "),e+=o.format("{0}",this.decline(r,!0,n,i))),e},a.dateToStr=function(t){return o.format("{0} de {1} de {2}",t.day,this.months[t.month-1],t.year)},a.units=["um","dois","três","quatro","cinco","seis","sete","oito","nove","dez","onze","doze","treze","catorze","quinze","dezesseis","dezessete","dezoito","dezenove"],a.tens=["dez","vinte","trinta","quarenta","cinquenta","sessenta","setenta","oitenta","noventa"],a.months=["Janeiro","Fevereiro","Março","Abril","Maio","Junho","Julho","Agosto","Setembro","Outubro","Novembro","Dezembro"],r=a,i.Pt=r}(Stimulsoft=Stimulsoft||{}),function(t){var e,r,n,i,l;function o(){}r=e=t.Report||(t.Report={}),i=n=r.Func||(r.Func={}),l=t.System.StiString,o.numToStr=function(t){var e=[],r=["","","","",""],n=l.customFormat(t,"0000000000.00");e[1]=n.substr(1,3),e[2]=n.substr(4,3),e[3]=n.substr(7,3),e[4]="0"+n.substr(11,2);for(var i=1;i<=4;i++){var o=e[i],a=o.stimulsoft.toNumber(),a=a<10?1:a<100?2:a<1e3?3:0;3==a&&(o.stimulsoft.endsWith("00")?r[i]+=o.stimulsoft.startsWith("1")?"CEM ":this.centena[o.substr(0,1).stimulsoft.toNumber()]:(r[i]+=this.centena[o.substr(0,1).stimulsoft.toNumber()]+"E ",a=2)),2==a&&(o.substr(1,2).stimulsoft.toNumber()<20?r[i]+=this.unid[o.substr(1,2).stimulsoft.toNumber()]:(r[i]+=this.dezena[o.substr(1,1).stimulsoft.toNumber()],o.stimulsoft.endsWith("0")||(r[i]+="E ",a=1))),1==a&&(r[i]+=this.unid[o.substr(2,1).stimulsoft.toNumber()])}var n="";0==(e[1]+e[2]+e[3]).stimulsoft.toNumber()&&0!=e[4].stimulsoft.toNumber()?n=r[4]+(1==e[4].stimulsoft.toNumber()?"CENTAVO":"CENTAVOS"):(n=0!=e[1].stimulsoft.toNumber()?r[1]+(1<e[1].stimulsoft.toNumber()?"MILHÕES ":"MILHÃO "):"",0==(e[2]+e[3]).stimulsoft.toNumber()?n+="DE ":n+=0!=e[2].stimulsoft.toNumber()?r[2]+"MIL ":"",n+=r[3]+(1==(e[1]+e[2]+e[3]).stimulsoft.toNumber()?"REAL ":"REAIS "),n+=0!=e[4].stimulsoft.toNumber()?"E "+r[4]+(1==e[4].stimulsoft.toNumber()?"CENTAVO":"CENTAVOS"):"");var s="",s;return(s=0==t?this.unid[0]:n.trim()).toLowerCase()},o.unid=["ZERO ","UM ","DOIS ","TRÊS ","QUATRO ","CINCO ","SEIS ","SETE ","OITO ","NOVE ","DEZ ","ONZE ","DOZE ","TREZE ","CATORZE ","QUINZE ","DEZESSEIS ","DEZESSETE ","DEZOITO ","DEZENOVE "],o.dezena=["ZERO ","DEZ ","VINTE ","TRINTA ","QUARENTA ","CINQÜENTA ","SESSENTA ","SETENTA ","OITENTA ","NOVENTA "],o.centena=["ZERO ","CENTO ","DUZENTOS ","TREZENTOS ","QUATROCENTOS ","QUINHENTOS ","SEISCENTOS ","SETECENTOS ","OITOCENTOS ","NOVECENTOS "],r=o,i.PtBr=r}(Stimulsoft=Stimulsoft||{}),function(t){var e,r,n,s,a,l,i,o,u,c,p,h,m,t,d,g;function f(){var t=null!==u&&u.apply(this,arguments)||this;return t._dollars=["рубль","рубля","рублей"],t._cents=["копейка","копейки","копеек"],t}function S(){var t=null!==p&&p.apply(this,arguments)||this;return t._dollars=["доллар","доллара","долларов"],t._cents=["цент","цента","центов"],t}function y(){var t=null!==m&&m.apply(this,arguments)||this;return t._dollars=["евро","евро","евро"],t._cents=["цент","цента","центов"],t}function A(){var t=null!==d&&d.apply(this,arguments)||this;return t._dollars=["гривна","гривны","гривен"],t._cents=["копейка","копейки","копеек"],t}function b(){var t=null!==g&&g.apply(this,arguments)||this;return t._dollars=["тенге","тенге","тенге"],t._cents=["тиын","тиына","тиынов"],t}function C(){}r=e=t.Report||(t.Report={}),s=n=r.Func||(r.Func={}),a=t.System.StiString,l=t.System.Text.StringBuilder,i=t.System.Collections.Hashtable,u=s.Currency,__extends(f,u),Object.defineProperty(f.prototype,"gender",{get:function(){return s.Gender.Masculine},enumerable:!1,configurable:!0}),Object.defineProperty(f.prototype,"centsGender",{get:function(){return s.Gender.Feminine},enumerable:!1,configurable:!0}),Object.defineProperty(f.prototype,"dollars",{get:function(){return this._dollars},enumerable:!1,configurable:!0}),Object.defineProperty(f.prototype,"cents",{get:function(){return this._cents},enumerable:!1,configurable:!0}),o=f,p=s.Currency,__extends(S,p),Object.defineProperty(S.prototype,"gender",{get:function(){return s.Gender.Masculine},enumerable:!1,configurable:!0}),Object.defineProperty(S.prototype,"centsGender",{get:function(){return s.Gender.Masculine},enumerable:!1,configurable:!0}),Object.defineProperty(S.prototype,"dollars",{get:function(){return this._dollars},enumerable:!1,configurable:!0}),Object.defineProperty(S.prototype,"cents",{get:function(){return this._cents},enumerable:!1,configurable:!0}),c=S,m=s.Currency,__extends(y,m),Object.defineProperty(y.prototype,"gender",{get:function(){return s.Gender.Neutral},enumerable:!1,configurable:!0}),Object.defineProperty(y.prototype,"centsGender",{get:function(){return s.Gender.Masculine},enumerable:!1,configurable:!0}),Object.defineProperty(y.prototype,"dollars",{get:function(){return this._dollars},enumerable:!1,configurable:!0}),Object.defineProperty(y.prototype,"cents",{get:function(){return this._cents},enumerable:!1,configurable:!0}),h=y,d=s.Currency,__extends(A,d),Object.defineProperty(A.prototype,"gender",{get:function(){return s.Gender.Feminine},enumerable:!1,configurable:!0}),Object.defineProperty(A.prototype,"centsGender",{get:function(){return s.Gender.Feminine},enumerable:!1,configurable:!0}),Object.defineProperty(A.prototype,"dollars",{get:function(){return this._dollars},enumerable:!1,configurable:!0}),Object.defineProperty(A.prototype,"cents",{get:function(){return this._cents},enumerable:!1,configurable:!0}),t=A,g=s.Currency,__extends(b,g),Object.defineProperty(b.prototype,"gender",{get:function(){return s.Gender.Masculine},enumerable:!1,configurable:!0}),Object.defineProperty(b.prototype,"centsGender",{get:function(){return s.Gender.Feminine},enumerable:!1,configurable:!0}),Object.defineProperty(b.prototype,"dollars",{get:function(){return this._dollars},enumerable:!1,configurable:!0}),Object.defineProperty(b.prototype,"cents",{get:function(){return this._cents},enumerable:!1,configurable:!0}),r=b,C.registerCurrency=function(t,e){this.currencies.set(e.toUpperCase(),t)},C.getCurrency=function(t){var e=this.currencies.get(t.toUpperCase());if(null==e)throw a.format("Currency '{0}' is not registered",t);return e},C.addUnits=function(t,e,r){0!=e&&(0<t.length&&t.append(" "),e<3?t.append(this.gendered[e-1][r]):t.append(this.units[e-1]))},C.addTens=function(t,e){0!=e&&(0<t.length&&t.append(" "),t.append(this.tens[e-1]))},C.addHundreds=function(t,e){0!=e&&(0<t.length&&t.append(" "),t.append(this.hundreds[e-1]))},C.addThousand=function(t,e,r){this.addHundreds(t,e/100|0),(e%=100)<20?this.addUnits(t,e,r):(this.addTens(t,e/10|0),this.addUnits(t,e%10,r))},C.addRank=function(t,e,r,n,i,o,a){var s=e.ref,l=r.ref,u=l/s|0,c,p,a,a;0<u&&(this.addThousand(t,u,a),c=u%10,p=u%100,a="",a=10<u&&u<20||11<=p&&p<20?o:1==c?n:1<c&&c<5?i:o,0<t.length&&t.append(" "),t.append(a),l%=s),s=Math.floor(s/1e3),e.ref=s,r.ref=l},C.numToStr=function(t,e,r){void 0===e&&(e=!0),void 0===r&&(r=s.Gender.Masculine),t=Math.floor(t);var n=new l,i,o,a;0==t?n.append("ноль"):(t<0&&(n.append("минус"),t=Math.abs(t)),o={ref:i=1e18},a={ref:t},this.addRank(n,o,a,"квинтильон","квинтильона","квинтильонов",s.Gender.Masculine),this.addRank(n,o,a,"квадрильон","квадрильона","квадрильонов",s.Gender.Masculine),this.addRank(n,o,a,"триллион","триллиона","триллионов",s.Gender.Masculine),this.addRank(n,o,a,"миллиард","миллиарда","миллиардов",s.Gender.Masculine),this.addRank(n,o,a,"миллион","миллиона","миллионов",s.Gender.Masculine),this.addRank(n,o,a,"тысяча","тысячи","тысяч",s.Gender.Feminine),i=o.ref,t=a.ref,this.addThousand(n,t,r));var n=n.toString();return e&&(n=n.charAt(0).toUpperCase()+n.substr(1)),n},C.currToStr=function(t,e,r,n){void 0===e&&(e=!0),void 0===r&&(r="RUR"),void 0===n&&(n=!0);var i=Math.trunc(t),o=0;StiOptions.Engine.useRoundForToCurrencyWordsFunctions?99<(o=Math.round(100*(t-i)))&&(o=0,i++):o=100*(t-i);var i=a.format("{0} {1}",this.numToStr(i,e,this.getCurrency(r).gender),this.decline(i,r));return n&&(i+=a.format(" {0:d2}",o),i+=a.format(" {0}",this.decline(o,r,!0))),i},C.decline2=function(t,e,r,n){var t=t%100;if(10<=t&&t<20)return n;if(1==(t%=10))return e;if(1<t&&t<5)return r;return n},C.decline=function(t,e,r){void 0===r&&(r=!1);var e=this.getCurrency(e);return r?this.decline2(t,e.centOne,e.centTwo,e.centFive):this.decline2(t,e.dollarOne,e.dollarTwo,e.dollarFive)},C.dateToStr=function(t,e){void 0===e&&(e=!1);var t=a.format("{0} {1} {2}",t.day,this.months[t.month-1],t.year);return e&&(t=t[0].toUpperCase()+t.substr(1)),t},C.currencies=new i,C.months=["января","февраля","марта","апреля","мая","июня","июля","августа","сентября","октября","ноября","декабря"],C.units=["один","два","три","четыре","пять","шесть","семь","восемь","девять","десять","одиннадцать","двенадцать","тринадцать","четырнадцать","пятнадцать","шестнадцать","семнадцать","восемнадцать","девятнадцать"],C.tens=["десять","двадцать","тридцать","сорок","пятьдесят","шестьдесят","семьдесят","восемьдесят","девяносто"],C.hundreds=["сто","двести","триста","четыреста","пятьсот","шестьсот","семьсот","восемьсот","девятьсот"],C.gendered=[["один","одна","одно"],["два","две","два"]],i=C,(s.Ru=i).registerCurrency(new h,"EUR"),i.registerCurrency(new c,"USD"),i.registerCurrency(new o,"RUR"),i.registerCurrency(new t,"UAH"),i.registerCurrency(new r,"KZT")}(Stimulsoft=Stimulsoft||{}),function(a){var t,e,r,n,s;function l(){}e=t=a.Report||(a.Report={}),n=r=e.Func||(e.Func={}),s=a.System.StiString,l.numToStr=function(t){for(var t=s.customFormat(t,"000000000000000000.00").replace(".",","),e=t.substr(0,t.indexOf(",")),r="",n=6,i,o=0;o<3*n;o+=3)i="","0"!=e.substr(o,1)&&(i+=l.Birler[a.System.Convert.toInt32(e.substr(o,1))]+"Yüz"),"BirYüz"==i&&(i="Yüz"),i+=l.Onlar[a.System.Convert.toInt32(e.substr(o+1,1))],""!=(i+=l.Birler[a.System.Convert.toInt32(e.substr(o+2,1))])&&(i+=l.Binler[o/3]),"BirBin"==i&&(i="Bin"),r+=i;return r},l.currToStr=function(t,e,r){void 0===e&&(e="TL/Kr."),void 0===r&&(r=!0);var n=s.customFormat(t,"0.00").replace(".",","),i=n.substr(n.indexOf(",")+1,2),n=e.split("/"),e=l.numToStr(t);0<e.length&&(e+=" "+n[0]+" ");var t=e.length;return"0"!=i.substr(0,1)&&(e+=l.Onlar[a.System.Convert.toInt32(i.substr(0,1))]),"0"!=i.substr(1,1)&&(e+=l.Birler[a.System.Convert.toInt32(i.substr(1,1))]),e.length>t?e+=" "+n[1]:r&&(e+="Sıfır "+n[1]),e},l.Birler=["","Bir","İki","Üç","Dört","Beş","Altı","Yedi","Sekiz","Dokuz"],l.Onlar=["","On","Yirmi","Otuz","Kırk","Elli","Altmış","Yetmiş","Seksen","Doksan"],l.Binler=["Katrilyon","Trilyon","Milyar","Milyon","Bin",""],e=l,n.Tr=e}(Stimulsoft=Stimulsoft||{}),function(t){var e,r,n,s,a,l,i,o,u,c,p,t,h,m;function d(){var t=null!==u&&u.apply(this,arguments)||this;return t._dollars=["рубль","рубля","рублів"],t._cents=["копійка","копійки","копійок"],t}function g(){var t=null!==p&&p.apply(this,arguments)||this;return t._dollars=["долар","долара","доларів"],t._cents=["цент","цента","центів"],t}function f(){var t=null!==h&&h.apply(this,arguments)||this;return t._dollars=["євро","євро","євро"],t._cents=["цент","цента","центів"],t}function S(){var t=null!==m&&m.apply(this,arguments)||this;return t._dollars=["гривня","гривні","гривень"],t._cents=["копійка","копійки","копійок"],t}function y(){}r=e=t.Report||(t.Report={}),s=n=r.Func||(r.Func={}),a=t.System.StiString,l=t.System.Text.StringBuilder,i=t.System.Collections.Hashtable,u=s.Currency,__extends(d,u),Object.defineProperty(d.prototype,"gender",{get:function(){return s.Gender.Masculine},enumerable:!1,configurable:!0}),Object.defineProperty(d.prototype,"centsGender",{get:function(){return s.Gender.Feminine},enumerable:!1,configurable:!0}),Object.defineProperty(d.prototype,"dollars",{get:function(){return this._dollars},enumerable:!1,configurable:!0}),Object.defineProperty(d.prototype,"cents",{get:function(){return this._cents},enumerable:!1,configurable:!0}),o=d,p=s.Currency,__extends(g,p),Object.defineProperty(g.prototype,"gender",{get:function(){return s.Gender.Masculine},enumerable:!1,configurable:!0}),Object.defineProperty(g.prototype,"centsGender",{get:function(){return s.Gender.Masculine},enumerable:!1,configurable:!0}),Object.defineProperty(g.prototype,"dollars",{get:function(){return this._dollars},enumerable:!1,configurable:!0}),Object.defineProperty(g.prototype,"cents",{get:function(){return this._cents},enumerable:!1,configurable:!0}),c=g,h=s.Currency,__extends(f,h),Object.defineProperty(f.prototype,"gender",{get:function(){return s.Gender.Neutral},enumerable:!1,configurable:!0}),Object.defineProperty(f.prototype,"centsGender",{get:function(){return s.Gender.Masculine},enumerable:!1,configurable:!0}),Object.defineProperty(f.prototype,"dollars",{get:function(){return this._dollars},enumerable:!1,configurable:!0}),Object.defineProperty(f.prototype,"cents",{get:function(){return this._cents},enumerable:!1,configurable:!0}),t=f,m=s.Currency,__extends(S,m),Object.defineProperty(S.prototype,"gender",{get:function(){return s.Gender.Feminine},enumerable:!1,configurable:!0}),Object.defineProperty(S.prototype,"centsGender",{get:function(){return s.Gender.Feminine},enumerable:!1,configurable:!0}),Object.defineProperty(S.prototype,"dollars",{get:function(){return this._dollars},enumerable:!1,configurable:!0}),Object.defineProperty(S.prototype,"cents",{get:function(){return this._cents},enumerable:!1,configurable:!0}),r=S,y.registerCurrency=function(t,e){this.currencies.set(e.toUpperCase(),t)},y.getCurrency=function(t){var e=this.currencies.get(t.toUpperCase());if(null==e)throw a.format("Currency '{0}' is not registered",t);return e},y.addUnits=function(t,e,r){0!=e&&(0<t.length&&t.append(" "),e<3?t.append(this.gendered[e-1][r]):t.append(this.units[e-1]))},y.addTens=function(t,e){0!=e&&(0<t.length&&t.append(" "),t.append(this.tens[e-1]))},y.addHundreds=function(t,e){0!=e&&(0<t.length&&t.append(" "),t.append(this.hundreds[e-1]))},y.addThousand=function(t,e,r){this.addHundreds(t,e/100|0),(e%=100)<20?this.addUnits(t,e,r):(this.addTens(t,e/10|0),this.addUnits(t,e%10,r))},y.addRank=function(t,e,r,n,i,o,a){var s=e.ref,l=r.ref,u=l/s|0,c,a,a;0<u&&(this.addThousand(t,u,a),c=u%10,a="",a=10<u&&u<20?o:1==c?n:1<c&&c<5?i:o,0<t.length&&t.append(" "),t.append(a),l%=s),s=Math.floor(s/1e3),e.ref=s,r.ref=l},y.numToStr=function(t,e,r){void 0===e&&(e=!0),void 0===r&&(r=s.Gender.Masculine),t=Math.floor(t);var n=new l,i,o,a;0==t?n.append("ноль"):(t<0&&(n.append("минус"),t=Math.abs(t)),o={ref:i=1e18},a={ref:t},this.addRank(n,o,a,"квінтильйон","квінтильйона","квінтильйонів",s.Gender.Masculine),this.addRank(n,o,a,"квадрильйон","квадрильйона","квадрильйонів",s.Gender.Masculine),this.addRank(n,o,a,"трильйон","трильйона","трильйонів",s.Gender.Masculine),this.addRank(n,o,a,"мільярд","мільярда","мільярдів",s.Gender.Masculine),this.addRank(n,o,a,"мільйон","мільйона","мільйонів",s.Gender.Masculine),this.addRank(n,o,a,"тисяча","тисячі","тисяч",s.Gender.Feminine),i=o.ref,t=a.ref,this.addThousand(n,t,r));var n=n.toString();return e&&(n=n.charAt(0).toUpperCase()+n.substr(1)),n},y.currToStr=function(t,e,r,n){void 0===e&&(e=!0),void 0===r&&(r="UAH"),void 0===n&&(n=!0);var i=Math.trunc(t),o=0;StiOptions.Engine.useRoundForToCurrencyWordsFunctions?99<(o=Math.round(100*(t-i)))&&(o=0,i++):o=100*(t-i);var i=a.format("{0} {1}",this.numToStr(i,e,this.getCurrency(r).gender),this.decline(i,r));return n&&(i+=a.format(" {0:d2}",o),i+=a.format(" {0}",this.decline(o,r,!0))),i},y.decline2=function(t,e,r,n){var t=t%100;if(10<=t&&t<20)return n;if(1==(t%=10))return e;if(1<t&&t<5)return r;return n},y.decline=function(t,e,r){void 0===r&&(r=!1);var e=this.getCurrency(e);return r?this.decline2(t,e.centOne,e.centTwo,e.centFive):this.decline2(t,e.dollarOne,e.dollarTwo,e.dollarFive)},y.dateToStr=function(t,e){void 0===e&&(e=!1);var t=a.format("{0} {1} {2}",t.day,this.months[t.month-1],t.year);return e&&(t=t[0].toUpperCase()+t.substr(1)),t},y.currencies=new i,y.months=["січня","лютого","березня","квітня","травня","червня","липня","серпня","вересня","жовтня","листопада","грудня"],y.units=["один","два","три","чотири","п'ять","шість","сім","вісім","дев'ять","десять","одинадцять","дванадцять","тринадцять","чотирнадцять","п'ятнадцять","шістнадцять","сімнадцять","вісімнадцять","дев'ятнадцять"],y.tens=["десять","двадцять","тридцять","сорок","п'ятдесят","шістдесят","сімдесят","вісімдесят","дев'яносто"],y.hundreds=["сто","двісті","триста","чотириста","п'ятсот","шістсот","сімсот","вісімсот","дев'ятсот"],y.gendered=[["один","одна","одне"],["два","дві","два"]],i=y,(s.Ua=i).registerCurrency(new t,"EUR"),i.registerCurrency(new c,"USD"),i.registerCurrency(new o,"RUR"),i.registerCurrency(new r,"UAH")}(Stimulsoft=Stimulsoft||{}),function(t){var e,r,n,t;function i(){}r=e=t.Report||(t.Report={}),t=n=r.Func||(r.Func={}),i.toWordsZh=function(t){if((t=Math.floor(t))<=0)return"你输入的数字格式不正确或不是数字!";var t=t.toString(),e,e;return e=(e=this.numberString(t)).stimulsoft.replaceAll("零零","零")},i.toCurrencyWordsZh=function(t){if(t<=0)return"你输入的数字格式不正确或不是数字!";var e,r,t=(t=Math.round2(t,2)).toString().split("."),e;return e=1==t.length?(e=this.numberString(t[0])+"元整").stimulsoft.replaceAll("零零","零"):(e=this.numberString(t[0])+"元",(e+=this.floatString(t[1])).stimulsoft.replaceAll("零零","零"))},i.floatString=function(t){var e;2<t.length&&(t=t.substr(0,2));var t=this.convertString(t),r;return 0!=t.indexOf("零")?1==(t=t.stimulsoft.replaceAll("零","")).length?e=t.substr(0,1)+"角整":(e=t.substr(0,1)+"角",e+=t.substr(1,1)+"分"):e=t+"分",e},i.numberString=function(t){var e="";return t.length<=4?e=this.convert4(t):4<t.length&&t.length<=8?(e=this.convert4(t.substr(0,t.length-4))+"万",e+=this.convert4(t.substr(t.length-4,4))):8<t.length&&t.length<=12&&(e=this.convert4(t.substr(0,t.length-8))+"亿",""==this.convert4(t.substr(t.length-8,4))?""!=this.convert4(t.substr(t.length-4,4))?e+="零":e+="":e+=this.convert4(t.substr(t.length-8,4))+"万",e+=this.convert4(t.substr(t.length-4,4))),e},i.convert4=function(t){var e,r,n,n,e,r;return e=1==t.length?this.convertString(t):2==t.length?(e=this.convertString(t),this.convert2(e)):3==t.length?(e=this.convertString(t),this.convert3(e)):"零零零零"!=(r=(e=this.convertString(t)).substr(0,4))?"零零零"!=(r=e.substr(0,3))?1==(e=e.stimulsoft.replaceAll("零零零","")).length?e.substr(0,1)+"仟":(n=void 0,(n="零"!=e.substr(0,1)&&"零"!=e.substr(0,2)?e.substr(0,1)+"仟":e.substr(0,1))+this.convert3(e.substr(1,3))):e.stimulsoft.replaceAll("零零零","零"):e.stimulsoft.replaceAll("零零零零","")},i.convertString=function(t){for(var e="",r=0;r<t.length;r++)e+=this.numChineseCharacter[t.substr(r,1).stimulsoft.toNumber()];return e},i.convert2=function(t){var e,r,n;return"零"!=t.substr(0,1)?1==(n=t.stimulsoft.replaceAll("零","")).length?e=n.substr(0,1)+"拾":(e=n.substr(0,1)+"拾",e+=n.substr(1,1)):e=t,e},i.convert3=function(t){var e,r,n,n,e;return e="零零"!=t.substr(0,2)?1==(e=t.stimulsoft.replaceAll("零零","")).length?e.substr(0,1)+"佰":(n=void 0,(n="零"!=e.substr(0,1)?e.substr(0,1)+"佰":e.substr(0,1))+this.convert2(e.substr(1,2))):t.stimulsoft.replaceAll("零零","零")},i.numChineseCharacter=["零","壹","贰","叁","肆","伍","陆","柒","捌","玖"],r=i,t.Zh=r}(Stimulsoft=Stimulsoft||{}),function(t){var e,r;(r=e=t.Report||(t.Report={})).IStiGlobalizationManager=new t.System.Interface("IStiGlobalizationManager")}(Stimulsoft=Stimulsoft||{}),function(t){var e,r;(r=e=t.Report||(t.Report={})).IStiGlobalizationManagerList=new t.System.Interface("IStiGlobalizationManagerList")}(Stimulsoft=Stimulsoft||{}),function(t){var e,r;(r=e=t.Report||(t.Report={})).IStiGlobalizationProvider=new t.System.Interface("IStiGlobalizationProvider")}(Stimulsoft=Stimulsoft||{}),function(t){var e,C,v,g,w,u,t;function r(t){void 0===t&&(t="en"),this._cultureName="",this._items=new C.StiGlobalizationItemCollection,this._cultureName=t}C=e=t.Report||(t.Report={}),v=t.System.StiString,g=t.Report.Dictionary.StiVariable,w=t.System.Collections.Hashtable,u=t.Base.StiJson,r.prototype.saveToJsonObject=function(t){var e,r,n=new u;if(n.addPropertyStringNullOrEmpty("CultureName",this.cultureName),0<this.items.count){var i=new u,o=0;try{for(var a=__values(this.items.list),s=a.next();!s.done;s=a.next()){var l=s.value;i.addPropertyJObject(o.toString(),l.saveToJsonObject(t)),o++}}catch(t){e={error:t}}finally{try{s&&!s.done&&(r=a.return)&&r.call(a)}finally{if(e)throw e.error}}n.addPropertyJObject("Items",i)}return n},r.prototype.loadFromJsonObject=function(t){var e,r,n,i;try{for(var o=__values(t.properties()),a=o.next();!a.done;a=o.next()){var s=a.value;switch(s.name){case"CultureName":this._cultureName=s.value.toString();break;case"Items":try{for(var l=(n=void 0,__values(s.value.properties())),u=l.next();!u.done;u=l.next()){var c=u.value,p=new C.StiGlobalizationItem;p.loadFromJsonObject(c.value),this.items.add(p)}}catch(t){n={error:t}}finally{try{u&&!u.done&&(i=l.return)&&i.call(l)}finally{if(n)throw n.error}}break}}}catch(t){e={error:t}}finally{try{a&&!a.done&&(r=o.return)&&r.call(o)}finally{if(e)throw e.error}}},r.prototype.loadFromXmlObject=function(t){for(var e,r,n=0;n<t.childNodes.length;n++){var i=t.childNodes[n];switch(i.nodeName){case"CultureName":this._cultureName=i.textContent;break;case"Items":try{for(var o=(e=void 0,__values(i.childNodes)),a=o.next();!a.done;a=o.next()){var s=a.value,l=new C.StiGlobalizationItem;l.loadFromXmlObject(s),this.items.add(l)}}catch(t){e={error:t}}finally{try{a&&!a.done&&(r=o.return)&&r.call(o)}finally{if(e)throw e.error}}break}}},Object.defineProperty(r.prototype,"cultureName",{get:function(){return this._cultureName},set:function(t){this._cultureName=t},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"items",{get:function(){return this._items},set:function(t){this.items=t},enumerable:!1,configurable:!0}),r.prototype.getAllStringsForReport=function(t){var e,r,n,i,o,a,s=new w,l=t.getComponents();try{for(var u=__values(l.list),c=u.next();!c.done;c=u.next()){var p=c.value,h=p.stimulsoft.as(C.IStiGlobalizationProvider);if(null!=h){var m=h.getAllStrings();try{for(var d=(n=void 0,__values(m)),g=d.next();!g.done;g=d.next()){var f=g.value,S=v.format("{0}.{1}",p.name,f),f=h.getString(f);null!=f&&s.set(S,f)}}catch(t){n={error:t}}finally{try{g&&!g.done&&(i=d.return)&&i.call(d)}finally{if(n)throw n.error}}}}}catch(t){e={error:t}}finally{try{c&&!c.done&&(r=u.return)&&r.call(u)}finally{if(e)throw e.error}}try{for(var y=__values(t.dictionary.variables.list),A=y.next();!A.done;A=y.next()){var b=A.value;s.set("Variable."+b.name,b.value),b.requestFromUser&&StiOptions.Engine.Globalization.allowUseVariableAlias&&s.set("Variable."+b.name+".Alias",b.alias)}}catch(t){o={error:t}}finally{try{A&&!A.done&&(a=y.return)&&a.call(y)}finally{if(o)throw o.error}}return s.set("ReportAuthor",t.reportAuthor),s.set("ReportDescription",t.reportDescription),s.set("ReportAlias",t.reportAlias),s},r.prototype.localizeReport=function(t){var e,r,n,i,o,a=new w;try{for(var s=__values(t.dictionary.variables.list),l=s.next();!l.done;l=s.next()){var u=l.value;a.set("Variable."+u.name,u),u.requestFromUser&&StiOptions.Engine.Globalization.allowUseVariableAlias&&a.set("Variable."+u.name+".Alias",u)}}catch(t){e={error:t}}finally{try{l&&!l.done&&(r=s.return)&&r.call(s)}finally{if(e)throw e.error}}try{for(var c=__values(this.items.list),p=c.next();!p.done;p=c.next()){var h=p.value,m=h.propertyName,u,d,o,d,o;"ReportAuthor"==m?t.reportAuthor=h.text:"ReportDescription"==m?t.reportDescription=h.text:"ReportAlias"==m?t.reportAlias=h.text:null!=a.get(m)&&a.get(m).stimulsoft.is(g)?(u=a.get(m),m.stimulsoft.endsWith(".Alias")?u.alias=h.text:u.value=h.text):-1!=(d=m.indexOf("."))&&(o=m.substr(0,d),d=m.substr(d+1),null!=(o=null===(o=t.getComponents().getByName(o))||void 0===o?void 0:o.stimulsoft.as(C.IStiGlobalizationProvider))&&o.setString(d,h.text))}}catch(t){n={error:t}}finally{try{p&&!p.done&&(i=c.return)&&i.call(c)}finally{if(n)throw n.error}}},r.prototype.fillItemsFromReport=function(t){var e,r,n,i,o=this.getAllStringsForReport(t),a=new w;try{for(var s=__values(this.items.list),l=s.next();!l.done;l=s.next()){var u=l.value;a.set(u.propertyName,u)}}catch(t){e={error:t}}finally{try{l&&!l.done&&(r=s.return)&&r.call(s)}finally{if(e)throw e.error}}try{for(var c=__values(o.keys),p=c.next();!p.done;p=c.next()){var h=p.value;if(null!=a.get(h))continue;this.items.add(new C.StiGlobalizationItem(h,o.get(h)))}}catch(t){n={error:t}}finally{try{p&&!p.done&&(i=c.return)&&i.call(c)}finally{if(n)throw n.error}}},r.prototype.removeUnlocalizedItemsFromReport=function(t){var e,r,n,i,o=this.getAllStringsForReport(t),a=new w;try{for(var s=__values(this.items.list),l=s.next();!l.done;l=s.next()){var u=l.value;a.set(u.propertyName,u)}}catch(t){e={error:t}}finally{try{l&&!l.done&&(r=s.return)&&r.call(s)}finally{if(e)throw e.error}}try{for(var c=__values(o.keys),p=c.next();!p.done;p=c.next()){var h=p.value,m,u;o.get(h)==(u=a.get(h)).text&&this.items.remove(u)}}catch(t){n={error:t}}finally{try{p&&!p.done&&(i=c.return)&&i.call(c)}finally{if(n)throw n.error}}},t=r,C.StiGlobalizationContainer=t}(Stimulsoft=Stimulsoft||{}),function(t){var e,C,v,r,l,n;function i(t){var e=n.call(this)||this;return e.report=null,e.skipException=!1,e.report=t,e}C=e=t.Report||(t.Report={}),v=t.System.StiString,r=t.System.Collections.CollectionBase,l=t.Base.StiJson,__extends(i,n=r),i.prototype.saveToJsonObject=function(t){var e,r;if(0==this.list.length)return null;var n=new l,i=0;try{for(var o=__values(this.list),a=o.next();!a.done;a=o.next()){var s=a.value;n.addPropertyJObject(i.toString(),s.saveToJsonObject(t)),i++}}catch(t){e={error:t}}finally{try{a&&!a.done&&(r=o.return)&&r.call(o)}finally{if(e)throw e.error}}return n},i.prototype.loadFromJsonObject=function(t){var e,r;try{for(var n=__values(t.properties()),i=n.next();!i.done;i=n.next()){var o=i.value,a=new C.StiGlobalizationContainer;a.loadFromJsonObject(o.value),this.list.push(a)}}catch(t){e={error:t}}finally{try{i&&!i.done&&(r=n.return)&&r.call(n)}finally{if(e)throw e.error}}},i.prototype.loadFromXmlObject=function(t){for(var e=0;e<t.childNodes.length;e++){var r=t.childNodes[e],n=new C.StiGlobalizationContainer;n.loadFromXmlObject(r),this.list.push(n)}},i.prototype.getByName=function(t){var e,r;t=t.toLowerCase();try{for(var n=__values(this.list),i=n.next();!i.done;i=n.next()){var o=i.value;if(o.cultureName.toLowerCase()==t)return o}}catch(t){e={error:t}}finally{try{i&&!i.done&&(r=n.return)&&r.call(n)}finally{if(e)throw e.error}}return null},i.prototype.setByName=function(t,e){t=t.toLowerCase();for(var r=0,n;r<this.list.length;r++){if(this.getByIndex(r).cultureName.toLowerCase()==t)return void(this.list[r]=e)}this.add(e)},i.prototype.getShortName=function(t){var e=t.indexOf("-");return-1<e?t.substr(0,e):t},i.prototype.localizeReport=function(t){var e=this.getByName(t);if(null==e&&(e=this.getByName(this.getShortName(t))),null==e&&!this.skipException)throw v.format("Can't find globalized strings for culture {0}",t);null!=e&&e.localizeReport(this.report)},i.prototype.localizeReport2=function(t){this.localizeReport(t.name)},i.prototype.fillItemsFromReport=function(){var e,t;try{for(var r=__values(this.list),n=r.next(),i;!n.done;n=r.next()){n.value.fillItemsFromReport(this.report)}}catch(t){e={error:t}}finally{try{n&&!n.done&&(t=r.return)&&t.call(r)}finally{if(e)throw e.error}}},i.prototype.removeUnlocalizedItemsFromReport=function(){var e,t;try{for(var r=__values(this.list),n=r.next(),i;!n.done;n=r.next()){n.value.removeUnlocalizedItemsFromReport(this.report)}}catch(t){e={error:t}}finally{try{n&&!n.done&&(t=r.return)&&t.call(r)}finally{if(e)throw e.error}}},i.prototype.removeComponent=function(t){var e,r,n,i,o=t.stimulsoft.as(C.IStiGlobalizationProvider);if(null!=o){var a=o.getAllStrings();try{for(var s=__values(a),l=s.next();!l.done;l=s.next()){var u=l.value,c=v.format("{0}.{1}",t.name,u);try{for(var p=(n=void 0,__values(this.list)),h=p.next();!h.done;h=p.next()){var m=h.value,d=0,g;while(d<m.items.length){m.items.getByIndex(d).propertyName==c?m.items.removeAt(d):d++}}}catch(t){n={error:t}}finally{try{h&&!h.done&&(i=p.return)&&i.call(p)}finally{if(n)throw n.error}}}}catch(t){e={error:t}}finally{try{l&&!l.done&&(r=s.return)&&r.call(s)}finally{if(e)throw e.error}}}},i.prototype.renameComponent=function(t,e,r){var n,i,o,a,s,l,t=t.stimulsoft.as(C.IStiGlobalizationProvider);if(null!=t){var u=t.getAllStrings();try{for(var c=__values(u),p=c.next();!p.done;p=c.next()){var h=p.value,m=v.format("{0}.{1}",e,h),d=v.format("{0}.{1}",r,h);try{for(var g=(o=void 0,__values(this.list)),f=g.next();!f.done;f=g.next()){var S=f.value;try{for(var y=(s=void 0,__values(S.items.list)),A=y.next();!A.done;A=y.next()){var b=A.value;b.propertyName==m&&(b.propertyName=d)}}catch(t){s={error:t}}finally{try{A&&!A.done&&(l=y.return)&&l.call(y)}finally{if(s)throw s.error}}}}catch(t){o={error:t}}finally{try{f&&!f.done&&(a=g.return)&&a.call(g)}finally{if(o)throw o.error}}}}catch(t){n={error:t}}finally{try{p&&!p.done&&(i=c.return)&&i.call(c)}finally{if(n)throw n.error}}}},r=i,C.StiGlobalizationContainerCollection=r}(Stimulsoft=Stimulsoft||{}),function(e){var t,r,n,i;function o(t,e){void 0===t&&(t=""),void 0===e&&(e=""),this._propertyName="",this._text="",this._propertyName=t,this._text=e}r=t=e.Report||(e.Report={}),n=e.Base.StiJson,o.prototype.saveToJsonObject=function(t){var e=new n;return e.addPropertyStringNullOrEmpty("PropertyName",this.propertyName),e.addPropertyStringNullOrEmpty("Text",this.text),e},o.prototype.loadFromJsonObject=function(t){var e,r;try{for(var n=__values(t.properties()),i=n.next();!i.done;i=n.next()){var o=i.value;switch(o.name){case"PropertyName":this._propertyName=o.value.toString();break;case"Text":this._text=o.value.toString();break}}}catch(t){e={error:t}}finally{try{i&&!i.done&&(r=n.return)&&r.call(n)}finally{if(e)throw e.error}}},o.prototype.loadFromXmlObject=function(t){var t=t.textContent.split(",");this._propertyName=e.System.Text.XMLConvert.decodeName(t[0]),this._text=e.System.Text.XMLConvert.decodeName(t[1])},Object.defineProperty(o.prototype,"propertyName",{get:function(){return this._propertyName},set:function(t){this._propertyName=t},enumerable:!1,configurable:!0}),Object.defineProperty(o.prototype,"text",{get:function(){return this._text},set:function(t){this._text=t},enumerable:!1,configurable:!0}),o.prototype.toString=function(){return this.propertyName},i=o,r.StiGlobalizationItem=i}(Stimulsoft=Stimulsoft||{}),function(t){var e,r,t,n;function i(){return null!==n&&n.apply(this,arguments)||this}r=e=t.Report||(t.Report={}),t=t.System.Collections.CollectionBase,__extends(i,n=t),i.prototype.compare=function(t,e){return t.propertyName.stimulsoft.compareTo(e.propertyName)},i.prototype.sort=function(){this.list.stimulsoft.sort2(this)},t=i,r.StiGlobalizationItemCollection=t}(Stimulsoft=Stimulsoft||{}),function(n){var t,e,r;function i(){}e=t=n.Report||(n.Report={}),i.format=function(t){var e={ref:""},r=this.format2(t,e),e=e.ref;return 0==r?"0":""==e?Math.round2(t,2).toString():""+r.toString().replace(",",".").replace(".",n.System.Globalization.CultureInfo.currentCulture.numberFormat.numberDecimalSeparator)+e},i.format2=function(t,e){return this.format3(t,e,!0)},i.format3=function(t,e,r){return this.format4(t,e,!0,0,null)},i.format4=function(t,e,r,n,i){var o=e.ref;if(0==t)return 0;var a=!1;t<0&&(a=!0,t=Math.abs(t));var s=0,l=t,u,c,n,c,u;while(1e3<=l)++s,l/=1e3;if(s<0||21<s)u=t;else{switch(s){case 1:o="K";break;case 2:o="M";break;case 3:o="B";break;case 4:o="T";break;case 5:o="q";break;case 6:o="Q";break;case 7:o="s";break;case 8:o="S";break;case 9:o="O";break}u=t/Math.pow(1e3,s),0==n&&null!=i&&null!=i&&(n=0==s?i:4*s-i),0<n?(u=Math.trunc(u),0==(n=(c=Math.round2(t/Math.pow(1e3,s),n))-Math.trunc(c))&&c-u==1&&(n=1),u+=n):u=Math.round(u),r&&(u=Math.trunc(u),u+=(c=Math.round2(t/Math.pow(1e3,s),2))-Math.trunc(c))}return a&&(u=-u),e.ref=o,u},r=i,e.StiAbbreviationNumberFormatHelper=r}(Stimulsoft=Stimulsoft||{}),function(t){var e,u,r,n,c,p,h,m,i,d,g,f,o,a,s,l,t;function S(){}u=e=t.Report||(t.Report={}),n=r=u.Helpers||(u.Helpers={}),c=t.System.StiObject,p=t.System.Drawing.Color,h=t.System.Type,m=t.System.Enum,i=t.Base.Drawing.StiSolidBrush,d=t.Base.Drawing.StiBrush,g=t.Base.StiAppExpressionHelper,f=t.Base.IStiAppExpressionCollection,o=t.Base.Helpers.StiValueHelper,a=t.Report.Dashboard.StiReportParser,s=t.System.StiString,l=t.Base.Drawing.StiColor,S.processExpressions=function(i,o){var e,t;if(void 0===o&&(o=!1),null==i)return;var r=i.stimulsoft.as(f);if(null==(null==r?void 0:r.expressions))return;var n=function(t){try{if(!(t.name in i))return"continue";var r=function(t){var e=t.enumTypes||{};if(t==u.StiBase)return e;var t=r(t.__proto__)||{};return c.assign({},t,e)},e,n=r(h.getType(i))[t.name];n?i[t.name]=m.parse(n,S.parseExpression(i,g.getExpression(i,t.name),o)):("boolean"==typeof i[t.name]&&(i[t.name]=S.parseBoolExpression(i,t.name,o)),"string"==typeof i[t.name]&&(i[t.name]=S.parseStringExpression(i,t.name,o)),i[t.name]instanceof p&&(i[t.name]=S.parseColorExpression(i,t.name,o)),i[t.name].stimulsoft.is(d)&&(i[t.name]=S.parseBrushExpression(i,t.name,o)))}catch(t){}};try{for(var a=__values(r.expressions.toList().where(function(t){return!t.isEmpty})),s=a.next(),l;!s.done;s=a.next()){n(s.value)}}catch(t){e={error:t}}finally{try{s&&!s.done&&(t=a.return)&&t.call(a)}finally{if(e)throw e.error}}},S.parseBoolExpression=function(t,e,r){void 0===r&&(r=!1);var r=S.parseExpression(t,g.getExpression(t,e),r);return o.tryToBool(r)},S.parseStringExpression=function(t,e,r){void 0===r&&(r=!1);var r=S.parseExpression(t,g.getExpression(t,e),r);return null!=r?r:""},S.parseColorExpression=function(t,e,r){void 0===r&&(r=!1);var r=S.parseExpression(t,g.getExpression(t,e),r);return s.isNullOrWhiteSpace(r)?p.transparent:l.get(r)},S.parseBrushExpression=function(t,e,r){void 0===r&&(r=!1);var r=S.parseExpression(t,g.getExpression(t,e),r);return new i(s.isNullOrWhiteSpace(r)?p.transparent:l.get(r))},S.parseExpression=function(t,e,r){if(void 0===r&&(r=!1),s.isNullOrWhiteSpace(null==e?void 0:e.expression))return null;return a.parse(e.expression,t,!1,null,r,!0)},t=S,n.StiAppExpressionParser=t}(Stimulsoft=Stimulsoft||{}),function(t){var e,r,n,i;function o(){}r=e=t.Report||(t.Report={}),i=n=r.Helpers||(r.Helpers={}),r=t.System.Collections.List,o.dataExts=new r(["xlsx","xls","csv","dbf","json","xml","xsd"]),o.imageExts=new r(["gif","png","jpeg","jpg","bmp","tiff","ico","emf","wmf","svg"]),o.reportExts=new r(["mrt","mrz","mdc","mdz"]),o.textExts=new r(["rtf","txt"]),o.documentExts=new r(["pdf","doc","docx"]),o.fontExts=new r(["ttf","otf","ttc","eot","woff"]),r=o,i.StiFileDialogHelper=r}(Stimulsoft=Stimulsoft||{}),function(t){var e,r,n,i,o,a,s,l;function u(t,e,r,n){var i=l.call(this)||this;return i.fontName=t,i.fontSize=e,i.fontStyle=r,i.unit=n,i}r=e=t.Base||(t.Base={}),i=n=r.Context||(r.Context={}),o=t.System.Drawing.GraphicsUnit,a=t.System.Drawing.FontStyle,s=t.System.Enum,l=i.StiGeom,__extends(u,l),u.prototype.saveToJsonObject=function(t){var t=l.prototype.saveToJsonObject.call(this,t);return t.addPropertyString("FontName",this.fontName),t.addPropertyNumberNoDefaultValue("FontSize",this.fontSize),t.addPropertyString("FontStyle",s.getName(a,this.fontStyle)),t.addPropertyString("Unit",s.getName(o,this.unit)),t},u.changeFontSize=function(t,e){return e<1&&(e=1),new u(t.fontFamily.name,e,t.style,t.unit)},Object.defineProperty(u.prototype,"type",{get:function(){return i.StiGeomType.Font},enumerable:!1,configurable:!0}),u.create=function(t){return new u(t.fontFamily.name,t.size,t.style,t.unit)},r=u,i.StiFontGeom=r}(Stimulsoft=Stimulsoft||{}),function(h){var t,e,m,d,r,n,i,g,f,S,o,a,s,l,y,A,b,C,v,w,B,u;function c(){}e=t=h.Report||(h.Report={}),m=h.Report.Export.Services.Helpers.StiContextSvgHelper,d=h.System.Drawing.Rectangle,r=h.System.Drawing.StringAlignment,n=h.System.Drawing.StringFormatFlags,i=h.System.Drawing.StringTrimming,g=h.Base.Context.StiFontGeom,f=h.System.NodeJs,S=h.System.Drawing.Image,o=h.Report.Helpers.StiFontIconGroup,a=h.Report.Helpers.StiFontIcons,s=h.Report.Helpers.StiFontIconSet,l=h.System.Collections.List,y=h.System.Text.StringBuilder,A=h.System.Xml.XmlTextWriter,b=h.System.Text.Encoding,C=h.System.Drawing.Font,v=h.System.StiString,w=h.System.Drawing.Imaging.ImageFormat,B=h.System.Drawing.Graphics,c.convertFontIconToImage=function(t,e,r,n,i){void 0===i&&(i=null);var o=new S;if(!f.useWebKit)return o;var a=document.createElement("canvas");a.width=r,a.height=n;var s=new A(b.UTF8);c.writeFontIconImage(s,e,t,r,n,i),m.writeStimulsoftIconFont();var i="",l,i="<style>@font-face {font-family: 'Stimulsoft';src: url(data:font/ttf;base64,"+h.Report.Resources.StimulsoftFont.getBase64Content()+") format('truetype');font-weight: normal;font-style: normal;}</style>",i=v.format('<svg xmlns="http://www.w3.org/2000/svg" style="width: {0}; height: {1}"><defs>{3}</defs><rect fill="#ffffff" fill-opacity="0" x="0" y="0" width="{0}" height="{1}" style="fill: white;"/>{2}</svg>',r,n,s.textWriter.getStringBuilder().toString(),i);canvgv2(a,i);var a=a.toDataURL(w.Png.mimeType);return o.base64=a,o},c.writeFontIconImage=function(t,e,r,n,i,o){void 0===o&&(o=null);var a=this.getContent(r),r=B.measureString(a,new C("Stimulsoft",1e3)),n=n/r.width,r=i/r.height,n=Math.min(n,r),r=new C("Stimulsoft",Math.ceil(1100*n));t.writeStartElement("g"),t.writeStartElement("text");var n=new y;t.writeAttributeString("dy",null!=o?o:"1em"),t.writeAttributeString("x","45%"),t.writeAttributeString("text-anchor","middle"),n.append(v.format("fill:#{0:X2}{1:X2}{2:X2};",e.r,e.g,e.b)),255!=e.a&&n.append(v.format("fill-opacity:{0}",Math.round2(e.a/255,3).toString().stimulsoft.replaceAll(",","."))),t.writeAttributeString("style",n.toString()),t.writeAttributeString("font-size",r.size.toString().stimulsoft.replaceAll(",",".")),t.writeAttributeString("font-family",r.fontFamily.name),t.writeString(a),t.writeEndElement(),t.writeEndElement()},c.convertFontIconToImageAsync=function(s,l,u,c,p){return void 0===p&&(p=null),__awaiter(this,void 0,void 0,function(){var e,r,n,i,o,a,i,o,a,i,o,n,o,r;return __generator(this,function(t){if(e=new S,!f.useWebKit)return[2,e];return(r=document.createElement("canvas")).width=u,r.height=c,n=this.getContent(s),i=B.measureString(n,new C("Stimulsoft",1e3)),o=u/i.width,a=c/i.height,i=Math.min(o,a),o=new C("Stimulsoft",Math.ceil(1100*i)),(a=new A(b.UTF8)).writeStartElement("g"),a.writeStartElement("text"),i=new y,a.writeAttributeString("dy",null!=p?p:"1em"),a.writeAttributeString("x","45%"),a.writeAttributeString("text-anchor","middle"),i.append(v.format("fill:#{0:X2}{1:X2}{2:X2};",l.r,l.g,l.b)),255!=l.a&&i.append(v.format("fill-opacity:{0}",Math.round2(l.a/255,3).toString().stimulsoft.replaceAll(",","."))),a.writeAttributeString("style",i.toString()),a.writeAttributeString("font-size",o.size.toString().stimulsoft.replaceAll(",",".")),a.writeAttributeString("font-family",o.fontFamily.name),a.writeString(n),a.writeEndElement(),a.writeEndElement(),m.writeStimulsoftIconFont(),o="",n=h.Report.Resources.StimulsoftFont.getBase64Content(),o="<style>@font-face {font-family: 'Stimulsoft';src: url(data:font/ttf;base64,"+n+") format('truetype');font-weight: normal;font-style: normal;}</style>",o=v.format('<svg xmlns="http://www.w3.org/2000/svg" style="width: {0}; height: {1}"><defs>{3}</defs><rect fill="#ffffff" fill-opacity="0" x="0" y="0" width="{0}" height="{1}" style="fill: white;"/>{2}</svg>',u,c,a.textWriter.getStringBuilder().toString(),o),canvgv2(r,o),r=r.toDataURL(w.Png.mimeType),e.base64=r,[2,e]})})},c.getContent=function(t){var t=this.getNetContent(t),t=parseInt(t,16);return String.fromCharCode(t)},c.getNetContent=function(t){switch(t){case a.ArrowDown:return"e900";case a.ArrowRight:return"e901";case a.ArrowRightDown:return"e902";case a.ArrowRightUp:return"e903";case a.ArrowUp:return"e904";case a.Check:return"e905";case a.Circle:return"e906";case a.CircleCheck:return"e907";case a.CircleCross:return"e908";case a.CircleExclamation:return"e909";case a.Cross:return"e90a";case a.Exclamation:return"e90b";case a.Flag:return"e90c";case a.Latin1:return"e90d";case a.Latin2:return"e90e";case a.Latin3:return"e90f";case a.Latin4:return"e910";case a.Latin5:return"e92b";case a.Minus:return"e911";case a.QuarterFull:return"e912";case a.QuarterHalf:return"e913";case a.QuarterNone:return"e914";case a.QuarterQuarter:return"e915";case a.QuarterThreeFourth:return"e916";case a.Rating0:return"e917";case a.Rating1:return"e918";case a.Rating2:return"e919";case a.Rating3:return"e91a";case a.Rating4:return"e91b";case a.Rhomb:return"e91c";case a.Square0:return"e91d";case a.Square1:return"e91e";case a.Square2:return"e91f";case a.Square3:return"e920";case a.Square4:return"e921";case a.StarFull:return"e922";case a.StarHalf:return"e923";case a.StarNone:return"e924";case a.StarQuarter:return"e925";case a.StarThreeFourth:return"e926";case a.Triangle:return"e927";case a.TriangleDown:return"e928";case a.TriangleUp:return"e929";case a.Home:return"e92a";case a.Cart:return"e93a";case a.Phone:return"e942";case a.UserTie:return"e976";case a.Mobile:return"e958";case a.Mug:return"e9a2";case a.Airplane:return"e9af";case a.Truck:return"e9b0";case a.Earth:return"e9ca";case a.Man:return"e9dc";case a.Woman:return"e9dd";case a.ManWoman:return"e9de";case a.Appleinc:return"eabe";case a.Windows8:return"eac2";case a.Glass:return"f000";case a.Music:return"f001";case a.Search:return"f002";case a.EnvelopeO:return"f003";case a.Heart:return"f004";case a.Star:return"f005";case a.StarO:return"f006";case a.User:return"f007";case a.Film:return"f008";case a.ThLarge:return"f009";case a.Th:return"f00a";case a.ThList:return"f00b";case a.Times:return"f00d";case a.SearchPlus:return"f00e";case a.SearchMinus:return"f010";case a.PowerOff:return"f011";case a.Signal:return"f012";case a.Cog:return"f013";case a.TrashO:return"f014";case a.FileO:return"f016";case a.ClockO:return"f017";case a.Road:return"f018";case a.Download:return"f019";case a.ArrowCircleODown:return"f01a";case a.ArrowCircleOUp:return"f01b";case a.Inbox:return"f01c";case a.PlayCircleO:return"f01d";case a.Repeat:return"f01e";case a.Refresh:return"f021";case a.ListAlt:return"f022";case a.Lock:return"f023";case a.FAFlag:return"f024";case a.Headphones:return"f025";case a.VolumeOff:return"f026";case a.VolumeDown:return"f027";case a.VolumeUp:return"f028";case a.Qrcode:return"f029";case a.Barcode:return"f02a";case a.Tag:return"f02b";case a.Tags:return"f02c";case a.Book:return"f02d";case a.Bookmark:return"f02e";case a.Print:return"f02f";case a.Camera:return"f030";case a.Font:return"f031";case a.Bold:return"f032";case a.Italic:return"f033";case a.TextHeight:return"f034";case a.TextWidth:return"f035";case a.AlignLeft:return"f036";case a.AlignCenter:return"f037";case a.AlignRight:return"f038";case a.AlignJustify:return"f039";case a.List:return"f03a";case a.Outdent:return"f03b";case a.Indent:return"f03c";case a.VideoCamera:return"f03d";case a.PictureO:return"f03e";case a.Pencil:return"f040";case a.MapMarker:return"f041";case a.Adjust:return"f042";case a.Tint:return"f043";case a.PencilSquareO:return"f044";case a.ShareSquareO:return"f045";case a.CheckSquareO:return"f046";case a.Arrows:return"f047";case a.StepBackward:return"f048";case a.FastBackward:return"f049";case a.Backward:return"f04a";case a.Play:return"f04b";case a.Pause:return"f04c";case a.Stop:return"f04d";case a.Forward:return"f04e";case a.FastForward:return"f050";case a.StepForward:return"f051";case a.Eject:return"f052";case a.ChevronLeft:return"f053";case a.ChevronRight:return"f054";case a.PlusCircle:return"f055";case a.MinusCircle:return"f056";case a.TimesCircle:return"f057";case a.CheckCircle:return"f058";case a.QuestionCircle:return"f059";case a.InfoCircle:return"f05a";case a.Crosshairs:return"f05b";case a.TimesCircleO:return"f05c";case a.CheckCircleO:return"f05d";case a.Ban:return"f05e";case a.FAArrowLeft:return"f060";case a.FAArrowRight:return"f061";case a.FAArrowUp:return"f062";case a.FAArrowDown:return"f063";case a.Share:return"f064";case a.Expand:return"f065";case a.Compress:return"f066";case a.FAPlus:return"f067";case a.FAMinus:return"f068";case a.Asterisk:return"f069";case a.ExclamationCircle:return"f06a";case a.Gift:return"f06b";case a.Leaf:return"f06c";case a.Fire:return"f06d";case a.Eye:return"f06e";case a.EyeSlash:return"f070";case a.ExclamationTriangle:return"f071";case a.Plane:return"f072";case a.Calendar:return"f073";case a.Random:return"f074";case a.Comment:return"f075";case a.Magnet:return"f076";case a.ChevronUp:return"f077";case a.ChevronDown:return"f078";case a.Retweet:return"f079";case a.ShoppingCart:return"f07a";case a.Folder:return"f07b";case a.FolderOpen:return"f07c";case a.ArrowsV:return"f07d";case a.ArrowsH:return"f07e";case a.BarChart:return"f080";case a.TwitterSquare:return"f081";case a.FacebookSquare:return"f082";case a.CameraRetro:return"f083";case a.Key:return"f084";case a.Cogs:return"f085";case a.Comments:return"f086";case a.ThumbsOUp:return"f087";case a.ThumbsODown:return"f088";case a.HeartO:return"f08a";case a.SignOut:return"f08b";case a.LinkedinSquare:return"f08c";case a.ThumbTack:return"f08d";case a.ExternalLink:return"f08e";case a.SignIn:return"f090";case a.Trophy:return"f091";case a.GithubSquare:return"f092";case a.Upload:return"f093";case a.LemonO:return"f094";case a.SquareO:return"f096";case a.BookmarkO:return"f097";case a.PhoneSquare:return"f098";case a.Twitter:return"f099";case a.Facebook:return"f09a";case a.Github:return"f09b";case a.Unlock:return"f09c";case a.CreditCard:return"f09d";case a.Rss:return"f09e";case a.HddO:return"f0a0";case a.Bullhorn:return"f0a1";case a.Bell:return"f0f3";case a.Certificate:return"f0a3";case a.HandORight:return"f0a4";case a.HandOLeft:return"f0a5";case a.HandOUp:return"f0a6";case a.HandODown:return"f0a7";case a.ArrowCircleLeft:return"f0a8";case a.ArrowCircleRight:return"f0a9";case a.ArrowCircleUp:return"f0aa";case a.ArrowCircleDown:return"f0ab";case a.Globe:return"f0ac";case a.Wrench:return"f0ad";case a.Tasks:return"f0ae";case a.Filter:return"f0b0";case a.Briefcase:return"f0b1";case a.ArrowsAlt:return"f0b2";case a.Users:return"f0c0";case a.Link:return"f0c1";case a.Cloud:return"f0c2";case a.Flask:return"f0c3";case a.Scissors:return"f0c4";case a.FilesO:return"f0c5";case a.Paperclip:return"f0c6";case a.FloppyO:return"f0c7";case a.Square:return"f0c8";case a.Bars:return"f0c9";case a.ListUl:return"f0ca";case a.ListOl:return"f0cb";case a.Strikethrough:return"f0cc";case a.Underline:return"f0cd";case a.Table:return"f0ce";case a.Magic:return"f0d0";case a.Pinterest:return"f0d2";case a.PinterestSquare:return"f0d3";case a.GooglePlusSquare:return"f0d4";case a.GooglePlus:return"f0d5";case a.Money:return"f0d6";case a.CaretDown:return"f0d7";case a.CaretUp:return"f0d8";case a.CaretLeft:return"f0d9";case a.CaretRight:return"f0da";case a.Columns:return"f0db";case a.Sort:return"f0dc";case a.SortDesc:return"f0dd";case a.SortAsc:return"f0de";case a.Envelope:return"f0e0";case a.Linkedin:return"f0e1";case a.Undo:return"f0e2";case a.Gavel:return"f0e3";case a.Tachometer:return"f0e4";case a.CommentO:return"f0e5";case a.CommentsO:return"f0e6";case a.Bolt:return"f0e7";case a.Sitemap:return"f0e8";case a.Umbrella:return"f0e9";case a.Clipboard:return"f0ea";case a.LightbulbO:return"f0eb";case a.Exchange:return"f0ec";case a.CloudDownload:return"f0ed";case a.CloudUpload:return"f0ee";case a.UserMd:return"f0f0";case a.Stethoscope:return"f0f1";case a.Suitcase:return"f0f2";case a.BellO:return"f0a2";case a.Coffee:return"f0f4";case a.Cutlery:return"f0f5";case a.FileTextO:return"f0f6";case a.BuildingO:return"f0f7";case a.HospitalO:return"f0f8";case a.Ambulance:return"f0f9";case a.Medkit:return"f0fa";case a.FighterJet:return"f0fb";case a.Beer:return"f0fc";case a.HSquare:return"f0fd";case a.PlusSquare:return"f0fe";case a.AngleDoubleLeft:return"f100";case a.AngleDoubleRight:return"f101";case a.AngleDoubleUp:return"f102";case a.AngleDoubleDown:return"f103";case a.AngleLeft:return"f104";case a.AngleRight:return"f105";case a.AngleUp:return"f106";case a.AngleDown:return"f107";case a.Desktop:return"f108";case a.Laptop:return"f109";case a.Tablet:return"f10a";case a.CircleO:return"f10c";case a.QuoteLeft:return"f10d";case a.QuoteRight:return"f10e";case a.Spinner:return"f110";case a.Reply:return"f112";case a.GithubAlt:return"f113";case a.FolderO:return"f114";case a.FolderOpenO:return"f115";case a.SmileO:return"f118";case a.FrownO:return"f119";case a.MehO:return"f11a";case a.Gamepad:return"f11b";case a.KeyboardO:return"f11c";case a.FlagO:return"f11d";case a.FlagCheckered:return"f11e";case a.Terminal:return"f120";case a.Code:return"f121";case a.ReplyAll:return"f122";case a.StarHalfO:return"f123";case a.LocationArrow:return"f124";case a.Crop:return"f125";case a.CodeFork:return"f126";case a.ChainBroken:return"f127";case a.Question:return"f128";case a.Info:return"f129";case a.Superscript:return"f12b";case a.Subscript:return"f12c";case a.Eraser:return"f12d";case a.PuzzlePiece:return"f12e";case a.Microphone:return"f130";case a.MicrophoneSlash:return"f131";case a.Shield:return"f132";case a.CalendarO:return"f133";case a.FireExtinguisher:return"f134";case a.Rocket:return"f135";case a.Maxcdn:return"f136";case a.ChevronCircleLeft:return"f137";case a.ChevronCircleRight:return"f138";case a.ChevronCircleUp:return"f139";case a.ChevronCircleDown:return"f13a";case a.Html5:return"f13b";case a.Css3:return"f13c";case a.Anchor:return"f13d";case a.UnlockAlt:return"f13e";case a.Bullseye:return"f140";case a.EllipsisH:return"f141";case a.EllipsisV:return"f142";case a.RssSquare:return"f143";case a.PlayCircle:return"f144";case a.Ticket:return"f145";case a.MinusSquare:return"f146";case a.InusSquareO:return"f147";case a.LevelUp:return"f148";case a.LevelDown:return"f149";case a.CheckSquare:return"f14a";case a.PencilSquare:return"f14b";case a.ExternalLinkSquare:return"f14c";case a.ShareSquare:return"f14d";case a.Compass:return"f14e";case a.CaretSquareODown:return"f150";case a.CaretSquareOUp:return"f151";case a.CaretSquareORight:return"f152";case a.Eur:return"f153";case a.Gbp:return"f154";case a.Usd:return"f155";case a.Inr:return"f156";case a.Jpy:return"f157";case a.Rub:return"f158";case a.Krw:return"f159";case a.Btc:return"f15a";case a.File:return"f15b";case a.FileText:return"f15c";case a.SortAlphaAsc:return"f15d";case a.SortAlphaDesc:return"f15e";case a.SortAmountAsc:return"f160";case a.SortAmountDesc:return"f161";case a.SortNumericAsc:return"f162";case a.SortNumericDesc:return"f163";case a.ThumbsUp:return"f164";case a.ThumbsDown:return"f165";case a.YoutubeSquare:return"f166";case a.Youtube:return"f167";case a.Xing:return"f168";case a.XingSquare:return"f169";case a.YoutubePlay:return"f16a";case a.Dropbox:return"f16b";case a.StackOverflow:return"f16c";case a.Instagram:return"f16d";case a.Flickr:return"f16e";case a.Adn:return"f170";case a.Bitbucket:return"f171";case a.BitbucketSquare:return"f172";case a.Tumblr:return"f173";case a.TumblrSquare:return"f174";case a.LongArrowDown:return"f175";case a.LongArrowUp:return"f176";case a.LongArrowLeft:return"f177";case a.LongArrowRight:return"f178";case a.Apple:return"f179";case a.Windows:return"f17a";case a.Android:return"f17b";case a.Linux:return"f17c";case a.Dribbble:return"f17d";case a.Skype:return"f17e";case a.Foursquare:return"f180";case a.Trello:return"f181";case a.Female:return"f182";case a.Male:return"f183";case a.Gratipay:return"f184";case a.SunO:return"f185";case a.MoonO:return"f186";case a.Archive:return"f187";case a.Bug:return"f188";case a.Vk:return"f189";case a.Weibo:return"f18a";case a.Renren:return"f18b";case a.Pagelines:return"f18c";case a.StackExchange:return"f18d";case a.ArrowCircleORight:return"f18e";case a.ArrowCircleOLeft:return"f190";case a.CaretSquareOLeft:return"f191";case a.DotCircleO:return"f192";case a.Wheelchair:return"f193";case a.VimeoSquare:return"f194";case a.Try:return"f195";case a.PlusSquareO:return"f196";case a.SpaceShuttle:return"f197";case a.Slack:return"f198";case a.EnvelopeSquare:return"f199";case a.Wordpress:return"f19a";case a.Openid:return"f19b";case a.University:return"f19c";case a.GraduationCap:return"f19d";case a.Yahoo:return"f19e";case a.Google:return"f1a0";case a.Reddit:return"f1a1";case a.RedditSquare:return"f1a2";case a.StumbleuponCircle:return"f1a3";case a.Stumbleupon:return"f1a4";case a.Delicious:return"f1a5";case a.Digg:return"f1a6";case a.PiedPiper:return"f1a7";case a.PiedPiperAlt:return"f1a8";case a.Drupal:return"f1a9";case a.Joomla:return"f1aa";case a.Language:return"f1ab";case a.Fax:return"f1ac";case a.Building:return"f1ad";case a.Child:return"f1ae";case a.Paw:return"f1b0";case a.Spoon:return"f1b1";case a.Cube:return"f1b2";case a.Cubes:return"f1b3";case a.Behance:return"f1b4";case a.BehanceSquare:return"f1b5";case a.Steam:return"f1b6";case a.SteamSquare:return"f1b7";case a.Recycle:return"f1b8";case a.Car:return"f1b9";case a.Taxi:return"f1ba";case a.Tree:return"f1bb";case a.Spotify:return"f1bc";case a.Deviantart:return"f1bd";case a.Soundcloud:return"f1be";case a.Database:return"f1c0";case a.FilePdfO:return"f1c1";case a.FileWordO:return"f1c2";case a.FileExcelO:return"f1c3";case a.FilePowerpointO:return"f1c4";case a.FileImageO:return"f1c5";case a.FileArchiveO:return"f1c6";case a.FileAudioO:return"f1c7";case a.FileVideoO:return"f1c8";case a.FileCodeO:return"f1c9";case a.Vine:return"f1ca";case a.Codepen:return"f1cb";case a.Jsfiddle:return"f1cc";case a.LifeRing:return"f1cd";case a.CircleONotch:return"f1ce";case a.Rebel:return"f1d0";case a.Empire:return"f1d1";case a.GitSquare:return"f1d2";case a.Git:return"f1d3";case a.HackerNews:return"f1d4";case a.TencentWeibo:return"f1d5";case a.Qq:return"f1d6";case a.Weixin:return"f1d7";case a.PaperPlane:return"f1d8";case a.PaperPlaneO:return"f1d9";case a.History:return"f1da";case a.CircleThin:return"f1db";case a.Header:return"f1dc";case a.Paragraph:return"f1dd";case a.Sliders:return"f1de";case a.ShareAlt:return"f1e0";case a.ShareAltSquare:return"f1e1";case a.Bomb:return"f1e2";case a.FutbolO:return"f1e3";case a.Tty:return"f1e4";case a.Binoculars:return"f1e5";case a.Plug:return"f1e6";case a.Slideshare:return"f1e7";case a.Twitch:return"f1e8";case a.Yelp:return"f1e9";case a.NewspaperO:return"f1ea";case a.Wifi:return"f1eb";case a.Calculator:return"f1ec";case a.Paypal:return"f1ed";case a.GoogleWallet:return"f1ee";case a.CcVisa:return"f1f0";case a.CcMastercard:return"f1f1";case a.CcDiscover:return"f1f2";case a.CcAmex:return"f1f3";case a.CcPaypal:return"f1f4";case a.CcStripe:return"f1f5";case a.BellSlash:return"f1f6";case a.BellSlashO:return"f1f7";case a.Trash:return"f1f8";case a.Copyright:return"f1f9";case a.At:return"f1fa";case a.Eyedropper:return"f1fb";case a.PaintBrush:return"f1fc";case a.BirthdayCake:return"f1fd";case a.AreaChart:return"f1fe";case a.PieChart:return"f200";case a.LineChart:return"f201";case a.Lastfm:return"f202";case a.LastfmSquare:return"f203";case a.ToggleOff:return"f204";case a.ToggleOn:return"f205";case a.Bicycle:return"f206";case a.Bus:return"f207";case a.Ioxhost:return"f208";case a.Angellist:return"f209";case a.Cc:return"f20a";case a.Ils:return"f20b";case a.Meanpath:return"f20c";case a.Buysellads:return"f20d";case a.Connectdevelop:return"f20e";case a.Dashcube:return"f210";case a.Forumbee:return"f211";case a.Leanpub:return"f212";case a.Sellsy:return"f213";case a.Shirtsinbulk:return"f214";case a.Simplybuilt:return"f215";case a.Skyatlas:return"f216";case a.CartPlus:return"f217";case a.CartArrowDown:return"f218";case a.Diamond:return"f219";case a.Ship:return"f21a";case a.UserSecret:return"f21b";case a.Motorcycle:return"f21c";case a.StreetView:return"f21d";case a.Heartbeat:return"f21e";case a.Venus:return"f221";case a.Mars:return"f222";case a.Mercury:return"f223";case a.Transgender:return"f224";case a.TransgenderAlt:return"f225";case a.VenusDouble:return"f226";case a.MarsDouble:return"f227";case a.VenusMars:return"f228";case a.MarsStroke:return"f229";case a.MarsStrokeV:return"f22a";case a.MarsStrokeH:return"f22b";case a.Neuter:return"f22c";case a.Genderless:return"f22d";case a.FacebookOfficial:return"f230";case a.PinterestP:return"f231";case a.Whatsapp:return"f232";case a.Server:return"f233";case a.UserPlus:return"f234";case a.UserTimes:return"f235";case a.Bed:return"f236";case a.Viacoin:return"f237";case a.Train:return"f238";case a.Subway:return"f239";case a.Medium:return"f23a";case a.YCombinator:return"f23b";case a.OptinMonster:return"f23c";case a.Opencart:return"f23d";case a.Expeditedssl:return"f23e";case a.BatteryFull:return"f240";case a.BatteryThreeQuarters:return"f241";case a.BatteryHalf:return"f242";case a.BatteryQuarter:return"f243";case a.BatteryEmpty:return"f244";case a.MousePointer:return"f245";case a.ICursor:return"f246";case a.ObjectGroup:return"f247";case a.ObjectUngroup:return"f248";case a.StickyNote:return"f249";case a.StickyNoteO:return"f24a";case a.CcJcb:return"f24b";case a.CcDinersClub:return"f24c";case a.Clone:return"f24d";case a.BalanceScale:return"f24e";case a.HourglassO:return"f250";case a.HourglassStart:return"f251";case a.HourglassHalf:return"f252";case a.HourglassEnd:return"f253";case a.Hourglass:return"f254";case a.HandRockO:return"f255";case a.HandPaperO:return"f256";case a.HandScissorsO:return"f257";case a.HandLizardO:return"f258";case a.HandSpockO:return"f259";case a.HandPointerO:return"f25a";case a.HandPeaceO:return"f25b";case a.Trademark:return"f25c";case a.Registered:return"f25d";case a.CreativeCommons:return"f25e";case a.Gg:return"f260";case a.GgCircle:return"f261";case a.Tripadvisor:return"f262";case a.Odnoklassniki:return"f263";case a.OdnoklassnikiSquare:return"f264";case a.GetPocket:return"f265";case a.WikipediaW:return"f266";case a.Safari:return"f267";case a.Chrome:return"f268";case a.Firefox:return"f269";case a.Opera:return"f26a";case a.InternetExplorer:return"f26b";case a.Television:return"f26c";case a.Contao:return"f26d";case a.Px500:return"f26e";case a.Amazon:return"f270";case a.CalendarPlusO:return"f271";case a.CalendarMinusO:return"f272";case a.CalendarTimesO:return"f273";case a.CalendarCheckO:return"f274";case a.Industry:return"f275";case a.MapPin:return"f276";case a.MapSigns:return"f277";case a.MapO:return"f278";case a.Map:return"f279";case a.Commenting:return"f27a";case a.CommentingO:return"f27b";case a.Houzz:return"f27c";case a.Vimeo:return"f27d";case a.BlackTie:return"f27e";case a.Fonticons:return"f280"}return null},c.getIsonSetContent=function(t){var e,r,n=new y;try{for(var i=__values(c.getFontIcons(t)),o=i.next();!o.done;o=i.next()){var a=o.value;n.append(c.getContent(a)),n.append(" ")}}catch(t){e={error:t}}finally{try{o&&!o.done&&(r=i.return)&&r.call(i)}finally{if(e)throw e.error}}return n.toString()},c.getFontIcons=function(t){switch(t){case s.Rating:return new l([a.Rating0,a.Rating1,a.Rating2,a.Rating3,a.Rating4]);case s.Quarter:return new l([a.QuarterNone,a.QuarterQuarter,a.QuarterHalf,a.QuarterThreeFourth,a.QuarterFull]);case s.Square:return new l([a.Square4,a.Square3,a.Square2,a.Square1,a.Square0]);case s.Star:return new l([a.StarNone,a.StarQuarter,a.StarHalf,a.StarThreeFourth,a.StarFull]);case s.Latin:return new l([a.Latin1,a.Latin2,a.Latin3,a.Latin4,a.Latin5])}return new l([a.Rating0,a.Rating1,a.Rating2,a.Rating3,a.Rating4])},c.getFontIcons1=function(t){switch(t){case o.WebApplicationIcons:return new l([a.Adjust,a.Anchor,a.Archive,a.AreaChart,a.Arrows,a.ArrowsH,a.ArrowsV,a.Asterisk,a.At,a.BalanceScale,a.Ban,a.BarChart,a.Barcode,a.Bars,a.BatteryEmpty,a.BatteryFull,a.BatteryHalf,a.BatteryQuarter,a.BatteryThreeQuarters,a.Bed,a.Beer,a.Bell,a.BellO,a.BellSlash,a.BellSlashO,a.Bicycle,a.Binoculars,a.BirthdayCake,a.Bolt,a.Bomb,a.Book,a.Bookmark,a.BookmarkO,a.Briefcase,a.Bug,a.Building,a.BuildingO,a.Bullhorn,a.Bullseye,a.Bus,a.Calculator,a.Calendar,a.CalendarCheckO,a.CalendarMinusO,a.CalendarO,a.CalendarPlusO,a.CalendarTimesO,a.Camera,a.CameraRetro,a.Car,a.CaretSquareODown,a.CaretSquareOLeft,a.CaretSquareORight,a.CaretSquareOUp,a.Cart,a.CartArrowDown,a.CartPlus,a.Cc,a.Certificate,a.Check,a.CheckCircle,a.CheckCircleO,a.CheckSquare,a.CheckSquareO,a.Child,a.Circle,a.CircleO,a.CircleONotch,a.CircleThin,a.ClockO,a.Clone,a.Cloud,a.CloudDownload,a.CloudUpload,a.Code,a.CodeFork,a.Coffee,a.Cog,a.Cogs,a.Comment,a.CommentO,a.Commenting,a.CommentingO,a.Comments,a.CommentsO,a.Compass,a.Copyright,a.CreativeCommons,a.CreditCard,a.Crop,a.Crosshairs,a.Cube,a.Cubes,a.Cutlery,a.Database,a.Desktop,a.Diamond,a.DotCircleO,a.Download,a.EllipsisH,a.EllipsisV,a.Envelope,a.EnvelopeO,a.EnvelopeSquare,a.Eraser,a.Exchange,a.Exclamation,a.ExclamationCircle,a.ExclamationTriangle,a.ExternalLink,a.ExternalLinkSquare,a.Eye,a.EyeSlash,a.Eyedropper,a.Earth,a.Fax,a.Female,a.FighterJet,a.FileArchiveO,a.FileAudioO,a.FileCodeO,a.FileExcelO,a.FileImageO,a.FilePdfO,a.FilePowerpointO,a.FileVideoO,a.FileWordO,a.Film,a.Filter,a.Fire,a.FireExtinguisher,a.Flag,a.FlagCheckered,a.FlagO,a.FAFlag,a.Flask,a.Folder,a.FolderO,a.FolderOpen,a.FolderOpenO,a.FrownO,a.FutbolO,a.Gamepad,a.Gavel,a.Gift,a.Glass,a.Globe,a.GraduationCap,a.HandLizardO,a.HandPaperO,a.HandPeaceO,a.HandPointerO,a.HandRockO,a.HandScissorsO,a.HandSpockO,a.HddO,a.Headphones,a.Heart,a.HeartO,a.Heartbeat,a.History,a.Home,a.Hourglass,a.HourglassEnd,a.HourglassHalf,a.HourglassO,a.HourglassStart,a.ICursor,a.Inbox,a.Industry,a.Info,a.InfoCircle,a.Key,a.KeyboardO,a.Language,a.Laptop,a.Leaf,a.LemonO,a.LevelDown,a.LevelUp,a.LifeRing,a.LightbulbO,a.LineChart,a.LocationArrow,a.Lock,a.Magic,a.Magnet,a.Male,a.Map,a.MapMarker,a.MapO,a.MapPin,a.MapSigns,a.MehO,a.Microphone,a.MicrophoneSlash,a.Minus,a.MinusCircle,a.MinusSquare,a.Mobile,a.Money,a.MoonO,a.Motorcycle,a.MousePointer,a.Mug,a.Music,a.NewspaperO,a.ObjectGroup,a.ObjectUngroup,a.PaintBrush,a.PaperPlane,a.PaperPlaneO,a.Paw,a.Pencil,a.PencilSquare,a.PencilSquareO,a.Phone,a.PhoneSquare,a.PictureO,a.PieChart,a.Plane,a.Plug,a.PlusCircle,a.PlusSquare,a.PlusSquareO,a.PowerOff,a.Print,a.PuzzlePiece,a.Qrcode,a.Question,a.QuestionCircle,a.QuoteLeft,a.QuoteRight,a.Random,a.Recycle,a.Refresh,a.Registered,a.Reply,a.ReplyAll,a.Retweet,a.Road,a.Rocket,a.Rss,a.RssSquare,a.Search,a.SearchMinus,a.SearchPlus,a.Server,a.Share,a.ShareAlt,a.ShareAltSquare,a.ShareSquare,a.ShareSquareO,a.Shield,a.Ship,a.ShoppingCart,a.SignIn,a.SignOut,a.Signal,a.Sitemap,a.Sliders,a.SmileO,a.Sort,a.SortAlphaAsc,a.SortAlphaDesc,a.SortAmountAsc,a.SortAmountDesc,a.SortAsc,a.SortDesc,a.SortNumericAsc,a.SortNumericDesc,a.SpaceShuttle,a.Spinner,a.Spoon,a.Square,a.SquareO,a.Star,a.StarHalf,a.StarHalfO,a.StarO,a.StickyNote,a.StickyNoteO,a.StreetView,a.Suitcase,a.SunO,a.Tablet,a.Tachometer,a.Tag,a.Tags,a.Tasks,a.Taxi,a.Television,a.Terminal,a.ThumbTack,a.ThumbsDown,a.ThumbsODown,a.ThumbsOUp,a.ThumbsUp,a.Ticket,a.Times,a.TimesCircle,a.TimesCircleO,a.Tint,a.ToggleOff,a.ToggleOn,a.Trademark,a.Trash,a.TrashO,a.Tree,a.Trophy,a.Truck,a.Tty,a.Umbrella,a.University,a.Unlock,a.UnlockAlt,a.Upload,a.User,a.UserPlus,a.UserSecret,a.UserTimes,a.Users,a.VideoCamera,a.VolumeDown,a.VolumeOff,a.VolumeUp,a.Wheelchair,a.Wifi,a.Wrench]);case o.AccessibilityIcons:return new l([a.Cc,a.Tty,a.Wheelchair]);case o.HandIcons:return new l([a.HandLizardO,a.HandODown,a.HandOLeft,a.HandORight,a.HandOUp,a.HandPaperO,a.HandPeaceO,a.HandPointerO,a.HandRockO,a.HandScissorsO,a.HandSpockO,a.ThumbsDown,a.ThumbsODown,a.ThumbsOUp,a.ThumbsUp]);case o.TransportationIcons:return new l([a.Airplane,a.Ambulance,a.Bicycle,a.Bus,a.Car,a.FighterJet,a.Motorcycle,a.Plane,a.Rocket,a.Ship,a.SpaceShuttle,a.Subway,a.Taxi,a.Train,a.Truck,a.Wheelchair]);case o.GenderIcons:return new l([a.Genderless,a.Mars,a.MarsDouble,a.MarsStroke,a.MarsStrokeH,a.MarsStrokeV,a.Mercury,a.Neuter,a.Transgender,a.TransgenderAlt,a.Venus,a.VenusDouble,a.VenusMars,a.Man,a.Woman,a.UserTie,a.ManWoman]);case o.FileTypeIcons:return new l([a.File,a.FileArchiveO,a.FileAudioO,a.FileCodeO,a.FileExcelO,a.FileImageO,a.FileO,a.FilePdfO,a.FilePowerpointO,a.FileText,a.FileTextO,a.FileVideoO,a.FileWordO]);case o.SpinnerIcons:return new l([a.CircleONotch,a.Cog,a.Refresh,a.Spinner]);case o.FormControlIcons:return new l([a.CheckSquare,a.CheckSquareO,a.Circle,a.CircleO,a.DotCircleO,a.MinusSquare,a.PlusSquare,a.InusSquareO,a.PlusSquareO,a.Square,a.SquareO,a.FAPlus,a.FAMinus]);case o.PaymentIcons:return new l([a.CcAmex,a.CcDinersClub,a.CcDiscover,a.CcJcb,a.CcMastercard,a.CcPaypal,a.CcStripe,a.CcVisa,a.CreditCard,a.GoogleWallet,a.Paypal]);case o.ChartIcons:return new l([a.AreaChart,a.BarChart,a.LineChart,a.PieChart]);case o.CurrencyIcons:return new l([a.Btc,a.Eur,a.Gbp,a.Gg,a.GgCircle,a.Ils,a.Inr,a.Jpy,a.Krw,a.Money,a.Rub,a.Try,a.Usd,a.Viacoin]);case o.TextEditorIcons:return new l([a.AlignCenter,a.AlignJustify,a.AlignLeft,a.AlignRight,a.Bold,a.ChainBroken,a.Clipboard,a.Columns,a.Eraser,a.File,a.FileO,a.FileText,a.FileTextO,a.FilesO,a.FloppyO,a.Font,a.Header,a.Indent,a.Italic,a.Link,a.List,a.ListAlt,a.ListOl,a.ListUl,a.Outdent,a.Paperclip,a.Paragraph,a.Repeat,a.Scissors,a.Strikethrough,a.Subscript,a.Superscript,a.Table,a.TextHeight,a.TextWidth,a.Th,a.ThLarge,a.ThList,a.Underline,a.Undo]);case o.DirectionalIcons:return new l([a.AngleDoubleDown,a.AngleDoubleLeft,a.AngleDoubleRight,a.AngleDoubleUp,a.AngleDown,a.AngleLeft,a.AngleRight,a.AngleUp,a.ArrowCircleDown,a.ArrowCircleLeft,a.ArrowCircleODown,a.ArrowCircleOLeft,a.ArrowCircleORight,a.ArrowCircleOUp,a.ArrowCircleRight,a.ArrowCircleUp,a.ArrowDown,a.ArrowRight,a.ArrowUp,a.ArrowRightDown,a.ArrowRightUp,a.Arrows,a.ArrowsAlt,a.ArrowsH,a.ArrowsV,a.CaretDown,a.CaretLeft,a.CaretRight,a.CaretSquareODown,a.CaretSquareOLeft,a.CaretSquareORight,a.CaretSquareOUp,a.CaretUp,a.ChevronCircleDown,a.ChevronCircleLeft,a.ChevronCircleRight,a.ChevronCircleUp,a.ChevronDown,a.ChevronLeft,a.ChevronRight,a.ChevronUp,a.Exchange,a.HandODown,a.HandOLeft,a.HandORight,a.HandOUp,a.LongArrowDown,a.LongArrowLeft,a.LongArrowRight,a.LongArrowUp,a.FAArrowLeft,a.FAArrowRight,a.FAArrowUp,a.FAArrowDown]);case o.VideoPlayerIcons:return new l([a.ArrowsAlt,a.Backward,a.Compress,a.Eject,a.Expand,a.FastBackward,a.FastForward,a.Forward,a.Pause,a.Play,a.PlayCircle,a.PlayCircleO,a.Random,a.StepBackward,a.StepForward,a.Stop,a.YoutubePlay]);case o.BrandIcons:return new l([a.Adn,a.Amazon,a.Android,a.Angellist,a.Appleinc,a.Behance,a.BehanceSquare,a.Bitbucket,a.BitbucketSquare,a.BlackTie,a.Btc,a.Buysellads,a.CcAmex,a.CcDinersClub,a.CcDiscover,a.CcJcb,a.CcMastercard,a.CcPaypal,a.CcStripe,a.CcVisa,a.Chrome,a.Codepen,a.Connectdevelop,a.Contao,a.Css3,a.Dashcube,a.Delicious,a.Deviantart,a.Digg,a.Dribbble,a.Dropbox,a.Drupal,a.Empire,a.Expeditedssl,a.Facebook,a.FacebookOfficial,a.FacebookSquare,a.Firefox,a.Flickr,a.Fonticons,a.Forumbee,a.Foursquare,a.GetPocket,a.Gg,a.GgCircle,a.Git,a.GitSquare,a.Github,a.GithubAlt,a.GithubSquare,a.Google,a.GooglePlus,a.GooglePlusSquare,a.GoogleWallet,a.Gratipay,a.HackerNews,a.Houzz,a.Html5,a.Instagram,a.InternetExplorer,a.Ioxhost,a.Joomla,a.Jsfiddle,a.Lastfm,a.LastfmSquare,a.Leanpub,a.Linkedin,a.LinkedinSquare,a.Linux,a.Maxcdn,a.Meanpath,a.Medium,a.Odnoklassniki,a.OdnoklassnikiSquare,a.Opencart,a.Openid,a.Opera,a.OptinMonster,a.Pagelines,a.Paypal,a.PiedPiper,a.PiedPiperAlt,a.Pinterest,a.PinterestP,a.PinterestSquare,a.Qq,a.Rebel,a.Reddit,a.RedditSquare,a.Renren,a.Safari,a.Sellsy,a.ShareAlt,a.ShareAltSquare,a.Shirtsinbulk,a.Simplybuilt,a.Skyatlas,a.Skype,a.Slack,a.Slideshare,a.Soundcloud,a.Spotify,a.StackExchange,a.StackOverflow,a.Steam,a.SteamSquare,a.Stumbleupon,a.StumbleuponCircle,a.TencentWeibo,a.Trello,a.Tripadvisor,a.Tumblr,a.TumblrSquare,a.Twitch,a.Twitter,a.TwitterSquare,a.Viacoin,a.Vimeo,a.VimeoSquare,a.Vine,a.Vk,a.Weibo,a.Weixin,a.Whatsapp,a.WikipediaW,a.Windows8,a.Wordpress,a.Xing,a.XingSquare,a.YCombinator,a.Yahoo,a.Yelp,a.Youtube,a.YoutubePlay,a.YoutubeSquare,a.Px500]);case o.MedicalIcons:return new l([a.Ambulance,a.HSquare,a.Heart,a.HeartO,a.Heartbeat,a.HospitalO,a.Medkit,a.PlusSquare,a.Stethoscope,a.UserMd,a.Wheelchair]);case o.OtherIcons:return new l([a.Latin5,a.Latin4,a.Latin3,a.Latin2,a.Latin1,a.QuarterFull,a.QuarterThreeFourth,a.QuarterHalf,a.QuarterQuarter,a.QuarterNone,a.Rating4,a.Rating3,a.Rating2,a.Rating1,a.Rating0,a.Square0,a.Square1,a.Square2,a.Square3,a.Square4,a.StarFull,a.StarThreeFourth,a.StarQuarter,a.StarNone,a.CircleCheck,a.CircleCross,a.CircleExclamation,a.Cross,a.Rhomb,a.Triangle,a.TriangleDown,a.TriangleUp])}return new l([a.Rating0,a.Rating1,a.Rating2,a.Rating3,a.Rating4])},c.getIconFontSize=function(t,e,r){var t=t.measureString(r,new g("Stimulsoft",1e3,h.System.Drawing.FontStyle.Regular,h.System.Drawing.GraphicsUnit.Point));if(0==t.width||0==t.height)return 0;var r=e.width/t.width*1e3,t=e.height/t.height*1e3,n;return t<r?t:r},c.drawFillIcons=function(t,e,r,n,i,o,a){void 0===a&&(a=!0);var s=this.getContent(i),i=this.getIconFontSize(t,n,s),l=new g("Stimulsoft",i,h.System.Drawing.FontStyle.Regular,h.System.Drawing.GraphicsUnit.Point),u=r.y,c=r.x;while(u<r.bottom){while(c<r.right){var p=new d(c,u,n.width,n.height);t.drawString3(s,l,e,p,this.getStringFormatGeom(t),o),c+=n.width}c=r.x,u+=n.height}},c.drawDirectionIcons=function(t,e,r,n,i,o,a){void 0===a&&(a=!0);var s=this.getContent(i),i=this.getIconFontSize(t,n,s),l=new g("Stimulsoft",i,h.System.Drawing.FontStyle.Regular,h.System.Drawing.GraphicsUnit.Point);if(t.pushClip(r),a){var u=r.bottom,c=r.x;while(u>r.top){var p=new d(c,u-n.height,n.width,n.height);t.drawString3(s,l,e,p,this.getStringFormatGeom(t),o),u-=n.height}}else{var u=r.y,c=r.x;while(c<r.right){var p=new d(c,u,n.width,n.height);t.drawString3(s,l,e,p,this.getStringFormatGeom(t),o),c+=n.width}}t.popClip()},c.getStringFormatGeom=function(t){var t=t.getDefaultStringFormat();return t.trimming=i.None,t.formatFlags|=n.MeasureTrailingSpaces|n.NoWrap,t.alignment=r.Center,t.lineAlignment=r.Center,t},u=c,e.StiFontIconsHelper=u}(Stimulsoft=Stimulsoft||{}),function(t){var e,r,n,t;function i(){}r=e=t.Report||(t.Report={}),t=n=r.Helpers||(r.Helpers={}),i.getTransparentedImage=function(t,e){return null},r=i,t.StiImageTransparenceHelper=r}(Stimulsoft=Stimulsoft||{}),function(t){var e,r,n,t;function i(){for(var t=[],e=0;e<arguments.length;e++)t[e]=arguments[e];this.names=t.stimulsoft.toList()}r=e=t.Report||(t.Report={}),t=n=r.Helpers||(r.Helpers={}),i.prototype.ru=function(){for(var t=[],e=0;e<arguments.length;e++)t[e]=arguments[e];return this.ruNames=t.stimulsoft.toList(),this},i.prototype.fr=function(){for(var t=[],e=0;e<arguments.length;e++)t[e]=arguments[e];return this.frNames=t.stimulsoft.toList(),this},i.prototype.iso=function(t,e){return void 0===e&&(e=null),this.alpha2=t,this.alpha3=e,this},r=i,t.StiIsoCountry=r}(Stimulsoft=Stimulsoft||{}),function(t){var e,r,n,i,o,a;function s(){}r=e=t.Report||(t.Report={}),i=n=r.Helpers||(r.Helpers={}),o=t.System.StiString,a=t.System.Collections.List,Object.defineProperty(s,"countries",{get:function(){return null==this._countries&&(this._countries=new a,this.initializeCountries()),this._countries},enumerable:!1,configurable:!0}),Object.defineProperty(s,"usStates",{get:function(){return null==this._usStates&&(this._usStates=new a,this.initializeUsStates()),this._usStates},enumerable:!1,configurable:!0}),Object.defineProperty(s,"canadaProvinces",{get:function(){return null==this._canadaProvinces&&(this._canadaProvinces=new a,this.initializeCanadaProvinces()),this._canadaProvinces},enumerable:!1,configurable:!0}),Object.defineProperty(s,"brazilProvinces",{get:function(){return null==this._brazilProvinces&&(this._brazilProvinces=new a,this.initializeBrazilProvinces()),this._brazilProvinces},enumerable:!1,configurable:!0}),s.getIsoAlpha2FromName=function(t,e){void 0===e&&(e=null);var e=this.getCountryFromName(t,e);return null!=e?e.alpha2:null},s.getIsoAlpha3FromName=function(t,e){void 0===e&&(e=null);var e=this.getCountryFromName(t,e);return null!=e?e.alpha3:null},s.getCountryFromName=function(e,t){if(void 0===t&&(t=null),o.isNullOrWhiteSpace(e))return null;return e=i.StiMapKeyHelper.simplify(e),this.getCountries(t).firstOrDefault(function(t){return s.isEqual(t,e)})},s.getCountries=function(t){if(void 0===t&&(t=null),o.isNullOrWhiteSpace(t))return this.countries;switch(t.toLowerCase()){case"world":return this.countries;case"usa":return this.usStates;case"canada":return this.canadaProvinces;case"brazil":return this.brazilProvinces;default:return this.countries}},s.isEqual=function(t,e){if(t.names.any(function(t){return i.StiMapKeyHelper.simplify(t)==e})||i.StiMapKeyHelper.simplify(t.alpha2)==e||i.StiMapKeyHelper.simplify(t.alpha3)==e)return!0;if(null!=t.ruNames&&t.ruNames.any(function(t){return i.StiMapKeyHelper.simplify(t)==e}))return!0;if(null!=t.frNames&&t.frNames.any(function(t){return i.StiMapKeyHelper.simplify(t)==e}))return!0;return!1},s.getCountryFromAlpha3=function(e,t){if(void 0===t&&(t=null),o.isNullOrWhiteSpace(e))return null;return e=i.StiMapKeyHelper.simplify(e),this.getCountries(t).firstOrDefault(function(t){return i.StiMapKeyHelper.simplify(t.alpha3)==e})},s.getCountryFromAlpha2=function(e,t){if(void 0===t&&(t=null),o.isNullOrWhiteSpace(e))return null;return e=i.StiMapKeyHelper.simplify(e),this.getCountries(t).firstOrDefault(function(t){return i.StiMapKeyHelper.simplify(t.alpha2)==e})},s.initializeCountries=function(){this._countries.add(new i.StiIsoCountry("Afghanistan").ru("Афганистан").iso("AF","AFG")),this._countries.add(new i.StiIsoCountry("Åland Islands").ru("Аландские острова").iso("AX","ALA")),this._countries.add(new i.StiIsoCountry("Albania").ru("Албания").iso("AL","ALB")),this._countries.add(new i.StiIsoCountry("Algeria").ru("Алжир").iso("DZ","DZA")),this._countries.add(new i.StiIsoCountry("American Samoa").ru("Американское Самоа").iso("AS","ASM")),this._countries.add(new i.StiIsoCountry("Andorra").ru("Андорра").iso("AD","AND")),this._countries.add(new i.StiIsoCountry("Angola").ru("Ангола").iso("AO","AGO")),this._countries.add(new i.StiIsoCountry("Anguilla").ru("Ангилья").iso("AI","AIA")),this._countries.add(new i.StiIsoCountry("Antarctica").ru("Антарктида").iso("AQ","ATA")),this._countries.add(new i.StiIsoCountry("Antigua and Barbuda").ru("Антигуа и Барбуда").iso("AG","ATG")),this._countries.add(new i.StiIsoCountry("Argentina").ru("Аргентина").iso("AR","ARG")),this._countries.add(new i.StiIsoCountry("Armenia").ru("Армения").iso("AM","ARM")),this._countries.add(new i.StiIsoCountry("Aruba").ru("Аруба").iso("AW","ABW")),this._countries.add(new i.StiIsoCountry("Australia").ru("Австралия").iso("AU","AUS")),this._countries.add(new i.StiIsoCountry("Austria").ru("Австрия").iso("AT","AUT")),this._countries.add(new i.StiIsoCountry("Azerbaijan").ru("Азербайджан").iso("AZ","AZE")),this._countries.add(new i.StiIsoCountry("Bahamas").ru("Багамские Острова").iso("BS","BHS")),this._countries.add(new i.StiIsoCountry("Bahrain").ru("Бахрейн").iso("BH","BHR")),this._countries.add(new i.StiIsoCountry("Bangladesh").ru("Бангладеш").iso("BD","BGD")),this._countries.add(new i.StiIsoCountry("Barbados").ru("Барбадос").iso("BB","BRB")),this._countries.add(new i.StiIsoCountry("Belarus").ru("Беларусь","Белоруссия").iso("BY","BLR")),this._countries.add(new i.StiIsoCountry("Belgium").ru("Бельгия").iso("BE","BEL")),this._countries.add(new i.StiIsoCountry("Belize").ru("Белиз").iso("BZ","BLZ")),this._countries.add(new i.StiIsoCountry("Benin").ru("Бенин").iso("BJ","BEN")),this._countries.add(new i.StiIsoCountry("Bermuda").ru("Бермуды").iso("BM","BMU")),this._countries.add(new i.StiIsoCountry("Bhutan").ru("Бутан").iso("BT","BTN")),this._countries.add(new i.StiIsoCountry("Bolivia","Bolivia (Plurinational State of)").ru("Боливия").iso("BO","BOL")),this._countries.add(new i.StiIsoCountry("Bonaire","Bonaire, Sint Eustatius and Saba").ru("Бонэйр").iso("BQ","BES")),this._countries.add(new i.StiIsoCountry("Bosnia and Herzegovina").ru("Босния и Герцеговина ").iso("BA","BIH")),this._countries.add(new i.StiIsoCountry("Botswana").ru("Ботсвана").iso("BW","BWA")),this._countries.add(new i.StiIsoCountry("Bouvet Island").ru("Остров Буве").iso("BV","BVT")),this._countries.add(new i.StiIsoCountry("Brazil").ru("Бразилия").iso("BR","BRA")),this._countries.add(new i.StiIsoCountry("British Indian Ocean Territory").ru("Британская Территория в Индийском Океане").iso("IO","IOT")),this._countries.add(new i.StiIsoCountry("Brunei Darussalam").ru("Бруней").iso("BN","BRN")),this._countries.add(new i.StiIsoCountry("Bulgaria").ru("Болгария").iso("BG","BGR")),this._countries.add(new i.StiIsoCountry("Burkina Faso").ru("Буркина - Фасо").iso("BF","BFA")),this._countries.add(new i.StiIsoCountry("Burundi").ru("Бурунди").iso("BI","BDI")),this._countries.add(new i.StiIsoCountry("Cabo Verde").ru("Кабо - Верде").iso("CV","CPV")),this._countries.add(new i.StiIsoCountry("Cambodia").ru("Камбоджа").iso("KH","KHM")),this._countries.add(new i.StiIsoCountry("Cameroon").ru("Камерун").iso("CM","CMR")),this._countries.add(new i.StiIsoCountry("Canada").ru("Канада").iso("CA","CAN")),this._countries.add(new i.StiIsoCountry("Cayman Islands").ru("Острова Кайман").iso("KY","CYM")),this._countries.add(new i.StiIsoCountry("Central African Republic").ru("ЦАР").iso("CF","CAF")),this._countries.add(new i.StiIsoCountry("Chad").ru("Чад").iso("TD","TCD")),this._countries.add(new i.StiIsoCountry("Chile").ru("Чили").iso("CL","CHL")),this._countries.add(new i.StiIsoCountry("China").ru("Китай","КНР","Китайская Народная Республика").iso("CN","CHN")),this._countries.add(new i.StiIsoCountry("Christmas Island").ru("Остров Рождества").iso("CX","CXR")),this._countries.add(new i.StiIsoCountry("Cocos (Keeling) Islands").ru("Кокосовые острова").iso("CC","CCK")),this._countries.add(new i.StiIsoCountry("Colombia").ru("Колумбия").iso("CO","COL")),this._countries.add(new i.StiIsoCountry("Comoros").ru("Коморы").iso("KM","COM")),this._countries.add(new i.StiIsoCountry("Congo").ru("Республика Конго").iso("CG","COG")),this._countries.add(new i.StiIsoCountry("Congo (Democratic Republic of the)").ru("Демократическая Республика Конго").iso("CD","COD")),this._countries.add(new i.StiIsoCountry("Cook Islands").ru("Острова Кука").iso("CK","COK")),this._countries.add(new i.StiIsoCountry("Costa Rica").ru("Коста - Рика").iso("CR","CRI")),this._countries.add(new i.StiIsoCountry("Côte d'Ivoire").ru("Кот - д’Ивуар").iso("CI","CIV")),this._countries.add(new i.StiIsoCountry("Croatia").ru("Хорватия").iso("HR","HRV")),this._countries.add(new i.StiIsoCountry("Cuba").ru("Куба").iso("CU","CUB")),this._countries.add(new i.StiIsoCountry("Curaçao").ru("Кюрасао").iso("CW","CUW")),this._countries.add(new i.StiIsoCountry("Cyprus").ru("Кипр").iso("CY","CYP")),this._countries.add(new i.StiIsoCountry("Czech Republic","Czech Republic","Czech").ru("Чехия").iso("CZ","CZE")),this._countries.add(new i.StiIsoCountry("Denmark").ru("Дания").iso("DK","DNK")),this._countries.add(new i.StiIsoCountry("Djibouti").ru("Джибути").iso("DJ","DJI")),this._countries.add(new i.StiIsoCountry("Dominica").ru("Доминикана").iso("DM","DMA")),this._countries.add(new i.StiIsoCountry("Dominican Republic").ru("Доминиканская Республика").iso("DO","DOM")),this._countries.add(new i.StiIsoCountry("Ecuador").ru("Эквадор").iso("EC","ECU")),this._countries.add(new i.StiIsoCountry("Egypt").ru("Египет").iso("EG","EGY")),this._countries.add(new i.StiIsoCountry("El Salvador").ru("Сальвадор").iso("SV","SLV")),this._countries.add(new i.StiIsoCountry("Equatorial Guinea").ru("Экваториальная Гвинея").iso("GQ","GNQ")),this._countries.add(new i.StiIsoCountry("Eritrea").ru("Эритрея").iso("ER","ERI")),this._countries.add(new i.StiIsoCountry("Estonia").ru("Эстония").iso("EE","EST")),this._countries.add(new i.StiIsoCountry("Ethiopia").ru("Эфиопия").iso("ET","ETH")),this._countries.add(new i.StiIsoCountry("European Union").ru("Европейский союз").iso("EU","EUE")),this._countries.add(new i.StiIsoCountry("Falkland Islands (Malvinas)").ru("Фолклендские острова").iso("FK","FLK")),this._countries.add(new i.StiIsoCountry("Faroe Islands").ru("Фареры").iso("FO","FRO")),this._countries.add(new i.StiIsoCountry("Fiji").ru("Фиджи").iso("FJ","FJI")),this._countries.add(new i.StiIsoCountry("Finland").ru("Финляндия").iso("FI","FIN")),this._countries.add(new i.StiIsoCountry("France").ru("Франция").iso("FR","FRA")),this._countries.add(new i.StiIsoCountry("French Guiana").ru("Французская Гвиана").iso("GF","GUF")),this._countries.add(new i.StiIsoCountry("French Polynesia").ru("Французская Полинезия").iso("PF","PYF")),this._countries.add(new i.StiIsoCountry("French Southern Territories").ru("Французские Южные и Антарктические территории").iso("TF","ATF")),this._countries.add(new i.StiIsoCountry("Gabon").ru("Габон").iso("GA","GAB")),this._countries.add(new i.StiIsoCountry("Gambia").ru("Гамбия").iso("GM","GMB")),this._countries.add(new i.StiIsoCountry("Georgia").ru("Грузия").iso("GE","GEO")),this._countries.add(new i.StiIsoCountry("Germany").ru("Германия").iso("DE","DEU")),this._countries.add(new i.StiIsoCountry("Ghana").ru("Гана").iso("GH","GHA")),this._countries.add(new i.StiIsoCountry("Gibraltar").ru("Гибралтар").iso("GI","GIB")),this._countries.add(new i.StiIsoCountry("Greece").ru("Греция").iso("GR","GRC")),this._countries.add(new i.StiIsoCountry("Greenland").ru("Гренландия").iso("GL","GRL")),this._countries.add(new i.StiIsoCountry("Grenada").ru("Гренада").iso("GD","GRD")),this._countries.add(new i.StiIsoCountry("Guadeloupe").ru("Гваделупа").iso("GP","GLP")),this._countries.add(new i.StiIsoCountry("Guam").ru("Гуам").iso("GU","GUM")),this._countries.add(new i.StiIsoCountry("Guatemala").ru("Гватемала").iso("GT","GTM")),this._countries.add(new i.StiIsoCountry("Guernsey").ru("Гернси").iso("GG","GGY")),this._countries.add(new i.StiIsoCountry("Guinea").ru("Гвинея").iso("GN","GIN")),this._countries.add(new i.StiIsoCountry("Guinea - Bissau").ru("Гвинея - Бисау").iso("GW","GNB")),this._countries.add(new i.StiIsoCountry("Guyana").ru("Гайана").iso("GY","GUY")),this._countries.add(new i.StiIsoCountry("Haiti").ru("Гаити").iso("HT","HTI")),this._countries.add(new i.StiIsoCountry("Heard Island and McDonald Islands").ru("Остров Херд и острова Макдональд").iso("HM","HMD")),this._countries.add(new i.StiIsoCountry("Holy See").ru("Ватикан").iso("VA","VAT")),this._countries.add(new i.StiIsoCountry("Honduras").ru("Гондурас").iso("HN","HND")),this._countries.add(new i.StiIsoCountry("Hong Kong").ru("Гонконг").iso("HK","HKG")),this._countries.add(new i.StiIsoCountry("Hungary").ru("Венгрия").iso("HU","HUN")),this._countries.add(new i.StiIsoCountry("Iceland").ru("Исландия").iso("IS","ISL")),this._countries.add(new i.StiIsoCountry("India").ru("Индия").iso("IN","IND")),this._countries.add(new i.StiIsoCountry("Indonesia").ru("Индонейзия").iso("ID","IDN")),this._countries.add(new i.StiIsoCountry("Iran").ru("Иран","Iran (Islamic Republic of)").iso("IR","IRN")),this._countries.add(new i.StiIsoCountry("Iraq").ru("Ирак","IQ").iso("IRQ")),this._countries.add(new i.StiIsoCountry("Ireland").ru("Ирландия").iso("IE","IRL")),this._countries.add(new i.StiIsoCountry("Isle of Man").ru("Остров Мэн").iso("IM","IMN")),this._countries.add(new i.StiIsoCountry("Israel").ru("Израиль").iso("IL","ISR")),this._countries.add(new i.StiIsoCountry("Italy").ru("Италия").iso("IT","ITA")),this._countries.add(new i.StiIsoCountry("Jamaica").ru("Ямайка").iso("JM","JAM")),this._countries.add(new i.StiIsoCountry("Japan").ru("Япония").iso("JP","JPN")),this._countries.add(new i.StiIsoCountry("Jersey").ru("Джерси").iso("JE","JEY")),this._countries.add(new i.StiIsoCountry("Jordan").ru("Иордания").iso("JO","JOR")),this._countries.add(new i.StiIsoCountry("Kazakhstan").ru("Казахстан").iso("KZ","KAZ")),this._countries.add(new i.StiIsoCountry("Kenya").ru("Кения").iso("KE","KEN")),this._countries.add(new i.StiIsoCountry("Kiribati").ru("Кирибати").iso("KI","KIR")),this._countries.add(new i.StiIsoCountry("Korea (Democratic People's Republic of)","North Korea").ru("КНДР(Корейская Народно - Демократическая Республика)").iso("KP","PRK")),this._countries.add(new i.StiIsoCountry("Korea (Republic of)","South Korea").ru("Республика Корея","Южная Корея").iso("KR","KOR")),this._countries.add(new i.StiIsoCountry("Kuwait").ru("Кувейт").iso("KW","KWT")),this._countries.add(new i.StiIsoCountry("Kyrgyzstan").ru("Киргизия").iso("KG","KGZ")),this._countries.add(new i.StiIsoCountry("Lao People's Democratic Republic").ru("Лаос").iso("LA","LAO")),this._countries.add(new i.StiIsoCountry("Latvia").ru("Латвия").iso("LV","LVA")),this._countries.add(new i.StiIsoCountry("Lebanon").ru("Ливия").iso("LB","LBN")),this._countries.add(new i.StiIsoCountry("Lesotho").ru("Лесото").iso("LS","LSO")),this._countries.add(new i.StiIsoCountry("Liberia").ru("Либерия").iso("LR","LBR")),this._countries.add(new i.StiIsoCountry("Libya").ru("Либия").iso("LY","LBY")),this._countries.add(new i.StiIsoCountry("Liechtenstein").ru("Лихтенштейн").iso("LI","LIE")),this._countries.add(new i.StiIsoCountry("Lithuania").ru("Литва").iso("LT","LTU")),this._countries.add(new i.StiIsoCountry("Luxembourg").ru("Люксембург").iso("LU","LUX")),this._countries.add(new i.StiIsoCountry("Macao").ru("Макао").iso("MO","MAC")),this._countries.add(new i.StiIsoCountry("Macedonia","Macedonia (the former Yugoslav Republic of)").ru("Македония").iso("MK","MKD")),this._countries.add(new i.StiIsoCountry("Madagascar").ru("Мадагаскар").iso("MG","MDG")),this._countries.add(new i.StiIsoCountry("Malawi").ru("Малави").iso("MW","MWI")),this._countries.add(new i.StiIsoCountry("Malaysia").ru("Малайзия").iso("MY","MYS")),this._countries.add(new i.StiIsoCountry("Maldives").ru("Мальдивы").iso("MV","MDV")),this._countries.add(new i.StiIsoCountry("Mali").ru("Мали").iso("ML","MLI")),this._countries.add(new i.StiIsoCountry("Malta").ru("Мальта").iso("MT","MLT")),this._countries.add(new i.StiIsoCountry("Marshall Islands").ru("Маршалловы Острова").iso("MH","MHL")),this._countries.add(new i.StiIsoCountry("Martinique").ru("Мартиника").iso("MQ","MTQ")),this._countries.add(new i.StiIsoCountry("Mauritania").ru("Мавритания").iso("MR","MRT")),this._countries.add(new i.StiIsoCountry("Mauritius").ru("Маврикий").iso("MU","MUS")),this._countries.add(new i.StiIsoCountry("Mayotte").ru("Майотта").iso("YT","MYT")),this._countries.add(new i.StiIsoCountry("Mexico").ru("Мексика").iso("MX","MEX")),this._countries.add(new i.StiIsoCountry("Micronesia","Micronesia (Federated States of)").ru("Микронезии","Федеративные Штаты Микронезии").iso("FM","FSM")),this._countries.add(new i.StiIsoCountry("Moldova","Moldova (Republic of)").ru("Молдова","Молдавия").iso("MD","MDA")),this._countries.add(new i.StiIsoCountry("Monaco").ru("Монако").iso("MC","MCO")),this._countries.add(new i.StiIsoCountry("Mongolia").ru("Монголия").iso("MN","MNG")),this._countries.add(new i.StiIsoCountry("Montenegro").ru("Черногория").iso("ME","MNE")),this._countries.add(new i.StiIsoCountry("Montserrat").ru("Монтсеррат").iso("MS","MSR")),this._countries.add(new i.StiIsoCountry("Morocco").ru("Марокко").iso("MA","MAR")),this._countries.add(new i.StiIsoCountry("Mozambique").ru("Мозамбик").iso("MZ","MOZ")),this._countries.add(new i.StiIsoCountry("Myanmar").ru("Мьянма").iso("MM","MMR")),this._countries.add(new i.StiIsoCountry("Namibia").ru("Намибия").iso("NA","NAM")),this._countries.add(new i.StiIsoCountry("Nauru").ru("Науру").iso("NR","NRU")),this._countries.add(new i.StiIsoCountry("Nepal").ru("Непал").iso("NP","NPL")),this._countries.add(new i.StiIsoCountry("Netherlands").ru("Нидерланды").iso("NL","NLD")),this._countries.add(new i.StiIsoCountry("New Caledonia").ru("Новая Каледония").iso("NC","NCL")),this._countries.add(new i.StiIsoCountry("New Zealand").ru("Новая Зеландия").iso("NZ","NZL")),this._countries.add(new i.StiIsoCountry("Nicaragua").ru("Никарагуа").iso("NI","NIC")),this._countries.add(new i.StiIsoCountry("Niger").ru("Нигер").iso("NE","NER")),this._countries.add(new i.StiIsoCountry("Nigeria").ru("Нигерия").iso("NG","NGA")),this._countries.add(new i.StiIsoCountry("Niue").ru("Ниуэ").iso("NU","NIU")),this._countries.add(new i.StiIsoCountry("Norfolk Island").ru("Остров Норфолк").iso("NF","NFK")),this._countries.add(new i.StiIsoCountry("Northern Mariana Islands").ru("Северные Марианские Острова").iso("MP","MNP")),this._countries.add(new i.StiIsoCountry("Norway").ru("Норвегия").iso("NO","NOR")),this._countries.add(new i.StiIsoCountry("Oman").ru("Оман").iso("OM","OMN")),this._countries.add(new i.StiIsoCountry("Pakistan").ru("Пакистан").iso("PK","PAK")),this._countries.add(new i.StiIsoCountry("Palau").ru("Палау").iso("PW","PLW")),this._countries.add(new i.StiIsoCountry("Palestine","Palestine, State of").ru("Палестина","Государство Палестина").iso("PS","PSE")),this._countries.add(new i.StiIsoCountry("Panama").ru("Панама").iso("PA","PAN")),this._countries.add(new i.StiIsoCountry("Papua New Guinea").ru("Папуа — Новая Гвинея").iso("PG","PNG")),this._countries.add(new i.StiIsoCountry("Paraguay").ru("Парагвай").iso("PY","PRY")),this._countries.add(new i.StiIsoCountry("Peru").ru("Перу").iso("PE","PER")),this._countries.add(new i.StiIsoCountry("Philippines").ru("Филиппины").iso("PH","PHL")),this._countries.add(new i.StiIsoCountry("Pitcairn").ru("Острова Питкэрн").iso("PN","PCN")),this._countries.add(new i.StiIsoCountry("Poland").ru("Польша").iso("PL","POL")),this._countries.add(new i.StiIsoCountry("Portugal").ru("Португалия").iso("PT","PRT")),this._countries.add(new i.StiIsoCountry("Puerto Rico").ru("Пуэрто - Рико").iso("PR","PRI")),this._countries.add(new i.StiIsoCountry("Qatar").ru("Катар").iso("QA","QAT")),this._countries.add(new i.StiIsoCountry("Réunion").ru("Реюньон").iso("RE","REU")),this._countries.add(new i.StiIsoCountry("Romania").ru("Румыния").iso("RO","ROU")),this._countries.add(new i.StiIsoCountry("Russia","Russian Federation").ru("Россия","Российская Федерация").iso("RU","RUS")),this._countries.add(new i.StiIsoCountry("Rwanda").ru("Руанда").iso("RW","RWA")),this._countries.add(new i.StiIsoCountry("Saint Barthélemy").ru("Сен-Бартелеми").iso("BL","BLM")),this._countries.add(new i.StiIsoCountry("Saint Helena, Ascension and Tristan da Cunha").ru("Острова Святой Елены, Вознесения и Тристан-да-Кунья").iso("SH","SHN")),this._countries.add(new i.StiIsoCountry("Saint Kitts and Nevis").ru("Сент-Китс и Невис").iso("KN","KNA")),this._countries.add(new i.StiIsoCountry("Saint Lucia").ru("Сент-Люсия").iso("LC","LCA")),this._countries.add(new i.StiIsoCountry("Saint Martin (French part)").ru("Сен-Мартен (владение Франции)").iso("MF","MAF")),this._countries.add(new i.StiIsoCountry("Saint Pierre and Miquelon").ru("Сен-Пьер и Микелон").iso("PM","SPM")),this._countries.add(new i.StiIsoCountry("Saint Vincent and the Grenadines","Сент - Винсент и Гренадины").iso("VC","VCT")),this._countries.add(new i.StiIsoCountry("Samoa").ru("Самоа").iso("WS","WSM")),this._countries.add(new i.StiIsoCountry("San Marino").ru("Сан - Марино").iso("SM","SMR")),this._countries.add(new i.StiIsoCountry("Sao Tome and Principe").ru("Сан - Томе и Принсипи").iso("ST","STP")),this._countries.add(new i.StiIsoCountry("Saudi Arabia","Arabia").ru("Саудовская Аравия").iso("SA","SAU")),this._countries.add(new i.StiIsoCountry("Senegal").ru("Сенегал").iso("SN","SEN")),this._countries.add(new i.StiIsoCountry("Serbia").ru("Сербия").iso("RS","SRB")),this._countries.add(new i.StiIsoCountry("Seychelles").ru("Сейшельские Острова").iso("SC","SYC")),this._countries.add(new i.StiIsoCountry("Sierra Leone").ru("Сирия").iso("SL","SLE")),this._countries.add(new i.StiIsoCountry("Singapore").ru("Сингапур").iso("SG","SGP")),this._countries.add(new i.StiIsoCountry("Sint Maarten").ru("Синт-Мартен").iso("SX","SXM")),this._countries.add(new i.StiIsoCountry("Slovakia").ru("Словакия").iso("SK","SVK")),this._countries.add(new i.StiIsoCountry("Slovenia").ru("Словения").iso("SI","SVN")),this._countries.add(new i.StiIsoCountry("Solomon Islands").ru("Соломоновы Острова").iso("SB","SLB")),this._countries.add(new i.StiIsoCountry("Somalia").ru("Сомали").iso("SO","SOM")),this._countries.add(new i.StiIsoCountry("South Africa").ru("ЮАР").iso("ZA","ZAF")),this._countries.add(new i.StiIsoCountry("South Georgia and the South Sandwich Islands").ru("Южная Георгия и Южные Сандвичевы Острова").iso("GS","SGS")),this._countries.add(new i.StiIsoCountry("South Sudan").ru("Южный Судан").iso("SS","SSD")),this._countries.add(new i.StiIsoCountry("Spain").ru("Испания").iso("ES","ESP")),this._countries.add(new i.StiIsoCountry("Sri Lanka").ru("Шри - Ланка").iso("LK","LKA")),this._countries.add(new i.StiIsoCountry("Sudan").ru("Судан").iso("SD","SDN")),this._countries.add(new i.StiIsoCountry("Suriname").ru("Суринам").iso("SR","SUR")),this._countries.add(new i.StiIsoCountry("Svalbard and Jan Mayen").ru("Шпицберген и Ян-Майен").iso("SJ","SJM")),this._countries.add(new i.StiIsoCountry("Swaziland").ru("Свазиленд").iso("SZ","SWZ")),this._countries.add(new i.StiIsoCountry("Sweden").ru("Швеция").iso("SE","SWE")),this._countries.add(new i.StiIsoCountry("Switzerland").ru("Швейцария").iso("CH","CHE")),this._countries.add(new i.StiIsoCountry("Syrian Arab Republic").ru("Сирия").iso("SY","SYR")),this._countries.add(new i.StiIsoCountry("Taiwan","Taiwan, Province of China[a]").ru("Китайская Республика").iso("TW","TWN")),this._countries.add(new i.StiIsoCountry("Tajikistan").ru("Таджикистан").iso("TJ","TJK")),this._countries.add(new i.StiIsoCountry("Tanzania","Tanzania, United Republic of").ru("Танзания").iso("TZ","TZA")),this._countries.add(new i.StiIsoCountry("Thailand").ru("Таиланд").iso("TH","THA")),this._countries.add(new i.StiIsoCountry("Timor-Leste").ru("Восточный Тимор").iso("TL","TLS")),this._countries.add(new i.StiIsoCountry("Togo").ru("Того").iso("TG","TGO")),this._countries.add(new i.StiIsoCountry("Tokelau").ru("Токелау").iso("TK","TKL")),this._countries.add(new i.StiIsoCountry("Tonga").ru("Тонга").iso("TO","TON")),this._countries.add(new i.StiIsoCountry("Trinidad and Tobago").ru("Тринидад и Тобаго").iso("TT","TTO")),this._countries.add(new i.StiIsoCountry("Tunisia").ru("Тунис").iso("TN","TUN")),this._countries.add(new i.StiIsoCountry("Turkey").ru("Турция").iso("TR","TUR")),this._countries.add(new i.StiIsoCountry("Turkmenistan").ru("Туркмения").iso("TM","TKM")),this._countries.add(new i.StiIsoCountry("Turks and Caicos Islands").ru("Тёркс и Кайкос").iso("TC","TCA")),this._countries.add(new i.StiIsoCountry("Tuvalu").ru("Тувалу").iso("TV","TUV")),this._countries.add(new i.StiIsoCountry("Uganda").ru("Уганда").iso("UG","UGA")),this._countries.add(new i.StiIsoCountry("Ukraine").ru("Украина").iso("UA","UKR")),this._countries.add(new i.StiIsoCountry("United Arab Emirates").ru("Объединённые Арабские Эмираты").iso("AE","ARE")),this._countries.add(new i.StiIsoCountry("United Kingdom","United Kingdom of Great Britain and Northern Ireland","Great Britain").ru("Великобритания","UK").iso("GB","GBR")),this._countries.add(new i.StiIsoCountry("United States of America","United States","U.S.","U.S. of A","U.S. of America","America").ru("США").iso("US","USA")),this._countries.add(new i.StiIsoCountry("United States Minor Outlying Islands").ru("Внешние малые острова (США)").iso("UM","UMI")),this._countries.add(new i.StiIsoCountry("Uruguay").ru("Уругвай").iso("UY","URY")),this._countries.add(new i.StiIsoCountry("Uzbekistan").ru("Узбекистан").iso("UZ","UZB")),this._countries.add(new i.StiIsoCountry("Vanuatu").ru("Вануату").iso("VU","VUT")),this._countries.add(new i.StiIsoCountry("Venezuela","Venezuela (Bolivarian Republic of)").ru("Венесуэла").iso("VE","VEN")),this._countries.add(new i.StiIsoCountry("Viet Nam").ru("Вьетнам").iso("VN","VNM")),this._countries.add(new i.StiIsoCountry("Virgin Islands (British)").ru("Виргинские Острова (Великобритания)").iso("VG","VGB")),this._countries.add(new i.StiIsoCountry("Virgin Islands (U.S.)").ru("Виргинские Острова (США)").iso("VI","VIR")),this._countries.add(new i.StiIsoCountry("Wallis and Futuna").ru("Уоллис и Футуна").iso("WF","WLF")),this._countries.add(new i.StiIsoCountry("Western Sahara").ru("Западная Сахара").iso("EH","ESH")),this._countries.add(new i.StiIsoCountry("Yemen").ru("Йемен").iso("YE","YEM")),this._countries.add(new i.StiIsoCountry("Zambia").ru("Замбия").iso("ZM","ZMB")),this._countries.add(new i.StiIsoCountry("Zimbabwe").ru("Зимбабве").iso("ZW","ZWE"))},s.initializeUsStates=function(){this._usStates.add(new i.StiIsoCountry("Alabama","Ala.").iso("AL").ru("Алабама")),this._usStates.add(new i.StiIsoCountry("Alaska","Alas.").iso("AK").ru("Аляска")),this._usStates.add(new i.StiIsoCountry("American Samoa","A.S").iso("AS").ru("Американское Самоа")),this._usStates.add(new i.StiIsoCountry("Arizona","Ariz.").iso("AZ").ru("Аризона")),this._usStates.add(new i.StiIsoCountry("Arkansas","Ark.").iso("AR").ru("Арканзас")),this._usStates.add(new i.StiIsoCountry("California","Calif.","Ca.","Cal.").iso("CA").ru("Калифорния")),this._usStates.add(new i.StiIsoCountry("Colorado","Colo.","Col.").iso("CO").ru("Колорадо")),this._usStates.add(new i.StiIsoCountry("Connecticut","Conn.","Ct.").iso("CT").ru("Коннектикут")),this._usStates.add(new i.StiIsoCountry("Delaware","Del.","Ct.").iso("DE").ru("Делавэр")),this._usStates.add(new i.StiIsoCountry("District of Columbia","D.C.","Wash D.C.").iso("DC").ru("Округ Колумбия")),this._usStates.add(new i.StiIsoCountry("Florida","Fla.","Fl.","Flor.").iso("FL").ru("Флорида")),this._usStates.add(new i.StiIsoCountry("Georgia","Ga.","Geo.").iso("GA").ru("Джорджия")),this._usStates.add(new i.StiIsoCountry("Guam","GUM").iso("GU").ru("Гуам")),this._usStates.add(new i.StiIsoCountry("Hawaii","H.I.").iso("HI").ru("Гавайи")),this._usStates.add(new i.StiIsoCountry("Idaho","Id.","Ida.").iso("ID").ru("Айдахо")),this._usStates.add(new i.StiIsoCountry("Illinois","Ill.").iso("IL").ru("Иллинойс")),this._usStates.add(new i.StiIsoCountry("Indiana","Ind.","In.").iso("IN").ru("Индиана")),this._usStates.add(new i.StiIsoCountry("Iowa","Ia.","Ioa.").iso("IA").ru("Айова")),this._usStates.add(new i.StiIsoCountry("Kansas","Kans.","Kan.","Ks","Ka").iso("KS").ru("Канзас")),this._usStates.add(new i.StiIsoCountry("Kentucky","Ky.","Ken.","Kent.").iso("KY").ru("Кентукки")),this._usStates.add(new i.StiIsoCountry("Louisiana","La.").iso("LA").ru("Луизиана")),this._usStates.add(new i.StiIsoCountry("Maine","Me.").iso("ME").ru("Мэн")),this._usStates.add(new i.StiIsoCountry("Maryland","Md.").iso("MD").ru("Мэриленд")),this._usStates.add(new i.StiIsoCountry("Massachusetts","Mass.").iso("MA").ru("Массачусетс")),this._usStates.add(new i.StiIsoCountry("Michigan","Mich.").iso("MI").ru("Мичиган")),this._usStates.add(new i.StiIsoCountry("Minnesota","Minn.","Mn.").iso("MN").ru("Миннесота")),this._usStates.add(new i.StiIsoCountry("Mississippi","Miss.").iso("MS").ru("Миссисипи")),this._usStates.add(new i.StiIsoCountry("Missouri","Mo.").iso("MO").ru("Миссури")),this._usStates.add(new i.StiIsoCountry("Montana","Mont.").iso("MT").ru("Монтана")),this._usStates.add(new i.StiIsoCountry("Nebraska","Nebr.","Neb.").iso("NE").ru("Небраска")),this._usStates.add(new i.StiIsoCountry("Nevada","Nev.","Nv.").iso("NV").ru("Невада")),this._usStates.add(new i.StiIsoCountry("New Hampshire","N.H.").iso("NH").ru("Нью-Гемпшир")),this._usStates.add(new i.StiIsoCountry("New Jersey","N.J.","N. Jersey").iso("NJ").ru("Нью-Джерси")),this._usStates.add(new i.StiIsoCountry("New Mexico","N. Mex.","N.M.","New M.").iso("NM").ru("Нью-Мексико")),this._usStates.add(new i.StiIsoCountry("New York","N.Y.","N. York").iso("NY").ru("Нью-Йорк")),this._usStates.add(new i.StiIsoCountry("North Carolina","N.C.","N. Car.").iso("NC").ru("Северная Каролина")),this._usStates.add(new i.StiIsoCountry("North Dakota","N. Dak.","N.D.","NoDak").iso("ND").ru("Северная Дакота")),this._usStates.add(new i.StiIsoCountry("Northern Mariana Islands","M.P.","CNMI").iso("MP","MNP").ru("Северные Марианские острова")),this._usStates.add(new i.StiIsoCountry("Ohio","O.","Oh.").iso("OH").ru("Огайо")),this._usStates.add(new i.StiIsoCountry("Oklahoma","Okla.","Ok.").iso("OK").ru("Оклахома")),this._usStates.add(new i.StiIsoCountry("Oregon","Oreg.","Ore.","Or.").iso("OR").ru("Орегон")),this._usStates.add(new i.StiIsoCountry("Pennsylvania","Pa.","Penn.","Penna.").iso("PA").ru("Пенсильвания")),this._usStates.add(new i.StiIsoCountry("Puerto Rico","P.R.").iso("PR","PRI").ru("Пуэрто - Рико")),this._usStates.add(new i.StiIsoCountry("Rhode Island","R.I.","P.P.","R. Isl.").iso("RI").ru("Род-Айленд")),this._usStates.add(new i.StiIsoCountry("South Carolina","S.C.","S. Car.").iso("SC").ru("Южная Каролина")),this._usStates.add(new i.StiIsoCountry("South Dakota","S. Dak.","S.D.","SoDak").iso("SD").ru("Южная Дакота")),this._usStates.add(new i.StiIsoCountry("Tennessee","Tenn.").iso("TN").ru("Теннесси")),this._usStates.add(new i.StiIsoCountry("Texas","Tex.","Tx.").iso("TX").ru("Техас")),this._usStates.add(new i.StiIsoCountry("US Minor Outlying Islands").iso("WY","UMI").ru("Внешние малые острова")),this._usStates.add(new i.StiIsoCountry("US Virgin Islands","V.I.","U.S.V.I.").iso("VI","ASM").ru("Американские Виргинские острова")),this._usStates.add(new i.StiIsoCountry("Utah","Ut.").iso("UT").ru("Юта")),this._usStates.add(new i.StiIsoCountry("Vermont","Vt.").iso("VT").ru("Вермонт")),this._usStates.add(new i.StiIsoCountry("Virginia","Va.","Virg.").iso("VA","VIR").ru("Виргиния")),this._usStates.add(new i.StiIsoCountry("Washington","Wash.","Wa.","Wn.").iso("WA").ru("Вашингтон")),this._usStates.add(new i.StiIsoCountry("West Virginia","W. Va.","W.V.","W. Virg.").iso("WV").ru("Западная Виргиния")),this._usStates.add(new i.StiIsoCountry("Wisconsin","Wis.","Wi.","Wisc.").iso("WI").ru("Висконсин")),this._usStates.add(new i.StiIsoCountry("Wyoming","Wyo.","Wy.").iso("WY").ru("Вайоминг"))},s.initializeCanadaProvinces=function(){this._canadaProvinces.add(new i.StiIsoCountry("Alberta").iso("AB").fr("Alberta").ru("Альберта")),this._canadaProvinces.add(new i.StiIsoCountry("British Columbia").iso("BC").fr("Colombie-Britannique").ru("Британская Колумбия")),this._canadaProvinces.add(new i.StiIsoCountry("Manitoba").iso("MB").fr("Manitoba").ru("Манитоба")),this._canadaProvinces.add(new i.StiIsoCountry("New Brunswick").iso("NB").fr("Nouveau-Brunswick").ru("Нью-Брансуик")),this._canadaProvinces.add(new i.StiIsoCountry("Newfoundland and Labrador").iso("NL").fr("Terre-Neuve-et-Labrador").ru("Ньюфаундленд и Лабрадор")),this._canadaProvinces.add(new i.StiIsoCountry("Nova Scotia").iso("NS").fr("Nouvelle-Écosse").ru("Новая Шотландия")),this._canadaProvinces.add(new i.StiIsoCountry("Northwest Territories").iso("NT").fr("Territoires du Nord-Ouest").ru("Северо-западные территории")),this._canadaProvinces.add(new i.StiIsoCountry("Nunavut").iso("NU").fr("Nunavut").ru("Нунавут")),this._canadaProvinces.add(new i.StiIsoCountry("Ontario").iso("ON").fr("Ontario").ru("Онтарио")),this._canadaProvinces.add(new i.StiIsoCountry("Prince Edward Island").iso("PE").fr("Île-du-Prince-Édouard").ru("Остров Принца Эдуарда")),this._canadaProvinces.add(new i.StiIsoCountry("Quebec").iso("QC").fr("Québec").ru("Квебек")),this._canadaProvinces.add(new i.StiIsoCountry("Saskatchewan").iso("SK").fr("Saskatchewan").ru("Саскачеван")),this._canadaProvinces.add(new i.StiIsoCountry("Yukon").iso("YT").fr("Yukon").ru("Юкон"))},s.initializeBrazilProvinces=function(){this._brazilProvinces.add(new i.StiIsoCountry("Roraima").iso("AB").fr("Roraima").ru("Рорайма")),this._brazilProvinces.add(new i.StiIsoCountry("Amazonas").iso("AM").fr("Amazonas").ru("Амазонас")),this._brazilProvinces.add(new i.StiIsoCountry("Para").iso("PA").fr("Pará").ru("Пара")),this._brazilProvinces.add(new i.StiIsoCountry("Amapa").iso("AP").fr("Amapá").ru("Амапа")),this._brazilProvinces.add(new i.StiIsoCountry("Acre").iso("AC").fr("Acre").ru("Акри")),this._brazilProvinces.add(new i.StiIsoCountry("Rondonia").iso("RO").fr("Rondônia").ru("Рондония")),this._brazilProvinces.add(new i.StiIsoCountry("Mato Grosso").iso("MT").fr("Mato Grosso").ru("Мату-Гросу")),this._brazilProvinces.add(new i.StiIsoCountry("Maranhao").iso("MA").fr("Maranhão").ru("Мараньян")),this._brazilProvinces.add(new i.StiIsoCountry("Piaui").iso("PI").fr("Piauí").ru("Пиауи")),this._brazilProvinces.add(new i.StiIsoCountry("Ceara").iso("CE").fr("Ceará").ru("Сеара")),this._brazilProvinces.add(new i.StiIsoCountry("Rio Grande do Norte").iso("RN").fr("Rio Grande do Norte").ru("Риу-Гранди-ду-Норти")),this._brazilProvinces.add(new i.StiIsoCountry("Paraiba").iso("PB").fr("Paraïba").ru("Параиба")),this._brazilProvinces.add(new i.StiIsoCountry("Pernambuco").iso("PE").fr("Pernambouc").ru("Пернамбуку")),this._brazilProvinces.add(new i.StiIsoCountry("Alagoas").iso("AL").fr("Alagoas").ru("Алагоас")),this._brazilProvinces.add(new i.StiIsoCountry("Sergipe").iso("SE").fr("Sergipe").ru("Сержипи")),this._brazilProvinces.add(new i.StiIsoCountry("Bahia").iso("BA").fr("Bahia").ru("Баия")),this._brazilProvinces.add(new i.StiIsoCountry("Tocantins").iso("TO").fr("Tocantins").ru("Токантинс")),this._brazilProvinces.add(new i.StiIsoCountry("Goias").iso("GO").fr("Goiás").ru("Гояс")),this._brazilProvinces.add(new i.StiIsoCountry("Minas Gerais").iso("MG").fr("Minas Gerais").ru("Минас-Жерайс")),this._brazilProvinces.add(new i.StiIsoCountry("Espirito Santo").iso("ES").fr("Minas Gerais").ru("Минас-Жерайс")),this._brazilProvinces.add(new i.StiIsoCountry("Rio de Janeiro").iso("RJ").fr("Rio de Janeiro").ru("Рио-де-Жанейро")),this._brazilProvinces.add(new i.StiIsoCountry("Sao Paulo").iso("SP").fr("São Paulo").ru("Сан-Паулу")),this._brazilProvinces.add(new i.StiIsoCountry("Parana").iso("PR").fr("Paraná").ru("Парана")),this._brazilProvinces.add(new i.StiIsoCountry("Santa Catarina").iso("SC").fr("Santa Catarina").ru("Санта-Катарина")),this._brazilProvinces.add(new i.StiIsoCountry("Rio Grande do Sul").iso("RS").fr("Rio Grande do Sul").ru("Риу-Гранди-ду-Сул")),this._brazilProvinces.add(new i.StiIsoCountry("Mato Grosso do Sul").iso("MS").fr("Mato Grosso do Sul").ru("Мату-Гросу-ду-Сул"))},r=s,i.StiIsoElementHelper=r}(Stimulsoft=Stimulsoft||{}),function(t){var e,r,n,i,o,a;function s(){}r=e=t.Report||(t.Report={}),i=n=r.Maps||(r.Maps={}),r=o=i.Helpers||(i.Helpers={}),a=t.System.Collections.Dictionary,s.allowGss=function(t){return"UKCountries"==t},s.get=function(t){if(!this.allowGss(t))return null;return null==this.hash&&(this.hash=new a),this.hash.contains(t)||this.init(t),this.hash.get(t)},s.init=function(t){switch(t){case"UKCountries":this.initUKCountries();break}},s.isGssValue=function(t){if(null==t)return!1;var t=t.toLowerCase();return t.stimulsoft.startsWith("s12")||t.stimulsoft.startsWith("e06")||t.stimulsoft.startsWith("e10")||t.stimulsoft.startsWith("e07")||t.stimulsoft.startsWith("e09")||t.stimulsoft.startsWith("n09")||t.stimulsoft.startsWith("w06")||t.stimulsoft.startsWith("s12")||t.stimulsoft.startsWith("e08")||t.stimulsoft.startsWith("e11")},s.add=function(t,e,r){null!=r&&t.add(r.toLowerCase(),e)},s.initUKCountries=function(){var t=new a;this.add(t,"EastAyrshire","S12000008"),this.add(t,"EastDunbartonshire","S12000045"),this.add(t,"EastRenfrewshire","S12000011"),this.add(t,"Glasgow","S12000046"),this.add(t,"Inverclyde","S12000018"),this.add(t,"NorthAyshire","S12000021"),this.add(t,"NorthLanarkshire","S12000044"),this.add(t,"Renfrewshire","S12000038"),this.add(t,"SouthAyrshire","S12000028"),this.add(t,"SouthLanarkshire","S12000029"),this.add(t,"WestDunbartonshire","S12000039"),this.add(t,"Aberdeen","S12000033"),this.add(t,"Aberdeenshire","S12000034"),this.add(t,"Moray","S12000020"),this.add(t,"Falkirk","S12000014"),this.add(t,"Stirling","S12000030"),this.add(t,"Clackmannanshire","S12000005"),this.add(t,"PerthshireAndKinross","S12000024"),this.add(t,"Angus","S12000041"),this.add(t,"Dundee","S12000042"),this.add(t,"Fife","S12000015"),this.add(t,"EastLothian","S12000010"),this.add(t,"Edinburgh","S12000036"),this.add(t,"Midlothian","S12000019"),this.add(t,"WestLothian","S12000040"),this.add(t,"ScottishBorders","S12000026"),this.add(t,"Darlington","E06000005"),this.add(t,"Durham","E06000047"),this.add(t,"Hartlepool","E06000001"),this.add(t,"Middlesbrough","E06000002"),this.add(t,"RedcarAndCleveland","E06000003"),this.add(t,"StocktonOnTees","E06000004"),this.add(t,"Northumberland","E06000057"),this.add(t,"Hampshire","E10000014"),this.add(t,"Southampton","E06000045"),this.add(t,"MiltonKeynes","E06000042"),this.add(t,"Gloucestershire","E07000081"),this.add(t,"Buckinghamshire","E10000002"),this.add(t,"Hertfordshire","E10000015"),this.add(t,"BathAndNorthEastSomerset","E06000022"),this.add(t,"Bristol","E06000023"),this.add(t,"NorthSomerset","E06000024"),this.add(t,"SouthGloucestershire","E06000025"),this.add(t,"Somerset","E10000027"),this.add(t,"Devon","E10000008"),this.add(t,"Bournemouth","E06000028"),this.add(t,"Dorset","E10000009"),this.add(t,"Poole","E06000029"),this.add(t,"Cambridgeshire","E07000008"),this.add(t,"Leicestershire","E07000134"),this.add(t,"KingstonUponHull","E06000010"),this.add(t,"NorthEastLincolnshire","E06000012"),this.add(t,"NorthLincolnshire","E06000013"),this.add(t,"Derby","E06000015"),this.add(t,"Derbyshire","E07000035"),this.add(t,"BarkingAndDagenham","E09000002"),this.add(t,"Bexley","E09000004"),this.add(t,"Brent","E09000005"),this.add(t,"Bromley","E09000006"),this.add(t,"Camden","E09000007"),this.add(t,"Croydon","E09000008"),this.add(t,"Ealing","E09000009"),this.add(t,"Enfield","E09000010"),this.add(t,"Greenwich","E09000011"),this.add(t,"HammersmithAndFulham","E09000013"),this.add(t,"Hounslow","E09000018"),this.add(t,"Islington","E09000019"),this.add(t,"KensingtonAndChelsea","E09000020"),this.add(t,"Merton","E09000024"),this.add(t,"Redbridge","E09000026"),this.add(t,"RichmondUponThames","E09000027"),this.add(t,"Sutton","E09000029"),this.add(t,"TowerHamlets","E09000030"),this.add(t,"WalthamForest","E09000031"),this.add(t,"Wandsworth","E09000032"),this.add(t,"Westminster","E09000033"),this.add(t,"Lincolnshire","E07000138"),this.add(t,"Belfast","N09000003"),this.add(t,"Derry",null),this.add(t,"Omagh",null),this.add(t,"Armagh",null),this.add(t,"NewryAndMourne",null),this.add(t,"Banbridge",null),this.add(t,"Craigavon",null),this.add(t,"Dungannon",null),this.add(t,"Lisburn",null),this.add(t,"Cookstown",null),this.add(t,"Antrim",null),this.add(t,"Magherafelt",null),this.add(t,"Ballymena",null),this.add(t,"Larne",null),this.add(t,"Carrickfergus",null),this.add(t,"Newtownabbey",null),this.add(t,"NorthDown",null),this.add(t,"Down",null),this.add(t,"Coleraine",null),this.add(t,"Ballymoney",null),this.add(t,"Limavady",null),this.add(t,"Castlereagh",null),this.add(t,"Carmarthenshire","W06000010"),this.add(t,"Ceredigion","W06000008"),this.add(t,"Pembrokeshire","W06000009"),this.add(t,"Cornwall","E06000052"),this.add(t,"Powys","W06000023"),this.add(t,"Bridgend","W06000013"),this.add(t,"Caerphilly","W06000018"),this.add(t,"MerthyrTydfil","W06000024"),this.add(t,"RhonddaCynonTaf","W06000016"),this.add(t,"Cardiff","W06000015"),this.add(t,"ValeOfGlamorgan","W06000014"),this.add(t,"NeathPortTalbot","W06000012"),this.add(t,"Swansea","W06000011"),this.add(t,"York","E06000014"),this.add(t,"TelfordAndWrekin","E06000020"),this.add(t,"BlackburnWithDarwen","E06000008"),this.add(t,"Lancashire","E10000017"),this.add(t,"EastRidingOfYorkshire","E06000011"),this.add(t,"Denbighshire","W06000004"),this.add(t,"Flintshire","W06000005"),this.add(t,"Wrexham","W06000006"),this.add(t,"Anglesey","W06000001"),this.add(t,"Conwy","W06000003"),this.add(t,"Gwynedd","W06000002"),this.add(t,"BlaenauGwent","W06000019"),this.add(t,"Monmouthshire","W06000021"),this.add(t,"Newport","W06000022"),this.add(t,"Torfaen","W06000020"),this.add(t,"Strabane",null),this.add(t,"Fermanagh",null),this.add(t,"Ards",null),this.add(t,"DumfriesAndGalloway","S12000006"),this.add(t,"Cumbria","E10000006"),this.add(t,"NorthYorkshire","E10000023"),this.add(t,"Plymouth","E06000026"),this.add(t,"Torbay","E06000027"),this.add(t,"Essex","E10000012"),this.add(t,"Suffolk","E10000029"),this.add(t,"Norfolk","E10000020"),this.add(t,"BrightonAndHove","E06000043"),this.add(t,"Havering","E09000016"),this.add(t,"Thurrock","E06000034"),this.add(t,"EastSussex","E10000011"),this.add(t,"Medway","E06000035"),this.add(t,"SouthendOnSea","E06000033"),this.add(t,"Orkney","S12000023"),this.add(t,"Highland","S12000017"),this.add(t,"ArgyllAndBute","S12000035"),this.add(t,"ShetlandIslands","S12000027"),this.add(t,"WestSussex","E10000032"),this.add(t,"Northamptonshire","E07000152"),this.add(t,"Warwickshire","E07000218"),this.add(t,"Oxfordshire","E07000178"),this.add(t,"Luton","E06000032"),this.add(t,"Hillingdon","E09000017"),this.add(t,"KingstonUponThames","E09000021"),this.add(t,"Surrey","E10000030"),this.add(t,"Swindon","E06000030"),this.add(t,"Wiltshire","E06000054"),this.add(t,"IsleOfWight","E06000046"),this.add(t,"Portsmouth","E06000044"),this.add(t,"Peterborough","E06000031"),this.add(t,"Leicester","E06000016"),this.add(t,"Rutland","E06000017"),this.add(t,"Nottingham","E06000018"),this.add(t,"Nottinghamshire","E10000024"),this.add(t,"Hackney","E09000012"),this.add(t,"Haringey","E09000014"),this.add(t,"Harrow","E09000015"),this.add(t,"Lambeth","E09000022"),this.add(t,"Lewisham","E09000023"),this.add(t,"Newham","E09000025"),this.add(t,"Southwark","E09000028"),this.add(t,"EileanSiar","S12000013"),this.add(t,"Moyle",null),this.add(t,"Warrington","E06000007"),this.add(t,"Herefordshire","E06000019"),this.add(t,"Worcestershire","E07000237"),this.add(t,"Staffordshire","E07000193"),this.add(t,"StokeOnTrent","E06000021"),this.add(t,"Shropshire","E06000051"),this.add(t,"Kent","E10000016"),this.add(t,"City","E09000001"),this.add(t,"NewcastleUponTyne","E08000021"),this.add(t,"NorthTyneside","E08000022"),this.add(t,"SouthTyneside","E08000023"),this.add(t,"Sunderland","E08000024"),this.add(t,"Gateshead","E08000037"),this.add(t,"Knowsley","E08000011"),this.add(t,"Sefton","E08000014"),this.add(t,"Liverpool","E08000012"),this.add(t,"Merseyside","E11000002"),this.add(t,"Blackpool","E06000009"),this.add(t,"Kirklees","E08000034"),this.add(t,"Calderdale","E08000033"),this.add(t,"Bradford","E08000032"),this.add(t,"Leeds","E08000035"),this.add(t,"Wakefield","E08000036"),this.add(t,"Salford","E08000006"),this.add(t,"Wigan","E08000010"),this.add(t,"Bolton","E08000001"),this.add(t,"Bury","E08000002"),this.add(t,"Rochdale","E08000005"),this.add(t,"Oldham","E08000004"),this.add(t,"Tameside","E08000008"),this.add(t,"Stockport","E08000007"),this.add(t,"Manchester","E08000003"),this.add(t,"Trafford","E08000009"),this.add(t,"Rotherham","E08000018"),this.add(t,"Sheffield","E08000019"),this.add(t,"Barnsley","E08000016"),this.add(t,"Doncaster","E08000017"),this.add(t,"Birmingham","E08000025"),this.add(t,"Sandwell","E08000028"),this.add(t,"Dudley","E08000027"),this.add(t,"Wolverhampton","E08000031"),this.add(t,"Walsall","E08000030"),this.add(t,"Solihull","E08000029"),this.add(t,"Coventry","E08000026"),this.add(t,"CentralBedfordshire","E06000056"),this.add(t,"Bedford","E06000055"),this.add(t,"Reading","E06000038"),this.add(t,"WestBerkshire","E06000037"),this.add(t,"Wokingham","E06000041"),this.add(t,"BracknellForest","E06000036"),this.add(t,"RoyalBoroughOfWindsorAndMaidenhead","E06000040"),this.add(t,"Slough","E06000039"),this.add(t,"Barnet","E09000003"),this.add(t,"CheshireEast","E06000049"),this.add(t,"CheshireWestAndChester","E06000050"),this.add(t,"Halton","E06000006"),this.add(t,"IslesOfScilly","E06000053"),this.hash.add("UKCountries",t)},i=s,r.StiGssMapHelper=i}(Stimulsoft=Stimulsoft||{}),function(t){var e,r,n,i,o,l,a;function u(){}r=e=t.Report||(t.Report={}),i=n=r.Helpers||(r.Helpers={}),o=t.System.StiString,l=t.System.Collections.List,a=t.Report.Maps.Helpers.StiGssMapHelper,u.prototype.getMapIdents=function(t){t=u.simplify(t);var e=new l,r=u.getMapIdents2(t,i.StiIsoElementHelper.countries);return null!=r&&e.addRange(r),0==e.length&&null!=(r=u.getMapIdents2(t,i.StiIsoElementHelper.usStates))&&e.addRange(r),0==e.length&&null!=(r=u.getMapIdents2(t,i.StiIsoElementHelper.canadaProvinces))&&e.addRange(r),0==e.length&&null!=(r=u.getMapIdents2(t,i.StiIsoElementHelper.brazilProvinces))&&e.addRange(r),e.add(t),e},u.getMapIdents2=function(e,t){var r,n;try{for(var i=__values(t),o=i.next();!o.done;o=i.next()){var a=o.value;if(u.simplify(a.alpha2)==e||u.simplify(a.alpha3)==e||null!=a.names&&a.names.any(function(t){return u.simplify(t)==e})||null!=a.frNames&&a.frNames.any(function(t){return u.simplify(t)==e})||null!=a.ruNames&&a.ruNames.any(function(t){return u.simplify(t)==e})){var s=new l;return null!=a.names&&s.addRange(a.names),null!=a.ruNames&&s.addRange(a.ruNames),null!=a.frNames&&s.addRange(a.frNames),s}}}catch(t){r={error:t}}finally{try{o&&!o.done&&(n=i.return)&&n.call(i)}finally{if(r)throw r.error}}return null},u.prototype.getNameFromIsoAlpha2=function(t,e,r){void 0===e&&(e=null),void 0===r&&(r=null);var r=i.StiMapResourceHelper.getSvgBlockFromName(t,e,r);if(null!=r)return r.englishName;var e=i.StiIsoElementHelper.getCountryFromAlpha2(t,e);if(null!=e)return e.names.toList().firstOrDefault();var t=i.StiRegionInfoHelper.getNameFromIsoAlpha2(t);if(null!=t)return t;return null},u.prototype.getNameFromIsoAlpha3=function(t,e,r){void 0===e&&(e=null),void 0===r&&(r=null);var r=i.StiMapResourceHelper.getSvgBlockFromName(t,e,r);if(null!=r)return r.englishName;var e=i.StiIsoElementHelper.getCountryFromAlpha3(t,e);if(null!=e)return e.names.toList().firstOrDefault();var t=i.StiRegionInfoHelper.getNameFromIsoAlpha3(t);if(null!=t)return t;return null},u.prototype.normalizeName=function(t,e,r){void 0===e&&(e=null),void 0===r&&(r=null);var n=this.getIsoAlpha2FromName(t,e,r),r=this.getNameFromIsoAlpha2(n,e,r);return o.isNullOrWhiteSpace(r)?t:r},u.prototype.getIsoAlpha2FromName=function(t,e,r){void 0===e&&(e=null),void 0===r&&(r=null);var r=i.StiMapResourceHelper.getIsoAlpha2FromName(t,e,r);if(null!=r)return r;if(null!=(r=i.StiIsoElementHelper.getIsoAlpha2FromName(t,e)))return r;if(null!=(r=i.StiRegionInfoHelper.getIsoAlpha2FromName(t)))return r;return null},u.prototype.getIsoAlpha3FromName=function(t,e,r){void 0===e&&(e=null),void 0===r&&(r=null);var r=i.StiMapResourceHelper.getIsoAlpha3FromName(t,e,r);if(null!=r)return r;if(null!=(r=i.StiIsoElementHelper.getIsoAlpha3FromName(t,e)))return r;if(null!=(r=i.StiRegionInfoHelper.getIsoAlpha3FromName(t)))return r;return null},u.prototype.convertMapKeysToIsoAlpha2=function(t,e,r){if(void 0===r&&(r=null),null==t||0==t.length)return null;return t.select(function(t){return i.StiMapResourceHelper.getIsoAlpha2FromName(t,e,r)}).where(function(t){return!o.isNullOrWhiteSpace(t)}).distinct().toList()},u.prototype.getMapKeysFromNames=function(t,e,r){var n=this;if(void 0===r&&(r=null),null==t)return null;return t.select(function(t){return t.toString()},this).select(function(t){return n.getMapKeyFromName(t,e,r)},this).toList()},u.prototype.getMapKeyFromName=function(t,e,r){if(void 0===r&&(r=null),a.isGssValue(t))return t;var n=(new u).getIsoAlpha2FromName(t,e,r),r=i.StiMapResourceHelper.getSvgBlockFromIsoAlpha2(n,e,r);if(null==n)return t;return null!=r?r.key:null},u.simplify=function(t){return null==t?t:t.toLowerCase().stimulsoft.replaceAll(" ","").stimulsoft.replaceAll("-","")},r=u,i.StiMapKeyHelper=r}(Stimulsoft=Stimulsoft||{}),function(t){var e,t,r,n,i,o;function a(){this.geoms=[]}t=e=t.Base||(t.Base={}),t=r=t.Maps||(t.Maps={}),(i=n=t.Geoms||(t.Geoms={})).StiMapGeomsContainer=a}(Stimulsoft=Stimulsoft||{}),function(t){var e,t,r,n,i,o;function a(){this.geoms=[]}t=e=t.Base||(t.Base={}),t=r=t.Maps||(t.Maps={}),(i=n=t.Geoms||(t.Geoms={})).StiMapGeomsObject=a}(Stimulsoft=Stimulsoft||{}),function(t){var e,r,n,t,i;function o(){}r=e=t.Base||(t.Base={}),t=n=r.Maps||(r.Maps={}),r=i=t.Geoms||(t.Geoms={}),Object.defineProperty(o.prototype,"geomType",{get:function(){return null},enumerable:!1,configurable:!0}),o.prototype.getLastPoint=function(){throw new Error("Not supported!")},t=o,r.StiMapGeom=t}(Stimulsoft=Stimulsoft||{}),function(t){var e,r,n,i,o,a,s;function l(){return null!==s&&s.apply(this,arguments)||this}r=e=t.Base||(t.Base={}),r=n=r.Maps||(r.Maps={}),o=i=r.Geoms||(r.Geoms={}),a=t.System.Drawing.Point,s=o.StiMapGeom,__extends(l,s),Object.defineProperty(l.prototype,"geomType",{get:function(){return o.StiMapGeomType.MoveTo},enumerable:!1,configurable:!0}),l.prototype.getLastPoint=function(){return new a(this.x,this.y)},r=l,o.StiMoveToMapGeom=r}(Stimulsoft=Stimulsoft||{}),function(t){var e,r,n,i,o,a,s;function l(){return null!==s&&s.apply(this,arguments)||this}r=e=t.Base||(t.Base={}),r=n=r.Maps||(r.Maps={}),o=i=r.Geoms||(r.Geoms={}),a=t.System.Drawing.Point,s=o.StiMapGeom,__extends(l,s),Object.defineProperty(l.prototype,"geomType",{get:function(){return o.StiMapGeomType.Line},enumerable:!1,configurable:!0}),l.prototype.getLastPoint=function(){return new a(this.x,this.y)},r=l,o.StiLineMapGeom=r}(Stimulsoft=Stimulsoft||{}),function(t){var e,r,n,i,o,a,s;function l(){return null!==s&&s.apply(this,arguments)||this}r=e=t.Base||(t.Base={}),r=n=r.Maps||(r.Maps={}),o=i=r.Geoms||(r.Geoms={}),a=t.System.Drawing.Point,s=o.StiMapGeom,__extends(l,s),Object.defineProperty(l.prototype,"geomType",{get:function(){return o.StiMapGeomType.Bezier},enumerable:!1,configurable:!0}),l.prototype.getLastPoint=function(){return new a(this.x3,this.y3)},r=l,o.StiBezierMapGeom=r}(Stimulsoft=Stimulsoft||{}),function(t){var e,r,n,i,o,a,s;function l(){return null!==s&&s.apply(this,arguments)||this}r=e=t.Base||(t.Base={}),r=n=r.Maps||(r.Maps={}),o=i=r.Geoms||(r.Geoms={}),a=t.System.Drawing.Point,s=o.StiMapGeom,__extends(l,s),Object.defineProperty(l.prototype,"geomType",{get:function(){return o.StiMapGeomType.Beziers},enumerable:!1,configurable:!0}),l.prototype.getLastPoint=function(){return new a(this.array[this.array.length-2],this.array[this.array.length-1])},r=l,o.StiBeziersMapGeom=r}(Stimulsoft=Stimulsoft||{}),function(t){var e,t,r,n,i,o;function a(){return null!==o&&o.apply(this,arguments)||this}t=e=t.Base||(t.Base={}),t=r=t.Maps||(t.Maps={}),i=n=t.Geoms||(t.Geoms={}),o=i.StiMapGeom,__extends(a,o),Object.defineProperty(a.prototype,"geomType",{get:function(){return i.StiMapGeomType.Close},enumerable:!1,configurable:!0}),t=a,i.StiCloseMapGeom=t}(Stimulsoft=Stimulsoft||{}),function(t){var e,r,n,i,o,a,s;function l(){return null!==s&&s.apply(this,arguments)||this}r=e=t.Base||(t.Base={}),r=n=r.Maps||(r.Maps={}),o=i=r.Geoms||(r.Geoms={}),a=t.System.Drawing.Point,r=t.System.Collections.List,__extends(l,s=r),l.prototype.getLastPoint=function(){if(0==this.length)return new a;var t=this[this.length-1];if(t.geomType==o.StiMapGeomType.Close&&0<this.length)return(t=this[this.length-2]).getLastPoint();return new a},r=l,o.StiMapGeomCollection=r}(Stimulsoft=Stimulsoft||{}),function(x){var t,e,r;e=t=x.Report||(x.Report={}),function(p){var h=x.System.StiString,m=x.Base.Maps.Geoms.StiMapGeomCollection,B=x.System.Drawing.Point,d=x.System.Collections.Hashtable,g=x.Base.Maps.Geoms.StiMapGeomsContainer,f=x.Base.Maps.Geoms.StiMapGeomsObject,I=x.Base.Maps.Geoms.StiMoveToMapGeom,T=x.Base.Maps.Geoms.StiLineMapGeom,E=x.Base.Maps.Geoms.StiBezierMapGeom,R=x.Base.Maps.Geoms.StiBeziersMapGeom,D=x.Base.Maps.Geoms.StiCloseMapGeom,S=x.Base.StiGZipHelper,y=x.System.Drawing.Rectangle,A=x.Base.Drawing.StiTextHorAlignment,b=x.Base.Drawing.StiVertAlignment,C=x.System.Enum,v=x.Report.Maps.Helpers.StiCustomMapFinder,P,t;(t=P=P||{})[t["None"]=0]="None",t[t["MoveToM"]=1]="MoveToM",t[t["MoveTom"]=2]="MoveTom",t[t["Line_L"]=3]="Line_L",t[t["Line_l"]=4]="Line_l",t[t["Bezier_C"]=5]="Bezier_C",t[t["Bezier_c"]=6]="Bezier_c",t[t["Beziers_S"]=7]="Beziers_S",t[t["Beziers_s"]=8]="Beziers_s",t[t["VerticalLineto_V"]=9]="VerticalLineto_V",t[t["VerticalLineto_v"]=10]="VerticalLineto_v",t[t["HorizontalLineto_H"]=11]="HorizontalLineto_H",t[t["HorizontalLineto_h"]=12]="HorizontalLineto_h",t[t["Close"]=13]="Close";var t=(w.deleteAllCustomMaps=function(){var e,t,r,n;if(null!=w.hashMaps&&0<w.hashMaps.count){var i=[];try{for(var o=__values(w.hashMaps.keys),a=o.next();!a.done;a=o.next()){var s=a.value,l;w.hashMaps.get(s).isCustom&&i.push(s)}}catch(t){e={error:t}}finally{try{a&&!a.done&&(t=o.return)&&t.call(o)}finally{if(e)throw e.error}}try{for(var u=__values(i),c=u.next();!c.done;c=u.next()){var s=c.value;w.hashMaps.remove(s)}}catch(t){r={error:t}}finally{try{c&&!c.done&&(n=u.return)&&n.call(u)}finally{if(r)throw r.error}}}},w.loadResource=function(t,e){var r,n;null==w.hashMaps&&(w.hashMaps=new d);var i=h.format("Stimulsoft.Report.Infographics.Maps.Resources.{0}.json",e);if(!w.hashMaps.containsKey(i)){if(v.isCustom(e)){var t=v.getContainer(t,e);return t.prepare(),w.hashMaps.add(i,t),t}var o=new p.StiMapSvgContainer;if(null==x.Report.Maps["StiMapResources"+e])return x.System.StiError.showError("You cannot load a map. Please include js library 'stimulsoft.report.maps.js' !",!0),o;var e=S.unpack(x.Report.Maps["StiMapResources"+e][e]),a=JSON.parse(e);o.name=a.Name,o.width=a.Width,o.height=a.Height;try{for(var s=__values(a.Paths),l=s.next();!l.done;l=s.next()){var u=l.value,c=new p.StiMapSvg,u;c.data=u.Data,c.key=u.Key,c.englishName=u.EnglishName,c.iSOCode=u.ISOCode,null!=u.SetMaxWidth&&(c.setMaxWidth=u.SetMaxWidth),null!=u.SkipText&&(c.skipText=u.SkipText),null!=u.HorAlignment&&(c.horAlignment=C.parse(A,u.HorAlignment)),null!=u.VertAlignment&&(c.vertAlignment=C.parse(b,u.VertAlignment)),null==u.Rect||3<(u=u.Rect.toString().split(",")).length&&(c.rect=new y(parseInt(u[0]),parseInt(u[1]),parseInt(u[2]),parseInt(u[3]))),o.paths.push(c)}}catch(t){r={error:t}}finally{try{l&&!l.done&&(n=s.return)&&n.call(s)}finally{if(r)throw r.error}}return o.prepare(),w.hashMaps.add(i,o),o}return w.hashMaps.get(i)},w.getGeomsObject=function(t,e){var r,n,i=w.loadResource(t,e),o=new g;o.width=i.width,o.height=i.height,o.name=i.name;try{for(var a=__values(i.hashPaths.keys),s=a.next();!s.done;s=a.next()){var l=s.value,u=i.hashPaths.get(l).toString(),c=new f;c.name=l,c.geoms=w.parsePath(u),o.geoms.push(c)}}catch(t){r={error:t}}finally{try{s&&!s.done&&(n=a.return)&&n.call(a)}finally{if(r)throw r.error}}return o},w.createGeom=function(t,e,r,n,i,o){var a,s,l,u,c,c,p;switch(void 0===o&&(o=!1),t){case P.MoveToM:if(2!=e.length){if(o)return;throw new Error("NotSupportedException")}(c=new I).x=Math.round2(e[0],3),c.y=Math.round2(e[1],3),i.add(c);break;case P.MoveTom:if(2!=e.length){if(o)return;throw new Error("NotSupportedException")}var h=i.getLastPoint(),c;(c=new I).x=Math.round2(h.x+e[0],3),c.y=Math.round2(h.y+e[1],3),i.add(c);break;case P.Line_L:if(2!=e.length){if(o)return;throw new Error("NotSupportedException")}(c=new T).x=Math.round2(e[0],3),c.y=Math.round2(e[1],3),i.add(c);break;case P.Line_l:if(2!=e.length){if(o)return;throw new Error("NotSupportedException")}var h=i[i.length-1].getLastPoint(),c;(c=new T).x=Math.round2(h.x+e[0],3),c.y=Math.round2(h.y+e[1],3),i.add(c);break;case P.Bezier_C:if(e.length%6!=0){if(o)return;throw new Error("NotSupportedException")}for(var h=i[i.length-1].getLastPoint(),m=e.length/6,d=0,g=0,c;g<m;g++){(c=new E).x1=Math.round2(e[d],3),c.y1=Math.round2(e[d+1],3),c.x2=Math.round2(e[d+2],3),c.y2=Math.round2(e[d+3],3),c.x3=Math.round2(e[d+4],3),c.y3=Math.round2(e[d+5],3),i.add(c),h=new B(c.x3,c.y3),d+=6}break;case P.Bezier_c:if(6!=e.length){if(o)return;throw new Error("NotSupportedException")}var h=i[i.length-1].getLastPoint(),c;(c=new E).x1=Math.round2(h.x+e[0],3),c.y1=Math.round2(h.y+e[1],3),c.x2=Math.round2(h.x+e[2],3),c.y2=Math.round2(h.y+e[3],3),c.x3=Math.round2(h.x+e[4],3),c.y3=Math.round2(h.y+e[5],3),i.add(c);break;case P.VerticalLineto_V:if(1!=e.length){if(o)return;throw new Error("NotSupportedException")}var p=i[i.length-1].getLastPoint(),c;(c=new T).x=Math.round2(p.x,3),c.y=Math.round2(e[0],3),i.add(c);break;case P.VerticalLineto_v:if(1!=e.length){if(o)return;throw new Error("NotSupportedException")}var p=i[i.length-1].getLastPoint(),c;(c=new T).x=Math.round2(p.x,3),c.y=Math.round2(p.y+e[0],3),i.add(c);break;case P.HorizontalLineto_H:if(1!=e.length)throw new Error("");var p=i[i.length-1].getLastPoint(),c;(c=new T).x=Math.round2(e[0],3),c.y=Math.round2(p.y,3),i.add(c);break;case P.HorizontalLineto_h:if(1!=e.length){if(o)return;throw new Error("NotSupportedException")}var p=i[i.length-1].getLastPoint(),c;(c=new T).x=Math.round2(p.x+e[0],3),c.y=Math.round2(p.y,3),i.add(c);break;case P.Beziers_S:if(e.length<6){if(o)return;throw new Error("NotSupportedException")}var f=[],c;try{for(var S=__values(e),y=S.next();!y.done;y=S.next()){var A=y.value;f.push(Math.round2(A,3))}}catch(t){a={error:t}}finally{try{y&&!y.done&&(s=S.return)&&s.call(S)}finally{if(a)throw a.error}}(c=new R).array=f.stimulsoft.toArray(),i.add(c);break;case P.Beziers_s:if(e.length<6){if(o)return;throw new Error("NotSupportedException")}(p=i[i.length-1].getLastPoint()).x+=e[4],p.y+=e[5];var b=!0,f=[],c;try{for(var C=__values(e),v=C.next();!v.done;v=C.next()){var A=v.value,w=b?A+p.x:A+p.y;f.push(Math.round2(w,3)),b=!b}}catch(t){l={error:t}}finally{try{v&&!v.done&&(u=C.return)&&u.call(C)}finally{if(l)throw l.error}}(c=new R).array=f.stimulsoft.toArray(),i.add(c),f.stimulsoft.clear(),f=null;break;case P.Close:if(0!=e.length){if(o)return;throw new Error("NotSupportedException")}i.add(new D);break}e.stimulsoft.clear()},w.parsePath=function(t){try{var e=new m,r=0,n=0,i=P.None,o=0,a=[],s=0,l=0,u=t.length,c;while(l<u){switch(t[l]){case"M":a.push(t.substr(o,l-o).stimulsoft.toNumber()),i!=P.None&&(this.createGeom(i,a,r,l,e),n=0),i=P.MoveToM,o=r=l+1;break;case"m":a.push(t.substr(o,l-o).stimulsoft.toNumber()),i!=P.None&&(this.createGeom(i,a,r,l,e),n=0),i=P.MoveTom,o=r=l+1;break;case"C":a.push(t.substr(o,l-o).stimulsoft.toNumber()),i!=P.None&&this.createGeom(i,a,r,l,e),i=P.Bezier_C,o=r=l+1;break;case"c":a.push(t.substr(o,l-o).stimulsoft.toNumber()),i!=P.None&&this.createGeom(i,a,r,l,e),i=P.Bezier_c,o=r=l+1;break;case"S":a.push(t.substr(o,l-o).stimulsoft.toNumber()),i=P.Beziers_S,o=r=l+1;break;case"s":a.push(t.substr(o,l-o).stimulsoft.toNumber()),i=P.Beziers_s,o=r=l+1;break;case"L":a.push(t.substr(o,l-o).stimulsoft.toNumber()),i!=P.None&&this.createGeom(i,a,r,l,e),i=P.Line_L,o=r=l+1;break;case"l":a.push(t.substr(o,l-o).stimulsoft.toNumber()),i!=P.None&&this.createGeom(i,a,r,l,e),i=P.Line_l,o=r=l+1;break;case"Z":case"z":a.push(t.substr(o,l-o).stimulsoft.toNumber()),i!=P.None&&this.createGeom(i,a,r,l,e),i=P.Close,o=r=l+1;break;case"V":a.push(t.substr(o,l-o).stimulsoft.toNumber()),i!=P.None&&this.createGeom(i,a,r,l,e),i=P.VerticalLineto_V,o=r=l+1;break;case"v":a.push(t.substr(o,l-o).stimulsoft.toNumber()),i!=P.None&&this.createGeom(i,a,r,l,e),i=P.VerticalLineto_v,o=r=l+1;break;case"H":a.push(t.substr(o,l-o).stimulsoft.toNumber()),i!=P.None&&this.createGeom(i,a,r,l,e),i=P.HorizontalLineto_H,o=r=l+1;break;case"h":a.push(t.substr(o,l-o).stimulsoft.toNumber()),i!=P.None&&this.createGeom(i,a,r,l,e),i=P.HorizontalLineto_h,o=r=l+1;break;case"-":n++,a.push(t.substr(o,l-o).stimulsoft.toNumber()),o=l;break;case",":case" ":n++,a.push(t.substr(o,l-o).stimulsoft.toNumber()),o=l+1,2==a.length&&(i==P.MoveToM||i==P.MoveTom?(this.createGeom(i,a,r,l,e),n=0,i=P.None):i==P.None&&(this.createGeom(P.Line_l,a,r,l,e),n=0));break;case"Q":case"q":case"T":case"t":case"A":case"a":throw new Error("")}l++}return a.push(t.substr(o,l-o).stimulsoft.toNumber()),i!=P.None&&1<a.length&&this.createGeom(i,a,r,l,e),e}finally{}},w);function w(){}p.StiMapLoader=t}(r=e.Maps||(e.Maps={}))}(Stimulsoft=Stimulsoft||{}),function(t){var e,r,n,p,h,i,o,a,s;function l(){}r=e=t.Report||(t.Report={}),p=n=r.Helpers||(r.Helpers={}),h=t.System.StiString,i=t.System.Enum,o=t.Report.Maps.StiMapLoader,a=t.Report.Maps.StiMapID,s=t.System.Char,l.getSvgBlockFromIsoAlpha2=function(t,e,r){var n,i;if(void 0===e&&(e=null),void 0===r&&(r=null),h.isNullOrWhiteSpace(t))return null;var o=this.getResource(e,r);if(null==o)return null;var a=p.StiMapKeyHelper.simplify(t);try{for(var s=__values(o.hashPaths.values),l=s.next();!l.done;l=s.next()){var u=l.value;if(p.StiMapKeyHelper.simplify(u.iSOCode)==a)return u}}catch(t){n={error:t}}finally{try{l&&!l.done&&(i=s.return)&&i.call(s)}finally{if(n)throw n.error}}return null},l.getSvgBlockFromName=function(t,e,r){var n,i;if(void 0===e&&(e=null),void 0===r&&(r=null),h.isNullOrWhiteSpace(t))return null;var o=this.getResource(e,r);if(null==o)return null;var a=p.StiMapKeyHelper.simplify(t),s=p.StiMapKeyHelper.simplify(this.decodeAlpha(t));try{for(var l=__values(o.hashPaths.values),u=l.next();!u.done;u=l.next()){var c=u.value;if(p.StiMapKeyHelper.simplify(c.key)==a||p.StiMapKeyHelper.simplify(c.englishName)==a||p.StiMapKeyHelper.simplify(c.iSOCode)==a||p.StiMapKeyHelper.simplify(c.iSOCode)==s)return c}}catch(t){n={error:t}}finally{try{u&&!u.done&&(i=l.return)&&i.call(l)}finally{if(n)throw n.error}}return null},l.getIsoAlpha2FromName=function(t,e,r){void 0===e&&(e=null),void 0===r&&(r=null);var r=this.getSvgBlockFromName(t,e,r);return null!=r?r.iSOCode:null},l.getIsoAlpha3FromName=function(t,e,r){void 0===e&&(e=null),void 0===r&&(r=null);var r=this.getIsoAlpha2FromName(t,e,r);if(null==r)return null;var e=p.StiIsoElementHelper.getCountryFromAlpha2(r,e);return null!=e?e.alpha3:null},l.getResource=function(t,e){return void 0===e&&(e=null),t=h.isNullOrWhiteSpace(t)?i.getName(a,a.World):t.stimulsoft.replaceAll(" ",""),o.loadResource(e,t)},l.decodeAlpha=function(t){if(null==t)return t;if(!(5==t.length&&s.isLetter(t[0])&&s.isLetter(t[1])&&"-"==t[2]&&s.isLetter(t[3])&&s.isLetter(t[4])))return t;var t=t.split("-");if(t.length<2)return null;return t[1]},r=l,p.StiMapResourceHelper=r}(Stimulsoft=Stimulsoft||{}),function(t){var e,r,n,i,o,a,s;function l(){}r=e=t.Report||(t.Report={}),i=n=r.Helpers||(r.Helpers={}),o=t.System.Globalization.CultureInfo,a=t.System.Globalization.RegionInfo,s=t.System.Collections.List,l.getIsoAlpha2FromName=function(t){var t=this.getRegionInfoFromName(t);return null!=t?t.twoLetterISORegionName:null},l.getIsoAlpha3FromName=function(t){var t=this.getRegionInfoFromName(t);return null!=t?t.threeLetterISORegionName:null},l.getNameFromIsoAlpha2=function(t){var t=this.getRegionInfoFromName(t);return null!=t?t.name:null},l.getNameFromIsoAlpha3=function(t){var t=this.getRegionInfoFromName(t);return null!=t?t.name:null},l.getLocalizedNameFromIsoAlpha2=function(t){var t=this.getRegionInfoFromName(t);return null!=t?t.nativeName:null},l.getLocalizedNameFromIsoAlpha3=function(t){var t=this.getRegionInfoFromName(t);return null!=t?t.nativeName:null},l.getRegionInfoFromName=function(t){var e=i.StiMapKeyHelper.simplify(t);return this.getAllRegions().firstOrDefault(function(t){return i.StiMapKeyHelper.simplify(t.name)==e||i.StiMapKeyHelper.simplify(t.nativeName)==e||i.StiMapKeyHelper.simplify(t.threeLetterISORegionName)==e||i.StiMapKeyHelper.simplify(t.threeLetterWindowsRegionName)==e||i.StiMapKeyHelper.simplify(t.twoLetterISORegionName)==e})},l.getAllRegions=function(){var t=new s,e;for(e in o.cultures){var r=o.cultures[e];t.add(new a(r.name))}return t},r=l,i.StiRegionInfoHelper=r}(Stimulsoft=Stimulsoft||{}),function(c){var t,e,r,p,h,m,d,g,f;function n(){}e=t=c.Report||(c.Report={}),p=r=e.Helpers||(e.Helpers={}),h=c.Base.StiCsvHelper,m=c.System.StiString,d=c.System.Data.DataSet,g=c.Report.Dictionary.StiResourceType,f=c.System.Enum,n.get=function(t,e,r,n,i){void 0===r&&(r=null),void 0===n&&(n=null),void 0===i&&(i=!0);var n=p.StiHyperlinkProcessor.getResource(r,p.StiHyperlinkProcessor.getResourceNameFromHyperlink(n));if(null!=n&&null!=n.dataSet)return n.dataSet;var o=new d;switch(t){case g.Excel:if(null!=e)try{for(var a=new Uint8Array(e),s=[],l=0;l!=a.length;++l)s[l]=String.fromCharCode(a[l]);var u=s.join(""),u=c.ExternalLibrary.XLSX.read(u,{type:"binary",cellDates:!0}),o=(new c.Report.Dictionary.StiExcelDatabase).getDataSetPrivate(u)}catch(t){}break;case g.Csv:o.tables.add(h.getTable2(e));break;case g.Xml:if(null!=e)try{o.readXml(e)}catch(t){}break;case g.Json:if(null!=e)try{o.tryParseDateTime=i,o.readJson(e)}catch(t){}break;default:throw m.format("'{0}' resource type is not supported!",f.getName(g,t))}if(null!=n)return n.dataSet=o;return o},e=n,p.StiResourceArrayToDataSet=e}(Stimulsoft=Stimulsoft||{}),function(t){var e,r,n,i,o;function a(){}r=e=t.Report||(t.Report={}),i=n=r.Helpers||(r.Helpers={}),o=t.Report.Dictionary.StiResourceType,a.getTypeFromExtension=function(t){if(t=t.toLowerCase(),this.isImageType(t))return o.Image;switch(t){case".csv":return o.Csv;case".dbf":return o.Dbf;case".xls":case".xlsx":return o.Excel;case".json":return o.Json;case".xml":return o.Xml;case".xsd":return o.Xsd;case".ttf":return o.FontTtf;case".otf":return o.FontOtf;case".woff":return o.FontWoff;case".ttc":return o.FontTtc;case".eot":return o.FontEot;case".rtf":return o.Rtf;case".txt":return o.Txt;case".mrt":case".mrz":return o.Report;case".mdc":case".mdz":return o.ReportSnapshot;case".pdf":return o.Pdf;case".doc":case".docx":return o.Word;default:return null}},a.isImageType=function(t){return this.isExtensionType(i.StiFileDialogHelper.imageExts,t)},a.isTextType=function(t){return this.isExtensionType(i.StiFileDialogHelper.textExts,t)},a.isExtensionType=function(t,e){return e=(e=e.stimulsoft.startsWith(".")?e.substring(1):e).toLowerCase(),t.any(function(t){return t==e})},r=a,i.StiResourceTypeHelper=r}(Stimulsoft=Stimulsoft||{}),function(t){var e,r,n,i,o;r=e=t.Report||(t.Report={}),r=n=r.Components||(r.Components={}),(o=i=r.Gauge||(r.Gauge={})).IStiCustomValueBase=new t.System.Interface("IStiCustomValueBase")}(Stimulsoft=Stimulsoft||{}),function(t){var e,r,n,i,o;r=e=t.Report||(t.Report={}),r=n=r.Components||(r.Components={}),(o=i=r.Gauge||(r.Gauge={})).IStiGauge=new t.System.Interface("IStiGauge")}(Stimulsoft=Stimulsoft||{}),function(t){var e,r,n,i,o;r=e=t.Report||(t.Report={}),r=n=r.Components||(r.Components={}),(o=i=r.Gauge||(r.Gauge={})).IStiGaugeElement=new t.System.Interface("IStiGaugeElement")}(Stimulsoft=Stimulsoft||{}),function(t){var e,r,n,i;r=e=t.Report||(t.Report={}),(i=n=r.Gauge||(r.Gauge={})).IStiGaugeStyle=new t.System.Interface("IStiGaugeStyle")}(Stimulsoft=Stimulsoft||{}),function(t){var e,r,n,i;r=e=t.Report||(t.Report={}),(i=n=r.Gauge||(r.Gauge={})).IStiGaugeStyleCoreXF=new t.System.Interface("IStiGaugeStyleCoreXF")}(Stimulsoft=Stimulsoft||{}),function(t){var e,r,n,i,o;r=e=t.Report||(t.Report={}),r=n=r.Components||(r.Components={}),(o=i=r.Gauge||(r.Gauge={})).IStiIndicatorRangeInfo=new t.System.Interface("IStiIndicatorRangeInfo")}(Stimulsoft=Stimulsoft||{}),function(t){var e,r,n,i,o;r=e=t.Report||(t.Report={}),r=n=r.Components||(r.Components={}),(o=i=r.Gauge||(r.Gauge={})).IStiRangeBase=new t.System.Interface("IStiRangeBase")}(Stimulsoft=Stimulsoft||{}),function(t){var e,r,n,i,o;r=e=t.Report||(t.Report={}),r=n=r.Components||(r.Components={}),(o=i=r.Gauge||(r.Gauge={})).IStiScaleBase=new t.System.Interface("IStiScaleBase")}(Stimulsoft=Stimulsoft||{}),function(t){var e,r,n,t,i,o,a,s,l,u,c,p,h,m,d,g,f,S,y,A,b,C,v;r=e=t.Report||(t.Report={}),t=n=r.Gauge||(r.Gauge={}),(r=i=t.StiGaugeRangeMode||(t.StiGaugeRangeMode={}))[r["Percentage"]=1]="Percentage",r[r["Value"]=2]="Value",(r=o=t.StiScaleMode||(t.StiScaleMode={}))[r["V1"]=1]="V1",r[r["V2"]=2]="V2",(r=a=t.StiGaugeRangeType||(t.StiGaugeRangeType={}))[r["None"]=0]="None",r[r["Color"]=1]="Color",(r=s=t.StiGaugeCalculationMode||(t.StiGaugeCalculationMode={}))[r["Auto"]=1]="Auto",r[r["Custom"]=2]="Custom",(r=l=t.StiGaugeType||(t.StiGaugeType={}))[r["FullCircular"]=0]="FullCircular",r[r["HalfCircular"]=1]="HalfCircular",r[r["Linear"]=2]="Linear",r[r["HorizontalLinear"]=3]="HorizontalLinear",r[r["Bullet"]=4]="Bullet",(r=u=t.StiPlacement||(t.StiPlacement={}))[r["Outside"]=0]="Outside",r[r["Overlay"]=1]="Overlay",r[r["Inside"]=2]="Inside",(r=c=t.StiGaugeElemenType||(t.StiGaugeElemenType={}))[r["LinearElement"]=0]="LinearElement",r[r["RadialElement"]=1]="RadialElement",r[r["All"]=2]="All",(r=p=t.StiBarRangeListType||(t.StiBarRangeListType={}))[r["LinearBar"]=0]="LinearBar",r[r["RadialBar"]=1]="RadialBar",(r=h=t.StiLinearRangeColorMode||(t.StiLinearRangeColorMode={}))[r["Default"]=0]="Default",r[r["MixedColor"]=1]="MixedColor",(r=m=t.StiRadialScaleSkin||(t.StiRadialScaleSkin={}))[r["Default"]=0]="Default",r[r["Empty"]=1]="Empty",r[r["RadialScaleQuarterCircleNW"]=2]="RadialScaleQuarterCircleNW",r[r["RadialScaleQuarterCircleNE"]=3]="RadialScaleQuarterCircleNE",r[r["RadialScaleQuarterCircleSW"]=4]="RadialScaleQuarterCircleSW",r[r["RadialScaleQuarterCircleSE"]=5]="RadialScaleQuarterCircleSE",r[r["RadialScaleHalfCircleN"]=6]="RadialScaleHalfCircleN",r[r["RadialScaleHalfCircleS"]=7]="RadialScaleHalfCircleS",(r=d=t.StiMarkerSkin||(t.StiMarkerSkin={}))[r["Diamond"]=0]="Diamond",r[r["Rectangle"]=1]="Rectangle",r[r["TriangleTop"]=2]="TriangleTop",r[r["TriangleBottom"]=3]="TriangleBottom",r[r["PentagonTop"]=4]="PentagonTop",r[r["PentagonBottom"]=5]="PentagonBottom",r[r["Ellipse"]=6]="Ellipse",r[r["RectangularCalloutTop"]=7]="RectangularCalloutTop",r[r["RectangularCalloutBottom"]=8]="RectangularCalloutBottom",r[r["TriangleLeft"]=9]="TriangleLeft",r[r["TriangleRight"]=10]="TriangleRight",r[r["PentagonLeft"]=11]="PentagonLeft",r[r["PentagonRight"]=12]="PentagonRight",r[r["RectangularCalloutLeft"]=13]="RectangularCalloutLeft",(r=g=t.StiStateSkin||(t.StiStateSkin={}))[r["Ellipse"]=0]="Ellipse",r[r["Rectangle"]=1]="Rectangle",r[r["Diamond"]=2]="Diamond",(r=f=t.StiLinearBarSkin||(t.StiLinearBarSkin={}))[r["Default"]=0]="Default",r[r["HorizontalThermometer"]=1]="HorizontalThermometer",r[r["VerticalThermometer"]=2]="VerticalThermometer",(r=S=t.StiNeedleSkin||(t.StiNeedleSkin={}))[r["DefaultNeedle"]=0]="DefaultNeedle",r[r["SpeedometerNeedle"]=1]="SpeedometerNeedle",r[r["SpeedometerNeedle2"]=2]="SpeedometerNeedle2",r[r["SimpleNeedle"]=3]="SimpleNeedle",(r=y=t.StiTickMarkSkin||(t.StiTickMarkSkin={}))[r["Rectangle"]=0]="Rectangle",r[r["Ellipse"]=1]="Ellipse",r[r["Diamond"]=2]="Diamond",r[r["TriangleTop"]=3]="TriangleTop",r[r["TriangleRight"]=4]="TriangleRight",r[r["TriangleLeft"]=5]="TriangleLeft",r[r["TriangleBottom"]=6]="TriangleBottom",(r=A=t.StiRadiusMode||(t.StiRadiusMode={}))[r["Auto"]=0]="Auto",r[r["Width"]=1]="Width",r[r["Height"]=2]="Height",(r=b=t.StiRadialPosition||(t.StiRadialPosition={}))[r["TopLeft"]=0]="TopLeft",r[r["TopRight"]=1]="TopRight",r[r["BottonLeft"]=2]="BottonLeft",r[r["BottomRight"]=3]="BottomRight",r[r["TopCenter"]=4]="TopCenter",r[r["LeftCenter"]=5]="LeftCenter",r[r["BottomCenter"]=6]="BottomCenter",r[r["RightCenter"]=7]="RightCenter",(r=C=t.StiLabelRotationMode||(t.StiLabelRotationMode={}))[r["None"]=0]="None",r[r["Automatic"]=1]="Automatic",r[r["SurroundIn"]=2]="SurroundIn",r[r["SurroundOut"]=3]="SurroundOut",(t=v=t.StiGaugeStyleId||(t.StiGaugeStyleId={}))[t["StiStyle25"]=0]="StiStyle25",t[t["StiStyle26"]=1]="StiStyle26",t[t["StiStyle27"]=2]="StiStyle27",t[t["StiStyle28"]=3]="StiStyle28",t[t["StiStyle29"]=4]="StiStyle29",t[t["StiStyle30"]=5]="StiStyle30"}(Stimulsoft=Stimulsoft||{}),function(t){var e,r,n,i,o;function a(){this.paths=[]}r=e=t.Report||(t.Report={}),i=n=r.Maps||(r.Maps={}),o=t.System.Collections.Hashtable,a.prototype.prepare=function(){var e,t;if(null==this.paths)return;this.hashPaths=new o;try{for(var r=__values(this.paths),n=r.next();!n.done;n=r.next()){var i=n.value;this.hashPaths.add(i.key,i)}}catch(t){e={error:t}}finally{try{n&&!n.done&&(t=r.return)&&t.call(r)}finally{if(e)throw e.error}}this.paths.stimulsoft.clear(),this.paths=null},r=a,i.StiMapSvgContainer=r}(Stimulsoft=Stimulsoft||{}),function(t){var e,r,n,i,o,a,s;function l(){return null!==s&&s.apply(this,arguments)||this}r=e=t.Report||(t.Report={}),i=n=r.Maps||(r.Maps={}),o=t.Base.Localization.StiLocalization,a=t.System.Drawing.ColorTranslator,s=i.StiMapStyleFX,__extends(l,s),Object.defineProperty(l.prototype,"styleId",{get:function(){return i.StiMapStyleIdent.Style21},enumerable:!1,configurable:!0}),Object.defineProperty(l.prototype,"localizeName",{get:function(){return o.get("Chart","Style")+"21"},enumerable:!1,configurable:!0}),Object.defineProperty(l.prototype,"individualColor",{get:function(){return a.fromHtml("#239fd9")},set:function(t){},enumerable:!1,configurable:!0}),Object.defineProperty(l.prototype,"colors",{get:function(){return[a.fromHtml("#239fd9"),a.fromHtml("#b2b2b2"),a.fromHtml("#55d1ff"),a.fromHtml("#e4e4e4"),a.fromHtml("#55d1ff"),a.fromHtml("#e4e4e4")]},set:function(t){},enumerable:!1,configurable:!0}),Object.defineProperty(l.prototype,"heatmapColors",{get:function(){return[a.fromHtml("#239fd9"),a.fromHtml("#b2b2b2")]},set:function(t){},enumerable:!1,configurable:!0}),Object.defineProperty(l.prototype,"defaultColor",{get:function(){return a.fromHtml("#ffffff")},set:function(t){},enumerable:!1,configurable:!0}),Object.defineProperty(l.prototype,"backColor",{get:function(){return a.fromHtml("#666666")},set:function(t){},enumerable:!1,configurable:!0}),r=l,i.StiMap21StyleFX=r}(Stimulsoft=Stimulsoft||{}),function(t){var e,r,n,i,s,l,o,a;function u(){return null!==a&&a.apply(this,arguments)||this}r=e=t.Report||(t.Report={}),i=n=r.Painters||(r.Painters={}),s=t.Report.Components.StiPrimitive,l=t.Report.Components.StiBand,o=t.Base.Drawing.StiDrawing,a=i.StiComponentPainter,__extends(u,a),u.prototype.paintComponents=function(t,e){var r,n;try{for(var i=__values(t.components.list),o=i.next();!o.done;o=i.next()){var a=o.value;if(a.is(s))continue;if(a.is(l))continue;a.paint(e)}}catch(t){r={error:t}}finally{try{o&&!o.done&&(n=i.return)&&n.call(i)}finally{if(r)throw r.error}}},u.prototype.paint=function(t,e){var r=t,t=t.getPaintRectangle();0<t.width&&0<t.height&&(o.fillRectangle(e,r.brush,t),a.prototype.paintBorder.call(this,r,e,t,r.page.zoom,!0,!0)),this.paintComponents(r,e)},r=u,i.StiContainerPainter=r}(Stimulsoft=Stimulsoft||{}),function(i){var t,e,r,n,o,a,s;function l(){return null!==s&&s.apply(this,arguments)||this}e=t=i.Report||(i.Report={}),n=r=e.Painters||(e.Painters={}),o=i.System.StiString,a=i.System.Drawing.Image,s=n.StiComponentPainter,__extends(l,s),l.prototype.getImage=function(t,e,r){var n=t.stimulsoft.as(i.Report.Components.StiView),t=null;return null!=n.imageToDraw?(t=new a).base64=n.imageToDraw.base64:n.is(i.Report.Components.StiImage)&&!o.isNullOrEmpty(n.imageURLValue)&&(t=new a),null!=t&&(t.horAlignment=n.horAlignment,t.vertAlignment=n.vertAlignment,t.aspectRatio=n.aspectRatio,t.multipleFactor=n.multipleFactor,t.stretch=n.stretch,t.zoom=e.ref,n.is(i.Report.Components.StiImage)&&(t.imageRotation=n.imageRotation,t.margins=n.margins,t.url=n.imageURLValue)),t},e=l,n.StiViewPainter=e}(Stimulsoft=Stimulsoft||{}),function(o){var t,e,r,n,a,s;function i(){return null!==s&&s.apply(this,arguments)||this}e=t=o.Report||(o.Report={}),n=r=e.Painters||(e.Painters={}),a=o.Report.Components.StiImageRotation,s=n.StiViewPainter,__extends(i,s),i.prototype.getImage=function(t,e,r){var n=t.stimulsoft.as(o.Report.Components.StiImage),i=null;null!=n.imageToDraw&&(n.imageRotation,a.None);try{return s.prototype.getImage.call(this,t,e,r)}finally{null!=n.imageToDraw&&n.imageRotation!=a.None&&(n.imageToDraw=i)}},e=i,n.StiImagePainter=e}(Stimulsoft=Stimulsoft||{}),function(t){var e,r,n,i,p,h,m,d,g,f;function o(){return null!==f&&f.apply(this,arguments)||this}r=e=t.Report||(t.Report={}),i=n=r.Painters||(r.Painters={}),p=t.Base.Drawing.StiSolidBrush,h=t.System.Drawing.Color,m=t.System.Drawing.Brushes,d=t.Base.Drawing.StiDrawing,g=t.System.Drawing.Rectangle,f=i.StiContainerPainter,__extends(o,f),o.prototype.implements=function(){return[i.IStiPagePainter]},o.prototype.paint=function(t,e){var r=t;if(null==r.report)return;var n=r.unit,i=r.zoom,o=n.convertToHInches(r.margins.left),a=n.convertToHInches(r.margins.top),s=n.convertToHInches(r.margins.right),l=n.convertToHInches(r.margins.bottom),u=n.convertToHInches(r.displayRectangle.width),c=n.convertToHInches(r.displayRectangle.height),t=n.convertToHInches(r.width),n=n.convertToHInches(r.height);r.brush.is(p)&&r.brush.color.equals(h.transparent)?d.fillRectangle(e,m.white,0,0,u*r.zoom,c*r.zoom):d.fillRectangle(e,r.brush,0,0,u*r.zoom,c*r.zoom),e.translateTransform(Math.trunc(o*r.zoom),Math.trunc(a*r.zoom)),f.prototype.paintComponents.call(this,r,e),this.paintBorder(r,e,new g(0,0,t*i,n*i),r.zoom,!0,!0)},r=o,i.StiPagePainter=r}(Stimulsoft=Stimulsoft||{}),function(O){var t,_,e,r,i,j,o,a,G,H,Q,L,Y,U,J,W,V,n;function s(){}_=t=O.Report||(O.Report={}),r=e=_.Painters||(_.Painters={}),i=O.Base.Drawing.StiSolidBrush,j=O.System.StiString,o=O.Base.Drawing.StiDrawing,a=O.System.Drawing.Color,G=O.System.Drawing.StringFormat,H=O.Base.Drawing.StiFontUtils,Q=O.System.Drawing.StringAlignment,L=O.System.Drawing.Size,Y=O.System.Collections.List,U=O.System.Char,J=O.System.Drawing.Rectangle,W=O.Base.Drawing.StiBrush,V=O.Base.Drawing.StiTextHorAlignment,s.prototype.paintText=function(t,e,r){var n=t.stimulsoft.as(O.Report.Components.StiTextInCells);if(!t.isDesigning||t.report.isPageDesigner)return;var i=n.border.size/2*n.page.zoom,o=n.getTextForPaint(),a=n.page.unit,s=a.convertToHInches(n.horSpacing*n.page.zoom),l=a.convertToHInches(n.vertSpacing*n.page.zoom),u=a.convertToHInches(n.cellWidth*n.page.zoom),c=a.convertToHInches(n.cellHeight*n.page.zoom);0==n.cellWidth&&(u=1.5*n.font.getHeight()*n.page.zoom*_.StiDpiHelper.deviceCapsScale),0==n.cellHeight&&(c=1.5*n.font.getHeight()*n.page.zoom*_.StiDpiHelper.deviceCapsScale);var t=n.font.size*n.page.zoom*_.StiDpiHelper.deviceCapsScale,a=new G,p=H.changeFontSize(n.font,t);if(a.lineAlignment=Q.Center,a.alignment=Q.Center,n.continuousText){var h=r.x+i,m=r.y+i,d=!0,g=0,f;while(1==1){if((f=new J(h,m,u,c)).right+s<r.right||d){var S=W.getBrush(n.brush,f),y;e.fillRectangle(S,f.x,f.y,f.width,f.height),null!=o&&g<o.length&&(y=W.getBrush(n.textBrush,f),e.drawString(o[g],p,y,f.x,f.y)),this.paintBorder(n,e,f,n.page.zoom,!0,!0),h+=u+s,g++,d=!1}else if(m+=c+l,h=r.x+i,d=!0,!n.wordWrap||r.bottom<m+c+l)break}}else{var A=new L(1,1),h=r.x+i+u;while(h+s+u<r.right)h+=s+u,A.width++;var m=r.y+i+c;while(m+l+c<r.bottom)m+=l+c,A.height++;n.wordWrap||(A.height=1);var b=new Y,C="";null==o&&(o="");for(var v=0;v<o.length;v++){var w=o[v];U.isControl(w)?"\n"==w&&(b.add(O.Report.Components.StiTextInCellsHelper.trimEndWhiteSpace(C)),C=""):C+=w}if(""!=C&&b.add(O.Report.Components.StiTextInCellsHelper.trimEndWhiteSpace(C)),0==b.length&&b.add(C),n.wordWrap)for(var B=0;B<b.length;B++){var I=b[B];if(I.length>A.width){var T=[],E=0,R=0;while(R<I.length&&U.isWhitespace(I[R]))T[R]=E,R++;for(var D=R;D<I.length;D++)U.isWhitespace(I[D])&&E++,T[D]=E;var g,P=(g=A.width)-1;if(0<T[g])if(T[g]!=T[P])while(U.isWhitespace(I[g]))g++;else{while(!U.isWhitespace(I[g]))g--;P=g++;while(U.isWhitespace(I[P]))P--}b.setByIndex(B,I.substring(0,P+1)),b.insert(B+1,I.substring(g,I.length-g))}}m=r.y+i;for(var x=0;x<A.height;x++){var F=x<b.length?b[x]:"",N=0;n.horAlignment==V.Center&&(N=(A.width-F.length)/2),n.horAlignment==V.Right&&(N=A.width-F.length),0<N&&(F=j.repeat(" ",N)+F),h=r.x+i;for(var k=0;k<A.width;k++){var f=new J(h,m,u,c),S=W.getBrush(n.brush,f);e.fillRectangle(S,f.x,f.y,f.width,f.height);var M=n.rightToLeft?A.width-k-1:k,y;M<F.length&&(y=W.getBrush(n.textBrush,f),e.drawString(F[M],p,y,f.x,f.y)),this.paintBorder(n,e,f,n.page.zoom,!0,!0),h+=u+s}m+=c+l}}},s.prototype.paintBackground=function(t,e,r){var n;if(t.isDesigning&&(n=new i(a.fromArgb(150,a.white)),o.fillRectangle(e,n,r.left,r.top,r.width,r.height)),!t.isDesigning||t.report.isPageDesigner)return},s.prototype.paintBorder=function(t,e,r,n,i,o){if(!t.isDesigning||t.report.isPageDesigner)return},n=s,r.StiTextinCellsPainter=n}(Stimulsoft=Stimulsoft||{}),function(t){var e,r,n,i,o,a,s;function l(){return null!==s&&s.apply(this,arguments)||this}r=e=t.Report||(t.Report={}),i=n=r.Painters||(r.Painters={}),o=t.System.StiString,a=t.Base.Drawing.StiDrawing,s=i.StiComponentPainter,__extends(l,s),l.prototype.paintText=function(t,e,r){var n=t.getTextForPaint(),i;o.isNullOrEmpty(n)||(i=t.font.size*t.page.zoom,e.drawString(n,t.font,null,r.x,r.y))},l.prototype.paintBackground=function(t,e,r){a.fillRectangle(e,t.brush,r)},l.prototype.paintBorder=function(t,e,r,n,i,o){var a;s.prototype.paintBorder.call(this,t,e,r,t.page.zoom,i,o)},l.prototype.paint=function(t,e){var r=t,t=t.getPaintRectangle();this.paintBackground(r,e,t),this.paintText(r,e,t);var t=t.clone();this.paintBorder(r,e,t,r.page.zoom,!0,!0)},r=l,i.StiTextPainter=r}(Stimulsoft=Stimulsoft||{}),function(t){var e,r,n,i,o,t,a;function s(t,e,r){var r=a.call(this,e,r)||this;return r.pointFrom=t,r}r=e=t.Base||(t.Base={}),i=n=r.Context||(r.Context={}),t=o=i.Animation||(i.Animation={}),a=t.StiAnimation,__extends(s,a),Object.defineProperty(s.prototype,"type",{get:function(){return r.StiAnimationType.Points},enumerable:!1,configurable:!0}),i=s,t.StiPointAnimation=i}(Stimulsoft=Stimulsoft||{}),function(t){var e,r,n,t,i,o,a;r=e=t.Base||(t.Base={}),t=n=r.Context||(r.Context={}),(r=i=t.StiGeomType||(t.StiGeomType={}))[r["None"]=0]="None",r[r["Border"]=1]="Border",r[r["CachedShadow"]=2]="CachedShadow",r[r["Curve"]=3]="Curve",r[r["Ellipse"]=4]="Ellipse",r[r["Font"]=5]="Font",r[r["Line"]=6]="Line",r[r["Lines"]=7]="Lines",r[r["Path"]=8]="Path",r[r["Pen"]=9]="Pen",r[r["PopSmothingMode"]=10]="PopSmothingMode",r[r["PopTextRenderingHint"]=11]="PopTextRenderingHint",r[r["PopTransform"]=12]="PopTransform",r[r["PopClip"]=13]="PopClip",r[r["PushClip"]=14]="PushClip",r[r["PushRotateTransform"]=15]="PushRotateTransform",r[r["PushSmothingMode"]=16]="PushSmothingMode",r[r["PushSmothingModeToAntiAlias"]=17]="PushSmothingModeToAntiAlias",r[r["PushTextRenderingHint"]=18]="PushTextRenderingHint",r[r["PushTextRenderingHintToAntiAlias"]=19]="PushTextRenderingHintToAntiAlias",r[r["PushTranslateTransform"]=20]="PushTranslateTransform",r[r["Segment"]=21]="Segment",r[r["Shadow"]=22]="Shadow",r[r["Text"]=23]="Text",r[r["StringFormat"]=24]="StringFormat",r[r["AnimationBar"]=25]="AnimationBar",r[r["AnimationBorder"]=26]="AnimationBorder",r[r["AnimationColumn"]=27]="AnimationColumn",r[r["AnimationEllipse"]=28]="AnimationEllipse",r[r["AnimationPath"]=29]="AnimationPath",r[r["AnimationPathElement"]=30]="AnimationPathElement",r[r["AnimationLines"]=31]="AnimationLines",r[r["AnimationCurve"]=32]="AnimationCurve",r[r["AnimationLabel"]=33]="AnimationLabel",r[r["AnimationShadow"]=34]="AnimationShadow",r[r["Image"]=35]="Image",r[r["PushClipPath"]=36]="PushClipPath",(r=o=t.StiPenAlignment||(t.StiPenAlignment={}))[r["Center"]=0]="Center",r[r["Inset"]=1]="Inset",r[r["Outset"]=2]="Outset",r[r["Left"]=3]="Left",r[r["Right"]=4]="Right",(t=a=t.StiPenLineCap||(t.StiPenLineCap={}))[t["Flat"]=0]="Flat",t[t["Square"]=1]="Square",t[t["Round"]=2]="Round",t[t["Triangle"]=3]="Triangle",t[t["NoAnchor"]=4]="NoAnchor",t[t["SquareAnchor"]=5]="SquareAnchor",t[t["RoundAnchor"]=6]="RoundAnchor",t[t["DiamondAnchor"]=7]="DiamondAnchor",t[t["ArrowAnchor"]=8]="ArrowAnchor"}(Stimulsoft=Stimulsoft||{}),function(n){var t,e,r,i,o,a;function s(t,e){void 0===e&&(e=1);var r=a.call(this)||this;return r.thickness=1,r.penStyle=n.Base.Drawing.StiPenStyle.Solid,r.alignment=i.StiPenAlignment.Center,r.startCap=i.StiPenLineCap.Flat,r.endCap=i.StiPenLineCap.Flat,r.brush=t,r.thickness=e,r}e=t=n.Base||(n.Base={}),i=r=e.Context||(e.Context={}),o=n.System.Enum,a=i.StiGeom,__extends(s,a),s.prototype.saveToJsonObject=function(t){var e=a.prototype.saveToJsonObject.call(this,t);return null!=this.brush&&e.addPropertyString("Brush",this.saveBrushToJsonObject(this.brush,t)),e.addPropertyNumberNoDefaultValue("Thickness",this.thickness),e.addPropertyString("PenStyle",o.getName(n.Base.Drawing.StiPenStyle,this.penStyle)),e.addPropertyString("Alignment",o.getName(i.StiPenAlignment,this.alignment)),e.addPropertyString("StartCap",o.getName(i.StiPenLineCap,this.startCap)),e.addPropertyString("EndCap",o.getName(i.StiPenLineCap,this.endCap)),e},Object.defineProperty(s.prototype,"type",{get:function(){return i.StiGeomType.Pen},enumerable:!1,configurable:!0}),e=s,i.StiPenGeom=e}(Stimulsoft=Stimulsoft||{}),function(t){var e,t,r,n,i;function o(){return null!==i&&i.apply(this,arguments)||this}t=e=t.Base||(t.Base={}),n=r=t.Context||(t.Context={}),i=n.StiGeom,__extends(o,i),Object.defineProperty(o.prototype,"type",{get:function(){return n.StiGeomType.PopSmothingMode},enumerable:!1,configurable:!0}),t=o,n.StiPopSmothingModeGeom=t}(Stimulsoft=Stimulsoft||{}),function(t){var e,t,r,n,i;function o(){return null!==i&&i.apply(this,arguments)||this}t=e=t.Base||(t.Base={}),n=r=t.Context||(t.Context={}),i=n.StiGeom,__extends(o,i),Object.defineProperty(o.prototype,"type",{get:function(){return n.StiGeomType.PopTextRenderingHint},enumerable:!1,configurable:!0}),t=o,n.StiPopTextRenderingHintGeom=t}(Stimulsoft=Stimulsoft||{}),function(t){var e,t,r,n,i;function o(){return null!==i&&i.apply(this,arguments)||this}t=e=t.Base||(t.Base={}),n=r=t.Context||(t.Context={}),i=n.StiGeom,__extends(o,i),Object.defineProperty(o.prototype,"type",{get:function(){return n.StiGeomType.PushSmothingModeToAntiAlias},enumerable:!1,configurable:!0}),t=o,n.StiPushSmothingModeToAntiAliasGeom=t}(Stimulsoft=Stimulsoft||{}),function(t){var e,t,r,n,i;function o(){return null!==i&&i.apply(this,arguments)||this}t=e=t.Base||(t.Base={}),n=r=t.Context||(t.Context={}),i=n.StiGeom,__extends(o,i),Object.defineProperty(o.prototype,"type",{get:function(){return n.StiGeomType.PushTextRenderingHintToAntiAlias},enumerable:!1,configurable:!0}),t=o,n.StiPushTextRenderingHintToAntiAliasGeom=t}(Stimulsoft=Stimulsoft||{}),function(t){var e,r,n,i,o,a,s,l,u,c;function p(t){var e=c.call(this)||this;return e.isGeneric=!1,e.alignment=s.Near,e.formatFlags=0,e.hotkeyPrefix=a.None,e.lineAlignment=s.Near,e.trimming=l.None,e.alignment=t.alignment,e.formatFlags=t.formatFlags,e.hotkeyPrefix=t.hotkeyPrefix,e.lineAlignment=t.lineAlignment,e.trimming=t.trimming,e}r=e=t.Base||(t.Base={}),i=n=r.Context||(r.Context={}),o=t.System.Enum,a=t.System.Drawing.Text.HotkeyPrefix,s=t.System.Drawing.StringAlignment,l=t.System.Drawing.StringTrimming,u=t.System.Drawing.StringFormatFlags,c=i.StiGeom,__extends(p,c),p.prototype.saveToJsonObject=function(t){var t=c.prototype.saveToJsonObject.call(this,t);return t.addPropertyBool("IsGeneric",this.isGeneric),t.addPropertyString("Alignment",o.getName(s,this.alignment)),t.addPropertyString("FormatFlags",o.getName(u,this.formatFlags)),t.addPropertyString("HotkeyPrefix",o.getName(a,this.hotkeyPrefix)),t.addPropertyString("LineAlignment",o.getName(s,this.lineAlignment)),t.addPropertyString("Trimming",o.getName(l,this.trimming)),t},Object.defineProperty(p.prototype,"type",{get:function(){return i.StiGeomType.StringFormat},enumerable:!1,configurable:!0}),r=p,i.StiStringFormatGeom=r}(Stimulsoft=Stimulsoft||{}),function(t){var e,r,n,t;function i(t,e,r,n){this._isWpf=!1,this._isGdi=!1,this._zoom=1,this._isGdi=t,this._isWpf=e,this._zoom=n}r=e=t.Base||(t.Base={}),t=n=r.Context||(r.Context={}),Object.defineProperty(i.prototype,"isPrinting",{get:function(){return!1},enumerable:!1,configurable:!0}),Object.defineProperty(i.prototype,"isWpf",{get:function(){return this._isWpf},enumerable:!1,configurable:!0}),Object.defineProperty(i.prototype,"isGdi",{get:function(){return this._isGdi},enumerable:!1,configurable:!0}),Object.defineProperty(i.prototype,"zoom",{get:function(){return this._zoom},enumerable:!1,configurable:!0}),r=i,t.StiContextOptions=r}(Stimulsoft=Stimulsoft||{}),function(t){var e,r,n,i,o,t,a;function s(){return null!==a&&a.apply(this,arguments)||this}r=e=t.Report||(t.Report={}),i=n=r.Gauge||(r.Gauge={}),t=o=i.GaugeGeoms||(i.GaugeGeoms={}),a=t.StiGaugeGeom,__extends(s,a),Object.defineProperty(s.prototype,"type",{get:function(){return i.StiGaugeGeomType.GraphicsPathCloseFigure},enumerable:!1,configurable:!0}),r=s,t.StiGraphicsPathCloseFigureGaugeGeom=r}(Stimulsoft=Stimulsoft||{}),function(t){var e,t,r,n,i,a,s;function o(t,e,r,n,i){var o=s.call(this)||this;return o._geoms=[],o.rect=t,o.startPoint=e,o.background=r,o.borderBrush=n,o.borderWidth=i,o.startPoint=e,o}t=e=t.Report||(t.Report={}),n=r=t.Gauge||(t.Gauge={}),a=i=n.GaugeGeoms||(n.GaugeGeoms={}),s=a.StiGaugeGeom,__extends(o,s),Object.defineProperty(o.prototype,"type",{get:function(){return n.StiGaugeGeomType.GraphicsPath},enumerable:!1,configurable:!0}),Object.defineProperty(o.prototype,"geoms",{get:function(){return this._geoms},enumerable:!1,configurable:!0}),o.prototype.addGraphicsPathArcGaugeGeom=function(t,e,r,n,i,o){0<r&&0<n&&this.geoms.push(new a.StiGraphicsPathArcGaugeGeom(t,e,r,n,i,o))},o.prototype.addGraphicsPathCloseFigureGaugeGeom=function(){this.geoms.push(new a.StiGraphicsPathCloseFigureGaugeGeom)},o.prototype.addGraphicsPathLinesGaugeGeom=function(t){this.geoms.push(new a.StiGraphicsPathLinesGaugeGeom(t))},o.prototype.addGraphicsPathLineGaugeGeom=function(t,e){this.geoms.push(new a.StiGraphicsPathLineGaugeGeom(t,e))},t=o,a.StiGraphicsPathGaugeGeom=t}(Stimulsoft=Stimulsoft||{}),function(t){var e,r,n,i,o,t,a;function s(t,e){var r=a.call(this)||this;return r.p1=t,r.p2=e,r}r=e=t.Report||(t.Report={}),i=n=r.Gauge||(r.Gauge={}),t=o=i.GaugeGeoms||(i.GaugeGeoms={}),a=t.StiGaugeGeom,__extends(s,a),Object.defineProperty(s.prototype,"type",{get:function(){return i.StiGaugeGeomType.GraphicsPathLine},enumerable:!1,configurable:!0}),r=s,t.StiGraphicsPathLineGaugeGeom=r}(Stimulsoft=Stimulsoft||{}),function(t){var e,r,n,i,o,t,a;function s(t){var e=a.call(this)||this;return e.points=t,e}r=e=t.Report||(t.Report={}),i=n=r.Gauge||(r.Gauge={}),t=o=i.GaugeGeoms||(i.GaugeGeoms={}),a=t.StiGaugeGeom,__extends(s,a),Object.defineProperty(s.prototype,"type",{get:function(){return i.StiGaugeGeomType.GraphicsPathLines},enumerable:!1,configurable:!0}),r=s,t.StiGraphicsPathLinesGaugeGeom=r}(Stimulsoft=Stimulsoft||{}),function(t){var e,r,n,i;r=e=t.Report||(t.Report={}),(i=n=r.Gauge||(r.Gauge={})).IStiGaugeMarker=new t.System.Interface("IStiGaugeMarker")}(Stimulsoft=Stimulsoft||{}),function(t){var e,t,r,n,i;function o(){}t=e=t.Base||(t.Base={}),(n=r=t.Context||(t.Context={})).StiInteractionDataGeom=o}(Stimulsoft=Stimulsoft||{}),function(t){var e,t,r,n,i;t=e=t.Base||(t.Base={}),t=r=t.Maps||(t.Maps={}),t=n=t.Geoms||(t.Geoms={}),(t=i=t.StiMapGeomType||(t.StiMapGeomType={}))[t["MoveTo"]=0]="MoveTo",t[t["Line"]=1]="Line",t[t["Bezier"]=2]="Bezier",t[t["Beziers"]=3]="Beziers",t[t["Close"]=4]="Close"}(Stimulsoft=Stimulsoft||{}),function(t){var e,r,n,i;r=e=t.Report||(t.Report={}),(i=n=r.Painters||(r.Painters={})).IStiBarCodePainter=new t.System.Interface("IStiBarCodePainter")}(Stimulsoft=Stimulsoft||{}),function(t){var e,r,n,i;r=e=t.Report||(t.Report={}),(i=n=r.Painters||(r.Painters={})).IStiPagePainter=new t.System.Interface("IStiPagePainter")}(Stimulsoft=Stimulsoft||{}),function(f){var t,e,r,n,S,y,i,l,u,o,A,b,C,v,w,B,I,T,a,c,s,p,h,m,d;function g(){this.minValue=0,this.maxValue=0}function E(){this.stackColors=[],this.index=0}function R(t,e,r){var n,i;this.painter=t;var o=!0;try{for(var a=__values(r),s=a.next();!s.done;s=a.next()){var l=s.value;if(null==l||null==l.value)continue;var u=0;if(isNaN(parseFloat(l.value)))continue;u=parseFloat(l.value),o?(o=!1,this.min=u,this.max=u):u<this.min?this.min=u:u>this.max&&(this.max=u)}}catch(t){n={error:t}}finally{try{s&&!s.done&&(i=a.return)&&i.call(a)}finally{if(n)throw n.error}}this.colors=T.getMapStyle(e.mapStyle).heatmapColors}function D(t,e,r){var n,i;this.hash={},this.hashColors={},this.painter=t;var o=T.getMapStyle2(e).heatmapColors,a=0;try{for(var s=__values(r),l=s.next();!l.done;l=s.next()){var u=l.value,c=u.group;if(null==c||null==u)continue;var p=0,h,h,p;if(null==u.value||isNaN(parseFloat(u.value)))continue;p=parseFloat(u.value),this.hash[c]?p<(h=this.hash[c])[0]?h[0]=p:p>h[1]&&(h[1]=p):(h=[p,p],this.hash[c]=h),this.hashColors[c]||(p=o[a],++a>=o.length&&(a=0),this.hashColors[c]=p)}}catch(t){n={error:t}}finally{try{l&&!l.done&&(i=s.return)&&i.call(s)}finally{if(n)throw n.error}}}function P(){this.index=0,this.colors=f.Report.Maps.StiMapHelper.getColors()}function x(t){this.individualStep=0,this.hashGroup={},this.colorsContainer=new p,this.map=t}e=t=f.Report||(f.Report={}),n=r=e.Painters||(e.Painters={}),S=f.System.StiString,y=f.Report.Maps.Helpers.StiGssMapHelper,i=f.System.Drawing.ColorTranslator,l=f.System.Drawing.SolidBrush,u=f.System.Drawing.Color,o=f.Base.Drawing.StiSolidBrush,A=f.Report.Dictionary.StiDataColumn,b=f.Base.Meters.IStiValueMapMeter,C=f.Base.Meters.IStiNameMapMeter,v=f.Base.Meters.IStiKeyMapMeter,w=f.Base.Meters.IStiColorMapMeter,B=f.Base.Meters.IStiGroupMapMeter,I=f.Report.Maps.StiMapSource,T=f.Report.Maps.StiMap,a=f.Base.Drawing.StiColorUtils,c=f.System.StiObject,s=g,E.prototype.getColor=function(t,e){if(0==this.stackColors.length)return this.painter.defaultBrush;var t=this.getColors(e)[t];return new l(t)},E.prototype.getColor1=function(t,e){if(0==this.stackColors.length)return this.painter.defaultBrush1;var t=this.getColors(e)[t];return new o(t)},E.prototype.getColors=function(t){for(var e=new Array(t),r=0,n=0,i=0,o,a,s,l,o;i<t;i++){0==this.stackColors.length||this.stackColors.length<r?e[i]=u.fromArgb(255,112,173,71):0!=n?(o=this.stackColors[r],a=Math.min(o.a+n,255),s=Math.min(o.r+n,255),l=Math.min(o.g+n,255),o=Math.min(o.b+n,255),e[i]=u.fromArgb(a,s,l,o)):e[i]=this.stackColors[r],++r==this.stackColors.length&&(r=0,n=50)}return e},E.prototype.init=function(t,e){var r,n;this.painter=e,this.stackColors.stimulsoft.clear();var i=t.getCurrentStyleColors();this.index=0;try{for(var o=__values(i),a=o.next();!a.done;a=o.next()){var s=a.value;this.stackColors.push(s)}}catch(t){r={error:t}}finally{try{a&&!a.done&&(n=o.return)&&n.call(o)}finally{if(r)throw r.error}}},p=E,R.prototype.getBrush=function(t){if(null==this.colors||0==this.colors.length)return this.painter.defaultBrush;if(this.min==this.max)return new l(this.colors[0]);var e=0;if(isNaN(parseFloat(t.value)))return this.painter.defaultBrush;return e=parseFloat(t.value),new l(a.changeLightness(this.colors[0],.85*(this.max-e)/(this.max-this.min)))},R.prototype.getBrush1=function(t){if(null==this.colors||0==this.colors.length)return this.painter.defaultBrush1;if(this.min==this.max)return new o(this.colors[0]);var e=0;if(isNaN(parseFloat(t.value)))return this.painter.defaultBrush1;return e=parseFloat(t.value),new o(a.changeLightness(this.colors[0],.85*(this.max-e)/(this.max-this.min)))},h=R,D.prototype.getBrush=function(t){if(null==t.group)return null;if(!this.hash[t.group])return this.painter.defaultBrush;var e=this.hash[t.group],r=this.hashColors[t.group];if(e[0]==e[1])return new l(r);var n=0;if(null==t.value||isNaN(parseFloat(t.value)))return this.painter.defaultBrush;return n=parseFloat(t.value),new l(a.changeLightness(r,.85*(e[1]-n)/(e[1]-e[0])))},D.prototype.getBrush1=function(t){if(null==t.group)return null;if(!this.hash[t.group])return this.painter.defaultBrush1;var e=this.hash[t.group],r=this.hashColors[t.group];if(e[0]==e[1])return new o(r);var n=0;if(null==t.value||isNaN(parseFloat(t.value)))return this.painter.defaultBrush1;return n=parseFloat(t.value),new o(a.changeLightness(r,.85*(e[1]-n)/(e[1]-e[0])))},m=D,P.prototype.getBrush=function(){var t=this.colors[this.index];return this.index++,this.index>=this.colors.length&&(this.index=0),new o(t)},d=P,Object.defineProperty(x.prototype,"mapData",{get:function(){return this._mapData},set:function(t){this._mapData=t},enumerable:!1,configurable:!0}),Object.defineProperty(x.prototype,"mapStyle",{get:function(){return this._mapStyle},set:function(t){this._mapStyle=t},enumerable:!1,configurable:!0}),Object.defineProperty(x.prototype,"dataTable",{get:function(){return this._dataTable},set:function(t){this._dataTable=t},enumerable:!1,configurable:!0}),x.prototype.getValues=function(t){if(null==this._dataTable||null==t)return null;var t=this.dataTable.meters.indexOf(t);if(-1==t)return null;return this.dataTable.rows.getArrayItem(t).toList()},x.prototype.prepareDataColumns=function(){var e,t;if(this.map.dataFrom==I.Manual)return void(this.mapData=this.map.getMapData());this.mapData=T.getDefaultMapData(this.map.report,this.map.mapIdent);var o=null,a=null,s=null,l=null,u=null;if(null!=this.dataTable&&null!=this.dataTable.meters)o=this.getValues(this.dataTable.meters.firstOrDefault(function(t){return t.is(v)})),a=this.getValues(this.dataTable.meters.firstOrDefault(function(t){return t.is(C)})),s=this.getValues(this.dataTable.meters.firstOrDefault(function(t){return t.is(b)})),l=this.getValues(this.dataTable.meters.firstOrDefault(function(t){return t.is(B)})),u=this.getValues(this.dataTable.meters.firstOrDefault(function(t){return t.is(w)}));else try{this.map.report.dictionary.connect(),o=S.isNullOrEmpty(this.map.keyDataColumn)?null:A.getDataListFromDataColumn(this.map.report.dictionary,this.map.keyDataColumn).stimulsoft.toList(),a=S.isNullOrEmpty(this.map.nameDataColumn)?null:A.getDataListFromDataColumn(this.map.report.dictionary,this.map.nameDataColumn).stimulsoft.toList(),s=S.isNullOrEmpty(this.map.valueDataColumn)?null:A.getDataListFromDataColumn(this.map.report.dictionary,this.map.valueDataColumn).stimulsoft.toList(),l=S.isNullOrEmpty(this.map.groupDataColumn)?null:A.getDataListFromDataColumn(this.map.report.dictionary,this.map.groupDataColumn).stimulsoft.toList(),u=S.isNullOrEmpty(this.map.colorDataColumn)?null:A.getDataListFromDataColumn(this.map.report.dictionary,this.map.colorDataColumn).stimulsoft.toList(),this.map.report.dictionary.disconnect()}catch(t){}var c=y.allowGss(this.map.mapIdent);if(null!=o&&(o=(new f.Report.Helpers.StiMapKeyHelper).getMapKeysFromNames(o,this.map.mapIdent,this.map.report).cast()),null==o)return;try{var r=0;if(null!=o&&(0==r||o.length<r)&&(r=o.length),null!=a&&(0==r||a.length<r)&&(r=a.length),null!=s&&(0==r||s.length<r)&&(r=s.length),null!=l&&(0==r||l.length<r)&&(r=l.length),null!=u&&(0==r||u.length<r)&&(r=u.length),null!=o){try{for(var n=__values(this.mapData),i=n.next();!i.done;i=n.next()){var p=i.value;p.group=null,(p.value=null)!=u&&(p.color=null)}}catch(t){e={error:t}}finally{try{i&&!i.done&&(t=n.return)&&t.call(n)}finally{if(e)throw e.error}}for(var h=c?y.get(this.map.mapIdent):null,m=function(t){var e=null,r,e;if(o.length<=t||null==o[t])return"continue";if(e=o[t].toString(),S.isNullOrEmpty(e))return"continue";e=e.toLowerCase(),c&&y.isGssValue(e)&&(r={ref:""},e=h.tryGetValue(e,r)?r.ref.toLowerCase():"");var n=d.mapData.firstOrDefault(function(t){return t.key.toLowerCase()==e}),r,i,i,t;if(null==n)return"continue";null!=a&&null!=a[t]&&(r=a[t].toString(),n.name=r),null!=s&&null!=s[t]&&(i=s[t].toString(),n.value=i),null!=l&&null!=l[t]&&(i=l[t].toString(),n.group=i),null!=u&&null!=u[t]&&(t=u[t].toString(),n.color=t)},d=this,g=0;g<r;g++)m(g)}}catch(t){}},x.prototype.getGeomBrush=function(t){if(this.map.mapType==f.Report.Maps.StiMapType.Individual){if(this.map.colorEach){if(null==t)return new l(this.mapStyle.defaultColor);var e=this.parseHexColor(t.color);if(null!=e)return e;return new l(this.noneInfo.getBrush().color)}return new l(a.changeLightness(this.mapStyle.individualColor,this.individualStep))}switch(this.map.mapType){case f.Report.Maps.StiMapType.Heatmap:return null==t||null==t.value?this.defaultBrush:this.heatmapInfo.getBrush(t);case f.Report.Maps.StiMapType.Group:return null!=t&&null!=t.group&&this.hashGroup[t.group]?this.hashGroup[t.group].fill:new l(this.mapStyle.defaultColor);case f.Report.Maps.StiMapType.HeatmapWithGroup:return null==t.group||null==t.group?new l(this.mapStyle.defaultColor):this.heatmapWithGroupInfo.getBrush(t)}return new l(this.mapStyle.backColor)},x.prototype.updateHeatmapWithGroup=function(){this.heatmapInfo=new h(this,this.map,this.mapData),this.noneInfo=new d,this.map.mapType==f.Report.Maps.StiMapType.HeatmapWithGroup&&(this.heatmapWithGroupInfo=new m(this,this.map,this.mapData))},x.prototype.updateGroupedData=function(){var e,t;if(null==this.mapData)return;try{for(var r=__values(this.mapData),n=r.next();!n.done;n=r.next()){var i=n.value;if(S.isNullOrEmpty(i.group))continue;var o=0;null==i.value||isNaN(parseFloat(i.value))||(o=parseFloat(i.value));var a=null;this.hashGroup[i.group]?(a=this.hashGroup[i.group],null!=o&&(null!=a.minValue&&null!=a.maxValue||(a.minValue=0,a.maxValue=0),a.minValue>o?a.minValue=o:a.maxValue<o&&(a.maxValue=o))):((a=new s).minValue=o,a.maxValue=o,this.hashGroup[i.group]=a)}}catch(t){e={error:t}}finally{try{n&&!n.done&&(t=r.return)&&t.call(r)}finally{if(e)throw e.error}}this.fillGroupColors()},x.prototype.fillGroupColors=function(){var e,t;this.colorsContainer.init(this.map,this);var r=0,n=[],i;for(i in this.hashGroup)n.push(i);n.sort();try{for(var o=__values(n),a=o.next();!a.done;a=o.next()){var i=a.value,s=this.hashGroup[i];s.fill1=this.colorsContainer.getColor1(r,c.keys(this.hashGroup).length),s.fill=new l(s.fill1.color),r++}}catch(t){e={error:t}}finally{try{a&&!a.done&&(t=o.return)&&t.call(o)}finally{if(e)throw e.error}}},x.prototype.parseHexColor=function(t){try{if(!S.isNullOrEmpty(t))return t.stimulsoft.startsWith("#")?new l(i.fromHtml(t)):new l(u.fromName(t))}catch(t){}return null},e=x,n.StiGdiMapContextPainter=e}(Stimulsoft=Stimulsoft||{}),function(t){var e,r,n,t;function i(){}r=e=t.Report||(t.Report={}),t=n=r.Resources||(r.Resources={}),i.getBase64Content=function(){
return"AAEAAAALAIAAAwAwT1MvMo1Djb4AAAE4AAAAYGNtYXDQMmWWAAANnAAAA9BnYXNw//8AAwACsEwAAAAIZ2x5ZuwguB8AAB10AAJs2GhlYWQMyHt3AAAAvAAAADZoaGVhDvkK7gAAAPQAAAAkaG10eDqCLpEAAAGYAAAMBGxvY2EDg0B0AAARbAAADAhtYXhwA2oCHAAAARgAAAAgbmFtZZ5nQlMAAopMAAAD0nBvc3Q+JtuEAAKOIAAAIioAAQAAAAQByzeB/adfDzz1AAsHAAAAAADLTzwwAAAAANlg9IP/7f7pCQkGEgAAAAgAAgABAAAAAAABAAAGAP8AAAAJAP/t/+wJCQABAAAAAAAAAAAAAAAAAAADAQABAAADAQIZACcAAAAAAAIAAAABAAEAAABAAAAAAAAAAAMGaAGQAAUAAASMBDMAAACGBIwEMwAAAnMAAAGKAAAAAAAAAAAAAAAAAAAAAxAAAEgAAAAAAAAAAHB5cnMAQAAA9QAGAP8AAAAGAAEAAAAAA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CAAAkkQAAJKAAACSvAAAkvgAAJNcAACTxAAAlAAAAJQ8AACU7AAAlXwAAJYgAACXWAAAmFQAAJkYAACaQAAAmrQAAJuUAACcnAAAnVAAAJ5UAACe9AAAn5gAAKBAAAChTAAAoigAAKKgAACjNAAAo6QAAKRgAAClWAAAqIwAAKsEAACsGAAArOgAAK2MAACt5AAArnwAAK8UAACvrAAAsEQAALDcAACxdAAAscgAALIcAACycAAAssQAALNUAACz8AAAtGwAALT8AAC1YAAAthgAALbQAAC3sAAAt+wAALh0AAC5cAAAufQAALrIAAC6yAAAusgAALukAAC8gAAAvTwAAL4AAAC/xAAAwMAAAMIIAADCiAAAw1gAAMQcAADEuAAAxQwAAMW0AADGkAAAyCwAAMjcAADJYAAAycgAAMqkAADLfAAAy9wAAMzwAADNkAAAznQAAM7kAADPrAAA0IgAANEoAADRhAAA0gQAANKEAADTCAAA04gAANPoAADUNAAA1SgAANWYAADWXAAA1uQAANdoAADYRAAA2LAAANlcAADZwAAA2lAAANq0AADbFAAA25AAANw8AADcxAAA3WgAAN3sAADegAAA3xQAAN+oAADguAAA4WgAAOJsAADjHAAA4+AAAOR8AADlxAAA5rwAAOcUAADn6AAA6OAAAOnUAADq1AAA69QAAOzQAADtzAAA7tgAAO/gAADyAAAA8/AAAPR8AAD1MAAA9gwAAPaYAAD3FAAA+FQAAPi8AAD5IAAA+mgAAPu4AAD8JAAA/LQAAP0IAAD9XAAA/bAAAP4EAAD+tAAA/wQAAQAQAAEFsAABBvAAAQf0AAEIzAABCWAAAQoMAAEKlAABCxQAAQwAAAEMoAABDSgAAQ38AAEPhAABESgAARGcAAESyAABEzQAARPgAAEUjAABFSQAARWgAAEWVAABFvgAARe8AAEYgAABGXQAARp4AAEbUAABHNAAAR08AAEd0AABHowAAR8AAAEfeAABIKAAASG8AAEidAABIwQAASNoAAEkAAABJMgAASdkAAEo5AABKkgAASxQAAEuSAABMXAAATHwAAEy3AABMywAATOsAAE0pAABNXAAATZQAAE3IAABOAgAATlE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A8AEwAXABsAABcRIREpAREhExEzEQUhESETETMRAREhEQUzESMeAUgD2AFI/rg32v06AUj+uDbb/TkBSP7v29vvAv39AwbV+WEGaPmYNgWN+qkFIPrgBA/7uwRFN/woAAYAF/8TBoYF8AADAAcACwAPABMAFwAAFxEhETMRIREpAREhExEzEQUhESETETMRFwFJbgFKAiUBSf63N9v9NgFK/rY33O0DAfz/BEr7tgbd+VoGb/mRNwWU+qMFJvraAAUAF/8TBoYF8AADAAcACwAPABMAABcRIREzESERAREhEQEhESETETMRFwFJbgFKAbf+tgG4AUn+tzfb7QMB/P8ESvu2BZT6bAWU+mwG3flaBm/5kQAAAAAEAA//CwaGBfAAAwAHAAsADwAAFxEhETMRIREBESERAREhEQ8BS24BSwG6/rUDBP619QME/PwET/uxBZr6ZgWaAUv5GwblAAABACP+8gcjBfIAAwAAEwkCIwOAA4D8gAJy/IADgAOAAAQAOv8HByMF8AADAAcACwAPAAATESERMxEhEQERIREzESEROgM9bwM9+RcDPW8DPQKzAz38wwM9/MP8VAM9/MMDPfzDAAAAAAUAQf8OByMF8AADAAcACwAPABMAAAEhESETESERBREhESERIREDESERA+kDOvzGNwLM/I/8xgbi/MZu/MYCtgM6/P0CzP00pfzGAzr8xgM6A6j8xgM6AAAGAED/DQcjBfAAAwAHAAsADwATABcAABMhESETESERFyERIRMRIREFESERIREhEUADOvzGNwLMpgM6/MY3Asz8jvzGBuP8xgK2Azr8/QLM/TQ3Azr8/QLM/TSm/MYDOvzGAzoABwA//wwHIwXwAAMABwALAA8AEwAXABsAABMhESETESEREyERIRMRIREBIREhExEhEQURIRE/Azv8xTcCzaUDO/zFNwLN/PwDO/zFNwLN/I78xQK1Azv8/ALN/TP8IAM7/PwCzf0zA3IDO/z8As39M6X8xQM7AAAACABG/xMHIwXwAAMABwALAA8AEwAXABsAHwAAEyERIRMRIRETIREhExEhEQUhESETESEREyERIRMRIRFGAzj8yDcCyqQDOPzINwLK+VoDOPzINwLKpAM4/Mg3AsoCuAM4/P8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){}t=e=t.Report||(t.Report={}),t=r=t.Styles||(t.Styles={}),t=n=t.Conditions||(t.Conditions={}),(o=i=t.Elements||(t.Elements={})).StiStyleConditionElement=s}(Stimulsoft=Stimulsoft||{}),function(t){var e,r,n,i,o,t,a,s;function l(t,e){void 0===e&&(e=i.StiStyleConditionOperation.EqualTo);var r=s.call(this)||this;return r._operationComponentName=i.StiStyleConditionOperation.EqualTo,r._componentName="",r._componentName=t,r._operationComponentName=e,r}r=e=t.Report||(t.Report={}),i=n=r.Styles||(r.Styles={}),t=o=i.Conditions||(i.Conditions={}),r=a=t.Elements||(t.Elements={}),s=r.StiStyleConditionElement,__extends(l,s),Object.defineProperty(l.prototype,"operationComponentName",{get:function(){return this._operationComponentName},set:function(t){this._operationComponentName=t},enumerable:!1,configurable:!0}),Object.defineProperty(l.prototype,"componentName",{get:function(){return this._componentName},set:function(t){this._componentName=t},enumerable:!1,configurable:!0}),t=l,r.StiStyleConditionComponentNameElement=t}(Stimulsoft=Stimulsoft||{}),function(t){var e,r,n,i,o,t,a,s;function l(t,e){void 0===e&&(e=i.StiStyleConditionOperation.EqualTo);var r=s.call(this)||this;return r._componentType=i.StiStyleComponentType.Text,r._operationComponentType=i.StiStyleConditionOperation.EqualTo,r._componentType=t,r._operationComponentType=e,r}r=e=t.Report||(t.Report={}),i=n=r.Styles||(r.Styles={}),t=o=i.Conditions||(i.Conditions={}),r=a=t.Elements||(t.Elements={}),s=r.StiStyleConditionElement,__extends(l,s),Object.defineProperty(l.prototype,"componentType",{get:function(){return this._componentType},set:function(t){this._componentType=t},enumerable:!1,configurable:!0}),Object.defineProperty(l.prototype,"operationComponentType",{get:function(){return this._operationComponentType},set:function(t){this._operationComponentType=t},enumerable:!1,configurable:!0}),t=l,r.StiStyleConditionComponentTypeElement=t}(Stimulsoft=Stimulsoft||{}),function(t){var e,r,n,i,o,t,a,s;function l(t,e){void 0===e&&(e=i.StiStyleConditionOperation.EqualTo);var r=s.call(this)||this;return r._operationLocation=i.StiStyleConditionOperation.EqualTo,r._location=i.StiStyleLocation.None,r._location=t,r._operationLocation=e,r}r=e=t.Report||(t.Report={}),i=n=r.Styles||(r.Styles={}),t=o=i.Conditions||(i.Conditions={}),r=a=t.Elements||(t.Elements={}),s=r.StiStyleConditionElement,__extends(l,s),Object.defineProperty(l.prototype,"operationLocation",{get:function(){return this._operationLocation},set:function(t){this._operationLocation=t},enumerable:!1,configurable:!0}),Object.defineProperty(l.prototype,"location",{get:function(){return this._location},set:function(t){this._location=t},enumerable:!1,configurable:!0}),t=l,r.StiStyleConditionLocationElement=t}(Stimulsoft=Stimulsoft||{}),function(t){var e,r,n,i,o,t,a,s;function l(t,e){void 0===e&&(e=i.StiStyleConditionOperation.EqualTo);var r=s.call(this)||this;return r._placement=i.StiStyleComponentPlacement.None,r._operationPlacement=i.StiStyleConditionOperation.EqualTo,r._placement=t,r._operationPlacement=e,r}r=e=t.Report||(t.Report={}),i=n=r.Styles||(r.Styles={}),t=o=i.Conditions||(i.Conditions={}),r=a=t.Elements||(t.Elements={}),s=r.StiStyleConditionElement,__extends(l,s),Object.defineProperty(l.prototype,"placement",{get:function(){return this._placement},set:function(t){this._placement=t},enumerable:!1,configurable:!0}),Object.defineProperty(l.prototype,"operationPlacement",{get:function(){return this._operationPlacement},set:function(t){this._operationPlacement=t},enumerable:!1,configurable:!0}),t=l,r.StiStyleConditionPlacementElement=t}(Stimulsoft=Stimulsoft||{}),function(t){var e,r,n,i,o,t,a,s;function l(t,e){void 0===e&&(e=i.StiStyleConditionOperation.EqualTo);var r=s.call(this)||this;return r._placementNestedLevel=1,r._operationPlacementNestedLevel=i.StiStyleConditionOperation.EqualTo,r._placementNestedLevel=t,r._operationPlacementNestedLevel=e,r}r=e=t.Report||(t.Report={}),i=n=r.Styles||(r.Styles={}),t=o=i.Conditions||(i.Conditions={}),r=a=t.Elements||(t.Elements={}),s=r.StiStyleConditionElement,__extends(l,s),Object.defineProperty(l.prototype,"placementNestedLevel",{get:function(){return this._placementNestedLevel},set:function(t){this._placementNestedLevel=t},enumerable:!1,configurable:!0}),Object.defineProperty(l.prototype,"operationPlacementNestedLevel",{get:function(){return this._operationPlacementNestedLevel},set:function(t){this._operationPlacementNestedLevel=t},enumerable:!1,configurable:!0}),t=l,r.StiStyleConditionPlacementNestedLevelElement=t}(Stimulsoft=Stimulsoft||{}),function(s){var t,e,r,p,n,i,a,o,l,u,c,h;function m(t,e,r,n,i,o,a,s,l,u,c){this._type=p.StiStyleConditionType.Placement,this._operationPlacement=p.StiStyleConditionOperation.EqualTo,this._operationPlacementNestedLevel=p.StiStyleConditionOperation.EqualTo,this._operationComponentType=p.StiStyleConditionOperation.EqualTo,this._operationLocation=p.StiStyleConditionOperation.EqualTo,this._operationComponentName=p.StiStyleConditionOperation.EqualTo,this._placement=p.StiStyleComponentPlacement.None,this._placementNestedLevel=1,this._componentType=p.StiStyleComponentType.Text,this._location=p.StiStyleLocation.None,this._componentName="",null==t||(t instanceof Array?this.fromElements(t):(this._type=t,this._operationPlacement=e,this._operationPlacementNestedLevel=r,this._operationComponentType=n,this._operationLocation=i,this._operationComponentName=o,this._placement=a,this._placementNestedLevel=s,this._componentType=l,this._location=u,this._componentName=c))}e=t=s.Report||(s.Report={}),p=r=e.Styles||(e.Styles={}),i=n=p.Conditions||(p.Conditions={}),a=s.System.Enum,o=s.System.ICloneable,l=s.Report.Styles.Conditions.Elements.StiStyleConditionComponentNameElement,u=s.Report.Styles.Conditions.Elements.StiStyleConditionComponentTypeElement,c=s.Base.JsonReportObject.IStiJsonReportObject,h=s.Base.StiJson,m.prototype.implements=function(){return[o,c]},m.prototype.saveToJsonObject=function(t){var e=new h;return e.addPropertyIdent("Ident",this.stimulsoft.getType().stimulsoft.getTypeName()),e.addPropertyEnum("Type",p.StiStyleConditionType,this.type,p.StiStyleConditionType.Placement),e.addPropertyEnum("OperationPlacement",p.StiStyleConditionOperation,this.operationPlacement,p.StiStyleConditionOperation.EqualTo),e.addPropertyEnum("OperationPlacementNestedLevel",p.StiStyleConditionOperation,this.operationPlacementNestedLevel,p.StiStyleConditionOperation.EqualTo),e.addPropertyEnum("OperationComponentType",p.StiStyleConditionOperation,this.operationComponentType,p.StiStyleConditionOperation.EqualTo),e.addPropertyEnum("OperationLocation",p.StiStyleConditionOperation,this.operationLocation,p.StiStyleConditionOperation.EqualTo),e.addPropertyEnum("OperationComponentName",p.StiStyleConditionOperation,this.operationComponentName,p.StiStyleConditionOperation.EqualTo),e.addPropertyEnum("Placement",p.StiStyleComponentPlacement,this.placement,p.StiStyleComponentPlacement.None),e.addPropertyNumber("PlacementNestedLevel",this.placementNestedLevel,1),e.addPropertyEnum("ComponentType",p.StiStyleComponentType,this.componentType,p.StiStyleComponentType.Text),e.addPropertyEnum("Location",p.StiStyleLocation,this.location,p.StiStyleLocation.None),e.addPropertyStringNullOrEmpty("ComponentName",this.componentName),e},m.prototype.loadFromJsonObject=function(t){var e,r;try{for(var n=__values(t.properties()),i=n.next();!i.done;i=n.next()){var o=i.value;switch(o.name){case"Type":this._type=a.parse(p.StiStyleConditionType,o.value);break;case"OperationPlacement":this._operationPlacement=a.parse(p.StiStyleConditionOperation,o.value);break;case"OperationPlacementNestedLevel":this._operationPlacementNestedLevel=a.parse(p.StiStyleConditionOperation,o.value);break;case"OperationComponentType":this._operationComponentType=a.parse(p.StiStyleConditionOperation,o.value);break;case"OperationLocation":this._operationLocation=a.parse(p.StiStyleConditionOperation,o.value);break;case"OperationComponentName":this._operationComponentName=a.parse(p.StiStyleConditionOperation,o.value);break;case"Placement":this._placement=a.parse(p.StiStyleComponentPlacement,o.value);break;case"PlacementNestedLevel":this._placementNestedLevel=o.value.stimulsoft.toNumber();break;case"ComponentType":this._componentType=a.parse(p.StiStyleComponentType,o.value);break;case"Location":this._location=a.parse(p.StiStyleLocation,o.value);break;case"ComponentName":this._componentName=o.value;break}}}catch(t){e={error:t}}finally{try{i&&!i.done&&(r=n.return)&&r.call(n)}finally{if(e)throw e.error}}},m.prototype.loadFromXml=function(t){for(var e=0;e<t.childNodes.length;e++){var r=t.childNodes[e];switch(r.nodeName){case"Type":this._type=a.parse(p.StiStyleConditionType,r.textContent);break;case"OperationPlacement":this._operationPlacement=a.parse(p.StiStyleConditionOperation,r.textContent);break;case"OperationPlacementNestedLevel":this._operationPlacementNestedLevel=a.parse(p.StiStyleConditionOperation,r.textContent);break;case"OperationComponentType":this._operationComponentType=a.parse(p.StiStyleConditionOperation,r.textContent);break;case"OperationLocation":this._operationLocation=a.parse(p.StiStyleConditionOperation,r.textContent);break;case"OperationComponentName":this._operationComponentName=a.parse(p.StiStyleConditionOperation,r.textContent);break;case"Placement":this._placement=a.parse(p.StiStyleComponentPlacement,r.textContent);break;case"PlacementNestedLevel":this._placementNestedLevel=r.textContent.stimulsoft.toNumber();break;case"ComponentType":this._componentType=a.parse(p.StiStyleComponentType,r.textContent);break;case"Location":this._location=a.parse(p.StiStyleLocation,r.textContent);break;case"ComponentName":this._componentName=r.textContent;break}}},m.prototype.clone=function(){return this.stimulsoft.memberwiseClone()},Object.defineProperty(m.prototype,"type",{get:function(){return this._type},set:function(t){this._type=t},enumerable:!1,configurable:!0}),Object.defineProperty(m.prototype,"operationPlacement",{get:function(){return this._operationPlacement},set:function(t){this._operationPlacement=t},enumerable:!1,configurable:!0}),Object.defineProperty(m.prototype,"operationPlacementNestedLevel",{get:function(){return this._operationPlacementNestedLevel},set:function(t){this._operationPlacementNestedLevel=t},enumerable:!1,configurable:!0}),Object.defineProperty(m.prototype,"operationComponentType",{get:function(){return this._operationComponentType},set:function(t){this._operationComponentType=t},enumerable:!1,configurable:!0}),Object.defineProperty(m.prototype,"operationLocation",{get:function(){return this._operationLocation},set:function(t){this._operationLocation=t},enumerable:!1,configurable:!0}),Object.defineProperty(m.prototype,"operationComponentName",{get:function(){return this._operationComponentName},set:function(t){this._operationComponentName=t},enumerable:!1,configurable:!0}),Object.defineProperty(m.prototype,"placement",{get:function(){return this._placement},set:function(t){this._placement=t},enumerable:!1,configurable:!0}),Object.defineProperty(m.prototype,"placementNestedLevel",{get:function(){return this._placementNestedLevel},set:function(t){this._placementNestedLevel=t},enumerable:!1,configurable:!0}),Object.defineProperty(m.prototype,"componentType",{get:function(){return this._componentType},set:function(t){this._componentType=t},enumerable:!1,configurable:!0}),Object.defineProperty(m.prototype,"location",{get:function(){return this._location},set:function(t){this._location=t},enumerable:!1,configurable:!0}),Object.defineProperty(m.prototype,"componentName",{get:function(){return this._componentName},set:function(t){this._componentName=t},enumerable:!1,configurable:!0}),m.prototype.fromElements=function(t){var e,r;this.type=0;try{for(var n=__values(t),i=n.next();!i.done;i=n.next()){var o=i.value,a=o.stimulsoft.as(l);null!=a&&(this.type|=p.StiStyleConditionType.ComponentName,this.componentName=a.componentName,this.operationComponentName=a.operationComponentName);var a=o.stimulsoft.as(u);null!=a&&(this.type|=p.StiStyleConditionType.ComponentType,this.componentType=a.componentType,this.operationComponentType=a.operationComponentType);var a=o.stimulsoft.as(s.Report.Styles.Conditions.Elements.StiStyleConditionPlacementElement);null!=a&&(this.type|=p.StiStyleConditionType.Placement,this.placement=a.placement,this.operationPlacement=a.operationPlacement);var a=o.stimulsoft.as(s.Report.Styles.Conditions.Elements.StiStyleConditionPlacementNestedLevelElement);null!=a&&(this.type|=p.StiStyleConditionType.PlacementNestedLevel,this.placementNestedLevel=a.placementNestedLevel,this.operationPlacementNestedLevel=a.operationPlacementNestedLevel);var o=o.stimulsoft.as(s.Report.Styles.Conditions.Elements.StiStyleConditionLocationElement);null!=o&&(this.type|=p.StiStyleConditionType.Location,this.location=o.location,this.operationLocation=o.operationLocation)}}catch(t){e={error:t}}finally{try{i&&!i.done&&(r=n.return)&&r.call(n)}finally{if(e)throw e.error}}},e=m,i.StiStyleCondition=e}(Stimulsoft=Stimulsoft||{}),function(t){var e,r,n,t,i,o,a,s,l;r=e=t.Report||(t.Report={}),t=n=r.Styles||(r.Styles={}),(r=i=t.StiStyleConditionType||(t.StiStyleConditionType={}))[r["ComponentType"]=1]="ComponentType",r[r["Placement"]=2]="Placement",r[r["PlacementNestedLevel"]=4]="PlacementNestedLevel",r[r["ComponentName"]=8]="ComponentName",r[r["Location"]=16]="Location",(r=o=t.StiStyleComponentPlacement||(t.StiStyleComponentPlacement={}))[r["None"]=0]="None",r[r["ReportTitle"]=1]="ReportTitle",r[r["ReportSummary"]=2]="ReportSummary",r[r["PageHeader"]=4]="PageHeader",r[r["PageFooter"]=8]="PageFooter",r[r["GroupHeader"]=16]="GroupHeader",r[r["GroupFooter"]=32]="GroupFooter",r[r["Header"]=64]="Header",r[r["Footer"]=128]="Footer",r[r["ColumnHeader"]=256]="ColumnHeader",r[r["ColumnFooter"]=512]="ColumnFooter",r[r["Data"]=1024]="Data",r[r["DataEvenStyle"]=2048]="DataEvenStyle",r[r["DataOddStyle"]=4096]="DataOddStyle",r[r["Table"]=8192]="Table",r[r["Hierarchical"]=16384]="Hierarchical",r[r["Child"]=32768]="Child",r[r["Empty"]=65536]="Empty",r[r["Overlay"]=131072]="Overlay",r[r["Panel"]=262144]="Panel",r[r["Page"]=524288]="Page",r[r["AllExeptStyles"]=1042431]="AllExeptStyles",(r=a=t.StiStyleComponentType||(t.StiStyleComponentType={}))[r["Text"]=1]="Text",r[r["Primitive"]=2]="Primitive",r[r["Image"]=4]="Image",r[r["CrossTab"]=8]="CrossTab",r[r["Chart"]=16]="Chart",r[r["CheckBox"]=32]="CheckBox",(r=s=t.StiStyleLocation||(t.StiStyleLocation={}))[r["None"]=0]="None",r[r["TopLeft"]=1]="TopLeft",r[r["TopCenter"]=2]="TopCenter",r[r["TopRight"]=4]="TopRight",r[r["MiddleLeft"]=8]="MiddleLeft",r[r["MiddleCenter"]=16]="MiddleCenter",r[r["MiddleRight"]=32]="MiddleRight",r[r["BottomLeft"]=64]="BottomLeft",r[r["BottomCenter"]=128]="BottomCenter",r[r["BottomRight"]=256]="BottomRight",r[r["Left"]=512]="Left",r[r["Right"]=1024]="Right",r[r["Top"]=2048]="Top",r[r["Bottom"]=4096]="Bottom",r[r["CenterHorizontal"]=8192]="CenterHorizontal",r[r["CenterVertical"]=16384]="CenterVertical",(t=l=t.StiStyleConditionOperation||(t.StiStyleConditionOperation={}))[t["EqualTo"]=0]="EqualTo",t[t["NotEqualTo"]=1]="NotEqualTo",t[t["GreaterThan"]=2]="GreaterThan",t[t["GreaterThanOrEqualTo"]=3]="GreaterThanOrEqualTo",t[t["LessThan"]=4]="LessThan",t[t["LessThanOrEqualTo"]=5]="LessThanOrEqualTo",t[t["Containing"]=6]="Containing",t[t["NotContaining"]=7]="NotContaining",t[t["BeginningWith"]=8]="BeginningWith",t[t["EndingWith"]=9]="EndingWith"}(Stimulsoft=Stimulsoft||{}),function(A){var t,e,b,C,v,w,B,I,r;function n(){}e=t=A.Report||(A.Report={}),b=A.Report.Styles.StiStyleLocation,C=A.Report.Components.Table.StiTable,v=A.Report.Styles.StiStyleComponentPlacement,w=A.Report.Styles.StiStyleConditionType,B=A.Report.Styles.StiStyleConditionOperation,I=A.Report.Styles.StiStyleComponentType,n.isAllowStyle=function(t,e){var r,n;try{for(var i=__values(e.conditions.list),o=i.next();!o.done;o=i.next()){var a=o.value,s=!0,l=!0,u=!0,c=!0,p,h,m,d,g,f,S,y,c,g,S,S,u;if(0<(a.type&w.ComponentName))switch(a.operationComponentName){case B.EqualTo:s=t.name==a.componentName;break;case B.NotEqualTo:s=t.name!=a.componentName;break;case B.BeginningWith:s=null!=t.name&&t.name.stimulsoft.startsWith(a.componentName);break;case B.EndingWith:s=null!=t.name&&t.name.stimulsoft.endsWith(a.componentName);break;case B.Containing:s=null!=t.name&&t.name.stimulsoft.contains(a.componentName);break;case B.NotContaining:s=null!=t.name&&!t.name.stimulsoft.contains(a.componentName);break}if(0<(a.type&w.ComponentType)&&(l=!1,0<(a.componentType&I.Chart)&&t.is(A.Report.Chart.IStiChart)&&(l=!0),0<(a.componentType&I.Image)&&t.is(A.Report.Components.StiImage)&&(l=!0),0<(a.componentType&I.Text)&&t.is(A.Report.Components.StiSimpleText)&&(l=!0),0<(a.componentType&I.Primitive)&&(t.is(A.Report.Components.StiShape)||t.is(A.Report.Components.StiPrimitive))&&(l=!0),0<(a.componentType&I.CheckBox)&&t.is(A.Report.Components.StiCheckBox)&&(l=!0),a.operationComponentType==B.NotEqualTo&&(l=!l)),0<(a.type&w.Location)&&null!=t.page&&null!=t.parent&&(p=Math.round2(t.page.unit.convertToHInches(t.left)/10,0),h=Math.round2(t.page.unit.convertToHInches(t.top)/10,0),m=Math.round2(t.page.unit.convertToHInches(t.width)/10,0),d=Math.round2(t.page.unit.convertToHInches(t.height)/10,0),g=Math.round2(t.page.unit.convertToHInches(t.parent.width)/10,0),f=Math.round2(t.page.unit.convertToHInches(t.parent.height)/10,0),S=p+m,y=h+d,c=!1,0<(a.location&b.Left)&&h<=0&&p<=0&&d==f&&(c=!0),0<(a.location&b.Right)&&h<=0&&g<=S&&d==f&&(c=!0),0<(a.location&b.Top)&&p<=0&&h<=0&&m==g&&(c=!0),0<(a.location&b.Bottom)&&p<=0&&f<=y&&m==g&&(c=!0),0<(a.location&b.CenterHorizontal)&&h<=0&&0<p&&S<g&&d==f&&(c=!0),0<(a.location&b.CenterVertical)&&p<=0&&0<h&&y<f&&m==g&&(c=!0),c||(0<(a.location&b.TopLeft)&&h<=0&&p<=0&&(c=!0),0<(a.location&b.TopCenter)&&h<=0&&0<p&&S<g&&(c=!0),0<(a.location&b.TopRight)&&h<=0&&g<=S&&(c=!0),0<(a.location&b.MiddleLeft)&&0<h&&y<f&&p<=0&&(c=!0),0<(a.location&b.MiddleCenter)&&0<h&&y<f&&0<p&&S<g&&(c=!0),0<(a.location&b.MiddleRight)&&0<h&&y<f&&g<=S&&(c=!0),0<(a.location&b.BottomLeft)&&f<=y&&p<=0&&(c=!0),0<(a.location&b.BottomCenter)&&f<=y&&0<p&&S<g&&(c=!0),0<(a.location&b.BottomRight)&&f<=y&&g<=S&&(c=!0)),a.operationPlacement==B.NotEqualTo&&(c=!c)),0<(a.type&w.Placement)&&(u=!1,0<(a.placement&v.ReportTitle)&&t.parent.is(A.Report.Components.StiReportTitleBand)&&(u=!0),0<(a.placement&v.ReportSummary)&&t.parent.is(A.Report.Components.StiReportSummaryBand)&&(u=!0),0<(a.placement&v.PageHeader)&&t.parent.is(A.Report.Components.StiPageHeaderBand)&&(u=!0),0<(a.placement&v.PageFooter)&&t.parent.is(A.Report.Components.StiPageFooterBand)&&(u=!0),0<(a.placement&v.GroupHeader)&&t.parent.is(A.Report.Components.StiGroupHeaderBand)&&(u=!0),0<(a.placement&v.GroupFooter)&&t.parent.is(A.Report.Components.StiGroupFooterBand)&&(u=!0),0<(a.placement&v.Header)&&t.parent.is(A.Report.Components.StiHeaderBand)&&(u=!0),0<(a.placement&v.Footer)&&t.parent.is(A.Report.Components.StiFooterBand)&&(u=!0),0<(a.placement&v.ColumnHeader)&&t.parent.is(A.Report.Components.StiColumnHeaderBand)&&(u=!0),0<(a.placement&v.ColumnFooter)&&t.parent.is(A.Report.Components.StiColumnFooterBand)&&(u=!0),0<(a.placement&v.Data)&&t.parent.is(A.Report.Components.StiDataBand)&&(u=!0),0<(a.placement&v.DataEvenStyle)&&t.is(A.Report.Components.StiDataBand)&&(u=!0),0<(a.placement&v.DataOddStyle)&&t.is(A.Report.Components.StiDataBand)&&(u=!0),0<(a.placement&v.Table)&&t.parent.is(C)&&(u=!0),0<(a.placement&v.Hierarchical)&&t.parent.is(A.Report.Components.StiHierarchicalBand)&&(u=!0),0<(a.placement&v.Child)&&t.parent.is(A.Report.Components.StiChildBand)&&(u=!0),0<(a.placement&v.Empty)&&t.parent.is(A.Report.Components.StiEmptyBand)&&(u=!0),0<(a.placement&v.Overlay)&&t.parent.is(A.Report.Components.StiOverlayBand)&&(u=!0),0<(a.placement&v.Panel)&&t.parent.is(A.Report.Components.StiPanel)&&(u=!0),0<(a.placement&v.Page)&&t.parent.is(A.Report.Components.StiPage)&&(u=!0),u&&0<(a.type&w.PlacementNestedLevel)&&(g=1,S=t.parent,(0<(a.placement&v.DataEvenStyle)||0<(a.placement&v.DataOddStyle))&&(S=t),null!=(S=S.stimulsoft.as(A.Report.Components.StiBand))&&(g=S.nestedLevel),a.operationPlacementNestedLevel==B.EqualTo?u=g==a.placementNestedLevel:a.operationPlacementNestedLevel==B.NotEqualTo?u=g!=a.placementNestedLevel:a.operationPlacementNestedLevel==B.GreaterThan?u=g>a.placementNestedLevel:a.operationPlacementNestedLevel==B.GreaterThanOrEqualTo?u=g>=a.placementNestedLevel:a.operationPlacementNestedLevel==B.LessThan?u=g<a.placementNestedLevel:a.operationPlacementNestedLevel==B.LessThanOrEqualTo&&(u=g<=a.placementNestedLevel)),a.operationPlacement==B.NotEqualTo&&(u=!u)),!(s&&l&&u&&c))return!1}}catch(t){r={error:t}}finally{try{o&&!o.done&&(n=i.return)&&n.call(i)}finally{if(r)throw r.error}}return!0},r=n,e.StiStyleConditionHelper=r}(Stimulsoft=Stimulsoft||{}),function(t){var e,r,n,i;r=e=t.Report||(t.Report={}),(i=n=r.Styles||(r.Styles={})).IStiBaseStyle=new t.System.Interface("IStiBaseStyle")}(Stimulsoft=Stimulsoft||{}),function(n){var t,i,o,a,s,l,u,e,c,p,h,m,d;function r(t,e,r){void 0===t&&(t=""),void 0===e&&(e=""),void 0===r&&(r=null);var r=d.call(this,t,e,r)||this;return r.brush=new h(m.white),r.borderColor=m.transparent,r.targetColor=m.black,r.borderWidth=0,r.foreColor=m.black,r.tickMarkMajorBrush=new h(u.fromHtml("#990000")),r.tickMarkMajorBorder=new h(u.fromHtml("#0bac45")),r.tickMarkMajorBorderWidth=1,r.tickMarkMinorBrush=new h(u.fromHtml("#4472c4")),r.tickMarkMinorBorder=new h(u.fromHtml("#4472c4")),r.tickMarkMinorBorderWidth=1,r.tickLabelMajorTextBrush=new h(u.fromHtml("#FF33475B")),r.tickLabelMajorFont=new l("Arial",10),r.tickLabelMinorTextBrush=new h(u.fromHtml("#FF33475B")),r.tickLabelMinorFont=new l("Arial",10),r.markerBrush=new h(u.fromHtml("#70ad47")),r.linearBarBrush=new h(u.fromHtml("#4472c4")),r.linearBarBorderBrush=new p,r.linearBarEmptyBrush=new p,r.linearBarEmptyBorderBrush=new p,r.radialBarBrush=new h(u.fromHtml("#ffc000")),r.radialBarBorderBrush=new p,r.radialBarEmptyBrush=new h(u.fromHtml("#43682b")),r.radialBarEmptyBorderBrush=new p,r.needleBrush=new h(u.fromHtml("#ffc000")),r.needleBorderBrush=new p,r.needleBorderWidth=1,r.needleCapBrush=new h(u.fromHtml("#ffc000")),r.needleCapBorderBrush=new h(u.fromHtml("#ffc000")),r}i=t=n.Report||(n.Report={}),o=n.Report.Components.Gauge.IStiGauge,a=n.System.Exception,s=n.Base.StiJsonReportObjectHelper,l=n.System.Drawing.Font,u=n.System.Drawing.ColorTranslator,e=n.Report.Styles.StiBaseStyle,c=n.Base.Drawing.StiBrush,p=n.Base.Drawing.StiEmptyBrush,h=n.Base.Drawing.StiSolidBrush,m=n.System.Drawing.Color,__extends(r,d=e),r.prototype.saveToJsonObject=function(t){var t=d.prototype.saveToJsonObject.call(this,t);return t.addPropertyStringNullOrEmpty("Brush",s.Serialize.jBrush(this.brush)),t.addPropertyStringNullOrEmpty("BorderColor",s.Serialize.jColor(this.borderColor,m.transparent)),t.addPropertyStringNullOrEmpty("ForeColor",s.Serialize.jColor(this.foreColor,m.black)),t.addPropertyNumber("BorderWidth",this.borderWidth,0),t.addPropertyStringNullOrEmpty("TargetColor",s.Serialize.jColor(this.targetColor,m.black)),t.addPropertyStringNullOrEmpty("TickMarkMajorBrush",s.Serialize.jBrush(this.tickMarkMajorBrush)),t.addPropertyStringNullOrEmpty("TickMarkMajorBorder",s.Serialize.jBrush(this.tickMarkMajorBorder)),t.addPropertyNumber("TickMarkMajorBorderWidth",this.tickMarkMajorBorderWidth,1),t.addPropertyStringNullOrEmpty("TickMarkMinorBrush",s.Serialize.jBrush(this.tickMarkMinorBrush)),t.addPropertyStringNullOrEmpty("TickMarkMinorBorder",s.Serialize.jBrush(this.tickMarkMinorBorder)),t.addPropertyNumber("TickMarkMinorBorderWidth",this.tickMarkMinorBorderWidth,1),t.addPropertyStringNullOrEmpty("TickLabelMajorTextBrush",s.Serialize.jBrush(this.tickLabelMajorTextBrush)),t.addPropertyStringNullOrEmpty("TickLabelMajorFont",s.Serialize.fontArial8(this.tickLabelMajorFont)),t.addPropertyStringNullOrEmpty("TickLabelMinorTextBrush",s.Serialize.jBrush(this.tickLabelMinorTextBrush)),t.addPropertyStringNullOrEmpty("TickLabelMinorFont",s.Serialize.fontArial8(this.tickLabelMinorFont)),t.addPropertyStringNullOrEmpty("MarkerBrush",s.Serialize.jBrush(this.markerBrush)),t.addPropertyStringNullOrEmpty("LinearBarBrush",s.Serialize.jBrush(this.linearBarBrush)),t.addPropertyStringNullOrEmpty("LinearBarBorderBrush",s.Serialize.jBrush(this.linearBarBorderBrush)),t.addPropertyStringNullOrEmpty("LinearBarEmptyBrush",s.Serialize.jBrush(this.linearBarEmptyBrush)),t.addPropertyStringNullOrEmpty("LinearBarEmptyBorderBrush",s.Serialize.jBrush(this.linearBarEmptyBorderBrush)),t.addPropertyStringNullOrEmpty("RadialBarBrush",s.Serialize.jBrush(this.radialBarBrush)),t.addPropertyStringNullOrEmpty("RadialBarBorderBrush",s.Serialize.jBrush(this.radialBarBorderBrush)),t.addPropertyStringNullOrEmpty("RadialBarEmptyBrush",s.Serialize.jBrush(this.radialBarEmptyBrush)),t.addPropertyStringNullOrEmpty("RadialBarEmptyBorderBrush",s.Serialize.jBrush(this.radialBarEmptyBorderBrush)),t.addPropertyStringNullOrEmpty("NeedleBrush",s.Serialize.jBrush(this.needleBrush)),t.addPropertyStringNullOrEmpty("NeedleBorderBrush",s.Serialize.jBrush(this.needleBorderBrush)),t.addPropertyNumber("NeedleBorderWidth",this.needleBorderWidth,1),t.addPropertyStringNullOrEmpty("NeedleCapBrush",s.Serialize.jBrush(this.needleCapBrush)),t.addPropertyStringNullOrEmpty("NeedleCapBorderBrush",s.Serialize.jBrush(this.needleCapBorderBrush)),t},r.prototype.loadFromJsonObject=function(t){var e,r;d.prototype.loadFromJsonObject.call(this,t);try{for(var n=__values(t.properties()),i=n.next();!i.done;i=n.next()){var o=i.value;switch(o.name){case"Brush":this.brush=s.Deserialize.brush(o.value);break;case"BorderColor":this.borderColor=s.Deserialize.color(o.value);break;case"ForeColor":this.foreColor=s.Deserialize.color(o.value);break;case"BorderWidth":this.borderWidth=o.value.stimulsoft.toNumber();break;case"TargetColor":this.targetColor=s.Deserialize.color(o.value);break;case"TickMarkMajorBrush":this.tickMarkMajorBrush=s.Deserialize.brush(o.value);break;case"TickMarkMajorBorder":this.tickMarkMajorBorder=s.Deserialize.brush(o.value);break;case"TickMarkMajorBorderWidth":this.tickMarkMajorBorderWidth=o.value.stimulsoft.toNumber();break;case"TickMarkMinorBrush":this.tickMarkMinorBrush=s.Deserialize.brush(o.value);break;case"TickMarkMinorBorder":this.tickMarkMinorBorder=s.Deserialize.brush(o.value);break;case"TickLabelMajorTextBrush":this.tickLabelMajorTextBrush=s.Deserialize.brush(o.value);break;case"TickLabelMajorFont":this.tickLabelMajorFont=s.Deserialize.font(o.value,this.tickLabelMajorFont);break;case"TickMarkMinorBorderWidth":this.tickMarkMinorBorderWidth=o.value.stimulsoft.toNumber();break;case"TickLabelMinorTextBrush":this.tickLabelMinorTextBrush=s.Deserialize.brush(o.value);break;case"TickLabelMinorFont":this.tickLabelMinorFont=s.Deserialize.font(o.value,this.tickLabelMinorFont);break;case"MarkerBrush":this.markerBrush=s.Deserialize.brush(o.value);break;case"LinearBarBrush":this.linearBarBrush=s.Deserialize.brush(o.value);break;case"LinearBarBorderBrush":this.linearBarBorderBrush=s.Deserialize.brush(o.value);break;case"LinearBarEmptyBrush":this.linearBarEmptyBrush=s.Deserialize.brush(o.value);break;case"LinearBarEmptyBorderBrush":this.linearBarEmptyBorderBrush=s.Deserialize.brush(o.value);break;case"RadialBarBrush":this.radialBarBrush=s.Deserialize.brush(o.value);break;case"RadialBarBorderBrush":this.radialBarBorderBrush=s.Deserialize.brush(o.value);break;case"RadialBarEmptyBrush":this.radialBarEmptyBrush=s.Deserialize.brush(o.value);break;case"RadialBarEmptyBorderBrush":this.radialBarEmptyBorderBrush=s.Deserialize.brush(o.value);break;case"NeedleBrush":this.needleBrush=s.Deserialize.brush(o.value);break;case"NeedleBorderBrush":this.needleBorderBrush=s.Deserialize.brush(o.value);break;case"NeedleBorderWidth":this.needleBorderWidth=o.value.stimulsoft.toNumber();break;case"NeedleCapBrush":this.needleCapBrush=s.Deserialize.brush(o.value);break;case"NeedleCapBorderBrush":this.needleCapBorderBrush=s.Deserialize.brush(o.value);break}}}catch(t){e={error:t}}finally{try{i&&!i.done&&(r=n.return)&&r.call(n)}finally{if(e)throw e.error}}},r.prototype.loadFromXml=function(t){d.prototype.loadFromXml.call(this,t);for(var e=0;e<t.childNodes.length;e++){var r=t.childNodes[e];switch(r.nodeName){case"Brush":this.brush=c.loadFromXml(r.textContent);break;case"BorderColor":this.borderColor=n.System.Text.StiReportObjectStringConverter.convertStringToColor(r.textContent);break;case"ForeColor":this.foreColor=n.System.Text.StiReportObjectStringConverter.convertStringToColor(r.textContent);break;case"BorderWidth":this.borderWidth=r.textContent.stimulsoft.toNumber();break;case"TargetColor":this.targetColor=n.System.Text.StiReportObjectStringConverter.convertStringToColor(r.textContent);break;case"TickMarkMajorBrush":this.tickMarkMajorBrush=c.loadFromXml(r.textContent);break;case"TickMarkMajorBorder":this.tickMarkMajorBorder=c.loadFromXml(r.textContent);break;case"TickMarkMajorBorderWidth":this.tickMarkMajorBorderWidth=r.textContent.stimulsoft.toNumber();break;case"TickMarkMinorBrush":this.tickMarkMinorBrush=c.loadFromXml(r.textContent);break;case"TickMarkMinorBorder":this.tickMarkMinorBorder=c.loadFromXml(r.textContent);break;case"TickLabelMajorTextBrush":this.tickLabelMajorTextBrush=c.loadFromXml(r.textContent);break;case"TickLabelMajorFont":this.tickLabelMajorFont=n.System.Convert.toFont(r.textContent);break;case"TickMarkMinorBorderWidth":this.tickMarkMinorBorderWidth=r.textContent.stimulsoft.toNumber();break;case"TickLabelMinorTextBrush":this.tickLabelMinorTextBrush=c.loadFromXml(r.textContent);break;case"TickLabelMinorFont":this.tickLabelMinorFont=n.System.Convert.toFont(r.textContent);break;case"MarkerBrush":this.markerBrush=c.loadFromXml(r.textContent);break;case"LinearBarBrush":this.linearBarBrush=c.loadFromXml(r.textContent);break;case"LinearBarBorderBrush":this.linearBarBorderBrush=c.loadFromXml(r.textContent);break;case"LinearBarEmptyBrush":this.linearBarEmptyBrush=c.loadFromXml(r.textContent);break;case"LinearBarEmptyBorderBrush":this.linearBarEmptyBorderBrush=c.loadFromXml(r.textContent);break;case"RadialBarBrush":this.radialBarBrush=c.loadFromXml(r.textContent);break;case"RadialBarBorderBrush":this.radialBarBorderBrush=c.loadFromXml(r.textContent);break;case"RadialBarEmptyBrush":this.radialBarEmptyBrush=c.loadFromXml(r.textContent);break;case"RadialBarEmptyBorderBrush":this.radialBarEmptyBorderBrush=c.loadFromXml(r.textContent);break;case"NeedleBrush":this.needleBrush=c.loadFromXml(r.textContent);break;case"NeedleBorderBrush":this.needleBorderBrush=c.loadFromXml(r.textContent);break;case"NeedleBorderWidth":this.needleBorderWidth=r.textContent.stimulsoft.toNumber();break;case"NeedleCapBrush":this.needleCapBrush=c.loadFromXml(r.textContent);break;case"NeedleCapBorderBrush":this.needleCapBorderBrush=c.loadFromXml(r.textContent);break}}},Object.defineProperty(r.prototype,"componentId",{get:function(){return i.StiComponentId.StiGaugeStyle},enumerable:!1,configurable:!0}),r.prototype.getStyleFromComponent=function(t,e){if(e!=i.StiStyleElements.All)throw new a("StiGaugeStyle support only StiStyleElements.All.");var r,n;null!=t.stimulsoft.as(o)&&0<(e&i.StiStyleElements.Brush)&&(this.brush=t.brush.clone())},r.prototype.setStyleToComponent=function(t){},e=r,i.StiGaugeStyle=e}(Stimulsoft=Stimulsoft||{}),function(n){var t,r,a,e,i,o,s;function l(t,e,r){void 0===t&&(t=""),void 0===e&&(e="");var r=s.call(this,t,e,r)||this;return r.backColor=o.white,r.glyphColor=i.fromHtml("#3498db"),r.foreColor=i.fromHtml("#8c8c8c"),r.hotBackColor=o.transparent,r.hotForeColor=o.dimGray,r.positiveColor=o.green,r.negativeColor=o.red,r}r=t=n.Report||(n.Report={}),a=n.Base.StiJsonReportObjectHelper,e=n.Report.Styles.StiBaseStyle,i=n.System.Drawing.ColorTranslator,o=n.System.Drawing.Color,__extends(l,s=e),l.prototype.saveToJsonObject=function(t){var t=s.prototype.saveToJsonObject.call(this,t);return t.addPropertyStringNullOrEmpty("BackColor",a.Serialize.jColor(this.backColor,o.white)),t.addPropertyStringNullOrEmpty("GlyphColor",a.Serialize.jColor(this.glyphColor,i.fromHtml("#3498db"))),t.addPropertyStringNullOrEmpty("ForeColor",a.Serialize.jColor(this.foreColor,i.fromHtml("#8c8c8c"))),t.addPropertyStringNullOrEmpty("HotBackColor",a.Serialize.jColor(this.hotBackColor,o.transparent)),t.addPropertyStringNullOrEmpty("PositiveColor",a.Serialize.jColor(this.positiveColor,o.green)),t.addPropertyStringNullOrEmpty("NegativeColor",a.Serialize.jColor(this.negativeColor,o.red)),t},l.prototype.loadFromJsonObject=function(t){var e,r;s.prototype.loadFromJsonObject.call(this,t);try{for(var n=__values(t.properties()),i=n.next();!i.done;i=n.next()){var o=i.value;switch(o.name){case"BackColor":this.backColor=a.Deserialize.color(o.value);break;case"GlyphColor":this.glyphColor=a.Deserialize.color(o.value);break;case"ForeColor":this.foreColor=a.Deserialize.color(o.value);break;case"HotBackColor":this.hotBackColor=a.Deserialize.color(o.value);break;case"PositiveColor":this.positiveColor=a.Deserialize.color(o.value);break;case"NegativeColor":this.negativeColor=a.Deserialize.color(o.value);break}}}catch(t){e={error:t}}finally{try{i&&!i.done&&(r=n.return)&&r.call(n)}finally{if(e)throw e.error}}},l.prototype.loadFromXml=function(t){s.prototype.loadFromXml.call(this,t);for(var e=0;e<t.childNodes.length;e++){var r=t.childNodes[e];switch(r.nodeName){case"BackColor":this.backColor=n.System.Text.StiReportObjectStringConverter.convertStringToColor(r.textContent);break;case"GlyphColor":this.glyphColor=n.System.Text.StiReportObjectStringConverter.convertStringToColor(r.textContent);break;case"ForeColor":this.foreColor=n.System.Text.StiReportObjectStringConverter.convertStringToColor(r.textContent);break;case"HotBackColor":this.hotBackColor=n.System.Text.StiReportObjectStringConverter.convertStringToColor(r.textContent);break;case"PositiveColor":this.positiveColor=n.System.Text.StiReportObjectStringConverter.convertStringToColor(r.textContent);break;case"NegativeColor":this.negativeColor=n.System.Text.StiReportObjectStringConverter.convertStringToColor(r.textContent);break}}},l.prototype.getStyleFromComponent=function(t,e){if(e!=r.StiStyleElements.All)throw new Error("StiIndicatorStyle support only StiStyleElements.All.")},l.prototype.setStyleToComponent=function(t){},e=l,r.StiIndicatorStyle=e}(Stimulsoft=Stimulsoft||{}),function(n){var t,r,a,i,o,e,s;function l(t,e,r){void 0===t&&(t=""),void 0===e&&(e="");var r=s.call(this,t,e,r)||this;return r.trackColor=o.fromHtml("#e7ebec"),r.bandColor=o.fromHtml("#3498db"),r.seriesColors=[o.fromHtml("#3498db"),o.fromHtml("#ef717a"),o.fromHtml("#6dcbb3"),o.fromHtml("#f28161"),o.fromHtml("#fccd1b")],r.foreColor=o.fromHtml("#8c8c8c"),r.backColor=i.white,r}r=t=n.Report||(n.Report={}),a=n.Base.StiJsonReportObjectHelper,i=n.System.Drawing.Color,o=n.System.Drawing.ColorTranslator,e=n.Report.Styles.StiBaseStyle,__extends(l,s=e),l.prototype.saveToJsonObject=function(t){var t=s.prototype.saveToJsonObject.call(this,t);return t.addPropertyStringNullOrEmpty("TrackColor",a.Serialize.jColor(this.trackColor,o.fromHtml("#e7ebec"))),t.addPropertyStringNullOrEmpty("BandColor",a.Serialize.jColor(this.bandColor,o.fromHtml("#3498db"))),t.addPropertyJObject("SeriesColors",a.Serialize.colorArray(this.seriesColors)),t.addPropertyStringNullOrEmpty("ForeColor",a.Serialize.jColor(this.foreColor,o.fromHtml("#8c8c8c"))),t.addPropertyStringNullOrEmpty("BackColor",a.Serialize.jColor(this.backColor,i.white)),t},l.prototype.loadFromJsonObject=function(t){var e,r;s.prototype.loadFromJsonObject.call(this,t);try{for(var n=__values(t.properties()),i=n.next();!i.done;i=n.next()){var o=i.value;switch(o.name){case"TrackColor":this.trackColor=a.Deserialize.color(o.value);break;case"BandColor":this.bandColor=a.Deserialize.color(o.value);break;case"SeriesColors":this.seriesColors=a.Deserialize.colorArray(o.value);break;case"ForeColor":this.foreColor=a.Deserialize.color(o.value);break;case"BackColor":this.backColor=a.Deserialize.color(o.value);break}}}catch(t){e={error:t}}finally{try{i&&!i.done&&(r=n.return)&&r.call(n)}finally{if(e)throw e.error}}},l.prototype.loadFromXml=function(t){s.prototype.loadFromXml.call(this,t);for(var e=0;e<t.childNodes.length;e++){var r=t.childNodes[e];switch(r.nodeName){case"TrackColor":this.trackColor=n.System.Text.StiReportObjectStringConverter.convertStringToColor(r.textContent);break;case"BandColor":this.bandColor=n.System.Text.StiReportObjectStringConverter.convertStringToColor(r.textContent);break;case"SeriesColors":this.seriesColors=n.System.Text.StiReportObjectStringConverter.convertStringToColorArray(r.textContent);break;case"ForeColor":this.foreColor=n.System.Text.StiReportObjectStringConverter.convertStringToColor(r.textContent);break;case"BackColor":this.backColor=n.System.Text.StiReportObjectStringConverter.convertStringToColor(r.textContent);break}}},l.prototype.getStyleFromComponent=function(t,e){if(e!=r.StiStyleElements.All)throw new Error("StiIndicatorStyle support only StiStyleElements.All.")},l.prototype.setStyleToComponent=function(t){},e=l,r.StiProgressStyle=e}(Stimulsoft=Stimulsoft||{}),function(a){var t,o,e,i,s,r,l,u,c,p,n,h,m,d,g,f,S,y,A,b,C,v,w;function B(){var t=null!==w&&w.apply(this,arguments)||this;return t._horAlignment=h.Left,t._vertAlignment=m.Top,t._font=new n("Arial",8),t._border=new u,t._brush=new p(d.transparent),t._textBrush=new p(d.black),t.textFormat=new a.Report.Components.TextFormats.StiGeneralFormatService,t._allowUseHorAlignment=!1,t._allowUseVertAlignment=!1,t._allowUseImage=!1,t._allowUseFont=!0,t._allowUseBorderFormatting=!0,t._allowUseBorderSides=!0,t._allowUseBorderSidesFromLocation=!1,t._allowUseBrush=!0,t._allowUseTextBrush=!0,t.allowUseNegativeTextBrush=!1,t.allowUseTextFormat=!1,t._allowUseTextOptions=!0,t.negativeTextBrush=new p(d.red),t}o=t=a.Report||(a.Report={}),i=e=o.Styles||(o.Styles={}),s=a.Report.Components.IStiTextFormat,r=a.Base.JsonReportObject.IStiJsonReportObject,l=a.Base.Drawing.StiImageConverter,u=a.Base.Drawing.StiBorder,c=a.Base.Drawing.StiBrush,p=a.Base.Drawing.StiSolidBrush,n=a.System.Drawing.Font,h=a.Base.Drawing.StiTextHorAlignment,m=a.Base.Drawing.StiVertAlignment,d=a.System.Drawing.Color,g=a.Report.Components.IStiFont,f=a.Report.Components.IStiBorder,S=a.Report.Components.IStiBrush,y=a.Report.Components.IStiTextBrush,A=a.Base.Drawing.StiHorAlignment,b=a.Base.StiJsonReportObjectHelper,C=a.System.Enum,w=i.StiBaseStyle,__extends(B,w),B.prototype.implements=function(){return B.ImplementsStiStyle||(B.ImplementsStiStyle=w.prototype.implements.call(this).concat([s,r])),B.ImplementsStiStyle},B.prototype.saveToJsonObject=function(t){var e=w.prototype.saveToJsonObject.call(this,t);return e.addPropertyEnum("HorAlignment",h,this.horAlignment,h.Left),e.addPropertyEnum("VertAlignment",m,this.vertAlignment,m.Top),e.addPropertyStringNullOrEmpty("Font",b.Serialize.fontArial8(this.font)),e.addPropertyStringNullOrEmpty("Border",b.Serialize.jBorder(this.border)),e.addPropertyStringNullOrEmpty("Brush",b.Serialize.jBrush(this.brush)),e.addPropertyStringNullOrEmpty("TextBrush",b.Serialize.jBrush(this.textBrush)),e.addPropertyStringNullOrEmpty("NegativeTextBrush",b.Serialize.jBrush(this.negativeTextBrush)),this.textFormat.is(a.Report.Components.TextFormats.StiGeneralFormatService)||e.addPropertyJObject("TextFormat",this.textFormat.saveToJsonObject(t)),e.addPropertyBool("AllowUseHorAlignment",this.allowUseHorAlignment),e.addPropertyBool("AllowUseVertAlignment",this.allowUseVertAlignment),e.addPropertyBool("AllowUseImage",this.allowUseImage),e.addPropertyBool("AllowUseFont",this.allowUseFont,!0),e.addPropertyBool("AllowUseBorderFormatting",this.allowUseBorderFormatting,!0),e.addPropertyBool("AllowUseBorderSides",this.allowUseBorderSides,!0),e.addPropertyBool("AllowUseBorderSidesFromLocation",this.allowUseBorderSidesFromLocation),e.addPropertyBool("AllowUseBrush",this.allowUseBrush,!0),e.addPropertyBool("AllowUseTextBrush",this.allowUseTextBrush,!0),e.addPropertyBool("AllowUseTextOptions",this.allowUseTextOptions,!0),e.addPropertyBool("AllowUseNegativeTextBrush",this.allowUseNegativeTextBrush),e.addPropertyBool("AllowUseTextFormat",this.allowUseTextFormat),e.addPropertyStringNullOrEmpty("Image",l.imageToString(this.image)),e},B.prototype.loadFromJsonObject=function(t){var e,r;w.prototype.loadFromJsonObject.call(this,t);try{for(var n=__values(t.properties()),i=n.next();!i.done;i=n.next()){var o=i.value;switch(o.name){case"HorAlignment":this._horAlignment=C.parse(h,o.value);break;case"VertAlignment":this._vertAlignment=C.parse(m,o.value);break;case"Font":this._font=b.Deserialize.font(o.value,this.font);break;case"Border":this._border=b.Deserialize.border(o.value);break;case"Brush":this._brush=b.Deserialize.brush(o.value);break;case"TextBrush":this._textBrush=b.Deserialize.brush(o.value);break;case"NegativeTextBrush":this.negativeTextBrush=b.Deserialize.brush(o.value);break;case"TextFormat":this.textFormat=a.Report.Components.TextFormats.StiFormatService.createFromJsonObject(o.value);break;case"AllowUseHorAlignment":this._allowUseHorAlignment=o.value.stimulsoft.toBoolean();break;case"AllowUseVertAlignment":this._allowUseVertAlignment=o.value.stimulsoft.toBoolean();break;case"AllowUseImage":this._allowUseImage=o.value.stimulsoft.toBoolean();break;case"AllowUseFont":this._allowUseFont=o.value.stimulsoft.toBoolean();break;case"AllowUseBorderFormatting":this._allowUseBorderFormatting=o.value.stimulsoft.toBoolean();break;case"AllowUseBorderSides":this._allowUseBorderSides=o.value.stimulsoft.toBoolean();break;case"AllowUseBorderSidesFromLocation":this._allowUseBorderSidesFromLocation=o.value.stimulsoft.toBoolean();break;case"AllowUseBrush":this._allowUseBrush=o.value.stimulsoft.toBoolean();break;case"AllowUseTextBrush":this._allowUseTextBrush=o.value.stimulsoft.toBoolean();break;case"AllowUseTextOptions":this._allowUseTextOptions=o.value.stimulsoft.toBoolean();break;case"AllowUseNegativeTextBrush":this.allowUseNegativeTextBrush=o.value.stimulsoft.toBoolean();break;case"AllowUseTextFormat":this.allowUseTextFormat=o.value.stimulsoft.toBoolean();break;case"Image":this._image=l.stringToImage(o.value);break}}}catch(t){e={error:t}}finally{try{i&&!i.done&&(r=n.return)&&r.call(n)}finally{if(e)throw e.error}}},B.prototype.loadFromXml=function(t){w.prototype.loadFromXml.call(this,t);for(var e=0;e<t.childNodes.length;e++){var r=t.childNodes[e];switch(r.nodeName){case"HorAlignment":case"ha":this._horAlignment=C.parse(h,r.textContent);break;case"VertAlignment":case"va":this._vertAlignment=C.parse(m,r.textContent);break;case"Font":case"fn":this._font=a.System.Convert.toFont(r.textContent);break;case"Border":case"br":this._border=u.loadFromXml(r.textContent);break;case"Brush":case"bh":this._brush=c.loadFromXml(r.textContent);break;case"TextBrush":case"tb":this._textBrush=c.loadFromXml(r.textContent);break;case"NegativeTextBrush":this.negativeTextBrush=c.loadFromXml(r.textContent);break;case"TextFormat":this.textFormat=a.Report.Components.TextFormats.StiFormatService.loadFormatFromXml(r,this.report);break;case"AllowUseHorAlignment":this._allowUseHorAlignment=r.textContent.stimulsoft.toBoolean();break;case"AllowUseVertAlignment":this._allowUseVertAlignment=r.textContent.stimulsoft.toBoolean();break;case"AllowUseImage":this._allowUseImage=r.textContent.stimulsoft.toBoolean();break;case"AllowUseFont":this._allowUseFont=r.textContent.stimulsoft.toBoolean();break;case"AllowUseBorderFormatting":this._allowUseBorderFormatting=r.textContent.stimulsoft.toBoolean();break;case"AllowUseBorderSides":this._allowUseBorderSides=r.textContent.stimulsoft.toBoolean();break;case"AllowUseBorderSidesFromLocation":this._allowUseBorderSidesFromLocation=r.textContent.stimulsoft.toBoolean();break;case"AllowUseBrush":this._allowUseBrush=r.textContent.stimulsoft.toBoolean();break;case"AllowUseTextBrush":this._allowUseTextBrush=r.textContent.stimulsoft.toBoolean();break;case"AllowUseTextOptions":this._allowUseTextOptions=r.textContent.stimulsoft.toBoolean();break;case"AllowUseNegativeTextBrush":this.allowUseNegativeTextBrush=r.textContent.stimulsoft.toBoolean();break;case"AllowUseTextFormat":this.allowUseTextFormat=r.textContent.stimulsoft.toBoolean();break;case"Image":this._image=l.stringToImage(r.textContent);break}}},B.prototype.clone=function(){var t=w.prototype.clone.call(this);return t._border=this._border.clone(),t._brush=this._brush.clone(),t._font=this._font.clone(),t._textBrush=this._textBrush.clone(),t},Object.defineProperty(B.prototype,"horAlignment",{get:function(){return this._horAlignment},set:function(t){this._horAlignment=t},enumerable:!1,configurable:!0}),Object.defineProperty(B.prototype,"vertAlignment",{get:function(){return this._vertAlignment},set:function(t){this._vertAlignment=t},enumerable:!1,configurable:!0}),Object.defineProperty(B.prototype,"font",{get:function(){return this._font},set:function(t){this._font=t},enumerable:!1,configurable:!0}),Object.defineProperty(B.prototype,"border",{get:function(){return this._border},set:function(t){this._border=t},enumerable:!1,configurable:!0}),Object.defineProperty(B.prototype,"brush",{get:function(){return this._brush},set:function(t){this._brush=t},enumerable:!1,configurable:!0}),Object.defineProperty(B.prototype,"textBrush",{get:function(){return this._textBrush},set:function(t){this._textBrush=t},enumerable:!1,configurable:!0}),Object.defineProperty(B.prototype,"allowUseHorAlignment",{get:function(){return this._allowUseHorAlignment},set:function(t){this._allowUseHorAlignment=t},enumerable:!1,configurable:!0}),Object.defineProperty(B.prototype,"allowUseVertAlignment",{get:function(){return this._allowUseVertAlignment},set:function(t){this._allowUseVertAlignment=t},enumerable:!1,configurable:!0}),Object.defineProperty(B.prototype,"allowUseImage",{get:function(){return this._allowUseImage},set:function(t){this._allowUseImage=t},enumerable:!1,configurable:!0}),Object.defineProperty(B.prototype,"allowUseFont",{get:function(){return this._allowUseFont},set:function(t){this._allowUseFont=t},enumerable:!1,configurable:!0}),Object.defineProperty(B.prototype,"allowUseBorder",{get:function(){return this.allowUseBorderFormatting&&this.allowUseBorderSides},set:function(t){this.allowUseBorderFormatting=t,this.allowUseBorderSides=t},enumerable:!1,configurable:!0}),Object.defineProperty(B.prototype,"allowUseBorderFormatting",{get:function(){return this._allowUseBorderFormatting},set:function(t){this._allowUseBorderFormatting=t},enumerable:!1,configurable:!0}),Object.defineProperty(B.prototype,"allowUseBorderSides",{get:function(){return this._allowUseBorderSides},set:function(t){this._allowUseBorderSides=t},enumerable:!1,configurable:!0}),Object.defineProperty(B.prototype,"allowUseBorderSidesFromLocation",{get:function(){return this._allowUseBorderSidesFromLocation},set:function(t){this._allowUseBorderSidesFromLocation=t},enumerable:!1,configurable:!0}),Object.defineProperty(B.prototype,"allowUseBrush",{get:function(){return this._allowUseBrush},set:function(t){this._allowUseBrush=t},enumerable:!1,configurable:!0}),Object.defineProperty(B.prototype,"allowUseTextBrush",{get:function(){return this._allowUseTextBrush},set:function(t){this._allowUseTextBrush=t},enumerable:!1,configurable:!0}),Object.defineProperty(B.prototype,"allowUseTextOptions",{get:function(){return this._allowUseTextOptions},set:function(t){this._allowUseTextOptions=t},enumerable:!1,configurable:!0}),B.prototype.getStyleFromComponent=function(t,e,r){void 0===r&&(r=null);var n=null==r?null:r.stimulsoft.as(B);this.allowUseBorderFormatting=!1,this.allowUseBorderSides=!1,this.allowUseBorderSidesFromLocation=!1,this.allowUseBrush=!1,this.allowUseTextBrush=!1,this.allowUseFont=!1,this.allowUseHorAlignment=!1,this.allowUseVertAlignment=!1,this.allowUseTextFormat=!1;var r=!StiOptions.Engine.useParentStylesOldMode,i,i,i,i,i,i,i,i,i;if(null==n&&(r=!1),0<(e&o.StiStyleElements.Font)&&(t.is(g)?(i=t,this.font=i.font.clone(),this.allowUseFont=!0):r&&(this.font=n.font.clone(),this.allowUseFont=!0)),0<(e&o.StiStyleElements.Border)&&(t.is(f)?(i=t,this.border=i.border.clone(),this.allowUseBorderFormatting=!0,this.allowUseBorderSides=!0):r&&(this.border=n.border.clone(),this.allowUseFont=!0)),0<(e&o.StiStyleElements.Brush)&&(t.is(S)?(i=t,this.brush=i.brush.clone(),this.allowUseBrush=!0):r&&(this.brush=n.brush.clone(),this.allowUseBorderFormatting=!0,this.allowUseBorderSides=!0)),0<(e&o.StiStyleElements.TextBrush)&&(t.is(y)?(i=t,this.textBrush=i.textBrush.clone(),this.allowUseTextBrush=!0):r&&(this.textBrush=n.textBrush.clone(),this.allowUseTextBrush=!0)),t.is(a.Report.Components.IStiBackColor)&&0<(e&o.StiStyleElements.Brush)&&(i=t,this.brush=new p(i.backColor),this.allowUseBrush=!0),t.is(a.Report.Components.IStiForeColor)&&0<(e&o.StiStyleElements.TextBrush)&&(i=t,this.textBrush=new p(i.foreColor),this.allowUseTextBrush=!0),0<(e&o.StiStyleElements.HorAlignment)&&(t.is(a.Report.Components.IStiTextHorAlignment)?(i=t,this.horAlignment=i.horAlignment,this.allowUseHorAlignment=!0):r&&(this.horAlignment=n.horAlignment,this.allowUseHorAlignment=!0)),t.is(a.Report.Components.IStiHorAlignment)&&0<(e&o.StiStyleElements.HorAlignment)){switch((i=t).horAlignment){case A.Center:this.horAlignment=h.Center;break;case A.Left:this.horAlignment=h.Left;break;case A.Right:this.horAlignment=h.Right;break}this.allowUseHorAlignment=!0}0<(e&o.StiStyleElements.VertAlignment)&&(t.is(a.Report.Components.IStiVertAlignment)?(i=t,this.vertAlignment=i.vertAlignment,this.allowUseVertAlignment=!0):r&&(this.vertAlignment=n.vertAlignment,this.allowUseVertAlignment=!0));var t=t.as(a.Report.Components.StiLinePrimitive);null!=t&&(this.border=new u(this.border.side,t.color,t.size,t.style),this.allowUseBorderFormatting=!0,this.allowUseBorderSides=!0)},B.prototype.setStyleToComponent=function(t){if(t.is(a.Report.Chart.IStiChart))return;var e=t.as(a.Report.Components.StiLinePrimitive),r,r,n,r,r,r,r,r,r,r,r;if(t.is(g)&&this.allowUseFont&&((r=t).font=this.font.clone()),t.is(f)&&(this.allowUseBorderFormatting||this.allowUseBorderSides)&&null==e&&(n=(r=t).border.side,this.allowUseBorderFormatting&&(r.border=this.border.clone(),r.border.side=n),this.allowUseBorderSides&&(this.allowUseBorderSidesFromLocation&&null!=t.parent?r.border.side=i.StiStylesHelper.getBorderSidesFromLocation(t):r.border.side=this.border.side)),t.is(S)&&this.allowUseBrush&&((r=t).brush=this.brush.clone()),t.is(y)&&this.allowUseTextBrush&&((r=t).textBrush=this.textBrush.clone()),t.is(a.Report.Components.IStiBackColor)&&this.allowUseBrush&&((r=t).backColor=c.toColor(this.brush)),t.is(a.Report.Components.IStiForeColor)&&this.allowUseTextBrush&&((r=t).foreColor=c.toColor(this.textBrush)),t.is(a.Report.Components.IStiTextHorAlignment)&&this.allowUseHorAlignment&&((r=t).horAlignment=this.horAlignment),t.is(a.Report.Components.IStiTextOptions)&&this.allowUseTextOptions,t.is(a.Report.Components.IStiHorAlignment)&&this.allowUseHorAlignment){var r=t;switch(this.horAlignment){case h.Center:r.horAlignment=A.Center;break;case h.Left:r.horAlignment=A.Left;break;case h.Right:r.horAlignment=A.Right;break}}t.is(a.Report.Components.IStiVertAlignment)&&this.allowUseVertAlignment&&((r=t).vertAlignment=this.vertAlignment),t.is(s)&&this.allowUseTextFormat&&((r=t).textFormat=this.textFormat.clone()),t.is(a.Report.Components.StiImage)&&this.allowUseImage&&((r=t).image=this.image),null!=e&&this.allowUseBorderFormatting&&(e.color=this.border.color,e.size=this.border.size,e.style=this.border.style)},Object.defineProperty(B.prototype,"image",{get:function(){return this._image},set:function(t){this._image!=t&&(this._image=t)},enumerable:!1,configurable:!0}),v=B,i.StiStyle=v}(Stimulsoft=Stimulsoft||{}),function(u){var t,c,e,p,r,n,i,o,a,s,l,h,m,d;function g(t){void 0===t&&(t=null);var e=d.call(this)||this;return e.report=null,e.hash=new l,e.needUpdateHash=!0,e.lastCount=-1,e.report=t,e.needUpdateHash=!0,e}c=t=u.Report||(u.Report={}),p=e=c.Styles||(c.Styles={}),r=u.System.NodeJs,n=u.System.Xml.XmlConverter,i=u.System.StiString,o=u.System.Xml.XmlNode,a=u.Base.StiJsonSaveMode,s=u.System.Collections.CollectionBase,l=u.System.Collections.Hashtable,h=u.Base.JsonReportObject.IStiJsonReportObject,m=u.Base.StiJson,__extends(g,d=s),g.prototype.implements=function(){return[h]},g.prototype.saveToJsonObject=function(t){var e,r;if(0==this.list.length)return null;var n=new m,i=0;try{for(var o=__values(this.list),a=o.next();!a.done;a=o.next()){var s=a.value;n.addPropertyJObject(i.toString(),s.saveToJsonObject(t)),i++}}catch(t){e={error:t}}finally{try{a&&!a.done&&(r=o.return)&&r.call(o)}finally{if(e)throw e.error}}return n},g.prototype.loadFromJsonObject=function(t){var e,r;try{for(var n=__values(t.properties()),i=n.next();!i.done;i=n.next()){var o,a=i.value.value,s=a.properties().firstOrDefault(function(t){return"Ident"==t.name}).value,l=null;switch(s){case"StiChartStyle":l=new p.StiChartStyle;break;case"StiGaugeStyle":l=new c.StiGaugeStyle;break;case"StiIndicatorStyle":l=new c.StiIndicatorStyle;break;case"StiProgressStyle":l=new c.StiProgressStyle;break;case"StiCrossTabStyle":l=new p.StiCrossTabStyle;break;case"StiDialogStyle":l=new p.StiDialogStyle;break;case"StiMapStyle":l=new p.StiMapStyle;break;case"StiTableStyle":l=new c.StiTableStyle;break;case"StiStyle":l=new p.StiStyle;break}l.loadFromJsonObject(a),this.list.push(l)}}catch(t){e={error:t}}finally{try{i&&!i.done&&(r=n.return)&&r.call(n)}finally{if(e)throw e.error}}},g.prototype.loadFromXml=function(t){for(var e=0;e<t.childNodes.length;e++){var r=t.childNodes[e],n;if(null==r.attributes)continue;if(null!=r.attributes.getNamedItem("type"))switch(r.attributes.getNamedItem("type").value){case"Stimulsoft.Report.StiStyle":var i=new u.Report.Styles.StiStyle;i.loadFromXml(r),this.list.push(i);break;case"Stimulsoft.Report.StiChartStyle":var o=new u.Report.Styles.StiChartStyle;o.loadFromXml(r),this.list.push(o);break;case"Stimulsoft.Report.StiGaugeStyle":var o=new u.Report.StiGaugeStyle;o.loadFromXml(r),this.list.push(o);break;case"Stimulsoft.Report.StiMapStyle":var a=new u.Report.Styles.StiMapStyle;a.loadFromXml(r),this.list.push(a);break;case"Stimulsoft.Report.StiCrossTabStyle":var a=new u.Report.Styles.StiCrossTabStyle;a.loadFromXml(r),this.list.push(a);break;case"Stimulsoft.Report.StiDialogStyle":var s=new u.Report.Styles.StiDialogStyle;s.loadFromXml(r),this.list.push(s);break;case"Stimulsoft.Report.StiIndicatorStyle":var s=new u.Report.StiIndicatorStyle;s.loadFromXml(r),this.list.push(s);break;case"Stimulsoft.Report.StiProgressStyle":var l=new u.Report.StiProgressStyle;l.loadFromXml(r),this.list.push(l);break;case"Stimulsoft.Report.StiTableStyle":var l=new u.Report.StiTableStyle;l.loadFromXml(r),this.list.push(l);break}}},g.prototype.load=function(t){try{if(void 0===t||null==t)return;if((t instanceof Array||t instanceof Uint8Array||r.isBuffer(t))&&(t=u.System.Text.Encoding.UTF8.getString(t)),"string"==typeof t&&t.trim().stimulsoft.startsWith("<?xml")&&(t=n.toXml(t)),this.clear(),t.stimulsoft.is(o)){if("StiSerializer"!=t.firstChild.nodeName&&"Styles"!=t.firstChild.firstChild.nodeName)throw new Error("Not correct file");this.loadFromXml(t.firstChild.firstChild)}else try{var e=new m;e.deserialize(t),this.loadFromJsonObject(e)}catch(t){throw new Error("Not correct file")}this.needUpdateHash=!0,null!=this.report&&this.report.applyStyles()}catch(t){u.System.StiError.showError(t,!1)}},g.prototype.loadFile=function(t){var t=u.System.IO.File.getFile(t);t&&this.load(t)},g.prototype.saveToJsonString=function(){try{var t=this.saveToJsonObject(a.Report);if(t)return t.serialize()}catch(t){u.System.StiError.showError(t,!1)}return""},g.prototype.add=function(t){this.list.push(t),this.hash.set(t.name.toLowerCase(),t),t.report=this.report},g.prototype.clear=function(){d.prototype.clear.call(this),this.hash.clear(),this.needUpdateHash=!0},g.prototype.addRange=function(t){var e,r,n=t.stimulsoft.is(g)?t.list:t;try{for(var i=__values(n),o=i.next();!o.done;o=i.next()){var a=o.value;this.add(a)}}catch(t){e={error:t}}finally{try{o&&!o.done&&(r=i.return)&&r.call(i)}finally{if(e)throw e.error}}},g.prototype.contains=function(t){if(this.updateHash(),null==t)return!1;return this.hash.contains((t.stimulsoft.is(p.StiBaseStyle)?t.name:t).toLowerCase())},g.prototype.insert=function(t,e){d.prototype.insert.call(this,t,e),this.hash.set(e.name.toLowerCase(),e)},g.prototype.remove=function(t){d.prototype.remove.call(this,t),this.hash.remove(t.name.toLowerCase())},g.prototype.setByIndex=function(t,e){this.setByIndex(t,e),this.needUpdateHash=!0},g.prototype.getByName=function(t){var e,r;if(this.updateHash(),this.hash.contains(t.toLowerCase()))return this.hash.get(t.toLowerCase());try{for(var n=__values(this.list),i=n.next();!i.done;i=n.next()){var o=i.value;if(o.name.toLowerCase()==t.toLowerCase())return o}}catch(t){e={error:t}}finally{try{i&&!i.done&&(r=n.return)&&r.call(n)}finally{if(e)throw e.error}}return null},g.prototype.setByName=function(t,e){for(var r=0;r<this.list.length;r++)if(this.getByIndex(r).name.toLowerCase()==t.toLowerCase())return this.list[r]=e,void(this.needUpdateHash=!0);this.list.push(e)},g.prototype.updateHash=function(){var e,t;if(this.lastCount!=this.length&&(this.lastCount=this.length,this.needUpdateHash=!0),this.needUpdateHash){this.hash.clear();try{for(var r=__values(this.list),n=r.next();!n.done;n=r.next()){var i=n.value;this.hash.set(i.name.toLowerCase(),i)}}catch(t){e={error:t}}finally{try{n&&!n.done&&(t=r.return)&&t.call(r)}finally{if(e)throw e.error}}this.needUpdateHash=!1}},g.prototype.getCustomChartStyle=function(t){var e;return null!=(i.isNullOrWhiteSpace(t)?null:this.getByName(t))?new u.Report["Chart"].StiCustomStyle(t):null},g.prototype.getCustomGaugeStyle=function(e){var t=i.isNullOrWhiteSpace(e)?null:this.toList().firstOrDefault(function(t){return t.name==e});return null!=t?new u.Report["Gauge"].StiCustomGaugeStyle(t):null},s=g,p.StiStylesCollection=s}(Stimulsoft=Stimulsoft||{}),function(u){var t,e,K,Z,c,r,q,$,tt,et,rt,nt,it,ot,at,st,lt,ut,n;function i(t){this._showReportTitles=!0,this._showReportSummaries=!0,this._showPageHeaders=!0,this._showPageFooters=!0,this._showGroupHeaders=!0,this._showGroupFooters=!0,this._showHeaders=!0,this._showDatas=!0,this._showFooters=!0,this._showBorders=!0,this._maxNestedLevel=3,this._nestedFactor=r.Normal,this.report=t}e=t=u.Report||(u.Report={}),K=u.System.StiString,Z=u.Report.Dictionary.StiFunctionsStrings,c=u.Report.Styles.StiStyle,r=u.Report.StiNestedFactor,q=u.Base.Drawing.StiSolidBrush,$=u.System.Drawing.FontStyle,tt=u.Report.Styles.StiStyleConditionOperation,et=u.Base.Localization.StiLocalization,rt=u.Report.Styles.StiStyleComponentPlacement,nt=u.System.Drawing.Font,it=u.Report.Styles.StiStyleComponentType,ot=u.Base.Drawing.StiPenStyle,at=u.Base.Drawing.StiBorderSides,st=u.Base.Drawing.StiBorder,lt=u.Base.Drawing.StiColorUtils,ut=u.System.Drawing.Color,Object.defineProperty(i.prototype,"showReportTitles",{get:function(){return this._showReportTitles},set:function(t){this._showReportTitles=t},enumerable:!1,configurable:!0}),Object.defineProperty(i.prototype,"showReportSummaries",{get:function(){return this._showReportSummaries},set:function(t){this._showReportSummaries=t},enumerable:!1,configurable:!0}),Object.defineProperty(i.prototype,"showPageHeaders",{get:function(){return this._showPageHeaders},set:function(t){this._showPageHeaders=t},enumerable:!1,configurable:!0}),Object.defineProperty(i.prototype,"showPageFooters",{get:function(){return this._showPageFooters},set:function(t){this._showPageFooters=t},enumerable:!1,configurable:!0}),Object.defineProperty(i.prototype,"showGroupHeaders",{get:function(){return this._showGroupHeaders},set:function(t){this._showGroupHeaders=t},enumerable:!1,configurable:!0}),Object.defineProperty(i.prototype,"showGroupFooters",{get:function(){return this._showGroupFooters},set:function(t){this._showGroupFooters=t},enumerable:!1,configurable:!0}),Object.defineProperty(i.prototype,"showHeaders",{get:function(){return this._showHeaders},set:function(t){this._showHeaders=t},enumerable:!1,configurable:!0}),Object.defineProperty(i.prototype,"showDatas",{get:function(){return this._showDatas},set:function(t){this._showDatas=t},enumerable:!1,configurable:!0}),Object.defineProperty(i.prototype,"showFooters",{get:function(){return this._showFooters},set:function(t){this._showFooters=t},enumerable:!1,configurable:!0}),Object.defineProperty(i.prototype,"showBorders",{get:function(){return this._showBorders},set:function(t){this._showBorders=t},enumerable:!1,configurable:!0}),Object.defineProperty(i.prototype,"colorFactor",{get:function(){if(this.nestedFactor==r.High)return 1.5;if(this.nestedFactor==r.Normal)return 1;return.5},enumerable:!1,configurable:!0}),Object.defineProperty(i.prototype,"maxNestedLevel",{get:function(){return this._maxNestedLevel},set:function(t){this._maxNestedLevel=t},enumerable:!1,configurable:!0}),Object.defineProperty(i.prototype,"nestedFactor",{get:function(){return this._nestedFactor},set:function(t){this._nestedFactor=t},enumerable:!1,configurable:!0}),i.prototype.createStyles=function(t,e){var r,n;ut.fromArgb(0,0,0,0).equals(e)&&(e=ut.white);var i=(e.r+e.g+e.b)/3,o=lt.dark(e,100*this.colorFactor),a=new st(at.None,o,1,ot.Solid),s=it.Text|it.Image|it.Primitive|it.CheckBox,l=[],u,c,p,h,m,d,d,m,c,d,u,p,h,p,g,c,f,S,y,y,y,c,g,f,S,S;if(this.showReportTitles&&(u=new nt("Arial",14,$.Bold),c=150<i?lt.dark(e,200):e,p=new q(ut.transparent),h=new q(c),m=Z.toProperCase(et.get("Components","StiReportTitleBand")).stimulsoft.replaceAll(" ","_"),d=K.format("{0}_{1}1",t,m),this.createStyles1(d,this.showBorders,u,p,h,a,s,rt.ReportTitle,1,tt.EqualTo,l),u=new nt("Arial",10,$.Bold),d=K.format("{0}_{1}2",t,m),this.createStyles1(d,this.showBorders,u,p,h,a,s,rt.ReportTitle,2,tt.GreaterThanOrEqualTo,l)),this.showReportSummaries&&(m=new nt("Arial",12,$.Bold),c=150<i?lt.dark(e,200):e,d=new q(ut.transparent),u=new q(c),p=Z.toProperCase(et.get("Components","StiReportSummaryBand")).stimulsoft.replaceAll(" ","_"),h=K.format("{0}_{1}1",t,p),this.createStyles1(h,this.showBorders,m,d,u,a,s,rt.ReportSummary,1,tt.EqualTo,l),m=new nt("Arial",10,$.Bold),p=K.format("{0}_{1}2",t,p),this.createStyles1(p,this.showBorders,m,d,u,a,s,rt.ReportSummary,2,tt.GreaterThanOrEqualTo,l)),this.showPageHeaders&&(g=new nt("Arial",10),c=150<i?lt.dark(e,200):e,f=new q(ut.transparent),S=new q(c),y=Z.toProperCase(et.get("Components","StiPageHeaderBand")).stimulsoft.replaceAll(" ","_"),y=K.format("{0}_{1}",t,y),this.createStyles1(y,this.showBorders,g,f,S,a,s,rt.PageHeader,null,null,l)),this.showPageFooters&&(y=new nt("Arial",10),c=150<i?lt.dark(e,200):e,g=new q(ut.transparent),f=new q(c),S=Z.toProperCase(et.get("Components","StiPageFooterBand")).stimulsoft.replaceAll(" ","_"),S=K.format("{0}_{1}",t,S),this.createStyles1(S,this.showBorders,y,g,f,a,s,rt.PageFooter,null,null,l)),this.showGroupHeaders)for(var A=4/this.maxNestedLevel,c=150<i?lt.dark(e,150):e,b=new q(c),C=1;C<=this.maxNestedLevel;C++){var v=Math.trunc(A*(C-1)),w=new nt("Arial",13-v,$.Bold),B=new q(ut.transparent),I=C==this.maxNestedLevel?tt.GreaterThanOrEqualTo:tt.EqualTo,T=Z.toProperCase(et.get("Components","StiGroupHeaderBand")).stimulsoft.replaceAll(" ","_"),T=K.format("{0}_{1}{2}",t,T,C);this.createStyles1(T,this.showBorders,w,B,b,a,s,rt.GroupHeader,C,I,l)}if(this.showGroupFooters)for(var A=4/this.maxNestedLevel,c=150<i?lt.dark(e,150):e,E=new q(c),C=1;C<=this.maxNestedLevel;C++){var v=Math.trunc(A*(C-1)),R=new nt("Arial",13-v,$.Bold),D=new q(ut.transparent),I=0==C?tt.GreaterThanOrEqualTo:tt.EqualTo,P=Z.toProperCase(et.get("Components","StiGroupFooterBand")).stimulsoft.replaceAll(" ","_"),P=K.format("{0}_{1}{2}",t,P,C);this.createStyles1(P,this.showBorders,R,D,E,a,s,rt.GroupFooter,C,I,l)}if(this.showHeaders){var x=100/this.maxNestedLevel,F=new nt("Arial",8,$.Bold),c=lt.dark(e,200),N=new q(c);a.topmost=!0;for(var C=1,k;C<=this.maxNestedLevel;C++){255<(k=Math.trunc(x*(C-1)*this.colorFactor))&&(k=255);var M=new q(lt.light(e,k)),I=C==this.maxNestedLevel?tt.GreaterThanOrEqualTo:tt.EqualTo,O=Z.toProperCase(et.get("Components","StiHeaderBand")).stimulsoft.replaceAll(" ","_"),O=K.format("{0}_{1}{2}",t,O,C);this.createStyles1(O,this.showBorders,F,M,N,a,s,rt.Header,C,I,l)}}if(this.showDatas)for(var x=60/this.maxNestedLevel,_=new nt("Arial",8),c=lt.dark(e,200),j=new q(c),C=1,k;C<=this.maxNestedLevel;C++){255<(k=Math.trunc((150+x*(C-1))*this.colorFactor))&&(k=255);var G=new q(lt.light(e,k)),H=new q(lt.light(e,.5*k)),I=C==this.maxNestedLevel?tt.GreaterThanOrEqualTo:tt.EqualTo,Q=Z.toProperCase(et.get("Components","StiDataBand")).stimulsoft.replaceAll(" ","_"),Q=K.format("{0}_{1}{2}",t,Q,C);this.createStyles1(Q,this.showBorders,_,new q(ut.transparent),j,a,s,rt.Data,C,I,l),Q=Z.toProperCase(et.get("Components","StiDataBand")).stimulsoft.replaceAll(" ","_");var L=et.get("PropertyMain","OddStyle");Q=K.format("{0}_{1}{2}_{3}",t,Q,C,L),this.createStyles1(Q,this.showBorders,_,G,j,a,null,rt.DataOddStyle,C,I,l),Q=Z.toProperCase(
et.get("Components","StiDataBand")).stimulsoft.replaceAll(" ","_");var G=et.get("PropertyMain","EvenStyle");Q=K.format("{0}_{1}{2}_{3}",t,Q,C,G),this.createStyles1(Q,this.showBorders,_,H,j,a,null,rt.DataEvenStyle,C,I,l)}if(this.showFooters)for(var x=100/this.maxNestedLevel,Y=new nt("Arial",8),c=lt.dark(e,200),U=new q(c),C=1,k;C<=this.maxNestedLevel;C++){255<(k=Math.trunc((x*(C-1)+20)*this.colorFactor))&&(k=255);var J=new q(lt.light(e,k)),I=0==C?tt.GreaterThanOrEqualTo:tt.EqualTo,W=Z.toProperCase(et.get("Components","StiFooterBand")).stimulsoft.replaceAll(" ","_"),W=K.format("{0}_{1}{2}",t,W,C);this.createStyles1(W,this.showBorders,Y,J,U,a,s,rt.Footer,C,I,l)}try{for(var V=__values(l),z=V.next(),X;!z.done;z=V.next()){z.value.collectionName=t}}catch(t){r={error:t}}finally{try{z&&!z.done&&(n=V.return)&&n.call(V)}finally{if(r)throw r.error}}return l},i.prototype.createStyles1=function(t,e,r,n,i,o,a,s,l,u,c){var p,h,m=this.createStyles2(t,r,n,i,o,s,l,u,a,e);try{for(var d=__values(m),g=d.next();!g.done;g=d.next()){var f=g.value;c.push(f)}}catch(t){p={error:t}}finally{try{g&&!g.done&&(h=d.return)&&h.call(d)}finally{if(p)throw p.error}}return m},i.prototype.createStyles2=function(t,e,r,n,i,o,a,s,l,u){var c=[];i=new st(at.None,i.color,i.size,i.style,i.dropShadow,i.shadowSize,i.shadowBrush,i.topmost);var l=this.createStyle(t,e,r,n,i,o,a,s,l);return o==rt.ReportTitle||o==rt.ReportSummary||o==rt.PageFooter||o==rt.PageHeader?l.allowUseBorderSidesFromLocation=!1:l.allowUseBorderSidesFromLocation=u,c.push(l),c},i.prototype.createStyle=function(t,e,r,n,i,o,a,s,l){var t=new c(this.getStyleName(t));t.font=e,t.brush=r,t.textBrush=n,t.border=i;var i=[];return null!=s&&null!=a&&i.push(new u.Report.Styles.Conditions.Elements.StiStyleConditionPlacementNestedLevelElement(a,s)),null!=l&&i.push(new u.Report.Styles.Conditions.Elements.StiStyleConditionComponentTypeElement(l)),i.push(new u.Report.Styles.Conditions.Elements.StiStyleConditionPlacementElement(o)),t.conditions.add(i.stimulsoft.toArray()),t},i.prototype.getStyleName=function(t){var e,r,n=t,i=2;while(1){var o=!1;try{for(var a=(e=void 0,__values(this.report.styles.list)),s=a.next(),l;!s.done;s=a.next()){if(s.value.name==n){o=!0;break}}}catch(t){e={error:t}}finally{try{s&&!s.done&&(r=a.return)&&r.call(a)}finally{if(e)throw e.error}}if(!o)return n;n=K.format("{0}_{1}",t,i),i++}},n=i,e.StiStylesCreator=n}(Stimulsoft=Stimulsoft||{}),function(t){var e,r,n,i,o,a,s,l,u,c,p,h;function m(){}r=e=t.Report||(t.Report={}),i=n=r.Styles||(r.Styles={}),o=t.Report.Components.Gauge.IStiGauge,a=t.Report.Chart.IStiCustomStyleCoreXF,s=t.Report.Chart.IStiCustomStyle,l=t.Report.Chart.IStiChart,u=t.Report.Dashboard.IStiDashboardElementStyle,c=t.Report.Components.StiDataBand,p=t.Report.Components.StiCondition,h=t.Base.Drawing.StiBorderSides,m.getBorderSidesFromLocation=function(t){var e=h.None,r=Math.round2(t.page.unit.convertToHInches(t.left)/10,0),n=Math.round2(t.page.unit.convertToHInches(t.top)/10,0),i=Math.round2(t.page.unit.convertToHInches(t.parent.width)/10,0),o=Math.round2(t.page.unit.convertToHInches(t.parent.height)/10,0),a=Math.round2(t.page.unit.convertToHInches(t.left+t.width)/10,0),t=Math.round2(t.page.unit.convertToHInches(t.top+t.height)/10,0);return r<=0&&(e|=h.Left),n<=0&&(e|=h.Top),i<=a&&(e|=h.Right),o<=t&&(e|=h.Bottom),e},m.changeComponentStyleName=function(t,e,r){if(t.componentStyle==e&&(t.componentStyle=r),null!=t.conditions&&0<t.conditions.count)for(var n=0;n<t.conditions.count;n++){var i=t.conditions.getByIndex(n).stimulsoft.as(p);null!=i&&i.style==e&&(i.style=r)}this.changeDataBandStyleName(t,e,r),this.changeElementStyleName(t,e,r),this.changeChartStyleName(t,e,r),this.changeGaugeStyleName(t,e,r)},m.changeDataBandStyleName=function(t,e,r){var t=t.stimulsoft.as(c);if(null==t)return;t.evenStyle==e&&(t.evenStyle=r),t.oddStyle==e&&(t.oddStyle=r)},m.changeElementStyleName=function(t,e,r){var t=t.stimulsoft.as(u);if(null==t||t.customStyleName!=e)return;t.customStyleName=r},m.changeChartStyleName=function(t,e,r){var t=t.stimulsoft.as(l);if(null==t||t.customStyleName!=e)return;t.customStyleName=r;var t=t.style.stimulsoft.as(s);if(null==t)return;t.name=r;var t=t.core.stimulsoft.as(a);if(null==t)return;t.reportStyleName=r},m.changeGaugeStyleName=function(t,e,r){var t=t.stimulsoft.as(o);if(null==t||t.customStyleName!=e)return;t.customStyleName=r},r=m,i.StiStylesHelper=r}(Stimulsoft=Stimulsoft||{}),function(t){var e,r,n,t,i;function o(){return null!==i&&i.apply(this,arguments)||this}r=e=t.Report||(t.Report={}),t=n=r.Units||(r.Units={}),i=t.StiUnit,__extends(o,i),Object.defineProperty(o.prototype,"rulerStep",{get:function(){return 1},enumerable:!1,configurable:!0}),Object.defineProperty(o.prototype,"factor",{get:function(){return 100},enumerable:!1,configurable:!0}),Object.defineProperty(o.prototype,"shortName",{get:function(){return"in"},enumerable:!1,configurable:!0}),Object.defineProperty(o.prototype,"name",{get:function(){return"Inches"},enumerable:!1,configurable:!0}),o.prototype.convertToHInches=function(t){return 100*t},o.prototype.convertFromHInches=function(t){return t/100},r=o,t.StiInchesUnit=r}(Stimulsoft=Stimulsoft||{}),function(t){var e,t,r,n;t=e=t.Report||(t.Report={}),t=r=t.Viewer||(t.Viewer={}),(t=n=t.StiPreviewSettings||(t.StiPreviewSettings={}))[t["All"]=268435455]="All",t[t["None"]=0]="None",t[t["Default"]=268435455]="Default",t[t["PageViewMode"]=1]="PageViewMode",t[t["VertScrollBar"]=2]="VertScrollBar",t[t["HorScrollBar"]=4]="HorScrollBar",t[t["StatusBar"]=8]="StatusBar",t[t["Print"]=16]="Print",t[t["Open"]=32]="Open",t[t["Save"]=64]="Save",t[t["Parameters"]=128]="Parameters",t[t["SendEMail"]=256]="SendEMail",t[t["PageNew"]=512]="PageNew",t[t["PageDelete"]=1024]="PageDelete",t[t["PageDesign"]=2048]="PageDesign",t[t["PageSize"]=4096]="PageSize",t[t["Resources"]=8192]="Resources",t[t["Editor"]=65536]="Editor",t[t["Find"]=131072]="Find",t[t["Zoom"]=262144]="Zoom",t[t["PageControl"]=524288]="PageControl",t[t["Bookmarks"]=1048576]="Bookmarks",t[t["Thumbs"]=2097152]="Thumbs",t[t["ContextMenu"]=4194304]="ContextMenu",t[t["Close"]=8388608]="Close",t[t["Toolbar"]=16777216]="Toolbar"}(Stimulsoft=Stimulsoft||{}),function(t){var e,r;(r=e=t.Report||(t.Report={})).IStiIgnoryStyle=new t.System.Interface("IStiIgnoryStyle")}(Stimulsoft=Stimulsoft||{}),function(t){var e,r;(r=e=t.Report||(t.Report={})).IStiInherited=new t.System.Interface("IStiInherited")}(Stimulsoft=Stimulsoft||{}),function(t){var e,r;(r=e=t.Report||(t.Report={})).IStiName=new t.System.Interface("IStiName")}(Stimulsoft=Stimulsoft||{}),function(t){var e,r;(r=e=t.Report||(t.Report={})).IStiStateSaveRestore=new t.System.Interface("IStiStateSaveRestore")}(Stimulsoft=Stimulsoft||{}),function(t){var e,r,n,t;function i(t){this.rows=new n,this.distX=0,this.distY=0,this.report=t}r=e=t.Report||(t.Report={}),n=t.System.Collections.Hashtable,i.prototype.clear=function(){this.rows.clear()},i.prototype.getRow=function(t){var e=this.rows.get(t);return null==e&&(e=new n,this.rows.set(t,e)),e},i.prototype.gett=function(t,e){var e=this.getRow(e+this.distY);return e.containsKey(t+this.distX)?e.get(t+this.distX):0},i.prototype.setCell=function(t,e,r){var n;this.getRow(e).set(t,r)},t=i,r.StiCells=t}(Stimulsoft=Stimulsoft||{}),function(f){var t,e,S,y,r;function n(){}e=t=f.Report||(f.Report={}),S=f.Report.Components.StiConditionsCollection,y=f.System.Collections.Hashtable,n.getConditions=function(t,e){var r,n,i,o;void 0===e&&(e={ref:y});var a=e.ref,s=new S;try{for(var l=__values(t.list),u=l.next();!u.done;u=l.next()){var c=u.value,p=c.conditions;if(0<p.count){try{for(var h=(i=void 0,__values(p.list)),m=h.next();!m.done;m=h.next()){var d=m.value,g=f.System.Guid.newGuidString();d.tag=g,a.add(g,c)}}catch(t){i={error:t}}finally{try{m&&!m.done&&(o=h.return)&&o.call(h)}finally{if(i)throw i.error}}s.addRange(p)}}}catch(t){r={error:t}}finally{try{u&&!u.done&&(n=l.return)&&n.call(l)}finally{if(r)throw r.error}}return s},n.setConditions=function(t,e,r){var n,i,o,a;try{for(var s=__values(t.list),l=s.next(),u;!l.done;l=s.next()){l.value.conditions.clear()}}catch(t){n={error:t}}finally{try{l&&!l.done&&(i=s.return)&&i.call(s)}finally{if(n)throw n.error}}try{for(var c=__values(e.list),p=c.next();!p.done;p=c.next()){var h=p.value,m;null!=h.tag&&r.contains(h.tag)?((m=h.clone()).tag=null,r.get(h.tag).conditions.add(m)):this.setConditionAllComponents(h,t)}}catch(t){o={error:t}}finally{try{p&&!p.done&&(a=c.return)&&a.call(c)}finally{if(o)throw o.error}}},n.setConditionAllComponents=function(t,e){var r,n;try{for(var i=__values(e.list),o=i.next();!o.done;o=i.next()){var a=o.value,s=t.clone();s.tag=null,a.conditions.add(s)}}catch(t){r={error:t}}finally{try{o&&!o.done&&(n=i.return)&&n.call(i)}finally{if(r)throw r.error}}},r=n,e.StiConditionsHelper=r}(Stimulsoft=Stimulsoft||{}),function(e){var t,r,n;function i(){}r=t=e.Report||(e.Report={}),Object.defineProperty(i,"deviceCapsDpi",{get:function(){return 0==this._deviceCapsDpi&&(StiOptions.Engine.fullTrust?this.getDpi():(this._deviceCapsDpi=96,this._graphicsDpi=96,this._graphicsRichTextDpi=96)),this._deviceCapsDpi},enumerable:!1,configurable:!0}),Object.defineProperty(i,"graphicsDpi",{get:function(){return 0==this._graphicsDpi&&(StiOptions.Engine.fullTrust?this.getDpi():(this._deviceCapsDpi=96,this._graphicsDpi=96,this._graphicsRichTextDpi=96)),this._graphicsDpi},enumerable:!1,configurable:!0}),Object.defineProperty(i,"graphicsRichTextDpi",{get:function(){return 0==this._graphicsRichTextDpi&&(StiOptions.Engine.fullTrust?this.getDpi():(this._deviceCapsDpi=96,this._graphicsDpi=96,this._graphicsRichTextDpi=96)),this._graphicsRichTextDpi},enumerable:!1,configurable:!0}),i.getDpi=function(){try{}catch(t){e.System.StiError.showError(t,!1),this._deviceCapsDpi=96,this._graphicsDpi=96}finally{(this._deviceCapsDpi<70||600<this._deviceCapsDpi)&&(this._deviceCapsDpi=96),(this._graphicsDpi<70||600<this._graphicsDpi)&&(this._graphicsDpi=96),this._graphicsRichTextDpi=this._graphicsDpi}var t;96!=this._deviceCapsDpi||96!=this._graphicsDpi||96!=(t=this.getRegistryValue())&&32<t&&t<300&&(this._graphicsRichTextDpi=t)},i.getRegistryValue=function(){var t=null;try{}catch(t){e.System.StiError.showError(t,!1)}return 0},Object.defineProperty(i,"deviceCapsScale",{get:function(){if(StiOptions.Engine.dpiAware){var t=this.deviceCapsDpi;if(96!=t)return 96/t}return 1},enumerable:!1,configurable:!0}),Object.defineProperty(i,"graphicsScale",{get:function(){if(StiOptions.Engine.dpiAware){var t=this._graphicsDpi;if(96!=t)return 96/t}return 1},enumerable:!1,configurable:!0}),Object.defineProperty(i,"graphicsRichTextScale",{get:function(){if(StiOptions.Engine.dpiAware){var t=this._graphicsRichTextDpi;if(96!=t)return 96/t}return 1},enumerable:!1,configurable:!0}),Object.defineProperty(i,"needDeviceCapsScale",{get:function(){return 96!=this.deviceCapsDpi},enumerable:!1,configurable:!0}),Object.defineProperty(i,"needGraphicsScale",{get:function(){return 96!=this.graphicsDpi},enumerable:!1,configurable:!0}),Object.defineProperty(i,"needGraphicsRichTextScale",{get:function(){return 96!=this.graphicsRichTextDpi},enumerable:!1,configurable:!0}),i.LOGPIXELSX=88,i.LOGPIXELSY=90,i._deviceCapsDpi=0,i._graphicsDpi=0,i._graphicsRichTextDpi=0,n=i,r.StiDpiHelper=n}(Stimulsoft=Stimulsoft||{}),function(t){var e;!function(t){var e=(Object.defineProperty(r.prototype,"pageIndex",{get:function(){return this._pageIndex},set:function(t){this._pageIndex=t},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"position",{get:function(){return this._position},set:function(t){this._position=t},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"componentName",{get:function(){return this._componentName},set:function(t){this._componentName=t},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"textValue",{get:function(){return this._textValue},set:function(t){this._textValue=t},enumerable:!1,configurable:!0}),r);function r(t,e,r,n){this._pageIndex=-1,this._position=-1,this._componentName=null,this._textValue=null,this.pageIndex=t,this.position=e,this.componentName=r,this.textValue=n}t.StiEditableItem=e;var e=(Object.defineProperty(n.prototype,"items",{get:function(){return this._items},enumerable:!1,configurable:!0}),n);function n(){this._items=[]}t.StiEditableItemsContainer=e}(e=t.Report||(t.Report={}))}(Stimulsoft=Stimulsoft||{}),function(n){var t,o,a,e;function l(t,e,r,n,i){void 0===e&&(e=!1),void 0===r&&(r=o.ImageFormat.Bmp),void 0===n&&(n=1),void 0===i&&(i=!1),this.imageStore=null,this.imagePackedStore=null,this.imageMaskStore=null,this.imageIndex=null,this.imageFormatStore=null,this.imageHashTable=null,this._useImageComparer=!0,this._useImageCompression=!1,this._useImageTransparency=!1,this._imageSaveFormat=o.ImageFormat.Bmp,this._imageQuality=1,this.imageStore=new Array,this.imagePackedStore=new Array,this.imageMaskStore=new Array,this.imageIndex=new Array,this.imageFormatStore=new Array,this.imageHashTable=new a,this._useImageComparer=t,this._useImageCompression=e,this._useImageTransparency=i,this._imageSaveFormat=r,this._imageQuality=n}o=t=n.Report||(n.Report={}),a=n.System.Collections.Hashtable,l.prototype.clear=function(){this.imageStore.stimulsoft.clear(),this.imageStore=null,this.imagePackedStore.stimulsoft.clear(),this.imagePackedStore=null,this.imageMaskStore.stimulsoft.clear(),this.imageMaskStore=null,this.imageIndex.stimulsoft.clear(),this.imageIndex=null,this.imageFormatStore.stimulsoft.clear(),this.imageFormatStore=null,this.imageHashTable.clear(),this.imageHashTable=null},l.prototype.addImageIntRaw=function(t,e){var r=o.ImageFormat.Jpeg;switch(e){case n.System.Drawing.Imaging.ImageFormat.Gif:r=o.ImageFormat.Gif;break;case n.System.Drawing.Imaging.ImageFormat.Png:r=o.ImageFormat.Png;break;case n.System.Drawing.Imaging.ImageFormat.Bmp:r=o.ImageFormat.Bmp;break}return this.addImageInt(t,r)},l.prototype.addImageInt=function(t,e){void 0===e&&(e=null),null==e&&(e=this._imageSaveFormat);var r=this.imageStore.length,n=null,i=null;if((this._useImageComparer||this._useImageCompression)&&(n=t.bytes),this._useImageComparer&&null!=n){r=l.crcSeed;var o=0,a=n.length;while(0<=--a)r=l.crcTable[255&(r^n[o++])]^r>>8;r^=l.crcSeed}this._useImageCompression?t=null:n=null;var s=-1;return this.imageHashTable.containsKey(r)?s=this.imageHashTable.get(r):(s=this.imageStore.length,this.imageStore.push(t),this.imagePackedStore.push(n),this.imageMaskStore.push(i),this.imageHashTable.add(r,s),this.imageFormatStore.push(e)),this.imageIndex.push(s),i=n=null,s},l.crcSeed=4294967295,l.crcTable=[0,1996959894,3993919788,2567524794,124634137,1886057615,3915621685,2657392035,249268274,2044508324,3772115230,2547177864,162941995,2125561021,3887607047,2428444049,498536548,1789927666,4089016648,2227061214,450548861,1843258603,4107580753,2211677639,325883990,1684777152,4251122042,2321926636,335633487,1661365465,4195302755,2366115317,997073096,1281953886,3579855332,2724688242,1006888145,1258607687,3524101629,2768942443,901097722,1119000684,3686517206,2898065728,853044451,1172266101,3705015759,2882616665,651767980,1373503546,3369554304,3218104598,565507253,1454621731,3485111705,3099436303,671266974,1594198024,3322730930,2970347812,795835527,1483230225,3244367275,3060149565,1994146192,31158534,2563907772,4023717930,1907459465,112637215,2680153253,3904427059,2013776290,251722036,2517215374,3775830040,2137656763,141376813,2439277719,3865271297,1802195444,476864866,2238001368,4066508878,1812370925,453092731,2181625025,4111451223,1706088902,314042704,2344532202,4240017532,1658658271,366619977,2362670323,4224994405,1303535960,984961486,2747007092,3569037538,1256170817,1037604311,2765210733,3554079995,1131014506,879679996,2909243462,3663771856,1141124467,855842277,2852801631,3708648649,1342533948,654459306,3188396048,3373015174,1466479909,544179635,3110523913,3462522015,1591671054,702138776,2966460450,3352799412,1504918807,783551873,3082640443,3233442989,3988292384,2596254646,62317068,1957810842,3939845945,2647816111,81470997,1943803523,3814918930,2489596804,225274430,2053790376,3826175755,2466906013,167816743,2097651377,4027552580,2265490386,503444072,1762050814,4150417245,2154129355,426522225,1852507879,4275313526,2312317920,282753626,1742555852,4189708143,2394877945,397917763,1622183637,3604390888,2714866558,953729732,1340076626,3518719985,2797360999,1068828381,1219638859,3624741850,2936675148,906185462,1090812512,3747672003,2825379669,829329135,1181335161,3412177804,3160834842,628085408,1382605366,3423369109,3138078467,570562233,1426400815,3317316542,2998733608,733239954,1555261956,3268935591,3050360625,752459403,1541320221,2607071920,3965973030,1969922972,40735498,2617837225,3943577151,1913087877,83908371,2512341634,3803740692,2075208622,213261112,2463272603,3855990285,2094854071,198958881,2262029012,4057260610,1759359992,534414190,2176718541,4139329115,1873836001,414664567,2282248934,4279200368,1711684554,285281116,2405801727,4167216745,1634467795,376229701,2685067896,3608007406,1308918612,956543938,2808555105,3495958263,1231636301,1047427035,2932959818,3654703836,1088359270,936918e3,2847714899,3736837829,1202900863,817233897,3183342108,3401237130,1404277552,615818150,3134207493,3453421203,1423857449,601450431,3009837614,3294710456,1567103746,711928724,3020668471,3272380065,1510334235,755167117],e=l,o.StiImageCache=e}(Stimulsoft=Stimulsoft||{}),function(t){var e,r,T,I,x,E,R,J,W,V,z,X,t;function n(){}r=e=t.Report||(t.Report={}),T=t.Report.Dictionary.StiBusinessObjectsCollection,I=t.Report.Dictionary.StiDatabaseCollection,x=t.Report.Dictionary.StiDataRelationsCollection,E=t.Report.Dictionary.StiDataSourcesCollection,R=t.Report.Dictionary.StiVariablesCollection,J=t.Report.Components.IStiMasterComponent,W=t.Report.Components.StiContainer,V=t.Report.Components.StiComponent,z=t.Report.Components.StiPage,X=t.System.Collections.Hashtable,n.compare=function(t,e){this.compareComponents(t,e),this.compareVariables(t,e),this.compareDataSources(t,e),this.compareRelations(t,e),this.compareBusinessObjects(t,e),this.compareDatabases(t,e),this.compareEvents(t,e)},n.compareComponents=function(t,e){var r,n,i,o,a,s,l,u,c,p,h,m,d,g,f=t.getComponents(),S=e.getComponents(),y=new X,A=new X;try{for(var b=__values(S.list),C=b.next();!C.done;C=b.next()){var v=C.value;A.set(v.name,v)}}catch(t){r={error:t}}finally{try{C&&!C.done&&(n=b.return)&&n.call(b)}finally{if(r)throw r.error}}try{for(var w=__values(f.list),B=w.next();!B.done;B=w.next()){var I=B.value,v;if(I.inherited||I.is(z))if(null==(v=A.get(I.name)))I.is(z)?0==I.components.count&&t.pages.remove(I):I.parent.components.remove(I);else{var T=null,E=v.as(W),R,R,D;if(T=null!=E?E.clone(!0,!1):v.clone(!0),y.set(I.name,T),I.is(z)?(R=t.pages.indexOf(I),t.pages.removeAt(R),t.pages.insert(R,T)):(R=I.parent.components.indexOf(I),I.parent.components.removeAt(R),I.parent.components.insert(R,T)),null!=(D=I.as(W)))try{for(var P=(a=void 0,__values(D.components.list)),x=P.next();!x.done;x=P.next()){var F=x.value;T.components.add(F)}}catch(t){a={error:t}}finally{try{x&&!x.done&&(s=P.return)&&s.call(P)}finally{if(a)throw a.error}}}}}catch(t){i={error:t}}finally{try{B&&!B.done&&(o=w.return)&&o.call(w)}finally{if(i)throw i.error}}try{for(var N=__values(S.list),k=N.next();!k.done;k=N.next()){var I=k.value,T,D,M,R;null==y.get(I.name)&&(T=(T=null)!=(D=I.as(W))?D.clone(!0,!1):I.clone(!0),I.is(z)?t.pages.add(T):(M=y.get(I.parent.name),0<=(R=this.getPositionForComponent(I,M))&&R<M.components.count?M.components.insert(R,T):M.components.add(T)),y.set(T.name,T))}}catch(t){l={error:t}}finally{try{k&&!k.done&&(u=N.return)&&u.call(N)}finally{if(l)throw l.error}}f=t.getComponents();try{for(var O=__values(f.list),_=O.next();!_.done;_=O.next()){var I=_.value;y.set(I.name,I)}}catch(t){c={error:t}}finally{try{_&&!_.done&&(p=O.return)&&p.call(O)}finally{if(c)throw c.error}}try{for(var j=__values(f.list),G=j.next();!G.done;G=j.next()){var I,H=(I=G.value).as(J),Q,Q;null!=H&&null!=H.masterComponent&&(Q=H.masterComponent.name,null!=(Q=y.get(Q).as(V))&&(H.masterComponent=Q))}}catch(t){h={error:t}}finally{try{G&&!G.done&&(m=j.return)&&m.call(j)}finally{if(h)throw h.error}}try{for(var L=__values(t.pages.list),Y=L.next();!Y.done;Y=L.next()){var U=Y.value;U.report=t,this.setParent(U,U,U),U.sortByPriority()}}catch(t){d={error:t}}finally{try{Y&&!Y.done&&(g=L.return)&&g.call(L)}finally{if(d)throw d.error}}},n.getPositionForComponent=function(t,e){var r=t.parent,n=r.components.indexOf(t);while(0<n){var i=r.components.getByIndex(n-1),o;if(-1!=(o=e.components.indexOf(i.name)))return o+1;n--}n=r.components.indexOf(t);while(n<r.components.count-1){var i=r.components.getByIndex(n+1),o;if(-1!=(o=e.components.indexOf(i.name)))return o;n++}return 0},n.setParent=function(t,e,r){var n,i;if(t.page=e,null!=(r=t.as(W)))try{for(var o=__values(r.components.list),a=o.next();!a.done;a=o.next()){var s=a.value;this.setParent(s,e,r)}}catch(t){n={error:t}}finally{try{a&&!a.done&&(i=o.return)&&i.call(o)}finally{if(n)throw n.error}}},n.compareVariables=function(t,e){var r,n,i,o,a,s,l,u,c=new R;try{for(var p=__values(t.dictionary.variables.list),h=p.next();!h.done;h=p.next()){var m=h.value;c.add(m)}}catch(t){r={error:t}}finally{try{h&&!h.done&&(n=p.return)&&n.call(p)}finally{if(r)throw r.error}}var d=new X,g=new X;try{for(var f=__values(e.dictionary.variables.list),S=f.next();!S.done;S=f.next()){var y=S.value;g.set(y.name,y)}}catch(t){i={error:t}}finally{try{S&&!S.done&&(o=f.return)&&o.call(f)}finally{if(i)throw i.error}}try{for(var A=__values(c.list),b=A.next(),m,y,C,v;!b.done;b=A.next()){(m=b.value).inherited&&(null==(y=g.get(m.name))?t.dictionary.variables.remove(m):(d.set(m.name,m),C=y.clone(),v=t.dictionary.variables.indexOf(m),t.dictionary.variables.removeAt(v),t.dictionary.variables.insert(v,C)))}}catch(t){a={error:t}}finally{try{b&&!b.done&&(s=A.return)&&s.call(A)}finally{if(a)throw a.error}}try{for(var w=__values(e.dictionary.variables.list),B=w.next();!B.done;B=w.next()){var m=B.value,C,v;null==d.get(m.name)&&(C=m.clone(),0<=(v=e.dictionary.variables.indexOf(m))&&v<t.dictionary.variables.count?t.dictionary.variables.insert(0,C):t.dictionary.variables.add(C),d.set(C.name,C))}}catch(t){l={error:t}}finally{try{B&&!B.done&&(u=w.return)&&u.call(w)}finally{if(l)throw l.error}}},n.compareDataSources=function(t,e){var r,n,i,o,a,s,l,u,c=new E(null);try{for(var p=__values(t.dictionary.dataSources.list),h=p.next();!h.done;h=p.next()){var m=h.value;c.add(m)}}catch(t){r={error:t}}finally{try{h&&!h.done&&(n=p.return)&&n.call(p)}finally{if(r)throw r.error}}var d=new X,g=new X;try{for(var f=__values(e.dictionary.dataSources.list),S=f.next();!S.done;S=f.next()){var y=S.value;g.set(y.name,y)}}catch(t){i={error:t}}finally{try{S&&!S.done&&(o=f.return)&&o.call(f)}finally{if(i)throw i.error}}try{for(var A=__values(c.list),b=A.next(),m,y,C,v;!b.done;b=A.next()){(m=b.value).inherited&&(null==(y=g.get(m.name))?t.dictionary.dataSources.remove(m):(d.set(m.name,m),(C=y.clone()).dictionary=t.dictionary,v=t.dictionary.dataSources.indexOf(m),t.dictionary.dataSources.removeAt(v),t.dictionary.dataSources.insert(v,C)))}}catch(t){a={error:t}}finally{try{b&&!b.done&&(s=A.return)&&s.call(A)}finally{if(a)throw a.error}}try{for(var w=__values(e.dictionary.dataSources.list),B=w.next();!B.done;B=w.next()){var m=B.value,C,v;null==d.get(m.name)&&((C=m.clone()).dictionary=t.dictionary,0<=(v=e.dictionary.dataSources.indexOf(m))&&v<t.dictionary.dataSources.count?t.dictionary.dataSources.insert(0,C):t.dictionary.dataSources.add(C),d.set(C.name,C))}}catch(t){l={error:t}}finally{try{B&&!B.done&&(u=w.return)&&u.call(w)}finally{if(l)throw l.error}}},n.compareRelations=function(t,e){var r,n,i,o,a,s,l,u,c,p,h=new X;try{for(var m=__values(t.dictionary.dataSources.list),d=m.next();!d.done;d=m.next()){var g=d.value;h.set(g.name,g)}}catch(t){r={error:t}}finally{try{d&&!d.done&&(n=m.return)&&n.call(m)}finally{if(r)throw r.error}}var f=new x(null);try{for(var S=__values(t.dictionary.relations.list),y=S.next();!y.done;y=S.next()){var A=y.value;f.add(A)}}catch(t){i={error:t}}finally{try{y&&!y.done&&(o=S.return)&&o.call(S)}finally{if(i)throw i.error}}var b=new X,C=new X;try{for(var v=__values(e.dictionary.relations.list),w=v.next();!w.done;w=v.next()){var B=w.value;C.set(B.name,B)}}catch(t){a={error:t}}finally{try{w&&!w.done&&(s=v.return)&&s.call(v)}finally{if(a)throw a.error}}try{for(var I=__values(f.list),T=I.next(),A,B,E,R;!T.done;T=I.next()){(A=T.value).inherited&&(null==(B=C.get(A.name))?t.dictionary.relations.remove(A):(b.set(A.name,A),(E=B.clone()).dictionary=t.dictionary,null!=E.parentSource&&(E.parentSource=h.get(E.parentSource.name)),null!=E.childSource&&(E.childSource=h.get(E.childSource.name)),R=t.dictionary.relations.indexOf(A),t.dictionary.relations.removeAt(R),t.dictionary.relations.insert(R,E)))}}catch(t){l={error:t}}finally{try{T&&!T.done&&(u=I.return)&&u.call(I)}finally{if(l)throw l.error}}try{for(var D=__values(e.dictionary.relations.list),P=D.next();!P.done;P=D.next()){var A=P.value,E,R;null==b.get(A.name)&&((E=A.clone()).dictionary=t.dictionary,E.parentSource=h.get(E.parentSource.name),E.childSource=h.get(E.childSource.name),0<=(R=e.dictionary.relations.indexOf(A))&&R<t.dictionary.relations.count?t.dictionary.relations.insert(0,E):t.dictionary.relations.add(E),b.set(E.name,E))}}catch(t){c={error:t}}finally{try{P&&!P.done&&(p=D.return)&&p.call(D)}finally{if(c)throw c.error}}},n.compareDatabases=function(t,e){var r,n,i,o,a,s,l,u,c=new I(null);try{for(var p=__values(t.dictionary.databases.list),h=p.next();!h.done;h=p.next()){var m=h.value;c.add(m)}}catch(t){r={error:t}}finally{try{h&&!h.done&&(n=p.return)&&n.call(p)}finally{if(r)throw r.error}}var d=new X,g=new X;try{for(var f=__values(e.dictionary.databases.list),S=f.next();!S.done;S=f.next()){var y=S.value;g.set(y.name,y)}}catch(t){i={error:t}}finally{try{S&&!S.done&&(o=f.return)&&o.call(f)}finally{if(i)throw i.error}}try{for(var A=__values(c.list),b=A.next(),m,y,C,v;!b.done;b=A.next()){(m=b.value).inherited&&(null==(y=g.get(m.name))?t.dictionary.databases.remove(m):(C=y.clone(),d.set(C.name,m),v=t.dictionary.databases.indexOf(m),t.dictionary.databases.removeAt(v),t.dictionary.databases.insert(v,C)))}}catch(t){a={error:t}}finally{try{b&&!b.done&&(s=A.return)&&s.call(A)}finally{if(a)throw a.error}}try{for(var w=__values(e.dictionary.databases.list),B=w.next();!B.done;B=w.next()){var m=B.value,C,v;null==d.get(m.name)&&(C=m.clone(),0<=(v=e.dictionary.databases.indexOf(m))&&v<t.dictionary.databases.count?t.dictionary.databases.insert(0,C):t.dictionary.databases.add(C),d.set(C.name,C))}}catch(t){l={error:t}}finally{try{B&&!B.done&&(u=w.return)&&u.call(w)}finally{if(l)throw l.error}}},n.compareBusinessObjects=function(t,e){var r,n,i,o,a,s,l,u,c=new T(null,null);try{for(var p=__values(t.dictionary.businessObjects.list),h=p.next();!h.done;h=p.next()){var m=h.value;c.add(m)}}catch(t){r={error:t}}finally{try{h&&!h.done&&(n=p.return)&&n.call(p)}finally{if(r)throw r.error}}var d=new X,g=new X;try{for(var f=__values(e.dictionary.businessObjects.list),S=f.next();!S.done;S=f.next()){var y=S.value;g.set(y.name,y)}}catch(t){i={error:t}}finally{try{S&&!S.done&&(o=f.return)&&o.call(f)}finally{if(i)throw i.error}}try{for(var A=__values(c.list),b=A.next(),m,C,v,w;!b.done;b=A.next()){(m=b.value).inherited&&(null==(C=g.get(m.name))?t.dictionary.businessObjects.remove(m):(d.set(m.name,m),(v=C.clone()).dictionary=t.dictionary,w=t.dictionary.businessObjects.indexOf(m),t.dictionary.businessObjects.removeAt(w),t.dictionary.businessObjects.insert(w,v)))}}catch(t){a={error:t}}finally{try{b&&!b.done&&(s=A.return)&&s.call(A)}finally{if(a)throw a.error}}try{for(var B=__values(e.dictionary.businessObjects.list),I=B.next();!I.done;I=B.next()){var m=I.value,v,w;null==d.get(m.name)&&((v=m.clone()).dictionary=t.dictionary,0<=(w=e.dictionary.businessObjects.indexOf(m))&&w<t.dictionary.businessObjects.count?t.dictionary.businessObjects.insert(0,v):t.dictionary.businessObjects.add(v),d.set(v.name,v))}}catch(t){l={error:t}}finally{try{I&&!I.done&&(u=B.return)&&u.call(B)}finally{if(l)throw l.error}}},n.compareEvents=function(t,e){0<e.beginRenderEvent.script.length&&(t.beginRenderEvent.script=e.beginRenderEvent.script),0<e.endRenderEvent.script.length&&(t.endRenderEvent.script=e.endRenderEvent.script),0<e.renderingEvent.script.length&&(t.renderingEvent.script=e.renderingEvent.script),0<e.exportingEvent.script.length&&(t.exportingEvent.script=e.exportingEvent.script),0<e.exportedEvent.script.length&&(t.exportedEvent.script=e.exportedEvent.script),0<e.printingEvent.script.length&&(t.printingEvent.script=e.printingEvent.script),0<e.printedEvent.script.length&&(t.printedEvent.script=e.printedEvent.script)},t=n,r.StiInheritedReportComparer=t}(Stimulsoft=Stimulsoft||{}),function(t){var e,r,n,t;function i(){this.clearLogOnStart=!0,this.first=!0}r=e=t.Report||(t.Report={}),n=t.System.DateTime,i.prototype.writeLogString=function(t){},i.write1=function(t){t=n.today.toString("yyyy:MM:dd")+", "+n.now.toString("HH:mm")+": "+t},i.write=function(t,e){},i.prototype.closeWriter=function(){},i.prototype.openWriter=function(){},t=i,r.StiLogService=t}(Stimulsoft=Stimulsoft||{}),function(t){var e,r,n,i,o,a,t;function s(t,e){this.name=t,this.tag=e}r=e=t.Report||(t.Report={}),n=t.System.Text.XMLConvert,i=t.Base.StiJson,o=t.Base.JsonReportObject.IStiJsonReportObject,a=t.System.ICloneable,s.prototype.implements=function(){return s.implementsStiMetaTag||(s.implementsStiMetaTag=[o,a]),s.implementsStiMetaTag},s.prototype.saveToJsonObject=function(t){var e=new i;return e.addPropertyStringNullOrEmpty("Name",this.name),e.addPropertyStringNullOrEmpty("Tag",this.tag),e},s.prototype.loadFromJsonObject=function(t){var e,r;try{for(var n=__values(t.properties()),i=n.next();!i.done;i=n.next()){var o=i.value;switch(o.name){case"Name":this.name=o.value;break;case"Tag":this.tag=o.value;break}}}catch(t){e={error:t}}finally{try{i&&!i.done&&(r=n.return)&&r.call(n)}finally{if(e)throw e.error}}},s.prototype.loadFromXml=function(t,e){var r,t;"value"==t.nodeName&&(t=t.textContent.split(","),this.name=n.decodeName(t[0]),this.tag=n.decodeName(t[1]))},s.prototype.clone=function(){return new s(this.name,this.tag)},t=s,r.StiMetaTag=t}(Stimulsoft=Stimulsoft||{}),function(t){var e,s,r,n,l,i,o,t,a;function u(){return null!==a&&a.apply(this,arguments)||this}s=e=t.Report||(t.Report={}),n=r=s.Dictionary||(s.Dictionary={}),l=t.Base.StiJson,i=t.Base.JsonReportObject.IStiJsonReportObject,o=t.System.ICloneable,t=t.System.Collections.CollectionBase,__extends(u,a=t),u.prototype.implements=function(){return u.implementsStiMetaTagCollection||(u.implementsStiMetaTagCollection=[i,o]),u.implementsStiMetaTagCollection},u.prototype.saveToJsonObject=function(t){var e,r;if(0==this.list.length)return null;var n=new l,i=0;try{for(var o=__values(this.list),a=o.next();!a.done;a=o.next()){var s=a.value;n.addPropertyJObject(i.toString(),s.saveToJsonObject(t)),i++}}catch(t){e={error:t}}finally{try{a&&!a.done&&(r=o.return)&&r.call(o)}finally{if(e)throw e.error}}return n},u.prototype.loadFromJsonObject=function(t){var e,r;try{for(var n=__values(t.properties()),i=n.next();!i.done;i=n.next()){var o=i.value,a=new s.StiMetaTag(null,null);a.loadFromJsonObject(o.value),this.list.push(a)}}catch(t){e={error:t}}finally{try{i&&!i.done&&(r=n.return)&&r.call(n)}finally{if(e)throw e.error}}},u.prototype.loadFromXml=function(t,e){for(var r=0;r<t.childNodes.length;r++){var n=t.childNodes[r],i=new s.StiMetaTag(null,null);i.loadFromXml(n,e),this.list.push(i)}},u.prototype.add2=function(t,e){this.list.push(new s.StiMetaTag(t,e))},u.prototype.add=function(t){this.list.push(t)},u.prototype.addRange=function(t){var e,r;try{for(var n=__values(t),i=n.next();!i.done;i=n.next()){var o=i.value;this.add(o)}}catch(t){e={error:t}}finally{try{i&&!i.done&&(r=n.return)&&r.call(n)}finally{if(e)throw e.error}}},u.prototype.addRange2=function(t){var e,r;try{for(var n=__values(t.list),i=n.next();!i.done;i=n.next()){var o=i.value;this.add(o)}}catch(t){e={error:t}}finally{try{i&&!i.done&&(r=n.return)&&r.call(n)}finally{if(e)throw e.error}}},u.prototype.contains=function(t){return this.list.stimulsoft.contains(t)},u.prototype.indexOf=function(t){return this.list.indexOf(t)},u.prototype.insert=function(t,e){this.list.stimulsoft.insert(t,e)},u.prototype.remove=function(t){this.list.stimulsoft.remove(t)},u.prototype.getByIndex=function(t){return this.list[t]},u.prototype.setByIndex=function(t,e){this.list[t]=e},u.prototype.getByName=function(t){var e,r;try{for(var n=__values(this.list),i=n.next();!i.done;i=n.next()){var o=i.value;if(o.name==t)return o}}catch(t){e={error:t}}finally{try{i&&!i.done&&(r=n.return)&&r.call(n)}finally{if(e)throw e.error}}return null},u.prototype.setByName=function(t,e){for(var r=0,n;r<this.list.length;r++){if(this.list[r].name==t)return void(this.list[r]=e)}this.list.push(e)},u.prototype.clone=function(){var e,t,r=new u;try{for(var n=__values(this.list),i=n.next();!i.done;i=n.next()){var o=i.value;r.add(o.clone())}}catch(t){e={error:t}}finally{try{i&&!i.done&&(t=n.return)&&t.call(n)}finally{if(e)throw e.error}}return r},t=u,n.StiMetaTagCollection=t}(Stimulsoft=Stimulsoft||{}),function(t){var e,r,n,t;function i(){this._culture=n.currentCulture}r=e=t.Report||(t.Report={}),n=t.System.Globalization.CultureInfo,Object.defineProperty(i.prototype,"culture",{get:function(){return this._culture},set:function(t){this._culture=t},enumerable:!1,configurable:!0}),i.prototype.getString=function(t){return t},i.prototype.getObject=function(t){return null},t=i,r.StiNullGlobalizationManager=t}(Stimulsoft=Stimulsoft||{}),function(t){var e,r,n,i,t;function o(){}r=e=t.Report||(t.Report={}),n=t.System.Data.DBNull,i=t.Report.Dictionary.StiDataColumn,o.isNull=function(t,e){var e=i.getDataFromDataColumn(t.dictionary,e);return null==e||e==n.value},t=o,r.StiNullValuesHelper=t}(Stimulsoft=Stimulsoft||{}),function(At){var t;!function(F){var e=At.System.NodeJs,C=At.Base.StiExportNotSupportedException,v=At.Report.Chart.StiExportAssembly,T=At.Report.Events.StiRefreshingEvent,i=At.Report.CodeDom.StiCodeGenerator,r=At.Report.Dictionary.StiMetaTagCollection,a=At.Base.IStiGetFonts,s=At.System.StiArray,N=At.System.Drawing.Graphics,w=At.System.StiError,k=At.System.StiString,l=At.System.StiObject,u=At.Report.Export.StiHtmlExportBookmarksMode,n=At.Base.StiKeyHelper,t=At.Base.IStiAppCell,o=At.Base.IStiApp,c=At.Base.Helpers.StiValueHelper,p=At.Base.Drawing.StiSolidBrush,h=At.Base.StiDashboardNotSupportedException,m=At.Base.JsonReportObject.IStiJsonReportObject,d=At.Base.StiActivator,g=At.System.EventHandler,B=At.Report.Export.StiExcelType,I=At.Report.Export.StiDataType,M=At.System.Globalization.CultureInfo,f=At.Base.vEIvF.WJBUs,S=At.Report.Events.StiExportEventArgs,E=At.Report.Events.StiPrintedEvent,R=At.Report.Events.StiPrintingEvent,D=At.Report.Events.StiExportedEvent,P=At.Report.Events.StiEndRenderEvent,x=At.Report.Events.StiRenderingEvent,O=At.Report.Events.StiBeginRenderEvent,_=At.Report.Events.StiExportingEvent,j=At.Report.Events.StiReportCacheProcessingEvent,y=At.System.EventArgs,G=At.System.IO.MemoryStream,H=At.Report.Export.StiHtmlExportMode,A=At.Base.StiEncryption,b=At.Base.StiConvert,Q=At.System.Xml.XmlConverter,L=At.System.Xml.XmlNode,Y=At.System.Data.DBNull,U=At.Base.StiJsonSaveMode,J=At.Report.Styles.StiStyleComponentPlacement,W=At.Report.Units.StiUnit,V=At.Report.Components.StiPagesCollection,z=At.Report.Components.IStiUnitConvert,X=At.Base.Localization.StiLocalization,K=At.System.Collections.Hashtable,Z=At.Report.Components.StiBookmark,q=At.Report.Components.StiText,$=At.Report.Styles.StiStylesCollection,tt=At.Report.Engine.StiRenderState,et=At.Report.Engine.StiParser.StiParser,rt=At.Base.StiJson,nt=At.System.DateTime,it=At.System.Guid,ot=At.Report.Engine.StiBookmarksHelper,at=At.Report.Dictionary.StiBusinessObjectData,st=At.Report.Components.StiPage,lt=At.Report.Components.StiComponentsCollection,ut=At.System.Enum,ct=At.Report.Components.StiDataBand,pt=At.Base.StiGZipHelper,ht=At.System.IO.TextWriter,mt=At.Base.IStiReport,dt=At.System.Data.JsonRelationDirection,gt=(ft.prototype.clean=function(){this.masterComponents.stimulsoft.clear(),this.masterComponents=null,this.clones.stimulsoft.clear(),this.clones=null,this.dialogInfo.stimulsoft.clear(),this.dialogInfo=null,this.barcodeTypes.stimulsoft.clear(),this.barcodeTypes=null,this.textFormatTypes.stimulsoft.clear(),this.textFormatTypes=null,this.refNames.stimulsoft.clear(),this.refNames=null},ft);function ft(){this.masterComponents=[],this.clones=[],this.dialogInfo=[],this.barcodeTypes=[],this.textFormatTypes=[],this.refNames=[]}F.StiJsonLoaderHelper=gt;var St=(yt.prototype.implements=function(){return[z,mt,m,o,t,a]},yt.prototype.is=function(t){if(t instanceof At.System.Interface)return-1!=this.implements().indexOf(t);if("function"==typeof t)return this instanceof t;if(null==t)throw new Error("Type for comparison is 'undefined'");return!1},yt.prototype.is2=function(t){return this.is(t)},yt.prototype.as=function(t){if(this.is(t))return this;return null},yt.assignSignature=function(t,e){k.isNullOrWhiteSpace(t.reportGuid)&&t.generateReportGuid(),t[["li","ce","ns","eK","ey"].join("")]=f.encrypt(At.Base[["St","iL","ic","en","se"].join("")].key,t.reportGuid)},yt.prototype.saveToJsonInternal=function(t){var e=M.currentCulture;try{M.currentCulture=M.cultures["en-US"],this.updateReportVersion();var r=new rt("");return r.addPropertyStringNullOrEmpty("ReportVersion",this.reportVersion),r.addPropertyStringNullOrEmpty("ReportGuid",this._reportGuid),r.addPropertyStringNullOrEmpty("ReportName",this._reportName),r.addPropertyStringNullOrEmpty("ReportAlias",this._reportAlias),r.addPropertyStringNullOrEmpty("ReportFile",this._reportFile),r.addPropertyStringNullOrEmpty("ReportAuthor",this._reportAuthor),r.addPropertyStringNullOrEmpty("ReportDescription",this._reportDescription),r.addPropertyDateTime("ReportCreated",this.reportCreated),r.addPropertyDateTime("ReportChanged",this.reportChanged),r.addPropertyString("EngineVersion","EngineV2"),r.addPropertyEnum("NumberOfPass",F.StiNumberOfPass,this.numberOfPass,F.StiNumberOfPass.SinglePass),r.addPropertyEnum("CalculationMode",F.StiCalculationMode,this._calculationMode,F.StiCalculationMode.Compilation),r.addPropertyEnum("ReportUnit",F.StiReportUnitType,this.reportUnit,null),r.addPropertyBool("CacheAllData",this.cacheAllData),r.addPropertyBool("RetrieveOnlyUsedData",this.retrieveOnlyUsedData),r.addPropertyEnum("ReportCacheMode",F.StiReportCacheMode,this.reportCacheMode,F.StiReportCacheMode.Off),r.addPropertyBool("ConvertNulls",this.convertNulls,!0),r.addPropertyNumber("StopBeforePage",this.stopBeforePage),r.addPropertyNumber("Collate",this.collate,1),r.addPropertyEnum("ScriptLanguage",F.StiReportLanguageType,this.scriptLanguage,F.StiReportLanguageType.JS),r.addPropertyBool("AutoLocalizeReportOnRun",this.autoLocalizeReportOnRun),r.addPropertyBool("RequestParameters",this.requestParameters),r.addPropertyBool("CacheTotals",this.cacheTotals),r.addPropertyStringNullOrEmpty("Culture",this.culture),r.addPropertyNumber("DashboardViewerSettings",this.dashboardViewerSettings,F.StiDashboardViewerSettings.All),r.addPropertyNumber("PreviewSettings",this.previewSettings,F.StiDashboardViewerSettings.All),null!=this.reportIcon&&r.addPropertyString("ReportIcon",this.reportIcon),null!=this.reportImage&&r.addPropertyString("ReportImage",this.reportImage),t==U.Document?(r.addPropertyJObject("RenderedPages",this.renderedPages.saveToJsonObject(t)),r.addPropertyStringNullOrEmpty("RenderedWith",ut.getName(F.StiRenderedWith,this.renderedWith))):(r.addPropertyNumber("RefreshTime",this.refreshTime,0),r.addPropertyJObject("MetaTags",this.metaTags.saveToJsonObject(t)),r.addPropertyJObject("Styles",this.styles.saveToJsonObject(t)),r.addPropertyJObject("BeginRenderEvent",this.beginRenderEvent.saveToJsonObject(t)),r.addPropertyJObject("RenderingEvent",this.renderingEvent.saveToJsonObject(t)),r.addPropertyJObject("EndRenderEvent",this.endRenderEvent.saveToJsonObject(t)),r.addPropertyJObject("ExportingEvent",this.exportingEvent.saveToJsonObject(t)),r.addPropertyJObject("ExportedEvent",this.exportedEvent.saveToJsonObject(t)),r.addPropertyJObject("PrintingEvent",this.printingEvent.saveToJsonObject(t)),r.addPropertyJObject("PrintedEvent",this.printedEvent.saveToJsonObject(t)),r.addPropertyJObject("RefreshingEvent",this.refreshingEvent.saveToJsonObject(t)),r.addPropertyJObject("ReportCacheProcessingEvent",this.reportCacheProcessingEvent.saveToJsonObject(t)),r.addPropertyJObject("GlobalizationStrings",this.globalizationStrings.saveToJsonObject(t)),r.addPropertyJObject("Dictionary",this.dictionary.saveToJsonObject(t)),r.addPropertyJObject("Pages",this.pages.saveToJsonObject(t))),r.serialize()}finally{M.currentCulture=e}},yt.prototype.loadFromJsonInternal=function(t){var e,r,n,i,o,a,s,l;this.isSerializing=!0;var u=M.currentCulture;try{M.currentCulture=M.cultures["en-US"],this.jsonLoaderHelper=new gt,this.isDocument=!1,this.isRendered=!1,this.pages.clear(),this.dictionary.clear(),this.renderedPages.clear(),this.reportUnit=F.StiReportUnitType.Centimeters;var c=new rt;c.deserialize(t);try{for(var p=__values(c.properties()),h=p.next();!h.done;h=p.next()){var m=h.value,d,d,d,d,d,d,d,d,d;switch(m.name){case"ReportVersion":this._reportVersion=m.value;break;case"ReportGuid":this._reportGuid=m.value;break;case"ReportName":this._reportName=m.value;break;case"ReportAlias":this._reportAlias=m.value;break;case"ReportFile":this._reportFile=m.value;break;case"ReportAuthor":this._reportAuthor=m.value;break;case"ReportIcon":this.reportIcon=m.value;break;case"ReportImage":this.reportImage=m.value;break;case"ReportDescription":this._reportDescription=m.value;break;case"ReportCreated":this.reportCreated=rt.jsonDateFormatToDate(m.value);break;case"ReportChanged":this.reportChanged=rt.jsonDateFormatToDate(m.value);break;case"EngineVersion":break;case"NumberOfPass":this.numberOfPass=ut.parse(F.StiNumberOfPass,m.value);break;case"CalculationMode":this._calculationMode=ut.parse(F.StiCalculationMode,m.value);break;case"ReportUnit":this.reportUnit=ut.parse(F.StiReportUnitType,m.value);break;case"CacheAllData":this.cacheAllData=m.value.stimulsoft.toBoolean();break;case"RetrieveOnlyUsedData":this.retrieveOnlyUsedData=m.value.stimulsoft.toBoolean();break;case"ReportCacheMode":this.reportCacheMode=ut.parse(F.StiReportCacheMode,m.value);break;case"ConvertNulls":this.convertNulls=m.value.stimulsoft.toBoolean();break;case"PreviewMode":break;case"StopBeforePage":this.stopBeforePage=m.value.stimulsoft.toBoolean();break;case"Collate":this.collate=m.value.stimulsoft.toBoolean();break;case"ReferencedAssemblies":break;case"ScriptLanguage":this.scriptLanguage=ut.parse(F.StiReportLanguageType,m.value);break;case"AutoLocalizeReportOnRun":this.autoLocalizeReportOnRun=m.value.stimulsoft.toBoolean();break;case"ParametersOrientation":break;case"RequestParameters":this.requestParameters=m.value.stimulsoft.toBoolean();break;case"CacheTotals":this.cacheTotals=m.value.stimulsoft.toBoolean();break;case"Culture":this.culture=m.value;break;case"Script":break;case"BeginRenderEvent":(d=new O).loadFromJsonObject(m.value),this.beginRenderEvent=d;break;case"RenderingEvent":(d=new x).loadFromJsonObject(m.value),this.renderingEvent=d;break;case"EndRenderEvent":(d=new P).loadFromJsonObject(m.value),this.endRenderEvent=d;break;case"ExportingEvent":(d=new _).loadFromJsonObject(m.value),this.exportingEvent=d;break;case"ExportedEvent":(d=new D).loadFromJsonObject(m.value),this.exportedEvent=d;break;case"PrintingEvent":(d=new R).loadFromJsonObject(m.value),this.printingEvent=d;break;case"PrintedEvent":(d=new E).loadFromJsonObject(m.value),this.printedEvent=d;break;case"RefreshingEvent":(d=new T).loadFromJsonObject(m.value),this.refreshingEvent=d;break;case"ReportCacheProcessingEvent":(d=new j).loadFromJsonObject(m.value),this.reportCacheProcessingEvent=d;break;case"MetaTags":this.metaTags.loadFromJsonObject(m.value);break;case"ReportResources":break;case"GlobalizationStrings":this.globalizationStrings.loadFromJsonObject(m.value);break;case"PrinterSettings":break;case"Styles":this.styles.loadFromJsonObject(m.value);break;case"Dictionary":this.dictionary.loadFromJsonObject(m.value);break;case"Pages":this.isRendered=!1,this.isDocument=!1,this.pages.loadFromJsonObject(m.value);break;case"RenderedPages":this.isRendered=!0,this.isDocument=!0,this.renderedPages.loadFromJsonObject(m.value);break;case"RefreshTime":this.refreshTime=m.value.stimulsoft.toNumber();break;case"RenderedWith":this.renderedWith=ut.parse(F.StiRenderedWith,m.value);break;case"DashboardViewerSettings":this.dashboardViewerSettings=m.value.stimulsoft.toNumber();break}}}catch(t){e={error:t}}finally{try{h&&!h.done&&(r=p.return)&&r.call(p)}finally{if(e)throw e.error}}var g=null;if(0<this.jsonLoaderHelper.masterComponents.length){g=this.getComponents();try{for(var f=__values(this.jsonLoaderHelper.masterComponents),S=f.next();!S.done;S=f.next()){var y=S.value,A=y.stimulsoft.as(At.Report.Chart.IStiChart);if(null!=A){A.masterComponent=g.getByName(A.jsonMasterComponentTemp),A.jsonMasterComponentTemp=null;continue}var y=y.stimulsoft.as(ct);if(null!=y){y.masterComponent=g.getByName(y.jsonMasterComponentTemp),y.jsonMasterComponentTemp=null;continue}}}catch(t){n={error:t}}finally{try{S&&!S.done&&(i=f.return)&&i.call(f)}finally{if(n)throw n.error}}}if(0<this.jsonLoaderHelper.clones.length){null==g&&(g=this.getComponents());try{for(var b=__values(this.jsonLoaderHelper.clones),C=b.next();!C.done;C=b.next()){var v=C.value;v.container=g.getByName(v.jsonContainerValueTemp).as(At.Report.Components.StiContainer),v.jsonContainerValueTemp=null}}catch(t){o={error:t}}finally{try{C&&!C.done&&(a=b.return)&&a.call(b)}finally{if(o)throw o.error}}}if(0<this.jsonLoaderHelper.dialogInfo.length)try{for(var w=__values(this.jsonLoaderHelper.dialogInfo),B=w.next();!B.done;B=w.next()){var I=B.value;I.bindingVariable=this.dictionary.variables.getByName(I.jsonLoadedBindingVariableName),I.jsonLoadedBindingVariableName=null}}catch(t){s={error:t}}finally{try{B&&!B.done&&(l=w.return)&&l.call(w)}finally{if(s)throw s.error}}this.jsonLoaderHelper.clean(),this.jsonLoaderHelper=null}catch(t){throw At.System.StiError.showError(t,!1),t}finally{M.currentCulture=u,this.isSerializing=!1}},yt.prototype.loadFromXmlInternal=function(t){var e,r,n,i,o,a;if("StiSerializer"!=t.firstChild.nodeName)return;var s="StiDocument"==t.firstChild.attributes.getNamedItem("application").value;this.jsonLoaderHelper=new gt,this.isSerializing=!0;var l=M.currentCulture;try{M.currentCulture=M.cultures["en-US"],this.pages.clear(),this.dictionary.clear(),this.renderedPages.clear(),this.reportUnit=F.StiReportUnitType.Centimeters;for(var u=void 0,c=0;c<t.firstChild.childNodes.length;c++){var p=t.firstChild.childNodes[c],h,h,h,h,h,h,h,h,h;if("#text"==p.nodeName)continue;switch(p.nodeName){case"Dictionary":this.dictionary.loadFromXml(p);break;case"Styles":this.styles.loadFromXml(p);break;case"Pages":u=p;break;case"ReportVersion":this._reportVersion=p.textContent;break;case"ReportGuid":this._reportGuid=p.textContent;break;case"ReportName":this._reportName=p.textContent;break;case"ReportAlias":this._reportAlias=p.textContent;break;case"ReportFile":this._reportFile=p.textContent;break;case"ReportAuthor":this._reportAuthor=p.textContent;break;case"ReportIcon":this.reportIcon=p.textContent;break;case"ReportImage":this.reportImage=p.textContent;break;case"ReportDescription":this._reportDescription=p.textContent;break;case"ReportCreated":this.reportCreated=rt.jsonDateFormatToDate(p.textContent);break;case"ReportChanged":this.reportChanged=rt.jsonDateFormatToDate(p.textContent);break;case"EngineVersion":break;case"NumberOfPass":this.numberOfPass=ut.parse(F.StiNumberOfPass,p.textContent);break;case"CalculationMode":this._calculationMode=ut.parse(F.StiCalculationMode,p.textContent);break;case"Unit":if(s)switch(p.getAttribute("type")){case"mm":this.reportUnit=F.StiReportUnitType.Millimeters;break;case"cm":this.reportUnit=F.StiReportUnitType.Centimeters;break;case"hi":this.reportUnit=F.StiReportUnitType.HundredthsOfInch;break;case"in":this.reportUnit=F.StiReportUnitType.Inches;break}break;case"ReportUnit":this.reportUnit=ut.parse(F.StiReportUnitType,p.textContent);break;case"CacheAllData":this.cacheAllData=p.textContent.stimulsoft.toBoolean();break;case"RetrieveOnlyUsedData":this.retrieveOnlyUsedData=p.textContent.stimulsoft.toBoolean();break;case"ReportCacheMode":this.reportCacheMode=ut.parse(F.StiReportCacheMode,p.textContent);break;case"ConvertNulls":this.convertNulls=p.textContent.stimulsoft.toBoolean();break;case"PreviewMode":break;case"StopBeforePage":this.stopBeforePage=p.textContent.stimulsoft.toNumber();break;case"PreviewSettings":this.previewSettings=p.textContent.stimulsoft.toNumber();break;case"DashboardViewerSettings":(this.dashboardViewerSettings=0)<=p.textContent.indexOf("ShowToolBar")&&(this.dashboardViewerSettings|=F.StiDashboardViewerSettings.ShowToolBar),0<=p.textContent.indexOf("ShowRefreshButton")&&(this.dashboardViewerSettings|=F.StiDashboardViewerSettings.ShowRefreshButton),0<=p.textContent.indexOf("ShowOpenButton")&&(this.dashboardViewerSettings|=F.StiDashboardViewerSettings.ShowOpenButton),0<=p.textContent.indexOf("ShowFullScreenButton")&&(this.dashboardViewerSettings|=F.StiDashboardViewerSettings.ShowFullScreenButton),0<=p.textContent.indexOf("ShowMenuButton")&&(this.dashboardViewerSettings|=F.StiDashboardViewerSettings.ShowMenuButton),0<=p.textContent.indexOf("ShowEditButton")&&(this.dashboardViewerSettings|=F.StiDashboardViewerSettings.ShowEditButton),0<=p.textContent.indexOf("ShowReportSnapshots")&&(this.dashboardViewerSettings|=F.StiDashboardViewerSettings.ShowReportSnapshots),0<=p.textContent.indexOf("ShowExports")&&(this.dashboardViewerSettings|=F.StiDashboardViewerSettings.ShowExports);break;case"Collate":this.collate=p.textContent.stimulsoft.toNumber();break;case"ReferencedAssemblies":break;case"ScriptLanguage":this.scriptLanguage=ut.parse(F.StiReportLanguageType,p.textContent);break;case"AutoLocalizeReportOnRun":this.autoLocalizeReportOnRun=p.textContent.stimulsoft.toBoolean();break;case"ParametersOrientation":break;case"RequestParameters":this.requestParameters=p.textContent.stimulsoft.toBoolean();break;case"CacheTotals":this.cacheTotals=p.textContent.stimulsoft.toBoolean();break;case"Culture":this.culture=p.textContent;break;case"Script":this.script=p.textContent;break;case"BeginRenderEvent":(h=new O).script=p.textContent,this.beginRenderEvent=h;break;case"RenderingEvent":(h=new x).script=p.textContent,this.renderingEvent=h;break;case"EndRenderEvent":(h=new P).script=p.textContent,this.endRenderEvent=h;break;case"ExportingEvent":(h=new _).script=p.textContent,this.exportingEvent=h;break;case"ExportedEvent":(h=new D).script=p.textContent,this.exportedEvent=h;break;case"PrintingEvent":(h=new R).script=p.textContent,this.printingEvent=h;break;case"PrintedEvent":(h=new E).script=p.textContent,this.printedEvent=h;break;case"RefreshingEvent":(h=new T).script=p.textContent,this.refreshingEvent=h;break;case"ReportCacheProcessingEvent":(h=new j).script=p.textContent,this.reportCacheProcessingEvent=h;break;case"MetaTags":this.metaTags.loadFromXml(p,s);break;case"ReportResources":break;case"GlobalizationStrings":this.globalizationStrings.loadFromXmlObject(p);break;case"PrinterSettings":break;case"RefreshTime":this.refreshTime=p.textContent.stimulsoft.toNumber();break;case"RenderedWith":this.renderedWith=ut.parse(F.StiRenderedWith,p.textContent);break}}u&&(s?this.renderedPages:this.pages).loadFromXml(u,s);var m=null;if(0<this.jsonLoaderHelper.masterComponents.length){m=this.getComponents();try{for(var d=__values(this.jsonLoaderHelper.masterComponents),g=d.next();!g.done;g=d.next()){var f=g.value,S=f.stimulsoft.as(At.Report.Chart.IStiChart);if(null!=S){S.masterComponent=m.getByName(this.jsonLoaderHelper.refNames[S.jsonMasterComponentTemp]),S.jsonMasterComponentTemp=null;continue}var f=f.stimulsoft.as(ct);if(null!=f){f.masterComponent=m.getByName(this.jsonLoaderHelper.refNames[f.jsonMasterComponentTemp]),f.jsonMasterComponentTemp=null;continue}}}catch(t){e={error:t}}finally{try{g&&!g.done&&(r=d.return)&&r.call(d)}finally{if(e)throw e.error}}}if(0<this.jsonLoaderHelper.clones.length){null==m&&(m=this.getComponents());try{for(var y=__values(this.jsonLoaderHelper.clones),A=y.next();!A.done;A=y.next()){var b=A.value;b.container=m.getByName(this.jsonLoaderHelper.refNames[b.jsonContainerValueTemp]).stimulsoft.as(At.Report.Components.StiContainer),b.jsonContainerValueTemp=null}}catch(t){n={error:t}}finally{try{A&&!A.done&&(i=y.return)&&i.call(y)}finally{if(n)throw n.error}}}if(0<this.jsonLoaderHelper.dialogInfo.length)try{for(var C=__values(this.jsonLoaderHelper.dialogInfo),v=C.next();!v.done;v=C.next()){var w=v.value;w.xmlLoadedBindingVariable&&(w.bindingVariable=At.Report.Dictionary.StiVariable.loadFromXml(w.xmlLoadedBindingVariable,this)),w.xmlLoadedBindingVariable=null}}catch(t){o={error:t}}finally{try{v&&!v.done&&(a=C.return)&&a.call(C)}finally{if(o)throw o.error}}this.jsonLoaderHelper.clean(),this.jsonLoaderHelper=null}catch(t){At.System.StiError.showError(t,!1)}finally{M.currentCulture=l,this.isSerializing=!1}s&&(this.isDocument=!0,this.isRendered=!0)},yt.prototype.isPackedFile=function(t){if(!t)return!1;return 31==t[0]&&139==t[1]&&8==t[2]||80==t[0]&&75==t[1]&&3==t[2]},yt.prototype.load=function(t){try{if(void 0===t||null==t)return;if(t instanceof Array||t instanceof Uint8Array||e.isBuffer(t)){if(this.isPackedFile(t))return void this.loadPacked(t);t=At.System.Text.Encoding.UTF8.getString(t)}"string"==typeof t&&t.trim().stimulsoft.startsWith("<?xml")&&(t=Q.toXml(t)),t.stimulsoft.is(L)?this.loadFromXmlInternal(t):this.loadFromJsonInternal(t)}catch(t){At.System.StiError.showError(t,!1)}},yt.prototype.loadFile=function(t){var e=At.System.IO.File.getFile(t);e&&(this.load(e),this.reportFile=t)},yt.prototype.loadPacked=function(t){try{if(void 0===t||null==t)return;var e=pt.unpack(t);this.load(e)}catch(t){At.System.StiError.showError(t.message,!1)}},yt.prototype.loadPackedFile=function(t){var e=At.System.IO.File.getFile(t,!0);e&&(this.loadPacked(e),this.reportFile=t)},yt.prototype.loadEncryptedReport=function(t,e){try{if(void 0===t||null==t)return;"string"==typeof t&&(t=At.System.Convert.fromBase64String(t));var r=t;if("m"!=String.fromCharCode(r[0])||"r"!=String.fromCharCode(r[1])||"x"!=String.fromCharCode(r[2]))throw new Error("This file is a not '.mrx' format.");for(var n=s.create(Number,r.length-3),i=3;i<r.length;i++)n[i-3]=r[i];n=A.decrypt2(n,e);try{n=pt.unpack(n)}catch(t){throw At.Base.Localization.StiLocalization.get("DesignerFx","DecryptionError")}var o=At.System.Text.Encoding.UTF8.getString(n);this.password=e,this.load(o)}catch(t){At.System.StiError.showError(t,!0)}},yt.prototype.loadEncryptedReportFile=function(t,e){var r=At.System.IO.File.getFile(t,!0);r&&(this.loadEncryptedReport(r,e),this.reportFile=t)},yt.prototype.loadDocument=function(t){try{if(void 0===t||null==t)return;if(t instanceof Array||t instanceof Uint8Array||e.isBuffer(t)){if(this.isPackedFile(t))return this.loadPackedDocument(t),this.isDocument=!0,void(this.isRendered=!0);t=At.System.Text.Encoding.UTF8.getString(t)}"string"==typeof t&&t.trim().stimulsoft.startsWith("<?xml")&&(t=Q.toXml(t)),t.stimulsoft.is(L)?this.loadFromXmlInternal(t):this.loadFromJsonInternal(t)}catch(t){At.System.StiError.showError(t.message,!1)}this.isDocument=!0,this.isRendered=!0},yt.prototype.loadDocumentFile=function(t){var e=At.System.IO.File.getFile(t);e&&(this.loadDocument(e),this.reportFile=t)},yt.prototype.loadPackedDocument=function(t){var e,r;try{if(void 0===t||null==t)return;if(t instanceof Array&&(t=At.System.Text.Encoding.UTF8.getString(t)),t instanceof Uint8Array){for(var n=[],i=0;i!=t.length;++i)n[i]=t[i];t=n}var o=pt.unpack(t);if(o instanceof Uint8Array){var a="";try{for(var s=__values(o),l=s.next();!l.done;l=s.next()){var u=l.value;a+=String.fromCharCode(u)}}catch(t){e={error:t}}finally{try{l&&!l.done&&(r=s.return)&&r.call(s)}finally{if(e)throw e.error}}try{o=a.stimulsoft.fromUnicodeString()}catch(t){o=a}}this.loadDocument(o)}catch(t){if(At.System.StiError.showError(t.message,!1),F.StiLogService.write(this.stimulsoft.getType(),"Loading packed rendered report ...ERROR"),F.StiLogService.write(this.stimulsoft.getType(),t),!StiOptions.Engine.hideExceptions)throw t}},yt.prototype.loadPackedDocumentFile=function(t){var e=At.System.IO.File.getFile(t,!0);e&&(this.loadPackedDocument(e),this.reportFile=t)},yt.prototype.loadEncryptedDocument=function(t,e){try{if(void 0===t||null==t)return;"string"==typeof t&&(t=At.System.Convert.fromBase64String(t));for(var r=new Uint8Array(t),n=[],i=0;i!=r.length;++i)n[i]=r[i];if("m"!=String.fromCharCode(n[0])||"d"!=String.fromCharCode(n[1])||"x"!=String.fromCharCode(n[2]))throw new Error("This file is a not '.mdx' format.");for(var o=s.create(Number,n.length-3),i=3;i<n.length;i++)o[i-3]=n[i];o=A.decrypt2(o,e);try{o=pt.unpack(o)}catch(t){throw At.Base.Localization.StiLocalization.get("DesignerFx","DecryptionError")}var a=At.System.Text.Encoding.UTF8.getString(o);this.password=e,this.loadDocument(a)}catch(t){if(F.StiLogService.write(this.stimulsoft.getType(),"Loading encrypted rendered report ...ERROR"),F.StiLogService.write(this.stimulsoft.getType(),t),At.System.StiError.showError(t,!0),!StiOptions.Engine.hideExceptions)throw t}},yt.prototype.loadEncryptedDocumentFile=function(t,e){var r=At.System.IO.File.getFile(t,!0);r&&(this.loadEncryptedDocument(r,e),this.reportFile=t)},yt.prototype.saveEncryptedReportToByteArray=function(t){var e=this.saveToJsonString(),e=At.System.Text.Encoding.UTF8.getBytes(e),e=pt.pack(e);e=A.encrypt2(e,t);var t=s.create(Number,e.length+3);return t[0]="m".charCodeAt(0),t[1]="r".charCodeAt(0),t[2]="x".charCodeAt(0),e.stimulsoft.copyTo(t,3),t},yt.prototype.saveEncryptedReportToString=function(t){var t=this.saveEncryptedReportToByteArray(t);return At.System.Convert.toBase64String(t)},yt.prototype.saveEncryptedReportFile=function(t,e){var e=this.saveEncryptedReportToString(e);At.System.IO.File.saveFile(t,e)},yt.prototype.saveToJsonString=function(){try{return this.saveToJsonInternal(U.Report)}catch(t){At.System.StiError.showError(t,!1)}finally{}return""},yt.prototype.saveFile=function(t){var e=this.saveToJsonString();At.System.IO.File.saveFile(t,e)},yt.prototype.saveDocumentToJsonString=function(){try{return this.saveToJsonInternal(U.Document)}catch(t){At.System.StiError.showError(t,!1)}finally{}return""},yt.prototype.saveDocumentFile=function(t){var e=this.saveDocumentToJsonString();At.System.IO.File.saveFile(t,e)},yt.prototype.saveEncryptedDocumentToByteArray=function(t){var e=this.saveDocumentToJsonString(),e=At.System.Text.Encoding.UTF8.getBytes(e),e=pt.pack(e);e=A.encrypt2(e,t);var t=s.create(Number,e.length+3);return t[0]="m".charCodeAt(0),t[1]="d".charCodeAt(0),t[2]="x".charCodeAt(0),e.stimulsoft.copyTo(t,3),t},yt.prototype.getDictionary=function(){return this.dictionary},yt.prototype.getKey=function(){return this.key},yt.prototype.setKey=function(t){this.key=t},yt.prototype.fetchPages=function(){return this.pages.toList()},yt.prototype.getFonts=function(){var e,t,r=[];try{for(var n=__values(this.pages.list),i=n.next();!i.done;i=n.next()){var o=i.value;o.stimulsoft.is(a)&&r.stimulsoft.addRange(o.getFonts())}}catch(t){e={error:t}}finally{try{i&&!i.done&&(t=n.return)&&t.call(n)}finally{if(e)throw e.error}}return s.distinct(r)},Object.defineProperty(yt.prototype,"pageNumber",{get:function(){return null!=this.engine&&null!=this.engine.pageNumbers?this.engine.pageNumbers.getPageNumber(this.currentPrintPage-1):this._pageNumber},set:function(t){this._pageNumber=t},enumerable:!1,configurable:!0}),Object.defineProperty(yt.prototype,"pageNumberThrough",{get:function(){return null!=this.engine&&null!=this.engine.pageNumbers?this.engine.pageNumbers.getPageNumberThrough(this.currentPrintPage-1):0},enumerable:!1,configurable:!0}),Object.defineProperty(yt.prototype,"totalPageCount",{get:function(){return null!=this.engine&&null!=this.engine.pageNumbers?this.engine.pageNumbers.getTotalPageCount(this.currentPrintPage-1):0},set:function(t){this._totalPageCountValue=t},enumerable:!1,configurable:!0}),Object.defineProperty(yt.prototype,"totalPageCountThrough",{get:function(){return null!=this.engine&&null!=this.engine.pageNumbers?this.engine.pageNumbers.getTotalPageCountThrough(this.currentPrintPage-1):0},enumerable:!1,configurable:!0}),Object.defineProperty(yt.prototype,"pageNofM",{get:function(){return F.StiSystemVariableLocHelper.getPageNofM(this)},enumerable:!1,configurable:!0}),Object.defineProperty(yt.prototype,"pageNofMThrough",{get:function(){return F.StiSystemVariableLocHelper.getPageNofMThrough(this)},enumerable:!1,configurable:!0}),Object.defineProperty(yt.prototype,"pageNofMLocalizationString",{get:function(){return this._pageNofMLocalizationString},set:function(t){this._pageNofMLocalizationString=t},enumerable:!1,configurable:!0}),Object.defineProperty(yt.prototype,"line",{get:function(){return this._line},set:function(t){this._line=t},enumerable:!1,configurable:!0}),Object.defineProperty(yt.prototype,"groupLine",{get:function(){return this._groupLine},set:function(t){this._groupLine=t},enumerable:!1,configurable:!0}),Object.defineProperty(yt.prototype,"lineRoman",{get:function(){return F.Func.Convert.toRoman(this.line)},enumerable:!1,configurable:!0}),Object.defineProperty(yt.prototype,"lineABC",{get:function(){return F.Func.Convert.toABC(this.line)},enumerable:!1,configurable:!0}),Object.defineProperty(yt.prototype,"column",{get:function(){return this._column},set:function(t){this._column=t},enumerable:!1,configurable:!0}),Object.defineProperty(yt.prototype,"lineThrough",{get:function(){return this._lineThrough},set:function(t){this._lineThrough=t},enumerable:!1,configurable:!0}),Object.defineProperty(yt.prototype,"date",{get:function(){return nt.today},enumerable:!1,configurable:!0}),Object.defineProperty(yt.prototype,"today",{get:function(){return nt.today},enumerable:!1,configurable:!0}),Object.defineProperty(yt.prototype,"time",{get:function(){return nt.now},enumerable:!1,configurable:!0}),Object.defineProperty(yt.prototype,"cacheAllData",{get:function(){return this._cacheAllData},set:function(t){this._cacheAllData=t},enumerable:!1,configurable:!0}),Object.defineProperty(yt.prototype,"retrieveOnlyUsedData",{get:function(){return this._retrieveOnlyUsedData},set:function(t){this._retrieveOnlyUsedData=t},enumerable:!1,configurable:!0}),Object.defineProperty(yt.prototype,"reportCacheMode",{get:function(){return this._reportCacheMode},set:function(t){},enumerable:!1,configurable:!0}),Object.defineProperty(yt.prototype,"isFirstPage",{get:function(){return 1==this.pageNumber},enumerable:!1,configurable:!0}),Object.defineProperty(yt.prototype,"isLastPage",{get:function(){return this.pageNumber==this.totalPageCount},enumerable:!1,configurable:!0}),Object.defineProperty(yt.prototype,"isFirstPageThrough",{get:function(){return 1==this.pageNumberThrough},enumerable:!1,configurable:!0}),Object.defineProperty(yt.prototype,"isLastPageThrough",{get:function(){return this.pageNumberThrough==this.totalPageCountThrough},enumerable:!1,configurable:!0}),Object.defineProperty(yt.prototype,"isFirstPass",{get:function(){return this.reportPass==F.StiReportPass.First||this.reportPass==F.StiReportPass.None},enumerable:!1,configurable:!0}),Object.defineProperty(yt.prototype,"isSecondPass",{get:function(){return this.reportPass==F.StiReportPass.Second},enumerable:!1,configurable:!0}),Object.defineProperty(yt.prototype,"currentPage",{get:function(){return this._currentPage},set:function(t){this._currentPage=t},enumerable:!1,configurable:!0}),Object.defineProperty(yt.prototype,"currentPrintPage",{get:function(){return this._currentPrintPage},set:function(t){this._currentPrintPage=t},enumerable:!1,configurable:!0}),Object.defineProperty(yt.prototype,"pageCopyNumber",{get:function(){return this._pageCopyNumber},set:function(t){this._pageCopyNumber=t},enumerable:!1,configurable:!0}),Object.defineProperty(yt.prototype,"businessObjectsStore",{get:function(){return null==this._businessObjectsStore&&(this._businessObjectsStore=[]),this._businessObjectsStore},enumerable:!1,configurable:!0}),Object.defineProperty(yt.prototype,"variables",{get:function(){return this._variables},set:function(t){this._variables=t},enumerable:!1,configurable:!0}),yt.prototype.getVariable=function(t,e){void 0===e&&(e=!1);var r=null==this.compiledReport?this:this.compiledReport,n=t.substr(0,1).toLowerCase()+t.substr(1);if(!e){if(null!=this[t])return this[t];if(null!=this[n])return this[n]}return null==this.variables?null:this.variables.get(t)},yt.prototype.setVariable=function(t,e,r){void 0===r&&(r=!1);var n=null==this.compiledReport?this:this.compiledReport;if(null!=this.dictionary&&this.dictionary.variables.contains(t)&&this.modifiedVariables.set(t,null),!r){var r=t.substr(0,1).toLowerCase()+t.substr(1);if(void 0!==this[r]&&!i.isReservedWordExist(r))return void(this[r]=e)}null==n.variables&&et.prepareReportVariables(this),n.variables.set(t,e)},Object.defineProperty(yt.prototype,"aggregateFunctions",{get:function(){return this._aggregateFunctions},set:function(t){this._aggregateFunctions=t},enumerable:!1,configurable:!0}),Object.defineProperty(yt.prototype,"dictionary",{get:function(){return this._dictionary},set:function(t){this._dictionary=t},enumerable:!1,configurable:!0}),Object.defineProperty(yt.prototype,"dataSources",{get:function(){return this._dictionary.dataSources},enumerable:!1,configurable:!0}),Object.defineProperty(yt.prototype,"dataStore",{get:function(){return this.dictionary.dataStore},enumerable:!1,configurable:!0}),yt.prototype.regData=function(t,e,r,n){void 0===n&&(n=dt.ParentToChild),this.dictionary.dataStore.regData(t,e,r,n),null!=this.compiledReport&&this.compiledReport.dictionary.dataStore.regData(t,e,r,n)},yt.prototype.regBusinessObject2=function(t,e,r,n){var n=new at(t,e,r,n);this.storeBusinessObjectWithCheckExistingData(n),null!=this.compiledReport&&this.compiledReport.storeBusinessObjectWithCheckExistingData(n)},yt.prototype.regBusinessObject=function(t){var e,r;try{for(var n=__values(t),i=n.next();!i.done;i=n.next()){var o=i.value;this.storeBusinessObjectWithCheckExistingData(o)}}catch(t){e={error:t}}finally{try{i&&!i.done&&(r=n.return)&&r.call(n)}finally{if(e)throw e.error}}},yt.prototype.storeBusinessObjectWithCheckExistingData=function(t){this.businessObjectsStore.push(t)},Object.defineProperty(yt.prototype,"script",{get:function(){return null==this._script&&this.scriptNew(),this._script},set:function(t){this._script=t},enumerable:!1,configurable:!0}),yt.prototype.scriptNew=function(){},yt.prototype.invokeBeginProcessData=function(t,e){"function"==typeof this.onBeginProcessData&&(t.event="BeginProcessData",t.preventDefault=!1,this.onBeginProcessData(t,e))},yt.prototype.invokeEndProcessData=function(t){"function"==typeof this.onEndProcessData&&(t.event="EndProcessData",this.onEndProcessData(t))},yt.prototype.invokeRefreshPreview=function(){this.invokeRefreshViewer()},yt.prototype.invokeRefreshViewer=function(){null!=this.compiledReport&&this.compiledReport.invokeRefreshViewer()},yt.prototype.invokeClick=function(t,e){},yt.prototype.invokeDoubleClick=function(t,e){},yt.prototype.invokeGotoComp=function(t){},yt.prototype.invokePaint=function(t,e){},yt.prototype.invokeBeginRender=function(){try{var t=this.events.get(yt.eventBeginRender);if(null!=t)try{t()}catch(t){}"function"==typeof this.onBeginRender&&this.onBeginRender()}catch(t){if(F.StiLogService.write(yt,"InvokeBeginRender...ERROR"),F.StiLogService.write(this.stimulsoft.getType(),t),!StiOptions.Engine.hideExceptions)throw t}},Object.defineProperty(yt.prototype,"beginRenderEvent",{get:function(){return new O(this.beginRenderEventScript)},set:function(t){null!=t&&(t.set(null,t.script),this.beginRenderEventScript=t.script,this.events.set(yt.eventBeginRender,g.create(t.script,this)))},enumerable:!1,configurable:!0}),yt.prototype.invokeRendering=function(){try{"function"==typeof this.onRendering&&this.onRendering()}catch(t){if(F.StiLogService.write(yt,"InvokeRendering...ERROR"),F.StiLogService.write(this.stimulsoft.getType(),t),!StiOptions.Engine.hideExceptions)throw t}},yt.prototype.invokeEndRender=function(){var e,t;try{if(this.calculationMode==F.StiCalculationMode.Interpretation&&this.calculationMode==F.StiCalculationMode.Interpretation&&null!=this.totals)try{for(var r=__values(this.totals.keys),n=r.next();!n.done;n=r.next()){var i,o=n.value;null!=o&&o.stimulsoft.startsWith("#%#")&&this.getComponentByName(o.substr(3)).clone().setText(null,null)}}catch(t){e={error:t}}finally{try{n&&!n.done&&(t=r.return)&&t.call(r)}finally{if(e)throw e.error}}var a=this.events.get(yt.eventEndRender);if(null!=a)try{a()}catch(t){}"function"==typeof this.onEndRender&&this.onEndRender()}catch(t){if(F.StiLogService.write(yt,"InvokeEndRender...ERROR"),F.StiLogService.write(this.stimulsoft.getType(),t),!StiOptions.Engine.hideExceptions)throw t}},Object.defineProperty(yt.prototype,"endRenderEvent",{get:function(){return new O(this.endRenderEventScript)},set:function(t){null!=t&&(t.set(null,t.script),this.endRenderEventScript=t.script,this.events.set(yt.eventEndRender,g.create(t.script,this)))},enumerable:!1,configurable:!0}),yt.prototype.invokeStatusChanged=function(){try{}catch(t){if(F.StiLogService.write(yt,"InvokeStatusChanged...ERROR"),F.StiLogService.write(this.stimulsoft.getType(),t),!StiOptions.Engine.hideExceptions)throw t}},yt.prototype.onExporting=function(t){},yt.prototype.invokeExporting=function(t){this.isExporting=!0;var t=new S(t);this.onExporting(t)},yt.prototype.onExported=function(t){},yt.prototype.invokeExported=function(t){this.isExporting=!1;var t=new S(t);this.onExported(t)},yt.prototype.onPrinting=function(t){},yt.prototype.invokePrinting=function(){this.onPrinting(y.empty)},yt.prototype.onPrinted=function(t){},yt.prototype.invokePrinted=function(){this.onPrinted(y.empty)},yt.prototype.onRefreshing=function(t){var e=g.create(this.refreshingEvent.script,this);if(null!=e)try{e()}catch(t){}},yt.prototype.invokeRefreshing=function(){this.onRefreshing(y.empty)},yt.prototype.invokeGetSubReport=function(t){"function"==typeof this.onGetSubReport&&this.onGetSubReport(t),null!=this.compiledReport&&this.compiledReport.invokeGetSubReport(t),null!=this.parentReport&&this.invokeGetSubReport(t)},yt.prototype.invokeReportCacheProcessing=function(){try{}catch(t){if(F.StiLogService.write(yt,"InvokeReportCacheProcessing...ERROR"),F.StiLogService.write(this.stimulsoft.getType(),t),!StiOptions.Engine.hideExceptions)throw t}},Object.defineProperty(yt.prototype,"unit",{get:function(){return W.getUnitFromReportUnit(this.reportUnit)},set:function(t){t.stimulsoft.is(At.Report.Units.StiCentimetersUnit)?this.reportUnit=F.StiReportUnitType.Centimeters:t.stimulsoft.is(At.Report.Units.StiMillimetersUnit)?this.reportUnit=F.StiReportUnitType.Millimeters:t.stimulsoft.is(At.Report.Units.StiInchesUnit)?this.reportUnit=F.StiReportUnitType.Inches:t.stimulsoft.is(At.Report.Units.StiHundredthsOfInchUnit)&&(this.reportUnit=F.StiReportUnitType.HundredthsOfInch)},enumerable:!1,configurable:!0}),yt.prototype.convert=function(t,e,r){var n,i;if(void 0===r&&(r=!1),t.name!=e.name&&null!=this._pages)try{for(var o=__values(this.pages.list),a=o.next(),s;!a.done;a=o.next()){a.value.convert(t,e,r)}}catch(t){n={error:t}}finally{try{a&&!a.done&&(i=o.return)&&i.call(o)}finally{if(n)throw n.error}}},yt.changeType=function(t,e,r){return void 0===r&&(r=!0),b.changeType(t,e,r)},yt.prototype.applyStyleCollection=function(t){var e,r,n,i,o,a,s,l;if(k.isNullOrEmpty(t))return;t=t.toLowerCase().trim();var u=[];try{for(var c=__values(this.styles.list),p=c.next(),h;!p.done;p=c.next()){(h=p.value).collectionName.toLowerCase().trim()==t&&u.push(h)}}catch(t){e={error:t}}finally{try{p&&!p.done&&(r=c.return)&&r.call(c)}finally{if(e)throw e.error}}var m=this.getComponents();try{for(var d=__values(m.list),g=d.next();!g.done;g=d.next()){var f=g.value;if(f.is(st))continue;try{for(var S=(o=void 0,__values(u)),y=S.next();!y.done;y=S.next()){var h=y.value;if(!F.StiStyleConditionHelper.isAllowStyle(f,h))continue;if(!f.is(At.Report.Chart.IStiChart))if(f.is(ct)){var A=!1,b=!1;try{for(var C=(s=void 0,__values(h.conditions.list)),v=C.next();!v.done;v=C.next()){var w=v.value;if(0<(w.placement&J.DataOddStyle)){A=!0;break}if(0<(w.placement&J.DataEvenStyle)){b=!0;break}}}catch(t){s={error:t}}finally{try{v&&!v.done&&(l=C.return)&&l.call(C)}finally{if(s)throw s.error}}A?f.oddStyle=h.name:b?f.evenStyle=h.name:f.componentStyle=h.name}else f.componentStyle=h.name}}catch(t){o={error:t}}finally{try{y&&!y.done&&(a=S.return)&&a.call(S)}finally{if(o)throw o.error}}}}catch(t){n={error:t}}finally{try{g&&!g.done&&(i=d.return)&&i.call(d)}finally{if(n)throw n.error}}this.applyStyles()},yt.prototype.applyStyles=function(){var e,t,r=this.getComponents();try{for(var n=__values(r.list),i=n.next();!i.done;i=n.next()){var o=i.value,a,a,s,s;o.is(At.Report.Chart.IStiChart)&&o.allowApplyStyle&&null!=o.style?(a=o.style,o.core.applyStyle(a),null!=(a=a.stimulsoft.as(At.Report.Chart.IStiCustomStyle))&&null!=(s=a.core.reportStyle)&&s.setStyleToComponent(o)):k.isNullOrEmpty(o.componentStyle)||null!=(s=this.styles.getByName(o.componentStyle))&&s.setStyleToComponent(o)}}catch(t){e={error:t}}finally{try{i&&!i.done&&(t=n.return)&&t.call(n)}finally{if(e)throw e.error}}},yt.prototype.updateInheritedReport=function(t){if(void 0===t&&(t=null),null!=t)return t.setInheritedMode(!0),void F.StiInheritedReportComparer.compare(this,t);if(k.isNullOrEmpty(this.masterReport))return;(t=d.createObject(StiOptions.Engine.baseReportType)).load(this.masterReport),t.setInheritedMode(!0),F.StiInheritedReportComparer.compare(this,t)},Object.defineProperty(yt.prototype,"masterReport",{get:function(){return this._masterReport},set:function(t){this._masterReport!=t&&(this._masterReport=t,this.updateInheritedReport())},enumerable:!1,configurable:!0}),yt.prototype.setInheritedMode=function(t){var e,r,n,i,o,a,s,l,u,c,p,h;try{for(var m=__values(this.dictionary.variables.list),d=m.next(),g;!d.done;d=m.next()){d.value.inherited=t}}catch(t){e={error:t}}finally{try{d&&!d.done&&(r=m.return)&&r.call(m)}finally{if(e)throw e.error}}try{for(var f=__values(this.dictionary.dataSources.list),S=f.next(),y;!S.done;S=f.next()){S.value.inherited=t}}catch(t){n={error:t}}finally{try{S&&!S.done&&(i=f.return)&&i.call(f)}finally{if(n)throw n.error}}try{for(var A=__values(this.dictionary.businessObjects.list),b=A.next(),C;!b.done;b=A.next()){b.value.inherited=t}}catch(t){o={error:t}}finally{try{b&&!b.done&&(a=A.return)&&a.call(A)}finally{if(o)throw o.error}}try{for(var v=__values(this.dictionary.databases.list),w=v.next(),B;!w.done;w=v.next()){w.value.inherited=t}}catch(t){s={error:t}}finally{try{w&&!w.done&&(l=v.return)&&l.call(v)}finally{if(s)throw s.error}}try{for(var I=__values(this.dictionary.relations.list),T=I.next(),E;!T.done;T=I.next()){T.value.inherited=t}}catch(t){u={error:t}}finally{try{T&&!T.done&&(c=I.return)&&c.call(I)}finally{if(u)throw u.error}}var R=this.getComponents();try{for(var D=__values(R.list),P=D.next(),x;!P.done;P=D.next()){P.value.inherited=t}}catch(t){p={error:t}}finally{try{P&&!P.done&&(h=D.return)&&h.call(D)}finally{if(p)throw p.error}}},yt.prototype.getCurrentPage=function(){if(this._currentPage<0&&(this._currentPage=0),this.currentPage>this.pages.count-1)return null;return this.pages.getByIndex(this.currentPage)},yt.getReportVersion=function(){return At.StiVersion.version},yt.prototype.updateReportVersion=function(){this.reportVersion=yt.getReportVersion()},yt.prototype.writeToReportRenderingMessages=function(t){null==this.reportRenderingMessages&&(this.reportRenderingMessages=[]),this.reportRenderingMessages.push(t)},yt.prototype.getComponentByName=function(t){var e,r;try{for(var n=__values(this.pages.list),i=n.next();!i.done;i=n.next()){var o=i.value;if(o.name==t)return o}}catch(t){e={error:t}}finally{try{i&&!i.done&&(r=n.return)&&r.call(n)}finally{if(e)throw e.error}}return this.pages.getComponentByName(t)},yt.prototype.toString2=function(t){return null==t||t==Y.value?"":t.toString()},yt.prototype.checkExcelValue=function(t,e){var r=t.stimulsoft.as(q),t=c.tryToNullableNumber(e),t;return null!=t&&t<0&&(At.Report.Components.TextFormats.StiNegativeColorChecker.isNegativeInRed(r.textFormat)?r.textBrush=new p(StiOptions.Engine.negativeColor):k.isNullOrWhiteSpace(r.componentStyle)||null!=(t=this.styles.getByName(r.componentStyle).stimulsoft.as(At.Report.Styles.StiStyle))&&t.allowUseNegativeTextBrush&&(r.textBrush=t.negativeTextBrush)),null!=r&&null!=r.format&&"G"!=r.format&&0!=r.format.length&&(r.excelDataValue=this.toString2(e)),e},yt.prototype.toString3=function(t,e,r){return void 0===r&&(r=!1),r?this.toString2(this.checkExcelValue(t,e)):this.toString2(e)},yt.prototype.generateReportGuid=function(){return it.newGuidString()},yt.prototype.addAnchor=function(t,e){var r,n;void 0===e&&(e=null),null==e?this.anchors.set(t,new F.StiRuntimeVariables(this)):this.anchors.containsKey(t)||(r={ref1:new F.StiRuntimeVariables(this),ref2:e},this.anchors.set(t,r),null!=e&&null==e.guid&&(e.guid=t))},yt.prototype.getAnchorPageNumber=function(t){var e=null!=t?this.anchors.get(t):null;if(null!=e&&null!=e.ref2){var r=e.ref1,n=e.ref2,i=0;null!=r&&(i=this.engine.pageNumbers.getPageNumber(r.page));var o=i-1;while(o<this.renderedPages.count){var a=this.renderedPages.getByIndex(o),s,l;for(l in this.renderedPages.getPage(a),a.getComponents())if(l==n){if(a==r.page)return i;return this.engine.pageNumbers.getPageNumber(a)}o++}return i}var t=this.getAnchor(t);if(null==t)return 0;return this.engine.pageNumbers.getPageNumber(t.page)},yt.prototype.getAnchorPageNumberThrough=function(t){var e=null!=t?this.anchors.get(t):null;if(null!=e&&null!=e.ref2){var r=e.ref1,n=e.ref2,i=0;null!=r&&(i=this.engine.pageNumbers.getPageNumberThrough(r.page));var o=i-1;while(o<this.renderedPages.count){var a=this.renderedPages.getByIndex(o),s,l;for(l in this.renderedPages.getPage(a),a.getComponents())if(l==n){if(a==r.page)return i;return this.engine.pageNumbers.getPageNumberThrough(a)}o++}return i}var t=this.getAnchor(t);if(null==t)return 0;return this.engine.pageNumbers.getPageNumberThrough(t.page)},yt.prototype.getAnchor=function(t){if(null==t)return new F.StiRuntimeVariables(this);return this.anchors.get(t)},yt.prototype.getComponents=function(){var e,t,r=new lt;try{for(var n=__values(this.pages.list),i=n.next();!i.done;i=n.next()){var o=i.value;r.add(o);var a={ref:r};o.getComponents2(a),r=a.ref}}catch(t){e={error:t}}finally{try{i&&!i.done&&(t=n.return)&&t.call(n)}finally{if(e)throw e.error}}return r},yt.prototype.getRenderedComponents=function(){var e,t,r=new lt;try{for(var n=__values(this.renderedPages.list),i=n.next();!i.done;i=n.next()){var o=i.value;r.add(o);var a={ref:r};o.getComponents2(a),r=a.ref}}catch(t){e={error:t}}finally{try{i&&!i.done&&(t=n.return)&&t.call(n)}finally{if(e)throw e.error}}return r},yt.prototype.getComponentsCount=function(){var e,t,r=0;try{for(var n=__values(this.pages.list),i=n.next();!i.done;i=n.next()){var o=i.value;r+=1,r+=o.getComponentsCount()}}catch(t){e={error:t}}finally{try{i&&!i.done&&(t=n.return)&&t.call(n)}finally{if(e)throw e.error}}return r},yt.prototype.renameStyle=function(t,e){var r,n,i=this.getComponents();try{for(var o=__values(i.list),a=o.next();!a.done;a=o.next()){var s=a.value;At.Report.Styles.StiStylesHelper.changeComponentStyleName(s,t,e)}}catch(t){r={error:t}}finally{try{a&&!a.done&&(n=o.return)&&n.call(o)}finally{if(r)throw r.error}}},yt.prototype.localizeReport=function(t){this.globalizationStrings.localizeReport(t)},Object.defineProperty(yt.prototype,"metaTags",{get:function(){return this._metaTags},set:function(t){this._metaTags=t},enumerable:!1,configurable:!0}),Object.defineProperty(yt.prototype,"reportVersion",{get:function(){return null==this._reportVersion?At.StiVersion.version:""},set:function(t){this._reportVersion=t},enumerable:!1,configurable:!0}),Object.defineProperty(yt.prototype,"engine",{get:function(){return this._engine},set:function(t){this._engine=t},enumerable:!1,configurable:!0}),Object.defineProperty(yt.prototype,"reportRenderingMessages",{get:function(){return this._reportRenderingMessages},set:function(t){this._reportRenderingMessages=t},enumerable:!1,configurable:!0}),Object.defineProperty(yt.prototype,"interactionCollapsingStates",{get:function(){return this._interactionCollapsingStates},set:function(t){this._interactionCollapsingStates=t},enumerable:!1,configurable:!0}),Object.defineProperty(yt.prototype,"subReports",{get:function(){return this._subReports},set:function(t){this._subReports=t},enumerable:!1,configurable:!0}),Object.defineProperty(yt.prototype,"reportGuid",{get:function(){return this._reportGuid},set:function(t){this._reportGuid=t},enumerable:!1,configurable:!0}),Object.defineProperty(yt.prototype,"imageCachePath",{get:function(){return this._imageCachePath},set:function(t){this._imageCachePath=t},enumerable:!1,configurable:!0}),Object.defineProperty(yt.prototype,"parentReport",{get:function(){return this._parentReport},set:function(t){this._parentReport=t},enumerable:!1,configurable:!0}),Object.defineProperty(yt.prototype,"globalizationManager",{get:function(){return this._globalizationManager},set:function(t){this._globalizationManager=t},enumerable:!1,configurable:!0}),Object.defineProperty(yt.prototype,"pages",{get:function(){return this._pages},enumerable:!1,configurable:!0}),Object.defineProperty(yt.prototype,"renderedPages",{get:function(){if(null!=this.compiledReport)return this.compiledReport.renderedPages;return this._renderedPages},set:function(t){null!=this.compiledReport?this.compiledReport.renderedPages=t:this._renderedPages=t},enumerable:!1,configurable:!0}),Object.defineProperty(yt.prototype,"info",{get:function(){return this._info},set:function(t){this._info=t},enumerable:!1,configurable:!0}),Object.defineProperty(yt.prototype,"bookmark",{get:function(){if(null!=this.compiledReport)return this.compiledReport.bookmark;return this.bookmarkValue},set:function(t){this.bookmarkValue=t,null!=this.compiledReport&&(this.compiledReport.bookmark=t)},enumerable:!1,configurable:!0}),Object.defineProperty(yt.prototype,"manualBookmark",{get:function(){return this.bookmark},set:function(t){this.bookmark=t},enumerable:!1,configurable:!0}),Object.defineProperty(yt.prototype,"totals",{get:function(){if(null!=this.parentReport)return this.parentReport.totals;return this._totals},set:function(t){null!=this.parentReport?this.parentReport.totals=t:this._totals=t},enumerable:!1,configurable:!0}),Object.defineProperty(yt.prototype,"cells",{get:function(){return null==this._cells&&(this._cells=new F.StiCells(this)),this._cells},enumerable:!1,configurable:!0}),Object.defineProperty(yt.prototype,"password",{get:function(){return this._password},set:function(t){this._password=t},enumerable:!1,configurable:!0}),Object.defineProperty(yt.prototype,"dataBandsUsedInPageTotals",{get:function(){return this._dataBandsUsedInPageTotals},set:function(t){this._dataBandsUsedInPageTotals=t},enumerable:!1,configurable:!0}),Object.defineProperty(yt.prototype,"listOfUsedData",{get:function(){return this._listOfUsedData},set:function(t){this._listOfUsedData=t},enumerable:!1,configurable:!0}),Object.defineProperty(yt.prototype,"reportPass",{get:function(){return this._reportPass},set:function(t){this._reportPass=t},enumerable:!1,configurable:!0}),Object.defineProperty(yt.prototype,"isRendered",{get:function(){return this._isRendered},set:function(t){this._isRendered=t},enumerable:!1,configurable:!0}),Object.defineProperty(yt.prototype,"isRendering",{get:function(){return this._isRendering},set:function(t){this._isRendering=t},enumerable:!1,configurable:!0}),Object.defineProperty(yt.prototype,"isModified",{get:function(){return this._isModified},set:function(t){this._isModified!=t&&(this._isModified=t,this._reportGuid=this.generateReportGuid())},enumerable:!1,configurable:!0}),Object.defineProperty(yt.prototype,"isStopped",{get:function(){return this._isStopped},set:function(t){this._isStopped=t},enumerable:!1,configurable:!0}),Object.defineProperty(yt.prototype,"isExporting",{get:function(){return this._isExporting},set:function(t){this._isExporting=t},enumerable:!1,configurable:!0}),Object.defineProperty(yt.prototype,"isSerializing",{get:function(){return this._isSerializing},set:function(t){this._isSerializing=t},enumerable:!1,configurable:!0}),Object.defineProperty(yt.prototype,"isPageDesigner",{get:function(){return this._isPageDesigner},set:function(t){this._isPageDesigner=t},enumerable:!1,configurable:!0}),Object.defineProperty(yt.prototype,"isPrinting",{get:function(){return this.isPrintingValue},set:function(t){this.isPrintingValue=t},enumerable:!1,configurable:!0}),Object.defineProperty(yt.prototype,"containsDashboard",{get:function(){return this.pages.toList().any(function(t){return t.isDashboard&&t.enabled})},enumerable:!1,configurable:!0}),Object.defineProperty(yt.prototype,"isDesigning",{get:function(){return this.info.forceDesigningMode},enumerable:!1,configurable:!0}),Object.defineProperty(yt.prototype,"isPreviewDialogs",{get:function(){return this._isPreviewDialogs},set:function(t){this._isPreviewDialogs=t},enumerable:!1,configurable:!0}),Object.defineProperty(yt.prototype,"isDocument",{get:function(){return this._isDocument},set:function(t){this._isDocument=t},enumerable:!1,configurable:!0}),Object.defineProperty(yt.prototype,"isInteractionRendering",{get:function(){return this._isInteractionRendering},set:function(t){this._isInteractionRendering=t},enumerable:!1,configurable:!0}),Object.defineProperty(yt.prototype,"reportName",{get:function(){return this._reportName},set:function(t){this._reportName==this._reportAlias&&(this._reportAlias=t),this._reportName=F.StiNameValidator.correctName(t)},enumerable:!1,configurable:!0}),Object.defineProperty(yt.prototype,"reportAlias",{get:function(){return this._reportAlias},set:function(t){this._reportAlias=t},enumerable:!1,configurable:!0}),Object.defineProperty(yt.prototype,"reportAuthor",{get:function(){return this._reportAuthor},set:function(t){this._reportAuthor=t},enumerable:!1,configurable:!0}),Object.defineProperty(yt.prototype,"reportDescription",{get:function(){return this._reportDescription},set:function(t){this._reportDescription=t},enumerable:!1,configurable:!0}),Object.defineProperty(yt.prototype,"reportCreated",{get:function(){return this._reportCreated},set:function(t){this._reportCreated=t},enumerable:!1,configurable:!0}),Object.defineProperty(yt.prototype,"reportChanged",{get:function(){return this._reportChanged},set:function(t){this._reportChanged=t},enumerable:!1,configurable:!0}),Object.defineProperty(yt.prototype,"styles",{get:function(){return this._styles},enumerable:!1,configurable:!0}),Object.defineProperty(yt.prototype,"numberOfPass",{get:function(){return this._numberOfPass},set:function(t){this._numberOfPass!=t&&(this._numberOfPass=t)},enumerable:!1,configurable:!0}),Object.defineProperty(yt.prototype,"calculationMode",{get:function(){return F.StiCalculationMode.Interpretation},enumerable:!1,configurable:!0}),Object.defineProperty(yt.prototype,"reportUnit",{get:function(){return this._reportUnit},set:function(t){this.isSerializing||this._reportUnit!=t&&this.convert(W.getUnitFromReportUnit(this._reportUnit),W.getUnitFromReportUnit(t)),this._reportUnit=t},enumerable:!1,configurable:!0}),Object.defineProperty(yt.prototype,"stopBeforePage",{get:function(){return this._stopBeforePage},set:function(t){0<=t&&(this._stopBeforePage=t)},enumerable:!1,configurable:!0}),Object.defineProperty(yt.prototype,"previewSettings",{get:function(){return this._previewSettings},set:function(t){this._previewSettings=t},enumerable:!1,configurable:!0}),Object.defineProperty(yt.prototype,"dashboardViewerSettings",{get:function(){return this._dashboardViewerSettings},set:function(t){this._dashboardViewerSettings=t},enumerable:!1,configurable:!0}),Object.defineProperty(yt.prototype,"collate",{get:function(){return this._collate},set:function(t){this._collate!=t&&(this._collate=Math.max(1,t))},enumerable:!1,configurable:!0}),Object.defineProperty(yt.prototype,"globalizationStrings",{get:function(){return this._globalizationStrings},enumerable:!1,configurable:!0}),Object.defineProperty(yt.prototype,"autoLocalizeReportOnRun",{get:function(){return this._autoLocalizeReportOnRun},set:function(t){this._autoLocalizeReportOnRun=t},enumerable:!1,configurable:!0}),Object.defineProperty(yt.prototype,"requestParameters",{get:function(){return this._requestParameters},set:function(t){this._requestParameters=t},enumerable:!1,configurable:!0}),Object.defineProperty(yt.prototype,"cacheTotals",{get:function(){return this._cacheTotals},set:function(t){this._cacheTotals=t},enumerable:!1,configurable:!0}),Object.defineProperty(yt.prototype,"culture",{get:function(){return this._culture},set:function(t){this._culture=t},enumerable:!1,configurable:!0}),Object.defineProperty(yt.prototype,"refreshTime",{get:function(){return this._refreshTime},set:function(t){this._refreshTime=0<t?t:0},enumerable:!1,configurable:!0}),Object.defineProperty(yt.prototype,"compiledReport",{get:function(){return this._compiledReport},set:function(t){this._compiledReport=t},enumerable:!1,configurable:!0}),yt.prototype.resetAggregateFunctions=function(){var e,t;if(null==this.aggregateFunctions)return;try{for(var r=__values(this.aggregateFunctions),n=r.next();!n.done;n=r.next()){var i=n.value,o=i.isFirstInit;i.isFirstInit=!0,i.init(),i.isFirstInit=o}}catch(t){e={error:t}}finally{try{n&&!n.done&&(t=r.return)&&t.call(r)}finally{if(e)throw e.error}}},yt.prototype.renderAsync=function(r,n,i){var t=this;void 0===r&&(r=function(){}),void 0===n&&(n=-1),void 0===i&&(i=-1),setTimeout(function(){return __awaiter(t,void 0,void 0,function(){var e;return __generator(this,function(t){switch(t.label){case 0:return t.trys.push([0,2,,3]),[4,this.renderAsync2(n,i)];case 1:return t.sent(),r(null),[3,3];case 2:return e=t.sent(),r(e),[3,3];case 3:return[2]}})})},0)},yt.prototype.renderAsync2=function(r,n){return void 0===r&&(r=-1),void 0===n&&(n=-1),__awaiter(this,void 0,void 0,function(){var e,e;return __generator(this,function(t){switch(t.label){case 0:e=new tt(r,n,!1),t.label=1;case 1:return t.trys.push([1,3,,4]),[4,this.renderReportAsync(e)];case 2:return t.sent(),[3,4];case 3:throw e=t.sent(),At.System.StiError.showError(e,!0),e;case 4:return[2]}})})},yt.prototype.render=function(t,e,r){void 0===t&&(t=!1),void 0===e&&(e=-1),void 0===r&&(r=-1),w.showError("The 'render' method is obsolete. Please use the 'renderAsync' method instead.");var n=new tt(e,r,!1);try{this.renderReport(n)}catch(t){throw At.System.StiError.showError(t,!0),t}},yt.prototype.processAutoLocalizeReportOnRun=function(){if(!this.autoLocalizeReportOnRun)return;try{this.globalizationStrings.skipException=!0;var t=M.currentCulture;if(!k.isNullOrWhiteSpace(this.culture))try{t=M.cultures[this.culture]}catch(t){}this.globalizationStrings.localizeReport2(t)}finally{this.globalizationStrings.skipException=!1}},yt.prototype.renderReportAsync=function(x){return __awaiter(this,void 0,void 0,function(){var e,r,n,i,o,a,s,l,u,c,p,h,u,m,d,n,i,g,f,S,y,A,b,C,v,w,B,I,T,E,R,D,P;return __generator(this,function(t){switch(t.label){case 0:if(this.renderedWith=F.StiRenderedWith.JS,this.calculationMode==F.StiCalculationMode.Interpretation&&this.processAutoLocalizeReportOnRun(),this.storedCulture=M.currentCulture,!k.isNullOrEmpty(this.culture))try{M.currentCulture=M.cultures[this.culture]}catch(t){}t.label=1;case 1:if(t.trys.push([1,7,8,9]),null!=this.cachedTotals?this.cachedTotals.clear():this.cachedTotals=new K,null!=this.engine&&null!=this.engine.pageNumbers&&this.engine.pageNumbers.clearNotFixed(),this.calculationMode==F.StiCalculationMode.Interpretation&&null==this.variables&&et.prepareReportVariables(this),this.calculationMode==F.StiCalculationMode.Interpretation&&this.reportPass!=F.StiReportPass.First&&!x.isSubReportMode)try{for(e=__values(this.dictionary.dataSources.list),r=e.next();!r.done;r=e.next())n=r.value,null!=(i=n.stimulsoft.as(At.Report.Dictionary.StiSqlSource))&&this.variables.set("**StoredDataSourceSqlCommandForInterpretationMode**"+n.name,i.sqlCommand)}catch(t){C={error:t}}finally{try{r&&!r.done&&(v=e.return)&&v.call(e)}finally{if(C)throw C.error}}return[4,At.Report.Engine.StiVariableHelper.setDefaultValueForRequestFromUserVariablesAsync(this,!1)];case 2:if(t.sent(),o=new K,this.calculationMode==F.StiCalculationMode.Interpretation){a=this.getComponents();try{for(s=__values(a.list),l=s.next();!l.done;l=s.next())null!=(u=l.value).interaction&&u.interaction.isDefault()&&(o.set(u,u.interaction),u.interaction=null)}catch(t){w={error:t}}finally{try{l&&!l.done&&(B=s.return)&&B.call(s)}finally{if(w)throw w.error}}}if(!(null!=this.subReports&&0<this.subReports.count))return[3,4];return[4,At.Report.Engine.StiReportBuilder.renderSubReportsAsync(this,x)];case 3:return t.sent(),[3,6];case 4:return[4,At.Report.Engine.StiReportBuilder.renderSingleReportAsync(this,x)];case 5:t.sent(),t.label=6;case 6:if(this.calculationMode==F.StiCalculationMode.Interpretation){try{for(c=__values(o.keys),p=c.next();!p.done;p=c.next())h=p.value,(u=h).interaction=o.get(h)}catch(t){I={error:t}}finally{try{p&&!p.done&&(T=c.return)&&T.call(c)}finally{if(I)throw I.error}}o.clear()}if(this.calculationMode==F.StiCalculationMode.Interpretation&&this.reportPass!=F.StiReportPass.First&&!x.isSubReportMode)try{for(m=__values(this.dictionary.dataSources.list),d=m.next();!d.done;d=m.next())n=d.value,null!=(i=n.stimulsoft.as(At.Report.Dictionary.StiSqlSource))&&(g="**StoredDataSourceSqlCommandForInterpretationMode**"+n.name,this.variables.containsKey(g)&&("string"==typeof(f=this.variables.get(g))&&(i.sqlCommand=f),this.variables.remove(g)))}catch(t){E={error:t}}finally{try{d&&!d.done&&(R=m.return)&&R.call(m)}finally{if(E)throw E.error}}return[3,9];case 7:throw S=t.sent();case 8:k.isNullOrEmpty(this.culture)||(M.currentCulture=this.storedCulture),null!=this.cachedTotals&&(this.cachedTotals.clear(),this.cachedTotals=null),this.reportPass==F.StiReportPass.First&&null!=this.anchors&&this.anchors.clear();try{for(y=__values(this.dictionary.businessObjects.list),A=y.next();!A.done;A=y.next())(b=A.value).previousResetException=!1}catch(t){D={error:t}}finally{try{A&&!A.done&&(P=y.return)&&P.call(y)}finally{if(D)throw D.error}}return this.isDocument=!1,N.clearAutoLoadFonts(),[7];case 9:return[2]}})})},yt.prototype.renderReport=function(t){var e,r,n,i,o,a,s,l,u,c;if(this.renderedWith=F.StiRenderedWith.JS,this.calculationMode==F.StiCalculationMode.Interpretation&&this.processAutoLocalizeReportOnRun(),this.storedCulture=M.currentCulture,!k.isNullOrEmpty(this.culture))try{M.currentCulture=M.cultures[this.culture]}catch(t){}try{if(null!=this.cachedTotals?this.cachedTotals.clear():this.cachedTotals=new K,null!=this.engine&&null!=this.engine.pageNumbers&&this.engine.pageNumbers.clearNotFixed(),this.calculationMode==F.StiCalculationMode.Interpretation&&null==this.variables&&et.prepareReportVariables(this),this.calculationMode==F.StiCalculationMode.Interpretation&&this.reportPass!=F.StiReportPass.First&&!t.isSubReportMode)try{for(var p=__values(this.dictionary.dataSources.list),h=p.next(),m,d;!h.done;h=p.next()){null!=(d=(m=h.value).stimulsoft.as(At.Report.Dictionary.StiSqlSource))&&this.variables.set("**StoredDataSourceSqlCommandForInterpretationMode**"+m.name,d.sqlCommand)}}catch(t){e={error:t}}finally{try{h&&!h.done&&(r=p.return)&&r.call(p)}finally{if(e)throw e.error}}At.Report.Engine.StiVariableHelper.setDefaultValueForRequestFromUserVariables(this,!1);var g=new K;if(this.calculationMode==F.StiCalculationMode.Interpretation){var f=this.getComponents();try{for(var S=__values(f.list),y=S.next(),A;!y.done;y=S.next()){null!=(A=y.value).interaction&&A.interaction.isDefault()&&(g.set(A,A.interaction),A.interaction=null)}}catch(t){n={error:t}}finally{try{y&&!y.done&&(i=S.return)&&i.call(S)}finally{if(n)throw n.error}}}if(null!=this.subReports&&0<this.subReports.count?At.Report.Engine.StiReportBuilder.renderSubReports(this,t):At.Report.Engine.StiReportBuilder.renderSingleReport(this,t),this.calculationMode==F.StiCalculationMode.Interpretation){try{for(var b=__values(g.keys),C=b.next();!C.done;C=b.next()){var v=C.value,A;(A=v).interaction=g.get(v)}}catch(t){o={error:t}}finally{try{C&&!C.done&&(a=b.return)&&a.call(b)}finally{if(o)throw o.error}}g.clear()}if(this.calculationMode==F.StiCalculationMode.Interpretation&&this.reportPass!=F.StiReportPass.First&&!t.isSubReportMode)try{for(var w=__values(this.dictionary.dataSources.list),B=w.next(),m,d,I,T;!B.done;B=w.next()){null!=(d=(m=B.value).stimulsoft.as(At.Report.Dictionary.StiSqlSource))&&(I="**StoredDataSourceSqlCommandForInterpretationMode**"+m.name,this.variables.containsKey(I)&&("string"==typeof(T=this.variables.get(I))&&(d.sqlCommand=T),this.variables.remove(I)))}}catch(t){s={error:t}}finally{try{B&&!B.done&&(l=w.return)&&l.call(w)}finally{if(s)throw s.error}}}catch(t){throw t}finally{k.isNullOrEmpty(this.culture)||(M.currentCulture=this.storedCulture),null!=this.cachedTotals&&(this.cachedTotals.clear(),this.cachedTotals=null),this.reportPass==F.StiReportPass.First&&null!=this.anchors&&this.anchors.clear();try{for(var E=__values(this.dictionary.businessObjects.list),R=E.next(),D;!R.done;R=E.next()){R.value.previousResetException=!1}}catch(t){u={error:t}}finally{try{R&&!R.done&&(c=E.return)&&c.call(E)}finally{if(u)throw u.error}}this.isDocument=!1,N.clearAutoLoadFonts()}},yt.prototype.print=function(t,e){var r=this;void 0===e&&(e=H.Table),this.invokePrinting(),F.StiLogService.write(this.stimulsoft.getType(),"Printing report");try{var n=new At.Report.Export.StiHtmlExportSettings;n.chartType=At.Report.Export.StiHtmlChartType.Vector,n.useWatermarkMargins=!1,n.removeEmptySpaceAtBottom=!1,n.exportMode=e,n.exportBookmarksMode=u.ReportOnly,t&&(n.pageRange=t);var i=new At.Report.Export.StiHtmlExportService,o=new ht,a=new At.Report.Export.StiHtmlTextWriter(o);i.exportToAsync(function(){try{var t=o.getStringBuilder().toString(),e=function(t){var e=document.getElementById("stiPrintReportFrame");null==e&&((e=document.createElement("iframe")).id="stiPrintReportFrame",e.name="stiPrintReportFrame",e.width="0",e.height="0",e.style.position="absolute",e.style.border="none",document.body.appendChild(e)),e.contentWindow.document.open(),e.contentWindow.document.write(t),e.contentWindow.document.close(),setTimeout(function(){e.contentWindow.focus(),e.contentWindow.print()})};document.body?e(t):l.addEvent(window,"load",function(){e(t)})}catch(t){if(F.StiLogService.write(r.stimulsoft.getType(),"Printing report...ERROR"),F.StiLogService.write(r.stimulsoft.getType(),t),!StiOptions.Engine.hideExceptions)throw t}r.invokePrinted()},this,a,n)}catch(t){if(F.StiLogService.write(this.stimulsoft.getType(),"Printing report...ERROR"),F.StiLogService.write(this.stimulsoft.getType(),t),!StiOptions.Engine.hideExceptions)throw t}this.invokePrinted()},yt.prototype.printToPdf=function(t,i){void 0===t&&(t=null),void 0===i&&(i=null),this.invokePrinting(),F.StiLogService.write(this.stimulsoft.getType(),"Printing report");try{var e=new At.Report.Export.StiPdfExportSettings;e.autoPrintMode=At.Report.Export.StiPdfAutoPrintMode.Dialog,t&&(e.pageRange=t);var r=new At.Report.Export["StiPdfExportService"],o=new G,a=this;r.exportToAsync(function(){try{var t=function(){if(!navigator)return"Unknown";var t=navigator.userAgent;if(0<=t.indexOf("Edge"))return"Edge";if(0<=t.indexOf("MSIE")||0<=t.indexOf("Trident"))return"MSIE";if(0<=t.indexOf("Gecko")){if(0<=t.indexOf("Chrome"))return"Chrome";if(0<=t.indexOf("Safari"))return"Safari";return"Mozilla"}if(0<=t.indexOf("Opera"))return"Opera";return"Unknown"},e=o.toArray(),r=new Blob([new Uint8Array(e)],{type:"application/pdf"}),e=t(),t,r,n;"MSIE"==e||"Edge"==e?(t=null==a.reportAlias||0==a.reportAlias.trim().length?a.reportName:a.reportAlias,window.navigator.msSaveOrOpenBlob(r,t+".pdf")):(r=URL.createObjectURL(r),null==(n=document.getElementById("pdfPrintFrame"))&&((n=document.createElement("iframe")).id="pdfPrintFrame",n.name="pdfPrintFrame",n.width="0px",n.height="0px",n.style.position="absolute",n.style.border="none","Mozilla"==e&&(n.width="100px",n.height="100px",n.style.visibility="hidden",n.style.zIndex="-100",n.style.pointerEvents="none"),(i||document.body).appendChild(n),"Mozilla"!=e&&(n.onload=function(){n.contentWindow.focus(),n.contentWindow.print()})),n.src=r)}catch(t){if(F.StiLogService.write(a.stimulsoft.getType(),"Printing report...ERROR"),F.StiLogService.write(a.stimulsoft.getType(),t),!StiOptions.Engine.hideExceptions)throw t}a.invokePrinted()},a,o,e)}catch(t){if(F.StiLogService.write(this.stimulsoft.getType(),"Printing report...ERROR"),F.StiLogService.write(this.stimulsoft.getType(),t),!StiOptions.Engine.hideExceptions)throw t}},Object.defineProperty(yt.prototype,"reportFile",{get:function(){return this._reportFile},set:function(t){this._reportFile=t},enumerable:!1,configurable:!0}),yt.prototype.exportDocumentAsync=function(t,e,r,n){void 0===r&&(r=null),void 0===n&&(n=null);var i=this;setTimeout(function(){i.exportDocument(e,r,n,t)})},yt.prototype.exportDocumentAsync2=function(o,a,s){return void 0===a&&(a=null),void 0===s&&(s=null),__awaiter(this,void 0,void 0,function(){var i=this;return __generator(this,function(t){return[2,new Promise(function(e,r){var n=i;setTimeout(function(){var t;try{t=n.exportDocument(o,a,s),e(t)}catch(t){r(t)}})})]})})},yt.prototype.exportDocument=function(t,e,r,n){void 0===e&&(e=null),void 0===r&&(r=null),void 0===n&&(n=null);var i=[];this.invokeExporting(t);var o=M.currentCulture;if(!k.isNullOrEmpty(this.culture))try{M.currentCulture=M.cultures[this.culture]}catch(t){}try{F.StiLogService.write(yt,"Exporting rendered report");var a=new G(i),s;if(!new At.Report.Events.StiProcessExportEventArgs(t,e,a,r).processed)switch(t){case F.StiExportFormat.Csv:if(!v.isAssemblyLoaded){w.showError(new C,!0);break}if(null!=e&&!e.stimulsoft.is(At.Report.Export.IStiCsvExportService))throw new Error("The incorrect type of the 'exportService' argument is used. The StiExportService must have same type of export as declared in exportFormat argument.");var l=null==e?null:e.stimulsoft.as(At.Report.Export.IStiCsvExportService),u;if(null==l&&(l=new At.Report.Export["StiCsvExportService"]),null==r&&(r=new At.Report.Export.StiCsvExportSettings),!(r.stimulsoft.is(At.Report.Export.StiCsvExportSettings)||r.stimulsoft.is(At.Report.Export.StiDataExportSettings)&&r.dataType==I.Csv))throw new Error("The incorrect type of the 'settings' argument is used. The StiCsvExportSettings is need to be used.");null!=n?l.exportToAsync(function(){n(a.toArray())},this,a,r):(l.exportTo(this,a,r),i=a.toArray());break;case F.StiExportFormat.Data:if(!v.isAssemblyLoaded){w.showError(new C,!0);break}if(null!=e&&!e.stimulsoft.is(At.Report.Export.IStiDataExportService))throw new Error("The incorrect type of the 'exportService' argument is used. The StiExportService must have same type of export as declared in exportFormat argument.");var l=null==e?null:e.stimulsoft.as(At.Report.Export.IStiDataExportService);if(null==l&&(l=new At.Report.Export["StiDataExportService"]),null==r&&(r=new At.Report.Export.StiDataExportSettings),!r.stimulsoft.is(At.Report.Export.StiDataExportSettings))throw new Error("The incorrect type of the 'settings' argument is used. The StiCsvExportSettings is need to be used.");null!=n?l.exportToAsync(function(){n(a.toArray())},this,a,r):(l.exportTo(this,a,r),i=a.toArray());break;case F.StiExportFormat.Dif:break;case F.StiExportFormat.Sylk:break;case F.StiExportFormat.Excel:break;case F.StiExportFormat.ExcelXml:break;case F.StiExportFormat.Excel2007:if(!v.isAssemblyLoaded){w.showError(new C,!0);break}if(null!=e&&!e.stimulsoft.is(At.Report.Export.IStiExcel2007ExportService))throw new Error("The incorrect type of the 'exportService' argument is used. The StiExportService must have same type of export as declared in exportFormat argument.");var c=null==e?null:e.stimulsoft.as(At.Report.Export.IStiExcel2007ExportService);if(null==c&&(c=new At.Report.Export["StiExcel2007ExportService"]),null==r&&(r=new At.Report.Export.StiExcel2007ExportSettings),!(r.stimulsoft.is(At.Report.Export.StiExcel2007ExportSettings)||r.stimulsoft.is(At.Report.Export.StiExcelExportSettings)&&r.stimulsoft.as(At.Report.Export.StiExcelExportSettings).excelType==B.Excel2007))throw new Error("The incorrect type of the 'settings' argument is used. The StiExcel2007ExportSettings is need to be used.");null!=n?c.exportToAsync(function(){n(a.toArray())},this,a,r):(c.exportTo(this,a,r),i=a.toArray());break;case F.StiExportFormat.Word2007:if(!v.isAssemblyLoaded){w.showError(new C,!0);break}if(null!=e&&!e.stimulsoft.is(At.Report.Export.IStiWord2007ExportService))throw new Error("The incorrect type of the 'exportService' argument is used. The StiExportService must have same type of export as declared in exportFormat argument.");var c=null==e?null:e.stimulsoft.as(At.Report.Export.IStiWord2007ExportService);if(null==c&&(c=new At.Report.Export["StiWord2007ExportService"]),null==r&&(r=new At.Report.Export.StiWord2007ExportSettings),!r.stimulsoft.is(At.Report.Export.StiWord2007ExportSettings))throw new Error("The incorrect type of the 'settings' argument is used. The StiWord2007ExportSettings is need to be used.");null!=n?c.exportToAsync(function(){n(a.toArray())},this,a,r):(c.exportTo(this,a,r),i=a.toArray());break;case F.StiExportFormat.Dbf:break;case F.StiExportFormat.Mht:break;case F.StiExportFormat.HtmlSpan:if(null!=e&&!e.stimulsoft.is(At.Report.Export.StiHtmlExportService))throw new Error("The incorrect type of the 'exportService' argument is used. The StiExportService must have same type of export as declared in exportFormat argument.");var p=null==e?null:e.stimulsoft.as(At.Report.Export.StiHtmlExportService);if(null==p&&(p=new At.Report.Export.StiHtmlExportService),null==r&&(r=new At.Report.Export.StiHtmlExportSettings),!r.stimulsoft.is(At.Report.Export.StiHtmlExportSettings))throw new Error("The incorrect type of the 'settings' argument is used. The StiHtmlExportSettings is need to be used.");r.exportMode=H.Span;var h=new ht,m=new At.Report.Export.StiHtmlTextWriter(h);null!=n?p.exportToAsync(function(){n(h.getStringBuilder().toString())},this,m,r):(p.exportHtml(this,m,r),i=h.getStringBuilder().toString());break;case F.StiExportFormat.HtmlDiv:if(null!=e&&!e.stimulsoft.is(At.Report.Export.StiHtmlExportService))throw new Error("The incorrect type of the 'exportService' argument is used. The StiExportService must have same type of export as declared in exportFormat argument.");var p=null==e?null:e.stimulsoft.as(At.Report.Export.StiHtmlExportService);if(null==p&&(p=new At.Report.Export.StiHtmlExportService),null==r&&(r=new At.Report.Export.StiHtmlExportSettings),!r.stimulsoft.is(At.Report.Export.StiHtmlExportSettings))throw new Error("The incorrect type of the 'settings' argument is used. The StiHtmlExportSettings is need to be used.");r.exportMode=H.Div;var d=new ht,m=new At.Report.Export.StiHtmlTextWriter(d);null!=n?p.exportToAsync(function(){n(d.getStringBuilder().toString())},this,m,r):(p.exportTo(this,m,r),i=d.getStringBuilder().toString());break;case F.StiExportFormat.Html:case F.StiExportFormat.HtmlTable:if(null!=e&&!e.stimulsoft.is(At.Report.Export.StiHtmlExportService))throw new Error("The incorrect type of the 'exportService' argument is used. The StiExportService must have same type of export as declared in exportFormat argument.");var g=null==e?null:e.stimulsoft.as(At.Report.Export.StiHtmlExportService);if(null==g&&(g=new At.Report.Export.StiHtmlExportService),null==r&&(r=new At.Report.Export.StiHtmlExportSettings),!r.stimulsoft.is(At.Report.Export.StiHtmlExportSettings))throw new Error("The incorrect type of the 'settings' argument is used. The StiHtmlExportSettings is need to be used.");t!=F.StiExportFormat.Html&&(r.exportMode=H.Table);var f=new ht,m=new At.Report.Export.StiHtmlTextWriter(f);null!=n?g.exportToAsync(function(){n(f.getStringBuilder().toString())},this,m,r):(g.exportTo(this,m,r),i=f.getStringBuilder().toString());break;case F.StiExportFormat.Html5:if(!v.isAssemblyLoaded){w.showError(new C,!0);break}if(null!=e&&!e.stimulsoft.is(At.Report.Export.IStiHtml5ExportService))throw new Error("The incorrect type of the 'exportService' argument is used. The StiExportService must have same type of export as declared in exportFormat argument.");var g=null==e?null:e.stimulsoft.as(At.Report.Export.IStiHtml5ExportService);if(null==g&&(g=new At.Report.Export["StiHtml5ExportService"]),null==r&&(r=new At.Report.Export.StiHtml5ExportSettings),!r.stimulsoft.is(At.Report.Export.StiHtml5ExportSettings))throw new Error("The incorrect type of the 'settings' argument is used. The Stimulsoft.Report.Export.StiHtml5ExportSettings is need to be used.");var S=new ht,m=new At.Report.Export.StiHtmlTextWriter(S);null!=n?g.exportToAsync(function(){n(S.getStringBuilder().toString())},this,m,r):(g.exportTo(this,m,r),i=S.getStringBuilder().toString());break;case F.StiExportFormat.Image:break;case F.StiExportFormat.ImageBmp:break;case F.StiExportFormat.ImageEmf:break;case F.StiExportFormat.ImageSvg:if(null!=e&&!e.stimulsoft.is(At.Report.Export.StiSvgExportService))throw new Error("The incorrect type of the 'exportService' argument is used. The StiExportService must have same type of export as declared in exportFormat argument.");var m=null==e?null:e.stimulsoft.as(At.Report.Export.StiSvgExportService);if(null==m&&(m=new At.Report.Export.StiSvgExportService),null==r&&(r=new At.Report.Export.StiSvgExportSettings),!r.stimulsoft.is(At.Report.Export.StiImageExportSettings))throw new Error("The incorrect type of the 'settings' argument is used. The StiSvgExportSettings is need to be used.");var y={ref:""};m.exportImage(this,y,r),i=y.ref;break;case F.StiExportFormat.ImageSvgz:break;case F.StiExportFormat.ImageGif:break;case F.StiExportFormat.ImageJpeg:break;case F.StiExportFormat.ImagePng:break;case F.StiExportFormat.ImageTiff:break;case F.StiExportFormat.ImagePcx:break;case F.StiExportFormat.Pdf:if(!v.isAssemblyLoaded){w.showError(new C,!0);break}if(null!=e&&!e.stimulsoft.is(At.Report.Export.IStiPdfExportService))throw new Error("The incorrect type of the 'exportService' argument is used. The StiExportService must have same type of export as declared in exportFormat argument.");var y=null==e?null:e.stimulsoft.as(At.Report.Export.IStiPdfExportService);if(null==y&&(y=new At.Report.Export["StiPdfExportService"]),null==r&&(r=new At.Report.Export.StiPdfExportSettings),!r.stimulsoft.is(At.Report.Export.StiPdfExportSettings))throw new Error("The incorrect type of the 'settings' argument is used. The StiPdfExportSettings is need to be used.");null!=n?y.exportToAsync(function(){n(a.toArray())},this,a,r):(y.exportTo(this,a,r),i=a.toArray());break;case F.StiExportFormat.Xps:break;case F.StiExportFormat.Rtf:case F.StiExportFormat.RtfTable:break;case F.StiExportFormat.RtfFrame:break;case F.StiExportFormat.RtfWinWord:break;case F.StiExportFormat.RtfTabbedText:break;case F.StiExportFormat.Text:if(!v.isAssemblyLoaded){w.showError(new C,!0);break}if(null!=e&&!e.stimulsoft.is(At.Report.Export.IStiTxtExportService))throw new Error("The incorrect type of the 'exportService' argument is used. The StiExportService must have same type of export as declared in exportFormat argument.");var A=null==e?null:e.stimulsoft.as(At.Report.Export.IStiTxtExportService);if(null==A&&(A=new At.Report.Export["StiTxtExportService"]),null==r&&(r=new At.Report.Export.StiTxtExportSettings),!r.stimulsoft.is(At.Report.Export.StiTxtExportSettings))throw new Error("The incorrect type of the 'settings' argument is used. The StiTxtExportSettings is need to be used.");null!=n?A.exportToAsync(function(){n(a.toArray())},this,a,r):(A.exportTo(this,a,r),i=a.toArray());break;case F.StiExportFormat.Xml:break;case F.StiExportFormat.Ods:if(!v.isAssemblyLoaded){w.showError(new C,!0);break}if(null!=e&&!e.stimulsoft.is(At.Report.Export.IStiOdsExportService))throw new Error("The incorrect type of the 'exportService' argument is used. The StiExportService must have same type of export as declared in exportFormat argument.");var A=null==e?null:e.stimulsoft.as(At.Report.Export.IStiOdsExportService);if(null==A&&(A=new At.Report.Export["StiOdsExportService"]),null==r&&(r=new At.Report.Export.StiOdsExportSettings),!r.stimulsoft.is(At.Report.Export.StiOdsExportSettings))throw new Error("The incorrect type of the 'settings' argument is used. The StiOdsExportSettings is need to be used.");null!=n?A.exportToAsync(function(){n(a.toArray())},this,a,r):(A.exportTo(this,a,r),i=a.toArray());break;case F.StiExportFormat.Odt:if(!v.isAssemblyLoaded){w.showError(new C,!0);break}if(null!=e&&!e.stimulsoft.is(At.Report.Export.IStiOdtExportService))throw new Error("The incorrect type of the 'exportService' argument is used. The StiExportService must have same type of export as declared in exportFormat argument.");var b=null==e?null:e.stimulsoft.as(At.Report.Export.IStiOdtExportService);if(null==b&&(b=new At.Report.Export["StiOdtExportService"]),null==r&&(r=new At.Report.Export.StiOdtExportSettings),!r.stimulsoft.is(At.Report.Export.StiOdtExportSettings))throw new Error("The incorrect type of the 'settings' argument is used. The StiOdtExportSettings is need to be used.");null!=n?b.exportToAsync(function(){n(a.toArray())},this,a,r):(b.exportTo(this,a,r),i=a.toArray());break;case F.StiExportFormat.Ppt2007:if(!v.isAssemblyLoaded){w.showError(new C,!0);break}if(null!=e&&!e.stimulsoft.is(At.Report.Export.IStiPpt2007ExportService))throw new Error("The incorrect type of the 'exportService' argument is used. The StiExportService must have same type of export as declared in exportFormat argument.");var b=null==e?null:e.stimulsoft.as(At.Report.Export.IStiPpt2007ExportService);if(null==b&&(b=new At.Report.Export["StiPpt2007ExportService"]),null==r&&(r=new At.Report.Export.StiPpt2007ExportSettings),!r.stimulsoft.is(At.Report.Export.StiPpt2007ExportSettings))throw new Error("The incorrect type of the 'settings' argument is used. The StiPpt2007ExportSettings is need to be used.");null!=n?b.exportToAsync(function(){n(a.toArray())},this,a,r):(b.exportTo(this,a,r),i=a.toArray());break}}catch(t){if(F.StiLogService.write(this.stimulsoft.getType(),"Exporting rendered report...ERROR"),F.StiLogService.write(this.stimulsoft.getType(),t),!StiOptions.Engine.hideExceptions)throw t}finally{k.isNullOrEmpty(this.culture)||(M.currentCulture=o)}return this.invokeExported(t),i},yt.createNewReport=function(){return d.createObject(StiOptions.Engine.baseReportType)},yt.createNewDashboard=function(){var t=this.createNewReport();t._calculationMode=F.StiCalculationMode.Interpretation,t.pages.clear(),t.indexName=1;var e=At.Report.Dashboard.StiDashboardCreator.createDashboard(t).stimulsoft.as(st);if(null==e&&(e=d.createObject2("Stimulsoft.Dashboard.Components.StiDashboard")),null==e)throw new h;return e.name=F.StiNameCreation.createName(t,F.StiNameCreation.generateName(e)),t.pages.add(e),t},yt.eventBeginRender={},yt.eventEndRender={},yt);function yt(){this._pageNumber=0,this._totalPageCountValue=0,this._pageNofMLocalizationString=null,this._line=1,this._groupLine=1,this._column=1,this._lineThrough=1,this._cacheAllData=!1,this._retrieveOnlyUsedData=!1,this._reportCacheMode=F.StiReportCacheMode.Off,this.convertNulls=!0,this._currentPage=0,this._currentPrintPage=0,this._pageCopyNumber=1,this._variables=null,this._script="",this.onBeginProcessData=null,this.onEndProcessData=null,this.events=new K,this.beginRenderEventScript="",this.onRendering=null,this.onEndRender=null,this.renderingEvent=new x,this.endRenderEventScript="",this.exportingEvent=new _,this.exportedEvent=new D,this.printingEvent=new R,this.printedEvent=new E,this.refreshingEvent=new T,this.onGetSubReport=null,this.reportCacheProcessingEvent=new j,this._masterReport="",this.anchors=new K,this.subReportsMasterReport=null,this.subReportsResetPageNumber=!1,this.subReportsPrintOnPreviousPage=!1,this.indexName=1,this.containsTables=!1,this.cachedTotals=null,this.cachedTotalsLocked=!1,this.preparedExportImages=null,this.modifiedVariables=new K,this._metaTags=new r,this._reportVersion=null,this._engine=null,this._reportRenderingMessages=null,this._interactionCollapsingStates=null,this._reportGuid=null,this._imageCachePath="",this._parentReport=null,this._globalizationManager=new F.StiNullGlobalizationManager,this._manualBookmark=new Z,this._totals=new K,this._cells=null,this._password=null,this._listOfUsedData=null,this.renderedWith=F.StiRenderedWith.Unknown,this._reportPass=F.StiReportPass.None,this._isRendered=!1,this._isRendering=!1,this._isModified=!1,this._isStopped=!1,this._isExporting=!1,this._isSerializing=!1,this._isPageDesigner=!1,this.isPrintingValue=!1,this._isDocument=!1,this._isInteractionRendering=!1,this._reportName="",this._reportAlias="",this._reportAuthor="",this._reportDescription="",this._reportCreated=nt.now,this._reportChanged=nt.now,this._numberOfPass=F.StiNumberOfPass.SinglePass,this._calculationMode=F.StiCalculationMode.Interpretation,this._reportUnit=F.StiReportUnitType.Centimeters,this._stopBeforePage=0,this._previewSettings=At.Report.Viewer.StiPreviewSettings.Default,this._dashboardViewerSettings=F.StiDashboardViewerSettings.All,this._collate=1,this._globalizationStrings=null,this._autoLocalizeReportOnRun=!1,this.scriptLanguage=F.StiReportLanguageType.JS,this._requestParameters=!1,this._cacheTotals=!1,this._culture="",this._refreshTime=0,this._reportFile="";try{At.Report.Dictionary.StiFunctionsMath.create(),At.Report.Dictionary.StiFunctionsDate.create(),At.Report.Dictionary.StiFunctionsPrintState.create(),At.Report.Dictionary.StiFunctionsProgrammingShortcut.create(),At.Report.Dictionary.StiFunctionsStrings.create(),At.Report.Dictionary.StiFunctionsTotals.create(),this.key=n.generateKey(),this._subReports=new F.StiReportsCollection(this),this._reportGuid=this.generateReportGuid(),this._info=new At.Report.Design.StiDesignerInfo(this);try{}catch(t){At.System.StiError.showError(t,!1)}this._dictionary=new At.Report.Dictionary.StiDictionary(this),this._styles=new $(this),this._globalizationStrings=new F.StiGlobalizationContainerCollection(this);try{this._pages=new V(this),this._renderedPages=new V(this)}catch(t){At.System.StiError.showError(t,!1)}var t=new st(this);try{}catch(t){At.System.StiError.showError(t,!1)}this.pages.add(t),t.name=F.StiNameCreation.generateName(t)+"1",this.renderedPages.add(t);try{var e=void 0;("en"==X.cultureName||StiOptions.Engine.forceGenerationNonLocalizedName)&&(e=!1),StiOptions.Engine.forceGenerationLocalizedName&&(e=!0),e?(this._reportName=X.get("Components","StiReport"),this._reportAlias=X.get("Components","StiReport")):(this._reportName="Report",this._reportAlias="Report")}catch(t){At.System.StiError.showError(t,!1),this._reportName="Report",this._reportAlias="Report"}this.bookmarkValue=ot.createBookmark(this.reportAlias),this._manualBookmark=ot.createBookmark(this.reportAlias)}catch(t){At.System.StiError.showError(t,!1)}}F.StiReport=St}(t=At.Report||(At.Report={}))}(Stimulsoft=Stimulsoft||{}),function(t){var e=Stimulsoft.Report.StiParserType,r=Stimulsoft.System.StiString,n=Stimulsoft.System.Drawing.ColorTranslator,i=Stimulsoft.Report.Dictionary.StiColumnsSynchronizationMode,o=Stimulsoft.Report.Export.StiWord2007RestrictEditing,a=Stimulsoft.System.Drawing.FontStyle,s=Stimulsoft.System.Drawing.Font,l=Stimulsoft.Base.Drawing.StiSolidBrush,u=Stimulsoft.System.Drawing.Color,c=Stimulsoft.Report.Styles.StiStyle,p=Stimulsoft.Report.Components.StiTextQuality,h=Stimulsoft.Report.StiNamingRule,m=Stimulsoft.Report.Dictionary.StiAutoSynchronizeMode,d=Stimulsoft.Report.Dictionary.StiPropertiesProcessingType,g=Stimulsoft.Report.Dictionary.StiFieldsProcessingType,f=Stimulsoft.Report.Export.StiExcel2007RestrictEditing,S=Stimulsoft.Base.Drawing.StiTextHorAlignment,y=Stimulsoft.Base.Drawing.StiVertAlignment,A=Stimulsoft.Report.Export.StiExportUtils,b=Stimulsoft.Report.StiArabicDigitsType,C=Stimulsoft.Report.Export.StiPdfAutoPrintMode,v=Stimulsoft.System.Collections.Hashtable,w=Stimulsoft.System.Collections.List;Stimulsoft["StiOptions"]=t,Stimulsoft.Report["StiOptions"]=t,"undefined"!=typeof window&&(window.StiOptions=t);var B=I;function I(){this.styleColors=[u.white,u.darkGray,u.peachPuff,u.plum,u.lightCoral,u.skyBlue,u.lightSeaGreen,u.lightGreen,u.yellowGreen,u.wheat,u.khaki,n.fromHtml("#0bac45"),n.fromHtml("#b5a1dd"),n.fromHtml("#ffc000"),n.fromHtml("#ed7d31"),n.fromHtml("#239fd9")]}t.CrossTab2=B;var T=(Object.defineProperty(E,"styles",{get:function(){var t;return null==E._styles&&(E._styles=new Stimulsoft.Report.Styles.StiStylesCollection,(t=new c("Normal","Normal")).brush=new l(u.transparent),t.textBrush=new l(u.black),E._styles.add(t),(t=new c("Bad","Bad")).brush=new l(u.fromArgb(255,255,199,206)),t.textBrush=new l(u.fromArgb(255,208,55,5)),E._styles.add(t),(t=new c("Good","Good")).brush=new l(u.fromArgb(255,198,239,206)),t.textBrush=new l(u.fromArgb(255,0,97,94)),E._styles.add(t),(t=new c("Neutral","Neutral")).brush=new l(u.fromArgb(255,255,235,156)),t.textBrush=new l(u.fromArgb(255,174,127,43)),E._styles.add(t),(t=new c("Warning","Warning")).brush=new l(u.transparent),t.textBrush=new l(u.red),t.font=new s("Arial",8,a.Bold),E._styles.add(t),(t=new c("Note","Note")).brush=new l(u.fromArgb(255,255,255,204)),t.textBrush=new l(u.black),E._styles.add(t)),E._styles},enumerable:!1,configurable:!0}),E.useComponentPlacementOptimization=!0,E.autoCorrectDataSourceName=!1,E.autoCorrectDataRelationName=!1,E.autoCorrectDataColumnName=!1,E.autoCorrectComponentName=!1,E.autoCorrectReportName=!1,E.autoLargeHeight=!0,E.sortDictionaryByAliases=!1,E.runWizardAfterLoad=!1,E.runSpecificWizardAfterLoad="",E.Editors={allowConnectToDataInGallery:!1},E.CrossTab=new B,E);function E(){}t.Designer=T;var R=D;function D(){this.useImageCloning=!0}t.Image=R;var P=x;function x(){this.allowExpression=!0}t.Watemark=P;var B=F;function F(){this.defaultWidth=5,this.defaultHeight=5}t.CrossTab=B;var T=N;function N(){this.allowUseText=!0,this.allowUseTag=!0,this.allowUseToolTip=!0,this.allowUseHyperlink=!0,this.allowUseVariableAlias=!0}t.Globalization=T;var P=(k.Image=new R,k.Watermark=new P,k.printIfDetailEmptyDefaultValue=!1,k.baseReportType=Stimulsoft.Report.StiReport,k.fullTrust=!0,k.allowUseResetMethodInBusinessObject=!0,k.allowResetValuesAtComponent=!0,k.defaultTextQualityMode=p.Standard,k.forceGenerationLocalizedName=!1,k.useAdvancedPrintOnEngine=!1,k.forceGenerationNonLocalizedName=!1,k.forceNewPageForExtraColumns=!0,k.useRoundForToCurrencyWordsFunctions=!0,k.useTemplateForPagePrintEvents=!0,k.namingRule=h.Advanced,k.useCheckSizeForContinuedContainers=!0,k.emulateData=!1,k.allowCacheForGetActualSize=!1,k.allowBreakContainerOptimization=!0,k.removeBottomBorderOfSplitContainer=!1,k.usePrintOnAllPagesPropertyOfHeadersInSubreports=!0,k.useParentStylesOldMode=!1,k.useCollateOldMode=!1,k.dpiAware=!0,k.dockPageFooterToBottom=!0,k.defaultValueOfAllowApplyStyleProperty=!0,k.allowFixPieChartMarkerAlignment=!0,k.applyStylesInAutoSeries=!0,k.allowInvokeProcessChartEventForTemplateOfChart=!1,k.allowInteractionInChartWithComponents=!1,k.dontSaveDataSourceBeforeChartRendering=!1,k.measureTrailingSpaces=!1,k.renderExternalSubReportsWithHelpOfUnlimitedHeightPages=!0,k.escapeQueryParameters=!0,k.optimizeDetailDataFiltering=!0,k.CrossTab=new B,k.printIfDetailEmptyNesting=!1,k.allowForceCanBreakForCrossTabPrintOnAllPages=!0,k.Globalization=new T,k.reportResources={maximumSize:5e6},k.filterDataInDataSourceBeforeSorting=!0,k.allowConvertingInFormatting=!0,k.negativeColor=u.red,k.barcodeQRCodeAllowUnicodeBOM=!0,k.retrieveSchemaNamePostgreSql="public",k.hideExceptions=!1,k.fixPageNumberInEvents=!0,k.dashboardTextElementExpressionParser=e.DataParser,k);function k(){}t.Engine=P;var p=(M.customPaperSizes=null,M.allowUsePaperSizesFromPrinterSettings=!0,M);function M(){}t.Print=p;var h=(O.allowUseDataColumn=!0,O.allowUseProperties=!0,O.propertiesProcessingType=d.Browsable,O.fieldsProcessingType=g.Browsable,O);function O(){this.columnsSynchronizationMode=i.KeepAbsentColumns}t.BusinessObjects=h;var B=(_.BusinessObjects=new h,_.showOnlyAliasForDatabase=!1,_.showOnlyAliasForData=!1,_.showOnlyAliasForDataColumn=!0,_.showOnlyAliasForDataRelation=!1,_.hideRelationExceptions=!1,_.autoSynchronize=m.Always,_.useAdvancedDataSearch=!0,_.showOnlyAliasForDataSource=!0,_.allowRestConnections=!0,_.allowConnectToFirstTableForEmptyDataSource=!0,_.useNullableDateTime=!1,_.useNullableTimeSpan=!1,_.columnsSynchronizationMode=i.KeepAbsentColumns,_.showOnlyAliasForResource=!1,_);function _(){}t.Dictionary=B;var T=(Object.defineProperty(j.prototype,"dashboardStyles",{get:function(){if(null!=this._dashboardStyles)return this._dashboardStyles;return this._dashboardStyles=new w,this._dashboardStyles.add(new Stimulsoft.Report.Dashboard.Styles.StiBlueDashboardStyle),this._dashboardStyles.add(new Stimulsoft.Report.Dashboard.Styles.StiOrangeDashboardStyle),this._dashboardStyles.add(new Stimulsoft.Report.Dashboard.Styles.StiGreenDashboardStyle),this._dashboardStyles.add(new Stimulsoft.Report.Dashboard.Styles.StiTurquoiseDashboardStyle),this._dashboardStyles.add(new Stimulsoft.Report.Dashboard.Styles.StiSlateGrayDashboardStyle),this._dashboardStyles.add(new Stimulsoft.Report.Dashboard.Styles.StiDarkBlueDashboardStyle),this._dashboardStyles.add(new Stimulsoft.Report.Dashboard.Styles.StiDarkGrayDashboardStyle),this._dashboardStyles.add(new Stimulsoft.Report.Dashboard.Styles.StiDarkTurquoiseDashboardStyle),this._dashboardStyles.add(new Stimulsoft.Report.Dashboard.Styles.StiSilverDashboardStyle),this._dashboardStyles.add(new Stimulsoft.Report.Dashboard.Styles.StiAliceBlueDashboardStyle),this._dashboardStyles.add(new Stimulsoft.Report.Dashboard.Styles.StiDarkGreenDashboardStyle),this._dashboardStyles},enumerable:!1,configurable:!0}),Object.defineProperty(j.prototype,"controlStyles",{get:function(){if(null!=this._controlStyles)return this._controlStyles;return this._controlStyles=new w,this._controlStyles.add(new Stimulsoft.Report.Dashboard.Styles.StiBlueControlElementStyle),this._controlStyles.add(new Stimulsoft.Report.Dashboard.Styles.StiOrangeControlElementStyle),this._controlStyles.add(new Stimulsoft.Report.Dashboard.Styles.StiGreenControlElementStyle),this._controlStyles.add(new Stimulsoft.Report.Dashboard.Styles.StiTurquoiseControlElementStyle),this._controlStyles.add(new Stimulsoft.Report.Dashboard.Styles.StiSlateGrayControlElementStyle),this._controlStyles.add(new Stimulsoft.Report.Dashboard.Styles.StiDarkBlueControlElementStyle),this._controlStyles.add(new Stimulsoft.Report.Dashboard.Styles.StiDarkGrayControlElementStyle),this._controlStyles.add(new Stimulsoft.Report.Dashboard.Styles.StiDarkTurquoiseControlElementStyle),this._controlStyles.add(new Stimulsoft.Report.Dashboard.Styles.StiSilverControlElementStyle),this._controlStyles.add(new Stimulsoft.Report.Dashboard.Styles.StiAliceBlueControlElementStyle),this._controlStyles.add(new Stimulsoft.Report.Dashboard.Styles.StiDarkGreenControlElementStyle),this._controlStyles},enumerable:!1,configurable:!0}),Object.defineProperty(j.prototype,"indicatorStyles",{get:function(){if(null!=this._indicatorStyles)return this._indicatorStyles;return this._indicatorStyles=new w,this._indicatorStyles.add(new Stimulsoft.Report.Dashboard.Styles.StiBlueIndicatorElementStyle),this._indicatorStyles.add(new Stimulsoft.Report.Dashboard.Styles.StiOrangeIndicatorElementStyle),this._indicatorStyles.add(new Stimulsoft.Report.Dashboard.Styles.StiGreenIndicatorElementStyle),this._indicatorStyles.add(new Stimulsoft.Report.Dashboard.Styles.StiTurquoiseIndicatorElementStyle),this._indicatorStyles.add(new Stimulsoft.Report.Dashboard.Styles.StiSlateGrayIndicatorElementStyle),this._indicatorStyles.add(new Stimulsoft.Report.Dashboard.Styles.StiDarkBlueIndicatorElementStyle),this._indicatorStyles.add(new Stimulsoft.Report.Dashboard.Styles.StiDarkGrayIndicatorElementStyle),this._indicatorStyles.add(new Stimulsoft.Report.Dashboard.Styles.StiDarkTurquoiseIndicatorElementStyle),this._indicatorStyles.add(new Stimulsoft.Report.Dashboard.Styles.StiSilverIndicatorElementStyle),this._indicatorStyles.add(new Stimulsoft.Report.Dashboard.Styles.StiAliceBlueIndicatorElementStyle),this._indicatorStyles.add(new Stimulsoft.Report.Dashboard.Styles.StiDarkGreenIndicatorElementStyle),this._indicatorStyles},enumerable:!1,configurable:!0}),Object.defineProperty(j.prototype,"pivotStyles",{get:function(){if(null!=this._pivotStyles)return this._pivotStyles;return this._pivotStyles=new w,this._pivotStyles.add(new Stimulsoft.Report.Dashboard.Styles.StiBluePivotElementStyle),this._pivotStyles.add(new Stimulsoft.Report.Dashboard.Styles.StiOrangePivotElementStyle),this._pivotStyles.add(new Stimulsoft.Report.Dashboard.Styles.StiGreenPivotElementStyle),this._pivotStyles.add(new Stimulsoft.Report.Dashboard.Styles.StiTurquoisePivotElementStyle),this._pivotStyles.add(new Stimulsoft.Report.Dashboard.Styles.StiSlateGrayPivotElementStyle),this._pivotStyles.add(new Stimulsoft.Report.Dashboard.Styles.StiDarkBluePivotElementStyle),this._pivotStyles.add(new Stimulsoft.Report.Dashboard.Styles.StiDarkGrayPivotElementStyle),this._pivotStyles.add(new Stimulsoft.Report.Dashboard.Styles.StiDarkTurquoisePivotElementStyle),this._pivotStyles.add(new Stimulsoft.Report.Dashboard.Styles.StiSilverPivotElementStyle),this._pivotStyles.add(new Stimulsoft.Report.Dashboard.Styles.StiAliceBluePivotElementStyle),this._pivotStyles.add(new Stimulsoft.Report.Dashboard.Styles.StiDarkGreenPivotElementStyle),this._pivotStyles},enumerable:!1,configurable:!0}),Object.defineProperty(j.prototype,"progressStyles",{get:function(){if(null!=this._progressStyles)return this._progressStyles;return this._progressStyles=new w,this._progressStyles.add(new Stimulsoft.Report.Dashboard.Styles.StiBlueProgressElementStyle),this._progressStyles.add(new Stimulsoft.Report.Dashboard.Styles.StiOrangeProgressElementStyle),this._progressStyles.add(new Stimulsoft.Report.Dashboard.Styles.StiGreenProgressElementStyle),this._progressStyles.add(new Stimulsoft.Report.Dashboard.Styles.StiTurquoiseProgressElementStyle),this._progressStyles.add(new Stimulsoft.Report.Dashboard.Styles.StiSlateGrayProgressElementStyle),this._progressStyles.add(new Stimulsoft.Report.Dashboard.Styles.StiDarkBlueProgressElementStyle),this._progressStyles.add(new Stimulsoft.Report.Dashboard.Styles.StiDarkGrayProgressElementStyle),this._progressStyles.add(new Stimulsoft.Report.Dashboard.Styles.StiDarkTurquoiseProgressElementStyle),this._progressStyles.add(new Stimulsoft.Report.Dashboard.Styles.StiSilverProgressElementStyle),this._progressStyles.add(new Stimulsoft.Report.Dashboard.Styles.StiAliceBlueProgressElementStyle),this._progressStyles.add(new Stimulsoft.Report.Dashboard.Styles.StiDarkGreenProgressElementStyle),this._progressStyles},enumerable:!1,configurable:!0}),Object.defineProperty(j.prototype,"tableStyles",{get:function(){if(null!=this._tableStyles)return this._tableStyles;return this._tableStyles=new w,this._tableStyles.add(new Stimulsoft.Report.Dashboard.Styles.StiBlueTableElementStyle),this._tableStyles.add(new Stimulsoft.Report.Dashboard.Styles.StiOrangeTableElementStyle),this._tableStyles.add(new Stimulsoft.Report.Dashboard.Styles.StiGreenTableElementStyle),this._tableStyles.add(new Stimulsoft.Report.Dashboard.Styles.StiTurquoiseTableElementStyle),this._tableStyles.add(new Stimulsoft.Report.Dashboard.Styles.StiSlateGrayTableElementStyle),this._tableStyles.add(new Stimulsoft.Report.Dashboard.Styles.StiDarkBlueTableElementStyle),this._tableStyles.add(new Stimulsoft.Report.Dashboard.Styles.StiDarkGrayTableElementStyle),this._tableStyles.add(new Stimulsoft.Report.Dashboard.Styles.StiDarkTurquoiseTableElementStyle),this._tableStyles.add(new Stimulsoft.Report.Dashboard.Styles.StiSilverTableElementStyle),this._tableStyles.add(new Stimulsoft.Report.Dashboard.Styles.StiAliceBlueTableElementStyle),this._tableStyles.add(new Stimulsoft.Report.Dashboard.Styles.StiDarkGreenTableElementStyle),this._tableStyles},enumerable:!1,configurable:!0}),j);function j(){}t.Dashboards=T;var e=(Object.defineProperty(G,"components",{get:function(){if(null!=this._components)return this._components;return this._components=new w,this._components.add(Stimulsoft.Report.Components.StiReportTitleBand),this._components.add(Stimulsoft.Report.Components.StiReportSummaryBand),this._components.add(Stimulsoft.Report.Components.StiPageHeaderBand),this._components.add(Stimulsoft.Report.Components.StiPageFooterBand),this._components.add(Stimulsoft.Report.Components.StiGroupHeaderBand),this._components.add(Stimulsoft.Report.Components.StiGroupFooterBand),this._components.add(Stimulsoft.Report.Components.StiHeaderBand),this._components.add(Stimulsoft.Report.Components.StiFooterBand),this._components.add(Stimulsoft.Report.Components.StiColumnHeaderBand),this._components.add(Stimulsoft.Report.Components.StiColumnFooterBand),this._components.add(Stimulsoft.Report.Components.StiHierarchicalBand),this._components.add(Stimulsoft.Report.Components.StiEmptyBand),this._components.add(Stimulsoft.Report.Components.StiOverlayBand),this._components.add(Stimulsoft.Report.Components.StiDataBand),this._components.add(Stimulsoft.Report.Components.Table.StiTable),this._components.add(Stimulsoft.Report.Components.Table.StiTableCell),this._components.add(Stimulsoft.Report.Components.Table.StiTableCellCheckBox),this._components.add(Stimulsoft.Report.Components.Table.StiTableCellImage),this._components.add(Stimulsoft.Report.Components.Table.StiTableCellRichText),this._components.add(Stimulsoft.Report.Components.StiPage),this._components.add(Stimulsoft.Report.Components.StiPanel),this._components.add(Stimulsoft.Report.Components.StiContainer),this._components.add(Stimulsoft.Report.Components.StiCheckBox),this._components.add(Stimulsoft.Report.Components.StiChildBand),this._components.add(Stimulsoft.Report.Components.StiClone),this._components.add(Stimulsoft.Report.Components.StiText),this._components.add(Stimulsoft.Report.Components.StiTextInCells),this._components.add(Stimulsoft.Report.Components.StiImage),this._components.add(Stimulsoft.Report.Components.StiRichText),this._components.add(Stimulsoft.Report.Components.StiShape),this._components.add(Stimulsoft.Report.Components.StiSubReport),this._components.add(Stimulsoft.Report.Components.StiHorizontalLinePrimitive),this._components.add(Stimulsoft.Report.Components.StiVerticalLinePrimitive),this._components.add(Stimulsoft.Report.Components.StiRectanglePrimitive),this._components.add(Stimulsoft.Report.Components.StiRoundedRectanglePrimitive),this._components.add(Stimulsoft.Report.Components.StiStartPointPrimitive),this._components.add(Stimulsoft.Report.Components.StiEndPointPrimitive),this._components.add(Stimulsoft.Report.Components.StiCrossDataBand),this._components.add(Stimulsoft.Report.Components.StiCrossFooterBand),this._components.add(Stimulsoft.Report.Components.StiCrossGroupFooterBand),this._components.add(Stimulsoft.Report.Components.StiCrossGroupHeaderBand),this._components.add(Stimulsoft.Report.Components.StiCrossHeaderBand),this._components.add(Stimulsoft.Report.BarCodes.StiBarCode),this._components.add(Stimulsoft.Report.CrossTab.StiCrossTab),this._components.add(Stimulsoft.Report.CrossTab.StiCrossColumn),this._components.add(Stimulsoft.Report.CrossTab.StiCrossTotal),this._components.add(Stimulsoft.Report.CrossTab.StiCrossRowTotal),this._components.add(Stimulsoft.Report.CrossTab.StiCrossColumnTotal),this._components.add(Stimulsoft.Report.CrossTab.StiCrossRow),this._components.add(Stimulsoft.Report.CrossTab.StiCrossSummary),this._components.add(Stimulsoft.Report.CrossTab.StiCrossTitle),this._components.add(Stimulsoft.Report.CrossTab.StiCrossSummaryHeader),Stimulsoft.Report.Chart.StiChartAssembly.isAssemblyLoaded&&this._components.add(Stimulsoft.Report.Components["StiChart"]),Stimulsoft.Report.Maps["StiMap"]&&this._components.add(Stimulsoft.Report.Maps["StiMap"]),Stimulsoft.Report.Components["StiGauge"]&&this._components.add(Stimulsoft.Report.Components["StiGauge"]),this._components.add(Stimulsoft.Report.Components.StiSparkline),this._components},enumerable:!1,configurable:!0}),Object.defineProperty(G,"databases",{get:function(){if(null!=this._databases)return this._databases;return this._databases=new w,this._databases.add(new Stimulsoft.Report.Dictionary.StiFirebirdDatabase),this._databases.add(new Stimulsoft.Report.Dictionary.StiMySqlDatabase),this._databases.add(new Stimulsoft.Report.Dictionary.StiOracleDatabase),this._databases.add(new Stimulsoft.Report.Dictionary.StiPostgreSQLDatabase),this._databases.add(new Stimulsoft.Report.Dictionary.StiSqlDatabase),this._databases.add(new Stimulsoft.Report.Dictionary.StiODataDatabase),this._databases.add(new Stimulsoft.Report.Dictionary.StiCsvDatabase),this._databases.add(new Stimulsoft.Report.Dictionary.StiExcelDatabase),this._databases.add(new Stimulsoft.Report.Dictionary.StiJsonDatabase),this._databases.add(new Stimulsoft.Report.Dictionary.StiXmlDatabase),this._databases.add(new Stimulsoft.Report.Dictionary.StiDataWorldDatabase),this._databases.add(new Stimulsoft.Report.Dictionary.StiQuickBooksDatabase),this._databases},enumerable:!1,configurable:!0}),Object.defineProperty(G,"dataAdapters",{get:function(){if(null!=this._dataAdapters)return this._dataAdapters;return this._dataAdapters=new w,this._dataAdapters.add(new Stimulsoft.Report.Dictionary.StiFirebirdAdapterService),this._dataAdapters.add(new Stimulsoft.Report.Dictionary.StiMySqlAdapterService),this._dataAdapters.add(new Stimulsoft.Report.Dictionary.StiOracleAdapterService),this._dataAdapters.add(new Stimulsoft.Report.Dictionary.StiPostgreSQLAdapterService),this._dataAdapters.add(new Stimulsoft.Report.Dictionary.StiSqlAdapterService),this._dataAdapters.add(new Stimulsoft.Report.Dictionary.StiODataAdapterService),this._dataAdapters.add(new Stimulsoft.Report.Dictionary.StiVirtualAdapterService),this._dataAdapters.add(new Stimulsoft.Report.Dictionary.StiCsvAdapterService),this._dataAdapters.add(new Stimulsoft.Report.Dictionary.StiDataTableAdapterService),this._dataAdapters.add(new Stimulsoft.Report.Dictionary.StiDataWorldAdapterService),this._dataAdapters.add(new Stimulsoft.Report.Dictionary.StiQuickBooksAdapterService),this._dataAdapters},enumerable:!1,configurable:!0}),Object.defineProperty(G,"dataSource",{get:function(){if(null!=this._dataSource)return this._dataSource;return this._dataSource=new w,this._dataSource.add(new Stimulsoft.Report.Dictionary.StiDataTableSource),this._dataSource.add(new Stimulsoft.Report.Dictionary.StiCsvSource),this._dataSource.add(new Stimulsoft.Report.Dictionary.StiVirtualSource),this._dataSource.add(new Stimulsoft.Report.Dictionary.StiFirebirdSource),this._dataSource.add(new Stimulsoft.Report.Dictionary.StiODataSource),this._dataSource.add(new Stimulsoft.Report.Dictionary.StiMySqlSource),this._dataSource.add(new Stimulsoft.Report.Dictionary.StiOracleSource),this._dataSource.add(new Stimulsoft.Report.Dictionary.StiPostgreSQLSource),this._dataSource.add(new Stimulsoft.Report.Dictionary.StiSqlSource),this._dataSource.add(new Stimulsoft.Report.Dictionary.StiDataWorldSource),this._dataSource.add(new Stimulsoft.Report.Dictionary.StiQuickBooksSource),this._dataSource.add(new Stimulsoft.Report.Dictionary.StiDataTransformation),this._dataSource},enumerable:!1,configurable:!0}),Object.defineProperty(G,"formats",{get:function(){if(null!=this._formats)return this._formats;return this._formats=new w,this._formats.add(new Stimulsoft.Report.Components.TextFormats.StiBooleanFormatService),this._formats.add(new Stimulsoft.Report.Components.TextFormats.StiNumberFormatService),this._formats.add(new Stimulsoft.Report.Components.TextFormats.StiCurrencyFormatService),this._formats.add(new Stimulsoft.Report.Components.TextFormats.StiCustomFormatService),this._formats.add(new Stimulsoft.Report.Components.TextFormats.StiDateFormatService),this._formats.add(new Stimulsoft.Report.Components.TextFormats.StiGeneralFormatService),this._formats.add(new Stimulsoft.Report.Components.TextFormats.StiPercentageFormatService),this._formats.add(new Stimulsoft.Report.Components.TextFormats.StiTimeFormatService),this._formats},enumerable:!1,configurable:!0}),Object.defineProperty(G,"styles",{get:function(){if(null!=this._styles)return this._styles;return this._styles=new w,this._styles.add(new Stimulsoft.Report.Styles.StiStyle),this._styles.add(new Stimulsoft.Report.Styles.StiCrossTabStyle),this._styles.add(new Stimulsoft.Report.Styles.StiChartStyle),this._styles.add(new Stimulsoft.Report.Styles.StiDialogStyle),this._styles.add(new Stimulsoft.Report.Styles.StiMapStyle),this._styles.add(new Stimulsoft.Report.StiGaugeStyle),this._styles.add(new Stimulsoft.Report.StiTableStyle),this._styles.add(new Stimulsoft.Report.StiIndicatorStyle),this._styles.add(new Stimulsoft.Report.StiProgressStyle),this._styles},enumerable:!1,configurable:!0}),Object.defineProperty(G,"chartAreas",{get:function(){return null==t.Services._chartAreas&&(t.Services._chartAreas=new w([new Stimulsoft.Report.Chart["StiClusteredColumnArea"],new Stimulsoft.Report.Chart["StiLineArea"],new Stimulsoft.Report.Chart["StiAreaArea"],new Stimulsoft.Report.Chart["StiSplineArea"],new Stimulsoft.Report.Chart["StiSplineAreaArea"],new Stimulsoft.Report.Chart["StiStackedColumnArea"],new Stimulsoft.Report.Chart["StiStackedLineArea"],new Stimulsoft.Report.Chart["StiStackedAreaArea"],new Stimulsoft.Report.Chart["StiStackedSplineArea"],new Stimulsoft.Report.Chart["StiStackedSplineAreaArea"],new Stimulsoft.Report.Chart["StiSteppedLineArea"],new Stimulsoft.Report.Chart["StiSteppedAreaArea"],new Stimulsoft.Report.Chart["StiFullStackedColumnArea"],new Stimulsoft.Report.Chart["StiFullStackedLineArea"],new Stimulsoft.Report.Chart["StiFullStackedAreaArea"],new Stimulsoft.Report.Chart["StiFullStackedSplineArea"],new Stimulsoft.Report.Chart["StiFullStackedSplineAreaArea"],new Stimulsoft.Report.Chart["StiClusteredBarArea"],new Stimulsoft.Report.Chart["StiStackedBarArea"],new Stimulsoft.Report.Chart["StiFullStackedBarArea"],new Stimulsoft.Report.Chart["StiPieArea"],new Stimulsoft.Report.Chart["StiDoughnutArea"],new Stimulsoft.Report.Chart["StiRadarPointArea"],new Stimulsoft.Report.Chart["StiRadarLineArea"],new Stimulsoft.Report.Chart["StiRadarAreaArea"],new Stimulsoft.Report.Chart["StiGanttArea"],new Stimulsoft.Report.Chart["StiScatterArea"],new Stimulsoft.Report.Chart["StiBubbleArea"],new Stimulsoft.Report.Chart["StiRangeArea"],new Stimulsoft.Report.Chart["StiSplineRangeArea"],new Stimulsoft.Report.Chart["StiSteppedRangeArea"],new Stimulsoft.Report.Chart["StiRangeBarArea"],new Stimulsoft.Report.Chart["StiCandlestickArea"],new Stimulsoft.Report.Chart["StiStockArea"],new Stimulsoft.Report.Chart["StiFunnelArea"],new Stimulsoft.Report.Chart["StiTreemapArea"],new Stimulsoft.Report.Chart["StiPictorialArea"],new Stimulsoft.Report.Chart["StiParetoArea"],new Stimulsoft.Report.Chart["StiWaterfallArea"],new Stimulsoft.Report.Chart["StiHistogramArea"],new Stimulsoft.Report.Chart["StiSunburstArea"],new Stimulsoft.Report.Chart["StiBoxAndWhiskerArea"]]),t.Services._chartAreas.filter(function(t){return t})),t.Services._chartAreas},enumerable:!1,configurable:!0}),Object.defineProperty(G,"chartSeries",{get:function(){return null==t.Services._chartSeries&&(t.Services._chartSeries=new w([new Stimulsoft.Report.Chart["StiClusteredColumnSeries"],new Stimulsoft.Report.Chart["StiLineSeries"],new Stimulsoft.Report.Chart["StiAreaSeries"],new Stimulsoft.Report.Chart["StiSplineSeries"],new Stimulsoft.Report.Chart["StiSplineAreaSeries"],new Stimulsoft.Report.Chart["StiStackedColumnSeries"],new Stimulsoft.Report.Chart["StiStackedLineSeries"],new Stimulsoft.Report.Chart["StiStackedAreaSeries"],new Stimulsoft.Report.Chart["StiStackedSplineSeries"],new Stimulsoft.Report.Chart["StiStackedSplineAreaSeries"],new Stimulsoft.Report.Chart["StiSteppedLineSeries"],new Stimulsoft.Report.Chart["StiSteppedAreaSeries"],new Stimulsoft.Report.Chart["StiFullStackedColumnSeries"],new Stimulsoft.Report.Chart["StiFullStackedLineSeries"],new Stimulsoft.Report.Chart["StiFullStackedAreaSeries"],new Stimulsoft.Report.Chart["StiFullStackedSplineSeries"],new Stimulsoft.Report.Chart["StiFullStackedSplineAreaSeries"],new Stimulsoft.Report.Chart["StiClusteredBarSeries"],new Stimulsoft.Report.Chart["StiStackedBarSeries"],new Stimulsoft.Report.Chart["StiFullStackedBarSeries"],new Stimulsoft.Report.Chart["StiDoughnutSeries"],new Stimulsoft.Report.Chart["StiGanttSeries"],new Stimulsoft.Report.Chart["StiPieSeries"],new Stimulsoft.Report.Chart["StiBubbleSeries"],new Stimulsoft.Report.Chart["StiScatterSeries"],new Stimulsoft.Report.Chart["StiScatterLineSeries"],new Stimulsoft.Report.Chart["StiScatterSplineSeries"],new Stimulsoft.Report.Chart["StiRadarPointSeries"],new Stimulsoft.Report.Chart["StiRadarLineSeries"],new Stimulsoft.Report.Chart["StiRadarAreaSeries"],new Stimulsoft.Report.Chart["StiFunnelSeries"],new Stimulsoft.Report.Chart["StiStockSeries"],new Stimulsoft.Report.Chart["StiCandlestickSeries"],new Stimulsoft.Report.Chart["StiFunnelWeightedSlicesSeries"],new Stimulsoft.Report.Chart["StiSteppedRangeSeries"],new Stimulsoft.Report.Chart["StiSplineRangeSeries"],new Stimulsoft.Report.Chart["StiRangeSeries"],new Stimulsoft.Report.Chart["StiRangeBarSeries"],new Stimulsoft.Report.Chart["StiTreemapSeries"],new Stimulsoft.Report.Chart["StiPictorialSeries"],new Stimulsoft.Report.Chart["StiParetoSeries"],new Stimulsoft.Report.Chart["StiWaterfallSeries"],new Stimulsoft.Report.Chart["StiHistogramSeries"],new Stimulsoft.Report.Chart["StiSunburstSeries"],new Stimulsoft.Report.Chart["StiBoxAndWhiskerSeries"]]),t.Services._chartSeries.filter(function(t){return t})),t.Services._chartSeries},enumerable:!1,configurable:!0}),Object.defineProperty(G,"chartTrendLines",{get:function(){return null==t.Services._chartTrendLines&&(t.Services._chartTrendLines=new w([new Stimulsoft.Report.Chart["StiTrendLineNone"],new Stimulsoft.Report.Chart["StiTrendLineLinear"],new Stimulsoft.Report.Chart["StiTrendLineExponential"],new Stimulsoft.Report.Chart["StiTrendLineLogarithmic"]]),t.Services._chartTrendLines.filter(function(t){return t})),t.Services._chartTrendLines},enumerable:!1,configurable:!0}),Object.defineProperty(G,"chartSerieLabels",{get:function(){return null==t.Services._chartSerieLabels&&(t.Services._chartSerieLabels=new w([new Stimulsoft.Report.Chart["StiNoneLabels"],new Stimulsoft.Report.Chart["StiCenterAxisLabels"],new Stimulsoft.Report.Chart["StiOutsideAxisLabels"],new Stimulsoft.Report.Chart["StiInsideBaseAxisLabels"],new Stimulsoft.Report.Chart["StiInsideEndAxisLabels"],new Stimulsoft.Report.Chart["StiOutsideBaseAxisLabels"],new Stimulsoft.Report.Chart["StiOutsideEndAxisLabels"],new Stimulsoft.Report.Chart["StiLeftAxisLabels"],new Stimulsoft.Report.Chart["StiValueAxisLabels"],new Stimulsoft.Report.Chart["StiRightAxisLabels"],new Stimulsoft.Report.Chart["StiInsideEndPieLabels"],new Stimulsoft.Report.Chart["StiCenterPieLabels"],new Stimulsoft.Report.Chart["StiOutsidePieLabels"],new Stimulsoft.Report.Chart["StiTwoColumnsPieLabels"],new Stimulsoft.Report.Chart["StiCenterFunnelLabels"],new Stimulsoft.Report.Chart["StiOutsideRightFunnelLabels"],new Stimulsoft.Report.Chart["StiOutsideLeftFunnelLabels"],new Stimulsoft.Report.Chart["StiCenterTreemapLabels"]]),t.Services._chartSerieLabels.filter(function(t){return t})),t.Services._chartSerieLabels},enumerable:!1,configurable:!0}),Object.defineProperty(G,"chartStyles",{get:function(){return null==t.Services._chartStyles&&(t.Services._chartStyles=new w([new Stimulsoft.Report.Chart["StiStyle01"],new Stimulsoft.Report.Chart["StiStyle02"],new Stimulsoft.Report.Chart["StiStyle03"],new Stimulsoft.Report.Chart["StiStyle04"],new Stimulsoft.Report.Chart["StiStyle05"],new Stimulsoft.Report.Chart["StiStyle06"],new Stimulsoft.Report.Chart["StiStyle07"],new Stimulsoft.Report.Chart["StiStyle08"],new Stimulsoft.Report.Chart["StiStyle09"],new Stimulsoft.Report.Chart["StiStyle10"],new Stimulsoft.Report.Chart["StiStyle11"],new Stimulsoft.Report.Chart["StiStyle12"],new Stimulsoft.Report.Chart["StiStyle13"],new Stimulsoft.Report.Chart["StiStyle14"],new Stimulsoft.Report.Chart["StiStyle15"],new Stimulsoft.Report.Chart["StiStyle16"],new Stimulsoft.Report.Chart["StiStyle17"],new Stimulsoft.Report.Chart["StiStyle18"],new Stimulsoft.Report.Chart["StiStyle19"],new Stimulsoft.Report.Chart["StiStyle20"],new Stimulsoft.Report.Chart["StiStyle21"],new Stimulsoft.Report.Chart["StiStyle22"],new Stimulsoft.Report.Chart["StiStyle23"],new Stimulsoft.Report.Chart["StiStyle24"],new Stimulsoft.Report.Chart["StiStyle25"],new Stimulsoft.Report.Chart["StiStyle26"],new Stimulsoft.Report.Chart["StiStyle27"],new Stimulsoft.Report.Chart["StiStyle28"],new Stimulsoft.Report.Chart["StiStyle29"],new Stimulsoft.Report.Chart["StiStyle30"],new Stimulsoft.Report.Chart["StiStyle31"],new Stimulsoft.Report.Chart["StiStyle32"],new Stimulsoft.Report.Chart["StiStyle33"],new Stimulsoft.Report.Chart["StiStyle34"]]),t.Services._chartStyles.filter(function(t){return t})),t.Services._chartStyles},enumerable:!1,configurable:!0}),Object.defineProperty(G,"shapes",{get:function(){return null==t.Services._shapes&&(t.Services._shapes=new w([new Stimulsoft.Report.Components.StiArrowShapeType,new Stimulsoft.Report.Components.StiDiagonalDownLineShapeType,new Stimulsoft.Report.Components.StiDiagonalUpLineShapeType,new Stimulsoft.Report.Components.StiHorizontalLineShapeType,new Stimulsoft.Report.Components.StiLeftAndRightLineShapeType,new Stimulsoft.Report.Components.StiOvalShapeType,new Stimulsoft.Report.Components.StiRectangleShapeType,new Stimulsoft.Report.Components.StiRoundedRectangleShapeType,new Stimulsoft.Report.Components.StiOctagonShapeType,new Stimulsoft.Report.Components.StiTopAndBottomLineShapeType,new Stimulsoft.Report.Components.StiTriangleShapeType,new Stimulsoft.Report.Components.StiVerticalLineShapeType,new Stimulsoft.Report.Components.StiComplexArrowShapeType,new Stimulsoft.Report.Components.StiBentArrowShapeType,new Stimulsoft.Report.Components.StiChevronShapeType,new Stimulsoft.Report.Components.StiDivisionShapeType,new Stimulsoft.Report.Components.StiEqualShapeType,new Stimulsoft.Report.Components.StiFlowchartCardShapeType,new Stimulsoft.Report.Components.StiFlowchartCollateShapeType,new Stimulsoft.Report.Components.StiFlowchartDecisionShapeType,new Stimulsoft.Report.Components.StiFlowchartManualInputShapeType,new Stimulsoft.Report.Components.StiFlowchartOffPageConnectorShapeType,new Stimulsoft.Report.Components.StiFlowchartPreparationShapeType,new Stimulsoft.Report.Components.StiFlowchartSortShapeType,new Stimulsoft.Report.Components.StiFrameShapeType,new Stimulsoft.Report.Components.StiMinusShapeType,new Stimulsoft.Report.Components.StiMultiplyShapeType,new Stimulsoft.Report.Components.StiParallelogramShapeType,new Stimulsoft.Report.Components.StiPlusShapeType,new Stimulsoft.Report.Components.StiRegularPentagonShapeType,new Stimulsoft.Report.Components.StiTrapezoidShapeType,new Stimulsoft.Report.Components.StiSnipSameSideCornerRectangleShapeType,new Stimulsoft.Report.Components.StiSnipDiagonalSideCornerRectangleShapeType])),t.Services._shapes},enumerable:!1,configurable:!0}),Object.defineProperty(G,"barCodes",{get:function(){return null==t.Services._barCodes&&(t.Services._barCodes=new w([new Stimulsoft.Report.BarCodes.StiAustraliaPost4StateBarCodeType,new Stimulsoft.Report.BarCodes.StiCode11BarCodeType,new Stimulsoft.Report.BarCodes.StiCode128aBarCodeType,new Stimulsoft.Report.BarCodes.StiCode128bBarCodeType,new Stimulsoft.Report.BarCodes.StiCode128cBarCodeType,new Stimulsoft.Report.BarCodes.StiCode128AutoBarCodeType,new Stimulsoft.Report.BarCodes.StiCode39BarCodeType,new Stimulsoft.Report.BarCodes.StiCode39ExtBarCodeType,new Stimulsoft.Report.BarCodes.StiCode93BarCodeType,new Stimulsoft.Report.BarCodes.StiCode93ExtBarCodeType,new Stimulsoft.Report.BarCodes.StiCodabarBarCodeType,new Stimulsoft.Report.BarCodes.StiDataMatrixBarCodeType,new Stimulsoft.Report.BarCodes.StiEAN128aBarCodeType,new Stimulsoft.Report.BarCodes.StiEAN128bBarCodeType,new Stimulsoft.Report.BarCodes.StiEAN128cBarCodeType,new Stimulsoft.Report.BarCodes.StiEAN128AutoBarCodeType,new Stimulsoft.Report.BarCodes.StiEAN13BarCodeType,new Stimulsoft.Report.BarCodes.StiEAN8BarCodeType,new Stimulsoft.Report.BarCodes.StiFIMBarCodeType,new Stimulsoft.Report.BarCodes.StiGS1_128BarCodeType,new Stimulsoft.Report.BarCodes.StiIsbn10BarCodeType,new Stimulsoft.Report.BarCodes.StiIsbn13BarCodeType,new Stimulsoft.Report.BarCodes.StiITF14BarCodeType,new Stimulsoft.Report.BarCodes.StiJan13BarCodeType,new Stimulsoft.Report.BarCodes.StiJan8BarCodeType,new Stimulsoft.Report.BarCodes.StiMaxicodeBarCodeType,new Stimulsoft.Report.BarCodes.StiMsiBarCodeType,new Stimulsoft.Report.BarCodes.StiPdf417BarCodeType,new Stimulsoft.Report.BarCodes.StiPharmacodeBarCodeType,new Stimulsoft.Report.BarCodes.StiPlesseyBarCodeType,new Stimulsoft.Report.BarCodes.StiPostnetBarCodeType,new Stimulsoft.Report.BarCodes.StiQRCodeBarCodeType,new Stimulsoft.Report.BarCodes.StiDutchKIXBarCodeType,new Stimulsoft.Report.BarCodes.StiRoyalMail4StateBarCodeType,new Stimulsoft.Report.BarCodes.StiSSCC18BarCodeType,new Stimulsoft.Report.BarCodes.StiUpcABarCodeType,new Stimulsoft.Report.BarCodes.StiUpcEBarCodeType,new Stimulsoft.Report.BarCodes.StiUpcSup2BarCodeType,new Stimulsoft.Report.BarCodes.StiUpcSup5BarCodeType,new Stimulsoft.Report.BarCodes.StiInterleaved2of5BarCodeType,new Stimulsoft.Report.BarCodes.StiStandard2of5BarCodeType])),t.Services._barCodes},enumerable:!1,configurable:!0}),Object.defineProperty(G,"indicatorRanges",{get:function(){return null==t.Services._indicatorRanges&&(t.Services._indicatorRanges=new w([new Stimulsoft.Report.Components.Gauge["StiLinearIndicatorRangeInfo"],new Stimulsoft.Report.Components.Gauge["StiRadialIndicatorRangeInfo"]])),t.Services._indicatorRanges},enumerable:!1,configurable:!0}),Object.defineProperty(G,"customValues",{get:function(){return null==t.Services._customValues&&(t.Services._customValues=new w([new Stimulsoft.Report.Components.Gauge["StiLinearTickLabelCustomValue"],new Stimulsoft.Report.Components.Gauge["StiLinearTickMarkCustomValue"],new Stimulsoft.Report.Components.Gauge["StiRadialTickLabelCustomValue"],new Stimulsoft.Report.Components.Gauge["StiRadialTickMarkCustomValue"]])),t.Services._customValues},enumerable:!1,configurable:!0}),Object.defineProperty(G,"gaugeElements",{get:function(){return null==t.Services._gaugeElements&&(t.Services._gaugeElements=new w([new Stimulsoft.Report.Components.Gauge["StiLinearBar"],new Stimulsoft.Report.Components.Gauge["StiLinearMarker"],new Stimulsoft.Report.Components.Gauge["StiNeedle"],new Stimulsoft.Report.Components.Gauge["StiRadialBar"],new Stimulsoft.Report.Components.Gauge["StiRadialMarker"],new Stimulsoft.Report.Components.Gauge["StiStateIndicator"],new Stimulsoft.Report.Components.Gauge["StiLinearRangeList"],new Stimulsoft.Report.Components.Gauge["StiRadialRangeList"],new Stimulsoft.Report.Components.Gauge["StiLinearTickLabelCustom"],new Stimulsoft.Report.Components.Gauge["StiLinearTickLabelMajor"],new Stimulsoft.Report.Components.Gauge["StiLinearTickLabelMinor"],new Stimulsoft.Report.Components.Gauge["StiLinearTickMarkCustom"],new Stimulsoft.Report.Components.Gauge["StiLinearTickMarkMajor"],new Stimulsoft.Report.Components.Gauge["StiLinearTickMarkMinor"],new Stimulsoft.Report.Components.Gauge["StiRadialTickLabelCustom"],new Stimulsoft.Report.Components.Gauge["StiRadialTickLabelMajor"],new Stimulsoft.Report.Components.Gauge["StiRadialTickLabelMinor"],new Stimulsoft.Report.Components.Gauge["StiRadialTickMarkCustom"],new Stimulsoft.Report.Components.Gauge["StiRadialTickMarkMajor"],new Stimulsoft.Report.Components.Gauge["StiRadialTickMarkMinor"]])),t.Services._gaugeElements},enumerable:!1,configurable:!0}),Object.defineProperty(G,"ranges",{get:function(){return null==t.Services._ranges&&(t.Services._ranges=new w([new Stimulsoft.Report.Components.Gauge["StiLinearRange"],new Stimulsoft.Report.Components.Gauge["StiRadialRange"]])),t.Services._ranges},enumerable:!1,configurable:!0}),Object.defineProperty(G,"gaugeScales",{get:function(){return null==t.Services._gaugeScales&&(t.Services._gaugeScales=new w([new Stimulsoft.Report.Components.Gauge["StiLinearScale"],new Stimulsoft.Report.Components.Gauge["StiRadialScale"]])),t.Services._gaugeScales},enumerable:!1,configurable:!0}),Object.defineProperty(G,"gaugeStyles",{get:function(){return null==t.Services._gaugeStyles&&(t.Services._gaugeStyles=new w([new Stimulsoft.Report.Gauge["StiGaugeStyleXF24"],new Stimulsoft.Report.Gauge["StiGaugeStyleXF25"],new Stimulsoft.Report.Gauge["StiGaugeStyleXF26"],new Stimulsoft.Report.Gauge["StiGaugeStyleXF27"],new Stimulsoft.Report.Gauge["StiGaugeStyleXF28"],new Stimulsoft.Report.Gauge["StiGaugeStyleXF29"],new Stimulsoft.Report.Gauge["StiGaugeStyleXF30"],new Stimulsoft.Report.Gauge["StiGaugeStyleXF31"],new Stimulsoft.Report.Gauge["StiGaugeStyleXF32"],new Stimulsoft.Report.Gauge["StiGaugeStyleXF33"],new Stimulsoft.Report.Gauge["StiGaugeStyleXF34"]])),t.Services._gaugeStyles},enumerable:!1,configurable:!0}),Object.defineProperty(G,"mapStyles",{get:function(){if(null!=this._mapStyles)return this._mapStyles;return this._mapStyles=new w,this._mapStyles.add(new Stimulsoft.Report.Maps.StiMap21StyleFX),this._mapStyles.add(new Stimulsoft.Report.Maps.StiMap24StyleFX),this._mapStyles.add(new Stimulsoft.Report.Maps.StiMap25StyleFX),this._mapStyles.add(new Stimulsoft.Report.Maps.StiMap26StyleFX),this._mapStyles.add(new Stimulsoft.Report.Maps.StiMap27StyleFX),this._mapStyles.add(new Stimulsoft.Report.Maps.StiMap28StyleFX),this._mapStyles.add(new Stimulsoft.Report.Maps.StiMap29StyleFX),this._mapStyles.add(new Stimulsoft.Report.Maps.StiMap30StyleFX),this._mapStyles.add(new Stimulsoft.Report.Maps.StiMap31StyleFX),this._mapStyles.add(new Stimulsoft.Report.Maps.StiMap32StyleFX),this._mapStyles.add(new Stimulsoft.Report.Maps.StiMap33StyleFX),this._mapStyles.add(new Stimulsoft.Report.Maps.StiMap34StyleFX),this._mapStyles},enumerable:!1,configurable:!0}),G.Dashboards=new T,G);function G(){}t.Services=e;var P=H;function H(){this.divideSegmentPages=!0,this.allowImageComparer=!0,this.removeEmptySpaceAtBottom=!0,this.spaceBetweenCharacters=-2,this.lineHeightExactly=!0,this.forceLineHeight=!0,this.rightMarginCorrection=0,this.bottomMarginCorrection=50,this.allowCorrectFontSize11Problem=!0,this.normalStyleDefaultFontSize=1,this.lineSpacing=.965,this.divideBigCells=!0,this.restrictEditing=o.No}t.ExportWord=P;var p=Q;function Q(){this.removeEmptySpaceAtBottom=!0,this.allowImageComparer=!0,this.divideSegmentPages=!0}t.ExportWriter=p;var d=L;function L(){this.removeEmptySpaceAtBottom=!0,this.allowImageComparer=!0,this.divideSegmentPages=!0,this.divideBigCells=!0,this.maximumSheetHeight=1048574}t.ExportCalc=d;var g=Y;function Y(){this.convertDigitsToArabic=!1,this.arabicDigitsType=Stimulsoft.Report.StiArabicDigitsType.Standard,this.allowImageComparer=!0,this.forceWysiwygWordwrap=!1,this.replaceSpecialCharacters=!0,this.preserveWhiteSpaces=!0,this.useImageResolution=!1,this.useWordWrapBreakWordMode=!0,this.useStrictTableCellSize=!1,this.forceIE6Compatibility=!1,this.allowStrippedImages=!0,this.removeEmptySpaceAtBottom=!0,this.useExtendedStyle=!1,this.printLayoutOptimization=!0,this.useComponentStyleName=!0}t.ExportHtml=g;var h=U;function U(){this.AllowExportDateTime=!1,this.ColumnsRightToLeft=!1,this.ShowGridLines=!0,this.MaximumSheetHeight=65534,this.RemoveEmptySpaceAtBottom=!0,this.DivideBigCells=!0,this.UseImageResolution=!1,this.TrimTrailingSpaces=!0,this.AllowImageComparer=!0,this.AllowFreezePanes=!1,this.RenderHtmlTagsAsImage=!1,this.RestrictEditing=f.No,this.FitToOnePageWide=!0}t.ExportExcel=h;var m=J;function J(){this.AllowImageComparer=!0,this.StoreImagesAsPng=!0}t.ExportPowerPoint=m;var B=(Object.defineProperty(W.prototype,"creatorString",{get:function(){return r.isNullOrEmpty(this._creatorString)&&(this._creatorString=A.getReportVersion()),this._creatorString},set:function(t){this._creatorString=t},enumerable:!1,configurable:!0}),Object.defineProperty(W.prototype,"alternativeFontNames",{get:function(){return null==W._alternativeFontNames&&((W._alternativeFontNames=new v).add("MS Pゴシック","MS PGothic"),W._alternativeFontNames.add("MS P明朝","MS PMincho"),W._alternativeFontNames.add("MS ゴシック","MS Gothic"),W._alternativeFontNames.add("MS 明朝","MS Mincho"),W._alternativeFontNames.add("メイリオ","Meiryo"),W._alternativeFontNames.add("바탕","Batang"),W._alternativeFontNames.add("바탕체","Batangche"),W._alternativeFontNames.add("굴림","Gulim"),W._alternativeFontNames.add("굴림체","Gulimche"),W._alternativeFontNames.add("돋움","Dotum"),W._alternativeFontNames.add("돋움체","Dotumche"),W._alternativeFontNames.add("궁서","Gungsuh"),W._alternativeFontNames.add("궁서체","Gungsuhche"),W._alternativeFontNames.add("맑은 고딕","Malgun Gothic"),W._alternativeFontNames.add("宋体","SimSun"),W._alternativeFontNames.add("宋体-ExtB","SimSun-ExtB"),W._alternativeFontNames.add("黑体","SimHei"),W._alternativeFontNames.add("新宋体","NSimSun"),W._alternativeFontNames.add("微软雅黑","Microsoft YaHei"),W._alternativeFontNames.add("仿宋","FangSong"),W._alternativeFontNames.add("楷体","KaiTi"),W._alternativeFontNames.add("仿宋_GB2312","FangSong_GB2312"),W._alternativeFontNames.add("新細明體","PMingLiU"),W._alternativeFontNames.add("新細明體-ExtB","PMingLiU-ExtB"),W._alternativeFontNames.add("細明體","MingLiU"),W._alternativeFontNames.add("細明體-ExtB","MingLiU-ExtB"),W._alternativeFontNames.add("微軟正黑體","Microsoft JhengHei"),W._alternativeFontNames.add("標楷體","DFKai-SB"),W._alternativeFontNames.add("文泉驛正黑","WenQuanYi Zen Hei"),W._alternativeFontNames.add("文泉驿正黑","WenQuanYi Zen Hei"),W._alternativeFontNames.add("文鼎PL細上海宋Uni","AR PL ShanHeiSun Uni"),W._alternativeFontNames.add("文鼎PL细上海宋Uni","AR PL ShanHeiSun Uni"),W._alternativeFontNames.add("文PL中楷Uni","AR PL ZenKai Uni"),W._alternativeFontNames.add("細曠體_HKSCS","MingLiU_HKSCS"),W._alternativeFontNames.add("細曠體_HKSCS-ExtB","MingLiU_HKSCS-ExtB")),W._alternativeFontNames},set:function(t){W._alternativeFontNames=t},enumerable:!1,configurable:!0}),W._alternativeFontNames=null,W);function W(){this.divideSegmentPages=!0,this.arabicDigitsType=b.Standard,this.reduceFontFileSize=!0,this.allowImageComparer=!0,this.allowImageTransparency=!0,this.allowExtGState=!0,this._creatorString="",this.keywordsString="",this.defaultCoordinatesPrecision=2,this.defaultAutoPrintMode=C.None,this.useAlternativeFontNames=!0}t.ExportPdf=B;var T=V;function V(){this.useFullVerticalBorder=!0,this.useFullHorizontalBorder=!0,this.checkBoxTextForTrue="+",this.checkBoxTextForFalse="-",this.trimTrailingSpaces=!0}t.ExportText=T;var e=z;function z(){this.Font=new s("Arial",10),this.HorAlignment=S.Center,this.VertAlignment=y.Center}t.CheckBoxReplacementForExcelValue_=e;var e=(X.Word=new P,X.OpenDocumentWriter=new p,X.OpenDocumentCalc=new d,X.Html=new g,X.Excel=new h,X.PowerPoint=new m,X.Pdf=new B,X.Text=new T,X.CheckBoxReplacementForExcelValue=new e,X.optimizeDataOnlyMode=!0,X.checkBoxTextForTrue="false",X.checkBoxTextForFalse="true",X);function X(){}t.Export=e;var e=(K.url="",K.timeout=30,K.encryptData=!0,K);function K(){}t.WebServer=e}(StiOptions=StiOptions||{}),function(t){var e,r,t;function n(t){this._index=t}r=e=t.Report||(t.Report={}),Object.defineProperty(n.prototype,"index",{get:function(){return this._index},enumerable:!1,configurable:!0}),t=n,r.StiOptionsFontHelperAttribute=t}(Stimulsoft=Stimulsoft||{}),function(t){var e,r,t,n;function i(t){var e=n.call(this)||this;return e.owner=t,e}r=e=t.Report||(t.Report={}),t=t.System.Collections.CollectionBase,__extends(i,n=t),i.prototype.add=function(t,e,r){if(void 0===e&&(e=!1),void 0===r&&(r=!1),t==this.owner)return;t.subReportsPrintOnPreviousPage=r,t.subReportsResetPageNumber=e,t.unit=this.owner.unit,this.list.push(t)},t=i,r.StiReportsCollection=t}(Stimulsoft=Stimulsoft||{}),function(t){var e,r,f,X,K,Z,q,t;function n(){}r=e=t.Report||(t.Report={}),f=t.Report.Components.StiMargins,X=t.Report.StiResizeReportOptions,K=t.Report.Components.StiSubReport,Z=t.System.Collections.Hashtable,q=t.Report.Components.StiPage,n.setPageParameters=function(t,e,r,n,i,o,a){var s,l,u=0<(a&X.PageOrientationChanged),c=0<(a&X.RescaleContent),p=0<(a&X.AllowPageMarginsRescaling),h=t.width,a=t.height,h,a;u&&(t.orientation=e),t.paperSize=r,e==t.orientation?(t.pageWidth=i,t.pageHeight=o,t.margins=n.clone()):(t.pageWidth=o,t.pageHeight=i,t.margins=new f(n.top,n.bottom,n.left,n.right)),t.width<=0&&(t.width=.1),t.height<=0&&(t.height=.1),c&&(h=t.width/h,a=t.height/a,t.resizePage(h,a,p));try{for(var m=__values(t.components.list),d=m.next(),g;!d.done;d=m.next()){d.value.dockToContainer()}}catch(t){s={error:t}}finally{try{d&&!d.done&&(l=m.return)&&l.call(m)}finally{if(s)throw s.error}}},n.resizeReportAsync=function(Q,L,Y,U,J,W,V,z){return void 0===z&&(z=-1),__awaiter(this,void 0,void 0,function(){var e,r,n,i,o,a,s,l,u,c,p,h,m,d,g,f,S,y,c,A,b,C,c,A,v,w,B,I,g,e,T,E,R,D,c,P,x,F,N,k,M,O,_,T,j,G,H;return __generator(this,function(t){switch(t.label){case 0:if(e=0<(V&X.RebuildReport),r=0<(V&X.ProcessAllPages),n=0<(V&X.ShowProgressOnRebuildReport),i=null,z<Q.renderedPages.count&&0<=z&&(i=Q.renderedPages.getByIndex(z)),o=null!=i?i.name:"",!e)return[3,10];a=new Z,s=Q.getComponents();try{for(l=__values(Q.pages.list),u=l.next();!u.done;u=l.next())c=u.value,a.set(c.guid,c)}catch(t){P={error:t}}finally{try{u&&!u.done&&(x=l.return)&&x.call(l)}finally{if(P)throw P.error}}p=new Z;try{for(h=__values(s.list),m=h.next();!m.done;m=h.next())d=m.value,null!=(g=d.as(K))&&null!=g.subReportPageGuid&&null!=(f=a.get(g.subReportPageGuid).as(q))&&p.set(f,d.width)}catch(t){F={error:t}}finally{try{m&&!m.done&&(N=h.return)&&N.call(h)}finally{if(F)throw F.error}}try{for(S=__values(Q.pages.list),y=S.next();!y.done;y=S.next())if(c=y.value,(c.name==o||r)&&(null==(A=p.get(c))&&this.setPageParameters(c,L,Y,U,J,W,V),!r))break}catch(t){k={error:t}}finally{try{y&&!y.done&&(M=S.return)&&M.call(S)}finally{if(k)throw k.error}}try{for(b=__values(Q.pages.list),C=b.next();!C.done;C=b.next())c=C.value,null!=(A=p.get(c))&&(v=+A,c.width!=v&&(w=c.width+c.margins.left+c.margins.right,c.width=v,this.setPageParameters(c,L,Y,U,w,W,V)))}catch(t){O={error:t}}finally{try{C&&!C.done&&(_=b.return)&&_.call(b)}finally{if(O)throw O.error}}if(!(null!=Q.subReports&&0<Q.subReports.count))return[3,8];t.label=1;case 1:t.trys.push([1,6,7,8]),B=__values(Q.subReports.list),I=B.next(),t.label=2;case 2:if(I.done)return[3,5];return g=I.value,null!=(e=g).compiledReport&&(e=g.compiledReport),[4,this.resizeReportAsync(e,L,Y,U,J,W,V)];case 3:t.sent(),t.label=4;case 4:return I=B.next(),[3,2];case 5:return[3,8];case 6:return T=t.sent(),T={error:T},[3,8];case 7:try{I&&!I.done&&(j=B.return)&&j.call(B)}finally{if(T)throw T.error}return[7];case 8:return Q.isRendered=!1,[4,Q.renderAsync2()];case 9:return t.sent(),Q.invokeRefreshViewer(),[3,11];case 10:E=0;try{for(R=__values(Q.renderedPages.list),D=R.next();!D.done;D=R.next()){if(c=D.value,(E==z||r)&&(this.setPageParameters(c,L,Y,U,J,W,V),!r))return[2];E++}}catch(t){G={error:t}}finally{try{D&&!D.done&&(H=R.return)&&H.call(R)}finally{if(G)throw G.error}}t.label=11;case 11:return[2]}})})},t=n,r.StiResizeReportHelper=t}(Stimulsoft=Stimulsoft||{}),function(t){var e,r,a,t;function n(t){var e,r;this.page=null,this.textBox=null,this.dataSourcesPosition=new a,this._pageIndex=0,this._currentPrintPage=0,this.page=t.engine.page,this.line=t.line,this.lineThrough=t.lineThrough,this.column=t.column,this.currentPrintPage=t.currentPrintPage;try{for(var n=__values(t.dictionary.dataSources.list),i=n.next();!i.done;i=n.next()){var o=i.value;this.dataSourcesPosition.set(o.name,o.position)}}catch(t){e={error:t}}finally{try{i&&!i.done&&(r=n.return)&&r.call(n)}finally{if(e)throw e.error}}}r=e=t.Report||(t.Report={}),a=t.System.Collections.Hashtable,n.prototype.clone=function(){var t=new n(this.page.report);return t.page=this.page,t.textBox=this.textBox,t.line=this.line,t.column=this.column,t.lineThrough=this.lineThrough,t.dataSourcesPosition=this.dataSourcesPosition,t},Object.defineProperty(n.prototype,"pageIndex",{get:function(){if(null!=this.textBox&&null!=this.textBox.report){var t=this.textBox.report.renderedPages.indexOf(this.textBox.page);if(-1!=t)return t+1}return this._pageIndex},set:function(t){this._pageIndex=t},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"currentPrintPage",{get:function(){if(null!=this.textBox&&null!=this.textBox.report){var t=this.textBox.report.renderedPages.indexOf(this.textBox.page);if(-1!=t)return t+1}return this._currentPrintPage},set:function(t){this._currentPrintPage=t},enumerable:!1,configurable:!0}),n.prototype.setVariables=function(t){var e,r;t.line=this.line,t.lineThrough=this.lineThrough,t.column=this.column,t.currentPrintPage=this.currentPrintPage;try{for(var n=__values(t.dictionary.dataSources.list),i=n.next();!i.done;i=n.next()){var o=i.value;o.position=this.dataSourcesPosition.get(o.name)}}catch(t){e={error:t}}finally{try{i&&!i.done&&(r=n.return)&&r.call(n)}finally{if(e)throw e.error}}},t=n,r.StiRuntimeVariables=t}(Stimulsoft=Stimulsoft||{}),function(t){var e,r,n,o,i,a,t;function s(t){this.value=t}function l(t){this.rangeType=t.stimulsoft.getType(),this.from=t.fromObject,this.to=t.toObject}function u(){this.states=new o}r=e=t.Report||(t.Report={}),n=t.System.Activator,o=t.System.Collections.Hashtable,i=s,a=l,u.prototype.push=function(t,e,r,n){var i=this.states.get(t);null==i&&(i=new o,this.states.add(t,i));var t=i.get(e);null==t&&(t=new o,i.add(e,t)),t.set(r,n)},u.prototype.pushBool=function(t,e,r,n){n?this.push(t,e,r,u.ValueBoolTrue):this.push(t,e,r,u.ValueBoolFalse)},u.prototype.pushInt=function(t,e,r,n){this.push(t,e,r,new i(n))},u.prototype.pushInt64=function(t,e,r,n){this.push(t,e,r,new i(n))},u.prototype.pushFloat=function(t,e,r,n){this.push(t,e,r,new i(n))},u.prototype.pushDouble=function(t,e,r,n){this.push(t,e,r,new i(n))},u.prototype.pushDecimal=function(t,e,r,n){this.push(t,e,r,new i(n))},u.prototype.pushRange=function(t,e,r,n){this.push(t,e,r,new a(n))},u.prototype.pop=function(t,e,r){var t=this.states.get(t);if(null==t)return null;var e=t.get(e);if(null==e)return null;return e.get(r)},u.prototype.popBool=function(t,e,r){var n;if(this.pop(t,e,r)==u.ValueBoolFalse)return!1;return!0},u.prototype.popInt=function(t,e,r){var r=this.pop(t,e,r);if(null==r)return 0;return r.value},u.prototype.popInt64=function(t,e,r){return this.popInt(t,e,r)},u.prototype.popDouble=function(t,e,r){return this.popInt(t,e,r)},u.prototype.popFloat=function(t,e,r){return this.popInt(t,e,r)},u.prototype.popDecimal=function(t,e,r){return this.popInt(t,e,r)},u.prototype.popRange=function(t,e,r){var e=this.pop(t,e,r);if(null==e)return null;var r=n.createInstance(e.rangeType);return r.fromObject=e.from,r.toObject=e.to,r},u.prototype.isExist=function(t,e){if(null==this.states.get(t))return!1;var r;if(null==this.states.get(t).get(e))return!1;return!0},u.prototype.clearState=function(t){this.states.remove(t)},u.prototype.clear=function(){this.states.clear()},u.ValueBoolFalse={},u.ValueBoolTrue={},t=u,r.StiStatesManager=t}(Stimulsoft=Stimulsoft||{}),function(t){var e,r,n,i,o;function a(){}r=e=t.Report||(t.Report={}),n=t.System.Collections.List,i=t.System.StiString,o=t.Base.Localization.StiLocalization,a.getPageNofM=function(t){return i.format(this.getPageNofMIdent(t),t.pageNumber,t.totalPageCount)},a.getPageNofMThrough=function(t){return i.format(this.getPageNofMIdent(t),t.pageNumberThrough,t.totalPageCountThrough)},a.getPageNofMIdent=function(t){if(null!=t.pageNofMLocalizationString)return t.pageNofMLocalizationString;var e=null;if(i.isNullOrWhiteSpace(t.culture)||(e=this.getIdent(t.culture)),null!=e)return e;if(null!=(e=this.getIdent(o.cultureName)))return e;return o.get("Report","PageNofM")},a.getIdent=function(e){var r,t;e=e.toLowerCase();try{for(var n=__values(this.locs),i=n.next();!i.done;i=n.next()){var o=i.value;if(o.name==e)return o.value}}catch(t){r={error:t}}finally{try{i&&!i.done&&(t=n.return)&&t.call(n)}finally{if(r)throw r.error}}if(e.stimulsoft.contains("-"))return e=e.substr(0,e.indexOf("-")),this.locs.where(function(t){return e.stimulsoft.startsWith(t.name)}).select(function(t){return t.value})[0];return null},a.locs=new n([{name:"ar",value:"صفحة {0} من {1}"},{name:"en",value:"Page {0} of {1}"},{name:"be",value:"Старонка {0} з {1}"},{name:"bg",value:"Страница {0} от {1}"},{name:"cz",value:"{0} z {1}"},{name:"de",value:"Seite {0} von {1}"},{name:"el-gr",value:"Σελίδα {0} από {1}"},{name:"es",value:"Pág.{0} de {1}"},{name:"ca-es",value:"P.{0} de {1}"},{name:"eu-es",value:"{0}. or. {1}-tik"},{name:"gl-es",value:"Páx.{0} de {1}"},{name:"fa",value:"صفحه {0} از {1}"},{name:"fr",value:"{0} sur {1}"},{name:"hr",value:"Strana {0} od {1}"},{name:"hu",value:"Oldal {0} a {1}-ból"},{name:"id",value:"Halaman {0} dari {1}"},{name:"it",value:"{0} di {1}"},{name:"ka",value:"{0}, {1}-დან"},{name:"lt",value:"{0} iš {1}"},{name:"lt-sr-sp",value:"Strana {0} od {1}"},{name:"nb-no",value:"Side {0} av {1}"},{name:"nl",value:"{0} op {1}"},{name:"pl",value:"Strona {0} z {1}"},{name:"pt",value:"{0} de {1}"},{name:"pt-br",value:"{0} de {1}"},{name:"ro",value:"{0} din {1}"},{name:"ru",value:"Страница {0} из {1}"},{name:"sk",value:"{0} z {1}"},{name:"sv",value:"{0} av {1}"},{name:"tr",value:"Sayfa {0}/{1}"},{name:"ua",value:"Сторінка {0} із {1}"}]),n=a,r.StiSystemVariableLocHelper=n}(Stimulsoft=Stimulsoft||{}),function(a){var t;!function(t){var e=a.System.Collections.Hashtable,r=(n.prototype.getFontString=function(t){var e=this.hashFontString.get(t);if(null!=e)return e;var e=t.name+"*"+t.style.toString()+"*";return this.hashFontString.set(t,e),e},n.prototype.getFontSizeObject=function(t,e,r,n,i){var o=n.ref,n=i.ref,i=this.hashComponent.get(t);return null==i&&(n=r+"*"+e.width.toString()+"*"+e.height.toString()+"*"+this.getFontString(t.font)+"*"+o.toString(),null!=(i=this.hashText.get(n))&&this.hashComponent.set(t,i)),"number"==typeof i&&(o=+i),i},n.prototype.clear=function(){this.hashText.clear(),this.hashComponent.clear(),this.hashFontString.clear()},n);function n(){this.hashText=new e,this.hashComponent=new e,this.hashFontString=new e}t.StiFitTextInfo=r;var i=(Object.defineProperty(o,"enabled",{get:function(){return this._enabled},set:function(t){this._enabled=t},enumerable:!1,configurable:!0}),o.addReport=function(t){this.enabled&&null!=t&&(null==t.compiledReport?this.hashes.set(t,new r):this.hashes.set(t.compiledReport,new r))},o.removeReport=function(t){var e;null!=t&&(null!=(e=this.hashes.get(t))&&e.clear(),this.hashes.remove(t))},o.clearReportInfo=function(t){var t;null==t||null!=(t=this.hashes.get(t))&&t.clear()},o.getReportInfo=function(t){if(this.enabled&&null!=t){var t=this.hashes.get(t);if(null!=t)return t}return null},o.clear=function(){this.hashes.clear()},o.hashes=new e,o._enabled=!1,o);function o(){}t.StiViewerFitTextHelper=i}(t=a.Report||(a.Report={}))}(Stimulsoft=Stimulsoft||{}),function(U){var t,J,W,o,a,V,s,i,n,l,u,c,p,h,m,d,g,f,S,y,A,b,C,v,w,z,B,X,K,Z,I,q,$,tt,et,rt,nt,T,E,R,D,it,e;function r(){this.isCompilationMode=!0,this.asmList=null,this.asmList2=null,this.conditionAsmList=null,this.parser=null,this.method=null,this.method2=null,this.functionn=null,this.sumDistinctFunction=null,this.report=null}function ot(){}J=t=U.Report||(U.Report={}),W=U.System.StiArray,o=U.Report.Components.StiFilterCondition,a=U.Base.StiObjectConverter,V=U.Report.Components.StiDataBand,s=U.Report.Dictionary.StiSumFunctionService,i=U.Report.Dictionary.StiSumTimeFunctionService,n=U.Report.Dictionary.StiAvgFunctionService,l=U.Report.Dictionary.StiAvgDateFunctionService,u=U.Report.Dictionary.StiAvgTimeFunctionService,c=U.Report.Dictionary.StiMaxFunctionService,p=U.Report.Dictionary.StiMinFunctionService,h=U.Report.Dictionary.StiMedianFunctionService,m=U.Report.Dictionary.StiModeFunctionService,d=U.Report.Dictionary.StiFirstFunctionService,g=U.Report.Dictionary.StiLastFunctionService,f=U.Report.Dictionary.StiCountFunctionService,S=U.Report.Dictionary.StiCountDistinctFunctionService,y=U.Report.Dictionary.StiMinDateFunctionService,A=U.Report.Dictionary.StiMinTimeFunctionService,b=U.Report.Dictionary.StiMinStrFunctionService,C=U.Report.Dictionary.StiMaxDateFunctionService,v=U.Report.Dictionary.StiMaxTimeFunctionService,w=U.Report.Dictionary.StiMaxStrFunctionService,z=U.Report.Dictionary.StiSumDistinctFunctionService,B=U.Report.Dictionary.StiSumNullableFunctionService,X=U.Report.Engine.StiParser,K=U.System.Collections.Hashtable,Z=U.Report.Dictionary.StiDataSource,I=U.Report.Components.StiBand,q=U.Report.Components.StiHierarchicalBand,$=U.Report.Dictionary.StiBusinessObject,tt=U.Report.Engine.StiDataBandBuilder,et=U.Report.Components.StiDataHelper,rt=U.Report.Components.StiGroupHeaderBand,nt=U.Report.Components.StiContainer,T=U.System.Data.DBNull,E=U.Report.Dictionary.StiRankFunctionService,R=U.System.Text.StringBuilder,D=U.System.StiString,it=r,ot.getMethod=function(t,e){return null},ot.calculate=function(t,e,r,n,i,o,a){void 0===i&&(i=!1),void 0===o&&(o=!1),void 0===a&&(a=!0);var s=r,l,u,c;null==s&&(null!=(u=(l=e).stimulsoft.as(X.StiParserData))&&(l=u.data),!l.stimulsoft.is(Z)||null!=(c=l.dictionary)&&(s=c.report),l.stimulsoft.is(I)&&(s=l.report));var p=null!=s&&s.cacheTotals,h=null,m=null;if(p){var u={ref:h},c={ref:m},l=this.getCachedValue(t,e,s,n,i,o,a,u,c),m=c.ref;if(l)return u.ref}return null!=s&&(s.cachedTotalsLocked=!0),h=ot.calculate1(t,e,r,n,i,o,a),null!=s&&(s.cachedTotalsLocked=!1),p&&ot.storeCachedValue(e,s,m,h),h},ot.calculate1=function(t,e,r,n,i,o,a){var s,l,u=!0;null!=r&&(u=r.calculationMode==J.StiCalculationMode.Compilation);var c=new it,p;u||((p=null)!=e&&(p=e.stimulsoft.as(X.StiParserData)),null!=p?(c.asmList=p.asmList,c.asmList2=p.asmList2,c.conditionAsmList=p.conditionAsmList,c.parser=p.parser,e=p.data):u=!0),c.isCompilationMode=u,c.report=r;var h=null,m=(c.functionn=t).stimulsoft.getType()==z?t:null,p;if(null!=m&&(u?1<(p=n.split("~")).length&&(n=p[0],h=p[1],c.sumDistinctFunction=m):null!=c.asmList2&&(c.sumDistinctFunction=m)),u){if(null!=n&&(c.method=this.getMethod(r,n),null==c.method))return 0;if(null!=h&&(c.method2=this.getMethod(r,h),null==c.method2))return 0}var d=null==e?null:e.stimulsoft.as(V);if(null!=d&&a){if(null==r&&(r=d.report),t.init(),ot.saveState(d),d.isBusinessObjectEmpty||(d.businessObject.createEnumerator(),d.businessObject.specTotalsCalculation=!0),null!=r.engine&&-1!=r.engine.indexPageForPageTotal){var a=r.engine.indexPageForPageTotal;-1!=r.engine.startIndexPageForPageTotal&&(a=r.engine.startIndexPageForPageTotal);for(var g="Breaked_"+d.name,f="Continued_"+d.name,S=a;S<=r.engine.indexPageForPageTotal;S++){var y,A=r.renderedPages.getByIndex(S).getComponents();try{for(var b=(s=void 0,__values(A.list)),C=b.next();!C.done;C=b.next()){var v,w=C.value.as(nt),B,I;null==w||d.name!=w.name&&g!=w.name&&f!=w.name||-1==w.containerInfo.dataBandPosition||(I=B=null,d.isDataSourceEmpty||(d.position=w.containerInfo.dataBandPosition,null!=w.containerInfo.dataSourceRow&&(d.position=0,B=d.dataSource.detailRows,d.dataSource.detailRows=W.create(U.System.Data.DataRow,1),d.dataSource.detailRows[0]=w.containerInfo.dataSourceRow)),d.isBusinessObjectEmpty||null!=w.containerInfo.businessObjectCurrent&&(I=d.businessObject.currentObject,d.businessObject.currentObject=w.containerInfo.businessObjectCurrent),this.calcItem(c),d.isDataSourceEmpty||null!=w.containerInfo.dataSourceRow&&(d.dataSource.detailRows=B),d.isBusinessObjectEmpty||null!=w.containerInfo.businessObjectCurrent&&(d.businessObject.currentObject=I))}}catch(t){s={error:t}}finally{try{C&&!C.done&&(l=b.return)&&l.call(b)}finally{if(s)throw s.error}}}}return d.isBusinessObjectEmpty||(d.businessObject.specTotalsCalculation=!1),ot.restoreState(d),t.getValue()}var T=null==e?null:e.stimulsoft.as(Z);if(null!=T){if(i)throw new Error("You can't use AllLevels together with DataSource! Only HierarchicalBand can be used.");t.init(),T.saveState("Totals"),T.first(),T.resetData(),T.resetDetailsRows();while(!T.isEof)this.calcItem(c),T.next();return T.restoreState("Totals"),t.getValue()}var E=null==e?null:e.stimulsoft.as($);if(null!=E){if(i)throw new Error("You can't use AllLevels together with BusinessObject! Only HierarchicalBand can be used.");t.init(),E.saveState("Totals"),E.createEnumerator(),E.specTotalsCalculation=!0;while(!E.isEof)this.calcItem(c),E.next();return E.specTotalsCalculation=!1,E.restoreState("Totals"),t.getValue()}var R=null==e?null:e.stimulsoft.as(q);if(null!=R){var D=!1;if(!i&&o&&(i=D=!0),null==r&&(r=R.report),t.init(),!R.isDataSourceEmpty){R.saveState("Totals"),R.hierarchicalBandInfo.finalFooterCalculation&&(R.position=0);var P=R.dataSource.getLevel();-1!=R.hierarchicalBandInfo.specifiedLevel&&(P=R.hierarchicalBandInfo.specifiedLevel),0<R.dataSource.count&&(-1==R.hierarchicalBandInfo.specifiedLevel||i)&&!o&&this.calcItem(c);var x=R.position,F,F;while(0<R.position&&!o){if(R.position--,(F=R.dataSource.getLevel())<P)break;if(!i&&F!=P)continue;this.calcItem(c)}R.position=x;while(R.position<R.count-1){if(R.position++,(F=R.dataSource.getLevel())<P)break;if(o){if(D&&1<F-P)continue;if(F==P)break}if(!i&&F!=P)continue;this.calcItem(c)}R.position=x,R.restoreState("Totals")}if(!R.isBusinessObjectEmpty){var N=R.position;R.saveState("Totals");var k=[];R.saveState("Totals2"),R.businessObject.createEnumerator();while(!R.businessObject.isEof)k.push(R.businessObject.enumerator.current),R.businessObject.next();R.restoreState("Totals2"),R.hierarchicalBandInfo.finalFooterCalculation&&(R.position=0),R.businessObject.currentObject=k[R.position];var P=R.businessObject.getLevel();-1!=R.hierarchicalBandInfo.specifiedLevel&&(P=R.hierarchicalBandInfo.specifiedLevel),0<R.businessObject.count&&(-1==R.hierarchicalBandInfo.specifiedLevel||i)&&!o&&this.calcItem(c);var x=R.position,F,F;while(0<R.position&&!o){if(R.position--,R.businessObject.currentObject=k[R.position],(F=R.businessObject.getLevel())<P)break;if(!i&&F!=P)continue;this.calcItem(c)}R.position=x;while(R.position<R.count-1){if(R.position++,R.businessObject.currentObject=k[R.position],(F=R.businessObject.getLevel())<P)break;if(o){if(D&&1<F-P)continue;if(F==P)break}if(!i&&F!=P)continue;this.calcItem(c)}R.position=x,R.restoreState("Totals")}return t.getValue()}var M=null==e?null:e.stimulsoft.as(V);if(null!=M){if(i)throw new Error("You can't use AllLevels together with DataBand! Only HierarchicalBand can be used.");if(null==r&&(r=M.report),t.init(),null!=M.businessObject){var O=M.businessObject;O.saveState("Totals"),O.createEnumerator(),O.specTotalsCalculation=!0;while(!O.isEof)this.calcItem(c),O.next();O.specTotalsCalculation=!1,O.restoreState("Totals")}else{ot.saveState(M),et.setData(M,!1),M.first();while(!M.isEof)this.calcItem(c),M.next();ot.restoreState(M)}return t.getValue()}var _=null==e?null:e.stimulsoft.as(rt);if(null!=_){if(i)throw new Error("You can't use AllLevels together with StiGroupHeaderBand! Only HierarchicalBand can be used.");if(null==r&&(r=_.report),t.init(),null==(M=_.getDataBand()))return 0;ot.saveState(M);var j=null,j=tt.getBuilder(V),G=M.businessObject,x=!1,e=!1,x=j.getGroupHeaderResult(M,_),e=j.getGroupFooterResult(M,_);if(x&&e)try{tt.setDetails(M),this.calcItem(c)}catch(t){U.System.StiError.showError(t,!1)}else{if(null!=G){var H=G.position;G.saveState("Totals"),G.createEnumerator(),G.specTotalsCalculation=!0;var Q=[],L=0;while(L!=H)0==L&&tt.prepareGroupResults(M),Q.push(j.getGroupHeaderResult(M,_)),M.next(),L++;if(L--,!x){var Y=new K;if(0<H)try{while(1){if(Q[L]){Y.set(L,L);break}if(Y.set(L,L),--L<0)break}}catch(t){U.System.StiError.showError(t,!1),H=0}G.first(),L=0;while(L!=H)null!=Y.get(L)&&this.calcItem(c),L++,G.next()}}else while(1==1){if(j.getGroupHeaderResult(M,_))break;M.prior()}while(1==1){if(j.getGroupFooterResult(M,_))break;if(this.calcItem(c),null!=G){if(G.isEof)break;G.next(),tt.prepareGroupResults(M)}else M.next()}x=j.getGroupHeaderResult(M,_),e=j.getGroupFooterResult(M,_),!x&&e&&this.calcItem(c)}return null!=G&&(G.specTotalsCalculation=!1,G.restoreState("Totals")),ot.restoreState(M),t.getValue()}return 0},ot.calcItem=function(t){try{var e=null,r,e;t.isCompilationMode?(t.method,null!=t.sumDistinctFunction||t.functionn.calcItem(e)):null!=t.conditionAsmList&&!U.System.Convert.toBoolean(t.parser.executeAsm(t.conditionAsmList))||(e=t.parser.executeAsm(t.asmList),null!=t.sumDistinctFunction?(r=t.parser.executeAsm(t.asmList2),t.sumDistinctFunction.calcItem(e,r)):t.functionn.calcItem(e))}catch(t){U.System.StiError.showError(t,!1)}},ot.calculateByCondition=function(t,e,r,n,i,o,a,s,l){var u=!0;null!=r&&(u=r.calculationMode==J.StiCalculationMode.Compilation);var c=null,p=null,h;u||(null!=(h=null==e?null:e.stimulsoft.as(X.StiParserData))?(c=h.asmList,p=h.parser,e=h.data):u=!0);var m=null==e?null:e.stimulsoft.as(q);if(null!=m){var d=!1;!s&&l&&(s=d=!0),null==r&&(r=m.report),t.init(),m.saveState("Totals");var g=[];if(null!=m.businessObject){m.saveState("Totals2"),m.businessObject.createEnumerator();while(!m.businessObject.isEof)g.push(m.businessObject.enumerator.current),m.businessObject.next();m.restoreState("Totals2")}m.hierarchicalBandInfo.finalFooterCalculation&&(m.position=0),null!=m.businessObject&&(m.businessObject.currentObject=g[m.position]);var f=(null!=m.dataSource?m.dataSource:m.businessObject).getLevel();if(-1!=m.hierarchicalBandInfo.specifiedLevel&&(f=m.hierarchicalBandInfo.specifiedLevel),(0<g.length||0<m.dataSource.count)&&(-1==m.hierarchicalBandInfo.specifiedLevel||s)&&!l)try{var S=null;u||(S=this.compareValue(p.executeAsm(c),i,o,a)),t.calcItem(S)}catch(t){}var r=m.position,y,y;while(0<m.position&&!l){if(m.position--,null!=m.businessObject&&(m.businessObject.currentObject=g[m.position]),(y=(null!=m.dataSource?m.dataSource:m.businessObject).getLevel())<f)break;if(!s&&y!=f)continue;try{var S=null;u||(S=this.compareValue(p.executeAsm(c),i,o,a)),t.calcItem(S)}catch(t){U.System.StiError.showError(t,!1)}}m.position=r;while(m.position<m.count-1){if(m.position++,null!=m.businessObject&&(m.businessObject.currentObject=g[m.position]),(y=(null!=m.dataSource?m.dataSource:m.businessObject).getLevel())<f)break;if(l){if(d&&1<y-f)continue;if(y==f)break}if(!s&&y!=f)continue;try{var S=null;u||(S=this.compareValue(p.executeAsm(c),i,o,a)),t.calcItem(S)}catch(t){U.System.StiError.showError(t,!1)}}return m.position=r,m.restoreState("Totals"),t.getValue()}return 0},ot.compareValue=function(t,e,r,n){var i=r;switch(e){case o.Between:return r<=i&&i<=n?i:0;case o.EqualTo:return i==r?i:0;case o.GreaterThan:return r<i?i:0;case o.GreaterThanOrEqualTo:return r<=i?i:0;case o.LessThan:return i<r?i:0;case o.LessThanOrEqualTo:return i<=r?i:0;case o.NotBetween:return i<r||n<i?i:0;case o.NotEqualTo:return i!=r?i:0;case o.NotContaining:case o.EndingWith:case o.Containing:case o.BeginningWith:return 0}return 0},ot.calculateNullable=function(t,e,r,n,i,o){var o=ot.calculate(t,e,r,n,i,o,!1);if(null==o)return null;return a.convertToNumber(o)},ot.calculateRunning=function(t,e,r,n){try{var i;return null==r&&(e.stimulsoft.is(V)?r=e.report:!e.stimulsoft.is(X.StiParserData)||null!=(i=null==e.data?null:e.data.stimulsoft.as(V))&&(r=i.report)),r.engine.startIndexPageForPageTotal=0,ot.calculate(t,e,r,n,!1,!1,!0)}finally{r.engine.startIndexPageForPageTotal=-1}},ot.sum=function(t,e,r){return ot.calculate(new s,t,e,r,!1,!1,!1)},ot.sumNullable=function(t,e,r){return ot.calculateNullable(new B,t,e,r,!1,!1)},ot.sumDistinct=function(t,e,r,n){return void 0===n&&(n=null),null==n?ot.calculate(new z,t,e,r,!1,!1,!1):ot.calculate(new z,t,e,r+"~"+n,!1,!1)},ot.cSum=function(t,e,r){return ot.calculate(new s,t,e,r,!1,!1,!0)},ot.cSumRunning=function(t,e,r){return ot.calculateRunning(new s,t,e,r)},ot.sumAllLevels=function(t,e,r){return ot.calculate(new s,t,e,r,!0,!1,!1)},ot.sumAllLevelsByCondition=function(t,e,r,n,i,o){return ot.calculateByCondition(new s,t,e,r,n,i,o,!0,!1)},ot.sumAllLevelsOnlyChilds=function(t,e,r){return ot.calculate(new s,t,e,r,!0,!0,!1)},ot.sumOnlyChilds=function(t,e,r){return ot.calculate(new s,t,e,r,!1,!0,!1)},ot.sumTime=function(t,e,r){var n;return ot.calculate(new i,t,e,r,!1,!1,!1)},ot.cSumTime=function(t,e,r){var n;return ot.calculate(new i,t,e,r)},ot.sumTimeAllLevels=function(t,e,r){var n;return ot.calculate(new i,t,e,r,!0,!1,!1)},ot.sumTimeAllLevelsOnlyChilds=function(t,e,r){var n;return ot.calculate(new i,t,e,r,!0,!0,!1)},ot.sumTimeOnlyChilds=function(t,e,r){var n;return ot.calculate(new i,t,e,r,!1,!0,!1)},ot.avg=function(t,e,r){return ot.calculate(new n,t,e,r,!1,!1,!1)},ot.cAvg=function(t,e,r){return ot.calculate(new n,t,e,r)},ot.cAvgRunning=function(t,e,r){return ot.calculateRunning(new n,t,e,r)},ot.avgAllLevels=function(t,e,r){return ot.calculate(new n,t,e,r,!0,!1,!1)},ot.avgAllLevelsOnlyChilds=function(t,e,r){return ot.calculate(new n,t,e,r,!0,!0,!1)},ot.avgOnlyChilds=function(t,e,r){return ot.calculate(new n,t,e,r,!1,!0,!1)},ot.avgDate=function(t,e,r){var n;return ot.calculate(new l,t,e,r,!1,!1,!1)},ot.cAvgDate=function(t,e,r){var n;return ot.calculate(new l,t,e,r)},ot.avgDateAllLevels=function(t,e,r){var n;return ot.calculate(new l,t,e,r,!0,!1,!1)},ot.avgDateAllLevelsOnlyChilds=function(t,e,r){var n;return ot.calculate(new l,t,e,r,!0,!0,!1)},ot.avgDateOnlyChilds=function(t,e,r){var n;return ot.calculate(new l,t,e,r,!1,!0,!1)},ot.avgTime=function(t,e,r){var n;return ot.calculate(new u,t,e,r,!1,!1,!1)},ot.cAvgTime=function(t,e,r){var n;return ot.calculate(new u,t,e,r)},ot.avgTimeAllLevels=function(t,e,r){var n;return ot.calculate(new u,t,e,r,!0,!1,!1)},ot.avgTimeAllLevelsOnlyChilds=function(t,e,r){var n;return ot.calculate(new u,t,e,r,!0,!0,!1)},ot.avgTimeOnlyChilds=function(t,e,r){var n;return ot.calculate(new u,t,e,r,!1,!0,!1)},ot.max=function(t,e,r){return ot.calculate(new c,t,e,r,!1,!1,!1)},ot.cMax=function(t,e,r){return ot.calculate(new c,t,e,r)},ot.cMaxRunning=function(t,e,r){return ot.calculateRunning(new c,t,e,r)},ot.maxAllLevels=function(t,e,r){return ot.calculate(new c,t,e,r,!0,!1,!1)},ot.maxAllLevelsOnlyChilds=function(t,e,r){return ot.calculate(new c,t,e,r,!0,!0,!1)},ot.maxOnlyChilds=function(t,e,r){return ot.calculate(new c,t,e,r,!1,!0,!1)},ot.min=function(t,e,r){return ot.calculate(new p,t,e,r,!1,!1,!1)},ot.cMin=function(t,e,r){return ot.calculate(new p,t,e,r)},ot.cMinRunning=function(t,e,r){return ot.calculateRunning(new p,t,e,r)},ot.minAllLevels=function(t,e,r){return ot.calculate(new p,t,e,r,!0,!1,!1)},ot.minAllLevelsOnlyChilds=function(t,e,r){return ot.calculate(new p,t,e,r,!0,!0,!1)},ot.minOnlyChilds=function(t,e,r){return ot.calculate(new p,t,e,r,!1,!0,!1)},ot.median=function(t,e,r){return ot.calculate(new h,t,e,r,!1,!1,!1)},ot.cMedian=function(t,e,r){return ot.calculate(new h,t,e,r)},ot.cMedianRunning=function(t,e,r){return ot.calculateRunning(new h,t,e,r)},ot.medianAllLevels=function(t,e,r){return ot.calculate(new h,t,e,r,!0,!1,!1)},ot.medianAllLevelsOnlyChilds=function(t,e,r){return ot.calculate(new h,t,e,r,!0,!0,!1)},ot.medianOnlyChilds=function(t,e,r){return ot.calculate(new h,t,e,r,!1,!0,!1)},ot.mode=function(t,e,r){return ot.calculate(new m,t,e,r,!1,!1,!1)},ot.cMode=function(t,e,r){return ot.calculate(new m,t,e,r)},ot.cModeRunning=function(t,e,r){return ot.calculateRunning(new m,t,e,r)},ot.modeAllLevels=function(t,e,r){return ot.calculate(new m,t,e,r,!0,!1,!1)},ot.modeAllLevelsOnlyChilds=function(t,e,r){return ot.calculate(new m,t,e,r,!0,!0,!1)},ot.modeOnlyChilds=function(t,e,r){return ot.calculate(new m,t,e,r,!1,!0,!1)},ot.first=function(t,e,r){return ot.calculate(new d,t,e,r,!1,!1,!1)},ot.cFirst=function(t,e,r){return ot.calculate(new d,t,e,r)},ot.cFirstRunning=function(t,e,r){return ot.calculateRunning(new d,t,e,r)},ot.firstAllLevels=function(t,e,r){return ot.calculate(new d,t,e,r,!0,!1,!1)},ot.firstAllLevelsOnlyChilds=function(t,e,r){return ot.calculate(new d,t,e,r,!0,!0,!1)},ot.firstOnlyChilds=function(t,e,r){return ot.calculate(new d,t,e,r,!1,!0,!1)},ot.last=function(t,e,r){return ot.calculate(new g,t,e,r,!1,!1,!1)},ot.cLast=function(t,e,r){return ot.calculate(new g,t,e,r)},ot.cLastRunning=function(t,e,r){return ot.calculateRunning(new g,t,e,r)},ot.lastAllLevels=function(t,e,r){return ot.calculate(new g,t,e,r,!0,!1,!1)},ot.lastAllLevelsOnlyChilds=function(t,e,r){return ot.calculate(new g,t,e,r,!0,!0,!1)},ot.lastOnlyChilds=function(t,e,r){return ot.calculate(new g,t,e,r,!1,!0,!1)},ot.count=function(t,e,r){return void 0===e&&(e=null),void 0===r&&(r=null),ot.calculate(new f,t,e,r,!1,!1,!1)},ot.cCount=function(t,e,r){return void 0===e&&(e=null),void 0===r&&(r=null),ot.calculate(new f,t,e,r)},ot.cCountRunning=function(t,e,r){return void 0===e&&(e=null),void 0===r&&(r=null),ot.calculateRunning(new f,t,e,r)},ot.countAllLevels=function(t){return ot.calculate(new f,t,null,null,!0,!1,!1)},ot.countAllLevelsOnlyChilds=function(t){return ot.calculate(new f,t,null,null,!0,!0,!1)},ot.countOnlyChilds=function(t){return ot.calculate(new f,t,null,null,!1,!0,!1)},ot.countDistinct=function(t,e,r){return ot.calculate(new S,t,e,r,!1,!1,!1)},ot.cCountDistinct=function(t,e,r){return ot.calculate(new S,t,e,r)},ot.cCountDistinctRunning=function(t,e,r){return ot.calculateRunning(new S,t,e,r)},ot.countDistinctAllLevels=function(t,e,r){return ot.calculate(new S,t,e,r,!0,!1,!1)},ot.countDistinctAllLevelsOnlyChilds=function(t,e,r){return ot.calculate(new S,t,e,r,!0,!0,!1)},ot.countDistinctOnlyChilds=function(t,e,r){return ot.calculate(new S,t,e,r,!1,!0,!1)},ot.minDate=function(t,e,r){var n;return ot.calculate(new y,t,e,r,!1,!1,!1)},ot.cMinDate=function(t,e,r){var n;return ot.calculate(new y,t,e,r)},ot.minDateAllLevels=function(t,e,r){var n;return ot.calculate(new y,t,e,r,!0,!1,!1)},ot.minDateAllLevelsOnlyChilds=function(t,e,r){var n;return ot.calculate(new y,t,e,r,!0,!0,!1)},ot.minDateOnlyChilds=function(t,e,r){var n;return ot.calculate(new y,t,e,r,!1,!0,!1)},ot.minTime=function(t,e,r){var n;return ot.calculate(new A,t,e,r,!1,!1,!1)},ot.cMinTime=function(t,e,r){var n;return ot.calculate(new A,t,e,r)},ot.minTimeAllLevels=function(t,e,r){var n;return ot.calculate(new A,t,e,r,!0,!1,!1)},ot.minTimeAllLevelsOnlyChilds=function(t,e,r){var n;return ot.calculate(new A,t,e,r,!0,!0,!1)},ot.minTimeOnlyChilds=function(t,e,r){var n;return ot.calculate(new A,t,e,r,!1,!0,!1)},ot.minStr=function(t,e,r){var n;return ot.calculate(new b,t,e,r,!1,!1,!1)},ot.cMinStr=function(t,e,r){var n;return ot.calculate(new b,t,e,r)},ot.minStrAllLevels=function(t,e,r){var n;return ot.calculate(new b,t,e,r,!0,!1,!1)},ot.minStrAllLevelsOnlyChilds=function(t,e,r){var n;return ot.calculate(new b,t,e,r,!0,!0,!1)},ot.minStrOnlyChilds=function(t,e,r){var n;return ot.calculate(new b,t,e,r,!1,!0,!1)},ot.maxDate=function(t,e,r){var n;return ot.calculate(new C,t,e,r,!1,!1,!1)},ot.cMaxDate=function(t,e,r){var n;return ot.calculate(new C,t,e,r)},ot.maxDateAllLevels=function(t,e,r){var n;return ot.calculate(new C,t,e,r,!0,!1,!1)},ot.maxDateAllLevelsOnlyChilds=function(t,e,r){var n;return ot.calculate(new C,t,e,r,!0,!0,!1)},ot.maxDateOnlyChilds=function(t,e,r){var n;return ot.calculate(new C,t,e,r,!1,!0,!1)},ot.maxTime=function(t,e,r){var n;return ot.calculate(new v,t,e,r,!1,!1,!1)},ot.cMaxTime=function(t,e,r){var n;return ot.calculate(new v,t,e,r)},ot.maxTimeAllLevels=function(t,e,r){var n;return ot.calculate(new v,t,e,r,!0,!1,!1)},ot.maxTimeAllLevelsOnlyChilds=function(t,e,r){var n;return ot.calculate(new v,t,e,r,!0,!0,!1)},ot.maxTimeOnlyChilds=function(t,e,r){var n;return ot.calculate(new v,t,e,r,!1,!0,!1)},ot.maxStr=function(t,e,r){var n;return ot.calculate(new w,t,e,r,!1,!1,!1)},ot.cMaxStr=function(t,e,r){var n;return ot.calculate(new w,t,e,r)},ot.maxStrAllLevels=function(t,e,r){var n;return ot.calculate(new w,t,e,r,!0,!1,!1)},ot.maxStrAllLevelsOnlyChilds=function(t,e,r){var n;return ot.calculate(new w,t,e,r,!0,!0,!1)},ot.maxStrOnlyChilds=function(t,e,r){var n;return ot.calculate(new w,t,e,r,!1,!0,!1)},ot.rank=function(t,e,r,n,i){void 0===n&&(n=!0),void 0===i&&(i=J.StiRankOrder.Asc);var o,i=this.calculate(new E(!1,n,i),t,e,r,!1,!1,!1).stimulsoft.as(K);if(null!=i&&null!=t){var e=null,r=null==t?null:t.stimulsoft.as(X.StiParserData),t,a,e;if(null!=r&&(t=r.asmList,e=r.parser.executeAsm(t)),null!=e&&e!=T.value)return+i.get(e);return 0}return 0},ot.saveState=function(t){var e,r;if(t.saveState("Totals"),null!=t.dataBandInfo&&null!=t.dataBandInfo.detailDataBands)try{for(var n=__values(t.dataBandInfo.detailDataBands.list),i=n.next();!i.done;i=n.next()){var o=i.value;ot.saveState(o)}}catch(t){e={error:t}}finally{try{i&&!i.done&&(r=n.return)&&r.call(n)}finally{if(e)throw e.error}}},ot.restoreState=function(t){var e,r;if(t.restoreState("Totals"),null!=t.dataBandInfo&&null!=t.dataBandInfo.detailDataBands)try{for(var n=__values(t.dataBandInfo.detailDataBands.list),i=n.next();!i.done;i=n.next()){var o=i.value;ot.restoreState(o)}}catch(t){e={error:t}}finally{try{i&&!i.done&&(r=n.return)&&r.call(n)}finally{if(e)throw e.error}}},ot.storeCachedValue=function(t,e,r,n){var i=null==t?null:t.stimulsoft.as(X.StiParserData);null!=i&&(t=i.data);var i=e.cachedTotals.get(t);null==i&&(i=new K,e.cachedTotals.set(t,i)),i.set(r,n)},ot.getCachedValue=function(t,e,r,n,i,o,a,s,l){var u,c,p=new R,h=e.stimulsoft.as(X.StiParserData);if(null!=h&&(e=h.data,null!=h.asmList))try{for(var m=__values(h.asmList),d=m.next();!d.done;d=m.next()){var g=d.value;p.append(g.toString()),p.append("*")}}catch(t){u={error:t}}finally{try{d&&!d.done&&(c=m.return)&&c.call(m)}finally{if(u)throw u.error}}var i=D.format("{0}_*_{1}_*_{2}_*_{3}_*_{4}_*_{5}",t.serviceName,n,p.toString(),i,o,a?"PageTotal"+r.currentPrintPage.toString():"False"),o=null,a=!1;null==r.cachedTotals&&(r.cachedTotals=new K);var e=r.cachedTotals.get(e);return null!=e&&e.containsKey(i)&&(o=e.get(i),a=!0),s.ref=o,l.ref=i,a},e=ot,J.Totals=e}(Stimulsoft=Stimulsoft||{});;
var __extends=this&&this.__extends||function(){var i=function(e,t){return(i=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)t.hasOwnProperty(r)&&(e[r]=t[r])})(e,t)};return function(e,t){function r(){this.constructor=e}i(e,t),e.prototype=null===t?Object.create(t):(r.prototype=t.prototype,new r)}}(),__values=this&&this.__values||function(e){var t="function"==typeof Symbol&&Symbol.iterator,r=t&&e[t],i=0;if(r)return r.call(e);if(e&&"number"==typeof e.length)return{next:function(){return e&&i>=e.length&&(e=void 0),{value:e&&e[i++],done:!e}}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")},Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft,Stimulsoft;!function(e){var t,r,i,n,o,l,u,a;function s(e){var t=a.call(this)||this;return t.barType=e,t}r=t=e.Report||(e.Report={}),n=i=r.Gauge||(r.Gauge={}),r=o=n.Collections||(n.Collections={}),l=e.System.StiString,n=e.System.Collections.CollectionBase,u=e.Base.StiJson,__extends(s,a=n),s.prototype.saveToJsonObject=function(e){var t,r;if(0==this.list.length)return null;var i=new u,n=0;try{for(var o=__values(this.list),a=o.next();!a.done;a=o.next()){var s=a.value;i.addPropertyJObject(n.toString(),s.saveToJsonObject(e)),n++}}catch(e){t={error:e}}finally{try{a&&!a.done&&(r=o.return)&&r.call(o)}finally{if(t)throw t.error}}return i},s.prototype.loadFromJsonObject=function(e){var t,r,i=function(e){var t,r=e.value.properties().firstOrDefault(function(e){return"Ident"==e.name}).value.toString(),i=StiOptions.Services.indicatorRanges.firstOrDefault(function(e){return e.stimulsoft.getType().stimulsoft.getTypeName()==r});if(null==i)throw l.format("Type {0} is not found!",r);var i=i.createNew();n.add(i),i.loadFromJsonObject(e.value)},n=this;try{for(var o=__values(e.properties()),a=o.next(),s;!a.done;a=o.next()){i(a.value)}}catch(e){t={error:e}}finally{try{a&&!a.done&&(r=o.return)&&r.call(o)}finally{if(t)throw t.error}}},s.prototype.clone=function(){var t,e,r=new s(this.barType);try{for(var i=__values(this.list),n=i.next();!n.done;n=i.next()){var o=n.value;r.add(o.clone())}}catch(e){t={error:e}}finally{try{n&&!n.done&&(e=i.return)&&e.call(i)}finally{if(t)throw t.error}}return r},Object.defineProperty(s.prototype,"isReadOnly",{get:function(){return!1},enumerable:!1,configurable:!0}),s.prototype.add=function(e){e.rangeListType==this.barType&&a.prototype.add.call(this,e)},s.prototype.insert=function(e,t){t.rangeListType==this.barType&&a.prototype.insert.call(this,e,t)},s.prototype.copyTo=function(e,t){this.list.stimulsoft.copyTo(e,t)},s.prototype.moveUp=function(e){var t=this.list.indexOf(e);if(0<t)return this.list.stimulsoft.removeAt(t),t--,this.list.stimulsoft.insert(t,e),!0;return!1},s.prototype.moveDown=function(e){var t=this.list.indexOf(e);if(-1!=t&&1<this.list.length&&t<this.list.length-1)return this.list.stimulsoft.removeAt(t),t++,this.list.stimulsoft.insert(t,e),!0;return!1},n=s,r.StiBarRangeListCollection=n}(Stimulsoft=Stimulsoft||{}),function(e){var t,r,i,n,o,a;function s(){this._value=0,this._placement=null,this._offset=null}r=t=e.Report||(e.Report={}),n=i=r.Components||(r.Components={}),r=o=n.Gauge||(n.Gauge={}),a=e.Base.StiJson,s.prototype.saveToJsonObject=function(e){var t=new a;return t.addPropertyNumber("Value",this.value,0),t.addPropertyNumber("Offset",this.offset,null),t},s.prototype.loadFromJsonObject=function(e){var t,r;try{for(var i=__values(e.properties()),n=i.next();!n.done;n=i.next()){var o=n.value;switch(o.name){case"Value":this.value=o.value.stimulsoft.toNumber();break;case"Offset":this.offset=o.value.stimulsoft.toNumber();break}}}catch(e){t={error:e}}finally{try{n&&!n.done&&(r=i.return)&&r.call(i)}finally{if(t)throw t.error}}},s.prototype.loadFromXml=function(e){for(var t=0;t<e.childNodes.length;t++){var r=e.childNodes[t];switch(r.nodeName){case"Value":this.value=r.textContent.stimulsoft.toNumber();break;case"Offset":this.offset=r.textContent.stimulsoft.toNumber();break}}},Object.defineProperty(s.prototype,"componentId",{get:function(){return null},enumerable:!1,configurable:!0}),Object.defineProperty(s.prototype,"propName",{get:function(){return null},enumerable:!1,configurable:!0}),s.prototype.clone=function(){return this.stimulsoft.memberwiseClone()},Object.defineProperty(s.prototype,"value",{get:function(){return this._value},set:function(e){this._value=e},enumerable:!1,configurable:!0}),Object.defineProperty(s.prototype,"placement",{get:function(){return this._placement},set:function(e){this._placement=e},enumerable:!1,configurable:!0}),Object.defineProperty(s.prototype,"offset",{get:function(){return this._offset},set:function(e){this._offset=e},enumerable:!1,configurable:!0}),Object.defineProperty(s.prototype,"localizedName",{get:function(){return null},enumerable:!1,configurable:!0}),s.prototype.createNew=function(){return null},n=s,r.StiCustomValueBase=n}(Stimulsoft=Stimulsoft||{}),function(e){var t,r,i,n,o,a,s,c,p;function l(e,t,r,i,n,o,a,s,l,u){void 0===e&&(e=null),void 0===t&&(t=null),void 0===r&&(r=null),void 0===i&&(i=null),void 0===n&&(n=null),void 0===o&&(o=null),void 0===a&&(a=null),void 0===s&&(s=null),void 0===l&&(l=null),void 0===u&&(u=null);var h=p.call(this)||this;return h._relativeWidth=null,h._relativeHeight=null,h._offsetAngle=null,h._skin=null,h._brush=new c,h._borderBrush=new c,(h._borderWidth=null)!=e&&(h.value=e),null!=t&&(h.offset=t),null!=r&&(h._relativeWidth=r),null!=i&&(h._relativeHeight=i),null!=n&&(h._offsetAngle=n),null!=o&&(h.placement=o),null!=a&&(h.brush=a),null!=s&&(h.borderBrush=s),null!=l&&(h.borderWidth=l),null!=u&&(h._skin=u),h}r=t=e.Report||(e.Report={}),n=i=r.Components||(r.Components={}),a=o=n.Gauge||(n.Gauge={}),s=e.System.StiString,n=e.Report.Components.Gauge.StiCustomValueBase,c=e.Base.Drawing.StiEmptyBrush,__extends(l,p=n),l.prototype.saveToJsonObject=function(e){var e=p.prototype.saveToJsonObject.call(this,e);return e.addPropertyIdent("Ident",this.stimulsoft.getType().stimulsoft.getTypeName()),e.addPropertyNumber("RelativeHeight",this.relativeHeight,null),e.addPropertyNumber("RelativeWidth",this.relativeWidth,null),e.addPropertyNumber("OffsetAngle",this.offsetAngle,null),e},l.prototype.loadFromJsonObject=function(e){var t,r;p.prototype.loadFromJsonObject.call(this,e);try{for(var i=__values(e.properties()),n=i.next();!n.done;n=i.next()){var o=n.value;switch(o.name){case"RelativeHeight":this.relativeHeight=o.value.stimulsoft.toNumber();break;case"RelativeWidth":this.relativeWidth=o.value.stimulsoft.toNumber();break;case"OffsetAngle":this.offsetAngle=o.value.stimulsoft.toNumber();break}}}catch(e){t={error:e}}finally{try{n&&!n.done&&(r=i.return)&&r.call(i)}finally{if(t)throw t.error}}},l.prototype.loadFromXml=function(e){p.prototype.loadFromXml.call(this,e);for(var t=0;t<e.childNodes.length;t++){var r=e.childNodes[t];switch(r.nodeName){case"RelativeHeight":this.relativeHeight=r.textContent.stimulsoft.toNumber();break;case"RelativeWidth":this.relativeWidth=r.textContent.stimulsoft.toNumber();break;case"OffsetAngle":this.offsetAngle=r.textContent.stimulsoft.toNumber();break}}},Object.defineProperty(l.prototype,"componentId",{get:function(){return r.StiComponentId.StiRadialTickMarkCustomValue},enumerable:!1,configurable:!0}),l.prototype.clone=function(){var e=p.prototype.clone.call(this);return e.brush=this.brush.clone(),e.borderBrush=this.borderBrush.clone(),e},Object.defineProperty(l.prototype,"relativeWidth",{get:function(){return this._relativeWidth},set:function(e){this._relativeWidth=e},enumerable:!1,configurable:!0}),Object.defineProperty(l.prototype,"relativeHeight",{get:function(){return this._relativeHeight},set:function(e){this._relativeHeight=e},enumerable:!1,configurable:!0}),Object.defineProperty(l.prototype,"offsetAngle",{get:function(){return this._offsetAngle},set:function(e){this._offsetAngle=e},enumerable:!1,configurable:!0}),Object.defineProperty(l.prototype,"skin",{get:function(){return this._skin},set:function(e){this._skin=e},enumerable:!1,configurable:!0}),Object.defineProperty(l.prototype,"brush",{get:function(){return this._brush},set:function(e){this._brush=e,this.useBrush=!0},enumerable:!1,configurable:!0}),Object.defineProperty(l.prototype,"borderBrush",{get:function(){return this._borderBrush},set:function(e){this._borderBrush=e,this.useBorderBrush=!0},enumerable:!1,configurable:!0}),Object.defineProperty(l.prototype,"borderWidth",{get:function(){return this._borderWidth},set:function(e){this._borderWidth=e,this.useBorderWidth=!0},enumerable:!1,configurable:!0}),Object.defineProperty(l.prototype,"localizedName",{get:function(){return"RadialTickMarkCustom"},enumerable:!1,configurable:!0}),l.prototype.toString=function(){return s.format("Value={0}",this.value)},l.prototype.createNew=function(){return new l},n=l,a.StiRadialTickMarkCustomValue=n}(Stimulsoft=Stimulsoft||{}),function(e){var t,r,i,n,o,a,s,l;function u(e,t,r,i,n,o){void 0===e&&(e=null),void 0===t&&(t=null),void 0===r&&(r=null),void 0===i&&(i=null),void 0===n&&(n=null),void 0===o&&(o=null);var a=l.call(this)||this;return a._text=null,a._offsetAngle=null,a._labelRotationMode=null,a.value=e,a._text=t,a.offset=r,a._offsetAngle=i,a._labelRotationMode=n,a.placement=o,a}r=t=e.Report||(e.Report={}),n=i=r.Components||(r.Components={}),a=o=n.Gauge||(n.Gauge={}),s=e.System.StiString,l=a.StiCustomValueBase,__extends(u,l),u.prototype.saveToJsonObject=function(e){var e=l.prototype.saveToJsonObject.call(this,e);return e.addPropertyString("Text",this.text),e.addPropertyNumber("OffsetAngle",this.offsetAngle,null),e},u.prototype.loadFromJsonObject=function(e){var t,r;l.prototype.loadFromJsonObject.call(this,e);try{for(var i=__values(e.properties()),n=i.next();!n.done;n=i.next()){var o=n.value;switch(o.name){case"Text":this.text=o.value.toString();break;case"OffsetAngle":this.offsetAngle=o.value.stimulsoft.toNumber();break}}}catch(e){t={error:e}}finally{try{n&&!n.done&&(r=i.return)&&r.call(i)}finally{if(t)throw t.error}}},u.prototype.loadFromXml=function(e){l.prototype.loadFromXml.call(this,e);for(var t=0;t<e.childNodes.length;t++){var r=e.childNodes[t];switch(r.nodeName){case"Text":this.text=r.textContent;break;case"OffsetAngle":this.offsetAngle=r.textContent.stimulsoft.toNumber();break}}},Object.defineProperty(u.prototype,"componentId",{get:function(){return r.StiComponentId.StiRadialTickLabelCustomValue},enumerable:!1,configurable:!0}),Object.defineProperty(u.prototype,"text",{get:function(){return this._text},set:function(e){this._text=e},enumerable:!1,configurable:!0}),Object.defineProperty(u.prototype,"offsetAngle",{get:function(){return this._offsetAngle},set:function(e){this._offsetAngle=e},enumerable:!1,configurable:!0}),Object.defineProperty(u.prototype,"labelRotationMode",{get:function(){return this._labelRotationMode},set:function(e){this._labelRotationMode=e},enumerable:!1,configurable:!0}),Object.defineProperty(u.prototype,"localizedName",{get:function(){return"RadialTickLabelCustom"},enumerable:!1,configurable:!0}),u.prototype.toString=function(){return s.format("Value={0}, Text={1}",this.value,this.text)},u.prototype.createNew=function(){return new u},n=u,a.StiRadialTickLabelCustomValue=n}(Stimulsoft=Stimulsoft||{}),function(e){var t,r,i,n,o,a,s,l;function u(e,t,r,i,n,o){void 0===e&&(e=null),void 0===t&&(t=null),void 0===r&&(r=null),void 0===i&&(i=null),void 0===n&&(n=null),void 0===o&&(o=null);var a=l.call(this)||this;return a._relativeWidth=null,a._relativeHeight=null,a.value=e,a.offset=t,a._relativeWidth=r,a._relativeHeight=i,a.placement=n,a._skin=o,a}r=t=e.Report||(e.Report={}),n=i=r.Components||(r.Components={}),a=o=n.Gauge||(n.Gauge={}),s=e.System.StiString,l=a.StiCustomValueBase,__extends(u,l),u.prototype.saveToJsonObject=function(e){var e=l.prototype.saveToJsonObject.call(this,e);return e.addPropertyIdent("Ident",this.stimulsoft.getType().stimulsoft.getTypeName()),e.addPropertyNumber("RelativeHeight",this.relativeHeight,null),e.addPropertyNumber("RelativeWidth",this.relativeWidth,null),e},u.prototype.loadFromJsonObject=function(e){var t,r;l.prototype.loadFromJsonObject.call(this,e);try{for(var i=__values(e.properties()),n=i.next();!n.done;n=i.next()){var o=n.value;switch(o.name){case"RelativeHeight":this.relativeHeight=o.value.stimulsoft.toNumber();break;case"RelativeWidth":this.relativeWidth=o.value.stimulsoft.toNumber();break}}}catch(e){t={error:e}}finally{try{n&&!n.done&&(r=i.return)&&r.call(i)}finally{if(t)throw t.error}}},u.prototype.loadFromXml=function(e){l.prototype.loadFromXml.call(this,e);for(var t=0;t<e.childNodes.length;t++){var r=e.childNodes[t];switch(r.nodeName){case"RelativeHeight":this.relativeHeight=r.textContent.stimulsoft.toNumber();break;case"RelativeWidth":this.relativeWidth=r.textContent.stimulsoft.toNumber();break}}},Object.defineProperty(u.prototype,"componentId",{get:function(){return r.StiComponentId.StiLinearTickMarkCustomValue},enumerable:!1,configurable:!0}),Object.defineProperty(u.prototype,"relativeWidth",{get:function(){return this._relativeWidth},set:function(e){this._relativeWidth=e},enumerable:!1,configurable:!0}),u.prototype.get=function(){return this._relativeHeight},Object.defineProperty(u.prototype,"relativeHeight",{set:function(e){this._relativeHeight=e},enumerable:!1,configurable:!0}),Object.defineProperty(u.prototype,"skin",{get:function(){return this._skin},set:function(e){this._skin=e},enumerable:!1,configurable:!0}),Object.defineProperty(u.prototype,"localizedName",{get:function(){return"LinearTickMarkCustom"},enumerable:!1,configurable:!0}),u.prototype.toString=function(){return s.format("Value={0}",this.value)},u.prototype.createNew=function(){return new u},n=u,a.StiLinearTickMarkCustomValue=n}(Stimulsoft=Stimulsoft||{}),function(e){var t,r,i,n,o,a,s,l;function u(e,t,r,i){void 0===e&&(e=0),void 0===t&&(t=null),void 0===r&&(r=null),void 0===i&&(i=null);var n=l.call(this)||this;return n._text=null,n.value=e,n._text=t,n.offset=r,n.placement=i,n}r=t=e.Report||(e.Report={}),n=i=r.Components||(r.Components={}),a=o=n.Gauge||(n.Gauge={}),s=e.System.StiString,l=a.StiCustomValueBase,__extends(u,l),u.prototype.saveToJsonObject=function(e){var e=l.prototype.saveToJsonObject.call(this,e);return e.addPropertyString("Text",this.text),e},u.prototype.loadFromJsonObject=function(e){var t,r;l.prototype.loadFromJsonObject.call(this,e);try{for(var i=__values(e.properties()),n=i.next();!n.done;n=i.next()){var o=n.value;switch(o.name){case"Text":this.text=o.value.toString();break}}}catch(e){t={error:e}}finally{try{n&&!n.done&&(r=i.return)&&r.call(i)}finally{if(t)throw t.error}}},u.prototype.loadFromXml=function(e){l.prototype.loadFromXml.call(this,e);for(var t=0;t<e.childNodes.length;t++){var r=e.childNodes[t];switch(r.nodeName){case"Text":this.text=r.textContent;break}}},Object.defineProperty(u.prototype,"componentId",{get:function(){return r.StiComponentId.StiLinearTickLabelCustomValue},enumerable:!1,configurable:!0}),Object.defineProperty(u.prototype,"text",{get:function(){return this._text},set:function(e){this._text=e},enumerable:!1,configurable:!0}),Object.defineProperty(u.prototype,"localizedName",{get:function(){return"LinearTickLabelCustom"},enumerable:!1,configurable:!0}),u.prototype.toString=function(){return s.format("Value={0}, Text={1}",this.value,this._text)},u.prototype.createNew=function(){return new u},n=u,a.StiLinearTickLabelCustomValue=n}(Stimulsoft=Stimulsoft||{}),function(e){var t,r,i,n,o,a,s,l,u,h,c,p;function d(){return null!==p&&p.apply(this,arguments)||this}r=t=e.Report||(e.Report={}),n=i=r.Gauge||(r.Gauge={}),r=o=n.Collections||(n.Collections={}),a=e.Report.Components.Gauge.StiRadialTickMarkCustomValue,s=e.Report.Components.Gauge.StiRadialTickLabelCustomValue,l=e.Report.Components.Gauge.StiLinearTickMarkCustomValue,u=e.Report.Components.Gauge.StiLinearTickLabelCustomValue,h=e.System.StiString,n=e.System.Collections.CollectionBase,c=e.Base.StiJson,__extends(d,p=n),d.prototype.saveToJsonObject=function(e){var t,r;if(0==this.list.length)return null;var i=new c,n=0;try{for(var o=__values(this.list),a=o.next();!a.done;a=o.next()){var s=a.value;i.addPropertyJObject(n.toString(),s.saveToJsonObject(e)),n++}}catch(e){t={error:e}}finally{try{a&&!a.done&&(r=o.return)&&r.call(o)}finally{if(t)throw t.error}}return i},d.prototype.loadFromJsonObject=function(e){var t,r,i=function(e){var t,r=e.value.properties().firstOrDefault(function(e){return"Ident"==e.name}).value.toString(),i=StiOptions.Services.customValues.firstOrDefault(function(e){return e.stimulsoft.getType().stimulsoft.getTypeName()==r});if(null==i)throw h.format("Type {0} is not found!",r);var i=i.createNew();n.add(i),i.loadFromJsonObject(e.value)},n=this;try{for(var o=__values(e.properties()),a=o.next(),s;!a.done;a=o.next()){i(a.value)}}catch(e){t={error:e}}finally{try{a&&!a.done&&(r=o.return)&&r.call(o)}finally{if(t)throw t.error}}},d.prototype.loadFromXml=function(e){for(var t=0;t<e.childNodes.length;t++){var r=e.childNodes[t];if(null==r.attributes)continue;if(null!=r.attributes.getNamedItem("type"))switch(r.attributes.getNamedItem("type").value){case"Stimulsoft.Report.Components.Gauge.StiLinearTickLabelCustomValue":var i=new u;this.add(i),i.loadFromXml(r);break;case"Stimulsoft.Report.Components.Gauge.StiLinearTickMarkCustomValue":var i=new l;this.add(i),i.loadFromXml(r);break;case"Stimulsoft.Report.Components.Gauge.StiRadialTickLabelCustomValue":var n=new s;this.add(n),n.loadFromXml(r);break;case"Stimulsoft.Report.Components.Gauge.StiRadialTickMarkCustomValue":var n=new a;this.add(n),n.loadFromXml(r);break}}},d.prototype.clone=function(){var t,e,r=new d;try{for(var i=__values(this.list),n=i.next();!n.done;n=i.next()){var o=n.value;r.add(o.clone())}}catch(e){t={error:e}}finally{try{n&&!n.done&&(e=i.return)&&e.call(i)}finally{if(t)throw t.error}}return r},Object.defineProperty(d.prototype,"isReadOnly",{get:function(){return!1},enumerable:!1,configurable:!0}),d.prototype.copyTo=function(e,t){this.list.stimulsoft.copyTo(e,t)},d.prototype.moveUp=function(e){var t=this.list.indexOf(e);if(0<t)return this.list.stimulsoft.removeAt(t),t--,this.list.stimulsoft.insert(t,e),!0;return!1},d.prototype.moveDown=function(e){var t=this.list.indexOf(e);if(-1!=t&&1<this.list.length&&t<this.list.length-1)return this.list.stimulsoft.removeAt(t),t++,this.list.stimulsoft.insert(t,e),!0;return!1},n=d,r.StiCustomValuesCollection=n}(Stimulsoft=Stimulsoft||{}),function(e){var t,r,i,n,o,a,s,l,u,h;function c(){this._startValue=0,this._endValue=0,this._brush=new l,this._borderBrush=new l}r=t=e.Report||(e.Report={}),n=i=r.Components||(r.Components={}),a=o=n.Gauge||(n.Gauge={}),s=e.System.StiString,l=e.Base.Drawing.StiEmptyBrush,u=e.Base.StiJson,h=e.Base.StiJsonReportObjectHelper,c.prototype.saveToJsonObject=function(e){var t=new u;return t.addPropertyIdent("Ident",this.stimulsoft.getType().stimulsoft.getTypeName()),t.addPropertyNumber("StartValue",this.startValue,0),t.addPropertyNumber("EndValue",this.endValue,0),t.addPropertyStringNullOrEmpty("Brush",h.Serialize.jBrush(this.brush)),t.addPropertyStringNullOrEmpty("BorderBrush",h.Serialize.jBrush(this.borderBrush)),t},c.prototype.loadFromJsonObject=function(e){var t,r;try{for(var i=__values(e.properties()),n=i.next();!n.done;n=i.next()){var o=n.value;switch(o.name){case"StartValue":this.startValue=o.value.stimulsoft.toNumber();break;case"EndValue":this.endValue=o.value.stimulsoft.toNumber();break;case"Brush":this.brush=h.Deserialize.brush(o.value);break;case"BorderBrush":this.borderBrush=h.Deserialize.brush(o.value);break}}}catch(e){t={error:e}}finally{try{n&&!n.done&&(r=i.return)&&r.call(i)}finally{if(t)throw t.error}}},Object.defineProperty(c.prototype,"componentId",{get:function(){return r.StiComponentId.StiStateIndicatorFilter},enumerable:!1,configurable:!0}),Object.defineProperty(c.prototype,"propName",{get:function(){return null},enumerable:!1,configurable:!0}),c.prototype.clone=function(){return this.stimulsoft.memberwiseClone()},Object.defineProperty(c.prototype,"startValue",{get:function(){return this._startValue},set:function(e){this._startValue=e},enumerable:!1,configurable:!0}),Object.defineProperty(c.prototype,"endValue",{get:function(){return this._endValue},set:function(e){this._endValue=e},enumerable:!1,configurable:!0}),Object.defineProperty(c.prototype,"brush",{get:function(){return this._brush},set:function(e){this._brush=e},enumerable:!1,configurable:!0}),Object.defineProperty(c.prototype,"borderBrush",{get:function(){return this._borderBrush},set:function(e){this._borderBrush=e},enumerable:!1,configurable:!0}),c.prototype.toString=function(){return s.format("StartValue={0}, EndValue={1}",this.startValue,this.endValue)},n=c,a.StiStateIndicatorFilter=n}(Stimulsoft=Stimulsoft||{}),function(e){var t,r,i,n,o,l,s,a;function u(){return null!==a&&a.apply(this,arguments)||this}r=t=e.Report||(e.Report={}),n=i=r.Gauge||(r.Gauge={}),r=o=n.Collections||(n.Collections={}),n=e.System.Collections.CollectionBase,l=e.Base.StiJson,s=e.Report.Components.Gauge.StiStateIndicatorFilter,__extends(u,a=n),u.prototype.saveToJsonObject=function(e){var t,r;if(0==this.list.length)return null;var i=new l,n=0;try{for(var o=__values(this.list),a=o.next();!a.done;a=o.next()){var s=a.value;i.addPropertyJObject(n.toString(),s.saveToJsonObject(e)),n++}}catch(e){t={error:e}}finally{try{a&&!a.done&&(r=o.return)&&r.call(o)}finally{if(t)throw t.error}}return i},u.prototype.loadFromJsonObject=function(e){var t,r;try{for(var i=__values(e.properties()),n=i.next();!n.done;n=i.next()){var o=n.value,a=new s;this.add(a),a.loadFromJsonObject(o.value)}}catch(e){t={error:e}}finally{try{n&&!n.done&&(r=i.return)&&r.call(i)}finally{if(t)throw t.error}}},u.prototype.clone=function(){var t,e,r=new u;try{for(var i=__values(this.list),n=i.next();!n.done;n=i.next()){var o=n.value;r.add(o.clone())}}catch(e){t={error:e}}finally{try{n&&!n.done&&(e=i.return)&&e.call(i)}finally{if(t)throw t.error}}return r},Object.defineProperty(u.prototype,"isReadOnly",{get:function(){return!1},enumerable:!1,configurable:!0}),u.prototype.moveUp=function(e){var t=this.list.indexOf(e);if(0<t)return this.list.stimulsoft.removeAt(t),t--,this.list.stimulsoft.insert(t,e),!0;return!1},u.prototype.moveDown=function(e){var t=this.list.indexOf(e);if(-1!=t&&1<this.list.length&&t<this.list.length-1)return this.list.stimulsoft.removeAt(t),t++,this.list.stimulsoft.insert(t,e),!0;return!1},n=u,r.StiFilterCollection=n}(Stimulsoft=Stimulsoft||{}),function(e){var t,r,i,e;function n(){}r=t=e.Report||(e.Report={}),e=i=r.Gauge||(r.Gauge={}),n.prototype.draw=function(e,t,r,i,n){void 0===i&&(i=null),void 0===n&&(n=null)},r=n,e.StiGaugeElementSkin=r}(Stimulsoft=Stimulsoft||{}),function(e){var t,r,i,n,o,u,h,c,p,d,m,f,a;function s(){return null!==a&&a.apply(this,arguments)||this}r=t=e.Report||(e.Report={}),n=i=r.Gauge||(r.Gauge={}),r=o=n.Skins||(n.Skins={}),u=e.System.StiString,h=e.Report.Gauge.GaugeGeoms.StiGraphicsPathGaugeGeom,c=e.Report.Painters.StiGaugeContextPainter,p=e.System.Drawing.StringFormat,d=e.System.Drawing.StringAlignment,m=e.System.Drawing.StringFormatFlags,f=e.Report.Gauge.IStiGaugeMarker,a=n.StiGaugeElementSkin,__extends(s,a),s.prototype.addLines=function(e,t,r,i,n,o,a,s){var l=new h(i,r[0],t.brush,t.borderBrush,t.borderWidth);l.addGraphicsPathLinesGaugeGeom(r),l.addGraphicsPathCloseFigureGaugeGeom(),null!=n&&null!=o?(e.addPushMatrixGaugeGeom(n,o),e.addGraphicsPathGaugeGeom(l),e.addPopTranformGaugeGeom()):e.addGraphicsPathGaugeGeom(l),null!=s&&(l.animation=s);var l=t.as(f),s;null!=l&&l.showValue&&(null==a&&((a=new p).alignment=d.Center,a.lineAlignment=d.Center,a.formatFlags=m.NoWrap),s=c.changeFontSize(l.font,e.zoom),e.addTextGaugeGeom(u.format(l.format,t.valueObj),s,l.textBrush,i,a))},n=s,r.StiMarkerBaseSkin=n}(Stimulsoft=Stimulsoft||{}),function(e){var t,r,i,n,o,l,u,h,a;function s(){return null!==a&&a.apply(this,arguments)||this}r=t=e.Report||(e.Report={}),n=i=r.Gauge||(r.Gauge={}),r=o=n.Skins||(n.Skins={}),l=e.System.Drawing.Point,u=e.System.Drawing.StringFormat,h=e.System.Drawing.StringAlignment,a=r.StiMarkerBaseSkin,__extends(s,a),s.prototype.draw=function(e,t,r,i,n){var o=t,a=[];a[0]=new l(r.right,r.top),a[1]=new l(r.left,r.top+r.height/2),a[2]=new l(r.right,r.bottom);var s=new u;s.alignment=h.Far,s.lineAlignment=h.Center,this.addLines(e,o,a,r,i,n,s,t.animation)},n=s,r.StiMarker10Skin=n}(Stimulsoft=Stimulsoft||{}),function(e){var t,r,i,n,o,l,u,h,a;function s(){return null!==a&&a.apply(this,arguments)||this}r=t=e.Report||(e.Report={}),n=i=r.Gauge||(r.Gauge={}),r=o=n.Skins||(n.Skins={}),l=e.System.Drawing.Point,u=e.System.Drawing.StringFormat,h=e.System.Drawing.StringAlignment,a=r.StiMarkerBaseSkin,__extends(s,a),s.prototype.draw=function(e,t,r,i,n){var o=t,a=[];a[0]=new l(r.left,r.top),a[1]=new l(r.right,r.top+r.height/2),a[2]=new l(r.left,r.bottom);var s=new u;s.alignment=h.Near,s.lineAlignment=h.Center,this.addLines(e,o,a,r,i,n,s,t.animation)},n=s,r.StiMarker11Skin=n}(Stimulsoft=Stimulsoft||{}),function(e){var t,r,i,n,o,c,p,d,a;function s(){return null!==a&&a.apply(this,arguments)||this}r=t=e.Report||(e.Report={}),n=i=r.Gauge||(r.Gauge={}),r=o=n.Skins||(n.Skins={}),c=e.System.Drawing.Point,p=e.System.Drawing.StringFormat,d=e.System.Drawing.StringAlignment,a=r.StiMarkerBaseSkin,__extends(s,a),s.prototype.draw=function(e,t,r,i,n){var o=t,a=r.bottom,s=r.right,l=r.left+r.width/3,u=r.top+r.height/2,h=[];h[0]=new c(s,r.top),h[1]=new c(s,a),h[2]=new c(l,a),h[3]=new c(r.left,u),h[4]=new c(l,r.top);var l=new p;l.alignment=d.Far,l.lineAlignment=d.Center,this.addLines(e,o,h,r,i,n,l,t.animation)},n=s,r.StiMarker12Skin=n}(Stimulsoft=Stimulsoft||{}),function(e){var t,r,i,n,o,c,p,d,a;function s(){return null!==a&&a.apply(this,arguments)||this}r=t=e.Report||(e.Report={}),n=i=r.Gauge||(r.Gauge={}),r=o=n.Skins||(n.Skins={}),c=e.System.Drawing.Point,p=e.System.Drawing.StringFormat,d=e.System.Drawing.StringAlignment,a=r.StiMarkerBaseSkin,__extends(s,a),s.prototype.draw=function(e,t,r,i,n){var o=t,a=r.bottom,s=r.right,l=s-r.width/3,u=r.top+r.height/2,h=[];h[0]=new c(r.left,r.top),h[1]=new c(l,r.top),h[2]=new c(s,u),h[3]=new c(l,a),h[4]=new c(r.left,a);var a=new p;a.alignment=d.Near,a.lineAlignment=d.Center,this.addLines(e,o,h,r,i,n,a,t.animation)},n=s,r.StiMarker13Skin=n}(Stimulsoft=Stimulsoft||{}),function(e){var t,r,i,n,o,c,a;function s(){return null!==a&&a.apply(this,arguments)||this}r=t=e.Report||(e.Report={}),n=i=r.Gauge||(r.Gauge={}),r=o=n.Skins||(n.Skins={}),c=e.System.Drawing.Point,a=r.StiMarkerBaseSkin,__extends(s,a),s.prototype.draw=function(e,t,r,i,n){var o=t,a=r.bottom,s=r.right,l=r.height/3,u=r.left+r.width/5,h=[];h[0]=new c(u,a),h[1]=new c(u,a-l),h[2]=new c(r.left,r.top+r.height/2),h[3]=new c(u,r.top+l),h[4]=new c(u,r.top),h[5]=new c(s,r.top),h[6]=new c(s,a),this.addLines(e,o,h,r,i,n,null,t.animation)},n=s,r.StiMarker14Skin=n}(Stimulsoft=Stimulsoft||{}),function(e){var t,r,i,n,o,c,a;function s(){return null!==a&&a.apply(this,arguments)||this}r=t=e.Report||(e.Report={}),n=i=r.Gauge||(r.Gauge={}),r=o=n.Skins||(n.Skins={}),c=e.System.Drawing.Point,a=r.StiMarkerBaseSkin,__extends(s,a),s.prototype.draw=function(e,t,r,i,n){var o=t,a=r.bottom,s=r.right,l=r.height/3,u=r.right-r.width/5,h=[];h[0]=new c(r.left,r.top),h[1]=new c(u,r.top),h[2]=new c(u,r.top+l),h[3]=new c(s,r.top+r.height/2),h[4]=new c(u,a-l),h[5]=new c(u,a),h[6]=new c(r.left,a),this.addLines(e,o,h,r,i,n,null,t.animation)},n=s,r.StiMarker15Skin=n}(Stimulsoft=Stimulsoft||{}),function(e){var t,r,i,n,o,u,a;function s(){return null!==a&&a.apply(this,arguments)||this}r=t=e.Report||(e.Report={}),n=i=r.Gauge||(r.Gauge={}),r=o=n.Skins||(n.Skins={}),u=e.System.Drawing.Point,a=r.StiMarkerBaseSkin,__extends(s,a),s.prototype.draw=function(e,t,r,i,n){var o=t,a=r.left+r.width/2,s=r.top+r.height/2,l=[];l[0]=new u(r.left,s),l[1]=new u(a,r.top),l[2]=new u(r.right,s),l[3]=new u(a,r.bottom),this.addLines(e,o,l,r,i,n,null,t.animation)},n=s,r.StiMarker1Skin=n}(Stimulsoft=Stimulsoft||{}),function(e){var t,r,i,n,o,u,a;function s(){return null!==a&&a.apply(this,arguments)||this}r=t=e.Report||(e.Report={}),n=i=r.Gauge||(r.Gauge={}),r=o=n.Skins||(n.Skins={}),u=e.System.Drawing.Point,a=r.StiMarkerBaseSkin,__extends(s,a),s.prototype.draw=function(e,t,r,i,n){var o=t,a=r.bottom,s=r.right,l=[];l[0]=new u(r.left,r.top),l[1]=new u(s,r.top),l[2]=new u(s,a),l[3]=new u(r.left,a),this.addLines(e,o,l,r,i,n,null,t.animation)},n=s,r.StiMarker2Skin=n}(Stimulsoft=Stimulsoft||{}),function(e){var t,r,i,n,o,l,u,h,a;function s(){return null!==a&&a.apply(this,arguments)||this}r=t=e.Report||(e.Report={}),n=i=r.Gauge||(r.Gauge={}),r=o=n.Skins||(n.Skins={}),l=e.System.Drawing.Point,u=e.System.Drawing.StringFormat,h=e.System.Drawing.StringAlignment,a=r.StiMarkerBaseSkin,__extends(s,a),s.prototype.draw=function(e,t,r,i,n){var o=t,a=[];a[0]=new l(r.left,r.bottom),a[1]=new l(r.left+r.width/2,r.top),a[2]=new l(r.right,r.bottom);var s=new u;s.alignment=h.Center,s.lineAlignment=h.Far,this.addLines(e,o,a,r,i,n,s,t.animation)},n=s,r.StiMarker3Skin=n}(Stimulsoft=Stimulsoft||{}),function(e){var t,r,i,n,o,l,u,h,a;function s(){return null!==a&&a.apply(this,arguments)||this}r=t=e.Report||(e.Report={}),n=i=r.Gauge||(r.Gauge={}),r=o=n.Skins||(n.Skins={}),l=e.System.Drawing.Point,u=e.System.Drawing.StringFormat,h=e.System.Drawing.StringAlignment,a=r.StiMarkerBaseSkin,__extends(s,a),s.prototype.draw=function(e,t,r,i,n){var o=t,a=[];a[0]=new l(r.left,r.top),a[1]=new l(r.left+r.width/2,r.bottom),a[2]=new l(r.right,r.top);var s=new u;s.alignment=h.Center,s.lineAlignment=h.Near,this.addLines(e,o,a,r,i,n,s,t.animation)},n=s,r.StiMarker4Skin=n}(Stimulsoft=Stimulsoft||{}),function(e){var t,r,i,n,o,c,p,d,a;function s(){return null!==a&&a.apply(this,arguments)||this}r=t=e.Report||(e.Report={}),n=i=r.Gauge||(r.Gauge={}),r=o=n.Skins||(n.Skins={}),c=e.System.Drawing.Point,p=e.System.Drawing.StringFormat,d=e.System.Drawing.StringAlignment,a=r.StiMarkerBaseSkin,__extends(s,a),s.prototype.draw=function(e,t,r,i,n){var o=t,a=r.bottom,s=r.right,l=r.top+r.height/3,u=r.left+r.width/2,h=[];h[0]=new c(r.left,a),h[1]=new c(r.left,l),h[2]=new c(u,r.top),h[3]=new c(s,l),h[4]=new c(s,a);var a=new p;a.alignment=d.Center,a.lineAlignment=d.Far,this.addLines(e,o,h,r,i,n,a,t.animation)},n=s,r.StiMarker5Skin=n}(Stimulsoft=Stimulsoft||{}),function(e){var t,r,i,n,o,u,h,c,a;function s(){return null!==a&&a.apply(this,arguments)||this}r=t=e.Report||(e.Report={}),n=i=r.Gauge||(r.Gauge={}),r=o=n.Skins||(n.Skins={}),u=e.System.Drawing.Point,h=e.System.Drawing.StringFormat,c=e.System.Drawing.StringAlignment,a=r.StiMarkerBaseSkin,__extends(s,a),s.prototype.draw=function(e,t,r,i,n){var o=t,a=r.bottom-r.height/3,s=r.left+r.width/2,l=[];l[0]=new u(r.left,r.top),l[1]=new u(r.right,r.top),l[2]=new u(r.right,a),l[3]=new u(s,r.bottom),l[4]=new u(r.left,a);var a=new h;a.alignment=c.Center,a.lineAlignment=c.Near,this.addLines(e,o,l,r,i,n,a,t.animation)},n=s,r.StiMarker6Skin=n}(Stimulsoft=Stimulsoft||{}),function(e){var t,r,i,n,o,a,s,l,u,h,c;function p(){return null!==c&&c.apply(this,arguments)||this}r=t=e.Report||(e.Report={}),n=i=r.Gauge||(r.Gauge={}),r=o=n.Skins||(n.Skins={}),a=e.System.StiString,s=e.System.Drawing.StringFormat,l=e.System.Drawing.StringAlignment,u=e.System.Drawing.StringFormatFlags,h=e.Report.Painters.StiGaugeContextPainter,c=r.StiMarkerBaseSkin,__extends(p,c),p.prototype.draw=function(e,t,r,i,n){var t=t,i,n;null!=i&&null!=n?(e.addPushMatrixGaugeGeom(i,n),e.addEllipseGaugeGeom(r,t.brush,t.borderBrush,t.borderWidth),e.addPopTranformGaugeGeom()):e.addEllipseGaugeGeom(r,t.brush,t.borderBrush,t.borderWidth),t.showValue&&((i=new s).alignment=l.Center,i.lineAlignment=l.Center,i.formatFlags=u.NoWrap,n=h.changeFontSize(t.font,e.zoom),e.addTextGaugeGeom(a.format(t.format,t.valueObj),n,t.textBrush,r,i))},n=p,r.StiMarker7Skin=n}(Stimulsoft=Stimulsoft||{}),function(e){var t,r,i,n,o,c,a;function s(){return null!==a&&a.apply(this,arguments)||this}r=t=e.Report||(e.Report={}),n=i=r.Gauge||(r.Gauge={}),r=o=n.Skins||(n.Skins={}),c=e.System.Drawing.Point,a=r.StiMarkerBaseSkin,__extends(s,a),s.prototype.draw=function(e,t,r,i,n){var o=t,a=r.bottom,s=r.right,l=r.top+r.height/5,u=r.width/3,h=[];h[0]=new c(r.left,l),h[1]=new c(r.left+u,l),h[2]=new c(r.left+r.width/2,r.top),h[3]=new c(s-u,l),h[4]=new c(s,l),h[5]=new c(s,a),h[6]=new c(r.left,a),this.addLines(e,o,h,r,i,n,null,t.animation)},n=s,r.StiMarker8Skin=n}(Stimulsoft=Stimulsoft||{}),function(e){var t,r,i,n,o,c,a;function s(){return null!==a&&a.apply(this,arguments)||this}r=t=e.Report||(e.Report={}),n=i=r.Gauge||(r.Gauge={}),r=o=n.Skins||(n.Skins={}),c=e.System.Drawing.Point,a=r.StiMarkerBaseSkin,__extends(s,a),s.prototype.draw=function(e,t,r,i,n){var o=t,a=r.bottom,s=r.right,l=a-r.height/5,u=r.width/3,h=[];h[0]=new c(r.left,r.top),h[1]=new c(s,r.top),h[2]=new c(s,l),h[3]=new c(s-u,l),h[4]=new c(r.left+r.width/2,a),h[5]=new c(r.left+u,l),h[6]=new c(r.left,l),this.addLines(e,o,h,r,i,n,null,t.animation)},n=s,r.StiMarker9Skin=n}(Stimulsoft=Stimulsoft||{}),function(e){var t,r,i,n,o,c,p,d,m,f,g,y,b,S,v,w,k,a;function s(){return null!==a&&a.apply(this,arguments)||this}r=t=e.Report||(e.Report={}),n=i=r.Gauge||(r.Gauge={}),r=o=n.Skins||(n.Skins={}),c=e.System.StiString,p=e.Report.Gauge.GaugeGeoms.StiGraphicsPathGaugeGeom,d=e.System.Drawing.Rectangle,m=e.System.Drawing.Point,n=e.Report.Gauge.StiGaugeElementSkin,f=e.System.Drawing.StringFormatFlags,g=e.System.Drawing.StringFormat,y=e.System.Drawing.StringAlignment,b=e.System.Drawing.Color,S=e.Base.Drawing.StiGradientBrush,v=e.Base.Drawing.StiEmptyBrush,w=e.Base.Drawing.StiSolidBrush,k=e.Report.Painters.StiGaugeContextPainter,__extends(s,a=n),s.prototype.draw=function(e,t,r,i,n){var o=t,a=Math.min(r.width,r.height),s=a/4,l=.6*r.height,u=new d(r.left+s,r.top+.2*r.height,r.width-s,l),h=[];h[0]=u.location,h[1]=new m(u.right,u.top+u.height/2),h[2]=new m(u.left,u.bottom);var u=new p(u,h[0],new S(b.fromArgb(255,248,210),b.fromArgb(0,255,248,210),0),new v,0);u.addGraphicsPathLinesGaugeGeom(h),u.addGraphicsPathCloseFigureGaugeGeom();var h=.4*(l=.4*r.height),s=new d(r.left+s,r.top+.3*r.height,r.width-s,l),l=[];l[0]=s.location,l[1]=new m(s.right,s.top+h),l[2]=new m(s.right,s.bottom-h),l[3]=new m(s.left,s.bottom);var s=new p(s,l[0],new S(b.fromArgb(34,34,34),b.fromArgb(255,210,90),0),new v,0);s.addGraphicsPathLinesGaugeGeom(l),s.addGraphicsPathCloseFigureGaugeGeom();var l=null!=i&&null!=n,a=new d(r.x,r.y,a,a),s,l;l&&e.addPushMatrixGaugeGeom(i,n),null!=t.animation&&(u.animation=s.animation=t.animation),e.addGraphicsPathGaugeGeom(u),e.addGraphicsPathGaugeGeom(s),e.addEllipseGaugeGeom(a,new S(b.fromArgb(120,120,120),b.fromArgb(132,117,77),0),new w(b.fromArgb(228,188,83)),1),l&&e.addPopTranformGaugeGeom(),o.showValue&&((s=new g).alignment=y.Center,s.lineAlignment=y.Center,s.formatFlags=f.NoWrap,l=k.changeFontSize(o.font,e.zoom),e.addTextGaugeGeom(c.format(o.format,o.valueObj),l,o.textBrush,a,s))},n=s,r.StiNeedleIndicator1Skin=n}(Stimulsoft=Stimulsoft||{}),function(e){var t,r,i,n,o,c,p,d,m,f,g,y,b,S,v,w,a;function s(){return null!==a&&a.apply(this,arguments)||this}r=t=e.Report||(e.Report={}),n=i=r.Gauge||(r.Gauge={}),r=o=n.Skins||(n.Skins={}),c=e.System.StiString,p=e.Report.Gauge.GaugeGeoms.StiGraphicsPathGaugeGeom,d=e.Report.Painters.StiGaugeContextPainter,m=e.System.Drawing.Rectangle,f=e.System.Drawing.Point,n=e.Report.Gauge.StiGaugeElementSkin,g=e.System.Drawing.StringFormatFlags,y=e.System.Drawing.StringFormat,b=e.System.Drawing.StringAlignment,S=e.System.Drawing.Color,v=e.Base.Drawing.StiEmptyBrush,w=e.Base.Drawing.StiSolidBrush,__extends(s,a=n),s.prototype.draw=function(e,t,r,i,n){var o=t,a=Math.min(r.width,r.height),s=a/3,l=new m(r.left+1,r.top+(r.height-s)/2,r.width-1,s),u=new p(l,l.location,o.brush,o.borderBrush,o.borderWidth),s=a/7,h=[];h[0]=l.location,h[1]=new f(l.right,l.top+(l.height-s)/2),h[2]=new f(l.right,l.bottom-(l.height-s)/2),h[3]=new f(l.left,l.bottom),h[4]=h[0],u.addGraphicsPathLinesGaugeGeom(h);var h=null!=i&&null!=n;h&&e.addPushMatrixGaugeGeom(i,n),null!=t.animation&&(u.animation=t.animation),e.addGraphicsPathGaugeGeom(u);var u=new m(r.x,r.y,a,a),r=new w(S.fromArgb(175,175,175));e.addEllipseGaugeGeom(u,r,o.borderBrush,1.5);var r=.15*a,r=new m(u.x+r,u.top+r,a-2*r,a-2*r),r,h;e.addEllipseGaugeGeom(r,new v,new w(S.white),2),h&&e.addPopTranformGaugeGeom(),o.showValue&&((r=new y).alignment=b.Center,r.lineAlignment=b.Center,r.formatFlags=g.NoWrap,h=d.changeFontSize(o.font,e.zoom),e.addTextGaugeGeom(c.format(o.format,o.valueObj),h,o.textBrush,u,r))},n=s,r.StiNeedleIndicator2Skin=n}(Stimulsoft=Stimulsoft||{}),function(e){var t,r,i,n,o,p,d,m,f,g,y,b,S,v,w,k,a;function s(){return null!==a&&a.apply(this,arguments)||this}r=t=e.Report||(e.Report={}),n=i=r.Gauge||(r.Gauge={}),r=o=n.Skins||(n.Skins={}),p=e.System.StiString,d=e.Report.Gauge.GaugeGeoms.StiGraphicsPathGaugeGeom,m=e.System.Drawing.Rectangle,f=e.System.Drawing.Point,n=e.Report.Gauge.StiGaugeElementSkin,g=e.System.Drawing.StringFormatFlags,y=e.System.Drawing.StringFormat,b=e.System.Drawing.StringAlignment,S=e.System.Drawing.Color,v=e.Base.Drawing.StiGradientBrush,w=e.Base.Drawing.StiSolidBrush,k=e.Report.Painters.StiGaugeContextPainter,__extends(s,a=n),s.prototype.draw=function(e,t,r,i,n){var o=t,a=Math.min(r.width,r.height),s=.6*a,l=new m(r.left+a/2,r.top+(r.height-s)/2,r.width-a/2,s),u=new d(l,l.location,o.brush,o.borderBrush,o.borderWidth),h=.111*l.width,c=.15*l.height,s=[];s[0]=l.location,s[1]=new f(l.right-h,l.top+c),s[2]=new f(l.right,l.top+l.height/2),s[3]=new f(l.right-h,l.bottom-c),s[4]=new f(l.left,l.bottom),s[5]=s[0],u.addGraphicsPathLinesGaugeGeom(s);var s=null!=i&&null!=n;s&&e.addPushMatrixGaugeGeom(i,n),e.addGraphicsPathGaugeGeom(u);var n=new m(r.x,r.y,a,a),r=new v(S.fromArgb(230,229,229),S.fromArgb(80,80,80),45),a=new w(S.fromArgb(98,94,90)),u,t;e.addEllipseGaugeGeom(n,r,a,1.5),s&&e.addPopTranformGaugeGeom(),null!=t.animation&&(u.animation=t.animation),o.showValue&&((u=new y).alignment=b.Center,u.lineAlignment=b.Center,u.formatFlags=g.NoWrap,t=k.changeFontSize(o.font,e.zoom),e.addTextGaugeGeom(p.format(o.format,o.valueObj),t,o.textBrush,n,u))},n=s,r.StiNeedleIndicator3Skin=n}(Stimulsoft=Stimulsoft||{}),function(e){var t,r,i,n,o,u,h,c,p,d,m,f,g,a;function s(){return null!==a&&a.apply(this,arguments)||this}r=t=e.Report||(e.Report={}),n=i=r.Gauge||(r.Gauge={}),r=o=n.Skins||(n.Skins={}),u=e.System.StiString,h=e.Report.Gauge.GaugeGeoms.StiGraphicsPathGaugeGeom,c=e.Report.Painters.StiGaugeContextPainter,p=e.System.Drawing.Rectangle,d=e.System.Drawing.Point,n=e.Report.Gauge.StiGaugeElementSkin,m=e.System.Drawing.StringFormatFlags,f=e.System.Drawing.StringFormat,g=e.System.Drawing.StringAlignment,__extends(s,a=n),s.prototype.draw=function(e,t,r,i,n){var o=t,a=Math.min(r.width,r.height),s=new d(r.location.x+a/2-o.offsetNeedle*r.width,r.location.y+r.height/2-a/2),l=new p(s.x,r.y,r.width-a/2,a),s=[];s[0]=new d(l.x,l.y+l.height/2-l.height*o.endWidth/2),s[1]=new d(l.right,l.y+l.height/2-l.height*o.startWidth/2),s[2]=new d(l.right,l.y+l.height/2+l.height*o.startWidth/2),s[3]=new d(l.x,l.y+l.height/2+l.height*o.endWidth/2),s[4]=s[0];var l=new h(l,s[0],o.brush,o.borderBrush,o.borderWidth);l.addGraphicsPathLinesGaugeGeom(s);var s=null!=i&&null!=n;s&&e.addPushMatrixGaugeGeom(i,n),e.addGraphicsPathGaugeGeom(l);var r=new d(r.location.x,r.location.y+r.height/2-a/2),a=new p(r.x,r.y,a,a);e.addEllipseGaugeGeom(a,o.capBrush,o.capBorderBrush,o.capBorderWidth),s&&e.addPopTranformGaugeGeom(),null!=t.animation&&(l.animation=t.animation);var s=o.getActualValue(),l,t;o.showValue&&((l=new f).alignment=g.Center,l.lineAlignment=g.Center,l.formatFlags=m.NoWrap,t=c.changeFontSize(o.font,e.zoom),e.addTextGaugeGeom(u.format(o.format,s),t,o.textBrush,a,l))},n=s,r.StiNeedleIndicator4Skin=n}(Stimulsoft=Stimulsoft||{}),function(e){var t,r,i,n,o,l,u,h,c,p,a;function s(){return null!==a&&a.apply(this,arguments)||this}r=t=e.Report||(e.Report={}),n=i=r.Gauge||(r.Gauge={}),r=o=n.Skins||(n.Skins={}),l=e.System.StiString,u=e.System.Drawing.StringFormatFlags,h=e.System.Drawing.StringFormat,c=e.System.Drawing.StringAlignment,n=e.Report.Gauge.StiGaugeElementSkin,p=e.Report.Painters.StiGaugeContextPainter,__extends(s,a=n),s.prototype.draw=function(e,t,r,i,n){var o=t;e.addEllipseGaugeGeom(r,o.brush,o.borderBrush,o.borderWidth);var a=o.getActualValue(),s,t;o.showValue&&null!=a&&((s=new h).alignment=c.Center,s.lineAlignment=c.Center,s.formatFlags=u.NoWrap,t=p.changeFontSize(o.font,e.zoom),e.addTextGaugeGeom(l.format(o.format,a),t,o.textBrush,r,s))},n=s,r.StiState1Skin=n}(Stimulsoft=Stimulsoft||{}),function(e){var t,r,i,n,o,s,l,u,h,c,a;function p(){return null!==a&&a.apply(this,arguments)||this}r=t=e.Report||(e.Report={}),n=i=r.Gauge||(r.Gauge={}),r=o=n.Skins||(n.Skins={}),s=e.System.StiString,l=e.Report.Painters.StiGaugeContextPainter,u=e.System.Drawing.StringFormatFlags,h=e.System.Drawing.StringFormat,c=e.System.Drawing.StringAlignment,n=e.Report.Gauge.StiGaugeElementSkin,__extends(p,a=n),p.prototype.draw=function(e,t,r,i,n){var o=t,a,t;e.addRectangleGaugeGeom(r,o.brush,o.borderBrush,o.borderWidth),o.showValue&&((a=new h).alignment=c.Center,a.lineAlignment=c.Center,a.formatFlags=u.NoWrap,t=l.changeFontSize(o.font,e.zoom),e.addTextGaugeGeom(s.format(o.format,o.valueObj),t,o.textBrush,r,a))},n=p,r.StiState2Skin=n}(Stimulsoft=Stimulsoft||{}),function(e){var t,r,i,n,o,u,a;function s(){return null!==a&&a.apply(this,arguments)||this}r=t=e.Report||(e.Report={}),n=i=r.Gauge||(r.Gauge={}),r=o=n.Skins||(n.Skins={}),u=e.System.Drawing.Point,a=r.StiMarkerBaseSkin,__extends(s,a),s.prototype.draw=function(e,t,r,i,n){var o=t,a=r.left+r.width/2,s=r.top+r.height/2,l=[];l[0]=new u(r.left,s),l[1]=new u(a,r.top),l[2]=new u(r.right,s),l[3]=new u(a,r.bottom),this.addLines(e,o,l,r,i,n,null,t.animation)},n=s,r.StiState3Skin=n}(Stimulsoft=Stimulsoft||{}),function(e){var t,r,i,e,n,o;function a(){return null!==o&&o.apply(this,arguments)||this}r=t=e.Report||(e.Report={}),e=i=r.Gauge||(r.Gauge={}),r=n=e.Skins||(e.Skins={}),o=e.StiGaugeElementSkin,__extends(a,o),a.prototype.draw=function(e,t,r,i,n){var o;e.addRectangleGaugeGeom(r,t.brush,t.borderBrush,t.borderWidth)},e=a,r.StiMark1Skin=e}(Stimulsoft=Stimulsoft||{}),function(e){var t,r,i,e,n,o;function a(){return null!==o&&o.apply(this,arguments)||this}r=t=e.Report||(e.Report={}),e=i=r.Gauge||(r.Gauge={}),r=n=e.Skins||(e.Skins={}),o=e.StiGaugeElementSkin,__extends(a,o),a.prototype.draw=function(e,t,r,i,n){var o;e.addEllipseGaugeGeom(r,t.brush,t.borderBrush,t.borderWidth)},e=a,r.StiMark2Skin=e}(Stimulsoft=Stimulsoft||{}),function(e){var t,r,i,n,o,l,u,a;function s(){return null!==a&&a.apply(this,arguments)||this}r=t=e.Report||(e.Report={}),n=i=r.Gauge||(r.Gauge={}),r=o=n.Skins||(n.Skins={}),l=e.Report.Gauge.GaugeGeoms.StiGraphicsPathGaugeGeom,u=e.System.Drawing.Point,a=n.StiGaugeElementSkin,__extends(s,a),s.prototype.draw=function(e,t,r,i,n){var o=t,a=r.left+r.width/2,s=r.top+r.height/2,t=[];t[0]=new u(r.left,s),t[1]=new u(a,r.top),t[2]=new u(r.right,s),t[3]=new u(a,r.bottom);var o=new l(r,t[0],o.brush,o.borderBrush,o.borderWidth);o.addGraphicsPathLinesGaugeGeom(t),o.addGraphicsPathCloseFigureGaugeGeom(),e.addGraphicsPathGaugeGeom(o)},n=s,r.StiMark3Skin=n}(Stimulsoft=Stimulsoft||{}),function(e){var t,r,i,n,o,s,l,a;function u(){return null!==a&&a.apply(this,arguments)||this}r=t=e.Report||(e.Report={}),n=i=r.Gauge||(r.Gauge={}),r=o=n.Skins||(n.Skins={}),s=e.Report.Gauge.GaugeGeoms.StiGraphicsPathGaugeGeom,l=e.System.Drawing.Point,a=n.StiGaugeElementSkin,__extends(u,a),u.prototype.draw=function(e,t,r,i,n){var o=t,a=[],t=r.bottom;a[0]=new l(r.left,t),a[1]=new l(r.right,t),a[2]=new l(r.left+r.width/2,r.top);var o=new s(r,a[0],o.brush,o.borderBrush,o.borderWidth);o.addGraphicsPathLinesGaugeGeom(a),o.addGraphicsPathCloseFigureGaugeGeom(),e.addGraphicsPathGaugeGeom(o)},n=u,r.StiMark4Skin=n}(Stimulsoft=Stimulsoft||{}),function(e){var t,r,i,n,o,a,s,l;function u(){return null!==l&&l.apply(this,arguments)||this}r=t=e.Report||(e.Report={}),n=i=r.Gauge||(r.Gauge={}),r=o=n.Skins||(n.Skins={}),a=e.Report.Gauge.GaugeGeoms.StiGraphicsPathGaugeGeom,s=e.System.Drawing.Point,l=n.StiGaugeElementSkin,__extends(u,l),u.prototype.draw=function(e,t,r,i,n){var o=t,t=[];t[0]=new s(r.left,r.top),t[1]=new s(r.right,r.top+r.height/2),t[2]=new s(r.left,r.bottom);var o=new a(r,t[0],o.brush,o.borderBrush,o.borderWidth);o.addGraphicsPathLinesGaugeGeom(t),o.addGraphicsPathCloseFigureGaugeGeom(),e.addGraphicsPathGaugeGeom(o)},n=u,r.StiMark5Skin=n}(Stimulsoft=Stimulsoft||{}),function(e){var t,r,i,n,o,s,l,a;function u(){return null!==a&&a.apply(this,arguments)||this}r=t=e.Report||(e.Report={}),n=i=r.Gauge||(r.Gauge={}),r=o=n.Skins||(n.Skins={}),s=e.Report.Gauge.GaugeGeoms.StiGraphicsPathGaugeGeom,l=e.System.Drawing.Point,a=n.StiGaugeElementSkin,__extends(u,a),u.prototype.draw=function(e,t,r,i,n){var o=t,a=[],t=r.top+r.height/2;a[0]=new l(r.right,r.top),a[1]=new l(r.left,t),a[2]=new l(r.right,r.bottom);var o=new s(r,a[0],o.brush,o.borderBrush,o.borderWidth);o.addGraphicsPathLinesGaugeGeom(a),o.addGraphicsPathCloseFigureGaugeGeom(),e.addGraphicsPathGaugeGeom(o)},n=u,r.StiMark6Skin=n}(Stimulsoft=Stimulsoft||{}),function(e){var t,r,i,n,o,s,l,a;function u(){return null!==a&&a.apply(this,arguments)||this}r=t=e.Report||(e.Report={}),n=i=r.Gauge||(r.Gauge={}),r=o=n.Skins||(n.Skins={}),s=e.Report.Gauge.GaugeGeoms.StiGraphicsPathGaugeGeom,l=e.System.Drawing.Point,a=n.StiGaugeElementSkin,__extends(u,a),u.prototype.draw=function(e,t,r,i,n){var o=t,a=[],t=r.top+r.height/2;a[0]=new l(r.right,r.top),a[1]=new l(r.left,t),a[2]=new l(r.right,r.bottom);var o=new s(r,a[0],o.brush,o.borderBrush,o.borderWidth);o.addGraphicsPathLinesGaugeGeom(a),o.addGraphicsPathCloseFigureGaugeGeom(),e.addGraphicsPathGaugeGeom(o)},n=u,r.StiMark7Skin=n}(Stimulsoft=Stimulsoft||{}),function(e){var t,r,i,n,o,a,s,l,u,h,c,p,d,m,f,g,y,b,S,v,w,k,G,B,R,O,x,_,P,C,j,W,M,T;function F(){}r=t=e.Report||(e.Report={}),n=i=r.Gauge||(r.Gauge={}),a=o=n.Helpers||(n.Helpers={}),s=e.Report.Gauge.Skins.StiMarker1Skin,l=e.Report.Gauge.Skins.StiMarker2Skin,u=e.Report.Gauge.Skins.StiMarker3Skin,h=e.Report.Gauge.Skins.StiMarker4Skin,c=e.Report.Gauge.Skins.StiMarker5Skin,p=e.Report.Gauge.Skins.StiMarker6Skin,d=e.Report.Gauge.Skins.StiMarker7Skin,m=e.Report.Gauge.Skins.StiMarker8Skin,f=e.Report.Gauge.Skins.StiMarker9Skin,g=e.Report.Gauge.Skins.StiMarker10Skin,y=e.Report.Gauge.Skins.StiMarker11Skin,b=e.Report.Gauge.Skins.StiMarker12Skin,S=e.Report.Gauge.Skins.StiMarker13Skin,v=e.Report.Gauge.Skins.StiMarker14Skin,w=e.Report.Gauge.Skins.StiMark1Skin,k=e.Report.Gauge.Skins.StiMark2Skin,G=e.Report.Gauge.Skins.StiMark3Skin,B=e.Report.Gauge.Skins.StiMark4Skin,R=e.Report.Gauge.Skins.StiMark5Skin,O=e.Report.Gauge.Skins.StiMark6Skin,x=e.Report.Gauge.Skins.StiMark7Skin,_=e.Report.Gauge.Skins.StiState1Skin,P=e.Report.Gauge.Skins.StiState2Skin,C=e.Report.Gauge.Skins.StiState3Skin,j=e.Report.Gauge.Skins.StiNeedleIndicator1Skin,W=e.Report.Gauge.Skins.StiNeedleIndicator2Skin,M=e.Report.Gauge.Skins.StiNeedleIndicator3Skin,T=e.Report.Gauge.Skins.StiNeedleIndicator4Skin,F.getMarkerSkin=function(e){switch(e){case n.StiMarkerSkin.Diamond:return new s;case n.StiMarkerSkin.Rectangle:return new l;case n.StiMarkerSkin.TriangleTop:return new u;case n.StiMarkerSkin.TriangleBottom:return new h;case n.StiMarkerSkin.PentagonTop:return new c;case n.StiMarkerSkin.PentagonBottom:return new p;case n.StiMarkerSkin.Ellipse:return new d;case n.StiMarkerSkin.RectangularCalloutTop:return new m;case n.StiMarkerSkin.RectangularCalloutBottom:return new f;case n.StiMarkerSkin.TriangleLeft:return new g;case n.StiMarkerSkin.TriangleRight:return new y;case n.StiMarkerSkin.PentagonLeft:return new b;case n.StiMarkerSkin.PentagonRight:return new S;case n.StiMarkerSkin.RectangularCalloutLeft:return new v;default:return null}},F.getTickMarkSkin=function(e){switch(e){case n.StiTickMarkSkin.Rectangle:return new w;case n.StiTickMarkSkin.Ellipse:return new k;case n.StiTickMarkSkin.Diamond:return new G;case n.StiTickMarkSkin.TriangleTop:return new B;case n.StiTickMarkSkin.TriangleRight:return new R;case n.StiTickMarkSkin.TriangleLeft:return new O;case n.StiTickMarkSkin.TriangleBottom:return new x;default:return null}},F.getStateIndicatorSkin=function(e){switch(e){case n.StiStateSkin.Ellipse:return new _;case n.StiStateSkin.Rectangle:return new P;case n.StiStateSkin.Diamond:return new C;default:return null}},F.getNeedleIndicatorSkin=function(e){switch(e){case n.StiNeedleSkin.DefaultNeedle:return new j;case n.StiNeedleSkin.SpeedometerNeedle:return new W;case n.StiNeedleSkin.SpeedometerNeedle2:return new M;case n.StiNeedleSkin.SimpleNeedle:return new T;default:return null}},r=F,a.StiGaugeSkinHelper=r}(Stimulsoft=Stimulsoft||{}),function(t){var e,r,i,n,o,a,s,l;function u(){this._allowApplyStyle=!0}r=e=t.Report||(t.Report={}),n=i=r.Components||(r.Components={}),r=o=n.Gauge||(n.Gauge={}),n=a=r.Primitives||(r.Primitives={}),s=t.System.ICloneable,l=t.Report.Gauge.IStiApplyStyleGauge,u.prototype.implements=function(){return[s,l]},u.prototype.is=function(e){if(e instanceof t.System.Interface)return-1!=this.implements().indexOf(e);if("function"==typeof e)return this instanceof e;if(null==e)throw new Error("Type for comparison is 'undefined'");return!1},u.prototype.is2=function(e){return this.is(e)},u.prototype.as=function(e){if(this.is(e))return this;return null},u.prototype.applyStyle=function(e){},u.prototype.clone=function(){return this.stimulsoft.memberwiseClone()},Object.defineProperty(u.prototype,"allowApplyStyle",{get:function(){return this._allowApplyStyle},set:function(e){this._allowApplyStyle=e},enumerable:!1,configurable:!0}),u.prototype.drawElement=function(e){},r=u,n.StiElementBase=r}(Stimulsoft=Stimulsoft||{}),function(e){var t,r,i,n,o,a,s,l,u;function h(){return null!==u&&u.apply(this,arguments)||this}r=t=e.Report||(e.Report={}),n=i=r.Components||(r.Components={}),r=o=n.Gauge||(n.Gauge={}),n=a=r.Primitives||(r.Primitives={}),s=e.Base.StiJson,l=e.Report.Gauge.StiGaugeElemenType,u=n.StiElementBase,__extends(h,u),h.prototype.saveToJsonObject=function(e){var t=new s;return t.addPropertyBool("AllowApplyStyle",this.allowApplyStyle,!0),t},h.prototype.loadFromJsonObject=function(e){var t,r;try{for(var i=__values(e.properties()),n=i.next();!n.done;n=i.next()){var o=n.value;switch(o.name){case"AllowApplyStyle":this.allowApplyStyle=o.value.stimulsoft.toBoolean();break}}}catch(e){t={error:e}}finally{try{n&&!n.done&&(r=i.return)&&r.call(i)}finally{if(t)throw t.error}}},h.prototype.loadFromXml=function(e){for(var t=0;t<e.childNodes.length;t++){var r=e.childNodes[t];switch(r.nodeName){case"AllowApplyStyle":this.allowApplyStyle=r.textContent.stimulsoft.toBoolean();break}}},Object.defineProperty(h.prototype,"componentId",{get:function(){return null},enumerable:!1,configurable:!0}),Object.defineProperty(h.prototype,"PropName",{get:function(){return null},enumerable:!1,configurable:!0}),Object.defineProperty(h.prototype,"animation",{get:function(){return null},set:function(e){},enumerable:!1,configurable:!0}),Object.defineProperty(h.prototype,"elementType",{get:function(){return l.LinearElement},enumerable:!1,configurable:!0}),Object.defineProperty(h.prototype,"localizeName",{get:function(){return"GaugeElement"},enumerable:!1,configurable:!0}),Object.defineProperty(h.prototype,"scale",{get:function(){return this._scale},set:function(e){this._scale=e},enumerable:!1,configurable:!0}),h.prototype.createNew=function(){return null},h.prototype.prepareGaugeElement=function(){},r=h,n.StiGaugeElement=r}(Stimulsoft=Stimulsoft||{}),function(s){var e,n,t,r,i,o,a,l,u,h,c,p,d,m,f,g,y,b,S,v,w;function k(){var e=null!==w&&w.apply(this,arguments)||this;return e._valueObj=0,e._placement=s.Report.Gauge.StiPlacement.Overlay,e._brush=new y(b.white),e._borderBrush=new S,e._borderWidth=0,e._getValueEvent=new m,e._value="",e}n=e=s.Report||(s.Report={}),r=t=n.Components||(n.Components={}),o=i=r.Gauge||(r.Gauge={}),r=a=o.Primitives||(o.Primitives={}),l=s.Report.Gauge.StiPlacement,u=s.System.StiString,h=s.Report.Engine.StiParser.StiParser,c=s.Base.StiJson,p=s.Base.StiJsonReportObjectHelper,d=s.System.Enum,m=s.Report.Events.StiGetValueEvent,f=s.Report.Expressions.StiExpression,g=s.Base.Drawing.StiBrush,y=s.Base.Drawing.StiSolidBrush,b=s.System.Drawing.Color,S=s.Base.Drawing.StiEmptyBrush,v=s.Report.Events.StiGetValueEventArgs,o=s.Report.Components.Gauge.Primitives.StiGaugeElement,__extends(k,w=o),k.prototype.saveToJsonObject=function(e){var t=new c;return t.addPropertyEnum("Placement",s.Report.Gauge.StiPlacement,this.placement),t.addPropertyStringNullOrEmpty("BorderBrush",p.Serialize.jBrush(this.borderBrush)),t.addPropertyStringNullOrEmpty("Brush",p.Serialize.jBrush(this.brush)),t.addPropertyNumber("BorderWidth",this.borderWidth,0),t.addPropertyJObject("GetValueEvent",this.getValueEvent.saveToJsonObject(e)),t.addPropertyJObject("Value",new f(this.value).saveToJsonObject(e)),t},k.prototype.loadFromJsonObject=function(e){var t,r;w.prototype.loadFromJsonObject.call(this,e);try{for(var i=__values(e.properties()),n=i.next();!n.done;n=i.next()){var o=n.value;switch(o.name){case"Placement":this.placement=d.parse(s.Report.Gauge.StiPlacement,o.value.toString());break;case"BorderBrush":this.borderBrush=p.Deserialize.brush(o.value);break;case"Brush":this.brush=p.Deserialize.brush(o.value);break;case"GetValueEvent":var a=new m;a.loadFromJsonObject(o.value),this.getValueEvent=a;break;case"Value":var a=new f;a.loadFromJsonObject(o.value),this.value=a.value;break}}}catch(e){t={error:e}}finally{try{n&&!n.done&&(r=i.return)&&r.call(i)}finally{if(t)throw t.error}}},k.prototype.loadFromXml=function(e){w.prototype.loadFromXml.call(this,e);for(var t=0;t<e.childNodes.length;t++){var r=e.childNodes[t];switch(r.nodeName){case"Placement":this.placement=d.parse(l,r.textContent);break;case"BorderBrush":this.borderBrush=g.loadFromXml(r.textContent);break;case"Brush":this.brush=g.loadFromXml(r.textContent);break;case"GetValueEvent":var i=new m;i.loadFromXml(r),this.getValueEvent=i;break;case"Value":var i=new f;i.loadFromXml(r),this.value=i.value;break}}},k.prototype.clone=function(){var e=w.prototype.clone.call(this);return e.brush=this.brush.clone(),e.borderBrush=this.borderBrush.clone(),null!=this.value?e.value=this.value:e.value=null,e},Object.defineProperty(k.prototype,"valueObj",{get:function(){return this._valueObj},set:function(e){this._valueObj=e,this.onValueChanged()},enumerable:!1,configurable:!0}),Object.defineProperty(k.prototype,"placement",{get:function(){return this._placement},set:function(e){this._placement=e},enumerable:!1,configurable:!0}),Object.defineProperty(k.prototype,"brush",{get:function(){return this._brush},set:function(e){this._brush=e},enumerable:!1,configurable:!0}),Object.defineProperty(k.prototype,"borderBrush",{get:function(){return this._borderBrush},set:function(e){this._borderBrush=e},enumerable:!1,configurable:!0}),Object.defineProperty(k.prototype,"borderWidth",{get:function(){return this._borderWidth},set:function(e){this._borderWidth=e},enumerable:!1,configurable:!0}),k.prototype.onGetValue=function(e){},k.prototype.invokeGetValue=function(e,t){try{var r;this.onGetValue(t),null!=e.scale.gauge.report&&e.scale.gauge.report.calculationMode==n.StiCalculationMode.Interpretation&&(r=h.parseTextValue(this.value,e.scale.gauge),t.value=e.scale.gauge.report.toString2(r))}catch(e){var i=u.format("Expression in GetValue property of '{0}' series from '{1}' chart can't be evaluated!","Indicator",this.scale.gauge.name);n.StiLogService.write(this.stimulsoft.getType(),i),n.StiLogService.write(this.stimulsoft.getType(),e)}},Object.defineProperty(k.prototype,"getValueEvent",{get:function(){return this._getValueEvent},set:function(e){this._getValueEvent=e},enumerable:!1,configurable:!0}),Object.defineProperty(k.prototype,"value",{get:function(){return this._value},set:function(e){this._value=e},enumerable:!1,configurable:!0}),k.prototype.prepareGaugeElement=function(){var e=new v;this.invokeGetValue(this,e),this.valueObj=s.Report.Gauge.Helpers.StiGaugeHelper.getFloatValueFromObject(e.value,this.scale)},k.prototype.interactiveClick=function(e,t){},k.prototype.onValueChanged=function(){},k.prototype.getActualValue=function(){if(null==this.scale||null==this.scale.gauge)return null;try{var e=new v;this.invokeGetValue(this,e);var t=void 0,e,t;return t=null!=e.value?h.parseTextValue(e.value,this.scale.gauge):this.scale.gauge.isDesigning?null!=(e=h.parseTextValue("{"+this.value+"}",this.scale.gauge))?e.stimulsoft.toNumber():0:this.valueObj}catch(e){return 0}},o=k,r.StiIndicatorBase=o}(Stimulsoft=Stimulsoft||{}),function(l){var e,t,r,i,n,o,u,h,a,s,c,p,d,m,f,g,y,b,S,v,w,k,G;function B(){var e=G.call(this)||this;return e._format="{0:F0}",e._showValue=!1,e._textBrush=new b(g.dimGray),e._font=new y("Arial",7),e._capBrush=new b(g.fromArgb(158,158,158)),e._capBorderBrush=new f,e._capBorderWidth=0,e._offsetNeedle=0,e._startWidth=.1,e._endWidth=1,e._autoCalculateCenterPoint=!0,e._centerPoint=new m,e._relativeHeight=.04,e._relativeWidth=.4,e._skin=l.Report.Gauge.StiNeedleSkin.SimpleNeedle,e.brush=new b(g.fromArgb(158,158,158)),e}t=e=l.Report||(l.Report={}),i=r=t.Components||(t.Components={}),o=n=i.Gauge||(i.Gauge={}),u=l.Base.Context.Animation.StiRotationAnimation,h=l.System.TimeSpan,a=l.Report.Gauge.Helpers.StiGaugeSkinHelper,s=l.System.Enum,c=l.System.Drawing.Rectangle,p=l.System.Drawing.Size,d=l.Report.Gauge.StiGaugeElemenType,m=l.System.Drawing.Point,f=l.Base.Drawing.StiEmptyBrush,g=l.System.Drawing.Color,y=l.System.Drawing.Font,b=l.Base.Drawing.StiSolidBrush,S=l.Base.Drawing.StiBrush,v=l.Base.StiJsonReportObjectHelper,i=l.Report.Components.Gauge.Primitives.StiIndicatorBase,w=l.System.Drawing.FontStyle,k=l.System.Drawing.GraphicsUnit,__extends(B,G=i),B.prototype.saveToJsonObject=function(e){var e=G.prototype.saveToJsonObject.call(this,e);return e.addPropertyIdent("Ident",this.stimulsoft.getType().stimulsoft.getTypeName()),e.addPropertyStringNullOrEmpty("Format",this.format),e.addPropertyBool("ShowValue",this.showValue,!1),e.addPropertyStringNullOrEmpty("TextBrush",v.Serialize.jBrush(this.textBrush)),e.addPropertyStringNullOrEmpty("Font",v.Serialize.font(this.font,"Arial",8,w.Bold,k.Pixel)),e.addPropertyStringNullOrEmpty("CapBrush",v.Serialize.jBrush(this.capBrush)),e.addPropertyStringNullOrEmpty("CapBorderBrush",v.Serialize.jBrush(this.capBorderBrush)),e.addPropertyNumber("CapBorderWidth",this.capBorderWidth,0),e.addPropertyNumber("OffsetNeedle",this.offsetNeedle,0),e.addPropertyNumber("StartWidth",this.startWidth,.1),e.addPropertyNumber("EndWidth",this.endWidth,1),e.addPropertyBool("AutoCalculateCenterPoint",this.autoCalculateCenterPoint,!0),e.addPropertyJObject("CenterPoint",v.Serialize.point(this.centerPoint)),e.addPropertyNumber("RelativeHeight",this.relativeHeight,.04),e.addPropertyNumber("RelativeWidth",this.relativeWidth,.4),e.addPropertyEnum("Skin",l.Report.Gauge.StiNeedleSkin,this.skin),e},B.prototype.loadFromJsonObject=function(e){var t,r;G.prototype.loadFromJsonObject.call(this,e);try{for(var i=__values(e.properties()),n=i.next();!n.done;n=i.next()){var o=n.value;switch(o.name){case"Format":this.format=o.value.toString();break;case"ShowValue":this.showValue=o.value.stimulsoft.toBoolean();break;case"TextBrush":this.textBrush=v.Deserialize.brush(o.value);break;case"Font":this.font=v.Deserialize.font(o.value.toString(),this.font);break;case"CapBrush":this.capBrush=v.Deserialize.brush(o.value);break;case"CapBorderBrush":this.capBorderBrush=v.Deserialize.brush(o.value);break;case"CapBorderWidth":this.capBorderWidth=o.value.stimulsoft.toNumber();break;case"OffsetNeedle":this.offsetNeedle=o.value.stimulsoft.toNumber();break;case"StartWidth":this.startWidth=o.value.stimulsoft.toNumber();break;case"EndWidth":this.endWidth=o.value.stimulsoft.toNumber();break;case"AutoCalculateCenterPoint":this.autoCalculateCenterPoint=o.value.stimulsoft.toBoolean();break;case"Center":this.centerPoint=v.Deserialize.point(o.value);break;case"RelativeHeight":this.relativeHeight=o.value.stimulsoft.toNumber();break;case"RelativeWidth":this.relativeWidth=o.value.stimulsoft.toNumber();break;case"Skin":this.skin=s.parse(l.Report.Gauge.StiNeedleSkin,o.value.toString());break}}}catch(e){t={error:e}}finally{try{n&&!n.done&&(r=i.return)&&r.call(i)}finally{if(t)throw t.error}}},B.prototype.loadFromXml=function(e){G.prototype.loadFromXml.call(this,e);for(var t=0;t<e.childNodes.length;t++){var r=e.childNodes[t];switch(r.nodeName){case"Format":this.format=r.textContent;break;case"ShowValue":this.showValue=r.textContent.stimulsoft.toBoolean();break;case"TextBrush":this.textBrush=S.loadFromXml(r.textContent);break;case"Font":this.font=l.System.Convert.toFont(r.textContent);break;case"CapBrush":this.capBrush=S.loadFromXml(r.textContent);break;case"CapBorderBrush":this.capBorderBrush=S.loadFromXml(r.textContent);break;case"CapBorderWidth":this.capBorderWidth=r.textContent.stimulsoft.toNumber();break;case"OffsetNeedle":this.offsetNeedle=r.textContent.stimulsoft.toNumber();break;case"StartWidth":this.startWidth=r.textContent.stimulsoft.toNumber();break;case"EndWidth":this.endWidth=r.textContent.stimulsoft.toNumber();break;case"AutoCalculateCenterPoint":this.autoCalculateCenterPoint=r.textContent.stimulsoft.toBoolean();break;case"Center":this.centerPoint=this.loadPointFromXml(r.textContent);break;case"RelativeHeight":this.relativeHeight=r.textContent.stimulsoft.toNumber();break;case"RelativeWidth":this.relativeWidth=r.textContent.stimulsoft.toNumber();break;case"Skin":this.skin=s.parse(l.Report.Gauge.StiNeedleSkin,r.textContent);break}}},B.prototype.loadPointFromXml=function(e){var e=e.split(",");return new m(e[0].stimulsoft.toNumber(),e[1].stimulsoft.toNumber())},Object.defineProperty(B.prototype,"componentId",{get:function(){return t.StiComponentId.StiNeedle},enumerable:!1,configurable:!0}),B.prototype.applyStyle=function(e){this.allowApplyStyle&&(this.brush=e.core.needleBrush,this.borderBrush=e.core.needleBorderBrush,this.capBrush=e.core.needleCapBrush,this.capBorderBrush=e.core.needleCapBorderBrush,this.borderWidth=e.core.needleBorderWidth,this.capBorderWidth=e.core.needleCapBorderWidth,this.startWidth=e.core.needleStartWidth,this.endWidth=e.core.needleEndWidth,this.relativeHeight=e.core.needleRelativeHeight,this.relativeWidth=e.core.needleRelativeWith)},Object.defineProperty(B.prototype,"format",{get:function(){return this._format},set:function(e){this._format=e},enumerable:!1,configurable:!0}),Object.defineProperty(B.prototype,"showValue",{get:function(){return this._showValue},set:function(e){this._showValue=e},enumerable:!1,configurable:!0}),Object.defineProperty(B.prototype,"textBrush",{get:function(){return this._textBrush},set:function(e){this._textBrush=e},enumerable:!1,configurable:!0}),Object.defineProperty(B.prototype,"font",{get:function(){return this._font},set:function(e){this._font=e},enumerable:!1,configurable:!0}),Object.defineProperty(B.prototype,"capBrush",{get:function(){return this._capBrush},set:function(e){this._capBrush=e},enumerable:!1,configurable:!0}),Object.defineProperty(B.prototype,"capBorderBrush",{get:function(){return this._capBorderBrush},set:function(e){this._capBorderBrush=e},enumerable:!1,configurable:!0}),Object.defineProperty(B.prototype,"capBorderWidth",{get:function(){return this._capBorderWidth},set:function(e){this._capBorderWidth=e},enumerable:!1,configurable:!0}),Object.defineProperty(B.prototype,"offsetNeedle",{get:function(){return this._offsetNeedle},set:function(e){this._offsetNeedle=e},enumerable:!1,configurable:!0}),Object.defineProperty(B.prototype,"startWidth",{get:function(){return this._startWidth},set:function(e){this._startWidth=e},enumerable:!1,configurable:!0}),Object.defineProperty(B.prototype,"endWidth",{get:function(){return this._endWidth},set:function(e){this._endWidth=e},enumerable:!1,configurable:!0}),Object.defineProperty(B.prototype,"autoCalculateCenterPoint",{get:function(){return this._autoCalculateCenterPoint},set:function(e){this._autoCalculateCenterPoint=e},enumerable:!1,configurable:!0}),Object.defineProperty(B.prototype,"centerPoint",{get:function(){return this._centerPoint},set:function(e){this._centerPoint=e},enumerable:!1,configurable:!0}),Object.defineProperty(B.prototype,"relativeHeight",{get:function(){return this._relativeHeight},set:function(e){this._relativeHeight=e},enumerable:!1,configurable:!0}),Object.defineProperty(B.prototype,"relativeWidth",{get:function(){return this._relativeWidth},set:function(e){this._relativeWidth=e},enumerable:!1,configurable:!0}),Object.defineProperty(B.prototype,"skin",{get:function(){return this._skin},set:function(e){this._skin=e},enumerable:!1,configurable:!0}),Object.defineProperty(B.prototype,"customSkin",{get:function(){return this._customSkin},set:function(e){this._customSkin=e},enumerable:!1,configurable:!0}),Object.defineProperty(B.prototype,"elementType",{get:function(){return d.RadialElement},enumerable:!1,configurable:!0}),Object.defineProperty(B.prototype,"localizeName",{get:function(){return"Needle"},enumerable:!1,configurable:!0}),B.prototype.createNew=function(){return new B},B.prototype.drawElement=function(e){var t=this.scale;if(null==t)return;var r=this.scale.barGeometry.center,i=new p(this.scale.barGeometry.diameter*this.relativeWidth,this.scale.barGeometry.diameter*this.relativeHeight),n=0,o=0;i.width>i.height?n=o=i.height/2:(n=i.width/2,o=i.height/2);var a=r.x-n,n=r.y-o,o=new c(a,n,i.width,i.height),a=0,n=this.getActualValue();if(null==n)return null;var i=t.getCurrentAngle(n),a=i>t.sweepAngle+t.startAngle?this.scale.isReversed?t.getCurrentAngle(t.minimum):t.getCurrentAngle(t.maximum):this.scale.isReversed?t.sweepAngle-i:i,t=-t.getPosition(n)*t.sweepAngle,s;this.scale.isReversed&&(t=-t),this.animation=new u(t,0,r,l.Report.Gauge.Helpers.StiGaugeHelper.globalDurationElement,h.zero),this.getActualSkin().draw(e,this,o,a,r)},B.prototype.interactiveClick=function(e,t){},B.prototype.getActualCenterPoint=function(){if(null!=this.scale&&null!=this.scale.gauge){if(this.autoCalculateCenterPoint){var e=this.scale.gauge.report.unit.convertRectangleToHInches(this.scale.gauge.clientRectangle),t=this.scale.gauge.clientRectangle,r=0;return 0!=t.width&&(r=t.height*this.relativeHeight/2),new m(r,.5)}return this.centerPoint}return new m},B.prototype.getActualSkin=function(){return null!=this.customSkin?this.customSkin:a.getNeedleIndicatorSkin(this.skin)},i=B,o.StiNeedle=i}(Stimulsoft=Stimulsoft||{}),function(a){var e,t,r,i,n,o,s,l,u,h,c,p,d,m,f,g;function y(){var e=null!==g&&g.apply(this,arguments)||this;return e._offset=0,e._relativeWidth=.05,e._relativeHeight=.05,e._skin=a.Report.Gauge.StiMarkerSkin.Diamond,e._customSkin=null,e._format="{0:F0}",e._showValue=!1,e._textBrush=new p(d.dimGray),e._font=new m("Arial",7),e}t=e=a.Report||(a.Report={}),i=r=t.Components||(t.Components={}),t=n=i.Gauge||(i.Gauge={}),i=o=t.Primitives||(t.Primitives={}),s=a.Report.Gauge.StiMarkerSkin,l=a.Base.StiJson,u=a.Base.StiJsonReportObjectHelper,h=a.System.Enum,c=a.Base.Drawing.StiBrush,p=a.Base.Drawing.StiSolidBrush,d=a.System.Drawing.Color,m=a.System.Drawing.Font,f=a.Report.Gauge.Helpers.StiGaugeSkinHelper,g=i.StiIndicatorBase,__extends(y,g),y.prototype.saveToJsonObject=function(e){var t=new l;return t.addPropertyNumber("Offset",this.offset,0),t.addPropertyNumber("RelativeWidth",this.relativeWidth,.05),t.addPropertyNumber("RelativeHeight",this.relativeHeight,.05),t.addPropertyEnum("Skin",a.Report.Gauge.StiMarkerSkin,this.skin),t.addPropertyString("Format",this.format),t.addPropertyBool("ShowValue",this.showValue,!1),t.addPropertyStringNullOrEmpty("TextBrush",u.Serialize.jBrush(this.textBrush)),t.addPropertyStringNullOrEmpty("Font",u.Serialize.font(this.font,"Arial",7)),t},y.prototype.loadFromJsonObject=function(e){var t,r;g.prototype.loadFromJsonObject.call(this,e);try{for(var i=__values(e.properties()),n=i.next();!n.done;n=i.next()){var o=n.value;switch(o.name){case"Offset":this.offset=o.value.stimulsoft.toNumber();break;case"RelativeWidth":this.relativeWidth=o.value.stimulsoft.toNumber();break;case"RelativeHeight":this.relativeHeight=o.value.stimulsoft.toNumber();break;case"Skin":this.skin=h.parse(a.Report.Gauge.StiMarkerSkin,o.value.toString());break;case"Format":this.format=o.value.toString();break;case"ShowValue":this.showValue=o.value.stimulsoft.toBoolean();break;case"TextBrush":this.textBrush=u.Deserialize.brush(o.value);break;case"Font":this.font=u.Deserialize.font(o.value.toString(),this.font);break}}}catch(e){t={error:e}}finally{try{n&&!n.done&&(r=i.return)&&r.call(i)}finally{if(t)throw t.error}}},y.prototype.loadFromXml=function(e){g.prototype.loadFromXml.call(this,e);for(var t=0;t<e.childNodes.length;t++){var r=e.childNodes[t];switch(r.nodeName){case"Offset":this.offset=r.textContent.stimulsoft.toNumber();break;case"RelativeWidth":this.relativeWidth=r.textContent.stimulsoft.toNumber();break;case"RelativeHeight":this.relativeHeight=r.textContent.stimulsoft.toNumber();break;case"Skin":this.skin=h.parse(s,r.textContent);break;case"Format":this.format=r.textContent;break;case"ShowValue":this.showValue=r.textContent.stimulsoft.toBoolean();break;case"TextBrush":this.textBrush=c.loadFromXml(r.textContent);break;case"Font":this.font=a.System.Convert.toFont(r.textContent);break}}},y.prototype.clone=function(){var e=g.prototype.clone.call(this);return e.textBrush=this.textBrush.clone(),e},Object.defineProperty(y.prototype,"offset",{get:function(){return this._offset},set:function(e){this._offset=e},enumerable:!1,configurable:!0}),Object.defineProperty(y.prototype,"relativeWidth",{get:function(){return this._relativeWidth},set:function(e){this._relativeWidth=e},enumerable:!1,configurable:!0}),Object.defineProperty(y.prototype,"relativeHeight",{get:function(){return this._relativeHeight},set:function(e){this._relativeHeight=e},enumerable:!1,configurable:!0}),Object.defineProperty(y.prototype,"skin",{get:function(){return this._skin},set:function(e){this._skin=e},enumerable:!1,configurable:!0}),Object.defineProperty(y.prototype,"customSkin",{get:function(){return this._customSkin},set:function(e){this._customSkin=e},enumerable:!1,configurable:!0}),Object.defineProperty(y.prototype,"format",{get:function(){return this._format},set:function(e){this._format=e},enumerable:!1,configurable:!0}),Object.defineProperty(y.prototype,"showValue",{get:function(){return this._showValue},set:function(e){this._showValue=e},enumerable:!1,configurable:!0}),Object.defineProperty(y.prototype,"textBrush",{get:function(){return this._textBrush},set:function(e){this._textBrush=e},enumerable:!1,configurable:!0}),Object.defineProperty(y.prototype,"font",{get:function(){return this._font},set:function(e){this._font=e},enumerable:!1,configurable:!0}),y.prototype.getActualSkin=function(){return null!=this.customSkin?this.customSkin:f.getMarkerSkin(this.skin)},t=y,i.StiMarkerBase=t}(Stimulsoft=Stimulsoft||{}),function(e){var t,r,i,e,n;function o(){}r=t=e.Report||(e.Report={}),e=i=r.Gauge||(r.Gauge={}),r=n=e.Helpers||(e.Helpers={}),o.length1=function(e,t){if(e<0&&t<0)return Math.abs(e-t);if(0<e&&0<t)return t-e;return Math.abs(e)+t},o.maxMinusMin=function(e,t){return t<e?e-t:t-e},o.getMax=function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];var r=0;0<e.length&&(r=e[0]);var i=1;while(i<e.length)r<e[i]&&(r=e[i]),i++;return r},e=o,r.StiMathHelper=e}(Stimulsoft=Stimulsoft||{}),function(e){var t,r,i,e,n;function o(){}r=t=e.Report||(e.Report={}),e=i=r.Gauge||(r.Gauge={}),r=n=e.Helpers||(e.Helpers={}),o.centerX=function(e){return e.left+e.width/2},o.centerY=function(e){return e.top+e.height/2},e=o,r.StiRectangleHelper=e}(Stimulsoft=Stimulsoft||{}),function(n){var e,t,r,i,o,a,s,d,l,m,f,g,u,h;function c(){return null!==h&&h.apply(this,arguments)||this}t=e=n.Report||(n.Report={}),i=r=t.Components||(t.Components={}),a=o=i.Gauge||(i.Gauge={}),s=n.Base.Context.Animation.StiTranslationAnimation,d=n.System.Drawing.Orientation,l=n.Report.Gauge.Helpers.StiMathHelper,m=n.Report.Gauge.Helpers.StiRectangleHelper,f=n.Report.Gauge.StiPlacement,g=n.System.Drawing.Rectangle,u=n.System.Drawing.Point,i=n.Report.Components.Gauge.Primitives.StiMarkerBase,__extends(c,h=i),c.prototype.saveToJsonObject=function(e){var e=h.prototype.saveToJsonObject.call(this,e);return e.addPropertyIdent("Ident",this.stimulsoft.getType().stimulsoft.getTypeName()),e},c.prototype.loadFromJsonObject=function(e){h.prototype.loadFromJsonObject.call(this,e)},c.prototype.loadFromXml=function(e){h.prototype.loadFromXml.call(this,e)},Object.defineProperty(c.prototype,"componentId",{get:function(){return t.StiComponentId.StiLinearMarker},enumerable:!1,configurable:!0}),c.prototype.applyStyle=function(e){this.allowApplyStyle&&(this.brush=e.core.markerBrush,this.borderBrush=e.core.markerBorderBrush,this.borderWidth=e.core.markerBorderWidth,this.skin=e.core.markerSkin)},Object.defineProperty(c.prototype,"localizeName",{get:function(){return"LinearMarker"},enumerable:!1,configurable:!0}),c.prototype.createNew=function(){return new c},c.prototype.drawElement=function(e){var t=this.getRectangle(this.valueObj),r=this.getRectangle(0),i;this.animation=new s(new u(r.x,r.y),new u(t.x,t.y),n.Report.Gauge.Helpers.StiGaugeHelper.globalDurationElement,n.Report.Gauge.Helpers.StiGaugeHelper.globalBeginTimeElement),this.getActualSkin().draw(e,this,t)},c.prototype.getRectangle=function(e){var t=this.scale,r=t.barGeometry.size,i=t.barGeometry.rectGeometry,n=this.getBarPosition(t.orientation,e),o=r.width*this.relativeWidth,a=r.height*this.relativeHeight,s=a/2,l=0,u=0,h,c,p,u,h,c,p,l;return t.orientation==d.Horizontal?(u=this.placement!=f.Overlay?(h=this.scale.barGeometry.getRestToLenght(),c=this.scale.getPosition(e),p=this.scale.startWidth<this.scale.endWidth?(1-c)*h:h*c,this.placement==f.Outside?i.top-a+p:i.bottom-p):m.centerY(this.scale.barGeometry.rectGeometry)-s+this.offset*r.height,l=this.scale.isReversed?(n+=s,i.right-n):(n-=s,i.left+n)):(l=this.placement!=f.Overlay?(h=this.scale.barGeometry.getRestToLenght(),c=this.scale.getPosition(e),p=this.scale.startWidth<this.scale.endWidth?(1-c)*h:h*c,this.placement==f.Outside?i.left-o+p:i.right-p):m.centerX(this.scale.barGeometry.rectGeometry)-o/2+this.offset*r.width,u=this.scale.isReversed?(n-=s,i.top+n):(n+=s,i.bottom-n)),new g(l,u,o,a)},c.prototype.interactiveClick=function(e,t){},c.prototype.getBarPosition=function(e,t){var r=this.scale.scaleHelper.actualMinimum,i=this.scale.scaleHelper.actualMaximum;isNaN(t)||t<r?t=r:i<t&&(t=i);var t=l.length1(r,t),e=e==d.Horizontal?this.scale.barGeometry.rectGeometry.width:this.scale.barGeometry.rectGeometry.height;return t/this.scale.scaleHelper.totalLength*e},i=c,a.StiLinearMarker=i}(Stimulsoft=Stimulsoft||{}),function(e){var t,r,i,n,o,a;function s(){}r=t=e.Report||(e.Report={}),n=i=r.Gauge||(r.Gauge={}),r=o=n.Helpers||(n.Helpers={}),a=e.System.Drawing.Color,s.colorMixed=function(e){if(null==e||0==e.length)return a.transparent;if(1==e.length)return e[0];var t=e[0],r=0;while(++r<e.length)t=this.colorMixer(t,e[r]);return t},s.colorMixer=function(e,t){var r=(e.r+t.r)/2,i=(e.g+t.g)/2,t=(e.b+t.b)/2;return a.fromArgb(r,i,t)},n=s,r.StiMixedColorHelper=n}(Stimulsoft=Stimulsoft||{}),function(e){var t,r,i,n,o,a,s,l,u,h;function c(){var e=h.call(this)||this;return e._emptyBrush=new s,e._emptyBorderBrush=new s,e._emptyBorderWidth=0,e._offset=0,e._startWidth=.05,e._endWidth=.05,e._useRangeColor=!1,e.rangeList=new l(e.barType),e}r=t=e.Report||(e.Report={}),n=i=r.Components||(r.Components={}),r=o=n.Gauge||(n.Gauge={}),n=a=r.Primitives||(r.Primitives={}),s=e.Base.Drawing.StiEmptyBrush,l=e.Report.Gauge.Collections.StiBarRangeListCollection,u=e.Base.StiJsonReportObjectHelper,h=n.StiIndicatorBase,__extends(c,h),c.prototype.saveToJsonObject=function(e){var t=h.prototype.saveToJsonObject.call(this,e);return t.addPropertyStringNullOrEmpty("EmptyBrush",u.Serialize.jBrush(this.emptyBrush)),t.addPropertyStringNullOrEmpty("EmptyBorderBrush",u.Serialize.jBrush(this.emptyBorderBrush)),t.addPropertyNumber("EmptyBorderWidth",this.emptyBorderWidth,0),t.addPropertyNumber("Offset",this.offset,0),t.addPropertyNumber("StartWidth",this.startWidth,0),t.addPropertyNumber("EndWidth",this.endWidth,.05),t.addPropertyBool("UseRangeColor",this.useRangeColor,!1),t.addPropertyJObject("RangeList",this.rangeList.saveToJsonObject(e)),t},c.prototype.loadFromJsonObject=function(e){var t,r;h.prototype.loadFromJsonObject.call(this,e);try{for(var i=__values(e.properties()),n=i.next();!n.done;n=i.next()){var o=n.value;switch(o.name){case"EmptyBrush":this.emptyBrush=u.Deserialize.brush(o.value);break;case"EmptyBorderBrush":this.emptyBorderBrush=u.Deserialize.brush(o.value);break;case"EmptyBorderWidth":this.emptyBorderWidth=o.value.stimulsoft.toNumber();break;case"Offset":this.offset=o.value.stimulsoft.toNumber();break;case"StartWidth":this.startWidth=o.value.stimulsoft.toNumber();break;case"EndWidth":this.endWidth=o.value.stimulsoft.toNumber();break;case"UseRangeColor":this.useRangeColor=o.value.stimulsoft.toBoolean();break;case"RangeList":this.rangeList.loadFromJsonObject(o.value);break}}}catch(e){t={error:e}}finally{try{n&&!n.done&&(r=i.return)&&r.call(i)}finally{if(t)throw t.error}}},c.prototype.clone=function(){var t,e,r=h.prototype.clone.call(this);r.emptyBrush=this.emptyBrush.clone(),r.emptyBorderBrush=this.emptyBorderBrush.clone(),r.rangeList=new l(this.barType);try{for(var i=__values(this.rangeList.list),n=i.next();!n.done;n=i.next()){var o=n.value;r.rangeList.add(o.clone())}}catch(e){t={error:e}}finally{try{n&&!n.done&&(e=i.return)&&e.call(i)}finally{if(t)throw t.error}}return r},Object.defineProperty(c.prototype,"emptyBrush",{get:function(){return this._emptyBrush},set:function(e){this._emptyBrush=e},enumerable:!1,configurable:!0}),Object.defineProperty(c.prototype,"emptyBorderBrush",{get:function(){return this._emptyBorderBrush},set:function(e){this._emptyBorderBrush=e},enumerable:!1,configurable:!0}),Object.defineProperty(c.prototype,"emptyBorderWidth",{get:function(){return this._emptyBorderWidth},set:function(e){this._emptyBorderWidth=e},enumerable:!1,configurable:!0}),Object.defineProperty(c.prototype,"offset",{get:function(){return this._offset},set:function(e){this._offset=e},enumerable:!1,configurable:!0}),Object.defineProperty(c.prototype,"startWidth",{get:function(){return this._startWidth},set:function(e){this._startWidth=e},enumerable:!1,configurable:!0}),Object.defineProperty(c.prototype,"endWidth",{get:function(){return this._endWidth},set:function(e){this._endWidth=e},enumerable:!1,configurable:!0}),Object.defineProperty(c.prototype,"useRangeColor",{get:function(){return this._useRangeColor},set:function(e){this._useRangeColor=e,this.onRangeColorChanged()},enumerable:!1,configurable:!0}),Object.defineProperty(c.prototype,"rangeList",{get:function(){return this._rangeList},set:function(e){this._rangeList=e},enumerable:!1,configurable:!0}),Object.defineProperty(c.prototype,"barType",{get:function(){return null},enumerable:!1,configurable:!0}),c.prototype.onRangeColorChanged=function(){},c.prototype.checkActualBrushForTopGeometry=function(){},c.prototype.onValueChanged=function(){this.checkActualBrushForTopGeometry()},r=c,n.StiBarBase=r}(Stimulsoft=Stimulsoft||{}),function(h){var e,t,r,i,n,o,k,c,s,p,d,a,G,l,u,m,B,f,R,g,O,y,b,x,S;function v(){this.standardBackground=!1,this.defaultIndex=-99,this.mixedColorIndex=-99}function w(){this.state=!1,this.offset=0}function _(){var e=null!==S&&S.apply(this,arguments)||this;return e.colorModeHelper=new b,e._skin=h.Report.Gauge.StiLinearBarSkin.Default,e._rangeColorMode=h.Report.Gauge.StiLinearRangeColorMode.Default,e}t=e=h.Report||(h.Report={}),i=r=t.Components||(t.Components={}),o=n=i.Gauge||(i.Gauge={}),k=h.System.Drawing.Orientation,c=h.Base.Context.Animation.StiScaleAnimation,s=h.Report.Gauge.GaugeGeoms.StiGraphicsPathLinesGaugeGeom,p=h.System.TimeSpan,d=h.Report.Engine.StiParser.StiParser,a=h.Base.Drawing.StiGradientBrush,G=h.Report.Gauge.Helpers.StiMathHelper,l=h.System.Drawing.Color,u=h.Report.Gauge.Helpers.StiMixedColorHelper,m=h.Base.Drawing.StiSolidBrush,B=h.System.Drawing.Rectangle,i=h.Report.Components.Gauge.Primitives.StiBarBase,f=h.System.Enum,R=h.Report.Gauge.StiPlacement,g=h.System.Drawing.Point,O=h.Report.Gauge.Helpers.StiRectangleHelper,y=h.Report.Gauge.GaugeGeoms.StiGraphicsPathGaugeGeom,v.prototype.reset=function(){this.standardBackground=!1,this.defaultIndex=-99,this.mixedColorIndex=-99},b=v,x=w,__extends(_,S=i),_.prototype.saveToJsonObject=function(e){var e=S.prototype.saveToJsonObject.call(this,e);return e.addPropertyIdent("Ident",this.stimulsoft.getType().stimulsoft.getTypeName()),e.addPropertyEnum("Skin",h.Report.Gauge.StiLinearBarSkin,this.skin),e.addPropertyEnum("RangeColorMode",h.Report.Gauge.StiLinearRangeColorMode,this.rangeColorMode),e},_.prototype.loadFromJsonObject=function(e){var t,r;S.prototype.loadFromJsonObject.call(this,e);try{for(var i=__values(e.properties()),n=i.next();!n.done;n=i.next()){var o=n.value;switch(o.name){case"Skin":this.skin=f.parse(h.Report.Gauge.StiLinearBarSkin,o.value.toString());break;case"RangeColorMode":this.rangeColorMode=f.parse(h.Report.Gauge.StiLinearRangeColorMode,o.value.toString());break}}}catch(e){t={error:e}}finally{try{n&&!n.done&&(r=i.return)&&r.call(i)}finally{if(t)throw t.error}}},_.prototype.loadFromXml=function(e){S.prototype.loadFromXml.call(this,e);for(var t=0;t<e.childNodes.length;t++){var r=e.childNodes[t];switch(r.nodeName){case"Skin":this.skin=f.parse(h.Report.Gauge.StiLinearBarSkin,r.textContent);break;case"RangeColorMode":this.rangeColorMode=f.parse(h.Report.Gauge.StiLinearRangeColorMode,r.textContent);break}}},Object.defineProperty(_.prototype,"componentId",{get:function(){return t.StiComponentId.StiLinearBar},enumerable:!1,configurable:!0}),_.prototype.applyStyle=function(e){this.allowApplyStyle&&(this.brush=e.core.linearBarBrush,this.borderBrush=e.core.linearBarBorderBrush,this.emptyBrush=e.core.linearBarEmptyBrush,this.emptyBorderBrush=e.core.linearBarEmptyBorderBrush,this.startWidth=e.core.linearBarStartWidth,this.endWidth=e.core.linearBarEndWidth)},Object.defineProperty(_.prototype,"skin",{get:function(){return this._skin},set:function(e){this._skin=e},enumerable:!1,configurable:!0}),Object.defineProperty(_.prototype,"rangeColorMode",{get:function(){return this._rangeColorMode},set:function(e){this._rangeColorMode=e,this.onRangeColorChanged()},enumerable:!1,configurable:!0}),_.prototype.onRangeColorChanged=function(){this.colorModeHelper.reset()},Object.defineProperty(_.prototype,"barType",{get:function(){return h.Report.Gauge.StiBarRangeListType.LinearBar},enumerable:!1,configurable:!0}),Object.defineProperty(_.prototype,"localizeName",{get:function(){return"LinearBar"},enumerable:!1,configurable:!0}),_.prototype.checkActualBrushForTopGeometry=function(){this.useRangeColor?this.actualBackground=this.getRangeBrush():this.actualBackground=this.brush},_.prototype.getRangeBrush=function(){var e=this.getActualValue();if(null==e)return null;switch(this.rangeColorMode){case h.Report.Gauge.StiLinearRangeColorMode.Default:for(var t=this.rangeList.count-1;0<=t;t--){var r=this.rangeList.getByIndex(t);if(e>=r.value&&this.colorModeHelper.defaultIndex!=t)return this.colorModeHelper.defaultIndex=t,null!=r.brush?r.brush:new m(r.color)}break;case h.Report.Gauge.StiLinearRangeColorMode.MixedColor:for(var t=this.rangeList.count-1,r;0<=t;t--){if(e>=(r=this.rangeList.getByIndex(t)).value){if(this.colorModeHelper.mixedColorIndex!=t){this.colorModeHelper.mixedColorIndex=t;for(var i=[],n=0;n<=t;n++)i.push(this.rangeList.getByIndex(n).color);return new m(u.colorMixed(i))}break}}break}return null},_.prototype.createNew=function(){return new _},_.prototype.interactiveClick=function(e,t){},_.prototype.drawElement=function(e){var t;if(null==this.scale)return;switch(this.skin){case h.Report.Gauge.StiLinearBarSkin.HorizontalThermometer:this.drawHorizontalThermometer(e);break;case h.Report.Gauge.StiLinearBarSkin.VerticalThermometer:this.drawVerticalThermometer(e);break}var r,i={ref:r=B.empty},n=this.scale.barGeometry.drawGeometry(e,this.scale.minimum,this.scale.maximum,this.startWidth,this.endWidth,this.offset,this.placement,i,!1),o,r=i.ref;null!=n&&((o=new y(r,n.points[0],this.emptyBrush,this.emptyBorderBrush,this.emptyBorderWidth)).geoms.push(n),o.addGraphicsPathCloseFigureGaugeGeom(),e.addGraphicsPathGaugeGeom(o));var a=this.valueObj,s,a;this.scale.gauge.isDesigning&&(a=null!=(s=d.parseTextValue(null!==(t=this.value)&&void 0!==t&&t.stimulsoft.startsWith("{")&&this.value.stimulsoft.endsWith("}")?this.value:"{"+this.value+"}",this.scale.gauge))?s.stimulsoft.toNumber():0);var l=this.getGeometryHelperForTopIndicator(a),u,i={ref:u},n=this.getTopGeometry(l,i),o,t,s,a,l,i,u,n,u=i.ref;null!=n&&(this.checkActualBrushForTopGeometry(),(o=new y(u,n.points[0],this.actualBackground,this.borderBrush,this.borderWidth)).geoms.push(n),o.addGraphicsPathCloseFigureGaugeGeom(),t=0,l=a=s=1,i=r.x,u=r.y+r.height/2,null!=(n=this.scale)&&n.orientation==k.Vertical&&(a=0,l=s=t=1,i=r.x+r.width/2,u=r.y+r.height),o.animation=new c(t,s,a,l,i,u,h.Report.Gauge.Helpers.StiGaugeHelper.globalDurationElement,p.zero),e.addGraphicsPathGaugeGeom(o))},_.prototype.drawHorizontalThermometer=function(e){var t=B.empty,r={ref:t};this.scale.barGeometry.drawGeometry(e,this.scale.minimum,this.scale.maximum,this.startWidth,this.endWidth,this.offset,this.placement,r,!1),(t=r.ref).y-=2,t.height+=4,t.x-=3,t.width+=3;var r=new y(t,t.location,new a(l.fromArgb(225,230,233),l.fromArgb(242,243,244),90),new m(l.fromArgb(157,157,157)),.4);r.addGraphicsPathLineGaugeGeom(t.location,new g(t.right,t.top)),r.addGraphicsPathArcGaugeGeom(t.right,t.top,4,t.height,270,180),r.addGraphicsPathLineGaugeGeom(new g(t.right,t.bottom),new g(t.left,t.bottom)),r.addGraphicsPathCloseFigureGaugeGeom(),e.addGraphicsPathGaugeGeom(r)},_.prototype.drawVerticalThermometer=function(e){var t=B.empty,r={ref:t};this.scale.barGeometry.drawGeometry(e,this.scale.minimum,this.scale.maximum,this.startWidth,this.endWidth,this.offset,this.placement,r,!1),(t=r.ref).x-=2,t.width+=4,t.y-=3,t.height+=3;var r=new y(t,t.location,new a(l.fromArgb(225,230,233),l.fromArgb(242,243,244),90),new m(l.fromArgb(157,157,157)),.4);r.addGraphicsPathArcGaugeGeom(t.left,t.top-4,t.width,4,180,180),r.addGraphicsPathLineGaugeGeom(new g(t.right,t.top),new g(t.right,t.bottom)),r.addGraphicsPathLineGaugeGeom(new g(t.right,t.bottom),new g(t.left,t.bottom)),r.addGraphicsPathCloseFigureGaugeGeom(),e.addGraphicsPathGaugeGeom(r)},_.prototype.getGeometryHelperForTopIndicator=function(e){var t=this.scale,r=new x,i=this.scale.barGeometry.size,n=this.scale.barGeometry.rectGeometry,o=G.maxMinusMin(this.scale.startWidth,this.scale.endWidth);o/=2,o=t.orientation==k.Horizontal?o*i.height:o*i.width;var a=t.orientation==k.Horizontal?new B(n.x,n.y+o,n.width,n.height-2*o):new B(n.x+o,n.y,n.width-2*o,n.height),s=this.scale.minimum>this.scale.maximum?this.scale.maximum:this.scale.minimum,l=Math.abs(this.scale.minimum)+Math.abs(this.scale.maximum),u=G.length1(s,e);u<0?u=0:l<u&&(u=l);var h=u/l,c=null,p=null,d=new B(0,0,0,0),m=this.scale.startWidth>this.scale.endWidth,f=this.startWidth>this.endWidth,g=t.orientation==k.Horizontal?n.width*h:n.height*h,y=0,b=0,e=0,u=0;this.startWidth>this.endWidth?(y=this.startWidth,b=this.endWidth):(b=this.startWidth,y=this.endWidth);var S=y-b;if(t.orientation==k.Horizontal){e=y*i.height,u=b*i.height;var l=void 0,v,d;if(this.scale.isReversed)if(m)switch(this.placement){case R.Outside:f?p=(d=new B(n.x+(a.width-g),a.y-o-e,g,o+e-o*(1-h))).height-(o+e-u)*h:o+u<e?(l=(e-o-u)*(1-h),d=new B(a.x+(a.width-g),a.y-e+l,g,e-o*(1-h)-l),r.offset=o*h):(l=o*(1-h),c=(d=new B(a.x+(a.width-g),a.y-o-u,g,o+u-l)).height-(o+u-e)*h,r.state=!0);break;case R.Overlay:f?p=(d=new B(a.x+(a.width-g),O.centerY(a)-e/2,g,e)).height-(e-u)*h:(l=(e-u)/2*(1-h),d=new B(a.x+(a.width-g),O.centerY(a)-e/2+l,g,e-2*l));break;default:f?(l=o*(1-h),p=(d=new B(a.x+(a.width-g),a.bottom+l,g,o+e-l)).height-(o+e-u)*h):o+u<e?(l=o*(1-h),v=(e-o-u)*(1-h),d=new B(a.x+(a.width-g),a.bottom+l,g,e-l-v),r.offset=e-o-u-v):(l=o*(1-h),c=(d=new B(a.x+(a.width-g),a.bottom+l,g,o+u-l)).height-(o+u-e)*h,r.state=!0);break}else switch(this.placement){case R.Outside:f?o+u<e?(d=new B(a.x+(a.width-g),a.y-e,g,e),r.offset=(e-o-u)*h,p=d.height-r.offset-o*h):(l=(o+u-e)*(1-h),p=(d=new B(n.x+(n.width-g),n.y-u+l,g,o+u-l)).height-o*h,r.state=!0):(l=(o+e-u)*(1-h),c=(d=new B(n.x+(n.width-g),n.y-e+l,g,e+o-l)).height-o*h);break;case R.Overlay:f?p=(d=new B(a.x+(n.width-g),O.centerY(a)-e/2,g,e)).height-2*((e-u)/2*h):(l=(e-u)/2*(1-h),d=new B(a.x+(n.width-g),O.centerY(a)-e/2+l,g,e-2*l));break;default:f?o+u<e?(d=new B(a.x+(n.width-g),a.bottom,g,e),r.offset=o*h,p=d.height-(e-o-u)*h-r.offset):(l=(o+u-e)*h,p=(d=new B(a.x+(n.width-g),a.bottom,g,e+l)).height-o*h,r.state=!0):(l=(o+e-u)*(1-h),c=(d=new B(a.x+(n.width-g),a.bottom,g,o+e-l)).height-o*h);break}else if(m)switch(this.placement){case R.Outside:f?p=(d=new B(n.x,n.y-e,g,e+o*h)).height-(o+e-u)*h:c=(d=new B(n.x,n.y-u,g,o+u-o*(1-h))).height-(o+u-e)*h;break;case R.Overlay:f?(d=new B(a.x,O.centerY(a)-e/2,g,e),p=u+(e-u)/2*h):(l=(e-u)/2*(1-h),d=new B(a.x,O.centerY(a)-e/2+l,g,e-2*l));break;default:f?(l=o*h,p=(d=new B(n.x,n.bottom-l,g,l+e)).height-(o+e-u)*h):o+u<e?(l=o*(1-h),r.offset=o-l,d=new B(a.x,a.bottom+l,g,e-l-(e-o-u)*(1-h))):(l=o*h,c=(d=new B(n.x,n.bottom-l,g,l+u)).height-(o+u-e)*h,r.state=!0);break}else{var v=(o+e-u)*h+u;switch(this.placement){case R.Outside:f?o+u<e?(d=new B(a.x,a.y-e,g,e),r.offset=(d.height-o-u)*h,p=d.height-r.offset-o*h):(l=(o+u-e)*h,p=(d=new B(a.x,a.y-e-l,g,e+l)).height-o*h,r.state=!0):c=(d=new B(a.x,a.y-v,g,v)).height-o*h;break;case R.Overlay:l=(e-u)/2*(1-h),f?(d=new B(n.x,O.centerY(a)-e/2,g,e),p=u+(e-u)/2*(1-h)):d=new B(n.x,O.centerY(a)-e/2+l,g,e-2*l);break;default:f?o+u<e?(d=new B(a.x,a.bottom,g,e),r.offset=o*h,p=d.height-(e-o-u)*h-r.offset):(l=(o+u-e)*h,p=(d=new B(a.x,a.bottom,g,e+l)).height-o*h,r.state=!0):(d=new B(a.x,a.bottom,g,v),c=u+(e-u)*h);break}}}else{e=y*i.width,u=b*i.width;var i=void 0,w,w,w;if(this.scale.isReversed)if(m)switch(this.placement){case R.Outside:var w,i=o*(1-h);f?p=(d=new B(a.x-o-e,a.y,o+e-i,g)).width-(o+e-u)*h:o+u<e?(w=(e-u-o)*(1-h),d=new B(a.x-e+w,a.y,e-i-w,g),r.offset=o*h):(c=(d=new B(n.x-u,n.y,o+u-i,g)).width-(o+u-e)*h,r.state=!0);break;case R.Overlay:f?(d=new B(O.centerX(a)-e/2,a.y,e,g),r.offset=(e-u)/2*h):(i=(e-u)/2*(1-h),d=new B(O.centerX(a)-e/2+i,a.y,e-2*i,g));break;default:i=o*(1-h),f?p=(d=new B(a.right+i,a.y,o+e-i,g)).width-(o+e-u)*h:o+u<e?(w=(e-o-u)*(1-h),d=new B(a.right+i,a.y,e-i-w,g),c=(e-o-u)*h,r.offset=o*h):(c=(d=new B(a.right+i,a.y,o+u-i,g)).width-(o+u-e)*h,r.state=!0);break}else switch(this.placement){case R.Outside:f?o+u<e?(d=new B(a.x-e,a.y,e,g),r.offset=o*h,p=d.width-r.offset-(e-s-o)*(1-h)):(i=(o+u-e)*(1-h),p=(d=new B(a.x-o-u+i,a.y,o+u-i,g)).width-o*h,r.state=!0):(i=(o+e-u)*(1-h),c=(d=new B(a.x-o-e+i,a.y,o+e-i,g)).width-o*h);break;case R.Overlay:f?(d=new B(O.centerX(a)-e/2,a.y,e,g),r.offset=(e-u)/2*h):(i=(e-u)/2*(1-h),d=new B(O.centerX(a)-e/2+i,a.y,e-2*i,g));break;default:f?o+u<e?(d=new B(a.right,a.y,e,g),r.offset=o*h,p=d.width-r.offset-(e-u-o)*h):(i=(o+u-e)*h,p=(d=new B(a.right,a.y,o+u-i,g)).width-o*h,r.state=!0):(i=(o+e-u)*(1-h),c=(d=new B(a.right,n.y,o+e-i,g)).width-o*h);break}else if(m)switch(this.placement){case R.Outside:f?(i=o*(1-h),p=(d=new B(a.x-o-e,a.y+(n.height-g),o+e-i,g)).width-(o+e-u)*h):(i=o*(1-h),o+u<e?(w=(e-o-u)*(1-h),d=new B(a.x-e+w,a.y+(n.height-g),e-i-w,g),r.offset=o*h):(c=(d=new B(a.x-o-u,a.y+(n.height-g),o+u-i,g)).width-(o+u-e)*h,r.state=!0));break;case R.Overlay:f?(d=new B(O.centerX(a)-e/2,a.y+(n.height-g),e,g),r.offset=(e-u)/2*h):(i=(e-u)/2*(1-h),d=new B(O.centerX(a)-e/2+i,a.y+(n.height-g),e-2*i,g));break;default:i=o*(1-h),f?p=(d=new B(a.right+i,a.y+(n.height-g),e+o-i,g)).width-(o+e-u)*h:o+u<=e?(w=(e-o-u)*(1-h),d=new B(a.right+i,a.y+(n.height-g),e-i-w,g),r.offset=(e-o-u)*h):(c=(d=new B(a.right+i,a.y+(n.height-g),o+u-i,g)).width-(o+u-e)*h,r.state=!0);break}else switch(this.placement){case R.Outside:f?o+u<e?(d=new B(a.x-e,a.y+(n.height-g),e,g),r.offset=o*h,i=(e-u-o)*h,p=d.width-r.offset-i):(i=(o+u-e)*(1-h),p=(d=new B(n.x-u+i,n.y+(n.height-g),o+u-i,g)).width-o*h,r.state=!0):(i=(o+e-u)*(1-h),c=(d=new B(n.x-e+i,n.y+(n.height-g),e+o-i,g)).width-o*h);break;case R.Overlay:f?(d=new B(O.centerX(a)-e/2,n.y+(n.height-g),e,g),r.offset=(e-u)*h/2):(i=(e-u)/2*(1-h),d=new B(O.centerX(a)-e/2+i,n.y+(n.height-g),e-2*i,g));break;default:f?o+u<e?(d=new B(a.right,n.y+(n.height-g),e,g),r.offset=o*h,p=d.width-r.offset-(e-o-u)*h):(i=(o+u-e)*h,p=(d=new B(a.right,n.y+(n.height-g),o+u-i,g)).width-o*h,r.state=!0):(i=(o+e-u)*(1-h),c=(d=new B(a.right,n.y+(n.height-g),o+e-i,g)).width-o*h);break}}return r.rect=d,r.isStartGreaterEnd=m,r.isThisStartGreaterEnd=f,r.scale=t,r.maxWidth=null==c?e:c,r.minWidth=null==p?u:p,r},_.prototype.getTopGeometry=function(e,t){var r=new B(0,0,e.rect.width,e.rect.height),i=[];if(e.scale.orientation==k.Horizontal)if(e.scale.isReversed)if(e.isStartGreaterEnd)if(e.isThisStartGreaterEnd)switch(this.placement){case R.Outside:i[0]=new g(0,r.height-e.minWidth),i[1]=new g(r.width,0),i[2]=new g(r.width,e.maxWidth),i[3]=new g(0,r.height);break;case R.Overlay:i[0]=new g(0,(r.height-e.minWidth)/2),i[1]=new g(r.width,0),i[2]=new g(r.width,r.height),i[3]=new g(0,r.height-(r.height-e.minWidth)/2);break;default:i[0]=new g(0,0),i[1]=new g(r.width,r.height-e.maxWidth),i[2]=new g(r.width,r.height),i[3]=new g(0,e.minWidth);break}else switch(this.placement){case R.Outside:e.state?(i[0]=new g(0,r.height-e.maxWidth),i[1]=new g(r.width,0),i[2]=new g(r.width,e.minWidth)):(i[0]=new g(0,0),i[1]=new g(r.width,r.height-e.offset-e.minWidth),i[2]=new g(r.width,r.height-e.offset)),i[3]=new g(0,r.height);break;case R.Overlay:i[0]=new g(0,0),i[1]=new g(r.width,O.centerY(r)-e.minWidth/2),i[2]=new g(r.width,O.centerY(r)+e.minWidth/2),i[3]=new g(0,r.height);break;default:e.state?(i[0]=new g(0,0),i[1]=new g(r.width,r.height-e.minWidth),i[2]=new g(r.width,r.height),i[3]=new g(0,e.maxWidth)):(i[0]=new g(0,0),i[1]=new g(r.width,r.height-e.offset-e.minWidth),i[2]=new g(r.width,r.height-e.offset),i[3]=new g(0,r.height));break}else if(e.isThisStartGreaterEnd)switch(this.placement){case R.Outside:e.state?(i[0]=new g(0,0),i[1]=new g(r.width,r.height-e.maxWidth),i[2]=new g(r.width,r.height),i[3]=new g(0,e.minWidth)):(i[0]=new g(0,e.offset),i[1]=new g(r.width,0),i[2]=new g(r.width,r.height),i[3]=new g(0,e.minWidth+e.offset));break;case R.Overlay:i[0]=new g(0,O.centerY(r)-e.minWidth/2),i[1]=new g(r.width,0),i[2]=new g(r.width,r.height),i[3]=new g(0,O.centerY(r)+e.minWidth/2);break;default:e.state?(i[0]=new g(0,r.height-e.minWidth),i[1]=new g(r.width,0),i[2]=new g(r.width,e.maxWidth),i[3]=new g(0,r.height)):(i[0]=new g(0,e.offset),i[1]=new g(r.width,0),i[2]=new g(r.width,r.height),i[3]=new g(0,e.offset+e.minWidth));break}else switch(this.placement){case R.Outside:i[0]=new g(0,0),i[1]=new g(r.width,r.height-e.minWidth),i[2]=new g(r.width,r.height),i[3]=new g(0,e.maxWidth);break;case R.Overlay:i[0]=new g(0,0),i[1]=new g(r.width,O.centerY(r)-e.minWidth/2),i[2]=new g(r.width,O.centerY(r)+e.minWidth/2),i[3]=new g(0,r.height);break;default:i[0]=new g(0,r.height-e.maxWidth),i[1]=new g(r.width,0),i[2]=new g(r.width,e.minWidth),i[3]=new g(0,r.height);break}else if(e.isStartGreaterEnd)if(e.isThisStartGreaterEnd)switch(this.placement){case R.Outside:i[0]=new g(0,0),i[1]=new g(r.width,r.height-e.minWidth),i[2]=new g(r.width,r.height),i[3]=new g(0,e.maxWidth);break;case R.Overlay:i[0]=new g(0,0),i[1]=new g(r.width,O.centerY(r)-e.minWidth/2),i[2]=new g(r.width,O.centerY(r)+e.minWidth/2),i[3]=new g(0,r.height);break;default:i[0]=new g(0,r.height-e.maxWidth),i[1]=new g(r.width,0),i[2]=new g(r.width,e.minWidth),i[3]=new g(0,r.height);break}else switch(this.placement){case R.Outside:i[0]=new g(0,0),i[1]=new g(r.width,r.height-e.maxWidth),i[2]=new g(r.width,r.height),i[3]=new g(0,e.minWidth);break;case R.Overlay:i[0]=new g(0,O.centerY(r)-e.minWidth/2),i[1]=new g(r.width,0),i[2]=new g(r.width,r.height),i[3]=new g(0,O.centerY(r)+e.minWidth/2);break;default:e.state?(i[0]=new g(0,r.height-e.minWidth),i[1]=new g(r.width,0),i[2]=new g(r.width,e.maxWidth),i[3]=new g(0,r.height)):(i[0]=new g(0,e.offset),i[1]=new g(r.width,0),i[2]=new g(r.width,r.height),i[3]=new g(0,e.offset+e.minWidth));break}else if(e.isThisStartGreaterEnd)switch(this.placement){case R.Outside:e.state?(i[0]=new g(0,r.height-e.maxWidth),i[1]=new g(r.width,0),i[2]=new g(r.width,e.minWidth)):(i[0]=new g(0,0),i[1]=new g(r.width,e.offset),i[2]=new g(r.width,e.offset+e.minWidth)),i[3]=new g(0,r.height);break;case R.Overlay:i[0]=new g(0,0),i[1]=new g(r.width,O.centerY(r)-e.minWidth/2),i[2]=new g(r.width,O.centerY(r)+e.minWidth/2),i[3]=new g(0,r.height);break;default:e.state?(i[0]=new g(0,0),i[1]=new g(r.width,r.height-e.minWidth),i[2]=new g(r.width,r.height),i[3]=new g(0,e.maxWidth)):(i[0]=new g(0,0),i[1]=new g(r.width,e.offset),i[2]=new g(r.width,e.offset+e.minWidth),i[3]=new g(0,r.height));break}else switch(this.placement){case R.Outside:i[0]=new g(0,r.height-e.minWidth),i[1]=new g(r.width,0),i[2]=new g(r.width,e.maxWidth),i[3]=new g(0,r.height);break;case R.Overlay:i[0]=new g(0,O.centerY(r)-e.minWidth/2),i[1]=new g(r.width,0),i[2]=new g(r.width,r.height),i[3]=new g(0,O.centerY(r)+e.minWidth/2);break;default:i[0]=new g(0,0),i[1]=new g(r.width,r.height-e.maxWidth),i[2]=new g(r.width,r.height),i[3]=new g(0,e.minWidth);break}else if(e.scale.isReversed)if(e.isStartGreaterEnd)if(e.isThisStartGreaterEnd)switch(this.placement){case R.Outside:i[0]=new g(0,0),i[1]=new g(e.maxWidth,0),i[2]=new g(r.width,r.height),i[3]=new g(r.width-e.minWidth,r.height);break;case R.Overlay:i[0]=new g(0,0),i[1]=new g(r.width,0),i[2]=new g(r.width-e.offset,r.height),i[3]=new g(e.offset,r.height);break;default:i[0]=new g(r.width-e.maxWidth,0),i[1]=new g(r.width,0),i[2]=new g(e.minWidth,r.height),i[3]=new g(0,r.height);break}else switch(this.placement){case R.Outside:e.state?(i[0]=new g(0,0),i[1]=new g(e.minWidth,0),i[2]=new g(r.width,r.height),i[3]=new g(r.width-e.maxWidth,r.height)):(i[0]=new g(r.width-e.offset-e.minWidth,0),i[1]=new g(r.width-e.offset,0),i[2]=new g(r.width,r.height),i[3]=new g(0,r.height));break;case R.Overlay:i[0]=new g((r.width-e.minWidth)/2,0),i[1]=new g(r.width-(r.width-e.minWidth)/2,0),i[2]=new g(r.width,r.height),i[3]=new g(0,r.height);break;default:e.state?(i[0]=new g(r.width-e.minWidth,0),i[1]=new g(r.width,0),i[2]=new g(e.maxWidth,r.height)):(i[0]=new g(e.offset,0),i[1]=new g(e.offset+e.minWidth,0),i[2]=new g(r.width,r.height)),i[3]=new g(0,r.height);break}else if(e.isThisStartGreaterEnd)switch(this.placement){case R.Outside:e.state?(i[0]=new g(r.width-e.maxWidth,0),i[1]=new g(r.width,0),i[2]=new g(e.minWidth,r.height),i[3]=new g(0,r.height)):(i[0]=new g(0,0),i[1]=new g(r.width,0),i[2]=new g(r.width-e.offset,r.height),i[3]=new g(r.width-e.offset-e.minWidth,r.height));break;case R.Overlay:i[0]=new g(0,0),i[1]=new g(r.width,0),i[2]=new g(r.width-e.offset,r.height),i[3]=new g(e.offset,r.height);break;default:e.state?(i[0]=new g(0,0),i[1]=new g(e.maxWidth,0),i[2]=new g(r.width,r.height),i[3]=new g(r.width-e.minWidth,r.height)):(i[0]=new g(0,0),i[1]=new g(r.width,0),i[2]=new g(e.offset+e.minWidth,r.height),i[3]=new g(e.offset,r.height));break}else switch(this.placement){case R.Outside:i[0]=new g(r.width-e.minWidth,0),i[1]=new g(r.width,0),i[2]=new g(e.maxWidth,r.height),i[3]=new g(0,r.height);break;case R.Overlay:i[0]=new g((r.width-e.minWidth)/2,0),i[1]=new g(r.width-(r.width-e.minWidth)/2,0),i[2]=new g(r.width,r.height),i[3]=new g(0,r.height);break;default:i[0]=new g(0,0),i[1]=new g(e.minWidth,0),i[2]=new g(r.width,r.height),i[3]=new g(r.width-e.maxWidth,r.height);break}else if(e.isStartGreaterEnd)if(e.isThisStartGreaterEnd)switch(this.placement){case R.Outside:i[0]=new g(r.width-e.minWidth,0),i[1]=new g(r.width,0),i[2]=new g(e.maxWidth,r.height),i[3]=new g(0,r.height);break;case R.Overlay:i[0]=new g(e.offset,0),i[1]=new g(r.width-e.offset,0),i[2]=new g(r.width,r.height),i[3]=new g(0,r.height);break;default:i[0]=new g(0,0),i[1]=new g(e.minWidth,0),i[2]=new g(r.width,r.height),i[3]=new g(r.width-e.maxWidth,r.height);break}else switch(this.placement){case R.Outside:e.state?(i[0]=new g(r.width-e.maxWidth,0),i[1]=new g(r.width,0),i[2]=new g(e.minWidth,r.height),i[3]=new g(0,r.height)):(i[0]=new g(0,0),i[1]=new g(r.width,0),i[2]=new g(r.width-e.offset,r.height),i[3]=new g(r.width-e.offset-e.minWidth,r.height));break;case R.Overlay:i[0]=new g(0,0),i[1]=new g(r.width,0),i[2]=new g(r.width-(r.width-e.minWidth)/2,r.height),i[3]=new g((r.width-e.minWidth)/2,r.height);break;default:e.state?(i[0]=new g(0,0),i[1]=new g(e.maxWidth,0),i[2]=new g(r.width,r.height),i[3]=new g(r.width-e.minWidth,r.height)):(i[0]=new g(0,0),i[1]=new g(r.width,0),i[2]=new g(r.width-e.offset,r.height),i[3]=new g(r.width-e.offset-e.minWidth,r.height));break}else if(e.isThisStartGreaterEnd)switch(this.placement){case R.Outside:e.state?(i[0]=new g(0,0),i[1]=new g(e.minWidth,0),i[2]=new g(r.width,r.height),i[3]=new g(r.width-e.maxWidth,r.height)):(i[0]=new g(r.width-e.offset-e.minWidth,0),i[1]=new g(r.width-e.offset,0),i[2]=new g(r.width,r.height),i[3]=new g(0,r.height));break;case R.Overlay:i[0]=new g(e.offset,0),i[1]=new g(r.width-e.offset,0),i[2]=new g(r.width,r.height),i[3]=new g(0,r.height);break;default:e.state?(i[0]=new g(r.width-e.minWidth,0),i[1]=new g(r.width,0),i[2]=new g(e.maxWidth,r.height)):(i[0]=new g(e.offset,0),i[1]=new g(e.offset+e.minWidth,0),i[2]=new g(r.width,r.height)),i[3]=new g(0,r.height);break}else switch(this.placement){case R.Outside:i[0]=new g(0,0),i[1]=new g(e.maxWidth,0),i[2]=new g(r.width,r.height),i[3]=new g(r.width-e.minWidth,r.height);break;case R.Overlay:i[0]=new g(0,0),i[1]=new g(r.width,0),i[2]=new g(O.centerX(r)+e.minWidth/2,r.height),i[3]=new g(O.centerX(r)-e.minWidth/2,r.height);break;default:i[0]=new g(r.width-e.maxWidth,0),i[1]=new g(r.width,0),i[2]=new g(e.minWidth,r.height),i[3]=new g(0,r.height);break}var n=e.rect.left,o=e.rect.top,a=this.scale.barGeometry.size.width*this.offset;return e.scale.orientation==k.Horizontal?this.placement==R.Outside?o-=a:o+=a:this.placement==R.Outside?n-=a:n+=a,i[0].x+=n,i[1].x+=n,i[2].x+=n,i[3].x+=n,i[0].y+=o,i[1].y+=o,i[2].y+=o,i[3].y+=o,t.ref=r,new s(i)},i=_,o.StiLinearBar=i}(Stimulsoft=Stimulsoft||{}),function(e){var t,r,i,n,o,a;function s(){return null!==a&&a.apply(this,arguments)||this}r=t=e.Report||(e.Report={}),n=i=r.Gauge||(r.Gauge={}),r=o=n.Events||(n.Events={}),n=e.Report.Events.StiEvent,__extends(s,a=n),s.prototype.toString=function(){return"GetSkipValues"},n=s,r.StiGetSkipValuesEvent=n}(Stimulsoft=Stimulsoft||{}),function(e){var t,r,i,n,o,a;function s(){return null!==a&&a.apply(this,arguments)||this}r=t=e.Report||(e.Report={}),n=i=r.Gauge||(r.Gauge={}),r=o=n.Events||(n.Events={}),n=e.Report.Events.StiEvent,__extends(s,a=n),s.prototype.toString=function(){return"GetText"},n=s,r.StiGetSkipIndicesEvent=n}(Stimulsoft=Stimulsoft||{}),function(l){var e,i,t,r,n,o,a,s,u,h,c,p,f,d,m,g;function y(){var e=null!==g&&g.apply(this,arguments)||this;return e._getSkipValuesEvent=new h,e._getSkipIndicesEvent=new c,e._skipValues="",e._skipIndices="",e._placement=l.Report.Gauge.StiPlacement.Outside,e._skipValuesObj=null,e._skipIndicesObj=null,e._offset=0,e._minimumValue=null,e._maximumValue=null,e}i=e=l.Report||(l.Report={}),r=t=i.Components||(i.Components={}),o=n=r.Gauge||(r.Gauge={}),r=a=o.Primitives||(o.Primitives={}),s=l.Report.Gauge.StiPlacement,u=l.System.StiString,h=l.Report.Gauge.Events.StiGetSkipValuesEvent,c=l.Report.Gauge.Events.StiGetSkipIndicesEvent,p=l.Report.Events.StiGetValueEventArgs,f=l.System.Collections.Hashtable,d=l.System.Enum,m=l.Report.Expressions.StiExpression,g=r.StiGaugeElement,__extends(y,g),y.prototype.saveToJsonObject=function(e){var t=g.prototype.saveToJsonObject.call(this,e);return t.addPropertyJObject("GetSkipValuesEvent",this.getSkipValuesEvent.saveToJsonObject(e)),t.addPropertyJObject("GetSkipIndicesEvent",this.getSkipIndicesEvent.saveToJsonObject(e)),t.addPropertyJObject("SkipValues",new m(this.skipValues).saveToJsonObject(e)),t.addPropertyJObject("SkipIndices",new m(this.skipIndices).saveToJsonObject(e)),t.addPropertyEnum("Placement",l.Report.Gauge.StiPlacement,this.placement),t.addPropertyNumber("Offset",this.offset,0),t.addPropertyNumber("MinimumValue",this.minimumValue,null),t.addPropertyNumber("MaximumValue",this.maximumValue,null),t},y.prototype.loadFromJsonObject=function(e){var t,r;g.prototype.loadFromJsonObject.call(this,e);try{for(var i=__values(e.properties()),n=i.next();!n.done;n=i.next()){var o=n.value;switch(o.name){case"GetSkipValuesEvent":var a=new h;a.loadFromJsonObject(o.value),this.getSkipValuesEvent=a;break;case"GetSkipIndicesEvent":var a=new c;a.loadFromJsonObject(o.value),this.getSkipIndicesEvent=a;break;case"SkipValues":var s=new m;s.loadFromJsonObject(o.value),this.skipValues=s.value;break;case"SkipIndices":var s=new m;s.loadFromJsonObject(o.value),this.skipIndices=s.value;break;case"Placement":this.placement=d.parse(l.Report.Gauge.StiPlacement,o.value.toString());break;case"Offset":this.offset=o.value.stimulsoft.toNumber();break;case"MinimumValue":this.minimumValue=o.value.stimulsoft.toNumber();break;case"MaximumValue":this.maximumValue=o.value.stimulsoft.toNumber();break}}}catch(e){t={error:e}}finally{try{n&&!n.done&&(r=i.return)&&r.call(i)}finally{if(t)throw t.error}}},y.prototype.loadFromXml=function(e){g.prototype.loadFromXml.call(this,e);for(var t=0;t<e.childNodes.length;t++){var r=e.childNodes[t];switch(r.nodeName){case"GetSkipValuesEvent":break;case"GetSkipIndicesEvent":break;case"SkipValues":var i=new m;i.loadFromXml(r),this.skipValues=i.value;break;case"SkipIndices":var i=new m;i.loadFromXml(r),this.skipIndices=i.value;break;case"Placement":this.placement=d.parse(s,r.textContent);break;case"Offset":this.offset=r.textContent.stimulsoft.toNumber();break;case"MinimumValue":this.minimumValue=r.textContent.stimulsoft.toNumber();break;case"MaximumValue":this.maximumValue=r.textContent.stimulsoft.toNumber();break}}},y.prototype.clone=function(){var e=g.prototype.clone.call(this);return null!=this.skipValues?e.skipValues=this.skipValues:e.skipValues=null,null!=this.skipIndices?e.skipIndices=this.skipIndices:e.skipIndices=null,e},y.prototype.onGetSkipValues=function(e){},y.prototype.invokeGetSkipValues=function(e,t){try{this.onGetSkipValues(t)}catch(e){var r=u.format("Expression in GetSkipValues property of '{0}' series from '{1}' chart can't be evaluated!","StiTickBase",this.scale.gauge.name);i.StiLogService.write(this.stimulsoft.getType(),r),i.StiLogService.write(this.stimulsoft.getType(),e)}},Object.defineProperty(y.prototype,"getSkipValuesEvent",{get:function(){return this._getSkipValuesEvent},set:function(e){this._getSkipValuesEvent=e},enumerable:!1,configurable:!0}),y.prototype.onGetSkipIndices=function(e){},y.prototype.invokeGetSkipIndices=function(e,t){try{this.onGetSkipIndices(t)}catch(e){var r=u.format("Expression in GetSkipIndices property of '{0}' series from '{1}' chart can't be evaluated!","StiTickBase",this.scale.gauge.name);i.StiLogService.write(this.stimulsoft.getType(),r),i.StiLogService.write(this.stimulsoft.getType(),e)}},Object.defineProperty(y.prototype,"getSkipIndicesEvent",{get:function(){return this._getSkipIndicesEvent},set:function(e){this._getSkipIndicesEvent=e},enumerable:!1,configurable:!0}),Object.defineProperty(y.prototype,"skipValues",{get:function(){return this._skipValues},set:function(e){this._skipValues=e},enumerable:!1,configurable:!0}),Object.defineProperty(y.prototype,"skipIndices",{get:function(){return this._skipIndices},set:function(e){this._skipIndices=e},enumerable:!1,configurable:!0}),Object.defineProperty(y.prototype,"placement",{get:function(){return this._placement},set:function(e){this._placement=e},enumerable:!1,configurable:!0}),Object.defineProperty(y.prototype,"skipValuesObj",{get:function(){return this._skipValuesObj},set:function(e){this._skipValuesObj=e},enumerable:!1,configurable:!0}),Object.defineProperty(y.prototype,"skipIndicesObj",{get:function(){return this._skipIndicesObj},set:function(e){this._skipIndicesObj=e},enumerable:!1,configurable:!0}),Object.defineProperty(y.prototype,"offset",{get:function(){return this._offset},set:function(e){this._offset=e},enumerable:!1,configurable:!0}),Object.defineProperty(y.prototype,"minimumValue",{get:function(){return this._minimumValue},set:function(e){this._minimumValue=e},enumerable:!1,configurable:!0}),Object.defineProperty(y.prototype,"maximumValue",{get:function(){return this._maximumValue},set:function(e){this._maximumValue=e},enumerable:!1,configurable:!0}),Object.defineProperty(y.prototype,"isSkipMajorValues",{get:function(){return!1},enumerable:!1,configurable:!0}),y.prototype.getPointCollection=function(){return null},y.prototype.getMinorCollections=function(){var t,e,r=new f,i=this.isSkipMajorValues?this.getMajorCollections():null,n=this.scale.minorInterval;0==n&&(n=1);var o=this.scale.scaleHelper.actualMinimum,a=this.scale.scaleHelper.actualMaximum,s=this.scale.scaleHelper.totalLength,l=o,u=n,h=0;r.add(l,0);var c=s/100;l+=n;while(l<=a)h+=u,r.add(l,h/c*.01),l+=n;if(null!=i)try{for(var p=__values(i.keys),d=p.next();!d.done;d=p.next()){var m=d.value;r.containsKey(m)&&r.remove(m)}}catch(e){t={error:e}}finally{try{d&&!d.done&&(e=p.return)&&e.call(p)}finally{if(t)throw t.error}}return r},y.prototype.getMajorCollections=function(){var e=new f,t=this.scale.majorInterval;0==t&&(t=1);var r=this.scale.scaleHelper.actualMinimum,i=this.scale.scaleHelper.actualMaximum,n=this.scale.scaleHelper.totalLength,o=t,a=r,s=0;e.add(a,0);var l=n/100;a+=t;while(a<=i)s+=o,e.add(a,s/l*.01),a+=t;return e},y.prototype.checkTickValue=function(e,t,r,i){if(null!=t){var n=0;while(n<t.length){if(t[n]==i)return!0;n++}}if(null!=e){var n=0;while(n<e.length){if(e[n]==r)return!0;n++}}return!1},y.prototype.prepareGaugeElement=function(){var e=new p;this.invokeGetSkipValues(this,e),this.skipValuesObj=l.Report.Gauge.Helpers.StiGaugeHelper.getFloatArrayValueFromString(e.value);var e=new p;this.invokeGetSkipIndices(this,e),this.skipIndicesObj=l.Report.Gauge.Helpers.StiGaugeHelper.getFloatArrayValueFromString(e.value)},y.prototype.getOffset=function(e){return null==e?this.offset:e},y.prototype.getPlacement=function(e){return null==e?this.placement:e},o=y,r.StiTickBase=o}(Stimulsoft=Stimulsoft||{}),function(i){var e,t,r,n,o,a,s,l,u,h,c,p,d;function m(){var e=null!==d&&d.apply(this,arguments)||this;return e._textFormat=null,e._formatService=null,e._textBrush=new u(h.black),e._font=new c("Arial",10),e}t=e=i.Report||(i.Report={}),n=r=t.Components||(t.Components={}),t=o=n.Gauge||(n.Gauge={}),n=a=t.Primitives||(t.Primitives={}),s=i.System.StiString,l=i.Base.Drawing.StiBrush,u=i.Base.Drawing.StiSolidBrush,h=i.System.Drawing.Color,c=i.System.Drawing.Font,p=i.Base.StiJsonReportObjectHelper,d=n.StiTickBase,__extends(m,d),m.prototype.saveToJsonObject=function(e){var e=d.prototype.saveToJsonObject.call(this,e);return e.addPropertyStringNullOrEmpty("TextFormat",this.textFormat),e.addPropertyStringNullOrEmpty("TextBrush",p.Serialize.jBrush(this.textBrush)),e.addPropertyStringNullOrEmpty("Font",p.Serialize.font(this.font,"Arial",10)),e},m.prototype.loadFromJsonObject=function(e){var t,r;d.prototype.loadFromJsonObject.call(this,e);try{for(var i=__values(e.properties()),n=i.next();!n.done;n=i.next()){var o=n.value;switch(o.name){case"TextFormat":this.textFormat=o.value.toString();break;case"TextBrush":this.textBrush=p.Deserialize.brush(o.value);break;case"Font":this.font=p.Deserialize.font(o.value.toString(),this.font);break}}}catch(e){t={error:e}}finally{try{n&&!n.done&&(r=i.return)&&r.call(i)}finally{if(t)throw t.error}}},m.prototype.loadFromXml=function(e){d.prototype.loadFromXml.call(this,e);for(var t=0;t<e.childNodes.length;t++){var r=e.childNodes[t];switch(r.nodeName){case"TextFormat":this.textFormat=r.textContent;break;case"TextBrush":this.textBrush=l.loadFromXml(r.textContent);break;case"Font":this.font=i.System.Convert.toFont(r.textContent);break}}},m.prototype.clone=function(){var e=d.prototype.clone.call(this);return e.textBrush=this.textBrush.clone(),e},Object.defineProperty(m.prototype,"textFormat",{get:function(){return this._textFormat},set:function(e){this._textFormat=e},enumerable:!1,configurable:!0}),Object.defineProperty(m.prototype,"formatService",{get:function(){return this._formatService},set:function(e){this._formatService=e},enumerable:!1,configurable:!0}),Object.defineProperty(m.prototype,"textBrush",{get:function(){return this._textBrush},set:function(e){this._textBrush=e},enumerable:!1,configurable:!0}),Object.defineProperty(m.prototype,"font",{get:function(){return this._font},set:function(e){this._font=e},enumerable:!1,configurable:!0}),m.prototype.getTextForRender=function(e,t){return s.isNullOrEmpty(t)?e.toString():s.format(t,e)},m.prototype.getTextForRender2=function(e,t){return void 0===t&&(t=this.textFormat),s.isNullOrEmpty(t)?e:s.format(t,e)},t=m,n.StiTickLabelBase=t}(Stimulsoft=Stimulsoft||{}),function(i){var e,t,r,n;t=e=i.Report||(i.Report={}),t=r=t.Gauge||(t.Gauge={}),function(e){var h=i.System.Collections.List,c=i.System.Collections.Dictionary,p=i.Report.StiAbbreviationNumberFormatHelper,d=(t.prototype.toString=function(){return this.valueStr+" - "+this.count+'"'},t);function t(e,t,r){this.valueKey=e,this.valueStr=t,this.count=r}e.CacheInfo=d;var r=(m.getLabels=function(n){for(var t,e,o=new c,a=new h,r=function(e){var t=Math.round(n.keys[e]);if(0==t)return o.add(n.keys[e],"0"),"continue";var r=!1,i;t<0&&(r=!0,t=Math.abs(t)),i=t<1e3?t.toString():t<1e6?Math.round(t/1e3)+"K":t<1e9?Math.round(t/1e6)+"M":t<1e12?Math.round(t/1e9)+"B":t<1e15?Math.round(t/1e12)+"T":t.toString(),r&&(i="-"+i);var r=a.firstOrDefault(function(e){return e.valueStr==i});null==r?a.add(new d(n.keys[e],i,1)):r.count++,o.add(n.keys[e],i)},i=0;i<n.count;i++)r(i);try{for(var s=__values(a),l=s.next();!l.done;l=s.next()){var u=l.value,u;1<u.count&&(m.prepare(u,u={ref:o}),o=u.ref)}}catch(e){t={error:e}}finally{try{l&&!l.done&&(e=s.return)&&e.call(s)}finally{if(t)throw t.error}}return o},m.prepare=function(e,t){var r,i,n=t.ref,o=n.keys.stimulsoft.toArray();try{for(var a=__values(o),s=a.next();!s.done;s=a.next()){var l=s.value,u;if(n.get(l)!=e.valueStr)continue;n.set(l,p.format(l))}}catch(e){r={error:e}}finally{try{s&&!s.done&&(i=a.return)&&i.call(a)}finally{if(r)throw r.error}}},m);function m(){}e.StiTickLabelHelper=r}(n=t.Helpers||(t.Helpers={}))}(Stimulsoft=Stimulsoft||{}),function(u){var e,t,r,i,n,o,a,M,h,T,s,l,F,N,E,H,c;function p(){var e=null!==c&&c.apply(this,arguments)||this;return e._labelRotationMode=u.Report.Gauge.StiLabelRotationMode.None,e._offsetAngle=0,e}t=e=u.Report||(u.Report={}),i=r=t.Components||(t.Components={}),t=n=i.Gauge||(i.Gauge={}),i=o=t.Primitives||(t.Primitives={}),a=u.Report.Gauge.StiLabelRotationMode,M=u.System.StiString,h=u.Report.Gauge.StiRadialPosition,T=u.Report.Gauge.StiPlacement,t=u.Report.Components.Gauge.Primitives.StiTickLabelBase,s=u.System.Enum,l=u.Report.Gauge.StiGaugeElemenType,F=u.Report.Painters.StiGaugeContextPainter,N=u.System.Drawing.Rectangle,E=u.System.Drawing.Point,H=u.Report.Gauge.Helpers.StiTickLabelHelper,__extends(p,c=t),p.prototype.saveToJsonObject=function(e){var e=c.prototype.saveToJsonObject.call(this,e);return e.addPropertyNumber("OffsetAngle",this.offsetAngle,0),e.addPropertyEnum("LabelRotationMode",u.Report.Gauge.StiLabelRotationMode,this.labelRotationMode),e},p.prototype.loadFromJsonObject=function(e){var t,r;c.prototype.loadFromJsonObject.call(this,e);try{for(var i=__values(e.properties()),n=i.next();!n.done;n=i.next()){var o=n.value;switch(o.name){case"OffsetAngle":this.offsetAngle=o.value.stimulsoft.toNumber();break;case"LabelRotationMode":this.labelRotationMode=s.parse(u.Report.Gauge.StiLabelRotationMode,o.value.toString());break}}}catch(e){t={error:e}}finally{try{n&&!n.done&&(r=i.return)&&r.call(i)}finally{if(t)throw t.error}}},p.prototype.loadFromXml=function(e){c.prototype.loadFromXml.call(this,e);for(var t=0;t<e.childNodes.length;t++){var r=e.childNodes[t];switch(r.nodeName){case"OffsetAngle":this.offsetAngle=r.textContent.stimulsoft.toNumber();break;case"LabelRotationMode":this.labelRotationMode=s.parse(a,r.textContent);break}}},Object.defineProperty(p.prototype,"labelRotationMode",{get:function(){return this._labelRotationMode},set:function(e){this._labelRotationMode=e},enumerable:!1,configurable:!0}),Object.defineProperty(p.prototype,"offsetAngle",{get:function(){return this._offsetAngle},set:function(e){this._offsetAngle=e},enumerable:!1,configurable:!0}),Object.defineProperty(p.prototype,"elementType",{get:function(){return l.RadialElement},enumerable:!1,configurable:!0}),p.prototype.drawElement=function(e){var t,r,i=this.scale;if(null==i)return;var n=this.scale.barGeometry.rectGeometry;if(n.width<=0||n.height<=0)return;var o=this.getPointCollection();if(0==o.count)return;var a=H.getLabels(o),s=this.textFormat,l=this.scale.scaleHelper.actualMinimum,u=this.scale.scaleHelper.actualMaximum,h=i.barGeometry.center,c=this.scale.barGeometry.radius,n=this.scale.barGeometry.diameter,p=i.getSweepAngle(),d=i.startAngle,m=this.scale.scaleHelper.maxWidth,f=this.scale.scaleHelper.minWidth,g=(m*=n)-(f*=n),y=this.placement==T.Outside?c*(1+this.offset):c*(1-this.offset),b=this.skipValuesObj,S=this.skipIndicesObj,v=-1;try{for(var w=__values(o.keys),k=w.next();!k.done;k=w.next()){var G=k.value;if(v++,G<l)continue;if(u<G)continue;if(this.checkTickValue(b,S,G,v))continue;if(null!=this.minimumValue&&G<this.minimumValue)continue;if(null!=this.maximumValue&&G>this.maximumValue)continue;var B=M.isNullOrEmpty(s)&&this.scale.gauge.shortValue?a.get(G):this.getTextForRender(G,s),R=F.changeFontSize(this.font,e.zoom),O=e.measureString(B,R),x=this.scale.isReversed?d+p-o.get(G)*p+this.offsetAngle:d+o.get(G)*p-this.offsetAngle,_=new E,P=0,C,P,_,j,j,C;_=(P=this.placement==T.Outside?(C={ref:_},this.getMatrixRotation(e,h,O,this.labelRotationMode,y,x,C)):(j=void 0,j=this.placement==T.Overlay?this.scale.isUp?y-(f+g*o.get(G))/2-O.width/2:y-(m-g*o.get(G))/2-O.width/2:this.scale.isUp?y-f-g*o.get(G)-O.width:y-m+g*o.get(G)-O.width,C={ref:_},this.getMatrixRotation(e,h,O,this.labelRotationMode,j,x,C)),C.ref),e.addTextGaugeGeom(B,R,this.textBrush,new N(_.x,_.y,O.width,O.height),null);var W=-1;while(++W<P)e.addPopTranformGaugeGeom()}}catch(e){t={error:e}}finally{try{k&&!k.done&&(r=w.return)&&r.call(w)}finally{if(t)throw t.error}}},p.prototype.getMatrixRotation=function(e,t,r,i,n,o,a){var s=a.ref,l=0;if(i==u.Report.Gauge.StiLabelRotationMode.Automatic)switch(this.getRadialPosition(o)){case h.TopCenter:case h.TopRight:case h.TopLeft:l=90;break;case h.BottomRight:case h.LeftCenter:case h.BottonLeft:l=-90;break;case h.BottomCenter:l=-o;break;case h.RightCenter:l=-o-90;break}else if(i==u.Report.Gauge.StiLabelRotationMode.None)l=-o;else if(i==u.Report.Gauge.StiLabelRotationMode.SurroundIn)switch(this.getRadialPosition(o)){case h.TopCenter:l=-o-180;break;default:l=-90;break}else l=90;s=new E(t.x+n,t.y-r.height/2);var n=0;return 0!=o&&(e.addPushMatrixGaugeGeom(o,t),n++),0!=l&&(e.addPushMatrixGaugeGeom(l,new E(s.x+r.width/2,s.y+r.height/2)),n++),a.ref=s,n},p.prototype.getRadialPosition=function(e){e+=90;while(360<e)e-=360;return 0==e||360==e?h.TopCenter:0<e&&e<90?h.TopRight:90==e?h.RightCenter:90<e&&e<180?h.BottomRight:180==e?h.BottomCenter:180<e&&e<270?h.BottonLeft:270==e?h.LeftCenter:h.TopLeft},t=p,i.StiRadialTickLabelBase=t}(Stimulsoft=Stimulsoft||{}),function(e){var t,r,i,n,o,a,s,l;function u(){var e=null!==l&&l.apply(this,arguments)||this;return e._skipMajorValues=!0,e}r=t=e.Report||(e.Report={}),n=i=r.Components||(r.Components={}),a=o=n.Gauge||(n.Gauge={}),s=e.Report.Gauge.StiGaugeElemenType,n=e.Report.Components.Gauge.Primitives.StiRadialTickLabelBase,__extends(u,l=n),u.prototype.saveToJsonObject=function(e){var e=l.prototype.saveToJsonObject.call(this,e);return e.addPropertyIdent("Ident",this.stimulsoft.getType().stimulsoft.getTypeName()),e.addPropertyBool("SkipMajorValues",this.skipMajorValues,!0),e},u.prototype.loadFromJsonObject=function(e){var t,r;l.prototype.loadFromJsonObject.call(this,e);try{for(var i=__values(e.properties()),n=i.next();!n.done;n=i.next()){var o=n.value;switch(o.name){case"SkipMajorValues":this.skipMajorValues=o.value.stimulsoft.toBoolean();break}}}catch(e){t={error:e}}finally{try{n&&!n.done&&(r=i.return)&&r.call(i)}finally{if(t)throw t.error}}},u.prototype.loadFromXml=function(e){l.prototype.loadFromXml.call(this,e);for(var t=0;t<e.childNodes.length;t++){var r=e.childNodes[t];switch(r.nodeName){case"SkipMajorValues":this.skipMajorValues=r.textContent.stimulsoft.toBoolean();break}}},Object.defineProperty(u.prototype,"componentId",{get:function(){return r.StiComponentId.StiRadialTickLabelMinor},enumerable:!1,configurable:!0}),u.prototype.applyStyle=function(e){this.allowApplyStyle&&(this.textBrush=e.core.tickLabelMinorTextBrush,this.font=e.core.tickLabelMinorFont)},Object.defineProperty(u.prototype,"skipMajorValues",{get:function(){return this._skipMajorValues},set:function(e){this._skipMajorValues=e},enumerable:!1,configurable:!0}),Object.defineProperty(u.prototype,"isSkipMajorValues",{get:function(){return this._skipMajorValues},enumerable:!1,configurable:!0}),Object.defineProperty(u.prototype,"elementType",{get:function(){return s.RadialElement},enumerable:!1,configurable:!0}),Object.defineProperty(u.prototype,"localizeName",{get:function(){return"RadialTickLabelMinor"},enumerable:!1,configurable:!0}),u.prototype.createNew=function(){return new u},u.prototype.getPointCollection=function(){return this.getMinorCollections()},n=u,a.StiRadialTickLabelMinor=n}(Stimulsoft=Stimulsoft||{}),function(e){var t,r,i,n,o,a,s,l;function u(){return null!==l&&l.apply(this,arguments)||this}r=t=e.Report||(e.Report={}),n=i=r.Components||(r.Components={}),a=o=n.Gauge||(n.Gauge={}),s=e.Report.Gauge.StiGaugeElemenType,n=e.Report.Components.Gauge.Primitives.StiRadialTickLabelBase,__extends(u,l=n),u.prototype.saveToJsonObject=function(e){var e=l.prototype.saveToJsonObject.call(this,e);return e.addPropertyIdent("Ident",this.stimulsoft.getType().stimulsoft.getTypeName()),e},Object.defineProperty(u.prototype,"componentId",{get:function(){return r.StiComponentId.StiRadialTickLabelMajor},enumerable:!1,configurable:!0}),u.prototype.applyStyle=function(e){this.allowApplyStyle&&(this.textBrush=e.core.tickLabelMajorTextBrush,this.font=e.core.tickLabelMajorFont)},Object.defineProperty(u.prototype,"elementType",{get:function(){return s.RadialElement},enumerable:!1,configurable:!0}),Object.defineProperty(u.prototype,"localizeName",{get:function(){return"RadialTickLabelMajor"},enumerable:!1,configurable:!0}),u.prototype.createNew=function(){return new u},u.prototype.getPointCollection=function(){return this.getMajorCollections()},n=u,a.StiRadialTickLabelMajor=n}(Stimulsoft=Stimulsoft||{}),function(o){var e,t,r,i;t=e=o.Report||(o.Report={}),t=r=t.Gauge||(t.Gauge={}),function(e){var t=o.System.EventHandler,r=o.System.EventArgs;e.StiGetTextEventHandler=new t("sender: any, e: StiGetTextEventArgs");var r=(__extends(n,i=r),Object.defineProperty(n.prototype,"value",{get:function(){return this._value},set:function(e){this._value=e},enumerable:!1,configurable:!0}),n),i;function n(){return null!==i&&i.apply(this,arguments)||this}e.StiGetTextEventArgs=r}(i=t.Events||(t.Events={}))}(Stimulsoft=Stimulsoft||{}),function(e){var t,r,i,n,o,a;function s(){return null!==a&&a.apply(this,arguments)||this}r=t=e.Report||(e.Report={}),n=i=r.Gauge||(r.Gauge={}),r=o=n.Events||(n.Events={}),n=e.Report.Events.StiEvent,__extends(s,a=n),s.prototype.toString=function(){return"GetText"},n=s,r.StiGetTextEvent=n}(Stimulsoft=Stimulsoft||{}),function(t){var e,n,r,i,o,T,F,a,l,N,E,H,A,s,u,h,c,p,V,d;function m(){var e=null!==d&&d.apply(this,arguments)||this;return e._valueObj=0,e._textObj=null,e._values=new V,e._getValueEvent=new c,e._getTextEvent=new l,e._value="",e._text="",e}n=e=t.Report||(t.Report={}),i=r=n.Components||(n.Components={}),T=o=i.Gauge||(i.Gauge={}),F=t.System.StiString,a=t.Report.Gauge.Events.StiGetTextEventArgs,l=t.Report.Gauge.Events.StiGetTextEvent,N=t.Report.Gauge.StiPlacement,E=t.System.Drawing.Point,H=t.System.Drawing.Rectangle,A=t.Report.Painters.StiGaugeContextPainter,s=t.Report.Engine.StiParser.StiParser,u=t.Report.Events.StiGetValueEventArgs,h=t.Report.Gauge.StiGaugeElemenType,c=t.Report.Events.StiGetValueEvent,p=t.Report.Expressions.StiExpression,V=t.Report.Gauge.Collections.StiCustomValuesCollection,i=t.Report.Components.Gauge.Primitives.StiRadialTickLabelBase,__extends(m,d=i),m.prototype.saveToJsonObject=function(e){var t=d.prototype.saveToJsonObject.call(this,e);return t.addPropertyIdent("Ident",this.stimulsoft.getType().stimulsoft.getTypeName()),t.addPropertyJObject("GetValueEvent",this.getValueEvent.saveToJsonObject(e)),t.addPropertyJObject("GetTextEvent",this.getTextEvent.saveToJsonObject(e)),t.addPropertyJObject("Value",new p(this.value).saveToJsonObject(e)),t.addPropertyJObject("Text",new p(this.text).saveToJsonObject(e)),t.addPropertyJObject("Values",this.values.saveToJsonObject(e)),t},m.prototype.loadFromJsonObject=function(e){var t,r;d.prototype.loadFromJsonObject.call(this,e);try{for(var i=__values(e.properties()),n=i.next();!n.done;n=i.next()){var o=n.value;switch(o.name){case"GetValueEvent":var a=new c;a.loadFromJsonObject(o.value),this.getValueEvent=a;break;case"GetTextEvent":var a=new l;a.loadFromJsonObject(o.value),this.getTextEvent=a;break;case"Value":var s=new p;s.loadFromJsonObject(o.value),this.value=s.value;break;case"Text":var s=new p;s.loadFromJsonObject(o.value),this.text=s.value;break;case"Values":this.values.loadFromJsonObject(o.value);break}}}catch(e){t={error:e}}finally{try{n&&!n.done&&(r=i.return)&&r.call(i)}finally{if(t)throw t.error}}},m.prototype.loadFromXml=function(e){d.prototype.loadFromXml.call(this,e);for(var t=0;t<e.childNodes.length;t++){var r=e.childNodes[t];switch(r.nodeName){case"GetValueEvent":var i=new c;i.loadFromXml(r),this.getValueEvent=i;break;case"GetTextEvent":var i=new l;i.loadFromXml(r),this.getTextEvent=i;break;case"Value":var n=new p;n.loadFromXml(r),this.value=n.value;break;case"Text":var n=new p;n.loadFromXml(r),this.text=n.value;break;case"Values":this.values.loadFromXml(r);break}}},Object.defineProperty(m.prototype,"componentId",{get:function(){return n.StiComponentId.StiRadialTickLabelCustom},enumerable:!1,configurable:!0}),m.prototype.clone=function(){var t,e,r=d.prototype.clone.call(this);null!=this.value?r.value=this.value:r.value=null,null!=this.text?r.text=this.text:r.text=null,r.values=new V;try{for(var i=__values(this.values.list),n=i.next();!n.done;n=i.next()){var o=n.value;r.values.add(o.clone())}}catch(e){t={error:e}}finally{try{n&&!n.done&&(e=i.return)&&e.call(i)}finally{if(t)throw t.error}}return r},Object.defineProperty(m.prototype,"valueObj",{get:function(){return this._valueObj},set:function(e){this._valueObj=e},enumerable:!1,configurable:!0}),Object.defineProperty(m.prototype,"textObj",{get:function(){return this._textObj},set:function(e){this._textObj=e},enumerable:!1,configurable:!0}),Object.defineProperty(m.prototype,"values",{get:function(){return this._values},set:function(e){this._values=e},enumerable:!1,configurable:!0}),Object.defineProperty(m.prototype,"elementType",{get:function(){return h.RadialElement},enumerable:!1,configurable:!0}),Object.defineProperty(m.prototype,"localizeName",{get:function(){return"RadialTickLabelCustom"},enumerable:!1,configurable:!0}),m.prototype.onGetValue=function(e){},m.prototype.invokeGetValue=function(e,t){try{var r;this.onGetValue(t),e.scale.gauge.report.calculationMode==n.StiCalculationMode.Interpretation&&(r=s.parseTextValue(this.value,e.scale.gauge),t.value=e.scale.gauge.report.toString2(r))}catch(e){var i=F.format("Expression in GetValue property of '{0}' series from '{1}' chart can't be evaluated!","Indicator",this.scale.gauge.name);n.StiLogService.write(this.stimulsoft.getType(),i),n.StiLogService.write(this.stimulsoft.getType(),e)}},Object.defineProperty(m.prototype,"getValueEvent",{get:function(){return this._getValueEvent},set:function(e){this._getValueEvent=e},enumerable:!1,configurable:!0}),m.prototype.onGetText=function(e){},m.prototype.invokeGetText=function(e,t){try{this.onGetText(t)}catch(e){var r=F.format("Expression in GetText property of '{0}' series from '{1}' chart can't be evaluated!","GaugeElement",this.scale.gauge.name);n.StiLogService.write(this.stimulsoft.getType(),r),n.StiLogService.write(this.stimulsoft.getType(),e)}},Object.defineProperty(m.prototype,"getTextEvent",{get:function(){return this._getTextEvent},set:function(e){this._getTextEvent=e},enumerable:!1,configurable:!0}),Object.defineProperty(m.prototype,"value",{get:function(){return this._value},set:function(e){this._value=e},enumerable:!1,configurable:!0}),Object.defineProperty(m.prototype,"text",{get:function(){return this._text},set:function(e){this._text=e},enumerable:!1,configurable:!0}),m.prototype.createNew=function(){return new m},m.prototype.prepareGaugeElement=function(){d.prototype.prepareGaugeElement.call(this);var e=new u;this.invokeGetValue(this,e),this.valueObj=t.Report.Gauge.Helpers.StiGaugeHelper.getFloatValueFromObject2(e.value,0);var e=new a;this.invokeGetText(this,e),this.textObj=e.value},m.prototype.drawElement=function(e){var t,r,i=this.scale;if(null==i)return;var n=this.scale.barGeometry.rectGeometry;if(n.width<=0||n.height<=0)return;var o=i.barGeometry.center,a=this.scale.barGeometry.radius,s=i.getSweepAngle(),l=i.startAngle,u=this.scale.scaleHelper.actualMinimum,h=this.scale.scaleHelper.actualMaximum,c=this.scale.scaleHelper.maxWidth,p=this.scale.scaleHelper.minWidth,d=(c*=2*a)-(p*=2*a),m=this.textFormat,f=c-p,g=this.skipValuesObj,y=this.skipIndicesObj,b=this.values;null!=b&&0!=b.count||(b=new V).add(new T.StiRadialTickLabelCustomValue(this.valueObj,this.textObj,this.offset,this.offsetAngle,this.labelRotationMode,this.placement));var S=A.changeFontSize(this.font,e.zoom),v=-1;try{for(var w=__values(b.toCast()),k=w.next();!k.done;k=w.next()){var G=k.value;if(v++,G.value<u)continue;if(G.value>h)continue;if(this.checkTickValue(g,y,G.value,v))continue;if(null!=this.minimumValue&&G.value<this.minimumValue)continue;if(null!=this.maximumValue&&G.value>this.maximumValue)continue;var B=this.scale.getPosition(G.value),R=F.isNullOrEmpty(G.text)?"":this.getTextForRender2(G.text,m),O=this.getPlacement(G.placement)==N.Outside?a*(1+this.getOffset(G.offset)):a*(1-this.getOffset(G.offset)),x=this.getTextForRender2(R,m),_=e.measureString(x,S),P=this.scale.isReversed?l+s-B*s+this.getOffsetAngle(G.offsetAngle):l+B*s-this.getOffsetAngle(G.offsetAngle),C=0,R=new E,j,C,R,W,j,W,j;R=(C=this.getPlacement(G.placement)==N.Outside?(j={ref:R},this.getMatrixRotation(e,o,_,this.getLabelRotationMode(G.labelRotationMode),O,P,j)):(j=(W=this.getPlacement(G.placement)==N.Overlay?(W=void 0,this.scale.isUp?O-(p+d*B)/2-_.width/2:O-(c-d*B)/2-_.width/2):(W=0,this.scale.isUp?O-p-d*B-_.width:O-c+d*B-_.width),{ref:R}),this.getMatrixRotation(e,o,_,this.getLabelRotationMode(G.labelRotationMode),W,P,j)),j.ref),e.addTextGaugeGeom(x,S,this.textBrush,new H(R.x,R.y,_.width,_.height),null);for(var M=0;M<C;M++)e.addPopTranformGaugeGeom()}}catch(e){t={error:e}}finally{try{k&&!k.done&&(r=w.return)&&r.call(w)}finally{if(t)throw t.error}}},m.prototype.getOffsetAngle=function(e){return null==e?this.offsetAngle:e},m.prototype.getLabelRotationMode=function(e){return null==e?this.labelRotationMode:e},i=m,T.StiRadialTickLabelCustom=i}(Stimulsoft=Stimulsoft||{}),function(a){var e,t,r,i,n,o,s,l,u,h,c,p,d,m;function f(){var e=null!==m&&m.apply(this,arguments)||this;return e._relativeHeight=.1,e._relativeWidth=.1,e._skin=a.Report.Gauge.StiTickMarkSkin.Rectangle,e._brush=new h(u.white),e._borderBrush=new h(u.fromArgb(89,87,87)),e._borderWidth=1,e}t=e=a.Report||(a.Report={}),i=r=t.Components||(t.Components={}),t=n=i.Gauge||(i.Gauge={}),i=o=t.Primitives||(t.Primitives={}),s=a.Report.Gauge.StiTickMarkSkin,l=a.Report.Gauge.Helpers.StiGaugeSkinHelper,u=a.System.Drawing.Color,h=a.Base.Drawing.StiSolidBrush,c=a.Base.Drawing.StiBrush,p=a.System.Enum,t=a.Report.Components.Gauge.Primitives.StiTickBase,d=a.Base.StiJsonReportObjectHelper,__extends(f,m=t),f.prototype.saveToJsonObject=function(e){var e=m.prototype.saveToJsonObject.call(this,e);return e.addPropertyNumber("RelativeHeight",this.relativeHeight,.1),e.addPropertyNumber("RelativeWidth",this.relativeWidth,.1),e.addPropertyEnum("Skin",a.Report.Gauge.StiTickMarkSkin,this.skin),e.addPropertyStringNullOrEmpty("Brush",d.Serialize.jBrush(this.brush)),e.addPropertyStringNullOrEmpty("BorderBrush",d.Serialize.jBrush(this.borderBrush)),e.addPropertyNumber("BorderWidth",this.borderWidth,1),e},f.prototype.loadFromJsonObject=function(e){var t,r;m.prototype.loadFromJsonObject.call(this,e);try{for(var i=__values(e.properties()),n=i.next();!n.done;n=i.next()){var o=n.value;switch(o.name){case"RelativeHeight":this.relativeHeight=o.value.stimulsoft.toNumber();break;case"RelativeWidth":this.relativeWidth=o.value.stimulsoft.toNumber();break;case"Skin":this.skin=p.parse(a.Report.Gauge.StiTickMarkSkin,o.value.toString());break;case"Brush":this.brush=d.Deserialize.brush(o.value);break;case"BorderBrush":this.borderBrush=d.Deserialize.brush(o.value);break;case"BorderWidth":this.borderWidth=o.value.stimulsoft.toNumber();break}}}catch(e){t={error:e}}finally{try{n&&!n.done&&(r=i.return)&&r.call(i)}finally{if(t)throw t.error}}},f.prototype.loadFromXml=function(e){m.prototype.loadFromXml.call(this,e);for(var t=0;t<e.childNodes.length;t++){var r=e.childNodes[t];switch(r.nodeName){case"RelativeHeight":this.relativeHeight=r.textContent.stimulsoft.toNumber();break;case"RelativeWidth":this.relativeWidth=r.textContent.stimulsoft.toNumber();break;case"Skin":this.skin=p.parse(s,r.textContent);break;case"Brush":this.brush=c.loadFromXml(r.textContent);break;case"BorderBrush":this.borderBrush=c.loadFromXml(r.textContent);break;case"BorderWidth":this.borderWidth=r.textContent.stimulsoft.toNumber();break}}},f.prototype.clone=function(){var e=m.prototype.clone.call(this);return e.brush=this.brush.clone(),e.borderBrush=this.borderBrush.clone(),e},Object.defineProperty(f.prototype,"relativeHeight",{get:function(){return this._relativeHeight},set:function(e){this._relativeHeight=e},enumerable:!1,configurable:!0}),Object.defineProperty(f.prototype,"relativeWidth",{get:function(){return this._relativeWidth},set:function(e){this._relativeWidth=e},enumerable:!1,configurable:!0}),Object.defineProperty(f.prototype,"skin",{get:function(){return this._skin},set:function(e){this._skin=e},enumerable:!1,configurable:!0}),Object.defineProperty(f.prototype,"customSkin",{get:function(){return this._customSkin},set:function(e){this._customSkin=e},enumerable:!1,configurable:!0}),Object.defineProperty(f.prototype,"brush",{get:function(){return this._brush},set:function(e){this._brush=e},enumerable:!1,configurable:!0}),Object.defineProperty(f.prototype,"borderBrush",{get:function(){return this._borderBrush},set:function(e){this._borderBrush=e},enumerable:!1,configurable:!0}),Object.defineProperty(f.prototype,"borderWidth",{get:function(){return this._borderWidth},set:function(e){this._borderWidth=e},enumerable:!1,configurable:!0}),f.prototype.getActualSkin=function(){return null!=this.customSkin?this.customSkin:l.getTickMarkSkin(this.skin)},f.prototype.getRelativeWidth=function(e){return null==e?this.relativeWidth:e},f.prototype.getRelativeHeight=function(e){return null==e?this.relativeHeight:e},t=f,i.StiTickMarkBase=t}(Stimulsoft=Stimulsoft||{}),function(e){var t,r,i,n,o,a,O,x,_,P,s;function l(){return null!==s&&s.apply(this,arguments)||this}r=t=e.Report||(e.Report={}),n=i=r.Components||(r.Components={}),r=o=n.Gauge||(n.Gauge={}),n=a=r.Primitives||(r.Primitives={}),O=e.System.Drawing.Rectangle,x=e.Report.Gauge.Helpers.StiRectangleHelper,_=e.Report.Gauge.StiPlacement,P=e.System.Drawing.Orientation,s=n.StiTickMarkBase,__extends(l,s),l.prototype.drawElement=function(e){var t,r,i=this.scale;if(null==i)return;var n=i.barGeometry.size,o=i.barGeometry.rectGeometry,a=this.getPointCollection();if(0==a.count)return;var s=this.skipValuesObj,l=this.skipIndicesObj,u=this.getActualSkin(),h=this.scale.scaleHelper.actualMinimum,c=this.scale.scaleHelper.actualMaximum,p=i.startWidth<i.endWidth,d,m,m=i.orientation==P.Horizontal?(d=o.width,n.height):(d=o.height,n.width),f=i.barGeometry.getRestToLenght();m*=this.offset;var g=n.width*this.relativeWidth,y=n.height*this.relativeHeight;y<1&&(y=1);var b=-1;try{for(var S=__values(a.keys),v=S.next();!v.done;v=S.next()){var w=v.value;if(b++,w<h)continue;if(c<w)continue;if(this.checkTickValue(s,l,w,b))continue;if(null!=this.minimumValue&&w<this.minimumValue)continue;if(null!=this.maximumValue&&w>this.maximumValue)continue;var k=a.get(w)*d,G=void 0,B=void 0,R,G,B,R;i.orientation==P.Horizontal?(B=i.isReversed?o.right-k-g:o.left+k-g/2,G=this.placement==_.Overlay?x.centerY(o)-y/2-m:(R=p?(1-a.get(w))*f:f*a.get(w),this.placement==_.Outside?o.top-y-m+R:o.bottom+m-R)):(G=i.isReversed?o.top+k-y/2:o.bottom-k-y/2,B=this.placement==_.Overlay?x.centerX(o)-g/2-m:(R=p?(1-a.get(w))*f:f*a.get(w),this.placement==_.Outside?o.left-g-3-m+R:o.right+m+3-R)),u.draw(e,this,new O(Math.round(B),Math.round(G),Math.trunc(g),Math.trunc(y)))}}catch(e){t={error:e}}finally{try{v&&!v.done&&(r=S.return)&&r.call(S)}finally{if(t)throw t.error}}},r=l,n.StiLinearTickMarkBase=r}(Stimulsoft=Stimulsoft||{}),function(e){var t,r,i,n,o,a,s;function l(){var e=null!==s&&s.apply(this,arguments)||this;return e._skipMajorValues=!0,e}r=t=e.Report||(e.Report={}),n=i=r.Components||(r.Components={}),a=o=n.Gauge||(n.Gauge={}),n=e.Report.Components.Gauge.Primitives.StiLinearTickMarkBase,__extends(l,s=n),l.prototype.saveToJsonObject=function(e){var e=s.prototype.saveToJsonObject.call(this,e);return e.addPropertyIdent("Ident",this.stimulsoft.getType().stimulsoft.getTypeName()),e.addPropertyBool("SkipMajorValues",this.skipMajorValues,!0),e},l.prototype.loadFromJsonObject=function(e){var t,r;s.prototype.loadFromJsonObject.call(this,e);try{for(var i=__values(e.properties()),n=i.next();!n.done;n=i.next()){var o=n.value;switch(o.name){case"SkipMajorValues":this.skipMajorValues=o.value.stimulsoft.toBoolean();break}}}catch(e){t={error:e}}finally{try{n&&!n.done&&(r=i.return)&&r.call(i)}finally{if(t)throw t.error}}},l.prototype.loadFromXml=function(e){s.prototype.loadFromXml.call(this,e);for(var t=0;t<e.childNodes.length;t++){var r=e.childNodes[t];switch(r.nodeName){case"SkipMajorValues":this.skipMajorValues=r.textContent.stimulsoft.toBoolean();break}}},Object.defineProperty(l.prototype,"componentId",{get:function(){return r.StiComponentId.StiLinearTickMarkMinor},enumerable:!1,configurable:!0}),l.prototype.applyStyle=function(e){this.allowApplyStyle&&(this.borderBrush=e.core.tickMarkMinorBorder,this.brush=e.core.tickMarkMinorBrush,this.borderWidth=e.core.tickMarkMinorBorderWidth)},Object.defineProperty(l.prototype,"skipMajorValues",{get:function(){return this._skipMajorValues},set:function(e){this._skipMajorValues=e},enumerable:!1,configurable:!0}),Object.defineProperty(l.prototype,"isSkipMajorValues",{get:function(){return this.skipMajorValues},enumerable:!1,configurable:!0}),Object.defineProperty(l.prototype,"localizeName",{get:function(){return"LinearTickMarkMinor"},enumerable:!1,configurable:!0}),l.prototype.createNew=function(){return new l},l.prototype.getPointCollection=function(){return this.getMinorCollections()},n=l,a.StiLinearTickMarkMinor=n}(Stimulsoft=Stimulsoft||{}),function(e){var t,r,i,n,o,a,s;function l(){return null!==s&&s.apply(this,arguments)||this}r=t=e.Report||(e.Report={}),n=i=r.Components||(r.Components={}),a=o=n.Gauge||(n.Gauge={}),n=e.Report.Components.Gauge.Primitives.StiLinearTickMarkBase,__extends(l,s=n),l.prototype.saveToJsonObject=function(e){var e=s.prototype.saveToJsonObject.call(this,e);return e.addPropertyIdent("Ident",this.stimulsoft.getType().stimulsoft.getTypeName()),e},Object.defineProperty(l.prototype,"componentId",{get:function(){return r.StiComponentId.StiLinearTickMarkMajor},enumerable:!1,configurable:!0}),l.prototype.applyStyle=function(e){this.allowApplyStyle&&(this.borderBrush=e.core.tickMarkMajorBorder,this.brush=e.core.tickMarkMajorBrush,this.borderWidth=e.core.tickMarkMajorBorderWidth)},Object.defineProperty(l.prototype,"localizeName",{get:function(){return"LinearTickMarkMajor"},enumerable:!1,configurable:!0}),l.prototype.createNew=function(){return new l},l.prototype.getPointCollection=function(){return this.getMajorCollections()},n=l,a.StiLinearTickMarkMajor=n}(Stimulsoft=Stimulsoft||{}),function(t){var e,n,r,i,o,O,a,x,_,P,C,s,l,u,h,j,c;function p(){var e=null!==c&&c.apply(this,arguments)||this;return e._valueObj=0,e._values=new j,e._getValueEvent=new u,e._value="",e}n=e=t.Report||(t.Report={}),i=r=n.Components||(n.Components={}),O=o=i.Gauge||(i.Gauge={}),a=t.System.StiString,x=t.System.Drawing.Orientation,_=t.Report.Gauge.Helpers.StiRectangleHelper,P=t.Report.Gauge.StiPlacement,C=t.System.Drawing.Rectangle,s=t.Report.Engine.StiParser.StiParser,l=t.Report.Events.StiGetValueEventArgs,u=t.Report.Events.StiGetValueEvent,i=t.Report.Components.Gauge.Primitives.StiLinearTickMarkBase,h=t.Report.Expressions.StiExpression,j=t.Report.Gauge.Collections.StiCustomValuesCollection,__extends(p,c=i),p.prototype.saveToJsonObject=function(e){var t=c.prototype.saveToJsonObject.call(this,e);return t.addPropertyIdent("Ident",this.stimulsoft.getType().stimulsoft.getTypeName()),t.addPropertyJObject("GetValueEvent",this.getValueEvent.saveToJsonObject(e)),t.addPropertyJObject("Value",new h(this.value).saveToJsonObject(e)),t.addPropertyJObject("Values",this.values.saveToJsonObject(e)),t},p.prototype.loadFromJsonObject=function(e){var t,r;c.prototype.loadFromJsonObject.call(this,e);try{for(var i=__values(e.properties()),n=i.next();!n.done;n=i.next()){var o=n.value;switch(o.name){case"GetSkipValuesEvent":var a=new u;a.loadFromJsonObject(o.value),this.getValueEvent=a;break;case"GetSkipIndicesEvent":var a=new h;a.loadFromJsonObject(o.value),this.value=a.value;break;case"Values":this.values.loadFromJsonObject(o.value);break}}}catch(e){t={error:e}}finally{try{n&&!n.done&&(r=i.return)&&r.call(i)}finally{if(t)throw t.error}}},p.prototype.loadFromXml=function(e){c.prototype.loadFromXml.call(this,e);for(var t=0;t<e.childNodes.length;t++){var r=e.childNodes[t];switch(r.nodeName){case"GetSkipValuesEvent":var i=new u;i.loadFromXml(r),this.getValueEvent=i;break;case"GetSkipIndicesEvent":var i=new h;i.loadFromXml(r),this.value=i.value;break;case"Values":this.values.loadFromXml(r);break}}},Object.defineProperty(p.prototype,"componentId",{get:function(){return n.StiComponentId.StiLinearTickMarkCustom},enumerable:!1,configurable:!0}),p.prototype.clone=function(){var t,e,r=c.prototype.clone.call(this);null!=this.value?r.value=this.value:r.value=null,r.values=new j;try{for(var i=__values(this.values.list),n=i.next();!n.done;n=i.next()){var o=n.value;r.values.add(o.clone())}}catch(e){t={error:e}}finally{try{n&&!n.done&&(e=i.return)&&e.call(i)}finally{if(t)throw t.error}}return r},Object.defineProperty(p.prototype,"valueObj",{get:function(){return this._valueObj},set:function(e){this._valueObj=e},enumerable:!1,configurable:!0}),Object.defineProperty(p.prototype,"values",{get:function(){return this._values},set:function(e){this._values=e},enumerable:!1,configurable:!0}),Object.defineProperty(p.prototype,"localizeName",{get:function(){return"LinearTickMarkCustom"},enumerable:!1,configurable:!0}),p.prototype.onGetValue=function(e){},p.prototype.invokeGetValue=function(e,t){try{var r;this.onGetValue(t),e.scale.gauge.report.calculationMode==n.StiCalculationMode.Interpretation&&(r=s.parseTextValue(this.value,e.scale.gauge),t.value=e.scale.gauge.report.toString2(r))}catch(e){var i=a.format("Expression in GetValue property of '{0}' series from '{1}' chart can't be evaluated!","Indicator",this.scale.gauge.name);n.StiLogService.write(this.stimulsoft.getType(),i),n.StiLogService.write(this.stimulsoft.getType(),e)}},Object.defineProperty(p.prototype,"getValueEvent",{get:function(){return this._getValueEvent},set:function(e){this._getValueEvent=e},enumerable:!1,configurable:!0}),Object.defineProperty(p.prototype,"value",{get:function(){return this._value},set:function(e){this._value=e},enumerable:!1,configurable:!0}),p.prototype.createNew=function(){return new p},p.prototype.prepareGaugeElement=function(){c.prototype.prepareGaugeElement.call(this);var e=new l;this.invokeGetValue(this,e),this.valueObj=t.Report.Gauge.Helpers.StiGaugeHelper.getFloatValueFromObject2(e.value,0)},p.prototype.drawElement=function(e){var t,r,i=this.scale;if(null==i)return;var n=i.barGeometry.size,o=i.barGeometry.rectGeometry,a=this.scale.barGeometry.getRestToLenght(),s=i.orientation==x.Horizontal?n.height:n.width;s*=this.offset;var l=this.scale.scaleHelper.actualMinimum,u=this.scale.scaleHelper.actualMaximum,h=this.getActualSkin(),c=this.skipValuesObj,p=this.skipIndicesObj,d=this.values;null!=d&&0!=d.count||(d=new j).add(new O.StiLinearTickMarkCustomValue(this.valueObj,this.offset,this.relativeWidth,this.relativeHeight,this.placement,h));var m=-1;try{for(var f=__values(d.toCast()),g=f.next();!g.done;g=f.next()){var y=g.value;if(m++,y.value<l)continue;if(y.value>u)continue;if(this.checkTickValue(c,p,y.value,m))continue;if(null!=this.minimumValue&&y.value<this.minimumValue)continue;if(null!=this.maximumValue&&y.value>this.maximumValue)continue;var b=void 0,S=void 0,v=void 0,w=this.scale.getPosition(y.value),k=n.width*this.getRelativeWidth(y.relativeWidth),G=n.height*this.getRelativeHeight(y.relativeHeight),B,v,b,B,R;v=i.orientation==x.Horizontal?(b=i.isReversed?o.width-o.width*w:o.width*w,this.getPlacement(y.placement)==P.Overlay?(S=o.left+b-k/2,_.centerY(o)-G/2-s):(B=i.startWidth<i.endWidth?(1-w)*a:a*w,this.getPlacement(y.placement)==P.Outside?(S=o.left+b-k/2,o.top-G-s+B):(S=o.left+b-k/2,o.bottom+s-B))):(b=i.isReversed?o.height*w:o.height-o.height*w,S=this.getPlacement(y.placement)==P.Overlay?_.centerX(o)-k/2:(B=i.startWidth<i.endWidth?(1-w)*a:a*w,this.getPlacement(y.placement)==P.Outside?o.left-k-1-s+B:o.right+1+s-B),o.top+b-G/2),(null==y.skin?h:y.skin).draw(e,this,new C(S,v,k,G))}}catch(e){t={error:e}}finally{try{g&&!g.done&&(r=f.return)&&r.call(f)}finally{if(t)throw t.error}}},i=p,O.StiLinearTickMarkCustom=i}(Stimulsoft=Stimulsoft||{}),function(e){var t,r,i,n,o,P,a,C,j,W,M,T,F,N,s;function l(){return null!==s&&s.apply(this,arguments)||this}r=t=e.Report||(e.Report={}),n=i=r.Components||(r.Components={}),P=o=n.Gauge||(n.Gauge={}),r=a=P.Primitives||(P.Primitives={}),C=e.System.StiString,j=e.System.Drawing.Orientation,W=e.Report.Gauge.StiPlacement,M=e.Report.Gauge.Helpers.StiRectangleHelper,n=e.Report.Components.Gauge.Primitives.StiTickLabelBase,T=e.Report.Painters.StiGaugeContextPainter,F=e.System.Drawing.Rectangle,N=e.Report.Gauge.Helpers.StiTickLabelHelper,__extends(l,s=n),l.prototype.drawElement=function(e){var t,r,i=this.scale.as(P.StiLinearScale);if(null==i)return;var n=i.barGeometry.size,o=i.barGeometry.rectGeometry;if(0==n.width||0==n.height)return;var a=this.getPointCollection();if(0==a.count)return;var s=N.getLabels(a),l=this.textFormat,u=this.skipValuesObj,h=this.skipIndicesObj,c=this.scale.scaleHelper.actualMinimum,p=this.scale.scaleHelper.actualMaximum,d=i.startWidth<i.endWidth,m,f,f=i.orientation==j.Horizontal?(m=o.width,n.height):(m=o.height,n.width),g=i.barGeometry.getRestToLenght();f*=this.offset;var y=-1,b=null;try{for(var S=__values(a.keys),v=S.next();!v.done;v=S.next()){var w=v.value;if(y++,w<c)continue;if(p<w)continue;if(this.checkTickValue(u,h,w,y))continue;if(null!=this.minimumValue&&w<this.minimumValue)continue;if(null!=this.maximumValue&&w>this.maximumValue)continue;var k=C.isNullOrEmpty(l)&&this.scale.gauge.shortValue?s.get(w):this.getTextForRender(w,l),G=T.changeFontSize(this.font,e.zoom),B=e.measureString(k,G),R=a.get(w)*m,O=void 0,x=void 0,_,O,x,_;i.orientation==j.Horizontal?(x=i.isReversed?o.right-R-B.width/2:o.left+R-B.width/2,O=this.placement==W.Overlay?M.centerY(o)-B.height/2-f:(_=d?(1-a.get(w))*g:g*a.get(w),this.placement==W.Outside?o.top-B.height-f+_:o.bottom+f-_)):(O=i.isReversed?o.top+R-B.height/2:o.bottom-R-B.height/2,x=this.placement==W.Overlay?M.centerX(o)-B.width/2-f:(_=d?(1-a.get(w))*g:g*a.get(w),this.placement==W.Outside?o.left-B.width-3-f+_:o.right+f+3-_));var B=new F(x,O,B.width,B.height);null!=b&&b.intersectsWith(B)||(e.addTextGaugeGeom(k,G,this.textBrush,B,null),b=B)}}catch(e){t={error:e}}finally{try{v&&!v.done&&(r=S.return)&&r.call(S)}finally{if(t)throw t.error}}},n=l,r.StiLinearTickLabelBase=n}(Stimulsoft=Stimulsoft||{}),function(e){var t,r,i,n,o,a,s;function l(){var e=null!==s&&s.apply(this,arguments)||this;return e._skipMajorValues=!0,e}r=t=e.Report||(e.Report={}),n=i=r.Components||(r.Components={}),a=o=n.Gauge||(n.Gauge={}),n=e.Report.Components.Gauge.Primitives.StiLinearTickLabelBase,__extends(l,s=n),l.prototype.saveToJsonObject=function(e){var e=s.prototype.saveToJsonObject.call(this,e);return e.addPropertyIdent("Ident",this.stimulsoft.getType().stimulsoft.getTypeName()),e.addPropertyBool("SkipMajorValues",this.skipMajorValues,!0),e},l.prototype.loadFromJsonObject=function(e){var t,r;s.prototype.loadFromJsonObject.call(this,e);try{for(var i=__values(e.properties()),n=i.next();!n.done;n=i.next()){var o=n.value;switch(o.name){case"SkipMajorValues":this.skipMajorValues=o.value.stimulsoft.toBoolean();break}}}catch(e){t={error:e}}finally{try{n&&!n.done&&(r=i.return)&&r.call(i)}finally{if(t)throw t.error}}},l.prototype.loadFromXml=function(e){s.prototype.loadFromXml.call(this,e);for(var t=0;t<e.childNodes.length;t++){var r=e.childNodes[t];switch(r.nodeName){case"SkipMajorValues":this.skipMajorValues=r.textContent.stimulsoft.toBoolean();break}}},Object.defineProperty(l.prototype,"componentId",{get:function(){return r.StiComponentId.StiLinearTickLabelMinor},enumerable:!1,configurable:!0}),l.prototype.applyStyle=function(e){this.allowApplyStyle&&(this.textBrush=e.core.tickLabelMinorTextBrush,this.font=e.core.tickLabelMinorFont)},Object.defineProperty(l.prototype,"skipMajorValues",{get:function(){return this._skipMajorValues},set:function(e){this._skipMajorValues=e},enumerable:!1,configurable:!0}),Object.defineProperty(l.prototype,"isSkipMajorValues",{get:function(){return this.skipMajorValues},enumerable:!1,configurable:!0}),Object.defineProperty(l.prototype,"localizeName",{get:function(){return"LinearTickLabelMinor"},enumerable:!1,configurable:!0}),l.prototype.createNew=function(){return new l},l.prototype.getPointCollection=function(){return this.getMinorCollections()},n=l,a.StiLinearTickLabelMinor=n}(Stimulsoft=Stimulsoft||{}),function(e){var t,r,i,n,o,a,s;function l(){return null!==s&&s.apply(this,arguments)||this}r=t=e.Report||(e.Report={}),n=i=r.Components||(r.Components={}),a=o=n.Gauge||(n.Gauge={}),n=e.Report.Components.Gauge.Primitives.StiLinearTickLabelBase,__extends(l,s=n),l.prototype.saveToJsonObject=function(e){var e=s.prototype.saveToJsonObject.call(this,e);return e.addPropertyIdent("Ident",this.stimulsoft.getType().stimulsoft.getTypeName()),e},Object.defineProperty(l.prototype,"componentId",{get:function(){return r.StiComponentId.StiLinearTickLabelMajor},enumerable:!1,configurable:!0}),l.prototype.applyStyle=function(e){this.allowApplyStyle&&(this.textBrush=e.core.tickLabelMajorTextBrush,this.font=e.core.tickLabelMajorFont)},Object.defineProperty(l.prototype,"localizeName",{get:function(){return"LinearTickLabelMajor"},enumerable:!1,configurable:!0}),l.prototype.createNew=function(){return new l},l.prototype.getPointCollection=function(){return this.getMajorCollections()},n=l,a.StiLinearTickLabelMajor=n}(Stimulsoft=Stimulsoft||{}),function(e){var t,r,i,n,o,a,O,s,x,l;function u(){var e=null!==l&&l.apply(this,arguments)||this;return e._offsetAngle=0,e}r=t=e.Report||(e.Report={}),n=i=r.Components||(r.Components={}),r=o=n.Gauge||(n.Gauge={}),n=a=r.Primitives||(r.Primitives={}),O=e.Report.Gauge.StiPlacement,s=e.Report.Gauge.StiGaugeElemenType,x=e.System.Drawing.Rectangle,r=e.Report.Components.Gauge.Primitives.StiTickMarkBase,__extends(u,l=r),u.prototype.saveToJsonObject=function(e){var e=l.prototype.saveToJsonObject.call(this,e);return e.addPropertyNumber("OffsetAngle",this.offsetAngle,0),e},u.prototype.loadFromJsonObject=function(e){var t,r;l.prototype.loadFromJsonObject.call(this,e);try{for(var i=__values(e.properties()),n=i.next();!n.done;n=i.next()){var o=n.value;switch(o.name){case"OffsetAngle":this.offsetAngle=o.value.stimulsoft.toNumber();break}}}catch(e){t={error:e}}finally{try{n&&!n.done&&(r=i.return)&&r.call(i)}finally{if(t)throw t.error}}},u.prototype.loadFromXml=function(e){l.prototype.loadFromXml.call(this,e);for(var t=0;t<e.childNodes.length;t++){var r=e.childNodes[t];switch(r.nodeName){case"OffsetAngle":this.offsetAngle=r.textContent.stimulsoft.toNumber();break}}},Object.defineProperty(u.prototype,"offsetAngle",{get:function(){return this._offsetAngle},set:function(e){this._offsetAngle=e},enumerable:!1,configurable:!0}),Object.defineProperty(u.prototype,"elementType",{get:function(){return s.RadialElement},enumerable:!1,configurable:!0}),u.prototype.drawElement=function(e){var t,r,i=this.scale;if(null==i)return;var n=this.scale.barGeometry.rectGeometry;if(n.width<=0||n.height<=0)return;var o=this.getPointCollection();if(0==o.count)return;var a=this.skipValuesObj,s=this.skipIndicesObj,l=this.getActualSkin(),u=i.barGeometry.center,h=i.getSweepAngle(),c=i.startAngle,p=this.scale.scaleHelper.actualMinimum,d=this.scale.scaleHelper.actualMaximum,i=this.scale.barGeometry.diameter,m=this.scale.barGeometry.radius,f=this.scale.scaleHelper.minWidth,g=this.scale.scaleHelper.maxWidth,y,y=(g*=this.scale.barGeometry.rectGeometry.width)-(f*=this.scale.barGeometry.rectGeometry.width),m=this.placement==O.Outside?m*(1+this.offset):m*(1-this.offset),b=i*this.relativeWidth,S=i*this.relativeHeight,v=-1;try{for(var w=__values(o.keys),k=w.next();!k.done;k=w.next()){var G=k.value;if(v++,G<p)continue;if(d<G)continue;if(this.checkTickValue(a,s,G,v))continue;if(null!=this.minimumValue&&G<this.minimumValue)continue;if(null!=this.maximumValue&&G>this.maximumValue)continue;var B=this.scale.isReversed?c+h-o.get(G)*h+this.offsetAngle:c+o.get(G)*h+this.offsetAngle,R=0,R=this.placement==O.Outside?m:this.placement==O.Overlay?this.scale.isUp?m-(f+y*o.get(G)+b)/2:m-(g-y*o.get(G)+b)/2:this.scale.isUp?m-f-y*o.get(G)-b:m-g+y*o.get(G)-b,R=new x(u.x+R,u.y,b,S);e.addPushMatrixGaugeGeom(B,u),l.draw(e,this,R),e.addPopTranformGaugeGeom()}}catch(e){t={error:e}}finally{try{k&&!k.done&&(r=w.return)&&r.call(w)}finally{if(t)throw t.error}}},r=u,n.StiRadialTickMarkBase=r}(Stimulsoft=Stimulsoft||{}),function(t){var e,n,r,i,o,j,a,s,l,u,W,h,c,M,T,p;function d(){var e=null!==p&&p.apply(this,arguments)||this;return e._valueObj=0,e._values=new W,e._getValueEvent=new l,e._value="",e}n=e=t.Report||(t.Report={}),i=r=n.Components||(n.Components={}),j=o=i.Gauge||(i.Gauge={}),a=t.System.StiString,s=t.Report.Engine.StiParser.StiParser,i=t.Report.Components.Gauge.Primitives.StiRadialTickMarkBase,l=t.Report.Events.StiGetValueEvent,u=t.Report.Expressions.StiExpression,W=t.Report.Gauge.Collections.StiCustomValuesCollection,h=t.Report.Events.StiGetValueEventArgs,c=t.Report.Gauge.StiGaugeElemenType,M=t.System.Drawing.Rectangle,T=t.Report.Gauge.StiPlacement,__extends(d,p=i),d.prototype.saveToJsonObject=function(e){var t=p.prototype.saveToJsonObject.call(this,e);return t.addPropertyIdent("Ident",this.stimulsoft.getType().stimulsoft.getTypeName()),t.addPropertyJObject("GetValueEvent",this.getValueEvent.saveToJsonObject(e)),t.addPropertyJObject("Value",new u(this.value).saveToJsonObject(e)),t.addPropertyJObject("Values",this.values.saveToJsonObject(e)),t},d.prototype.loadFromJsonObject=function(e){var t,r;p.prototype.loadFromJsonObject.call(this,e);try{for(var i=__values(e.properties()),n=i.next();!n.done;n=i.next()){var o=n.value;switch(o.name){case"GetSkipValuesEvent":var a=new l;a.loadFromJsonObject(o.value),this.getValueEvent=a;break;case"GetSkipIndicesEvent":var a=new u;a.loadFromJsonObject(o.value),this.value=a.value;break;case"Values":this.values.loadFromJsonObject(o.value);break}}}catch(e){t={error:e}}finally{try{n&&!n.done&&(r=i.return)&&r.call(i)}finally{if(t)throw t.error}}},d.prototype.loadFromXml=function(e){p.prototype.loadFromXml.call(this,e);for(var t=0;t<e.childNodes.length;t++){var r=e.childNodes[t];switch(r.nodeName){case"GetSkipValuesEvent":var i=new l;i.loadFromXml(r),this.getValueEvent=i;break;case"GetSkipIndicesEvent":var i=new u;i.loadFromXml(r),this.value=i.value;break;case"Values":this.values.loadFromXml(r);break}}},Object.defineProperty(d.prototype,"componentId",{get:function(){return n.StiComponentId.StiRadialTickMarkCustom},enumerable:!1,configurable:!0}),d.prototype.clone=function(){var t,e,r=p.prototype.clone.call(this);null!=this.value?r.value=this.value:r.value=null,r.values=new W;try{for(var i=__values(this.values.list),n=i.next();!n.done;n=i.next()){var o=n.value;r.values.add(o.clone())}}catch(e){t={error:e}}finally{try{n&&!n.done&&(e=i.return)&&e.call(i)}finally{if(t)throw t.error}}return r},Object.defineProperty(d.prototype,"valueObj",{get:function(){return this._valueObj},set:function(e){this._valueObj=e},enumerable:!1,configurable:!0}),Object.defineProperty(d.prototype,"values",{get:function(){return this._values},set:function(e){this._values=e},enumerable:!1,configurable:!0}),d.prototype.onGetValue=function(e){},d.prototype.invokeGetValue=function(e,t){try{var r;this.onGetValue(t),e.scale.gauge.report.calculationMode==n.StiCalculationMode.Interpretation&&(r=s.parseTextValue(this.value,e.scale.gauge),t.value=e.scale.gauge.report.toString2(r))}catch(e){var i=a.format("Expression in GetValue property of '{0}' series from '{1}' chart can't be evaluated!","Indicator",this.scale.gauge.name);n.StiLogService.write(this.stimulsoft.getType(),i),n.StiLogService.write(this.stimulsoft.getType(),e)}},Object.defineProperty(d.prototype,"getValueEvent",{get:function(){return this._getValueEvent},set:function(e){this._getValueEvent=e},enumerable:!1,configurable:!0}),Object.defineProperty(d.prototype,"value",{get:function(){return this._value},set:function(e){this._value=e},enumerable:!1,configurable:!0}),Object.defineProperty(d.prototype,"elementType",{get:function(){return c.RadialElement},enumerable:!1,configurable:!0}),Object.defineProperty(d.prototype,"localizeName",{get:function(){return"RadialTickMarkCustom"},enumerable:!1,configurable:!0}),d.prototype.createNew=function(){return new d},d.prototype.prepareGaugeElement=function(){p.prototype.prepareGaugeElement.call(this);var e=new h;this.invokeGetValue(this,e),this.valueObj=t.Report.Gauge.Helpers.StiGaugeHelper.getFloatValueFromObject2(e.value,0)},d.prototype.drawElement=function(e){var t,r,i=this.scale;if(null==i)return;var n=this.scale.barGeometry.rectGeometry;if(n.width<=0||n.height<=0)return;var o=i.barGeometry.center,a=i.getSweepAngle(),s=i.startAngle,l=this.scale.barGeometry.diameter,u=this.scale.barGeometry.radius,h=this.scale.scaleHelper.actualMinimum,c=this.scale.scaleHelper.actualMaximum,p=this.scale.scaleHelper.minWidth,d=this.scale.scaleHelper.maxWidth,m,m=(d*=this.scale.barGeometry.rectGeometry.width)-(p*=this.scale.barGeometry.rectGeometry.width),f=this.getActualSkin(),g=this.skipValuesObj,y=this.skipIndicesObj,b=this.values;null!=b&&0!=b.count||(b=new W).add(new j.StiRadialTickMarkCustomValue(this.valueObj,this.offset,this.relativeWidth,this.relativeHeight,this.offsetAngle,this.placement,null,null,null,f));var S=-1;try{for(var v=__values(b.toCast()),w=v.next();!w.done;w=v.next()){var k=w.value;if(S++,k.value<h)continue;if(k.value>c)continue;if(this.checkTickValue(g,y,k.value,S))continue;if(null!=this.minimumValue&&k.value<this.minimumValue)continue;if(null!=this.maximumValue&&k.value>this.maximumValue)continue;var G=this.scale.getPosition(k.value),B=l*this.getRelativeWidth(k.relativeWidth),R=l*this.getRelativeHeight(k.relativeHeight),O=this.getPlacement(k.placement)==T.Outside?u*(1+this.getOffset(k.offset)):u*(1-this.getOffset(k.offset)),x=this.scale.isReversed?s+a-G*a-this.getOffsetAngle(k.offsetAngle):s+G*a+this.getOffsetAngle(k.offsetAngle),_=void 0,_=this.getPlacement(k.placement)==T.Outside?O:this.getPlacement(k.placement)==T.Overlay?this.scale.isUp?O-(p+m*G+B)/2:O-(d-m*G+B)/2:this.scale.isUp?O-p-m*G-B:O-d+m*G-B,O=null,P=null,G=0;k.useBrush&&(O=this.brush,this.brush=k.brush),k.useBorderBrush&&(P=this.borderBrush,this.borderBrush=k.borderBrush),k.useBorderWidth&&(G=this.borderWidth,this.borderWidth=null==k.borderWidth?0:k.borderWidth);var R=new M(o.x+_,o.y,B,R),C;e.addPushMatrixGaugeGeom(x,o),(null==k.skin?f:k.skin).draw(e,this,R),e.addPopTranformGaugeGeom(),k.useBrush&&(this.brush=O),k.useBorderBrush&&(this.borderBrush=O),k.useBorderWidth&&(this.borderWidth=G)}}catch(e){t={error:e}}finally{try{w&&!w.done&&(r=v.return)&&r.call(v)}finally{if(t)throw t.error}}},d.prototype.getOffsetAngle=function(e){return null==e?this.scale.isReversed?-this.offsetAngle:this.offsetAngle:e},i=d,j.StiRadialTickMarkCustom=i}(Stimulsoft=Stimulsoft||{}),function(e){var t,r,i,n,o,a,p,s,S,v,w,k,l,u,d;function h(e){this._size=new l(0,0),this._rectGeometry=u.empty,this._center=new d(0,0),this.scale=e}r=t=e.Report||(e.Report={}),n=i=r.Components||(r.Components={}),r=o=n.Gauge||(n.Gauge={}),n=a=r.Primitives||(r.Primitives={}),p=e.Report.Gauge.GaugeGeoms.StiGraphicsPathLinesGaugeGeom,s=e.Report.Gauge.GaugeGeoms.StiGraphicsPathGaugeGeom,S=e.System.Drawing.Orientation,v=e.Report.Gauge.Helpers.StiRectangleHelper,w=e.Report.Gauge.Helpers.StiMathHelper,k=e.Report.Gauge.StiPlacement,l=e.System.Drawing.Size,u=e.System.Drawing.Rectangle,d=e.System.Drawing.Point,Object.defineProperty(h.prototype,"size",{get:function(){return this._size},enumerable:!1,configurable:!0}),Object.defineProperty(h.prototype,"rectGeometry",{get:function(){return this._rectGeometry},enumerable:!1,configurable:!0}),Object.defineProperty(h.prototype,"radius",{get:function(){return 0},enumerable:!1,configurable:!0}),Object.defineProperty(h.prototype,"diameter",{get:function(){return 0},enumerable:!1,configurable:!0}),Object.defineProperty(h.prototype,"center",{get:function(){return this._center},enumerable:!1,configurable:!0}),h.prototype.checkRectGeometry=function(e){var t,r;this._size=e.size;var i={ref:t},n={ref:r};this.checkMinMaxWidth(i,n),t=i.ref,r=n.ref,this._rectGeometry=this.getRectGeometry(e,r<t?t:r),this._center=new d(this.rectGeometry.left+this.rectGeometry.width/2,this.rectGeometry.top+this.rectGeometry.height/2)},h.prototype.getRectGeometry=function(e,t){var r,i;return this.scale.orientation==S.Horizontal?(r=this.size.width*this.scale.relativeHeight,i=this.size.height*t):(i=this.size.height*this.scale.relativeHeight,r=this.size.width*t),new u(e.x+(this.size.width-r)/2,e.y+(this.size.height-i)/2,r,i)},h.prototype.getRestToLenght=function(){var e=Math.abs(this.scale.startWidth-this.scale.endWidth);return this.scale.orientation==S.Horizontal?this.size.height*e/2:this.size.width*e/2},h.prototype.checkMinMaxWidth=function(e,t){var r=e.ref,i=t.ref,i=this.scale.isReversed?(r=this.scale.endWidth,this.scale.startWidth):(r=this.scale.startWidth,this.scale.endWidth);e.ref=r,t.ref=i},h.prototype.drawScaleGeometry=function(e){var t,r,i={ref:t},n={ref:r};this.checkMinMaxWidth(i,n),t=i.ref,r=n.ref;var i=[],n,o;this.scale.orientation==S.Horizontal?(n=this.size.height,n*=t<r?t:r,n=(this.rectGeometry.height-n)/2,r<t?(i[0]=new d(this.rectGeometry.left,this.rectGeometry.top),i[1]=new d(this.rectGeometry.right,this.rectGeometry.top+n),i[2]=new d(this.rectGeometry.right,this.rectGeometry.bottom-n),i[3]=new d(this.rectGeometry.left,this.rectGeometry.bottom)):(i[0]=new d(this.rectGeometry.left,this.rectGeometry.top+n),i[1]=new d(this.rectGeometry.left,this.rectGeometry.bottom-n),i[2]=new d(this.rectGeometry.right,this.rectGeometry.bottom),i[3]=new d(this.rectGeometry.right,this.rectGeometry.top))):(o=this.size.width,o*=t<r?t:r,o=(this.rectGeometry.width-o)/2,r<t?(i[0]=new d(this.rectGeometry.left+o,this.rectGeometry.top),i[1]=new d(this.rectGeometry.left,this.rectGeometry.bottom),i[2]=new d(this.rectGeometry.right,this.rectGeometry.bottom),i[3]=new d(this.rectGeometry.right-o,this.rectGeometry.top)):(i[0]=new d(this.rectGeometry.left,this.rectGeometry.top),i[1]=new d(this.rectGeometry.left+o,this.rectGeometry.bottom),i[2]=new d(this.rectGeometry.right-o,this.rectGeometry.bottom),i[3]=new d(this.rectGeometry.right,this.rectGeometry.top)));var o=new s(this.rectGeometry,i[0],this.scale.brush,this.scale.borderBrush,1);o.addGraphicsPathLinesGaugeGeom(i),o.addGraphicsPathCloseFigureGaugeGeom(),e.addGraphicsPathGaugeGeom(o)},h.prototype.drawGeometry=function(e,t,r,i,n,o,a,s,l){var u=s.ref,h,u;if(0==(u=this.rectGeometry.clone().clone()).width||0==u.height)return s.ref=u,null;var c=t,p=r;if(c==p)return s.ref=u,null;var d=this.scale.scaleHelper.actualMinimum,t=this.scale.scaleHelper.actualMaximum,r=this.scale.scaleHelper.totalLength,m,c,f,g,y,f,g,y;if(c<=d&&p<=d||t<=c&&t<=p)return s.ref=u,null;c=c<p?(c<d&&(c=d),t<p&&(p=t),m=w.length1(d,c),w.length1(c,p)):(c<d&&(c=d),t<p&&(p=t),m=w.length1(d,p),w.length1(p,c)),this.scale.orientation==S.Horizontal?(g=m*(f=u.width/r),y=c*f,this.scale.isReversed?u.x=u.right-(g+y):u.x+=g,u.width=y):(g=m*(f=u.height/r),y=c*f,this.scale.isReversed?u.y+=g:u.y+=u.height-(g+y),u.height=y);var f=this.scale.startWidth>this.scale.endWidth,g=this.scale.barGeometry.getRestToLenght(),y=m/r,m=(m+c)/r;f||(y=1-y,m=1-m),y*=g,m*=g;var c=f?m-y:y-m,b,r=0;if(this.scale.orientation==S.Horizontal){b=this.size.height*Math.min(i,n),r=this.size.height*Math.max(i,n);var g=this.size.height*o;if(f)switch(a){case k.Outside:u.y-=r-m+c,u.height=r+c,u.y-=g;break;case k.Overlay:u.y=v.centerY(u)-r/2,u.height=r,u.y+=g;break;case k.Inside:u.y+=u.height-m,u.height=r+c,u.y+=g;break}else switch(a){case k.Outside:u.y-=r-y+c,u.height=r+c,u.y-=g;break;case k.Overlay:u.y=v.centerY(u)-r/2,u.height=r,u.y+=g;break;case k.Inside:u.y+=u.height-y,u.height=r+c,u.y+=g;break}}else{b=this.size.width*Math.min(i,n),r=this.size.width*Math.max(i,n);var o=this.size.width*o;if(f)switch(a){case k.Outside:u.x-=r-m+c,u.width=r+c,u.x-=o;break;case k.Overlay:u.x=v.centerX(u)-r/2,u.width=r,u.x+=o;break;case k.Inside:u.x+=u.width-m,u.width=r+c,u.x+=o;break}else switch(a){case k.Outside:u.x-=r-y+c,u.width=r+c,u.x-=o;break;case k.Overlay:u.x=v.centerX(u)-r/2,u.width=r,u.x+=o;break;case k.Inside:u.x+=u.width-y,u.width=r+c,u.x+=o;break}}return s.ref=u,l?null:this.drawPrimitiveGeometry(e,u,b,r,i,n,a,c,f)},h.prototype.drawPrimitiveGeometry=function(e,t,r,i,n,o,a,s,l){var u=t.clone();t.x=0,t.y=0;var h=[];if(this.scale.startWidth==this.scale.endWidth&&r==i)h[0]=new d(t.left,t.top),h[1]=new d(t.right,t.top),h[2]=new d(t.right,t.bottom),h[3]=new d(t.left,t.bottom);else{var c=this.scale.startWidth<this.scale.endWidth,o=n<=o;if(this.scale.isReversed&&(c=!c,o=!o),this.scale.orientation==S.Horizontal)if(c)if(o)switch(a){case k.Outside:h[0]=new d(0,t.height-r),h[1]=new d(t.width,t.height-s-i),h[2]=new d(t.width,t.height-s),h[3]=new d(0,t.height);break;case k.Overlay:h[0]=new d(0,v.centerY(t)-r/2),h[1]=new d(t.width,v.centerY(t)-i/2),h[2]=new d(t.width,v.centerY(t)+i/2),h[3]=new d(0,v.centerY(t)+r/2);break;default:h[0]=new d(0,0),h[1]=new d(t.width,s),h[2]=new d(t.width,s+i),h[3]=new d(0,r);break}else switch(a){case k.Outside:h[0]=new d(0,t.height-i),h[1]=new d(t.width,t.height-s-r),h[2]=new d(t.width,t.height-s),h[3]=new d(0,t.height);break;case k.Overlay:h[0]=new d(0,v.centerY(t)-i/2),h[1]=new d(t.width,v.centerY(t)-r/2),h[2]=new d(t.width,v.centerY(t)+r/2),h[3]=new d(0,v.centerY(t)+i/2);break;default:h[0]=new d(0,0),h[1]=new d(t.width,s),h[2]=new d(t.width,s+r),h[3]=new d(0,i);break}else if(o)switch(a){case k.Outside:h[0]=new d(0,t.height-s-r),h[1]=new d(t.width,t.height-i),h[2]=new d(t.width,t.height),h[3]=new d(0,t.height-s);break;case k.Overlay:h[0]=new d(0,v.centerY(t)-r/2),h[1]=new d(t.right,v.centerY(t)-i/2),h[2]=new d(t.right,v.centerY(t)+i/2),h[3]=new d(0,v.centerY(t)+r/2);break;default:h[0]=new d(0,s),h[1]=new d(t.right,0),h[2]=new d(t.right,i),h[3]=new d(0,s+r);break}else switch(a){case k.Outside:h[0]=new d(0,t.height-s-i),h[1]=new d(t.right,t.height-r),h[2]=new d(t.right,t.height),h[3]=new d(0,t.height-s);break;case k.Overlay:h[0]=new d(0,v.centerY(t)-i/2),h[1]=new d(t.right,v.centerY(t)-r/2),h[2]=new d(t.right,v.centerY(t)+r/2),h[3]=new d(0,v.centerY(t)+i/2);break;default:h[0]=new d(0,s),h[1]=new d(t.right,0),h[2]=new d(t.right,r),h[3]=new d(0,s+i);break}else if(c)if(o)switch(a){case k.Outside:h[0]=new d(t.width-s-i,0),h[1]=new d(t.width-s,0),h[2]=new d(t.width,t.height),h[3]=new d(t.width-r,t.height);break;case k.Overlay:h[0]=new d(v.centerX(t)-i/2,0),h[1]=new d(v.centerX(t)+i/2,0),h[2]=new d(v.centerX(t)+r/2,t.height),h[3]=new d(v.centerX(t)-r/2,t.height);break;default:h[0]=new d(s,0),h[1]=new d(s+i,0),h[2]=new d(r,t.height),h[3]=new d(0,t.height);break}else switch(a){case k.Outside:h[0]=new d(t.width-s-r,0),h[1]=new d(t.width-s,0),h[2]=new d(t.width,t.height),h[3]=new d(t.width-i,t.height);break;case k.Overlay:h[0]=new d(v.centerX(t)-r/2,0),h[1]=new d(v.centerX(t)+r/2,0),h[2]=new d(v.centerX(t)+i/2,t.height),h[3]=new d(v.centerX(t)-i/2,t.height);break;default:h[0]=new d(s,0),h[1]=new d(s+r,0),h[2]=new d(i,t.height),h[3]=new d(0,t.height);break}else if(o)switch(a){case k.Outside:h[0]=new d(t.width-i,0),h[1]=new d(t.width,0),h[2]=new d(t.width-s,t.height),h[3]=new d(t.width-s-r,t.height);break;case k.Overlay:h[0]=new d(v.centerX(t)-i/2,0),h[1]=new d(v.centerX(t)+i/2,0),h[2]=new d(v.centerX(t)+r/2,t.height),h[3]=new d(v.centerX(t)-r/2,t.height);break;default:h[0]=new d(t.left,0),h[1]=new d(i,0),h[2]=new d(s+r,t.height),h[3]=new d(s,t.height);break}else switch(a){case k.Outside:h[0]=new d(t.width-r,0),h[1]=new d(t.width,0),h[2]=new d(t.width-s,t.height),h[3]=new d(t.width-s-i,t.height);break;case k.Overlay:h[0]=new d(v.centerX(t)-r/2,0),h[1]=new d(v.centerX(t)+r/2,0),h[2]=new d(v.centerX(t)+i/2,t.height),h[3]=new d(v.centerX(t)-i/2,t.height);break;default:h[0]=new d(0,0),h[1]=new d(r,0),h[2]=new d(s+i,t.height),h[3]=new d(s,t.height);break}}return h[0].x+=u.left,h[0].y+=u.top,h[1].x+=u.left,h[1].y+=u.top,h[2].x+=u.left,h[2].y+=u.top,h[3].x+=u.left,h[3].y+=u.top,new p(h)},r=h,n.StiLinearBarGeometry=r}(Stimulsoft=Stimulsoft||{}),function(p){var e,t,r,i,d,n;t=e=p.Report||(p.Report={}),t=r=t.Components||(t.Components={}),d=i=t.Gauge||(t.Gauge={}),function(a){var t=p.Report.Gauge.Helpers.StiMathHelper,r=p.Base.StiJson,n=p.Base.Drawing.StiBrush,i=p.Base.Drawing.StiSolidBrush,o=p.System.Drawing.Color,s=p.Base.StiJsonReportObjectHelper,e=p.Report.Components.Gauge.Primitives.StiElementBase,l=(Object.defineProperty(u.prototype,"totalLength",{get:function(){return this._totalLength},set:function(e){this._totalLength=0==e?1:e},enumerable:!1,configurable:!0}),u);function u(){this.actualMinimum=0,this.actualMaximum=100,this.minWidth=.1,this.maxWidth=.1,this._totalLength=100}a.StiScaleHelper=l;var e=(__extends(c,h=e),c.prototype.saveToJsonObject=function(e){var t=new r;return t.addPropertyNumber("Left",this.left,0),t.addPropertyNumber("Top",this.top,0),t.addPropertyNumber("StartWidth",this.startWidth,.1),t.addPropertyNumber("EndWidth",this.endWidth,.1),t.addPropertyNumber("MajorInterval",this.majorInterval,10),t.addPropertyNumber("MinorInterval",this.minorInterval,1),t.addPropertyBool("IsReversed",this.isReversed,!1),t.addPropertyNumber("Minimum",this.minimum,0),t.addPropertyNumber("Maximum",this.maximum,10),t.addPropertyStringNullOrEmpty("Brush",s.Serialize.jBrush(this.brush)),t.addPropertyStringNullOrEmpty("BorderBrush",s.Serialize.jBrush(this.borderBrush)),t.addPropertyJObject("Items",this.items.saveToJsonObject(e)),t},c.prototype.loadFromJsonObject=function(e){var t,r;try{for(var i=__values(e.properties()),n=i.next();!n.done;n=i.next()){var o=n.value;switch(o.name){case"Left":this.left=o.value.stimulsoft.toNumber();break;case"Top":this.top=o.value.stimulsoft.toNumber();break;case"StartWidth":this.startWidth=o.value.stimulsoft.toNumber();break;case"EndWidth":this.endWidth=o.value.stimulsoft.toNumber();break;case"MajorInterval":this.majorInterval=o.value.stimulsoft.toNumber();break;case"MinorInterval":this.minorInterval=o.value.stimulsoft.toNumber();break;case"IsReversed":this.isReversed=o.value.stimulsoft.toBoolean();break;case"Minimum":this.minimum=o.value.stimulsoft.toNumber();break;case"Maximum":this.maximum=o.value.stimulsoft.toNumber();break;case"Brush":this.brush=s.Deserialize.brush(o.value);break;case"BorderBrush":this.borderBrush=s.Deserialize.brush(o.value);break;case"Items":this.items.loadFromJsonObject(o.value);break}}}catch(e){t={error:e}}finally{try{n&&!n.done&&(r=i.return)&&r.call(i)}finally{if(t)throw t.error}}},c.prototype.loadFromXml=function(e,t){for(var r=0;r<e.childNodes.length;r++){var i=e.childNodes[r];switch(i.nodeName){case"Left":this.left=i.textContent.stimulsoft.toNumber();break;case"Top":this.top=i.textContent.stimulsoft.toNumber();break;case"StartWidth":this.startWidth=i.textContent.stimulsoft.toNumber();break;case"EndWidth":this.endWidth=i.textContent.stimulsoft.toNumber();break;case"MajorInterval":this.majorInterval=i.textContent.stimulsoft.toNumber();break;case"MinorInterval":this.minorInterval=i.textContent.stimulsoft.toNumber();break;case"IsReversed":this.isReversed=i.textContent.stimulsoft.toBoolean();break;case"Minimum":this.minimum=i.textContent.stimulsoft.toNumber();break;case"Maximum":this.maximum=i.textContent.stimulsoft.toNumber();break;case"Brush":this.brush=n.loadFromXml(i.textContent);break;case"BorderBrush":this.borderBrush=n.loadFromXml(i.textContent);break;case"Items":this.items.loadFromXml(i,t);break}}},Object.defineProperty(c.prototype,"componentId",{get:function(){return null},enumerable:!1,configurable:!0}),Object.defineProperty(c.prototype,"propName",{get:function(){return null},enumerable:!1,configurable:!0}),c.prototype.clone=function(){var t,e,r=h.prototype.clone.call(this);r.brush=this.brush.clone(),r.borderBrush=this.borderBrush.clone(),r._items=new p.Report.Gauge.Collections.StiGaugeElementCollection(r);try{for(var i=__values(this.items.list),n=i.next();!n.done;n=i.next()){var o=n.value;r.items.add(o.clone())}}catch(e){t={error:e}}finally{try{n&&!n.done&&(e=i.return)&&e.call(i)}finally{if(t)throw t.error}}return this.is(d.StiLinearScale)?r.barGeometry=new a.StiLinearBarGeometry(r):this.is(d.StiRadialScale)&&(r.barGeometry=new a.StiRadialBarGeometry(r)),r},Object.defineProperty(c.prototype,"isUp",{get:function(){var e=this.startWidth<this.endWidth;return this.isReversed&&(e=!e),e},enumerable:!1,configurable:!0}),Object.defineProperty(c.prototype,"gauge",{get:function(){return this._gauge},set:function(e){this._gauge=e},enumerable:!1,configurable:!0}),Object.defineProperty(c.prototype,"left",{get:function(){return this._left},set:function(e){this._left=e},enumerable:!1,configurable:!0}),Object.defineProperty(c.prototype,"top",{get:function(){return this._top},set:function(e){this._top=e},enumerable:!1,configurable:!0}),Object.defineProperty(c.prototype,"startWidth",{get:function(){return this._startWidth},set:function(e){this._startWidth=e,this.calculateWidthScaleHelper()},enumerable:!1,configurable:!0}),Object.defineProperty(c.prototype,"endWidth",{get:function(){return this._endWidth},set:function(e){this._endWidth=e,this.calculateWidthScaleHelper()},enumerable:!1,configurable:!0}),Object.defineProperty(c.prototype,"majorInterval",{get:function(){return this._majorInterval},set:function(e){this._majorInterval=e},enumerable:!1,configurable:!0}),Object.defineProperty(c.prototype,"minorInterval",{get:function(){return this._minorInterval},set:function(e){this._minorInterval=e},enumerable:!1,configurable:!0}),Object.defineProperty(c.prototype,"minimum",{get:function(){return this._minimum},set:function(e){this._minimum=e,this.calculateMinMaxScaleHelper()},enumerable:!1,configurable:!0}),Object.defineProperty(c.prototype,"maximum",{get:function(){return this._maximum},set:function(e){this._maximum=e,this.calculateMinMaxScaleHelper()},enumerable:!1,configurable:!0}),Object.defineProperty(c.prototype,"isReversed",{get:function(){return this._isReversed},set:function(e){this._isReversed=e},enumerable:!1,configurable:!0}),Object.defineProperty(c.prototype,"brush",{get:function(){return this._brush},set:function(e){this._brush=e},enumerable:!1,configurable:!0}),Object.defineProperty(c.prototype,"borderBrush",{get:function(){return this._borderBrush},set:function(e){this._borderBrush=e},enumerable:!1,configurable:!0}),Object.defineProperty(c.prototype,"items",{get:function(){return this._items},enumerable:!1,configurable:!0}),c.prototype.set=function(e){this._items=e},Object.defineProperty(c.prototype,"scaleType",{get:function(){return null},enumerable:!1,configurable:!0}),c.prototype.prepare=function(e){var t,r;try{for(var i=__values(this.items.list),n=i.next(),o;!n.done;n=i.next()){n.value.prepareGaugeElement()}}catch(e){t={error:e}}finally{try{n&&!n.done&&(r=i.return)&&r.call(i)}finally{if(t)throw t.error}}},c.prototype.calculateMinMaxScaleHelper=function(){this.scaleHelper.actualMaximum=Math.max(this.maximum,this.minimum),this.scaleHelper.actualMinimum=Math.min(this.maximum,this.minimum),this.scaleHelper.totalLength=this.scaleHelper.actualMaximum-this.scaleHelper.actualMinimum},c.prototype.calculateWidthScaleHelper=function(){this.startWidth>this.endWidth?(this.scaleHelper.maxWidth=this.startWidth,this.scaleHelper.minWidth=this.endWidth):(this.scaleHelper.maxWidth=this.endWidth,this.scaleHelper.minWidth=this.startWidth)},c.prototype.getPosition=function(e){var e=e;return e<this.scaleHelper.actualMinimum?e=this.scaleHelper.actualMinimum:e>this.scaleHelper.actualMaximum&&(e=this.scaleHelper.actualMaximum),t.length1(this.scaleHelper.actualMinimum,e)/this.scaleHelper.totalLength},c.prototype.interactiveClick=function(e){},c.prototype.createNew=function(){return null},c.prototype.drawElement=function(e){if(null!=this.gauge){this.barGeometry.drawScaleGeometry(e);var t=0;while(t<this.items.count)this.items.getByIndex(t).drawElement(e),t++}},c),h;function c(){var e=h.call(this)||this;return e.scaleHelper=new l,e._left=0,e._top=0,e._startWidth=.1,e._endWidth=.1,e._majorInterval=10,e._minorInterval=1,e._minimum=0,e._maximum=100,e._isReversed=!1,e._brush=new i(o.fromArgb(50,o.white)),e._borderBrush=new i(o.fromArgb(150,o.white)),e._items=new p.Report.Gauge.Collections.StiGaugeElementCollection(e),e}a.StiScaleBase=e}(n=d.Primitives||(d.Primitives={}))}(Stimulsoft=Stimulsoft||{}),function(e){var t,r,i,n,o,a,s,l,u,h;function c(){var e=h.call(this)||this;return e._orientation=s.Vertical,e._relativeHeight=.9,e.barGeometry=new u(e),e}r=t=e.Report||(e.Report={}),n=i=r.Components||(r.Components={}),a=o=n.Gauge||(n.Gauge={}),s=e.System.Drawing.Orientation,l=e.System.Enum,n=e.Report.Components.Gauge.Primitives.StiScaleBase,u=e.Report.Components.Gauge.Primitives.StiLinearBarGeometry,__extends(c,h=n),c.prototype.saveToJsonObject=function(e){var e=h.prototype.saveToJsonObject.call(this,e);return e.addPropertyIdent("Ident",this.stimulsoft.getType().stimulsoft.getTypeName()),e.addPropertyEnum("Orientation",s,this.orientation),e.addPropertyNumber("RelativeHeight",this.relativeHeight,.9),e},c.prototype.loadFromJsonObject=function(e){var t,r;h.prototype.loadFromJsonObject.call(this,e);try{for(var i=__values(e.properties()),n=i.next();!n.done;n=i.next()){var o=n.value;switch(o.name){case"Orientation":this.orientation=l.parse(s,o.value.toString());break;case"RelativeHeight":this.relativeHeight=o.value.stimulsoft.toNumber();break}}}catch(e){t={error:e}}finally{try{n&&!n.done&&(r=i.return)&&r.call(i)}finally{if(t)throw t.error}}},c.prototype.loadFromXml=function(e,t){h.prototype.loadFromXml.call(this,e,t);for(var r=0;r<e.childNodes.length;r++){var i=e.childNodes[r];switch(i.nodeName){case"Orientation":this.orientation=l.parse(s,i.textContent);break;case"RelativeHeight":this.relativeHeight=i.textContent.stimulsoft.toNumber();break}}},Object.defineProperty(c.prototype,"componentId",{get:function(){return r.StiComponentId.StiLinearScale},enumerable:!1,configurable:!0}),c.prototype.applyStyle=function(e){var t,r;try{for(var i=__values(this.items.list),n=i.next(),o;!n.done;n=i.next()){n.value.applyStyle(e)}}catch(e){t={error:e}}finally{try{n&&!n.done&&(r=i.return)&&r.call(i)}finally{if(t)throw t.error}}},Object.defineProperty(c.prototype,"orientation",{get:function(){return this._orientation},set:function(e){this._orientation=e},enumerable:!1,configurable:!0}),Object.defineProperty(c.prototype,"relativeHeight",{get:function(){return this._relativeHeight},set:function(e){this._relativeHeight=e},enumerable:!1,configurable:!0}),Object.defineProperty(c.prototype,"scaleType",{get:function(){return e.Report.Gauge.StiGaugeElemenType.LinearElement},enumerable:!1,configurable:!0}),c.prototype.interactiveClick=function(e){},c.prototype.createNew=function(){return new c},n=c,a.StiLinearScale=n}(Stimulsoft=Stimulsoft||{}),function(e){var t,r,i,n,o,a,s,l;function u(){return null!==l&&l.apply(this,arguments)||this}r=t=e.Report||(e.Report={}),n=i=r.Components||(r.Components={}),a=o=n.Gauge||(n.Gauge={}),n=e.Report.Components.Gauge.Primitives.StiRadialTickMarkBase,s=e.Report.Gauge.StiGaugeElemenType,__extends(u,l=n),u.prototype.saveToJsonObject=function(e){var e=l.prototype.saveToJsonObject.call(this,e);return e.addPropertyIdent("Ident",this.stimulsoft.getType().stimulsoft.getTypeName()),e},Object.defineProperty(u.prototype,"componentId",{get:function(){return r.StiComponentId.StiRadialTickMarkMajor},enumerable:!1,configurable:!0}),u.prototype.applyStyle=function(e){this.allowApplyStyle&&(this.borderBrush=e.core.tickMarkMajorBorder,this.brush=e.core.tickMarkMajorBrush,this.borderWidth=e.core.tickMarkMajorBorderWidth)},Object.defineProperty(u.prototype,"elementType",{get:function(){return s.RadialElement},enumerable:!1,configurable:!0}),Object.defineProperty(u.prototype,"localizeName",{get:function(){return"RadialTickMarkMajor"},enumerable:!1,configurable:!0}),u.prototype.createNew=function(){return new u},u.prototype.getPointCollection=function(){return this.getMajorCollections()},n=u,a.StiRadialTickMarkMajor=n}(Stimulsoft=Stimulsoft||{}),function(e){var t,r,i,n,o,a,s,l;function u(){var e=null!==l&&l.apply(this,arguments)||this;return e._skipMajorValues=!0,e}r=t=e.Report||(e.Report={}),n=i=r.Components||(r.Components={}),a=o=n.Gauge||(n.Gauge={}),n=e.Report.Components.Gauge.Primitives.StiRadialTickMarkBase,s=e.Report.Gauge.StiGaugeElemenType,__extends(u,l=n),u.prototype.saveToJsonObject=function(e){var e=l.prototype.saveToJsonObject.call(this,e);return e.addPropertyIdent("Ident",this.stimulsoft.getType().stimulsoft.getTypeName()),e.addPropertyBool("SkipMajorValues",this.skipMajorValues,!0),e},u.prototype.loadFromJsonObject=function(e){var t,r;l.prototype.loadFromJsonObject.call(this,e);try{for(var i=__values(e.properties()),n=i.next();!n.done;n=i.next()){var o=n.value;switch(o.name){case"SkipMajorValues":this.skipMajorValues=o.value.stimulsoft.toBoolean();break}}}catch(e){t={error:e}}finally{try{n&&!n.done&&(r=i.return)&&r.call(i)}finally{if(t)throw t.error}}},u.prototype.loadFromXml=function(e){l.prototype.loadFromXml.call(this,e);for(var t=0;t<e.childNodes.length;t++){var r=e.childNodes[t];switch(r.nodeName){case"SkipMajorValues":this.skipMajorValues=r.textContent.stimulsoft.toBoolean();break}}},Object.defineProperty(u.prototype,"componentId",{get:function(){return r.StiComponentId.StiRadialTickMarkMinor},enumerable:!1,configurable:!0}),u.prototype.applyStyle=function(e){this.allowApplyStyle&&(this.borderBrush=e.core.tickMarkMinorBorder,this.brush=e.core.tickMarkMinorBrush,this.borderWidth=e.core.tickMarkMinorBorderWidth)},Object.defineProperty(u.prototype,"skipMajorValues",{get:function(){return this._skipMajorValues},set:function(e){this._skipMajorValues=e},enumerable:!1,configurable:!0}),Object.defineProperty(u.prototype,"isSkipMajorValues",{get:function(){return this._skipMajorValues},enumerable:!1,configurable:!0}),Object.defineProperty(u.prototype,"elementType",{get:function(){return s.RadialElement},enumerable:!1,configurable:!0}),Object.defineProperty(u.prototype,"localizeName",{get:function(){return"RadialTickMarkMinor"},enumerable:!1,configurable:!0}),u.prototype.createNew=function(){return new u},u.prototype.getPointCollection=function(){return this.getMinorCollections()},n=u,a.StiRadialTickMarkMinor=n}(Stimulsoft=Stimulsoft||{}),function(e){var t,r,i,n,o,a,s;function l(){this._value=0}r=t=e.Report||(e.Report={}),n=i=r.Components||(r.Components={}),r=o=n.Gauge||(n.Gauge={}),a=e.System.StiString,s=e.Base.StiJson,l.prototype.saveToJsonObject=function(e){var t=new s;return t.addPropertyNumber("Value",this.value,0),t},l.prototype.loadFromJsonObject=function(e){var t,r;try{for(var i=__values(e.properties()),n=i.next();!n.done;n=i.next()){var o=n.value;switch(o.name){case"Value":this.value=o.value.stimulsoft.toNumber();break}}}catch(e){t={error:e}}finally{try{n&&!n.done&&(r=i.return)&&r.call(i)}finally{if(t)throw t.error}}},l.prototype.loadFromXml=function(e,t){var r=e.getAttribute("Ref");a.isNullOrEmpty(r)||(t.jsonLoaderHelper.refNames[r.stimulsoft.toNumber()]=e.nodeName);for(var i=0;i<e.childNodes.length;i++){var n=e.childNodes[i];switch(n.nodeName){case"Value":this.value=n.textContent.stimulsoft.toNumber();break}}},Object.defineProperty(l.prototype,"componentId",{get:function(){return null},enumerable:!1,configurable:!0}),Object.defineProperty(l.prototype,"propName",{get:function(){return null},enumerable:!1,configurable:!0}),l.prototype.clone=function(){return this.stimulsoft.memberwiseClone()},Object.defineProperty(l.prototype,"value",{get:function(){return this._value},set:function(e){this._value=e},enumerable:!1,configurable:!0}),Object.defineProperty(l.prototype,"rangeListType",{get:function(){return null},enumerable:!1,configurable:!0}),l.prototype.createNew=function(){return null},n=l,r.StiIndicatorRangeInfo=n}(Stimulsoft=Stimulsoft||{}),function(e){var t,r,i,n,o,a,s,l,u,h,c,p,d,m;function f(){var e=null!==m&&m.apply(this,arguments)||this;return e._color=h.white,e._brush=new u,e}r=t=e.Report||(e.Report={}),n=i=r.Components||(r.Components={}),a=o=n.Gauge||(n.Gauge={}),s=e.System.StiString,l=e.Report.Gauge.StiBarRangeListType,u=e.Base.Drawing.StiEmptyBrush,h=e.System.Drawing.Color,c=e.Base.Drawing.StiBrush,p=e.Base.StiJsonReportObjectHelper,d=e.System.Text.StiReportObjectStringConverter,m=a.StiIndicatorRangeInfo,__extends(f,m),f.prototype.saveToJsonObject=function(e){var e=m.prototype.saveToJsonObject.call(this,e);return e.addPropertyIdent("Ident",this.stimulsoft.getType().stimulsoft.getTypeName()),e.addPropertyStringNullOrEmpty("Color",p.Serialize.jColor(this.color)),e.addPropertyStringNullOrEmpty("Brush",p.Serialize.jBrush(this.brush)),e},f.prototype.loadFromJsonObject=function(e){var t,r;m.prototype.loadFromJsonObject.call(this,e);try{for(var i=__values(e.properties()),n=i.next();!n.done;n=i.next()){var o=n.value;switch(o.name){case"Color":this.color=p.Deserialize.color(o.value);break;case"Brush":this.brush=p.Deserialize.brush(o.value);break}}}catch(e){t={error:e}}finally{try{n&&!n.done&&(r=i.return)&&r.call(i)}finally{if(t)throw t.error}}},f.prototype.loadFromXml=function(e,t){var r=e.getAttribute("Ref");s.isNullOrEmpty(r)||(t.jsonLoaderHelper.refNames[r.stimulsoft.toNumber()]=e.nodeName);for(var i=0;i<e.childNodes.length;i++){var n=e.childNodes[i];switch(n.nodeName){case"Color":this.color=d.convertStringToColor(n.textContent);break;case"Brush":this.brush=c.loadFromXml(n.textContent);break}}},Object.defineProperty(f.prototype,"componentId",{get:function(){return r.StiComponentId.StiLinearIndicatorRangeInfo},enumerable:!1,configurable:!0}),Object.defineProperty(f.prototype,"color",{get:function(){return this._color},set:function(e){this._color=e},enumerable:!1,configurable:!0}),Object.defineProperty(f.prototype,"brush",{get:function(){return this._brush},set:function(e){this._brush=e},enumerable:!1,configurable:!0}),Object.defineProperty(f.prototype,"rangeListType",{get:function(){return l.LinearBar},enumerable:!1,configurable:!0}),f.prototype.createNew=function(){return new f},n=f,a.StiLinearIndicatorRangeInfo=n}(Stimulsoft=Stimulsoft||{}),function(e){var t,r,i,n,o,a,S,v,w,s,l,u,h;function c(){this.standardBackground=!1,this.defaultIndex=-99}function p(){var e=null!==h&&h.apply(this,arguments)||this;return e.actualBush=new s,e.colorModeHelper=new u,e}r=t=e.Report||(e.Report={}),n=i=r.Components||(r.Components={}),a=o=n.Gauge||(n.Gauge={}),S=e.Report.Gauge.StiPlacement,v=e.Report.Gauge.Helpers.StiMathHelper,w=e.System.Drawing.Rectangle,n=e.Report.Components.Gauge.Primitives.StiBarBase,s=e.Base.Drawing.StiEmptyBrush,l=e.Report.Gauge.StiGaugeElemenType,c.prototype.reset=function(){this.standardBackground=!1,this.defaultIndex=-99},u=c,__extends(p,h=n),p.prototype.saveToJsonObject=function(e){var e=h.prototype.saveToJsonObject.call(this,e);return e.addPropertyIdent("Ident",this.stimulsoft.getType().stimulsoft.getTypeName()),e},p.prototype.loadFromJsonObject=function(e){h.prototype.loadFromJsonObject.call(this,e)},p.prototype.loadFromXml=function(e){h.prototype.loadFromXml.call(this,e)},Object.defineProperty(p.prototype,"componentId",{get:function(){return r.StiComponentId.StiRadialBar},enumerable:!1,configurable:!0}),p.prototype.applyStyle=function(e){this.allowApplyStyle&&(this.brush=e.core.radialBarBrush,this.borderBrush=e.core.radialBarBorderBrush,this.borderWidth=e.core.borderWidth,this.emptyBrush=e.core.radialBarEmptyBrush,this.emptyBorderBrush=e.core.radialBarEmptyBorderBrush,this.emptyBorderWidth=e.core.borderWidth,this.startWidth=e.core.radialBarStartWidth,this.endWidth=e.core.radialBarEndWidth,this.checkActualBrushForTopGeometry())},Object.defineProperty(p.prototype,"elementType",{get:function(){return l.RadialElement},enumerable:!1,configurable:!0}),Object.defineProperty(p.prototype,"barType",{get:function(){return e.Report.Gauge.StiBarRangeListType.RadialBar},enumerable:!1,configurable:!0}),Object.defineProperty(p.prototype,"localizeName",{get:function(){return"RadialBar"},enumerable:!1,configurable:!0}),p.prototype.checkActualBrushForTopGeometry=function(){if(this.useRangeColor)for(var e=this.rangeList.count-1;0<=e;e--){var t=this.rangeList.getByIndex(e);if(this.valueObj>=t.value){this.colorModeHelper.defaultIndex!=e&&(this.colorModeHelper.defaultIndex=e,this.actualBush=t.brush);break}}else this.colorModeHelper.standardBackground=!0,this.actualBush=this.brush},p.prototype.createNew=function(){return new p},p.prototype.drawElement=function(e){var t=this.scale,r=this.getActualValue(),i=null==r?this.scale.minimum:r,n,r;e.gauge.isDesigning&&this.checkActualBrushForTopGeometry(),null!=t&&(r=n=void 0,this.scale.isReversed?(n=this.scale.maximum-i,r=this.scale.maximum):(n=this.scale.minimum,(r=i)>this.scale.maximum&&(r=this.scale.maximum)),this.getRangeGeometry(e,t,this.emptyBrush,this.emptyBorderBrush,this.emptyBorderWidth,this.scale.minimum,this.scale.maximum),this.getRangeGeometry(e,t,this.actualBush,this.borderBrush,this.borderWidth,n,r))},p.prototype.onRangeColorChanged=function(){this.colorModeHelper.reset()},p.prototype.interactiveClick=function(e,t){},p.prototype.getRangeGeometry=function(e,t,r,i,n,o,a){var s=t.barGeometry.rectGeometry,l=t.barGeometry.center,u=t.barGeometry.radius,h=t.barGeometry.diameter,c,p,c=0<=this.startWidth?t.isReversed?this.endWidth*h:this.startWidth*h:0,p=0<=this.endWidth?t.isReversed?this.startWidth*h:this.endWidth*h:0,d=t.startAngle+t.getPosition(o)*t.sweepAngle,m=(t.getPosition(a)-t.getPosition(o))*t.sweepAngle,f=t.isReversed?t.endWidth*h:t.startWidth*h,h=t.isReversed?t.startWidth*h:t.endWidth*h,o=this.scale.getPosition(o),a=this.scale.getPosition(a),h=v.maxMinusMin(f,h),g,y,b,a,a=this.placement==S.Outside?(b=(y=g=u)+c,u+p):this.placement==S.Overlay?t.isUp?(g=u-(f+h*o-c)/2,y=u-(f+h*a-p)/2,b=u-(f+h*o+c)/2,u-(f+h*a+p)/2):(g=u-(f-h*o-c)/2,y=u-(f-h*a-p)/2,b=u-(f-h*o+c)/2,u-(f-h*a+p)/2):t.isUp?(g=u-(f+h*o),y=u-(f+h*a),b=u-(f+h*o+c),u-(f+h*a+p)):(g=u-(f-h*o),y=u-(f-h*a),b=u-(f-h*o+c),u-(f-h*a+p));if(isNaN(g)||isNaN(y)||isNaN(b)||isNaN(a))return;var p=v.getMax(g,y,b,a),p=new w(l.x-p,l.y-p,2*p,2*p);e.addRadialRangeGaugeGeom(p,r,i,n,l,d,m,g,y,b,a)},n=p,a.StiRadialBar=n}(Stimulsoft=Stimulsoft||{}),function(e){var t,r,i,n,o,a,s,l,u,h;function c(){var e=null!==h&&h.apply(this,arguments)||this;return e._brush=new l,e}r=t=e.Report||(e.Report={}),n=i=r.Components||(r.Components={}),a=o=n.Gauge||(n.Gauge={}),s=e.Report.Gauge.StiBarRangeListType,l=e.Base.Drawing.StiEmptyBrush,u=e.Base.StiJsonReportObjectHelper,h=a.StiIndicatorRangeInfo,__extends(c,h),c.prototype.saveToJsonObject=function(e){var e=h.prototype.saveToJsonObject.call(this,e);return e.addPropertyIdent("Ident",this.stimulsoft.getType().stimulsoft.getTypeName()),e.addPropertyStringNullOrEmpty("Brush",u.Serialize.jBrush(this.brush)),e},c.prototype.loadFromJsonObject=function(e){var t,r;h.prototype.loadFromJsonObject.call(this,e);try{for(var i=__values(e.properties()),n=i.next();!n.done;n=i.next()){var o=n.value;switch(o.name){case"Brush":this.brush=u.Deserialize.brush(o.value);break}}}catch(e){t={error:e}}finally{try{n&&!n.done&&(r=i.return)&&r.call(i)}finally{if(t)throw t.error}}},Object.defineProperty(c.prototype,"componentId",{get:function(){return r.StiComponentId.StiRadialIndicatorRangeInfo},enumerable:!1,configurable:!0}),Object.defineProperty(c.prototype,"brush",{get:function(){return this._brush},set:function(e){this._brush=e},enumerable:!1,configurable:!0}),Object.defineProperty(c.prototype,"rangeListType",{get:function(){return s.RadialBar},enumerable:!1,configurable:!0}),c.prototype.createNew=function(){return new c},n=c,a.StiRadialIndicatorRangeInfo=n}(Stimulsoft=Stimulsoft||{}),function(h){var e,t,r,i,n,o,c,p,d,m,a,f,s;function l(){return null!==s&&s.apply(this,arguments)||this}t=e=h.Report||(h.Report={}),i=r=t.Components||(t.Components={}),o=n=i.Gauge||(i.Gauge={}),c=h.Base.Context.Animation.StiRotationAnimation,p=h.System.TimeSpan,d=h.Report.Gauge.StiPlacement,m=h.Report.Gauge.Helpers.StiMathHelper,a=h.Report.Gauge.StiGaugeElemenType,i=h.Report.Components.Gauge.Primitives.StiMarkerBase,f=h.System.Drawing.Rectangle,__extends(l,s=i),l.prototype.saveToJsonObject=function(e){var e=s.prototype.saveToJsonObject.call(this,e);return e.addPropertyIdent("Ident",this.stimulsoft.getType().stimulsoft.getTypeName()),e},l.prototype.loadFromJsonObject=function(e){s.prototype.loadFromJsonObject.call(this,e)},l.prototype.loadFromXml=function(e){s.prototype.loadFromXml.call(this,e)},Object.defineProperty(l.prototype,"componentId",{get:function(){return t.StiComponentId.StiRadialMarker},enumerable:!1,configurable:!0}),l.prototype.applyStyle=function(e){this.allowApplyStyle&&(this.brush=e.core.markerBrush,this.borderBrush=e.core.markerBorderBrush,this.borderWidth=e.core.markerBorderWidth,this.skin=e.core.markerSkin)},Object.defineProperty(l.prototype,"elementType",{get:function(){return a.RadialElement},enumerable:!1,configurable:!0}),Object.defineProperty(l.prototype,"localizeName",{get:function(){return"RadialMarker"},enumerable:!1,configurable:!0}),l.prototype.createNew=function(){return new l},l.prototype.drawElement=function(e){var t=this.scale;if(null==t)return;var r=this.getActualValue(),i=null==r?0:r,n=t.getPosition(i),o=t.barGeometry.center,a=this.scale.barGeometry.size.width*this.relativeWidth,s=this.scale.barGeometry.size.height*this.relativeHeight,l=this.scale.barGeometry.diameter,r=m.maxMinusMin(this.scale.startWidth,this.scale.endWidth)*l*n,i=this.scale.barGeometry.radius-this.offset*l;this.placement==d.Overlay?this.scale.isReversed?i-=this.scale.isUp?(this.scale.endWidth*l+a+r)/2:(this.scale.endWidth*l+a-r)/2:i-=this.scale.isUp?(this.scale.startWidth*l+a+r)/2:(this.scale.startWidth*l+a-r)/2:this.placement==d.Inside&&(this.scale.isReversed?i-=this.scale.isUp?this.scale.endWidth*l+a-r:this.scale.endWidth*l+a+r:i-=this.scale.isUp?this.scale.startWidth*l+a-r:this.scale.startWidth*l+a+r);var s=new f(i+o.x,o.y-s/2,a,s),n=t.startAngle+t.getSweepAngle()*n,t=t.startAngle-n,u;this.animation=new c(t,0,o,h.Report.Gauge.Helpers.StiGaugeHelper.globalDurationElement,p.zero),this.getActualSkin().draw(e,this,s,n,o)},l.prototype.interactiveClick=function(e,t){},i=l,o.StiRadialMarker=i}(Stimulsoft=Stimulsoft||{}),function(a){var e,t,r,i,n,o,s,l,u,h,c,p,d,m,f,g,y,b,S,v;function w(){var e=null!==v&&v.apply(this,arguments)||this;return e._format="{0:F0}",e._showValue=!1,e._textBrush=new c(h.dimGray),e._font=new d("Atial",7),e._filters=new u,e._left=0,e._top=0,e._relativeWidth=.05,e._relativeHeight=.05,e._skin=a.Report.Gauge.StiStateSkin.Ellipse,e}t=e=a.Report||(a.Report={}),i=r=t.Components||(t.Components={}),o=n=i.Gauge||(i.Gauge={}),s=a.Report.Gauge.StiStateSkin,l=a.Report.Gauge.Helpers.StiGaugeSkinHelper,u=a.Report.Gauge.Collections.StiFilterCollection,h=a.System.Drawing.Color,c=a.Base.Drawing.StiSolidBrush,p=a.Base.StiJsonSaveMode,d=a.System.Drawing.Font,m=a.Base.Drawing.StiBrush,f=a.System.Enum,g=a.System.Drawing.Rectangle,i=a.Report.Components.Gauge.Primitives.StiIndicatorBase,y=a.Base.StiJsonReportObjectHelper,b=a.System.Drawing.FontStyle,S=a.System.Drawing.GraphicsUnit,__extends(w,v=i),w.prototype.saveToJsonObject=function(e){var t=v.prototype.saveToJsonObject.call(this,e);return t.addPropertyIdent("Ident",this.stimulsoft.getType().stimulsoft.getTypeName()),t.addPropertyStringNullOrEmpty("Format",this.format),t.addPropertyBool("ShowValue",this.showValue,!1),t.addPropertyStringNullOrEmpty("TextBrush",y.Serialize.jBrush(this.textBrush)),t.addPropertyStringNullOrEmpty("Font",y.Serialize.font(this.font,"Arial",8,b.Bold,S.Pixel)),t.addPropertyNumber("Left",this.left,0),t.addPropertyNumber("Top",this.top,0),t.addPropertyNumber("RelativeHeight",this.relativeHeight,.05),t.addPropertyNumber("RelativeWidth",this.relativeWidth,.05),t.addPropertyEnum("Skin",a.Report.Gauge.StiStateSkin,this.skin),e==p.Report&&t.addPropertyJObject("Filters",this.filters.saveToJsonObject(e)),t},w.prototype.loadFromJsonObject=function(e){var t,r;v.prototype.loadFromJsonObject.call(this,e);try{for(var i=__values(e.properties()),n=i.next();!n.done;n=i.next()){var o=n.value;switch(o.name){case"Format":this.format=o.value.toString();break;case"ShowValue":this.showValue=o.value.stimulsoft.toBoolean();break;case"TextBrush":this.textBrush=y.Deserialize.brush(o.value);break;case"Font":this.font=y.Deserialize.font(o.value.toString(),this.font);break;case"Left":this.left=o.value.stimulsoft.toNumber();break;case"Top":this.top=o.value.stimulsoft.toNumber();break;case"RelativeHeight":this.relativeHeight=o.value.stimulsoft.toNumber();break;case"RelativeWidth":this.relativeWidth=o.value.stimulsoft.toNumber();break;case"Skin":this.skin=f.parse(a.Report.Gauge.StiStateSkin,o.value.toString());break;case"Filters":this.filters.loadFromJsonObject(o.value);break}}}catch(e){t={error:e}}finally{try{n&&!n.done&&(r=i.return)&&r.call(i)}finally{if(t)throw t.error}}},w.prototype.loadFromXml=function(e){v.prototype.loadFromXml.call(this,e);for(var t=0;t<e.childNodes.length;t++){var r=e.childNodes[t];switch(r.nodeName){case"Format":this.format=r.textContent;break;case"ShowValue":this.showValue=r.textContent.stimulsoft.toBoolean();break;case"TextBrush":this.textBrush=m.loadFromXml(r.textContent);break;case"Font":this.font=a.System.Convert.toFont(r.textContent);break;case"Left":this.left=r.textContent.stimulsoft.toNumber();break;case"Top":this.top=r.textContent.stimulsoft.toNumber();break;case"RelativeHeight":this.relativeHeight=r.textContent.stimulsoft.toNumber();break;case"RelativeWidth":this.relativeWidth=r.textContent.stimulsoft.toNumber();break;case"Skin":this.skin=f.parse(s,r.textContent);break;case"Filters":break}}},Object.defineProperty(w.prototype,"componentId",{get:function(){return t.StiComponentId.StiStateIndicator},enumerable:!1,configurable:!0}),Object.defineProperty(w.prototype,"format",{get:function(){return this._format},set:function(e){this._format=e},enumerable:!1,configurable:!0}),Object.defineProperty(w.prototype,"showValue",{get:function(){return this._showValue},set:function(e){this._showValue=e},enumerable:!1,configurable:!0}),Object.defineProperty(w.prototype,"textBrush",{get:function(){return this._textBrush},set:function(e){this._textBrush=e},enumerable:!1,configurable:!0}),Object.defineProperty(w.prototype,"font",{get:function(){return this._font},set:function(e){this._font=e},enumerable:!1,configurable:!0}),Object.defineProperty(w.prototype,"elementType",{get:function(){return a.Report.Gauge.StiGaugeElemenType.All},enumerable:!1,configurable:!0}),Object.defineProperty(w.prototype,"localizeName",{get:function(){return"StateIndicator"},enumerable:!1,configurable:!0}),Object.defineProperty(w.prototype,"filters",{get:function(){return this._filters},set:function(e){this._filters=e},enumerable:!1,configurable:!0}),Object.defineProperty(w.prototype,"left",{get:function(){return this._left},set:function(e){this._left=e},enumerable:!1,configurable:!0}),Object.defineProperty(w.prototype,"top",{get:function(){return this._top},set:function(e){this._top=e},enumerable:!1,configurable:!0}),Object.defineProperty(w.prototype,"relativeWidth",{get:function(){return this._relativeWidth},set:function(e){this._relativeWidth=e},enumerable:!1,configurable:!0}),Object.defineProperty(w.prototype,"relativeHeight",{get:function(){return this._relativeHeight},set:function(e){this._relativeHeight=e},enumerable:!1,configurable:!0}),Object.defineProperty(w.prototype,"skin",{get:function(){return this._skin},set:function(e){this._skin=e},enumerable:!1,configurable:!0}),Object.defineProperty(w.prototype,"customSkin",{get:function(){return this._customSkin},set:function(e){this._customSkin=e},enumerable:!1,configurable:!0}),w.prototype.createNew=function(){return new w},w.prototype.onValueChanged=function(){if(null!=this.filters){for(var e=null,t=this.getActualValue(),r=0;r<this.filters.count;r++)if(t>=this.filters.getByIndex(r).startValue&&t<=this.filters.getByIndex(r).endValue){e=this.filters.getByIndex(r);break}this.lastFilter!=e&&null!=(this.lastFilter=e)&&(this.brush=e.brush,this.borderBrush=e.borderBrush)}},w.prototype.interactiveClick=function(e,t){},w.prototype.drawElement=function(e){var t=this.scale.barGeometry.size,r=e.rect,t=new g(r.x+t.width*this.left,r.y+t.height*this.top,t.width*this.relativeWidth,t.height*this.relativeHeight),i;this.getActualSkin().draw(e,this,t,null,null)},w.prototype.getActualSkin=function(){return null!=this.customSkin?this.customSkin:l.getStateIndicatorSkin(this.skin)},i=w,o.StiStateIndicator=i}(Stimulsoft=Stimulsoft||{}),function(e){var t,r,i,n,o,a,s,l,u,h;function c(e){this._size=new u(0,0),this._center=new l(0,0),this._rectGeometry=s.empty,this._radius=0,this._diameter=0,this.scale=e}r=t=e.Report||(e.Report={}),n=i=r.Components||(r.Components={}),r=o=n.Gauge||(n.Gauge={}),n=a=r.Primitives||(r.Primitives={}),s=e.System.Drawing.Rectangle,l=e.System.Drawing.Point,u=e.System.Drawing.Size,h=e.Report.Gauge.StiRadiusMode,Object.defineProperty(c.prototype,"size",{get:function(){return this._size},enumerable:!1,configurable:!0}),Object.defineProperty(c.prototype,"rectGeometry",{get:function(){return this._rectGeometry},enumerable:!1,configurable:!0}),Object.defineProperty(c.prototype,"radius",{get:function(){return this._radius},enumerable:!1,configurable:!0}),Object.defineProperty(c.prototype,"diameter",{get:function(){return this._diameter},enumerable:!1,configurable:!0}),Object.defineProperty(c.prototype,"center",{get:function(){return this._center},enumerable:!1,configurable:!0}),c.prototype.checkRectGeometry=function(e){this._size=e.size;var t=this.scale.center,t=new l(e.x+this.size.width*t.x,e.y+this.size.height*t.y),r=0,e=0;this.scale.radiusMode==h.Auto?(e=r=Math.min(this.size.width,this.size.height)*this.scale.getRadius(),this._diameter=r,this._radius=r/2):this.scale.radiusMode==h.Width?(r=this.size.width*this.scale.getRadius(),e=this.size.height,this._diameter=r,this._radius=r/2):(r=this.size.width,e=this.size.height*this.scale.getRadius(),this._diameter=e,this._radius=e/2),this._rectGeometry=new s(t.x-r/2,t.y-e/2,r,e),this._center=new l(this.rectGeometry.left+this.rectGeometry.width/2,this.rectGeometry.top+this.rectGeometry.height/2)},c.prototype.drawScaleGeometry=function(e){var t,r,r=this.scale.isReversed?(t=this.scale.getEndWidth(),this.scale.getStartWidth()):(t=this.scale.getStartWidth(),this.scale.getEndWidth());0<this.rectGeometry.width&&0<this.rectGeometry.height&&e.addGraphicsArcGeometryGaugeGeom(this.rectGeometry,this.scale.brush,this.scale.borderBrush,1,this.scale.startAngle,this.scale.getSweepAngle(),t,r)},c.prototype.getRestToLenght=function(){return null},c.prototype.drawGeometry=function(e,t,r,i,n,o,a,s,l){return null},r=c,n.StiRadialBarGeometry=r}(Stimulsoft=Stimulsoft||{}),function(a){var e,t,r,i,n,o,s,l,u,h,c;function p(){var e=c.call(this)||this;return e._radius=.75,e._radiusMode=a.Report.Gauge.StiRadiusMode.Auto,e._center=new l(.5,.5),e._startAngle=45,e._sweepAngle=300,e._skin=a.Report.Gauge.StiRadialScaleSkin.Default,e.barGeometry=new s(e),e}t=e=a.Report||(a.Report={}),i=r=t.Components||(t.Components={}),o=n=i.Gauge||(i.Gauge={}),s=a.Report.Components.Gauge.Primitives.StiRadialBarGeometry,l=a.System.Drawing.Point,u=a.System.Enum,i=a.Report.Components.Gauge.Primitives.StiScaleBase,h=a.Base.StiJsonReportObjectHelper,__extends(p,c=i),p.prototype.saveToJsonObject=function(e){var e=c.prototype.saveToJsonObject.call(this,e);return e.addPropertyIdent("Ident",this.stimulsoft.getType().stimulsoft.getTypeName()),e.addPropertyNumber("Radius",this.radius,0),e.addPropertyEnum("RadiusMode",a.Report.Gauge.StiRadiusMode,this.radiusMode),e.addPropertyJObject("Center",h.Serialize.point(this.center)),e.addPropertyNumber("StartAngle",this.startAngle,45),e.addPropertyNumber("SweepAngle",this.sweepAngle,300),e.addPropertyEnum("Skin",a.Report.Gauge.StiRadialScaleSkin,this.skin),e},p.prototype.loadFromJsonObject=function(e){var t,r;c.prototype.loadFromJsonObject.call(this,e);try{for(var i=__values(e.properties()),n=i.next();!n.done;n=i.next()){var o=n.value;switch(o.name){case"Radius":this.radius=o.value.stimulsoft.toNumber();break;case"RadiusMode":this.radiusMode=u.parse(a.Report.Gauge.StiRadiusMode,o.value.toString());break;case"Center":this.center=h.Deserialize.point(o.value);break;case"StartAngle":this.startAngle=o.value.stimulsoft.toNumber();break;case"SweepAngle":this.sweepAngle=o.value.stimulsoft.toNumber();break;case"Skin":this.skin=u.parse(a.Report.Gauge.StiRadialScaleSkin,o.value.toString());break}}}catch(e){t={error:e}}finally{try{n&&!n.done&&(r=i.return)&&r.call(i)}finally{if(t)throw t.error}}},p.prototype.loadFromXml=function(e,t){c.prototype.loadFromXml.call(this,e,t);for(var r=0;r<e.childNodes.length;r++){var i=e.childNodes[r];switch(i.nodeName){case"Radius":this.radius=i.textContent.stimulsoft.toNumber();break;case"RadiusMode":this.radiusMode=u.parse(a.Report.Gauge.StiRadiusMode,i.textContent);break;case"Center":this.center=this.loadPointFromXml(i.textContent);break;case"StartAngle":this.startAngle=i.textContent.stimulsoft.toNumber();break;case"SweepAngle":this.sweepAngle=i.textContent.stimulsoft.toNumber();break;case"Skin":this.skin=u.parse(a.Report.Gauge.StiRadialScaleSkin,i.textContent);break}}},p.prototype.loadPointFromXml=function(e){var e=e.split(",");return new l(e[0].stimulsoft.toNumber(),e[1].stimulsoft.toNumber())},Object.defineProperty(p.prototype,"componentId",{get:function(){return t.StiComponentId.StiRadialScale},enumerable:!1,configurable:!0}),p.prototype.clone=function(){var e;return c.prototype.clone.call(this)},p.prototype.applyStyle=function(e){var t,r;try{for(var i=__values(this.items.list),n=i.next(),o;!n.done;n=i.next()){n.value.applyStyle(e)}}catch(e){t={error:e}}finally{try{n&&!n.done&&(r=i.return)&&r.call(i)}finally{if(t)throw t.error}}},Object.defineProperty(p.prototype,"radius",{get:function(){return this._radius},set:function(e){this._radius=e},enumerable:!1,configurable:!0}),Object.defineProperty(p.prototype,"radiusMode",{get:function(){return this._radiusMode},set:function(e){this._radiusMode=e},enumerable:!1,configurable:!0}),Object.defineProperty(p.prototype,"center",{get:function(){return this._center},set:function(e){this._center=e},enumerable:!1,configurable:!0}),Object.defineProperty(p.prototype,"startAngle",{get:function(){return this._startAngle},set:function(e){this._startAngle=e},enumerable:!1,configurable:!0}),Object.defineProperty(p.prototype,"sweepAngle",{get:function(){return this._sweepAngle},set:function(e){this._sweepAngle=e},enumerable:!1,configurable:!0}),Object.defineProperty(p.prototype,"skin",{get:function(){return this._skin},set:function(e){this._skin=e},enumerable:!1,configurable:!0}),Object.defineProperty(p.prototype,"scaleType",{get:function(){return a.Report.Gauge.StiGaugeElemenType.RadialElement},enumerable:!1,configurable:!0}),p.prototype.getRadius=function(){return this.radius<0?0:this.radius},p.prototype.getStartWidth=function(){var e=this.startWidth;return e<0?e=0:1<e&&(e=1),e},p.prototype.getEndWidth=function(){var e=this.endWidth;return e<0?e=0:1<e&&(e=1),e},p.prototype.getSweepAngle=function(){var e=this.sweepAngle;return e<0?e=0:360<e&&(e=360),e},p.prototype.getCurrentAngle=function(e){return this.getPosition(e)*this.sweepAngle+this.startAngle},p.prototype.interactiveClick=function(e){},p.prototype.createNew=function(){return new p},i=p,o.StiRadialScale=i}(Stimulsoft=Stimulsoft||{}),function(e){var t,r,i,n,o,a,s,l,u,h,c,p,d,m;function f(){this._brush=new d(m.white),this._borderBrush=new p,this._borderWidth=1,this._startValue=0,this._endValue=0,this._startWidth=0,this._endWidth=0,this._placement=s.Overlay,this._offset=0}r=t=e.Report||(e.Report={}),n=i=r.Components||(r.Components={}),r=o=n.Gauge||(n.Gauge={}),n=a=r.Primitives||(r.Primitives={}),s=e.Report.Gauge.StiPlacement,l=e.Base.StiJson,u=e.Base.StiJsonReportObjectHelper,h=e.System.Enum,c=e.Base.Drawing.StiBrush,p=e.Base.Drawing.StiEmptyBrush,d=e.Base.Drawing.StiSolidBrush,m=e.System.Drawing.Color,f.prototype.saveToJsonObject=function(e){var t=new l;return t.addPropertyStringNullOrEmpty("Brush",u.Serialize.jBrush(this.brush)),t.addPropertyStringNullOrEmpty("BorderBrush",u.Serialize.jBrush(this.borderBrush)),t.addPropertyNumber("BorderWidth",this.borderWidth,1),t.addPropertyNumber("StartValue",this.startValue,0),t.addPropertyNumber("EndValue",this.endValue,0),t.addPropertyNumber("StartWidth",this.startWidth,0),t.addPropertyNumber("EndWidth",this.endWidth,0),t.addPropertyEnum("Placement",s,this.placement),t.addPropertyNumber("Offset",this.offset,0),t},f.prototype.loadFromJsonObject=function(e){var t,r;try{for(var i=__values(e.properties()),n=i.next();!n.done;n=i.next()){var o=n.value;switch(o.name){case"Brush":this.brush=u.Deserialize.brush(o.value);break;case"BorderBrush":this.borderBrush=u.Deserialize.brush(o.value);break;case"BorderWidth":this.borderWidth=o.value.stimulsoft.toNumber();break;case"StartValue":this.startValue=o.value.stimulsoft.toNumber();break;case"EndValue":this.endValue=o.value.stimulsoft.toNumber();break;case"StartWidth":this.startWidth=o.value.stimulsoft.toNumber();break;case"EndWidth":this.endWidth=o.value.stimulsoft.toNumber();break;case"Placement":this.placement=h.parse(s,o.value.toString());break;case"Offset":this.offset=o.value.stimulsoft.toNumber();break}}}catch(e){t={error:e}}finally{try{n&&!n.done&&(r=i.return)&&r.call(i)}finally{if(t)throw t.error}}},f.prototype.loadFromXml=function(e){for(var t=0;t<e.childNodes.length;t++){var r=e.childNodes[t];switch(r.nodeName){case"Brush":this.brush=c.loadFromXml(r.textContent);break;case"BorderBrush":this.borderBrush=c.loadFromXml(r.textContent);break;case"BorderWidth":this.borderWidth=r.textContent.stimulsoft.toNumber();break;case"StartValue":this.startValue=r.textContent.stimulsoft.toNumber();break;case"EndValue":this.endValue=r.textContent.stimulsoft.toNumber();break;case"StartWidth":this.startWidth=r.textContent.stimulsoft.toNumber();break;case"EndWidth":this.endWidth=r.textContent.stimulsoft.toNumber();break;case"Placement":this.placement=h.parse(s,r.textContent);break;case"Offset":this.offset=r.textContent.stimulsoft.toNumber();break}}},Object.defineProperty(f.prototype,"componentId",{get:function(){return null},enumerable:!1,configurable:!0}),Object.defineProperty(f.prototype,"propName",{get:function(){return null},enumerable:!1,configurable:!0}),f.prototype.clone=function(){var e=this.stimulsoft.memberwiseClone();return e.brush=this.brush.clone(),e.borderBrush=this.borderBrush.clone(),e},Object.defineProperty(f.prototype,"brush",{get:function(){return this._brush},set:function(e){this._brush=e},enumerable:!1,configurable:!0}),Object.defineProperty(f.prototype,"borderBrush",{get:function(){return this._borderBrush},set:function(e){this._borderBrush=e},enumerable:!1,configurable:!0}),Object.defineProperty(f.prototype,"borderWidth",{get:function(){return this._borderWidth},set:function(e){this._borderWidth=e},enumerable:!1,configurable:!0}),Object.defineProperty(f.prototype,"startValue",{get:function(){return this._startValue},set:function(e){this._startValue=e},enumerable:!1,configurable:!0}),Object.defineProperty(f.prototype,"endValue",{get:function(){return this._endValue},set:function(e){this._endValue=e},enumerable:!1,configurable:!0}),Object.defineProperty(f.prototype,"startWidth",{get:function(){return this._startWidth},set:function(e){this._startWidth=e},enumerable:!1,configurable:!0}),Object.defineProperty(f.prototype,"endWidth",{get:function(){return this._endWidth},set:function(e){this._endWidth=e},enumerable:!1,configurable:!0}),Object.defineProperty(f.prototype,"placement",{get:function(){return this._placement},set:function(e){this._placement=e},enumerable:!1,configurable:!0}),Object.defineProperty(f.prototype,"offset",{get:function(){return this._offset},set:function(e){this._offset=e},enumerable:!1,configurable:!0}),Object.defineProperty(f.prototype,"rangeList",{get:function(){return this._rangeList},set:function(e){this._rangeList=e},enumerable:!1,configurable:!0}),Object.defineProperty(f.prototype,"localizeName",{get:function(){return null},enumerable:!1,configurable:!0}),f.prototype.drawRange=function(e,t){},f.prototype.createNew=function(){return null},r=f,n.StiRangeBase=r}(Stimulsoft=Stimulsoft||{}),function(e){var t,r,i,n,o,a,s,l,u;function h(){return null!==u&&u.apply(this,arguments)||this}r=t=e.Report||(e.Report={}),n=i=r.Components||(r.Components={}),a=o=n.Gauge||(n.Gauge={}),s=e.Report.Gauge.GaugeGeoms.StiGraphicsPathGaugeGeom,n=e.Report.Components.Gauge.Primitives.StiRangeBase,l=e.System.Drawing.Rectangle,__extends(h,u=n),h.prototype.saveToJsonObject=function(e){var e=u.prototype.saveToJsonObject.call(this,e);return e.addPropertyIdent("Ident",this.stimulsoft.getType().stimulsoft.getTypeName()),e},h.prototype.loadFromJsonObject=function(e){u.prototype.loadFromJsonObject.call(this,e)},h.prototype.loadFromXml=function(e){u.prototype.loadFromXml.call(this,e)},Object.defineProperty(h.prototype,"componentId",{get:function(){return r.StiComponentId.StiLinearRange},enumerable:!1,configurable:!0}),h.prototype.drawRange=function(e,t){if(null==t)return;var r=this.startWidth,i=this.endWidth;if(0==r||0==i)return;var n,o={ref:n=new l(0,0,0,0)},i=t.barGeometry.drawGeometry(e,this.startValue,this.endValue,r,i,this.offset,this.placement,o,!1),n,n=o.ref;null!=i&&((n=new s(n,i.points[0],this.brush,this.borderBrush,this.borderWidth)).geoms.push(i),n.addGraphicsPathCloseFigureGaugeGeom(),e.addGraphicsPathGaugeGeom(n))},Object.defineProperty(h.prototype,"localizeName",{get:function(){return"LinearRange"},enumerable:!1,configurable:!0}),h.prototype.createNew=function(){return new h},n=h,a.StiLinearRange=n}(Stimulsoft=Stimulsoft||{}),function(e){var t,r,i,n,o,a,g,y,s;function l(){var e=null!==s&&s.apply(this,arguments)||this;return e._useValuesFromTheSpecifiedRange=!0,e}r=t=e.Report||(e.Report={}),n=i=r.Components||(r.Components={}),a=o=n.Gauge||(n.Gauge={}),g=e.Report.Gauge.Helpers.StiMathHelper,y=e.Report.Gauge.StiPlacement,n=e.Report.Components.Gauge.Primitives.StiRangeBase,__extends(l,s=n),l.prototype.saveToJsonObject=function(e){var e=s.prototype.saveToJsonObject.call(this,e);return e.addPropertyIdent("Ident",this.stimulsoft.getType().stimulsoft.getTypeName()),e.addPropertyBool("UseValuesFromTheSpecifiedRange",this.useValuesFromTheSpecifiedRange,!0),e},l.prototype.loadFromJsonObject=function(e){var t,r;s.prototype.loadFromJsonObject.call(this,e);try{for(var i=__values(e.properties()),n=i.next();!n.done;n=i.next()){var o=n.value;switch(o.name){case"UseValuesFromTheSpecifiedRange":this.useValuesFromTheSpecifiedRange=o.value.stimulsoft.toBoolean();break}}}catch(e){t={error:e}}finally{try{n&&!n.done&&(r=i.return)&&r.call(i)}finally{if(t)throw t.error}}},l.prototype.loadFromXml=function(e){s.prototype.loadFromXml.call(this,e);for(var t=0;t<e.childNodes.length;t++){var r=e.childNodes[t];switch(r.nodeName){case"UseValuesFromTheSpecifiedRange":this.useValuesFromTheSpecifiedRange=r.textContent.stimulsoft.toBoolean();break}}},Object.defineProperty(l.prototype,"componentId",{get:function(){return r.StiComponentId.StiRadialRange},enumerable:!1,configurable:!0}),Object.defineProperty(l.prototype,"useValuesFromTheSpecifiedRange",{get:function(){return this._useValuesFromTheSpecifiedRange},set:function(e){this._useValuesFromTheSpecifiedRange=e},enumerable:!1,configurable:!0}),Object.defineProperty(l.prototype,"localizeName",{get:function(){return"RadialRange"},enumerable:!1,configurable:!0}),l.prototype.drawRange=function(e,t){var r=t;if(null==r||0==this.startWidth||0==this.endWidth)return;var i=this.startValue;if(this.useValuesFromTheSpecifiedRange&&i<t.minimum)i=t.minimum;else if(i>t.maximum)return;var n=this.endValue;if(this.useValuesFromTheSpecifiedRange&&n>t.maximum)n=t.maximum;else if(n<t.minimum)return;var o=t.barGeometry.diameter,a,s,s=t.isReversed?(i=t.maximum-i,n=t.maximum-n,a=t.endWidth*o,t.startWidth*o):(a=t.startWidth*o,t.endWidth*o),l=t.barGeometry.rectGeometry,u=t.barGeometry.center,h=t.barGeometry.radius,c=0<=this.startWidth?this.startWidth*o:0,p=0<=this.endWidth?this.endWidth*o:0,o=r.startAngle+t.getPosition(i)*r.sweepAngle,r=(t.getPosition(n)-t.getPosition(i))*r.sweepAngle,i=t.getPosition(i),n=t.getPosition(n),s=g.maxMinusMin(a,s),d,m,f,p,p=this.placement==y.Outside?(f=(m=d=h)+c,h+p):this.placement==y.Overlay?t.isUp?(d=h-(a+s*i-c)/2,m=h-(a+s*n-p)/2,f=h-(a+s*i+c)/2,h-(a+s*n+p)/2):(d=h-(a-s*i-c)/2,m=h-(a-s*n-p)/2,f=h-(a-s*i+c)/2,h-(a-s*n+p)/2):t.isUp?(d=h-(a+s*i),m=h-(a+s*n),f=h-(a+s*i+c),h-(a+s*n+p)):(d=h-(a-s*i),m=h-(a-s*n),f=h-(a-s*i+c),h-(a-s*n+p));e.addRadialRangeGaugeGeom(l,this.brush,this.borderBrush,this.borderWidth,u,o,r,d,m,f,p)},l.prototype.createNew=function(){return new l},n=l,a.StiRadialRange=n}(Stimulsoft=Stimulsoft||{}),function(e){var t,r,i,n,o,a,s,l,u,h;function c(e){var t=h.call(this)||this;return t.parent=null,t.parent=e,t}r=t=e.Report||(e.Report={}),n=i=r.Gauge||(r.Gauge={}),r=o=n.Collections||(n.Collections={}),a=e.Report.Components.Gauge.StiRadialRange,s=e.Report.Components.Gauge.StiLinearRange,l=e.System.StiString,n=e.System.Collections.CollectionBase,u=e.Base.StiJson,__extends(c,h=n),c.prototype.saveToJsonObject=function(e){var t,r;if(0==this.list.length)return null;var i=new u,n=0;try{for(var o=__values(this.list),a=o.next();!a.done;a=o.next()){var s=a.value;i.addPropertyJObject(n.toString(),s.saveToJsonObject(e)),n++}}catch(e){t={error:e}}finally{try{a&&!a.done&&(r=o.return)&&r.call(o)}finally{if(t)throw t.error}}return i},c.prototype.loadFromJsonObject=function(e){var t,r,i=function(e){var t,r=e.value.properties().firstOrDefault(function(e){return"Ident"==e.name}).value.toString(),i=StiOptions.Services.ranges.firstOrDefault(function(e){return e.stimulsoft.getType().stimulsoft.getTypeName()==r});if(null==i)throw l.format("Type {0} is not found!",r);var i=i.createNew();n.add(i),i.loadFromJsonObject(e.value)},n=this;try{for(var o=__values(e.properties()),a=o.next(),s;!a.done;a=o.next()){i(a.value)}}catch(e){t={error:e}}finally{try{a&&!a.done&&(r=o.return)&&r.call(o)}finally{if(t)throw t.error}}},c.prototype.loadFromXml=function(e){for(var t=0;t<e.childNodes.length;t++){var r=e.childNodes[t];if(null==r.attributes)continue;if(null!=r.attributes.getNamedItem("type"))switch(r.attributes.getNamedItem("type").value){case"Stimulsoft.Report.Components.Gauge.StiLinearRange":var i=new s;this.add(i),i.loadFromXml(r);break;case"Stimulsoft.Report.Components.Gauge.StiRadialRange":var i=new a;this.add(i),i.loadFromXml(r);break}}return null},c.prototype.clone=function(){var t,e,r=new c(this.parent);try{for(var i=__values(this.list),n=i.next();!n.done;n=i.next()){var o=n.value;r.add(o.clone())}}catch(e){t={error:e}}finally{try{n&&!n.done&&(e=i.return)&&e.call(i)}finally{if(t)throw t.error}}return r},Object.defineProperty(c.prototype,"isReadOnly",{get:function(){return!1},enumerable:!1,configurable:!0}),c.prototype.setByIndex=function(e,t){this.setParent(t),h.prototype.setByIndex.call(this,e,t)},c.prototype.setParent=function(e){e.rangeList=this.parent},c.prototype.clearParent=function(e){e.rangeList=null},c.prototype.add=function(e){this.setParent(e),h.prototype.add.call(this,e)},c.prototype.insert=function(e,t){this.setParent(t),h.prototype.insert.call(this,e,t)},c.prototype.remove=function(e){var t=this.list.indexOf(e);if(-1!=t)return this.clearParent(e),this.removeAt(t),!0;return!1},c.prototype.copyTo=function(e,t){this.list.stimulsoft.copyTo(e,t)},c.prototype.moveUp=function(e){var t=this.list.indexOf(e);if(0<t)return this.list.stimulsoft.removeAt(t),t--,this.list.stimulsoft.insert(t,e),!0;return!1},c.prototype.moveDown=function(e){var t=this.list.indexOf(e);if(-1!=t&&1<this.list.length&&t<this.list.length-1)return this.list.stimulsoft.removeAt(t),t++,this.list.stimulsoft.insert(t,e),!0;return!1},n=c,r.StiRangeCollection=n}(Stimulsoft=Stimulsoft||{}),function(e){var t,r,i,n,o,a,s,l,u,h;function c(){var e=h.call(this)||this;return e.ranges=new u(e),e}r=t=e.Report||(e.Report={}),n=i=r.Components||(r.Components={}),a=o=n.Gauge||(n.Gauge={}),n=s=a.Primitives||(a.Primitives={}),l=e.Base.StiJson,u=e.Report.Gauge.Collections.StiRangeCollection,h=n.StiGaugeElement,__extends(c,h),c.prototype.saveToJsonObject=function(e){var t=new l;return t.addPropertyJObject("Ranges",this.ranges.saveToJsonObject(e)),t},c.prototype.loadFromJsonObject=function(e){var t,r;h.prototype.loadFromJsonObject.call(this,e);try{for(var i=__values(e.properties()),n=i.next();!n.done;n=i.next()){var o=n.value;switch(o.name){case"Ranges":this.ranges.loadFromJsonObject(o.value);break}}}catch(e){t={error:e}}finally{try{n&&!n.done&&(r=i.return)&&r.call(i)}finally{if(t)throw t.error}}},c.prototype.loadFromXml=function(e){h.prototype.loadFromXml.call(this,e);for(var t=0;t<e.childNodes.length;t++){var r=e.childNodes[t];switch(r.nodeName){case"Ranges":this.ranges.loadFromXml(r);break}}},Object.defineProperty(c.prototype,"componentId",{get:function(){return r.StiComponentId.StiScaleRangeList},enumerable:!1,configurable:!0}),c.prototype.clone=function(){var t,e,r=h.prototype.clone.call(this);r.ranges=new u(r);try{for(var i=__values(this.ranges.list),n=i.next();!n.done;n=i.next()){var o=n.value;r.ranges.add(o.clone())}}catch(e){t={error:e}}finally{try{n&&!n.done&&(e=i.return)&&e.call(i)}finally{if(t)throw t.error}}return r},Object.defineProperty(c.prototype,"ranges",{get:function(){return this._ranges},set:function(e){this._ranges=e},enumerable:!1,configurable:!0}),a=c,n.StiScaleRangeList=a}(Stimulsoft=Stimulsoft||{}),function(e){var t,r,i,n,o,a,s;function l(){return null!==s&&s.apply(this,arguments)||this}r=t=e.Report||(e.Report={}),n=i=r.Components||(r.Components={}),a=o=n.Gauge||(n.Gauge={}),n=e.Report.Components.Gauge.Primitives.StiScaleRangeList,__extends(l,s=n),l.prototype.saveToJsonObject=function(e){var e=s.prototype.saveToJsonObject.call(this,e);return e.addPropertyIdent("Ident",this.stimulsoft.getType().stimulsoft.getTypeName()),e},l.prototype.loadFromJsonObject=function(e){s.prototype.loadFromJsonObject.call(this,e)},l.prototype.loadFromXml=function(e){s.prototype.loadFromXml.call(this,e)},Object.defineProperty(l.prototype,"componentId",{get:function(){return r.StiComponentId.StiLinearRangeList},enumerable:!1,configurable:!0}),l.prototype.createNew=function(){return new l},l.prototype.drawElement=function(e){var t=0;while(t<this.ranges.count){var r=this.ranges.getByIndex(t);null!=r&&r.drawRange(e,this.scale),t++}},n=l,a.StiLinearRangeList=n}(Stimulsoft=Stimulsoft||{}),function(e){var t,r,i,n,o,a,s,l;function u(){return null!==l&&l.apply(this,arguments)||this}r=t=e.Report||(e.Report={}),n=i=r.Components||(r.Components={}),a=o=n.Gauge||(n.Gauge={}),s=e.Report.Gauge.StiGaugeElemenType,n=e.Report.Components.Gauge.Primitives.StiScaleRangeList,__extends(u,l=n),u.prototype.saveToJsonObject=function(e){var e=l.prototype.saveToJsonObject.call(this,e);return e.addPropertyIdent("Ident",this.stimulsoft.getType().stimulsoft.getTypeName()),e},u.prototype.loadFromJsonObject=function(e){l.prototype.loadFromJsonObject.call(this,e)},u.prototype.loadFromXml=function(e){l.prototype.loadFromXml.call(this,e)},Object.defineProperty(u.prototype,"componentId",{get:function(){return r.StiComponentId.StiRadialRangeList},enumerable:!1,configurable:!0}),Object.defineProperty(u.prototype,"elementType",{get:function(){return s.RadialElement},enumerable:!1,configurable:!0}),u.prototype.createNew=function(){return new u},u.prototype.drawElement=function(e){var t=0;while(t<this.ranges.count){var r=this.ranges.getByIndex(t);null!=r&&r.drawRange(e,this.scale),t++}},n=u,a.StiRadialRangeList=n}(Stimulsoft=Stimulsoft||{}),function(e){var t,u,r,c,i,n,h,p,d,l,m,f,g,s,y,b,S,v,w,k,G,B,R,O,o,a,x,_,P,C,j,W,M,T,F,N,E,H,A,V,L,I,D,J,z;function X(){}u=t=e.Report||(e.Report={}),c=r=u.Gauge||(u.Gauge={}),n=i=c.Helpers||(c.Helpers={}),h=e.System.StiString,p=e.System.Drawing.Orientation,d=e.System.Drawing.FontStyle,l=e.Report.Components.Gauge.StiLinearMarker,m=e.Report.Components.Gauge.StiLinearRangeList,f=e.Report.Components.Gauge.StiLinearRange,g=e.Report.Components.Gauge.StiLinearTickMarkCustom,s=e.Report.Components.Gauge.StiRadialIndicatorRangeInfo,y=e.Report.Components.Gauge.StiLinearIndicatorRangeInfo,b=e.Report.Components.Gauge.StiLinearTickMarkMinor,S=e.Report.Components.Gauge.StiStateIndicator,v=e.Report.Components.Gauge.StiStateIndicatorFilter,w=e.Report.Components.Gauge.StiRadialRangeList,k=e.Report.Components.Gauge.StiRadialRange,G=e.Report.Components.Gauge.StiRadialTickMarkCustom,B=e.Report.Components.Gauge.StiRadialTickLabelCustom,R=e.Report.Components.Gauge.StiRadialTickMarkCustomValue,O=e.Report.Components.Gauge.StiRadialTickLabelCustomValue,o=e.System.Drawing.Rectangle,a=e.System.Globalization.CultureInfo,x=e.Base.Drawing.StiGradientBrush,_=e.System.Drawing.Point,P=e.Report.Components.Gauge.StiLinearBar,C=e.Report.Components.Gauge.StiLinearTickLabelMajor,j=e.Report.Components.Gauge.StiLinearTickMarkMajor,W=e.Report.Components.Gauge.StiLinearScale,M=e.Report.Components.Gauge.StiRadialMarker,T=e.System.Drawing.Font,F=e.Base.Drawing.StiEmptyBrush,N=e.Report.Components.Gauge.StiRadialBar,E=e.Report.Components.Gauge.StiNeedle,H=e.Report.Components.Gauge.StiRadialTickLabelMajor,A=e.Report.Components.Gauge.StiRadialTickMarkMinor,V=e.Report.Components.Gauge.StiRadialTickMarkMajor,L=e.System.Drawing.Color,I=e.Base.Drawing.StiSolidBrush,D=e.Report.Components.Gauge.StiRadialScale,J=e.System.TimeSpan,z=e.System.Collections.Hashtable,X.getFloatValueFromObject=function(e,t){var r=t.minimum,i;return null!=e&&("string"==typeof e?(i=a.currentCulture,a.currentCulture=new a("en-US"),r=e.stimulsoft.toNumber(),isNaN(r)||r<t.minimum?r=t.minimum:r>t.maximum&&(r=t.maximum),a.currentCulture=i):r=e.stimulsoft.toNumber()),r},X.getFloatValueFromObject2=function(e,t){var r=t,i;return null!=e&&("string"==typeof e?(i=a.currentCulture,a.currentCulture=new a("en-US"),r=e.stimulsoft.toNumber(),isNaN(r)&&(r=t),a.currentCulture=i):r=e.stimulsoft.toNumber()),r},X.getFloatArrayValueFromString=function(e){var e=e;if(h.isNullOrEmpty(e))return null;var t=e.split(";"),r=[],e=a.currentCulture;a.currentCulture=new a("en-US");var i=-1;while(++i<t.length){var n=t[i].stimulsoft.toNumber();if(isNaN(n)){r=null;break}r[i]=n}return a.currentCulture=e,r},X.initializeGauge=function(e,t,r){var i;e.scales.clear(),null!=e.page&&(i=e.page.unit,e.clientRectangle=new o(e.left,e.top,i.convertFromHInches(t),i.convertFromHInches(r)))},X.initializeName=function(e,t){if(h.isNullOrEmpty(e.name)){var t=u.StiNameCreation.createSimpleName(t,u.StiNameCreation.generateName(e));e.name=t;var r=-1;while(++r<e.scales.count){var i=new z,n=e.scales.getByIndex(r),o=-1;while(++o<n.items.count){var a,s=n.items.getByIndex(o).stimulsoft.getType(),l=0;i.containsKey(s)&&(l=Math.trunc(i.get(s))),l++,i.set(s,l)}}}},X.checkGaugeName=function(e){var t=e.name,r=-1;while(++r<e.scales.count){var i=new z,n=e.scales.getByIndex(r),o=-1;while(++o<n.items.count){var a,s=n.items.getByIndex(o).stimulsoft.getType(),l=0;i.containsKey(s)&&(l=Math.trunc(i.get(s))),l++,i.set(s,l)}}},X.simpleRadialGauge=function(e,t){this.initializeGauge(e,250,250);var r=new D;r.startAngle=0,r.sweepAngle=340,r.startWidth=.05,r.endWidth=.05,r.minimum=0,r.maximum=100,r.majorInterval=10,r.minorInterval=5,r.brush=new I(L.fromArgb(238,238,238));var i=new V;i.placement=c.StiPlacement.Overlay,i.offsetAngle=-2,i.relativeWidth=.05,i.relativeHeight=.02,i.skin=c.StiTickMarkSkin.Rectangle,i.brush=new I(L.black);var n=new A;n.placement=c.StiPlacement.Overlay,n.relativeWidth=.01,n.relativeHeight=.01,n.skin=c.StiTickMarkSkin.Rectangle;var o=new H,a=new E;a.relativeHeight=.06,a.relativeWidth=.45,a.startWidth=.1,a.endWidth=1,a.capBrush=new I(L.white),a.capBorderBrush=new I(L.fromArgb(244,67,54)),a.capBorderWidth=2,a.brush=new I(L.fromArgb(244,67,54)),a.value="60",r.items.add(i),r.items.add(n),r.items.add(o),r.items.add(a),e.scales.add(r),this.initializeName(e,t)},X.radialTwoScalesGauge=function(e,t){this.initializeGauge(e,250,250);var r=new D;r.startAngle=270,r.sweepAngle=360,r.startWidth=.05,r.endWidth=.05,r.minimum=0,r.maximum=60,r.radius=.5,r.majorInterval=10,r.minorInterval=1,r.brush=new I(L.fromArgb(238,238,238));var i=new V;i.placement=c.StiPlacement.Overlay,i.relativeWidth=.05,i.offsetAngle=-2,i.relativeHeight=.03,i.skin=c.StiTickMarkSkin.Rectangle,i.brush=new I(L.black);var n=new H;n.minimumValue=1,n.font=new T("Arial",7),r.items.add(i),r.items.add(n),e.scales.add(r);var o=new D;o.startAngle=270,o.sweepAngle=360,o.startWidth=.05,o.endWidth=.05,o.minimum=0,o.maximum=12,o.radius=.75,o.majorInterval=1,o.minorInterval=0,o.brush=new I(L.fromArgb(238,238,238));var a=new V;a.minimumValue=1,a.placement=c.StiPlacement.Overlay,a.offsetAngle=-2,a.relativeHeight=.03,a.relativeWidth=.05,a.skin=c.StiTickMarkSkin.Rectangle,a.brush=new I(L.black),a.borderBrush=new I(L.white),a.borderWidth=3;var i=new H;i.minimumValue=1;var n=new E;n.value="2",n.offsetNeedle=.15,n.startWidth=.05,n.endWidth=.5,n.relativeHeight=.12,n.relativeWidth=.6,n.capBrush=new I(L.fromArgb(244,67,54)),n.brush=new I(L.fromArgb(244,67,54));var r=new E;r.value="10",r.offsetNeedle=.15,r.startWidth=.05,r.endWidth=.5,r.relativeHeight=.08,r.relativeWidth=.4,r.capBrush=new I(L.fromArgb(3,169,244)),r.brush=new I(L.fromArgb(3,169,244)),o.items.add(a),o.items.add(i),o.items.add(n),o.items.add(r),e.scales.add(o),this.initializeName(e,t)},X.radialBarGauge=function(e,t){this.initializeGauge(e,250,250);var r=new D;r.startAngle=120,r.sweepAngle=300,r.startWidth=.05,r.endWidth=.05,r.minimum=0,r.maximum=180,r.majorInterval=90,r.minorInterval=10,r.brush=new I(L.fromArgb(238,238,238));var i=new V;i.placement=c.StiPlacement.Inside,i.offsetAngle=-1,i.relativeWidth=.05,i.relativeHeight=.015,i.skin=c.StiTickMarkSkin.Rectangle,i.brush=new I(L.black);var n=new A;n.placement=c.StiPlacement.Inside,n.relativeWidth=.03,n.relativeHeight=.005,n.skin=c.StiTickMarkSkin.Rectangle,n.brush=new I(L.black);var o=new H;o.placement=c.StiPlacement.Inside,o.minimumValue=1,o.offset=.15;var a=new N;a.startWidth=.1,a.endWidth=.1,a.offset=.1,a.placement=c.StiPlacement.Outside,a.brush=new I(L.fromArgb(0,150,136)),a.value="90";var s=new E;s.relativeHeight=.3,s.relativeWidth=.4,s.startWidth=.1,s.endWidth=1,s.capBrush=new F,s.brush=new F,s.textBrush=new I(L.fromArgb(0,150,136)),s.font=new T("Arial",36),s.value="90",r.items.add(i),r.items.add(n),r.items.add(o),r.items.add(a),r.items.add(s),e.scales.add(r),this.initializeName(e,t)},X.simpleTwoBarGauge=function(e,t){this.initializeGauge(e,250,250);var r=new D;r.minimum=0,r.maximum=180,r.majorInterval=20,r.minorInterval=10,r.startWidth=.05,r.endWidth=.05,r.startAngle=120,r.sweepAngle=300,r.brush=new I(L.fromArgb(238,238,238));var i=new V;i.placement=c.StiPlacement.Overlay,i.offsetAngle=-1,i.relativeWidth=.05,i.relativeHeight=.02,i.skin=c.StiTickMarkSkin.Rectangle,i.brush=new I(L.black),i.borderBrush=new I(L.white),i.borderWidth=1;var n=new A;n.placement=c.StiPlacement.Overlay,n.relativeWidth=.01,n.relativeHeight=.01,n.skin=c.StiTickMarkSkin.Diamond,n.brush=new I(L.black),n.borderBrush=new I(L.gray),n.borderWidth=1;var o=new H;o.placement=c.StiPlacement.Inside,o.offset=.15;var a=new N;a.startWidth=.05,a.endWidth=.05,a.offset=0,a.placement=c.StiPlacement.Outside,a.brush=new I(L.fromArgb(3,169,244)),a.value="80";var s=new N;s.startWidth=.05,s.endWidth=.05,s.offset=0,s.placement=c.StiPlacement.Inside,s.brush=new I(L.fromArgb(255,235,59)),s.value="120";var l=new M;l.value="100",l.offset=.25,l.relativeHeight=.05,l.relativeWidth=.05,l.skin=c.StiMarkerSkin.TriangleRight,l.brush=new I(L.fromArgb(76,175,80)),r.items.add(i),r.items.add(n),r.items.add(o),r.items.add(a),r.items.add(s),r.items.add(l),e.scales.add(r),this.initializeName(e,t)},X.defaultRadialGauge=function(e,t){this.initializeGauge(e,250,250);var r=new D;r.startAngle=0,r.sweepAngle=340,r.startWidth=.05,r.endWidth=.05,r.minimum=0,r.maximum=100,r.majorInterval=10,r.minorInterval=5;var i=new V;i.placement=c.StiPlacement.Overlay,i.offsetAngle=-2,i.relativeWidth=.06,i.relativeHeight=.03,i.skin=c.StiTickMarkSkin.TriangleRight;var n=new H,o=new E;o.relativeHeight=.14,o.relativeWidth=.5,r.items.add(i),r.items.add(n),r.items.add(o),e.scales.add(r),this.initializeName(e,t)},X.defaultLinearGauge=function(e,t){this.initializeGauge(e,120,240);var r=new W;r.startWidth=.1,r.endWidth=.1,r.maximum=100,r.minorInterval=5,r.borderBrush=new I(L.fromArgb(158,158,158)),r.brush=new I(L.fromArgb(238,238,238));var i=new j;i.borderBrush=new F,i.borderWidth=0,i.relativeHeight=.005,i.relativeWidth=.05,i.brush=new I(L.fromArgb(158,158,158));var n=new C;n.placement=c.StiPlacement.Inside,n.textBrush=new I(L.fromArgb(158,158,158));var o=new P;o.startWidth=.1,o.endWidth=.1,o.brush=new I(L.fromArgb(0,150,136)),o.value="65",r.items.add(i),r.items.add(n),r.items.add(o),e.scales.add(r),this.initializeName(e,t)},X.linearGaugeRangeList=function(e,t){this.initializeGauge(e,120,240);var r=new W;r.startWidth=.1,r.endWidth=.1,r.maximum=100,r.minorInterval=5,r.borderBrush=new I(L.fromArgb(158,158,158)),r.brush=new I(L.fromArgb(238,238,238));var i=new m,n=new f;n.startValue=0,n.endValue=50,n.brush=new x(L.fromArgb(205,220,57),L.fromArgb(139,195,74),90),n.startWidth=.07,n.endWidth=.07;var o=new f;o.startValue=45,o.endValue=75,o.brush=new x(L.fromArgb(255,193,7),L.fromArgb(255,235,59),90),o.startWidth=.07,o.endWidth=.07;var a=new f;a.startValue=75,a.endValue=100,a.brush=new x(L.fromArgb(255,152,0),L.fromArgb(255,152,0),90),a.startWidth=.07,a.endWidth=.07,i.ranges.add(n),i.ranges.add(o),i.ranges.add(a);var s=new C;s.placement=c.StiPlacement.Inside,s.textBrush=new I(L.fromArgb(158,158,158));var n=new j;n.borderBrush=new F,n.borderWidth=0,n.relativeHeight=.005,n.relativeWidth=.05,n.brush=new I(L.fromArgb(158,158,158));var o=new b;o.placement=c.StiPlacement.Overlay,o.relativeWidth=.08,o.relativeHeight=.006,o.borderBrush=new F;var a=new l;a.relativeWidth=.18,a.relativeHeight=.04,a.placement=c.StiPlacement.Overlay,a.brush=new I(L.fromArgb(205,220,57)),r.items.add(i),r.items.add(s),r.items.add(n),r.items.add(o),r.items.add(a),e.scales.add(r),this.initializeName(e,t)},X.bulletGraphsGreen=function(e,t){this.initializeGauge(e,300,100);var r=new W;r.relativeHeight=.94,r.startWidth=.01,r.endWidth=.01,r.maximum=100,r.majorInterval=20,r.orientation=p.Horizontal,r.brush=new F,r.borderBrush=new F;var i=new m,n=0,o=0;while(++o<11){var a=new f;a.startValue=n,n+=10,a.endValue=n,a.startWidth=.5,a.endWidth=.5,a.placement=c.StiPlacement.Overlay,a.borderBrush=new I(L.fromArgb(150,139,138,135)),a.brush=new I(1<=o&&o<=3?L.fromArgb(165,214,167):4<=o&&o<=7?L.fromArgb(76,175,80):L.fromArgb(46,125,50)),i.ranges.add(a)}var s=new C;s.offset=.25;var l=new g;l.placement=c.StiPlacement.Overlay,l.relativeWidth=.015,l.relativeHeight=.3,l.brush=new x(L.fromArgb(100,100,100),L.fromArgb(10,10,10),90),l.valueObj=80;var u=new P;u.brush=new I(L.black),u.startWidth=.1,u.endWidth=.1,r.items.add(i),r.items.add(s),r.items.add(l),r.items.add(u),e.scales.add(r),this.initializeName(e,t)},X.halfDonutsGauge=function(e,t){this.initializeGauge(e,280,165);var r=new D;r.startAngle=180,r.sweepAngle=180,r.minimum=0,r.maximum=150,r.radius=.75,r.center=new _(.5,.8),r.radiusMode=c.StiRadiusMode.Width,r.skin=c.StiRadialScaleSkin.Empty;var i=new N;i.borderBrush=new F,i.borderWidth=0,i.startWidth=.3,i.endWidth=.3,i.emptyBrush=new x(L.fromArgb(221,221,221),L.fromArgb(240,240,240),90),i.useRangeColor=!0,i.value="60";var n=new s;n.value=0,n.brush=new I(L.fromArgb(139,195,74));var o=new s;o.value=50,o.brush=new I(L.fromArgb(255,235,59));var a=new s;a.value=100,a.brush=new I(L.fromArgb(244,67,54)),i.rangeList.add(n),i.rangeList.add(o),i.rangeList.add(a);var a=new E;a.relativeHeight=.05,a.relativeWidth=.4,a.startWidth=.1,a.endWidth=.2,a.capBrush=new I(L.white),a.capBorderBrush=new I(L.fromArgb(0,150,136)),a.capBorderWidth=2,a.brush=new I(L.fromArgb(0,150,136)),a.borderWidth=0,a.textBrush=new I(L.fromArgb(0,150,136)),a.value="60",r.items.add(i),r.items.add(a),e.scales.add(r),this.initializeName(e,t)},X.halfDonutsGauge2=function(e,t){this.initializeGauge(e,280,165);var r=new D;r.startAngle=180,r.sweepAngle=180,r.minimum=0,r.maximum=100,r.radius=.75,r.center=new _(.5,.8),r.radiusMode=c.StiRadiusMode.Width,r.skin=c.StiRadialScaleSkin.Empty;var i=new N;i.borderBrush=new F,i.startWidth=.3,i.endWidth=.3,i.brush=new I(L.fromArgb(79,134,194)),i.emptyBrush=new x(L.fromArgb(221,221,221),L.fromArgb(240,240,240),90),i.emptyBorderBrush=new I(L.fromArgb(79,134,194)),i.emptyBorderWidth=3,r.items.add(i),e.scales.add(r),this.initializeName(e,t)},X.radialGaugeHalfCircleN=function(e,t){this.initializeGauge(e,260,150);var r=new D;r.radiusMode=c.StiRadiusMode.Width,r.skin=c.StiRadialScaleSkin.RadialScaleHalfCircleN,r.startAngle=180,r.sweepAngle=180,r.maximum=100,r.center=new _(.5,.85),r.radius=.75,r.startWidth=.005,r.endWidth=.005,r.majorInterval=10,r.minorInterval=5,r.brush=new I(L.gray);var i=new V;i.placement=c.StiPlacement.Overlay,i.offset=.035,i.relativeWidth=.05,i.relativeHeight=.007,i.brush=new I(L.gray),i.borderBrush=new F;var n=new A;n.placement=c.StiPlacement.Overlay,n.offset=.017,n.relativeWidth=.03,n.relativeHeight=.007,n.brush=new I(L.lightGray),n.borderBrush=new F;var o=new H;o.labelRotationMode=c.StiLabelRotationMode.Automatic,o.textBrush=new I(L.black);var a=new E;a.value="45",a.capBrush=new I(L.fromArgb(3,169,244)),a.brush=new I(L.fromArgb(3,169,244)),a.startWidth=.1,a.endWidth=.99,a.relativeWidth=.5,a.relativeHeight=.04,r.items.add(i),r.items.add(n),r.items.add(o),r.items.add(a),e.scales.add(r),this.initializeName(e,t)},X.radialGaugeHalfCircleS=function(e,t){this.initializeGauge(e,260,150);var r=new D;r.radiusMode=c.StiRadiusMode.Width,r.skin=c.StiRadialScaleSkin.RadialScaleHalfCircleS,r.startAngle=0,r.sweepAngle=180,r.maximum=100,r.center=new _(.5,.15),r.radius=.75,r.startWidth=.005,r.endWidth=.005,r.majorInterval=10,r.minorInterval=5,r.brush=new I(L.gray);var i=new V;i.placement=c.StiPlacement.Overlay,i.offset=.035,i.relativeWidth=.05,i.relativeHeight=.007,i.brush=new I(L.gray),i.borderBrush=new F;var n=new A;n.placement=c.StiPlacement.Overlay,n.offset=.017,n.relativeWidth=.03,n.relativeHeight=.007,n.brush=new I(L.lightGray),n.borderBrush=new F;var o=new H;o.labelRotationMode=c.StiLabelRotationMode.Automatic,o.textBrush=new I(L.black);var a=new E;a.value="45",a.capBrush=new I(L.fromArgb(3,169,244)),a.brush=new I(L.fromArgb(3,169,244)),a.startWidth=.1,a.endWidth=.99,a.relativeWidth=.5,a.relativeHeight=.04,r.items.add(i),r.items.add(n),r.items.add(o),r.items.add(a),e.scales.add(r),this.initializeName(e,t)},X.radialGaugeQuarterCircleNW=function(e,t){this.radialGaugeQuarterCircle(e,t,c.StiRadialScaleSkin.RadialScaleQuarterCircleNW,180,new _(.9,.9))},X.radialGaugeQuarterCircleNE=function(e,t){this.radialGaugeQuarterCircle(e,t,c.StiRadialScaleSkin.RadialScaleQuarterCircleNE,270,new _(.1,.9))},X.radialGaugeQuarterCircleSW=function(e,t){this.radialGaugeQuarterCircle(e,t,c.StiRadialScaleSkin.RadialScaleQuarterCircleSW,90,new _(.9,.1))},X.radialGaugeQuarterCircleSE=function(e,t){this.radialGaugeQuarterCircle(e,t,c.StiRadialScaleSkin.RadialScaleQuarterCircleSE,0,new _(.1,.1))},X.radialGaugeQuarterCircle=function(e,t,r,i,n){this.initializeGauge(e,250,250);var o=new D;o.skin=r,o.startAngle=i,o.sweepAngle=90,o.maximum=100,o.center=n,o.radius=1.5,o.startWidth=.005,o.endWidth=.005,o.majorInterval=10,o.minorInterval=5;var a=new V;a.placement=c.StiPlacement.Overlay,a.offset=.045,a.relativeWidth=.03,a.relativeHeight=.004,a.borderBrush=new F,a.brush=new I(L.gray);var r=new A;r.placement=c.StiPlacement.Overlay,r.offset=.04,r.relativeWidth=.02,r.relativeHeight=.004,r.borderBrush=new F,r.brush=new I(L.gray);var i=new H;i.labelRotationMode=c.StiLabelRotationMode.Automatic;var n=new E;n.value="45",n.capBrush=new I(L.fromArgb(244,67,54)),n.brush=new I(L.fromArgb(244,67,54)),n.startWidth=.1,n.endWidth=.99,n.relativeWidth=.5,n.relativeHeight=.04,o.items.add(a),o.items.add(r),o.items.add(i),o.items.add(n),e.scales.add(o),this.initializeName(e,t)},X.horizontalThermometer=function(e,t){this.initializeGauge(e,300,50);var r=new W;r.orientation=p.Horizontal,r.relativeHeight=.85,r.left=.03,r.startWidth=.17,r.endWidth=.17,r.maximum=80,r.majorInterval=20,r.minorInterval=4;var i=new P;i.skin=c.StiLinearBarSkin.HorizontalThermometer,i.placement=c.StiPlacement.Outside,i.startWidth=.2,i.endWidth=.2,i.useRangeColor=!0;var n=new y;n.value=0,n.brush=new x(L.fromArgb(137,188,41),L.fromArgb(111,163,14),90);var o=new y;o.value=40,o.brush=new x(L.fromArgb(217,173,45),L.fromArgb(222,166,0),90);var a=new y;a.value=65,a.brush=new x(L.fromArgb(208,49,52),L.fromArgb(186,6,10),90),i.rangeList.add(n),i.rangeList.add(o),i.rangeList.add(a);var s=new j;s.placement=c.StiPlacement.Overlay,s.brush=new I(L.fromArgb(159,159,159)),s.relativeWidth=.01,s.relativeHeight=.18,s.offset=-.1;var l=new b;l.brush=new I(L.fromArgb(159,159,159)),l.relativeWidth=.005,l.relativeHeight=.1,l.offset=-.14;var u=new C;u.placement=c.StiPlacement.Inside,u.offset=.11,u.textBrush=new I(L.fromArgb(83,85,86)),u.font=new T("Arial",10);var h=new S;h.left=.02,h.top=.07,h.relativeWidth=.083,h.relativeHeight=.5;var n=new v;n.startValue=0,n.endValue=40,n.brush=new I(L.fromArgb(112,156,28));var o=new v;o.startValue=40,o.endValue=65,o.brush=new I(L.fromArgb(225,174,25));var a=new v;a.startValue=65,a.endValue=100,a.brush=new I(L.fromArgb(194,45,48)),h.filters.add(n),h.filters.add(o),h.filters.add(a),r.items.add(i),r.items.add(s),r.items.add(l),r.items.add(u),r.items.add(h),e.scales.add(r),this.initializeName(e,t)},X.verticalThermometer=function(e,t){this.initializeGauge(e,50,300);var r=new W;r.orientation=p.Vertical,r.relativeHeight=.85,r.startWidth=.17,r.endWidth=.17,r.maximum=80,r.majorInterval=20,r.minorInterval=4;var i=new P;i.skin=c.StiLinearBarSkin.VerticalThermometer,i.placement=c.StiPlacement.Outside,i.startWidth=.2,i.endWidth=.2,i.useRangeColor=!0;var n=new y;n.value=0,n.brush=new x(L.fromArgb(137,188,41),L.fromArgb(111,163,14),0);var o=new y;o.value=40,o.brush=new x(L.fromArgb(217,173,45),L.fromArgb(222,166,0),0);var a=new y;a.value=65,a.brush=new x(L.fromArgb(208,49,52),L.fromArgb(186,6,10),0),i.rangeList.add(n),i.rangeList.add(o),i.rangeList.add(a);var s=new j;s.placement=c.StiPlacement.Overlay,s.brush=new I(L.fromArgb(159,159,159)),s.relativeWidth=.18,s.relativeHeight=.01,s.offset=-.1;var l=new b;l.brush=new I(L.fromArgb(159,159,159)),l.relativeWidth=.1,l.relativeHeight=.005,l.offset=-.14;var u=new C;u.placement=c.StiPlacement.Inside,u.offset=.07,u.textBrush=new I(L.fromArgb(83,85,86)),u.font=new T("Arial",10);var h=new S;h.left=.05,h.top=.9,h.relativeWidth=.5,h.relativeHeight=.083;var n=new v;n.startValue=0,n.endValue=40,n.brush=new I(L.fromArgb(112,156,28));var o=new v;o.startValue=40,o.endValue=65,o.brush=new I(L.fromArgb(225,174,25));var a=new v;a.startValue=65,a.endValue=100,a.brush=new I(L.fromArgb(194,45,48)),h.filters.add(n),h.filters.add(o),h.filters.add(a),r.items.add(i),r.items.add(s),r.items.add(l),r.items.add(u),r.items.add(h),e.scales.add(r),this.initializeName(e,t)},X.lightSpeedometer=function(e,t){this.initializeGauge(e,350,350);var r=new D;r.skin=c.StiRadialScaleSkin.Empty,r.radius=.65,r.startAngle=115,r.sweepAngle=310,r.startWidth=.03,r.endWidth=.03,r.brush=new I(L.fromArgb(81,84,101)),r.majorInterval=10,r.minorInterval=2,r.maximum=100;var i=new w,n=new k;n.startValue=40,n.endValue=101.2,n.startWidth=.04,n.endWidth=.04,n.placement=c.StiPlacement.Inside,n.useValuesFromTheSpecifiedRange=!1,n.brush=new x(L.fromArgb(213,227,118),L.fromArgb(118,71,24),90),n.borderBrush=new I(L.white),i.ranges.add(n);var o=new V;o.skipValues="100",o.relativeHeight=.03,o.relativeWidth=.055,o.brush=new I(L.fromArgb(81,84,101));var a=new A;a.offset=.04,a.relativeHeight=.01,a.relativeWidth=.03,a.brush=new I(L.fromArgb(81,84,101));var s=new G;s.valueObj=100,s.offset=-.057,s.relativeWidth=.08,s.relativeHeight=.03,s.brush=new I(L.fromArgb(81,84,101));var l=new H;l.labelRotationMode=c.StiLabelRotationMode.None,l.offset=.14,l.textBrush=new I(L.black),l.font=new T("Arial",13,d.Bold);var n=new E;n.brush=new I(L.fromArgb(250,250,250)),n.borderBrush=new I(L.fromArgb(163,163,163)),n.borderWidth=1,n.placement=c.StiPlacement.Outside,n.relativeWidth=.63,n.relativeHeight=.14,n.skin=c.StiNeedleSkin.SpeedometerNeedle,r.items.add(i),r.items.add(o),r.items.add(a),r.items.add(s),r.items.add(l),r.items.add(n),e.scales.add(r),this.initializeName(e,t)},X.darkSpeedometer=function(e,t){this.initializeGauge(e,350,350);var r=new D;r.skin=c.StiRadialScaleSkin.Empty,r.radius=.65,r.startAngle=115,r.sweepAngle=310,r.startWidth=.03,r.endWidth=.03,r.brush=new I(L.fromArgb(81,84,101)),r.majorInterval=10,r.minorInterval=2,r.maximum=200;var i=new w,n=new k;n.startValue=0,n.endValue=60,n.borderWidth=1,n.startWidth=.06,n.endWidth=.06,n.placement=c.StiPlacement.Overlay,n.brush=new x(L.fromArgb(101,134,101),L.fromArgb(66,228,66),90);var o=new k;o.startValue=60,o.endValue=100,o.borderWidth=1,o.startWidth=.06,o.endWidth=.06,o.placement=c.StiPlacement.Overlay,o.brush=new x(L.fromArgb(255,255,0),L.fromArgb(143,174,126),90);var a=new k;a.startValue=100,a.endValue=140,a.borderWidth=1,a.startWidth=.06,a.endWidth=.06,a.placement=c.StiPlacement.Overlay,a.brush=new x(L.fromArgb(255,255,0),L.fromArgb(156,156,124),90);var s=new k;s.startValue=140,s.endValue=200,s.borderWidth=1,s.startWidth=.06,s.endWidth=.06,s.placement=c.StiPlacement.Overlay,s.brush=new x(L.fromArgb(125,86,80),L.fromArgb(208,45,44),90),i.ranges.add(n),i.ranges.add(o),i.ranges.add(a),i.ranges.add(s);var l=new V;l.placement=c.StiPlacement.Overlay,l.offset=.04,l.offsetAngle=-2,l.relativeWidth=.1,l.relativeHeight=.035,l.skin=c.StiTickMarkSkin.TriangleLeft;var u=new A;u.placement=c.StiPlacement.Overlay,u.skipMajorValues=!1,u.relativeWidth=.04,u.relativeHeight=.018,u.skin=c.StiTickMarkSkin.Rectangle,u.skipIndices="0;4;8;12;16;20;24;28;32;36;40";var h=new H;h.labelRotationMode=c.StiLabelRotationMode.None,h.offset=.05,h.font=new T("Arial",11);var n=new G;n.placement=c.StiPlacement.Inside,n.offset=.3,n.relativeHeight=.05,n.relativeWidth=.05,n.skin=c.StiTickMarkSkin.Ellipse;var o=new R(20);o.brush=new x(L.fromArgb(68,223,68),L.fromArgb(0,153,0),90);var a=new R(97);a.brush=new x(L.fromArgb(255,255,0),L.fromArgb(186,169,2),90);var s=new R(173);s.brush=new x(L.fromArgb(184,29,29),L.fromArgb(121,30,30),90),n.values.add(o),n.values.add(a),n.values.add(s);var a=new B;a.placement=c.StiPlacement.Inside,a.labelRotationMode=c.StiLabelRotationMode.None,a.font=new T("Arial",10),a.values.add(new O(17,"Safe",.16)),a.values.add(new O(102,"Caution",.25)),a.values.add(new O(181,"Danger",.06));var s=new E;s.borderBrush=new I(L.fromArgb(153,9,8)),s.brush=new x(L.fromArgb(255,198,172),L.fromArgb(197,25,19),90),s.borderWidth=1,s.placement=c.StiPlacement.Outside,s.relativeWidth=.57,s.relativeHeight=.17,s.skin=c.StiNeedleSkin.SpeedometerNeedle2,r.items.add(i),r.items.add(l),r.items.add(u),r.items.add(h),r.items.add(n),r.items.add(a),r.items.add(s),e.scales.add(r),this.initializeName(e,t)},X.globalDurationElement=J.fromMilliseconds(1800),X.globalBeginTimeElement=J.fromMilliseconds(300),J=X,n.StiGaugeHelper=J}(Stimulsoft=Stimulsoft||{}),function(e){var t,n,r,i,o,O,x,a,l,_,s,P,C,j,W,u,h,M,c,p,d;function m(){var e=null!==d&&d.apply(this,arguments)||this;return e._valueObj=0,e._textObj=null,e._values=new M,e._getValueEvent=new c,e._getTextEvent=new l,e._value="",e._text="",e}n=t=e.Report||(e.Report={}),i=r=n.Components||(n.Components={}),O=o=i.Gauge||(i.Gauge={}),x=e.System.StiString,a=e.Report.Gauge.Events.StiGetTextEventArgs,l=e.Report.Gauge.Events.StiGetTextEvent,_=e.System.Drawing.Orientation,s=e.Report.Gauge.Helpers.StiGaugeHelper,P=e.Report.Painters.StiGaugeContextPainter,C=e.Report.Gauge.Helpers.StiRectangleHelper,j=e.Report.Gauge.StiPlacement,W=e.System.Drawing.Rectangle,u=e.Report.Engine.StiParser.StiParser,h=e.Report.Events.StiGetValueEventArgs,M=e.Report.Gauge.Collections.StiCustomValuesCollection,c=e.Report.Events.StiGetValueEvent,i=e.Report.Components.Gauge.Primitives.StiLinearTickLabelBase,p=e.Report.Expressions.StiExpression,__extends(m,d=i),m.prototype.saveToJsonObject=function(e){var t=d.prototype.saveToJsonObject.call(this,e);return t.addPropertyIdent("Ident",this.stimulsoft.getType().stimulsoft.getTypeName()),t.addPropertyJObject("GetValueEvent",this.getValueEvent.saveToJsonObject(e)),t.addPropertyJObject("GetTextEvent",this.getTextEvent.saveToJsonObject(e)),t.addPropertyJObject("Value",new p(this.value).saveToJsonObject(e)),t.addPropertyJObject("Text",new p(this.text).saveToJsonObject(e)),t.addPropertyJObject("Values",this.values.saveToJsonObject(e)),t},m.prototype.loadFromJsonObject=function(e){var t,r;d.prototype.loadFromJsonObject.call(this,e);try{for(var i=__values(e.properties()),n=i.next();!n.done;n=i.next()){var o=n.value;switch(o.name){case"GetValueEvent":var a=new c;a.loadFromJsonObject(o.value),this.getValueEvent=a;break;case"GetTextEvent":var a=new l;a.loadFromJsonObject(o.value),this.getTextEvent=a;break;case"Value":var s=new p;s.loadFromJsonObject(o.value),this.value=s.value;break;case"Text":var s=new p;s.loadFromJsonObject(o.value),this.text=s.value;break;case"Values":this.values.loadFromJsonObject(o.value);break}}}catch(e){t={error:e}}finally{try{n&&!n.done&&(r=i.return)&&r.call(i)}finally{if(t)throw t.error}}},m.prototype.loadFromXml=function(e){d.prototype.loadFromXml.call(this,e);for(var t=0;t<e.childNodes.length;t++){var r=e.childNodes[t];switch(r.nodeName){case"GetValueEvent":var i=new c;i.loadFromXml(r),this.getValueEvent=i;break;case"GetTextEvent":var i=new l;i.loadFromXml(r),this.getTextEvent=i;break;case"Value":var n=new p;n.loadFromXml(r),this.value=n.value;break;case"Text":var n=new p;n.loadFromXml(r),this.text=n.value;break;case"Values":this.values.loadFromXml(r);break}}},Object.defineProperty(m.prototype,"componentId",{get:function(){return n.StiComponentId.StiLinearTickLabelCustom},enumerable:!1,configurable:!0}),m.prototype.clone=function(){var t,e,r=d.prototype.clone.call(this);null!=this.value?r.value=this.value:r.value=null,null!=this.text?r.text=this.text:r.text=null,r.values=new M;try{for(var i=__values(this.values.list),n=i.next();!n.done;n=i.next()){var o=n.value;r.values.add(o.clone())}}catch(e){t={error:e}}finally{try{n&&!n.done&&(e=i.return)&&e.call(i)}finally{if(t)throw t.error}}return r},Object.defineProperty(m.prototype,"valueObj",{get:function(){return this._valueObj},set:function(e){this._valueObj=e},enumerable:!1,configurable:!0}),Object.defineProperty(m.prototype,"textObj",{get:function(){return this._textObj},set:function(e){this._textObj=e},enumerable:!1,configurable:!0}),Object.defineProperty(m.prototype,"values",{get:function(){return this._values},set:function(e){this._values=e},enumerable:!1,configurable:!0}),Object.defineProperty(m.prototype,"localizeName",{get:function(){return"LinearTickLabelCustom"},enumerable:!1,configurable:!0}),m.prototype.onGetValue=function(e){},m.prototype.invokeGetValue=function(e,t){try{var r;this.onGetValue(t),e.scale.gauge.report.calculationMode==n.StiCalculationMode.Interpretation&&(r=u.parseTextValue(this.value,e.scale.gauge),t.value=e.scale.gauge.report.toString2(r))}catch(e){var i=x.format("Expression in GetValue property of '{0}' series from '{1}' chart can't be evaluated!","Indicator",this.scale.gauge.name);n.StiLogService.write(this.stimulsoft.getType(),i),n.StiLogService.write(this.stimulsoft.getType(),e)}},Object.defineProperty(m.prototype,"getValueEvent",{get:function(){return this._getValueEvent},set:function(e){this.getValueEvent=e},enumerable:!1,configurable:!0}),m.prototype.onGetText=function(e){},m.prototype.invokeGetText=function(e,t){try{this.onGetText(t)}catch(e){var r=x.format("Expression in GetText property of '{0}' series from '{1}' chart can't be evaluated!","GaugeElement",this.scale.gauge.name);n.StiLogService.write(this.stimulsoft.getType(),r),n.StiLogService.write(this.stimulsoft.getType(),e)}},Object.defineProperty(m.prototype,"getTextEvent",{get:function(){return this._getTextEvent},set:function(e){this._getTextEvent=e},enumerable:!1,configurable:!0}),Object.defineProperty(m.prototype,"value",{get:function(){return this._value},set:function(e){this._value=e},enumerable:!1,configurable:!0}),Object.defineProperty(m.prototype,"text",{get:function(){return this._text},set:function(e){this._text=e},enumerable:!1,configurable:!0}),m.prototype.createNew=function(){return new m},m.prototype.prepareGaugeElement=function(){d.prototype.prepareGaugeElement.call(this);var e=new h;this.invokeGetValue(this,e),this.valueObj=s.getFloatValueFromObject2(e.value,0);var e=new a;this.invokeGetText(this,e),this.textObj=e.value},m.prototype.drawElement=function(e){var t,r,i=this.scale;if(null==i||x.isNullOrEmpty(this.textObj))return;var n=i.barGeometry.size,o=i.barGeometry.rectGeometry,a,s,l,u=this.scale.barGeometry.getRestToLenght(),h=i.orientation==_.Horizontal?n.height:n.width;h*=this.offset;var c=this.scale.scaleHelper.actualMinimum,p=this.scale.scaleHelper.actualMaximum,d=this.textFormat,m=this.skipValuesObj,f=this.skipIndicesObj,g=this.values;null!=g&&0!=g.count||(g=new M).add(new O.StiLinearTickLabelCustomValue(this.valueObj,this.textObj,this.offset,this.placement));var y=-1;try{for(var b=__values(g.toCast()),S=b.next();!S.done;S=b.next()){var v=S.value;if(y++,v.value<c)continue;if(v.value>p)continue;if(this.checkTickValue(m,f,v.value,y))continue;if(null!=this.minimumValue&&v.value<this.minimumValue)continue;if(null!=this.maximumValue&&v.value>this.maximumValue)continue;var l=h*this.getOffset(v.offset),w=i.getPosition(v.value),k=this.getTextForRender2(v.text,d),G=P.changeFontSize(this.font,e.zoom),B=e.measureString(k,G),R,l,a,R;l=i.orientation==_.Horizontal?(a=i.isReversed?o.width-o.width*w:o.width*w,this.getPlacement(v.placement)==j.Overlay?(s=o.left+a-B.width/2,C.centerY(o)-B.height/2-l):(R=i.startWidth<i.endWidth?(1-w)*u:u*w,this.getPlacement(v.placement)==j.Outside?(s=o.left+a-B.width/2,o.top-B.height-l+R):(s=o.left+a-B.width/2,o.bottom+l-R))):(a=i.isReversed?o.height*w:o.height-o.height*w,s=this.getPlacement(v.placement)==j.Overlay?C.centerX(o)-B.width/2:(R=i.startWidth<i.endWidth?(1-w)*u:u*w,this.getPlacement(v.placement)==j.Outside?o.left-B.width-3-l+R:o.right+3+l-R),o.top+a-B.height/2),e.addTextGaugeGeom(k,G,this.textBrush,new W(s,l,B.width,B.height),null)}}catch(e){t={error:e}}finally{try{S&&!S.done&&(r=b.return)&&r.call(b)}finally{if(t)throw t.error}}},i=m,O.StiLinearTickLabelCustom=i}(Stimulsoft=Stimulsoft||{}),function(e){var t,r,i,n,o,a,m,f,g,y,b,S,v,w,k,G,B,R,O,x,_,P,C,j,W,M,l,u,s;function h(e){var t=s.call(this)||this;return t.scaleType=e.scaleType,t.scale=e,t}r=t=e.Report||(e.Report={}),n=i=r.Gauge||(r.Gauge={}),a=o=n.Collections||(n.Collections={}),m=e.Report.Components.Gauge.StiRadialTickMarkMinor,f=e.Report.Components.Gauge.StiRadialTickMarkMajor,g=e.Report.Components.Gauge.StiRadialTickMarkCustom,y=e.Report.Components.Gauge.StiRadialTickLabelMinor,b=e.Report.Components.Gauge.StiRadialTickLabelMajor,S=e.Report.Components.Gauge.StiRadialTickLabelCustom,v=e.Report.Components.Gauge.StiLinearTickMarkMinor,w=e.Report.Components.Gauge.StiLinearTickMarkMajor,k=e.Report.Components.Gauge.StiLinearTickMarkCustom,G=e.Report.Components.Gauge.StiLinearTickLabelMinor,B=e.Report.Components.Gauge.StiLinearTickLabelMajor,R=e.Report.Components.Gauge.StiLinearTickLabelCustom,O=e.Report.Components.Gauge.StiRadialRangeList,x=e.Report.Components.Gauge.StiLinearRangeList,_=e.Report.Components.Gauge.StiStateIndicator,P=e.Report.Components.Gauge.StiRadialMarker,C=e.Report.Components.Gauge.StiRadialBar,j=e.Report.Components.Gauge.StiNeedle,W=e.Report.Components.Gauge.StiLinearMarker,M=e.Report.Components.Gauge.StiLinearBar,l=e.System.StiString,r=e.System.Collections.CollectionBase,u=e.Base.StiJson,__extends(h,s=r),h.prototype.saveToJsonObject=function(e){var t,r;if(0==this.list.length)return null;var i=new u,n=0;try{for(var o=__values(this.list),a=o.next();!a.done;a=o.next()){var s=a.value;i.addPropertyJObject(n.toString(),s.saveToJsonObject(e)),n++}}catch(e){t={error:e}}finally{try{a&&!a.done&&(r=o.return)&&r.call(o)}finally{if(t)throw t.error}}return i},h.prototype.loadFromJsonObject=function(e){var t,r,i=function(e){var t,r=e.value.properties().firstOrDefault(function(e){return"Ident"==e.name}).value.toString(),i=StiOptions.Services.gaugeElements.firstOrDefault(function(e){return e.stimulsoft.getType().stimulsoft.getTypeName()==r});if(null==i)throw l.format("Type {0} is not found!",r);var n=i.createNew();n.scale=i.scale,o.add(n),n.loadFromJsonObject(e.value)},o=this;try{for(var n=__values(e.properties()),a=n.next(),s;!a.done;a=n.next()){i(a.value)}}catch(e){t={error:e}}finally{try{a&&!a.done&&(r=n.return)&&r.call(n)}finally{if(t)throw t.error}}},h.prototype.loadFromXml=function(e,t){for(var r=0;r<e.childNodes.length;r++){var i=e.childNodes[r];if(null==i.attributes)continue;if(null!=i.attributes.getNamedItem("type"))switch(i.attributes.getNamedItem("type").value){case"Stimulsoft.Report.Components.Gauge.StiLinearBar":var n=new M;this.add(n),n.loadFromXml(i);break;case"Stimulsoft.Report.Components.Gauge.StiLinearMarker":var n=new W;this.add(n),n.loadFromXml(i);break;case"Stimulsoft.Report.Components.Gauge.StiNeedle":var o=new j;this.add(o),o.loadFromXml(i);break;case"Stimulsoft.Report.Components.Gauge.StiRadialBar":var o=new C;this.add(o),o.loadFromXml(i);break;case"Stimulsoft.Report.Components.Gauge.StiRadialMarker":var a=new P;this.add(a),a.loadFromXml(i);break;case"Stimulsoft.Report.Components.Gauge.StiStateIndicator":var a=new _;this.add(a),a.loadFromXml(i);break;case"Stimulsoft.Report.Components.Gauge.StiLinearRangeList":var s=new x;this.add(s),s.loadFromXml(i);break;case"Stimulsoft.Report.Components.Gauge.StiRadialRangeList":var s=new O;this.add(s),s.loadFromXml(i);break;case"Stimulsoft.Report.Components.Gauge.StiLinearTickLabelCustom":var l=new R;this.add(l),l.loadFromXml(i);break;case"Stimulsoft.Report.Components.Gauge.StiLinearTickLabelMajor":var l=new B;this.add(l),l.loadFromXml(i);break;case"Stimulsoft.Report.Components.Gauge.StiLinearTickLabelMinor":var u=new G;this.add(u),u.loadFromXml(i);break;case"Stimulsoft.Report.Components.Gauge.StiLinearTickMarkCustom":var u=new k;this.add(u),u.loadFromXml(i);break;case"Stimulsoft.Report.Components.Gauge.StiLinearTickMarkMajor":var h=new w;this.add(h),h.loadFromXml(i);break;case"Stimulsoft.Report.Components.Gauge.StiLinearTickMarkMinor":var h=new v;this.add(h),h.loadFromXml(i);break;case"Stimulsoft.Report.Components.Gauge.StiRadialTickLabelCustom":var c=new S;this.add(c),c.loadFromXml(i);break;case"Stimulsoft.Report.Components.Gauge.StiRadialTickLabelMajor":var c=new b;this.add(c),c.loadFromXml(i);break;case"Stimulsoft.Report.Components.Gauge.StiRadialTickLabelMinor":var p=new y;this.add(p),p.loadFromXml(i);break;case"Stimulsoft.Report.Components.Gauge.StiRadialTickMarkCustom":var p=new g;this.add(p),p.loadFromXml(i);break;case"Stimulsoft.Report.Components.Gauge.StiRadialTickMarkMajor":var d=new f;this.add(d),d.loadFromXml(i);break;case"Stimulsoft.Report.Components.Gauge.StiRadialTickMarkMinor":var d=new m;this.add(d),d.loadFromXml(i);break}}},h.prototype.clone=function(){var t,e,r=new h(this.scale);try{for(var i=__values(this.list),n=i.next();!n.done;n=i.next()){var o=n.value;r.add(o.clone())}}catch(e){t={error:e}}finally{try{n&&!n.done&&(e=i.return)&&e.call(i)}finally{if(t)throw t.error}}return r},Object.defineProperty(h.prototype,"isReadOnly",{get:function(){return!1},enumerable:!1,configurable:!0}),h.prototype.setByIndex=function(e,t){t.scale=this.scale,this.setItemInternal(e,t)},h.prototype.toArray=function(){var t,e,r=[];try{for(var i=__values(this.list),n=i.next();!n.done;n=i.next()){var o=n.value;r.push(o)}}catch(e){t={error:e}}finally{try{n&&!n.done&&(e=i.return)&&e.call(i)}finally{if(t)throw t.error}}return r},h.prototype.addCore=function(e){e.elementType!=this.scaleType&&e.elementType!=n.StiGaugeElemenType.All||(e.scale=this.scale,this.list.push(e))},h.prototype.add=function(e){e.elementType!=this.scaleType&&e.elementType!=n.StiGaugeElemenType.All||(e.scale=this.scale,this.list.push(e))},h.prototype.addRange=function(e){var t,r;try{for(var i=__values(e),n=i.next();!n.done;n=i.next()){var o=n.value;this.addCore(o)}}catch(e){t={error:e}}finally{try{n&&!n.done&&(r=i.return)&&r.call(i)}finally{if(t)throw t.error}}},h.prototype.insert=function(e,t){if(null==t)throw new Error("item");if(e<0||e>this.list.length)throw new Error("InvalidArgument");this.addCore(t)},h.prototype.remove=function(e){var t=this.list.indexOf(e);if(-1!=t)return e.scale=null,this.removeAt(t),!0;return!1},h.prototype.copyTo=function(e,t){this.list.stimulsoft.copyTo(e,t)},h.prototype.setItemInternal=function(e,t){if(null==t)throw new Error("value");if(e<0||e>=this.list.length)throw new Error("InvalidArgument");t.elementType!=this.scaleType&&t.elementType!=n.StiGaugeElemenType.All||(t.scale=this.scale,this.list[e]=t)},h.prototype.moveUp=function(e){var t=this.list.indexOf(e);if(0<t)return this.list.stimulsoft.removeAt(t),t--,this.list.stimulsoft.insert(t,e),!0;return!1},h.prototype.moveDown=function(e){var t=this.list.indexOf(e);if(-1!=t&&1<this.list.length&&t<this.list.length-1)return this.list.stimulsoft.removeAt(t),t++,this.list.stimulsoft.insert(t,e),!0;return!1},r=h,a.StiGaugeElementCollection=r}(Stimulsoft=Stimulsoft||{}),function(e){var t,r,i,n,o,a,s,l,u,h;function c(e){var t=h.call(this)||this;return t.parent=null,t.parent=e,t}r=t=e.Report||(e.Report={}),n=i=r.Gauge||(r.Gauge={}),r=o=n.Collections||(n.Collections={}),a=e.Report.Components.Gauge.StiRadialScale,s=e.Report.Components.Gauge.StiLinearScale,l=e.System.StiString,n=e.System.Collections.CollectionBase,u=e.Base.StiJson,__extends(c,h=n),c.prototype.saveToJsonObject=function(e){var t,r;if(0==this.list.length)return null;var i=new u,n=0;try{for(var o=__values(this.list),a=o.next();!a.done;a=o.next()){var s=a.value;i.addPropertyJObject(n.toString(),s.saveToJsonObject(e)),n++}}catch(e){t={error:e}}finally{try{a&&!a.done&&(r=o.return)&&r.call(o)}finally{if(t)throw t.error}}return i},c.prototype.loadFromJsonObject=function(e){var t,r,i=function(e){var t,r=e.value.properties().firstOrDefault(function(e){return"Ident"==e.name}).value.toString(),i=StiOptions.Services.gaugeScales.firstOrDefault(function(e){return e.stimulsoft.getType().stimulsoft.getTypeName()==r});if(null==i)throw l.format("Type {0} is not found!",r);var n=i.createNew();n.gauge=i.gauge,o.add(n),n.loadFromJsonObject(e.value)},o=this;try{for(var n=__values(e.properties()),a=n.next(),s;!a.done;a=n.next()){i(a.value)}}catch(e){t={error:e}}finally{try{a&&!a.done&&(r=n.return)&&r.call(n)}finally{if(t)throw t.error}}},c.prototype.loadFromXml=function(e,t){for(var r=0;r<e.childNodes.length;r++){var i=e.childNodes[r];if(null==i.attributes)continue;if(null!=i.attributes.getNamedItem("type"))switch(i.attributes.getNamedItem("type").value){case"Stimulsoft.Report.Components.Gauge.StiLinearScale":var n=new s;this.add(n),n.loadFromXml(i,t);break;case"Stimulsoft.Report.Components.Gauge.StiRadialScale":var n=new a;this.add(n),n.loadFromXml(i,t);break}}},c.prototype.clone=function(){var t,e,r=new c(this.parent);try{for(var i=__values(this.list),n=i.next();!n.done;n=i.next()){var o=n.value;r.add(o.clone())}}catch(e){t={error:e}}finally{try{n&&!n.done&&(e=i.return)&&e.call(i)}finally{if(t)throw t.error}}return r},Object.defineProperty(c.prototype,"isReadOnly",{get:function(){return!1},enumerable:!1,configurable:!0}),c.prototype.setParent=function(e){e.gauge=this.parent},c.prototype.clearParent=function(e){e.gauge=null},c.prototype.add=function(e){this.setParent(e),h.prototype.add.call(this,e)},c.prototype.insert=function(e,t){this.setParent(t),h.prototype.insert.call(this,e,t)},c.prototype.remove=function(e){var t=this.list.indexOf(e);if(-1!=t)return this.clearParent(e),this.removeAt(t),!0;return!1},c.prototype.copyTo=function(e,t){this.list.stimulsoft.copyTo(e,t)},c.prototype.moveUp=function(e){var t=this.list.indexOf(e);if(0<t)return this.list.stimulsoft.removeAt(t),t--,this.list.stimulsoft.insert(t,e),!0;return!1},c.prototype.moveDown=function(e){var t=this.list.indexOf(e);if(-1!=t&&1<this.list.length&&t<this.list.length-1)return this.list.stimulsoft.removeAt(t),t++,this.list.stimulsoft.insert(t,e),!0;return!1},n=c,r.StiScaleCollection=n}(Stimulsoft=Stimulsoft||{}),function(e){var t,r,i,n,o,a;function s(){return null!==a&&a.apply(this,arguments)||this}r=t=e.Report||(e.Report={}),n=i=r.Gauge||(r.Gauge={}),r=o=n.Events||(n.Events={}),n=e.Report.Events.StiEvent,__extends(s,a=n),s.prototype.toString=function(){return"GetValue"},n=s,r.StiGetValueEvent=n}(Stimulsoft=Stimulsoft||{}),function(o){var e,t,r,i;t=e=o.Report||(o.Report={}),t=r=t.Gauge||(t.Gauge={}),function(e){var t=o.System.EventHandler,r=o.System.EventArgs;e.StiGetValueEventHandler=new t("sender: any, e: StiGetValueEventArgs");var r=(__extends(n,i=r),Object.defineProperty(n.prototype,"value",{get:function(){return this._value},set:function(e){this._value=e},enumerable:!1,configurable:!0}),n),i;function n(){return null!==i&&i.apply(this,arguments)||this}e.StiGetValueEventArgs=r}(i=t.Events||(t.Events={}))}(Stimulsoft=Stimulsoft||{}),function(e){var t,r,i,n,o,p;function a(){}r=t=e.Report||(e.Report={}),n=i=r.Gauge||(r.Gauge={}),r=o=n.Helpers||(n.Helpers={}),p=e.System.Drawing.Point,a.getRoundedPath=function(e,t,r,i,n,o){},a.getArcGeometry=function(e,t,r,i,n){},a.getRadialRangeGeometry=function(e,t,r,i,n,o,a){},a.round=function(e){var t=Math.trunc(e),r;return 0<e-t?t+1:t},a.convertArcToCubicBezier=function(e,t,r,i){var n=r*this.PiDiv180,o=i*this.PiDiv180,a=n+o,s=e.x+t*Math.cos(n),l=e.y+t*Math.sin(n),u=e.x+t*Math.cos(a),h=e.y+t*Math.sin(a),c=t*this.FourDivThree*Math.tan(.25*o),r=Math.atan(c/t),i=t/Math.cos(r);r+=n;var o=e.x+i*Math.cos(r),n=e.y+i*Math.sin(r),r=Math.atan(-c/t);r+=a;var a=e.x+i*Math.cos(r),i=e.y+i*Math.sin(r),r=[];return r.push(new p(s,l)),r.push(new p(o,n)),r.push(new p(a,i)),r.push(new p(u,h)),r},a.convertArcToCubicBezier2=function(e,t,r,i,n){var o=i*this.PiDiv180,a=n*this.PiDiv180,s=o+a,l=e.x+t*Math.cos(o),u=e.y+t*Math.sin(o),h=e.x+r*Math.cos(s),c=e.y+r*Math.sin(s),i=(t-r)/3;r+=i;var n=(t-=i)*this.FourDivThree*Math.tan(.25*a),r=Math.atan(n/t),i=t/Math.cos(r);r+=o;var a=e.x+i*Math.cos(r),o=e.y+i*Math.sin(r),r=Math.atan(-n/t);r+=s;var s=e.x+i*Math.cos(r),i=e.y+i*Math.sin(r),r=[];return r.push(new p(l,u)),r.push(new p(a,o)),r.push(new p(s,i)),r.push(new p(h,c)),r},a.PiDiv180=Math.PI/180,a.FourDivThree=4/3,n=a,r.StiDrawingHelper=n}(Stimulsoft=Stimulsoft||{}),function(n){var e,t,r,a,i,o,s,l,u,h,c,p,d,m,f,g,y,b,S,v,w,k,G,B,R,O;function x(){}t=e=n.Report||(n.Report={}),a=r=t.Gauge||(t.Gauge={}),o=i=a.Helpers||(a.Helpers={}),s=n.System.Drawing.Font,l=n.System.Drawing.Color,u=n.Report.Components.Gauge.Primitives.StiIndicatorBase,h=n.System.StiString,c=n.Report.Components.Gauge.StiRadialScale,p=n.Base.Drawing.StiSolidBrush,d=n.Report.Components.Gauge.StiRadialTickMarkMajor,m=n.Report.Components.Gauge.StiRadialTickLabelMajor,f=n.Base.Drawing.StiEmptyBrush,g=n.Report.Components.Gauge.StiRadialBar,y=n.Report.Components.Gauge.StiNeedle,b=n.System.Drawing.Point,S=n.Report.Components.Gauge.StiLinearScale,v=n.System.Drawing.Orientation,w=n.Report.Components.Gauge.StiLinearTickLabelMajor,k=n.Report.Components.Gauge.StiLinearTickMarkMajor,G=n.Report.Components.Gauge.StiLinearMarker,B=n.Report.Components.Gauge.StiLinearBar,R=n.Report.Components.Gauge.StiLinearRangeList,O=n.Report.Components.Gauge.StiLinearRange,x.isGaugeV2=function(e){if(e.mode==a.StiScaleMode.V1)return!1;if(1!=e.scales.count)return!1;var t=e.scales.list[0];switch(e.type){case a.StiGaugeType.FullCircular:return this.isFullCircularScale(t);case a.StiGaugeType.HalfCircular:return this.isHalfCircularScale(t);case a.StiGaugeType.Linear:case a.StiGaugeType.HorizontalLinear:return this.isLinearScale(t);case a.StiGaugeType.Bullet:return this.isBulletScale(t)}return!1},x.init=function(e,t,r){void 0===r&&(r=!1);var i=null,n=null;0<e.scales.count&&null!=(n=e.scales.getByIndex(0).items.toList().firstOrDefault(function(e){return null==e?void 0:e.is(u)}))&&null!=n.value&&(i=n.value);var o=null;switch(t){case a.StiGaugeType.FullCircular:o=this.createFullCircularScale(r);break;case a.StiGaugeType.HalfCircular:o=this.createHalfCircularScale(r);break;case a.StiGaugeType.Linear:o=this.createLinearScale(r,!1);break;case a.StiGaugeType.HorizontalLinear:o=this.createLinearScale(r,!0);break;case a.StiGaugeType.Bullet:o=this.createBullet(e,r);break}h.isNullOrEmpty(i)||((n=o.items.toList().firstOrDefault(function(e){return null==e?void 0:e.is(u)})).value=i),e.scales.clear(),e.scales.add(o)},x.prepare=function(e){var t,r,i,i,e;x.isGaugeV2(e)&&(r=(t=e.scales.list[0]).items.toList().firstOrDefault(function(e){return e.is(u)}),i=new n.Report.Events.StiGetValueEventArgs,r.invokeGetValue(r,i),i=o.StiGaugeHelper.getFloatValueFromObject(i.value,t),r.valueObj=i,e.calculationMode==a.StiGaugeCalculationMode.Auto?0==i?(t.minimum=0,t.maximum=100):(t.minimum=i-Math.abs(i),t.maximum=i+Math.abs(i)):(t.minimum=e.minimum,t.maximum=e.maximum),e=t.maximum-t.minimum,t.majorInterval=Math.abs(Math.round(e/10)),t.minorInterval=Math.abs(t.majorInterval/2),t.calculateMinMaxScaleHelper(),t.calculateWidthScaleHelper())},x.isFullCircularScale=function(e){if(!e.is(c))return!1;if(e.items.count<3)return!1;return!0},x.createFullCircularScale=function(e){var t=new c,r,r;t.startAngle=120,t.sweepAngle=300,t.startWidth=.05,t.endWidth=.05,t.minimum=0,t.maximum=180,t.majorInterval=90,t.minorInterval=10,t.brush=new p(l.fromArgb(238,238,238)),e||((r=new d).placement=a.StiPlacement.Inside,r.relativeWidth=.05,r.relativeHeight=.015,r.skin=a.StiTickMarkSkin.Rectangle,r.brush=new p(l.black),t.items.add(r),(r=new m).offset=.1,r.placement=a.StiPlacement.Inside,t.items.add(r));var r=new y;r.relativeHeight=.3,r.relativeWidth=.4,r.startWidth=.1,r.endWidth=1,r.capBrush=new f,r.brush=new f,r.textBrush=new p(l.fromArgb(0,150,136)),r.valueObj=135,t.items.add(r);var r=new g;return r.startWidth=.1,r.endWidth=.1,r.offset=.1,r.valueObj=135,r.placement=a.StiPlacement.Outside,r.brush=new p(l.red),t.items.add(r),t},x.isHalfCircularScale=function(e){if(!e.is(c))return!1;if(2!=e.items.count)return!1;if(!e.items.list[0].is(y))return!1;if(!e.items.list[1].is(g))return!1;var t;if(0!=e.items.list[1].rangeList.count)return!1;return!0},x.createHalfCircularScale=function(e){var t=new c;t.startAngle=180,t.sweepAngle=180,t.startWidth=.05,t.endWidth=.05,t.minimum=0,t.maximum=180,t.radius=.8,t.majorInterval=90,t.minorInterval=10,t.center=new b(.5,.7),t.radiusMode=a.StiRadiusMode.Auto,t.brush=new p(l.fromArgb(238,238,238));var r=new y;r.relativeHeight=.05,r.relativeWidth=.4,r.startWidth=.1,r.endWidth=.2,r.capBrush=new p(l.white),r.capBorderBrush=new p(l.fromArgb(0,150,136)),r.capBorderWidth=2,r.brush=new p(l.fromArgb(0,150,136)),r.borderWidth=0,r.textBrush=new p(l.fromArgb(0,150,136)),r.valueObj=135,t.items.add(r);var r=new g;return r.startWidth=.05,r.endWidth=.05,r.offset=.1,r.valueObj=135,r.placement=a.StiPlacement.Overlay,r.brush=new p(l.red),t.items.add(r),t},x.isLinearScale=function(e){if(!e.is(S))return!1;if(3!=e.items.count)return!1;if(!e.items.list[0].is(w))return!1;if(!e.items.list[1].is(k))return!1;if(!e.items.list[2].is(G))return!1;return!0},x.createLinearScale=function(e,t){var r=new S,i,i;r.orientation=t?v.Horizontal:v.Vertical,r.startWidth=.1,r.endWidth=.1,r.maximum=100,r.minorInterval=5,r.borderBrush=new f,r.brush=new f,e||((i=new w).placement=a.StiPlacement.Inside,i.font=new s("Arial",8),i.textBrush=new p(l.fromArgb(158,158,158)),r.items.add(i),(i=new k).borderBrush=new f,i.borderWidth=0,i.relativeHeight=.005,i.relativeWidth=.05,i.brush=new p(l.fromArgb(158,158,158)),r.items.add(i));var i=new G;return i.relativeWidth=.1,i.relativeHeight=.04,i.placement=a.StiPlacement.Overlay,i.brush=new p(l.fromArgb(205,220,57)),i.valueObj=85,r.items.add(i),e&&(i.relativeWidth=.07,i.relativeHeight=.08),r},x.isBulletScale=function(e){if(!e.is(S))return!1;if(3!=e.items.count)return!1;if(!e.items.list[0].is(R))return!1;if(!e.items.list[1].is(w))return!1;if(!e.items.list[2].is(B))return!1;return!0},x.createBullet=function(e,t){var r=new S,i;r.orientation=v.Horizontal,r.relativeHeight=.85,r.startWidth=.01,r.endWidth=.01,r.maximum=100,r.borderBrush=new f,r.brush=new f,this.addLinearRanges(0,100,r),t||((i=new w).formatService=e.valueFormat,i.placement=a.StiPlacement.Outside,i.offset=.25,r.items.add(i));var i=new B;return i.startWidth=.15,i.endWidth=.15,i.brush=new p(l.fromArgb(205,220,57)),i.valueObj=85,i.value="85",r.items.add(i),r},x.addLinearRanges=function(e,t,r){var i=new R,n=new O;n.placement=a.StiPlacement.Overlay,n.startValue=e+0*(t-e),n.endValue=e+.3*(t-e),n.startWidth=.3,n.endWidth=.3,n.borderBrush=new f,n.brush=new p(l.red),i.ranges.add(n);var n=new O;n.placement=a.StiPlacement.Overlay,n.startValue=e+.3*(t-e),n.endValue=e+.65*(t-e),n.startWidth=.3,n.endWidth=.3,n.borderBrush=new f,n.brush=new p(l.yellow),i.ranges.add(n);var n=new O;n.placement=a.StiPlacement.Overlay,n.startValue=e+.65*(t-e),n.endValue=e+1*(t-e),n.startWidth=.3,n.endWidth=.3,n.borderBrush=new f,n.brush=new p(l.green),i.ranges.add(n),r.items.add(i)},t=x,o.StiGaugeInitHelper=t}(Stimulsoft=Stimulsoft||{}),function(e){var t,r,i,n,o;r=t=e.Report||(e.Report={}),r=i=r.Gauge||(r.Gauge={}),(o=n=r.Primitives||(r.Primitives={})).IStiScaleBarGeometry=new e.System.Interface("IStiScaleBarGeometry")}(Stimulsoft=Stimulsoft||{}),function(e){var t,r,i,n,o;r=t=e.Report||(e.Report={}),r=i=r.Gauge||(r.Gauge={}),(o=n=r.Primitives||(r.Primitives={})).IStiTickCustom=new e.System.Interface("IStiTickCustom")}(Stimulsoft=Stimulsoft||{}),function(e){var t,r,i,n,o,a;function s(){this.tickMarkMajorBorderWidth=0,this.tickMarkMinorBorderWidth=0,this.markerSkin=n.StiMarkerSkin.TriangleRight,this.markerBorderBrush=new o,this.markerBorderWidth=0,this.styleId=n.StiGaugeStyleId.StiStyle26}r=t=e.Report||(e.Report={}),n=i=r.Gauge||(r.Gauge={}),o=e.Base.Drawing.StiEmptyBrush,n.StiGaugeStyleCoreXF=s}(Stimulsoft=Stimulsoft||{}),function(e){var t,r,i,n,o,a,s,l,u,h,c,p,d;function m(){var e=null!==d&&d.apply(this,arguments)||this;return e.brush=new u(h.fromHtml("#ffffff")),e.foreColor=a.getForeColor2(o.Green),e.borderColor=s.transparent,e.borderWidth=0,e.targetColor=h.fromHtml("#43682b"),e.tickMarkMajorBrush=new u(h.fromHtml("#8c8c8c")),e.tickMarkMajorBorder=new c,e.tickMarkMinorBrush=new u(h.fromHtml("#8c8c8c")),e.tickMarkMinorBorder=new c,e.tickLabelMajorTextBrush=new u(h.fromHtml("#8c8c8c")),e.tickLabelMajorFont=new p("Arial",10),e.tickLabelMinorTextBrush=new u(h.fromHtml("#8c8c8c")),e.tickLabelMinorFont=new p("Arial",9),e.markerBrush=new u(h.fromHtml("#888888")),e.linearScaleBrush=new u(h.fromHtml("#70ad47")),e.linearBarBrush=new u(h.fromHtml("#70ad47")),e.linearBarBorderBrush=new c,e.linearBarEmptyBrush=new c,e.linearBarEmptyBorderBrush=new c,e.linearBarStartWidth=.1,e.linearBarEndWidth=.1,e.radialBarBrush=new u(h.fromHtml("#70ad47")),e.radialBarBorderBrush=new c,e.radialBarEmptyBrush=new u(h.fromHtml("#e6e6e6")),e.radialBarEmptyBorderBrush=new c,e.radialBarStartWidth=.1,e.radialBarEndWidth=.1,e.needleBrush=new u(h.fromHtml("#70ad47")),e.needleBorderBrush=new c,e.needleCapBrush=new u(h.fromHtml("#70ad47")),e.needleCapBorderBrush=new u(h.fromHtml("#70ad47")),e.needleBorderWidth=0,e.needleCapBorderWidth=2,e.needleStartWidth=.1,e.needleEndWidth=1,e.needleRelativeHeight=.06,e.needleRelativeWith=.45,e}r=t=e.Report||(e.Report={}),n=i=r.Gauge||(r.Gauge={}),o=e.Report.Dashboard.StiElementStyleIdent,a=e.Report.Dashboard.Styles.StiDashboardStyleHelper,s=e.System.Drawing.Color,l=e.Base.Localization.StiLocalization,u=e.Base.Drawing.StiSolidBrush,h=e.System.Drawing.ColorTranslator,c=e.Base.Drawing.StiEmptyBrush,p=e.System.Drawing.Font,d=n.StiGaugeStyleCoreXF,__extends(m,d),Object.defineProperty(m.prototype,"localizedName",{get:function(){return l.get("Chart","Style")+"25"},enumerable:!1,configurable:!0}),r=m,n.StiGaugeStyleCoreXF25=r}(Stimulsoft=Stimulsoft||{}),function(e){var t,r,i,n,o,a,s,l;function u(e){var t=l.call(this)||this;return t.reportGaugeStyle=e,t}r=t=e.Report||(e.Report={}),n=i=r.Gauge||(r.Gauge={}),o=e.Base.Drawing.StiSolidBrush,a=e.Base.Drawing.StiEmptyBrush,s=e.System.Drawing.ColorTranslator,l=n.StiGaugeStyleCoreXF25,__extends(u,l),Object.defineProperty(u.prototype,"_super",{get:function(){return this.__proto__},enumerable:!1,configurable:!0}),Object.defineProperty(u.prototype,"localizedName",{get:function(){return"CustomStyle"},enumerable:!1,configurable:!0}),Object.defineProperty(u.prototype,"reportGaugeStyle",{get:function(){return this._reportGaugeStyle},set:function(e){this._reportGaugeStyle=e},enumerable:!1,configurable:!0}),Object.defineProperty(u.prototype,"reportStyleName",{get:function(){return null==this.reportGaugeStyle?null:this.reportGaugeStyle.name},enumerable:!1,configurable:!0}),Object.defineProperty(u.prototype,"brush",{get:function(){return(null!=this.reportGaugeStyle?this.reportGaugeStyle:this._super).brush},set:function(e){this._super.brush=e},enumerable:!1,configurable:!0}),Object.defineProperty(u.prototype,"borderColor",{get:function(){return(null!=this.reportGaugeStyle?this.reportGaugeStyle:this._super).borderColor},set:function(e){this._super.borderColor=e},enumerable:!1,configurable:!0}),Object.defineProperty(u.prototype,"foreColor",{get:function(){return(null!=this.reportGaugeStyle?this.reportGaugeStyle:this._super).foreColor},set:function(e){this._super.foreColor=e},enumerable:!1,configurable:!0}),Object.defineProperty(u.prototype,"targetColor",{get:function(){return(null!=this.reportGaugeStyle?this.reportGaugeStyle:this._super).targetColor},set:function(e){this._super.targetColor=e},enumerable:!1,configurable:!0}),Object.defineProperty(u.prototype,"borderWidth",{get:function(){return(null!=this.reportGaugeStyle?this.reportGaugeStyle:this._super).borderWidth},set:function(e){this._super.borderWidth=e},enumerable:!1,configurable:!0}),Object.defineProperty(u.prototype,"tickMarkMajorBrush",{get:function(){return(null!=this.reportGaugeStyle?this.reportGaugeStyle:this._super).tickMarkMajorBrush},set:function(e){this._super.tickMarkMajorBrush=e},enumerable:!1,configurable:!0}),Object.defineProperty(u.prototype,"tickMarkMajorBorder",{get:function(){return(null!=this.reportGaugeStyle?this.reportGaugeStyle:this._super).tickMarkMajorBorder},set:function(e){this._super.tickMarkMajorBorder=e},enumerable:!1,configurable:!0}),Object.defineProperty(u.prototype,"tickMarkMajorBorderWidth",{get:function(){return(null!=this.reportGaugeStyle?this.reportGaugeStyle:this._super).tickMarkMajorBorderWidth},set:function(e){this._super.tickMarkMajorBorderWidth=e},enumerable:!1,configurable:!0}),Object.defineProperty(u.prototype,"tickMarkMinorBrush",{get:function(){return(null!=this.reportGaugeStyle?this.reportGaugeStyle:this._super).tickMarkMinorBrush},set:function(e){this._super.tickMarkMinorBrush=e},enumerable:!1,configurable:!0}),Object.defineProperty(u.prototype,"tickMarkMinorBorder",{get:function(){return(null!=this.reportGaugeStyle?this.reportGaugeStyle:this._super).tickMarkMinorBorder},set:function(e){this._super.tickMarkMinorBorder=e},enumerable:!1,configurable:!0}),Object.defineProperty(u.prototype,"tickMarkMinorBorderWidth",{get:function(){return(null!=this.reportGaugeStyle?this.reportGaugeStyle:this._super).tickMarkMinorBorderWidth},set:function(e){this._super.tickMarkMinorBorderWidth=e},enumerable:!1,configurable:!0}),Object.defineProperty(u.prototype,"tickLabelMajorTextBrush",{get:function(){return(null!=this.reportGaugeStyle?this.reportGaugeStyle:this._super).tickLabelMajorTextBrush},set:function(e){this._super.tickLabelMajorTextBrush=e},enumerable:!1,configurable:!0}),Object.defineProperty(u.prototype,"tickLabelMajorFont",{get:function(){return(null!=this.reportGaugeStyle?this.reportGaugeStyle:this._super).tickLabelMajorFont},set:function(e){this._super.tickLabelMajorFont=e},enumerable:!1,configurable:!0}),Object.defineProperty(u.prototype,"tickLabelMinorTextBrush",{get:function(){return(null!=this.reportGaugeStyle?this.reportGaugeStyle:this._super).tickLabelMinorTextBrush},set:function(e){this._super.tickLabelMinorTextBrush=e},enumerable:!1,configurable:!0}),Object.defineProperty(u.prototype,"tickLabelMinorFont",{get:function(){return(null!=this.reportGaugeStyle?this.reportGaugeStyle:this._super).tickLabelMinorFont},set:function(e){this._super.tickLabelMinorFont=e},enumerable:!1,configurable:!0}),Object.defineProperty(u.prototype,"markerBrush",{get:function(){return(null!=this.reportGaugeStyle?this.reportGaugeStyle:this._super).markerBrush},set:function(e){this._super.markerBrush=e},enumerable:!1,configurable:!0}),Object.defineProperty(u.prototype,"linearBarBrush",{get:function(){return null!=this.reportGaugeStyle?this.reportGaugeStyle.linearBarBrush:new o(s.fromHtml("#4472c4"))},set:function(e){this._super.linearBarBrush=e},enumerable:!1,configurable:!0}),Object.defineProperty(u.prototype,"linearBarBorderBrush",{get:function(){return null!=this.reportGaugeStyle?this.reportGaugeStyle.linearBarBorderBrush:new a},set:function(e){this._super.linearBarBorderBrush=e},enumerable:!1,configurable:!0}),Object.defineProperty(u.prototype,"linearBarEmptyBrush",{get:function(){return null!=this.reportGaugeStyle?this.reportGaugeStyle.linearBarEmptyBrush:new a},set:function(e){this._super.linearBarEmptyBrush=e},enumerable:!1,configurable:!0}),Object.defineProperty(u.prototype,"linearBarEmptyBorderBrush",{get:function(){return null!=this.reportGaugeStyle?this.reportGaugeStyle.linearBarEmptyBorderBrush:new a},set:function(e){this._super.linearBarEmptyBorderBrush=e},enumerable:!1,configurable:!0}),Object.defineProperty(u.prototype,"linearBarStartWidth",{get:function(){return.1},set:function(e){this._super.linearBarStartWidth=e},enumerable:!1,configurable:!0}),Object.defineProperty(u.prototype,"linearBarEndWidth",{get:function(){return.1},set:function(e){this._super.linearBarEndWidth=e},enumerable:!1,configurable:!0}),Object.defineProperty(u.prototype,"radialBarBrush",{get:function(){return null!=this.reportGaugeStyle?this.reportGaugeStyle.radialBarBrush:new o(s.fromHtml("#ffc000"))},set:function(e){this._super.radialBarBrush=e},enumerable:!1,configurable:!0}),Object.defineProperty(u.prototype,"radialBarBorderBrush",{get:function(){return null!=this.reportGaugeStyle?this.reportGaugeStyle.radialBarBorderBrush:new a},set:function(e){this._super.radialBarBorderBrush=e},enumerable:!1,configurable:!0}),Object.defineProperty(u.prototype,"radialBarEmptyBrush",{get:function(){return null!=this.reportGaugeStyle?this.reportGaugeStyle.radialBarEmptyBrush:new o(s.fromHtml("#43682b"))},set:function(e){this._super.radialBarEmptyBrush=e},enumerable:!1,configurable:!0}),Object.defineProperty(u.prototype,"radialBarEmptyBorderBrush",{get:function(){return null!=this.reportGaugeStyle?this.reportGaugeStyle.radialBarEmptyBorderBrush:new a},set:function(e){this._super.radialBarEmptyBorderBrush=e},enumerable:!1,configurable:!0}),Object.defineProperty(u.prototype,"radialBarStartWidth",{get:function(){return.1},set:function(e){this._super.radialBarStartWidth=e},enumerable:!1,configurable:!0}),Object.defineProperty(u.prototype,"radialBarEndWidth",{get:function(){return.1},set:function(e){this._super.radialBarEndWidth=e},enumerable:!1,configurable:!0}),Object.defineProperty(u.prototype,"needleBrush",{get:function(){return null!=this.reportGaugeStyle?this.reportGaugeStyle.needleBrush:new o(s.fromHtml("#ffc000"))},set:function(e){this._super.needleBrush=e},enumerable:!1,configurable:!0}),Object.defineProperty(u.prototype,"needleBorderBrush",{get:function(){return null!=this.reportGaugeStyle?this.reportGaugeStyle.needleBorderBrush:new a},set:function(e){this._super.needleBorderBrush=e},enumerable:!1,configurable:!0}),Object.defineProperty(u.prototype,"needleCapBrush",{get:function(){return null!=this.reportGaugeStyle?this.reportGaugeStyle.needleCapBrush:new o(s.fromHtml("#ffc000"))},set:function(e){this._super.needleCapBrush=e},enumerable:!1,configurable:!0}),Object.defineProperty(u.prototype,"needleCapBorderBrush",{get:function(){return null!=this.reportGaugeStyle?this.reportGaugeStyle.needleCapBorderBrush:new o(s.fromHtml("#ffc000"))},set:function(e){this._super.needleCapBorderBrush=e},enumerable:!1,configurable:!0}),Object.defineProperty(u.prototype,"needleBorderWidth",{get:function(){return(null!=this.reportGaugeStyle?this.reportGaugeStyle:this._super).needleBorderWidth},set:function(e){this._super.needleBorderWidth=e},enumerable:!1,configurable:!0}),Object.defineProperty(u.prototype,"needleCapBorderWidth",{get:function(){return(null!=this.reportGaugeStyle?this.reportGaugeStyle:this._super).needleBorderWidth},set:function(e){this._super.needleCapBorderWidth=e},enumerable:!1,configurable:!0}),Object.defineProperty(u.prototype,"needleStartWidth",{get:function(){return.1},set:function(e){this._super.needleStartWidth=e},enumerable:!1,configurable:!0}),Object.defineProperty(u.prototype,"needleEndWidth",{get:function(){return 1},set:function(e){this._super.needleEndWidth=e},enumerable:!1,configurable:!0}),Object.defineProperty(u.prototype,"needleRelativeHeight",{get:function(){return.08},set:function(e){this._super.needleRelativeHeight=e},enumerable:!1,configurable:!0}),Object.defineProperty(u.prototype,"needleRelativeWith",{get:function(){return.55},set:function(e){this._super.needleRelativeWith=e},enumerable:!1,configurable:!0}),r=u,n.StiCustomGaugeStyleCoreXF=r}(Stimulsoft=Stimulsoft||{}),function(e){var t,r,i,n,o,a,s,l,u,h,c,p,d;function m(){var e=null!==d&&d.apply(this,arguments)||this;return e.brush=new u(h.fromHtml("#ffffff")),e.foreColor=a.getForeColor2(o.Orange),e.borderColor=s.transparent,e.borderWidth=0,e.targetColor=h.fromHtml("#ffc000"),e.tickMarkMajorBrush=new u(h.fromHtml("#8c8c8c")),e.tickMarkMajorBorder=new c,e.tickMarkMinorBrush=new u(h.fromHtml("#8c8c8c")),e.tickMarkMinorBorder=new c,e.tickLabelMajorTextBrush=new u(h.fromHtml("#8c8c8c")),e.tickLabelMajorFont=new p("Arial",10),e.tickLabelMinorTextBrush=new u(h.fromHtml("#8c8c8c")),e.tickLabelMinorFont=new p("Arial",9),e.markerBrush=new u(h.fromHtml("#888888")),e.linearScaleBrush=new u(h.fromHtml("#ed7d31")),e.linearBarBrush=new u(h.fromHtml("#ed7d31")),e.linearBarBorderBrush=new c,e.linearBarEmptyBrush=new c,e.linearBarEmptyBorderBrush=new c,e.linearBarStartWidth=.1,e.linearBarEndWidth=.1,e.radialBarBrush=new u(h.fromHtml("#ed7d31")),e.radialBarBorderBrush=new c,e.radialBarEmptyBrush=new u(h.fromHtml("#e6e6e6")),e.radialBarEmptyBorderBrush=new c,e.radialBarStartWidth=.1,e.radialBarEndWidth=.1,e.needleBrush=new u(h.fromHtml("#ed7d31")),e.needleBorderBrush=new c,e.needleCapBrush=new u(h.fromHtml("#ed7d31")),e.needleCapBorderBrush=new u(h.fromHtml("#ed7d31")),e.needleBorderWidth=0,e.needleCapBorderWidth=2,e.needleStartWidth=.1,e.needleEndWidth=1,e.needleRelativeHeight=.06,e.needleRelativeWith=.45,e}r=t=e.Report||(e.Report={}),n=i=r.Gauge||(r.Gauge={}),o=e.Report.Dashboard.StiElementStyleIdent,a=e.Report.Dashboard.Styles.StiDashboardStyleHelper,s=e.System.Drawing.Color,l=e.Base.Localization.StiLocalization,u=e.Base.Drawing.StiSolidBrush,h=e.System.Drawing.ColorTranslator,c=e.Base.Drawing.StiEmptyBrush,p=e.System.Drawing.Font,d=n.StiGaugeStyleCoreXF,__extends(m,d),Object.defineProperty(m.prototype,"localizedName",{get:function(){return l.get("Chart","Style")+"24"},enumerable:!1,configurable:!0}),r=m,n.StiGaugeStyleCoreXF24=r}(Stimulsoft=Stimulsoft||{}),function(e){var t,r,i,n,o,a,s,l,u,h,c,p,d;function m(){var e=null!==d&&d.apply(this,arguments)||this;return e.brush=new u(h.fromHtml("#ffffff")),e.foreColor=a.getForeColor2(o.Turquoise),e.borderColor=s.transparent,e.borderWidth=0,e.targetColor=h.fromHtml("#b5a1dd"),e.tickMarkMajorBrush=new u(h.fromHtml("#8c8c8c")),e.tickMarkMajorBorder=new c,e.tickMarkMinorBrush=new u(h.fromHtml("#8c8c8c")),e.tickMarkMinorBorder=new c,e.tickLabelMajorTextBrush=new u(h.fromHtml("#8c8c8c")),e.tickLabelMajorFont=new p("Arial",10),e.tickLabelMinorTextBrush=new u(h.fromHtml("#8c8c8c")),e.tickLabelMinorFont=new p("Arial",9),e.markerBrush=new u(h.fromHtml("#888888")),e.linearScaleBrush=new u(h.fromHtml("#2ec6c8")),e.linearBarBrush=new u(h.fromHtml("#2ec6c8")),e.linearBarBorderBrush=new c,e.linearBarEmptyBrush=new c,e.linearBarEmptyBorderBrush=new c,e.linearBarStartWidth=.1,e.linearBarEndWidth=.1,e.radialBarBrush=new u(h.fromHtml("#2ec6c8")),e.radialBarBorderBrush=new c,e.radialBarEmptyBrush=new u(h.fromHtml("#e6e6e6")),e.radialBarEmptyBorderBrush=new c,e.radialBarStartWidth=.1,e.radialBarEndWidth=.1,e.needleBrush=new u(h.fromHtml("#2ec6c8")),e.needleBorderBrush=new c,e.needleCapBrush=new u(h.fromHtml("#2ec6c8")),e.needleCapBorderBrush=new u(h.fromHtml("#2ec6c8")),e.needleBorderWidth=0,e.needleCapBorderWidth=2,e.needleStartWidth=.1,e.needleEndWidth=1,e.needleRelativeHeight=.06,e.needleRelativeWith=.45,e}r=t=e.Report||(e.Report={}),n=i=r.Gauge||(r.Gauge={}),o=e.Report.Dashboard.StiElementStyleIdent,a=e.Report.Dashboard.Styles.StiDashboardStyleHelper,s=e.System.Drawing.Color,l=e.Base.Localization.StiLocalization,u=e.Base.Drawing.StiSolidBrush,h=e.System.Drawing.ColorTranslator,c=e.Base.Drawing.StiEmptyBrush,p=e.System.Drawing.Font,d=n.StiGaugeStyleCoreXF,__extends(m,d),Object.defineProperty(m.prototype,"localizedName",{get:function(){return l.get("Chart","Style")+"26"},enumerable:!1,configurable:!0}),r=m,n.StiGaugeStyleCoreXF26=r}(Stimulsoft=Stimulsoft||{}),function(e){var t,r,i,n,o,a,s,l,u,h,c,p,d;function m(){var e=null!==d&&d.apply(this,arguments)||this;return e.brush=new u(h.fromHtml("#FF33475B")),e.foreColor=o.getForeColor2(a.SlateGray),e.borderColor=s.transparent,e.borderWidth=0,e.targetColor=h.fromHtml("#ec334d"),e.tickMarkMajorBrush=new c,e.tickMarkMajorBorder=new c,e.tickMarkMinorBrush=new c,e.tickMarkMinorBorder=new c,e.tickLabelMajorTextBrush=new u(h.fromHtml("#ffffff")),e.tickLabelMajorFont=new p("Arial",10),e.tickLabelMinorTextBrush=new u(h.fromHtml("#ffffff")),e.tickLabelMinorFont=new p("Arial",9),e.markerBrush=new u(h.fromHtml("#ec334d")),e.linearScaleBrush=new u(h.fromHtml("#0bac45")),e.linearBarBrush=new u(h.fromHtml("#0bac45")),e.linearBarBorderBrush=new c,e.linearBarEmptyBrush=new c,e.linearBarEmptyBorderBrush=new c,e.linearBarStartWidth=.1,e.linearBarEndWidth=.1,e.radialBarBrush=new u(h.fromHtml("#0bac45")),e.radialBarBorderBrush=new c,e.radialBarEmptyBrush=new u(h.fromHtml("#3b4d5f")),e.radialBarEmptyBorderBrush=new c,e.radialBarStartWidth=.1,e.radialBarEndWidth=.1,e.needleBrush=new u(h.fromHtml("#ec334d")),e.needleBorderBrush=new c,e.needleCapBrush=new u(h.fromHtml("#ffffff")),e.needleCapBorderBrush=new u(h.fromHtml("#ec334d")),e.needleBorderWidth=0,e.needleCapBorderWidth=2,e.needleStartWidth=.1,e.needleEndWidth=1,e.needleRelativeHeight=.06,e.needleRelativeWith=.45,e}r=t=e.Report||(e.Report={}),n=i=r.Gauge||(r.Gauge={}),o=e.Report.Dashboard.Styles.StiDashboardStyleHelper,a=e.Report.Dashboard.StiElementStyleIdent,s=e.System.Drawing.Color,l=e.Base.Localization.StiLocalization,u=e.Base.Drawing.StiSolidBrush,h=e.System.Drawing.ColorTranslator,c=e.Base.Drawing.StiEmptyBrush,p=e.System.Drawing.Font,d=n.StiGaugeStyleCoreXF,__extends(m,d),Object.defineProperty(m.prototype,"localizedName",{get:function(){return l.get("Chart","Style")+"27"},enumerable:!1,configurable:!0}),r=m,n.StiGaugeStyleCoreXF27=r}(Stimulsoft=Stimulsoft||{}),function(e){var t,r,i,n,o,a,s,l,u,h,c,p,d;function m(){var e=null!==d&&d.apply(this,arguments)||this;return e.brush=new u(h.fromHtml("#0a325a")),e.foreColor=a.getForeColor2(o.DarkBlue),e.borderColor=s.transparent,e.borderWidth=0,e.targetColor=h.fromHtml("#577eb6"),e.tickMarkMajorBrush=new c,e.tickMarkMajorBorder=new c,e.tickMarkMinorBrush=new c,e.tickMarkMinorBorder=new c,e.tickLabelMajorTextBrush=new u(h.fromHtml("#ffffff")),e.tickLabelMajorFont=new p("Arial",10),e.tickLabelMinorTextBrush=new u(h.fromHtml("#ffffff")),e.tickLabelMinorFont=new p("Arial",9),e.markerBrush=new u(h.fromHtml("#dddddd")),e.linearScaleBrush=new u(h.fromHtml("#165d9e")),e.linearBarBrush=new u(h.fromHtml("#1f4265")),e.linearBarBorderBrush=new c,e.linearBarEmptyBrush=new c,e.linearBarEmptyBorderBrush=new c,e.linearBarStartWidth=.1,e.linearBarEndWidth=.1,e.radialBarBrush=new u(h.fromHtml("#165d9e")),e.radialBarBorderBrush=new c,e.radialBarEmptyBrush=new u(h.fromHtml("#1f4265")),e.radialBarEmptyBorderBrush=new c,e.radialBarStartWidth=.1,e.radialBarEndWidth=.1,e.needleBrush=new u(h.fromHtml("#dddddd")),e.needleBorderBrush=new c,e.needleCapBrush=new u(h.fromHtml("#dddddd")),e.needleCapBorderBrush=new u(h.fromHtml("#dddddd")),e.needleBorderWidth=0,e.needleCapBorderWidth=0,e.needleStartWidth=.1,e.needleEndWidth=1,e.needleRelativeHeight=.06,e.needleRelativeWith=.45,e}r=t=e.Report||(e.Report={}),n=i=r.Gauge||(r.Gauge={}),o=e.Report.Dashboard.StiElementStyleIdent,a=e.Report.Dashboard.Styles.StiDashboardStyleHelper,s=e.System.Drawing.Color,l=e.Base.Localization.StiLocalization,u=e.Base.Drawing.StiSolidBrush,h=e.System.Drawing.ColorTranslator,c=e.Base.Drawing.StiEmptyBrush,p=e.System.Drawing.Font,d=n.StiGaugeStyleCoreXF,__extends(m,d),Object.defineProperty(m.prototype,"localizedName",{get:function(){return l.get("Chart","Style")+"28"},enumerable:!1,configurable:!0}),r=m,n.StiGaugeStyleCoreXF28=r}(Stimulsoft=Stimulsoft||{}),function(e){var t,r,i,n,o,a,s,l,u,h,c,p,d;function m(){var e=null!==d&&d.apply(this,arguments)||this;return e.brush=new c(h.fromHtml("#ffffff")),e.foreColor=a.getForeColor2(o.Blue),e.borderColor=u.transparent,e.borderWidth=0,e.targetColor=h.fromHtml("#ef717a"),e.tickMarkMajorBrush=new c(h.fromHtml("#8c8c8c")),e.tickMarkMajorBorder=new l,e.tickMarkMinorBrush=new c(h.fromHtml("#8c8c8c")),e.tickMarkMinorBorder=new l,e.tickLabelMajorTextBrush=new c(h.fromHtml("#8c8c8c")),e.tickLabelMajorFont=new s("Arial",10),e.tickLabelMinorTextBrush=new c(h.fromHtml("#8c8c8c")),e.tickLabelMinorFont=new s("Arial",9),e.markerBrush=new c(h.fromHtml("#888")),e.linearMarkerBorder=new c(h.fromHtml("#888")),e.linearScaleBrush=new c(h.fromHtml("#3498db")),e.linearBarBrush=new c(h.fromHtml("#3498db")),e.linearBarBorderBrush=new l,e.linearBarEmptyBrush=new l,e.linearBarEmptyBorderBrush=new l,e.linearBarStartWidth=.1,e.linearBarEndWidth=.1,e.radialBarBrush=new c(h.fromHtml("#3498db")),e.radialBarBorderBrush=new l,e.radialBarEmptyBrush=new c(h.fromHtml("#e7ebec")),e.radialBarEmptyBorderBrush=new l,e.radialBarStartWidth=.1,e.radialBarEndWidth=.1,e.needleBrush=new c(h.fromHtml("#3498db")),e.needleBorderBrush=new l,e.needleCapBrush=new c(h.fromHtml("#3498db")),e.needleCapBorderBrush=new c(h.fromHtml("#3498db")),e.needleBorderWidth=0,e.needleCapBorderWidth=2,e.needleStartWidth=.1,e.needleEndWidth=1,e.needleRelativeHeight=.06,e.needleRelativeWith=.45,e}r=t=e.Report||(e.Report={}),n=i=r.Gauge||(r.Gauge={}),o=e.Report.Dashboard.StiElementStyleIdent,a=e.Report.Dashboard.Styles.StiDashboardStyleHelper,s=e.System.Drawing.Font,l=e.Base.Drawing.StiEmptyBrush,u=e.System.Drawing.Color,h=e.System.Drawing.ColorTranslator,c=e.Base.Drawing.StiSolidBrush,p=e.Base.Localization.StiLocalization,d=n.StiGaugeStyleCoreXF,__extends(m,d),Object.defineProperty(m.prototype,"localizedName",{get:function(){return p.get("Chart","Style")+"29"},enumerable:!1,configurable:!0}),r=m,n.StiGaugeStyleCoreXF29=r}(Stimulsoft=Stimulsoft||{}),function(e){var t,r,i,n,o,a,s,l,u,h,c,p,d;function m(){var e=null!==d&&d.apply(this,arguments)||this;return e.brush=new u(l.fromHtml("#595b65")),e.foreColor=p.getForeColor2(c.DarkGray),e.borderColor=s.transparent,e.borderWidth=0,e.targetColor=l.fromHtml("#d3d3d5"),e.tickMarkMajorBrush=new u(l.fromHtml("#ffffff")),e.tickMarkMajorBorder=new a,e.tickMarkMinorBrush=new a,e.tickMarkMinorBorder=new a,e.tickLabelMajorTextBrush=new u(l.fromHtml("#ffffff")),e.tickLabelMajorFont=new o("Arial",10),e.tickLabelMinorTextBrush=new u(l.fromHtml("#ffffff")),e.tickLabelMinorFont=new o("Arial",9),e.markerBrush=new u(l.fromHtml("#d3d3d5")),e.linearMarkerBorder=new u(l.fromHtml("#d3d3d5")),e.linearScaleBrush=new u(l.fromHtml("#db7b46")),e.linearBarBrush=new u(l.fromHtml("#db7b46")),e.linearBarBorderBrush=new a,e.linearBarEmptyBrush=new a,e.linearBarEmptyBorderBrush=new a,e.linearBarStartWidth=.1,e.linearBarEndWidth=.1,e.radialBarBrush=new u(l.fromHtml("#db7b46")),e.radialBarBorderBrush=new a,e.radialBarEmptyBrush=new u(l.fromHtml("#6b6e75")),
e.radialBarEmptyBorderBrush=new a,e.radialBarStartWidth=.1,e.radialBarEndWidth=.1,e.needleBrush=new u(l.fromHtml("#d3d3d5")),e.needleBorderBrush=new a,e.needleCapBrush=new u(l.fromHtml("#ffffff")),e.needleCapBorderBrush=new u(l.fromHtml("#d3d3d5")),e.needleBorderWidth=0,e.needleCapBorderWidth=2,e.needleStartWidth=.1,e.needleEndWidth=1,e.needleRelativeHeight=.06,e.needleRelativeWith=.45,e}r=t=e.Report||(e.Report={}),n=i=r.Gauge||(r.Gauge={}),o=e.System.Drawing.Font,a=e.Base.Drawing.StiEmptyBrush,s=e.System.Drawing.Color,r=e.Report.Gauge.StiGaugeStyleCoreXF,l=e.System.Drawing.ColorTranslator,u=e.Base.Drawing.StiSolidBrush,h=e.Base.Localization.StiLocalization,c=e.Report.Dashboard.StiElementStyleIdent,p=e.Report.Dashboard.Styles.StiDashboardStyleHelper,__extends(m,d=r),Object.defineProperty(m.prototype,"localizedName",{get:function(){return h.get("Chart","Style")+"30"},enumerable:!1,configurable:!0}),r=m,n.StiGaugeStyleCoreXF30=r}(Stimulsoft=Stimulsoft||{}),function(e){var t,r,i,n,o,a,s,l,u,h,c;function p(){var e=null!==c&&c.apply(this,arguments)||this;return e.brush=new a(o.get("#235e6d")),e.targetColor=h.fromHtml("#fefef9"),e.foreColor=u.getForeColor2(l.DarkTurquoise),e.markerBrush=new a(o.get("#f2ffff")),e.linearMarkerBorder=new a(o.get("#f2ffff")),e.linearScaleBrush=new a(o.get("#f0621e")),e.linearBarBrush=new a(o.get("#f0621e")),e.radialBarBrush=new a(o.get("#f0621e")),e.radialBarEmptyBrush=new a(o.get("#1c445b")),e}r=t=e.Report||(e.Report={}),n=i=r.Gauge||(r.Gauge={}),o=e.Base.Drawing.StiColor,r=e.Report.Gauge.StiGaugeStyleCoreXF30,a=e.Base.Drawing.StiSolidBrush,s=e.Base.Localization.StiLocalization,l=e.Report.Dashboard.StiElementStyleIdent,u=e.Report.Dashboard.Styles.StiDashboardStyleHelper,h=e.System.Drawing.ColorTranslator,__extends(p,c=r),Object.defineProperty(p.prototype,"localizedName",{get:function(){return s.get("Chart","Style")+"31"},enumerable:!1,configurable:!0}),r=p,n.StiGaugeStyleCoreXF31=r}(Stimulsoft=Stimulsoft||{}),function(e){var t,r,i,n,o,a,s,l,u,h,c;function p(){var e=null!==c&&c.apply(this,arguments)||this;return e.brush=new a(o.get("#6d7e8b")),e.targetColor=h.fromHtml("#90a1ab"),e.foreColor=u.getForeColor2(l.Silver),e.markerBrush=new a(o.get("#d41c2a")),e.linearMarkerBorder=new a(o.get("#d41c2a")),e.needleBrush=new a(o.get("d41c2a")),e.needleBorderBrush=new a(o.get("d41c2a")),e.needleCapBrush=new a(o.get("d41c2a")),e.needleCapBorderBrush=new a(o.get("d3d3d5")),e.needleCapBorderWidth=0,e.linearScaleBrush=new a(o.get("#e9f4fc")),e.linearBarBrush=new a(o.get("#3a5263")),e.radialBarBrush=new a(o.get("#e9f4fc")),e.radialBarEmptyBrush=new a(o.get("#3a5263")),e}r=t=e.Report||(e.Report={}),n=i=r.Gauge||(r.Gauge={}),o=e.Base.Drawing.StiColor,r=e.Report.Gauge.StiGaugeStyleCoreXF30,a=e.Base.Drawing.StiSolidBrush,s=e.Base.Localization.StiLocalization,l=e.Report.Dashboard.StiElementStyleIdent,u=e.Report.Dashboard.Styles.StiDashboardStyleHelper,h=e.System.Drawing.ColorTranslator,__extends(p,c=r),Object.defineProperty(p.prototype,"localizedName",{get:function(){return s.get("Chart","Style")+"32"},enumerable:!1,configurable:!0}),r=p,n.StiGaugeStyleCoreXF32=r}(Stimulsoft=Stimulsoft||{}),function(e){var t,r,i,n,o,a,s,l,u,h,c,p,d;function m(){var e=null!==d&&d.apply(this,arguments)||this;return e.brush=new a(o.get("#f2f5fc")),e.targetColor=p.fromHtml("#e47334"),e.foreColor=u.getForeColor2(l.AliceBlue),e.tickLabelMajorTextBrush=new a(o.get("#3a3a3a")),e.tickLabelMajorFont=new h("Arial",8),e.tickLabelMinorTextBrush=new a(o.get("#3a3a3a")),e.tickLabelMinorFont=new h("Arial",7),e.markerBrush=new a(o.get("#d41c2a")),e.linearMarkerBorder=new a(c.transparent),e.needleBrush=new a(o.get("d41c2a")),e.needleBorderBrush=new a(o.get("d41c2a")),e.needleCapBrush=new a(o.get("d41c2a")),e.needleCapBorderBrush=new a(o.get("d3d3d5")),e.needleCapBorderWidth=0,e.linearScaleBrush=new a(o.get("#ccd5f0")),e.linearBarBrush=new a(o.get("#5d6b99")),e.radialBarBrush=new a(o.get("#ccd5f0")),e.radialBarEmptyBrush=new a(o.get("#5d6b99")),e}r=t=e.Report||(e.Report={}),n=i=r.Gauge||(r.Gauge={}),o=e.Base.Drawing.StiColor,r=e.Report.Gauge.StiGaugeStyleCoreXF30,a=e.Base.Drawing.StiSolidBrush,s=e.Base.Localization.StiLocalization,l=e.Report.Dashboard.StiElementStyleIdent,u=e.Report.Dashboard.Styles.StiDashboardStyleHelper,h=e.System.Drawing.Font,c=e.System.Drawing.Color,p=e.System.Drawing.ColorTranslator,__extends(m,d=r),Object.defineProperty(m.prototype,"localizedName",{get:function(){return s.get("Chart","Style")+"33"},enumerable:!1,configurable:!0}),r=m,n.StiGaugeStyleCoreXF33=r}(Stimulsoft=Stimulsoft||{}),function(e){var t,r,i,n,o,a,s,l,u,h,c,p,d,m;function f(){var e=null!==m&&m.apply(this,arguments)||this;return e.brush=new a(o.get("#3f745e")),e.borderColor=p.transparent,e.borderWidth=0,e.targetColor=d.fromHtml("#ecb92f"),e.foreColor=h.getForeColor2(u.DarkGray),e.tickMarkMajorBrush=new s,e.tickMarkMajorBorder=new s,e.tickMarkMinorBrush=new s,e.tickMarkMinorBorder=new s,e.tickLabelMajorTextBrush=new a(o.get("#f1f5f1")),e.tickLabelMajorFont=new c("Arial",10),e.tickLabelMinorTextBrush=new a(o.get("#f1f5f1")),e.tickLabelMinorFont=new c("Arial",9),e.markerBrush=new a(o.get("#e3ba41")),e.linearMarkerBorder=new a(o.get("#e3ba41")),e.linearScaleBrush=new a(o.get("#edf2f2")),e.linearBarBrush=new a(o.get("#edf2f2")),e.linearBarBorderBrush=new s,e.linearBarEmptyBrush=new s,e.linearBarEmptyBorderBrush=new s,e.linearBarStartWidth=.1,e.linearBarEndWidth=.1,e.radialBarBrush=new a(o.get("#8ab9bb")),e.radialBarBorderBrush=new s,e.radialBarEmptyBrush=new a(o.get("#264945")),e.radialBarEmptyBorderBrush=new s,e.radialBarStartWidth=.1,e.radialBarEndWidth=.1,e.needleBrush=new a(o.get("e3ba41")),e.needleBorderBrush=new s,e.needleCapBrush=new a(o.get("e3ba41")),e.needleCapBorderBrush=new a(o.get("e3ba41")),e.needleBorderWidth=0,e.needleCapBorderWidth=2,e.needleStartWidth=.1,e.needleEndWidth=1,e.needleRelativeHeight=.06,e.needleRelativeWith=.45,e}r=t=e.Report||(e.Report={}),n=i=r.Gauge||(r.Gauge={}),o=e.Base.Drawing.StiColor,a=e.Base.Drawing.StiSolidBrush,s=e.Base.Drawing.StiEmptyBrush,l=e.Base.Localization.StiLocalization,u=e.Report.Dashboard.StiElementStyleIdent,h=e.Report.Dashboard.Styles.StiDashboardStyleHelper,c=e.System.Drawing.Font,p=e.System.Drawing.Color,d=e.System.Drawing.ColorTranslator,m=n.StiGaugeStyleCoreXF,__extends(f,m),Object.defineProperty(f.prototype,"localizedName",{get:function(){return l.get("Chart","Style")+"34"},enumerable:!1,configurable:!0}),r=f,n.StiGaugeStyleCoreXF34=r}(Stimulsoft=Stimulsoft||{}),function(e){var t,r,i,n,o,a,s,e,l;function u(){var e=null!==l&&l.apply(this,arguments)||this;return e.allowDashboard=!1,e}r=t=e.Report||(e.Report={}),n=i=r.Gauge||(r.Gauge={}),o=e.System.StiString,a=e.Base.JsonReportObject.IStiJsonReportObject,s=e.Base.StiJson,e=e.Report.Styles.StiBaseStyle,__extends(u,l=e),u.prototype.implements=function(){return u.implementsStiGaugeStyleXF||(u.implementsStiGaugeStyleXF=l.prototype.implements.call(this).concat([n.IStiGaugeStyle,a])),u.implementsStiGaugeStyleXF},Object.defineProperty(u.prototype,"componentId",{get:function(){return r.StiComponentId.StiGaugeStyle},enumerable:!1,configurable:!0}),u.prototype.saveToJsonObject=function(e){var t=new s;return t.addPropertyStringNullOrEmpty("Ident",this.stimulsoft.getType().stimulsoft.getTypeName()),t},u.prototype.loadFromJsonObject=function(e){},u.createFromJsonObject=function(e){var t=e.properties().firstOrDefault(function(e){return"Ident"==e.name}).value.toString();if("StiGaugeStyleXF"==t)return new n.StiCustomGaugeStyle;var e=StiOptions.Services.gaugeStyles.firstOrDefault(function(e){return e.stimulsoft.getType().stimulsoft.getTypeName()==t});if(null==e)throw o.format("Type {0} is not found!",t);return e.createNew()},u.createFromXml=function(e){if(null!=e.attributes.getNamedItem("type"))switch(e.attributes.getNamedItem("type").value){case"Stimulsoft.Report.Gauge.StiCustomGaugeStyle":return new n.StiCustomGaugeStyle;case"Stimulsoft.Report.Gauge.StiGaugeStyleXF24":return new n.StiGaugeStyleXF24;case"Stimulsoft.Report.Gauge.StiGaugeStyleXF25":return new n.StiGaugeStyleXF25;case"Stimulsoft.Report.Gauge.StiGaugeStyleXF26":return new n.StiGaugeStyleXF26;case"Stimulsoft.Report.Gauge.StiGaugeStyleXF27":return new n.StiGaugeStyleXF27;case"Stimulsoft.Report.Gauge.StiGaugeStyleXF28":return new n.StiGaugeStyleXF28;case"Stimulsoft.Report.Gauge.StiGaugeStyleXF29":return new n.StiGaugeStyleXF29;case"Stimulsoft.Report.Gauge.StiGaugeStyleXF30":return new n.StiGaugeStyleXF30;case"Stimulsoft.Report.Gauge.StiGaugeStyleXF31":return new n.StiGaugeStyleXF31;case"Stimulsoft.Report.Gauge.StiGaugeStyleXF32":return new n.StiGaugeStyleXF32;case"Stimulsoft.Report.Gauge.StiGaugeStyleXF33":return new n.StiGaugeStyleXF33;case"Stimulsoft.Report.Gauge.StiGaugeStyleXF34":return new n.StiGaugeStyleXF34}return null},Object.defineProperty(u.prototype,"serviceName",{get:function(){return this.core.localizedName},enumerable:!1,configurable:!0}),Object.defineProperty(u.prototype,"serviceCategory",{get:function(){return"Gauge"},enumerable:!1,configurable:!0}),Object.defineProperty(u.prototype,"serviceType",{get:function(){return u},enumerable:!1,configurable:!0}),Object.defineProperty(u.prototype,"core",{get:function(){return this._core},set:function(e){this._core=e},enumerable:!1,configurable:!0}),u.prototype.toString=function(){if(this.is(n.StiCustomGaugeStyle)&&null!=this.core.reportGaugeStyle)return this.core.reportGaugeStyle.name;return this.serviceName},u.prototype.compareGaugeStyle=function(e){if(null==e)return!1;var t=this.as(n.StiCustomGaugeStyle),r=e.as(n.StiCustomGaugeStyle);if(null!=t&&null!=r){var i=t.core.reportStyleName;null!=t.core.reportGaugeStyle&&(i=t.core.reportGaugeStyle.name);var t=r.core.reportStyleName;return null!=r.core.reportGaugeStyle&&(t=r.core.reportGaugeStyle.name),i==t}return this.stimulsoft.getType()==e.stimulsoft.getType()},u.prototype.drawStyle=function(e,t,r,i){},u.prototype.drawBox=function(e,t,r,i){},u.prototype.getStyleFromComponent=function(e,t){},u.prototype.setStyleToComponent=function(e){},u.prototype.createNew=function(){return null},e=u,n.StiGaugeStyleXF=e}(Stimulsoft=Stimulsoft||{}),function(e){var t,r,i,n,o,a,s;function l(){var e=s.call(this)||this;return e.allowDashboard=!0,e.styleIdent=a.SlateGray,e.core=new n.StiGaugeStyleCoreXF27,e}r=t=e.Report||(e.Report={}),n=i=r.Gauge||(r.Gauge={}),o=e.Base.Localization.StiLocalization,a=e.Report.Dashboard.StiElementStyleIdent,s=n.StiGaugeStyleXF,__extends(l,s),Object.defineProperty(l.prototype,"dashboardName",{get:function(){return o.get("PropertyColor","SlateGray")},enumerable:!1,configurable:!0}),l.prototype.createNew=function(){return new l},r=l,n.StiGaugeStyleXF27=r}(Stimulsoft=Stimulsoft||{}),function(e){var t,r,i,n,o,a;function s(e){void 0===e&&(e=null);var t=a.call(this)||this;return t.core=new o(e),t}r=t=e.Report||(e.Report={}),n=i=r.Gauge||(r.Gauge={}),o=e.Report.Gauge.StiCustomGaugeStyleCoreXF,a=n.StiGaugeStyleXF27,__extends(s,a),Object.defineProperty(s.prototype,"serviceName",{get:function(){return"CustomStyle"},enumerable:!1,configurable:!0}),Object.defineProperty(s.prototype,"customCore",{get:function(){return this.core},enumerable:!1,configurable:!0}),r=s,n.StiCustomGaugeStyle=r}(Stimulsoft=Stimulsoft||{}),function(e){var t,r,i,n,o,a,s;function l(){var e=s.call(this)||this;return e.allowDashboard=!0,e.styleIdent=o.Orange,e.core=new n.StiGaugeStyleCoreXF24,e}r=t=e.Report||(e.Report={}),n=i=r.Gauge||(r.Gauge={}),o=e.Report.Dashboard.StiElementStyleIdent,a=e.Base.Localization.StiLocalization,s=n.StiGaugeStyleXF,__extends(l,s),Object.defineProperty(l.prototype,"dashboardName",{get:function(){return a.get("PropertyColor","Orange")},enumerable:!1,configurable:!0}),l.prototype.createNew=function(){return new l},r=l,n.StiGaugeStyleXF24=r}(Stimulsoft=Stimulsoft||{}),function(e){var t,r,i,n,o,a,s;function l(){var e=s.call(this)||this;return e.allowDashboard=!0,e.styleIdent=o.Green,e.core=new n.StiGaugeStyleCoreXF25,e}r=t=e.Report||(e.Report={}),n=i=r.Gauge||(r.Gauge={}),o=e.Report.Dashboard.StiElementStyleIdent,a=e.Base.Localization.StiLocalization,s=n.StiGaugeStyleXF,__extends(l,s),Object.defineProperty(l.prototype,"dashboardName",{get:function(){return a.get("PropertyColor","Green")},enumerable:!1,configurable:!0}),l.prototype.createNew=function(){return new l},r=l,n.StiGaugeStyleXF25=r}(Stimulsoft=Stimulsoft||{}),function(e){var t,r,i,n,o,a,s;function l(){var e=s.call(this)||this;return e.allowDashboard=!0,e.styleIdent=a.Turquoise,e.core=new n.StiGaugeStyleCoreXF26,e}r=t=e.Report||(e.Report={}),n=i=r.Gauge||(r.Gauge={}),o=e.Base.Localization.StiLocalization,a=e.Report.Dashboard.StiElementStyleIdent,s=n.StiGaugeStyleXF,__extends(l,s),Object.defineProperty(l.prototype,"dashboardName",{get:function(){return o.get("PropertyColor","Turquoise")},enumerable:!1,configurable:!0}),l.prototype.createNew=function(){return new l},r=l,n.StiGaugeStyleXF26=r}(Stimulsoft=Stimulsoft||{}),function(e){var t,r,i,n,o,a,s;function l(){var e=s.call(this)||this;return e.allowDashboard=!0,e.styleIdent=a.DarkBlue,e.core=new n.StiGaugeStyleCoreXF28,e}r=t=e.Report||(e.Report={}),n=i=r.Gauge||(r.Gauge={}),o=e.Base.Localization.StiLocalization,a=e.Report.Dashboard.StiElementStyleIdent,s=n.StiGaugeStyleXF,__extends(l,s),Object.defineProperty(l.prototype,"dashboardName",{get:function(){return o.get("PropertyColor","DarkBlue")},enumerable:!1,configurable:!0}),l.prototype.createNew=function(){return new l},r=l,n.StiGaugeStyleXF28=r}(Stimulsoft=Stimulsoft||{}),function(e){var t,r,i,n,o,a,s;function l(){var e=s.call(this)||this;return e.allowDashboard=!0,e.styleIdent=a.Blue,e.core=new n.StiGaugeStyleCoreXF29,e}r=t=e.Report||(e.Report={}),n=i=r.Gauge||(r.Gauge={}),o=e.Base.Localization.StiLocalization,a=e.Report.Dashboard.StiElementStyleIdent,s=n.StiGaugeStyleXF,__extends(l,s),Object.defineProperty(l.prototype,"dashboardName",{get:function(){return o.get("PropertyColor","Blue")},enumerable:!1,configurable:!0}),l.prototype.createNew=function(){return new l},r=l,n.StiGaugeStyleXF29=r}(Stimulsoft=Stimulsoft||{}),function(e){var t,r,i,n,o,a,s;function l(){var e=s.call(this)||this;return e.allowDashboard=!0,e.styleIdent=o.DarkGray,e.core=new n.StiGaugeStyleCoreXF30,e}r=t=e.Report||(e.Report={}),n=i=r.Gauge||(r.Gauge={}),o=e.Report.Dashboard.StiElementStyleIdent,a=e.Base.Localization.StiLocalization,s=n.StiGaugeStyleXF,__extends(l,s),Object.defineProperty(l.prototype,"dashboardName",{get:function(){return a.get("PropertyColor","DarkGray")},enumerable:!1,configurable:!0}),l.prototype.createNew=function(){return new l},r=l,n.StiGaugeStyleXF30=r}(Stimulsoft=Stimulsoft||{}),function(e){var t,r,i,n,o,a,s;function l(){var e=s.call(this)||this;return e.allowDashboard=!0,e.styleIdent=o.DarkTurquoise,e.core=new n.StiGaugeStyleCoreXF31,e}r=t=e.Report||(e.Report={}),n=i=r.Gauge||(r.Gauge={}),o=e.Report.Dashboard.StiElementStyleIdent,a=e.Base.Localization.StiLocalization,s=n.StiGaugeStyleXF,__extends(l,s),Object.defineProperty(l.prototype,"dashboardName",{get:function(){return a.get("PropertyColor","DarkTurquoise")},enumerable:!1,configurable:!0}),l.prototype.createNew=function(){return new l},r=l,n.StiGaugeStyleXF31=r}(Stimulsoft=Stimulsoft||{}),function(e){var t,r,i,n,o,a,s;function l(){var e=s.call(this)||this;return e.allowDashboard=!0,e.styleIdent=o.Silver,e.core=new n.StiGaugeStyleCoreXF32,e}r=t=e.Report||(e.Report={}),n=i=r.Gauge||(r.Gauge={}),o=e.Report.Dashboard.StiElementStyleIdent,a=e.Base.Localization.StiLocalization,s=n.StiGaugeStyleXF,__extends(l,s),Object.defineProperty(l.prototype,"dashboardName",{get:function(){return a.get("PropertyColor","Silver")},enumerable:!1,configurable:!0}),l.prototype.createNew=function(){return new l},r=l,n.StiGaugeStyleXF32=r}(Stimulsoft=Stimulsoft||{}),function(e){var t,r,i,n,o,a,s;function l(){var e=s.call(this)||this;return e.allowDashboard=!0,e.styleIdent=o.AliceBlue,e.core=new n.StiGaugeStyleCoreXF33,e}r=t=e.Report||(e.Report={}),n=i=r.Gauge||(r.Gauge={}),o=e.Report.Dashboard.StiElementStyleIdent,a=e.Base.Localization.StiLocalization,s=n.StiGaugeStyleXF,__extends(l,s),Object.defineProperty(l.prototype,"dashboardName",{get:function(){return a.get("PropertyColor","AliceBlue")},enumerable:!1,configurable:!0}),l.prototype.createNew=function(){return new l},r=l,n.StiGaugeStyleXF33=r}(Stimulsoft=Stimulsoft||{}),function(e){var t,r,i,n,o,a,s;function l(){var e=s.call(this)||this;return e.allowDashboard=!0,e.styleIdent=o.DarkGreen,e.core=new n.StiGaugeStyleCoreXF34,e}r=t=e.Report||(e.Report={}),n=i=r.Gauge||(r.Gauge={}),o=e.Report.Dashboard.StiElementStyleIdent,a=e.Base.Localization.StiLocalization,s=n.StiGaugeStyleXF,__extends(l,s),Object.defineProperty(l.prototype,"dashboardName",{get:function(){return a.get("PropertyColor","DarkGreen")},enumerable:!1,configurable:!0}),l.prototype.createNew=function(){return new l},r=l,n.StiGaugeStyleXF34=r}(Stimulsoft=Stimulsoft||{}),function(e){var t,r,i,n;r=t=e.Report||(e.Report={}),(n=i=r.Gauge||(r.Gauge={})).IStiApplyStyleGauge=new e.System.Interface("IStiApplyStyleGauge")}(Stimulsoft=Stimulsoft||{}),function(i){var e,n,t,r,o,a,s,l,u,h,c,p,d,m,f,g,y,b,S,v,w,k,G,B,R,O,x,_,P;function C(e){void 0===e&&(e=f.empty);var e=P.call(this)||this;return e._border=new v,e._brush=new b(y.transparent),e.valueFormat_=C.getValueFormatDefault(),e.defaultClientRectangle=new f(0,0,240,240),e.mode=a.V2,e.shortValue=!0,e.minimum=0,e.maximum=100,e.type=c.FullCircular,e.calculationMode=h.Auto,e._style=new x,e._allowApplyStyle=!0,e._customStyleName="",e._isAnimation=!1,e.scales=new m(e),e.placeOnToolbox=!1,e}n=e=i.Report||(i.Report={}),r=t=n.Components||(n.Components={}),o=i.Report.Gauge.Helpers.StiGaugeInitHelper,a=i.Report.Gauge.StiScaleMode,s=i.System.StiString,l=i.Report.Gauge.StiGaugeStyleXF,u=i.System.Enum,h=i.Report.Gauge.StiGaugeCalculationMode,c=i.Report.Gauge.StiGaugeType,p=i.Base.JsonReportObject.IStiJsonReportObject,d=i.Report.Components.Gauge.Primitives.StiScaleBase,m=i.Report.Gauge.Collections.StiScaleCollection,f=i.System.Drawing.Rectangle,g=i.Base.Localization.StiLocalization,y=i.System.Drawing.Color,b=i.Base.Drawing.StiSolidBrush,S=i.Base.Drawing.StiBrush,v=i.Base.Drawing.StiBorder,w=i.Report.Components.StiComponent,k=i.Report.Components.IStiExportImageExtended,G=i.Report.Components.IStiBorder,B=i.Report.Components.IStiBrush,R=i.Base.StiJsonReportObjectHelper,O=i.Report.Components.Gauge.IStiGauge,x=i.Report.Gauge.StiGaugeStyleXF26,_=i.Report.Components.TextFormats.StiNumberFormatService,__extends(C,P=w),C.prototype.implements=function(){return C.implementsStiGauge||(C.implementsStiGauge=P.prototype.implements.call(this).concat([k,G,B,O,p])),C.implementsStiGauge},C.prototype.saveToJsonObject=function(e){var t=P.prototype.saveToJsonObject.call(this,e);return t.removeProperty("ComponentStyle"),t.removeProperty("UseParentStyles"),t.removeProperty("CanGrow"),t.removeProperty("CanShrink"),t.removeProperty("GrowToHeight"),t.removeProperty("Interaction"),t.removeProperty("IsAnimation"),t.addPropertyBool("ShortValue",this.shortValue,!0),t.addPropertyNumber("Minimum",this.minimum,0),t.addPropertyNumber("Maximum",this.maximum,100),t.addPropertyStringNullOrEmpty("CustomStyleName",this.customStyleName),t.addPropertyStringNullOrEmpty("Border",R.Serialize.jBorder(this.border)),t.addPropertyStringNullOrEmpty("Brush",R.Serialize.jBrush(this.brush)),t.addPropertyEnum("Type",c,this.type,c.FullCircular),t.addPropertyEnum("CalculationMode",h,this.calculationMode,h.Auto),t.addPropertyEnum("Mode",a,this.mode,a.V2),t.addPropertyJObject("Scales",this.scales.saveToJsonObject(e)),t.addPropertyBool("AllowApplyStyle",this.allowApplyStyle,!0),t.addPropertyJObject("Style",this.style.saveToJsonObject(e)),t},C.prototype.loadFromJsonObject=function(e){var t,r;P.prototype.loadFromJsonObject.call(this,e);try{for(var i=__values(e.properties()),n=i.next();!n.done;n=i.next()){var o=n.value;switch(o.name){case"CustomStyleName":this.customStyleName=o.value.toString();break;case"Style":this.style=l.createFromJsonObject(o.value);break;case"Type":this.type=u.parse(c,o.value);break;case"ShortValue":this.shortValue=o.value.stimulsoft.toBoolean();break;case"Minimum":this.minimum=o.value.stimulsoft.toNumber();break;case"Maximum":this.maximum=o.value.stimulsoft.toNumber();break;case"CalculationMode":this.calculationMode=u.parse(h,o.value);break;case"Mode":this.mode=u.parse(a,o.value);break;case"AllowApplyStyle":this.allowApplyStyle=o.value.stimulsoft.toBoolean();break;case"Border":this.border=R.Deserialize.border(o.value);break;case"Brush":this.brush=R.Deserialize.brush(o.value);break;case"Scales":this.scales.loadFromJsonObject(o.value);break}}}catch(e){t={error:e}}finally{try{n&&!n.done&&(r=i.return)&&r.call(i)}finally{if(t)throw t.error}}},C.prototype.loadFromXml=function(e,t){P.prototype.loadFromXml.call(this,e,t);var t=e.getAttribute("Ref");!s.isNullOrEmpty(t)&&this.report.jsonLoaderHelper&&(this.report.jsonLoaderHelper.refNames[t.stimulsoft.toNumber()]=e.nodeName);for(var r=0;r<e.childNodes.length;r++){var i=e.childNodes[r];switch(i.nodeName){case"CustomStyleName":this.customStyleName=i.textContent;break;case"Style":this.style=l.createFromXml(i);break;case"Type":this.type=u.parse(c,i.textContent);break;case"ShortValue":this.shortValue=i.textContent.stimulsoft.toBoolean();break;case"Minimum":this.minimum=i.textContent.stimulsoft.toNumber();break;case"Maximum":this.maximum=i.textContent.stimulsoft.toNumber();break;case"CalculationMode":this.calculationMode=u.parse(h,i.textContent);break;case"Mode":this.mode=u.parse(a,i.textContent);break;case"AllowApplyStyle":this.allowApplyStyle=i.textContent.stimulsoft.toBoolean();break;case"Border":this.border=v.loadFromXml(i.textContent);break;case"Brush":this.brush=S.loadFromXml(i.textContent);break;case"Scales":this.scales.loadFromXml(i,this.report);break}}},Object.defineProperty(C.prototype,"componentId",{get:function(){return n.StiComponentId.StiGauge},enumerable:!1,configurable:!0}),C.prototype.clone=function(e,t){var r,i,n=P.prototype.clone.call(this,e);n.scales=new m(n);try{for(var o=__values(this.scales.list),a=o.next();!a.done;a=o.next()){var s=a.value;n.scales.add(s.clone())}}catch(e){r={error:e}}finally{try{a&&!a.done&&(i=o.return)&&i.call(o)}finally{if(r)throw r.error}}return n},C.prototype.prepareInit=function(){o.prepare(this)},C.prototype.getImage=function(e,t){var r=new n.Export.StiSvgData;return r.component=this,r.x=0,r.y=0,r.width=this.report.unit.convertToHInches(this.width),r.height=this.report.unit.convertToHInches(this.height),i.Report.Export.StiGaugeSvgHelper.getImage(r)},C.prototype.isExportAsImage=function(e){return e==n.StiExportFormat.Pdf},Object.defineProperty(C.prototype,"border",{get:function(){return this._border},set:function(e){this._border=e},enumerable:!1,configurable:!0}),Object.defineProperty(C.prototype,"brush",{get:function(){return this._brush},set:function(e){this._brush=e},enumerable:!1,configurable:!0}),Object.defineProperty(C.prototype,"valueFormat",{get:function(){return this.valueFormat_},set:function(e){this.valueFormat_=e},enumerable:!1,configurable:!0}),C.getValueFormatDefault=function(){var e=new _;return e.decimalDigits=0,e.state=i.Report.Components.StiTextFormatState.DecimalDigits|i.Report.Components.StiTextFormatState.Abbreviation,e},Object.defineProperty(C.prototype,"localizedCategory",{get:function(){return g.get("Report","Infographics")},enumerable:!1,configurable:!0}),Object.defineProperty(C.prototype,"localizedName",{get:function(){return g.get("Components","StiGauge")},enumerable:!1,configurable:!0}),Object.defineProperty(C.prototype,"style",{get:function(){return this._style},set:function(e){this._style!=e&&null!=(this._style=e)&&(e.core.gauge=this)},enumerable:!1,configurable:!0}),Object.defineProperty(C.prototype,"allowApplyStyle",{get:function(){return this._allowApplyStyle},set:function(e){this._allowApplyStyle!=e&&(this._allowApplyStyle=e)&&this.applyStyle(this.style)},enumerable:!1,configurable:!0}),Object.defineProperty(C.prototype,"customStyleName",{get:function(){return this._customStyleName},set:function(e){this._customStyleName=e},enumerable:!1,configurable:!0}),Object.defineProperty(C.prototype,"scales",{get:function(){return this._scales},set:function(e){this._scales=e},enumerable:!1,configurable:!0}),Object.defineProperty(C.prototype,"isAnimation",{get:function(){return this._isAnimation},set:function(e){this._isAnimation!=e&&(this._isAnimation=e)},enumerable:!1,configurable:!0}),C.prototype.changeSkin=function(){},C.prototype.drawGauge=function(e){this.applyStyle(this.style);var t=-1;while(++t<this.scales.count){var r=this.scales.getByIndex(t).as(d);null!=r&&(r.barGeometry.checkRectGeometry(e.rect),r.drawElement(e))}},C.prototype.createNew=function(){return new C},C.prototype.applyStyle=function(e){var t,r;this.allowApplyStyle&&(this.brush=e.core.brush,this.border.color=e.core.borderColor,this.border.size=e.core.borderWidth);try{for(var i=__values(this.scales.list),n=i.next(),o;!n.done;n=i.next()){n.value.applyStyle(e)}}catch(e){t={error:e}}finally{try{n&&!n.done&&(r=i.return)&&r.call(i)}finally{if(t)throw t.error}}},w=C,r.StiGauge=w}(Stimulsoft=Stimulsoft||{});;
var Stimulsoft;
(function (Stimulsoft) {
var Reflection;
(function (Reflection) {
var StiTypesHelper = (function () {
function StiTypesHelper() {
}
StiTypesHelper.run = function (type, namespace) {
if (type === undefined) {
StiTypesHelper.run(Stimulsoft, "Stimulsoft");
return;
}
namespace = namespace.stimulsoft.replaceAll("Stimulsoft.System", "System");
for (var name_1 in type) {
if (typeof type[name_1] == "function") {
type[name_1].ssTypeName = name_1;
type[name_1].ssNamespace = namespace;
}
else if (typeof type[name_1] == "object") {
StiTypesHelper.run(type[name_1], namespace + "." + name_1);
}
}
};
return StiTypesHelper;
}());
Reflection.StiTypesHelper = StiTypesHelper;
})(Reflection = Stimulsoft.Reflection || (Stimulsoft.Reflection = {}));
})(Stimulsoft || (Stimulsoft = {}));
Stimulsoft.Reflection.StiTypesHelper.run();
;